@gobolt/genesis 0.0.11 → 0.1.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/README.md +6 -0
- package/dist/ClockCircleOutlined-BaXQuLIn.js +13 -0
- package/dist/{Compact-DBh6nSYB.js → Compact-Du9689ax.js} +8 -8
- package/dist/{ContextIsolator-CwuJooYf.js → ContextIsolator-BmfhJgG0.js} +2 -2
- package/dist/{DownOutlined-5-15jS0h.js → DownOutlined-Dcq69ZKM.js} +9 -9
- package/dist/{EllipsisOutlined-CJ2pgE2d.js → EllipsisOutlined-DGMph0Bj.js} +110 -110
- package/dist/{Keyframes-sPZXYuXt.js → Keyframes-C9_aCDvn.js} +1 -1
- package/dist/{Overflow-DdNKJLQh.js → Overflow-DWf4XIal.js} +31 -31
- package/dist/{Skeleton-B3vg9CbL.js → Skeleton-BVN4pcVe.js} +2 -2
- package/dist/TextArea-Bkf9hh7l.js +708 -0
- package/dist/{Typography-DqI7RslA.js → Typography-CoZ5qD-t.js} +3 -3
- package/dist/{button-B2Rgggx2.js → button-BwqpCxVM.js} +5 -5
- package/dist/components/Avatar/Avatar.js +3 -3
- package/dist/components/Avatar/__tests__/Avatar.test.js +1 -1
- package/dist/components/Avatar/styles.js +42 -42
- package/dist/components/Badge/Badge.js +3 -3
- package/dist/components/Badge/__tests__/Badge.test.js +1 -1
- package/dist/components/Breadcrumb/Breadcrumb.js +1 -1
- package/dist/components/Breadcrumb/__tests__/Breadcrumb.test.js +1 -1
- package/dist/components/Breadcrumb/styles.js +4 -4
- package/dist/components/Button/__tests__/Button.test.js +1 -1
- package/dist/components/Button/styles.js +1 -1
- package/dist/components/Card/__tests__/Card.test.js +1 -1
- package/dist/components/Card/styles.js +1 -1
- package/dist/components/Checkbox/Checkbox.js +3 -3
- package/dist/components/Checkbox/__tests__/Checkbox.test.js +1 -1
- package/dist/components/Checkbox/styles.js +1 -1
- package/dist/components/Dashboard/__stories__/DashboardLayoutContent.js +8 -8
- package/dist/components/Dashboard/__stories__/DashboardLayoutHeader.js +4 -4
- package/dist/components/Dashboard/__tests__/Dashboard.test.js +1 -1
- package/dist/components/DatePicker/DatePicker.d.ts +6 -0
- package/dist/components/DatePicker/DatePicker.js +5 -0
- package/dist/components/DatePicker/__stories__/DatePicker.stories.d.ts +10 -0
- package/dist/components/DatePicker/__tests__/DatePicker.test.d.ts +1 -0
- package/dist/components/DatePicker/__tests__/DatePicker.test.js +19 -0
- package/dist/components/DatePicker/index.d.ts +2 -0
- package/dist/components/DatePicker/index.js +4 -0
- package/dist/components/DateRangePicker/DateRangePicker.d.ts +5 -0
- package/dist/components/DateRangePicker/DateRangePicker.js +5 -0
- package/dist/components/DateRangePicker/__stories__/DateRangePicker.stories.d.ts +9 -0
- package/dist/components/DateRangePicker/__tests__/DateRangePicker.test.d.ts +1 -0
- package/dist/components/DateRangePicker/__tests__/DateRangePicker.test.js +23 -0
- package/dist/components/DateRangePicker/index.d.ts +2 -0
- package/dist/components/DateRangePicker/index.js +4 -0
- package/dist/components/ErrorBoundary/ErrorBoundary.js +3 -3
- package/dist/components/ErrorBoundary/__tests__/ErrorBoundary.test.js +1 -1
- package/dist/components/ErrorBoundaryFallback/ErrorBoundaryFallback.js +3 -3
- package/dist/components/ErrorBoundaryFallback/styles.js +1 -1
- package/dist/components/Form/Form.js +2 -2
- package/dist/components/Form/__stories__/FormStory.js +4 -4
- package/dist/components/Form/__tests__/form.test.js +2 -2
- package/dist/components/Form/index.js +1 -1
- package/dist/components/Form/styles.js +1 -1
- package/dist/components/Input/Input.js +1 -1
- package/dist/components/Input/__tests__/Input.test.js +1 -1
- package/dist/components/Input/styles.js +1 -1
- package/dist/components/Layout/Content/ResponsiveContent.js +3 -3
- package/dist/components/Layout/MainLayout/MainLayout.js +1 -1
- package/dist/components/Layout/__tests__/Layout.test.js +1 -1
- package/dist/components/Message/Message.js +3 -3
- package/dist/components/Message/__tests__/Message.test.js +1 -1
- package/dist/components/Notification/Notification.js +3 -3
- package/dist/components/Notification/NotificationBadge/__tests__/NotificationBadge.test.js +1 -1
- package/dist/components/Notification/__tests__/Notification.test.js +1 -1
- package/dist/components/Popover/Popover.js +1 -1
- package/dist/components/Popover/__tests__/Popover.test.js +1 -1
- package/dist/components/Popover/styles.js +1 -1
- package/dist/components/Progress/Progress.js +3 -3
- package/dist/components/Progress/Progress.util.js +3 -3
- package/dist/components/Progress/ProgressText.js +3 -3
- package/dist/components/Progress/__tests__/Progress.test.js +1 -1
- package/dist/components/Progress/styles.js +3 -3
- package/dist/components/Radio/Radio.js +3 -3
- package/dist/components/Radio/RadioGroup.js +1 -1
- package/dist/components/Radio/__tests__/RadioGroup.test.js +1 -1
- package/dist/components/Row/Row.js +1 -1
- package/dist/components/Row/RowActions/RowActions.js +3 -3
- package/dist/components/Row/RowLabelValue/RowLabelValue.js +3 -3
- package/dist/components/Row/RowLabelValue/styles.js +1 -1
- package/dist/components/Row/__tests__/Row.test.js +1 -1
- package/dist/components/SegmentedControls/__tests__/SegmentedControls.test.js +1 -1
- package/dist/components/SegmentedControls/styles.js +27 -27
- package/dist/components/Select/Select.js +1 -1
- package/dist/components/Select/__tests__/Select.test.js +1 -1
- package/dist/components/Select/styles.js +1 -1
- package/dist/components/Shapes/__tests__/Shapes.test.js +1 -1
- package/dist/components/Switch/__tests__/Switch.test.js +1 -1
- package/dist/components/Switch/styles.js +15 -15
- package/dist/components/Table/Table.js +1 -1
- package/dist/components/Table/__mocks__/table-mocks.js +3 -3
- package/dist/components/Table/__tests__/Table.test.js +1 -1
- package/dist/components/Table/styles.js +1 -1
- package/dist/components/Tabs/__tests__/Tabs.test.js +1 -1
- package/dist/components/Tabs/styles.js +1 -1
- package/dist/components/Tile/__tests__/Tile.test.js +1 -1
- package/dist/components/Toast/Toast.js +3 -3
- package/dist/components/Toast/__tests__/Toast.test.js +2 -2
- package/dist/components/Toast/index.js +1 -1
- package/dist/components/Tooltip/Tooltip.js +3 -3
- package/dist/components/Tooltip/__tests__/Tooltip.test.js +1 -1
- package/dist/components/Tooltip/styles.js +1 -1
- package/dist/components/Typography/Typography.js +1 -1
- package/dist/components/Typography/__tests__/Typography.test.js +2 -2
- package/dist/components/Typography/index.js +1 -1
- package/dist/components/Typography/styles.js +1 -1
- package/dist/components/index.d.ts +4 -0
- package/dist/components/index.js +46 -42
- package/dist/{context-Cx7GtZpz.js → context-DIFtNa4d.js} +70 -70
- package/dist/{dropdown-zGGFIyJ_.js → dropdown-Dp_PTQ2u.js} +60 -59
- package/dist/genesis/GenesisThemeBreakdown.js +86 -44
- package/dist/genesis/labs/Lab.stories.d.ts +6 -0
- package/dist/genesis/styles.js +2 -2
- package/dist/{index-CdiHBmVe.js → index-BPVue1Yd.js} +44 -44
- package/dist/{index-CRotrkWm.js → index-BQM5OniU.js} +7 -7
- package/dist/{index-BTGF--50.js → index-B_1Ge8na.js} +20 -19
- package/dist/{index-ByspLxrB.js → index-BbTV2Cw5.js} +32 -31
- package/dist/index-BeGv28kJ.js +5173 -0
- package/dist/{index-Dyl-ddV6.js → index-BpZSuIUV.js} +16 -16
- package/dist/{index-CodMmNWv.js → index-BvOLXELm.js} +3 -3
- package/dist/{index-hoPiccJv.js → index-CLSrpQRW.js} +9 -8
- package/dist/{index-D0P16DlX.js → index-CbVOl2U6.js} +26 -24
- package/dist/{index-DWUXwgXK.js → index-D0U6r5O7.js} +265 -294
- package/dist/{index-BW_7pvTr.js → index-DEu2PVzQ.js} +4 -4
- package/dist/{index-DmZOkMjs.js → index-DNQ-jnBx.js} +1207 -1514
- package/dist/index-DOsPeIWJ.js +1000 -0
- package/dist/{index-CSPlXIlA.js → index-DRGX1Wem.js} +7 -7
- package/dist/index-DWjq9XYj.js +899 -0
- package/dist/index.js +53 -49
- package/dist/motion-CUN72xsH.js +33 -0
- package/dist/providers/GenesisProvider.js +1 -1
- package/dist/providers/ToastProvider.js +3 -3
- package/dist/providers/index.js +1 -1
- package/dist/providers/useGenesis.js +1 -1
- package/dist/{responsiveObserver-O1kw80RG.js → responsiveObserver-dCkpy7Cb.js} +1 -1
- package/dist/roundedArrow-DI_Q-xdU.js +65 -0
- package/dist/{setup-CKu7-AfI.js → setup-CUbCc8fQ.js} +2 -2
- package/dist/styles/design-tokens/border-tokens/BorderTokenList.js +7 -7
- package/dist/styles/design-tokens/sizing-tokens/SizingTokenList.js +3 -3
- package/dist/styles/theme/genesis-theme.js +211 -349
- package/dist/styles/theme/theme-tree/ThemeTree.js +114 -113
- package/dist/{styles-BSD221S5.js → styles-CWdUpZom.js} +12 -12
- package/dist/{styles-BDbHpHsc.js → styles-D1vKDy9V.js} +9 -9
- package/dist/{styles-D9iYILpv.js → styles-qerRs7Rn.js} +493 -492
- package/dist/test/setup.js +2 -2
- package/dist/{toArray-DGvPoJP_.js → toArray-U3Az44CO.js} +1 -1
- package/dist/{useBreakpoint-CAMzKscx.js → useBreakpoint-TkMv121M.js} +2 -2
- package/dist/{useCSSVarCls-C-MlZC6a.js → useCSSVarCls-Dau77fzS.js} +1 -1
- package/dist/useIcons-Ck4JP1m9.js +321 -0
- package/dist/{useLocale-DWRfeMSS.js → useLocale-CTfNpakL.js} +1 -1
- package/dist/{useMergedState-BoELfaU9.js → useMergedState-D6toxSxh.js} +1 -1
- package/dist/{useSize-CPo2bUE3.js → useSize-DSq4r6zy.js} +1 -1
- package/dist/{useVariants-Cin23jEC.js → useVariants-DrLzUVLU.js} +2 -2
- package/dist/{useZIndex-D81lkWy4.js → useZIndex-DhyHuZTN.js} +1 -1
- package/dist/utils/icon-util.js +38 -44
- package/package.json +2 -1
- package/dist/TextArea-CKWbFr0u.js +0 -1698
- package/dist/index-CqqwGTME.js +0 -956
|
@@ -2,21 +2,22 @@ import * as l from "react";
|
|
|
2
2
|
import { useContext as he, useState as ve, useEffect as ce, useRef as Ne, createContext as qe, forwardRef as Te, useImperativeHandle as Fe } from "react";
|
|
3
3
|
import { d as pe, e as P, F as Ce } from "./presets-Djh_L_6R.js";
|
|
4
4
|
import { I as fe } from "./AntdIcon-nCNB0J1E.js";
|
|
5
|
-
import { a as Ge, M as Ye, u as Ue, S as Ze, E as Ke, R as Je, b as Qe, D as et } from "./EllipsisOutlined-
|
|
6
|
-
import {
|
|
7
|
-
import { u as st } from "./useMergedState-
|
|
5
|
+
import { a as Ge, M as Ye, u as Ue, S as Ze, E as Ke, R as Je, b as Qe, D as et } from "./EllipsisOutlined-DGMph0Bj.js";
|
|
6
|
+
import { j as oe, f as p, C as re, O as tt, B as nt, A as ot, w as rt, v as it, m as me, n as Ie, k as He, r as lt, g as Pe, a as De, p as Se, c as at } from "./index-BbTV2Cw5.js";
|
|
7
|
+
import { u as st } from "./useMergedState-D6toxSxh.js";
|
|
8
8
|
import { o as Z } from "./omit-B_u6A-HL.js";
|
|
9
|
-
import { u as
|
|
10
|
-
import { T as ct, i as
|
|
11
|
-
import { i as xe, g as
|
|
9
|
+
import { u as je, z as dt } from "./useZIndex-DhyHuZTN.js";
|
|
10
|
+
import { T as ct, i as Me, g as ut, a as mt, b as gt } from "./index-DWjq9XYj.js";
|
|
11
|
+
import { i as xe, g as pt } from "./DownOutlined-Dcq69ZKM.js";
|
|
12
12
|
import { c as ie } from "./reactNode-sKPeiqPL.js";
|
|
13
|
-
import { u as Re } from "./useCSSVarCls-
|
|
13
|
+
import { u as Re } from "./useCSSVarCls-Dau77fzS.js";
|
|
14
14
|
import "./index-DLdU7Tpd.js";
|
|
15
|
-
import {
|
|
16
|
-
import { t as
|
|
17
|
-
import { C as
|
|
18
|
-
import { g as
|
|
19
|
-
import { i as Q, s as
|
|
15
|
+
import { i as ft } from "./motion-CUN72xsH.js";
|
|
16
|
+
import { t as $t } from "./toArray-U3Az44CO.js";
|
|
17
|
+
import { C as bt } from "./ContextIsolator-BmfhJgG0.js";
|
|
18
|
+
import { g as ht } from "./collapse-Dtpt-6W_.js";
|
|
19
|
+
import { i as Q, s as vt, a as Ct, b as It, c as St } from "./Overflow-DWf4XIal.js";
|
|
20
|
+
import { g as xt } from "./roundedArrow-DI_Q-xdU.js";
|
|
20
21
|
var wt = { 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" }, yt = function(n, e) {
|
|
21
22
|
return /* @__PURE__ */ l.createElement(fe, pe({}, n, {
|
|
22
23
|
ref: e,
|
|
@@ -147,7 +148,7 @@ const Tt = /* @__PURE__ */ l.createContext({
|
|
|
147
148
|
lightTriggerBg: s,
|
|
148
149
|
lightTriggerColor: o
|
|
149
150
|
};
|
|
150
|
-
}, _e = [["colorBgBody", "bodyBg"], ["colorBgHeader", "headerBg"], ["colorBgTrigger", "triggerBg"]],
|
|
151
|
+
}, _e = [["colorBgBody", "bodyBg"], ["colorBgHeader", "headerBg"], ["colorBgTrigger", "triggerBg"]], xn = oe("Layout", (t) => [Ht(t)], Le, {
|
|
151
152
|
deprecatedTokens: _e
|
|
152
153
|
}), Pt = (t) => {
|
|
153
154
|
const {
|
|
@@ -260,7 +261,7 @@ const Tt = /* @__PURE__ */ l.createContext({
|
|
|
260
261
|
}, Dt = oe(["Layout", "Sider"], (t) => [Pt(t)], Le, {
|
|
261
262
|
deprecatedTokens: _e
|
|
262
263
|
});
|
|
263
|
-
var
|
|
264
|
+
var jt = function(t, n) {
|
|
264
265
|
var e = {};
|
|
265
266
|
for (var r in t) Object.prototype.hasOwnProperty.call(t, r) && n.indexOf(r) < 0 && (e[r] = t[r]);
|
|
266
267
|
if (t != null && typeof Object.getOwnPropertySymbols == "function") for (var o = 0, r = Object.getOwnPropertySymbols(t); o < r.length; o++)
|
|
@@ -274,7 +275,7 @@ const we = {
|
|
|
274
275
|
lg: "991.98px",
|
|
275
276
|
xl: "1199.98px",
|
|
276
277
|
xxl: "1599.98px"
|
|
277
|
-
},
|
|
278
|
+
}, Mt = (t) => !Number.isNaN(Number.parseFloat(t)) && isFinite(t), $e = /* @__PURE__ */ l.createContext({}), Rt = /* @__PURE__ */ (() => {
|
|
278
279
|
let t = 0;
|
|
279
280
|
return function() {
|
|
280
281
|
let n = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "";
|
|
@@ -297,7 +298,7 @@ const we = {
|
|
|
297
298
|
breakpoint: c,
|
|
298
299
|
onCollapse: g,
|
|
299
300
|
onBreakpoint: h
|
|
300
|
-
} = t, x =
|
|
301
|
+
} = t, x = jt(t, ["prefixCls", "className", "trigger", "children", "defaultCollapsed", "theme", "style", "collapsible", "reverseArrow", "width", "collapsedWidth", "zeroWidthTriggerStyle", "breakpoint", "onCollapse", "onBreakpoint"]), {
|
|
301
302
|
siderHook: B
|
|
302
303
|
} = he(Tt), [y, v] = ve("collapsed" in t ? t.collapsed : i), [O, N] = ve(!1);
|
|
303
304
|
ce(() => {
|
|
@@ -308,7 +309,7 @@ const we = {
|
|
|
308
309
|
}, {
|
|
309
310
|
getPrefixCls: T,
|
|
310
311
|
direction: I
|
|
311
|
-
} = he(re), S = T("layout-sider", e), [H,
|
|
312
|
+
} = he(re), S = T("layout-sider", e), [H, j, L] = Dt(S), C = Ne(null);
|
|
312
313
|
C.current = (E) => {
|
|
313
314
|
N(E.matches), h == null || h(E.matches), y !== E.matches && A(E.matches, "responsive");
|
|
314
315
|
}, ce(() => {
|
|
@@ -341,10 +342,10 @@ const we = {
|
|
|
341
342
|
const E = Rt("ant-sider-");
|
|
342
343
|
return B.addSider(E), () => B.removeSider(E);
|
|
343
344
|
}, []);
|
|
344
|
-
const
|
|
345
|
+
const M = () => {
|
|
345
346
|
A(!y, "clickTrigger");
|
|
346
|
-
}, W = Z(x, ["collapsed"]), _ = y ? u : b, R =
|
|
347
|
-
onClick:
|
|
347
|
+
}, W = Z(x, ["collapsed"]), _ = y ? u : b, R = Mt(_) ? `${_}px` : String(_), k = parseFloat(String(u || 0)) === 0 ? /* @__PURE__ */ l.createElement("span", {
|
|
348
|
+
onClick: M,
|
|
348
349
|
className: P(`${S}-zero-width-trigger`, `${S}-zero-width-trigger-${f ? "right" : "left"}`),
|
|
349
350
|
style: $
|
|
350
351
|
}, o || /* @__PURE__ */ l.createElement(Ae, null)) : null, V = I === "rtl" == !f, X = {
|
|
@@ -352,7 +353,7 @@ const we = {
|
|
|
352
353
|
collapsed: V ? /* @__PURE__ */ l.createElement(ge, null) : /* @__PURE__ */ l.createElement(ee, null)
|
|
353
354
|
}[y ? "collapsed" : "expanded"], q = o !== null ? k || /* @__PURE__ */ l.createElement("div", {
|
|
354
355
|
className: `${S}-trigger`,
|
|
355
|
-
onClick:
|
|
356
|
+
onClick: M,
|
|
356
357
|
style: {
|
|
357
358
|
width: R
|
|
358
359
|
}
|
|
@@ -366,7 +367,7 @@ const we = {
|
|
|
366
367
|
[`${S}-has-trigger`]: m && o !== null && !k,
|
|
367
368
|
[`${S}-below`]: !!O,
|
|
368
369
|
[`${S}-zero-width`]: parseFloat(R) === 0
|
|
369
|
-
}, r,
|
|
370
|
+
}, r, j, L), ae = l.useMemo(() => ({
|
|
370
371
|
siderCollapsed: y
|
|
371
372
|
}), [y]);
|
|
372
373
|
return H(/* @__PURE__ */ l.createElement($e.Provider, {
|
|
@@ -439,7 +440,7 @@ const ke = (t) => {
|
|
|
439
440
|
title: g
|
|
440
441
|
};
|
|
441
442
|
!c && !u && (h.title = null, h.open = !1);
|
|
442
|
-
const x =
|
|
443
|
+
const x = $t(r).length;
|
|
443
444
|
let B = /* @__PURE__ */ l.createElement(Ye, Object.assign({}, Z(t, ["title", "icon", "danger"]), {
|
|
444
445
|
className: P({
|
|
445
446
|
[`${s}-item-danger`]: i,
|
|
@@ -477,7 +478,7 @@ const ne = /* @__PURE__ */ l.createContext(null), kt = /* @__PURE__ */ l.forward
|
|
|
477
478
|
]), i = tt(e), d = nt(n, i ? ot(e) : null);
|
|
478
479
|
return /* @__PURE__ */ l.createElement(ne.Provider, {
|
|
479
480
|
value: a
|
|
480
|
-
}, /* @__PURE__ */ l.createElement(
|
|
481
|
+
}, /* @__PURE__ */ l.createElement(bt, {
|
|
481
482
|
space: !0
|
|
482
483
|
}, i ? /* @__PURE__ */ l.cloneElement(e, {
|
|
483
484
|
ref: d
|
|
@@ -582,11 +583,11 @@ const ne = /* @__PURE__ */ l.createContext(null), kt = /* @__PURE__ */ l.forward
|
|
|
582
583
|
dangerItemSelectedBg: S,
|
|
583
584
|
// Bg
|
|
584
585
|
popupBg: H,
|
|
585
|
-
itemHoverBg:
|
|
586
|
+
itemHoverBg: j,
|
|
586
587
|
itemActiveBg: L,
|
|
587
588
|
menuSubMenuBg: C,
|
|
588
589
|
// Horizontal
|
|
589
|
-
horizontalItemSelectedColor:
|
|
590
|
+
horizontalItemSelectedColor: M,
|
|
590
591
|
horizontalItemSelectedBg: W,
|
|
591
592
|
horizontalItemBorderRadius: _,
|
|
592
593
|
horizontalItemHoverBg: R
|
|
@@ -622,7 +623,7 @@ const ne = /* @__PURE__ */ l.createContext(null), kt = /* @__PURE__ */ l.forward
|
|
|
622
623
|
[`&:not(${e}-horizontal)`]: {
|
|
623
624
|
[`${e}-item:not(${e}-item-selected)`]: {
|
|
624
625
|
"&:hover": {
|
|
625
|
-
backgroundColor:
|
|
626
|
+
backgroundColor: j
|
|
626
627
|
},
|
|
627
628
|
"&:active": {
|
|
628
629
|
backgroundColor: L
|
|
@@ -630,7 +631,7 @@ const ne = /* @__PURE__ */ l.createContext(null), kt = /* @__PURE__ */ l.forward
|
|
|
630
631
|
},
|
|
631
632
|
[`${e}-submenu-title`]: {
|
|
632
633
|
"&:hover": {
|
|
633
|
-
backgroundColor:
|
|
634
|
+
backgroundColor: j
|
|
634
635
|
},
|
|
635
636
|
"&:active": {
|
|
636
637
|
backgroundColor: L
|
|
@@ -704,18 +705,18 @@ const ne = /* @__PURE__ */ l.createContext(null), kt = /* @__PURE__ */ l.forward
|
|
|
704
705
|
background: R,
|
|
705
706
|
"&::after": {
|
|
706
707
|
borderBottomWidth: f,
|
|
707
|
-
borderBottomColor:
|
|
708
|
+
borderBottomColor: M
|
|
708
709
|
}
|
|
709
710
|
},
|
|
710
711
|
"&-selected": {
|
|
711
|
-
color:
|
|
712
|
+
color: M,
|
|
712
713
|
backgroundColor: W,
|
|
713
714
|
"&:hover": {
|
|
714
715
|
backgroundColor: W
|
|
715
716
|
},
|
|
716
717
|
"&::after": {
|
|
717
718
|
borderBottomWidth: f,
|
|
718
|
-
borderBottomColor:
|
|
719
|
+
borderBottomColor: M
|
|
719
720
|
}
|
|
720
721
|
}
|
|
721
722
|
}
|
|
@@ -1282,7 +1283,7 @@ const ne = /* @__PURE__ */ l.createContext(null), kt = /* @__PURE__ */ l.forward
|
|
|
1282
1283
|
fontSizeLG: T,
|
|
1283
1284
|
colorTextLightSolid: I,
|
|
1284
1285
|
colorErrorHover: S
|
|
1285
|
-
} = t, H = (n = t.activeBarWidth) !== null && n !== void 0 ? n : 0,
|
|
1286
|
+
} = t, H = (n = t.activeBarWidth) !== null && n !== void 0 ? n : 0, j = (e = t.activeBarBorderWidth) !== null && e !== void 0 ? e : $, L = (r = t.itemMarginInline) !== null && r !== void 0 ? r : t.marginXXS, C = new Ce(I).setA(0.65).toRgbString();
|
|
1286
1287
|
return {
|
|
1287
1288
|
dropdownWidth: 160,
|
|
1288
1289
|
zIndexPopup: t.zIndexPopupBase + 50,
|
|
@@ -1320,7 +1321,7 @@ const ne = /* @__PURE__ */ l.createContext(null), kt = /* @__PURE__ */ l.forward
|
|
|
1320
1321
|
colorActiveBarHeight: c,
|
|
1321
1322
|
activeBarHeight: c,
|
|
1322
1323
|
colorActiveBarBorderSize: $,
|
|
1323
|
-
activeBarBorderWidth:
|
|
1324
|
+
activeBarBorderWidth: j,
|
|
1324
1325
|
// Disabled
|
|
1325
1326
|
colorItemTextDisabled: i,
|
|
1326
1327
|
itemDisabledColor: i,
|
|
@@ -1367,7 +1368,7 @@ const ne = /* @__PURE__ */ l.createContext(null), kt = /* @__PURE__ */ l.forward
|
|
|
1367
1368
|
darkDangerItemSelectedColor: I,
|
|
1368
1369
|
darkDangerItemActiveBg: a,
|
|
1369
1370
|
// internal
|
|
1370
|
-
itemWidth: H ? `calc(100% + ${
|
|
1371
|
+
itemWidth: H ? `calc(100% + ${j}px)` : `calc(100% - ${L * 2}px)`
|
|
1371
1372
|
};
|
|
1372
1373
|
}, Gt = function(t) {
|
|
1373
1374
|
let n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : t, e = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : !0;
|
|
@@ -1440,10 +1441,10 @@ const ne = /* @__PURE__ */ l.createContext(null), kt = /* @__PURE__ */ l.forward
|
|
|
1440
1441
|
// RTL
|
|
1441
1442
|
Vt(I),
|
|
1442
1443
|
// Motion
|
|
1443
|
-
|
|
1444
|
+
ht(I),
|
|
1444
1445
|
Q(I, "slide-up"),
|
|
1445
1446
|
Q(I, "slide-down"),
|
|
1446
|
-
|
|
1447
|
+
Me(I, "zoom-big")
|
|
1447
1448
|
];
|
|
1448
1449
|
}, Ft, {
|
|
1449
1450
|
deprecatedTokens: [["colorGroupTitle", "groupTitleColor"], ["radiusItem", "itemBorderRadius"], ["radiusSubMenuItem", "subMenuItemBorderRadius"], ["colorItemText", "itemColor"], ["colorItemTextHover", "itemHoverColor"], ["colorItemTextHoverHorizontal", "horizontalItemHoverColor"], ["colorItemTextSelected", "itemSelectedColor"], ["colorItemTextSelectedHorizontal", "horizontalItemSelectedColor"], ["colorItemTextDisabled", "itemDisabledColor"], ["colorDangerItemText", "dangerItemColor"], ["colorDangerItemTextHover", "dangerItemHoverColor"], ["colorDangerItemTextSelected", "dangerItemSelectedColor"], ["colorDangerItemBgActive", "dangerItemActiveBg"], ["colorDangerItemBgSelected", "dangerItemSelectedBg"], ["colorItemBg", "itemBg"], ["colorItemBgHover", "itemHoverBg"], ["colorSubItemBg", "subMenuItemBg"], ["colorItemBgActive", "itemActiveBg"], ["colorItemBgSelectedHorizontal", "horizontalItemSelectedBg"], ["colorActiveBarWidth", "activeBarWidth"], ["colorActiveBarHeight", "activeBarHeight"], ["colorActiveBarBorderSize", "activeBarBorderWidth"], ["colorItemBgSelected", "itemSelectedBg"]],
|
|
@@ -1482,7 +1483,7 @@ const ne = /* @__PURE__ */ l.createContext(null), kt = /* @__PURE__ */ l.forward
|
|
|
1482
1483
|
}
|
|
1483
1484
|
const u = l.useMemo(() => Object.assign(Object.assign({}, i), {
|
|
1484
1485
|
firstLevel: !1
|
|
1485
|
-
}), [i]), [$] =
|
|
1486
|
+
}), [i]), [$] = je("Menu");
|
|
1486
1487
|
return /* @__PURE__ */ l.createElement(te.Provider, {
|
|
1487
1488
|
value: u
|
|
1488
1489
|
}, /* @__PURE__ */ l.createElement(Ze, Object.assign({}, Z(t, ["icon"]), {
|
|
@@ -1539,15 +1540,15 @@ const Ut = {
|
|
|
1539
1540
|
const I = De(function() {
|
|
1540
1541
|
var z;
|
|
1541
1542
|
O == null || O.apply(void 0, arguments), (z = o.onClick) === null || z === void 0 || z.call(o);
|
|
1542
|
-
}), S = o.mode || y, H = v ?? o.selectable,
|
|
1543
|
+
}), S = o.mode || y, H = v ?? o.selectable, j = h ?? x, L = {
|
|
1543
1544
|
horizontal: {
|
|
1544
1545
|
motionName: `${m}-slide-up`
|
|
1545
1546
|
},
|
|
1546
|
-
inline:
|
|
1547
|
+
inline: ft(m),
|
|
1547
1548
|
other: {
|
|
1548
1549
|
motionName: `${m}-zoom-big`
|
|
1549
1550
|
}
|
|
1550
|
-
}, C = a("menu", f || o.prefixCls),
|
|
1551
|
+
}, C = a("menu", f || o.prefixCls), M = Re(C), [W, _, R] = Gt(C, M, !r), k = P(`${C}-${$}`, s == null ? void 0 : s.className, b), V = l.useMemo(() => {
|
|
1551
1552
|
var z, X;
|
|
1552
1553
|
if (typeof c == "function" || ue(c))
|
|
1553
1554
|
return c || null;
|
|
@@ -1561,13 +1562,13 @@ const Ut = {
|
|
|
1561
1562
|
});
|
|
1562
1563
|
}, [c, o == null ? void 0 : o.expandIcon, s == null ? void 0 : s.expandIcon, C]), K = l.useMemo(() => ({
|
|
1563
1564
|
prefixCls: C,
|
|
1564
|
-
inlineCollapsed:
|
|
1565
|
+
inlineCollapsed: j || !1,
|
|
1565
1566
|
direction: d,
|
|
1566
1567
|
firstLevel: !0,
|
|
1567
1568
|
theme: $,
|
|
1568
1569
|
mode: S,
|
|
1569
1570
|
disableMenuItemTitleTooltip: g
|
|
1570
|
-
}), [C,
|
|
1571
|
+
}), [C, j, d, g, $]);
|
|
1571
1572
|
return W(/* @__PURE__ */ l.createElement(ne.Provider, {
|
|
1572
1573
|
value: null
|
|
1573
1574
|
}, /* @__PURE__ */ l.createElement(te.Provider, {
|
|
@@ -1580,7 +1581,7 @@ const Ut = {
|
|
|
1580
1581
|
selectable: H,
|
|
1581
1582
|
onClick: I
|
|
1582
1583
|
}, T, {
|
|
1583
|
-
inlineCollapsed:
|
|
1584
|
+
inlineCollapsed: j,
|
|
1584
1585
|
style: Object.assign(Object.assign({}, s == null ? void 0 : s.style), u),
|
|
1585
1586
|
className: k,
|
|
1586
1587
|
prefixCls: C,
|
|
@@ -1588,7 +1589,7 @@ const Ut = {
|
|
|
1588
1589
|
defaultMotions: L,
|
|
1589
1590
|
expandIcon: V,
|
|
1590
1591
|
ref: n,
|
|
1591
|
-
rootClassName: P(B, _, o.rootClassName, R,
|
|
1592
|
+
rootClassName: P(B, _, o.rootClassName, R, M),
|
|
1592
1593
|
_internalComponents: Ut
|
|
1593
1594
|
})))));
|
|
1594
1595
|
}), U = /* @__PURE__ */ Te((t, n) => {
|
|
@@ -1704,7 +1705,7 @@ const Kt = (t) => {
|
|
|
1704
1705
|
&${i}-slide-down-appear${i}-slide-down-appear-active${n}-placement-bottom,
|
|
1705
1706
|
&${i}-slide-down-enter${i}-slide-down-enter-active${n}-placement-bottomRight,
|
|
1706
1707
|
&${i}-slide-down-appear${i}-slide-down-appear-active${n}-placement-bottomRight`]: {
|
|
1707
|
-
animationName:
|
|
1708
|
+
animationName: vt
|
|
1708
1709
|
},
|
|
1709
1710
|
[`&${i}-slide-up-enter${i}-slide-up-enter-active${n}-placement-topLeft,
|
|
1710
1711
|
&${i}-slide-up-appear${i}-slide-up-appear-active${n}-placement-topLeft,
|
|
@@ -1712,17 +1713,17 @@ const Kt = (t) => {
|
|
|
1712
1713
|
&${i}-slide-up-appear${i}-slide-up-appear-active${n}-placement-top,
|
|
1713
1714
|
&${i}-slide-up-enter${i}-slide-up-enter-active${n}-placement-topRight,
|
|
1714
1715
|
&${i}-slide-up-appear${i}-slide-up-appear-active${n}-placement-topRight`]: {
|
|
1715
|
-
animationName:
|
|
1716
|
+
animationName: Ct
|
|
1716
1717
|
},
|
|
1717
1718
|
[`&${i}-slide-down-leave${i}-slide-down-leave-active${n}-placement-bottomLeft,
|
|
1718
1719
|
&${i}-slide-down-leave${i}-slide-down-leave-active${n}-placement-bottom,
|
|
1719
1720
|
&${i}-slide-down-leave${i}-slide-down-leave-active${n}-placement-bottomRight`]: {
|
|
1720
|
-
animationName:
|
|
1721
|
+
animationName: It
|
|
1721
1722
|
},
|
|
1722
1723
|
[`&${i}-slide-up-leave${i}-slide-up-leave-active${n}-placement-topLeft,
|
|
1723
1724
|
&${i}-slide-up-leave${i}-slide-up-leave-active${n}-placement-top,
|
|
1724
1725
|
&${i}-slide-up-leave${i}-slide-up-leave-active${n}-placement-topRight`]: {
|
|
1725
|
-
animationName:
|
|
1726
|
+
animationName: St
|
|
1726
1727
|
}
|
|
1727
1728
|
}
|
|
1728
1729
|
},
|
|
@@ -1890,7 +1891,7 @@ const Kt = (t) => {
|
|
|
1890
1891
|
})
|
|
1891
1892
|
},
|
|
1892
1893
|
// Follow code may reuse in other components
|
|
1893
|
-
[Q(t, "slide-up"), Q(t, "slide-down"), xe(t, "move-up"), xe(t, "move-down"),
|
|
1894
|
+
[Q(t, "slide-up"), Q(t, "slide-down"), xe(t, "move-up"), xe(t, "move-down"), Me(t, "zoom-big")]
|
|
1894
1895
|
];
|
|
1895
1896
|
}, Qt = (t) => Object.assign(Object.assign({
|
|
1896
1897
|
zIndexPopup: t.zIndexPopupBase + 50,
|
|
@@ -1898,7 +1899,7 @@ const Kt = (t) => {
|
|
|
1898
1899
|
}, mt({
|
|
1899
1900
|
contentRadius: t.borderRadiusLG,
|
|
1900
1901
|
limitVerticalRadius: !0
|
|
1901
|
-
})),
|
|
1902
|
+
})), xt(t)), en = oe("Dropdown", (t) => {
|
|
1902
1903
|
const {
|
|
1903
1904
|
marginXXS: n,
|
|
1904
1905
|
sizePopupArrow: e,
|
|
@@ -1947,7 +1948,7 @@ const Kt = (t) => {
|
|
|
1947
1948
|
let [G, Y] = w;
|
|
1948
1949
|
H.deprecated(!(G in t), G, Y);
|
|
1949
1950
|
}), H.deprecated(!("overlay" in t), "overlay", "menu"));
|
|
1950
|
-
const
|
|
1951
|
+
const j = l.useMemo(() => {
|
|
1951
1952
|
const w = T();
|
|
1952
1953
|
return N !== void 0 ? N : v.includes("top") ? `${w}-slide-down` : `${w}-slide-up`;
|
|
1953
1954
|
}, [T, v, N]), L = l.useMemo(() => v ? v.includes("Center") ? v.slice(0, v.indexOf("Center")) : v : I === "rtl" ? "bottomRight" : "bottomLeft", [v, I]);
|
|
@@ -1961,7 +1962,7 @@ const Kt = (t) => {
|
|
|
1961
1962
|
H.deprecated(!(G in t), G, Y);
|
|
1962
1963
|
});
|
|
1963
1964
|
}
|
|
1964
|
-
const C = T("dropdown", o),
|
|
1965
|
+
const C = T("dropdown", o), M = Re(C), [W, _, R] = en(C, M), [, k] = at(), V = l.Children.only(Bt(a) ? /* @__PURE__ */ l.createElement("span", null, a) : a), K = ie(V, {
|
|
1965
1966
|
className: P(`${C}-trigger`, {
|
|
1966
1967
|
[`${C}-rtl`]: I === "rtl"
|
|
1967
1968
|
}, V.props.className),
|
|
@@ -1972,9 +1973,9 @@ const Kt = (t) => {
|
|
|
1972
1973
|
c == null || c(w, {
|
|
1973
1974
|
source: "trigger"
|
|
1974
1975
|
}), h == null || h(w), J(w);
|
|
1975
|
-
}), ae = P(f, b, _, R,
|
|
1976
|
+
}), ae = P(f, b, _, R, M, S == null ? void 0 : S.className, {
|
|
1976
1977
|
[`${C}-rtl`]: I === "rtl"
|
|
1977
|
-
}), E =
|
|
1978
|
+
}), E = gt({
|
|
1978
1979
|
arrowPointAtCenter: typeof r == "object" && r.pointAtCenter,
|
|
1979
1980
|
autoAdjustOverflow: y,
|
|
1980
1981
|
offset: k.marginXXS,
|
|
@@ -1988,7 +1989,7 @@ const Kt = (t) => {
|
|
|
1988
1989
|
let w;
|
|
1989
1990
|
return e != null && e.items ? w = /* @__PURE__ */ l.createElement(U, Object.assign({}, e)) : typeof O == "function" ? w = O() : w = O, s && (w = s(w)), w = l.Children.only(typeof w == "string" ? /* @__PURE__ */ l.createElement("span", null, w) : w), /* @__PURE__ */ l.createElement(kt, {
|
|
1990
1991
|
prefixCls: `${C}-menu`,
|
|
1991
|
-
rootClassName: P(R,
|
|
1992
|
+
rootClassName: P(R, M),
|
|
1992
1993
|
expandIcon: /* @__PURE__ */ l.createElement("span", {
|
|
1993
1994
|
className: `${C}-menu-submenu-arrow`
|
|
1994
1995
|
}, /* @__PURE__ */ l.createElement(ee, {
|
|
@@ -2004,7 +2005,7 @@ const Kt = (t) => {
|
|
|
2004
2005
|
process.env.NODE_ENV !== "production" && H(!Y || Y === "vertical", "usage", `mode="${Y}" is not supported for Dropdown's Menu.`);
|
|
2005
2006
|
}
|
|
2006
2007
|
}, w);
|
|
2007
|
-
}, [se, Xe] =
|
|
2008
|
+
}, [se, Xe] = je("Dropdown", u == null ? void 0 : u.zIndex);
|
|
2008
2009
|
let de = /* @__PURE__ */ l.createElement(et, Object.assign({
|
|
2009
2010
|
alignPoint: X
|
|
2010
2011
|
}, Z(t, ["rootClassName"]), {
|
|
@@ -2016,7 +2017,7 @@ const Kt = (t) => {
|
|
|
2016
2017
|
overlayClassName: ae,
|
|
2017
2018
|
prefixCls: C,
|
|
2018
2019
|
getPopupContainer: m || A,
|
|
2019
|
-
transitionName:
|
|
2020
|
+
transitionName: j,
|
|
2020
2021
|
trigger: z,
|
|
2021
2022
|
overlay: F,
|
|
2022
2023
|
placement: L,
|
|
@@ -2028,7 +2029,7 @@ const Kt = (t) => {
|
|
|
2028
2029
|
return se && (de = /* @__PURE__ */ l.createElement(dt.Provider, {
|
|
2029
2030
|
value: Xe
|
|
2030
2031
|
}, de)), W(de);
|
|
2031
|
-
}, tn =
|
|
2032
|
+
}, tn = pt(be, "align", void 0, "dropdown", (t) => t), nn = (t) => /* @__PURE__ */ l.createElement(tn, Object.assign({}, t), /* @__PURE__ */ l.createElement("span", null));
|
|
2032
2033
|
be._InternalPanelDoNotUseOrYouWillBeFired = nn;
|
|
2033
2034
|
process.env.NODE_ENV !== "production" && (be.displayName = "Dropdown");
|
|
2034
2035
|
export {
|
|
@@ -2040,5 +2041,5 @@ export {
|
|
|
2040
2041
|
At as S,
|
|
2041
2042
|
$e as a,
|
|
2042
2043
|
ge as b,
|
|
2043
|
-
|
|
2044
|
+
xn as u
|
|
2044
2045
|
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { jsxs as
|
|
1
|
+
import { jsxs as r, jsx as o } from "react/jsx-runtime";
|
|
2
2
|
import "../components/Avatar/styles.js";
|
|
3
3
|
import "../components/Badge/styles.js";
|
|
4
4
|
import "../providers/BreakpointThemeProvider.js";
|
|
5
|
-
import { a as
|
|
6
|
-
import { n } from "../styled-components.browser.esm-CZ1XM4o4.js";
|
|
7
|
-
import { TYPOGRAPHY_VARIANT as
|
|
5
|
+
import { a as n } from "../Typography-CoZ5qD-t.js";
|
|
6
|
+
import { n as l } from "../styled-components.browser.esm-CZ1XM4o4.js";
|
|
7
|
+
import { TYPOGRAPHY_VARIANT as m } from "../constants/index.js";
|
|
8
8
|
import "../components/Breadcrumb/styles.js";
|
|
9
9
|
import "../components/Button/styles.js";
|
|
10
10
|
import "../components/Card/styles.js";
|
|
@@ -16,7 +16,7 @@ import "../components/Layout/Content/styles.js";
|
|
|
16
16
|
import "../components/Message/styles.js";
|
|
17
17
|
import "../components/Notification/NotificationBadge/styles.js";
|
|
18
18
|
import "../components/Notification/styles.js";
|
|
19
|
-
import "../styles-
|
|
19
|
+
import "../styles-CWdUpZom.js";
|
|
20
20
|
import "../components/Progress/styles.js";
|
|
21
21
|
import "../styles/global-styles.js";
|
|
22
22
|
import "../components/Row/styles.js";
|
|
@@ -25,17 +25,22 @@ import "../components/Row/RowActions/styles.js";
|
|
|
25
25
|
import "../components/SegmentedControls/styles.js";
|
|
26
26
|
import "../components/Select/styles.js";
|
|
27
27
|
import "../components/Switch/styles.js";
|
|
28
|
-
import "../styles-
|
|
28
|
+
import "../styles-qerRs7Rn.js";
|
|
29
29
|
import "../components/Tabs/styles.js";
|
|
30
30
|
import "../components/Tile/styles.js";
|
|
31
31
|
import "../components/Toast/styles.js";
|
|
32
32
|
import "../components/Tooltip/styles.js";
|
|
33
|
-
const e = ({ name:
|
|
33
|
+
const e = ({ name: i, color: t }) => /* @__PURE__ */ r(
|
|
34
34
|
"div",
|
|
35
35
|
{
|
|
36
|
-
style: {
|
|
36
|
+
style: {
|
|
37
|
+
display: "flex",
|
|
38
|
+
justifyContent: "flex-start",
|
|
39
|
+
margin: 8,
|
|
40
|
+
alignItems: "center"
|
|
41
|
+
},
|
|
37
42
|
children: [
|
|
38
|
-
/* @__PURE__ */ o("div", { style: { display: "flex", justifyContent: "flex-end", width: 120 }, children: /* @__PURE__ */ o("p", { style: { fontSize: 14 }, children:
|
|
43
|
+
/* @__PURE__ */ o("div", { style: { display: "flex", justifyContent: "flex-end", width: 120 }, children: /* @__PURE__ */ o("p", { style: { fontSize: 14 }, children: i }) }),
|
|
39
44
|
/* @__PURE__ */ o(
|
|
40
45
|
"div",
|
|
41
46
|
{
|
|
@@ -43,7 +48,7 @@ const e = ({ name: r, color: i }) => /* @__PURE__ */ t(
|
|
|
43
48
|
marginLeft: 16,
|
|
44
49
|
width: "40px",
|
|
45
50
|
height: "40px",
|
|
46
|
-
backgroundColor:
|
|
51
|
+
backgroundColor: t,
|
|
47
52
|
alignItems: "center",
|
|
48
53
|
border: "1px solid #ddd"
|
|
49
54
|
}
|
|
@@ -51,52 +56,89 @@ const e = ({ name: r, color: i }) => /* @__PURE__ */ t(
|
|
|
51
56
|
)
|
|
52
57
|
]
|
|
53
58
|
}
|
|
54
|
-
),
|
|
55
|
-
const
|
|
56
|
-
return /* @__PURE__ */
|
|
57
|
-
/* @__PURE__ */ t(
|
|
58
|
-
m,
|
|
59
|
-
{
|
|
60
|
-
variant: p.heading1,
|
|
61
|
-
children: [
|
|
62
|
-
"Genesis Theme",
|
|
63
|
-
" "
|
|
64
|
-
]
|
|
65
|
-
}
|
|
66
|
-
),
|
|
67
|
-
/* @__PURE__ */ o("div", { style: { display: "flex", justifyContent: "flex-start" }, children: /* @__PURE__ */ t(
|
|
68
|
-
m,
|
|
69
|
-
{
|
|
70
|
-
variant: p.heading2,
|
|
71
|
-
children: [
|
|
72
|
-
i,
|
|
73
|
-
" mode"
|
|
74
|
-
]
|
|
75
|
-
}
|
|
76
|
-
) }),
|
|
59
|
+
), M = () => {
|
|
60
|
+
const i = l(), t = i.mode.charAt(0).toUpperCase() + i.mode.slice(1);
|
|
61
|
+
return console.log("THEME ", i), /* @__PURE__ */ r("div", { children: [
|
|
77
62
|
/* @__PURE__ */ o(
|
|
78
|
-
|
|
63
|
+
"div",
|
|
79
64
|
{
|
|
80
|
-
|
|
81
|
-
|
|
65
|
+
style: {
|
|
66
|
+
display: "flex",
|
|
67
|
+
justifyContent: "flex-start",
|
|
68
|
+
margin: `${i.sizing.Size8}px ${i.sizing.Size4}px`,
|
|
69
|
+
borderBottom: i.allColors.gray[100],
|
|
70
|
+
borderBottomWidth: 1,
|
|
71
|
+
borderBottomStyle: "solid",
|
|
72
|
+
padding: `${i.sizing.Size4}px`
|
|
73
|
+
},
|
|
74
|
+
children: /* @__PURE__ */ r(
|
|
75
|
+
n,
|
|
76
|
+
{
|
|
77
|
+
variant: m.heading1,
|
|
78
|
+
children: [
|
|
79
|
+
"Genesis Theme",
|
|
80
|
+
" "
|
|
81
|
+
]
|
|
82
|
+
}
|
|
83
|
+
)
|
|
82
84
|
}
|
|
83
85
|
),
|
|
84
86
|
/* @__PURE__ */ o(
|
|
85
|
-
|
|
87
|
+
"div",
|
|
86
88
|
{
|
|
87
|
-
|
|
88
|
-
|
|
89
|
+
style: {
|
|
90
|
+
display: "flex",
|
|
91
|
+
justifyContent: "flex-start",
|
|
92
|
+
margin: `${i.sizing.Size8}px ${i.sizing.Size4}px`
|
|
93
|
+
},
|
|
94
|
+
children: /* @__PURE__ */ r(
|
|
95
|
+
n,
|
|
96
|
+
{
|
|
97
|
+
variant: m.heading3,
|
|
98
|
+
children: [
|
|
99
|
+
t,
|
|
100
|
+
" mode"
|
|
101
|
+
]
|
|
102
|
+
}
|
|
103
|
+
)
|
|
89
104
|
}
|
|
90
105
|
),
|
|
91
|
-
/* @__PURE__ */
|
|
92
|
-
|
|
106
|
+
/* @__PURE__ */ r(
|
|
107
|
+
"div",
|
|
93
108
|
{
|
|
94
|
-
|
|
95
|
-
|
|
109
|
+
style: {
|
|
110
|
+
display: "flex",
|
|
111
|
+
flexDirection: "column",
|
|
112
|
+
justifyContent: "flex-start",
|
|
113
|
+
margin: `${i.sizing.Size8}px 0`
|
|
114
|
+
},
|
|
115
|
+
children: [
|
|
116
|
+
/* @__PURE__ */ o(
|
|
117
|
+
e,
|
|
118
|
+
{
|
|
119
|
+
name: "Primary Color",
|
|
120
|
+
color: i.colors.primary.active.backgroundColor
|
|
121
|
+
}
|
|
122
|
+
),
|
|
123
|
+
/* @__PURE__ */ o(
|
|
124
|
+
e,
|
|
125
|
+
{
|
|
126
|
+
name: "Secondary Color",
|
|
127
|
+
color: i.colors.secondary.active.backgroundColor
|
|
128
|
+
}
|
|
129
|
+
),
|
|
130
|
+
/* @__PURE__ */ o(
|
|
131
|
+
e,
|
|
132
|
+
{
|
|
133
|
+
name: "Tertiary Color",
|
|
134
|
+
color: i.colors.tertiary.active.backgroundColor
|
|
135
|
+
}
|
|
136
|
+
)
|
|
137
|
+
]
|
|
96
138
|
}
|
|
97
139
|
)
|
|
98
140
|
] });
|
|
99
141
|
};
|
|
100
142
|
export {
|
|
101
|
-
|
|
143
|
+
M as default
|
|
102
144
|
};
|
package/dist/genesis/styles.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { d as o } from "../styled-components.browser.esm-CZ1XM4o4.js";
|
|
2
|
-
import { T as r } from "../index-
|
|
3
|
-
import { C as t } from "../index-
|
|
2
|
+
import { T as r } from "../index-DRGX1Wem.js";
|
|
3
|
+
import { C as t } from "../index-DEu2PVzQ.js";
|
|
4
4
|
const i = o(t)`
|
|
5
5
|
.ant-card-body {
|
|
6
6
|
display: flex;
|