@cnamts/synapse 1.0.27 → 1.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/{AutocompleteFilter-C9eLKyW8.js → AutocompleteFilter-CGF33skz.js} +3 -3
- package/dist/{DateFilter-y-GLkAkn.js → DateFilter-D7-MsKtx.js} +8 -8
- package/dist/{NumberFilter-DN6hIBS7.js → NumberFilter-bjQPPfsj.js} +1 -1
- package/dist/{PeriodFilter-MoUUp9qS.js → PeriodFilter-B3wJpK8-.js} +1 -1
- package/dist/{SelectFilter-bCbrdLmu.js → SelectFilter-BN6DbKAV.js} +1 -1
- package/dist/{TextFilter-CvjgEaoM.js → TextFilter-BffP0J2f.js} +4 -4
- package/dist/{apLightTheme2026-ug4Y23ns.js → apLightTheme2026-C4ygwMHC.js} +23 -22
- package/dist/components/Amelipro/AmeliproAutoCompleteField/AmeliproAutoCompleteField.d.ts +10 -10
- package/dist/components/Amelipro/AmeliproPostalAddressField/AmeliproPostalAddressCityRow/AmeliproPostalAddressCityRow.d.ts +4 -4
- package/dist/components/Amelipro/AmeliproPostalAddressField/AmeliproPostalAddressField.d.ts +6 -6
- package/dist/components/Amelipro/AmeliproSelect/AmeliproSelect.d.ts +10 -10
- package/dist/components/Amelipro/AmeliproTabs/AmeliproTabs.d.ts +10 -10
- package/dist/components/Amelipro/AmeliproTextArea/AmeliproTextArea.d.ts +4 -4
- package/dist/components/Amelipro/AmeliproTextField/AmeliproTextField.d.ts +4 -4
- package/dist/components/Captcha/Captcha.d.ts +27 -16
- package/dist/components/Captcha/CaptchaForm.d.ts +29 -3
- package/dist/components/Captcha/types.d.ts +14 -0
- package/dist/components/Captcha/useCaptchaValidation.d.ts +37 -0
- package/dist/components/CookiesSelection/CookiesInformation/CookiesInformation.d.ts +2 -2
- package/dist/components/Customs/Selects/SelectBtnField/SelectBtnField.d.ts +33 -13
- package/dist/components/Customs/Selects/SelectBtnField/composables/useSelectBtnFieldValidation.d.ts +23 -0
- package/dist/components/Customs/Selects/SyAutocomplete/SyAutocomplete.d.ts +85 -313
- package/dist/components/Customs/Selects/SyAutocomplete/composables/useSyAutocompleteValidation.d.ts +4 -4
- package/dist/components/Customs/Selects/SyInputSelect/SyInputSelect.d.ts +1 -1
- package/dist/components/Customs/Selects/SySelect/SySelect.d.ts +9 -11
- package/dist/components/Customs/Selects/SySelect/composables/useSySelectValidation.d.ts +7 -7
- package/dist/components/Customs/SyCheckBoxGroup/SyCheckBoxGroup.d.ts +18 -49
- package/dist/components/Customs/SyCheckBoxGroup/composables/useSyCheckBoxGroupValidation.d.ts +29 -0
- package/dist/components/Customs/SyCheckBoxGroup/types.d.ts +46 -0
- package/dist/components/Customs/SyCheckbox/SyCheckbox.d.ts +19 -54
- package/dist/components/Customs/SyCheckbox/composables/useSyCheckboxValidation.d.ts +27 -0
- package/dist/components/Customs/SyCheckbox/types.d.ts +49 -0
- package/dist/components/Customs/SyIcon/SyIcon.d.ts +77 -1
- package/dist/components/Customs/SyRadioGroup/SyRadioGroup.d.ts +10 -10
- package/dist/components/Customs/SyTextField/FieldState.d.ts +5 -0
- package/dist/components/Customs/SyTextField/SyTextField.d.ts +19 -79
- package/dist/components/Customs/SyTextField/locales.d.ts +7 -0
- package/dist/components/Customs/SyTextField/types.d.ts +67 -4
- package/dist/components/Customs/SyTextField/useNumberField.d.ts +23 -0
- package/dist/components/Customs/SyTextField/useSyTextFieldValidation.d.ts +38 -0
- package/dist/components/DatePicker/CalendarMode/DatePicker.d.ts +170 -622
- package/dist/components/DatePicker/ComplexDatePicker/ComplexDatePicker.d.ts +85 -311
- package/dist/components/DatePicker/DateTextInput/DateTextInput.d.ts +39 -152
- package/dist/components/DialogBox/DialogBox.d.ts +2 -0
- package/dist/components/DialogBox/locales.d.ts +1 -0
- package/dist/components/FilterInline/FilterInline.d.ts +3 -3
- package/dist/components/FilterSideBar/FilterSideBar.d.ts +8 -4
- package/dist/components/LunarCalendar/LunarCalendar.d.ts +43 -14
- package/dist/components/LunarCalendar/types.d.ts +35 -0
- package/dist/components/LunarCalendar/useLunarCalendarValidation.d.ts +11 -12
- package/dist/components/MonthPicker/MonthPicker.d.ts +72 -1860
- package/dist/components/MonthPicker/MonthPickerText/MonthPickerInput.d.ts +21 -1846
- package/dist/components/MonthPicker/MonthPickerText/useTextField.d.ts +5 -0
- package/dist/components/MonthPicker/locales.d.ts +1 -0
- package/dist/components/MonthPicker/types.d.ts +11 -0
- package/dist/components/MonthPicker/useMonthPickerValidation.d.ts +37 -24
- package/dist/components/NirField/NirField.d.ts +96 -325
- package/dist/components/NirField/useNirValidation.d.ts +17 -25
- package/dist/components/PageContainer/PageContainer.d.ts +8 -0
- package/dist/components/PasswordField/PasswordField.d.ts +18 -37
- package/dist/components/PasswordField/locales.d.ts +2 -0
- package/dist/components/PasswordField/types.d.ts +16 -0
- package/dist/components/PasswordField/usePasswordFieldValidation.d.ts +38 -0
- package/dist/components/PeriodField/PeriodField.d.ts +349 -1253
- package/dist/components/PhoneField/PhoneField.d.ts +960 -2051
- package/dist/components/PhoneField/indicatifs.d.ts +715 -8
- package/dist/components/PhoneField/locales.d.ts +7 -0
- package/dist/components/PhoneField/types.d.ts +29 -0
- package/dist/components/PhoneField/usePhoneFieldValidation.d.ts +45 -0
- package/dist/components/PhoneField/usePhoneIndicatifs.d.ts +947 -0
- package/dist/components/SearchListField/SearchListField.d.ts +3 -3
- package/dist/components/SyTextArea/SyTextArea.d.ts +14 -11
- package/dist/components/SyTextArea/composables/useSyTextAreaValidation.d.ts +7 -7
- package/dist/components/Tables/common/SyTablePagination.d.ts +19 -20
- package/dist/composables/unifyValidation/documentationValidationProps.d.ts +2 -2
- package/dist/composables/unifyValidation/useValidation.d.ts +4 -13
- package/dist/composables/useFilterable/useFilterable.d.ts +1 -2
- package/dist/design-system-v3.js +19 -19
- package/dist/designTokens/tokens/amelipro/apLightTheme.d.ts +11 -10
- package/dist/designTokens/tokens/baseTokens.d.ts +18 -18
- package/dist/designTokens/tokens/cnam/cnamLightTheme.d.ts +10 -10
- package/dist/designTokens/tokens/pa/paLightTheme.d.ts +11 -10
- package/dist/designTokens/tokens/semanticTokens.d.ts +14 -14
- package/dist/{main-CI6Q9nmO.js → main-C4wAktOs.js} +14999 -14025
- package/dist/synapse.css +1 -1
- package/dist/vuetifyConfig.js +27 -25
- package/package.json +12 -11
- package/src/assets/compat/_legacy-tokens.scss +91 -0
- package/src/assets/overrides/_utilities.scss +23 -0
- package/src/components/Accordion/Accordion.stories.ts +121 -1
- package/src/components/Accordion/tests/Accordion.visual.cy.ts +44 -0
- package/src/components/Accordion/tests/__snapshots__/accordion-default.snap.png +0 -0
- package/src/components/Accordion/tests/__snapshots__/accordion-disabled-item.snap.png +0 -0
- package/src/components/Accordion/tests/__snapshots__/accordion-open-first.snap.png +0 -0
- package/src/components/BackBtn/BackBtn.mdx +1 -1
- package/src/components/BackBtn/tests/__snapshots__/back-btn-custom-bg.snap.png +0 -0
- package/src/components/BackBtn/tests/__snapshots__/back-btn-dark-mode.snap.png +0 -0
- package/src/components/BackBtn/tests/__snapshots__/back-btn-default.snap.png +0 -0
- package/src/components/BackBtn/tests/__snapshots__/back-btn-no-icon.snap.png +0 -0
- package/src/components/BackToTopBtn/BackToTopBtn.mdx +0 -1
- package/src/components/BackToTopBtn/tests/BackToTopBtn.visual.cy.ts +34 -0
- package/src/components/BackToTopBtn/tests/__snapshots__/back-to-top-btn-custom-nudge.snap.png +0 -0
- package/src/components/BackToTopBtn/tests/__snapshots__/back-to-top-btn-default.snap.png +0 -0
- package/src/components/Captcha/Captcha.stories.ts +134 -31
- package/src/components/Captcha/Captcha.vue +95 -28
- package/src/components/Captcha/CaptchaForm.vue +51 -22
- package/src/components/Captcha/tests/Captcha.focus.spec.ts +214 -0
- package/src/components/Captcha/tests/Captcha.spec.ts +233 -24
- package/src/components/Captcha/tests/Captcha.visual.cy.ts +45 -0
- package/src/components/Captcha/tests/CaptchaForm.spec.ts +82 -0
- package/src/components/Captcha/tests/__snapshots__/Captcha.spec.ts.snap +20 -42
- package/src/components/Captcha/tests/__snapshots__/captcha-audio-type.snap.png +0 -0
- package/src/components/Captcha/tests/__snapshots__/captcha-image-type.snap.png +0 -0
- package/src/components/Captcha/tests/__snapshots__/captcha-no-helpdesk.snap.png +0 -0
- package/src/components/Captcha/types.ts +15 -0
- package/src/components/Captcha/useCaptchaValidation.ts +87 -0
- package/src/components/Captcha/validation/validation.stories.ts +1194 -0
- package/src/components/ChipList/ChipList.mdx +0 -1
- package/src/components/ChipList/tests/ChipList.visual.cy.ts +46 -0
- package/src/components/ChipList/tests/__snapshots__/chip-list-default.snap.png +0 -0
- package/src/components/ChipList/tests/__snapshots__/chip-list-readonly.snap.png +0 -0
- package/src/components/ChipList/tests/__snapshots__/chip-list-state-icons.snap.png +0 -0
- package/src/components/CollapsibleList/CollapsibleList.mdx +0 -1
- package/src/components/CollapsibleList/tests/CollapsibleList.visual.cy.ts +33 -0
- package/src/components/CollapsibleList/tests/__snapshots__/collapsible-list-default.snap.png +0 -0
- package/src/components/CollapsibleList/tests/__snapshots__/collapsible-list-no-title.snap.png +0 -0
- package/src/components/ContextualMenu/tests/ContextualMenu.visual.cy.ts +35 -0
- package/src/components/ContextualMenu/tests/__snapshots__/contextual-menu-default.snap.png +0 -0
- package/src/components/ContextualMenu/tests/__snapshots__/contextual-menu-selected.snap.png +0 -0
- package/src/components/CookieBanner/CookieBanner.mdx +0 -1
- package/src/components/CookieBanner/tests/CookieBanner.visual.cy.ts +29 -0
- package/src/components/CookieBanner/tests/__snapshots__/cookie-banner-default.snap.png +0 -0
- package/src/components/CookieBanner/tests/__snapshots__/cookie-banner-with-items.snap.png +0 -0
- package/src/components/CookiesSelection/tests/CookiesSelection.visual.cy.ts +21 -0
- package/src/components/CookiesSelection/tests/__snapshots__/cookies-selection-default.snap.png +0 -0
- package/src/components/CopyBtn/CopyBtn.mdx +0 -1
- package/src/components/CopyBtn/tests/CopyBtn.visual.cy.ts +24 -0
- package/src/components/CopyBtn/tests/__snapshots__/copy-btn-default.snap.png +0 -0
- package/src/components/CopyBtn/tests/__snapshots__/copy-btn-no-tooltip.snap.png +0 -0
- package/src/components/Customs/Selects/SelectBtnField/SelectBtnField.stories.ts +123 -439
- package/src/components/Customs/Selects/SelectBtnField/SelectBtnField.vue +147 -41
- package/src/components/Customs/Selects/SelectBtnField/Validation/Validation.stories.ts +600 -0
- package/src/components/Customs/Selects/SelectBtnField/composables/useSelectBtnFieldValidation.ts +87 -0
- package/src/components/Customs/Selects/SelectBtnField/tests/SelectBtnField.spec.ts +402 -33
- package/src/components/Customs/Selects/SelectBtnField/tests/SelectBtnField.visual.cy.ts +60 -0
- package/src/components/Customs/Selects/SelectBtnField/tests/__snapshots__/SelectBtnField.spec.ts.snap +52 -38
- package/src/components/Customs/Selects/SelectBtnField/tests/__snapshots__/select-btn-field-default.snap.png +0 -0
- package/src/components/Customs/Selects/SelectBtnField/tests/__snapshots__/select-btn-field-inline.snap.png +0 -0
- package/src/components/Customs/Selects/SelectBtnField/tests/__snapshots__/select-btn-field-readonly.snap.png +0 -0
- package/src/components/Customs/Selects/SelectBtnField/tests/__snapshots__/select-btn-field-selected.snap.png +0 -0
- package/src/components/Customs/Selects/SyAutocomplete/SyAutocomplete.vue +1 -1
- package/src/components/Customs/Selects/SyAutocomplete/tests/SyAutocomplete.spec.ts +2 -0
- package/src/components/Customs/Selects/SyAutocomplete/tests/SyAutocomplete.visual.cy.ts +63 -0
- package/src/components/Customs/Selects/SyAutocomplete/tests/__snapshots__/sy-autocomplete-default.snap.png +0 -0
- package/src/components/Customs/Selects/SyAutocomplete/tests/__snapshots__/sy-autocomplete-loading.snap.png +0 -0
- package/src/components/Customs/Selects/SyAutocomplete/tests/__snapshots__/sy-autocomplete-multiple.snap.png +0 -0
- package/src/components/Customs/Selects/SyAutocomplete/tests/__snapshots__/sy-autocomplete-with-value.snap.png +0 -0
- package/src/components/Customs/Selects/SyAutocomplete/validation/Validation.stories.ts +0 -93
- package/src/components/Customs/Selects/SyInputSelect/tests/SyInputSelect.visual.cy.ts +48 -0
- package/src/components/Customs/Selects/SyInputSelect/tests/__snapshots__/sy-input-select-default.snap.png +0 -0
- package/src/components/Customs/Selects/SyInputSelect/tests/__snapshots__/sy-input-select-required.snap.png +0 -0
- package/src/components/Customs/Selects/SyInputSelect/tests/__snapshots__/sy-input-select-with-value.snap.png +0 -0
- package/src/components/Customs/Selects/SySelect/SySelect.vue +22 -47
- package/src/components/Customs/Selects/SySelect/tests/SySelect.spec.ts +3 -3
- package/src/components/Customs/Selects/SySelect/tests/SySelect.visual.cy.ts +77 -0
- package/src/components/Customs/Selects/SySelect/tests/__snapshots__/sy-select-clearable.snap.png +0 -0
- package/src/components/Customs/Selects/SySelect/tests/__snapshots__/sy-select-default.snap.png +0 -0
- package/src/components/Customs/Selects/SySelect/tests/__snapshots__/sy-select-multiple-chips.snap.png +0 -0
- package/src/components/Customs/Selects/SySelect/tests/__snapshots__/sy-select-required.snap.png +0 -0
- package/src/components/Customs/Selects/SySelect/tests/__snapshots__/sy-select-with-value.snap.png +0 -0
- package/src/components/Customs/Selects/SySelect/validation/Validation.stories.ts +1 -92
- package/src/components/Customs/SyCheckBoxGroup/SyCheckBoxGroup.stories.ts +342 -162
- package/src/components/Customs/SyCheckBoxGroup/SyCheckBoxGroup.vue +77 -129
- package/src/components/Customs/SyCheckBoxGroup/Validation/Validation.stories.ts +1008 -0
- package/src/components/Customs/SyCheckBoxGroup/composables/useSyCheckBoxGroupValidation.ts +107 -0
- package/src/components/Customs/SyCheckBoxGroup/tests/SyCheckBoxGroup.spec.ts +180 -7
- package/src/components/Customs/SyCheckBoxGroup/tests/SyCheckBoxGroup.visual.cy.ts +55 -0
- package/src/components/Customs/SyCheckBoxGroup/tests/__snapshots__/sy-checkbox-group-default.snap.png +0 -0
- package/src/components/Customs/SyCheckBoxGroup/tests/__snapshots__/sy-checkbox-group-disabled.snap.png +0 -0
- package/src/components/Customs/SyCheckBoxGroup/tests/__snapshots__/sy-checkbox-group-selected.snap.png +0 -0
- package/src/components/Customs/SyCheckBoxGroup/tests/__snapshots__/sy-checkbox-group-with-label.snap.png +0 -0
- package/src/components/Customs/SyCheckBoxGroup/types.ts +49 -0
- package/src/components/Customs/SyCheckbox/SyCheckbox.stories.ts +41 -161
- package/src/components/Customs/SyCheckbox/SyCheckbox.vue +71 -156
- package/src/components/Customs/SyCheckbox/Validation/Validation.stories.ts +654 -0
- package/src/components/Customs/SyCheckbox/composables/useSyCheckboxValidation.ts +105 -0
- package/src/components/Customs/SyCheckbox/tests/SyCheckbox.spec.ts +106 -0
- package/src/components/Customs/SyCheckbox/tests/SyCheckbox.visual.cy.ts +61 -0
- package/src/components/Customs/SyCheckbox/tests/__snapshots__/sy-checkbox-checked.snap.png +0 -0
- package/src/components/Customs/SyCheckbox/tests/__snapshots__/sy-checkbox-disabled.snap.png +0 -0
- package/src/components/Customs/SyCheckbox/tests/__snapshots__/sy-checkbox-indeterminate.snap.png +0 -0
- package/src/components/Customs/SyCheckbox/tests/__snapshots__/sy-checkbox-required.snap.png +0 -0
- package/src/components/Customs/SyCheckbox/tests/__snapshots__/sy-checkbox-unchecked.snap.png +0 -0
- package/src/components/Customs/SyCheckbox/tests/useSyCheckboxValidation.spec.ts +98 -0
- package/src/components/Customs/SyCheckbox/types.ts +51 -0
- package/src/components/Customs/SyIcon/SyIcon.vue +19 -1
- package/src/components/Customs/SyIcon/tests/SyIcon.visual.cy.ts +83 -0
- package/src/components/Customs/SyIcon/tests/__snapshots__/sy-icon-color-error.snap.png +0 -0
- package/src/components/Customs/SyIcon/tests/__snapshots__/sy-icon-decorative.snap.png +0 -0
- package/src/components/Customs/SyIcon/tests/__snapshots__/sy-icon-informative.snap.png +0 -0
- package/src/components/Customs/SyIcon/tests/__snapshots__/sy-icon-role-button.snap.png +0 -0
- package/src/components/Customs/SyIcon/tests/__snapshots__/sy-icon-size-large.snap.png +0 -0
- package/src/components/Customs/SyIconButton/tests/SyIconButton.visual.cy.ts +55 -0
- package/src/components/Customs/SyIconButton/tests/__snapshots__/sy-icon-button-default.snap.png +0 -0
- package/src/components/Customs/SyIconButton/tests/__snapshots__/sy-icon-button-disabled.snap.png +0 -0
- package/src/components/Customs/SyIconButton/tests/__snapshots__/sy-icon-button-error.snap.png +0 -0
- package/src/components/Customs/SyIconButton/tests/__snapshots__/sy-icon-button-large.snap.png +0 -0
- package/src/components/Customs/SyPagination/tests/SyPagination.visual.cy.ts +40 -0
- package/src/components/Customs/SyPagination/tests/__snapshots__/sy-pagination-first-page.snap.png +0 -0
- package/src/components/Customs/SyPagination/tests/__snapshots__/sy-pagination-middle-page.snap.png +0 -0
- package/src/components/Customs/SyPagination/tests/__snapshots__/sy-pagination-with-label.snap.png +0 -0
- package/src/components/Customs/SyRadioGroup/SyRadioGroup.stories.ts +0 -1
- package/src/components/Customs/SyRadioGroup/SyRadioGroup.vue +4 -3
- package/src/components/Customs/SyRadioGroup/composables/useSyRadioGroupValidation.ts +1 -1
- package/src/components/Customs/SyRadioGroup/tests/__snapshots__/sy-radio-group-asterisk.snap.png +0 -0
- package/src/components/Customs/SyRadioGroup/tests/__snapshots__/sy-radio-group-comfortable.snap.png +0 -0
- package/src/components/Customs/SyRadioGroup/tests/__snapshots__/sy-radio-group-compact.snap.png +0 -0
- package/src/components/Customs/SyRadioGroup/tests/__snapshots__/sy-radio-group-default.snap.png +0 -0
- package/src/components/Customs/SyRadioGroup/tests/__snapshots__/sy-radio-group-disabled.snap.png +0 -0
- package/src/components/Customs/SyRadioGroup/tests/__snapshots__/sy-radio-group-error.snap.png +0 -0
- package/src/components/Customs/SyRadioGroup/tests/__snapshots__/sy-radio-group-no-details.snap.png +0 -0
- package/src/components/Customs/SyRadioGroup/tests/__snapshots__/sy-radio-group-readonly.snap.png +0 -0
- package/src/components/Customs/SyRadioGroup/tests/__snapshots__/sy-radio-group-selected.snap.png +0 -0
- package/src/components/Customs/SyRadioGroup/tests/__snapshots__/sy-radio-group-success.snap.png +0 -0
- package/src/components/Customs/SyRadioGroup/tests/__snapshots__/sy-radio-group-warning.snap.png +0 -0
- package/src/components/Customs/SyRadioGroup/validation/Validation.stories.ts +63 -27
- package/src/components/Customs/SyTabs/tests/SyTabs.visual.cy.ts +30 -0
- package/src/components/Customs/SyTabs/tests/__snapshots__/sy-tabs-default.snap.png +0 -0
- package/src/components/Customs/SyTabs/tests/__snapshots__/sy-tabs-second-active.snap.png +0 -0
- package/src/components/Customs/SyTextField/FieldState.vue +50 -0
- package/src/components/Customs/SyTextField/SyTextField.stories.ts +160 -778
- package/src/components/Customs/SyTextField/SyTextField.vue +178 -160
- package/src/components/Customs/SyTextField/Validation/Validation.stories.ts +1164 -0
- package/src/components/Customs/SyTextField/locales.ts +12 -0
- package/src/components/Customs/SyTextField/tests/SyTextField.spec.ts +174 -8
- package/src/components/Customs/SyTextField/tests/SyTextField.visual.cy.ts +116 -0
- package/src/components/Customs/SyTextField/tests/__snapshots__/sy-text-field-clearable.snap.png +0 -0
- package/src/components/Customs/SyTextField/tests/__snapshots__/sy-text-field-default.snap.png +0 -0
- package/src/components/Customs/SyTextField/tests/__snapshots__/sy-text-field-number-disabled.snap.png +0 -0
- package/src/components/Customs/SyTextField/tests/__snapshots__/sy-text-field-number-no-spinner.snap.png +0 -0
- package/src/components/Customs/SyTextField/tests/__snapshots__/sy-text-field-number.snap.png +0 -0
- package/src/components/Customs/SyTextField/tests/__snapshots__/sy-text-field-prepend-icon.snap.png +0 -0
- package/src/components/Customs/SyTextField/tests/__snapshots__/sy-text-field-readonly.snap.png +0 -0
- package/src/components/Customs/SyTextField/tests/__snapshots__/sy-text-field-required.snap.png +0 -0
- package/src/components/Customs/SyTextField/tests/__snapshots__/sy-text-field-with-value.snap.png +0 -0
- package/src/components/Customs/SyTextField/types.ts +70 -0
- package/src/components/Customs/SyTextField/useNumberField.ts +93 -0
- package/src/components/Customs/SyTextField/useSyTextFieldValidation.ts +95 -0
- package/src/components/DataList/DataList.mdx +0 -1
- package/src/components/DataList/tests/DataList.visual.cy.ts +85 -0
- package/src/components/DataList/tests/__snapshots__/data-list-default.snap.png +0 -0
- package/src/components/DataList/tests/__snapshots__/data-list-loading.snap.png +0 -0
- package/src/components/DataList/tests/__snapshots__/data-list-row.snap.png +0 -0
- package/src/components/DataList/tests/__snapshots__/data-list-with-icons.snap.png +0 -0
- package/src/components/DataList/tests/__snapshots__/data-list-with-title.snap.png +0 -0
- package/src/components/DataListGroup/DataListGroup.mdx +0 -1
- package/src/components/DataListGroup/tests/DataListGroup.visual.cy.ts +51 -0
- package/src/components/DataListGroup/tests/__snapshots__/data-list-group-default.snap.png +0 -0
- package/src/components/DataListGroup/tests/__snapshots__/data-list-group-loading.snap.png +0 -0
- package/src/components/DataListItem/tests/DataListItem.visual.cy.ts +53 -0
- package/src/components/DataListItem/tests/__snapshots__/data-list-item-chip.snap.png +0 -0
- package/src/components/DataListItem/tests/__snapshots__/data-list-item-default.snap.png +0 -0
- package/src/components/DataListItem/tests/__snapshots__/data-list-item-placeholder.snap.png +0 -0
- package/src/components/DataListItem/tests/__snapshots__/data-list-item-row.snap.png +0 -0
- package/src/components/DatePicker/CalendarMode/DatePicker.stories.ts +1 -1
- package/src/components/DatePicker/CalendarMode/DatePicker.vue +7 -7
- package/src/components/DatePicker/ComplexDatePicker/ComplexDatePicker.stories.ts +1 -1
- package/src/components/DatePicker/ComplexDatePicker/ComplexDatePicker.vue +7 -8
- package/src/components/DatePicker/DateTextInput/DateRange.stories.ts +1 -1
- package/src/components/DatePicker/DateTextInput/DateTextInput.vue +2 -2
- package/src/components/DatePicker/DateTextInput/NoCalendar.stories.ts +1 -1
- package/src/components/DatePicker/composables/tests/useTodayButton.spec.ts +10 -10
- package/src/components/DatePicker/composables/useCalendarKeyboardNavigation.ts +11 -2
- package/src/components/DeclarationAccessibilityPage/tests/DeclarationAccessibilityPage.visual.cy.ts +35 -0
- package/src/components/DeclarationAccessibilityPage/tests/__snapshots__/declaration-a11y-page-default.snap.png +0 -0
- package/src/components/DeclarationAccessibilityPage/tests/__snapshots__/declaration-a11y-page-full.snap.png +0 -0
- package/src/components/DiacriticPicker/DiacriticPicker.mdx +0 -1
- package/src/components/DiacriticPicker/tests/DiacriticPicker.visual.cy.ts +24 -0
- package/src/components/DiacriticPicker/tests/__snapshots__/diacritic-picker-custom-title.snap.png +0 -0
- package/src/components/DiacriticPicker/tests/__snapshots__/diacritic-picker-default.snap.png +0 -0
- package/src/components/DialogBox/DialogBox.mdx +0 -1
- package/src/components/DialogBox/DialogBox.stories.ts +399 -4
- package/src/components/DialogBox/DialogBox.vue +20 -0
- package/src/components/DialogBox/locales.ts +1 -0
- package/src/components/DialogBox/tests/DialogBox.spec.ts +73 -0
- package/src/components/DialogBox/tests/DialogBox.visual.cy.ts +24 -0
- package/src/components/DialogBox/tests/__snapshots__/dialog-box-custom-texts.snap.png +0 -0
- package/src/components/DialogBox/tests/__snapshots__/dialog-box-default.snap.png +0 -0
- package/src/components/DialogBox/tests/__snapshots__/dialog-box-no-actions.snap.png +0 -0
- package/src/components/DownloadBtn/tests/DownloadBtn.spec.ts +2 -2
- package/src/components/DownloadBtn/tests/DownloadBtn.visual.cy.ts +38 -0
- package/src/components/DownloadBtn/tests/__snapshots__/download-btn-dark.snap.png +0 -0
- package/src/components/DownloadBtn/tests/__snapshots__/download-btn-idle.snap.png +0 -0
- package/src/components/ErrorPage/ErrorPage.mdx +1 -1
- package/src/components/ErrorPage/tests/ErrorPage.visual.cy.ts +32 -0
- package/src/components/ErrorPage/tests/__snapshots__/error-page-custom.snap.png +0 -0
- package/src/components/ErrorPage/tests/__snapshots__/error-page-default.snap.png +0 -0
- package/src/components/ErrorPage/tests/__snapshots__/error-page-no-btn.snap.png +0 -0
- package/src/components/ExternalLinks/ExternalLinks.mdx +0 -1
- package/src/components/ExternalLinks/tests/ExternalLinks.visual.cy.ts +30 -0
- package/src/components/ExternalLinks/tests/__snapshots__/external-links-default.snap.png +0 -0
- package/src/components/ExternalLinks/tests/__snapshots__/external-links-fixed.snap.png +0 -0
- package/src/components/FileList/FileList.mdx +0 -1
- package/src/components/FileList/tests/FileList.visual.cy.ts +31 -0
- package/src/components/FileList/tests/__snapshots__/file-list-default.snap.png +0 -0
- package/src/components/FileList/tests/__snapshots__/file-list-with-delete.snap.png +0 -0
- package/src/components/FilePreview/accessibilite/Accessibility.mdx +86 -8
- package/src/components/FileUpload/tests/FileUpload.visual.cy.ts +36 -0
- package/src/components/FileUpload/tests/__snapshots__/file-upload-default.snap.png +0 -0
- package/src/components/FileUpload/tests/__snapshots__/file-upload-disabled.snap.png +0 -0
- package/src/components/FileUpload/tests/__snapshots__/file-upload-multiple.snap.png +0 -0
- package/src/components/FilterInline/FilterInline.mdx +0 -1
- package/src/components/FilterInline/FilterInline.stories.ts +2 -0
- package/src/components/FilterInline/FilterInline.vue +10 -5
- package/src/components/FilterInline/tests/FilterInline.visual.cy.ts +25 -0
- package/src/components/FilterInline/tests/__snapshots__/filter-inline-default.snap.png +0 -0
- package/src/components/FilterSideBar/FilterSideBar.mdx +8 -1
- package/src/components/FilterSideBar/FilterSideBar.stories.ts +136 -1
- package/src/components/FilterSideBar/FilterSideBar.vue +30 -8
- package/src/components/FilterSideBar/tests/FilterSideBar.spec.ts +55 -0
- package/src/components/FilterSideBar/tests/FilterSideBar.visual.cy.ts +37 -0
- package/src/components/FilterSideBar/tests/__snapshots__/filter-sidebar-default.snap.png +0 -0
- package/src/components/FilterSideBar/tests/__snapshots__/filter-sidebar-modale.snap.png +0 -0
- package/src/components/FooterBar/FooterBar.mdx +0 -1
- package/src/components/FooterBar/tests/FooterBar.visual.cy.ts +37 -0
- package/src/components/FooterBar/tests/__snapshots__/footer-bar-default.snap.png +0 -0
- package/src/components/FooterBar/tests/__snapshots__/footer-bar-no-logo.snap.png +0 -0
- package/src/components/FooterBar/tests/__snapshots__/footer-bar-no-social.snap.png +0 -0
- package/src/components/FooterBar/tests/__snapshots__/footer-bar-version.snap.png +0 -0
- package/src/components/FranceConnectBtn/FranceConnectBtn.mdx +0 -1
- package/src/components/FranceConnectBtn/tests/FranceConnectBtn.visual.cy.ts +38 -0
- package/src/components/FranceConnectBtn/tests/__snapshots__/france-connect-btn-dark.snap.png +0 -0
- package/src/components/FranceConnectBtn/tests/__snapshots__/france-connect-btn-default.snap.png +0 -0
- package/src/components/FranceConnectBtn/tests/__snapshots__/france-connect-btn-plus.snap.png +0 -0
- package/src/components/HeaderBar/HeaderBar.mdx +0 -1
- package/src/components/HeaderBar/HeaderBurgerMenu/tests/HeaderBurgerMenu.spec.ts +4 -4
- package/src/components/HeaderBar/HeaderBurgerMenu/tests/__snapshots__/header-burger-menu-generated-submenu-open.snap.png +0 -0
- package/src/components/HeaderBar/HeaderBurgerMenu/tests/__snapshots__/header-burger-menu-generated.snap.png +0 -0
- package/src/components/HeaderBar/tests/__snapshots__/header-bar-custom-width.snap.png +0 -0
- package/src/components/HeaderBar/tests/__snapshots__/header-bar-default.snap.png +0 -0
- package/src/components/HeaderBar/tests/__snapshots__/header-bar-no-sticky.snap.png +0 -0
- package/src/components/HeaderBar/tests/__snapshots__/header-bar-with-prepend.snap.png +0 -0
- package/src/components/HeaderBar/tests/__snapshots__/header-bar-with-side.snap.png +0 -0
- package/src/components/HeaderBar/tests/__snapshots__/header-bar-with-subtitle.snap.png +0 -0
- package/src/components/HeaderLoading/HeaderLoading.mdx +0 -1
- package/src/components/HeaderLoading/tests/HeaderLoading.visual.cy.ts +34 -0
- package/src/components/HeaderLoading/tests/__snapshots__/header-loading-custom-size.snap.png +0 -0
- package/src/components/HeaderLoading/tests/__snapshots__/header-loading-default.snap.png +0 -0
- package/src/components/HeaderLoading/tests/__snapshots__/header-loading-standalone.snap.png +0 -0
- package/src/components/HeaderNavigationBar/tests/HeaderNavigationBar.spec.ts +4 -4
- package/src/components/HeaderNavigationBar/tests/HeaderNavigationBar.visual.cy.ts +34 -0
- package/src/components/HeaderNavigationBar/tests/__snapshots__/header-navigation-bar-default.snap.png +0 -0
- package/src/components/HeaderNavigationBar/tests/__snapshots__/header-navigation-bar-subtitle.snap.png +0 -0
- package/src/components/HeaderToolbar/tests/HeaderToolbar.visual.cy.ts +25 -0
- package/src/components/HeaderToolbar/tests/__snapshots__/header-toolbar-custom.snap.png +0 -0
- package/src/components/HeaderToolbar/tests/__snapshots__/header-toolbar-default.snap.png +0 -0
- package/src/components/LangBtn/LangBtn.mdx +0 -1
- package/src/components/LangBtn/tests/LangBtn.visual.cy.ts +33 -0
- package/src/components/LangBtn/tests/__snapshots__/lang-btn-default.snap.png +0 -0
- package/src/components/LangBtn/tests/__snapshots__/lang-btn-english.snap.png +0 -0
- package/src/components/LangBtn/tests/__snapshots__/lang-btn-no-arrow.snap.png +0 -0
- package/src/components/Logo/Logo.mdx +1 -1
- package/src/components/Logo/tests/__snapshots__/logo-avatar.snap.png +0 -0
- package/src/components/Logo/tests/__snapshots__/logo-dark.snap.png +0 -0
- package/src/components/Logo/tests/__snapshots__/logo-default.snap.png +0 -0
- package/src/components/Logo/tests/__snapshots__/logo-no-organism.snap.png +0 -0
- package/src/components/Logo/tests/__snapshots__/logo-no-signature.snap.png +0 -0
- package/src/components/Logo/tests/__snapshots__/logo-risque-pro.snap.png +0 -0
- package/src/components/LogoBrandSection/tests/LogoBrandSection.visual.cy.ts +43 -0
- package/src/components/LogoBrandSection/tests/__snapshots__/logo-brand-section-default.snap.png +0 -0
- package/src/components/LogoBrandSection/tests/__snapshots__/logo-brand-section-mobile.snap.png +0 -0
- package/src/components/LogoBrandSection/tests/__snapshots__/logo-brand-section-reduced.snap.png +0 -0
- package/src/components/LogoBrandSection/tests/__snapshots__/logo-brand-section-with-title.snap.png +0 -0
- package/src/components/LunarCalendar/LunarCalendar.mdx +6 -9
- package/src/components/LunarCalendar/LunarCalendar.stories.ts +243 -46
- package/src/components/LunarCalendar/LunarCalendar.vue +61 -26
- package/src/components/LunarCalendar/Validation/Validation.stories.ts +717 -0
- package/src/components/LunarCalendar/tests/LunarCalendar.a11y.spec.ts +1 -1
- package/src/components/LunarCalendar/tests/LunarCalendar.spec.ts +197 -6
- package/src/components/LunarCalendar/tests/LunarCalendar.visual.cy.ts +36 -0
- package/src/components/LunarCalendar/tests/__snapshots__/lunar-calendar-default.snap.png +0 -0
- package/src/components/LunarCalendar/tests/__snapshots__/lunar-calendar-required.snap.png +0 -0
- package/src/components/LunarCalendar/tests/__snapshots__/lunar-calendar-with-value.snap.png +0 -0
- package/src/components/LunarCalendar/tests/useLunarCalendarValidation.spec.ts +287 -0
- package/src/components/LunarCalendar/types.ts +39 -0
- package/src/components/LunarCalendar/useLunarCalendarValidation.ts +115 -39
- package/src/components/MaintenancePage/tests/MaintenancePage.visual.cy.ts +22 -0
- package/src/components/MaintenancePage/tests/__snapshots__/maintenance-page-custom.snap.png +0 -0
- package/src/components/MaintenancePage/tests/__snapshots__/maintenance-page-default.snap.png +0 -0
- package/src/components/MonthPicker/MonthPicker.stories.ts +38 -281
- package/src/components/MonthPicker/MonthPicker.vue +66 -17
- package/src/components/MonthPicker/MonthPickerText/MonthPickerInput.vue +44 -20
- package/src/components/MonthPicker/MonthPickerText/useTextField.ts +5 -0
- package/src/components/MonthPicker/Validation/Validation.stories.ts +1117 -0
- package/src/components/MonthPicker/locales.ts +1 -0
- package/src/components/MonthPicker/tests/MonthPicker.spec.ts +353 -2
- package/src/components/MonthPicker/tests/MonthPicker.visual.cy.ts +37 -0
- package/src/components/MonthPicker/tests/__snapshots__/MonthPicker.spec.ts.snap +14 -8
- package/src/components/MonthPicker/tests/__snapshots__/month-picker-default.snap.png +0 -0
- package/src/components/MonthPicker/tests/__snapshots__/month-picker-disabled.snap.png +0 -0
- package/src/components/MonthPicker/tests/__snapshots__/month-picker-readonly.snap.png +0 -0
- package/src/components/MonthPicker/tests/__snapshots__/month-picker-with-value.snap.png +0 -0
- package/src/components/MonthPicker/types.ts +16 -0
- package/src/components/MonthPicker/useMonthPickerValidation.ts +64 -27
- package/src/components/NirField/NirField.mdx +120 -66
- package/src/components/NirField/NirField.stories.ts +256 -682
- package/src/components/NirField/NirField.vue +98 -32
- package/src/components/NirField/tests/NirField.spec.ts +135 -14
- package/src/components/NirField/tests/NirField.visual.cy.ts +28 -0
- package/src/components/NirField/tests/__snapshots__/nir-field-complex.snap.png +0 -0
- package/src/components/NirField/tests/__snapshots__/nir-field-default.snap.png +0 -0
- package/src/components/NirField/tests/__snapshots__/nir-field-with-key.snap.png +0 -0
- package/src/components/NirField/tests/useNirValidation.spec.ts +168 -0
- package/src/components/NirField/useNirValidation.ts +44 -19
- package/src/components/NirField/validation/Validation.stories.ts +866 -0
- package/src/components/NotFoundPage/tests/NotFoundPage.visual.cy.ts +28 -0
- package/src/components/NotFoundPage/tests/__snapshots__/NotFoundPage.spec.ts.snap +263 -245
- package/src/components/NotFoundPage/tests/__snapshots__/not-found-page-custom-btn.snap.png +0 -0
- package/src/components/NotFoundPage/tests/__snapshots__/not-found-page-default.snap.png +0 -0
- package/src/components/NotFoundPage/tests/__snapshots__/not-found-page-no-btn.snap.png +0 -0
- package/src/components/NotificationBar/NotificationBar.mdx +0 -1
- package/src/components/NotificationBar/tests/NotificationBar.visual.cy.ts +54 -0
- package/src/components/NotificationBar/tests/__snapshots__/notification-bar-bottom.snap.png +0 -0
- package/src/components/NotificationBar/tests/__snapshots__/notification-bar-info.snap.png +0 -0
- package/src/components/NotificationBar/tests/__snapshots__/notification-bar-multiple.snap.png +0 -0
- package/src/components/PageContainer/PageContainer.mdx +0 -1
- package/src/components/PageContainer/PageContainer.stories.ts +170 -2
- package/src/components/PageContainer/PageContainer.vue +63 -8
- package/src/components/PageContainer/tests/PageContainer.visual.cy.ts +33 -0
- package/src/components/PageContainer/tests/__snapshots__/PageContainer.spec.ts.snap +19 -11
- package/src/components/PageContainer/tests/__snapshots__/page-container-color.snap.png +0 -0
- package/src/components/PageContainer/tests/__snapshots__/page-container-default.snap.png +0 -0
- package/src/components/PageContainer/tests/__snapshots__/page-container-md.snap.png +0 -0
- package/src/components/PaginatedTable/PaginatedTable.mdx +0 -1
- package/src/components/PaginatedTable/accessibilite/Accessibility.mdx +99 -7
- package/src/components/PaginatedTable/tests/PaginatedTable.visual.cy.ts +41 -0
- package/src/components/PaginatedTable/tests/__snapshots__/paginated-table-default.snap.png +0 -0
- package/src/components/PaginatedTable/tests/__snapshots__/paginated-table-server.snap.png +0 -0
- package/src/components/PasswordField/PasswordField.mdx +5 -52
- package/src/components/PasswordField/PasswordField.stories.ts +74 -931
- package/src/components/PasswordField/PasswordField.vue +120 -191
- package/src/components/PasswordField/Validation/Validation.stories.ts +1295 -0
- package/src/components/PasswordField/locales.ts +2 -0
- package/src/components/PasswordField/tests/PasswordField.spec.ts +144 -106
- package/src/components/PasswordField/tests/PasswordField.visual.cy.ts +49 -0
- package/src/components/PasswordField/tests/__snapshots__/password-field-default.snap.png +0 -0
- package/src/components/PasswordField/tests/__snapshots__/password-field-disabled.snap.png +0 -0
- package/src/components/PasswordField/tests/__snapshots__/password-field-required.snap.png +0 -0
- package/src/components/PasswordField/tests/__snapshots__/password-field-underlined.snap.png +0 -0
- package/src/components/PasswordField/types.ts +17 -0
- package/src/components/PasswordField/usePasswordFieldValidation.ts +100 -0
- package/src/components/PeriodField/PeriodField.mdx +0 -1
- package/src/components/PeriodField/PeriodField.stories.ts +3 -1
- package/src/components/PeriodField/PeriodField.vue +1 -1
- package/src/components/PeriodField/tests/PeriodField.visual.cy.ts +39 -0
- package/src/components/PeriodField/tests/__snapshots__/period-field-default.snap.png +0 -0
- package/src/components/PeriodField/tests/__snapshots__/period-field-no-calendar.snap.png +0 -0
- package/src/components/PeriodField/tests/__snapshots__/period-field-required.snap.png +0 -0
- package/src/components/PeriodField/tests/__snapshots__/period-field-with-value.snap.png +0 -0
- package/src/components/PhoneField/PhoneField.mdx +2 -3
- package/src/components/PhoneField/PhoneField.stories.ts +227 -410
- package/src/components/PhoneField/PhoneField.vue +205 -439
- package/src/components/PhoneField/indicatifs.ts +1 -1
- package/src/components/PhoneField/locales.ts +7 -0
- package/src/components/PhoneField/tests/PhoneField.a11y.spec.ts +0 -1
- package/src/components/PhoneField/tests/PhoneField.spec.ts +518 -220
- package/src/components/PhoneField/tests/PhoneField.visual.cy.ts +28 -0
- package/src/components/PhoneField/tests/__snapshots__/phone-field-default.snap.png +0 -0
- package/src/components/PhoneField/tests/__snapshots__/phone-field-with-country-code.snap.png +0 -0
- package/src/components/PhoneField/tests/__snapshots__/phone-field-with-value.snap.png +0 -0
- package/src/components/PhoneField/types.ts +30 -0
- package/src/components/PhoneField/usePhoneFieldValidation.ts +119 -0
- package/src/components/PhoneField/usePhoneIndicatifs.ts +89 -0
- package/src/components/PhoneField/validation/validation.stories.ts +717 -0
- package/src/components/RangeField/RangeField.mdx +0 -1
- package/src/components/RangeField/tests/__snapshots__/range-field-custom-bg.snap.png +0 -0
- package/src/components/RangeField/tests/__snapshots__/range-field-custom-range.snap.png +0 -0
- package/src/components/RangeField/tests/__snapshots__/range-field-default.snap.png +0 -0
- package/src/components/RangeField/tests/__snapshots__/range-field-step.snap.png +0 -0
- package/src/components/RangeField/tests/__snapshots__/range-field-with-label.snap.png +0 -0
- package/src/components/RatingPicker/RatingPicker.mdx +0 -1
- package/src/components/RatingPicker/tests/RatingPicker.visual.cy.ts +52 -0
- package/src/components/RatingPicker/tests/__snapshots__/rating-picker-emotion.snap.png +0 -0
- package/src/components/RatingPicker/tests/__snapshots__/rating-picker-number.snap.png +0 -0
- package/src/components/RatingPicker/tests/__snapshots__/rating-picker-readonly.snap.png +0 -0
- package/src/components/RatingPicker/tests/__snapshots__/rating-picker-stars.snap.png +0 -0
- package/src/components/SearchListField/SearchListField.mdx +1 -1
- package/src/components/SearchListField/SearchListField.stories.ts +1 -1
- package/src/components/SearchListField/SearchListField.vue +9 -4
- package/src/components/SearchListField/tests/SearchListField.spec.ts +127 -0
- package/src/components/SearchListField/tests/SearchListField.visual.cy.ts +35 -0
- package/src/components/SearchListField/tests/__snapshots__/search-list-field-default.snap.png +0 -0
- package/src/components/SearchListField/tests/__snapshots__/search-list-field-with-selection.snap.png +0 -0
- package/src/components/SkipLink/tests/SkipLink.visual.cy.ts +16 -0
- package/src/components/SkipLink/tests/__snapshots__/skip-link-focused.snap.png +0 -0
- package/src/components/SocialMediaLinks/SocialMediaLinks.mdx +0 -1
- package/src/components/SocialMediaLinks/tests/SocialMediaLinks.visual.cy.ts +33 -0
- package/src/components/SocialMediaLinks/tests/__snapshots__/social-media-links-default.snap.png +0 -0
- package/src/components/SocialMediaLinks/tests/__snapshots__/social-media-links-no-native-heading.snap.png +0 -0
- package/src/components/StatusPage/StatusPage.vue +1 -0
- package/src/components/StatusPage/tests/StatusPage.visual.cy.ts +47 -0
- package/src/components/StatusPage/tests/__snapshots__/StatusPage.spec.ts.snap +248 -230
- package/src/components/StatusPage/tests/__snapshots__/status-page-default.snap.png +0 -0
- package/src/components/StatusPage/tests/__snapshots__/status-page-full.snap.png +0 -0
- package/src/components/StatusPage/tests/__snapshots__/status-page-no-btn.snap.png +0 -0
- package/src/components/SubHeader/SubHeader.mdx +5 -6
- package/src/components/SubHeader/tests/SubHeader.visual.cy.ts +48 -0
- package/src/components/SubHeader/tests/__snapshots__/sub-header-default.snap.png +0 -0
- package/src/components/SubHeader/tests/__snapshots__/sub-header-loading.snap.png +0 -0
- package/src/components/SubHeader/tests/__snapshots__/sub-header-no-back-btn.snap.png +0 -0
- package/src/components/SubHeader/tests/__snapshots__/sub-header-with-subtitle.snap.png +0 -0
- package/src/components/SyAlert/tests/__snapshots__/sy-alert-closable.snap.png +0 -0
- package/src/components/SyAlert/tests/__snapshots__/sy-alert-error.snap.png +0 -0
- package/src/components/SyAlert/tests/__snapshots__/sy-alert-info.snap.png +0 -0
- package/src/components/SyAlert/tests/__snapshots__/sy-alert-success.snap.png +0 -0
- package/src/components/SyAlert/tests/__snapshots__/sy-alert-variant-outlined.snap.png +0 -0
- package/src/components/SyAlert/tests/__snapshots__/sy-alert-variant-tonal.snap.png +0 -0
- package/src/components/SyAlert/tests/__snapshots__/sy-alert-warning.snap.png +0 -0
- package/src/components/SyHeading/tests/SyHeading.visual.cy.ts +33 -0
- package/src/components/SyHeading/tests/__snapshots__/sy-heading-level-1.snap.png +0 -0
- package/src/components/SyHeading/tests/__snapshots__/sy-heading-level-2.snap.png +0 -0
- package/src/components/SyHeading/tests/__snapshots__/sy-heading-level-3.snap.png +0 -0
- package/src/components/SyTextArea/SyTextArea.stories.ts +25 -0
- package/src/components/SyTextArea/SyTextArea.vue +7 -0
- package/src/components/SyTextArea/composables/useSyTextAreaValidation.ts +1 -1
- package/src/components/SyTextArea/tests/SyTextArea.a11y.spec.ts +18 -0
- package/src/components/SyTextArea/tests/SyTextArea.spec.ts +135 -1
- package/src/components/SyTextArea/tests/SyTextArea.visual.cy.ts +48 -0
- package/src/components/SyTextArea/tests/__snapshots__/sy-textarea-default.snap.png +0 -0
- package/src/components/SyTextArea/tests/__snapshots__/sy-textarea-filled.snap.png +0 -0
- package/src/components/SyTextArea/tests/__snapshots__/sy-textarea-required.snap.png +0 -0
- package/src/components/SyTextArea/tests/__snapshots__/sy-textarea-with-value.snap.png +0 -0
- package/src/components/SyTextArea/validation/Validation.stories.ts +6 -86
- package/src/components/TableToolbar/tests/TableToolbar.visual.cy.ts +49 -0
- package/src/components/TableToolbar/tests/__snapshots__/table-toolbar-default.snap.png +0 -0
- package/src/components/TableToolbar/tests/__snapshots__/table-toolbar-filtered.snap.png +0 -0
- package/src/components/TableToolbar/tests/__snapshots__/table-toolbar-loading.snap.png +0 -0
- package/src/components/TableToolbar/tests/__snapshots__/table-toolbar-with-add-btn.snap.png +0 -0
- package/src/components/Tables/SyServerTable/SyServerTable.vue +3 -3
- package/src/components/Tables/SyServerTable/accessibilite/Accessibility.mdx +114 -7
- package/src/components/Tables/SyServerTable/tests/SyServerTable.visual.cy.ts +58 -0
- package/src/components/Tables/SyServerTable/tests/__snapshots__/sy-server-table-default.snap.png +0 -0
- package/src/components/Tables/SyServerTable/tests/__snapshots__/sy-server-table-loading.snap.png +0 -0
- package/src/components/Tables/SyServerTable/tests/__snapshots__/sy-server-table-with-select.snap.png +0 -0
- package/src/components/Tables/SyTable/accessibilite/Accessibility.mdx +116 -7
- package/src/components/Tables/SyTable/tests/SyTable.visual.cy.ts +70 -0
- package/src/components/Tables/SyTable/tests/__snapshots__/sy-table-compact.snap.png +0 -0
- package/src/components/Tables/SyTable/tests/__snapshots__/sy-table-default.snap.png +0 -0
- package/src/components/Tables/SyTable/tests/__snapshots__/sy-table-striped.snap.png +0 -0
- package/src/components/Tables/SyTable/tests/__snapshots__/sy-table-with-select.snap.png +0 -0
- package/src/components/Tables/common/tableStyles.scss +4 -4
- package/src/components/Tables/common/tests/SyTableFilter.spec.ts +19 -13
- package/src/components/Tables/common/tests/filterByRange.spec.ts +23 -22
- package/src/components/ToolbarContainer/tests/ToolbarContainer.visual.cy.ts +34 -0
- package/src/components/ToolbarContainer/tests/__snapshots__/toolbar-container-default.snap.png +0 -0
- package/src/components/ToolbarContainer/tests/__snapshots__/toolbar-container-links.snap.png +0 -0
- package/src/components/UploadWorkflow/UploadWorkflow.mdx +0 -1
- package/src/components/UploadWorkflow/tests/UploadWorkflow.spec.ts +1 -2
- package/src/components/UploadWorkflow/tests/UploadWorkflow.visual.cy.ts +39 -0
- package/src/components/UploadWorkflow/tests/__snapshots__/upload-workflow-default.snap.png +0 -0
- package/src/components/UploadWorkflow/tests/__snapshots__/upload-workflow-with-title.snap.png +0 -0
- package/src/components/UserMenuBtn/UserMenuBtn.mdx +0 -1
- package/src/components/UserMenuBtn/UserMenuBtn.stories.ts +177 -0
- package/src/components/UserMenuBtn/tests/UserMenuBtn.visual.cy.ts +42 -0
- package/src/components/UserMenuBtn/tests/__snapshots__/user-menu-btn-default.snap.png +0 -0
- package/src/components/UserMenuBtn/tests/__snapshots__/user-menu-btn-no-logout.snap.png +0 -0
- package/src/components/UserMenuBtn/tests/__snapshots__/user-menu-btn-with-name.snap.png +0 -0
- package/src/composables/unifyValidation/documentationValidationProps.ts +2 -2
- package/src/composables/unifyValidation/tests/documentationValidationProps.spec.ts +2 -2
- package/src/composables/unifyValidation/tests/useValidation.spec.ts +13 -1
- package/src/composables/unifyValidation/useValidation.ts +41 -31
- package/src/composables/useFilterable/useFilterable.spec.ts +105 -142
- package/src/composables/useFilterable/useFilterable.ts +6 -17
- package/src/composables/useFormFieldErrorHandling.ts +1 -1
- package/src/composables/validation/tests/useFormValidation.spec.ts +11 -2
- package/src/composables/validation/tests/useValidatable.spec.ts +16 -6
- package/src/composables/validation/tests/useValidation.spec.ts +2 -2
- package/src/composables/validation/useValidation.ts +1 -1
- package/src/composantsVuetify/VCard/VCard.mdx +12 -0
- package/src/composantsVuetify/VCard/v-card.stories.ts +283 -1
- package/src/composantsVuetify/VCarousel/VCarousel.mdx +74 -0
- package/src/composantsVuetify/VCarousel/v-carousel.stories.ts +531 -0
- package/src/composantsVuetify/VNavigationDrawer/VNavgationDrawer.mdx +53 -0
- package/src/composantsVuetify/VNavigationDrawer/v-navigation-drawer.stories.ts +310 -0
- package/src/composantsVuetify/VSlideGroup/VSlideGroup.mdx +105 -0
- package/src/composantsVuetify/VSlideGroup/v-slide-group.stories.ts +463 -0
- package/src/composantsVuetify/VStepper/VStepper.mdx +56 -0
- package/src/composantsVuetify/VStepper/v-stepper.stories.ts +563 -0
- package/src/designTokens/tokens/amelipro/apLightTheme.ts +1 -0
- package/src/designTokens/tokens/amelipro/apSemantic.ts +1 -1
- package/src/designTokens/tokens/baseColors.ts +1 -1
- package/src/designTokens/tokens/baseTokens.ts +18 -18
- package/src/designTokens/tokens/pa/paLightTheme.ts +1 -0
- package/src/stories/Accessibilite/DesignSystem/a11y-status.json +1 -1
- package/src/stories/Components/Components.stories.ts +95 -11
- package/src/stories/Demarrer/Releases.stories.ts +59 -2
- package/src/stories/DesignTokens/Arrondis.mdx +1 -1
- package/src/stories/DesignTokens/Colors.mdx +2 -0
- package/src/stories/DesignTokens/Correspondances.mdx +219 -0
- package/src/stories/DesignTokens/UtiliserLesTokens.mdx +235 -0
- package/src/stories/DesignTokens/colors.stories.ts +582 -569
- package/src/stories/EcoConception/EcoBestPracticesDoc.vue +930 -0
- package/src/stories/EcoConception/EcoBestPratices.mdx +38 -0
- package/src/stories/EcoConception/Introduction.mdx +8 -1
- package/src/stories/EcoConception/datas/bonnes_pratiques_essentielles.json +1018 -0
- package/src/stories/EcoConception/ecoconception-best-practices.stories.ts +20 -0
- package/src/stories/GuideDuDev/Amelipro.mdx +9 -1
- package/src/stories/GuideDuDev/Amelipro.stories.ts +1023 -168
- package/src/stories/GuideDuDev/PortailAgent.stories.ts +0 -1
- package/src/utils/functions/deepCopy/index.ts +2 -3
- package/dist/components/Customs/SyCheckbox/locales.d.ts +0 -3
- package/dist/components/LunarCalendar/useLunarCalendarRules.d.ts +0 -5
- package/dist/components/PhoneField/tests/types.d.ts +0 -18
- package/dist/components/SyHeading/SyHeading.a11y.test.d.ts +0 -1
- package/dist/components/SyHeading/SyHeading.test.d.ts +0 -1
- package/src/components/Customs/SyCheckbox/locales.ts +0 -3
- package/src/components/Customs/SyTextField/types.d.ts +0 -4
- package/src/components/LunarCalendar/tests/useLunarCalendarRules.spec.ts +0 -184
- package/src/components/LunarCalendar/useLunarCalendarRules.ts +0 -96
- package/src/components/PhoneField/tests/types.d.ts +0 -19
|
@@ -8,6 +8,7 @@ import { apColorsTokens2026 } from '@/designTokens/tokens/amelipro/apColors2026'
|
|
|
8
8
|
import { apColorsTokens } from '@/designTokens/tokens/amelipro/apColors'
|
|
9
9
|
import ColorDisplay from './ColorDisplay.vue'
|
|
10
10
|
import ColorIntegrationExample from './ColorIntegrationExample.vue'
|
|
11
|
+
import SyAlert from '@/components/SyAlert/SyAlert.vue'
|
|
11
12
|
import { h } from 'vue'
|
|
12
13
|
import { useTheme } from 'vuetify'
|
|
13
14
|
import type { StoryObj } from '@storybook/vue3'
|
|
@@ -57,6 +58,18 @@ export default {
|
|
|
57
58
|
|
|
58
59
|
type ThemeKey = 'cnam' | 'pa' | 'ap' | 'ap2026'
|
|
59
60
|
|
|
61
|
+
export const TokenOptimisationWarning: StoryObj = {
|
|
62
|
+
render: () => ({
|
|
63
|
+
components: { SyAlert },
|
|
64
|
+
template: `
|
|
65
|
+
<SyAlert type="warning" style="margin-bottom: 25px;">
|
|
66
|
+
Suite à l'ajout du thème Amelipro dans Synapse, nous avons dû procéder à une simplification et optimisation des tokens.
|
|
67
|
+
</SyAlert>
|
|
68
|
+
`,
|
|
69
|
+
}),
|
|
70
|
+
tags: ['!dev'],
|
|
71
|
+
}
|
|
72
|
+
|
|
60
73
|
export const Theme: StoryObj = {
|
|
61
74
|
render: () => {
|
|
62
75
|
return {
|
|
@@ -108,17 +121,17 @@ export const mainColors: StoryObj = {
|
|
|
108
121
|
const colorTitleLevel = 3
|
|
109
122
|
const colorDescription = 'Fond et texte (sous condition de contraste) un texte pourrait être en : On-surface ou On-surface variant ...'
|
|
110
123
|
const cnamColors = {
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
124
|
+
primary: cnamLightTheme.primary,
|
|
125
|
+
primaryVariant: cnamLightTheme.primaryVariant,
|
|
126
|
+
secondary: cnamLightTheme.secondary,
|
|
127
|
+
secondaryVariant: cnamLightTheme.secondaryVariant,
|
|
128
|
+
risquePro: cnamLightTheme.risquePro,
|
|
116
129
|
}
|
|
117
130
|
const paColors = {
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
131
|
+
primary: paLightTheme.primary,
|
|
132
|
+
primaryVariant: paLightTheme.primaryVariant,
|
|
133
|
+
secondary: paLightTheme.secondary,
|
|
134
|
+
secondaryVariant: paLightTheme.secondaryVariant,
|
|
122
135
|
}
|
|
123
136
|
const apColors2026 = {
|
|
124
137
|
primary: apLightTheme2026.primary,
|
|
@@ -129,10 +142,10 @@ export const mainColors: StoryObj = {
|
|
|
129
142
|
warning: apLightTheme2026.warning,
|
|
130
143
|
}
|
|
131
144
|
const apColors = {
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
145
|
+
primary: apLightTheme.primary,
|
|
146
|
+
primaryVariant: apLightTheme.primaryVariant,
|
|
147
|
+
secondary: apLightTheme.secondary,
|
|
148
|
+
secondaryVariant: apLightTheme.secondaryVariant,
|
|
136
149
|
}
|
|
137
150
|
return {
|
|
138
151
|
cnamColors,
|
|
@@ -171,22 +184,22 @@ export const ColorOn: StoryObj = {
|
|
|
171
184
|
const colorTitleLevel = 3
|
|
172
185
|
const colorDescription = 'Texte/icône sur fond'
|
|
173
186
|
const cnamColors = {
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
187
|
+
onPrimary: cnamLightTheme.onPrimary,
|
|
188
|
+
onPrimaryVariant: cnamLightTheme.onPrimaryVariant,
|
|
189
|
+
onSecondary: cnamLightTheme.onSecondary,
|
|
190
|
+
onSecondaryVariant: cnamLightTheme.onSecondaryVariant,
|
|
178
191
|
}
|
|
179
192
|
const paColors = {
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
193
|
+
onPrimary: paLightTheme.onPrimary,
|
|
194
|
+
onPrimaryVariant: paLightTheme.onPrimaryVariant,
|
|
195
|
+
onSecondary: paLightTheme.onSecondary,
|
|
196
|
+
onSecondaryVariant: paLightTheme.onSecondaryVariant,
|
|
184
197
|
}
|
|
185
198
|
const apColors = {
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
199
|
+
onPrimary: apLightTheme.onPrimary,
|
|
200
|
+
onPrimaryVariant: apLightTheme.onPrimaryVariant,
|
|
201
|
+
onSecondary: apLightTheme.onSecondary,
|
|
202
|
+
onSecondaryVariant: apLightTheme.onSecondaryVariant,
|
|
190
203
|
}
|
|
191
204
|
const apColors2026 = {}
|
|
192
205
|
return {
|
|
@@ -227,40 +240,40 @@ export const Interaction: StoryObj = {
|
|
|
227
240
|
const displayEmptyColors = false
|
|
228
241
|
const colorTitleLevel = 3
|
|
229
242
|
const cnamColors = {
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
243
|
+
interactionLightenEnabled: cnamLightTheme.interactionLightenEnabled,
|
|
244
|
+
interactionLightenHover: cnamLightTheme.interactionLightenHover,
|
|
245
|
+
interactionLightenSelected: cnamLightTheme.interactionLightenSelected,
|
|
246
|
+
interactionLightenPressed: cnamLightTheme.interactionLightenPressed,
|
|
247
|
+
interactionDarkEnabled: cnamLightTheme.interactionDarkEnabled,
|
|
248
|
+
interactionDarkHover: cnamLightTheme.interactionDarkHover,
|
|
249
|
+
interactionDarkPressed: cnamLightTheme.interactionDarkPressed,
|
|
250
|
+
interactionDarkenEnabled: cnamLightTheme.interactionDarkenEnabled,
|
|
251
|
+
interactionDarkenHover: cnamLightTheme.interactionDarkenHover,
|
|
252
|
+
interactionDarkenPressed: cnamLightTheme.interactionDarkenPressed,
|
|
240
253
|
}
|
|
241
254
|
const paColors = {
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
255
|
+
interactionLightenEnabled: paLightTheme.interactionLightenEnabled,
|
|
256
|
+
interactionLightenHover: paLightTheme.interactionLightenHover,
|
|
257
|
+
interactionLightenSelected: paLightTheme.interactionLightenSelected,
|
|
258
|
+
interactionLightenPressed: paLightTheme.interactionLightenPressed,
|
|
259
|
+
interactionDarkEnabled: paLightTheme.interactionDarkEnabled,
|
|
260
|
+
interactionDarkHover: paLightTheme.interactionDarkHover,
|
|
261
|
+
interactionDarkPressed: paLightTheme.interactionDarkPressed,
|
|
262
|
+
interactionDarkenEnabled: paLightTheme.interactionDarkenEnabled,
|
|
263
|
+
interactionDarkenHover: paLightTheme.interactionDarkenHover,
|
|
264
|
+
interactionDarkenPressed: paLightTheme.interactionDarkenPressed,
|
|
252
265
|
}
|
|
253
266
|
const apColors = {
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
267
|
+
interactionLightenEnabled: apLightTheme.interactionLightenEnabled,
|
|
268
|
+
interactionLightenHover: apLightTheme.interactionLightenHover,
|
|
269
|
+
interactionLightenSelected: apLightTheme.interactionLightenSelected,
|
|
270
|
+
interactionLightenPressed: apLightTheme.interactionLightenPressed,
|
|
271
|
+
interactionDarkEnabled: apLightTheme.interactionDarkEnabled,
|
|
272
|
+
interactionDarkHover: apLightTheme.interactionDarkHover,
|
|
273
|
+
interactionDarkPressed: apLightTheme.interactionDarkPressed,
|
|
274
|
+
interactionDarkenEnabled: apLightTheme.interactionDarkenEnabled,
|
|
275
|
+
interactionDarkenHover: apLightTheme.interactionDarkenHover,
|
|
276
|
+
interactionDarkenPressed: apLightTheme.interactionDarkenPressed,
|
|
264
277
|
}
|
|
265
278
|
const apColors2026 = {}
|
|
266
279
|
return {
|
|
@@ -356,18 +369,18 @@ export const Backgrounds: StoryObj = {
|
|
|
356
369
|
const colorDescription = 'backgrounds principaux de la plateforme'
|
|
357
370
|
const colorTitleLevel = 3
|
|
358
371
|
const cnamColors = {
|
|
359
|
-
|
|
360
|
-
|
|
372
|
+
background: cnamLightTheme.background,
|
|
373
|
+
backgroundVariant: cnamLightTheme.backgroundVariant,
|
|
361
374
|
}
|
|
362
375
|
const paColors = {
|
|
363
|
-
|
|
364
|
-
|
|
376
|
+
background: paLightTheme.background,
|
|
377
|
+
backgroundVariant: paLightTheme.backgroundVariant,
|
|
365
378
|
}
|
|
366
379
|
const apColors = {
|
|
367
|
-
|
|
368
|
-
|
|
380
|
+
background: apLightTheme.background,
|
|
381
|
+
backgroundVariant: apLightTheme.backgroundVariant,
|
|
369
382
|
}
|
|
370
|
-
const apColors2026 = { '
|
|
383
|
+
const apColors2026 = { 'apGrey-lighten6': apColorsTokens2026.apGrey.lighten6 }
|
|
371
384
|
return {
|
|
372
385
|
cnamColors,
|
|
373
386
|
paColors,
|
|
@@ -404,16 +417,16 @@ export const OnBackgrounds: StoryObj = {
|
|
|
404
417
|
const colorDescription = 'Texte/icône sur fond'
|
|
405
418
|
const colorTitleLevel = 3
|
|
406
419
|
const cnamColors = {
|
|
407
|
-
|
|
408
|
-
|
|
420
|
+
onBackground: cnamLightTheme.onBackground,
|
|
421
|
+
onBackgroundVariant: cnamLightTheme.onBackgroundVariant,
|
|
409
422
|
}
|
|
410
423
|
const paColors = {
|
|
411
|
-
|
|
412
|
-
|
|
424
|
+
onBackground: paLightTheme.onBackground,
|
|
425
|
+
onBackgroundVariant: paLightTheme.onBackgroundVariant,
|
|
413
426
|
}
|
|
414
427
|
const apColors = {
|
|
415
|
-
|
|
416
|
-
|
|
428
|
+
onBackground: apLightTheme.onBackground,
|
|
429
|
+
onBackgroundVariant: apLightTheme.onBackgroundVariant,
|
|
417
430
|
}
|
|
418
431
|
const apColors2026 = {}
|
|
419
432
|
return {
|
|
@@ -452,22 +465,22 @@ export const Surfaces: StoryObj = {
|
|
|
452
465
|
const colorDescription = ' Surface en superposition du background principal.'
|
|
453
466
|
const colorTitleLevel = 3
|
|
454
467
|
const cnamColors = {
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
468
|
+
surface: cnamLightTheme.surface,
|
|
469
|
+
surfaceDim: cnamLightTheme.surfaceDim,
|
|
470
|
+
surfaceBright: cnamLightTheme.surfaceBright,
|
|
471
|
+
inverseSurface: cnamLightTheme.inverseSurface,
|
|
459
472
|
}
|
|
460
473
|
const paColors = {
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
474
|
+
surface: paLightTheme.surface,
|
|
475
|
+
surfaceDim: paLightTheme.surfaceDim,
|
|
476
|
+
surfaceBright: paLightTheme.surfaceBright,
|
|
477
|
+
inverseSurface: paLightTheme.inverseSurface,
|
|
465
478
|
}
|
|
466
479
|
const apColors = {
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
480
|
+
surface: apLightTheme.surface,
|
|
481
|
+
surfaceDim: apLightTheme.surfaceDim,
|
|
482
|
+
surfaceBright: apLightTheme.surfaceBright,
|
|
483
|
+
inverseSurface: apLightTheme.inverseSurface,
|
|
471
484
|
}
|
|
472
485
|
const apColors2026 = {}
|
|
473
486
|
return {
|
|
@@ -506,16 +519,16 @@ export const OnSurfaces: StoryObj = {
|
|
|
506
519
|
const colorDescription = 'Texte/icône sur une surface '
|
|
507
520
|
const colorTitleLevel = 3
|
|
508
521
|
const cnamColors = {
|
|
509
|
-
|
|
510
|
-
|
|
522
|
+
onSurface: cnamLightTheme.onSurface,
|
|
523
|
+
onSurfaceVariant: cnamLightTheme.onSurfaceVariant,
|
|
511
524
|
}
|
|
512
525
|
const paColors = {
|
|
513
|
-
|
|
514
|
-
|
|
526
|
+
onSurface: paLightTheme.onSurface,
|
|
527
|
+
onSurfaceVariant: paLightTheme.onSurfaceVariant,
|
|
515
528
|
}
|
|
516
529
|
const apColors = {
|
|
517
|
-
|
|
518
|
-
|
|
530
|
+
onSurface: apLightTheme.onSurface,
|
|
531
|
+
onSurfaceVariant: apLightTheme.onSurfaceVariant,
|
|
519
532
|
}
|
|
520
533
|
const apColors2026 = {}
|
|
521
534
|
return {
|
|
@@ -596,22 +609,22 @@ export const Borders: StoryObj = {
|
|
|
596
609
|
const colorTitleLevel = 3
|
|
597
610
|
const colorDescription = 'Ce sont les couleurs à utiliser pour les contours de tous les éléments d’interface (quand nécessaire)'
|
|
598
611
|
const cnamColors = {
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
612
|
+
border: cnamLightTheme.border,
|
|
613
|
+
borderVariant: cnamLightTheme.borderVariant,
|
|
614
|
+
borderBright: cnamLightTheme.borderBright,
|
|
615
|
+
borderDim: cnamLightTheme.borderDim,
|
|
603
616
|
}
|
|
604
617
|
const paColors = {
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
618
|
+
border: paLightTheme.border,
|
|
619
|
+
borderVariant: paLightTheme.borderVariant,
|
|
620
|
+
borderBright: paLightTheme.borderBright,
|
|
621
|
+
borderDim: paLightTheme.borderDim,
|
|
609
622
|
}
|
|
610
623
|
const apColors = {
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
624
|
+
border: apLightTheme.border,
|
|
625
|
+
borderVariant: apLightTheme.borderVariant,
|
|
626
|
+
borderBright: apLightTheme.borderBright,
|
|
627
|
+
borderDim: apLightTheme.borderDim,
|
|
615
628
|
}
|
|
616
629
|
const apColors2026 = {}
|
|
617
630
|
return {
|
|
@@ -693,34 +706,34 @@ export const Feedback: StoryObj = {
|
|
|
693
706
|
const colorTitleLevel = 3
|
|
694
707
|
const colorDescription = 'Fonds de composants (ou de containers) indiquant un message de statut'
|
|
695
708
|
const cnamColors = {
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
709
|
+
error: cnamLightTheme.error,
|
|
710
|
+
errorVariant: cnamLightTheme.errorVariant,
|
|
711
|
+
success: cnamLightTheme.success,
|
|
712
|
+
successVariant: cnamLightTheme.successVariant,
|
|
713
|
+
warning: cnamLightTheme.warning,
|
|
714
|
+
warningVariant: cnamLightTheme.warningVariant,
|
|
715
|
+
info: cnamLightTheme.info,
|
|
716
|
+
infoVariant: cnamLightTheme.infoVariant,
|
|
704
717
|
}
|
|
705
718
|
const paColors = {
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
719
|
+
error: paLightTheme.error,
|
|
720
|
+
errorVariant: paLightTheme.errorVariant,
|
|
721
|
+
success: paLightTheme.success,
|
|
722
|
+
successVariant: paLightTheme.successVariant,
|
|
723
|
+
warning: paLightTheme.warning,
|
|
724
|
+
warningVariant: paLightTheme.warningVariant,
|
|
725
|
+
info: paLightTheme.info,
|
|
726
|
+
infoVariant: paLightTheme.infoVariant,
|
|
714
727
|
}
|
|
715
728
|
const apColors = {
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
729
|
+
error: apLightTheme.error,
|
|
730
|
+
errorVariant: apLightTheme.errorVariant,
|
|
731
|
+
success: apLightTheme.success,
|
|
732
|
+
successVariant: apLightTheme.successVariant,
|
|
733
|
+
warning: apLightTheme.warning,
|
|
734
|
+
warningVariant: apLightTheme.warningVariant,
|
|
735
|
+
info: apLightTheme.info,
|
|
736
|
+
infoVariant: apLightTheme.infoVariant,
|
|
724
737
|
}
|
|
725
738
|
const apColors2026 = {}
|
|
726
739
|
return {
|
|
@@ -760,34 +773,34 @@ export const OnFeedback: StoryObj = {
|
|
|
760
773
|
const colorTitleLevel = 3
|
|
761
774
|
const colorDescription = 'Textes/ Icônes sur fond de statut.'
|
|
762
775
|
const cnamColors = {
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
776
|
+
onError: cnamLightTheme.onError,
|
|
777
|
+
onErrorVariant: cnamLightTheme.onErrorVariant,
|
|
778
|
+
onSuccess: cnamLightTheme.onSuccess,
|
|
779
|
+
onSuccessVariant: cnamLightTheme.onSuccessVariant,
|
|
780
|
+
onWarning: cnamLightTheme.onWarning,
|
|
781
|
+
onWarningVariant: cnamLightTheme.onWarningVariant,
|
|
782
|
+
onInfo: cnamLightTheme.onInfo,
|
|
783
|
+
onInfoVariant: cnamLightTheme.onInfoVariant,
|
|
771
784
|
}
|
|
772
785
|
const paColors = {
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
786
|
+
onError: paLightTheme.onError,
|
|
787
|
+
onErrorVariant: paLightTheme.onErrorVariant,
|
|
788
|
+
onSuccess: paLightTheme.onSuccess,
|
|
789
|
+
onSuccessVariant: paLightTheme.onSuccessVariant,
|
|
790
|
+
onWarning: paLightTheme.onWarning,
|
|
791
|
+
onWarningVariant: paLightTheme.onWarningVariant,
|
|
792
|
+
onInfo: paLightTheme.onInfo,
|
|
793
|
+
onInfoVariant: paLightTheme.onInfoVariant,
|
|
781
794
|
}
|
|
782
795
|
const apColors = {
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
796
|
+
onError: apLightTheme.onError,
|
|
797
|
+
onErrorVariant: apLightTheme.onErrorVariant,
|
|
798
|
+
onSuccess: apLightTheme.onSuccess,
|
|
799
|
+
onSuccessVariant: apLightTheme.onSuccessVariant,
|
|
800
|
+
onWarning: apLightTheme.onWarning,
|
|
801
|
+
onWarningVariant: apLightTheme.onWarningVariant,
|
|
802
|
+
onInfo: apLightTheme.onInfo,
|
|
803
|
+
onInfoVariant: apLightTheme.onInfoVariant,
|
|
791
804
|
}
|
|
792
805
|
const apColors2026 = {}
|
|
793
806
|
return {
|
|
@@ -836,43 +849,43 @@ export const PaletteOrange: StoryObj = {
|
|
|
836
849
|
const displayEmptyColors = false
|
|
837
850
|
const colorTitleLevel = 3
|
|
838
851
|
const cnamColors = {
|
|
839
|
-
'orange-
|
|
840
|
-
'orange-
|
|
841
|
-
'orange-
|
|
842
|
-
'orange-
|
|
852
|
+
'orange-darken80': cnamColorsTokens.orange.darken80,
|
|
853
|
+
'orange-darken60': cnamColorsTokens.orange.darken60,
|
|
854
|
+
'orange-darken40': cnamColorsTokens.orange.darken40,
|
|
855
|
+
'orange-darken20': cnamColorsTokens.orange.darken20,
|
|
843
856
|
'orange-base': cnamColorsTokens.orange.base,
|
|
844
|
-
'orange-
|
|
845
|
-
'orange-
|
|
846
|
-
'orange-
|
|
847
|
-
'orange-
|
|
848
|
-
'orange-
|
|
849
|
-
'orange-
|
|
857
|
+
'orange-lighten20': cnamColorsTokens.orange.lighten20,
|
|
858
|
+
'orange-lighten40': cnamColorsTokens.orange.lighten40,
|
|
859
|
+
'orange-lighten60': cnamColorsTokens.orange.lighten60,
|
|
860
|
+
'orange-lighten80': cnamColorsTokens.orange.lighten80,
|
|
861
|
+
'orange-lighten90': cnamColorsTokens.orange.lighten90,
|
|
862
|
+
'orange-lighten97': cnamColorsTokens.orange.lighten97,
|
|
850
863
|
}
|
|
851
864
|
const paColors = {
|
|
852
|
-
'orange-
|
|
853
|
-
'orange-
|
|
854
|
-
'orange-
|
|
855
|
-
'orange-
|
|
865
|
+
'orange-darken80': paColorsTokens.orange.darken80,
|
|
866
|
+
'orange-darken60': paColorsTokens.orange.darken60,
|
|
867
|
+
'orange-darken40': paColorsTokens.orange.darken40,
|
|
868
|
+
'orange-darken20': paColorsTokens.orange.darken20,
|
|
856
869
|
'orange-base': paColorsTokens.orange.base,
|
|
857
|
-
'orange-
|
|
858
|
-
'orange-
|
|
859
|
-
'orange-
|
|
860
|
-
'orange-
|
|
861
|
-
'orange-
|
|
862
|
-
'orange-
|
|
870
|
+
'orange-lighten20': paColorsTokens.orange.lighten20,
|
|
871
|
+
'orange-lighten40': paColorsTokens.orange.lighten40,
|
|
872
|
+
'orange-lighten60': paColorsTokens.orange.lighten60,
|
|
873
|
+
'orange-lighten80': paColorsTokens.orange.lighten80,
|
|
874
|
+
'orange-lighten90': paColorsTokens.orange.lighten90,
|
|
875
|
+
'orange-lighten97': paColorsTokens.orange.lighten97,
|
|
863
876
|
}
|
|
864
877
|
const apColors = {
|
|
865
|
-
'amber-
|
|
866
|
-
'amber-
|
|
867
|
-
'amber-
|
|
868
|
-
'amber-
|
|
878
|
+
'amber-darken80': apColorsTokens.amber.darken80,
|
|
879
|
+
'amber-darken60': apColorsTokens.amber.darken60,
|
|
880
|
+
'amber-darken40': apColorsTokens.amber.darken40,
|
|
881
|
+
'amber-darken20': apColorsTokens.amber.darken20,
|
|
869
882
|
'amber-base': apColorsTokens.amber.base,
|
|
870
|
-
'amber-
|
|
871
|
-
'amber-
|
|
872
|
-
'amber-
|
|
873
|
-
'amber-
|
|
874
|
-
'amber-
|
|
875
|
-
'amber-
|
|
883
|
+
'amber-lighten20': apColorsTokens.amber.lighten20,
|
|
884
|
+
'amber-lighten40': apColorsTokens.amber.lighten40,
|
|
885
|
+
'amber-lighten60': apColorsTokens.amber.lighten60,
|
|
886
|
+
'amber-lighten80': apColorsTokens.amber.lighten80,
|
|
887
|
+
'amber-lighten90': apColorsTokens.amber.lighten90,
|
|
888
|
+
'amber-lighten97': apColorsTokens.amber.lighten97,
|
|
876
889
|
}
|
|
877
890
|
const apColors2026 = {}
|
|
878
891
|
return {
|
|
@@ -913,26 +926,26 @@ export const PaletteRed: StoryObj = {
|
|
|
913
926
|
const cnamColors = {}
|
|
914
927
|
const paColors = {}
|
|
915
928
|
const apColors = {
|
|
916
|
-
'red-
|
|
917
|
-
'red-
|
|
918
|
-
'red-
|
|
919
|
-
'red-
|
|
929
|
+
'red-darken80': apColorsTokens.red.darken80,
|
|
930
|
+
'red-darken60': apColorsTokens.red.darken60,
|
|
931
|
+
'red-darken40': apColorsTokens.red.darken40,
|
|
932
|
+
'red-darken20': apColorsTokens.red.darken20,
|
|
920
933
|
'red-base': apColorsTokens.red.base,
|
|
921
|
-
'red-
|
|
922
|
-
'red-
|
|
923
|
-
'red-
|
|
924
|
-
'red-
|
|
925
|
-
'red-
|
|
926
|
-
'red-
|
|
934
|
+
'red-lighten20': apColorsTokens.red.lighten20,
|
|
935
|
+
'red-lighten40': apColorsTokens.red.lighten40,
|
|
936
|
+
'red-lighten60': apColorsTokens.red.lighten60,
|
|
937
|
+
'red-lighten80': apColorsTokens.red.lighten80,
|
|
938
|
+
'red-lighten90': apColorsTokens.red.lighten90,
|
|
939
|
+
'red-lighten97': apColorsTokens.red.lighten97,
|
|
927
940
|
}
|
|
928
941
|
const apColors2026 = {
|
|
929
|
-
'
|
|
930
|
-
'
|
|
931
|
-
'
|
|
932
|
-
'
|
|
933
|
-
'
|
|
934
|
-
'
|
|
935
|
-
'
|
|
942
|
+
'apRed-darken2': apColorsTokens2026.apRed.darken2,
|
|
943
|
+
'apRed-darken1': apColorsTokens2026.apRed.darken1,
|
|
944
|
+
'apRed-base': apColorsTokens2026.apRed.base,
|
|
945
|
+
'apRed-lighten1': apColorsTokens2026.apRed.lighten1,
|
|
946
|
+
'apRed-lighten2': apColorsTokens2026.apRed.lighten2,
|
|
947
|
+
'apRed-lighten3': apColorsTokens2026.apRed.lighten3,
|
|
948
|
+
'apRed-lighten4': apColorsTokens2026.apRed.lighten4,
|
|
936
949
|
}
|
|
937
950
|
return {
|
|
938
951
|
displayEmptyColors,
|
|
@@ -969,55 +982,55 @@ export const PaletteYellow: StoryObj = {
|
|
|
969
982
|
const colorTitle = 'Yellow'
|
|
970
983
|
const colorTitleLevel = 3
|
|
971
984
|
const cnamColors = {
|
|
972
|
-
'yellow-
|
|
973
|
-
'yellow-
|
|
974
|
-
'yellow-
|
|
975
|
-
'yellow-
|
|
985
|
+
'yellow-darken80': cnamColorsTokens.yellow.darken80,
|
|
986
|
+
'yellow-darken60': cnamColorsTokens.yellow.darken60,
|
|
987
|
+
'yellow-darken40': cnamColorsTokens.yellow.darken40,
|
|
988
|
+
'yellow-darken20': cnamColorsTokens.yellow.darken20,
|
|
976
989
|
'yellow-base': cnamColorsTokens.yellow.base,
|
|
977
|
-
'yellow-
|
|
978
|
-
'yellow-
|
|
979
|
-
'yellow-
|
|
980
|
-
'yellow-
|
|
981
|
-
'yellow-
|
|
982
|
-
'yellow-
|
|
990
|
+
'yellow-lighten20': cnamColorsTokens.yellow.lighten20,
|
|
991
|
+
'yellow-lighten40': cnamColorsTokens.yellow.lighten40,
|
|
992
|
+
'yellow-lighten60': cnamColorsTokens.yellow.lighten60,
|
|
993
|
+
'yellow-lighten80': cnamColorsTokens.yellow.lighten80,
|
|
994
|
+
'yellow-lighten90': cnamColorsTokens.yellow.lighten90,
|
|
995
|
+
'yellow-lighten97': cnamColorsTokens.yellow.lighten97,
|
|
983
996
|
}
|
|
984
997
|
const paColors = {
|
|
985
|
-
'yellow-
|
|
986
|
-
'yellow-
|
|
987
|
-
'yellow-
|
|
988
|
-
'yellow-
|
|
998
|
+
'yellow-darken80': paColorsTokens.yellow.darken80,
|
|
999
|
+
'yellow-darken60': paColorsTokens.yellow.darken60,
|
|
1000
|
+
'yellow-darken40': paColorsTokens.yellow.darken40,
|
|
1001
|
+
'yellow-darken20': paColorsTokens.yellow.darken20,
|
|
989
1002
|
'yellow-base': paColorsTokens.yellow.base,
|
|
990
|
-
'yellow-
|
|
991
|
-
'yellow-
|
|
992
|
-
'yellow-
|
|
993
|
-
'yellow-
|
|
994
|
-
'yellow-
|
|
995
|
-
'yellow-
|
|
1003
|
+
'yellow-lighten20': paColorsTokens.yellow.lighten20,
|
|
1004
|
+
'yellow-lighten40': paColorsTokens.yellow.lighten40,
|
|
1005
|
+
'yellow-lighten60': paColorsTokens.yellow.lighten60,
|
|
1006
|
+
'yellow-lighten80': paColorsTokens.yellow.lighten80,
|
|
1007
|
+
'yellow-lighten90': paColorsTokens.yellow.lighten90,
|
|
1008
|
+
'yellow-lighten97': paColorsTokens.yellow.lighten97,
|
|
996
1009
|
}
|
|
997
1010
|
const apColors = {
|
|
998
|
-
'yellow-
|
|
999
|
-
'yellow-
|
|
1000
|
-
'yellow-
|
|
1001
|
-
'yellow-
|
|
1011
|
+
'yellow-darken80': apColorsTokens.yellow.darken80,
|
|
1012
|
+
'yellow-darken60': apColorsTokens.yellow.darken60,
|
|
1013
|
+
'yellow-darken40': apColorsTokens.yellow.darken40,
|
|
1014
|
+
'yellow-darken20': apColorsTokens.yellow.darken20,
|
|
1002
1015
|
'yellow-base': apColorsTokens.yellow.base,
|
|
1003
|
-
'yellow-
|
|
1004
|
-
'yellow-
|
|
1005
|
-
'yellow-
|
|
1006
|
-
'yellow-
|
|
1007
|
-
'yellow-
|
|
1008
|
-
'yellow-
|
|
1016
|
+
'yellow-lighten20': apColorsTokens.yellow.lighten20,
|
|
1017
|
+
'yellow-lighten40': apColorsTokens.yellow.lighten40,
|
|
1018
|
+
'yellow-lighten60': apColorsTokens.yellow.lighten60,
|
|
1019
|
+
'yellow-lighten80': apColorsTokens.yellow.lighten80,
|
|
1020
|
+
'yellow-lighten90': apColorsTokens.yellow.lighten90,
|
|
1021
|
+
'yellow-lighten97': apColorsTokens.yellow.lighten97,
|
|
1009
1022
|
}
|
|
1010
1023
|
const apColors2026 = {
|
|
1011
|
-
'
|
|
1012
|
-
'
|
|
1013
|
-
'
|
|
1014
|
-
'
|
|
1015
|
-
'
|
|
1016
|
-
'
|
|
1017
|
-
'
|
|
1018
|
-
'
|
|
1019
|
-
'
|
|
1020
|
-
'
|
|
1024
|
+
'apYellow-darken4': apColorsTokens2026.apYellow.darken4,
|
|
1025
|
+
'apYellow-darken3': apColorsTokens2026.apYellow.darken3,
|
|
1026
|
+
'apYellow-darken2': apColorsTokens2026.apYellow.darken2,
|
|
1027
|
+
'apYellow-darken1': apColorsTokens2026.apYellow.darken1,
|
|
1028
|
+
'apYellow-base': apColorsTokens2026.apYellow.base,
|
|
1029
|
+
'apYellow-lighten1': apColorsTokens2026.apYellow.lighten1,
|
|
1030
|
+
'apYellow-lighten2': apColorsTokens2026.apYellow.lighten2,
|
|
1031
|
+
'apYellow-lighten3': apColorsTokens2026.apYellow.lighten3,
|
|
1032
|
+
'apYellow-lighten4': apColorsTokens2026.apYellow.lighten4,
|
|
1033
|
+
'apYellow-lighten5': apColorsTokens2026.apYellow.lighten5,
|
|
1021
1034
|
}
|
|
1022
1035
|
return {
|
|
1023
1036
|
cnamColors,
|
|
@@ -1054,17 +1067,17 @@ export const PaletteForestGreen: StoryObj = {
|
|
|
1054
1067
|
const displayEmptyColors = false
|
|
1055
1068
|
const colorTitleLevel = 3
|
|
1056
1069
|
const apColors = {
|
|
1057
|
-
'
|
|
1058
|
-
'
|
|
1059
|
-
'
|
|
1060
|
-
'
|
|
1061
|
-
'
|
|
1062
|
-
'
|
|
1063
|
-
'
|
|
1064
|
-
'
|
|
1065
|
-
'
|
|
1066
|
-
'
|
|
1067
|
-
'
|
|
1070
|
+
'forestGreen-darken80': apColorsTokens.forestGreen.darken80,
|
|
1071
|
+
'forestGreen-darken60': apColorsTokens.forestGreen.darken60,
|
|
1072
|
+
'forestGreen-darken40': apColorsTokens.forestGreen.darken40,
|
|
1073
|
+
'forestGreen-darken20': apColorsTokens.forestGreen.darken20,
|
|
1074
|
+
'forestGreen-base': apColorsTokens.forestGreen.base,
|
|
1075
|
+
'forestGreen-lighten20': apColorsTokens.forestGreen.lighten20,
|
|
1076
|
+
'forestGreen-lighten40': apColorsTokens.forestGreen.lighten40,
|
|
1077
|
+
'forestGreen-lighten60': apColorsTokens.forestGreen.lighten60,
|
|
1078
|
+
'forestGreen-lighten80': apColorsTokens.forestGreen.lighten80,
|
|
1079
|
+
'forestGreen-lighten90': apColorsTokens.forestGreen.lighten90,
|
|
1080
|
+
'forestGreen-lighten97': apColorsTokens.forestGreen.lighten97,
|
|
1068
1081
|
}
|
|
1069
1082
|
const cnamColors = {}
|
|
1070
1083
|
const paColors = {}
|
|
@@ -1104,50 +1117,50 @@ export const PaletteGreen: StoryObj = {
|
|
|
1104
1117
|
const colorTitle = 'Green'
|
|
1105
1118
|
const colorTitleLevel = 3
|
|
1106
1119
|
const cnamColors = {
|
|
1107
|
-
'green-
|
|
1108
|
-
'green-
|
|
1109
|
-
'green-
|
|
1110
|
-
'green-
|
|
1120
|
+
'green-darken80': cnamColorsTokens.green.darken80,
|
|
1121
|
+
'green-darken60': cnamColorsTokens.green.darken60,
|
|
1122
|
+
'green-darken40': cnamColorsTokens.green.darken40,
|
|
1123
|
+
'green-darken20': cnamColorsTokens.green.darken20,
|
|
1111
1124
|
'green-base': cnamColorsTokens.green.base,
|
|
1112
|
-
'green-
|
|
1113
|
-
'green-
|
|
1114
|
-
'green-
|
|
1115
|
-
'green-
|
|
1116
|
-
'green-
|
|
1117
|
-
'green-
|
|
1125
|
+
'green-lighten20': cnamColorsTokens.green.lighten20,
|
|
1126
|
+
'green-lighten40': cnamColorsTokens.green.lighten40,
|
|
1127
|
+
'green-lighten60': cnamColorsTokens.green.lighten60,
|
|
1128
|
+
'green-lighten80': cnamColorsTokens.green.lighten80,
|
|
1129
|
+
'green-lighten90': cnamColorsTokens.green.lighten90,
|
|
1130
|
+
'green-lighten97': cnamColorsTokens.green.lighten97,
|
|
1118
1131
|
}
|
|
1119
1132
|
const paColors = {
|
|
1120
|
-
'green-
|
|
1121
|
-
'green-
|
|
1122
|
-
'green-
|
|
1123
|
-
'green-
|
|
1133
|
+
'green-darken80': paColorsTokens.green.darken80,
|
|
1134
|
+
'green-darken60': paColorsTokens.green.darken60,
|
|
1135
|
+
'green-darken40': paColorsTokens.green.darken40,
|
|
1136
|
+
'green-darken20': paColorsTokens.green.darken20,
|
|
1124
1137
|
'green-base': paColorsTokens.green.base,
|
|
1125
|
-
'green-
|
|
1126
|
-
'green-
|
|
1127
|
-
'green-
|
|
1128
|
-
'green-
|
|
1129
|
-
'green-
|
|
1130
|
-
'green-
|
|
1138
|
+
'green-lighten20': paColorsTokens.green.lighten20,
|
|
1139
|
+
'green-lighten40': paColorsTokens.green.lighten40,
|
|
1140
|
+
'green-lighten60': paColorsTokens.green.lighten60,
|
|
1141
|
+
'green-lighten80': paColorsTokens.green.lighten80,
|
|
1142
|
+
'green-lighten90': paColorsTokens.green.lighten90,
|
|
1143
|
+
'green-lighten97': paColorsTokens.green.lighten97,
|
|
1131
1144
|
}
|
|
1132
1145
|
const apColors = {
|
|
1133
|
-
'green-
|
|
1134
|
-
'green-
|
|
1135
|
-
'green-
|
|
1136
|
-
'green-
|
|
1146
|
+
'green-darken80': apColorsTokens.green.darken80,
|
|
1147
|
+
'green-darken60': apColorsTokens.green.darken60,
|
|
1148
|
+
'green-darken40': apColorsTokens.green.darken40,
|
|
1149
|
+
'green-darken20': apColorsTokens.green.darken20,
|
|
1137
1150
|
'green-base': apColorsTokens.green.base,
|
|
1138
|
-
'green-
|
|
1139
|
-
'green-
|
|
1140
|
-
'green-
|
|
1141
|
-
'green-
|
|
1142
|
-
'green-
|
|
1143
|
-
'green-
|
|
1151
|
+
'green-lighten20': apColorsTokens.green.lighten20,
|
|
1152
|
+
'green-lighten40': apColorsTokens.green.lighten40,
|
|
1153
|
+
'green-lighten60': apColorsTokens.green.lighten60,
|
|
1154
|
+
'green-lighten80': apColorsTokens.green.lighten80,
|
|
1155
|
+
'green-lighten90': apColorsTokens.green.lighten90,
|
|
1156
|
+
'green-lighten97': apColorsTokens.green.lighten97,
|
|
1144
1157
|
}
|
|
1145
1158
|
const apColors2026 = {
|
|
1146
|
-
'
|
|
1147
|
-
'
|
|
1148
|
-
'
|
|
1149
|
-
'
|
|
1150
|
-
'
|
|
1159
|
+
'apGreen-darken2': apColorsTokens2026.apGreen.darken2,
|
|
1160
|
+
'apGreen-darken1': apColorsTokens2026.apGreen.darken1,
|
|
1161
|
+
'apGreen-base': apColorsTokens2026.apGreen.base,
|
|
1162
|
+
'apGreen-lighten1': apColorsTokens2026.apGreen.lighten1,
|
|
1163
|
+
'apGreen-lighten2': apColorsTokens2026.apGreen.lighten2,
|
|
1151
1164
|
}
|
|
1152
1165
|
return {
|
|
1153
1166
|
cnamColors,
|
|
@@ -1183,51 +1196,51 @@ export const PaletteTurquoise: StoryObj = {
|
|
|
1183
1196
|
const colorTitle = 'Turquoise'
|
|
1184
1197
|
const colorTitleLevel = 3
|
|
1185
1198
|
const cnamColors = {
|
|
1186
|
-
'turquoise-
|
|
1187
|
-
'turquoise-
|
|
1188
|
-
'turquoise-
|
|
1189
|
-
'turquoise-
|
|
1199
|
+
'turquoise-darken80': cnamColorsTokens.turquoise.darken80,
|
|
1200
|
+
'turquoise-darken60': cnamColorsTokens.turquoise.darken60,
|
|
1201
|
+
'turquoise-darken40': cnamColorsTokens.turquoise.darken40,
|
|
1202
|
+
'turquoise-darken20': cnamColorsTokens.turquoise.darken20,
|
|
1190
1203
|
'turquoise-base': cnamColorsTokens.turquoise.base,
|
|
1191
|
-
'turquoise-
|
|
1192
|
-
'turquoise-
|
|
1193
|
-
'turquoise-
|
|
1194
|
-
'turquoise-
|
|
1195
|
-
'turquoise-
|
|
1196
|
-
'turquoise-
|
|
1204
|
+
'turquoise-lighten20': cnamColorsTokens.turquoise.lighten20,
|
|
1205
|
+
'turquoise-lighten40': cnamColorsTokens.turquoise.lighten40,
|
|
1206
|
+
'turquoise-lighten60': cnamColorsTokens.turquoise.lighten60,
|
|
1207
|
+
'turquoise-lighten80': cnamColorsTokens.turquoise.lighten80,
|
|
1208
|
+
'turquoise-lighten90': cnamColorsTokens.turquoise.lighten90,
|
|
1209
|
+
'turquoise-lighten97': cnamColorsTokens.turquoise.lighten97,
|
|
1197
1210
|
}
|
|
1198
1211
|
const paColors = {
|
|
1199
|
-
'turquoise-
|
|
1200
|
-
'turquoise-
|
|
1201
|
-
'turquoise-
|
|
1202
|
-
'turquoise-
|
|
1212
|
+
'turquoise-darken80': paColorsTokens.turquoise.darken80,
|
|
1213
|
+
'turquoise-darken60': paColorsTokens.turquoise.darken60,
|
|
1214
|
+
'turquoise-darken40': paColorsTokens.turquoise.darken40,
|
|
1215
|
+
'turquoise-darken20': paColorsTokens.turquoise.darken20,
|
|
1203
1216
|
'turquoise-base': paColorsTokens.turquoise.base,
|
|
1204
|
-
'turquoise-
|
|
1205
|
-
'turquoise-
|
|
1206
|
-
'turquoise-
|
|
1207
|
-
'turquoise-
|
|
1208
|
-
'turquoise-
|
|
1209
|
-
'turquoise-
|
|
1217
|
+
'turquoise-lighten20': paColorsTokens.turquoise.lighten20,
|
|
1218
|
+
'turquoise-lighten40': paColorsTokens.turquoise.lighten40,
|
|
1219
|
+
'turquoise-lighten60': paColorsTokens.turquoise.lighten60,
|
|
1220
|
+
'turquoise-lighten80': paColorsTokens.turquoise.lighten80,
|
|
1221
|
+
'turquoise-lighten90': paColorsTokens.turquoise.lighten90,
|
|
1222
|
+
'turquoise-lighten97': paColorsTokens.turquoise.lighten97,
|
|
1210
1223
|
}
|
|
1211
1224
|
const apColors = {
|
|
1212
|
-
'turquoise-
|
|
1213
|
-
'turquoise-
|
|
1214
|
-
'turquoise-
|
|
1215
|
-
'turquoise-
|
|
1225
|
+
'turquoise-darken80': apColorsTokens.turquoise.darken80,
|
|
1226
|
+
'turquoise-darken60': apColorsTokens.turquoise.darken60,
|
|
1227
|
+
'turquoise-darken40': apColorsTokens.turquoise.darken40,
|
|
1228
|
+
'turquoise-darken20': apColorsTokens.turquoise.darken20,
|
|
1216
1229
|
'turquoise-base': apColorsTokens.turquoise.base,
|
|
1217
|
-
'turquoise-
|
|
1218
|
-
'turquoise-
|
|
1219
|
-
'turquoise-
|
|
1220
|
-
'turquoise-
|
|
1221
|
-
'turquoise-
|
|
1222
|
-
'turquoise-
|
|
1230
|
+
'turquoise-lighten20': apColorsTokens.turquoise.lighten20,
|
|
1231
|
+
'turquoise-lighten40': apColorsTokens.turquoise.lighten40,
|
|
1232
|
+
'turquoise-lighten60': apColorsTokens.turquoise.lighten60,
|
|
1233
|
+
'turquoise-lighten80': apColorsTokens.turquoise.lighten80,
|
|
1234
|
+
'turquoise-lighten90': apColorsTokens.turquoise.lighten90,
|
|
1235
|
+
'turquoise-lighten97': apColorsTokens.turquoise.lighten97,
|
|
1223
1236
|
}
|
|
1224
1237
|
const apColors2026 = {
|
|
1225
|
-
'
|
|
1226
|
-
'
|
|
1227
|
-
'
|
|
1228
|
-
'
|
|
1229
|
-
'
|
|
1230
|
-
'
|
|
1238
|
+
'apTurquoise-darken3': apColorsTokens2026.apTurquoise.darken3,
|
|
1239
|
+
'apTurquoise-darken2': apColorsTokens2026.apTurquoise.darken2,
|
|
1240
|
+
'apTurquoise-darken1': apColorsTokens2026.apTurquoise.darken1,
|
|
1241
|
+
'apTurquoise-base': apColorsTokens2026.apTurquoise.base,
|
|
1242
|
+
'apTurquoise-lighten1': apColorsTokens2026.apTurquoise.lighten1,
|
|
1243
|
+
'apTurquoise-lighten2': apColorsTokens2026.apTurquoise.lighten2,
|
|
1231
1244
|
}
|
|
1232
1245
|
return {
|
|
1233
1246
|
cnamColors,
|
|
@@ -1263,52 +1276,52 @@ export const PaletteBlue: StoryObj = {
|
|
|
1263
1276
|
const colorTitle = 'Blue'
|
|
1264
1277
|
const colorTitleLevel = 3
|
|
1265
1278
|
const cnamColors = {
|
|
1266
|
-
'blue-
|
|
1267
|
-
'blue-
|
|
1268
|
-
'blue-
|
|
1269
|
-
'blue-
|
|
1279
|
+
'blue-darken80': cnamColorsTokens.blue.darken80,
|
|
1280
|
+
'blue-darken60': cnamColorsTokens.blue.darken60,
|
|
1281
|
+
'blue-darken40': cnamColorsTokens.blue.darken40,
|
|
1282
|
+
'blue-darken20': cnamColorsTokens.blue.darken20,
|
|
1270
1283
|
'blue-base': cnamColorsTokens.blue.base,
|
|
1271
|
-
'blue-
|
|
1272
|
-
'blue-
|
|
1273
|
-
'blue-
|
|
1274
|
-
'blue-
|
|
1275
|
-
'blue-
|
|
1276
|
-
'blue-
|
|
1284
|
+
'blue-lighten20': cnamColorsTokens.blue.lighten20,
|
|
1285
|
+
'blue-lighten40': cnamColorsTokens.blue.lighten40,
|
|
1286
|
+
'blue-lighten60': cnamColorsTokens.blue.lighten60,
|
|
1287
|
+
'blue-lighten80': cnamColorsTokens.blue.lighten80,
|
|
1288
|
+
'blue-lighten90': cnamColorsTokens.blue.lighten90,
|
|
1289
|
+
'blue-lighten97': cnamColorsTokens.blue.lighten97,
|
|
1277
1290
|
}
|
|
1278
1291
|
const paColors = {
|
|
1279
|
-
'blue-
|
|
1280
|
-
'blue-
|
|
1281
|
-
'blue-
|
|
1282
|
-
'blue-
|
|
1292
|
+
'blue-darken80': paColorsTokens.blue.darken80,
|
|
1293
|
+
'blue-darken60': paColorsTokens.blue.darken60,
|
|
1294
|
+
'blue-darken40': paColorsTokens.blue.darken40,
|
|
1295
|
+
'blue-darken20': paColorsTokens.blue.darken20,
|
|
1283
1296
|
'blue-base': paColorsTokens.blue.base,
|
|
1284
|
-
'blue-
|
|
1285
|
-
'blue-
|
|
1286
|
-
'blue-
|
|
1287
|
-
'blue-
|
|
1288
|
-
'blue-
|
|
1289
|
-
'blue-
|
|
1297
|
+
'blue-lighten20': paColorsTokens.blue.lighten20,
|
|
1298
|
+
'blue-lighten40': paColorsTokens.blue.lighten40,
|
|
1299
|
+
'blue-lighten60': paColorsTokens.blue.lighten60,
|
|
1300
|
+
'blue-lighten80': paColorsTokens.blue.lighten80,
|
|
1301
|
+
'blue-lighten90': paColorsTokens.blue.lighten90,
|
|
1302
|
+
'blue-lighten97': paColorsTokens.blue.lighten97,
|
|
1290
1303
|
}
|
|
1291
1304
|
const apColors = {
|
|
1292
|
-
'blue-
|
|
1293
|
-
'blue-
|
|
1294
|
-
'blue-
|
|
1295
|
-
'blue-
|
|
1305
|
+
'blue-darken80': apColorsTokens.blue.darken80,
|
|
1306
|
+
'blue-darken60': apColorsTokens.blue.darken60,
|
|
1307
|
+
'blue-darken40': apColorsTokens.blue.darken40,
|
|
1308
|
+
'blue-darken20': apColorsTokens.blue.darken20,
|
|
1296
1309
|
'blue-base': apColorsTokens.blue.base,
|
|
1297
|
-
'blue-
|
|
1298
|
-
'blue-
|
|
1299
|
-
'blue-
|
|
1300
|
-
'blue-
|
|
1301
|
-
'blue-
|
|
1302
|
-
'blue-
|
|
1310
|
+
'blue-lighten20': apColorsTokens.blue.lighten20,
|
|
1311
|
+
'blue-lighten40': apColorsTokens.blue.lighten40,
|
|
1312
|
+
'blue-lighten60': apColorsTokens.blue.lighten60,
|
|
1313
|
+
'blue-lighten80': apColorsTokens.blue.lighten80,
|
|
1314
|
+
'blue-lighten90': apColorsTokens.blue.lighten90,
|
|
1315
|
+
'blue-lighten97': apColorsTokens.blue.lighten97,
|
|
1303
1316
|
}
|
|
1304
1317
|
const apColors2026 = {
|
|
1305
|
-
'
|
|
1306
|
-
'
|
|
1307
|
-
'
|
|
1308
|
-
'
|
|
1309
|
-
'
|
|
1310
|
-
'
|
|
1311
|
-
'
|
|
1318
|
+
'apBlue-darken2': apColorsTokens2026.apBlue.darken2,
|
|
1319
|
+
'apBlue-darken1': apColorsTokens2026.apBlue.darken1,
|
|
1320
|
+
'apBlue-base': apColorsTokens2026.apBlue.base,
|
|
1321
|
+
'apBlue-lighten1': apColorsTokens2026.apBlue.lighten1,
|
|
1322
|
+
'apBlue-lighten2': apColorsTokens2026.apBlue.lighten2,
|
|
1323
|
+
'apBlue-lighten3': apColorsTokens2026.apBlue.lighten3,
|
|
1324
|
+
'apBlue-lighten4': apColorsTokens2026.apBlue.lighten4,
|
|
1312
1325
|
}
|
|
1313
1326
|
return {
|
|
1314
1327
|
cnamColors,
|
|
@@ -1345,43 +1358,43 @@ export const PaletteCyan: StoryObj = {
|
|
|
1345
1358
|
const displayEmptyColors = false
|
|
1346
1359
|
const colorTitleLevel = 3
|
|
1347
1360
|
const cnamColors = {
|
|
1348
|
-
'cyan-
|
|
1349
|
-
'cyan-
|
|
1350
|
-
'cyan-
|
|
1351
|
-
'cyan-
|
|
1361
|
+
'cyan-darken80': cnamColorsTokens.cyan.darken80,
|
|
1362
|
+
'cyan-darken60': cnamColorsTokens.cyan.darken60,
|
|
1363
|
+
'cyan-darken40': cnamColorsTokens.cyan.darken40,
|
|
1364
|
+
'cyan-darken20': cnamColorsTokens.cyan.darken20,
|
|
1352
1365
|
'cyan-base': cnamColorsTokens.cyan.base,
|
|
1353
|
-
'cyan-
|
|
1354
|
-
'cyan-
|
|
1355
|
-
'cyan-
|
|
1356
|
-
'cyan-
|
|
1357
|
-
'cyan-
|
|
1358
|
-
'cyan-
|
|
1366
|
+
'cyan-lighten20': cnamColorsTokens.cyan.lighten20,
|
|
1367
|
+
'cyan-lighten40': cnamColorsTokens.cyan.lighten40,
|
|
1368
|
+
'cyan-lighten60': cnamColorsTokens.cyan.lighten60,
|
|
1369
|
+
'cyan-lighten80': cnamColorsTokens.cyan.lighten80,
|
|
1370
|
+
'cyan-lighten90': cnamColorsTokens.cyan.lighten90,
|
|
1371
|
+
'cyan-lighten97': cnamColorsTokens.cyan.lighten97,
|
|
1359
1372
|
}
|
|
1360
1373
|
const paColors = {
|
|
1361
|
-
'cyan-
|
|
1362
|
-
'cyan-
|
|
1363
|
-
'cyan-
|
|
1364
|
-
'cyan-
|
|
1374
|
+
'cyan-darken80': paColorsTokens.cyan.darken80,
|
|
1375
|
+
'cyan-darken60': paColorsTokens.cyan.darken60,
|
|
1376
|
+
'cyan-darken40': paColorsTokens.cyan.darken40,
|
|
1377
|
+
'cyan-darken20': paColorsTokens.cyan.darken20,
|
|
1365
1378
|
'cyan-base': paColorsTokens.cyan.base,
|
|
1366
|
-
'cyan-
|
|
1367
|
-
'cyan-
|
|
1368
|
-
'cyan-
|
|
1369
|
-
'cyan-
|
|
1370
|
-
'cyan-
|
|
1371
|
-
'cyan-
|
|
1379
|
+
'cyan-lighten20': paColorsTokens.cyan.lighten20,
|
|
1380
|
+
'cyan-lighten40': paColorsTokens.cyan.lighten40,
|
|
1381
|
+
'cyan-lighten60': paColorsTokens.cyan.lighten60,
|
|
1382
|
+
'cyan-lighten80': paColorsTokens.cyan.lighten80,
|
|
1383
|
+
'cyan-lighten90': paColorsTokens.cyan.lighten90,
|
|
1384
|
+
'cyan-lighten97': paColorsTokens.cyan.lighten97,
|
|
1372
1385
|
}
|
|
1373
1386
|
const apColors = {
|
|
1374
|
-
'cyan-
|
|
1375
|
-
'cyan-
|
|
1376
|
-
'cyan-
|
|
1377
|
-
'cyan-
|
|
1387
|
+
'cyan-darken80': apColorsTokens.cyan.darken80,
|
|
1388
|
+
'cyan-darken60': apColorsTokens.cyan.darken60,
|
|
1389
|
+
'cyan-darken40': apColorsTokens.cyan.darken40,
|
|
1390
|
+
'cyan-darken20': apColorsTokens.cyan.darken20,
|
|
1378
1391
|
'cyan-base': apColorsTokens.cyan.base,
|
|
1379
|
-
'cyan-
|
|
1380
|
-
'cyan-
|
|
1381
|
-
'cyan-
|
|
1382
|
-
'cyan-
|
|
1383
|
-
'cyan-
|
|
1384
|
-
'cyan-
|
|
1392
|
+
'cyan-lighten20': apColorsTokens.cyan.lighten20,
|
|
1393
|
+
'cyan-lighten40': apColorsTokens.cyan.lighten40,
|
|
1394
|
+
'cyan-lighten60': apColorsTokens.cyan.lighten60,
|
|
1395
|
+
'cyan-lighten80': apColorsTokens.cyan.lighten80,
|
|
1396
|
+
'cyan-lighten90': apColorsTokens.cyan.lighten90,
|
|
1397
|
+
'cyan-lighten97': apColorsTokens.cyan.lighten97,
|
|
1385
1398
|
}
|
|
1386
1399
|
const apColors2026 = {}
|
|
1387
1400
|
return {
|
|
@@ -1420,30 +1433,30 @@ export const PaletteFrostedBlue: StoryObj = {
|
|
|
1420
1433
|
const displayEmptyColors = false
|
|
1421
1434
|
const colorTitleLevel = 3
|
|
1422
1435
|
const cnamColors = {
|
|
1423
|
-
'
|
|
1424
|
-
'
|
|
1425
|
-
'
|
|
1426
|
-
'
|
|
1427
|
-
'
|
|
1428
|
-
'
|
|
1429
|
-
'
|
|
1430
|
-
'
|
|
1431
|
-
'
|
|
1432
|
-
'
|
|
1433
|
-
'
|
|
1436
|
+
'frostedBlue-darken80': cnamColorsTokens.frostedBlue.darken80,
|
|
1437
|
+
'frostedBlue-darken60': cnamColorsTokens.frostedBlue.darken60,
|
|
1438
|
+
'frostedBlue-darken40': cnamColorsTokens.frostedBlue.darken40,
|
|
1439
|
+
'frostedBlue-darken20': cnamColorsTokens.frostedBlue.darken20,
|
|
1440
|
+
'frostedBlue-base': cnamColorsTokens.frostedBlue.base,
|
|
1441
|
+
'frostedBlue-lighten20': cnamColorsTokens.frostedBlue.lighten20,
|
|
1442
|
+
'frostedBlue-lighten40': cnamColorsTokens.frostedBlue.lighten40,
|
|
1443
|
+
'frostedBlue-lighten60': cnamColorsTokens.frostedBlue.lighten60,
|
|
1444
|
+
'frostedBlue-lighten80': cnamColorsTokens.frostedBlue.lighten80,
|
|
1445
|
+
'frostedBlue-lighten90': cnamColorsTokens.frostedBlue.lighten90,
|
|
1446
|
+
'frostedBlue-lighten97': cnamColorsTokens.frostedBlue.lighten97,
|
|
1434
1447
|
}
|
|
1435
1448
|
const paColors = {
|
|
1436
|
-
'
|
|
1437
|
-
'
|
|
1438
|
-
'
|
|
1439
|
-
'
|
|
1440
|
-
'
|
|
1441
|
-
'
|
|
1442
|
-
'
|
|
1443
|
-
'
|
|
1444
|
-
'
|
|
1445
|
-
'
|
|
1446
|
-
'
|
|
1449
|
+
'frostedBlue-darken80': paColorsTokens.frostedBlue.darken80,
|
|
1450
|
+
'frostedBlue-darken60': paColorsTokens.frostedBlue.darken60,
|
|
1451
|
+
'frostedBlue-darken40': paColorsTokens.frostedBlue.darken40,
|
|
1452
|
+
'frostedBlue-darken20': paColorsTokens.frostedBlue.darken20,
|
|
1453
|
+
'frostedBlue-base': paColorsTokens.frostedBlue.base,
|
|
1454
|
+
'frostedBlue-lighten20': paColorsTokens.frostedBlue.lighten20,
|
|
1455
|
+
'frostedBlue-lighten40': paColorsTokens.frostedBlue.lighten40,
|
|
1456
|
+
'frostedBlue-lighten60': paColorsTokens.frostedBlue.lighten60,
|
|
1457
|
+
'frostedBlue-lighten80': paColorsTokens.frostedBlue.lighten80,
|
|
1458
|
+
'frostedBlue-lighten90': paColorsTokens.frostedBlue.lighten90,
|
|
1459
|
+
'frostedBlue-lighten97': paColorsTokens.frostedBlue.lighten97,
|
|
1447
1460
|
}
|
|
1448
1461
|
const apColors = {}
|
|
1449
1462
|
const apColors2026 = {}
|
|
@@ -1483,47 +1496,47 @@ export const PaletteParma: StoryObj = {
|
|
|
1483
1496
|
const displayEmptyColors = false
|
|
1484
1497
|
const colorTitleLevel = 3
|
|
1485
1498
|
const cnamColors = {
|
|
1486
|
-
'parma-
|
|
1487
|
-
'parma-
|
|
1488
|
-
'parma-
|
|
1489
|
-
'parma-
|
|
1499
|
+
'parma-darken80': cnamColorsTokens.parma.darken80,
|
|
1500
|
+
'parma-darken60': cnamColorsTokens.parma.darken60,
|
|
1501
|
+
'parma-darken40': cnamColorsTokens.parma.darken40,
|
|
1502
|
+
'parma-darken20': cnamColorsTokens.parma.darken20,
|
|
1490
1503
|
'parma-base': cnamColorsTokens.parma.base,
|
|
1491
|
-
'parma-
|
|
1492
|
-
'parma-
|
|
1493
|
-
'parma-
|
|
1494
|
-
'parma-
|
|
1495
|
-
'parma-
|
|
1496
|
-
'parma-
|
|
1504
|
+
'parma-lighten20': cnamColorsTokens.parma.lighten20,
|
|
1505
|
+
'parma-lighten40': cnamColorsTokens.parma.lighten40,
|
|
1506
|
+
'parma-lighten60': cnamColorsTokens.parma.lighten60,
|
|
1507
|
+
'parma-lighten80': cnamColorsTokens.parma.lighten80,
|
|
1508
|
+
'parma-lighten90': cnamColorsTokens.parma.lighten90,
|
|
1509
|
+
'parma-lighten97': cnamColorsTokens.parma.lighten97,
|
|
1497
1510
|
}
|
|
1498
1511
|
const paColors = {
|
|
1499
|
-
'parma-
|
|
1500
|
-
'parma-
|
|
1501
|
-
'parma-
|
|
1502
|
-
'parma-
|
|
1512
|
+
'parma-darken80': paColorsTokens.parma.darken80,
|
|
1513
|
+
'parma-darken60': paColorsTokens.parma.darken60,
|
|
1514
|
+
'parma-darken40': paColorsTokens.parma.darken40,
|
|
1515
|
+
'parma-darken20': paColorsTokens.parma.darken20,
|
|
1503
1516
|
'parma-base': paColorsTokens.parma.base,
|
|
1504
|
-
'parma-
|
|
1505
|
-
'parma-
|
|
1506
|
-
'parma-
|
|
1507
|
-
'parma-
|
|
1508
|
-
'parma-
|
|
1509
|
-
'parma-
|
|
1517
|
+
'parma-lighten20': paColorsTokens.parma.lighten20,
|
|
1518
|
+
'parma-lighten40': paColorsTokens.parma.lighten40,
|
|
1519
|
+
'parma-lighten60': paColorsTokens.parma.lighten60,
|
|
1520
|
+
'parma-lighten80': paColorsTokens.parma.lighten80,
|
|
1521
|
+
'parma-lighten90': paColorsTokens.parma.lighten90,
|
|
1522
|
+
'parma-lighten97': paColorsTokens.parma.lighten97,
|
|
1510
1523
|
}
|
|
1511
1524
|
const apColors = {
|
|
1512
|
-
'parma-
|
|
1513
|
-
'parma-
|
|
1514
|
-
'parma-
|
|
1515
|
-
'parma-
|
|
1525
|
+
'parma-darken80': apColorsTokens.parma.darken80,
|
|
1526
|
+
'parma-darken60': apColorsTokens.parma.darken60,
|
|
1527
|
+
'parma-darken40': apColorsTokens.parma.darken40,
|
|
1528
|
+
'parma-darken20': apColorsTokens.parma.darken20,
|
|
1516
1529
|
'parma-base': apColorsTokens.parma.base,
|
|
1517
|
-
'parma-
|
|
1518
|
-
'parma-
|
|
1519
|
-
'parma-
|
|
1520
|
-
'parma-
|
|
1521
|
-
'parma-
|
|
1522
|
-
'parma-
|
|
1530
|
+
'parma-lighten20': apColorsTokens.parma.lighten20,
|
|
1531
|
+
'parma-lighten40': apColorsTokens.parma.lighten40,
|
|
1532
|
+
'parma-lighten60': apColorsTokens.parma.lighten60,
|
|
1533
|
+
'parma-lighten80': apColorsTokens.parma.lighten80,
|
|
1534
|
+
'parma-lighten90': apColorsTokens.parma.lighten90,
|
|
1535
|
+
'parma-lighten97': apColorsTokens.parma.lighten97,
|
|
1523
1536
|
}
|
|
1524
1537
|
const apColors2026 = {
|
|
1525
|
-
'
|
|
1526
|
-
'
|
|
1538
|
+
'apParme-darken1': apColorsTokens2026.apParme.darken1,
|
|
1539
|
+
'apParme-base': apColorsTokens2026.apParme.base,
|
|
1527
1540
|
}
|
|
1528
1541
|
return {
|
|
1529
1542
|
cnamColors,
|
|
@@ -1561,43 +1574,43 @@ export const PaletteMauve: StoryObj = {
|
|
|
1561
1574
|
const displayEmptyColors = false
|
|
1562
1575
|
const colorTitleLevel = 3
|
|
1563
1576
|
const cnamColors = {
|
|
1564
|
-
'mauve-
|
|
1565
|
-
'mauve-
|
|
1566
|
-
'mauve-
|
|
1567
|
-
'mauve-
|
|
1577
|
+
'mauve-darken80': cnamColorsTokens.mauve.darken80,
|
|
1578
|
+
'mauve-darken60': cnamColorsTokens.mauve.darken60,
|
|
1579
|
+
'mauve-darken40': cnamColorsTokens.mauve.darken40,
|
|
1580
|
+
'mauve-darken20': cnamColorsTokens.mauve.darken20,
|
|
1568
1581
|
'mauve-base': cnamColorsTokens.mauve.base,
|
|
1569
|
-
'mauve-
|
|
1570
|
-
'mauve-
|
|
1571
|
-
'mauve-
|
|
1572
|
-
'mauve-
|
|
1573
|
-
'mauve-
|
|
1574
|
-
'mauve-
|
|
1582
|
+
'mauve-lighten20': cnamColorsTokens.mauve.lighten20,
|
|
1583
|
+
'mauve-lighten40': cnamColorsTokens.mauve.lighten40,
|
|
1584
|
+
'mauve-lighten60': cnamColorsTokens.mauve.lighten60,
|
|
1585
|
+
'mauve-lighten80': cnamColorsTokens.mauve.lighten80,
|
|
1586
|
+
'mauve-lighten90': cnamColorsTokens.mauve.lighten90,
|
|
1587
|
+
'mauve-lighten97': cnamColorsTokens.mauve.lighten97,
|
|
1575
1588
|
}
|
|
1576
1589
|
const paColors = {
|
|
1577
|
-
'mauve-
|
|
1578
|
-
'mauve-
|
|
1579
|
-
'mauve-
|
|
1580
|
-
'mauve-
|
|
1590
|
+
'mauve-darken80': paColorsTokens.mauve.darken80,
|
|
1591
|
+
'mauve-darken60': paColorsTokens.mauve.darken60,
|
|
1592
|
+
'mauve-darken40': paColorsTokens.mauve.darken40,
|
|
1593
|
+
'mauve-darken20': paColorsTokens.mauve.darken20,
|
|
1581
1594
|
'mauve-base': paColorsTokens.mauve.base,
|
|
1582
|
-
'mauve-
|
|
1583
|
-
'mauve-
|
|
1584
|
-
'mauve-
|
|
1585
|
-
'mauve-
|
|
1586
|
-
'mauve-
|
|
1587
|
-
'mauve-
|
|
1595
|
+
'mauve-lighten20': paColorsTokens.mauve.lighten20,
|
|
1596
|
+
'mauve-lighten40': paColorsTokens.mauve.lighten40,
|
|
1597
|
+
'mauve-lighten60': paColorsTokens.mauve.lighten60,
|
|
1598
|
+
'mauve-lighten80': paColorsTokens.mauve.lighten80,
|
|
1599
|
+
'mauve-lighten90': paColorsTokens.mauve.lighten90,
|
|
1600
|
+
'mauve-lighten97': paColorsTokens.mauve.lighten97,
|
|
1588
1601
|
}
|
|
1589
1602
|
const apColors = {
|
|
1590
|
-
'mauve-
|
|
1591
|
-
'mauve-
|
|
1592
|
-
'mauve-
|
|
1593
|
-
'mauve-
|
|
1603
|
+
'mauve-darken80': apColorsTokens.mauve.darken80,
|
|
1604
|
+
'mauve-darken60': apColorsTokens.mauve.darken60,
|
|
1605
|
+
'mauve-darken40': apColorsTokens.mauve.darken40,
|
|
1606
|
+
'mauve-darken20': apColorsTokens.mauve.darken20,
|
|
1594
1607
|
'mauve-base': apColorsTokens.mauve.base,
|
|
1595
|
-
'mauve-
|
|
1596
|
-
'mauve-
|
|
1597
|
-
'mauve-
|
|
1598
|
-
'mauve-
|
|
1599
|
-
'mauve-
|
|
1600
|
-
'mauve-
|
|
1608
|
+
'mauve-lighten20': apColorsTokens.mauve.lighten20,
|
|
1609
|
+
'mauve-lighten40': apColorsTokens.mauve.lighten40,
|
|
1610
|
+
'mauve-lighten60': apColorsTokens.mauve.lighten60,
|
|
1611
|
+
'mauve-lighten80': apColorsTokens.mauve.lighten80,
|
|
1612
|
+
'mauve-lighten90': apColorsTokens.mauve.lighten90,
|
|
1613
|
+
'mauve-lighten97': apColorsTokens.mauve.lighten97,
|
|
1601
1614
|
}
|
|
1602
1615
|
const apColors2026 = {}
|
|
1603
1616
|
return {
|
|
@@ -1636,46 +1649,46 @@ export const PalettePink: StoryObj = {
|
|
|
1636
1649
|
const displayEmptyColors = false
|
|
1637
1650
|
const colorTitleLevel = 3
|
|
1638
1651
|
const cnamColors = {
|
|
1639
|
-
'pink-
|
|
1640
|
-
'pink-
|
|
1641
|
-
'pink-
|
|
1642
|
-
'pink-
|
|
1652
|
+
'pink-darken80': cnamColorsTokens.pink.darken80,
|
|
1653
|
+
'pink-darken60': cnamColorsTokens.pink.darken60,
|
|
1654
|
+
'pink-darken40': cnamColorsTokens.pink.darken40,
|
|
1655
|
+
'pink-darken20': cnamColorsTokens.pink.darken20,
|
|
1643
1656
|
'pink-base': cnamColorsTokens.pink.base,
|
|
1644
|
-
'pink-
|
|
1645
|
-
'pink-
|
|
1646
|
-
'pink-
|
|
1647
|
-
'pink-
|
|
1648
|
-
'pink-
|
|
1649
|
-
'pink-
|
|
1657
|
+
'pink-lighten20': cnamColorsTokens.pink.lighten20,
|
|
1658
|
+
'pink-lighten40': cnamColorsTokens.pink.lighten40,
|
|
1659
|
+
'pink-lighten60': cnamColorsTokens.pink.lighten60,
|
|
1660
|
+
'pink-lighten80': cnamColorsTokens.pink.lighten80,
|
|
1661
|
+
'pink-lighten90': cnamColorsTokens.pink.lighten90,
|
|
1662
|
+
'pink-lighten97': cnamColorsTokens.pink.lighten97,
|
|
1650
1663
|
}
|
|
1651
1664
|
const paColors = {
|
|
1652
|
-
'pink-
|
|
1653
|
-
'pink-
|
|
1654
|
-
'pink-
|
|
1655
|
-
'pink-
|
|
1665
|
+
'pink-darken80': paColorsTokens.pink.darken80,
|
|
1666
|
+
'pink-darken60': paColorsTokens.pink.darken60,
|
|
1667
|
+
'pink-darken40': paColorsTokens.pink.darken40,
|
|
1668
|
+
'pink-darken20': paColorsTokens.pink.darken20,
|
|
1656
1669
|
'pink-base': paColorsTokens.pink.base,
|
|
1657
|
-
'pink-
|
|
1658
|
-
'pink-
|
|
1659
|
-
'pink-
|
|
1660
|
-
'pink-
|
|
1661
|
-
'pink-
|
|
1662
|
-
'pink-
|
|
1670
|
+
'pink-lighten20': paColorsTokens.pink.lighten20,
|
|
1671
|
+
'pink-lighten40': paColorsTokens.pink.lighten40,
|
|
1672
|
+
'pink-lighten60': paColorsTokens.pink.lighten60,
|
|
1673
|
+
'pink-lighten80': paColorsTokens.pink.lighten80,
|
|
1674
|
+
'pink-lighten90': paColorsTokens.pink.lighten90,
|
|
1675
|
+
'pink-lighten97': paColorsTokens.pink.lighten97,
|
|
1663
1676
|
}
|
|
1664
1677
|
const apColors = {
|
|
1665
|
-
'pink-
|
|
1666
|
-
'pink-
|
|
1667
|
-
'pink-
|
|
1668
|
-
'pink-
|
|
1678
|
+
'pink-darken80': apColorsTokens.pink.darken80,
|
|
1679
|
+
'pink-darken60': apColorsTokens.pink.darken60,
|
|
1680
|
+
'pink-darken40': apColorsTokens.pink.darken40,
|
|
1681
|
+
'pink-darken20': apColorsTokens.pink.darken20,
|
|
1669
1682
|
'pink-base': apColorsTokens.pink.base,
|
|
1670
|
-
'pink-
|
|
1671
|
-
'pink-
|
|
1672
|
-
'pink-
|
|
1673
|
-
'pink-
|
|
1674
|
-
'pink-
|
|
1675
|
-
'pink-
|
|
1683
|
+
'pink-lighten20': apColorsTokens.pink.lighten20,
|
|
1684
|
+
'pink-lighten40': apColorsTokens.pink.lighten40,
|
|
1685
|
+
'pink-lighten60': apColorsTokens.pink.lighten60,
|
|
1686
|
+
'pink-lighten80': apColorsTokens.pink.lighten80,
|
|
1687
|
+
'pink-lighten90': apColorsTokens.pink.lighten90,
|
|
1688
|
+
'pink-lighten97': apColorsTokens.pink.lighten97,
|
|
1676
1689
|
}
|
|
1677
1690
|
const apColors2026 = {
|
|
1678
|
-
'
|
|
1691
|
+
'apPink-base': apColorsTokens2026.apPink.base,
|
|
1679
1692
|
}
|
|
1680
1693
|
return {
|
|
1681
1694
|
cnamColors,
|
|
@@ -1713,30 +1726,30 @@ export const PaletteBrick: StoryObj = {
|
|
|
1713
1726
|
const displayEmptyColors = false
|
|
1714
1727
|
const colorTitleLevel = 3
|
|
1715
1728
|
const cnamColors = {
|
|
1716
|
-
'brick-
|
|
1717
|
-
'brick-
|
|
1718
|
-
'brick-
|
|
1719
|
-
'brick-
|
|
1729
|
+
'brick-darken80': cnamColorsTokens.brick.darken80,
|
|
1730
|
+
'brick-darken60': cnamColorsTokens.brick.darken60,
|
|
1731
|
+
'brick-darken40': cnamColorsTokens.brick.darken40,
|
|
1732
|
+
'brick-darken20': cnamColorsTokens.brick.darken20,
|
|
1720
1733
|
'brick-base': cnamColorsTokens.brick.base,
|
|
1721
|
-
'brick-
|
|
1722
|
-
'brick-
|
|
1723
|
-
'brick-
|
|
1724
|
-
'brick-
|
|
1725
|
-
'brick-
|
|
1726
|
-
'brick-
|
|
1734
|
+
'brick-lighten20': cnamColorsTokens.brick.lighten20,
|
|
1735
|
+
'brick-lighten40': cnamColorsTokens.brick.lighten40,
|
|
1736
|
+
'brick-lighten60': cnamColorsTokens.brick.lighten60,
|
|
1737
|
+
'brick-lighten80': cnamColorsTokens.brick.lighten80,
|
|
1738
|
+
'brick-lighten90': cnamColorsTokens.brick.lighten90,
|
|
1739
|
+
'brick-lighten97': cnamColorsTokens.brick.lighten97,
|
|
1727
1740
|
}
|
|
1728
1741
|
const paColors = {
|
|
1729
|
-
'brick-
|
|
1730
|
-
'brick-
|
|
1731
|
-
'brick-
|
|
1732
|
-
'brick-
|
|
1742
|
+
'brick-darken80': paColorsTokens.brick.darken80,
|
|
1743
|
+
'brick-darken60': paColorsTokens.brick.darken60,
|
|
1744
|
+
'brick-darken40': paColorsTokens.brick.darken40,
|
|
1745
|
+
'brick-darken20': paColorsTokens.brick.darken20,
|
|
1733
1746
|
'brick-base': paColorsTokens.brick.base,
|
|
1734
|
-
'brick-
|
|
1735
|
-
'brick-
|
|
1736
|
-
'brick-
|
|
1737
|
-
'brick-
|
|
1738
|
-
'brick-
|
|
1739
|
-
'brick-
|
|
1747
|
+
'brick-lighten20': paColorsTokens.brick.lighten20,
|
|
1748
|
+
'brick-lighten40': paColorsTokens.brick.lighten40,
|
|
1749
|
+
'brick-lighten60': paColorsTokens.brick.lighten60,
|
|
1750
|
+
'brick-lighten80': paColorsTokens.brick.lighten80,
|
|
1751
|
+
'brick-lighten90': paColorsTokens.brick.lighten90,
|
|
1752
|
+
'brick-lighten97': paColorsTokens.brick.lighten97,
|
|
1740
1753
|
}
|
|
1741
1754
|
const apColors = {}
|
|
1742
1755
|
const apColors2026 = {}
|
|
@@ -1776,53 +1789,53 @@ export const PaletteGrey: StoryObj = {
|
|
|
1776
1789
|
const displayEmptyColors = false
|
|
1777
1790
|
const colorTitleLevel = 3
|
|
1778
1791
|
const cnamColors = {
|
|
1779
|
-
'grey-
|
|
1780
|
-
'grey-
|
|
1781
|
-
'grey-
|
|
1782
|
-
'grey-
|
|
1792
|
+
'grey-darken80': cnamColorsTokens.grey.darken80,
|
|
1793
|
+
'grey-darken60': cnamColorsTokens.grey.darken60,
|
|
1794
|
+
'grey-darken40': cnamColorsTokens.grey.darken40,
|
|
1795
|
+
'grey-darken20': cnamColorsTokens.grey.darken20,
|
|
1783
1796
|
'grey-base': cnamColorsTokens.grey.base,
|
|
1784
|
-
'grey-
|
|
1785
|
-
'grey-
|
|
1786
|
-
'grey-
|
|
1787
|
-
'grey-
|
|
1788
|
-
'grey-
|
|
1789
|
-
'grey-
|
|
1797
|
+
'grey-lighten20': cnamColorsTokens.grey.lighten20,
|
|
1798
|
+
'grey-lighten40': cnamColorsTokens.grey.lighten40,
|
|
1799
|
+
'grey-lighten60': cnamColorsTokens.grey.lighten60,
|
|
1800
|
+
'grey-lighten80': cnamColorsTokens.grey.lighten80,
|
|
1801
|
+
'grey-lighten90': cnamColorsTokens.grey.lighten90,
|
|
1802
|
+
'grey-lighten97': cnamColorsTokens.grey.lighten97,
|
|
1790
1803
|
}
|
|
1791
1804
|
const paColors = {
|
|
1792
|
-
'grey-
|
|
1793
|
-
'grey-
|
|
1794
|
-
'grey-
|
|
1795
|
-
'grey-
|
|
1805
|
+
'grey-darken80': paColorsTokens.grey.darken80,
|
|
1806
|
+
'grey-darken60': paColorsTokens.grey.darken60,
|
|
1807
|
+
'grey-darken40': paColorsTokens.grey.darken40,
|
|
1808
|
+
'grey-darken20': paColorsTokens.grey.darken20,
|
|
1796
1809
|
'grey-base': paColorsTokens.grey.base,
|
|
1797
|
-
'grey-
|
|
1798
|
-
'grey-
|
|
1799
|
-
'grey-
|
|
1800
|
-
'grey-
|
|
1801
|
-
'grey-
|
|
1802
|
-
'grey-
|
|
1810
|
+
'grey-lighten20': paColorsTokens.grey.lighten20,
|
|
1811
|
+
'grey-lighten40': paColorsTokens.grey.lighten40,
|
|
1812
|
+
'grey-lighten60': paColorsTokens.grey.lighten60,
|
|
1813
|
+
'grey-lighten80': paColorsTokens.grey.lighten80,
|
|
1814
|
+
'grey-lighten90': paColorsTokens.grey.lighten90,
|
|
1815
|
+
'grey-lighten97': paColorsTokens.grey.lighten97,
|
|
1803
1816
|
}
|
|
1804
1817
|
const apColors = {
|
|
1805
|
-
'grey-
|
|
1806
|
-
'grey-
|
|
1807
|
-
'grey-
|
|
1808
|
-
'grey-
|
|
1818
|
+
'grey-darken80': apColorsTokens.grey.darken80,
|
|
1819
|
+
'grey-darken60': apColorsTokens.grey.darken60,
|
|
1820
|
+
'grey-darken40': apColorsTokens.grey.darken40,
|
|
1821
|
+
'grey-darken20': apColorsTokens.grey.darken20,
|
|
1809
1822
|
'grey-base': apColorsTokens.grey.base,
|
|
1810
|
-
'grey-
|
|
1811
|
-
'grey-
|
|
1812
|
-
'grey-
|
|
1813
|
-
'grey-
|
|
1814
|
-
'grey-
|
|
1815
|
-
'grey-
|
|
1823
|
+
'grey-lighten20': apColorsTokens.grey.lighten20,
|
|
1824
|
+
'grey-lighten40': apColorsTokens.grey.lighten40,
|
|
1825
|
+
'grey-lighten60': apColorsTokens.grey.lighten60,
|
|
1826
|
+
'grey-lighten80': apColorsTokens.grey.lighten80,
|
|
1827
|
+
'grey-lighten90': apColorsTokens.grey.lighten90,
|
|
1828
|
+
'grey-lighten97': apColorsTokens.grey.lighten97,
|
|
1816
1829
|
}
|
|
1817
1830
|
const apColors2026 = {
|
|
1818
|
-
'
|
|
1819
|
-
'
|
|
1820
|
-
'
|
|
1821
|
-
'
|
|
1822
|
-
'
|
|
1823
|
-
'
|
|
1824
|
-
'
|
|
1825
|
-
'
|
|
1831
|
+
'apGrey-darken1': apColorsTokens2026.apGrey.darken1,
|
|
1832
|
+
'apGrey-base': apColorsTokens2026.apGrey.base,
|
|
1833
|
+
'apGrey-lighten1': apColorsTokens2026.apGrey.lighten1,
|
|
1834
|
+
'apGrey-lighten2': apColorsTokens2026.apGrey.lighten2,
|
|
1835
|
+
'apGrey-lighten3': apColorsTokens2026.apGrey.lighten3,
|
|
1836
|
+
'apGrey-lighten4': apColorsTokens2026.apGrey.lighten4,
|
|
1837
|
+
'apGrey-lighten5': apColorsTokens2026.apGrey.lighten5,
|
|
1838
|
+
'apGrey-lighten6': apColorsTokens2026.apGrey.lighten6,
|
|
1826
1839
|
}
|
|
1827
1840
|
return {
|
|
1828
1841
|
cnamColors,
|
|
@@ -1860,28 +1873,28 @@ export const PaletteWhite: StoryObj = {
|
|
|
1860
1873
|
const displayEmptyColors = false
|
|
1861
1874
|
const colorTitleLevel = 3
|
|
1862
1875
|
const cnamColors = {
|
|
1863
|
-
'white-
|
|
1864
|
-
'white-
|
|
1865
|
-
'white-
|
|
1866
|
-
'white-
|
|
1876
|
+
'white-lighten70': cnamColorsTokens.white.lighten70,
|
|
1877
|
+
'white-lighten40': cnamColorsTokens.white.lighten40,
|
|
1878
|
+
'white-lighten38': cnamColorsTokens.white.lighten38,
|
|
1879
|
+
'white-lighten20': cnamColorsTokens.white.lighten20,
|
|
1867
1880
|
'white-base': cnamColorsTokens.white.base,
|
|
1868
1881
|
}
|
|
1869
1882
|
const paColors = {
|
|
1870
|
-
'white-
|
|
1871
|
-
'white-
|
|
1872
|
-
'white-
|
|
1873
|
-
'white-
|
|
1883
|
+
'white-lighten70': paColorsTokens.white.lighten70,
|
|
1884
|
+
'white-lighten40': paColorsTokens.white.lighten40,
|
|
1885
|
+
'white-lighten38': paColorsTokens.white.lighten38,
|
|
1886
|
+
'white-lighten20': paColorsTokens.white.lighten20,
|
|
1874
1887
|
'white-base': paColorsTokens.white.base,
|
|
1875
1888
|
}
|
|
1876
1889
|
const apColors = {
|
|
1877
|
-
'white-
|
|
1878
|
-
'white-
|
|
1879
|
-
'white-
|
|
1880
|
-
'white-
|
|
1890
|
+
'white-lighten70': apColorsTokens.white.lighten70,
|
|
1891
|
+
'white-lighten40': apColorsTokens.white.lighten40,
|
|
1892
|
+
'white-lighten38': apColorsTokens.white.lighten38,
|
|
1893
|
+
'white-lighten20': apColorsTokens.white.lighten20,
|
|
1881
1894
|
'white-base': apColorsTokens.white.base,
|
|
1882
1895
|
}
|
|
1883
1896
|
const apColors2026 = {
|
|
1884
|
-
'
|
|
1897
|
+
'apWhite-base': apColorsTokens2026.apWhite.base,
|
|
1885
1898
|
}
|
|
1886
1899
|
return {
|
|
1887
1900
|
cnamColors,
|
|
@@ -1922,7 +1935,7 @@ export const PaletteBlack: StoryObj = {
|
|
|
1922
1935
|
const paColors = {}
|
|
1923
1936
|
const apColors = {}
|
|
1924
1937
|
const apColors2026 = {
|
|
1925
|
-
'
|
|
1938
|
+
'apBlack-base': apColorsTokens2026.apBlack.base,
|
|
1926
1939
|
}
|
|
1927
1940
|
return {
|
|
1928
1941
|
displayEmptyColors,
|