@ledgerhq/lumen-ui-react 0.1.21 → 0.1.22

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 (42) hide show
  1. package/dist/index.js +121 -121
  2. package/dist/lib/Components/ListItem/ListItem.d.ts +2 -2
  3. package/dist/lib/Components/ListItem/ListItem.d.ts.map +1 -1
  4. package/dist/lib/Components/ListItem/ListItem.js +87 -51
  5. package/dist/lib/Components/ListItem/types.d.ts +9 -9
  6. package/dist/lib/Components/ListItem/types.d.ts.map +1 -1
  7. package/dist/lib/Components/MediaButton/MediaButton.d.ts +30 -0
  8. package/dist/lib/Components/MediaButton/MediaButton.d.ts.map +1 -0
  9. package/dist/lib/Components/{TriggerButton/TriggerButton.js → MediaButton/MediaButton.js} +24 -23
  10. package/dist/lib/Components/MediaButton/index.d.ts +3 -0
  11. package/dist/lib/Components/MediaButton/index.d.ts.map +1 -0
  12. package/dist/lib/Components/{TriggerButton → MediaButton}/types.d.ts +9 -4
  13. package/dist/lib/Components/MediaButton/types.d.ts.map +1 -0
  14. package/dist/lib/Components/Popover/Popover.d.ts +1 -1
  15. package/dist/lib/Components/Popover/Popover.d.ts.map +1 -1
  16. package/dist/lib/Components/Popover/Popover.js +36 -34
  17. package/dist/lib/Components/Popover/types.d.ts +11 -1
  18. package/dist/lib/Components/Popover/types.d.ts.map +1 -1
  19. package/dist/lib/Components/Select/Select.d.ts +2 -3
  20. package/dist/lib/Components/Select/Select.d.ts.map +1 -1
  21. package/dist/lib/Components/Select/Select.js +132 -139
  22. package/dist/lib/Components/Select/index.d.ts +1 -1
  23. package/dist/lib/Components/Select/index.d.ts.map +1 -1
  24. package/dist/lib/Components/Select/types.d.ts +2 -10
  25. package/dist/lib/Components/Select/types.d.ts.map +1 -1
  26. package/dist/lib/Components/ThemeProvider/ThemeProvider.d.ts +7 -0
  27. package/dist/lib/Components/ThemeProvider/ThemeProvider.d.ts.map +1 -1
  28. package/dist/lib/Components/ThemeProvider/ThemeProvider.js +24 -18
  29. package/dist/lib/Components/ThemeProvider/ThemeProvider.types.d.ts +7 -1
  30. package/dist/lib/Components/ThemeProvider/ThemeProvider.types.d.ts.map +1 -1
  31. package/dist/lib/Components/ThemeProvider/useRootColorModeSideEffect.d.ts +10 -5
  32. package/dist/lib/Components/ThemeProvider/useRootColorModeSideEffect.d.ts.map +1 -1
  33. package/dist/lib/Components/ThemeProvider/useRootColorModeSideEffect.js +22 -21
  34. package/dist/lib/Components/index.d.ts +1 -1
  35. package/dist/lib/Components/index.d.ts.map +1 -1
  36. package/dist/package.json +3 -2
  37. package/package.json +2 -1
  38. package/dist/lib/Components/TriggerButton/TriggerButton.d.ts +0 -30
  39. package/dist/lib/Components/TriggerButton/TriggerButton.d.ts.map +0 -1
  40. package/dist/lib/Components/TriggerButton/index.d.ts +0 -3
  41. package/dist/lib/Components/TriggerButton/index.d.ts.map +0 -1
  42. package/dist/lib/Components/TriggerButton/types.d.ts.map +0 -1
@@ -1,10 +1,10 @@
1
1
  import { jsxs as t, jsx as e } from "react/jsx-runtime";
2
- import { useDisabledContext as y, cn as u } from "../../../libs/utils-shared/dist/index.js";
3
- import { Slot as T, Slottable as g } from "@radix-ui/react-slot";
4
- import { cva as b } from "class-variance-authority";
5
- import { baseButtonVariants as x } from "../Button/BaseButton.js";
6
- import { ChevronDown as z } from "../../Symbols/Icons/ChevronDown.js";
7
- const v = b("gap-8 body-2-semi-bold", {
2
+ import { useDisabledContext as u, cn as b } from "../../../libs/utils-shared/dist/index.js";
3
+ import { Slot as x, Slottable as T } from "@radix-ui/react-slot";
4
+ import { cva as z } from "class-variance-authority";
5
+ import { baseButtonVariants as g } from "../Button/BaseButton.js";
6
+ import { ChevronDown as v } from "../../Symbols/Icons/ChevronDown.js";
7
+ const N = z("gap-8 body-2-semi-bold", {
8
8
  variants: {
9
9
  size: {
10
10
  sm: "",
@@ -31,45 +31,46 @@ const v = b("gap-8 body-2-semi-bold", {
31
31
  }), S = ({
32
32
  ref: i,
33
33
  className: p,
34
- appearance: r = "gray",
35
- size: l = "md",
36
- disabled: m = !1,
34
+ appearance: l = "gray",
35
+ size: m = "md",
36
+ disabled: r = !1,
37
37
  asChild: n = !1,
38
38
  icon: s,
39
39
  iconType: c = "flat",
40
+ hideChevron: d = !1,
40
41
  children: o,
41
- ...d
42
+ ...f
42
43
  }) => {
43
- const a = y({
44
- consumerName: "TriggerButton",
45
- mergeWith: { disabled: m }
46
- }), f = s ? c : "none";
44
+ const a = u({
45
+ consumerName: "MediaButton",
46
+ mergeWith: { disabled: r }
47
+ }), y = s ? c : "none";
47
48
  return /* @__PURE__ */ t(
48
- n ? T : "button",
49
+ n ? x : "button",
49
50
  {
50
51
  ref: i,
51
- className: u(
52
- x({
53
- appearance: r,
52
+ className: b(
53
+ g({
54
+ appearance: l,
54
55
  disabled: a,
55
56
  loading: !1
56
57
  }),
57
- v({ size: l, iconType: f }),
58
+ N({ size: m, iconType: y }),
58
59
  p
59
60
  ),
60
61
  "data-disabled": a || void 0,
61
62
  disabled: a,
62
- ...d,
63
+ ...f,
63
64
  children: [
64
65
  s && /* @__PURE__ */ e("span", { className: "shrink-0", children: s }),
65
66
  /* @__PURE__ */ t("span", { className: "flex items-center gap-2", children: [
66
- n ? /* @__PURE__ */ e(g, { children: o }) : /* @__PURE__ */ e("span", { className: "line-clamp-1 text-left", children: o }),
67
- /* @__PURE__ */ e(z, { size: 20 })
67
+ n ? /* @__PURE__ */ e(T, { children: o }) : /* @__PURE__ */ e("span", { className: "line-clamp-1 text-left", children: o }),
68
+ !d && /* @__PURE__ */ e(v, { size: 20 })
68
69
  ] })
69
70
  ]
70
71
  }
71
72
  );
72
73
  };
73
74
  export {
74
- S as TriggerButton
75
+ S as MediaButton
75
76
  };
@@ -0,0 +1,3 @@
1
+ export { MediaButton } from './MediaButton';
2
+ export * from './types';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/lib/Components/MediaButton/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,cAAc,SAAS,CAAC"}
@@ -1,13 +1,13 @@
1
1
  import { ComponentPropsWithRef, ReactNode } from 'react';
2
2
  import { BaseButtonProps } from '../Button/types';
3
- export type TriggerButtonProps = {
3
+ export type MediaButtonProps = {
4
4
  /**
5
- * The visual style of the trigger button.
5
+ * The visual style of the media button.
6
6
  * @default 'gray'
7
7
  */
8
8
  appearance?: 'gray' | 'transparent' | 'no-background';
9
9
  /**
10
- * The size variant of the trigger button.
10
+ * The size variant of the media button.
11
11
  * @default 'md'
12
12
  */
13
13
  size?: 'sm' | 'md';
@@ -26,7 +26,12 @@ export type TriggerButtonProps = {
26
26
  */
27
27
  iconType?: 'flat' | 'rounded';
28
28
  /**
29
- * The label content of the trigger button.
29
+ * When true, hides the trailing chevron indicator.
30
+ * @default false
31
+ */
32
+ hideChevron?: boolean;
33
+ /**
34
+ * The label content of the media button.
30
35
  */
31
36
  children: ReactNode;
32
37
  } & Pick<BaseButtonProps, 'disabled' | 'className' | 'asChild'> & ComponentPropsWithRef<'button'>;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/lib/Components/MediaButton/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAC9D,OAAO,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAElD,MAAM,MAAM,gBAAgB,GAAG;IAC7B;;;OAGG;IACH,UAAU,CAAC,EAAE,MAAM,GAAG,aAAa,GAAG,eAAe,CAAC;IACtD;;;OAGG;IACH,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACnB;;;OAGG;IACH,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB;;;;;;;OAOG;IACH,QAAQ,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC9B;;;OAGG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB;;OAEG;IACH,QAAQ,EAAE,SAAS,CAAC;CACrB,GAAG,IAAI,CAAC,eAAe,EAAE,UAAU,GAAG,WAAW,GAAG,SAAS,CAAC,GAC7D,qBAAqB,CAAC,QAAQ,CAAC,CAAC"}
@@ -34,7 +34,7 @@ declare const PopoverTrigger: <Payload>({ handle, payload, render, className, ..
34
34
  *
35
35
  * @see {@link https://ldls.vercel.app/?path=/docs/components-popover-overview--docs Storybook}
36
36
  */
37
- declare const PopoverContent: ({ side, sideOffset, align, width, className, children, }: PopoverContentProps) => import("react/jsx-runtime").JSX.Element;
37
+ declare const PopoverContent: ({ side, sideOffset, align, width, initialFocus, className, children, }: PopoverContentProps) => import("react/jsx-runtime").JSX.Element;
38
38
  /**
39
39
  * Creates a handle for connecting a `Popover` with detached `PopoverTrigger` components.
40
40
  *
@@ -1 +1 @@
1
- {"version":3,"file":"Popover.d.ts","sourceRoot":"","sources":["../../../../src/lib/Components/Popover/Popover.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAGrE,OAAO,KAAK,EACV,YAAY,EACZ,mBAAmB,EACnB,mBAAmB,EAEpB,MAAM,SAAS,CAAC;AA4CjB;;;;;;;;;;;;;;;;;;;GAmBG;AACH,QAAA,MAAM,OAAO,GAAI,OAAO,EAAG,iEAOxB,YAAY,CAAC,OAAO,CAAC,4CAcvB,CAAC;AAEF;;;;;GAKG;AACH,QAAA,MAAM,cAAc,GAAI,OAAO,EAAG,kDAM/B,mBAAmB,CAAC,OAAO,CAAC,4CAS9B,CAAC;AAEF;;;;;GAKG;AACH,QAAA,MAAM,cAAc,GAAI,0DAOrB,mBAAmB,4CA8BrB,CAAC;AAEF;;;;;;;;;;;;;GAaG;AACH,QAAA,MAAM,mBAAmB,sCAAgC,CAAC;AAE1D,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,cAAc,EAAE,mBAAmB,EAAE,CAAC"}
1
+ {"version":3,"file":"Popover.d.ts","sourceRoot":"","sources":["../../../../src/lib/Components/Popover/Popover.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAGrE,OAAO,KAAK,EACV,YAAY,EACZ,mBAAmB,EACnB,mBAAmB,EAEpB,MAAM,SAAS,CAAC;AA4CjB;;;;;;;;;;;;;;;;;;;GAmBG;AACH,QAAA,MAAM,OAAO,GAAI,OAAO,EAAG,iEAOxB,YAAY,CAAC,OAAO,CAAC,4CAcvB,CAAC;AAEF;;;;;GAKG;AACH,QAAA,MAAM,cAAc,GAAI,OAAO,EAAG,kDAM/B,mBAAmB,CAAC,OAAO,CAAC,4CAS9B,CAAC;AAEF;;;;;GAKG;AACH,QAAA,MAAM,cAAc,GAAI,wEAQrB,mBAAmB,4CA+BrB,CAAC;AAEF;;;;;;;;;;;;;GAaG;AACH,QAAA,MAAM,mBAAmB,sCAAgC,CAAC;AAE1D,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,cAAc,EAAE,mBAAmB,EAAE,CAAC"}
@@ -1,14 +1,14 @@
1
- import { jsx as t, jsxs as d } from "react/jsx-runtime";
2
- import { createSafeContext as m, cn as p } from "../../../libs/utils-shared/dist/index.js";
3
- import { cva as l } from "class-variance-authority";
4
- import { createPopoverHandle as v } from "../../../node_modules/@base-ui/react/esm/popover/store/PopoverHandle.js";
5
- import { PopoverRoot as c } from "../../../node_modules/@base-ui/react/esm/popover/root/PopoverRoot.js";
6
- import { PopoverTrigger as f } from "../../../node_modules/@base-ui/react/esm/popover/trigger/PopoverTrigger.js";
7
- import { PopoverPortal as P } from "../../../node_modules/@base-ui/react/esm/popover/portal/PopoverPortal.js";
8
- import { PopoverBackdrop as u } from "../../../node_modules/@base-ui/react/esm/popover/backdrop/PopoverBackdrop.js";
9
- import { PopoverPositioner as g } from "../../../node_modules/@base-ui/react/esm/popover/positioner/PopoverPositioner.js";
10
- import { PopoverPopup as h } from "../../../node_modules/@base-ui/react/esm/popover/popup/PopoverPopup.js";
11
- const [x, b] = m("Popover"), y = l(
1
+ import { jsx as t, jsxs as m } from "react/jsx-runtime";
2
+ import { createSafeContext as l, cn as p } from "../../../libs/utils-shared/dist/index.js";
3
+ import { cva as v } from "class-variance-authority";
4
+ import { createPopoverHandle as c } from "../../../node_modules/@base-ui/react/esm/popover/store/PopoverHandle.js";
5
+ import { PopoverRoot as f } from "../../../node_modules/@base-ui/react/esm/popover/root/PopoverRoot.js";
6
+ import { PopoverTrigger as P } from "../../../node_modules/@base-ui/react/esm/popover/trigger/PopoverTrigger.js";
7
+ import { PopoverPortal as u } from "../../../node_modules/@base-ui/react/esm/popover/portal/PopoverPortal.js";
8
+ import { PopoverBackdrop as g } from "../../../node_modules/@base-ui/react/esm/popover/backdrop/PopoverBackdrop.js";
9
+ import { PopoverPositioner as h } from "../../../node_modules/@base-ui/react/esm/popover/positioner/PopoverPositioner.js";
10
+ import { PopoverPopup as x } from "../../../node_modules/@base-ui/react/esm/popover/popup/PopoverPopup.js";
11
+ const [b, y] = l("Popover"), C = v(
12
12
  ["overflow-hidden rounded-md bg-canvas-sheet p-16 outline-none", "shadow-xl"],
13
13
  {
14
14
  variants: {
@@ -39,19 +39,19 @@ const [x, b] = m("Popover"), y = l(
39
39
  width: "fit"
40
40
  }
41
41
  }
42
- ), C = p(
42
+ ), w = p(
43
43
  "fixed inset-0 z-dialog-overlay bg-canvas-overlay-subtle",
44
44
  "data-open:animate-fade-in",
45
45
  "data-closed:animate-fade-out"
46
- ), q = ({
46
+ ), B = ({
47
47
  open: o,
48
48
  defaultOpen: a,
49
49
  onOpenChange: r,
50
50
  overlay: e = !1,
51
51
  handle: n,
52
52
  children: i
53
- }) => /* @__PURE__ */ t(x, { value: { overlay: e }, children: /* @__PURE__ */ t(
54
- c,
53
+ }) => /* @__PURE__ */ t(b, { value: { overlay: e }, children: /* @__PURE__ */ t(
54
+ f,
55
55
  {
56
56
  open: o,
57
57
  defaultOpen: a,
@@ -60,14 +60,14 @@ const [x, b] = m("Popover"), y = l(
60
60
  handle: n,
61
61
  children: i
62
62
  }
63
- ) }), B = ({
63
+ ) }), O = ({
64
64
  handle: o,
65
65
  payload: a,
66
66
  render: r,
67
67
  className: e,
68
68
  ...n
69
69
  }) => /* @__PURE__ */ t(
70
- f,
70
+ P,
71
71
  {
72
72
  "data-slot": "popover-trigger",
73
73
  handle: o,
@@ -76,28 +76,29 @@ const [x, b] = m("Popover"), y = l(
76
76
  className: p("data-popup-open:z-menu", e),
77
77
  ...n
78
78
  }
79
- ), O = ({
79
+ ), V = ({
80
80
  side: o = "bottom",
81
81
  sideOffset: a = 8,
82
82
  align: r = "start",
83
83
  width: e = "fit",
84
- className: n,
85
- children: i
84
+ initialFocus: n = !1,
85
+ className: i,
86
+ children: s
86
87
  }) => {
87
- const { overlay: s } = b({
88
+ const { overlay: d } = y({
88
89
  consumerName: "PopoverContent",
89
90
  contextRequired: !0
90
91
  });
91
- return /* @__PURE__ */ d(P, { children: [
92
- s && /* @__PURE__ */ t(
93
- u,
92
+ return /* @__PURE__ */ m(u, { children: [
93
+ d && /* @__PURE__ */ t(
94
+ g,
94
95
  {
95
96
  "data-slot": "popover-overlay",
96
- className: C
97
+ className: w
97
98
  }
98
99
  ),
99
100
  /* @__PURE__ */ t(
100
- g,
101
+ h,
101
102
  {
102
103
  "data-slot": "popover-positioner",
103
104
  className: "z-menu",
@@ -105,20 +106,21 @@ const [x, b] = m("Popover"), y = l(
105
106
  sideOffset: a,
106
107
  align: r,
107
108
  children: /* @__PURE__ */ t(
108
- h,
109
+ x,
109
110
  {
110
111
  "data-slot": "popover-content",
111
- className: p(y({ width: e, side: o }), n),
112
- children: i
112
+ initialFocus: n,
113
+ className: p(C({ width: e, side: o }), i),
114
+ children: s
113
115
  }
114
116
  )
115
117
  }
116
118
  )
117
119
  ] });
118
- }, V = v;
120
+ }, A = c;
119
121
  export {
120
- q as Popover,
121
- O as PopoverContent,
122
- B as PopoverTrigger,
123
- V as createPopoverHandle
122
+ B as Popover,
123
+ V as PopoverContent,
124
+ O as PopoverTrigger,
125
+ A as createPopoverHandle
124
126
  };
@@ -1,5 +1,5 @@
1
1
  import { PopoverRootChangeEventDetails, Popover as PopoverNamespace } from '@base-ui/react/popover';
2
- import { ComponentPropsWithRef, ReactNode } from 'react';
2
+ import { ComponentPropsWithRef, ReactNode, RefObject } from 'react';
3
3
  type PopoverHandle<Payload> = PopoverNamespace.Handle<Payload>;
4
4
  export type PopoverWidth = 'fit' | 'fixed';
5
5
  export type PopoverSide = 'top' | 'right' | 'bottom' | 'left';
@@ -110,6 +110,16 @@ export type PopoverContentProps = {
110
110
  * @default 'fit'
111
111
  */
112
112
  width?: PopoverWidth;
113
+ /**
114
+ * Determines the element to focus when the popover is opened.
115
+ *
116
+ * - `false`: Do not move focus.
117
+ * - `true`: Move focus based on the default behavior (first tabbable element or popup).
118
+ * - `RefObject`: Move focus to the ref element.
119
+ *
120
+ * @default false
121
+ */
122
+ initialFocus?: boolean | RefObject<HTMLElement | null>;
113
123
  /**
114
124
  * Additional CSS class names to apply to the popup panel.
115
125
  */
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/lib/Components/Popover/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,6BAA6B,EAC7B,OAAO,IAAI,gBAAgB,EAC5B,MAAM,wBAAwB,CAAC;AAChC,OAAO,KAAK,EAAE,qBAAqB,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAE9D,KAAK,aAAa,CAAC,OAAO,IAAI,gBAAgB,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC;AAE/D,MAAM,MAAM,YAAY,GAAG,KAAK,GAAG,OAAO,CAAC;AAC3C,MAAM,MAAM,WAAW,GAAG,KAAK,GAAG,OAAO,GAAG,QAAQ,GAAG,MAAM,CAAC;AAC9D,MAAM,MAAM,YA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,GAAG,SAAS,CAAA;KAAE,KAAK,SAAS,CAAC,CAAC;CAC/E,CAAC;AAEF;;;GAGG;AACH,MAAM,MAAM,mBAAmB,CAAC,OAAO,GAAG,OAAO,IAAI;IACnD;;;OAGG;IACH,MAAM,CAAC,EAAE,aAAa,CAAC,OAAO,CAAC,CAAC;IAEhC;;;OAGG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAElB;;;;;OAKG;IACH,MAAM,CAAC,EAAE,gBAAgB,CAAC,OAAO,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC;CACnD,GAAG,IAAI,CAAC,qBAAqB,CAAC,QAAQ,CAAC,EAAE,UAAU,CAAC,CAAC;AAEtD;;;;;GAKG;AACH,MAAM,MAAM,mBAAmB,GAAG;IAChC;;;;;OAKG;IACH,IAAI,CAAC,EAAE,WAAW,CAAC;IAEnB;;;;OAIG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB;;;;;OAKG;IACH,KAAK,CAAC,EAAE,YAAY,CAAC;IAErB;;;;;;OAMG;IACH,KAAK,CAAC,EAAE,YAAY,CAAC;IAErB;;;;;;;;OAQG;IACH,YAAY,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC,WAAW,GAAG,IAAI,CAAC,CAAC;IAEvD;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,mBAAmB,GAAG;IAChC,OAAO,EAAE,OAAO,CAAC;CAClB,CAAC"}
@@ -1,4 +1,4 @@
1
- import { SelectProps, SelectTriggerProps, SelectContentProps, SelectListProps, SelectSearchProps, SelectItemTextProps, SelectItemProps, SelectItemContentProps, SelectItemDescriptionProps, SelectSeparatorProps, SelectEmptyStateProps, SelectTriggerButtonProps } from './types';
1
+ import { SelectProps, SelectTriggerProps, SelectContentProps, SelectListProps, SelectSearchProps, SelectItemTextProps, SelectItemProps, SelectItemContentProps, SelectItemDescriptionProps, SelectSeparatorProps, SelectEmptyStateProps } from './types';
2
2
  declare function Select({ value, defaultValue, onValueChange, disabled: disabledProp, items, filter, filteredItems, searchValue: searchValueProp, defaultSearchValue, onSearchValueChange, open, defaultOpen, onOpenChange, name, required, children, }: SelectProps): import("react/jsx-runtime").JSX.Element;
3
3
  declare const SelectTrigger: ({ render, disabled, ...props }: SelectTriggerProps) => import("react/jsx-runtime").JSX.Element;
4
4
  declare const SelectContent: ({ ref, className, children, side, sideOffset, align, autoFocusSearch, ...props }: SelectContentProps) => import("react/jsx-runtime").JSX.Element;
@@ -10,6 +10,5 @@ declare const SelectItemContent: ({ ref, className, children, ...props }: Select
10
10
  declare const SelectItemDescription: ({ ref, className, children, ...props }: SelectItemDescriptionProps) => import("react/jsx-runtime").JSX.Element;
11
11
  declare const SelectSearch: ({ className, placeholder, errorMessage, "aria-invalid": ariaInvalid, suffix, onClear, hideClearButton, }: SelectSearchProps) => import("react/jsx-runtime").JSX.Element;
12
12
  declare const SelectEmptyState: ({ ref, className, title, description, ...props }: SelectEmptyStateProps) => import("react/jsx-runtime").JSX.Element;
13
- declare const SelectTriggerButton: ({ selectedValue, selectedContent, label, ...props }: SelectTriggerButtonProps) => import("react/jsx-runtime").JSX.Element;
14
- export { Select, SelectTrigger, SelectContent, SelectSearch, SelectList, SelectItemText, SelectItemContent, SelectItemDescription, SelectItem, SelectSeparator, SelectEmptyState, SelectTriggerButton, };
13
+ export { Select, SelectTrigger, SelectContent, SelectSearch, SelectList, SelectItemText, SelectItemContent, SelectItemDescription, SelectItem, SelectSeparator, SelectEmptyState, };
15
14
  //# sourceMappingURL=Select.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Select.d.ts","sourceRoot":"","sources":["../../../../src/lib/Components/Select/Select.tsx"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAEV,WAAW,EACX,kBAAkB,EAClB,kBAAkB,EAClB,eAAe,EACf,iBAAiB,EAEjB,mBAAmB,E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