@rebasepro/ui 0.16.0 → 0.16.1-canary.g701140a

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (43) hide show
  1. package/dist/components/BooleanSwitchWithLabel.d.ts +1 -1
  2. package/dist/components/Button.d.ts +1 -1
  3. package/dist/components/Chip.d.ts +1 -1
  4. package/dist/components/CircularProgressCenter.d.ts +1 -1
  5. package/dist/components/ColorPicker.d.ts +1 -1
  6. package/dist/components/DebouncedTextField.d.ts +1 -1
  7. package/dist/components/DialogTitle.d.ts +1 -1
  8. package/dist/components/LoadingButton.d.ts +1 -1
  9. package/dist/components/VirtualTable/VirtualTable.d.ts +1 -1
  10. package/dist/components/VirtualTable/VirtualTableCell.d.ts +1 -1
  11. package/dist/components/VirtualTable/VirtualTableHeader.d.ts +1 -1
  12. package/dist/components/VirtualTable/VirtualTableHeaderRow.d.ts +1 -1
  13. package/dist/components/VirtualTable/VirtualTableProps.d.ts +1 -1
  14. package/dist/components/VirtualTable/VirtualTableRow.d.ts +1 -1
  15. package/dist/components/VirtualTable/index.d.ts +10 -10
  16. package/dist/components/VirtualTable/selection/SelectionContext.d.ts +1 -1
  17. package/dist/components/VirtualTable/types.d.ts +2 -2
  18. package/dist/components/index.d.ts +53 -53
  19. package/dist/hooks/index.d.ts +6 -6
  20. package/dist/icons/GitHubIcon.d.ts +1 -1
  21. package/dist/icons/HandleIcon.d.ts +1 -1
  22. package/dist/icons/index.d.ts +6 -6
  23. package/dist/index.d.ts +17 -17
  24. package/dist/util/index.d.ts +4 -4
  25. package/dist/views/CardView.d.ts +1 -1
  26. package/dist/views/CollectionView/CollectionCardView.d.ts +1 -1
  27. package/dist/views/CollectionView/CollectionKanbanView.d.ts +1 -1
  28. package/dist/views/CollectionView/CollectionListView.d.ts +1 -1
  29. package/dist/views/CollectionView/CollectionTableView.d.ts +1 -1
  30. package/dist/views/CollectionView/CollectionView.d.ts +1 -1
  31. package/dist/views/CollectionView/CollectionViewToolbar.d.ts +1 -1
  32. package/dist/views/CollectionView/CollectionViewTypes.d.ts +1 -1
  33. package/dist/views/CollectionView/DefaultCellRenderer.d.ts +1 -1
  34. package/dist/views/CollectionView/index.d.ts +8 -8
  35. package/dist/views/CollectionView/resolveTitleProperty.d.ts +1 -1
  36. package/dist/views/Kanban/Board.d.ts +1 -1
  37. package/dist/views/Kanban/BoardColumn.d.ts +1 -1
  38. package/dist/views/Kanban/BoardSortableList.d.ts +1 -1
  39. package/dist/views/Kanban/index.d.ts +5 -5
  40. package/dist/views/Kanban/placement.d.ts +1 -1
  41. package/dist/views/KanbanView.d.ts +1 -1
  42. package/dist/views/index.d.ts +4 -4
  43. package/package.json +2 -2
@@ -1,5 +1,5 @@
1
1
  import React from "react";
2
- import { BooleanSwitchProps } from "./BooleanSwitch";
2
+ import { BooleanSwitchProps } from "./BooleanSwitch.js";
3
3
  export type BooleanSwitchWithLabelProps = BooleanSwitchProps & {
4
4
  position?: "start" | "end";
5
5
  invisible?: boolean;
@@ -1,5 +1,5 @@
1
1
  import React from "react";
2
- import { type ButtonSize } from "../styles";
2
+ import { type ButtonSize } from "../styles.js";
3
3
  export type ButtonProps<C extends React.ElementType = "button"> = {
4
4
  children?: React.ReactNode;
5
5
  variant?: "filled" | "outlined" | "text";
@@ -1,5 +1,5 @@
1
1
  import React from "react";
2
- import type { ChipColorKey, ChipColorScheme } from "../util/chip_colors";
2
+ import type { ChipColorKey, ChipColorScheme } from "../util/chip_colors.js";
3
3
  export type { ChipColorKey, ChipColorScheme };
4
4
  export interface ChipProps {
5
5
  className?: string;
@@ -1,5 +1,5 @@
1
1
  import React from "react";
2
- import { CircularProgressProps } from "./CircularProgress";
2
+ import { CircularProgressProps } from "./CircularProgress.js";
3
3
  /**
4
4
  *
5
5
  * @param text
@@ -1,5 +1,5 @@
1
1
  import React from "react";
2
- import { ChipColorKey } from "./Chip";
2
+ import { ChipColorKey } from "./Chip.js";
3
3
  export interface ColorPickerProps {
4
4
  /**
5
5
  * Currently selected color key
@@ -1,3 +1,3 @@
1
1
  import React from "react";
2
- import { TextFieldProps } from "./TextField";
2
+ import { TextFieldProps } from "./TextField.js";
3
3
  export declare function DebouncedTextField<T extends string | number>(props: TextFieldProps<T>): React.JSX.Element;
@@ -1,5 +1,5 @@
1
1
  import React from "react";
2
- import { TypographyProps, TypographyVariant } from "./Typography";
2
+ import { TypographyProps, TypographyVariant } from "./Typography.js";
3
3
  export type DialogContentProps = TypographyProps & {
4
4
  children: React.ReactNode;
5
5
  hidden?: boolean;
@@ -1,5 +1,5 @@
1
1
  import React from "react";
2
- import { ButtonProps } from "./Button";
2
+ import { ButtonProps } from "./Button.js";
3
3
  export type LoadingButtonProps<P extends React.ElementType> = ButtonProps<P> & {
4
4
  startIcon?: React.ReactNode;
5
5
  loading?: boolean;
@@ -1,5 +1,5 @@
1
1
  import React from "react";
2
- import { VirtualTableProps } from "./VirtualTableProps";
2
+ import { VirtualTableProps } from "./VirtualTableProps.js";
3
3
  /**
4
4
  * `React.memo` is not generic-preserving: it takes the props type as its own
5
5
  * type argument, so annotating the call with
@@ -1,5 +1,5 @@
1
1
  import React from "react";
2
- import { CellRendererParams, VirtualTableColumn } from "./VirtualTableProps";
2
+ import { CellRendererParams, VirtualTableColumn } from "./VirtualTableProps.js";
3
3
  type VirtualTableCellProps<T> = {
4
4
  dataKey: string;
5
5
  column: VirtualTableColumn;
@@ -1,5 +1,5 @@
1
1
  import React from "react";
2
- import { VirtualTableColumn, VirtualTableSort, VirtualTableWhereFilterOp } from "./VirtualTableProps";
2
+ import { VirtualTableColumn, VirtualTableSort, VirtualTableWhereFilterOp } from "./VirtualTableProps.js";
3
3
  export type FilterFormFieldProps<CustomProps> = {
4
4
  id: React.Key;
5
5
  filterValue: [VirtualTableWhereFilterOp, unknown] | undefined;
@@ -1,3 +1,3 @@
1
1
  import React from "react";
2
- import { VirtualTableContextProps } from "./types";
2
+ import { VirtualTableContextProps } from "./types.js";
3
3
  export declare const VirtualTableHeaderRow: ({ columns, sortIndex, onColumnSort, onFilterUpdate, filter, onColumnResize, onColumnResizeEnd, createFilterField, AddColumnComponent, onColumnsOrderChange, data, cellRenderer: CellRenderer, rowHeight, draggingColumnId, headerHeight }: VirtualTableContextProps<Record<string, unknown>>) => React.JSX.Element;
@@ -1,5 +1,5 @@
1
1
  import React from "react";
2
- import type { FilterFormFieldProps } from "./VirtualTableHeader";
2
+ import type { FilterFormFieldProps } from "./VirtualTableHeader.js";
3
3
  /** One sort key: the column, and which way it runs. */
4
4
  export type VirtualTableSortKey = [string, "asc" | "desc"];
5
5
  export type OnRowClickParams<T extends Record<string, unknown>> = {
@@ -1,3 +1,3 @@
1
1
  import React from "react";
2
- import { VirtualTableRowProps } from "./types";
2
+ import { VirtualTableRowProps } from "./types.js";
3
3
  export declare const VirtualTableRow: React.NamedExoticComponent<VirtualTableRowProps<Record<string, unknown>>>;
@@ -1,10 +1,10 @@
1
- export { VirtualTable } from "./VirtualTable";
2
- export * from "./VirtualTableProps";
3
- export type { FilterFormFieldProps } from "./VirtualTableHeader";
4
- export * from "./selection/SelectionStore";
5
- export * from "./selection/SelectionContext";
6
- export * from "./fields/VirtualTableInput";
7
- export * from "./fields/VirtualTableNumberInput";
8
- export * from "./fields/VirtualTableSwitch";
9
- export * from "./fields/VirtualTableDateField";
10
- export * from "./fields/VirtualTableSelect";
1
+ export { VirtualTable } from "./VirtualTable.js";
2
+ export * from "./VirtualTableProps.js";
3
+ export type { FilterFormFieldProps } from "./VirtualTableHeader.js";
4
+ export * from "./selection/SelectionStore.js";
5
+ export * from "./selection/SelectionContext.js";
6
+ export * from "./fields/VirtualTableInput.js";
7
+ export * from "./fields/VirtualTableNumberInput.js";
8
+ export * from "./fields/VirtualTableSwitch.js";
9
+ export * from "./fields/VirtualTableDateField.js";
10
+ export * from "./fields/VirtualTableSelect.js";
@@ -1,5 +1,5 @@
1
1
  import React from "react";
2
- import { VirtualTableSelectionStore, SelectedCell } from "./SelectionStore";
2
+ import { VirtualTableSelectionStore, SelectedCell } from "./SelectionStore.js";
3
3
  export interface VirtualTableSelectionContextProps<T extends SelectedCell = SelectedCell> {
4
4
  selectionStore: VirtualTableSelectionStore<T>;
5
5
  select: (cell: T | undefined) => void;
@@ -1,6 +1,6 @@
1
1
  import React from "react";
2
- import { CellRendererParams, OnRowClickParams, OnVirtualTableColumnResizeParams, VirtualTableColumn, VirtualTableFilterValues, VirtualTableWhereFilterOp } from "./VirtualTableProps";
3
- import { FilterFormFieldProps } from "./VirtualTableHeader";
2
+ import { CellRendererParams, OnRowClickParams, OnVirtualTableColumnResizeParams, VirtualTableColumn, VirtualTableFilterValues, VirtualTableWhereFilterOp } from "./VirtualTableProps.js";
3
+ import { FilterFormFieldProps } from "./VirtualTableHeader.js";
4
4
  export type VirtualTableRowProps<T extends Record<string, unknown>> = {
5
5
  style: React.CSSProperties;
6
6
  rowHeight: number;
@@ -1,56 +1,56 @@
1
- export * from "./Autocomplete";
2
- export * from "./Alert";
3
- export * from "./Avatar";
4
- export * from "./BooleanSwitch";
5
- export * from "./BooleanSwitchWithLabel";
6
- export * from "./Button";
7
- export * from "./Card";
8
- export * from "./CenteredView";
9
- export * from "./Container";
10
- export * from "./Collapse";
11
- export * from "./CircularProgress";
12
- export * from "./CircularProgressCenter";
13
- export * from "./ErrorBoundary";
14
- export * from "./Checkbox";
15
- export * from "./Chip";
16
- export * from "./ColorPicker";
17
- export * from "./DateTimeField";
18
- export * from "./Dialog";
19
- export * from "./DialogActions";
20
- export * from "./DialogContent";
21
- export * from "./DialogTitle";
22
- export * from "./ExpandablePanel";
23
- export * from "./FileUpload";
24
- export * from "./FilterChip";
25
- export * from "./IconButton";
26
- export * from "./InputLabel";
27
- export * from "./InfoLabel";
28
- export * from "./Label";
29
- export * from "./LoadingButton";
30
- export * from "./Markdown";
31
- export * from "./Menu";
32
- export * from "./Menubar";
33
- export * from "./MultiSelect";
34
- export * from "./Paper";
35
- export * from "./RadioGroup";
36
- export * from "./ResizablePanels";
37
- export * from "./SearchBar";
38
- export * from "./Select";
39
- export * from "./Separator";
40
- export * from "./Slider";
41
- export * from "./Sheet";
42
- export * from "./TextareaAutosize";
43
- export * from "./TextField";
44
- export * from "./Tooltip";
45
- export * from "./Typography";
46
- export * from "./Tabs";
47
- export * from "./Table";
48
- export * from "./Popover";
49
- export * from "./Badge";
50
- export * from "./DebouncedTextField";
51
- export * from "./Skeleton";
52
- export * from "./ToggleButtonGroup";
53
- export * from "./VirtualTable";
1
+ export * from "./Autocomplete.js";
2
+ export * from "./Alert.js";
3
+ export * from "./Avatar.js";
4
+ export * from "./BooleanSwitch.js";
5
+ export * from "./BooleanSwitchWithLabel.js";
6
+ export * from "./Button.js";
7
+ export * from "./Card.js";
8
+ export * from "./CenteredView.js";
9
+ export * from "./Container.js";
10
+ export * from "./Collapse.js";
11
+ export * from "./CircularProgress.js";
12
+ export * from "./CircularProgressCenter.js";
13
+ export * from "./ErrorBoundary.js";
14
+ export * from "./Checkbox.js";
15
+ export * from "./Chip.js";
16
+ export * from "./ColorPicker.js";
17
+ export * from "./DateTimeField.js";
18
+ export * from "./Dialog.js";
19
+ export * from "./DialogActions.js";
20
+ export * from "./DialogContent.js";
21
+ export * from "./DialogTitle.js";
22
+ export * from "./ExpandablePanel.js";
23
+ export * from "./FileUpload.js";
24
+ export * from "./FilterChip.js";
25
+ export * from "./IconButton.js";
26
+ export * from "./InputLabel.js";
27
+ export * from "./InfoLabel.js";
28
+ export * from "./Label.js";
29
+ export * from "./LoadingButton.js";
30
+ export * from "./Markdown.js";
31
+ export * from "./Menu.js";
32
+ export * from "./Menubar.js";
33
+ export * from "./MultiSelect.js";
34
+ export * from "./Paper.js";
35
+ export * from "./RadioGroup.js";
36
+ export * from "./ResizablePanels.js";
37
+ export * from "./SearchBar.js";
38
+ export * from "./Select.js";
39
+ export * from "./Separator.js";
40
+ export * from "./Slider.js";
41
+ export * from "./Sheet.js";
42
+ export * from "./TextareaAutosize.js";
43
+ export * from "./TextField.js";
44
+ export * from "./Tooltip.js";
45
+ export * from "./Typography.js";
46
+ export * from "./Tabs.js";
47
+ export * from "./Table.js";
48
+ export * from "./Popover.js";
49
+ export * from "./Badge.js";
50
+ export * from "./DebouncedTextField.js";
51
+ export * from "./Skeleton.js";
52
+ export * from "./ToggleButtonGroup.js";
53
+ export * from "./VirtualTable/index.js";
54
54
  import * as Portal from "@radix-ui/react-portal";
55
55
  import * as PopoverPrimitive from "@radix-ui/react-popover";
56
56
  export { Portal, PopoverPrimitive };
@@ -1,6 +1,6 @@
1
- export * from "./useInjectStyles";
2
- export * from "./useOutsideAlerter";
3
- export * from "./useDebouncedCallback";
4
- export * from "./useDebounceCallback";
5
- export * from "./useDebounceValue";
6
- export * from "./PortalContainerContext";
1
+ export * from "./useInjectStyles.js";
2
+ export * from "./useOutsideAlerter.js";
3
+ export * from "./useDebouncedCallback.js";
4
+ export * from "./useDebounceCallback.js";
5
+ export * from "./useDebounceValue.js";
6
+ export * from "./PortalContainerContext.js";
@@ -1,3 +1,3 @@
1
1
  import React from "react";
2
- import { IconProps } from "./Icon";
2
+ import { IconProps } from "./Icon.js";
3
3
  export declare function GitHubIcon({ size, color, className, onClick, style }: IconProps): React.JSX.Element;
@@ -1,3 +1,3 @@
1
1
  import React from "react";
2
- import { IconProps } from "./Icon";
2
+ import { IconProps } from "./Icon.js";
3
3
  export declare function HandleIcon({ size, color, className, onClick, style }: IconProps): React.JSX.Element;
@@ -1,10 +1,10 @@
1
- export * from "./icon_keys";
2
- export * from "./cool_icon_keys";
3
- export * from "./Icon";
4
- export * from "./GitHubIcon";
5
- export * from "./HandleIcon";
1
+ export * from "./icon_keys.js";
2
+ export * from "./cool_icon_keys.js";
3
+ export * from "./Icon.js";
4
+ export * from "./GitHubIcon.js";
5
+ export * from "./HandleIcon.js";
6
6
  export type { LucideProps, LucideIcon } from "lucide-react";
7
- export * from "./LucideIconByName";
7
+ export * from "./LucideIconByName.js";
8
8
  /**
9
9
  * lucide's full `icons` map, keyed by PascalCase name.
10
10
  *
package/dist/index.d.ts CHANGED
@@ -1,17 +1,17 @@
1
- export * from "./components";
2
- export * from "./views";
3
- export * from "./icons";
4
- export * from "./styles";
5
- export { cls } from "./util/cls";
6
- export { lazyChunk, loadChunk, isChunkLoadError } from "./util/lazy_chunk";
7
- export { CHIP_COLORS, CHIP_HUES, CHIP_SEED_KEYS, getColorSchemeForKey, getColorSchemeForSeed } from "./util/chip_colors";
8
- export type { ChipHue, ChipTone } from "./util/chip_colors";
9
- export { useOutsideAlerter } from "./hooks/useOutsideAlerter";
10
- export { useDebouncedCallback } from "./hooks/useDebouncedCallback";
11
- export { useDebounceCallback } from "./hooks/useDebounceCallback";
12
- export { useDebounceValue } from "./hooks/useDebounceValue";
13
- export { useInjectStyles } from "./hooks/useInjectStyles";
14
- export { PortalContainerProvider, usePortalContainer } from "./hooks/PortalContainerContext";
15
- export type { PortalContainerContextType, PortalContainerProviderProps } from "./hooks/PortalContainerContext";
16
- export { debounce } from "./util/debounce";
17
- export type { Cancelable } from "./util/debounce";
1
+ export * from "./components/index.js";
2
+ export * from "./views/index.js";
3
+ export * from "./icons/index.js";
4
+ export * from "./styles.js";
5
+ export { cls } from "./util/cls.js";
6
+ export { lazyChunk, loadChunk, isChunkLoadError } from "./util/lazy_chunk.js";
7
+ export { CHIP_COLORS, CHIP_HUES, CHIP_SEED_KEYS, getColorSchemeForKey, getColorSchemeForSeed } from "./util/chip_colors.js";
8
+ export type { ChipHue, ChipTone } from "./util/chip_colors.js";
9
+ export { useOutsideAlerter } from "./hooks/useOutsideAlerter.js";
10
+ export { useDebouncedCallback } from "./hooks/useDebouncedCallback.js";
11
+ export { useDebounceCallback } from "./hooks/useDebounceCallback.js";
12
+ export { useDebounceValue } from "./hooks/useDebounceValue.js";
13
+ export { useInjectStyles } from "./hooks/useInjectStyles.js";
14
+ export { PortalContainerProvider, usePortalContainer } from "./hooks/PortalContainerContext.js";
15
+ export type { PortalContainerContextType, PortalContainerProviderProps } from "./hooks/PortalContainerContext.js";
16
+ export { debounce } from "./util/debounce.js";
17
+ export type { Cancelable } from "./util/debounce.js";
@@ -1,4 +1,4 @@
1
- export * from "./cls";
2
- export * from "./debounce";
3
- export * from "./chip_colors";
4
- export * from "./key_to_icon_component";
1
+ export * from "./cls.js";
2
+ export * from "./debounce.js";
3
+ export * from "./chip_colors.js";
4
+ export * from "./key_to_icon_component.js";
@@ -1,5 +1,5 @@
1
1
  import React from "react";
2
- import { CollectionSize } from "./ListView";
2
+ import { CollectionSize } from "./ListView.js";
3
3
  export type CardViewProps<T> = {
4
4
  data: T[];
5
5
  dataLoading?: boolean;
@@ -1,5 +1,5 @@
1
1
  import React from "react";
2
- import type { CollectionPropertyConfig, CollectionDataController, CellRendererOverride, CollectionViewSize, CollectionSelectionController } from "./CollectionViewTypes";
2
+ import type { CollectionPropertyConfig, CollectionDataController, CellRendererOverride, CollectionViewSize, CollectionSelectionController } from "./CollectionViewTypes.js";
3
3
  /**
4
4
  * Props for the {@link CollectionCardView} component.
5
5
  * @group Collection View
@@ -1,5 +1,5 @@
1
1
  import React from "react";
2
- import type { CollectionPropertyConfig, CollectionDataController, CellRendererOverride, CollectionSelectionController } from "./CollectionViewTypes";
2
+ import type { CollectionPropertyConfig, CollectionDataController, CellRendererOverride, CollectionSelectionController } from "./CollectionViewTypes.js";
3
3
  /**
4
4
  * Props for the {@link CollectionKanbanView} component.
5
5
  * @group Collection View
@@ -1,5 +1,5 @@
1
1
  import React from "react";
2
- import type { CollectionPropertyConfig, CollectionDataController, CellRendererOverride, CollectionViewSize, CollectionSelectionController } from "./CollectionViewTypes";
2
+ import type { CollectionPropertyConfig, CollectionDataController, CellRendererOverride, CollectionViewSize, CollectionSelectionController } from "./CollectionViewTypes.js";
3
3
  /**
4
4
  * Props for the {@link CollectionListView} component.
5
5
  * @group Collection View
@@ -1,5 +1,5 @@
1
1
  import React from "react";
2
- import type { CollectionPropertyConfig, CollectionDataController, CellRendererOverride, CollectionViewSize, CollectionSelectionController } from "./CollectionViewTypes";
2
+ import type { CollectionPropertyConfig, CollectionDataController, CellRendererOverride, CollectionViewSize, CollectionSelectionController } from "./CollectionViewTypes.js";
3
3
  /**
4
4
  * Props for the {@link CollectionTableView} component.
5
5
  * @group Collection View
@@ -1,5 +1,5 @@
1
1
  import React from "react";
2
- import type { CollectionViewMode, CollectionViewSize, CollectionPropertyConfig, CollectionDataController, CellRendererOverride, CollectionCustomViewEntry, CollectionSelectionController, KanbanPropertyOption } from "./CollectionViewTypes";
2
+ import type { CollectionViewMode, CollectionViewSize, CollectionPropertyConfig, CollectionDataController, CellRendererOverride, CollectionCustomViewEntry, CollectionSelectionController, KanbanPropertyOption } from "./CollectionViewTypes.js";
3
3
  /**
4
4
  * Props for the headless {@link CollectionView} component.
5
5
  *
@@ -1,5 +1,5 @@
1
1
  import React from "react";
2
- import type { CollectionViewMode, CollectionViewSize, KanbanPropertyOption } from "./CollectionViewTypes";
2
+ import type { CollectionViewMode, CollectionViewSize, KanbanPropertyOption } from "./CollectionViewTypes.js";
3
3
  /**
4
4
  * Props for the {@link CollectionViewToolbar} component.
5
5
  * @group Collection View
@@ -1,5 +1,5 @@
1
1
  import React from "react";
2
- import type { VirtualTableSortKey } from "../../components/VirtualTable/VirtualTableProps";
2
+ import type { VirtualTableSortKey } from "../../components/VirtualTable/VirtualTableProps.js";
3
3
  /**
4
4
  * Supported view modes.
5
5
  *
@@ -1,5 +1,5 @@
1
1
  import React from "react";
2
- import type { CellRendererProps } from "./CollectionViewTypes";
2
+ import type { CellRendererProps } from "./CollectionViewTypes.js";
3
3
  /**
4
4
  * Default cell renderer for the headless CollectionView.
5
5
  * Handles all built-in property types without depending on any Rebase core types.
@@ -8,11 +8,11 @@
8
8
  *
9
9
  * @module CollectionView
10
10
  */
11
- export type { CollectionViewMode, CollectionViewSize, CollectionEnumValueConfig, CollectionPropertyConfig, CollectionDataController, CellRendererProps, CellRendererOverride, CollectionSelectionController, KanbanPropertyOption } from "./CollectionViewTypes";
12
- export { CollectionView } from "./CollectionView";
13
- export type { CollectionViewProps } from "./CollectionView";
14
- export type { CollectionViewToolbarProps } from "./CollectionViewToolbar";
15
- export type { CollectionTableViewProps } from "./CollectionTableView";
16
- export type { CollectionCardViewProps } from "./CollectionCardView";
17
- export type { CollectionListViewProps } from "./CollectionListView";
18
- export type { CollectionKanbanViewProps } from "./CollectionKanbanView";
11
+ export type { CollectionViewMode, CollectionViewSize, CollectionEnumValueConfig, CollectionPropertyConfig, CollectionDataController, CellRendererProps, CellRendererOverride, CollectionSelectionController, KanbanPropertyOption } from "./CollectionViewTypes.js";
12
+ export { CollectionView } from "./CollectionView.js";
13
+ export type { CollectionViewProps } from "./CollectionView.js";
14
+ export type { CollectionViewToolbarProps } from "./CollectionViewToolbar.js";
15
+ export type { CollectionTableViewProps } from "./CollectionTableView.js";
16
+ export type { CollectionCardViewProps } from "./CollectionCardView.js";
17
+ export type { CollectionListViewProps } from "./CollectionListView.js";
18
+ export type { CollectionKanbanViewProps } from "./CollectionKanbanView.js";
@@ -1,4 +1,4 @@
1
- import type { CollectionPropertyConfig } from "./CollectionViewTypes";
1
+ import type { CollectionPropertyConfig } from "./CollectionViewTypes.js";
2
2
  /**
3
3
  * Pick the property that acts as a row's title.
4
4
  *
@@ -1,3 +1,3 @@
1
1
  import React from "react";
2
- import { BoardProps } from "./board_types";
2
+ import { BoardProps } from "./board_types.js";
3
3
  export declare function Board<T, COLUMN extends string>({ data, columns: columnsProp, columnLabels, columnColors, className, assignColumn, allowColumnReorder, onColumnReorder, onItemsReorder, ItemComponent, columnLoadingState, onLoadMoreColumn, onAddItemToColumn, AddColumnComponent }: BoardProps<T, COLUMN>): React.JSX.Element;
@@ -1,5 +1,5 @@
1
1
  import React from "react";
2
- import { BoardItem, BoardItemViewProps } from "./board_types";
2
+ import { BoardItem, BoardItemViewProps } from "./board_types.js";
3
3
  export interface BoardColumnProps<T> {
4
4
  id: string;
5
5
  title: string;
@@ -1,5 +1,5 @@
1
1
  import React from "react";
2
- import { BoardItem, BoardItemViewProps } from "./board_types";
2
+ import { BoardItem, BoardItemViewProps } from "./board_types.js";
3
3
  interface BoardSortableListProps<T> {
4
4
  columnId: string;
5
5
  items: BoardItem<T>[];
@@ -1,5 +1,5 @@
1
- export * from "./board_types";
2
- export * from "./BoardColumnTitle";
3
- export * from "./BoardSortableList";
4
- export * from "./BoardColumn";
5
- export * from "./Board";
1
+ export * from "./board_types.js";
2
+ export * from "./BoardColumnTitle.js";
3
+ export * from "./BoardSortableList.js";
4
+ export * from "./BoardColumn.js";
5
+ export * from "./Board.js";
@@ -1,4 +1,4 @@
1
- import { BoardItem } from "./board_types";
1
+ import { BoardItem } from "./board_types.js";
2
2
  export interface PlaceDroppedCardParams<T> {
3
3
  /**
4
4
  * The destination column as it stands at the moment of the drop. When the
@@ -1,5 +1,5 @@
1
1
  import React from "react";
2
- import { BoardItem, BoardItemViewProps, ColumnLoadingState } from "./Kanban/board_types";
2
+ import { BoardItem, BoardItemViewProps, ColumnLoadingState } from "./Kanban/board_types.js";
3
3
  export type KanbanViewProps<T, COLUMN extends string> = {
4
4
  columns: COLUMN[];
5
5
  columnLabels?: Record<COLUMN, string>;
@@ -1,4 +1,4 @@
1
- export * from "./ListView";
2
- export * from "./CardView";
3
- export * from "./KanbanView";
4
- export * from "./CollectionView";
1
+ export * from "./ListView.js";
2
+ export * from "./CardView.js";
3
+ export * from "./KanbanView.js";
4
+ export * from "./CollectionView/index.js";
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@rebasepro/ui",
3
3
  "type": "module",
4
- "version": "0.16.0",
4
+ "version": "0.16.1-canary.g701140a",
5
5
  "description": "Rebase design system — React components and design tokens built on Radix UI, Tailwind CSS and lucide-react",
6
6
  "funding": {
7
7
  "url": "https://github.com/sponsors/rebaseco"
@@ -113,7 +113,7 @@
113
113
  },
114
114
  "scripts": {
115
115
  "watch": "vite build --watch",
116
- "build": "rm -rf dist || true && vite build && cp dist/src/index.css dist/src/theme.css dist/ && tsc --emitDeclarationOnly -p tsconfig.prod.json && node ../../scripts/assert-build-output.mjs",
116
+ "build": "rm -rf dist || true && vite build && cp dist/src/index.css dist/src/theme.css dist/ && tsc --emitDeclarationOnly -p tsconfig.prod.json && node ../../scripts/add-dts-extensions.mjs dist && node ../../scripts/assert-build-output.mjs",
117
117
  "test:lint": "eslint \"src/**\" --quiet",
118
118
  "test": "jest --passWithNoTests",
119
119
  "clean": "rm -rf dist && find ./src \\( -name '*.js' -o -name '*.d.ts' \\) -type f | xargs rm -f",