@strapi/design-system 1.4.2 → 1.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/Accordion/AccordionContent.cjs +1 -1
- package/dist/Accordion/AccordionContent.js +17 -37
- package/dist/Accordion/AccordionToggle.cjs +6 -6
- package/dist/Accordion/AccordionToggle.js +75 -96
- package/dist/Alert/Alert.cjs +12 -12
- package/dist/Alert/Alert.js +83 -102
- package/dist/Badge/Badge.cjs +4 -4
- package/dist/Badge/Badge.js +29 -49
- package/dist/BaseButton/BaseButton.cjs +3 -3
- package/dist/BaseButton/BaseButton.js +20 -42
- package/dist/BaseCheckbox/BaseCheckbox.cjs +6 -6
- package/dist/BaseCheckbox/BaseCheckbox.js +35 -55
- package/dist/BaseLink/BaseLink.cjs +2 -2
- package/dist/BaseLink/BaseLink.js +21 -43
- package/dist/BaseRadio/BaseRadio.cjs +8 -8
- package/dist/BaseRadio/BaseRadio.js +31 -51
- package/dist/BaseRadio/RadioGroup.cjs +1 -1
- package/dist/BaseRadio/RadioGroup.js +24 -44
- package/dist/Box/BoxProps.cjs +1 -1
- package/dist/Box/BoxProps.js +10 -19
- package/dist/Breadcrumbs/Breadcrumbs.cjs +4 -4
- package/dist/Breadcrumbs/Breadcrumbs.js +29 -50
- package/dist/Button/Button.cjs +14 -14
- package/dist/Button/Button.js +53 -73
- package/dist/Card/Card.cjs +1 -1
- package/dist/Card/Card.js +17 -37
- package/dist/Card/CardAsset.cjs +4 -4
- package/dist/Card/CardAsset.js +19 -42
- package/dist/Card/CardBadge.cjs +3 -3
- package/dist/Card/CardBadge.js +9 -18
- package/dist/Card/CardBody.cjs +1 -1
- package/dist/Card/CardBody.js +8 -19
- package/dist/Card/CardCheckbox.cjs +1 -1
- package/dist/Card/CardCheckbox.js +12 -22
- package/dist/Card/CardContent.cjs +2 -2
- package/dist/Card/CardContent.js +11 -32
- package/dist/Card/CardHeader.cjs +2 -2
- package/dist/Card/CardHeader.js +9 -19
- package/dist/Card/CardTimer.cjs +2 -2
- package/dist/Card/CardTimer.js +20 -42
- package/dist/Card/CardTitle.cjs +1 -1
- package/dist/Card/CardTitle.js +16 -27
- package/dist/CarouselInput/Carousel.cjs +6 -6
- package/dist/CarouselInput/Carousel.js +77 -107
- package/dist/CarouselInput/CarouselActions.cjs +1 -1
- package/dist/CarouselInput/CarouselActions.js +7 -17
- package/dist/CarouselInput/CarouselImage.cjs +3 -3
- package/dist/CarouselInput/CarouselImage.js +26 -38
- package/dist/CarouselInput/CarouselInput.cjs +1 -1
- package/dist/CarouselInput/CarouselInput.js +49 -83
- package/dist/CarouselInput/CarouselSlide.cjs +2 -2
- package/dist/CarouselInput/CarouselSlide.js +20 -42
- package/dist/Checkbox/Checkbox.cjs +2 -2
- package/dist/Checkbox/Checkbox.js +44 -63
- package/dist/Combobox/Combobox.cjs +1 -1
- package/dist/Combobox/Combobox.js +196 -246
- package/dist/Combobox/ComboboxOption.cjs +1 -1
- package/dist/Combobox/ComboboxOption.js +25 -47
- package/dist/Combobox/utils.cjs +1 -1
- package/dist/Combobox/utils.js +21 -21
- package/dist/DatePicker/DatePicker.cjs +1 -1
- package/dist/DatePicker/DatePicker.js +85 -117
- package/dist/DatePicker/DatePickerCalendar.cjs +1 -1
- package/dist/DatePicker/DatePickerCalendar.js +1 -1
- package/dist/DatePicker/DatePickerTd.cjs +4 -4
- package/dist/DatePicker/DatePickerTd.js +23 -42
- package/dist/DatePicker/DatePickerTh.cjs +3 -3
- package/dist/DatePicker/DatePickerTh.js +23 -44
- package/dist/DatePicker/utils/getYears.cjs +1 -1
- package/dist/DatePicker/utils/getYears.js +6 -7
- package/dist/DateTimePicker/DateTimePicker.cjs +1 -1
- package/dist/DateTimePicker/DateTimePicker.js +92 -126
- package/dist/DateTimePicker/DateTimePickerProps.cjs +1 -1
- package/dist/DateTimePicker/DateTimePickerProps.js +10 -19
- package/dist/Dialog/Dialog.cjs +5 -5
- package/dist/Dialog/Dialog.js +39 -58
- package/dist/Divider/Divider.cjs +4 -2
- package/dist/Divider/Divider.js +17 -38
- package/dist/Field/Field.cjs +1 -1
- package/dist/Field/Field.js +20 -39
- package/dist/Field/FieldAction.cjs +2 -2
- package/dist/Field/FieldAction.js +13 -35
- package/dist/Field/FieldInput.cjs +6 -6
- package/dist/Field/FieldInput.js +47 -67
- package/dist/Field/FieldLabel.cjs +3 -3
- package/dist/Field/FieldLabel.js +26 -46
- package/dist/Flex/FlexProps.cjs +1 -1
- package/dist/Flex/FlexProps.js +10 -19
- package/dist/FocusTrap/FocusTrap.cjs +1 -1
- package/dist/FocusTrap/FocusTrap.js +32 -52
- package/dist/Grid/Grid.cjs +3 -3
- package/dist/Grid/Grid.js +20 -42
- package/dist/Grid/GridItem.cjs +2 -2
- package/dist/Grid/GridItem.js +22 -41
- package/dist/Icon/Icon.cjs +2 -2
- package/dist/Icon/Icon.js +17 -27
- package/dist/IconButton/IconButton.cjs +4 -4
- package/dist/IconButton/IconButton.js +44 -64
- package/dist/KeyboardNavigable/KeyboardNavigable.cjs +1 -1
- package/dist/KeyboardNavigable/KeyboardNavigable.js +38 -58
- package/dist/Layout/HeaderLayout.cjs +2 -2
- package/dist/Layout/HeaderLayout.js +78 -96
- package/dist/Link/Link.cjs +6 -6
- package/dist/Link/Link.js +34 -54
- package/dist/LinkButton/LinkButton.cjs +10 -10
- package/dist/LinkButton/LinkButton.js +47 -69
- package/dist/Loader/Loader.cjs +4 -4
- package/dist/Loader/Loader.js +25 -47
- package/dist/Main/Main.cjs +2 -2
- package/dist/Main/Main.js +15 -35
- package/dist/MainNav/MainNav.cjs +2 -2
- package/dist/MainNav/MainNav.js +19 -40
- package/dist/MainNav/NavCondense.cjs +3 -3
- package/dist/MainNav/NavCondense.js +20 -40
- package/dist/MainNav/NavFooter.cjs +3 -0
- package/dist/MainNav/NavFooter.js +14 -0
- package/dist/MainNav/NavLink.cjs +13 -13
- package/dist/MainNav/NavLink.js +57 -76
- package/dist/MainNav/NavSection.cjs +1 -1
- package/dist/MainNav/NavSection.js +46 -67
- package/dist/MainNav/NavSections.cjs +4 -1
- package/dist/MainNav/NavSections.js +23 -40
- package/dist/MainNav/NavUser.cjs +2 -6
- package/dist/MainNav/NavUser.js +31 -55
- package/dist/MainNav/index.cjs +1 -1
- package/dist/MainNav/index.js +14 -12
- package/dist/ModalLayout/ModalBody.cjs +2 -2
- package/dist/ModalLayout/ModalBody.js +9 -19
- package/dist/ModalLayout/ModalLayout.cjs +3 -3
- package/dist/ModalLayout/ModalLayout.js +30 -52
- package/dist/NumberInput/NumberInput.cjs +6 -6
- package/dist/NumberInput/NumberInput.js +123 -157
- package/dist/Pagination/components.cjs +7 -7
- package/dist/Pagination/components.js +65 -88
- package/dist/Popover/Popover.cjs +3 -3
- package/dist/Popover/Popover.js +65 -91
- package/dist/Portal/Portal.cjs +1 -1
- package/dist/Portal/Portal.js +11 -12
- package/dist/ProgressBar/ProgressBar.cjs +2 -2
- package/dist/ProgressBar/ProgressBar.js +27 -49
- package/dist/Radio/Radio.cjs +2 -2
- package/dist/Radio/Radio.js +19 -40
- package/dist/RawTable/RawCell.cjs +1 -1
- package/dist/RawTable/RawCell.js +69 -89
- package/dist/RawTable/RawTable.cjs +1 -1
- package/dist/RawTable/RawTable.js +46 -66
- package/dist/RawTable/RawTbody.cjs +1 -1
- package/dist/RawTable/RawTbody.js +11 -30
- package/dist/RawTable/RawThead.cjs +1 -1
- package/dist/RawTable/RawThead.js +10 -29
- package/dist/RawTable/RawTr.cjs +1 -1
- package/dist/RawTable/RawTr.js +14 -34
- package/dist/Searchbar/SearchForm.cjs +1 -1
- package/dist/Searchbar/SearchForm.js +5 -16
- package/dist/Searchbar/Searchbar.cjs +7 -7
- package/dist/Searchbar/Searchbar.js +45 -65
- package/dist/Select/MultiSelectNested.cjs +1 -1
- package/dist/Select/MultiSelectNested.js +23 -45
- package/dist/Select/OptGroup.cjs +1 -1
- package/dist/Select/OptGroup.js +15 -35
- package/dist/Select/Option.cjs +7 -7
- package/dist/Select/Option.js +37 -57
- package/dist/Select/Select.cjs +2 -2
- package/dist/Select/Select.js +145 -186
- package/dist/Select/SelectButton.cjs +2 -2
- package/dist/Select/SelectButton.js +33 -53
- package/dist/SimpleMenu/SimpleMenu.cjs +9 -9
- package/dist/SimpleMenu/SimpleMenu.js +137 -163
- package/dist/Stack/Stack.cjs +3 -3
- package/dist/Stack/Stack.js +29 -50
- package/dist/Status/Status.cjs +4 -4
- package/dist/Status/Status.js +30 -50
- package/dist/SubNav/SubNav.cjs +3 -3
- package/dist/SubNav/SubNav.js +15 -37
- package/dist/SubNav/SubNavHeader.cjs +2 -2
- package/dist/SubNav/SubNavHeader.js +38 -39
- package/dist/SubNav/SubNavLink.cjs +6 -6
- package/dist/SubNav/SubNavLink.js +39 -61
- package/dist/SubNav/SubNavSections.cjs +1 -1
- package/dist/SubNav/SubNavSections.js +17 -39
- package/dist/Switch/Switch.cjs +5 -5
- package/dist/Switch/Switch.js +35 -57
- package/dist/Table/Cell.cjs +3 -3
- package/dist/Table/Cell.js +20 -40
- package/dist/Table/TFooter.cjs +3 -3
- package/dist/Table/TFooter.js +28 -50
- package/dist/Table/Table.cjs +5 -5
- package/dist/Table/Table.js +35 -55
- package/dist/Table/Tbody.cjs +2 -2
- package/dist/Table/Tbody.js +8 -17
- package/dist/Table/Thead.cjs +2 -2
- package/dist/Table/Thead.js +8 -17
- package/dist/Table/Tr.cjs +2 -2
- package/dist/Table/Tr.js +8 -17
- package/dist/Tabs/TabGroup.cjs +1 -1
- package/dist/Tabs/TabGroup.js +26 -45
- package/dist/Tabs/TabPanels.cjs +1 -1
- package/dist/Tabs/TabPanels.js +24 -43
- package/dist/Tabs/Tabs.cjs +2 -2
- package/dist/Tabs/Tabs.js +94 -112
- package/dist/Tag/Tag.cjs +4 -4
- package/dist/Tag/Tag.js +27 -50
- package/dist/TextButton/TextButton.cjs +6 -6
- package/dist/TextButton/TextButton.js +39 -59
- package/dist/TextInput/TextInput.cjs +1 -1
- package/dist/TextInput/TextInput.js +49 -69
- package/dist/Textarea/Textarea.cjs +3 -3
- package/dist/Textarea/Textarea.js +43 -63
- package/dist/Textarea/TextareaInput.cjs +4 -4
- package/dist/Textarea/TextareaInput.js +30 -50
- package/dist/TimePicker/TimePicker.cjs +3 -3
- package/dist/TimePicker/TimePicker.js +62 -95
- package/dist/ToggleCheckbox/ToggleCheckbox.cjs +8 -8
- package/dist/ToggleCheckbox/ToggleCheckbox.js +56 -78
- package/dist/ToggleInput/ToggleInput.cjs +3 -3
- package/dist/ToggleInput/ToggleInput.js +65 -97
- package/dist/Tooltip/Tooltip.cjs +2 -2
- package/dist/Tooltip/Tooltip.js +38 -57
- package/dist/Typography/TypographyProps.cjs +1 -1
- package/dist/Typography/TypographyProps.js +13 -22
- package/dist/helpers/getDefaultLocale.cjs +1 -1
- package/dist/helpers/getDefaultLocale.js +1 -1
- package/dist/helpers/handleResponsiveValues.cjs +5 -5
- package/dist/helpers/handleResponsiveValues.js +14 -14
- package/dist/index.cjs +1 -1
- package/dist/index.js +150 -148
- package/dist/themes/darkTheme/index.cjs +1 -1
- package/dist/themes/darkTheme/index.js +8 -18
- package/dist/themes/extendTheme.cjs +4 -4
- package/dist/themes/extendTheme.js +18 -29
- package/dist/themes/lightTheme/index.cjs +1 -1
- package/dist/themes/lightTheme/index.js +8 -18
- package/dist/v2/Breadcrumbs/Breadcrumbs.cjs +2 -2
- package/dist/v2/Breadcrumbs/Breadcrumbs.js +23 -43
- package/dist/v2/Breadcrumbs/Crumb.cjs +1 -1
- package/dist/v2/Breadcrumbs/Crumb.js +22 -44
- package/dist/v2/Breadcrumbs/CrumbLink.cjs +2 -2
- package/dist/v2/Breadcrumbs/CrumbLink.js +14 -35
- package/dist/v2/Breadcrumbs/CrumbSimpleMenu.cjs +2 -2
- package/dist/v2/Breadcrumbs/CrumbSimpleMenu.js +19 -41
- package/dist/v2/Link/Link.cjs +5 -5
- package/dist/v2/Link/Link.js +42 -64
- package/dist/v2/LinkButton/LinkButton.cjs +10 -10
- package/dist/v2/LinkButton/LinkButton.js +51 -75
- package/dist/v2/MainNav/MainNav.cjs +2 -2
- package/dist/v2/MainNav/MainNav.js +19 -40
- package/dist/v2/MainNav/NavBrand.cjs +3 -3
- package/dist/v2/MainNav/NavBrand.js +57 -78
- package/dist/v2/MainNav/NavCondense.cjs +3 -3
- package/dist/v2/MainNav/NavCondense.js +20 -40
- package/dist/v2/MainNav/NavFooter.cjs +3 -0
- package/dist/v2/MainNav/NavFooter.js +14 -0
- package/dist/v2/MainNav/NavLink.cjs +13 -13
- package/dist/v2/MainNav/NavLink.js +60 -81
- package/dist/v2/MainNav/NavSection.cjs +1 -1
- package/dist/v2/MainNav/NavSection.js +46 -67
- package/dist/v2/MainNav/NavSections.cjs +4 -1
- package/dist/v2/MainNav/NavSections.js +23 -40
- package/dist/v2/MainNav/NavUser.cjs +2 -6
- package/dist/v2/MainNav/NavUser.js +31 -55
- package/dist/v2/MainNav/index.cjs +1 -1
- package/dist/v2/MainNav/index.js +14 -12
- package/dist/v2/Pagination/components.cjs +7 -7
- package/dist/v2/Pagination/components.js +65 -89
- package/dist/v2/SimpleMenu/SimpleMenu.cjs +9 -9
- package/dist/v2/SimpleMenu/SimpleMenu.js +131 -156
- package/dist/v2/SubNav/SubNav.cjs +3 -3
- package/dist/v2/SubNav/SubNav.js +15 -37
- package/dist/v2/SubNav/SubNavHeader.cjs +2 -2
- package/dist/v2/SubNav/SubNavHeader.js +38 -39
- package/dist/v2/SubNav/SubNavLink.cjs +6 -6
- package/dist/v2/SubNav/SubNavLink.js +42 -64
- package/dist/v2/SubNav/SubNavSections.cjs +1 -1
- package/dist/v2/SubNav/SubNavSections.js +17 -39
- package/dist/v2/index.cjs +1 -1
- package/dist/v2/index.js +37 -35
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -7,8 +7,8 @@ import { Avatar as l, Initials as T } from "./Avatar/Avatar.js";
|
|
|
7
7
|
import { AvatarGroup as c } from "./Avatar/AvatarGroup.js";
|
|
8
8
|
import { Badge as C } from "./Badge/Badge.js";
|
|
9
9
|
import { BaseButton as y, BaseButtonWrapper as B } from "./BaseButton/BaseButton.js";
|
|
10
|
-
import { BaseCheckbox as
|
|
11
|
-
import { BaseLink as
|
|
10
|
+
import { BaseCheckbox as v } from "./BaseCheckbox/BaseCheckbox.js";
|
|
11
|
+
import { BaseLink as h } from "./BaseLink/BaseLink.js";
|
|
12
12
|
import { BaseRadio as k } from "./BaseRadio/BaseRadio.js";
|
|
13
13
|
import { RadioGroup as A } from "./BaseRadio/RadioGroup.js";
|
|
14
14
|
import { Box as I } from "./Box/Box.js";
|
|
@@ -32,7 +32,7 @@ import { CarouselSlide as so } from "./CarouselInput/CarouselSlide.js";
|
|
|
32
32
|
import { Checkbox as bo } from "./Checkbox/Checkbox.js";
|
|
33
33
|
import { Combobox as So, CreatableCombobox as yo } from "./Combobox/Combobox.js";
|
|
34
34
|
import { ComboboxOption as Lo } from "./Combobox/ComboboxOption.js";
|
|
35
|
-
import { Dialog as
|
|
35
|
+
import { Dialog as go } from "./Dialog/Dialog.js";
|
|
36
36
|
import { DialogBody as No } from "./Dialog/DialogBody.js";
|
|
37
37
|
import { DialogFooter as Fo } from "./Dialog/DialogFooter.js";
|
|
38
38
|
import { DismissibleLayer as Po } from "./DismissibleLayer/DismissibleLayer.js";
|
|
@@ -57,7 +57,7 @@ import { Layout as sr } from "./Layout/Layout.js";
|
|
|
57
57
|
import { ActionLayout as br } from "./Layout/ActionLayout.js";
|
|
58
58
|
import { ContentLayout as Sr } from "./Layout/ContentLayout.js";
|
|
59
59
|
import { BaseHeaderLayout as Br, HeaderLayout as Lr } from "./Layout/HeaderLayout.js";
|
|
60
|
-
import { TwoColsLayout as
|
|
60
|
+
import { TwoColsLayout as gr } from "./Layout/TwoColsLayout.js";
|
|
61
61
|
import { GridLayout as Nr } from "./Layout/GridLayout.js";
|
|
62
62
|
import { Link as Fr } from "./Link/Link.js";
|
|
63
63
|
import { LinkButton as Pr } from "./LinkButton/LinkButton.js";
|
|
@@ -67,70 +67,71 @@ import { Main as Dr } from "./Main/Main.js";
|
|
|
67
67
|
import { SkipToContent as Er } from "./Main/SkipToContent.js";
|
|
68
68
|
import { MainNav as Wr } from "./MainNav/MainNav.js";
|
|
69
69
|
import { NavBrand as zr } from "./MainNav/NavBrand.js";
|
|
70
|
-
import {
|
|
71
|
-
import {
|
|
72
|
-
import {
|
|
73
|
-
import {
|
|
74
|
-
import {
|
|
75
|
-
import {
|
|
76
|
-
import {
|
|
77
|
-
import {
|
|
78
|
-
import {
|
|
79
|
-
import {
|
|
80
|
-
import {
|
|
81
|
-
import {
|
|
82
|
-
import {
|
|
83
|
-
import {
|
|
84
|
-
import {
|
|
85
|
-
import {
|
|
86
|
-
import {
|
|
87
|
-
import {
|
|
88
|
-
import {
|
|
89
|
-
import {
|
|
90
|
-
import {
|
|
91
|
-
import {
|
|
92
|
-
import {
|
|
93
|
-
import {
|
|
94
|
-
import {
|
|
95
|
-
import {
|
|
96
|
-
import {
|
|
97
|
-
import {
|
|
98
|
-
import {
|
|
99
|
-
import {
|
|
100
|
-
import {
|
|
101
|
-
import {
|
|
102
|
-
import {
|
|
103
|
-
import {
|
|
104
|
-
import {
|
|
105
|
-
import {
|
|
106
|
-
import {
|
|
107
|
-
import {
|
|
108
|
-
import {
|
|
109
|
-
import {
|
|
110
|
-
import {
|
|
111
|
-
import {
|
|
112
|
-
import {
|
|
113
|
-
import {
|
|
114
|
-
import {
|
|
115
|
-
import {
|
|
116
|
-
import {
|
|
117
|
-
import {
|
|
118
|
-
import {
|
|
119
|
-
import {
|
|
120
|
-
import {
|
|
121
|
-
import {
|
|
122
|
-
import {
|
|
123
|
-
import {
|
|
124
|
-
import {
|
|
125
|
-
import {
|
|
126
|
-
import {
|
|
127
|
-
import {
|
|
128
|
-
import {
|
|
129
|
-
import {
|
|
130
|
-
import {
|
|
131
|
-
import {
|
|
132
|
-
import {
|
|
133
|
-
import {
|
|
70
|
+
import { NavCondense as Ur } from "./MainNav/NavCondense.js";
|
|
71
|
+
import { NavFooter as jr } from "./MainNav/NavFooter.js";
|
|
72
|
+
import { NavLink as Jr } from "./MainNav/NavLink.js";
|
|
73
|
+
import { NavSection as Xr } from "./MainNav/NavSection.js";
|
|
74
|
+
import { NavSections as Zr } from "./MainNav/NavSections.js";
|
|
75
|
+
import { NavUser as oe } from "./MainNav/NavUser.js";
|
|
76
|
+
import { ModalLayout as ee } from "./ModalLayout/ModalLayout.js";
|
|
77
|
+
import { ModalHeader as pe } from "./ModalLayout/ModalHeader.js";
|
|
78
|
+
import { ModalFooter as xe } from "./ModalLayout/ModalFooter.js";
|
|
79
|
+
import { ModalBody as ae } from "./ModalLayout/ModalBody.js";
|
|
80
|
+
import { NumberInput as ne } from "./NumberInput/NumberInput.js";
|
|
81
|
+
import { Pagination as ue } from "./Pagination/Pagination.js";
|
|
82
|
+
import { Dots as Te, NextLink as se, PageLink as ce, PreviousLink as be } from "./Pagination/components.js";
|
|
83
|
+
import { POPOVER_PLACEMENTS as Se, Popover as ye } from "./Popover/Popover.js";
|
|
84
|
+
import { Portal as Le } from "./Portal/Portal.js";
|
|
85
|
+
import { ProgressBar as ge } from "./ProgressBar/ProgressBar.js";
|
|
86
|
+
import { Radio as Ne } from "./Radio/Radio.js";
|
|
87
|
+
import { RawTable as Fe } from "./RawTable/RawTable.js";
|
|
88
|
+
import { RawTd as Pe, RawTh as Ie } from "./RawTable/RawCell.js";
|
|
89
|
+
import { RawThead as Re } from "./RawTable/RawThead.js";
|
|
90
|
+
import { RawTbody as we } from "./RawTable/RawTbody.js";
|
|
91
|
+
import { RawTr as He } from "./RawTable/RawTr.js";
|
|
92
|
+
import { Flex as Oe } from "./Flex/Flex.js";
|
|
93
|
+
import { Searchbar as Ve } from "./Searchbar/Searchbar.js";
|
|
94
|
+
import { SearchForm as Ke } from "./Searchbar/SearchForm.js";
|
|
95
|
+
import { Select as _e } from "./Select/Select.js";
|
|
96
|
+
import { Option as qe } from "./Select/Option.js";
|
|
97
|
+
import { OptGroup as Qe } from "./Select/OptGroup.js";
|
|
98
|
+
import { MultiSelectNested as Ye } from "./Select/MultiSelectNested.js";
|
|
99
|
+
import { SelectList as $e } from "./Select/SelectList.js";
|
|
100
|
+
import { MenuItem as rt, SimpleMenu as et } from "./SimpleMenu/SimpleMenu.js";
|
|
101
|
+
import { Stack as pt } from "./Stack/Stack.js";
|
|
102
|
+
import { Status as xt } from "./Status/Status.js";
|
|
103
|
+
import { SubNav as at, subNavWidth as it } from "./SubNav/SubNav.js";
|
|
104
|
+
import { SubNavHeader as dt } from "./SubNav/SubNavHeader.js";
|
|
105
|
+
import { SubNavLink as lt } from "./SubNav/SubNavLink.js";
|
|
106
|
+
import { SubNavLinkSection as st } from "./SubNav/SubNavLinkSection.js";
|
|
107
|
+
import { SubNavSection as bt } from "./SubNav/SubNavSection.js";
|
|
108
|
+
import { SubNavSections as St } from "./SubNav/SubNavSections.js";
|
|
109
|
+
import { Switch as Bt } from "./Switch/Switch.js";
|
|
110
|
+
import { Tab as vt, Tabs as gt } from "./Tabs/Tabs.js";
|
|
111
|
+
import { TabPanel as Nt, TabPanels as kt } from "./Tabs/TabPanels.js";
|
|
112
|
+
import { TabGroup as At } from "./Tabs/TabGroup.js";
|
|
113
|
+
import { Table as It } from "./Table/Table.js";
|
|
114
|
+
import { Tbody as Rt } from "./Table/Tbody.js";
|
|
115
|
+
import { Thead as wt } from "./Table/Thead.js";
|
|
116
|
+
import { Tr as Ht } from "./Table/Tr.js";
|
|
117
|
+
import { Td as Ot, Th as Wt } from "./Table/Cell.js";
|
|
118
|
+
import { TFooter as zt } from "./Table/TFooter.js";
|
|
119
|
+
import { Tag as Ut } from "./Tag/Tag.js";
|
|
120
|
+
import { TextButton as jt } from "./TextButton/TextButton.js";
|
|
121
|
+
import { TextInput as Jt } from "./TextInput/TextInput.js";
|
|
122
|
+
import { Textarea as Xt } from "./Textarea/Textarea.js";
|
|
123
|
+
import { ThemeProvider as Zt } from "./ThemeProvider/ThemeProvider.js";
|
|
124
|
+
import { useTheme as op } from "./ThemeProvider/hooks.js";
|
|
125
|
+
import { TimePicker as ep } from "./TimePicker/TimePicker.js";
|
|
126
|
+
import { ToggleCheckbox as pp } from "./ToggleCheckbox/ToggleCheckbox.js";
|
|
127
|
+
import { ToggleInput as xp } from "./ToggleInput/ToggleInput.js";
|
|
128
|
+
import { Tooltip as ap } from "./Tooltip/Tooltip.js";
|
|
129
|
+
import { Typography as np } from "./Typography/Typography.js";
|
|
130
|
+
import { VisuallyHidden as up } from "./VisuallyHidden/VisuallyHidden.js";
|
|
131
|
+
import { lightTheme as Tp } from "./themes/lightTheme/index.js";
|
|
132
|
+
import { darkTheme as cp } from "./themes/darkTheme/index.js";
|
|
133
|
+
import { extendTheme as Cp } from "./themes/extendTheme.js";
|
|
134
|
+
import { buttonFocusStyle as yp, getThemeSize as Bp, inputFocusStyle as Lp } from "./themes/utils.js";
|
|
134
135
|
export {
|
|
135
136
|
e as Accordion,
|
|
136
137
|
m as AccordionContent,
|
|
@@ -144,9 +145,9 @@ export {
|
|
|
144
145
|
C as Badge,
|
|
145
146
|
y as BaseButton,
|
|
146
147
|
B as BaseButtonWrapper,
|
|
147
|
-
|
|
148
|
+
v as BaseCheckbox,
|
|
148
149
|
Br as BaseHeaderLayout,
|
|
149
|
-
|
|
150
|
+
h as BaseLink,
|
|
150
151
|
k as BaseRadio,
|
|
151
152
|
I as Box,
|
|
152
153
|
R as Breadcrumbs,
|
|
@@ -176,12 +177,12 @@ export {
|
|
|
176
177
|
G as Crumb,
|
|
177
178
|
Mo as DatePicker,
|
|
178
179
|
Go as DateTimePicker,
|
|
179
|
-
|
|
180
|
+
go as Dialog,
|
|
180
181
|
No as DialogBody,
|
|
181
182
|
Fo as DialogFooter,
|
|
182
183
|
Po as DismissibleLayer,
|
|
183
184
|
Do as Divider,
|
|
184
|
-
|
|
185
|
+
Te as Dots,
|
|
185
186
|
Eo as EmptyStateLayout,
|
|
186
187
|
Wo as Field,
|
|
187
188
|
or as FieldAction,
|
|
@@ -190,7 +191,7 @@ export {
|
|
|
190
191
|
qo as FieldHint,
|
|
191
192
|
Uo as FieldInput,
|
|
192
193
|
zo as FieldLabel,
|
|
193
|
-
|
|
194
|
+
Oe as Flex,
|
|
194
195
|
er as FocusTrap,
|
|
195
196
|
pr as Grid,
|
|
196
197
|
xr as GridItem,
|
|
@@ -208,84 +209,85 @@ export {
|
|
|
208
209
|
Gr as Loader,
|
|
209
210
|
Dr as Main,
|
|
210
211
|
Wr as MainNav,
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
212
|
+
rt as MenuItem,
|
|
213
|
+
ae as ModalBody,
|
|
214
|
+
xe as ModalFooter,
|
|
215
|
+
pe as ModalHeader,
|
|
216
|
+
ee as ModalLayout,
|
|
217
|
+
Ye as MultiSelectNested,
|
|
217
218
|
zr as NavBrand,
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
ye as
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
219
|
+
Ur as NavCondense,
|
|
220
|
+
jr as NavFooter,
|
|
221
|
+
Jr as NavLink,
|
|
222
|
+
Xr as NavSection,
|
|
223
|
+
Zr as NavSections,
|
|
224
|
+
oe as NavUser,
|
|
225
|
+
se as NextLink,
|
|
226
|
+
ne as NumberInput,
|
|
227
|
+
Qe as OptGroup,
|
|
228
|
+
qe as Option,
|
|
229
|
+
Se as POPOVER_PLACEMENTS,
|
|
230
|
+
ce as PageLink,
|
|
231
|
+
ue as Pagination,
|
|
232
|
+
ye as Popover,
|
|
233
|
+
Le as Portal,
|
|
234
|
+
be as PreviousLink,
|
|
235
|
+
ge as ProgressBar,
|
|
236
|
+
Ne as Radio,
|
|
235
237
|
A as RadioGroup,
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
238
|
+
Fe as RawTable,
|
|
239
|
+
we as RawTbody,
|
|
240
|
+
Pe as RawTd,
|
|
241
|
+
Ie as RawTh,
|
|
242
|
+
Re as RawThead,
|
|
243
|
+
He as RawTr,
|
|
244
|
+
Ke as SearchForm,
|
|
245
|
+
Ve as Searchbar,
|
|
246
|
+
_e as Select,
|
|
247
|
+
$e as SelectList,
|
|
248
|
+
et as SimpleMenu,
|
|
247
249
|
Er as SkipToContent,
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
250
|
+
pt as Stack,
|
|
251
|
+
xt as Status,
|
|
252
|
+
at as SubNav,
|
|
253
|
+
dt as SubNavHeader,
|
|
254
|
+
lt as SubNavLink,
|
|
255
|
+
st as SubNavLinkSection,
|
|
256
|
+
bt as SubNavSection,
|
|
257
|
+
St as SubNavSections,
|
|
258
|
+
Bt as Switch,
|
|
259
|
+
zt as TFooter,
|
|
260
|
+
vt as Tab,
|
|
261
|
+
At as TabGroup,
|
|
262
|
+
Nt as TabPanel,
|
|
263
|
+
kt as TabPanels,
|
|
264
|
+
It as Table,
|
|
265
|
+
gt as Tabs,
|
|
266
|
+
Ut as Tag,
|
|
267
|
+
Rt as Tbody,
|
|
268
|
+
Ot as Td,
|
|
269
|
+
jt as TextButton,
|
|
270
|
+
Jt as TextInput,
|
|
271
|
+
Xt as Textarea,
|
|
272
|
+
Wt as Th,
|
|
273
|
+
wt as Thead,
|
|
274
|
+
Zt as ThemeProvider,
|
|
275
|
+
ep as TimePicker,
|
|
276
|
+
pp as ToggleCheckbox,
|
|
277
|
+
xp as ToggleInput,
|
|
278
|
+
ap as Tooltip,
|
|
279
|
+
Ht as Tr,
|
|
280
|
+
gr as TwoColsLayout,
|
|
281
|
+
np as Typography,
|
|
282
|
+
up as VisuallyHidden,
|
|
283
|
+
yp as buttonFocusStyle,
|
|
284
|
+
cp as darkTheme,
|
|
285
|
+
Cp as extendTheme,
|
|
286
|
+
Bp as getThemeSize,
|
|
287
|
+
Lp as inputFocusStyle,
|
|
288
|
+
Tp as lightTheme,
|
|
289
|
+
it as subNavWidth,
|
|
288
290
|
Zo as useField,
|
|
289
291
|
Mr as useNotifyAT,
|
|
290
|
-
|
|
292
|
+
op as useTheme
|
|
291
293
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./dark-colors.cjs"),o=require("./dark-shadows.cjs"),r=require("../common-theme.cjs"),s={colors:e.darkColorTokenObject.color,shadows:o.darkShadowTokenObject.shadow,...r.commonTheme};exports.darkTheme=s;
|
|
@@ -1,21 +1,11 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
for (var r of e(o))
|
|
9
|
-
h.call(o, r) && t(m, r, o[r]);
|
|
10
|
-
return m;
|
|
1
|
+
import { darkColorTokenObject as o } from "./dark-colors.js";
|
|
2
|
+
import { darkShadowTokenObject as r } from "./dark-shadows.js";
|
|
3
|
+
import { commonTheme as m } from "../common-theme.js";
|
|
4
|
+
const c = {
|
|
5
|
+
colors: o.color,
|
|
6
|
+
shadows: r.shadow,
|
|
7
|
+
...m
|
|
11
8
|
};
|
|
12
|
-
import { darkColorTokenObject as k } from "./dark-colors.js";
|
|
13
|
-
import { darkShadowTokenObject as s } from "./dark-shadows.js";
|
|
14
|
-
import { commonTheme as n } from "../common-theme.js";
|
|
15
|
-
const l = a({
|
|
16
|
-
colors: k.color,
|
|
17
|
-
shadows: s.shadow
|
|
18
|
-
}, n);
|
|
19
9
|
export {
|
|
20
|
-
|
|
10
|
+
c as darkTheme
|
|
21
11
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
${
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const c=require("./lightTheme/index.cjs"),s=e=>`
|
|
2
|
+
${e}
|
|
3
3
|
|
|
4
4
|
The following is an example:
|
|
5
5
|
|
|
@@ -7,7 +7,7 @@ The following is an example:
|
|
|
7
7
|
import { lightTheme, extendTheme } from '@strapi/design-system';
|
|
8
8
|
|
|
9
9
|
const myCustomTheme = extendTheme(lightTheme, {
|
|
10
|
-
${Object.keys(
|
|
10
|
+
${Object.keys(c.lightTheme).map(t=>`${t}: /* put the overrides for the ${t} key */,`).join(`
|
|
11
11
|
`)}
|
|
12
12
|
})
|
|
13
|
-
`,r=
|
|
13
|
+
`,r=e=>e&&typeof e=="object"&&!Array.isArray(e),h=(e,t)=>{const n={...e};return r(e)&&r(t)&&Object.keys(t).forEach(o=>{r(t[o])&&e.hasOwnProperty(o)?n[o]=h(e[o],t[o]):n[o]=t[o]}),n},u=(e,t)=>{if(!r(e)){const n=s("The first argument should be an object and corresponds to the theme you want to extend.");throw new Error(n)}if(!r(t)){const n=s("The second argument should be an object and corresponds to the keys of the theme you want to override.");throw new Error(n)}return h(e,t)};exports.extendTheme=u;
|
|
@@ -1,17 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
var s = (t, e, o) => e in t ? f(t, e, { enumerable: !0, configurable: !0, writable: !0, value: o }) : t[e] = o, c = (t, e) => {
|
|
5
|
-
for (var o in e || (e = {}))
|
|
6
|
-
p.call(e, o) && s(t, o, e[o]);
|
|
7
|
-
if (h)
|
|
8
|
-
for (var o of h(e))
|
|
9
|
-
u.call(e, o) && s(t, o, e[o]);
|
|
10
|
-
return t;
|
|
11
|
-
};
|
|
12
|
-
import { lightTheme as i } from "./lightTheme/index.js";
|
|
13
|
-
const m = (t) => `
|
|
14
|
-
${t}
|
|
1
|
+
import { lightTheme as c } from "./lightTheme/index.js";
|
|
2
|
+
const h = (e) => `
|
|
3
|
+
${e}
|
|
15
4
|
|
|
16
5
|
The following is an example:
|
|
17
6
|
|
|
@@ -19,29 +8,29 @@ The following is an example:
|
|
|
19
8
|
import { lightTheme, extendTheme } from '@strapi/design-system';
|
|
20
9
|
|
|
21
10
|
const myCustomTheme = extendTheme(lightTheme, {
|
|
22
|
-
${Object.keys(
|
|
11
|
+
${Object.keys(c).map((t) => `${t}: /* put the overrides for the ${t} key */,`).join(`
|
|
23
12
|
`)}
|
|
24
13
|
})
|
|
25
|
-
`, r = (
|
|
26
|
-
const
|
|
27
|
-
return r(
|
|
28
|
-
r(
|
|
29
|
-
}),
|
|
30
|
-
},
|
|
31
|
-
if (!r(
|
|
32
|
-
const
|
|
14
|
+
`, r = (e) => e && typeof e == "object" && !Array.isArray(e), s = (e, t) => {
|
|
15
|
+
const n = { ...e };
|
|
16
|
+
return r(e) && r(t) && Object.keys(t).forEach((o) => {
|
|
17
|
+
r(t[o]) && e.hasOwnProperty(o) ? n[o] = s(e[o], t[o]) : n[o] = t[o];
|
|
18
|
+
}), n;
|
|
19
|
+
}, a = (e, t) => {
|
|
20
|
+
if (!r(e)) {
|
|
21
|
+
const n = h(
|
|
33
22
|
"The first argument should be an object and corresponds to the theme you want to extend."
|
|
34
23
|
);
|
|
35
|
-
throw new Error(
|
|
24
|
+
throw new Error(n);
|
|
36
25
|
}
|
|
37
|
-
if (!r(
|
|
38
|
-
const
|
|
26
|
+
if (!r(t)) {
|
|
27
|
+
const n = h(
|
|
39
28
|
"The second argument should be an object and corresponds to the keys of the theme you want to override."
|
|
40
29
|
);
|
|
41
|
-
throw new Error(
|
|
30
|
+
throw new Error(n);
|
|
42
31
|
}
|
|
43
|
-
return
|
|
32
|
+
return s(e, t);
|
|
44
33
|
};
|
|
45
34
|
export {
|
|
46
|
-
|
|
35
|
+
a as extendTheme
|
|
47
36
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./light-colors.cjs"),o=require("./light-shadows.cjs"),t=require("../common-theme.cjs"),s={colors:e.lightColorTokenObject.color,shadows:o.lightShadowTokenObject.shadow,...t.commonTheme};exports.lightTheme=s;
|
|
@@ -1,21 +1,11 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
for (var m of t(o))
|
|
9
|
-
l.call(o, m) && e(r, m, o[m]);
|
|
10
|
-
return r;
|
|
1
|
+
import { lightColorTokenObject as o } from "./light-colors.js";
|
|
2
|
+
import { lightShadowTokenObject as m } from "./light-shadows.js";
|
|
3
|
+
import { commonTheme as r } from "../common-theme.js";
|
|
4
|
+
const c = {
|
|
5
|
+
colors: o.color,
|
|
6
|
+
shadows: m.shadow,
|
|
7
|
+
...r
|
|
11
8
|
};
|
|
12
|
-
import { lightColorTokenObject as s } from "./light-colors.js";
|
|
13
|
-
import { lightShadowTokenObject as n } from "./light-shadows.js";
|
|
14
|
-
import { commonTheme as p } from "../common-theme.js";
|
|
15
|
-
const g = h({
|
|
16
|
-
colors: s.color,
|
|
17
|
-
shadows: n.shadow
|
|
18
|
-
}, p);
|
|
19
9
|
export {
|
|
20
|
-
|
|
10
|
+
c as lightTheme
|
|
21
11
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const l=require("react"),h=require("prop-types"),p=require("styled-components"),m=require("../../Box/Box.cjs"),y=require("./Divider.cjs"),s=require("../../Flex/Flex.cjs"),i=e=>e&&typeof e=="object"&&"default"in e?e:{default:e},r=i(l),t=i(h),b=i(p),g=b.default(s.Flex)`
|
|
2
2
|
// CrumbLinks do have padding-x, because they need to have a
|
|
3
3
|
// interaction effect, which mis-aligns the breadcrumbs on the left.
|
|
4
4
|
// This normalizes the behavior by moving the first item to left by
|
|
@@ -6,4 +6,4 @@
|
|
|
6
6
|
:first-child {
|
|
7
7
|
margin-left: ${({theme:e})=>`calc(-1*${e.spaces[2]})`};
|
|
8
8
|
}
|
|
9
|
-
`,
|
|
9
|
+
`,n=({label:e,children:o,...d})=>{const a=l.Children.toArray(o);return r.default.createElement(m.Box,{"aria-label":e,...d},r.default.createElement(g,{as:"ol",horizontal:!0},l.Children.map(a,(c,u)=>{const f=a.length>1&&u+1<a.length;return r.default.createElement(s.Flex,{inline:!0,as:"li"},c,f&&r.default.createElement(y.Divider,null))})))};n.displayName="Breadcrumbs";n.propTypes={children:t.default.oneOfType([t.default.arrayOf(t.default.node),t.default.node]).isRequired,label:t.default.string.isRequired};exports.Breadcrumbs=n;
|
|
@@ -1,58 +1,38 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
for (var r of n(t))
|
|
9
|
-
c.call(t, r) && m(e, r, t[r]);
|
|
10
|
-
return e;
|
|
11
|
-
};
|
|
12
|
-
var p = (e, t) => {
|
|
13
|
-
var r = {};
|
|
14
|
-
for (var i in e)
|
|
15
|
-
d.call(e, i) && t.indexOf(i) < 0 && (r[i] = e[i]);
|
|
16
|
-
if (e != null && n)
|
|
17
|
-
for (var i of n(e))
|
|
18
|
-
t.indexOf(i) < 0 && c.call(e, i) && (r[i] = e[i]);
|
|
19
|
-
return r;
|
|
20
|
-
};
|
|
21
|
-
import o, { Children as f } from "react";
|
|
22
|
-
import a from "prop-types";
|
|
23
|
-
import E from "styled-components";
|
|
24
|
-
import { Box as T } from "../../Box/Box.js";
|
|
25
|
-
import { Divider as A } from "./Divider.js";
|
|
26
|
-
import { Flex as u } from "../../Flex/Flex.js";
|
|
27
|
-
const B = E(u)`
|
|
1
|
+
import r, { Children as a } from "react";
|
|
2
|
+
import e from "prop-types";
|
|
3
|
+
import h from "styled-components";
|
|
4
|
+
import { Box as p } from "../../Box/Box.js";
|
|
5
|
+
import { Divider as f } from "./Divider.js";
|
|
6
|
+
import { Flex as n } from "../../Flex/Flex.js";
|
|
7
|
+
const u = h(n)`
|
|
28
8
|
// CrumbLinks do have padding-x, because they need to have a
|
|
29
9
|
// interaction effect, which mis-aligns the breadcrumbs on the left.
|
|
30
10
|
// This normalizes the behavior by moving the first item to left by
|
|
31
11
|
// the same amount it has inner padding
|
|
32
12
|
:first-child {
|
|
33
|
-
margin-left: ${({ theme:
|
|
13
|
+
margin-left: ${({ theme: t }) => `calc(-1*${t.spaces[2]})`};
|
|
34
14
|
}
|
|
35
|
-
`,
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
},
|
|
15
|
+
`, o = ({ label: t, children: l, ...s }) => {
|
|
16
|
+
const i = a.toArray(l);
|
|
17
|
+
return /* @__PURE__ */ r.createElement(p, {
|
|
18
|
+
"aria-label": t,
|
|
19
|
+
...s
|
|
20
|
+
}, /* @__PURE__ */ r.createElement(u, {
|
|
41
21
|
as: "ol",
|
|
42
22
|
horizontal: !0
|
|
43
|
-
},
|
|
44
|
-
const
|
|
45
|
-
return /* @__PURE__ */
|
|
23
|
+
}, a.map(i, (m, d) => {
|
|
24
|
+
const c = i.length > 1 && d + 1 < i.length;
|
|
25
|
+
return /* @__PURE__ */ r.createElement(n, {
|
|
46
26
|
inline: !0,
|
|
47
27
|
as: "li"
|
|
48
|
-
},
|
|
28
|
+
}, m, c && /* @__PURE__ */ r.createElement(f, null));
|
|
49
29
|
})));
|
|
50
30
|
};
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
children:
|
|
54
|
-
label:
|
|
31
|
+
o.displayName = "Breadcrumbs";
|
|
32
|
+
o.propTypes = {
|
|
33
|
+
children: e.oneOfType([e.arrayOf(e.node), e.node]).isRequired,
|
|
34
|
+
label: e.string.isRequired
|
|
55
35
|
};
|
|
56
36
|
export {
|
|
57
|
-
|
|
37
|
+
o as Breadcrumbs
|
|
58
38
|
};
|