@kismet-ux/constellation 1.15.0 → 1.15.1

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.
@@ -10,6 +10,16 @@ export interface RouterAdapter {
10
10
  replace?: boolean;
11
11
  }) => void;
12
12
  }
13
+ export interface RouterProviderProps extends Partial<RouterAdapter> {
14
+ /**
15
+ * Name of the prop `linkComponent` reads its destination from. Constellation
16
+ * always speaks `href`; routers whose link takes `to` (React Router, TanStack
17
+ * Router) need `linkProp={'to'}` so the destination is handed over under that
18
+ * name instead. Defaults to `'href'` (Next.js, Inertia, plain anchors).
19
+ */
20
+ linkProp?: 'href' | 'to';
21
+ children: React.ReactNode;
22
+ }
13
23
  /**
14
24
  * Teaches Constellation how *your* app navigates.
15
25
  *
@@ -18,12 +28,12 @@ export interface RouterAdapter {
18
28
  * SPA-fast) everywhere. Wrap your app once to upgrade every Constellation link,
19
29
  * breadcrumb, sidebar item, and menu action to your router at the same time.
20
30
  *
21
- * @example React Router
31
+ * @example React Router (its `Link` takes `to`, so name the prop)
22
32
  * ```tsx
23
33
  * import { Link, useNavigate } from 'react-router-dom';
24
34
  *
25
35
  * const navigate = useNavigate();
26
- * <RouterProvider linkComponent={Link} navigate={navigate}>…</RouterProvider>
36
+ * <RouterProvider linkComponent={Link} linkProp={'to'} navigate={navigate}>…</RouterProvider>
27
37
  * ```
28
38
  *
29
39
  * @example Next.js
@@ -31,8 +41,6 @@ export interface RouterAdapter {
31
41
  * <RouterProvider linkComponent={NextLink} navigate={router.push}>…</RouterProvider>
32
42
  * ```
33
43
  */
34
- export declare function RouterProvider({ linkComponent, navigate, children, }: Partial<RouterAdapter> & {
35
- children: React.ReactNode;
36
- }): React.JSX.Element;
44
+ export declare function RouterProvider({ linkComponent, linkProp, navigate, children, }: RouterProviderProps): React.JSX.Element;
37
45
  export declare function useRouterAdapter(): RouterAdapter;
38
46
  //# sourceMappingURL=router-context.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"router-context.d.ts","sourceRoot":"","sources":["../../../src/navigation/Router/router-context.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,MAAM,WAAW,aAAa;IAC5B;;;OAGG;IACH,aAAa,EAAE,KAAK,CAAC,WAAW,CAAC;IACjC,6DAA6D;IAC7D,QAAQ,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE;QAAE,OAAO,CAAC,EAAE,OAAO,CAAA;KAAE,KAAK,IAAI,CAAC;CACnE;AAaD;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,wBAAgB,cAAc,CAAC,EAC7B,aAAa,EACb,QAAQ,EACR,QAAQ,GACT,EAAE,OAAO,CAAC,aAAa,CAAC,GAAG;IAAE,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAA;CAAE,qBAUxD;AAED,wBAAgB,gBAAgB,IAAI,aAAa,CAEhD"}
1
+ {"version":3,"file":"router-context.d.ts","sourceRoot":"","sources":["../../../src/navigation/Router/router-context.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,MAAM,WAAW,aAAa;IAC5B;;;OAGG;IACH,aAAa,EAAE,KAAK,CAAC,WAAW,CAAC;IACjC,6DAA6D;IAC7D,QAAQ,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE;QAAE,OAAO,CAAC,EAAE,OAAO,CAAA;KAAE,KAAK,IAAI,CAAC;CACnE;AAaD,MAAM,WAAW,mBAAoB,SAAQ,OAAO,CAAC,aAAa,CAAC;IACjE;;;;;OAKG;IACH,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B;AAeD;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,wBAAgB,cAAc,CAAC,EAC7B,aAAa,EACb,QAAiB,EACjB,QAAQ,EACR,QAAQ,GACT,EAAE,mBAAmB,qBAiBrB;AAED,wBAAgB,gBAAgB,IAAI,aAAa,CAEhD"}
@@ -13,6 +13,16 @@ const defaultAdapter = {
13
13
  },
14
14
  };
15
15
  const RouterContext = React.createContext(defaultAdapter);
16
+ /**
17
+ * Wraps a router link that reads `to` so it accepts `href` like every other
18
+ * Constellation link target. `href` is consumed here and never reaches the DOM
19
+ * through the router's own prop spreading.
20
+ */
21
+ function adaptLinkProp(Component, linkProp) {
22
+ const Adapted = React.forwardRef(({ href, ...rest }, ref) => jsx(Component, { ref: ref, [linkProp]: href, ...rest }));
23
+ Adapted.displayName = 'RouterLink';
24
+ return Adapted;
25
+ }
16
26
  /**
17
27
  * Teaches Constellation how *your* app navigates.
18
28
  *
@@ -21,12 +31,12 @@ const RouterContext = React.createContext(defaultAdapter);
21
31
  * SPA-fast) everywhere. Wrap your app once to upgrade every Constellation link,
22
32
  * breadcrumb, sidebar item, and menu action to your router at the same time.
23
33
  *
24
- * @example React Router
34
+ * @example React Router (its `Link` takes `to`, so name the prop)
25
35
  * ```tsx
26
36
  * import { Link, useNavigate } from 'react-router-dom';
27
37
  *
28
38
  * const navigate = useNavigate();
29
- * <RouterProvider linkComponent={Link} navigate={navigate}>…</RouterProvider>
39
+ * <RouterProvider linkComponent={Link} linkProp={'to'} navigate={navigate}>…</RouterProvider>
30
40
  * ```
31
41
  *
32
42
  * @example Next.js
@@ -34,11 +44,18 @@ const RouterContext = React.createContext(defaultAdapter);
34
44
  * <RouterProvider linkComponent={NextLink} navigate={router.push}>…</RouterProvider>
35
45
  * ```
36
46
  */
37
- function RouterProvider({ linkComponent, navigate, children, }) {
47
+ function RouterProvider({ linkComponent, linkProp = 'href', navigate, children, }) {
48
+ // Memoised on the component itself: a new wrapper identity would remount
49
+ // every link in the app.
50
+ const resolvedLink = React.useMemo(() => {
51
+ if (!linkComponent)
52
+ return defaultAdapter.linkComponent;
53
+ return linkProp === 'href' ? linkComponent : adaptLinkProp(linkComponent, linkProp);
54
+ }, [linkComponent, linkProp]);
38
55
  const value = React.useMemo(() => ({
39
- linkComponent: linkComponent ?? defaultAdapter.linkComponent,
56
+ linkComponent: resolvedLink,
40
57
  navigate: navigate ?? defaultAdapter.navigate,
41
- }), [linkComponent, navigate]);
58
+ }), [resolvedLink, navigate]);
42
59
  return jsx(RouterContext.Provider, { value: value, children: children });
43
60
  }
44
61
  function useRouterAdapter() {
@@ -1 +1 @@
1
- {"version":3,"file":"router-context.js","sources":["../../../src/navigation/Router/router-context.tsx"],"sourcesContent":["import * as React from 'react';\n\nexport interface RouterAdapter {\n /**\n * Component used to render in-app links. Receives `href` plus any props\n * passed through `Link`. Defaults to a plain `<a>`.\n */\n linkComponent: React.ElementType;\n /** Programmatic navigation. Defaults to a full page load. */\n navigate: (href: string, options?: { replace?: boolean }) => void;\n}\n\nconst defaultAdapter: RouterAdapter = {\n linkComponent: 'a',\n navigate: (href, options) => {\n if (typeof window === 'undefined') return;\n if (options?.replace) window.location.replace(href);\n else window.location.assign(href);\n },\n};\n\nconst RouterContext = React.createContext<RouterAdapter>(defaultAdapter);\n\n/**\n * Teaches Constellation how *your* app navigates.\n *\n * The library ships router-agnostic: without a provider, links are plain\n * anchors and navigation is a full page load, which is correct (if not\n * SPA-fast) everywhere. Wrap your app once to upgrade every Constellation link,\n * breadcrumb, sidebar item, and menu action to your router at the same time.\n *\n * @example React Router\n * ```tsx\n * import { Link, useNavigate } from 'react-router-dom';\n *\n * const navigate = useNavigate();\n * <RouterProvider linkComponent={Link} navigate={navigate}>…</RouterProvider>\n * ```\n *\n * @example Next.js\n * ```tsx\n * <RouterProvider linkComponent={NextLink} navigate={router.push}>…</RouterProvider>\n * ```\n */\nexport function RouterProvider({\n linkComponent,\n navigate,\n children,\n}: Partial<RouterAdapter> & { children: React.ReactNode }) {\n const value = React.useMemo<RouterAdapter>(\n () => ({\n linkComponent: linkComponent ?? defaultAdapter.linkComponent,\n navigate: navigate ?? defaultAdapter.navigate,\n }),\n [linkComponent, navigate],\n );\n\n return <RouterContext.Provider value={value}>{children}</RouterContext.Provider>;\n}\n\nexport function useRouterAdapter(): RouterAdapter {\n return React.useContext(RouterContext);\n}\n"],"names":["_jsx"],"mappings":";;;AAYA,MAAM,cAAc,GAAkB;AACpC,IAAA,aAAa,EAAE,GAAG;AAClB,IAAA,QAAQ,EAAE,CAAC,IAAI,EAAE,OAAO,KAAI;QAC1B,IAAI,OAAO,MAAM,KAAK,WAAW;YAAE;QACnC,IAAI,OAAO,EAAE,OAAO;AAAE,YAAA,MAAM,CAAC,QAAQ,CAAC,OAAO,CAAC,IAAI,CAAC;;AAC9C,YAAA,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,IAAI,CAAC;IACnC,CAAC;CACF;AAED,MAAM,aAAa,GAAG,KAAK,CAAC,aAAa,CAAgB,cAAc,CAAC;AAExE;;;;;;;;;;;;;;;;;;;;AAoBG;AACG,SAAU,cAAc,CAAC,EAC7B,aAAa,EACb,QAAQ,EACR,QAAQ,GAC+C,EAAA;IACvD,MAAM,KAAK,GAAG,KAAK,CAAC,OAAO,CACzB,OAAO;AACL,QAAA,aAAa,EAAE,aAAa,IAAI,cAAc,CAAC,aAAa;AAC5D,QAAA,QAAQ,EAAE,QAAQ,IAAI,cAAc,CAAC,QAAQ;AAC9C,KAAA,CAAC,EACF,CAAC,aAAa,EAAE,QAAQ,CAAC,CAC1B;IAED,OAAOA,GAAA,CAAC,aAAa,CAAC,QAAQ,EAAA,EAAC,KAAK,EAAE,KAAK,EAAA,QAAA,EAAG,QAAQ,EAAA,CAA0B;AAClF;SAEgB,gBAAgB,GAAA;AAC9B,IAAA,OAAO,KAAK,CAAC,UAAU,CAAC,aAAa,CAAC;AACxC;;"}
1
+ {"version":3,"file":"router-context.js","sources":["../../../src/navigation/Router/router-context.tsx"],"sourcesContent":["import * as React from 'react';\n\nexport interface RouterAdapter {\n /**\n * Component used to render in-app links. Receives `href` plus any props\n * passed through `Link`. Defaults to a plain `<a>`.\n */\n linkComponent: React.ElementType;\n /** Programmatic navigation. Defaults to a full page load. */\n navigate: (href: string, options?: { replace?: boolean }) => void;\n}\n\nconst defaultAdapter: RouterAdapter = {\n linkComponent: 'a',\n navigate: (href, options) => {\n if (typeof window === 'undefined') return;\n if (options?.replace) window.location.replace(href);\n else window.location.assign(href);\n },\n};\n\nconst RouterContext = React.createContext<RouterAdapter>(defaultAdapter);\n\nexport interface RouterProviderProps extends Partial<RouterAdapter> {\n /**\n * Name of the prop `linkComponent` reads its destination from. Constellation\n * always speaks `href`; routers whose link takes `to` (React Router, TanStack\n * Router) need `linkProp={'to'}` so the destination is handed over under that\n * name instead. Defaults to `'href'` (Next.js, Inertia, plain anchors).\n */\n linkProp?: 'href' | 'to';\n children: React.ReactNode;\n}\n\n/**\n * Wraps a router link that reads `to` so it accepts `href` like every other\n * Constellation link target. `href` is consumed here and never reaches the DOM\n * through the router's own prop spreading.\n */\nfunction adaptLinkProp(Component: React.ElementType, linkProp: 'to'): React.ElementType {\n const Adapted = React.forwardRef<HTMLAnchorElement, { href: string }>(\n ({ href, ...rest }, ref) => <Component ref={ref} {...{ [linkProp]: href }} {...rest} />,\n );\n Adapted.displayName = 'RouterLink';\n return Adapted;\n}\n\n/**\n * Teaches Constellation how *your* app navigates.\n *\n * The library ships router-agnostic: without a provider, links are plain\n * anchors and navigation is a full page load, which is correct (if not\n * SPA-fast) everywhere. Wrap your app once to upgrade every Constellation link,\n * breadcrumb, sidebar item, and menu action to your router at the same time.\n *\n * @example React Router (its `Link` takes `to`, so name the prop)\n * ```tsx\n * import { Link, useNavigate } from 'react-router-dom';\n *\n * const navigate = useNavigate();\n * <RouterProvider linkComponent={Link} linkProp={'to'} navigate={navigate}>…</RouterProvider>\n * ```\n *\n * @example Next.js\n * ```tsx\n * <RouterProvider linkComponent={NextLink} navigate={router.push}>…</RouterProvider>\n * ```\n */\nexport function RouterProvider({\n linkComponent,\n linkProp = 'href',\n navigate,\n children,\n}: RouterProviderProps) {\n // Memoised on the component itself: a new wrapper identity would remount\n // every link in the app.\n const resolvedLink = React.useMemo<React.ElementType>(() => {\n if (!linkComponent) return defaultAdapter.linkComponent;\n return linkProp === 'href' ? linkComponent : adaptLinkProp(linkComponent, linkProp);\n }, [linkComponent, linkProp]);\n\n const value = React.useMemo<RouterAdapter>(\n () => ({\n linkComponent: resolvedLink,\n navigate: navigate ?? defaultAdapter.navigate,\n }),\n [resolvedLink, navigate],\n );\n\n return <RouterContext.Provider value={value}>{children}</RouterContext.Provider>;\n}\n\nexport function useRouterAdapter(): RouterAdapter {\n return React.useContext(RouterContext);\n}\n"],"names":["_jsx"],"mappings":";;;AAYA,MAAM,cAAc,GAAkB;AACpC,IAAA,aAAa,EAAE,GAAG;AAClB,IAAA,QAAQ,EAAE,CAAC,IAAI,EAAE,OAAO,KAAI;QAC1B,IAAI,OAAO,MAAM,KAAK,WAAW;YAAE;QACnC,IAAI,OAAO,EAAE,OAAO;AAAE,YAAA,MAAM,CAAC,QAAQ,CAAC,OAAO,CAAC,IAAI,CAAC;;AAC9C,YAAA,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,IAAI,CAAC;IACnC,CAAC;CACF;AAED,MAAM,aAAa,GAAG,KAAK,CAAC,aAAa,CAAgB,cAAc,CAAC;AAaxE;;;;AAIG;AACH,SAAS,aAAa,CAAC,SAA4B,EAAE,QAAc,EAAA;AACjE,IAAA,MAAM,OAAO,GAAG,KAAK,CAAC,UAAU,CAC9B,CAAC,EAAE,IAAI,EAAE,GAAG,IAAI,EAAE,EAAE,GAAG,KAAKA,GAAA,CAAC,SAAS,EAAA,EAAC,GAAG,EAAE,GAAG,EAAQ,CAAC,QAAQ,GAAG,IAAI,EAAA,GAAQ,IAAI,EAAA,CAAI,CACxF;AACD,IAAA,OAAO,CAAC,WAAW,GAAG,YAAY;AAClC,IAAA,OAAO,OAAO;AAChB;AAEA;;;;;;;;;;;;;;;;;;;;AAoBG;AACG,SAAU,cAAc,CAAC,EAC7B,aAAa,EACb,QAAQ,GAAG,MAAM,EACjB,QAAQ,EACR,QAAQ,GACY,EAAA;;;AAGpB,IAAA,MAAM,YAAY,GAAG,KAAK,CAAC,OAAO,CAAoB,MAAK;AACzD,QAAA,IAAI,CAAC,aAAa;YAAE,OAAO,cAAc,CAAC,aAAa;AACvD,QAAA,OAAO,QAAQ,KAAK,MAAM,GAAG,aAAa,GAAG,aAAa,CAAC,aAAa,EAAE,QAAQ,CAAC;AACrF,IAAA,CAAC,EAAE,CAAC,aAAa,EAAE,QAAQ,CAAC,CAAC;IAE7B,MAAM,KAAK,GAAG,KAAK,CAAC,OAAO,CACzB,OAAO;AACL,QAAA,aAAa,EAAE,YAAY;AAC3B,QAAA,QAAQ,EAAE,QAAQ,IAAI,cAAc,CAAC,QAAQ;AAC9C,KAAA,CAAC,EACF,CAAC,YAAY,EAAE,QAAQ,CAAC,CACzB;IAED,OAAOA,GAAA,CAAC,aAAa,CAAC,QAAQ,EAAA,EAAC,KAAK,EAAE,KAAK,EAAA,QAAA,EAAG,QAAQ,EAAA,CAA0B;AAClF;SAEgB,gBAAgB,GAAA;AAC9B,IAAA,OAAO,KAAK,CAAC,UAAU,CAAC,aAAa,CAAC;AACxC;;"}
@@ -62,7 +62,7 @@ declare function DropdownMenuSubContent({ className, ...props }: React.HTMLAttri
62
62
  declare const linkVariants: (props?: ({
63
63
  underline?: boolean | null | undefined;
64
64
  hover?: "default" | "none" | null | undefined;
65
- theme?: "destructive" | "inherit" | "primary" | "secondary" | "warning" | "success" | "info" | "slate" | null | undefined;
65
+ theme?: "inherit" | "primary" | "secondary" | "success" | "destructive" | "warning" | "info" | "slate" | null | undefined;
66
66
  } & class_variance_authority_types.ClassProp) | undefined) => string;
67
67
 
68
68
  interface LinkProps extends Omit<React.AnchorHTMLAttributes<HTMLAnchorElement>, 'onClick'>, VariantProps<typeof linkVariants> {
@@ -96,6 +96,16 @@ interface RouterAdapter {
96
96
  replace?: boolean;
97
97
  }) => void;
98
98
  }
99
+ interface RouterProviderProps extends Partial<RouterAdapter> {
100
+ /**
101
+ * Name of the prop `linkComponent` reads its destination from. Constellation
102
+ * always speaks `href`; routers whose link takes `to` (React Router, TanStack
103
+ * Router) need `linkProp={'to'}` so the destination is handed over under that
104
+ * name instead. Defaults to `'href'` (Next.js, Inertia, plain anchors).
105
+ */
106
+ linkProp?: 'href' | 'to';
107
+ children: React.ReactNode;
108
+ }
99
109
  /**
100
110
  * Teaches Constellation how *your* app navigates.
101
111
  *
@@ -104,12 +114,12 @@ interface RouterAdapter {
104
114
  * SPA-fast) everywhere. Wrap your app once to upgrade every Constellation link,
105
115
  * breadcrumb, sidebar item, and menu action to your router at the same time.
106
116
  *
107
- * @example React Router
117
+ * @example React Router (its `Link` takes `to`, so name the prop)
108
118
  * ```tsx
109
119
  * import { Link, useNavigate } from 'react-router-dom';
110
120
  *
111
121
  * const navigate = useNavigate();
112
- * <RouterProvider linkComponent={Link} navigate={navigate}>…</RouterProvider>
122
+ * <RouterProvider linkComponent={Link} linkProp={'to'} navigate={navigate}>…</RouterProvider>
113
123
  * ```
114
124
  *
115
125
  * @example Next.js
@@ -117,9 +127,7 @@ interface RouterAdapter {
117
127
  * <RouterProvider linkComponent={NextLink} navigate={router.push}>…</RouterProvider>
118
128
  * ```
119
129
  */
120
- declare function RouterProvider({ linkComponent, navigate, children, }: Partial<RouterAdapter> & {
121
- children: React.ReactNode;
122
- }): React.JSX.Element;
130
+ declare function RouterProvider({ linkComponent, linkProp, navigate, children, }: RouterProviderProps): React.JSX.Element;
123
131
  declare function useRouterAdapter(): RouterAdapter;
124
132
 
125
133
  interface SheetProps {
@@ -179,4 +187,4 @@ declare function SheetTitle({ className, ...props }: React.ComponentProps<'h2'>)
179
187
  declare function SheetDescription({ className, ...props }: React.ComponentProps<'p'>): React.JSX.Element;
180
188
 
181
189
  export { Breadcrumbs, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, Link, RouterProvider, Sheet, SheetBody, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger, useRouterAdapter };
182
- export type { DropdownMenuContentProps, DropdownMenuItemProps, DropdownMenuProps, DropdownMenuTriggerProps, LinkProps, RouterAdapter, SheetCloseProps, SheetContentProps, SheetProps, SheetTriggerProps };
190
+ export type { DropdownMenuContentProps, DropdownMenuItemProps, DropdownMenuProps, DropdownMenuTriggerProps, LinkProps, RouterAdapter, RouterProviderProps, SheetCloseProps, SheetContentProps, SheetProps, SheetTriggerProps };
package/dist/ui.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- export { a as Alert, b as AlertBanner, c as AlertBannerProps, d as AlertDescription, f as AlertProps, g as AlertProvider, i as AlertTitle, j as Avatar, k as AvatarFallback, l as AvatarFallbackProps, m as AvatarImage, n as AvatarImageProps, o as AvatarProps, C as Chip, p as ChipProps, q as ChipSelect, r as ChipSelectOption, s as ChipSelectProps, t as CodeBlock, u as CodeBlockProps, D as DevIndicator, v as DevIndicatorProps, w as Dialog, x as DialogClose, y as DialogCloseProps, z as DialogContent, B as DialogContentProps, E as DialogDescription, F as DialogFooter, G as DialogHeader, H as DialogOverlay, I as DialogPortal, J as DialogProps, K as DialogTitle, L as DialogTrigger, M as DialogTriggerProps, N as EmptyState, O as EmptyStateProps, P as Icon, Q as IconProps, R as List, T as ListItem, U as ListItemProps, V as ListProps, W as Pagination, Y as ProgressBar, Z as ProgressBarProps, $ as Separator, a0 as SeparatorProps, a3 as StatCard, a4 as StatCardDirection, a5 as StatCardProps, a6 as StatCardSize, a7 as StatCardTheme, a8 as StatCardVariant, a9 as StatusDot, aa as StatusDotProps, ab as Step, ac as StepProgress, ad as StepProgressProps, ae as SwipeRow, af as SwipeRowProps, ag as Switch, ah as SwitchProps, ai as Table, aj as TableActionCell, ak as TableActionCellProps, al as TableActionItem, am as TableBody, an as TableBodyProps, ao as TableCard, ap as TableCell, aq as TableFooter, ar as TableHead, as as TableHeader, at as TableRow, au as TableSortableHeader, av as TableSortableHeaderProps, aw as TableToolbar, ax as TableToolbarProps, ay as Toggle, az as ToggleGroup, aA as ToggleGroupProps, aB as ToggleProps, aC as TrendDirection, aD as persistAlert, aE as statusDotVariants } from './index-C7SAfZfl.js';
2
- export { B as Button, a as ButtonProps, T as Tooltip, b as TooltipContent, c as TooltipContentProps, d as TooltipProps, e as TooltipProvider, f as TooltipTrigger, g as TooltipTriggerProps } from './tooltip-ChpsbkOU.js';
1
+ export { a as Alert, b as AlertBanner, c as AlertBannerProps, d as AlertDescription, f as AlertProps, g as AlertProvider, i as AlertTitle, j as Avatar, k as AvatarFallback, l as AvatarFallbackProps, m as AvatarImage, n as AvatarImageProps, o as AvatarProps, C as Chip, p as ChipProps, q as ChipSelect, r as ChipSelectOption, s as ChipSelectProps, t as CodeBlock, u as CodeBlockProps, D as DevIndicator, v as DevIndicatorProps, w as Dialog, x as DialogClose, y as DialogCloseProps, z as DialogContent, B as DialogContentProps, E as DialogDescription, F as DialogFooter, G as DialogHeader, H as DialogOverlay, I as DialogPortal, J as DialogProps, K as DialogTitle, L as DialogTrigger, M as DialogTriggerProps, N as EmptyState, O as EmptyStateProps, P as Icon, Q as IconProps, R as List, T as ListItem, U as ListItemProps, V as ListProps, W as Pagination, Y as ProgressBar, Z as ProgressBarProps, $ as Separator, a0 as SeparatorProps, a3 as StatCard, a4 as StatCardDirection, a5 as StatCardProps, a6 as StatCardSize, a7 as StatCardTheme, a8 as StatCardVariant, a9 as StatusDot, aa as StatusDotProps, ab as Step, ac as StepProgress, ad as StepProgressProps, ae as SwipeRow, af as SwipeRowProps, ag as Switch, ah as SwitchProps, ai as Table, aj as TableActionCell, ak as TableActionCellProps, al as TableActionItem, am as TableBody, an as TableBodyProps, ao as TableCard, ap as TableCell, aq as TableFooter, ar as TableHead, as as TableHeader, at as TableRow, au as TableSortableHeader, av as TableSortableHeaderProps, aw as TableToolbar, ax as TableToolbarProps, ay as Toggle, az as ToggleGroup, aA as ToggleGroupProps, aB as ToggleProps, aC as TrendDirection, aD as persistAlert, aE as statusDotVariants } from './index-B0UMInYo.js';
2
+ export { B as Button, a as ButtonProps, T as Tooltip, b as TooltipContent, c as TooltipContentProps, d as TooltipProps, e as TooltipProvider, f as TooltipTrigger, g as TooltipTriggerProps } from './tooltip-Dtoq3bn_.js';
3
3
  import 'class-variance-authority';
4
4
  import 'react';
5
5
  import 'class-variance-authority/types';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kismet-ux/constellation",
3
- "version": "1.15.0",
3
+ "version": "1.15.1",
4
4
  "type": "module",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.js",