@jonmilner/ui 0.13.2 → 0.14.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.
Files changed (43) hide show
  1. package/dist/ColorField/client.d.mts +1 -1
  2. package/dist/Combobox/Combobox.css +1 -1
  3. package/dist/Combobox/Combobox.css.mjs +7 -7
  4. package/dist/Combobox/index.d.mts +2 -1
  5. package/dist/Combobox/index.mjs +42 -39
  6. package/dist/MultiSelect/MultiSelect.css +1 -1
  7. package/dist/MultiSelect/MultiSelect.css.mjs +2 -2
  8. package/dist/MultiSelect/index.d.mts +2 -1
  9. package/dist/MultiSelect/index.mjs +35 -32
  10. package/dist/RadioGroup/RadioGroup.css +1 -1
  11. package/dist/RadioGroup/RadioGroup.css.mjs +6 -6
  12. package/dist/RadioGroup/index.d.mts +2 -1
  13. package/dist/RadioGroup/index.mjs +57 -56
  14. package/dist/Select/Select.css +1 -1
  15. package/dist/Select/Select.css.mjs +2 -2
  16. package/dist/Select/index.d.mts +2 -1
  17. package/dist/Select/index.mjs +34 -31
  18. package/dist/TextField/index.d.mts +1 -1
  19. package/dist/base.css +1 -1
  20. package/dist/brands/default.mjs +55 -61
  21. package/dist/brands/forced-colors.mjs +3 -0
  22. package/dist/brands/neutral.mjs +40 -0
  23. package/dist/contrast/contrast.d.mts +1 -0
  24. package/dist/contrast/contrast.mjs +43 -34
  25. package/dist/docs/ColorField.md +1 -1
  26. package/dist/docs/Combobox.md +3 -1
  27. package/dist/docs/MultiSelect.md +3 -1
  28. package/dist/docs/RadioGroup.md +2 -1
  29. package/dist/docs/Select.md +3 -1
  30. package/dist/docs/TextField.md +1 -1
  31. package/dist/docs/Textarea.md +1 -1
  32. package/dist/docs/manifest.json +28 -2
  33. package/dist/docs/migrations/0.14.0.md +72 -0
  34. package/dist/docs/theming.md +6 -2
  35. package/dist/popup/listbox-base.mjs +2 -1
  36. package/dist/styles/atoms.css +1 -1
  37. package/dist/styles/atoms.css.d.mts +1 -1
  38. package/dist/styles/atoms.css.mjs +58 -55
  39. package/dist/theme/define-theme.mjs +27 -25
  40. package/dist/tokens/contract.d.mts +1 -1
  41. package/dist/tokens/roles.d.mts +1 -1
  42. package/dist/tokens/roles.mjs +6 -2
  43. package/package.json +1 -1
@@ -2,4 +2,4 @@ import { SearchFieldInputProps } from "../SearchField/client.mjs";
2
2
  import "../SearchField/index.mjs";
3
3
  import "./index.mjs";
4
4
  import { ComponentPropsWithRef } from "react";
5
- export type ColorFieldInputProps = Pick<ComponentPropsWithRef<"input">, keyof SearchFieldInputProps | "aria-placeholder">;
5
+ export type ColorFieldInputProps = Pick<ComponentPropsWithRef<"input">, keyof SearchFieldInputProps>;
@@ -1,2 +1,2 @@
1
1
  @layer tokens, reset, atoms.base, atoms.sm, atoms.med, atoms.lg, atoms.xl, components.box, components.checkbox, components.clickable, components.icon, components.icon-button, components.inline, components.sidebar, components.sidebar-layout, components.stack, components.text, components.avatar, components.badge, components.button, components.chip, components.field, components.color-field, components.combobox, components.heading, components.dialog, components.alert-dialog, components.menu, components.multiselect, components.nav-list, components.radio-group, components.search-field, components.select, components.switch, components.tabs, components.tag, components.text-field, components.textarea, components.toast, components.tooltip, components.visually-hidden, components.table;
2
- @layer components.combobox{.y6b2yi0{--_5qoq940:transparent;text-align:start;border-color:var(--color-border-strong);justify-content:stretch}:where(.y6b2yi0) ._1gwwloa0{flex:auto;justify-items:stretch;min-inline-size:0}:where(.y6b2yi0) ._1gwwloa1{min-inline-size:0}:where(.y6b2yi0) ._1gwwloa2{text-transform:none;min-inline-size:0;font-weight:var(--font-weight-medium);flex:auto}.y6b2yi1{min-inline-size:0;display:block}.y6b2yi1[data-placeholder]{color:var(--color-fg-muted)}.y6b2yi2{min-inline-size:0;display:grid}.y6b2yi3{grid-area:1/1}.y6b2yi3[aria-hidden=true]{visibility:hidden}.y6b2yi4{grid-area:1/1}.y6b2yi5{border:var(--space-1) solid var(--color-border);min-inline-size:var(--anchor-width);max-block-size:var(--available-height);transform-origin:var(--transform-origin);transition:opacity var(--duration-fast) var(--easing-standard), scale var(--duration-fast) var(--easing-enter);gap:var(--space-4);flex-direction:column;display:flex;overflow:hidden}.y6b2yi5:focus-visible{outline:var(--space-2) solid var(--color-focus);outline-offset:var(--space-2)}.y6b2yi5[data-starting-style],.y6b2yi5[data-ending-style]{opacity:0;scale:calc(1 - var(--scale-med))}.y6b2yi6{appearance:none;border-width:var(--space-1);border-style:solid;border-color:var(--color-border-strong);border-radius:var(--radius-med);background-color:var(--color-bg);inline-size:100%;min-inline-size:0;color:var(--color-fg);padding-block:0}.y6b2yi6::placeholder{color:var(--color-fg-muted);opacity:1}.y6b2yi6:focus-visible{outline:var(--space-2) solid var(--color-focus);outline-offset:var(--space-2)}.y6b2yi6:disabled{background-color:var(--color-bg-muted);color:var(--color-fg-muted);cursor:not-allowed;border-style:dashed}.y6b2yi6[aria-invalid=true]{border-color:var(--color-danger)}.y6b2yi7{block-size:var(--size-xs);padding-inline:var(--space-6)}.y6b2yi8{block-size:var(--size-sm);padding-inline:var(--space-8)}.y6b2yi9{block-size:var(--size-med);padding-inline:var(--space-12)}.y6b2yia:empty{position:absolute}.y6b2yia:not(:empty){padding-block:var(--space-8);padding-inline:var(--space-12)}.y6b2yib{min-block-size:0;overflow-y:auto}.y6b2yic{cursor:pointer;touch-action:manipulation;-webkit-tap-highlight-color:transparent;-webkit-user-select:none;user-select:none}.y6b2yic:focus-visible{outline:var(--space-2) solid var(--color-focus);outline-offset:calc(-1 * var(--space-2))}.y6b2yic[data-highlighted]{background-color:light-dark(var(--color-bg-muted),color-mix(in srgb, var(--color-fg) 10%, var(--color-bg-raised)))}.y6b2yic[aria-disabled=true]{color:var(--color-fg-muted);cursor:not-allowed}.y6b2yid{visibility:hidden;flex-shrink:0}.y6b2yic[aria-selected=true] .y6b2yid{visibility:visible}@media (pointer:coarse){.y6b2yi6{font-size:var(--font-size-med)}}@media (forced-colors:active){.y6b2yi0[aria-disabled=true]{border-color:graytext}.y6b2yi6:disabled{color:graytext;border-color:graytext}.y6b2yic[data-highlighted]{forced-color-adjust:none;color:highlighttext;background-color:highlight}.y6b2yic[data-highlighted]:focus-visible{color:canvastext;background-color:canvas}.y6b2yic[aria-disabled=true]{color:graytext}}}
2
+ @layer components.combobox{.y6b2yi0{clip-path:inset(50%);white-space:nowrap;border:0;block-size:1px;inline-size:1px;margin:0;padding:0;position:absolute;overflow:hidden}.y6b2yi1{--_5qoq940:transparent;text-align:start;border-color:var(--color-border-strong);justify-content:stretch}:where(.y6b2yi1) ._1gwwloa0{flex:auto;justify-items:stretch;min-inline-size:0}:where(.y6b2yi1) ._1gwwloa1{min-inline-size:0}:where(.y6b2yi1) ._1gwwloa2{text-transform:none;min-inline-size:0;font-weight:var(--font-weight-medium);flex:auto}.y6b2yi2{min-inline-size:0;display:block}.y6b2yi2[data-placeholder]{color:var(--color-fg-muted)}.y6b2yi3{min-inline-size:0;display:grid}.y6b2yi4{grid-area:1/1}.y6b2yi4[aria-hidden=true]{visibility:hidden}.y6b2yi5{grid-area:1/1}.y6b2yi6{border:var(--space-1) solid var(--color-border);min-inline-size:var(--anchor-width);max-block-size:var(--available-height);transform-origin:var(--transform-origin);transition:opacity var(--duration-fast) var(--easing-standard), scale var(--duration-fast) var(--easing-enter);gap:var(--space-4);flex-direction:column;display:flex;overflow:hidden}.y6b2yi6:focus-visible{outline:var(--space-2) solid var(--color-focus);outline-offset:var(--space-2)}.y6b2yi6[data-starting-style],.y6b2yi6[data-ending-style]{opacity:0;scale:calc(1 - var(--scale-med))}.y6b2yi7{appearance:none;border-width:var(--space-1);border-style:solid;border-color:var(--color-border-strong);border-radius:var(--radius-med);background-color:var(--color-bg);inline-size:100%;min-inline-size:0;color:var(--color-fg);padding-block:0}.y6b2yi7::placeholder{color:var(--color-fg-muted);opacity:1}.y6b2yi7:focus-visible{outline:var(--space-2) solid var(--color-focus);outline-offset:var(--space-2)}.y6b2yi7:disabled{background-color:var(--color-bg-muted);color:var(--color-fg-muted);cursor:not-allowed;border-style:dashed}.y6b2yi7[aria-invalid=true]{border-color:var(--color-danger)}.y6b2yi8{block-size:var(--size-xs);padding-inline:var(--space-6)}.y6b2yi9{block-size:var(--size-sm);padding-inline:var(--space-8)}.y6b2yia{block-size:var(--size-med);padding-inline:var(--space-12)}.y6b2yib:empty{position:absolute}.y6b2yib:not(:empty){padding-block:var(--space-8);padding-inline:var(--space-12)}.y6b2yic{min-block-size:0;overflow-y:auto}.y6b2yid{cursor:pointer;touch-action:manipulation;-webkit-tap-highlight-color:transparent;-webkit-user-select:none;user-select:none}.y6b2yid:focus-visible{outline:var(--space-2) solid var(--color-focus);outline-offset:calc(-1 * var(--space-2))}.y6b2yid[data-highlighted]{background-color:light-dark(var(--color-bg-muted),color-mix(in srgb, var(--color-fg) 10%, var(--color-bg-raised)))}.y6b2yid[aria-disabled=true]{color:var(--color-fg-muted);cursor:not-allowed}.y6b2yie{visibility:hidden;flex-shrink:0}.y6b2yid[aria-selected=true] .y6b2yie{visibility:visible}@media (pointer:coarse){.y6b2yi7{font-size:var(--font-size-med)}}@media (forced-colors:active){.y6b2yi1[aria-disabled=true]{border-color:graytext}.y6b2yi7:disabled{color:graytext;border-color:graytext}.y6b2yid[data-highlighted]{forced-color-adjust:none;color:highlighttext;background-color:highlight}.y6b2yid[data-highlighted]:focus-visible{color:canvastext;background-color:canvas}.y6b2yid[aria-disabled=true]{color:graytext}}}
@@ -4,14 +4,14 @@ import "./Combobox.css";
4
4
  /* empty css */
5
5
  import { createRuntimeFn as e } from "@vanilla-extract/recipes/createRuntimeFn";
6
6
  // src/Combobox/Combobox.css.ts
7
- var t = "y6b2yi0", n = "y6b2yi1", r = "y6b2yi2", i = "y6b2yi3", a = "y6b2yi4", o = "y6b2yi5", s = e({
8
- defaultClassName: "y6b2yi6",
7
+ var t = "y6b2yi0", n = "y6b2yi1", r = "y6b2yi2", i = "y6b2yi3", a = "y6b2yi4", o = "y6b2yi5", s = "y6b2yi6", c = e({
8
+ defaultClassName: "y6b2yi7",
9
9
  variantClassNames: { size: {
10
- sm: "y6b2yi7",
11
- med: "y6b2yi8",
12
- lg: "y6b2yi9"
10
+ sm: "y6b2yi8",
11
+ med: "y6b2yi9",
12
+ lg: "y6b2yia"
13
13
  } },
14
14
  defaultVariants: {},
15
15
  compoundVariants: []
16
- }), c = "y6b2yia", l = "y6b2yib", u = "y6b2yic", d = "y6b2yid";
17
- export { d as check, a as count, c as empty, s as input, u as item, i as labels, l as list, o as popup, r as summary, t as trigger, n as value };
16
+ }), l = "y6b2yib", u = "y6b2yic", d = "y6b2yid", f = "y6b2yie";
17
+ export { f as check, o as count, l as empty, t as hiddenLabel, c as input, d as item, a as labels, u as list, s as popup, i as summary, n as trigger, r as value };
@@ -21,6 +21,7 @@ export type ComboboxProps = StyleProps & ComboboxValueProps & {
21
21
  emptyLabel?: string;
22
22
  error?: ReactNode;
23
23
  filterLabel?: string;
24
+ hideLabel?: boolean;
24
25
  label: ReactNode;
25
26
  name?: string;
26
27
  options: readonly ComboboxOption[];
@@ -29,5 +30,5 @@ export type ComboboxProps = StyleProps & ComboboxValueProps & {
29
30
  size?: "sm" | "med" | "lg";
30
31
  style?: CSSProperties;
31
32
  };
32
- export declare function Combobox({ options, multiple, value, defaultValue, onValueChange, label, description, error, placeholder, filterLabel, emptyLabel, countLabel, disabled, required, size, name, className, style, ...atoms }: ComboboxProps): import("react").JSX.Element;
33
+ export declare function Combobox({ options, multiple, value, defaultValue, onValueChange, label, hideLabel, description, error, placeholder, filterLabel, emptyLabel, countLabel, disabled, required, size, name, className, style, ...atoms }: ComboboxProps): import("react").JSX.Element;
33
34
  export {};
@@ -2,61 +2,64 @@ import { controlText as e } from "../styles/control-size.mjs";
2
2
  import { Text as t } from "../Text/index.mjs";
3
3
  import { Field as n } from "../Field/index.mjs";
4
4
  import { ListboxLabel as r, ListboxScope as i } from "../popup/listbox-base.mjs";
5
- import { empty as a, input as o } from "./Combobox.css.mjs";
6
- import { ComboboxList as s, ComboboxPopup as c, ComboboxPortal as l, ComboboxPositioner as u, ComboboxRoot as d, ComboboxTrigger as f } from "./client.mjs";
7
- import { jsx as p, jsxs as m } from "react/jsx-runtime";
8
- import { Combobox as h } from "@base-ui/react/combobox";
5
+ import { empty as a, hiddenLabel as o, input as s } from "./Combobox.css.mjs";
6
+ import { ComboboxList as c, ComboboxPopup as l, ComboboxPortal as u, ComboboxPositioner as d, ComboboxRoot as f, ComboboxTrigger as p } from "./client.mjs";
7
+ import { jsx as m, jsxs as h } from "react/jsx-runtime";
8
+ import { Combobox as g } from "@base-ui/react/combobox";
9
9
  // src/Combobox/index.tsx
10
- function g({ options: g, multiple: _ = !1, value: v, defaultValue: y, onValueChange: b, label: x, description: S, error: C, placeholder: w = "Select", filterLabel: T = "Filter", emptyLabel: E = "No matches", countLabel: D = "{count} selected", disabled: O = !1, required: k = !1, size: A = "med", name: j, className: M, style: N, ...P }) {
11
- return /* @__PURE__ */ m(n, {
12
- ...P,
13
- className: M,
14
- disabled: O,
15
- invalid: C != null && C !== !1 && C !== "",
16
- style: N,
10
+ function _({ options: _, multiple: v = !1, value: y, defaultValue: b, onValueChange: x, label: S, hideLabel: C = !1, description: w, error: T, placeholder: E = "Select", filterLabel: D = "Filter", emptyLabel: O = "No matches", countLabel: k = "{count} selected", disabled: A = !1, required: j = !1, size: M = "med", name: N, className: P, style: F, ...I }) {
11
+ return /* @__PURE__ */ h(n, {
12
+ ...I,
13
+ className: P,
14
+ disabled: A,
15
+ invalid: T != null && T !== !1 && T !== "",
16
+ style: F,
17
17
  children: [
18
- /* @__PURE__ */ p(i, { children: /* @__PURE__ */ m(d, {
19
- defaultValue: y,
20
- disabled: O,
21
- multiple: _,
22
- name: j,
23
- onValueChange: b,
24
- options: g,
25
- required: k,
26
- value: v,
18
+ /* @__PURE__ */ m(i, { children: /* @__PURE__ */ h(f, {
19
+ defaultValue: b,
20
+ disabled: A,
21
+ multiple: v,
22
+ name: N,
23
+ onValueChange: x,
24
+ options: _,
25
+ required: j,
26
+ value: y,
27
27
  children: [
28
- /* @__PURE__ */ p(r, { children: x }),
29
- /* @__PURE__ */ p(f, {
30
- countLabel: D,
31
- disabled: O,
32
- placeholder: w,
33
- size: A
28
+ /* @__PURE__ */ m(r, {
29
+ className: C ? o : void 0,
30
+ children: S
34
31
  }),
35
- /* @__PURE__ */ p(l, { children: /* @__PURE__ */ p(u, { children: /* @__PURE__ */ m(c, { children: [
36
- /* @__PURE__ */ p(h.Input, {
37
- "aria-label": T,
32
+ /* @__PURE__ */ m(p, {
33
+ countLabel: k,
34
+ disabled: A,
35
+ placeholder: E,
36
+ size: M
37
+ }),
38
+ /* @__PURE__ */ m(u, { children: /* @__PURE__ */ m(d, { children: /* @__PURE__ */ h(l, { children: [
39
+ /* @__PURE__ */ m(g.Input, {
40
+ "aria-label": D,
38
41
  "aria-labelledby": void 0,
39
- render: /* @__PURE__ */ p(t, {
42
+ render: /* @__PURE__ */ m(t, {
40
43
  as: "input",
41
- className: o({ size: A }),
42
- size: e[A]
44
+ className: s({ size: M }),
45
+ size: e[M]
43
46
  })
44
47
  }),
45
- /* @__PURE__ */ p(h.Empty, {
46
- render: /* @__PURE__ */ p(t, {
48
+ /* @__PURE__ */ m(g.Empty, {
49
+ render: /* @__PURE__ */ m(t, {
47
50
  className: a,
48
51
  color: "fgMuted",
49
52
  size: "sm"
50
53
  }),
51
- children: E
54
+ children: O
52
55
  }),
53
- /* @__PURE__ */ p(s, {})
56
+ /* @__PURE__ */ m(c, {})
54
57
  ] }) }) })
55
58
  ]
56
59
  }) }),
57
- S != null && /* @__PURE__ */ p(n.Description, { children: S }),
58
- /* @__PURE__ */ p(n.Error, { children: C })
60
+ w != null && /* @__PURE__ */ m(n.Description, { children: w }),
61
+ /* @__PURE__ */ m(n.Error, { children: T })
59
62
  ]
60
63
  });
61
64
  }
62
- export { g as Combobox };
65
+ export { _ as Combobox };
@@ -1,2 +1,2 @@
1
1
  @layer tokens, reset, atoms.base, atoms.sm, atoms.med, atoms.lg, atoms.xl, components.box, components.checkbox, components.clickable, components.icon, components.icon-button, components.inline, components.sidebar, components.sidebar-layout, components.stack, components.text, components.avatar, components.badge, components.button, components.chip, components.field, components.color-field, components.combobox, components.heading, components.dialog, components.alert-dialog, components.menu, components.multiselect, components.nav-list, components.radio-group, components.search-field, components.select, components.switch, components.tabs, components.tag, components.text-field, components.textarea, components.toast, components.tooltip, components.visually-hidden, components.table;
2
- @layer components.multiselect{._1seauxl0{--_5qoq940:transparent;text-align:start;border-color:var(--color-border-strong);justify-content:stretch}:where(._1seauxl0) ._1gwwloa0{flex:auto;justify-items:stretch;min-inline-size:0}:where(._1seauxl0) ._1gwwloa1{min-inline-size:0}:where(._1seauxl0) ._1gwwloa2{text-transform:none;min-inline-size:0;font-weight:var(--font-weight-medium);flex:auto}._1seauxl1{min-inline-size:0;display:block}._1seauxl1[data-placeholder]{color:var(--color-fg-muted)}._1seauxl2{min-inline-size:0;display:grid}._1seauxl3{grid-area:1/1}._1seauxl3[aria-hidden=true]{visibility:hidden}._1seauxl4{grid-area:1/1}._1seauxl5{border:var(--space-1) solid var(--color-border);min-inline-size:var(--anchor-width);max-block-size:var(--available-height);transform-origin:var(--transform-origin);transition:opacity var(--duration-fast) var(--easing-standard), scale var(--duration-fast) var(--easing-enter);overflow-y:auto}._1seauxl5:focus-visible{outline:var(--space-2) solid var(--color-focus);outline-offset:var(--space-2)}._1seauxl5[data-starting-style],._1seauxl5[data-ending-style]{opacity:0;scale:calc(1 - var(--scale-med))}._1seauxl6{cursor:pointer;touch-action:manipulation;-webkit-tap-highlight-color:transparent;-webkit-user-select:none;user-select:none}._1seauxl6:focus-visible{outline:var(--space-2) solid var(--color-focus);outline-offset:calc(-1 * var(--space-2))}._1seauxl6[data-highlighted]{background-color:light-dark(var(--color-bg-muted),color-mix(in srgb, var(--color-fg) 10%, var(--color-bg-raised)))}._1seauxl6[aria-disabled=true]{color:var(--color-fg-muted);cursor:not-allowed}._1seauxl7{visibility:hidden;flex-shrink:0}._1seauxl6[aria-selected=true] ._1seauxl7{visibility:visible}@media (forced-colors:active){._1seauxl0[aria-disabled=true]{border-color:graytext}._1seauxl6[data-highlighted]{forced-color-adjust:none;color:highlighttext;background-color:highlight}._1seauxl6[data-highlighted]:focus-visible{color:canvastext;background-color:canvas}._1seauxl6[aria-disabled=true]{color:graytext}}}
2
+ @layer components.multiselect{._1seauxl0{clip-path:inset(50%);white-space:nowrap;border:0;block-size:1px;inline-size:1px;margin:0;padding:0;position:absolute;overflow:hidden}._1seauxl1{--_5qoq940:transparent;text-align:start;border-color:var(--color-border-strong);justify-content:stretch}:where(._1seauxl1) ._1gwwloa0{flex:auto;justify-items:stretch;min-inline-size:0}:where(._1seauxl1) ._1gwwloa1{min-inline-size:0}:where(._1seauxl1) ._1gwwloa2{text-transform:none;min-inline-size:0;font-weight:var(--font-weight-medium);flex:auto}._1seauxl2{min-inline-size:0;display:block}._1seauxl2[data-placeholder]{color:var(--color-fg-muted)}._1seauxl3{min-inline-size:0;display:grid}._1seauxl4{grid-area:1/1}._1seauxl4[aria-hidden=true]{visibility:hidden}._1seauxl5{grid-area:1/1}._1seauxl6{border:var(--space-1) solid var(--color-border);min-inline-size:var(--anchor-width);max-block-size:var(--available-height);transform-origin:var(--transform-origin);transition:opacity var(--duration-fast) var(--easing-standard), scale var(--duration-fast) var(--easing-enter);overflow-y:auto}._1seauxl6:focus-visible{outline:var(--space-2) solid var(--color-focus);outline-offset:var(--space-2)}._1seauxl6[data-starting-style],._1seauxl6[data-ending-style]{opacity:0;scale:calc(1 - var(--scale-med))}._1seauxl7{cursor:pointer;touch-action:manipulation;-webkit-tap-highlight-color:transparent;-webkit-user-select:none;user-select:none}._1seauxl7:focus-visible{outline:var(--space-2) solid var(--color-focus);outline-offset:calc(-1 * var(--space-2))}._1seauxl7[data-highlighted]{background-color:light-dark(var(--color-bg-muted),color-mix(in srgb, var(--color-fg) 10%, var(--color-bg-raised)))}._1seauxl7[aria-disabled=true]{color:var(--color-fg-muted);cursor:not-allowed}._1seauxl8{visibility:hidden;flex-shrink:0}._1seauxl7[aria-selected=true] ._1seauxl8{visibility:visible}@media (forced-colors:active){._1seauxl1[aria-disabled=true]{border-color:graytext}._1seauxl7[data-highlighted]{forced-color-adjust:none;color:highlighttext;background-color:highlight}._1seauxl7[data-highlighted]:focus-visible{color:canvastext;background-color:canvas}._1seauxl7[aria-disabled=true]{color:graytext}}}
@@ -3,5 +3,5 @@ import "./MultiSelect.css";
3
3
  /* empty css */
4
4
  /* empty css */
5
5
  // src/MultiSelect/MultiSelect.css.ts
6
- var e = "_1seauxl0", t = "_1seauxl1", n = "_1seauxl2", r = "_1seauxl3", i = "_1seauxl4", a = "_1seauxl5", o = "_1seauxl6", s = "_1seauxl7";
7
- export { s as check, i as count, o as item, r as labels, a as popup, n as summary, e as trigger, t as value };
6
+ var e = "_1seauxl0", t = "_1seauxl1", n = "_1seauxl2", r = "_1seauxl3", i = "_1seauxl4", a = "_1seauxl5", o = "_1seauxl6", s = "_1seauxl7", c = "_1seauxl8";
7
+ export { c as check, a as count, e as hiddenLabel, s as item, i as labels, o as popup, r as summary, t as trigger, n as value };
@@ -9,6 +9,7 @@ export type MultiSelectProps = StyleProps & {
9
9
  description?: ReactNode;
10
10
  disabled?: boolean;
11
11
  error?: ReactNode;
12
+ hideLabel?: boolean;
12
13
  label: ReactNode;
13
14
  name?: string;
14
15
  onValueChange?: (value: string[]) => void;
@@ -19,4 +20,4 @@ export type MultiSelectProps = StyleProps & {
19
20
  style?: CSSProperties;
20
21
  value?: readonly string[];
21
22
  };
22
- export declare function MultiSelect({ options, value, defaultValue, onValueChange, label, description, error, placeholder, countLabel, disabled, required, size, name, className, style, ...atoms }: MultiSelectProps): import("react").JSX.Element;
23
+ export declare function MultiSelect({ options, value, defaultValue, onValueChange, label, hideLabel, description, error, placeholder, countLabel, disabled, required, size, name, className, style, ...atoms }: MultiSelectProps): import("react").JSX.Element;
@@ -2,47 +2,50 @@ import { Field as e } from "../Field/index.mjs";
2
2
  import { ListboxLabel as t, ListboxScope as n } from "../popup/listbox-base.mjs";
3
3
  import { ListboxPopup as r, ListboxPortal as i, ListboxPositioner as a } from "../popup/listbox.mjs";
4
4
  import { ListboxOptions as o } from "../popup/listbox-options.mjs";
5
- import { check as s, item as c, popup as l } from "./MultiSelect.css.mjs";
6
- import { MultiSelectRoot as u, MultiSelectTrigger as d } from "./client.mjs";
7
- import { jsx as f, jsxs as p } from "react/jsx-runtime";
5
+ import { check as s, hiddenLabel as c, item as l, popup as u } from "./MultiSelect.css.mjs";
6
+ import { MultiSelectRoot as d, MultiSelectTrigger as f } from "./client.mjs";
7
+ import { jsx as p, jsxs as m } from "react/jsx-runtime";
8
8
  // src/MultiSelect/index.tsx
9
- function m({ options: m, value: h, defaultValue: g, onValueChange: _, label: v, description: y, error: b, placeholder: x = "Select", countLabel: S = "{count} selected", disabled: C = !1, required: w = !1, size: T = "med", name: E, className: D, style: O, ...k }) {
10
- return /* @__PURE__ */ p(e, {
11
- ...k,
12
- className: D,
13
- disabled: C,
14
- invalid: b != null && b !== !1 && b !== "",
15
- style: O,
9
+ function h({ options: h, value: g, defaultValue: _, onValueChange: v, label: y, hideLabel: b = !1, description: x, error: S, placeholder: C = "Select", countLabel: w = "{count} selected", disabled: T = !1, required: E = !1, size: D = "med", name: O, className: k, style: A, ...j }) {
10
+ return /* @__PURE__ */ m(e, {
11
+ ...j,
12
+ className: k,
13
+ disabled: T,
14
+ invalid: S != null && S !== !1 && S !== "",
15
+ style: A,
16
16
  children: [
17
- /* @__PURE__ */ f(n, { children: /* @__PURE__ */ p(u, {
18
- defaultValue: g,
19
- disabled: C,
20
- name: E,
21
- onValueChange: _,
22
- required: w,
23
- value: h,
17
+ /* @__PURE__ */ p(n, { children: /* @__PURE__ */ m(d, {
18
+ defaultValue: _,
19
+ disabled: T,
20
+ name: O,
21
+ onValueChange: v,
22
+ required: E,
23
+ value: g,
24
24
  children: [
25
- /* @__PURE__ */ f(t, { children: v }),
26
- /* @__PURE__ */ f(d, {
27
- countLabel: S,
28
- disabled: C,
29
- options: m,
30
- placeholder: x,
31
- size: T
25
+ /* @__PURE__ */ p(t, {
26
+ className: b ? c : void 0,
27
+ children: y
32
28
  }),
33
- /* @__PURE__ */ f(i, { children: /* @__PURE__ */ f(a, { children: /* @__PURE__ */ f(r, {
34
- className: l,
35
- children: /* @__PURE__ */ f(o, {
29
+ /* @__PURE__ */ p(f, {
30
+ countLabel: w,
31
+ disabled: T,
32
+ options: h,
33
+ placeholder: C,
34
+ size: D
35
+ }),
36
+ /* @__PURE__ */ p(i, { children: /* @__PURE__ */ p(a, { children: /* @__PURE__ */ p(r, {
37
+ className: u,
38
+ children: /* @__PURE__ */ p(o, {
36
39
  checkClassName: s,
37
- itemClassName: c,
38
- options: m
40
+ itemClassName: l,
41
+ options: h
39
42
  })
40
43
  }) }) })
41
44
  ]
42
45
  }) }),
43
- y != null && /* @__PURE__ */ f(e.Description, { children: y }),
44
- /* @__PURE__ */ f(e.Error, { children: b })
46
+ x != null && /* @__PURE__ */ p(e.Description, { children: x }),
47
+ /* @__PURE__ */ p(e.Error, { children: S })
45
48
  ]
46
49
  });
47
50
  }
48
- export { m as MultiSelect };
51
+ export { h as MultiSelect };
@@ -1,2 +1,2 @@
1
1
  @layer tokens, reset, atoms.base, atoms.sm, atoms.med, atoms.lg, atoms.xl, components.box, components.checkbox, components.clickable, components.icon, components.icon-button, components.inline, components.sidebar, components.sidebar-layout, components.stack, components.text, components.avatar, components.badge, components.button, components.chip, components.field, components.color-field, components.combobox, components.heading, components.dialog, components.alert-dialog, components.menu, components.multiselect, components.nav-list, components.radio-group, components.search-field, components.select, components.switch, components.tabs, components.tag, components.text-field, components.textarea, components.toast, components.tooltip, components.visually-hidden, components.table;
2
- @layer components.radio-group{._15rnw5c0[data-disabled]{color:var(--color-fg-muted)}._15rnw5c1{display:flex}._15rnw5c2{row-gap:var(--space-8);flex-direction:column}._15rnw5c3{column-gap:var(--space-16);row-gap:var(--space-8);flex-flow:wrap}._15rnw5c4{align-items:center;column-gap:var(--space-8);grid-template-columns:auto 1fr;display:grid}._15rnw5c5{grid-column-start:2}._15rnw5c6{cursor:pointer;touch-action:manipulation;-webkit-tap-highlight-color:transparent}._15rnw5c6:focus-visible{outline:var(--space-2) solid var(--color-focus);outline-offset:var(--space-2)}._15rnw5c6[aria-disabled=true]{cursor:not-allowed}._15rnw5c7{inline-size:var(--space-16);block-size:var(--space-16);border:var(--space-1) solid var(--color-border-strong);border-radius:var(--radius-full);background-color:var(--color-bg);color:var(--color-accent);forced-color-adjust:none;place-items:center;display:grid}._15rnw5c6:not([aria-checked=true],[aria-invalid=true],[aria-disabled=true]):hover ._15rnw5c7{border-color:var(--color-fg)}._15rnw5c6[aria-checked=true] ._15rnw5c7{border-color:var(--color-accent)}._15rnw5c6[aria-disabled=true] ._15rnw5c7{border-style:dashed;border-color:var(--color-border-strong);background-color:var(--color-bg-muted);color:var(--color-fg-muted)}._15rnw5c6[aria-invalid=true] ._15rnw5c7{border-width:var(--space-2);border-color:var(--color-danger)}._15rnw5c8{inline-size:var(--space-8);block-size:var(--space-8);border-radius:var(--radius-full);opacity:0;scale:calc(1 - var(--scale-lg));transition-property:opacity,scale;transition-duration:var(--duration-fast);transition-timing-function:var(--easing-standard);background-color:currentColor}._15rnw5c6[aria-checked=true] ._15rnw5c8{opacity:1;scale:1}}
2
+ @layer components.radio-group{._15rnw5c0[data-disabled]{color:var(--color-fg-muted)}._15rnw5c1{clip-path:inset(50%);white-space:nowrap;border:0;block-size:1px;inline-size:1px;margin:0;padding:0;position:absolute;overflow:hidden}._15rnw5c2{display:flex}._15rnw5c3{row-gap:var(--space-8);flex-direction:column}._15rnw5c4{column-gap:var(--space-16);row-gap:var(--space-8);flex-flow:wrap}._15rnw5c5{align-items:center;column-gap:var(--space-8);grid-template-columns:auto 1fr;display:grid}._15rnw5c6{grid-column-start:2}._15rnw5c7{cursor:pointer;touch-action:manipulation;-webkit-tap-highlight-color:transparent}._15rnw5c7:focus-visible{outline:var(--space-2) solid var(--color-focus);outline-offset:var(--space-2)}._15rnw5c7[aria-disabled=true]{cursor:not-allowed}._15rnw5c8{inline-size:var(--space-16);block-size:var(--space-16);border:var(--space-1) solid var(--color-border-strong);border-radius:var(--radius-full);background-color:var(--color-bg);color:var(--color-accent);forced-color-adjust:none;place-items:center;display:grid}._15rnw5c7:not([aria-checked=true],[aria-invalid=true],[aria-disabled=true]):hover ._15rnw5c8{border-color:var(--color-fg)}._15rnw5c7[aria-checked=true] ._15rnw5c8{border-color:var(--color-accent)}._15rnw5c7[aria-disabled=true] ._15rnw5c8{border-style:dashed;border-color:var(--color-border-strong);background-color:var(--color-bg-muted);color:var(--color-fg-muted)}._15rnw5c7[aria-invalid=true] ._15rnw5c8{border-width:var(--space-2);border-color:var(--color-danger)}._15rnw5c9{inline-size:var(--space-8);block-size:var(--space-8);border-radius:var(--radius-full);opacity:0;scale:calc(1 - var(--scale-lg));transition-property:opacity,scale;transition-duration:var(--duration-fast);transition-timing-function:var(--easing-standard);background-color:currentColor}._15rnw5c7[aria-checked=true] ._15rnw5c9{opacity:1;scale:1}}
@@ -4,13 +4,13 @@ import "./RadioGroup.css";
4
4
  /* empty css */
5
5
  import { createRuntimeFn as e } from "@vanilla-extract/recipes/createRuntimeFn";
6
6
  // src/RadioGroup/RadioGroup.css.ts
7
- var t = "_15rnw5c0", n = e({
8
- defaultClassName: "_15rnw5c1",
7
+ var t = "_15rnw5c0", n = "_15rnw5c1", r = e({
8
+ defaultClassName: "_15rnw5c2",
9
9
  variantClassNames: { orientation: {
10
- vertical: "_15rnw5c2",
11
- horizontal: "_15rnw5c3"
10
+ vertical: "_15rnw5c3",
11
+ horizontal: "_15rnw5c4"
12
12
  } },
13
13
  defaultVariants: {},
14
14
  compoundVariants: []
15
- }), r = "_15rnw5c4", i = "_15rnw5c5", a = "_15rnw5c6", o = "_15rnw5c7", s = "_15rnw5c8";
16
- export { o as circle, s as dot, r as item, i as label, t as legend, n as options, a as root };
15
+ }), i = "_15rnw5c5", a = "_15rnw5c6", o = "_15rnw5c7", s = "_15rnw5c8", c = "_15rnw5c9";
16
+ export { s as circle, c as dot, n as hiddenLabel, i as item, a as label, t as legend, r as options, o as root };
@@ -12,6 +12,7 @@ export type RadioGroupProps = StyleProps & {
12
12
  description?: ReactNode;
13
13
  disabled?: boolean;
14
14
  error?: ReactNode;
15
+ hideLabel?: boolean;
15
16
  label: ReactNode;
16
17
  name?: string;
17
18
  onValueChange?: (value: string) => void;
@@ -22,4 +23,4 @@ export type RadioGroupProps = StyleProps & {
22
23
  style?: CSSProperties;
23
24
  value?: string | null;
24
25
  };
25
- export declare function RadioGroup({ options, value, defaultValue, onValueChange, label, description, error, orientation, size, disabled, required, name, className, style, ...atoms }: RadioGroupProps): import("react").JSX.Element;
26
+ export declare function RadioGroup({ options, value, defaultValue, onValueChange, label, hideLabel, description, error, orientation, size, disabled, required, name, className, style, ...atoms }: RadioGroupProps): import("react").JSX.Element;
@@ -1,95 +1,96 @@
1
- import { Box as e } from "../Box/base.mjs";
2
- import { controlText as t } from "../styles/control-size.mjs";
3
- import { Text as n } from "../Text/index.mjs";
4
- import { Field as r } from "../Field/index.mjs";
5
- import { circle as i, dot as a, item as o, label as s, legend as c, options as l, root as u } from "./RadioGroup.css.mjs";
6
- import { jsx as d, jsxs as f } from "react/jsx-runtime";
7
- import { Field as p } from "@base-ui/react/field";
8
- import { Fieldset as m } from "@base-ui/react/fieldset";
9
- import { Radio as h } from "@base-ui/react/radio";
10
- import { RadioGroup as g } from "@base-ui/react/radio-group";
1
+ import { join as e } from "../styles/join.mjs";
2
+ import { Box as t } from "../Box/base.mjs";
3
+ import { controlText as n } from "../styles/control-size.mjs";
4
+ import { Text as r } from "../Text/index.mjs";
5
+ import { Field as i } from "../Field/index.mjs";
6
+ import { circle as a, dot as o, item as s, label as c, legend as l, options as u, root as d } from "./RadioGroup.css.mjs";
7
+ import { jsx as f, jsxs as p } from "react/jsx-runtime";
8
+ import { Field as m } from "@base-ui/react/field";
9
+ import { Fieldset as h } from "@base-ui/react/fieldset";
10
+ import { Radio as g } from "@base-ui/react/radio";
11
+ import { RadioGroup as _ } from "@base-ui/react/radio-group";
11
12
  // src/RadioGroup/index.tsx
12
- var _ = {
13
+ var v = {
13
14
  sm: "xs",
14
15
  med: "xs",
15
16
  lg: "sm"
16
17
  };
17
- function v({ options: v, value: y, defaultValue: b, onValueChange: x, label: S, description: C, error: w, orientation: T = "vertical", size: E = "med", disabled: D = !1, required: O = !1, name: k, className: A, style: j, ...M }) {
18
- return /* @__PURE__ */ f(r, {
19
- ...M,
20
- className: A,
21
- disabled: D,
22
- invalid: w != null && w !== !1 && w !== "",
23
- style: j,
18
+ function y({ options: y, value: b, defaultValue: x, onValueChange: S, label: C, hideLabel: w = !1, description: T, error: E, orientation: D = "vertical", size: O = "med", disabled: k = !1, required: A = !1, name: j, className: M, style: N, ...P }) {
19
+ return /* @__PURE__ */ p(i, {
20
+ ...P,
21
+ className: M,
22
+ disabled: k,
23
+ invalid: E != null && E !== !1 && E !== "",
24
+ style: N,
24
25
  children: [
25
- /* @__PURE__ */ f(m.Root, {
26
- disabled: D,
27
- render: /* @__PURE__ */ d(g, {
28
- defaultValue: b,
29
- name: k,
30
- onValueChange: x && ((e) => x(e)),
31
- render: /* @__PURE__ */ d(e, {
26
+ /* @__PURE__ */ p(h.Root, {
27
+ disabled: k,
28
+ render: /* @__PURE__ */ f(_, {
29
+ defaultValue: x,
30
+ name: j,
31
+ onValueChange: S && ((e) => S(e)),
32
+ render: /* @__PURE__ */ f(t, {
32
33
  display: "flex",
33
34
  flexDirection: "column",
34
35
  gap: "8"
35
36
  }),
36
- required: O,
37
- value: y
37
+ required: A,
38
+ value: b
38
39
  }),
39
- children: [/* @__PURE__ */ d(m.Legend, {
40
- render: /* @__PURE__ */ d(n, {
40
+ children: [/* @__PURE__ */ f(h.Legend, {
41
+ render: /* @__PURE__ */ f(r, {
41
42
  as: "div",
42
- className: c,
43
+ className: e(l, w && "_15rnw5c1"),
43
44
  font: "label",
44
45
  size: "sm",
45
46
  weight: "medium"
46
47
  }),
47
- children: S
48
- }), /* @__PURE__ */ d(e, {
49
- className: l({ orientation: T }),
50
- children: v.map((n) => /* @__PURE__ */ f(p.Item, {
51
- disabled: n.disabled,
52
- render: /* @__PURE__ */ d(e, { className: o }),
48
+ children: C
49
+ }), /* @__PURE__ */ f(t, {
50
+ className: u({ orientation: D }),
51
+ children: y.map((e) => /* @__PURE__ */ p(m.Item, {
52
+ disabled: e.disabled,
53
+ render: /* @__PURE__ */ f(t, { className: s }),
53
54
  children: [
54
- /* @__PURE__ */ d(h.Root, {
55
- render: /* @__PURE__ */ d(e, {
55
+ /* @__PURE__ */ f(g.Root, {
56
+ render: /* @__PURE__ */ f(t, {
56
57
  alignItems: "center",
57
58
  as: "span",
58
- className: u,
59
+ className: d,
59
60
  display: "inline-flex",
60
61
  flexShrink: 0,
61
62
  justifyContent: "center",
62
63
  minBlockSize: "xs",
63
64
  minInlineSize: "xs"
64
65
  }),
65
- value: n.value,
66
- children: /* @__PURE__ */ d(e, {
66
+ value: e.value,
67
+ children: /* @__PURE__ */ f(t, {
67
68
  as: "span",
68
- className: i,
69
- children: /* @__PURE__ */ d(e, {
69
+ className: a,
70
+ children: /* @__PURE__ */ f(t, {
70
71
  as: "span",
71
- className: a
72
+ className: o
72
73
  })
73
74
  })
74
75
  }),
75
- /* @__PURE__ */ d(r.Label, {
76
- className: s,
77
- size: t[E],
76
+ /* @__PURE__ */ f(i.Label, {
77
+ className: c,
78
+ size: n[O],
78
79
  weight: "regular",
79
- children: n.label
80
+ children: e.label
80
81
  }),
81
- n.description != null && /* @__PURE__ */ d(r.Description, {
82
- className: "_15rnw5c5",
83
- size: _[E],
84
- children: n.description
82
+ e.description != null && /* @__PURE__ */ f(i.Description, {
83
+ className: "_15rnw5c6",
84
+ size: v[O],
85
+ children: e.description
85
86
  })
86
87
  ]
87
- }, n.value))
88
+ }, e.value))
88
89
  })]
89
90
  }),
90
- C != null && /* @__PURE__ */ d(r.Description, { children: C }),
91
- /* @__PURE__ */ d(r.Error, { children: w })
91
+ T != null && /* @__PURE__ */ f(i.Description, { children: T }),
92
+ /* @__PURE__ */ f(i.Error, { children: E })
92
93
  ]
93
94
  });
94
95
  }
95
- export { v as RadioGroup };
96
+ export { y as RadioGroup };
@@ -1,2 +1,2 @@
1
1
  @layer tokens, reset, atoms.base, atoms.sm, atoms.med, atoms.lg, atoms.xl, components.box, components.checkbox, components.clickable, components.icon, components.icon-button, components.inline, components.sidebar, components.sidebar-layout, components.stack, components.text, components.avatar, components.badge, components.button, components.chip, components.field, components.color-field, components.combobox, components.heading, components.dialog, components.alert-dialog, components.menu, components.multiselect, components.nav-list, components.radio-group, components.search-field, components.select, components.switch, components.tabs, components.tag, components.text-field, components.textarea, components.toast, components.tooltip, components.visually-hidden, components.table;
2
- @layer components.select{.e26gsj0{--_5qoq940:transparent;text-align:start;border-color:var(--color-border-strong);justify-content:stretch}:where(.e26gsj0) ._1gwwloa0{flex:auto;justify-items:stretch;min-inline-size:0}:where(.e26gsj0) ._1gwwloa1{min-inline-size:0}:where(.e26gsj0) ._1gwwloa2{text-transform:none;min-inline-size:0;font-weight:var(--font-weight-medium);flex:auto}.e26gsj1{min-inline-size:0;display:block}.e26gsj1[data-placeholder]{color:var(--color-fg-muted)}.e26gsj2{border:var(--space-1) solid var(--color-border);min-inline-size:var(--anchor-width);max-block-size:var(--available-height);transform-origin:var(--transform-origin);transition:opacity var(--duration-fast) var(--easing-standard), scale var(--duration-fast) var(--easing-enter);overflow-y:auto}.e26gsj2:focus-visible{outline:var(--space-2) solid var(--color-focus);outline-offset:var(--space-2)}.e26gsj2[data-starting-style],.e26gsj2[data-ending-style]{opacity:0;scale:calc(1 - var(--scale-med))}.e26gsj3{cursor:pointer;touch-action:manipulation;-webkit-tap-highlight-color:transparent;-webkit-user-select:none;user-select:none}.e26gsj3:focus-visible{outline:var(--space-2) solid var(--color-focus);outline-offset:calc(-1 * var(--space-2))}.e26gsj3[data-highlighted]{background-color:light-dark(var(--color-bg-muted),color-mix(in srgb, var(--color-fg) 10%, var(--color-bg-raised)))}.e26gsj3[aria-disabled=true]{color:var(--color-fg-muted);cursor:not-allowed}.e26gsj4{visibility:hidden;flex-shrink:0}.e26gsj3[aria-selected=true] .e26gsj4{visibility:visible}@media (forced-colors:active){.e26gsj0[aria-disabled=true]{border-color:graytext}.e26gsj3[data-highlighted]{forced-color-adjust:none;color:highlighttext;background-color:highlight}.e26gsj3[data-highlighted]:focus-visible{color:canvastext;background-color:canvas}.e26gsj3[aria-disabled=true]{color:graytext}}}
2
+ @layer components.select{.e26gsj0{clip-path:inset(50%);white-space:nowrap;border:0;block-size:1px;inline-size:1px;margin:0;padding:0;position:absolute;overflow:hidden}.e26gsj1{--_5qoq940:transparent;text-align:start;border-color:var(--color-border-strong);justify-content:stretch}:where(.e26gsj1) ._1gwwloa0{flex:auto;justify-items:stretch;min-inline-size:0}:where(.e26gsj1) ._1gwwloa1{min-inline-size:0}:where(.e26gsj1) ._1gwwloa2{text-transform:none;min-inline-size:0;font-weight:var(--font-weight-medium);flex:auto}.e26gsj2{min-inline-size:0;display:block}.e26gsj2[data-placeholder]{color:var(--color-fg-muted)}.e26gsj3{border:var(--space-1) solid var(--color-border);min-inline-size:var(--anchor-width);max-block-size:var(--available-height);transform-origin:var(--transform-origin);transition:opacity var(--duration-fast) var(--easing-standard), scale var(--duration-fast) var(--easing-enter);overflow-y:auto}.e26gsj3:focus-visible{outline:var(--space-2) solid var(--color-focus);outline-offset:var(--space-2)}.e26gsj3[data-starting-style],.e26gsj3[data-ending-style]{opacity:0;scale:calc(1 - var(--scale-med))}.e26gsj4{cursor:pointer;touch-action:manipulation;-webkit-tap-highlight-color:transparent;-webkit-user-select:none;user-select:none}.e26gsj4:focus-visible{outline:var(--space-2) solid var(--color-focus);outline-offset:calc(-1 * var(--space-2))}.e26gsj4[data-highlighted]{background-color:light-dark(var(--color-bg-muted),color-mix(in srgb, var(--color-fg) 10%, var(--color-bg-raised)))}.e26gsj4[aria-disabled=true]{color:var(--color-fg-muted);cursor:not-allowed}.e26gsj5{visibility:hidden;flex-shrink:0}.e26gsj4[aria-selected=true] .e26gsj5{visibility:visible}@media (forced-colors:active){.e26gsj1[aria-disabled=true]{border-color:graytext}.e26gsj4[data-highlighted]{forced-color-adjust:none;color:highlighttext;background-color:highlight}.e26gsj4[data-highlighted]:focus-visible{color:canvastext;background-color:canvas}.e26gsj4[aria-disabled=true]{color:graytext}}}
@@ -3,5 +3,5 @@ import "./Select.css";
3
3
  /* empty css */
4
4
  /* empty css */
5
5
  // src/Select/Select.css.ts
6
- var e = "e26gsj0", t = "e26gsj1", n = "e26gsj2", r = "e26gsj3", i = "e26gsj4";
7
- export { i as check, r as item, n as popup, e as trigger, t as value };
6
+ var e = "e26gsj0", t = "e26gsj1", n = "e26gsj2", r = "e26gsj3", i = "e26gsj4", a = "e26gsj5";
7
+ export { a as check, e as hiddenLabel, i as item, r as popup, t as trigger, n as value };
@@ -8,6 +8,7 @@ export type SelectProps = StyleProps & {
8
8
  description?: ReactNode;
9
9
  disabled?: boolean;
10
10
  error?: ReactNode;
11
+ hideLabel?: boolean;
11
12
  label: ReactNode;
12
13
  name?: string;
13
14
  onValueChange?: (value: string | null) => void;
@@ -18,4 +19,4 @@ export type SelectProps = StyleProps & {
18
19
  style?: CSSProperties;
19
20
  value?: string | null;
20
21
  };
21
- export declare function Select({ options, value, defaultValue, onValueChange, label, description, error, placeholder, disabled, required, size, name, className, style, ...atoms }: SelectProps): import("react").JSX.Element;
22
+ export declare function Select({ options, value, defaultValue, onValueChange, label, hideLabel, description, error, placeholder, disabled, required, size, name, className, style, ...atoms }: SelectProps): import("react").JSX.Element;