@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
|
@@ -216,15 +216,15 @@
|
|
|
216
216
|
</template>
|
|
217
217
|
|
|
218
218
|
<style lang="scss" scoped>
|
|
219
|
-
@use '@/assets/
|
|
219
|
+
@use '@/assets/overrides/breakpoints' as bp;
|
|
220
220
|
|
|
221
221
|
.ident-title {
|
|
222
|
-
font-size:
|
|
222
|
+
font-size: var(--v-ap-fontSizeXs) !important;
|
|
223
223
|
text-align: center;
|
|
224
|
-
font-weight:
|
|
224
|
+
font-weight: var(--v-ap-fontWeightBold);
|
|
225
225
|
text-transform: uppercase;
|
|
226
226
|
|
|
227
|
-
@media #{
|
|
227
|
+
@media #{bp.$up-md} {
|
|
228
228
|
text-align: left;
|
|
229
229
|
}
|
|
230
230
|
}
|
|
@@ -235,12 +235,10 @@
|
|
|
235
235
|
</template>
|
|
236
236
|
|
|
237
237
|
<style lang="scss" scoped>
|
|
238
|
-
@use '@/assets/amelipro/apTokens2026' as apTokens;
|
|
239
|
-
|
|
240
238
|
.loader {
|
|
241
239
|
width: 30px;
|
|
242
240
|
height: 30px;
|
|
243
|
-
border: 4px solid
|
|
241
|
+
border: 4px solid rgb(var(--v-theme-primary));
|
|
244
242
|
border-bottom-color: transparent;
|
|
245
243
|
border-radius: 50%;
|
|
246
244
|
display: inline-block;
|
|
@@ -499,8 +499,6 @@
|
|
|
499
499
|
</template>
|
|
500
500
|
|
|
501
501
|
<style lang="scss" scoped>
|
|
502
|
-
@use '@/assets/amelipro/apTokens2026' as apTokens;
|
|
503
|
-
|
|
504
502
|
.postal-code-field {
|
|
505
503
|
min-width: 140px;
|
|
506
504
|
width: 140px;
|
|
@@ -531,14 +529,14 @@
|
|
|
531
529
|
|
|
532
530
|
label {
|
|
533
531
|
margin-bottom: 4px;
|
|
534
|
-
font-weight:
|
|
532
|
+
font-weight: var(--v-ap-fontWeightBold);
|
|
535
533
|
}
|
|
536
534
|
}
|
|
537
535
|
|
|
538
536
|
.v-input {
|
|
539
537
|
& :deep(.v-field__input) {
|
|
540
|
-
padding-left:
|
|
541
|
-
padding-right:
|
|
538
|
+
padding-left: var(--v-padding-3);
|
|
539
|
+
padding-right: var(--v-padding-3);
|
|
542
540
|
}
|
|
543
541
|
|
|
544
542
|
& :deep(.v-field--disabled) {
|
|
@@ -312,15 +312,13 @@
|
|
|
312
312
|
</template>
|
|
313
313
|
|
|
314
314
|
<style lang="scss" scoped>
|
|
315
|
-
@use '@/assets/amelipro/apTokens2026' as apTokens;
|
|
316
|
-
|
|
317
315
|
.address-field {
|
|
318
316
|
min-width: 200px;
|
|
319
317
|
width: 100%;
|
|
320
318
|
|
|
321
319
|
label {
|
|
322
320
|
margin-bottom: 4px;
|
|
323
|
-
font-weight:
|
|
321
|
+
font-weight: var(--v-ap-fontWeightBold);
|
|
324
322
|
}
|
|
325
323
|
}
|
|
326
324
|
|
|
@@ -349,8 +347,8 @@
|
|
|
349
347
|
|
|
350
348
|
.v-input {
|
|
351
349
|
& :deep(.v-field__input) {
|
|
352
|
-
padding-left:
|
|
353
|
-
padding-right:
|
|
350
|
+
padding-left: var(--v-padding-3);
|
|
351
|
+
padding-right: var(--v-padding-3);
|
|
354
352
|
}
|
|
355
353
|
|
|
356
354
|
& :deep(.v-field--disabled) {
|
|
@@ -254,10 +254,10 @@
|
|
|
254
254
|
</template>
|
|
255
255
|
|
|
256
256
|
<style lang="scss" scoped>
|
|
257
|
-
@use '@/assets/
|
|
257
|
+
@use '@/assets/overrides/breakpoints' as bp;
|
|
258
258
|
|
|
259
259
|
.margin-label {
|
|
260
|
-
@media #{
|
|
260
|
+
@media #{bp.$up-md} {
|
|
261
261
|
margin-top: 3px;
|
|
262
262
|
}
|
|
263
263
|
}
|
|
@@ -275,7 +275,7 @@ input {
|
|
|
275
275
|
|
|
276
276
|
&:focus {
|
|
277
277
|
& + span {
|
|
278
|
-
outline: 1px dotted
|
|
278
|
+
outline: 1px dotted rgb(var(--v-theme-ap-grey-darken-1));
|
|
279
279
|
}
|
|
280
280
|
}
|
|
281
281
|
|
|
@@ -299,7 +299,7 @@ input {
|
|
|
299
299
|
width: 1.625rem;
|
|
300
300
|
height: 1.625rem;
|
|
301
301
|
border-radius: 50%;
|
|
302
|
-
border: 3px solid
|
|
302
|
+
border: 3px solid rgb(var(--v-theme-primary));
|
|
303
303
|
background-color: transparent;
|
|
304
304
|
content: '';
|
|
305
305
|
}
|
|
@@ -314,7 +314,7 @@ input {
|
|
|
314
314
|
width: 0.825rem;
|
|
315
315
|
height: 0.825rem;
|
|
316
316
|
border-radius: 50%;
|
|
317
|
-
background-color:
|
|
317
|
+
background-color: rgb(var(--v-theme-primary));
|
|
318
318
|
content: '';
|
|
319
319
|
}
|
|
320
320
|
}
|
|
@@ -332,7 +332,7 @@ input {
|
|
|
332
332
|
.amelipro-radio-group.pills {
|
|
333
333
|
& label {
|
|
334
334
|
&:not(:last-child) {
|
|
335
|
-
@media #{
|
|
335
|
+
@media #{bp.$up-sm} {
|
|
336
336
|
margin-right: 16px;
|
|
337
337
|
}
|
|
338
338
|
}
|
|
@@ -340,23 +340,23 @@ input {
|
|
|
340
340
|
|
|
341
341
|
& input {
|
|
342
342
|
& + span {
|
|
343
|
-
font-size:
|
|
344
|
-
font-weight:
|
|
345
|
-
padding:
|
|
346
|
-
border-radius:
|
|
347
|
-
border: 1px solid
|
|
348
|
-
background-color:
|
|
349
|
-
color:
|
|
343
|
+
font-size: var(--v-ap-fontSizeSm);
|
|
344
|
+
font-weight: var(--v-ap-fontWeightBold);
|
|
345
|
+
padding: 0.75rem 2rem;
|
|
346
|
+
border-radius: var(--v-ap-btnRadius);
|
|
347
|
+
border: 1px solid rgb(var(--v-theme-primary));
|
|
348
|
+
background-color: rgb(var(--v-theme-surface));
|
|
349
|
+
color: rgb(var(--v-theme-primary));
|
|
350
350
|
|
|
351
351
|
&.radio-group__item-label-span-error {
|
|
352
|
-
background-color:
|
|
353
|
-
border-color:
|
|
352
|
+
background-color: rgb(var(--v-theme-ap-red-lighten-4));
|
|
353
|
+
border-color: rgb(var(--v-theme-error));
|
|
354
354
|
}
|
|
355
355
|
}
|
|
356
356
|
|
|
357
357
|
&:checked {
|
|
358
358
|
& + span {
|
|
359
|
-
background-color:
|
|
359
|
+
background-color: rgb(var(--v-theme-ap-blue-lighten-3));
|
|
360
360
|
|
|
361
361
|
&::after {
|
|
362
362
|
position: absolute;
|
|
@@ -364,8 +364,8 @@ input {
|
|
|
364
364
|
left: 0.75rem;
|
|
365
365
|
width: 1rem;
|
|
366
366
|
height: 0.5rem;
|
|
367
|
-
border-bottom: 2px solid
|
|
368
|
-
border-left: 2px solid
|
|
367
|
+
border-bottom: 2px solid rgb(var(--v-theme-primary));
|
|
368
|
+
border-left: 2px solid rgb(var(--v-theme-primary));
|
|
369
369
|
transform: rotate(-50deg);
|
|
370
370
|
content: '';
|
|
371
371
|
}
|
|
@@ -374,12 +374,12 @@ input {
|
|
|
374
374
|
|
|
375
375
|
&:disabled {
|
|
376
376
|
& + span {
|
|
377
|
-
background-color:
|
|
378
|
-
border-color:
|
|
377
|
+
background-color: rgb(var(--v-theme-ap-grey-lighten-2));
|
|
378
|
+
border-color: rgb(var(--v-theme-ap-grey));
|
|
379
379
|
|
|
380
380
|
&::after {
|
|
381
|
-
border-bottom-color:
|
|
382
|
-
border-left-color:
|
|
381
|
+
border-bottom-color: rgb(var(--v-theme-ap-grey-darken-1));
|
|
382
|
+
border-left-color: rgb(var(--v-theme-ap-grey-darken-1));
|
|
383
383
|
}
|
|
384
384
|
}
|
|
385
385
|
}
|
|
@@ -387,6 +387,6 @@ input {
|
|
|
387
387
|
}
|
|
388
388
|
|
|
389
389
|
.radio-group__label {
|
|
390
|
-
font-weight:
|
|
390
|
+
font-weight: var(--v-ap-fontWeightBold);
|
|
391
391
|
}
|
|
392
392
|
</style>
|
|
@@ -226,12 +226,10 @@
|
|
|
226
226
|
</template>
|
|
227
227
|
|
|
228
228
|
<style lang="scss" scoped>
|
|
229
|
-
@use '@/assets/amelipro/apTokens2026' as apTokens;
|
|
230
|
-
|
|
231
229
|
.total-counter {
|
|
232
|
-
background-color:
|
|
233
|
-
border: 1px solid
|
|
234
|
-
border-radius:
|
|
235
|
-
padding:
|
|
230
|
+
background-color: rgb(var(--v-theme-ap-grey-lighten-2));
|
|
231
|
+
border: 1px solid rgb(var(--v-theme-ap-grey-darken-1));
|
|
232
|
+
border-radius: var(--v-ap-btnRadius);
|
|
233
|
+
padding: var(--v-ap-cardPaddingMobile) var(--v-ap-cardPaddingDesktop);
|
|
236
234
|
}
|
|
237
235
|
</style>
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
import { computed, onMounted, onUnmounted, type PropType, ref } from 'vue'
|
|
6
6
|
import AmeliproMessage from '../AmeliproMessage/AmeliproMessage.vue'
|
|
7
7
|
import type { ValidationRule } from '@/utils/rules/types'
|
|
8
|
-
import {
|
|
8
|
+
import { apColorsTokens2026 } from '@/designTokens/tokens/amelipro/apColors2026'
|
|
9
9
|
import { isRequired } from '@/utils/rules/isRequired'
|
|
10
10
|
|
|
11
11
|
const props = defineProps({
|
|
@@ -185,17 +185,11 @@
|
|
|
185
185
|
})
|
|
186
186
|
|
|
187
187
|
const inputBorderStyle = computed<string>(() => {
|
|
188
|
-
|
|
189
|
-
if (
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
borderColor = convertToHex('ap-red')
|
|
194
|
-
}
|
|
195
|
-
if (props.disabled) {
|
|
196
|
-
borderColor = convertToHex('ap-grey-lighten-2')
|
|
197
|
-
}
|
|
198
|
-
return borderColor
|
|
188
|
+
const { apBlue, apGrey, apRed } = apColorsTokens2026
|
|
189
|
+
if (props.disabled) return apGrey.lighten2
|
|
190
|
+
if (displayError.value) return apRed.base
|
|
191
|
+
if (focused.value) return apBlue.darken1
|
|
192
|
+
return apGrey.darken1
|
|
199
193
|
})
|
|
200
194
|
|
|
201
195
|
const fixAccessibility = () => {
|
|
@@ -335,8 +329,6 @@
|
|
|
335
329
|
</template>
|
|
336
330
|
|
|
337
331
|
<style lang="scss" scoped>
|
|
338
|
-
@use '@/assets/amelipro/apTokens2026' as apTokens;
|
|
339
|
-
|
|
340
332
|
.v-select {
|
|
341
333
|
& :deep(.v-select__selection--comma) {
|
|
342
334
|
line-height: 1.5rem;
|
|
@@ -358,8 +350,8 @@
|
|
|
358
350
|
}
|
|
359
351
|
|
|
360
352
|
:deep(.v-input__slot) {
|
|
361
|
-
min-height:
|
|
362
|
-
border-radius:
|
|
353
|
+
min-height: var(--v-ap-inputMinHeight) !important;
|
|
354
|
+
border-radius: var(--v-ap-inputRadius);
|
|
363
355
|
|
|
364
356
|
fieldset {
|
|
365
357
|
border: 0;
|
|
@@ -367,8 +359,8 @@
|
|
|
367
359
|
}
|
|
368
360
|
|
|
369
361
|
.amelipro-select__label {
|
|
370
|
-
font-size:
|
|
371
|
-
font-weight:
|
|
362
|
+
font-size: var(--v-ap-fontSizeXs);
|
|
363
|
+
font-weight: var(--v-ap-fontWeightBold);
|
|
372
364
|
}
|
|
373
365
|
|
|
374
366
|
.v-list {
|
|
@@ -379,13 +371,11 @@
|
|
|
379
371
|
</style>
|
|
380
372
|
|
|
381
373
|
<style lang="scss">
|
|
382
|
-
@use '@/assets/amelipro/apTokens2026' as apTokens;
|
|
383
|
-
|
|
384
374
|
.amelipro-select-menu {
|
|
385
375
|
.v-list-item--active .v-list-item__overlay,
|
|
386
376
|
.v-list-item--selected .v-list-item__overlay,
|
|
387
377
|
.v-list-item[aria-selected='true'] .v-list-item__overlay {
|
|
388
|
-
background-color:
|
|
378
|
+
background-color: rgb(var(--v-theme-ap-blue-lighten-3)) !important;
|
|
389
379
|
opacity: 1;
|
|
390
380
|
}
|
|
391
381
|
|
|
@@ -407,7 +397,7 @@
|
|
|
407
397
|
.v-list-item[aria-selected='true'] .v-list-item-subtitle,
|
|
408
398
|
.v-list-item[aria-selected='true'] .v-list-item__title,
|
|
409
399
|
.v-list-item[aria-selected='true'] .v-list-item__subtitle {
|
|
410
|
-
color:
|
|
400
|
+
color: rgb(var(--v-theme-primary)) !important;
|
|
411
401
|
position: relative;
|
|
412
402
|
z-index: 1;
|
|
413
403
|
}
|
|
@@ -290,21 +290,19 @@
|
|
|
290
290
|
</template>
|
|
291
291
|
|
|
292
292
|
<style lang="scss" scoped>
|
|
293
|
-
@use '@/assets/amelipro/apTokens2026' as apTokens;
|
|
294
|
-
|
|
295
293
|
.amelipro-state-tile__pdf-download {
|
|
296
|
-
color:
|
|
294
|
+
color: rgb(var(--v-theme-primary));
|
|
297
295
|
}
|
|
298
296
|
|
|
299
297
|
.amelipro-state-tile__pdf-download--white {
|
|
300
|
-
color:
|
|
298
|
+
color: rgb(var(--v-theme-apWhite-base));
|
|
301
299
|
}
|
|
302
300
|
|
|
303
301
|
.amelipro-state-tile {
|
|
304
302
|
position: relative;
|
|
305
303
|
display: flex;
|
|
306
304
|
flex-direction: column;
|
|
307
|
-
background-color:
|
|
305
|
+
background-color: rgb(var(--v-theme-surface));
|
|
308
306
|
|
|
309
307
|
& span {
|
|
310
308
|
white-space: normal;
|
|
@@ -312,12 +310,12 @@
|
|
|
312
310
|
|
|
313
311
|
&:hover {
|
|
314
312
|
& .amelipro-state-tile__pdf-download {
|
|
315
|
-
color:
|
|
313
|
+
color: rgb(var(--v-theme-secondary));
|
|
316
314
|
text-decoration: underline;
|
|
317
315
|
}
|
|
318
316
|
|
|
319
317
|
& .amelipro-state-tile__pdf-download--white {
|
|
320
|
-
color:
|
|
318
|
+
color: rgb(var(--v-theme-apWhite-base));
|
|
321
319
|
}
|
|
322
320
|
}
|
|
323
321
|
}
|
|
@@ -328,10 +326,10 @@
|
|
|
328
326
|
}
|
|
329
327
|
|
|
330
328
|
.btn-styled-text {
|
|
331
|
-
min-height:
|
|
332
|
-
padding:
|
|
333
|
-
border-radius:
|
|
334
|
-
font-size:
|
|
329
|
+
min-height: var(--v-ap-btnMinHeight);
|
|
330
|
+
padding: var(--v-padding-3) 24px;
|
|
331
|
+
border-radius: var(--v-ap-btnRadius);
|
|
332
|
+
font-size: var(--v-ap-fontSizeSm);
|
|
335
333
|
}
|
|
336
334
|
|
|
337
335
|
.state-tile-icon {
|
|
@@ -352,7 +350,7 @@
|
|
|
352
350
|
}
|
|
353
351
|
|
|
354
352
|
&:focus {
|
|
355
|
-
outline: 1px dotted
|
|
353
|
+
outline: 1px dotted rgb(var(--v-theme-ap-grey-darken-1));
|
|
356
354
|
}
|
|
357
355
|
|
|
358
356
|
& :deep(.v-btn__content) {
|
|
@@ -318,7 +318,7 @@
|
|
|
318
318
|
</template>
|
|
319
319
|
|
|
320
320
|
<style lang="scss" scoped>
|
|
321
|
-
@use '@/assets/
|
|
321
|
+
@use '@/assets/overrides/breakpoints' as bp;
|
|
322
322
|
|
|
323
323
|
.amelipro-stepper__list li {
|
|
324
324
|
&:first-child {
|
|
@@ -335,7 +335,7 @@
|
|
|
335
335
|
}
|
|
336
336
|
|
|
337
337
|
.step-number {
|
|
338
|
-
font-size:
|
|
338
|
+
font-size: var(--v-ap-fontSizeSm);
|
|
339
339
|
|
|
340
340
|
&::before {
|
|
341
341
|
position: absolute;
|
|
@@ -344,8 +344,8 @@
|
|
|
344
344
|
width: 2rem;
|
|
345
345
|
height: 2rem;
|
|
346
346
|
border-radius: 50%;
|
|
347
|
-
background-color:
|
|
348
|
-
border: 1px solid
|
|
347
|
+
background-color: rgb(var(--v-theme-ap-blue-lighten-3));
|
|
348
|
+
border: 1px solid rgb(var(--v-theme-ap-green-lighten-2));
|
|
349
349
|
content: '';
|
|
350
350
|
z-index: -1;
|
|
351
351
|
}
|
|
@@ -354,28 +354,28 @@
|
|
|
354
354
|
position: absolute;
|
|
355
355
|
left: calc(50% - 0.3rem);
|
|
356
356
|
bottom: -0.7rem;
|
|
357
|
-
color:
|
|
357
|
+
color: rgb(var(--v-theme-ap-grey-darken-1));
|
|
358
358
|
}
|
|
359
359
|
|
|
360
360
|
&.step-number--active {
|
|
361
361
|
&::before {
|
|
362
|
-
background-color:
|
|
362
|
+
background-color: rgb(var(--v-theme-primary));
|
|
363
363
|
border: 0;
|
|
364
364
|
}
|
|
365
365
|
|
|
366
366
|
& span {
|
|
367
|
-
color:
|
|
367
|
+
color: rgb(var(--v-theme-apWhite-base));
|
|
368
368
|
}
|
|
369
369
|
}
|
|
370
370
|
|
|
371
371
|
&.step-number--disabled {
|
|
372
372
|
&::before {
|
|
373
|
-
background-color:
|
|
373
|
+
background-color: rgb(var(--v-theme-ap-grey-lighten-2));
|
|
374
374
|
border: 0;
|
|
375
375
|
}
|
|
376
376
|
|
|
377
377
|
& span {
|
|
378
|
-
color:
|
|
378
|
+
color: rgb(var(--v-theme-ap-grey-darken-1));
|
|
379
379
|
}
|
|
380
380
|
}
|
|
381
381
|
}
|
|
@@ -387,29 +387,29 @@
|
|
|
387
387
|
.active-step-title {
|
|
388
388
|
position: relative;
|
|
389
389
|
width: calc(100% - 96px);
|
|
390
|
-
background-color:
|
|
390
|
+
background-color: rgb(var(--v-theme-primary));
|
|
391
391
|
border-top-left-radius: 8px;
|
|
392
392
|
border-top-right-radius: 8px;
|
|
393
|
-
color:
|
|
393
|
+
color: rgb(var(--v-theme-apWhite-base));
|
|
394
394
|
text-align: center;
|
|
395
395
|
z-index: 1;
|
|
396
396
|
}
|
|
397
397
|
|
|
398
398
|
.next-step-btn__wrapper {
|
|
399
|
-
@media #{
|
|
399
|
+
@media #{bp.$down-xs} {
|
|
400
400
|
width: 100%;
|
|
401
401
|
}
|
|
402
402
|
}
|
|
403
403
|
|
|
404
404
|
.amelipro-stepper__content--default {
|
|
405
|
-
padding: 3rem
|
|
406
|
-
background-color:
|
|
407
|
-
border: 1px solid
|
|
405
|
+
padding: 3rem 1rem 1rem;
|
|
406
|
+
background-color: rgb(var(--v-theme-surface));
|
|
407
|
+
border: 1px solid rgb(var(--v-theme-ap-green-lighten-2));
|
|
408
408
|
border-radius: 8px;
|
|
409
409
|
border-top-left-radius: 0;
|
|
410
410
|
|
|
411
|
-
@media #{
|
|
412
|
-
padding: 3rem
|
|
411
|
+
@media #{bp.$down-sm} {
|
|
412
|
+
padding: 3rem 0.75rem 0.75rem;
|
|
413
413
|
border-top-left-radius: 8px;
|
|
414
414
|
}
|
|
415
415
|
}
|
|
@@ -416,11 +416,9 @@
|
|
|
416
416
|
</template>
|
|
417
417
|
|
|
418
418
|
<style lang="scss" scoped>
|
|
419
|
-
@use '@/assets/amelipro/apTokens2026' as apTokens;
|
|
420
|
-
|
|
421
419
|
.amelipro-table__wrapper--desktop > div,
|
|
422
420
|
.amelipro-table__wrapper--mobile > div {
|
|
423
|
-
border: 1px solid
|
|
421
|
+
border: 1px solid rgb(var(--v-theme-ap-grey));
|
|
424
422
|
border-radius: 8px;
|
|
425
423
|
}
|
|
426
424
|
|
|
@@ -434,7 +432,7 @@ table {
|
|
|
434
432
|
th,
|
|
435
433
|
td {
|
|
436
434
|
padding: 0.5rem 0.75rem;
|
|
437
|
-
border-bottom: 1px solid
|
|
435
|
+
border-bottom: 1px solid rgb(var(--v-theme-ap-grey));
|
|
438
436
|
|
|
439
437
|
.amelipro-table__wrapper--mobile table tr:last-child & {
|
|
440
438
|
border-bottom: 0;
|
|
@@ -443,7 +441,7 @@ td {
|
|
|
443
441
|
|
|
444
442
|
.amelipro-table__wrapper--mobile {
|
|
445
443
|
& td {
|
|
446
|
-
border-left: 1px solid
|
|
444
|
+
border-left: 1px solid rgb(var(--v-theme-ap-grey));
|
|
447
445
|
}
|
|
448
446
|
|
|
449
447
|
& table tr:first-child th {
|
|
@@ -468,8 +466,8 @@ td {
|
|
|
468
466
|
.vertical-border {
|
|
469
467
|
td,
|
|
470
468
|
th {
|
|
471
|
-
border-left: 1px solid
|
|
472
|
-
border-right: 1px solid
|
|
469
|
+
border-left: 1px solid rgb(var(--v-theme-ap-grey));
|
|
470
|
+
border-right: 1px solid rgb(var(--v-theme-ap-grey));
|
|
473
471
|
}
|
|
474
472
|
|
|
475
473
|
& tr td:first-child,
|
|
@@ -488,9 +486,9 @@ tr:last-child td {
|
|
|
488
486
|
}
|
|
489
487
|
|
|
490
488
|
.total-counter {
|
|
491
|
-
background-color:
|
|
492
|
-
border: 1px solid
|
|
493
|
-
border-radius:
|
|
489
|
+
background-color: rgb(var(--v-theme-ap-grey-lighten-2));
|
|
490
|
+
border: 1px solid rgb(var(--v-theme-ap-grey-darken-1));
|
|
491
|
+
border-radius: var(--v-ap-btnRadius);
|
|
494
492
|
padding: 0.5rem 0.75rem;
|
|
495
493
|
}
|
|
496
494
|
|
|
@@ -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
|
.check-icon {
|
|
149
147
|
position: absolute;
|
|
150
148
|
top: calc(50% - 18px);
|
|
@@ -153,10 +151,10 @@
|
|
|
153
151
|
|
|
154
152
|
.amelipro-tab__btn--pills {
|
|
155
153
|
position: relative;
|
|
156
|
-
border-radius:
|
|
154
|
+
border-radius: var(--v-ap-btnRadius);
|
|
157
155
|
cursor: pointer;
|
|
158
|
-
padding:
|
|
159
|
-
font-weight:
|
|
156
|
+
padding: 0.5rem 2rem;
|
|
157
|
+
font-weight: var(--v-ap-fontWeightBold);
|
|
160
158
|
|
|
161
159
|
&.selected {
|
|
162
160
|
&::after {
|
|
@@ -165,8 +163,8 @@
|
|
|
165
163
|
left: 0.75rem;
|
|
166
164
|
width: 1rem;
|
|
167
165
|
height: 0.5rem;
|
|
168
|
-
border-bottom: 2px solid
|
|
169
|
-
border-left: 2px solid
|
|
166
|
+
border-bottom: 2px solid rgb(var(--v-theme-primary));
|
|
167
|
+
border-left: 2px solid rgb(var(--v-theme-primary));
|
|
170
168
|
transform: rotate(-50deg);
|
|
171
169
|
content: '';
|
|
172
170
|
}
|
|
@@ -189,7 +187,7 @@
|
|
|
189
187
|
width: 1.6rem;
|
|
190
188
|
height: 1.6rem;
|
|
191
189
|
border-radius: 50%;
|
|
192
|
-
background-color:
|
|
190
|
+
background-color: rgb(var(--v-theme-ap-pink));
|
|
193
191
|
z-index: -1;
|
|
194
192
|
}
|
|
195
193
|
}
|
|
@@ -325,7 +325,7 @@
|
|
|
325
325
|
</template>
|
|
326
326
|
|
|
327
327
|
<style lang="scss" scoped>
|
|
328
|
-
@use '@/assets/
|
|
328
|
+
@use '@/assets/overrides/breakpoints' as bp;
|
|
329
329
|
|
|
330
330
|
.first-tab-btn {
|
|
331
331
|
border-top-left-radius: 8px;
|
|
@@ -337,17 +337,17 @@
|
|
|
337
337
|
|
|
338
338
|
.tabpanel {
|
|
339
339
|
&:focus {
|
|
340
|
-
outline: 1px dotted
|
|
340
|
+
outline: 1px dotted rgb(var(--v-theme-ap-grey-darken-1));
|
|
341
341
|
}
|
|
342
342
|
}
|
|
343
343
|
|
|
344
344
|
.tab-panel-default {
|
|
345
345
|
border-radius: 8px;
|
|
346
|
-
border: 1px solid
|
|
346
|
+
border: 1px solid rgb(var(--v-theme-ap-grey-lighten-2));
|
|
347
347
|
}
|
|
348
348
|
|
|
349
349
|
.border-top-left {
|
|
350
|
-
@media #{
|
|
350
|
+
@media #{bp.$up-md} {
|
|
351
351
|
border-top-left-radius: 0;
|
|
352
352
|
}
|
|
353
353
|
}
|
|
@@ -291,8 +291,6 @@
|
|
|
291
291
|
</template>
|
|
292
292
|
|
|
293
293
|
<style lang="scss" scoped>
|
|
294
|
-
@use '@/assets/amelipro/apTokens2026' as apTokens;
|
|
295
|
-
|
|
296
294
|
.amelipro-textarea-input {
|
|
297
295
|
& :deep(.v-field__outline) {
|
|
298
296
|
border-color: v-bind(inputBorderStyle);
|
|
@@ -306,14 +304,14 @@
|
|
|
306
304
|
}
|
|
307
305
|
|
|
308
306
|
.amelipro-textarea__label {
|
|
309
|
-
font-size:
|
|
310
|
-
font-weight:
|
|
307
|
+
font-size: var(--v-ap-fontSizeXs);
|
|
308
|
+
font-weight: var(--v-ap-fontWeightBold);
|
|
311
309
|
}
|
|
312
310
|
|
|
313
311
|
.v-input {
|
|
314
312
|
& :deep(.v-field__input) {
|
|
315
|
-
padding-left:
|
|
316
|
-
padding-right:
|
|
313
|
+
padding-left: var(--v-padding-3);
|
|
314
|
+
padding-right: var(--v-padding-3);
|
|
317
315
|
}
|
|
318
316
|
|
|
319
317
|
& :deep(.v-field--disabled) {
|
|
@@ -446,8 +446,6 @@
|
|
|
446
446
|
</template>
|
|
447
447
|
|
|
448
448
|
<style lang="scss" scoped>
|
|
449
|
-
@use '@/assets/amelipro/apTokens2026' as apTokens;
|
|
450
|
-
|
|
451
449
|
.amelipro-text-field {
|
|
452
450
|
& :deep(.v-field__outline) {
|
|
453
451
|
border-color: v-bind(inputBorderStyle);
|
|
@@ -465,25 +463,25 @@
|
|
|
465
463
|
}
|
|
466
464
|
|
|
467
465
|
.amelipro-validation-rules {
|
|
468
|
-
font-size:
|
|
469
|
-
color:
|
|
466
|
+
font-size: var(--v-ap-fontSizeXs);
|
|
467
|
+
color: rgb(var(--v-theme-ap-grey));
|
|
470
468
|
|
|
471
469
|
.amelipro-validation-rule {
|
|
472
470
|
&.is-valid {
|
|
473
|
-
color:
|
|
471
|
+
color: rgb(var(--v-theme-success));
|
|
474
472
|
}
|
|
475
473
|
}
|
|
476
474
|
}
|
|
477
475
|
|
|
478
476
|
.amelipro-text-field__label {
|
|
479
|
-
font-size:
|
|
480
|
-
font-weight:
|
|
477
|
+
font-size: var(--v-ap-fontSizeXs);
|
|
478
|
+
font-weight: var(--v-ap-fontWeightBold);
|
|
481
479
|
}
|
|
482
480
|
|
|
483
481
|
.v-input {
|
|
484
482
|
& :deep(.v-field__input) {
|
|
485
|
-
padding-left:
|
|
486
|
-
padding-right:
|
|
483
|
+
padding-left: var(--v-padding-3);
|
|
484
|
+
padding-right: var(--v-padding-3);
|
|
487
485
|
}
|
|
488
486
|
|
|
489
487
|
& :deep(.v-field--disabled) {
|