@jackcrane/ui 0.1.23 → 0.1.25
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/jcui.cjs.js +56 -50
- package/dist/jcui.es.js +56 -50
- package/package.json +1 -1
package/dist/jcui.cjs.js
CHANGED
|
@@ -217,7 +217,7 @@ div.jcui_chamfer:not(.jcui_disabled):focus-within {
|
|
|
217
217
|
transform: rotate(360deg);
|
|
218
218
|
}
|
|
219
219
|
}
|
|
220
|
-
.
|
|
220
|
+
._card_1b88d_1 {
|
|
221
221
|
border-width: var(--border-thickness);
|
|
222
222
|
border-style: solid;
|
|
223
223
|
font-size: 1rem;
|
|
@@ -226,30 +226,30 @@ div.jcui_chamfer:not(.jcui_disabled):focus-within {
|
|
|
226
226
|
display: flex;
|
|
227
227
|
flex-direction: column;
|
|
228
228
|
}
|
|
229
|
-
.
|
|
229
|
+
._pageBackground_1b88d_11 {
|
|
230
230
|
--card-bg: var(--body-bg);
|
|
231
231
|
--button-bg: var(--body-bg);
|
|
232
232
|
--card-color: var(--body-color);
|
|
233
233
|
background-color: var(--body-bg);
|
|
234
234
|
}
|
|
235
|
-
.
|
|
235
|
+
._card_1b88d_1 ._title_1b88d_18 {
|
|
236
236
|
font-size: 1.25rem;
|
|
237
237
|
padding: 0.5rem 1rem;
|
|
238
238
|
border-bottom: var(--border-thickness) solid var(--border-color);
|
|
239
239
|
background-color: var(--card-bg);
|
|
240
240
|
}
|
|
241
|
-
.
|
|
241
|
+
._card_1b88d_1 ._titleCollapsed_1b88d_25 {
|
|
242
242
|
border-bottom: 0;
|
|
243
243
|
}
|
|
244
|
-
.
|
|
244
|
+
._card_1b88d_1 ._titleContent_1b88d_29 {
|
|
245
245
|
display: flex;
|
|
246
246
|
align-items: center;
|
|
247
247
|
gap: 0.5rem;
|
|
248
248
|
}
|
|
249
|
-
.
|
|
249
|
+
._card_1b88d_1 ._titleInteractive_1b88d_35 {
|
|
250
250
|
cursor: pointer;
|
|
251
251
|
}
|
|
252
|
-
.
|
|
252
|
+
._card_1b88d_1 ._chevron_1b88d_39 {
|
|
253
253
|
margin-left: auto;
|
|
254
254
|
width: 0.5rem;
|
|
255
255
|
height: 0.5rem;
|
|
@@ -259,89 +259,95 @@ div.jcui_chamfer:not(.jcui_disabled):focus-within {
|
|
|
259
259
|
flex-shrink: 0;
|
|
260
260
|
cursor: inherit;
|
|
261
261
|
}
|
|
262
|
-
.
|
|
262
|
+
._card_1b88d_1 ._chevronExpanded_1b88d_50 {
|
|
263
263
|
transform: rotate(45deg);
|
|
264
264
|
}
|
|
265
|
-
.
|
|
265
|
+
._card_1b88d_1 ._chevronCollapsed_1b88d_54 {
|
|
266
266
|
transform: rotate(-45deg);
|
|
267
267
|
}
|
|
268
|
-
.
|
|
269
|
-
.
|
|
268
|
+
._card_1b88d_1 ._titleInteractive_1b88d_35:hover ._chevronExpanded_1b88d_50,
|
|
269
|
+
._card_1b88d_1 ._titleInteractive_1b88d_35:focus-visible ._chevronExpanded_1b88d_50 {
|
|
270
270
|
transform: rotate(30deg);
|
|
271
271
|
}
|
|
272
|
-
.
|
|
273
|
-
.
|
|
272
|
+
._card_1b88d_1 ._titleInteractive_1b88d_35:hover ._chevronCollapsed_1b88d_54,
|
|
273
|
+
._card_1b88d_1 ._titleInteractive_1b88d_35:focus-visible ._chevronCollapsed_1b88d_54 {
|
|
274
274
|
transform: rotate(-30deg);
|
|
275
275
|
}
|
|
276
|
-
.
|
|
276
|
+
._card_1b88d_1 ._content_1b88d_68 {
|
|
277
277
|
display: grid;
|
|
278
278
|
grid-template-rows: 1fr;
|
|
279
279
|
transition:
|
|
280
280
|
grid-template-rows 0.2s ease,
|
|
281
281
|
opacity 0.2s ease;
|
|
282
|
+
flex: 1;
|
|
282
283
|
}
|
|
283
|
-
.
|
|
284
|
+
._card_1b88d_1 ._contentInner_1b88d_77 {
|
|
284
285
|
overflow: hidden;
|
|
285
286
|
min-height: 0;
|
|
286
287
|
display: flex;
|
|
287
288
|
flex-direction: column;
|
|
288
289
|
}
|
|
289
|
-
.
|
|
290
|
+
._card_1b88d_1 ._contentCollapsed_1b88d_84 {
|
|
290
291
|
grid-template-rows: 0fr;
|
|
291
292
|
opacity: 0;
|
|
292
293
|
}
|
|
293
|
-
.
|
|
294
|
+
._card_1b88d_1 ._body_1b88d_89 {
|
|
294
295
|
padding: 0.5rem 1rem;
|
|
295
296
|
width: 100%;
|
|
296
297
|
}
|
|
297
|
-
.
|
|
298
|
+
._card_1b88d_1 ._body_1b88d_89 > hr {
|
|
299
|
+
margin: 1rem 0;
|
|
300
|
+
transform: translateX(-16px);
|
|
301
|
+
width: calc(100% + 32px);
|
|
302
|
+
}
|
|
303
|
+
._card_1b88d_1 ._footer_1b88d_100 {
|
|
298
304
|
border-top: var(--border-thickness) solid var(--border-color);
|
|
299
305
|
flex: 1;
|
|
300
306
|
background-color: var(--card-bg);
|
|
301
307
|
padding: 0.5rem 1rem;
|
|
302
308
|
}
|
|
303
|
-
.
|
|
304
|
-
.
|
|
309
|
+
._large_1b88d_107 ._body_1b88d_89,
|
|
310
|
+
._large_1b88d_107 ._title_1b88d_18 {
|
|
305
311
|
font-size: 1.25rem;
|
|
306
312
|
padding: 0.75rem 1.25rem;
|
|
307
313
|
}
|
|
308
|
-
.
|
|
309
|
-
.
|
|
314
|
+
._small_1b88d_113 ._body_1b88d_89,
|
|
315
|
+
._small_1b88d_113 ._title_1b88d_18 {
|
|
310
316
|
font-size: 0.75rem;
|
|
311
317
|
padding: 0.25rem 0.5rem;
|
|
312
318
|
}
|
|
313
319
|
/* Variants */
|
|
314
|
-
.
|
|
320
|
+
._primary_1b88d_121 {
|
|
315
321
|
--card-bg: var(--primary-color-100);
|
|
316
322
|
--border-color: var(--primary-color-300);
|
|
317
323
|
--border-accent-color: var(--primary-color-600);
|
|
318
324
|
--card-color: var(--primary-color-800);
|
|
319
325
|
}
|
|
320
|
-
.
|
|
326
|
+
._success_1b88d_128 {
|
|
321
327
|
--card-bg: var(--success-color-100);
|
|
322
328
|
--border-color: var(--success-color-300);
|
|
323
329
|
--border-accent-color: var(--success-color-600);
|
|
324
330
|
--card-color: var(--success-color-800);
|
|
325
331
|
}
|
|
326
|
-
.
|
|
332
|
+
._warning_1b88d_135 {
|
|
327
333
|
--card-bg: var(--warning-color-100);
|
|
328
334
|
--border-color: var(--warning-color-300);
|
|
329
335
|
--border-accent-color: var(--warning-color-600);
|
|
330
336
|
--card-color: var(--warning-color-800);
|
|
331
337
|
}
|
|
332
|
-
.
|
|
338
|
+
._danger_1b88d_142 {
|
|
333
339
|
--card-bg: var(--danger-color-100);
|
|
334
340
|
--border-color: var(--danger-color-300);
|
|
335
341
|
--border-accent-color: var(--danger-color-600);
|
|
336
342
|
--card-color: var(--danger-color-800);
|
|
337
343
|
}
|
|
338
|
-
.
|
|
344
|
+
._info_1b88d_149 {
|
|
339
345
|
--card-bg: var(--info-color-100);
|
|
340
346
|
--border-color: var(--info-color-300);
|
|
341
347
|
--border-accent-color: var(--info-color-600);
|
|
342
348
|
--card-color: var(--info-color-800);
|
|
343
349
|
}
|
|
344
|
-
.
|
|
350
|
+
._secondary_1b88d_156 {
|
|
345
351
|
--card-bg: var(--secondary-color-100);
|
|
346
352
|
--border-color: var(--secondary-color-300);
|
|
347
353
|
--border-accent-color: var(--secondary-color-600);
|
|
@@ -2672,28 +2678,28 @@ function requireClassnames() {
|
|
|
2672
2678
|
}
|
|
2673
2679
|
var classnamesExports = requireClassnames();
|
|
2674
2680
|
const classNames = /* @__PURE__ */ getDefaultExportFromCjs(classnamesExports);
|
|
2675
|
-
const card = "
|
|
2676
|
-
const pageBackground$3 = "
|
|
2677
|
-
const title$1 = "
|
|
2678
|
-
const titleCollapsed = "
|
|
2679
|
-
const titleContent = "
|
|
2680
|
-
const titleInteractive = "
|
|
2681
|
-
const chevron = "
|
|
2682
|
-
const chevronExpanded = "
|
|
2683
|
-
const chevronCollapsed = "
|
|
2684
|
-
const content$4 = "
|
|
2685
|
-
const contentInner = "
|
|
2686
|
-
const contentCollapsed = "
|
|
2687
|
-
const body$1 = "
|
|
2688
|
-
const footer$1 = "
|
|
2689
|
-
const large$7 = "
|
|
2690
|
-
const small$7 = "
|
|
2691
|
-
const primary$9 = "
|
|
2692
|
-
const success$9 = "
|
|
2693
|
-
const warning$9 = "
|
|
2694
|
-
const danger$9 = "
|
|
2695
|
-
const info$9 = "
|
|
2696
|
-
const secondary$9 = "
|
|
2681
|
+
const card = "_card_1b88d_1";
|
|
2682
|
+
const pageBackground$3 = "_pageBackground_1b88d_11";
|
|
2683
|
+
const title$1 = "_title_1b88d_18";
|
|
2684
|
+
const titleCollapsed = "_titleCollapsed_1b88d_25";
|
|
2685
|
+
const titleContent = "_titleContent_1b88d_29";
|
|
2686
|
+
const titleInteractive = "_titleInteractive_1b88d_35";
|
|
2687
|
+
const chevron = "_chevron_1b88d_39";
|
|
2688
|
+
const chevronExpanded = "_chevronExpanded_1b88d_50";
|
|
2689
|
+
const chevronCollapsed = "_chevronCollapsed_1b88d_54";
|
|
2690
|
+
const content$4 = "_content_1b88d_68";
|
|
2691
|
+
const contentInner = "_contentInner_1b88d_77";
|
|
2692
|
+
const contentCollapsed = "_contentCollapsed_1b88d_84";
|
|
2693
|
+
const body$1 = "_body_1b88d_89";
|
|
2694
|
+
const footer$1 = "_footer_1b88d_100";
|
|
2695
|
+
const large$7 = "_large_1b88d_107";
|
|
2696
|
+
const small$7 = "_small_1b88d_113";
|
|
2697
|
+
const primary$9 = "_primary_1b88d_121";
|
|
2698
|
+
const success$9 = "_success_1b88d_128";
|
|
2699
|
+
const warning$9 = "_warning_1b88d_135";
|
|
2700
|
+
const danger$9 = "_danger_1b88d_142";
|
|
2701
|
+
const info$9 = "_info_1b88d_149";
|
|
2702
|
+
const secondary$9 = "_secondary_1b88d_156";
|
|
2697
2703
|
const styles$b = {
|
|
2698
2704
|
card,
|
|
2699
2705
|
pageBackground: pageBackground$3,
|
package/dist/jcui.es.js
CHANGED
|
@@ -217,7 +217,7 @@ div.jcui_chamfer:not(.jcui_disabled):focus-within {
|
|
|
217
217
|
transform: rotate(360deg);
|
|
218
218
|
}
|
|
219
219
|
}
|
|
220
|
-
.
|
|
220
|
+
._card_1b88d_1 {
|
|
221
221
|
border-width: var(--border-thickness);
|
|
222
222
|
border-style: solid;
|
|
223
223
|
font-size: 1rem;
|
|
@@ -226,30 +226,30 @@ div.jcui_chamfer:not(.jcui_disabled):focus-within {
|
|
|
226
226
|
display: flex;
|
|
227
227
|
flex-direction: column;
|
|
228
228
|
}
|
|
229
|
-
.
|
|
229
|
+
._pageBackground_1b88d_11 {
|
|
230
230
|
--card-bg: var(--body-bg);
|
|
231
231
|
--button-bg: var(--body-bg);
|
|
232
232
|
--card-color: var(--body-color);
|
|
233
233
|
background-color: var(--body-bg);
|
|
234
234
|
}
|
|
235
|
-
.
|
|
235
|
+
._card_1b88d_1 ._title_1b88d_18 {
|
|
236
236
|
font-size: 1.25rem;
|
|
237
237
|
padding: 0.5rem 1rem;
|
|
238
238
|
border-bottom: var(--border-thickness) solid var(--border-color);
|
|
239
239
|
background-color: var(--card-bg);
|
|
240
240
|
}
|
|
241
|
-
.
|
|
241
|
+
._card_1b88d_1 ._titleCollapsed_1b88d_25 {
|
|
242
242
|
border-bottom: 0;
|
|
243
243
|
}
|
|
244
|
-
.
|
|
244
|
+
._card_1b88d_1 ._titleContent_1b88d_29 {
|
|
245
245
|
display: flex;
|
|
246
246
|
align-items: center;
|
|
247
247
|
gap: 0.5rem;
|
|
248
248
|
}
|
|
249
|
-
.
|
|
249
|
+
._card_1b88d_1 ._titleInteractive_1b88d_35 {
|
|
250
250
|
cursor: pointer;
|
|
251
251
|
}
|
|
252
|
-
.
|
|
252
|
+
._card_1b88d_1 ._chevron_1b88d_39 {
|
|
253
253
|
margin-left: auto;
|
|
254
254
|
width: 0.5rem;
|
|
255
255
|
height: 0.5rem;
|
|
@@ -259,89 +259,95 @@ div.jcui_chamfer:not(.jcui_disabled):focus-within {
|
|
|
259
259
|
flex-shrink: 0;
|
|
260
260
|
cursor: inherit;
|
|
261
261
|
}
|
|
262
|
-
.
|
|
262
|
+
._card_1b88d_1 ._chevronExpanded_1b88d_50 {
|
|
263
263
|
transform: rotate(45deg);
|
|
264
264
|
}
|
|
265
|
-
.
|
|
265
|
+
._card_1b88d_1 ._chevronCollapsed_1b88d_54 {
|
|
266
266
|
transform: rotate(-45deg);
|
|
267
267
|
}
|
|
268
|
-
.
|
|
269
|
-
.
|
|
268
|
+
._card_1b88d_1 ._titleInteractive_1b88d_35:hover ._chevronExpanded_1b88d_50,
|
|
269
|
+
._card_1b88d_1 ._titleInteractive_1b88d_35:focus-visible ._chevronExpanded_1b88d_50 {
|
|
270
270
|
transform: rotate(30deg);
|
|
271
271
|
}
|
|
272
|
-
.
|
|
273
|
-
.
|
|
272
|
+
._card_1b88d_1 ._titleInteractive_1b88d_35:hover ._chevronCollapsed_1b88d_54,
|
|
273
|
+
._card_1b88d_1 ._titleInteractive_1b88d_35:focus-visible ._chevronCollapsed_1b88d_54 {
|
|
274
274
|
transform: rotate(-30deg);
|
|
275
275
|
}
|
|
276
|
-
.
|
|
276
|
+
._card_1b88d_1 ._content_1b88d_68 {
|
|
277
277
|
display: grid;
|
|
278
278
|
grid-template-rows: 1fr;
|
|
279
279
|
transition:
|
|
280
280
|
grid-template-rows 0.2s ease,
|
|
281
281
|
opacity 0.2s ease;
|
|
282
|
+
flex: 1;
|
|
282
283
|
}
|
|
283
|
-
.
|
|
284
|
+
._card_1b88d_1 ._contentInner_1b88d_77 {
|
|
284
285
|
overflow: hidden;
|
|
285
286
|
min-height: 0;
|
|
286
287
|
display: flex;
|
|
287
288
|
flex-direction: column;
|
|
288
289
|
}
|
|
289
|
-
.
|
|
290
|
+
._card_1b88d_1 ._contentCollapsed_1b88d_84 {
|
|
290
291
|
grid-template-rows: 0fr;
|
|
291
292
|
opacity: 0;
|
|
292
293
|
}
|
|
293
|
-
.
|
|
294
|
+
._card_1b88d_1 ._body_1b88d_89 {
|
|
294
295
|
padding: 0.5rem 1rem;
|
|
295
296
|
width: 100%;
|
|
296
297
|
}
|
|
297
|
-
.
|
|
298
|
+
._card_1b88d_1 ._body_1b88d_89 > hr {
|
|
299
|
+
margin: 1rem 0;
|
|
300
|
+
transform: translateX(-16px);
|
|
301
|
+
width: calc(100% + 32px);
|
|
302
|
+
}
|
|
303
|
+
._card_1b88d_1 ._footer_1b88d_100 {
|
|
298
304
|
border-top: var(--border-thickness) solid var(--border-color);
|
|
299
305
|
flex: 1;
|
|
300
306
|
background-color: var(--card-bg);
|
|
301
307
|
padding: 0.5rem 1rem;
|
|
302
308
|
}
|
|
303
|
-
.
|
|
304
|
-
.
|
|
309
|
+
._large_1b88d_107 ._body_1b88d_89,
|
|
310
|
+
._large_1b88d_107 ._title_1b88d_18 {
|
|
305
311
|
font-size: 1.25rem;
|
|
306
312
|
padding: 0.75rem 1.25rem;
|
|
307
313
|
}
|
|
308
|
-
.
|
|
309
|
-
.
|
|
314
|
+
._small_1b88d_113 ._body_1b88d_89,
|
|
315
|
+
._small_1b88d_113 ._title_1b88d_18 {
|
|
310
316
|
font-size: 0.75rem;
|
|
311
317
|
padding: 0.25rem 0.5rem;
|
|
312
318
|
}
|
|
313
319
|
/* Variants */
|
|
314
|
-
.
|
|
320
|
+
._primary_1b88d_121 {
|
|
315
321
|
--card-bg: var(--primary-color-100);
|
|
316
322
|
--border-color: var(--primary-color-300);
|
|
317
323
|
--border-accent-color: var(--primary-color-600);
|
|
318
324
|
--card-color: var(--primary-color-800);
|
|
319
325
|
}
|
|
320
|
-
.
|
|
326
|
+
._success_1b88d_128 {
|
|
321
327
|
--card-bg: var(--success-color-100);
|
|
322
328
|
--border-color: var(--success-color-300);
|
|
323
329
|
--border-accent-color: var(--success-color-600);
|
|
324
330
|
--card-color: var(--success-color-800);
|
|
325
331
|
}
|
|
326
|
-
.
|
|
332
|
+
._warning_1b88d_135 {
|
|
327
333
|
--card-bg: var(--warning-color-100);
|
|
328
334
|
--border-color: var(--warning-color-300);
|
|
329
335
|
--border-accent-color: var(--warning-color-600);
|
|
330
336
|
--card-color: var(--warning-color-800);
|
|
331
337
|
}
|
|
332
|
-
.
|
|
338
|
+
._danger_1b88d_142 {
|
|
333
339
|
--card-bg: var(--danger-color-100);
|
|
334
340
|
--border-color: var(--danger-color-300);
|
|
335
341
|
--border-accent-color: var(--danger-color-600);
|
|
336
342
|
--card-color: var(--danger-color-800);
|
|
337
343
|
}
|
|
338
|
-
.
|
|
344
|
+
._info_1b88d_149 {
|
|
339
345
|
--card-bg: var(--info-color-100);
|
|
340
346
|
--border-color: var(--info-color-300);
|
|
341
347
|
--border-accent-color: var(--info-color-600);
|
|
342
348
|
--card-color: var(--info-color-800);
|
|
343
349
|
}
|
|
344
|
-
.
|
|
350
|
+
._secondary_1b88d_156 {
|
|
345
351
|
--card-bg: var(--secondary-color-100);
|
|
346
352
|
--border-color: var(--secondary-color-300);
|
|
347
353
|
--border-accent-color: var(--secondary-color-600);
|
|
@@ -2654,28 +2660,28 @@ function requireClassnames() {
|
|
|
2654
2660
|
}
|
|
2655
2661
|
var classnamesExports = requireClassnames();
|
|
2656
2662
|
const classNames = /* @__PURE__ */ getDefaultExportFromCjs(classnamesExports);
|
|
2657
|
-
const card = "
|
|
2658
|
-
const pageBackground$3 = "
|
|
2659
|
-
const title$1 = "
|
|
2660
|
-
const titleCollapsed = "
|
|
2661
|
-
const titleContent = "
|
|
2662
|
-
const titleInteractive = "
|
|
2663
|
-
const chevron = "
|
|
2664
|
-
const chevronExpanded = "
|
|
2665
|
-
const chevronCollapsed = "
|
|
2666
|
-
const content$4 = "
|
|
2667
|
-
const contentInner = "
|
|
2668
|
-
const contentCollapsed = "
|
|
2669
|
-
const body$1 = "
|
|
2670
|
-
const footer$1 = "
|
|
2671
|
-
const large$7 = "
|
|
2672
|
-
const small$7 = "
|
|
2673
|
-
const primary$9 = "
|
|
2674
|
-
const success$9 = "
|
|
2675
|
-
const warning$9 = "
|
|
2676
|
-
const danger$9 = "
|
|
2677
|
-
const info$9 = "
|
|
2678
|
-
const secondary$9 = "
|
|
2663
|
+
const card = "_card_1b88d_1";
|
|
2664
|
+
const pageBackground$3 = "_pageBackground_1b88d_11";
|
|
2665
|
+
const title$1 = "_title_1b88d_18";
|
|
2666
|
+
const titleCollapsed = "_titleCollapsed_1b88d_25";
|
|
2667
|
+
const titleContent = "_titleContent_1b88d_29";
|
|
2668
|
+
const titleInteractive = "_titleInteractive_1b88d_35";
|
|
2669
|
+
const chevron = "_chevron_1b88d_39";
|
|
2670
|
+
const chevronExpanded = "_chevronExpanded_1b88d_50";
|
|
2671
|
+
const chevronCollapsed = "_chevronCollapsed_1b88d_54";
|
|
2672
|
+
const content$4 = "_content_1b88d_68";
|
|
2673
|
+
const contentInner = "_contentInner_1b88d_77";
|
|
2674
|
+
const contentCollapsed = "_contentCollapsed_1b88d_84";
|
|
2675
|
+
const body$1 = "_body_1b88d_89";
|
|
2676
|
+
const footer$1 = "_footer_1b88d_100";
|
|
2677
|
+
const large$7 = "_large_1b88d_107";
|
|
2678
|
+
const small$7 = "_small_1b88d_113";
|
|
2679
|
+
const primary$9 = "_primary_1b88d_121";
|
|
2680
|
+
const success$9 = "_success_1b88d_128";
|
|
2681
|
+
const warning$9 = "_warning_1b88d_135";
|
|
2682
|
+
const danger$9 = "_danger_1b88d_142";
|
|
2683
|
+
const info$9 = "_info_1b88d_149";
|
|
2684
|
+
const secondary$9 = "_secondary_1b88d_156";
|
|
2679
2685
|
const styles$b = {
|
|
2680
2686
|
card,
|
|
2681
2687
|
pageBackground: pageBackground$3,
|