@umami/react-zen 0.80.0 → 0.82.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.
package/dist/index.css CHANGED
@@ -2706,13 +2706,22 @@ body a.Button_button__NDYwM {
2706
2706
  }
2707
2707
 
2708
2708
  /* virtual-css:css:30dc0f59418ffcc16fc4fc9d2cfc50c3 */
2709
- .Text_truncate__NmUzO {
2709
+ .Text_truncate__N2RhO {
2710
2710
  display: inline-block;
2711
2711
  white-space: nowrap;
2712
2712
  overflow: hidden;
2713
2713
  text-overflow: ellipsis;
2714
2714
  max-width: 100%;
2715
2715
  }
2716
+ .Text_italic__OTQxO {
2717
+ font-style: italic;
2718
+ }
2719
+ .Text_underline__ZjA1M {
2720
+ text-decoration: underline;
2721
+ }
2722
+ .Text_strikethrough__NTlhM {
2723
+ text-decoration: line-through;
2724
+ }
2716
2725
 
2717
2726
  /* virtual-css:css:fa53717340120f23a623f1ff98237d94 */
2718
2727
  .Accordion_accordion__ODg3O {
@@ -3310,23 +3319,23 @@ body a.Button_button__NDYwM {
3310
3319
  }
3311
3320
 
3312
3321
  /* virtual-css:css:0fb02723d81c5960ed149d3d9f58f1ba */
3313
- .List_list__MDIxN {
3322
+ .List_list__M2YzO {
3314
3323
  min-width: 100px;
3315
3324
  outline: none;
3316
3325
  overflow: auto;
3317
3326
  }
3318
- .List_separator__YWY4N {
3327
+ .List_separator__NzBlZ {
3319
3328
  border-bottom: var(--border);
3320
3329
  }
3321
- .List_section__NWU0Y:not(:last-child) {
3330
+ .List_section__MWM1Y:not(:last-child) {
3322
3331
  margin-bottom: var(--spacing-4);
3323
3332
  }
3324
- .List_header__Yzg0Y {
3333
+ .List_header__ZmQyN {
3325
3334
  font-size: var(--font-size-2);
3326
3335
  font-weight: var(--font-weight-bold);
3327
3336
  padding: var(--padding);
3328
3337
  }
3329
- .List_item__NjEyN {
3338
+ .List_item__M2IxN {
3330
3339
  display: flex;
3331
3340
  align-items: center;
3332
3341
  justify-content: space-between;
@@ -3339,22 +3348,25 @@ body a.Button_button__NDYwM {
3339
3348
  outline: none;
3340
3349
  border-radius: var(--border-radius);
3341
3350
  }
3342
- .List_item__NjEyN[data-focus],
3343
- .List_item__NjEyN[data-focus-visible] {
3351
+ .List_item__M2IxN[data-disabled] {
3352
+ color: var(--font-color-disabled);
3353
+ }
3354
+ .List_item__M2IxN[data-focus],
3355
+ .List_item__M2IxN[data-focus-visible] {
3344
3356
  background: var(--highlight-color);
3345
3357
  }
3346
- .List_item__NjEyN:hover {
3358
+ .List_item__M2IxN:hover {
3347
3359
  background: var(--highlight-color);
3348
3360
  }
3349
- .List_item__NjEyN[data-selected] {
3361
+ .List_item__M2IxN[data-selected] {
3350
3362
  font-weight: bold;
3351
3363
  }
3352
- .List_item__NjEyN[data-selected] .List_check__MTNlZ {
3364
+ .List_item__M2IxN[data-selected] .List_check__OWQxN {
3353
3365
  display: flex;
3354
3366
  justify-content: flex-end;
3355
3367
  flex: 1;
3356
3368
  }
3357
- .List_check__MTNlZ {
3369
+ .List_check__OWQxN {
3358
3370
  display: none;
3359
3371
  }
3360
3372
 
@@ -3383,7 +3395,7 @@ body a.Button_button__NDYwM {
3383
3395
  }
3384
3396
 
3385
3397
  /* virtual-css:css:3130df15a3cfaee8cb812b182afb7ee1 */
3386
- .Menu_menu__YmUyN {
3398
+ .Menu_menu__ZGIxY {
3387
3399
  min-width: 200px;
3388
3400
  border: var(--border);
3389
3401
  border-radius: var(--border-radius);
@@ -3392,19 +3404,19 @@ body a.Button_button__NDYwM {
3392
3404
  background: var(--background-color);
3393
3405
  overflow: hidden;
3394
3406
  }
3395
- .Menu_separator__NDFlO {
3407
+ .Menu_separator__YjgwM {
3396
3408
  border-bottom: var(--border);
3397
3409
  margin: var(--spacing-2) calc(-1 * var(--spacing-3));
3398
3410
  }
3399
- .Menu_section__YjJjY:not(:last-child) {
3411
+ .Menu_section__MmNkY:not(:last-child) {
3400
3412
  margin-bottom: var(--spacing-4);
3401
3413
  }
3402
- .Menu_header__NDVjN {
3414
+ .Menu_header__YmQ0M {
3403
3415
  font-size: var(--font-size-2);
3404
3416
  font-weight: var(--font-weight-bold);
3405
3417
  padding: var(--padding);
3406
3418
  }
3407
- .Menu_item__YjBiN {
3419
+ .Menu_item__NzJlM {
3408
3420
  display: flex;
3409
3421
  align-items: center;
3410
3422
  gap: var(--gap);
@@ -3417,28 +3429,31 @@ body a.Button_button__NDYwM {
3417
3429
  outline: none;
3418
3430
  width: 100%;
3419
3431
  }
3420
- .Menu_item__YjBiN[data-focus],
3421
- .Menu_item__YjBiN[data-focus-visible] {
3432
+ .Menu_item__NzJlM[data-disabled] {
3433
+ color: var(--font-color-disabled);
3434
+ }
3435
+ .Menu_item__NzJlM[data-focus],
3436
+ .Menu_item__NzJlM[data-focus-visible] {
3422
3437
  outline: var(--outline);
3423
3438
  background: var(--highlight-color);
3424
3439
  }
3425
- .Menu_item__YjBiN:hover {
3440
+ .Menu_item__NzJlM:hover {
3426
3441
  background: var(--highlight-color);
3427
3442
  }
3428
- .Menu_item__YjBiN[data-selected] {
3443
+ .Menu_item__NzJlM[data-selected] {
3429
3444
  font-weight: bold;
3430
3445
  }
3431
- .Menu_item__YjBiN[data-selected] .Menu_check__YmVhZ {
3446
+ .Menu_item__NzJlM[data-selected] .Menu_check__ZDc1Z {
3432
3447
  display: flex;
3433
3448
  justify-content: flex-end;
3434
3449
  flex: 1;
3435
3450
  }
3436
- .Menu_check__YmVhZ {
3451
+ .Menu_check__ZDc1Z {
3437
3452
  display: none;
3438
3453
  }
3439
3454
 
3440
3455
  /* virtual-css:css:593a0302ed618f22d0e6c3631ec684d2 */
3441
- .Modal_overlay__OGJmN {
3456
+ .Modal_overlay__MzBhO {
3442
3457
  position: fixed;
3443
3458
  top: 0;
3444
3459
  left: 0;
@@ -3449,18 +3464,19 @@ body a.Button_button__NDYwM {
3449
3464
  align-items: center;
3450
3465
  justify-content: center;
3451
3466
  --modal-offset: 50%;
3467
+ z-index: 9999;
3452
3468
  }
3453
- .Modal_overlay__OGJmN[data-entering] {
3454
- animation: Modal_modal-fade-in__MzJiZ 200ms;
3469
+ .Modal_overlay__MzBhO[data-entering] {
3470
+ animation: Modal_modal-fade-in__OTcxN 200ms;
3455
3471
  }
3456
- .Modal_overlay__OGJmN[data-exiting] {
3457
- animation: Modal_modal-fade-in__MzJiZ 200ms reverse ease-in;
3472
+ .Modal_overlay__MzBhO[data-exiting] {
3473
+ animation: Modal_modal-fade-in__OTcxN 200ms reverse ease-in;
3458
3474
  }
3459
- .Modal_modal__OTZjZ {
3475
+ .Modal_modal__YTU3M {
3460
3476
  position: relative;
3461
3477
  z-index: 9999;
3462
3478
  }
3463
- .Modal_modal__OTZjZ.Modal_left__Mzg1Z {
3479
+ .Modal_modal__YTU3M.Modal_left__ZDU0O {
3464
3480
  position: absolute;
3465
3481
  top: 0;
3466
3482
  left: 0;
@@ -3468,7 +3484,7 @@ body a.Button_button__NDYwM {
3468
3484
  margin: auto;
3469
3485
  width: calc(100dvw - var(--modal-offset, 0));
3470
3486
  }
3471
- .Modal_modal__OTZjZ.Modal_right__YmRmZ {
3487
+ .Modal_modal__YTU3M.Modal_right__MGFhO {
3472
3488
  position: absolute;
3473
3489
  top: 0;
3474
3490
  right: 0;
@@ -3476,7 +3492,7 @@ body a.Button_button__NDYwM {
3476
3492
  margin: auto;
3477
3493
  width: calc(100dvw - var(--modal-offset, 0));
3478
3494
  }
3479
- .Modal_modal__OTZjZ.Modal_top__ZDUzY {
3495
+ .Modal_modal__YTU3M.Modal_top__OTY4M {
3480
3496
  position: absolute;
3481
3497
  top: 0;
3482
3498
  left: 0;
@@ -3484,7 +3500,7 @@ body a.Button_button__NDYwM {
3484
3500
  margin: auto;
3485
3501
  height: calc(100dvh - var(--modal-offset, 0));
3486
3502
  }
3487
- .Modal_modal__OTZjZ.Modal_bottom__ZDRhZ {
3503
+ .Modal_modal__YTU3M.Modal_bottom__NjY4N {
3488
3504
  position: absolute;
3489
3505
  left: 0;
3490
3506
  right: 0;
@@ -3492,41 +3508,41 @@ body a.Button_button__NDYwM {
3492
3508
  margin: auto;
3493
3509
  height: calc(100dvh - var(--modal-offset, 0));
3494
3510
  }
3495
- .Modal_modal__OTZjZ.Modal_fullscreen__NTU4O {
3511
+ .Modal_modal__YTU3M.Modal_fullscreen__YTNkZ {
3496
3512
  width: 100dvw;
3497
3513
  height: 100dvh;
3498
3514
  }
3499
- .Modal_modal__OTZjZ.Modal_center__NmI1N[data-entering] {
3500
- animation: Modal_modal-zoom__ZWRlM 300ms cubic-bezier(0.175, 0.885, 0.32, 1.275);
3515
+ .Modal_modal__YTU3M.Modal_center__ZTViM[data-entering] {
3516
+ animation: Modal_modal-zoom__MjY4Y 300ms cubic-bezier(0.175, 0.885, 0.32, 1.275);
3501
3517
  }
3502
- .Modal_modal__OTZjZ.Modal_left__Mzg1Z[data-entering] {
3503
- animation: Modal_modal-left__ODA0M 200ms ease-out;
3518
+ .Modal_modal__YTU3M.Modal_left__ZDU0O[data-entering] {
3519
+ animation: Modal_modal-left__YTc0N 200ms ease-out;
3504
3520
  }
3505
- .Modal_modal__OTZjZ.Modal_left__Mzg1Z[data-exiting] {
3506
- animation: Modal_modal-left__ODA0M 200ms reverse ease-out;
3521
+ .Modal_modal__YTU3M.Modal_left__ZDU0O[data-exiting] {
3522
+ animation: Modal_modal-left__YTc0N 200ms reverse ease-out;
3507
3523
  }
3508
- .Modal_modal__OTZjZ.Modal_right__YmRmZ[data-entering] {
3509
- animation: Modal_modal-right__ZjYwM 200ms ease-out;
3524
+ .Modal_modal__YTU3M.Modal_right__MGFhO[data-entering] {
3525
+ animation: Modal_modal-right__MWY0Z 200ms ease-out;
3510
3526
  }
3511
- .Modal_modal__OTZjZ.Modal_right__YmRmZ[data-exiting] {
3512
- animation: Modal_modal-right__ZjYwM 200ms reverse ease-in;
3527
+ .Modal_modal__YTU3M.Modal_right__MGFhO[data-exiting] {
3528
+ animation: Modal_modal-right__MWY0Z 200ms reverse ease-in;
3513
3529
  }
3514
- .Modal_modal__OTZjZ.Modal_top__ZDUzY[data-entering] {
3515
- animation: Modal_modal-top__N2VhY 200ms ease-out;
3530
+ .Modal_modal__YTU3M.Modal_top__OTY4M[data-entering] {
3531
+ animation: Modal_modal-top__OTQ2M 200ms ease-out;
3516
3532
  }
3517
- .Modal_modal__OTZjZ.Modal_top__ZDUzY[data-exiting] {
3518
- animation: Modal_modal-top__N2VhY 200ms reverse ease-in;
3533
+ .Modal_modal__YTU3M.Modal_top__OTY4M[data-exiting] {
3534
+ animation: Modal_modal-top__OTQ2M 200ms reverse ease-in;
3519
3535
  }
3520
- .Modal_modal__OTZjZ.Modal_bottom__ZDRhZ[data-entering] {
3521
- animation: Modal_modal-bottom__ZTQ3Y 200ms ease-out;
3536
+ .Modal_modal__YTU3M.Modal_bottom__NjY4N[data-entering] {
3537
+ animation: Modal_modal-bottom__NDlkZ 200ms ease-out;
3522
3538
  }
3523
- .Modal_modal__OTZjZ.Modal_bottom__ZDRhZ[data-exiting] {
3524
- animation: Modal_modal-bottom__ZTQ3Y 200ms reverse ease-in;
3539
+ .Modal_modal__YTU3M.Modal_bottom__NjY4N[data-exiting] {
3540
+ animation: Modal_modal-bottom__NDlkZ 200ms reverse ease-in;
3525
3541
  }
3526
- .Modal_modal__OTZjZ.Modal_fullscreen__NTU4O[data-entering] {
3527
- animation: Modal_modal-fade-in__MzJiZ 200ms ease-out;
3542
+ .Modal_modal__YTU3M.Modal_fullscreen__YTNkZ[data-entering] {
3543
+ animation: Modal_modal-fade-in__OTcxN 200ms ease-out;
3528
3544
  }
3529
- @keyframes Modal_modal-fade-in__MzJiZ {
3545
+ @keyframes Modal_modal-fade-in__OTcxN {
3530
3546
  from {
3531
3547
  opacity: 0;
3532
3548
  }
@@ -3534,7 +3550,7 @@ body a.Button_button__NDYwM {
3534
3550
  opacity: 1;
3535
3551
  }
3536
3552
  }
3537
- @keyframes Modal_modal-zoom__ZWRlM {
3553
+ @keyframes Modal_modal-zoom__MjY4Y {
3538
3554
  from {
3539
3555
  transform: scale(0.8);
3540
3556
  }
@@ -3542,7 +3558,7 @@ body a.Button_button__NDYwM {
3542
3558
  transform: scale(1);
3543
3559
  }
3544
3560
  }
3545
- @keyframes Modal_modal-left__ODA0M {
3561
+ @keyframes Modal_modal-left__YTc0N {
3546
3562
  from {
3547
3563
  transform: translateX(-100%);
3548
3564
  }
@@ -3550,7 +3566,7 @@ body a.Button_button__NDYwM {
3550
3566
  transform: translateX(0);
3551
3567
  }
3552
3568
  }
3553
- @keyframes Modal_modal-right__ZjYwM {
3569
+ @keyframes Modal_modal-right__MWY0Z {
3554
3570
  from {
3555
3571
  transform: translateX(100%);
3556
3572
  }
@@ -3558,7 +3574,7 @@ body a.Button_button__NDYwM {
3558
3574
  transform: translateX(0);
3559
3575
  }
3560
3576
  }
3561
- @keyframes Modal_modal-top__N2VhY {
3577
+ @keyframes Modal_modal-top__OTQ2M {
3562
3578
  from {
3563
3579
  transform: translateY(-100%);
3564
3580
  }
@@ -3566,7 +3582,7 @@ body a.Button_button__NDYwM {
3566
3582
  transform: translateX(0);
3567
3583
  }
3568
3584
  }
3569
- @keyframes Modal_modal-bottom__ZTQ3Y {
3585
+ @keyframes Modal_modal-bottom__NDlkZ {
3570
3586
  from {
3571
3587
  transform: translateY(100%);
3572
3588
  }
package/dist/index.d.ts CHANGED
@@ -644,7 +644,7 @@ declare module '@umami/react-zen/Menu' {
644
644
  className?: string;
645
645
  children?: ReactNode;
646
646
  }
647
- function Menu({ items, className, children, ...props }: MenuProps): import("react").JSX.Element;
647
+ function Menu({ className, children, ...props }: MenuProps): import("react").JSX.Element;
648
648
  function MenuItem({ children, className, ...props }: MenuItemProps<any>): import("react").JSX.Element;
649
649
  function MenuSeparator({ className, ...props }: SeparatorProps): import("react").JSX.Element;
650
650
  function MenuSection({ title, className, children, ...props }: MenuSectionProps<any> & {
@@ -900,10 +900,13 @@ declare module '@umami/react-zen/Text' {
900
900
  wrap?: Responsive<TextWrap>;
901
901
  transform?: Responsive<TextTransform>;
902
902
  truncate?: Responsive<boolean>;
903
+ italic?: Responsive<boolean>;
904
+ underline?: Responsive<boolean>;
905
+ strikethrough?: Responsive<boolean>;
903
906
  as?: 'span' | 'div' | 'label' | 'p';
904
907
  asChild?: boolean;
905
908
  }
906
- export function Text({ color, size, spacing, weight, align, wrap, transform, truncate, as, asChild, className, style, children, ...props }: TextProps): import("react").JSX.Element;
909
+ export function Text({ color, size, spacing, weight, align, wrap, transform, truncate, italic, underline, strikethrough, as, asChild, className, style, children, ...props }: TextProps): import("react").JSX.Element;
907
910
  }
908
911
 
909
912
  declare module '@umami/react-zen/TextField' {
package/dist/index.js CHANGED
@@ -29795,7 +29795,7 @@ var import_classnames12 = __toESM(require_classnames());
29795
29795
  var import_classnames11 = __toESM(require_classnames());
29796
29796
 
29797
29797
  // css-modules:E:\dev\umami-react-zen\src\components\Text.module.css
29798
- var Text_default = { "truncate": "Text_truncate__NmUzO" };
29798
+ var Text_default = { "truncate": "Text_truncate__N2RhO", "italic": "Text_italic__OTQxO", "underline": "Text_underline__ZjA1M", "strikethrough": "Text_strikethrough__NTlhM" };
29799
29799
 
29800
29800
  // src/components/Text.tsx
29801
29801
  var import_jsx_runtime18 = require("react/jsx-runtime");
@@ -29808,6 +29808,9 @@ function Text({
29808
29808
  wrap,
29809
29809
  transform,
29810
29810
  truncate,
29811
+ italic,
29812
+ underline,
29813
+ strikethrough,
29811
29814
  as = "span",
29812
29815
  asChild,
29813
29816
  className,
@@ -29829,7 +29832,15 @@ function Text({
29829
29832
  Component,
29830
29833
  {
29831
29834
  ...props,
29832
- className: (0, import_classnames11.default)(Text_default.text, className, classes, truncate && Text_default.truncate),
29835
+ className: (0, import_classnames11.default)(
29836
+ Text_default.text,
29837
+ className,
29838
+ classes,
29839
+ truncate && Text_default.truncate,
29840
+ italic && Text_default.italic,
29841
+ underline && Text_default.underline,
29842
+ strikethrough && Text_default.strikethrough
29843
+ ),
29833
29844
  style: { ...styleProps, ...style },
29834
29845
  children
29835
29846
  }
@@ -30611,7 +30622,7 @@ var import_react184 = require("react");
30611
30622
  var import_classnames32 = __toESM(require_classnames());
30612
30623
 
30613
30624
  // css-modules:E:\dev\umami-react-zen\src\components\List.module.css
30614
- var List_default = { "list": "List_list__MDIxN", "separator": "List_separator__YWY4N", "section": "List_section__NWU0Y", "header": "List_header__Yzg0Y", "item": "List_item__NjEyN", "check": "List_check__MTNlZ" };
30625
+ var List_default = { "list": "List_list__M2YzO", "separator": "List_separator__NzBlZ", "section": "List_section__MWM1Y", "header": "List_header__ZmQyN", "item": "List_item__M2IxN", "check": "List_check__OWQxN" };
30615
30626
 
30616
30627
  // src/components/List.tsx
30617
30628
  var import_jsx_runtime42 = require("react/jsx-runtime");
@@ -30692,11 +30703,11 @@ function Loading(props) {
30692
30703
  var import_classnames34 = __toESM(require_classnames());
30693
30704
 
30694
30705
  // css-modules:E:\dev\umami-react-zen\src\components\Menu.module.css
30695
- var Menu_default = { "menu": "Menu_menu__YmUyN", "separator": "Menu_separator__NDFlO", "section": "Menu_section__YjJjY", "header": "Menu_header__NDVjN", "item": "Menu_item__YjBiN", "check": "Menu_check__YmVhZ" };
30706
+ var Menu_default = { "menu": "Menu_menu__ZGIxY", "separator": "Menu_separator__YjgwM", "section": "Menu_section__MmNkY", "header": "Menu_header__YmQ0M", "item": "Menu_item__NzJlM", "check": "Menu_check__ZDc1Z" };
30696
30707
 
30697
30708
  // src/components/Menu.tsx
30698
30709
  var import_jsx_runtime44 = require("react/jsx-runtime");
30699
- function Menu2({ items, className, children, ...props }) {
30710
+ function Menu2({ className, children, ...props }) {
30700
30711
  return /* @__PURE__ */ (0, import_jsx_runtime44.jsx)($3674c52c6b3c5bce$export$d9b273488cd8ce6f, { ...props, className: (0, import_classnames34.default)(Menu_default.menu, className), children });
30701
30712
  }
30702
30713
  function MenuItem2({ children, className, ...props }) {
@@ -30724,7 +30735,7 @@ function MenuSection({
30724
30735
  var import_classnames35 = __toESM(require_classnames());
30725
30736
 
30726
30737
  // css-modules:E:\dev\umami-react-zen\src\components\Modal.module.css
30727
- var Modal_default = { "overlay": "Modal_overlay__OGJmN", "modal-fade-in": "Modal_modal-fade-in__MzJiZ", "modal": "Modal_modal__OTZjZ", "left": "Modal_left__Mzg1Z", "right": "Modal_right__YmRmZ", "top": "Modal_top__ZDUzY", "bottom": "Modal_bottom__ZDRhZ", "fullscreen": "Modal_fullscreen__NTU4O", "center": "Modal_center__NmI1N", "modal-zoom": "Modal_modal-zoom__ZWRlM", "modal-left": "Modal_modal-left__ODA0M", "modal-right": "Modal_modal-right__ZjYwM", "modal-top": "Modal_modal-top__N2VhY", "modal-bottom": "Modal_modal-bottom__ZTQ3Y" };
30738
+ var Modal_default = { "overlay": "Modal_overlay__MzBhO", "modal-fade-in": "Modal_modal-fade-in__OTcxN", "modal": "Modal_modal__YTU3M", "left": "Modal_left__ZDU0O", "right": "Modal_right__MGFhO", "top": "Modal_top__OTY4M", "bottom": "Modal_bottom__NjY4N", "fullscreen": "Modal_fullscreen__YTNkZ", "center": "Modal_center__ZTViM", "modal-zoom": "Modal_modal-zoom__MjY4Y", "modal-left": "Modal_modal-left__YTc0N", "modal-right": "Modal_modal-right__MWY0Z", "modal-top": "Modal_modal-top__OTQ2M", "modal-bottom": "Modal_modal-bottom__NDlkZ" };
30728
30739
 
30729
30740
  // src/components/Modal.tsx
30730
30741
  var import_jsx_runtime45 = require("react/jsx-runtime");
package/dist/index.mjs CHANGED
@@ -29684,7 +29684,7 @@ var import_classnames12 = __toESM(require_classnames());
29684
29684
  var import_classnames11 = __toESM(require_classnames());
29685
29685
 
29686
29686
  // css-modules:E:\dev\umami-react-zen\src\components\Text.module.css
29687
- var Text_default = { "truncate": "Text_truncate__NmUzO" };
29687
+ var Text_default = { "truncate": "Text_truncate__N2RhO", "italic": "Text_italic__OTQxO", "underline": "Text_underline__ZjA1M", "strikethrough": "Text_strikethrough__NTlhM" };
29688
29688
 
29689
29689
  // src/components/Text.tsx
29690
29690
  import { jsx as jsx18 } from "react/jsx-runtime";
@@ -29697,6 +29697,9 @@ function Text({
29697
29697
  wrap,
29698
29698
  transform,
29699
29699
  truncate,
29700
+ italic,
29701
+ underline,
29702
+ strikethrough,
29700
29703
  as = "span",
29701
29704
  asChild,
29702
29705
  className,
@@ -29718,7 +29721,15 @@ function Text({
29718
29721
  Component,
29719
29722
  {
29720
29723
  ...props,
29721
- className: (0, import_classnames11.default)(Text_default.text, className, classes, truncate && Text_default.truncate),
29724
+ className: (0, import_classnames11.default)(
29725
+ Text_default.text,
29726
+ className,
29727
+ classes,
29728
+ truncate && Text_default.truncate,
29729
+ italic && Text_default.italic,
29730
+ underline && Text_default.underline,
29731
+ strikethrough && Text_default.strikethrough
29732
+ ),
29722
29733
  style: { ...styleProps, ...style },
29723
29734
  children
29724
29735
  }
@@ -30500,7 +30511,7 @@ import { Fragment as Fragment6 } from "react";
30500
30511
  var import_classnames32 = __toESM(require_classnames());
30501
30512
 
30502
30513
  // css-modules:E:\dev\umami-react-zen\src\components\List.module.css
30503
- var List_default = { "list": "List_list__MDIxN", "separator": "List_separator__YWY4N", "section": "List_section__NWU0Y", "header": "List_header__Yzg0Y", "item": "List_item__NjEyN", "check": "List_check__MTNlZ" };
30514
+ var List_default = { "list": "List_list__M2YzO", "separator": "List_separator__NzBlZ", "section": "List_section__MWM1Y", "header": "List_header__ZmQyN", "item": "List_item__M2IxN", "check": "List_check__OWQxN" };
30504
30515
 
30505
30516
  // src/components/List.tsx
30506
30517
  import { jsx as jsx42, jsxs as jsxs21 } from "react/jsx-runtime";
@@ -30581,11 +30592,11 @@ function Loading(props) {
30581
30592
  var import_classnames34 = __toESM(require_classnames());
30582
30593
 
30583
30594
  // css-modules:E:\dev\umami-react-zen\src\components\Menu.module.css
30584
- var Menu_default = { "menu": "Menu_menu__YmUyN", "separator": "Menu_separator__NDFlO", "section": "Menu_section__YjJjY", "header": "Menu_header__NDVjN", "item": "Menu_item__YjBiN", "check": "Menu_check__YmVhZ" };
30595
+ var Menu_default = { "menu": "Menu_menu__ZGIxY", "separator": "Menu_separator__YjgwM", "section": "Menu_section__MmNkY", "header": "Menu_header__YmQ0M", "item": "Menu_item__NzJlM", "check": "Menu_check__ZDc1Z" };
30585
30596
 
30586
30597
  // src/components/Menu.tsx
30587
30598
  import { jsx as jsx44, jsxs as jsxs23 } from "react/jsx-runtime";
30588
- function Menu2({ items, className, children, ...props }) {
30599
+ function Menu2({ className, children, ...props }) {
30589
30600
  return /* @__PURE__ */ jsx44($3674c52c6b3c5bce$export$d9b273488cd8ce6f, { ...props, className: (0, import_classnames34.default)(Menu_default.menu, className), children });
30590
30601
  }
30591
30602
  function MenuItem2({ children, className, ...props }) {
@@ -30613,7 +30624,7 @@ function MenuSection({
30613
30624
  var import_classnames35 = __toESM(require_classnames());
30614
30625
 
30615
30626
  // css-modules:E:\dev\umami-react-zen\src\components\Modal.module.css
30616
- var Modal_default = { "overlay": "Modal_overlay__OGJmN", "modal-fade-in": "Modal_modal-fade-in__MzJiZ", "modal": "Modal_modal__OTZjZ", "left": "Modal_left__Mzg1Z", "right": "Modal_right__YmRmZ", "top": "Modal_top__ZDUzY", "bottom": "Modal_bottom__ZDRhZ", "fullscreen": "Modal_fullscreen__NTU4O", "center": "Modal_center__NmI1N", "modal-zoom": "Modal_modal-zoom__ZWRlM", "modal-left": "Modal_modal-left__ODA0M", "modal-right": "Modal_modal-right__ZjYwM", "modal-top": "Modal_modal-top__N2VhY", "modal-bottom": "Modal_modal-bottom__ZTQ3Y" };
30627
+ var Modal_default = { "overlay": "Modal_overlay__MzBhO", "modal-fade-in": "Modal_modal-fade-in__OTcxN", "modal": "Modal_modal__YTU3M", "left": "Modal_left__ZDU0O", "right": "Modal_right__MGFhO", "top": "Modal_top__OTY4M", "bottom": "Modal_bottom__NjY4N", "fullscreen": "Modal_fullscreen__YTNkZ", "center": "Modal_center__ZTViM", "modal-zoom": "Modal_modal-zoom__MjY4Y", "modal-left": "Modal_modal-left__YTc0N", "modal-right": "Modal_modal-right__MWY0Z", "modal-top": "Modal_modal-top__OTQ2M", "modal-bottom": "Modal_modal-bottom__NDlkZ" };
30617
30628
 
30618
30629
  // src/components/Modal.tsx
30619
30630
  import { jsx as jsx45 } from "react/jsx-runtime";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@umami/react-zen",
3
- "version": "0.80.0",
3
+ "version": "0.82.0",
4
4
  "description": "Modern, minimalist React component library",
5
5
  "author": "Umami <hello@umami.is>",
6
6
  "license": "MIT",
package/styles.css CHANGED
@@ -3026,13 +3026,22 @@ body a.Button_button__NDYwM {
3026
3026
  }
3027
3027
 
3028
3028
  /* virtual-css:css:30dc0f59418ffcc16fc4fc9d2cfc50c3 */
3029
- .Text_truncate__NmUzO {
3029
+ .Text_truncate__N2RhO {
3030
3030
  display: inline-block;
3031
3031
  white-space: nowrap;
3032
3032
  overflow: hidden;
3033
3033
  text-overflow: ellipsis;
3034
3034
  max-width: 100%;
3035
3035
  }
3036
+ .Text_italic__OTQxO {
3037
+ font-style: italic;
3038
+ }
3039
+ .Text_underline__ZjA1M {
3040
+ text-decoration: underline;
3041
+ }
3042
+ .Text_strikethrough__NTlhM {
3043
+ text-decoration: line-through;
3044
+ }
3036
3045
 
3037
3046
  /* virtual-css:css:fa53717340120f23a623f1ff98237d94 */
3038
3047
  .Accordion_accordion__ODg3O {
@@ -3630,23 +3639,23 @@ body a.Button_button__NDYwM {
3630
3639
  }
3631
3640
 
3632
3641
  /* virtual-css:css:0fb02723d81c5960ed149d3d9f58f1ba */
3633
- .List_list__MDIxN {
3642
+ .List_list__M2YzO {
3634
3643
  min-width: 100px;
3635
3644
  outline: none;
3636
3645
  overflow: auto;
3637
3646
  }
3638
- .List_separator__YWY4N {
3647
+ .List_separator__NzBlZ {
3639
3648
  border-bottom: var(--border);
3640
3649
  }
3641
- .List_section__NWU0Y:not(:last-child) {
3650
+ .List_section__MWM1Y:not(:last-child) {
3642
3651
  margin-bottom: var(--spacing-4);
3643
3652
  }
3644
- .List_header__Yzg0Y {
3653
+ .List_header__ZmQyN {
3645
3654
  font-size: var(--font-size-2);
3646
3655
  font-weight: var(--font-weight-bold);
3647
3656
  padding: var(--padding);
3648
3657
  }
3649
- .List_item__NjEyN {
3658
+ .List_item__M2IxN {
3650
3659
  display: flex;
3651
3660
  align-items: center;
3652
3661
  justify-content: space-between;
@@ -3659,22 +3668,25 @@ body a.Button_button__NDYwM {
3659
3668
  outline: none;
3660
3669
  border-radius: var(--border-radius);
3661
3670
  }
3662
- .List_item__NjEyN[data-focus],
3663
- .List_item__NjEyN[data-focus-visible] {
3671
+ .List_item__M2IxN[data-disabled] {
3672
+ color: var(--font-color-disabled);
3673
+ }
3674
+ .List_item__M2IxN[data-focus],
3675
+ .List_item__M2IxN[data-focus-visible] {
3664
3676
  background: var(--highlight-color);
3665
3677
  }
3666
- .List_item__NjEyN:hover {
3678
+ .List_item__M2IxN:hover {
3667
3679
  background: var(--highlight-color);
3668
3680
  }
3669
- .List_item__NjEyN[data-selected] {
3681
+ .List_item__M2IxN[data-selected] {
3670
3682
  font-weight: bold;
3671
3683
  }
3672
- .List_item__NjEyN[data-selected] .List_check__MTNlZ {
3684
+ .List_item__M2IxN[data-selected] .List_check__OWQxN {
3673
3685
  display: flex;
3674
3686
  justify-content: flex-end;
3675
3687
  flex: 1;
3676
3688
  }
3677
- .List_check__MTNlZ {
3689
+ .List_check__OWQxN {
3678
3690
  display: none;
3679
3691
  }
3680
3692
 
@@ -3703,7 +3715,7 @@ body a.Button_button__NDYwM {
3703
3715
  }
3704
3716
 
3705
3717
  /* virtual-css:css:3130df15a3cfaee8cb812b182afb7ee1 */
3706
- .Menu_menu__YmUyN {
3718
+ .Menu_menu__ZGIxY {
3707
3719
  min-width: 200px;
3708
3720
  border: var(--border);
3709
3721
  border-radius: var(--border-radius);
@@ -3712,19 +3724,19 @@ body a.Button_button__NDYwM {
3712
3724
  background: var(--background-color);
3713
3725
  overflow: hidden;
3714
3726
  }
3715
- .Menu_separator__NDFlO {
3727
+ .Menu_separator__YjgwM {
3716
3728
  border-bottom: var(--border);
3717
3729
  margin: var(--spacing-2) calc(-1 * var(--spacing-3));
3718
3730
  }
3719
- .Menu_section__YjJjY:not(:last-child) {
3731
+ .Menu_section__MmNkY:not(:last-child) {
3720
3732
  margin-bottom: var(--spacing-4);
3721
3733
  }
3722
- .Menu_header__NDVjN {
3734
+ .Menu_header__YmQ0M {
3723
3735
  font-size: var(--font-size-2);
3724
3736
  font-weight: var(--font-weight-bold);
3725
3737
  padding: var(--padding);
3726
3738
  }
3727
- .Menu_item__YjBiN {
3739
+ .Menu_item__NzJlM {
3728
3740
  display: flex;
3729
3741
  align-items: center;
3730
3742
  gap: var(--gap);
@@ -3737,28 +3749,31 @@ body a.Button_button__NDYwM {
3737
3749
  outline: none;
3738
3750
  width: 100%;
3739
3751
  }
3740
- .Menu_item__YjBiN[data-focus],
3741
- .Menu_item__YjBiN[data-focus-visible] {
3752
+ .Menu_item__NzJlM[data-disabled] {
3753
+ color: var(--font-color-disabled);
3754
+ }
3755
+ .Menu_item__NzJlM[data-focus],
3756
+ .Menu_item__NzJlM[data-focus-visible] {
3742
3757
  outline: var(--outline);
3743
3758
  background: var(--highlight-color);
3744
3759
  }
3745
- .Menu_item__YjBiN:hover {
3760
+ .Menu_item__NzJlM:hover {
3746
3761
  background: var(--highlight-color);
3747
3762
  }
3748
- .Menu_item__YjBiN[data-selected] {
3763
+ .Menu_item__NzJlM[data-selected] {
3749
3764
  font-weight: bold;
3750
3765
  }
3751
- .Menu_item__YjBiN[data-selected] .Menu_check__YmVhZ {
3766
+ .Menu_item__NzJlM[data-selected] .Menu_check__ZDc1Z {
3752
3767
  display: flex;
3753
3768
  justify-content: flex-end;
3754
3769
  flex: 1;
3755
3770
  }
3756
- .Menu_check__YmVhZ {
3771
+ .Menu_check__ZDc1Z {
3757
3772
  display: none;
3758
3773
  }
3759
3774
 
3760
3775
  /* virtual-css:css:593a0302ed618f22d0e6c3631ec684d2 */
3761
- .Modal_overlay__OGJmN {
3776
+ .Modal_overlay__MzBhO {
3762
3777
  position: fixed;
3763
3778
  top: 0;
3764
3779
  left: 0;
@@ -3769,18 +3784,19 @@ body a.Button_button__NDYwM {
3769
3784
  align-items: center;
3770
3785
  justify-content: center;
3771
3786
  --modal-offset: 50%;
3787
+ z-index: 9999;
3772
3788
  }
3773
- .Modal_overlay__OGJmN[data-entering] {
3774
- animation: Modal_modal-fade-in__MzJiZ 200ms;
3789
+ .Modal_overlay__MzBhO[data-entering] {
3790
+ animation: Modal_modal-fade-in__OTcxN 200ms;
3775
3791
  }
3776
- .Modal_overlay__OGJmN[data-exiting] {
3777
- animation: Modal_modal-fade-in__MzJiZ 200ms reverse ease-in;
3792
+ .Modal_overlay__MzBhO[data-exiting] {
3793
+ animation: Modal_modal-fade-in__OTcxN 200ms reverse ease-in;
3778
3794
  }
3779
- .Modal_modal__OTZjZ {
3795
+ .Modal_modal__YTU3M {
3780
3796
  position: relative;
3781
3797
  z-index: 9999;
3782
3798
  }
3783
- .Modal_modal__OTZjZ.Modal_left__Mzg1Z {
3799
+ .Modal_modal__YTU3M.Modal_left__ZDU0O {
3784
3800
  position: absolute;
3785
3801
  top: 0;
3786
3802
  left: 0;
@@ -3788,7 +3804,7 @@ body a.Button_button__NDYwM {
3788
3804
  margin: auto;
3789
3805
  width: calc(100dvw - var(--modal-offset, 0));
3790
3806
  }
3791
- .Modal_modal__OTZjZ.Modal_right__YmRmZ {
3807
+ .Modal_modal__YTU3M.Modal_right__MGFhO {
3792
3808
  position: absolute;
3793
3809
  top: 0;
3794
3810
  right: 0;
@@ -3796,7 +3812,7 @@ body a.Button_button__NDYwM {
3796
3812
  margin: auto;
3797
3813
  width: calc(100dvw - var(--modal-offset, 0));
3798
3814
  }
3799
- .Modal_modal__OTZjZ.Modal_top__ZDUzY {
3815
+ .Modal_modal__YTU3M.Modal_top__OTY4M {
3800
3816
  position: absolute;
3801
3817
  top: 0;
3802
3818
  left: 0;
@@ -3804,7 +3820,7 @@ body a.Button_button__NDYwM {
3804
3820
  margin: auto;
3805
3821
  height: calc(100dvh - var(--modal-offset, 0));
3806
3822
  }
3807
- .Modal_modal__OTZjZ.Modal_bottom__ZDRhZ {
3823
+ .Modal_modal__YTU3M.Modal_bottom__NjY4N {
3808
3824
  position: absolute;
3809
3825
  left: 0;
3810
3826
  right: 0;
@@ -3812,41 +3828,41 @@ body a.Button_button__NDYwM {
3812
3828
  margin: auto;
3813
3829
  height: calc(100dvh - var(--modal-offset, 0));
3814
3830
  }
3815
- .Modal_modal__OTZjZ.Modal_fullscreen__NTU4O {
3831
+ .Modal_modal__YTU3M.Modal_fullscreen__YTNkZ {
3816
3832
  width: 100dvw;
3817
3833
  height: 100dvh;
3818
3834
  }
3819
- .Modal_modal__OTZjZ.Modal_center__NmI1N[data-entering] {
3820
- animation: Modal_modal-zoom__ZWRlM 300ms cubic-bezier(0.175, 0.885, 0.32, 1.275);
3835
+ .Modal_modal__YTU3M.Modal_center__ZTViM[data-entering] {
3836
+ animation: Modal_modal-zoom__MjY4Y 300ms cubic-bezier(0.175, 0.885, 0.32, 1.275);
3821
3837
  }
3822
- .Modal_modal__OTZjZ.Modal_left__Mzg1Z[data-entering] {
3823
- animation: Modal_modal-left__ODA0M 200ms ease-out;
3838
+ .Modal_modal__YTU3M.Modal_left__ZDU0O[data-entering] {
3839
+ animation: Modal_modal-left__YTc0N 200ms ease-out;
3824
3840
  }
3825
- .Modal_modal__OTZjZ.Modal_left__Mzg1Z[data-exiting] {
3826
- animation: Modal_modal-left__ODA0M 200ms reverse ease-out;
3841
+ .Modal_modal__YTU3M.Modal_left__ZDU0O[data-exiting] {
3842
+ animation: Modal_modal-left__YTc0N 200ms reverse ease-out;
3827
3843
  }
3828
- .Modal_modal__OTZjZ.Modal_right__YmRmZ[data-entering] {
3829
- animation: Modal_modal-right__ZjYwM 200ms ease-out;
3844
+ .Modal_modal__YTU3M.Modal_right__MGFhO[data-entering] {
3845
+ animation: Modal_modal-right__MWY0Z 200ms ease-out;
3830
3846
  }
3831
- .Modal_modal__OTZjZ.Modal_right__YmRmZ[data-exiting] {
3832
- animation: Modal_modal-right__ZjYwM 200ms reverse ease-in;
3847
+ .Modal_modal__YTU3M.Modal_right__MGFhO[data-exiting] {
3848
+ animation: Modal_modal-right__MWY0Z 200ms reverse ease-in;
3833
3849
  }
3834
- .Modal_modal__OTZjZ.Modal_top__ZDUzY[data-entering] {
3835
- animation: Modal_modal-top__N2VhY 200ms ease-out;
3850
+ .Modal_modal__YTU3M.Modal_top__OTY4M[data-entering] {
3851
+ animation: Modal_modal-top__OTQ2M 200ms ease-out;
3836
3852
  }
3837
- .Modal_modal__OTZjZ.Modal_top__ZDUzY[data-exiting] {
3838
- animation: Modal_modal-top__N2VhY 200ms reverse ease-in;
3853
+ .Modal_modal__YTU3M.Modal_top__OTY4M[data-exiting] {
3854
+ animation: Modal_modal-top__OTQ2M 200ms reverse ease-in;
3839
3855
  }
3840
- .Modal_modal__OTZjZ.Modal_bottom__ZDRhZ[data-entering] {
3841
- animation: Modal_modal-bottom__ZTQ3Y 200ms ease-out;
3856
+ .Modal_modal__YTU3M.Modal_bottom__NjY4N[data-entering] {
3857
+ animation: Modal_modal-bottom__NDlkZ 200ms ease-out;
3842
3858
  }
3843
- .Modal_modal__OTZjZ.Modal_bottom__ZDRhZ[data-exiting] {
3844
- animation: Modal_modal-bottom__ZTQ3Y 200ms reverse ease-in;
3859
+ .Modal_modal__YTU3M.Modal_bottom__NjY4N[data-exiting] {
3860
+ animation: Modal_modal-bottom__NDlkZ 200ms reverse ease-in;
3845
3861
  }
3846
- .Modal_modal__OTZjZ.Modal_fullscreen__NTU4O[data-entering] {
3847
- animation: Modal_modal-fade-in__MzJiZ 200ms ease-out;
3862
+ .Modal_modal__YTU3M.Modal_fullscreen__YTNkZ[data-entering] {
3863
+ animation: Modal_modal-fade-in__OTcxN 200ms ease-out;
3848
3864
  }
3849
- @keyframes Modal_modal-fade-in__MzJiZ {
3865
+ @keyframes Modal_modal-fade-in__OTcxN {
3850
3866
  from {
3851
3867
  opacity: 0;
3852
3868
  }
@@ -3854,7 +3870,7 @@ body a.Button_button__NDYwM {
3854
3870
  opacity: 1;
3855
3871
  }
3856
3872
  }
3857
- @keyframes Modal_modal-zoom__ZWRlM {
3873
+ @keyframes Modal_modal-zoom__MjY4Y {
3858
3874
  from {
3859
3875
  transform: scale(0.8);
3860
3876
  }
@@ -3862,7 +3878,7 @@ body a.Button_button__NDYwM {
3862
3878
  transform: scale(1);
3863
3879
  }
3864
3880
  }
3865
- @keyframes Modal_modal-left__ODA0M {
3881
+ @keyframes Modal_modal-left__YTc0N {
3866
3882
  from {
3867
3883
  transform: translateX(-100%);
3868
3884
  }
@@ -3870,7 +3886,7 @@ body a.Button_button__NDYwM {
3870
3886
  transform: translateX(0);
3871
3887
  }
3872
3888
  }
3873
- @keyframes Modal_modal-right__ZjYwM {
3889
+ @keyframes Modal_modal-right__MWY0Z {
3874
3890
  from {
3875
3891
  transform: translateX(100%);
3876
3892
  }
@@ -3878,7 +3894,7 @@ body a.Button_button__NDYwM {
3878
3894
  transform: translateX(0);
3879
3895
  }
3880
3896
  }
3881
- @keyframes Modal_modal-top__N2VhY {
3897
+ @keyframes Modal_modal-top__OTQ2M {
3882
3898
  from {
3883
3899
  transform: translateY(-100%);
3884
3900
  }
@@ -3886,7 +3902,7 @@ body a.Button_button__NDYwM {
3886
3902
  transform: translateX(0);
3887
3903
  }
3888
3904
  }
3889
- @keyframes Modal_modal-bottom__ZTQ3Y {
3905
+ @keyframes Modal_modal-bottom__NDlkZ {
3890
3906
  from {
3891
3907
  transform: translateY(100%);
3892
3908
  }