@cnamts/synapse 1.0.26 → 1.1.0
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-BPR-a55G.js → AutocompleteFilter-DXd4szWO.js} +1 -1
- package/dist/{DateFilter-CknrJWs2.js → DateFilter-BD59Kgwf.js} +1 -1
- package/dist/{NumberFilter-DJ-yNlzv.js → NumberFilter-BSMZE7uw.js} +1 -1
- package/dist/{PeriodFilter-CiB5Oa9Z.js → PeriodFilter-keUdSSk0.js} +1 -1
- package/dist/{SelectFilter-EiafX97M.js → SelectFilter-Dhvvwazl.js} +1 -1
- package/dist/{TextFilter-BzOmpdxj.js → TextFilter-CU8FpXz0.js} +1 -1
- package/dist/apLightTheme2026-DbS7BPUf.js +612 -0
- package/dist/components/Amelipro/AmeliproAutoCompleteField/AmeliproAutoCompleteField.d.ts +4 -4
- 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 +4 -4
- package/dist/components/Amelipro/AmeliproTabs/AmeliproTabs.d.ts +4 -4
- package/dist/components/Amelipro/AmeliproTextArea/AmeliproTextArea.d.ts +4 -4
- package/dist/components/Amelipro/AmeliproTextField/AmeliproTextField.d.ts +4 -4
- package/dist/components/CookiesSelection/CookiesInformation/CookiesInformation.d.ts +2 -2
- package/dist/components/Customs/Selects/SyAutocomplete/SyAutocomplete.d.ts +2275 -487
- package/dist/components/Customs/Selects/SyAutocomplete/composables/useSyAutocompleteValidation.d.ts +18 -0
- package/dist/components/Customs/Selects/SyAutocomplete/utils/ariaManager.d.ts +1 -1
- package/dist/components/Customs/Selects/SyAutocomplete/utils/useKeyboardHandler.d.ts +3 -1
- package/dist/components/Customs/Selects/SyInputSelect/SyInputSelect.d.ts +1 -1
- package/dist/components/Customs/Selects/SySelect/SySelect.d.ts +12 -15
- package/dist/components/Customs/Selects/SySelect/composables/useSySelectKeyboard.d.ts +1 -0
- package/dist/components/Customs/Selects/SySelect/composables/useSySelectValidation.d.ts +15 -0
- package/dist/components/Customs/SyCheckBoxGroup/SyCheckBoxGroup.d.ts +4 -4
- package/dist/components/Customs/SyCheckbox/SyCheckbox.d.ts +6 -6
- package/dist/components/Customs/SyIcon/SyIcon.d.ts +77 -1
- package/dist/components/Customs/SyIconButton/SyIconButton.d.ts +18 -0
- package/dist/components/Customs/SyRadioGroup/SyRadioGroup.d.ts +23 -41
- package/dist/components/Customs/SyRadioGroup/composables/useSyRadioGroupValidation.d.ts +50 -0
- package/dist/components/Customs/SyTextField/SyTextField.d.ts +20 -80
- 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 +253 -694
- package/dist/components/DatePicker/ComplexDatePicker/ComplexDatePicker.d.ts +121 -339
- package/dist/components/DatePicker/DateTextInput/DateTextInput.d.ts +54 -164
- package/dist/components/DatePicker/composables/index.d.ts +1 -0
- package/dist/components/DatePicker/composables/useDatePickerValidationBridge.d.ts +51 -0
- package/dist/components/FilterInline/FilterInline.d.ts +3 -3
- package/dist/components/FilterSideBar/FilterSideBar.d.ts +4 -4
- package/dist/components/MonthPicker/MonthPicker.d.ts +49 -162
- package/dist/components/MonthPicker/MonthPickerText/MonthPickerInput.d.ts +49 -162
- package/dist/components/NirField/NirField.d.ts +120 -351
- package/dist/components/NirField/useNirValidation.d.ts +10 -20
- package/dist/components/PasswordField/PasswordField.d.ts +21 -40
- 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 +485 -1365
- package/dist/components/PhoneField/PhoneField.d.ts +49 -162
- package/dist/components/SearchListField/SearchListField.d.ts +3 -3
- package/dist/components/SyTextArea/SyTextArea.d.ts +30 -17
- package/dist/components/SyTextArea/composables/useSyTextAreaValidation.d.ts +20 -0
- package/dist/components/SyTextArea/locales.d.ts +1 -0
- package/dist/components/Tables/SyServerTable/SyServerTable.d.ts +1 -0
- package/dist/components/Tables/SyTable/SyTable.d.ts +1 -0
- package/dist/components/Tables/common/SyTablePagination.d.ts +33 -34
- package/dist/components/Tables/common/types.d.ts +2 -0
- package/dist/components/index.d.ts +1 -0
- package/dist/composables/unifyValidation/documentationValidationProps.d.ts +160 -160
- package/dist/composables/unifyValidation/useValidation.d.ts +17 -23
- package/dist/composables/useFilterable/useFilterable.d.ts +1 -2
- package/dist/design-system-v3.js +81 -80
- package/dist/designTokens/tokens/amelipro/apContextual.d.ts +6 -6
- package/dist/designTokens/tokens/amelipro/apDarkTheme.d.ts +3 -1
- package/dist/designTokens/tokens/amelipro/apLightTheme.d.ts +54 -100
- package/dist/designTokens/tokens/baseContextualTokens.d.ts +0 -6
- package/dist/designTokens/tokens/baseTokens.d.ts +232 -0
- package/dist/designTokens/tokens/cnam/cnamContextual.d.ts +6 -6
- package/dist/designTokens/tokens/cnam/cnamDarkTheme.d.ts +1 -1
- package/dist/designTokens/tokens/cnam/cnamLightTheme.d.ts +57 -101
- package/dist/designTokens/tokens/pa/paContextual.d.ts +0 -6
- package/dist/designTokens/tokens/pa/paDarkTheme.d.ts +1 -1
- package/dist/designTokens/tokens/pa/paLightTheme.d.ts +54 -97
- package/dist/designTokens/tokens/pa/paSemantic.d.ts +1 -0
- package/dist/designTokens/tokens/semanticTokens.d.ts +112 -0
- package/dist/main-D8ryUoS5.js +39481 -0
- package/dist/synapse.css +1 -1
- package/dist/vuetifyConfig.js +212 -74
- package/package.json +8 -5
- package/src/assets/overrides/_icons.scss +5 -4
- package/src/assets/overrides/_otp.scss +4 -4
- package/src/assets/overrides/_typography.scss +2 -1
- package/src/assets/overrides/_utilities.scss +1 -42
- 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/tests/__snapshots__/back-btn-custom-bg.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/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/tests/Captcha.visual.cy.ts +45 -0
- package/src/components/Captcha/tests/__snapshots__/Captcha.spec.ts.snap +4 -0
- 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/ChipList/ChipList.vue +30 -18
- 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/ChipList/tests/chipList.spec.ts +4 -4
- 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/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.vue +2 -2
- 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 +4 -0
- package/src/components/Customs/Selects/SelectBtnField/SelectBtnField.vue +7 -6
- package/src/components/Customs/Selects/SelectBtnField/tests/SelectBtnField.spec.ts +223 -0
- package/src/components/Customs/Selects/SelectBtnField/tests/SelectBtnField.visual.cy.ts +60 -0
- 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.stories.ts +283 -351
- package/src/components/Customs/Selects/SyAutocomplete/SyAutocomplete.vue +183 -219
- package/src/components/Customs/Selects/SyAutocomplete/composables/useSyAutocompleteValidation.ts +101 -0
- package/src/components/Customs/Selects/SyAutocomplete/tests/SyAutocomplete.spec.ts +763 -1
- 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/utils/ariaManager.ts +3 -1
- package/src/components/Customs/Selects/SyAutocomplete/utils/useKeyboardHandler.ts +79 -5
- package/src/components/Customs/Selects/SyAutocomplete/validation/Validation.stories.ts +936 -0
- 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.stories.ts +9 -491
- package/src/components/Customs/Selects/SySelect/SySelect.vue +68 -126
- package/src/components/Customs/Selects/SySelect/composables/useSySelectKeyboard.ts +3 -0
- package/src/components/Customs/Selects/SySelect/composables/useSySelectValidation.ts +64 -0
- package/src/components/Customs/Selects/SySelect/tests/SySelect.spec.ts +199 -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 +935 -0
- package/src/components/Customs/SyCheckBoxGroup/SyCheckBoxGroup.stories.ts +18 -7
- package/src/components/Customs/SyCheckBoxGroup/SyCheckBoxGroup.vue +3 -3
- 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/SyCheckbox/SyCheckbox.stories.ts +8 -8
- package/src/components/Customs/SyCheckbox/SyCheckbox.vue +9 -17
- package/src/components/Customs/SyCheckbox/tests/SyCheckbox.spec.ts +1 -1
- 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/SyIcon/SyIcon.vue +19 -1
- package/src/components/Customs/SyIcon/accessibilite/Accessibility.mdx +0 -6
- 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/SyIcon/utils/tests/iconUtils.spec.ts +107 -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.mdx +2 -2
- package/src/components/Customs/SyRadioGroup/SyRadioGroup.stories.ts +395 -201
- package/src/components/Customs/SyRadioGroup/SyRadioGroup.vue +83 -127
- package/src/components/Customs/SyRadioGroup/composables/useSyRadioGroupValidation.ts +127 -0
- package/src/components/Customs/SyRadioGroup/tests/SyRadioGroup.a11y.spec.ts +93 -1
- package/src/components/Customs/SyRadioGroup/tests/SyRadioGroup.spec.ts +146 -9
- package/src/components/Customs/SyRadioGroup/tests/SyRadioGroup.visual.cy.ts +165 -0
- 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 +809 -0
- package/src/components/Customs/SyTabs/config.ts +3 -3
- package/src/components/Customs/SyTabs/tests/SyTabs.spec.ts +265 -0
- 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/SyTabs/tests/useTabTransition.spec.ts +188 -0
- package/src/components/Customs/SyTextField/SyTextField.stories.ts +166 -803
- package/src/components/Customs/SyTextField/SyTextField.vue +191 -168
- 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 +104 -0
- package/src/components/DataList/DataList.stories.ts +1 -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/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.spec.ts +3 -1
- 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 +43 -148
- package/src/components/DatePicker/CalendarMode/tests/DatePicker.coverage.spec.ts +156 -0
- package/src/components/DatePicker/CalendarMode/tests/DatePicker.spec.ts +495 -4
- package/src/components/DatePicker/ComplexDatePicker/ComplexDatePicker.stories.ts +1 -1
- package/src/components/DatePicker/ComplexDatePicker/ComplexDatePicker.vue +51 -71
- package/src/components/DatePicker/ComplexDatePicker/tests/ComplexDatePicker.spec.ts +206 -0
- package/src/components/DatePicker/ComplexDatePicker/tests/bridge-integration.regression.spec.ts +210 -0
- package/src/components/DatePicker/ComplexDatePicker/tests/calendar-navigation.regression.spec.ts +214 -0
- package/src/components/DatePicker/ComplexDatePicker/tests/validation-cross.regression.spec.ts +194 -0
- package/src/components/DatePicker/ComplexDatePicker/tests/validation-success-messages.regression.spec.ts +83 -0
- package/src/components/DatePicker/DateTextInput/DateRange.stories.ts +1 -1
- package/src/components/DatePicker/DateTextInput/DateTextInput.vue +131 -56
- package/src/components/DatePicker/DateTextInput/NoCalendar.stories.ts +1 -1
- package/src/components/DatePicker/DateTextInput/tests/DateTextInput.spec.ts +320 -0
- package/src/components/DatePicker/composables/index.ts +1 -0
- package/src/components/DatePicker/composables/tests/useCalendarKeyboardNavigation.spec.ts +360 -0
- package/src/components/DatePicker/composables/tests/useDatePickerValidationBridge.spec.ts +129 -0
- package/src/components/DatePicker/composables/tests/useTodayButton.spec.ts +10 -10
- package/src/components/DatePicker/composables/useCalendarKeyboardNavigation.ts +11 -2
- package/src/components/DatePicker/composables/useDatePickerValidationBridge.ts +205 -0
- package/src/components/DatePicker/docExamples/BidirectionalComplexValidation.vue +1 -1
- package/src/components/DatePicker/docExamples/DatePickerBidirectionalValidation.vue +1 -1
- package/src/components/DatePicker/tests/exposed-methods.coverage.spec.ts +75 -0
- 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/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.vue +1 -1
- 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/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/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/UploadItem/UploadItem.vue +4 -4
- 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/FileUpload.vue +2 -2
- package/src/components/FileUpload/FileUploadContent.vue +1 -1
- 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 +2 -2
- 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.stories.ts +5 -2
- package/src/components/FilterSideBar/FilterSideBar.vue +13 -8
- 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.vue +7 -7
- 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.vue +1 -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/HeaderBurgerMenu/HeaderMenuItem/HeaderMenuItem.vue +2 -2
- package/src/components/HeaderBar/HeaderBurgerMenu/HeaderSubMenu/HeaderSubMenu.vue +7 -7
- 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/HeaderMenuBtn/HeaderMenuBtn.vue +2 -2
- 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/tests/HeaderLoading.spec.ts +87 -8
- 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/HorizontalNavbar/HorizontalNavbar.vue +3 -3
- package/src/components/HeaderNavigationBar/HorizontalNavbar/tests/HorizontalNavbar.spec.ts +589 -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.spec.ts +153 -1
- 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/HeaderToolbar/tests/useMobileRightMenu.spec.ts +258 -0
- 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/tests/__snapshots__/logo-avatar.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.spec.ts +2 -2
- package/src/components/LogoBrandSection/tests/LogoBrandSection.visual.cy.ts +43 -0
- package/src/components/LogoBrandSection/tests/__snapshots__/LogoBrandSection.spec.ts.snap +1 -1
- 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/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/useLunarCalendarRules.spec.ts +184 -0
- 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/MonthPickerVisual/MonthSelector.vue +3 -3
- package/src/components/MonthPicker/MonthPickerVisual/VisualPickerFooter.vue +1 -1
- package/src/components/MonthPicker/MonthPickerVisual/VisualPickerHeader.vue +2 -2
- package/src/components/MonthPicker/MonthPickerVisual/YearSelector.vue +1 -1
- package/src/components/MonthPicker/tests/MonthPicker.visual.cy.ts +37 -0
- package/src/components/MonthPicker/tests/__snapshots__/MonthPicker.spec.ts.snap +2 -0
- 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/NirField/NirField.stories.ts +40 -682
- package/src/components/NirField/NirField.vue +101 -35
- 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 +28 -2
- 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__/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/Notification/Notification.vue +12 -12
- package/src/components/NotificationBar/NotificationBar.stories.ts +8 -8
- 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/tests/PageContainer.visual.cy.ts +33 -0
- 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/Pagination.vue +2 -2
- 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 +128 -199
- 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 +147 -109
- 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.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.vue +2 -2
- package/src/components/PhoneField/tests/PhoneField.spec.ts +1 -0
- 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/RangeField/RangeSlider/RangeSlider.vue +2 -2
- package/src/components/RangeField/RangeSlider/Tooltip/Tooltip.vue +1 -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/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/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/tests/StatusPage.spec.ts +149 -0
- package/src/components/StatusPage/tests/StatusPage.visual.cy.ts +47 -0
- 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.vue +1 -1
- 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/SyAlert.vue +23 -23
- 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 +202 -131
- package/src/components/SyTextArea/SyTextArea.vue +242 -83
- package/src/components/SyTextArea/composables/useSyTextAreaValidation.ts +81 -0
- package/src/components/SyTextArea/locales.ts +1 -0
- package/src/components/SyTextArea/tests/SyTextArea.a11y.spec.ts +18 -0
- package/src/components/SyTextArea/tests/SyTextArea.spec.ts +583 -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/useDefaultValidationRules.ts +2 -7
- package/src/components/SyTextArea/validation/Validation.stories.ts +776 -0
- package/src/components/TableToolbar/TableToolbar.vue +6 -6
- package/src/components/TableToolbar/accessibilite/Accessibility.mdx +81 -7
- 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.stories.ts +163 -0
- package/src/components/Tables/SyServerTable/SyServerTable.vue +5 -4
- package/src/components/Tables/SyServerTable/accessibilite/Accessibility.mdx +114 -7
- package/src/components/Tables/SyServerTable/tests/SyServerTable.spec.ts +67 -0
- 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/SyTable.stories.ts +94 -0
- package/src/components/Tables/SyTable/SyTable.vue +2 -1
- package/src/components/Tables/SyTable/accessibilite/Accessibility.mdx +116 -7
- package/src/components/Tables/SyTable/tests/SyTable.spec.ts +64 -0
- 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/TableHeader.vue +2 -2
- package/src/components/Tables/common/filters/logics/tests/NumberFilterLogic.spec.ts +176 -0
- package/src/components/Tables/common/filters/logics/tests/SelectFilterLogic.spec.ts +111 -0
- package/src/components/Tables/common/tableStyles.scss +10 -10
- package/src/components/Tables/common/tests/SyTableFilter.spec.ts +8 -1
- package/src/components/Tables/common/tests/filterByRange.spec.ts +23 -22
- package/src/components/Tables/common/types.ts +2 -0
- 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/tests/UploadWorkflow.spec.ts +3 -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/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/components/index.ts +1 -0
- package/src/composables/date/tests/useDateFormatDayjs.spec.ts +31 -0
- package/src/composables/date/tests/useHolidayDay.spec.ts +109 -0
- package/src/composables/rules/tests/useFieldValidation.spec.ts +374 -0
- package/src/composables/tests/useError.spec.ts +30 -0
- package/src/composables/tests/useFormFieldErrorHandling.spec.ts +234 -0
- package/src/composables/unifyValidation/documentationValidationProps.ts +6 -6
- package/src/composables/unifyValidation/tests/documentationValidationProps.spec.ts +177 -0
- package/src/composables/unifyValidation/tests/useCustomValidation.spec.ts +30 -0
- package/src/composables/unifyValidation/tests/useValidation.spec.ts +6 -2
- package/src/composables/unifyValidation/useCustomValidation.ts +19 -9
- package/src/composables/unifyValidation/useValidation.ts +35 -32
- package/src/composables/useFilterable/useFilterable.spec.ts +139 -134
- package/src/composables/useFilterable/useFilterable.ts +17 -24
- package/src/composables/useFormFieldErrorHandling.ts +3 -3
- 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/VBtn/VBtn.mdx +9 -39
- package/src/composantsVuetify/VBtn/v-btn.stories.ts +26 -86
- package/src/composantsVuetify/VCard/VCard.mdx +8 -0
- package/src/composantsVuetify/VCard/v-card.stories.ts +191 -1
- package/src/composantsVuetify/VStepper/VStepper.mdx +56 -0
- package/src/composantsVuetify/VStepper/v-stepper.stories.ts +563 -0
- package/src/designTokens/tokens/amelipro/apContextual.ts +6 -0
- package/src/designTokens/tokens/amelipro/apDarkTheme.ts +2 -2
- package/src/designTokens/tokens/amelipro/apLightTheme.ts +73 -103
- package/src/designTokens/tokens/amelipro/apSemantic.ts +2 -2
- package/src/designTokens/tokens/baseContextualTokens.ts +1 -6
- package/src/designTokens/tokens/baseTokens.ts +232 -0
- package/src/designTokens/tokens/cnam/cnamContextual.ts +6 -0
- package/src/designTokens/tokens/cnam/cnamDarkTheme.ts +2 -2
- package/src/designTokens/tokens/cnam/cnamLightTheme.ts +76 -104
- package/src/designTokens/tokens/pa/paDarkTheme.ts +2 -2
- package/src/designTokens/tokens/pa/paLightTheme.ts +74 -99
- package/src/designTokens/tokens/pa/paSemantic.ts +2 -0
- package/src/designTokens/tokens/semanticTokens.ts +114 -0
- package/src/stories/Accessibilite/DesignSystem/a11y-status.json +1 -1
- package/src/stories/Components/Components.stories.ts +68 -13
- package/src/stories/Demarrer/Releases.stories.ts +45 -2
- package/src/stories/DesignTokens/ColorIntegrationExample.vue +2 -3
- package/src/stories/DesignTokens/Colors.mdx +8 -8
- package/src/stories/DesignTokens/colors.stories.ts +257 -1081
- 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 +955 -168
- package/src/stories/GuideDuDev/PortailAgent.stories.ts +0 -1
- package/src/utils/amelipro/toKebabCase/tests/toKebabCase.spec.ts +52 -0
- package/src/utils/formatNir/tests/formatNir.spec.ts +34 -0
- package/src/utils/functions/deepCopy/index.ts +2 -3
- package/src/utils/tests/insertAt.spec.ts +44 -0
- package/dist/apLightTheme-DS0Uy44H.js +0 -954
- package/dist/components/Customs/SyCheckbox/locales.d.ts +0 -3
- package/dist/components/RatingPicker/tests/RatingPicker.a11y.spect.d.ts +0 -1
- package/dist/components/SyHeading/SyHeading.a11y.test.d.ts +0 -1
- package/dist/components/SyHeading/SyHeading.test.d.ts +0 -1
- package/dist/main-BsJ9ec3i.js +0 -38954
- package/src/components/Customs/SyCheckbox/locales.ts +0 -3
- package/src/components/Customs/SyTextField/types.d.ts +0 -4
- package/src/components/DatePicker/CalendarMode/tests/DatePicker.events.spec.ts +0 -178
- /package/src/components/RatingPicker/tests/{RatingPicker.a11y.spect.ts → RatingPicker.a11y.spec.ts} +0 -0
|
@@ -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 {
|
|
@@ -99,29 +112,26 @@ export const ColorIntegration: StoryObj = {
|
|
|
99
112
|
tags: ['!dev'],
|
|
100
113
|
}
|
|
101
114
|
|
|
102
|
-
export const
|
|
115
|
+
export const mainColors: StoryObj = {
|
|
103
116
|
render: () => {
|
|
104
117
|
return {
|
|
105
118
|
components: { ColorDisplay },
|
|
106
119
|
setup() {
|
|
107
|
-
const colorTitle = ''
|
|
120
|
+
const colorTitle = 'Couleurs Principales'
|
|
108
121
|
const colorTitleLevel = 3
|
|
122
|
+
const colorDescription = 'Fond et texte (sous condition de contraste) un texte pourrait être en : On-surface ou On-surface variant ...'
|
|
109
123
|
const cnamColors = {
|
|
110
124
|
'primary': cnamLightTheme.primary,
|
|
125
|
+
'primary-variant': cnamLightTheme.primaryVariant,
|
|
111
126
|
'secondary': cnamLightTheme.secondary,
|
|
112
|
-
'
|
|
113
|
-
'info': cnamLightTheme.info,
|
|
114
|
-
'success': cnamLightTheme.success,
|
|
115
|
-
'warning': cnamLightTheme.warning,
|
|
127
|
+
'secondary-variant': cnamLightTheme.secondaryVariant,
|
|
116
128
|
'risque-pro': cnamLightTheme.risquePro,
|
|
117
129
|
}
|
|
118
130
|
const paColors = {
|
|
119
|
-
primary: paLightTheme.primary,
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
success: paLightTheme.success,
|
|
124
|
-
warning: paLightTheme.warning,
|
|
131
|
+
'primary': paLightTheme.primary,
|
|
132
|
+
'primary-variant': paLightTheme.primaryVariant,
|
|
133
|
+
'secondary': paLightTheme.secondary,
|
|
134
|
+
'secondary-variant': paLightTheme.secondaryVariant,
|
|
125
135
|
}
|
|
126
136
|
const apColors2026 = {
|
|
127
137
|
primary: apLightTheme2026.primary,
|
|
@@ -132,12 +142,10 @@ export const ColorBase: StoryObj = {
|
|
|
132
142
|
warning: apLightTheme2026.warning,
|
|
133
143
|
}
|
|
134
144
|
const apColors = {
|
|
135
|
-
primary: apLightTheme.primary,
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
success: apLightTheme.success,
|
|
140
|
-
warning: apLightTheme.warning,
|
|
145
|
+
'primary': apLightTheme.primary,
|
|
146
|
+
'primary-variant': apLightTheme.primaryVariant,
|
|
147
|
+
'secondary': apLightTheme.secondary,
|
|
148
|
+
'secondary-variant': apLightTheme.secondaryVariant,
|
|
141
149
|
}
|
|
142
150
|
return {
|
|
143
151
|
cnamColors,
|
|
@@ -146,18 +154,20 @@ export const ColorBase: StoryObj = {
|
|
|
146
154
|
apColors,
|
|
147
155
|
colorTitle,
|
|
148
156
|
colorTitleLevel,
|
|
157
|
+
colorDescription,
|
|
149
158
|
}
|
|
150
159
|
},
|
|
151
160
|
template: `
|
|
152
161
|
<ColorDisplay
|
|
153
162
|
displayEmptyColors
|
|
154
|
-
colorCategory="
|
|
163
|
+
colorCategory="mainColors"
|
|
155
164
|
:cnamColors="cnamColors"
|
|
156
165
|
:paColors="paColors"
|
|
157
166
|
:apColors="apColors"
|
|
158
167
|
:apColors2026="apColors2026"
|
|
159
168
|
:colorTitle="colorTitle"
|
|
160
169
|
:colorTitleLevel="colorTitleLevel"
|
|
170
|
+
:colorDescription="colorDescription"
|
|
161
171
|
/>
|
|
162
172
|
`,
|
|
163
173
|
}
|
|
@@ -165,28 +175,31 @@ export const ColorBase: StoryObj = {
|
|
|
165
175
|
tags: ['!dev'],
|
|
166
176
|
}
|
|
167
177
|
|
|
168
|
-
export const
|
|
178
|
+
export const ColorOn: StoryObj = {
|
|
169
179
|
render: () => {
|
|
170
180
|
return {
|
|
171
181
|
components: { ColorDisplay },
|
|
172
182
|
setup() {
|
|
173
|
-
const colorTitle = '
|
|
183
|
+
const colorTitle = 'On-Couleurs'
|
|
174
184
|
const colorTitleLevel = 3
|
|
175
|
-
const colorDescription = '
|
|
185
|
+
const colorDescription = 'Texte/icône sur fond'
|
|
176
186
|
const cnamColors = {
|
|
177
|
-
'
|
|
178
|
-
'
|
|
179
|
-
'
|
|
187
|
+
'on-primary': cnamLightTheme.onPrimary,
|
|
188
|
+
'on-primary-variant': cnamLightTheme.onPrimaryVariant,
|
|
189
|
+
'on-secondary': cnamLightTheme.onSecondary,
|
|
190
|
+
'on-secondary-variant': cnamLightTheme.onSecondaryVariant,
|
|
180
191
|
}
|
|
181
192
|
const paColors = {
|
|
182
|
-
'
|
|
183
|
-
'
|
|
184
|
-
'
|
|
193
|
+
'on-primary': paLightTheme.onPrimary,
|
|
194
|
+
'on-primary-variant': paLightTheme.onPrimaryVariant,
|
|
195
|
+
'on-secondary': paLightTheme.onSecondary,
|
|
196
|
+
'on-secondary-variant': paLightTheme.onSecondaryVariant,
|
|
185
197
|
}
|
|
186
198
|
const apColors = {
|
|
187
|
-
'
|
|
188
|
-
'
|
|
189
|
-
'
|
|
199
|
+
'on-primary': apLightTheme.onPrimary,
|
|
200
|
+
'on-primary-variant': apLightTheme.onPrimaryVariant,
|
|
201
|
+
'on-secondary': apLightTheme.onSecondary,
|
|
202
|
+
'on-secondary-variant': apLightTheme.onSecondaryVariant,
|
|
190
203
|
}
|
|
191
204
|
const apColors2026 = {}
|
|
192
205
|
return {
|
|
@@ -202,8 +215,8 @@ export const ColorPrimary: StoryObj = {
|
|
|
202
215
|
template: `
|
|
203
216
|
<ColorDisplay
|
|
204
217
|
displayEmptyColors
|
|
205
|
-
|
|
206
|
-
|
|
218
|
+
colorCategory="on-couleurs"
|
|
219
|
+
:cnamColors="cnamColors"
|
|
207
220
|
:paColors="paColors"
|
|
208
221
|
:apColors="apColors"
|
|
209
222
|
:apColors2026="apColors2026"
|
|
@@ -217,74 +230,50 @@ export const ColorPrimary: StoryObj = {
|
|
|
217
230
|
tags: ['!dev'],
|
|
218
231
|
}
|
|
219
232
|
|
|
220
|
-
export const
|
|
221
|
-
render: () => {
|
|
222
|
-
return {
|
|
223
|
-
components: { ColorDisplay },
|
|
224
|
-
setup() {
|
|
225
|
-
const colorTitle = 'Accent Secondary'
|
|
226
|
-
const colorTitleLevel = 3
|
|
227
|
-
const colorDescription = 'Ces couleurs sont à utiliser pour mettre en avant des containers de manière marquée.'
|
|
228
|
-
const cnamColors = {
|
|
229
|
-
'accent-secondary-light': cnamLightTheme.accentSecondaryLight,
|
|
230
|
-
'accent-secondary': cnamLightTheme.accentSecondary,
|
|
231
|
-
'accent-secondarys-contrasted': cnamLightTheme.accentSecondaryContrasted,
|
|
232
|
-
}
|
|
233
|
-
const paColors = {
|
|
234
|
-
'accent-secondary-light': paLightTheme.accentSecondaryLight,
|
|
235
|
-
'accent-secondary': paLightTheme.accentSecondary,
|
|
236
|
-
'accent-secondarys-contrasted': paLightTheme.accentSecondaryContrasted,
|
|
237
|
-
}
|
|
238
|
-
const apColors = {
|
|
239
|
-
'accent-secondary-light': apLightTheme.accentSecondaryLight,
|
|
240
|
-
'accent-secondary': apLightTheme.accentSecondary,
|
|
241
|
-
'accent-secondarys-contrasted': apLightTheme.accentSecondaryContrasted,
|
|
242
|
-
}
|
|
243
|
-
const apColors2026 = {}
|
|
244
|
-
return {
|
|
245
|
-
cnamColors,
|
|
246
|
-
paColors,
|
|
247
|
-
apColors,
|
|
248
|
-
apColors2026,
|
|
249
|
-
colorTitle,
|
|
250
|
-
colorDescription,
|
|
251
|
-
colorTitleLevel,
|
|
252
|
-
}
|
|
253
|
-
},
|
|
254
|
-
template: `
|
|
255
|
-
<ColorDisplay
|
|
256
|
-
displayEmptyColors
|
|
257
|
-
colorCategory="base"
|
|
258
|
-
:cnamColors="cnamColors"
|
|
259
|
-
:paColors="paColors"
|
|
260
|
-
:apColors="apColors"
|
|
261
|
-
:apColors2026="apColors2026"
|
|
262
|
-
:colorTitle="colorTitle"
|
|
263
|
-
:colorDescription="colorDescription"
|
|
264
|
-
:colorTitleLevel="colorTitleLevel"
|
|
265
|
-
/>
|
|
266
|
-
`,
|
|
267
|
-
}
|
|
268
|
-
},
|
|
269
|
-
tags: ['!dev'],
|
|
270
|
-
}
|
|
271
|
-
|
|
272
|
-
export const ColorAlternatives: StoryObj = {
|
|
233
|
+
export const Interaction: StoryObj = {
|
|
273
234
|
render: () => {
|
|
274
235
|
return {
|
|
275
236
|
components: { ColorDisplay },
|
|
276
237
|
setup() {
|
|
277
|
-
const colorTitle = '
|
|
238
|
+
const colorTitle = ''
|
|
239
|
+
const colorDescription = 'Ces couleurs sont à utiliser pour les fonds des éléments interactifs de sélection (item de liste sélectionnable, carte sélectionnable,...)'
|
|
240
|
+
const displayEmptyColors = false
|
|
278
241
|
const colorTitleLevel = 3
|
|
279
|
-
const colorDescription = 'Cette couleur est à utiliser pour mettre en avant des containers de manière marquée.'
|
|
280
242
|
const cnamColors = {
|
|
281
|
-
'
|
|
243
|
+
'interaction-lighten-enabled': cnamLightTheme.interactionLightenEnabled,
|
|
244
|
+
'interactiion-lighten-hover': cnamLightTheme.interactionLightenHover,
|
|
245
|
+
'interaction-lighten-selected': cnamLightTheme.interactionLightenSelected,
|
|
246
|
+
'interaction-lighten-pressed': cnamLightTheme.interactionLightenPressed,
|
|
247
|
+
'interaction-darke-hover': cnamLightTheme.interactionDarkEnabled,
|
|
248
|
+
'interaction-dark-hover': cnamLightTheme.interactionDarkHover,
|
|
249
|
+
'interaction-dark-pressed': cnamLightTheme.interactionDarkPressed,
|
|
250
|
+
'interaction-darken-enabled': cnamLightTheme.interactionDarkenEnabled,
|
|
251
|
+
'interaction-darken-hover': cnamLightTheme.interactionDarkenHover,
|
|
252
|
+
'interaction-darken-pressed': cnamLightTheme.interactionDarkenPressed,
|
|
282
253
|
}
|
|
283
254
|
const paColors = {
|
|
284
|
-
'
|
|
255
|
+
'interaction-lighten-enabled': paLightTheme.interactionLightenEnabled,
|
|
256
|
+
'interactiion-lighten-hover': paLightTheme.interactionLightenHover,
|
|
257
|
+
'interaction-lighten-selected': paLightTheme.interactionLightenSelected,
|
|
258
|
+
'interaction-lighten-pressed': paLightTheme.interactionLightenPressed,
|
|
259
|
+
'interaction-darke-hover': paLightTheme.interactionDarkEnabled,
|
|
260
|
+
'interaction-dark-hover': paLightTheme.interactionDarkHover,
|
|
261
|
+
'interaction-dark-pressed': paLightTheme.interactionDarkPressed,
|
|
262
|
+
'interaction-darken-enabled': paLightTheme.interactionDarkenEnabled,
|
|
263
|
+
'interaction-darken-hover': paLightTheme.interactionDarkenHover,
|
|
264
|
+
'interaction-darken-pressed': paLightTheme.interactionDarkenPressed,
|
|
285
265
|
}
|
|
286
266
|
const apColors = {
|
|
287
|
-
'
|
|
267
|
+
'interaction-lighten-enabled': apLightTheme.interactionLightenEnabled,
|
|
268
|
+
'interactiion-lighten-hover': apLightTheme.interactionLightenHover,
|
|
269
|
+
'interaction-lighten-selected': apLightTheme.interactionLightenSelected,
|
|
270
|
+
'interaction-lighten-pressed': apLightTheme.interactionLightenPressed,
|
|
271
|
+
'interaction-darke-hover': apLightTheme.interactionDarkEnabled,
|
|
272
|
+
'interaction-dark-hover': apLightTheme.interactionDarkHover,
|
|
273
|
+
'interaction-dark-pressed': apLightTheme.interactionDarkPressed,
|
|
274
|
+
'interaction-darken-enabled': apLightTheme.interactionDarkenEnabled,
|
|
275
|
+
'interaction-darken-hover': apLightTheme.interactionDarkenHover,
|
|
276
|
+
'interaction-darken-pressed': apLightTheme.interactionDarkenPressed,
|
|
288
277
|
}
|
|
289
278
|
const apColors2026 = {}
|
|
290
279
|
return {
|
|
@@ -295,12 +284,13 @@ export const ColorAlternatives: StoryObj = {
|
|
|
295
284
|
colorTitle,
|
|
296
285
|
colorDescription,
|
|
297
286
|
colorTitleLevel,
|
|
287
|
+
displayEmptyColors,
|
|
298
288
|
}
|
|
299
289
|
},
|
|
300
290
|
template: `
|
|
301
291
|
<ColorDisplay
|
|
302
|
-
displayEmptyColors
|
|
303
|
-
colorCategory="
|
|
292
|
+
:displayEmptyColors="displayEmptyColors"
|
|
293
|
+
colorCategory="interaction"
|
|
304
294
|
:cnamColors="cnamColors"
|
|
305
295
|
:paColors="paColors"
|
|
306
296
|
:apColors="apColors"
|
|
@@ -314,45 +304,23 @@ export const ColorAlternatives: StoryObj = {
|
|
|
314
304
|
},
|
|
315
305
|
tags: ['!dev'],
|
|
316
306
|
}
|
|
317
|
-
|
|
318
|
-
export const Interactive: StoryObj = {
|
|
307
|
+
export const Disabled: StoryObj = {
|
|
319
308
|
render: () => {
|
|
320
309
|
return {
|
|
321
310
|
components: { ColorDisplay },
|
|
322
311
|
setup() {
|
|
323
|
-
const colorTitle = ''
|
|
324
|
-
const colorDescription = '
|
|
312
|
+
const colorTitle = 'Disabled'
|
|
313
|
+
const colorDescription = 'Fond et container des éléments désactivés'
|
|
325
314
|
const displayEmptyColors = false
|
|
326
315
|
const colorTitleLevel = 3
|
|
327
316
|
const cnamColors = {
|
|
328
|
-
|
|
329
|
-
'interactive-selection-hover': cnamLightTheme.interactiveSelectionHover,
|
|
330
|
-
'interactive-selection-pressed': cnamLightTheme.interactiveSelectionPressed,
|
|
331
|
-
'interactive-selection-selected': cnamLightTheme.interactiveSelectionSelected,
|
|
332
|
-
'interactive-selection-hover-on-selected': cnamLightTheme.interactiveSelectionHoverOnSelected,
|
|
333
|
-
'interactive-selection-selected-accent': cnamLightTheme.interactiveSelectionSelectedAccent,
|
|
334
|
-
'interactive-selection-hover-on-selected-accent': cnamLightTheme.interactiveSelectionHoverOnSelectedAccent,
|
|
335
|
-
'interactive-selection-disabled': cnamLightTheme.interactiveSelectionDisabled,
|
|
317
|
+
disabled: cnamLightTheme.disabled,
|
|
336
318
|
}
|
|
337
319
|
const paColors = {
|
|
338
|
-
|
|
339
|
-
'interactive-selection-hover': paLightTheme.interactiveSelectionHover,
|
|
340
|
-
'interactive-selection-pressed': paLightTheme.interactiveSelectionPressed,
|
|
341
|
-
'interactive-selection-selected': paLightTheme.interactiveSelectionSelected,
|
|
342
|
-
'interactive-selection-hover-on-selected': paLightTheme.interactiveSelectionHoverOnSelected,
|
|
343
|
-
'interactive-selection-selected-accent': paLightTheme.interactiveSelectionSelectedAccent,
|
|
344
|
-
'interactive-selection-hover-on-selected-accent': paLightTheme.interactiveSelectionHoverOnSelectedAccent,
|
|
345
|
-
'interactive-selection-disabled': paLightTheme.interactiveSelectionDisabled,
|
|
320
|
+
disabled: paLightTheme.disabled,
|
|
346
321
|
}
|
|
347
322
|
const apColors = {
|
|
348
|
-
|
|
349
|
-
'interactive-selection-hover': apLightTheme.interactiveSelectionHover,
|
|
350
|
-
'interactive-selection-pressed': apLightTheme.interactiveSelectionPressed,
|
|
351
|
-
'interactive-selection-selected': apLightTheme.interactiveSelectionSelected,
|
|
352
|
-
'interactive-selection-hover-on-selected': apLightTheme.interactiveSelectionHoverOnSelected,
|
|
353
|
-
'interactive-selection-selected-accent': apLightTheme.interactiveSelectionSelectedAccent,
|
|
354
|
-
'interactive-selection-hover-on-selected-accent': apLightTheme.interactiveSelectionHoverOnSelectedAccent,
|
|
355
|
-
'interactive-selection-disabled': apLightTheme.interactiveSelectionDisabled,
|
|
323
|
+
disabled: apLightTheme.disabled,
|
|
356
324
|
}
|
|
357
325
|
const apColors2026 = {}
|
|
358
326
|
return {
|
|
@@ -369,7 +337,7 @@ export const Interactive: StoryObj = {
|
|
|
369
337
|
template: `
|
|
370
338
|
<ColorDisplay
|
|
371
339
|
:displayEmptyColors="displayEmptyColors"
|
|
372
|
-
colorCategory="
|
|
340
|
+
colorCategory="disabled"
|
|
373
341
|
:cnamColors="cnamColors"
|
|
374
342
|
:paColors="paColors"
|
|
375
343
|
:apColors="apColors"
|
|
@@ -384,62 +352,35 @@ export const Interactive: StoryObj = {
|
|
|
384
352
|
tags: ['!dev'],
|
|
385
353
|
}
|
|
386
354
|
|
|
387
|
-
export const
|
|
355
|
+
export const mainSection = {
|
|
388
356
|
render() {
|
|
389
357
|
return h(createSection('Couleurs de base', [
|
|
390
|
-
|
|
358
|
+
mainColors,
|
|
359
|
+
ColorOn,
|
|
391
360
|
]))
|
|
392
361
|
},
|
|
393
362
|
}
|
|
394
|
-
|
|
395
|
-
export const AccentSection = {
|
|
396
|
-
render() {
|
|
397
|
-
return h(createSection('Accent', [
|
|
398
|
-
ColorPrimary,
|
|
399
|
-
ColorSecondary,
|
|
400
|
-
ColorAlternatives,
|
|
401
|
-
], 'ap2026'))
|
|
402
|
-
},
|
|
403
|
-
}
|
|
404
|
-
export const InteractiveSection = {
|
|
405
|
-
render() {
|
|
406
|
-
return h(createSection('Interactive', [
|
|
407
|
-
Interactive,
|
|
408
|
-
], 'ap2026'))
|
|
409
|
-
},
|
|
410
|
-
}
|
|
411
|
-
|
|
412
|
-
export const BorderBase: StoryObj = {
|
|
363
|
+
export const Backgrounds: StoryObj = {
|
|
413
364
|
render: () => {
|
|
414
365
|
return {
|
|
415
366
|
components: { ColorDisplay },
|
|
416
367
|
setup() {
|
|
417
|
-
const colorTitle = '
|
|
368
|
+
const colorTitle = 'Backgrounds'
|
|
369
|
+
const colorDescription = 'backgrounds principaux de la plateforme'
|
|
418
370
|
const colorTitleLevel = 3
|
|
419
|
-
const colorDescription = 'Ce sont les couleurs les plus courantes à utiliser pour les contours de tous les éléments d’interface (quand nécessaire)'
|
|
420
371
|
const cnamColors = {
|
|
421
|
-
'
|
|
422
|
-
'
|
|
423
|
-
'border-subdued': cnamLightTheme.borderSubdued,
|
|
424
|
-
'border-disabled': cnamLightTheme.borderDisabled,
|
|
425
|
-
'border-disabled-on-dark': cnamLightTheme.borderDisabledOnDark,
|
|
372
|
+
'background': cnamLightTheme.background,
|
|
373
|
+
'background-variant': cnamLightTheme.backgroundVariant,
|
|
426
374
|
}
|
|
427
375
|
const paColors = {
|
|
428
|
-
'
|
|
429
|
-
'
|
|
430
|
-
'border-subdued': paLightTheme.borderSubdued,
|
|
431
|
-
'border-disabled': paLightTheme.borderDisabled,
|
|
432
|
-
'border-disabled-on-dark': paLightTheme.borderDisabledOnDark,
|
|
376
|
+
'background': paLightTheme.background,
|
|
377
|
+
'background-variant': paLightTheme.backgroundVariant,
|
|
433
378
|
}
|
|
434
379
|
const apColors = {
|
|
435
|
-
'
|
|
436
|
-
'
|
|
437
|
-
'border-subdued': apLightTheme.borderSubdued,
|
|
438
|
-
'border-disabled': apLightTheme.borderDisabled,
|
|
439
|
-
'border-disabled-on-dark': apLightTheme.borderDisabledOnDark,
|
|
440
|
-
|
|
380
|
+
'background': apLightTheme.background,
|
|
381
|
+
'background-variant': apLightTheme.backgroundVariant,
|
|
441
382
|
}
|
|
442
|
-
const apColors2026 = {}
|
|
383
|
+
const apColors2026 = { 'ap-grey-lighten-6': apColorsTokens2026.apGrey.lighten6 }
|
|
443
384
|
return {
|
|
444
385
|
cnamColors,
|
|
445
386
|
paColors,
|
|
@@ -453,7 +394,7 @@ export const BorderBase: StoryObj = {
|
|
|
453
394
|
template: `
|
|
454
395
|
<ColorDisplay
|
|
455
396
|
displayEmptyColors
|
|
456
|
-
colorCategory="
|
|
397
|
+
colorCategory="backgrounds"
|
|
457
398
|
:cnamColors="cnamColors"
|
|
458
399
|
:paColors="paColors"
|
|
459
400
|
:apColors="apColors"
|
|
@@ -467,29 +408,25 @@ export const BorderBase: StoryObj = {
|
|
|
467
408
|
},
|
|
468
409
|
tags: ['!dev'],
|
|
469
410
|
}
|
|
470
|
-
|
|
471
|
-
export const BorderPrimary: StoryObj = {
|
|
411
|
+
export const OnBackgrounds: StoryObj = {
|
|
472
412
|
render: () => {
|
|
473
413
|
return {
|
|
474
414
|
components: { ColorDisplay },
|
|
475
415
|
setup() {
|
|
476
|
-
const colorTitle = '
|
|
477
|
-
const colorDescription = '
|
|
416
|
+
const colorTitle = 'On-Backgrounds'
|
|
417
|
+
const colorDescription = 'Texte/icône sur fond'
|
|
478
418
|
const colorTitleLevel = 3
|
|
479
419
|
const cnamColors = {
|
|
480
|
-
'
|
|
481
|
-
'
|
|
482
|
-
'border-accent-primary-on-dark': cnamLightTheme.borderAccentPrimaryOnDark,
|
|
420
|
+
'on-background': cnamLightTheme.onBackground,
|
|
421
|
+
'on-background-variant': cnamLightTheme.onBackgroundVariant,
|
|
483
422
|
}
|
|
484
423
|
const paColors = {
|
|
485
|
-
'
|
|
486
|
-
'
|
|
487
|
-
'border-accent-primary-on-dark': paLightTheme.borderAccentPrimaryOnDark,
|
|
424
|
+
'on-background': paLightTheme.onBackground,
|
|
425
|
+
'on-background-variant': paLightTheme.onBackgroundVariant,
|
|
488
426
|
}
|
|
489
427
|
const apColors = {
|
|
490
|
-
'
|
|
491
|
-
'
|
|
492
|
-
'border-accent-primary-on-dark': apLightTheme.borderAccentPrimaryOnDark,
|
|
428
|
+
'on-background': apLightTheme.onBackground,
|
|
429
|
+
'on-background-variant': apLightTheme.onBackgroundVariant,
|
|
493
430
|
}
|
|
494
431
|
const apColors2026 = {}
|
|
495
432
|
return {
|
|
@@ -505,7 +442,7 @@ export const BorderPrimary: StoryObj = {
|
|
|
505
442
|
template: `
|
|
506
443
|
<ColorDisplay
|
|
507
444
|
displayEmptyColors
|
|
508
|
-
colorCategory="
|
|
445
|
+
colorCategory="OnBackgrounds"
|
|
509
446
|
:cnamColors="cnamColors"
|
|
510
447
|
:paColors="paColors"
|
|
511
448
|
:apColors="apColors"
|
|
@@ -519,26 +456,31 @@ export const BorderPrimary: StoryObj = {
|
|
|
519
456
|
},
|
|
520
457
|
tags: ['!dev'],
|
|
521
458
|
}
|
|
522
|
-
|
|
523
|
-
export const BorderSecondary: StoryObj = {
|
|
459
|
+
export const Surfaces: StoryObj = {
|
|
524
460
|
render: () => {
|
|
525
461
|
return {
|
|
526
462
|
components: { ColorDisplay },
|
|
527
463
|
setup() {
|
|
528
|
-
const colorTitle = '
|
|
529
|
-
const colorDescription = '
|
|
464
|
+
const colorTitle = 'Surfaces'
|
|
465
|
+
const colorDescription = ' Surface en superposition du background principal.'
|
|
530
466
|
const colorTitleLevel = 3
|
|
531
467
|
const cnamColors = {
|
|
532
|
-
'
|
|
533
|
-
'
|
|
468
|
+
'surface': cnamLightTheme.surface,
|
|
469
|
+
'surface-dim': cnamLightTheme.surfaceDim,
|
|
470
|
+
'surface-bright': cnamLightTheme.surfaceBright,
|
|
471
|
+
'inverse-surface': cnamLightTheme.inverseSurface,
|
|
534
472
|
}
|
|
535
473
|
const paColors = {
|
|
536
|
-
'
|
|
537
|
-
'
|
|
474
|
+
'surface': paLightTheme.surface,
|
|
475
|
+
'surface-dim': paLightTheme.surfaceDim,
|
|
476
|
+
'surface-bright': paLightTheme.surfaceBright,
|
|
477
|
+
'inverse-surface': paLightTheme.inverseSurface,
|
|
538
478
|
}
|
|
539
479
|
const apColors = {
|
|
540
|
-
'
|
|
541
|
-
'
|
|
480
|
+
'surface': apLightTheme.surface,
|
|
481
|
+
'surface-dim': apLightTheme.surfaceDim,
|
|
482
|
+
'surface-bright': apLightTheme.surfaceBright,
|
|
483
|
+
'inverse-surface': apLightTheme.inverseSurface,
|
|
542
484
|
}
|
|
543
485
|
const apColors2026 = {}
|
|
544
486
|
return {
|
|
@@ -554,7 +496,7 @@ export const BorderSecondary: StoryObj = {
|
|
|
554
496
|
template: `
|
|
555
497
|
<ColorDisplay
|
|
556
498
|
displayEmptyColors
|
|
557
|
-
colorCategory="
|
|
499
|
+
colorCategory="surfaces"
|
|
558
500
|
:cnamColors="cnamColors"
|
|
559
501
|
:paColors="paColors"
|
|
560
502
|
:apColors="apColors"
|
|
@@ -568,32 +510,25 @@ export const BorderSecondary: StoryObj = {
|
|
|
568
510
|
},
|
|
569
511
|
tags: ['!dev'],
|
|
570
512
|
}
|
|
571
|
-
|
|
572
|
-
export const BorderStates: StoryObj = {
|
|
513
|
+
export const OnSurfaces: StoryObj = {
|
|
573
514
|
render: () => {
|
|
574
515
|
return {
|
|
575
516
|
components: { ColorDisplay },
|
|
576
517
|
setup() {
|
|
577
|
-
const colorTitle = '
|
|
578
|
-
const colorDescription = '
|
|
518
|
+
const colorTitle = 'On-Surfaces'
|
|
519
|
+
const colorDescription = 'Texte/icône sur une surface '
|
|
579
520
|
const colorTitleLevel = 3
|
|
580
521
|
const cnamColors = {
|
|
581
|
-
'
|
|
582
|
-
'
|
|
583
|
-
'border-warning': cnamLightTheme.borderWarning,
|
|
584
|
-
'border-error': cnamLightTheme.borderError,
|
|
522
|
+
'on-surface': cnamLightTheme.onSurface,
|
|
523
|
+
'on-surface-variant': cnamLightTheme.onSurfaceVariant,
|
|
585
524
|
}
|
|
586
525
|
const paColors = {
|
|
587
|
-
'
|
|
588
|
-
'
|
|
589
|
-
'border-warning': paLightTheme.borderWarning,
|
|
590
|
-
'border-error': paLightTheme.borderError,
|
|
526
|
+
'on-surface': paLightTheme.onSurface,
|
|
527
|
+
'on-surface-variant': paLightTheme.onSurfaceVariant,
|
|
591
528
|
}
|
|
592
529
|
const apColors = {
|
|
593
|
-
'
|
|
594
|
-
'
|
|
595
|
-
'border-warning': apLightTheme.borderWarning,
|
|
596
|
-
'border-error': apLightTheme.borderError,
|
|
530
|
+
'on-surface': apLightTheme.onSurface,
|
|
531
|
+
'on-surface-variant': apLightTheme.onSurfaceVariant,
|
|
597
532
|
}
|
|
598
533
|
const apColors2026 = {}
|
|
599
534
|
return {
|
|
@@ -609,7 +544,7 @@ export const BorderStates: StoryObj = {
|
|
|
609
544
|
template: `
|
|
610
545
|
<ColorDisplay
|
|
611
546
|
displayEmptyColors
|
|
612
|
-
colorCategory="
|
|
547
|
+
colorCategory="onsurfaces"
|
|
613
548
|
:cnamColors="cnamColors"
|
|
614
549
|
:paColors="paColors"
|
|
615
550
|
:apColors="apColors"
|
|
@@ -623,48 +558,21 @@ export const BorderStates: StoryObj = {
|
|
|
623
558
|
},
|
|
624
559
|
tags: ['!dev'],
|
|
625
560
|
}
|
|
626
|
-
|
|
627
|
-
export const BorderSection = {
|
|
628
|
-
render() {
|
|
629
|
-
return h(createSection('Border', [
|
|
630
|
-
BorderBase,
|
|
631
|
-
BorderPrimary,
|
|
632
|
-
BorderSecondary,
|
|
633
|
-
BorderStates,
|
|
634
|
-
], 'ap2026'))
|
|
635
|
-
},
|
|
636
|
-
}
|
|
637
|
-
export const TextBase: StoryObj = {
|
|
561
|
+
export const Overlay: StoryObj = {
|
|
638
562
|
render: () => {
|
|
639
563
|
return {
|
|
640
564
|
components: { ColorDisplay },
|
|
641
565
|
setup() {
|
|
642
|
-
const colorTitle = '
|
|
566
|
+
const colorTitle = 'Overlay'
|
|
643
567
|
const colorTitleLevel = 3
|
|
644
|
-
const colorDescription = 'Ce sont les couleurs les plus courantes à utiliser pour les textes.'
|
|
645
568
|
const cnamColors = {
|
|
646
|
-
|
|
647
|
-
'text-subdued': cnamLightTheme.textSubdued,
|
|
648
|
-
'text-disabled': cnamLightTheme.textDisabled,
|
|
649
|
-
'text-on-dark': cnamLightTheme.textOnDark,
|
|
650
|
-
'text-subdued-on-dark': cnamLightTheme.textSubduedOnDark,
|
|
651
|
-
'text-disabled-on-dark': cnamLightTheme.textDisabledOnDark,
|
|
569
|
+
overlay: cnamLightTheme.overlay,
|
|
652
570
|
}
|
|
653
571
|
const paColors = {
|
|
654
|
-
|
|
655
|
-
'text-subdued': paLightTheme.textSubdued,
|
|
656
|
-
'text-disabled': paLightTheme.textDisabled,
|
|
657
|
-
'text-on-dark': paLightTheme.textOnDark,
|
|
658
|
-
'text-subdued-on-dark': paLightTheme.textSubduedOnDark,
|
|
659
|
-
'text-disabled-on-dark': paLightTheme.textDisabledOnDark,
|
|
572
|
+
overlay: paLightTheme.overlay,
|
|
660
573
|
}
|
|
661
574
|
const apColors = {
|
|
662
|
-
|
|
663
|
-
'text-subdued': apLightTheme.textSubdued,
|
|
664
|
-
'text-disabled': apLightTheme.textDisabled,
|
|
665
|
-
'text-on-dark': apLightTheme.textOnDark,
|
|
666
|
-
'text-subdued-on-dark': apLightTheme.textSubduedOnDark,
|
|
667
|
-
'text-disabled-on-dark': apLightTheme.textDisabledOnDark,
|
|
575
|
+
overlay: apLightTheme.overlay,
|
|
668
576
|
}
|
|
669
577
|
const apColors2026 = {}
|
|
670
578
|
return {
|
|
@@ -673,47 +581,50 @@ export const TextBase: StoryObj = {
|
|
|
673
581
|
apColors,
|
|
674
582
|
apColors2026,
|
|
675
583
|
colorTitle,
|
|
676
|
-
colorDescription,
|
|
677
584
|
colorTitleLevel,
|
|
678
585
|
}
|
|
679
586
|
},
|
|
680
587
|
template: `
|
|
681
588
|
<ColorDisplay
|
|
682
589
|
displayEmptyColors
|
|
683
|
-
colorCategory="
|
|
590
|
+
colorCategory="overlay"
|
|
684
591
|
:cnamColors="cnamColors"
|
|
685
592
|
:paColors="paColors"
|
|
686
593
|
:apColors="apColors"
|
|
687
594
|
:apColors2026="apColors2026"
|
|
688
595
|
:colorTitle="colorTitle"
|
|
689
|
-
:colorDescription="colorDescription"
|
|
690
596
|
:colorTitleLevel="colorTitleLevel"
|
|
691
|
-
|
|
597
|
+
/>
|
|
598
|
+
`,
|
|
692
599
|
}
|
|
693
600
|
},
|
|
694
601
|
tags: ['!dev'],
|
|
695
602
|
}
|
|
696
|
-
|
|
697
|
-
export const TextPrimary: StoryObj = {
|
|
603
|
+
export const Borders: StoryObj = {
|
|
698
604
|
render: () => {
|
|
699
605
|
return {
|
|
700
606
|
components: { ColorDisplay },
|
|
701
607
|
setup() {
|
|
702
|
-
const colorTitle = '
|
|
703
|
-
const colorDescription = 'Ce sont les couleurs les plus courantes à utiliser pour les textes.'
|
|
608
|
+
const colorTitle = 'Borders'
|
|
704
609
|
const colorTitleLevel = 3
|
|
610
|
+
const colorDescription = 'Ce sont les couleurs à utiliser pour les contours de tous les éléments d’interface (quand nécessaire)'
|
|
705
611
|
const cnamColors = {
|
|
706
|
-
'
|
|
707
|
-
'
|
|
612
|
+
'border': cnamLightTheme.border,
|
|
613
|
+
'border-variant': cnamLightTheme.borderVariant,
|
|
614
|
+
'border-bright': cnamLightTheme.borderBright,
|
|
615
|
+
'border-dim': cnamLightTheme.borderDim,
|
|
708
616
|
}
|
|
709
617
|
const paColors = {
|
|
710
|
-
'
|
|
711
|
-
'
|
|
618
|
+
'border': paLightTheme.border,
|
|
619
|
+
'border-variant': paLightTheme.borderVariant,
|
|
620
|
+
'border-bright': paLightTheme.borderBright,
|
|
621
|
+
'border-dim': paLightTheme.borderDim,
|
|
712
622
|
}
|
|
713
623
|
const apColors = {
|
|
714
|
-
'
|
|
715
|
-
'
|
|
716
|
-
|
|
624
|
+
'border': apLightTheme.border,
|
|
625
|
+
'border-variant': apLightTheme.borderVariant,
|
|
626
|
+
'border-bright': apLightTheme.borderBright,
|
|
627
|
+
'border-dim': apLightTheme.borderDim,
|
|
717
628
|
}
|
|
718
629
|
const apColors2026 = {}
|
|
719
630
|
return {
|
|
@@ -729,7 +640,7 @@ export const TextPrimary: StoryObj = {
|
|
|
729
640
|
template: `
|
|
730
641
|
<ColorDisplay
|
|
731
642
|
displayEmptyColors
|
|
732
|
-
colorCategory="
|
|
643
|
+
colorCategory="borders"
|
|
733
644
|
:cnamColors="cnamColors"
|
|
734
645
|
:paColors="paColors"
|
|
735
646
|
:apColors="apColors"
|
|
@@ -737,203 +648,92 @@ export const TextPrimary: StoryObj = {
|
|
|
737
648
|
:colorTitle="colorTitle"
|
|
738
649
|
:colorDescription="colorDescription"
|
|
739
650
|
:colorTitleLevel="colorTitleLevel"
|
|
740
|
-
|
|
651
|
+
/>
|
|
652
|
+
`,
|
|
741
653
|
}
|
|
742
654
|
},
|
|
743
655
|
tags: ['!dev'],
|
|
744
656
|
}
|
|
745
657
|
|
|
746
|
-
export const
|
|
747
|
-
render
|
|
748
|
-
return
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
const colorTitle = 'Accent Secondary'
|
|
752
|
-
const colorDescription = 'Ce sont les couleurs à utiliser pour mettre en exergue des textes.'
|
|
753
|
-
const colorTitleLevel = 3
|
|
754
|
-
const cnamColors = {
|
|
755
|
-
'text-accent-secondary': cnamLightTheme.textAccentSecondary,
|
|
756
|
-
}
|
|
757
|
-
const paColors = {
|
|
758
|
-
'text-accent-secondary': paLightTheme.textAccentSecondary,
|
|
759
|
-
|
|
760
|
-
}
|
|
761
|
-
const apColors = {
|
|
762
|
-
'text-accent-secondary': apLightTheme.textAccentSecondary,
|
|
763
|
-
|
|
764
|
-
}
|
|
765
|
-
const apColors2026 = {}
|
|
766
|
-
return {
|
|
767
|
-
cnamColors,
|
|
768
|
-
paColors,
|
|
769
|
-
apColors,
|
|
770
|
-
apColors2026,
|
|
771
|
-
colorTitle,
|
|
772
|
-
colorDescription,
|
|
773
|
-
colorTitleLevel,
|
|
774
|
-
}
|
|
775
|
-
},
|
|
776
|
-
template: `
|
|
777
|
-
<ColorDisplay
|
|
778
|
-
displayEmptyColors
|
|
779
|
-
colorCategory="text"
|
|
780
|
-
:cnamColors="cnamColors"
|
|
781
|
-
:paColors="paColors"
|
|
782
|
-
:apColors="apColors"
|
|
783
|
-
:apColors2026="apColors2026"
|
|
784
|
-
:colorTitle="colorTitle"
|
|
785
|
-
:colorDescription="colorDescription"
|
|
786
|
-
:colorTitleLevel="colorTitleLevel"
|
|
787
|
-
/>`,
|
|
788
|
-
}
|
|
658
|
+
export const BorderSection = {
|
|
659
|
+
render() {
|
|
660
|
+
return h(createSection('Borders', [
|
|
661
|
+
Borders,
|
|
662
|
+
], 'ap2026'))
|
|
789
663
|
},
|
|
790
|
-
tags: ['!dev'],
|
|
791
664
|
}
|
|
792
665
|
|
|
793
|
-
export const
|
|
794
|
-
render
|
|
795
|
-
return
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
'text-info': paLightTheme.textInfo,
|
|
809
|
-
'text-success': paLightTheme.textSuccess,
|
|
810
|
-
'text-warning': paLightTheme.textWarning,
|
|
811
|
-
'text-error': paLightTheme.textError,
|
|
812
|
-
}
|
|
813
|
-
const apColors = {
|
|
814
|
-
'text-info': apLightTheme.textInfo,
|
|
815
|
-
'text-success': apLightTheme.textSuccess,
|
|
816
|
-
'text-warning': apLightTheme.textWarning,
|
|
817
|
-
'text-error': apLightTheme.textError,
|
|
818
|
-
}
|
|
819
|
-
const apColors2026 = {}
|
|
820
|
-
return {
|
|
821
|
-
cnamColors,
|
|
822
|
-
paColors,
|
|
823
|
-
apColors,
|
|
824
|
-
apColors2026,
|
|
825
|
-
colorTitle,
|
|
826
|
-
colorDescription,
|
|
827
|
-
colorTitleLevel,
|
|
828
|
-
}
|
|
829
|
-
},
|
|
830
|
-
template: `
|
|
831
|
-
<ColorDisplay
|
|
832
|
-
displayEmptyColors
|
|
833
|
-
colorCategory="text"
|
|
834
|
-
:cnamColors="cnamColors"
|
|
835
|
-
:paColors="paColors"
|
|
836
|
-
:apColors="apColors"
|
|
837
|
-
:apColors2026="apColors2026"
|
|
838
|
-
:colorTitle="colorTitle"
|
|
839
|
-
:colorDescription="colorDescription"
|
|
840
|
-
:colorTitleLevel="colorTitleLevel"
|
|
841
|
-
/>`,
|
|
842
|
-
}
|
|
666
|
+
export const BackgroundSection = {
|
|
667
|
+
render() {
|
|
668
|
+
return h(createSection('Fonds et surfaces', [
|
|
669
|
+
Backgrounds,
|
|
670
|
+
OnBackgrounds,
|
|
671
|
+
Surfaces,
|
|
672
|
+
OnSurfaces,
|
|
673
|
+
]))
|
|
674
|
+
},
|
|
675
|
+
}
|
|
676
|
+
export const OverlaySection = {
|
|
677
|
+
render() {
|
|
678
|
+
return h(createSection('Fonds et surfaces', [
|
|
679
|
+
Overlay,
|
|
680
|
+
]))
|
|
843
681
|
},
|
|
844
|
-
tags: ['!dev'],
|
|
845
682
|
}
|
|
846
683
|
|
|
847
|
-
export const
|
|
684
|
+
export const InteractionSection = {
|
|
848
685
|
render() {
|
|
849
|
-
return h(createSection('
|
|
850
|
-
|
|
851
|
-
TextPrimary,
|
|
852
|
-
TextSecondary,
|
|
853
|
-
TextState,
|
|
686
|
+
return h(createSection('Interaction', [
|
|
687
|
+
Interaction,
|
|
854
688
|
], 'ap2026'))
|
|
855
689
|
},
|
|
856
690
|
}
|
|
857
691
|
|
|
858
|
-
export const
|
|
859
|
-
render
|
|
860
|
-
return
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
const colorTitle = 'Base'
|
|
864
|
-
const colorDescription = 'Ce sont les couleurs les plus courantes à utiliser pour les icônes dont la seule vocation est informative ou décorative.'
|
|
865
|
-
const colorTitleLevel = 3
|
|
866
|
-
const cnamColors = {
|
|
867
|
-
'icon-base': cnamLightTheme.iconBase,
|
|
868
|
-
'icon-subdued': cnamLightTheme.iconSubdued,
|
|
869
|
-
'icon-subdued-on-dark': cnamLightTheme.iconSubduedOnDark,
|
|
870
|
-
'icon-on-dark': cnamLightTheme.iconOnDark,
|
|
871
|
-
'icon-disabled': cnamLightTheme.iconDisabled,
|
|
872
|
-
'icon-disabled-on-dark': cnamLightTheme.iconDisabledOnDark,
|
|
873
|
-
}
|
|
874
|
-
const paColors = {
|
|
875
|
-
'icon-base': paLightTheme.iconBase,
|
|
876
|
-
'icon-subdued': paLightTheme.iconSubdued,
|
|
877
|
-
'icon-subdued-on-dark': paLightTheme.iconSubduedOnDark,
|
|
878
|
-
'icon-on-dark': paLightTheme.iconOnDark,
|
|
879
|
-
'icon-disabled': paLightTheme.iconDisabled,
|
|
880
|
-
'icon-disabled-on-dark': paLightTheme.iconDisabledOnDark,
|
|
881
|
-
}
|
|
882
|
-
const apColors = {
|
|
883
|
-
'icon-base': apLightTheme.iconBase,
|
|
884
|
-
'icon-subdued': apLightTheme.iconSubdued,
|
|
885
|
-
'icon-subdued-on-dark': apLightTheme.iconSubduedOnDark,
|
|
886
|
-
'icon-on-dark': apLightTheme.iconOnDark,
|
|
887
|
-
'icon-disabled': apLightTheme.iconDisabled,
|
|
888
|
-
'icon-disabled-on-dark': apLightTheme.iconDisabledOnDark,
|
|
889
|
-
}
|
|
890
|
-
const apColors2026 = {}
|
|
891
|
-
return {
|
|
892
|
-
cnamColors,
|
|
893
|
-
paColors,
|
|
894
|
-
apColors,
|
|
895
|
-
apColors2026,
|
|
896
|
-
colorTitle,
|
|
897
|
-
colorDescription,
|
|
898
|
-
colorTitleLevel,
|
|
899
|
-
}
|
|
900
|
-
},
|
|
901
|
-
template: `
|
|
902
|
-
<ColorDisplay
|
|
903
|
-
displayEmptyColors
|
|
904
|
-
colorCategory="icons"
|
|
905
|
-
:cnamColors="cnamColors"
|
|
906
|
-
:paColors="paColors"
|
|
907
|
-
:apColors="apColors"
|
|
908
|
-
:apColors2026="apColors2026"
|
|
909
|
-
:colorTitle="colorTitle"
|
|
910
|
-
:colorDescription="colorDescription"
|
|
911
|
-
:colorTitleLevel="colorTitleLevel"
|
|
912
|
-
/>
|
|
913
|
-
`,
|
|
914
|
-
}
|
|
692
|
+
export const DisabledSection = {
|
|
693
|
+
render() {
|
|
694
|
+
return h(createSection('Disabled', [
|
|
695
|
+
Disabled,
|
|
696
|
+
], 'ap2026'))
|
|
915
697
|
},
|
|
916
|
-
tags: ['!dev'],
|
|
917
698
|
}
|
|
918
|
-
|
|
699
|
+
|
|
700
|
+
export const Feedback: StoryObj = {
|
|
919
701
|
render: () => {
|
|
920
702
|
return {
|
|
921
703
|
components: { ColorDisplay },
|
|
922
704
|
setup() {
|
|
923
|
-
const colorTitle = '
|
|
924
|
-
const colorDescription = 'Ce sont les couleurs à utiliser dès qu’un icône symbolise une action.'
|
|
705
|
+
const colorTitle = 'Feedback'
|
|
925
706
|
const colorTitleLevel = 3
|
|
707
|
+
const colorDescription = 'Fonds de composants (ou de containers) indiquant un message de statut'
|
|
926
708
|
const cnamColors = {
|
|
927
|
-
'
|
|
928
|
-
'
|
|
709
|
+
'error': cnamLightTheme.error,
|
|
710
|
+
'error-variant': cnamLightTheme.errorVariant,
|
|
711
|
+
'success': cnamLightTheme.success,
|
|
712
|
+
'success-variant': cnamLightTheme.successVariant,
|
|
713
|
+
'warning': cnamLightTheme.warning,
|
|
714
|
+
'warning-variant': cnamLightTheme.warningVariant,
|
|
715
|
+
'info': cnamLightTheme.info,
|
|
716
|
+
'info-variant': cnamLightTheme.infoVariant,
|
|
929
717
|
}
|
|
930
718
|
const paColors = {
|
|
931
|
-
'
|
|
932
|
-
'
|
|
719
|
+
'error': paLightTheme.error,
|
|
720
|
+
'error-variant': paLightTheme.errorVariant,
|
|
721
|
+
'success': paLightTheme.success,
|
|
722
|
+
'success-variant': paLightTheme.successVariant,
|
|
723
|
+
'warning': paLightTheme.warning,
|
|
724
|
+
'warning-variant': paLightTheme.warningVariant,
|
|
725
|
+
'info': paLightTheme.info,
|
|
726
|
+
'info-variant': paLightTheme.infoVariant,
|
|
933
727
|
}
|
|
934
728
|
const apColors = {
|
|
935
|
-
'
|
|
936
|
-
'
|
|
729
|
+
'error': apLightTheme.error,
|
|
730
|
+
'error-variant': apLightTheme.errorVariant,
|
|
731
|
+
'success': apLightTheme.success,
|
|
732
|
+
'success-variant': apLightTheme.successVariant,
|
|
733
|
+
'warning': apLightTheme.warning,
|
|
734
|
+
'warning-variant': apLightTheme.warningVariant,
|
|
735
|
+
'info': apLightTheme.info,
|
|
736
|
+
'info-variant': apLightTheme.infoVariant,
|
|
937
737
|
}
|
|
938
738
|
const apColors2026 = {}
|
|
939
739
|
return {
|
|
@@ -949,7 +749,7 @@ export const IconPrimary: StoryObj = {
|
|
|
949
749
|
template: `
|
|
950
750
|
<ColorDisplay
|
|
951
751
|
displayEmptyColors
|
|
952
|
-
colorCategory="
|
|
752
|
+
colorCategory="feedback"
|
|
953
753
|
:cnamColors="cnamColors"
|
|
954
754
|
:paColors="paColors"
|
|
955
755
|
:apColors="apColors"
|
|
@@ -963,22 +763,44 @@ export const IconPrimary: StoryObj = {
|
|
|
963
763
|
},
|
|
964
764
|
tags: ['!dev'],
|
|
965
765
|
}
|
|
966
|
-
|
|
766
|
+
|
|
767
|
+
export const OnFeedback: StoryObj = {
|
|
967
768
|
render: () => {
|
|
968
769
|
return {
|
|
969
770
|
components: { ColorDisplay },
|
|
970
771
|
setup() {
|
|
971
|
-
const colorTitle = '
|
|
972
|
-
const colorDescription = 'Ce sont les couleurs à utiliser pour mettre en exergue des icônes.'
|
|
772
|
+
const colorTitle = 'On-Feedback'
|
|
973
773
|
const colorTitleLevel = 3
|
|
774
|
+
const colorDescription = 'Textes/ Icônes sur fond de statut.'
|
|
974
775
|
const cnamColors = {
|
|
975
|
-
'
|
|
776
|
+
'on-error': cnamLightTheme.onError,
|
|
777
|
+
'on-error-variant': cnamLightTheme.onErrorVariant,
|
|
778
|
+
'on-success': cnamLightTheme.onSuccess,
|
|
779
|
+
'on-success-variant': cnamLightTheme.onSuccessVariant,
|
|
780
|
+
'on-warning': cnamLightTheme.onWarning,
|
|
781
|
+
'on-warning-variant': cnamLightTheme.onWarningVariant,
|
|
782
|
+
'on-info': cnamLightTheme.onInfo,
|
|
783
|
+
'on-info-variant': cnamLightTheme.onInfoVariant,
|
|
976
784
|
}
|
|
977
785
|
const paColors = {
|
|
978
|
-
'
|
|
786
|
+
'on-error': paLightTheme.onError,
|
|
787
|
+
'on-error-variant': paLightTheme.onErrorVariant,
|
|
788
|
+
'on-success': paLightTheme.onSuccess,
|
|
789
|
+
'on-success-variant': paLightTheme.onSuccessVariant,
|
|
790
|
+
'on-warning': paLightTheme.onWarning,
|
|
791
|
+
'on-warning-variant': paLightTheme.onWarningVariant,
|
|
792
|
+
'on-info': paLightTheme.onInfo,
|
|
793
|
+
'on-info-variant': paLightTheme.onInfoVariant,
|
|
979
794
|
}
|
|
980
795
|
const apColors = {
|
|
981
|
-
'
|
|
796
|
+
'on-error': apLightTheme.onError,
|
|
797
|
+
'on-error-variant': apLightTheme.onErrorVariant,
|
|
798
|
+
'on-success': apLightTheme.onSuccess,
|
|
799
|
+
'on-success-variant': apLightTheme.onSuccessVariant,
|
|
800
|
+
'on-warning': apLightTheme.onWarning,
|
|
801
|
+
'on-warning-variant': apLightTheme.onWarningVariant,
|
|
802
|
+
'on-info': apLightTheme.onInfo,
|
|
803
|
+
'on-info-variant': apLightTheme.onInfoVariant,
|
|
982
804
|
}
|
|
983
805
|
const apColors2026 = {}
|
|
984
806
|
return {
|
|
@@ -994,7 +816,7 @@ export const IconSecondary: StoryObj = {
|
|
|
994
816
|
template: `
|
|
995
817
|
<ColorDisplay
|
|
996
818
|
displayEmptyColors
|
|
997
|
-
colorCategory="
|
|
819
|
+
colorCategory="feedback"
|
|
998
820
|
:cnamColors="cnamColors"
|
|
999
821
|
:paColors="paColors"
|
|
1000
822
|
:apColors="apColors"
|
|
@@ -1008,659 +830,13 @@ export const IconSecondary: StoryObj = {
|
|
|
1008
830
|
},
|
|
1009
831
|
tags: ['!dev'],
|
|
1010
832
|
}
|
|
1011
|
-
export const IconState: StoryObj = {
|
|
1012
|
-
render: () => {
|
|
1013
|
-
return {
|
|
1014
|
-
components: { ColorDisplay },
|
|
1015
|
-
setup() {
|
|
1016
|
-
const colorTitle = 'State'
|
|
1017
|
-
const colorDescription = 'Ces couleurs sont à utiliser pour les icônes présentant un message d’information, de succès, d’attention ou de danger.'
|
|
1018
|
-
const colorTitleLevel = 3
|
|
1019
|
-
const cnamColors = {
|
|
1020
|
-
'icon-info': cnamLightTheme.iconInfo,
|
|
1021
|
-
'icon-success': cnamLightTheme.iconSuccess,
|
|
1022
|
-
'icon-warning': cnamLightTheme.iconWarning,
|
|
1023
|
-
'icon-error': cnamLightTheme.iconError,
|
|
1024
|
-
}
|
|
1025
|
-
const paColors = {
|
|
1026
|
-
'icon-info': paLightTheme.iconInfo,
|
|
1027
|
-
'icon-success': paLightTheme.iconSuccess,
|
|
1028
|
-
'icon-warning': paLightTheme.iconWarning,
|
|
1029
|
-
'icon-error': paLightTheme.iconError,
|
|
1030
|
-
}
|
|
1031
|
-
const apColors = {
|
|
1032
|
-
'icon-info': apLightTheme.iconInfo,
|
|
1033
|
-
'icon-success': apLightTheme.iconSuccess,
|
|
1034
|
-
'icon-warning': apLightTheme.iconWarning,
|
|
1035
|
-
'icon-error': apLightTheme.iconError,
|
|
1036
|
-
}
|
|
1037
|
-
const apColors2026 = {}
|
|
1038
|
-
return {
|
|
1039
|
-
cnamColors,
|
|
1040
|
-
paColors,
|
|
1041
|
-
apColors,
|
|
1042
|
-
apColors2026,
|
|
1043
|
-
colorTitle,
|
|
1044
|
-
colorDescription,
|
|
1045
|
-
colorTitleLevel,
|
|
1046
|
-
}
|
|
1047
|
-
},
|
|
1048
|
-
template: `
|
|
1049
|
-
<ColorDisplay
|
|
1050
|
-
displayEmptyColors
|
|
1051
|
-
colorCategory="icons"
|
|
1052
|
-
:cnamColors="cnamColors"
|
|
1053
|
-
:paColors="paColors"
|
|
1054
|
-
:apColors="apColors"
|
|
1055
|
-
:apColors2026="apColors2026"
|
|
1056
|
-
:colorTitle="colorTitle"
|
|
1057
|
-
:colorDescription="colorDescription"
|
|
1058
|
-
:colorTitleLevel="colorTitleLevel"
|
|
1059
|
-
/>
|
|
1060
|
-
`,
|
|
1061
|
-
}
|
|
1062
|
-
},
|
|
1063
|
-
tags: ['!dev'],
|
|
1064
|
-
}
|
|
1065
|
-
export const IconSection = {
|
|
1066
|
-
render() {
|
|
1067
|
-
return h(createSection('Icons', [
|
|
1068
|
-
IconBase,
|
|
1069
|
-
IconPrimary,
|
|
1070
|
-
IconSecondary,
|
|
1071
|
-
IconState,
|
|
1072
|
-
], 'ap2026'))
|
|
1073
|
-
},
|
|
1074
|
-
}
|
|
1075
|
-
|
|
1076
|
-
export const MainBackgrounds: StoryObj = {
|
|
1077
|
-
render: () => {
|
|
1078
|
-
return {
|
|
1079
|
-
components: { ColorDisplay },
|
|
1080
|
-
setup() {
|
|
1081
|
-
const colorTitle = 'Main'
|
|
1082
|
-
const colorDescription = 'Ce sont les couleurs à utiliser pour le background principal de la plateforme.'
|
|
1083
|
-
const colorTitleLevel = 3
|
|
1084
|
-
const cnamColors = {
|
|
1085
|
-
'background-main': cnamLightTheme.backgroundMain,
|
|
1086
|
-
'background-main-alt': cnamLightTheme.backgroundMainAlt,
|
|
1087
|
-
'background-main-ter': cnamLightTheme.backgroundMainTer,
|
|
1088
|
-
}
|
|
1089
|
-
const paColors = {
|
|
1090
|
-
'background-main': paLightTheme.backgroundMain,
|
|
1091
|
-
'background-surface': paLightTheme.backgroundSurface,
|
|
1092
|
-
'background-surface-alt': paLightTheme.backgroundSurfaceAlt,
|
|
1093
|
-
}
|
|
1094
|
-
const apColors = {
|
|
1095
|
-
'background-main': apLightTheme.backgroundMain,
|
|
1096
|
-
'background-surface': apLightTheme.backgroundSurface,
|
|
1097
|
-
'background-surface-alt': apLightTheme.backgroundSurfaceAlt,
|
|
1098
|
-
}
|
|
1099
|
-
const apColors2026 = { 'ap-grey-lighten-6': apColorsTokens2026.apGrey.lighten6 }
|
|
1100
|
-
return {
|
|
1101
|
-
cnamColors,
|
|
1102
|
-
paColors,
|
|
1103
|
-
apColors,
|
|
1104
|
-
apColors2026,
|
|
1105
|
-
colorTitle,
|
|
1106
|
-
colorDescription,
|
|
1107
|
-
colorTitleLevel,
|
|
1108
|
-
}
|
|
1109
|
-
},
|
|
1110
|
-
template: `
|
|
1111
|
-
<ColorDisplay
|
|
1112
|
-
displayEmptyColors
|
|
1113
|
-
colorCategory="mainBackgrounds"
|
|
1114
|
-
:cnamColors="cnamColors"
|
|
1115
|
-
:paColors="paColors"
|
|
1116
|
-
:apColors="apColors"
|
|
1117
|
-
:apColors2026="apColors2026"
|
|
1118
|
-
:colorTitle="colorTitle"
|
|
1119
|
-
:colorDescription="colorDescription"
|
|
1120
|
-
:colorTitleLevel="colorTitleLevel"
|
|
1121
|
-
/>
|
|
1122
|
-
`,
|
|
1123
|
-
}
|
|
1124
|
-
},
|
|
1125
|
-
tags: ['!dev'],
|
|
1126
|
-
}
|
|
1127
|
-
|
|
1128
|
-
export const SurfaceBackgrounds: StoryObj = {
|
|
1129
|
-
render: () => {
|
|
1130
|
-
return {
|
|
1131
|
-
components: { ColorDisplay },
|
|
1132
|
-
setup() {
|
|
1133
|
-
const colorTitle = 'Surface'
|
|
1134
|
-
const colorDescription = 'Ce sont les couleurs à utiliser sur les containers présents en surperposition du background principal. Le principe étant d’utiliser la variante “surface” au dessus du “main” et les “alt” au dessus des “alt”.'
|
|
1135
|
-
const colorTitleLevel = 3
|
|
1136
|
-
const cnamColors = {
|
|
1137
|
-
'background-surface': cnamLightTheme.backgroundSurface,
|
|
1138
|
-
'background-surface-alt': cnamLightTheme.backgroundSurfaceAlt,
|
|
1139
|
-
}
|
|
1140
|
-
const paColors = {
|
|
1141
|
-
'background-surface': paLightTheme.backgroundSurface,
|
|
1142
|
-
'background-surface-alt': paLightTheme.backgroundSurfaceAlt,
|
|
1143
|
-
}
|
|
1144
|
-
const apColors = {
|
|
1145
|
-
'background-surface': apLightTheme.backgroundSurface,
|
|
1146
|
-
'background-surface-alt': apLightTheme.backgroundSurfaceAlt,
|
|
1147
|
-
}
|
|
1148
|
-
const apColors2026 = {}
|
|
1149
|
-
return {
|
|
1150
|
-
cnamColors,
|
|
1151
|
-
paColors,
|
|
1152
|
-
apColors,
|
|
1153
|
-
apColors2026,
|
|
1154
|
-
colorTitle,
|
|
1155
|
-
colorDescription,
|
|
1156
|
-
colorTitleLevel,
|
|
1157
|
-
}
|
|
1158
|
-
},
|
|
1159
|
-
template: `
|
|
1160
|
-
<ColorDisplay
|
|
1161
|
-
displayEmptyColors
|
|
1162
|
-
colorCategory="alternativeBackgrounds"
|
|
1163
|
-
:cnamColors="cnamColors"
|
|
1164
|
-
:paColors="paColors"
|
|
1165
|
-
:apColors="apColors"
|
|
1166
|
-
:apColors2026="apColors2026"
|
|
1167
|
-
:colorTitle="colorTitle"
|
|
1168
|
-
:colorDescription="colorDescription"
|
|
1169
|
-
:colorTitleLevel="colorTitleLevel"
|
|
1170
|
-
/>
|
|
1171
|
-
`,
|
|
1172
|
-
}
|
|
1173
|
-
},
|
|
1174
|
-
tags: ['!dev'],
|
|
1175
|
-
}
|
|
1176
|
-
|
|
1177
|
-
export const AlternativeBackgrounds: StoryObj = {
|
|
1178
|
-
render: () => {
|
|
1179
|
-
return {
|
|
1180
|
-
components: { ColorDisplay },
|
|
1181
|
-
setup() {
|
|
1182
|
-
const colorTitle = 'Alternative'
|
|
1183
|
-
const colorDescription = ''
|
|
1184
|
-
const colorTitleLevel = 3
|
|
1185
|
-
const cnamColors = {}
|
|
1186
|
-
const paColors = {}
|
|
1187
|
-
const apColors = {}
|
|
1188
|
-
const apColors2026 = { 'ap-blue-lighten-3': apColorsTokens2026.apBlue.lighten3 }
|
|
1189
|
-
return {
|
|
1190
|
-
cnamColors,
|
|
1191
|
-
paColors,
|
|
1192
|
-
apColors,
|
|
1193
|
-
apColors2026,
|
|
1194
|
-
colorTitle,
|
|
1195
|
-
colorDescription,
|
|
1196
|
-
colorTitleLevel,
|
|
1197
|
-
}
|
|
1198
|
-
},
|
|
1199
|
-
template: `
|
|
1200
|
-
<ColorDisplay
|
|
1201
|
-
displayEmptyColors
|
|
1202
|
-
colorCategory="alternativeBackgrounds"
|
|
1203
|
-
:cnamColors="cnamColors"
|
|
1204
|
-
:paColors="paColors"
|
|
1205
|
-
:apColors="apColors"
|
|
1206
|
-
:apColors2026="apColors2026"
|
|
1207
|
-
:colorTitle="colorTitle"
|
|
1208
|
-
:colorDescription="colorDescription"
|
|
1209
|
-
:colorTitleLevel="colorTitleLevel"
|
|
1210
|
-
/>
|
|
1211
|
-
`,
|
|
1212
|
-
}
|
|
1213
|
-
},
|
|
1214
|
-
tags: ['!dev'],
|
|
1215
|
-
}
|
|
1216
|
-
|
|
1217
|
-
export const RaisedBackgrounds: StoryObj = {
|
|
1218
|
-
render: () => {
|
|
1219
|
-
return {
|
|
1220
|
-
components: { ColorDisplay },
|
|
1221
|
-
setup() {
|
|
1222
|
-
const colorTitle = 'Raised'
|
|
1223
|
-
const colorDescription = 'Elle s’utilise sur les éléments ayant besoin d’une légère mise en exergue.'
|
|
1224
|
-
const colorTitleLevel = 3
|
|
1225
|
-
const cnamColors = {
|
|
1226
|
-
'background-raised': cnamLightTheme.backgroundRaised,
|
|
1227
|
-
}
|
|
1228
|
-
const paColors = {
|
|
1229
|
-
'background-raised': paLightTheme.backgroundRaised,
|
|
1230
|
-
}
|
|
1231
|
-
const apColors = {
|
|
1232
|
-
'background-raised': apLightTheme.backgroundRaised,
|
|
1233
|
-
}
|
|
1234
|
-
const apColors2026 = {}
|
|
1235
|
-
return {
|
|
1236
|
-
cnamColors,
|
|
1237
|
-
paColors,
|
|
1238
|
-
apColors,
|
|
1239
|
-
apColors2026,
|
|
1240
|
-
colorTitle,
|
|
1241
|
-
colorDescription,
|
|
1242
|
-
colorTitleLevel,
|
|
1243
|
-
}
|
|
1244
|
-
},
|
|
1245
|
-
template: `
|
|
1246
|
-
<ColorDisplay
|
|
1247
|
-
displayEmptyColors
|
|
1248
|
-
colorCategory="alternativeBackgrounds"
|
|
1249
|
-
:cnamColors="cnamColors"
|
|
1250
|
-
:paColors="paColors"
|
|
1251
|
-
:apColors="apColors"
|
|
1252
|
-
:apColors2026="apColors2026"
|
|
1253
|
-
:colorTitle="colorTitle"
|
|
1254
|
-
:colorDescription="colorDescription"
|
|
1255
|
-
:colorTitleLevel="colorTitleLevel"
|
|
1256
|
-
/>
|
|
1257
|
-
`,
|
|
1258
|
-
}
|
|
1259
|
-
},
|
|
1260
|
-
tags: ['!dev'],
|
|
1261
|
-
}
|
|
1262
|
-
|
|
1263
|
-
export const DisabledBackgrounds: StoryObj = {
|
|
1264
|
-
render: () => {
|
|
1265
|
-
return {
|
|
1266
|
-
components: { ColorDisplay },
|
|
1267
|
-
setup() {
|
|
1268
|
-
const colorTitle = 'Disabled'
|
|
1269
|
-
const colorDescription = 'Elle s’utilise sur les background des éléments désactivés.'
|
|
1270
|
-
const colorTitleLevel = 3
|
|
1271
|
-
const cnamColors = {
|
|
1272
|
-
'background-disabled': cnamLightTheme.backgroundDisabled,
|
|
1273
|
-
'background-disabled-on-dark': cnamLightTheme.backgroundDisabledOnDark,
|
|
1274
|
-
}
|
|
1275
|
-
const paColors = {
|
|
1276
|
-
'background-disabled': paLightTheme.backgroundDisabled,
|
|
1277
|
-
'background-disabled-on-dark': paLightTheme.backgroundDisabledOnDark,
|
|
1278
|
-
}
|
|
1279
|
-
const apColors = {
|
|
1280
|
-
'background-disabled': apLightTheme.backgroundDisabled,
|
|
1281
|
-
'background-disabled-on-dark': apLightTheme.backgroundDisabledOnDark,
|
|
1282
|
-
}
|
|
1283
|
-
const apColors2026 = {}
|
|
1284
|
-
return {
|
|
1285
|
-
cnamColors,
|
|
1286
|
-
paColors,
|
|
1287
|
-
apColors,
|
|
1288
|
-
apColors2026,
|
|
1289
|
-
colorTitle,
|
|
1290
|
-
colorDescription,
|
|
1291
|
-
colorTitleLevel,
|
|
1292
|
-
}
|
|
1293
|
-
},
|
|
1294
|
-
template: `
|
|
1295
|
-
<ColorDisplay
|
|
1296
|
-
displayEmptyColors
|
|
1297
|
-
colorCategory="alternativeBackgrounds"
|
|
1298
|
-
:cnamColors="cnamColors"
|
|
1299
|
-
:paColors="paColors"
|
|
1300
|
-
:apColors="apColors"
|
|
1301
|
-
:apColors2026="apColors2026"
|
|
1302
|
-
:colorTitle="colorTitle"
|
|
1303
|
-
:colorDescription="colorDescription"
|
|
1304
|
-
:colorTitleLevel="colorTitleLevel"
|
|
1305
|
-
/>
|
|
1306
|
-
`,
|
|
1307
|
-
}
|
|
1308
|
-
},
|
|
1309
|
-
tags: ['!dev'],
|
|
1310
|
-
}
|
|
1311
|
-
|
|
1312
|
-
export const InformationalBackgrounds: StoryObj = {
|
|
1313
|
-
render: () => {
|
|
1314
|
-
return {
|
|
1315
|
-
components: { ColorDisplay },
|
|
1316
|
-
setup() {
|
|
1317
|
-
const colorTitle = 'Informational'
|
|
1318
|
-
const colorTitleLevel = 3
|
|
1319
|
-
const cnamColors = {
|
|
1320
|
-
'background-info': cnamLightTheme.backgroundInfo,
|
|
1321
|
-
'background-info-subdued': cnamLightTheme.backgroundInfoSubdued,
|
|
1322
|
-
'background-info-contrasted': cnamLightTheme.backgroundInfoContrasted,
|
|
1323
|
-
}
|
|
1324
|
-
const paColors = {
|
|
1325
|
-
'background-info': paLightTheme.backgroundInfo,
|
|
1326
|
-
'background-info-subdued': paLightTheme.backgroundInfoSubdued,
|
|
1327
|
-
'background-info-contrasted': paLightTheme.backgroundInfoContrasted,
|
|
1328
|
-
}
|
|
1329
|
-
const apColors = {
|
|
1330
|
-
'background-info': apLightTheme.backgroundInfo,
|
|
1331
|
-
'background-info-subdued': apLightTheme.backgroundInfoSubdued,
|
|
1332
|
-
'background-info-contrasted': apLightTheme.backgroundInfoContrasted,
|
|
1333
|
-
}
|
|
1334
|
-
const apColors2026 = {}
|
|
1335
|
-
return {
|
|
1336
|
-
cnamColors,
|
|
1337
|
-
paColors,
|
|
1338
|
-
apColors,
|
|
1339
|
-
apColors2026,
|
|
1340
|
-
colorTitle,
|
|
1341
|
-
colorTitleLevel,
|
|
1342
|
-
}
|
|
1343
|
-
},
|
|
1344
|
-
template: `
|
|
1345
|
-
<ColorDisplay
|
|
1346
|
-
displayEmptyColors
|
|
1347
|
-
colorCategory="informationalBackgrounds"
|
|
1348
|
-
:cnamColors="cnamColors"
|
|
1349
|
-
:paColors="paColors"
|
|
1350
|
-
:apColors="apColors"
|
|
1351
|
-
:apColors2026="apColors2026"
|
|
1352
|
-
:colorTitle="colorTitle"
|
|
1353
|
-
:colorTitleLevel="colorTitleLevel"
|
|
1354
|
-
/>
|
|
1355
|
-
`,
|
|
1356
|
-
}
|
|
1357
|
-
},
|
|
1358
|
-
tags: ['!dev'],
|
|
1359
|
-
}
|
|
1360
|
-
|
|
1361
|
-
export const SuccessBackgrounds: StoryObj = {
|
|
1362
|
-
render: () => {
|
|
1363
|
-
return {
|
|
1364
|
-
components: { ColorDisplay },
|
|
1365
|
-
setup() {
|
|
1366
|
-
const colorTitle = 'Success'
|
|
1367
|
-
const colorTitleLevel = 3
|
|
1368
|
-
const cnamColors = {
|
|
1369
|
-
'background-success': cnamLightTheme.backgroundSuccess,
|
|
1370
|
-
'background-success-subdued': cnamLightTheme.backgroundSuccessSubdued,
|
|
1371
|
-
'background-success-contrasted': cnamLightTheme.backgroundSuccessContrasted,
|
|
1372
|
-
}
|
|
1373
|
-
const paColors = {
|
|
1374
|
-
'background-success': paLightTheme.backgroundSuccess,
|
|
1375
|
-
'background-success-subdued': paLightTheme.backgroundSuccessSubdued,
|
|
1376
|
-
'background-success-contrasted': paLightTheme.backgroundSuccessContrasted,
|
|
1377
|
-
}
|
|
1378
|
-
const apColors = {
|
|
1379
|
-
'background-success': apLightTheme.backgroundSuccess,
|
|
1380
|
-
'background-success-subdued': apLightTheme.backgroundSuccessSubdued,
|
|
1381
|
-
'background-success-contrasted': apLightTheme.backgroundSuccessContrasted,
|
|
1382
|
-
}
|
|
1383
|
-
const apColors2026 = {}
|
|
1384
|
-
return {
|
|
1385
|
-
cnamColors,
|
|
1386
|
-
paColors,
|
|
1387
|
-
apColors,
|
|
1388
|
-
apColors2026,
|
|
1389
|
-
colorTitle,
|
|
1390
|
-
colorTitleLevel,
|
|
1391
|
-
}
|
|
1392
|
-
},
|
|
1393
|
-
template: `
|
|
1394
|
-
<ColorDisplay
|
|
1395
|
-
displayEmptyColors
|
|
1396
|
-
colorCategory="successBackgrounds"
|
|
1397
|
-
:cnamColors="cnamColors"
|
|
1398
|
-
:paColors="paColors"
|
|
1399
|
-
:apColors="apColors"
|
|
1400
|
-
:apColors2026="apColors2026"
|
|
1401
|
-
:colorTitle="colorTitle"
|
|
1402
|
-
:colorTitleLevel="colorTitleLevel"
|
|
1403
|
-
/>
|
|
1404
|
-
`,
|
|
1405
|
-
}
|
|
1406
|
-
},
|
|
1407
|
-
tags: ['!dev'],
|
|
1408
|
-
}
|
|
1409
833
|
|
|
1410
|
-
export const
|
|
1411
|
-
render: () => {
|
|
1412
|
-
return {
|
|
1413
|
-
components: { ColorDisplay },
|
|
1414
|
-
setup() {
|
|
1415
|
-
const colorTitle = 'Warning'
|
|
1416
|
-
const colorTitleLevel = 3
|
|
1417
|
-
const cnamColors = {
|
|
1418
|
-
'background-warning': cnamLightTheme.backgroundWarning,
|
|
1419
|
-
'background-warning-subdued': cnamLightTheme.backgroundWarningSubdued,
|
|
1420
|
-
'background-warning-contrasted': cnamLightTheme.backgroundWarningContrasted,
|
|
1421
|
-
}
|
|
1422
|
-
const paColors = {
|
|
1423
|
-
'background-warning': paLightTheme.backgroundWarning,
|
|
1424
|
-
'background-warning-subdued': paLightTheme.backgroundWarningSubdued,
|
|
1425
|
-
'background-warning-contrasted': paLightTheme.backgroundWarningContrasted,
|
|
1426
|
-
}
|
|
1427
|
-
const apColors = {
|
|
1428
|
-
'background-warning': apLightTheme.backgroundWarning,
|
|
1429
|
-
'background-warning-subdued': apLightTheme.backgroundWarningSubdued,
|
|
1430
|
-
'background-warning-contrasted': apLightTheme.backgroundWarningContrasted,
|
|
1431
|
-
}
|
|
1432
|
-
const apColors2026 = {}
|
|
1433
|
-
return {
|
|
1434
|
-
cnamColors,
|
|
1435
|
-
paColors,
|
|
1436
|
-
apColors,
|
|
1437
|
-
apColors2026,
|
|
1438
|
-
colorTitle,
|
|
1439
|
-
colorTitleLevel,
|
|
1440
|
-
}
|
|
1441
|
-
},
|
|
1442
|
-
template: `
|
|
1443
|
-
<ColorDisplay
|
|
1444
|
-
displayEmptyColors
|
|
1445
|
-
colorCategory="warningBackgrounds"
|
|
1446
|
-
:cnamColors="cnamColors"
|
|
1447
|
-
:paColors="paColors"
|
|
1448
|
-
:apColors="apColors"
|
|
1449
|
-
:apColors2026="apColors2026"
|
|
1450
|
-
:colorTitle="colorTitle"
|
|
1451
|
-
:colorTitleLevel="colorTitleLevel"
|
|
1452
|
-
/>
|
|
1453
|
-
`,
|
|
1454
|
-
}
|
|
1455
|
-
},
|
|
1456
|
-
tags: ['!dev'],
|
|
1457
|
-
}
|
|
1458
|
-
|
|
1459
|
-
export const ErrorBackgrounds: StoryObj = {
|
|
1460
|
-
render: () => {
|
|
1461
|
-
return {
|
|
1462
|
-
components: { ColorDisplay },
|
|
1463
|
-
setup() {
|
|
1464
|
-
const colorTitle = 'Error'
|
|
1465
|
-
const colorTitleLevel = 3
|
|
1466
|
-
const cnamColors = {
|
|
1467
|
-
'background-error': cnamLightTheme.backgroundError,
|
|
1468
|
-
'background-error-subdued': cnamLightTheme.backgroundErrorSubdued,
|
|
1469
|
-
'background-error-contrasted': cnamLightTheme.backgroundErrorContrasted,
|
|
1470
|
-
}
|
|
1471
|
-
const paColors = {
|
|
1472
|
-
'background-error': paLightTheme.backgroundError,
|
|
1473
|
-
'background-error-subdued': paLightTheme.backgroundErrorSubdued,
|
|
1474
|
-
'background-error-contrasted': paLightTheme.backgroundErrorContrasted,
|
|
1475
|
-
}
|
|
1476
|
-
const apColors = {
|
|
1477
|
-
'background-error': apLightTheme.backgroundError,
|
|
1478
|
-
'background-error-subdued': apLightTheme.backgroundErrorSubdued,
|
|
1479
|
-
'background-error-contrasted': apLightTheme.backgroundErrorContrasted,
|
|
1480
|
-
}
|
|
1481
|
-
const apColors2026 = {}
|
|
1482
|
-
return {
|
|
1483
|
-
cnamColors,
|
|
1484
|
-
paColors,
|
|
1485
|
-
apColors,
|
|
1486
|
-
apColors2026,
|
|
1487
|
-
colorTitle,
|
|
1488
|
-
colorTitleLevel,
|
|
1489
|
-
}
|
|
1490
|
-
},
|
|
1491
|
-
template: `
|
|
1492
|
-
<ColorDisplay
|
|
1493
|
-
displayEmptyColors
|
|
1494
|
-
colorCategory="errorBackgrounds"
|
|
1495
|
-
:cnamColors="cnamColors"
|
|
1496
|
-
:paColors="paColors"
|
|
1497
|
-
:apColors="apColors"
|
|
1498
|
-
:apColors2026="apColors2026"
|
|
1499
|
-
:colorTitle="colorTitle"
|
|
1500
|
-
:colorTitleLevel="colorTitleLevel"
|
|
1501
|
-
/>
|
|
1502
|
-
`,
|
|
1503
|
-
}
|
|
1504
|
-
},
|
|
1505
|
-
tags: ['!dev'],
|
|
1506
|
-
}
|
|
1507
|
-
|
|
1508
|
-
export const OtherBackgrounds: StoryObj = {
|
|
1509
|
-
render: () => {
|
|
1510
|
-
return {
|
|
1511
|
-
components: { ColorDisplay },
|
|
1512
|
-
setup() {
|
|
1513
|
-
const colorTitle = 'Other'
|
|
1514
|
-
const colorTitleLevel = 3
|
|
1515
|
-
const cnamColors = {
|
|
1516
|
-
'background-assure': cnamLightTheme.backgroundAssure,
|
|
1517
|
-
'background-professionnel': cnamLightTheme.backgroundProfessionnel,
|
|
1518
|
-
'background-entreprise': cnamLightTheme.backgroundEntreprise,
|
|
1519
|
-
}
|
|
1520
|
-
const paColors = {
|
|
1521
|
-
'background-assure': paLightTheme.backgroundAssure,
|
|
1522
|
-
'background-professionnel': paLightTheme.backgroundProfessionnel,
|
|
1523
|
-
'background-entreprise': paLightTheme.backgroundEntreprise,
|
|
1524
|
-
}
|
|
1525
|
-
const apColors = {
|
|
1526
|
-
'background-assure': apLightTheme.backgroundAssure,
|
|
1527
|
-
'background-professionnel': apLightTheme.backgroundProfessionnel,
|
|
1528
|
-
'background-entreprise': apLightTheme.backgroundEntreprise,
|
|
1529
|
-
}
|
|
1530
|
-
const apColors2026 = {}
|
|
1531
|
-
return {
|
|
1532
|
-
cnamColors,
|
|
1533
|
-
paColors,
|
|
1534
|
-
apColors,
|
|
1535
|
-
apColors2026,
|
|
1536
|
-
colorTitle,
|
|
1537
|
-
colorTitleLevel,
|
|
1538
|
-
}
|
|
1539
|
-
},
|
|
1540
|
-
template: `
|
|
1541
|
-
<ColorDisplay
|
|
1542
|
-
displayEmptyColors
|
|
1543
|
-
colorCategory="otherBackgrounds"
|
|
1544
|
-
:cnamColors="cnamColors"
|
|
1545
|
-
:paColors="paColors"
|
|
1546
|
-
:apColors="apColors"
|
|
1547
|
-
:apColors2026="apColors2026"
|
|
1548
|
-
:colorTitle="colorTitle"
|
|
1549
|
-
:colorTitleLevel="colorTitleLevel"
|
|
1550
|
-
/>
|
|
1551
|
-
`,
|
|
1552
|
-
}
|
|
1553
|
-
},
|
|
1554
|
-
tags: ['!dev'],
|
|
1555
|
-
}
|
|
1556
|
-
|
|
1557
|
-
export const StatusBackgrounds: StoryObj = {
|
|
1558
|
-
render: () => {
|
|
1559
|
-
return {
|
|
1560
|
-
components: { ColorDisplay },
|
|
1561
|
-
setup() {
|
|
1562
|
-
const colorTitle = 'Fonds pour les statuts'
|
|
1563
|
-
const colorTitleLevel = 3
|
|
1564
|
-
const displayEmptyColors = false
|
|
1565
|
-
const cnamColors = {}
|
|
1566
|
-
const paColors = {}
|
|
1567
|
-
const apColors = {}
|
|
1568
|
-
const apColors2026 = {
|
|
1569
|
-
'ap-blue-lighten-2': apColorsTokens2026.apBlue.lighten2,
|
|
1570
|
-
'ap-parme': apColorsTokens2026.apParme.base,
|
|
1571
|
-
'ap-yellow-lighten-3': apColorsTokens2026.apYellow.lighten3,
|
|
1572
|
-
'ap-red-lighten-2': apColorsTokens2026.apRed.lighten2,
|
|
1573
|
-
'ap-red-lighten-3': apColorsTokens2026.apRed.lighten3,
|
|
1574
|
-
'ap-green-lighten-2': apColorsTokens2026.apGreen.lighten2,
|
|
1575
|
-
'ap-grey-lighten-2': apColorsTokens2026.apGrey.lighten2,
|
|
1576
|
-
}
|
|
1577
|
-
return {
|
|
1578
|
-
displayEmptyColors,
|
|
1579
|
-
cnamColors,
|
|
1580
|
-
paColors,
|
|
1581
|
-
apColors,
|
|
1582
|
-
apColors2026,
|
|
1583
|
-
colorTitle,
|
|
1584
|
-
colorTitleLevel,
|
|
1585
|
-
}
|
|
1586
|
-
},
|
|
1587
|
-
template: `
|
|
1588
|
-
<ColorDisplay
|
|
1589
|
-
colorCategory="base"
|
|
1590
|
-
:cnamColors="cnamColors"
|
|
1591
|
-
:paColors="paColors"
|
|
1592
|
-
:apColors="apColors"
|
|
1593
|
-
:apColors2026="apColors2026"
|
|
1594
|
-
:colorTitle="colorTitle"
|
|
1595
|
-
:colorTitleLevel="colorTitleLevel"
|
|
1596
|
-
:displayEmptyColors="displayEmptyColors"
|
|
1597
|
-
/>
|
|
1598
|
-
`,
|
|
1599
|
-
}
|
|
1600
|
-
},
|
|
1601
|
-
tags: ['!dev'],
|
|
1602
|
-
}
|
|
1603
|
-
|
|
1604
|
-
export const MessagesBackgrounds: StoryObj = {
|
|
1605
|
-
render: () => {
|
|
1606
|
-
return {
|
|
1607
|
-
components: { ColorDisplay },
|
|
1608
|
-
setup() {
|
|
1609
|
-
const colorTitle = 'Fonds pour les messages'
|
|
1610
|
-
const colorTitleLevel = 3
|
|
1611
|
-
const displayEmptyColors = false
|
|
1612
|
-
const cnamColors = {}
|
|
1613
|
-
const paColors = {}
|
|
1614
|
-
const apColors = {}
|
|
1615
|
-
const apColors2026 = {
|
|
1616
|
-
'ap-red': apColorsTokens2026.apRed.base,
|
|
1617
|
-
'ap-turquoise-darken-1': apColorsTokens2026.apTurquoise.darken1,
|
|
1618
|
-
'ap-yellow': apColorsTokens2026.apYellow.base,
|
|
1619
|
-
'ap-parme-darken-1': apColorsTokens2026.apParme.darken1,
|
|
1620
|
-
}
|
|
1621
|
-
return {
|
|
1622
|
-
displayEmptyColors,
|
|
1623
|
-
cnamColors,
|
|
1624
|
-
paColors,
|
|
1625
|
-
apColors,
|
|
1626
|
-
apColors2026,
|
|
1627
|
-
colorTitle,
|
|
1628
|
-
colorTitleLevel,
|
|
1629
|
-
}
|
|
1630
|
-
},
|
|
1631
|
-
template: `
|
|
1632
|
-
<ColorDisplay
|
|
1633
|
-
colorCategory="base"
|
|
1634
|
-
:cnamColors="cnamColors"
|
|
1635
|
-
:paColors="paColors"
|
|
1636
|
-
:apColors="apColors"
|
|
1637
|
-
:apColors2026="apColors2026"
|
|
1638
|
-
:colorTitle="colorTitle"
|
|
1639
|
-
:colorTitleLevel="colorTitleLevel"
|
|
1640
|
-
:displayEmptyColors="displayEmptyColors"
|
|
1641
|
-
/>
|
|
1642
|
-
`,
|
|
1643
|
-
}
|
|
1644
|
-
},
|
|
1645
|
-
tags: ['!dev'],
|
|
1646
|
-
}
|
|
1647
|
-
|
|
1648
|
-
export const BackgroundSection = {
|
|
834
|
+
export const FeedbackSection = {
|
|
1649
835
|
render() {
|
|
1650
|
-
return h(createSection('
|
|
1651
|
-
|
|
1652
|
-
|
|
1653
|
-
|
|
1654
|
-
RaisedBackgrounds,
|
|
1655
|
-
DisabledBackgrounds,
|
|
1656
|
-
InformationalBackgrounds,
|
|
1657
|
-
SuccessBackgrounds,
|
|
1658
|
-
WarningBackgrounds,
|
|
1659
|
-
ErrorBackgrounds,
|
|
1660
|
-
OtherBackgrounds,
|
|
1661
|
-
StatusBackgrounds,
|
|
1662
|
-
MessagesBackgrounds,
|
|
1663
|
-
]))
|
|
836
|
+
return h(createSection('Feedback', [
|
|
837
|
+
Feedback,
|
|
838
|
+
OnFeedback,
|
|
839
|
+
], 'ap2026'))
|
|
1664
840
|
},
|
|
1665
841
|
}
|
|
1666
842
|
|