@umami/react-zen 0.97.0 → 0.98.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@umami/react-zen",
3
- "version": "0.97.0",
3
+ "version": "0.98.0",
4
4
  "description": "Modern, minimalist React component library",
5
5
  "author": "Umami <hello@umami.is>",
6
6
  "license": "MIT",
@@ -47,20 +47,20 @@
47
47
  "dependencies": {
48
48
  "@fontsource/jetbrains-mono": "^5.2.5",
49
49
  "@internationalized/date": "^3.8.0",
50
- "@react-aria/focus": "^3.20.1",
50
+ "@react-aria/focus": "^3.20.2",
51
51
  "@react-spring/web": "^9.7.5",
52
52
  "classnames": "^2.5.1",
53
53
  "glob": "^10.3.10",
54
54
  "highlight.js": "^11.11.1",
55
55
  "lucide-react": "^0.479.0",
56
- "next": "^15.2.4",
56
+ "next": "^15.3.2",
57
57
  "react": "^19.1.0",
58
- "react-aria-components": "^1.7.1",
58
+ "react-aria-components": "^1.8.0",
59
59
  "react-dom": "^19.1.0",
60
- "react-hook-form": "^7.55.0",
60
+ "react-hook-form": "^7.56.4",
61
61
  "react-icons": "^5.4.0",
62
62
  "thenby": "^1.3.4",
63
- "zustand": "^5.0.3"
63
+ "zustand": "^5.0.4"
64
64
  },
65
65
  "devDependencies": {
66
66
  "@hyrious/esbuild-plugin-commonjs": "^0.2.4",
@@ -70,24 +70,24 @@
70
70
  "@svgr/rollup": "^8.1.0",
71
71
  "@svgr/webpack": "^8.1.0",
72
72
  "@types/mdx": "^2.0.11",
73
- "@types/node": "^22.14.0",
74
- "@types/react": "^19.1.0",
75
- "@types/react-dom": "^19.1.1",
73
+ "@types/node": "^22.15.18",
74
+ "@types/react": "^19.1.4",
75
+ "@types/react-dom": "^19.1.5",
76
76
  "@umami/esbuild-plugin-css-modules": "0.4.0",
77
77
  "@umami/shiso": "^0.51.0",
78
78
  "babel-plugin-inline-react-svg": "^2.0.2",
79
79
  "babel-plugin-syntax-hermes-parser": "^0.26.0",
80
80
  "dts-bundle": "^0.7.3",
81
- "esbuild": "^0.25.2",
81
+ "esbuild": "^0.25.4",
82
82
  "esbuild-css-modules-plugin": "^3.1.2",
83
- "esbuild-plugin-svgr": "^3.1.0",
83
+ "esbuild-plugin-svgr": "^3.1.1",
84
84
  "esbuild-postcss": "^0.0.4",
85
85
  "eslint": "^8.16.0",
86
86
  "eslint-config-next": "15.2.2",
87
- "eslint-config-prettier": "^10.1.1",
87
+ "eslint-config-prettier": "^10.1.5",
88
88
  "eslint-import-resolver-alias": "^1.1.2",
89
89
  "eslint-plugin-import": "^2.29.1",
90
- "eslint-plugin-prettier": "^5.2.6",
90
+ "eslint-plugin-prettier": "^5.4.0",
91
91
  "husky": "^9.1.1",
92
92
  "lint-staged": "^15.5.0",
93
93
  "npm-run-all": "^4.1.5",
package/styles.css CHANGED
@@ -4271,23 +4271,25 @@ body a.Button_button__NDYwM {
4271
4271
  }
4272
4272
 
4273
4273
  /* virtual-css:css:0fb02723d81c5960ed149d3d9f58f1ba */
4274
- .List_list__M2YzO {
4274
+ .List_list__NzVmN {
4275
+ display: grid;
4275
4276
  min-width: 100px;
4276
4277
  outline: none;
4277
4278
  overflow: auto;
4279
+ gap: var(--spacing-1);
4278
4280
  }
4279
- .List_separator__NzBlZ {
4281
+ .List_separator__M2U0O {
4280
4282
  border-bottom: var(--border);
4281
4283
  }
4282
- .List_section__MWM1Y:not(:last-child) {
4284
+ .List_section__Y2Q0Z:not(:last-child) {
4283
4285
  margin-bottom: var(--spacing-4);
4284
4286
  }
4285
- .List_header__ZmQyN {
4287
+ .List_header__M2ZhY {
4286
4288
  font-size: var(--font-size-2);
4287
4289
  font-weight: var(--font-weight-bold);
4288
4290
  padding: var(--padding);
4289
4291
  }
4290
- .List_item__M2IxN {
4292
+ .List_item__YmFjO {
4291
4293
  display: flex;
4292
4294
  align-items: center;
4293
4295
  justify-content: space-between;
@@ -4300,25 +4302,43 @@ body a.Button_button__NDYwM {
4300
4302
  outline: none;
4301
4303
  border-radius: var(--border-radius);
4302
4304
  }
4303
- .List_item__M2IxN[data-disabled] {
4305
+ .List_item__YmFjO[data-disabled] {
4304
4306
  color: var(--font-color-disabled);
4305
4307
  }
4306
- .List_item__M2IxN[data-focus],
4307
- .List_item__M2IxN[data-focus-visible] {
4308
+ .List_item__YmFjO[data-focus],
4309
+ .List_item__YmFjO[data-focus-visible] {
4308
4310
  background: var(--highlight-color);
4309
4311
  }
4310
- .List_item__M2IxN:hover {
4312
+ .List_item__YmFjO:hover {
4311
4313
  background: var(--highlight-color);
4312
4314
  }
4313
- .List_item__M2IxN[data-selected] {
4315
+ .List_item__YmFjO[data-selected] {
4314
4316
  font-weight: bold;
4317
+ & .List_check__NjUwZ {
4318
+ display: flex;
4319
+ justify-content: flex-end;
4320
+ flex: 1;
4321
+ }
4315
4322
  }
4316
- .List_item__M2IxN[data-selected] .List_check__OWQxN {
4317
- display: flex;
4318
- justify-content: flex-end;
4319
- flex: 1;
4323
+ .List_variant-1__MGY0O {
4324
+ & .List_item__YmFjO:hover,
4325
+ .List_item__YmFjO[data-selected] {
4326
+ background: var(--base-color-2);
4327
+ }
4328
+ }
4329
+ .List_variant-2__NTJlM {
4330
+ & .List_item__YmFjO:hover,
4331
+ .List_item__YmFjO[data-selected] {
4332
+ background: var(--base-color-3);
4333
+ }
4334
+ }
4335
+ .List_variant-3__NTEyY {
4336
+ & .List_item__YmFjO:hover,
4337
+ .List_item__YmFjO[data-selected] {
4338
+ background: var(--base-color-4);
4339
+ }
4320
4340
  }
4321
- .List_check__OWQxN {
4341
+ .List_check__NjUwZ {
4322
4342
  display: none;
4323
4343
  }
4324
4344
 
@@ -4543,15 +4563,15 @@ body a.Button_button__NDYwM {
4543
4563
  }
4544
4564
  }
4545
4565
 
4546
- /* virtual-css:css:bb343d54051132b757b1faf696c283f2 */
4547
- .NavBar_nav__NDgxZ {
4566
+ /* virtual-css:css:4a4829d96e3dd3519c018c8edddc2d35 */
4567
+ .Navbar_nav__ZjEwM {
4548
4568
  display: flex;
4549
4569
  align-items: center;
4550
4570
  font-size: var(--font-size);
4551
4571
  color: var(--font-color);
4552
4572
  gap: var(--gap-lg);
4553
4573
  }
4554
- .NavBar_item__OGRlN {
4574
+ .Navbar_item__MWVhZ {
4555
4575
  display: flex;
4556
4576
  align-items: center;
4557
4577
  gap: var(--gap);
@@ -4560,15 +4580,15 @@ body a.Button_button__NDYwM {
4560
4580
  font-weight: 700;
4561
4581
  cursor: default;
4562
4582
  }
4563
- .NavBar_item__OGRlN:hover {
4583
+ .Navbar_item__MWVhZ:hover {
4564
4584
  background: var(--highlight-color);
4565
4585
  }
4566
- .NavBar_nav__NDgxZ .NavBar_item__OGRlN > a,
4567
- .NavBar_nav__NDgxZ .NavBar_item__OGRlN > a:hover {
4586
+ .Navbar_nav__ZjEwM .Navbar_item__MWVhZ > a,
4587
+ .Navbar_nav__ZjEwM .Navbar_item__MWVhZ > a:hover {
4568
4588
  color: var(--font-color);
4569
4589
  text-decoration: none;
4570
4590
  }
4571
- .NavBar_icon__NWFiY {
4591
+ .Navbar_icon__ZmM1N {
4572
4592
  color: var(--font-color-muted);
4573
4593
  }
4574
4594
 
@@ -4738,8 +4758,8 @@ body a.Button_button__NDYwM {
4738
4758
  background: none;
4739
4759
  }
4740
4760
 
4741
- /* virtual-css:css:12d12fae43d9120371ddbb4f1c814f07 */
4742
- .SideNav_sidenav__M2NlY {
4761
+ /* virtual-css:css:844962527a8f0e375161b58db0fc39ed */
4762
+ .Sidebar_sidenav__ODc2Z {
4743
4763
  height: 100%;
4744
4764
  font-size: var(--font-size);
4745
4765
  border-right: 1px solid var(--border-color);
@@ -4747,29 +4767,29 @@ body a.Button_button__NDYwM {
4747
4767
  overflow: hidden;
4748
4768
  transition: width 0.1s ease-out;
4749
4769
  }
4750
- .SideNav_header__NGU1Y {
4770
+ .Sidebar_header__YWI3N {
4751
4771
  display: flex;
4752
4772
  align-items: center;
4753
4773
  gap: var(--gap);
4754
4774
  padding: var(--padding);
4755
4775
  }
4756
- .SideNav_name__OTM0N {
4776
+ .Sidebar_name__NThjO {
4757
4777
  font-weight: var(--font-weight-bold);
4758
4778
  }
4759
- .SideNav_section__MTUxM {
4779
+ .Sidebar_section__YzQwN {
4760
4780
  padding: var(--spacing-3);
4761
4781
  overflow: hidden;
4762
4782
  }
4763
- .SideNav_title__YTg5O {
4783
+ .Sidebar_title__NDBlN {
4764
4784
  font-weight: var(--font-weight-bold);
4765
4785
  }
4766
- .SideNav_content__MjczM {
4786
+ .Sidebar_content__NmUzM {
4767
4787
  display: grid;
4768
4788
  min-height: 40px;
4769
4789
  gap: var(--gap);
4770
4790
  overflow: hidden;
4771
4791
  }
4772
- .SideNav_item__ZTlkN {
4792
+ .Sidebar_item__ZjYxZ {
4773
4793
  display: flex;
4774
4794
  align-items: center;
4775
4795
  justify-content: flex-start;
@@ -4783,62 +4803,62 @@ body a.Button_button__NDYwM {
4783
4803
  white-space: nowrap;
4784
4804
  overflow: hidden;
4785
4805
  }
4786
- .SideNav_item__ZTlkN:hover {
4806
+ .Sidebar_item__ZjYxZ:hover {
4787
4807
  color: var(--font-color);
4788
4808
  }
4789
- .SideNav_label__NDU1N {
4809
+ .Sidebar_label__OTI3N {
4790
4810
  opacity: 1;
4791
4811
  width: 100%;
4792
4812
  transition: all 0.3s;
4793
4813
  }
4794
- .SideNav_collapsed__YzExM .SideNav_label__NDU1N {
4814
+ .Sidebar_collapsed__NDY0N .Sidebar_label__OTI3N {
4795
4815
  opacity: 0;
4796
4816
  width: 0;
4797
4817
  transition: all 0.3s;
4798
4818
  }
4799
- .SideNav_collapsed__YzExM {
4819
+ .Sidebar_collapsed__NDY0N {
4800
4820
  width: 68px;
4801
4821
  transition: width 0.2s ease-in-out;
4802
4822
  }
4803
- .SideNav_muted__MmRlM .SideNav_item__ZTlkN {
4823
+ .Sidebar_muted__NjI0N .Sidebar_item__ZjYxZ {
4804
4824
  color: var(--font-color-muted);
4805
4825
  }
4806
- .SideNav_muted__MmRlM .SideNav_item__ZTlkN:hover {
4826
+ .Sidebar_muted__NjI0N .Sidebar_item__ZjYxZ:hover {
4807
4827
  color: var(--font-color);
4808
4828
  }
4809
- .SideNav_muted__MmRlM .SideNav_item__ZTlkN.SideNav_selected__ZjY4N {
4829
+ .Sidebar_muted__NjI0N .Sidebar_item__ZjYxZ.Sidebar_selected__N2RhZ {
4810
4830
  color: var(--font-color);
4811
4831
  }
4812
- .SideNav_variant-quiet__OTZlN {
4832
+ .Sidebar_variant-quiet__ZjllN {
4813
4833
  background: transparent;
4814
- & .SideNav_item__ZTlkN:hover,
4815
- .SideNav_selected__ZjY4N {
4834
+ & .Sidebar_item__ZjYxZ:hover,
4835
+ .Sidebar_selected__N2RhZ {
4816
4836
  border: 1px solid var(--border-color);
4817
4837
  border-radius: var(--border-radius);
4818
4838
  }
4819
4839
  }
4820
- .SideNav_variant-1__NjVmN {
4840
+ .Sidebar_variant-1__NmFhM {
4821
4841
  background: var(--base-color-1);
4822
- & .SideNav_item__ZTlkN:hover,
4823
- .SideNav_selected__ZjY4N {
4842
+ & .Sidebar_item__ZjYxZ:hover,
4843
+ .Sidebar_selected__N2RhZ {
4824
4844
  background: var(--base-color-2);
4825
4845
  }
4826
4846
  }
4827
- .SideNav_variant-2__NWZjM {
4847
+ .Sidebar_variant-2__OWYzZ {
4828
4848
  background: var(--base-color-2);
4829
- & .SideNav_item__ZTlkN:hover,
4830
- .SideNav_selected__ZjY4N {
4849
+ & .Sidebar_item__ZjYxZ:hover,
4850
+ .Sidebar_selected__N2RhZ {
4831
4851
  background: var(--base-color-3);
4832
4852
  }
4833
4853
  }
4834
- .SideNav_variant-3__ZDE4O {
4854
+ .Sidebar_variant-3__ODk2Y {
4835
4855
  background: var(--base-color-3);
4836
- & .SideNav_item__ZTlkN:hover,
4837
- .SideNav_selected__ZjY4N {
4856
+ & .Sidebar_item__ZjYxZ:hover,
4857
+ .Sidebar_selected__N2RhZ {
4838
4858
  background: var(--base-color-4);
4839
4859
  }
4840
4860
  }
4841
- .SideNav_sidenav__M2NlY.SideNav_noborder__YTJjO {
4861
+ .Sidebar_sidenav__ODc2Z.Sidebar_noborder__NTJlN {
4842
4862
  border: 0;
4843
4863
  }
4844
4864