@noxickon/onyx 6.3.0 → 6.5.0

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.
@@ -16,6 +16,9 @@ export declare const buttonVariants: import('tailwind-variants').TVReturnType<{
16
16
  'soft-primary': {
17
17
  base: string[];
18
18
  };
19
+ 'ghost-primary': {
20
+ base: string[];
21
+ };
19
22
  destructive: {
20
23
  base: string[];
21
24
  };
@@ -63,6 +66,9 @@ export declare const buttonVariants: import('tailwind-variants').TVReturnType<{
63
66
  'soft-primary': {
64
67
  base: string[];
65
68
  };
69
+ 'ghost-primary': {
70
+ base: string[];
71
+ };
66
72
  destructive: {
67
73
  base: string[];
68
74
  };
@@ -110,6 +116,9 @@ export declare const buttonVariants: import('tailwind-variants').TVReturnType<{
110
116
  'soft-primary': {
111
117
  base: string[];
112
118
  };
119
+ 'ghost-primary': {
120
+ base: string[];
121
+ };
113
122
  destructive: {
114
123
  base: string[];
115
124
  };
@@ -29,6 +29,7 @@ var n = ["h-auto rounded-sm px-0 tracking-normal shadow-none active:scale-100"],
29
29
  outline: { base: ["text-fg-muted border-line", "ox-engaged:bg-surface-raised ox-engaged:text-fg ox-engaged:border-line-strong"] },
30
30
  ghost: { base: ["text-fg-muted", "ox-engaged:bg-surface-raised ox-engaged:text-fg"] },
31
31
  "soft-primary": { base: ["bg-primary-soft text-primary-soft-fg", "ox-engaged:bg-[color-mix(in_oklab,var(--primary-soft),var(--fg)_8%)]"] },
32
+ "ghost-primary": { base: ["text-primary-ink", "ox-engaged:bg-primary-soft"] },
32
33
  destructive: { base: [
33
34
  "bg-danger-solid text-danger-solid-fg",
34
35
  t,
@@ -1,11 +1,13 @@
1
- import { OxDataTableColumnConfigProps, OxDataTableFilterChipsProps, OxDataTableFooterProps, OxDataTablePaginationProps, OxDataTableProps, OxDataTableSelectionActionsProps, OxDataTableToolbarGroupProps, OxDataTableToolbarProps } from './DataTable.types';
1
+ import { OxDataTableColumnConfigProps, OxDataTableFilterChipsProps, OxDataTableFilterMenuProps, OxDataTableFooterProps, OxDataTablePaginationProps, OxDataTableProps, OxDataTableSelectionActionsProps, OxDataTableSkeletonProps, OxDataTableToolbarGroupProps, OxDataTableToolbarProps } from './DataTable.types';
2
2
  declare function OxDataTableRoot<TRow>({ caption, children, className, columnOrder, columnVisibility, columns, data, defaultColumnOrder, defaultColumnVisibility, defaultExpandedRows, defaultFrozenColumns, defaultPage, defaultSelectedRows, defaultSort, density, emptyState, endReachedThreshold, frozenColumns, getRowCanExpand, getRowId, hover, loading, maxHeight, onColumnOrderChange, onColumnVisibilityChange, onEndReached, onFrozenColumnsChange, onPageChange, onSelectionChange, onSortChange, page, pageSize, paginationMode, renderExpandedRow, rowCount, selectable, selectedRows, sort, stickyHeader, }: OxDataTableProps<TRow>): import("react").JSX.Element;
3
3
  declare function OxDataTableToolbar({ children, className }: OxDataTableToolbarProps): import("react").JSX.Element;
4
4
  declare function OxDataTableToolbarGroup({ children, className }: OxDataTableToolbarGroupProps): import("react").JSX.Element;
5
5
  declare function OxDataTableDivider(): import("react").JSX.Element;
6
- declare function OxDataTableFilterChips({ children, className }: OxDataTableFilterChipsProps): import("react").JSX.Element;
7
- declare function OxDataTableSelectionActions<TRow>({ children, fallback, }: OxDataTableSelectionActionsProps<TRow>): import("react").JSX.Element | null;
8
- declare function OxDataTablePagination({ className, layout, nextLabel, previousLabel, }: OxDataTablePaginationProps): import("react").JSX.Element;
6
+ declare function OxDataTableFilterChips({ children, className, clearLabel, onClearAll, }: OxDataTableFilterChipsProps): import("react").JSX.Element;
7
+ declare function OxDataTableFilterMenu({ className, groups, trigger, triggerLabel, }: OxDataTableFilterMenuProps): import("react").JSX.Element;
8
+ declare function OxDataTableSkeleton({ className, rows, toolbar }: OxDataTableSkeletonProps): import("react").JSX.Element;
9
+ declare function OxDataTableSelectionActions<TRow>({ children, count, fallback, }: OxDataTableSelectionActionsProps<TRow>): import("react").JSX.Element | null;
10
+ declare function OxDataTablePagination({ className, layout, nextLabel, previousLabel, summary: summaryContent, variant, }: OxDataTablePaginationProps): import("react").JSX.Element;
9
11
  declare function OxDataTableFooter({ children, className }: OxDataTableFooterProps): import("react").JSX.Element;
10
12
  declare function OxDataTableColumnConfig({ applyLabel, cancelLabel, className, title, trigger, }: OxDataTableColumnConfigProps): import("react").JSX.Element;
11
- export { OxDataTableColumnConfig, OxDataTableDivider, OxDataTableFilterChips, OxDataTableFooter, OxDataTablePagination, OxDataTableRoot, OxDataTableSelectionActions, OxDataTableToolbar, OxDataTableToolbarGroup, };
13
+ export { OxDataTableColumnConfig, OxDataTableDivider, OxDataTableFilterChips, OxDataTableFilterMenu, OxDataTableFooter, OxDataTablePagination, OxDataTableRoot, OxDataTableSelectionActions, OxDataTableSkeleton, OxDataTableToolbar, OxDataTableToolbarGroup, };