@schandlergarcia/sf-web-components 1.2.0 → 1.2.2

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,22 +1,44 @@
1
1
  /**
2
- * HeroUI v3 Select compound component.
2
+ * HeroUI v3 Select wrapper with shadcn compatibility.
3
3
  *
4
- * Sub-components via dot notation on the named `Select` export:
5
- * Select.Trigger, Select.Value, Select.Popover,
6
- * Select.ListBox, Select.Item, Select.Section
4
+ * Translates shadcn API to HeroUI:
5
+ * - onValueChange -> onSelectionChange
6
+ * - value -> selectedKeys
7
+ */
8
+ export default function HeroUISelect({ value, onValueChange, children, ...props }: {
9
+ [x: string]: any;
10
+ value: any;
11
+ onValueChange: any;
12
+ children: any;
13
+ }): import("react/jsx-runtime").JSX.Element;
14
+ /**
15
+ * HeroUI v3 Select wrapper with shadcn compatibility.
7
16
  *
8
- * @example
9
- * import { Select } from "@/components/library";
10
- * <Select>
11
- * <Select.Trigger><Select.Value placeholder="Pick one" /></Select.Trigger>
12
- * <Select.Popover>
13
- * <Select.ListBox>
14
- * <Select.Item id="a">Option A</Select.Item>
15
- * <Select.Item id="b">Option B</Select.Item>
16
- * </Select.ListBox>
17
- * </Select.Popover>
18
- * </Select>
17
+ * Translates shadcn API to HeroUI:
18
+ * - onValueChange -> onSelectionChange
19
+ * - value -> selectedKeys
19
20
  */
20
- export default function HeroUISelect(props: any): import("react/jsx-runtime").JSX.Element;
21
- export { Select };
22
- import { Select } from "@heroui/react";
21
+ export function Select({ value, onValueChange, children, ...props }: {
22
+ [x: string]: any;
23
+ value: any;
24
+ onValueChange: any;
25
+ children: any;
26
+ }): import("react/jsx-runtime").JSX.Element;
27
+ export function SelectTrigger({ children, size, ...props }: {
28
+ [x: string]: any;
29
+ children: any;
30
+ size: any;
31
+ }): import("react/jsx-runtime").JSX.Element;
32
+ export function SelectValue({ placeholder, ...props }: {
33
+ [x: string]: any;
34
+ placeholder: any;
35
+ }): import("react/jsx-runtime").JSX.Element;
36
+ export function SelectContent({ children, ...props }: {
37
+ [x: string]: any;
38
+ children: any;
39
+ }): import("react/jsx-runtime").JSX.Element;
40
+ export function SelectItem({ value, children, ...props }: {
41
+ [x: string]: any;
42
+ value: any;
43
+ children: any;
44
+ }): import("react/jsx-runtime").JSX.Element;
@@ -1,12 +1,23 @@
1
1
  import { jsx as r } from "react/jsx-runtime";
2
2
  import "react";
3
- import { Select as t } from "@heroui/react";
4
- import { Select as l } from "@heroui/react";
5
- function p(e) {
6
- return /* @__PURE__ */ r(t, { ...e });
3
+ import { Select as s } from "@heroui/react";
4
+ function a({ value: e, onValueChange: t, children: o, ...n }) {
5
+ return /* @__PURE__ */ r(
6
+ s,
7
+ {
8
+ selectedKeys: e ? [e] : [],
9
+ onSelectionChange: (c) => {
10
+ const l = Array.from(c)[0];
11
+ t?.(l || "");
12
+ },
13
+ ...n,
14
+ children: o
15
+ }
16
+ );
7
17
  }
18
+ const h = a;
8
19
  export {
9
- l as Select,
10
- p as default
20
+ h as Select,
21
+ a as default
11
22
  };
12
23
  //# sourceMappingURL=Select.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Select.js","sources":["../../../../src/components/library/heroui/Select.jsx"],"sourcesContent":["import React from \"react\";\nimport { Select } from \"@heroui/react\";\n\n/**\n * HeroUI v3 Select compound component.\n *\n * Sub-components via dot notation on the named `Select` export:\n * Select.Trigger, Select.Value, Select.Popover,\n * Select.ListBox, Select.Item, Select.Section\n *\n * @example\n * import { Select } from \"@/components/library\";\n * <Select>\n * <Select.Trigger><Select.Value placeholder=\"Pick one\" /></Select.Trigger>\n * <Select.Popover>\n * <Select.ListBox>\n * <Select.Item id=\"a\">Option A</Select.Item>\n * <Select.Item id=\"b\">Option B</Select.Item>\n * </Select.ListBox>\n * </Select.Popover>\n * </Select>\n */\nexport default function HeroUISelect(props) {\n return <Select {...props} />;\n}\n\nexport { Select };\n"],"names":["HeroUISelect","props","jsx","Select"],"mappings":";;;;AAsBA,SAAwBA,EAAaC,GAAO;AAC1C,SAAO,gBAAAC,EAACC,GAAA,EAAQ,GAAGF,EAAA,CAAO;AAC5B;"}
1
+ {"version":3,"file":"Select.js","sources":["../../../../src/components/library/heroui/Select.jsx"],"sourcesContent":["import React from \"react\";\nimport { Select as HeroSelect } from \"@heroui/react\";\n\n/**\n * HeroUI v3 Select wrapper with shadcn compatibility.\n *\n * Translates shadcn API to HeroUI:\n * - onValueChange -> onSelectionChange\n * - value -> selectedKeys\n */\nexport default function HeroUISelect({ value, onValueChange, children, ...props }) {\n // Translate shadcn API to HeroUI API\n const selectedKeys = value ? [value] : [];\n const handleSelectionChange = (keys) => {\n const selected = Array.from(keys)[0];\n onValueChange?.(selected || \"\");\n };\n\n return (\n <HeroSelect\n selectedKeys={selectedKeys}\n onSelectionChange={handleSelectionChange}\n {...props}\n >\n {children}\n </HeroSelect>\n );\n}\n\n// For direct HeroUI usage\nexport const Select = HeroUISelect;\n\n// Shadcn-compatible subcomponents that just pass through children\nexport const SelectTrigger = ({ children, size, ...props }) => <>{children}</>;\nexport const SelectValue = ({ placeholder, ...props }) => <span {...props}>{placeholder}</span>;\nexport const SelectContent = ({ children, ...props }) => <>{children}</>;\nexport const SelectItem = ({ value, children, ...props }) => <HeroSelect.Item key={value} {...props}>{children}</HeroSelect.Item>;\n"],"names":["HeroUISelect","value","onValueChange","children","props","jsx","HeroSelect","keys","selected","Select"],"mappings":";;;AAUA,SAAwBA,EAAa,EAAE,OAAAC,GAAO,eAAAC,GAAe,UAAAC,GAAU,GAAGC,KAAS;AAQjF,SACE,gBAAAC;AAAA,IAACC;AAAAA,IAAA;AAAA,MACC,cARiBL,IAAQ,CAACA,CAAK,IAAI,CAAA;AAAA,MASnC,mBAR0B,CAACM,MAAS;AACtC,cAAMC,IAAW,MAAM,KAAKD,CAAI,EAAE,CAAC;AACnC,QAAAL,IAAgBM,KAAY,EAAE;AAAA,MAChC;AAAA,MAMK,GAAGJ;AAAA,MAEH,UAAAD;AAAA,IAAA;AAAA,EAAA;AAGP;AAGO,MAAMM,IAAST;"}
@@ -2,13 +2,13 @@ import a from "react";
2
2
  import { default as M, useThemeMode as y } from "./theme/AppThemeProvider.js";
3
3
  import "react/jsx-runtime";
4
4
  import { Dialog as H, DialogClose as j, DialogContent as z, DialogDescription as F, DialogFooter as G, DialogHeader as K, DialogOverlay as O, DialogPortal as R, DialogTitle as U, DialogTrigger as V, default as $ } from "./heroui/Dialog.js";
5
- import { Breadcrumbs as A, Kbd as J, Pagination as Q, ScrollShadow as W, Select as X, Separator as Y, Skeleton as Z } from "@heroui/react";
5
+ import { Breadcrumbs as A, Kbd as J, Pagination as Q, ScrollShadow as W, Separator as X, Skeleton as Y } from "@heroui/react";
6
6
  import "framer-motion";
7
7
  import "@heroicons/react/24/outline";
8
8
  import "d3";
9
- import { default as ee } from "./charts/GeoMap.js";
9
+ import { default as _ } from "./charts/GeoMap.js";
10
10
  import "react-dom";
11
- import { default as ae, useDataMode as re } from "./data/DataModeProvider.js";
11
+ import { default as te, useDataMode as ae } from "./data/DataModeProvider.js";
12
12
  import "@heroicons/react/24/solid";
13
13
  const g = ({ children: e, ...t }) => a.createElement("nav", { "aria-label": "breadcrumb", ...t }, e), u = ({ children: e, ...t }) => a.createElement("ol", { className: "flex flex-wrap items-center gap-1.5 break-words text-sm text-slate-500 dark:text-slate-400", ...t }, e), x = ({ children: e, ...t }) => a.createElement("li", { className: "inline-flex items-center gap-1.5", ...t }, e), E = ({ href: e, children: t, asChild: r, ...o }) => r ? a.createElement("span", o, t) : a.createElement("a", { href: e, className: "transition-colors hover:text-slate-900 dark:hover:text-slate-50", ...o }, t), b = ({ children: e, ...t }) => a.createElement("span", { role: "link", "aria-disabled": "true", "aria-current": "page", className: "font-normal text-slate-900 dark:text-slate-50", ...t }, e), f = ({ children: e, ...t }) => a.createElement("li", { role: "presentation", "aria-hidden": "true", ...t }, e ?? "/"), D = (e) => a.createElement("span", { role: "presentation", "aria-hidden": "true", ...e }, "..."), P = ({ children: e, ...t }) => a.createElement("ul", { className: "flex flex-row items-center gap-1", ...t }, e), v = ({ children: e, ...t }) => a.createElement("li", t, e), n = ({ href: e, isActive: t, children: r, ...o }) => a.createElement("a", { href: e, "aria-current": t ? "page" : void 0, className: `inline-flex items-center justify-center rounded-md text-sm font-medium h-9 min-w-9 px-4 py-2 ${t ? "bg-slate-900 text-white dark:bg-slate-50 dark:text-slate-900" : "hover:bg-slate-100 dark:hover:bg-slate-800"}`, ...o }, r), h = ({ href: e, ...t }) => a.createElement(n, { href: e, ...t }, "Previous"), k = ({ href: e, ...t }) => a.createElement(n, { href: e, ...t }, "Next"), S = (e) => a.createElement("span", { "aria-hidden": !0, ...e }, "..."), B = ({ children: e, size: t, ...r }) => a.createElement("button", r, e), N = ({ placeholder: e, ...t }) => a.createElement("span", t, e), w = ({ children: e, ...t }) => a.createElement("div", t, e), T = ({ children: e, ...t }) => a.createElement("div", t, e);
14
14
  export {
@@ -21,7 +21,7 @@ export {
21
21
  b as BreadcrumbPage,
22
22
  f as BreadcrumbSeparator,
23
23
  A as Breadcrumbs,
24
- ae as DataModeProvider,
24
+ te as DataModeProvider,
25
25
  H as Dialog,
26
26
  j as DialogClose,
27
27
  z as DialogContent,
@@ -32,7 +32,7 @@ export {
32
32
  R as DialogPortal,
33
33
  U as DialogTitle,
34
34
  V as DialogTrigger,
35
- ee as GeoMap,
35
+ _ as GeoMap,
36
36
  $ as HeroUIDialog,
37
37
  J as Kbd,
38
38
  Q as Pagination,
@@ -43,14 +43,13 @@ export {
43
43
  k as PaginationNext,
44
44
  h as PaginationPrevious,
45
45
  W as ScrollShadow,
46
- X as Select,
47
46
  w as SelectContent,
48
47
  T as SelectItem,
49
48
  B as SelectTrigger,
50
49
  N as SelectValue,
51
- Y as Separator,
52
- Z as Skeleton,
53
- re as useDataMode,
50
+ X as Separator,
51
+ Y as Skeleton,
52
+ ae as useDataMode,
54
53
  y as useThemeMode
55
54
  };
56
55
  //# sourceMappingURL=index.js.map
@@ -1,6 +1,7 @@
1
- export default function Label({ children, htmlFor, className, ...rest }: {
1
+ export default function Label({ children, htmlFor, required, className, ...rest }: {
2
2
  [x: string]: any;
3
3
  children: any;
4
4
  htmlFor: any;
5
+ required: any;
5
6
  className?: string | undefined;
6
7
  }): import("react/jsx-runtime").JSX.Element;
@@ -1,20 +1,23 @@
1
- import { jsx as o } from "react/jsx-runtime";
1
+ import { jsxs as i, jsx as r } from "react/jsx-runtime";
2
2
  import "react";
3
- function s({ children: t, htmlFor: e, className: a = "", ...l }) {
4
- return /* @__PURE__ */ o(
5
- "label",
3
+ function m({ children: a, htmlFor: e, required: s, className: l = "", ...t }) {
4
+ const n = e ? "label" : "div", o = e ? { htmlFor: e, ...t } : t;
5
+ return /* @__PURE__ */ i(
6
+ n,
6
7
  {
7
- htmlFor: e,
8
+ ...o,
8
9
  className: [
9
- "block text-sm font-medium text-slate-700 dark:text-slate-200",
10
- a
10
+ "text-sm font-medium text-slate-700 dark:text-slate-200",
11
+ l
11
12
  ].filter(Boolean).join(" "),
12
- ...l,
13
- children: t
13
+ children: [
14
+ a,
15
+ s && /* @__PURE__ */ r("span", { className: "ml-0.5 text-red-500", children: "*" })
16
+ ]
14
17
  }
15
18
  );
16
19
  }
17
20
  export {
18
- s as default
21
+ m as default
19
22
  };
20
23
  //# sourceMappingURL=Label.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Label.js","sources":["../../../../src/components/library/ui/Label.jsx"],"sourcesContent":["import React from \"react\";\n\nexport default function Label({ children, htmlFor, className = \"\", ...rest }) {\n return (\n <label\n htmlFor={htmlFor}\n className={[\n \"block text-sm font-medium text-slate-700 dark:text-slate-200\",\n className\n ]\n .filter(Boolean)\n .join(\" \")}\n {...rest}\n >\n {children}\n </label>\n );\n}\n"],"names":["Label","children","htmlFor","className","rest","jsx"],"mappings":";;AAEA,SAAwBA,EAAM,EAAE,UAAAC,GAAU,SAAAC,GAAS,WAAAC,IAAY,IAAI,GAAGC,KAAQ;AAC5E,SACE,gBAAAC;AAAA,IAAC;AAAA,IAAA;AAAA,MACC,SAAAH;AAAA,MACA,WAAW;AAAA,QACT;AAAA,QACAC;AAAA,MAAA,EAEC,OAAO,OAAO,EACd,KAAK,GAAG;AAAA,MACV,GAAGC;AAAA,MAEH,UAAAH;AAAA,IAAA;AAAA,EAAA;AAGP;"}
1
+ {"version":3,"file":"Label.js","sources":["../../../../src/components/library/ui/Label.jsx"],"sourcesContent":["import React from \"react\";\n\nexport default function Label({ children, htmlFor, required, className = \"\", ...rest }) {\n // If no htmlFor provided, render as div for compatibility\n const Tag = htmlFor ? 'label' : 'div';\n const props = htmlFor ? { htmlFor, ...rest } : rest;\n\n return (\n <Tag\n {...props}\n className={[\n \"text-sm font-medium text-slate-700 dark:text-slate-200\",\n className\n ]\n .filter(Boolean)\n .join(\" \")}\n >\n {children}\n {required && <span className=\"ml-0.5 text-red-500\">*</span>}\n </Tag>\n );\n}\n"],"names":["Label","children","htmlFor","required","className","rest","Tag","props","jsxs","jsx"],"mappings":";;AAEA,SAAwBA,EAAM,EAAE,UAAAC,GAAU,SAAAC,GAAS,UAAAC,GAAU,WAAAC,IAAY,IAAI,GAAGC,KAAQ;AAEtF,QAAMC,IAAMJ,IAAU,UAAU,OAC1BK,IAAQL,IAAU,EAAE,SAAAA,GAAS,GAAGG,MAASA;AAE/C,SACE,gBAAAG;AAAA,IAACF;AAAA,IAAA;AAAA,MACE,GAAGC;AAAA,MACJ,WAAW;AAAA,QACT;AAAA,QACAH;AAAA,MAAA,EAEC,OAAO,OAAO,EACd,KAAK,GAAG;AAAA,MAEV,UAAA;AAAA,QAAAH;AAAA,QACAE,KAAY,gBAAAM,EAAC,QAAA,EAAK,WAAU,uBAAsB,UAAA,IAAA,CAAC;AAAA,MAAA;AAAA,IAAA;AAAA,EAAA;AAG1D;"}
package/dist/index.js CHANGED
@@ -52,37 +52,37 @@ import { default as Kr, Popover as Rr, PopoverContent as Gr, PopoverTrigger as V
52
52
  import { default as Nr } from "./components/library/heroui/ProgressBar.js";
53
53
  import { default as jr } from "./components/library/heroui/ProgressCircle.js";
54
54
  import { default as zr } from "./components/library/heroui/ScrollShadow.js";
55
- import { default as Qr } from "./components/library/heroui/Select.js";
56
- import { default as Yr } from "./components/library/heroui/Separator.js";
57
- import { default as _r } from "./components/library/heroui/Skeleton.js";
58
- import { default as eo } from "./components/library/heroui/Tabs.js";
59
- import { default as oo } from "./components/library/heroui/Toast.js";
60
- import { default as to } from "./components/library/heroui/Toggle.js";
61
- import { default as fo } from "./components/library/heroui/Tooltip.js";
62
- import { default as po } from "./components/library/ui/Label.js";
63
- import { default as uo } from "./components/library/cards/ListCard.js";
64
- import { default as xo } from "./components/library/cards/MetricCard.js";
65
- import { default as go } from "./components/library/cards/MetricsStrip.js";
66
- import { default as co } from "./components/library/layout/PageContainer.js";
67
- import { default as Uo } from "./components/library/filters/SearchFilter.js";
68
- import { default as Ho } from "./components/library/cards/SectionCard.js";
69
- import { default as So } from "./components/library/filters/SelectFilter.js";
70
- import { default as ho } from "./components/library/ui/Spinner.js";
71
- import { default as Fo } from "./components/library/cards/StatusCard.js";
72
- import { default as ko } from "./components/library/cards/TableCard.js";
73
- import { default as yo } from "./components/library/filters/ToggleFilter.js";
74
- import { default as vo } from "./components/library/ui/UIButton.js";
75
- import { Card as wo, CardContent as Eo, CardDescription as Ko, CardFooter as Ro, CardHeader as Go, CardTitle as Vo, default as Wo } from "./components/library/ui/Card.js";
76
- import { default as Oo } from "./components/library/ui/Chip.js";
77
- import { default as qo } from "./components/library/ui/Container.js";
78
- import { default as Jo } from "./components/library/ui/UIInput.js";
79
- import { default as Xo } from "./components/library/ui/Text.js";
80
- import { default as Zo } from "./components/library/cards/WidgetCard.js";
81
- import { default as $o } from "./components/library/chat/useChatState.js";
82
- import { default as ra } from "./components/library/data/useDataSource.js";
83
- import { default as aa } from "./components/library/forms/useFormState.js";
84
- import { default as la } from "./components/library/data/usePageFilters.js";
85
- import { Breadcrumbs as da, Kbd as sa, Pagination as pa, ScrollShadow as ma, Select as ua, Separator as ia, Skeleton as xa } from "@heroui/react";
55
+ import { default as Qr, Select as Xr } from "./components/library/heroui/Select.js";
56
+ import { default as Zr } from "./components/library/heroui/Separator.js";
57
+ import { default as $r } from "./components/library/heroui/Skeleton.js";
58
+ import { default as ro } from "./components/library/heroui/Tabs.js";
59
+ import { default as ao } from "./components/library/heroui/Toast.js";
60
+ import { default as lo } from "./components/library/heroui/Toggle.js";
61
+ import { default as so } from "./components/library/heroui/Tooltip.js";
62
+ import { default as mo } from "./components/library/ui/Label.js";
63
+ import { default as io } from "./components/library/cards/ListCard.js";
64
+ import { default as no } from "./components/library/cards/MetricCard.js";
65
+ import { default as Co } from "./components/library/cards/MetricsStrip.js";
66
+ import { default as Io } from "./components/library/layout/PageContainer.js";
67
+ import { default as Do } from "./components/library/filters/SearchFilter.js";
68
+ import { default as Po } from "./components/library/cards/SectionCard.js";
69
+ import { default as To } from "./components/library/filters/SelectFilter.js";
70
+ import { default as Bo } from "./components/library/ui/Spinner.js";
71
+ import { default as bo } from "./components/library/cards/StatusCard.js";
72
+ import { default as Mo } from "./components/library/cards/TableCard.js";
73
+ import { default as Ao } from "./components/library/filters/ToggleFilter.js";
74
+ import { default as Lo } from "./components/library/ui/UIButton.js";
75
+ import { Card as Eo, CardContent as Ko, CardDescription as Ro, CardFooter as Go, CardHeader as Vo, CardTitle as Wo, default as No } from "./components/library/ui/Card.js";
76
+ import { default as jo } from "./components/library/ui/Chip.js";
77
+ import { default as zo } from "./components/library/ui/Container.js";
78
+ import { default as Qo } from "./components/library/ui/UIInput.js";
79
+ import { default as Yo } from "./components/library/ui/Text.js";
80
+ import { default as _o } from "./components/library/cards/WidgetCard.js";
81
+ import { default as ea } from "./components/library/chat/useChatState.js";
82
+ import { default as oa } from "./components/library/data/useDataSource.js";
83
+ import { default as ta } from "./components/library/forms/useFormState.js";
84
+ import { default as fa } from "./components/library/data/usePageFilters.js";
85
+ import { Breadcrumbs as sa, Kbd as pa, Pagination as ma, ScrollShadow as ua, Separator as ia, Skeleton as xa } from "@heroui/react";
86
86
  import { D3ChartTemplates as ga } from "./components/library/charts/D3ChartTemplates.js";
87
87
  import { applyFilters as ca, filterByDateRange as Ia, filterBySearch as Ua, filterByToggle as Da, filterByValue as Ha, sortByKey as Pa } from "./components/library/data/filterUtils.js";
88
88
  export {
@@ -102,15 +102,15 @@ export {
102
102
  s as BreadcrumbList,
103
103
  p as BreadcrumbPage,
104
104
  m as BreadcrumbSeparator,
105
- da as Breadcrumbs,
105
+ sa as Breadcrumbs,
106
106
  R as CalloutCard,
107
- wo as Card,
108
- Eo as CardContent,
109
- Ko as CardDescription,
110
- Ro as CardFooter,
111
- Go as CardHeader,
107
+ Eo as Card,
108
+ Ko as CardContent,
109
+ Ro as CardDescription,
110
+ Go as CardFooter,
111
+ Vo as CardHeader,
112
112
  V as CardSkeleton,
113
- Vo as CardTitle,
113
+ Wo as CardTitle,
114
114
  N as ChartCard,
115
115
  j as ChatBar,
116
116
  z as ChatInput,
@@ -179,19 +179,19 @@ export {
179
179
  jr as HeroUIProgressCircle,
180
180
  zr as HeroUIScrollShadow,
181
181
  Qr as HeroUISelect,
182
- Yr as HeroUISeparator,
183
- _r as HeroUISkeleton,
184
- eo as HeroUITabs,
185
- oo as HeroUIToast,
186
- to as HeroUIToggle,
187
- fo as HeroUITooltip,
188
- sa as Kbd,
189
- po as Label,
190
- uo as ListCard,
191
- xo as MetricCard,
192
- go as MetricsStrip,
193
- co as PageContainer,
194
- pa as Pagination,
182
+ Zr as HeroUISeparator,
183
+ $r as HeroUISkeleton,
184
+ ro as HeroUITabs,
185
+ ao as HeroUIToast,
186
+ lo as HeroUIToggle,
187
+ so as HeroUITooltip,
188
+ pa as Kbd,
189
+ mo as Label,
190
+ io as ListCard,
191
+ no as MetricCard,
192
+ Co as MetricsStrip,
193
+ Io as PageContainer,
194
+ ma as Pagination,
195
195
  u as PaginationContent,
196
196
  i as PaginationEllipsis,
197
197
  x as PaginationItem,
@@ -201,28 +201,28 @@ export {
201
201
  Rr as Popover,
202
202
  Gr as PopoverContent,
203
203
  Vr as PopoverTrigger,
204
- ma as ScrollShadow,
205
- Uo as SearchFilter,
206
- Ho as SectionCard,
207
- ua as Select,
204
+ ua as ScrollShadow,
205
+ Do as SearchFilter,
206
+ Po as SectionCard,
207
+ Xr as Select,
208
208
  c as SelectContent,
209
- So as SelectFilter,
209
+ To as SelectFilter,
210
210
  I as SelectItem,
211
211
  U as SelectTrigger,
212
212
  D as SelectValue,
213
213
  ia as Separator,
214
214
  xa as Skeleton,
215
- ho as Spinner,
216
- Fo as StatusCard,
217
- ko as TableCard,
218
- yo as ToggleFilter,
219
- vo as UIButton,
220
- Wo as UICard,
221
- Oo as UIChip,
222
- qo as UIContainer,
223
- Jo as UIInput,
224
- Xo as UIText,
225
- Zo as WidgetCard,
215
+ Bo as Spinner,
216
+ bo as StatusCard,
217
+ Mo as TableCard,
218
+ Ao as ToggleFilter,
219
+ Lo as UIButton,
220
+ No as UICard,
221
+ jo as UIChip,
222
+ zo as UIContainer,
223
+ Qo as UIInput,
224
+ Yo as UIText,
225
+ _o as WidgetCard,
226
226
  ca as applyFilters,
227
227
  o as cn,
228
228
  Ia as filterByDateRange,
@@ -230,11 +230,11 @@ export {
230
230
  Da as filterByToggle,
231
231
  Ha as filterByValue,
232
232
  Pa as sortByKey,
233
- $o as useChatState,
233
+ ea as useChatState,
234
234
  xe as useDataMode,
235
- ra as useDataSource,
236
- aa as useFormState,
237
- la as usePageFilters,
235
+ oa as useDataSource,
236
+ ta as useFormState,
237
+ fa as usePageFilters,
238
238
  A as useThemeMode
239
239
  };
240
240
  //# sourceMappingURL=index.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@schandlergarcia/sf-web-components",
3
- "version": "1.2.0",
3
+ "version": "1.2.2",
4
4
  "description": "Reusable Salesforce web components library with Tailwind CSS v4 and shadcn/ui",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -1,5 +1,5 @@
1
1
  import { useNavigate } from "react-router";
2
- import { Button } from '@schandlergarcia/sf-web-components';
2
+ import { UIButton } from '@schandlergarcia/sf-web-components';
3
3
 
4
4
  export default function NotFound() {
5
5
  const navigate = useNavigate();
@@ -12,7 +12,7 @@ export default function NotFound() {
12
12
  <p className="text-lg text-slate-600 dark:text-slate-400 mb-8">
13
13
  The page you're looking for doesn't exist.
14
14
  </p>
15
- <Button onClick={() => navigate("/")}>Go Home</Button>
15
+ <UIButton onClick={() => navigate("/")}>Go Home</UIButton>
16
16
  </div>
17
17
  </div>
18
18
  );