@kopexa/theme 17.2.0 → 17.4.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.
@@ -3,23 +3,22 @@ import { tv } from "tailwind-variants";
3
3
  var card = tv({
4
4
  slots: {
5
5
  root: [
6
- "flex flex-col relative h-auto outline-hidden box-border",
6
+ "flex flex-col relative h-auto outline-hidden box-border overflow-hidden",
7
7
  "transition-colors duration-200"
8
8
  ],
9
9
  header: [
10
10
  "flex",
11
- "items-center",
11
+ "items-start",
12
12
  "justify-between",
13
- "flex-wrap",
14
- "min-h-14",
15
- "gap-2.5",
16
13
  "w-full",
17
14
  "shrink-0",
18
15
  "overflow-inherit",
19
16
  "color-inherit",
20
17
  "subpixel-antialiased"
21
18
  ],
22
- heading: "space-y-1",
19
+ heading: "space-y-0.5 min-w-0",
20
+ title: "font-semibold truncate",
21
+ subtitle: "text-sm text-muted-foreground line-clamp-2",
23
22
  toolbar: "flex items-center gap-2.5",
24
23
  body: [
25
24
  "grow",
@@ -38,7 +37,6 @@ var card = tv({
38
37
  "subpixel-antialiased"
39
38
  ],
40
39
  footer: [
41
- "p-3",
42
40
  "h-auto",
43
41
  "flex",
44
42
  "w-full",
@@ -59,12 +57,12 @@ var card = tv({
59
57
  accent: {
60
58
  root: "bg-muted shadow-xs p-1",
61
59
  header: "!border-none",
62
- body: "bg-card rounded-t-xl [&:last-child]:rounded-b-xl"
60
+ body: "bg-card"
63
61
  },
64
62
  destructive: {
65
- root: "bg-destructive/10",
63
+ root: "bg-destructive/10 p-1",
66
64
  header: "!border-none",
67
- body: "bg-card rounded-t-xl [&:last-child]:rounded-b-xl"
65
+ body: "bg-card"
68
66
  }
69
67
  },
70
68
  shadow: {
@@ -95,6 +93,11 @@ var card = tv({
95
93
  emphasized: {
96
94
  root: "border-2 border-border",
97
95
  header: "border-b border-border"
96
+ },
97
+ divider: {
98
+ root: "border-0",
99
+ header: "border-b border-border",
100
+ footer: "border-t border-border"
98
101
  }
99
102
  },
100
103
  radius: {
@@ -146,48 +149,42 @@ var card = tv({
146
149
  }
147
150
  },
148
151
  bleed: {
149
- none: {},
150
- sm: {
151
- body: "px-2",
152
- header: "px-2",
153
- footer: "px-2"
152
+ none: {
153
+ body: "px-4",
154
+ header: "px-4",
155
+ footer: "px-4"
154
156
  },
155
- md: {
157
+ content: {
156
158
  body: "px-0",
157
- header: "px-0",
158
- footer: "px-0"
159
- },
160
- lg: {
161
- body: "-mx-2",
162
- header: "-mx-2",
163
- footer: "-mx-2"
159
+ header: "px-4",
160
+ footer: "px-4"
164
161
  },
165
- content: {
162
+ full: {
166
163
  body: "px-0",
167
- header: "px-3",
168
- footer: "px-3"
164
+ header: "px-0",
165
+ footer: "px-0"
169
166
  }
170
167
  },
171
168
  spacing: {
172
169
  sm: {
173
- body: "p-2",
174
- header: "p-2",
175
- footer: "p-2"
170
+ body: "py-2",
171
+ header: "py-2 gap-2",
172
+ footer: "py-2"
176
173
  },
177
174
  md: {
178
- body: "p-5",
179
- header: "px-5",
180
- footer: "px-5"
175
+ body: "py-4",
176
+ header: "py-4 gap-3",
177
+ footer: "py-4"
181
178
  },
182
179
  lg: {
183
- body: "p-4",
184
- header: "p-4",
185
- footer: "p-4"
180
+ body: "py-5",
181
+ header: "py-5 gap-4",
182
+ footer: "py-5"
186
183
  },
187
184
  xl: {
188
- body: "p-6",
189
- header: "p-6",
190
- footer: "p-6"
185
+ body: "py-6",
186
+ header: "py-6 gap-5",
187
+ footer: "py-6"
191
188
  }
192
189
  }
193
190
  },
@@ -6,7 +6,7 @@ var accordion = tv({
6
6
  item: "border-b last:border-b-0",
7
7
  trigger: [
8
8
  "w-full",
9
- "focus-visible:border-ring focus-visible:ring-ring/50 flex flex-1 items-start justify-between gap-4 rounded-md py-4 text-left text-sm font-medium transition-all outline-none hover:underline focus-visible:ring-[3px] disabled:pointer-events-none disabled:opacity-50 [&[data-state=open]>svg]:rotate-180"
9
+ "focus-visible:border-ring focus-visible:ring-ring/50 flex flex-1 items-center justify-between gap-4 rounded-md text-left text-sm font-medium transition-all outline-none hover:underline focus-visible:ring-[3px] disabled:pointer-events-none disabled:opacity-50 [&[data-state=open]>svg]:rotate-180"
10
10
  ],
11
11
  triggerIcon: [
12
12
  "pointer-events-none size-4 shrink-0 translate-y-0.5 transition-transform duration-200"
@@ -55,13 +55,25 @@ var accordion = tv({
55
55
  trigger: "px-4",
56
56
  content: "px-4"
57
57
  }
58
+ },
59
+ triggerSpacing: {
60
+ sm: {
61
+ trigger: "py-2"
62
+ },
63
+ md: {
64
+ trigger: "py-3"
65
+ },
66
+ lg: {
67
+ trigger: "py-4"
68
+ }
58
69
  }
59
70
  },
60
71
  defaultVariants: {
61
72
  color: "default",
62
73
  spacing: "default",
63
74
  radius: "md",
64
- border: "default"
75
+ border: "default",
76
+ triggerSpacing: "lg"
65
77
  }
66
78
  });
67
79
 
@@ -40,6 +40,17 @@ declare const accordion: tailwind_variants.TVReturnType<{
40
40
  content: string;
41
41
  };
42
42
  };
43
+ triggerSpacing: {
44
+ sm: {
45
+ trigger: string;
46
+ };
47
+ md: {
48
+ trigger: string;
49
+ };
50
+ lg: {
51
+ trigger: string;
52
+ };
53
+ };
43
54
  }, {
44
55
  root: string;
45
56
  item: string;
@@ -86,6 +97,17 @@ declare const accordion: tailwind_variants.TVReturnType<{
86
97
  content: string;
87
98
  };
88
99
  };
100
+ triggerSpacing: {
101
+ sm: {
102
+ trigger: string;
103
+ };
104
+ md: {
105
+ trigger: string;
106
+ };
107
+ lg: {
108
+ trigger: string;
109
+ };
110
+ };
89
111
  }, {
90
112
  root: string;
91
113
  item: string;
@@ -132,6 +154,17 @@ declare const accordion: tailwind_variants.TVReturnType<{
132
154
  content: string;
133
155
  };
134
156
  };
157
+ triggerSpacing: {
158
+ sm: {
159
+ trigger: string;
160
+ };
161
+ md: {
162
+ trigger: string;
163
+ };
164
+ lg: {
165
+ trigger: string;
166
+ };
167
+ };
135
168
  }, {
136
169
  root: string;
137
170
  item: string;
@@ -40,6 +40,17 @@ declare const accordion: tailwind_variants.TVReturnType<{
40
40
  content: string;
41
41
  };
42
42
  };
43
+ triggerSpacing: {
44
+ sm: {
45
+ trigger: string;
46
+ };
47
+ md: {
48
+ trigger: string;
49
+ };
50
+ lg: {
51
+ trigger: string;
52
+ };
53
+ };
43
54
  }, {
44
55
  root: string;
45
56
  item: string;
@@ -86,6 +97,17 @@ declare const accordion: tailwind_variants.TVReturnType<{
86
97
  content: string;
87
98
  };
88
99
  };
100
+ triggerSpacing: {
101
+ sm: {
102
+ trigger: string;
103
+ };
104
+ md: {
105
+ trigger: string;
106
+ };
107
+ lg: {
108
+ trigger: string;
109
+ };
110
+ };
89
111
  }, {
90
112
  root: string;
91
113
  item: string;
@@ -132,6 +154,17 @@ declare const accordion: tailwind_variants.TVReturnType<{
132
154
  content: string;
133
155
  };
134
156
  };
157
+ triggerSpacing: {
158
+ sm: {
159
+ trigger: string;
160
+ };
161
+ md: {
162
+ trigger: string;
163
+ };
164
+ lg: {
165
+ trigger: string;
166
+ };
167
+ };
135
168
  }, {
136
169
  root: string;
137
170
  item: string;
@@ -30,7 +30,7 @@ var accordion = (0, import_tailwind_variants.tv)({
30
30
  item: "border-b last:border-b-0",
31
31
  trigger: [
32
32
  "w-full",
33
- "focus-visible:border-ring focus-visible:ring-ring/50 flex flex-1 items-start justify-between gap-4 rounded-md py-4 text-left text-sm font-medium transition-all outline-none hover:underline focus-visible:ring-[3px] disabled:pointer-events-none disabled:opacity-50 [&[data-state=open]>svg]:rotate-180"
33
+ "focus-visible:border-ring focus-visible:ring-ring/50 flex flex-1 items-center justify-between gap-4 rounded-md text-left text-sm font-medium transition-all outline-none hover:underline focus-visible:ring-[3px] disabled:pointer-events-none disabled:opacity-50 [&[data-state=open]>svg]:rotate-180"
34
34
  ],
35
35
  triggerIcon: [
36
36
  "pointer-events-none size-4 shrink-0 translate-y-0.5 transition-transform duration-200"
@@ -79,13 +79,25 @@ var accordion = (0, import_tailwind_variants.tv)({
79
79
  trigger: "px-4",
80
80
  content: "px-4"
81
81
  }
82
+ },
83
+ triggerSpacing: {
84
+ sm: {
85
+ trigger: "py-2"
86
+ },
87
+ md: {
88
+ trigger: "py-3"
89
+ },
90
+ lg: {
91
+ trigger: "py-4"
92
+ }
82
93
  }
83
94
  },
84
95
  defaultVariants: {
85
96
  color: "default",
86
97
  spacing: "default",
87
98
  radius: "md",
88
- border: "default"
99
+ border: "default",
100
+ triggerSpacing: "lg"
89
101
  }
90
102
  });
91
103
  // Annotate the CommonJS export names for ESM import in node:
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  accordion
3
- } from "../chunk-TLCFFCOP.mjs";
3
+ } from "../chunk-AEWKHJEI.mjs";
4
4
  export {
5
5
  accordion
6
6
  };
@@ -49,6 +49,11 @@ declare const card: tailwind_variants.TVReturnType<{
49
49
  root: string;
50
50
  header: string;
51
51
  };
52
+ divider: {
53
+ root: string;
54
+ header: string;
55
+ footer: string;
56
+ };
52
57
  };
53
58
  radius: {
54
59
  none: {
@@ -98,23 +103,17 @@ declare const card: tailwind_variants.TVReturnType<{
98
103
  };
99
104
  };
100
105
  bleed: {
101
- none: {};
102
- sm: {
103
- body: string;
104
- header: string;
105
- footer: string;
106
- };
107
- md: {
106
+ none: {
108
107
  body: string;
109
108
  header: string;
110
109
  footer: string;
111
110
  };
112
- lg: {
111
+ content: {
113
112
  body: string;
114
113
  header: string;
115
114
  footer: string;
116
115
  };
117
- content: {
116
+ full: {
118
117
  body: string;
119
118
  header: string;
120
119
  footer: string;
@@ -146,6 +145,8 @@ declare const card: tailwind_variants.TVReturnType<{
146
145
  root: string[];
147
146
  header: string[];
148
147
  heading: string;
148
+ title: string;
149
+ subtitle: string;
149
150
  toolbar: string;
150
151
  body: string[];
151
152
  footer: string[];
@@ -197,6 +198,11 @@ declare const card: tailwind_variants.TVReturnType<{
197
198
  root: string;
198
199
  header: string;
199
200
  };
201
+ divider: {
202
+ root: string;
203
+ header: string;
204
+ footer: string;
205
+ };
200
206
  };
201
207
  radius: {
202
208
  none: {
@@ -246,23 +252,17 @@ declare const card: tailwind_variants.TVReturnType<{
246
252
  };
247
253
  };
248
254
  bleed: {
249
- none: {};
250
- sm: {
251
- body: string;
252
- header: string;
253
- footer: string;
254
- };
255
- md: {
255
+ none: {
256
256
  body: string;
257
257
  header: string;
258
258
  footer: string;
259
259
  };
260
- lg: {
260
+ content: {
261
261
  body: string;
262
262
  header: string;
263
263
  footer: string;
264
264
  };
265
- content: {
265
+ full: {
266
266
  body: string;
267
267
  header: string;
268
268
  footer: string;
@@ -294,6 +294,8 @@ declare const card: tailwind_variants.TVReturnType<{
294
294
  root: string[];
295
295
  header: string[];
296
296
  heading: string;
297
+ title: string;
298
+ subtitle: string;
297
299
  toolbar: string;
298
300
  body: string[];
299
301
  footer: string[];
@@ -345,6 +347,11 @@ declare const card: tailwind_variants.TVReturnType<{
345
347
  root: string;
346
348
  header: string;
347
349
  };
350
+ divider: {
351
+ root: string;
352
+ header: string;
353
+ footer: string;
354
+ };
348
355
  };
349
356
  radius: {
350
357
  none: {
@@ -394,23 +401,17 @@ declare const card: tailwind_variants.TVReturnType<{
394
401
  };
395
402
  };
396
403
  bleed: {
397
- none: {};
398
- sm: {
399
- body: string;
400
- header: string;
401
- footer: string;
402
- };
403
- md: {
404
+ none: {
404
405
  body: string;
405
406
  header: string;
406
407
  footer: string;
407
408
  };
408
- lg: {
409
+ content: {
409
410
  body: string;
410
411
  header: string;
411
412
  footer: string;
412
413
  };
413
- content: {
414
+ full: {
414
415
  body: string;
415
416
  header: string;
416
417
  footer: string;
@@ -442,6 +443,8 @@ declare const card: tailwind_variants.TVReturnType<{
442
443
  root: string[];
443
444
  header: string[];
444
445
  heading: string;
446
+ title: string;
447
+ subtitle: string;
445
448
  toolbar: string;
446
449
  body: string[];
447
450
  footer: string[];
@@ -49,6 +49,11 @@ declare const card: tailwind_variants.TVReturnType<{
49
49
  root: string;
50
50
  header: string;
51
51
  };
52
+ divider: {
53
+ root: string;
54
+ header: string;
55
+ footer: string;
56
+ };
52
57
  };
53
58
  radius: {
54
59
  none: {
@@ -98,23 +103,17 @@ declare const card: tailwind_variants.TVReturnType<{
98
103
  };
99
104
  };
100
105
  bleed: {
101
- none: {};
102
- sm: {
103
- body: string;
104
- header: string;
105
- footer: string;
106
- };
107
- md: {
106
+ none: {
108
107
  body: string;
109
108
  header: string;
110
109
  footer: string;
111
110
  };
112
- lg: {
111
+ content: {
113
112
  body: string;
114
113
  header: string;
115
114
  footer: string;
116
115
  };
117
- content: {
116
+ full: {
118
117
  body: string;
119
118
  header: string;
120
119
  footer: string;
@@ -146,6 +145,8 @@ declare const card: tailwind_variants.TVReturnType<{
146
145
  root: string[];
147
146
  header: string[];
148
147
  heading: string;
148
+ title: string;
149
+ subtitle: string;
149
150
  toolbar: string;
150
151
  body: string[];
151
152
  footer: string[];
@@ -197,6 +198,11 @@ declare const card: tailwind_variants.TVReturnType<{
197
198
  root: string;
198
199
  header: string;
199
200
  };
201
+ divider: {
202
+ root: string;
203
+ header: string;
204
+ footer: string;
205
+ };
200
206
  };
201
207
  radius: {
202
208
  none: {
@@ -246,23 +252,17 @@ declare const card: tailwind_variants.TVReturnType<{
246
252
  };
247
253
  };
248
254
  bleed: {
249
- none: {};
250
- sm: {
251
- body: string;
252
- header: string;
253
- footer: string;
254
- };
255
- md: {
255
+ none: {
256
256
  body: string;
257
257
  header: string;
258
258
  footer: string;
259
259
  };
260
- lg: {
260
+ content: {
261
261
  body: string;
262
262
  header: string;
263
263
  footer: string;
264
264
  };
265
- content: {
265
+ full: {
266
266
  body: string;
267
267
  header: string;
268
268
  footer: string;
@@ -294,6 +294,8 @@ declare const card: tailwind_variants.TVReturnType<{
294
294
  root: string[];
295
295
  header: string[];
296
296
  heading: string;
297
+ title: string;
298
+ subtitle: string;
297
299
  toolbar: string;
298
300
  body: string[];
299
301
  footer: string[];
@@ -345,6 +347,11 @@ declare const card: tailwind_variants.TVReturnType<{
345
347
  root: string;
346
348
  header: string;
347
349
  };
350
+ divider: {
351
+ root: string;
352
+ header: string;
353
+ footer: string;
354
+ };
348
355
  };
349
356
  radius: {
350
357
  none: {
@@ -394,23 +401,17 @@ declare const card: tailwind_variants.TVReturnType<{
394
401
  };
395
402
  };
396
403
  bleed: {
397
- none: {};
398
- sm: {
399
- body: string;
400
- header: string;
401
- footer: string;
402
- };
403
- md: {
404
+ none: {
404
405
  body: string;
405
406
  header: string;
406
407
  footer: string;
407
408
  };
408
- lg: {
409
+ content: {
409
410
  body: string;
410
411
  header: string;
411
412
  footer: string;
412
413
  };
413
- content: {
414
+ full: {
414
415
  body: string;
415
416
  header: string;
416
417
  footer: string;
@@ -442,6 +443,8 @@ declare const card: tailwind_variants.TVReturnType<{
442
443
  root: string[];
443
444
  header: string[];
444
445
  heading: string;
446
+ title: string;
447
+ subtitle: string;
445
448
  toolbar: string;
446
449
  body: string[];
447
450
  footer: string[];
@@ -27,23 +27,22 @@ var import_tailwind_variants = require("tailwind-variants");
27
27
  var card = (0, import_tailwind_variants.tv)({
28
28
  slots: {
29
29
  root: [
30
- "flex flex-col relative h-auto outline-hidden box-border",
30
+ "flex flex-col relative h-auto outline-hidden box-border overflow-hidden",
31
31
  "transition-colors duration-200"
32
32
  ],
33
33
  header: [
34
34
  "flex",
35
- "items-center",
35
+ "items-start",
36
36
  "justify-between",
37
- "flex-wrap",
38
- "min-h-14",
39
- "gap-2.5",
40
37
  "w-full",
41
38
  "shrink-0",
42
39
  "overflow-inherit",
43
40
  "color-inherit",
44
41
  "subpixel-antialiased"
45
42
  ],
46
- heading: "space-y-1",
43
+ heading: "space-y-0.5 min-w-0",
44
+ title: "font-semibold truncate",
45
+ subtitle: "text-sm text-muted-foreground line-clamp-2",
47
46
  toolbar: "flex items-center gap-2.5",
48
47
  body: [
49
48
  "grow",
@@ -62,7 +61,6 @@ var card = (0, import_tailwind_variants.tv)({
62
61
  "subpixel-antialiased"
63
62
  ],
64
63
  footer: [
65
- "p-3",
66
64
  "h-auto",
67
65
  "flex",
68
66
  "w-full",
@@ -83,12 +81,12 @@ var card = (0, import_tailwind_variants.tv)({
83
81
  accent: {
84
82
  root: "bg-muted shadow-xs p-1",
85
83
  header: "!border-none",
86
- body: "bg-card rounded-t-xl [&:last-child]:rounded-b-xl"
84
+ body: "bg-card"
87
85
  },
88
86
  destructive: {
89
- root: "bg-destructive/10",
87
+ root: "bg-destructive/10 p-1",
90
88
  header: "!border-none",
91
- body: "bg-card rounded-t-xl [&:last-child]:rounded-b-xl"
89
+ body: "bg-card"
92
90
  }
93
91
  },
94
92
  shadow: {
@@ -119,6 +117,11 @@ var card = (0, import_tailwind_variants.tv)({
119
117
  emphasized: {
120
118
  root: "border-2 border-border",
121
119
  header: "border-b border-border"
120
+ },
121
+ divider: {
122
+ root: "border-0",
123
+ header: "border-b border-border",
124
+ footer: "border-t border-border"
122
125
  }
123
126
  },
124
127
  radius: {
@@ -170,48 +173,42 @@ var card = (0, import_tailwind_variants.tv)({
170
173
  }
171
174
  },
172
175
  bleed: {
173
- none: {},
174
- sm: {
175
- body: "px-2",
176
- header: "px-2",
177
- footer: "px-2"
176
+ none: {
177
+ body: "px-4",
178
+ header: "px-4",
179
+ footer: "px-4"
178
180
  },
179
- md: {
181
+ content: {
180
182
  body: "px-0",
181
- header: "px-0",
182
- footer: "px-0"
183
- },
184
- lg: {
185
- body: "-mx-2",
186
- header: "-mx-2",
187
- footer: "-mx-2"
183
+ header: "px-4",
184
+ footer: "px-4"
188
185
  },
189
- content: {
186
+ full: {
190
187
  body: "px-0",
191
- header: "px-3",
192
- footer: "px-3"
188
+ header: "px-0",
189
+ footer: "px-0"
193
190
  }
194
191
  },
195
192
  spacing: {
196
193
  sm: {
197
- body: "p-2",
198
- header: "p-2",
199
- footer: "p-2"
194
+ body: "py-2",
195
+ header: "py-2 gap-2",
196
+ footer: "py-2"
200
197
  },
201
198
  md: {
202
- body: "p-5",
203
- header: "px-5",
204
- footer: "px-5"
199
+ body: "py-4",
200
+ header: "py-4 gap-3",
201
+ footer: "py-4"
205
202
  },
206
203
  lg: {
207
- body: "p-4",
208
- header: "p-4",
209
- footer: "p-4"
204
+ body: "py-5",
205
+ header: "py-5 gap-4",
206
+ footer: "py-5"
210
207
  },
211
208
  xl: {
212
- body: "p-6",
213
- header: "p-6",
214
- footer: "p-6"
209
+ body: "py-6",
210
+ header: "py-6 gap-5",
211
+ footer: "py-6"
215
212
  }
216
213
  }
217
214
  },
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  card
3
- } from "../chunk-W6VVV2XH.mjs";
3
+ } from "../chunk-5YHTCPJL.mjs";
4
4
  export {
5
5
  card
6
6
  };
@@ -96,7 +96,7 @@ var accordion = (0, import_tailwind_variants.tv)({
96
96
  item: "border-b last:border-b-0",
97
97
  trigger: [
98
98
  "w-full",
99
- "focus-visible:border-ring focus-visible:ring-ring/50 flex flex-1 items-start justify-between gap-4 rounded-md py-4 text-left text-sm font-medium transition-all outline-none hover:underline focus-visible:ring-[3px] disabled:pointer-events-none disabled:opacity-50 [&[data-state=open]>svg]:rotate-180"
99
+ "focus-visible:border-ring focus-visible:ring-ring/50 flex flex-1 items-center justify-between gap-4 rounded-md text-left text-sm font-medium transition-all outline-none hover:underline focus-visible:ring-[3px] disabled:pointer-events-none disabled:opacity-50 [&[data-state=open]>svg]:rotate-180"
100
100
  ],
101
101
  triggerIcon: [
102
102
  "pointer-events-none size-4 shrink-0 translate-y-0.5 transition-transform duration-200"
@@ -145,13 +145,25 @@ var accordion = (0, import_tailwind_variants.tv)({
145
145
  trigger: "px-4",
146
146
  content: "px-4"
147
147
  }
148
+ },
149
+ triggerSpacing: {
150
+ sm: {
151
+ trigger: "py-2"
152
+ },
153
+ md: {
154
+ trigger: "py-3"
155
+ },
156
+ lg: {
157
+ trigger: "py-4"
158
+ }
148
159
  }
149
160
  },
150
161
  defaultVariants: {
151
162
  color: "default",
152
163
  spacing: "default",
153
164
  radius: "md",
154
- border: "default"
165
+ border: "default",
166
+ triggerSpacing: "lg"
155
167
  }
156
168
  });
157
169
 
@@ -953,23 +965,22 @@ var import_tailwind_variants11 = require("tailwind-variants");
953
965
  var card = (0, import_tailwind_variants11.tv)({
954
966
  slots: {
955
967
  root: [
956
- "flex flex-col relative h-auto outline-hidden box-border",
968
+ "flex flex-col relative h-auto outline-hidden box-border overflow-hidden",
957
969
  "transition-colors duration-200"
958
970
  ],
959
971
  header: [
960
972
  "flex",
961
- "items-center",
973
+ "items-start",
962
974
  "justify-between",
963
- "flex-wrap",
964
- "min-h-14",
965
- "gap-2.5",
966
975
  "w-full",
967
976
  "shrink-0",
968
977
  "overflow-inherit",
969
978
  "color-inherit",
970
979
  "subpixel-antialiased"
971
980
  ],
972
- heading: "space-y-1",
981
+ heading: "space-y-0.5 min-w-0",
982
+ title: "font-semibold truncate",
983
+ subtitle: "text-sm text-muted-foreground line-clamp-2",
973
984
  toolbar: "flex items-center gap-2.5",
974
985
  body: [
975
986
  "grow",
@@ -988,7 +999,6 @@ var card = (0, import_tailwind_variants11.tv)({
988
999
  "subpixel-antialiased"
989
1000
  ],
990
1001
  footer: [
991
- "p-3",
992
1002
  "h-auto",
993
1003
  "flex",
994
1004
  "w-full",
@@ -1009,12 +1019,12 @@ var card = (0, import_tailwind_variants11.tv)({
1009
1019
  accent: {
1010
1020
  root: "bg-muted shadow-xs p-1",
1011
1021
  header: "!border-none",
1012
- body: "bg-card rounded-t-xl [&:last-child]:rounded-b-xl"
1022
+ body: "bg-card"
1013
1023
  },
1014
1024
  destructive: {
1015
- root: "bg-destructive/10",
1025
+ root: "bg-destructive/10 p-1",
1016
1026
  header: "!border-none",
1017
- body: "bg-card rounded-t-xl [&:last-child]:rounded-b-xl"
1027
+ body: "bg-card"
1018
1028
  }
1019
1029
  },
1020
1030
  shadow: {
@@ -1045,6 +1055,11 @@ var card = (0, import_tailwind_variants11.tv)({
1045
1055
  emphasized: {
1046
1056
  root: "border-2 border-border",
1047
1057
  header: "border-b border-border"
1058
+ },
1059
+ divider: {
1060
+ root: "border-0",
1061
+ header: "border-b border-border",
1062
+ footer: "border-t border-border"
1048
1063
  }
1049
1064
  },
1050
1065
  radius: {
@@ -1096,48 +1111,42 @@ var card = (0, import_tailwind_variants11.tv)({
1096
1111
  }
1097
1112
  },
1098
1113
  bleed: {
1099
- none: {},
1100
- sm: {
1101
- body: "px-2",
1102
- header: "px-2",
1103
- footer: "px-2"
1114
+ none: {
1115
+ body: "px-4",
1116
+ header: "px-4",
1117
+ footer: "px-4"
1104
1118
  },
1105
- md: {
1119
+ content: {
1106
1120
  body: "px-0",
1107
- header: "px-0",
1108
- footer: "px-0"
1109
- },
1110
- lg: {
1111
- body: "-mx-2",
1112
- header: "-mx-2",
1113
- footer: "-mx-2"
1121
+ header: "px-4",
1122
+ footer: "px-4"
1114
1123
  },
1115
- content: {
1124
+ full: {
1116
1125
  body: "px-0",
1117
- header: "px-3",
1118
- footer: "px-3"
1126
+ header: "px-0",
1127
+ footer: "px-0"
1119
1128
  }
1120
1129
  },
1121
1130
  spacing: {
1122
1131
  sm: {
1123
- body: "p-2",
1124
- header: "p-2",
1125
- footer: "p-2"
1132
+ body: "py-2",
1133
+ header: "py-2 gap-2",
1134
+ footer: "py-2"
1126
1135
  },
1127
1136
  md: {
1128
- body: "p-5",
1129
- header: "px-5",
1130
- footer: "px-5"
1137
+ body: "py-4",
1138
+ header: "py-4 gap-3",
1139
+ footer: "py-4"
1131
1140
  },
1132
1141
  lg: {
1133
- body: "p-4",
1134
- header: "p-4",
1135
- footer: "p-4"
1142
+ body: "py-5",
1143
+ header: "py-5 gap-4",
1144
+ footer: "py-5"
1136
1145
  },
1137
1146
  xl: {
1138
- body: "p-6",
1139
- header: "p-6",
1140
- footer: "p-6"
1147
+ body: "py-6",
1148
+ header: "py-6 gap-5",
1149
+ footer: "py-6"
1141
1150
  }
1142
1151
  }
1143
1152
  },
@@ -147,7 +147,7 @@ import {
147
147
  } from "../chunk-A3F4CV54.mjs";
148
148
  import {
149
149
  card
150
- } from "../chunk-W6VVV2XH.mjs";
150
+ } from "../chunk-5YHTCPJL.mjs";
151
151
  import {
152
152
  checkbox
153
153
  } from "../chunk-A4KO7QKC.mjs";
@@ -165,7 +165,7 @@ import {
165
165
  } from "../chunk-76J7KB3M.mjs";
166
166
  import {
167
167
  accordion
168
- } from "../chunk-TLCFFCOP.mjs";
168
+ } from "../chunk-AEWKHJEI.mjs";
169
169
  import {
170
170
  alertDialog
171
171
  } from "../chunk-XGUDXC5P.mjs";
package/dist/index.js CHANGED
@@ -96,7 +96,7 @@ var accordion = (0, import_tailwind_variants.tv)({
96
96
  item: "border-b last:border-b-0",
97
97
  trigger: [
98
98
  "w-full",
99
- "focus-visible:border-ring focus-visible:ring-ring/50 flex flex-1 items-start justify-between gap-4 rounded-md py-4 text-left text-sm font-medium transition-all outline-none hover:underline focus-visible:ring-[3px] disabled:pointer-events-none disabled:opacity-50 [&[data-state=open]>svg]:rotate-180"
99
+ "focus-visible:border-ring focus-visible:ring-ring/50 flex flex-1 items-center justify-between gap-4 rounded-md text-left text-sm font-medium transition-all outline-none hover:underline focus-visible:ring-[3px] disabled:pointer-events-none disabled:opacity-50 [&[data-state=open]>svg]:rotate-180"
100
100
  ],
101
101
  triggerIcon: [
102
102
  "pointer-events-none size-4 shrink-0 translate-y-0.5 transition-transform duration-200"
@@ -145,13 +145,25 @@ var accordion = (0, import_tailwind_variants.tv)({
145
145
  trigger: "px-4",
146
146
  content: "px-4"
147
147
  }
148
+ },
149
+ triggerSpacing: {
150
+ sm: {
151
+ trigger: "py-2"
152
+ },
153
+ md: {
154
+ trigger: "py-3"
155
+ },
156
+ lg: {
157
+ trigger: "py-4"
158
+ }
148
159
  }
149
160
  },
150
161
  defaultVariants: {
151
162
  color: "default",
152
163
  spacing: "default",
153
164
  radius: "md",
154
- border: "default"
165
+ border: "default",
166
+ triggerSpacing: "lg"
155
167
  }
156
168
  });
157
169
 
@@ -953,23 +965,22 @@ var import_tailwind_variants11 = require("tailwind-variants");
953
965
  var card = (0, import_tailwind_variants11.tv)({
954
966
  slots: {
955
967
  root: [
956
- "flex flex-col relative h-auto outline-hidden box-border",
968
+ "flex flex-col relative h-auto outline-hidden box-border overflow-hidden",
957
969
  "transition-colors duration-200"
958
970
  ],
959
971
  header: [
960
972
  "flex",
961
- "items-center",
973
+ "items-start",
962
974
  "justify-between",
963
- "flex-wrap",
964
- "min-h-14",
965
- "gap-2.5",
966
975
  "w-full",
967
976
  "shrink-0",
968
977
  "overflow-inherit",
969
978
  "color-inherit",
970
979
  "subpixel-antialiased"
971
980
  ],
972
- heading: "space-y-1",
981
+ heading: "space-y-0.5 min-w-0",
982
+ title: "font-semibold truncate",
983
+ subtitle: "text-sm text-muted-foreground line-clamp-2",
973
984
  toolbar: "flex items-center gap-2.5",
974
985
  body: [
975
986
  "grow",
@@ -988,7 +999,6 @@ var card = (0, import_tailwind_variants11.tv)({
988
999
  "subpixel-antialiased"
989
1000
  ],
990
1001
  footer: [
991
- "p-3",
992
1002
  "h-auto",
993
1003
  "flex",
994
1004
  "w-full",
@@ -1009,12 +1019,12 @@ var card = (0, import_tailwind_variants11.tv)({
1009
1019
  accent: {
1010
1020
  root: "bg-muted shadow-xs p-1",
1011
1021
  header: "!border-none",
1012
- body: "bg-card rounded-t-xl [&:last-child]:rounded-b-xl"
1022
+ body: "bg-card"
1013
1023
  },
1014
1024
  destructive: {
1015
- root: "bg-destructive/10",
1025
+ root: "bg-destructive/10 p-1",
1016
1026
  header: "!border-none",
1017
- body: "bg-card rounded-t-xl [&:last-child]:rounded-b-xl"
1027
+ body: "bg-card"
1018
1028
  }
1019
1029
  },
1020
1030
  shadow: {
@@ -1045,6 +1055,11 @@ var card = (0, import_tailwind_variants11.tv)({
1045
1055
  emphasized: {
1046
1056
  root: "border-2 border-border",
1047
1057
  header: "border-b border-border"
1058
+ },
1059
+ divider: {
1060
+ root: "border-0",
1061
+ header: "border-b border-border",
1062
+ footer: "border-t border-border"
1048
1063
  }
1049
1064
  },
1050
1065
  radius: {
@@ -1096,48 +1111,42 @@ var card = (0, import_tailwind_variants11.tv)({
1096
1111
  }
1097
1112
  },
1098
1113
  bleed: {
1099
- none: {},
1100
- sm: {
1101
- body: "px-2",
1102
- header: "px-2",
1103
- footer: "px-2"
1114
+ none: {
1115
+ body: "px-4",
1116
+ header: "px-4",
1117
+ footer: "px-4"
1104
1118
  },
1105
- md: {
1119
+ content: {
1106
1120
  body: "px-0",
1107
- header: "px-0",
1108
- footer: "px-0"
1109
- },
1110
- lg: {
1111
- body: "-mx-2",
1112
- header: "-mx-2",
1113
- footer: "-mx-2"
1121
+ header: "px-4",
1122
+ footer: "px-4"
1114
1123
  },
1115
- content: {
1124
+ full: {
1116
1125
  body: "px-0",
1117
- header: "px-3",
1118
- footer: "px-3"
1126
+ header: "px-0",
1127
+ footer: "px-0"
1119
1128
  }
1120
1129
  },
1121
1130
  spacing: {
1122
1131
  sm: {
1123
- body: "p-2",
1124
- header: "p-2",
1125
- footer: "p-2"
1132
+ body: "py-2",
1133
+ header: "py-2 gap-2",
1134
+ footer: "py-2"
1126
1135
  },
1127
1136
  md: {
1128
- body: "p-5",
1129
- header: "px-5",
1130
- footer: "px-5"
1137
+ body: "py-4",
1138
+ header: "py-4 gap-3",
1139
+ footer: "py-4"
1131
1140
  },
1132
1141
  lg: {
1133
- body: "p-4",
1134
- header: "p-4",
1135
- footer: "p-4"
1142
+ body: "py-5",
1143
+ header: "py-5 gap-4",
1144
+ footer: "py-5"
1136
1145
  },
1137
1146
  xl: {
1138
- body: "p-6",
1139
- header: "p-6",
1140
- footer: "p-6"
1147
+ body: "py-6",
1148
+ header: "py-6 gap-5",
1149
+ footer: "py-6"
1141
1150
  }
1142
1151
  }
1143
1152
  },
package/dist/index.mjs CHANGED
@@ -148,7 +148,7 @@ import {
148
148
  } from "./chunk-A3F4CV54.mjs";
149
149
  import {
150
150
  card
151
- } from "./chunk-W6VVV2XH.mjs";
151
+ } from "./chunk-5YHTCPJL.mjs";
152
152
  import {
153
153
  checkbox
154
154
  } from "./chunk-A4KO7QKC.mjs";
@@ -166,7 +166,7 @@ import {
166
166
  } from "./chunk-76J7KB3M.mjs";
167
167
  import {
168
168
  accordion
169
- } from "./chunk-TLCFFCOP.mjs";
169
+ } from "./chunk-AEWKHJEI.mjs";
170
170
  import {
171
171
  alertDialog
172
172
  } from "./chunk-XGUDXC5P.mjs";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kopexa/theme",
3
- "version": "17.2.0",
3
+ "version": "17.4.0",
4
4
  "description": "The default theme for Kopexa components",
5
5
  "keywords": [
6
6
  "theme",
@@ -65,7 +65,7 @@
65
65
  "tailwind-merge": "3.3.1",
66
66
  "tailwind-variants": "^3.2.2",
67
67
  "tw-animate-css": "^1.4.0",
68
- "@kopexa/shared-utils": "17.0.6"
68
+ "@kopexa/shared-utils": "17.0.8"
69
69
  },
70
70
  "peerDependencies": {
71
71
  "tailwindcss": ">=4.0.0"