@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/DropdownLookup.js
CHANGED
|
@@ -1,69 +1,68 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import {
|
|
5
|
-
import { _ as me, u as
|
|
6
|
-
import { _ as
|
|
7
|
-
import { _ as _e } from "./defineProperty-DF3p0mVo.js";
|
|
1
|
+
import { jsx as le } from "react/jsx-runtime";
|
|
2
|
+
import * as ce from "react";
|
|
3
|
+
import { useRef as G, useState as a, useEffect as H, useCallback as E, forwardRef as J } from "react";
|
|
4
|
+
import { _ as ve, u as Oe } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
|
|
5
|
+
import { _ as Se, b as s, h as me, d as C, u as he, S as _e, a as ye } from "./CustomStyles-DtWxboEM.js";
|
|
6
|
+
import { _ as ge } from "./defineProperty-DF3p0mVo.js";
|
|
8
7
|
import "./index-B1vKwsDE.js";
|
|
9
8
|
import { d as Ie } from "./index-Dt62UGku.js";
|
|
10
9
|
var Ce = ["defaultOptions", "cacheOptions", "loadOptions", "options", "isLoading", "onInputChange", "filterOption"];
|
|
11
|
-
function Le(
|
|
12
|
-
var
|
|
13
|
-
|
|
14
|
-
var p =
|
|
15
|
-
|
|
16
|
-
return
|
|
17
|
-
|
|
10
|
+
function Le(n) {
|
|
11
|
+
var o = n.defaultOptions, e = o === void 0 ? !1 : o, u = n.cacheOptions, i = u === void 0 ? !1 : u, l = n.loadOptions;
|
|
12
|
+
n.options;
|
|
13
|
+
var p = n.isLoading, L = p === void 0 ? !1 : p, h = n.onInputChange, _ = n.filterOption, A = _ === void 0 ? null : _, y = Se(n, Ce), g = y.inputValue, r = G(void 0), c = G(!1), v = a(Array.isArray(e) ? e : void 0), f = s(v, 2), K = f[0], R = f[1], Q = a(typeof g < "u" ? g : ""), j = s(Q, 2), T = j[0], P = j[1], U = a(e === !0), w = s(U, 2), X = w[0], O = w[1], Y = a(void 0), M = s(Y, 2), V = M[0], b = M[1], Z = a([]), q = s(Z, 2), k = q[0], D = q[1], ee = a(!1), z = s(ee, 2), te = z[0], I = z[1], ne = a({}), N = s(ne, 2), S = N[0], W = N[1], ae = a(void 0), B = s(ae, 2), se = B[0], re = B[1], oe = a(void 0), F = s(oe, 2), ue = F[0], ie = F[1];
|
|
14
|
+
i !== ue && (W({}), ie(i)), e !== se && (R(Array.isArray(e) ? e : void 0), re(e)), H(function() {
|
|
15
|
+
return c.current = !0, function() {
|
|
16
|
+
c.current = !1;
|
|
18
17
|
};
|
|
19
18
|
}, []);
|
|
20
|
-
var
|
|
21
|
-
if (!
|
|
22
|
-
var
|
|
23
|
-
|
|
24
|
-
return
|
|
19
|
+
var $ = E(function(m, d) {
|
|
20
|
+
if (!l) return d();
|
|
21
|
+
var t = l(m, d);
|
|
22
|
+
t && typeof t.then == "function" && t.then(d, function() {
|
|
23
|
+
return d();
|
|
25
24
|
});
|
|
26
|
-
}, [
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
25
|
+
}, [l]);
|
|
26
|
+
H(function() {
|
|
27
|
+
e === !0 && $(T, function(m) {
|
|
28
|
+
c.current && (R(m || []), O(!!r.current));
|
|
30
29
|
});
|
|
31
30
|
}, []);
|
|
32
|
-
var pe =
|
|
33
|
-
var
|
|
34
|
-
if (!
|
|
35
|
-
|
|
31
|
+
var pe = E(function(m, d) {
|
|
32
|
+
var t = me(m, d, h);
|
|
33
|
+
if (!t) {
|
|
34
|
+
r.current = void 0, P(""), b(""), D([]), O(!1), I(!1);
|
|
36
35
|
return;
|
|
37
36
|
}
|
|
38
|
-
if (
|
|
39
|
-
P(
|
|
37
|
+
if (i && S[t])
|
|
38
|
+
P(t), b(t), D(S[t]), O(!1), I(!1);
|
|
40
39
|
else {
|
|
41
|
-
var
|
|
42
|
-
P(
|
|
43
|
-
|
|
40
|
+
var de = r.current = {};
|
|
41
|
+
P(t), O(!0), I(!V), $(t, function(x) {
|
|
42
|
+
c && de === r.current && (r.current = void 0, O(!1), b(t), D(x || []), I(!1), W(x ? C(C({}, S), {}, ge({}, t, x)) : S));
|
|
44
43
|
});
|
|
45
44
|
}
|
|
46
|
-
}, [
|
|
45
|
+
}, [i, $, V, S, h]), fe = te ? [] : T && V ? k : K || [];
|
|
47
46
|
return C(C({}, y), {}, {
|
|
48
47
|
options: fe,
|
|
49
48
|
isLoading: X || L,
|
|
50
49
|
onInputChange: pe,
|
|
51
|
-
filterOption:
|
|
50
|
+
filterOption: A
|
|
52
51
|
});
|
|
53
52
|
}
|
|
54
|
-
var
|
|
55
|
-
var
|
|
56
|
-
return /* @__PURE__ */
|
|
57
|
-
ref:
|
|
58
|
-
},
|
|
59
|
-
}), Pe =
|
|
60
|
-
const
|
|
53
|
+
var Ae = /* @__PURE__ */ J(function(n, o) {
|
|
54
|
+
var e = Le(n), u = he(e);
|
|
55
|
+
return /* @__PURE__ */ ce.createElement(_e, ve({
|
|
56
|
+
ref: o
|
|
57
|
+
}, u));
|
|
58
|
+
}), Pe = Ae;
|
|
59
|
+
const je = J((n, o) => {
|
|
61
60
|
const {
|
|
62
61
|
// defaultOptions,
|
|
63
62
|
// cacheOptions,
|
|
64
63
|
// loadOptions,
|
|
65
|
-
styles:
|
|
66
|
-
debounceTime:
|
|
64
|
+
styles: e,
|
|
65
|
+
debounceTime: u = 0,
|
|
67
66
|
// name,
|
|
68
67
|
// hideSelectedOptions,
|
|
69
68
|
// id,
|
|
@@ -71,8 +70,8 @@ const Ve = J((o, r) => {
|
|
|
71
70
|
// value,
|
|
72
71
|
// readOnly,
|
|
73
72
|
// tabIndex,
|
|
74
|
-
isSearchable:
|
|
75
|
-
isClearable:
|
|
73
|
+
isSearchable: i = !0,
|
|
74
|
+
isClearable: l = !0,
|
|
76
75
|
// isLoading,
|
|
77
76
|
// isRtl,
|
|
78
77
|
// isDisabled,
|
|
@@ -112,214 +111,34 @@ const Ve = J((o, r) => {
|
|
|
112
111
|
// onFocus,
|
|
113
112
|
size: L = "small",
|
|
114
113
|
color: h = "primary",
|
|
115
|
-
className:
|
|
116
|
-
style:
|
|
114
|
+
className: _ = "",
|
|
115
|
+
style: A = {},
|
|
117
116
|
// children,
|
|
118
117
|
...y
|
|
119
|
-
} =
|
|
120
|
-
Ie((
|
|
121
|
-
p == null || p(
|
|
122
|
-
},
|
|
118
|
+
} = n, g = Oe(), r = E(
|
|
119
|
+
Ie((v, f) => {
|
|
120
|
+
p == null || p(v, f);
|
|
121
|
+
}, u)
|
|
123
122
|
);
|
|
124
|
-
return /* @__PURE__ */
|
|
123
|
+
return /* @__PURE__ */ le(
|
|
125
124
|
Pe,
|
|
126
125
|
{
|
|
127
|
-
ref:
|
|
128
|
-
styles:
|
|
126
|
+
ref: o,
|
|
127
|
+
styles: e || ye,
|
|
129
128
|
size: L,
|
|
130
129
|
color: h,
|
|
131
|
-
theme:
|
|
132
|
-
isSearchable:
|
|
133
|
-
isClearable:
|
|
134
|
-
onInputChange: (
|
|
135
|
-
|
|
130
|
+
theme: g,
|
|
131
|
+
isSearchable: i,
|
|
132
|
+
isClearable: l,
|
|
133
|
+
onInputChange: (v, f) => {
|
|
134
|
+
r(v, f);
|
|
136
135
|
},
|
|
137
|
-
className:
|
|
138
|
-
style:
|
|
136
|
+
className: _,
|
|
137
|
+
style: A,
|
|
139
138
|
...y
|
|
140
139
|
}
|
|
141
140
|
);
|
|
142
141
|
});
|
|
143
|
-
Ve.propTypes = {
|
|
144
|
-
/**
|
|
145
|
-
* The default set of options to show before the user starts searching. When set to true, the results for loadOptions('') will be autoloaded.
|
|
146
|
-
*/
|
|
147
|
-
defaultOptions: e.oneOfType([e.bool, e.array]),
|
|
148
|
-
/**
|
|
149
|
-
* If cacheOptions is truthy, then the loaded data will be cached. The cache will remain until cacheOptions changes value.
|
|
150
|
-
*/
|
|
151
|
-
cacheOptions: e.any,
|
|
152
|
-
/**
|
|
153
|
-
* Function that returns a promise, which is the set of options to be used once the promise resolves.
|
|
154
|
-
*/
|
|
155
|
-
loadOptions: e.func,
|
|
156
|
-
styles: e.object,
|
|
157
|
-
debounceTime: e.number,
|
|
158
|
-
name: e.string,
|
|
159
|
-
value: e.any,
|
|
160
|
-
/**
|
|
161
|
-
* Sets the tabIndex attribute on the input
|
|
162
|
-
*/
|
|
163
|
-
tabIndex: e.number,
|
|
164
|
-
/**
|
|
165
|
-
* Whether to enable search functionality
|
|
166
|
-
*/
|
|
167
|
-
isSearchable: e.bool,
|
|
168
|
-
isClearable: e.bool,
|
|
169
|
-
/**
|
|
170
|
-
* Is the select in a state of loading (async)
|
|
171
|
-
*/
|
|
172
|
-
isLoading: e.bool,
|
|
173
|
-
/**
|
|
174
|
-
* Is the select direction right-to-left
|
|
175
|
-
*/
|
|
176
|
-
isRtl: e.bool,
|
|
177
|
-
isDisabled: e.bool,
|
|
178
|
-
readOnly: e.bool,
|
|
179
|
-
/**
|
|
180
|
-
* Close the select menu when the user selects an option
|
|
181
|
-
*/
|
|
182
|
-
closeMenuOnSelect: e.bool,
|
|
183
|
-
/**
|
|
184
|
-
* If true, close the select menu when the user scrolls the document/body.
|
|
185
|
-
* If a function, takes a standard javascript ScrollEvent you return a boolean:
|
|
186
|
-
* true => The menu closes
|
|
187
|
-
* false => The menu stays open
|
|
188
|
-
* This is useful when you have a scrollable modal and want to portal the menu out, but want to avoid graphical issues.
|
|
189
|
-
*/
|
|
190
|
-
closeMenuOnScroll: e.oneOfType([e.bool, e.func]),
|
|
191
|
-
/**
|
|
192
|
-
* Clear all values when the user presses escape AND the menu is closed
|
|
193
|
-
*/
|
|
194
|
-
escapeClearsValue: e.bool,
|
|
195
|
-
/**
|
|
196
|
-
* Custom method to filter whether an option should be displayed in the menu. Type: `null` or `() => boolean`
|
|
197
|
-
*/
|
|
198
|
-
filterOption: e.func,
|
|
199
|
-
/**
|
|
200
|
-
* Formats group labels in the menu as React components
|
|
201
|
-
*/
|
|
202
|
-
formatGroupLabel: e.func,
|
|
203
|
-
/**
|
|
204
|
-
* Formats option labels in the menu and control as React components
|
|
205
|
-
*/
|
|
206
|
-
formatOptionLabel: e.func,
|
|
207
|
-
/**
|
|
208
|
-
* Resolves option data to a string to be displayed as the label by components
|
|
209
|
-
* Note: Failure to resolve to a string type can interfere with filtering and screen reader support.
|
|
210
|
-
*/
|
|
211
|
-
getOptionLabel: e.func,
|
|
212
|
-
/**
|
|
213
|
-
* Resolves option data to a string to compare options and specify value attributes
|
|
214
|
-
*/
|
|
215
|
-
getOptionValue: e.func,
|
|
216
|
-
/**
|
|
217
|
-
* Hide the selected option from the menu
|
|
218
|
-
*/
|
|
219
|
-
hideSelectedOptions: e.bool,
|
|
220
|
-
/**
|
|
221
|
-
* The id to set on the SelectContainer component
|
|
222
|
-
*/
|
|
223
|
-
id: e.any,
|
|
224
|
-
/**
|
|
225
|
-
* The id of the search input
|
|
226
|
-
*/
|
|
227
|
-
inputid: e.any,
|
|
228
|
-
/**
|
|
229
|
-
* Override the built-in logic to detect whether an option is disabled. `(...) => boolean`
|
|
230
|
-
*/
|
|
231
|
-
isOptionDisabled: e.func,
|
|
232
|
-
/**
|
|
233
|
-
* Override the built-in logic to detect whether an option is selected. `(...) => boolean`
|
|
234
|
-
*/
|
|
235
|
-
isOptionSelected: e.func,
|
|
236
|
-
/**
|
|
237
|
-
* Async: Text to display when loading options `(...) => ...`
|
|
238
|
-
*/
|
|
239
|
-
loadingMessage: e.func,
|
|
240
|
-
/**
|
|
241
|
-
* Minimum height of the menu before flipping
|
|
242
|
-
*/
|
|
243
|
-
minMenuHeight: e.number,
|
|
244
|
-
/**
|
|
245
|
-
* Maximum height of the menu before flipping
|
|
246
|
-
*/
|
|
247
|
-
maxMenuHeight: e.number,
|
|
248
|
-
/**
|
|
249
|
-
* Default placement of the menu in relation to the control. 'auto' will flip when there isn't enough space below the control.
|
|
250
|
-
*/
|
|
251
|
-
menuPlacement: e.oneOf(["bottom", "auto", "top"]),
|
|
252
|
-
/**
|
|
253
|
-
*The CSS position value of the menu, when "fixed" extra layout management is required.
|
|
254
|
-
*/
|
|
255
|
-
menuPosition: e.oneOf(["absolute", "fixed"]),
|
|
256
|
-
/**
|
|
257
|
-
* Whether to block scroll events when the menu is open
|
|
258
|
-
*/
|
|
259
|
-
menuShouldBlockScroll: e.bool,
|
|
260
|
-
/**
|
|
261
|
-
* Whether the menu should be scrolled into view when it opens
|
|
262
|
-
*/
|
|
263
|
-
menuShouldScrollIntoView: e.bool,
|
|
264
|
-
/**
|
|
265
|
-
* Allows control of whether the menu is opened when the Select is focused
|
|
266
|
-
*/
|
|
267
|
-
openMenuOnFocus: e.bool,
|
|
268
|
-
/**
|
|
269
|
-
* Allows control of whether the menu is opened when the Select is clicked
|
|
270
|
-
*/
|
|
271
|
-
openMenuOnClick: e.bool,
|
|
272
|
-
//----
|
|
273
|
-
autoFocus: e.bool,
|
|
274
|
-
placeholder: e.any,
|
|
275
|
-
noOptionsMessage: e.string,
|
|
276
|
-
menuIsOpen: e.bool,
|
|
277
|
-
/**
|
|
278
|
-
* This complex object includes all the compositional components that are used in react-select. If you wish to overwrite a component, pass in an object with the appropriate namespace.
|
|
279
|
-
* If you only wish to restyle a component, we recommend using the styles prop instead.
|
|
280
|
-
*/
|
|
281
|
-
components: e.object,
|
|
282
|
-
/**
|
|
283
|
-
* initial value of the control
|
|
284
|
-
*/
|
|
285
|
-
defaultValue: e.string,
|
|
286
|
-
/**
|
|
287
|
-
* initial value of the search input
|
|
288
|
-
*/
|
|
289
|
-
defaultInputValue: e.string,
|
|
290
|
-
/**
|
|
291
|
-
* initial open value of the menu
|
|
292
|
-
*/
|
|
293
|
-
defaultMenuIsOpen: e.bool,
|
|
294
|
-
/**
|
|
295
|
-
* Delimiter used to join multiple values into a single HTML Input value
|
|
296
|
-
*/
|
|
297
|
-
delimiter: e.string,
|
|
298
|
-
//---------------------------------------------------------------
|
|
299
|
-
onChange: e.func,
|
|
300
|
-
/**
|
|
301
|
-
* control the value of the search input (changing this will update the available options)
|
|
302
|
-
*/
|
|
303
|
-
onInputChange: e.func,
|
|
304
|
-
onMenuOpen: e.func,
|
|
305
|
-
onMenuClose: e.func,
|
|
306
|
-
onFocus: e.func,
|
|
307
|
-
onBlur: e.func,
|
|
308
|
-
//---------------------------------------------------------------
|
|
309
|
-
className: e.string,
|
|
310
|
-
style: e.object,
|
|
311
|
-
color: e.oneOf([
|
|
312
|
-
"primary",
|
|
313
|
-
"secondary",
|
|
314
|
-
"success",
|
|
315
|
-
"warning",
|
|
316
|
-
"danger",
|
|
317
|
-
"information",
|
|
318
|
-
"neutral",
|
|
319
|
-
"gray"
|
|
320
|
-
]),
|
|
321
|
-
size: e.oneOf(["small", "medium", "large"])
|
|
322
|
-
};
|
|
323
142
|
export {
|
|
324
|
-
|
|
143
|
+
je as default
|
|
325
144
|
};
|
package/dist/DropdownMenu.cjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
"use strict";const
|
|
1
|
+
"use strict";const n=require("react/jsx-runtime"),o=require("react"),C=require("./emotion-styled.browser.esm-BtEseadx.cjs"),z=require("./Button.cjs"),B=require("./utils-RnrgDDZP.cjs"),F=require("./ThemeProvider.cjs"),U=require("./Popover.cjs"),Y=require("./PopoverTrigger.cjs"),$=require("./PopoverContent.cjs"),K=require("./motion-B_VPZaJq.cjs"),L=C.styled.div``,A=C.styled(K.motion.div)`
|
|
2
2
|
gap: 0.25rem;
|
|
3
3
|
display: flex;
|
|
4
4
|
flex-direction: column;
|
|
5
|
-
${
|
|
6
|
-
background-color: ${
|
|
7
|
-
`,
|
|
5
|
+
${t=>t.widthfitcontent==!1&&"min-width: 12.5rem"};
|
|
6
|
+
background-color: ${t=>B.getColorRgbaValue(t.theme,"Dropdown",t.color,"enabled","background")};
|
|
7
|
+
`,G=o.forwardRef((t,s)=>{const{control:i,offsetValue:I=9,placement:S,widthFitContent:T=!1,closeOnItemSelect:q=!0,zIndex:R,onFocus:p=()=>{},onBlur:m=()=>{},onClick:f=()=>{},onKeyDown:d=()=>{},onMouseEnter:y=()=>{},onMouseLeave:E=()=>{},onItemSelected:v=()=>{},animation:M={animate:{opacity:1,height:"auto"},exit:{opacity:0,height:0},initial:{opacity:0,height:0},transition:{type:"tween",duration:.15,opacity:{duration:.15,ease:"easeOut"},height:{duration:.15}}},className:N="",color:r="primary",size:a="small",contentClassName:P="",children:j,...D}=t,h=o.useRef(),{theme:b}=F.useTheme(),g=o.useRef(),_=o.useRef(),[O,l]=o.useState(!1),x=(e,u,c)=>{v(e,u,c),q==!0&&l(!1)},k=o.Children.map(j,(e,u)=>{var c,w;return o.isValidElement(e)&&(e.props.__TYPE__=="MENU_ITEM"||((c=e==null?void 0:e.type)==null?void 0:c.displayName)==="MENU_ITEM"||e.props.__TYPE__=="NESTED_ITEM"||((w=e==null?void 0:e.type)==null?void 0:w.displayName)==="NESTED_ITEM")?u==0?(e.props.ref&&(_.current=s),o.cloneElement(e,{ref:s||_,color:e.props.color?e.props.color:r,size:a,onItemSelected:x,animation:M})):o.cloneElement(e,{color:e.props.color?e.props.color:r,size:a,onItemSelected:x}):e}),V=()=>typeof i=="string"||i instanceof String?n.jsx(z,{text:i,onClick:f,onMouseEnter:y,onMouseLeave:E,onBlur:m,onFocus:p,ref:g,onKeyDown:d,trailingIcon:"angle-down",color:r,size:a}):o.cloneElement(i,{color:r,size:a,ref:g,onClick:f,onMouseEnter:y,onMouseLeave:E,onBlur:m,onFocus:p,onKeyDown:d});return n.jsx(L,{ref:s,className:N,...D,children:n.jsxs(U,{open:O,onOpenChange:l,placement:S,offsetValue:I,children:[n.jsx(Y,{onClick:()=>l(e=>!e),children:V()}),n.jsx($,{zIndex:R,children:n.jsx(A,{ref:h,widthfitcontent:T,color:r,theme:b,className:P,children:k})})]})})});module.exports=G;
|
package/dist/DropdownMenu.js
CHANGED
|
@@ -1,51 +1,50 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import { forwardRef as
|
|
3
|
-
import {
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import {
|
|
7
|
-
import
|
|
8
|
-
import G from "./
|
|
9
|
-
import H from "./
|
|
10
|
-
import J from "./
|
|
11
|
-
|
|
12
|
-
const W = T.div``, X = T(Q.div)`
|
|
1
|
+
import { jsx as n, jsxs as B } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef as F, useRef as l, useState as U, Children as Y, isValidElement as $, cloneElement as c } from "react";
|
|
3
|
+
import { s as S } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
4
|
+
import K from "./Button.js";
|
|
5
|
+
import { b as L } from "./utils-DtEfC-TX.js";
|
|
6
|
+
import { useTheme as q } from "./ThemeProvider.js";
|
|
7
|
+
import A from "./Popover.js";
|
|
8
|
+
import G from "./PopoverTrigger.js";
|
|
9
|
+
import H from "./PopoverContent.js";
|
|
10
|
+
import { m as J } from "./motion-Ckekul_K.js";
|
|
11
|
+
const Q = S.div``, W = S(J.div)`
|
|
13
12
|
gap: 0.25rem;
|
|
14
13
|
display: flex;
|
|
15
14
|
flex-direction: column;
|
|
16
|
-
${(
|
|
17
|
-
background-color: ${(
|
|
18
|
-
|
|
15
|
+
${(o) => o.widthfitcontent == !1 && "min-width: 12.5rem"};
|
|
16
|
+
background-color: ${(o) => L(
|
|
17
|
+
o.theme,
|
|
19
18
|
"Dropdown",
|
|
20
|
-
|
|
19
|
+
o.color,
|
|
21
20
|
"enabled",
|
|
22
21
|
"background"
|
|
23
22
|
)};
|
|
24
|
-
`,
|
|
23
|
+
`, me = F((o, r) => {
|
|
25
24
|
const {
|
|
26
|
-
control:
|
|
27
|
-
offsetValue:
|
|
28
|
-
placement:
|
|
29
|
-
widthFitContent:
|
|
30
|
-
closeOnItemSelect:
|
|
31
|
-
zIndex:
|
|
25
|
+
control: s,
|
|
26
|
+
offsetValue: T = 9,
|
|
27
|
+
placement: M,
|
|
28
|
+
widthFitContent: N = !1,
|
|
29
|
+
closeOnItemSelect: v = !0,
|
|
30
|
+
zIndex: x,
|
|
32
31
|
//----------------
|
|
33
|
-
onFocus:
|
|
32
|
+
onFocus: f = () => {
|
|
34
33
|
},
|
|
35
|
-
onBlur:
|
|
34
|
+
onBlur: u = () => {
|
|
36
35
|
},
|
|
37
|
-
onClick:
|
|
36
|
+
onClick: d = () => {
|
|
38
37
|
},
|
|
39
|
-
onKeyDown:
|
|
38
|
+
onKeyDown: g = () => {
|
|
40
39
|
},
|
|
41
|
-
onMouseEnter:
|
|
40
|
+
onMouseEnter: y = () => {
|
|
42
41
|
},
|
|
43
|
-
onMouseLeave:
|
|
42
|
+
onMouseLeave: E = () => {
|
|
44
43
|
},
|
|
45
|
-
onItemSelected:
|
|
44
|
+
onItemSelected: D = () => {
|
|
46
45
|
},
|
|
47
46
|
//----------------
|
|
48
|
-
animation:
|
|
47
|
+
animation: P = {
|
|
49
48
|
animate: { opacity: 1, height: "auto" },
|
|
50
49
|
exit: { opacity: 0, height: 0 },
|
|
51
50
|
initial: { opacity: 0, height: 0 },
|
|
@@ -56,139 +55,78 @@ const W = T.div``, X = T(Q.div)`
|
|
|
56
55
|
height: { duration: 0.15 }
|
|
57
56
|
}
|
|
58
57
|
},
|
|
59
|
-
className:
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
} =
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
}, j = U.map(R, (e, c) => {
|
|
72
|
-
var p, S;
|
|
73
|
-
return Y(e) && (e.props.__TYPE__ == "MENU_ITEM" || ((p = e == null ? void 0 : e.type) == null ? void 0 : p.displayName) === "MENU_ITEM" || e.props.__TYPE__ == "NESTED_ITEM" || ((S = e == null ? void 0 : e.type) == null ? void 0 : S.displayName) === "NESTED_ITEM") ? c == 0 ? (e.props.ref && (w.current = s), f(e, {
|
|
74
|
-
ref: s || w,
|
|
58
|
+
className: R = "",
|
|
59
|
+
color: t = "primary",
|
|
60
|
+
size: a = "small",
|
|
61
|
+
contentClassName: b = "",
|
|
62
|
+
children: h,
|
|
63
|
+
...O
|
|
64
|
+
} = o, k = l(), { theme: V } = q(), C = l(), I = l(), [j, p] = U(!1), _ = (e, m, i) => {
|
|
65
|
+
D(e, m, i), v == !0 && p(!1);
|
|
66
|
+
}, z = Y.map(h, (e, m) => {
|
|
67
|
+
var i, w;
|
|
68
|
+
return $(e) && (e.props.__TYPE__ == "MENU_ITEM" || ((i = e == null ? void 0 : e.type) == null ? void 0 : i.displayName) === "MENU_ITEM" || e.props.__TYPE__ == "NESTED_ITEM" || ((w = e == null ? void 0 : e.type) == null ? void 0 : w.displayName) === "NESTED_ITEM") ? m == 0 ? (e.props.ref && (I.current = r), c(e, {
|
|
69
|
+
ref: r || I,
|
|
75
70
|
//needed to focus on navigation
|
|
76
|
-
color: e.props.color ? e.props.color :
|
|
77
|
-
size:
|
|
78
|
-
onItemSelected:
|
|
79
|
-
animation:
|
|
80
|
-
})) :
|
|
81
|
-
color: e.props.color ? e.props.color :
|
|
82
|
-
size:
|
|
83
|
-
onItemSelected:
|
|
71
|
+
color: e.props.color ? e.props.color : t,
|
|
72
|
+
size: a,
|
|
73
|
+
onItemSelected: _,
|
|
74
|
+
animation: P
|
|
75
|
+
})) : c(e, {
|
|
76
|
+
color: e.props.color ? e.props.color : t,
|
|
77
|
+
size: a,
|
|
78
|
+
onItemSelected: _
|
|
84
79
|
}) : e;
|
|
85
80
|
});
|
|
86
|
-
return /* @__PURE__ */
|
|
87
|
-
|
|
81
|
+
return /* @__PURE__ */ n(Q, { ref: r, className: R, ...O, children: /* @__PURE__ */ B(
|
|
82
|
+
A,
|
|
88
83
|
{
|
|
89
|
-
open:
|
|
90
|
-
onOpenChange:
|
|
91
|
-
placement:
|
|
92
|
-
offsetValue:
|
|
84
|
+
open: j,
|
|
85
|
+
onOpenChange: p,
|
|
86
|
+
placement: M,
|
|
87
|
+
offsetValue: T,
|
|
93
88
|
children: [
|
|
94
|
-
/* @__PURE__ */
|
|
95
|
-
|
|
89
|
+
/* @__PURE__ */ n(G, { onClick: () => p((e) => !e), children: typeof s == "string" || s instanceof String ? /* @__PURE__ */ n(
|
|
90
|
+
K,
|
|
96
91
|
{
|
|
97
|
-
text:
|
|
98
|
-
onClick:
|
|
99
|
-
onMouseEnter:
|
|
100
|
-
onMouseLeave:
|
|
101
|
-
onBlur:
|
|
102
|
-
onFocus:
|
|
103
|
-
ref:
|
|
104
|
-
onKeyDown:
|
|
92
|
+
text: s,
|
|
93
|
+
onClick: d,
|
|
94
|
+
onMouseEnter: y,
|
|
95
|
+
onMouseLeave: E,
|
|
96
|
+
onBlur: u,
|
|
97
|
+
onFocus: f,
|
|
98
|
+
ref: C,
|
|
99
|
+
onKeyDown: g,
|
|
105
100
|
trailingIcon: "angle-down",
|
|
106
|
-
color:
|
|
107
|
-
size:
|
|
101
|
+
color: t,
|
|
102
|
+
size: a
|
|
108
103
|
}
|
|
109
|
-
) :
|
|
110
|
-
color:
|
|
111
|
-
size:
|
|
112
|
-
ref:
|
|
113
|
-
onClick:
|
|
114
|
-
onMouseEnter:
|
|
115
|
-
onMouseLeave:
|
|
116
|
-
onBlur:
|
|
117
|
-
onFocus:
|
|
118
|
-
onKeyDown:
|
|
104
|
+
) : c(s, {
|
|
105
|
+
color: t,
|
|
106
|
+
size: a,
|
|
107
|
+
ref: C,
|
|
108
|
+
onClick: d,
|
|
109
|
+
onMouseEnter: y,
|
|
110
|
+
onMouseLeave: E,
|
|
111
|
+
onBlur: u,
|
|
112
|
+
onFocus: f,
|
|
113
|
+
onKeyDown: g
|
|
119
114
|
}) }),
|
|
120
|
-
/* @__PURE__ */
|
|
121
|
-
|
|
115
|
+
/* @__PURE__ */ n(H, { zIndex: x, children: /* @__PURE__ */ n(
|
|
116
|
+
W,
|
|
122
117
|
{
|
|
123
|
-
ref:
|
|
124
|
-
widthfitcontent:
|
|
125
|
-
color:
|
|
126
|
-
theme:
|
|
127
|
-
className:
|
|
128
|
-
children:
|
|
118
|
+
ref: k,
|
|
119
|
+
widthfitcontent: N,
|
|
120
|
+
color: t,
|
|
121
|
+
theme: V,
|
|
122
|
+
className: b,
|
|
123
|
+
children: z
|
|
129
124
|
}
|
|
130
125
|
) })
|
|
131
126
|
]
|
|
132
127
|
}
|
|
133
128
|
) });
|
|
134
129
|
});
|
|
135
|
-
Z.propTypes = {
|
|
136
|
-
control: o.oneOfType([o.string, o.element]),
|
|
137
|
-
/**
|
|
138
|
-
* Menu offset from the control
|
|
139
|
-
*/
|
|
140
|
-
offsetValue: o.number,
|
|
141
|
-
placement: o.oneOf([
|
|
142
|
-
"center",
|
|
143
|
-
"top",
|
|
144
|
-
"right",
|
|
145
|
-
"bottom",
|
|
146
|
-
"left",
|
|
147
|
-
"top-start",
|
|
148
|
-
"top-end",
|
|
149
|
-
"right-start",
|
|
150
|
-
"right-end",
|
|
151
|
-
"bottom-start",
|
|
152
|
-
"bottom-end",
|
|
153
|
-
"left-start",
|
|
154
|
-
"left-end"
|
|
155
|
-
]),
|
|
156
|
-
/**
|
|
157
|
-
* Adjust width of dropdown according to dropdown items content.
|
|
158
|
-
*/
|
|
159
|
-
widthFitContent: o.bool,
|
|
160
|
-
/**
|
|
161
|
-
* Close menu when item is selected
|
|
162
|
-
*/
|
|
163
|
-
closeOnItemSelect: o.bool,
|
|
164
|
-
/**
|
|
165
|
-
* zIndex of dropdown popup
|
|
166
|
-
*/
|
|
167
|
-
zIndex: o.number,
|
|
168
|
-
//---------------------------------------------------------------
|
|
169
|
-
onBlur: o.func,
|
|
170
|
-
onFocus: o.func,
|
|
171
|
-
onClick: o.func,
|
|
172
|
-
onKeyDown: o.func,
|
|
173
|
-
onMouseEnter: o.func,
|
|
174
|
-
onMouseLeave: o.func,
|
|
175
|
-
onItemSelected: o.func,
|
|
176
|
-
//---------------------------------------------------------------
|
|
177
|
-
animation: o.object,
|
|
178
|
-
className: o.string,
|
|
179
|
-
color: o.oneOf([
|
|
180
|
-
"primary",
|
|
181
|
-
"secondary",
|
|
182
|
-
"success",
|
|
183
|
-
"warning",
|
|
184
|
-
"danger",
|
|
185
|
-
"information",
|
|
186
|
-
"neutral",
|
|
187
|
-
"gray"
|
|
188
|
-
]),
|
|
189
|
-
size: o.oneOf(["small", "medium", "large"]),
|
|
190
|
-
popoverProps: o.any
|
|
191
|
-
};
|
|
192
130
|
export {
|
|
193
|
-
|
|
131
|
+
me as default
|
|
194
132
|
};
|