@lanaco/lnc-react-ui 4.0.198 → 4.0.200
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.cjs +5 -5
- package/dist/Accordion.js +45 -56
- package/dist/AccordionDetails.cjs +3 -3
- package/dist/AccordionDetails.js +11 -25
- package/dist/AccordionSummary.cjs +4 -4
- package/dist/AccordionSummary.js +34 -44
- package/dist/ActionsToolbar.cjs +2 -3
- package/dist/ActionsToolbar.js +83 -135
- package/dist/Alert.cjs +10 -10
- package/dist/Alert.js +32 -64
- package/dist/Avatar.cjs +9 -9
- package/dist/Avatar.js +33 -72
- package/dist/Badge.cjs +6 -6
- package/dist/Badge.js +22 -47
- package/dist/BlogCategoryCardsSection.cjs +1 -1
- package/dist/BlogCategoryCardsSection.js +12 -14
- package/dist/BlogExploreSection.cjs +1 -1
- package/dist/BlogExploreSection.js +1 -1
- package/dist/BlogsSectionWithFilters.cjs +1 -1
- package/dist/BlogsSectionWithFilters.js +1 -1
- package/dist/Breadcrumbs.cjs +5 -5
- package/dist/Breadcrumbs.js +57 -87
- package/dist/Button.cjs +11 -11
- package/dist/Button.js +126 -173
- package/dist/ButtonGroup.cjs +8 -8
- package/dist/ButtonGroup.js +37 -49
- package/dist/CalorieCalculatorSection.cjs +8 -8
- package/dist/CalorieCalculatorSection.js +90 -97
- package/dist/CheckBoxInput.cjs +1 -1
- package/dist/CheckBoxInput.js +2 -5
- package/dist/Chip.cjs +14 -14
- package/dist/Chip.js +73 -111
- package/dist/ConfirmationForm.cjs +6 -6
- package/dist/ConfirmationForm.js +67 -109
- package/dist/ContactSection.cjs +1 -0
- package/dist/ContactSection.js +1 -0
- package/dist/Content.cjs +1 -1
- package/dist/Content.js +7 -15
- package/dist/{DailyMotion-ByXblnua.js → DailyMotion-BBcJkMo_.js} +1 -1
- package/dist/{DailyMotion-BaFUcQKQ.cjs → DailyMotion-CpZExcrg.cjs} +1 -1
- package/dist/DataView.cjs +1 -1
- package/dist/DataView.js +30 -50
- package/dist/DateInput.cjs +4 -4
- package/dist/DateInput.js +1347 -1383
- package/dist/DecimalInput.cjs +6 -6
- package/dist/DecimalInput.js +210 -263
- package/dist/DecimalInputV2.cjs +23 -23
- package/dist/DecimalInputV2.js +119 -176
- package/dist/DetailedProductsInfinitiveSection.cjs +1 -1
- package/dist/DetailedProductsInfinitiveSection.js +1 -1
- package/dist/DetailedProductsSection.cjs +1 -1
- package/dist/DetailedProductsSection.js +1 -1
- package/dist/DetailsView.cjs +9 -9
- package/dist/DetailsView.js +111 -162
- package/dist/DoubleRangeSlider.cjs +22 -22
- package/dist/DoubleRangeSlider.js +70 -95
- package/dist/DragAndDropFile.cjs +10 -10
- package/dist/DragAndDropFile.js +347 -402
- package/dist/DragDropFiles.cjs +4 -4
- package/dist/DragDropFiles.js +70 -124
- package/dist/Drawer.cjs +5 -5
- package/dist/Drawer.js +97 -135
- package/dist/Dropdown.cjs +1 -1
- package/dist/Dropdown.js +44 -213
- package/dist/DropdownItem.cjs +14 -14
- package/dist/DropdownItem.js +106 -142
- package/dist/DropdownLookup.cjs +1 -1
- package/dist/DropdownLookup.js +61 -242
- package/dist/DropdownMenu.cjs +4 -4
- package/dist/DropdownMenu.js +87 -149
- package/dist/EditableTable.cjs +10 -10
- package/dist/EditableTable.js +165 -331
- package/dist/{Facebook-BCqiOWZO.js → Facebook-BSWPEXjA.js} +1 -1
- package/dist/{Facebook-D9wwecSW.cjs → Facebook-DoKw-XxT.cjs} +1 -1
- package/dist/FaqSection.cjs +3 -3
- package/dist/FaqSection.js +119 -153
- package/dist/FileInput.cjs +7 -7
- package/dist/FileInput.js +66 -94
- package/dist/{FilePlayer-ktaNhf3p.js → FilePlayer-BtGpIWnK.js} +1 -1
- package/dist/{FilePlayer-DB6jnpeC.cjs → FilePlayer-D9az_lc_.cjs} +1 -1
- package/dist/FlexBox.cjs +6 -6
- package/dist/FlexBox.js +28 -63
- package/dist/FlexGrid.cjs +1 -1
- package/dist/FlexGrid.js +27 -67
- package/dist/FlexGridItem.cjs +6 -6
- package/dist/FlexGridItem.js +34 -62
- package/dist/Footer.cjs +1 -1
- package/dist/Footer.js +7 -15
- package/dist/FormField.cjs +7 -7
- package/dist/FormField.js +22 -47
- package/dist/FormView.cjs +6 -6
- package/dist/FormView.js +148 -195
- package/dist/Grid.cjs +2 -2
- package/dist/Grid.js +40 -65
- package/dist/GridItem.cjs +2 -2
- package/dist/GridItem.js +47 -80
- package/dist/Header.cjs +1 -1
- package/dist/Header.js +7 -15
- package/dist/HelpBannerSection.cjs +3 -3
- package/dist/HelpBannerSection.js +9 -15
- package/dist/Icon.cjs +4 -4
- package/dist/Icon.js +29 -55
- package/dist/IconButton.cjs +9 -9
- package/dist/IconButton.js +89 -127
- package/dist/{Kaltura-CvlN0HDg.js → Kaltura-BDqlEQpd.js} +1 -1
- package/dist/{Kaltura-CCdXLzOa.cjs → Kaltura-CK6JHUZC.cjs} +1 -1
- package/dist/Kanban.cjs +7 -7
- package/dist/Kanban.js +2033 -2098
- package/dist/KanbanActionsToolbar.cjs +4 -5
- package/dist/KanbanActionsToolbar.js +61 -96
- package/dist/KanbanCard-B9V9EjVE.js +137 -0
- package/dist/KanbanCard-DihrKn-I.cjs +30 -0
- package/dist/KanbanCard.cjs +1 -1
- package/dist/KanbanCard.js +2 -3
- package/dist/KanbanFooter.cjs +3 -3
- package/dist/KanbanFooter.js +37 -55
- package/dist/KanbanHeader.cjs +4 -4
- package/dist/KanbanHeader.js +49 -81
- package/dist/KanbanView.cjs +2 -2
- package/dist/KanbanView.js +106 -173
- package/dist/Link.cjs +7 -7
- package/dist/Link.js +20 -37
- package/dist/LocationSearchSection.cjs +1 -1
- package/dist/LocationSearchSection.js +1 -1
- package/dist/MasonryGeneralCardsSection.cjs +1 -1
- package/dist/MasonryGeneralCardsSection.js +1 -1
- package/dist/MenuItem.cjs +13 -13
- package/dist/MenuItem.js +101 -139
- package/dist/{Mixcloud-nG_VyBNt.cjs → Mixcloud-C1Boh2Bm.cjs} +1 -1
- package/dist/{Mixcloud-Bb8MTclI.js → Mixcloud-zAh6j7Ha.js} +1 -1
- package/dist/Modal.cjs +18 -19
- package/dist/Modal.js +131 -166
- package/dist/MultiSelectDropdown.cjs +1 -1
- package/dist/MultiSelectDropdown.js +25 -196
- package/dist/MultiSelectDropdownLookup.cjs +1 -1
- package/dist/MultiSelectDropdownLookup.js +27 -209
- package/dist/{Mux-DfYpGTiP.js → Mux-BGTG_Tvc.js} +1 -1
- package/dist/{Mux-BgB2a8kM.cjs → Mux-C6TwZeaq.cjs} +1 -1
- package/dist/NestedDropdownItem.cjs +3 -3
- package/dist/NestedDropdownItem.js +45 -67
- package/dist/NestedMenuItem.cjs +5 -5
- package/dist/NestedMenuItem.js +51 -78
- package/dist/NotificationContainer.cjs +10 -10
- package/dist/NotificationContainer.js +46 -79
- package/dist/NotificationMessage.cjs +2 -2
- package/dist/NotificationMessage.js +47 -64
- package/dist/NumberInput.cjs +23 -23
- package/dist/NumberInput.js +89 -149
- package/dist/PageLayout.cjs +2 -2
- package/dist/PageLayout.js +20 -28
- package/dist/Pagination.cjs +3 -3
- package/dist/Pagination.js +102 -185
- package/dist/PasswordInput.cjs +23 -23
- package/dist/PasswordInput.js +108 -137
- package/dist/Popover.cjs +1 -1
- package/dist/Popover.js +7 -32
- package/dist/PopoverContent.cjs +5 -5
- package/dist/PopoverContent.js +22 -28
- package/dist/PopoverTrigger.cjs +1 -1
- package/dist/PopoverTrigger.js +7 -12
- package/dist/ProgressBar.cjs +8 -8
- package/dist/ProgressBar.js +32 -59
- package/dist/RadioGroup.cjs +3 -3
- package/dist/RadioGroup.js +41 -72
- package/dist/RadioInput.cjs +28 -28
- package/dist/RadioInput.js +78 -123
- package/dist/RangeSlider.cjs +19 -19
- package/dist/RangeSlider.js +92 -119
- package/dist/ReviewsSection.cjs +13 -13
- package/dist/ReviewsSection.js +81 -101
- package/dist/SalesCampaignsSection.cjs +19 -19
- package/dist/SalesCampaignsSection.js +283 -324
- package/dist/SearchBar.cjs +10 -10
- package/dist/SearchBar.js +168 -188
- package/dist/SearchSection-B94YN_6P.cjs +161 -0
- package/dist/{SearchSection-DDQ_K98T.js → SearchSection-DAaMecR4.js} +337 -359
- package/dist/SearchSection.cjs +1 -1
- package/dist/SearchSection.js +2 -3
- package/dist/Separator.cjs +3 -3
- package/dist/Separator.js +14 -19
- package/dist/Sidebar.cjs +4 -5
- package/dist/Sidebar.js +33 -56
- package/dist/SimpleCategoriesSection.cjs +1 -1
- package/dist/SimpleCategoriesSection.js +1 -1
- package/dist/{SoundCloud-C86xwUG6.cjs → SoundCloud-C6R6E6Zc.cjs} +1 -1
- package/dist/{SoundCloud-DG91z39R.js → SoundCloud-lO8wg_0s.js} +1 -1
- package/dist/Spinner.cjs +18 -18
- package/dist/Spinner.js +37 -54
- package/dist/StatsSection.cjs +6 -6
- package/dist/StatsSection.js +15 -25
- package/dist/{Streamable-4uAnb3WN.cjs → Streamable-DZO95CiT.cjs} +1 -1
- package/dist/{Streamable-BAIWLgyD.js → Streamable-Dwa5ZEK4.js} +1 -1
- package/dist/Surface.cjs +4 -4
- package/dist/Surface.js +19 -34
- package/dist/SwipeableDrawer.cjs +8 -8
- package/dist/SwipeableDrawer.js +84 -136
- package/dist/TabItem.cjs +11 -11
- package/dist/TabItem.js +83 -118
- package/dist/Table.cjs +65 -65
- package/dist/Table.js +786 -1167
- package/dist/TableView.cjs +2 -2
- package/dist/TableView.js +113 -197
- package/dist/Tabs.cjs +4 -4
- package/dist/Tabs.js +41 -60
- package/dist/TextAreaInput.cjs +14 -14
- package/dist/TextAreaInput.js +131 -181
- package/dist/TextInput.cjs +23 -23
- package/dist/TextInput.js +78 -126
- package/dist/ThemeProvider.cjs +5 -5
- package/dist/ThemeProvider.js +35 -39
- package/dist/TimeInput.cjs +7 -7
- package/dist/TimeInput.js +46 -72
- package/dist/Toggle.cjs +20 -20
- package/dist/Toggle.js +78 -109
- package/dist/ToggleSection.cjs +6 -5
- package/dist/ToggleSection.js +49 -55
- package/dist/TreeMenu.cjs +5 -5
- package/dist/TreeMenu.js +43 -67
- package/dist/TreeMenuSeparator.cjs +3 -3
- package/dist/TreeMenuSeparator.js +12 -20
- package/dist/{Twitch-CVAj24ti.cjs → Twitch-B17oKtD0.cjs} +1 -1
- package/dist/{Twitch-DfXeW5Xs.js → Twitch-C73-dwWo.js} +1 -1
- package/dist/UploadedFile.cjs +11 -11
- package/dist/UploadedFile.js +73 -99
- package/dist/{Vidyard-De3pges0.js → Vidyard-B6GdBHsM.js} +1 -1
- package/dist/{Vidyard-DaCcaaH4.cjs → Vidyard-s1MMcaRm.cjs} +1 -1
- package/dist/{Vimeo-8wXdCXGs.cjs → Vimeo-J1l_SU2E.cjs} +1 -1
- package/dist/{Vimeo-N6I2qi_h.js → Vimeo-kzHz4Gco.js} +1 -1
- package/dist/{Wistia-BrUzHQoq.cjs → Wistia-CudQyDHM.cjs} +1 -1
- package/dist/{Wistia-dlV6n6tO.js → Wistia-w4jnqd7y.js} +1 -1
- package/dist/{YouTube-Cfsj4ZaP.cjs → YouTube-BAYKouHS.cjs} +1 -1
- package/dist/{YouTube-DNJxWqRm.js → YouTube-BKyipPZx.js} +1 -1
- package/dist/index-BdKi2ogu.js +39 -0
- package/dist/index-CRk3vcd4.cjs +95 -0
- package/dist/index-CX2A-q39.cjs +4 -0
- package/dist/{index-CWALXP1T.js → index-CwMCk9wV.js} +118 -145
- package/dist/index.cjs +1 -1
- package/dist/index.js +2 -2
- package/dist/{tag-BtS5lWJ0.js → tag-Dm8CW4TM.js} +21 -27
- package/dist/{tag-CmeZsPQt.cjs → tag-UQjq2_Ba.cjs} +7 -7
- package/package.json +1 -1
- package/dist/KanbanCard-68kSAXL6.js +0 -175
- package/dist/KanbanCard-BDvoqTDS.cjs +0 -30
- package/dist/SearchSection-BcbHP6QF.cjs +0 -161
- package/dist/index-Be-_NM9Q.cjs +0 -4
- package/dist/index-C0LcDEqa.js +0 -47
- package/dist/index-CSNxZFTX.cjs +0 -95
package/dist/FormView.js
CHANGED
|
@@ -1,164 +1,163 @@
|
|
|
1
|
-
import { jsxs as m, jsx as
|
|
2
|
-
import { forwardRef as
|
|
3
|
-
import {
|
|
4
|
-
import { s as y } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
1
|
+
import { jsxs as m, jsx as e, Fragment as b } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef as E } from "react";
|
|
3
|
+
import { s as x } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
5
4
|
import M from "./FlexGrid.js";
|
|
6
|
-
import
|
|
5
|
+
import O from "./FlexGridItem.js";
|
|
7
6
|
import f from "./Button.js";
|
|
8
|
-
import
|
|
7
|
+
import g from "./IconButton.js";
|
|
9
8
|
import U from "./TextInput.js";
|
|
10
|
-
import
|
|
11
|
-
import
|
|
12
|
-
import
|
|
13
|
-
import
|
|
14
|
-
import
|
|
15
|
-
import
|
|
16
|
-
import
|
|
17
|
-
import
|
|
18
|
-
import
|
|
19
|
-
import
|
|
20
|
-
import { g as
|
|
21
|
-
import
|
|
22
|
-
import { u as
|
|
23
|
-
const
|
|
9
|
+
import _ from "./CheckBoxInput.js";
|
|
10
|
+
import q from "./RadioGroup.js";
|
|
11
|
+
import H from "./NumberInput.js";
|
|
12
|
+
import J from "./DecimalInput.js";
|
|
13
|
+
import K from "./PasswordInput.js";
|
|
14
|
+
import L from "./TextAreaInput.js";
|
|
15
|
+
import P from "./TimeInput.js";
|
|
16
|
+
import Q from "./ColorInput.js";
|
|
17
|
+
import X from "./FileInput.js";
|
|
18
|
+
import Y from "./RangeSlider.js";
|
|
19
|
+
import { g as Z, a as z, b as ee } from "./utils-DtEfC-TX.js";
|
|
20
|
+
import re from "./FormField.js";
|
|
21
|
+
import { u as te } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
|
|
22
|
+
const ae = x.div`
|
|
24
23
|
display: flex;
|
|
25
24
|
justify-content: space-between;
|
|
26
|
-
`,
|
|
25
|
+
`, oe = x.form`
|
|
27
26
|
display: flex;
|
|
28
27
|
flex-direction: column;
|
|
29
28
|
gap: 1rem;
|
|
30
|
-
box-shadow: ${(
|
|
31
|
-
|
|
29
|
+
box-shadow: ${(l) => Z(
|
|
30
|
+
l.theme,
|
|
32
31
|
"Popover",
|
|
33
|
-
|
|
32
|
+
l.color,
|
|
34
33
|
"enabled",
|
|
35
34
|
"boxShadow"
|
|
36
35
|
)};
|
|
37
|
-
border-radius: ${(
|
|
36
|
+
border-radius: ${(l) => z(l.theme, l.borderRadius)};
|
|
38
37
|
border-top: 1px solid rgba(0, 0, 0, 0.04);
|
|
39
38
|
padding: 12px;
|
|
40
|
-
background-color: ${(
|
|
41
|
-
`,
|
|
42
|
-
var
|
|
43
|
-
switch (
|
|
39
|
+
background-color: ${(l) => ee(l.theme, "Popover", "default", "enabled", "bg")};
|
|
40
|
+
`, ne = (l, a, o, n, t, d) => {
|
|
41
|
+
var i;
|
|
42
|
+
switch (l || "") {
|
|
44
43
|
case "text":
|
|
45
|
-
return /* @__PURE__ */
|
|
44
|
+
return /* @__PURE__ */ e(
|
|
46
45
|
U,
|
|
47
46
|
{
|
|
48
|
-
name:
|
|
49
|
-
color:
|
|
50
|
-
size:
|
|
47
|
+
name: o,
|
|
48
|
+
color: t,
|
|
49
|
+
size: d,
|
|
51
50
|
...a,
|
|
52
51
|
defaultValue: n
|
|
53
52
|
}
|
|
54
53
|
);
|
|
55
54
|
case "checkbox":
|
|
56
|
-
return /* @__PURE__ */
|
|
57
|
-
|
|
55
|
+
return /* @__PURE__ */ e(
|
|
56
|
+
_,
|
|
58
57
|
{
|
|
59
|
-
color:
|
|
60
|
-
size:
|
|
61
|
-
name:
|
|
58
|
+
color: t,
|
|
59
|
+
size: d,
|
|
60
|
+
name: o,
|
|
62
61
|
...a
|
|
63
62
|
}
|
|
64
63
|
);
|
|
65
64
|
case "radioGroup":
|
|
66
|
-
return /* @__PURE__ */
|
|
67
|
-
|
|
65
|
+
return /* @__PURE__ */ e(
|
|
66
|
+
q,
|
|
68
67
|
{
|
|
69
|
-
color:
|
|
70
|
-
size:
|
|
68
|
+
color: t,
|
|
69
|
+
size: d,
|
|
71
70
|
value: n,
|
|
72
71
|
radioProps: a.radioProps,
|
|
73
|
-
name:
|
|
72
|
+
name: o,
|
|
74
73
|
items: [
|
|
75
|
-
...(
|
|
74
|
+
...((i = a.items) == null ? void 0 : i.map((u) => ({ value: u.value, label: u.label }))) ?? []
|
|
76
75
|
]
|
|
77
76
|
}
|
|
78
77
|
);
|
|
79
78
|
case "number":
|
|
80
|
-
return /* @__PURE__ */
|
|
81
|
-
|
|
79
|
+
return /* @__PURE__ */ e(
|
|
80
|
+
H,
|
|
82
81
|
{
|
|
83
|
-
color:
|
|
84
|
-
size:
|
|
85
|
-
name:
|
|
82
|
+
color: t,
|
|
83
|
+
size: d,
|
|
84
|
+
name: o,
|
|
86
85
|
...a,
|
|
87
86
|
defaultValue: n
|
|
88
87
|
}
|
|
89
88
|
);
|
|
90
89
|
case "decimal":
|
|
91
|
-
return /* @__PURE__ */
|
|
92
|
-
|
|
90
|
+
return /* @__PURE__ */ e(
|
|
91
|
+
J,
|
|
93
92
|
{
|
|
94
|
-
name:
|
|
95
|
-
color:
|
|
96
|
-
size:
|
|
93
|
+
name: o,
|
|
94
|
+
color: t,
|
|
95
|
+
size: d,
|
|
97
96
|
...a,
|
|
98
97
|
defaultValue: n
|
|
99
98
|
}
|
|
100
99
|
);
|
|
101
100
|
case "file":
|
|
102
|
-
return /* @__PURE__ */
|
|
103
|
-
|
|
101
|
+
return /* @__PURE__ */ e(
|
|
102
|
+
X,
|
|
104
103
|
{
|
|
105
|
-
name:
|
|
106
|
-
color:
|
|
107
|
-
size:
|
|
104
|
+
name: o,
|
|
105
|
+
color: t,
|
|
106
|
+
size: d,
|
|
108
107
|
...a,
|
|
109
108
|
defaultValue: n
|
|
110
109
|
}
|
|
111
110
|
);
|
|
112
111
|
case "password":
|
|
113
|
-
return /* @__PURE__ */
|
|
114
|
-
|
|
112
|
+
return /* @__PURE__ */ e(
|
|
113
|
+
K,
|
|
115
114
|
{
|
|
116
|
-
name:
|
|
117
|
-
color:
|
|
115
|
+
name: o,
|
|
116
|
+
color: t,
|
|
118
117
|
...a,
|
|
119
118
|
defaultValue: n
|
|
120
119
|
}
|
|
121
120
|
);
|
|
122
121
|
case "textArea":
|
|
123
|
-
return /* @__PURE__ */
|
|
124
|
-
|
|
122
|
+
return /* @__PURE__ */ e(
|
|
123
|
+
L,
|
|
125
124
|
{
|
|
126
|
-
name:
|
|
127
|
-
color:
|
|
128
|
-
size:
|
|
125
|
+
name: o,
|
|
126
|
+
color: t,
|
|
127
|
+
size: d,
|
|
129
128
|
...a,
|
|
130
129
|
defaultValue: n
|
|
131
130
|
}
|
|
132
131
|
);
|
|
133
132
|
case "time":
|
|
134
|
-
return /* @__PURE__ */
|
|
135
|
-
|
|
133
|
+
return /* @__PURE__ */ e(
|
|
134
|
+
P,
|
|
136
135
|
{
|
|
137
|
-
name:
|
|
138
|
-
color:
|
|
139
|
-
size:
|
|
136
|
+
name: o,
|
|
137
|
+
color: t,
|
|
138
|
+
size: d,
|
|
140
139
|
...a,
|
|
141
140
|
defaultValue: n
|
|
142
141
|
}
|
|
143
142
|
);
|
|
144
143
|
case "color":
|
|
145
|
-
return /* @__PURE__ */
|
|
146
|
-
|
|
144
|
+
return /* @__PURE__ */ e(
|
|
145
|
+
Q,
|
|
147
146
|
{
|
|
148
|
-
name:
|
|
149
|
-
color:
|
|
150
|
-
size:
|
|
147
|
+
name: o,
|
|
148
|
+
color: t,
|
|
149
|
+
size: d,
|
|
151
150
|
...a,
|
|
152
151
|
defaultValue: n
|
|
153
152
|
}
|
|
154
153
|
);
|
|
155
154
|
case "range":
|
|
156
|
-
return /* @__PURE__ */
|
|
157
|
-
|
|
155
|
+
return /* @__PURE__ */ e(
|
|
156
|
+
Y,
|
|
158
157
|
{
|
|
159
|
-
name:
|
|
160
|
-
color:
|
|
161
|
-
size:
|
|
158
|
+
name: o,
|
|
159
|
+
color: t,
|
|
160
|
+
size: d,
|
|
162
161
|
...a,
|
|
163
162
|
defaultValue: n
|
|
164
163
|
}
|
|
@@ -166,189 +165,143 @@ const ie = y.div`
|
|
|
166
165
|
default:
|
|
167
166
|
return n;
|
|
168
167
|
}
|
|
169
|
-
},
|
|
168
|
+
}, de = E((l, a) => {
|
|
170
169
|
const {
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
backActive: v = !0,
|
|
170
|
+
goToPreviousView: o,
|
|
171
|
+
id: n,
|
|
172
|
+
data: t,
|
|
173
|
+
fields: d = [],
|
|
174
|
+
errors: i = {},
|
|
175
|
+
flexGridProps: u,
|
|
176
|
+
goBackText: h = "Go back",
|
|
177
|
+
backActive: y = !0,
|
|
180
178
|
nextActive: I = !0,
|
|
181
|
-
previousActive:
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
disableEdit: me,
|
|
187
|
-
disableDiscard: A = !1,
|
|
179
|
+
previousActive: T = !0,
|
|
180
|
+
disableGoBack: V = !1,
|
|
181
|
+
disableNext: k = !1,
|
|
182
|
+
disablePrevious: w = !1,
|
|
183
|
+
disableDiscard: C = !1,
|
|
188
184
|
disableSave: F = !1,
|
|
189
|
-
discardText:
|
|
190
|
-
saveText:
|
|
185
|
+
discardText: B = "Discard",
|
|
186
|
+
saveText: G = "Save",
|
|
191
187
|
//------------------
|
|
192
188
|
goToNext: R = () => {
|
|
193
189
|
},
|
|
194
|
-
goToPrevious:
|
|
190
|
+
goToPrevious: v = () => {
|
|
195
191
|
},
|
|
196
|
-
|
|
192
|
+
goBack: S = () => {
|
|
197
193
|
},
|
|
198
|
-
|
|
194
|
+
onSubmit: A = () => {
|
|
199
195
|
},
|
|
200
|
-
|
|
201
|
-
},
|
|
202
|
-
onDiscard: P = () => {
|
|
196
|
+
onDiscard: D = () => {
|
|
203
197
|
},
|
|
204
198
|
//------------------
|
|
205
|
-
|
|
206
|
-
style: be = {},
|
|
207
|
-
color: b = "primary",
|
|
199
|
+
color: c = "primary",
|
|
208
200
|
size: p = "small",
|
|
209
|
-
children:
|
|
210
|
-
|
|
211
|
-
} =
|
|
212
|
-
|
|
201
|
+
children: N,
|
|
202
|
+
...$
|
|
203
|
+
} = l, j = te(), W = (r, s) => {
|
|
204
|
+
o && o(), S(r, s);
|
|
213
205
|
};
|
|
214
206
|
return /* @__PURE__ */ m(
|
|
215
|
-
|
|
207
|
+
oe,
|
|
216
208
|
{
|
|
217
209
|
ref: a,
|
|
218
|
-
theme:
|
|
219
|
-
color:
|
|
210
|
+
theme: j,
|
|
211
|
+
color: c,
|
|
220
212
|
borderRadius: "regular",
|
|
221
|
-
|
|
213
|
+
...$,
|
|
222
214
|
children: [
|
|
223
|
-
|
|
215
|
+
y && /* @__PURE__ */ e(
|
|
224
216
|
f,
|
|
225
217
|
{
|
|
226
218
|
leadingIcon: "arrow-circle-left",
|
|
227
|
-
text:
|
|
219
|
+
text: h,
|
|
228
220
|
btnType: "outline",
|
|
229
221
|
style: { width: "fit-content" },
|
|
230
|
-
onClick: (
|
|
231
|
-
disabled:
|
|
222
|
+
onClick: (r) => W(r, t),
|
|
223
|
+
disabled: V,
|
|
232
224
|
type: "button"
|
|
233
225
|
},
|
|
234
226
|
0
|
|
235
227
|
),
|
|
236
|
-
/* @__PURE__ */
|
|
237
|
-
|
|
228
|
+
/* @__PURE__ */ e(b, { children: N || /* @__PURE__ */ e(M, { spacing: 10, ...u, children: d.map((r, s) => /* @__PURE__ */ e(O, { ...r, children: /* @__PURE__ */ e(
|
|
229
|
+
re,
|
|
238
230
|
{
|
|
239
|
-
label:
|
|
240
|
-
text:
|
|
241
|
-
color:
|
|
231
|
+
label: r.label,
|
|
232
|
+
text: i[r.accessor],
|
|
233
|
+
color: i[r.accessor] ? "danger" : c,
|
|
242
234
|
size: p,
|
|
243
|
-
children:
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
235
|
+
children: r.type == "custom" ? r.element : ne(
|
|
236
|
+
r.type,
|
|
237
|
+
r.inputProps,
|
|
238
|
+
r.accessor,
|
|
239
|
+
t[r.accessor],
|
|
240
|
+
i[r.accessor] ? "danger" : c,
|
|
249
241
|
p
|
|
250
242
|
)
|
|
251
243
|
},
|
|
252
|
-
|
|
253
|
-
) },
|
|
254
|
-
/* @__PURE__ */ m(
|
|
244
|
+
s
|
|
245
|
+
) }, s)) }) }),
|
|
246
|
+
/* @__PURE__ */ m(ae, { children: [
|
|
255
247
|
/* @__PURE__ */ m("div", { children: [
|
|
256
|
-
I && /* @__PURE__ */ m(
|
|
257
|
-
/* @__PURE__ */
|
|
258
|
-
|
|
248
|
+
I && /* @__PURE__ */ m(b, { children: [
|
|
249
|
+
/* @__PURE__ */ e(
|
|
250
|
+
g,
|
|
259
251
|
{
|
|
260
252
|
btnType: "outline",
|
|
261
253
|
icon: "angle-left",
|
|
262
|
-
disabled:
|
|
263
|
-
onClick: (
|
|
254
|
+
disabled: w,
|
|
255
|
+
onClick: (r) => v(t, r),
|
|
264
256
|
type: "button"
|
|
265
257
|
}
|
|
266
258
|
),
|
|
267
259
|
" "
|
|
268
260
|
] }),
|
|
269
|
-
|
|
270
|
-
|
|
261
|
+
T && /* @__PURE__ */ e(
|
|
262
|
+
g,
|
|
271
263
|
{
|
|
272
264
|
btnType: "outline",
|
|
273
265
|
icon: "angle-right",
|
|
274
|
-
disabled:
|
|
275
|
-
onClick: (
|
|
266
|
+
disabled: k,
|
|
267
|
+
onClick: (r) => R(t, r),
|
|
276
268
|
type: "button"
|
|
277
269
|
}
|
|
278
270
|
)
|
|
279
271
|
] }),
|
|
280
272
|
/* @__PURE__ */ m("div", { children: [
|
|
281
|
-
/* @__PURE__ */
|
|
273
|
+
/* @__PURE__ */ e(
|
|
282
274
|
f,
|
|
283
275
|
{
|
|
284
276
|
leadingIcon: "eraser",
|
|
285
277
|
btnType: "outline",
|
|
286
278
|
color: "warning",
|
|
287
|
-
text:
|
|
288
|
-
disabled:
|
|
289
|
-
onClick:
|
|
279
|
+
text: B,
|
|
280
|
+
disabled: C,
|
|
281
|
+
onClick: D,
|
|
290
282
|
type: "button"
|
|
291
283
|
}
|
|
292
284
|
),
|
|
293
285
|
" ",
|
|
294
|
-
/* @__PURE__ */
|
|
286
|
+
/* @__PURE__ */ e(
|
|
295
287
|
f,
|
|
296
288
|
{
|
|
297
289
|
leadingIcon: "floppy-disk",
|
|
298
290
|
btnType: "tinted",
|
|
299
291
|
color: "success",
|
|
300
|
-
text:
|
|
292
|
+
text: G,
|
|
301
293
|
disabled: F,
|
|
302
|
-
onClick:
|
|
294
|
+
onClick: A
|
|
303
295
|
}
|
|
304
296
|
)
|
|
305
297
|
] })
|
|
306
298
|
] })
|
|
307
299
|
]
|
|
308
300
|
},
|
|
309
|
-
|
|
301
|
+
n
|
|
310
302
|
);
|
|
311
303
|
});
|
|
312
|
-
|
|
313
|
-
__TYPE__: e.string,
|
|
314
|
-
goBackText: e.string,
|
|
315
|
-
fields: e.array,
|
|
316
|
-
data: e.object,
|
|
317
|
-
errors: e.object,
|
|
318
|
-
backActive: e.bool,
|
|
319
|
-
nextActive: e.bool,
|
|
320
|
-
disableGoBack: e.bool,
|
|
321
|
-
disableNext: e.bool,
|
|
322
|
-
disablePrevious: e.bool,
|
|
323
|
-
previousActive: e.bool,
|
|
324
|
-
editActive: e.bool,
|
|
325
|
-
flexGridProps: e.any,
|
|
326
|
-
disableDiscard: e.bool,
|
|
327
|
-
disableSave: e.bool,
|
|
328
|
-
discardText: e.string,
|
|
329
|
-
saveText: e.string,
|
|
330
|
-
//-----------------------------------------------------------
|
|
331
|
-
goToNext: e.func,
|
|
332
|
-
goToPrevious: e.func,
|
|
333
|
-
onEdit: e.func,
|
|
334
|
-
goBack: e.func,
|
|
335
|
-
onSubmit: e.func,
|
|
336
|
-
//------------------------------------------------------------
|
|
337
|
-
className: e.string,
|
|
338
|
-
style: e.object,
|
|
339
|
-
color: e.oneOf([
|
|
340
|
-
"primary",
|
|
341
|
-
"secondary",
|
|
342
|
-
"success",
|
|
343
|
-
"warning",
|
|
344
|
-
"danger",
|
|
345
|
-
"information",
|
|
346
|
-
"neutral",
|
|
347
|
-
"gray"
|
|
348
|
-
]),
|
|
349
|
-
size: e.oneOf(["small", "medium", "large"])
|
|
350
|
-
};
|
|
351
|
-
h.displayName = "FORM_VIEW";
|
|
304
|
+
de.displayName = "FORM_VIEW";
|
|
352
305
|
export {
|
|
353
|
-
|
|
306
|
+
de as default
|
|
354
307
|
};
|
package/dist/Grid.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const
|
|
1
|
+
"use strict";const G=require("react/jsx-runtime"),p=require("react"),C=require("./emotion-styled.browser.esm-BtEseadx.cjs"),I=C.styled.div`
|
|
2
2
|
display: ${e=>e.inline?"inline-grid":"grid"};
|
|
3
3
|
row-gap: ${e=>e.rowGap?e.rowGap:e.gap?e.gap:0};
|
|
4
4
|
column-gap: ${e=>e.columnGap?e.columnGap:e.gap?e.gap:0};
|
|
@@ -9,4 +9,4 @@
|
|
|
9
9
|
${e=>e.alignItems&&`align-items: ${e.alignItems};`}
|
|
10
10
|
${e=>e.justifyContent&&`justify-content: ${e.justifyContent};`}
|
|
11
11
|
${e=>e.templateAreas&&`grid-template-areas: ${e.templateAreas};`}
|
|
12
|
-
`,
|
|
12
|
+
`,t=p.forwardRef((e,a)=>{const{inline:l=!1,template:i,templateColumns:s,templateRows:n,gap:m,rowGap:r,columnGap:u,justifyItems:g,alignItems:o,justifyContent:d,templateAreas:c,children:$,className:y="",style:f={},...j}=e;var w={inline:l,template:i,templateColumns:s,templateRows:n,gap:m,rowGap:r,columnGap:u,justifyItems:g,alignItems:o,justifyContent:d,templateAreas:c};return G.jsx(I,{ref:a,...w,className:y,style:f,...j,children:$})});t.defaultProps={inline:!1,style:{},className:""};module.exports=t;
|
package/dist/Grid.js
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import { forwardRef as
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
const h = C.div`
|
|
1
|
+
import { jsx as j } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef as w } from "react";
|
|
3
|
+
import { s as G } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
4
|
+
const C = G.div`
|
|
6
5
|
display: ${(t) => t.inline ? "inline-grid" : "grid"};
|
|
7
6
|
row-gap: ${(t) => t.rowGap ? t.rowGap : t.gap ? t.gap : 0};
|
|
8
7
|
column-gap: ${(t) => t.columnGap ? t.columnGap : t.gap ? t.gap : 0};
|
|
@@ -13,78 +12,54 @@ const h = C.div`
|
|
|
13
12
|
${(t) => t.alignItems && `align-items: ${t.alignItems};`}
|
|
14
13
|
${(t) => t.justifyContent && `justify-content: ${t.justifyContent};`}
|
|
15
14
|
${(t) => t.templateAreas && `grid-template-areas: ${t.templateAreas};`}
|
|
16
|
-
`,
|
|
15
|
+
`, I = w((t, e) => {
|
|
17
16
|
const {
|
|
18
|
-
inline:
|
|
17
|
+
inline: a = !1,
|
|
19
18
|
template: l,
|
|
20
|
-
templateColumns:
|
|
21
|
-
templateRows:
|
|
22
|
-
gap:
|
|
23
|
-
rowGap:
|
|
24
|
-
columnGap:
|
|
25
|
-
justifyItems:
|
|
26
|
-
alignItems:
|
|
27
|
-
justifyContent:
|
|
28
|
-
templateAreas:
|
|
29
|
-
children:
|
|
30
|
-
className:
|
|
31
|
-
style:
|
|
32
|
-
...
|
|
19
|
+
templateColumns: m,
|
|
20
|
+
templateRows: i,
|
|
21
|
+
gap: s,
|
|
22
|
+
rowGap: n,
|
|
23
|
+
columnGap: r,
|
|
24
|
+
justifyItems: g,
|
|
25
|
+
alignItems: o,
|
|
26
|
+
justifyContent: d,
|
|
27
|
+
templateAreas: u,
|
|
28
|
+
children: f,
|
|
29
|
+
className: $ = "",
|
|
30
|
+
style: y = {},
|
|
31
|
+
...c
|
|
33
32
|
} = t;
|
|
34
|
-
var
|
|
35
|
-
inline:
|
|
33
|
+
var p = {
|
|
34
|
+
inline: a,
|
|
36
35
|
template: l,
|
|
37
|
-
templateColumns:
|
|
38
|
-
templateRows:
|
|
39
|
-
gap:
|
|
40
|
-
rowGap:
|
|
41
|
-
columnGap:
|
|
42
|
-
justifyItems:
|
|
43
|
-
alignItems:
|
|
44
|
-
justifyContent:
|
|
45
|
-
templateAreas:
|
|
36
|
+
templateColumns: m,
|
|
37
|
+
templateRows: i,
|
|
38
|
+
gap: s,
|
|
39
|
+
rowGap: n,
|
|
40
|
+
columnGap: r,
|
|
41
|
+
justifyItems: g,
|
|
42
|
+
alignItems: o,
|
|
43
|
+
justifyContent: d,
|
|
44
|
+
templateAreas: u
|
|
46
45
|
};
|
|
47
|
-
return /* @__PURE__ */
|
|
48
|
-
|
|
46
|
+
return /* @__PURE__ */ j(
|
|
47
|
+
C,
|
|
49
48
|
{
|
|
50
|
-
ref:
|
|
51
|
-
...
|
|
52
|
-
className:
|
|
53
|
-
style:
|
|
54
|
-
...
|
|
55
|
-
children:
|
|
49
|
+
ref: e,
|
|
50
|
+
...p,
|
|
51
|
+
className: $,
|
|
52
|
+
style: y,
|
|
53
|
+
...c,
|
|
54
|
+
children: f
|
|
56
55
|
}
|
|
57
56
|
);
|
|
58
57
|
});
|
|
59
|
-
|
|
58
|
+
I.defaultProps = {
|
|
60
59
|
inline: !1,
|
|
61
60
|
style: {},
|
|
62
61
|
className: ""
|
|
63
62
|
};
|
|
64
|
-
a.propTypes = {
|
|
65
|
-
inline: e.bool,
|
|
66
|
-
template: e.string,
|
|
67
|
-
templateColumns: e.string,
|
|
68
|
-
templateRows: e.string,
|
|
69
|
-
gap: e.string,
|
|
70
|
-
rowGap: e.string,
|
|
71
|
-
columnGap: e.string,
|
|
72
|
-
justifyItems: e.oneOf(["start", "end", "center", "stretch"]),
|
|
73
|
-
alignItems: e.oneOf(["start", "end", "center", "stretch"]),
|
|
74
|
-
placeItems: e.oneOf(["start", "end", "center", "stretch"]),
|
|
75
|
-
justifyContent: e.oneOf([
|
|
76
|
-
"start",
|
|
77
|
-
"end",
|
|
78
|
-
"center",
|
|
79
|
-
"stretch",
|
|
80
|
-
"space-between",
|
|
81
|
-
"space-evenly"
|
|
82
|
-
]),
|
|
83
|
-
templateAreas: e.string,
|
|
84
|
-
//-------------
|
|
85
|
-
style: e.object,
|
|
86
|
-
className: e.string
|
|
87
|
-
};
|
|
88
63
|
export {
|
|
89
|
-
|
|
64
|
+
I as default
|
|
90
65
|
};
|
package/dist/GridItem.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const
|
|
1
|
+
"use strict";const s=require("react/jsx-runtime"),f=require("react"),y=require("./emotion-styled.browser.esm-BtEseadx.cjs"),j=y.styled.div`
|
|
2
2
|
display: ${e=>e.inline?"inline-grid":"grid"};
|
|
3
3
|
row-gap: ${e=>e.rowGap?e.rowGap:e.gap?e.gap:0};
|
|
4
4
|
column-gap: ${e=>e.columnGap?e.columnGap:e.gap?e.gap:0};
|
|
@@ -12,4 +12,4 @@
|
|
|
12
12
|
${e=>(e.colEnd||e.colSpan)&&`grid-column-end: span ${e.colEnd||e.colSpan};`}
|
|
13
13
|
${e=>e.rowStart&&`grid-row-start: ${e.rowStart};`}
|
|
14
14
|
${e=>(e.rowEnd||e.rowSpan)&&`grid-row-end: span ${e.rowEnd||e.rowSpan};`}
|
|
15
|
-
`,
|
|
15
|
+
`,E=f.forwardRef((e,t)=>{const{colStart:a,colEnd:l,rowStart:n,rowEnd:r,colSpan:i,rowSpan:d,justifySelf:o,alignSelf:c,area:m,className:g="",style:$={},children:S,...w}=e;var u={colStart:a,colEnd:l,rowStart:n,rowEnd:r,colSpan:i,rowSpan:d,justifySelf:o,alignSelf:c,area:m};return s.jsx(j,{ref:t,...u,className:g,style:$,...w,children:S})});module.exports=E;
|