@schandlergarcia/sf-web-components 1.2.3 → 1.2.4
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/components/library/heroui/Button.d.ts +30 -2
- package/dist/components/library/heroui/Button.js +37 -10
- package/dist/components/library/heroui/Button.js.map +1 -1
- package/dist/components/library/index.d.ts +1 -1
- package/dist/components/library/index.js.map +1 -1
- package/dist/index.js +147 -146
- package/package.json +1 -1
- package/src/templates/pages/NotFound.tsx.template +2 -2
|
@@ -1,6 +1,34 @@
|
|
|
1
|
-
|
|
1
|
+
/**
|
|
2
|
+
* HeroUI v3 Button wrapper with shadcn compatibility.
|
|
3
|
+
*
|
|
4
|
+
* Maps shadcn variants to HeroUI:
|
|
5
|
+
* - primary/secondary/destructive -> solid
|
|
6
|
+
* - outline -> bordered
|
|
7
|
+
* - ghost -> light
|
|
8
|
+
*/
|
|
9
|
+
export default function HeroUIButton({ variant, size, fullWidth, onClick, children, className, ...props }: {
|
|
2
10
|
[x: string]: any;
|
|
3
|
-
|
|
11
|
+
variant?: string | undefined;
|
|
4
12
|
size?: string | undefined;
|
|
5
13
|
fullWidth: any;
|
|
14
|
+
onClick: any;
|
|
15
|
+
children: any;
|
|
16
|
+
className?: string | undefined;
|
|
17
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
18
|
+
/**
|
|
19
|
+
* HeroUI v3 Button wrapper with shadcn compatibility.
|
|
20
|
+
*
|
|
21
|
+
* Maps shadcn variants to HeroUI:
|
|
22
|
+
* - primary/secondary/destructive -> solid
|
|
23
|
+
* - outline -> bordered
|
|
24
|
+
* - ghost -> light
|
|
25
|
+
*/
|
|
26
|
+
export function Button({ variant, size, fullWidth, onClick, children, className, ...props }: {
|
|
27
|
+
[x: string]: any;
|
|
28
|
+
variant?: string | undefined;
|
|
29
|
+
size?: string | undefined;
|
|
30
|
+
fullWidth: any;
|
|
31
|
+
onClick: any;
|
|
32
|
+
children: any;
|
|
33
|
+
className?: string | undefined;
|
|
6
34
|
}): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,18 +1,45 @@
|
|
|
1
|
-
import { jsx as
|
|
1
|
+
import { jsx as c } from "react/jsx-runtime";
|
|
2
2
|
import "react";
|
|
3
|
-
import { Button as
|
|
4
|
-
function
|
|
5
|
-
|
|
6
|
-
|
|
3
|
+
import { Button as m } from "@heroui/react";
|
|
4
|
+
function p({
|
|
5
|
+
variant: o = "primary",
|
|
6
|
+
size: r = "md",
|
|
7
|
+
fullWidth: t,
|
|
8
|
+
onClick: e,
|
|
9
|
+
children: a,
|
|
10
|
+
className: i = "",
|
|
11
|
+
...n
|
|
12
|
+
}) {
|
|
13
|
+
const s = {
|
|
14
|
+
primary: "solid",
|
|
15
|
+
secondary: "solid",
|
|
16
|
+
destructive: "solid",
|
|
17
|
+
outline: "bordered",
|
|
18
|
+
ghost: "light"
|
|
19
|
+
}, d = {
|
|
20
|
+
primary: "primary",
|
|
21
|
+
secondary: "default",
|
|
22
|
+
destructive: "danger",
|
|
23
|
+
outline: "default",
|
|
24
|
+
ghost: "default"
|
|
25
|
+
}, l = s[o] || "solid", u = d[o] || "primary";
|
|
26
|
+
return /* @__PURE__ */ c(
|
|
27
|
+
m,
|
|
7
28
|
{
|
|
8
|
-
variant:
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
29
|
+
variant: l,
|
|
30
|
+
color: u,
|
|
31
|
+
size: r,
|
|
32
|
+
fullWidth: t,
|
|
33
|
+
onPress: e,
|
|
34
|
+
className: i,
|
|
35
|
+
...n,
|
|
36
|
+
children: a
|
|
12
37
|
}
|
|
13
38
|
);
|
|
14
39
|
}
|
|
40
|
+
const g = p;
|
|
15
41
|
export {
|
|
16
|
-
|
|
42
|
+
g as Button,
|
|
43
|
+
p as default
|
|
17
44
|
};
|
|
18
45
|
//# sourceMappingURL=Button.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Button.js","sources":["../../../../src/components/library/heroui/Button.jsx"],"sourcesContent":["import React from \"react\";\nimport { Button } from \"@heroui/react\";\n\nexport default function HeroUIButton({
|
|
1
|
+
{"version":3,"file":"Button.js","sources":["../../../../src/components/library/heroui/Button.jsx"],"sourcesContent":["import React from \"react\";\nimport { Button as HeroButton } from \"@heroui/react\";\n\n/**\n * HeroUI v3 Button wrapper with shadcn compatibility.\n *\n * Maps shadcn variants to HeroUI:\n * - primary/secondary/destructive -> solid\n * - outline -> bordered\n * - ghost -> light\n */\nexport default function HeroUIButton({\n variant = \"primary\",\n size = \"md\",\n fullWidth,\n onClick,\n children,\n className = \"\",\n ...props\n}) {\n // Map shadcn variants to HeroUI variants\n const variantMap = {\n primary: \"solid\",\n secondary: \"solid\",\n destructive: \"solid\",\n outline: \"bordered\",\n ghost: \"light\"\n };\n\n // Map shadcn variants to HeroUI colors\n const colorMap = {\n primary: \"primary\",\n secondary: \"default\",\n destructive: \"danger\",\n outline: \"default\",\n ghost: \"default\"\n };\n\n const heroVariant = variantMap[variant] || \"solid\";\n const heroColor = colorMap[variant] || \"primary\";\n\n return (\n <HeroButton\n variant={heroVariant}\n color={heroColor}\n size={size}\n fullWidth={fullWidth}\n onPress={onClick}\n className={className}\n {...props}\n >\n {children}\n </HeroButton>\n );\n}\n\n// Also export as Button for shadcn compatibility\nexport const Button = HeroUIButton;\n"],"names":["HeroUIButton","variant","size","fullWidth","onClick","children","className","props","variantMap","colorMap","heroVariant","heroColor","jsx","HeroButton","Button"],"mappings":";;;AAWA,SAAwBA,EAAa;AAAA,EACnC,SAAAC,IAAU;AAAA,EACV,MAAAC,IAAO;AAAA,EACP,WAAAC;AAAA,EACA,SAAAC;AAAA,EACA,UAAAC;AAAA,EACA,WAAAC,IAAY;AAAA,EACZ,GAAGC;AACL,GAAG;AAED,QAAMC,IAAa;AAAA,IACjB,SAAS;AAAA,IACT,WAAW;AAAA,IACX,aAAa;AAAA,IACb,SAAS;AAAA,IACT,OAAO;AAAA,EAAA,GAIHC,IAAW;AAAA,IACf,SAAS;AAAA,IACT,WAAW;AAAA,IACX,aAAa;AAAA,IACb,SAAS;AAAA,IACT,OAAO;AAAA,EAAA,GAGHC,IAAcF,EAAWP,CAAO,KAAK,SACrCU,IAAYF,EAASR,CAAO,KAAK;AAEvC,SACE,gBAAAW;AAAA,IAACC;AAAAA,IAAA;AAAA,MACC,SAASH;AAAA,MACT,OAAOC;AAAA,MACP,MAAAT;AAAA,MACA,WAAAC;AAAA,MACA,SAASC;AAAA,MACT,WAAAE;AAAA,MACC,GAAGC;AAAA,MAEH,UAAAF;AAAA,IAAA;AAAA,EAAA;AAGP;AAGO,MAAMS,IAASd;"}
|
|
@@ -30,7 +30,6 @@ export { default as CardSkeleton } from "./skeletons/CardSkeleton";
|
|
|
30
30
|
export { default as DataModeToggle } from "./data/DataModeToggle";
|
|
31
31
|
export { default as useDataSource } from "./data/useDataSource";
|
|
32
32
|
export { default as usePageFilters } from "./data/usePageFilters";
|
|
33
|
-
export { default as HeroUIButton } from "./heroui/Button";
|
|
34
33
|
export { default as HeroUIInput } from "./heroui/Input";
|
|
35
34
|
export { default as HeroUICard } from "./heroui/Card";
|
|
36
35
|
export { default as HeroUIToggle } from "./heroui/Toggle";
|
|
@@ -162,6 +161,7 @@ export { FilterBar, SearchFilter, SelectFilter, ToggleFilter } from "./filters";
|
|
|
162
161
|
export { default as DataModeProvider, useDataMode } from "./data/DataModeProvider";
|
|
163
162
|
export { filterBySearch, filterByValue, filterByToggle, filterByDateRange, sortByKey, applyFilters } from "./data/filterUtils";
|
|
164
163
|
export { ChatPanel, ChatBar, ChatMessageList, ChatMessage, ChatInput, ChatTypingIndicator, ChatSuggestions, ChatToolCall, ChatWelcome, useChatState } from "./chat";
|
|
164
|
+
export { default as HeroUIButton, Button } from "./heroui/Button";
|
|
165
165
|
export { default as HeroUIBreadcrumbs, Breadcrumbs } from "./heroui/Breadcrumbs";
|
|
166
166
|
export { default as HeroUISeparator, Separator } from "./heroui/Separator";
|
|
167
167
|
export { default as HeroUIPagination, Pagination } from "./heroui/Pagination";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../src/components/library/index.jsx"],"sourcesContent":["import React from 'react';\n\nexport { default as AppThemeProvider, useThemeMode } from \"./theme/AppThemeProvider\";\n\n// UI primitives\nexport { default as UIButton } from \"./ui/UIButton\";\nexport { default as UIInput } from \"./ui/UIInput\";\nexport { default as UIText } from \"./ui/Text\";\nexport { default as UIContainer } from \"./ui/Container\";\nexport { default as UIChip } from \"./ui/Chip\";\nexport { default as Avatar } from \"./ui/Avatar\";\nexport { default as EmptyState } from \"./ui/EmptyState\";\nexport { default as Spinner } from \"./ui/Spinner\";\nexport { default as Label } from \"./ui/Label\";\nexport { default as Checkbox } from \"./ui/Checkbox\";\nexport { default as FieldGroup } from \"./ui/FieldGroup\";\n\n// shadcn-compatible Card with subcomponents\nexport { default as UICard, Card, CardHeader, CardTitle, CardDescription, CardContent, CardFooter } from \"./ui/Card\";\n\n// shadcn-compatible Alert with subcomponents\nexport { default as Alert, AlertTitle, AlertDescription, AlertAction } from \"./ui/Alert\";\n\n// shadcn-compatible components from heroui/ (HeroUI-based)\nexport { default as HeroUIDialog, Dialog, DialogTrigger, DialogPortal, DialogClose, DialogOverlay, DialogContent, DialogHeader, DialogFooter, DialogTitle, DialogDescription } from \"./heroui/Dialog\";\nexport { default as HeroUIField, Field, FieldLabel, FieldDescription, FieldError } from \"./heroui/Field\";\nexport { default as HeroUICollapsible, Collapsible, CollapsibleTrigger, CollapsibleContent } from \"./heroui/Collapsible\";\nexport { default as HeroUIPopover, Popover, PopoverTrigger, PopoverContent } from \"./heroui/Popover\";\nexport { default as HeroUIDatePicker, DatePicker, DatePickerTrigger, DatePickerContent, DatePickerCalendar, DatePickerRangeTrigger } from \"./heroui/DatePicker\";\n\n// Cards\nexport { default as BaseCard } from \"./cards/BaseCard\";\nexport { default as ChartCard } from \"./cards/ChartCard\";\nexport { default as ListCard } from \"./cards/ListCard\";\nexport { default as MetricCard } from \"./cards/MetricCard\";\nexport { default as SectionCard } from \"./cards/SectionCard\";\nexport { default as StatusCard } from \"./cards/StatusCard\";\nexport { default as TableCard } from \"./cards/TableCard\";\nexport { default as WidgetCard } from \"./cards/WidgetCard\";\nexport { default as FeedPanel } from \"./cards/FeedPanel\";\nexport { default as ActivityCard } from \"./cards/ActivityCard\";\nexport { default as MetricsStrip } from \"./cards/MetricsStrip\";\nexport { default as CalloutCard } from \"./cards/CalloutCard\";\nexport { default as ActionList } from \"./cards/ActionList\";\n\n// Charts\nexport { default as D3Chart } from \"./charts/D3Chart\";\nexport { D3ChartTemplates } from \"./charts/D3ChartTemplates\";\nexport { default as GeoMap } from \"./charts/GeoMap\";\n\n// Layout\nexport { default as PageContainer } from \"./layout/PageContainer\";\n\n// Skeletons\nexport { default as CardSkeleton } from \"./skeletons/CardSkeleton\";\n\n// Forms\nexport { FormModal, FormRenderer, FormSection, FormField, useFormState } from \"./forms\";\n\n// Filters\nexport { FilterBar, SearchFilter, SelectFilter, ToggleFilter } from \"./filters\";\n\n// Data mode\nexport { default as DataModeProvider, useDataMode } from \"./data/DataModeProvider\";\nexport { default as DataModeToggle } from \"./data/DataModeToggle\";\nexport { default as useDataSource } from \"./data/useDataSource\";\n\n// Data utilities\nexport { default as usePageFilters } from \"./data/usePageFilters\";\nexport {\n filterBySearch,\n filterByValue,\n filterByToggle,\n filterByDateRange,\n sortByKey,\n applyFilters,\n} from \"./data/filterUtils\";\n\n// Chat / AI agent\nexport {\n ChatPanel,\n ChatBar,\n ChatMessageList,\n ChatMessage,\n ChatInput,\n ChatTypingIndicator,\n ChatSuggestions,\n ChatToolCall,\n ChatWelcome,\n useChatState,\n} from \"./chat\";\n\n// HeroUI wrappers — existing\nexport { default as HeroUIButton } from \"./heroui/Button\";\nexport { default as HeroUIInput } from \"./heroui/Input\";\nexport { default as HeroUICard } from \"./heroui/Card\";\nexport { default as HeroUIToggle } from \"./heroui/Toggle\";\n\n// HeroUI wrappers — navigation & layout\nexport { default as HeroUITabs } from \"./heroui/Tabs\";\nexport { default as HeroUIAccordion } from \"./heroui/Accordion\";\nexport { default as HeroUIBreadcrumbs, Breadcrumbs } from \"./heroui/Breadcrumbs\";\nexport { default as HeroUISeparator, Separator } from \"./heroui/Separator\";\nexport { default as HeroUIPagination, Pagination } from \"./heroui/Pagination\";\n\n// Breadcrumb subcomponents for shadcn compatibility\nexport const Breadcrumb = ({ children, ...props }) => React.createElement('nav', { 'aria-label': 'breadcrumb', ...props }, children);\nexport const BreadcrumbList = ({ children, ...props }) => React.createElement('ol', { className: 'flex flex-wrap items-center gap-1.5 break-words text-sm text-slate-500 dark:text-slate-400', ...props }, children);\nexport const BreadcrumbItem = ({ children, ...props }) => React.createElement('li', { className: 'inline-flex items-center gap-1.5', ...props }, children);\nexport const BreadcrumbLink = ({ href, children, asChild, ...props }) => asChild ? React.createElement('span', props, children) : React.createElement('a', { href, className: 'transition-colors hover:text-slate-900 dark:hover:text-slate-50', ...props }, children);\nexport const BreadcrumbPage = ({ children, ...props }) => React.createElement('span', { role: 'link', 'aria-disabled': 'true', 'aria-current': 'page', className: 'font-normal text-slate-900 dark:text-slate-50', ...props }, children);\nexport const BreadcrumbSeparator = ({ children, ...props }) => React.createElement('li', { role: 'presentation', 'aria-hidden': 'true', ...props }, children ?? '/');\nexport const BreadcrumbEllipsis = (props) => React.createElement('span', { role: 'presentation', 'aria-hidden': 'true', ...props }, '...');\n\n// Pagination subcomponents for shadcn compatibility\nexport const PaginationContent = ({ children, ...props }) => React.createElement('ul', { className: 'flex flex-row items-center gap-1', ...props }, children);\nexport const PaginationItem = ({ children, ...props }) => React.createElement('li', props, children);\nexport const PaginationLink = ({ href, isActive, children, ...props }) => React.createElement('a', { href, 'aria-current': isActive ? 'page' : undefined, className: `inline-flex items-center justify-center rounded-md text-sm font-medium h-9 min-w-9 px-4 py-2 ${isActive ? 'bg-slate-900 text-white dark:bg-slate-50 dark:text-slate-900' : 'hover:bg-slate-100 dark:hover:bg-slate-800'}`, ...props }, children);\nexport const PaginationPrevious = ({ href, ...props }) => React.createElement(PaginationLink, { href, ...props }, 'Previous');\nexport const PaginationNext = ({ href, ...props }) => React.createElement(PaginationLink, { href, ...props }, 'Next');\nexport const PaginationEllipsis = (props) => React.createElement('span', { 'aria-hidden': true, ...props }, '...');\n\n// HeroUI wrappers — overlays\nexport { default as HeroUIDrawer } from \"./heroui/Drawer\";\nexport { default as HeroUIModal } from \"./heroui/Modal\";\nexport { default as HeroUIDropdown } from \"./heroui/Dropdown\";\nexport { default as HeroUITooltip } from \"./heroui/Tooltip\";\nexport { default as HeroUIToast } from \"./heroui/Toast\";\n\n// HeroUI wrappers — feedback\nexport { default as HeroUIAlert } from \"./heroui/Alert\";\nexport { default as HeroUIBadge } from \"./heroui/Badge\";\nexport { default as HeroUIProgressBar } from \"./heroui/ProgressBar\";\nexport { default as HeroUIProgressCircle } from \"./heroui/ProgressCircle\";\nexport { default as HeroUIMeter } from \"./heroui/Meter\";\nexport { default as HeroUISkeleton, Skeleton } from \"./heroui/Skeleton\";\n\n// HeroUI wrappers — pickers & forms\nexport { default as HeroUISelect, Select } from \"./heroui/Select\";\n\n// Re-export Select subcomponents for shadcn compatibility\nexport const SelectTrigger = ({ children, size, ...props }) => React.createElement('button', props, children);\nexport const SelectValue = ({ placeholder, ...props }) => React.createElement('span', props, placeholder);\nexport const SelectContent = ({ children, ...props }) => React.createElement('div', props, children);\nexport const SelectItem = ({ children, ...props }) => React.createElement('div', props, children);\n\n// HeroUI wrappers — utilities\nexport { default as HeroUIKbd, Kbd } from \"./heroui/Kbd\";\nexport { default as HeroUIScrollShadow, ScrollShadow } from \"./heroui/ScrollShadow\";\n"],"names":["Breadcrumb","children","props","React","BreadcrumbList","BreadcrumbItem","BreadcrumbLink","href","asChild","BreadcrumbPage","BreadcrumbSeparator","BreadcrumbEllipsis","PaginationContent","PaginationItem","PaginationLink","isActive","PaginationPrevious","PaginationNext","PaginationEllipsis","SelectTrigger","size","SelectValue","placeholder","SelectContent","SelectItem"],"mappings":";;;;;;;;;;;;AA0GO,MAAMA,IAAa,CAAC,EAAE,UAAAC,GAAU,GAAGC,QAAYC,EAAM,cAAc,OAAO,EAAE,cAAc,cAAc,GAAGD,EAAA,GAASD,CAAQ,GACtHG,IAAiB,CAAC,EAAE,UAAAH,GAAU,GAAGC,QAAYC,EAAM,cAAc,MAAM,EAAE,WAAW,8FAA8F,GAAGD,EAAA,GAASD,CAAQ,GACtMI,IAAiB,CAAC,EAAE,UAAAJ,GAAU,GAAGC,QAAYC,EAAM,cAAc,MAAM,EAAE,WAAW,oCAAoC,GAAGD,EAAA,GAASD,CAAQ,GAC5IK,IAAiB,CAAC,EAAE,MAAAC,GAAM,UAAAN,GAAU,SAAAO,GAAS,GAAGN,EAAA,MAAYM,IAAUL,EAAM,cAAc,QAAQD,GAAOD,CAAQ,IAAIE,EAAM,cAAc,KAAK,EAAE,MAAAI,GAAM,WAAW,mEAAmE,GAAGL,EAAA,GAASD,CAAQ,GACxPQ,IAAiB,CAAC,EAAE,UAAAR,GAAU,GAAGC,EAAA,MAAYC,EAAM,cAAc,QAAQ,EAAE,MAAM,QAAQ,iBAAiB,QAAQ,gBAAgB,QAAQ,WAAW,iDAAiD,GAAGD,EAAA,GAASD,CAAQ,GAC1NS,IAAsB,CAAC,EAAE,UAAAT,GAAU,GAAGC,EAAA,MAAYC,EAAM,cAAc,MAAM,EAAE,MAAM,gBAAgB,eAAe,QAAQ,GAAGD,EAAA,GAASD,KAAY,GAAG,GACtJU,IAAqB,CAACT,MAAUC,EAAM,cAAc,QAAQ,EAAE,MAAM,gBAAgB,eAAe,QAAQ,GAAGD,EAAA,GAAS,KAAK,GAG5HU,IAAoB,CAAC,EAAE,UAAAX,GAAU,GAAGC,QAAYC,EAAM,cAAc,MAAM,EAAE,WAAW,oCAAoC,GAAGD,EAAA,GAASD,CAAQ,GAC/IY,IAAiB,CAAC,EAAE,UAAAZ,GAAU,GAAGC,EAAA,MAAYC,EAAM,cAAc,MAAMD,GAAOD,CAAQ,GACtFa,IAAiB,CAAC,EAAE,MAAAP,GAAM,UAAAQ,GAAU,UAAAd,GAAU,GAAGC,EAAA,MAAYC,EAAM,cAAc,KAAK,EAAE,MAAAI,GAAM,gBAAgBQ,IAAW,SAAS,QAAW,WAAW,gGAAgGA,IAAW,iEAAiE,4CAA4C,IAAI,GAAGb,EAAA,GAASD,CAAQ,GACxYe,IAAqB,CAAC,EAAE,MAAAT,GAAM,GAAGL,EAAA,MAAYC,EAAM,cAAcW,GAAgB,EAAE,MAAAP,GAAM,GAAGL,EAAA,GAAS,UAAU,GAC/Ge,IAAiB,CAAC,EAAE,MAAAV,GAAM,GAAGL,EAAA,MAAYC,EAAM,cAAcW,GAAgB,EAAE,MAAAP,GAAM,GAAGL,EAAA,GAAS,MAAM,GACvGgB,IAAqB,CAAChB,MAAUC,EAAM,cAAc,QAAQ,EAAE,eAAe,IAAM,GAAGD,EAAA,GAAS,KAAK,GAqBpGiB,IAAgB,CAAC,EAAE,UAAAlB,GAAU,MAAAmB,GAAM,GAAGlB,QAAYC,EAAM,cAAc,UAAUD,GAAOD,CAAQ,GAC/FoB,IAAc,CAAC,EAAE,aAAAC,GAAa,GAAGpB,EAAA,MAAYC,EAAM,cAAc,QAAQD,GAAOoB,CAAW,GAC3FC,IAAgB,CAAC,EAAE,UAAAtB,GAAU,GAAGC,EAAA,MAAYC,EAAM,cAAc,OAAOD,GAAOD,CAAQ,GACtFuB,IAAa,CAAC,EAAE,UAAAvB,GAAU,GAAGC,EAAA,MAAYC,EAAM,cAAc,OAAOD,GAAOD,CAAQ;"}
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../src/components/library/index.jsx"],"sourcesContent":["import React from 'react';\n\nexport { default as AppThemeProvider, useThemeMode } from \"./theme/AppThemeProvider\";\n\n// UI primitives\nexport { default as UIButton } from \"./ui/UIButton\";\nexport { default as UIInput } from \"./ui/UIInput\";\nexport { default as UIText } from \"./ui/Text\";\nexport { default as UIContainer } from \"./ui/Container\";\nexport { default as UIChip } from \"./ui/Chip\";\nexport { default as Avatar } from \"./ui/Avatar\";\nexport { default as EmptyState } from \"./ui/EmptyState\";\nexport { default as Spinner } from \"./ui/Spinner\";\nexport { default as Label } from \"./ui/Label\";\nexport { default as Checkbox } from \"./ui/Checkbox\";\nexport { default as FieldGroup } from \"./ui/FieldGroup\";\n\n// shadcn-compatible Card with subcomponents\nexport { default as UICard, Card, CardHeader, CardTitle, CardDescription, CardContent, CardFooter } from \"./ui/Card\";\n\n// shadcn-compatible Alert with subcomponents\nexport { default as Alert, AlertTitle, AlertDescription, AlertAction } from \"./ui/Alert\";\n\n// shadcn-compatible components from heroui/ (HeroUI-based)\nexport { default as HeroUIDialog, Dialog, DialogTrigger, DialogPortal, DialogClose, DialogOverlay, DialogContent, DialogHeader, DialogFooter, DialogTitle, DialogDescription } from \"./heroui/Dialog\";\nexport { default as HeroUIField, Field, FieldLabel, FieldDescription, FieldError } from \"./heroui/Field\";\nexport { default as HeroUICollapsible, Collapsible, CollapsibleTrigger, CollapsibleContent } from \"./heroui/Collapsible\";\nexport { default as HeroUIPopover, Popover, PopoverTrigger, PopoverContent } from \"./heroui/Popover\";\nexport { default as HeroUIDatePicker, DatePicker, DatePickerTrigger, DatePickerContent, DatePickerCalendar, DatePickerRangeTrigger } from \"./heroui/DatePicker\";\n\n// Cards\nexport { default as BaseCard } from \"./cards/BaseCard\";\nexport { default as ChartCard } from \"./cards/ChartCard\";\nexport { default as ListCard } from \"./cards/ListCard\";\nexport { default as MetricCard } from \"./cards/MetricCard\";\nexport { default as SectionCard } from \"./cards/SectionCard\";\nexport { default as StatusCard } from \"./cards/StatusCard\";\nexport { default as TableCard } from \"./cards/TableCard\";\nexport { default as WidgetCard } from \"./cards/WidgetCard\";\nexport { default as FeedPanel } from \"./cards/FeedPanel\";\nexport { default as ActivityCard } from \"./cards/ActivityCard\";\nexport { default as MetricsStrip } from \"./cards/MetricsStrip\";\nexport { default as CalloutCard } from \"./cards/CalloutCard\";\nexport { default as ActionList } from \"./cards/ActionList\";\n\n// Charts\nexport { default as D3Chart } from \"./charts/D3Chart\";\nexport { D3ChartTemplates } from \"./charts/D3ChartTemplates\";\nexport { default as GeoMap } from \"./charts/GeoMap\";\n\n// Layout\nexport { default as PageContainer } from \"./layout/PageContainer\";\n\n// Skeletons\nexport { default as CardSkeleton } from \"./skeletons/CardSkeleton\";\n\n// Forms\nexport { FormModal, FormRenderer, FormSection, FormField, useFormState } from \"./forms\";\n\n// Filters\nexport { FilterBar, SearchFilter, SelectFilter, ToggleFilter } from \"./filters\";\n\n// Data mode\nexport { default as DataModeProvider, useDataMode } from \"./data/DataModeProvider\";\nexport { default as DataModeToggle } from \"./data/DataModeToggle\";\nexport { default as useDataSource } from \"./data/useDataSource\";\n\n// Data utilities\nexport { default as usePageFilters } from \"./data/usePageFilters\";\nexport {\n filterBySearch,\n filterByValue,\n filterByToggle,\n filterByDateRange,\n sortByKey,\n applyFilters,\n} from \"./data/filterUtils\";\n\n// Chat / AI agent\nexport {\n ChatPanel,\n ChatBar,\n ChatMessageList,\n ChatMessage,\n ChatInput,\n ChatTypingIndicator,\n ChatSuggestions,\n ChatToolCall,\n ChatWelcome,\n useChatState,\n} from \"./chat\";\n\n// HeroUI wrappers — existing\nexport { default as HeroUIButton, Button } from \"./heroui/Button\";\nexport { default as HeroUIInput } from \"./heroui/Input\";\nexport { default as HeroUICard } from \"./heroui/Card\";\nexport { default as HeroUIToggle } from \"./heroui/Toggle\";\n\n// HeroUI wrappers — navigation & layout\nexport { default as HeroUITabs } from \"./heroui/Tabs\";\nexport { default as HeroUIAccordion } from \"./heroui/Accordion\";\nexport { default as HeroUIBreadcrumbs, Breadcrumbs } from \"./heroui/Breadcrumbs\";\nexport { default as HeroUISeparator, Separator } from \"./heroui/Separator\";\nexport { default as HeroUIPagination, Pagination } from \"./heroui/Pagination\";\n\n// Breadcrumb subcomponents for shadcn compatibility\nexport const Breadcrumb = ({ children, ...props }) => React.createElement('nav', { 'aria-label': 'breadcrumb', ...props }, children);\nexport const BreadcrumbList = ({ children, ...props }) => React.createElement('ol', { className: 'flex flex-wrap items-center gap-1.5 break-words text-sm text-slate-500 dark:text-slate-400', ...props }, children);\nexport const BreadcrumbItem = ({ children, ...props }) => React.createElement('li', { className: 'inline-flex items-center gap-1.5', ...props }, children);\nexport const BreadcrumbLink = ({ href, children, asChild, ...props }) => asChild ? React.createElement('span', props, children) : React.createElement('a', { href, className: 'transition-colors hover:text-slate-900 dark:hover:text-slate-50', ...props }, children);\nexport const BreadcrumbPage = ({ children, ...props }) => React.createElement('span', { role: 'link', 'aria-disabled': 'true', 'aria-current': 'page', className: 'font-normal text-slate-900 dark:text-slate-50', ...props }, children);\nexport const BreadcrumbSeparator = ({ children, ...props }) => React.createElement('li', { role: 'presentation', 'aria-hidden': 'true', ...props }, children ?? '/');\nexport const BreadcrumbEllipsis = (props) => React.createElement('span', { role: 'presentation', 'aria-hidden': 'true', ...props }, '...');\n\n// Pagination subcomponents for shadcn compatibility\nexport const PaginationContent = ({ children, ...props }) => React.createElement('ul', { className: 'flex flex-row items-center gap-1', ...props }, children);\nexport const PaginationItem = ({ children, ...props }) => React.createElement('li', props, children);\nexport const PaginationLink = ({ href, isActive, children, ...props }) => React.createElement('a', { href, 'aria-current': isActive ? 'page' : undefined, className: `inline-flex items-center justify-center rounded-md text-sm font-medium h-9 min-w-9 px-4 py-2 ${isActive ? 'bg-slate-900 text-white dark:bg-slate-50 dark:text-slate-900' : 'hover:bg-slate-100 dark:hover:bg-slate-800'}`, ...props }, children);\nexport const PaginationPrevious = ({ href, ...props }) => React.createElement(PaginationLink, { href, ...props }, 'Previous');\nexport const PaginationNext = ({ href, ...props }) => React.createElement(PaginationLink, { href, ...props }, 'Next');\nexport const PaginationEllipsis = (props) => React.createElement('span', { 'aria-hidden': true, ...props }, '...');\n\n// HeroUI wrappers — overlays\nexport { default as HeroUIDrawer } from \"./heroui/Drawer\";\nexport { default as HeroUIModal } from \"./heroui/Modal\";\nexport { default as HeroUIDropdown } from \"./heroui/Dropdown\";\nexport { default as HeroUITooltip } from \"./heroui/Tooltip\";\nexport { default as HeroUIToast } from \"./heroui/Toast\";\n\n// HeroUI wrappers — feedback\nexport { default as HeroUIAlert } from \"./heroui/Alert\";\nexport { default as HeroUIBadge } from \"./heroui/Badge\";\nexport { default as HeroUIProgressBar } from \"./heroui/ProgressBar\";\nexport { default as HeroUIProgressCircle } from \"./heroui/ProgressCircle\";\nexport { default as HeroUIMeter } from \"./heroui/Meter\";\nexport { default as HeroUISkeleton, Skeleton } from \"./heroui/Skeleton\";\n\n// HeroUI wrappers — pickers & forms\nexport { default as HeroUISelect, Select } from \"./heroui/Select\";\n\n// Re-export Select subcomponents for shadcn compatibility\nexport const SelectTrigger = ({ children, size, ...props }) => React.createElement('button', props, children);\nexport const SelectValue = ({ placeholder, ...props }) => React.createElement('span', props, placeholder);\nexport const SelectContent = ({ children, ...props }) => React.createElement('div', props, children);\nexport const SelectItem = ({ children, ...props }) => React.createElement('div', props, children);\n\n// HeroUI wrappers — utilities\nexport { default as HeroUIKbd, Kbd } from \"./heroui/Kbd\";\nexport { default as HeroUIScrollShadow, ScrollShadow } from \"./heroui/ScrollShadow\";\n"],"names":["Breadcrumb","children","props","React","BreadcrumbList","BreadcrumbItem","BreadcrumbLink","href","asChild","BreadcrumbPage","BreadcrumbSeparator","BreadcrumbEllipsis","PaginationContent","PaginationItem","PaginationLink","isActive","PaginationPrevious","PaginationNext","PaginationEllipsis","SelectTrigger","size","SelectValue","placeholder","SelectContent","SelectItem"],"mappings":";;;;;;;;;;;;AA0GO,MAAMA,IAAa,CAAC,EAAE,UAAAC,GAAU,GAAGC,QAAYC,EAAM,cAAc,OAAO,EAAE,cAAc,cAAc,GAAGD,EAAA,GAASD,CAAQ,GACtHG,IAAiB,CAAC,EAAE,UAAAH,GAAU,GAAGC,QAAYC,EAAM,cAAc,MAAM,EAAE,WAAW,8FAA8F,GAAGD,EAAA,GAASD,CAAQ,GACtMI,IAAiB,CAAC,EAAE,UAAAJ,GAAU,GAAGC,QAAYC,EAAM,cAAc,MAAM,EAAE,WAAW,oCAAoC,GAAGD,EAAA,GAASD,CAAQ,GAC5IK,IAAiB,CAAC,EAAE,MAAAC,GAAM,UAAAN,GAAU,SAAAO,GAAS,GAAGN,EAAA,MAAYM,IAAUL,EAAM,cAAc,QAAQD,GAAOD,CAAQ,IAAIE,EAAM,cAAc,KAAK,EAAE,MAAAI,GAAM,WAAW,mEAAmE,GAAGL,EAAA,GAASD,CAAQ,GACxPQ,IAAiB,CAAC,EAAE,UAAAR,GAAU,GAAGC,EAAA,MAAYC,EAAM,cAAc,QAAQ,EAAE,MAAM,QAAQ,iBAAiB,QAAQ,gBAAgB,QAAQ,WAAW,iDAAiD,GAAGD,EAAA,GAASD,CAAQ,GAC1NS,IAAsB,CAAC,EAAE,UAAAT,GAAU,GAAGC,EAAA,MAAYC,EAAM,cAAc,MAAM,EAAE,MAAM,gBAAgB,eAAe,QAAQ,GAAGD,EAAA,GAASD,KAAY,GAAG,GACtJU,IAAqB,CAACT,MAAUC,EAAM,cAAc,QAAQ,EAAE,MAAM,gBAAgB,eAAe,QAAQ,GAAGD,EAAA,GAAS,KAAK,GAG5HU,IAAoB,CAAC,EAAE,UAAAX,GAAU,GAAGC,QAAYC,EAAM,cAAc,MAAM,EAAE,WAAW,oCAAoC,GAAGD,EAAA,GAASD,CAAQ,GAC/IY,IAAiB,CAAC,EAAE,UAAAZ,GAAU,GAAGC,EAAA,MAAYC,EAAM,cAAc,MAAMD,GAAOD,CAAQ,GACtFa,IAAiB,CAAC,EAAE,MAAAP,GAAM,UAAAQ,GAAU,UAAAd,GAAU,GAAGC,EAAA,MAAYC,EAAM,cAAc,KAAK,EAAE,MAAAI,GAAM,gBAAgBQ,IAAW,SAAS,QAAW,WAAW,gGAAgGA,IAAW,iEAAiE,4CAA4C,IAAI,GAAGb,EAAA,GAASD,CAAQ,GACxYe,IAAqB,CAAC,EAAE,MAAAT,GAAM,GAAGL,EAAA,MAAYC,EAAM,cAAcW,GAAgB,EAAE,MAAAP,GAAM,GAAGL,EAAA,GAAS,UAAU,GAC/Ge,IAAiB,CAAC,EAAE,MAAAV,GAAM,GAAGL,EAAA,MAAYC,EAAM,cAAcW,GAAgB,EAAE,MAAAP,GAAM,GAAGL,EAAA,GAAS,MAAM,GACvGgB,IAAqB,CAAChB,MAAUC,EAAM,cAAc,QAAQ,EAAE,eAAe,IAAM,GAAGD,EAAA,GAAS,KAAK,GAqBpGiB,IAAgB,CAAC,EAAE,UAAAlB,GAAU,MAAAmB,GAAM,GAAGlB,QAAYC,EAAM,cAAc,UAAUD,GAAOD,CAAQ,GAC/FoB,IAAc,CAAC,EAAE,aAAAC,GAAa,GAAGpB,EAAA,MAAYC,EAAM,cAAc,QAAQD,GAAOoB,CAAW,GAC3FC,IAAgB,CAAC,EAAE,UAAAtB,GAAU,GAAGC,EAAA,MAAYC,EAAM,cAAc,OAAOD,GAAOD,CAAQ,GACtFuB,IAAa,CAAC,EAAE,UAAAvB,GAAU,GAAGC,EAAA,MAAYC,EAAM,cAAc,OAAOD,GAAOD,CAAQ;"}
|
package/dist/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { cn as o } from "./lib/utils.js";
|
|
2
|
-
import { Breadcrumb as t, BreadcrumbEllipsis as l, BreadcrumbItem as f, BreadcrumbLink as d, BreadcrumbList as s, BreadcrumbPage as p, BreadcrumbSeparator as
|
|
2
|
+
import { Breadcrumb as t, BreadcrumbEllipsis as l, BreadcrumbItem as f, BreadcrumbLink as d, BreadcrumbList as s, BreadcrumbPage as p, BreadcrumbSeparator as u, PaginationContent as m, PaginationEllipsis as i, PaginationItem as x, PaginationLink as n, PaginationNext as g, PaginationPrevious as C, SelectContent as c, SelectItem as I, SelectTrigger as U, SelectValue as D } from "./components/library/index.js";
|
|
3
3
|
import { default as P } from "./components/library/cards/ActionList.js";
|
|
4
4
|
import { default as T } from "./components/library/cards/ActivityCard.js";
|
|
5
|
-
import { Alert as
|
|
5
|
+
import { Alert as h, AlertAction as F, AlertDescription as b, AlertTitle as k } from "./components/library/ui/Alert.js";
|
|
6
6
|
import { default as y, useThemeMode as A } from "./components/library/theme/AppThemeProvider.js";
|
|
7
7
|
import { default as L } from "./components/library/ui/Avatar.js";
|
|
8
8
|
import { default as E } from "./components/library/cards/BaseCard.js";
|
|
@@ -19,14 +19,14 @@ import { default as oe } from "./components/library/chat/ChatToolCall.js";
|
|
|
19
19
|
import { default as te } from "./components/library/chat/ChatTypingIndicator.js";
|
|
20
20
|
import { default as fe } from "./components/library/chat/ChatWelcome.js";
|
|
21
21
|
import { default as se } from "./components/library/ui/Checkbox.js";
|
|
22
|
-
import { default as
|
|
22
|
+
import { default as ue } from "./components/library/charts/D3Chart.js";
|
|
23
23
|
import { default as ie, useDataMode as xe } from "./components/library/data/DataModeProvider.js";
|
|
24
24
|
import { default as ge } from "./components/library/data/DataModeToggle.js";
|
|
25
25
|
import { default as ce } from "./components/library/ui/EmptyState.js";
|
|
26
26
|
import { default as Ue } from "./components/library/cards/FeedPanel.js";
|
|
27
27
|
import { default as He } from "./components/library/ui/FieldGroup.js";
|
|
28
28
|
import { default as Se } from "./components/library/filters/FilterBar.js";
|
|
29
|
-
import { default as
|
|
29
|
+
import { default as Be } from "./components/library/forms/FormField.js";
|
|
30
30
|
import { default as Fe } from "./components/library/forms/FormModal.js";
|
|
31
31
|
import { default as ke } from "./components/library/forms/FormRenderer.js";
|
|
32
32
|
import { default as ye } from "./components/library/forms/FormSection.js";
|
|
@@ -35,60 +35,60 @@ import { default as we } from "./components/library/heroui/Accordion.js";
|
|
|
35
35
|
import { default as Ke } from "./components/library/heroui/Alert.js";
|
|
36
36
|
import { default as Ge } from "./components/library/heroui/Badge.js";
|
|
37
37
|
import { default as We } from "./components/library/heroui/Breadcrumbs.js";
|
|
38
|
-
import {
|
|
39
|
-
import { default as
|
|
40
|
-
import { Collapsible as
|
|
41
|
-
import { DatePicker as
|
|
42
|
-
import { Dialog as
|
|
43
|
-
import { default as
|
|
44
|
-
import { default as
|
|
45
|
-
import { Field as
|
|
46
|
-
import { default as
|
|
47
|
-
import { default as
|
|
48
|
-
import { default as
|
|
49
|
-
import { default as
|
|
50
|
-
import { default as
|
|
51
|
-
import { default as
|
|
52
|
-
import { default as
|
|
53
|
-
import { default as
|
|
54
|
-
import { default as
|
|
55
|
-
import { default as
|
|
56
|
-
import { default as
|
|
57
|
-
import { default as
|
|
58
|
-
import { default as
|
|
59
|
-
import { default as
|
|
60
|
-
import { default as
|
|
61
|
-
import { default as
|
|
38
|
+
import { Button as Oe, default as je } from "./components/library/heroui/Button.js";
|
|
39
|
+
import { default as ze } from "./components/library/heroui/Card.js";
|
|
40
|
+
import { Collapsible as Qe, CollapsibleContent as Xe, CollapsibleTrigger as Ye, default as Ze } from "./components/library/heroui/Collapsible.js";
|
|
41
|
+
import { DatePicker as $e, DatePickerCalendar as er, DatePickerContent as rr, DatePickerRangeTrigger as or, DatePickerTrigger as ar, default as tr } from "./components/library/heroui/DatePicker.js";
|
|
42
|
+
import { Dialog as fr, DialogClose as dr, DialogContent as sr, DialogDescription as pr, DialogFooter as ur, DialogHeader as mr, DialogOverlay as ir, DialogPortal as xr, DialogTitle as nr, DialogTrigger as gr, default as Cr } from "./components/library/heroui/Dialog.js";
|
|
43
|
+
import { default as Ir } from "./components/library/heroui/Drawer.js";
|
|
44
|
+
import { default as Dr } from "./components/library/heroui/Dropdown.js";
|
|
45
|
+
import { Field as Pr, FieldDescription as Sr, FieldError as Tr, FieldLabel as Br, default as hr } from "./components/library/heroui/Field.js";
|
|
46
|
+
import { default as br } from "./components/library/heroui/Input.js";
|
|
47
|
+
import { default as Mr } from "./components/library/heroui/Kbd.js";
|
|
48
|
+
import { default as Ar } from "./components/library/heroui/Meter.js";
|
|
49
|
+
import { default as Lr } from "./components/library/heroui/Modal.js";
|
|
50
|
+
import { default as Er } from "./components/library/heroui/Pagination.js";
|
|
51
|
+
import { default as Rr, Popover as Gr, PopoverContent as Vr, PopoverTrigger as Wr } from "./components/library/heroui/Popover.js";
|
|
52
|
+
import { default as Or } from "./components/library/heroui/ProgressBar.js";
|
|
53
|
+
import { default as qr } from "./components/library/heroui/ProgressCircle.js";
|
|
54
|
+
import { default as Jr } from "./components/library/heroui/ScrollShadow.js";
|
|
55
|
+
import { default as Xr, Select as Yr } from "./components/library/heroui/Select.js";
|
|
56
|
+
import { default as _r } from "./components/library/heroui/Separator.js";
|
|
57
|
+
import { default as eo } from "./components/library/heroui/Skeleton.js";
|
|
58
|
+
import { default as oo } from "./components/library/heroui/Tabs.js";
|
|
59
|
+
import { default as to } from "./components/library/heroui/Toast.js";
|
|
60
|
+
import { default as fo } from "./components/library/heroui/Toggle.js";
|
|
61
|
+
import { default as po } from "./components/library/heroui/Tooltip.js";
|
|
62
62
|
import { default as mo } from "./components/library/ui/Label.js";
|
|
63
|
-
import { default as
|
|
64
|
-
import { default as
|
|
65
|
-
import { default as
|
|
66
|
-
import { default as
|
|
67
|
-
import { default as
|
|
68
|
-
import { default as
|
|
69
|
-
import { default as
|
|
70
|
-
import { default as
|
|
71
|
-
import { default as
|
|
72
|
-
import { default as
|
|
73
|
-
import { default as
|
|
74
|
-
import { default as
|
|
75
|
-
import { Card as
|
|
76
|
-
import { default as
|
|
77
|
-
import { default as
|
|
78
|
-
import { default as
|
|
79
|
-
import { default as
|
|
80
|
-
import { default as
|
|
81
|
-
import { default as
|
|
82
|
-
import { default as
|
|
83
|
-
import { default as
|
|
84
|
-
import { default as
|
|
85
|
-
import { Breadcrumbs as
|
|
86
|
-
import { D3ChartTemplates as
|
|
87
|
-
import { applyFilters as
|
|
63
|
+
import { default as xo } from "./components/library/cards/ListCard.js";
|
|
64
|
+
import { default as go } from "./components/library/cards/MetricCard.js";
|
|
65
|
+
import { default as co } from "./components/library/cards/MetricsStrip.js";
|
|
66
|
+
import { default as Uo } from "./components/library/layout/PageContainer.js";
|
|
67
|
+
import { default as Ho } from "./components/library/filters/SearchFilter.js";
|
|
68
|
+
import { default as So } from "./components/library/cards/SectionCard.js";
|
|
69
|
+
import { default as Bo } from "./components/library/filters/SelectFilter.js";
|
|
70
|
+
import { default as Fo } from "./components/library/ui/Spinner.js";
|
|
71
|
+
import { default as ko } from "./components/library/cards/StatusCard.js";
|
|
72
|
+
import { default as yo } from "./components/library/cards/TableCard.js";
|
|
73
|
+
import { default as vo } from "./components/library/filters/ToggleFilter.js";
|
|
74
|
+
import { default as wo } from "./components/library/ui/UIButton.js";
|
|
75
|
+
import { Card as Ko, CardContent as Ro, CardDescription as Go, CardFooter as Vo, CardHeader as Wo, CardTitle as No, default as Oo } from "./components/library/ui/Card.js";
|
|
76
|
+
import { default as qo } from "./components/library/ui/Chip.js";
|
|
77
|
+
import { default as Jo } from "./components/library/ui/Container.js";
|
|
78
|
+
import { default as Xo } from "./components/library/ui/UIInput.js";
|
|
79
|
+
import { default as Zo } from "./components/library/ui/Text.js";
|
|
80
|
+
import { default as $o } from "./components/library/cards/WidgetCard.js";
|
|
81
|
+
import { default as ra } from "./components/library/chat/useChatState.js";
|
|
82
|
+
import { default as aa } from "./components/library/data/useDataSource.js";
|
|
83
|
+
import { default as la } from "./components/library/forms/useFormState.js";
|
|
84
|
+
import { default as da } from "./components/library/data/usePageFilters.js";
|
|
85
|
+
import { Breadcrumbs as pa, Kbd as ua, Pagination as ma, ScrollShadow as ia, Separator as xa, Skeleton as na } from "@heroui/react";
|
|
86
|
+
import { D3ChartTemplates as Ca } from "./components/library/charts/D3ChartTemplates.js";
|
|
87
|
+
import { applyFilters as Ia, filterByDateRange as Ua, filterBySearch as Da, filterByToggle as Ha, filterByValue as Pa, sortByKey as Sa } from "./components/library/data/filterUtils.js";
|
|
88
88
|
export {
|
|
89
89
|
P as ActionList,
|
|
90
90
|
T as ActivityCard,
|
|
91
|
-
|
|
91
|
+
h as Alert,
|
|
92
92
|
F as AlertAction,
|
|
93
93
|
b as AlertDescription,
|
|
94
94
|
k as AlertTitle,
|
|
@@ -101,16 +101,17 @@ export {
|
|
|
101
101
|
d as BreadcrumbLink,
|
|
102
102
|
s as BreadcrumbList,
|
|
103
103
|
p as BreadcrumbPage,
|
|
104
|
-
|
|
105
|
-
|
|
104
|
+
u as BreadcrumbSeparator,
|
|
105
|
+
pa as Breadcrumbs,
|
|
106
|
+
Oe as Button,
|
|
106
107
|
R as CalloutCard,
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
108
|
+
Ko as Card,
|
|
109
|
+
Ro as CardContent,
|
|
110
|
+
Go as CardDescription,
|
|
111
|
+
Vo as CardFooter,
|
|
112
|
+
Wo as CardHeader,
|
|
112
113
|
V as CardSkeleton,
|
|
113
|
-
|
|
114
|
+
No as CardTitle,
|
|
114
115
|
N as ChartCard,
|
|
115
116
|
j as ChatBar,
|
|
116
117
|
z as ChatInput,
|
|
@@ -122,37 +123,37 @@ export {
|
|
|
122
123
|
te as ChatTypingIndicator,
|
|
123
124
|
fe as ChatWelcome,
|
|
124
125
|
se as Checkbox,
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
126
|
+
Qe as Collapsible,
|
|
127
|
+
Xe as CollapsibleContent,
|
|
128
|
+
Ye as CollapsibleTrigger,
|
|
129
|
+
ue as D3Chart,
|
|
130
|
+
Ca as D3ChartTemplates,
|
|
130
131
|
ie as DataModeProvider,
|
|
131
132
|
ge as DataModeToggle,
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
133
|
+
$e as DatePicker,
|
|
134
|
+
er as DatePickerCalendar,
|
|
135
|
+
rr as DatePickerContent,
|
|
136
|
+
or as DatePickerRangeTrigger,
|
|
137
|
+
ar as DatePickerTrigger,
|
|
138
|
+
fr as Dialog,
|
|
139
|
+
dr as DialogClose,
|
|
140
|
+
sr as DialogContent,
|
|
141
|
+
pr as DialogDescription,
|
|
142
|
+
ur as DialogFooter,
|
|
142
143
|
mr as DialogHeader,
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
144
|
+
ir as DialogOverlay,
|
|
145
|
+
xr as DialogPortal,
|
|
146
|
+
nr as DialogTitle,
|
|
147
|
+
gr as DialogTrigger,
|
|
147
148
|
ce as EmptyState,
|
|
148
149
|
Ue as FeedPanel,
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
150
|
+
Pr as Field,
|
|
151
|
+
Sr as FieldDescription,
|
|
152
|
+
Tr as FieldError,
|
|
152
153
|
He as FieldGroup,
|
|
153
|
-
|
|
154
|
+
Br as FieldLabel,
|
|
154
155
|
Se as FilterBar,
|
|
155
|
-
|
|
156
|
+
Be as FormField,
|
|
156
157
|
Fe as FormModal,
|
|
157
158
|
ke as FormRenderer,
|
|
158
159
|
ye as FormSection,
|
|
@@ -161,80 +162,80 @@ export {
|
|
|
161
162
|
Ke as HeroUIAlert,
|
|
162
163
|
Ge as HeroUIBadge,
|
|
163
164
|
We as HeroUIBreadcrumbs,
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
165
|
+
je as HeroUIButton,
|
|
166
|
+
ze as HeroUICard,
|
|
167
|
+
Ze as HeroUICollapsible,
|
|
168
|
+
tr as HeroUIDatePicker,
|
|
169
|
+
Cr as HeroUIDialog,
|
|
170
|
+
Ir as HeroUIDrawer,
|
|
171
|
+
Dr as HeroUIDropdown,
|
|
171
172
|
hr as HeroUIField,
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
173
|
+
br as HeroUIInput,
|
|
174
|
+
Mr as HeroUIKbd,
|
|
175
|
+
Ar as HeroUIMeter,
|
|
176
|
+
Lr as HeroUIModal,
|
|
177
|
+
Er as HeroUIPagination,
|
|
178
|
+
Rr as HeroUIPopover,
|
|
179
|
+
Or as HeroUIProgressBar,
|
|
180
|
+
qr as HeroUIProgressCircle,
|
|
181
|
+
Jr as HeroUIScrollShadow,
|
|
182
|
+
Xr as HeroUISelect,
|
|
183
|
+
_r as HeroUISeparator,
|
|
184
|
+
eo as HeroUISkeleton,
|
|
185
|
+
oo as HeroUITabs,
|
|
186
|
+
to as HeroUIToast,
|
|
187
|
+
fo as HeroUIToggle,
|
|
188
|
+
po as HeroUITooltip,
|
|
189
|
+
ua as Kbd,
|
|
189
190
|
mo as Label,
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
191
|
+
xo as ListCard,
|
|
192
|
+
go as MetricCard,
|
|
193
|
+
co as MetricsStrip,
|
|
194
|
+
Uo as PageContainer,
|
|
194
195
|
ma as Pagination,
|
|
195
|
-
|
|
196
|
+
m as PaginationContent,
|
|
196
197
|
i as PaginationEllipsis,
|
|
197
198
|
x as PaginationItem,
|
|
198
199
|
n as PaginationLink,
|
|
199
200
|
g as PaginationNext,
|
|
200
201
|
C as PaginationPrevious,
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
202
|
+
Gr as Popover,
|
|
203
|
+
Vr as PopoverContent,
|
|
204
|
+
Wr as PopoverTrigger,
|
|
205
|
+
ia as ScrollShadow,
|
|
206
|
+
Ho as SearchFilter,
|
|
207
|
+
So as SectionCard,
|
|
208
|
+
Yr as Select,
|
|
208
209
|
c as SelectContent,
|
|
209
|
-
|
|
210
|
+
Bo as SelectFilter,
|
|
210
211
|
I as SelectItem,
|
|
211
212
|
U as SelectTrigger,
|
|
212
213
|
D as SelectValue,
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
214
|
+
xa as Separator,
|
|
215
|
+
na as Skeleton,
|
|
216
|
+
Fo as Spinner,
|
|
217
|
+
ko as StatusCard,
|
|
218
|
+
yo as TableCard,
|
|
219
|
+
vo as ToggleFilter,
|
|
220
|
+
wo as UIButton,
|
|
221
|
+
Oo as UICard,
|
|
222
|
+
qo as UIChip,
|
|
223
|
+
Jo as UIContainer,
|
|
224
|
+
Xo as UIInput,
|
|
225
|
+
Zo as UIText,
|
|
226
|
+
$o as WidgetCard,
|
|
227
|
+
Ia as applyFilters,
|
|
227
228
|
o as cn,
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
229
|
+
Ua as filterByDateRange,
|
|
230
|
+
Da as filterBySearch,
|
|
231
|
+
Ha as filterByToggle,
|
|
232
|
+
Pa as filterByValue,
|
|
233
|
+
Sa as sortByKey,
|
|
234
|
+
ra as useChatState,
|
|
234
235
|
xe as useDataMode,
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
236
|
+
aa as useDataSource,
|
|
237
|
+
la as useFormState,
|
|
238
|
+
da as usePageFilters,
|
|
238
239
|
A as useThemeMode
|
|
239
240
|
};
|
|
240
241
|
//# sourceMappingURL=index.js.map
|
package/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useNavigate } from "react-router";
|
|
2
|
-
import {
|
|
2
|
+
import { Button } 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
|
-
<
|
|
15
|
+
<Button onClick={() => navigate("/")}>Go Home</Button>
|
|
16
16
|
</div>
|
|
17
17
|
</div>
|
|
18
18
|
);
|