@cnamts/synapse 0.0.9-alpha → 0.0.11-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 +4194 -2917
- package/dist/design-system-v3.umd.cjs +1 -1
- 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 +36 -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 +160 -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 +3 -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 +594 -0
- package/dist/src/components/DatePicker/DateTextInput.d.ts +462 -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 +44 -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/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/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 +25 -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 +1381 -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 +129 -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/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 +63 -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 +27 -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/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 +9 -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/style.css +1 -1
- package/package.json +23 -21
- package/src/assets/settings.scss +11 -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/SySelect/SySelect.vue +4 -1
- package/src/components/Customs/SySelect/Usages.mdx +9 -0
- package/src/components/Customs/SySelect/Usages.stories.ts +41 -0
- package/src/components/Customs/SyTextField/SyTextField.mdx +21 -0
- package/src/components/Customs/SyTextField/SyTextField.stories.ts +402 -231
- package/src/components/Customs/SyTextField/SyTextField.vue +217 -19
- 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 +9 -8
- package/src/components/Customs/SyTextField/tests/__snapshots__/SyTextField.spec.ts.snap +23 -25
- package/src/components/DatePicker/Accessibilite.mdx +14 -0
- package/src/components/DatePicker/Accessibilite.stories.ts +191 -0
- package/src/components/DatePicker/AccessibiliteItems.ts +233 -0
- package/src/components/DatePicker/DatePicker.mdx +33 -2
- package/src/components/DatePicker/DatePicker.stories.ts +388 -19
- package/src/components/DatePicker/DatePicker.vue +136 -50
- package/src/components/DatePicker/DateTextInput.vue +567 -290
- package/src/components/DatePicker/Usages.mdx +9 -0
- package/src/components/DatePicker/Usages.stories.ts +43 -0
- package/src/components/DatePicker/constants/ExpertiseLevelEnum.ts +4 -0
- package/src/components/DatePicker/tests/DatePicker.spec.ts +5 -5
- 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.mdx +103 -0
- package/src/components/FileList/FileList.stories.ts +562 -0
- package/src/components/FileList/FileList.vue +78 -0
- package/src/components/FileList/UploadItem/UploadItem.vue +270 -0
- package/src/components/FileList/UploadItem/locales.ts +9 -0
- package/src/components/FileList/constants/ExpertiseLevelEnum.ts +4 -0
- package/src/components/FileList/tests/FileList.spec.ts +176 -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/FilePreview.mdx +82 -0
- package/src/components/FilePreview/FilePreview.stories.ts +242 -0
- package/src/components/FilePreview/FilePreview.vue +68 -0
- package/src/components/FilePreview/config.ts +10 -0
- package/src/components/FilePreview/constants/ExpertiseLevelEnum.ts +4 -0
- package/src/components/FilePreview/locales.ts +4 -0
- package/src/components/FilePreview/tests/FilePreview.spec.ts +124 -0
- package/src/components/FilePreview/tests/__snapshots__/FilePreview.spec.ts.snap +11 -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/constants/ExpertiseLevelEnum.ts +4 -0
- package/src/components/FilterInline/FilterInline.mdx +91 -0
- package/src/components/FilterInline/FilterInline.stories.ts +406 -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/HeaderBar/Usages.mdx +7 -2
- package/src/components/HeaderBar/Usages.stories.ts +39 -0
- package/src/components/NirField/NirField.stories.ts +1 -1
- package/src/components/NirField/NirField.vue +10 -4
- package/src/components/NirField/Usages.mdx +9 -0
- package/src/components/NirField/Usages.stories.ts +42 -0
- 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/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.mdx +32 -0
- package/src/components/PeriodField/PeriodField.stories.ts +807 -0
- package/src/components/PeriodField/PeriodField.vue +340 -0
- package/src/components/PeriodField/constants/ExpertiseLevelEnum.ts +4 -0
- package/src/components/PeriodField/tests/PeriodField.spec.ts +340 -0
- package/src/components/PhoneField/PhoneField.mdx +1 -1
- package/src/components/PhoneField/Usages.mdx +9 -0
- package/src/components/PhoneField/Usages.stories.ts +38 -0
- package/src/components/RangeField/Accessibilite.mdx +14 -0
- package/src/components/RangeField/Accessibilite.stories.ts +191 -0
- package/src/components/RangeField/AccessibiliteItems.ts +179 -0
- package/src/components/RangeField/RangeField.vue +0 -4
- package/src/components/RangeField/constants/ExpertiseLevelEnum.ts +4 -0
- package/src/components/RatingPicker/Accessibilite.mdx +14 -0
- package/src/components/RatingPicker/Accessibilite.stories.ts +191 -0
- package/src/components/RatingPicker/AccessibiliteItems.ts +208 -0
- package/src/components/RatingPicker/constants/ExpertiseLevelEnum.ts +4 -0
- package/src/components/SearchListField/Accessibilite.mdx +14 -0
- package/src/components/SearchListField/Accessibilite.stories.ts +191 -0
- package/src/components/SearchListField/AccessibiliteItems.ts +310 -0
- package/src/components/SearchListField/SearchListField.mdx +1 -2
- package/src/components/SearchListField/constants/ExpertiseLevelEnum.ts +4 -0
- package/src/components/SelectBtnField/Accessibilite.mdx +14 -0
- package/src/components/SelectBtnField/Accessibilite.stories.ts +191 -0
- package/src/components/SelectBtnField/AccessibiliteItems.ts +191 -0
- package/src/components/SelectBtnField/Usages.mdx +9 -0
- package/src/components/SelectBtnField/Usages.stories.ts +40 -0
- package/src/components/SelectBtnField/constants/ExpertiseLevelEnum.ts +4 -0
- package/src/components/SkipLink/Usages.mdx +9 -0
- package/src/components/SkipLink/Usages.stories.ts +41 -0
- package/src/components/SyAlert/SyAlert.vue +11 -9
- 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/TableToolbar.mdx +130 -0
- package/src/components/TableToolbar/TableToolbar.stories.ts +935 -0
- package/src/components/TableToolbar/TableToolbar.vue +168 -0
- package/src/components/TableToolbar/config.ts +24 -0
- package/src/components/TableToolbar/constants/ExpertiseLevelEnum.ts +4 -0
- package/src/components/TableToolbar/locales.ts +6 -0
- package/src/components/TableToolbar/tests/TableToolbar.spec.ts +166 -0
- package/src/components/TableToolbar/tests/__snapshots__/TableToolbar.spec.ts.snap +359 -0
- package/src/components/Usages/Usages.vue +95 -0
- package/src/components/index.ts +6 -0
- package/src/composables/rules/useFieldValidation.ts +101 -27
- package/src/composables/useFilterable/__snapshots__/useFilterable.spec.ts.snap +3 -0
- package/src/composables/useFilterable/useFilterable.spec.ts +635 -0
- package/src/composables/useFilterable/useFilterable.ts +196 -0
- package/src/constants/icons.ts +5 -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/{Fondamentaux/CustomisationEtThemes.mdx → DesignTokens/ThemePA.mdx} +6 -2
- 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 +1 -13
- 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/dist/design-system-v3.d.ts +0 -2356
- package/src/stories/Fondamentaux/Conteneurs.mdx +0 -7
- 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
|
@@ -0,0 +1,398 @@
|
|
|
1
|
+
import { VCard, VCardText, VCardTitle, VRow, VCol, VIcon } from 'vuetify/components'
|
|
2
|
+
import type { StoryObj } from '@storybook/vue3'
|
|
3
|
+
|
|
4
|
+
export default {
|
|
5
|
+
title: 'Composants/Vue d\'ensemble',
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
export const Header: StoryObj = {
|
|
9
|
+
render: () => {
|
|
10
|
+
return {
|
|
11
|
+
template: `
|
|
12
|
+
<div class="mb-8">
|
|
13
|
+
<h1 class="text-h4 font-weight-bold mb-4">Composants</h1>
|
|
14
|
+
<p class="text-body-1">Découvrez notre collection de composants réutilisables conçus pour créer des interfaces utilisateur cohérentes et accessibles.</p>
|
|
15
|
+
</div>
|
|
16
|
+
`,
|
|
17
|
+
}
|
|
18
|
+
},
|
|
19
|
+
tags: ['!dev'],
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
export const ComponentsList: StoryObj = {
|
|
23
|
+
render: () => {
|
|
24
|
+
return {
|
|
25
|
+
components: { VCard, VCardText, VCardTitle, VRow, VCol, VIcon },
|
|
26
|
+
setup() {
|
|
27
|
+
const components = [
|
|
28
|
+
{
|
|
29
|
+
title: 'HeaderBar',
|
|
30
|
+
description: 'Utilisé pour afficher l’en-tête d’une page ainsi qu’une barre de navigation.',
|
|
31
|
+
link: '/?path=/docs/composants-structure-headerbar--docs',
|
|
32
|
+
img: '/components/header-bar.svg',
|
|
33
|
+
category: 'Structure',
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
title: 'HeaderToolbar',
|
|
37
|
+
description: 'Utilisé pour afficher une barre d\'outils en haut de la page. Il est composé de deux zones customisables.',
|
|
38
|
+
link: '/?path=/docs/composants-structure-headertoolbar--docs',
|
|
39
|
+
img: '/components/header-toolbar.svg',
|
|
40
|
+
category: 'Structure',
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
title: 'HeaderLoading',
|
|
44
|
+
description: 'Utilisé pour afficher un élément de chargement avec des dimensions personnalisées.',
|
|
45
|
+
link: '/?path=/docs/composants-structure-headerloading--docs',
|
|
46
|
+
img: '/components/header-loading.svg',
|
|
47
|
+
category: 'Structure',
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
title: 'SubHeader',
|
|
51
|
+
description: 'Utilisé pour afficher un bloc d’informations sous l’en-tête principale.',
|
|
52
|
+
link: '/?path=/docs/composants-structure-subheader--docs',
|
|
53
|
+
img: '/components/sub-header.svg',
|
|
54
|
+
category: 'Structure',
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
title: 'FooterBar',
|
|
58
|
+
description: 'Utilisé pour afficher une barre de pied de page avec des liens et des informations supplémentaires.',
|
|
59
|
+
link: '/?path=/docs/composants-structure-footerbar--docs',
|
|
60
|
+
img: '/components/footer-bar.svg',
|
|
61
|
+
category: 'Structure',
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
title: 'PageContainer',
|
|
65
|
+
description: 'Conteneur transparent utilisé pour afficher une page.',
|
|
66
|
+
link: '/?path=/docs/composants-layout-pagecontainer--docs',
|
|
67
|
+
img: '/components/page-container.svg',
|
|
68
|
+
category: 'Layout',
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
title: 'ContextualMenu',
|
|
72
|
+
description: 'Utilisé pour afficher un menu avec une liste d’ancres pour la navigation.',
|
|
73
|
+
link: '/?path=/docs/composants-navigation-contextualmenu--docs',
|
|
74
|
+
img: '/components/contextual-menu.svg',
|
|
75
|
+
category: 'Navigation',
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
title: 'ExternalLinks',
|
|
79
|
+
description: 'Utilisé pour afficher un menu avec une liste vers des liens externes.',
|
|
80
|
+
link: '/?path=/docs/composants-navigation-externallinks--docs',
|
|
81
|
+
img: '/components/external-links.svg',
|
|
82
|
+
category: 'Navigation',
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
title: 'SocialMediaLinks',
|
|
86
|
+
description: 'Utilisé pour afficher des liens de réseaux sociaux dans le composant Footer.',
|
|
87
|
+
link: '/?path=/docs/composants-navigation-socialmedialinks--docs',
|
|
88
|
+
img: '/components/social-media-links.svg',
|
|
89
|
+
category: 'Navigation',
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
title: 'SkipLink',
|
|
93
|
+
description: 'Utilisé pour permettre à l\'utilisateur utilisant la navigation au clavier de passer directement à une section de contenu.',
|
|
94
|
+
link: '/?path=/docs/composants-navigation-skiplink--docs',
|
|
95
|
+
img: '/components/skip-link.svg',
|
|
96
|
+
category: 'Navigation',
|
|
97
|
+
},
|
|
98
|
+
{
|
|
99
|
+
title: 'BackBtn',
|
|
100
|
+
description: 'Utilisé pour permettre à l’utilisateur de revenir à la page précédente.',
|
|
101
|
+
link: '/?path=/docs/composants-boutons-backbtn--docs',
|
|
102
|
+
img: '/components/back-btn.svg',
|
|
103
|
+
category: 'Boutons',
|
|
104
|
+
},
|
|
105
|
+
{
|
|
106
|
+
title: 'BackToTopBtn',
|
|
107
|
+
description: 'Utilisé pour afficher un bouton permettant à l’utilisateur de remonter en haut de la page.',
|
|
108
|
+
link: '/?path=/docs/composants-boutons-backtotopbtn--docs',
|
|
109
|
+
img: '/components/back-to-top-btn.svg',
|
|
110
|
+
category: 'Boutons',
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
title: 'CopyBtn',
|
|
114
|
+
description: 'Utilisé pour afficher un bouton permettant à l’utilisateur de copier du texte.',
|
|
115
|
+
link: '/?path=/docs/composants-boutons-copybtn--docs',
|
|
116
|
+
img: '/components/copy-btn.svg',
|
|
117
|
+
category: 'Boutons',
|
|
118
|
+
},
|
|
119
|
+
{
|
|
120
|
+
title: 'LangBtn',
|
|
121
|
+
description: 'Utilisé pour permettre à l’utilisateur de choisir la langue de l’application.',
|
|
122
|
+
link: '/?path=/docs/composants-boutons-langbtn--docs',
|
|
123
|
+
img: '/components/lang-btn.svg',
|
|
124
|
+
category: 'Boutons',
|
|
125
|
+
},
|
|
126
|
+
{
|
|
127
|
+
title: 'DownloadBtn',
|
|
128
|
+
description: 'Utilisé pour permettre à l’utilisateur de télécharger un document provenant d’une API.',
|
|
129
|
+
link: '/?path=/docs/composants-boutons-downloadbtn--docs',
|
|
130
|
+
img: '/components/download-btn.svg',
|
|
131
|
+
category: 'Boutons',
|
|
132
|
+
},
|
|
133
|
+
{
|
|
134
|
+
title: 'FranceConnectBtn',
|
|
135
|
+
description: 'Utilisé pour afficher un bouton de connexion à FranceConnect.',
|
|
136
|
+
link: '/?path=/docs/composants-boutons-franceconnectbtn--docs',
|
|
137
|
+
img: '/components/france-connect-btn.svg',
|
|
138
|
+
category: 'Boutons',
|
|
139
|
+
},
|
|
140
|
+
{
|
|
141
|
+
title: 'UserMenuBtn',
|
|
142
|
+
description: 'Utilisé pour afficher un bouton de menu utilisateur avec un menu déroulant.',
|
|
143
|
+
link: '/?path=/docs/composants-boutons-usermenubtn--docs',
|
|
144
|
+
img: '/components/user-menu-btn.svg',
|
|
145
|
+
category: 'Boutons',
|
|
146
|
+
},
|
|
147
|
+
{
|
|
148
|
+
title: 'SyTextField',
|
|
149
|
+
description: 'Utilisé pour proposer une alternative au TextField de Vuetify, conforme au style du Design System et qui respecte les règles d\'accessibilité RGAA.',
|
|
150
|
+
link: '/?path=/docs/composants-formulaires-sytextfield--docs',
|
|
151
|
+
img: '/components/sy-text-field.svg',
|
|
152
|
+
category: 'Formulaires',
|
|
153
|
+
},
|
|
154
|
+
{
|
|
155
|
+
title: 'SySelect',
|
|
156
|
+
description: 'Utilisé pour proposer une alternative au v-select de Vuetify qui ne respecte pas les règles d\'accessibilité RGAA. Il est basé sur un v-textfield.',
|
|
157
|
+
link: '/?path=/docs/composants-formulaires-syselect--docs',
|
|
158
|
+
img: '/components/sy-select.svg',
|
|
159
|
+
category: 'Formulaires',
|
|
160
|
+
},
|
|
161
|
+
{
|
|
162
|
+
title: 'SyInputSelect',
|
|
163
|
+
description: 'Utilisé pour proposer une alternative au v-select de Vuetify qui ne respecte pas les règles RGAA.Il est basé sur un v-input.',
|
|
164
|
+
link: '/?path=/docs/composants-formulaires-syinputselect--docs',
|
|
165
|
+
img: '/components/sy-input-select.svg',
|
|
166
|
+
category: 'Formulaires',
|
|
167
|
+
},
|
|
168
|
+
{
|
|
169
|
+
title: 'SyBtnSelect',
|
|
170
|
+
description: 'Utilisé pour proposer une sélection d\'options avec un bouton personnalisé, conforme au style du Design System et qui respecte les règles d\'accessibilité RGAA. Il est basé sur un v-btn.',
|
|
171
|
+
link: '/?path=/docs/composants-formulaires-sybtnselect--docs',
|
|
172
|
+
img: '/components/sy-btn-select.svg',
|
|
173
|
+
category: 'Formulaires',
|
|
174
|
+
},
|
|
175
|
+
{
|
|
176
|
+
title: 'DatePicker',
|
|
177
|
+
description: ' Utilisé pour permettre à l’utilisateur de sélectionner ou de saisir une date.',
|
|
178
|
+
link: '/?path=/docs/composants-formulaires-datepicker--docs',
|
|
179
|
+
img: '/components/date-picker.svg',
|
|
180
|
+
category: 'Formulaires',
|
|
181
|
+
},
|
|
182
|
+
{
|
|
183
|
+
title: 'FileUpload',
|
|
184
|
+
description: 'Utilisé pour permettre à l’utilisateur de sélectionner ou de glisser-déposer des fichiers.',
|
|
185
|
+
link: '/?path=/docs/composants-formulaires-fileupload--docs',
|
|
186
|
+
img: '/components/file-upload.svg',
|
|
187
|
+
category: 'Formulaires',
|
|
188
|
+
},
|
|
189
|
+
{
|
|
190
|
+
title: 'NirField',
|
|
191
|
+
description: 'Utilisé pour permettre à l’utilisateur de saisir un numéro de Sécurité sociale (NIR).',
|
|
192
|
+
link: '/?path=/docs/composants-formulaires-nirfield--docs',
|
|
193
|
+
img: '/components/nir-field.svg',
|
|
194
|
+
category: 'Formulaires',
|
|
195
|
+
},
|
|
196
|
+
{
|
|
197
|
+
title: 'PasswordField',
|
|
198
|
+
description: 'Utilisé pour afficher un champ de saisie de mot de passe et gérer sa validation.',
|
|
199
|
+
link: '/?path=/docs/composants-formulaires-passwordfield--docs',
|
|
200
|
+
img: '/components/password-field.svg',
|
|
201
|
+
category: 'Formulaires',
|
|
202
|
+
},
|
|
203
|
+
{
|
|
204
|
+
title: 'PeriodField',
|
|
205
|
+
description: 'Utilisé pour permettre à l’utilisateur de saisir une période.',
|
|
206
|
+
link: '/?path=/docs/composants-formulaires-periodfield--docs',
|
|
207
|
+
img: '/components/period-field.svg',
|
|
208
|
+
category: 'Formulaires',
|
|
209
|
+
},
|
|
210
|
+
{
|
|
211
|
+
title: 'PhoneField',
|
|
212
|
+
description: 'Utilisé pour saisir des numéros de téléphone avec différentes options de formatage.',
|
|
213
|
+
link: '/?path=/docs/composants-formulaires-phonefield--docs',
|
|
214
|
+
img: '/components/phone-field.svg',
|
|
215
|
+
category: 'Formulaires',
|
|
216
|
+
},
|
|
217
|
+
{
|
|
218
|
+
title: 'RangeField',
|
|
219
|
+
description: 'Utilisé pour permettre à l\'utilisateur de sélectionner un interval.',
|
|
220
|
+
link: '/?path=/docs/composants-formulaires-rangefield--docs',
|
|
221
|
+
img: '/components/range-field.svg',
|
|
222
|
+
category: 'Formulaires',
|
|
223
|
+
},
|
|
224
|
+
{
|
|
225
|
+
title: 'SearchListField',
|
|
226
|
+
description: 'Utilisé pour permettre à l’utilisateur de sélectionner des valeurs dans une liste.',
|
|
227
|
+
link: '/?path=/docs/composants-formulaires-searchlistfield--docs',
|
|
228
|
+
img: '/components/search-list-field.svg',
|
|
229
|
+
category: 'Formulaires',
|
|
230
|
+
},
|
|
231
|
+
{
|
|
232
|
+
title: 'SelectBtnField',
|
|
233
|
+
description: 'Utilisé pour permettre à l’utilisateur de sélectionner une valeur dans une liste.',
|
|
234
|
+
link: '/?path=/docs/composants-formulaires-selectbtnfield--docs',
|
|
235
|
+
img: '/components/select-btn-field.svg',
|
|
236
|
+
category: 'Formulaires',
|
|
237
|
+
},
|
|
238
|
+
{
|
|
239
|
+
title: 'PaginatedTable',
|
|
240
|
+
description: 'Utilisé pour afficher une VDataTable de Vuetify avec une pagination persistante.',
|
|
241
|
+
link: '/?path=/docs/composants-tableaux-paginatedtable--docs',
|
|
242
|
+
img: '/components/paginated-table.svg',
|
|
243
|
+
category: 'Tableaux',
|
|
244
|
+
},
|
|
245
|
+
{
|
|
246
|
+
title: 'TableToolbar',
|
|
247
|
+
description: 'Utilisé pour afficher une barre d\'outils pour les tableaux.',
|
|
248
|
+
link: '/?path=/docs/composants-tableaux-tabletoolbar--docs',
|
|
249
|
+
img: '/components/table-toolbar.svg',
|
|
250
|
+
category: 'Tableaux',
|
|
251
|
+
},
|
|
252
|
+
{
|
|
253
|
+
title: 'Logo',
|
|
254
|
+
description: 'Utilisé pour afficher le logo de l\'application avec différentes options de personnalisation.',
|
|
255
|
+
link: '/?path=/docs/composants-donn%C3%A9es-logo--docs',
|
|
256
|
+
img: '/components/logo.svg',
|
|
257
|
+
category: 'Données',
|
|
258
|
+
},
|
|
259
|
+
{
|
|
260
|
+
title: 'LogoBrandSection',
|
|
261
|
+
description: 'Permet d\'afficher le logo de l\'Assurance Maladie avec des logos ou un titre secondaire.',
|
|
262
|
+
link: '/?path=/docs/composants-donn%C3%A9es-logobrandsection--docs',
|
|
263
|
+
img: '/components/logo-brand-section.svg',
|
|
264
|
+
category: 'Données',
|
|
265
|
+
},
|
|
266
|
+
{
|
|
267
|
+
title: 'CollapsibleList',
|
|
268
|
+
description: 'Utilisé pour afficher des listes de liens. Les éléments peuvent être dépliés ou repliés.',
|
|
269
|
+
link: '/?path=/docs/composants-donn%C3%A9es-collapsiblelist--docs',
|
|
270
|
+
img: '/components/collapsible-list.svg',
|
|
271
|
+
category: 'Données',
|
|
272
|
+
},
|
|
273
|
+
{
|
|
274
|
+
title: 'ChipList',
|
|
275
|
+
description: 'Utilisé pour afficher une liste de puces.',
|
|
276
|
+
link: '/?path=/docs/composants-donn%C3%A9es-chiplist--docs',
|
|
277
|
+
img: '/components/chip-list.svg',
|
|
278
|
+
category: 'Données',
|
|
279
|
+
},
|
|
280
|
+
{
|
|
281
|
+
title: 'DataList',
|
|
282
|
+
description: 'Utilisé pour afficher une liste d’informations.',
|
|
283
|
+
link: '/?path=/docs/composants-donn%C3%A9es-datalist--docs',
|
|
284
|
+
img: '/components/data-list.svg',
|
|
285
|
+
category: 'Données',
|
|
286
|
+
},
|
|
287
|
+
{
|
|
288
|
+
title: 'DataListGroup',
|
|
289
|
+
description: 'Utilisé pour afficher une liste de DataList.',
|
|
290
|
+
link: '/?path=/docs/composants-donn%C3%A9es-datalistgroup--docs',
|
|
291
|
+
img: '/components/data-list-group.svg',
|
|
292
|
+
category: 'Données',
|
|
293
|
+
},
|
|
294
|
+
{
|
|
295
|
+
title: 'FilePreview',
|
|
296
|
+
description: 'Utilisé pour afficher l\'aperçu d\'un fichier.',
|
|
297
|
+
link: '/?path=/docs/composants-donn%C3%A9es-filepreview--docs',
|
|
298
|
+
img: '/components/file-preview.svg',
|
|
299
|
+
category: 'Données',
|
|
300
|
+
},
|
|
301
|
+
{
|
|
302
|
+
title: 'FileList',
|
|
303
|
+
description: 'Utilisé pour afficher une liste de document à téléverser.',
|
|
304
|
+
link: '/?path=/docs/composants-donn%C3%A9es-filelist--docs',
|
|
305
|
+
img: '/components/file-list.svg',
|
|
306
|
+
category: 'Données',
|
|
307
|
+
},
|
|
308
|
+
{
|
|
309
|
+
title: 'SyAlert',
|
|
310
|
+
description: 'Utilisé pour afficher une alerte à l’utilisateur.',
|
|
311
|
+
link: '/?path=/docs/composants-feedback-syalert--docs',
|
|
312
|
+
img: '/components/sy-alert.svg',
|
|
313
|
+
category: 'Feedback',
|
|
314
|
+
},
|
|
315
|
+
{
|
|
316
|
+
title: 'DialogBox',
|
|
317
|
+
description: 'Utilisé pour afficher une boîte de dialogue avec des boutons d\'action.',
|
|
318
|
+
link: '/?path=/docs/composants-feedback-dialogbox--docs',
|
|
319
|
+
img: '/components/dialog-box.svg',
|
|
320
|
+
category: 'Feedback',
|
|
321
|
+
},
|
|
322
|
+
{
|
|
323
|
+
title: 'NotificationBar',
|
|
324
|
+
description: 'Utilisé pour afficher des notifications à l’utilisateur.',
|
|
325
|
+
link: '/?path=/docs/composants-feedback-notificationbar--docs',
|
|
326
|
+
img: '/components/notification-bar.svg',
|
|
327
|
+
category: 'Feedback',
|
|
328
|
+
},
|
|
329
|
+
{
|
|
330
|
+
title: 'CookieBanner',
|
|
331
|
+
description: 'Utilisé pour afficher une bannière de consentement pour les cookies.',
|
|
332
|
+
link: '/?path=/docs/composants-feedback-cookiebanner--docs',
|
|
333
|
+
img: '/components/cookie-banner.svg',
|
|
334
|
+
category: 'Feedback',
|
|
335
|
+
},
|
|
336
|
+
{
|
|
337
|
+
title: 'RatingPicker',
|
|
338
|
+
description: 'Permet de recueillir l’avis d’un utilisateur.',
|
|
339
|
+
link: '/?path=/docs/composants-feedback-ratingpicker--docs',
|
|
340
|
+
img: '/components/rating-picker.svg',
|
|
341
|
+
category: 'Feedback',
|
|
342
|
+
},
|
|
343
|
+
]
|
|
344
|
+
|
|
345
|
+
const categoryOrder = [
|
|
346
|
+
'Structure',
|
|
347
|
+
'Layout',
|
|
348
|
+
'Navigation',
|
|
349
|
+
'Boutons',
|
|
350
|
+
'Formulaires',
|
|
351
|
+
'Tableaux',
|
|
352
|
+
'Données',
|
|
353
|
+
'Feedback',
|
|
354
|
+
]
|
|
355
|
+
|
|
356
|
+
const groupedComponents = categoryOrder.map(category => ({
|
|
357
|
+
category,
|
|
358
|
+
components: components.filter(component => component.category === category),
|
|
359
|
+
}))
|
|
360
|
+
|
|
361
|
+
return {
|
|
362
|
+
groupedComponents,
|
|
363
|
+
}
|
|
364
|
+
},
|
|
365
|
+
template: `
|
|
366
|
+
<div>
|
|
367
|
+
<div v-for="group in groupedComponents" :key="group.category">
|
|
368
|
+
<h2 class="mt-6 mb-4">{{ group.category }}</h2>
|
|
369
|
+
<VRow>
|
|
370
|
+
<VCol v-for="component in group.components" :key="component.title" cols="12" sm="6" md="4" lg="3">
|
|
371
|
+
<VCard
|
|
372
|
+
:href="component.link"
|
|
373
|
+
color="primary"
|
|
374
|
+
class="h-100 card-hover"
|
|
375
|
+
variant="outlined"
|
|
376
|
+
:ripple="true"
|
|
377
|
+
>
|
|
378
|
+
<img
|
|
379
|
+
:src="component.img"
|
|
380
|
+
:alt="component.title"
|
|
381
|
+
class="w-100"
|
|
382
|
+
/>
|
|
383
|
+
<VCardTitle class="d-flex align-center text-h6 font-weight-bold">
|
|
384
|
+
{{ component.title }}
|
|
385
|
+
</VCardTitle>
|
|
386
|
+
<VCardText class="text-black">
|
|
387
|
+
{{ component.description }}
|
|
388
|
+
</VCardText>
|
|
389
|
+
</VCard>
|
|
390
|
+
</VCol>
|
|
391
|
+
</VRow>
|
|
392
|
+
</div>
|
|
393
|
+
</div>
|
|
394
|
+
`,
|
|
395
|
+
}
|
|
396
|
+
},
|
|
397
|
+
tags: ['!dev'],
|
|
398
|
+
}
|
|
@@ -1,10 +1,15 @@
|
|
|
1
1
|
import {Story, Meta} from '@storybook/blocks';
|
|
2
2
|
import * as AccueilStories from './Accueil.stories';
|
|
3
|
+
import { css } from '@emotion/css';
|
|
3
4
|
|
|
4
5
|
<Meta of={AccueilStories} />
|
|
5
6
|
|
|
6
|
-
<
|
|
7
|
+
<div class={css`position: relative; padding: 4rem; margin: -4rem -4rem 1rem !important;`}>
|
|
8
|
+
<Story of={AccueilStories.Header} />
|
|
9
|
+
</div>
|
|
7
10
|
|
|
8
|
-
<
|
|
11
|
+
<Story of={AccueilStories.Welcome} />
|
|
9
12
|
|
|
10
|
-
<Story of={AccueilStories.
|
|
13
|
+
<Story of={AccueilStories.DesignSystem} />
|
|
14
|
+
|
|
15
|
+
<Story of={AccueilStories.Guidelines} />
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { VBtn, VIcon, VRow, VCol } from 'vuetify/components'
|
|
1
|
+
import { VBtn, VIcon, VRow, VCol, VCard, VCardText, VCardTitle } from 'vuetify/components'
|
|
2
2
|
import type { StoryObj } from '@storybook/vue3'
|
|
3
3
|
|
|
4
|
-
import { mdiGithub } from '@mdi/js'
|
|
4
|
+
import { mdiGithub, mdiArrowRight } from '@mdi/js'
|
|
5
5
|
|
|
6
6
|
import { version } from '../../../package.json'
|
|
7
7
|
|
|
@@ -12,34 +12,144 @@ export default {
|
|
|
12
12
|
export const Header: StoryObj = {
|
|
13
13
|
render: () => {
|
|
14
14
|
return {
|
|
15
|
-
components: { VBtn, VIcon },
|
|
15
|
+
components: { VBtn, VIcon, VCol, VRow },
|
|
16
16
|
setup() {
|
|
17
17
|
return {
|
|
18
|
+
arrowRight: mdiArrowRight,
|
|
18
19
|
githubIcon: mdiGithub,
|
|
19
20
|
version,
|
|
20
21
|
}
|
|
21
22
|
},
|
|
22
23
|
template: `
|
|
23
|
-
<div
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
24
|
+
<div>
|
|
25
|
+
<span style="position: absolute; top:0; left:-1000px; background-color: rgba(12, 65, 154, 0.2); width: 1000%; height: 100%; z-index: 0" />
|
|
26
|
+
<VRow cols="12" style="z-index: 1; position: relative">
|
|
27
|
+
<VCol md="6" sm="12">
|
|
28
|
+
<h1 class="font-weight-bold text-h4 mb-2">Synapse</h1>
|
|
29
|
+
<img alt="line" src="/home-line.svg" width="120" height="5" class="mb-5" />
|
|
30
|
+
<h2 class="text-h4 mb-5">Documentation d'aide<br/> à la fabrication des IHM<br/>de la CNAM</h2>
|
|
31
|
+
<VBtn color="primary" href="/?path=/docs/d%C3%A9marrer-introduction--docs">
|
|
32
|
+
Démarrer
|
|
33
|
+
<VIcon size="small" class="ml-2" right>{{arrowRight}}</VIcon>
|
|
34
|
+
</VBtn>
|
|
35
|
+
</VCol>
|
|
36
|
+
<VCol md="6" sm="12" class="d-flex justify-center">
|
|
37
|
+
<img alt="line" src="/home-illustration.svg" width="auto" height="300" class="img-animate" />
|
|
38
|
+
</VCol>
|
|
39
|
+
</VRow>
|
|
40
|
+
<div class="position-absolute" style="right: 60px; bottom: -10px">
|
|
41
|
+
<VBtn
|
|
42
|
+
aria-label="GitHub"
|
|
43
|
+
href="https://github.com/assurance-maladie-digital/design-system-v3"
|
|
44
|
+
target="_blank"
|
|
45
|
+
rel="noopener noreferrer"
|
|
46
|
+
class="d-flex align-center justify-center text-lowercase"
|
|
47
|
+
>
|
|
48
|
+
<b>v{{ version }}</b>
|
|
49
|
+
<VIcon size="large" class="ml-2">{{ githubIcon }}</VIcon>
|
|
50
|
+
</VBtn>
|
|
51
|
+
</div>
|
|
33
52
|
</div>
|
|
34
|
-
<p class="mt-4 mb-8">
|
|
35
|
-
<b>v{{ version }}</b>
|
|
36
|
-
</p>
|
|
37
53
|
`,
|
|
38
54
|
}
|
|
39
55
|
},
|
|
40
56
|
tags: ['!dev'],
|
|
41
57
|
}
|
|
42
58
|
|
|
59
|
+
export const Welcome: StoryObj = {
|
|
60
|
+
render: () => {
|
|
61
|
+
return {
|
|
62
|
+
template: `
|
|
63
|
+
<div class="mt-12 mb-12">
|
|
64
|
+
<p>Bienvenue dans notre guide d'aide à la conception, pensé par et pour les équipes de la CNAM.</p>
|
|
65
|
+
<p class="mt-4">Ce guide a été conçu pour accompagner chaque membre de l'équipe dans la création de plateformes web de qualité, alignées avec nos standards et nos valeurs.</p>
|
|
66
|
+
<p class="mt-4">Vous y trouverez toutes les ressources essentielles pour vous guider tout au long du processus de conception :</p>
|
|
67
|
+
</div>
|
|
68
|
+
`,
|
|
69
|
+
}
|
|
70
|
+
},
|
|
71
|
+
tags: ['!dev'],
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
export const DesignSystem: StoryObj = {
|
|
75
|
+
render: () => {
|
|
76
|
+
return {
|
|
77
|
+
components: { VRow, VCol, VCard, VCardTitle, VCardText },
|
|
78
|
+
template: `
|
|
79
|
+
<div class="mb-12">
|
|
80
|
+
<h3 class="text-h5 font-weight-bold mb-6 text-primary">Design System</h3>
|
|
81
|
+
<VRow>
|
|
82
|
+
<VCol cols="12" md="4">
|
|
83
|
+
<VCard class="pa-0 h-100 card-hover" elevation="0" href="/?path=/docs/design-tokens-introduction--docs">
|
|
84
|
+
<img src="/home-card-tokens.svg" alt="Design Tokens" class="w-100" />
|
|
85
|
+
<VCardTitle><b>Design Tokens</b></VCardTitle>
|
|
86
|
+
<VCardText>Les Design Tokens fournissent des recommandations claires et des bonnes pratiques pour assurer l'uniformité et la qualité des interfaces numériques.</VCardText>
|
|
87
|
+
</VCard>
|
|
88
|
+
</VCol>
|
|
89
|
+
<VCol cols="12" md="4">
|
|
90
|
+
<VCard class="pa-0 h-100 card-hover" elevation="0" href="/?path=/docs/composants-vue-d-ensemble--docs">
|
|
91
|
+
<img src="/home-card-components.svg" alt="Components" class="w-100" />
|
|
92
|
+
<VCardTitle><b>Composants</b></VCardTitle>
|
|
93
|
+
<VCardText>Les Composants assurent une expérience utilisateur homogène en offrant des éléments réutilisables et standardisés.</VCardText>
|
|
94
|
+
</VCard>
|
|
95
|
+
</VCol>
|
|
96
|
+
<VCol cols="12" md="4">
|
|
97
|
+
<VCard class="pa-0 h-100 card-hover" elevation="0" href="/?path=/docs/templates-vue-d-ensemble--docs">
|
|
98
|
+
<img src="/home-card-templates.svg" alt="Templates" class="w-100" />
|
|
99
|
+
<VCardTitle><b>Templates</b></VCardTitle>
|
|
100
|
+
<VCardText>Les Templates facilitent la mise en page en proposant des structures prédéfinies garantissant cohérence et efficacité dans la conception des interfaces.</VCardText>
|
|
101
|
+
</VCard>
|
|
102
|
+
</VCol>
|
|
103
|
+
<VCol cols="12" md="4">
|
|
104
|
+
<VCard class="pa-0 h-100 card-hover" elevation="0" href="/?path=/docs/guide-du-dev-migration-depuis-bridge--docs">
|
|
105
|
+
<img src="/home-card-dev.svg" alt="Guide du dev" class="w-100" />
|
|
106
|
+
<VCardTitle><b>Guides du dev</b></VCardTitle>
|
|
107
|
+
<VCardText>Les Guides du Dev accompagnent les équipes techniques dans l'implémentation du Design System en garantissant une intégration fluide et efficace.</VCardText>
|
|
108
|
+
</VCard>
|
|
109
|
+
</VCol>
|
|
110
|
+
</VRow>
|
|
111
|
+
</div>
|
|
112
|
+
`,
|
|
113
|
+
}
|
|
114
|
+
},
|
|
115
|
+
tags: ['!dev'],
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
export const Guidelines: StoryObj = {
|
|
119
|
+
render: () => {
|
|
120
|
+
return {
|
|
121
|
+
components: { VRow, VCol, VCard, VCardTitle, VCardText },
|
|
122
|
+
template: `
|
|
123
|
+
<div>
|
|
124
|
+
<h3 class="text-h5 font-weight-bold mb-6 text-primary">Guidelines</h3>
|
|
125
|
+
<VRow>
|
|
126
|
+
<VCol cols="12" md="4">
|
|
127
|
+
<VCard class="pa-0 h-100 card-hover" elevation="0" href="/?path=/docs/accessibilit%C3%A9-introduction--docs">
|
|
128
|
+
<img src="/home-card-access.svg" alt="Accessibilité" class="w-100"/>
|
|
129
|
+
<VCardTitle><b>Accessibilité</b></VCardTitle>
|
|
130
|
+
<VCardText>L'Accessibilité permet de concevoir des interfaces inclusives respectant les
|
|
131
|
+
normes d'accessibilité pour une expérience optimale pour tous les utilisateurs.
|
|
132
|
+
</VCardText>
|
|
133
|
+
</VCard>
|
|
134
|
+
</VCol>
|
|
135
|
+
<VCol cols="12" md="4">
|
|
136
|
+
<VCard class="pa-0 h-100 card-hover" elevation="0" href="/?path=/docs/%C3%A9co-conception-introduction--introduction">
|
|
137
|
+
<img src="/home-card-eco.svg" alt="Eco-conception" class="w-100"/>
|
|
138
|
+
<VCardTitle><b>Éco-conception</b></VCardTitle>
|
|
139
|
+
<VCardText>L'éco-conception vise à réduire l'impact environnemental des interfaces
|
|
140
|
+
numériques en incluant des pratiques optimales en termes de performance, de
|
|
141
|
+
consommation énergétique et d'accessibilité.
|
|
142
|
+
</VCardText>
|
|
143
|
+
</VCard>
|
|
144
|
+
</VCol>
|
|
145
|
+
</VRow>
|
|
146
|
+
</div>
|
|
147
|
+
`,
|
|
148
|
+
}
|
|
149
|
+
},
|
|
150
|
+
tags: ['!dev'],
|
|
151
|
+
}
|
|
152
|
+
|
|
43
153
|
export const List: StoryObj = {
|
|
44
154
|
render: () => {
|
|
45
155
|
return {
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import {Story, Meta} from '@storybook/blocks';
|
|
2
|
+
import * as IntroductionStories from './Introduction.stories';
|
|
3
|
+
|
|
4
|
+
<Meta of={IntroductionStories} />
|
|
5
|
+
|
|
6
|
+
<Story of={IntroductionStories.Header} />
|
|
7
|
+
|
|
8
|
+
<Story of={IntroductionStories.Intro} />
|
|
9
|
+
|
|
10
|
+
<br/>
|
|
11
|
+
|
|
12
|
+
<Story of={IntroductionStories.Panels} />
|