@umami/react-zen 0.120.0 → 0.122.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.120.0",
3
+ "version": "0.122.0",
4
4
  "description": "Modern, minimalist React component library",
5
5
  "author": "Umami <hello@umami.is>",
6
6
  "license": "MIT",
package/styles.css CHANGED
@@ -3333,15 +3333,18 @@ li {
3333
3333
  }
3334
3334
 
3335
3335
  /* virtual-css:css:c1c264103e87c7a7d9c345a7e75f073b */
3336
- .Form_form__ZjMwZ {
3336
+ .Form_form__ZTBhZ {
3337
+ display: flex;
3338
+ flex-direction: column;
3337
3339
  position: relative;
3338
3340
  font-size: var(--font-size);
3341
+ gap: var(--gap);
3339
3342
  }
3340
- .Form_text__NDc1Y {
3343
+ .Form_text__ZjUwN {
3341
3344
  text-align: center;
3342
3345
  margin: auto;
3343
3346
  }
3344
- .Form_icon__ZGE1Z {
3347
+ .Form_icon__YTRiZ {
3345
3348
  align-self: flex-start;
3346
3349
  }
3347
3350
 
@@ -3965,61 +3968,55 @@ body a.Button_button__NDYwM {
3965
3968
  }
3966
3969
  }
3967
3970
 
3968
- /* virtual-css:css:ac55918cdbb6b3a9ac9deedf05ce3806 */
3969
- .input_field__ZmMwY {
3970
- position: relative;
3971
- }
3972
- .input_field__ZmMwY,
3973
- .input_row__NTc1Z {
3974
- position: relative;
3975
- }
3976
- .input_field__ZmMwY[data-readonly] .input_input__MzU4N,
3977
- .input_field__ZmMwY[data-disabled] .input_input__MzU4N {
3978
- background: var(--base-color-2);
3979
- }
3980
- .input_input__MzU4N {
3971
+ /* virtual-css:css:f85c857d13f820fa4badfb09996080b9 */
3972
+ .TextField_field__YWExY {
3973
+ display: flex;
3974
+ align-items: center;
3975
+ padding: 0 var(--padding-x);
3976
+ gap: var(--gap);
3977
+ font-family: inherit;
3981
3978
  font-size: var(--font-size);
3982
3979
  color: var(--font-color);
3983
3980
  border: var(--border);
3984
3981
  border-radius: var(--border-radius);
3985
3982
  background: var(--background-color);
3986
3983
  box-shadow: var(--box-shadow);
3987
- padding: var(--padding);
3988
3984
  line-height: 1.5rem;
3989
- width: 100%;
3990
- }
3991
- .input_input__MzU4N:focus {
3992
- border-color: transparent;
3993
- outline: var(--outline);
3994
- outline-offset: -1px;
3995
- }
3996
- .input_input__MzU4N::placeholder {
3997
- color: var(--font-color-muted);
3998
- }
3999
- .input_input__MzU4N:disabled {
4000
- color: var(--font-color-muted);
4001
- }
4002
- .input_input__MzU4N::-webkit-search-cancel-button,
4003
- .input_input__MzU4N::-webkit-search-decoration {
4004
- -webkit-appearance: none;
4005
- }
4006
- .input_icon__YzA4Z {
4007
- color: var(--font-color-muted);
4008
- }
4009
- .input_icon__YzA4Z:hover {
4010
- color: var(--font-color);
4011
- cursor: pointer;
3985
+ position: relative;
3986
+ &[data-readonly] {
3987
+ background: var(--base-color-2);
3988
+ }
3989
+ &[data-disabled] {
3990
+ color: var(--font-color-muted);
3991
+ background: var(--base-color-2);
3992
+ }
3993
+ &:focus-within {
3994
+ border-color: transparent;
3995
+ outline: var(--outline);
3996
+ outline-offset: -1px;
3997
+ &[data-readonly] {
3998
+ border-color: var(--border-color);
3999
+ outline: none;
4000
+ }
4001
+ }
4012
4002
  }
4013
-
4014
- /* virtual-css:css:f85c857d13f820fa4badfb09996080b9 */
4015
- .TextField_allowCopy__Y2RhY {
4016
- padding-right: 32px;
4003
+ .TextField_field__YWExY input,
4004
+ .TextField_field__YWExY textarea {
4005
+ border: none;
4006
+ outline: none;
4007
+ padding: var(--padding-y) 0;
4008
+ background: transparent;
4009
+ flex: 1;
4010
+ &::placeholder {
4011
+ color: var(--font-color-muted);
4012
+ }
4013
+ &::-webkit-search-cancel-button,
4014
+ &::-webkit-search-decoration {
4015
+ -webkit-appearance: none;
4016
+ }
4017
4017
  }
4018
- .TextField_icon__MWVlN {
4019
- position: absolute;
4020
- top: calc(var(--padding-y) + 4px);
4021
- right: var(--padding-x);
4022
- background: none;
4018
+ .TextField_textarea__ODY3N {
4019
+ padding-right: 0;
4023
4020
  }
4024
4021
 
4025
4022
  /* virtual-css:css:603e8ab63f869366a7b9c81da6a1d757 */
@@ -4349,7 +4346,7 @@ body a.Button_button__NDYwM {
4349
4346
  }
4350
4347
 
4351
4348
  /* virtual-css:css:3130df15a3cfaee8cb812b182afb7ee1 */
4352
- .Menu_menu__ZGIxY {
4349
+ .Menu_menu__OTZkN {
4353
4350
  min-width: 200px;
4354
4351
  border: var(--border);
4355
4352
  border-radius: var(--border-radius);
@@ -4358,19 +4355,19 @@ body a.Button_button__NDYwM {
4358
4355
  background: var(--background-color);
4359
4356
  overflow: hidden;
4360
4357
  }
4361
- .Menu_separator__YjgwM {
4358
+ .Menu_separator__ZTgwZ {
4362
4359
  border-bottom: var(--border);
4363
4360
  margin: var(--spacing-2) calc(-1 * var(--spacing-3));
4364
4361
  }
4365
- .Menu_section__MmNkY:not(:last-child) {
4362
+ .Menu_section__ZDVhM:not(:last-child) {
4366
4363
  margin-bottom: var(--spacing-4);
4367
4364
  }
4368
- .Menu_header__YmQ0M {
4365
+ .Menu_header__YWE2Z {
4369
4366
  font-size: var(--font-size-2);
4370
4367
  font-weight: var(--font-weight-bold);
4371
4368
  padding: var(--padding);
4372
4369
  }
4373
- .Menu_item__NzJlM {
4370
+ .Menu_item__MTU4N {
4374
4371
  display: flex;
4375
4372
  align-items: center;
4376
4373
  gap: var(--gap);
@@ -4383,26 +4380,28 @@ body a.Button_button__NDYwM {
4383
4380
  outline: none;
4384
4381
  width: 100%;
4385
4382
  }
4386
- .Menu_item__NzJlM[data-disabled] {
4383
+ .Menu_item__MTU4N[data-disabled] {
4387
4384
  color: var(--font-color-disabled);
4388
4385
  }
4389
- .Menu_item__NzJlM[data-focus],
4390
- .Menu_item__NzJlM[data-focus-visible] {
4386
+ .Menu_item__MTU4N[data-focus],
4387
+ .Menu_item__MTU4N[data-focus-visible] {
4391
4388
  outline: var(--outline);
4392
4389
  background: var(--highlight-color);
4393
4390
  }
4394
- .Menu_item__NzJlM:hover {
4391
+ .Menu_item__MTU4N:hover {
4395
4392
  background: var(--highlight-color);
4396
4393
  }
4397
- .Menu_item__NzJlM[data-selected] {
4394
+ .Menu_item__MTU4N[data-selected] {
4398
4395
  font-weight: bold;
4396
+ & .Menu_checkmark__MTk4O {
4397
+ display: flex;
4398
+ justify-content: flex-end;
4399
+ }
4399
4400
  }
4400
- .Menu_item__NzJlM[data-selected] .Menu_check__ZDc1Z {
4401
- display: flex;
4402
- justify-content: flex-end;
4403
- flex: 1;
4401
+ .Menu_checkmark__MTk4O {
4402
+ display: none;
4404
4403
  }
4405
- .Menu_check__ZDc1Z {
4404
+ .Menu_hideCheckmark__MjEyZ .Menu_checkmark__MTk4O {
4406
4405
  display: none;
4407
4406
  }
4408
4407
 
@@ -4603,13 +4602,6 @@ body a.Button_button__NDYwM {
4603
4602
  }
4604
4603
  }
4605
4604
 
4606
- /* virtual-css:css:3547a441584a5024882cb71ab3ccf244 */
4607
- .PasswordField_icon__NTRlM {
4608
- position: absolute;
4609
- top: 12px;
4610
- right: 9px;
4611
- }
4612
-
4613
4605
  /* virtual-css:css:f94974973c639ccc39a8a6465cbebeb2 */
4614
4606
  .Popover_popover__YmFhM[data-placement=top] {
4615
4607
  --origin: translateY(8px);
@@ -4746,30 +4738,28 @@ body a.Button_button__NDYwM {
4746
4738
  background-color: var(--base-color-4);
4747
4739
  }
4748
4740
 
4749
- /* virtual-css:css:3ce2e85ef9035a94276951bdf0511402 */
4750
- .SearchField_search__MzkwY {
4751
- position: absolute;
4752
- top: 0;
4753
- left: var(--spacing-3);
4754
- bottom: 0;
4755
- height: 100%;
4756
- background: none;
4741
+ /* virtual-css:css:851dd5366a20c382ffec60997ee93e35 */
4742
+ .Select_select__OWQwZ {
4743
+ width: 100%;
4757
4744
  }
4758
- .SearchField_input__OGFiY {
4759
- padding-left: var(--spacing-7);
4760
- padding-right: var(--spacing-7);
4745
+ .Select_button__YTEzN {
4746
+ width: 100%;
4761
4747
  }
4762
- .SearchField_close__NmJkM {
4748
+ .Select_value__N2NjM {
4763
4749
  display: flex;
4764
4750
  align-items: center;
4765
- justify-content: center;
4766
- position: absolute;
4767
- top: 0;
4768
- right: var(--spacing-3);
4769
- bottom: 0;
4770
- height: 100%;
4771
- border: 0;
4772
- background: none;
4751
+ justify-content: space-between;
4752
+ width: 100%;
4753
+ }
4754
+ .Select_list__ZDFkY {
4755
+ padding: var(--spacing-2);
4756
+ background-color: var(--background-color);
4757
+ border: var(--border);
4758
+ border-radius: var(--border-radius);
4759
+ box-shadow: var(--box-shadow-3);
4760
+ }
4761
+ .Select_search__YTgyZ {
4762
+ margin-bottom: var(--spacing-2);
4773
4763
  }
4774
4764
 
4775
4765
  /* virtual-css:css:844962527a8f0e375161b58db0fc39ed */
@@ -5098,20 +5088,6 @@ body a.Button_button__NDYwM {
5098
5088
  cursor: default;
5099
5089
  }
5100
5090
 
5101
- /* virtual-css:css:884bc0b1f4a7097bca42714da27c0d2b */
5102
- .TextArea_textarea__MTk5Y {
5103
- font-family: inherit;
5104
- }
5105
- .TextArea_resize-none__OTJhY textarea {
5106
- resize: none;
5107
- }
5108
- .TextArea_resize-horizontal__YWIyZ textarea {
5109
- resize: horizontal;
5110
- }
5111
- .TextArea_resize-vertical__NTM3O textarea {
5112
- resize: vertical;
5113
- }
5114
-
5115
5091
  /* virtual-css:css:c0d584d0daeaec1be71f8a50d43bf66c */
5116
5092
  .ThemeButton_button__Zjc5N {
5117
5093
  width: 50px;