@cnamts/synapse 0.0.10-alpha → 0.0.12-alpha
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/design-system-v3.js +5081 -3916
- package/dist/design-system-v3.umd.cjs +1 -1
- package/dist/src/components/Amelipro/types/languages.d.ts +6 -0
- package/dist/src/components/Amelipro/types/types.d.ts +65 -0
- package/dist/src/components/BackBtn/AccessibiliteItems.d.ts +29 -0
- package/dist/src/components/BackBtn/BackBtn.d.ts +14 -0
- package/dist/src/components/BackBtn/constants/ExpertiseLevelEnum.d.ts +4 -0
- package/dist/src/components/BackBtn/locales.d.ts +3 -0
- package/dist/src/components/BackBtn/tests/BackBtn.spec.d.ts +1 -0
- package/dist/src/components/BackToTopBtn/AccessibiliteItems.d.ts +29 -0
- package/dist/src/components/BackToTopBtn/BackToTopBtn.d.ts +23 -0
- package/dist/src/components/BackToTopBtn/config.d.ts +12 -0
- package/dist/src/components/BackToTopBtn/constants/ExpertiseLevelEnum.d.ts +4 -0
- package/dist/src/components/BackToTopBtn/locales.d.ts +3 -0
- package/dist/src/components/BackToTopBtn/tests/BackToTopBtn.spec.d.ts +1 -0
- package/dist/src/components/ChipList/AccessibiliteItems.d.ts +29 -0
- package/dist/src/components/ChipList/ChipList.d.ts +47 -0
- package/dist/src/components/ChipList/config.d.ts +8 -0
- package/dist/src/components/ChipList/constants/ExpertiseLevelEnum.d.ts +4 -0
- package/dist/src/components/ChipList/locales.d.ts +6 -0
- package/dist/src/components/ChipList/tests/chipList.spec.d.ts +1 -0
- package/dist/src/components/ChipList/types.d.ts +6 -0
- package/dist/src/components/CollapsibleList/AccessibiliteItems.d.ts +46 -0
- package/dist/src/components/CollapsibleList/CollapsibleList.d.ts +7 -0
- package/dist/src/components/CollapsibleList/constants/ExpertiseLevelEnum.d.ts +4 -0
- package/dist/src/components/CollapsibleList/tests/CollapsibleList.spec.d.ts +1 -0
- package/dist/src/components/CollapsibleList/types.d.ts +5 -0
- package/dist/src/components/ContextualMenu/AccessibiliteItems.d.ts +46 -0
- package/dist/src/components/ContextualMenu/ContextualMenu.d.ts +13 -0
- package/dist/src/components/ContextualMenu/constants/ExpertiseLevelEnum.d.ts +4 -0
- package/dist/src/components/ContextualMenu/tests/ContextualMenu.spec.d.ts +1 -0
- package/dist/src/components/ContextualMenu/types.d.ts +5 -0
- package/dist/src/components/CookieBanner/AccessibiliteItems.d.ts +79 -0
- package/dist/src/components/CookieBanner/CookieBanner.d.ts +28 -0
- package/dist/src/components/CookieBanner/config.d.ts +40 -0
- package/dist/src/components/CookieBanner/constants/ExpertiseLevelEnum.d.ts +4 -0
- package/dist/src/components/CookieBanner/locales.d.ts +11 -0
- package/dist/src/components/CookieBanner/tests/CookieBanner.spec.d.ts +1 -0
- package/dist/src/components/CookiesSelection/CookiesInformation/CookiesInformation.d.ts +19 -0
- package/dist/src/components/CookiesSelection/CookiesInformation/locales.d.ts +19 -0
- package/dist/src/components/CookiesSelection/CookiesInformation/tests/CookiesInformation.spec.d.ts +1 -0
- package/dist/src/components/CookiesSelection/CookiesTable/CookiesTable.d.ts +13 -0
- package/dist/src/components/CookiesSelection/CookiesTable/headers.d.ts +10 -0
- package/dist/src/components/CookiesSelection/CookiesTable/tests/CookiesTable.spec.d.ts +1 -0
- package/dist/src/components/CookiesSelection/locales.d.ts +8 -0
- package/dist/src/components/CookiesSelection/tests/CookiesSelection.spec.d.ts +1 -0
- package/dist/src/components/CookiesSelection/types.d.ts +12 -0
- package/dist/src/components/CopyBtn/AccessibiliteItems.d.ts +29 -0
- package/dist/src/components/CopyBtn/CopyBtn.d.ts +28 -0
- package/dist/src/components/CopyBtn/config.d.ts +17 -0
- package/dist/src/components/CopyBtn/constants/ExpertiseLevelEnum.d.ts +4 -0
- package/dist/src/components/CopyBtn/locales.d.ts +3 -0
- package/dist/src/components/CopyBtn/tests/CopyBtn.spec.d.ts +1 -0
- package/dist/src/components/Customs/SyBtnSelect/AccessibiliteItems.d.ts +29 -0
- package/dist/src/components/Customs/SyBtnSelect/SyBtnSelect.d.ts +164 -0
- package/dist/src/components/Customs/SyBtnSelect/constants/ExpertiseLevelEnum.d.ts +4 -0
- package/dist/src/components/Customs/SyBtnSelect/tests/SyBtnSelect.spec.d.ts +1 -0
- package/dist/src/components/Customs/SyInputSelect/AccessibiliteItems.d.ts +29 -0
- package/dist/src/components/Customs/SyInputSelect/SyInputSelect.d.ts +38 -0
- package/dist/src/components/Customs/SyInputSelect/config.d.ts +9 -0
- package/dist/src/components/Customs/SyInputSelect/constants/ExpertiseLevelEnum.d.ts +4 -0
- package/dist/src/components/Customs/SyInputSelect/tests/SyInputSelect.spec.d.ts +1 -0
- package/dist/src/components/Customs/SySelect/AccessibiliteItems.d.ts +54 -0
- package/dist/src/components/Customs/SySelect/constants/ExpertiseLevelEnum.d.ts +4 -0
- package/dist/src/components/Customs/SySelect/tests/SySelect.spec.d.ts +1 -0
- package/dist/src/components/Customs/SyTextField/AccessibiliteItems.d.ts +70 -0
- package/dist/src/components/Customs/SyTextField/SyTextField.d.ts +166 -0
- package/dist/src/components/Customs/SyTextField/constants/ExpertiseLevelEnum.d.ts +4 -0
- package/dist/src/components/Customs/SyTextField/tests/SyTextField.spec.d.ts +1 -0
- package/dist/src/components/Customs/SyTextField/types.d.ts +4 -0
- package/dist/src/components/DataList/AccessibiliteItems.d.ts +29 -0
- package/dist/src/components/DataList/DataList.d.ts +134 -0
- package/dist/src/components/DataList/DataListLoading/DataListLoading.d.ts +32 -0
- package/dist/src/components/DataList/DataListLoading/tests/DataListLoading.spec.d.ts +1 -0
- package/dist/src/components/DataList/constants/ExpertiseLevelEnum.d.ts +4 -0
- package/dist/src/components/DataList/locales.d.ts +3 -0
- package/dist/src/components/DataList/tests/DataList.spec.d.ts +1 -0
- package/dist/src/components/DataList/types.d.ts +22 -0
- package/dist/src/components/DataListGroup/AccessibiliteItems.d.ts +29 -0
- package/dist/src/components/DataListGroup/DataListGroup.d.ts +56 -0
- package/dist/src/components/DataListGroup/constants/ExpertiseLevelEnum.d.ts +4 -0
- package/dist/src/components/DataListGroup/tests/DataListGroup.spec.d.ts +1 -0
- package/dist/src/components/DataListGroup/tests/data/dataListGroupItems.d.ts +5 -0
- package/dist/src/components/DataListGroup/types.d.ts +14 -0
- package/dist/src/components/DataListItem/DataListItem.d.ts +37 -0
- package/dist/src/components/DataListItem/config.d.ts +16 -0
- package/dist/src/components/DataListItem/locales.d.ts +3 -0
- package/dist/src/components/DataListItem/tests/DataListItem.spec.d.ts +1 -0
- package/dist/src/components/DataListItem/types.d.ts +22 -0
- package/dist/src/components/DatePicker/AccessibiliteItems.d.ts +54 -0
- package/dist/src/components/DatePicker/DatePicker.d.ts +605 -0
- package/dist/src/components/DatePicker/DateTextInput.d.ts +473 -0
- package/dist/src/components/DatePicker/constants/ExpertiseLevelEnum.d.ts +4 -0
- package/dist/src/components/DatePicker/tests/DatePicker.spec.d.ts +1 -0
- package/dist/src/components/DatePicker/tests/DateTextInput.spec.d.ts +1 -0
- package/dist/src/components/DialogBox/AccessibiliteItems.d.ts +54 -0
- package/dist/src/components/DialogBox/config.d.ts +25 -0
- package/dist/src/components/DialogBox/constants/ExpertiseLevelEnum.d.ts +4 -0
- package/dist/src/components/DialogBox/locales.d.ts +5 -0
- package/dist/src/components/DialogBox/tests/DialogBox.spec.d.ts +1 -0
- package/dist/src/components/DownloadBtn/AccessibiliteItems.d.ts +29 -0
- package/dist/src/components/DownloadBtn/DownloadBtn.d.ts +39 -0
- package/dist/src/components/DownloadBtn/config.d.ts +13 -0
- package/dist/src/components/DownloadBtn/constants/ExpertiseLevelEnum.d.ts +4 -0
- package/dist/src/components/DownloadBtn/tests/DownloadBtn.spec.d.ts +1 -0
- package/dist/src/components/DownloadBtn/tests/data/filePromise.d.ts +5 -0
- package/dist/src/components/ErrorPage/AccessibiliteItems.d.ts +65 -0
- package/dist/src/components/ErrorPage/ErrorPage.d.ts +31 -0
- package/dist/src/components/ErrorPage/constants/ExpertiseLevelEnum.d.ts +4 -0
- package/dist/src/components/ErrorPage/locales.d.ts +5 -0
- package/dist/src/components/ErrorPage/tests/ErrorPage.spec.d.ts +1 -0
- package/dist/src/components/ExternalLinks/AccessibiliteItems.d.ts +55 -0
- package/dist/src/components/ExternalLinks/ExternalLinks.d.ts +31 -0
- package/dist/src/components/ExternalLinks/config.d.ts +32 -0
- package/dist/src/components/ExternalLinks/constants/ExpertiseLevelEnum.d.ts +4 -0
- package/dist/src/components/ExternalLinks/locales.d.ts +4 -0
- package/dist/src/components/ExternalLinks/tests/ExternalLinks.spec.d.ts +1 -0
- package/dist/src/components/FileList/AccessibiliteItems.d.ts +29 -0
- package/dist/src/components/FileList/FileList.d.ts +45 -0
- package/dist/src/components/FileList/UploadItem/UploadItem.d.ts +58 -0
- package/dist/src/components/FileList/UploadItem/locales.d.ts +9 -0
- package/dist/src/components/FileList/constants/ExpertiseLevelEnum.d.ts +4 -0
- package/dist/src/components/FileList/tests/FileList.spec.d.ts +1 -0
- package/dist/src/components/FilePreview/AccessibiliteItems.d.ts +16 -0
- package/dist/src/components/FilePreview/FilePreview.d.ts +28 -0
- package/dist/src/components/FilePreview/config.d.ts +9 -0
- package/dist/src/components/FilePreview/constants/ExpertiseLevelEnum.d.ts +4 -0
- package/dist/src/components/FilePreview/locales.d.ts +4 -0
- package/dist/src/components/FilePreview/tests/FilePreview.spec.d.ts +1 -0
- package/dist/src/components/FileUpload/AccessibiliteItems.d.ts +16 -0
- package/dist/src/components/FileUpload/FileUpload.d.ts +49 -0
- package/dist/src/components/FileUpload/FileUploadContent.d.ts +20 -0
- package/dist/src/components/FileUpload/constants/ExpertiseLevelEnum.d.ts +4 -0
- package/dist/src/components/FileUpload/locales.d.ts +9 -0
- package/dist/src/components/FileUpload/tests/FileUpload.spec.d.ts +1 -0
- package/dist/src/components/FileUpload/useFileDrop.d.ts +2 -0
- package/dist/src/components/FileUpload/validateFiles.d.ts +4 -0
- package/dist/src/components/FilterInline/FilterInline.d.ts +28 -0
- package/dist/src/components/FilterInline/locales.d.ts +3 -0
- package/dist/src/components/FilterInline/tests/FilterInline.spec.d.ts +1 -0
- package/dist/src/components/FilterSideBar/FilterSideBar.d.ts +31 -0
- package/dist/src/components/FilterSideBar/locales.d.ts +7 -0
- package/dist/src/components/FilterSideBar/tests/FilterSideBar.spec.d.ts +1 -0
- package/dist/src/components/FooterBar/A11yCompliance.d.ts +3 -0
- package/dist/src/components/FooterBar/AccessibiliteItems.d.ts +110 -0
- package/dist/src/components/FooterBar/FooterBar.d.ts +57 -0
- package/dist/src/components/FooterBar/config.d.ts +18 -0
- package/dist/src/components/FooterBar/constants/ExpertiseLevelEnum.d.ts +4 -0
- package/dist/src/components/FooterBar/defaultSocialMediaLinks.d.ts +2 -0
- package/dist/src/components/FooterBar/locales.d.ts +11 -0
- package/dist/src/components/FooterBar/tests/FooterBar.spec.d.ts +1 -0
- package/dist/src/components/FooterBar/tests/FooterBarConfig.spec.d.ts +1 -0
- package/dist/src/components/FooterBar/types.d.ts +9 -0
- package/dist/src/components/FranceConnectBtn/AccessibiliteItems.d.ts +45 -0
- package/dist/src/components/FranceConnectBtn/FranceConnectBtn.d.ts +10 -0
- package/dist/src/components/FranceConnectBtn/constants/ExpertiseLevelEnum.d.ts +4 -0
- package/dist/src/components/FranceConnectBtn/locales.d.ts +4 -0
- package/dist/src/components/FranceConnectBtn/tests/FranceConnectBtn.spec.d.ts +1 -0
- package/dist/src/components/HeaderBar/AccessibiliteItems.d.ts +91 -0
- package/dist/src/components/HeaderBar/HeaderBar.d.ts +67 -0
- package/dist/src/components/HeaderBar/HeaderBurgerMenu/AccessibiliteItems.d.ts +77 -0
- package/dist/src/components/HeaderBar/HeaderBurgerMenu/HeaderBurgerMenu.d.ts +67 -0
- package/dist/src/components/HeaderBar/HeaderBurgerMenu/HeaderMenuItem/HeaderMenuItem.d.ts +9 -0
- package/dist/src/components/HeaderBar/HeaderBurgerMenu/HeaderMenuItem/tests/HeaderMenuItem.spec.d.ts +1 -0
- package/dist/src/components/HeaderBar/HeaderBurgerMenu/HeaderMenuSection/HeaderMenuSection.d.ts +13 -0
- package/dist/src/components/HeaderBar/HeaderBurgerMenu/HeaderMenuSection/tests/HeaderMenuSection.spec.d.ts +1 -0
- package/dist/src/components/HeaderBar/HeaderBurgerMenu/HeaderSubMenu/HeaderSubMenu.d.ts +10 -0
- package/dist/src/components/HeaderBar/HeaderBurgerMenu/HeaderSubMenu/tests/HeaderSubMenu.spec.d.ts +1 -0
- package/dist/src/components/HeaderBar/HeaderBurgerMenu/constants/ExpertiseLevelEnum.d.ts +4 -0
- package/dist/src/components/HeaderBar/HeaderBurgerMenu/conts.d.ts +1 -0
- package/dist/src/components/HeaderBar/HeaderBurgerMenu/locals.d.ts +5 -0
- package/dist/src/components/HeaderBar/HeaderBurgerMenu/tests/HeaderBurgerMenu.spec.d.ts +1 -0
- package/dist/src/components/HeaderBar/HeaderBurgerMenu/tests/useHandleSubMenus.spec.d.ts +1 -0
- package/dist/src/components/HeaderBar/HeaderBurgerMenu/useHandleSubMenus.d.ts +4 -0
- package/dist/src/components/HeaderBar/HeaderLogo/HeaderLogo.d.ts +31 -0
- package/dist/src/components/HeaderBar/HeaderLogo/locales.d.ts +3 -0
- package/dist/src/components/HeaderBar/HeaderLogo/logos/Logo-mobile.d.ts +2 -0
- package/dist/src/components/HeaderBar/HeaderLogo/logos/Logo.d.ts +2 -0
- package/dist/src/components/HeaderBar/HeaderLogo/tests/HeaderLogo.spec.d.ts +1 -0
- package/dist/src/components/HeaderBar/HeaderMenuBtn/HeaderMenuBtn.d.ts +14 -0
- package/dist/src/components/HeaderBar/HeaderMenuBtn/locals.d.ts +5 -0
- package/dist/src/components/HeaderBar/HeaderMenuBtn/tests/HeaderMenuBtn.spec.d.ts +1 -0
- package/dist/src/components/HeaderBar/constants/ExpertiseLevelEnum.d.ts +4 -0
- package/dist/src/components/HeaderBar/consts.d.ts +2 -0
- package/dist/src/components/HeaderBar/locales.d.ts +3 -0
- package/dist/src/components/HeaderBar/tests/HeaderBar.spec.d.ts +1 -0
- package/dist/src/components/HeaderBar/tests/useHeaderResponsiveMode.spec.d.ts +1 -0
- package/dist/src/components/HeaderBar/tests/useScrollDirection.spec.d.ts +1 -0
- package/dist/src/components/HeaderBar/useHeaderResponsiveMode.d.ts +3 -0
- package/dist/src/components/HeaderBar/useScrollDirection.d.ts +3 -0
- package/dist/src/components/HeaderLoading/AccessibiliteItems.d.ts +16 -0
- package/dist/src/components/HeaderLoading/HeaderLoading.d.ts +23 -0
- package/dist/src/components/HeaderLoading/constants/ExpertiseLevelEnum.d.ts +4 -0
- package/dist/src/components/HeaderLoading/tests/HeaderLoading.spec.d.ts +1 -0
- package/dist/src/components/HeaderNavigationBar/HeaderNavigationBar.d.ts +84 -0
- package/dist/src/components/HeaderNavigationBar/HorizontalNavbar/HorizontalNavbar.d.ts +20 -0
- package/dist/src/components/HeaderNavigationBar/HorizontalNavbar/config.d.ts +16 -0
- package/dist/src/components/HeaderNavigationBar/tests/HeaderNavigationBar.spec.d.ts +1 -0
- package/dist/src/components/HeaderNavigationBar/types.d.ts +6 -0
- package/dist/src/components/HeaderToolbar/AccessibiliteItems.d.ts +46 -0
- package/dist/src/components/HeaderToolbar/HeaderToolbar.d.ts +103 -0
- package/dist/src/components/HeaderToolbar/constants/ExpertiseLevelEnum.d.ts +4 -0
- package/dist/src/components/HeaderToolbar/tests/HeaderToolbar.spec.d.ts +1 -0
- package/dist/src/components/HeaderToolbar/types.d.ts +19 -0
- package/dist/src/components/LangBtn/AccessibiliteItems.d.ts +16 -0
- package/dist/src/components/LangBtn/LangBtn.d.ts +31 -0
- package/dist/src/components/LangBtn/config.d.ts +15 -0
- package/dist/src/components/LangBtn/constants/ExpertiseLevelEnum.d.ts +4 -0
- package/dist/src/components/LangBtn/locales.d.ts +3 -0
- package/dist/src/components/LangBtn/tests/Config.spec.d.ts +1 -0
- package/dist/src/components/LangBtn/tests/LangBtn.spec.d.ts +1 -0
- package/dist/src/components/LangBtn/types.d.ts +7 -0
- package/dist/src/components/Logo/AccessibiliteItems.d.ts +65 -0
- package/dist/src/components/Logo/Logo.d.ts +71 -0
- package/dist/src/components/Logo/LogoSize.d.ts +6 -0
- package/dist/src/components/Logo/constants/ExpertiseLevelEnum.d.ts +4 -0
- package/dist/src/components/Logo/locales.d.ts +6 -0
- package/dist/src/components/Logo/logoDimensionsMapping.d.ts +3 -0
- package/dist/src/components/Logo/tests/Logo.spec.d.ts +1 -0
- package/dist/src/components/Logo/types.d.ts +7 -0
- package/dist/src/components/LogoBrandSection/AccessibiliteItems.d.ts +91 -0
- package/dist/src/components/LogoBrandSection/LogoBrandSection.d.ts +38 -0
- package/dist/src/components/LogoBrandSection/constants/ExpertiseLevelEnum.d.ts +4 -0
- package/dist/src/components/LogoBrandSection/dividerDimensionsMapping.d.ts +14 -0
- package/dist/src/components/LogoBrandSection/locales.d.ts +14 -0
- package/dist/src/components/LogoBrandSection/secondaryLogoMapping.d.ts +18 -0
- package/dist/src/components/LogoBrandSection/tests/LogoBrandSection.spec.d.ts +1 -0
- package/dist/src/components/LogoBrandSection/types.d.ts +1 -0
- package/dist/src/components/MaintenancePage/AccessibiliteItems.d.ts +65 -0
- package/dist/src/components/MaintenancePage/MaintenancePage.d.ts +2 -0
- package/dist/src/components/MaintenancePage/constants/ExpertiseLevelEnum.d.ts +4 -0
- package/dist/src/components/MaintenancePage/index.d.ts +2 -0
- package/dist/src/components/MaintenancePage/locales.d.ts +4 -0
- package/dist/src/components/MaintenancePage/tests/MaintenancePage.spec.d.ts +1 -0
- package/dist/src/components/NirField/AccessibiliteItems.d.ts +79 -0
- package/dist/src/components/NirField/NirField.d.ts +940 -0
- package/dist/src/components/NirField/config.d.ts +15 -0
- package/dist/src/components/NirField/constants/ExpertiseLevelEnum.d.ts +4 -0
- package/dist/src/components/NirField/locales.d.ts +12 -0
- package/dist/src/components/NirField/nirValidation.d.ts +5 -0
- package/dist/src/components/NirField/tests/NirField.spec.d.ts +1 -0
- package/dist/src/components/NotFoundPage/AccessibiliteItems.d.ts +65 -0
- package/dist/src/components/NotFoundPage/NotFoundPage.d.ts +14 -0
- package/dist/src/components/NotFoundPage/constants/ExpertiseLevelEnum.d.ts +4 -0
- package/dist/src/components/NotFoundPage/locales.d.ts +6 -0
- package/dist/src/components/NotFoundPage/tests/NotFoundPage.spec.d.ts +1 -0
- package/dist/src/components/NotificationBar/AccessibiliteItems.d.ts +29 -0
- package/dist/src/components/NotificationBar/NotificationBar.d.ts +37 -0
- package/dist/src/components/NotificationBar/constants/ExpertiseLevelEnum.d.ts +4 -0
- package/dist/src/components/NotificationBar/options.d.ts +13 -0
- package/dist/src/components/NotificationBar/tests/NotificationBar.spec.d.ts +1 -0
- package/dist/src/components/NotificationBar/types.d.ts +7 -0
- package/dist/src/components/PageContainer/AccessibiliteItems.d.ts +29 -0
- package/dist/src/components/PageContainer/PageContainer.d.ts +21 -0
- package/dist/src/components/PageContainer/constants/ExpertiseLevelEnum.d.ts +4 -0
- package/dist/src/components/PageContainer/tests/PageContainer.spec.d.ts +1 -0
- package/dist/src/components/PaginatedTable/AccessibiliteItems.d.ts +97 -0
- package/dist/src/components/PaginatedTable/PaginatedTable.d.ts +57 -0
- package/dist/src/components/PaginatedTable/constants/ExpertiseLevelEnum.d.ts +4 -0
- package/dist/src/components/PaginatedTable/constants/StateEnum.d.ts +6 -0
- package/dist/src/components/PaginatedTable/tests/PaginatedTable.spec.d.ts +1 -0
- package/dist/src/components/PaginatedTable/types.d.ts +26 -0
- package/dist/src/components/PasswordField/AccessibiliteItems.d.ts +54 -0
- package/dist/src/components/PasswordField/PasswordField.d.ts +57 -0
- package/dist/src/components/PasswordField/config.d.ts +9 -0
- package/dist/src/components/PasswordField/constants/ExpertiseLevelEnum.d.ts +4 -0
- package/dist/src/components/PasswordField/locales.d.ts +4 -0
- package/dist/src/components/PasswordField/tests/PasswordField.spec.d.ts +1 -0
- package/dist/src/components/PeriodField/AccessibiliteItems.d.ts +54 -0
- package/dist/src/components/PeriodField/PeriodField.d.ts +1403 -0
- package/dist/src/components/PeriodField/constants/ExpertiseLevelEnum.d.ts +4 -0
- package/dist/src/components/PeriodField/tests/PeriodField.spec.d.ts +1 -0
- package/dist/src/components/PhoneField/AccessibiliteItems.d.ts +94 -0
- package/dist/src/components/PhoneField/PhoneField.d.ts +138 -0
- package/dist/src/components/PhoneField/constants/ExpertiseLevelEnum.d.ts +4 -0
- package/dist/src/components/PhoneField/indicatifs.d.ts +7 -0
- package/dist/src/components/PhoneField/locales.d.ts +4 -0
- package/dist/src/components/PhoneField/tests/PhoneField.spec.d.ts +1 -0
- package/dist/src/components/RangeField/AccessibiliteItems.d.ts +54 -0
- package/dist/src/components/RangeField/RangeField.d.ts +19 -0
- package/dist/src/components/RangeField/RangeSlider/RangeSlider.d.ts +286 -0
- package/dist/src/components/RangeField/RangeSlider/Tooltip/Tooltip.d.ts +20 -0
- package/dist/src/components/RangeField/RangeSlider/tests/rangeSlider.spec.d.ts +1 -0
- package/dist/src/components/RangeField/RangeSlider/tests/useDoubleSlider.spec.d.ts +1 -0
- package/dist/src/components/RangeField/RangeSlider/tests/useMouseSlide.spec.d.ts +1 -0
- package/dist/src/components/RangeField/RangeSlider/tests/useThumb.spec.d.ts +1 -0
- package/dist/src/components/RangeField/RangeSlider/tests/useThumbKeyboard.spec.d.ts +1 -0
- package/dist/src/components/RangeField/RangeSlider/tests/useTooltipsNudge.spec.d.ts +1 -0
- package/dist/src/components/RangeField/RangeSlider/tests/useTrack.spec.d.ts +1 -0
- package/dist/src/components/RangeField/RangeSlider/tests/vAnimateClick.spec.d.ts +1 -0
- package/dist/src/components/RangeField/RangeSlider/types.d.ts +13 -0
- package/dist/src/components/RangeField/RangeSlider/useMouseSlide.d.ts +18 -0
- package/dist/src/components/RangeField/RangeSlider/useRangeSlider.d.ts +17 -0
- package/dist/src/components/RangeField/RangeSlider/useThumb.d.ts +6 -0
- package/dist/src/components/RangeField/RangeSlider/useThumbKeyboard.d.ts +12 -0
- package/dist/src/components/RangeField/RangeSlider/useTooltipsNudge.d.ts +16 -0
- package/dist/src/components/RangeField/RangeSlider/useTrack.d.ts +13 -0
- package/dist/src/components/RangeField/RangeSlider/vAnimateClick.d.ts +3 -0
- package/dist/src/components/RangeField/config.d.ts +6 -0
- package/dist/src/components/RangeField/constants/ExpertiseLevelEnum.d.ts +4 -0
- package/dist/src/components/RangeField/locales.d.ts +4 -0
- package/dist/src/components/RangeField/tests/RangeField.spec.d.ts +1 -0
- package/dist/src/components/RatingPicker/AccessibiliteItems.d.ts +80 -0
- package/dist/src/components/RatingPicker/EmotionPicker/EmotionPicker.d.ts +65 -0
- package/dist/src/components/RatingPicker/EmotionPicker/locales.d.ts +3 -0
- package/dist/src/components/RatingPicker/EmotionPicker/tests/EmotionPicker.spec.d.ts +1 -0
- package/dist/src/components/RatingPicker/NumberPicker/NumberPicker.d.ts +64 -0
- package/dist/src/components/RatingPicker/NumberPicker/locales.d.ts +3 -0
- package/dist/src/components/RatingPicker/NumberPicker/tests/NumberPicker.spec.d.ts +1 -0
- package/dist/src/components/RatingPicker/Rating.d.ts +25 -0
- package/dist/src/components/RatingPicker/RatingPicker.d.ts +82 -0
- package/dist/src/components/RatingPicker/StarsPicker/StarsPicker.d.ts +54 -0
- package/dist/src/components/RatingPicker/StarsPicker/tests/StarsPicker.spec.d.ts +1 -0
- package/dist/src/components/RatingPicker/constants/ExpertiseLevelEnum.d.ts +4 -0
- package/dist/src/components/RatingPicker/locales.d.ts +3 -0
- package/dist/src/components/RatingPicker/tests/Rating.spec.d.ts +1 -0
- package/dist/src/components/RatingPicker/tests/RatingPicker.spec.d.ts +1 -0
- package/dist/src/components/SearchListField/AccessibiliteItems.d.ts +90 -0
- package/dist/src/components/SearchListField/SearchListField.d.ts +42 -0
- package/dist/src/components/SearchListField/constants/ExpertiseLevelEnum.d.ts +4 -0
- package/dist/src/components/SearchListField/locales.d.ts +5 -0
- package/dist/src/components/SearchListField/tests/SearchListField.spec.d.ts +1 -0
- package/dist/src/components/SearchListField/types.d.ts +4 -0
- package/dist/src/components/SelectBtnField/AccessibiliteItems.d.ts +79 -0
- package/dist/src/components/SelectBtnField/SelectBtnField.d.ts +33 -0
- package/dist/src/components/SelectBtnField/config.d.ts +11 -0
- package/dist/src/components/SelectBtnField/constants/ExpertiseLevelEnum.d.ts +4 -0
- package/dist/src/components/SelectBtnField/tests/SelectBtnField.spec.d.ts +1 -0
- package/dist/src/components/SelectBtnField/types.d.ts +11 -0
- package/dist/src/components/SkipLink/AccessibiliteItems.d.ts +16 -0
- package/dist/src/components/SkipLink/SkipLink.d.ts +18 -0
- package/dist/src/components/SkipLink/constants/ExpertiseLevelEnum.d.ts +4 -0
- package/dist/src/components/SkipLink/locales.d.ts +3 -0
- package/dist/src/components/SkipLink/tests/skipLink.spec.d.ts +1 -0
- package/dist/src/components/SocialMediaLinks/AccessibiliteItems.d.ts +46 -0
- package/dist/src/components/SocialMediaLinks/DefaultSocialMediaLinks.d.ts +2 -0
- package/dist/src/components/SocialMediaLinks/SocialMediaLinks.d.ts +16 -0
- package/dist/src/components/SocialMediaLinks/constants/ExpertiseLevelEnum.d.ts +4 -0
- package/dist/src/components/SocialMediaLinks/locales.d.ts +3 -0
- package/dist/src/components/SocialMediaLinks/tests/DefaultSocialMediaLinks.spec.d.ts +1 -0
- package/dist/src/components/SocialMediaLinks/tests/SocialMediaLinks.spec.d.ts +1 -0
- package/dist/src/components/SocialMediaLinks/types.d.ts +5 -0
- package/dist/src/components/SubHeader/AccessibiliteItems.d.ts +29 -0
- package/dist/src/components/SubHeader/SubHeader.d.ts +40 -0
- package/dist/src/components/SubHeader/config.d.ts +11 -0
- package/dist/src/components/SubHeader/constants/ExpertiseLevelEnum.d.ts +4 -0
- package/dist/src/components/SubHeader/locales.d.ts +3 -0
- package/dist/src/components/SubHeader/tests/SubHeader.spec.d.ts +1 -0
- package/dist/src/components/SyAlert/AccessibiliteItems.d.ts +29 -0
- package/dist/src/components/SyAlert/SyAlert.d.ts +32 -0
- package/dist/src/components/SyAlert/constants/ExpertiseLevelEnum.d.ts +4 -0
- package/dist/src/components/SyAlert/locales.d.ts +3 -0
- package/dist/src/components/SyAlert/tests/SyAlert.spec.d.ts +1 -0
- package/dist/src/components/TableToolbar/AccessibiliteItems.d.ts +71 -0
- package/dist/src/components/TableToolbar/TableToolbar.d.ts +40 -0
- package/dist/src/components/TableToolbar/config.d.ts +24 -0
- package/dist/src/components/TableToolbar/constants/ExpertiseLevelEnum.d.ts +4 -0
- package/dist/src/components/TableToolbar/locales.d.ts +5 -0
- package/dist/src/components/TableToolbar/tests/TableToolbar.spec.d.ts +1 -0
- package/dist/src/components/UploadWorkflow/config.d.ts +29 -0
- package/dist/src/components/UploadWorkflow/locales.d.ts +7 -0
- package/dist/src/components/UploadWorkflow/tests/UploadWorkflow.spec.d.ts +1 -0
- package/dist/src/components/UploadWorkflow/types.d.ts +19 -0
- package/dist/src/components/UploadWorkflow/useFileList.d.ts +10 -0
- package/dist/src/components/UploadWorkflow/useFileUploadJourney.d.ts +9 -0
- package/dist/src/components/UserMenuBtn/AccessibiliteItems.d.ts +54 -0
- package/dist/src/components/UserMenuBtn/UserMenuBtn.d.ts +32 -0
- package/dist/src/components/UserMenuBtn/config.d.ts +24 -0
- package/dist/src/components/UserMenuBtn/constants/ExpertiseLevelEnum.d.ts +4 -0
- package/dist/src/components/UserMenuBtn/tests/UserMenuBtn.spec.d.ts +1 -0
- package/dist/src/components/index.d.ts +65 -0
- package/dist/src/composables/index.d.ts +3 -0
- package/dist/src/composables/rules/tests/useFieldValidation.spec.d.ts +1 -0
- package/dist/src/composables/rules/useFieldValidation.d.ts +28 -0
- package/dist/src/composables/useCustomizableOptions.d.ts +13 -0
- package/dist/src/composables/useFilterable/useFilterable.d.ts +32 -0
- package/dist/src/composables/useFilterable/useFilterable.spec.d.ts +1 -0
- package/dist/src/composables/validation/tests/useValidation.spec.d.ts +1 -0
- package/dist/src/composables/validation/useValidation.d.ts +39 -0
- package/dist/src/composables/widthable/index.d.ts +13 -0
- package/dist/src/composables/widthable/tests/widthable.spec.d.ts +1 -0
- package/dist/src/constants/icons.d.ts +3 -0
- package/dist/src/designTokens/index.d.ts +11 -0
- package/dist/src/designTokens/tokens/cnam/cnamColors.d.ts +171 -0
- package/dist/src/designTokens/tokens/cnam/cnamContextual.d.ts +58 -0
- package/dist/src/designTokens/tokens/cnam/cnamDarkTheme.d.ts +3 -0
- package/dist/src/designTokens/tokens/cnam/cnamLightTheme.d.ts +90 -0
- package/dist/src/designTokens/tokens/cnam/cnamSemantic.d.ts +87 -0
- package/dist/src/designTokens/tokens/pa/paColors.d.ts +171 -0
- package/dist/src/designTokens/tokens/pa/paContextual.d.ts +58 -0
- package/dist/src/designTokens/tokens/pa/paDarkTheme.d.ts +3 -0
- package/dist/src/designTokens/tokens/pa/paLightTheme.d.ts +120 -0
- package/dist/src/designTokens/tokens/pa/paSemantic.d.ts +87 -0
- package/dist/src/designTokens/utils/convertGaps.d.ts +5 -0
- package/dist/src/designTokens/utils/convertSemanticsToken.d.ts +12 -0
- package/dist/src/designTokens/utils/createFlattenTheme.d.ts +7 -0
- package/dist/src/designTokens/utils/index.d.ts +3 -0
- package/dist/src/directives/clickOutside.d.ts +1 -0
- package/dist/src/main.d.ts +3 -0
- package/dist/src/modules.d.ts +4 -0
- package/dist/src/services/NotificationService.d.ts +19 -0
- package/dist/src/services/index.d.ts +1 -0
- package/dist/src/stories/Accessibilite/Vuetify/VuetifyItems.d.ts +58 -0
- package/dist/src/stories/EcoConception/ecoDesignItems.d.ts +4 -0
- package/dist/src/types/vuetifyTypes.d.ts +3 -0
- package/dist/src/utils/calcHumanFileSize/index.d.ts +2 -0
- package/dist/src/utils/calcHumanFileSize/tests/calcHumanFileSize.spec.d.ts +1 -0
- package/dist/src/utils/convertToUnit/index.d.ts +2 -0
- package/dist/src/utils/convertToUnit/test/convertToUnit.spec.d.ts +1 -0
- package/dist/src/utils/functions/copyToClipboard/index.d.ts +2 -0
- package/dist/src/utils/functions/copyToClipboard/tests/copyToClipboard.spec.d.ts +1 -0
- package/dist/src/utils/functions/deepCopy/index.d.ts +4 -0
- package/dist/src/utils/functions/deepCopy/tests/deepCopy.spec.d.ts +1 -0
- package/dist/src/utils/functions/downloadFile/index.d.ts +3 -0
- package/dist/src/utils/functions/downloadFile/tests/downloadFile.spec.d.ts +1 -0
- package/dist/src/utils/functions/downloadFile/types.d.ts +1 -0
- package/dist/src/utils/functions/isEmailValid/index.d.ts +4 -0
- package/dist/src/utils/functions/isEmailValid/tests/isEmailValid.spec.d.ts +1 -0
- package/dist/src/utils/functions/throttleDisplayFn/tests/throttleDisplayFn.spec.d.ts +1 -0
- package/dist/src/utils/functions/throttleDisplayFn/throttleDisplayFn.d.ts +4 -0
- package/dist/src/utils/localStorageUtility/index.d.ts +28 -0
- package/dist/src/utils/localStorageUtility/tests/localStorageUtility.spec.d.ts +1 -0
- package/dist/src/utils/propValidator/index.d.ts +2 -0
- package/dist/src/utils/propValidator/tests/propValidator.spec.d.ts +1 -0
- package/dist/src/utils/ruleMessage/index.d.ts +3 -0
- package/dist/src/utils/ruleMessage/tests/ruleMessages.spec.d.ts +1 -0
- package/dist/src/utils/rules/email/index.d.ts +4 -0
- package/dist/src/utils/rules/email/locales.d.ts +2 -0
- package/dist/src/utils/rules/email/tests/email.spec.d.ts +1 -0
- package/dist/src/utils/rules/exactLength/index.d.ts +4 -0
- package/dist/src/utils/rules/exactLength/locales.d.ts +2 -0
- package/dist/src/utils/rules/required/index.d.ts +4 -0
- package/dist/src/utils/rules/required/locales.d.ts +2 -0
- package/dist/src/utils/rules/required/ruleMessageHelper.d.ts +3 -0
- package/dist/src/utils/rules/required/tests/index.spec.d.ts +1 -0
- package/dist/src/utils/rules/required/tests/rulesMessageHelper.spec.d.ts +1 -0
- package/dist/src/utils/rules/types.d.ts +15 -0
- package/dist/src/vuetifyConfig.d.ts +81 -0
- package/dist/style.css +1 -1
- package/package.json +23 -21
- package/src/assets/_elevations.scss +89 -0
- package/src/assets/_fonts.scss +6 -0
- package/src/assets/_radius.scss +86 -0
- package/src/assets/_spacers.scss +149 -0
- package/src/assets/settings.scss +18 -3
- package/src/assets/tokens.scss +32 -29
- package/src/components/Amelipro/types/languages.d.ts +6 -0
- package/src/components/Amelipro/types/types.d.ts +65 -0
- package/src/components/BackBtn/Usages.mdx +9 -0
- package/src/components/BackBtn/Usages.stories.ts +37 -0
- package/src/components/BackToTopBtn/Usages.mdx +9 -0
- package/src/components/BackToTopBtn/Usages.stories.ts +41 -0
- package/src/components/ChipList/Accessibilite.mdx +14 -0
- package/src/components/ChipList/Accessibilite.stories.ts +216 -0
- package/src/components/ChipList/AccessibiliteItems.ts +119 -0
- package/src/components/ChipList/ChipList.mdx +59 -0
- package/src/components/ChipList/ChipList.stories.ts +1257 -0
- package/src/components/ChipList/ChipList.vue +246 -0
- package/src/components/ChipList/config.ts +27 -0
- package/src/{stories/Guidelines/Accessibilite → components/ChipList}/constants/ExpertiseLevelEnum.ts +0 -1
- package/src/components/ChipList/locales.ts +6 -0
- package/src/components/ChipList/tests/chipList.spec.ts +300 -0
- package/src/components/ChipList/types.ts +7 -0
- package/src/components/ContextualMenu/Usages.mdx +9 -0
- package/src/components/ContextualMenu/Usages.stories.ts +38 -0
- package/src/components/CopyBtn/Usages.mdx +9 -0
- package/src/components/CopyBtn/Usages.stories.ts +41 -0
- package/src/components/Customs/SyInputSelect/SyInputSelect.stories.ts +65 -0
- package/src/components/Customs/SyInputSelect/SyInputSelect.vue +13 -3
- package/src/components/Customs/SySelect/SySelect.stories.ts +88 -5
- package/src/components/Customs/SySelect/SySelect.vue +40 -11
- package/src/components/Customs/SySelect/Usages.mdx +9 -0
- package/src/components/Customs/SySelect/Usages.stories.ts +41 -0
- package/src/components/Customs/SySelect/tests/SySelect.spec.ts +135 -2
- package/src/components/Customs/SyTextField/SyTextField.mdx +21 -0
- package/src/components/Customs/SyTextField/SyTextField.stories.ts +906 -244
- package/src/components/Customs/SyTextField/SyTextField.vue +259 -33
- package/src/components/Customs/SyTextField/Usages.mdx +9 -0
- package/src/components/Customs/SyTextField/Usages.stories.ts +41 -0
- package/src/components/Customs/SyTextField/tests/SyTextField.spec.ts +193 -40
- package/src/components/Customs/SyTextField/tests/__snapshots__/SyTextField.spec.ts.snap +23 -25
- package/src/components/Customs/SyTextField/types.d.ts +1 -0
- package/src/components/DatePicker/DatePicker.mdx +37 -1
- package/src/components/DatePicker/DatePicker.stories.ts +374 -5
- package/src/components/DatePicker/DatePicker.vue +506 -166
- package/src/components/DatePicker/DateTextInput.vue +581 -289
- package/src/components/DatePicker/Usages.mdx +9 -0
- package/src/components/DatePicker/Usages.stories.ts +43 -0
- package/src/components/DatePicker/tests/DatePicker.spec.ts +13 -20
- package/src/components/DatePicker/tests/DateTextInput.spec.ts +282 -0
- package/src/components/DialogBox/DialogBox.mdx +1 -1
- package/src/components/DialogBox/Usages.mdx +9 -0
- package/src/components/DialogBox/Usages.stories.ts +45 -0
- package/src/components/ErrorPage/ErrorPage.mdx +1 -1
- package/src/components/ExternalLinks/Usages.mdx +9 -0
- package/src/components/ExternalLinks/Usages.stories.ts +40 -0
- package/src/components/FileList/Accessibilite.mdx +14 -0
- package/src/components/FileList/Accessibilite.stories.ts +216 -0
- package/src/components/FileList/AccessibiliteItems.ts +110 -0
- package/src/components/FileList/FileList.vue +2 -1
- package/src/components/FileList/UploadItem/UploadItem.vue +10 -0
- package/src/components/FileList/constants/ExpertiseLevelEnum.ts +4 -0
- package/src/components/FilePreview/Accessibilite.mdx +14 -0
- package/src/components/FilePreview/Accessibilite.stories.ts +216 -0
- package/src/components/FilePreview/AccessibiliteItems.ts +27 -0
- package/src/components/FilePreview/constants/ExpertiseLevelEnum.ts +4 -0
- package/src/components/FileUpload/Accessibilite.mdx +14 -0
- package/src/components/FileUpload/Accessibilite.stories.ts +216 -0
- package/src/components/FileUpload/AccessibiliteItems.ts +27 -0
- package/src/components/FileUpload/FileUpload.stories.ts +84 -0
- package/src/components/FileUpload/FileUpload.vue +1 -0
- package/src/components/FileUpload/constants/ExpertiseLevelEnum.ts +4 -0
- package/src/components/FileUpload/tests/FileUpload.spec.ts +4 -4
- package/src/components/FilterInline/FilterInline.mdx +237 -0
- package/src/components/FilterInline/FilterInline.stories.ts +763 -0
- package/src/components/FilterInline/FilterInline.vue +108 -0
- package/src/components/FilterInline/locales.ts +4 -0
- package/src/components/FilterInline/tests/FilterInline.spec.ts +68 -0
- package/src/components/FilterInline/tests/__snapshots__/FilterInline.spec.ts.snap +38 -0
- package/src/components/FilterSideBar/FilterSideBar.mdx +237 -0
- package/src/components/FilterSideBar/FilterSideBar.stories.ts +798 -0
- package/src/components/FilterSideBar/FilterSideBar.vue +193 -0
- package/src/components/FilterSideBar/locales.ts +8 -0
- package/src/components/FilterSideBar/tests/FilterSideBar.spec.ts +305 -0
- package/src/components/FilterSideBar/tests/__snapshots__/FilterSideBar.spec.ts.snap +39 -0
- package/src/components/HeaderBar/Usages.mdx +7 -2
- package/src/components/HeaderBar/Usages.stories.ts +39 -0
- package/src/components/NirField/NirField.stories.ts +574 -30
- package/src/components/NirField/NirField.vue +400 -356
- package/src/components/NirField/Usages.mdx +9 -0
- package/src/components/NirField/Usages.stories.ts +42 -0
- package/src/components/NirField/tests/NirField.spec.ts +88 -52
- package/src/components/NirField/tests//342/200/257dataset/342/200/257.md +12 -0
- package/src/components/NotificationBar/Accessibilite.stories.ts +4 -0
- package/src/components/NotificationBar/NotificationBar.stories.ts +18 -13
- package/src/components/NotificationBar/Usages.mdx +9 -0
- package/src/components/NotificationBar/Usages.stories.ts +41 -0
- package/src/components/PaginatedTable/Accessibilite.mdx +14 -0
- package/src/components/PaginatedTable/Accessibilite.stories.ts +216 -0
- package/src/components/PaginatedTable/AccessibiliteItems.ts +352 -0
- package/src/components/PaginatedTable/PaginatedTable.mdx +54 -0
- package/src/components/PaginatedTable/PaginatedTable.stories.ts +591 -0
- package/src/components/PaginatedTable/PaginatedTable.vue +243 -0
- package/src/components/PaginatedTable/constants/ExpertiseLevelEnum.ts +4 -0
- package/src/components/PaginatedTable/constants/StateEnum.ts +6 -0
- package/src/components/PaginatedTable/tests/PaginatedTable.spec.ts +257 -0
- package/src/components/PaginatedTable/tests/__snapshots__/PaginatedTable.spec.ts.snap +249 -0
- package/src/components/PaginatedTable/types.ts +30 -0
- package/src/components/PasswordField/PasswordField.mdx +129 -47
- package/src/components/PasswordField/PasswordField.stories.ts +924 -120
- package/src/components/PasswordField/PasswordField.vue +209 -99
- package/src/components/PasswordField/tests/PasswordField.spec.ts +138 -9
- package/src/components/PeriodField/Accessibilite.mdx +14 -0
- package/src/components/PeriodField/Accessibilite.stories.ts +216 -0
- package/src/components/PeriodField/AccessibiliteItems.ts +269 -0
- package/src/components/PeriodField/PeriodField.vue +64 -78
- package/src/components/PeriodField/constants/ExpertiseLevelEnum.ts +4 -0
- package/src/components/PeriodField/tests/PeriodField.spec.ts +11 -19
- package/src/components/PhoneField/PhoneField.mdx +1 -1
- package/src/components/PhoneField/PhoneField.stories.ts +69 -0
- package/src/components/PhoneField/PhoneField.vue +3 -0
- package/src/components/PhoneField/Usages.mdx +9 -0
- package/src/components/PhoneField/Usages.stories.ts +38 -0
- package/src/components/PhoneField/indicatifs.ts +1 -1
- package/src/components/RangeField/RangeField.vue +0 -4
- package/src/components/SearchListField/SearchListField.mdx +1 -2
- package/src/components/SelectBtnField/Usages.mdx +9 -0
- package/src/components/SelectBtnField/Usages.stories.ts +40 -0
- package/src/components/SkipLink/Usages.mdx +9 -0
- package/src/components/SkipLink/Usages.stories.ts +41 -0
- package/src/components/SyAlert/Usages.mdx +9 -0
- package/src/components/SyAlert/Usages.stories.ts +40 -0
- package/src/components/TableToolbar/Accessibilite.mdx +14 -0
- package/src/components/TableToolbar/Accessibilite.stories.ts +216 -0
- package/src/components/TableToolbar/AccessibiliteItems.ts +283 -0
- package/src/components/TableToolbar/constants/ExpertiseLevelEnum.ts +4 -0
- package/src/components/UploadWorkflow/UploadWorkflow.mdx +75 -0
- package/src/components/UploadWorkflow/UploadWorkflow.stories.ts +943 -0
- package/src/components/UploadWorkflow/UploadWorkflow.vue +230 -0
- package/src/components/UploadWorkflow/config.ts +29 -0
- package/src/components/UploadWorkflow/locales.ts +8 -0
- package/src/components/UploadWorkflow/tests/UploadWorkflow.spec.ts +257 -0
- package/src/components/UploadWorkflow/tests/__snapshots__/UploadWorkflow.spec.ts.snap +54 -0
- package/src/components/UploadWorkflow/types.ts +21 -0
- package/src/components/UploadWorkflow/useFileList.ts +84 -0
- package/src/components/UploadWorkflow/useFileUploadJourney.ts +18 -0
- package/src/components/Usages/Usages.vue +95 -0
- package/src/components/index.ts +5 -0
- package/src/composables/rules/useFieldValidation.ts +89 -14
- package/src/composables/useFilterable/useFilterable.spec.ts +635 -0
- package/src/composables/useFilterable/useFilterable.ts +196 -0
- package/src/composables/validation/tests/useValidation.spec.ts +154 -0
- package/src/composables/validation/useValidation.ts +165 -0
- package/src/constants/icons.ts +5 -0
- package/src/designTokens/index.ts +4 -0
- package/src/designTokens/tokens/cnam/cnamLightTheme.ts +3 -3
- package/src/stories/Accessibilite/Aculturation/SensibilisationAccessibilite.mdx +63 -0
- package/src/stories/Accessibilite/Audit/RGAA.mdx +29 -0
- package/src/stories/Accessibilite/Introduction.mdx +27 -0
- package/src/stories/Accessibilite/KitDePreAudit/Echantillonnage.mdx +40 -0
- package/src/stories/Accessibilite/KitDePreAudit/Introduction.mdx +32 -0
- package/src/stories/Accessibilite/KitDePreAudit/Outils/Introduction.mdx +33 -0
- package/src/stories/Accessibilite/KitDePreAudit/Outils/Tanaguru.mdx +33 -0
- package/src/stories/Accessibilite/KitDePreAudit/Preaudit.mdx +100 -0
- package/src/stories/{Guidelines → Accessibilite}/Vuetify/Vuetify.mdx +1 -1
- package/src/stories/{Guidelines → Accessibilite}/Vuetify/Vuetify.stories.ts +1 -1
- package/src/stories/Components/Components.mdx +8 -0
- package/src/stories/Components/Components.stories.ts +398 -0
- package/src/stories/Demarrer/Accueil.mdx +8 -3
- package/src/stories/Demarrer/Accueil.stories.ts +126 -16
- package/src/stories/Demarrer/Introduction.mdx +12 -0
- package/src/stories/Demarrer/Introduction.stories.ts +151 -0
- package/src/stories/{GuideDuDev → Demarrer}/components.stories.ts +2 -2
- package/src/stories/{Fondamentaux → DesignTokens}/Arrondis.mdx +1 -1
- package/src/stories/{Fondamentaux → DesignTokens}/Colors.mdx +4 -4
- package/src/stories/DesignTokens/Conteneurs.mdx +18 -0
- package/src/stories/DesignTokens/Conteneurs.stories.ts +103 -0
- package/src/stories/{Fondamentaux → DesignTokens}/Elevations.mdx +1 -1
- package/src/stories/{Fondamentaux → DesignTokens}/Espacements.mdx +1 -1
- package/src/stories/{Fondamentaux → DesignTokens}/Introduction.mdx +1 -1
- package/src/stories/{Fondamentaux → DesignTokens}/StylesTypographiques.mdx +1 -1
- package/src/stories/DesignTokens/ThemePA.mdx +35 -0
- package/src/stories/{Fondamentaux → DesignTokens}/Typographie.mdx +14 -1
- package/src/stories/{Guidelines/EcoConception/EcoConception.mdx → EcoConception/Introduction.mdx} +2 -2
- package/src/stories/{Guidelines/EcoConception/Econception.stories.ts → EcoConception/econception.stories.ts} +2 -2
- package/src/stories/GuideDuDev/MigrationDepuisBridge.mdx +432 -0
- package/src/stories/GuideDuDev/MigrationDepuisVue2.mdx +415 -0
- package/src/stories/GuideDuDev/UtiliserLesRules.mdx +314 -83
- package/src/stories/GuideDuDev/moduleDeNotification.mdx +1 -1
- package/src/stories/Templates/Templates.mdx +8 -0
- package/src/stories/Templates/Templates.stories.ts +85 -0
- package/src/utils/functions/deepCopy/index.ts +20 -0
- package/src/utils/functions/deepCopy/tests/deepCopy.spec.ts +58 -0
- package/src/utils/functions/isEmailValid/index.ts +8 -0
- package/src/utils/functions/isEmailValid/tests/isEmailValid.spec.ts +22 -0
- package/src/utils/localStorageUtility/index.ts +201 -0
- package/src/utils/localStorageUtility/tests/localStorageUtility.spec.ts +180 -0
- package/src/utils/ruleMessage/index.ts +14 -0
- package/src/utils/ruleMessage/tests/ruleMessages.spec.ts +28 -0
- package/src/utils/rules/email/index.ts +26 -0
- package/src/utils/rules/email/locales.ts +5 -0
- package/src/utils/rules/email/tests/email.spec.ts +24 -0
- package/src/vuetifyConfig.ts +61 -0
- package/dist/design-system-v3.d.ts +0 -2925
- package/src/stories/Fondamentaux/Conteneurs.mdx +0 -7
- package/src/stories/Fondamentaux/CustomisationEtThemes.mdx +0 -57
- package/src/stories/Guidelines/Accessibilite/Accessibilite.mdx +0 -51
- package/src/stories/Guidelines/Accessibilite/Accessibilite.stories.ts +0 -36
- package/src/stories/Guidelines/Accessibilite/AccessibiliteItems.ts +0 -706
- package/src/stories/Guidelines/Accessibilite/constants/RGAALevelEnum.ts +0 -4
- /package/src/stories/{Guidelines → Accessibilite}/Vuetify/VuetifyItems.ts +0 -0
- /package/src/stories/{GuideDuDev → Demarrer}/CreerUneIssue.mdx +0 -0
- /package/src/stories/{Guidelines/EcoConception → EcoConception}/ecoDesignItems.ts +0 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cnamts/synapse",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.12-alpha",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "CNAM DS v3",
|
|
6
6
|
"type": "module",
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
],
|
|
11
11
|
"main": "./dist/design-system-v3.umd.cjs",
|
|
12
12
|
"module": "./dist/design-system-v3.js",
|
|
13
|
-
"types": "./dist/
|
|
13
|
+
"types": "./dist/src/main.d.ts",
|
|
14
14
|
"exports": {
|
|
15
15
|
".": {
|
|
16
16
|
"import": "./dist/design-system-v3.js",
|
|
@@ -24,9 +24,9 @@
|
|
|
24
24
|
"build": "vue-tsc -p tsconfig.app.json && vite build",
|
|
25
25
|
"storybook": "storybook dev -p 6006",
|
|
26
26
|
"build-storybook": "storybook build",
|
|
27
|
-
"lint": "eslint 'src/**/*.{ts,
|
|
27
|
+
"lint": "eslint 'src/**/*.{ts,vue}'",
|
|
28
28
|
"lint:style": "stylelint 'src/**/*.{css,scss,vue}'",
|
|
29
|
-
"lint:fix": "eslint 'src/**/*.{ts,
|
|
29
|
+
"lint:fix": "eslint 'src/**/*.{ts,vue}' --fix && stylelint 'src/**/*.{css,scss,vue}' --fix",
|
|
30
30
|
"test:unit": "vitest run",
|
|
31
31
|
"prepare": "husky",
|
|
32
32
|
"generate:changelog": "auto-changelog -o CHANGELOG-TEMP.md -p --starting-date 2024-10-10"
|
|
@@ -48,19 +48,19 @@
|
|
|
48
48
|
"@chromatic-com/storybook": "^3.2.2",
|
|
49
49
|
"@jls-digital/storybook-addon-code": "^1.0.4",
|
|
50
50
|
"@mdi/js": "^7.4.47",
|
|
51
|
-
"@storybook/addon-docs": "^8.
|
|
52
|
-
"@storybook/addon-essentials": "^8.
|
|
53
|
-
"@storybook/addon-interactions": "^8.
|
|
54
|
-
"@storybook/addon-links": "^8.
|
|
55
|
-
"@storybook/addon-onboarding": "^8.
|
|
51
|
+
"@storybook/addon-docs": "^8.5.6",
|
|
52
|
+
"@storybook/addon-essentials": "^8.5.6",
|
|
53
|
+
"@storybook/addon-interactions": "^8.5.6",
|
|
54
|
+
"@storybook/addon-links": "^8.5.6",
|
|
55
|
+
"@storybook/addon-onboarding": "^8.5.6",
|
|
56
56
|
"@storybook/addon-queryparams": "^7.0.1",
|
|
57
|
-
"@storybook/addon-viewport": "^8.
|
|
58
|
-
"@storybook/blocks": "^8.
|
|
59
|
-
"@storybook/manager-api": "^8.
|
|
60
|
-
"@storybook/test": "^8.
|
|
61
|
-
"@storybook/theming": "^8.
|
|
62
|
-
"@storybook/vue3": "^8.
|
|
63
|
-
"@storybook/vue3-vite": "^8.
|
|
57
|
+
"@storybook/addon-viewport": "^8.5.6",
|
|
58
|
+
"@storybook/blocks": "^8.5.6",
|
|
59
|
+
"@storybook/manager-api": "^8.5.6",
|
|
60
|
+
"@storybook/test": "^8.5.6",
|
|
61
|
+
"@storybook/theming": "^8.5.6",
|
|
62
|
+
"@storybook/vue3": "^8.5.6",
|
|
63
|
+
"@storybook/vue3-vite": "^8.5.6",
|
|
64
64
|
"@stylistic/eslint-plugin": "^2.9.0",
|
|
65
65
|
"@stylistic/eslint-plugin-ts": "^2.9.0",
|
|
66
66
|
"@stylistic/stylelint-config": "^2.0.0",
|
|
@@ -74,7 +74,7 @@
|
|
|
74
74
|
"auto-changelog": "^2.4.0",
|
|
75
75
|
"axios": "^1.7.7",
|
|
76
76
|
"eslint": "^9.13.0",
|
|
77
|
-
"eslint-plugin-storybook": "^0.11.
|
|
77
|
+
"eslint-plugin-storybook": "^0.11.3",
|
|
78
78
|
"eslint-plugin-vue": "^9.30.0",
|
|
79
79
|
"eslint-plugin-vuejs-accessibility": "^2.4.1",
|
|
80
80
|
"happy-dom": "^15.7.4",
|
|
@@ -82,8 +82,8 @@
|
|
|
82
82
|
"postcss-html": "^1.7.0",
|
|
83
83
|
"postcss-scss": "^4.0.9",
|
|
84
84
|
"resize-observer-polyfill": "^1.5.1",
|
|
85
|
-
"storybook": "^8.
|
|
86
|
-
"storybook-addon-vue-mdx": "^1.0.
|
|
85
|
+
"storybook": "^8.5.6",
|
|
86
|
+
"storybook-addon-vue-mdx": "^1.0.6",
|
|
87
87
|
"stylelint": "^16.12.0",
|
|
88
88
|
"stylelint-config-recommended-scss": "^14.1.0",
|
|
89
89
|
"stylelint-config-recommended-vue": "^1.5.0",
|
|
@@ -103,15 +103,17 @@
|
|
|
103
103
|
"vuetify": "^3.6.13"
|
|
104
104
|
},
|
|
105
105
|
"dependencies": {
|
|
106
|
+
"@emotion/css": "^11.13.5",
|
|
106
107
|
"@mdi/js": "^7.4.47",
|
|
107
108
|
"deepmerge": "^4.3.1",
|
|
108
109
|
"iso-639-1": "^3.1.3",
|
|
109
110
|
"maska": "^3.0.3",
|
|
110
111
|
"sass-embedded": "^1.83.0",
|
|
111
112
|
"sass-loader": "^16.0.3",
|
|
112
|
-
"semantic-release": "^24.1.2"
|
|
113
|
+
"semantic-release": "^24.1.2",
|
|
114
|
+
"slugify": "^1.6.6"
|
|
113
115
|
},
|
|
114
116
|
"publishConfig": {
|
|
115
117
|
"access": "public"
|
|
116
118
|
}
|
|
117
|
-
}
|
|
119
|
+
}
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
// Define theme elevation adjustments
|
|
2
|
+
$elevation-cnam: 2px;
|
|
3
|
+
$elevation-pa: 2px;
|
|
4
|
+
|
|
5
|
+
// Modify elevations to include $elevation-cnam and $elevation-pa dynamically
|
|
6
|
+
$cnam-elevation: (
|
|
7
|
+
0: none,
|
|
8
|
+
1: 0 1px calc(3px + #{$elevation-cnam}) rgb(0 0 0 / 12%),
|
|
9
|
+
2: 0 1px calc(5px + #{$elevation-cnam}) rgb(0 0 0 / 16%),
|
|
10
|
+
3: 0 1px calc(8px + #{$elevation-cnam}) rgb(0 0 0 / 24%),
|
|
11
|
+
4: 0 2px calc(4px + #{$elevation-cnam}) rgb(0 0 0 / 24%),
|
|
12
|
+
5: 0 2px calc(6px + #{$elevation-cnam}) rgb(0 0 0 / 28%),
|
|
13
|
+
6: 0 3px calc(6px + #{$elevation-cnam}) rgb(0 0 0 / 32%),
|
|
14
|
+
7: 0 3px calc(8px + #{$elevation-cnam}) rgb(0 0 0 / 36%),
|
|
15
|
+
8: 0 4px calc(8px + #{$elevation-cnam}) rgb(0 0 0 / 40%),
|
|
16
|
+
9: 0 4px calc(10px + #{$elevation-cnam}) rgb(0 0 0 / 44%),
|
|
17
|
+
10: 0 5px calc(10px + #{$elevation-cnam}) rgb(0 0 0 / 48%),
|
|
18
|
+
12: 0 6px calc(12px + #{$elevation-cnam}) rgb(0 0 0 / 52%),
|
|
19
|
+
14: 0 7px calc(14px + #{$elevation-cnam}) rgb(0 0 0 / 56%),
|
|
20
|
+
16: 0 8px calc(16px + #{$elevation-cnam}) rgb(0 0 0 / 60%),
|
|
21
|
+
18: 0 9px calc(18px + #{$elevation-cnam}) rgb(0 0 0 / 64%),
|
|
22
|
+
20: 0 10px calc(20px + #{$elevation-cnam}) rgb(0 0 0 / 68%),
|
|
23
|
+
24: 0 12px calc(24px + #{$elevation-cnam}) rgb(0 0 0 / 72%),
|
|
24
|
+
28: 0 14px calc(28px + #{$elevation-cnam}) rgb(0 0 0 / 76%),
|
|
25
|
+
32: 0 16px calc(32px + #{$elevation-cnam}) rgb(0 0 0 / 80%)
|
|
26
|
+
);
|
|
27
|
+
$pa-elevation: (
|
|
28
|
+
0: none,
|
|
29
|
+
1: 0 1px calc(3px + #{$elevation-pa}) rgb(0 0 0 / 10%),
|
|
30
|
+
2: 0 1px calc(5px + #{$elevation-pa}) rgb(0 0 0 / 14%),
|
|
31
|
+
3: 0 1px calc(8px + #{$elevation-pa}) rgb(0 0 0 / 20%),
|
|
32
|
+
4: 0 2px calc(4px + #{$elevation-pa}) rgb(0 0 0 / 20%),
|
|
33
|
+
5: 0 2px calc(6px + #{$elevation-pa}) rgb(0 0 0 / 24%),
|
|
34
|
+
6: 0 3px calc(6px + #{$elevation-pa}) rgb(0 0 0 / 28%),
|
|
35
|
+
7: 0 3px calc(8px + #{$elevation-pa}) rgb(0 0 0 / 32%),
|
|
36
|
+
8: 0 4px calc(8px + #{$elevation-pa}) rgb(0 0 0 / 36%),
|
|
37
|
+
9: 0 4px calc(10px + #{$elevation-pa}) rgb(0 0 0 / 40%),
|
|
38
|
+
10: 0 5px calc(10px + #{$elevation-pa}) rgb(0 0 0 / 44%),
|
|
39
|
+
12: 0 6px calc(12px + #{$elevation-pa}) rgb(0 0 0 / 48%),
|
|
40
|
+
14: 0 7px calc(14px + #{$elevation-pa}) rgb(0 0 0 / 52%),
|
|
41
|
+
16: 0 8px calc(16px + #{$elevation-pa}) rgb(0 0 0 / 56%),
|
|
42
|
+
18: 0 9px calc(18px + #{$elevation-pa}) rgb(0 0 0 / 60%),
|
|
43
|
+
20: 0 10px calc(20px + #{$elevation-pa}) rgb(0 0 0 / 64%),
|
|
44
|
+
24: 0 12px calc(24px + #{$elevation-pa}) rgb(0 0 0 / 68%),
|
|
45
|
+
28: 0 14px calc(28px + #{$elevation-pa}) rgb(0 0 0 / 72%),
|
|
46
|
+
32: 0 16px calc(32px + #{$elevation-pa}) rgb(0 0 0 / 76%)
|
|
47
|
+
);
|
|
48
|
+
|
|
49
|
+
// Define CSS variables globally
|
|
50
|
+
:root {
|
|
51
|
+
--elevation-cnam: #{$elevation-cnam};
|
|
52
|
+
--elevation-pa: #{$elevation-pa};
|
|
53
|
+
|
|
54
|
+
@each $key, $value in $cnam-elevation {
|
|
55
|
+
--elevation-#{$key}: #{$value};
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
// Apply theme-based CNAM
|
|
60
|
+
.theme-cnam {
|
|
61
|
+
@each $key, $value in $cnam-elevation {
|
|
62
|
+
--elevation-#{$key}: #{$value};
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
// Apply theme-based PA
|
|
67
|
+
.theme-pa {
|
|
68
|
+
@each $key, $value in $pa-elevation {
|
|
69
|
+
--elevation-#{$key}: #{$value};
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
// Mixin to generate elevation classes dynamically
|
|
74
|
+
@mixin generate-elevation-classes($prefix) {
|
|
75
|
+
@each $key, $value in $cnam-elevation {
|
|
76
|
+
.#{$prefix}-#{$key} {
|
|
77
|
+
box-shadow: var(--elevation-#{$key}) !important;
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
// Generate elevation classes
|
|
83
|
+
@include generate-elevation-classes('elevation');
|
|
84
|
+
|
|
85
|
+
// Ex of additional classes for specific shadow
|
|
86
|
+
|
|
87
|
+
/* .v-btn {
|
|
88
|
+
box-shadow: var(--elevation-2) !important;
|
|
89
|
+
} */
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
// Define theme radius separately
|
|
2
|
+
$border-radius-cnam: 4px;
|
|
3
|
+
$border-radius-pa: 4px;
|
|
4
|
+
$cnam-radius: (
|
|
5
|
+
0: 0px,
|
|
6
|
+
'sm': calc($border-radius-cnam / 2),
|
|
7
|
+
'md': $border-radius-cnam,
|
|
8
|
+
'lg': calc($border-radius-cnam * 2),
|
|
9
|
+
'xl': calc($border-radius-cnam * 4),
|
|
10
|
+
'pill': 9999px,
|
|
11
|
+
'circle': 50%
|
|
12
|
+
);
|
|
13
|
+
$pa-radius: (
|
|
14
|
+
0: 0px,
|
|
15
|
+
'sm': calc($border-radius-pa / 2),
|
|
16
|
+
'md': $border-radius-pa,
|
|
17
|
+
'lg': calc($border-radius-pa * 2),
|
|
18
|
+
'xl': calc($border-radius-pa * 4),
|
|
19
|
+
'pill': 9999px,
|
|
20
|
+
'circle': 50%
|
|
21
|
+
);
|
|
22
|
+
|
|
23
|
+
// Define all possible radius keys to ensure consistent class generation
|
|
24
|
+
$radius-keys: (0, 'sm', 'md', 'lg', 'xl', 'pill', 'circle');
|
|
25
|
+
|
|
26
|
+
// ✅ Define CSS variables globally
|
|
27
|
+
:root {
|
|
28
|
+
@each $key, $value in $cnam-radius {
|
|
29
|
+
--radius-#{$key}: #{$value};
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
// ✅ Apply theme-based cnam
|
|
34
|
+
.theme-cnam {
|
|
35
|
+
@each $key, $value in $cnam-radius {
|
|
36
|
+
--radius-#{$key}: #{$value};
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
// ✅ Apply theme-based pa
|
|
41
|
+
.theme-pa {
|
|
42
|
+
@each $key, $value in $pa-radius {
|
|
43
|
+
--radius-#{$key}: #{$value};
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
// ✅ Mixin to generate border-radius classes
|
|
48
|
+
@mixin generate-radius-classes($prefix) {
|
|
49
|
+
@each $key in $radius-keys {
|
|
50
|
+
.#{$prefix}-#{$key} {
|
|
51
|
+
border-radius: var(--radius-#{$key}) !important;
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
// ✅ Generate radius classes once, using CSS variables
|
|
57
|
+
@include generate-radius-classes('rounded');
|
|
58
|
+
|
|
59
|
+
// Additional classes for specific radius
|
|
60
|
+
.v-btn {
|
|
61
|
+
border-radius: var(--radius-md) !important;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
.v-btn--rounded-md {
|
|
65
|
+
border-radius: var(--radius-md) !important;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
.v-btn--rounded-sm {
|
|
69
|
+
border-radius: var(--radius-sm) !important;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
.v-btn--rounded-lg {
|
|
73
|
+
border-radius: var(--radius-lg) !important;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
.v-btn--rounded-xl {
|
|
77
|
+
border-radius: var(--radius-xl) !important;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
.v-btn--rounded-pill {
|
|
81
|
+
border-radius: var(--radius-pill) !important;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
.v-btn--rounded-circle {
|
|
85
|
+
border-radius: var(--radius-circle) !important;
|
|
86
|
+
}
|
|
@@ -0,0 +1,149 @@
|
|
|
1
|
+
// Define base spacer values
|
|
2
|
+
$base-spacer-cnam: 4px;
|
|
3
|
+
$base-spacer-pa: 4px;
|
|
4
|
+
|
|
5
|
+
// Define theme spacers using base values
|
|
6
|
+
$cnam-spacers: (
|
|
7
|
+
0: 0px,
|
|
8
|
+
1: $base-spacer-cnam,
|
|
9
|
+
2: $base-spacer-cnam * 2,
|
|
10
|
+
3: $base-spacer-cnam * 3,
|
|
11
|
+
4: $base-spacer-cnam * 4,
|
|
12
|
+
5: $base-spacer-cnam * 5,
|
|
13
|
+
6: $base-spacer-cnam * 6,
|
|
14
|
+
7: $base-spacer-cnam * 7,
|
|
15
|
+
8: $base-spacer-cnam * 8,
|
|
16
|
+
9: $base-spacer-cnam * 9,
|
|
17
|
+
10: $base-spacer-cnam * 10,
|
|
18
|
+
11: $base-spacer-cnam * 11,
|
|
19
|
+
12: $base-spacer-cnam * 12,
|
|
20
|
+
13: $base-spacer-cnam * 13,
|
|
21
|
+
14: $base-spacer-cnam * 14,
|
|
22
|
+
15: $base-spacer-cnam * 15,
|
|
23
|
+
16: $base-spacer-cnam * 16,
|
|
24
|
+
17: $base-spacer-cnam * 17,
|
|
25
|
+
18: $base-spacer-cnam * 18,
|
|
26
|
+
19: $base-spacer-cnam * 19,
|
|
27
|
+
20: $base-spacer-cnam * 20,
|
|
28
|
+
24: $base-spacer-cnam * 24,
|
|
29
|
+
28: $base-spacer-cnam * 28,
|
|
30
|
+
32: $base-spacer-cnam * 32,
|
|
31
|
+
36: $base-spacer-cnam * 36,
|
|
32
|
+
40: $base-spacer-cnam * 40,
|
|
33
|
+
44: $base-spacer-cnam * 44,
|
|
34
|
+
48: $base-spacer-cnam * 48,
|
|
35
|
+
52: $base-spacer-cnam * 52,
|
|
36
|
+
56: $base-spacer-cnam * 56,
|
|
37
|
+
60: $base-spacer-cnam * 60,
|
|
38
|
+
64: $base-spacer-cnam * 64,
|
|
39
|
+
);
|
|
40
|
+
$pa-spacers: (
|
|
41
|
+
0: 0px,
|
|
42
|
+
1: $base-spacer-pa,
|
|
43
|
+
2: $base-spacer-pa * 2,
|
|
44
|
+
3: $base-spacer-pa * 3,
|
|
45
|
+
4: $base-spacer-pa * 4,
|
|
46
|
+
5: $base-spacer-pa * 5,
|
|
47
|
+
6: $base-spacer-pa * 6,
|
|
48
|
+
7: $base-spacer-pa * 7,
|
|
49
|
+
8: $base-spacer-pa * 8,
|
|
50
|
+
9: $base-spacer-pa * 9,
|
|
51
|
+
10: $base-spacer-pa * 10,
|
|
52
|
+
11: $base-spacer-pa * 11,
|
|
53
|
+
12: $base-spacer-pa * 12,
|
|
54
|
+
13: $base-spacer-pa * 13,
|
|
55
|
+
14: $base-spacer-pa * 14,
|
|
56
|
+
15: $base-spacer-pa * 15,
|
|
57
|
+
16: $base-spacer-pa * 16,
|
|
58
|
+
17: $base-spacer-pa * 17,
|
|
59
|
+
18: $base-spacer-pa * 18,
|
|
60
|
+
19: $base-spacer-pa * 19,
|
|
61
|
+
20: $base-spacer-pa * 20,
|
|
62
|
+
24: $base-spacer-pa * 24,
|
|
63
|
+
28: $base-spacer-pa * 28,
|
|
64
|
+
32: $base-spacer-pa * 32,
|
|
65
|
+
36: $base-spacer-pa * 36,
|
|
66
|
+
40: $base-spacer-pa * 40,
|
|
67
|
+
44: $base-spacer-pa * 44,
|
|
68
|
+
48: $base-spacer-pa * 48,
|
|
69
|
+
52: $base-spacer-pa * 52,
|
|
70
|
+
56: $base-spacer-pa * 56,
|
|
71
|
+
60: $base-spacer-pa * 60,
|
|
72
|
+
64: $base-spacer-pa * 64,
|
|
73
|
+
);
|
|
74
|
+
|
|
75
|
+
// Define CSS variables for spacers dynamically
|
|
76
|
+
:root {
|
|
77
|
+
@each $key, $value in $cnam-spacers {
|
|
78
|
+
--spacing-#{$key}: #{$value};
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
// Apply theme-based spacing
|
|
83
|
+
.theme-cnam {
|
|
84
|
+
@each $key, $value in $cnam-spacers {
|
|
85
|
+
--spacing-#{$key}: #{$value};
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
.theme-pa {
|
|
90
|
+
@each $key, $value in $pa-spacers {
|
|
91
|
+
--spacing-#{$key}: #{$value};
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
// Mixin to generate padding and margin classes
|
|
96
|
+
@mixin generate-spacing-classes($property, $prefix) {
|
|
97
|
+
@for $i from 0 through 64 {
|
|
98
|
+
.#{$prefix}-#{$i} {
|
|
99
|
+
#{$property}: var(--spacing-#{$i}) !important;
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
// Apply spacing classes dynamically
|
|
105
|
+
@include generate-spacing-classes(padding, pa);
|
|
106
|
+
@include generate-spacing-classes(margin, ma);
|
|
107
|
+
|
|
108
|
+
// Mixin for X (left & right) and Y (top & bottom) spacing
|
|
109
|
+
@mixin generate-axis-spacing-classes($property, $prefix, $side1, $side2) {
|
|
110
|
+
@for $i from 0 through 64 {
|
|
111
|
+
.#{$prefix}-#{$i} {
|
|
112
|
+
#{$property}-#{$side1}: var(--spacing-#{$i}) !important;
|
|
113
|
+
#{$property}-#{$side2}: var(--spacing-#{$i}) !important;
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
// Generate px, py, mx, my spacing classes
|
|
119
|
+
@include generate-axis-spacing-classes(padding, px, left, right);
|
|
120
|
+
@include generate-axis-spacing-classes(padding, py, top, bottom);
|
|
121
|
+
@include generate-axis-spacing-classes(margin, mx, left, right);
|
|
122
|
+
@include generate-axis-spacing-classes(margin, my, top, bottom);
|
|
123
|
+
|
|
124
|
+
// Mixin for individual side spacing classes
|
|
125
|
+
@mixin generate-side-spacing-classes($property, $prefix, $side) {
|
|
126
|
+
@for $i from 0 through 64 {
|
|
127
|
+
.#{$prefix}-#{$i} {
|
|
128
|
+
#{$property}-#{$side}: var(--spacing-#{$i}) !important;
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
// Generate individual side padding classes
|
|
134
|
+
@include generate-side-spacing-classes(padding, pt, top);
|
|
135
|
+
@include generate-side-spacing-classes(padding, pr, right);
|
|
136
|
+
@include generate-side-spacing-classes(padding, pb, bottom);
|
|
137
|
+
@include generate-side-spacing-classes(padding, pl, left);
|
|
138
|
+
|
|
139
|
+
// Generate individual side margin classes
|
|
140
|
+
@include generate-side-spacing-classes(margin, mt, top);
|
|
141
|
+
@include generate-side-spacing-classes(margin, mr, right);
|
|
142
|
+
@include generate-side-spacing-classes(margin, mb, bottom);
|
|
143
|
+
@include generate-side-spacing-classes(margin, ml, left);
|
|
144
|
+
|
|
145
|
+
// Additional classes for specific spacing
|
|
146
|
+
|
|
147
|
+
.v-btn {
|
|
148
|
+
padding: 0 var(--spacing-4) !important;
|
|
149
|
+
}
|
package/src/assets/settings.scss
CHANGED
|
@@ -1,3 +1,18 @@
|
|
|
1
|
-
@use '
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
@use 'fonts';
|
|
2
|
+
@use 'spacers';
|
|
3
|
+
@use 'radius';
|
|
4
|
+
|
|
5
|
+
.v-btn {
|
|
6
|
+
text-transform: inherit !important;
|
|
7
|
+
font-weight: 700 !important;
|
|
8
|
+
-webkit-font-smoothing: antialiased;
|
|
9
|
+
-moz-osx-font-smoothing: grayscale;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.v-btn.v-tab {
|
|
13
|
+
text-transform: uppercase !important;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.v-tooltip .v-overlay__content {
|
|
17
|
+
background-color: rgb(0 0 0 / 70%) !important;
|
|
18
|
+
}
|
package/src/assets/tokens.scss
CHANGED
|
@@ -419,35 +419,38 @@ $spacing-horizontal-xx-large: 56px;
|
|
|
419
419
|
$spacing-horizontal-xxx-large: 64px;
|
|
420
420
|
$spacing-horizontal-huge: 80px;
|
|
421
421
|
|
|
422
|
-
|
|
423
|
-
.
|
|
424
|
-
|
|
425
|
-
.elevation-
|
|
426
|
-
.elevation-
|
|
427
|
-
.elevation-
|
|
428
|
-
.elevation-
|
|
429
|
-
.elevation-
|
|
430
|
-
.elevation-
|
|
431
|
-
.elevation-
|
|
432
|
-
.elevation-
|
|
433
|
-
.elevation-
|
|
434
|
-
.elevation-
|
|
435
|
-
.elevation-
|
|
436
|
-
.elevation-
|
|
437
|
-
.elevation-
|
|
438
|
-
.elevation-
|
|
439
|
-
.elevation-
|
|
440
|
-
.elevation-
|
|
441
|
-
.elevation-
|
|
442
|
-
.elevation-
|
|
443
|
-
.elevation-
|
|
444
|
-
.elevation-
|
|
445
|
-
.elevation-
|
|
446
|
-
.elevation-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
422
|
+
.theme-cnam,
|
|
423
|
+
.theme-pa {
|
|
424
|
+
// Surcharger toutes les élévations pour utiliser uniquement l'élévation 02
|
|
425
|
+
.elevation-1,
|
|
426
|
+
.elevation-2,
|
|
427
|
+
.elevation-3,
|
|
428
|
+
.elevation-4,
|
|
429
|
+
.elevation-5,
|
|
430
|
+
.elevation-6,
|
|
431
|
+
.elevation-7,
|
|
432
|
+
.elevation-8,
|
|
433
|
+
.elevation-9,
|
|
434
|
+
.elevation-10,
|
|
435
|
+
.elevation-11,
|
|
436
|
+
.elevation-12,
|
|
437
|
+
.elevation-13,
|
|
438
|
+
.elevation-14,
|
|
439
|
+
.elevation-15,
|
|
440
|
+
.elevation-16,
|
|
441
|
+
.elevation-17,
|
|
442
|
+
.elevation-18,
|
|
443
|
+
.elevation-19,
|
|
444
|
+
.elevation-20,
|
|
445
|
+
.elevation-21,
|
|
446
|
+
.elevation-22,
|
|
447
|
+
.elevation-23,
|
|
448
|
+
.elevation-24 {
|
|
449
|
+
box-shadow:
|
|
450
|
+
0 3px 1px -2px rgb(0 0 0 / 20%),
|
|
451
|
+
0 2px 2px 0 rgb(0 0 0 / 14%),
|
|
452
|
+
0 1px 5px 0 rgb(0 0 0 / 12%) !important;
|
|
453
|
+
}
|
|
451
454
|
}
|
|
452
455
|
|
|
453
456
|
// global.scss
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
export interface Link {
|
|
2
|
+
id: number
|
|
3
|
+
url: string
|
|
4
|
+
name: string
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
export interface IndexedObject<T = string> {
|
|
8
|
+
[key: string]: T
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
export type Refs<T extends Record<string, unknown>> = Vue['$refs'] & T
|
|
12
|
+
|
|
13
|
+
export type Breakpoints = 'xs' | 'sm' | 'md' | 'lg' | 'xl' | 'smAndDown' | 'smAndUp' | 'mdAndDown' | 'mdAndUp' | 'lgAndDown' | 'lgAndUp' | 'xlAndDown'
|
|
14
|
+
|
|
15
|
+
export interface IDataListItem {
|
|
16
|
+
id: number
|
|
17
|
+
[key: string]: string | number | undefined
|
|
18
|
+
accordionTitle?: string
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
export interface Theme {
|
|
22
|
+
primary: string
|
|
23
|
+
secondary: string
|
|
24
|
+
info: string
|
|
25
|
+
warning: string
|
|
26
|
+
error: string
|
|
27
|
+
success: string
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
export interface VuetifyTheme extends Theme {
|
|
31
|
+
[key: string]: string
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
export interface Color {
|
|
35
|
+
darken1?: string
|
|
36
|
+
darken2?: string
|
|
37
|
+
darken3?: string
|
|
38
|
+
darken4?: string
|
|
39
|
+
darken5?: string
|
|
40
|
+
darken6?: string
|
|
41
|
+
base: string
|
|
42
|
+
lighten1?: string
|
|
43
|
+
lighten2?: string
|
|
44
|
+
lighten3?: string
|
|
45
|
+
lighten4?: string
|
|
46
|
+
lighten5?: string
|
|
47
|
+
lighten6?: string
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
export interface Palette {
|
|
51
|
+
apBlue: Color
|
|
52
|
+
apGrey: Color
|
|
53
|
+
apWhite: Color
|
|
54
|
+
apBlack: Color
|
|
55
|
+
apYellow: Color
|
|
56
|
+
apGreen: Color
|
|
57
|
+
apRed: Color
|
|
58
|
+
apTurquoise: Color
|
|
59
|
+
apParme: Color
|
|
60
|
+
apPink: Color
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
export type Colors = Theme & Palette
|
|
64
|
+
|
|
65
|
+
export type ValidateOn = 'lazy' | ('input' | 'blur' | 'submit') | 'input lazy' | 'blur lazy' | 'submit lazy' | 'lazy input' | 'lazy blur' | 'lazy submit' | undefined
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { VExpansionPanels, VExpansionPanel, VExpansionPanelTitle, VExpansionPanelText, VDataTable, VIcon } from 'vuetify/components'
|
|
2
|
+
import type { StoryObj } from '@storybook/vue3'
|
|
3
|
+
import { checkIcon, linkICon, croixIcon } from '@/constants/icons'
|
|
4
|
+
import Usages from '@/components/Usages/Usages.vue'
|
|
5
|
+
|
|
6
|
+
export default {
|
|
7
|
+
title: 'Composants/Boutons/BackBtn/Usages',
|
|
8
|
+
}
|
|
9
|
+
const itemsToDo = [
|
|
10
|
+
'Positionner le bouton de manière visible et intuitive (souvent en haut à gauche).',
|
|
11
|
+
]
|
|
12
|
+
|
|
13
|
+
const itemsNotToDo = [
|
|
14
|
+
'Utiliser ce bouton sur les pages ne nécessitant peu ou pas de scroll.',
|
|
15
|
+
]
|
|
16
|
+
|
|
17
|
+
export const UsagePage: StoryObj = {
|
|
18
|
+
|
|
19
|
+
render: () => {
|
|
20
|
+
return {
|
|
21
|
+
components: { VExpansionPanels, VExpansionPanel, VExpansionPanelTitle, VExpansionPanelText, VDataTable, VIcon, Usages },
|
|
22
|
+
|
|
23
|
+
setup() {
|
|
24
|
+
const icon = checkIcon
|
|
25
|
+
|
|
26
|
+
return { icon, linkICon, croixIcon, checkIcon, itemsNotToDo, itemsToDo }
|
|
27
|
+
},
|
|
28
|
+
template: `
|
|
29
|
+
<Usages
|
|
30
|
+
:items1="itemsToDo"
|
|
31
|
+
:items2="itemsNotToDo"
|
|
32
|
+
/>
|
|
33
|
+
`,
|
|
34
|
+
}
|
|
35
|
+
},
|
|
36
|
+
tags: ['!dev'],
|
|
37
|
+
}
|