@parrot-co/parrot-ui 0.0.83 → 0.0.84

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.
Files changed (2) hide show
  1. package/package.json +2 -2
  2. package/styles.css +28 -20
package/package.json CHANGED
@@ -14,7 +14,7 @@
14
14
  "type": "git",
15
15
  "url": "https://github.com/parrothq/parrot-ui"
16
16
  },
17
- "version": "0.0.83",
17
+ "version": "0.0.84",
18
18
  "source": "src/index.ts",
19
19
  "main": "dist/main.js",
20
20
  "module": "dist/module.js",
@@ -74,7 +74,7 @@
74
74
  "browserslist": [
75
75
  "defaults"
76
76
  ],
77
- "gitHead": "aa50a804f553df9dec9552b9c2ad14faa399d03e",
77
+ "gitHead": "3310bc667704fb73248c49ae981aa5e5499dd6fa",
78
78
  "publishConfig": {
79
79
  "access": "public"
80
80
  }
package/styles.css CHANGED
@@ -3286,6 +3286,7 @@ a {
3286
3286
  flex-shrink: 0;
3287
3287
  gap: var(--space-4xs);
3288
3288
  font-weight: var(--base-button-font-weight);
3289
+ cursor: pointer;
3289
3290
  }
3290
3291
 
3291
3292
  .parrot-theme .p-button:focus {
@@ -3508,7 +3509,7 @@ a {
3508
3509
  }
3509
3510
 
3510
3511
  .p-text:where([data-text-variant="light"]) {
3511
- color: var(--color-8);
3512
+ color: var(--color-9);
3512
3513
  }
3513
3514
 
3514
3515
  .p-text:where([data-text-variant="lighter"]) {
@@ -3657,10 +3658,10 @@ a {
3657
3658
 
3658
3659
  .parrot-theme .list-box-wrapper {
3659
3660
  list-style: none;
3660
- border: 1px solid var(--gray-a3);
3661
+ border: 1px solid var(--gray-a4);
3661
3662
  border-radius: max(var(--radius-md), var(--radius-full));
3662
3663
  padding: var(--space-1) var(--space-1);
3663
- box-shadow: var(--shadow-sm);
3664
+ box-shadow: var(--shadow-md);
3664
3665
  background: white;
3665
3666
  max-height: 300px;
3666
3667
  overflow-y: scroll;
@@ -3672,18 +3673,18 @@ a {
3672
3673
  font-weight: var(--font-weight-regular);
3673
3674
  padding: var(--space-2) var(--space-2);
3674
3675
  outline: none;
3675
- border-radius: max(var(--radius-sm), var(--radius-full));
3676
+ border-radius: max(var(--radius-md), var(--radius-full));
3676
3677
  cursor: pointer;
3677
-
3678
- /* &:where([data-selected="true"]),
3679
- &[data-selected="true"] {
3680
- background: var(--gray-3);
3681
- color: var(--gray-12);
3682
- } */
3678
+ display: flex;
3679
+ align-items: center;
3680
+ justify-content: space-between;
3683
3681
  }
3684
3682
 
3685
- .parrot-theme .list-option:where([data-pressed="true"]),
3686
- .parrot-theme .list-option[data-pressed="true"] {
3683
+ .parrot-theme .list-option .selected-marker {
3684
+ color: var(--color-12);
3685
+ }
3686
+
3687
+ .parrot-theme .list-option[data-pressed="true"] {
3687
3688
  background: var(--gray-4);
3688
3689
  }
3689
3690
 
@@ -3692,11 +3693,9 @@ a {
3692
3693
  }
3693
3694
 
3694
3695
  .parrot-theme .list-option:where([data-focus-visible="true"]),
3695
- .parrot-theme .list-option[data-focus-visible="true"],
3696
- .parrot-theme .list-option:where([data-focused="true"]),
3697
- .parrot-theme .list-option[data-focused="true"] {
3698
- background: var(--gray-3);
3699
- color: var(--gray-12);
3696
+ .parrot-theme .list-option:where([data-focused="true"]) {
3697
+ background: var(--color-3);
3698
+ color: var(--color-12);
3700
3699
  }
3701
3700
 
3702
3701
  .parrot-theme .list-separator {
@@ -3704,6 +3703,15 @@ a {
3704
3703
  background: var(--gray-3);
3705
3704
  }
3706
3705
 
3706
+ .parrot-theme .list-section:not(:last-of-type) {
3707
+ margin-bottom: var(--space-2);
3708
+ }
3709
+
3710
+ .parrot-theme .list-section-header {
3711
+ padding: 0 var(--space-2);
3712
+ margin-bottom: var(--space-2);
3713
+ }
3714
+
3707
3715
  .parrot-theme .p-select {
3708
3716
  padding: 8px;
3709
3717
  display: flex;
@@ -3779,9 +3787,9 @@ a {
3779
3787
  box-shadow: var(--focus-ring);
3780
3788
  }
3781
3789
 
3782
- .parrot-theme .fake-checkbox:where([data-indeterminate="true"]) {
3783
- background-color: var(--gray-4);
3784
- border-color: transparent;
3790
+ .parrot-theme .fake-checkbox[data-indeterminate="true"] {
3791
+ /* background-color: var(--gray-4);
3792
+ border-color: transparent; */
3785
3793
  }
3786
3794
 
3787
3795
  .parrot-theme .fake-checkbox:where([data-appearance="outline"]) {