@nexus-cross/design-system 1.0.3 → 1.0.4

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 (109) hide show
  1. package/cursor-rules/nexus-ui-api.mdc +208 -0
  2. package/dist/alert.d.mts +17 -0
  3. package/dist/alert.d.ts +17 -0
  4. package/dist/alert.js +16 -0
  5. package/dist/alert.mjs +3 -0
  6. package/dist/badge.d.mts +18 -0
  7. package/dist/badge.d.ts +18 -0
  8. package/dist/badge.js +16 -0
  9. package/dist/badge.mjs +3 -0
  10. package/dist/breadcrumb.d.mts +15 -0
  11. package/dist/breadcrumb.d.ts +15 -0
  12. package/dist/breadcrumb.js +12 -0
  13. package/dist/breadcrumb.mjs +3 -0
  14. package/dist/chunks/chunk-2N2EPBO4.js +120 -0
  15. package/dist/chunks/chunk-2UPGFY6E.mjs +76 -0
  16. package/dist/chunks/chunk-3ZWN66YH.js +53 -0
  17. package/dist/chunks/chunk-5PQ3UCKF.js +99 -0
  18. package/dist/chunks/chunk-6BWOKTVQ.mjs +87 -0
  19. package/dist/chunks/chunk-6DBRL6NA.mjs +81 -0
  20. package/dist/chunks/chunk-B5O6W3Z4.mjs +73 -0
  21. package/dist/chunks/chunk-C2DSAJTL.js +109 -0
  22. package/dist/chunks/chunk-CUTMLBC3.mjs +86 -0
  23. package/dist/chunks/chunk-CV4GMFWP.js +174 -0
  24. package/dist/chunks/chunk-DICN6GKE.js +99 -0
  25. package/dist/chunks/chunk-DYPPVXQF.js +143 -0
  26. package/dist/chunks/chunk-EJY7IVSK.mjs +31 -0
  27. package/dist/chunks/chunk-FUIBYZZ4.mjs +98 -0
  28. package/dist/chunks/chunk-H2G5FMRN.mjs +75 -0
  29. package/dist/chunks/chunk-H2V7RHYV.mjs +120 -0
  30. package/dist/chunks/chunk-KZ7S5VN2.js +7 -0
  31. package/dist/chunks/chunk-MMCA33FW.mjs +85 -0
  32. package/dist/chunks/chunk-NZHK76R3.js +109 -0
  33. package/dist/chunks/chunk-P73MEU7N.mjs +150 -0
  34. package/dist/chunks/chunk-PDJTSQOC.js +59 -0
  35. package/dist/chunks/chunk-PI464222.mjs +5 -0
  36. package/dist/chunks/chunk-S2GMEC43.js +109 -0
  37. package/dist/chunks/chunk-X3CTJ7TD.js +108 -0
  38. package/dist/chunks/chunk-YO5MSDPX.mjs +36 -0
  39. package/dist/chunks/chunk-ZI4LN2B2.js +96 -0
  40. package/dist/date-picker.d.mts +17 -0
  41. package/dist/date-picker.d.ts +17 -0
  42. package/dist/date-picker.js +12 -0
  43. package/dist/date-picker.mjs +3 -0
  44. package/dist/dropdown-menu.d.mts +30 -0
  45. package/dist/dropdown-menu.d.ts +30 -0
  46. package/dist/dropdown-menu.js +32 -0
  47. package/dist/dropdown-menu.mjs +3 -0
  48. package/dist/empty-state.d.mts +16 -0
  49. package/dist/empty-state.d.ts +16 -0
  50. package/dist/empty-state.js +16 -0
  51. package/dist/empty-state.mjs +3 -0
  52. package/dist/index.d.mts +14 -0
  53. package/dist/index.d.ts +14 -0
  54. package/dist/index.js +267 -155
  55. package/dist/index.mjs +28 -16
  56. package/dist/modal/index.js +12 -12
  57. package/dist/modal/index.mjs +3 -3
  58. package/dist/nx-image.d.mts +13 -0
  59. package/dist/nx-image.d.ts +13 -0
  60. package/dist/nx-image.js +12 -0
  61. package/dist/nx-image.mjs +3 -0
  62. package/dist/progress.d.mts +18 -0
  63. package/dist/progress.d.ts +18 -0
  64. package/dist/progress.js +16 -0
  65. package/dist/progress.mjs +3 -0
  66. package/dist/schemas/_all.json +787 -4
  67. package/dist/schemas/alert.json +49 -0
  68. package/dist/schemas/badge.json +76 -0
  69. package/dist/schemas/breadcrumb.json +47 -0
  70. package/dist/schemas/datePicker.json +56 -0
  71. package/dist/schemas/dropdownMenu.json +83 -0
  72. package/dist/schemas/emptyState.json +44 -0
  73. package/dist/schemas/nxImage.json +56 -0
  74. package/dist/schemas/progress.json +63 -0
  75. package/dist/schemas/slider.json +78 -0
  76. package/dist/schemas/stepper.json +73 -0
  77. package/dist/schemas/tagInput.json +70 -0
  78. package/dist/schemas/toggleGroup.json +88 -0
  79. package/dist/schemas.d.mts +603 -143
  80. package/dist/schemas.d.ts +603 -143
  81. package/dist/schemas.js +160 -0
  82. package/dist/schemas.mjs +149 -1
  83. package/dist/slider.d.mts +20 -0
  84. package/dist/slider.d.ts +20 -0
  85. package/dist/slider.js +16 -0
  86. package/dist/slider.mjs +3 -0
  87. package/dist/stepper.d.mts +20 -0
  88. package/dist/stepper.d.ts +20 -0
  89. package/dist/stepper.js +16 -0
  90. package/dist/stepper.mjs +3 -0
  91. package/dist/styles/layer.js +2 -2
  92. package/dist/styles/layer.mjs +1 -1
  93. package/dist/styles.css +1190 -69
  94. package/dist/styles.js +2 -2
  95. package/dist/styles.layered.css +1190 -69
  96. package/dist/styles.mjs +1 -1
  97. package/dist/tag-input.d.mts +21 -0
  98. package/dist/tag-input.d.ts +21 -0
  99. package/dist/tag-input.js +16 -0
  100. package/dist/tag-input.mjs +3 -0
  101. package/dist/toggle-group.d.mts +36 -0
  102. package/dist/toggle-group.d.ts +36 -0
  103. package/dist/toggle-group.js +16 -0
  104. package/dist/toggle-group.mjs +3 -0
  105. package/package.json +67 -2
  106. package/dist/chunks/chunk-RLPPNY5F.js +0 -7
  107. package/dist/chunks/chunk-W7IPMNN2.mjs +0 -5
  108. package/dist/chunks/{chunk-3VFBPFZF.mjs → chunk-CWMLTXOH.mjs} +2 -2
  109. package/dist/chunks/{chunk-U53UA76K.js → chunk-HFBTS42N.js} +2 -2
@@ -0,0 +1,108 @@
1
+ 'use strict';
2
+
3
+ var chunkCZC76ZD5_js = require('./chunk-CZC76ZD5.js');
4
+ var React = require('react');
5
+ var classVarianceAuthority = require('class-variance-authority');
6
+ var jsxRuntime = require('react/jsx-runtime');
7
+
8
+ function _interopNamespace(e) {
9
+ if (e && e.__esModule) return e;
10
+ var n = Object.create(null);
11
+ if (e) {
12
+ Object.keys(e).forEach(function (k) {
13
+ if (k !== 'default') {
14
+ var d = Object.getOwnPropertyDescriptor(e, k);
15
+ Object.defineProperty(n, k, d.get ? d : {
16
+ enumerable: true,
17
+ get: function () { return e[k]; }
18
+ });
19
+ }
20
+ });
21
+ }
22
+ n.default = e;
23
+ return Object.freeze(n);
24
+ }
25
+
26
+ var React__namespace = /*#__PURE__*/_interopNamespace(React);
27
+
28
+ var stepperVariants = classVarianceAuthority.cva("nexus-stepper", {
29
+ variants: {
30
+ orientation: {
31
+ horizontal: "nexus-stepper--horizontal",
32
+ vertical: "nexus-stepper--vertical"
33
+ },
34
+ size: {
35
+ sm: "nexus-stepper--sm",
36
+ md: "nexus-stepper--md"
37
+ }
38
+ },
39
+ defaultVariants: {
40
+ orientation: "horizontal",
41
+ size: "md"
42
+ }
43
+ });
44
+ var CheckIcon = ({ className }) => /* @__PURE__ */ jsxRuntime.jsx("svg", { className, viewBox: "0 0 16 16", fill: "none", stroke: "currentColor", strokeWidth: "2.5", children: /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M3.5 8.5l3 3 6-6", strokeLinecap: "round", strokeLinejoin: "round" }) });
45
+ var Stepper = React__namespace.forwardRef(
46
+ ({ className, orientation, size, steps, current = 0, status = "process", ...props }, ref) => {
47
+ const isHorizontal = orientation !== "vertical";
48
+ return /* @__PURE__ */ jsxRuntime.jsx(
49
+ "div",
50
+ {
51
+ ref,
52
+ className: chunkCZC76ZD5_js.cn(stepperVariants({ orientation, size }), className),
53
+ "aria-label": "Progress",
54
+ ...props,
55
+ children: steps.map((step, i) => {
56
+ const state = i < current ? "completed" : i === current ? status === "error" ? "error" : "active" : "pending";
57
+ const isFirst = i === 0;
58
+ const isLast = i === steps.length - 1;
59
+ const prevCompleted = i <= current;
60
+ const nextCompleted = i < current;
61
+ return /* @__PURE__ */ jsxRuntime.jsxs(
62
+ "div",
63
+ {
64
+ className: chunkCZC76ZD5_js.cn("nexus-stepper__step", `nexus-stepper__step--${state}`),
65
+ children: [
66
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "nexus-stepper__indicator-wrap", children: isHorizontal ? /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
67
+ /* @__PURE__ */ jsxRuntime.jsx(
68
+ "div",
69
+ {
70
+ className: chunkCZC76ZD5_js.cn(
71
+ "nexus-stepper__connector",
72
+ isFirst && "nexus-stepper__connector--hidden",
73
+ prevCompleted && "nexus-stepper__connector--completed"
74
+ )
75
+ }
76
+ ),
77
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "nexus-stepper__indicator", children: state === "completed" ? /* @__PURE__ */ jsxRuntime.jsx(CheckIcon, { className: "nexus-stepper__check" }) : /* @__PURE__ */ jsxRuntime.jsx("span", { children: i + 1 }) }),
78
+ /* @__PURE__ */ jsxRuntime.jsx(
79
+ "div",
80
+ {
81
+ className: chunkCZC76ZD5_js.cn(
82
+ "nexus-stepper__connector",
83
+ isLast && "nexus-stepper__connector--hidden",
84
+ nextCompleted && "nexus-stepper__connector--completed"
85
+ )
86
+ }
87
+ )
88
+ ] }) : /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
89
+ !isFirst && /* @__PURE__ */ jsxRuntime.jsx("div", { className: chunkCZC76ZD5_js.cn("nexus-stepper__connector", prevCompleted && "nexus-stepper__connector--completed") }),
90
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "nexus-stepper__indicator", children: state === "completed" ? /* @__PURE__ */ jsxRuntime.jsx(CheckIcon, { className: "nexus-stepper__check" }) : /* @__PURE__ */ jsxRuntime.jsx("span", { children: i + 1 }) })
91
+ ] }) }),
92
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "nexus-stepper__content", children: [
93
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "nexus-stepper__label", children: step.label }),
94
+ step.description && /* @__PURE__ */ jsxRuntime.jsx("span", { className: "nexus-stepper__description", children: step.description })
95
+ ] })
96
+ ]
97
+ },
98
+ i
99
+ );
100
+ })
101
+ }
102
+ );
103
+ }
104
+ );
105
+ Stepper.displayName = "Stepper";
106
+
107
+ exports.Stepper = Stepper;
108
+ exports.stepperVariants = stepperVariants;
@@ -0,0 +1,36 @@
1
+ import { cn } from './chunk-MCKOWMLS.mjs';
2
+ import * as React from 'react';
3
+ import { cva } from 'class-variance-authority';
4
+ import { jsxs, jsx } from 'react/jsx-runtime';
5
+
6
+ var emptyStateVariants = cva("nexus-empty-state", {
7
+ variants: {
8
+ size: {
9
+ sm: "nexus-empty-state--sm",
10
+ md: "nexus-empty-state--md",
11
+ lg: "nexus-empty-state--lg"
12
+ }
13
+ },
14
+ defaultVariants: { size: "md" }
15
+ });
16
+ var DefaultIcon = ({ className }) => /* @__PURE__ */ jsx("svg", { className, viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", children: /* @__PURE__ */ jsx("path", { d: "M20 13V6a2 2 0 00-2-2H6a2 2 0 00-2 2v7m16 0v5a2 2 0 01-2 2H6a2 2 0 01-2-2v-5m16 0h-2.586a1 1 0 00-.707.293l-2.414 2.414a1 1 0 01-.707.293h-3.172a1 1 0 01-.707-.293l-2.414-2.414A1 1 0 006.586 13H4", strokeLinecap: "round", strokeLinejoin: "round" }) });
17
+ var EmptyState = React.forwardRef(
18
+ ({ className, size, icon, title, description, action, children, ...props }, ref) => /* @__PURE__ */ jsxs(
19
+ "div",
20
+ {
21
+ ref,
22
+ className: cn(emptyStateVariants({ size }), className),
23
+ ...props,
24
+ children: [
25
+ /* @__PURE__ */ jsx("div", { className: "nexus-empty-state__icon", children: icon ?? /* @__PURE__ */ jsx(DefaultIcon, { className: "nexus-empty-state__default-icon" }) }),
26
+ title && /* @__PURE__ */ jsx("h3", { className: "nexus-empty-state__title", children: title }),
27
+ description && /* @__PURE__ */ jsx("p", { className: "nexus-empty-state__description", children: description }),
28
+ children,
29
+ action && /* @__PURE__ */ jsx("div", { className: "nexus-empty-state__action", children: action })
30
+ ]
31
+ }
32
+ )
33
+ );
34
+ EmptyState.displayName = "EmptyState";
35
+
36
+ export { EmptyState, emptyStateVariants };
@@ -0,0 +1,96 @@
1
+ 'use strict';
2
+
3
+ var chunkCZC76ZD5_js = require('./chunk-CZC76ZD5.js');
4
+ var React = require('react');
5
+ var classVarianceAuthority = require('class-variance-authority');
6
+ var jsxRuntime = require('react/jsx-runtime');
7
+
8
+ function _interopNamespace(e) {
9
+ if (e && e.__esModule) return e;
10
+ var n = Object.create(null);
11
+ if (e) {
12
+ Object.keys(e).forEach(function (k) {
13
+ if (k !== 'default') {
14
+ var d = Object.getOwnPropertyDescriptor(e, k);
15
+ Object.defineProperty(n, k, d.get ? d : {
16
+ enumerable: true,
17
+ get: function () { return e[k]; }
18
+ });
19
+ }
20
+ });
21
+ }
22
+ n.default = e;
23
+ return Object.freeze(n);
24
+ }
25
+
26
+ var React__namespace = /*#__PURE__*/_interopNamespace(React);
27
+
28
+ var progressVariants = classVarianceAuthority.cva("nexus-progress", {
29
+ variants: {
30
+ variant: {
31
+ primary: "nexus-progress--primary",
32
+ success: "nexus-progress--success",
33
+ warning: "nexus-progress--warning",
34
+ danger: "nexus-progress--danger",
35
+ info: "nexus-progress--info"
36
+ },
37
+ size: {
38
+ sm: "nexus-progress--sm",
39
+ md: "nexus-progress--md",
40
+ lg: "nexus-progress--lg"
41
+ }
42
+ },
43
+ defaultVariants: {
44
+ variant: "primary",
45
+ size: "md"
46
+ }
47
+ });
48
+ var Progress = React__namespace.forwardRef(
49
+ ({
50
+ className,
51
+ variant,
52
+ size,
53
+ value = 0,
54
+ max = 100,
55
+ showValue = false,
56
+ indeterminate = false,
57
+ label,
58
+ ...props
59
+ }, ref) => {
60
+ const percentage = Math.min(100, Math.max(0, value / max * 100));
61
+ return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: chunkCZC76ZD5_js.cn("nexus-progress-wrapper", className), ref, ...props, children: [
62
+ (label || showValue) && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "nexus-progress__header", children: [
63
+ label && /* @__PURE__ */ jsxRuntime.jsx("span", { className: "nexus-progress__label", children: label }),
64
+ showValue && !indeterminate && /* @__PURE__ */ jsxRuntime.jsxs("span", { className: "nexus-progress__value", children: [
65
+ Math.round(percentage),
66
+ "%"
67
+ ] })
68
+ ] }),
69
+ /* @__PURE__ */ jsxRuntime.jsx(
70
+ "div",
71
+ {
72
+ className: chunkCZC76ZD5_js.cn(progressVariants({ variant, size })),
73
+ role: "progressbar",
74
+ "aria-valuenow": indeterminate ? void 0 : value,
75
+ "aria-valuemin": 0,
76
+ "aria-valuemax": max,
77
+ "aria-label": label,
78
+ children: /* @__PURE__ */ jsxRuntime.jsx(
79
+ "div",
80
+ {
81
+ className: chunkCZC76ZD5_js.cn(
82
+ "nexus-progress__bar",
83
+ indeterminate && "nexus-progress__bar--indeterminate"
84
+ ),
85
+ style: indeterminate ? void 0 : { width: `${percentage}%` }
86
+ }
87
+ )
88
+ }
89
+ )
90
+ ] });
91
+ }
92
+ );
93
+ Progress.displayName = "Progress";
94
+
95
+ exports.Progress = Progress;
96
+ exports.progressVariants = progressVariants;
@@ -0,0 +1,17 @@
1
+ import * as React from 'react';
2
+
3
+ interface DatePickerProps {
4
+ value?: Date;
5
+ defaultValue?: Date;
6
+ onChange?: (date: Date | undefined) => void;
7
+ placeholder?: string;
8
+ disabled?: boolean;
9
+ minDate?: Date;
10
+ maxDate?: Date;
11
+ locale?: 'ko' | 'en';
12
+ formatStr?: string;
13
+ className?: string;
14
+ }
15
+ declare const DatePicker: React.FC<DatePickerProps>;
16
+
17
+ export { DatePicker, type DatePickerProps };
@@ -0,0 +1,17 @@
1
+ import * as React from 'react';
2
+
3
+ interface DatePickerProps {
4
+ value?: Date;
5
+ defaultValue?: Date;
6
+ onChange?: (date: Date | undefined) => void;
7
+ placeholder?: string;
8
+ disabled?: boolean;
9
+ minDate?: Date;
10
+ maxDate?: Date;
11
+ locale?: 'ko' | 'en';
12
+ formatStr?: string;
13
+ className?: string;
14
+ }
15
+ declare const DatePicker: React.FC<DatePickerProps>;
16
+
17
+ export { DatePicker, type DatePickerProps };
@@ -0,0 +1,12 @@
1
+ 'use strict';
2
+
3
+ var chunk2N2EPBO4_js = require('./chunks/chunk-2N2EPBO4.js');
4
+ require('./chunks/chunk-CZC76ZD5.js');
5
+ require('./chunks/chunk-JNMCYWGY.js');
6
+
7
+
8
+
9
+ Object.defineProperty(exports, "DatePicker", {
10
+ enumerable: true,
11
+ get: function () { return chunk2N2EPBO4_js.DatePicker; }
12
+ });
@@ -0,0 +1,3 @@
1
+ export { DatePicker } from './chunks/chunk-FUIBYZZ4.mjs';
2
+ import './chunks/chunk-MCKOWMLS.mjs';
3
+ import './chunks/chunk-CVYXRSXT.mjs';
@@ -0,0 +1,30 @@
1
+ import * as React from 'react';
2
+ import * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu';
3
+
4
+ interface DropdownMenuItemType {
5
+ label: React.ReactNode;
6
+ value?: string;
7
+ icon?: React.ReactNode;
8
+ onClick?: () => void;
9
+ disabled?: boolean;
10
+ danger?: boolean;
11
+ separator?: boolean;
12
+ }
13
+ interface DropdownMenuProps {
14
+ children: React.ReactNode;
15
+ items: DropdownMenuItemType[];
16
+ align?: 'start' | 'center' | 'end';
17
+ side?: 'top' | 'right' | 'bottom' | 'left';
18
+ className?: string;
19
+ contentClassName?: string;
20
+ }
21
+ declare const DropdownMenu: React.FC<DropdownMenuProps>;
22
+ declare const DropdownMenuRoot: React.FC<DropdownMenuPrimitive.DropdownMenuProps>;
23
+ declare const DropdownMenuTrigger: React.ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuTriggerProps & React.RefAttributes<HTMLButtonElement>>;
24
+ declare const DropdownMenuContent: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
25
+ declare const DropdownMenuItem: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuItemProps & React.RefAttributes<HTMLDivElement>, "ref"> & {
26
+ danger?: boolean;
27
+ } & React.RefAttributes<HTMLDivElement>>;
28
+ declare const DropdownMenuSeparator: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuSeparatorProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
29
+
30
+ export { DropdownMenu, DropdownMenuContent, DropdownMenuItem, type DropdownMenuItemType, type DropdownMenuProps, DropdownMenuRoot, DropdownMenuSeparator, DropdownMenuTrigger };
@@ -0,0 +1,30 @@
1
+ import * as React from 'react';
2
+ import * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu';
3
+
4
+ interface DropdownMenuItemType {
5
+ label: React.ReactNode;
6
+ value?: string;
7
+ icon?: React.ReactNode;
8
+ onClick?: () => void;
9
+ disabled?: boolean;
10
+ danger?: boolean;
11
+ separator?: boolean;
12
+ }
13
+ interface DropdownMenuProps {
14
+ children: React.ReactNode;
15
+ items: DropdownMenuItemType[];
16
+ align?: 'start' | 'center' | 'end';
17
+ side?: 'top' | 'right' | 'bottom' | 'left';
18
+ className?: string;
19
+ contentClassName?: string;
20
+ }
21
+ declare const DropdownMenu: React.FC<DropdownMenuProps>;
22
+ declare const DropdownMenuRoot: React.FC<DropdownMenuPrimitive.DropdownMenuProps>;
23
+ declare const DropdownMenuTrigger: React.ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuTriggerProps & React.RefAttributes<HTMLButtonElement>>;
24
+ declare const DropdownMenuContent: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
25
+ declare const DropdownMenuItem: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuItemProps & React.RefAttributes<HTMLDivElement>, "ref"> & {
26
+ danger?: boolean;
27
+ } & React.RefAttributes<HTMLDivElement>>;
28
+ declare const DropdownMenuSeparator: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuSeparatorProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
29
+
30
+ export { DropdownMenu, DropdownMenuContent, DropdownMenuItem, type DropdownMenuItemType, type DropdownMenuProps, DropdownMenuRoot, DropdownMenuSeparator, DropdownMenuTrigger };
@@ -0,0 +1,32 @@
1
+ 'use strict';
2
+
3
+ var chunkC2DSAJTL_js = require('./chunks/chunk-C2DSAJTL.js');
4
+ require('./chunks/chunk-CZC76ZD5.js');
5
+ require('./chunks/chunk-JNMCYWGY.js');
6
+
7
+
8
+
9
+ Object.defineProperty(exports, "DropdownMenu", {
10
+ enumerable: true,
11
+ get: function () { return chunkC2DSAJTL_js.DropdownMenu; }
12
+ });
13
+ Object.defineProperty(exports, "DropdownMenuContent", {
14
+ enumerable: true,
15
+ get: function () { return chunkC2DSAJTL_js.DropdownMenuContent; }
16
+ });
17
+ Object.defineProperty(exports, "DropdownMenuItem", {
18
+ enumerable: true,
19
+ get: function () { return chunkC2DSAJTL_js.DropdownMenuItem; }
20
+ });
21
+ Object.defineProperty(exports, "DropdownMenuRoot", {
22
+ enumerable: true,
23
+ get: function () { return chunkC2DSAJTL_js.DropdownMenuRoot; }
24
+ });
25
+ Object.defineProperty(exports, "DropdownMenuSeparator", {
26
+ enumerable: true,
27
+ get: function () { return chunkC2DSAJTL_js.DropdownMenuSeparator; }
28
+ });
29
+ Object.defineProperty(exports, "DropdownMenuTrigger", {
30
+ enumerable: true,
31
+ get: function () { return chunkC2DSAJTL_js.DropdownMenuTrigger; }
32
+ });
@@ -0,0 +1,3 @@
1
+ export { DropdownMenu, DropdownMenuContent, DropdownMenuItem, DropdownMenuRoot, DropdownMenuSeparator, DropdownMenuTrigger } from './chunks/chunk-6DBRL6NA.mjs';
2
+ import './chunks/chunk-MCKOWMLS.mjs';
3
+ import './chunks/chunk-CVYXRSXT.mjs';
@@ -0,0 +1,16 @@
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 emptyStateVariants: (props?: ({
6
+ size?: "lg" | "md" | "sm" | null | undefined;
7
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
8
+ interface EmptyStateProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof emptyStateVariants> {
9
+ icon?: React.ReactNode;
10
+ title?: string;
11
+ description?: string;
12
+ action?: React.ReactNode;
13
+ }
14
+ declare const EmptyState: React.ForwardRefExoticComponent<EmptyStateProps & React.RefAttributes<HTMLDivElement>>;
15
+
16
+ export { EmptyState, type EmptyStateProps, emptyStateVariants };
@@ -0,0 +1,16 @@
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 emptyStateVariants: (props?: ({
6
+ size?: "lg" | "md" | "sm" | null | undefined;
7
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
8
+ interface EmptyStateProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof emptyStateVariants> {
9
+ icon?: React.ReactNode;
10
+ title?: string;
11
+ description?: string;
12
+ action?: React.ReactNode;
13
+ }
14
+ declare const EmptyState: React.ForwardRefExoticComponent<EmptyStateProps & React.RefAttributes<HTMLDivElement>>;
15
+
16
+ export { EmptyState, type EmptyStateProps, emptyStateVariants };
@@ -0,0 +1,16 @@
1
+ 'use strict';
2
+
3
+ var chunkPDJTSQOC_js = require('./chunks/chunk-PDJTSQOC.js');
4
+ require('./chunks/chunk-CZC76ZD5.js');
5
+ require('./chunks/chunk-JNMCYWGY.js');
6
+
7
+
8
+
9
+ Object.defineProperty(exports, "EmptyState", {
10
+ enumerable: true,
11
+ get: function () { return chunkPDJTSQOC_js.EmptyState; }
12
+ });
13
+ Object.defineProperty(exports, "emptyStateVariants", {
14
+ enumerable: true,
15
+ get: function () { return chunkPDJTSQOC_js.emptyStateVariants; }
16
+ });
@@ -0,0 +1,3 @@
1
+ export { EmptyState, emptyStateVariants } from './chunks/chunk-YO5MSDPX.mjs';
2
+ import './chunks/chunk-MCKOWMLS.mjs';
3
+ import './chunks/chunk-CVYXRSXT.mjs';
package/dist/index.d.mts CHANGED
@@ -13,13 +13,22 @@ export { ChildrenFuncParamsType, Table, TableData, TableHighlightProvider, Table
13
13
  export { Popover, PopoverArrow, PopoverClose, PopoverContent, PopoverTrigger, popoverContentClasses } from './popover.mjs';
14
14
  export { Tooltip, TooltipProvider, tooltipContentVariants } from './tooltip.mjs';
15
15
  export { Select, SelectItem, selectContentVariants, selectTriggerVariants } from './select.mjs';
16
+ export { DropdownMenu, DropdownMenuContent, DropdownMenuItem, DropdownMenuItemType, DropdownMenuProps, DropdownMenuRoot, DropdownMenuSeparator, DropdownMenuTrigger } from './dropdown-menu.mjs';
17
+ export { ToggleGroup, ToggleGroupItem, ToggleGroupProps, toggleGroupVariants } from './toggle-group.mjs';
18
+ export { Slider, SliderProps, sliderVariants } from './slider.mjs';
16
19
  export { Accordion, AccordionContent, AccordionItem, AccordionRoot, AccordionTrigger } from './accordion.mjs';
17
20
  export { InfiniteScroll, InfiniteScrollProps } from './infinite-scroll.mjs';
18
21
  export { Ellipsis, EllipsisProps } from './ellipsis.mjs';
22
+ export { EmptyState, EmptyStateProps, emptyStateVariants } from './empty-state.mjs';
19
23
  export { Drawer, DrawerClose, DrawerContent, DrawerContentProps, DrawerDescription, DrawerDirection, DrawerRoot, DrawerRootProps, DrawerTitle, DrawerTrigger, drawerContentVariants, drawerOverlayVariants } from './drawer.mjs';
20
24
  export { Button, ButtonProps, buttonVariants } from './button.mjs';
25
+ export { Breadcrumb, BreadcrumbItem, BreadcrumbProps } from './breadcrumb.mjs';
21
26
  export { Chip, ChipProps, chipVariants } from './chip.mjs';
27
+ export { Badge, BadgeProps, badgeVariants } from './badge.mjs';
28
+ export { Progress, ProgressProps, progressVariants } from './progress.mjs';
29
+ export { Alert, AlertProps, alertVariants } from './alert.mjs';
22
30
  export { Switch, SwitchProps, switchVariants } from './switch.mjs';
31
+ export { StepItem, Stepper, StepperProps, stepperVariants } from './stepper.mjs';
23
32
  export { TextInput, TextInputProps, textInputVariants } from './text-input.mjs';
24
33
  export { TextArea, TextAreaProps, textAreaVariants } from './text-area.mjs';
25
34
  export { CheckBox, CheckBoxProps, checkBoxVariants } from './checkbox.mjs';
@@ -40,6 +49,9 @@ export { Marquee, MarqueeProps } from './marquee.mjs';
40
49
  export { Tab, TabItem, TabProps, tabListVariants, tabTriggerVariants } from './tab.mjs';
41
50
  export { Carousel, CarouselApi, CarouselDots, CarouselNext, CarouselPrev, CarouselProps, CarouselSlide, CarouselSlideProps, useCarousel } from './carousel.mjs';
42
51
  export { DataList, DataListProps } from './data-list.mjs';
52
+ export { TagInput, TagInputProps, tagInputVariants } from './tag-input.mjs';
53
+ export { NxImage, NxImageProps } from './nx-image.mjs';
54
+ export { DatePicker, DatePickerProps } from './date-picker.mjs';
43
55
  export { VirtualGrid, VirtualGridProps, VirtualList, VirtualListProps } from './virtual-scroll.mjs';
44
56
  import 'clsx';
45
57
  import 'react';
@@ -48,6 +60,8 @@ import 'class-variance-authority/types';
48
60
  import 'class-variance-authority';
49
61
  import '@radix-ui/react-popover';
50
62
  import '@radix-ui/react-tooltip';
63
+ import '@radix-ui/react-dropdown-menu';
64
+ import '@radix-ui/react-slider';
51
65
  import '@radix-ui/react-accordion';
52
66
  import 'vaul';
53
67
  import 'embla-carousel-react';
package/dist/index.d.ts CHANGED
@@ -13,13 +13,22 @@ export { ChildrenFuncParamsType, Table, TableData, TableHighlightProvider, Table
13
13
  export { Popover, PopoverArrow, PopoverClose, PopoverContent, PopoverTrigger, popoverContentClasses } from './popover.js';
14
14
  export { Tooltip, TooltipProvider, tooltipContentVariants } from './tooltip.js';
15
15
  export { Select, SelectItem, selectContentVariants, selectTriggerVariants } from './select.js';
16
+ export { DropdownMenu, DropdownMenuContent, DropdownMenuItem, DropdownMenuItemType, DropdownMenuProps, DropdownMenuRoot, DropdownMenuSeparator, DropdownMenuTrigger } from './dropdown-menu.js';
17
+ export { ToggleGroup, ToggleGroupItem, ToggleGroupProps, toggleGroupVariants } from './toggle-group.js';
18
+ export { Slider, SliderProps, sliderVariants } from './slider.js';
16
19
  export { Accordion, AccordionContent, AccordionItem, AccordionRoot, AccordionTrigger } from './accordion.js';
17
20
  export { InfiniteScroll, InfiniteScrollProps } from './infinite-scroll.js';
18
21
  export { Ellipsis, EllipsisProps } from './ellipsis.js';
22
+ export { EmptyState, EmptyStateProps, emptyStateVariants } from './empty-state.js';
19
23
  export { Drawer, DrawerClose, DrawerContent, DrawerContentProps, DrawerDescription, DrawerDirection, DrawerRoot, DrawerRootProps, DrawerTitle, DrawerTrigger, drawerContentVariants, drawerOverlayVariants } from './drawer.js';
20
24
  export { Button, ButtonProps, buttonVariants } from './button.js';
25
+ export { Breadcrumb, BreadcrumbItem, BreadcrumbProps } from './breadcrumb.js';
21
26
  export { Chip, ChipProps, chipVariants } from './chip.js';
27
+ export { Badge, BadgeProps, badgeVariants } from './badge.js';
28
+ export { Progress, ProgressProps, progressVariants } from './progress.js';
29
+ export { Alert, AlertProps, alertVariants } from './alert.js';
22
30
  export { Switch, SwitchProps, switchVariants } from './switch.js';
31
+ export { StepItem, Stepper, StepperProps, stepperVariants } from './stepper.js';
23
32
  export { TextInput, TextInputProps, textInputVariants } from './text-input.js';
24
33
  export { TextArea, TextAreaProps, textAreaVariants } from './text-area.js';
25
34
  export { CheckBox, CheckBoxProps, checkBoxVariants } from './checkbox.js';
@@ -40,6 +49,9 @@ export { Marquee, MarqueeProps } from './marquee.js';
40
49
  export { Tab, TabItem, TabProps, tabListVariants, tabTriggerVariants } from './tab.js';
41
50
  export { Carousel, CarouselApi, CarouselDots, CarouselNext, CarouselPrev, CarouselProps, CarouselSlide, CarouselSlideProps, useCarousel } from './carousel.js';
42
51
  export { DataList, DataListProps } from './data-list.js';
52
+ export { TagInput, TagInputProps, tagInputVariants } from './tag-input.js';
53
+ export { NxImage, NxImageProps } from './nx-image.js';
54
+ export { DatePicker, DatePickerProps } from './date-picker.js';
43
55
  export { VirtualGrid, VirtualGridProps, VirtualList, VirtualListProps } from './virtual-scroll.js';
44
56
  import 'clsx';
45
57
  import 'react';
@@ -48,6 +60,8 @@ import 'class-variance-authority/types';
48
60
  import 'class-variance-authority';
49
61
  import '@radix-ui/react-popover';
50
62
  import '@radix-ui/react-tooltip';
63
+ import '@radix-ui/react-dropdown-menu';
64
+ import '@radix-ui/react-slider';
51
65
  import '@radix-ui/react-accordion';
52
66
  import 'vaul';
53
67
  import 'embla-carousel-react';