@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
|
@@ -263,18 +263,18 @@
|
|
|
263
263
|
</template>
|
|
264
264
|
|
|
265
265
|
<style lang="scss" scoped>
|
|
266
|
-
@use '@/assets/
|
|
266
|
+
@use '@/assets/overrides/breakpoints' as bp;
|
|
267
267
|
|
|
268
268
|
.amelipro-custom-selector__label {
|
|
269
|
-
font-size:
|
|
270
|
-
font-weight:
|
|
269
|
+
font-size: var(--v-ap-fontSizeSm);
|
|
270
|
+
font-weight: var(--v-ap-fontWeightBold);
|
|
271
271
|
}
|
|
272
272
|
|
|
273
273
|
.amelipro-custom-selector__item {
|
|
274
274
|
width: 100%;
|
|
275
275
|
|
|
276
276
|
&.item-per-line-2 {
|
|
277
|
-
@media #{
|
|
277
|
+
@media #{bp.$up-sm} {
|
|
278
278
|
width: calc(50% - 8px);
|
|
279
279
|
margin-left: 8px;
|
|
280
280
|
|
|
@@ -285,7 +285,7 @@
|
|
|
285
285
|
}
|
|
286
286
|
|
|
287
287
|
&.item-per-line-3 {
|
|
288
|
-
@media #{
|
|
288
|
+
@media #{bp.$up-sm} {
|
|
289
289
|
width: calc((100% / 3) - (16px / 3));
|
|
290
290
|
margin-left: 8px;
|
|
291
291
|
|
|
@@ -315,14 +315,14 @@ input {
|
|
|
315
315
|
position: relative;
|
|
316
316
|
padding: 0.75rem 3rem 0.75rem 1rem;
|
|
317
317
|
border-radius: 5px;
|
|
318
|
-
border: 1px solid
|
|
319
|
-
background-color:
|
|
318
|
+
border: 1px solid rgb(var(--v-theme-ap-grey));
|
|
319
|
+
background-color: rgb(var(--v-theme-surface));
|
|
320
320
|
cursor: pointer;
|
|
321
321
|
}
|
|
322
322
|
|
|
323
323
|
input:checked + &,
|
|
324
324
|
.checkbox-input[aria-checked='true'] & {
|
|
325
|
-
background-color:
|
|
325
|
+
background-color: rgb(var(--v-theme-ap-blue-lighten-3));
|
|
326
326
|
|
|
327
327
|
&::after {
|
|
328
328
|
position: absolute;
|
|
@@ -330,8 +330,8 @@ input {
|
|
|
330
330
|
right: 1rem;
|
|
331
331
|
width: 1rem;
|
|
332
332
|
height: 0.5rem;
|
|
333
|
-
border-bottom: 2px solid
|
|
334
|
-
border-left: 2px solid
|
|
333
|
+
border-bottom: 2px solid rgb(var(--v-theme-primary));
|
|
334
|
+
border-left: 2px solid rgb(var(--v-theme-primary));
|
|
335
335
|
transform: rotate(-50deg);
|
|
336
336
|
content: '';
|
|
337
337
|
}
|
|
@@ -339,12 +339,12 @@ input {
|
|
|
339
339
|
|
|
340
340
|
input:disabled + &,
|
|
341
341
|
.checkbox-input[aria-disabled='true'] & {
|
|
342
|
-
background-color:
|
|
342
|
+
background-color: rgb(var(--v-theme-ap-grey-lighten-2));
|
|
343
343
|
cursor: default;
|
|
344
344
|
|
|
345
345
|
&::after {
|
|
346
|
-
border-bottom-color:
|
|
347
|
-
border-left-color:
|
|
346
|
+
border-bottom-color: rgb(var(--v-theme-ap-grey-darken-1));
|
|
347
|
+
border-left-color: rgb(var(--v-theme-ap-grey-darken-1));
|
|
348
348
|
}
|
|
349
349
|
}
|
|
350
350
|
}
|
|
@@ -145,16 +145,18 @@
|
|
|
145
145
|
</template>
|
|
146
146
|
|
|
147
147
|
<style lang="scss" scoped>
|
|
148
|
+
@use '@/assets/overrides/breakpoints' as bp;
|
|
149
|
+
|
|
148
150
|
.tooth-item {
|
|
149
151
|
min-width: 2.5rem;
|
|
150
152
|
margin-left: 4px;
|
|
151
153
|
margin-right: 4px;
|
|
152
154
|
|
|
153
|
-
@media
|
|
155
|
+
@media #{bp.$down-dental} {
|
|
154
156
|
width: 2.5rem;
|
|
155
157
|
}
|
|
156
158
|
|
|
157
|
-
@media
|
|
159
|
+
@media #{bp.$up-dental} {
|
|
158
160
|
width: 3.125rem;
|
|
159
161
|
margin-left: 8px;
|
|
160
162
|
margin-right: 8px;
|
|
@@ -147,7 +147,7 @@
|
|
|
147
147
|
</template>
|
|
148
148
|
|
|
149
149
|
<style lang="scss" scoped>
|
|
150
|
-
@use '@/assets/
|
|
150
|
+
@use '@/assets/overrides/breakpoints' as bp;
|
|
151
151
|
|
|
152
152
|
.tooth-btn {
|
|
153
153
|
border-radius: 8px;
|
|
@@ -155,18 +155,18 @@
|
|
|
155
155
|
min-height: 100%;
|
|
156
156
|
|
|
157
157
|
&:hover {
|
|
158
|
-
background-color:
|
|
158
|
+
background-color: rgb(var(--v-theme-ap-blue-lighten-4));
|
|
159
159
|
}
|
|
160
160
|
|
|
161
161
|
& img {
|
|
162
162
|
max-width: 90%;
|
|
163
163
|
margin: 8px 0;
|
|
164
164
|
|
|
165
|
-
@media
|
|
165
|
+
@media #{bp.$down-dental} {
|
|
166
166
|
width: 2.5rem;
|
|
167
167
|
}
|
|
168
168
|
|
|
169
|
-
@media
|
|
169
|
+
@media #{bp.$up-dental} {
|
|
170
170
|
width: 3.125rem;
|
|
171
171
|
}
|
|
172
172
|
}
|
|
@@ -303,29 +303,27 @@
|
|
|
303
303
|
</template>
|
|
304
304
|
|
|
305
305
|
<style lang="scss" scoped>
|
|
306
|
-
@use '@/assets/amelipro/apTokens2026' as apTokens;
|
|
307
|
-
|
|
308
306
|
.v-dialog {
|
|
309
307
|
& :deep(.v-overlay__content) {
|
|
310
308
|
overflow-y: auto !important;
|
|
311
309
|
}
|
|
312
310
|
|
|
313
311
|
&.dialog-radius :deep(.v-overlay__content) {
|
|
314
|
-
border-radius:
|
|
312
|
+
border-radius: var(--v-ap-btnRadius);
|
|
315
313
|
}
|
|
316
314
|
}
|
|
317
315
|
|
|
318
316
|
.dialog {
|
|
319
|
-
padding:
|
|
317
|
+
padding: var(--v-ap-dialogPadding);
|
|
320
318
|
}
|
|
321
319
|
|
|
322
320
|
.dialog__header {
|
|
323
|
-
padding-bottom:
|
|
324
|
-
border-bottom: 1px solid
|
|
321
|
+
padding-bottom: var(--v-ap-btnPaddingY);
|
|
322
|
+
border-bottom: 1px solid rgb(var(--v-theme-ap-grey-lighten-3));
|
|
325
323
|
}
|
|
326
324
|
|
|
327
325
|
.dialog__title {
|
|
328
326
|
width: calc(100% - 60px);
|
|
329
|
-
font-size:
|
|
327
|
+
font-size: var(--v-ap-fontSizeLg);
|
|
330
328
|
}
|
|
331
329
|
</style>
|
|
@@ -64,15 +64,13 @@
|
|
|
64
64
|
</template>
|
|
65
65
|
|
|
66
66
|
<style lang="scss" scoped>
|
|
67
|
-
@use '@/assets/amelipro/apTokens2026' as apTokens;
|
|
68
|
-
|
|
69
67
|
.accordion-btn {
|
|
70
68
|
padding: 0;
|
|
71
69
|
background-color: transparent;
|
|
72
70
|
border: 0;
|
|
73
71
|
|
|
74
72
|
&:focus {
|
|
75
|
-
outline: 1px dotted
|
|
73
|
+
outline: 1px dotted rgb(var(--v-theme-ap-grey-darken-1));
|
|
76
74
|
}
|
|
77
75
|
}
|
|
78
76
|
</style>
|
|
@@ -170,18 +170,16 @@
|
|
|
170
170
|
</template>
|
|
171
171
|
|
|
172
172
|
<style lang="scss" scoped>
|
|
173
|
-
@use '@/assets/amelipro/apTokens2026' as apTokens;
|
|
174
|
-
|
|
175
173
|
.w-70 {
|
|
176
174
|
width: 70% !important;
|
|
177
175
|
}
|
|
178
176
|
|
|
179
177
|
.amelipro-error-template__title,
|
|
180
178
|
.amelipro-error-template-content-title {
|
|
181
|
-
font-size:
|
|
179
|
+
font-size: var(--v-ap-fontSizeMd);
|
|
182
180
|
}
|
|
183
181
|
|
|
184
182
|
.amelipro-error-template-content-btn {
|
|
185
|
-
font-size:
|
|
183
|
+
font-size: var(--v-ap-fontSizeSm);
|
|
186
184
|
}
|
|
187
185
|
</style>
|
|
@@ -140,8 +140,6 @@
|
|
|
140
140
|
</template>
|
|
141
141
|
|
|
142
142
|
<style lang="scss" scoped>
|
|
143
|
-
@use '@/assets/amelipro/apTokens2026' as apTokens;
|
|
144
|
-
|
|
145
143
|
.download-file-link {
|
|
146
144
|
&:hover {
|
|
147
145
|
text-decoration: none;
|
|
@@ -149,12 +147,12 @@
|
|
|
149
147
|
}
|
|
150
148
|
|
|
151
149
|
.download-file-link-text {
|
|
152
|
-
color:
|
|
153
|
-
font-size:
|
|
154
|
-
font-weight:
|
|
150
|
+
color: rgb(var(--v-theme-primary));
|
|
151
|
+
font-size: var(--v-ap-fontSizeSm);
|
|
152
|
+
font-weight: var(--v-ap-fontWeightBold);
|
|
155
153
|
|
|
156
154
|
a:hover & {
|
|
157
|
-
color:
|
|
155
|
+
color: rgb(var(--v-theme-secondary));
|
|
158
156
|
text-decoration: underline;
|
|
159
157
|
}
|
|
160
158
|
}
|
|
@@ -153,11 +153,11 @@
|
|
|
153
153
|
</template>
|
|
154
154
|
|
|
155
155
|
<style lang="scss" scoped>
|
|
156
|
-
@use '@/assets/
|
|
156
|
+
@use '@/assets/overrides/breakpoints' as bp;
|
|
157
157
|
|
|
158
158
|
.item-spacing {
|
|
159
159
|
&:not(:last-child) {
|
|
160
|
-
@media #{
|
|
160
|
+
@media #{bp.$up-sm} {
|
|
161
161
|
margin-right: 16px;
|
|
162
162
|
}
|
|
163
163
|
}
|
|
@@ -176,22 +176,22 @@ input {
|
|
|
176
176
|
}
|
|
177
177
|
|
|
178
178
|
.filter {
|
|
179
|
-
padding:
|
|
180
|
-
font-weight:
|
|
179
|
+
padding: 0.75rem 2rem;
|
|
180
|
+
font-weight: var(--v-ap-fontWeightBold);
|
|
181
181
|
|
|
182
182
|
input + &,
|
|
183
183
|
.amelipro-filters__filter-input & {
|
|
184
184
|
position: relative;
|
|
185
|
-
border-radius:
|
|
186
|
-
border: 1px solid
|
|
187
|
-
background-color:
|
|
188
|
-
color:
|
|
185
|
+
border-radius: var(--v-ap-btnRadius);
|
|
186
|
+
border: 1px solid rgb(var(--v-theme-primary));
|
|
187
|
+
background-color: rgb(var(--v-theme-surface));
|
|
188
|
+
color: rgb(var(--v-theme-primary));
|
|
189
189
|
cursor: pointer;
|
|
190
190
|
}
|
|
191
191
|
|
|
192
192
|
input:checked + &,
|
|
193
193
|
.amelipro-filters__filter-input[aria-checked='true'] & {
|
|
194
|
-
background-color:
|
|
194
|
+
background-color: rgb(var(--v-theme-ap-blue-lighten-3));
|
|
195
195
|
|
|
196
196
|
&::after {
|
|
197
197
|
position: absolute;
|
|
@@ -199,8 +199,8 @@ input {
|
|
|
199
199
|
left: 1.1rem;
|
|
200
200
|
width: 1rem;
|
|
201
201
|
height: 0.5rem;
|
|
202
|
-
border-bottom: 2px solid
|
|
203
|
-
border-left: 2px solid
|
|
202
|
+
border-bottom: 2px solid rgb(var(--v-theme-primary));
|
|
203
|
+
border-left: 2px solid rgb(var(--v-theme-primary));
|
|
204
204
|
transform: rotate(-50deg);
|
|
205
205
|
content: '';
|
|
206
206
|
}
|
|
@@ -208,11 +208,11 @@ input {
|
|
|
208
208
|
|
|
209
209
|
input:focus + &,
|
|
210
210
|
.amelipro-filters__filter-input:focus & {
|
|
211
|
-
outline: 1px dotted
|
|
211
|
+
outline: 1px dotted rgb(var(--v-theme-ap-grey-darken-1));
|
|
212
212
|
}
|
|
213
213
|
}
|
|
214
214
|
|
|
215
215
|
.amelipro-filters__label {
|
|
216
|
-
font-weight:
|
|
216
|
+
font-weight: var(--v-ap-fontWeightBold);
|
|
217
217
|
}
|
|
218
218
|
</style>
|
|
@@ -283,8 +283,6 @@
|
|
|
283
283
|
</template>
|
|
284
284
|
|
|
285
285
|
<style lang="scss" scoped>
|
|
286
|
-
@use '@/assets/amelipro/apTokens2026' as apTokens;
|
|
287
|
-
|
|
288
286
|
.rounded {
|
|
289
287
|
border-radius: 2.5rem !important;
|
|
290
288
|
}
|
|
@@ -305,11 +303,11 @@
|
|
|
305
303
|
}
|
|
306
304
|
|
|
307
305
|
.fs-14 {
|
|
308
|
-
font-size:
|
|
306
|
+
font-size: var(--v-ap-fontSizeXs);
|
|
309
307
|
}
|
|
310
308
|
|
|
311
309
|
.fs-18 {
|
|
312
|
-
font-size:
|
|
310
|
+
font-size: var(--v-ap-fontSizeMd);
|
|
313
311
|
}
|
|
314
312
|
|
|
315
313
|
.custom-marker {
|
|
@@ -320,7 +318,7 @@
|
|
|
320
318
|
height: 7px;
|
|
321
319
|
margin-top: 7px;
|
|
322
320
|
border-radius: 50%;
|
|
323
|
-
background-color:
|
|
321
|
+
background-color: rgb(var(--v-theme-secondary));
|
|
324
322
|
}
|
|
325
323
|
}
|
|
326
324
|
|
|
@@ -401,10 +401,8 @@
|
|
|
401
401
|
</template>
|
|
402
402
|
|
|
403
403
|
<style lang="scss" scoped>
|
|
404
|
-
@use '@/assets/amelipro/apTokens2026' as apTokens;
|
|
405
|
-
|
|
406
404
|
:deep(.v-btn):focus {
|
|
407
|
-
outline-color:
|
|
405
|
+
outline-color: rgb(var(--v-theme-apWhite-base));
|
|
408
406
|
}
|
|
409
407
|
|
|
410
408
|
:deep(.v-btn).v-btn--size-default {
|
|
@@ -461,12 +461,10 @@
|
|
|
461
461
|
</template>
|
|
462
462
|
|
|
463
463
|
<style lang="scss" scoped>
|
|
464
|
-
@use '@/assets/amelipro/apTokens2026' as apTokens;
|
|
465
|
-
|
|
466
464
|
.header-separator {
|
|
467
465
|
width: 1px;
|
|
468
466
|
height: 38px;
|
|
469
|
-
background-color:
|
|
467
|
+
background-color: rgb(var(--v-theme-primary));
|
|
470
468
|
}
|
|
471
469
|
|
|
472
470
|
.header-bar-container {
|
|
@@ -475,7 +473,7 @@
|
|
|
475
473
|
padding: 0 38px;
|
|
476
474
|
|
|
477
475
|
& .v-btn:focus {
|
|
478
|
-
outline-color:
|
|
476
|
+
outline-color: rgb(var(--v-theme-apWhite-base));
|
|
479
477
|
}
|
|
480
478
|
}
|
|
481
479
|
|
|
@@ -113,8 +113,6 @@
|
|
|
113
113
|
</template>
|
|
114
114
|
|
|
115
115
|
<style lang="scss" scoped>
|
|
116
|
-
@use '@/assets/amelipro/apTokens2026' as apTokens;
|
|
117
|
-
|
|
118
116
|
.header-bar {
|
|
119
117
|
z-index: 1;
|
|
120
118
|
height: auto;
|
|
@@ -129,6 +127,6 @@
|
|
|
129
127
|
}
|
|
130
128
|
|
|
131
129
|
.navigation-bar {
|
|
132
|
-
background-color:
|
|
130
|
+
background-color: rgb(var(--v-theme-primary));
|
|
133
131
|
}
|
|
134
132
|
</style>
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
import type { LogoInfo } from './types'
|
|
5
5
|
import { LogoSizeEnum } from '../AmeliproLogoAm/LogoSizeEnum'
|
|
6
6
|
import { type RouteLocationRaw } from 'vue-router'
|
|
7
|
-
import {
|
|
7
|
+
import { apColorsTokens2026 } from '@/designTokens/tokens/amelipro/apColors2026'
|
|
8
8
|
import { dividerDimensionsMapping } from './dividerDimensionsMapping'
|
|
9
9
|
import { locales } from './locales'
|
|
10
10
|
import { useDisplay } from 'vuetify'
|
|
@@ -79,7 +79,11 @@
|
|
|
79
79
|
|
|
80
80
|
const showDivider = computed<boolean>(() => Boolean(ameliproLogo.value || props.serviceTitle))
|
|
81
81
|
const showServiceSubTitle = computed<boolean>(() => Boolean(props.serviceTitle && props.serviceSubTitle))
|
|
82
|
-
|
|
82
|
+
// SVG fill requires a hex literal — use token references directly instead of going through convertToHex
|
|
83
|
+
const dividerColor = computed<string>(() => props.themeAmelipro
|
|
84
|
+
? apColorsTokens2026.apBlue.darken2 // = theme secondary
|
|
85
|
+
: apColorsTokens2026.apBlue.base, // = ap-blue
|
|
86
|
+
)
|
|
83
87
|
const dividerDimensions = computed(() => {
|
|
84
88
|
const { xSmall, small, normal } = dividerDimensionsMapping
|
|
85
89
|
|
|
@@ -179,7 +183,7 @@
|
|
|
179
183
|
</template>
|
|
180
184
|
|
|
181
185
|
<style lang="scss" scoped>
|
|
182
|
-
@use '@/assets/
|
|
186
|
+
@use '@/assets/overrides/breakpoints' as bp;
|
|
183
187
|
|
|
184
188
|
.header-brand-section {
|
|
185
189
|
overflow: hidden;
|
|
@@ -189,30 +193,30 @@
|
|
|
189
193
|
}
|
|
190
194
|
|
|
191
195
|
h1.header-title {
|
|
192
|
-
font-size:
|
|
196
|
+
font-size: var(--v-ap-fontSizeXxl) !important;
|
|
193
197
|
letter-spacing: -0.48px !important;
|
|
194
198
|
|
|
195
|
-
@media #{
|
|
196
|
-
font-size:
|
|
199
|
+
@media #{bp.$down-sm} {
|
|
200
|
+
font-size: var(--v-ap-fontSizeLg) !important;
|
|
197
201
|
letter-spacing: -0.4px !important;
|
|
198
202
|
}
|
|
199
203
|
|
|
200
|
-
@media #{
|
|
201
|
-
font-size:
|
|
204
|
+
@media #{bp.$down-xs} {
|
|
205
|
+
font-size: var(--v-ap-fontSizeMd) !important;
|
|
202
206
|
letter-spacing: -0.32px !important;
|
|
203
207
|
}
|
|
204
208
|
}
|
|
205
209
|
|
|
206
210
|
h2.header-title {
|
|
207
|
-
font-size:
|
|
208
|
-
color:
|
|
211
|
+
font-size: var(--v-ap-fontSizeMd) !important;
|
|
212
|
+
color: rgb(var(--v-theme-ap-grey-darken-1));
|
|
209
213
|
|
|
210
|
-
@media #{
|
|
211
|
-
font-size:
|
|
214
|
+
@media #{bp.$down-sm} {
|
|
215
|
+
font-size: var(--v-ap-fontSizeSm) !important;
|
|
212
216
|
}
|
|
213
217
|
|
|
214
|
-
@media #{
|
|
215
|
-
font-size:
|
|
218
|
+
@media #{bp.$down-xs} {
|
|
219
|
+
font-size: var(--v-ap-fontSizeXs) !important;
|
|
216
220
|
}
|
|
217
221
|
}
|
|
218
222
|
|
|
@@ -225,11 +229,11 @@
|
|
|
225
229
|
.logo-amelipro {
|
|
226
230
|
width: 98px;
|
|
227
231
|
|
|
228
|
-
@media #{
|
|
232
|
+
@media #{bp.$down-sm} {
|
|
229
233
|
width: 77px;
|
|
230
234
|
}
|
|
231
235
|
|
|
232
|
-
@media #{
|
|
236
|
+
@media #{bp.$down-xs} {
|
|
233
237
|
width: 52px;
|
|
234
238
|
}
|
|
235
239
|
}
|
|
@@ -275,8 +275,6 @@
|
|
|
275
275
|
</template>
|
|
276
276
|
|
|
277
277
|
<style lang="scss" scoped>
|
|
278
|
-
@use '@/assets/amelipro/apTokens2026' as apTokens;
|
|
279
|
-
|
|
280
278
|
.v-btn {
|
|
281
279
|
background-color: transparent;
|
|
282
280
|
letter-spacing: unset;
|
|
@@ -292,7 +290,7 @@
|
|
|
292
290
|
}
|
|
293
291
|
|
|
294
292
|
&:focus {
|
|
295
|
-
outline: 1px dotted
|
|
293
|
+
outline: 1px dotted #000;
|
|
296
294
|
}
|
|
297
295
|
}
|
|
298
296
|
|
|
@@ -308,7 +306,7 @@
|
|
|
308
306
|
min-height: 1.25rem;
|
|
309
307
|
padding: 0 0.125rem;
|
|
310
308
|
border-radius: 50%;
|
|
311
|
-
font-size:
|
|
309
|
+
font-size: var(--v-ap-fontSizeXxs);
|
|
312
310
|
|
|
313
311
|
& span {
|
|
314
312
|
display: block;
|
|
@@ -142,10 +142,8 @@
|
|
|
142
142
|
</template>
|
|
143
143
|
|
|
144
144
|
<style lang="scss" scoped>
|
|
145
|
-
@use '@/assets/amelipro/apTokens2026' as apTokens;
|
|
146
|
-
|
|
147
145
|
.illustrated-data-tile__wrapper {
|
|
148
|
-
border-radius:
|
|
146
|
+
border-radius: var(--v-ap-inputRadius);
|
|
149
147
|
transform: translateY(0);
|
|
150
148
|
transition: transform 0.1s ease-in-out;
|
|
151
149
|
|
|
@@ -157,14 +155,14 @@
|
|
|
157
155
|
.illustrated-data-tile__label-line-1 {
|
|
158
156
|
margin-top: 2rem;
|
|
159
157
|
margin-bottom: 1rem;
|
|
160
|
-
font-size:
|
|
161
|
-
font-weight:
|
|
158
|
+
font-size: var(--v-ap-fontSizeSm);
|
|
159
|
+
font-weight: var(--v-ap-fontWeightBold);
|
|
162
160
|
}
|
|
163
161
|
|
|
164
162
|
.illustrated-data-tile__label-line-2 {
|
|
165
163
|
margin-bottom: 2rem;
|
|
166
|
-
font-size:
|
|
167
|
-
font-weight:
|
|
164
|
+
font-size: var(--v-ap-fontSizeXs);
|
|
165
|
+
font-weight: var(--v-ap-fontWeightRegular);
|
|
168
166
|
}
|
|
169
167
|
|
|
170
168
|
.illustrated-data-tile__img {
|
package/src/components/Amelipro/AmeliproIllustratedRadioGroup/AmeliproIllustratedRadioGroup.vue
CHANGED
|
@@ -179,15 +179,13 @@
|
|
|
179
179
|
</template>
|
|
180
180
|
|
|
181
181
|
<style lang="scss" scoped>
|
|
182
|
-
@use '@/assets/amelipro/apTokens2026' as apTokens;
|
|
183
|
-
|
|
184
182
|
.icon-radio__wrapper {
|
|
185
183
|
border-radius: 10px;
|
|
186
184
|
}
|
|
187
185
|
|
|
188
186
|
.amelipro-illustrated-radio-group__label {
|
|
189
|
-
font-size:
|
|
190
|
-
font-weight:
|
|
187
|
+
font-size: var(--v-ap-fontSizeXs);
|
|
188
|
+
font-weight: var(--v-ap-fontWeightBold);
|
|
191
189
|
}
|
|
192
190
|
|
|
193
191
|
input {
|
|
@@ -198,7 +196,7 @@ input {
|
|
|
198
196
|
|
|
199
197
|
&:focus {
|
|
200
198
|
& + span {
|
|
201
|
-
outline: 1px dotted
|
|
199
|
+
outline: 1px dotted rgb(var(--v-theme-ap-grey-darken-1));
|
|
202
200
|
}
|
|
203
201
|
}
|
|
204
202
|
|
|
@@ -214,7 +212,7 @@ input {
|
|
|
214
212
|
width: 1.625rem;
|
|
215
213
|
height: 1.625rem;
|
|
216
214
|
border-radius: 50%;
|
|
217
|
-
border: 3px solid
|
|
215
|
+
border: 3px solid rgb(var(--v-theme-primary));
|
|
218
216
|
background-color: transparent;
|
|
219
217
|
content: '';
|
|
220
218
|
}
|
|
@@ -229,7 +227,7 @@ input {
|
|
|
229
227
|
width: 0.825rem;
|
|
230
228
|
height: 0.825rem;
|
|
231
229
|
border-radius: 50%;
|
|
232
|
-
background-color:
|
|
230
|
+
background-color: rgb(var(--v-theme-primary));
|
|
233
231
|
content: '';
|
|
234
232
|
}
|
|
235
233
|
}
|
|
@@ -247,6 +245,6 @@ input {
|
|
|
247
245
|
}
|
|
248
246
|
|
|
249
247
|
.amelipro-illustrated-radio-group__item-label-text {
|
|
250
|
-
font-weight:
|
|
248
|
+
font-weight: var(--v-ap-fontWeightBold);
|
|
251
249
|
}
|
|
252
250
|
</style>
|