@nexus-cross/design-system 1.0.6 → 1.0.7
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/chunks/{chunk-PXBZEAZQ.mjs → chunk-22O6YUYH.mjs} +1 -1
- package/dist/chunks/{chunk-SUIT4XKB.js → chunk-3RK3UT2O.js} +42 -11
- package/dist/chunks/{chunk-GN6X27QI.mjs → chunk-AAITRHED.mjs} +42 -11
- package/dist/chunks/{chunk-QRNHFOLG.js → chunk-OE5BAEBE.js} +1 -1
- package/dist/component-tokens/button.d.ts +3 -0
- package/dist/component-tokens/button.d.ts.map +1 -0
- package/dist/component-tokens/index.d.ts +3 -0
- package/dist/component-tokens/index.d.ts.map +1 -0
- package/dist/component-tokens/types.d.ts +19 -0
- package/dist/component-tokens/types.d.ts.map +1 -0
- package/dist/{accordion.d.mts → components/Accordion.d.ts} +2 -3
- package/dist/components/Accordion.d.ts.map +1 -0
- package/dist/{alert.d.mts → components/Alert.d.ts} +5 -6
- package/dist/components/Alert.d.ts.map +1 -0
- package/dist/{avatar.d.mts → components/Avatar.d.ts} +5 -6
- package/dist/components/Avatar.d.ts.map +1 -0
- package/dist/{badge.d.mts → components/Badge.d.ts} +5 -6
- package/dist/components/Badge.d.ts.map +1 -0
- package/dist/{breadcrumb.d.mts → components/Breadcrumb.d.ts} +3 -3
- package/dist/components/Breadcrumb.d.ts.map +1 -0
- package/dist/{button.d.mts → components/Button.d.ts} +5 -6
- package/dist/components/Button.d.ts.map +1 -0
- package/dist/{carousel.d.mts → components/Carousel.d.ts} +5 -6
- package/dist/components/Carousel.d.ts.map +1 -0
- package/dist/{checkbox.d.mts → components/CheckBox.d.ts} +6 -7
- package/dist/components/CheckBox.d.ts.map +1 -0
- package/dist/{chip.d.mts → components/Chip.d.ts} +6 -7
- package/dist/components/Chip.d.ts.map +1 -0
- package/dist/{client-only.d.mts → components/ClientOnly.d.ts} +4 -5
- package/dist/components/ClientOnly.d.ts.map +1 -0
- package/dist/{countdown.d.mts → components/Countdown.d.ts} +3 -3
- package/dist/components/Countdown.d.ts.map +1 -0
- package/dist/{counter.d.mts → components/Counter.d.ts} +3 -3
- package/dist/components/Counter.d.ts.map +1 -0
- package/dist/{data-list.d.mts → components/DataList.d.ts} +4 -5
- package/dist/components/DataList.d.ts.map +1 -0
- package/dist/{date-picker.d.mts → components/DatePicker.d.ts} +3 -3
- package/dist/components/DatePicker.d.ts.map +1 -0
- package/dist/{divider.d.mts → components/Divider.d.ts} +5 -6
- package/dist/components/Divider.d.ts.map +1 -0
- package/dist/{drawer.d.mts → components/Drawer.d.ts} +13 -15
- package/dist/components/Drawer.d.ts.map +1 -0
- package/dist/{dropdown-menu.d.mts → components/DropdownMenu.d.ts} +4 -4
- package/dist/components/DropdownMenu.d.ts.map +1 -0
- package/dist/{ellipsis.d.mts → components/Ellipsis.d.ts} +4 -5
- package/dist/components/Ellipsis.d.ts.map +1 -0
- package/dist/{empty-state.d.mts → components/EmptyState.d.ts} +5 -6
- package/dist/components/EmptyState.d.ts.map +1 -0
- package/dist/{error-boundary.d.mts → components/ErrorBoundary.d.ts} +4 -5
- package/dist/components/ErrorBoundary.d.ts.map +1 -0
- package/dist/{infinite-scroll.d.mts → components/InfiniteScroll.d.ts} +5 -6
- package/dist/components/InfiniteScroll.d.ts.map +1 -0
- package/dist/{marquee.d.mts → components/Marquee.d.ts} +3 -3
- package/dist/components/Marquee.d.ts.map +1 -0
- package/dist/{number-input.d.mts → components/NumberInput.d.ts} +5 -6
- package/dist/components/NumberInput.d.ts.map +1 -0
- package/dist/{nx-image.d.mts → components/NxImage.d.ts} +3 -3
- package/dist/components/NxImage.d.ts.map +1 -0
- package/dist/{pagination.d.mts → components/Pagination.d.ts} +6 -7
- package/dist/components/Pagination.d.ts.map +1 -0
- package/dist/components/Popover.d.ts +23 -0
- package/dist/components/Popover.d.ts.map +1 -0
- package/dist/{price-input.d.mts → components/PriceInput.d.ts} +5 -6
- package/dist/components/PriceInput.d.ts.map +1 -0
- package/dist/{progress.d.mts → components/Progress.d.ts} +5 -6
- package/dist/components/Progress.d.ts.map +1 -0
- package/dist/{radio-group.d.mts → components/RadioGroup.d.ts} +6 -7
- package/dist/components/RadioGroup.d.ts.map +1 -0
- package/dist/{select.d.mts → components/Select.d.ts} +7 -10
- package/dist/components/Select.d.ts.map +1 -0
- package/dist/{skeleton.d.mts → components/Skeleton.d.ts} +3 -3
- package/dist/components/Skeleton.d.ts.map +1 -0
- package/dist/{slider.d.mts → components/Slider.d.ts} +5 -6
- package/dist/components/Slider.d.ts.map +1 -0
- package/dist/{spinner.d.mts → components/Spinner.d.ts} +3 -3
- package/dist/components/Spinner.d.ts.map +1 -0
- package/dist/{stepper.d.mts → components/Stepper.d.ts} +5 -6
- package/dist/components/Stepper.d.ts.map +1 -0
- package/dist/{switch.d.mts → components/Switch.d.ts} +5 -6
- package/dist/components/Switch.d.ts.map +1 -0
- package/dist/{tab.d.mts → components/Tab.d.ts} +7 -9
- package/dist/components/Tab.d.ts.map +1 -0
- package/dist/{tag-input.d.mts → components/TagInput.d.ts} +5 -6
- package/dist/components/TagInput.d.ts.map +1 -0
- package/dist/{text-area.d.mts → components/TextArea.d.ts} +5 -6
- package/dist/components/TextArea.d.ts.map +1 -0
- package/dist/{text-input.d.mts → components/TextInput.d.ts} +5 -6
- package/dist/components/TextInput.d.ts.map +1 -0
- package/dist/{theme-provider.d.mts → components/ThemeProvider.d.ts} +3 -3
- package/dist/components/ThemeProvider.d.ts.map +1 -0
- package/dist/{toggle-group.d.mts → components/ToggleGroup.d.ts} +5 -6
- package/dist/components/ToggleGroup.d.ts.map +1 -0
- package/dist/{tooltip.d.mts → components/Tooltip.d.ts} +6 -10
- package/dist/components/Tooltip.d.ts.map +1 -0
- package/dist/{virtual-scroll.d.mts → components/VirtualScroll.d.ts} +4 -4
- package/dist/components/VirtualScroll.d.ts.map +1 -0
- package/dist/hooks/useCheckDevice.d.ts +4 -4
- package/dist/hooks/useCheckDevice.d.ts.map +1 -0
- package/dist/hooks/useClickOutside.d.ts +2 -2
- package/dist/hooks/useClickOutside.d.ts.map +1 -0
- package/dist/hooks/useDraggableBottomSheet.d.ts +3 -3
- package/dist/hooks/useDraggableBottomSheet.d.ts.map +1 -0
- package/dist/hooks/useDraggableWindow.d.ts +5 -7
- package/dist/hooks/useDraggableWindow.d.ts.map +1 -0
- package/dist/hooks/useInView.d.ts +3 -3
- package/dist/hooks/useInView.d.ts.map +1 -0
- package/dist/hooks/useModal.d.ts +48 -2
- package/dist/hooks/useModal.d.ts.map +1 -0
- package/dist/index.d.ts +100 -91
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +7 -7
- package/dist/index.mjs +1 -1
- package/dist/modal/Modal.d.ts +52 -0
- package/dist/modal/Modal.d.ts.map +1 -0
- package/dist/modal/components/ModalComponent.d.ts +22 -0
- package/dist/modal/components/ModalComponent.d.ts.map +1 -0
- package/dist/modal/components/ModalContainer.d.ts +9 -0
- package/dist/modal/components/ModalContainer.d.ts.map +1 -0
- package/dist/modal/components/ModalPortal.d.ts +8 -0
- package/dist/modal/components/ModalPortal.d.ts.map +1 -0
- package/dist/modal/components/ModalPortalTarget.d.ts +7 -0
- package/dist/modal/components/ModalPortalTarget.d.ts.map +1 -0
- package/dist/modal/components/ModalTemplate.d.ts +20 -0
- package/dist/modal/components/ModalTemplate.d.ts.map +1 -0
- package/dist/modal/components/ModalTemplate.variants.d.ts +29 -0
- package/dist/modal/components/ModalTemplate.variants.d.ts.map +1 -0
- package/dist/modal/constants.d.ts +3 -0
- package/dist/modal/constants.d.ts.map +1 -0
- package/dist/modal/index.d.ts +11 -82
- package/dist/modal/index.d.ts.map +1 -0
- package/dist/modal/types.d.ts +90 -0
- package/dist/modal/types.d.ts.map +1 -0
- package/dist/schemas/accordion.d.ts +67 -0
- package/dist/schemas/accordion.d.ts.map +1 -0
- package/dist/schemas/alert.d.ts +30 -0
- package/dist/schemas/alert.d.ts.map +1 -0
- package/dist/schemas/avatar.d.ts +30 -0
- package/dist/schemas/avatar.d.ts.map +1 -0
- package/dist/schemas/badge.d.ts +33 -0
- package/dist/schemas/badge.d.ts.map +1 -0
- package/dist/schemas/breadcrumb.d.ts +38 -0
- package/dist/schemas/breadcrumb.d.ts.map +1 -0
- package/dist/schemas/button.d.ts +42 -0
- package/dist/schemas/button.d.ts.map +1 -0
- package/dist/schemas/carousel.d.ts +48 -0
- package/dist/schemas/carousel.d.ts.map +1 -0
- package/dist/schemas/checkbox.d.ts +48 -0
- package/dist/schemas/checkbox.d.ts.map +1 -0
- package/dist/schemas/chip.d.ts +30 -0
- package/dist/schemas/chip.d.ts.map +1 -0
- package/dist/schemas/client-only.d.ts +12 -0
- package/dist/schemas/client-only.d.ts.map +1 -0
- package/dist/schemas/countdown.d.ts +52 -0
- package/dist/schemas/countdown.d.ts.map +1 -0
- package/dist/schemas/counter.d.ts +36 -0
- package/dist/schemas/counter.d.ts.map +1 -0
- package/dist/schemas/data-list.d.ts +33 -0
- package/dist/schemas/data-list.d.ts.map +1 -0
- package/dist/schemas/date-picker.d.ts +36 -0
- package/dist/schemas/date-picker.d.ts.map +1 -0
- package/dist/schemas/divider.d.ts +21 -0
- package/dist/schemas/divider.d.ts.map +1 -0
- package/dist/schemas/drawer.d.ts +95 -0
- package/dist/schemas/drawer.d.ts.map +1 -0
- package/dist/schemas/dropdown-menu.d.ts +64 -0
- package/dist/schemas/dropdown-menu.d.ts.map +1 -0
- package/dist/schemas/ellipsis.d.ts +30 -0
- package/dist/schemas/ellipsis.d.ts.map +1 -0
- package/dist/schemas/empty-state.d.ts +27 -0
- package/dist/schemas/empty-state.d.ts.map +1 -0
- package/dist/schemas/error-boundary.d.ts +15 -0
- package/dist/schemas/error-boundary.d.ts.map +1 -0
- package/dist/schemas/index.d.ts +47 -0
- package/dist/schemas/index.d.ts.map +1 -0
- package/dist/schemas/infinite-scroll.d.ts +39 -0
- package/dist/schemas/infinite-scroll.d.ts.map +1 -0
- package/dist/schemas/marquee.d.ts +27 -0
- package/dist/schemas/marquee.d.ts.map +1 -0
- package/dist/schemas/modal.d.ts +176 -0
- package/dist/schemas/modal.d.ts.map +1 -0
- package/dist/schemas/number-input.d.ts +72 -0
- package/dist/schemas/number-input.d.ts.map +1 -0
- package/dist/schemas/nx-image.d.ts +33 -0
- package/dist/schemas/nx-image.d.ts.map +1 -0
- package/dist/schemas/pagination.d.ts +27 -0
- package/dist/schemas/pagination.d.ts.map +1 -0
- package/dist/schemas/popover.d.ts +39 -0
- package/dist/schemas/popover.d.ts.map +1 -0
- package/dist/schemas/price-input.d.ts +63 -0
- package/dist/schemas/price-input.d.ts.map +1 -0
- package/dist/schemas/progress.d.ts +30 -0
- package/dist/schemas/progress.d.ts.map +1 -0
- package/dist/schemas/radio-group.d.ts +61 -0
- package/dist/schemas/radio-group.d.ts.map +1 -0
- package/dist/schemas/select.d.ts +52 -0
- package/dist/schemas/select.d.ts.map +1 -0
- package/dist/schemas/skeleton.d.ts +27 -0
- package/dist/schemas/skeleton.d.ts.map +1 -0
- package/dist/schemas/slider.d.ts +45 -0
- package/dist/schemas/slider.d.ts.map +1 -0
- package/dist/schemas/spinner.d.ts +21 -0
- package/dist/schemas/spinner.d.ts.map +1 -0
- package/dist/schemas/stepper.d.ts +39 -0
- package/dist/schemas/stepper.d.ts.map +1 -0
- package/dist/schemas/switch.d.ts +33 -0
- package/dist/schemas/switch.d.ts.map +1 -0
- package/dist/schemas/tab.d.ts +61 -0
- package/dist/schemas/tab.d.ts.map +1 -0
- package/dist/schemas/table.d.ts +113 -0
- package/dist/schemas/table.d.ts.map +1 -0
- package/dist/schemas/tag-input.d.ts +39 -0
- package/dist/schemas/tag-input.d.ts.map +1 -0
- package/dist/schemas/text-area.d.ts +69 -0
- package/dist/schemas/text-area.d.ts.map +1 -0
- package/dist/schemas/text-input.d.ts +78 -0
- package/dist/schemas/text-input.d.ts.map +1 -0
- package/dist/schemas/theme-provider.d.ts +36 -0
- package/dist/schemas/theme-provider.d.ts.map +1 -0
- package/dist/schemas/toast.d.ts +91 -0
- package/dist/schemas/toast.d.ts.map +1 -0
- package/dist/schemas/toggle-group.d.ts +58 -0
- package/dist/schemas/toggle-group.d.ts.map +1 -0
- package/dist/schemas/tooltip.d.ts +33 -0
- package/dist/schemas/tooltip.d.ts.map +1 -0
- package/dist/schemas/virtual-scroll.d.ts +67 -0
- package/dist/schemas/virtual-scroll.d.ts.map +1 -0
- package/dist/styles/.generated/built.d.ts +3 -0
- package/dist/styles/.generated/built.d.ts.map +1 -0
- package/dist/styles/inject-layer.d.ts +2 -0
- package/dist/styles/inject-layer.d.ts.map +1 -0
- package/dist/styles/inject.d.ts +2 -0
- package/dist/styles/inject.d.ts.map +1 -0
- package/dist/styles/layer.js +2 -2
- package/dist/styles/layer.mjs +1 -1
- package/dist/styles.css +96 -33
- package/dist/styles.js +2 -2
- package/dist/styles.layered.css +96 -33
- package/dist/styles.mjs +1 -1
- package/dist/table/Table.d.ts +20 -0
- package/dist/table/Table.d.ts.map +1 -0
- package/dist/table/TableHighlightContext.d.ts +11 -0
- package/dist/table/TableHighlightContext.d.ts.map +1 -0
- package/dist/table/TableRow.d.ts +17 -0
- package/dist/table/TableRow.d.ts.map +1 -0
- package/dist/table/TdColumn.d.ts +14 -0
- package/dist/table/TdColumn.d.ts.map +1 -0
- package/dist/table/index.d.ts +23 -0
- package/dist/table/index.d.ts.map +1 -0
- package/dist/table/types.d.ts +27 -0
- package/dist/table/types.d.ts.map +1 -0
- package/dist/table.js +7 -7
- package/dist/table.mjs +1 -1
- package/dist/toast/Toast.d.ts +8 -0
- package/dist/toast/Toast.d.ts.map +1 -0
- package/dist/toast/index.d.ts +6 -0
- package/dist/toast/index.d.ts.map +1 -0
- package/dist/{toast.d.mts → toast/useToast.d.ts} +4 -14
- package/dist/toast/useToast.d.ts.map +1 -0
- package/dist/utils/cn.d.ts +3 -5
- package/dist/utils/cn.d.ts.map +1 -0
- package/dist/utils/scroll.d.ts +3 -4
- package/dist/utils/scroll.d.ts.map +1 -0
- package/package.json +49 -49
- package/dist/accordion.d.ts +0 -28
- package/dist/alert.d.ts +0 -17
- package/dist/avatar.d.ts +0 -17
- package/dist/badge.d.ts +0 -18
- package/dist/breadcrumb.d.ts +0 -15
- package/dist/button.d.ts +0 -17
- package/dist/carousel.d.ts +0 -36
- package/dist/checkbox.d.ts +0 -21
- package/dist/chip.d.ts +0 -16
- package/dist/client-only.d.ts +0 -13
- package/dist/countdown.d.ts +0 -27
- package/dist/counter.d.ts +0 -15
- package/dist/data-list.d.ts +0 -33
- package/dist/date-picker.d.ts +0 -17
- package/dist/divider.d.ts +0 -14
- package/dist/drawer.d.ts +0 -42
- package/dist/dropdown-menu.d.ts +0 -30
- package/dist/ellipsis.d.ts +0 -16
- package/dist/empty-state.d.ts +0 -16
- package/dist/error-boundary.d.ts +0 -20
- package/dist/hooks/useCheckDevice.d.mts +0 -47
- package/dist/hooks/useClickOutside.d.mts +0 -12
- package/dist/hooks/useDraggableBottomSheet.d.mts +0 -24
- package/dist/hooks/useDraggableWindow.d.mts +0 -21
- package/dist/hooks/useInView.d.mts +0 -14
- package/dist/hooks/useModal.d.mts +0 -2
- package/dist/index.d.mts +0 -91
- package/dist/infinite-scroll.d.ts +0 -26
- package/dist/marquee.d.ts +0 -12
- package/dist/modal/index.d.mts +0 -87
- package/dist/number-input.d.ts +0 -37
- package/dist/nx-image.d.ts +0 -13
- package/dist/pagination.d.ts +0 -22
- package/dist/popover.d.mts +0 -25
- package/dist/popover.d.ts +0 -25
- package/dist/price-input.d.ts +0 -36
- package/dist/progress.d.ts +0 -18
- package/dist/radio-group.d.ts +0 -29
- package/dist/schemas.d.mts +0 -2173
- package/dist/schemas.d.ts +0 -2173
- package/dist/select.d.ts +0 -31
- package/dist/skeleton.d.ts +0 -15
- package/dist/slider.d.ts +0 -20
- package/dist/spinner.d.ts +0 -9
- package/dist/stepper.d.ts +0 -20
- package/dist/styles/layer.d.mts +0 -3
- package/dist/styles/layer.d.ts +0 -3
- package/dist/styles.d.mts +0 -3
- package/dist/styles.d.ts +0 -3
- package/dist/switch.d.ts +0 -15
- package/dist/tab.d.ts +0 -36
- package/dist/table.d.mts +0 -95
- package/dist/table.d.ts +0 -95
- package/dist/tag-input.d.ts +0 -21
- package/dist/text-area.d.ts +0 -19
- package/dist/text-input.d.ts +0 -21
- package/dist/theme-provider.d.ts +0 -25
- package/dist/toast.d.ts +0 -42
- package/dist/toggle-group.d.ts +0 -36
- package/dist/tooltip.d.ts +0 -24
- package/dist/useModal-BsGIcP8t.d.mts +0 -128
- package/dist/useModal-BsGIcP8t.d.ts +0 -128
- package/dist/utils/cn.d.mts +0 -5
- package/dist/utils/scroll.d.mts +0 -4
- package/dist/virtual-scroll.d.ts +0 -34
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { Table as TableBase } from './Table';
|
|
2
|
+
declare const Table: typeof TableBase & {
|
|
3
|
+
Row: {
|
|
4
|
+
({ className, children, onClick, variant }: import("./TableRow").TableRowProps): import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
displayName: string;
|
|
6
|
+
};
|
|
7
|
+
Column: {
|
|
8
|
+
({ className, children, fieldId, size, colSpan, rowSpan, align, textOverflow, highlightKey, style, }: import("./TdColumn").TdColumnProps): import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
displayName: string;
|
|
10
|
+
};
|
|
11
|
+
HighlightProvider: ({ children }: {
|
|
12
|
+
children: import("react").ReactNode;
|
|
13
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
14
|
+
};
|
|
15
|
+
export { Table };
|
|
16
|
+
export type { TableProps } from './Table';
|
|
17
|
+
export { TableRow, tableRowVariants } from './TableRow';
|
|
18
|
+
export type { TableRowProps } from './TableRow';
|
|
19
|
+
export { TdColumn } from './TdColumn';
|
|
20
|
+
export type { TdColumnProps } from './TdColumn';
|
|
21
|
+
export { TableHighlightProvider, useTableHighlight } from './TableHighlightContext';
|
|
22
|
+
export * from './types';
|
|
23
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/table/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,IAAI,SAAS,EAAE,MAAM,SAAS,CAAC;AAK7C,QAAA,MAAM,KAAK;;;;;;;;;;;;CAIT,CAAC;AAEH,OAAO,EAAE,KAAK,EAAE,CAAC;AACjB,YAAY,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAC1C,OAAO,EAAE,QAAQ,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AACxD,YAAY,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAChD,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,YAAY,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAChD,OAAO,EAAE,sBAAsB,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AACpF,cAAc,SAAS,CAAC"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { CSSProperties, ReactElement } from 'react';
|
|
2
|
+
export type TableThRowDataType = {
|
|
3
|
+
className?: string;
|
|
4
|
+
style?: CSSProperties;
|
|
5
|
+
label?: ReactElement | string;
|
|
6
|
+
fieldId: string | null;
|
|
7
|
+
rowSpan?: number;
|
|
8
|
+
colSpan?: number;
|
|
9
|
+
thColSpan?: number;
|
|
10
|
+
thRowSpan?: number;
|
|
11
|
+
size?: number | string;
|
|
12
|
+
align?: 'center' | 'left' | 'right';
|
|
13
|
+
enableSorting?: boolean;
|
|
14
|
+
order?: 'desc' | 'asc' | '';
|
|
15
|
+
sortValue?: string | number;
|
|
16
|
+
handleClickSort?: (params: {
|
|
17
|
+
index: number;
|
|
18
|
+
fieldId: string;
|
|
19
|
+
order: 'desc' | 'asc' | '';
|
|
20
|
+
}) => Promise<void> | void;
|
|
21
|
+
};
|
|
22
|
+
export type TableData = Record<string, unknown>;
|
|
23
|
+
export type ChildrenFuncParamsType<T> = {
|
|
24
|
+
index: number;
|
|
25
|
+
item: T extends (infer R)[] ? R : never;
|
|
26
|
+
};
|
|
27
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/table/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAEpD,MAAM,MAAM,kBAAkB,GAAG;IAC/B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,aAAa,CAAC;IACtB,KAAK,CAAC,EAAE,YAAY,GAAG,MAAM,CAAC;IAC9B,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACvB,KAAK,CAAC,EAAE,QAAQ,GAAG,MAAM,GAAG,OAAO,CAAC;IACpC,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,KAAK,CAAC,EAAE,MAAM,GAAG,KAAK,GAAG,EAAE,CAAC;IAC5B,SAAS,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAC5B,eAAe,CAAC,EAAE,CAAC,MAAM,EAAE;QACzB,KAAK,EAAE,MAAM,CAAC;QACd,OAAO,EAAE,MAAM,CAAC;QAChB,KAAK,EAAE,MAAM,GAAG,KAAK,GAAG,EAAE,CAAC;KAC5B,KAAK,OAAO,CAAC,IAAI,CAAC,GAAG,IAAI,CAAC;CAC5B,CAAC;AAEF,MAAM,MAAM,SAAS,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;AAEhD,MAAM,MAAM,sBAAsB,CAAC,CAAC,IAAI;IACtC,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,CAAC,SAAS,CAAC,MAAM,CAAC,CAAC,EAAE,GAAG,CAAC,GAAG,KAAK,CAAC;CACzC,CAAC"}
|
package/dist/table.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunk3RK3UT2O_js = require('./chunks/chunk-3RK3UT2O.js');
|
|
4
4
|
require('./chunks/chunk-BLGQHR3M.js');
|
|
5
5
|
require('./chunks/chunk-CZC76ZD5.js');
|
|
6
6
|
require('./chunks/chunk-JNMCYWGY.js');
|
|
@@ -9,25 +9,25 @@ require('./chunks/chunk-JNMCYWGY.js');
|
|
|
9
9
|
|
|
10
10
|
Object.defineProperty(exports, "Table", {
|
|
11
11
|
enumerable: true,
|
|
12
|
-
get: function () { return
|
|
12
|
+
get: function () { return chunk3RK3UT2O_js.Table; }
|
|
13
13
|
});
|
|
14
14
|
Object.defineProperty(exports, "TableHighlightProvider", {
|
|
15
15
|
enumerable: true,
|
|
16
|
-
get: function () { return
|
|
16
|
+
get: function () { return chunk3RK3UT2O_js.TableHighlightProvider; }
|
|
17
17
|
});
|
|
18
18
|
Object.defineProperty(exports, "TableRow", {
|
|
19
19
|
enumerable: true,
|
|
20
|
-
get: function () { return
|
|
20
|
+
get: function () { return chunk3RK3UT2O_js.TableRow; }
|
|
21
21
|
});
|
|
22
22
|
Object.defineProperty(exports, "TdColumn", {
|
|
23
23
|
enumerable: true,
|
|
24
|
-
get: function () { return
|
|
24
|
+
get: function () { return chunk3RK3UT2O_js.TdColumn; }
|
|
25
25
|
});
|
|
26
26
|
Object.defineProperty(exports, "tableRowVariants", {
|
|
27
27
|
enumerable: true,
|
|
28
|
-
get: function () { return
|
|
28
|
+
get: function () { return chunk3RK3UT2O_js.tableRowVariants; }
|
|
29
29
|
});
|
|
30
30
|
Object.defineProperty(exports, "useTableHighlight", {
|
|
31
31
|
enumerable: true,
|
|
32
|
-
get: function () { return
|
|
32
|
+
get: function () { return chunk3RK3UT2O_js.useTableHighlight; }
|
|
33
33
|
});
|
package/dist/table.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { Table, TableHighlightProvider, TableRow, TdColumn, tableRowVariants, useTableHighlight } from './chunks/chunk-
|
|
1
|
+
export { Table, TableHighlightProvider, TableRow, TdColumn, tableRowVariants, useTableHighlight } from './chunks/chunk-AAITRHED.mjs';
|
|
2
2
|
import './chunks/chunk-P2T72N62.mjs';
|
|
3
3
|
import './chunks/chunk-MCKOWMLS.mjs';
|
|
4
4
|
import './chunks/chunk-CVYXRSXT.mjs';
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { type ToasterProps as SonnerToasterProps } from 'sonner';
|
|
2
|
+
export type ToastPosition = 'top-left' | 'top-center' | 'top-right' | 'bottom-left' | 'bottom-center' | 'bottom-right';
|
|
3
|
+
export interface ToasterProps extends Partial<SonnerToasterProps> {
|
|
4
|
+
position?: ToastPosition;
|
|
5
|
+
unstyled?: boolean;
|
|
6
|
+
}
|
|
7
|
+
export declare function Toaster({ position, unstyled, toastOptions, ...props }: ToasterProps): import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
//# sourceMappingURL=Toast.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Toast.d.ts","sourceRoot":"","sources":["../../src/toast/Toast.tsx"],"names":[],"mappings":"AAAA,OAAO,EAA4B,KAAK,YAAY,IAAI,kBAAkB,EAAE,MAAM,QAAQ,CAAC;AAG3F,MAAM,MAAM,aAAa,GACrB,UAAU,GACV,YAAY,GACZ,WAAW,GACX,aAAa,GACb,eAAe,GACf,cAAc,CAAC;AAEnB,MAAM,WAAW,YAAa,SAAQ,OAAO,CAAC,kBAAkB,CAAC;IAC/D,QAAQ,CAAC,EAAE,aAAa,CAAC;IACzB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,wBAAgB,OAAO,CAAC,EACtB,QAAuB,EACvB,QAAgB,EAChB,YAAY,EACZ,GAAG,KAAK,EACT,EAAE,YAAY,2CAwBd"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export { toast } from 'sonner';
|
|
2
|
+
export type { ExternalToast as ToastOptions } from 'sonner';
|
|
3
|
+
export { Toaster } from './Toast';
|
|
4
|
+
export type { ToasterProps, ToastPosition } from './Toast';
|
|
5
|
+
export { useToast } from './useToast';
|
|
6
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/toast/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,QAAQ,CAAC;AAC/B,YAAY,EAAE,aAAa,IAAI,YAAY,EAAE,MAAM,QAAQ,CAAC;AAE5D,OAAO,EAAE,OAAO,EAAE,MAAM,SAAS,CAAC;AAClC,YAAY,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAE3D,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC"}
|
|
@@ -1,14 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export { ExternalToast as ToastOptions, toast } from 'sonner';
|
|
3
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
4
|
-
|
|
5
|
-
type ToastPosition = 'top-left' | 'top-center' | 'top-right' | 'bottom-left' | 'bottom-center' | 'bottom-right';
|
|
6
|
-
interface ToasterProps extends Partial<ToasterProps$1> {
|
|
7
|
-
position?: ToastPosition;
|
|
8
|
-
unstyled?: boolean;
|
|
9
|
-
}
|
|
10
|
-
declare function Toaster({ position, unstyled, toastOptions, ...props }: ToasterProps): react_jsx_runtime.JSX.Element;
|
|
11
|
-
|
|
1
|
+
import { type ExternalToast } from 'sonner';
|
|
12
2
|
type ToastOptions = ExternalToast;
|
|
13
3
|
/**
|
|
14
4
|
* Sonner toast 래퍼 훅.
|
|
@@ -18,7 +8,7 @@ type ToastOptions = ExternalToast;
|
|
|
18
8
|
*
|
|
19
9
|
* headless 모드: `toast.custom(<MyComponent />)` 사용
|
|
20
10
|
*/
|
|
21
|
-
declare function useToast(): {
|
|
11
|
+
export declare function useToast(): {
|
|
22
12
|
toast: (message: string, options?: ToastOptions) => string | number;
|
|
23
13
|
successToast: (message: string, options?: ToastOptions) => string | number;
|
|
24
14
|
errorToast: (message: string, options?: ToastOptions) => string | number;
|
|
@@ -38,5 +28,5 @@ declare function useToast(): {
|
|
|
38
28
|
customToast: (jsx: (id: string | number) => React.ReactElement, options?: ToastOptions) => string | number;
|
|
39
29
|
dismissToast: (id?: string | number) => string | number;
|
|
40
30
|
};
|
|
41
|
-
|
|
42
|
-
|
|
31
|
+
export {};
|
|
32
|
+
//# sourceMappingURL=useToast.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useToast.d.ts","sourceRoot":"","sources":["../../src/toast/useToast.ts"],"names":[],"mappings":"AAAA,OAAO,EAAS,KAAK,aAAa,EAAE,MAAM,QAAQ,CAAC;AAEnD,KAAK,YAAY,GAAG,aAAa,CAAC;AAElC;;;;;;;GAOG;AACH,wBAAgB,QAAQ;qBACM,MAAM,YAAY,YAAY;4BAE3B,MAAM,YAAY,YAAY;0BAGhC,MAAM,YAAY,YAAY;4BAG5B,MAAM,YAAY,YAAY;yBAGjC,MAAM,YAAY,YAAY;mBAGpC,CAAC,WACZ,OAAO,CAAC,CAAC,CAAC,GAAG,CAAC,MAAM,OAAO,CAAC,CAAC,CAAC,CAAC,QAClC;QACJ,OAAO,EAAE,MAAM,CAAC;QAChB,OAAO,EAAE,MAAM,GAAG,CAAC,CAAC,IAAI,EAAE,CAAC,KAAK,MAAM,CAAC,CAAC;QACxC,KAAK,EAAE,MAAM,GAAG,CAAC,CAAC,KAAK,EAAE,OAAO,KAAK,MAAM,CAAC,CAAC;KAC9C,YACS,YAAY;;;;;;;uBAGE,CAAC,EAAE,EAAE,MAAM,GAAG,MAAM,KAAK,KAAK,CAAC,YAAY,YAAY,YAAY;wBAGlE,MAAM,GAAG,MAAM;EAY3C"}
|
package/dist/utils/cn.d.ts
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cn.d.ts","sourceRoot":"","sources":["../../src/utils/cn.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,UAAU,EAAQ,MAAM,MAAM,CAAC;AAE7C,wBAAgB,EAAE,CAAC,GAAG,MAAM,EAAE,UAAU,EAAE,UAEzC"}
|
package/dist/utils/scroll.d.ts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
declare const scrollFreeze: () => void;
|
|
2
|
-
declare const scrollRelease: () => void;
|
|
3
|
-
|
|
4
|
-
export { scrollFreeze, scrollRelease };
|
|
1
|
+
export declare const scrollFreeze: () => void;
|
|
2
|
+
export declare const scrollRelease: () => void;
|
|
3
|
+
//# sourceMappingURL=scroll.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"scroll.d.ts","sourceRoot":"","sources":["../../src/utils/scroll.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,YAAY,YAqBxB,CAAC;AAEF,eAAO,MAAM,aAAa,YAmBzB,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nexus-cross/design-system",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.7",
|
|
4
4
|
"description": "NEXUS Design System UI Components",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"module": "./dist/index.mjs",
|
|
@@ -27,227 +27,227 @@
|
|
|
27
27
|
"require": "./dist/modal/index.js"
|
|
28
28
|
},
|
|
29
29
|
"./button": {
|
|
30
|
-
"types": "./dist/
|
|
30
|
+
"types": "./dist/components/Button.d.ts",
|
|
31
31
|
"import": "./dist/button.mjs",
|
|
32
32
|
"require": "./dist/button.js"
|
|
33
33
|
},
|
|
34
34
|
"./chip": {
|
|
35
|
-
"types": "./dist/
|
|
35
|
+
"types": "./dist/components/Chip.d.ts",
|
|
36
36
|
"import": "./dist/chip.mjs",
|
|
37
37
|
"require": "./dist/chip.js"
|
|
38
38
|
},
|
|
39
39
|
"./badge": {
|
|
40
|
-
"types": "./dist/
|
|
40
|
+
"types": "./dist/components/Badge.d.ts",
|
|
41
41
|
"import": "./dist/badge.mjs",
|
|
42
42
|
"require": "./dist/badge.js"
|
|
43
43
|
},
|
|
44
44
|
"./progress": {
|
|
45
|
-
"types": "./dist/
|
|
45
|
+
"types": "./dist/components/Progress.d.ts",
|
|
46
46
|
"import": "./dist/progress.mjs",
|
|
47
47
|
"require": "./dist/progress.js"
|
|
48
48
|
},
|
|
49
49
|
"./alert": {
|
|
50
|
-
"types": "./dist/
|
|
50
|
+
"types": "./dist/components/Alert.d.ts",
|
|
51
51
|
"import": "./dist/alert.mjs",
|
|
52
52
|
"require": "./dist/alert.js"
|
|
53
53
|
},
|
|
54
54
|
"./checkbox": {
|
|
55
|
-
"types": "./dist/
|
|
55
|
+
"types": "./dist/components/CheckBox.d.ts",
|
|
56
56
|
"import": "./dist/checkbox.mjs",
|
|
57
57
|
"require": "./dist/checkbox.js"
|
|
58
58
|
},
|
|
59
59
|
"./switch": {
|
|
60
|
-
"types": "./dist/
|
|
60
|
+
"types": "./dist/components/Switch.d.ts",
|
|
61
61
|
"import": "./dist/switch.mjs",
|
|
62
62
|
"require": "./dist/switch.js"
|
|
63
63
|
},
|
|
64
64
|
"./text-input": {
|
|
65
|
-
"types": "./dist/
|
|
65
|
+
"types": "./dist/components/TextInput.d.ts",
|
|
66
66
|
"import": "./dist/text-input.mjs",
|
|
67
67
|
"require": "./dist/text-input.js"
|
|
68
68
|
},
|
|
69
69
|
"./text-area": {
|
|
70
|
-
"types": "./dist/
|
|
70
|
+
"types": "./dist/components/TextArea.d.ts",
|
|
71
71
|
"import": "./dist/text-area.mjs",
|
|
72
72
|
"require": "./dist/text-area.js"
|
|
73
73
|
},
|
|
74
74
|
"./number-input": {
|
|
75
|
-
"types": "./dist/
|
|
75
|
+
"types": "./dist/components/NumberInput.d.ts",
|
|
76
76
|
"import": "./dist/number-input.mjs",
|
|
77
77
|
"require": "./dist/number-input.js"
|
|
78
78
|
},
|
|
79
79
|
"./price-input": {
|
|
80
|
-
"types": "./dist/
|
|
80
|
+
"types": "./dist/components/PriceInput.d.ts",
|
|
81
81
|
"import": "./dist/price-input.mjs",
|
|
82
82
|
"require": "./dist/price-input.js"
|
|
83
83
|
},
|
|
84
84
|
"./avatar": {
|
|
85
|
-
"types": "./dist/
|
|
85
|
+
"types": "./dist/components/Avatar.d.ts",
|
|
86
86
|
"import": "./dist/avatar.mjs",
|
|
87
87
|
"require": "./dist/avatar.js"
|
|
88
88
|
},
|
|
89
89
|
"./select": {
|
|
90
|
-
"types": "./dist/
|
|
90
|
+
"types": "./dist/components/Select.d.ts",
|
|
91
91
|
"import": "./dist/select.mjs",
|
|
92
92
|
"require": "./dist/select.js"
|
|
93
93
|
},
|
|
94
94
|
"./drawer": {
|
|
95
|
-
"types": "./dist/
|
|
95
|
+
"types": "./dist/components/Drawer.d.ts",
|
|
96
96
|
"import": "./dist/drawer.mjs",
|
|
97
97
|
"require": "./dist/drawer.js"
|
|
98
98
|
},
|
|
99
99
|
"./tooltip": {
|
|
100
|
-
"types": "./dist/
|
|
100
|
+
"types": "./dist/components/Tooltip.d.ts",
|
|
101
101
|
"import": "./dist/tooltip.mjs",
|
|
102
102
|
"require": "./dist/tooltip.js"
|
|
103
103
|
},
|
|
104
104
|
"./divider": {
|
|
105
|
-
"types": "./dist/
|
|
105
|
+
"types": "./dist/components/Divider.d.ts",
|
|
106
106
|
"import": "./dist/divider.mjs",
|
|
107
107
|
"require": "./dist/divider.js"
|
|
108
108
|
},
|
|
109
109
|
"./radio-group": {
|
|
110
|
-
"types": "./dist/
|
|
110
|
+
"types": "./dist/components/RadioGroup.d.ts",
|
|
111
111
|
"import": "./dist/radio-group.mjs",
|
|
112
112
|
"require": "./dist/radio-group.js"
|
|
113
113
|
},
|
|
114
114
|
"./pagination": {
|
|
115
|
-
"types": "./dist/
|
|
115
|
+
"types": "./dist/components/Pagination.d.ts",
|
|
116
116
|
"import": "./dist/pagination.mjs",
|
|
117
117
|
"require": "./dist/pagination.js"
|
|
118
118
|
},
|
|
119
119
|
"./tab": {
|
|
120
|
-
"types": "./dist/
|
|
120
|
+
"types": "./dist/components/Tab.d.ts",
|
|
121
121
|
"import": "./dist/tab.mjs",
|
|
122
122
|
"require": "./dist/tab.js"
|
|
123
123
|
},
|
|
124
124
|
"./accordion": {
|
|
125
|
-
"types": "./dist/
|
|
125
|
+
"types": "./dist/components/Accordion.d.ts",
|
|
126
126
|
"import": "./dist/accordion.mjs",
|
|
127
127
|
"require": "./dist/accordion.js"
|
|
128
128
|
},
|
|
129
129
|
"./popover": {
|
|
130
|
-
"types": "./dist/
|
|
130
|
+
"types": "./dist/components/Popover.d.ts",
|
|
131
131
|
"import": "./dist/popover.mjs",
|
|
132
132
|
"require": "./dist/popover.js"
|
|
133
133
|
},
|
|
134
134
|
"./carousel": {
|
|
135
|
-
"types": "./dist/
|
|
135
|
+
"types": "./dist/components/Carousel.d.ts",
|
|
136
136
|
"import": "./dist/carousel.mjs",
|
|
137
137
|
"require": "./dist/carousel.js"
|
|
138
138
|
},
|
|
139
139
|
"./virtual-scroll": {
|
|
140
|
-
"types": "./dist/
|
|
140
|
+
"types": "./dist/components/VirtualScroll.d.ts",
|
|
141
141
|
"import": "./dist/virtual-scroll.mjs",
|
|
142
142
|
"require": "./dist/virtual-scroll.js"
|
|
143
143
|
},
|
|
144
144
|
"./infinite-scroll": {
|
|
145
|
-
"types": "./dist/
|
|
145
|
+
"types": "./dist/components/InfiniteScroll.d.ts",
|
|
146
146
|
"import": "./dist/infinite-scroll.mjs",
|
|
147
147
|
"require": "./dist/infinite-scroll.js"
|
|
148
148
|
},
|
|
149
149
|
"./marquee": {
|
|
150
|
-
"types": "./dist/
|
|
150
|
+
"types": "./dist/components/Marquee.d.ts",
|
|
151
151
|
"import": "./dist/marquee.mjs",
|
|
152
152
|
"require": "./dist/marquee.js"
|
|
153
153
|
},
|
|
154
154
|
"./ellipsis": {
|
|
155
|
-
"types": "./dist/
|
|
155
|
+
"types": "./dist/components/Ellipsis.d.ts",
|
|
156
156
|
"import": "./dist/ellipsis.mjs",
|
|
157
157
|
"require": "./dist/ellipsis.js"
|
|
158
158
|
},
|
|
159
159
|
"./spinner": {
|
|
160
|
-
"types": "./dist/
|
|
160
|
+
"types": "./dist/components/Spinner.d.ts",
|
|
161
161
|
"import": "./dist/spinner.mjs",
|
|
162
162
|
"require": "./dist/spinner.js"
|
|
163
163
|
},
|
|
164
164
|
"./skeleton": {
|
|
165
|
-
"types": "./dist/
|
|
165
|
+
"types": "./dist/components/Skeleton.d.ts",
|
|
166
166
|
"import": "./dist/skeleton.mjs",
|
|
167
167
|
"require": "./dist/skeleton.js"
|
|
168
168
|
},
|
|
169
169
|
"./countdown": {
|
|
170
|
-
"types": "./dist/
|
|
170
|
+
"types": "./dist/components/Countdown.d.ts",
|
|
171
171
|
"import": "./dist/countdown.mjs",
|
|
172
172
|
"require": "./dist/countdown.js"
|
|
173
173
|
},
|
|
174
174
|
"./counter": {
|
|
175
|
-
"types": "./dist/
|
|
175
|
+
"types": "./dist/components/Counter.d.ts",
|
|
176
176
|
"import": "./dist/counter.mjs",
|
|
177
177
|
"require": "./dist/counter.js"
|
|
178
178
|
},
|
|
179
179
|
"./data-list": {
|
|
180
|
-
"types": "./dist/
|
|
180
|
+
"types": "./dist/components/DataList.d.ts",
|
|
181
181
|
"import": "./dist/data-list.mjs",
|
|
182
182
|
"require": "./dist/data-list.js"
|
|
183
183
|
},
|
|
184
184
|
"./empty-state": {
|
|
185
|
-
"types": "./dist/
|
|
185
|
+
"types": "./dist/components/EmptyState.d.ts",
|
|
186
186
|
"import": "./dist/empty-state.mjs",
|
|
187
187
|
"require": "./dist/empty-state.js"
|
|
188
188
|
},
|
|
189
189
|
"./breadcrumb": {
|
|
190
|
-
"types": "./dist/
|
|
190
|
+
"types": "./dist/components/Breadcrumb.d.ts",
|
|
191
191
|
"import": "./dist/breadcrumb.mjs",
|
|
192
192
|
"require": "./dist/breadcrumb.js"
|
|
193
193
|
},
|
|
194
194
|
"./stepper": {
|
|
195
|
-
"types": "./dist/
|
|
195
|
+
"types": "./dist/components/Stepper.d.ts",
|
|
196
196
|
"import": "./dist/stepper.mjs",
|
|
197
197
|
"require": "./dist/stepper.js"
|
|
198
198
|
},
|
|
199
199
|
"./dropdown-menu": {
|
|
200
|
-
"types": "./dist/
|
|
200
|
+
"types": "./dist/components/DropdownMenu.d.ts",
|
|
201
201
|
"import": "./dist/dropdown-menu.mjs",
|
|
202
202
|
"require": "./dist/dropdown-menu.js"
|
|
203
203
|
},
|
|
204
204
|
"./toggle-group": {
|
|
205
|
-
"types": "./dist/
|
|
205
|
+
"types": "./dist/components/ToggleGroup.d.ts",
|
|
206
206
|
"import": "./dist/toggle-group.mjs",
|
|
207
207
|
"require": "./dist/toggle-group.js"
|
|
208
208
|
},
|
|
209
209
|
"./slider": {
|
|
210
|
-
"types": "./dist/
|
|
210
|
+
"types": "./dist/components/Slider.d.ts",
|
|
211
211
|
"import": "./dist/slider.mjs",
|
|
212
212
|
"require": "./dist/slider.js"
|
|
213
213
|
},
|
|
214
214
|
"./tag-input": {
|
|
215
|
-
"types": "./dist/
|
|
215
|
+
"types": "./dist/components/TagInput.d.ts",
|
|
216
216
|
"import": "./dist/tag-input.mjs",
|
|
217
217
|
"require": "./dist/tag-input.js"
|
|
218
218
|
},
|
|
219
219
|
"./nx-image": {
|
|
220
|
-
"types": "./dist/
|
|
220
|
+
"types": "./dist/components/NxImage.d.ts",
|
|
221
221
|
"import": "./dist/nx-image.mjs",
|
|
222
222
|
"require": "./dist/nx-image.js"
|
|
223
223
|
},
|
|
224
224
|
"./date-picker": {
|
|
225
|
-
"types": "./dist/
|
|
225
|
+
"types": "./dist/components/DatePicker.d.ts",
|
|
226
226
|
"import": "./dist/date-picker.mjs",
|
|
227
227
|
"require": "./dist/date-picker.js"
|
|
228
228
|
},
|
|
229
229
|
"./client-only": {
|
|
230
|
-
"types": "./dist/
|
|
230
|
+
"types": "./dist/components/ClientOnly.d.ts",
|
|
231
231
|
"import": "./dist/client-only.mjs",
|
|
232
232
|
"require": "./dist/client-only.js"
|
|
233
233
|
},
|
|
234
234
|
"./error-boundary": {
|
|
235
|
-
"types": "./dist/
|
|
235
|
+
"types": "./dist/components/ErrorBoundary.d.ts",
|
|
236
236
|
"import": "./dist/error-boundary.mjs",
|
|
237
237
|
"require": "./dist/error-boundary.js"
|
|
238
238
|
},
|
|
239
239
|
"./theme-provider": {
|
|
240
|
-
"types": "./dist/
|
|
240
|
+
"types": "./dist/components/ThemeProvider.d.ts",
|
|
241
241
|
"import": "./dist/theme-provider.mjs",
|
|
242
242
|
"require": "./dist/theme-provider.js"
|
|
243
243
|
},
|
|
244
244
|
"./toast": {
|
|
245
|
-
"types": "./dist/toast.d.ts",
|
|
245
|
+
"types": "./dist/toast/index.d.ts",
|
|
246
246
|
"import": "./dist/toast.mjs",
|
|
247
247
|
"require": "./dist/toast.js"
|
|
248
248
|
},
|
|
249
249
|
"./table": {
|
|
250
|
-
"types": "./dist/table.d.ts",
|
|
250
|
+
"types": "./dist/table/index.d.ts",
|
|
251
251
|
"import": "./dist/table.mjs",
|
|
252
252
|
"require": "./dist/table.js"
|
|
253
253
|
},
|
|
@@ -277,7 +277,7 @@
|
|
|
277
277
|
"require": "./dist/utils/cn.js"
|
|
278
278
|
},
|
|
279
279
|
"./schemas": {
|
|
280
|
-
"types": "./dist/schemas.d.ts",
|
|
280
|
+
"types": "./dist/schemas/index.d.ts",
|
|
281
281
|
"import": "./dist/schemas.mjs",
|
|
282
282
|
"require": "./dist/schemas.js"
|
|
283
283
|
}
|
|
@@ -348,12 +348,12 @@
|
|
|
348
348
|
"typescript": "^5.0.0",
|
|
349
349
|
"vitest": "^1.6.1",
|
|
350
350
|
"zod-to-json-schema": "^3.25.2",
|
|
351
|
-
"@nexus-cross/tokens": "1.0.
|
|
351
|
+
"@nexus-cross/tokens": "1.0.7"
|
|
352
352
|
},
|
|
353
353
|
"scripts": {
|
|
354
354
|
"postinstall": "node scripts/setup-cursor-rules.cjs",
|
|
355
355
|
"build:css": "node src/styles/scripts/css-to-ts.js",
|
|
356
|
-
"build:js": "tsup",
|
|
356
|
+
"build:js": "tsup && tsc -p tsconfig.build.json",
|
|
357
357
|
"build:schemas": "node scripts/generate-json-schemas.cjs",
|
|
358
358
|
"build:mdc": "node scripts/generate-mdc.cjs",
|
|
359
359
|
"build": "pnpm build:css && pnpm build:js && cp src/styles/.generated/built.clean.css dist/styles.css && node scripts/generate-layered-css.cjs && node scripts/inject-css-import.cjs && pnpm build:schemas && pnpm build:mdc",
|
package/dist/accordion.d.ts
DELETED
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import * as AccordionPrimitive from '@radix-ui/react-accordion';
|
|
2
|
-
import * as React from 'react';
|
|
3
|
-
|
|
4
|
-
declare const AccordionRoot: React.ForwardRefExoticComponent<(AccordionPrimitive.AccordionSingleProps | AccordionPrimitive.AccordionMultipleProps) & React.RefAttributes<HTMLDivElement>>;
|
|
5
|
-
declare const AccordionItem: React.ForwardRefExoticComponent<Omit<AccordionPrimitive.AccordionItemProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
6
|
-
declare const AccordionTrigger: React.ForwardRefExoticComponent<Omit<AccordionPrimitive.AccordionTriggerProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
7
|
-
declare const AccordionContent: React.ForwardRefExoticComponent<Omit<AccordionPrimitive.AccordionContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
8
|
-
type AccordionItemData = {
|
|
9
|
-
id: string;
|
|
10
|
-
trigger: React.ReactNode;
|
|
11
|
-
content: React.ReactNode;
|
|
12
|
-
disabled?: boolean;
|
|
13
|
-
className?: string;
|
|
14
|
-
triggerClassName?: string;
|
|
15
|
-
contentClassName?: string;
|
|
16
|
-
};
|
|
17
|
-
interface SimpleAccordionProps {
|
|
18
|
-
items: AccordionItemData[];
|
|
19
|
-
type?: 'single' | 'multiple';
|
|
20
|
-
collapsible?: boolean;
|
|
21
|
-
value?: string | string[];
|
|
22
|
-
defaultValue?: string | string[];
|
|
23
|
-
className?: string;
|
|
24
|
-
onValueChange?: (value: string | string[]) => void;
|
|
25
|
-
}
|
|
26
|
-
declare const Accordion: React.FC<SimpleAccordionProps>;
|
|
27
|
-
|
|
28
|
-
export { Accordion, AccordionContent, AccordionItem, AccordionRoot, AccordionTrigger };
|
package/dist/alert.d.ts
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
2
|
-
import * as React from 'react';
|
|
3
|
-
import { VariantProps } from 'class-variance-authority';
|
|
4
|
-
|
|
5
|
-
declare const alertVariants: (props?: ({
|
|
6
|
-
variant?: "danger" | "info" | "success" | "warning" | null | undefined;
|
|
7
|
-
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
8
|
-
interface AlertProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof alertVariants> {
|
|
9
|
-
title?: string;
|
|
10
|
-
icon?: React.ReactNode;
|
|
11
|
-
closable?: boolean;
|
|
12
|
-
onClose?: () => void;
|
|
13
|
-
action?: React.ReactNode;
|
|
14
|
-
}
|
|
15
|
-
declare const Alert: React.ForwardRefExoticComponent<AlertProps & React.RefAttributes<HTMLDivElement>>;
|
|
16
|
-
|
|
17
|
-
export { Alert, type AlertProps, alertVariants };
|
package/dist/avatar.d.ts
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
2
|
-
import * as React from 'react';
|
|
3
|
-
import { VariantProps } from 'class-variance-authority';
|
|
4
|
-
|
|
5
|
-
declare const avatarVariants: (props?: ({
|
|
6
|
-
size?: "xl" | "lg" | "md" | "sm" | "xs" | null | undefined;
|
|
7
|
-
shape?: "circle" | "square" | null | undefined;
|
|
8
|
-
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
9
|
-
interface AvatarProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof avatarVariants> {
|
|
10
|
-
src?: string;
|
|
11
|
-
alt?: string;
|
|
12
|
-
fallback?: React.ReactNode;
|
|
13
|
-
onImageError?: () => void;
|
|
14
|
-
}
|
|
15
|
-
declare const Avatar: React.ForwardRefExoticComponent<AvatarProps & React.RefAttributes<HTMLDivElement>>;
|
|
16
|
-
|
|
17
|
-
export { Avatar, type AvatarProps, avatarVariants };
|
package/dist/badge.d.ts
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
2
|
-
import * as React from 'react';
|
|
3
|
-
import { VariantProps } from 'class-variance-authority';
|
|
4
|
-
|
|
5
|
-
declare const badgeVariants: (props?: ({
|
|
6
|
-
variant?: "primary" | "secondary" | "danger" | "info" | "success" | "warning" | null | undefined;
|
|
7
|
-
size?: "lg" | "md" | "sm" | null | undefined;
|
|
8
|
-
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
9
|
-
interface BadgeProps extends React.HTMLAttributes<HTMLSpanElement>, VariantProps<typeof badgeVariants> {
|
|
10
|
-
count?: number;
|
|
11
|
-
max?: number;
|
|
12
|
-
dot?: boolean;
|
|
13
|
-
showZero?: boolean;
|
|
14
|
-
offset?: [number, number];
|
|
15
|
-
}
|
|
16
|
-
declare const Badge: React.ForwardRefExoticComponent<BadgeProps & React.RefAttributes<HTMLSpanElement>>;
|
|
17
|
-
|
|
18
|
-
export { Badge, type BadgeProps, badgeVariants };
|
package/dist/breadcrumb.d.ts
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
|
|
3
|
-
interface BreadcrumbItem {
|
|
4
|
-
label: React.ReactNode;
|
|
5
|
-
href?: string;
|
|
6
|
-
onClick?: () => void;
|
|
7
|
-
}
|
|
8
|
-
interface BreadcrumbProps extends React.HTMLAttributes<HTMLElement> {
|
|
9
|
-
items: BreadcrumbItem[];
|
|
10
|
-
separator?: React.ReactNode;
|
|
11
|
-
maxItems?: number;
|
|
12
|
-
}
|
|
13
|
-
declare const Breadcrumb: React.ForwardRefExoticComponent<BreadcrumbProps & React.RefAttributes<HTMLElement>>;
|
|
14
|
-
|
|
15
|
-
export { Breadcrumb, type BreadcrumbItem, type BreadcrumbProps };
|
package/dist/button.d.ts
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
2
|
-
import * as React from 'react';
|
|
3
|
-
import { VariantProps } from 'class-variance-authority';
|
|
4
|
-
|
|
5
|
-
declare const buttonVariants: (props?: ({
|
|
6
|
-
semantic?: "primary" | "secondary" | "normal" | "danger" | null | undefined;
|
|
7
|
-
variant?: "contained" | "outlined" | "subtle" | "ghost" | null | undefined;
|
|
8
|
-
size?: "xl" | "lg" | "md" | "sm" | null | undefined;
|
|
9
|
-
radius?: "default" | "circle" | null | undefined;
|
|
10
|
-
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
11
|
-
interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {
|
|
12
|
-
asChild?: boolean;
|
|
13
|
-
detectDoubleClick?: boolean;
|
|
14
|
-
}
|
|
15
|
-
declare const Button: React.ForwardRefExoticComponent<ButtonProps & React.RefAttributes<HTMLButtonElement>>;
|
|
16
|
-
|
|
17
|
-
export { Button, type ButtonProps, buttonVariants };
|