@umami/react-zen 0.80.0 → 0.81.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
@@ -3310,23 +3310,23 @@ body a.Button_button__NDYwM {
3310
3310
  }
3311
3311
 
3312
3312
  /* virtual-css:css:0fb02723d81c5960ed149d3d9f58f1ba */
3313
- .List_list__MDIxN {
3313
+ .List_list__M2YzO {
3314
3314
  min-width: 100px;
3315
3315
  outline: none;
3316
3316
  overflow: auto;
3317
3317
  }
3318
- .List_separator__YWY4N {
3318
+ .List_separator__NzBlZ {
3319
3319
  border-bottom: var(--border);
3320
3320
  }
3321
- .List_section__NWU0Y:not(:last-child) {
3321
+ .List_section__MWM1Y:not(:last-child) {
3322
3322
  margin-bottom: var(--spacing-4);
3323
3323
  }
3324
- .List_header__Yzg0Y {
3324
+ .List_header__ZmQyN {
3325
3325
  font-size: var(--font-size-2);
3326
3326
  font-weight: var(--font-weight-bold);
3327
3327
  padding: var(--padding);
3328
3328
  }
3329
- .List_item__NjEyN {
3329
+ .List_item__M2IxN {
3330
3330
  display: flex;
3331
3331
  align-items: center;
3332
3332
  justify-content: space-between;
@@ -3339,22 +3339,25 @@ body a.Button_button__NDYwM {
3339
3339
  outline: none;
3340
3340
  border-radius: var(--border-radius);
3341
3341
  }
3342
- .List_item__NjEyN[data-focus],
3343
- .List_item__NjEyN[data-focus-visible] {
3342
+ .List_item__M2IxN[data-disabled] {
3343
+ color: var(--font-color-disabled);
3344
+ }
3345
+ .List_item__M2IxN[data-focus],
3346
+ .List_item__M2IxN[data-focus-visible] {
3344
3347
  background: var(--highlight-color);
3345
3348
  }
3346
- .List_item__NjEyN:hover {
3349
+ .List_item__M2IxN:hover {
3347
3350
  background: var(--highlight-color);
3348
3351
  }
3349
- .List_item__NjEyN[data-selected] {
3352
+ .List_item__M2IxN[data-selected] {
3350
3353
  font-weight: bold;
3351
3354
  }
3352
- .List_item__NjEyN[data-selected] .List_check__MTNlZ {
3355
+ .List_item__M2IxN[data-selected] .List_check__OWQxN {
3353
3356
  display: flex;
3354
3357
  justify-content: flex-end;
3355
3358
  flex: 1;
3356
3359
  }
3357
- .List_check__MTNlZ {
3360
+ .List_check__OWQxN {
3358
3361
  display: none;
3359
3362
  }
3360
3363
 
@@ -3383,7 +3386,7 @@ body a.Button_button__NDYwM {
3383
3386
  }
3384
3387
 
3385
3388
  /* virtual-css:css:3130df15a3cfaee8cb812b182afb7ee1 */
3386
- .Menu_menu__YmUyN {
3389
+ .Menu_menu__ZGYzM {
3387
3390
  min-width: 200px;
3388
3391
  border: var(--border);
3389
3392
  border-radius: var(--border-radius);
@@ -3392,19 +3395,19 @@ body a.Button_button__NDYwM {
3392
3395
  background: var(--background-color);
3393
3396
  overflow: hidden;
3394
3397
  }
3395
- .Menu_separator__NDFlO {
3398
+ .Menu_separator__Yzk4N {
3396
3399
  border-bottom: var(--border);
3397
3400
  margin: var(--spacing-2) calc(-1 * var(--spacing-3));
3398
3401
  }
3399
- .Menu_section__YjJjY:not(:last-child) {
3402
+ .Menu_section__MjYyM:not(:last-child) {
3400
3403
  margin-bottom: var(--spacing-4);
3401
3404
  }
3402
- .Menu_header__NDVjN {
3405
+ .Menu_header__ODcyM {
3403
3406
  font-size: var(--font-size-2);
3404
3407
  font-weight: var(--font-weight-bold);
3405
3408
  padding: var(--padding);
3406
3409
  }
3407
- .Menu_item__YjBiN {
3410
+ .Menu_item__ZGQ3M {
3408
3411
  display: flex;
3409
3412
  align-items: center;
3410
3413
  gap: var(--gap);
@@ -3417,28 +3420,30 @@ body a.Button_button__NDYwM {
3417
3420
  outline: none;
3418
3421
  width: 100%;
3419
3422
  }
3420
- .Menu_item__YjBiN[data-focus],
3421
- .Menu_item__YjBiN[data-focus-visible] {
3423
+ .Menu_item__ZGQ3M[data-disabled] {
3424
+ }
3425
+ .Menu_item__ZGQ3M[data-focus],
3426
+ .Menu_item__ZGQ3M[data-focus-visible] {
3422
3427
  outline: var(--outline);
3423
3428
  background: var(--highlight-color);
3424
3429
  }
3425
- .Menu_item__YjBiN:hover {
3430
+ .Menu_item__ZGQ3M:hover {
3426
3431
  background: var(--highlight-color);
3427
3432
  }
3428
- .Menu_item__YjBiN[data-selected] {
3433
+ .Menu_item__ZGQ3M[data-selected] {
3429
3434
  font-weight: bold;
3430
3435
  }
3431
- .Menu_item__YjBiN[data-selected] .Menu_check__YmVhZ {
3436
+ .Menu_item__ZGQ3M[data-selected] .Menu_check__NzhkO {
3432
3437
  display: flex;
3433
3438
  justify-content: flex-end;
3434
3439
  flex: 1;
3435
3440
  }
3436
- .Menu_check__YmVhZ {
3441
+ .Menu_check__NzhkO {
3437
3442
  display: none;
3438
3443
  }
3439
3444
 
3440
3445
  /* virtual-css:css:593a0302ed618f22d0e6c3631ec684d2 */
3441
- .Modal_overlay__OGJmN {
3446
+ .Modal_overlay__MzBhO {
3442
3447
  position: fixed;
3443
3448
  top: 0;
3444
3449
  left: 0;
@@ -3449,18 +3454,19 @@ body a.Button_button__NDYwM {
3449
3454
  align-items: center;
3450
3455
  justify-content: center;
3451
3456
  --modal-offset: 50%;
3457
+ z-index: 9999;
3452
3458
  }
3453
- .Modal_overlay__OGJmN[data-entering] {
3454
- animation: Modal_modal-fade-in__MzJiZ 200ms;
3459
+ .Modal_overlay__MzBhO[data-entering] {
3460
+ animation: Modal_modal-fade-in__OTcxN 200ms;
3455
3461
  }
3456
- .Modal_overlay__OGJmN[data-exiting] {
3457
- animation: Modal_modal-fade-in__MzJiZ 200ms reverse ease-in;
3462
+ .Modal_overlay__MzBhO[data-exiting] {
3463
+ animation: Modal_modal-fade-in__OTcxN 200ms reverse ease-in;
3458
3464
  }
3459
- .Modal_modal__OTZjZ {
3465
+ .Modal_modal__YTU3M {
3460
3466
  position: relative;
3461
3467
  z-index: 9999;
3462
3468
  }
3463
- .Modal_modal__OTZjZ.Modal_left__Mzg1Z {
3469
+ .Modal_modal__YTU3M.Modal_left__ZDU0O {
3464
3470
  position: absolute;
3465
3471
  top: 0;
3466
3472
  left: 0;
@@ -3468,7 +3474,7 @@ body a.Button_button__NDYwM {
3468
3474
  margin: auto;
3469
3475
  width: calc(100dvw - var(--modal-offset, 0));
3470
3476
  }
3471
- .Modal_modal__OTZjZ.Modal_right__YmRmZ {
3477
+ .Modal_modal__YTU3M.Modal_right__MGFhO {
3472
3478
  position: absolute;
3473
3479
  top: 0;
3474
3480
  right: 0;
@@ -3476,7 +3482,7 @@ body a.Button_button__NDYwM {
3476
3482
  margin: auto;
3477
3483
  width: calc(100dvw - var(--modal-offset, 0));
3478
3484
  }
3479
- .Modal_modal__OTZjZ.Modal_top__ZDUzY {
3485
+ .Modal_modal__YTU3M.Modal_top__OTY4M {
3480
3486
  position: absolute;
3481
3487
  top: 0;
3482
3488
  left: 0;
@@ -3484,7 +3490,7 @@ body a.Button_button__NDYwM {
3484
3490
  margin: auto;
3485
3491
  height: calc(100dvh - var(--modal-offset, 0));
3486
3492
  }
3487
- .Modal_modal__OTZjZ.Modal_bottom__ZDRhZ {
3493
+ .Modal_modal__YTU3M.Modal_bottom__NjY4N {
3488
3494
  position: absolute;
3489
3495
  left: 0;
3490
3496
  right: 0;
@@ -3492,41 +3498,41 @@ body a.Button_button__NDYwM {
3492
3498
  margin: auto;
3493
3499
  height: calc(100dvh - var(--modal-offset, 0));
3494
3500
  }
3495
- .Modal_modal__OTZjZ.Modal_fullscreen__NTU4O {
3501
+ .Modal_modal__YTU3M.Modal_fullscreen__YTNkZ {
3496
3502
  width: 100dvw;
3497
3503
  height: 100dvh;
3498
3504
  }
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);
3505
+ .Modal_modal__YTU3M.Modal_center__ZTViM[data-entering] {
3506
+ animation: Modal_modal-zoom__MjY4Y 300ms cubic-bezier(0.175, 0.885, 0.32, 1.275);
3501
3507
  }
3502
- .Modal_modal__OTZjZ.Modal_left__Mzg1Z[data-entering] {
3503
- animation: Modal_modal-left__ODA0M 200ms ease-out;
3508
+ .Modal_modal__YTU3M.Modal_left__ZDU0O[data-entering] {
3509
+ animation: Modal_modal-left__YTc0N 200ms ease-out;
3504
3510
  }
3505
- .Modal_modal__OTZjZ.Modal_left__Mzg1Z[data-exiting] {
3506
- animation: Modal_modal-left__ODA0M 200ms reverse ease-out;
3511
+ .Modal_modal__YTU3M.Modal_left__ZDU0O[data-exiting] {
3512
+ animation: Modal_modal-left__YTc0N 200ms reverse ease-out;
3507
3513
  }
3508
- .Modal_modal__OTZjZ.Modal_right__YmRmZ[data-entering] {
3509
- animation: Modal_modal-right__ZjYwM 200ms ease-out;
3514
+ .Modal_modal__YTU3M.Modal_right__MGFhO[data-entering] {
3515
+ animation: Modal_modal-right__MWY0Z 200ms ease-out;
3510
3516
  }
3511
- .Modal_modal__OTZjZ.Modal_right__YmRmZ[data-exiting] {
3512
- animation: Modal_modal-right__ZjYwM 200ms reverse ease-in;
3517
+ .Modal_modal__YTU3M.Modal_right__MGFhO[data-exiting] {
3518
+ animation: Modal_modal-right__MWY0Z 200ms reverse ease-in;
3513
3519
  }
3514
- .Modal_modal__OTZjZ.Modal_top__ZDUzY[data-entering] {
3515
- animation: Modal_modal-top__N2VhY 200ms ease-out;
3520
+ .Modal_modal__YTU3M.Modal_top__OTY4M[data-entering] {
3521
+ animation: Modal_modal-top__OTQ2M 200ms ease-out;
3516
3522
  }
3517
- .Modal_modal__OTZjZ.Modal_top__ZDUzY[data-exiting] {
3518
- animation: Modal_modal-top__N2VhY 200ms reverse ease-in;
3523
+ .Modal_modal__YTU3M.Modal_top__OTY4M[data-exiting] {
3524
+ animation: Modal_modal-top__OTQ2M 200ms reverse ease-in;
3519
3525
  }
3520
- .Modal_modal__OTZjZ.Modal_bottom__ZDRhZ[data-entering] {
3521
- animation: Modal_modal-bottom__ZTQ3Y 200ms ease-out;
3526
+ .Modal_modal__YTU3M.Modal_bottom__NjY4N[data-entering] {
3527
+ animation: Modal_modal-bottom__NDlkZ 200ms ease-out;
3522
3528
  }
3523
- .Modal_modal__OTZjZ.Modal_bottom__ZDRhZ[data-exiting] {
3524
- animation: Modal_modal-bottom__ZTQ3Y 200ms reverse ease-in;
3529
+ .Modal_modal__YTU3M.Modal_bottom__NjY4N[data-exiting] {
3530
+ animation: Modal_modal-bottom__NDlkZ 200ms reverse ease-in;
3525
3531
  }
3526
- .Modal_modal__OTZjZ.Modal_fullscreen__NTU4O[data-entering] {
3527
- animation: Modal_modal-fade-in__MzJiZ 200ms ease-out;
3532
+ .Modal_modal__YTU3M.Modal_fullscreen__YTNkZ[data-entering] {
3533
+ animation: Modal_modal-fade-in__OTcxN 200ms ease-out;
3528
3534
  }
3529
- @keyframes Modal_modal-fade-in__MzJiZ {
3535
+ @keyframes Modal_modal-fade-in__OTcxN {
3530
3536
  from {
3531
3537
  opacity: 0;
3532
3538
  }
@@ -3534,7 +3540,7 @@ body a.Button_button__NDYwM {
3534
3540
  opacity: 1;
3535
3541
  }
3536
3542
  }
3537
- @keyframes Modal_modal-zoom__ZWRlM {
3543
+ @keyframes Modal_modal-zoom__MjY4Y {
3538
3544
  from {
3539
3545
  transform: scale(0.8);
3540
3546
  }
@@ -3542,7 +3548,7 @@ body a.Button_button__NDYwM {
3542
3548
  transform: scale(1);
3543
3549
  }
3544
3550
  }
3545
- @keyframes Modal_modal-left__ODA0M {
3551
+ @keyframes Modal_modal-left__YTc0N {
3546
3552
  from {
3547
3553
  transform: translateX(-100%);
3548
3554
  }
@@ -3550,7 +3556,7 @@ body a.Button_button__NDYwM {
3550
3556
  transform: translateX(0);
3551
3557
  }
3552
3558
  }
3553
- @keyframes Modal_modal-right__ZjYwM {
3559
+ @keyframes Modal_modal-right__MWY0Z {
3554
3560
  from {
3555
3561
  transform: translateX(100%);
3556
3562
  }
@@ -3558,7 +3564,7 @@ body a.Button_button__NDYwM {
3558
3564
  transform: translateX(0);
3559
3565
  }
3560
3566
  }
3561
- @keyframes Modal_modal-top__N2VhY {
3567
+ @keyframes Modal_modal-top__OTQ2M {
3562
3568
  from {
3563
3569
  transform: translateY(-100%);
3564
3570
  }
@@ -3566,7 +3572,7 @@ body a.Button_button__NDYwM {
3566
3572
  transform: translateX(0);
3567
3573
  }
3568
3574
  }
3569
- @keyframes Modal_modal-bottom__ZTQ3Y {
3575
+ @keyframes Modal_modal-bottom__NDlkZ {
3570
3576
  from {
3571
3577
  transform: translateY(100%);
3572
3578
  }
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> & {
package/dist/index.js CHANGED
@@ -30611,7 +30611,7 @@ var import_react184 = require("react");
30611
30611
  var import_classnames32 = __toESM(require_classnames());
30612
30612
 
30613
30613
  // 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" };
30614
+ 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
30615
 
30616
30616
  // src/components/List.tsx
30617
30617
  var import_jsx_runtime42 = require("react/jsx-runtime");
@@ -30692,11 +30692,11 @@ function Loading(props) {
30692
30692
  var import_classnames34 = __toESM(require_classnames());
30693
30693
 
30694
30694
  // 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" };
30695
+ var Menu_default = { "menu": "Menu_menu__ZGYzM", "separator": "Menu_separator__Yzk4N", "section": "Menu_section__MjYyM", "header": "Menu_header__ODcyM", "item": "Menu_item__ZGQ3M", "check": "Menu_check__NzhkO" };
30696
30696
 
30697
30697
  // src/components/Menu.tsx
30698
30698
  var import_jsx_runtime44 = require("react/jsx-runtime");
30699
- function Menu2({ items, className, children, ...props }) {
30699
+ function Menu2({ className, children, ...props }) {
30700
30700
  return /* @__PURE__ */ (0, import_jsx_runtime44.jsx)($3674c52c6b3c5bce$export$d9b273488cd8ce6f, { ...props, className: (0, import_classnames34.default)(Menu_default.menu, className), children });
30701
30701
  }
30702
30702
  function MenuItem2({ children, className, ...props }) {
@@ -30724,7 +30724,7 @@ function MenuSection({
30724
30724
  var import_classnames35 = __toESM(require_classnames());
30725
30725
 
30726
30726
  // 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" };
30727
+ 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
30728
 
30729
30729
  // src/components/Modal.tsx
30730
30730
  var import_jsx_runtime45 = require("react/jsx-runtime");
package/dist/index.mjs CHANGED
@@ -30500,7 +30500,7 @@ import { Fragment as Fragment6 } from "react";
30500
30500
  var import_classnames32 = __toESM(require_classnames());
30501
30501
 
30502
30502
  // 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" };
30503
+ 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
30504
 
30505
30505
  // src/components/List.tsx
30506
30506
  import { jsx as jsx42, jsxs as jsxs21 } from "react/jsx-runtime";
@@ -30581,11 +30581,11 @@ function Loading(props) {
30581
30581
  var import_classnames34 = __toESM(require_classnames());
30582
30582
 
30583
30583
  // 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" };
30584
+ var Menu_default = { "menu": "Menu_menu__ZGYzM", "separator": "Menu_separator__Yzk4N", "section": "Menu_section__MjYyM", "header": "Menu_header__ODcyM", "item": "Menu_item__ZGQ3M", "check": "Menu_check__NzhkO" };
30585
30585
 
30586
30586
  // src/components/Menu.tsx
30587
30587
  import { jsx as jsx44, jsxs as jsxs23 } from "react/jsx-runtime";
30588
- function Menu2({ items, className, children, ...props }) {
30588
+ function Menu2({ className, children, ...props }) {
30589
30589
  return /* @__PURE__ */ jsx44($3674c52c6b3c5bce$export$d9b273488cd8ce6f, { ...props, className: (0, import_classnames34.default)(Menu_default.menu, className), children });
30590
30590
  }
30591
30591
  function MenuItem2({ children, className, ...props }) {
@@ -30613,7 +30613,7 @@ function MenuSection({
30613
30613
  var import_classnames35 = __toESM(require_classnames());
30614
30614
 
30615
30615
  // 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" };
30616
+ 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
30617
 
30618
30618
  // src/components/Modal.tsx
30619
30619
  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.81.0",
4
4
  "description": "Modern, minimalist React component library",
5
5
  "author": "Umami <hello@umami.is>",
6
6
  "license": "MIT",
package/styles.css CHANGED
@@ -3630,23 +3630,23 @@ body a.Button_button__NDYwM {
3630
3630
  }
3631
3631
 
3632
3632
  /* virtual-css:css:0fb02723d81c5960ed149d3d9f58f1ba */
3633
- .List_list__MDIxN {
3633
+ .List_list__M2YzO {
3634
3634
  min-width: 100px;
3635
3635
  outline: none;
3636
3636
  overflow: auto;
3637
3637
  }
3638
- .List_separator__YWY4N {
3638
+ .List_separator__NzBlZ {
3639
3639
  border-bottom: var(--border);
3640
3640
  }
3641
- .List_section__NWU0Y:not(:last-child) {
3641
+ .List_section__MWM1Y:not(:last-child) {
3642
3642
  margin-bottom: var(--spacing-4);
3643
3643
  }
3644
- .List_header__Yzg0Y {
3644
+ .List_header__ZmQyN {
3645
3645
  font-size: var(--font-size-2);
3646
3646
  font-weight: var(--font-weight-bold);
3647
3647
  padding: var(--padding);
3648
3648
  }
3649
- .List_item__NjEyN {
3649
+ .List_item__M2IxN {
3650
3650
  display: flex;
3651
3651
  align-items: center;
3652
3652
  justify-content: space-between;
@@ -3659,22 +3659,25 @@ body a.Button_button__NDYwM {
3659
3659
  outline: none;
3660
3660
  border-radius: var(--border-radius);
3661
3661
  }
3662
- .List_item__NjEyN[data-focus],
3663
- .List_item__NjEyN[data-focus-visible] {
3662
+ .List_item__M2IxN[data-disabled] {
3663
+ color: var(--font-color-disabled);
3664
+ }
3665
+ .List_item__M2IxN[data-focus],
3666
+ .List_item__M2IxN[data-focus-visible] {
3664
3667
  background: var(--highlight-color);
3665
3668
  }
3666
- .List_item__NjEyN:hover {
3669
+ .List_item__M2IxN:hover {
3667
3670
  background: var(--highlight-color);
3668
3671
  }
3669
- .List_item__NjEyN[data-selected] {
3672
+ .List_item__M2IxN[data-selected] {
3670
3673
  font-weight: bold;
3671
3674
  }
3672
- .List_item__NjEyN[data-selected] .List_check__MTNlZ {
3675
+ .List_item__M2IxN[data-selected] .List_check__OWQxN {
3673
3676
  display: flex;
3674
3677
  justify-content: flex-end;
3675
3678
  flex: 1;
3676
3679
  }
3677
- .List_check__MTNlZ {
3680
+ .List_check__OWQxN {
3678
3681
  display: none;
3679
3682
  }
3680
3683
 
@@ -3703,7 +3706,7 @@ body a.Button_button__NDYwM {
3703
3706
  }
3704
3707
 
3705
3708
  /* virtual-css:css:3130df15a3cfaee8cb812b182afb7ee1 */
3706
- .Menu_menu__YmUyN {
3709
+ .Menu_menu__ZGYzM {
3707
3710
  min-width: 200px;
3708
3711
  border: var(--border);
3709
3712
  border-radius: var(--border-radius);
@@ -3712,19 +3715,19 @@ body a.Button_button__NDYwM {
3712
3715
  background: var(--background-color);
3713
3716
  overflow: hidden;
3714
3717
  }
3715
- .Menu_separator__NDFlO {
3718
+ .Menu_separator__Yzk4N {
3716
3719
  border-bottom: var(--border);
3717
3720
  margin: var(--spacing-2) calc(-1 * var(--spacing-3));
3718
3721
  }
3719
- .Menu_section__YjJjY:not(:last-child) {
3722
+ .Menu_section__MjYyM:not(:last-child) {
3720
3723
  margin-bottom: var(--spacing-4);
3721
3724
  }
3722
- .Menu_header__NDVjN {
3725
+ .Menu_header__ODcyM {
3723
3726
  font-size: var(--font-size-2);
3724
3727
  font-weight: var(--font-weight-bold);
3725
3728
  padding: var(--padding);
3726
3729
  }
3727
- .Menu_item__YjBiN {
3730
+ .Menu_item__ZGQ3M {
3728
3731
  display: flex;
3729
3732
  align-items: center;
3730
3733
  gap: var(--gap);
@@ -3737,28 +3740,30 @@ body a.Button_button__NDYwM {
3737
3740
  outline: none;
3738
3741
  width: 100%;
3739
3742
  }
3740
- .Menu_item__YjBiN[data-focus],
3741
- .Menu_item__YjBiN[data-focus-visible] {
3743
+ .Menu_item__ZGQ3M[data-disabled] {
3744
+ }
3745
+ .Menu_item__ZGQ3M[data-focus],
3746
+ .Menu_item__ZGQ3M[data-focus-visible] {
3742
3747
  outline: var(--outline);
3743
3748
  background: var(--highlight-color);
3744
3749
  }
3745
- .Menu_item__YjBiN:hover {
3750
+ .Menu_item__ZGQ3M:hover {
3746
3751
  background: var(--highlight-color);
3747
3752
  }
3748
- .Menu_item__YjBiN[data-selected] {
3753
+ .Menu_item__ZGQ3M[data-selected] {
3749
3754
  font-weight: bold;
3750
3755
  }
3751
- .Menu_item__YjBiN[data-selected] .Menu_check__YmVhZ {
3756
+ .Menu_item__ZGQ3M[data-selected] .Menu_check__NzhkO {
3752
3757
  display: flex;
3753
3758
  justify-content: flex-end;
3754
3759
  flex: 1;
3755
3760
  }
3756
- .Menu_check__YmVhZ {
3761
+ .Menu_check__NzhkO {
3757
3762
  display: none;
3758
3763
  }
3759
3764
 
3760
3765
  /* virtual-css:css:593a0302ed618f22d0e6c3631ec684d2 */
3761
- .Modal_overlay__OGJmN {
3766
+ .Modal_overlay__MzBhO {
3762
3767
  position: fixed;
3763
3768
  top: 0;
3764
3769
  left: 0;
@@ -3769,18 +3774,19 @@ body a.Button_button__NDYwM {
3769
3774
  align-items: center;
3770
3775
  justify-content: center;
3771
3776
  --modal-offset: 50%;
3777
+ z-index: 9999;
3772
3778
  }
3773
- .Modal_overlay__OGJmN[data-entering] {
3774
- animation: Modal_modal-fade-in__MzJiZ 200ms;
3779
+ .Modal_overlay__MzBhO[data-entering] {
3780
+ animation: Modal_modal-fade-in__OTcxN 200ms;
3775
3781
  }
3776
- .Modal_overlay__OGJmN[data-exiting] {
3777
- animation: Modal_modal-fade-in__MzJiZ 200ms reverse ease-in;
3782
+ .Modal_overlay__MzBhO[data-exiting] {
3783
+ animation: Modal_modal-fade-in__OTcxN 200ms reverse ease-in;
3778
3784
  }
3779
- .Modal_modal__OTZjZ {
3785
+ .Modal_modal__YTU3M {
3780
3786
  position: relative;
3781
3787
  z-index: 9999;
3782
3788
  }
3783
- .Modal_modal__OTZjZ.Modal_left__Mzg1Z {
3789
+ .Modal_modal__YTU3M.Modal_left__ZDU0O {
3784
3790
  position: absolute;
3785
3791
  top: 0;
3786
3792
  left: 0;
@@ -3788,7 +3794,7 @@ body a.Button_button__NDYwM {
3788
3794
  margin: auto;
3789
3795
  width: calc(100dvw - var(--modal-offset, 0));
3790
3796
  }
3791
- .Modal_modal__OTZjZ.Modal_right__YmRmZ {
3797
+ .Modal_modal__YTU3M.Modal_right__MGFhO {
3792
3798
  position: absolute;
3793
3799
  top: 0;
3794
3800
  right: 0;
@@ -3796,7 +3802,7 @@ body a.Button_button__NDYwM {
3796
3802
  margin: auto;
3797
3803
  width: calc(100dvw - var(--modal-offset, 0));
3798
3804
  }
3799
- .Modal_modal__OTZjZ.Modal_top__ZDUzY {
3805
+ .Modal_modal__YTU3M.Modal_top__OTY4M {
3800
3806
  position: absolute;
3801
3807
  top: 0;
3802
3808
  left: 0;
@@ -3804,7 +3810,7 @@ body a.Button_button__NDYwM {
3804
3810
  margin: auto;
3805
3811
  height: calc(100dvh - var(--modal-offset, 0));
3806
3812
  }
3807
- .Modal_modal__OTZjZ.Modal_bottom__ZDRhZ {
3813
+ .Modal_modal__YTU3M.Modal_bottom__NjY4N {
3808
3814
  position: absolute;
3809
3815
  left: 0;
3810
3816
  right: 0;
@@ -3812,41 +3818,41 @@ body a.Button_button__NDYwM {
3812
3818
  margin: auto;
3813
3819
  height: calc(100dvh - var(--modal-offset, 0));
3814
3820
  }
3815
- .Modal_modal__OTZjZ.Modal_fullscreen__NTU4O {
3821
+ .Modal_modal__YTU3M.Modal_fullscreen__YTNkZ {
3816
3822
  width: 100dvw;
3817
3823
  height: 100dvh;
3818
3824
  }
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);
3825
+ .Modal_modal__YTU3M.Modal_center__ZTViM[data-entering] {
3826
+ animation: Modal_modal-zoom__MjY4Y 300ms cubic-bezier(0.175, 0.885, 0.32, 1.275);
3821
3827
  }
3822
- .Modal_modal__OTZjZ.Modal_left__Mzg1Z[data-entering] {
3823
- animation: Modal_modal-left__ODA0M 200ms ease-out;
3828
+ .Modal_modal__YTU3M.Modal_left__ZDU0O[data-entering] {
3829
+ animation: Modal_modal-left__YTc0N 200ms ease-out;
3824
3830
  }
3825
- .Modal_modal__OTZjZ.Modal_left__Mzg1Z[data-exiting] {
3826
- animation: Modal_modal-left__ODA0M 200ms reverse ease-out;
3831
+ .Modal_modal__YTU3M.Modal_left__ZDU0O[data-exiting] {
3832
+ animation: Modal_modal-left__YTc0N 200ms reverse ease-out;
3827
3833
  }
3828
- .Modal_modal__OTZjZ.Modal_right__YmRmZ[data-entering] {
3829
- animation: Modal_modal-right__ZjYwM 200ms ease-out;
3834
+ .Modal_modal__YTU3M.Modal_right__MGFhO[data-entering] {
3835
+ animation: Modal_modal-right__MWY0Z 200ms ease-out;
3830
3836
  }
3831
- .Modal_modal__OTZjZ.Modal_right__YmRmZ[data-exiting] {
3832
- animation: Modal_modal-right__ZjYwM 200ms reverse ease-in;
3837
+ .Modal_modal__YTU3M.Modal_right__MGFhO[data-exiting] {
3838
+ animation: Modal_modal-right__MWY0Z 200ms reverse ease-in;
3833
3839
  }
3834
- .Modal_modal__OTZjZ.Modal_top__ZDUzY[data-entering] {
3835
- animation: Modal_modal-top__N2VhY 200ms ease-out;
3840
+ .Modal_modal__YTU3M.Modal_top__OTY4M[data-entering] {
3841
+ animation: Modal_modal-top__OTQ2M 200ms ease-out;
3836
3842
  }
3837
- .Modal_modal__OTZjZ.Modal_top__ZDUzY[data-exiting] {
3838
- animation: Modal_modal-top__N2VhY 200ms reverse ease-in;
3843
+ .Modal_modal__YTU3M.Modal_top__OTY4M[data-exiting] {
3844
+ animation: Modal_modal-top__OTQ2M 200ms reverse ease-in;
3839
3845
  }
3840
- .Modal_modal__OTZjZ.Modal_bottom__ZDRhZ[data-entering] {
3841
- animation: Modal_modal-bottom__ZTQ3Y 200ms ease-out;
3846
+ .Modal_modal__YTU3M.Modal_bottom__NjY4N[data-entering] {
3847
+ animation: Modal_modal-bottom__NDlkZ 200ms ease-out;
3842
3848
  }
3843
- .Modal_modal__OTZjZ.Modal_bottom__ZDRhZ[data-exiting] {
3844
- animation: Modal_modal-bottom__ZTQ3Y 200ms reverse ease-in;
3849
+ .Modal_modal__YTU3M.Modal_bottom__NjY4N[data-exiting] {
3850
+ animation: Modal_modal-bottom__NDlkZ 200ms reverse ease-in;
3845
3851
  }
3846
- .Modal_modal__OTZjZ.Modal_fullscreen__NTU4O[data-entering] {
3847
- animation: Modal_modal-fade-in__MzJiZ 200ms ease-out;
3852
+ .Modal_modal__YTU3M.Modal_fullscreen__YTNkZ[data-entering] {
3853
+ animation: Modal_modal-fade-in__OTcxN 200ms ease-out;
3848
3854
  }
3849
- @keyframes Modal_modal-fade-in__MzJiZ {
3855
+ @keyframes Modal_modal-fade-in__OTcxN {
3850
3856
  from {
3851
3857
  opacity: 0;
3852
3858
  }
@@ -3854,7 +3860,7 @@ body a.Button_button__NDYwM {
3854
3860
  opacity: 1;
3855
3861
  }
3856
3862
  }
3857
- @keyframes Modal_modal-zoom__ZWRlM {
3863
+ @keyframes Modal_modal-zoom__MjY4Y {
3858
3864
  from {
3859
3865
  transform: scale(0.8);
3860
3866
  }
@@ -3862,7 +3868,7 @@ body a.Button_button__NDYwM {
3862
3868
  transform: scale(1);
3863
3869
  }
3864
3870
  }
3865
- @keyframes Modal_modal-left__ODA0M {
3871
+ @keyframes Modal_modal-left__YTc0N {
3866
3872
  from {
3867
3873
  transform: translateX(-100%);
3868
3874
  }
@@ -3870,7 +3876,7 @@ body a.Button_button__NDYwM {
3870
3876
  transform: translateX(0);
3871
3877
  }
3872
3878
  }
3873
- @keyframes Modal_modal-right__ZjYwM {
3879
+ @keyframes Modal_modal-right__MWY0Z {
3874
3880
  from {
3875
3881
  transform: translateX(100%);
3876
3882
  }
@@ -3878,7 +3884,7 @@ body a.Button_button__NDYwM {
3878
3884
  transform: translateX(0);
3879
3885
  }
3880
3886
  }
3881
- @keyframes Modal_modal-top__N2VhY {
3887
+ @keyframes Modal_modal-top__OTQ2M {
3882
3888
  from {
3883
3889
  transform: translateY(-100%);
3884
3890
  }
@@ -3886,7 +3892,7 @@ body a.Button_button__NDYwM {
3886
3892
  transform: translateX(0);
3887
3893
  }
3888
3894
  }
3889
- @keyframes Modal_modal-bottom__ZTQ3Y {
3895
+ @keyframes Modal_modal-bottom__NDlkZ {
3890
3896
  from {
3891
3897
  transform: translateY(100%);
3892
3898
  }