@bricks-toolkit/toolkit 0.1.8 → 0.1.10
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/{chunk-K3IJEZ4S.mjs → chunk-G4HVY6FM.mjs} +1 -1
- package/dist/{chunk-3IPWW66F.cjs → chunk-Y6AN7AWX.cjs} +1 -1
- package/dist/index.cjs +22 -22
- package/dist/index.mjs +5 -5
- package/dist/tabs/index.cjs +2 -2
- package/dist/tabs/index.mjs +1 -1
- package/dist/theme.css +55 -4
- package/package.json +2 -3
|
@@ -177,7 +177,7 @@ var Tabs = forwardRef(function Tabs2({
|
|
|
177
177
|
)
|
|
178
178
|
}
|
|
179
179
|
),
|
|
180
|
-
canScrollRight && /* @__PURE__ */ jsxs("div", { className: "absolute right-0 z-20 flex h-full items-center pr-1 hidden pointer-events-none", children: [
|
|
180
|
+
canScrollRight && /* @__PURE__ */ jsxs("div", { className: "absolute right-0 z-20 flex h-full items-center pr-1 lg:hidden pointer-events-none", children: [
|
|
181
181
|
/* @__PURE__ */ jsx("div", { className: "w-8 h-full bg-gradient-to-l from-surface to-transparent pointer-events-none -mr-4" }),
|
|
182
182
|
/* @__PURE__ */ jsx(
|
|
183
183
|
IconButton,
|
|
@@ -179,7 +179,7 @@ var Tabs = react.forwardRef(function Tabs2({
|
|
|
179
179
|
)
|
|
180
180
|
}
|
|
181
181
|
),
|
|
182
|
-
canScrollRight && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "absolute right-0 z-20 flex h-full items-center pr-1 hidden pointer-events-none", children: [
|
|
182
|
+
canScrollRight && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "absolute right-0 z-20 flex h-full items-center pr-1 lg:hidden pointer-events-none", children: [
|
|
183
183
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "w-8 h-full bg-gradient-to-l from-surface to-transparent pointer-events-none -mr-4" }),
|
|
184
184
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
185
185
|
chunkTNGW5YHA_cjs.IconButton,
|
package/dist/index.cjs
CHANGED
|
@@ -4,16 +4,14 @@ var chunkPCYGJNEQ_cjs = require('./chunk-PCYGJNEQ.cjs');
|
|
|
4
4
|
var chunk7DDDQ3RH_cjs = require('./chunk-7DDDQ3RH.cjs');
|
|
5
5
|
var chunkLTG6YP5I_cjs = require('./chunk-LTG6YP5I.cjs');
|
|
6
6
|
require('./chunk-NMJ5CVZH.cjs');
|
|
7
|
-
var
|
|
8
|
-
var chunk3IPWW66F_cjs = require('./chunk-3IPWW66F.cjs');
|
|
7
|
+
var chunkY6AN7AWX_cjs = require('./chunk-Y6AN7AWX.cjs');
|
|
9
8
|
var chunkXFNRKHHF_cjs = require('./chunk-XFNRKHHF.cjs');
|
|
10
9
|
var chunkDHC5LI2P_cjs = require('./chunk-DHC5LI2P.cjs');
|
|
11
10
|
var chunkYMMNWJT6_cjs = require('./chunk-YMMNWJT6.cjs');
|
|
12
11
|
var chunkQ3IFXFFD_cjs = require('./chunk-Q3IFXFFD.cjs');
|
|
13
12
|
var chunkYK7IS7JL_cjs = require('./chunk-YK7IS7JL.cjs');
|
|
14
|
-
var chunkTNGW5YHA_cjs = require('./chunk-TNGW5YHA.cjs');
|
|
15
13
|
var chunkPJWELBN2_cjs = require('./chunk-PJWELBN2.cjs');
|
|
16
|
-
var
|
|
14
|
+
var chunkTNGW5YHA_cjs = require('./chunk-TNGW5YHA.cjs');
|
|
17
15
|
var chunkS7VEND5Z_cjs = require('./chunk-S7VEND5Z.cjs');
|
|
18
16
|
var chunk56ILK7Y4_cjs = require('./chunk-56ILK7Y4.cjs');
|
|
19
17
|
var chunkNRZIXK35_cjs = require('./chunk-NRZIXK35.cjs');
|
|
@@ -21,7 +19,7 @@ var chunk5RKET2JO_cjs = require('./chunk-5RKET2JO.cjs');
|
|
|
21
19
|
var chunkB4OV5GRT_cjs = require('./chunk-B4OV5GRT.cjs');
|
|
22
20
|
var chunkVRZFAKSV_cjs = require('./chunk-VRZFAKSV.cjs');
|
|
23
21
|
var chunk7R5JRJ2W_cjs = require('./chunk-7R5JRJ2W.cjs');
|
|
24
|
-
var
|
|
22
|
+
var chunkOEU5VG3D_cjs = require('./chunk-OEU5VG3D.cjs');
|
|
25
23
|
var chunkKLBABQEJ_cjs = require('./chunk-KLBABQEJ.cjs');
|
|
26
24
|
var chunkW2ZAPLQH_cjs = require('./chunk-W2ZAPLQH.cjs');
|
|
27
25
|
var chunkOPOCCRJG_cjs = require('./chunk-OPOCCRJG.cjs');
|
|
@@ -29,6 +27,7 @@ var chunkAJXVELXK_cjs = require('./chunk-AJXVELXK.cjs');
|
|
|
29
27
|
var chunkVC7MOPU6_cjs = require('./chunk-VC7MOPU6.cjs');
|
|
30
28
|
var chunk6R3OYBQ6_cjs = require('./chunk-6R3OYBQ6.cjs');
|
|
31
29
|
var chunkBBVWG5GH_cjs = require('./chunk-BBVWG5GH.cjs');
|
|
30
|
+
var chunkMVUNJPGH_cjs = require('./chunk-MVUNJPGH.cjs');
|
|
32
31
|
var chunkHIWJDLIS_cjs = require('./chunk-HIWJDLIS.cjs');
|
|
33
32
|
var chunk5J3OMAO4_cjs = require('./chunk-5J3OMAO4.cjs');
|
|
34
33
|
var chunkNRCNRHXL_cjs = require('./chunk-NRCNRHXL.cjs');
|
|
@@ -36,6 +35,7 @@ require('./chunk-6UO72EJA.cjs');
|
|
|
36
35
|
var chunk6CC5KIA5_cjs = require('./chunk-6CC5KIA5.cjs');
|
|
37
36
|
var chunkR72GDCWE_cjs = require('./chunk-R72GDCWE.cjs');
|
|
38
37
|
var chunkECLNLPOR_cjs = require('./chunk-ECLNLPOR.cjs');
|
|
38
|
+
var chunk7PDGAIC3_cjs = require('./chunk-7PDGAIC3.cjs');
|
|
39
39
|
var chunkL5VQZZVR_cjs = require('./chunk-L5VQZZVR.cjs');
|
|
40
40
|
var react = require('react');
|
|
41
41
|
var jsxRuntime = require('react/jsx-runtime');
|
|
@@ -631,17 +631,9 @@ Object.defineProperty(exports, "useTheme", {
|
|
|
631
631
|
enumerable: true,
|
|
632
632
|
get: function () { return chunkLTG6YP5I_cjs.useTheme; }
|
|
633
633
|
});
|
|
634
|
-
Object.defineProperty(exports, "Pagination", {
|
|
635
|
-
enumerable: true,
|
|
636
|
-
get: function () { return chunkOEU5VG3D_cjs.Pagination; }
|
|
637
|
-
});
|
|
638
|
-
Object.defineProperty(exports, "Table", {
|
|
639
|
-
enumerable: true,
|
|
640
|
-
get: function () { return chunkOEU5VG3D_cjs.Table; }
|
|
641
|
-
});
|
|
642
634
|
Object.defineProperty(exports, "Tabs", {
|
|
643
635
|
enumerable: true,
|
|
644
|
-
get: function () { return
|
|
636
|
+
get: function () { return chunkY6AN7AWX_cjs.Tabs; }
|
|
645
637
|
});
|
|
646
638
|
Object.defineProperty(exports, "TextInput", {
|
|
647
639
|
enumerable: true,
|
|
@@ -663,17 +655,13 @@ Object.defineProperty(exports, "Header", {
|
|
|
663
655
|
enumerable: true,
|
|
664
656
|
get: function () { return chunkYK7IS7JL_cjs.Header; }
|
|
665
657
|
});
|
|
666
|
-
Object.defineProperty(exports, "IconButton", {
|
|
667
|
-
enumerable: true,
|
|
668
|
-
get: function () { return chunkTNGW5YHA_cjs.IconButton; }
|
|
669
|
-
});
|
|
670
658
|
Object.defineProperty(exports, "Image", {
|
|
671
659
|
enumerable: true,
|
|
672
660
|
get: function () { return chunkPJWELBN2_cjs.Image; }
|
|
673
661
|
});
|
|
674
|
-
Object.defineProperty(exports, "
|
|
662
|
+
Object.defineProperty(exports, "IconButton", {
|
|
675
663
|
enumerable: true,
|
|
676
|
-
get: function () { return
|
|
664
|
+
get: function () { return chunkTNGW5YHA_cjs.IconButton; }
|
|
677
665
|
});
|
|
678
666
|
Object.defineProperty(exports, "Skeleton", {
|
|
679
667
|
enumerable: true,
|
|
@@ -719,9 +707,13 @@ Object.defineProperty(exports, "Select", {
|
|
|
719
707
|
enumerable: true,
|
|
720
708
|
get: function () { return chunk7R5JRJ2W_cjs.Select; }
|
|
721
709
|
});
|
|
722
|
-
Object.defineProperty(exports, "
|
|
710
|
+
Object.defineProperty(exports, "Pagination", {
|
|
723
711
|
enumerable: true,
|
|
724
|
-
get: function () { return
|
|
712
|
+
get: function () { return chunkOEU5VG3D_cjs.Pagination; }
|
|
713
|
+
});
|
|
714
|
+
Object.defineProperty(exports, "Table", {
|
|
715
|
+
enumerable: true,
|
|
716
|
+
get: function () { return chunkOEU5VG3D_cjs.Table; }
|
|
725
717
|
});
|
|
726
718
|
Object.defineProperty(exports, "ComboBox", {
|
|
727
719
|
enumerable: true,
|
|
@@ -783,6 +775,10 @@ Object.defineProperty(exports, "Link", {
|
|
|
783
775
|
enumerable: true,
|
|
784
776
|
get: function () { return chunkBBVWG5GH_cjs.Link; }
|
|
785
777
|
});
|
|
778
|
+
Object.defineProperty(exports, "Loader", {
|
|
779
|
+
enumerable: true,
|
|
780
|
+
get: function () { return chunkMVUNJPGH_cjs.Loader; }
|
|
781
|
+
});
|
|
786
782
|
Object.defineProperty(exports, "Avatar", {
|
|
787
783
|
enumerable: true,
|
|
788
784
|
get: function () { return chunkHIWJDLIS_cjs.Avatar; }
|
|
@@ -827,6 +823,10 @@ Object.defineProperty(exports, "CardTitle", {
|
|
|
827
823
|
enumerable: true,
|
|
828
824
|
get: function () { return chunkECLNLPOR_cjs.CardTitle; }
|
|
829
825
|
});
|
|
826
|
+
Object.defineProperty(exports, "Checkbox", {
|
|
827
|
+
enumerable: true,
|
|
828
|
+
get: function () { return chunk7PDGAIC3_cjs.Checkbox; }
|
|
829
|
+
});
|
|
830
830
|
Object.defineProperty(exports, "cn", {
|
|
831
831
|
enumerable: true,
|
|
832
832
|
get: function () { return chunkL5VQZZVR_cjs.cn; }
|
package/dist/index.mjs
CHANGED
|
@@ -2,16 +2,14 @@ export { Modal, ModalBody, ModalCloseButton, ModalFooter, ModalHeader } from './
|
|
|
2
2
|
export { SearchInput } from './chunk-VHVFRWF5.mjs';
|
|
3
3
|
export { ThemeProvider, useTheme } from './chunk-Y3NTKFUE.mjs';
|
|
4
4
|
import './chunk-SBNNV6FE.mjs';
|
|
5
|
-
export {
|
|
6
|
-
export { Tabs } from './chunk-K3IJEZ4S.mjs';
|
|
5
|
+
export { Tabs } from './chunk-G4HVY6FM.mjs';
|
|
7
6
|
export { TextInput } from './chunk-CMER5LO3.mjs';
|
|
8
7
|
export { TimePicker } from './chunk-VKQDW7C2.mjs';
|
|
9
8
|
export { Toaster } from './chunk-YOTCXSXL.mjs';
|
|
10
9
|
export { Sidebar } from './chunk-PJH2KEWK.mjs';
|
|
11
10
|
export { Header } from './chunk-EL7COTGN.mjs';
|
|
12
|
-
export { IconButton } from './chunk-BVBCAAES.mjs';
|
|
13
11
|
export { Image } from './chunk-JV6AWBN5.mjs';
|
|
14
|
-
export {
|
|
12
|
+
export { IconButton } from './chunk-BVBCAAES.mjs';
|
|
15
13
|
export { Skeleton, SkeletonAvatar, SkeletonCard, SkeletonTable, SkeletonText } from './chunk-32SKYPQW.mjs';
|
|
16
14
|
export { MultiSelect } from './chunk-JKPNJ4PZ.mjs';
|
|
17
15
|
export { OtpInput } from './chunk-RYWDZHKG.mjs';
|
|
@@ -19,7 +17,7 @@ export { PasswordInput } from './chunk-446OJWC6.mjs';
|
|
|
19
17
|
export { Phone } from './chunk-CBA54EY4.mjs';
|
|
20
18
|
export { RadioButton } from './chunk-DN2GFJF4.mjs';
|
|
21
19
|
export { Select } from './chunk-TIVSMCXZ.mjs';
|
|
22
|
-
export {
|
|
20
|
+
export { Pagination, Table } from './chunk-7364SUK6.mjs';
|
|
23
21
|
export { ComboBox } from './chunk-4DA7CRNV.mjs';
|
|
24
22
|
export { DatePicker } from './chunk-7WNJ7L4Z.mjs';
|
|
25
23
|
export { Dialog, DialogBody, DialogCloseButton, DialogFooter, DialogHeader } from './chunk-OQPCL5XX.mjs';
|
|
@@ -27,6 +25,7 @@ export { DropdownMenu, DropdownMenuContent, DropdownMenuItem, DropdownMenuSepara
|
|
|
27
25
|
export { Email } from './chunk-4QSDPHPI.mjs';
|
|
28
26
|
export { FileUpload } from './chunk-KA35BV7V.mjs';
|
|
29
27
|
export { Link } from './chunk-SHQ2MPBE.mjs';
|
|
28
|
+
export { Loader } from './chunk-4DR57X7U.mjs';
|
|
30
29
|
export { Avatar } from './chunk-B5MYGYJY.mjs';
|
|
31
30
|
export { Badge } from './chunk-H77YWN3L.mjs';
|
|
32
31
|
export { Breadcrumbs } from './chunk-DMLPA65B.mjs';
|
|
@@ -34,6 +33,7 @@ import './chunk-ARTXRQO6.mjs';
|
|
|
34
33
|
export { Button } from './chunk-RAD5VJHR.mjs';
|
|
35
34
|
export { Tooltip } from './chunk-65UZC3FK.mjs';
|
|
36
35
|
export { Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle } from './chunk-6ZCY4O5M.mjs';
|
|
36
|
+
export { Checkbox } from './chunk-SFUOCZJY.mjs';
|
|
37
37
|
import { cn } from './chunk-OCPFOFJ4.mjs';
|
|
38
38
|
export { cn } from './chunk-OCPFOFJ4.mjs';
|
|
39
39
|
import { forwardRef, useState, createContext, useContext, useCallback, Children } from 'react';
|
package/dist/tabs/index.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkY6AN7AWX_cjs = require('../chunk-Y6AN7AWX.cjs');
|
|
4
4
|
require('../chunk-TNGW5YHA.cjs');
|
|
5
5
|
require('../chunk-6CC5KIA5.cjs');
|
|
6
6
|
require('../chunk-R72GDCWE.cjs');
|
|
@@ -10,5 +10,5 @@ require('../chunk-L5VQZZVR.cjs');
|
|
|
10
10
|
|
|
11
11
|
Object.defineProperty(exports, "Tabs", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunkY6AN7AWX_cjs.Tabs; }
|
|
14
14
|
});
|
package/dist/tabs/index.mjs
CHANGED
package/dist/theme.css
CHANGED
|
@@ -1,11 +1,62 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
:
|
|
1
|
+
@theme {
|
|
2
|
+
/* Brand & Status Colors */
|
|
3
|
+
--color-primary: var(--primary);
|
|
4
|
+
--color-primary-hover: var(--primary-hover);
|
|
5
|
+
--color-primary-active: var(--primary-active);
|
|
6
|
+
--color-secondary: var(--secondary);
|
|
7
|
+
--color-secondary-hover: var(--secondary-hover);
|
|
8
|
+
--color-accent: var(--accent);
|
|
9
|
+
--color-success: var(--success);
|
|
10
|
+
--color-warning: var(--warning);
|
|
11
|
+
--color-error: var(--error);
|
|
12
|
+
--color-info: var(--info);
|
|
13
|
+
|
|
14
|
+
/* Layout & Surface Colors */
|
|
15
|
+
--color-background: var(--background);
|
|
16
|
+
--color-surface: var(--surface);
|
|
17
|
+
--color-surface-secondary: var(--surface-secondary);
|
|
18
|
+
--color-border: var(--border);
|
|
19
|
+
--color-border-light: var(--border-light);
|
|
20
|
+
--color-divider: var(--divider);
|
|
21
|
+
|
|
22
|
+
/* Text Colors */
|
|
23
|
+
--color-text: var(--text);
|
|
24
|
+
--color-text-secondary: var(--text-secondary);
|
|
25
|
+
--color-text-muted: var(--text-muted);
|
|
26
|
+
--color-text-inverse: var(--text-inverse);
|
|
27
|
+
|
|
28
|
+
/* Interaction Colors */
|
|
29
|
+
--color-hover: var(--hover);
|
|
30
|
+
--color-active: var(--active);
|
|
31
|
+
--color-focus: var(--focus);
|
|
32
|
+
--color-disabled: var(--disabled);
|
|
33
|
+
|
|
34
|
+
/* Semantic Mappings (Shadcn-like) */
|
|
35
|
+
--color-primary-foreground: var(--text-inverse);
|
|
36
|
+
--color-secondary-foreground: var(--text);
|
|
37
|
+
--color-muted: var(--surface-secondary);
|
|
38
|
+
--color-muted-foreground: var(--text-muted);
|
|
39
|
+
--color-accent-foreground: var(--text-inverse);
|
|
40
|
+
--color-destructive: var(--error);
|
|
41
|
+
--color-destructive-foreground: var(--text-inverse);
|
|
42
|
+
|
|
43
|
+
/* Shadows */
|
|
4
44
|
--shadow-sm: var(--shadow-sm);
|
|
5
45
|
--shadow-md: var(--shadow-md);
|
|
6
46
|
--shadow-lg: var(--shadow-lg);
|
|
7
47
|
--shadow-xl: var(--shadow-xl);
|
|
8
48
|
--shadow-2xl: var(--shadow-2xl);
|
|
9
49
|
--shadow-premium: var(--shadow-premium);
|
|
50
|
+
|
|
51
|
+
/* Durations */
|
|
52
|
+
--duration-fast: 150ms;
|
|
53
|
+
--duration-normal: 250ms;
|
|
54
|
+
--duration-slow: 400ms;
|
|
55
|
+
|
|
56
|
+
/* Z-Index */
|
|
57
|
+
--z-index-dropdown: 1000;
|
|
58
|
+
--z-index-sticky: 1020;
|
|
59
|
+
--z-index-popover: 1030;
|
|
60
|
+
--z-index-modal: 1050;
|
|
61
|
+
--z-index-tooltip: 1100;
|
|
10
62
|
}
|
|
11
|
-
/*! tailwindcss v4.2.1 | MIT License | https://tailwindcss.com */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bricks-toolkit/toolkit",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.10",
|
|
4
4
|
"description": "Micro-modularized, fully independent, type-safe UI component library",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "ITProfound",
|
|
@@ -367,7 +367,6 @@
|
|
|
367
367
|
},
|
|
368
368
|
"./styles.css": "./dist/styles.css",
|
|
369
369
|
"./theme.css": "./dist/theme.css"
|
|
370
|
-
|
|
371
370
|
},
|
|
372
371
|
"files": [
|
|
373
372
|
"dist",
|
|
@@ -376,7 +375,7 @@
|
|
|
376
375
|
],
|
|
377
376
|
"scripts": {
|
|
378
377
|
"storybook": "storybook dev -p 6006 --no-version-updates",
|
|
379
|
-
"build": "tsup",
|
|
378
|
+
"build": "tsup && copy src\\styles\\theme.css dist\\theme.css",
|
|
380
379
|
"build:watch": "tsup --watch",
|
|
381
380
|
"build:storybook": "storybook build",
|
|
382
381
|
"test": "vitest run",
|