@fragment-build/ui 1.14.2 → 2.0.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 (224) hide show
  1. package/README.md +27 -22
  2. package/dist/components/base/Accordion.d.ts +2 -2
  3. package/dist/components/base/Accordion.js +3 -3
  4. package/dist/components/base/Accordion.js.map +1 -1
  5. package/dist/components/base/Alert.d.ts +1 -0
  6. package/dist/components/base/Alert.js +4 -0
  7. package/dist/components/base/Alert.js.map +1 -0
  8. package/dist/components/base/Autocomplete.d.ts +3 -3
  9. package/dist/components/base/Autocomplete.js +4 -4
  10. package/dist/components/base/Autocomplete.js.map +1 -1
  11. package/dist/components/base/Avatar.d.ts +2 -2
  12. package/dist/components/base/Avatar.js +3 -3
  13. package/dist/components/base/Avatar.js.map +1 -1
  14. package/dist/components/base/Badge.d.ts +1 -1
  15. package/dist/components/base/Badge.js +2 -2
  16. package/dist/components/base/Badge.js.map +1 -1
  17. package/dist/components/base/Breadcrumbs.d.ts +2 -2
  18. package/dist/components/base/Breadcrumbs.js +3 -3
  19. package/dist/components/base/Breadcrumbs.js.map +1 -1
  20. package/dist/components/base/Button.d.ts +2 -2
  21. package/dist/components/base/Button.js +3 -3
  22. package/dist/components/base/Button.js.map +1 -1
  23. package/dist/components/base/Calendar.d.ts +1 -0
  24. package/dist/components/base/Calendar.js +4 -0
  25. package/dist/components/base/Calendar.js.map +1 -0
  26. package/dist/components/base/Card.d.ts +2 -2
  27. package/dist/components/base/Card.js +3 -3
  28. package/dist/components/base/Card.js.map +1 -1
  29. package/dist/components/base/Checkbox.d.ts +2 -2
  30. package/dist/components/base/Checkbox.js +3 -3
  31. package/dist/components/base/Checkbox.js.map +1 -1
  32. package/dist/components/base/Chip.d.ts +1 -1
  33. package/dist/components/base/Chip.js +2 -2
  34. package/dist/components/base/Chip.js.map +1 -1
  35. package/dist/components/base/CircularProgress.d.ts +1 -1
  36. package/dist/components/base/CircularProgress.js +2 -2
  37. package/dist/components/base/CircularProgress.js.map +1 -1
  38. package/dist/components/base/Code.d.ts +1 -1
  39. package/dist/components/base/Code.js +2 -2
  40. package/dist/components/base/Code.js.map +1 -1
  41. package/dist/components/base/DateInput.d.ts +1 -0
  42. package/dist/components/base/DateInput.js +4 -0
  43. package/dist/components/base/DateInput.js.map +1 -0
  44. package/dist/components/base/DatePicker.d.ts +1 -0
  45. package/dist/components/base/DatePicker.js +4 -0
  46. package/dist/components/base/DatePicker.js.map +1 -0
  47. package/dist/components/base/DateRangePicker.d.ts +1 -0
  48. package/dist/components/base/DateRangePicker.js +4 -0
  49. package/dist/components/base/DateRangePicker.js.map +1 -0
  50. package/dist/components/base/Divider.d.ts +1 -1
  51. package/dist/components/base/Divider.js +2 -2
  52. package/dist/components/base/Divider.js.map +1 -1
  53. package/dist/components/base/Drawer.d.ts +8 -0
  54. package/dist/components/base/Drawer.js +8 -0
  55. package/dist/components/base/Drawer.js.map +1 -0
  56. package/dist/components/base/Dropdown.d.ts +8 -5
  57. package/dist/components/base/Dropdown.js +6 -6
  58. package/dist/components/base/Dropdown.js.map +1 -1
  59. package/dist/components/base/Form.d.ts +0 -0
  60. package/dist/components/base/Form.js +6 -0
  61. package/dist/components/base/Form.js.map +1 -0
  62. package/dist/components/base/Image.d.ts +1 -1
  63. package/dist/components/base/Image.js +2 -2
  64. package/dist/components/base/Image.js.map +1 -1
  65. package/dist/components/base/Input.d.ts +1 -1
  66. package/dist/components/base/Input.js +2 -2
  67. package/dist/components/base/Input.js.map +1 -1
  68. package/dist/components/base/InputOtp.d.ts +1 -0
  69. package/dist/components/base/InputOtp.js +4 -0
  70. package/dist/components/base/InputOtp.js.map +1 -0
  71. package/dist/components/base/Kbd.d.ts +1 -1
  72. package/dist/components/base/Kbd.js +2 -2
  73. package/dist/components/base/Kbd.js.map +1 -1
  74. package/dist/components/base/Link.d.ts +1 -1
  75. package/dist/components/base/Link.js +2 -2
  76. package/dist/components/base/Link.js.map +1 -1
  77. package/dist/components/base/Listbox.d.ts +3 -3
  78. package/dist/components/base/Listbox.js +4 -4
  79. package/dist/components/base/Listbox.js.map +1 -1
  80. package/dist/components/base/Modal.d.ts +8 -5
  81. package/dist/components/base/Modal.js +6 -6
  82. package/dist/components/base/Modal.js.map +1 -1
  83. package/dist/components/base/Navbar.d.ts +7 -7
  84. package/dist/components/base/Navbar.js +8 -8
  85. package/dist/components/base/Navbar.js.map +1 -1
  86. package/dist/components/base/NumberInput.d.ts +1 -0
  87. package/dist/components/base/NumberInput.js +4 -0
  88. package/dist/components/base/NumberInput.js.map +1 -0
  89. package/dist/components/base/Pagination.d.ts +3 -3
  90. package/dist/components/base/Pagination.js +4 -4
  91. package/dist/components/base/Pagination.js.map +1 -1
  92. package/dist/components/base/Popover.d.ts +234 -3
  93. package/dist/components/base/Popover.js +4 -4
  94. package/dist/components/base/Popover.js.map +1 -1
  95. package/dist/components/base/Progress.d.ts +1 -1
  96. package/dist/components/base/Progress.js +2 -2
  97. package/dist/components/base/Progress.js.map +1 -1
  98. package/dist/components/base/Radio.d.ts +2 -2
  99. package/dist/components/base/Radio.js +3 -3
  100. package/dist/components/base/Radio.js.map +1 -1
  101. package/dist/components/base/RangeCalendar.d.ts +1 -0
  102. package/dist/components/base/RangeCalendar.js +4 -0
  103. package/dist/components/base/RangeCalendar.js.map +1 -0
  104. package/dist/components/base/ScrollShadow.d.ts +1 -1
  105. package/dist/components/base/ScrollShadow.js +2 -2
  106. package/dist/components/base/ScrollShadow.js.map +1 -1
  107. package/dist/components/base/Select.d.ts +3 -3
  108. package/dist/components/base/Select.js +4 -4
  109. package/dist/components/base/Select.js.map +1 -1
  110. package/dist/components/base/Skeleton.d.ts +1 -1
  111. package/dist/components/base/Skeleton.js +2 -2
  112. package/dist/components/base/Skeleton.js.map +1 -1
  113. package/dist/components/base/Slider.d.ts +1 -1
  114. package/dist/components/base/Slider.js +2 -2
  115. package/dist/components/base/Slider.js.map +1 -1
  116. package/dist/components/base/Snippet.d.ts +1 -1
  117. package/dist/components/base/Snippet.js +2 -2
  118. package/dist/components/base/Snippet.js.map +1 -1
  119. package/dist/components/base/Spacer.d.ts +1 -1
  120. package/dist/components/base/Spacer.js +2 -2
  121. package/dist/components/base/Spacer.js.map +1 -1
  122. package/dist/components/base/Spinner.d.ts +1 -1
  123. package/dist/components/base/Spinner.js +2 -2
  124. package/dist/components/base/Spinner.js.map +1 -1
  125. package/dist/components/base/Switch.d.ts +1 -1
  126. package/dist/components/base/Switch.js +2 -2
  127. package/dist/components/base/Switch.js.map +1 -1
  128. package/dist/components/base/Table.d.ts +6 -6
  129. package/dist/components/base/Table.js +7 -7
  130. package/dist/components/base/Table.js.map +1 -1
  131. package/dist/components/base/Tabs.d.ts +2 -0
  132. package/dist/components/base/Tabs.js +5 -0
  133. package/dist/components/base/Tabs.js.map +1 -0
  134. package/dist/components/base/Textarea.d.ts +1 -1
  135. package/dist/components/base/Textarea.js +2 -2
  136. package/dist/components/base/Textarea.js.map +1 -1
  137. package/dist/components/base/TimeInput.d.ts +1 -0
  138. package/dist/components/base/TimeInput.js +4 -0
  139. package/dist/components/base/TimeInput.js.map +1 -0
  140. package/dist/components/base/Toast.d.ts +2 -0
  141. package/dist/components/base/Toast.js +5 -0
  142. package/dist/components/base/Toast.js.map +1 -0
  143. package/dist/components/base/Tooltip.d.ts +1 -1
  144. package/dist/components/base/Tooltip.js +2 -2
  145. package/dist/components/base/Tooltip.js.map +1 -1
  146. package/dist/components/base/User.d.ts +1 -1
  147. package/dist/components/base/User.js +2 -2
  148. package/dist/components/base/User.js.map +1 -1
  149. package/dist/components/base/index.d.ts +48 -37
  150. package/dist/components/base/index.js +48 -37
  151. package/dist/components/base/index.js.map +1 -1
  152. package/dist/components/chart/Chart.d.ts +2 -2
  153. package/dist/components/chart/Chart.js +4 -4
  154. package/dist/components/chart/Chart.stories.d.ts +2 -2
  155. package/dist/components/chart/Chart.stories.js +40 -40
  156. package/dist/components/color-input/ColorInput.d.ts +1 -1
  157. package/dist/components/color-input/ColorInput.js +1 -1
  158. package/dist/components/color-input/ColorInput.stories.d.ts +2 -2
  159. package/dist/components/color-input/ColorInput.stories.js +3 -3
  160. package/dist/components/color-selector/ColorSelector.d.ts +1 -1
  161. package/dist/components/color-selector/ColorSelector.js +1 -1
  162. package/dist/components/color-selector/ColorSelector.stories.d.ts +2 -2
  163. package/dist/components/color-selector/ColorSelector.stories.js +4 -4
  164. package/dist/components/grid/Grid.js +1 -1
  165. package/dist/components/grid/Grid.js.map +1 -1
  166. package/dist/components/grid/Grid.stories.d.ts +2 -2
  167. package/dist/components/grid/Grid.stories.js +3 -3
  168. package/dist/components/multi-switch/MultiSwitch.d.ts +1 -1
  169. package/dist/components/multi-switch/MultiSwitch.js +2 -2
  170. package/dist/components/multi-switch/MultiSwitch.js.map +1 -1
  171. package/dist/components/multi-switch/MultiSwitch.stories.d.ts +2 -2
  172. package/dist/components/multi-switch/MultiSwitch.stories.js +3 -3
  173. package/dist/components/theme-switch/ThemeSwitch.d.ts +1 -1
  174. package/dist/components/theme-switch/ThemeSwitch.js +1 -1
  175. package/dist/components/theme-switch/ThemeSwitch.stories.d.ts +2 -2
  176. package/dist/components/theme-switch/ThemeSwitch.stories.js +3 -3
  177. package/dist/context.d.ts +26 -8
  178. package/dist/context.js +48 -56
  179. package/dist/context.js.map +1 -1
  180. package/dist/fragments/form/Form.d.ts +2 -3
  181. package/dist/fragments/form/Form.js +7 -6
  182. package/dist/fragments/form/Form.js.map +1 -1
  183. package/dist/fragments/form/FormSection.d.ts +1 -1
  184. package/dist/fragments/form/FormSection.js +4 -3
  185. package/dist/fragments/form/FormSection.js.map +1 -1
  186. package/dist/fragments/form/FormSection.stories.d.ts +2 -2
  187. package/dist/fragments/form/FormSection.stories.js +3 -3
  188. package/dist/fragments/page/PageHeader.d.ts +1 -1
  189. package/dist/fragments/page/PageHeader.js +1 -1
  190. package/dist/fragments/page/PageHeader.js.map +1 -1
  191. package/dist/fragments/page/PageHeader.stories.d.ts +2 -2
  192. package/dist/fragments/page/PageHeader.stories.js +4 -4
  193. package/dist/fragments/shell/Shell.stories.d.ts +2 -2
  194. package/dist/fragments/shell/Shell.stories.js +90 -86
  195. package/dist/fragments/shell/Shell.stories.js.map +1 -1
  196. package/dist/fragments/sidebar/Sidebar.d.ts +1 -1
  197. package/dist/fragments/sidebar/Sidebar.js +7 -6
  198. package/dist/fragments/sidebar/Sidebar.js.map +1 -1
  199. package/dist/fragments/sidebar/Sidebar.stories.d.ts +2 -2
  200. package/dist/fragments/sidebar/Sidebar.stories.js +57 -53
  201. package/dist/fragments/sidebar/Sidebar.stories.js.map +1 -1
  202. package/dist/fragments/sidebar/Sidebar.styles.d.ts +2 -82
  203. package/dist/fragments/sidebar/Sidebar.styles.js +1 -4
  204. package/dist/fragments/sidebar/Sidebar.styles.js.map +1 -1
  205. package/dist/fragments/widget/Widget.js +121 -121
  206. package/dist/fragments/widget/Widget.js.map +1 -1
  207. package/dist/fragments/widget/Widget.stories.d.ts +2 -2
  208. package/dist/fragments/widget/Widget.stories.js +8 -8
  209. package/dist/fragments/widget/Widget.stories.js.map +1 -1
  210. package/dist/index.d.ts +1 -2
  211. package/dist/index.js +1 -2
  212. package/dist/index.js.map +1 -1
  213. package/dist/provider.d.ts +3 -3
  214. package/dist/provider.js +6 -6
  215. package/dist/provider.js.map +1 -1
  216. package/dist/tailwind.plugin.d.ts +3 -11
  217. package/dist/tailwind.plugin.js +3 -20
  218. package/dist/tailwind.plugin.js.map +1 -1
  219. package/dist/withFragment.d.ts +1 -1
  220. package/dist/withFragment.js +4 -4
  221. package/package.json +26 -32
  222. package/dist/components/base/Tab.d.ts +0 -2
  223. package/dist/components/base/Tab.js +0 -5
  224. package/dist/components/base/Tab.js.map +0 -1
@@ -1,7 +1,7 @@
1
- import { Chart } from "./Chart";
1
+ import { Chart } from './Chart';
2
2
  // More on how to set up stories at: https://storybook.js.org/docs/react/writing-stories/introduction
3
3
  const meta = {
4
- title: "components/Chart",
4
+ title: 'components/Chart',
5
5
  component: Chart,
6
6
  tags: ['autodocs'],
7
7
  };
@@ -18,9 +18,9 @@ export const Area = {
18
18
  },
19
19
  series: [
20
20
  {
21
- name: "New users",
21
+ name: 'New users',
22
22
  data: [6500, 6418, 6456, 6526, 6356, 6456],
23
- color: "#1A56DB",
23
+ color: '#1A56DB',
24
24
  },
25
25
  ],
26
26
  },
@@ -31,14 +31,14 @@ export const Line = {
31
31
  height: '500px',
32
32
  series: [
33
33
  {
34
- name: "Clicks",
34
+ name: 'Clicks',
35
35
  data: [6500, 6418, 6456, 6526, 6356, 6456],
36
- color: "#1A56DB",
36
+ color: '#1A56DB',
37
37
  },
38
38
  {
39
- name: "CPC",
39
+ name: 'CPC',
40
40
  data: [6456, 6356, 6526, 6332, 6418, 6500],
41
- color: "#7E3AF2",
41
+ color: '#7E3AF2',
42
42
  },
43
43
  ],
44
44
  },
@@ -49,29 +49,29 @@ export const Column = {
49
49
  height: '500px',
50
50
  series: [
51
51
  {
52
- name: "Organic",
53
- color: "#1A56DB",
52
+ name: 'Organic',
53
+ color: '#1A56DB',
54
54
  data: [
55
- { x: "Mon", y: 231 },
56
- { x: "Tue", y: 122 },
57
- { x: "Wed", y: 63 },
58
- { x: "Thu", y: 421 },
59
- { x: "Fri", y: 122 },
60
- { x: "Sat", y: 323 },
61
- { x: "Sun", y: 111 },
55
+ { x: 'Mon', y: 231 },
56
+ { x: 'Tue', y: 122 },
57
+ { x: 'Wed', y: 63 },
58
+ { x: 'Thu', y: 421 },
59
+ { x: 'Fri', y: 122 },
60
+ { x: 'Sat', y: 323 },
61
+ { x: 'Sun', y: 111 },
62
62
  ],
63
63
  },
64
64
  {
65
- name: "Social media",
66
- color: "#FDBA8C",
65
+ name: 'Social media',
66
+ color: '#FDBA8C',
67
67
  data: [
68
- { x: "Mon", y: 232 },
69
- { x: "Tue", y: 113 },
70
- { x: "Wed", y: 341 },
71
- { x: "Thu", y: 224 },
72
- { x: "Fri", y: 522 },
73
- { x: "Sat", y: 411 },
74
- { x: "Sun", y: 243 },
68
+ { x: 'Mon', y: 232 },
69
+ { x: 'Tue', y: 113 },
70
+ { x: 'Wed', y: 341 },
71
+ { x: 'Thu', y: 224 },
72
+ { x: 'Fri', y: 522 },
73
+ { x: 'Sat', y: 411 },
74
+ { x: 'Sun', y: 243 },
75
75
  ],
76
76
  },
77
77
  ],
@@ -85,21 +85,21 @@ export const Bar = {
85
85
  tooltip: {
86
86
  y: {
87
87
  formatter: function (value) {
88
- return "$" + value;
88
+ return '$' + value;
89
89
  }
90
90
  }
91
91
  },
92
92
  },
93
93
  series: [
94
94
  {
95
- name: "Income",
96
- color: "#31C48D",
95
+ name: 'Income',
96
+ color: '#31C48D',
97
97
  data: [1420, 1620, 1820, 1420, 1650, 2120],
98
98
  },
99
99
  {
100
- name: "Expense",
100
+ name: 'Expense',
101
101
  data: [788, 810, 866, 788, 1100, 1200],
102
- color: "#F05252",
102
+ color: '#F05252',
103
103
  }
104
104
  ]
105
105
  },
@@ -109,18 +109,18 @@ export const Pie = {
109
109
  type: 'pie',
110
110
  height: '500px',
111
111
  options: {
112
- labels: ["Direct", "Organic search", "Referrals"],
112
+ labels: ['Direct', 'Organic search', 'Referrals'],
113
113
  yaxis: {
114
114
  labels: {
115
115
  formatter: function (value) {
116
- return value + "%";
116
+ return value + '%';
117
117
  },
118
118
  },
119
119
  },
120
120
  xaxis: {
121
121
  labels: {
122
122
  formatter: function (value) {
123
- return value + "%";
123
+ return value + '%';
124
124
  },
125
125
  },
126
126
  }
@@ -133,13 +133,13 @@ export const Donut = {
133
133
  type: 'donut',
134
134
  height: '500px',
135
135
  options: {
136
- labels: ["Direct", "Sponsor", "Affiliate", "Email marketing"],
136
+ labels: ['Direct', 'Sponsor', 'Affiliate', 'Email marketing'],
137
137
  plotOptions: {
138
138
  pie: {
139
139
  donut: {
140
140
  labels: {
141
141
  total: {
142
- label: "Unique visitors",
142
+ label: 'Unique visitors',
143
143
  formatter: function (w) {
144
144
  const sum = w.globals.seriesTotals.reduce((a, b) => {
145
145
  return a + b;
@@ -149,7 +149,7 @@ export const Donut = {
149
149
  },
150
150
  value: {
151
151
  formatter: function (value) {
152
- return value + "k";
152
+ return value + 'k';
153
153
  },
154
154
  }
155
155
  }
@@ -159,14 +159,14 @@ export const Donut = {
159
159
  yaxis: {
160
160
  labels: {
161
161
  formatter: function (value) {
162
- return value + "k";
162
+ return value + 'k';
163
163
  },
164
164
  },
165
165
  },
166
166
  xaxis: {
167
167
  labels: {
168
168
  formatter: function (value) {
169
- return value + "k";
169
+ return value + 'k';
170
170
  },
171
171
  },
172
172
  },
@@ -179,7 +179,7 @@ export const Radial = {
179
179
  type: 'radial',
180
180
  height: '500px',
181
181
  options: {
182
- labels: ["Done", "In progress", "To do"],
182
+ labels: ['Done', 'In progress', 'To do'],
183
183
  yaxis: {
184
184
  labels: {
185
185
  formatter: function (value) {
@@ -1,4 +1,4 @@
1
- import type { InputProps } from '@nextui-org/react';
1
+ import type { InputProps } from '@heroui/react';
2
2
  /**
3
3
  * Primary UI component for selecting a color
4
4
  */
@@ -3,7 +3,7 @@ import { useEffect, useMemo, useState } from 'react';
3
3
  import { Avatar, Input } from '../base';
4
4
  import { withFragment } from '../../withFragment';
5
5
  ;
6
- export const ColorInput = withFragment(({ defaultValue, placeholderValue, label = 'Color', errorMessage = "Please enter a valid color in hex format e.g. #f3f or #ff33ff", onValueChange, isInvalid, value: controlledValue, placeholder, ...rest }) => {
6
+ export const ColorInput = withFragment(({ defaultValue, placeholderValue, label = 'Color', errorMessage = 'Please enter a valid color in hex format e.g. #f3f or #ff33ff', onValueChange, isInvalid, value: controlledValue, placeholder, ...rest }) => {
7
7
  const [value, setValue] = useState(controlledValue || defaultValue);
8
8
  useEffect(() => onValueChange && onValueChange(value || ''), [value, onValueChange]);
9
9
  useEffect(() => setValue(controlledValue), [controlledValue]);
@@ -1,5 +1,5 @@
1
- import type { Meta, StoryObj } from "@storybook/react";
2
- import { ColorInput } from "./ColorInput";
1
+ import type { Meta, StoryObj } from '@storybook/react-vite';
2
+ import { ColorInput } from './ColorInput';
3
3
  declare const meta: Meta<typeof ColorInput>;
4
4
  export default meta;
5
5
  type Story = StoryObj<typeof meta>;
@@ -1,9 +1,9 @@
1
- import { ColorInput } from "./ColorInput";
1
+ import { ColorInput } from './ColorInput';
2
2
  // More on how to set up stories at: https://storybook.js.org/docs/react/writing-stories/introduction
3
3
  const meta = {
4
- title: "components/ColorInput",
4
+ title: 'components/ColorInput',
5
5
  component: ColorInput,
6
- tags: ["autodocs"],
6
+ tags: ['autodocs'],
7
7
  };
8
8
  export default meta;
9
9
  // More on writing stories with args: https://storybook.js.org/docs/react/writing-stories/args
@@ -1,4 +1,4 @@
1
- import { type AvatarProps } from '@nextui-org/react';
1
+ import { type AvatarProps } from '@heroui/react';
2
2
  /**
3
3
  * Primary UI component for selecting a color
4
4
  */
@@ -10,6 +10,6 @@ export const ColorSelector = withFragment(({ values, value: controlledValue, def
10
10
  return;
11
11
  setValue(controlledValue);
12
12
  }, [controlledValue]);
13
- return (_jsx("div", { className: 'flex gap-3', children: values.map((color) => (_jsx(Button, { radius: "full", size: rest.size, isIconOnly: true, disableRipple: true, className: "overflow-visible", children: _jsx(Avatar, { showFallback: true, fallback: value === color && icon ? icon : _jsx(_Fragment, {}), style: { backgroundColor: color }, classNames: { base: 'shrink-0' }, isBordered: value === color, onClick: () => setValue(color), ...rest }) }))) }));
13
+ return (_jsx("div", { className: "flex gap-3", children: values.map((color) => (_jsx(Button, { radius: "full", size: rest.size, isIconOnly: true, disableRipple: true, className: "overflow-visible", children: _jsx(Avatar, { showFallback: true, fallback: value === color && icon ? icon : _jsx(_Fragment, {}), style: { backgroundColor: color }, classNames: { base: 'shrink-0' }, isBordered: value === color, onClick: () => setValue(color), ...rest }) }))) }));
14
14
  }, 'colorSelector');
15
15
  //# sourceMappingURL=ColorSelector.js.map
@@ -1,5 +1,5 @@
1
- import type { Meta, StoryObj } from "@storybook/react";
2
- import { ColorSelector } from "./ColorSelector";
1
+ import type { Meta, StoryObj } from '@storybook/react-vite';
2
+ import { ColorSelector } from './ColorSelector';
3
3
  declare const meta: Meta<typeof ColorSelector>;
4
4
  export default meta;
5
5
  type Story = StoryObj<typeof meta>;
@@ -1,11 +1,11 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
- import { ColorSelector } from "./ColorSelector";
3
- import { IconCheck } from "@tabler/icons-react";
2
+ import { ColorSelector } from './ColorSelector';
3
+ import { IconCheck } from '@tabler/icons-react';
4
4
  // More on how to set up stories at: https://storybook.js.org/docs/react/writing-stories/introduction
5
5
  const meta = {
6
- title: "components/ColorSelector",
6
+ title: 'components/ColorSelector',
7
7
  component: ColorSelector,
8
- tags: ["autodocs"],
8
+ tags: ['autodocs'],
9
9
  };
10
10
  export default meta;
11
11
  // More on writing stories with args: https://storybook.js.org/docs/react/writing-stories/args
@@ -1,5 +1,5 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
- import { tv } from '@nextui-org/react';
2
+ import { tv } from '@heroui/react';
3
3
  const grid = tv({
4
4
  slots: {
5
5
  base: 'grid gap-6 grid-flow-row-dense',
@@ -1 +1 @@
1
- {"version":3,"file":"Grid.js","sourceRoot":"","sources":["../../../src/components/grid/Grid.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,EAAE,EAAE,MAAM,mBAAmB,CAAC;AAWvC,MAAM,IAAI,GAAG,EAAE,CAAC;IACd,KAAK,EAAE;QACL,IAAI,EAAE,gCAAgC;KACvC;IACD,QAAQ,EAAE;QACR,IAAI,EAAE;YACJ,EAAE,EAAE;gBACF,IAAI,EAAE,aAAa;aACpB;YACD,EAAE,EAAE;gBACF,IAAI,EAAE,4BAA4B;aACnC;YACD,EAAE,EAAE;gBACF,IAAI,EAAE,4CAA4C;aACnD;SACF;KACF;IACD,eAAe,EAAE;QACf,IAAI,EAAE,IAAI;KACX;CACF,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,IAAI,GAAwB,CAAC,EAAE,QAAQ,EAAE,GAAG,KAAK,EAAE,EAAE,EAAE;IAClE,MAAM,EAAE,IAAI,EAAE,GAAG,IAAI,CAAC,KAAK,CAAC,CAAC;IAE7B,OAAO,cAAK,SAAS,EAAE,IAAI,EAAE,YAAG,QAAQ,GAAO,CAAC;AAClD,CAAC,CAAC"}
1
+ {"version":3,"file":"Grid.js","sourceRoot":"","sources":["../../../src/components/grid/Grid.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,EAAE,EAAE,MAAM,eAAe,CAAC;AAWnC,MAAM,IAAI,GAAG,EAAE,CAAC;IACd,KAAK,EAAE;QACL,IAAI,EAAE,gCAAgC;KACvC;IACD,QAAQ,EAAE;QACR,IAAI,EAAE;YACJ,EAAE,EAAE;gBACF,IAAI,EAAE,aAAa;aACpB;YACD,EAAE,EAAE;gBACF,IAAI,EAAE,4BAA4B;aACnC;YACD,EAAE,EAAE;gBACF,IAAI,EAAE,4CAA4C;aACnD;SACF;KACF;IACD,eAAe,EAAE;QACf,IAAI,EAAE,IAAI;KACX;CACF,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,IAAI,GAAwB,CAAC,EAAE,QAAQ,EAAE,GAAG,KAAK,EAAE,EAAE,EAAE;IAClE,MAAM,EAAE,IAAI,EAAE,GAAG,IAAI,CAAC,KAAK,CAAC,CAAC;IAE7B,OAAO,cAAK,SAAS,EAAE,IAAI,EAAE,YAAG,QAAQ,GAAO,CAAC;AAClD,CAAC,CAAC"}
@@ -1,5 +1,5 @@
1
- import type { Meta, StoryObj } from "@storybook/react";
2
- import { Grid } from "./Grid";
1
+ import type { Meta, StoryObj } from '@storybook/react-vite';
2
+ import { Grid } from './Grid';
3
3
  declare const meta: Meta<typeof Grid>;
4
4
  export default meta;
5
5
  type Story = StoryObj<typeof meta>;
@@ -1,10 +1,10 @@
1
1
  import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
2
- import { Grid } from "./Grid";
2
+ import { Grid } from './Grid';
3
3
  // More on how to set up stories at: https://storybook.js.org/docs/react/writing-stories/introduction
4
4
  const meta = {
5
- title: "components/Grid",
5
+ title: 'components/Grid',
6
6
  component: Grid,
7
- tags: ["autodocs"],
7
+ tags: ['autodocs'],
8
8
  };
9
9
  export default meta;
10
10
  // More on writing stories with args: https://storybook.js.org/docs/react/writing-stories/args
@@ -1,4 +1,4 @@
1
- import { ButtonGroupProps } from '@nextui-org/react';
1
+ import { ButtonGroupProps } from '@heroui/react';
2
2
  /**
3
3
  * Primary UI component for selecting a color
4
4
  */
@@ -3,7 +3,7 @@ import { forwardRef, useEffect, useState } from 'react';
3
3
  import { Button, ButtonGroup } from '../base';
4
4
  import { withFragment } from '../../withFragment';
5
5
  import { IconCheck, IconSlash, IconX } from '@tabler/icons-react';
6
- import { tv } from '@nextui-org/react';
6
+ import { tv } from '@heroui/react';
7
7
  const multiSwitch = tv({
8
8
  slots: {
9
9
  button: 'min-w-0',
@@ -26,6 +26,6 @@ export const MultiSwitch = withFragment(forwardRef(({ defaultValue, onValueChang
26
26
  const [value, setValue] = useState(defaultValue ?? 0);
27
27
  const { button } = multiSwitch({ size });
28
28
  useEffect(() => onValueChange && onValueChange(value), [value, onValueChange]);
29
- return (_jsxs(_Fragment, { children: [_jsx("input", { ref: ref, value: value, type: "number", className: "hidden", min: 0, max: 2, required: true }), _jsxs(ButtonGroup, { size: size, ...props, children: [_jsx(Button, { className: button(), onClick: () => setValue(0), ...value === 0 ? { color: 'danger' } : {}, children: _jsx(IconX, { size: 20 }) }), _jsx(Button, { className: button(), onClick: () => setValue(1), ...value === 1 ? { color: 'default', variant: 'solid' } : {}, children: _jsx(IconSlash, { size: 20 }) }), _jsx(Button, { className: button(), onClick: () => setValue(2), ...value === 2 ? { color: 'success' } : {}, children: _jsx(IconCheck, { size: 20 }) })] })] }));
29
+ return (_jsxs(_Fragment, { children: [_jsx("input", { ref: ref, value: value, type: "number", className: "hidden", min: 0, max: 2, required: true }), _jsxs(ButtonGroup, { size: size, ...props, children: [_jsx(Button, { className: button(), onPress: () => setValue(0), ...value === 0 ? { color: 'danger' } : {}, children: _jsx(IconX, { size: 20 }) }), _jsx(Button, { className: button(), onPress: () => setValue(1), ...value === 1 ? { color: 'default', variant: 'solid' } : {}, children: _jsx(IconSlash, { size: 20 }) }), _jsx(Button, { className: button(), onPress: () => setValue(2), ...value === 2 ? { color: 'success' } : {}, children: _jsx(IconCheck, { size: 20 }) })] })] }));
30
30
  }), 'multiSwitch');
31
31
  //# sourceMappingURL=MultiSwitch.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"MultiSwitch.js","sourceRoot":"","sources":["../../../src/components/multi-switch/MultiSwitch.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxD,OAAO,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAC9C,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAClD,OAAO,EAAE,SAAS,EAAE,SAAS,EAAE,KAAK,EAAE,MAAM,qBAAqB,CAAC;AAClE,OAAO,EAAoB,EAAE,EAAE,MAAM,mBAAmB,CAAC;AAWzD,MAAM,WAAW,GAAG,EAAE,CAAC;IACrB,KAAK,EAAE;QACL,MAAM,EAAE,SAAS;KAClB;IACD,QAAQ,EAAE;QACR,IAAI,EAAE;YACJ,EAAE,EAAE;gBACF,MAAM,EAAE,MAAM;aACf;YACD,EAAE,EAAE;gBACF,MAAM,EAAE,MAAM;aACf;YACD,EAAE,EAAE;gBACF,MAAM,EAAE,MAAM;aACf;SACF;KACF;CACF,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,WAAW,GAAG,YAAY,CAAC,UAAU,CAAqC,CAAC,EACtF,YAAY,EACZ,aAAa,EACb,IAAI,GAAG,IAAI,EACX,GAAG,KAAK,EACT,EAAE,GAAG,EAAE,EAAE;IACR,MAAM,CAAC,KAAK,EAAE,QAAQ,CAAC,GAAG,QAAQ,CAAC,YAAY,IAAI,CAAC,CAAC,CAA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
+ import { MultiSwitch } from './MultiSwitch';
3
3
  declare const meta: Meta<typeof MultiSwitch>;
4
4
  export default meta;
5
5
  type Story = StoryObj<typeof meta>;
@@ -1,9 +1,9 @@
1
- import { MultiSwitch } from "./MultiSwitch";
1
+ import { MultiSwitch } from './MultiSwitch';
2
2
  // More on how to set up stories at: https://storybook.js.org/docs/react/writing-stories/introduction
3
3
  const meta = {
4
- title: "components/MultiSwitch",
4
+ title: 'components/MultiSwitch',
5
5
  component: MultiSwitch,
6
- tags: ["autodocs"],
6
+ tags: ['autodocs'],
7
7
  };
8
8
  export default meta;
9
9
  // More on writing stories with args: https://storybook.js.org/docs/react/writing-stories/args
@@ -1,4 +1,4 @@
1
- import { ButtonProps } from '@nextui-org/react';
1
+ import { ButtonProps } from '@heroui/react';
2
2
  /**
3
3
  * Primary UI component for selecting a color
4
4
  */
@@ -11,6 +11,6 @@ export const ThemeSwitch = (props) => {
11
11
  }, []);
12
12
  if (!mounted)
13
13
  return null;
14
- return (_jsx(Button, { isIconOnly: true, size: "sm", onClick: () => setTheme(theme === 'light' ? 'dark' : 'light'), ...props, children: theme === 'light' ? _jsx(IconSun, { size: 18 }) : _jsx(IconMoon, { size: 18 }) }));
14
+ return (_jsx(Button, { isIconOnly: true, size: "sm", onPress: () => setTheme(theme === 'light' ? 'dark' : 'light'), ...props, children: theme === 'light' ? _jsx(IconSun, { size: 18 }) : _jsx(IconMoon, { size: 18 }) }));
15
15
  };
16
16
  //# sourceMappingURL=ThemeSwitch.js.map
@@ -1,5 +1,5 @@
1
- import type { Meta, StoryObj } from "@storybook/react";
2
- import { ThemeSwitch } from "./ThemeSwitch";
1
+ import type { Meta, StoryObj } from '@storybook/react-vite';
2
+ import { ThemeSwitch } from './ThemeSwitch';
3
3
  declare const meta: Meta<typeof ThemeSwitch>;
4
4
  export default meta;
5
5
  type Story = StoryObj<typeof meta>;
@@ -1,9 +1,9 @@
1
- import { ThemeSwitch } from "./ThemeSwitch";
1
+ import { ThemeSwitch } from './ThemeSwitch';
2
2
  // More on how to set up stories at: https://storybook.js.org/docs/react/writing-stories/introduction
3
3
  const meta = {
4
- title: "components/ThemeSwitch",
4
+ title: 'components/ThemeSwitch',
5
5
  component: ThemeSwitch,
6
- tags: ["autodocs"],
6
+ tags: ['autodocs'],
7
7
  };
8
8
  export default meta;
9
9
  // More on writing stories with args: https://storybook.js.org/docs/react/writing-stories/args
package/dist/context.d.ts CHANGED
@@ -1,19 +1,22 @@
1
- import { AccordionItemProps, AccordionProps, AutocompleteItemProps, AutocompleteProps, AutocompleteSectionProps, AvatarGroupProps, AvatarProps, BadgeProps, BreadcrumbsProps, ButtonGroupProps, ButtonProps, CardProps, CheckboxGroupProps, CheckboxProps, ChipProps, CircularProgressProps, CodeProps, DividerProps, DropdownItemProps, DropdownMenuProps, DropdownProps, DropdownSectionProps, DropdownTriggerProps, ImageProps, InputProps, KbdProps, LinkProps, ListboxItemProps, ListboxProps, ListboxSectionProps, ModalBodyProps, ModalContentProps, ModalFooterProps, ModalHeaderProps, ModalProps, NavbarBrandProps, NavbarContentProps, NavbarItemProps, NavbarMenuItemProps, NavbarMenuToggleProps, NavbarProps, PaginationCursorProps, PaginationItemProps, PaginationProps, PopoverContentProps, PopoverProps, PopoverTriggerProps, ProgressProps, RadioGroupProps, RadioProps, ScrollShadowProps, SelectItemProps, SelectProps, SelectSectionProps, SkeletonProps, SliderProps, SnippetProps, SpacerProps, SpinnerProps, SwitchProps, TabItemProps, TableBodyProps, TableCellProps, TableColumnProps, TableHeaderProps, TableProps, TableRowProps, TabsProps, TextAreaProps, TooltipProps, UserProps } from "@nextui-org/react";
2
- import type { Props as ApexChartProps } from "react-apexcharts";
3
- import { ChartProps, ColorInputProps, ColorSelectorProps, MultiSwitchProps } from "./components";
1
+ import { AccordionItemProps, AccordionProps, AlertProps, AutocompleteItemProps, AutocompleteProps, AutocompleteSectionProps, AvatarGroupProps, AvatarProps, BadgeProps, BreadcrumbsProps, ButtonGroupProps, ButtonProps, CalendarProps, CardProps, CheckboxGroupProps, CheckboxProps, ChipProps, CircularProgressProps, CodeProps, DateInputProps, DatePickerProps, DateRangePickerProps, DividerProps, DrawerBodyProps, DrawerContentProps, DrawerFooterProps, DrawerHeaderProps, DrawerProps, DropdownItemProps, DropdownMenuProps, DropdownProps, DropdownSectionProps, DropdownTriggerProps, ImageProps, InputOtpProps, InputProps, KbdProps, LinkProps, ListboxItemProps, ListboxProps, ListboxSectionProps, ModalBodyProps, ModalContentProps, ModalFooterProps, ModalHeaderProps, ModalProps, NavbarBrandProps, NavbarContentProps, NavbarItemProps, NavbarMenuItemProps, NavbarMenuToggleProps, NavbarProps, NumberInputProps, PaginationCursorProps, PaginationItemProps, PaginationProps, PopoverContentProps, PopoverProps, PopoverTriggerProps, ProgressProps, RadioGroupProps, RadioProps, RangeCalendarProps, ScrollShadowProps, SelectItemProps, SelectProps, SelectSectionProps, SkeletonProps, SliderProps, SnippetProps, SpacerProps, SpinnerProps, SwitchProps, TabItemProps, TableBodyProps, TableCellProps, TableColumnProps, TableHeaderProps, TableProps, TableRowProps, TabsProps, TextAreaProps, TimeInputProps, ToastProps, TooltipProps, UserProps } from '@heroui/react';
2
+ import type { Props as ApexChartProps } from 'react-apexcharts';
3
+ import { ChartProps, ColorInputProps, ColorSelectorProps, MultiSwitchProps } from './components';
4
+ import { FormProps, FormSectionProps } from './fragments';
4
5
  export interface FragmentUIContext {
5
6
  defaults: {
6
- avatar?: Partial<AvatarProps>;
7
- avatarGroup?: Partial<AvatarGroupProps>;
8
7
  accordion?: Partial<AccordionProps>;
9
8
  accordionItem?: Partial<AccordionItemProps>;
9
+ alert?: Partial<AlertProps>;
10
10
  autocomplete?: Partial<AutocompleteProps>;
11
11
  autocompleteItem?: Partial<AutocompleteItemProps>;
12
12
  autocompleteSection?: Partial<AutocompleteSectionProps>;
13
+ avatar?: Partial<AvatarProps>;
14
+ avatarGroup?: Partial<AvatarGroupProps>;
13
15
  badge?: Partial<BadgeProps>;
16
+ breadcrumbs?: Partial<BreadcrumbsProps>;
14
17
  button?: Partial<ButtonProps>;
15
18
  buttonGroup?: Partial<ButtonGroupProps>;
16
- breadcrumbs?: Partial<BreadcrumbsProps>;
19
+ calendar?: Partial<CalendarProps>;
17
20
  card?: Partial<CardProps>;
18
21
  chart?: Partial<Record<ChartProps['type'], Partial<Pick<ApexChartProps, 'options' | 'series'>>>>;
19
22
  checkbox?: Partial<CheckboxProps>;
@@ -23,14 +26,25 @@ export interface FragmentUIContext {
23
26
  code?: Partial<CodeProps>;
24
27
  colorInput?: Partial<ColorInputProps>;
25
28
  colorSelector?: Partial<ColorSelectorProps>;
29
+ dateInput?: Partial<DateInputProps>;
30
+ datePicker?: Partial<DatePickerProps>;
31
+ dateRangePicker?: Partial<DateRangePickerProps>;
26
32
  divider?: Partial<DividerProps>;
33
+ drawer?: Partial<DrawerProps>;
34
+ drawerBody?: Partial<DrawerBodyProps>;
35
+ drawerContent?: Partial<DrawerContentProps>;
36
+ drawerFooter?: Partial<DrawerFooterProps>;
37
+ drawerHeader?: Partial<DrawerHeaderProps>;
27
38
  dropdown?: Partial<DropdownProps>;
28
39
  dropdownItem?: Partial<DropdownItemProps>;
29
40
  dropdownMenu?: Partial<DropdownMenuProps>;
30
41
  dropdownSection?: Partial<DropdownSectionProps>;
31
42
  dropdownTrigger?: Partial<DropdownTriggerProps>;
43
+ form?: Partial<FormProps>;
44
+ formSection?: Partial<FormSectionProps>;
32
45
  image?: Partial<ImageProps>;
33
46
  input?: Partial<InputProps>;
47
+ inputOtp?: Partial<InputOtpProps>;
34
48
  kbd?: Partial<KbdProps>;
35
49
  link?: Partial<LinkProps>;
36
50
  listbox?: Partial<ListboxProps>;
@@ -48,6 +62,7 @@ export interface FragmentUIContext {
48
62
  navbarItem?: Partial<NavbarItemProps>;
49
63
  navbarMenuItem?: Partial<NavbarMenuItemProps>;
50
64
  navbarMenuToggle?: Partial<NavbarMenuToggleProps>;
65
+ numberInput?: Partial<NumberInputProps>;
51
66
  pagination?: Partial<PaginationProps>;
52
67
  paginationItem?: Partial<PaginationItemProps>;
53
68
  paginationCursor?: Partial<PaginationCursorProps>;
@@ -57,16 +72,17 @@ export interface FragmentUIContext {
57
72
  progress?: Partial<ProgressProps>;
58
73
  radio?: Partial<RadioProps>;
59
74
  radioGroup?: Partial<RadioGroupProps>;
75
+ rangeCalendar?: Partial<RangeCalendarProps>;
76
+ scrollShadow?: Partial<ScrollShadowProps>;
60
77
  select?: Partial<SelectProps>;
61
78
  selectItem?: Partial<SelectItemProps>;
62
79
  selectSection?: Partial<SelectSectionProps>;
63
80
  skeleton?: Partial<SkeletonProps>;
81
+ slider?: Partial<SliderProps>;
64
82
  snippet?: Partial<SnippetProps>;
65
- scrollShadow?: Partial<ScrollShadowProps>;
66
83
  spacer?: Partial<SpacerProps>;
67
84
  spinner?: Partial<SpinnerProps>;
68
85
  switch?: Partial<SwitchProps>;
69
- slider?: Partial<SliderProps>;
70
86
  table?: Partial<TableProps>;
71
87
  tableBody?: Partial<TableBodyProps<unknown>>;
72
88
  tableCell?: Partial<TableCellProps>;
@@ -76,6 +92,8 @@ export interface FragmentUIContext {
76
92
  tab?: Partial<TabItemProps>;
77
93
  tabs?: Partial<TabsProps>;
78
94
  textArea?: Partial<TextAreaProps>;
95
+ timeInput?: Partial<TimeInputProps>;
96
+ toast?: Partial<ToastProps>;
79
97
  tooltip?: Partial<TooltipProps>;
80
98
  user?: Partial<UserProps>;
81
99
  };