@jackcrane/ui 0.1.24 → 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 +52 -51
- package/dist/jcui.es.js +52 -51
- 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,94 +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 {
|
|
298
299
|
margin: 1rem 0;
|
|
299
300
|
transform: translateX(-16px);
|
|
300
301
|
width: calc(100% + 32px);
|
|
301
302
|
}
|
|
302
|
-
.
|
|
303
|
+
._card_1b88d_1 ._footer_1b88d_100 {
|
|
303
304
|
border-top: var(--border-thickness) solid var(--border-color);
|
|
304
305
|
flex: 1;
|
|
305
306
|
background-color: var(--card-bg);
|
|
306
307
|
padding: 0.5rem 1rem;
|
|
307
308
|
}
|
|
308
|
-
.
|
|
309
|
-
.
|
|
309
|
+
._large_1b88d_107 ._body_1b88d_89,
|
|
310
|
+
._large_1b88d_107 ._title_1b88d_18 {
|
|
310
311
|
font-size: 1.25rem;
|
|
311
312
|
padding: 0.75rem 1.25rem;
|
|
312
313
|
}
|
|
313
|
-
.
|
|
314
|
-
.
|
|
314
|
+
._small_1b88d_113 ._body_1b88d_89,
|
|
315
|
+
._small_1b88d_113 ._title_1b88d_18 {
|
|
315
316
|
font-size: 0.75rem;
|
|
316
317
|
padding: 0.25rem 0.5rem;
|
|
317
318
|
}
|
|
318
319
|
/* Variants */
|
|
319
|
-
.
|
|
320
|
+
._primary_1b88d_121 {
|
|
320
321
|
--card-bg: var(--primary-color-100);
|
|
321
322
|
--border-color: var(--primary-color-300);
|
|
322
323
|
--border-accent-color: var(--primary-color-600);
|
|
323
324
|
--card-color: var(--primary-color-800);
|
|
324
325
|
}
|
|
325
|
-
.
|
|
326
|
+
._success_1b88d_128 {
|
|
326
327
|
--card-bg: var(--success-color-100);
|
|
327
328
|
--border-color: var(--success-color-300);
|
|
328
329
|
--border-accent-color: var(--success-color-600);
|
|
329
330
|
--card-color: var(--success-color-800);
|
|
330
331
|
}
|
|
331
|
-
.
|
|
332
|
+
._warning_1b88d_135 {
|
|
332
333
|
--card-bg: var(--warning-color-100);
|
|
333
334
|
--border-color: var(--warning-color-300);
|
|
334
335
|
--border-accent-color: var(--warning-color-600);
|
|
335
336
|
--card-color: var(--warning-color-800);
|
|
336
337
|
}
|
|
337
|
-
.
|
|
338
|
+
._danger_1b88d_142 {
|
|
338
339
|
--card-bg: var(--danger-color-100);
|
|
339
340
|
--border-color: var(--danger-color-300);
|
|
340
341
|
--border-accent-color: var(--danger-color-600);
|
|
341
342
|
--card-color: var(--danger-color-800);
|
|
342
343
|
}
|
|
343
|
-
.
|
|
344
|
+
._info_1b88d_149 {
|
|
344
345
|
--card-bg: var(--info-color-100);
|
|
345
346
|
--border-color: var(--info-color-300);
|
|
346
347
|
--border-accent-color: var(--info-color-600);
|
|
347
348
|
--card-color: var(--info-color-800);
|
|
348
349
|
}
|
|
349
|
-
.
|
|
350
|
+
._secondary_1b88d_156 {
|
|
350
351
|
--card-bg: var(--secondary-color-100);
|
|
351
352
|
--border-color: var(--secondary-color-300);
|
|
352
353
|
--border-accent-color: var(--secondary-color-600);
|
|
@@ -2677,28 +2678,28 @@ function requireClassnames() {
|
|
|
2677
2678
|
}
|
|
2678
2679
|
var classnamesExports = requireClassnames();
|
|
2679
2680
|
const classNames = /* @__PURE__ */ getDefaultExportFromCjs(classnamesExports);
|
|
2680
|
-
const card = "
|
|
2681
|
-
const pageBackground$3 = "
|
|
2682
|
-
const title$1 = "
|
|
2683
|
-
const titleCollapsed = "
|
|
2684
|
-
const titleContent = "
|
|
2685
|
-
const titleInteractive = "
|
|
2686
|
-
const chevron = "
|
|
2687
|
-
const chevronExpanded = "
|
|
2688
|
-
const chevronCollapsed = "
|
|
2689
|
-
const content$4 = "
|
|
2690
|
-
const contentInner = "
|
|
2691
|
-
const contentCollapsed = "
|
|
2692
|
-
const body$1 = "
|
|
2693
|
-
const footer$1 = "
|
|
2694
|
-
const large$7 = "
|
|
2695
|
-
const small$7 = "
|
|
2696
|
-
const primary$9 = "
|
|
2697
|
-
const success$9 = "
|
|
2698
|
-
const warning$9 = "
|
|
2699
|
-
const danger$9 = "
|
|
2700
|
-
const info$9 = "
|
|
2701
|
-
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";
|
|
2702
2703
|
const styles$b = {
|
|
2703
2704
|
card,
|
|
2704
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,94 +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 {
|
|
298
299
|
margin: 1rem 0;
|
|
299
300
|
transform: translateX(-16px);
|
|
300
301
|
width: calc(100% + 32px);
|
|
301
302
|
}
|
|
302
|
-
.
|
|
303
|
+
._card_1b88d_1 ._footer_1b88d_100 {
|
|
303
304
|
border-top: var(--border-thickness) solid var(--border-color);
|
|
304
305
|
flex: 1;
|
|
305
306
|
background-color: var(--card-bg);
|
|
306
307
|
padding: 0.5rem 1rem;
|
|
307
308
|
}
|
|
308
|
-
.
|
|
309
|
-
.
|
|
309
|
+
._large_1b88d_107 ._body_1b88d_89,
|
|
310
|
+
._large_1b88d_107 ._title_1b88d_18 {
|
|
310
311
|
font-size: 1.25rem;
|
|
311
312
|
padding: 0.75rem 1.25rem;
|
|
312
313
|
}
|
|
313
|
-
.
|
|
314
|
-
.
|
|
314
|
+
._small_1b88d_113 ._body_1b88d_89,
|
|
315
|
+
._small_1b88d_113 ._title_1b88d_18 {
|
|
315
316
|
font-size: 0.75rem;
|
|
316
317
|
padding: 0.25rem 0.5rem;
|
|
317
318
|
}
|
|
318
319
|
/* Variants */
|
|
319
|
-
.
|
|
320
|
+
._primary_1b88d_121 {
|
|
320
321
|
--card-bg: var(--primary-color-100);
|
|
321
322
|
--border-color: var(--primary-color-300);
|
|
322
323
|
--border-accent-color: var(--primary-color-600);
|
|
323
324
|
--card-color: var(--primary-color-800);
|
|
324
325
|
}
|
|
325
|
-
.
|
|
326
|
+
._success_1b88d_128 {
|
|
326
327
|
--card-bg: var(--success-color-100);
|
|
327
328
|
--border-color: var(--success-color-300);
|
|
328
329
|
--border-accent-color: var(--success-color-600);
|
|
329
330
|
--card-color: var(--success-color-800);
|
|
330
331
|
}
|
|
331
|
-
.
|
|
332
|
+
._warning_1b88d_135 {
|
|
332
333
|
--card-bg: var(--warning-color-100);
|
|
333
334
|
--border-color: var(--warning-color-300);
|
|
334
335
|
--border-accent-color: var(--warning-color-600);
|
|
335
336
|
--card-color: var(--warning-color-800);
|
|
336
337
|
}
|
|
337
|
-
.
|
|
338
|
+
._danger_1b88d_142 {
|
|
338
339
|
--card-bg: var(--danger-color-100);
|
|
339
340
|
--border-color: var(--danger-color-300);
|
|
340
341
|
--border-accent-color: var(--danger-color-600);
|
|
341
342
|
--card-color: var(--danger-color-800);
|
|
342
343
|
}
|
|
343
|
-
.
|
|
344
|
+
._info_1b88d_149 {
|
|
344
345
|
--card-bg: var(--info-color-100);
|
|
345
346
|
--border-color: var(--info-color-300);
|
|
346
347
|
--border-accent-color: var(--info-color-600);
|
|
347
348
|
--card-color: var(--info-color-800);
|
|
348
349
|
}
|
|
349
|
-
.
|
|
350
|
+
._secondary_1b88d_156 {
|
|
350
351
|
--card-bg: var(--secondary-color-100);
|
|
351
352
|
--border-color: var(--secondary-color-300);
|
|
352
353
|
--border-accent-color: var(--secondary-color-600);
|
|
@@ -2659,28 +2660,28 @@ function requireClassnames() {
|
|
|
2659
2660
|
}
|
|
2660
2661
|
var classnamesExports = requireClassnames();
|
|
2661
2662
|
const classNames = /* @__PURE__ */ getDefaultExportFromCjs(classnamesExports);
|
|
2662
|
-
const card = "
|
|
2663
|
-
const pageBackground$3 = "
|
|
2664
|
-
const title$1 = "
|
|
2665
|
-
const titleCollapsed = "
|
|
2666
|
-
const titleContent = "
|
|
2667
|
-
const titleInteractive = "
|
|
2668
|
-
const chevron = "
|
|
2669
|
-
const chevronExpanded = "
|
|
2670
|
-
const chevronCollapsed = "
|
|
2671
|
-
const content$4 = "
|
|
2672
|
-
const contentInner = "
|
|
2673
|
-
const contentCollapsed = "
|
|
2674
|
-
const body$1 = "
|
|
2675
|
-
const footer$1 = "
|
|
2676
|
-
const large$7 = "
|
|
2677
|
-
const small$7 = "
|
|
2678
|
-
const primary$9 = "
|
|
2679
|
-
const success$9 = "
|
|
2680
|
-
const warning$9 = "
|
|
2681
|
-
const danger$9 = "
|
|
2682
|
-
const info$9 = "
|
|
2683
|
-
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";
|
|
2684
2685
|
const styles$b = {
|
|
2685
2686
|
card,
|
|
2686
2687
|
pageBackground: pageBackground$3,
|