@koide-labs/ui 0.1.7 → 0.1.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/accordion/accordion.js +4 -4
- package/dist/components/alert-dialog/alert-dialog.js +19 -19
- package/dist/components/badge/badge.js +6 -6
- package/dist/components/button/button.js +1 -1
- package/dist/components/checkbox/checkbox.js +6 -6
- package/dist/components/code/code.js +4 -4
- package/dist/components/command/command.js +2 -2
- package/dist/components/context-menu/context-menu.js +25 -25
- package/dist/components/dialog/dialog.js +23 -23
- package/dist/components/icon/icon.d.ts +9 -3
- package/dist/components/icon/icon.js +39 -26
- package/dist/components/icon/icon.types.d.ts +1 -1
- package/dist/components/icon-button/icon-button.d.ts +5 -0
- package/dist/components/icon-button/icon-button.js +7 -6
- package/dist/components/input/input.js +19 -19
- package/dist/components/meter/meter.js +1 -1
- package/dist/components/multiline-input/multiline-input.js +1 -1
- package/dist/components/number-input/number-input.js +8 -8
- package/dist/components/password-input/password-input.js +4 -4
- package/dist/components/pill/pill.js +1 -1
- package/dist/components/popover/popover.js +21 -21
- package/dist/components/preview-card/preview-card.js +9 -9
- package/dist/components/radio-group/radio-group.js +20 -20
- package/dist/components/search-bar/search-bar.js +8 -8
- package/dist/components/select/select.js +14 -14
- package/dist/components/spinner/spinner.js +7 -7
- package/dist/components/stacked-avatars/stacked-avatars.js +2 -2
- package/dist/components/status-banner/status-banner.js +5 -5
- package/dist/components/tabs/tabs.js +1 -1
- package/dist/components/theme-provider/theme-provider.js +3 -3
- package/dist/components/timestamp/timestamp.js +1 -1
- package/dist/components/toaster/toaster.js +13 -13
- package/dist/components/tooltip/index.js +1 -1
- package/dist/components/tooltip/tooltip.js +2 -2
- package/dist/icon.css +1 -1
- package/dist/index.js +1 -1
- package/dist/integrations/react-markdown/index.js +11 -11
- package/dist/spinner.css +1 -1
- package/dist/{tooltip-JPnUwFFR.js → tooltip-CpyPanwd.js} +9 -9
- package/package.json +19 -16
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { jsx as n } from "react/jsx-runtime";
|
|
2
|
-
import { c as
|
|
3
|
-
import { View as s } from "../view/view.js";
|
|
2
|
+
import { c as e } from "../../clsx-OuTLNxxd.js";
|
|
4
3
|
import { Icon as i } from "../icon/icon.js";
|
|
5
|
-
import
|
|
6
|
-
|
|
4
|
+
import { View as o } from "../view/view.js";
|
|
5
|
+
import '../../spinner.css';const p = "_spinner_1aqcc_3", c = {
|
|
6
|
+
spinner: p
|
|
7
7
|
};
|
|
8
|
-
function
|
|
9
|
-
return /* @__PURE__ */ n(
|
|
8
|
+
function l({ className: r, ...s }) {
|
|
9
|
+
return /* @__PURE__ */ n(o, { className: e(c.spinner, r), ...s, children: /* @__PURE__ */ n(i, { name: "spinner" }) });
|
|
10
10
|
}
|
|
11
11
|
export {
|
|
12
|
-
|
|
12
|
+
l as Spinner
|
|
13
13
|
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsx as t, jsxs as l } from "react/jsx-runtime";
|
|
2
2
|
import { c as v } from "../../clsx-OuTLNxxd.js";
|
|
3
|
-
import { T as b } from "../../tooltip-JPnUwFFR.js";
|
|
4
|
-
import { View as r } from "../view/view.js";
|
|
5
3
|
import { Avatar as o } from "../avatar/avatar.js";
|
|
6
4
|
import { Text as k } from "../text/text.js";
|
|
5
|
+
import { T as b } from "../../tooltip-CpyPanwd.js";
|
|
6
|
+
import { View as r } from "../view/view.js";
|
|
7
7
|
import '../../stacked-avatars.css';const a = {
|
|
8
8
|
"stacked-avatars": "_stacked-avatars_1bugq_3",
|
|
9
9
|
"stacked-avatars__avatar": "_stacked-avatars__avatar_1bugq_9",
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsxs as _, jsx as s } from "react/jsx-runtime";
|
|
2
2
|
import { c as b } from "../../clsx-OuTLNxxd.js";
|
|
3
|
-
import {
|
|
4
|
-
import { Icon as
|
|
5
|
-
import { Heading as p } from "../heading/heading.js";
|
|
3
|
+
import { Heading as d } from "../heading/heading.js";
|
|
4
|
+
import { Icon as p } from "../icon/icon.js";
|
|
6
5
|
import { Text as x } from "../text/text.js";
|
|
6
|
+
import { View as i } from "../view/view.js";
|
|
7
7
|
import '../../status-banner.css';const t = {
|
|
8
8
|
"status-banner": "_status-banner_x87er_3",
|
|
9
9
|
"status-banner_variant_neutral": "_status-banner_variant_neutral_x87er_16",
|
|
@@ -48,9 +48,9 @@ function y({
|
|
|
48
48
|
c
|
|
49
49
|
),
|
|
50
50
|
children: [
|
|
51
|
-
r ? /* @__PURE__ */ s(
|
|
51
|
+
r ? /* @__PURE__ */ s(p, { name: r, size: a[n].icon }) : null,
|
|
52
52
|
/* @__PURE__ */ _(i, { className: t["status-banner__content"], children: [
|
|
53
|
-
/* @__PURE__ */ s(
|
|
53
|
+
/* @__PURE__ */ s(d, { level: 1, size: a[n].title, color: "inherit", children: o }),
|
|
54
54
|
/* @__PURE__ */ s(
|
|
55
55
|
x,
|
|
56
56
|
{
|
|
@@ -3,10 +3,10 @@ import { c as z } from "../../clsx-OuTLNxxd.js";
|
|
|
3
3
|
import * as n from "react";
|
|
4
4
|
import { Fragment as rt } from "react";
|
|
5
5
|
import { tokens as it } from "../../styles/tokens.js";
|
|
6
|
-
import { View as U } from "../view/view.js";
|
|
7
6
|
import { Button as ut } from "../button/button.js";
|
|
8
7
|
import { Icon as ct } from "../icon/icon.js";
|
|
9
8
|
import { S as lt } from "../../separator-Or-BDQYZ.js";
|
|
9
|
+
import { View as U } from "../view/view.js";
|
|
10
10
|
import { u as dt } from "../../useControlled-Du4sJyMj.js";
|
|
11
11
|
import { u as F } from "../../useIsoLayoutEffect-CIDbvm3Q.js";
|
|
12
12
|
import { u as k } from "../../useStableCallback-DKZHlUAT.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as o } from "react/jsx-runtime";
|
|
2
2
|
import { useState as f, useEffect as s } from "react";
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
3
|
+
import { View as a } from "../view/view.js";
|
|
4
|
+
import { ThemeContext as u } from "./theme-context.js";
|
|
5
5
|
function x({
|
|
6
6
|
value: e,
|
|
7
7
|
defaultValue: n,
|
|
@@ -13,7 +13,7 @@ function x({
|
|
|
13
13
|
), t = m ? e : c, h = d;
|
|
14
14
|
return s(() => {
|
|
15
15
|
r && (document.body.dataset.theme = t);
|
|
16
|
-
}, [t, r]), /* @__PURE__ */ o(
|
|
16
|
+
}, [t, r]), /* @__PURE__ */ o(u.Provider, { value: { theme: t, setTheme: h }, children: /* @__PURE__ */ o(a, { "data-theme": t, ...i }) });
|
|
17
17
|
}
|
|
18
18
|
function l() {
|
|
19
19
|
if (typeof window > "u")
|
|
@@ -2,7 +2,7 @@ import { jsx as p } from "react/jsx-runtime";
|
|
|
2
2
|
import { c as B } from "../../clsx-OuTLNxxd.js";
|
|
3
3
|
import { useState as V } from "react";
|
|
4
4
|
import { Text as J } from "../text/text.js";
|
|
5
|
-
import { T as $ } from "../../tooltip-
|
|
5
|
+
import { T as $ } from "../../tooltip-CpyPanwd.js";
|
|
6
6
|
import { View as z } from "../view/view.js";
|
|
7
7
|
import '../../timestamp.css';const U = {
|
|
8
8
|
lessThanXSeconds: {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { jsx as D, jsxs as re } from "react/jsx-runtime";
|
|
2
2
|
import { c as Ne } from "../../clsx-OuTLNxxd.js";
|
|
3
|
-
import {
|
|
3
|
+
import { Button as it } from "../button/button.js";
|
|
4
|
+
import { Heading as at } from "../heading/heading.js";
|
|
5
|
+
import { IconButton as ct } from "../icon-button/icon-button.js";
|
|
6
|
+
import { Surface as ut } from "../surface/surface.js";
|
|
7
|
+
import { Text as lt } from "../text/text.js";
|
|
4
8
|
import { View as Pe } from "../view/view.js";
|
|
5
|
-
import {
|
|
6
|
-
import { Text as ut } from "../text/text.js";
|
|
7
|
-
import { IconButton as lt } from "../icon-button/icon-button.js";
|
|
8
|
-
import { Button as ft } from "../button/button.js";
|
|
9
|
-
import { Surface as dt } from "../surface/surface.js";
|
|
9
|
+
import { T as ft, a as Re, u as dt } from "../../use-toast-manager-Dq-44AuW.js";
|
|
10
10
|
import * as e from "react";
|
|
11
11
|
import { o as ne } from "../../owner-rKN292Q9.js";
|
|
12
12
|
import { u as U } from "../../useStableCallback-DKZHlUAT.js";
|
|
@@ -204,7 +204,7 @@ const ke = function(c) {
|
|
|
204
204
|
scheduleTimer: B,
|
|
205
205
|
windowFocusedRef: C
|
|
206
206
|
}), [G, L, d, g, R, b, o, O, q, I, B, w, K]);
|
|
207
|
-
return /* @__PURE__ */ D(
|
|
207
|
+
return /* @__PURE__ */ D(ft.Provider, {
|
|
208
208
|
value: J,
|
|
209
209
|
children: h
|
|
210
210
|
});
|
|
@@ -838,7 +838,7 @@ function ln({ children: a, ...c }) {
|
|
|
838
838
|
] });
|
|
839
839
|
}
|
|
840
840
|
function Vt() {
|
|
841
|
-
return
|
|
841
|
+
return dt().toasts.map((c) => {
|
|
842
842
|
const h = c.type && c.type in Le ? Le[c.type] : void 0;
|
|
843
843
|
return /* @__PURE__ */ D(
|
|
844
844
|
$e,
|
|
@@ -848,7 +848,7 @@ function Vt() {
|
|
|
848
848
|
W.toaster,
|
|
849
849
|
h ? W.toaster_variant_colorway : W.toaster_variant_neutral
|
|
850
850
|
),
|
|
851
|
-
render: /* @__PURE__ */ D(
|
|
851
|
+
render: /* @__PURE__ */ D(ut, { background: "default", color: h }),
|
|
852
852
|
children: /* @__PURE__ */ re(
|
|
853
853
|
Pe,
|
|
854
854
|
{
|
|
@@ -867,7 +867,7 @@ function Vt() {
|
|
|
867
867
|
ze,
|
|
868
868
|
{
|
|
869
869
|
render: /* @__PURE__ */ D(
|
|
870
|
-
|
|
870
|
+
at,
|
|
871
871
|
{
|
|
872
872
|
level: 2,
|
|
873
873
|
size: "lg",
|
|
@@ -880,7 +880,7 @@ function Vt() {
|
|
|
880
880
|
/* @__PURE__ */ D(
|
|
881
881
|
Ye,
|
|
882
882
|
{
|
|
883
|
-
render: /* @__PURE__ */ D(
|
|
883
|
+
render: /* @__PURE__ */ D(lt, { multiline: !0, color: h ? "inherit" : "dimmer" }),
|
|
884
884
|
className: W.toaster__description
|
|
885
885
|
}
|
|
886
886
|
)
|
|
@@ -891,7 +891,7 @@ function Vt() {
|
|
|
891
891
|
Xe,
|
|
892
892
|
{
|
|
893
893
|
render: /* @__PURE__ */ D(
|
|
894
|
-
|
|
894
|
+
ct,
|
|
895
895
|
{
|
|
896
896
|
interactive: h ? `${h}_no-fill` : "no-fill",
|
|
897
897
|
icon: "close-line",
|
|
@@ -903,7 +903,7 @@ function Vt() {
|
|
|
903
903
|
}
|
|
904
904
|
),
|
|
905
905
|
c.action ? /* @__PURE__ */ D(
|
|
906
|
-
|
|
906
|
+
it,
|
|
907
907
|
{
|
|
908
908
|
...c.action,
|
|
909
909
|
interactive: h ? `${h}_fill` : !0,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
2
|
import "../../clsx-OuTLNxxd.js";
|
|
3
3
|
import "../../-utils.js";
|
|
4
|
-
import "../../transitions.module-SSNmQfsR.js";
|
|
5
|
-
import { T as a } from "../../tooltip-JPnUwFFR.js";
|
|
6
4
|
import "../surface/surface.js";
|
|
5
|
+
import "../../transitions.module-SSNmQfsR.js";
|
|
6
|
+
import { T as a } from "../../tooltip-CpyPanwd.js";
|
|
7
7
|
export {
|
|
8
8
|
a as Tooltip
|
|
9
9
|
};
|
package/dist/icon.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.
|
|
1
|
+
@keyframes _spin_1rr4v_1{0%{rotate:0deg}to{rotate:360deg}}._icon_1rr4v_3:not(#\#):not(#\#):not(#\#){--icon-size: var(--space-16);--icon-spin-duration: 1s;vertical-align:middle;width:var(--icon-size);min-width:var(--icon-size);height:var(--icon-size);min-height:var(--icon-size);font-size:var(--icon-size)}._icon_size_sm_1rr4v_16:not(#\#):not(#\#):not(#\#){--icon-size: var(--space-16)}._icon_size_md_1rr4v_21:not(#\#):not(#\#):not(#\#){--icon-size: var(--space-16)}._icon_size_lg_1rr4v_25:not(#\#):not(#\#):not(#\#){--icon-size: var(--space-20)}._icon_size_xl_1rr4v_29:not(#\#):not(#\#):not(#\#){--icon-size: var(--space-24)}._icon_size_2xl_1rr4v_33:not(#\#):not(#\#):not(#\#){--icon-size: var(--space-32)}._icon_size_3xl_1rr4v_37:not(#\#):not(#\#):not(#\#){--icon-size: var(--space-48)}._icon_spin_1rr4v_41:not(#\#):not(#\#):not(#\#){animation:_spin_1rr4v_1 var(--icon-spin-duration) linear infinite}
|
package/dist/index.js
CHANGED
|
@@ -39,7 +39,7 @@ import { useThemeContext as Ao } from "./components/theme-provider/theme-context
|
|
|
39
39
|
import { Timestamp as Po } from "./components/timestamp/timestamp.js";
|
|
40
40
|
import { Toaster as Mo } from "./components/toaster/toaster.js";
|
|
41
41
|
import { u as Vo } from "./use-toast-manager-Dq-44AuW.js";
|
|
42
|
-
import { T as Do } from "./tooltip-
|
|
42
|
+
import { T as Do } from "./tooltip-CpyPanwd.js";
|
|
43
43
|
import { View as yo } from "./components/view/view.js";
|
|
44
44
|
import { V as No } from "./index-DN9Bn1qm.js";
|
|
45
45
|
export {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { jsx as e, jsxs as i } from "react/jsx-runtime";
|
|
2
2
|
import l from "react-markdown";
|
|
3
3
|
import { omit as a } from "../../-utils.js";
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import { InlineCode as w } from "../../components/inline-code/inline-code.js";
|
|
7
|
-
import { Code as k } from "../../components/code/code.js";
|
|
8
|
-
import { Anchor as h } from "../../components/anchor/anchor.js";
|
|
9
|
-
import { S as u } from "../../separator-Or-BDQYZ.js";
|
|
4
|
+
import { Anchor as s } from "../../components/anchor/anchor.js";
|
|
5
|
+
import { Code as w } from "../../components/code/code.js";
|
|
10
6
|
import { Heading as m } from "../../components/heading/heading.js";
|
|
7
|
+
import { InlineCode as k } from "../../components/inline-code/inline-code.js";
|
|
8
|
+
import { S as h } from "../../separator-Or-BDQYZ.js";
|
|
9
|
+
import { Text as c } from "../../components/text/text.js";
|
|
10
|
+
import { View as u } from "../../components/view/view.js";
|
|
11
11
|
import '../../index2.css';const _ = {
|
|
12
12
|
"react-markdown__h1": "_react-markdown__h1_yvzi6_7",
|
|
13
13
|
"react-markdown__h2": "_react-markdown__h2_yvzi6_8",
|
|
@@ -80,7 +80,7 @@ function S({
|
|
|
80
80
|
className: _["react-markdown__p"]
|
|
81
81
|
}
|
|
82
82
|
),
|
|
83
|
-
hr: () => /* @__PURE__ */ e(
|
|
83
|
+
hr: () => /* @__PURE__ */ e(h, {}),
|
|
84
84
|
ul: (r) => /* @__PURE__ */ e(
|
|
85
85
|
"ul",
|
|
86
86
|
{
|
|
@@ -103,7 +103,7 @@ function S({
|
|
|
103
103
|
}
|
|
104
104
|
),
|
|
105
105
|
a: ({ href: r, ...o }) => /* @__PURE__ */ e(
|
|
106
|
-
|
|
106
|
+
s,
|
|
107
107
|
{
|
|
108
108
|
...a(o, ["node"]),
|
|
109
109
|
href: r,
|
|
@@ -114,15 +114,15 @@ function S({
|
|
|
114
114
|
}
|
|
115
115
|
),
|
|
116
116
|
code: ({ className: r, ...o }) => typeof o.children == "string" && !o.children.includes(`
|
|
117
|
-
`) ? /* @__PURE__ */ e(
|
|
118
|
-
|
|
117
|
+
`) ? /* @__PURE__ */ e(k, { ...a(o, ["node"]) }) : /* @__PURE__ */ e(
|
|
118
|
+
w,
|
|
119
119
|
{
|
|
120
120
|
className: _["react-markdown__code"],
|
|
121
121
|
...a(o, ["node"]),
|
|
122
122
|
language: g(r)
|
|
123
123
|
}
|
|
124
124
|
),
|
|
125
|
-
img: ({ alt: r, ...o }) => /* @__PURE__ */ i(
|
|
125
|
+
img: ({ alt: r, ...o }) => /* @__PURE__ */ i(u, { className: _["react-markdown__img-root"], children: [
|
|
126
126
|
/* @__PURE__ */ e(
|
|
127
127
|
"img",
|
|
128
128
|
{
|
package/dist/spinner.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
._spinner_1aqcc_3:not(#\#):not(#\#):not(#\#){width:-moz-fit-content;width:fit-content}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx as M, jsxs as ne } from "react/jsx-runtime";
|
|
2
2
|
import { c as ce } from "./clsx-OuTLNxxd.js";
|
|
3
3
|
import { textify as we } from "./-utils.js";
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
4
|
+
import { Surface as Oe } from "./components/surface/surface.js";
|
|
5
|
+
import { R as Me, P as Ie, c as D, d as Ne, e as De, f as Ae, p as J, t as _e } from "./transitions.module-SSNmQfsR.js";
|
|
6
6
|
import * as a from "react";
|
|
7
7
|
import { u as N } from "./useIsoLayoutEffect-CIDbvm3Q.js";
|
|
8
8
|
import { f as z } from "./formatErrorMessage-BqPuTBN-.js";
|
|
@@ -334,7 +334,7 @@ const xt = {
|
|
|
334
334
|
lastOpenChangeReason: D((n) => n.openChangeReason),
|
|
335
335
|
closeDelay: D((n) => n.closeDelay)
|
|
336
336
|
};
|
|
337
|
-
class Z extends
|
|
337
|
+
class Z extends Me {
|
|
338
338
|
constructor(e) {
|
|
339
339
|
super({
|
|
340
340
|
...St(),
|
|
@@ -343,7 +343,7 @@ class Z extends Oe {
|
|
|
343
343
|
popupRef: /* @__PURE__ */ a.createRef(),
|
|
344
344
|
onOpenChange: void 0,
|
|
345
345
|
onOpenChangeComplete: void 0,
|
|
346
|
-
triggerElements: new
|
|
346
|
+
triggerElements: new Ie()
|
|
347
347
|
}, xt);
|
|
348
348
|
}
|
|
349
349
|
setOpen = (e, t) => {
|
|
@@ -429,7 +429,7 @@ function Et(n) {
|
|
|
429
429
|
}), [h, b]);
|
|
430
430
|
const x = o.useState("floatingRootContext"), O = vt(x, {
|
|
431
431
|
enabled: !e
|
|
432
|
-
}), S =
|
|
432
|
+
}), S = Ne(x, {
|
|
433
433
|
enabled: !e,
|
|
434
434
|
referencePress: !0
|
|
435
435
|
}), k = Pt(x, {
|
|
@@ -439,7 +439,7 @@ function Et(n) {
|
|
|
439
439
|
getReferenceProps: I,
|
|
440
440
|
getFloatingProps: A,
|
|
441
441
|
getTriggerProps: _
|
|
442
|
-
} =
|
|
442
|
+
} = De([O, S, k]), L = a.useMemo(() => I(), [I]), j = a.useMemo(() => _(), [_]), oe = a.useMemo(() => A(), [A]);
|
|
443
443
|
return o.useSyncedValues({
|
|
444
444
|
floatingRootContext: x,
|
|
445
445
|
activeTriggerProps: L,
|
|
@@ -519,7 +519,7 @@ const Ot = 600, Te = /* @__PURE__ */ a.forwardRef(function(e, t) {
|
|
|
519
519
|
props: [_, j, {
|
|
520
520
|
id: P
|
|
521
521
|
}, s],
|
|
522
|
-
stateAttributesMapping:
|
|
522
|
+
stateAttributesMapping: Ae
|
|
523
523
|
});
|
|
524
524
|
});
|
|
525
525
|
process.env.NODE_ENV !== "production" && (Te.displayName = "TooltipTrigger");
|
|
@@ -728,10 +728,10 @@ function At({
|
|
|
728
728
|
/* @__PURE__ */ M(Ce, { children: /* @__PURE__ */ M(xe, { align: t, side: r, sideOffset: 8, children: /* @__PURE__ */ ne(
|
|
729
729
|
Se,
|
|
730
730
|
{
|
|
731
|
-
render: /* @__PURE__ */ M(
|
|
731
|
+
render: /* @__PURE__ */ M(Oe, { background: "highest" }),
|
|
732
732
|
className: ce(
|
|
733
733
|
K.tooltip,
|
|
734
|
-
|
|
734
|
+
_e.transition_scale,
|
|
735
735
|
g
|
|
736
736
|
),
|
|
737
737
|
children: [
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@koide-labs/ui",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.8",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"exports": {
|
|
@@ -29,6 +29,23 @@
|
|
|
29
29
|
"sideEffects": [
|
|
30
30
|
"**/*.css"
|
|
31
31
|
],
|
|
32
|
+
"packageManager": "pnpm@10.19.0",
|
|
33
|
+
"scripts": {
|
|
34
|
+
"dev": "vite",
|
|
35
|
+
"build": "npm-run-all build:icons build:vite",
|
|
36
|
+
"build:icons": "tsx ./scripts/build-icon-types.ts",
|
|
37
|
+
"build:vite": "tsc -b && vite build",
|
|
38
|
+
"preview": "vite preview",
|
|
39
|
+
"prepare": "husky",
|
|
40
|
+
"typecheck": "tsc -b --noEmit",
|
|
41
|
+
"lint": "npm-run-all --parallel lint:*",
|
|
42
|
+
"lint:ts": "eslint .",
|
|
43
|
+
"lint:style": "stylelint src/**/*.module.css",
|
|
44
|
+
"format": "prettier --write .",
|
|
45
|
+
"storybook": "storybook dev -p 6006",
|
|
46
|
+
"build-storybook": "storybook build",
|
|
47
|
+
"prepublishOnly": "pnpm run build"
|
|
48
|
+
},
|
|
32
49
|
"dependencies": {
|
|
33
50
|
"@base-ui/react": "^1.0.0",
|
|
34
51
|
"@npham-dev/cmdk": "^0.0.0",
|
|
@@ -100,19 +117,5 @@
|
|
|
100
117
|
"vite-plugin-lib-inject-css": "^2.2.2",
|
|
101
118
|
"vite-tsconfig-paths": "^6.0.3",
|
|
102
119
|
"vitest": "^4.0.16"
|
|
103
|
-
},
|
|
104
|
-
"scripts": {
|
|
105
|
-
"dev": "vite",
|
|
106
|
-
"build": "npm-run-all build:icons build:vite",
|
|
107
|
-
"build:icons": "tsx ./scripts/build-icon-types.ts",
|
|
108
|
-
"build:vite": "tsc -b && vite build",
|
|
109
|
-
"preview": "vite preview",
|
|
110
|
-
"typecheck": "tsc -b --noEmit",
|
|
111
|
-
"lint": "npm-run-all --parallel lint:*",
|
|
112
|
-
"lint:ts": "eslint .",
|
|
113
|
-
"lint:style": "stylelint src/**/*.module.css",
|
|
114
|
-
"format": "prettier --write .",
|
|
115
|
-
"storybook": "storybook dev -p 6006",
|
|
116
|
-
"build-storybook": "storybook build"
|
|
117
120
|
}
|
|
118
|
-
}
|
|
121
|
+
}
|