@kopexa/theme 1.7.6 → 2.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (144) hide show
  1. package/dist/{chunk-EXBKQDH5.mjs → chunk-3PCDCW7G.mjs} +1 -1
  2. package/dist/chunk-45KIKY4A.mjs +140 -0
  3. package/dist/{chunk-UEMJVVVF.mjs → chunk-5DOB3IBE.mjs} +14 -1
  4. package/dist/{chunk-SHHD2WUZ.mjs → chunk-7VZZASRG.mjs} +1 -1
  5. package/dist/chunk-BETLBSSF.mjs +23 -0
  6. package/dist/chunk-BWB7MWRC.mjs +22 -0
  7. package/dist/chunk-CPERWXKN.mjs +21 -0
  8. package/dist/chunk-DI54XTS5.mjs +56 -0
  9. package/dist/chunk-GRPMKEI2.mjs +34 -0
  10. package/dist/{chunk-ZL6FAOXE.mjs → chunk-HHOMDBMZ.mjs} +1 -1
  11. package/dist/chunk-HWEYNK3O.mjs +25 -0
  12. package/dist/{chunk-U32YEQZ5.mjs → chunk-IHITEH7V.mjs} +15 -9
  13. package/dist/chunk-IHW4FWFB.mjs +71 -0
  14. package/dist/{chunk-TJDRYBGW.mjs → chunk-JXQPOORM.mjs} +15 -9
  15. package/dist/{chunk-MWG2OZMD.mjs → chunk-LAJQAXSV.mjs} +7 -9
  16. package/dist/{chunk-VCLXE57S.mjs → chunk-LM7MKBHT.mjs} +7 -1
  17. package/dist/chunk-LMCM4CW2.mjs +22 -0
  18. package/dist/chunk-M3GQ563Q.mjs +33 -0
  19. package/dist/chunk-NFOF75HQ.mjs +106 -0
  20. package/dist/{chunk-JHKTRIIA.mjs → chunk-RQYYDG26.mjs} +4 -2
  21. package/dist/chunk-SPQE7K66.mjs +18 -0
  22. package/dist/chunk-TVC4THD6.mjs +16 -0
  23. package/dist/chunk-URGRCBNW.mjs +27 -0
  24. package/dist/chunk-VSVGOX3P.mjs +48 -0
  25. package/dist/chunk-XGUDXC5P.mjs +26 -0
  26. package/dist/{chunk-755GJHKQ.mjs → chunk-XRKUQMGU.mjs} +1 -1
  27. package/dist/{chunk-JQ74U2S3.mjs → chunk-YH6TDPK7.mjs} +4 -4
  28. package/dist/chunk-Z7D56R5U.mjs +70 -0
  29. package/dist/components/alert-dialog.d.mts +9 -9
  30. package/dist/components/alert-dialog.d.ts +9 -9
  31. package/dist/components/alert-dialog.js +11 -2
  32. package/dist/components/alert-dialog.mjs +1 -1
  33. package/dist/components/autocomplete.d.mts +73 -0
  34. package/dist/components/autocomplete.d.ts +73 -0
  35. package/dist/components/autocomplete.js +173 -0
  36. package/dist/components/autocomplete.mjs +8 -0
  37. package/dist/components/avatar.mjs +2 -2
  38. package/dist/components/button.d.mts +15 -0
  39. package/dist/components/button.d.ts +15 -0
  40. package/dist/components/button.js +12 -6
  41. package/dist/components/button.mjs +2 -2
  42. package/dist/components/chip.d.mts +3 -0
  43. package/dist/components/chip.d.ts +3 -0
  44. package/dist/components/chip.js +4 -2
  45. package/dist/components/chip.mjs +1 -1
  46. package/dist/components/color-highlight-button.d.mts +36 -0
  47. package/dist/components/color-highlight-button.d.ts +36 -0
  48. package/dist/components/color-highlight-button.js +45 -0
  49. package/dist/components/color-highlight-button.mjs +6 -0
  50. package/dist/components/command.d.mts +9 -9
  51. package/dist/components/command.d.ts +9 -9
  52. package/dist/components/data-grid.d.mts +325 -0
  53. package/dist/components/data-grid.d.ts +325 -0
  54. package/dist/components/data-grid.js +164 -0
  55. package/dist/components/data-grid.mjs +6 -0
  56. package/dist/components/dialog.js +7 -9
  57. package/dist/components/dialog.mjs +1 -1
  58. package/dist/components/drawer.d.mts +3 -3
  59. package/dist/components/drawer.d.ts +3 -3
  60. package/dist/components/drawer.js +21 -17
  61. package/dist/components/drawer.mjs +2 -2
  62. package/dist/components/dropdown-menu.js +1 -1
  63. package/dist/components/dropdown-menu.mjs +1 -1
  64. package/dist/components/editor-basic.d.mts +44 -0
  65. package/dist/components/editor-basic.d.ts +44 -0
  66. package/dist/components/editor-basic.js +58 -0
  67. package/dist/components/editor-basic.mjs +6 -0
  68. package/dist/components/editor-spinner.d.mts +60 -0
  69. package/dist/components/editor-spinner.d.ts +60 -0
  70. package/dist/components/editor-spinner.js +40 -0
  71. package/dist/components/editor-spinner.mjs +6 -0
  72. package/dist/components/hover-card.mjs +2 -2
  73. package/dist/components/index.d.mts +14 -0
  74. package/dist/components/index.d.ts +14 -0
  75. package/dist/components/index.js +815 -196
  76. package/dist/components/index.mjs +100 -44
  77. package/dist/components/input-group.d.mts +5 -0
  78. package/dist/components/input-group.d.ts +5 -0
  79. package/dist/components/input-group.js +49 -0
  80. package/dist/components/input-group.mjs +6 -0
  81. package/dist/components/input-wrapper.d.mts +25 -0
  82. package/dist/components/input-wrapper.d.ts +25 -0
  83. package/dist/components/input-wrapper.js +72 -0
  84. package/dist/components/input-wrapper.mjs +6 -0
  85. package/dist/components/input.d.mts +30 -129
  86. package/dist/components/input.d.ts +30 -129
  87. package/dist/components/input.js +58 -71
  88. package/dist/components/input.mjs +2 -2
  89. package/dist/components/kbd.d.mts +35 -0
  90. package/dist/components/kbd.d.ts +35 -0
  91. package/dist/components/kbd.js +47 -0
  92. package/dist/components/kbd.mjs +6 -0
  93. package/dist/components/label.d.mts +22 -0
  94. package/dist/components/label.d.ts +22 -0
  95. package/dist/components/label.js +46 -0
  96. package/dist/components/label.mjs +6 -0
  97. package/dist/components/popover.d.mts +79 -14
  98. package/dist/components/popover.d.ts +79 -14
  99. package/dist/components/popover.js +41 -4
  100. package/dist/components/popover.mjs +2 -2
  101. package/dist/components/scroll-area.d.mts +50 -0
  102. package/dist/components/scroll-area.d.ts +50 -0
  103. package/dist/components/scroll-area.js +42 -0
  104. package/dist/components/scroll-area.mjs +6 -0
  105. package/dist/components/select.d.mts +76 -0
  106. package/dist/components/select.d.ts +76 -0
  107. package/dist/components/select.js +145 -0
  108. package/dist/components/select.mjs +7 -0
  109. package/dist/components/separator.d.mts +2 -2
  110. package/dist/components/separator.d.ts +2 -2
  111. package/dist/components/separator.js +7 -1
  112. package/dist/components/separator.mjs +1 -1
  113. package/dist/components/skeleton-avatar.mjs +3 -3
  114. package/dist/components/slash-dropdown-menu.d.mts +54 -0
  115. package/dist/components/slash-dropdown-menu.d.ts +54 -0
  116. package/dist/components/slash-dropdown-menu.js +55 -0
  117. package/dist/components/slash-dropdown-menu.mjs +7 -0
  118. package/dist/components/standard-chip.d.mts +4 -0
  119. package/dist/components/standard-chip.d.ts +4 -0
  120. package/dist/components/standard-chip.js +4 -2
  121. package/dist/components/standard-chip.mjs +2 -2
  122. package/dist/components/textarea.d.mts +25 -0
  123. package/dist/components/textarea.d.ts +25 -0
  124. package/dist/components/textarea.js +72 -0
  125. package/dist/components/textarea.mjs +7 -0
  126. package/dist/components/toolbar.d.mts +34 -0
  127. package/dist/components/toolbar.d.ts +34 -0
  128. package/dist/components/toolbar.js +46 -0
  129. package/dist/components/toolbar.mjs +6 -0
  130. package/dist/editor.css +784 -0
  131. package/dist/index.css +39 -12
  132. package/dist/index.d.mts +14 -0
  133. package/dist/index.d.ts +14 -0
  134. package/dist/index.js +815 -196
  135. package/dist/index.mjs +100 -44
  136. package/dist/utils/classes.d.mts +13 -1
  137. package/dist/utils/classes.d.ts +13 -1
  138. package/dist/utils/classes.js +14 -0
  139. package/dist/utils/classes.mjs +3 -1
  140. package/package.json +24 -18
  141. package/dist/chunk-CPEP2RO4.mjs +0 -17
  142. package/dist/chunk-IKJHZT2S.mjs +0 -19
  143. package/dist/chunk-UMSU2ZEG.mjs +0 -96
  144. /package/dist/{chunk-MA4DKK64.mjs → chunk-UWWO4AVU.mjs} +0 -0
package/dist/index.mjs CHANGED
@@ -1,5 +1,23 @@
1
1
  import "./chunk-XSN6P5JL.mjs";
2
- import "./chunk-MA4DKK64.mjs";
2
+ import "./chunk-UWWO4AVU.mjs";
3
+ import {
4
+ toolbar
5
+ } from "./chunk-BWB7MWRC.mjs";
6
+ import {
7
+ tooltip
8
+ } from "./chunk-OLYO7UPH.mjs";
9
+ import {
10
+ slashDropdownMenu
11
+ } from "./chunk-URGRCBNW.mjs";
12
+ import {
13
+ spinner
14
+ } from "./chunk-4UDOCFU5.mjs";
15
+ import {
16
+ splitPageLayout
17
+ } from "./chunk-W7RJG22S.mjs";
18
+ import {
19
+ standardChip
20
+ } from "./chunk-7VZZASRG.mjs";
3
21
  import {
4
22
  tabNav
5
23
  } from "./chunk-ZLM6Z3W2.mjs";
@@ -10,14 +28,23 @@ import {
10
28
  tabs
11
29
  } from "./chunk-I6M4S2KZ.mjs";
12
30
  import {
13
- tooltip
14
- } from "./chunk-OLYO7UPH.mjs";
31
+ textarea
32
+ } from "./chunk-M3GQ563Q.mjs";
33
+ import {
34
+ riskIndicator
35
+ } from "./chunk-CZMZHA7U.mjs";
36
+ import {
37
+ scrollArea
38
+ } from "./chunk-SPQE7K66.mjs";
15
39
  import {
16
40
  sectionRow
17
41
  } from "./chunk-I4ZIT7EK.mjs";
42
+ import {
43
+ select
44
+ } from "./chunk-NFOF75HQ.mjs";
18
45
  import {
19
46
  separator
20
- } from "./chunk-VCLXE57S.mjs";
47
+ } from "./chunk-LM7MKBHT.mjs";
21
48
  import {
22
49
  sidebar,
23
50
  sidebarMenuAction,
@@ -25,19 +52,13 @@ import {
25
52
  } from "./chunk-GA6UOB2D.mjs";
26
53
  import {
27
54
  skeletonAvatar
28
- } from "./chunk-ZL6FAOXE.mjs";
55
+ } from "./chunk-HHOMDBMZ.mjs";
29
56
  import {
30
57
  skeleton
31
58
  } from "./chunk-VNQEJU4P.mjs";
32
59
  import {
33
- spinner
34
- } from "./chunk-4UDOCFU5.mjs";
35
- import {
36
- splitPageLayout
37
- } from "./chunk-W7RJG22S.mjs";
38
- import {
39
- standardChip
40
- } from "./chunk-SHHD2WUZ.mjs";
60
+ label
61
+ } from "./chunk-LMCM4CW2.mjs";
41
62
  import {
42
63
  pageHeader
43
64
  } from "./chunk-HAVJ6EQ6.mjs";
@@ -46,7 +67,7 @@ import {
46
67
  } from "./chunk-OULAICSC.mjs";
47
68
  import {
48
69
  popover
49
- } from "./chunk-IKJHZT2S.mjs";
70
+ } from "./chunk-DI54XTS5.mjs";
50
71
  import {
51
72
  previewCard
52
73
  } from "./chunk-WPOYEHD2.mjs";
@@ -59,31 +80,51 @@ import {
59
80
  import {
60
81
  riskBadge
61
82
  } from "./chunk-V2J5XG34.mjs";
62
- import {
63
- riskIndicator
64
- } from "./chunk-CZMZHA7U.mjs";
65
- import {
66
- drawer
67
- } from "./chunk-TJDRYBGW.mjs";
68
- import {
69
- dropdownMenu
70
- } from "./chunk-EXBKQDH5.mjs";
71
- import {
72
- frameworkRow
73
- } from "./chunk-TPFAZH22.mjs";
74
83
  import {
75
84
  heading
76
85
  } from "./chunk-NWKBPO37.mjs";
77
86
  import {
78
87
  hoverCard
79
- } from "./chunk-755GJHKQ.mjs";
88
+ } from "./chunk-XRKUQMGU.mjs";
80
89
  import {
81
- input,
82
- passwordInput
83
- } from "./chunk-UMSU2ZEG.mjs";
90
+ inputGroup
91
+ } from "./chunk-HWEYNK3O.mjs";
92
+ import {
93
+ inputWrapper
94
+ } from "./chunk-VSVGOX3P.mjs";
84
95
  import {
85
96
  integrationCard
86
97
  } from "./chunk-QOW6FLZ6.mjs";
98
+ import {
99
+ kbd
100
+ } from "./chunk-BETLBSSF.mjs";
101
+ import {
102
+ datagrid
103
+ } from "./chunk-45KIKY4A.mjs";
104
+ import {
105
+ dataTable
106
+ } from "./chunk-GNYTZGE5.mjs";
107
+ import {
108
+ drawer
109
+ } from "./chunk-JXQPOORM.mjs";
110
+ import {
111
+ dialog
112
+ } from "./chunk-LAJQAXSV.mjs";
113
+ import {
114
+ dropdownMenu
115
+ } from "./chunk-3PCDCW7G.mjs";
116
+ import {
117
+ editorBasic
118
+ } from "./chunk-GRPMKEI2.mjs";
119
+ import {
120
+ editorSpinner
121
+ } from "./chunk-TVC4THD6.mjs";
122
+ import {
123
+ frameworkRow
124
+ } from "./chunk-TPFAZH22.mjs";
125
+ import {
126
+ calendar
127
+ } from "./chunk-JWF5ABNP.mjs";
87
128
  import {
88
129
  callout
89
130
  } from "./chunk-XAHAVJUM.mjs";
@@ -95,45 +136,47 @@ import {
95
136
  } from "./chunk-A4KO7QKC.mjs";
96
137
  import {
97
138
  chip
98
- } from "./chunk-JHKTRIIA.mjs";
139
+ } from "./chunk-RQYYDG26.mjs";
99
140
  import {
100
141
  code
101
142
  } from "./chunk-ROZ24JVQ.mjs";
143
+ import {
144
+ colorHighlightButton
145
+ } from "./chunk-CPERWXKN.mjs";
102
146
  import {
103
147
  command
104
148
  } from "./chunk-YPHFKGNI.mjs";
105
- import {
106
- dataTable
107
- } from "./chunk-GNYTZGE5.mjs";
108
- import {
109
- dialog
110
- } from "./chunk-MWG2OZMD.mjs";
111
149
  import {
112
150
  accordion
113
151
  } from "./chunk-TLCFFCOP.mjs";
114
152
  import {
115
153
  alertDialog
116
- } from "./chunk-CPEP2RO4.mjs";
154
+ } from "./chunk-XGUDXC5P.mjs";
155
+ import {
156
+ autocomplete
157
+ } from "./chunk-Z7D56R5U.mjs";
158
+ import {
159
+ input,
160
+ passwordInput
161
+ } from "./chunk-IHW4FWFB.mjs";
117
162
  import {
118
163
  avatarGroup
119
164
  } from "./chunk-XCLEKBCJ.mjs";
120
165
  import {
121
166
  avatar
122
- } from "./chunk-JQ74U2S3.mjs";
167
+ } from "./chunk-YH6TDPK7.mjs";
123
168
  import {
124
169
  blankstate
125
170
  } from "./chunk-DICHD74Q.mjs";
126
171
  import {
127
172
  button
128
- } from "./chunk-U32YEQZ5.mjs";
129
- import "./chunk-UEMJVVVF.mjs";
173
+ } from "./chunk-IHITEH7V.mjs";
130
174
  import "./chunk-WSEO3MLK.mjs";
131
- import {
132
- calendar
133
- } from "./chunk-JWF5ABNP.mjs";
175
+ import "./chunk-5DOB3IBE.mjs";
134
176
  export {
135
177
  accordion,
136
178
  alertDialog,
179
+ autocomplete,
137
180
  avatar,
138
181
  avatarGroup,
139
182
  blankstate,
@@ -144,16 +187,24 @@ export {
144
187
  checkbox,
145
188
  chip,
146
189
  code,
190
+ colorHighlightButton,
147
191
  command,
148
192
  dataTable,
193
+ datagrid,
149
194
  dialog,
150
195
  drawer,
151
196
  dropdownMenu,
197
+ editorBasic,
198
+ editorSpinner,
152
199
  frameworkRow,
153
200
  heading,
154
201
  hoverCard,
155
202
  input,
203
+ inputGroup,
204
+ inputWrapper,
156
205
  integrationCard,
206
+ kbd,
207
+ label,
157
208
  pageHeader,
158
209
  pageLayout,
159
210
  passwordInput,
@@ -163,18 +214,23 @@ export {
163
214
  resizable,
164
215
  riskBadge,
165
216
  riskIndicator,
217
+ scrollArea,
166
218
  sectionRow,
219
+ select,
167
220
  separator,
168
221
  sidebar,
169
222
  sidebarMenuAction,
170
223
  sidebarMenuButton,
171
224
  skeleton,
172
225
  skeletonAvatar,
226
+ slashDropdownMenu,
173
227
  spinner,
174
228
  splitPageLayout,
175
229
  standardChip,
176
230
  tabNav,
177
231
  table,
178
232
  tabs,
233
+ textarea,
234
+ toolbar,
179
235
  tooltip
180
236
  };
@@ -9,5 +9,17 @@ declare const dataFocusVisibleClasses: string[];
9
9
  */
10
10
  declare const translateCenterClasses: string[];
11
11
  declare const popoverContentClasses: string[];
12
+ declare const inputClasses: {
13
+ radius: {
14
+ sm: string;
15
+ md: string;
16
+ lg: string;
17
+ };
18
+ height: {
19
+ sm: string;
20
+ md: string;
21
+ lg: string;
22
+ };
23
+ };
12
24
 
13
- export { dataFocusVisibleClasses, focusVisibleClasses, focusWithinClasses, popoverContentClasses, translateCenterClasses };
25
+ export { dataFocusVisibleClasses, focusVisibleClasses, focusWithinClasses, inputClasses, popoverContentClasses, translateCenterClasses };
@@ -9,5 +9,17 @@ declare const dataFocusVisibleClasses: string[];
9
9
  */
10
10
  declare const translateCenterClasses: string[];
11
11
  declare const popoverContentClasses: string[];
12
+ declare const inputClasses: {
13
+ radius: {
14
+ sm: string;
15
+ md: string;
16
+ lg: string;
17
+ };
18
+ height: {
19
+ sm: string;
20
+ md: string;
21
+ lg: string;
22
+ };
23
+ };
12
24
 
13
- export { dataFocusVisibleClasses, focusVisibleClasses, focusWithinClasses, popoverContentClasses, translateCenterClasses };
25
+ export { dataFocusVisibleClasses, focusVisibleClasses, focusWithinClasses, inputClasses, popoverContentClasses, translateCenterClasses };
@@ -23,6 +23,7 @@ __export(classes_exports, {
23
23
  dataFocusVisibleClasses: () => dataFocusVisibleClasses,
24
24
  focusVisibleClasses: () => focusVisibleClasses,
25
25
  focusWithinClasses: () => focusWithinClasses,
26
+ inputClasses: () => inputClasses,
26
27
  popoverContentClasses: () => popoverContentClasses,
27
28
  translateCenterClasses: () => translateCenterClasses
28
29
  });
@@ -46,11 +47,24 @@ var popoverContentClasses = [
46
47
  "bg-popover text-popover-foreground z-50",
47
48
  "rounded-md border p-4 shadow-md outline-hidden"
48
49
  ];
50
+ var inputClasses = {
51
+ radius: {
52
+ sm: "rounded-sm",
53
+ md: "rounded-md",
54
+ lg: "rounded-lg"
55
+ },
56
+ height: {
57
+ sm: "h-7 min-h-7",
58
+ md: "h-8.5 min-h-8.5",
59
+ lg: "h-10 min-h-10"
60
+ }
61
+ };
49
62
  // Annotate the CommonJS export names for ESM import in node:
50
63
  0 && (module.exports = {
51
64
  dataFocusVisibleClasses,
52
65
  focusVisibleClasses,
53
66
  focusWithinClasses,
67
+ inputClasses,
54
68
  popoverContentClasses,
55
69
  translateCenterClasses
56
70
  });
@@ -2,13 +2,15 @@ import {
2
2
  dataFocusVisibleClasses,
3
3
  focusVisibleClasses,
4
4
  focusWithinClasses,
5
+ inputClasses,
5
6
  popoverContentClasses,
6
7
  translateCenterClasses
7
- } from "../chunk-UEMJVVVF.mjs";
8
+ } from "../chunk-5DOB3IBE.mjs";
8
9
  export {
9
10
  dataFocusVisibleClasses,
10
11
  focusVisibleClasses,
11
12
  focusWithinClasses,
13
+ inputClasses,
12
14
  popoverContentClasses,
13
15
  translateCenterClasses
14
16
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kopexa/theme",
3
- "version": "1.7.6",
3
+ "version": "2.0.0",
4
4
  "description": "The default theme for Kopexa components",
5
5
  "keywords": [
6
6
  "theme",
@@ -15,6 +15,24 @@
15
15
  "homepage": "https://kopexa.com",
16
16
  "license": "Apache-2.0",
17
17
  "main": "dist/index.js",
18
+ "exports": {
19
+ ".": {
20
+ "types": "./dist/index.d.ts",
21
+ "import": "./dist/index.mjs",
22
+ "require": "./dist/index.js"
23
+ },
24
+ "./index.css": {
25
+ "default": "./dist/index.css",
26
+ "import": "./dist/index.css",
27
+ "require": "./dist/index.css"
28
+ },
29
+ "./editor.css": {
30
+ "default": "./dist/editor.css",
31
+ "import": "./dist/editor.css",
32
+ "require": "./dist/editor.css"
33
+ },
34
+ "./package.json": "./package.json"
35
+ },
18
36
  "sideEffects": false,
19
37
  "files": [
20
38
  "dist",
@@ -37,15 +55,16 @@
37
55
  "url": "https://github.com/kopexa-grc/sight/issues"
38
56
  },
39
57
  "dependencies": {
58
+ "@tiptap/extension-drag-handle-react": "^3.4.6",
40
59
  "clsx": "^2.1.1",
41
60
  "color": "^5.0.0",
42
61
  "color2k": "^2.0.3",
43
62
  "deepmerge": "4.3.1",
44
63
  "flat": "^6.0.1",
45
64
  "tailwind-merge": "3.3.1",
46
- "tailwind-variants": "2.1.0",
47
- "tw-animate-css": "^1.3.6",
48
- "@kopexa/shared-utils": "1.1.7"
65
+ "tailwind-variants": "^3.1.1",
66
+ "tw-animate-css": "^1.3.8",
67
+ "@kopexa/shared-utils": "2.0.0"
49
68
  },
50
69
  "peerDependencies": {
51
70
  "tailwindcss": ">=4.0.0"
@@ -54,7 +73,7 @@
54
73
  "@types/color": "^4.2.0",
55
74
  "@types/flat": "^5.0.2",
56
75
  "clean-package": "2.2.0",
57
- "tailwindcss": "4.1.12"
76
+ "tailwindcss": "^4.1.13"
58
77
  },
59
78
  "tsup": {
60
79
  "clean": true,
@@ -67,19 +86,6 @@
67
86
  },
68
87
  "module": "dist/index.mjs",
69
88
  "types": "dist/index.d.ts",
70
- "exports": {
71
- ".": {
72
- "types": "./dist/index.d.ts",
73
- "import": "./dist/index.mjs",
74
- "require": "./dist/index.js"
75
- },
76
- "./index.css": {
77
- "default": "./dist/index.css",
78
- "import": "./dist/index.css",
79
- "require": "./dist/index.css"
80
- },
81
- "./package.json": "./package.json"
82
- },
83
89
  "scripts": {
84
90
  "build": "tsup src --dts",
85
91
  "build:fast": "tsup src",
@@ -1,17 +0,0 @@
1
- // src/components/alert-dialog.ts
2
- import { tv } from "tailwind-variants";
3
- var alertDialog = tv({
4
- slots: {
5
- overlay: "data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/50",
6
- content: "bg-background data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 fixed top-[50%] left-[50%] z-50 grid w-full max-w-[calc(100%-2rem)] translate-x-[-50%] translate-y-[-50%] gap-4 rounded-lg border p-6 shadow-lg duration-200 sm:max-w-lg",
7
- header: "flex flex-col gap-2 text-center sm:text-left",
8
- footer: "flex flex-col-reverse gap-2 sm:flex-row sm:justify-end",
9
- title: "text-lg font-semibold",
10
- description: "text-muted-foreground text-sm",
11
- action: ""
12
- }
13
- });
14
-
15
- export {
16
- alertDialog
17
- };
@@ -1,19 +0,0 @@
1
- import {
2
- popoverContentClasses
3
- } from "./chunk-UEMJVVVF.mjs";
4
-
5
- // src/components/popover.ts
6
- import { tv } from "tailwind-variants";
7
- var popover = tv({
8
- slots: {
9
- content: [
10
- ...popoverContentClasses,
11
- "w-72",
12
- "origin-(--radix-popover-content-transform-origin)"
13
- ]
14
- }
15
- });
16
-
17
- export {
18
- popover
19
- };
@@ -1,96 +0,0 @@
1
- import {
2
- focusWithinClasses
3
- } from "./chunk-UEMJVVVF.mjs";
4
-
5
- // src/components/input.ts
6
- import { tv } from "tailwind-variants";
7
- var passwordInput = tv({
8
- slots: {
9
- button: "focus:outline-hidden",
10
- icon: "pointer-events-none text-muted-foreground"
11
- }
12
- });
13
- var input = tv({
14
- base: [],
15
- slots: {
16
- inputWrapper: [
17
- "relative w-full inline-flex flex-row items-center shadow-xs px-3 gap-3 [&_svg]:shrink-0",
18
- "border-input border dark:bg-input/30 data-[hidden=true]:hidden transition-[color,box-shadow]",
19
- "data-disabled:pointer-events-none data-disabled:cursor-not-allowed data-disabled:opacity-50",
20
- ...focusWithinClasses
21
- ],
22
- innerWrapper: "inline-flex w-full items-center h-full box-border",
23
- input: [
24
- "w-full font-normal outline-hidden focus-visible:outline-hidden",
25
- "data-[has-start-content=true]:ps-1.5",
26
- "data-[has-end-content=true]:pe-1.5",
27
- "file:cursor-pointer file:bg-transparent file:border-0",
28
- "autofill:bg-transparent bg-clip-text",
29
- // legacy
30
- "selection:bg-primary selection:text-primary-foreground placeholder:text-muted-foreground",
31
- "flex",
32
- // file
33
- "file:text-foreground file:inline-flex file:text-sm file:font-medium",
34
- "aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive"
35
- ],
36
- clearButton: [
37
- "p-2 -m-2 z-10 absolute end-3 start-auto pointer-events-none",
38
- "appearance-none outline-hidden select-none opacity-0 cursor-pointer",
39
- "active:!opacity-70 rounded-full"
40
- ]
41
- },
42
- variants: {
43
- size: {
44
- sm: {
45
- inputWrapper: ["h-8 min-h-8 px-2 rounded-sm [&_svg]:size-4"],
46
- input: "text-sm file:h-6"
47
- },
48
- md: {
49
- inputWrapper: "h-10 min-10 rounded-md [&_svg]:size-4",
50
- input: "text-base md:text-sm file:h-8",
51
- clearButton: "hover:opacity-100"
52
- },
53
- lg: {
54
- inputWrapper: "h-12 min-h-12 rounded-lg [&_svg]:size-4",
55
- input: "text-base file:h-10",
56
- clearButton: "hover:opacity-100"
57
- }
58
- },
59
- radius: {
60
- none: {
61
- inputWrapper: "rounded-none"
62
- },
63
- sm: {
64
- inputWrapper: "rounded-sm"
65
- },
66
- md: {
67
- inputWrapper: "rounded-md"
68
- },
69
- lg: {
70
- inputWrapper: "rounded-lg"
71
- },
72
- full: {
73
- inputWrapper: "rounded-full"
74
- }
75
- },
76
- isClearable: {
77
- true: {
78
- input: "peer pe-6",
79
- clearButton: [
80
- "peer-data-[filled=true]:pointer-events-auto",
81
- "peer-data-[filled=true]:opacity-70 peer-data-[filled=true]:block",
82
- "peer-data-[filled=true]:scale-100"
83
- ]
84
- },
85
- false: {}
86
- }
87
- },
88
- defaultVariants: {
89
- size: "sm"
90
- }
91
- });
92
-
93
- export {
94
- passwordInput,
95
- input
96
- };
File without changes