@umami/react-zen 0.96.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.96.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
@@ -4030,59 +4030,67 @@ body a.Button_button__NDYwM {
4030
4030
  }
4031
4031
 
4032
4032
  /* virtual-css:css:eedba9fc7e3d8030bbd07387da49f358 */
4033
- .Table_table__MjczZ {
4033
+ .Table_table__YjllN {
4034
4034
  font-size: var(--font-size);
4035
4035
  color: var(--font-color);
4036
4036
  border-collapse: collapse;
4037
4037
  width: 100%;
4038
4038
  position: relative;
4039
4039
  }
4040
- .Table_table__MjczZ th,
4041
- .Table_table__MjczZ td {
4040
+ .Table_table__YjllN th,
4041
+ .Table_table__YjllN td {
4042
4042
  min-width: 0;
4043
4043
  }
4044
- .Table_header__YjU3M,
4045
- .Table_body__MzgxM {
4044
+ .Table_header__NmE0Y,
4045
+ .Table_body__ZWYwN {
4046
4046
  display: contents;
4047
4047
  }
4048
- .Table_header__YjU3M {
4048
+ .Table_header__NmE0Y {
4049
4049
  display: grid;
4050
4050
  border-bottom: 1px solid var(--border-color);
4051
4051
  }
4052
- .Table_header__YjU3M tr {
4052
+ .Table_header__NmE0Y tr {
4053
4053
  display: contents;
4054
4054
  }
4055
- .Table_row__MTdmZ {
4055
+ .Table_row__Y2M0Y {
4056
4056
  display: grid;
4057
4057
  border-bottom: 1px solid color-mix(in srgb, var(--border-color), 50% transparent);
4058
4058
  }
4059
- .Table_header__YjU3M .Table_column__ZDFlM:first-child,
4060
- .Table_row__MTdmZ .Table_cell__NzhiM:first-child {
4059
+ .Table_header__NmE0Y .Table_column__ZGY2M:first-child,
4060
+ .Table_row__Y2M0Y .Table_cell__MmZjM:first-child {
4061
4061
  padding-left: 0;
4062
4062
  }
4063
- .Table_header__YjU3M .Table_column__ZDFlM:last-child,
4064
- .Table_row__MTdmZ .Table_cell__NzhiM:last-child {
4063
+ .Table_header__NmE0Y .Table_column__ZGY2M:last-child,
4064
+ .Table_row__Y2M0Y .Table_cell__MmZjM:last-child {
4065
4065
  padding-right: 0;
4066
4066
  }
4067
- .Table_column__ZDFlM {
4067
+ .Table_column__ZGY2M {
4068
4068
  display: flex;
4069
4069
  padding: var(--padding);
4070
4070
  text-align: left;
4071
4071
  font-weight: 700;
4072
4072
  flex: 1;
4073
4073
  }
4074
- .Table_cell__NzhiM {
4074
+ .Table_cell__MmZjM {
4075
4075
  display: flex;
4076
4076
  padding: var(--padding);
4077
4077
  flex: 1;
4078
4078
  }
4079
- .Table_start__ODJiN {
4079
+ .Table_row__Y2M0Y .Table_cell__MmZjM a {
4080
+ font-weight: 500;
4081
+ text-decoration: underline var(--base-color-6);
4082
+ text-underline-offset: 4px;
4083
+ }
4084
+ .Table_row__Y2M0Y .Table_cell__MmZjM a:hover {
4085
+ text-decoration: underline var(--base-color-10);
4086
+ }
4087
+ .Table_start__NGFiN {
4080
4088
  justify-content: flex-start;
4081
4089
  }
4082
- .Table_center__MTI5M {
4090
+ .Table_center__NzFjM {
4083
4091
  justify-content: center;
4084
4092
  }
4085
- .Table_end__MjE3N {
4093
+ .Table_end__NmQyY {
4086
4094
  justify-content: flex-end;
4087
4095
  }
4088
4096
 
@@ -4263,23 +4271,25 @@ body a.Button_button__NDYwM {
4263
4271
  }
4264
4272
 
4265
4273
  /* virtual-css:css:0fb02723d81c5960ed149d3d9f58f1ba */
4266
- .List_list__M2YzO {
4274
+ .List_list__NzVmN {
4275
+ display: grid;
4267
4276
  min-width: 100px;
4268
4277
  outline: none;
4269
4278
  overflow: auto;
4279
+ gap: var(--spacing-1);
4270
4280
  }
4271
- .List_separator__NzBlZ {
4281
+ .List_separator__M2U0O {
4272
4282
  border-bottom: var(--border);
4273
4283
  }
4274
- .List_section__MWM1Y:not(:last-child) {
4284
+ .List_section__Y2Q0Z:not(:last-child) {
4275
4285
  margin-bottom: var(--spacing-4);
4276
4286
  }
4277
- .List_header__ZmQyN {
4287
+ .List_header__M2ZhY {
4278
4288
  font-size: var(--font-size-2);
4279
4289
  font-weight: var(--font-weight-bold);
4280
4290
  padding: var(--padding);
4281
4291
  }
4282
- .List_item__M2IxN {
4292
+ .List_item__YmFjO {
4283
4293
  display: flex;
4284
4294
  align-items: center;
4285
4295
  justify-content: space-between;
@@ -4292,25 +4302,43 @@ body a.Button_button__NDYwM {
4292
4302
  outline: none;
4293
4303
  border-radius: var(--border-radius);
4294
4304
  }
4295
- .List_item__M2IxN[data-disabled] {
4305
+ .List_item__YmFjO[data-disabled] {
4296
4306
  color: var(--font-color-disabled);
4297
4307
  }
4298
- .List_item__M2IxN[data-focus],
4299
- .List_item__M2IxN[data-focus-visible] {
4308
+ .List_item__YmFjO[data-focus],
4309
+ .List_item__YmFjO[data-focus-visible] {
4300
4310
  background: var(--highlight-color);
4301
4311
  }
4302
- .List_item__M2IxN:hover {
4312
+ .List_item__YmFjO:hover {
4303
4313
  background: var(--highlight-color);
4304
4314
  }
4305
- .List_item__M2IxN[data-selected] {
4315
+ .List_item__YmFjO[data-selected] {
4306
4316
  font-weight: bold;
4317
+ & .List_check__NjUwZ {
4318
+ display: flex;
4319
+ justify-content: flex-end;
4320
+ flex: 1;
4321
+ }
4307
4322
  }
4308
- .List_item__M2IxN[data-selected] .List_check__OWQxN {
4309
- display: flex;
4310
- justify-content: flex-end;
4311
- 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
+ }
4312
4340
  }
4313
- .List_check__OWQxN {
4341
+ .List_check__NjUwZ {
4314
4342
  display: none;
4315
4343
  }
4316
4344
 
@@ -4535,15 +4563,15 @@ body a.Button_button__NDYwM {
4535
4563
  }
4536
4564
  }
4537
4565
 
4538
- /* virtual-css:css:bb343d54051132b757b1faf696c283f2 */
4539
- .NavBar_nav__NDgxZ {
4566
+ /* virtual-css:css:4a4829d96e3dd3519c018c8edddc2d35 */
4567
+ .Navbar_nav__ZjEwM {
4540
4568
  display: flex;
4541
4569
  align-items: center;
4542
4570
  font-size: var(--font-size);
4543
4571
  color: var(--font-color);
4544
4572
  gap: var(--gap-lg);
4545
4573
  }
4546
- .NavBar_item__OGRlN {
4574
+ .Navbar_item__MWVhZ {
4547
4575
  display: flex;
4548
4576
  align-items: center;
4549
4577
  gap: var(--gap);
@@ -4552,15 +4580,15 @@ body a.Button_button__NDYwM {
4552
4580
  font-weight: 700;
4553
4581
  cursor: default;
4554
4582
  }
4555
- .NavBar_item__OGRlN:hover {
4583
+ .Navbar_item__MWVhZ:hover {
4556
4584
  background: var(--highlight-color);
4557
4585
  }
4558
- .NavBar_nav__NDgxZ .NavBar_item__OGRlN > a,
4559
- .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 {
4560
4588
  color: var(--font-color);
4561
4589
  text-decoration: none;
4562
4590
  }
4563
- .NavBar_icon__NWFiY {
4591
+ .Navbar_icon__ZmM1N {
4564
4592
  color: var(--font-color-muted);
4565
4593
  }
4566
4594
 
@@ -4730,8 +4758,8 @@ body a.Button_button__NDYwM {
4730
4758
  background: none;
4731
4759
  }
4732
4760
 
4733
- /* virtual-css:css:12d12fae43d9120371ddbb4f1c814f07 */
4734
- .SideNav_sidenav__M2NlY {
4761
+ /* virtual-css:css:844962527a8f0e375161b58db0fc39ed */
4762
+ .Sidebar_sidenav__ODc2Z {
4735
4763
  height: 100%;
4736
4764
  font-size: var(--font-size);
4737
4765
  border-right: 1px solid var(--border-color);
@@ -4739,29 +4767,29 @@ body a.Button_button__NDYwM {
4739
4767
  overflow: hidden;
4740
4768
  transition: width 0.1s ease-out;
4741
4769
  }
4742
- .SideNav_header__NGU1Y {
4770
+ .Sidebar_header__YWI3N {
4743
4771
  display: flex;
4744
4772
  align-items: center;
4745
4773
  gap: var(--gap);
4746
4774
  padding: var(--padding);
4747
4775
  }
4748
- .SideNav_name__OTM0N {
4776
+ .Sidebar_name__NThjO {
4749
4777
  font-weight: var(--font-weight-bold);
4750
4778
  }
4751
- .SideNav_section__MTUxM {
4779
+ .Sidebar_section__YzQwN {
4752
4780
  padding: var(--spacing-3);
4753
4781
  overflow: hidden;
4754
4782
  }
4755
- .SideNav_title__YTg5O {
4783
+ .Sidebar_title__NDBlN {
4756
4784
  font-weight: var(--font-weight-bold);
4757
4785
  }
4758
- .SideNav_content__MjczM {
4786
+ .Sidebar_content__NmUzM {
4759
4787
  display: grid;
4760
4788
  min-height: 40px;
4761
4789
  gap: var(--gap);
4762
4790
  overflow: hidden;
4763
4791
  }
4764
- .SideNav_item__ZTlkN {
4792
+ .Sidebar_item__ZjYxZ {
4765
4793
  display: flex;
4766
4794
  align-items: center;
4767
4795
  justify-content: flex-start;
@@ -4775,62 +4803,62 @@ body a.Button_button__NDYwM {
4775
4803
  white-space: nowrap;
4776
4804
  overflow: hidden;
4777
4805
  }
4778
- .SideNav_item__ZTlkN:hover {
4806
+ .Sidebar_item__ZjYxZ:hover {
4779
4807
  color: var(--font-color);
4780
4808
  }
4781
- .SideNav_label__NDU1N {
4809
+ .Sidebar_label__OTI3N {
4782
4810
  opacity: 1;
4783
4811
  width: 100%;
4784
4812
  transition: all 0.3s;
4785
4813
  }
4786
- .SideNav_collapsed__YzExM .SideNav_label__NDU1N {
4814
+ .Sidebar_collapsed__NDY0N .Sidebar_label__OTI3N {
4787
4815
  opacity: 0;
4788
4816
  width: 0;
4789
4817
  transition: all 0.3s;
4790
4818
  }
4791
- .SideNav_collapsed__YzExM {
4819
+ .Sidebar_collapsed__NDY0N {
4792
4820
  width: 68px;
4793
4821
  transition: width 0.2s ease-in-out;
4794
4822
  }
4795
- .SideNav_muted__MmRlM .SideNav_item__ZTlkN {
4823
+ .Sidebar_muted__NjI0N .Sidebar_item__ZjYxZ {
4796
4824
  color: var(--font-color-muted);
4797
4825
  }
4798
- .SideNav_muted__MmRlM .SideNav_item__ZTlkN:hover {
4826
+ .Sidebar_muted__NjI0N .Sidebar_item__ZjYxZ:hover {
4799
4827
  color: var(--font-color);
4800
4828
  }
4801
- .SideNav_muted__MmRlM .SideNav_item__ZTlkN.SideNav_selected__ZjY4N {
4829
+ .Sidebar_muted__NjI0N .Sidebar_item__ZjYxZ.Sidebar_selected__N2RhZ {
4802
4830
  color: var(--font-color);
4803
4831
  }
4804
- .SideNav_variant-quiet__OTZlN {
4832
+ .Sidebar_variant-quiet__ZjllN {
4805
4833
  background: transparent;
4806
- & .SideNav_item__ZTlkN:hover,
4807
- .SideNav_selected__ZjY4N {
4834
+ & .Sidebar_item__ZjYxZ:hover,
4835
+ .Sidebar_selected__N2RhZ {
4808
4836
  border: 1px solid var(--border-color);
4809
4837
  border-radius: var(--border-radius);
4810
4838
  }
4811
4839
  }
4812
- .SideNav_variant-1__NjVmN {
4840
+ .Sidebar_variant-1__NmFhM {
4813
4841
  background: var(--base-color-1);
4814
- & .SideNav_item__ZTlkN:hover,
4815
- .SideNav_selected__ZjY4N {
4842
+ & .Sidebar_item__ZjYxZ:hover,
4843
+ .Sidebar_selected__N2RhZ {
4816
4844
  background: var(--base-color-2);
4817
4845
  }
4818
4846
  }
4819
- .SideNav_variant-2__NWZjM {
4847
+ .Sidebar_variant-2__OWYzZ {
4820
4848
  background: var(--base-color-2);
4821
- & .SideNav_item__ZTlkN:hover,
4822
- .SideNav_selected__ZjY4N {
4849
+ & .Sidebar_item__ZjYxZ:hover,
4850
+ .Sidebar_selected__N2RhZ {
4823
4851
  background: var(--base-color-3);
4824
4852
  }
4825
4853
  }
4826
- .SideNav_variant-3__ZDE4O {
4854
+ .Sidebar_variant-3__ODk2Y {
4827
4855
  background: var(--base-color-3);
4828
- & .SideNav_item__ZTlkN:hover,
4829
- .SideNav_selected__ZjY4N {
4856
+ & .Sidebar_item__ZjYxZ:hover,
4857
+ .Sidebar_selected__N2RhZ {
4830
4858
  background: var(--base-color-4);
4831
4859
  }
4832
4860
  }
4833
- .SideNav_sidenav__M2NlY.SideNav_noborder__YTJjO {
4861
+ .Sidebar_sidenav__ODc2Z.Sidebar_noborder__NTJlN {
4834
4862
  border: 0;
4835
4863
  }
4836
4864