@gobolt/genesis 0.0.8 → 0.0.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +10 -0
- package/dist/{AntdIcon-c395a1c4.js → AntdIcon-BoLh1dP8.js} +66 -68
- package/dist/CheckOutlined-CeTKr6II.js +13 -0
- package/dist/{CloseCircleFilled-ddc51e7e.js → CloseCircleFilled-DXCxlIQL.js} +8 -11
- package/dist/{CloseOutlined-14b8bba1.js → CloseOutlined-ClXDNn82.js} +9 -12
- package/dist/{Compact-c39ed20d.js → Compact-CGY560JF.js} +63 -65
- package/dist/ContextIsolator-D5x2Ih51.js +20 -0
- package/dist/{ExclamationCircleFilled-23ef9812.js → ExclamationCircleFilled-C0Kj5KQV.js} +16 -22
- package/dist/KeyCode-DM2sFh3-.js +517 -0
- package/dist/LoadingOutlined-8EnJdZ7I.js +13 -0
- package/dist/{Overflow-a570fa69.js → Overflow-PBZD-PFm.js} +63 -64
- package/dist/{DownOutlined-64a4732a.js → PurePanel-BqPLRtc2.js} +67 -70
- package/dist/{SearchOutlined-a9014e08.js → SearchOutlined-BP3Z2K6j.js} +8 -11
- package/dist/{TextArea-20825221.js → TextArea-DKwCct3i.js} +583 -588
- package/dist/Typography-aGoDUl4R.js +710 -0
- package/dist/bundle.css +1204 -0
- package/dist/{button-fa1c119c.js → button-CDQgO1OK.js} +274 -278
- package/dist/{collapse-345bc884.js → collapse-Dtpt-6W_.js} +2 -2
- package/dist/compact-item-DH13cl8A.js +61 -0
- package/dist/components/Badge/Badge.d.ts +2 -2
- package/dist/components/Badge/Badge.js +63 -62
- package/dist/components/Badge/__tests__/Badge.test.js +11 -65
- package/dist/components/Badge/index.js +2 -21
- package/dist/components/Badge/styles.js +7 -8
- package/dist/components/Breadcrumb/Breadcrumb.js +8 -24
- package/dist/components/Breadcrumb/Breadcrumb.types.d.ts +21 -7
- package/dist/components/Breadcrumb/__tests__/Breadcrumb.test.js +13 -60
- package/dist/components/Breadcrumb/index.js +2 -25
- package/dist/components/Breadcrumb/styles.d.ts +10 -6
- package/dist/components/Breadcrumb/styles.js +787 -808
- package/dist/components/Button/Button.d.ts +6 -4
- package/dist/components/Button/Button.js +20 -40
- package/dist/components/Button/__tests__/Button.test.js +9 -54
- package/dist/components/Button/index.js +2 -20
- package/dist/components/Button/styles.d.ts +9 -5
- package/dist/components/Button/styles.js +19 -30
- package/dist/components/Checkbox/Checkbox.js +8 -38
- package/dist/components/Checkbox/__tests__/Checkbox.test.js +16 -62
- package/dist/components/Checkbox/index.js +2 -47
- package/dist/components/Checkbox/styles.d.ts +8 -1
- package/dist/components/Checkbox/styles.js +181 -188
- package/dist/components/ErrorBoundaryFallback/ErrorBoundaryFallback.d.ts +2 -4
- package/dist/components/ErrorBoundaryFallback/ErrorBoundaryFallback.js +19 -51
- package/dist/components/ErrorBoundaryFallback/index.d.ts +1 -0
- package/dist/components/ErrorBoundaryFallback/index.js +2 -49
- package/dist/components/ErrorBoundaryFallback/styles.d.ts +1 -3
- package/dist/components/ErrorBoundaryFallback/styles.js +34 -37
- package/dist/components/Form/Form.d.ts +18 -5
- package/dist/components/Form/Form.js +4 -45
- package/dist/components/Form/__stories__/FormStory.js +44 -81
- package/dist/components/Form/__tests__/form.test.d.ts +1 -0
- package/dist/components/Form/__tests__/form.test.js +18 -0
- package/dist/components/Form/index.js +2 -46
- package/dist/components/Form/styles.d.ts +3 -0
- package/dist/components/Form/styles.js +5 -0
- package/dist/components/Input/Input.js +6 -29
- package/dist/components/Input/__tests__/Input.test.js +21 -66
- package/dist/components/Input/index.js +2 -29
- package/dist/components/Input/styles.d.ts +5 -2
- package/dist/components/Input/styles.js +319 -332
- package/dist/components/Message/Message.d.ts +4 -4
- package/dist/components/Message/Message.js +53 -80
- package/dist/components/Message/__tests__/Message.test.js +24 -70
- package/dist/components/Message/index.js +2 -48
- package/dist/components/Message/styles.d.ts +4 -1
- package/dist/components/Message/styles.js +24 -18
- package/dist/components/Notification/Notification.d.ts +11 -10
- package/dist/components/Notification/Notification.js +306 -372
- package/dist/components/Notification/NotificationRightChevron.d.ts +2 -0
- package/dist/components/Notification/NotificationRightChevron.js +23 -0
- package/dist/components/Notification/__tests__/Notification.test.js +8 -69
- package/dist/components/Notification/index.js +2 -59
- package/dist/components/Notification/styles.d.ts +13 -3
- package/dist/components/Notification/styles.js +36 -20
- package/dist/components/Radio/Radio.js +20 -106
- package/dist/components/Radio/RadioGroup.js +18 -71
- package/dist/components/Radio/__stories__/RadioGroup.stories.d.ts +1 -1
- package/dist/components/Radio/__tests__/RadioGroup.test.js +15 -70
- package/dist/components/Radio/index.d.ts +1 -1
- package/dist/components/Radio/index.js +2 -56
- package/dist/components/Select/DropdownChevron.d.ts +2 -0
- package/dist/components/Select/DropdownChevron.js +23 -0
- package/dist/components/Select/Select.d.ts +9 -4
- package/dist/components/Select/Select.js +29 -41
- package/dist/components/Select/__tests__/Select.test.js +10752 -93
- package/dist/components/Select/index.js +2 -28
- package/dist/components/Select/styles.d.ts +20 -6
- package/dist/components/Select/styles.js +1381 -1370
- package/dist/components/Toast/Toast.d.ts +4 -4
- package/dist/components/Toast/Toast.js +8 -37
- package/dist/components/Toast/__stories__/Toast.stories.d.ts +1 -0
- package/dist/components/Toast/__tests__/Toast.test.js +10 -55
- package/dist/components/Toast/index.js +2 -46
- package/dist/components/Toast/styles.d.ts +6 -1
- package/dist/components/Toast/styles.js +36 -21
- package/dist/components/Typography/Typography.d.ts +7 -4
- package/dist/components/Typography/Typography.js +2 -42
- package/dist/components/Typography/__stories__/Typography.stories.d.ts +1 -0
- package/dist/components/Typography/__tests__/Typography.test.js +19 -56
- package/dist/components/Typography/index.js +2 -46
- package/dist/components/Typography/styles.d.ts +18 -4
- package/dist/components/Typography/styles.js +36 -43
- package/dist/components/index.d.ts +13 -5
- package/dist/components/index.js +24 -70
- package/dist/{context-3b8a39af.js → context-BMW3aJEf.js} +538 -548
- package/dist/genesis/GenesisThemeBreakdown.js +38 -55
- package/dist/genesis/GenesisThemeDemo.js +3 -53
- package/dist/genesis/styles.d.ts +6 -2
- package/dist/genesis/styles.js +496 -521
- package/dist/{index-e2b72ca8.js → index-1CBpubM3.js} +97 -102
- package/dist/index-BZAhCB_K.js +97 -0
- package/dist/{index-501fc13d.js → index-C0SmxWLS.js} +367 -392
- package/dist/index-C8haFnXI.js +1112 -0
- package/dist/index-CfDY25LP.js +873 -0
- package/dist/index-DPW8XdWj.js +952 -0
- package/dist/{index-8c8d2d0c.js → index-bKlRxQp4.js} +114 -114
- package/dist/index-oK7z6jnz.js +22795 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +31 -77
- package/dist/{isVisible-729780f5.js → isVisible-A-IfeFoT.js} +67 -94
- package/dist/{magic-string.es-b7491176.js → magic-string.es-D2FWSwU3.js} +56 -103
- package/dist/{pickAttrs-00ba4687.js → pickAttrs-B0YTfcV1.js} +1 -1
- package/dist/providers/GenesisProvider.d.ts +0 -5
- package/dist/providers/GenesisProvider.js +9 -59
- package/dist/providers/ThemeProvider.d.ts +1 -2
- package/dist/providers/ThemeProvider.js +11 -13
- package/dist/providers/ToastProvider.d.ts +11 -4
- package/dist/providers/ToastProvider.js +10 -39
- package/dist/providers/index.d.ts +2 -3
- package/dist/providers/index.js +4 -51
- package/dist/providers/useGenesis.d.ts +7 -0
- package/dist/providers/useGenesis.js +6 -0
- package/dist/setup-BvfREoHl.js +33891 -0
- package/dist/{styled-components.browser.esm-02f500bc.js → styled-components.browser.esm-CZ1XM4o4.js} +72 -134
- package/dist/styles/design-tokens/border-tokens/BorderTokenList.js +15 -45
- package/dist/styles/design-tokens/sizing-tokens/SizingTokenList.js +15 -45
- package/dist/styles/design-tokens/{typography → typography-tokens}/TypographyTokens.stories.d.ts +1 -0
- package/dist/styles/design-tokens/variables.d.ts +10 -10
- package/dist/styles/design-tokens/variables.js +1 -1
- package/dist/styles/global-styles.d.ts +1 -0
- package/dist/styles/global-styles.js +14 -31
- package/dist/styles/theme/genesis-theme.js +257 -212
- package/dist/styles/theme/genesis-theme.types.d.ts +46 -0
- package/dist/styles/theme/index.js +4 -5
- package/dist/styles-CT_fyXBd.js +1808 -0
- package/dist/test/setup.js +3 -46
- package/dist/useLocale-DT-z_vQ6.js +16 -0
- package/dist/useVariants-DvhXfgJY.js +30 -0
- package/dist/utils/isAllEnglishString.js +1 -2
- package/dist/{presets-83ccb923.js → warning-C63HNL9U.js} +358 -356
- package/package.json +35 -35
- package/dist/CheckOutlined-52d9ac25.js +0 -29
- package/dist/ContextIsolator-b09b2c52.js +0 -20
- package/dist/EllipsisOutlined-60122660.js +0 -1115
- package/dist/InfoCircleFilled-c5f90c20.js +0 -16
- package/dist/RightOutlined-83515eb4.js +0 -16
- package/dist/compact-item-b8f85aa6.js +0 -75
- package/dist/index-0a886e53.js +0 -100
- package/dist/index-0b9ee239.js +0 -955
- package/dist/index-1a33c134.js +0 -1389
- package/dist/index-4003d75b.js +0 -3748
- package/dist/index-89035ea5.js +0 -3242
- package/dist/providers/ToastWrapper.d.ts +0 -7
- package/dist/providers/ToastWrapper.js +0 -56
- package/dist/setup-aaca7b6f.js +0 -21158
- package/dist/styles/theme/global-styles.d.ts +0 -1
- package/dist/styles/theme/global-styles.js +0 -36
- package/dist/useVariants-a0d64298.js +0 -30
- /package/dist/{presetColors-ccf8cb4c.js → presetColors-Cl8UP3Nw.js} +0 -0
- /package/dist/{reactNode-f4391605.js → reactNode-sKPeiqPL.js} +0 -0
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { a as l } from "./presets-83ccb923.js";
|
|
2
|
-
import * as e from "react";
|
|
3
|
-
import { A as c } from "./AntdIcon-c395a1c4.js";
|
|
4
|
-
var n = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm32 664c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V456c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v272zm-32-344a48.01 48.01 0 010-96 48.01 48.01 0 010 96z" } }] }, name: "info-circle", theme: "filled" };
|
|
5
|
-
const a = n;
|
|
6
|
-
var t = function(o, i) {
|
|
7
|
-
return /* @__PURE__ */ e.createElement(c, l({}, o, {
|
|
8
|
-
ref: i,
|
|
9
|
-
icon: a
|
|
10
|
-
}));
|
|
11
|
-
}, r = /* @__PURE__ */ e.forwardRef(t);
|
|
12
|
-
process.env.NODE_ENV !== "production" && (r.displayName = "InfoCircleFilled");
|
|
13
|
-
const m = r;
|
|
14
|
-
export {
|
|
15
|
-
m as I
|
|
16
|
-
};
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { a } from "./presets-83ccb923.js";
|
|
2
|
-
import * as t from "react";
|
|
3
|
-
import { A as r } from "./AntdIcon-c395a1c4.js";
|
|
4
|
-
var o = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z" } }] }, name: "right", theme: "outlined" };
|
|
5
|
-
const c = o;
|
|
6
|
-
var s = function(i, n) {
|
|
7
|
-
return /* @__PURE__ */ t.createElement(r, a({}, i, {
|
|
8
|
-
ref: n,
|
|
9
|
-
icon: c
|
|
10
|
-
}));
|
|
11
|
-
}, e = /* @__PURE__ */ t.forwardRef(s);
|
|
12
|
-
process.env.NODE_ENV !== "production" && (e.displayName = "RightOutlined");
|
|
13
|
-
const g = e;
|
|
14
|
-
export {
|
|
15
|
-
g as R
|
|
16
|
-
};
|
|
@@ -1,75 +0,0 @@
|
|
|
1
|
-
import { a as u } from "./presets-83ccb923.js";
|
|
2
|
-
import * as r from "react";
|
|
3
|
-
import { A as l } from "./AntdIcon-c395a1c4.js";
|
|
4
|
-
var $ = { icon: { tag: "svg", attrs: { viewBox: "0 0 1024 1024", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M988 548c-19.9 0-36-16.1-36-36 0-59.4-11.6-117-34.6-171.3a440.45 440.45 0 00-94.3-139.9 437.71 437.71 0 00-139.9-94.3C629 83.6 571.4 72 512 72c-19.9 0-36-16.1-36-36s16.1-36 36-36c69.1 0 136.2 13.5 199.3 40.3C772.3 66 827 103 874 150c47 47 83.9 101.8 109.7 162.7 26.7 63.1 40.2 130.2 40.2 199.3.1 19.9-16 36-35.9 36z" } }] }, name: "loading", theme: "outlined" };
|
|
5
|
-
const g = $;
|
|
6
|
-
var f = function(t, i) {
|
|
7
|
-
return /* @__PURE__ */ r.createElement(l, u({}, t, {
|
|
8
|
-
ref: i,
|
|
9
|
-
icon: g
|
|
10
|
-
}));
|
|
11
|
-
}, s = /* @__PURE__ */ r.forwardRef(f);
|
|
12
|
-
process.env.NODE_ENV !== "production" && (s.displayName = "LoadingOutlined");
|
|
13
|
-
const h = s;
|
|
14
|
-
function b(n, t, i) {
|
|
15
|
-
const {
|
|
16
|
-
focusElCls: e,
|
|
17
|
-
focus: o,
|
|
18
|
-
borderElCls: c
|
|
19
|
-
} = i, a = c ? "> *" : "", d = ["hover", o ? "focus" : null, "active"].filter(Boolean).map((m) => `&:${m} ${a}`).join(",");
|
|
20
|
-
return {
|
|
21
|
-
[`&-item:not(${t}-last-item)`]: {
|
|
22
|
-
marginInlineEnd: n.calc(n.lineWidth).mul(-1).equal()
|
|
23
|
-
},
|
|
24
|
-
"&-item": Object.assign(Object.assign({
|
|
25
|
-
[d]: {
|
|
26
|
-
zIndex: 2
|
|
27
|
-
}
|
|
28
|
-
}, e ? {
|
|
29
|
-
[`&${e}`]: {
|
|
30
|
-
zIndex: 2
|
|
31
|
-
}
|
|
32
|
-
} : {}), {
|
|
33
|
-
[`&[disabled] ${a}`]: {
|
|
34
|
-
zIndex: 0
|
|
35
|
-
}
|
|
36
|
-
})
|
|
37
|
-
};
|
|
38
|
-
}
|
|
39
|
-
function E(n, t, i) {
|
|
40
|
-
const {
|
|
41
|
-
borderElCls: e
|
|
42
|
-
} = i, o = e ? `> ${e}` : "";
|
|
43
|
-
return {
|
|
44
|
-
[`&-item:not(${t}-first-item):not(${t}-last-item) ${o}`]: {
|
|
45
|
-
borderRadius: 0
|
|
46
|
-
},
|
|
47
|
-
[`&-item:not(${t}-last-item)${t}-first-item`]: {
|
|
48
|
-
[`& ${o}, &${n}-sm ${o}, &${n}-lg ${o}`]: {
|
|
49
|
-
borderStartEndRadius: 0,
|
|
50
|
-
borderEndEndRadius: 0
|
|
51
|
-
}
|
|
52
|
-
},
|
|
53
|
-
[`&-item:not(${t}-first-item)${t}-last-item`]: {
|
|
54
|
-
[`& ${o}, &${n}-sm ${o}, &${n}-lg ${o}`]: {
|
|
55
|
-
borderStartStartRadius: 0,
|
|
56
|
-
borderEndStartRadius: 0
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
};
|
|
60
|
-
}
|
|
61
|
-
function I(n) {
|
|
62
|
-
let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {
|
|
63
|
-
focus: !0
|
|
64
|
-
};
|
|
65
|
-
const {
|
|
66
|
-
componentCls: i
|
|
67
|
-
} = n, e = `${i}-compact`;
|
|
68
|
-
return {
|
|
69
|
-
[e]: Object.assign(Object.assign({}, b(n, e, t)), E(i, e, t))
|
|
70
|
-
};
|
|
71
|
-
}
|
|
72
|
-
export {
|
|
73
|
-
h as L,
|
|
74
|
-
I as g
|
|
75
|
-
};
|
package/dist/index-0a886e53.js
DELETED
|
@@ -1,100 +0,0 @@
|
|
|
1
|
-
import * as n from "react";
|
|
2
|
-
import U from "react";
|
|
3
|
-
import { c as h } from "./presets-83ccb923.js";
|
|
4
|
-
import { t as X } from "./isVisible-729780f5.js";
|
|
5
|
-
import { C as Y } from "./index-4003d75b.js";
|
|
6
|
-
import { C as Z, u as ee } from "./Compact-c39ed20d.js";
|
|
7
|
-
function w(e) {
|
|
8
|
-
return ["small", "middle", "large"].includes(e);
|
|
9
|
-
}
|
|
10
|
-
function E(e) {
|
|
11
|
-
return e ? typeof e == "number" && !Number.isNaN(e) : !1;
|
|
12
|
-
}
|
|
13
|
-
const j = /* @__PURE__ */ U.createContext({
|
|
14
|
-
latestIndex: 0
|
|
15
|
-
}), te = j.Provider, se = (e) => {
|
|
16
|
-
let {
|
|
17
|
-
className: r,
|
|
18
|
-
index: o,
|
|
19
|
-
children: t,
|
|
20
|
-
split: l,
|
|
21
|
-
style: u
|
|
22
|
-
} = e;
|
|
23
|
-
const {
|
|
24
|
-
latestIndex: s
|
|
25
|
-
} = n.useContext(j);
|
|
26
|
-
return t == null ? null : /* @__PURE__ */ n.createElement(n.Fragment, null, /* @__PURE__ */ n.createElement("div", {
|
|
27
|
-
className: r,
|
|
28
|
-
style: u
|
|
29
|
-
}, t), o < s && l && /* @__PURE__ */ n.createElement("span", {
|
|
30
|
-
className: `${r}-split`
|
|
31
|
-
}, l));
|
|
32
|
-
}, le = se;
|
|
33
|
-
var ne = globalThis && globalThis.__rest || function(e, r) {
|
|
34
|
-
var o = {};
|
|
35
|
-
for (var t in e)
|
|
36
|
-
Object.prototype.hasOwnProperty.call(e, t) && r.indexOf(t) < 0 && (o[t] = e[t]);
|
|
37
|
-
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
38
|
-
for (var l = 0, t = Object.getOwnPropertySymbols(e); l < t.length; l++)
|
|
39
|
-
r.indexOf(t[l]) < 0 && Object.prototype.propertyIsEnumerable.call(e, t[l]) && (o[t[l]] = e[t[l]]);
|
|
40
|
-
return o;
|
|
41
|
-
};
|
|
42
|
-
const oe = /* @__PURE__ */ n.forwardRef((e, r) => {
|
|
43
|
-
var o, t, l;
|
|
44
|
-
const {
|
|
45
|
-
getPrefixCls: u,
|
|
46
|
-
space: s,
|
|
47
|
-
direction: I
|
|
48
|
-
} = n.useContext(Y), {
|
|
49
|
-
size: c = (o = s == null ? void 0 : s.size) !== null && o !== void 0 ? o : "small",
|
|
50
|
-
align: S,
|
|
51
|
-
className: V,
|
|
52
|
-
rootClassName: k,
|
|
53
|
-
children: A,
|
|
54
|
-
direction: b = "horizontal",
|
|
55
|
-
prefixCls: G,
|
|
56
|
-
split: R,
|
|
57
|
-
style: H,
|
|
58
|
-
wrap: T = !1,
|
|
59
|
-
classNames: f,
|
|
60
|
-
styles: v
|
|
61
|
-
} = e, D = ne(e, ["size", "align", "className", "rootClassName", "children", "direction", "prefixCls", "split", "style", "wrap", "classNames", "styles"]), [m, d] = Array.isArray(c) ? c : [c, c], $ = w(d), z = w(m), F = E(d), M = E(m), O = X(A, {
|
|
62
|
-
keepEmpty: !0
|
|
63
|
-
}), _ = S === void 0 && b === "horizontal" ? "center" : S, a = u("space", G), [W, q, B] = ee(a), J = h(a, s == null ? void 0 : s.className, q, `${a}-${b}`, {
|
|
64
|
-
[`${a}-rtl`]: I === "rtl",
|
|
65
|
-
[`${a}-align-${_}`]: _,
|
|
66
|
-
[`${a}-gap-row-${d}`]: $,
|
|
67
|
-
[`${a}-gap-col-${m}`]: z
|
|
68
|
-
}, V, k, B), P = h(`${a}-item`, (t = f == null ? void 0 : f.item) !== null && t !== void 0 ? t : (l = s == null ? void 0 : s.classNames) === null || l === void 0 ? void 0 : l.item);
|
|
69
|
-
let y = 0;
|
|
70
|
-
const K = O.map((i, C) => {
|
|
71
|
-
var N, g;
|
|
72
|
-
i != null && (y = C);
|
|
73
|
-
const Q = (i == null ? void 0 : i.key) || `${P}-${C}`;
|
|
74
|
-
return /* @__PURE__ */ n.createElement(le, {
|
|
75
|
-
className: P,
|
|
76
|
-
key: Q,
|
|
77
|
-
index: C,
|
|
78
|
-
split: R,
|
|
79
|
-
style: (N = v == null ? void 0 : v.item) !== null && N !== void 0 ? N : (g = s == null ? void 0 : s.styles) === null || g === void 0 ? void 0 : g.item
|
|
80
|
-
}, i);
|
|
81
|
-
}), L = n.useMemo(() => ({
|
|
82
|
-
latestIndex: y
|
|
83
|
-
}), [y]);
|
|
84
|
-
if (O.length === 0)
|
|
85
|
-
return null;
|
|
86
|
-
const p = {};
|
|
87
|
-
return T && (p.flexWrap = "wrap"), !z && M && (p.columnGap = m), !$ && F && (p.rowGap = d), W(/* @__PURE__ */ n.createElement("div", Object.assign({
|
|
88
|
-
ref: r,
|
|
89
|
-
className: J,
|
|
90
|
-
style: Object.assign(Object.assign(Object.assign({}, p), s == null ? void 0 : s.style), H)
|
|
91
|
-
}, D), /* @__PURE__ */ n.createElement(te, {
|
|
92
|
-
value: L
|
|
93
|
-
}, K)));
|
|
94
|
-
}), x = oe;
|
|
95
|
-
x.Compact = Z;
|
|
96
|
-
process.env.NODE_ENV !== "production" && (x.displayName = "Space");
|
|
97
|
-
const de = x;
|
|
98
|
-
export {
|
|
99
|
-
de as S
|
|
100
|
-
};
|