diff --git a/README.md b/README.md
index 4799343..cbdb684 100644
--- a/README.md
+++ b/README.md
@@ -3,39 +3,37 @@
This repo provides a basic setup for developing component libraries in Vite with Vue 3 typescript and TailwindCss
## Features
+
- Create a component library using Vue3 Vite and typescript
- Tailwind CSS
- Automatically export and register all components in `./src/components`
## Components
+
- [x] LcBadge
- [x] LcButton
-- [x] LcCheckbox
-- [x] LcForm
- [x] LcIcon
-- [x] LcInput
- [x] LcModal
-- [x] LcMultiselect
- [x] LcPagination
-- [x] LcRadioGroup & LcRadio
- [x] LcTable
-- [x] LcTextarea
- [x] LcTooltip
## Commands
+
```bash
yarn dev # Will run the demos app so you can see your components
yarn build # Will build your components into a library and generate types
```
## Publish on NPM
+
### Generate build
Upgrade version package :
- Patch releases: 1.0 or 1.0.x or ~1.0.4
- Minor releases: 1 or 1.x or ^1.0.4
-- Major releases: * or x
+- Major releases: \* or x
```
$ yarn build
diff --git a/package.json b/package.json
index f74c828..dc7edbd 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "lc-component-library",
- "version": "1.4.2",
+ "version": "1.5.0",
"license": "MIT",
"files": [
"dist"
@@ -29,23 +29,18 @@
"dependencies": {
"@babel/preset-env": "^7.14.2",
"@babel/preset-typescript": "^7.13.0",
- "@vee-validate/i18n": "^4.1.20",
- "@vee-validate/rules": "^4.1.20",
- "@vueform/multiselect": "^2.0.1",
"esno": "0.4.4",
- "maska": "^1.4.4",
- "vee-validate": "4.4.4",
"vue": "3.2.3"
},
"devDependencies": {
"@antfu/eslint-config": "^0.4.3",
"@babel/core": "^7.13.14",
- "@storybook/addon-a11y": "^6.3.6",
- "@storybook/addon-actions": "^6.3.6",
- "@storybook/addon-essentials": "^6.3.6",
- "@storybook/addon-links": "^6.3.6",
+ "@storybook/addon-a11y": "^6.3.7",
+ "@storybook/addon-actions": "^6.3.7",
+ "@storybook/addon-essentials": "^6.3.7",
+ "@storybook/addon-links": "^6.3.7",
"@storybook/addon-postcss": "^2.0.0",
- "@storybook/vue3": "^6.3.6",
+ "@storybook/vue3": "^6.3.7",
"@tailwindcss/postcss7-compat": "^2.1.0",
"@types/jest": "^26.0.23",
"@typescript-eslint/eslint-plugin": "4.21.0",
diff --git a/src/components/LcCheckbox/LcCheckbox.d.ts b/src/components/LcAccordion/LcAccordion.d.ts
similarity index 100%
rename from src/components/LcCheckbox/LcCheckbox.d.ts
rename to src/components/LcAccordion/LcAccordion.d.ts
diff --git a/src/components/LcAccordion/LcAccordion.stories.ts b/src/components/LcAccordion/LcAccordion.stories.ts
new file mode 100644
index 0000000..501b67c
--- /dev/null
+++ b/src/components/LcAccordion/LcAccordion.stories.ts
@@ -0,0 +1,106 @@
+import LcButton from '../LcButton'
+import LcAccordion from './LcAccordion'
+
+export default {
+ title: 'Example/LcAccordion',
+ component: LcAccordion,
+}
+
+const Template = (args: any) => ({
+ components: { LcAccordion, LcButton },
+ setup() {
+ return { args }
+ },
+ data() {
+ return { open: args.modelValue }
+ },
+ template: `
+
+
+ My content
+
+
+ `,
+})
+
+const TemplateSlotActionsAfter = (args: any) => ({
+ components: { LcAccordion, LcButton },
+ setup() {
+ return { args }
+ },
+ data() {
+ return { open: args.modelValue }
+ },
+ template: `
+
+
+ button after
+
+
+ My content
+
+
+ `,
+})
+
+const TemplateSlotActionsBefore = (args: any) => ({
+ components: { LcAccordion, LcButton },
+ setup() {
+ return { args }
+ },
+ data() {
+ return { open: args.modelValue }
+ },
+ template: `
+
+
+ button before
+
+
+ My content
+
+
+ `,
+})
+
+export const Base = Template.bind({}) as any
+Base.args = {
+ title: '1. House information',
+ modelValue: true,
+}
+
+export const HaveToogle = Template.bind({}) as any
+HaveToogle.args = {
+ ...Base.args,
+ haveToggle: true,
+}
+
+export const HaveToogleButClose = Template.bind({}) as any
+HaveToogleButClose.args = {
+ ...HaveToogle.args,
+ modelValue: false,
+}
+
+export const HaveButtonRight = TemplateSlotActionsAfter.bind({}) as any
+HaveButtonRight.args = {
+ title: '1. House information',
+ modelValue: true,
+}
+
+export const HaveButtonRightAndToggle = TemplateSlotActionsAfter.bind({}) as any
+HaveButtonRightAndToggle.args = {
+ ...HaveButtonRight.args,
+ haveToggle: true,
+}
+
+export const HaveButtonLeft = TemplateSlotActionsBefore.bind({}) as any
+HaveButtonLeft.args = {
+ title: '1. House information',
+ modelValue: true,
+}
+
+export const HaveButtonLeftAndToggle = TemplateSlotActionsBefore.bind({}) as any
+HaveButtonLeftAndToggle.args = {
+ ...HaveButtonLeft.args,
+ haveToggle: true,
+}
diff --git a/src/components/LcAccordion/LcAccordion.vue b/src/components/LcAccordion/LcAccordion.vue
new file mode 100644
index 0000000..2b3cbf0
--- /dev/null
+++ b/src/components/LcAccordion/LcAccordion.vue
@@ -0,0 +1,159 @@
+
+
+
+
+
+
+
diff --git a/src/components/LcAccordion/__tests__/LcAccordion.spec.ts b/src/components/LcAccordion/__tests__/LcAccordion.spec.ts
new file mode 100644
index 0000000..d2bd73c
--- /dev/null
+++ b/src/components/LcAccordion/__tests__/LcAccordion.spec.ts
@@ -0,0 +1,206 @@
+import { mount } from '@vue/test-utils'
+import LcAccordion from '../LcAccordion'
+
+let wrapper: any
+
+afterEach(() => {
+ wrapper?.unmount()
+})
+
+describe('LcAccordion', () => {
+ it('is a Vue instance', () => {
+ wrapper = mount(LcAccordion)
+ expect(wrapper.vm).toBeTruthy()
+ })
+
+ describe('Default behavior', () => {
+ beforeEach(() => {
+ wrapper = mount(LcAccordion)
+ })
+
+ it('should render title', async() => {
+ await wrapper.setProps({ title: 'My title' })
+
+ const title = wrapper.find('[data-testid="lc-accordion-header-title"]')
+
+ expect(title.exists()).toBeTruthy()
+ expect(title.text()).toBe('My title')
+ })
+
+ it('shouldn\'t render title', () => {
+ const title = wrapper.find('[data-testid="lc-accordion-header-title"]')
+
+ expect(title.exists()).toBeFalsy()
+ })
+
+ it('should body is hide', async() => {
+ await wrapper.setProps({ modelValue: false })
+
+ const body = wrapper.find('[data-testid="lc-accordion-body"]')
+ expect(body.isVisible()).toBe(false)
+ })
+
+ it('should body is visible', () => {
+ const body = wrapper.find('[data-testid="lc-accordion-body"]')
+ expect(body.isVisible()).toBe(true)
+ })
+ })
+
+ describe('Toggle button', () => {
+ it('shouldn\'t render button toggle', () => {
+ wrapper = mount(LcAccordion)
+
+ const button = wrapper.find('[data-testid="lc-accordion-header-toggle-button"]')
+
+ expect(button.exists()).toBeFalsy()
+ })
+
+ it('should render button toggle', () => {
+ wrapper = mount(LcAccordion, {
+ props: { haveToggle: true },
+ })
+
+ const button = wrapper.find('[data-testid="lc-accordion-header-toggle-button"]')
+
+ expect(button.exists()).toBeTruthy()
+ })
+
+ it('should emit update:modelValue with value false', async() => {
+ wrapper = mount(LcAccordion, {
+ props: { haveToggle: true },
+ })
+
+ const button = wrapper.find('[data-testid="lc-accordion-header-toggle-button"]')
+ await button.trigger('click')
+
+ expect(wrapper.emitted('update:modelValue')).toBeTruthy()
+ expect(wrapper.emitted('update:modelValue')[0]).toStrictEqual([false])
+ })
+
+ it('should emit update:modelValue with value true', async() => {
+ wrapper = mount(LcAccordion, {
+ props: { haveToggle: true, modelValue: false },
+ })
+
+ const button = wrapper.find('[data-testid="lc-accordion-header-toggle-button"]')
+ await button.trigger('click')
+
+ expect(wrapper.emitted('update:modelValue')).toBeTruthy()
+ expect(wrapper.emitted('update:modelValue')[0]).toStrictEqual([true])
+ })
+
+ it('should render body accordion visible then hide', async() => {
+ const wrapper = mount({
+ data() {
+ return { open: true }
+ },
+ template: '',
+ components: { LcAccordion },
+ })
+
+ const lcAccordion = wrapper.findComponent(LcAccordion)
+ const bodyBeforeClick = lcAccordion.find('[data-testid="lc-accordion-body"]')
+
+ const button = wrapper.find('[data-testid="lc-accordion-header-toggle-button"]')
+ await button.trigger('click')
+ const bodyAfterClick = lcAccordion.find('[data-testid="lc-accordion-body"]')
+
+ expect(bodyBeforeClick.isVisible()).toBe(true)
+ expect(bodyAfterClick.isVisible()).toBe(false)
+ })
+
+ it('should render body accordion hide then visible', async() => {
+ const wrapper = mount({
+ data() {
+ return { open: false }
+ },
+ template: '',
+ components: { LcAccordion },
+ })
+
+ const lcAccordion = wrapper.findComponent(LcAccordion)
+ const bodyBeforeClick = lcAccordion.find('[data-testid="lc-accordion-body"]')
+
+ const button = wrapper.find('[data-testid="lc-accordion-header-toggle-button"]')
+ await button.trigger('click')
+ const bodyAfterClick = lcAccordion.find('[data-testid="lc-accordion-body"]')
+
+ expect(bodyBeforeClick.isVisible()).toBe(false)
+ expect(bodyAfterClick.isVisible()).toBe(true)
+ })
+ })
+
+ describe('Before slot', () => {
+ beforeEach(() => {
+ wrapper = mount(LcAccordion, {
+ slots: { 'content-before': '' },
+ })
+ })
+
+ it('should render content before slot', () => {
+ const contentSlot = wrapper.find('[data-testid="button-before-slot"]')
+ expect(contentSlot.exists()).toBeTruthy()
+ })
+
+ it('should render HTML header with before slot', () => {
+ const header = wrapper.find('[data-testid="lc-accordion-header"]')
+
+ expect(header.html()).toMatchSnapshot()
+ })
+
+ it('should render HTML header with button toogle + befor slot', async() => {
+ await wrapper.setProps({ haveToggle: true })
+
+ const header = wrapper.find('[data-testid="lc-accordion-header"]')
+ expect(header.html()).toMatchSnapshot()
+ })
+ })
+
+ describe('After slot', () => {
+ beforeEach(() => {
+ wrapper = mount(LcAccordion, {
+ slots: { 'content-after': '' },
+ })
+ })
+
+ it('should render content after slot', () => {
+ const contentSlot = wrapper.find('[data-testid="button-after-slot"]')
+ expect(contentSlot.exists()).toBeTruthy()
+ })
+
+ it('should render HTML header with after slot', () => {
+ const header = wrapper.find('[data-testid="lc-accordion-header"]')
+
+ expect(header.html()).toMatchSnapshot()
+ })
+
+ it('should render HTML header with button toogle + after slot', async() => {
+ await wrapper.setProps({ haveToggle: true })
+
+ const header = wrapper.find('[data-testid="lc-accordion-header"]')
+ expect(header.html()).toMatchSnapshot()
+ })
+ })
+
+ describe('Without slots', () => {
+ beforeEach(() => {
+ wrapper = mount(LcAccordion, {
+ props: { title: 'My title' },
+ })
+ })
+
+ it('should render HTML header (only title)', async() => {
+ const header = wrapper.find('[data-testid="lc-accordion-header"]')
+
+ expect(header.html()).toMatchSnapshot()
+ })
+
+ it('should render HTML header with button toggle', async() => {
+ await wrapper.setProps({ haveToggle: true })
+
+ const header = wrapper.find('[data-testid="lc-accordion-header"]')
+
+ expect(header.html()).toMatchSnapshot()
+ })
+ })
+})
diff --git a/src/components/LcAccordion/__tests__/__snapshots__/LcAccordion.spec.ts.snap b/src/components/LcAccordion/__tests__/__snapshots__/LcAccordion.spec.ts.snap
new file mode 100644
index 0000000..045ea4a
--- /dev/null
+++ b/src/components/LcAccordion/__tests__/__snapshots__/LcAccordion.spec.ts.snap
@@ -0,0 +1,13 @@
+// Jest Snapshot v1, https://goo.gl/fbAQLP
+
+exports[`LcAccordion After slot should render HTML header with after slot 1`] = `"
"`;
+
+exports[`LcAccordion After slot should render HTML header with button toogle + after slot 1`] = `""`;
+
+exports[`LcAccordion Before slot should render HTML header with before slot 1`] = `""`;
+
+exports[`LcAccordion Before slot should render HTML header with button toogle + befor slot 1`] = `""`;
+
+exports[`LcAccordion Without slots should render HTML header (only title) 1`] = `""`;
+
+exports[`LcAccordion Without slots should render HTML header with button toggle 1`] = `""`;
diff --git a/src/components/LcAccordion/index.ts b/src/components/LcAccordion/index.ts
new file mode 100644
index 0000000..4c49df2
--- /dev/null
+++ b/src/components/LcAccordion/index.ts
@@ -0,0 +1 @@
+export { default } from './LcAccordion.vue'
diff --git a/src/components/LcCheckbox/LcCheckbox.stories.ts b/src/components/LcCheckbox/LcCheckbox.stories.ts
deleted file mode 100644
index c955bec..0000000
--- a/src/components/LcCheckbox/LcCheckbox.stories.ts
+++ /dev/null
@@ -1,51 +0,0 @@
-import { action } from '@storybook/addon-actions'
-
-import LcCheckbox from './LcCheckbox'
-
-export default {
- title: 'Example/LcCheckbox',
- component: LcCheckbox,
-}
-
-const Template = (args: any) => ({
- components: { LcCheckbox },
- setup() {
- return { args }
- },
- template: '',
- methods: {
- onChange: action('onChange'),
- },
-})
-
-export const Base = Template.bind({}) as any
-Base.args = {
- modelValue: true,
- label: 'Label de la checkbox',
- name: 'cgv',
- rules: 'required',
-}
-
-export const Multiple = Template.bind({}) as any
-Multiple.args = {
- modelValue: ['matin'],
- name: 'schedule',
- rules: 'required',
- fields: [
- {
- label: 'Matin',
- value: 'matin',
- color: '#CDCDD6',
- },
- {
- label: 'Midi',
- value: 'midi',
- color: '#77A6DC',
- },
- {
- label: 'Soirée',
- value: 'soiree',
- color: '#B5DCF3',
- },
- ],
-}
diff --git a/src/components/LcCheckbox/LcCheckbox.vue b/src/components/LcCheckbox/LcCheckbox.vue
deleted file mode 100644
index 6f53f74..0000000
--- a/src/components/LcCheckbox/LcCheckbox.vue
+++ /dev/null
@@ -1,107 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/components/LcCheckbox/__tests__/LcCheckbox.spec.ts b/src/components/LcCheckbox/__tests__/LcCheckbox.spec.ts
deleted file mode 100644
index 9c316e8..0000000
--- a/src/components/LcCheckbox/__tests__/LcCheckbox.spec.ts
+++ /dev/null
@@ -1,160 +0,0 @@
-import { mount } from '@vue/test-utils'
-import LcCheckbox from '../LcCheckbox'
-
-let wrapper: any
-
-afterEach(() => {
- wrapper?.unmount()
-})
-
-describe('LcCheckbox', () => {
- it('is a Vue instance', () => {
- wrapper = mount(LcCheckbox, {
- props: {
- modelValue: false,
- name: 'newsletter',
- },
- })
- expect(wrapper.vm).toBeTruthy()
- })
-
- describe('Input behaviour', () => {
- beforeEach(() => {
- wrapper = mount(LcCheckbox, {
- props: {
- modelValue: false,
- name: 'newsletter',
- label: 'Je souhaite recevoir occasionnellement une sélection d’expériences et de maisons.',
- },
- })
- })
- it('should emit the event', async() => {
- const checkbox = wrapper.find('[data-testid="lc-checkbox"]')
- await checkbox.setChecked()
-
- expect(wrapper.emitted()).toHaveProperty('update:modelValue')
- })
-
- it('should emit the right value', async() => {
- const checkbox = wrapper.find('[data-testid="lc-checkbox"]')
- await checkbox.setChecked()
-
- const changeEvent = wrapper.emitted('update:modelValue')
-
- expect(changeEvent[0]).toEqual([true])
- })
-
- it('should disable the checkbox button', async() => {
- await wrapper.setProps({ disabled: true })
- const checkbox = wrapper.find('[data-testid="lc-checkbox"]')
-
- expect(checkbox.attributes()).toHaveProperty('disabled')
- })
-
- it('should render correct color style when unchecked', async() => {
- await wrapper.setProps({ color: '#77a6dc' })
- const checkbox = wrapper.find('[data-testid="lc-checkbox"]')
-
- expect(checkbox.element.style.getPropertyValue('border-color')).toBe('#77a6dc')
- expect(checkbox.element.style.getPropertyValue('background-color')).toBe('')
- })
-
- it('should render correct color style when checked', async() => {
- await wrapper.setProps({ color: '#77a6dc' })
- const checkbox = wrapper.find('[data-testid="lc-checkbox"]')
- await checkbox.setChecked()
-
- expect(checkbox.element.style.getPropertyValue('border-color')).toBe('#77a6dc')
- expect(checkbox.element.style.getPropertyValue('background-color')).toBe('rgb(119, 166, 220)')
- })
- })
-
- describe('Multiple input behaviour', () => {
- beforeEach(() => {
- wrapper = mount(LcCheckbox, {
- props: {
- modelValue: [],
- name: 'schedule',
- label: 'Schedule',
- fields: [
- {
- label: 'Morning',
- value: 'morning',
- },
- {
- label: 'Midday',
- value: 'midday',
- },
- {
- label: 'Evening',
- value: 'evening',
- },
- ],
- },
- })
- })
-
- it('should render 3 checkbox', () => {
- const checkboxs = wrapper.findAll('[data-testid="lc-checkbox"]')
-
- expect(checkboxs).toHaveLength(3)
- })
-
- it('should emit the right value', async() => {
- const checkbox = wrapper.findAll('[data-testid="lc-checkbox"]')
- await checkbox[0].setChecked()
-
- const eventEmitted = wrapper.emitted('update:modelValue')
- expect(eventEmitted).toHaveLength(1)
-
- expect(eventEmitted[0][0]).toEqual(['morning'])
- })
-
- it('should emit the right values', async() => {
- const checkbox = wrapper.findAll('[data-testid="lc-checkbox"]')
- await checkbox[0].setChecked()
- await checkbox[1].setChecked()
-
- const eventEmitted = wrapper.emitted('update:modelValue')
-
- expect(eventEmitted).toHaveLength(2)
- expect(eventEmitted[0][0]).toEqual(['morning'])
- expect(eventEmitted[1][0]).toEqual(['morning', 'midday'])
- })
- })
-
- describe('Multiple input behaviour custom color', () => {
- it('should render correct color style', () => {
- wrapper = mount(LcCheckbox, {
- props: {
- modelValue: [],
- name: 'schedule',
- label: 'Schedule',
- fields: [
- {
- label: 'Morning',
- value: 'morning',
- color: '#cdcdd6',
- },
- {
- label: 'Midday',
- value: 'midday',
- color: '#cdcdd6',
- },
- {
- label: 'Evening',
- value: 'evening',
- color: '#cdcdd6',
- },
- ],
- },
- })
-
- const checkboxs = wrapper.findAll('[data-testid="lc-checkbox"]')
- const firstCheckbox = checkboxs[0]
-
- expect(firstCheckbox.element.style.getPropertyValue('border-color')).toBe('#cdcdd6')
- expect(firstCheckbox.element.style.getPropertyValue('background-color')).toBe('rgb(205, 205, 214)')
- })
- })
-})
diff --git a/src/components/LcCheckbox/index.ts b/src/components/LcCheckbox/index.ts
deleted file mode 100644
index e353593..0000000
--- a/src/components/LcCheckbox/index.ts
+++ /dev/null
@@ -1 +0,0 @@
-export { default } from './LcCheckbox.vue'
diff --git a/src/components/LcForm/LcForm.d.ts b/src/components/LcForm/LcForm.d.ts
deleted file mode 100644
index dd6e676..0000000
--- a/src/components/LcForm/LcForm.d.ts
+++ /dev/null
@@ -1,3 +0,0 @@
-import { DefineComponent } from 'vue'
-const component: DefineComponent<{}, {}, any>
-export default component
diff --git a/src/components/LcForm/LcForm.stories.ts b/src/components/LcForm/LcForm.stories.ts
deleted file mode 100644
index 240c9f6..0000000
--- a/src/components/LcForm/LcForm.stories.ts
+++ /dev/null
@@ -1,126 +0,0 @@
-import { action } from '@storybook/addon-actions'
-
-import LcForm from './LcForm'
-
-export default {
- title: 'Example/LcForm',
- component: LcForm,
-}
-
-const Template = (args: any) => ({
- components: { LcForm },
- setup() {
- return { args }
- },
- template: '',
- methods: {
- onSubmit: action('onSubmit'),
- onCancel: action('onCancel'),
- },
-})
-
-export const Base = Template.bind({}) as any
-Base.args = {
- idForm: 'lcForm',
- buttonPrimary: {
- attrs: {
- color: 'secondary',
- class: 'btn-primary',
- },
- full: true,
- text: 'Valider',
- },
- buttonSecondary: {
- attrs: {
- color: 'secondary',
- class: 'btn-secondary',
- },
- full: true,
- text: 'Annuler',
- },
- fields: [
- {
- model: 'Bob',
- inputType: 'input',
- attr: {
- disabled: true,
- wrapperClass: 'w-full mb-4',
- placeholder: 'Ecrit dedans :)',
- label: 'Prénom',
- name: 'firstname',
- rules: 'required',
- },
- },
- {
- model: '',
- inputType: 'input',
- attr: {
- wrapperClass: 'w-full mb-4',
- label: 'addresse',
- name: 'address',
- rules: 'required',
- },
- },
- {
- model: '',
- inputType: 'textarea',
- attr: {
- wrapperClass: 'w-full mb-4',
- label: 'Votre demande',
- placeholder: 'Détailler votre demande',
- name: 'request',
- rules: 'required',
- cols: 5,
- rows: 5,
- },
- },
- {
- model: false,
- inputType: 'checkbox',
- attr: {
- class: 'mb-4',
- label: 'Je souhaite recevoir occasionnellement une sélection d’expériences et de maisons.',
- name: 'newsletter',
- rules: 'required',
- },
- },
- {
- model: '',
- inputType: 'radio',
- attr: {
- label: 'Votre civilité :',
- name: 'civility',
- rules: 'required',
- vertical: false,
- },
- options: [
- { label: 'Monsieur', value: 'mr' },
- { label: 'Madame', value: 'ms' },
- { label: 'Non spécifié', value: 'unspecified' },
- ],
- },
- {
- model: null,
- inputType: 'select',
- options: ['France', 'Indonésie', 'Espagne'],
- attr: {
- labelText: 'Pays',
- name: 'coutnry',
- rules: 'required',
- wrapperClass: 'mb-4',
- },
- },
- {
- model: '',
- inputType: 'mask',
- attr: {
- label: 'Siret',
- mask: '### ### ### #####',
- name: 'siret',
- placeholder: '### ### ### #####',
- rules: { required: true, regex: /^[0-9]{3} [0-9]{3} [0-9]{3} [0-9]{5}$/ },
- wrapperClass: 'w-full lc-col mb-4',
- },
- },
- ],
-}
diff --git a/src/components/LcForm/LcForm.vue b/src/components/LcForm/LcForm.vue
deleted file mode 100644
index 06a8b39..0000000
--- a/src/components/LcForm/LcForm.vue
+++ /dev/null
@@ -1,198 +0,0 @@
-
-
-
-
-
-
-
diff --git a/src/components/LcForm/index.ts b/src/components/LcForm/index.ts
deleted file mode 100644
index 0ccebd8..0000000
--- a/src/components/LcForm/index.ts
+++ /dev/null
@@ -1 +0,0 @@
-export { default } from './LcForm.vue'
diff --git a/src/components/LcForm/types.ts b/src/components/LcForm/types.ts
deleted file mode 100644
index 2f6e175..0000000
--- a/src/components/LcForm/types.ts
+++ /dev/null
@@ -1,11 +0,0 @@
-interface FieldClassContainer {
- containerInputClass: string
-}
-interface FormValues {
- [key: string]: string|number
-}
-
-export {
- FieldClassContainer,
- FormValues,
-}
diff --git a/src/components/LcInput/LcInput.d.ts b/src/components/LcInput/LcInput.d.ts
deleted file mode 100644
index dd6e676..0000000
--- a/src/components/LcInput/LcInput.d.ts
+++ /dev/null
@@ -1,3 +0,0 @@
-import { DefineComponent } from 'vue'
-const component: DefineComponent<{}, {}, any>
-export default component
diff --git a/src/components/LcInput/LcInput.stories.ts b/src/components/LcInput/LcInput.stories.ts
deleted file mode 100644
index 38c7f71..0000000
--- a/src/components/LcInput/LcInput.stories.ts
+++ /dev/null
@@ -1,38 +0,0 @@
-import { action } from '@storybook/addon-actions'
-
-import LcInput from './LcInput'
-
-export default {
- title: 'Example/LcInput',
- component: LcInput,
-}
-
-const Template = (args: any) => ({
- components: { LcInput },
- setup() {
- return { args }
- },
- template: ``,
- methods: {
- onUpdate: action('onUpdate'),
- onBlur: action('onBlur'),
- },
-})
-
-export const Base = Template.bind({}) as any
-Base.args = {
- label: 'Prénom',
- name: 'firstname',
- modelValue: '',
- wrapperClass: 'w-full',
-}
-
-export const Placeholder = Template.bind({}) as any
-Placeholder.args = {
- ...Base.args,
- placeholder: 'Votre prénom',
-}
diff --git a/src/components/LcInput/LcInput.vue b/src/components/LcInput/LcInput.vue
deleted file mode 100644
index 412dd60..0000000
--- a/src/components/LcInput/LcInput.vue
+++ /dev/null
@@ -1,139 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/components/LcInput/__tests__/LcInput.spec.ts b/src/components/LcInput/__tests__/LcInput.spec.ts
deleted file mode 100644
index 932c088..0000000
--- a/src/components/LcInput/__tests__/LcInput.spec.ts
+++ /dev/null
@@ -1,54 +0,0 @@
-import { mount } from '@vue/test-utils'
-import LcInput from '../LcInput'
-
-let wrapper: any
-
-beforeEach(() => {
- wrapper = mount(LcInput, { props: { name: 'firstname' } })
-})
-
-afterEach(() => {
- wrapper?.unmount()
-})
-
-describe('LcInput', () => {
- it('is a Vue instance', () => {
- expect(wrapper.vm).toBeTruthy()
- })
-
- it('should set good id and name attributes', () => {
- const input = wrapper.find('input')
-
- expect(input.attributes('id')).toBe('firstname')
- expect(input.attributes('name')).toBe('firstname')
- })
-
- it('should render a label', async() => {
- const labelText = 'Your Firstname'
- await wrapper.setProps({ label: labelText })
- const label = wrapper.get('label')
-
- expect(label.text()).toBe(labelText)
- })
-
- it('should set the right input class', async() => {
- await wrapper.setProps({ wrapperClass: 'foo' })
-
- expect(wrapper.classes()).toContain('foo')
- })
-
- it('should set a placeholder', async() => {
- const placeholderText = 'your firstname'
- await wrapper.setProps({ placeholder: placeholderText })
- const input = wrapper.find('input')
-
- expect(input.attributes('placeholder')).toBe(placeholderText)
- })
-
- it('should emit blur event when leave input', async() => {
- const input = wrapper.find('input')
- await input.trigger('blur')
-
- expect(wrapper.emitted('blur')).toBeTruthy()
- })
-})
diff --git a/src/components/LcInput/index.ts b/src/components/LcInput/index.ts
deleted file mode 100644
index 240ad35..0000000
--- a/src/components/LcInput/index.ts
+++ /dev/null
@@ -1 +0,0 @@
-export { default } from './LcInput.vue'
diff --git a/src/components/LcMaskInput/LcMaskInput.d.ts b/src/components/LcMaskInput/LcMaskInput.d.ts
deleted file mode 100644
index dd6e676..0000000
--- a/src/components/LcMaskInput/LcMaskInput.d.ts
+++ /dev/null
@@ -1,3 +0,0 @@
-import { DefineComponent } from 'vue'
-const component: DefineComponent<{}, {}, any>
-export default component
diff --git a/src/components/LcMaskInput/LcMaskInput.stories.ts b/src/components/LcMaskInput/LcMaskInput.stories.ts
deleted file mode 100644
index e8a49b6..0000000
--- a/src/components/LcMaskInput/LcMaskInput.stories.ts
+++ /dev/null
@@ -1,39 +0,0 @@
-import { action } from '@storybook/addon-actions'
-
-import LcMaskInput from './LcMaskInput'
-
-export default {
- title: 'Example/LcMaskInput',
- component: LcMaskInput,
-}
-
-const Template = (args: any) => ({
- components: { LcMaskInput },
- setup() {
- return { args }
- },
- template: ``,
- methods: {
- onBlur: action('onBlur'),
- rawValue: action('rawValue'),
- },
-})
-
-export const Base = Template.bind({}) as any
-Base.args = {
- label: 'Siret',
- name: 'siret',
- modelValue: '',
- wrapperClass: 'w-full',
- mask: '### ### ### #####',
-}
-
-export const Value = Template.bind({}) as any
-Value.args = {
- ...Base.args,
- modelValue: '11122233355555',
-}
diff --git a/src/components/LcMaskInput/LcMaskInput.vue b/src/components/LcMaskInput/LcMaskInput.vue
deleted file mode 100644
index 568a5e7..0000000
--- a/src/components/LcMaskInput/LcMaskInput.vue
+++ /dev/null
@@ -1,145 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/components/LcMaskInput/__tests__/LcMaskInput.spec.ts b/src/components/LcMaskInput/__tests__/LcMaskInput.spec.ts
deleted file mode 100644
index 6f12eb1..0000000
--- a/src/components/LcMaskInput/__tests__/LcMaskInput.spec.ts
+++ /dev/null
@@ -1,107 +0,0 @@
-import { mount } from '@vue/test-utils'
-import LcMaskInput from '../LcMaskInput'
-
-let wrapper: any
-
-afterEach(() => {
- wrapper?.unmount()
-})
-
-describe('LcInput', () => {
- it('is a Vue instance', () => {
- wrapper = mount(LcMaskInput, { props: { name: 'siret' } })
- expect(wrapper.vm).toBeTruthy()
- })
-
- describe('Global input behavior', () => {
- beforeEach(() => {
- wrapper = mount(LcMaskInput, { props: { name: 'siret' } })
- })
-
- it('should set good id and name attributes', () => {
- const input = wrapper.find('[data-testid="lc-mask-input"]')
-
- expect(input.attributes('id')).toBe('siret')
- expect(input.attributes('name')).toBe('siret')
- })
-
- it('should render a label', async() => {
- const labelText = 'Your Siret'
- await wrapper.setProps({ label: labelText })
- const label = wrapper.get('label')
-
- expect(label.text()).toBe(labelText)
- })
-
- it('should set the right input class', async() => {
- await wrapper.setProps({ wrapperClass: 'foo' })
-
- expect(wrapper.classes()).toContain('foo')
- })
-
- it('should set a placeholder', async() => {
- const placeholderText = 'your siret'
- await wrapper.setProps({ placeholder: placeholderText })
- const input = wrapper.find('[data-testid="lc-mask-input"]')
-
- expect(input.attributes('placeholder')).toBe(placeholderText)
- })
-
- it('should emit blur event when leave input', async() => {
- const input = wrapper.find('[data-testid="lc-mask-input"]')
- await input.trigger('blur')
-
- expect(wrapper.emitted('blur')).toBeTruthy()
- })
- })
-
- describe('Maska behavior', () => {
- it('should value input is formatted', () => {
- wrapper = mount(LcMaskInput, {
- props: {
- name: 'siret',
- mask: '### ### ### #####',
- modelValue: '12345678910112',
- },
- })
-
- const input = wrapper.find('[data-testid="lc-mask-input"]')
-
- expect(input.element.value).toBe('123 456 789 10112')
- })
-
- it('should value input is empty', async() => {
- wrapper = mount(LcMaskInput, {
- props: {
- name: 'number',
- mask: '###',
- modelValue: '',
- },
- })
-
- const input = wrapper.find('[data-testid="lc-mask-input"]')
- await input.setValue('AZE')
-
- expect(input.element.value).toBe('')
- })
-
- it('should emit raw-value event when value change', async() => {
- wrapper = mount(LcMaskInput, {
- props: {
- name: 'number',
- mask: '### ####',
- modelValue: '',
- },
- })
-
- const input = wrapper.find('[data-testid="lc-mask-input"]')
- await input.setValue('123 456')
-
- const eventEmitted = wrapper.emitted('raw-value')
- // take the last event because maska launches several
- const lastEvent = eventEmitted.length - 1
-
- expect(eventEmitted[lastEvent]).toEqual(['123456'])
- })
- })
-})
diff --git a/src/components/LcMaskInput/index.ts b/src/components/LcMaskInput/index.ts
deleted file mode 100644
index 8c0b9db..0000000
--- a/src/components/LcMaskInput/index.ts
+++ /dev/null
@@ -1 +0,0 @@
-export { default } from './LcMaskInput.vue'
diff --git a/src/components/LcModal/LcModal.stories.ts b/src/components/LcModal/LcModal.stories.ts
index b2767e6..90bb8e6 100644
--- a/src/components/LcModal/LcModal.stories.ts
+++ b/src/components/LcModal/LcModal.stories.ts
@@ -4,6 +4,9 @@ import LcModal from './LcModal'
export default {
title: 'Example/LcModal',
component: LcModal,
+ parameters: {
+ layout: 'centered',
+ },
}
const Template = (args: any) => ({
@@ -11,11 +14,15 @@ const Template = (args: any) => ({
setup() {
return { args }
},
+ data() {
+ return { open: args.modelValue }
+ },
template: `
-
+ Open modal
+
Hello world
- Valider
+ Validate
`,
@@ -23,6 +30,31 @@ const Template = (args: any) => ({
export const Base = Template.bind({}) as any
Base.args = {
- modelValue: true,
+ modelValue: false,
title: 'Hello',
}
+
+export const OpenDefault = Template.bind({}) as any
+OpenDefault.args = {
+ ...Base.args,
+ modelValue: true,
+}
+
+export const WithoutHeader = Template.bind({}) as any
+WithoutHeader.args = {
+ ...Base.args,
+ noHeader: true,
+}
+
+export const WithoutFooter = Template.bind({}) as any
+WithoutFooter.args = {
+ ...Base.args,
+ noFooter: true,
+}
+
+export const WithoutBoth = Template.bind({}) as any
+WithoutBoth.args = {
+ ...Base.args,
+ noHeader: true,
+ noFooter: true,
+}
diff --git a/src/components/LcMultiselect/LcMultiselect.d.ts b/src/components/LcMultiselect/LcMultiselect.d.ts
deleted file mode 100644
index dd6e676..0000000
--- a/src/components/LcMultiselect/LcMultiselect.d.ts
+++ /dev/null
@@ -1,3 +0,0 @@
-import { DefineComponent } from 'vue'
-const component: DefineComponent<{}, {}, any>
-export default component
diff --git a/src/components/LcMultiselect/LcMultiselect.stories.ts b/src/components/LcMultiselect/LcMultiselect.stories.ts
deleted file mode 100644
index e26618f..0000000
--- a/src/components/LcMultiselect/LcMultiselect.stories.ts
+++ /dev/null
@@ -1,88 +0,0 @@
-import { action } from '@storybook/addon-actions'
-
-import LcMultiselect from './LcMultiselect'
-
-export default {
- title: 'Example/LcMultiselect',
- component: LcMultiselect,
-}
-
-const Template = (args: any) => ({
- components: { LcMultiselect },
- setup() {
- return { args }
- },
- template: ``,
- methods: {
- onClear: action('onClear'),
- onChange: action('onChange'),
- onSelect: action('onSelect'),
- onDeselect: action('onDeselect'),
- onOpen: action('onOpen'),
- onClose: action('onClose'),
- },
-})
-
-export const Default = Template.bind({}) as any
-Default.args = {
- labelText: 'Pays',
- name: 'country',
- options: ['France', 'Indonésie', 'Espagne'],
-}
-
-export const DefaultValue = Template.bind({}) as any
-DefaultValue.args = {
- ...Default.args,
- modelValue: 'Indonésie',
-}
-
-export const Placeholder = Template.bind({}) as any
-Placeholder.args = {
- ...Default.args,
- placeholder: 'Choisir un pays',
-}
-
-export const Searchable = Template.bind({}) as any
-Searchable.args = {
- ...Default.args,
- searchable: true,
-}
-
-export const ObjectOptions = Template.bind({}) as any
-ObjectOptions.args = {
- ...Searchable.args,
- options: [
- { value: 'FR', label: 'France' }, { value: 'ID', label: 'Indonésie' }, { value: 'ES', label: 'Espagne' }],
-}
-
-export const ObjectOptionsKeyCustom = Template.bind({}) as any
-ObjectOptionsKeyCustom.args = {
- ...Searchable.args,
- valueProp: 'iso',
- options: [
- { iso: 'FR', label: 'France' }, { iso: 'ID', label: 'Indonésie' }, { iso: 'ES', label: 'Espagne' }],
-}
-
-export const DisabledOption = Template.bind({}) as any
-DisabledOption.args = {
- ...Searchable.args,
- options: [
- { value: 'FR', label: 'France' }, { value: 'ID', label: 'Indonésie', disabled: true }, { value: 'ES', label: 'Espagne' }],
-}
-
-export const Tag = Template.bind({}) as any
-Tag.args = {
- ...ObjectOptions.args,
- mode: 'tags',
- modelValue: ['FR', 'ID'],
- options: [
- { value: 'FR', label: 'France' }, { value: 'ID', label: 'Indonésie' }, { value: 'ES', label: 'Espagne' }],
-}
diff --git a/src/components/LcMultiselect/LcMultiselect.vue b/src/components/LcMultiselect/LcMultiselect.vue
deleted file mode 100644
index 5b700e8..0000000
--- a/src/components/LcMultiselect/LcMultiselect.vue
+++ /dev/null
@@ -1,106 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/components/LcMultiselect/index.ts b/src/components/LcMultiselect/index.ts
deleted file mode 100644
index 0e20617..0000000
--- a/src/components/LcMultiselect/index.ts
+++ /dev/null
@@ -1 +0,0 @@
-export { default } from './LcMultiselect.vue'
diff --git a/src/components/LcPagination/Pagination.stories.ts b/src/components/LcPagination/Pagination.stories.ts
index 303244f..96f2bf2 100644
--- a/src/components/LcPagination/Pagination.stories.ts
+++ b/src/components/LcPagination/Pagination.stories.ts
@@ -16,8 +16,11 @@ const Template = (args: any) => ({
setup() {
return { args }
},
+ data() {
+ return { page: args.modelValue }
+ },
template: `
-
+
`,
methods: {
onUpdate: action('onUpdate'),
@@ -27,9 +30,11 @@ const Template = (args: any) => ({
export const FirstCase = Template.bind({}) as any
FirstCase.args = {
nbPages: 3,
+ modelValue: 1,
}
export const SecondCase = Template.bind({}) as any
SecondCase.args = {
nbPages: 10,
+ modelValue: 5,
}
diff --git a/src/components/LcRadio/LcRadio.d.ts b/src/components/LcRadio/LcRadio.d.ts
deleted file mode 100644
index dd6e676..0000000
--- a/src/components/LcRadio/LcRadio.d.ts
+++ /dev/null
@@ -1,3 +0,0 @@
-import { DefineComponent } from 'vue'
-const component: DefineComponent<{}, {}, any>
-export default component
diff --git a/src/components/LcRadio/LcRadio.stories.ts b/src/components/LcRadio/LcRadio.stories.ts
deleted file mode 100644
index d8314dd..0000000
--- a/src/components/LcRadio/LcRadio.stories.ts
+++ /dev/null
@@ -1,34 +0,0 @@
-import { action } from '@storybook/addon-actions'
-
-import LcRadio from './LcRadio.vue'
-
-export default {
- title: 'Example/LcRadio',
- component: LcRadio,
-}
-
-const Template = (args: any) => ({
- components: { LcRadio },
- setup() {
- return { args }
- },
- template: '',
- methods: {
- onChange: action('onChange'),
- },
-})
-
-export const Base = Template.bind({}) as any
-Base.args = {
- label: 'Monsieur',
- modelValue: '',
- name: 'civility',
- value: 'mr',
- vertical: false,
-}
-
-export const Disabled = Template.bind({}) as any
-Disabled.args = {
- ...Base.args,
- disabled: true,
-}
diff --git a/src/components/LcRadio/LcRadio.vue b/src/components/LcRadio/LcRadio.vue
deleted file mode 100644
index 564cdea..0000000
--- a/src/components/LcRadio/LcRadio.vue
+++ /dev/null
@@ -1,100 +0,0 @@
-
-
-
-
-
-
diff --git a/src/components/LcRadio/LcRadioGroup.stories.ts b/src/components/LcRadio/LcRadioGroup.stories.ts
deleted file mode 100644
index 0f8b963..0000000
--- a/src/components/LcRadio/LcRadioGroup.stories.ts
+++ /dev/null
@@ -1,79 +0,0 @@
-import { action } from '@storybook/addon-actions'
-
-import LcRadio from './LcRadio.vue'
-import LcRadioGroup from './LcRadioGroup.vue'
-
-export default {
- title: 'Example/LcRadioGroup',
- component: LcRadioGroup,
- subcomponents: { LcRadio },
-}
-
-const Template = (args: any) => ({
- components: { LcRadioGroup, LcRadio },
- setup() {
- return { args }
- },
- template: '',
- methods: {
- onChange: action('onChange'),
- },
-})
-
-export const Base = Template.bind({}) as any
-Base.args = {
- modelValue: '',
- name: 'civility',
- options: [
- {
- label: 'Monsieur',
- value: 'mr',
- },
- {
- label: 'Madame',
- value: 'ms',
- },
- {
- label: 'Non binaire',
- value: 'unknown',
- },
- ],
-}
-
-export const WithLabel = Template.bind({}) as any
-WithLabel.args = {
- ...Base.args,
- label: 'Choisir votre civilité :',
-}
-
-export const Vertical = Template.bind({}) as any
-Vertical.args = {
- ...Base.args,
- vertical: true,
-}
-
-export const VerticalWithLabel = Template.bind({}) as any
-VerticalWithLabel.args = {
- ...WithLabel.args,
- vertical: true,
-}
-
-export const Disabled = Template.bind({}) as any
-Disabled.args = {
- ...WithLabel.args,
- options: [
- {
- label: 'Monsieur',
- value: 'mr',
- disabled: true,
- },
- {
- label: 'Madame',
- value: 'ms',
- },
- {
- label: 'Non binaire',
- value: 'unknown',
- },
- ],
-}
diff --git a/src/components/LcRadio/LcRadioGroup.vue b/src/components/LcRadio/LcRadioGroup.vue
deleted file mode 100644
index ed2547d..0000000
--- a/src/components/LcRadio/LcRadioGroup.vue
+++ /dev/null
@@ -1,98 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/components/LcRadio/__tests__/LcRadio.spec.ts b/src/components/LcRadio/__tests__/LcRadio.spec.ts
deleted file mode 100644
index 60a2217..0000000
--- a/src/components/LcRadio/__tests__/LcRadio.spec.ts
+++ /dev/null
@@ -1,58 +0,0 @@
-import { mount } from '@vue/test-utils'
-import { LcRadio } from '../index'
-
-let wrapper: any
-
-beforeEach(() => {
- wrapper = mount(LcRadio, {
- props: {
- name: 'civility',
- value: 'mr',
- vertical: false,
- },
- })
-})
-
-afterEach(() => {
- wrapper?.unmount()
-})
-
-describe('LcRadio', () => {
- it('is a Vue instance', () => {
- expect(wrapper.vm).toBeTruthy()
- })
-
- describe('Input behaviour', () => {
- it('should emit the event', () => {
- const radioButton = wrapper.find('.lc-radio')
- radioButton.trigger('change')
-
- expect(wrapper.emitted()).toHaveProperty('update:modelValue')
- })
-
- it('should emit the right value', () => {
- const radioButton = wrapper.find('.lc-radio')
- radioButton.trigger('change')
-
- const changeEvent = wrapper.emitted('update:modelValue')
-
- expect(changeEvent[0]).toEqual(['mr'])
- })
-
- it('should disabled the radio button', async() => {
- await wrapper.setProps({ disabled: true })
- const radioButton = wrapper.find('.lc-radio')
-
- expect(radioButton.attributes()).toHaveProperty('disabled')
- })
- })
-
- describe('Input style', () => {
- it('should set style for vertical layout', async() => {
- await wrapper.setProps({ vertical: true })
- const label = wrapper.find('.lc-radio-label')
-
- expect(label.classes()).toContain('lc-radio-label--vertical')
- })
- })
-})
diff --git a/src/components/LcRadio/__tests__/LcRadioGroup.spec.ts b/src/components/LcRadio/__tests__/LcRadioGroup.spec.ts
deleted file mode 100644
index 1fafd6a..0000000
--- a/src/components/LcRadio/__tests__/LcRadioGroup.spec.ts
+++ /dev/null
@@ -1,74 +0,0 @@
-import { mount } from '@vue/test-utils'
-import { LcRadioGroup } from '../index'
-
-let wrapper: any
-
-beforeEach(() => {
- wrapper = mount(LcRadioGroup, {
- props: {
- options: [
- { label: 'Monsieur', value: 'mr' },
- { label: 'Madame', value: 'ms' },
- { label: 'Non spécifié', value: 'unspecified' },
- ],
- name: 'civility',
- modelValue: '',
- },
- })
-})
-
-afterEach(() => {
- wrapper?.unmount()
-})
-
-describe('LcRadioGroup', () => {
- it('is a Vue instance', () => {
- expect(wrapper.vm).toBeTruthy()
- })
-
- describe('Input behaviour', () => {
- it('should render good number of radio-buttons', () => {
- const radiosButtons = wrapper.findAll('[data-testid="lc-radio"]')
-
- expect(radiosButtons).toHaveLength(3)
- })
-
- it('should set good name attribute', () => {
- const radiosButtons = wrapper.findAll('[data-testid="lc-radio"]')
-
- expect(radiosButtons[1].attributes('value')).toEqual('ms')
- })
-
- it('should emit the event', () => {
- const radioButton = wrapper.find('[data-testid="lc-radio"]')
- radioButton.trigger('change')
-
- expect(wrapper.emitted()).toHaveProperty('update:modelValue')
- })
-
- it('should emit the right value', () => {
- const radioButton = wrapper.find('[data-testid="lc-radio"]')
- radioButton.trigger('change')
-
- const changeEvent = wrapper.emitted('update:modelValue')
-
- expect(changeEvent[0]).toEqual(['mr'])
- })
- })
-
- describe('Input layout', () => {
- it('it should render the right label', async() => {
- await wrapper.setProps({ label: 'Your civility :' })
-
- const label = wrapper.find('[data-testid="lc-radiogroup-label"]')
- expect(label.text()).toEqual('Your civility :')
- })
-
- it('it should render vertical layout', async() => {
- await wrapper.setProps({ vertical: true })
-
- const wrapperBtn = wrapper.find('.lc-radiogroup-layout')
- expect(wrapperBtn.classes()).toContain('lc-radiogroup-layout--vertical')
- })
- })
-})
diff --git a/src/components/LcRadio/index.ts b/src/components/LcRadio/index.ts
deleted file mode 100644
index 2a78255..0000000
--- a/src/components/LcRadio/index.ts
+++ /dev/null
@@ -1,2 +0,0 @@
-export { default as LcRadio } from './LcRadio.vue'
-export { default as LcRadioGroup } from './LcRadioGroup.vue'
diff --git a/src/components/LcTextarea/LcTextarea.d.ts b/src/components/LcTextarea/LcTextarea.d.ts
deleted file mode 100644
index dd6e676..0000000
--- a/src/components/LcTextarea/LcTextarea.d.ts
+++ /dev/null
@@ -1,3 +0,0 @@
-import { DefineComponent } from 'vue'
-const component: DefineComponent<{}, {}, any>
-export default component
diff --git a/src/components/LcTextarea/LcTextarea.stories.ts b/src/components/LcTextarea/LcTextarea.stories.ts
deleted file mode 100644
index 1109e9a..0000000
--- a/src/components/LcTextarea/LcTextarea.stories.ts
+++ /dev/null
@@ -1,34 +0,0 @@
-import LcTextarea from './LcTextarea'
-
-export default {
- title: 'Example/LcTextarea',
- component: LcTextarea,
-}
-
-const Template = (args: any) => ({
- components: { LcTextarea },
- setup() {
- return { args }
- },
- template: '',
-})
-
-export const Base = Template.bind({}) as any
-Base.args = {
- label: 'Votre demande :',
- name: 'content',
- modelValue: '',
- inputWrapper: 'w-full',
-}
-
-export const WithCustomRows = Template.bind({}) as any
-WithCustomRows.args = {
- ...Base.args,
- rows: 10,
-}
-
-export const WithPlaceholder = Template.bind({}) as any
-WithPlaceholder.args = {
- ...Base.args,
- placeholder: 'Décrire votre demande ...',
-}
diff --git a/src/components/LcTextarea/LcTextarea.vue b/src/components/LcTextarea/LcTextarea.vue
deleted file mode 100644
index 83c3b99..0000000
--- a/src/components/LcTextarea/LcTextarea.vue
+++ /dev/null
@@ -1,111 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/components/LcTextarea/__tests__/LcTextarea.spec.ts b/src/components/LcTextarea/__tests__/LcTextarea.spec.ts
deleted file mode 100644
index c822499..0000000
--- a/src/components/LcTextarea/__tests__/LcTextarea.spec.ts
+++ /dev/null
@@ -1,42 +0,0 @@
-import { mount } from '@vue/test-utils'
-import LcTextarea from '../index'
-
-let wrapper: any
-
-beforeEach(() => {
- wrapper = mount(LcTextarea, { props: { name: 'request' } })
-})
-
-afterEach(() => {
- wrapper?.unmount()
-})
-
-describe('LcTextarea', () => {
- it('is a Vue instance', () => {
- expect(wrapper.vm).toBeTruthy()
- })
-
- it('should set good id and name attributes', () => {
- const textarea = wrapper.find('textarea')
- expect(textarea.attributes('id')).toEqual('request')
- expect(textarea.attributes('name')).toEqual('request')
- })
-
- it('should render a label', async() => {
- await wrapper.setProps({ label: 'Your request' })
- const label = wrapper.find('label')
- expect(label).toBeTruthy()
- })
-
- it('should set the right input class', async() => {
- await wrapper.setProps({ wrapperClass: 'foo' })
- const container = wrapper.find('.foo')
- expect(container.classes()).toContain('foo')
- })
-
- it('should set a placeholder', async() => {
- await wrapper.setProps({ placeholder: 'your request' })
- const textarea = wrapper.find('textarea')
- expect(textarea.attributes('placeholder')).toEqual('your request')
- })
-})
diff --git a/src/components/LcTextarea/index.ts b/src/components/LcTextarea/index.ts
deleted file mode 100644
index 1451888..0000000
--- a/src/components/LcTextarea/index.ts
+++ /dev/null
@@ -1 +0,0 @@
-export { default } from './LcTextarea.vue'
diff --git a/src/form.css b/src/form.css
deleted file mode 100644
index 19ae8cf..0000000
--- a/src/form.css
+++ /dev/null
@@ -1,19 +0,0 @@
-.lc-form-label {
- @apply block mb-1;
-}
-
-.lc-form-tick:checked {
- background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M5.707 7.293a1 1 0 0 0-1.414 1.414l2 2a1 1 0 0 0 1.414 0l4-4a1 1 0 0 0-1.414-1.414L7 8.586 5.707 7.293z'/%3e%3c/svg%3e");
- border-color: transparent;
- background-size: 120% 120%;
- background-position: 50%;
- background-repeat: no-repeat;
-}
-
-.lc-form--error {
- @apply text-sm text-error;
-}
-
-.lc-form--hasError {
- @apply border-error;
-}
diff --git a/src/library.ts b/src/library.ts
index 9acbdf8..a0faa6c 100644
--- a/src/library.ts
+++ b/src/library.ts
@@ -1,36 +1,21 @@
-import './form.css'
-
+import LcAccordion from './components/LcAccordion'
import LcBadge from './components/LcBadge'
import LcButton from './components/LcButton'
-import LcCheckbox from './components/LcCheckbox'
import LcCount from './components/LcCount'
-import LcForm from './components/LcForm'
import LcIcon from './components/LcIcon'
-import LcInput from './components/LcInput'
-import LcMaskInput from './components/LcMaskInput'
import LcModal from './components/LcModal'
-import LcMultiselect from './components/LcMultiselect'
import LcPagination from './components/LcPagination'
-import { LcRadio, LcRadioGroup } from './components/LcRadio'
import LcTable from './components/LcTable'
-import LcTextarea from './components/LcTextarea'
import LcTooltip from './components/LcTooltip'
export {
+ LcAccordion,
LcBadge,
LcButton,
- LcCheckbox,
LcCount,
- LcForm,
LcIcon,
- LcInput,
- LcMaskInput,
LcModal,
- LcMultiselect,
LcPagination,
- LcRadio,
- LcRadioGroup,
LcTable,
- LcTextarea,
LcTooltip,
}
diff --git a/tailwind.config.js b/tailwind.config.js
index 237a27f..9d1745c 100644
--- a/tailwind.config.js
+++ b/tailwind.config.js
@@ -65,6 +65,9 @@ module.exports = {
boxShadow: {
focus: '0 0 0 0.2rem #dbbc8f40',
},
+ transitionProperty: {
+ height: 'height',
+ },
},
},
variants: {
diff --git a/yarn.lock b/yarn.lock
index 3aa8138..d5631cc 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -2607,19 +2607,19 @@
dependencies:
"@sinonjs/commons" "^1.7.0"
-"@storybook/addon-a11y@^6.3.6":
- version "6.3.6"
- resolved "https://registry.yarnpkg.com/@storybook/addon-a11y/-/addon-a11y-6.3.6.tgz#6d9dbdaa067a8f6ad15cef64f2103568457d2aae"
- integrity sha512-IYVDFEGgKORdm7NPZPqltOvu29R9LaZwGBvfzbS3GUc3I9XLbT/cxkZN68Zzmjn2GtP/X1v4uLqp57OsPb4Cdg==
- dependencies:
- "@storybook/addons" "6.3.6"
- "@storybook/api" "6.3.6"
- "@storybook/channels" "6.3.6"
- "@storybook/client-api" "6.3.6"
- "@storybook/client-logger" "6.3.6"
- "@storybook/components" "6.3.6"
- "@storybook/core-events" "6.3.6"
- "@storybook/theming" "6.3.6"
+"@storybook/addon-a11y@^6.3.7":
+ version "6.3.7"
+ resolved "https://registry.yarnpkg.com/@storybook/addon-a11y/-/addon-a11y-6.3.7.tgz#a802455f2d932eda07314e3d44a96c94bbd22b3d"
+ integrity sha512-Z5Lhxm8r5CkPW9FYf6zmAk9c7IhUeUQZxKZeEWGZdOvcjQ32rtg4IYvO2SHgWNrEKBdxxFm3pMiyK3wylQLfsQ==
+ dependencies:
+ "@storybook/addons" "6.3.7"
+ "@storybook/api" "6.3.7"
+ "@storybook/channels" "6.3.7"
+ "@storybook/client-api" "6.3.7"
+ "@storybook/client-logger" "6.3.7"
+ "@storybook/components" "6.3.7"
+ "@storybook/core-events" "6.3.7"
+ "@storybook/theming" "6.3.7"
axe-core "^4.2.0"
core-js "^3.8.2"
global "^4.4.0"
@@ -2629,17 +2629,17 @@
ts-dedent "^2.0.0"
util-deprecate "^1.0.2"
-"@storybook/addon-actions@6.3.6", "@storybook/addon-actions@^6.3.6":
- version "6.3.6"
- resolved "https://registry.yarnpkg.com/@storybook/addon-actions/-/addon-actions-6.3.6.tgz#691d61d6aca9c4b3edba50c531cbe4d4139ed451"
- integrity sha512-1MBqCbFiupGEDyIXqFkzF4iR8AduuB7qSNduqtsFauvIkrG5bnlbg5JC7WjnixkCaaWlufgbpasEHioXO9EXGw==
- dependencies:
- "@storybook/addons" "6.3.6"
- "@storybook/api" "6.3.6"
- "@storybook/client-api" "6.3.6"
- "@storybook/components" "6.3.6"
- "@storybook/core-events" "6.3.6"
- "@storybook/theming" "6.3.6"
+"@storybook/addon-actions@6.3.7", "@storybook/addon-actions@^6.3.7":
+ version "6.3.7"
+ resolved "https://registry.yarnpkg.com/@storybook/addon-actions/-/addon-actions-6.3.7.tgz#b25434972bef351aceb3f7ec6fd66e210f256aac"
+ integrity sha512-CEAmztbVt47Gw1o6Iw0VP20tuvISCEKk9CS/rCjHtb4ubby6+j/bkp3pkEUQIbyLdHiLWFMz0ZJdyA/U6T6jCw==
+ dependencies:
+ "@storybook/addons" "6.3.7"
+ "@storybook/api" "6.3.7"
+ "@storybook/client-api" "6.3.7"
+ "@storybook/components" "6.3.7"
+ "@storybook/core-events" "6.3.7"
+ "@storybook/theming" "6.3.7"
core-js "^3.8.2"
fast-deep-equal "^3.1.3"
global "^4.4.0"
@@ -2652,17 +2652,17 @@
util-deprecate "^1.0.2"
uuid-browser "^3.1.0"
-"@storybook/addon-backgrounds@6.3.6":
- version "6.3.6"
- resolved "https://registry.yarnpkg.com/@storybook/addon-backgrounds/-/addon-backgrounds-6.3.6.tgz#93128e6ebfcb953a83cc2165056dd5815d32cef2"
- integrity sha512-1lBVAem2M+ggb1UNVgB7/56LaQAor9lI8q0xtQdAzAkt9K4RbbOsLGRhyUm3QH5OiB3qHHG5WQBujWUD6Qfy4g==
- dependencies:
- "@storybook/addons" "6.3.6"
- "@storybook/api" "6.3.6"
- "@storybook/client-logger" "6.3.6"
- "@storybook/components" "6.3.6"
- "@storybook/core-events" "6.3.6"
- "@storybook/theming" "6.3.6"
+"@storybook/addon-backgrounds@6.3.7":
+ version "6.3.7"
+ resolved "https://registry.yarnpkg.com/@storybook/addon-backgrounds/-/addon-backgrounds-6.3.7.tgz#b8ed464cf1000f77678570912640972c74129a2e"
+ integrity sha512-NH95pDNILgCXeegbckG+P3zxT5SPmgkAq29P+e3gX7YBOTc6885YCFMJLFpuDMwW4lA0ovXosp4PaUHLsBnLDg==
+ dependencies:
+ "@storybook/addons" "6.3.7"
+ "@storybook/api" "6.3.7"
+ "@storybook/client-logger" "6.3.7"
+ "@storybook/components" "6.3.7"
+ "@storybook/core-events" "6.3.7"
+ "@storybook/theming" "6.3.7"
core-js "^3.8.2"
global "^4.4.0"
memoizerific "^1.11.3"
@@ -2670,24 +2670,24 @@
ts-dedent "^2.0.0"
util-deprecate "^1.0.2"
-"@storybook/addon-controls@6.3.6":
- version "6.3.6"
- resolved "https://registry.yarnpkg.com/@storybook/addon-controls/-/addon-controls-6.3.6.tgz#2f8071e5b521375aace60af96e33a19f016581c9"
- integrity sha512-wTWmnZl2qEAUqgLh8a7TL5f6w37Q51lAoJNlwxFFBSKtGS7xFUnou4qTUArNy5iKu1cWoVvofJ9RnP1maGByYA==
- dependencies:
- "@storybook/addons" "6.3.6"
- "@storybook/api" "6.3.6"
- "@storybook/client-api" "6.3.6"
- "@storybook/components" "6.3.6"
- "@storybook/node-logger" "6.3.6"
- "@storybook/theming" "6.3.6"
+"@storybook/addon-controls@6.3.7":
+ version "6.3.7"
+ resolved "https://registry.yarnpkg.com/@storybook/addon-controls/-/addon-controls-6.3.7.tgz#ac8fa5ec055f09fd5187998358b5188fed54a528"
+ integrity sha512-VHOv5XZ0MQ45k6X7AUrMIxGkm7sgIiPwsvajnoeMe7UwS3ngbTb0Q0raLqI/L5jLM/jyQwfpUO9isA6cztGTEQ==
+ dependencies:
+ "@storybook/addons" "6.3.7"
+ "@storybook/api" "6.3.7"
+ "@storybook/client-api" "6.3.7"
+ "@storybook/components" "6.3.7"
+ "@storybook/node-logger" "6.3.7"
+ "@storybook/theming" "6.3.7"
core-js "^3.8.2"
ts-dedent "^2.0.0"
-"@storybook/addon-docs@6.3.6":
- version "6.3.6"
- resolved "https://registry.yarnpkg.com/@storybook/addon-docs/-/addon-docs-6.3.6.tgz#85b8a72b91f9c43edfaf21c416a9b01ad0e06ea4"
- integrity sha512-/ZPB9u3lfc6ZUrgt9HENU1BxAHNfTbh9r2LictQ8o9gYE/BqvZutl2zqilTpVuutQtTgQ6JycVhxtpk9+TDcuA==
+"@storybook/addon-docs@6.3.7":
+ version "6.3.7"
+ resolved "https://registry.yarnpkg.com/@storybook/addon-docs/-/addon-docs-6.3.7.tgz#a7b8ff2c0baf85fc9cc1b3d71f481ec40499f3cc"
+ integrity sha512-cyuyoLuB5ELhbrXgnZneDCHqNq1wSdWZ4dzdHy1E5WwLPEhLlD6INfEsm8gnDIb4IncYuzMhK3XYBDd7d3ijOg==
dependencies:
"@babel/core" "^7.12.10"
"@babel/generator" "^7.12.11"
@@ -2698,20 +2698,20 @@
"@mdx-js/loader" "^1.6.22"
"@mdx-js/mdx" "^1.6.22"
"@mdx-js/react" "^1.6.22"
- "@storybook/addons" "6.3.6"
- "@storybook/api" "6.3.6"
- "@storybook/builder-webpack4" "6.3.6"
- "@storybook/client-api" "6.3.6"
- "@storybook/client-logger" "6.3.6"
- "@storybook/components" "6.3.6"
- "@storybook/core" "6.3.6"
- "@storybook/core-events" "6.3.6"
+ "@storybook/addons" "6.3.7"
+ "@storybook/api" "6.3.7"
+ "@storybook/builder-webpack4" "6.3.7"
+ "@storybook/client-api" "6.3.7"
+ "@storybook/client-logger" "6.3.7"
+ "@storybook/components" "6.3.7"
+ "@storybook/core" "6.3.7"
+ "@storybook/core-events" "6.3.7"
"@storybook/csf" "0.0.1"
- "@storybook/csf-tools" "6.3.6"
- "@storybook/node-logger" "6.3.6"
- "@storybook/postinstall" "6.3.6"
- "@storybook/source-loader" "6.3.6"
- "@storybook/theming" "6.3.6"
+ "@storybook/csf-tools" "6.3.7"
+ "@storybook/node-logger" "6.3.7"
+ "@storybook/postinstall" "6.3.7"
+ "@storybook/source-loader" "6.3.7"
+ "@storybook/theming" "6.3.7"
acorn "^7.4.1"
acorn-jsx "^5.3.1"
acorn-walk "^7.2.0"
@@ -2734,36 +2734,36 @@
ts-dedent "^2.0.0"
util-deprecate "^1.0.2"
-"@storybook/addon-essentials@^6.3.6":
- version "6.3.6"
- resolved "https://registry.yarnpkg.com/@storybook/addon-essentials/-/addon-essentials-6.3.6.tgz#29f5249daee086fe2d14c899ae61712b8c8fbcbd"
- integrity sha512-FUrpCeINaN4L9L81FswtQFEq2xLwj3W7EyhmqsZcYSr64nscpQyjlPVjs5zhrEanOGIf+4E+mBmWafxbYufXwQ==
+"@storybook/addon-essentials@^6.3.7":
+ version "6.3.7"
+ resolved "https://registry.yarnpkg.com/@storybook/addon-essentials/-/addon-essentials-6.3.7.tgz#5af605ab705e938c5b25a7e19daa26e5924fd4e4"
+ integrity sha512-ZWAW3qMFrrpfSekmCZibp/ivnohFLJdJweiIA0CLnuCNuuK9kQdpFahWdvyBy5NlCj3UJwB7epTZYZyHqYW7UQ==
dependencies:
- "@storybook/addon-actions" "6.3.6"
- "@storybook/addon-backgrounds" "6.3.6"
- "@storybook/addon-controls" "6.3.6"
- "@storybook/addon-docs" "6.3.6"
+ "@storybook/addon-actions" "6.3.7"
+ "@storybook/addon-backgrounds" "6.3.7"
+ "@storybook/addon-controls" "6.3.7"
+ "@storybook/addon-docs" "6.3.7"
"@storybook/addon-measure" "^2.0.0"
- "@storybook/addon-toolbars" "6.3.6"
- "@storybook/addon-viewport" "6.3.6"
- "@storybook/addons" "6.3.6"
- "@storybook/api" "6.3.6"
- "@storybook/node-logger" "6.3.6"
+ "@storybook/addon-toolbars" "6.3.7"
+ "@storybook/addon-viewport" "6.3.7"
+ "@storybook/addons" "6.3.7"
+ "@storybook/api" "6.3.7"
+ "@storybook/node-logger" "6.3.7"
core-js "^3.8.2"
regenerator-runtime "^0.13.7"
storybook-addon-outline "^1.4.1"
ts-dedent "^2.0.0"
-"@storybook/addon-links@^6.3.6":
- version "6.3.6"
- resolved "https://registry.yarnpkg.com/@storybook/addon-links/-/addon-links-6.3.6.tgz#dc410d5b4a0d222b6b8d0ef03da7a4c16919c092"
- integrity sha512-PaeAJTjwtPlhrLZlaSQ1YIFA8V0C1yI0dc351lPbTiE7fJ7DwTE03K6xIF/jEdTo+xzhi2PM1Fgvi/SsSecI8w==
+"@storybook/addon-links@^6.3.7":
+ version "6.3.7"
+ resolved "https://registry.yarnpkg.com/@storybook/addon-links/-/addon-links-6.3.7.tgz#f273abba6d056794a4aa920b2fa9639136e6747f"
+ integrity sha512-/8Gq18o1DejP3Om0ZOJRkMzW5FoHqoAmR0pFx4DipmNu5lYy7V3krLw4jW4qja1MuQkZ53MGh08FJOoAc2RZvQ==
dependencies:
- "@storybook/addons" "6.3.6"
- "@storybook/client-logger" "6.3.6"
- "@storybook/core-events" "6.3.6"
+ "@storybook/addons" "6.3.7"
+ "@storybook/client-logger" "6.3.7"
+ "@storybook/core-events" "6.3.7"
"@storybook/csf" "0.0.1"
- "@storybook/router" "6.3.6"
+ "@storybook/router" "6.3.7"
"@types/qs" "^6.9.5"
core-js "^3.8.2"
global "^4.4.0"
@@ -2788,47 +2788,47 @@
postcss-loader "^4.2.0"
style-loader "^1.3.0"
-"@storybook/addon-toolbars@6.3.6":
- version "6.3.6"
- resolved "https://registry.yarnpkg.com/@storybook/addon-toolbars/-/addon-toolbars-6.3.6.tgz#41f5f29988260d2aad9431b7a91f57e848c3e0bf"
- integrity sha512-VpwkMtvT/4KNjqdO2SCkFw4koMgYN2k8hckbTGRzuUYYTHBvl9yK4q0A7RELEnkm/tsmDI1TjenV/MBifp2Aiw==
+"@storybook/addon-toolbars@6.3.7":
+ version "6.3.7"
+ resolved "https://registry.yarnpkg.com/@storybook/addon-toolbars/-/addon-toolbars-6.3.7.tgz#acd0c9eea7fad056d995a821e34abddd5b065b9b"
+ integrity sha512-UTIurbl2WXj/jSOj7ndqQ/WtG7kSpGp62T7gwEZTZ+h/3sJn+bixofBD/7+sXa4hWW07YgTXV547DMhzp5bygg==
dependencies:
- "@storybook/addons" "6.3.6"
- "@storybook/api" "6.3.6"
- "@storybook/client-api" "6.3.6"
- "@storybook/components" "6.3.6"
- "@storybook/theming" "6.3.6"
+ "@storybook/addons" "6.3.7"
+ "@storybook/api" "6.3.7"
+ "@storybook/client-api" "6.3.7"
+ "@storybook/components" "6.3.7"
+ "@storybook/theming" "6.3.7"
core-js "^3.8.2"
regenerator-runtime "^0.13.7"
-"@storybook/addon-viewport@6.3.6":
- version "6.3.6"
- resolved "https://registry.yarnpkg.com/@storybook/addon-viewport/-/addon-viewport-6.3.6.tgz#9117316e918559d389a19571166579858b25b09b"
- integrity sha512-Z5eztFFGd6vd+38sDurfTkIr9lY6EYWtMJzr5efedRZGg2IZLXZxQCoyjKEB29VB/IIjHEYHhHSh4SFsHT/m6g==
- dependencies:
- "@storybook/addons" "6.3.6"
- "@storybook/api" "6.3.6"
- "@storybook/client-logger" "6.3.6"
- "@storybook/components" "6.3.6"
- "@storybook/core-events" "6.3.6"
- "@storybook/theming" "6.3.6"
+"@storybook/addon-viewport@6.3.7":
+ version "6.3.7"
+ resolved "https://registry.yarnpkg.com/@storybook/addon-viewport/-/addon-viewport-6.3.7.tgz#4dc5007e6c8e4d095814c34234429fe889e4014d"
+ integrity sha512-Hdv2QoVVfe/YuMVQKVVnfCCuEoTqTa8Ck7AOKz31VSAliBFhXewP51oKhw9F6mTyvCozMHX6EBtBzN06KyrPyw==
+ dependencies:
+ "@storybook/addons" "6.3.7"
+ "@storybook/api" "6.3.7"
+ "@storybook/client-logger" "6.3.7"
+ "@storybook/components" "6.3.7"
+ "@storybook/core-events" "6.3.7"
+ "@storybook/theming" "6.3.7"
core-js "^3.8.2"
global "^4.4.0"
memoizerific "^1.11.3"
prop-types "^15.7.2"
regenerator-runtime "^0.13.7"
-"@storybook/addons@6.3.6":
- version "6.3.6"
- resolved "https://registry.yarnpkg.com/@storybook/addons/-/addons-6.3.6.tgz#330fd722bdae8abefeb029583e89e51e62c20b60"
- integrity sha512-tVV0vqaEEN9Md4bgScwfrnZYkN8iKZarpkIOFheLev+PHjSp8lgWMK5SNWDlbBYqfQfzrz9xbs+F07bMjfx9jQ==
- dependencies:
- "@storybook/api" "6.3.6"
- "@storybook/channels" "6.3.6"
- "@storybook/client-logger" "6.3.6"
- "@storybook/core-events" "6.3.6"
- "@storybook/router" "6.3.6"
- "@storybook/theming" "6.3.6"
+"@storybook/addons@6.3.7":
+ version "6.3.7"
+ resolved "https://registry.yarnpkg.com/@storybook/addons/-/addons-6.3.7.tgz#7c6b8d11b65f67b1884f6140437fe996dc39537a"
+ integrity sha512-9stVjTcc52bqqh7YQex/LpSjJ4e2Czm4/ZYDjIiNy0p4OZEx+yLhL5mZzMWh2NQd6vv+pHASBSxf2IeaR5511A==
+ dependencies:
+ "@storybook/api" "6.3.7"
+ "@storybook/channels" "6.3.7"
+ "@storybook/client-logger" "6.3.7"
+ "@storybook/core-events" "6.3.7"
+ "@storybook/router" "6.3.7"
+ "@storybook/theming" "6.3.7"
core-js "^3.8.2"
global "^4.4.0"
regenerator-runtime "^0.13.7"
@@ -2874,19 +2874,19 @@
ts-dedent "^2.0.0"
util-deprecate "^1.0.2"
-"@storybook/api@6.3.6":
- version "6.3.6"
- resolved "https://registry.yarnpkg.com/@storybook/api/-/api-6.3.6.tgz#b110688ae0a970c9443d47b87616a09456f3708e"
- integrity sha512-F5VuR1FrEwD51OO/EDDAZXNfF5XmJedYHJLwwCB4az2ZMrzG45TxGRmiEohrSTO6wAHGkAvjlEoX5jWOCqQ4pw==
+"@storybook/api@6.3.7":
+ version "6.3.7"
+ resolved "https://registry.yarnpkg.com/@storybook/api/-/api-6.3.7.tgz#88b8a51422cd0739c91bde0b1d65fb6d8a8485d0"
+ integrity sha512-57al8mxmE9agXZGo8syRQ8UhvGnDC9zkuwkBPXchESYYVkm3Mc54RTvdAOYDiy85VS4JxiGOywHayCaRwgUddQ==
dependencies:
"@reach/router" "^1.3.4"
- "@storybook/channels" "6.3.6"
- "@storybook/client-logger" "6.3.6"
- "@storybook/core-events" "6.3.6"
+ "@storybook/channels" "6.3.7"
+ "@storybook/client-logger" "6.3.7"
+ "@storybook/core-events" "6.3.7"
"@storybook/csf" "0.0.1"
- "@storybook/router" "6.3.6"
+ "@storybook/router" "6.3.7"
"@storybook/semver" "^7.3.2"
- "@storybook/theming" "6.3.6"
+ "@storybook/theming" "6.3.7"
"@types/reach__router" "^1.3.7"
core-js "^3.8.2"
fast-deep-equal "^3.1.3"
@@ -2900,10 +2900,10 @@
ts-dedent "^2.0.0"
util-deprecate "^1.0.2"
-"@storybook/builder-webpack4@6.3.6":
- version "6.3.6"
- resolved "https://registry.yarnpkg.com/@storybook/builder-webpack4/-/builder-webpack4-6.3.6.tgz#fe444abfc178e005ea077e2bcfd6ae7509522908"
- integrity sha512-LhTPQQowS2t6BRnyfusWZLbhjjf54/HiQyovJTTDnqrCiO6QoCMbVnp79LeO1aSkpQCKoeqOZ7TzH87fCytnZA==
+"@storybook/builder-webpack4@6.3.7":
+ version "6.3.7"
+ resolved "https://registry.yarnpkg.com/@storybook/builder-webpack4/-/builder-webpack4-6.3.7.tgz#1cc1a1184043be3f6ef840d0b43ba91a803105e2"
+ integrity sha512-M5envblMzAUrNqP1+ouKiL8iSIW/90+kBRU2QeWlZoZl1ib+fiFoKk06cgbaC70Bx1lU8nOnI/VBvB5pLhXLaw==
dependencies:
"@babel/core" "^7.12.10"
"@babel/plugin-proposal-class-properties" "^7.12.1"
@@ -2926,20 +2926,20 @@
"@babel/preset-env" "^7.12.11"
"@babel/preset-react" "^7.12.10"
"@babel/preset-typescript" "^7.12.7"
- "@storybook/addons" "6.3.6"
- "@storybook/api" "6.3.6"
- "@storybook/channel-postmessage" "6.3.6"
- "@storybook/channels" "6.3.6"
- "@storybook/client-api" "6.3.6"
- "@storybook/client-logger" "6.3.6"
- "@storybook/components" "6.3.6"
- "@storybook/core-common" "6.3.6"
- "@storybook/core-events" "6.3.6"
- "@storybook/node-logger" "6.3.6"
- "@storybook/router" "6.3.6"
+ "@storybook/addons" "6.3.7"
+ "@storybook/api" "6.3.7"
+ "@storybook/channel-postmessage" "6.3.7"
+ "@storybook/channels" "6.3.7"
+ "@storybook/client-api" "6.3.7"
+ "@storybook/client-logger" "6.3.7"
+ "@storybook/components" "6.3.7"
+ "@storybook/core-common" "6.3.7"
+ "@storybook/core-events" "6.3.7"
+ "@storybook/node-logger" "6.3.7"
+ "@storybook/router" "6.3.7"
"@storybook/semver" "^7.3.2"
- "@storybook/theming" "6.3.6"
- "@storybook/ui" "6.3.6"
+ "@storybook/theming" "6.3.7"
+ "@storybook/ui" "6.3.7"
"@types/node" "^14.0.10"
"@types/webpack" "^4.41.26"
autoprefixer "^9.8.6"
@@ -2976,14 +2976,14 @@
webpack-hot-middleware "^2.25.0"
webpack-virtual-modules "^0.2.2"
-"@storybook/channel-postmessage@6.3.6":
- version "6.3.6"
- resolved "https://registry.yarnpkg.com/@storybook/channel-postmessage/-/channel-postmessage-6.3.6.tgz#f29c3678161462428e78c9cfed2da11ffca4acb0"
- integrity sha512-GK7hXnaa+1pxEeMpREDzAZ3+2+k1KN1lbrZf+V7Kc1JZv1/Ji/vxk8AgxwiuzPAMx5J0yh/FduPscIPZ87Pibw==
+"@storybook/channel-postmessage@6.3.7":
+ version "6.3.7"
+ resolved "https://registry.yarnpkg.com/@storybook/channel-postmessage/-/channel-postmessage-6.3.7.tgz#bd4edf84a29aa2cd4a22d26115c60194d289a840"
+ integrity sha512-Cmw8HRkeSF1yUFLfEIUIkUICyCXX8x5Ol/5QPbiW9HPE2hbZtYROCcg4bmWqdq59N0Tp9FQNSn+9ZygPgqQtNw==
dependencies:
- "@storybook/channels" "6.3.6"
- "@storybook/client-logger" "6.3.6"
- "@storybook/core-events" "6.3.6"
+ "@storybook/channels" "6.3.7"
+ "@storybook/client-logger" "6.3.7"
+ "@storybook/core-events" "6.3.7"
core-js "^3.8.2"
global "^4.4.0"
qs "^6.10.0"
@@ -2998,25 +2998,25 @@
ts-dedent "^2.0.0"
util-deprecate "^1.0.2"
-"@storybook/channels@6.3.6":
- version "6.3.6"
- resolved "https://registry.yarnpkg.com/@storybook/channels/-/channels-6.3.6.tgz#a258764ed78fd836ff90489ae74ac055312bf056"
- integrity sha512-gCIQVr+dS/tg3AyCxIvkOXMVAs08BCIHXsaa2+XzmacnJBSP+CEHtI6IZ8WEv7tzZuXOiKLVg+wugeIh4j2I4g==
+"@storybook/channels@6.3.7":
+ version "6.3.7"
+ resolved "https://registry.yarnpkg.com/@storybook/channels/-/channels-6.3.7.tgz#85ed5925522b802d959810f78d37aacde7fea66e"
+ integrity sha512-aErXO+SRO8MPp2wOkT2n9d0fby+8yM35tq1tI633B4eQsM74EykbXPv7EamrYPqp1AI4BdiloyEpr0hmr2zlvg==
dependencies:
core-js "^3.8.2"
ts-dedent "^2.0.0"
util-deprecate "^1.0.2"
-"@storybook/client-api@6.3.6":
- version "6.3.6"
- resolved "https://registry.yarnpkg.com/@storybook/client-api/-/client-api-6.3.6.tgz#4826ce366ae109f608da6ade24b29efeb9b7f7dd"
- integrity sha512-Q/bWuH691L6k7xkiKtBmZo8C+ijgmQ+vc2Fz8pzIRZuMV8ROL74qhrS4BMKV4LhiYm4f8todtWfaQPBjawZMIA==
+"@storybook/client-api@6.3.7":
+ version "6.3.7"
+ resolved "https://registry.yarnpkg.com/@storybook/client-api/-/client-api-6.3.7.tgz#cb1dca05467d777bd09aadbbdd1dd22ca537ce14"
+ integrity sha512-8wOH19cMIwIIYhZy5O5Wl8JT1QOL5kNuamp9GPmg5ff4DtnG+/uUslskRvsnKyjPvl+WbIlZtBVWBiawVdd/yQ==
dependencies:
- "@storybook/addons" "6.3.6"
- "@storybook/channel-postmessage" "6.3.6"
- "@storybook/channels" "6.3.6"
- "@storybook/client-logger" "6.3.6"
- "@storybook/core-events" "6.3.6"
+ "@storybook/addons" "6.3.7"
+ "@storybook/channel-postmessage" "6.3.7"
+ "@storybook/channels" "6.3.7"
+ "@storybook/client-logger" "6.3.7"
+ "@storybook/core-events" "6.3.7"
"@storybook/csf" "0.0.1"
"@types/qs" "^6.9.5"
"@types/webpack-env" "^1.16.0"
@@ -3039,23 +3039,23 @@
core-js "^3.8.2"
global "^4.4.0"
-"@storybook/client-logger@6.3.6":
- version "6.3.6"
- resolved "https://registry.yarnpkg.com/@storybook/client-logger/-/client-logger-6.3.6.tgz#020ba518ab8286194ce103a6ff91767042e296c0"
- integrity sha512-qpXQ52ylxPm7l3+WAteV42NmqWA+L1FaJhMOvm2gwl3PxRd2cNXn2BwEhw++eA6qmJH/7mfOKXG+K+QQwOTpRA==
+"@storybook/client-logger@6.3.7":
+ version "6.3.7"
+ resolved "https://registry.yarnpkg.com/@storybook/client-logger/-/client-logger-6.3.7.tgz#ff17b7494e7e9e23089b0d5c5364c371c726bdd1"
+ integrity sha512-BQRErHE3nIEuUJN/3S3dO1LzxAknOgrFeZLd4UVcH/fvjtS1F4EkhcbH+jNyUWvcWGv66PZYN0oFPEn/g3Savg==
dependencies:
core-js "^3.8.2"
global "^4.4.0"
-"@storybook/components@6.3.6":
- version "6.3.6"
- resolved "https://registry.yarnpkg.com/@storybook/components/-/components-6.3.6.tgz#bc2fa1dbe59f42b5b2aeb9f84424072835d4ce8b"
- integrity sha512-aZkmtAY8b+LFXG6dVp6cTS6zGJuxkHRHcesRSWRQPxtgitaz1G58clRHxbKPRokfjPHNgYA3snogyeqxSA7YNQ==
+"@storybook/components@6.3.7":
+ version "6.3.7"
+ resolved "https://registry.yarnpkg.com/@storybook/components/-/components-6.3.7.tgz#42b1ca6d24e388e02eab82aa9ed3365db2266ecc"
+ integrity sha512-O7LIg9Z18G0AJqXX7Shcj0uHqwXlSA5UkHgaz9A7mqqqJNl6m6FwwTWcxR1acUfYVNkO+czgpqZHNrOF6rky1A==
dependencies:
"@popperjs/core" "^2.6.0"
- "@storybook/client-logger" "6.3.6"
+ "@storybook/client-logger" "6.3.7"
"@storybook/csf" "0.0.1"
- "@storybook/theming" "6.3.6"
+ "@storybook/theming" "6.3.7"
"@types/color-convert" "^2.0.0"
"@types/overlayscrollbars" "^1.12.0"
"@types/react-syntax-highlighter" "11.0.5"
@@ -3107,18 +3107,18 @@
ts-dedent "^2.0.0"
util-deprecate "^1.0.2"
-"@storybook/core-client@6.3.6":
- version "6.3.6"
- resolved "https://registry.yarnpkg.com/@storybook/core-client/-/core-client-6.3.6.tgz#7def721aa15d4faaff574780d30b92055db7261c"
- integrity sha512-Bq86flEdXdMNbdHrGMNQ6OT1tcBQU8ym56d+nG46Ctjf5GN+Dl+rPtRWuu7cIZs10KgqJH+86DXp+tvpQIDidg==
+"@storybook/core-client@6.3.7":
+ version "6.3.7"
+ resolved "https://registry.yarnpkg.com/@storybook/core-client/-/core-client-6.3.7.tgz#cfb75952e0e1d32f2aca92bca2786334ab589c40"
+ integrity sha512-M/4A65yV+Y4lsCQXX4BtQO/i3BcMPrU5FkDG8qJd3dkcx2fUlFvGWqQPkcTZE+MPVvMEGl/AsEZSADzah9+dAg==
dependencies:
- "@storybook/addons" "6.3.6"
- "@storybook/channel-postmessage" "6.3.6"
- "@storybook/client-api" "6.3.6"
- "@storybook/client-logger" "6.3.6"
- "@storybook/core-events" "6.3.6"
+ "@storybook/addons" "6.3.7"
+ "@storybook/channel-postmessage" "6.3.7"
+ "@storybook/client-api" "6.3.7"
+ "@storybook/client-logger" "6.3.7"
+ "@storybook/core-events" "6.3.7"
"@storybook/csf" "0.0.1"
- "@storybook/ui" "6.3.6"
+ "@storybook/ui" "6.3.7"
airbnb-js-shims "^2.2.1"
ansi-to-html "^0.6.11"
core-js "^3.8.2"
@@ -3130,10 +3130,10 @@
unfetch "^4.2.0"
util-deprecate "^1.0.2"
-"@storybook/core-common@6.3.6":
- version "6.3.6"
- resolved "https://registry.yarnpkg.com/@storybook/core-common/-/core-common-6.3.6.tgz#da8eed703b609968e15177446f0f1609d1d6d0d0"
- integrity sha512-nHolFOmTPymI50j180bCtcf1UJZ2eOnYaECRtHvVrCUod5KFF7wh2EHrgWoKqrKrsn84UOY/LkX2C2WkbYtWRg==
+"@storybook/core-common@6.3.7":
+ version "6.3.7"
+ resolved "https://registry.yarnpkg.com/@storybook/core-common/-/core-common-6.3.7.tgz#9eedf3ff16aff870950e3372ab71ef846fa3ac52"
+ integrity sha512-exLoqRPPsAefwyjbsQBLNFrlPCcv69Q/pclqmIm7FqAPR7f3CKP1rqsHY0PnemizTL/+cLX5S7mY90gI6wpNug==
dependencies:
"@babel/core" "^7.12.10"
"@babel/plugin-proposal-class-properties" "^7.12.1"
@@ -3156,7 +3156,7 @@
"@babel/preset-react" "^7.12.10"
"@babel/preset-typescript" "^7.12.7"
"@babel/register" "^7.12.1"
- "@storybook/node-logger" "6.3.6"
+ "@storybook/node-logger" "6.3.7"
"@storybook/semver" "^7.3.2"
"@types/glob-base" "^0.3.0"
"@types/micromatch" "^4.0.1"
@@ -3191,24 +3191,24 @@
dependencies:
core-js "^3.8.2"
-"@storybook/core-events@6.3.6":
- version "6.3.6"
- resolved "https://registry.yarnpkg.com/@storybook/core-events/-/core-events-6.3.6.tgz#c4a09e2c703170995604d63e46e45adc3c9cd759"
- integrity sha512-Ut1dz96bJ939oSn5t1ckPXd3WcFejK96Sb3+R/z23vEHUWGBFtygGyw8r/SX/WNDVzGmQU8c+mzJJTZwCBJz8A==
+"@storybook/core-events@6.3.7":
+ version "6.3.7"
+ resolved "https://registry.yarnpkg.com/@storybook/core-events/-/core-events-6.3.7.tgz#c5bc7cae7dc295de73b6b9f671ecbe582582e9bd"
+ integrity sha512-l5Hlhe+C/dqxjobemZ6DWBhTOhQoFF3F1Y4kjFGE7pGZl/mas4M72I5I/FUcYCmbk2fbLfZX8hzKkUqS1hdyLA==
dependencies:
core-js "^3.8.2"
-"@storybook/core-server@6.3.6":
- version "6.3.6"
- resolved "https://registry.yarnpkg.com/@storybook/core-server/-/core-server-6.3.6.tgz#43c1415573c3b72ec6b9ae48d68e1bb446722f7c"
- integrity sha512-47ZcfxYn7t891oAMG98iH1BQIgQT9Yk/2BBNVCWY43Ong+ME1xJ6j4C/jkRUOseP7URlfLUQsUYKAYJNVijDvg==
- dependencies:
- "@storybook/builder-webpack4" "6.3.6"
- "@storybook/core-client" "6.3.6"
- "@storybook/core-common" "6.3.6"
- "@storybook/csf-tools" "6.3.6"
- "@storybook/manager-webpack4" "6.3.6"
- "@storybook/node-logger" "6.3.6"
+"@storybook/core-server@6.3.7":
+ version "6.3.7"
+ resolved "https://registry.yarnpkg.com/@storybook/core-server/-/core-server-6.3.7.tgz#6f29ad720aafe4a97247b5e306eac4174d0931f2"
+ integrity sha512-m5OPD/rmZA7KFewkXzXD46/i1ngUoFO4LWOiAY/wR6RQGjYXGMhSa5UYFF6MNwSbiGS5YieHkR5crB1HP47AhQ==
+ dependencies:
+ "@storybook/builder-webpack4" "6.3.7"
+ "@storybook/core-client" "6.3.7"
+ "@storybook/core-common" "6.3.7"
+ "@storybook/csf-tools" "6.3.7"
+ "@storybook/manager-webpack4" "6.3.7"
+ "@storybook/node-logger" "6.3.7"
"@storybook/semver" "^7.3.2"
"@types/node" "^14.0.10"
"@types/node-fetch" "^2.5.7"
@@ -3237,18 +3237,18 @@
util-deprecate "^1.0.2"
webpack "4"
-"@storybook/core@6.3.6":
- version "6.3.6"
- resolved "https://registry.yarnpkg.com/@storybook/core/-/core-6.3.6.tgz#604419d346433103675901b3736bfa1ed9bc534f"
- integrity sha512-y71VvVEbqCpG28fDBnfNg3RnUPnicwFYq9yuoFVRF0LYcJCy5cYhkIfW3JG8mN2m0P+LzH80mt2Rj6xlSXrkdQ==
+"@storybook/core@6.3.7":
+ version "6.3.7"
+ resolved "https://registry.yarnpkg.com/@storybook/core/-/core-6.3.7.tgz#482228a270abc3e23fed10c7bc4df674da22ca19"
+ integrity sha512-YTVLPXqgyBg7TALNxQ+cd+GtCm/NFjxr/qQ1mss1T9GCMR0IjE0d0trgOVHHLAO8jCVlK8DeuqZCCgZFTXulRw==
dependencies:
- "@storybook/core-client" "6.3.6"
- "@storybook/core-server" "6.3.6"
+ "@storybook/core-client" "6.3.7"
+ "@storybook/core-server" "6.3.7"
-"@storybook/csf-tools@6.3.6":
- version "6.3.6"
- resolved "https://registry.yarnpkg.com/@storybook/csf-tools/-/csf-tools-6.3.6.tgz#603d9e832f946998b75ff8368fe862375d6cb52c"
- integrity sha512-MQevelkEUVNCSjKMXLNc/G8q/BB5babPnSeI0IcJq4k+kLUSHtviimLNpPowMgGJBPx/y9VihH8N7vdJUWVj9w==
+"@storybook/csf-tools@6.3.7":
+ version "6.3.7"
+ resolved "https://registry.yarnpkg.com/@storybook/csf-tools/-/csf-tools-6.3.7.tgz#505514d211f8698c47ddb15662442098b4b00156"
+ integrity sha512-A7yGsrYwh+vwVpmG8dHpEimX021RbZd9VzoREcILH56u8atssdh/rseljyWlRes3Sr4QgtLvDB7ggoJ+XDZH7w==
dependencies:
"@babel/generator" "^7.12.11"
"@babel/parser" "^7.12.11"
@@ -3272,20 +3272,20 @@
dependencies:
lodash "^4.17.15"
-"@storybook/manager-webpack4@6.3.6":
- version "6.3.6"
- resolved "https://registry.yarnpkg.com/@storybook/manager-webpack4/-/manager-webpack4-6.3.6.tgz#a5334aa7ae1e048bca8f4daf868925d7054fb715"
- integrity sha512-qh/jV4b6mFRpRFfhk1JSyO2gKRz8PLPvDt2AD52/bTAtNRzypKoiWqyZNR2CJ9hgNQtDrk2CO3eKPrcdKYGizQ==
+"@storybook/manager-webpack4@6.3.7":
+ version "6.3.7"
+ resolved "https://registry.yarnpkg.com/@storybook/manager-webpack4/-/manager-webpack4-6.3.7.tgz#9ca604dea38d3c47eb38bf485ca6107861280aa8"
+ integrity sha512-cwUdO3oklEtx6y+ZOl2zHvflICK85emiXBQGgRcCsnwWQRBZOMh+tCgOSZj4jmISVpT52RtT9woG4jKe15KBig==
dependencies:
"@babel/core" "^7.12.10"
"@babel/plugin-transform-template-literals" "^7.12.1"
"@babel/preset-react" "^7.12.10"
- "@storybook/addons" "6.3.6"
- "@storybook/core-client" "6.3.6"
- "@storybook/core-common" "6.3.6"
- "@storybook/node-logger" "6.3.6"
- "@storybook/theming" "6.3.6"
- "@storybook/ui" "6.3.6"
+ "@storybook/addons" "6.3.7"
+ "@storybook/core-client" "6.3.7"
+ "@storybook/core-common" "6.3.7"
+ "@storybook/node-logger" "6.3.7"
+ "@storybook/theming" "6.3.7"
+ "@storybook/ui" "6.3.7"
"@types/node" "^14.0.10"
"@types/webpack" "^4.41.26"
babel-loader "^8.2.2"
@@ -3315,10 +3315,10 @@
webpack-dev-middleware "^3.7.3"
webpack-virtual-modules "^0.2.2"
-"@storybook/node-logger@6.3.6":
- version "6.3.6"
- resolved "https://registry.yarnpkg.com/@storybook/node-logger/-/node-logger-6.3.6.tgz#10356608593440a8e3acf2aababef40333a3401b"
- integrity sha512-XMDkMN7nVRojjiezrURlkI57+nz3OoH4UBV6qJZICKclxtdKAy0wwOlUSYEUq+axcJ4nvdfzPPoDfGoj37SW7A==
+"@storybook/node-logger@6.3.7":
+ version "6.3.7"
+ resolved "https://registry.yarnpkg.com/@storybook/node-logger/-/node-logger-6.3.7.tgz#492469ea4749de8d984af144976961589a1ac382"
+ integrity sha512-YXHCblruRe6HcNefDOpuXJoaybHnnSryIVP9Z+gDv6OgLAMkyxccTIaQL9dbc/eI4ywgzAz4kD8t1RfVwXNVXw==
dependencies:
"@types/npmlog" "^4.1.2"
chalk "^4.1.0"
@@ -3337,10 +3337,10 @@
npmlog "^4.1.2"
pretty-hrtime "^1.0.3"
-"@storybook/postinstall@6.3.6":
- version "6.3.6"
- resolved "https://registry.yarnpkg.com/@storybook/postinstall/-/postinstall-6.3.6.tgz#fd79a6c109b38ced4b9b40db2d27b88ee184d449"
- integrity sha512-90Izr8/GwLiXvdF2A3v1PCpWoxUBgqA0TrWGuiWXfJnfFRVlVrX9A/ClGUPSh80L3oE01E6raaOG4wW4JTRKfw==
+"@storybook/postinstall@6.3.7":
+ version "6.3.7"
+ resolved "https://registry.yarnpkg.com/@storybook/postinstall/-/postinstall-6.3.7.tgz#7d90c06131382a3cf1550a1f2c70df13b220d9d3"
+ integrity sha512-HgTj7WdWo2cXrGfEhi5XYZA+G4vIzECtJHK22GEL9QxJth60Ah/dE94VqpTlyhSpzP74ZFUgr92+pP9o+j3CCw==
dependencies:
core-js "^3.8.2"
@@ -3360,13 +3360,13 @@
qs "^6.10.0"
ts-dedent "^2.0.0"
-"@storybook/router@6.3.6":
- version "6.3.6"
- resolved "https://registry.yarnpkg.com/@storybook/router/-/router-6.3.6.tgz#cea20d64bae17397dc9e1689a656b80a98674c34"
- integrity sha512-fQ1n7cm7lPFav7I+fStQciSVMlNdU+yLY6Fue252rpV5Q68bMTjwKpjO9P2/Y3CCj4QD3dPqwEkn4s0qUn5tNA==
+"@storybook/router@6.3.7":
+ version "6.3.7"
+ resolved "https://registry.yarnpkg.com/@storybook/router/-/router-6.3.7.tgz#1714a99a58a7b9f08b6fcfe2b678dad6ca896736"
+ integrity sha512-6tthN8op7H0NoYoE1SkQFJKC42pC4tGaoPn7kEql8XGeUJnxPtVFjrnywlTrRnKuxZKIvbilQBAwDml97XH23Q==
dependencies:
"@reach/router" "^1.3.4"
- "@storybook/client-logger" "6.3.6"
+ "@storybook/client-logger" "6.3.7"
"@types/reach__router" "^1.3.7"
core-js "^3.8.2"
fast-deep-equal "^3.1.3"
@@ -3384,13 +3384,13 @@
core-js "^3.6.5"
find-up "^4.1.0"
-"@storybook/source-loader@6.3.6":
- version "6.3.6"
- resolved "https://registry.yarnpkg.com/@storybook/source-loader/-/source-loader-6.3.6.tgz#2d3d01919baad7a40f67d1150c74e41dea5f1d4c"
- integrity sha512-om3iS3a+D287FzBrbXB/IXB6Z5Ql2yc4dFKTy6FPe5v4N3U0p5puWOKUYWWbTX1JbcpRj0IXXo7952G68tcC1g==
+"@storybook/source-loader@6.3.7":
+ version "6.3.7"
+ resolved "https://registry.yarnpkg.com/@storybook/source-loader/-/source-loader-6.3.7.tgz#cc348305df3c2d8d716c0bab7830c9f537b859ff"
+ integrity sha512-0xQTq90jwx7W7MJn/idEBCGPOyxi/3No5j+5YdfJsSGJRuMFH3jt6pGgdeZ4XA01cmmIX6bZ+fB9al6yAzs91w==
dependencies:
- "@storybook/addons" "6.3.6"
- "@storybook/client-logger" "6.3.6"
+ "@storybook/addons" "6.3.7"
+ "@storybook/client-logger" "6.3.7"
"@storybook/csf" "0.0.1"
core-js "^3.8.2"
estraverse "^5.2.0"
@@ -3418,15 +3418,15 @@
resolve-from "^5.0.0"
ts-dedent "^2.0.0"
-"@storybook/theming@6.3.6":
- version "6.3.6"
- resolved "https://registry.yarnpkg.com/@storybook/theming/-/theming-6.3.6.tgz#75624f6d4e01530b87afca3eab9996a16c0370ab"
- integrity sha512-mPrQrMUREajNEWxzgR8t0YIZsI9avPv25VNA08fANnwVsc887p4OL5eCTL2dFIlD34YDzAwiyRKYoLj2vDW4nw==
+"@storybook/theming@6.3.7":
+ version "6.3.7"
+ resolved "https://registry.yarnpkg.com/@storybook/theming/-/theming-6.3.7.tgz#6daf9a21b26ed607f3c28a82acd90c0248e76d8b"
+ integrity sha512-GXBdw18JJd5jLLcRonAZWvGGdwEXByxF1IFNDSOYCcpHWsMgTk4XoLjceu9MpXET04pVX51LbVPLCvMdggoohg==
dependencies:
"@emotion/core" "^10.1.1"
"@emotion/is-prop-valid" "^0.8.6"
"@emotion/styled" "^10.0.27"
- "@storybook/client-logger" "6.3.6"
+ "@storybook/client-logger" "6.3.7"
core-js "^3.8.2"
deep-object-diff "^1.1.0"
emotion-theming "^10.0.27"
@@ -3436,21 +3436,21 @@
resolve-from "^5.0.0"
ts-dedent "^2.0.0"
-"@storybook/ui@6.3.6":
- version "6.3.6"
- resolved "https://registry.yarnpkg.com/@storybook/ui/-/ui-6.3.6.tgz#a9ed8265e34bb8ef9f0dd08f40170b3dcf8a8931"
- integrity sha512-S9FjISUiAmbBR7d6ubUEcELQdffDfRxerloxkXs5Ou7n8fEPqpgQB01Hw5MLRUwTEpxPzHn+xtIGYritAGxt/Q==
+"@storybook/ui@6.3.7":
+ version "6.3.7"
+ resolved "https://registry.yarnpkg.com/@storybook/ui/-/ui-6.3.7.tgz#d0caea50640670da3189bbbb67c43da30c90455a"
+ integrity sha512-PBeRO8qtwAbtHvxUgNtz/ChUR6qnN+R37dMaIs3Y96jbks1fS2K9Mt7W5s1HnUbWbg2KsZMv9D4VYPBasY+Isw==
dependencies:
"@emotion/core" "^10.1.1"
- "@storybook/addons" "6.3.6"
- "@storybook/api" "6.3.6"
- "@storybook/channels" "6.3.6"
- "@storybook/client-logger" "6.3.6"
- "@storybook/components" "6.3.6"
- "@storybook/core-events" "6.3.6"
- "@storybook/router" "6.3.6"
+ "@storybook/addons" "6.3.7"
+ "@storybook/api" "6.3.7"
+ "@storybook/channels" "6.3.7"
+ "@storybook/client-logger" "6.3.7"
+ "@storybook/components" "6.3.7"
+ "@storybook/core-events" "6.3.7"
+ "@storybook/router" "6.3.7"
"@storybook/semver" "^7.3.2"
- "@storybook/theming" "6.3.6"
+ "@storybook/theming" "6.3.7"
"@types/markdown-to-jsx" "^6.11.3"
copy-to-clipboard "^3.3.1"
core-js "^3.8.2"
@@ -3471,14 +3471,14 @@
resolve-from "^5.0.0"
store2 "^2.12.0"
-"@storybook/vue3@^6.3.6":
- version "6.3.6"
- resolved "https://registry.yarnpkg.com/@storybook/vue3/-/vue3-6.3.6.tgz#b9fe643e1a85fc831f14a597823686a7c3a7bf19"
- integrity sha512-yc2bMh6d5MDz+xaS/+QOgbpRb5Ems+njIvZPdAA9j2tlmzmGuDk2FjNm9xFrTXDMz1wPJU6fJZiXWkC21kyXsA==
+"@storybook/vue3@^6.3.7":
+ version "6.3.7"
+ resolved "https://registry.yarnpkg.com/@storybook/vue3/-/vue3-6.3.7.tgz#d69d0a76271d85c7ce1a21d28be57bcef7951117"
+ integrity sha512-YZfh4M4Gg/gQLV3sIdUltdWkYe7ZCTS9xmqHAHEFmLT5XmNbkbkGOlp9wRg6OkfBhC83Xzbn0OHCyOU0Tp246w==
dependencies:
- "@storybook/addons" "6.3.6"
- "@storybook/core" "6.3.6"
- "@storybook/core-common" "6.3.6"
+ "@storybook/addons" "6.3.7"
+ "@storybook/core" "6.3.7"
+ "@storybook/core-common" "6.3.7"
"@types/webpack-env" "^1.16.0"
core-js "^3.8.2"
global "^4.4.0"
@@ -4007,16 +4007,6 @@
"@typescript-eslint/types" "4.21.0"
eslint-visitor-keys "^2.0.0"
-"@vee-validate/i18n@^4.1.20":
- version "4.1.20"
- resolved "https://registry.yarnpkg.com/@vee-validate/i18n/-/i18n-4.1.20.tgz#1f3a3a5da83217fc77fd32e5da6c9d714e91c515"
- integrity sha512-3K7R3m3Z206Hq6iJpXHJNSYDjJFFHzZrA7wjowTts52iEsv9kNpA/WCkdJsQLae8J+QLiKyK53ma35gAet8yFg==
-
-"@vee-validate/rules@^4.1.20":
- version "4.1.20"
- resolved "https://registry.yarnpkg.com/@vee-validate/rules/-/rules-4.1.20.tgz#50c8cdf92df18560b6c6e8772399df88c44b7de3"
- integrity sha512-DsG+NrCv/rEIpEEOqv+R7Za5rsA9xdIq4XEARjcHI3liXgkd8aeNWCnnmGyDbkz2BVav7n37IhP16ceJHnFXBA==
-
"@vitejs/plugin-vue@1.2.1":
version "1.2.1"
resolved "https://registry.yarnpkg.com/@vitejs/plugin-vue/-/plugin-vue-1.2.1.tgz#6de49436fc346f829a56676066428e3f011522ac"
@@ -4267,11 +4257,6 @@
resolved "https://registry.yarnpkg.com/@vue/test-utils/-/test-utils-2.0.0-rc.9.tgz#b3f817d710a1d0ae2084143520c9d8d3c552bfa6"
integrity sha512-iJNAAfXTTSd2/5vUZpFbUwUwC8w3hbFu8s9ptKkZGsiw6pO6mFsaLs2rzI3Ea/8hwqcF3K7Wp2diKOdzqmb6qg==
-"@vueform/multiselect@^2.0.1":
- version "2.0.1"
- resolved "https://registry.yarnpkg.com/@vueform/multiselect/-/multiselect-2.0.1.tgz#ed8d7c052b8c7ae6fc91613098e96260afe691b1"
- integrity sha512-7vC60wF8q7GB5yiv9qH8wF8vA1gj/wsdIUR9s/E0DELkmwCVHNex9nkHzDo5dS72fMLByiQbWbJ73K2yr2P2qQ==
-
"@webassemblyjs/ast@1.9.0":
version "1.9.0"
resolved "https://registry.yarnpkg.com/@webassemblyjs/ast/-/ast-1.9.0.tgz#bd850604b4042459a5a41cd7d338cbed695ed964"
@@ -10242,11 +10227,6 @@ markdown-to-jsx@^7.1.3:
resolved "https://registry.yarnpkg.com/markdown-to-jsx/-/markdown-to-jsx-7.1.3.tgz#f00bae66c0abe7dd2d274123f84cb6bd2a2c7c6a"
integrity sha512-jtQ6VyT7rMT5tPV0g2EJakEnXLiPksnvlYtwQsVVZ611JsWGN8bQ1tVSDX4s6JllfEH6wmsYxNjTUAMrPmNA8w==
-maska@^1.4.4:
- version "1.4.4"
- resolved "https://registry.yarnpkg.com/maska/-/maska-1.4.4.tgz#0a43dcd10c7ab5d58be59a7a5fd577c496e73fd1"
- integrity sha512-0z6O2s+KhA/13y2GXSSeX6rg5at9F9mMt+wbx+v/juUAFFGPtiPjXlqZu09lkN7gi4G1xJ2yeN+gvHBJi5SsTA==
-
md5.js@^1.3.4:
version "1.3.5"
resolved "https://registry.yarnpkg.com/md5.js/-/md5.js-1.3.5.tgz#b5d07b8e3216e3e27cd728d72f70d1e6a342005f"
@@ -14320,11 +14300,6 @@ vary@~1.1.2:
resolved "https://registry.yarnpkg.com/vary/-/vary-1.1.2.tgz#2299f02c6ded30d4a5961b0b9f74524a18f634fc"
integrity sha1-IpnwLG3tMNSllhsLn3RSShj2NPw=
-vee-validate@4.4.4:
- version "4.4.4"
- resolved "https://registry.yarnpkg.com/vee-validate/-/vee-validate-4.4.4.tgz#ee0b86fed0325cc9f3a0b756184fa63c8bb218bb"
- integrity sha512-1zVt1wJEE/I7ozD2Ixrz7pfAbcZsCItvSNVJq3CAw48cKZOM/m6i8IM/LfbhwIs/HF4xjx0G7YbMQZTG6N8keA==
-
verror@1.10.0:
version "1.10.0"
resolved "https://registry.yarnpkg.com/verror/-/verror-1.10.0.tgz#3a105ca17053af55d6e270c1f8288682e18da400"