@ansh-ui/react 0.2.0 → 0.3.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 (72) hide show
  1. package/dist/{chunk-RHTLNSVW.cjs → chunk-3SWO2M33.cjs} +7 -7
  2. package/dist/chunk-3SWO2M33.cjs.map +1 -0
  3. package/dist/{chunk-HO2YSF5O.js → chunk-742E5FQS.js} +3 -3
  4. package/dist/chunk-742E5FQS.js.map +1 -0
  5. package/dist/{chunk-EGG4CP7C.js → chunk-BQJ6H3HC.js} +3 -2
  6. package/dist/chunk-BQJ6H3HC.js.map +1 -0
  7. package/dist/{chunk-LDCZQP3R.js → chunk-CWYBOVCZ.js} +3 -3
  8. package/dist/{chunk-LDCZQP3R.js.map → chunk-CWYBOVCZ.js.map} +1 -1
  9. package/dist/{chunk-AVPEA5PB.cjs → chunk-IZ6T7LO3.cjs} +4 -4
  10. package/dist/{chunk-AVPEA5PB.cjs.map → chunk-IZ6T7LO3.cjs.map} +1 -1
  11. package/dist/{chunk-C32LKF23.cjs → chunk-KTLTYHAT.cjs} +3 -3
  12. package/dist/chunk-KTLTYHAT.cjs.map +1 -0
  13. package/dist/{chunk-IBXLC5IE.js → chunk-P5MRISBP.js} +19 -3
  14. package/dist/chunk-P5MRISBP.js.map +1 -0
  15. package/dist/{chunk-WGYNCSTP.cjs → chunk-PUW6BTPQ.cjs} +3 -2
  16. package/dist/chunk-PUW6BTPQ.cjs.map +1 -0
  17. package/dist/{chunk-T4AK2KLM.js → chunk-PVDQPVYF.js} +3 -3
  18. package/dist/{chunk-T4AK2KLM.js.map → chunk-PVDQPVYF.js.map} +1 -1
  19. package/dist/{chunk-6VRF7X5C.cjs → chunk-TEPQGFR4.cjs} +19 -2
  20. package/dist/chunk-TEPQGFR4.cjs.map +1 -0
  21. package/dist/{chunk-QO3E7TJS.js → chunk-WNWGYXJY.js} +4 -4
  22. package/dist/chunk-WNWGYXJY.js.map +1 -0
  23. package/dist/{chunk-C5JG6TMM.cjs → chunk-YACOHFYJ.cjs} +27 -27
  24. package/dist/{chunk-C5JG6TMM.cjs.map → chunk-YACOHFYJ.cjs.map} +1 -1
  25. package/dist/data.d.cts +2 -1
  26. package/dist/data.d.ts +2 -1
  27. package/dist/form.cjs +37 -37
  28. package/dist/form.d.cts +2 -1
  29. package/dist/form.d.ts +2 -1
  30. package/dist/form.js +2 -2
  31. package/dist/index.cjs +641 -110
  32. package/dist/index.cjs.map +1 -1
  33. package/dist/index.d.cts +220 -7
  34. package/dist/index.d.ts +220 -7
  35. package/dist/index.js +526 -11
  36. package/dist/index.js.map +1 -1
  37. package/dist/layout.cjs +13 -13
  38. package/dist/layout.d.cts +11 -2
  39. package/dist/layout.d.ts +11 -2
  40. package/dist/layout.js +1 -1
  41. package/dist/{motion-CQmCq6_k.d.ts → motion-DoT_sTl1.d.ts} +3 -2
  42. package/dist/{motion-CSX4g2N8.d.cts → motion-DsQPOsTT.d.cts} +3 -2
  43. package/dist/motion.cjs +19 -19
  44. package/dist/motion.d.cts +2 -2
  45. package/dist/motion.d.ts +2 -2
  46. package/dist/motion.js +2 -2
  47. package/dist/navigation.d.cts +3 -2
  48. package/dist/navigation.d.ts +3 -2
  49. package/dist/overlay.cjs +16 -16
  50. package/dist/overlay.d.cts +3 -2
  51. package/dist/overlay.d.ts +3 -2
  52. package/dist/overlay.js +2 -2
  53. package/dist/{position-DVScKcaa.d.cts → position-CW6cGpSF.d.cts} +2 -1
  54. package/dist/{position-DVScKcaa.d.ts → position-CW6cGpSF.d.ts} +2 -1
  55. package/dist/primitives.cjs +25 -21
  56. package/dist/primitives.d.cts +5 -4
  57. package/dist/primitives.d.ts +5 -4
  58. package/dist/primitives.js +2 -2
  59. package/dist/{sidebar-D-PafAXw.d.cts → sidebar-Dyt67t2z.d.cts} +2 -1
  60. package/dist/{sidebar-D-PafAXw.d.ts → sidebar-Dyt67t2z.d.ts} +2 -1
  61. package/dist/styles.css +464 -0
  62. package/dist/{use-observers-B9qtimrk.d.cts → use-observers-DvA7hSz4.d.cts} +10 -1
  63. package/dist/{use-observers-B9qtimrk.d.ts → use-observers-DvA7hSz4.d.ts} +10 -1
  64. package/package.json +3 -3
  65. package/dist/chunk-6VRF7X5C.cjs.map +0 -1
  66. package/dist/chunk-C32LKF23.cjs.map +0 -1
  67. package/dist/chunk-EGG4CP7C.js.map +0 -1
  68. package/dist/chunk-HO2YSF5O.js.map +0 -1
  69. package/dist/chunk-IBXLC5IE.js.map +0 -1
  70. package/dist/chunk-QO3E7TJS.js.map +0 -1
  71. package/dist/chunk-RHTLNSVW.cjs.map +0 -1
  72. package/dist/chunk-WGYNCSTP.cjs.map +0 -1
package/dist/form.cjs CHANGED
@@ -1,153 +1,153 @@
1
1
  'use client';
2
2
  'use strict';
3
3
 
4
- var chunkRHTLNSVW_cjs = require('./chunk-RHTLNSVW.cjs');
4
+ var chunk3SWO2M33_cjs = require('./chunk-3SWO2M33.cjs');
5
5
  require('./chunk-XMXECSQO.cjs');
6
6
  require('./chunk-PO5DU3FU.cjs');
7
- require('./chunk-6VRF7X5C.cjs');
7
+ require('./chunk-TEPQGFR4.cjs');
8
8
  require('./chunk-SFU5EPSN.cjs');
9
9
 
10
10
 
11
11
 
12
12
  Object.defineProperty(exports, "Calendar", {
13
13
  enumerable: true,
14
- get: function () { return chunkRHTLNSVW_cjs.Calendar; }
14
+ get: function () { return chunk3SWO2M33_cjs.Calendar; }
15
15
  });
16
16
  Object.defineProperty(exports, "Checkbox", {
17
17
  enumerable: true,
18
- get: function () { return chunkRHTLNSVW_cjs.Checkbox; }
18
+ get: function () { return chunk3SWO2M33_cjs.Checkbox; }
19
19
  });
20
20
  Object.defineProperty(exports, "ChoiceCard", {
21
21
  enumerable: true,
22
- get: function () { return chunkRHTLNSVW_cjs.ChoiceCard; }
22
+ get: function () { return chunk3SWO2M33_cjs.ChoiceCard; }
23
23
  });
24
24
  Object.defineProperty(exports, "ColorPicker", {
25
25
  enumerable: true,
26
- get: function () { return chunkRHTLNSVW_cjs.ColorPicker; }
26
+ get: function () { return chunk3SWO2M33_cjs.ColorPicker; }
27
27
  });
28
28
  Object.defineProperty(exports, "Combobox", {
29
29
  enumerable: true,
30
- get: function () { return chunkRHTLNSVW_cjs.Combobox; }
30
+ get: function () { return chunk3SWO2M33_cjs.Combobox; }
31
31
  });
32
32
  Object.defineProperty(exports, "DatePicker", {
33
33
  enumerable: true,
34
- get: function () { return chunkRHTLNSVW_cjs.DatePicker; }
34
+ get: function () { return chunk3SWO2M33_cjs.DatePicker; }
35
35
  });
36
36
  Object.defineProperty(exports, "DateRangePicker", {
37
37
  enumerable: true,
38
- get: function () { return chunkRHTLNSVW_cjs.DateRangePicker; }
38
+ get: function () { return chunk3SWO2M33_cjs.DateRangePicker; }
39
39
  });
40
40
  Object.defineProperty(exports, "Dropzone", {
41
41
  enumerable: true,
42
- get: function () { return chunkRHTLNSVW_cjs.Dropzone; }
42
+ get: function () { return chunk3SWO2M33_cjs.Dropzone; }
43
43
  });
44
44
  Object.defineProperty(exports, "Field", {
45
45
  enumerable: true,
46
- get: function () { return chunkRHTLNSVW_cjs.Field; }
46
+ get: function () { return chunk3SWO2M33_cjs.Field; }
47
47
  });
48
48
  Object.defineProperty(exports, "Fieldset", {
49
49
  enumerable: true,
50
- get: function () { return chunkRHTLNSVW_cjs.Fieldset; }
50
+ get: function () { return chunk3SWO2M33_cjs.Fieldset; }
51
51
  });
52
52
  Object.defineProperty(exports, "Input", {
53
53
  enumerable: true,
54
- get: function () { return chunkRHTLNSVW_cjs.Input; }
54
+ get: function () { return chunk3SWO2M33_cjs.Input; }
55
55
  });
56
56
  Object.defineProperty(exports, "NumberInput", {
57
57
  enumerable: true,
58
- get: function () { return chunkRHTLNSVW_cjs.NumberInput; }
58
+ get: function () { return chunk3SWO2M33_cjs.NumberInput; }
59
59
  });
60
60
  Object.defineProperty(exports, "OptionList", {
61
61
  enumerable: true,
62
- get: function () { return chunkRHTLNSVW_cjs.OptionList; }
62
+ get: function () { return chunk3SWO2M33_cjs.OptionList; }
63
63
  });
64
64
  Object.defineProperty(exports, "PinInput", {
65
65
  enumerable: true,
66
- get: function () { return chunkRHTLNSVW_cjs.PinInput; }
66
+ get: function () { return chunk3SWO2M33_cjs.PinInput; }
67
67
  });
68
68
  Object.defineProperty(exports, "Radio", {
69
69
  enumerable: true,
70
- get: function () { return chunkRHTLNSVW_cjs.Radio; }
70
+ get: function () { return chunk3SWO2M33_cjs.Radio; }
71
71
  });
72
72
  Object.defineProperty(exports, "RadioGroup", {
73
73
  enumerable: true,
74
- get: function () { return chunkRHTLNSVW_cjs.RadioGroup; }
74
+ get: function () { return chunk3SWO2M33_cjs.RadioGroup; }
75
75
  });
76
76
  Object.defineProperty(exports, "RangeSlider", {
77
77
  enumerable: true,
78
- get: function () { return chunkRHTLNSVW_cjs.RangeSlider; }
78
+ get: function () { return chunk3SWO2M33_cjs.RangeSlider; }
79
79
  });
80
80
  Object.defineProperty(exports, "Rating", {
81
81
  enumerable: true,
82
- get: function () { return chunkRHTLNSVW_cjs.Rating; }
82
+ get: function () { return chunk3SWO2M33_cjs.Rating; }
83
83
  });
84
84
  Object.defineProperty(exports, "Select", {
85
85
  enumerable: true,
86
- get: function () { return chunkRHTLNSVW_cjs.Select; }
86
+ get: function () { return chunk3SWO2M33_cjs.Select; }
87
87
  });
88
88
  Object.defineProperty(exports, "Slider", {
89
89
  enumerable: true,
90
- get: function () { return chunkRHTLNSVW_cjs.Slider; }
90
+ get: function () { return chunk3SWO2M33_cjs.Slider; }
91
91
  });
92
92
  Object.defineProperty(exports, "Switch", {
93
93
  enumerable: true,
94
- get: function () { return chunkRHTLNSVW_cjs.Switch; }
94
+ get: function () { return chunk3SWO2M33_cjs.Switch; }
95
95
  });
96
96
  Object.defineProperty(exports, "TagsInput", {
97
97
  enumerable: true,
98
- get: function () { return chunkRHTLNSVW_cjs.TagsInput; }
98
+ get: function () { return chunk3SWO2M33_cjs.TagsInput; }
99
99
  });
100
100
  Object.defineProperty(exports, "Textarea", {
101
101
  enumerable: true,
102
- get: function () { return chunkRHTLNSVW_cjs.Textarea; }
102
+ get: function () { return chunk3SWO2M33_cjs.Textarea; }
103
103
  });
104
104
  Object.defineProperty(exports, "VisuallyHidden", {
105
105
  enumerable: true,
106
- get: function () { return chunkRHTLNSVW_cjs.VisuallyHidden; }
106
+ get: function () { return chunk3SWO2M33_cjs.VisuallyHidden; }
107
107
  });
108
108
  Object.defineProperty(exports, "addDays", {
109
109
  enumerable: true,
110
- get: function () { return chunkRHTLNSVW_cjs.addDays; }
110
+ get: function () { return chunk3SWO2M33_cjs.addDays; }
111
111
  });
112
112
  Object.defineProperty(exports, "addMonths", {
113
113
  enumerable: true,
114
- get: function () { return chunkRHTLNSVW_cjs.addMonths; }
114
+ get: function () { return chunk3SWO2M33_cjs.addMonths; }
115
115
  });
116
116
  Object.defineProperty(exports, "filterOptions", {
117
117
  enumerable: true,
118
- get: function () { return chunkRHTLNSVW_cjs.filterOptions; }
118
+ get: function () { return chunk3SWO2M33_cjs.filterOptions; }
119
119
  });
120
120
  Object.defineProperty(exports, "firstEnabled", {
121
121
  enumerable: true,
122
- get: function () { return chunkRHTLNSVW_cjs.firstEnabled; }
122
+ get: function () { return chunk3SWO2M33_cjs.firstEnabled; }
123
123
  });
124
124
  Object.defineProperty(exports, "isSameDay", {
125
125
  enumerable: true,
126
- get: function () { return chunkRHTLNSVW_cjs.isSameDay; }
126
+ get: function () { return chunk3SWO2M33_cjs.isSameDay; }
127
127
  });
128
128
  Object.defineProperty(exports, "scoreOption", {
129
129
  enumerable: true,
130
- get: function () { return chunkRHTLNSVW_cjs.scoreOption; }
130
+ get: function () { return chunk3SWO2M33_cjs.scoreOption; }
131
131
  });
132
132
  Object.defineProperty(exports, "startOfDay", {
133
133
  enumerable: true,
134
- get: function () { return chunkRHTLNSVW_cjs.startOfDay; }
134
+ get: function () { return chunk3SWO2M33_cjs.startOfDay; }
135
135
  });
136
136
  Object.defineProperty(exports, "stepActive", {
137
137
  enumerable: true,
138
- get: function () { return chunkRHTLNSVW_cjs.stepActive; }
138
+ get: function () { return chunk3SWO2M33_cjs.stepActive; }
139
139
  });
140
140
  Object.defineProperty(exports, "useFieldContext", {
141
141
  enumerable: true,
142
- get: function () { return chunkRHTLNSVW_cjs.useFieldContext; }
142
+ get: function () { return chunk3SWO2M33_cjs.useFieldContext; }
143
143
  });
144
144
  Object.defineProperty(exports, "useFieldControl", {
145
145
  enumerable: true,
146
- get: function () { return chunkRHTLNSVW_cjs.useFieldControl; }
146
+ get: function () { return chunk3SWO2M33_cjs.useFieldControl; }
147
147
  });
148
148
  Object.defineProperty(exports, "useTypeahead", {
149
149
  enumerable: true,
150
- get: function () { return chunkRHTLNSVW_cjs.useTypeahead; }
150
+ get: function () { return chunk3SWO2M33_cjs.useTypeahead; }
151
151
  });
152
152
  //# sourceMappingURL=form.cjs.map
153
153
  //# sourceMappingURL=form.cjs.map
package/dist/form.d.cts CHANGED
@@ -657,4 +657,5 @@ interface DateRangePickerProps extends Omit<CalendarProps, 'value' | 'defaultVal
657
657
  */
658
658
  declare function DateRangePicker({ value, defaultValue, onChange, disabled, invalid, label, className, months, locale, ...calendarProps }: DateRangePickerProps): react.JSX.Element;
659
659
 
660
- export { Calendar, type CalendarProps, Checkbox, type CheckboxProps, ChoiceCard, type ChoiceCardProps, ColorPicker, type ColorPickerProps, Combobox, type ComboboxProps, DatePicker, type DatePickerProps, type DateRange, DateRangePicker, type DateRangePickerProps, Dropzone, type DropzoneFile, type DropzoneProps, Field, type FieldContextValue, type FieldProps, Fieldset, type FieldsetProps, Input, type InputProps, type InputSize, NumberInput, type NumberInputProps, OptionList, type OptionListProps, PinInput, type PinInputProps, Radio, RadioGroup, type RadioGroupProps, type RadioProps, RangeSlider, type RangeSliderProps, Rating, type RatingProps, Select, type SelectOption, type SelectProps, Slider, type SliderMark, type SliderProps, Switch, type SwitchProps, TagsInput, type TagsInputProps, Textarea, type TextareaProps, VisuallyHidden, addDays, addMonths, filterOptions, firstEnabled, isSameDay, scoreOption, startOfDay, stepActive, useFieldContext, useFieldControl, useTypeahead };
660
+ export { Calendar, Checkbox, ChoiceCard, ColorPicker, Combobox, DatePicker, DateRangePicker, Dropzone, Field, Fieldset, Input, NumberInput, OptionList, PinInput, Radio, RadioGroup, RangeSlider, Rating, Select, Slider, Switch, TagsInput, Textarea, VisuallyHidden, addDays, addMonths, filterOptions, firstEnabled, isSameDay, scoreOption, startOfDay, stepActive, useFieldContext, useFieldControl, useTypeahead };
661
+ export type { CalendarProps, CheckboxProps, ChoiceCardProps, ColorPickerProps, ComboboxProps, DatePickerProps, DateRange, DateRangePickerProps, DropzoneFile, DropzoneProps, FieldContextValue, FieldProps, FieldsetProps, InputProps, InputSize, NumberInputProps, OptionListProps, PinInputProps, RadioGroupProps, RadioProps, RangeSliderProps, RatingProps, SelectOption, SelectProps, SliderMark, SliderProps, SwitchProps, TagsInputProps, TextareaProps };
package/dist/form.d.ts CHANGED
@@ -657,4 +657,5 @@ interface DateRangePickerProps extends Omit<CalendarProps, 'value' | 'defaultVal
657
657
  */
658
658
  declare function DateRangePicker({ value, defaultValue, onChange, disabled, invalid, label, className, months, locale, ...calendarProps }: DateRangePickerProps): react.JSX.Element;
659
659
 
660
- export { Calendar, type CalendarProps, Checkbox, type CheckboxProps, ChoiceCard, type ChoiceCardProps, ColorPicker, type ColorPickerProps, Combobox, type ComboboxProps, DatePicker, type DatePickerProps, type DateRange, DateRangePicker, type DateRangePickerProps, Dropzone, type DropzoneFile, type DropzoneProps, Field, type FieldContextValue, type FieldProps, Fieldset, type FieldsetProps, Input, type InputProps, type InputSize, NumberInput, type NumberInputProps, OptionList, type OptionListProps, PinInput, type PinInputProps, Radio, RadioGroup, type RadioGroupProps, type RadioProps, RangeSlider, type RangeSliderProps, Rating, type RatingProps, Select, type SelectOption, type SelectProps, Slider, type SliderMark, type SliderProps, Switch, type SwitchProps, TagsInput, type TagsInputProps, Textarea, type TextareaProps, VisuallyHidden, addDays, addMonths, filterOptions, firstEnabled, isSameDay, scoreOption, startOfDay, stepActive, useFieldContext, useFieldControl, useTypeahead };
660
+ export { Calendar, Checkbox, ChoiceCard, ColorPicker, Combobox, DatePicker, DateRangePicker, Dropzone, Field, Fieldset, Input, NumberInput, OptionList, PinInput, Radio, RadioGroup, RangeSlider, Rating, Select, Slider, Switch, TagsInput, Textarea, VisuallyHidden, addDays, addMonths, filterOptions, firstEnabled, isSameDay, scoreOption, startOfDay, stepActive, useFieldContext, useFieldControl, useTypeahead };
661
+ export type { CalendarProps, CheckboxProps, ChoiceCardProps, ColorPickerProps, ComboboxProps, DatePickerProps, DateRange, DateRangePickerProps, DropzoneFile, DropzoneProps, FieldContextValue, FieldProps, FieldsetProps, InputProps, InputSize, NumberInputProps, OptionListProps, PinInputProps, RadioGroupProps, RadioProps, RangeSliderProps, RatingProps, SelectOption, SelectProps, SliderMark, SliderProps, SwitchProps, TagsInputProps, TextareaProps };
package/dist/form.js CHANGED
@@ -1,8 +1,8 @@
1
1
  'use client';
2
- export { Calendar, Checkbox, ChoiceCard, ColorPicker, Combobox, DatePicker, DateRangePicker, Dropzone, Field, Fieldset, Input, NumberInput, OptionList, PinInput, Radio, RadioGroup, RangeSlider, Rating, Select, Slider, Switch, TagsInput, Textarea, VisuallyHidden, addDays, addMonths, filterOptions, firstEnabled, isSameDay, scoreOption, startOfDay, stepActive, useFieldContext, useFieldControl, useTypeahead } from './chunk-QO3E7TJS.js';
2
+ export { Calendar, Checkbox, ChoiceCard, ColorPicker, Combobox, DatePicker, DateRangePicker, Dropzone, Field, Fieldset, Input, NumberInput, OptionList, PinInput, Radio, RadioGroup, RangeSlider, Rating, Select, Slider, Switch, TagsInput, Textarea, VisuallyHidden, addDays, addMonths, filterOptions, firstEnabled, isSameDay, scoreOption, startOfDay, stepActive, useFieldContext, useFieldControl, useTypeahead } from './chunk-WNWGYXJY.js';
3
3
  import './chunk-XEP6P7E6.js';
4
4
  import './chunk-LXCIXR5T.js';
5
- import './chunk-IBXLC5IE.js';
5
+ import './chunk-P5MRISBP.js';
6
6
  import './chunk-H34OXXJU.js';
7
7
  //# sourceMappingURL=form.js.map
8
8
  //# sourceMappingURL=form.js.map