impact-nova 3.0.0-alpha.14 → 3.0.0-alpha.16

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.
@@ -1,5 +1,5 @@
1
1
  import { cva as e } from "class-variance-authority";
2
- const r = "border-stroke-subtle p-3 hover:border-stroke-field hover:bg-accent", a = "border-brand border-l-[3px] border-l-brand bg-brand-tint py-3 pr-3 pl-2.5 shadow-elevation-header hover:bg-brand-tint", o = e(
2
+ const r = "border-stroke-subtle p-3 hover:border-stroke-field hover:bg-accent", a = "border-brand border-l-[3px] border-l-brand bg-brand-tint py-3 pr-3 pl-2.5 shadow-elevation-header hover:bg-brand-tint", d = "border-stroke-field border-l-[3px] border-l-stroke-field bg-canvas-muted py-3 pr-3 pl-2.5 shadow-none", o = e(
3
3
  [
4
4
  "group relative cursor-pointer select-none transition-[border-color,background-color,box-shadow] duration-150",
5
5
  "has-[[data-slot=choice-card-control]:focus-visible]:outline-none has-[[data-slot=choice-card-control]:focus-visible]:ring-1 has-[[data-slot=choice-card-control]:focus-visible]:ring-focus-ring"
@@ -48,9 +48,16 @@ const r = "border-stroke-subtle p-3 hover:border-stroke-field hover:bg-accent",
48
48
  },
49
49
  {
50
50
  variant: "default",
51
+ selected: !1,
51
52
  disabled: !0,
52
53
  class: "border-stroke-subtle bg-canvas-muted p-3"
53
54
  },
55
+ {
56
+ variant: "default",
57
+ selected: !0,
58
+ disabled: !0,
59
+ class: d
60
+ },
54
61
  {
55
62
  variant: "featured",
56
63
  selected: !1,
@@ -65,9 +72,16 @@ const r = "border-stroke-subtle p-3 hover:border-stroke-field hover:bg-accent",
65
72
  },
66
73
  {
67
74
  variant: "featured",
75
+ selected: !1,
68
76
  disabled: !0,
69
77
  class: "border border-stroke-subtle border-b-[3px] border-b-stroke-subtle bg-canvas-muted"
70
78
  },
79
+ {
80
+ variant: "featured",
81
+ selected: !0,
82
+ disabled: !0,
83
+ class: "border border-stroke-field border-b-[3px] border-b-stroke-field bg-canvas-muted"
84
+ },
71
85
  {
72
86
  variant: "compare",
73
87
  selected: !1,
@@ -82,8 +96,15 @@ const r = "border-stroke-subtle p-3 hover:border-stroke-field hover:bg-accent",
82
96
  },
83
97
  {
84
98
  variant: "compare",
99
+ selected: !1,
85
100
  disabled: !0,
86
101
  class: "border-stroke-subtle bg-canvas-muted"
102
+ },
103
+ {
104
+ variant: "compare",
105
+ selected: !0,
106
+ disabled: !0,
107
+ class: "border-stroke-field bg-canvas-muted shadow-none"
87
108
  }
88
109
  ],
89
110
  defaultVariants: {
@@ -1,9 +1,8 @@
1
1
  import { jsx as r } from "react/jsx-runtime";
2
2
  import { cn as x } from "../../../../lib/utils.js";
3
- import "react";
4
3
  import { OverflowTooltip as m } from "../../../feedback/tooltip/overflow-tooltip.js";
5
4
  import { isInvertedSelection as h, isOptionArray as d } from "../utils/select.js";
6
- function C({
5
+ function w({
7
6
  isMulti: u,
8
7
  isDisabled: p,
9
8
  internalValue: o,
@@ -53,5 +52,5 @@ function C({
53
52
  );
54
53
  }
55
54
  export {
56
- C as SelectTriggerValue
55
+ w as SelectTriggerValue
57
56
  };
@@ -1,14 +1,13 @@
1
1
  import { jsxs as s, jsx as t } from "react/jsx-runtime";
2
2
  import * as i from "@radix-ui/react-popover";
3
3
  import { Checkbox as P } from "../../checkbox/checkbox.js";
4
- import "react";
5
4
  import { OverflowTooltip as y } from "../../../feedback/tooltip/overflow-tooltip.js";
6
5
  import { ChevronRight as A, Checkmark as O } from "impact-nova-icons";
7
6
  import { cn as v } from "../../../../lib/utils.js";
8
7
  import { useOverlayPortalContainer as T } from "../../../../lib/overlay/overlay-portal-context.js";
9
8
  import { OVERLAY_NESTED_FLOATING_INSTANT_HIDE_CLASS as _ } from "../../../../lib/overlay/overlay-host.constants.js";
10
9
  import { useSuppressOptionClickForTextSelection as E } from "../hooks/useSuppressOptionClickForTextSelection.js";
11
- const R = ({
10
+ const G = ({
12
11
  parentOption: n,
13
12
  isMulti: u,
14
13
  isReadOnly: l,
@@ -106,5 +105,5 @@ const R = ({
106
105
  ] });
107
106
  };
108
107
  export {
109
- R as Submenu
108
+ G as Submenu
110
109
  };