@nswds/app 3.0.2 → 4.0.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.
package/dist/index.js CHANGED
@@ -46,7 +46,7 @@ import * as CollapsiblePrimitive from '@radix-ui/react-collapsible';
46
46
  import { Command as Command$1 } from 'cmdk';
47
47
  import * as DialogPrimitive from '@radix-ui/react-dialog';
48
48
  import * as ContextMenuPrimitive from '@radix-ui/react-context-menu';
49
- import { useReactTable, getFacetedUniqueValues, getFacetedRowModel, getSortedRowModel, getPaginationRowModel, getFilteredRowModel, getCoreRowModel, flexRender } from '@tanstack/react-table';
49
+ import { tableFeatures, sortFns, filterFns, columnFacetingFeature, rowPaginationFeature, rowSelectionFeature, columnVisibilityFeature, globalFilteringFeature, columnFilteringFeature, rowSortingFeature, createFacetedUniqueValues, createFacetedRowModel, createPaginatedRowModel, createFilteredRowModel, createSortedRowModel, useTable, flexRender } from '@tanstack/react-table';
50
50
  import * as SeparatorPrimitive from '@radix-ui/react-separator';
51
51
  import { Drawer as Drawer$1 } from 'vaul';
52
52
  import { FormProvider, Controller, useFormContext, useFormState } from 'react-hook-form';
@@ -72,12 +72,7 @@ import { slugifyWithCounter } from '@sindresorhus/slugify';
72
72
  import { create } from 'zustand';
73
73
  import { persist, createJSONStorage } from 'zustand/middleware';
74
74
 
75
- var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require : typeof Proxy !== "undefined" ? new Proxy(x, {
76
- get: (a, b) => (typeof require !== "undefined" ? require : a)[b]
77
- }) : x)(function(x) {
78
- if (typeof require !== "undefined") return require.apply(this, arguments);
79
- throw Error('Dynamic require of "' + x + '" is not supported');
80
- });
75
+ // src/components/Accordion.tsx
81
76
  var Icons = {
82
77
  _10k: (props) => /* @__PURE__ */ jsx("svg", { fill: "currentColor", "data-slot": "icon", viewBox: "0 -960 960 960", ...props, children: /* @__PURE__ */ jsx("path", { d: "M240-540v150q0 13 8.5 21.5T270-360q13 0 21.5-8.5T300-390v-180q0-13-8.5-21.5T270-600h-40q-13 0-21.5 8.5T200-570q0 13 8.5 21.5T230-540h10Zm140 180h100q17 0 28.5-11.5T520-400v-160q0-17-11.5-28.5T480-600H380q-17 0-28.5 11.5T340-560v160q0 17 11.5 28.5T380-360Zm20-60v-120h60v120h-60Zm217-30 61 79q2 3 23 11 18 0 26-16.5t-3-30.5l-57-73 57-74q11-14 3-30t-26-16q-7 0-13 3t-10 8l-61 79v-60q0-13-8.5-21.5T587-600q-13 0-21.5 8.5T557-570v180q0 13 8.5 21.5T587-360q13 0 21.5-8.5T617-390v-60ZM200-120q-33 0-56.5-23.5T120-200v-560q0-33 23.5-56.5T200-840h560q33 0 56.5 23.5T840-760v560q0 33-23.5 56.5T760-120H200Zm0-80h560v-560H200v560Zm0-560v560-560Z" }) }),
83
78
  _10mp: (props) => /* @__PURE__ */ jsx("svg", { fill: "currentColor", "data-slot": "icon", viewBox: "0 -960 960 960", ...props, children: /* @__PURE__ */ jsx("path", { d: "M340-680v150q0 13 8.5 21.5T370-500q13 0 21.5-8.5T400-530v-180q0-13-8.5-21.5T370-740h-60q-13 0-21.5 8.5T280-710q0 13 8.5 21.5T310-680h30Zm180 180h100q17 0 28.5-11.5T660-540v-160q0-17-11.5-28.5T620-740H520q-17 0-28.5 11.5T480-700v160q0 17 11.5 28.5T520-500Zm20-60v-120h60v120h-60ZM200-120q-33 0-56.5-23.5T120-200v-560q0-33 23.5-56.5T200-840h560q33 0 56.5 23.5T840-760v560q0 33-23.5 56.5T760-120H200Zm0-80h560v-560H200v560Zm0-560v560-560Zm100 360h40v90q0 13 8.5 21.5T370-280q13 0 21.5-8.5T400-310v-90h40v150q0 13 8.5 21.5T470-220q13 0 21.5-8.5T500-250v-170q0-17-11.5-28.5T460-460H280q-17 0-28.5 11.5T240-420v170q0 13 8.5 21.5T270-220q13 0 21.5-8.5T300-250v-150Zm300 120h80q17 0 28.5-11.5T720-320v-100q0-17-11.5-28.5T680-460H570q-13 0-21.5 8.5T540-430v180q0 13 8.5 21.5T570-220q13 0 21.5-8.5T600-250v-30Zm0-60v-60h60v60h-60Z" }) }),
@@ -12850,7 +12845,9 @@ function ContextMenuShortcut({ className, ...props }) {
12850
12845
  }
12851
12846
  );
12852
12847
  }
12853
- function DataTablePagination({ table }) {
12848
+ function DataTablePagination({
12849
+ table
12850
+ }) {
12854
12851
  return /* @__PURE__ */ jsxs("div", { className: "flex items-center justify-between px-2", children: [
12855
12852
  /* @__PURE__ */ jsxs("div", { className: "flex-1 text-sm text-muted-foreground", children: [
12856
12853
  table.getFilteredSelectedRowModel().rows.length,
@@ -12865,12 +12862,12 @@ function DataTablePagination({ table }) {
12865
12862
  /* @__PURE__ */ jsxs(
12866
12863
  Select,
12867
12864
  {
12868
- value: `${table.getState().pagination.pageSize}`,
12865
+ value: `${table.state.pagination.pageSize}`,
12869
12866
  onValueChange: (value) => {
12870
12867
  table.setPageSize(Number(value));
12871
12868
  },
12872
12869
  children: [
12873
- /* @__PURE__ */ jsx(SelectTrigger, { className: "w-[80px]", children: /* @__PURE__ */ jsx(SelectValue, { placeholder: table.getState().pagination.pageSize }) }),
12870
+ /* @__PURE__ */ jsx(SelectTrigger, { className: "w-[80px]", children: /* @__PURE__ */ jsx(SelectValue, { placeholder: table.state.pagination.pageSize }) }),
12874
12871
  /* @__PURE__ */ jsx(SelectContent, { side: "top", children: [10, 20, 30, 40, 50].map((pageSize) => /* @__PURE__ */ jsx(SelectItem, { value: `${pageSize}`, children: pageSize }, pageSize)) })
12875
12872
  ]
12876
12873
  }
@@ -12878,7 +12875,7 @@ function DataTablePagination({ table }) {
12878
12875
  ] }),
12879
12876
  /* @__PURE__ */ jsxs("div", { className: "flex w-[100px] items-center justify-center text-sm font-medium", children: [
12880
12877
  "Page ",
12881
- table.getState().pagination.pageIndex + 1,
12878
+ table.state.pagination.pageIndex + 1,
12882
12879
  " of ",
12883
12880
  table.getPageCount()
12884
12881
  ] }),
@@ -13043,7 +13040,9 @@ function DataTableFacetedFilter({
13043
13040
  ] }) })
13044
13041
  ] });
13045
13042
  }
13046
- function DataTableViewOptions({ table }) {
13043
+ function DataTableViewOptions({
13044
+ table
13045
+ }) {
13047
13046
  return /* @__PURE__ */ jsxs(DropdownMenu, { children: [
13048
13047
  /* @__PURE__ */ jsx(DropdownMenuTrigger$1, { asChild: true, children: /* @__PURE__ */ jsxs(Button2, { variant: "outline", size: "sm", className: "nsw:ml-auto nsw:hidden nsw:lg:flex", children: [
13049
13048
  /* @__PURE__ */ jsx(Icons.tune, {}),
@@ -13096,8 +13095,12 @@ function Input({ className, type, ...props }) {
13096
13095
  }
13097
13096
  );
13098
13097
  }
13099
- function DataTableToolbar({ search, toolbar, table }) {
13100
- const isFiltered = table.getState().columnFilters.length > 0;
13098
+ function DataTableToolbar({
13099
+ search,
13100
+ toolbar,
13101
+ table
13102
+ }) {
13103
+ const isFiltered = table.state.columnFilters.length > 0;
13101
13104
  return /* @__PURE__ */ jsxs("div", { className: "flex items-center justify-between", children: [
13102
13105
  /* @__PURE__ */ jsxs("div", { className: "flex flex-1 items-center space-x-2", children: [
13103
13106
  /* @__PURE__ */ jsx(
@@ -13106,7 +13109,7 @@ function DataTableToolbar({ search, toolbar, table }) {
13106
13109
  type: "search",
13107
13110
  name: "global-filter",
13108
13111
  placeholder: search?.placeholder ?? `Filter...`,
13109
- value: table.getState().globalFilter ?? "",
13112
+ value: table.state.globalFilter ?? "",
13110
13113
  onChange: (event) => table.setGlobalFilter(event.target.value),
13111
13114
  className: "h-10 w-[184px] lg:w-[280px]"
13112
13115
  }
@@ -13210,6 +13213,22 @@ function TableCaption({ className, ...props }) {
13210
13213
  }
13211
13214
  );
13212
13215
  }
13216
+ var dataTableFeatures = tableFeatures({
13217
+ rowSortingFeature,
13218
+ columnFilteringFeature,
13219
+ globalFilteringFeature,
13220
+ columnVisibilityFeature,
13221
+ rowSelectionFeature,
13222
+ rowPaginationFeature,
13223
+ columnFacetingFeature,
13224
+ sortedRowModel: createSortedRowModel(),
13225
+ filteredRowModel: createFilteredRowModel(),
13226
+ paginatedRowModel: createPaginatedRowModel(),
13227
+ facetedRowModel: createFacetedRowModel(),
13228
+ facetedUniqueValues: createFacetedUniqueValues(),
13229
+ filterFns,
13230
+ sortFns
13231
+ });
13213
13232
  function DataTable({
13214
13233
  search,
13215
13234
  toolbar,
@@ -13222,7 +13241,8 @@ function DataTable({
13222
13241
  const [columnFilters, setColumnFilters] = React5.useState([]);
13223
13242
  const [sorting, setSorting] = React5.useState(initialSorting);
13224
13243
  const [globalFilter, setGlobalFilter] = React5.useState("");
13225
- const table = useReactTable({
13244
+ const table = useTable({
13245
+ features: dataTableFeatures,
13226
13246
  data,
13227
13247
  columns,
13228
13248
  state: {
@@ -13233,18 +13253,14 @@ function DataTable({
13233
13253
  columnFilters
13234
13254
  },
13235
13255
  enableRowSelection: true,
13256
+ // v9 enables shift-click range selection by default; keep v8 behavior
13257
+ enableRowRangeSelection: false,
13236
13258
  onRowSelectionChange: setRowSelection,
13237
13259
  onSortingChange: setSorting,
13238
13260
  onColumnFiltersChange: setColumnFilters,
13239
13261
  onColumnVisibilityChange: setColumnVisibility,
13240
13262
  onGlobalFilterChange: setGlobalFilter,
13241
- globalFilterFn: "includesString",
13242
- getCoreRowModel: getCoreRowModel(),
13243
- getFilteredRowModel: getFilteredRowModel(),
13244
- getPaginationRowModel: getPaginationRowModel(),
13245
- getSortedRowModel: getSortedRowModel(),
13246
- getFacetedRowModel: getFacetedRowModel(),
13247
- getFacetedUniqueValues: getFacetedUniqueValues()
13263
+ globalFilterFn: "includesString"
13248
13264
  });
13249
13265
  return /* @__PURE__ */ jsxs("div", { className: "space-y-4 p-1", children: [
13250
13266
  /* @__PURE__ */ jsx(DataTableToolbar, { table, search, toolbar }),
@@ -14414,7 +14430,7 @@ function FormatToggle({ format, setFormat }) {
14414
14430
 
14415
14431
  // package.json
14416
14432
  var package_default = {
14417
- version: "3.0.2"};
14433
+ version: "4.0.1"};
14418
14434
  var SluggerContext = React5__default.createContext(null);
14419
14435
  function flattenText(nodes) {
14420
14436
  if (nodes == null || typeof nodes === "boolean") return "";
@@ -21372,7 +21388,9 @@ function buildSVGPath(attrs, length, spacing = 1, offset = 0, useDashCase = true
21372
21388
  }
21373
21389
 
21374
21390
  // node_modules/motion-dom/dist/es/render/svg/utils/build-attrs.mjs
21375
- var cssMotionPathProperties = [
21391
+ var cssStyleProperties = [
21392
+ "transform",
21393
+ "opacity",
21376
21394
  "offsetDistance",
21377
21395
  "offsetPath",
21378
21396
  "offsetRotate",
@@ -21398,9 +21416,11 @@ function buildSVGAttrs(state, {
21398
21416
  state.attrs = state.style;
21399
21417
  state.style = {};
21400
21418
  const { attrs, style } = state;
21401
- if (attrs.transform) {
21402
- style.transform = attrs.transform;
21403
- delete attrs.transform;
21419
+ for (const key of cssStyleProperties) {
21420
+ if (attrs[key] !== void 0) {
21421
+ style[key] = attrs[key];
21422
+ delete attrs[key];
21423
+ }
21404
21424
  }
21405
21425
  if (style.transform || attrs.transformOrigin) {
21406
21426
  style.transformOrigin = attrs.transformOrigin ?? "50% 50%";
@@ -21410,12 +21430,6 @@ function buildSVGAttrs(state, {
21410
21430
  style.transformBox = styleProp?.transformBox ?? "fill-box";
21411
21431
  delete attrs.transformBox;
21412
21432
  }
21413
- for (const key of cssMotionPathProperties) {
21414
- if (attrs[key] !== void 0) {
21415
- style[key] = attrs[key];
21416
- delete attrs[key];
21417
- }
21418
- }
21419
21433
  if (attrX !== void 0)
21420
21434
  attrs.x = attrX;
21421
21435
  if (attrY !== void 0)
@@ -21493,6 +21507,12 @@ var SVGVisualElement = class extends DOMVisualElement {
21493
21507
  const defaultType = getDefaultValueType(key);
21494
21508
  return defaultType ? defaultType.default || 0 : 0;
21495
21509
  }
21510
+ if (cssStyleProperties.includes(key)) {
21511
+ const computedStyle = getComputedStyle(instance);
21512
+ const value = computedStyle[key];
21513
+ if (typeof value === "string" && value)
21514
+ return value.trim();
21515
+ }
21496
21516
  key = !camelCaseAttributes.has(key) ? camelToDash(key) : key;
21497
21517
  return instance.getAttribute(key);
21498
21518
  }
@@ -23382,71 +23402,6 @@ function loadFeatures(features) {
23382
23402
  }
23383
23403
  setFeatureDefinitions(featureDefinitions2);
23384
23404
  }
23385
-
23386
- // node_modules/framer-motion/dist/es/motion/utils/valid-prop.mjs
23387
- var validMotionProps = /* @__PURE__ */ new Set([
23388
- "animate",
23389
- "exit",
23390
- "variants",
23391
- "initial",
23392
- "style",
23393
- "values",
23394
- "variants",
23395
- "transition",
23396
- "transformTemplate",
23397
- "custom",
23398
- "inherit",
23399
- "onBeforeLayoutMeasure",
23400
- "onAnimationStart",
23401
- "onAnimationComplete",
23402
- "onUpdate",
23403
- "onDragStart",
23404
- "onDrag",
23405
- "onDragEnd",
23406
- "onMeasureDragConstraints",
23407
- "onDirectionLock",
23408
- "onDragTransitionEnd",
23409
- "_dragX",
23410
- "_dragY",
23411
- "onHoverStart",
23412
- "onHoverEnd",
23413
- "onViewportEnter",
23414
- "onViewportLeave",
23415
- "globalTapTarget",
23416
- "propagate",
23417
- "ignoreStrict",
23418
- "viewport"
23419
- ]);
23420
- function isValidMotionProp(key) {
23421
- return key.startsWith("while") || key.startsWith("drag") && key !== "draggable" || key.startsWith("layout") || key.startsWith("onTap") || key.startsWith("onPan") || key.startsWith("onLayout") || validMotionProps.has(key);
23422
- }
23423
-
23424
- // node_modules/framer-motion/dist/es/render/dom/utils/filter-props.mjs
23425
- var shouldForward = (key) => !isValidMotionProp(key);
23426
- function loadExternalIsValidProp(isValidProp) {
23427
- if (typeof isValidProp !== "function")
23428
- return;
23429
- shouldForward = (key) => key.startsWith("on") ? !isValidMotionProp(key) : isValidProp(key);
23430
- }
23431
- try {
23432
- const emotionPkg = "@emotion/is-prop-valid";
23433
- loadExternalIsValidProp(__require(emotionPkg).default);
23434
- } catch {
23435
- }
23436
- function filterProps(props, isDom, forwardMotionProps) {
23437
- const filteredProps = {};
23438
- for (const key in props) {
23439
- if (key === "values" && typeof props.values === "object")
23440
- continue;
23441
- if (isMotionValue(props[key]))
23442
- continue;
23443
- if (shouldForward(key) || forwardMotionProps === true && isValidMotionProp(key) || !isDom && !isValidMotionProp(key) || // If trying to use native HTML drag events, forward drag listeners
23444
- props["draggable"] && key.startsWith("onDrag")) {
23445
- filteredProps[key] = props[key];
23446
- }
23447
- }
23448
- return filteredProps;
23449
- }
23450
23405
  var MotionContext = /* @__PURE__ */ createContext({});
23451
23406
 
23452
23407
  // node_modules/framer-motion/dist/es/context/MotionContext/utils.mjs
@@ -23539,6 +23494,63 @@ function useSVGProps(props, visualState, _isStatic, Component2) {
23539
23494
  return visualProps;
23540
23495
  }
23541
23496
 
23497
+ // node_modules/framer-motion/dist/es/motion/utils/valid-prop.mjs
23498
+ var validMotionProps = /* @__PURE__ */ new Set([
23499
+ "animate",
23500
+ "exit",
23501
+ "variants",
23502
+ "initial",
23503
+ "style",
23504
+ "values",
23505
+ "variants",
23506
+ "transition",
23507
+ "transformTemplate",
23508
+ "custom",
23509
+ "inherit",
23510
+ "onBeforeLayoutMeasure",
23511
+ "onAnimationStart",
23512
+ "onAnimationComplete",
23513
+ "onUpdate",
23514
+ "onDragStart",
23515
+ "onDrag",
23516
+ "onDragEnd",
23517
+ "onMeasureDragConstraints",
23518
+ "onDirectionLock",
23519
+ "onDragTransitionEnd",
23520
+ "_dragX",
23521
+ "_dragY",
23522
+ "onHoverStart",
23523
+ "onHoverEnd",
23524
+ "onViewportEnter",
23525
+ "onViewportLeave",
23526
+ "globalTapTarget",
23527
+ "propagate",
23528
+ "ignoreStrict",
23529
+ "viewport"
23530
+ ]);
23531
+ function isValidMotionProp(key) {
23532
+ return key.startsWith("while") || key.startsWith("drag") && key !== "draggable" || key.startsWith("layout") || key.startsWith("onTap") || key.startsWith("onPan") || key.startsWith("onLayout") || validMotionProps.has(key);
23533
+ }
23534
+
23535
+ // node_modules/framer-motion/dist/es/render/dom/utils/filter-props.mjs
23536
+ function shouldForward(key, isValidProp) {
23537
+ return key.startsWith("on") ? !isValidMotionProp(key) : isValidProp?.(key) ?? !isValidMotionProp(key);
23538
+ }
23539
+ function filterProps(props, isDom, forwardMotionProps, isValidProp) {
23540
+ const filteredProps = {};
23541
+ for (const key in props) {
23542
+ if (key === "values" && typeof props.values === "object")
23543
+ continue;
23544
+ if (isMotionValue(props[key]))
23545
+ continue;
23546
+ if (shouldForward(key, isValidProp) || forwardMotionProps === true && isValidMotionProp(key) || !isDom && !isValidMotionProp(key) || // If trying to use native HTML drag events, forward drag listeners
23547
+ props["draggable"] && key.startsWith("onDrag")) {
23548
+ filteredProps[key] = props[key];
23549
+ }
23550
+ }
23551
+ return filteredProps;
23552
+ }
23553
+
23542
23554
  // node_modules/framer-motion/dist/es/render/svg/lowercase-elements.mjs
23543
23555
  var lowercaseSVGElements = [
23544
23556
  "animate",
@@ -23596,10 +23608,10 @@ function isSVGComponent(Component2) {
23596
23608
  }
23597
23609
 
23598
23610
  // node_modules/framer-motion/dist/es/render/dom/use-render.mjs
23599
- function useRender(Component2, props, ref, { latestValues }, isStatic, forwardMotionProps = false, isSVG) {
23611
+ function useRender(Component2, props, ref, { latestValues }, isStatic, forwardMotionProps = false, isSVG, isValidProp) {
23600
23612
  const useVisualProps = isSVG ?? isSVGComponent(Component2) ? useSVGProps : useHTMLProps;
23601
23613
  const visualProps = useVisualProps(props, latestValues, isStatic, Component2);
23602
- const filteredProps = filterProps(props, typeof Component2 === "string", forwardMotionProps);
23614
+ const filteredProps = filterProps(props, typeof Component2 === "string", forwardMotionProps, isValidProp);
23603
23615
  const elementProps = Component2 !== Fragment$1 ? { ...filteredProps, ...visualProps, ref } : {};
23604
23616
  const { children } = props;
23605
23617
  const renderedChildren = useMemo(() => isMotionValue(children) ? children.get() : children, [children]);
@@ -23824,7 +23836,7 @@ function createMotionComponent(Component2, { forwardMotionProps = false, type }
23824
23836
  ...props,
23825
23837
  layoutId: useLayoutId(props)
23826
23838
  };
23827
- const { isStatic } = configAndProps;
23839
+ const { isStatic, isValidProp } = configAndProps;
23828
23840
  const context = useCreateMotionContext(props);
23829
23841
  const visualState = useVisualState(props, isStatic);
23830
23842
  if (!isStatic && typeof window !== "undefined") {
@@ -23833,7 +23845,7 @@ function createMotionComponent(Component2, { forwardMotionProps = false, type }
23833
23845
  MeasureLayout2 = layoutProjection.MeasureLayout;
23834
23846
  context.visualElement = useVisualElement(Component2, visualState, configAndProps, createVisualElement, layoutProjection.ProjectionNode, isSVG);
23835
23847
  }
23836
- return jsxs(MotionContext.Provider, { value: context, children: [MeasureLayout2 && context.visualElement ? jsx(MeasureLayout2, { visualElement: context.visualElement, ...configAndProps }) : null, useRender(Component2, props, useMotionRef(visualState, context.visualElement, externalRef), visualState, isStatic, forwardMotionProps, isSVG)] });
23848
+ return jsxs(MotionContext.Provider, { value: context, children: [MeasureLayout2 && context.visualElement ? jsx(MeasureLayout2, { visualElement: context.visualElement, ...configAndProps }) : null, useRender(Component2, props, useMotionRef(visualState, context.visualElement, externalRef), visualState, isStatic, forwardMotionProps, isSVG, isValidProp)] });
23837
23849
  }
23838
23850
  MotionDOMComponent.displayName = `motion.${typeof Component2 === "string" ? Component2 : `create(${Component2.displayName ?? Component2.name ?? ""})`}`;
23839
23851
  const ForwardRefMotionComponent = forwardRef(MotionDOMComponent);
@@ -31760,6 +31772,6 @@ var languages = [
31760
31772
  "html"
31761
31773
  ];
31762
31774
 
31763
- export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, Action2 as Action, Actions, Alert, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertTitle, AreaChart, Artifact, ArtifactAction, ArtifactActions, ArtifactContent, ArtifactDescription, ArtifactHeader, ArtifactTitle, AspectRatio, AuthLayout, AvailableChartColors, Avatar, AvatarFallback, AvatarImage, Badge, BadgeButton, BarChart, BarList, BaseColorSwatches, Branch, BranchMessages, BranchNext, BranchPage, BranchPrevious, BranchSelector, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Breadcrumbs, Button2 as Button, Calendar, CalendarDayButton, Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Carousel, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious, CategoryBar, ChainOfThought, ChainOfThoughtContent, ChainOfThoughtHeader, ChainOfThoughtImage, ChainOfThoughtSearchResult, ChainOfThoughtSearchResults, ChainOfThoughtStep, ChartContainer, ChartLegend3 as ChartLegend, ChartLegendContent, ChartStyle, ChartTooltip3 as ChartTooltip, ChartTooltipContent, Checkbox, CheckboxSmall, Code, CodeBlock, CodeBlockCopyButton, CodeDemo, CodeHighlight, Collapsible, CollapsibleContent2 as CollapsibleContent, CollapsibleTrigger2 as CollapsibleTrigger, ColorCard, ColorPairingTool, ColorSwatches, ColourScale, ComboChart, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, Context, ContextCacheUsage, ContextContent, ContextContentBody, ContextContentFooter, ContextContentHeader, ContextInputUsage, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, ContextOutputUsage, ContextReasoningUsage, ContextTrigger, Conversation, ConversationContent, ConversationEmptyState, ConversationScrollButton, DataTable, DataTableColumnHeader, DataTableFacetedFilter, DataTablePagination, DataTableToolbar, DataTableViewOptions, Description4 as Description, DescriptionDetails, DescriptionList, DescriptionTerm, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DonutChart, Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, DynamicFavicon, ErrorMessage, ExpandableSearch, ExpandableSearchField, Field2 as Field, FieldGroup, FieldLabel, Fieldset2 as Fieldset, Footer, FooterAcknowledgement, FooterLegalLinks, FooterSmallPrint, FooterSocialLink, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, FormatToggle, GenerateInterpolatedColors, Header2 as Header, Heading, HeroBannerSimple, HeroBannerSupportingImage, HoverCard, HoverCardContent, HoverCardTrigger, Icons, Image4 as Image, InlineCitation, InlineCitationCard, InlineCitationCardBody, InlineCitationCardTrigger, InlineCitationCarousel, InlineCitationCarouselContent, InlineCitationCarouselHeader, InlineCitationCarouselIndex, InlineCitationCarouselItem, InlineCitationSource, InlineCitationText, Input, InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot, Label5 as Label, Legend6 as Legend, LineChart, Link, _List as List, Listbox2 as Listbox, ListboxDescription, ListboxLabel, ListboxOption2 as ListboxOption, Loader, Loading, Logo, MainNavigation, Masthead, MegaMenu, Menubar, MenubarCheckboxItem, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel, MenubarMenu, MenubarPortal, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger, Message, MessageContent, MobileHeader, MobileSearch, MultiLevelPushMenu, NSWCard, NSWCardArrow, NSWCardDescription, NSWCardIcon, NSWCardImg, NSWCardTitle, Navbar, NavbarDivider, NavbarItem, NavbarLabel, NavbarSection, NavbarSpacer, Navigation, NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuMainNavigation, NavigationMenuTrigger, NavigationMenuViewport, NotFound, OpenIn, OpenInChatGPT, OpenInClaude, OpenInContent, OpenInScira, OpenInT3, OpenInTrigger, OpenInv0, PageHeading, Pagination, PaginationGap, PaginationList, PaginationNext, PaginationPage, PaginationPrevious, Popover, PopoverAnchor, PopoverContent, PopoverTrigger, PreWithCopy, PrevNextLinks, PrevNextLinksPageLink, Progress, ProgressBar, ProgressCircle, PromptInput, PromptInputActionAddAttachments, PromptInputActionMenu, PromptInputActionMenuContent, PromptInputActionMenuItem, PromptInputActionMenuTrigger, PromptInputAttachment, PromptInputAttachments, PromptInputBody, PromptInputButton, PromptInputSubmit, PromptInputTextarea, PromptInputToolbar, PromptInputTools, Prose, RadioGroup2 as RadioGroup, RadioGroupItem, Reasoning, ReasoningContent, ReasoningTrigger, ResizableHandle, ResizablePanel, ResizablePanelGroup, Response, ScrollArea, ScrollBar, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator4 as Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger, Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarLink, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarNavigation, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, SiteSearch, Skeleton, Slider, Social, Source, Sources, SourcesContent, SourcesTrigger, SparkAreaChart, SparkBarChart, SparkLineChart, Spinner, StepIndicator, StepNavigation, Strong, SubmitButton, Suggestion, Suggestions, Switch2 as Switch, SwitchField, SwitchGroup, TabNavigation, TabNavigationLink, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableOfContents, TableRow, Tabs2 as Tabs, TabsContent, TabsList, TabsTrigger, Task, TaskContent, TaskItem, TaskItemFile, TaskTrigger, Text, TextLink, Textarea, ThemeColorPalette, ThemeProvider, ThemeSelector, ThemeSwitcher, Toaster, TocContext, TocProvider, Toggle, ToggleGroup, ToggleGroupItem, Tool, ToolContent, ToolHeader, ToolInput, ToolOutput, Tooltip5 as Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, TopLevel, TouchTarget, Tracker, Tooltip3 as TremorTooltip, ViewToggle, WebPreview, WebPreviewBody, WebPreviewNavigation, WebPreviewUrl, Wrapper, aboriginal, addStartStopToColorArray, allPalettes, badgeVariants, brand, buttonVariants, camelCase, chartColors, cn, colorDataArray, colorThemes, colors, constructCategoryColors, createColorArray, createColorData, createFormStore, darkenColor, diverging, domToSimple, focusInput, focusRing, generateColorThemes, generateDataVisColors, getColorClassName, getColorValue, getHeadings, getNodeText, getSurroundingColors, getYAxisDomain, hasErrorInput, hasOnlyOneValueForKey, humaniseVariant, interpolateColors, isLightColor, kebabCase, languages, lightenColor, navigationMenuTriggerStyle, oklchConverter, progressBarVariants, renderColorOutput, renderColorOutputToDTFM, semantic, sequential, shades, themeIndices, themeTokens, toggleVariants, truncate, useActiveSectionObserver, useDisableToc, useFormField, useIsMobile, useOnWindowResize, usePageHeadings, usePromptInputAttachments, useSelectorHeight, useSidebar, useStickyOffset, useToc };
31775
+ export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, Action2 as Action, Actions, Alert, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertTitle, AreaChart, Artifact, ArtifactAction, ArtifactActions, ArtifactContent, ArtifactDescription, ArtifactHeader, ArtifactTitle, AspectRatio, AuthLayout, AvailableChartColors, Avatar, AvatarFallback, AvatarImage, Badge, BadgeButton, BarChart, BarList, BaseColorSwatches, Branch, BranchMessages, BranchNext, BranchPage, BranchPrevious, BranchSelector, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Breadcrumbs, Button2 as Button, Calendar, CalendarDayButton, Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Carousel, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious, CategoryBar, ChainOfThought, ChainOfThoughtContent, ChainOfThoughtHeader, ChainOfThoughtImage, ChainOfThoughtSearchResult, ChainOfThoughtSearchResults, ChainOfThoughtStep, ChartContainer, ChartLegend3 as ChartLegend, ChartLegendContent, ChartStyle, ChartTooltip3 as ChartTooltip, ChartTooltipContent, Checkbox, CheckboxSmall, Code, CodeBlock, CodeBlockCopyButton, CodeDemo, CodeHighlight, Collapsible, CollapsibleContent2 as CollapsibleContent, CollapsibleTrigger2 as CollapsibleTrigger, ColorCard, ColorPairingTool, ColorSwatches, ColourScale, ComboChart, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, Context, ContextCacheUsage, ContextContent, ContextContentBody, ContextContentFooter, ContextContentHeader, ContextInputUsage, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, ContextOutputUsage, ContextReasoningUsage, ContextTrigger, Conversation, ConversationContent, ConversationEmptyState, ConversationScrollButton, DataTable, DataTableColumnHeader, DataTableFacetedFilter, DataTablePagination, DataTableToolbar, DataTableViewOptions, Description4 as Description, DescriptionDetails, DescriptionList, DescriptionTerm, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DonutChart, Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, DynamicFavicon, ErrorMessage, ExpandableSearch, ExpandableSearchField, Field2 as Field, FieldGroup, FieldLabel, Fieldset2 as Fieldset, Footer, FooterAcknowledgement, FooterLegalLinks, FooterSmallPrint, FooterSocialLink, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, FormatToggle, GenerateInterpolatedColors, Header2 as Header, Heading, HeroBannerSimple, HeroBannerSupportingImage, HoverCard, HoverCardContent, HoverCardTrigger, Icons, Image4 as Image, InlineCitation, InlineCitationCard, InlineCitationCardBody, InlineCitationCardTrigger, InlineCitationCarousel, InlineCitationCarouselContent, InlineCitationCarouselHeader, InlineCitationCarouselIndex, InlineCitationCarouselItem, InlineCitationSource, InlineCitationText, Input, InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot, Label5 as Label, Legend6 as Legend, LineChart, Link, _List as List, Listbox2 as Listbox, ListboxDescription, ListboxLabel, ListboxOption2 as ListboxOption, Loader, Loading, Logo, MainNavigation, Masthead, MegaMenu, Menubar, MenubarCheckboxItem, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel, MenubarMenu, MenubarPortal, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger, Message, MessageContent, MobileHeader, MobileSearch, MultiLevelPushMenu, NSWCard, NSWCardArrow, NSWCardDescription, NSWCardIcon, NSWCardImg, NSWCardTitle, Navbar, NavbarDivider, NavbarItem, NavbarLabel, NavbarSection, NavbarSpacer, Navigation, NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuMainNavigation, NavigationMenuTrigger, NavigationMenuViewport, NotFound, OpenIn, OpenInChatGPT, OpenInClaude, OpenInContent, OpenInScira, OpenInT3, OpenInTrigger, OpenInv0, PageHeading, Pagination, PaginationGap, PaginationList, PaginationNext, PaginationPage, PaginationPrevious, Popover, PopoverAnchor, PopoverContent, PopoverTrigger, PreWithCopy, PrevNextLinks, PrevNextLinksPageLink, Progress, ProgressBar, ProgressCircle, PromptInput, PromptInputActionAddAttachments, PromptInputActionMenu, PromptInputActionMenuContent, PromptInputActionMenuItem, PromptInputActionMenuTrigger, PromptInputAttachment, PromptInputAttachments, PromptInputBody, PromptInputButton, PromptInputSubmit, PromptInputTextarea, PromptInputToolbar, PromptInputTools, Prose, RadioGroup2 as RadioGroup, RadioGroupItem, Reasoning, ReasoningContent, ReasoningTrigger, ResizableHandle, ResizablePanel, ResizablePanelGroup, Response, ScrollArea, ScrollBar, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator4 as Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger, Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarLink, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarNavigation, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, SiteSearch, Skeleton, Slider, Social, Source, Sources, SourcesContent, SourcesTrigger, SparkAreaChart, SparkBarChart, SparkLineChart, Spinner, StepIndicator, StepNavigation, Strong, SubmitButton, Suggestion, Suggestions, Switch2 as Switch, SwitchField, SwitchGroup, TabNavigation, TabNavigationLink, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableOfContents, TableRow, Tabs2 as Tabs, TabsContent, TabsList, TabsTrigger, Task, TaskContent, TaskItem, TaskItemFile, TaskTrigger, Text, TextLink, Textarea, ThemeColorPalette, ThemeProvider, ThemeSelector, ThemeSwitcher, Toaster, TocContext, TocProvider, Toggle, ToggleGroup, ToggleGroupItem, Tool, ToolContent, ToolHeader, ToolInput, ToolOutput, Tooltip5 as Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, TopLevel, TouchTarget, Tracker, Tooltip3 as TremorTooltip, ViewToggle, WebPreview, WebPreviewBody, WebPreviewNavigation, WebPreviewUrl, Wrapper, aboriginal, addStartStopToColorArray, allPalettes, badgeVariants, brand, buttonVariants, camelCase, chartColors, cn, colorDataArray, colorThemes, colors, constructCategoryColors, createColorArray, createColorData, createFormStore, darkenColor, dataTableFeatures, diverging, domToSimple, focusInput, focusRing, generateColorThemes, generateDataVisColors, getColorClassName, getColorValue, getHeadings, getNodeText, getSurroundingColors, getYAxisDomain, hasErrorInput, hasOnlyOneValueForKey, humaniseVariant, interpolateColors, isLightColor, kebabCase, languages, lightenColor, navigationMenuTriggerStyle, oklchConverter, progressBarVariants, renderColorOutput, renderColorOutputToDTFM, semantic, sequential, shades, themeIndices, themeTokens, toggleVariants, truncate, useActiveSectionObserver, useDisableToc, useFormField, useIsMobile, useOnWindowResize, usePageHeadings, usePromptInputAttachments, useSelectorHeight, useSidebar, useStickyOffset, useToc };
31764
31776
  //# sourceMappingURL=index.js.map
31765
31777
  //# sourceMappingURL=index.js.map