@codefast/ui 0.3.10 → 0.3.11-canary.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.
Files changed (208) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/README.md +277 -167
  3. package/dist/components/accordion.cjs +5 -5
  4. package/dist/components/accordion.d.ts +4 -4
  5. package/dist/components/accordion.js +5 -5
  6. package/dist/components/alert-dialog.cjs +9 -9
  7. package/dist/components/alert-dialog.d.ts +11 -11
  8. package/dist/components/alert-dialog.js +9 -9
  9. package/dist/components/alert.cjs +5 -5
  10. package/dist/components/alert.d.ts +5 -5
  11. package/dist/components/alert.js +5 -5
  12. package/dist/components/aspect-ratio.d.ts +2 -2
  13. package/dist/components/avatar.cjs +3 -3
  14. package/dist/components/avatar.d.ts +2 -2
  15. package/dist/components/avatar.js +3 -3
  16. package/dist/components/badge.cjs +7 -7
  17. package/dist/components/badge.d.ts +3 -3
  18. package/dist/components/badge.js +7 -7
  19. package/dist/components/breadcrumb.cjs +6 -8
  20. package/dist/components/breadcrumb.d.ts +8 -8
  21. package/dist/components/breadcrumb.js +6 -8
  22. package/dist/components/button-group.cjs +8 -8
  23. package/dist/components/button-group.d.ts +5 -5
  24. package/dist/components/button-group.js +8 -8
  25. package/dist/components/button.cjs +17 -17
  26. package/dist/components/button.d.ts +6 -6
  27. package/dist/components/button.js +17 -17
  28. package/dist/components/calendar.cjs +35 -35
  29. package/dist/components/calendar.d.ts +5 -5
  30. package/dist/components/calendar.js +35 -35
  31. package/dist/components/card.cjs +7 -7
  32. package/dist/components/card.d.ts +8 -8
  33. package/dist/components/card.js +7 -7
  34. package/dist/components/carousel.cjs +20 -20
  35. package/dist/components/carousel.d.ts +10 -10
  36. package/dist/components/carousel.js +20 -20
  37. package/dist/components/chart.cjs +42 -42
  38. package/dist/components/chart.d.ts +12 -11
  39. package/dist/components/chart.js +42 -42
  40. package/dist/components/checkbox-cards.cjs +2 -2
  41. package/dist/components/checkbox-cards.d.ts +2 -2
  42. package/dist/components/checkbox-cards.js +2 -2
  43. package/dist/components/checkbox-group.cjs +2 -2
  44. package/dist/components/checkbox-group.d.ts +2 -2
  45. package/dist/components/checkbox-group.js +2 -2
  46. package/dist/components/checkbox.cjs +1 -1
  47. package/dist/components/checkbox.d.ts +2 -2
  48. package/dist/components/checkbox.js +1 -1
  49. package/dist/components/collapsible.d.ts +2 -2
  50. package/dist/components/command.cjs +10 -10
  51. package/dist/components/command.d.ts +4 -4
  52. package/dist/components/command.js +10 -10
  53. package/dist/components/context-menu.cjs +10 -10
  54. package/dist/components/context-menu.d.ts +4 -4
  55. package/dist/components/context-menu.js +10 -10
  56. package/dist/components/dialog.cjs +12 -12
  57. package/dist/components/dialog.d.ts +10 -10
  58. package/dist/components/dialog.js +12 -12
  59. package/dist/components/drawer.cjs +9 -9
  60. package/dist/components/drawer.d.ts +9 -9
  61. package/dist/components/drawer.js +9 -9
  62. package/dist/components/dropdown-menu.cjs +10 -10
  63. package/dist/components/dropdown-menu.d.ts +4 -4
  64. package/dist/components/dropdown-menu.js +10 -10
  65. package/dist/components/empty.cjs +10 -10
  66. package/dist/components/empty.d.ts +9 -9
  67. package/dist/components/empty.js +10 -10
  68. package/dist/components/field.cjs +17 -17
  69. package/dist/components/field.d.ts +14 -14
  70. package/dist/components/field.js +17 -17
  71. package/dist/components/form.cjs +8 -8
  72. package/dist/components/form.d.ts +10 -10
  73. package/dist/components/form.js +8 -8
  74. package/dist/components/hover-card.cjs +3 -3
  75. package/dist/components/hover-card.d.ts +2 -2
  76. package/dist/components/hover-card.js +3 -3
  77. package/dist/components/input-group.cjs +20 -20
  78. package/dist/components/input-group.d.ts +15 -15
  79. package/dist/components/input-group.js +20 -20
  80. package/dist/components/input-number.cjs +7 -7
  81. package/dist/components/input-number.d.ts +2 -2
  82. package/dist/components/input-number.js +7 -7
  83. package/dist/components/input-otp.cjs +4 -4
  84. package/dist/components/input-otp.d.ts +6 -6
  85. package/dist/components/input-otp.js +4 -4
  86. package/dist/components/input-password.cjs +6 -6
  87. package/dist/components/input-password.d.ts +3 -3
  88. package/dist/components/input-password.js +6 -6
  89. package/dist/components/input-search.cjs +4 -4
  90. package/dist/components/input-search.d.ts +3 -3
  91. package/dist/components/input-search.js +4 -4
  92. package/dist/components/input.cjs +1 -1
  93. package/dist/components/input.d.ts +2 -2
  94. package/dist/components/input.js +1 -1
  95. package/dist/components/item.cjs +23 -23
  96. package/dist/components/item.d.ts +12 -12
  97. package/dist/components/item.js +23 -23
  98. package/dist/components/kbd.cjs +2 -2
  99. package/dist/components/kbd.d.ts +3 -3
  100. package/dist/components/kbd.js +2 -2
  101. package/dist/components/label.cjs +1 -1
  102. package/dist/components/label.d.ts +2 -2
  103. package/dist/components/label.js +1 -1
  104. package/dist/components/menubar.cjs +13 -13
  105. package/dist/components/menubar.d.ts +4 -4
  106. package/dist/components/menubar.js +13 -13
  107. package/dist/components/native-select.cjs +2 -2
  108. package/dist/components/native-select.d.ts +4 -4
  109. package/dist/components/native-select.js +2 -2
  110. package/dist/components/navigation-menu.cjs +10 -10
  111. package/dist/components/navigation-menu.d.ts +2 -2
  112. package/dist/components/navigation-menu.js +10 -10
  113. package/dist/components/pagination.cjs +6 -6
  114. package/dist/components/pagination.d.ts +10 -10
  115. package/dist/components/pagination.js +6 -6
  116. package/dist/components/popover.cjs +3 -3
  117. package/dist/components/popover.d.ts +3 -3
  118. package/dist/components/popover.js +3 -3
  119. package/dist/components/progress-circle.cjs +22 -22
  120. package/dist/components/progress-circle.d.ts +5 -5
  121. package/dist/components/progress-circle.js +22 -22
  122. package/dist/components/progress.cjs +2 -2
  123. package/dist/components/progress.d.ts +2 -2
  124. package/dist/components/progress.js +2 -2
  125. package/dist/components/radio-cards.cjs +3 -3
  126. package/dist/components/radio-cards.d.ts +2 -2
  127. package/dist/components/radio-cards.js +3 -3
  128. package/dist/components/radio-group.cjs +3 -3
  129. package/dist/components/radio-group.d.ts +2 -2
  130. package/dist/components/radio-group.js +3 -3
  131. package/dist/components/radio.cjs +1 -1
  132. package/dist/components/radio.d.ts +2 -2
  133. package/dist/components/radio.js +1 -1
  134. package/dist/components/resizable.cjs +3 -3
  135. package/dist/components/resizable.d.ts +2 -2
  136. package/dist/components/resizable.js +3 -3
  137. package/dist/components/scroll-area.cjs +31 -31
  138. package/dist/components/scroll-area.d.ts +5 -5
  139. package/dist/components/scroll-area.js +31 -31
  140. package/dist/components/select.cjs +9 -9
  141. package/dist/components/select.d.ts +5 -5
  142. package/dist/components/select.js +9 -9
  143. package/dist/components/separator.cjs +9 -9
  144. package/dist/components/separator.d.ts +5 -5
  145. package/dist/components/separator.js +9 -9
  146. package/dist/components/sheet.cjs +17 -17
  147. package/dist/components/sheet.d.ts +9 -9
  148. package/dist/components/sheet.js +17 -17
  149. package/dist/components/sidebar.cjs +65 -65
  150. package/dist/components/sidebar.d.ts +31 -31
  151. package/dist/components/sidebar.js +65 -65
  152. package/dist/components/skeleton.cjs +1 -1
  153. package/dist/components/skeleton.d.ts +2 -2
  154. package/dist/components/skeleton.js +1 -1
  155. package/dist/components/slider.cjs +4 -4
  156. package/dist/components/slider.d.ts +2 -2
  157. package/dist/components/slider.js +4 -4
  158. package/dist/components/sonner.cjs +4 -4
  159. package/dist/components/sonner.d.ts +3 -3
  160. package/dist/components/sonner.js +4 -4
  161. package/dist/components/spinner.cjs +5 -5
  162. package/dist/components/spinner.d.ts +2 -2
  163. package/dist/components/spinner.js +5 -5
  164. package/dist/components/switch.cjs +2 -2
  165. package/dist/components/switch.d.ts +2 -2
  166. package/dist/components/switch.js +2 -2
  167. package/dist/components/table.cjs +8 -8
  168. package/dist/components/table.d.ts +9 -9
  169. package/dist/components/table.js +8 -8
  170. package/dist/components/tabs.cjs +4 -4
  171. package/dist/components/tabs.d.ts +2 -2
  172. package/dist/components/tabs.js +4 -4
  173. package/dist/components/textarea.cjs +1 -1
  174. package/dist/components/textarea.d.ts +2 -2
  175. package/dist/components/textarea.js +1 -1
  176. package/dist/components/toggle-group.cjs +5 -5
  177. package/dist/components/toggle-group.d.ts +4 -4
  178. package/dist/components/toggle-group.js +5 -5
  179. package/dist/components/toggle.cjs +8 -8
  180. package/dist/components/toggle.d.ts +3 -3
  181. package/dist/components/toggle.js +8 -8
  182. package/dist/components/tooltip.cjs +2 -2
  183. package/dist/components/tooltip.d.ts +3 -3
  184. package/dist/components/tooltip.js +2 -2
  185. package/dist/css/preset.css +4 -4
  186. package/dist/css/style.css +3 -3
  187. package/dist/hooks/use-copy-to-clipboard.cjs +1 -1
  188. package/dist/hooks/use-copy-to-clipboard.d.ts +1 -1
  189. package/dist/hooks/use-copy-to-clipboard.js +1 -1
  190. package/dist/hooks/use-media-query.cjs +3 -3
  191. package/dist/hooks/use-media-query.js +3 -3
  192. package/dist/hooks/use-mutation-observer.d.ts +1 -1
  193. package/dist/hooks/use-pagination.cjs +1 -1
  194. package/dist/hooks/use-pagination.js +1 -1
  195. package/dist/index.d.ts +130 -130
  196. package/dist/primitives/checkbox-group.cjs +3 -3
  197. package/dist/primitives/checkbox-group.d.ts +11 -11
  198. package/dist/primitives/checkbox-group.js +3 -3
  199. package/dist/primitives/input-number.cjs +46 -46
  200. package/dist/primitives/input-number.d.ts +8 -8
  201. package/dist/primitives/input-number.js +46 -46
  202. package/dist/primitives/input.cjs +7 -7
  203. package/dist/primitives/input.d.ts +4 -4
  204. package/dist/primitives/input.js +7 -7
  205. package/dist/primitives/progress-circle.cjs +8 -8
  206. package/dist/primitives/progress-circle.d.ts +7 -7
  207. package/dist/primitives/progress-circle.js +8 -8
  208. package/package.json +38 -42
@@ -42,7 +42,7 @@ __webpack_require__.d(__webpack_exports__, {
42
42
  const jsx_runtime_namespaceObject = require("react/jsx-runtime");
43
43
  const react_context_namespaceObject = require("@radix-ui/react-context");
44
44
  const external_react_namespaceObject = require("react");
45
- const PROGRESS_CIRCLE_PROVIDER_NAME = 'ProgressCircleProvider';
45
+ const PROGRESS_CIRCLE_PROVIDER_NAME = "ProgressCircleProvider";
46
46
  const [createProgressCircleContext, createProgressCircleScope] = (0, react_context_namespaceObject.createContextScope)(PROGRESS_CIRCLE_PROVIDER_NAME);
47
47
  const [ProgressCircleContextProvider, useProgressCircleContext] = createProgressCircleContext(PROGRESS_CIRCLE_PROVIDER_NAME);
48
48
  function ProgressCircleProvider({ __scopeProgressCircle, children, formatValue, id: propertyId, max = 100, min = 0, size = 48, startAngle = -90, strokeWidth = 4, thresholds, value }) {
@@ -104,7 +104,7 @@ function ProgressCircle({ __scopeProgressCircle, ...props }) {
104
104
  ...props
105
105
  });
106
106
  }
107
- const PROGRESS_CIRCLE_SVG_NAME = 'ProgressCircleSVG';
107
+ const PROGRESS_CIRCLE_SVG_NAME = "ProgressCircleSVG";
108
108
  function ProgressCircleSVG({ __scopeProgressCircle, ...props }) {
109
109
  const { clampedValue, id, max, min, size, valueText } = useProgressCircleContext(PROGRESS_CIRCLE_SVG_NAME, __scopeProgressCircle);
110
110
  return /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("svg", {
@@ -121,7 +121,7 @@ function ProgressCircleSVG({ __scopeProgressCircle, ...props }) {
121
121
  ...props
122
122
  });
123
123
  }
124
- const PROGRESS_CIRCLE_TRACK_NAME = 'ProgressCircleTrack';
124
+ const PROGRESS_CIRCLE_TRACK_NAME = "ProgressCircleTrack";
125
125
  function ProgressCircleTrack({ __scopeProgressCircle, ...props }) {
126
126
  const { center, radius, strokeWidth, threshold } = useProgressCircleContext(PROGRESS_CIRCLE_TRACK_NAME, __scopeProgressCircle);
127
127
  return /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("circle", {
@@ -129,12 +129,12 @@ function ProgressCircleTrack({ __scopeProgressCircle, ...props }) {
129
129
  cy: center,
130
130
  fill: "transparent",
131
131
  r: radius,
132
- stroke: threshold?.background ?? 'currentColor',
132
+ stroke: threshold?.background ?? "currentColor",
133
133
  strokeWidth: strokeWidth,
134
134
  ...props
135
135
  });
136
136
  }
137
- const PROGRESS_CIRCLE_INDICATOR_NAME = 'ProgressCircleIndicator';
137
+ const PROGRESS_CIRCLE_INDICATOR_NAME = "ProgressCircleIndicator";
138
138
  function ProgressCircleIndicator({ __scopeProgressCircle, ...props }) {
139
139
  const { center, circumference, radius, rotationTransform, strokeDashoffset, strokeWidth, threshold } = useProgressCircleContext(PROGRESS_CIRCLE_INDICATOR_NAME, __scopeProgressCircle);
140
140
  return /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("circle", {
@@ -142,7 +142,7 @@ function ProgressCircleIndicator({ __scopeProgressCircle, ...props }) {
142
142
  cy: center,
143
143
  fill: "transparent",
144
144
  r: radius,
145
- stroke: threshold?.color ?? 'currentColor',
145
+ stroke: threshold?.color ?? "currentColor",
146
146
  strokeDasharray: circumference,
147
147
  strokeDashoffset: strokeDashoffset,
148
148
  strokeLinecap: "round",
@@ -151,10 +151,10 @@ function ProgressCircleIndicator({ __scopeProgressCircle, ...props }) {
151
151
  ...props
152
152
  });
153
153
  }
154
- const PROGRESS_CIRCLE_VALUE_NAME = 'ProgressCircleValue';
154
+ const PROGRESS_CIRCLE_VALUE_NAME = "ProgressCircleValue";
155
155
  function ProgressCircleValue({ __scopeProgressCircle, children, ...props }) {
156
156
  const { clampedValue, valueText } = useProgressCircleContext(PROGRESS_CIRCLE_VALUE_NAME, __scopeProgressCircle);
157
- if ('function' == typeof children) return children({
157
+ if ("function" == typeof children) return children({
158
158
  value: clampedValue,
159
159
  valueText
160
160
  });
@@ -1,5 +1,5 @@
1
- import type { Scope } from '@radix-ui/react-context';
2
- import type { ComponentProps, ReactNode } from 'react';
1
+ import type { Scope } from "@radix-ui/react-context";
2
+ import type { ComponentProps, ReactNode } from "react";
3
3
  type ScopedProps<P> = P & {
4
4
  __scopeProgressCircle?: Scope;
5
5
  };
@@ -71,35 +71,35 @@ interface ProgressCircleProviderProps {
71
71
  * ```
72
72
  */
73
73
  declare function ProgressCircleProvider({ __scopeProgressCircle, children, formatValue, id: propertyId, max, min, size, startAngle, strokeWidth, thresholds, value, }: ScopedProps<ProgressCircleProviderProps>): ReactNode;
74
- type ProgressCircleProps = ComponentProps<'div'>;
74
+ type ProgressCircleProps = ComponentProps<"div">;
75
75
  /**
76
76
  * Root component for the progress circle
77
77
  *
78
78
  * Serves as a wrapper for other progress circle components.
79
79
  */
80
80
  declare function ProgressCircle({ __scopeProgressCircle, ...props }: ScopedProps<ProgressCircleProps>): ReactNode;
81
- type ProgressCircleSVGProps = ComponentProps<'svg'>;
81
+ type ProgressCircleSVGProps = ComponentProps<"svg">;
82
82
  /**
83
83
  * SVG container for the progress circle
84
84
  *
85
85
  * Renders the SVG with accessibility attributes and supports indeterminate state.
86
86
  */
87
87
  declare function ProgressCircleSVG({ __scopeProgressCircle, ...props }: ScopedProps<ProgressCircleSVGProps>): ReactNode;
88
- type ProgressCircleTrackProps = ComponentProps<'circle'>;
88
+ type ProgressCircleTrackProps = ComponentProps<"circle">;
89
89
  /**
90
90
  * Background circle for the progress indicator
91
91
  *
92
92
  * Renders the static track of the progress circle.
93
93
  */
94
94
  declare function ProgressCircleTrack({ __scopeProgressCircle, ...props }: ScopedProps<ProgressCircleTrackProps>): ReactNode;
95
- type ProgressCircleIndicatorProps = ComponentProps<'circle'>;
95
+ type ProgressCircleIndicatorProps = ComponentProps<"circle">;
96
96
  /**
97
97
  * Foreground circle showing progress
98
98
  *
99
99
  * Renders the dynamic progress indicator with stroke dash properties.
100
100
  */
101
101
  declare function ProgressCircleIndicator({ __scopeProgressCircle, ...props }: ScopedProps<ProgressCircleIndicatorProps>): ReactNode;
102
- interface ProgressCircleValueProps extends Omit<ComponentProps<'div'>, 'children'> {
102
+ interface ProgressCircleValueProps extends Omit<ComponentProps<"div">, "children"> {
103
103
  children?: ((context: {
104
104
  value: number | undefined;
105
105
  valueText: string;
@@ -2,7 +2,7 @@
2
2
  import { jsx } from "react/jsx-runtime";
3
3
  import { createContextScope } from "@radix-ui/react-context";
4
4
  import { useId, useMemo } from "react";
5
- const PROGRESS_CIRCLE_PROVIDER_NAME = 'ProgressCircleProvider';
5
+ const PROGRESS_CIRCLE_PROVIDER_NAME = "ProgressCircleProvider";
6
6
  const [createProgressCircleContext, createProgressCircleScope] = createContextScope(PROGRESS_CIRCLE_PROVIDER_NAME);
7
7
  const [ProgressCircleContextProvider, useProgressCircleContext] = createProgressCircleContext(PROGRESS_CIRCLE_PROVIDER_NAME);
8
8
  function ProgressCircleProvider({ __scopeProgressCircle, children, formatValue, id: propertyId, max = 100, min = 0, size = 48, startAngle = -90, strokeWidth = 4, thresholds, value }) {
@@ -64,7 +64,7 @@ function ProgressCircle({ __scopeProgressCircle, ...props }) {
64
64
  ...props
65
65
  });
66
66
  }
67
- const PROGRESS_CIRCLE_SVG_NAME = 'ProgressCircleSVG';
67
+ const PROGRESS_CIRCLE_SVG_NAME = "ProgressCircleSVG";
68
68
  function ProgressCircleSVG({ __scopeProgressCircle, ...props }) {
69
69
  const { clampedValue, id, max, min, size, valueText } = useProgressCircleContext(PROGRESS_CIRCLE_SVG_NAME, __scopeProgressCircle);
70
70
  return /*#__PURE__*/ jsx("svg", {
@@ -81,7 +81,7 @@ function ProgressCircleSVG({ __scopeProgressCircle, ...props }) {
81
81
  ...props
82
82
  });
83
83
  }
84
- const PROGRESS_CIRCLE_TRACK_NAME = 'ProgressCircleTrack';
84
+ const PROGRESS_CIRCLE_TRACK_NAME = "ProgressCircleTrack";
85
85
  function ProgressCircleTrack({ __scopeProgressCircle, ...props }) {
86
86
  const { center, radius, strokeWidth, threshold } = useProgressCircleContext(PROGRESS_CIRCLE_TRACK_NAME, __scopeProgressCircle);
87
87
  return /*#__PURE__*/ jsx("circle", {
@@ -89,12 +89,12 @@ function ProgressCircleTrack({ __scopeProgressCircle, ...props }) {
89
89
  cy: center,
90
90
  fill: "transparent",
91
91
  r: radius,
92
- stroke: threshold?.background ?? 'currentColor',
92
+ stroke: threshold?.background ?? "currentColor",
93
93
  strokeWidth: strokeWidth,
94
94
  ...props
95
95
  });
96
96
  }
97
- const PROGRESS_CIRCLE_INDICATOR_NAME = 'ProgressCircleIndicator';
97
+ const PROGRESS_CIRCLE_INDICATOR_NAME = "ProgressCircleIndicator";
98
98
  function ProgressCircleIndicator({ __scopeProgressCircle, ...props }) {
99
99
  const { center, circumference, radius, rotationTransform, strokeDashoffset, strokeWidth, threshold } = useProgressCircleContext(PROGRESS_CIRCLE_INDICATOR_NAME, __scopeProgressCircle);
100
100
  return /*#__PURE__*/ jsx("circle", {
@@ -102,7 +102,7 @@ function ProgressCircleIndicator({ __scopeProgressCircle, ...props }) {
102
102
  cy: center,
103
103
  fill: "transparent",
104
104
  r: radius,
105
- stroke: threshold?.color ?? 'currentColor',
105
+ stroke: threshold?.color ?? "currentColor",
106
106
  strokeDasharray: circumference,
107
107
  strokeDashoffset: strokeDashoffset,
108
108
  strokeLinecap: "round",
@@ -111,10 +111,10 @@ function ProgressCircleIndicator({ __scopeProgressCircle, ...props }) {
111
111
  ...props
112
112
  });
113
113
  }
114
- const PROGRESS_CIRCLE_VALUE_NAME = 'ProgressCircleValue';
114
+ const PROGRESS_CIRCLE_VALUE_NAME = "ProgressCircleValue";
115
115
  function ProgressCircleValue({ __scopeProgressCircle, children, ...props }) {
116
116
  const { clampedValue, valueText } = useProgressCircleContext(PROGRESS_CIRCLE_VALUE_NAME, __scopeProgressCircle);
117
- if ('function' == typeof children) return children({
117
+ if ("function" == typeof children) return children({
118
118
  value: clampedValue,
119
119
  valueText
120
120
  });
package/package.json CHANGED
@@ -1,33 +1,42 @@
1
1
  {
2
2
  "name": "@codefast/ui",
3
- "version": "0.3.10",
3
+ "version": "0.3.11-canary.0",
4
4
  "description": "Core UI components library built with React and Tailwind CSS",
5
5
  "keywords": [
6
- "ui",
7
6
  "components",
7
+ "design-system",
8
+ "monorepo",
9
+ "radix-ui",
8
10
  "react",
9
11
  "tailwind",
10
12
  "tailwindcss",
11
- "radix-ui",
12
- "design-system",
13
13
  "typescript",
14
- "monorepo"
14
+ "ui"
15
15
  ],
16
16
  "homepage": "https://github.com/codefastlabs/codefast/tree/main/packages/ui#readme",
17
17
  "bugs": {
18
18
  "url": "https://github.com/codefastlabs/codefast/issues"
19
19
  },
20
+ "license": "MIT",
21
+ "author": "Vuong Phan <mr.thevuong@gmail.com>",
20
22
  "repository": {
21
23
  "type": "git",
22
24
  "url": "git+https://github.com/codefastlabs/codefast.git",
23
25
  "directory": "packages/ui"
24
26
  },
25
- "license": "MIT",
26
- "author": "Vuong Phan <mr.thevuong@gmail.com>",
27
+ "files": [
28
+ "dist",
29
+ "CHANGELOG.md",
30
+ "README.md",
31
+ "LICENSE"
32
+ ],
33
+ "type": "module",
27
34
  "sideEffects": [
28
35
  "./dist/css/**/*.css"
29
36
  ],
30
- "type": "module",
37
+ "main": "./dist/index.cjs",
38
+ "module": "./dist/index.js",
39
+ "types": "./dist/index.d.ts",
31
40
  "exports": {
32
41
  ".": {
33
42
  "types": "./dist/index.d.ts",
@@ -397,15 +406,9 @@
397
406
  "./css/*": "./dist/css/*",
398
407
  "./package.json": "./package.json"
399
408
  },
400
- "main": "./dist/index.cjs",
401
- "module": "./dist/index.js",
402
- "types": "./dist/index.d.ts",
403
- "files": [
404
- "dist",
405
- "CHANGELOG.md",
406
- "README.md",
407
- "LICENSE"
408
- ],
409
+ "publishConfig": {
410
+ "access": "public"
411
+ },
409
412
  "dependencies": {
410
413
  "@radix-ui/primitive": "^1.1.3",
411
414
  "@radix-ui/react-accordion": "^1.2.12",
@@ -444,40 +447,38 @@
444
447
  "date-fns": "^4.1.0",
445
448
  "embla-carousel-react": "^8.6.0",
446
449
  "input-otp": "^1.4.2",
447
- "lucide-react": "^0.563.0",
450
+ "lucide-react": "^1.7.0",
448
451
  "next-themes": "^0.4.6",
449
- "react-day-picker": "^9.13.0",
450
- "react-hook-form": "^7.71.1",
451
- "react-resizable-panels": "^4.5.9",
452
- "recharts": "^3.7.0",
452
+ "react-day-picker": "^9.14.0",
453
+ "react-hook-form": "^7.72.0",
454
+ "react-resizable-panels": "^4.7.6",
455
+ "recharts": "^3.8.1",
453
456
  "sonner": "^2.0.7",
454
457
  "tw-animate-css": "^1.4.0",
455
458
  "vaul": "^1.1.2",
456
- "@codefast/tailwind-variants": "0.3.10"
459
+ "@codefast/tailwind-variants": "0.3.11-canary.0"
457
460
  },
458
461
  "devDependencies": {
459
- "@rsbuild/plugin-react": "^1.4.5",
460
- "@rslib/core": "^0.19.4",
461
- "@swc/core": "^1.15.11",
462
+ "@rsbuild/plugin-react": "^1.4.6",
463
+ "@rslib/core": "^0.19.1",
464
+ "@swc/core": "^1.15.21",
462
465
  "@swc/jest": "^0.2.39",
463
- "@tailwindcss/postcss": "^4.1.18",
466
+ "@tailwindcss/postcss": "^4.2.2",
464
467
  "@testing-library/dom": "^10.4.1",
465
468
  "@testing-library/jest-dom": "^6.9.1",
466
469
  "@testing-library/react": "^16.3.2",
467
470
  "@testing-library/user-event": "^14.6.1",
468
471
  "@types/jest": "^30.0.0",
469
472
  "@types/jest-axe": "^3.5.9",
470
- "@types/node": "^25.2.0",
471
- "eslint": "^9.39.2",
472
- "jest": "^30.2.0",
473
+ "@types/node": "^25.5.0",
474
+ "jest": "^30.3.0",
473
475
  "jest-axe": "^10.0.0",
474
- "jest-environment-jsdom": "^30.2.0",
475
- "postcss": "^8.5.6",
476
- "tailwindcss": "^4.1.18",
476
+ "jest-environment-jsdom": "^30.3.0",
477
+ "postcss": "^8.5.8",
478
+ "tailwindcss": "^4.2.2",
477
479
  "ts-node": "^10.9.2",
478
480
  "typescript": "^5.9.3",
479
- "@codefast/eslint-config": "0.3.10",
480
- "@codefast/typescript-config": "0.3.10"
481
+ "@codefast/typescript-config": "0.3.11-canary.0"
481
482
  },
482
483
  "peerDependencies": {
483
484
  "@types/react": "^19.0",
@@ -493,19 +494,14 @@
493
494
  "optional": true
494
495
  }
495
496
  },
496
- "publishConfig": {
497
- "access": "public"
498
- },
499
497
  "scripts": {
500
498
  "build": "rslib build",
501
- "check-types": "tsc --noEmit",
502
499
  "clean": "rm -rf dist",
503
500
  "dev": "rslib build --watch",
504
- "lint": "TIMING=1 eslint --max-warnings 0",
505
- "lint:fix": "TIMING=1 eslint --max-warnings 0 --fix",
506
501
  "test": "jest",
507
502
  "test:coverage": "jest --coverage",
508
503
  "test:coverage:ci": "jest --coverage --ci",
509
- "test:watch": "jest --watch"
504
+ "test:watch": "jest --watch",
505
+ "typecheck": "tsc --noEmit"
510
506
  }
511
507
  }