@deepnoid/ui 0.1.62 → 0.1.64

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.
Files changed (119) hide show
  1. package/.turbo/turbo-build.log +180 -185
  2. package/dist/{chunk-NNDBEMPD.mjs → chunk-2FWSRQ57.mjs} +3 -3
  3. package/dist/{chunk-W6H3DI2L.mjs → chunk-5QFMOWCP.mjs} +1 -1
  4. package/dist/{chunk-DQX2CILT.mjs → chunk-CWDGTOBA.mjs} +2 -2
  5. package/dist/{chunk-XUY4V6IQ.mjs → chunk-E474F74W.mjs} +3 -3
  6. package/dist/{chunk-LW5CNZW5.mjs → chunk-EP66I5EV.mjs} +4 -4
  7. package/dist/{chunk-53UVUUMJ.mjs → chunk-IBA6DLZR.mjs} +5 -5
  8. package/dist/{chunk-QC2XOK2E.mjs → chunk-KXTA5GBQ.mjs} +4 -6
  9. package/dist/{chunk-VYUH25IC.mjs → chunk-LCLEMQ5R.mjs} +4 -4
  10. package/dist/{chunk-ZNDWOIP4.mjs → chunk-LOME6UDA.mjs} +1 -1
  11. package/dist/{chunk-JDWX2LKJ.mjs → chunk-MIQMNEXX.mjs} +1 -1
  12. package/dist/{chunk-CR7MUSOG.mjs → chunk-NEPQ6OUU.mjs} +1 -1
  13. package/dist/{chunk-YNKC7SHK.mjs → chunk-NKPABTQU.mjs} +2 -2
  14. package/dist/{chunk-BEKIKGI3.mjs → chunk-NLDBVRJT.mjs} +1 -1
  15. package/dist/{chunk-B2BSN6WP.mjs → chunk-O5KY2UQT.mjs} +1 -1
  16. package/dist/{chunk-CY2XMA4S.mjs → chunk-SDJS7YCJ.mjs} +3 -3
  17. package/dist/{chunk-3I7QA57V.mjs → chunk-SQF2SUJZ.mjs} +29 -0
  18. package/dist/{chunk-DZ6QJCDZ.mjs → chunk-TVIVXGEN.mjs} +1 -1
  19. package/dist/{chunk-XIQHJBEM.mjs → chunk-XLSYGPQA.mjs} +1 -1
  20. package/dist/{chunk-FNBVQ77W.mjs → chunk-YLYLDWUR.mjs} +2 -2
  21. package/dist/{chunk-BOT5U4IL.mjs → chunk-YOE2AVC6.mjs} +1 -1
  22. package/dist/{chunk-ATFYXYEV.mjs → chunk-ZGPNJQZX.mjs} +3 -3
  23. package/dist/{chunk-SWIYZRBZ.mjs → chunk-ZJURCHUU.mjs} +1 -1
  24. package/dist/components/avatar/avatar.js +29 -0
  25. package/dist/components/avatar/avatar.mjs +2 -2
  26. package/dist/components/avatar/index.js +29 -0
  27. package/dist/components/avatar/index.mjs +2 -2
  28. package/dist/components/breadcrumb/breadcrumb.js +29 -0
  29. package/dist/components/breadcrumb/breadcrumb.mjs +8 -8
  30. package/dist/components/breadcrumb/index.js +29 -0
  31. package/dist/components/breadcrumb/index.mjs +8 -8
  32. package/dist/components/button/button-group.d.mts +0 -1
  33. package/dist/components/button/button-group.d.ts +0 -1
  34. package/dist/components/button/button-group.js +4 -6
  35. package/dist/components/button/button-group.mjs +1 -1
  36. package/dist/components/button/button.js +29 -0
  37. package/dist/components/button/button.mjs +4 -4
  38. package/dist/components/button/icon-button.js +29 -0
  39. package/dist/components/button/icon-button.mjs +4 -4
  40. package/dist/components/button/index.js +33 -6
  41. package/dist/components/button/index.mjs +11 -11
  42. package/dist/components/chip/chip.js +29 -0
  43. package/dist/components/chip/chip.mjs +3 -3
  44. package/dist/components/chip/index.js +29 -0
  45. package/dist/components/chip/index.mjs +3 -3
  46. package/dist/components/dateTimePicker/calendar.js +29 -0
  47. package/dist/components/dateTimePicker/calendar.mjs +3 -3
  48. package/dist/components/dateTimePicker/dateTimePicker.js +29 -0
  49. package/dist/components/dateTimePicker/dateTimePicker.mjs +7 -7
  50. package/dist/components/dateTimePicker/index.js +29 -0
  51. package/dist/components/dateTimePicker/index.mjs +7 -7
  52. package/dist/components/dateTimePicker/timePicker.js +29 -0
  53. package/dist/components/dateTimePicker/timePicker.mjs +5 -5
  54. package/dist/components/fileUpload/fileUpload.js +29 -0
  55. package/dist/components/fileUpload/fileUpload.mjs +9 -9
  56. package/dist/components/fileUpload/index.js +29 -0
  57. package/dist/components/fileUpload/index.mjs +9 -9
  58. package/dist/components/icon/Icon.d.mts +4 -0
  59. package/dist/components/icon/Icon.d.ts +4 -0
  60. package/dist/components/icon/Icon.js +29 -0
  61. package/dist/components/icon/Icon.mjs +2 -2
  62. package/dist/components/icon/index.js +29 -0
  63. package/dist/components/icon/index.mjs +2 -2
  64. package/dist/components/icon/template.d.mts +1 -0
  65. package/dist/components/icon/template.d.ts +1 -0
  66. package/dist/components/icon/template.js +29 -0
  67. package/dist/components/icon/template.mjs +1 -1
  68. package/dist/components/input/index.js +29 -0
  69. package/dist/components/input/index.mjs +3 -3
  70. package/dist/components/input/input.js +29 -0
  71. package/dist/components/input/input.mjs +3 -3
  72. package/dist/components/list/index.js +29 -0
  73. package/dist/components/list/index.mjs +4 -4
  74. package/dist/components/list/listItem.js +29 -0
  75. package/dist/components/list/listItem.mjs +4 -4
  76. package/dist/components/modal/index.js +29 -0
  77. package/dist/components/modal/index.mjs +8 -8
  78. package/dist/components/modal/modal.js +29 -0
  79. package/dist/components/modal/modal.mjs +8 -8
  80. package/dist/components/pagination/index.js +29 -0
  81. package/dist/components/pagination/index.mjs +4 -4
  82. package/dist/components/pagination/pagination.js +29 -0
  83. package/dist/components/pagination/pagination.mjs +4 -4
  84. package/dist/components/ripple/index.mjs +3 -3
  85. package/dist/components/select/index.js +29 -0
  86. package/dist/components/select/index.mjs +3 -3
  87. package/dist/components/select/select.js +29 -0
  88. package/dist/components/select/select.mjs +3 -3
  89. package/dist/components/table/definition-table.d.mts +13 -6
  90. package/dist/components/table/definition-table.d.ts +13 -6
  91. package/dist/components/table/definition-table.js +99 -12
  92. package/dist/components/table/definition-table.mjs +2 -1
  93. package/dist/components/table/index.d.mts +1 -2
  94. package/dist/components/table/index.d.ts +1 -2
  95. package/dist/components/table/index.js +41 -41
  96. package/dist/components/table/index.mjs +10 -14
  97. package/dist/components/table/table.js +29 -0
  98. package/dist/components/table/table.mjs +7 -7
  99. package/dist/components/toast/index.js +29 -0
  100. package/dist/components/toast/index.mjs +4 -4
  101. package/dist/components/toast/toast.js +29 -0
  102. package/dist/components/toast/toast.mjs +3 -3
  103. package/dist/components/toast/use-toast.js +29 -0
  104. package/dist/components/toast/use-toast.mjs +4 -4
  105. package/dist/components/tree/index.js +29 -0
  106. package/dist/components/tree/index.mjs +3 -3
  107. package/dist/components/tree/tree.js +29 -0
  108. package/dist/components/tree/tree.mjs +3 -3
  109. package/dist/index.d.mts +1 -2
  110. package/dist/index.d.ts +1 -2
  111. package/dist/index.js +361 -363
  112. package/dist/index.mjs +51 -55
  113. package/package.json +1 -1
  114. package/dist/chunk-6TIIBU7J.mjs +0 -35
  115. package/dist/components/table/definition-table2.d.mts +0 -58
  116. package/dist/components/table/definition-table2.d.ts +0 -58
  117. package/dist/components/table/definition-table2.js +0 -438
  118. package/dist/components/table/definition-table2.mjs +0 -10
  119. /package/dist/{chunk-DLR42ZKG.mjs → chunk-DX3KXNP6.mjs} +0 -0
package/dist/index.mjs CHANGED
@@ -1,12 +1,10 @@
1
1
  "use client";
2
- import "./chunk-MBLZYQCN.mjs";
3
- import {
4
- tree_default
5
- } from "./chunk-BOT5U4IL.mjs";
6
- import "./chunk-LVFI2NOH.mjs";
2
+ import "./chunk-HIE2YRGA.mjs";
7
3
  import {
8
- switch_default
9
- } from "./chunk-AJUQBMSV.mjs";
4
+ tooltip_default
5
+ } from "./chunk-IL5ENWCR.mjs";
6
+ import "./chunk-ZMOAFSYE.mjs";
7
+ import "./chunk-WSIADHVC.mjs";
10
8
  import "./chunk-RRAZM5D3.mjs";
11
9
  import {
12
10
  textarea_default
@@ -15,66 +13,65 @@ import "./chunk-LUWGOKLG.mjs";
15
13
  import {
16
14
  ToastProvider,
17
15
  useToast
18
- } from "./chunk-CR7MUSOG.mjs";
16
+ } from "./chunk-NEPQ6OUU.mjs";
19
17
  import "./chunk-ZOTHPHXA.mjs";
20
18
  import {
21
19
  toast_default
22
- } from "./chunk-B2BSN6WP.mjs";
23
- import "./chunk-HIE2YRGA.mjs";
20
+ } from "./chunk-O5KY2UQT.mjs";
21
+ import "./chunk-MBLZYQCN.mjs";
24
22
  import {
25
- tooltip_default
26
- } from "./chunk-IL5ENWCR.mjs";
27
- import "./chunk-ZMOAFSYE.mjs";
28
- import "./chunk-WSIADHVC.mjs";
29
- import "./chunk-DLR42ZKG.mjs";
23
+ tree_default
24
+ } from "./chunk-YOE2AVC6.mjs";
25
+ import "./chunk-DX3KXNP6.mjs";
30
26
  import {
31
- definition_table2_default
32
- } from "./chunk-ATFYXYEV.mjs";
27
+ definition_table_default
28
+ } from "./chunk-ZGPNJQZX.mjs";
33
29
  import {
34
30
  table_default
35
- } from "./chunk-XUY4V6IQ.mjs";
31
+ } from "./chunk-E474F74W.mjs";
36
32
  import "./chunk-KJMJIFPS.mjs";
37
33
  import "./chunk-SBL6IHEW.mjs";
38
34
  import "./chunk-3MY6LO7N.mjs";
39
35
  import {
40
36
  tabs_default
41
37
  } from "./chunk-SSMMWMQC.mjs";
38
+ import "./chunk-DQRAFUDA.mjs";
39
+ import {
40
+ scrollArea_default
41
+ } from "./chunk-M37VBNB3.mjs";
42
42
  import "./chunk-QCEKPS7U.mjs";
43
43
  import {
44
44
  select_default
45
- } from "./chunk-W6H3DI2L.mjs";
45
+ } from "./chunk-5QFMOWCP.mjs";
46
+ import "./chunk-LVFI2NOH.mjs";
47
+ import {
48
+ switch_default
49
+ } from "./chunk-AJUQBMSV.mjs";
46
50
  import "./chunk-MZ76AA76.mjs";
47
51
  import {
48
52
  skeleton_default
49
53
  } from "./chunk-6PN3DGOE.mjs";
50
- import "./chunk-TPFN22HR.mjs";
51
- import {
52
- radio_default
53
- } from "./chunk-33LANVZV.mjs";
54
- import {
55
- definition_table_default
56
- } from "./chunk-6TIIBU7J.mjs";
57
54
  import "./chunk-7B7LRG5J.mjs";
58
55
  import {
59
56
  pagination_default
60
- } from "./chunk-YNKC7SHK.mjs";
57
+ } from "./chunk-NKPABTQU.mjs";
61
58
  import "./chunk-F3HENRVM.mjs";
62
- import "./chunk-DQRAFUDA.mjs";
59
+ import "./chunk-TPFN22HR.mjs";
63
60
  import {
64
- scrollArea_default
65
- } from "./chunk-M37VBNB3.mjs";
61
+ radio_default
62
+ } from "./chunk-33LANVZV.mjs";
66
63
  import "./chunk-DJOG6Z35.mjs";
67
64
  import {
68
65
  modal_default
69
- } from "./chunk-FNBVQ77W.mjs";
66
+ } from "./chunk-YLYLDWUR.mjs";
70
67
  import "./chunk-RLXOHILK.mjs";
71
68
  import {
72
69
  fileUpload_default
73
- } from "./chunk-53UVUUMJ.mjs";
70
+ } from "./chunk-IBA6DLZR.mjs";
74
71
  import "./chunk-2GCSFWHD.mjs";
75
72
  import {
76
73
  input_default
77
- } from "./chunk-ZNDWOIP4.mjs";
74
+ } from "./chunk-LOME6UDA.mjs";
78
75
  import "./chunk-32GA3YW4.mjs";
79
76
  import {
80
77
  drawer_default
@@ -87,26 +84,22 @@ import {
87
84
  import "./chunk-MGEWSREV.mjs";
88
85
  import {
89
86
  chip_default
90
- } from "./chunk-BEKIKGI3.mjs";
87
+ } from "./chunk-NLDBVRJT.mjs";
91
88
  import "./chunk-75HLCORR.mjs";
92
89
  import {
93
90
  dateTimePicker_default
94
- } from "./chunk-CY2XMA4S.mjs";
95
- import "./chunk-XIQHJBEM.mjs";
91
+ } from "./chunk-SDJS7YCJ.mjs";
92
+ import "./chunk-XLSYGPQA.mjs";
96
93
  import "./chunk-7MVEAQ7Z.mjs";
97
94
  import {
98
95
  list_default
99
96
  } from "./chunk-UFVQPPPW.mjs";
100
97
  import {
101
98
  listItem_default
102
- } from "./chunk-DQX2CILT.mjs";
99
+ } from "./chunk-CWDGTOBA.mjs";
103
100
  import "./chunk-FWJ2ZKH6.mjs";
104
- import "./chunk-SWIYZRBZ.mjs";
101
+ import "./chunk-ZJURCHUU.mjs";
105
102
  import "./chunk-P732YGHO.mjs";
106
- import "./chunk-7DLOYKVC.mjs";
107
- import {
108
- avatar_default
109
- } from "./chunk-JDWX2LKJ.mjs";
110
103
  import {
111
104
  areaChart_default
112
105
  } from "./chunk-VGFGIXS6.mjs";
@@ -116,6 +109,10 @@ import {
116
109
  import {
117
110
  circularProgress_default
118
111
  } from "./chunk-4SDLHEKS.mjs";
112
+ import "./chunk-7DLOYKVC.mjs";
113
+ import {
114
+ avatar_default
115
+ } from "./chunk-MIQMNEXX.mjs";
119
116
  import "./chunk-SE5TU755.mjs";
120
117
  import {
121
118
  backdrop_default
@@ -123,29 +120,29 @@ import {
123
120
  import "./chunk-KYIODWXL.mjs";
124
121
  import {
125
122
  breadcrumb_default
126
- } from "./chunk-NNDBEMPD.mjs";
123
+ } from "./chunk-2FWSRQ57.mjs";
127
124
  import "./chunk-MY5U63QO.mjs";
128
- import {
129
- icon_button_default
130
- } from "./chunk-LW5CNZW5.mjs";
131
- import {
132
- text_button_default
133
- } from "./chunk-YDGGBZAS.mjs";
134
125
  import {
135
126
  button_group_default
136
- } from "./chunk-QC2XOK2E.mjs";
127
+ } from "./chunk-KXTA5GBQ.mjs";
137
128
  import {
138
129
  button_default
139
- } from "./chunk-VYUH25IC.mjs";
130
+ } from "./chunk-LCLEMQ5R.mjs";
131
+ import {
132
+ icon_button_default
133
+ } from "./chunk-EP66I5EV.mjs";
140
134
  import "./chunk-6WSACUIB.mjs";
141
- import "./chunk-LXHUO6VM.mjs";
142
135
  import "./chunk-6PNKRBUT.mjs";
136
+ import "./chunk-LXHUO6VM.mjs";
143
137
  import "./chunk-ZYIIXWVY.mjs";
144
138
  import {
145
139
  Icon_default,
146
140
  iconTemplate
147
- } from "./chunk-DZ6QJCDZ.mjs";
148
- import "./chunk-3I7QA57V.mjs";
141
+ } from "./chunk-TVIVXGEN.mjs";
142
+ import {
143
+ text_button_default
144
+ } from "./chunk-YDGGBZAS.mjs";
145
+ import "./chunk-SQF2SUJZ.mjs";
149
146
  import "./chunk-27Y6K5NK.mjs";
150
147
  import "./chunk-E3G5QXSH.mjs";
151
148
  import {
@@ -166,7 +163,6 @@ export {
166
163
  circularProgress_default as CircularProgress,
167
164
  dateTimePicker_default as DateTimePicker,
168
165
  definition_table_default as DefinitionTable,
169
- definition_table2_default as DefinitionTable2,
170
166
  drawer_default as Drawer,
171
167
  fileUpload_default as FileUpload,
172
168
  Icon_default as Icon,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@deepnoid/ui",
3
- "version": "0.1.62",
3
+ "version": "0.1.64",
4
4
  "license": "MIT",
5
5
  "sideEffects": false,
6
6
  "exports": {
@@ -1,35 +0,0 @@
1
- "use client";
2
- import {
3
- tv
4
- } from "./chunk-4ZJFD3L3.mjs";
5
-
6
- // src/components/table/definition-table.tsx
7
- import { forwardRef, useMemo } from "react";
8
- import { jsx, jsxs } from "react/jsx-runtime";
9
- var DEFAULT_COLUMN_CLASSES = [
10
- "w-[120px] px-[10px] py-[9.5px] font-bold text-md text-body-foreground border-r border-neutral-light",
11
- "px-[10px] py-[9.5px]"
12
- ];
13
- var DefinitionTableRow = ({ columns, columnClasses = [] }) => /* @__PURE__ */ jsx("tr", { className: "border-neutral-light min-h-[50px] border-b", children: columns.map((col, index) => {
14
- var _a;
15
- return /* @__PURE__ */ jsx("td", { className: (_a = columnClasses[index]) != null ? _a : DEFAULT_COLUMN_CLASSES[index], children: col }, index);
16
- }) });
17
- var DefinitionTable = forwardRef(({ rows, footer, classNames }, ref) => {
18
- const slots = useMemo(() => DefinitionTableStyle(), []);
19
- return /* @__PURE__ */ jsxs("div", { ref, className: slots.base({ class: classNames == null ? void 0 : classNames.base }), children: [
20
- /* @__PURE__ */ jsx("table", { className: slots.table({ class: classNames == null ? void 0 : classNames.table }), children: /* @__PURE__ */ jsx("tbody", { children: rows.map((row, i) => /* @__PURE__ */ jsx(DefinitionTableRow, { ...row }, i)) }) }),
21
- footer && /* @__PURE__ */ jsx("div", { children: footer })
22
- ] });
23
- });
24
- DefinitionTable.displayName = "DefinitionTable";
25
- var definition_table_default = DefinitionTable;
26
- var DefinitionTableStyle = tv({
27
- slots: {
28
- base: ["flex", "flex-col", "gap-[30px]"],
29
- table: ["w-full", "table-fixed", "border", "border-neutral-light"]
30
- }
31
- });
32
-
33
- export {
34
- definition_table_default
35
- };
@@ -1,58 +0,0 @@
1
- import * as tailwind_variants from 'tailwind-variants';
2
- import * as tailwind_merge from 'tailwind-merge';
3
- import * as react from 'react';
4
- import { ReactNode } from 'react';
5
- import { SlotsToClasses } from '../../utils/types.mjs';
6
-
7
- type TableRowCell = {
8
- content: ReactNode;
9
- className?: string;
10
- colSpan?: number;
11
- rowSpan?: number;
12
- width?: string;
13
- };
14
- type TableRow = {
15
- cells: TableRowCell[];
16
- className?: string;
17
- };
18
- interface DefinitionTableProps {
19
- rows: TableRow[];
20
- footer?: ReactNode;
21
- classNames?: SlotsToClasses<DefinitionTableSlots>;
22
- }
23
- declare const DefinitionTable2: react.ForwardRefExoticComponent<DefinitionTableProps & react.RefAttributes<HTMLDivElement>>;
24
-
25
- declare const DefinitionTableStyle: tailwind_variants.TVReturnType<{
26
- [key: string]: {
27
- [key: string]: tailwind_merge.ClassNameValue | {
28
- base?: tailwind_merge.ClassNameValue;
29
- table?: tailwind_merge.ClassNameValue;
30
- };
31
- };
32
- } | {
33
- [x: string]: {
34
- [x: string]: tailwind_merge.ClassNameValue | {
35
- base?: tailwind_merge.ClassNameValue;
36
- table?: tailwind_merge.ClassNameValue;
37
- };
38
- };
39
- } | {}, {
40
- base: string[];
41
- table: string[];
42
- }, undefined, {
43
- [key: string]: {
44
- [key: string]: tailwind_merge.ClassNameValue | {
45
- base?: tailwind_merge.ClassNameValue;
46
- table?: tailwind_merge.ClassNameValue;
47
- };
48
- };
49
- } | {}, {
50
- base: string[];
51
- table: string[];
52
- }, tailwind_variants.TVReturnType<unknown, {
53
- base: string[];
54
- table: string[];
55
- }, undefined, unknown, unknown, undefined>>;
56
- type DefinitionTableSlots = keyof ReturnType<typeof DefinitionTableStyle>;
57
-
58
- export { type TableRow, type TableRowCell, DefinitionTable2 as default };
@@ -1,58 +0,0 @@
1
- import * as tailwind_variants from 'tailwind-variants';
2
- import * as tailwind_merge from 'tailwind-merge';
3
- import * as react from 'react';
4
- import { ReactNode } from 'react';
5
- import { SlotsToClasses } from '../../utils/types.js';
6
-
7
- type TableRowCell = {
8
- content: ReactNode;
9
- className?: string;
10
- colSpan?: number;
11
- rowSpan?: number;
12
- width?: string;
13
- };
14
- type TableRow = {
15
- cells: TableRowCell[];
16
- className?: string;
17
- };
18
- interface DefinitionTableProps {
19
- rows: TableRow[];
20
- footer?: ReactNode;
21
- classNames?: SlotsToClasses<DefinitionTableSlots>;
22
- }
23
- declare const DefinitionTable2: react.ForwardRefExoticComponent<DefinitionTableProps & react.RefAttributes<HTMLDivElement>>;
24
-
25
- declare const DefinitionTableStyle: tailwind_variants.TVReturnType<{
26
- [key: string]: {
27
- [key: string]: tailwind_merge.ClassNameValue | {
28
- base?: tailwind_merge.ClassNameValue;
29
- table?: tailwind_merge.ClassNameValue;
30
- };
31
- };
32
- } | {
33
- [x: string]: {
34
- [x: string]: tailwind_merge.ClassNameValue | {
35
- base?: tailwind_merge.ClassNameValue;
36
- table?: tailwind_merge.ClassNameValue;
37
- };
38
- };
39
- } | {}, {
40
- base: string[];
41
- table: string[];
42
- }, undefined, {
43
- [key: string]: {
44
- [key: string]: tailwind_merge.ClassNameValue | {
45
- base?: tailwind_merge.ClassNameValue;
46
- table?: tailwind_merge.ClassNameValue;
47
- };
48
- };
49
- } | {}, {
50
- base: string[];
51
- table: string[];
52
- }, tailwind_variants.TVReturnType<unknown, {
53
- base: string[];
54
- table: string[];
55
- }, undefined, unknown, unknown, undefined>>;
56
- type DefinitionTableSlots = keyof ReturnType<typeof DefinitionTableStyle>;
57
-
58
- export { type TableRow, type TableRowCell, DefinitionTable2 as default };