@jackcrane/ui 0.1.22 → 0.1.24

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 CHANGED
@@ -217,7 +217,7 @@ div.jcui_chamfer:not(.jcui_disabled):focus-within {
217
217
  transform: rotate(360deg);
218
218
  }
219
219
  }
220
- ._card_1wvfe_1 {
220
+ ._card_15n7t_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
- ._pageBackground_1wvfe_11 {
229
+ ._pageBackground_15n7t_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
- ._card_1wvfe_1 ._title_1wvfe_18 {
235
+ ._card_15n7t_1 ._title_15n7t_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
- ._card_1wvfe_1 ._titleCollapsed_1wvfe_25 {
241
+ ._card_15n7t_1 ._titleCollapsed_15n7t_25 {
242
242
  border-bottom: 0;
243
243
  }
244
- ._card_1wvfe_1 ._titleContent_1wvfe_29 {
244
+ ._card_15n7t_1 ._titleContent_15n7t_29 {
245
245
  display: flex;
246
246
  align-items: center;
247
247
  gap: 0.5rem;
248
248
  }
249
- ._card_1wvfe_1 ._titleInteractive_1wvfe_35 {
249
+ ._card_15n7t_1 ._titleInteractive_15n7t_35 {
250
250
  cursor: pointer;
251
251
  }
252
- ._card_1wvfe_1 ._chevron_1wvfe_39 {
252
+ ._card_15n7t_1 ._chevron_15n7t_39 {
253
253
  margin-left: auto;
254
254
  width: 0.5rem;
255
255
  height: 0.5rem;
@@ -259,89 +259,94 @@ div.jcui_chamfer:not(.jcui_disabled):focus-within {
259
259
  flex-shrink: 0;
260
260
  cursor: inherit;
261
261
  }
262
- ._card_1wvfe_1 ._chevronExpanded_1wvfe_50 {
262
+ ._card_15n7t_1 ._chevronExpanded_15n7t_50 {
263
263
  transform: rotate(45deg);
264
264
  }
265
- ._card_1wvfe_1 ._chevronCollapsed_1wvfe_54 {
265
+ ._card_15n7t_1 ._chevronCollapsed_15n7t_54 {
266
266
  transform: rotate(-45deg);
267
267
  }
268
- ._card_1wvfe_1 ._titleInteractive_1wvfe_35:hover ._chevronExpanded_1wvfe_50,
269
- ._card_1wvfe_1 ._titleInteractive_1wvfe_35:focus-visible ._chevronExpanded_1wvfe_50 {
268
+ ._card_15n7t_1 ._titleInteractive_15n7t_35:hover ._chevronExpanded_15n7t_50,
269
+ ._card_15n7t_1 ._titleInteractive_15n7t_35:focus-visible ._chevronExpanded_15n7t_50 {
270
270
  transform: rotate(30deg);
271
271
  }
272
- ._card_1wvfe_1 ._titleInteractive_1wvfe_35:hover ._chevronCollapsed_1wvfe_54,
273
- ._card_1wvfe_1 ._titleInteractive_1wvfe_35:focus-visible ._chevronCollapsed_1wvfe_54 {
272
+ ._card_15n7t_1 ._titleInteractive_15n7t_35:hover ._chevronCollapsed_15n7t_54,
273
+ ._card_15n7t_1 ._titleInteractive_15n7t_35:focus-visible ._chevronCollapsed_15n7t_54 {
274
274
  transform: rotate(-30deg);
275
275
  }
276
- ._card_1wvfe_1 ._content_1wvfe_68 {
276
+ ._card_15n7t_1 ._content_15n7t_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
282
  }
283
- ._card_1wvfe_1 ._contentInner_1wvfe_76 {
283
+ ._card_15n7t_1 ._contentInner_15n7t_76 {
284
284
  overflow: hidden;
285
285
  min-height: 0;
286
286
  display: flex;
287
287
  flex-direction: column;
288
288
  }
289
- ._card_1wvfe_1 ._contentCollapsed_1wvfe_83 {
289
+ ._card_15n7t_1 ._contentCollapsed_15n7t_83 {
290
290
  grid-template-rows: 0fr;
291
291
  opacity: 0;
292
292
  }
293
- ._card_1wvfe_1 ._body_1wvfe_88 {
293
+ ._card_15n7t_1 ._body_15n7t_88 {
294
294
  padding: 0.5rem 1rem;
295
295
  width: 100%;
296
296
  }
297
- ._card_1wvfe_1 ._footer_1wvfe_93 {
297
+ ._card_15n7t_1 ._body_15n7t_88 > hr {
298
+ margin: 1rem 0;
299
+ transform: translateX(-16px);
300
+ width: calc(100% + 32px);
301
+ }
302
+ ._card_15n7t_1 ._footer_15n7t_99 {
298
303
  border-top: var(--border-thickness) solid var(--border-color);
299
304
  flex: 1;
300
305
  background-color: var(--card-bg);
301
306
  padding: 0.5rem 1rem;
302
307
  }
303
- ._large_1wvfe_100 ._body_1wvfe_88,
304
- ._large_1wvfe_100 ._title_1wvfe_18 {
308
+ ._large_15n7t_106 ._body_15n7t_88,
309
+ ._large_15n7t_106 ._title_15n7t_18 {
305
310
  font-size: 1.25rem;
306
311
  padding: 0.75rem 1.25rem;
307
312
  }
308
- ._small_1wvfe_106 ._body_1wvfe_88,
309
- ._small_1wvfe_106 ._title_1wvfe_18 {
313
+ ._small_15n7t_112 ._body_15n7t_88,
314
+ ._small_15n7t_112 ._title_15n7t_18 {
310
315
  font-size: 0.75rem;
311
316
  padding: 0.25rem 0.5rem;
312
317
  }
313
318
  /* Variants */
314
- ._primary_1wvfe_114 {
319
+ ._primary_15n7t_120 {
315
320
  --card-bg: var(--primary-color-100);
316
321
  --border-color: var(--primary-color-300);
317
322
  --border-accent-color: var(--primary-color-600);
318
323
  --card-color: var(--primary-color-800);
319
324
  }
320
- ._success_1wvfe_121 {
325
+ ._success_15n7t_127 {
321
326
  --card-bg: var(--success-color-100);
322
327
  --border-color: var(--success-color-300);
323
328
  --border-accent-color: var(--success-color-600);
324
329
  --card-color: var(--success-color-800);
325
330
  }
326
- ._warning_1wvfe_128 {
331
+ ._warning_15n7t_134 {
327
332
  --card-bg: var(--warning-color-100);
328
333
  --border-color: var(--warning-color-300);
329
334
  --border-accent-color: var(--warning-color-600);
330
335
  --card-color: var(--warning-color-800);
331
336
  }
332
- ._danger_1wvfe_135 {
337
+ ._danger_15n7t_141 {
333
338
  --card-bg: var(--danger-color-100);
334
339
  --border-color: var(--danger-color-300);
335
340
  --border-accent-color: var(--danger-color-600);
336
341
  --card-color: var(--danger-color-800);
337
342
  }
338
- ._info_1wvfe_142 {
343
+ ._info_15n7t_148 {
339
344
  --card-bg: var(--info-color-100);
340
345
  --border-color: var(--info-color-300);
341
346
  --border-accent-color: var(--info-color-600);
342
347
  --card-color: var(--info-color-800);
343
348
  }
344
- ._secondary_1wvfe_149 {
349
+ ._secondary_15n7t_155 {
345
350
  --card-bg: var(--secondary-color-100);
346
351
  --border-color: var(--secondary-color-300);
347
352
  --border-accent-color: var(--secondary-color-600);
@@ -1644,7 +1649,7 @@ div.jcui_chamfer:not(.jcui_disabled):focus-within {
1644
1649
  --button-color: var(--body-color);
1645
1650
  }
1646
1651
  /* modal.module.css */
1647
- @keyframes _overlayIn_1fxeg_1 {
1652
+ @keyframes _overlayIn_10x08_1 {
1648
1653
  from {
1649
1654
  opacity: 0;
1650
1655
  }
@@ -1652,7 +1657,7 @@ div.jcui_chamfer:not(.jcui_disabled):focus-within {
1652
1657
  opacity: 1;
1653
1658
  }
1654
1659
  }
1655
- @keyframes _overlayOut_1fxeg_1 {
1660
+ @keyframes _overlayOut_10x08_1 {
1656
1661
  from {
1657
1662
  opacity: 1;
1658
1663
  }
@@ -1660,7 +1665,7 @@ div.jcui_chamfer:not(.jcui_disabled):focus-within {
1660
1665
  opacity: 0;
1661
1666
  }
1662
1667
  }
1663
- @keyframes _panelIn_1fxeg_1 {
1668
+ @keyframes _panelIn_10x08_1 {
1664
1669
  from {
1665
1670
  opacity: 0;
1666
1671
  transform: translateX(400px);
@@ -1670,7 +1675,7 @@ div.jcui_chamfer:not(.jcui_disabled):focus-within {
1670
1675
  transform: translateX(0);
1671
1676
  }
1672
1677
  }
1673
- @keyframes _panelOut_1fxeg_1 {
1678
+ @keyframes _panelOut_10x08_1 {
1674
1679
  from {
1675
1680
  opacity: 1;
1676
1681
  transform: translateX(0);
@@ -1680,23 +1685,23 @@ div.jcui_chamfer:not(.jcui_disabled):focus-within {
1680
1685
  transform: translateX(100%);
1681
1686
  }
1682
1687
  }
1683
- ._overlay_1fxeg_43 {
1688
+ ._overlay_10x08_43 {
1684
1689
  position: fixed;
1685
1690
  inset: 0;
1686
1691
  z-index: 98;
1687
1692
  }
1688
- ._overlayBackdrop_1fxeg_49 {
1693
+ ._overlayBackdrop_10x08_49 {
1689
1694
  position: absolute;
1690
1695
  inset: 0;
1691
1696
  background: color-mix(in srgb, var(--body-bg) 50%, transparent);
1692
1697
  }
1693
- ._overlay_1fxeg_43[data-state="open"] {
1694
- animation: _overlayIn_1fxeg_1 160ms ease-out;
1698
+ ._overlay_10x08_43[data-state="open"] {
1699
+ animation: _overlayIn_10x08_1 160ms ease-out;
1695
1700
  }
1696
- ._overlay_1fxeg_43[data-state="closed"] {
1697
- animation: _overlayOut_1fxeg_1 120ms ease-in;
1701
+ ._overlay_10x08_43[data-state="closed"] {
1702
+ animation: _overlayOut_10x08_1 120ms ease-in;
1698
1703
  }
1699
- ._content_1fxeg_63 {
1704
+ ._content_10x08_63 {
1700
1705
  position: fixed;
1701
1706
  top: 10px;
1702
1707
  right: 10px;
@@ -1709,29 +1714,34 @@ div.jcui_chamfer:not(.jcui_disabled):focus-within {
1709
1714
  display: flex;
1710
1715
  flex-direction: column;
1711
1716
  }
1712
- ._content_1fxeg_63[data-state="open"] {
1713
- animation: _panelIn_1fxeg_1 180ms cubic-bezier(0.16, 1, 0.3, 1);
1717
+ ._content_10x08_63[data-state="open"] {
1718
+ animation: _panelIn_10x08_1 180ms cubic-bezier(0.16, 1, 0.3, 1);
1714
1719
  }
1715
- ._content_1fxeg_63[data-state="closed"] {
1716
- animation: _panelOut_1fxeg_1 140ms ease-in;
1720
+ ._content_10x08_63[data-state="closed"] {
1721
+ animation: _panelOut_10x08_1 140ms ease-in;
1717
1722
  }
1718
- body.jcui-modal-mobile ._content_1fxeg_63 {
1723
+ body.jcui-modal-mobile ._content_10x08_63 {
1719
1724
  top: 0;
1720
1725
  right: 0;
1721
1726
  bottom: 0;
1722
1727
  left: 0;
1723
1728
  min-width: 0;
1724
1729
  }
1725
- ._title_1fxeg_96 {
1730
+ ._title_10x08_96 {
1726
1731
  margin: 0;
1727
1732
  }
1728
- ._body_1fxeg_100 {
1733
+ ._body_10x08_100 {
1729
1734
  flex: 1;
1730
1735
  min-height: 0;
1731
1736
  overflow-y: auto;
1732
1737
  padding-top: 1rem;
1733
1738
  }
1734
- ._footer_1fxeg_107 {
1739
+ ._body_10x08_100 > hr {
1740
+ margin: 1rem 0;
1741
+ transform: translateX(-16px);
1742
+ width: calc(100% + 32px);
1743
+ }
1744
+ ._footer_10x08_113 {
1735
1745
  margin: -12px;
1736
1746
  margin-top: 0px;
1737
1747
  padding: 12px;
@@ -2667,28 +2677,28 @@ function requireClassnames() {
2667
2677
  }
2668
2678
  var classnamesExports = requireClassnames();
2669
2679
  const classNames = /* @__PURE__ */ getDefaultExportFromCjs(classnamesExports);
2670
- const card = "_card_1wvfe_1";
2671
- const pageBackground$3 = "_pageBackground_1wvfe_11";
2672
- const title$1 = "_title_1wvfe_18";
2673
- const titleCollapsed = "_titleCollapsed_1wvfe_25";
2674
- const titleContent = "_titleContent_1wvfe_29";
2675
- const titleInteractive = "_titleInteractive_1wvfe_35";
2676
- const chevron = "_chevron_1wvfe_39";
2677
- const chevronExpanded = "_chevronExpanded_1wvfe_50";
2678
- const chevronCollapsed = "_chevronCollapsed_1wvfe_54";
2679
- const content$4 = "_content_1wvfe_68";
2680
- const contentInner = "_contentInner_1wvfe_76";
2681
- const contentCollapsed = "_contentCollapsed_1wvfe_83";
2682
- const body$1 = "_body_1wvfe_88";
2683
- const footer$1 = "_footer_1wvfe_93";
2684
- const large$7 = "_large_1wvfe_100";
2685
- const small$7 = "_small_1wvfe_106";
2686
- const primary$9 = "_primary_1wvfe_114";
2687
- const success$9 = "_success_1wvfe_121";
2688
- const warning$9 = "_warning_1wvfe_128";
2689
- const danger$9 = "_danger_1wvfe_135";
2690
- const info$9 = "_info_1wvfe_142";
2691
- const secondary$9 = "_secondary_1wvfe_149";
2680
+ const card = "_card_15n7t_1";
2681
+ const pageBackground$3 = "_pageBackground_15n7t_11";
2682
+ const title$1 = "_title_15n7t_18";
2683
+ const titleCollapsed = "_titleCollapsed_15n7t_25";
2684
+ const titleContent = "_titleContent_15n7t_29";
2685
+ const titleInteractive = "_titleInteractive_15n7t_35";
2686
+ const chevron = "_chevron_15n7t_39";
2687
+ const chevronExpanded = "_chevronExpanded_15n7t_50";
2688
+ const chevronCollapsed = "_chevronCollapsed_15n7t_54";
2689
+ const content$4 = "_content_15n7t_68";
2690
+ const contentInner = "_contentInner_15n7t_76";
2691
+ const contentCollapsed = "_contentCollapsed_15n7t_83";
2692
+ const body$1 = "_body_15n7t_88";
2693
+ const footer$1 = "_footer_15n7t_99";
2694
+ const large$7 = "_large_15n7t_106";
2695
+ const small$7 = "_small_15n7t_112";
2696
+ const primary$9 = "_primary_15n7t_120";
2697
+ const success$9 = "_success_15n7t_127";
2698
+ const warning$9 = "_warning_15n7t_134";
2699
+ const danger$9 = "_danger_15n7t_141";
2700
+ const info$9 = "_info_15n7t_148";
2701
+ const secondary$9 = "_secondary_15n7t_155";
2692
2702
  const styles$b = {
2693
2703
  card,
2694
2704
  pageBackground: pageBackground$3,
@@ -27947,12 +27957,12 @@ var Overlay = DialogOverlay;
27947
27957
  var Content = DialogContent;
27948
27958
  var Title = DialogTitle;
27949
27959
  var Close = DialogClose;
27950
- const overlay = "_overlay_1fxeg_43";
27951
- const overlayBackdrop = "_overlayBackdrop_1fxeg_49";
27952
- const content$1 = "_content_1fxeg_63";
27953
- const title = "_title_1fxeg_96";
27954
- const body = "_body_1fxeg_100";
27955
- const footer = "_footer_1fxeg_107";
27960
+ const overlay = "_overlay_10x08_43";
27961
+ const overlayBackdrop = "_overlayBackdrop_10x08_49";
27962
+ const content$1 = "_content_10x08_63";
27963
+ const title = "_title_10x08_96";
27964
+ const body = "_body_10x08_100";
27965
+ const footer = "_footer_10x08_113";
27956
27966
  const styles$1 = {
27957
27967
  overlay,
27958
27968
  overlayBackdrop,
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
- ._card_1wvfe_1 {
220
+ ._card_15n7t_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
- ._pageBackground_1wvfe_11 {
229
+ ._pageBackground_15n7t_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
- ._card_1wvfe_1 ._title_1wvfe_18 {
235
+ ._card_15n7t_1 ._title_15n7t_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
- ._card_1wvfe_1 ._titleCollapsed_1wvfe_25 {
241
+ ._card_15n7t_1 ._titleCollapsed_15n7t_25 {
242
242
  border-bottom: 0;
243
243
  }
244
- ._card_1wvfe_1 ._titleContent_1wvfe_29 {
244
+ ._card_15n7t_1 ._titleContent_15n7t_29 {
245
245
  display: flex;
246
246
  align-items: center;
247
247
  gap: 0.5rem;
248
248
  }
249
- ._card_1wvfe_1 ._titleInteractive_1wvfe_35 {
249
+ ._card_15n7t_1 ._titleInteractive_15n7t_35 {
250
250
  cursor: pointer;
251
251
  }
252
- ._card_1wvfe_1 ._chevron_1wvfe_39 {
252
+ ._card_15n7t_1 ._chevron_15n7t_39 {
253
253
  margin-left: auto;
254
254
  width: 0.5rem;
255
255
  height: 0.5rem;
@@ -259,89 +259,94 @@ div.jcui_chamfer:not(.jcui_disabled):focus-within {
259
259
  flex-shrink: 0;
260
260
  cursor: inherit;
261
261
  }
262
- ._card_1wvfe_1 ._chevronExpanded_1wvfe_50 {
262
+ ._card_15n7t_1 ._chevronExpanded_15n7t_50 {
263
263
  transform: rotate(45deg);
264
264
  }
265
- ._card_1wvfe_1 ._chevronCollapsed_1wvfe_54 {
265
+ ._card_15n7t_1 ._chevronCollapsed_15n7t_54 {
266
266
  transform: rotate(-45deg);
267
267
  }
268
- ._card_1wvfe_1 ._titleInteractive_1wvfe_35:hover ._chevronExpanded_1wvfe_50,
269
- ._card_1wvfe_1 ._titleInteractive_1wvfe_35:focus-visible ._chevronExpanded_1wvfe_50 {
268
+ ._card_15n7t_1 ._titleInteractive_15n7t_35:hover ._chevronExpanded_15n7t_50,
269
+ ._card_15n7t_1 ._titleInteractive_15n7t_35:focus-visible ._chevronExpanded_15n7t_50 {
270
270
  transform: rotate(30deg);
271
271
  }
272
- ._card_1wvfe_1 ._titleInteractive_1wvfe_35:hover ._chevronCollapsed_1wvfe_54,
273
- ._card_1wvfe_1 ._titleInteractive_1wvfe_35:focus-visible ._chevronCollapsed_1wvfe_54 {
272
+ ._card_15n7t_1 ._titleInteractive_15n7t_35:hover ._chevronCollapsed_15n7t_54,
273
+ ._card_15n7t_1 ._titleInteractive_15n7t_35:focus-visible ._chevronCollapsed_15n7t_54 {
274
274
  transform: rotate(-30deg);
275
275
  }
276
- ._card_1wvfe_1 ._content_1wvfe_68 {
276
+ ._card_15n7t_1 ._content_15n7t_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
282
  }
283
- ._card_1wvfe_1 ._contentInner_1wvfe_76 {
283
+ ._card_15n7t_1 ._contentInner_15n7t_76 {
284
284
  overflow: hidden;
285
285
  min-height: 0;
286
286
  display: flex;
287
287
  flex-direction: column;
288
288
  }
289
- ._card_1wvfe_1 ._contentCollapsed_1wvfe_83 {
289
+ ._card_15n7t_1 ._contentCollapsed_15n7t_83 {
290
290
  grid-template-rows: 0fr;
291
291
  opacity: 0;
292
292
  }
293
- ._card_1wvfe_1 ._body_1wvfe_88 {
293
+ ._card_15n7t_1 ._body_15n7t_88 {
294
294
  padding: 0.5rem 1rem;
295
295
  width: 100%;
296
296
  }
297
- ._card_1wvfe_1 ._footer_1wvfe_93 {
297
+ ._card_15n7t_1 ._body_15n7t_88 > hr {
298
+ margin: 1rem 0;
299
+ transform: translateX(-16px);
300
+ width: calc(100% + 32px);
301
+ }
302
+ ._card_15n7t_1 ._footer_15n7t_99 {
298
303
  border-top: var(--border-thickness) solid var(--border-color);
299
304
  flex: 1;
300
305
  background-color: var(--card-bg);
301
306
  padding: 0.5rem 1rem;
302
307
  }
303
- ._large_1wvfe_100 ._body_1wvfe_88,
304
- ._large_1wvfe_100 ._title_1wvfe_18 {
308
+ ._large_15n7t_106 ._body_15n7t_88,
309
+ ._large_15n7t_106 ._title_15n7t_18 {
305
310
  font-size: 1.25rem;
306
311
  padding: 0.75rem 1.25rem;
307
312
  }
308
- ._small_1wvfe_106 ._body_1wvfe_88,
309
- ._small_1wvfe_106 ._title_1wvfe_18 {
313
+ ._small_15n7t_112 ._body_15n7t_88,
314
+ ._small_15n7t_112 ._title_15n7t_18 {
310
315
  font-size: 0.75rem;
311
316
  padding: 0.25rem 0.5rem;
312
317
  }
313
318
  /* Variants */
314
- ._primary_1wvfe_114 {
319
+ ._primary_15n7t_120 {
315
320
  --card-bg: var(--primary-color-100);
316
321
  --border-color: var(--primary-color-300);
317
322
  --border-accent-color: var(--primary-color-600);
318
323
  --card-color: var(--primary-color-800);
319
324
  }
320
- ._success_1wvfe_121 {
325
+ ._success_15n7t_127 {
321
326
  --card-bg: var(--success-color-100);
322
327
  --border-color: var(--success-color-300);
323
328
  --border-accent-color: var(--success-color-600);
324
329
  --card-color: var(--success-color-800);
325
330
  }
326
- ._warning_1wvfe_128 {
331
+ ._warning_15n7t_134 {
327
332
  --card-bg: var(--warning-color-100);
328
333
  --border-color: var(--warning-color-300);
329
334
  --border-accent-color: var(--warning-color-600);
330
335
  --card-color: var(--warning-color-800);
331
336
  }
332
- ._danger_1wvfe_135 {
337
+ ._danger_15n7t_141 {
333
338
  --card-bg: var(--danger-color-100);
334
339
  --border-color: var(--danger-color-300);
335
340
  --border-accent-color: var(--danger-color-600);
336
341
  --card-color: var(--danger-color-800);
337
342
  }
338
- ._info_1wvfe_142 {
343
+ ._info_15n7t_148 {
339
344
  --card-bg: var(--info-color-100);
340
345
  --border-color: var(--info-color-300);
341
346
  --border-accent-color: var(--info-color-600);
342
347
  --card-color: var(--info-color-800);
343
348
  }
344
- ._secondary_1wvfe_149 {
349
+ ._secondary_15n7t_155 {
345
350
  --card-bg: var(--secondary-color-100);
346
351
  --border-color: var(--secondary-color-300);
347
352
  --border-accent-color: var(--secondary-color-600);
@@ -1644,7 +1649,7 @@ div.jcui_chamfer:not(.jcui_disabled):focus-within {
1644
1649
  --button-color: var(--body-color);
1645
1650
  }
1646
1651
  /* modal.module.css */
1647
- @keyframes _overlayIn_1fxeg_1 {
1652
+ @keyframes _overlayIn_10x08_1 {
1648
1653
  from {
1649
1654
  opacity: 0;
1650
1655
  }
@@ -1652,7 +1657,7 @@ div.jcui_chamfer:not(.jcui_disabled):focus-within {
1652
1657
  opacity: 1;
1653
1658
  }
1654
1659
  }
1655
- @keyframes _overlayOut_1fxeg_1 {
1660
+ @keyframes _overlayOut_10x08_1 {
1656
1661
  from {
1657
1662
  opacity: 1;
1658
1663
  }
@@ -1660,7 +1665,7 @@ div.jcui_chamfer:not(.jcui_disabled):focus-within {
1660
1665
  opacity: 0;
1661
1666
  }
1662
1667
  }
1663
- @keyframes _panelIn_1fxeg_1 {
1668
+ @keyframes _panelIn_10x08_1 {
1664
1669
  from {
1665
1670
  opacity: 0;
1666
1671
  transform: translateX(400px);
@@ -1670,7 +1675,7 @@ div.jcui_chamfer:not(.jcui_disabled):focus-within {
1670
1675
  transform: translateX(0);
1671
1676
  }
1672
1677
  }
1673
- @keyframes _panelOut_1fxeg_1 {
1678
+ @keyframes _panelOut_10x08_1 {
1674
1679
  from {
1675
1680
  opacity: 1;
1676
1681
  transform: translateX(0);
@@ -1680,23 +1685,23 @@ div.jcui_chamfer:not(.jcui_disabled):focus-within {
1680
1685
  transform: translateX(100%);
1681
1686
  }
1682
1687
  }
1683
- ._overlay_1fxeg_43 {
1688
+ ._overlay_10x08_43 {
1684
1689
  position: fixed;
1685
1690
  inset: 0;
1686
1691
  z-index: 98;
1687
1692
  }
1688
- ._overlayBackdrop_1fxeg_49 {
1693
+ ._overlayBackdrop_10x08_49 {
1689
1694
  position: absolute;
1690
1695
  inset: 0;
1691
1696
  background: color-mix(in srgb, var(--body-bg) 50%, transparent);
1692
1697
  }
1693
- ._overlay_1fxeg_43[data-state="open"] {
1694
- animation: _overlayIn_1fxeg_1 160ms ease-out;
1698
+ ._overlay_10x08_43[data-state="open"] {
1699
+ animation: _overlayIn_10x08_1 160ms ease-out;
1695
1700
  }
1696
- ._overlay_1fxeg_43[data-state="closed"] {
1697
- animation: _overlayOut_1fxeg_1 120ms ease-in;
1701
+ ._overlay_10x08_43[data-state="closed"] {
1702
+ animation: _overlayOut_10x08_1 120ms ease-in;
1698
1703
  }
1699
- ._content_1fxeg_63 {
1704
+ ._content_10x08_63 {
1700
1705
  position: fixed;
1701
1706
  top: 10px;
1702
1707
  right: 10px;
@@ -1709,29 +1714,34 @@ div.jcui_chamfer:not(.jcui_disabled):focus-within {
1709
1714
  display: flex;
1710
1715
  flex-direction: column;
1711
1716
  }
1712
- ._content_1fxeg_63[data-state="open"] {
1713
- animation: _panelIn_1fxeg_1 180ms cubic-bezier(0.16, 1, 0.3, 1);
1717
+ ._content_10x08_63[data-state="open"] {
1718
+ animation: _panelIn_10x08_1 180ms cubic-bezier(0.16, 1, 0.3, 1);
1714
1719
  }
1715
- ._content_1fxeg_63[data-state="closed"] {
1716
- animation: _panelOut_1fxeg_1 140ms ease-in;
1720
+ ._content_10x08_63[data-state="closed"] {
1721
+ animation: _panelOut_10x08_1 140ms ease-in;
1717
1722
  }
1718
- body.jcui-modal-mobile ._content_1fxeg_63 {
1723
+ body.jcui-modal-mobile ._content_10x08_63 {
1719
1724
  top: 0;
1720
1725
  right: 0;
1721
1726
  bottom: 0;
1722
1727
  left: 0;
1723
1728
  min-width: 0;
1724
1729
  }
1725
- ._title_1fxeg_96 {
1730
+ ._title_10x08_96 {
1726
1731
  margin: 0;
1727
1732
  }
1728
- ._body_1fxeg_100 {
1733
+ ._body_10x08_100 {
1729
1734
  flex: 1;
1730
1735
  min-height: 0;
1731
1736
  overflow-y: auto;
1732
1737
  padding-top: 1rem;
1733
1738
  }
1734
- ._footer_1fxeg_107 {
1739
+ ._body_10x08_100 > hr {
1740
+ margin: 1rem 0;
1741
+ transform: translateX(-16px);
1742
+ width: calc(100% + 32px);
1743
+ }
1744
+ ._footer_10x08_113 {
1735
1745
  margin: -12px;
1736
1746
  margin-top: 0px;
1737
1747
  padding: 12px;
@@ -2649,28 +2659,28 @@ function requireClassnames() {
2649
2659
  }
2650
2660
  var classnamesExports = requireClassnames();
2651
2661
  const classNames = /* @__PURE__ */ getDefaultExportFromCjs(classnamesExports);
2652
- const card = "_card_1wvfe_1";
2653
- const pageBackground$3 = "_pageBackground_1wvfe_11";
2654
- const title$1 = "_title_1wvfe_18";
2655
- const titleCollapsed = "_titleCollapsed_1wvfe_25";
2656
- const titleContent = "_titleContent_1wvfe_29";
2657
- const titleInteractive = "_titleInteractive_1wvfe_35";
2658
- const chevron = "_chevron_1wvfe_39";
2659
- const chevronExpanded = "_chevronExpanded_1wvfe_50";
2660
- const chevronCollapsed = "_chevronCollapsed_1wvfe_54";
2661
- const content$4 = "_content_1wvfe_68";
2662
- const contentInner = "_contentInner_1wvfe_76";
2663
- const contentCollapsed = "_contentCollapsed_1wvfe_83";
2664
- const body$1 = "_body_1wvfe_88";
2665
- const footer$1 = "_footer_1wvfe_93";
2666
- const large$7 = "_large_1wvfe_100";
2667
- const small$7 = "_small_1wvfe_106";
2668
- const primary$9 = "_primary_1wvfe_114";
2669
- const success$9 = "_success_1wvfe_121";
2670
- const warning$9 = "_warning_1wvfe_128";
2671
- const danger$9 = "_danger_1wvfe_135";
2672
- const info$9 = "_info_1wvfe_142";
2673
- const secondary$9 = "_secondary_1wvfe_149";
2662
+ const card = "_card_15n7t_1";
2663
+ const pageBackground$3 = "_pageBackground_15n7t_11";
2664
+ const title$1 = "_title_15n7t_18";
2665
+ const titleCollapsed = "_titleCollapsed_15n7t_25";
2666
+ const titleContent = "_titleContent_15n7t_29";
2667
+ const titleInteractive = "_titleInteractive_15n7t_35";
2668
+ const chevron = "_chevron_15n7t_39";
2669
+ const chevronExpanded = "_chevronExpanded_15n7t_50";
2670
+ const chevronCollapsed = "_chevronCollapsed_15n7t_54";
2671
+ const content$4 = "_content_15n7t_68";
2672
+ const contentInner = "_contentInner_15n7t_76";
2673
+ const contentCollapsed = "_contentCollapsed_15n7t_83";
2674
+ const body$1 = "_body_15n7t_88";
2675
+ const footer$1 = "_footer_15n7t_99";
2676
+ const large$7 = "_large_15n7t_106";
2677
+ const small$7 = "_small_15n7t_112";
2678
+ const primary$9 = "_primary_15n7t_120";
2679
+ const success$9 = "_success_15n7t_127";
2680
+ const warning$9 = "_warning_15n7t_134";
2681
+ const danger$9 = "_danger_15n7t_141";
2682
+ const info$9 = "_info_15n7t_148";
2683
+ const secondary$9 = "_secondary_15n7t_155";
2674
2684
  const styles$b = {
2675
2685
  card,
2676
2686
  pageBackground: pageBackground$3,
@@ -27929,12 +27939,12 @@ var Overlay = DialogOverlay;
27929
27939
  var Content = DialogContent;
27930
27940
  var Title = DialogTitle;
27931
27941
  var Close = DialogClose;
27932
- const overlay = "_overlay_1fxeg_43";
27933
- const overlayBackdrop = "_overlayBackdrop_1fxeg_49";
27934
- const content$1 = "_content_1fxeg_63";
27935
- const title = "_title_1fxeg_96";
27936
- const body = "_body_1fxeg_100";
27937
- const footer = "_footer_1fxeg_107";
27942
+ const overlay = "_overlay_10x08_43";
27943
+ const overlayBackdrop = "_overlayBackdrop_10x08_49";
27944
+ const content$1 = "_content_10x08_63";
27945
+ const title = "_title_10x08_96";
27946
+ const body = "_body_10x08_100";
27947
+ const footer = "_footer_10x08_113";
27938
27948
  const styles$1 = {
27939
27949
  overlay,
27940
27950
  overlayBackdrop,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jackcrane/ui",
3
- "version": "0.1.22",
3
+ "version": "0.1.24",
4
4
  "type": "module",
5
5
  "sideEffects": false,
6
6
  "main": "dist/jcui.cjs.js",