@cnamts/synapse 1.0.24 → 1.0.25
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 +27 -5
- package/dist/{AutocompleteFilter-BWLR3U7W.js → AutocompleteFilter-D7qBuCAP.js} +1 -1
- package/dist/{AutocompleteFilter-D9jzRzAL.cjs → AutocompleteFilter-Df9i5mAl.cjs} +1 -1
- package/dist/{DateFilter-DTUl8hb1.cjs → DateFilter-BJD6FMev.cjs} +1 -1
- package/dist/{DateFilter-BpwFexzi.js → DateFilter-BitMWrMU.js} +1 -1
- package/dist/{NumberFilter-Bz_NTdX9.js → NumberFilter-BTLUxw0a.js} +1 -1
- package/dist/{NumberFilter-MAEojdk0.cjs → NumberFilter-DGCzCXzI.cjs} +1 -1
- package/dist/{PeriodFilter-DX_wy9g-.js → PeriodFilter-B5rUIPAC.js} +1 -1
- package/dist/{PeriodFilter-CC4WgIhl.cjs → PeriodFilter-DO_ecTZW.cjs} +1 -1
- package/dist/{SelectFilter-BR3fvl-a.cjs → SelectFilter-CGwcKWLm.cjs} +1 -1
- package/dist/{SelectFilter-xqiPtPgX.js → SelectFilter-l4QnRcuk.js} +2 -2
- package/dist/{TextFilter-CCfYFl5F.cjs → TextFilter-B8nf7xoK.cjs} +1 -1
- package/dist/{TextFilter-BBl3JFqK.js → TextFilter-C9hj6Qrp.js} +1 -1
- package/dist/apLightTheme-CEK4iY3f.cjs +1 -0
- package/dist/{apLightTheme-D1P4jcD0.js → apLightTheme-DnIM24Lv.js} +441 -722
- package/dist/components/Customs/Selects/SyAutocomplete/SyAutocomplete.d.ts +10 -6
- package/dist/components/Customs/SyCheckbox/SyCheckbox.d.ts +3 -0
- package/dist/components/Customs/SyTabs/SyTabs.d.ts +13 -11
- package/dist/components/Customs/SyTextField/SyTextField.d.ts +4 -4
- package/dist/components/DatePicker/CalendarMode/DatePicker.d.ts +4 -24
- package/dist/components/DatePicker/ComplexDatePicker/ComplexDatePicker.d.ts +2 -12
- package/dist/components/DatePicker/DateTextInput/DateTextInput.d.ts +1 -6
- package/dist/components/DatePicker/composables/useDatePickerState.d.ts +1 -0
- package/dist/components/FileList/FileList.d.ts +6 -0
- package/dist/components/FilterSideBar/FilterSideBar.d.ts +2 -0
- package/dist/components/HeaderNavigationBar/HeaderNavigationBar.d.ts +13 -13
- package/dist/components/HeaderNavigationBar/HorizontalNavbar/HorizontalNavbar.d.ts +3 -3
- package/dist/components/MonthPicker/MonthPicker.d.ts +1 -6
- package/dist/components/MonthPicker/MonthPickerText/MonthPickerInput.d.ts +1 -6
- package/dist/components/NirField/NirField.d.ts +4 -16
- package/dist/components/PeriodField/PeriodField.d.ts +8 -48
- package/dist/components/PhoneField/PhoneField.d.ts +1 -6
- 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 +2 -0
- package/dist/components/Tables/common/TableHeader.d.ts +5 -0
- package/dist/components/Tables/common/locales.d.ts +3 -0
- package/dist/components/Tables/common/types.d.ts +2 -0
- package/dist/components/UploadWorkflow/UploadWorkflow.d.ts +1 -0
- package/dist/composables/unifyValidation/documentationValidationProps.d.ts +230 -0
- package/dist/composables/validation/useValidation.d.ts +5 -1
- package/dist/design-system-v3.js +2 -2
- package/dist/design-system-v3.umd.cjs +1 -1
- package/dist/designTokens/tokens/amelipro/apColors.d.ts +10 -10
- package/dist/designTokens/tokens/amelipro/apColors2026.d.ts +1 -2
- package/dist/designTokens/tokens/amelipro/apContextual.d.ts +44 -0
- package/dist/designTokens/tokens/amelipro/apSemantic.d.ts +1 -1
- package/dist/designTokens/tokens/baseColors.d.ts +127 -0
- package/dist/designTokens/tokens/baseContextualTokens.d.ts +50 -0
- package/dist/designTokens/tokens/cnam/cnamColors.d.ts +10 -10
- package/dist/designTokens/tokens/cnam/cnamSemantic.d.ts +1 -1
- package/dist/designTokens/tokens/pa/paColors.d.ts +1 -166
- package/dist/designTokens/tokens/pa/paSemantic.d.ts +1 -1
- package/dist/designTokens/utils/buildColorClassMap.d.ts +12 -0
- package/dist/designTokens/utils/createFlattenTheme.d.ts +1 -3
- package/dist/designTokens/utils/index.d.ts +2 -2
- package/dist/main-ByDPHpae.cjs +1067 -0
- package/dist/main-Cpx8Co6H.js +38869 -0
- package/dist/synapse.css +1 -1
- package/dist/utils/functions/classToHex.d.ts +1 -1
- package/dist/utils/functions/createHexResolver.d.ts +16 -0
- package/dist/vuetifyConfig.js +113 -152
- package/dist/vuetifyConfig.umd.cjs +1 -1
- package/package.json +29 -18
- package/src/assets/amelipro/apTokens2026.scss +5 -5
- package/src/assets/overrides/_breakpoints.scss +25 -0
- package/src/assets/overrides/_btns.scss +0 -2
- package/src/assets/overrides/_forms.scss +1 -3
- package/src/assets/overrides/_icons.scss +7 -11
- package/src/assets/overrides/_otp.scss +41 -0
- package/src/assets/overrides/_tables.scss +11 -20
- package/src/assets/overrides/_tooltips.scss +17 -7
- package/src/assets/overrides/_typography.scss +35 -37
- package/src/assets/overrides/_utilities.scss +43 -47
- package/src/assets/themes.scss +1 -0
- package/src/components/Amelipro/AmeliproAccordion/AmeliproAccordionTemplate/AmeliproAccordionTemplate.vue +20 -20
- package/src/components/Amelipro/AmeliproAccordionFrieze/AmeliproAccordionFrieze.vue +12 -14
- package/src/components/Amelipro/AmeliproAccordionList/AmeliproAccordionList.vue +4 -6
- package/src/components/Amelipro/AmeliproAccordionResult/AmeliproAccordionResultTemplate/AmeliproAccordionResultTemplate.vue +5 -5
- package/src/components/Amelipro/AmeliproAccordionResultList/AmeliproAccordionResultList.vue +4 -6
- package/src/components/Amelipro/AmeliproAutoCompleteField/AmeliproAutoCompleteField.vue +4 -6
- package/src/components/Amelipro/AmeliproBadge/AmeliproBadge.vue +4 -6
- package/src/components/Amelipro/AmeliproBreadcrumb/AmeliproBreadcrumb.vue +1 -3
- package/src/components/Amelipro/AmeliproBtn/AmeliproBtn.vue +4 -6
- package/src/components/Amelipro/AmeliproCallback/AmeliproCallback.vue +2 -2
- package/src/components/Amelipro/AmeliproCard/AmeliproCard.vue +31 -31
- package/src/components/Amelipro/AmeliproCarousel/AmeliproCarousel.vue +5 -7
- package/src/components/Amelipro/AmeliproCheckbox/AmeliproCheckbox.vue +13 -15
- package/src/components/Amelipro/AmeliproCheckboxGroup/AmeliproCheckboxGroup.vue +23 -23
- package/src/components/Amelipro/AmeliproChips/AmeliproChips.vue +1 -3
- package/src/components/Amelipro/AmeliproClickableTile/AmeliproClickableTile.vue +17 -12
- package/src/components/Amelipro/AmeliproClickableTile/tests/__snapshots__/AmeliproClickableTile.spec.ts.snap +2 -2
- package/src/components/Amelipro/AmeliproCopyBtn/AmeliproCopyBtn.vue +4 -6
- package/src/components/Amelipro/AmeliproCustomSelector/AmeliproCustomSelector.vue +13 -13
- package/src/components/Amelipro/AmeliproDentalChart/AmeliproDentalChart.vue +4 -2
- package/src/components/Amelipro/AmeliproDentalChart/AmeliproTooth/AmeliproTooth.vue +4 -4
- package/src/components/Amelipro/AmeliproDialog/AmeliproDialog.vue +5 -7
- package/src/components/Amelipro/AmeliproDisclosure/AmeliproDisclosure.vue +1 -3
- package/src/components/Amelipro/AmeliproErrorTemplate/AmeliproErrorTemplate.vue +2 -4
- package/src/components/Amelipro/AmeliproFilePreview/AmeliproFilePreview.vue +4 -6
- package/src/components/Amelipro/AmeliproFilters/AmeliproFilters.vue +13 -13
- package/src/components/Amelipro/AmeliproFirstLogin/AmeliproFirstLogin.vue +3 -5
- package/src/components/Amelipro/AmeliproFooter/AmeliproFooter.vue +1 -3
- package/src/components/Amelipro/AmeliproHeader/AmeliproHeader.vue +2 -4
- package/src/components/Amelipro/AmeliproHeader/AmeliproHeaderBar/AmeliproHeaderBar.vue +1 -3
- package/src/components/Amelipro/AmeliproHeader/AmeliproHeaderBar/AmeliproHeaderBrandSection/AmeliproHeaderBrandSection.vue +20 -16
- package/src/components/Amelipro/AmeliproHeader/AmeliproHeaderBar/AmeliproHeaderBrandSection/__tests__/__snapshots__/AmeliproHeaderBrandSection.spec.ts.snap +1 -1
- package/src/components/Amelipro/AmeliproIconBtn/AmeliproIconBtn.vue +2 -4
- package/src/components/Amelipro/AmeliproIllustratedDataTile/AmeliproIllustratedDataTile.vue +5 -7
- package/src/components/Amelipro/AmeliproIllustratedRadioGroup/AmeliproIllustratedRadioGroup.vue +6 -8
- package/src/components/Amelipro/AmeliproMailTile/AmeliproMailTile.vue +14 -14
- package/src/components/Amelipro/AmeliproMenu/AmeliproMenu.vue +11 -13
- package/src/components/Amelipro/AmeliproMessagingLayout/AmeliproDropdownMenu/AmeliproDropdownMenu.vue +2 -4
- package/src/components/Amelipro/AmeliproMessagingLayout/AmeliproMessagingLayout.vue +8 -8
- package/src/components/Amelipro/AmeliproMultipleFoldingCard/AmeliproMultipleFoldingCard.vue +40 -40
- package/src/components/Amelipro/AmeliproNumberedCard/AmeliproNumberedCard.vue +27 -27
- package/src/components/Amelipro/AmeliproOnboarding/AmeliproOnboarding.vue +3 -5
- package/src/components/Amelipro/AmeliproPageLayout/AmeliproPageLayout.vue +2 -4
- package/src/components/Amelipro/AmeliproPagination/AmeliproPagination.vue +2 -4
- package/src/components/Amelipro/AmeliproPagination/AmeliproPaginationBtn/AmeliproPaginationBtn.vue +3 -5
- package/src/components/Amelipro/AmeliproPatientBanner/AmeliproPatientBanner.vue +1 -3
- package/src/components/Amelipro/AmeliproPatientLogged/AmeliproPatientLogged.vue +2 -4
- package/src/components/Amelipro/AmeliproPatientLogin/AmeliproPatientLogin.vue +4 -4
- package/src/components/Amelipro/AmeliproPatientLogin/AmeliproPatientLoginForm/AmeliproPatientLoginForm.vue +1 -3
- package/src/components/Amelipro/AmeliproPostalAddressField/AmeliproPostalAddressCityRow/AmeliproPostalAddressCityRow.vue +3 -5
- package/src/components/Amelipro/AmeliproPostalAddressField/AmeliproPostalAddressField.vue +3 -5
- package/src/components/Amelipro/AmeliproRadioGroup/AmeliproRadioGroup.vue +23 -23
- package/src/components/Amelipro/AmeliproResultList/AmeliproResultList.vue +4 -6
- package/src/components/Amelipro/AmeliproSelect/AmeliproSelect.vue +12 -22
- package/src/components/Amelipro/AmeliproStateTile/AmeliproStateTile.vue +10 -12
- package/src/components/Amelipro/AmeliproStepper/AmeliproStepper.vue +17 -17
- package/src/components/Amelipro/AmeliproTable/AmeliproTable.vue +8 -10
- package/src/components/Amelipro/AmeliproTabs/AmeliproTabBtn/AmeliproTabBtn.vue +6 -8
- package/src/components/Amelipro/AmeliproTabs/AmeliproTabs.vue +4 -4
- package/src/components/Amelipro/AmeliproTextArea/AmeliproTextArea.vue +4 -6
- package/src/components/Amelipro/AmeliproTextField/AmeliproTextField.vue +7 -9
- package/src/components/Amelipro/AmeliproTileBtn/AmeliproTileBtn.vue +3 -5
- package/src/components/Amelipro/AmeliproTooltips/AmeliproTooltips.vue +0 -2
- package/src/components/Amelipro/AmeliproUpload/AmeliproUpload.vue +6 -6
- package/src/components/Amelipro/ServiceMenu/ServiceMenu.vue +2 -2
- package/src/components/Amelipro/StructureMenu/StructureBtn/StructureBtn.vue +4 -4
- package/src/components/Amelipro/StructureMenu/StructureItem/StructureItem.vue +4 -6
- package/src/components/Amelipro/StructureMenu/StructureMenu.vue +2 -2
- package/src/components/Amelipro/StructureMenu/StructureTabs/StructureTabs.vue +2 -2
- package/src/components/Amelipro/UserMenu/UserMenu.vue +1 -3
- package/src/components/BackBtn/tests/BackBtn.visual.cy.ts +43 -0
- 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/Captcha/Captcha.vue +1 -3
- package/src/components/ChipList/ChipList.vue +14 -16
- package/src/components/CookiesSelection/CookiesInformation/CookiesInformation.vue +0 -2
- package/src/components/CopyBtn/CopyBtn.vue +1 -3
- package/src/components/Customs/Selects/SelectBtnField/SelectBtnField.vue +17 -17
- package/src/components/Customs/Selects/SelectBtnField/tests/SelectBtnField.spec.ts +31 -0
- package/src/components/Customs/Selects/SyAutocomplete/SyAutocomplete.stories.ts +66 -0
- package/src/components/Customs/Selects/SyAutocomplete/SyAutocomplete.vue +7 -3
- package/src/components/Customs/Selects/SyAutocomplete/tests/SyAutocomplete.a11y.spec.ts +18 -0
- package/src/components/Customs/Selects/SyAutocomplete/tests/SyAutocomplete.spec.ts +66 -0
- package/src/components/Customs/Selects/SyInputSelect/SyInputSelect.vue +4 -6
- package/src/components/Customs/Selects/SySelect/SySelect.stories.ts +1 -39
- package/src/components/Customs/Selects/SySelect/SySelect.vue +263 -63
- package/src/components/Customs/Selects/SySelect/accessibilite/Accessibility.mdx +199 -269
- package/src/components/Customs/Selects/SySelect/tests/SySelect.spec.ts +35 -0
- package/src/components/Customs/SyCheckbox/SyCheckbox.mdx +5 -0
- package/src/components/Customs/SyCheckbox/SyCheckbox.vue +29 -0
- package/src/components/Customs/SyCheckbox/accessibilite/Accessibility.mdx +18 -3
- package/src/components/Customs/SyPagination/SyPagination.vue +0 -2
- package/src/components/Customs/SyTabs/SyTabs.mdx +0 -58
- package/src/components/Customs/SyTabs/SyTabs.stories.ts +32 -33
- package/src/components/Customs/SyTabs/SyTabs.vue +87 -67
- package/src/components/Customs/SyTabs/accessibilite/Accessibility.mdx +83 -23
- package/src/components/Customs/SyTabs/tests/SyTabs.a11y.spec.ts +88 -0
- package/src/components/Customs/SyTabs/tests/SyTabs.spec.ts +46 -1
- package/src/components/Customs/SyTextField/SyTextField.stories.ts +21 -41
- package/src/components/Customs/SyTextField/SyTextField.vue +4 -6
- package/src/components/DatePicker/CalendarMode/DatePicker.vue +12 -14
- package/src/components/DatePicker/ComplexDatePicker/ComplexDatePicker.vue +20 -16
- package/src/components/DatePicker/ComplexDatePicker/tests/ComplexDatePicker.spec.ts +23 -0
- package/src/components/DatePicker/DateTextInput/DateTextInput.vue +8 -10
- package/src/components/DatePicker/composables/tests/useDatePickerState.spec.ts +53 -0
- package/src/components/DatePicker/composables/useDatePickerState.ts +24 -0
- package/src/components/DatePicker/composables/useDateTextField.ts +0 -1
- package/src/components/DatePicker/composables/useMonthButtonCustomization.ts +9 -8
- package/src/components/DatePicker/playground/DatePickerHolidayRule.vue +1 -1
- package/src/components/DialogBox/DialogBox.vue +3 -5
- package/src/components/DialogBox/tests/DialogBox.visual.cy.ts +76 -0
- package/src/components/DialogBox/tests/__snapshots__/dialog-box-custom-texts.snap.png +0 -0
- package/src/components/DialogBox/tests/__snapshots__/dialog-box-default.snap.png +0 -0
- package/src/components/DialogBox/tests/__snapshots__/dialog-box-no-actions.snap.png +0 -0
- package/src/components/FileList/FileList.vue +9 -2
- package/src/components/FileList/UploadItem/UploadItem.vue +11 -13
- package/src/components/FileList/tests/FileList.spec.ts +47 -0
- package/src/components/FileUpload/FileUpload.vue +3 -5
- package/src/components/FileUpload/FileUploadContent.vue +3 -5
- package/src/components/FilterInline/FilterInline.vue +1 -3
- package/src/components/FilterSideBar/FilterSideBar.mdx +44 -1
- package/src/components/FilterSideBar/FilterSideBar.stories.ts +105 -1
- package/src/components/FilterSideBar/FilterSideBar.vue +7 -0
- package/src/components/FilterSideBar/tests/FilterSideBar.a11y.spec.ts +54 -1
- package/src/components/FilterSideBar/tests/FilterSideBar.spec.ts +42 -0
- package/src/components/FooterBar/FooterBar.vue +9 -13
- package/src/components/FranceConnectBtn/FranceConnectBtn.vue +1 -1
- package/src/components/HeaderBar/HeaderBar.vue +2 -3
- package/src/components/HeaderBar/HeaderBurgerMenu/HeaderBurgerMenu.vue +2 -3
- package/src/components/HeaderBar/HeaderBurgerMenu/HeaderMenuItem/HeaderMenuItem.vue +2 -3
- package/src/components/HeaderBar/HeaderBurgerMenu/HeaderMenuSection/HeaderMenuSection.vue +0 -1
- package/src/components/HeaderBar/HeaderBurgerMenu/HeaderSubMenu/HeaderSubMenu.vue +8 -9
- package/src/components/HeaderBar/HeaderBurgerMenu/menu.scss +0 -8
- package/src/components/HeaderBar/HeaderBurgerMenu/tests/HeaderBurgerMenu.visual.cy.ts +196 -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/HeaderLogo/HeaderLogo.vue +0 -1
- package/src/components/HeaderBar/HeaderMenuBtn/HeaderMenuBtn.vue +6 -7
- package/src/components/HeaderBar/tests/HeaderBar.visual.cy.ts +81 -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/HeaderNavigationBar/HeaderNavigationBar.vue +12 -3
- package/src/components/HeaderNavigationBar/HorizontalNavbar/HorizontalNavbar.vue +15 -8
- package/src/components/HeaderToolbar/HeaderToolbar.vue +6 -7
- package/src/components/LangBtn/LangBtn.vue +2 -4
- package/src/components/Logo/tests/Logo.visual.cy.ts +57 -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/LogoBrandSection/LogoBrandSection.vue +2 -2
- package/src/components/MonthPicker/MonthPickerVisual/VisualPickerHeader.vue +1 -1
- package/src/components/NirField/NirField.stories.ts +2 -2
- package/src/components/NirField/NirField.vue +3 -5
- package/src/components/NirField/accessibilite/Accessibility.mdx +100 -5
- package/src/components/NirField/tests/NirField.spec.ts +118 -0
- package/src/components/NirField/tests/useNirValidation.spec.ts +449 -0
- package/src/components/NirField/useNirValidation.ts +38 -32
- package/src/components/NotificationBar/Notification/Notification.vue +5 -7
- package/src/components/NotificationBar/NotificationBar.vue +1 -3
- package/src/components/PaginatedTable/PaginatedTable.vue +2 -3
- package/src/components/PaginatedTable/Pagination.vue +3 -5
- package/src/components/PasswordField/PasswordField.vue +8 -10
- package/src/components/PhoneField/PhoneField.vue +3 -3
- package/src/components/RangeField/RangeSlider/RangeSlider.vue +0 -2
- package/src/components/RangeField/RangeSlider/Tooltip/Tooltip.vue +1 -1
- package/src/components/RangeField/tests/RangeField.visual.cy.ts +65 -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/RatingPicker/EmotionPicker/EmotionPicker.vue +6 -8
- package/src/components/RatingPicker/StarsPicker/StarsPicker.vue +3 -5
- package/src/components/SearchListField/SearchListField.vue +0 -2
- package/src/components/SkipLink/SkipLink.vue +2 -4
- package/src/components/SocialMediaLinks/SocialMediaLinks.vue +6 -6
- package/src/components/SubHeader/SubHeader.vue +1 -1
- package/src/components/SyAlert/SyAlert.vue +7 -9
- package/src/components/SyAlert/tests/SyAlert.visual.cy.ts +46 -0
- package/src/components/SyAlert/tests/__snapshots__/sy-alert-closable.snap.png +0 -0
- package/src/components/SyAlert/tests/__snapshots__/sy-alert-error.snap.png +0 -0
- package/src/components/SyAlert/tests/__snapshots__/sy-alert-info.snap.png +0 -0
- package/src/components/SyAlert/tests/__snapshots__/sy-alert-success.snap.png +0 -0
- package/src/components/SyAlert/tests/__snapshots__/sy-alert-variant-outlined.snap.png +0 -0
- package/src/components/SyAlert/tests/__snapshots__/sy-alert-variant-tonal.snap.png +0 -0
- package/src/components/SyAlert/tests/__snapshots__/sy-alert-warning.snap.png +0 -0
- package/src/components/SyBtnMenu/SyBtnMenu.vue +2 -4
- package/src/components/TableToolbar/TableToolbar.vue +6 -8
- package/src/components/Tables/SyServerTable/SyServerTable.stories.ts +166 -0
- package/src/components/Tables/SyServerTable/SyServerTable.vue +9 -7
- package/src/components/Tables/SyServerTable/tests/SyServerTable.a11y.spec.ts +23 -0
- package/src/components/Tables/SyServerTable/tests/SyServerTable.spec.ts +268 -0
- package/src/components/Tables/SyTable/SyTable.stories.ts +104 -0
- package/src/components/Tables/SyTable/SyTable.vue +9 -7
- package/src/components/Tables/SyTable/tests/SyTable.a11y.spec.ts +22 -0
- package/src/components/Tables/SyTable/tests/SyTable.spec.ts +274 -0
- package/src/components/Tables/common/SyTableFilter.vue +27 -2
- package/src/components/Tables/common/SyTablePagination.vue +142 -19
- package/src/components/Tables/common/TableHeader.vue +40 -3
- package/src/components/Tables/common/filters/SelectFilter.vue +1 -1
- package/src/components/Tables/common/locales.ts +3 -0
- package/src/components/Tables/common/tableStyles.scss +16 -19
- package/src/components/Tables/common/tests/SyTablePagination.spec.ts +18 -0
- package/src/components/Tables/common/tests/TableHeader.spec.ts +39 -0
- package/src/components/Tables/common/types.ts +2 -0
- package/src/components/Tables/common/useTableHeaders.ts +49 -27
- package/src/components/UploadWorkflow/UploadWorkflow.vue +1 -0
- package/src/components/UploadWorkflow/tests/UploadWorkflow.spec.ts +23 -0
- package/src/components/UploadWorkflow/tests/__snapshots__/UploadWorkflow.spec.ts.snap +66 -0
- package/src/components/UploadWorkflow/useFileList.ts +3 -0
- package/src/components/UserMenuBtn/UserMenuBtn.vue +1 -3
- package/src/composables/unifyValidation/documentationValidationProps.ts +235 -0
- package/src/composables/validation/useValidation.ts +17 -1
- package/src/composantsVuetify/VBreadcrumbs/VBreadcrumbs.mdx +28 -0
- package/src/composantsVuetify/VBreadcrumbs/v-breadcrumbs.stories.ts +108 -0
- package/src/composantsVuetify/VOtpInput/VOtpInput.mdx +39 -0
- package/src/composantsVuetify/VOtpInput/v-otp-input.stories.ts +56 -0
- package/src/composantsVuetify/VSkeletonLoader/VSkeletonLoader.mdx +42 -0
- package/src/composantsVuetify/VSkeletonLoader/v-skeleton-loader.stories.ts +77 -0
- package/src/composantsVuetify/VSwitch/VSwitch.mdx +47 -0
- package/src/composantsVuetify/VSwitch/v-switch.stories.ts +166 -0
- package/src/designTokens/tests/buildColorClassMap.spec.ts +31 -0
- package/src/designTokens/tests/generateScssTokens.spec.ts +12 -0
- package/src/designTokens/tests/themeUtils.spec.ts +53 -0
- package/src/designTokens/tokens/amelipro/apColors.ts +8 -130
- package/src/designTokens/tokens/amelipro/apColors2026.ts +3 -15
- package/src/designTokens/tokens/amelipro/apContextual.ts +55 -47
- package/src/designTokens/tokens/amelipro/apLightTheme.ts +1 -1
- package/src/designTokens/tokens/amelipro/apSemantic.ts +1 -1
- package/src/designTokens/tokens/baseColors.ts +129 -0
- package/src/designTokens/tokens/baseContextualTokens.ts +52 -0
- package/src/designTokens/tokens/cnam/cnamColors.ts +3 -125
- package/src/designTokens/tokens/cnam/cnamContextual.ts +4 -48
- package/src/designTokens/tokens/cnam/cnamLightTheme.ts +1 -1
- package/src/designTokens/tokens/cnam/cnamSemantic.ts +1 -1
- package/src/designTokens/tokens/pa/paColors.ts +2 -166
- package/src/designTokens/tokens/pa/paContextual.ts +3 -48
- package/src/designTokens/tokens/pa/paLightTheme.ts +1 -1
- package/src/designTokens/tokens/pa/paSemantic.ts +2 -2
- package/src/designTokens/utils/buildColorClassMap.ts +34 -0
- package/src/designTokens/utils/convertSemanticsToken.ts +8 -11
- package/src/designTokens/utils/createFlattenTheme.ts +15 -7
- package/src/designTokens/utils/index.ts +2 -2
- package/src/stories/Accessibilite/AuditDesignSystem.mdx +0 -11
- package/src/stories/Accessibilite/DesignSystem/Avancement.mdx +433 -0
- package/src/stories/Accessibilite/DesignSystem/a11y-status.json +692 -0
- package/src/stories/Accessibilite/KitDePreAudit/Echantillonnage.mdx +8 -1
- package/src/stories/Accessibilite/KitDePreAudit/Introduction.mdx +51 -10
- package/src/stories/Accessibilite/KitDePreAudit/Outils/Introduction.mdx +16 -9
- package/src/stories/Accessibilite/KitDePreAudit/Preaudit.mdx +48 -58
- package/src/stories/Components/Components.stories.ts +40 -1
- package/src/stories/Demarrer/EnrichirLeDesignSystem.mdx +4 -9
- package/src/stories/Demarrer/EnrichirLeDesignSystem.stories.ts +28 -0
- package/src/stories/Demarrer/Releases.stories.ts +48 -5
- package/src/stories/DesignTokens/ColorDisplay.vue +6 -5
- package/src/stories/DesignTokens/ColorIntegrationExample.vue +2 -4
- package/src/stories/DesignTokens/colors.stories.ts +5 -6
- package/src/stories/GuideDuDev/CreateVuetifyInstance.mdx +95 -0
- package/src/stories/GuideDuDev/Theme.mdx +36 -26
- package/src/stories/GuideDuDev/moduleDeNotification.mdx +3 -2
- package/src/stories/styles/accessibility-guide.css +3 -3
- package/src/utils/functions/classToHex.ts +6 -34
- package/src/utils/functions/createHexResolver.ts +45 -0
- package/src/utils/functions/tests/classToHex.spec.ts +36 -0
- package/src/utils/functions/tests/convertToHex.spec.ts +31 -0
- package/src/utils/functions/tests/createHexResolver.spec.ts +66 -0
- package/src/utils/functions/tests/isCssColor.spec.ts +48 -0
- package/dist/apLightTheme-CFSRrjv2.cjs +0 -1
- package/dist/designTokens/utils/convertGaps.d.ts +0 -5
- package/dist/main-BtTqyn4z.js +0 -38648
- package/dist/main-C1e3eoxd.cjs +0 -1067
- package/src/assets/apTokens.scss +0 -343
- package/src/assets/overrides/_container.scss +0 -36
- package/src/assets/tokens.scss +0 -388
- package/src/designTokens/apColors.md +0 -66
- package/src/designTokens/cnamColors.md +0 -193
- package/src/designTokens/paColors.md +0 -66
- package/src/designTokens/tokens/json/contextual-tokens.json +0 -156
- package/src/designTokens/tokens/json/primitives.json +0 -209
- package/src/designTokens/tokens/json/semantic.json +0 -120
- package/src/designTokens/utils/convertGaps.ts +0 -11
- package/src/stories/Accessibilite/Avancement/Avancement.mdx +0 -533
- package/src/stories/Accessibilite/Avancement/Avancement.stories.ts +0 -306
|
@@ -104,7 +104,7 @@
|
|
|
104
104
|
</template>
|
|
105
105
|
|
|
106
106
|
<style lang="scss" scoped>
|
|
107
|
-
@use '@/assets/
|
|
107
|
+
@use '@/assets/overrides/breakpoints' as bp;
|
|
108
108
|
|
|
109
109
|
.amelipro-accordion-result {
|
|
110
110
|
display: block;
|
|
@@ -119,15 +119,15 @@
|
|
|
119
119
|
.amelipro-accordion-result__content {
|
|
120
120
|
width: 100%;
|
|
121
121
|
padding: 1rem;
|
|
122
|
-
font-size:
|
|
123
|
-
font-weight:
|
|
122
|
+
font-size: var(--v-ap-fontSizeXs);
|
|
123
|
+
font-weight: var(--v-ap-fontWeightRegular);
|
|
124
124
|
}
|
|
125
125
|
|
|
126
126
|
.heading-content {
|
|
127
127
|
width: 100%;
|
|
128
128
|
padding: 1rem 0 0 1rem;
|
|
129
129
|
|
|
130
|
-
@media #{
|
|
130
|
+
@media #{bp.$up-md} {
|
|
131
131
|
width: calc(100% - 30px);
|
|
132
132
|
padding: 1rem 0 1rem 1rem;
|
|
133
133
|
}
|
|
@@ -136,7 +136,7 @@
|
|
|
136
136
|
.heading-content-btn {
|
|
137
137
|
padding: 1rem;
|
|
138
138
|
|
|
139
|
-
@media #{
|
|
139
|
+
@media #{bp.$down-sm} {
|
|
140
140
|
width: 100% !important;
|
|
141
141
|
margin-top: 0.5rem;
|
|
142
142
|
padding: 0.5rem 1rem 1rem;
|
|
@@ -275,12 +275,10 @@
|
|
|
275
275
|
</template>
|
|
276
276
|
|
|
277
277
|
<style lang="scss" scoped>
|
|
278
|
-
@use '@/assets/amelipro/apTokens2026' as apTokens;
|
|
279
|
-
|
|
280
278
|
.total-counter {
|
|
281
|
-
background-color:
|
|
282
|
-
border: 1px solid
|
|
283
|
-
border-radius:
|
|
284
|
-
padding:
|
|
279
|
+
background-color: rgb(var(--v-theme-ap-grey-lighten-2));
|
|
280
|
+
border: 1px solid rgb(var(--v-theme-ap-grey-darken-1));
|
|
281
|
+
border-radius: var(--v-ap-btnRadius);
|
|
282
|
+
padding: var(--v-ap-cardPaddingMobile) var(--v-ap-cardPaddingDesktop);
|
|
285
283
|
}
|
|
286
284
|
</style>
|
|
@@ -364,8 +364,6 @@
|
|
|
364
364
|
</template>
|
|
365
365
|
|
|
366
366
|
<style lang="scss" scoped>
|
|
367
|
-
@use '@/assets/amelipro/apTokens2026' as apTokens;
|
|
368
|
-
|
|
369
367
|
.amelipro-text-field {
|
|
370
368
|
& :deep(.v-field__outline) {
|
|
371
369
|
border-color: v-bind(inputBorderStyle);
|
|
@@ -379,14 +377,14 @@
|
|
|
379
377
|
}
|
|
380
378
|
|
|
381
379
|
.amelipro-autocomplete__label {
|
|
382
|
-
font-size:
|
|
383
|
-
font-weight:
|
|
380
|
+
font-size: var(--v-ap-fontSizeXs);
|
|
381
|
+
font-weight: var(--v-ap-fontWeightBold);
|
|
384
382
|
}
|
|
385
383
|
|
|
386
384
|
.v-input {
|
|
387
385
|
& :deep(.v-field__input) {
|
|
388
|
-
padding-left:
|
|
389
|
-
padding-right:
|
|
386
|
+
padding-left: var(--v-padding-3);
|
|
387
|
+
padding-right: var(--v-padding-3);
|
|
390
388
|
}
|
|
391
389
|
|
|
392
390
|
& :deep(.v-field--disabled) {
|
|
@@ -52,15 +52,13 @@
|
|
|
52
52
|
</template>
|
|
53
53
|
|
|
54
54
|
<style lang="scss" scoped>
|
|
55
|
-
@use '@/assets/amelipro/apTokens2026' as apTokens;
|
|
56
|
-
|
|
57
55
|
.amelipro-badge {
|
|
58
56
|
display: inline-block;
|
|
59
57
|
margin-left: 0.5rem;
|
|
60
|
-
padding:
|
|
58
|
+
padding: var(--v-ap-btnPaddingY) var(--v-ap-btnPaddingX) !important;
|
|
61
59
|
|
|
62
60
|
&.round-custom {
|
|
63
|
-
border-radius:
|
|
61
|
+
border-radius: var(--v-ap-inputRadius) 1rem 1rem 0.5rem;
|
|
64
62
|
}
|
|
65
63
|
|
|
66
64
|
&.round-classic {
|
|
@@ -70,7 +68,7 @@
|
|
|
70
68
|
|
|
71
69
|
.amelipro-badge__content {
|
|
72
70
|
display: inline-block;
|
|
73
|
-
font-size:
|
|
74
|
-
font-weight:
|
|
71
|
+
font-size: var(--v-ap-fontSizeSm) !important;
|
|
72
|
+
font-weight: var(--v-ap-fontWeightBold) !important;
|
|
75
73
|
}
|
|
76
74
|
</style>
|
|
@@ -80,13 +80,11 @@
|
|
|
80
80
|
</template>
|
|
81
81
|
|
|
82
82
|
<style lang="scss" scoped>
|
|
83
|
-
@use '@/assets/amelipro/apTokens2026' as apTokens;
|
|
84
|
-
|
|
85
83
|
.breadcrumb__separator {
|
|
86
84
|
display: block;
|
|
87
85
|
width: 0;
|
|
88
86
|
height: 1.25rem;
|
|
89
87
|
margin: 0 0.5rem;
|
|
90
|
-
border-left: 1px solid
|
|
88
|
+
border-left: 1px solid rgb(var(--v-theme-ap-grey-darken-1));
|
|
91
89
|
}
|
|
92
90
|
</style>
|
|
@@ -306,11 +306,9 @@
|
|
|
306
306
|
</template>
|
|
307
307
|
|
|
308
308
|
<style lang="scss" scoped>
|
|
309
|
-
@use '@/assets/amelipro/apTokens2026' as apTokens;
|
|
310
|
-
|
|
311
309
|
.v-btn {
|
|
312
310
|
letter-spacing: 0.64px;
|
|
313
|
-
font-weight:
|
|
311
|
+
font-weight: var(--v-ap-fontWeightBold);
|
|
314
312
|
text-indent: unset;
|
|
315
313
|
|
|
316
314
|
& :deep(.v-btn__overlay),
|
|
@@ -335,7 +333,7 @@
|
|
|
335
333
|
}
|
|
336
334
|
|
|
337
335
|
&.amelipro-btn--style {
|
|
338
|
-
padding:
|
|
336
|
+
padding: var(--v-ap-btnPaddingY) var(--v-ap-btnPaddingX);
|
|
339
337
|
}
|
|
340
338
|
|
|
341
339
|
&.v-btn--active::before,
|
|
@@ -346,7 +344,7 @@
|
|
|
346
344
|
}
|
|
347
345
|
|
|
348
346
|
&:focus {
|
|
349
|
-
outline: 1px dotted
|
|
347
|
+
outline: 1px dotted rgb(var(--v-theme-ap-grey-darken-1));
|
|
350
348
|
}
|
|
351
349
|
|
|
352
350
|
&.v-btn--text {
|
|
@@ -370,7 +368,7 @@
|
|
|
370
368
|
min-height: 1.25rem;
|
|
371
369
|
padding: 0 0.125rem;
|
|
372
370
|
border-radius: 50%;
|
|
373
|
-
font-size:
|
|
371
|
+
font-size: var(--v-ap-fontSizeXxs);
|
|
374
372
|
z-index: 1;
|
|
375
373
|
|
|
376
374
|
& span {
|
|
@@ -158,12 +158,12 @@
|
|
|
158
158
|
</template>
|
|
159
159
|
|
|
160
160
|
<style lang="scss" scoped>
|
|
161
|
-
@use '@/assets/
|
|
161
|
+
@use '@/assets/overrides/breakpoints' as bp;
|
|
162
162
|
|
|
163
163
|
.amelipro-callback__retry-btn {
|
|
164
164
|
margin-left: 0;
|
|
165
165
|
|
|
166
|
-
@media #{
|
|
166
|
+
@media #{bp.$up-sm} {
|
|
167
167
|
margin-left: 1rem;
|
|
168
168
|
}
|
|
169
169
|
}
|
|
@@ -227,53 +227,53 @@
|
|
|
227
227
|
</template>
|
|
228
228
|
|
|
229
229
|
<style lang="scss" scoped>
|
|
230
|
-
@use '@/assets/
|
|
230
|
+
@use '@/assets/overrides/breakpoints' as bp;
|
|
231
231
|
|
|
232
232
|
.amelipro-card {
|
|
233
233
|
display: block;
|
|
234
234
|
position: relative;
|
|
235
235
|
max-width: 100%;
|
|
236
|
-
border-radius:
|
|
236
|
+
border-radius: var(--v-ap-btnRadius);
|
|
237
237
|
text-decoration: none;
|
|
238
238
|
overflow-wrap: break-word;
|
|
239
239
|
white-space: normal;
|
|
240
240
|
}
|
|
241
241
|
|
|
242
242
|
.amelipro-card__header {
|
|
243
|
-
padding-top:
|
|
244
|
-
padding-left:
|
|
245
|
-
padding-right:
|
|
243
|
+
padding-top: var(--v-ap-cardPaddingDesktop);
|
|
244
|
+
padding-left: var(--v-ap-cardPaddingDesktop);
|
|
245
|
+
padding-right: var(--v-ap-cardPaddingDesktop);
|
|
246
246
|
padding-bottom: 0 !important;
|
|
247
247
|
word-break: break-all;
|
|
248
248
|
}
|
|
249
249
|
|
|
250
250
|
.amelipro-card__header-content {
|
|
251
|
-
padding-bottom:
|
|
251
|
+
padding-bottom: var(--v-ap-cardPaddingDesktop);
|
|
252
252
|
}
|
|
253
253
|
|
|
254
254
|
.amelipro-card__content {
|
|
255
255
|
width: 100%;
|
|
256
|
-
padding:
|
|
257
|
-
font-size:
|
|
258
|
-
font-weight:
|
|
259
|
-
|
|
260
|
-
@media #{
|
|
261
|
-
padding-left:
|
|
262
|
-
padding-right:
|
|
263
|
-
padding-bottom:
|
|
256
|
+
padding: var(--v-ap-cardPaddingDesktop);
|
|
257
|
+
font-size: var(--v-ap-fontSizeXs);
|
|
258
|
+
font-weight: var(--v-ap-fontWeightRegular);
|
|
259
|
+
|
|
260
|
+
@media #{bp.$down-sm} {
|
|
261
|
+
padding-left: var(--v-ap-cardPaddingDesktop);
|
|
262
|
+
padding-right: var(--v-ap-cardPaddingDesktop);
|
|
263
|
+
padding-bottom: var(--v-ap-cardPaddingDesktop);
|
|
264
264
|
}
|
|
265
265
|
|
|
266
|
-
@media #{
|
|
267
|
-
padding-left:
|
|
268
|
-
padding-right:
|
|
269
|
-
padding-bottom:
|
|
266
|
+
@media #{bp.$down-xs} {
|
|
267
|
+
padding-left: var(--v-ap-cardPaddingMobile);
|
|
268
|
+
padding-right: var(--v-ap-cardPaddingMobile);
|
|
269
|
+
padding-bottom: var(--v-ap-cardPaddingDesktop);
|
|
270
270
|
}
|
|
271
271
|
}
|
|
272
272
|
|
|
273
273
|
.amelipro-card__header--left,
|
|
274
274
|
.amelipro-card__content--left {
|
|
275
|
-
@media #{
|
|
276
|
-
padding-right:
|
|
275
|
+
@media #{bp.$up-md} {
|
|
276
|
+
padding-right: var(--v-ap-cardPaddingDesktop);
|
|
277
277
|
}
|
|
278
278
|
}
|
|
279
279
|
|
|
@@ -282,31 +282,31 @@
|
|
|
282
282
|
}
|
|
283
283
|
|
|
284
284
|
.amelipro-card__right-part {
|
|
285
|
-
padding:
|
|
285
|
+
padding: var(--v-ap-cardPaddingDesktop) 1rem 1rem 0;
|
|
286
286
|
|
|
287
|
-
@media #{
|
|
288
|
-
padding: 0
|
|
287
|
+
@media #{bp.$down-sm} {
|
|
288
|
+
padding: 0 1rem 1rem;
|
|
289
289
|
}
|
|
290
290
|
|
|
291
|
-
@media #{
|
|
292
|
-
padding: 0
|
|
291
|
+
@media #{bp.$down-xs} {
|
|
292
|
+
padding: 0 0.75rem 0.75rem;
|
|
293
293
|
}
|
|
294
294
|
}
|
|
295
295
|
|
|
296
296
|
.amelipro-card__right-part-content {
|
|
297
|
-
@media #{
|
|
298
|
-
padding-left:
|
|
297
|
+
@media #{bp.$up-md} {
|
|
298
|
+
padding-left: var(--v-ap-cardPaddingDesktop);
|
|
299
299
|
min-height: 100%;
|
|
300
300
|
border-left: 1px solid v-bind(borderColorValue);
|
|
301
301
|
}
|
|
302
302
|
|
|
303
|
-
@media #{
|
|
304
|
-
padding-top:
|
|
303
|
+
@media #{bp.$down-sm} {
|
|
304
|
+
padding-top: var(--v-ap-cardPaddingDesktop);
|
|
305
305
|
border-top: 1px solid v-bind(borderColorValue);
|
|
306
306
|
}
|
|
307
307
|
|
|
308
|
-
@media #{
|
|
309
|
-
padding-top:
|
|
308
|
+
@media #{bp.$down-xs} {
|
|
309
|
+
padding-top: var(--v-ap-cardPaddingMobile);
|
|
310
310
|
}
|
|
311
311
|
}
|
|
312
312
|
</style>
|
|
@@ -211,19 +211,17 @@
|
|
|
211
211
|
</template>
|
|
212
212
|
|
|
213
213
|
<style lang="scss" scoped>
|
|
214
|
-
@use '@/assets/amelipro/apTokens2026' as apTokens;
|
|
215
|
-
|
|
216
214
|
.v-btn {
|
|
217
215
|
&.btn-previous,
|
|
218
216
|
&.btn-next {
|
|
219
217
|
&:disabled {
|
|
220
|
-
color:
|
|
218
|
+
color: rgb(var(--v-theme-primary)) !important;
|
|
221
219
|
background-color: transparent !important;
|
|
222
220
|
opacity: 0.7;
|
|
223
221
|
cursor: default;
|
|
224
222
|
|
|
225
223
|
& .v-icon {
|
|
226
|
-
color:
|
|
224
|
+
color: rgb(var(--v-theme-primary)) !important;
|
|
227
225
|
}
|
|
228
226
|
}
|
|
229
227
|
}
|
|
@@ -263,11 +261,11 @@
|
|
|
263
261
|
width: 1rem;
|
|
264
262
|
height: 1rem;
|
|
265
263
|
border-radius: 50%;
|
|
266
|
-
border: 1px solid
|
|
267
|
-
background-color:
|
|
264
|
+
border: 1px solid rgb(var(--v-theme-primary));
|
|
265
|
+
background-color: rgb(var(--v-theme-surface));
|
|
268
266
|
|
|
269
267
|
&.active-dot {
|
|
270
|
-
background-color:
|
|
268
|
+
background-color: rgb(var(--v-theme-primary));
|
|
271
269
|
}
|
|
272
270
|
}
|
|
273
271
|
</style>
|
|
@@ -143,8 +143,6 @@
|
|
|
143
143
|
</template>
|
|
144
144
|
|
|
145
145
|
<style lang="scss" scoped>
|
|
146
|
-
@use '@/assets/amelipro/apTokens2026' as apTokens;
|
|
147
|
-
|
|
148
146
|
.amelipro-checkbox-input {
|
|
149
147
|
& .checkbox-label {
|
|
150
148
|
position: relative;
|
|
@@ -160,7 +158,7 @@
|
|
|
160
158
|
width: 1.5rem;
|
|
161
159
|
height: 1.5rem;
|
|
162
160
|
border-radius: 0.4rem;
|
|
163
|
-
border: 3px solid
|
|
161
|
+
border: 3px solid rgb(var(--v-theme-primary));
|
|
164
162
|
background-color: transparent;
|
|
165
163
|
content: '';
|
|
166
164
|
}
|
|
@@ -169,7 +167,7 @@
|
|
|
169
167
|
&[aria-checked='true'] {
|
|
170
168
|
& .checkbox-label {
|
|
171
169
|
&::before {
|
|
172
|
-
background-color:
|
|
170
|
+
background-color: rgb(var(--v-theme-primary));
|
|
173
171
|
}
|
|
174
172
|
|
|
175
173
|
&::after {
|
|
@@ -179,8 +177,8 @@
|
|
|
179
177
|
width: 0.9rem;
|
|
180
178
|
height: 0.5rem;
|
|
181
179
|
border-radius: 2px;
|
|
182
|
-
border-bottom: 3px solid
|
|
183
|
-
border-left: 3px solid
|
|
180
|
+
border-bottom: 3px solid #fff;
|
|
181
|
+
border-left: 3px solid #fff;
|
|
184
182
|
transform: rotate(-50deg);
|
|
185
183
|
content: '';
|
|
186
184
|
}
|
|
@@ -211,22 +209,22 @@
|
|
|
211
209
|
padding-left: 4rem;
|
|
212
210
|
|
|
213
211
|
&::before {
|
|
214
|
-
height:
|
|
215
|
-
width:
|
|
216
|
-
top:
|
|
212
|
+
height: 2rem;
|
|
213
|
+
width: 3.5rem;
|
|
214
|
+
top: 0;
|
|
217
215
|
border-radius: 24px;
|
|
218
|
-
background-color:
|
|
216
|
+
background-color: rgb(var(--v-theme-ap-grey));
|
|
219
217
|
border: 0;
|
|
220
218
|
}
|
|
221
219
|
|
|
222
220
|
&::after {
|
|
223
221
|
position: absolute;
|
|
224
|
-
height:
|
|
225
|
-
width:
|
|
226
|
-
top:
|
|
222
|
+
height: 1.5rem;
|
|
223
|
+
width: 1.5rem;
|
|
224
|
+
top: 0.25rem;
|
|
227
225
|
left: 4px;
|
|
228
226
|
border-radius: 24px;
|
|
229
|
-
background-color:
|
|
227
|
+
background-color: rgb(var(--v-theme-surface));
|
|
230
228
|
border: 0;
|
|
231
229
|
transition: transform 0.3s ease-in-out;
|
|
232
230
|
content: '';
|
|
@@ -236,7 +234,7 @@
|
|
|
236
234
|
&[aria-checked='true'] {
|
|
237
235
|
& .checkbox-label {
|
|
238
236
|
&::before {
|
|
239
|
-
background-color:
|
|
237
|
+
background-color: rgb(var(--v-theme-primary));
|
|
240
238
|
}
|
|
241
239
|
|
|
242
240
|
&::after {
|
|
@@ -267,7 +267,7 @@
|
|
|
267
267
|
</template>
|
|
268
268
|
|
|
269
269
|
<style lang="scss" scoped>
|
|
270
|
-
@use '@/assets/
|
|
270
|
+
@use '@/assets/overrides/breakpoints' as bp;
|
|
271
271
|
|
|
272
272
|
.amelipro-checkbox-group__item-input {
|
|
273
273
|
& .checkbox-label {
|
|
@@ -297,7 +297,7 @@
|
|
|
297
297
|
width: 1.5rem;
|
|
298
298
|
height: 1.5rem;
|
|
299
299
|
border-radius: 0.4rem;
|
|
300
|
-
border: 3px solid
|
|
300
|
+
border: 3px solid rgb(var(--v-theme-primary));
|
|
301
301
|
background-color: transparent;
|
|
302
302
|
content: '';
|
|
303
303
|
}
|
|
@@ -306,7 +306,7 @@
|
|
|
306
306
|
&[aria-checked='true'] {
|
|
307
307
|
& .checkbox-label {
|
|
308
308
|
&::before {
|
|
309
|
-
background-color:
|
|
309
|
+
background-color: rgb(var(--v-theme-primary));
|
|
310
310
|
}
|
|
311
311
|
|
|
312
312
|
&::after {
|
|
@@ -316,8 +316,8 @@
|
|
|
316
316
|
width: 0.9rem;
|
|
317
317
|
height: 0.5rem;
|
|
318
318
|
border-radius: 2px;
|
|
319
|
-
border-bottom: 3px solid
|
|
320
|
-
border-left: 3px solid
|
|
319
|
+
border-bottom: 3px solid #fff;
|
|
320
|
+
border-left: 3px solid #fff;
|
|
321
321
|
transform: rotate(-50deg);
|
|
322
322
|
content: '';
|
|
323
323
|
}
|
|
@@ -338,23 +338,23 @@
|
|
|
338
338
|
.amelipro-checkbox-group.pills {
|
|
339
339
|
& .amelipro-checkbox-group__item-input {
|
|
340
340
|
& .checkbox-label {
|
|
341
|
-
font-size:
|
|
342
|
-
font-weight:
|
|
343
|
-
padding:
|
|
344
|
-
border-radius:
|
|
345
|
-
border: 1px solid
|
|
346
|
-
background-color:
|
|
347
|
-
color:
|
|
341
|
+
font-size: var(--v-ap-fontSizeSm);
|
|
342
|
+
font-weight: var(--v-ap-fontWeightBold);
|
|
343
|
+
padding: 0.75rem 2rem;
|
|
344
|
+
border-radius: var(--v-ap-btnRadius);
|
|
345
|
+
border: 1px solid rgb(var(--v-theme-primary));
|
|
346
|
+
background-color: rgb(var(--v-theme-surface));
|
|
347
|
+
color: rgb(var(--v-theme-primary));
|
|
348
348
|
|
|
349
349
|
&.amelipro-checkbox-group__item-label-span-error {
|
|
350
|
-
background-color:
|
|
351
|
-
border-color:
|
|
350
|
+
background-color: rgb(var(--v-theme-ap-red-lighten-4));
|
|
351
|
+
border-color: rgb(var(--v-theme-error));
|
|
352
352
|
}
|
|
353
353
|
}
|
|
354
354
|
|
|
355
355
|
&[aria-checked='true'] {
|
|
356
356
|
& .checkbox-label {
|
|
357
|
-
background-color:
|
|
357
|
+
background-color: rgb(var(--v-theme-ap-blue-lighten-3));
|
|
358
358
|
|
|
359
359
|
&::after {
|
|
360
360
|
position: absolute;
|
|
@@ -362,8 +362,8 @@
|
|
|
362
362
|
left: 0.75rem;
|
|
363
363
|
width: 1rem;
|
|
364
364
|
height: 0.5rem;
|
|
365
|
-
border-bottom: 2px solid
|
|
366
|
-
border-left: 2px solid
|
|
365
|
+
border-bottom: 2px solid rgb(var(--v-theme-primary));
|
|
366
|
+
border-left: 2px solid rgb(var(--v-theme-primary));
|
|
367
367
|
transform: rotate(-50deg);
|
|
368
368
|
content: '';
|
|
369
369
|
}
|
|
@@ -372,12 +372,12 @@
|
|
|
372
372
|
|
|
373
373
|
&[aria-disabled='true'] {
|
|
374
374
|
& .checkbox-label {
|
|
375
|
-
background-color:
|
|
376
|
-
border-color:
|
|
375
|
+
background-color: rgb(var(--v-theme-ap-grey-lighten-2));
|
|
376
|
+
border-color: rgb(var(--v-theme-ap-grey));
|
|
377
377
|
|
|
378
378
|
&::after {
|
|
379
|
-
border-bottom-color:
|
|
380
|
-
border-left-color:
|
|
379
|
+
border-bottom-color: rgb(var(--v-theme-ap-grey-darken-1));
|
|
380
|
+
border-left-color: rgb(var(--v-theme-ap-grey-darken-1));
|
|
381
381
|
}
|
|
382
382
|
}
|
|
383
383
|
}
|
|
@@ -385,11 +385,11 @@
|
|
|
385
385
|
}
|
|
386
386
|
|
|
387
387
|
.amelipro-checkbox-group__label {
|
|
388
|
-
font-weight:
|
|
388
|
+
font-weight: var(--v-ap-fontWeightBold);
|
|
389
389
|
}
|
|
390
390
|
|
|
391
391
|
.margin-label {
|
|
392
|
-
@media #{
|
|
392
|
+
@media #{bp.$up-md} {
|
|
393
393
|
margin-top: 3px;
|
|
394
394
|
}
|
|
395
395
|
}
|
|
@@ -41,11 +41,9 @@
|
|
|
41
41
|
</template>
|
|
42
42
|
|
|
43
43
|
<style lang="scss" scoped>
|
|
44
|
-
@use '@/assets/amelipro/apTokens2026' as apTokens;
|
|
45
|
-
|
|
46
44
|
.amelipro-chips {
|
|
47
45
|
padding: 0.75rem;
|
|
48
46
|
border-radius: 8px;
|
|
49
|
-
background-color:
|
|
47
|
+
background-color: rgb(var(--v-theme-ap-blue-lighten-3));
|
|
50
48
|
}
|
|
51
49
|
</style>
|
|
@@ -62,6 +62,13 @@
|
|
|
62
62
|
const hover = ref(false)
|
|
63
63
|
const focus = ref(false)
|
|
64
64
|
|
|
65
|
+
const elevationValue = computed<number>(() => {
|
|
66
|
+
if (hover.value || focus.value || props.disabled) {
|
|
67
|
+
return 0
|
|
68
|
+
}
|
|
69
|
+
return 2
|
|
70
|
+
})
|
|
71
|
+
|
|
65
72
|
const tileClasses = computed(() => ({
|
|
66
73
|
'amelipro-clickable-tile--hover': (hover.value || focus.value) && !props.disabled && !props.onlyIconIsClickable,
|
|
67
74
|
'amelipro-clickable-tile--disabled': props.disabled,
|
|
@@ -131,7 +138,7 @@
|
|
|
131
138
|
:id="uniqueId"
|
|
132
139
|
:class="containerClasses"
|
|
133
140
|
:disabled="disabled"
|
|
134
|
-
:elevation="
|
|
141
|
+
:elevation="elevationValue"
|
|
135
142
|
height="auto"
|
|
136
143
|
:href="href"
|
|
137
144
|
:ripple="false"
|
|
@@ -242,31 +249,29 @@
|
|
|
242
249
|
</template>
|
|
243
250
|
|
|
244
251
|
<style lang="scss" scoped>
|
|
245
|
-
@use '@/assets/amelipro/apTokens2026' as apTokens;
|
|
246
|
-
|
|
247
252
|
.amelipro-clickable-tile {
|
|
248
253
|
position: relative;
|
|
249
254
|
display: flex;
|
|
250
|
-
background-color:
|
|
251
|
-
border: 1px solid
|
|
255
|
+
background-color: rgb(var(--v-theme-surface));
|
|
256
|
+
border: 1px solid rgb(var(--v-theme-primary)) !important;
|
|
252
257
|
border-radius: var(--radius-md) !important;
|
|
253
258
|
white-space: normal;
|
|
254
|
-
font-size:
|
|
259
|
+
font-size: var(--v-ap-fontSizeSm);
|
|
255
260
|
font-weight: 600;
|
|
256
261
|
text-align: left;
|
|
257
262
|
align-items: center;
|
|
258
263
|
justify-content: space-between;
|
|
259
|
-
color:
|
|
264
|
+
color: rgb(var(--v-theme-ap-grey-darken-1));
|
|
260
265
|
padding: 1rem;
|
|
261
266
|
|
|
262
267
|
&--hover {
|
|
263
|
-
border-color:
|
|
268
|
+
border-color: rgb(var(--v-theme-secondary)) !important;
|
|
264
269
|
}
|
|
265
270
|
|
|
266
271
|
&--disabled {
|
|
267
|
-
color:
|
|
268
|
-
background-color:
|
|
269
|
-
border-color:
|
|
272
|
+
color: rgb(var(--v-theme-ap-grey-darken-1)) !important;
|
|
273
|
+
background-color: rgb(var(--v-theme-ap-grey-lighten-2)) !important;
|
|
274
|
+
border-color: rgb(var(--v-theme-ap-grey-lighten-2)) !important;
|
|
270
275
|
}
|
|
271
276
|
|
|
272
277
|
&__icon-button {
|
|
@@ -307,7 +312,7 @@
|
|
|
307
312
|
}
|
|
308
313
|
|
|
309
314
|
&:focus {
|
|
310
|
-
outline: 1px dotted
|
|
315
|
+
outline: 1px dotted rgb(var(--v-theme-ap-grey-darken-1));
|
|
311
316
|
}
|
|
312
317
|
|
|
313
318
|
& :deep(.v-btn__content) {
|
|
@@ -10,7 +10,7 @@ exports[`AmeliproClickableTile > Snapshots > renders the component with all prop
|
|
|
10
10
|
"
|
|
11
11
|
density="default"
|
|
12
12
|
disabled="false"
|
|
13
|
-
elevation="
|
|
13
|
+
elevation="2"
|
|
14
14
|
exact="false"
|
|
15
15
|
flat="false"
|
|
16
16
|
height="auto"
|
|
@@ -40,7 +40,7 @@ exports[`AmeliproClickableTile > Snapshots > renders the component with only req
|
|
|
40
40
|
"
|
|
41
41
|
density="default"
|
|
42
42
|
disabled="false"
|
|
43
|
-
elevation="
|
|
43
|
+
elevation="2"
|
|
44
44
|
exact="false"
|
|
45
45
|
flat="false"
|
|
46
46
|
height="auto"
|
|
@@ -52,8 +52,6 @@
|
|
|
52
52
|
</template>
|
|
53
53
|
|
|
54
54
|
<style lang="scss" scoped>
|
|
55
|
-
@use '@/assets/amelipro/apTokens2026' as apTokens;
|
|
56
|
-
|
|
57
55
|
.amelipro-copy-btn-wrapper {
|
|
58
56
|
position: relative;
|
|
59
57
|
display: inline-block;
|
|
@@ -63,11 +61,11 @@
|
|
|
63
61
|
position: absolute;
|
|
64
62
|
top: -10px;
|
|
65
63
|
right: 30px;
|
|
66
|
-
padding:
|
|
64
|
+
padding: var(--v-padding-2) var(--v-padding-4);
|
|
67
65
|
max-width: 200px;
|
|
68
|
-
background:
|
|
69
|
-
border: 1px solid
|
|
70
|
-
border-radius:
|
|
66
|
+
background: rgb(var(--v-theme-surface));
|
|
67
|
+
border: 1px solid rgb(var(--v-theme-ap-grey-lighten-3));
|
|
68
|
+
border-radius: var(--v-ap-btnRadius);
|
|
71
69
|
z-index: 10;
|
|
72
70
|
}
|
|
73
71
|
</style>
|