@lax-wp/design-system 0.8.28 → 0.8.29

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.es.js CHANGED
@@ -2647,8 +2647,8 @@ const kd = () => {
2647
2647
  }, D = {
2648
2648
  control: (N, M) => ({
2649
2649
  ...N,
2650
- borderColor: t && c ? v ? "#F04438" : "#fda49b" : M.isFocused ? "var(--color-primary-600)" : v ? "#404040" : "#d9d9d9",
2651
- backgroundColor: v ? "rgb(38 38 38)" : M.isDisabled ? "#f5f5f5" : "#fff",
2650
+ borderColor: t && c ? v ? "#F04438" : "#fda49b" : M.isFocused ? "var(--color-primary-600)" : v ? "#434343" : "#d9d9d9",
2651
+ backgroundColor: v ? "#141414" : M.isDisabled ? "#f5f5f5" : "#fff",
2652
2652
  borderRadius: "6px",
2653
2653
  minHeight: "32px",
2654
2654
  fontSize: "14px",
@@ -2669,7 +2669,7 @@ const kd = () => {
2669
2669
  ...N,
2670
2670
  margin: "0",
2671
2671
  padding: "0",
2672
- color: v ? "rgb(229 229 229)" : "inherit"
2672
+ color: v ? "rgba(255,255,255,0.85)" : "inherit"
2673
2673
  }),
2674
2674
  indicatorsContainer: (N) => ({
2675
2675
  ...N,
@@ -2680,22 +2680,23 @@ const kd = () => {
2680
2680
  fontSize: "14px",
2681
2681
  lineHeight: "22px",
2682
2682
  padding: "5px 12px",
2683
- backgroundColor: M.isSelected ? v ? "#262626" : "#e6f4ff" : M.isFocused ? v ? "#404040" : "#f5f5f5" : v ? "#0a0a0a" : "#fff",
2684
- color: M.isDisabled ? v ? "#737373" : "#a3a3a3" : v ? "#e5e5e5" : "rgba(0,0,0,0.88)",
2683
+ margin: 0,
2684
+ backgroundColor: M.isSelected ? v ? "#111b26" : "#e6f4ff" : M.isFocused ? v ? "rgba(255,255,255,0.08)" : "#f5f5f5" : v ? "#141414" : "#fff",
2685
+ color: M.isDisabled ? v ? "rgba(255,255,255,0.25)" : "#a3a3a3" : v ? M.isSelected ? "var(--color-primary-600)" : "rgba(255,255,255,0.85)" : "rgba(0,0,0,0.88)",
2685
2686
  cursor: M.isDisabled ? "not-allowed" : "pointer",
2686
2687
  opacity: M.isDisabled ? 0.6 : 1,
2687
2688
  "&:hover": {
2688
- backgroundColor: M.isDisabled ? v ? "#262626" : "#fff" : v ? "#404040" : "#f5f5f5"
2689
+ backgroundColor: M.isDisabled ? v ? "#141414" : "#fff" : v ? "rgba(255,255,255,0.08)" : "#f5f5f5"
2689
2690
  },
2690
2691
  "&:active": {
2691
- backgroundColor: v ? "#404040" : "#e6f4ff"
2692
+ backgroundColor: v ? "rgba(255,255,255,0.08)" : "#e6f4ff"
2692
2693
  }
2693
2694
  }),
2694
2695
  singleValue: (N, M) => ({
2695
2696
  ...N,
2696
2697
  fontSize: "14px",
2697
2698
  lineHeight: "20px",
2698
- color: M.isDisabled ? v ? "#737373" : "#a3a3a3" : v ? "#e5e5e5" : "rgba(0,0,0,0.88)"
2699
+ color: M.isDisabled ? v ? "rgba(255,255,255,0.25)" : "#a3a3a3" : v ? "rgba(255,255,255,0.85)" : "rgba(0,0,0,0.88)"
2699
2700
  }),
2700
2701
  placeholder: (N) => ({
2701
2702
  ...N,
@@ -2703,24 +2704,24 @@ const kd = () => {
2703
2704
  whiteSpace: "nowrap",
2704
2705
  textOverflow: "ellipsis",
2705
2706
  overflow: "hidden",
2706
- color: v ? "#525252" : "#bfbfbf"
2707
+ color: v ? "rgba(255,255,255,0.25)" : "#bfbfbf"
2707
2708
  }),
2708
2709
  multiValue: (N) => ({
2709
2710
  ...N,
2710
- backgroundColor: v ? "#262626" : "#f0f5ff",
2711
- border: v ? "1px solid #404040" : "1px solid #adc6ff",
2711
+ backgroundColor: v ? "rgba(255,255,255,0.08)" : "#f0f5ff",
2712
+ border: v ? "1px solid transparent" : "1px solid #adc6ff",
2712
2713
  borderRadius: "4px"
2713
2714
  }),
2714
2715
  multiValueLabel: (N) => ({
2715
2716
  ...N,
2716
- color: v ? "#e5e5e5" : "var(--color-primary-600)",
2717
+ color: v ? "rgba(255,255,255,0.85)" : "var(--color-primary-600)",
2717
2718
  fontSize: "12px"
2718
2719
  }),
2719
2720
  multiValueRemove: (N) => ({
2720
2721
  ...N,
2721
- color: v ? "#e5e5e5" : "var(--color-primary-600)",
2722
+ color: v ? "rgba(255,255,255,0.85)" : "var(--color-primary-600)",
2722
2723
  "&:hover": {
2723
- backgroundColor: v ? "#404040" : "#e6f4ff",
2724
+ backgroundColor: v ? "rgba(255,255,255,0.16)" : "#e6f4ff",
2724
2725
  color: v ? "#fff" : "var(--color-primary-600)"
2725
2726
  }
2726
2727
  }),
@@ -2728,14 +2729,14 @@ const kd = () => {
2728
2729
  ...N,
2729
2730
  zIndex: 5001,
2730
2731
  borderRadius: "8px",
2731
- boxShadow: v ? "0 6px 16px 0 rgba(0,0,0,0.32)" : "0 6px 16px 0 rgba(0,0,0,0.08), 0 3px 6px -4px rgba(0,0,0,0.12), 0 9px 28px 8px rgba(0,0,0,0.05)",
2732
- backgroundColor: v ? "#0a0a0a" : "#fff",
2733
- border: v ? "1px solid #404040" : "none",
2732
+ boxShadow: v ? "0 6px 16px 0 rgba(0,0,0,0.45)" : "0 6px 16px 0 rgba(0,0,0,0.08), 0 3px 6px -4px rgba(0,0,0,0.12), 0 9px 28px 8px rgba(0,0,0,0.05)",
2733
+ backgroundColor: v ? "#141414" : "#fff",
2734
+ border: v ? "1px solid #303030" : "none",
2734
2735
  overflow: "hidden"
2735
2736
  }),
2736
2737
  menuList: (N) => ({
2737
2738
  ...N,
2738
- padding: "4px",
2739
+ padding: "0",
2739
2740
  maxHeight: "256px"
2740
2741
  })
2741
2742
  }, C = !!o?.length, H = y && !a && (i ? C || !!d : !1), Q = (N) => {