@wallarm-org/design-system 1.21.0 → 1.22.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.
- package/dist/components/AppShell/story-content/_storySearchModal.js +3 -3
- package/dist/components/CodeSnippet/CodeSnippetCopyButton.d.ts +1 -1
- package/dist/components/CodeSnippet/CodeSnippetCopyButton.js +14 -7
- package/dist/components/CodeSnippet/InlineCodeSnippet.js +7 -25
- package/dist/components/Copyable/Copyable.d.ts +39 -0
- package/dist/components/Copyable/Copyable.js +85 -0
- package/dist/components/Copyable/CopyableContext.d.ts +11 -0
- package/dist/components/Copyable/CopyableContext.js +9 -0
- package/dist/components/Copyable/CopyableIcon.d.ts +9 -0
- package/dist/components/Copyable/CopyableIcon.js +13 -0
- package/dist/components/Copyable/CopyableLabel.d.ts +18 -0
- package/dist/components/Copyable/CopyableLabel.js +24 -0
- package/dist/components/Copyable/index.d.ts +4 -0
- package/dist/components/Copyable/index.js +4 -0
- package/dist/components/SearchInput/SearchInput.d.ts +18 -0
- package/dist/components/SearchInput/SearchInput.js +54 -0
- package/dist/components/SearchInput/index.d.ts +1 -0
- package/dist/components/SearchInput/index.js +1 -0
- package/dist/components/SearchModal/SearchModalInput.js +16 -3
- package/dist/components/SegmentedControl/classes.js +1 -1
- package/dist/components/Select/SelectSearchInput.js +6 -19
- package/dist/components/SettingsHeader/SettingsHeader.d.ts +7 -0
- package/dist/components/SettingsHeader/SettingsHeader.js +16 -0
- package/dist/components/SettingsHeader/SettingsHeaderActions.d.ts +6 -0
- package/dist/components/SettingsHeader/SettingsHeaderActions.js +16 -0
- package/dist/components/SettingsHeader/SettingsHeaderBreadcrumbs.d.ts +6 -0
- package/dist/components/SettingsHeader/SettingsHeaderBreadcrumbs.js +16 -0
- package/dist/components/SettingsHeader/SettingsHeaderDescription.d.ts +5 -0
- package/dist/components/SettingsHeader/SettingsHeaderDescription.js +16 -0
- package/dist/components/SettingsHeader/SettingsHeaderFilters.d.ts +6 -0
- package/dist/components/SettingsHeader/SettingsHeaderFilters.js +16 -0
- package/dist/components/SettingsHeader/SettingsHeaderHeading.d.ts +6 -0
- package/dist/components/SettingsHeader/SettingsHeaderHeading.js +16 -0
- package/dist/components/SettingsHeader/SettingsHeaderTitle.d.ts +5 -0
- package/dist/components/SettingsHeader/SettingsHeaderTitle.js +16 -0
- package/dist/components/SettingsHeader/index.d.ts +7 -0
- package/dist/components/SettingsHeader/index.js +7 -0
- package/dist/components/Table/EditableCell/EditableSelectCell.js +9 -1
- package/dist/components/Table/TableBody/TableBodyCell.js +3 -6
- package/dist/components/Table/TableRow.js +6 -1
- package/dist/components/Table/classes.d.ts +5 -0
- package/dist/components/Table/classes.js +2 -1
- package/dist/components/Table/lib/createDragHandleColumn.js +1 -1
- package/dist/hooks/index.d.ts +0 -1
- package/dist/hooks/index.js +0 -1
- package/dist/hooks/useCopyToClipboard.d.ts +9 -10
- package/dist/hooks/useCopyToClipboard.js +6 -18
- package/dist/index.d.ts +3 -1
- package/dist/index.js +3 -1
- package/dist/metadata/components.json +12489 -9140
- package/package.json +1 -1
- package/dist/components/CopyButton/CopyButton.d.ts +0 -16
- package/dist/components/CopyButton/CopyButton.js +0 -63
- package/dist/components/CopyButton/index.d.ts +0 -1
- package/dist/components/CopyButton/index.js +0 -1
- package/dist/hooks/useCopyTooltip.d.ts +0 -12
- package/dist/hooks/useCopyTooltip.js +0 -63
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { FC, HTMLAttributes, ReactNode, Ref } from 'react';
|
|
2
|
+
export interface SettingsHeaderHeadingProps extends HTMLAttributes<HTMLDivElement> {
|
|
3
|
+
ref?: Ref<HTMLDivElement>;
|
|
4
|
+
children?: ReactNode;
|
|
5
|
+
}
|
|
6
|
+
export declare const SettingsHeaderHeading: FC<SettingsHeaderHeadingProps>;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { jsx } from "react/jsx-runtime";
|
|
2
|
+
import { cn } from "../../utils/cn.js";
|
|
3
|
+
import { useTestId } from "../../utils/testId.js";
|
|
4
|
+
const SettingsHeaderHeading = ({ ref, children, className, ...props })=>{
|
|
5
|
+
const testId = useTestId('heading');
|
|
6
|
+
return /*#__PURE__*/ jsx("div", {
|
|
7
|
+
...props,
|
|
8
|
+
ref: ref,
|
|
9
|
+
"data-testid": testId,
|
|
10
|
+
"data-slot": "settings-header-heading",
|
|
11
|
+
className: cn('flex items-start justify-between gap-16 w-full', className),
|
|
12
|
+
children: children
|
|
13
|
+
});
|
|
14
|
+
};
|
|
15
|
+
SettingsHeaderHeading.displayName = 'SettingsHeaderHeading';
|
|
16
|
+
export { SettingsHeaderHeading };
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { jsx } from "react/jsx-runtime";
|
|
2
|
+
import { cn } from "../../utils/cn.js";
|
|
3
|
+
import { useTestId } from "../../utils/testId.js";
|
|
4
|
+
const SettingsHeaderTitle = ({ ref, children, className, ...props })=>{
|
|
5
|
+
const testId = useTestId('title');
|
|
6
|
+
return /*#__PURE__*/ jsx("h1", {
|
|
7
|
+
...props,
|
|
8
|
+
ref: ref,
|
|
9
|
+
"data-testid": testId,
|
|
10
|
+
"data-slot": "settings-header-title",
|
|
11
|
+
className: cn('font-sans-display text-xl font-medium leading-28 text-text-primary truncate', className),
|
|
12
|
+
children: children
|
|
13
|
+
});
|
|
14
|
+
};
|
|
15
|
+
SettingsHeaderTitle.displayName = 'SettingsHeaderTitle';
|
|
16
|
+
export { SettingsHeaderTitle };
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export { SettingsHeader, type SettingsHeaderProps } from './SettingsHeader';
|
|
2
|
+
export { SettingsHeaderActions, type SettingsHeaderActionsProps, } from './SettingsHeaderActions';
|
|
3
|
+
export { SettingsHeaderBreadcrumbs, type SettingsHeaderBreadcrumbsProps, } from './SettingsHeaderBreadcrumbs';
|
|
4
|
+
export { SettingsHeaderDescription, type SettingsHeaderDescriptionProps, } from './SettingsHeaderDescription';
|
|
5
|
+
export { SettingsHeaderFilters, type SettingsHeaderFiltersProps, } from './SettingsHeaderFilters';
|
|
6
|
+
export { SettingsHeaderHeading, type SettingsHeaderHeadingProps, } from './SettingsHeaderHeading';
|
|
7
|
+
export { SettingsHeaderTitle, type SettingsHeaderTitleProps, } from './SettingsHeaderTitle';
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export { SettingsHeader } from "./SettingsHeader.js";
|
|
2
|
+
export { SettingsHeaderActions } from "./SettingsHeaderActions.js";
|
|
3
|
+
export { SettingsHeaderBreadcrumbs } from "./SettingsHeaderBreadcrumbs.js";
|
|
4
|
+
export { SettingsHeaderDescription } from "./SettingsHeaderDescription.js";
|
|
5
|
+
export { SettingsHeaderFilters } from "./SettingsHeaderFilters.js";
|
|
6
|
+
export { SettingsHeaderHeading } from "./SettingsHeaderHeading.js";
|
|
7
|
+
export { SettingsHeaderTitle } from "./SettingsHeaderTitle.js";
|
|
@@ -22,7 +22,11 @@ const EditableSelectCell = ({ value, onCommit, items, children, placeholder = 'S
|
|
|
22
22
|
] : [],
|
|
23
23
|
"data-testid": testId,
|
|
24
24
|
positioning: {
|
|
25
|
-
placement: 'bottom-start'
|
|
25
|
+
placement: 'bottom-start',
|
|
26
|
+
sameWidth: true,
|
|
27
|
+
offset: {
|
|
28
|
+
crossAxis: -8
|
|
29
|
+
}
|
|
26
30
|
},
|
|
27
31
|
onValueChange: (details)=>{
|
|
28
32
|
const next = details.value[0];
|
|
@@ -56,6 +60,10 @@ const EditableSelectCell = ({ value, onCommit, items, children, placeholder = 'S
|
|
|
56
60
|
})
|
|
57
61
|
}),
|
|
58
62
|
/*#__PURE__*/ jsx(SelectPositioner, {
|
|
63
|
+
className: "min-w-full max-w-full",
|
|
64
|
+
style: {
|
|
65
|
+
width: 'calc(var(--reference-width) + 16px)'
|
|
66
|
+
},
|
|
59
67
|
children: /*#__PURE__*/ jsx(SelectContent, {
|
|
60
68
|
children: items.map((item)=>/*#__PURE__*/ jsxs(SelectOption, {
|
|
61
69
|
item: item,
|
|
@@ -3,15 +3,12 @@ import { flexRender } from "@tanstack/react-table";
|
|
|
3
3
|
import { cn } from "../../../utils/cn.js";
|
|
4
4
|
import { useTestId } from "../../../utils/testId.js";
|
|
5
5
|
import { Tooltip, TooltipContent, TooltipTrigger } from "../../Tooltip/index.js";
|
|
6
|
+
import { DROP_INDICATOR_BASE } from "../classes.js";
|
|
6
7
|
import { useMasterCell } from "../hooks/index.js";
|
|
7
8
|
import { TABLE_EXPAND_COLUMN_ID, getAlignClass, getExpandBorderClass, getPinningStyles, isLastPinnedLeft, useColumnDnd } from "../lib/index.js";
|
|
8
9
|
import { Td } from "../primitives/index.js";
|
|
9
10
|
import { useTableContext } from "../TableContext/index.js";
|
|
10
11
|
import { TableMasterCellActions } from "../TableMasterCellActions.js";
|
|
11
|
-
const DROP_INDICATOR_SHADOW = {
|
|
12
|
-
above: 'inset 0 2px 0 0 var(--color-border-strong-warning)',
|
|
13
|
-
below: 'inset 0 -2px 0 0 var(--color-border-strong-warning)'
|
|
14
|
-
};
|
|
15
12
|
const TableBodyCell = ({ cell, colSpan, className, disablePinnedShadow, lastRow, dragListeners, dragAttributes, dropIndicator })=>{
|
|
16
13
|
const { allLeafColumns, masterColumnId } = useTableContext();
|
|
17
14
|
const testId = useTestId('body-cell');
|
|
@@ -65,7 +62,7 @@ const TableBodyCell = ({ cell, colSpan, className, disablePinnedShadow, lastRow,
|
|
|
65
62
|
};
|
|
66
63
|
return /*#__PURE__*/ jsx(Td, {
|
|
67
64
|
"data-testid": testId,
|
|
68
|
-
className: cn(getAlignClass(meta), getExpandBorderClass(isExpandColumn, cell.row.depth, lastRow), isCut && 'pr-0', (isMasterTrigger || tooltipText) && 'cursor-pointer', dragListeners && 'cursor-grab active:cursor-grabbing', meta?.cellClassName, className),
|
|
65
|
+
className: cn(getAlignClass(meta), getExpandBorderClass(isExpandColumn, cell.row.depth, lastRow), isCut && 'pr-0', (isMasterTrigger || tooltipText) && 'cursor-pointer', dragListeners && 'cursor-grab active:cursor-grabbing', dropIndicator && DROP_INDICATOR_BASE, 'above' === dropIndicator && 'after:top-0', 'below' === dropIndicator && 'after:-bottom-px', meta?.cellClassName, className),
|
|
69
66
|
pinned: 'start' === isPinned,
|
|
70
67
|
lastPinnedLeft: disablePinnedShadow ? false : lastLeft,
|
|
71
68
|
expanded: isExpandedToggle,
|
|
@@ -80,7 +77,7 @@ const TableBodyCell = ({ cell, colSpan, className, disablePinnedShadow, lastRow,
|
|
|
80
77
|
overflow: 'hidden'
|
|
81
78
|
},
|
|
82
79
|
...dropIndicator && {
|
|
83
|
-
|
|
80
|
+
overflow: 'visible'
|
|
84
81
|
}
|
|
85
82
|
},
|
|
86
83
|
colSpan: colSpan,
|
|
@@ -2,6 +2,7 @@ import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
|
2
2
|
import { memo, useCallback } from "react";
|
|
3
3
|
import { cn } from "../../utils/cn.js";
|
|
4
4
|
import { useTestId } from "../../utils/testId.js";
|
|
5
|
+
import { DROP_INDICATOR_BASE } from "./classes.js";
|
|
5
6
|
import { TABLE_DRAG_HANDLE_COLUMN_ID, TABLE_EXPAND_COLUMN_ID, TABLE_SELECT_COLUMN_ID, useRowDnd } from "./lib/index.js";
|
|
6
7
|
import { Td, Tr } from "./primitives/index.js";
|
|
7
8
|
import { TableBodyCell } from "./TableBody/TableBodyCell.js";
|
|
@@ -122,7 +123,11 @@ const TableRowInner = ({ row, ref, 'data-index': dataIndex })=>{
|
|
|
122
123
|
}),
|
|
123
124
|
!stretch && /*#__PURE__*/ jsx(Td, {
|
|
124
125
|
pinned: false,
|
|
125
|
-
"aria-hidden": true
|
|
126
|
+
"aria-hidden": true,
|
|
127
|
+
className: cn(dropIndicator && DROP_INDICATOR_BASE, 'above' === dropIndicator && 'after:top-0', 'below' === dropIndicator && 'after:-bottom-px'),
|
|
128
|
+
style: dropIndicator ? {
|
|
129
|
+
overflow: 'visible'
|
|
130
|
+
} : void 0
|
|
126
131
|
})
|
|
127
132
|
]
|
|
128
133
|
}),
|
|
@@ -16,5 +16,10 @@ export declare const tableContainerVariants: (props?: ({
|
|
|
16
16
|
virtualized?: "container" | "window" | null | undefined;
|
|
17
17
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
18
18
|
export declare const tableRowVariants: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
|
|
19
|
+
/**
|
|
20
|
+
* Drop-indicator ::after pseudo-element (shared by TableBodyCell & filler Td).
|
|
21
|
+
* Positioned above borders so the line is uninterrupted across columns.
|
|
22
|
+
*/
|
|
23
|
+
export declare const DROP_INDICATOR_BASE = "after:content-[''] after:absolute after:left-0 after:-right-px after:h-[2px] after:bg-[var(--color-border-strong-brand)] after:pointer-events-none after:z-[1]";
|
|
19
24
|
/** Small icon button used in table header (sort, scroll, menu triggers) */
|
|
20
25
|
export declare const tableHeaderButtonClass: string;
|
|
@@ -73,5 +73,6 @@ const tableContainerVariants = cva('rounded-12 border border-border-primary-ligh
|
|
|
73
73
|
}
|
|
74
74
|
});
|
|
75
75
|
const tableRowVariants = cva('transition-colors');
|
|
76
|
+
const DROP_INDICATOR_BASE = "after:content-[''] after:absolute after:left-0 after:-right-px after:h-[2px] after:bg-[var(--color-border-strong-brand)] after:pointer-events-none after:z-[1]";
|
|
76
77
|
const tableHeaderButtonClass = cn('w-16 h-16 shrink-0 hover:text-text-primary', 'focus-visible:outline-none focus-visible:ring-3 focus-visible:ring-focus-primary rounded-2', 'transition-colors cursor-pointer', 'inline-flex items-center justify-center bg-transparent border-0 p-0');
|
|
77
|
-
export { tableBodyCellVariants, tableContainerVariants, tableHeadCellVariants, tableHeaderButtonClass, tableRowVariants };
|
|
78
|
+
export { DROP_INDICATOR_BASE, tableBodyCellVariants, tableContainerVariants, tableHeadCellVariants, tableHeaderButtonClass, tableRowVariants };
|
|
@@ -12,7 +12,7 @@ const createDragHandleColumn = ()=>({
|
|
|
12
12
|
enablePinning: false,
|
|
13
13
|
meta: {
|
|
14
14
|
headerClassName: 'px-4 py-4',
|
|
15
|
-
cellClassName: 'px-4 py-8'
|
|
15
|
+
cellClassName: 'px-4 py-8 align-middle text-center'
|
|
16
16
|
},
|
|
17
17
|
header: ()=>null,
|
|
18
18
|
cell: ()=>/*#__PURE__*/ jsx(GripVertical, {
|
package/dist/hooks/index.d.ts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
export { useArrowNav } from './useArrowNav';
|
|
2
2
|
export { useControlled } from './useControlled';
|
|
3
3
|
export { useCopyToClipboard } from './useCopyToClipboard';
|
|
4
|
-
export { useCopyTooltip } from './useCopyTooltip';
|
|
5
4
|
export { useIsKeyPressed } from './useIsKeyPressed';
|
|
6
5
|
export { type UseOverflowItemsOptions, type UseOverflowItemsResult, useOverflowItems, } from './useOverflowItems';
|
package/dist/hooks/index.js
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
export { useArrowNav } from "./useArrowNav.js";
|
|
2
2
|
export { useControlled } from "./useControlled.js";
|
|
3
3
|
export { useCopyToClipboard } from "./useCopyToClipboard.js";
|
|
4
|
-
export { useCopyTooltip } from "./useCopyTooltip.js";
|
|
5
4
|
export { useIsKeyPressed } from "./useIsKeyPressed.js";
|
|
6
5
|
export { useOverflowItems } from "./useOverflowItems.js";
|
|
@@ -1,23 +1,22 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Hook for copying text to clipboard with status tracking.
|
|
3
3
|
*
|
|
4
|
+
* Uses the Clipboard API with an `execCommand` fallback for older browsers.
|
|
5
|
+
* The `copied` flag auto-resets after `resetDelay` ms.
|
|
6
|
+
*
|
|
4
7
|
* @param resetDelay - Time in ms before `copied` resets to false (default: 2000)
|
|
5
|
-
* @returns
|
|
8
|
+
* @returns `{ copied, copy }` — `copied` is `true` while the feedback window is active
|
|
6
9
|
*
|
|
7
10
|
* @example
|
|
8
11
|
* ```tsx
|
|
9
|
-
* const { copied, copy
|
|
12
|
+
* const { copied, copy } = useCopyToClipboard();
|
|
10
13
|
*
|
|
11
|
-
* {
|
|
12
|
-
*
|
|
13
|
-
*
|
|
14
|
-
* </button>
|
|
15
|
-
* )}
|
|
14
|
+
* <button onClick={() => copy('text to copy')}>
|
|
15
|
+
* {copied ? 'Copied!' : 'Copy'}
|
|
16
|
+
* </button>
|
|
16
17
|
* ```
|
|
17
18
|
*/
|
|
18
19
|
export declare function useCopyToClipboard(resetDelay?: number): {
|
|
19
20
|
copied: boolean;
|
|
20
|
-
copy: (text: string) =>
|
|
21
|
-
reset: () => void;
|
|
22
|
-
isSupported: boolean;
|
|
21
|
+
copy: (text: string) => void;
|
|
23
22
|
};
|
|
@@ -1,31 +1,19 @@
|
|
|
1
1
|
import { useCallback, useRef, useState } from "react";
|
|
2
|
-
|
|
2
|
+
import { copyText } from "../utils/copyText.js";
|
|
3
3
|
function useCopyToClipboard(resetDelay = 2000) {
|
|
4
4
|
const [copied, setCopied] = useState(false);
|
|
5
5
|
const timeoutRef = useRef(void 0);
|
|
6
|
-
const
|
|
6
|
+
const copy = useCallback((text)=>{
|
|
7
|
+
copyText(text);
|
|
8
|
+
setCopied(true);
|
|
7
9
|
if (timeoutRef.current) clearTimeout(timeoutRef.current);
|
|
8
|
-
setCopied(false);
|
|
9
|
-
}, []);
|
|
10
|
-
const copy = useCallback(async (text)=>{
|
|
11
|
-
if (!isClipboardSupported) return false;
|
|
12
|
-
try {
|
|
13
|
-
await navigator.clipboard.writeText(text);
|
|
14
|
-
setCopied(true);
|
|
15
|
-
if (timeoutRef.current) clearTimeout(timeoutRef.current);
|
|
16
|
-
timeoutRef.current = setTimeout(()=>setCopied(false), resetDelay);
|
|
17
|
-
return true;
|
|
18
|
-
} catch {
|
|
19
|
-
return false;
|
|
20
|
-
}
|
|
10
|
+
timeoutRef.current = setTimeout(()=>setCopied(false), resetDelay);
|
|
21
11
|
}, [
|
|
22
12
|
resetDelay
|
|
23
13
|
]);
|
|
24
14
|
return {
|
|
25
15
|
copied,
|
|
26
|
-
copy
|
|
27
|
-
reset,
|
|
28
|
-
isSupported: isClipboardSupported
|
|
16
|
+
copy
|
|
29
17
|
};
|
|
30
18
|
}
|
|
31
19
|
export { useCopyToClipboard };
|
package/dist/index.d.ts
CHANGED
|
@@ -25,7 +25,7 @@ export { Calendar, CalendarApplyButton, type CalendarApplyButtonProps, CalendarB
|
|
|
25
25
|
export { Card, CardContent, type CardContentProps, CardFooter, type CardFooterProps, CardHeader, type CardHeaderProps, type CardProps, CardTitle, type CardTitleProps, cardVariants, } from './components/Card';
|
|
26
26
|
export { Checkbox, CheckboxDescription, type CheckboxDescriptionProps, CheckboxGroup, type CheckboxGroupProps, CheckboxIndicator, CheckboxLabel, type CheckboxLabelProps, type CheckboxProps, } from './components/Checkbox';
|
|
27
27
|
export { Code, type CodeProps } from './components/Code';
|
|
28
|
-
export {
|
|
28
|
+
export { Copyable, CopyableIcon, type CopyableIconProps, CopyableLabel, type CopyableLabelProps, type CopyableProps, useCopyable, } from './components/Copyable';
|
|
29
29
|
export { Country, CountryFlag, type CountryFlagProps, CountryName, type CountryNameProps, type CountryProps, } from './components/Country';
|
|
30
30
|
export { type DateFormatContextValue, DateFormatProvider, type DateFormatProviderProps, type DateOrder, useDateFormat, } from './components/DateFormatProvider';
|
|
31
31
|
export { DateInput, type DateInputProps } from './components/DateInput';
|
|
@@ -68,12 +68,14 @@ export { type BreadcrumbSegment, findFirstLinkPath, type NavConfig, type NavConf
|
|
|
68
68
|
export { ResizableHandle, type ResizableHandleProps, ResizablePanel, ResizablePanelGroup, type ResizablePanelGroupProps, type ResizablePanelProps, } from './components/Resizable';
|
|
69
69
|
export { getResponseCodeCategory, RESPONSE_CODE_COLOR, ResponseCode, type ResponseCodeCategory, type ResponseCodeProps, } from './components/ResponseCode';
|
|
70
70
|
export { ScrollArea, ScrollAreaContent, type ScrollAreaContentProps, ScrollAreaCorner, type ScrollAreaCornerProps, type ScrollAreaProps, ScrollAreaScrollbar, type ScrollAreaScrollbarProps, ScrollAreaViewport, type ScrollAreaViewportProps, } from './components/ScrollArea';
|
|
71
|
+
export { SearchInput, type SearchInputProps } from './components/SearchInput';
|
|
71
72
|
export { SearchModal, SearchModalBody, type SearchModalBodyProps, SearchModalContent, type SearchModalContentProps, SearchModalEmpty, type SearchModalEmptyProps, SearchModalFooter, type SearchModalFooterProps, SearchModalGroup, SearchModalGroupLabel, type SearchModalGroupLabelProps, type SearchModalGroupProps, SearchModalInput, type SearchModalInputProps, SearchModalItem, type SearchModalItemProps, type SearchModalProps, SearchModalTrigger, type SearchModalTriggerProps, useSearchModalContext, } from './components/SearchModal';
|
|
72
73
|
export { SegmentedControl, SegmentedControlButton, type SegmentedControlButtonProps, SegmentedControlItem, type SegmentedControlItemProps, type SegmentedControlProps, SegmentedControlSeparator, type SegmentedControlSeparatorProps, } from './components/SegmentedControl';
|
|
73
74
|
export { SegmentedTabs, SegmentedTabsButton, SegmentedTabsContent, SegmentedTabsList, SegmentedTabsSeparator, SegmentedTabsTrigger, SegmentedTabsTriggerButton, } from './components/SegmentedTabs';
|
|
74
75
|
export { createListCollection, Select, SelectButton, SelectClearTrigger, SelectContent, type SelectDataItem, SelectEmptyState, type SelectEmptyStateProps, SelectFooter, SelectGroup, SelectGroupLabel, SelectHeader, SelectInput, SelectOption, SelectOptionDescription, SelectOptionIndicator, SelectOptionText, SelectPositioner, SelectSearchInput, SelectSeparator, type UseSelectSearchOptions, type UseSelectSearchResult, useSelectSearch, } from './components/Select';
|
|
75
76
|
export { Selection, SelectionAll, type SelectionAllProps, SelectionBulkBar, type SelectionBulkBarPlacement, type SelectionBulkBarProps, type SelectionContextValue, SelectionItem, type SelectionItemProps, type SelectionProps, useSelectionContext, } from './components/Selection';
|
|
76
77
|
export { Separator, type SeparatorProps } from './components/Separator';
|
|
78
|
+
export { SettingsHeader, SettingsHeaderActions, type SettingsHeaderActionsProps, SettingsHeaderBreadcrumbs, type SettingsHeaderBreadcrumbsProps, SettingsHeaderDescription, type SettingsHeaderDescriptionProps, SettingsHeaderFilters, type SettingsHeaderFiltersProps, SettingsHeaderHeading, type SettingsHeaderHeadingProps, type SettingsHeaderProps, SettingsHeaderTitle, type SettingsHeaderTitleProps, } from './components/SettingsHeader';
|
|
77
79
|
export { Skeleton, type SkeletonProps } from './components/Skeleton';
|
|
78
80
|
export { Slider, SliderControl, type SliderControlProps, SliderInput, type SliderInputProps, type SliderMark, SliderMarks, type SliderMarksProps, type SliderProps, SliderThumb, type SliderThumbProps, SliderValue, type SliderValueProps, } from './components/Slider';
|
|
79
81
|
export { SplashScreen, type SplashScreenProps } from './components/SplashScreen';
|
package/dist/index.js
CHANGED
|
@@ -14,7 +14,7 @@ export { Calendar, CalendarApplyButton, CalendarBody, CalendarContent, CalendarD
|
|
|
14
14
|
export { Card, CardContent, CardFooter, CardHeader, CardTitle, cardVariants } from "./components/Card/index.js";
|
|
15
15
|
export { Checkbox, CheckboxDescription, CheckboxGroup, CheckboxIndicator, CheckboxLabel } from "./components/Checkbox/index.js";
|
|
16
16
|
export { Code } from "./components/Code/index.js";
|
|
17
|
-
export {
|
|
17
|
+
export { Copyable, CopyableIcon, CopyableLabel, useCopyable } from "./components/Copyable/index.js";
|
|
18
18
|
export { Country, CountryFlag, CountryName } from "./components/Country/index.js";
|
|
19
19
|
export { DateFormatProvider, useDateFormat } from "./components/DateFormatProvider/index.js";
|
|
20
20
|
export { DateInput } from "./components/DateInput/index.js";
|
|
@@ -57,12 +57,14 @@ export { RemoteShell, RemoteShellBreadcrumb, RemoteShellContent, RemoteShellPane
|
|
|
57
57
|
export { ResizableHandle, ResizablePanel, ResizablePanelGroup } from "./components/Resizable/index.js";
|
|
58
58
|
export { RESPONSE_CODE_COLOR, ResponseCode, getResponseCodeCategory } from "./components/ResponseCode/index.js";
|
|
59
59
|
export { ScrollArea, ScrollAreaContent, ScrollAreaCorner, ScrollAreaScrollbar, ScrollAreaViewport } from "./components/ScrollArea/index.js";
|
|
60
|
+
export { SearchInput } from "./components/SearchInput/index.js";
|
|
60
61
|
export { SearchModal, SearchModalBody, SearchModalContent, SearchModalEmpty, SearchModalFooter, SearchModalGroup, SearchModalGroupLabel, SearchModalInput, SearchModalItem, SearchModalTrigger, useSearchModalContext } from "./components/SearchModal/index.js";
|
|
61
62
|
export { SegmentedControl, SegmentedControlButton, SegmentedControlItem, SegmentedControlSeparator } from "./components/SegmentedControl/index.js";
|
|
62
63
|
export { SegmentedTabs, SegmentedTabsButton, SegmentedTabsContent, SegmentedTabsList, SegmentedTabsSeparator, SegmentedTabsTrigger, SegmentedTabsTriggerButton } from "./components/SegmentedTabs/index.js";
|
|
63
64
|
export { Select, SelectButton, SelectClearTrigger, SelectContent, SelectEmptyState, SelectFooter, SelectGroup, SelectGroupLabel, SelectHeader, SelectInput, SelectOption, SelectOptionDescription, SelectOptionIndicator, SelectOptionText, SelectPositioner, SelectSearchInput, SelectSeparator, createListCollection, useSelectSearch } from "./components/Select/index.js";
|
|
64
65
|
export { Selection, SelectionAll, SelectionBulkBar, SelectionItem, useSelectionContext } from "./components/Selection/index.js";
|
|
65
66
|
export { Separator } from "./components/Separator/index.js";
|
|
67
|
+
export { SettingsHeader, SettingsHeaderActions, SettingsHeaderBreadcrumbs, SettingsHeaderDescription, SettingsHeaderFilters, SettingsHeaderHeading, SettingsHeaderTitle } from "./components/SettingsHeader/index.js";
|
|
66
68
|
export { Skeleton } from "./components/Skeleton/index.js";
|
|
67
69
|
export { Slider, SliderControl, SliderInput, SliderMarks, SliderThumb, SliderValue } from "./components/Slider/index.js";
|
|
68
70
|
export { SplashScreen } from "./components/SplashScreen/index.js";
|