@deepnoid/ui 1.0.18 → 1.0.20

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 (82) hide show
  1. package/dist/{chunk-Q5T3XRA3.mjs → chunk-2WAQRWST.mjs} +30 -45
  2. package/dist/{chunk-AZT7MLD2.mjs → chunk-3K4OTUIB.mjs} +1 -1
  3. package/dist/{chunk-OCTLSRX2.mjs → chunk-7OP3JEMA.mjs} +1 -1
  4. package/dist/{chunk-Y6EIO72X.mjs → chunk-BJWYF2WY.mjs} +4 -4
  5. package/dist/{chunk-ZPMS2CYP.mjs → chunk-BVXQAYQN.mjs} +1 -1
  6. package/dist/{chunk-BA7IXGUO.mjs → chunk-IOJMTN6X.mjs} +4 -4
  7. package/dist/{chunk-TLVLL4UG.mjs → chunk-JGF5TY7M.mjs} +1 -1
  8. package/dist/{chunk-6ZVFACPA.mjs → chunk-KAB3AB67.mjs} +1 -1
  9. package/dist/{chunk-ZDZKGGK3.mjs → chunk-KIINY2GS.mjs} +1 -1
  10. package/dist/{chunk-G45IQ6PX.mjs → chunk-L6KQCZIW.mjs} +2 -2
  11. package/dist/{chunk-FPPUSH7C.mjs → chunk-N4KPGD2N.mjs} +1 -1
  12. package/dist/{chunk-LFPED3UH.mjs → chunk-O5VW7CHY.mjs} +4 -4
  13. package/dist/{chunk-K535MLKN.mjs → chunk-QTLP2B76.mjs} +2 -2
  14. package/dist/{chunk-FQBE4HWT.mjs → chunk-VZPVEICG.mjs} +1 -1
  15. package/dist/{chunk-FXPU725A.mjs → chunk-WQG4OYM6.mjs} +4 -4
  16. package/dist/{chunk-AYTOWECM.mjs → chunk-WS4SOWDZ.mjs} +1 -1
  17. package/dist/components/breadcrumb/breadcrumb.js +30 -45
  18. package/dist/components/breadcrumb/breadcrumb.mjs +6 -6
  19. package/dist/components/breadcrumb/index.js +30 -45
  20. package/dist/components/breadcrumb/index.mjs +6 -6
  21. package/dist/components/button/button.d.mts +24 -0
  22. package/dist/components/button/button.d.ts +24 -0
  23. package/dist/components/button/button.js +30 -45
  24. package/dist/components/button/button.mjs +3 -3
  25. package/dist/components/button/button.style.d.mts +18 -0
  26. package/dist/components/button/button.style.d.ts +18 -0
  27. package/dist/components/button/button.style.js +30 -45
  28. package/dist/components/button/button.style.mjs +1 -1
  29. package/dist/components/button/icon-button.d.mts +24 -0
  30. package/dist/components/button/icon-button.d.ts +24 -0
  31. package/dist/components/button/icon-button.js +30 -45
  32. package/dist/components/button/icon-button.mjs +3 -3
  33. package/dist/components/button/index.js +30 -45
  34. package/dist/components/button/index.mjs +5 -5
  35. package/dist/components/button/text-button.d.mts +24 -0
  36. package/dist/components/button/text-button.d.ts +24 -0
  37. package/dist/components/button/text-button.js +30 -45
  38. package/dist/components/button/text-button.mjs +2 -2
  39. package/dist/components/fileUpload/fileUpload.js +34 -49
  40. package/dist/components/fileUpload/fileUpload.mjs +7 -7
  41. package/dist/components/fileUpload/index.js +34 -49
  42. package/dist/components/fileUpload/index.mjs +7 -7
  43. package/dist/components/input/index.js +4 -4
  44. package/dist/components/input/index.mjs +1 -1
  45. package/dist/components/input/input.js +4 -4
  46. package/dist/components/input/input.mjs +1 -1
  47. package/dist/components/modal/GlobalModalProvider.js +30 -45
  48. package/dist/components/modal/GlobalModalProvider.mjs +7 -7
  49. package/dist/components/modal/index.js +30 -45
  50. package/dist/components/modal/index.mjs +8 -8
  51. package/dist/components/modal/modal.js +30 -45
  52. package/dist/components/modal/modal.mjs +6 -6
  53. package/dist/components/modal/useGlobalModal.mjs +8 -8
  54. package/dist/components/pagination/index.js +4 -4
  55. package/dist/components/pagination/index.mjs +2 -2
  56. package/dist/components/pagination/pagination.js +4 -4
  57. package/dist/components/pagination/pagination.mjs +2 -2
  58. package/dist/components/picker/datePicker.js +34 -49
  59. package/dist/components/picker/datePicker.mjs +7 -7
  60. package/dist/components/picker/index.js +34 -49
  61. package/dist/components/picker/index.mjs +9 -9
  62. package/dist/components/picker/timePicker/Panel.js +30 -45
  63. package/dist/components/picker/timePicker/Panel.mjs +6 -6
  64. package/dist/components/picker/timePicker/index.js +34 -49
  65. package/dist/components/picker/timePicker/index.mjs +8 -8
  66. package/dist/components/ripple/index.mjs +3 -3
  67. package/dist/components/select/index.js +30 -45
  68. package/dist/components/select/index.mjs +6 -6
  69. package/dist/components/select/select.js +30 -45
  70. package/dist/components/select/select.mjs +6 -6
  71. package/dist/components/table/index.js +4 -4
  72. package/dist/components/table/index.mjs +6 -6
  73. package/dist/components/table/table-body.js +4 -4
  74. package/dist/components/table/table-body.mjs +4 -4
  75. package/dist/components/table/table-head.js +4 -4
  76. package/dist/components/table/table-head.mjs +4 -4
  77. package/dist/components/table/table.js +4 -4
  78. package/dist/components/table/table.mjs +4 -4
  79. package/dist/index.js +34 -49
  80. package/dist/index.mjs +54 -54
  81. package/dist/tailwind-config/styles/tokens/theme.css +24 -0
  82. package/package.json +1 -1
@@ -5031,7 +5031,7 @@ var buttonBaseStyle = tv({
5031
5031
  variant: {
5032
5032
  solid: {},
5033
5033
  soft: {},
5034
- outline: { base: ["bg-transparent"] },
5034
+ outline: { base: ["bg-body-background"] },
5035
5035
  ghost: {}
5036
5036
  },
5037
5037
  color: {
@@ -5043,6 +5043,12 @@ var buttonBaseStyle = tv({
5043
5043
  warning: {},
5044
5044
  danger: {}
5045
5045
  },
5046
+ size: {
5047
+ sm: {},
5048
+ md: {},
5049
+ lg: {},
5050
+ xl: {}
5051
+ },
5046
5052
  disabled: {
5047
5053
  true: {
5048
5054
  base: ["!bg-neutral-soft", "!border-neutral-soft", "!text-neutral-light", "pointer-events-none"]
@@ -5050,7 +5056,7 @@ var buttonBaseStyle = tv({
5050
5056
  },
5051
5057
  isInGroup: {
5052
5058
  true: {
5053
- base: ["!rounded-none", "[&:not(:first-child)]:border-l-0"]
5059
+ base: ["!rounded-none"]
5054
5060
  }
5055
5061
  }
5056
5062
  },
@@ -5144,85 +5150,49 @@ var buttonBaseStyle = tv({
5144
5150
  variant: "soft",
5145
5151
  color: "primary",
5146
5152
  class: {
5147
- base: [
5148
- "text-primary-main",
5149
- "bg-primary-soft",
5150
- "border-primary-soft",
5151
- "hover:border-primary-light",
5152
- "active:bg-primary-light"
5153
- ]
5153
+ base: ["text-primary-main", "bg-primary-soft", "hover:border-primary-light", "active:bg-primary-light"]
5154
5154
  }
5155
5155
  },
5156
5156
  {
5157
5157
  variant: "soft",
5158
5158
  color: "secondary",
5159
5159
  class: {
5160
- base: [
5161
- "text-secondary-main",
5162
- "bg-secondary-soft",
5163
- "border-secondary-soft",
5164
- "hover:border-secondary-light",
5165
- "active:bg-secondary-light"
5166
- ]
5160
+ base: ["text-secondary-main", "bg-secondary-soft", "hover:border-secondary-light", "active:bg-secondary-light"]
5167
5161
  }
5168
5162
  },
5169
5163
  {
5170
5164
  variant: "soft",
5171
5165
  color: "neutral",
5172
5166
  class: {
5173
- base: [
5174
- "text-neutral-main",
5175
- "bg-neutral-soft",
5176
- "border-neutral-soft",
5177
- "hover:border-neutral-light",
5178
- "active:bg-neutral-light"
5179
- ]
5167
+ base: ["text-neutral-main", "bg-neutral-soft", "hover:border-neutral-light", "active:bg-neutral-light"]
5180
5168
  }
5181
5169
  },
5182
5170
  {
5183
5171
  variant: "soft",
5184
5172
  color: "info",
5185
5173
  class: {
5186
- base: ["text-info-main", "bg-info-soft", "border-info-soft", "hover:border-info-light", "active:bg-info-light"]
5174
+ base: ["text-info-main", "bg-info-soft", "hover:border-info-light", "active:bg-info-light"]
5187
5175
  }
5188
5176
  },
5189
5177
  {
5190
5178
  variant: "soft",
5191
5179
  color: "success",
5192
5180
  class: {
5193
- base: [
5194
- "text-success-main",
5195
- "bg-success-soft",
5196
- "border-success-soft",
5197
- "hover:border-success-light",
5198
- "active:bg-success-light"
5199
- ]
5181
+ base: ["text-success-main", "bg-success-soft", "hover:border-success-light", "active:bg-success-light"]
5200
5182
  }
5201
5183
  },
5202
5184
  {
5203
5185
  variant: "soft",
5204
5186
  color: "warning",
5205
5187
  class: {
5206
- base: [
5207
- "text-warning-main",
5208
- "bg-warning-soft",
5209
- "border-warning-soft",
5210
- "hover:border-warning-light",
5211
- "active:bg-warning-light"
5212
- ]
5188
+ base: ["text-warning-main", "bg-warning-soft", "hover:border-warning-light", "active:bg-warning-light"]
5213
5189
  }
5214
5190
  },
5215
5191
  {
5216
5192
  variant: "soft",
5217
5193
  color: "danger",
5218
5194
  class: {
5219
- base: [
5220
- "text-danger-main",
5221
- "bg-danger-soft",
5222
- "border-danger-soft",
5223
- "hover:border-danger-light",
5224
- "active:bg-danger-light"
5225
- ]
5195
+ base: ["text-danger-main", "bg-danger-soft", "hover:border-danger-light", "active:bg-danger-light"]
5226
5196
  }
5227
5197
  },
5228
5198
  // outline & color
@@ -5410,6 +5380,21 @@ var buttonBaseStyle = tv({
5410
5380
  class: {
5411
5381
  base: ["!border-neutral-light"]
5412
5382
  }
5383
+ },
5384
+ // variant && isInGroup
5385
+ {
5386
+ variant: ["outline"],
5387
+ isInGroup: true,
5388
+ class: {
5389
+ base: ["[&:not(:first-child)]:!border-l-0"]
5390
+ }
5391
+ },
5392
+ {
5393
+ variant: ["soft"],
5394
+ isInGroup: true,
5395
+ class: {
5396
+ base: ["hover:!z-10", "active:!z-20", "focus:!z-20", "border-l-none"]
5397
+ }
5413
5398
  }
5414
5399
  ]
5415
5400
  });
@@ -2,18 +2,18 @@
2
2
  import "../../chunk-KYIODWXL.mjs";
3
3
  import {
4
4
  breadcrumb_default
5
- } from "../../chunk-AZT7MLD2.mjs";
5
+ } from "../../chunk-3K4OTUIB.mjs";
6
6
  import "../../chunk-MY5U63QO.mjs";
7
- import "../../chunk-BA7IXGUO.mjs";
8
- import "../../chunk-ZDZKGGK3.mjs";
7
+ import "../../chunk-IOJMTN6X.mjs";
8
+ import "../../chunk-KIINY2GS.mjs";
9
9
  import "../../chunk-LHWHM4LQ.mjs";
10
- import "../../chunk-LFPED3UH.mjs";
10
+ import "../../chunk-O5VW7CHY.mjs";
11
11
  import "../../chunk-6WSACUIB.mjs";
12
- import "../../chunk-SZL743JC.mjs";
13
12
  import "../../chunk-LXHUO6VM.mjs";
13
+ import "../../chunk-SZL743JC.mjs";
14
14
  import "../../chunk-ZYIIXWVY.mjs";
15
15
  import "../../chunk-A6UUVHC6.mjs";
16
- import "../../chunk-Q5T3XRA3.mjs";
16
+ import "../../chunk-2WAQRWST.mjs";
17
17
  import "../../chunk-27Y6K5NK.mjs";
18
18
  import "../../chunk-E3G5QXSH.mjs";
19
19
  import "../../chunk-AOU4QX7H.mjs";
@@ -71,6 +71,12 @@ declare const buttonStyle: tailwind_variants.TVReturnType<{
71
71
  warning: {};
72
72
  danger: {};
73
73
  };
74
+ size: {
75
+ sm: {};
76
+ md: {};
77
+ lg: {};
78
+ xl: {};
79
+ };
74
80
  disabled: {
75
81
  true: {
76
82
  base: string[];
@@ -101,6 +107,12 @@ declare const buttonStyle: tailwind_variants.TVReturnType<{
101
107
  warning: {};
102
108
  danger: {};
103
109
  };
110
+ size: {
111
+ sm: {};
112
+ md: {};
113
+ lg: {};
114
+ xl: {};
115
+ };
104
116
  disabled: {
105
117
  true: {
106
118
  base: string[];
@@ -131,6 +143,12 @@ declare const buttonStyle: tailwind_variants.TVReturnType<{
131
143
  warning: {};
132
144
  danger: {};
133
145
  };
146
+ size: {
147
+ sm: {};
148
+ md: {};
149
+ lg: {};
150
+ xl: {};
151
+ };
134
152
  disabled: {
135
153
  true: {
136
154
  base: string[];
@@ -161,6 +179,12 @@ declare const buttonStyle: tailwind_variants.TVReturnType<{
161
179
  warning: {};
162
180
  danger: {};
163
181
  };
182
+ size: {
183
+ sm: {};
184
+ md: {};
185
+ lg: {};
186
+ xl: {};
187
+ };
164
188
  disabled: {
165
189
  true: {
166
190
  base: string[];
@@ -71,6 +71,12 @@ declare const buttonStyle: tailwind_variants.TVReturnType<{
71
71
  warning: {};
72
72
  danger: {};
73
73
  };
74
+ size: {
75
+ sm: {};
76
+ md: {};
77
+ lg: {};
78
+ xl: {};
79
+ };
74
80
  disabled: {
75
81
  true: {
76
82
  base: string[];
@@ -101,6 +107,12 @@ declare const buttonStyle: tailwind_variants.TVReturnType<{
101
107
  warning: {};
102
108
  danger: {};
103
109
  };
110
+ size: {
111
+ sm: {};
112
+ md: {};
113
+ lg: {};
114
+ xl: {};
115
+ };
104
116
  disabled: {
105
117
  true: {
106
118
  base: string[];
@@ -131,6 +143,12 @@ declare const buttonStyle: tailwind_variants.TVReturnType<{
131
143
  warning: {};
132
144
  danger: {};
133
145
  };
146
+ size: {
147
+ sm: {};
148
+ md: {};
149
+ lg: {};
150
+ xl: {};
151
+ };
134
152
  disabled: {
135
153
  true: {
136
154
  base: string[];
@@ -161,6 +179,12 @@ declare const buttonStyle: tailwind_variants.TVReturnType<{
161
179
  warning: {};
162
180
  danger: {};
163
181
  };
182
+ size: {
183
+ sm: {};
184
+ md: {};
185
+ lg: {};
186
+ xl: {};
187
+ };
164
188
  disabled: {
165
189
  true: {
166
190
  base: string[];
@@ -90,7 +90,7 @@ var buttonBaseStyle = tv({
90
90
  variant: {
91
91
  solid: {},
92
92
  soft: {},
93
- outline: { base: ["bg-transparent"] },
93
+ outline: { base: ["bg-body-background"] },
94
94
  ghost: {}
95
95
  },
96
96
  color: {
@@ -102,6 +102,12 @@ var buttonBaseStyle = tv({
102
102
  warning: {},
103
103
  danger: {}
104
104
  },
105
+ size: {
106
+ sm: {},
107
+ md: {},
108
+ lg: {},
109
+ xl: {}
110
+ },
105
111
  disabled: {
106
112
  true: {
107
113
  base: ["!bg-neutral-soft", "!border-neutral-soft", "!text-neutral-light", "pointer-events-none"]
@@ -109,7 +115,7 @@ var buttonBaseStyle = tv({
109
115
  },
110
116
  isInGroup: {
111
117
  true: {
112
- base: ["!rounded-none", "[&:not(:first-child)]:border-l-0"]
118
+ base: ["!rounded-none"]
113
119
  }
114
120
  }
115
121
  },
@@ -203,85 +209,49 @@ var buttonBaseStyle = tv({
203
209
  variant: "soft",
204
210
  color: "primary",
205
211
  class: {
206
- base: [
207
- "text-primary-main",
208
- "bg-primary-soft",
209
- "border-primary-soft",
210
- "hover:border-primary-light",
211
- "active:bg-primary-light"
212
- ]
212
+ base: ["text-primary-main", "bg-primary-soft", "hover:border-primary-light", "active:bg-primary-light"]
213
213
  }
214
214
  },
215
215
  {
216
216
  variant: "soft",
217
217
  color: "secondary",
218
218
  class: {
219
- base: [
220
- "text-secondary-main",
221
- "bg-secondary-soft",
222
- "border-secondary-soft",
223
- "hover:border-secondary-light",
224
- "active:bg-secondary-light"
225
- ]
219
+ base: ["text-secondary-main", "bg-secondary-soft", "hover:border-secondary-light", "active:bg-secondary-light"]
226
220
  }
227
221
  },
228
222
  {
229
223
  variant: "soft",
230
224
  color: "neutral",
231
225
  class: {
232
- base: [
233
- "text-neutral-main",
234
- "bg-neutral-soft",
235
- "border-neutral-soft",
236
- "hover:border-neutral-light",
237
- "active:bg-neutral-light"
238
- ]
226
+ base: ["text-neutral-main", "bg-neutral-soft", "hover:border-neutral-light", "active:bg-neutral-light"]
239
227
  }
240
228
  },
241
229
  {
242
230
  variant: "soft",
243
231
  color: "info",
244
232
  class: {
245
- base: ["text-info-main", "bg-info-soft", "border-info-soft", "hover:border-info-light", "active:bg-info-light"]
233
+ base: ["text-info-main", "bg-info-soft", "hover:border-info-light", "active:bg-info-light"]
246
234
  }
247
235
  },
248
236
  {
249
237
  variant: "soft",
250
238
  color: "success",
251
239
  class: {
252
- base: [
253
- "text-success-main",
254
- "bg-success-soft",
255
- "border-success-soft",
256
- "hover:border-success-light",
257
- "active:bg-success-light"
258
- ]
240
+ base: ["text-success-main", "bg-success-soft", "hover:border-success-light", "active:bg-success-light"]
259
241
  }
260
242
  },
261
243
  {
262
244
  variant: "soft",
263
245
  color: "warning",
264
246
  class: {
265
- base: [
266
- "text-warning-main",
267
- "bg-warning-soft",
268
- "border-warning-soft",
269
- "hover:border-warning-light",
270
- "active:bg-warning-light"
271
- ]
247
+ base: ["text-warning-main", "bg-warning-soft", "hover:border-warning-light", "active:bg-warning-light"]
272
248
  }
273
249
  },
274
250
  {
275
251
  variant: "soft",
276
252
  color: "danger",
277
253
  class: {
278
- base: [
279
- "text-danger-main",
280
- "bg-danger-soft",
281
- "border-danger-soft",
282
- "hover:border-danger-light",
283
- "active:bg-danger-light"
284
- ]
254
+ base: ["text-danger-main", "bg-danger-soft", "hover:border-danger-light", "active:bg-danger-light"]
285
255
  }
286
256
  },
287
257
  // outline & color
@@ -469,6 +439,21 @@ var buttonBaseStyle = tv({
469
439
  class: {
470
440
  base: ["!border-neutral-light"]
471
441
  }
442
+ },
443
+ // variant && isInGroup
444
+ {
445
+ variant: ["outline"],
446
+ isInGroup: true,
447
+ class: {
448
+ base: ["[&:not(:first-child)]:!border-l-0"]
449
+ }
450
+ },
451
+ {
452
+ variant: ["soft"],
453
+ isInGroup: true,
454
+ class: {
455
+ base: ["hover:!z-10", "active:!z-20", "focus:!z-20", "border-l-none"]
456
+ }
472
457
  }
473
458
  ]
474
459
  });
@@ -1,13 +1,13 @@
1
1
  "use client";
2
2
  import {
3
3
  button_default
4
- } from "../../chunk-LFPED3UH.mjs";
4
+ } from "../../chunk-O5VW7CHY.mjs";
5
5
  import "../../chunk-6WSACUIB.mjs";
6
- import "../../chunk-SZL743JC.mjs";
7
6
  import "../../chunk-LXHUO6VM.mjs";
7
+ import "../../chunk-SZL743JC.mjs";
8
8
  import "../../chunk-ZYIIXWVY.mjs";
9
9
  import "../../chunk-A6UUVHC6.mjs";
10
- import "../../chunk-Q5T3XRA3.mjs";
10
+ import "../../chunk-2WAQRWST.mjs";
11
11
  import "../../chunk-E3G5QXSH.mjs";
12
12
  import "../../chunk-AOU4QX7H.mjs";
13
13
  import "../../chunk-UP6RPQDX.mjs";
@@ -18,6 +18,12 @@ declare const buttonBaseStyle: tailwind_variants.TVReturnType<{
18
18
  warning: {};
19
19
  danger: {};
20
20
  };
21
+ size: {
22
+ sm: {};
23
+ md: {};
24
+ lg: {};
25
+ xl: {};
26
+ };
21
27
  disabled: {
22
28
  true: {
23
29
  base: string[];
@@ -48,6 +54,12 @@ declare const buttonBaseStyle: tailwind_variants.TVReturnType<{
48
54
  warning: {};
49
55
  danger: {};
50
56
  };
57
+ size: {
58
+ sm: {};
59
+ md: {};
60
+ lg: {};
61
+ xl: {};
62
+ };
51
63
  disabled: {
52
64
  true: {
53
65
  base: string[];
@@ -78,6 +90,12 @@ declare const buttonBaseStyle: tailwind_variants.TVReturnType<{
78
90
  warning: {};
79
91
  danger: {};
80
92
  };
93
+ size: {
94
+ sm: {};
95
+ md: {};
96
+ lg: {};
97
+ xl: {};
98
+ };
81
99
  disabled: {
82
100
  true: {
83
101
  base: string[];
@@ -18,6 +18,12 @@ declare const buttonBaseStyle: tailwind_variants.TVReturnType<{
18
18
  warning: {};
19
19
  danger: {};
20
20
  };
21
+ size: {
22
+ sm: {};
23
+ md: {};
24
+ lg: {};
25
+ xl: {};
26
+ };
21
27
  disabled: {
22
28
  true: {
23
29
  base: string[];
@@ -48,6 +54,12 @@ declare const buttonBaseStyle: tailwind_variants.TVReturnType<{
48
54
  warning: {};
49
55
  danger: {};
50
56
  };
57
+ size: {
58
+ sm: {};
59
+ md: {};
60
+ lg: {};
61
+ xl: {};
62
+ };
51
63
  disabled: {
52
64
  true: {
53
65
  base: string[];
@@ -78,6 +90,12 @@ declare const buttonBaseStyle: tailwind_variants.TVReturnType<{
78
90
  warning: {};
79
91
  danger: {};
80
92
  };
93
+ size: {
94
+ sm: {};
95
+ md: {};
96
+ lg: {};
97
+ xl: {};
98
+ };
81
99
  disabled: {
82
100
  true: {
83
101
  base: string[];
@@ -89,7 +89,7 @@ var buttonBaseStyle = tv({
89
89
  variant: {
90
90
  solid: {},
91
91
  soft: {},
92
- outline: { base: ["bg-transparent"] },
92
+ outline: { base: ["bg-body-background"] },
93
93
  ghost: {}
94
94
  },
95
95
  color: {
@@ -101,6 +101,12 @@ var buttonBaseStyle = tv({
101
101
  warning: {},
102
102
  danger: {}
103
103
  },
104
+ size: {
105
+ sm: {},
106
+ md: {},
107
+ lg: {},
108
+ xl: {}
109
+ },
104
110
  disabled: {
105
111
  true: {
106
112
  base: ["!bg-neutral-soft", "!border-neutral-soft", "!text-neutral-light", "pointer-events-none"]
@@ -108,7 +114,7 @@ var buttonBaseStyle = tv({
108
114
  },
109
115
  isInGroup: {
110
116
  true: {
111
- base: ["!rounded-none", "[&:not(:first-child)]:border-l-0"]
117
+ base: ["!rounded-none"]
112
118
  }
113
119
  }
114
120
  },
@@ -202,85 +208,49 @@ var buttonBaseStyle = tv({
202
208
  variant: "soft",
203
209
  color: "primary",
204
210
  class: {
205
- base: [
206
- "text-primary-main",
207
- "bg-primary-soft",
208
- "border-primary-soft",
209
- "hover:border-primary-light",
210
- "active:bg-primary-light"
211
- ]
211
+ base: ["text-primary-main", "bg-primary-soft", "hover:border-primary-light", "active:bg-primary-light"]
212
212
  }
213
213
  },
214
214
  {
215
215
  variant: "soft",
216
216
  color: "secondary",
217
217
  class: {
218
- base: [
219
- "text-secondary-main",
220
- "bg-secondary-soft",
221
- "border-secondary-soft",
222
- "hover:border-secondary-light",
223
- "active:bg-secondary-light"
224
- ]
218
+ base: ["text-secondary-main", "bg-secondary-soft", "hover:border-secondary-light", "active:bg-secondary-light"]
225
219
  }
226
220
  },
227
221
  {
228
222
  variant: "soft",
229
223
  color: "neutral",
230
224
  class: {
231
- base: [
232
- "text-neutral-main",
233
- "bg-neutral-soft",
234
- "border-neutral-soft",
235
- "hover:border-neutral-light",
236
- "active:bg-neutral-light"
237
- ]
225
+ base: ["text-neutral-main", "bg-neutral-soft", "hover:border-neutral-light", "active:bg-neutral-light"]
238
226
  }
239
227
  },
240
228
  {
241
229
  variant: "soft",
242
230
  color: "info",
243
231
  class: {
244
- base: ["text-info-main", "bg-info-soft", "border-info-soft", "hover:border-info-light", "active:bg-info-light"]
232
+ base: ["text-info-main", "bg-info-soft", "hover:border-info-light", "active:bg-info-light"]
245
233
  }
246
234
  },
247
235
  {
248
236
  variant: "soft",
249
237
  color: "success",
250
238
  class: {
251
- base: [
252
- "text-success-main",
253
- "bg-success-soft",
254
- "border-success-soft",
255
- "hover:border-success-light",
256
- "active:bg-success-light"
257
- ]
239
+ base: ["text-success-main", "bg-success-soft", "hover:border-success-light", "active:bg-success-light"]
258
240
  }
259
241
  },
260
242
  {
261
243
  variant: "soft",
262
244
  color: "warning",
263
245
  class: {
264
- base: [
265
- "text-warning-main",
266
- "bg-warning-soft",
267
- "border-warning-soft",
268
- "hover:border-warning-light",
269
- "active:bg-warning-light"
270
- ]
246
+ base: ["text-warning-main", "bg-warning-soft", "hover:border-warning-light", "active:bg-warning-light"]
271
247
  }
272
248
  },
273
249
  {
274
250
  variant: "soft",
275
251
  color: "danger",
276
252
  class: {
277
- base: [
278
- "text-danger-main",
279
- "bg-danger-soft",
280
- "border-danger-soft",
281
- "hover:border-danger-light",
282
- "active:bg-danger-light"
283
- ]
253
+ base: ["text-danger-main", "bg-danger-soft", "hover:border-danger-light", "active:bg-danger-light"]
284
254
  }
285
255
  },
286
256
  // outline & color
@@ -468,6 +438,21 @@ var buttonBaseStyle = tv({
468
438
  class: {
469
439
  base: ["!border-neutral-light"]
470
440
  }
441
+ },
442
+ // variant && isInGroup
443
+ {
444
+ variant: ["outline"],
445
+ isInGroup: true,
446
+ class: {
447
+ base: ["[&:not(:first-child)]:!border-l-0"]
448
+ }
449
+ },
450
+ {
451
+ variant: ["soft"],
452
+ isInGroup: true,
453
+ class: {
454
+ base: ["hover:!z-10", "active:!z-20", "focus:!z-20", "border-l-none"]
455
+ }
471
456
  }
472
457
  ]
473
458
  });
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
  import {
3
3
  buttonBaseStyle
4
- } from "../../chunk-Q5T3XRA3.mjs";
4
+ } from "../../chunk-2WAQRWST.mjs";
5
5
  import "../../chunk-UP6RPQDX.mjs";
6
6
  export {
7
7
  buttonBaseStyle