@cnamts/synapse 1.0.25 → 1.0.27
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/dist/{AutocompleteFilter-D7qBuCAP.js → AutocompleteFilter-C9eLKyW8.js} +3 -3
- package/dist/{DateFilter-BitMWrMU.js → DateFilter-y-GLkAkn.js} +9 -9
- package/dist/{NumberFilter-BTLUxw0a.js → NumberFilter-DN6hIBS7.js} +1 -1
- package/dist/{PeriodFilter-B5rUIPAC.js → PeriodFilter-MoUUp9qS.js} +1 -1
- package/dist/{SelectFilter-l4QnRcuk.js → SelectFilter-bCbrdLmu.js} +1 -1
- package/dist/{TextFilter-C9hj6Qrp.js → TextFilter-CvjgEaoM.js} +4 -4
- package/dist/apLightTheme2026-ug4Y23ns.js +611 -0
- package/dist/components/Customs/Selects/SyAutocomplete/SyAutocomplete.d.ts +2369 -351
- 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/SySelect/SySelect.d.ts +58 -288
- 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 -3
- package/dist/components/Customs/SyCheckbox/SyCheckbox.d.ts +4 -3
- package/dist/components/Customs/SyIconButton/SyIconButton.d.ts +18 -0
- package/dist/components/Customs/SyRadioGroup/SyRadioGroup.d.ts +20 -37
- package/dist/components/Customs/SyRadioGroup/composables/useSyRadioGroupValidation.d.ts +50 -0
- package/dist/components/Customs/SyTextField/SyTextField.d.ts +8 -10
- package/dist/components/DatePicker/CalendarMode/DatePicker.d.ts +197 -185
- package/dist/components/DatePicker/ComplexDatePicker/ComplexDatePicker.d.ts +91 -82
- package/dist/components/DatePicker/DateTextInput/DateTextInput.d.ts +35 -32
- package/dist/components/DatePicker/composables/index.d.ts +1 -0
- package/dist/components/DatePicker/composables/useDatePickerState.d.ts +3 -3
- package/dist/components/DatePicker/composables/useDatePickerValidationBridge.d.ts +51 -0
- package/dist/components/DatePicker/composables/useDateTextField.d.ts +2 -2
- package/dist/components/DatePicker/composables/useInputBlurHandler.d.ts +2 -2
- package/dist/components/DatePicker/types.d.ts +1 -2
- package/dist/components/LunarCalendar/useLunarCalendarValidation.d.ts +1 -0
- package/dist/components/MonthPicker/MonthPicker.d.ts +24 -24
- package/dist/components/MonthPicker/MonthPickerText/MonthPickerInput.d.ts +24 -24
- package/dist/components/NirField/NirField.d.ts +64 -60
- package/dist/components/NirField/useNirValidation.d.ts +6 -2
- package/dist/components/PasswordField/PasswordField.d.ts +3 -3
- package/dist/components/PeriodField/PeriodField.d.ts +338 -314
- package/dist/components/PhoneField/PhoneField.d.ts +34 -24
- package/dist/components/RangeField/RangeSlider/RangeSlider.d.ts +0 -3
- package/dist/components/RatingPicker/EmotionPicker/EmotionPicker.d.ts +3 -1
- package/dist/components/RatingPicker/NumberPicker/NumberPicker.d.ts +4 -3
- package/dist/components/RatingPicker/RatingPicker.d.ts +18 -5
- package/dist/components/RatingPicker/StarsPicker/StarsPicker.d.ts +3 -1
- package/dist/components/RatingPicker/useRatingFocus.d.ts +18 -0
- package/dist/components/SyTextArea/SyTextArea.d.ts +25 -15
- 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 +5 -4
- package/dist/components/Tables/SyTable/SyTable.d.ts +5 -4
- package/dist/components/Tables/common/SyTablePagination.d.ts +152 -364
- package/dist/components/Tables/common/TableHeader.d.ts +1 -1
- package/dist/components/Tables/common/filters/DateFilter.d.ts +4 -4
- package/dist/components/Tables/common/types.d.ts +2 -0
- package/dist/components/index.d.ts +1 -0
- package/dist/composables/date/useDateInitializationDayjs.d.ts +3 -1
- package/dist/composables/unifyValidation/documentationValidationProps.d.ts +160 -160
- package/dist/composables/unifyValidation/useCustomValidation.d.ts +3 -1
- package/dist/composables/unifyValidation/useValidation.d.ts +27 -19
- package/dist/composables/unifyValidation/useVuetifyValidation.d.ts +1 -1
- package/dist/composables/validation/useValidation.d.ts +1 -0
- 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 +53 -98
- 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 -99
- 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 +53 -97
- package/dist/designTokens/tokens/pa/paSemantic.d.ts +1 -0
- package/dist/designTokens/tokens/semanticTokens.d.ts +112 -0
- package/dist/{main-Cpx8Co6H.js → main-CI6Q9nmO.js} +13843 -13478
- package/dist/synapse.css +1 -1
- package/dist/vuetifyConfig.js +208 -72
- package/package.json +10 -7
- package/src/assets/overrides/_icons.scss +5 -17
- package/src/assets/overrides/_otp.scss +4 -5
- package/src/assets/overrides/_typography.scss +2 -1
- package/src/assets/overrides/_utilities.scss +1 -42
- package/src/components/Accordion/Accordion.vue +2 -0
- package/src/components/ChipList/ChipList.vue +30 -18
- package/src/components/ChipList/tests/chipList.spec.ts +4 -4
- package/src/components/CookiesSelection/CookiesInformation/CookiesInformation.vue +2 -1
- package/src/components/CookiesSelection/CookiesSelection.vue +2 -1
- package/src/components/CopyBtn/CopyBtn.vue +9 -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/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 +761 -1
- 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 +1029 -0
- package/src/components/Customs/Selects/SySelect/SySelect.stories.ts +52 -217
- package/src/components/Customs/Selects/SySelect/SySelect.vue +248 -236
- 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 +440 -5
- package/src/components/Customs/Selects/SySelect/validation/Validation.stories.ts +1026 -0
- package/src/components/Customs/SyCheckBoxGroup/SyCheckBoxGroup.stories.ts +18 -7
- package/src/components/Customs/SyCheckBoxGroup/SyCheckBoxGroup.vue +5 -5
- package/src/components/Customs/SyCheckbox/SyCheckbox.stories.ts +8 -8
- package/src/components/Customs/SyCheckbox/SyCheckbox.vue +27 -6
- package/src/components/Customs/SyCheckbox/tests/SyCheckbox.spec.ts +1 -1
- package/src/components/Customs/SyIcon/accessibilite/Accessibility.mdx +0 -6
- package/src/components/Customs/SyIcon/utils/tests/iconUtils.spec.ts +107 -0
- package/src/components/Customs/SyRadioGroup/SyRadioGroup.mdx +2 -2
- package/src/components/Customs/SyRadioGroup/SyRadioGroup.stories.ts +395 -200
- package/src/components/Customs/SyRadioGroup/SyRadioGroup.vue +100 -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/validation/Validation.stories.ts +773 -0
- package/src/components/Customs/SyTabs/SyTabs.stories.ts +5 -5
- 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/useTabTransition.spec.ts +188 -0
- package/src/components/Customs/SyTextField/SyTextField.stories.ts +10 -29
- package/src/components/Customs/SyTextField/SyTextField.vue +52 -17
- package/src/components/DataList/DataList.stories.ts +1 -1
- package/src/components/DataListItem/tests/DataListItem.spec.ts +3 -1
- package/src/components/DatePicker/CalendarMode/DatePicker.stories.ts +1 -1
- package/src/components/DatePicker/CalendarMode/DatePicker.vue +52 -154
- 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 +55 -73
- package/src/components/DatePicker/ComplexDatePicker/tests/ComplexDatePicker.spec.ts +207 -1
- 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/DatePickerValidationExample/DatePickerValidation.stories.ts +1 -1
- package/src/components/DatePicker/DateTextInput/DateTextInput.vue +169 -60
- 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/useDatePickerState.ts +33 -14
- package/src/components/DatePicker/composables/useDatePickerValidationBridge.ts +205 -0
- package/src/components/DatePicker/composables/useDateRangeInput.ts +2 -1
- package/src/components/DatePicker/composables/useDateSelection.ts +2 -1
- package/src/components/DatePicker/composables/useDateTextField.ts +2 -2
- package/src/components/DatePicker/composables/useInputBlurHandler.ts +2 -2
- 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/DatePicker/types.ts +1 -2
- package/src/components/DialogBox/DialogBox.stories.ts +8 -8
- package/src/components/DialogBox/DialogBox.vue +1 -1
- package/src/components/DialogBox/accessibilite/Accessibility.mdx +86 -22
- package/src/components/FileList/UploadItem/UploadItem.vue +4 -4
- package/src/components/FileUpload/FileUpload.vue +2 -2
- package/src/components/FileUpload/FileUploadContent.vue +1 -1
- package/src/components/FilterInline/FilterInline.mdx +2 -2
- package/src/components/FilterSideBar/FilterSideBar.stories.ts +1 -1
- package/src/components/FilterSideBar/FilterSideBar.vue +4 -3
- package/src/components/FooterBar/FooterBar.vue +7 -7
- package/src/components/FranceConnectBtn/FranceConnectBtn.vue +1 -1
- package/src/components/HeaderBar/HeaderBurgerMenu/HeaderMenuItem/HeaderMenuItem.vue +2 -2
- package/src/components/HeaderBar/HeaderBurgerMenu/HeaderSubMenu/HeaderSubMenu.vue +7 -7
- package/src/components/HeaderBar/HeaderMenuBtn/HeaderMenuBtn.vue +2 -2
- package/src/components/HeaderLoading/tests/HeaderLoading.spec.ts +87 -8
- package/src/components/HeaderNavigationBar/HorizontalNavbar/HorizontalNavbar.vue +3 -3
- package/src/components/HeaderNavigationBar/HorizontalNavbar/tests/HorizontalNavbar.spec.ts +589 -0
- package/src/components/HeaderToolbar/tests/HeaderToolBar.spec.ts +153 -1
- package/src/components/HeaderToolbar/tests/useMobileRightMenu.spec.ts +258 -0
- package/src/components/LangBtn/LangBtn.vue +2 -1
- package/src/components/LogoBrandSection/tests/LogoBrandSection.spec.ts +2 -2
- package/src/components/LogoBrandSection/tests/__snapshots__/LogoBrandSection.spec.ts.snap +1 -1
- package/src/components/LunarCalendar/tests/useLunarCalendarRules.spec.ts +184 -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/NirField/NirField.vue +3 -3
- package/src/components/NotificationBar/Notification/Notification.vue +12 -12
- package/src/components/NotificationBar/NotificationBar.stories.ts +8 -8
- package/src/components/PaginatedTable/PaginatedTable.vue +1 -1
- package/src/components/PaginatedTable/Pagination.vue +3 -3
- package/src/components/PasswordField/PasswordField.vue +15 -11
- package/src/components/PasswordField/tests/PasswordField.spec.ts +3 -3
- package/src/components/PhoneField/PhoneField.vue +4 -2
- package/src/components/RangeField/RangeSlider/RangeSlider.vue +11 -18
- package/src/components/RangeField/RangeSlider/Tooltip/Tooltip.vue +1 -1
- package/src/components/RatingPicker/EmotionPicker/EmotionPicker.vue +32 -48
- package/src/components/RatingPicker/EmotionPicker/tests/__snapshots__/EmotionPicker.spec.ts.snap +5 -0
- package/src/components/RatingPicker/NumberPicker/NumberPicker.vue +48 -53
- package/src/components/RatingPicker/NumberPicker/tests/NumberPicker.spec.ts +2 -1
- package/src/components/RatingPicker/NumberPicker/tests/__snapshots__/NumberPicker.spec.ts.snap +40 -13
- package/src/components/RatingPicker/RatingPicker.stories.ts +65 -88
- package/src/components/RatingPicker/RatingPicker.vue +71 -15
- package/src/components/RatingPicker/StarsPicker/StarsPicker.vue +28 -37
- package/src/components/RatingPicker/StarsPicker/tests/StarsPicker.spec.ts +1 -1
- package/src/components/RatingPicker/StarsPicker/tests/__snapshots__/StarsPicker.spec.ts.snap +5 -0
- package/src/components/RatingPicker/accessibilite/Accessibility.mdx +137 -9
- package/src/components/RatingPicker/tests/RatingPicker.a11y.spec.ts +123 -0
- package/src/components/RatingPicker/tests/RatingPicker.spec.ts +3 -2
- package/src/components/RatingPicker/tests/__snapshots__/RatingPicker.spec.ts.snap +40 -11
- package/src/components/RatingPicker/useRatingFocus.ts +97 -0
- package/src/components/StatusPage/tests/StatusPage.spec.ts +149 -0
- package/src/components/SubHeader/SubHeader.vue +1 -1
- package/src/components/SyAlert/SyAlert.vue +23 -23
- package/src/components/SyTextArea/SyTextArea.stories.ts +177 -131
- package/src/components/SyTextArea/SyTextArea.vue +257 -74
- package/src/components/SyTextArea/composables/useSyTextAreaValidation.ts +81 -0
- package/src/components/SyTextArea/locales.ts +1 -0
- package/src/components/SyTextArea/tests/SyTextArea.spec.ts +449 -1
- package/src/components/SyTextArea/useDefaultValidationRules.ts +2 -7
- package/src/components/SyTextArea/validation/Validation.stories.ts +856 -0
- package/src/components/TableToolbar/TableToolbar.vue +6 -6
- package/src/components/TableToolbar/accessibilite/Accessibility.mdx +81 -7
- package/src/components/Tables/SyServerTable/SyServerTable.stories.ts +163 -0
- package/src/components/Tables/SyServerTable/SyServerTable.vue +3 -2
- package/src/components/Tables/SyServerTable/tests/SyServerTable.spec.ts +67 -0
- package/src/components/Tables/SyTable/SyTable.stories.ts +94 -0
- package/src/components/Tables/SyTable/SyTable.vue +3 -2
- package/src/components/Tables/SyTable/tests/SyTable.spec.ts +64 -0
- package/src/components/Tables/common/SyTableFilter.vue +4 -4
- package/src/components/Tables/common/SyTablePagination.vue +1 -0
- package/src/components/Tables/common/TableHeader.vue +3 -3
- package/src/components/Tables/common/filters/DateFilter.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 +6 -6
- package/src/components/Tables/common/types.ts +2 -0
- package/src/components/UploadWorkflow/tests/UploadWorkflow.spec.ts +2 -0
- package/src/components/index.ts +1 -0
- package/src/composables/date/tests/useDateFormatDayjs.spec.ts +112 -0
- package/src/composables/date/tests/{useDateInitialization.spec.ts → useDateInitializationDayjs.spec.ts} +39 -3
- package/src/composables/date/tests/useHolidayDay.spec.ts +109 -0
- package/src/composables/date/useDateInitializationDayjs.ts +4 -1
- 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 +12 -12
- package/src/composables/unifyValidation/tests/documentationValidationProps.spec.ts +177 -0
- package/src/composables/unifyValidation/tests/useCustomValidation.spec.ts +32 -1
- package/src/composables/unifyValidation/tests/useValidation.spec.ts +28 -2
- package/src/composables/unifyValidation/useCustomValidation.ts +34 -12
- package/src/composables/unifyValidation/useValidation.ts +55 -27
- package/src/composables/unifyValidation/useVuetifyValidation.ts +2 -2
- package/src/composables/useFilterable/useFilterable.spec.ts +42 -0
- package/src/composables/useFilterable/useFilterable.ts +11 -7
- package/src/composables/useFormFieldErrorHandling.ts +6 -3
- package/src/composables/validation/tests/useValidation.spec.ts +2 -2
- package/src/composables/validation/useValidation.ts +15 -3
- package/src/composantsVuetify/VBtn/VBtn.mdx +9 -39
- package/src/composantsVuetify/VBtn/v-btn.stories.ts +26 -86
- package/src/composantsVuetify/VCard/VCard.mdx +59 -0
- package/src/composantsVuetify/VCard/v-card.stories.ts +279 -0
- package/src/designTokens/tokens/amelipro/apColors2026.ts +1 -1
- 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 +72 -100
- package/src/designTokens/tokens/amelipro/apSemantic.ts +1 -1
- 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 -101
- package/src/designTokens/tokens/pa/paDarkTheme.ts +2 -2
- package/src/designTokens/tokens/pa/paLightTheme.ts +73 -99
- package/src/designTokens/tokens/pa/paSemantic.ts +2 -0
- package/src/designTokens/tokens/semanticTokens.ts +114 -0
- package/src/stories/Accessibilite/Aculturation/SensibilisationAccessibilite.mdx +61 -91
- package/src/stories/Accessibilite/AuditDesignSystem.mdx +5 -8
- package/src/stories/Accessibilite/AuditEtContreAudit/Exemptions-derogations.mdx +1 -1
- package/src/stories/Accessibilite/AuditEtContreAudit/Introduction.mdx +11 -8
- package/src/stories/Accessibilite/AuditEtContreAudit/RGAA.mdx +6 -7
- package/src/stories/Accessibilite/Introduction.mdx +30 -30
- package/src/stories/Accessibilite/KitDePreAudit/Echantillonnage.mdx +168 -78
- package/src/stories/Accessibilite/KitDePreAudit/Introduction.mdx +13 -6
- package/src/stories/Accessibilite/KitDePreAudit/Outils/Introduction.mdx +66 -45
- package/src/stories/Accessibilite/KitDePreAudit/Outils/LecteursDEcran.mdx +23 -49
- package/src/stories/Accessibilite/KitDePreAudit/Outils/Tanaguru/FauxPositifs.stories.ts +6 -0
- package/src/stories/Accessibilite/KitDePreAudit/Outils/Tanaguru/Utilisation.mdx +7 -19
- package/src/stories/Accessibilite/KitDePreAudit/Preaudit.mdx +18 -20
- package/src/stories/Components/Components.stories.ts +59 -6
- package/src/stories/DesignTokens/ColorIntegrationExample.vue +2 -3
- package/src/stories/DesignTokens/Colors.mdx +6 -8
- package/src/stories/DesignTokens/colors.stories.ts +244 -1081
- package/src/utils/amelipro/toKebabCase/tests/toKebabCase.spec.ts +52 -0
- package/src/utils/formatNir/tests/formatNir.spec.ts +34 -0
- package/src/utils/tests/insertAt.spec.ts +44 -0
- package/dist/AutocompleteFilter-Df9i5mAl.cjs +0 -1
- package/dist/DateFilter-BJD6FMev.cjs +0 -1
- package/dist/NumberFilter-DGCzCXzI.cjs +0 -1
- package/dist/PeriodFilter-DO_ecTZW.cjs +0 -1
- package/dist/SelectFilter-CGwcKWLm.cjs +0 -1
- package/dist/TextFilter-B8nf7xoK.cjs +0 -1
- package/dist/apLightTheme-CEK4iY3f.cjs +0 -1
- package/dist/apLightTheme-DnIM24Lv.js +0 -950
- package/dist/composables/date/useDateFormat.d.ts +0 -26
- package/dist/composables/date/useDateInitialization.d.ts +0 -18
- package/dist/design-system-v3.umd.cjs +0 -1
- package/dist/main-ByDPHpae.cjs +0 -1067
- package/dist/tooth-11-D3sLWv2n.cjs +0 -1
- package/dist/tooth-12-CXrLuH03.cjs +0 -1
- package/dist/tooth-13-BSfo5fpT.cjs +0 -1
- package/dist/tooth-14-DMzulx0h.cjs +0 -1
- package/dist/tooth-15-BKRFVi-9.cjs +0 -1
- package/dist/tooth-16-CpuxAbuM.cjs +0 -1
- package/dist/tooth-17-BPoahUdg.cjs +0 -1
- package/dist/tooth-18-DhHJz8sy.cjs +0 -1
- package/dist/tooth-21-Dgd5hn_X.cjs +0 -1
- package/dist/tooth-22-C2Tn19sB.cjs +0 -1
- package/dist/tooth-23-C9uaaSGb.cjs +0 -1
- package/dist/tooth-24-BrK9UGpf.cjs +0 -1
- package/dist/tooth-25-CE_EfGNp.cjs +0 -1
- package/dist/tooth-26-Ctv4i9Fy.cjs +0 -1
- package/dist/tooth-27-C5J7JkWM.cjs +0 -1
- package/dist/tooth-28-Z9oWqjo0.cjs +0 -1
- package/dist/tooth-31-BrYqmkTi.cjs +0 -1
- package/dist/tooth-32-BNNR0oCZ.cjs +0 -1
- package/dist/tooth-33-DuxvqO2J.cjs +0 -1
- package/dist/tooth-34-BCSCXMB6.cjs +0 -1
- package/dist/tooth-35-BLUXkX88.cjs +0 -1
- package/dist/tooth-36-IrKHYqlA.cjs +0 -1
- package/dist/tooth-37-BYqpdMwo.cjs +0 -1
- package/dist/tooth-38-B_eNXXdu.cjs +0 -1
- package/dist/tooth-41-Ddva4Ot8.cjs +0 -1
- package/dist/tooth-42-szcDqlM0.cjs +0 -1
- package/dist/tooth-43-B3ka6rQm.cjs +0 -1
- package/dist/tooth-44-CazyQucj.cjs +0 -1
- package/dist/tooth-45-B4HQtc8n.cjs +0 -1
- package/dist/tooth-46-BPM40gbG.cjs +0 -1
- package/dist/tooth-47-Dvr20dlh.cjs +0 -1
- package/dist/tooth-48-Bd8ljGsF.cjs +0 -1
- package/dist/tooth-51-OBpwCOF3.cjs +0 -1
- package/dist/tooth-52-aKxyHcmq.cjs +0 -1
- package/dist/tooth-53-vCwJjTOc.cjs +0 -1
- package/dist/tooth-54-DsWu2iFy.cjs +0 -1
- package/dist/tooth-55-BxC1X2Dn.cjs +0 -1
- package/dist/tooth-61-BbLvxMQi.cjs +0 -1
- package/dist/tooth-62-CmTkWczP.cjs +0 -1
- package/dist/tooth-63-DI7l_2qI.cjs +0 -1
- package/dist/tooth-64-B21sOsJh.cjs +0 -1
- package/dist/tooth-65-D2ZC2VEr.cjs +0 -1
- package/dist/tooth-71-D473PPO5.cjs +0 -1
- package/dist/tooth-72-Drh1wnNu.cjs +0 -1
- package/dist/tooth-73-DzlwYI23.cjs +0 -1
- package/dist/tooth-74-8aGvcZPg.cjs +0 -1
- package/dist/tooth-75-BFK7At_r.cjs +0 -1
- package/dist/tooth-81-BZmR-I0M.cjs +0 -1
- package/dist/tooth-82-euVfUUZV.cjs +0 -1
- package/dist/tooth-83-KV010j64.cjs +0 -1
- package/dist/tooth-84-BBg1RjhZ.cjs +0 -1
- package/dist/tooth-85-Cr-kc1wM.cjs +0 -1
- package/dist/vuetifyConfig.umd.cjs +0 -1
- package/src/components/BackBtn/tests/__snapshots__/back-btn-custom-bg.snap.png +0 -0
- package/src/components/BackBtn/tests/__snapshots__/back-btn-dark-mode.snap.png +0 -0
- package/src/components/BackBtn/tests/__snapshots__/back-btn-default.snap.png +0 -0
- package/src/components/BackBtn/tests/__snapshots__/back-btn-no-icon.snap.png +0 -0
- package/src/components/DatePicker/CalendarMode/tests/DatePicker.events.spec.ts +0 -178
- 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/HeaderBar/HeaderBurgerMenu/tests/__snapshots__/header-burger-menu-generated-submenu-open.snap.png +0 -0
- package/src/components/HeaderBar/HeaderBurgerMenu/tests/__snapshots__/header-burger-menu-generated.snap.png +0 -0
- package/src/components/HeaderBar/tests/__snapshots__/header-bar-custom-width.snap.png +0 -0
- package/src/components/HeaderBar/tests/__snapshots__/header-bar-default.snap.png +0 -0
- package/src/components/HeaderBar/tests/__snapshots__/header-bar-no-sticky.snap.png +0 -0
- package/src/components/HeaderBar/tests/__snapshots__/header-bar-with-prepend.snap.png +0 -0
- package/src/components/HeaderBar/tests/__snapshots__/header-bar-with-side.snap.png +0 -0
- package/src/components/HeaderBar/tests/__snapshots__/header-bar-with-subtitle.snap.png +0 -0
- package/src/components/Logo/tests/__snapshots__/logo-avatar.snap.png +0 -0
- package/src/components/Logo/tests/__snapshots__/logo-dark.snap.png +0 -0
- package/src/components/Logo/tests/__snapshots__/logo-default.snap.png +0 -0
- package/src/components/Logo/tests/__snapshots__/logo-no-organism.snap.png +0 -0
- package/src/components/Logo/tests/__snapshots__/logo-no-signature.snap.png +0 -0
- package/src/components/Logo/tests/__snapshots__/logo-risque-pro.snap.png +0 -0
- package/src/components/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/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/composables/date/tests/useDateFormat.spec.ts +0 -67
- package/src/composables/date/useDateFormat.ts +0 -110
- package/src/composables/date/useDateInitialization.ts +0 -92
package/dist/vuetifyConfig.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import * as
|
|
3
|
-
import * as
|
|
4
|
-
import { mdi as
|
|
5
|
-
import { fr as
|
|
6
|
-
import { createVuetify as
|
|
7
|
-
const
|
|
1
|
+
import { e, d as b, c as S, f as h, h as u, a as w, b as k, g as z } from "./apLightTheme2026-ug4Y23ns.js";
|
|
2
|
+
import * as W from "vuetify/components";
|
|
3
|
+
import * as H from "vuetify/directives";
|
|
4
|
+
import { mdi as F, aliases as V } from "vuetify/iconsets/mdi-svg";
|
|
5
|
+
import { fr as A } from "vuetify/locale";
|
|
6
|
+
import { createVuetify as x } from "vuetify";
|
|
7
|
+
const f = {
|
|
8
8
|
family: {
|
|
9
9
|
primary: '"Arial", sans-serif',
|
|
10
10
|
secondary: '"Arial", sans-serif'
|
|
@@ -165,7 +165,9 @@ const g = {
|
|
|
165
165
|
letterSpacing: "-0.00375em"
|
|
166
166
|
}
|
|
167
167
|
}
|
|
168
|
-
},
|
|
168
|
+
}, $ = {
|
|
169
|
+
backgroundSurface: e.color.parma.darken60
|
|
170
|
+
}, m = {
|
|
169
171
|
family: {
|
|
170
172
|
primary: '"Arial", sans-serif',
|
|
171
173
|
secondary: '"Arial", sans-serif'
|
|
@@ -326,8 +328,8 @@ const g = {
|
|
|
326
328
|
letterSpacing: "-0.003em"
|
|
327
329
|
}
|
|
328
330
|
}
|
|
329
|
-
},
|
|
330
|
-
...
|
|
331
|
+
}, P = {
|
|
332
|
+
...b,
|
|
331
333
|
colors: {
|
|
332
334
|
background: "#ffffff",
|
|
333
335
|
border: "#dddddd",
|
|
@@ -336,8 +338,73 @@ const g = {
|
|
|
336
338
|
overlay: "rgba(0, 0, 0, 0.5)",
|
|
337
339
|
interactive: "#007bff"
|
|
338
340
|
}
|
|
339
|
-
},
|
|
340
|
-
|
|
341
|
+
}, T = {
|
|
342
|
+
risquePro: e.color.brick.base,
|
|
343
|
+
// Border
|
|
344
|
+
border: e.color.blue.base,
|
|
345
|
+
borderVariant: e.color.grey.lighten40,
|
|
346
|
+
borderBright: e.color.white.base,
|
|
347
|
+
borderDim: e.color.white.alpha40,
|
|
348
|
+
// Disabled
|
|
349
|
+
disabled: e.color.grey.lighten80,
|
|
350
|
+
onDisabled: e.color.grey.lighten40,
|
|
351
|
+
inverseSurface: e.color.grey.base,
|
|
352
|
+
onDisabledVariant: e.color.white.alpha40,
|
|
353
|
+
// Primary
|
|
354
|
+
primary: e.color.blue.base,
|
|
355
|
+
onPrimary: e.color.white.base,
|
|
356
|
+
primaryVariant: e.color.blue.darken40,
|
|
357
|
+
onPrimaryVariant: e.color.white.base,
|
|
358
|
+
// Secondary
|
|
359
|
+
secondary: e.color.cyan.darken40,
|
|
360
|
+
onSecondary: e.color.white.base,
|
|
361
|
+
secondaryVariant: e.color.cyan.darken60,
|
|
362
|
+
onSecondaryVariant: e.color.white.base,
|
|
363
|
+
// Overlay
|
|
364
|
+
overlay: e.color.grey.alpha40,
|
|
365
|
+
// Surface
|
|
366
|
+
surface: e.color.white.base,
|
|
367
|
+
surfaceBright: e.color.blue.lighten97,
|
|
368
|
+
surfaceDim: e.color.blue.lighten90,
|
|
369
|
+
onSurface: e.color.grey.darken60,
|
|
370
|
+
onSurfaceVariant: e.color.grey.base,
|
|
371
|
+
// Background
|
|
372
|
+
background: e.color.blue.lighten90,
|
|
373
|
+
onBackground: e.color.grey.darken60,
|
|
374
|
+
backgroundVariant: e.color.white.base,
|
|
375
|
+
onBackgroundVariant: e.color.grey.lighten40,
|
|
376
|
+
// Feedback
|
|
377
|
+
info: e.color.blue.base,
|
|
378
|
+
infoVariant: e.color.blue.lighten80,
|
|
379
|
+
onInfo: e.color.white.base,
|
|
380
|
+
onInfoVariant: e.color.blue.darken20,
|
|
381
|
+
error: e.color.orange.darken20,
|
|
382
|
+
onError: e.color.white.base,
|
|
383
|
+
errorVariant: e.color.orange.lighten80,
|
|
384
|
+
onErrorVariant: e.color.orange.darken60,
|
|
385
|
+
success: e.color.green.base,
|
|
386
|
+
successVariant: e.color.green.lighten80,
|
|
387
|
+
onSuccess: e.color.grey.darken60,
|
|
388
|
+
onSuccessVariant: e.color.grey.darken60,
|
|
389
|
+
warning: e.color.yellow.base,
|
|
390
|
+
onWarning: e.color.grey.darken60,
|
|
391
|
+
warningVariant: e.color.yellow.lighten80,
|
|
392
|
+
onWarningVariant: e.color.yellow.darken60,
|
|
393
|
+
// Interaction
|
|
394
|
+
interactionLightenEnabled: e.color.none,
|
|
395
|
+
interactionLightenHover: e.color.white.alpha20,
|
|
396
|
+
interactionLightenSelected: e.color.white.alpha20,
|
|
397
|
+
interactionLightenPressed: e.color.white.alpha38,
|
|
398
|
+
interactionDarkEnabled: e.color.transparentBlue.alpha00,
|
|
399
|
+
interactionDarkHover: e.color.transparentBlue.alpha08,
|
|
400
|
+
interactionDarkPressed: e.color.transparentBlue.alpha18,
|
|
401
|
+
interactionDarkenEnabled: e.color.transparentBlack.alpha00,
|
|
402
|
+
interactionDarkenHover: e.color.transparentBlack.alpha20,
|
|
403
|
+
interactionDarkenPressed: e.color.transparentBlack.alpha40
|
|
404
|
+
}, D = {
|
|
405
|
+
backgroundSurface: e.color.parma.darken60
|
|
406
|
+
}, d = {
|
|
407
|
+
...b,
|
|
341
408
|
colors: {
|
|
342
409
|
background: "#ffffff",
|
|
343
410
|
border: "#dddddd",
|
|
@@ -398,59 +465,128 @@ const g = {
|
|
|
398
465
|
switchThumbElevation: "0",
|
|
399
466
|
switchWidth: "3.5rem",
|
|
400
467
|
switchTrackOpacity: "1"
|
|
468
|
+
},
|
|
469
|
+
radius: {
|
|
470
|
+
rounded0: "0",
|
|
471
|
+
rounded: "12px",
|
|
472
|
+
roundedLg: "24px",
|
|
473
|
+
roundedPill: "64px"
|
|
401
474
|
}
|
|
402
|
-
},
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
475
|
+
}, B = {
|
|
476
|
+
risquePro: e.color.red.base,
|
|
477
|
+
// Border
|
|
478
|
+
border: e.color.cyan.darken20,
|
|
479
|
+
borderVariant: e.color.grey.lighten40,
|
|
480
|
+
borderBright: e.color.white.base,
|
|
481
|
+
borderDim: e.color.white.alpha40,
|
|
482
|
+
// Disabled
|
|
483
|
+
disabled: e.color.grey.lighten80,
|
|
484
|
+
inverseSurface: e.color.grey.base,
|
|
485
|
+
onDisabled: e.color.grey.lighten40,
|
|
486
|
+
onDisabledVariant: e.color.white.alpha40,
|
|
487
|
+
// Primary
|
|
488
|
+
primary: e.color.cyan.darken20,
|
|
489
|
+
onPrimary: e.color.white.base,
|
|
490
|
+
primaryVariant: e.color.cyan.darken40,
|
|
491
|
+
onPrimaryVariant: e.color.white.base,
|
|
492
|
+
// Secondary
|
|
493
|
+
secondary: e.color.cyan.darken60,
|
|
494
|
+
onSecondary: e.color.white.base,
|
|
495
|
+
secondaryVariant: e.color.cyan.darken80,
|
|
496
|
+
onSecondaryVariant: e.color.white.base,
|
|
497
|
+
// Overlay
|
|
498
|
+
overlay: e.color.grey.alpha40,
|
|
499
|
+
// Surface
|
|
500
|
+
surface: e.color.white.base,
|
|
501
|
+
surfaceBright: e.color.cyan.lighten97,
|
|
502
|
+
surfaceDim: e.color.cyan.lighten80,
|
|
503
|
+
onSurface: e.color.grey.darken60,
|
|
504
|
+
onSurfaceVariant: e.color.grey.base,
|
|
505
|
+
// Background
|
|
506
|
+
background: e.color.cyan.lighten97,
|
|
507
|
+
backgroundVariant: e.color.white.base,
|
|
508
|
+
onBackground: e.color.grey.darken60,
|
|
509
|
+
onBackgroundVariant: e.color.grey.lighten40,
|
|
510
|
+
// Feedback
|
|
511
|
+
info: e.color.parma.darken40,
|
|
512
|
+
infoVariant: e.color.parma.lighten80,
|
|
513
|
+
onInfo: e.color.white.base,
|
|
514
|
+
onInfoVariant: e.color.parma.darken60,
|
|
515
|
+
error: e.color.red.darken20,
|
|
516
|
+
onError: e.color.white.base,
|
|
517
|
+
errorVariant: e.color.red.lighten90,
|
|
518
|
+
onErrorVariant: e.color.red.darken60,
|
|
519
|
+
success: e.color.forestGreen.base,
|
|
520
|
+
onSuccess: e.color.white.base,
|
|
521
|
+
successVariant: e.color.forestGreen.lighten90,
|
|
522
|
+
onSuccessVariant: e.color.forestGreen.darken60,
|
|
523
|
+
warning: e.color.yellow.base,
|
|
524
|
+
onWarning: e.color.grey.darken60,
|
|
525
|
+
warningVariant: e.color.yellow.lighten80,
|
|
526
|
+
onWarningVariant: e.color.yellow.darken60,
|
|
527
|
+
// Interaction
|
|
528
|
+
interactionLightenEnabled: e.color.none,
|
|
529
|
+
interactionLightenHover: e.color.white.alpha20,
|
|
530
|
+
interactionLightenSelected: e.color.white.alpha20,
|
|
531
|
+
interactionLightenPressed: e.color.white.alpha38,
|
|
532
|
+
interactionDarkEnabled: e.color.transparentCyan.alpha00,
|
|
533
|
+
interactionDarkHover: e.color.transparentCyan.alpha08,
|
|
534
|
+
interactionDarkPressed: e.color.transparentCyan.alpha18,
|
|
535
|
+
interactionDarkenEnabled: e.color.transparentBlack.alpha00,
|
|
536
|
+
interactionDarkenHover: e.color.transparentBlack.alpha20,
|
|
537
|
+
interactionDarkenPressed: e.color.transparentBlack.alpha40
|
|
538
|
+
}, p = {
|
|
539
|
+
backgroundSurface: e.color.parma.darken60
|
|
540
|
+
}, v = (n) => typeof n == "object" && n !== null, c = (n) => {
|
|
541
|
+
const t = {}, r = (i, a = "") => {
|
|
542
|
+
for (const [o, s] of Object.entries(i)) {
|
|
543
|
+
const l = a ? `${a}-${o}` : o;
|
|
544
|
+
if (s === void 0)
|
|
545
|
+
throw new Error(`Missing theme value for key "${l}"`);
|
|
546
|
+
v(s) ? r(s, l) : t[l] = s;
|
|
411
547
|
}
|
|
412
548
|
};
|
|
413
|
-
return
|
|
549
|
+
return r(n), t;
|
|
414
550
|
};
|
|
415
551
|
function y(n) {
|
|
416
552
|
const t = {};
|
|
417
|
-
if (n.family && n.family.primary && (t["font-family"] = n.family.primary), n.heading && Object.entries(n.heading).forEach(([
|
|
418
|
-
var
|
|
419
|
-
t[`typography-${
|
|
420
|
-
}), n.body && Object.entries(n.body).forEach(([
|
|
421
|
-
var
|
|
422
|
-
t[`typography-${
|
|
423
|
-
}), n.subtitle && Object.entries(n.subtitle).forEach(([
|
|
424
|
-
var
|
|
425
|
-
t[`typography-${
|
|
426
|
-
}), ["caption", "overline"].forEach((
|
|
427
|
-
var i,
|
|
428
|
-
if (n[
|
|
429
|
-
const
|
|
430
|
-
if (
|
|
431
|
-
if ("fontSize" in
|
|
432
|
-
t[`typography-${
|
|
553
|
+
if (n.family && n.family.primary && (t["font-family"] = n.family.primary), n.heading && Object.entries(n.heading).forEach(([r, i]) => {
|
|
554
|
+
var a, o;
|
|
555
|
+
t[`typography-${r}-font-size`] = i.fontSize || "", t[`typography-${r}-font-weight`] = ((a = i.fontWeight) == null ? void 0 : a.toString()) || "", t[`typography-${r}-line-height`] = ((o = i.lineHeight) == null ? void 0 : o.toString()) || "", t[`typography-${r}-letter-spacing`] = i.letterSpacing || "normal";
|
|
556
|
+
}), n.body && Object.entries(n.body).forEach(([r, i]) => {
|
|
557
|
+
var a, o;
|
|
558
|
+
t[`typography-${r}-font-size`] = i.fontSize || "", t[`typography-${r}-font-weight`] = ((a = i.fontWeight) == null ? void 0 : a.toString()) || "", t[`typography-${r}-line-height`] = ((o = i.lineHeight) == null ? void 0 : o.toString()) || "", t[`typography-${r}-letter-spacing`] = i.letterSpacing || "normal";
|
|
559
|
+
}), n.subtitle && Object.entries(n.subtitle).forEach(([r, i]) => {
|
|
560
|
+
var a, o;
|
|
561
|
+
t[`typography-${r}-font-size`] = i.fontSize || "", t[`typography-${r}-font-weight`] = ((a = i.fontWeight) == null ? void 0 : a.toString()) || "", t[`typography-${r}-line-height`] = ((o = i.lineHeight) == null ? void 0 : o.toString()) || "", t[`typography-${r}-letter-spacing`] = i.letterSpacing || "normal";
|
|
562
|
+
}), ["caption", "overline"].forEach((r) => {
|
|
563
|
+
var i, a, o, s;
|
|
564
|
+
if (n[r]) {
|
|
565
|
+
const l = n[r];
|
|
566
|
+
if (l && typeof l == "object" && !Array.isArray(l))
|
|
567
|
+
if ("fontSize" in l)
|
|
568
|
+
t[`typography-${r}-font-size`] = l.fontSize || "", t[`typography-${r}-font-weight`] = ((i = l.fontWeight) == null ? void 0 : i.toString()) || "", t[`typography-${r}-line-height`] = ((a = l.lineHeight) == null ? void 0 : a.toString()) || "", t[`typography-${r}-letter-spacing`] = l.letterSpacing || "normal", l.textTransform && (t[`typography-${r}-text-transform`] = l.textTransform || "");
|
|
433
569
|
else {
|
|
434
|
-
const
|
|
435
|
-
|
|
570
|
+
const g = l[r];
|
|
571
|
+
g && (t[`typography-${r}-font-size`] = g.fontSize || "", t[`typography-${r}-font-weight`] = ((o = g.fontWeight) == null ? void 0 : o.toString()) || "", t[`typography-${r}-line-height`] = ((s = g.lineHeight) == null ? void 0 : s.toString()) || "", t[`typography-${r}-letter-spacing`] = g.letterSpacing || "normal", g.textTransform && (t[`typography-${r}-text-transform`] = g.textTransform || ""));
|
|
436
572
|
}
|
|
437
573
|
}
|
|
438
574
|
}), n.display) {
|
|
439
|
-
const
|
|
575
|
+
const r = n.display;
|
|
440
576
|
["display1", "display2"].forEach((i) => {
|
|
441
|
-
var
|
|
442
|
-
const
|
|
443
|
-
|
|
577
|
+
var o, s;
|
|
578
|
+
const a = r[i];
|
|
579
|
+
a && (t[`typography-${i}-font-size`] = a.fontSize || "", t[`typography-${i}-font-weight`] = ((o = a.fontWeight) == null ? void 0 : o.toString()) || "", t[`typography-${i}-line-height`] = ((s = a.lineHeight) == null ? void 0 : s.toString()) || "", t[`typography-${i}-letter-spacing`] = a.letterSpacing || "normal", a.textTransform && (t[`typography-${i}-text-transform`] = a.textTransform || ""));
|
|
444
580
|
});
|
|
445
581
|
}
|
|
446
582
|
return t;
|
|
447
583
|
}
|
|
448
|
-
const
|
|
449
|
-
components:
|
|
450
|
-
directives:
|
|
584
|
+
const R = () => x({
|
|
585
|
+
components: W,
|
|
586
|
+
directives: H,
|
|
451
587
|
locale: {
|
|
452
588
|
locale: "fr",
|
|
453
|
-
messages: { fr:
|
|
589
|
+
messages: { fr: A }
|
|
454
590
|
},
|
|
455
591
|
theme: {
|
|
456
592
|
defaultTheme: "cnam",
|
|
@@ -458,65 +594,65 @@ const M = () => X({
|
|
|
458
594
|
cnam: {
|
|
459
595
|
dark: !1,
|
|
460
596
|
colors: {
|
|
461
|
-
...F,
|
|
462
597
|
...u,
|
|
463
|
-
|
|
598
|
+
...$,
|
|
599
|
+
...c(h)
|
|
464
600
|
},
|
|
465
601
|
variables: {
|
|
466
|
-
"border-color":
|
|
467
|
-
"font-family":
|
|
468
|
-
...y(
|
|
469
|
-
...
|
|
602
|
+
"border-color": h.grey.base,
|
|
603
|
+
"font-family": f.family.primary,
|
|
604
|
+
...y(f),
|
|
605
|
+
...c(z)
|
|
470
606
|
}
|
|
471
607
|
},
|
|
472
608
|
pa: {
|
|
473
609
|
dark: !1,
|
|
474
610
|
colors: {
|
|
475
|
-
...
|
|
476
|
-
...
|
|
477
|
-
...
|
|
611
|
+
...T,
|
|
612
|
+
...D,
|
|
613
|
+
...c(h)
|
|
478
614
|
},
|
|
479
615
|
variables: {
|
|
480
|
-
"border-color":
|
|
481
|
-
"font-family":
|
|
482
|
-
...y(
|
|
483
|
-
...
|
|
616
|
+
"border-color": h.grey.base,
|
|
617
|
+
"font-family": m.family.primary,
|
|
618
|
+
...y(m),
|
|
619
|
+
...c(P)
|
|
484
620
|
}
|
|
485
621
|
},
|
|
486
622
|
ap2026: {
|
|
487
623
|
dark: !1,
|
|
488
624
|
colors: {
|
|
489
|
-
...
|
|
490
|
-
...
|
|
491
|
-
...
|
|
625
|
+
...S,
|
|
626
|
+
...p,
|
|
627
|
+
...c(k)
|
|
492
628
|
},
|
|
493
629
|
variables: {
|
|
494
630
|
"font-family": '"Arial", sans-serif',
|
|
495
|
-
...
|
|
631
|
+
...c(d)
|
|
496
632
|
}
|
|
497
633
|
},
|
|
498
634
|
ap: {
|
|
499
635
|
dark: !1,
|
|
500
636
|
colors: {
|
|
501
|
-
...
|
|
502
|
-
...
|
|
503
|
-
...
|
|
637
|
+
...B,
|
|
638
|
+
...p,
|
|
639
|
+
...c(w)
|
|
504
640
|
},
|
|
505
641
|
variables: {
|
|
506
642
|
"font-family": '"Arial", sans-serif',
|
|
507
|
-
...
|
|
643
|
+
...c(d)
|
|
508
644
|
}
|
|
509
645
|
}
|
|
510
646
|
}
|
|
511
647
|
},
|
|
512
648
|
icons: {
|
|
513
649
|
defaultSet: "mdi",
|
|
514
|
-
aliases:
|
|
650
|
+
aliases: V,
|
|
515
651
|
sets: {
|
|
516
|
-
mdi:
|
|
652
|
+
mdi: F
|
|
517
653
|
}
|
|
518
654
|
}
|
|
519
655
|
});
|
|
520
656
|
export {
|
|
521
|
-
|
|
657
|
+
R as createVuetifyInstance
|
|
522
658
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cnamts/synapse",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.27",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "CNAM DS v3",
|
|
6
6
|
"type": "module",
|
|
@@ -8,20 +8,17 @@
|
|
|
8
8
|
"dist",
|
|
9
9
|
"src"
|
|
10
10
|
],
|
|
11
|
-
"main": "./dist/design-system-v3.umd.cjs",
|
|
12
11
|
"module": "./dist/design-system-v3.js",
|
|
13
12
|
"types": "./dist/main.d.ts",
|
|
14
13
|
"exports": {
|
|
15
14
|
".": {
|
|
16
15
|
"types": "./dist/main.d.ts",
|
|
17
|
-
"import": "./dist/design-system-v3.js"
|
|
18
|
-
"require": "./dist/design-system-v3.umd.cjs"
|
|
16
|
+
"import": "./dist/design-system-v3.js"
|
|
19
17
|
},
|
|
20
18
|
"./synapse.css": "./dist/synapse.css",
|
|
21
19
|
"./vuetifyConfig": {
|
|
22
20
|
"types": "./dist/vuetifyConfig.d.ts",
|
|
23
|
-
"import": "./dist/vuetifyConfig.js"
|
|
24
|
-
"require": "./dist/vuetifyConfig.umd.cjs"
|
|
21
|
+
"import": "./dist/vuetifyConfig.js"
|
|
25
22
|
},
|
|
26
23
|
"./modules/notification": {
|
|
27
24
|
"types": "./src/modules/notification/index.ts",
|
|
@@ -167,7 +164,13 @@
|
|
|
167
164
|
"flatted": ">=3.4.2",
|
|
168
165
|
"handlebars": ">=4.7.9",
|
|
169
166
|
"lodash": ">=4.18.0",
|
|
170
|
-
"follow-redirects": ">=1.16.0"
|
|
167
|
+
"follow-redirects": ">=1.16.0",
|
|
168
|
+
"uuid": ">=14.0.0",
|
|
169
|
+
"@cypress/request>uuid": "8.3.2",
|
|
170
|
+
"postcss": ">=8.5.10",
|
|
171
|
+
"fast-uri": ">=3.1.2",
|
|
172
|
+
"js-cookie": ">=3.0.7",
|
|
173
|
+
"qs": ">=6.15.2"
|
|
171
174
|
},
|
|
172
175
|
"patchedDependencies": {
|
|
173
176
|
"vuetify@3.12.2": "patches/vuetify@3.12.2.patch"
|
|
@@ -1,20 +1,12 @@
|
|
|
1
|
-
.v-theme--ap.v-btn--icon .v-icon {
|
|
2
|
-
color: rgb(var(--v-theme-iconAccentPrimary)) !important;
|
|
3
|
-
transition: color 0.2s ease;
|
|
4
|
-
|
|
5
|
-
&:hover {
|
|
6
|
-
color: rgb(var(--v-theme-iconAccentSecondary)) !important;
|
|
7
|
-
}
|
|
8
|
-
}
|
|
9
|
-
|
|
10
1
|
.v-theme--ap2026.v-btn--icon .v-icon {
|
|
11
2
|
color: rgb(var(--v-theme-primary));
|
|
12
3
|
transition: color 0.2s ease;
|
|
13
4
|
}
|
|
14
5
|
|
|
15
6
|
.v-theme--cnam.v-btn--icon .v-icon,
|
|
16
|
-
.v-theme--pa.v-btn--icon .v-icon
|
|
17
|
-
|
|
7
|
+
.v-theme--pa.v-btn--icon .v-icon,
|
|
8
|
+
.v-theme--ap.v-btn--icon .v-icon {
|
|
9
|
+
color: rgb(var(--v-theme-primary));
|
|
18
10
|
transition: color 0.2s ease;
|
|
19
11
|
}
|
|
20
12
|
|
|
@@ -22,10 +14,6 @@
|
|
|
22
14
|
.v-theme--ap2026 .v-btn--icon:hover,
|
|
23
15
|
.v-theme--cnam .v-btn--icon:hover,
|
|
24
16
|
.v-theme--pa .v-btn--icon:hover {
|
|
25
|
-
opacity: 0.08;
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
.v-theme--cnam .v-btn--icon:hover {
|
|
29
17
|
opacity: 0.8;
|
|
30
18
|
}
|
|
31
19
|
|
|
@@ -37,7 +25,7 @@
|
|
|
37
25
|
}
|
|
38
26
|
|
|
39
27
|
.v-theme--ap.v-btn--icon .v-ripple__animation {
|
|
40
|
-
background-color: rgb(var(--v-theme-
|
|
28
|
+
background-color: rgb(var(--v-theme-primary)) !important;
|
|
41
29
|
opacity: 0.18;
|
|
42
30
|
}
|
|
43
31
|
|
|
@@ -48,6 +36,6 @@
|
|
|
48
36
|
|
|
49
37
|
.v-theme--cnam.v-btn--icon .v-ripple__animation,
|
|
50
38
|
.v-theme--pa.v-btn--icon .v-ripple__animation {
|
|
51
|
-
background-color: rgb(var(--v-theme-
|
|
39
|
+
background-color: rgb(var(--v-theme-primary)) !important;
|
|
52
40
|
opacity: 0.18;
|
|
53
41
|
}
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
.v-field__outline__start,
|
|
6
6
|
.v-field__outline__end,
|
|
7
7
|
.v-field__outline__notch {
|
|
8
|
-
border-color: rgb(var(--v-theme-
|
|
8
|
+
border-color: rgb(var(--v-theme-primary)) !important;
|
|
9
9
|
}
|
|
10
10
|
|
|
11
11
|
.v-field--focused,
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
.v-field__outline__start,
|
|
14
14
|
.v-field__outline__end,
|
|
15
15
|
.v-field__outline__notch {
|
|
16
|
-
border-color: rgb(var(--v-theme-
|
|
16
|
+
border-color: rgb(var(--v-theme-primaryVariant)) !important;
|
|
17
17
|
}
|
|
18
18
|
}
|
|
19
19
|
}
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
.v-field__outline__start,
|
|
26
26
|
.v-field__outline__end,
|
|
27
27
|
.v-field__outline__notch {
|
|
28
|
-
border-color: rgb(var(--v-theme-
|
|
28
|
+
border-color: rgb(var(--v-theme-primary)) !important;
|
|
29
29
|
}
|
|
30
30
|
|
|
31
31
|
.v-field--focused,
|
|
@@ -33,9 +33,8 @@
|
|
|
33
33
|
.v-field__outline__start,
|
|
34
34
|
.v-field__outline__end,
|
|
35
35
|
.v-field__outline__notch {
|
|
36
|
-
border-color: rgb(var(--v-theme-
|
|
36
|
+
border-color: rgb(var(--v-theme-primaryVariant)) !important;
|
|
37
37
|
}
|
|
38
38
|
}
|
|
39
39
|
}
|
|
40
40
|
}
|
|
41
|
-
/* stylelint-enable selector-class-pattern */
|
|
@@ -1,50 +1,9 @@
|
|
|
1
1
|
.theme-cnam,
|
|
2
2
|
.theme-pa {
|
|
3
3
|
--footer-background: rgb(var(--v-theme-parma-darken60));
|
|
4
|
-
--alert-warning-background: rgb(var(--v-theme-backgroundWarning));
|
|
5
|
-
--alert-warning-accent: rgb(var(--v-theme-borderWarning));
|
|
6
|
-
--alert-warning-border: rgb(var(--v-theme-borderWarning));
|
|
7
|
-
--alert-warning-icon: rgb(var(--v-theme-iconWarning));
|
|
8
|
-
--alert-warning-icon-bg: rgb(var(--v-theme-backgroundWarningSubdued));
|
|
9
|
-
--alert-info-background: rgb(var(--v-theme-backgroundInfo));
|
|
10
|
-
--alert-info-accent: rgb(var(--v-theme-borderInfo));
|
|
11
|
-
--alert-info-border: rgb(var(--v-theme-borderInfo));
|
|
12
|
-
--alert-info-icon: rgb(var(--v-theme-iconInfo));
|
|
13
|
-
--alert-info-icon-bg: rgb(var(--v-theme-backgroundInfoSubdued));
|
|
14
|
-
--alert-success-background: rgb(var(--v-theme-backgroundSuccess));
|
|
15
|
-
--alert-success-accent: rgb(var(--v-theme-borderSuccess));
|
|
16
|
-
--alert-success-border: rgb(var(--v-theme-borderSuccess));
|
|
17
|
-
--alert-success-icon: rgb(var(--v-theme-iconSuccess));
|
|
18
|
-
--alert-success-icon-bg: rgb(var(--v-theme-backgroundSuccessSubdued));
|
|
19
|
-
--alert-error-background: rgb(var(--v-theme-backgroundError));
|
|
20
|
-
--alert-error-accent: rgb(var(--v-theme-borderError));
|
|
21
|
-
--alert-error-border: rgb(var(--v-theme-borderError));
|
|
22
|
-
--alert-error-icon: rgb(var(--v-theme-iconError));
|
|
23
|
-
--alert-error-icon-bg: rgb(var(--v-theme-backgroundErrorSubdued));
|
|
24
4
|
}
|
|
25
5
|
|
|
26
6
|
.theme-ap,
|
|
27
7
|
.theme-ap2026 {
|
|
28
|
-
--footer-background: rgb(var(--v-theme-
|
|
29
|
-
--alert-background: rgb(var(--v-theme-accentPrimaryContrasted));
|
|
30
|
-
--alert-warning-background: rgb(var(--v-theme-backgroundWarning));
|
|
31
|
-
--alert-warning-accent: rgb(var(--v-theme-borderWarning));
|
|
32
|
-
--alert-warning-border: rgb(var(--v-theme-borderWarning));
|
|
33
|
-
--alert-warning-icon: rgb(var(--v-theme-iconWarning));
|
|
34
|
-
--alert-warning-icon-bg: rgb(var(--v-theme-backgroundWarningSubdued));
|
|
35
|
-
--alert-info-background: rgb(var(--v-theme-backgroundInfo));
|
|
36
|
-
--alert-info-accent: rgb(var(--v-theme-borderInfo));
|
|
37
|
-
--alert-info-border: rgb(var(--v-theme-borderInfo));
|
|
38
|
-
--alert-info-icon: rgb(var(--v-theme-iconInfo));
|
|
39
|
-
--alert-info-icon-bg: rgb(var(--v-theme-backgroundInfoSubdued));
|
|
40
|
-
--alert-success-background: rgb(var(--v-theme-backgroundSuccess));
|
|
41
|
-
--alert-success-accent: rgb(var(--v-theme-borderSuccess));
|
|
42
|
-
--alert-success-border: rgb(var(--v-theme-borderSuccess));
|
|
43
|
-
--alert-success-icon: rgb(var(--v-theme-iconSuccess));
|
|
44
|
-
--alert-success-icon-bg: rgb(var(--v-theme-backgroundSuccessSubdued));
|
|
45
|
-
--alert-error-background: rgb(var(--v-theme-backgroundError));
|
|
46
|
-
--alert-error-accent: rgb(var(--v-theme-borderError));
|
|
47
|
-
--alert-error-border: rgb(var(--v-theme-borderError));
|
|
48
|
-
--alert-error-icon: rgb(var(--v-theme-iconError));
|
|
49
|
-
--alert-error-icon-bg: rgb(var(--v-theme-backgroundErrorSubdued));
|
|
8
|
+
--footer-background: rgb(var(--v-theme-primary));
|
|
50
9
|
}
|