@lazar-ui/kit 0.5.2 → 0.6.1
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/CHANGELOG.md +24 -0
- package/dist/Actions-Cii4AnwJ.mjs +12 -0
- package/dist/Actions.css +1 -0
- package/dist/ActiveFilters-BJojmc-d.mjs +29 -0
- package/dist/ActiveFilters.css +1 -0
- package/dist/Button-BN85EtaZ.mjs +52 -0
- package/dist/Button.css +1 -1
- package/dist/Cell-BPBvEyeL.mjs +21 -0
- package/dist/Cell.css +1 -0
- package/dist/Content-1kg0isb_.mjs +12 -0
- package/dist/Content.css +1 -0
- package/dist/Context-BjkJbHVo.mjs +6 -0
- package/dist/Group-DyDpeqOP.mjs +16 -0
- package/dist/Group.css +1 -0
- package/dist/Header-Clhgyr0J.mjs +29 -0
- package/dist/Header.css +1 -0
- package/dist/Heading-CL47Fqe7.mjs +30 -0
- package/dist/Heading.css +1 -0
- package/dist/InputBase-BHZWQT9-.mjs +46 -0
- package/dist/Item-CBYGbEHN.mjs +47 -0
- package/dist/Item.css +1 -0
- package/dist/Panel-B-LZtrGB.mjs +11 -0
- package/dist/Row-BfI8268z.mjs +15 -0
- package/dist/Row.css +1 -0
- package/dist/Separator-FETQ3gHZ.mjs +9 -0
- package/dist/Separator.css +1 -0
- package/dist/Tab-BfpR10OT.mjs +38 -0
- package/dist/Tab.css +1 -0
- package/dist/Text-DQPy-DZ5.mjs +46 -0
- package/dist/Text.css +1 -0
- package/dist/Title-xHMuJWGl.mjs +12 -0
- package/dist/Title.css +1 -0
- package/dist/Toolbar-BJQy4qFI.mjs +11 -0
- package/dist/Toolbar.css +1 -0
- package/dist/Trigger-C_4De6l1.mjs +11 -0
- package/dist/accordion.css +1 -1
- package/dist/accordion.js +23 -62
- package/dist/actions.d.ts +13 -0
- package/dist/actions.js +4 -0
- package/dist/active-filters.d.ts +35 -0
- package/dist/active-filters.js +4 -0
- package/dist/button.js +1 -1
- package/dist/cell.d.ts +20 -0
- package/dist/cell.js +4 -0
- package/dist/content.d.ts +8 -0
- package/dist/content.js +4 -0
- package/dist/context.d.ts +17 -0
- package/dist/context.js +5 -0
- package/dist/dialog.css +1 -1
- package/dist/dialog.js +44 -62
- package/dist/drawer.css +1 -1
- package/dist/drawer.js +72 -93
- package/dist/enums-BnuDYTua.mjs +4 -0
- package/dist/enums-DUZMBQDd.mjs +7 -0
- package/dist/enums-DfSzOa3x.mjs +4 -0
- package/dist/enums-OoI2Qgqq.mjs +14 -0
- package/dist/getDecorationStyle-BCBONKEl.mjs +7 -0
- package/dist/group.d.ts +12 -0
- package/dist/group.js +4 -0
- package/dist/header.d.ts +21 -0
- package/dist/header.js +4 -0
- package/dist/heading.d.ts +55 -0
- package/dist/heading.js +7 -0
- package/dist/input-base.d.ts +29 -0
- package/dist/input-base.js +4 -0
- package/dist/input.js +86 -124
- package/dist/item.d.ts +42 -0
- package/dist/item.js +4 -0
- package/dist/menu.css +1 -1
- package/dist/menu.js +63 -81
- package/dist/panel.d.ts +9 -0
- package/dist/panel.js +4 -0
- package/dist/row.d.ts +12 -0
- package/dist/row.js +4 -0
- package/dist/separator.d.ts +1 -21
- package/dist/separator.js +2 -22
- package/dist/tab.d.ts +30 -0
- package/dist/tab.js +4 -0
- package/dist/table.css +1 -1
- package/dist/table.js +25 -74
- package/dist/tabs.css +1 -1
- package/dist/tabs.js +34 -73
- package/dist/text.d.ts +74 -0
- package/dist/text.js +8 -0
- package/dist/title.d.ts +8 -0
- package/dist/title.js +4 -0
- package/dist/toolbar.d.ts +20 -0
- package/dist/toolbar.js +4 -0
- package/dist/trigger.d.ts +8 -0
- package/dist/trigger.js +4 -0
- package/dist/typography.d.ts +90 -40
- package/dist/typography.js +4 -38
- package/dist/utils.d.ts +20 -0
- package/dist/utils.js +9 -7
- package/package.json +1 -1
- package/dist/Button-jq8mFP6t.mjs +0 -52
- package/dist/separator.css +0 -1
- package/dist/typography.css +0 -1
- /package/dist/{input.css → InputBase.css} +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,29 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.6.1] - 2026-06-10
|
|
4
|
+
|
|
5
|
+
### Bug Fixes
|
|
6
|
+
|
|
7
|
+
- **build**: исправлен экспорт утилит (`getComponentSlots`, `filterValidChildren` и др.) — Pagination/utils/index.ts больше не перезаписывает entry point `utils` в конфиге сборки
|
|
8
|
+
|
|
9
|
+
## [0.6.0] - 2026-06-10
|
|
10
|
+
|
|
11
|
+
### ⚠ BREAKING CHANGES
|
|
12
|
+
|
|
13
|
+
- **Typography**: удалён старый компонент `Typography`. Заменён на `Heading` и `Text`.
|
|
14
|
+
Миграция: `Heading` для заголовков (импорт: `@lazar-ui/kit/heading`),
|
|
15
|
+
`Text` для параграфов/текста/лейблов (импорт: `@lazar-ui/kit/text`).
|
|
16
|
+
|
|
17
|
+
### Features
|
|
18
|
+
|
|
19
|
+
- **Heading**: новый компонент семантических заголовков (h1-h6) с размерами xs(14)/sm(16)/md(20)/lg(24)
|
|
20
|
+
- **Text**: новый компонент текста с размерами xs(12)/sm(13)/md(14)/lg(16), пропом `weight` (normal/medium/semibold/bold), underline/strikethrough и truncate
|
|
21
|
+
- **utils**: новая утилита `getDecorationStyle` для конвертации underline/strikethrough пропов в CSS
|
|
22
|
+
|
|
23
|
+
### Bug Fixes
|
|
24
|
+
|
|
25
|
+
- **Button**: добавлены `user-select: none` и `white-space: nowrap` для предотвращения выделения и переноса текста
|
|
26
|
+
|
|
3
27
|
## [0.5.2] - 2026-06-09
|
|
4
28
|
|
|
5
29
|
### Bug Fixes
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { jsx as s } from "react/jsx-runtime";
|
|
2
|
+
import { E as r } from "./enums-DfSzOa3x.mjs";
|
|
3
|
+
import './Actions.css';const n = "_root_1fxwu_1", c = {
|
|
4
|
+
root: n
|
|
5
|
+
}, e = (o) => {
|
|
6
|
+
const { children: t } = o;
|
|
7
|
+
return /* @__PURE__ */ s("div", { className: c.root, children: t });
|
|
8
|
+
};
|
|
9
|
+
e.displayName = r.ACTIONS;
|
|
10
|
+
export {
|
|
11
|
+
e as A
|
|
12
|
+
};
|
package/dist/Actions.css
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
._root_1fxwu_1{display:flex;gap:var(--dialog-actions-gap)}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { jsxs as s, jsx as m } from "react/jsx-runtime";
|
|
2
|
+
import { useCallback as r } from "react";
|
|
3
|
+
import { B as d } from "./Button-BN85EtaZ.mjs";
|
|
4
|
+
import { C as p } from "./Chip-CmsNZTlz.mjs";
|
|
5
|
+
import { u as A } from "./useLocale-CJh-krrY.mjs";
|
|
6
|
+
import './ActiveFilters.css';const u = "Table.ActiveFilters", h = "_root_4qb7d_5", v = {
|
|
7
|
+
root: h
|
|
8
|
+
}, C = (a) => {
|
|
9
|
+
const { filters: l, onClearAll: o, onRemove: t } = a, n = A(), c = r(
|
|
10
|
+
(e) => () => {
|
|
11
|
+
t(e);
|
|
12
|
+
},
|
|
13
|
+
[t]
|
|
14
|
+
), i = r(() => {
|
|
15
|
+
o?.();
|
|
16
|
+
}, [o]);
|
|
17
|
+
return l.length === 0 ? null : /* @__PURE__ */ s("div", { className: v.root, children: [
|
|
18
|
+
l.map((e) => /* @__PURE__ */ s(p, { onDelete: c(e.key), children: [
|
|
19
|
+
e.label,
|
|
20
|
+
": ",
|
|
21
|
+
e.value
|
|
22
|
+
] }, e.key)),
|
|
23
|
+
o && /* @__PURE__ */ m(d, { mode: "text", size: "sm", onClick: i, children: n.Table.ActiveFilters.clearAll })
|
|
24
|
+
] });
|
|
25
|
+
};
|
|
26
|
+
C.displayName = u;
|
|
27
|
+
export {
|
|
28
|
+
C as A
|
|
29
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
:root{--active-filters-gap: var(--lui-space-2)}._root_4qb7d_5{align-items:center;display:flex;flex-wrap:wrap;gap:var(--active-filters-gap)}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { jsxs as f, jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import u from "clsx";
|
|
3
|
+
import { I as z } from "./Icon-DUCBChX2.mjs";
|
|
4
|
+
import { g as s } from "./getVariantClassName-DoCNtwBw.mjs";
|
|
5
|
+
import './Button.css';const y = "Button", g = "_root_1kmiv_21", h = "_modeFilled_1kmiv_34", x = "_variantPrimary_1kmiv_34", S = "_pressed_1kmiv_38", b = "_variantSecondary_1kmiv_44", N = "_variantDanger_1kmiv_54", W = "_disabled_1kmiv_64", C = "_modeOutlined_1kmiv_71", D = "_modeText_1kmiv_96", L = "_fullWidth_1kmiv_120", M = "_sizeSm_1kmiv_123", P = "_sizeMd_1kmiv_130", B = "_sizeLg_1kmiv_137", F = "_icon_1kmiv_145", i = {
|
|
6
|
+
root: g,
|
|
7
|
+
modeFilled: h,
|
|
8
|
+
variantPrimary: x,
|
|
9
|
+
pressed: S,
|
|
10
|
+
variantSecondary: b,
|
|
11
|
+
variantDanger: N,
|
|
12
|
+
disabled: W,
|
|
13
|
+
modeOutlined: C,
|
|
14
|
+
modeText: D,
|
|
15
|
+
fullWidth: L,
|
|
16
|
+
sizeSm: M,
|
|
17
|
+
sizeMd: P,
|
|
18
|
+
sizeLg: B,
|
|
19
|
+
icon: F
|
|
20
|
+
}, I = (a) => {
|
|
21
|
+
const {
|
|
22
|
+
children: o,
|
|
23
|
+
disabled: t = !1,
|
|
24
|
+
fullWidth: r = !1,
|
|
25
|
+
icon: n,
|
|
26
|
+
mode: d = "filled",
|
|
27
|
+
onClick: m,
|
|
28
|
+
size: _ = "md",
|
|
29
|
+
variant: l = "primary",
|
|
30
|
+
pressed: c,
|
|
31
|
+
as: v = "button",
|
|
32
|
+
...k
|
|
33
|
+
} = a, p = u(
|
|
34
|
+
i.root,
|
|
35
|
+
s("size", _, i),
|
|
36
|
+
s("variant", l, i),
|
|
37
|
+
s("mode", d, i),
|
|
38
|
+
{
|
|
39
|
+
[i.fullWidth]: r,
|
|
40
|
+
[i.pressed]: c,
|
|
41
|
+
[i.disabled]: t
|
|
42
|
+
}
|
|
43
|
+
);
|
|
44
|
+
return /* @__PURE__ */ f(v, { className: p, disabled: t, onClick: m, ...k, children: [
|
|
45
|
+
n && /* @__PURE__ */ e("span", { className: i.icon, children: /* @__PURE__ */ e(z, { name: n, size: 16 }) }),
|
|
46
|
+
o && /* @__PURE__ */ e("span", { children: o })
|
|
47
|
+
] });
|
|
48
|
+
};
|
|
49
|
+
I.displayName = y;
|
|
50
|
+
export {
|
|
51
|
+
I as B
|
|
52
|
+
};
|
package/dist/Button.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
:root{--button-bg: var(--lui-color-background-brand);--button-bg-hover: var(--lui-color-background-brand-hover);--button-text: var(--lui-color-text-on-brand);--button-bg-secondary: var(--lui-color-background-primary);--button-text-secondary: var(--lui-color-text-secondary);--button-bg-secondary-hover: var(--lui-color-background-secondary);--button-bg-danger: var(--lui-color-background-error);--button-text-danger: var(--lui-color-text-on-brand);--button-bg-danger-hover: var(--lui-color-background-error-hover);--button-bg-disabled: var(--lui-color-background-disabled);--button-text-disabled: var(--lui-color-text-disabled);--button-border-disabled: var(--lui-color-border-disabled);--button-focus-ring: var(--lui-color-border-focus);--button-focus-ring-error: var(--lui-color-border-focus-error);--button-radius: var(--lui-radius-2);--button-border: var(--lui-color-border-primary);--button-shadow: var(--lui-shadow-xs)}.
|
|
1
|
+
:root{--button-bg: var(--lui-color-background-brand);--button-bg-hover: var(--lui-color-background-brand-hover);--button-text: var(--lui-color-text-on-brand);--button-bg-secondary: var(--lui-color-background-primary);--button-text-secondary: var(--lui-color-text-secondary);--button-bg-secondary-hover: var(--lui-color-background-secondary);--button-bg-danger: var(--lui-color-background-error);--button-text-danger: var(--lui-color-text-on-brand);--button-bg-danger-hover: var(--lui-color-background-error-hover);--button-bg-disabled: var(--lui-color-background-disabled);--button-text-disabled: var(--lui-color-text-disabled);--button-border-disabled: var(--lui-color-border-disabled);--button-focus-ring: var(--lui-color-border-focus);--button-focus-ring-error: var(--lui-color-border-focus-error);--button-radius: var(--lui-radius-2);--button-border: var(--lui-color-border-primary);--button-shadow: var(--lui-shadow-xs)}._root_1kmiv_21{align-items:center;border:1px solid var(--button-border);border-radius:var(--button-radius);box-shadow:var(--button-shadow);display:inline-flex;flex-direction:row;justify-content:center;outline-offset:2px;transition:background-color .2s,color .2s;-webkit-user-select:none;user-select:none;white-space:nowrap}._root_1kmiv_21._modeFilled_1kmiv_34._variantPrimary_1kmiv_34{background:var(--button-bg);color:var(--button-text)}._root_1kmiv_21._modeFilled_1kmiv_34._variantPrimary_1kmiv_34._pressed_1kmiv_38,._root_1kmiv_21._modeFilled_1kmiv_34._variantPrimary_1kmiv_34:active,._root_1kmiv_21._modeFilled_1kmiv_34._variantPrimary_1kmiv_34:hover{background:var(--button-bg-hover)}._root_1kmiv_21._modeFilled_1kmiv_34._variantPrimary_1kmiv_34:focus-visible{outline:2px solid var(--button-focus-ring)}._root_1kmiv_21._modeFilled_1kmiv_34._variantSecondary_1kmiv_44{background:var(--button-bg-secondary);color:var(--button-text-secondary)}._root_1kmiv_21._modeFilled_1kmiv_34._variantSecondary_1kmiv_44:active,._root_1kmiv_21._modeFilled_1kmiv_34._variantSecondary_1kmiv_44._pressed_1kmiv_38,._root_1kmiv_21._modeFilled_1kmiv_34._variantSecondary_1kmiv_44:hover{background:var(--button-bg-secondary-hover)}._root_1kmiv_21._modeFilled_1kmiv_34._variantSecondary_1kmiv_44:focus-visible{outline:2px solid var(--button-focus-ring)}._root_1kmiv_21._modeFilled_1kmiv_34._variantDanger_1kmiv_54{background:var(--button-bg-danger);color:var(--button-text-danger)}._root_1kmiv_21._modeFilled_1kmiv_34._variantDanger_1kmiv_54:active,._root_1kmiv_21._modeFilled_1kmiv_34._variantDanger_1kmiv_54._pressed_1kmiv_38,._root_1kmiv_21._modeFilled_1kmiv_34._variantDanger_1kmiv_54:hover{background:var(--button-bg-danger-hover)}._root_1kmiv_21._modeFilled_1kmiv_34._variantDanger_1kmiv_54:focus-visible{outline:2px solid var(--button-focus-ring-error)}._root_1kmiv_21._modeFilled_1kmiv_34:disabled,._root_1kmiv_21._modeFilled_1kmiv_34._disabled_1kmiv_64{background:var(--button-bg-disabled);border-color:var(--button-border-disabled);color:var(--button-text-disabled);cursor:not-allowed;pointer-events:none}._root_1kmiv_21._modeOutlined_1kmiv_71{background:transparent;box-shadow:none}._root_1kmiv_21._modeOutlined_1kmiv_71._variantPrimary_1kmiv_34{border-color:var(--lui-color-background-brand);color:var(--lui-color-background-brand)}._root_1kmiv_21._modeOutlined_1kmiv_71._variantPrimary_1kmiv_34:hover{background:var(--lui-color-background-brand-secondary)}._root_1kmiv_21._modeOutlined_1kmiv_71._variantSecondary_1kmiv_44{color:var(--lui-color-text-secondary)}._root_1kmiv_21._modeOutlined_1kmiv_71._variantSecondary_1kmiv_44:hover{background:var(--lui-color-background-secondary)}._root_1kmiv_21._modeOutlined_1kmiv_71._variantDanger_1kmiv_54{border-color:var(--lui-color-background-error);color:var(--lui-color-background-error)}._root_1kmiv_21._modeOutlined_1kmiv_71._variantDanger_1kmiv_54:hover{background:var(--lui-color-background-error);color:var(--lui-color-text-on-brand)}._root_1kmiv_21._modeText_1kmiv_96{background:transparent;border-color:transparent;box-shadow:none}._root_1kmiv_21._modeText_1kmiv_96._variantPrimary_1kmiv_34{color:var(--lui-color-background-brand)}._root_1kmiv_21._modeText_1kmiv_96._variantPrimary_1kmiv_34:hover{background:var(--lui-color-background-brand-secondary)}._root_1kmiv_21._modeText_1kmiv_96._variantSecondary_1kmiv_44{color:var(--lui-color-text-secondary)}._root_1kmiv_21._modeText_1kmiv_96._variantSecondary_1kmiv_44:hover{background:var(--lui-color-background-secondary)}._root_1kmiv_21._modeText_1kmiv_96._variantDanger_1kmiv_54{color:var(--lui-color-background-error)}._root_1kmiv_21._modeText_1kmiv_96._variantDanger_1kmiv_54:hover{background:var(--lui-color-background-error);color:var(--lui-color-text-on-brand)}._root_1kmiv_21._fullWidth_1kmiv_120{width:100%}._root_1kmiv_21._sizeSm_1kmiv_123{font-size:var(--lui-font-size-sm);font-weight:var(--lui-font-weight-semibold);gap:var(--lui-space-1);line-height:var(--line-height-sm);padding:var(--lui-space-1) var(--lui-space-3)}._root_1kmiv_21._sizeMd_1kmiv_130{font-size:var(--lui-font-size-sm);font-weight:var(--lui-font-weight-semibold);gap:var(--lui-space-1);line-height:var(--line-height-sm);padding:var(--lui-space-2) var(--lui-space-4)}._root_1kmiv_21._sizeLg_1kmiv_137{font-size:var(--lui-font-size-md);font-weight:var(--lui-font-weight-semibold);gap:var(--lui-space-2);line-height:var(--line-height-md);padding:var(--lui-space-3) var(--lui-space-4)}._icon_1kmiv_145{align-items:center;display:flex;flex:0 0 20px;height:20px;justify-content:center;width:20px}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { jsx as s } from "react/jsx-runtime";
|
|
2
|
+
import m from "clsx";
|
|
3
|
+
import "react";
|
|
4
|
+
import { g } from "./getVariantClassName-DoCNtwBw.mjs";
|
|
5
|
+
import { E as _ } from "./enums-BnuDYTua.mjs";
|
|
6
|
+
import './Cell.css';const c = "_root_lmxwt_8", h = "_header_lmxwt_17", C = "_alignLeft_lmxwt_21", d = "_alignRight_lmxwt_24", f = "_alignCenter_lmxwt_27", t = {
|
|
7
|
+
root: c,
|
|
8
|
+
header: h,
|
|
9
|
+
alignLeft: C,
|
|
10
|
+
alignRight: d,
|
|
11
|
+
alignCenter: f
|
|
12
|
+
}, p = (a) => {
|
|
13
|
+
const { align: e = "left", as: o = "td", children: n, title: l, width: r } = a, i = m(t.root, g("align", e, t), {
|
|
14
|
+
[t.header]: o === "th"
|
|
15
|
+
});
|
|
16
|
+
return /* @__PURE__ */ s(o, { className: i, title: l, width: r, children: n });
|
|
17
|
+
};
|
|
18
|
+
p.displayName = _.CELL;
|
|
19
|
+
export {
|
|
20
|
+
p as C
|
|
21
|
+
};
|
package/dist/Cell.css
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
:root{--cell-bg-header: var(--lui-color-background-tertiary);--cell-border-header: var(--lui-color-border-secondary);--cell-padding: var(--lui-space-3) var(--lui-space-4);--cell-max-width: 200px}._root_lmxwt_8{background-color:transparent;border-bottom:1px solid var(--lui-color-border-primary);max-width:var(--cell-max-width);overflow:hidden;padding:var(--cell-padding);text-overflow:ellipsis;white-space:nowrap}._root_lmxwt_8._header_lmxwt_17{background-color:var(--cell-bg-header);border-bottom:2px solid var(--cell-border-header)}._root_lmxwt_8._alignLeft_lmxwt_21{text-align:left}._root_lmxwt_8._alignRight_lmxwt_24{text-align:right}._root_lmxwt_8._alignCenter_lmxwt_27{text-align:center}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { jsx as s } from "react/jsx-runtime";
|
|
2
|
+
import { E as r } from "./enums-DfSzOa3x.mjs";
|
|
3
|
+
import './Content.css';const n = "_root_jagsa_1", a = {
|
|
4
|
+
root: n
|
|
5
|
+
}, e = (o) => {
|
|
6
|
+
const { children: t } = o;
|
|
7
|
+
return /* @__PURE__ */ s("div", { className: a.root, children: t });
|
|
8
|
+
};
|
|
9
|
+
e.displayName = r.CONTENT;
|
|
10
|
+
export {
|
|
11
|
+
e as C
|
|
12
|
+
};
|
package/dist/Content.css
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
._root_jagsa_1{max-height:100%;overflow-y:auto}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { jsxs as t, jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import { E as a } from "./enums-DUZMBQDd.mjs";
|
|
3
|
+
import './Group.css';const n = "_root_dtqrm_1", c = "_label_dtqrm_9", o = {
|
|
4
|
+
root: n,
|
|
5
|
+
label: c
|
|
6
|
+
}, m = (r) => {
|
|
7
|
+
const { children: l, label: s } = r;
|
|
8
|
+
return /* @__PURE__ */ t("div", { className: o.root, role: "group", children: [
|
|
9
|
+
/* @__PURE__ */ e("div", { className: o.label, children: s }),
|
|
10
|
+
l
|
|
11
|
+
] });
|
|
12
|
+
};
|
|
13
|
+
m.displayName = a.GROUP;
|
|
14
|
+
export {
|
|
15
|
+
m as G
|
|
16
|
+
};
|
package/dist/Group.css
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
._root_dtqrm_1{padding-bottom:var(--lui-space-1);padding-top:var(--lui-space-1)}._root_dtqrm_1+._root_dtqrm_1{border-top:1px solid var(--lui-color-border-primary)}._label_dtqrm_9{color:var(--lui-color-text-tertiary);font-size:var(--dropdown-group-label-font-size);font-weight:var(--lui-font-weight-medium);padding:var(--dropdown-group-label-padding);text-transform:uppercase}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { jsxs as i, jsx as t } from "react/jsx-runtime";
|
|
2
|
+
import { I as m } from "./Icon-DUCBChX2.mjs";
|
|
3
|
+
import { u } from "./useLocale-CJh-krrY.mjs";
|
|
4
|
+
import { createContext as D, useContext as d } from "react";
|
|
5
|
+
import './Header.css';var r = /* @__PURE__ */ ((e) => (e.ACTIONS = "Drawer.Actions", e.CONTENT = "Drawer.Content", e.HEADER = "Drawer.Header", e))(r || {});
|
|
6
|
+
const p = D(null), w = () => {
|
|
7
|
+
const e = d(p);
|
|
8
|
+
if (!e)
|
|
9
|
+
throw new Error("Drawer sub-components must be used within a Drawer component.");
|
|
10
|
+
return e;
|
|
11
|
+
}, x = "_root_1mypq_13", _ = "_title_1mypq_21", C = "_close_1mypq_31", o = {
|
|
12
|
+
root: x,
|
|
13
|
+
title: _,
|
|
14
|
+
close: C
|
|
15
|
+
}, N = (e) => {
|
|
16
|
+
const { children: s } = e, { close: n } = w(), a = u(), c = (l) => {
|
|
17
|
+
l.preventDefault(), n();
|
|
18
|
+
};
|
|
19
|
+
return /* @__PURE__ */ i("div", { className: o.root, children: [
|
|
20
|
+
/* @__PURE__ */ t("div", { className: o.title, children: s }),
|
|
21
|
+
/* @__PURE__ */ t("button", { "aria-label": a.Drawer.Header.close, className: o.close, onClick: c, type: "button", children: /* @__PURE__ */ t(m, { name: "x", size: 16 }) })
|
|
22
|
+
] });
|
|
23
|
+
};
|
|
24
|
+
N.displayName = r.HEADER;
|
|
25
|
+
export {
|
|
26
|
+
p as D,
|
|
27
|
+
r as E,
|
|
28
|
+
N as H
|
|
29
|
+
};
|
package/dist/Header.css
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
:root{--drawer-header-gap: var(--lui-space-6);--drawer-header-min-height: calc(24px + var(--lui-space-6));--drawer-close-color: var(--lui-palette-gray-400);--drawer-close-padding: var(--lui-space-3);--drawer-title-font-size: var(--lui-font-size-md);--drawer-title-weight: var(--lui-font-weight-semibold);--drawer-title-color: var(--lui-color-text-primary);--drawer-title-font-family: var(--lui-font-family-body);--drawer-title-line-height: var(--line-height-md)}._root_1mypq_13{align-items:center;display:flex;gap:var(--drawer-header-gap);min-height:var(--drawer-header-min-height);position:relative}._title_1mypq_21{color:var(--drawer-title-color);flex:1;font-family:var(--drawer-title-font-family);font-size:var(--drawer-title-font-size);font-style:normal;font-weight:var(--drawer-title-weight);line-height:var(--drawer-title-line-height)}._close_1mypq_31{color:var(--drawer-close-color);padding:var(--drawer-close-padding);position:absolute;right:0;top:50%;transform:translateY(-50%)}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { jsx as l } from "react/jsx-runtime";
|
|
2
|
+
import m from "clsx";
|
|
3
|
+
import { g as r } from "./getVariantClassName-DoCNtwBw.mjs";
|
|
4
|
+
import './Heading.css';const d = "Heading", z = "_root_aa627_1", y = "_truncate_aa627_5", g = "_sizeXs_aa627_11", S = "_sizeSm_aa627_17", p = "_sizeMd_aa627_23", u = "_sizeLg_aa627_30", f = "_colorPrimary_aa627_37", N = "_colorSecondary_aa627_41", D = "_colorTertiary_aa627_45", L = "_colorDisabled_aa627_49", M = "_colorBrand_aa627_53", o = {
|
|
5
|
+
root: z,
|
|
6
|
+
truncate: y,
|
|
7
|
+
sizeXs: g,
|
|
8
|
+
sizeSm: S,
|
|
9
|
+
sizeMd: p,
|
|
10
|
+
sizeLg: u,
|
|
11
|
+
colorPrimary: f,
|
|
12
|
+
colorSecondary: N,
|
|
13
|
+
colorTertiary: D,
|
|
14
|
+
colorDisabled: L,
|
|
15
|
+
colorBrand: M
|
|
16
|
+
}, P = (s) => {
|
|
17
|
+
const { as: c = "h2", children: t, color: a, ref: e, size: n = "sm", truncate: _ = !1 } = s, i = m(
|
|
18
|
+
o.root,
|
|
19
|
+
r("size", n, o),
|
|
20
|
+
a && r("color", a, o),
|
|
21
|
+
{
|
|
22
|
+
[o.truncate]: _
|
|
23
|
+
}
|
|
24
|
+
);
|
|
25
|
+
return /* @__PURE__ */ l(c, { className: i, ref: e, children: t });
|
|
26
|
+
};
|
|
27
|
+
P.displayName = d;
|
|
28
|
+
export {
|
|
29
|
+
P as H
|
|
30
|
+
};
|
package/dist/Heading.css
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
._root_aa627_1{font-family:var(--lui-font-family-body);margin:0}._root_aa627_1._truncate_aa627_5{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}._sizeXs_aa627_11{font-size:var(--lui-font-size-md);font-weight:var(--lui-font-weight-semibold);line-height:var(--line-height-sm)}._sizeSm_aa627_17{font-size:var(--lui-font-size-lg);font-weight:var(--lui-font-weight-semibold);line-height:var(--line-height-lg)}._sizeMd_aa627_23{font-size:var(--lui-font-size-xl);font-weight:var(--lui-font-weight-semibold);line-height:var(--line-height-xl);letter-spacing:-.01em}._sizeLg_aa627_30{font-size:var(--lui-font-size-2xl);font-weight:var(--lui-font-weight-bold);line-height:var(--line-height-2xl);letter-spacing:-.02em}._colorPrimary_aa627_37{color:var(--lui-color-text-primary)}._colorSecondary_aa627_41{color:var(--lui-color-text-secondary)}._colorTertiary_aa627_45{color:var(--lui-color-text-tertiary)}._colorDisabled_aa627_49{color:var(--lui-color-text-disabled)}._colorBrand_aa627_53{color:var(--lui-color-text-link)}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { jsxs as f, jsx as a } from "react/jsx-runtime";
|
|
2
|
+
import g from "clsx";
|
|
3
|
+
import "react";
|
|
4
|
+
import { g as P } from "./getVariantClassName-DoCNtwBw.mjs";
|
|
5
|
+
import './InputBase.css';const u = {
|
|
6
|
+
INPUT: "Input",
|
|
7
|
+
INPUT_DATE: "InputDate",
|
|
8
|
+
INPUT_EMAIL: "InputEmail",
|
|
9
|
+
INPUT_NUMBER: "InputNumber",
|
|
10
|
+
INPUT_PASSWORD: "InputPassword",
|
|
11
|
+
INPUT_PHONE: "InputPhone"
|
|
12
|
+
}, b = "_root_8a405_17", z = "_invalid_8a405_36", h = "_disabled_8a405_42", T = "_sizeSm_8a405_56", U = "_sizeMd_8a405_60", v = "_sizeLg_8a405_64", E = "_control_8a405_68", M = "_before_8a405_100", S = "_after_8a405_101", A = "_togglePassword_8a405_109", s = {
|
|
13
|
+
root: b,
|
|
14
|
+
invalid: z,
|
|
15
|
+
disabled: h,
|
|
16
|
+
sizeSm: T,
|
|
17
|
+
sizeMd: U,
|
|
18
|
+
sizeLg: v,
|
|
19
|
+
control: E,
|
|
20
|
+
before: M,
|
|
21
|
+
after: S,
|
|
22
|
+
togglePassword: A
|
|
23
|
+
}, C = (n) => {
|
|
24
|
+
const { ref: r, invalid: i = !1, size: _ = "md", before: e, after: o, className: l, onChange: c, onBlur: d, onFocus: m, ...t } = n, N = g(
|
|
25
|
+
s.root,
|
|
26
|
+
P("size", _, s),
|
|
27
|
+
{
|
|
28
|
+
[s.disabled]: t.disabled === !0,
|
|
29
|
+
[s.invalid]: i
|
|
30
|
+
},
|
|
31
|
+
l
|
|
32
|
+
), I = (p) => {
|
|
33
|
+
c?.(p.target.value);
|
|
34
|
+
};
|
|
35
|
+
return /* @__PURE__ */ f("div", { className: N, children: [
|
|
36
|
+
e && /* @__PURE__ */ a("span", { className: s.before, children: e }),
|
|
37
|
+
/* @__PURE__ */ a("input", { ref: r, className: s.control, onChange: I, onBlur: d, onFocus: m, ...t }),
|
|
38
|
+
o && /* @__PURE__ */ a("span", { className: s.after, children: o })
|
|
39
|
+
] });
|
|
40
|
+
};
|
|
41
|
+
C.displayName = u.INPUT;
|
|
42
|
+
export {
|
|
43
|
+
u as D,
|
|
44
|
+
C as I,
|
|
45
|
+
s
|
|
46
|
+
};
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { jsxs as l, jsx as c } from "react/jsx-runtime";
|
|
2
|
+
import { useState as N, useCallback as z } from "react";
|
|
3
|
+
import I from "clsx";
|
|
4
|
+
import { I as x } from "./Icon-DUCBChX2.mjs";
|
|
5
|
+
import { u as C } from "./Context-BjkJbHVo.mjs";
|
|
6
|
+
import './Item.css';const A = "Accordion", O = "_root_z83hn_7", b = "_trigger_z83hn_11", y = "_open_z83hn_27", j = "_title_z83hn_32", k = "_icon_z83hn_41", D = "_chevron_z83hn_46", S = "_content_z83hn_66", n = {
|
|
7
|
+
root: O,
|
|
8
|
+
trigger: b,
|
|
9
|
+
open: y,
|
|
10
|
+
title: j,
|
|
11
|
+
icon: k,
|
|
12
|
+
chevron: D,
|
|
13
|
+
content: S
|
|
14
|
+
}, T = (p) => {
|
|
15
|
+
const { children: _, icon: a, onOpenChange: r, open: o, title: h, value: e } = p, t = C(), i = t && e !== void 0, [d, g] = N(!1);
|
|
16
|
+
let s;
|
|
17
|
+
i ? s = t.openValue === e : o !== void 0 ? s = o : s = d;
|
|
18
|
+
const u = z(() => {
|
|
19
|
+
if (i && e !== void 0) {
|
|
20
|
+
t.onItemToggle(e);
|
|
21
|
+
return;
|
|
22
|
+
}
|
|
23
|
+
if (o !== void 0) {
|
|
24
|
+
r?.(!o);
|
|
25
|
+
return;
|
|
26
|
+
}
|
|
27
|
+
g((f) => {
|
|
28
|
+
const m = !f;
|
|
29
|
+
return r?.(m), m;
|
|
30
|
+
});
|
|
31
|
+
}, [i, t, e, o, r]), v = I(n.root, { [n.open]: s });
|
|
32
|
+
return /* @__PURE__ */ l("div", { className: v, children: [
|
|
33
|
+
/* @__PURE__ */ l("button", { className: n.trigger, onClick: u, type: "button", children: [
|
|
34
|
+
/* @__PURE__ */ l("span", { className: n.title, children: [
|
|
35
|
+
a && /* @__PURE__ */ c("span", { className: n.icon, children: /* @__PURE__ */ c(x, { name: a, size: 16 }) }),
|
|
36
|
+
h
|
|
37
|
+
] }),
|
|
38
|
+
/* @__PURE__ */ c("span", { className: n.chevron })
|
|
39
|
+
] }),
|
|
40
|
+
/* @__PURE__ */ c("div", { className: n.content, children: _ })
|
|
41
|
+
] });
|
|
42
|
+
};
|
|
43
|
+
T.displayName = `${A}.Item`;
|
|
44
|
+
export {
|
|
45
|
+
A as D,
|
|
46
|
+
T as I
|
|
47
|
+
};
|
package/dist/Item.css
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
:root{--accordion-chevron-size: 8px;--accordion-transition-duration: .2s;--accordion-content-transition: .3s}._root_z83hn_7:not(:last-child){border-bottom:1px solid var(--lui-color-border-primary)}._trigger_z83hn_11{align-items:center;background:var(--lui-color-background-primary);border:none;cursor:pointer;display:flex;gap:var(--lui-space-2);justify-content:space-between;padding:var(--lui-space-6) var(--lui-space-4);transition:background-color var(--accordion-transition-duration);width:100%}._trigger_z83hn_11:hover{background:var(--lui-color-background-tertiary)}._open_z83hn_27 ._trigger_z83hn_11{background:var(--lui-color-background-brand);color:var(--lui-color-text-on-brand)}._title_z83hn_32{align-items:center;display:flex;font-size:var(--lui-font-size-sm);font-weight:var(--lui-font-weight-medium);gap:var(--lui-space-4);line-height:1.4}._icon_z83hn_41,._chevron_z83hn_46{align-items:center;display:flex}._chevron_z83hn_46:after{border-color:currentColor;border-style:solid;border-width:0 2px 2px 0;content:"";display:block;height:var(--accordion-chevron-size);transform:rotate(45deg);transition:transform var(--accordion-transition-duration);width:var(--accordion-chevron-size)}._open_z83hn_27 ._chevron_z83hn_46:after{transform:rotate(-135deg)}._content_z83hn_66{background:var(--lui-color-background-secondary);border-top:1px solid var(--lui-color-border-primary);font-size:var(--lui-font-size-md);line-height:1.5;max-height:0;opacity:0;overflow:hidden;padding:0 var(--lui-space-4);transition:max-height var(--accordion-content-transition) ease-out,opacity var(--accordion-content-transition) ease-out,padding var(--accordion-content-transition) ease-out}._open_z83hn_27 ._content_z83hn_66{max-height:9999px;opacity:1;padding:var(--lui-space-4)}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { jsx as a } from "react/jsx-runtime";
|
|
2
|
+
import { E as r, u as i } from "./enums-OoI2Qgqq.mjs";
|
|
3
|
+
import "react";
|
|
4
|
+
const m = (e) => {
|
|
5
|
+
const { panels: n } = e, { activeIndex: t, getPanelId: o } = i(), s = o(t);
|
|
6
|
+
return /* @__PURE__ */ a("div", { id: s, children: n[t] });
|
|
7
|
+
};
|
|
8
|
+
m.displayName = `${r.PANEL}`;
|
|
9
|
+
export {
|
|
10
|
+
m as P
|
|
11
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { jsx as s } from "react/jsx-runtime";
|
|
2
|
+
import i from "react";
|
|
3
|
+
import { i as m } from "./isValidReactNode-CmYwTWCE.mjs";
|
|
4
|
+
import "lodash/camelCase";
|
|
5
|
+
import { E as r } from "./enums-BnuDYTua.mjs";
|
|
6
|
+
import './Row.css';const a = "_root_t4731_5", c = {
|
|
7
|
+
root: a
|
|
8
|
+
}, l = (t) => {
|
|
9
|
+
const { children: e } = t, n = (o) => m(r.CELL, o) ? o : null;
|
|
10
|
+
return /* @__PURE__ */ s("tr", { className: c.root, children: i.Children.map(e, n) });
|
|
11
|
+
};
|
|
12
|
+
l.displayName = r.ROW;
|
|
13
|
+
export {
|
|
14
|
+
l as R
|
|
15
|
+
};
|
package/dist/Row.css
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
:root{--table-bg-stripe: var(--lui-color-background-secondary)}._root_t4731_5{background-color:var(--lui-color-background-primary);border-bottom:1px solid var(--lui-color-border-primary);transition:background-color .2s}._root_t4731_5:nth-child(odd){background-color:var(--table-bg-stripe)}._root_t4731_5:hover{background-color:var(--lui-color-background-brand-secondary)}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { jsx as o } from "react/jsx-runtime";
|
|
2
|
+
import { E as r } from "./enums-DUZMBQDd.mjs";
|
|
3
|
+
import './Separator.css';const t = "_root_16pgq_1", s = {
|
|
4
|
+
root: t
|
|
5
|
+
}, a = () => /* @__PURE__ */ o("hr", { className: s.root });
|
|
6
|
+
a.displayName = r.SEPARATOR;
|
|
7
|
+
export {
|
|
8
|
+
a as S
|
|
9
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
._root_16pgq_1{background:var(--lui-color-border-primary);border:none;height:1px;margin:var(--dropdown-separator-margin)}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { jsx as u } from "react/jsx-runtime";
|
|
2
|
+
import f from "clsx";
|
|
3
|
+
import { E as p, u as x } from "./enums-OoI2Qgqq.mjs";
|
|
4
|
+
import "react";
|
|
5
|
+
import { g as C } from "./getVariantClassName-DoCNtwBw.mjs";
|
|
6
|
+
import './Tab.css';const I = "_root_11zii_1", T = "_disabled_11zii_5", z = "_variantDefault_11zii_9", g = "_active_11zii_22", B = "_variantButtons_11zii_26", i = {
|
|
7
|
+
root: I,
|
|
8
|
+
disabled: T,
|
|
9
|
+
variantDefault: z,
|
|
10
|
+
active: g,
|
|
11
|
+
variantButtons: B
|
|
12
|
+
}, N = (o) => {
|
|
13
|
+
const { disabled: t = !1, label: s, index: a = 0, tabIndex: n = 0 } = o, { activeIndex: r, getPanelId: c, getTabId: l, setActiveTab: d, variant: b } = x(), v = c(a), _ = l(a), e = r === a, m = f(i.root, C("variant", b, i), {
|
|
14
|
+
[i.active]: e,
|
|
15
|
+
[i.disabled]: t
|
|
16
|
+
});
|
|
17
|
+
return /* @__PURE__ */ u(
|
|
18
|
+
"button",
|
|
19
|
+
{
|
|
20
|
+
"aria-selected": e,
|
|
21
|
+
"aria-controls": v,
|
|
22
|
+
"aria-disabled": t,
|
|
23
|
+
className: m,
|
|
24
|
+
disabled: t,
|
|
25
|
+
id: _,
|
|
26
|
+
onClick: () => {
|
|
27
|
+
t || d(a);
|
|
28
|
+
},
|
|
29
|
+
role: "tab",
|
|
30
|
+
tabIndex: t ? -1 : n,
|
|
31
|
+
children: s
|
|
32
|
+
}
|
|
33
|
+
);
|
|
34
|
+
};
|
|
35
|
+
N.displayName = `${p.TAB}`;
|
|
36
|
+
export {
|
|
37
|
+
N as T
|
|
38
|
+
};
|
package/dist/Tab.css
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
._root_11zii_1{position:relative;-webkit-user-select:none;user-select:none}._root_11zii_1._disabled_11zii_5{color:var(--tab-text-disabled);cursor:not-allowed}._root_11zii_1._variantDefault_11zii_9{border-bottom:2px solid transparent;color:var(--tab-text);font-size:var(--lui-font-size-md);font-weight:var(--lui-font-weight-medium);line-height:var(--line-height-md);padding:var(--lui-space-3) var(--lui-space-5);transition:border-color .3s,color .3s;white-space:nowrap}._root_11zii_1._variantDefault_11zii_9:focus{border-color:var(--tab-text-active)}._root_11zii_1._variantDefault_11zii_9._active_11zii_22{border-color:var(--tab-border-active);color:var(--tab-text-active)}._root_11zii_1._variantButtons_11zii_26{align-items:center;background:var(--tab-bg-buttons);border-radius:var(--tab-radius-buttons);color:var(--tab-text-buttons);display:flex;flex:1;flex-direction:column;font-size:var(--tab-font-buttons);font-weight:var(--lui-font-weight-medium);gap:var(--tab-gap-buttons);height:64px;justify-content:center;line-height:var(--line-height-md);max-width:320px;padding:var(--tab-padding-y-buttons) var(--tab-padding-x-buttons)}._root_11zii_1._variantButtons_11zii_26:focus{box-shadow:0 0 0 2px #98a2b324}._root_11zii_1._variantButtons_11zii_26._active_11zii_22{background:var(--tab-bg-buttons-active);color:var(--tab-text-buttons-active)}@media only screen and (max-width:1023px){._root_11zii_1._variantButtons_11zii_26{gap:var(--tab-gap-buttons);height:40px;justify-content:center;padding:var(--lui-space-2) var(--lui-space-5);white-space:nowrap}}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { jsx as h } from "react/jsx-runtime";
|
|
2
|
+
import j from "react";
|
|
3
|
+
import v from "clsx";
|
|
4
|
+
import { g as w } from "./getDecorationStyle-BCBONKEl.mjs";
|
|
5
|
+
import { g as t } from "./getVariantClassName-DoCNtwBw.mjs";
|
|
6
|
+
import './Text.css';const y = "Text", z = "sm", S = "normal", u = "p", T = "_root_1vl2j_1", p = "_truncate_1vl2j_5", f = "_sizeXs_1vl2j_12", D = "_sizeSm_1vl2j_18", N = "_sizeMd_1vl2j_24", L = "_sizeLg_1vl2j_30", M = "_weightNormal_1vl2j_37", b = "_weightMedium_1vl2j_41", A = "_weightSemibold_1vl2j_45", B = "_weightBold_1vl2j_49", E = "_colorPrimary_1vl2j_54", x = "_colorSecondary_1vl2j_58", P = "_colorTertiary_1vl2j_62", C = "_colorDisabled_1vl2j_66", F = "_colorBrand_1vl2j_70", o = {
|
|
7
|
+
root: T,
|
|
8
|
+
truncate: p,
|
|
9
|
+
sizeXs: f,
|
|
10
|
+
sizeSm: D,
|
|
11
|
+
sizeMd: N,
|
|
12
|
+
sizeLg: L,
|
|
13
|
+
weightNormal: M,
|
|
14
|
+
weightMedium: b,
|
|
15
|
+
weightSemibold: A,
|
|
16
|
+
weightBold: B,
|
|
17
|
+
colorPrimary: E,
|
|
18
|
+
colorSecondary: x,
|
|
19
|
+
colorTertiary: P,
|
|
20
|
+
colorDisabled: C,
|
|
21
|
+
colorBrand: F
|
|
22
|
+
}, I = j.forwardRef((r, s) => {
|
|
23
|
+
const {
|
|
24
|
+
as: l = u,
|
|
25
|
+
children: c,
|
|
26
|
+
color: e,
|
|
27
|
+
size: i = z,
|
|
28
|
+
weight: _ = S,
|
|
29
|
+
truncate: n = !1,
|
|
30
|
+
underline: a,
|
|
31
|
+
strikethrough: m
|
|
32
|
+
} = r, d = w({ strikethrough: m, underline: a }), g = v(
|
|
33
|
+
o.root,
|
|
34
|
+
t("size", i, o),
|
|
35
|
+
t("weight", _, o),
|
|
36
|
+
e && t("color", e, o),
|
|
37
|
+
{
|
|
38
|
+
[o.truncate]: n
|
|
39
|
+
}
|
|
40
|
+
);
|
|
41
|
+
return /* @__PURE__ */ h(l, { className: g, ref: s, style: d, children: c });
|
|
42
|
+
});
|
|
43
|
+
I.displayName = y;
|
|
44
|
+
export {
|
|
45
|
+
I as T
|
|
46
|
+
};
|
package/dist/Text.css
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
._root_1vl2j_1{font-family:var(--lui-font-family-body);margin:0}._root_1vl2j_1._truncate_1vl2j_5{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}._sizeXs_1vl2j_12{font-size:var(--lui-font-size-xs);line-height:var(--line-height-xs);letter-spacing:.02em}._sizeSm_1vl2j_18{font-size:var(--lui-font-size-sm);line-height:var(--line-height-sm);letter-spacing:normal}._sizeMd_1vl2j_24{font-size:var(--lui-font-size-md);line-height:var(--line-height-md);letter-spacing:normal}._sizeLg_1vl2j_30{font-size:var(--lui-font-size-lg);line-height:var(--line-height-lg);letter-spacing:normal}._weightNormal_1vl2j_37{font-weight:var(--lui-font-weight-normal)}._weightMedium_1vl2j_41{font-weight:var(--lui-font-weight-medium)}._weightSemibold_1vl2j_45{font-weight:var(--lui-font-weight-semibold)}._weightBold_1vl2j_49{font-weight:var(--lui-font-weight-bold)}._colorPrimary_1vl2j_54{color:var(--lui-color-text-primary)}._colorSecondary_1vl2j_58{color:var(--lui-color-text-secondary)}._colorTertiary_1vl2j_62{color:var(--lui-color-text-tertiary)}._colorDisabled_1vl2j_66{color:var(--lui-color-text-disabled)}._colorBrand_1vl2j_70{color:var(--lui-color-text-link)}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { jsx as r } from "react/jsx-runtime";
|
|
2
|
+
import { E as s } from "./enums-DfSzOa3x.mjs";
|
|
3
|
+
import './Title.css';const e = "_root_1ae0y_1", n = {
|
|
4
|
+
root: e
|
|
5
|
+
}, a = (o) => {
|
|
6
|
+
const { children: t } = o;
|
|
7
|
+
return /* @__PURE__ */ r("div", { className: n.root, children: t });
|
|
8
|
+
};
|
|
9
|
+
a.displayName = s.TITLE;
|
|
10
|
+
export {
|
|
11
|
+
a as T
|
|
12
|
+
};
|
package/dist/Title.css
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
._root_1ae0y_1{color:var(--dialog-title-color);font-family:var(--dialog-title-font-family);font-size:var(--dialog-title-font-size);font-style:normal;font-weight:var(--dialog-title-weight);line-height:var(--dialog-title-line-height);max-height:100%}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { jsx as s } from "react/jsx-runtime";
|
|
2
|
+
import './Toolbar.css';const r = "Table.Toolbar", a = "_root_d4szt_6", c = {
|
|
3
|
+
root: a
|
|
4
|
+
}, e = (o) => {
|
|
5
|
+
const { children: t } = o;
|
|
6
|
+
return /* @__PURE__ */ s("div", { className: c.root, children: t });
|
|
7
|
+
};
|
|
8
|
+
e.displayName = r;
|
|
9
|
+
export {
|
|
10
|
+
e as T
|
|
11
|
+
};
|
package/dist/Toolbar.css
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
:root{--toolbar-gap: var(--lui-space-3);--toolbar-padding: var(--lui-space-3) 0}._root_d4szt_6{align-items:center;display:flex;gap:var(--toolbar-gap);padding:var(--toolbar-padding)}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { jsx as p } from "react/jsx-runtime";
|
|
2
|
+
import { usePopoverContext as a } from "./popover.js";
|
|
3
|
+
import { E as n } from "./enums-DUZMBQDd.mjs";
|
|
4
|
+
const s = (e) => {
|
|
5
|
+
const { children: o } = e, { triggerRef: t, state: r } = a();
|
|
6
|
+
return /* @__PURE__ */ p("span", { "aria-expanded": r.isOpen, "aria-haspopup": "true", onClick: () => r.toggle(), ref: t, children: o });
|
|
7
|
+
};
|
|
8
|
+
s.displayName = n.TRIGGER;
|
|
9
|
+
export {
|
|
10
|
+
s as T
|
|
11
|
+
};
|
package/dist/accordion.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
:root{--accordion-border-radius: var(--lui-radius-2)}._root_grshw_5{border:1px solid var(--lui-color-border-primary);border-radius:var(--accordion-border-radius);overflow:hidden;width:100%}
|
|
1
|
+
:root{--accordion-border-radius: var(--lui-radius-2)}._root_grshw_5{border:1px solid var(--lui-color-border-primary);border-radius:var(--accordion-border-radius);overflow:hidden;width:100%}
|