lerelais-front-library 0.1.0 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +70 -62
- package/dist/index.cjs +1 -0
- package/dist/index.d.ts +776 -0
- package/dist/index.js +1771 -0
- package/dist/style.css +1 -0
- package/package.json +44 -6
- package/.cursor/skills/project-structure/SKILL.md +0 -51
- package/.cursor/skills/storybook-react/SKILL.md +0 -60
- package/.cursor/skills/testing-react/SKILL.md +0 -52
- package/index.html +0 -18
- package/src/App.css +0 -49
- package/src/App.tsx +0 -366
- package/src/assets/icons/alert-triangle.svg +0 -7
- package/src/assets/icons/arrow-right.svg +0 -5
- package/src/assets/icons/bell.svg +0 -6
- package/src/assets/icons/chevron-down.svg +0 -5
- package/src/assets/icons/chevron-right.svg +0 -5
- package/src/assets/icons/clock-muted.svg +0 -10
- package/src/assets/icons/clock.svg +0 -11
- package/src/assets/icons/close.svg +0 -5
- package/src/assets/icons/core-camera.svg +0 -5
- package/src/assets/icons/core-check-sm.svg +0 -5
- package/src/assets/icons/core-check-white.svg +0 -5
- package/src/assets/icons/core-check.svg +0 -5
- package/src/assets/icons/core-chevron.svg +0 -5
- package/src/assets/icons/core-dot.svg +0 -3
- package/src/assets/icons/core-lock-form.svg +0 -5
- package/src/assets/icons/core-lock.svg +0 -5
- package/src/assets/icons/core-map-pin.svg +0 -5
- package/src/assets/icons/core-package-lg.svg +0 -5
- package/src/assets/icons/core-package.svg +0 -5
- package/src/assets/icons/core-pin-info.svg +0 -6
- package/src/assets/icons/core-pin-value.svg +0 -5
- package/src/assets/icons/core-pin-white.svg +0 -5
- package/src/assets/icons/core-plus.svg +0 -5
- package/src/assets/icons/core-search-dark.svg +0 -5
- package/src/assets/icons/core-search.svg +0 -5
- package/src/assets/icons/core-store.svg +0 -9
- package/src/assets/icons/core-x.svg +0 -5
- package/src/assets/icons/heart.svg +0 -5
- package/src/assets/icons/logout.svg +0 -7
- package/src/assets/icons/map-pin.svg +0 -5
- package/src/assets/icons/package-read.svg +0 -8
- package/src/assets/icons/package-white.svg +0 -8
- package/src/assets/icons/package.svg +0 -8
- package/src/assets/icons/plus.svg +0 -6
- package/src/assets/icons/settings.svg +0 -6
- package/src/assets/icons/switch-off.svg +0 -19
- package/src/assets/icons/switch-on.svg +0 -19
- package/src/assets/icons/unread-dot.svg +0 -3
- package/src/assets/icons/upload-cloud.svg +0 -5
- package/src/assets/icons/user.svg +0 -6
- package/src/assets/icons.ts +0 -41
- package/src/components/Accordion/Accordion.module.css +0 -34
- package/src/components/Accordion/Accordion.test.tsx +0 -20
- package/src/components/Accordion/Accordion.tsx +0 -38
- package/src/components/Accordion/index.ts +0 -1
- package/src/components/ActionCard/ActionCard.module.css +0 -50
- package/src/components/ActionCard/ActionCard.test.tsx +0 -15
- package/src/components/ActionCard/ActionCard.tsx +0 -33
- package/src/components/ActionCard/index.ts +0 -1
- package/src/components/Alert/Alert.module.css +0 -47
- package/src/components/Alert/Alert.test.tsx +0 -14
- package/src/components/Alert/Alert.tsx +0 -27
- package/src/components/Alert/index.ts +0 -1
- package/src/components/Avatar/Avatar.module.css +0 -37
- package/src/components/Avatar/Avatar.test.tsx +0 -9
- package/src/components/Avatar/Avatar.tsx +0 -18
- package/src/components/Avatar/index.ts +0 -1
- package/src/components/Badge/Badge.module.css +0 -37
- package/src/components/Badge/Badge.test.tsx +0 -14
- package/src/components/Badge/Badge.tsx +0 -21
- package/src/components/Badge/index.ts +0 -1
- package/src/components/BarChart/BarChart.module.css +0 -57
- package/src/components/BarChart/BarChart.test.tsx +0 -18
- package/src/components/BarChart/BarChart.tsx +0 -47
- package/src/components/BarChart/index.ts +0 -1
- package/src/components/BenefitsCard/BenefitsCard.module.css +0 -44
- package/src/components/BenefitsCard/BenefitsCard.test.tsx +0 -10
- package/src/components/BenefitsCard/BenefitsCard.tsx +0 -33
- package/src/components/BenefitsCard/index.ts +0 -1
- package/src/components/BottomNavItem/BottomNavItem.module.css +0 -24
- package/src/components/BottomNavItem/BottomNavItem.test.tsx +0 -20
- package/src/components/BottomNavItem/BottomNavItem.tsx +0 -23
- package/src/components/BottomNavItem/index.ts +0 -1
- package/src/components/Breadcrumb/Breadcrumb.module.css +0 -31
- package/src/components/Breadcrumb/Breadcrumb.test.tsx +0 -29
- package/src/components/Breadcrumb/Breadcrumb.tsx +0 -36
- package/src/components/Breadcrumb/index.ts +0 -1
- package/src/components/Button/Button.module.css +0 -61
- package/src/components/Button/Button.test.tsx +0 -34
- package/src/components/Button/Button.tsx +0 -24
- package/src/components/Button/index.ts +0 -1
- package/src/components/Checkbox/Checkbox.module.css +0 -53
- package/src/components/Checkbox/Checkbox.test.tsx +0 -20
- package/src/components/Checkbox/Checkbox.tsx +0 -20
- package/src/components/Checkbox/index.ts +0 -1
- package/src/components/ConfirmModal/ConfirmModal.module.css +0 -69
- package/src/components/ConfirmModal/ConfirmModal.test.tsx +0 -25
- package/src/components/ConfirmModal/ConfirmModal.tsx +0 -50
- package/src/components/ConfirmModal/index.ts +0 -1
- package/src/components/CoreButton/CoreButton.module.css +0 -71
- package/src/components/CoreButton/CoreButton.test.tsx +0 -24
- package/src/components/CoreButton/CoreButton.tsx +0 -27
- package/src/components/CoreButton/index.ts +0 -1
- package/src/components/CoreField/CoreField.module.css +0 -31
- package/src/components/CoreField/CoreField.test.tsx +0 -15
- package/src/components/CoreField/CoreField.tsx +0 -18
- package/src/components/CoreField/index.ts +0 -1
- package/src/components/CoreSelect/CoreSelect.module.css +0 -37
- package/src/components/CoreSelect/CoreSelect.test.tsx +0 -22
- package/src/components/CoreSelect/CoreSelect.tsx +0 -29
- package/src/components/CoreSelect/index.ts +0 -1
- package/src/components/CoreTabs/CoreTabs.module.css +0 -41
- package/src/components/CoreTabs/CoreTabs.test.tsx +0 -18
- package/src/components/CoreTabs/CoreTabs.tsx +0 -67
- package/src/components/CoreTabs/index.ts +0 -1
- package/src/components/DashboardParcelRow/DashboardParcelRow.module.css +0 -61
- package/src/components/DashboardParcelRow/DashboardParcelRow.test.tsx +0 -37
- package/src/components/DashboardParcelRow/DashboardParcelRow.tsx +0 -41
- package/src/components/DashboardParcelRow/index.ts +0 -1
- package/src/components/DataFiltersToolbar/DataFiltersToolbar.module.css +0 -29
- package/src/components/DataFiltersToolbar/DataFiltersToolbar.test.tsx +0 -15
- package/src/components/DataFiltersToolbar/DataFiltersToolbar.tsx +0 -22
- package/src/components/DataFiltersToolbar/index.ts +0 -1
- package/src/components/DataSearchBar/DataSearchBar.module.css +0 -28
- package/src/components/DataSearchBar/DataSearchBar.test.tsx +0 -15
- package/src/components/DataSearchBar/DataSearchBar.tsx +0 -15
- package/src/components/DataSearchBar/index.ts +0 -1
- package/src/components/DataTable/DataTable.module.css +0 -57
- package/src/components/DataTable/DataTable.test.tsx +0 -12
- package/src/components/DataTable/DataTable.tsx +0 -67
- package/src/components/DataTable/index.ts +0 -1
- package/src/components/Divider/Divider.module.css +0 -29
- package/src/components/Divider/Divider.test.tsx +0 -9
- package/src/components/Divider/Divider.tsx +0 -21
- package/src/components/Divider/index.ts +0 -1
- package/src/components/DropdownMenu/DropdownMenu.module.css +0 -45
- package/src/components/DropdownMenu/DropdownMenu.test.tsx +0 -21
- package/src/components/DropdownMenu/DropdownMenu.tsx +0 -45
- package/src/components/DropdownMenu/index.ts +0 -1
- package/src/components/EmptyState/EmptyState.module.css +0 -52
- package/src/components/EmptyState/EmptyState.test.tsx +0 -20
- package/src/components/EmptyState/EmptyState.tsx +0 -33
- package/src/components/EmptyState/index.ts +0 -1
- package/src/components/FaqItem/FaqItem.module.css +0 -47
- package/src/components/FaqItem/FaqItem.test.tsx +0 -14
- package/src/components/FaqItem/FaqItem.tsx +0 -28
- package/src/components/FaqItem/index.ts +0 -1
- package/src/components/FavoriteRelayCard/FavoriteRelayCard.module.css +0 -83
- package/src/components/FavoriteRelayCard/FavoriteRelayCard.test.tsx +0 -37
- package/src/components/FavoriteRelayCard/FavoriteRelayCard.tsx +0 -58
- package/src/components/FavoriteRelayCard/index.ts +0 -1
- package/src/components/FeatureCard/FeatureCard.module.css +0 -62
- package/src/components/FeatureCard/FeatureCard.test.tsx +0 -10
- package/src/components/FeatureCard/FeatureCard.tsx +0 -30
- package/src/components/FeatureCard/index.ts +0 -1
- package/src/components/FileUpload/FileUpload.module.css +0 -41
- package/src/components/FileUpload/FileUpload.test.tsx +0 -22
- package/src/components/FileUpload/FileUpload.tsx +0 -26
- package/src/components/FileUpload/index.ts +0 -1
- package/src/components/FilterPill/FilterPill.module.css +0 -18
- package/src/components/FilterPill/FilterPill.test.tsx +0 -19
- package/src/components/FilterPill/FilterPill.tsx +0 -20
- package/src/components/FilterPill/index.ts +0 -1
- package/src/components/Footer/Footer.module.css +0 -57
- package/src/components/Footer/Footer.test.tsx +0 -10
- package/src/components/Footer/Footer.tsx +0 -63
- package/src/components/Footer/index.ts +0 -1
- package/src/components/Icon/Icon.tsx +0 -20
- package/src/components/Icon/index.ts +0 -1
- package/src/components/InfoRow/InfoRow.module.css +0 -33
- package/src/components/InfoRow/InfoRow.test.tsx +0 -9
- package/src/components/InfoRow/InfoRow.tsx +0 -21
- package/src/components/InfoRow/index.ts +0 -1
- package/src/components/LinkButton/LinkButton.module.css +0 -22
- package/src/components/LinkButton/LinkButton.test.tsx +0 -9
- package/src/components/LinkButton/LinkButton.tsx +0 -17
- package/src/components/LinkButton/index.ts +0 -1
- package/src/components/LocationCard/LocationCard.module.css +0 -61
- package/src/components/LocationCard/LocationCard.test.tsx +0 -9
- package/src/components/LocationCard/LocationCard.tsx +0 -27
- package/src/components/LocationCard/index.ts +0 -1
- package/src/components/Logo/Logo.module.css +0 -30
- package/src/components/Logo/Logo.tsx +0 -18
- package/src/components/Logo/index.ts +0 -1
- package/src/components/MetricCard/MetricCard.module.css +0 -27
- package/src/components/MetricCard/MetricCard.test.tsx +0 -10
- package/src/components/MetricCard/MetricCard.tsx +0 -19
- package/src/components/MetricCard/index.ts +0 -1
- package/src/components/Navbar/Navbar.module.css +0 -87
- package/src/components/Navbar/Navbar.test.tsx +0 -21
- package/src/components/Navbar/Navbar.tsx +0 -77
- package/src/components/Navbar/index.ts +0 -1
- package/src/components/NotificationItem/NotificationItem.module.css +0 -73
- package/src/components/NotificationItem/NotificationItem.test.tsx +0 -22
- package/src/components/NotificationItem/NotificationItem.tsx +0 -30
- package/src/components/NotificationItem/index.ts +0 -1
- package/src/components/NotificationRow/NotificationRow.module.css +0 -49
- package/src/components/NotificationRow/NotificationRow.test.tsx +0 -15
- package/src/components/NotificationRow/NotificationRow.tsx +0 -26
- package/src/components/NotificationRow/index.ts +0 -1
- package/src/components/OutcomeModal/OutcomeModal.module.css +0 -101
- package/src/components/OutcomeModal/OutcomeModal.test.tsx +0 -15
- package/src/components/OutcomeModal/OutcomeModal.tsx +0 -45
- package/src/components/OutcomeModal/index.ts +0 -1
- package/src/components/Pagination/Pagination.module.css +0 -27
- package/src/components/Pagination/Pagination.test.tsx +0 -25
- package/src/components/Pagination/Pagination.tsx +0 -41
- package/src/components/Pagination/index.ts +0 -1
- package/src/components/ParcelCard/ParcelCard.module.css +0 -34
- package/src/components/ParcelCard/ParcelCard.test.tsx +0 -17
- package/src/components/ParcelCard/ParcelCard.tsx +0 -21
- package/src/components/ParcelCard/index.ts +0 -1
- package/src/components/ParcelRow/ParcelRow.module.css +0 -25
- package/src/components/ParcelRow/ParcelRow.test.tsx +0 -18
- package/src/components/ParcelRow/ParcelRow.tsx +0 -31
- package/src/components/ParcelRow/index.ts +0 -1
- package/src/components/ParcelTimeline/ParcelTimeline.module.css +0 -68
- package/src/components/ParcelTimeline/ParcelTimeline.test.tsx +0 -17
- package/src/components/ParcelTimeline/ParcelTimeline.tsx +0 -33
- package/src/components/ParcelTimeline/index.ts +0 -1
- package/src/components/PhotoUpload/PhotoUpload.module.css +0 -39
- package/src/components/PhotoUpload/PhotoUpload.test.tsx +0 -16
- package/src/components/PhotoUpload/PhotoUpload.tsx +0 -29
- package/src/components/PhotoUpload/index.ts +0 -1
- package/src/components/ProcessBadge/ProcessBadge.module.css +0 -29
- package/src/components/ProcessBadge/ProcessBadge.test.tsx +0 -9
- package/src/components/ProcessBadge/ProcessBadge.tsx +0 -19
- package/src/components/ProcessBadge/index.ts +0 -1
- package/src/components/ProgressBar/ProgressBar.module.css +0 -56
- package/src/components/ProgressBar/ProgressBar.test.tsx +0 -18
- package/src/components/ProgressBar/ProgressBar.tsx +0 -33
- package/src/components/ProgressBar/index.ts +0 -1
- package/src/components/QrScanner/QrScanner.module.css +0 -50
- package/src/components/QrScanner/QrScanner.test.tsx +0 -20
- package/src/components/QrScanner/QrScanner.tsx +0 -27
- package/src/components/QrScanner/index.ts +0 -1
- package/src/components/QuestionSearch/QuestionSearch.module.css +0 -28
- package/src/components/QuestionSearch/QuestionSearch.test.tsx +0 -15
- package/src/components/QuestionSearch/QuestionSearch.tsx +0 -26
- package/src/components/QuestionSearch/index.ts +0 -1
- package/src/components/QuickActionCard/QuickActionCard.module.css +0 -31
- package/src/components/QuickActionCard/QuickActionCard.test.tsx +0 -20
- package/src/components/QuickActionCard/QuickActionCard.tsx +0 -22
- package/src/components/QuickActionCard/index.ts +0 -1
- package/src/components/Radio/Radio.module.css +0 -53
- package/src/components/Radio/Radio.test.tsx +0 -20
- package/src/components/Radio/Radio.tsx +0 -20
- package/src/components/Radio/index.ts +0 -1
- package/src/components/RelayCard/RelayCard.module.css +0 -38
- package/src/components/RelayCard/RelayCard.test.tsx +0 -22
- package/src/components/RelayCard/RelayCard.tsx +0 -31
- package/src/components/RelayCard/index.ts +0 -1
- package/src/components/RelayResultCard/RelayResultCard.module.css +0 -82
- package/src/components/RelayResultCard/RelayResultCard.test.tsx +0 -10
- package/src/components/RelayResultCard/RelayResultCard.tsx +0 -34
- package/src/components/RelayResultCard/index.ts +0 -1
- package/src/components/ResetPasswordCard/ResetPasswordCard.module.css +0 -102
- package/src/components/ResetPasswordCard/ResetPasswordCard.test.tsx +0 -16
- package/src/components/ResetPasswordCard/ResetPasswordCard.tsx +0 -45
- package/src/components/ResetPasswordCard/index.ts +0 -1
- package/src/components/SearchBar/SearchBar.module.css +0 -33
- package/src/components/SearchBar/SearchBar.test.tsx +0 -19
- package/src/components/SearchBar/SearchBar.tsx +0 -18
- package/src/components/SearchBar/index.ts +0 -1
- package/src/components/Select/Select.module.css +0 -64
- package/src/components/Select/Select.test.tsx +0 -24
- package/src/components/Select/Select.tsx +0 -60
- package/src/components/Select/index.ts +0 -1
- package/src/components/ShipmentStatus/ShipmentStatus.module.css +0 -41
- package/src/components/ShipmentStatus/ShipmentStatus.test.tsx +0 -14
- package/src/components/ShipmentStatus/ShipmentStatus.tsx +0 -52
- package/src/components/ShipmentStatus/index.ts +0 -1
- package/src/components/Sidebar/Sidebar.module.css +0 -79
- package/src/components/Sidebar/Sidebar.test.tsx +0 -21
- package/src/components/Sidebar/Sidebar.tsx +0 -98
- package/src/components/Sidebar/index.ts +0 -1
- package/src/components/SidebarNavItem/SidebarNavItem.module.css +0 -21
- package/src/components/SidebarNavItem/SidebarNavItem.test.tsx +0 -20
- package/src/components/SidebarNavItem/SidebarNavItem.tsx +0 -22
- package/src/components/SidebarNavItem/index.ts +0 -1
- package/src/components/Skeleton/Skeleton.module.css +0 -22
- package/src/components/Skeleton/Skeleton.test.tsx +0 -9
- package/src/components/Skeleton/Skeleton.tsx +0 -13
- package/src/components/Skeleton/index.ts +0 -1
- package/src/components/StatCard/StatCard.module.css +0 -22
- package/src/components/StatCard/StatCard.test.tsx +0 -9
- package/src/components/StatCard/StatCard.tsx +0 -19
- package/src/components/StatCard/index.ts +0 -1
- package/src/components/StatusSummary/StatusSummary.module.css +0 -43
- package/src/components/StatusSummary/StatusSummary.test.tsx +0 -9
- package/src/components/StatusSummary/StatusSummary.tsx +0 -32
- package/src/components/StatusSummary/index.ts +0 -1
- package/src/components/StepCard/StepCard.module.css +0 -48
- package/src/components/StepCard/StepCard.test.tsx +0 -9
- package/src/components/StepCard/StepCard.tsx +0 -27
- package/src/components/StepCard/index.ts +0 -1
- package/src/components/Stepper/Stepper.module.css +0 -66
- package/src/components/Stepper/Stepper.test.tsx +0 -20
- package/src/components/Stepper/Stepper.tsx +0 -39
- package/src/components/Stepper/index.ts +0 -1
- package/src/components/StepsList/StepsList.module.css +0 -35
- package/src/components/StepsList/StepsList.test.tsx +0 -10
- package/src/components/StepsList/StepsList.tsx +0 -24
- package/src/components/StepsList/index.ts +0 -1
- package/src/components/SuccessFeedback/SuccessFeedback.module.css +0 -42
- package/src/components/SuccessFeedback/SuccessFeedback.test.tsx +0 -9
- package/src/components/SuccessFeedback/SuccessFeedback.tsx +0 -21
- package/src/components/SuccessFeedback/index.ts +0 -1
- package/src/components/Switch/Switch.module.css +0 -57
- package/src/components/Switch/Switch.test.tsx +0 -20
- package/src/components/Switch/Switch.tsx +0 -22
- package/src/components/Switch/index.ts +0 -1
- package/src/components/Tabs/Tabs.module.css +0 -26
- package/src/components/Tabs/Tabs.test.tsx +0 -34
- package/src/components/Tabs/Tabs.tsx +0 -38
- package/src/components/Tabs/index.ts +0 -1
- package/src/components/Tag/Tag.module.css +0 -39
- package/src/components/Tag/Tag.test.tsx +0 -24
- package/src/components/Tag/Tag.tsx +0 -25
- package/src/components/Tag/index.ts +0 -1
- package/src/components/TextField/TextField.module.css +0 -55
- package/src/components/TextField/TextField.test.tsx +0 -24
- package/src/components/TextField/TextField.tsx +0 -37
- package/src/components/TextField/index.ts +0 -1
- package/src/components/Toast/Toast.module.css +0 -72
- package/src/components/Toast/Toast.test.tsx +0 -20
- package/src/components/Toast/Toast.tsx +0 -32
- package/src/components/Toast/index.ts +0 -1
- package/src/components/Tooltip/Tooltip.module.css +0 -37
- package/src/components/Tooltip/Tooltip.test.tsx +0 -22
- package/src/components/Tooltip/Tooltip.tsx +0 -20
- package/src/components/Tooltip/index.ts +0 -1
- package/src/components/TrackingBadge/TrackingBadge.module.css +0 -10
- package/src/components/TrackingBadge/TrackingBadge.test.tsx +0 -9
- package/src/components/TrackingBadge/TrackingBadge.tsx +0 -9
- package/src/components/TrackingBadge/index.ts +0 -1
- package/src/components/TrackingCard/TrackingCard.module.css +0 -128
- package/src/components/TrackingCard/TrackingCard.test.tsx +0 -10
- package/src/components/TrackingCard/TrackingCard.tsx +0 -58
- package/src/components/TrackingCard/index.ts +0 -1
- package/src/components/TrackingSearch/TrackingSearch.module.css +0 -35
- package/src/components/TrackingSearch/TrackingSearch.test.tsx +0 -15
- package/src/components/TrackingSearch/TrackingSearch.tsx +0 -24
- package/src/components/TrackingSearch/index.ts +0 -1
- package/src/components/ValueCard/ValueCard.module.css +0 -38
- package/src/components/ValueCard/ValueCard.test.tsx +0 -9
- package/src/components/ValueCard/ValueCard.tsx +0 -24
- package/src/components/ValueCard/index.ts +0 -1
- package/src/lib/cn.ts +0 -3
- package/src/main.tsx +0 -10
- package/src/styles/global.css +0 -36
- package/src/styles/tokens.css +0 -61
- package/src/test/setup.ts +0 -9
- package/src/vite-env.d.ts +0 -1
- package/tsconfig.app.json +0 -25
- package/tsconfig.app.tsbuildinfo +0 -1
- package/tsconfig.json +0 -7
- package/tsconfig.node.json +0 -18
- package/tsconfig.node.tsbuildinfo +0 -1
- package/vite.config.ts +0 -12
- package/vitest.config.ts +0 -22
package/README.md
CHANGED
|
@@ -1,93 +1,101 @@
|
|
|
1
|
-
#
|
|
1
|
+
# LeRelais Front Library
|
|
2
2
|
|
|
3
|
+
Bibliothèque de composants UI React et tokens de design pour l'écosystème **LeRelais**.
|
|
3
4
|
|
|
5
|
+
---
|
|
4
6
|
|
|
5
|
-
##
|
|
7
|
+
## 📦 Installation
|
|
6
8
|
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
Already a pro? Just edit this README.md and make it your own. Want to make it easy? [Use the template at the bottom](#editing-this-readme)!
|
|
10
|
-
|
|
11
|
-
## Add your files
|
|
12
|
-
|
|
13
|
-
* [Create](https://docs.gitlab.com/user/project/repository/web_editor/#create-a-file) or [upload](https://docs.gitlab.com/user/project/repository/web_editor/#upload-a-file) files
|
|
14
|
-
* [Add files using the command line](https://docs.gitlab.com/topics/git/add_files/#add-files-to-a-git-repository) or push an existing Git repository with the following command:
|
|
9
|
+
Dans le projet client (qui doit avoir `react` et `react-dom` en version >= 18 ou 19) :
|
|
15
10
|
|
|
11
|
+
```bash
|
|
12
|
+
npm install lerelais-front-library
|
|
16
13
|
```
|
|
17
|
-
cd existing_repo
|
|
18
|
-
git remote add origin https://gitlab.com/lerelais1/library.git
|
|
19
|
-
git branch -M main
|
|
20
|
-
git push -uf origin main
|
|
21
|
-
```
|
|
22
|
-
|
|
23
|
-
## Integrate with your tools
|
|
24
14
|
|
|
25
|
-
|
|
15
|
+
ou avec Yarn / pnpm :
|
|
26
16
|
|
|
27
|
-
|
|
17
|
+
```bash
|
|
18
|
+
yarn add lerelais-front-library
|
|
19
|
+
# ou
|
|
20
|
+
pnpm add lerelais-front-library
|
|
21
|
+
```
|
|
28
22
|
|
|
29
|
-
|
|
30
|
-
* [Create a new merge request](https://docs.gitlab.com/user/project/merge_requests/creating_merge_requests/)
|
|
31
|
-
* [Automatically close issues from merge requests](https://docs.gitlab.com/user/project/issues/managing_issues/#closing-issues-automatically)
|
|
32
|
-
* [Enable merge request approvals](https://docs.gitlab.com/user/project/merge_requests/approvals/)
|
|
33
|
-
* [Set auto-merge](https://docs.gitlab.com/user/project/merge_requests/auto_merge/)
|
|
23
|
+
---
|
|
34
24
|
|
|
35
|
-
##
|
|
25
|
+
## 🎨 Importation des styles
|
|
36
26
|
|
|
37
|
-
|
|
27
|
+
Pour appliquer les variables de style (tokens) et le CSS des composants, importez la feuille de style globale dans le point d'entrée de votre application (ex: `main.tsx`, `index.tsx` ou `_app.tsx`) :
|
|
38
28
|
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
* [Use pull-based deployments for improved Kubernetes management](https://docs.gitlab.com/user/clusters/agent/)
|
|
43
|
-
* [Set up protected environments](https://docs.gitlab.com/ci/environments/protected_environments/)
|
|
29
|
+
```tsx
|
|
30
|
+
import 'lerelais-front-library/dist/style.css';
|
|
31
|
+
```
|
|
44
32
|
|
|
45
|
-
|
|
33
|
+
---
|
|
46
34
|
|
|
47
|
-
|
|
35
|
+
## 🚀 Utilisation
|
|
48
36
|
|
|
49
|
-
|
|
37
|
+
Les composants et utilitaires peuvent être importés directement :
|
|
50
38
|
|
|
51
|
-
|
|
39
|
+
```tsx
|
|
40
|
+
import { Button, Alert, Badge, TrackingCard } from 'lerelais-front-library';
|
|
52
41
|
|
|
53
|
-
|
|
42
|
+
export function Example() {
|
|
43
|
+
return (
|
|
44
|
+
<div>
|
|
45
|
+
<Alert type="info">Bienvenue sur la plateforme LeRelais</Alert>
|
|
54
46
|
|
|
55
|
-
|
|
56
|
-
|
|
47
|
+
<Button variant="primary" onClick={() => console.log('Action')}>
|
|
48
|
+
Continuer
|
|
49
|
+
</Button>
|
|
57
50
|
|
|
58
|
-
|
|
59
|
-
|
|
51
|
+
<Badge status="en_transit" />
|
|
52
|
+
</div>
|
|
53
|
+
);
|
|
54
|
+
}
|
|
55
|
+
```
|
|
60
56
|
|
|
61
|
-
|
|
62
|
-
On some READMEs, you may see small images that convey metadata, such as whether or not all the tests are passing for the project. You can use Shields to add some to your README. Many services also have instructions for adding a badge.
|
|
57
|
+
### TypeScript
|
|
63
58
|
|
|
64
|
-
|
|
65
|
-
Depending on what you are making, it can be a good idea to include screenshots or even a video (you'll frequently see GIFs rather than actual videos). Tools like ttygif can help, but check out Asciinema for a more sophisticated method.
|
|
59
|
+
Le package inclut l'intégralité des définitions TypeScript (`.d.ts`). Les types de props et énumérations sont également exportés :
|
|
66
60
|
|
|
67
|
-
|
|
68
|
-
|
|
61
|
+
```tsx
|
|
62
|
+
import type { ButtonProps, ButtonVariant, AlertType } from 'lerelais-front-library';
|
|
63
|
+
```
|
|
69
64
|
|
|
70
|
-
|
|
71
|
-
Use examples liberally, and show the expected output if you can. It's helpful to have inline the smallest example of usage that you can demonstrate, while providing links to more sophisticated examples if they are too long to reasonably include in the README.
|
|
65
|
+
---
|
|
72
66
|
|
|
73
|
-
##
|
|
74
|
-
Tell people where they can go to for help. It can be any combination of an issue tracker, a chat room, an email address, etc.
|
|
67
|
+
## 🛠️ Développement local
|
|
75
68
|
|
|
76
|
-
|
|
77
|
-
|
|
69
|
+
- **Démarrer le catalogue de démonstration :**
|
|
70
|
+
```bash
|
|
71
|
+
npm run dev
|
|
72
|
+
```
|
|
73
|
+
- **Lancer les tests :**
|
|
74
|
+
```bash
|
|
75
|
+
npm run test:run
|
|
76
|
+
```
|
|
77
|
+
- **Construire la librairie pour publication :**
|
|
78
|
+
```bash
|
|
79
|
+
npm run build
|
|
80
|
+
```
|
|
78
81
|
|
|
79
|
-
|
|
80
|
-
State if you are open to contributions and what your requirements are for accepting them.
|
|
82
|
+
---
|
|
81
83
|
|
|
82
|
-
|
|
84
|
+
## 🚢 Publication sur npm
|
|
83
85
|
|
|
84
|
-
|
|
86
|
+
1. **Vérifier la version dans `package.json` :**
|
|
87
|
+
```bash
|
|
88
|
+
npm version patch # ou minor / major
|
|
89
|
+
```
|
|
85
90
|
|
|
86
|
-
|
|
87
|
-
|
|
91
|
+
2. **Se connecter au registre npm :**
|
|
92
|
+
```bash
|
|
93
|
+
npm login
|
|
94
|
+
```
|
|
88
95
|
|
|
89
|
-
|
|
90
|
-
|
|
96
|
+
3. **Publier :**
|
|
97
|
+
```bash
|
|
98
|
+
npm publish --access public
|
|
99
|
+
```
|
|
91
100
|
|
|
92
|
-
|
|
93
|
-
If you have run out of energy or time for your project, put a note at the top of the README saying that development has slowed down or stopped completely. Someone may choose to fork your project or volunteer to step in as a maintainer or owner, allowing your project to keep going. You can also make an explicit request for maintainers.
|
|
101
|
+
*(Le script `prepublishOnly` exécutera automatiquement les tests et le build avant publication).*
|
package/dist/index.cjs
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),j=require("react");function o(...s){return s.filter(Boolean).join(" ")}const P2="data:image/svg+xml,%3csvg%20preserveAspectRatio='none'%20overflow='visible'%20style='display:%20block;'%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='icon-alert-triangle'%3e%3cpath%20id='Vector'%20d='M21.73%2018L13.73%204C13.5556%203.6922%2013.3026%203.43619%2012.9969%203.25807C12.6912%203.07995%2012.3438%202.9861%2011.99%202.9861C11.6362%202.9861%2011.2888%203.07995%2010.9831%203.25807C10.6774%203.43619%2010.4244%203.6922%2010.25%204L2.25%2018C2.07368%2018.3054%201.98123%2018.6519%201.98201%2019.0045C1.98279%2019.3571%202.07678%2019.7032%202.25445%2020.0078C2.43211%2020.3124%202.68715%2020.5646%202.9937%2020.7388C3.30024%2020.9131%203.64741%2021.0032%204%2021H20C20.3509%2020.9996%2020.6955%2020.907%2020.9993%2020.7313C21.303%2020.5556%2021.5552%2020.3031%2021.7305%2019.9991C21.9058%2019.6951%2021.998%2019.3504%2021.9979%2018.9995C21.9979%2018.6486%2021.9054%2018.3039%2021.73%2018Z'%20stroke='white'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20id='Vector_2'%20d='M12%209V13'%20stroke='white'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20id='Vector_3'%20d='M12%2017H12.01'%20stroke='white'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/g%3e%3c/svg%3e",F2="data:image/svg+xml,%3csvg%20preserveAspectRatio='none'%20overflow='visible'%20style='display:%20block;'%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='arrow-right'%3e%3cpath%20id='Vector'%20d='M3.3328%208H12.6672M8%2012.6672L12.6672%208L8%203.3328'%20stroke='%23D34860'%20stroke-width='2'%20stroke-linecap='round'/%3e%3c/g%3e%3c/svg%3e",q2="data:image/svg+xml,%3csvg%20preserveAspectRatio='none'%20overflow='visible'%20style='display:%20block;'%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='icon-bell'%3e%3cpath%20id='Vector'%20d='M4%205.33333C4%204.27247%204.42143%203.25505%205.17157%202.50491C5.92172%201.75476%206.93913%201.33333%208%201.33333C9.06087%201.33333%2010.0783%201.75476%2010.8284%202.50491C11.5786%203.25505%2012%204.27247%2012%205.33333C12%2010%2014%2011.3333%2014%2011.3333H2C2%2011.3333%204%2010%204%205.33333Z'%20stroke='%23606978'%20stroke-width='1.33333'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20id='Vector_2'%20d='M6.86667%2014C6.97826%2014.203%207.1423%2014.3722%207.34166%2014.4901C7.54102%2014.608%207.76839%2014.6702%208%2014.6702C8.23161%2014.6702%208.45898%2014.608%208.65834%2014.4901C8.8577%2014.3722%209.02174%2014.203%209.13333%2014'%20stroke='%23606978'%20stroke-width='1.33333'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/g%3e%3c/svg%3e",U2="data:image/svg+xml,%3csvg%20preserveAspectRatio='none'%20overflow='visible'%20style='display:%20block;'%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='chevron-down'%3e%3cpath%20id='Vector'%20d='M4%206L8%2010L12%206'%20stroke='%23D34860'%20stroke-width='2'%20stroke-linecap='round'/%3e%3c/g%3e%3c/svg%3e",H2="data:image/svg+xml,%3csvg%20preserveAspectRatio='none'%20overflow='visible'%20style='display:%20block;'%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='chevron-right'%3e%3cpath%20id='Vector'%20d='M6%2012L10%208L6%204'%20stroke='%23606978'%20stroke-width='2'%20stroke-linecap='round'/%3e%3c/g%3e%3c/svg%3e",O2="data:image/svg+xml,%3csvg%20preserveAspectRatio='none'%20overflow='visible'%20style='display:%20block;'%20width='12'%20height='12'%20viewBox='0%200%2012%2012'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='icon-clock'%20clip-path='url(%23clip0_0_10)'%3e%3cpath%20id='Vector'%20d='M6%2011C8.76142%2011%2011%208.76142%2011%206C11%203.23858%208.76142%201%206%201C3.23858%201%201%203.23858%201%206C1%208.76142%203.23858%2011%206%2011Z'%20stroke='%239CA3AF'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20id='Vector_2'%20d='M6%203V6L8%207'%20stroke='%239CA3AF'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_0_10'%3e%3crect%20width='12'%20height='12'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",Z2="data:image/svg+xml,%3csvg%20preserveAspectRatio='none'%20overflow='visible'%20style='display:%20block;'%20width='14'%20height='14'%20viewBox='0%200%2014%2014'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='clock'%20clip-path='url(%23clip0_0_5)'%3e%3cpath%20id='Vector'%20d='M7%203.49972V7L9.33352%208.16676M12.8338%207C12.8338%2010.2219%2010.2219%2012.8338%207%2012.8338C3.77808%2012.8338%201.1662%2010.2219%201.1662%207C1.1662%203.77808%203.77808%201.1662%207%201.1662C10.2219%201.1662%2012.8338%203.77808%2012.8338%207Z'%20stroke='%23606978'%20stroke-width='2'%20stroke-linecap='round'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_0_5'%3e%3crect%20width='14'%20height='14'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",Q2="data:image/svg+xml,%3csvg%20preserveAspectRatio='none'%20overflow='visible'%20style='display:%20block;'%20width='12'%20height='12'%20viewBox='0%200%2012%2012'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='x'%3e%3cpath%20id='Vector'%20d='M9%203L3%209M3%203L9%209'%20stroke='%233E4652'%20stroke-width='2'%20stroke-linecap='round'/%3e%3c/g%3e%3c/svg%3e",G2="data:image/svg+xml,%3csvg%20preserveAspectRatio='none'%20overflow='visible'%20style='display:%20block;'%20width='20'%20height='20'%20viewBox='0%200%2020%2020'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='heart'%3e%3cpath%20id='Vector'%20d='M2.47284%205.31987C1.94735%206.08397%201.66602%206.9895%201.666%207.91684C1.666%209.83352%202.9161%2011.2502%204.16619%2012.5002L8.75654%2016.9436C8.91408%2017.12%209.10734%2017.2608%209.32349%2017.3567C9.53964%2017.4526%209.77374%2017.5015%2010.0102%2017.5C10.2467%2017.4985%2010.4801%2017.4467%2010.6951%2017.348C10.91%2017.2494%2011.1014%2017.1061%2011.2567%2016.9278L15.8338%2012.5002C17.0839%2011.2502%2018.3339%209.82519%2018.3339%207.91684C18.3384%206.98746%2018.0596%206.07878%2017.5348%205.31173C17.01%204.54468%2016.264%203.95565%2015.3961%203.62303C14.5282%203.29042%2013.5796%203.22999%2012.6765%203.4498C11.7735%203.6696%2010.9587%204.15922%2010.3408%204.85348C10.2972%204.90015%2010.2444%204.93737%2010.1858%204.96281C10.1271%204.98825%2010.0639%205.00138%209.99997%205.00138C9.93606%205.00138%209.87282%204.98825%209.81419%204.96281C9.75556%204.93737%209.70277%204.90015%209.65911%204.85348C9.03925%204.1637%208.22473%203.67817%207.32311%203.461C6.4215%203.24383%205.47521%203.30524%204.60923%203.63713C3.74326%203.96902%202.99833%204.55576%202.47284%205.31987Z'%20stroke='%23D34860'%20stroke-width='2'%20stroke-linecap='round'/%3e%3c/g%3e%3c/svg%3e",K2="data:image/svg+xml,%3csvg%20preserveAspectRatio='none'%20overflow='visible'%20style='display:%20block;'%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='icon-logOut'%3e%3cpath%20id='Vector'%20d='M6%2014H3.33333C2.97971%2014%202.64057%2013.8595%202.39052%2013.6095C2.14048%2013.3594%202%2013.0203%202%2012.6667V3.33333C2%202.97971%202.14048%202.64057%202.39052%202.39052C2.64057%202.14048%202.97971%202%203.33333%202H6'%20stroke='%23D34860'%20stroke-width='1.33333'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20id='Vector_2'%20d='M10.6667%2011.3333L14%208L10.6667%204.66667'%20stroke='%23D34860'%20stroke-width='1.33333'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20id='Vector_3'%20d='M14%208H6'%20stroke='%23D34860'%20stroke-width='1.33333'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/g%3e%3c/svg%3e",W2="data:image/svg+xml,%3csvg%20preserveAspectRatio='none'%20overflow='visible'%20style='display:%20block;'%20width='14'%20height='14'%20viewBox='0%200%2014%2014'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='map-pin'%3e%3cpath%20id='Vector'%20d='M7.35055%2012.7167C8.43544%2011.7798%2011.6662%208.74615%2011.6662%205.8333C11.6662%204.59551%2011.1746%203.40841%2010.2995%202.53316C9.42442%201.65791%208.23755%201.1662%207%201.1662C5.76245%201.1662%204.57558%201.65791%203.7005%202.53316C2.82542%203.40841%202.3338%204.59551%202.3338%205.8333C2.3338%208.74615%205.56456%2011.7798%206.64945%2012.7167C6.75052%2012.7927%206.87355%2012.8338%207%2012.8338C7.12645%2012.8338%207.24948%2012.7927%207.35055%2012.7167Z'%20stroke='%23606978'%20stroke-width='2'%20stroke-linecap='round'/%3e%3c/g%3e%3c/svg%3e",Y2="data:image/svg+xml,%3csvg%20preserveAspectRatio='none'%20overflow='visible'%20style='display:%20block;'%20width='32'%20height='32'%20viewBox='0%200%2032%2032'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='icon-package'%3e%3cpath%20id='Vector'%20d='M10%205.69333L22%2012.56'%20stroke='%23D34860'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20id='Vector_2'%20d='M28%2010.6667C27.9995%2010.199%2027.8761%209.73975%2027.6421%209.33488C27.408%208.93002%2027.0717%208.59382%2026.6667%208.36L17.3333%203.02667C16.9279%202.79262%2016.4681%202.6694%2016%202.6694C15.5319%202.6694%2015.0721%202.79262%2014.6667%203.02667L5.33333%208.36C4.92835%208.59382%204.59197%208.93002%204.35795%209.33488C4.12392%209.73975%204.00048%2010.199%204%2010.6667V21.3333C4.00048%2021.801%204.12392%2022.2603%204.35795%2022.6651C4.59197%2023.07%204.92835%2023.4062%205.33333%2023.64L14.6667%2028.9733C15.0721%2029.2074%2015.5319%2029.3306%2016%2029.3306C16.4681%2029.3306%2016.9279%2029.2074%2017.3333%2028.9733L26.6667%2023.64C27.0717%2023.4062%2027.408%2023.07%2027.6421%2022.6651C27.8761%2022.2603%2027.9995%2021.801%2028%2021.3333V10.6667Z'%20stroke='%23D34860'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20id='Vector_3'%20d='M4.4%209.33333L16%2016L27.6%209.33333'%20stroke='%23D34860'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20id='Vector_4'%20d='M16%2029.3333V16'%20stroke='%23D34860'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/g%3e%3c/svg%3e",J2="data:image/svg+xml,%3csvg%20preserveAspectRatio='none'%20overflow='visible'%20style='display:%20block;'%20width='18'%20height='18'%20viewBox='0%200%2018%2018'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='icon-package'%3e%3cpath%20id='Vector'%20d='M5.625%203.2025L12.375%207.065'%20stroke='%23606978'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20id='Vector_2'%20d='M15.75%206C15.7497%205.73696%2015.6803%205.47861%2015.5487%205.25087C15.417%205.02314%2015.2278%204.83402%2015%204.7025L9.75%201.7025C9.52197%201.57085%209.2633%201.50154%209%201.50154C8.7367%201.50154%208.47803%201.57085%208.25%201.7025L3%204.7025C2.7722%204.83402%202.58299%205.02314%202.45135%205.25087C2.31971%205.47861%202.25027%205.73696%202.25%206V12C2.25027%2012.263%202.31971%2012.5214%202.45135%2012.7491C2.58299%2012.9769%202.7722%2013.166%203%2013.2975L8.25%2016.2975C8.47803%2016.4292%208.7367%2016.4985%209%2016.4985C9.2633%2016.4985%209.52197%2016.4292%209.75%2016.2975L15%2013.2975C15.2278%2013.166%2015.417%2012.9769%2015.5487%2012.7491C15.6803%2012.5214%2015.7497%2012.263%2015.75%2012V6Z'%20stroke='%23606978'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20id='Vector_3'%20d='M2.475%205.25L9%209L15.525%205.25'%20stroke='%23606978'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20id='Vector_4'%20d='M9%2016.5V9'%20stroke='%23606978'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/g%3e%3c/svg%3e",X2="data:image/svg+xml,%3csvg%20preserveAspectRatio='none'%20overflow='visible'%20style='display:%20block;'%20width='18'%20height='18'%20viewBox='0%200%2018%2018'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='icon-package'%3e%3cpath%20id='Vector'%20d='M5.625%203.2025L12.375%207.065'%20stroke='white'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20id='Vector_2'%20d='M15.75%206C15.7497%205.73696%2015.6803%205.47861%2015.5487%205.25087C15.417%205.02314%2015.2278%204.83402%2015%204.7025L9.75%201.7025C9.52197%201.57085%209.2633%201.50154%209%201.50154C8.7367%201.50154%208.47803%201.57085%208.25%201.7025L3%204.7025C2.7722%204.83402%202.58299%205.02314%202.45135%205.25087C2.31971%205.47861%202.25027%205.73696%202.25%206V12C2.25027%2012.263%202.31971%2012.5214%202.45135%2012.7491C2.58299%2012.9769%202.7722%2013.166%203%2013.2975L8.25%2016.2975C8.47803%2016.4292%208.7367%2016.4985%209%2016.4985C9.2633%2016.4985%209.52197%2016.4292%209.75%2016.2975L15%2013.2975C15.2278%2013.166%2015.417%2012.9769%2015.5487%2012.7491C15.6803%2012.5214%2015.7497%2012.263%2015.75%2012V6Z'%20stroke='white'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20id='Vector_3'%20d='M2.475%205.25L9%209L15.525%205.25'%20stroke='white'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20id='Vector_4'%20d='M9%2016.5V9'%20stroke='white'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/g%3e%3c/svg%3e",ee="data:image/svg+xml,%3csvg%20preserveAspectRatio='none'%20overflow='visible'%20style='display:%20block;'%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='icon-plus'%3e%3cpath%20id='Vector'%20d='M3.33333%208H12.6667'%20stroke='white'%20stroke-width='1.66667'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20id='Vector_2'%20d='M8%203.33333V12.6667'%20stroke='white'%20stroke-width='1.66667'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/g%3e%3c/svg%3e",se="data:image/svg+xml,%3csvg%20preserveAspectRatio='none'%20overflow='visible'%20style='display:%20block;'%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='icon-settings'%3e%3cpath%20id='Vector'%20d='M8.14667%201.33333H7.85333C7.49971%201.33333%207.16057%201.47381%206.91052%201.72386C6.66048%201.97391%206.52%202.31304%206.52%202.66667V2.78667C6.51976%203.02048%206.45804%203.25013%206.34103%203.45256C6.22401%203.65499%206.05582%203.82309%205.85333%203.94L5.56667%204.10667C5.36397%204.22369%205.13405%204.2853%204.9%204.2853C4.66595%204.2853%204.43603%204.22369%204.23333%204.10667L4.13333%204.05333C3.82738%203.87684%203.46389%203.82896%203.12267%203.92021C2.78144%204.01145%202.49037%204.23436%202.31333%204.54L2.16667%204.79333C1.99018%205.09929%201.9423%205.46278%202.03354%205.804C2.12478%206.14522%202.34769%206.4363%202.65333%206.61333L2.75333%206.68C2.95485%206.79634%203.12241%206.96339%203.23937%207.16455C3.35632%207.36572%203.4186%207.59398%203.42%207.82667V8.16667C3.42093%208.40161%203.35977%208.63264%203.2427%208.83634C3.12562%209.04004%202.95681%209.20919%202.75333%209.32667L2.65333%209.38667C2.34769%209.5637%202.12478%209.85478%202.03354%2010.196C1.9423%2010.5372%201.99018%2010.9007%202.16667%2011.2067L2.31333%2011.46C2.49037%2011.7656%202.78144%2011.9886%203.12267%2012.0798C3.46389%2012.171%203.82738%2012.1232%204.13333%2011.9467L4.23333%2011.8933C4.43603%2011.7763%204.66595%2011.7147%204.9%2011.7147C5.13405%2011.7147%205.36397%2011.7763%205.56667%2011.8933L5.85333%2012.06C6.05582%2012.1769%206.22401%2012.345%206.34103%2012.5474C6.45804%2012.7499%206.51976%2012.9795%206.52%2013.2133V13.3333C6.52%2013.687%206.66048%2014.0261%206.91052%2014.2761C7.16057%2014.5262%207.49971%2014.6667%207.85333%2014.6667H8.14667C8.50029%2014.6667%208.83943%2014.5262%209.08948%2014.2761C9.33952%2014.0261%209.48%2013.687%209.48%2013.3333V13.2133C9.48024%2012.9795%209.54196%2012.7499%209.65897%2012.5474C9.77599%2012.345%209.94418%2012.1769%2010.1467%2012.06L10.4333%2011.8933C10.636%2011.7763%2010.866%2011.7147%2011.1%2011.7147C11.334%2011.7147%2011.564%2011.7763%2011.7667%2011.8933L11.8667%2011.9467C12.1726%2012.1232%2012.5361%2012.171%2012.8773%2012.0798C13.2186%2011.9886%2013.5096%2011.7656%2013.6867%2011.46L13.8333%2011.2C14.0098%2010.894%2014.0577%2010.5306%2013.9665%2010.1893C13.8752%209.84811%2013.6523%209.55703%2013.3467%209.38L13.2467%209.32667C13.0432%209.20919%2012.8744%209.04004%2012.7573%208.83634C12.6402%208.63264%2012.5791%208.40161%2012.58%208.16667V7.83333C12.5791%207.59839%2012.6402%207.36736%2012.7573%207.16366C12.8744%206.95996%2013.0432%206.79081%2013.2467%206.67333L13.3467%206.61333C13.6523%206.4363%2013.8752%206.14522%2013.9665%205.804C14.0577%205.46278%2014.0098%205.09929%2013.8333%204.79333L13.6867%204.54C13.5096%204.23436%2013.2186%204.01145%2012.8773%203.92021C12.5361%203.82896%2012.1726%203.87684%2011.8667%204.05333L11.7667%204.10667C11.564%204.22369%2011.334%204.2853%2011.1%204.2853C10.866%204.2853%2010.636%204.22369%2010.4333%204.10667L10.1467%203.94C9.94418%203.82309%209.77599%203.65499%209.65897%203.45256C9.54196%203.25013%209.48024%203.02048%209.48%202.78667V2.66667C9.48%202.31304%209.33952%201.97391%209.08948%201.72386C8.83943%201.47381%208.50029%201.33333%208.14667%201.33333Z'%20stroke='%23606978'%20stroke-width='1.33333'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20id='Vector_2'%20d='M8%2010C9.10457%2010%2010%209.10457%2010%208C10%206.89543%209.10457%206%208%206C6.89543%206%206%206.89543%206%208C6%209.10457%206.89543%2010%208%2010Z'%20stroke='%23606978'%20stroke-width='1.33333'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/g%3e%3c/svg%3e",te="data:image/svg+xml,%3csvg%20preserveAspectRatio='none'%20overflow='visible'%20style='display:%20block;'%20width='32'%20height='32'%20viewBox='0%200%2032%2032'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='upload-cloud'%3e%3cpath%20id='Vector'%20d='M16.0007%2017.333V28M21.3337%2022.6665L16.0007%2017.333L10.6676%2022.6665M5.33506%2019.8654C4.34451%2018.8533%203.59725%2017.629%203.1499%2016.2853C2.70255%2014.9415%202.56683%2013.5136%202.75302%2012.1096C2.93922%2010.7057%203.44244%209.36247%204.22458%208.18182C5.00673%207.00116%206.04727%206.01399%207.2674%205.29509C8.48753%204.57618%209.85524%204.14439%2011.267%204.03242C12.6787%203.92045%2014.0973%204.13123%2015.4155%204.64881C16.7337%205.16639%2017.9168%205.97719%2018.8753%207.01978C19.8337%208.06238%2020.5424%209.30944%2020.9475%2010.6665H23.3341C24.6213%2010.6664%2025.8745%2011.0803%2026.9085%2011.8471C27.9425%2012.614%2028.7024%2013.6931%2029.0761%2014.925C29.4497%2016.157%2029.4173%2017.4765%2028.9835%2018.6886C28.5497%2019.9007%2027.7376%2020.9411%2026.6672%2021.6562'%20stroke='%23606978'%20stroke-width='2'%20stroke-linecap='round'/%3e%3c/g%3e%3c/svg%3e",ne="data:image/svg+xml,%3csvg%20preserveAspectRatio='none'%20overflow='visible'%20style='display:%20block;'%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='icon-user'%3e%3cpath%20id='Vector'%20d='M12.6667%2014V12.6667C12.6667%2011.9594%2012.3857%2011.2811%2011.8856%2010.781C11.3855%2010.281%2010.7072%2010%2010%2010H6C5.29276%2010%204.61448%2010.281%204.11438%2010.781C3.61428%2011.2811%203.33333%2011.9594%203.33333%2012.6667V14'%20stroke='%23606978'%20stroke-width='1.33333'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20id='Vector_2'%20d='M8%207.33333C9.47276%207.33333%2010.6667%206.13943%2010.6667%204.66667C10.6667%203.19391%209.47276%202%208%202C6.52724%202%205.33333%203.19391%205.33333%204.66667C5.33333%206.13943%206.52724%207.33333%208%207.33333Z'%20stroke='%23606978'%20stroke-width='1.33333'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/g%3e%3c/svg%3e",R2={alertTriangle:P2,arrowRight:F2,bell:q2,chevronDown:U2,chevronRight:H2,clock:O2,clockMuted:Z2,close:Q2,heart:G2,logout:K2,mapPin:W2,package:Y2,packageRead:J2,packageWhite:X2,plus:ee,settings:se,uploadCloud:te,user:ne};function p({name:s,size:t,className:n}){return e.jsx("img",{className:n,src:R2[s],alt:"",width:t,height:t})}const ce="_item_fsumz_1",ie="_heading_fsumz_7",ae="_trigger_fsumz_13",oe="_panel_fsumz_29",Q={item:ce,heading:ie,trigger:ae,panel:oe};function re({title:s,children:t,defaultOpen:n=!1,className:c}){const[i,a]=j.useState(n),r=j.useId();return e.jsxs("div",{className:o(Q.item,c),children:[e.jsx("h3",{className:Q.heading,children:e.jsxs("button",{type:"button",className:Q.trigger,"aria-expanded":i,"aria-controls":r,onClick:()=>a(l=>!l),children:[e.jsx("span",{children:s}),e.jsx(p,{name:i?"chevronDown":"chevronRight",size:16})]})}),i?e.jsx("div",{id:r,className:Q.panel,children:t}):null]})}const le="data:image/svg+xml,%3csvg%20preserveAspectRatio='none'%20overflow='visible'%20style='display:%20block;'%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='check'%3e%3cpath%20id='Vector'%20d='M13.3328%204L6.0002%2011.3328L2.6672%207.99971'%20stroke='%2316A34A'%20stroke-width='2'%20stroke-linecap='round'/%3e%3c/g%3e%3c/svg%3e",de="_card_1b88j_1",_e="_primary_1b88j_15",pe="_secondary_1b88j_16",ue="_trust_1b88j_41",G={card:de,primary:_e,secondary:pe,trust:ue};function me({primaryLabel:s="Choisir ce point relais",secondaryLabel:t="Voir les relais à proximité",trust:n="Plus de 120 colis traités ce mois",onPrimary:c,onSecondary:i}){return e.jsxs("article",{className:G.card,children:[e.jsx("button",{type:"button",className:G.primary,onClick:c,children:s}),e.jsx("button",{type:"button",className:G.secondary,onClick:i,children:t}),e.jsxs("p",{className:G.trust,children:[e.jsx("img",{src:le,alt:"",width:16,height:16}),n]})]})}const he="_alert_1f1d9_1",ge="_title_1f1d9_11",xe="_message_1f1d9_16",ve="_info_1f1d9_21",be="_success_1f1d9_28",je="_warning_1f1d9_35",we="_error_1f1d9_42",K={alert:he,title:ge,message:xe,info:ve,success:be,warning:je,error:we},ke={info:"Info",success:"Success",warning:"Warning",error:"Error"};function Ce({type:s="info",title:t,children:n,className:c}){return e.jsxs("div",{className:o(K.alert,K[s],c),role:s==="error"?"alert":"status",children:[e.jsx("p",{className:K.title,children:t??ke[s]}),e.jsx("p",{className:K.message,children:n})]})}const fe="_avatar_x2t8g_1",ye="_sm_x2t8g_13",Ne="_md_x2t8g_20",$e="_lg_x2t8g_26",Le="_xl_x2t8g_32",g2={avatar:fe,sm:ye,md:Ne,lg:$e,xl:Le};function I2({initials:s,size:t="md",className:n}){return e.jsx("span",{className:o(g2.avatar,g2[t],n),"aria-hidden":"true",children:s})}const Me="_badge_c9v5s_1",Ve="_pending_c9v5s_14",Ae="_transit_c9v5s_19",Se="_available_c9v5s_24",Re="_delivered_c9v5s_29",Ie="_error_c9v5s_34",x2={badge:Me,pending:Ve,transit:Ae,available:Se,delivered:Re,error:Ie},ze={pending:"En attente",transit:"En transit",available:"Disponible",delivered:"Livré",error:"Erreur"};function Be({status:s="pending",className:t}){return e.jsx("span",{className:o(x2.badge,x2[s],t),children:ze[s]})}const De="_chart_1ssle_1",Te="_title_1ssle_12",Ee="_body_1ssle_17",Pe="_axis_1ssle_24",Fe="_bars_1ssle_32",qe="_column_1ssle_40",Ue="_bar_1ssle_32",He="_label_1ssle_54",w={chart:De,title:Te,body:Ee,axis:Pe,bars:Fe,column:qe,bar:Ue,label:He},v2=["#d34860","#e06c7e","#b8324a","#f5a3b1","#d34860"];function Oe({title:s,items:t,max:n=150,className:c}){return e.jsxs("figure",{className:o(w.chart,c),children:[e.jsx("figcaption",{className:w.title,children:s}),e.jsxs("div",{className:w.body,children:[e.jsxs("div",{className:w.axis,"aria-hidden":"true",children:[e.jsx("span",{children:n}),e.jsx("span",{children:Math.round(n*.66)}),e.jsx("span",{children:Math.round(n*.33)}),e.jsx("span",{children:"0"})]}),e.jsx("div",{className:w.bars,children:t.map((i,a)=>e.jsxs("div",{className:w.column,children:[e.jsx("span",{className:w.bar,style:{height:`${Math.min(100,i.value/n*100)}%`,background:i.color??v2[a%v2.length]}}),e.jsx("span",{className:w.label,children:i.label})]},i.label))})]})]})}const Ze="data:image/svg+xml,%3csvg%20preserveAspectRatio='none'%20overflow='visible'%20style='display:%20block;'%20width='14'%20height='14'%20viewBox='0%200%2014%2014'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='check'%3e%3cpath%20id='Vector'%20d='M11.6662%203.5L5.25017%209.9162L2.3338%206.99975'%20stroke='%23D34860'%20stroke-width='2'%20stroke-linecap='round'/%3e%3c/g%3e%3c/svg%3e",Qe="data:image/svg+xml,%3csvg%20preserveAspectRatio='none'%20overflow='visible'%20style='display:%20block;'%20width='56'%20height='56'%20viewBox='0%200%2056%2056'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='package'%3e%3cpath%20id='Vector'%20d='M28%2051.3352V28.0005M28%2028.0005L7.67676%2016.3332M28%2028.0005L48.3234%2016.3332M17.5%209.96172L38.5%2021.9791M25.6667%2050.7049C26.3761%2051.1145%2027.1808%2051.3302%2028%2051.3302C28.8192%2051.3302%2029.6239%2051.1145%2030.3333%2050.7049L46.6667%2041.3711C47.3754%2040.9619%2047.964%2040.3735%2048.3736%2039.6649C48.7831%2038.9564%2048.9992%2038.1526%2049%2037.3342V18.6664C48.9992%2017.848%2048.7831%2017.0442%2048.3736%2016.3357C47.964%2015.6271%2047.3754%2015.0387%2046.6667%2014.6295L30.3333%205.29565C29.6239%204.88604%2028.8192%204.6704%2028%204.6704C27.1808%204.6704%2026.3761%204.88604%2025.6667%205.29565L9.33333%2014.6295C8.62461%2015.0387%208.03595%2015.6271%207.62641%2016.3357C7.21687%2017.0442%207.00084%2017.848%207%2018.6664V37.3342C7.00084%2038.1526%207.21687%2038.9564%207.62641%2039.6649C8.03595%2040.3735%208.62461%2040.9619%209.33333%2041.3711L25.6667%2050.7049Z'%20stroke='%23D34860'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/g%3e%3c/svg%3e",Ge="_card_xixb2_1",Ke="_illustration_xixb2_9",We="_list_xixb2_18",o2={card:Ge,illustration:Ke,list:We},Ye=["Suivi en temps réel de vos colis","Historique de tous vos envois","Notifications automatiques"];function Je({items:s=Ye}){return e.jsxs("div",{className:o2.card,children:[e.jsx("span",{className:o2.illustration,children:e.jsx("img",{src:Qe,alt:"",width:56,height:56})}),e.jsx("ul",{className:o2.list,children:s.map(t=>e.jsxs("li",{children:[e.jsx("span",{children:e.jsx("img",{src:Ze,alt:"",width:14,height:14})}),t]},t))})]})}const Xe="_item_1fktn_1",e0="_active_1fktn_21",b2={item:Xe,active:e0};function s0({label:s,active:t=!1,onClick:n,className:c}){return e.jsxs("button",{type:"button",className:o(b2.item,t&&b2.active,c),"aria-current":t?"page":void 0,onClick:n,children:[e.jsx("span",{"aria-hidden":"true",children:"●"}),s]})}const t0="_nav_6td4e_1",n0="_list_6td4e_5",c0="_item_6td4e_13",i0="_current_6td4e_24",W={nav:t0,list:n0,item:c0,current:i0};function a0({items:s,className:t}){return e.jsx("nav",{className:o(W.nav,t),"aria-label":"Fil d’Ariane",children:e.jsx("ol",{className:W.list,children:s.map((n,c)=>{const i=c===s.length-1;return e.jsxs("li",{className:W.item,children:[c>0?e.jsx("span",{"aria-hidden":"true",children:"/"}):null,i||!n.href?e.jsx("span",{"aria-current":i?"page":void 0,className:i?W.current:void 0,children:n.label}):e.jsx("a",{href:n.href,children:n.label})]},n.label)})})})}const o0="_button_1k0ix_1",r0="_primary_1k0ix_17",l0="_secondary_1k0ix_31",d0="_ghost_1k0ix_46",j2={button:o0,primary:r0,secondary:l0,ghost:d0};function z2({variant:s="primary",className:t,type:n="button",children:c,...i}){return e.jsx("button",{type:n,className:o(j2.button,j2[s],t),...i,children:c})}const _0="_control_1jt8i_1",p0="_input_1jt8i_8",u0="_box_1jt8i_16",m0="_label_1jt8i_50",Y={control:_0,input:p0,box:u0,label:m0};function h0({label:s,id:t,className:n,...c}){const i=j.useId(),a=t??i;return e.jsxs("label",{className:o(Y.control,n),htmlFor:a,children:[e.jsx("input",{id:a,className:Y.input,type:"checkbox",...c}),e.jsx("span",{className:Y.box,"aria-hidden":"true"}),s?e.jsx("span",{className:Y.label,children:s}):null]})}const g0="_backdrop_vmonj_1",x0="_modal_vmonj_8",v0="_icon_vmonj_22",b0="_title_vmonj_33",j0="_description_vmonj_40",w0="_actions_vmonj_47",k0="_cancel_vmonj_53",C0="_confirm_vmonj_54",k={backdrop:g0,modal:x0,icon:v0,title:b0,description:j0,actions:w0,cancel:k0,confirm:C0};function f0({title:s,description:t,confirmLabel:n="Confirmer",cancelLabel:c="Annuler",open:i=!0,onConfirm:a,onCancel:r,className:l}){return i?e.jsx("div",{className:k.backdrop,role:"presentation",children:e.jsxs("div",{className:o(k.modal,l),role:"dialog","aria-modal":"true","aria-labelledby":"confirm-title",children:[e.jsx("span",{className:k.icon,children:e.jsx(p,{name:"alertTriangle",size:24})}),e.jsx("h2",{id:"confirm-title",className:k.title,children:s}),e.jsx("p",{className:k.description,children:t}),e.jsxs("div",{className:k.actions,children:[e.jsx("button",{type:"button",className:k.cancel,onClick:r,children:c}),e.jsx(z2,{className:k.confirm,onClick:a,children:n})]})]})}):null}const y0="data:image/svg+xml,%3csvg%20preserveAspectRatio='none'%20overflow='visible'%20style='display:%20block;'%20width='18'%20height='18'%20viewBox='0%200%2018%2018'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='map-pin'%3e%3cpath%20id='Vector'%20d='M9.4507%2016.35C10.8456%2015.1454%2014.9994%2011.2451%2014.9994%207.49996C14.9994%205.90851%2014.3673%204.38224%2013.2422%203.25692C12.1171%202.1316%2010.5911%201.4994%209%201.4994C7.40886%201.4994%205.88289%202.1316%204.75778%203.25692C3.63268%204.38224%203.0006%205.90851%203.0006%207.49996C3.0006%2011.2451%207.15443%2015.1454%208.5493%2016.35C8.67924%2016.4478%208.83742%2016.5006%209%2016.5006C9.16258%2016.5006%209.32076%2016.4478%209.4507%2016.35Z'%20stroke='%23D34860'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/g%3e%3c/svg%3e",N0="_button_17mmc_1",$0="_primary_17mmc_19",L0="_secondary_17mmc_29",M0="_icon_17mmc_41",V0="_compact_17mmc_51",A0="_filter_17mmc_59",w2={button:N0,primary:$0,secondary:L0,icon:M0,compact:V0,filter:A0};function B2({variant:s="primary",className:t,type:n="button",children:c,icon:i,...a}){return e.jsxs("button",{type:n,className:o(w2.button,w2[s],t),...a,children:[s==="icon"?i??e.jsx("img",{src:y0,alt:"",width:18,height:18}):null,c]})}const S0="_field_g4r3x_1",R0="_label_g4r3x_9",I0="_input_g4r3x_16",r2={field:S0,label:R0,input:I0};function z0({label:s,className:t,id:n,...c}){const i=n??(s?s.toLowerCase().replace(/\s+/g,"-"):void 0);return e.jsxs("label",{className:r2.field,htmlFor:i,children:[s?e.jsx("span",{className:r2.label,children:s}):null,e.jsx("input",{id:i,className:o(r2.input,t),...c})]})}const D2="data:image/svg+xml,%3csvg%20preserveAspectRatio='none'%20overflow='visible'%20style='display:%20block;'%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='chevron-down'%3e%3cpath%20id='Vector'%20d='M4%206L8%2010L12%206'%20stroke='%23D34860'%20stroke-width='2'%20stroke-linecap='round'/%3e%3c/g%3e%3c/svg%3e",B0="_field_1mndz_1",D0="_label_1mndz_8",T0="_control_1mndz_14",E0="_select_1mndz_20",J={field:B0,label:D0,control:T0,select:E0};function P0({label:s,options:t,className:n,id:c,...i}){const a=c??"core-select";return e.jsxs("label",{className:J.field,htmlFor:a,children:[s?e.jsx("span",{className:J.label,children:s}):null,e.jsxs("span",{className:J.control,children:[e.jsx("select",{id:a,className:o(J.select,n),...i,children:t.map(r=>e.jsx("option",{value:r.value,children:r.label},r.value))}),e.jsx("img",{src:D2,alt:"",width:16,height:16})]})]})}const F0="data:image/svg+xml,%3csvg%20preserveAspectRatio='none'%20overflow='visible'%20style='display:%20block;'%20width='18'%20height='18'%20viewBox='0%200%2018%2018'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='lock'%3e%3cpath%20id='Vector'%20d='M5.25%208.24994V5.2497C5.25%204.25506%205.64509%203.30116%206.34835%202.59784C7.05161%201.89452%208.00544%201.4994%209%201.4994C9.99456%201.4994%2010.9484%201.89452%2011.6517%202.59784C12.3549%203.30116%2012.75%204.25506%2012.75%205.2497V8.24994M3.75%208.24994H14.25C15.0784%208.24994%2015.75%208.92157%2015.75%209.75006V15.0005C15.75%2015.829%2015.0784%2016.5006%2014.25%2016.5006H3.75C2.92157%2016.5006%202.25%2015.829%202.25%2015.0005V9.75006C2.25%208.92157%202.92157%208.24994%203.75%208.24994Z'%20stroke='%23606978'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/g%3e%3c/svg%3e",q0="data:image/svg+xml,%3csvg%20preserveAspectRatio='none'%20overflow='visible'%20style='display:%20block;'%20width='18'%20height='18'%20viewBox='0%200%2018%2018'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='plus'%3e%3cpath%20id='Vector'%20d='M3.7494%209H14.2506M9%203.7494V14.2506'%20stroke='%23D34860'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/g%3e%3c/svg%3e",U0="_tabs_1k5bj_1",H0="_tab_1k5bj_1",O0="_label_1k5bj_18",Z0="_bar_1k5bj_28",Q0="_active_1k5bj_34",B={tabs:U0,tab:H0,label:O0,bar:Z0,active:Q0},G0={lock:F0,plus:q0},K0=[{id:"login",label:"Se connecter",icon:"lock"},{id:"create",label:"Se connecter",icon:"plus"}];function W0({items:s=K0,value:t,defaultValue:n,onChange:c}){const[i,a]=j.useState(n??s[1]?.id??s[0]?.id),r=t??i;function l(d){t===void 0&&a(d),c?.(d)}return e.jsx("div",{className:B.tabs,role:"tablist",children:s.map(d=>{const m=d.id===r;return e.jsxs("button",{type:"button",role:"tab","aria-selected":m,className:o(B.tab,m&&B.active),onClick:()=>l(d.id),children:[e.jsxs("span",{className:B.label,children:[d.icon?e.jsx("img",{src:G0[d.icon],alt:"",width:18,height:18}):null,d.label]}),e.jsx("span",{className:B.bar})]},d.id)})})}const Y0="_row_18ufn_1",J0="_id_18ufn_20",X0="_route_18ufn_27",es="_recipient_18ufn_32",ss="_date_18ufn_33",ts="_status_18ufn_44",L={row:Y0,id:J0,route:X0,recipient:es,date:ss,status:ts};function ns({trackingId:s,route:t,recipient:n,status:c,date:i,detailLabel:a="Voir le détail →",onDetail:r,className:l}){return e.jsxs("article",{className:o(L.row,l),children:[e.jsxs("div",{children:[e.jsx("p",{className:L.id,children:s}),e.jsx("p",{className:L.route,children:t}),e.jsx("p",{className:L.recipient,children:n})]}),e.jsxs("div",{children:[e.jsx("span",{className:L.status,children:c}),e.jsx("p",{className:L.date,children:i})]}),e.jsx("button",{type:"button",onClick:r,children:a})]})}const cs="_toolbar_1fdy3_1",is="_input_1fdy3_16",k2={toolbar:cs,input:is};function as({placeholder:s="Rechercher par nom, email ou téléphone…",onFilters:t,...n}){return e.jsxs("form",{className:k2.toolbar,role:"search",children:[e.jsx("input",{className:k2.input,type:"search",placeholder:s,...n}),e.jsx(B2,{variant:"filter",onClick:t,children:"Filtres"})]})}const os="_bar_qas9s_1",rs="_input_qas9s_14",C2={bar:os,input:rs};function ls({placeholder:s="Rechercher par nom, email ou téléphone…",...t}){return e.jsx("form",{className:C2.bar,role:"search",children:e.jsx("input",{className:C2.input,type:"search",placeholder:s,...t})})}const ds="_card_62r8y_1",_s="_title_62r8y_11",ps="_table_62r8y_19",us="_header_62r8y_25",ms="_row_62r8y_26",hs="_striped_62r8y_50",gs="_name_62r8y_54",N={card:ds,title:_s,table:ps,header:us,row:ms,striped:hs,name:gs},xs=[{key:"user",label:"Utilisateur"},{key:"contact",label:"Contact"},{key:"city",label:"Ville"},{key:"parcels",label:"Colis"},{key:"status",label:"Statut"}],vs=[{id:"awa",cells:{user:"Awa Koné",contact:"awa@exemple.ci",city:"Cocody",parcels:"18",status:"Actif"}},{id:"yann",cells:{user:"Yann Kouassi",contact:"yann@exemple.ci",city:"Yopougon",parcels:"7",status:"Actif"}},{id:"marie",cells:{user:"Marie N’Guessan",contact:"marie@exemple.ci",city:"Marcory",parcels:"31",status:"Vérifié"}},{id:"serge",cells:{user:"Serge Koffi",contact:"serge@exemple.ci",city:"Abobo",parcels:"2",status:"À vérifier"}},{id:"nadia",cells:{user:"Nadia Touré",contact:"nadia@exemple.ci",city:"Bouaké",parcels:"13",status:"Actif"}},{id:"kevin",cells:{user:"Kevin Yao",contact:"kevin@exemple.ci",city:"Plateau",parcels:"0",status:"Suspendu"}},{id:"fatou",cells:{user:"Fatou Diarra",contact:"fatou@exemple.ci",city:"Treichville",parcels:"22",status:"Actif"}},{id:"eric",cells:{user:"Eric Bamba",contact:"eric@exemple.ci",city:"Cocody",parcels:"9",status:"Actif"}}];function bs({title:s="Utilisateurs",columns:t=xs,rows:n=vs}){return e.jsxs("section",{className:N.card,"aria-label":s,children:[e.jsx("h3",{className:N.title,children:s}),e.jsxs("div",{className:N.table,role:"table",children:[e.jsx("div",{className:N.header,role:"row",children:t.map(c=>e.jsx("span",{role:"columnheader",children:c.label},c.key))}),n.map((c,i)=>e.jsx("div",{className:o(N.row,i%2===1&&N.striped),role:"row",children:t.map((a,r)=>e.jsx("span",{className:r===0?N.name:void 0,role:"cell",children:c.cells[a.key]},a.key))},c.id))]})]})}const js="_wrap_1klwn_1",ws="_caption_1klwn_8",ks="_row_1klwn_13",Cs="_line_1klwn_19",fs="_label_1klwn_25",M={wrap:js,caption:ws,row:ks,line:Cs,label:fs};function ys({label:s,caption:t,className:n}){return e.jsxs("div",{className:o(M.wrap,n),children:[t?e.jsx("p",{className:M.caption,children:t}):null,e.jsxs("div",{className:M.row,children:[e.jsx("span",{className:M.line}),s?e.jsx("span",{className:M.label,children:s}):null,s?e.jsx("span",{className:M.line}):null]})]})}const Ns="_menu_1la8c_1",$s="_slot_1la8c_12",Ls="_item_1la8c_17",Ms="_danger_1la8c_37",Vs="_separator_1la8c_41",D={menu:Ns,slot:$s,item:Ls,danger:Ms,separator:Vs},As=[{id:"profile",label:"Mon profil",icon:"user"},{id:"settings",label:"Paramètres",icon:"settings"},{id:"notifications",label:"Notifications",icon:"bell"},{id:"logout",label:"Déconnexion",icon:"logout",danger:!0,separated:!0}];function Ss({items:s=As,onSelect:t,className:n}){return e.jsx("div",{className:o(D.menu,n),role:"menu",children:s.map(c=>e.jsxs("span",{className:D.slot,children:[c.separated?e.jsx("span",{className:D.separator}):null,e.jsxs("button",{type:"button",role:"menuitem",className:o(D.item,c.danger&&D.danger),onClick:()=>t?.(c.id),children:[e.jsx(p,{name:c.icon,size:16}),c.label]})]},c.id))})}const Rs="_empty_a1w3g_1",Is="_icon_a1w3g_14",zs="_title_a1w3g_25",Bs="_description_a1w3g_32",Ds="_action_a1w3g_40",T={empty:Rs,icon:Is,title:zs,description:Bs,action:Ds};function Ts({title:s,description:t,actionLabel:n="Envoyer un colis",onAction:c,className:i}){return e.jsxs("div",{className:o(T.empty,i),children:[e.jsx("span",{className:T.icon,children:e.jsx(p,{name:"package",size:32})}),e.jsx("h2",{className:T.title,children:s}),e.jsx("p",{className:T.description,children:t}),e.jsxs("button",{type:"button",className:T.action,onClick:c,children:[e.jsx(p,{name:"plus",size:16}),n]})]})}const Es="_item_or98g_1",Ps="_trigger_or98g_11",Fs="_icon_or98g_28",qs="_open_or98g_37",Us="_answer_or98g_41",E={item:Es,trigger:Ps,icon:Fs,open:qs,answer:Us};function Hs({question:s="Comment envoyer un colis ?",answer:t="Indiquez le destinataire, le poids et le point relais, puis confirmez l’envoi."}){const[n,c]=j.useState(!1);return e.jsxs("div",{className:E.item,children:[e.jsxs("button",{type:"button",className:E.trigger,"aria-expanded":n,onClick:()=>c(i=>!i),children:[s,e.jsx("span",{className:o(E.icon,n&&E.open),children:e.jsx("img",{src:D2,alt:"",width:16,height:16})})]}),n?e.jsx("p",{className:E.answer,children:t}):null]})}const Os="_card_1uzym_1",Zs="_top_1uzym_14",Qs="_bottom_1uzym_15",Gs="_middle_1uzym_16",Ks="_address_1uzym_17",Ws="_hours_1uzym_18",Ys="_distance_1uzym_44",Js="_line_1uzym_60",C={card:Os,top:Zs,bottom:Qs,middle:Gs,address:Ks,hours:Ws,distance:Ys,line:Js};function Xs({name:s,address:t,distance:n,hours:c,services:i,detailLabel:a="Voir le détail →",onDetail:r,className:l}){return e.jsxs("article",{className:o(C.card,l),children:[e.jsxs("div",{className:C.top,children:[e.jsxs("div",{children:[e.jsx("h3",{children:s}),e.jsxs("p",{className:C.address,children:[e.jsx(p,{name:"mapPin",size:14}),t]})]}),e.jsx(p,{name:"heart",size:20})]}),e.jsxs("div",{className:C.middle,children:[e.jsx("span",{className:C.distance,children:n}),e.jsxs("span",{className:C.hours,children:[e.jsx(p,{name:"clockMuted",size:14}),c]})]}),e.jsx("hr",{className:C.line}),e.jsxs("div",{className:C.bottom,children:[e.jsx("ul",{children:i.map(d=>e.jsx("li",{children:d},d))}),e.jsx("button",{type:"button",onClick:r,children:a})]})]})}const et="data:image/svg+xml,%3csvg%20preserveAspectRatio='none'%20overflow='visible'%20style='display:%20block;'%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='store'%3e%3cpath%20id='Vector'%20d='M2%207L6.41%202.59C6.59606%202.40283%206.81732%202.25434%207.06103%202.15308C7.30474%202.05182%207.56609%201.99979%207.83%202H16.17C16.4339%201.99979%2016.6953%202.05182%2016.939%202.15308C17.1827%202.25434%2017.4039%202.40283%2017.59%202.59L22%207'%20stroke='%23D34860'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20id='Vector_2'%20d='M4%2012V20C4%2020.5304%204.21071%2021.0391%204.58579%2021.4142C4.96086%2021.7893%205.46957%2022%206%2022H18C18.5304%2022%2019.0391%2021.7893%2019.4142%2021.4142C19.7893%2021.0391%2020%2020.5304%2020%2020V12'%20stroke='%23D34860'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20id='Vector_3'%20d='M15%2022V18C15%2017.4696%2014.7893%2016.9609%2014.4142%2016.5858C14.0391%2016.2107%2013.5304%2016%2013%2016H11C10.4696%2016%209.96086%2016.2107%209.58579%2016.5858C9.21071%2016.9609%209%2017.4696%209%2018V22'%20stroke='%23D34860'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20id='Vector_4'%20d='M2%207H22'%20stroke='%23D34860'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20id='Vector_5'%20d='M22%207V10C22%2010.5304%2021.7893%2011.0391%2021.4142%2011.4142C21.0391%2011.7893%2020.5304%2012%2020%2012C19.4157%2011.9678%2018.8577%2011.7467%2018.41%2011.37C18.2907%2011.2838%2018.1472%2011.2374%2018%2011.2374C17.8528%2011.2374%2017.7093%2011.2838%2017.59%2011.37C17.1423%2011.7467%2016.5843%2011.9678%2016%2012C15.4157%2011.9678%2014.8577%2011.7467%2014.41%2011.37C14.2907%2011.2838%2014.1472%2011.2374%2014%2011.2374C13.8528%2011.2374%2013.7093%2011.2838%2013.59%2011.37C13.1423%2011.7467%2012.5843%2011.9678%2012%2012C11.4157%2011.9678%2010.8577%2011.7467%2010.41%2011.37C10.2907%2011.2838%2010.1472%2011.2374%2010%2011.2374C9.85279%2011.2374%209.70932%2011.2838%209.59%2011.37C9.14227%2011.7467%208.58426%2011.9678%208%2012C7.41574%2011.9678%206.85773%2011.7467%206.41%2011.37C6.29068%2011.2838%206.14721%2011.2374%206%2011.2374C5.85279%2011.2374%205.70932%2011.2838%205.59%2011.37C5.14227%2011.7467%204.58426%2011.9678%204%2012C3.46957%2012%202.96086%2011.7893%202.58579%2011.4142C2.21071%2011.0391%202%2010.5304%202%2010V7'%20stroke='%23D34860'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/g%3e%3c/svg%3e",st="_card_vsu3h_1",tt="_icon_vsu3h_17",nt="_title_vsu3h_26",ct="_description_vsu3h_34",it="_metric_vsu3h_41",P={card:st,icon:tt,title:nt,description:ct,metric:it};function at({title:s="+ de trafic",description:t="Attirez de nouveaux clients dans votre commerce grâce aux dépôts et retraits de colis quotidiens.",metric:n="+30%",caption:c="de passage en plus"}){return e.jsxs("article",{className:P.card,children:[e.jsx("span",{className:P.icon,children:e.jsx("img",{src:et,alt:"",width:24,height:24})}),e.jsx("h3",{className:P.title,children:s}),e.jsx("p",{className:P.description,children:t}),e.jsxs("div",{className:P.metric,children:[e.jsx("span",{children:n}),e.jsx("span",{children:c})]})]})}const ot="_zone_1svo7_1",rt="_prompt_1svo7_18",lt="_hint_1svo7_30",dt="_input_1svo7_35",X={zone:ot,prompt:rt,hint:lt,input:dt};function _t({hint:s="Formats acceptés: PDF, PNG, JPG (max. 10 Mo)",className:t,...n}){return e.jsxs("label",{className:o(X.zone,t),children:[e.jsx(p,{name:"uploadCloud",size:32}),e.jsxs("p",{className:X.prompt,children:["Glissez vos fichiers ici ou ",e.jsx("span",{children:"parcourir"})]}),e.jsx("p",{className:X.hint,children:s}),e.jsx("input",{className:X.input,type:"file",...n})]})}const pt="_pill_h3mr1_1",ut="_active_h3mr1_14",f2={pill:pt,active:ut};function mt({active:s=!1,className:t,type:n="button",children:c,...i}){return e.jsx("button",{type:n,"aria-pressed":s,className:o(f2.pill,s&&f2.active,t),...i,children:c})}const ht="_footer_o7m5f_1",gt="_brand_o7m5f_10",xt="_logo_o7m5f_15",vt="_tagline_o7m5f_29",bt="_copy_o7m5f_30",jt="_column_o7m5f_31",wt="_title_o7m5f_49",$={footer:ht,brand:gt,logo:xt,tagline:vt,copy:bt,column:jt,title:wt},kt=[{title:"Services",links:[{label:"Envoyer un colis",href:"#envoyer"},{label:"Suivre un colis",href:"#suivre"},{label:"Trouver un relais",href:"#relais"}]},{title:"Partenaires",links:[{label:"Devenir point relais",href:"#devenir"},{label:"Entreprises",href:"#entreprises"},{label:"Documentation API",href:"#api"}]},{title:"LeRelais",links:[{label:"À propos",href:"#apropos"},{label:"Aide & contact",href:"#aide"},{label:"Mentions légales",href:"#mentions"}]}];function Ct({columns:s=kt,className:t}){return e.jsxs("footer",{className:o($.footer,t),children:[e.jsxs("div",{className:$.brand,children:[e.jsxs("p",{className:$.logo,children:[e.jsx("span",{children:"R"})," LeRelais"]}),e.jsx("p",{className:$.tagline,children:"Le point relais simple pour envoyer, suivre et recevoir vos colis."})]}),s.map(n=>e.jsxs("nav",{className:$.column,"aria-label":n.title,children:[e.jsx("p",{className:$.title,children:n.title}),n.links.map(c=>e.jsx("a",{href:c.href,children:c.label},c.label))]},n.title)),e.jsx("p",{className:$.copy,children:"© 2026 LeRelais — Livraison de proximité."})]})}const ft="data:image/svg+xml,%3csvg%20preserveAspectRatio='none'%20overflow='visible'%20style='display:%20block;'%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='map-pin'%3e%3cpath%20id='Vector'%20d='M8.40067%2014.5327C9.64067%2013.462%2013.3333%209.99533%2013.3333%206.66667C13.3333%205.25218%2012.7714%203.89562%2011.7712%202.89543C10.771%201.89524%209.41449%201.33333%208%201.33333C6.58551%201.33333%205.22896%201.89524%204.22876%202.89543C3.22857%203.89562%202.66667%205.25218%202.66667%206.66667C2.66667%209.99533%206.35933%2013.462%207.59933%2014.5327C7.71485%2014.6195%207.85547%2014.6665%208%2014.6665C8.14453%2014.6665%208.28515%2014.6195%208.40067%2014.5327Z'%20stroke='%236B7280'%20stroke-width='1.33333'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20id='Vector_2'%20d='M8%208.66667C9.10457%208.66667%2010%207.77124%2010%206.66667C10%205.5621%209.10457%204.66667%208%204.66667C6.89543%204.66667%206%205.5621%206%206.66667C6%207.77124%206.89543%208.66667%208%208.66667Z'%20stroke='%236B7280'%20stroke-width='1.33333'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/g%3e%3c/svg%3e",yt="_row_164j0_1",Nt="_icon_164j0_9",y2={row:yt,icon:Nt};function $t({label:s="Adresse",value:t="12 rue de Charenton, Abidjan 12e"}){return e.jsxs("div",{className:y2.row,children:[e.jsx("span",{className:y2.icon,children:e.jsx("img",{src:ft,alt:"",width:16,height:16})}),e.jsxs("div",{children:[e.jsx("p",{children:s}),e.jsx("p",{children:t})]})]})}const Lt="_link_arwng_1",Mt={link:Lt};function Vt({children:s,className:t,...n}){return e.jsxs("a",{className:o(Mt.link,t),...n,children:[s,e.jsx(p,{name:"arrowRight",size:16})]})}const At="data:image/svg+xml,%3csvg%20preserveAspectRatio='none'%20overflow='visible'%20style='display:%20block;'%20width='18'%20height='18'%20viewBox='0%200%2018%2018'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='map-pin'%3e%3cpath%20id='Vector'%20d='M9.4507%2016.35C10.8456%2015.1454%2014.9994%2011.2451%2014.9994%207.49996C14.9994%205.90851%2014.3673%204.38224%2013.2422%203.25692C12.1171%202.1316%2010.5911%201.4994%209%201.4994C7.40886%201.4994%205.88289%202.1316%204.75778%203.25692C3.63268%204.38224%203.0006%205.90851%203.0006%207.49996C3.0006%2011.2451%207.15443%2015.1454%208.5493%2016.35C8.67924%2016.4478%208.83742%2016.5006%209%2016.5006C9.16258%2016.5006%209.32076%2016.4478%209.4507%2016.35Z'%20stroke='white'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/g%3e%3c/svg%3e",St="_card_196ra_1",Rt="_label_196ra_16",It="_name_196ra_17",zt="_area_196ra_18",Bt="_map_196ra_40",Dt="_marker_196ra_49",V={card:St,label:Rt,name:It,area:zt,map:Bt,marker:Dt};function Tt({label:s="Destination",name:t="Épicerie des Brotteaux",area:n="Bouaké 3e"}){return e.jsxs("article",{className:V.card,children:[e.jsx("p",{className:V.label,children:s}),e.jsx("p",{className:V.name,children:t}),e.jsx("p",{className:V.area,children:n}),e.jsx("div",{className:V.map,children:e.jsx("span",{className:V.marker,children:e.jsx("img",{src:At,alt:"",width:18,height:18})})})]})}const Et="_logo_n6npk_1",Pt="_mark_n6npk_7",Ft="_word_n6npk_21",qt="_light_n6npk_28",e2={logo:Et,mark:Pt,word:Ft,light:qt};function h2({tone:s="brand",className:t}){return e.jsxs("span",{className:o(e2.logo,e2[s],t),children:[e.jsx("span",{className:e2.mark,"aria-hidden":"true",children:"LR"}),e.jsx("span",{className:e2.word,children:"LeRelais"})]})}const Ut="_card_155xh_1",Ht="_label_155xh_12",Ot="_hint_155xh_13",Zt="_value_155xh_22",s2={card:Ut,label:Ht,hint:Ot,value:Zt};function Qt({label:s,value:t,hint:n,className:c}){return e.jsxs("article",{className:o(s2.card,c),children:[e.jsx("p",{className:s2.label,children:s}),e.jsx("p",{className:s2.value,children:t}),e.jsx("p",{className:s2.hint,children:n})]})}const Gt="_navbar_1jeeg_1",Kt="_full_1jeeg_10",Wt="_topbar_1jeeg_15",Yt="_entreprise_1jeeg_16",Jt="_particulier_1jeeg_26",Xt="_links_1jeeg_31",en="_activeLink_1jeeg_48",sn="_heading_1jeeg_53",tn="_actions_1jeeg_59",nn="_login_1jeeg_64",cn="_primary_1jeeg_65",f={navbar:Gt,full:Kt,topbar:Wt,entreprise:Yt,particulier:Jt,links:Xt,activeLink:en,heading:sn,actions:tn,login:nn,primary:cn},an=[{label:"Envoyer",href:"#envoyer"},{label:"Suivre",href:"#suivre"},{label:"Trouver un relais",href:"#relais"},{label:"Devenir relais",href:"#devenir"},{label:"Entreprises",href:"#entreprises"}],on=[{label:"Tableau de bord",href:"#dashboard",active:!0},{label:"Mes colis",href:"#colis"},{label:"Profil",href:"#profil"}];function rn({variant:s="full",links:t,title:n,initials:c="EA",onLogin:i,onPrimary:a,className:r}){const l=t??(s==="full"?an:s==="particulier"?on:[]),d=n??(s==="topbar"?"Envoyer un colis":s==="entreprise"?"Espace Entreprise":void 0);return e.jsxs("header",{className:o(f.navbar,f[s],r),children:[e.jsx(h2,{}),l.length>0?e.jsx("nav",{className:f.links,"aria-label":"Navigation principale",children:l.map(m=>e.jsx("a",{href:m.href,className:o(m.active&&f.activeLink),children:m.label},m.label))}):null,d?e.jsx("p",{className:f.heading,children:d}):null,s==="full"?e.jsxs("div",{className:f.actions,children:[e.jsx("button",{type:"button",className:f.login,onClick:i,children:"Connexion"}),e.jsx("button",{type:"button",className:f.primary,onClick:a,children:"Envoyer un colis"})]}):null,s==="particulier"?e.jsx(I2,{initials:c,size:"sm"}):null]})}const ln="_item_q9m24_1",dn="_unread_q9m24_14",_n="_icon_q9m24_19",pn="_iconUnread_q9m24_30",un="_content_q9m24_34",mn="_title_q9m24_42",hn="_titleUnread_q9m24_48",gn="_description_q9m24_52",xn="_time_q9m24_58",vn="_dot_q9m24_67",h={item:ln,unread:dn,icon:_n,iconUnread:pn,content:un,title:mn,titleUnread:hn,description:gn,time:xn,dot:vn};function bn({title:s,description:t,time:n,unread:c=!1,className:i}){return e.jsxs("article",{className:o(h.item,c&&h.unread,i),children:[e.jsx("span",{className:o(h.icon,c&&h.iconUnread),children:e.jsx(p,{name:c?"packageWhite":"packageRead",size:18})}),e.jsxs("div",{className:h.content,children:[e.jsx("p",{className:o(h.title,c&&h.titleUnread),children:s}),e.jsx("p",{className:h.description,children:t}),e.jsxs("p",{className:h.time,children:[e.jsx(p,{name:"clock",size:12}),n]})]}),c?e.jsx("span",{className:h.dot,"aria-label":"Non lu"}):null]})}const jn="_row_k9f16_1",wn="_dot_k9f16_11",kn="_icon_k9f16_18",Cn="_title_k9f16_28",fn="_description_k9f16_33",yn="_time_k9f16_34",A={row:jn,dot:wn,icon:kn,title:Cn,description:fn,time:yn};function Nn({title:s,description:t,time:n,className:c}){return e.jsxs("article",{className:o(A.row,c),children:[e.jsx("span",{className:A.dot,"aria-hidden":"true"}),e.jsx("span",{className:A.icon,children:e.jsx(p,{name:"package",size:20})}),e.jsxs("div",{children:[e.jsx("p",{className:A.title,children:s}),e.jsx("p",{className:A.description,children:t})]}),e.jsx("time",{className:A.time,children:n})]})}const $n="data:image/svg+xml,%3csvg%20preserveAspectRatio='none'%20overflow='visible'%20style='display:%20block;'%20width='20'%20height='20'%20viewBox='0%200%2020%2020'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='check'%3e%3cpath%20id='Vector'%20d='M16.666%205L7.50025%2014.166L3.334%209.99964'%20stroke='white'%20stroke-width='2'%20stroke-linecap='round'/%3e%3c/g%3e%3c/svg%3e",Ln="data:image/svg+xml,%3csvg%20preserveAspectRatio='none'%20overflow='visible'%20style='display:%20block;'%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='x'%3e%3cpath%20id='Vector'%20d='M12%204L4%2012M4%204L12%2012'%20stroke='white'%20stroke-width='2'%20stroke-linecap='round'/%3e%3c/g%3e%3c/svg%3e",Mn="_modal_14zux_1",Vn="_successOuter_14zux_14",An="_errorOuter_14zux_15",Sn="_successInner_14zux_31",Rn="_errorInner_14zux_32",In="_copy_14zux_48",zn="_actions_14zux_71",Bn="_close_14zux_77",Dn="_cancel_14zux_78",Tn="_retry_14zux_79",g={modal:Mn,successOuter:Vn,errorOuter:An,successInner:Sn,errorInner:Rn,copy:In,actions:zn,close:Bn,cancel:Dn,retry:Tn};function En({type:s="success",title:t="Candidature envoyée avec succès !",description:n="Votre candidature a bien été transmise à notre équipe. Nous reviendrons vers vous par email sous 48 heures.",onClose:c,onRetry:i}){const a=s==="error";return e.jsxs("div",{className:g.modal,role:"dialog","aria-labelledby":"outcome-title",children:[e.jsx("span",{className:a?g.errorOuter:g.successOuter,children:e.jsx("span",{className:a?g.errorInner:g.successInner,children:e.jsx("img",{src:a?Ln:$n,alt:"",width:a?16:20,height:a?16:20})})}),e.jsxs("div",{className:g.copy,children:[e.jsx("h3",{id:"outcome-title",children:t}),e.jsx("p",{children:n})]}),e.jsxs("div",{className:g.actions,children:[e.jsx("button",{type:"button",className:a?g.cancel:g.close,onClick:c,children:"Fermer"}),a?e.jsx("button",{type:"button",className:g.retry,onClick:i,children:"Réessayer"}):null]})]})}const Pn="_nav_1q1qm_1",Fn="_button_1q1qm_6",qn="_current_1q1qm_18",F={nav:Pn,button:Fn,current:qn};function Un({page:s,pageCount:t,onChange:n,className:c}){const i=Array.from({length:t},(a,r)=>r+1);return e.jsxs("nav",{className:o(F.nav,c),"aria-label":"Pagination",children:[e.jsx("button",{type:"button",className:F.button,"aria-label":"Page précédente",disabled:s<=1,onClick:()=>n(s-1),children:"←"}),i.map(a=>e.jsx("button",{type:"button",className:o(F.button,a===s&&F.current),"aria-current":a===s?"page":void 0,onClick:()=>n(a),children:a},a)),e.jsx("button",{type:"button",className:F.button,"aria-label":"Page suivante",disabled:s>=t,onClick:()=>n(s+1),children:"→"})]})}const Hn="_card_1jm8x_1",On="_id_1jm8x_13",Zn="_route_1jm8x_19",Qn="_recipient_1jm8x_25",Gn="_status_1jm8x_30",q={card:Hn,id:On,route:Zn,recipient:Qn,status:Gn};function Kn({trackingId:s,route:t,recipient:n,status:c,className:i}){return e.jsxs("article",{className:o(q.card,i),children:[e.jsx("p",{className:q.id,children:s}),e.jsx("p",{className:q.route,children:t}),e.jsx("p",{className:q.recipient,children:n}),e.jsx("p",{className:q.status,children:c})]})}const Wn="_row_1icry_1",Yn="_id_1icry_14",Jn="_status_1icry_18",Xn="_muted_1icry_23",U={row:Wn,id:Yn,status:Jn,muted:Xn};function ec({trackingId:s,recipient:t,location:n,status:c,date:i,className:a}){return e.jsxs("div",{className:o(U.row,a),role:"row",children:[e.jsx("span",{className:U.id,role:"cell",children:s}),e.jsx("span",{role:"cell",children:t}),e.jsx("span",{className:U.muted,role:"cell",children:n}),e.jsx("span",{className:U.status,role:"cell",children:c}),e.jsx("span",{className:U.muted,role:"cell",children:i})]})}const sc="_card_116iy_1",tc="_title_116iy_13",nc="_list_116iy_19",cc="_event_116iy_28",ic="_dot_116iy_35",ac="_done_116iy_44",oc="_eventTitle_116iy_49",rc="_time_116iy_50",lc="_upcoming_116iy_59",x={card:sc,title:tc,list:nc,event:cc,dot:ic,done:ac,eventTitle:oc,time:rc,upcoming:lc};function dc({title:s="Suivi du colis",events:t,className:n}){return e.jsxs("section",{className:o(x.card,n),children:[e.jsx("h2",{className:x.title,children:s}),e.jsx("ol",{className:x.list,children:t.map(c=>e.jsxs("li",{className:x.event,children:[e.jsx("span",{className:o(x.dot,c.done&&x.done),"aria-hidden":"true"}),e.jsxs("span",{children:[e.jsx("span",{className:o(x.eventTitle,!c.done&&x.upcoming),children:c.title}),e.jsx("span",{className:x.time,children:c.time})]})]},c.title))})]})}const _c="data:image/svg+xml,%3csvg%20preserveAspectRatio='none'%20overflow='visible'%20style='display:%20block;'%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='camera'%3e%3cpath%20id='Vector'%20d='M15.022%204.28321C14.7121%204.09838%2014.358%204.0008%2013.9972%204.0008H10.0038C9.64339%204.00078%209.28963%204.09815%208.97998%204.28261C8.67032%204.46706%208.41627%204.73176%208.2447%205.0487L7.75566%205.95261C7.58409%206.26954%207.33004%206.53424%207.02038%206.71869C6.71073%206.90315%206.35697%207.00052%205.99652%207.0005H3.99936C3.46888%207.0005%202.96014%207.21119%202.58503%207.58623C2.20993%207.96126%201.9992%208.46992%201.9992%209.0003V17.9994C1.9992%2018.5298%202.20993%2019.0384%202.58503%2019.4135C2.96014%2019.7885%203.46888%2019.9992%203.99936%2019.9992H20.0006C20.5311%2019.9992%2021.0399%2019.7885%2021.415%2019.4135C21.7901%2019.0384%2022.0008%2018.5298%2022.0008%2017.9994V9.0003C22.0008%208.46992%2021.7901%207.96126%2021.415%207.58623C21.0399%207.21119%2020.5311%207.0005%2020.0006%207.0005H18.0035C17.6427%207.00051%2017.2886%206.90292%2016.9787%206.71809C16.6688%206.53326%2016.4147%206.26807%2016.2433%205.9506L15.7573%205.0507C15.5859%204.73323%2015.3318%204.46804%2015.022%204.28321Z'%20stroke='%23D34860'%20stroke-width='2'%20stroke-linecap='round'/%3e%3c/g%3e%3c/svg%3e",pc="_zone_x4re1_1",uc="_input_x4re1_19",mc="_title_x4re1_26",hc="_hint_x4re1_33",t2={zone:pc,input:uc,title:mc,hint:hc};function gc({title:s="Prendre une photo ou importer",hint:t="Une photo du colis peut aider à vérifier le contenu et la préparation.",onSelect:n}){function c(i){const a=i.target.files?.[0];a&&n?.(a)}return e.jsxs("label",{className:t2.zone,children:[e.jsx("input",{className:t2.input,type:"file",accept:"image/*",onChange:c}),e.jsx("img",{src:_c,alt:"",width:24,height:24}),e.jsx("span",{className:t2.title,children:s}),e.jsx("span",{className:t2.hint,children:t})]})}const xc="_badge_m07ij_1",vc="_pending_m07ij_13",bc="_success_m07ij_19",jc="_error_m07ij_25",N2={badge:xc,pending:vc,success:bc,error:jc},wc={pending:"En cours de traitement",success:"En cours de traitement",error:"En cours de traitement"};function kc({state:s="pending",label:t}){return e.jsx("span",{className:o(N2.badge,N2[s]),children:t??wc[s]})}const Cc="_progress_1tbay_1",fc="_row_1tbay_8",yc="_label_1tbay_15",Nc="_value_1tbay_19",$c="_active_1tbay_23",Lc="_done_1tbay_27",Mc="_idle_1tbay_31",Vc="_track_1tbay_35",Ac="_fill_1tbay_43",y={progress:Cc,row:fc,label:yc,value:Nc,active:$c,done:Lc,idle:Mc,track:Vc,fill:Ac};function Sc({value:s,label:t,className:n}){const c=Math.min(100,Math.max(0,s)),i=c===100?"done":c===0?"idle":"active";return e.jsxs("div",{className:o(y.progress,n),children:[e.jsxs("div",{className:y.row,children:[e.jsx("span",{className:y.label,children:t}),e.jsxs("span",{className:o(y.value,y[i]),children:[c,"%"]})]}),e.jsx("div",{className:y.track,role:"progressbar","aria-valuenow":c,"aria-valuemin":0,"aria-valuemax":100,"aria-label":t,children:e.jsx("span",{className:o(y.fill,y[i]),style:{width:`${c}%`}})})]})}const Rc="_scanner_vll20_1",Ic="_hint_vll20_21",zc="_viewfinder_vll20_27",Bc="_actions_vll20_36",n2={scanner:Rc,hint:Ic,viewfinder:zc,actions:Bc};function Dc({onTorch:s,onManual:t,className:n}){return e.jsxs("section",{className:o(n2.scanner,n),children:[e.jsx("h2",{children:"Scanner un QR code"}),e.jsx("p",{className:n2.hint,children:"Placez le code du colis dans le cadre."}),e.jsx("div",{className:n2.viewfinder,"aria-hidden":"true"}),e.jsxs("div",{className:n2.actions,children:[e.jsx("button",{type:"button",onClick:s,children:"Lampe"}),e.jsx("span",{"aria-hidden":"true",children:"•"}),e.jsx("button",{type:"button",onClick:t,children:"Saisie manuelle"})]})]})}const Tc="data:image/svg+xml,%3csvg%20preserveAspectRatio='none'%20overflow='visible'%20style='display:%20block;'%20width='18'%20height='18'%20viewBox='0%200%2018%2018'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='search'%3e%3cpath%20id='Vector'%20d='M15.7501%2015.7501L12.4951%2012.4951M14.25%208.25C14.25%2011.5637%2011.5637%2014.25%208.25%2014.25C4.93629%2014.25%202.25%2011.5637%202.25%208.25C2.25%204.93629%204.93629%202.25%208.25%202.25C11.5637%202.25%2014.25%204.93629%2014.25%208.25Z'%20stroke='%23606978'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/g%3e%3c/svg%3e",Ec="_bar_ihpyf_1",Pc="_input_ihpyf_14",$2={bar:Ec,input:Pc};function Fc({placeholder:s="Rechercher une question",onSubmit:t,...n}){function c(i){i.preventDefault();const a=new FormData(i.currentTarget);t?.(String(a.get("query")??""))}return e.jsxs("form",{className:$2.bar,onSubmit:c,children:[e.jsx("img",{src:Tc,alt:"",width:18,height:18}),e.jsx("input",{name:"query",className:$2.input,placeholder:s,...n})]})}const qc="_card_15x0m_1",Uc="_title_15x0m_22",Hc="_description_15x0m_28",l2={card:qc,title:Uc,description:Hc};function Oc({title:s,description:t,onClick:n,className:c}){return e.jsxs("button",{type:"button",className:o(l2.card,c),onClick:n,children:[e.jsxs("span",{children:[e.jsx("span",{className:l2.title,children:s}),e.jsx("span",{className:l2.description,children:t})]}),e.jsx(p,{name:"arrowRight",size:20})]})}const Zc="_control_deejp_1",Qc="_input_deejp_8",Gc="_circle_deejp_16",Kc="_label_deejp_50",c2={control:Zc,input:Qc,circle:Gc,label:Kc};function Wc({label:s,id:t,className:n,...c}){const i=j.useId(),a=t??i;return e.jsxs("label",{className:o(c2.control,n),htmlFor:a,children:[e.jsx("input",{id:a,className:c2.input,type:"radio",...c}),e.jsx("span",{className:c2.circle,"aria-hidden":"true"}),s?e.jsx("span",{className:c2.label,children:s}):null]})}const Yc="_card_147ex_1",Jc="_name_147ex_14",Xc="_location_147ex_19",ei="_hours_147ex_24",si="_map_147ex_30",H={card:Yc,name:Jc,location:Xc,hours:ei,map:si};function ti({name:s,location:t,hours:n,mapLabel:c="Voir sur la carte →",onMapClick:i,className:a}){return e.jsxs("article",{className:o(H.card,a),children:[e.jsx("p",{className:H.name,children:s}),e.jsx("p",{className:H.location,children:t}),e.jsx("p",{className:H.hours,children:n}),e.jsx("button",{type:"button",className:H.map,onClick:i,children:c})]})}const ni="_card_9fyhr_1",ci="_content_9fyhr_16",ii="_name_9fyhr_24",ai="_meta_9fyhr_32",oi="_status_9fyhr_38",ri="_dot_9fyhr_48",li="_badge_9fyhr_55",di="_address_9fyhr_65",_i="_distance_9fyhr_72",v={card:ni,content:ci,name:ii,meta:ai,status:oi,dot:ri,badge:li,address:di,distance:_i};function pi({name:s="Carrefour City - 350 m",status:t="Ouvert",badge:n="recommandé",address:c="12 rue de Charenton · Ouvert jusqu'à 21h",distance:i="350 m"}){return e.jsxs("article",{className:v.card,children:[e.jsxs("div",{className:v.content,children:[e.jsx("p",{className:v.name,children:s}),e.jsxs("div",{className:v.meta,children:[e.jsxs("span",{className:v.status,children:[e.jsx("span",{className:v.dot}),t]}),e.jsx("span",{className:v.badge,children:n})]}),e.jsx("p",{className:v.address,children:c})]}),e.jsx("span",{className:v.distance,children:i})]})}const ui="data:image/svg+xml,%3csvg%20preserveAspectRatio='none'%20overflow='visible'%20style='display:%20block;'%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='lock'%3e%3cpath%20id='Vector'%20d='M7%2010.9999V6.9996C7%205.67341%207.52678%204.40154%208.46447%203.46378C9.40215%202.52603%2010.6739%201.9992%2012%201.9992C13.3261%201.9992%2014.5979%202.52603%2015.5355%203.46378C16.4732%204.40154%2017%205.67341%2017%206.9996V10.9999M5%2010.9999H19C20.1046%2010.9999%2021%2011.8954%2021%2013.0001V20.0006C21%2021.1053%2020.1046%2022.0008%2019%2022.0008H5C3.89543%2022.0008%203%2021.1053%203%2020.0006V13.0001C3%2011.8954%203.89543%2010.9999%205%2010.9999Z'%20stroke='%23D34860'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/g%3e%3c/svg%3e",mi="_card_14zux_1",hi="_icon_14zux_16",gi="_copy_14zux_25",xi="_field_14zux_48",vi="_submit_14zux_75",bi="_back_14zux_90",S={card:mi,icon:hi,copy:gi,field:xi,submit:vi,back:bi};function ji({title:s="Mot de passe oublié",description:t="Indiquez votre adresse email pour recevoir un lien de réinitialisation.",onSubmit:n,onBack:c}){function i(a){a.preventDefault();const r=new FormData(a.currentTarget);n?.(String(r.get("email")??""))}return e.jsxs("form",{className:S.card,onSubmit:i,children:[e.jsx("span",{className:S.icon,children:e.jsx("img",{src:ui,alt:"",width:24,height:24})}),e.jsxs("div",{className:S.copy,children:[e.jsx("h3",{children:s}),e.jsx("p",{children:t})]}),e.jsxs("label",{className:S.field,children:["Adresse email",e.jsx("input",{name:"email",type:"email",placeholder:"vous@email.fr"})]}),e.jsx("button",{type:"submit",className:S.submit,children:"Envoyer le lien"}),e.jsx("button",{type:"button",className:S.back,onClick:c,children:"Retour à la connexion"})]})}const wi="_bar_8srs7_1",ki="_icon_8srs7_14",Ci="_input_8srs7_19",d2={bar:wi,icon:ki,input:Ci};function fi({label:s="Recherche",className:t,...n}){return e.jsxs("label",{className:o(d2.bar,t),children:[e.jsx("span",{className:d2.icon,"aria-hidden":"true",children:"⌕"}),e.jsx("input",{className:d2.input,type:"search","aria-label":s,...n})]})}const yi="_field_v4t46_1",Ni="_label_v4t46_9",$i="_box_v4t46_15",Li="_boxError_v4t46_28",Mi="_select_v4t46_32",Vi="_error_v4t46_61",R={field:yi,label:Ni,box:$i,boxError:Li,select:Mi,error:Vi};function Ai({label:s,options:t,placeholder:n="Sélectionner…",error:c,id:i,className:a,...r}){const l=j.useId(),d=i??l,m=c?`${d}-error`:void 0;return e.jsxs("div",{className:o(R.field,a),children:[e.jsx("label",{className:R.label,htmlFor:d,children:s}),e.jsx("div",{className:o(R.box,c&&R.boxError),children:e.jsxs("select",{id:d,className:R.select,"aria-invalid":c?!0:void 0,"aria-describedby":m,...r,children:[e.jsx("option",{value:"",children:n}),t.map(a2=>e.jsx("option",{value:a2.value,children:a2.label},a2.value))]})}),c?e.jsx("p",{id:m,className:R.error,role:"alert",children:c}):null]})}const Si="_status_1993a_1",Ri="_dot_1993a_11",Ii="_neutral_1993a_18",zi="_info_1993a_23",Bi="_warning_1993a_28",Di="_success_1993a_33",Ti="_error_1993a_38",_2={status:Si,dot:Ri,neutral:Ii,info:zi,warning:Bi,success:Di,error:Ti},Ei={preparing:"Préparation",dropped:"Déposé",picked:"Pris en charge",transit:"En transit",available:"Disponible",collected:"Retiré",delivered:"Livré",anomaly:"Anomalie",expired:"Expiré"},Pi={preparing:"neutral",dropped:"info",picked:"info",transit:"warning",available:"success",collected:"success",delivered:"success",anomaly:"error",expired:"error"};function Fi({status:s="preparing",className:t}){const n=Pi[s];return e.jsxs("span",{className:o(_2.status,_2[n],t),children:[e.jsx("span",{className:_2.dot,"aria-hidden":"true"}),Ei[s]]})}const qi="_sidebar_ub8t4_1",Ui="_account_ub8t4_12",Hi="_status_ub8t4_13",Oi="_kicker_ub8t4_23",Zi="_accountName_ub8t4_29",Qi="_meta_ub8t4_34",Gi="_nav_ub8t4_39",Ki="_item_ub8t4_45",Wi="_logout_ub8t4_46",Yi="_active_ub8t4_60",Ji="_ok_ub8t4_70",_={sidebar:qi,account:Ui,status:Hi,kicker:Oi,accountName:Zi,meta:Qi,nav:Gi,item:Ki,logout:Wi,active:Yi,ok:Ji},T2=[{id:"overview",label:"Vue d’ensemble"},{id:"users",label:"Utilisateurs"},{id:"companies",label:"Entreprises"},{id:"relays",label:"Points relais"},{id:"parcels",label:"Colis"},{id:"delivery",label:"Livraison & API"},{id:"payments",label:"Paiements"},{id:"disputes",label:"Litiges"},{id:"support",label:"Support"},{id:"reports",label:"Rapports"},{id:"settings",label:"Paramètres"}],E2=[{id:"dashboard",label:"Tableau de bord"},{id:"incoming",label:"Colis à réceptionner"},{id:"available",label:"Colis disponibles"},{id:"scan",label:"Scan & remise"},{id:"history",label:"Historique"},{id:"alerts",label:"Alertes"},{id:"reports",label:"Rapports"},{id:"commissions",label:"Commissions"},{id:"settings",label:"Paramètres"}];function Xi({variant:s="admin",items:t,activeId:n,onSelect:c,className:i}){const a=t??(s==="gerant"?E2:T2),r=n??a[0]?.id;return e.jsxs("aside",{className:o(_.sidebar,i),children:[e.jsx(h2,{tone:s==="admin"?"light":"brand"}),s==="admin"?e.jsxs("div",{className:_.account,children:[e.jsx("p",{className:_.kicker,children:"ADMINISTRATION"}),e.jsx("p",{className:_.accountName,children:"Super Admin"})]}):e.jsxs("div",{className:_.account,children:[e.jsx("p",{className:_.accountName,children:"Point relais"}),e.jsx("p",{className:_.meta,children:"Carrefour City — Abidjan 12e"}),e.jsx("p",{className:_.meta,children:"Relais #PR-0842"})]}),e.jsx("nav",{className:_.nav,"aria-label":"Navigation latérale",children:a.map(l=>e.jsx("button",{type:"button",className:o(_.item,l.id===r&&_.active),"aria-current":l.id===r?"page":void 0,onClick:()=>c?.(l.id),children:l.label},l.id))}),s==="admin"?e.jsxs("div",{className:_.status,children:[e.jsx("p",{className:_.kicker,children:"PLATEFORME"}),e.jsx("p",{className:_.ok,children:"● Tous les services opérationnels"}),e.jsx("p",{className:_.meta,children:"Dernière vérification · à l’instant"}),e.jsx("p",{className:_.meta,children:"Version admin 1.0"})]}):e.jsx("button",{type:"button",className:_.logout,children:"Déconnexion"})]})}const ea="_item_8xvld_1",sa="_active_8xvld_17",L2={item:ea,active:sa};function ta({label:s,active:t=!1,onClick:n,className:c}){return e.jsx("button",{type:"button",className:o(L2.item,t&&L2.active,c),"aria-current":t?"page":void 0,onClick:n,children:s})}const na="_skeleton_l4mwc_1",ca="_text_l4mwc_6",ia="_rectangle_l4mwc_12",aa="_circle_l4mwc_18",M2={skeleton:na,text:ca,rectangle:ia,circle:aa};function oa({type:s="text",className:t}){return e.jsx("span",{className:o(M2.skeleton,M2[s],t),"aria-hidden":"true"})}const ra="_card_wh098_1",la="_label_wh098_13",da="_hint_wh098_14",_a="_value_wh098_19",i2={card:ra,label:la,hint:da,value:_a};function pa({label:s,value:t,hint:n,className:c}){return e.jsxs("article",{className:o(i2.card,c),children:[e.jsx("p",{className:i2.label,children:s}),e.jsx("p",{className:i2.value,children:t}),e.jsx("p",{className:i2.hint,children:n})]})}const ua="_summary_1q1m8_1",ma="_item_1q1m8_13",ha="_rule_1q1m8_39",p2={summary:ua,item:ma,rule:ha},ga=[{label:"Estimé",value:"15 août 2026"},{label:"Localisation",value:"Bouaké 3e"},{label:"Étape suivante",value:"Disponible en point relais"}];function xa({items:s=ga}){return e.jsx("div",{className:p2.summary,children:s.map((t,n)=>e.jsxs("div",{className:p2.item,children:[n>0?e.jsx("span",{className:p2.rule}):null,e.jsxs("div",{children:[e.jsx("p",{children:t.label}),e.jsx("p",{children:t.value})]})]},t.label))})}const va="data:image/svg+xml,%3csvg%20preserveAspectRatio='none'%20overflow='visible'%20style='display:%20block;'%20width='28'%20height='28'%20viewBox='0%200%2028%2028'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='package'%3e%3cpath%20id='Vector'%20d='M14%2025.6676V14.0003M14%2014.0003L3.83838%208.16659M14%2014.0003L24.1617%208.16659M8.75%204.98086L19.25%2010.9895M12.8333%2025.3525C13.188%2025.5573%2013.5904%2025.6651%2014%2025.6651C14.4096%2025.6651%2014.812%2025.5573%2015.1667%2025.3525L23.3333%2020.6855C23.6877%2020.4809%2023.982%2020.1867%2024.1868%2019.8325C24.3916%2019.4782%2024.4996%2019.0763%2024.5%2018.6671V9.33321C24.4996%208.92401%2024.3916%208.52211%2024.1868%208.16783C23.982%207.81356%2023.6877%207.51936%2023.3333%207.31476L15.1667%202.64783C14.812%202.44302%2014.4096%202.3352%2014%202.3352C13.5904%202.3352%2013.188%202.44302%2012.8333%202.64783L4.66667%207.31476C4.31231%207.51936%204.01798%207.81356%203.81321%208.16783C3.60843%208.52211%203.50042%208.92401%203.5%209.33321V18.6671C3.50042%2019.0763%203.60843%2019.4782%203.81321%2019.8325C4.01798%2020.1867%204.31231%2020.4809%204.66667%2020.6855L12.8333%2025.3525Z'%20stroke='%23D34860'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/g%3e%3c/svg%3e",ba="_card_8r527_1",ja="_header_8r527_14",wa="_icon_8r527_20",ka="_index_8r527_29",Ca="_title_8r527_36",fa="_description_8r527_43",I={card:ba,header:ja,icon:wa,index:ka,title:Ca,description:fa};function ya({index:s="01",title:t="Préparez votre colis",description:n="Destinataire, poids et dimensions."}){return e.jsxs("article",{className:I.card,children:[e.jsxs("div",{className:I.header,children:[e.jsx("span",{className:I.icon,children:e.jsx("img",{src:va,alt:"",width:28,height:28})}),e.jsx("span",{className:I.index,children:s})]}),e.jsx("h3",{className:I.title,children:t}),e.jsx("p",{className:I.description,children:n})]})}const Na="_stepper_1wlbf_1",$a="_item_1wlbf_10",La="_content_1wlbf_16",Ma="_dot_1wlbf_22",Va="_done_1wlbf_34",Aa="_active_1wlbf_35",Sa="_upcoming_1wlbf_40",Ra="_label_1wlbf_45",Ia="_labelActive_1wlbf_53",za="_connector_1wlbf_58",Ba="_connectorMuted_1wlbf_64",b={stepper:Na,item:$a,content:La,dot:Ma,done:Va,active:Aa,upcoming:Sa,label:Ra,labelActive:Ia,connector:za,connectorMuted:Ba};function Da({steps:s,className:t}){return e.jsx("ol",{className:o(b.stepper,t),children:s.map((n,c)=>e.jsxs("li",{className:b.item,children:[c>0?e.jsx("span",{className:o(b.connector,n.state==="upcoming"&&b.connectorMuted),"aria-hidden":"true"}):null,e.jsxs("span",{className:b.content,children:[e.jsx("span",{className:o(b.dot,b[n.state]),"aria-hidden":"true",children:n.state==="done"?"✓":c+1}),e.jsx("span",{className:o(b.label,n.state==="active"&&b.labelActive),children:n.label})]})]},n.label))})}const Ta="_list_1nzar_1",Ea={list:Ta},Pa=["Vérification des informations","Validation administrative","Activation de votre espace gérant"];function Fa({steps:s=Pa}){return e.jsx("ol",{className:Ea.list,children:s.map((t,n)=>e.jsxs("li",{children:[e.jsx("span",{children:n+1}),t]},t))})}const qa="_feedback_1w3ob_1",Ua="_mark_1w3ob_12",V2={feedback:qa,mark:Ua};function Ha({title:s="Votre envoi est créé !",description:t="Votre colis porte le numéro LR-2026-084215."}){return e.jsxs("div",{className:V2.feedback,children:[e.jsx("span",{className:V2.mark,"aria-hidden":"true",children:"✓"}),e.jsx("h3",{children:s}),e.jsx("p",{children:t})]})}const Oa="_control_oyoio_1",Za="_input_oyoio_8",Qa="_track_oyoio_16",Ga="_knob_oyoio_25",Ka="_label_oyoio_54",O={control:Oa,input:Za,track:Qa,knob:Ga,label:Ka};function Wa({label:s,id:t,className:n,...c}){const i=j.useId(),a=t??i;return e.jsxs("label",{className:o(O.control,n),htmlFor:a,children:[e.jsx("input",{id:a,className:O.input,type:"checkbox",role:"switch",...c}),e.jsx("span",{className:O.track,"aria-hidden":"true",children:e.jsx("span",{className:O.knob})}),s?e.jsx("span",{className:O.label,children:s}):null]})}const Ya="_tabs_1mprt_1",Ja="_tab_1mprt_1",Xa="_active_1mprt_22",u2={tabs:Ya,tab:Ja,active:Xa};function eo({items:s,value:t,onChange:n,className:c,label:i="Sections"}){return e.jsx("div",{className:o(u2.tabs,c),role:"tablist","aria-label":i,children:s.map(a=>{const r=a.id===t;return e.jsx("button",{type:"button",role:"tab","aria-selected":r,className:o(u2.tab,r&&u2.active),onClick:()=>n(a.id),children:a.label},a.id)})})}const so="_tag_hyovt_1",to="_active_hyovt_13",no="_success_hyovt_18",co="_warning_hyovt_23",io="_error_hyovt_28",ao="_remove_hyovt_33",m2={tag:so,active:to,success:no,warning:co,error:io,remove:ao};function oo({type:s="default",children:t,onRemove:n,className:c}){return e.jsxs("span",{className:o(m2.tag,m2[s],c),children:[t,s==="removable"?e.jsx("button",{type:"button",className:m2.remove,onClick:n,"aria-label":`Retirer ${t}`,children:e.jsx(p,{name:"close",size:12})}):null]})}const ro="_field_sd2i6_1",lo="_label_sd2i6_10",_o="_labelError_sd2i6_17",po="_input_sd2i6_21",uo="_inputError_sd2i6_42",mo="_error_sd2i6_52",z={field:ro,label:lo,labelError:_o,input:po,inputError:uo,error:mo};function ho({label:s,error:t,id:n,className:c,disabled:i,...a}){const r=j.useId(),l=n??r,d=t?`${l}-error`:void 0;return e.jsxs("div",{className:o(z.field,c),children:[e.jsx("label",{className:o(z.label,t&&z.labelError),htmlFor:l,children:s}),e.jsx("input",{id:l,className:o(z.input,t&&z.inputError),disabled:i,"aria-invalid":t?!0:void 0,"aria-describedby":d,...a}),t?e.jsx("p",{id:d,className:z.error,role:"alert",children:t}):null]})}const go="_toast_wmgik_1",xo="_icon_wmgik_15",vo="_message_wmgik_27",bo="_close_wmgik_33",jo="_success_wmgik_42",wo="_error_wmgik_50",ko="_warning_wmgik_58",Co="_info_wmgik_66",Z={toast:go,icon:xo,message:vo,close:bo,success:jo,error:wo,warning:ko,info:Co},fo={success:"✓",error:"!",warning:"⚠",info:"i"};function yo({type:s="success",children:t,onClose:n,className:c}){return e.jsxs("div",{className:o(Z.toast,Z[s],c),role:"status",children:[e.jsx("span",{className:Z.icon,"aria-hidden":"true",children:fo[s]}),e.jsx("p",{className:Z.message,children:t}),e.jsx("button",{type:"button",className:Z.close,onClick:n,"aria-label":"Fermer",children:"✕"})]})}const No="_wrap_1x6mo_1",$o="_tip_1x6mo_6",A2={wrap:No,tip:$o};function Lo({label:s,children:t,className:n}){return e.jsxs("span",{className:o(A2.wrap,n),children:[t,e.jsx("span",{className:A2.tip,role:"tooltip",children:s})]})}const Mo="_badge_7yg87_1",Vo={badge:Mo};function Ao({value:s="LR-2026-084215"}){return e.jsx("span",{className:Vo.badge,children:s})}const So="_card_zx3gm_1",Ro="_title_zx3gm_14",Io="_number_zx3gm_22",zo="_progress_zx3gm_30",Bo="_stepItem_zx3gm_39",Do="_done_zx3gm_45",To="_current_zx3gm_46",Eo="_upcoming_zx3gm_47",Po="_line_zx3gm_69",Fo="_lineMuted_zx3gm_70",qo="_route_zx3gm_84",Uo="_relay_zx3gm_92",Ho="_relayIcon_zx3gm_99",Oo="_relayLabel_zx3gm_111",Zo="_relayName_zx3gm_112",u={card:So,title:Ro,number:Io,progress:zo,stepItem:Bo,done:Do,current:To,upcoming:Eo,line:Po,lineMuted:Fo,route:qo,relay:Uo,relayIcon:Ho,relayLabel:Oo,relayName:Zo},Qo=[{mark:"✓",state:"done"},{mark:"✓",state:"done"},{mark:"●",state:"current"},{mark:"○",state:"upcoming"}];function Go({title:s="Votre colis est en transit",trackingNumber:t="LR-2026-084215",route:n="Abidjan 12e → Bouaké 3e",relayLabel:c="Point relais d'arrivée",relayName:i="Épicerie des Brotteaux",steps:a=Qo}){return e.jsxs("article",{className:u.card,children:[e.jsx("h3",{className:u.title,children:s}),e.jsx("p",{className:u.number,children:t}),e.jsx("ol",{className:u.progress,children:a.map((r,l)=>e.jsxs("li",{className:u.stepItem,children:[e.jsx("span",{className:u[r.state],children:r.mark}),l<a.length-1?e.jsx("span",{className:r.state==="done"?u.line:u.lineMuted}):null]},`${r.mark}-${l}`))}),e.jsx("p",{className:u.route,children:n}),e.jsxs("div",{className:u.relay,children:[e.jsx("span",{className:u.relayIcon,"aria-hidden":"true",children:"⌂"}),e.jsxs("div",{children:[e.jsx("p",{className:u.relayLabel,children:c}),e.jsx("p",{className:u.relayName,children:i})]})]})]})}const Ko="data:image/svg+xml,%3csvg%20preserveAspectRatio='none'%20overflow='visible'%20style='display:%20block;'%20width='18'%20height='18'%20viewBox='0%200%2018%2018'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='search'%3e%3cpath%20id='Vector'%20d='M15.7501%2015.7501L12.4951%2012.4951M14.25%208.25C14.25%2011.5637%2011.5637%2014.25%208.25%2014.25C4.93629%2014.25%202.25%2011.5637%202.25%208.25C2.25%204.93629%204.93629%202.25%208.25%202.25C11.5637%202.25%2014.25%204.93629%2014.25%208.25Z'%20stroke='%23606978'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/g%3e%3c/svg%3e",Wo="_bar_11pmd_1",Yo={bar:Wo};function Jo({defaultValue:s="LR-9999-000000",onSearch:t}){function n(c){c.preventDefault();const i=new FormData(c.currentTarget);t?.(String(i.get("tracking")??""))}return e.jsxs("form",{className:Yo.bar,onSubmit:n,children:[e.jsx("img",{src:Ko,alt:"",width:18,height:18}),e.jsx("input",{name:"tracking",defaultValue:s,"aria-label":"Numéro de suivi"}),e.jsx("button",{type:"submit",children:"Rechercher"})]})}const Xo="data:image/svg+xml,%3csvg%20preserveAspectRatio='none'%20overflow='visible'%20style='display:%20block;'%20width='18'%20height='18'%20viewBox='0%200%2018%2018'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='map-pin'%3e%3cpath%20id='Vector'%20d='M9.4507%2016.35C10.8456%2015.1454%2014.9994%2011.2451%2014.9994%207.49996C14.9994%205.90851%2014.3673%204.38224%2013.2422%203.25692C12.1171%202.1316%2010.5911%201.4994%209%201.4994C7.40886%201.4994%205.88289%202.1316%204.75778%203.25692C3.63268%204.38224%203.0006%205.90851%203.0006%207.49996C3.0006%2011.2451%207.15443%2015.1454%208.5493%2016.35C8.67924%2016.4478%208.83742%2016.5006%209%2016.5006C9.16258%2016.5006%209.32076%2016.4478%209.4507%2016.35Z'%20stroke='%23D34860'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/g%3e%3c/svg%3e",er="_card_1o1sd_1",sr="_icon_1o1sd_15",S2={card:er,icon:sr};function tr({title:s="Proximité",description:t="Un réseau de commerces partenaires proche des utilisateurs."}){return e.jsxs("article",{className:S2.card,children:[e.jsx("span",{className:S2.icon,children:e.jsx("img",{src:Xo,alt:"",width:18,height:18})}),e.jsxs("div",{children:[e.jsx("h3",{children:s}),e.jsx("p",{children:t})]})]})}exports.ADMIN_ITEMS=T2;exports.Accordion=re;exports.ActionCard=me;exports.Alert=Ce;exports.Avatar=I2;exports.Badge=Be;exports.BarChart=Oe;exports.BenefitsCard=Je;exports.BottomNavItem=s0;exports.Breadcrumb=a0;exports.Button=z2;exports.Checkbox=h0;exports.ConfirmModal=f0;exports.CoreButton=B2;exports.CoreField=z0;exports.CoreSelect=P0;exports.CoreTabs=W0;exports.DashboardParcelRow=ns;exports.DataFiltersToolbar=as;exports.DataSearchBar=ls;exports.DataTable=bs;exports.Divider=ys;exports.DropdownMenu=Ss;exports.EmptyState=Ts;exports.FaqItem=Hs;exports.FavoriteRelayCard=Xs;exports.FeatureCard=at;exports.FileUpload=_t;exports.FilterPill=mt;exports.Footer=Ct;exports.GERANT_ITEMS=E2;exports.Icon=p;exports.InfoRow=$t;exports.LinkButton=Vt;exports.LocationCard=Tt;exports.Logo=h2;exports.MetricCard=Qt;exports.Navbar=rn;exports.NotificationItem=bn;exports.NotificationRow=Nn;exports.OutcomeModal=En;exports.Pagination=Un;exports.ParcelCard=Kn;exports.ParcelRow=ec;exports.ParcelTimeline=dc;exports.PhotoUpload=gc;exports.ProcessBadge=kc;exports.ProgressBar=Sc;exports.QrScanner=Dc;exports.QuestionSearch=Fc;exports.QuickActionCard=Oc;exports.Radio=Wc;exports.RelayCard=ti;exports.RelayResultCard=pi;exports.ResetPasswordCard=ji;exports.SearchBar=fi;exports.Select=Ai;exports.ShipmentStatus=Fi;exports.Sidebar=Xi;exports.SidebarNavItem=ta;exports.Skeleton=oa;exports.StatCard=pa;exports.StatusSummary=xa;exports.StepCard=ya;exports.Stepper=Da;exports.StepsList=Fa;exports.SuccessFeedback=Ha;exports.Switch=Wa;exports.Tabs=eo;exports.Tag=oo;exports.TextField=ho;exports.Toast=yo;exports.Tooltip=Lo;exports.TrackingBadge=Ao;exports.TrackingCard=Go;exports.TrackingSearch=Jo;exports.ValueCard=tr;exports.cn=o;exports.icons=R2;
|