dhanasekar-ui 1.2.0 → 1.4.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 (195) hide show
  1. package/dist/chunk-2CO3UUBT.js +170 -0
  2. package/dist/chunk-2CO3UUBT.js.map +1 -0
  3. package/dist/chunk-3HGMPMXD.js +61 -0
  4. package/dist/chunk-3HGMPMXD.js.map +1 -0
  5. package/dist/chunk-46U234GX.mjs +42 -0
  6. package/dist/chunk-46U234GX.mjs.map +1 -0
  7. package/dist/chunk-5FU43BWK.mjs +121 -0
  8. package/dist/chunk-5FU43BWK.mjs.map +1 -0
  9. package/dist/chunk-7XVF6WPJ.js +108 -0
  10. package/dist/chunk-7XVF6WPJ.js.map +1 -0
  11. package/dist/{chunk-GNMGJBBO.mjs → chunk-AK3NQBYU.mjs} +3 -3
  12. package/dist/chunk-AK3NQBYU.mjs.map +1 -0
  13. package/dist/chunk-ALCHPZY6.js +149 -0
  14. package/dist/chunk-ALCHPZY6.js.map +1 -0
  15. package/dist/chunk-BNBEIMM2.mjs +61 -0
  16. package/dist/chunk-BNBEIMM2.mjs.map +1 -0
  17. package/dist/chunk-BQVXQWPS.mjs +129 -0
  18. package/dist/chunk-BQVXQWPS.mjs.map +1 -0
  19. package/dist/chunk-DBSBLGGH.js +40 -0
  20. package/dist/chunk-DBSBLGGH.js.map +1 -0
  21. package/dist/chunk-DVDVLGDJ.js +121 -0
  22. package/dist/chunk-DVDVLGDJ.js.map +1 -0
  23. package/dist/chunk-EN76JE3Y.js +64 -0
  24. package/dist/chunk-EN76JE3Y.js.map +1 -0
  25. package/dist/chunk-FLTDFXE3.mjs +170 -0
  26. package/dist/chunk-FLTDFXE3.mjs.map +1 -0
  27. package/dist/chunk-GSRVWW2G.mjs +177 -0
  28. package/dist/chunk-GSRVWW2G.mjs.map +1 -0
  29. package/dist/chunk-GZGTDLFV.js +72 -0
  30. package/dist/chunk-GZGTDLFV.js.map +1 -0
  31. package/dist/chunk-HGGQFNUJ.mjs +2 -0
  32. package/dist/chunk-HGGQFNUJ.mjs.map +1 -0
  33. package/dist/chunk-HWD2HCCH.js +129 -0
  34. package/dist/chunk-HWD2HCCH.js.map +1 -0
  35. package/dist/chunk-I6OJHQZX.mjs +2 -0
  36. package/dist/chunk-I6OJHQZX.mjs.map +1 -0
  37. package/dist/chunk-ISHUTZ36.js +42 -0
  38. package/dist/chunk-ISHUTZ36.js.map +1 -0
  39. package/dist/chunk-JC4TJWCY.mjs +97 -0
  40. package/dist/chunk-JC4TJWCY.mjs.map +1 -0
  41. package/dist/chunk-JM6DZDO3.js +87 -0
  42. package/dist/chunk-JM6DZDO3.js.map +1 -0
  43. package/dist/chunk-KUXDQANJ.mjs +72 -0
  44. package/dist/chunk-KUXDQANJ.mjs.map +1 -0
  45. package/dist/chunk-LIBHUJ27.js +2 -0
  46. package/dist/chunk-LIBHUJ27.js.map +1 -0
  47. package/dist/chunk-MALTBURB.mjs +64 -0
  48. package/dist/chunk-MALTBURB.mjs.map +1 -0
  49. package/dist/chunk-MLURKSJZ.js +2 -0
  50. package/dist/chunk-MLURKSJZ.js.map +1 -0
  51. package/dist/chunk-MOC6N23X.mjs +151 -0
  52. package/dist/chunk-MOC6N23X.mjs.map +1 -0
  53. package/dist/chunk-P5HHRCE5.js +198 -0
  54. package/dist/chunk-P5HHRCE5.js.map +1 -0
  55. package/dist/chunk-PL2R3LYL.mjs +198 -0
  56. package/dist/chunk-PL2R3LYL.mjs.map +1 -0
  57. package/dist/chunk-PPQ7NSV3.js +97 -0
  58. package/dist/chunk-PPQ7NSV3.js.map +1 -0
  59. package/dist/chunk-T3YOHFUU.js +177 -0
  60. package/dist/chunk-T3YOHFUU.js.map +1 -0
  61. package/dist/chunk-UCFS7EH2.mjs +40 -0
  62. package/dist/chunk-UCFS7EH2.mjs.map +1 -0
  63. package/dist/chunk-ULMQZANW.mjs +87 -0
  64. package/dist/chunk-ULMQZANW.mjs.map +1 -0
  65. package/dist/chunk-UYHBKE7G.mjs +108 -0
  66. package/dist/chunk-UYHBKE7G.mjs.map +1 -0
  67. package/dist/chunk-W5B5N6BW.mjs +149 -0
  68. package/dist/chunk-W5B5N6BW.mjs.map +1 -0
  69. package/dist/{chunk-6SVKDKK7.mjs → chunk-XWEEWNZK.mjs} +4 -4
  70. package/dist/chunk-XWEEWNZK.mjs.map +1 -0
  71. package/dist/{chunk-3RAQQWLW.js → chunk-YPMUFP2I.js} +4 -4
  72. package/dist/chunk-YPMUFP2I.js.map +1 -0
  73. package/dist/chunk-ZMB4U5RP.js +151 -0
  74. package/dist/chunk-ZMB4U5RP.js.map +1 -0
  75. package/dist/{chunk-2TXYJ7YE.js → chunk-ZPJSBORX.js} +3 -3
  76. package/dist/chunk-ZPJSBORX.js.map +1 -0
  77. package/dist/components/AppBar/index.d.mts +89 -0
  78. package/dist/components/AppBar/index.d.ts +89 -0
  79. package/dist/components/AppBar/index.js +2 -0
  80. package/dist/components/AppBar/index.js.map +1 -0
  81. package/dist/components/AppBar/index.mjs +2 -0
  82. package/dist/components/AppBar/index.mjs.map +1 -0
  83. package/dist/components/Box/index.d.mts +28 -0
  84. package/dist/components/Box/index.d.ts +28 -0
  85. package/dist/components/Box/index.js +2 -0
  86. package/dist/components/Box/index.js.map +1 -0
  87. package/dist/components/Box/index.mjs +2 -0
  88. package/dist/components/Box/index.mjs.map +1 -0
  89. package/dist/components/Container/index.d.mts +71 -0
  90. package/dist/components/Container/index.d.ts +71 -0
  91. package/dist/components/Container/index.js +2 -0
  92. package/dist/components/Container/index.js.map +1 -0
  93. package/dist/components/Container/index.mjs +2 -0
  94. package/dist/components/Container/index.mjs.map +1 -0
  95. package/dist/components/DateFilter/index.d.mts +8 -1
  96. package/dist/components/DateFilter/index.d.ts +8 -1
  97. package/dist/components/DateFilter/index.js +1 -1
  98. package/dist/components/DateFilter/index.mjs +1 -1
  99. package/dist/components/FileUploadField/index.d.mts +4 -2
  100. package/dist/components/FileUploadField/index.d.ts +4 -2
  101. package/dist/components/FileUploadField/index.js +1 -1
  102. package/dist/components/FileUploadField/index.mjs +1 -1
  103. package/dist/components/FormLayout/index.d.mts +8 -2
  104. package/dist/components/FormLayout/index.d.ts +8 -2
  105. package/dist/components/FormLayout/index.js +1 -1
  106. package/dist/components/FormLayout/index.mjs +1 -1
  107. package/dist/components/Grid/index.d.mts +48 -0
  108. package/dist/components/Grid/index.d.ts +48 -0
  109. package/dist/components/Grid/index.js +2 -0
  110. package/dist/components/Grid/index.js.map +1 -0
  111. package/dist/components/Grid/index.mjs +2 -0
  112. package/dist/components/Grid/index.mjs.map +1 -0
  113. package/dist/components/List/index.d.mts +98 -0
  114. package/dist/components/List/index.d.ts +98 -0
  115. package/dist/components/List/index.js +2 -0
  116. package/dist/components/List/index.js.map +1 -0
  117. package/dist/components/List/index.mjs +2 -0
  118. package/dist/components/List/index.mjs.map +1 -0
  119. package/dist/components/Navigator/index.d.mts +87 -0
  120. package/dist/components/Navigator/index.d.ts +87 -0
  121. package/dist/components/Navigator/index.js +2 -0
  122. package/dist/components/Navigator/index.js.map +1 -0
  123. package/dist/components/Navigator/index.mjs +2 -0
  124. package/dist/components/Navigator/index.mjs.map +1 -0
  125. package/dist/components/Pagination/index.d.mts +89 -0
  126. package/dist/components/Pagination/index.d.ts +89 -0
  127. package/dist/components/Pagination/index.js +2 -0
  128. package/dist/components/Pagination/index.js.map +1 -0
  129. package/dist/components/Pagination/index.mjs +2 -0
  130. package/dist/components/Pagination/index.mjs.map +1 -0
  131. package/dist/components/PdfImageUpload/index.d.mts +30 -0
  132. package/dist/components/PdfImageUpload/index.d.ts +30 -0
  133. package/dist/components/PdfImageUpload/index.js +2 -0
  134. package/dist/components/PdfImageUpload/index.js.map +1 -0
  135. package/dist/components/PdfImageUpload/index.mjs +2 -0
  136. package/dist/components/PdfImageUpload/index.mjs.map +1 -0
  137. package/dist/components/Progress/index.d.mts +52 -0
  138. package/dist/components/Progress/index.d.ts +52 -0
  139. package/dist/components/Progress/index.js +2 -0
  140. package/dist/components/Progress/index.js.map +1 -0
  141. package/dist/components/Progress/index.mjs +2 -0
  142. package/dist/components/Progress/index.mjs.map +1 -0
  143. package/dist/components/RadioGroup/index.d.mts +99 -0
  144. package/dist/components/RadioGroup/index.d.ts +99 -0
  145. package/dist/components/RadioGroup/index.js +2 -0
  146. package/dist/components/RadioGroup/index.js.map +1 -0
  147. package/dist/components/RadioGroup/index.mjs +2 -0
  148. package/dist/components/RadioGroup/index.mjs.map +1 -0
  149. package/dist/components/Skeleton/index.d.mts +45 -0
  150. package/dist/components/Skeleton/index.d.ts +45 -0
  151. package/dist/components/Skeleton/index.js +2 -0
  152. package/dist/components/Skeleton/index.js.map +1 -0
  153. package/dist/components/Skeleton/index.mjs +2 -0
  154. package/dist/components/Skeleton/index.mjs.map +1 -0
  155. package/dist/components/Slider/index.d.mts +181 -0
  156. package/dist/components/Slider/index.d.ts +181 -0
  157. package/dist/components/Slider/index.js +2 -0
  158. package/dist/components/Slider/index.js.map +1 -0
  159. package/dist/components/Slider/index.mjs +2 -0
  160. package/dist/components/Slider/index.mjs.map +1 -0
  161. package/dist/components/Snackbar/index.d.mts +80 -0
  162. package/dist/components/Snackbar/index.d.ts +80 -0
  163. package/dist/components/Snackbar/index.js +2 -0
  164. package/dist/components/Snackbar/index.js.map +1 -0
  165. package/dist/components/Snackbar/index.mjs +2 -0
  166. package/dist/components/Snackbar/index.mjs.map +1 -0
  167. package/dist/components/Text/index.d.mts +2 -1
  168. package/dist/components/Text/index.d.ts +2 -1
  169. package/dist/components/ToolBar/index.d.mts +60 -0
  170. package/dist/components/ToolBar/index.d.ts +60 -0
  171. package/dist/components/ToolBar/index.js +2 -0
  172. package/dist/components/ToolBar/index.js.map +1 -0
  173. package/dist/components/ToolBar/index.mjs +2 -0
  174. package/dist/components/ToolBar/index.mjs.map +1 -0
  175. package/dist/components/Tray/index.d.mts +140 -0
  176. package/dist/components/Tray/index.d.ts +140 -0
  177. package/dist/components/Tray/index.js +2 -0
  178. package/dist/components/Tray/index.js.map +1 -0
  179. package/dist/components/Tray/index.mjs +2 -0
  180. package/dist/components/Tray/index.mjs.map +1 -0
  181. package/dist/index.d.mts +16 -0
  182. package/dist/index.d.ts +16 -0
  183. package/dist/index.js +1 -1
  184. package/dist/index.mjs +1 -1
  185. package/dist/types-BJWJOB_w.d.mts +5 -0
  186. package/dist/types-BJWJOB_w.d.ts +5 -0
  187. package/package.json +84 -2
  188. package/dist/chunk-2TXYJ7YE.js.map +0 -1
  189. package/dist/chunk-3RAQQWLW.js.map +0 -1
  190. package/dist/chunk-6SVKDKK7.mjs.map +0 -1
  191. package/dist/chunk-GNMGJBBO.mjs.map +0 -1
  192. package/dist/chunk-ZEMR63S4.js +0 -198
  193. package/dist/chunk-ZEMR63S4.js.map +0 -1
  194. package/dist/chunk-ZY5AHZYZ.mjs +0 -198
  195. package/dist/chunk-ZY5AHZYZ.mjs.map +0 -1
@@ -0,0 +1,181 @@
1
+ import react__default, { ReactNode, SyntheticEvent, ElementType } from 'react';
2
+
3
+ interface SliderProps {
4
+ /**
5
+ * The label of the slider.
6
+ */
7
+ 'aria-label'?: string;
8
+ /**
9
+ * The id of the element containing a label for the slider.
10
+ */
11
+ 'aria-labelledby'?: string;
12
+ /**
13
+ * A string value that provides a user-friendly name for the current value of the slider.
14
+ */
15
+ 'aria-valuetext'?: string;
16
+ /**
17
+ * @ignore
18
+ */
19
+ className?: string;
20
+ /**
21
+ * Override or extend the styles applied to the component.
22
+ */
23
+ classes?: {
24
+ root?: string;
25
+ rail?: string;
26
+ track?: string;
27
+ thumb?: string;
28
+ mark?: string;
29
+ markLabel?: string;
30
+ valueLabel?: string;
31
+ disabled?: string;
32
+ vertical?: string;
33
+ small?: string;
34
+ };
35
+ /**
36
+ * The color of the component.
37
+ * @default 'primary'
38
+ */
39
+ color?: 'primary' | 'secondary' | 'error' | 'info' | 'success' | 'warning' | string;
40
+ /**
41
+ * The default value. Use when the component is not controlled.
42
+ */
43
+ defaultValue?: number[] | number;
44
+ /**
45
+ * If true, the component is disabled.
46
+ * @default false
47
+ */
48
+ disabled?: boolean;
49
+ /**
50
+ * If true, the active thumb doesn't swap when moving pointer over a thumb while dragging another thumb.
51
+ * @default false
52
+ */
53
+ disableSwap?: boolean;
54
+ /**
55
+ * Accepts a function which returns a string value that provides a user-friendly name for the thumb labels of the slider.
56
+ */
57
+ getAriaLabel?: (index: number) => string;
58
+ /**
59
+ * Accepts a function which returns a string value that provides a user-friendly name for the current value of the slider.
60
+ */
61
+ getAriaValueText?: (value: number, index: number) => string;
62
+ /**
63
+ * Marks indicate predetermined values to which the user can move the slider.
64
+ * @default false
65
+ */
66
+ marks?: Array<{
67
+ label?: ReactNode;
68
+ value: number;
69
+ }> | boolean;
70
+ /**
71
+ * The maximum allowed value of the slider. Should not be equal to min.
72
+ * @default 100
73
+ */
74
+ max?: number;
75
+ /**
76
+ * The minimum allowed value of the slider. Should not be equal to max.
77
+ * @default 0
78
+ */
79
+ min?: number;
80
+ /**
81
+ * Name attribute of the hidden input element.
82
+ */
83
+ name?: string;
84
+ /**
85
+ * Callback function that is fired when the slider's value changed.
86
+ */
87
+ onChange?: (event: SyntheticEvent | Event, value: number | number[], activeThumb: number) => void;
88
+ /**
89
+ * Callback function that is fired when the pointer or touch interaction ends.
90
+ */
91
+ onChangeCommitted?: (event: SyntheticEvent | Event, value: number | number[]) => void;
92
+ /**
93
+ * The component orientation.
94
+ * @default 'horizontal'
95
+ */
96
+ orientation?: 'horizontal' | 'vertical';
97
+ /**
98
+ * A transformation function, to change the scale of the slider.
99
+ * @default (x) => x
100
+ */
101
+ scale?: (x: any) => any;
102
+ /**
103
+ * The granularity with which the slider can step through values when using Page Up/Page Down or Shift + Arrow Up/Arrow Down.
104
+ * @default 10
105
+ */
106
+ shiftStep?: number;
107
+ /**
108
+ * The size of the slider.
109
+ * @default 'medium'
110
+ */
111
+ size?: 'small' | 'medium' | string;
112
+ /**
113
+ * The props used for each slot inside.
114
+ */
115
+ slotProps?: {
116
+ input?: any;
117
+ mark?: any;
118
+ markLabel?: any;
119
+ rail?: any;
120
+ root?: any;
121
+ thumb?: any;
122
+ track?: any;
123
+ valueLabel?: {
124
+ children?: ReactNode;
125
+ className?: string;
126
+ open?: boolean;
127
+ style?: object;
128
+ value?: ReactNode;
129
+ valueLabelDisplay?: 'auto' | 'off' | 'on';
130
+ };
131
+ };
132
+ /**
133
+ * The components used for each slot inside.
134
+ */
135
+ slots?: {
136
+ input?: ElementType;
137
+ mark?: ElementType;
138
+ markLabel?: ElementType;
139
+ rail?: ElementType;
140
+ root?: ElementType;
141
+ thumb?: ElementType;
142
+ track?: ElementType;
143
+ valueLabel?: ElementType;
144
+ };
145
+ /**
146
+ * The granularity with which the slider can step through values.
147
+ * @default 1
148
+ */
149
+ step?: number | null;
150
+ /**
151
+ * The system prop that allows defining system overrides as well as additional CSS styles.
152
+ */
153
+ sx?: any;
154
+ /**
155
+ * Tab index attribute of the hidden input element.
156
+ */
157
+ tabIndex?: number;
158
+ /**
159
+ * The track presentation.
160
+ * @default 'normal'
161
+ */
162
+ track?: 'inverted' | 'normal' | false;
163
+ /**
164
+ * The value of the slider. For ranged sliders, provide an array with two values.
165
+ */
166
+ value?: number[] | number;
167
+ /**
168
+ * Controls when the value label is displayed.
169
+ * @default 'off'
170
+ */
171
+ valueLabelDisplay?: 'auto' | 'off' | 'on';
172
+ /**
173
+ * The format function the value label's value.
174
+ * @default (x) => x
175
+ */
176
+ valueLabelFormat?: ((value: number, index: number) => ReactNode) | string;
177
+ }
178
+
179
+ declare const Slider: react__default.ForwardRefExoticComponent<SliderProps & react__default.RefAttributes<HTMLSpanElement>>;
180
+
181
+ export { Slider, type SliderProps };
@@ -0,0 +1,181 @@
1
+ import react__default, { ReactNode, SyntheticEvent, ElementType } from 'react';
2
+
3
+ interface SliderProps {
4
+ /**
5
+ * The label of the slider.
6
+ */
7
+ 'aria-label'?: string;
8
+ /**
9
+ * The id of the element containing a label for the slider.
10
+ */
11
+ 'aria-labelledby'?: string;
12
+ /**
13
+ * A string value that provides a user-friendly name for the current value of the slider.
14
+ */
15
+ 'aria-valuetext'?: string;
16
+ /**
17
+ * @ignore
18
+ */
19
+ className?: string;
20
+ /**
21
+ * Override or extend the styles applied to the component.
22
+ */
23
+ classes?: {
24
+ root?: string;
25
+ rail?: string;
26
+ track?: string;
27
+ thumb?: string;
28
+ mark?: string;
29
+ markLabel?: string;
30
+ valueLabel?: string;
31
+ disabled?: string;
32
+ vertical?: string;
33
+ small?: string;
34
+ };
35
+ /**
36
+ * The color of the component.
37
+ * @default 'primary'
38
+ */
39
+ color?: 'primary' | 'secondary' | 'error' | 'info' | 'success' | 'warning' | string;
40
+ /**
41
+ * The default value. Use when the component is not controlled.
42
+ */
43
+ defaultValue?: number[] | number;
44
+ /**
45
+ * If true, the component is disabled.
46
+ * @default false
47
+ */
48
+ disabled?: boolean;
49
+ /**
50
+ * If true, the active thumb doesn't swap when moving pointer over a thumb while dragging another thumb.
51
+ * @default false
52
+ */
53
+ disableSwap?: boolean;
54
+ /**
55
+ * Accepts a function which returns a string value that provides a user-friendly name for the thumb labels of the slider.
56
+ */
57
+ getAriaLabel?: (index: number) => string;
58
+ /**
59
+ * Accepts a function which returns a string value that provides a user-friendly name for the current value of the slider.
60
+ */
61
+ getAriaValueText?: (value: number, index: number) => string;
62
+ /**
63
+ * Marks indicate predetermined values to which the user can move the slider.
64
+ * @default false
65
+ */
66
+ marks?: Array<{
67
+ label?: ReactNode;
68
+ value: number;
69
+ }> | boolean;
70
+ /**
71
+ * The maximum allowed value of the slider. Should not be equal to min.
72
+ * @default 100
73
+ */
74
+ max?: number;
75
+ /**
76
+ * The minimum allowed value of the slider. Should not be equal to max.
77
+ * @default 0
78
+ */
79
+ min?: number;
80
+ /**
81
+ * Name attribute of the hidden input element.
82
+ */
83
+ name?: string;
84
+ /**
85
+ * Callback function that is fired when the slider's value changed.
86
+ */
87
+ onChange?: (event: SyntheticEvent | Event, value: number | number[], activeThumb: number) => void;
88
+ /**
89
+ * Callback function that is fired when the pointer or touch interaction ends.
90
+ */
91
+ onChangeCommitted?: (event: SyntheticEvent | Event, value: number | number[]) => void;
92
+ /**
93
+ * The component orientation.
94
+ * @default 'horizontal'
95
+ */
96
+ orientation?: 'horizontal' | 'vertical';
97
+ /**
98
+ * A transformation function, to change the scale of the slider.
99
+ * @default (x) => x
100
+ */
101
+ scale?: (x: any) => any;
102
+ /**
103
+ * The granularity with which the slider can step through values when using Page Up/Page Down or Shift + Arrow Up/Arrow Down.
104
+ * @default 10
105
+ */
106
+ shiftStep?: number;
107
+ /**
108
+ * The size of the slider.
109
+ * @default 'medium'
110
+ */
111
+ size?: 'small' | 'medium' | string;
112
+ /**
113
+ * The props used for each slot inside.
114
+ */
115
+ slotProps?: {
116
+ input?: any;
117
+ mark?: any;
118
+ markLabel?: any;
119
+ rail?: any;
120
+ root?: any;
121
+ thumb?: any;
122
+ track?: any;
123
+ valueLabel?: {
124
+ children?: ReactNode;
125
+ className?: string;
126
+ open?: boolean;
127
+ style?: object;
128
+ value?: ReactNode;
129
+ valueLabelDisplay?: 'auto' | 'off' | 'on';
130
+ };
131
+ };
132
+ /**
133
+ * The components used for each slot inside.
134
+ */
135
+ slots?: {
136
+ input?: ElementType;
137
+ mark?: ElementType;
138
+ markLabel?: ElementType;
139
+ rail?: ElementType;
140
+ root?: ElementType;
141
+ thumb?: ElementType;
142
+ track?: ElementType;
143
+ valueLabel?: ElementType;
144
+ };
145
+ /**
146
+ * The granularity with which the slider can step through values.
147
+ * @default 1
148
+ */
149
+ step?: number | null;
150
+ /**
151
+ * The system prop that allows defining system overrides as well as additional CSS styles.
152
+ */
153
+ sx?: any;
154
+ /**
155
+ * Tab index attribute of the hidden input element.
156
+ */
157
+ tabIndex?: number;
158
+ /**
159
+ * The track presentation.
160
+ * @default 'normal'
161
+ */
162
+ track?: 'inverted' | 'normal' | false;
163
+ /**
164
+ * The value of the slider. For ranged sliders, provide an array with two values.
165
+ */
166
+ value?: number[] | number;
167
+ /**
168
+ * Controls when the value label is displayed.
169
+ * @default 'off'
170
+ */
171
+ valueLabelDisplay?: 'auto' | 'off' | 'on';
172
+ /**
173
+ * The format function the value label's value.
174
+ * @default (x) => x
175
+ */
176
+ valueLabelFormat?: ((value: number, index: number) => ReactNode) | string;
177
+ }
178
+
179
+ declare const Slider: react__default.ForwardRefExoticComponent<SliderProps & react__default.RefAttributes<HTMLSpanElement>>;
180
+
181
+ export { Slider, type SliderProps };
@@ -0,0 +1,2 @@
1
+ 'use strict';var chunk2CO3UUBT_js=require('../../chunk-2CO3UUBT.js');require('../../chunk-DDGBDWFC.js');Object.defineProperty(exports,"Slider",{enumerable:true,get:function(){return chunk2CO3UUBT_js.a}});//# sourceMappingURL=index.js.map
2
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"index.js"}
@@ -0,0 +1,2 @@
1
+ export{a as Slider}from'../../chunk-FLTDFXE3.mjs';import'../../chunk-547MQ4FI.mjs';//# sourceMappingURL=index.mjs.map
2
+ //# sourceMappingURL=index.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"index.mjs"}
@@ -0,0 +1,80 @@
1
+ import * as react from 'react';
2
+ import { HTMLAttributes, ReactNode, CSSProperties, ElementType } from 'react';
3
+
4
+ type SnackbarOrigin = {
5
+ vertical: 'top' | 'bottom';
6
+ horizontal: 'left' | 'center' | 'right';
7
+ };
8
+ interface SnackbarProps extends HTMLAttributes<HTMLDivElement> {
9
+ /**
10
+ * The anchor of the Snackbar.
11
+ * @default { vertical: 'bottom', horizontal: 'left' }
12
+ */
13
+ anchorOrigin?: SnackbarOrigin;
14
+ /**
15
+ * The number of milliseconds to wait before automatically calling the
16
+ * `onClose` function. `onClose` should then set the state of the `open`
17
+ * prop to hide the Snackbar. This behavior is disabled by default with
18
+ * a `null` value.
19
+ * @default null
20
+ */
21
+ autoHideDuration?: number | null;
22
+ /**
23
+ * Replace the `SnackbarContent` component.
24
+ */
25
+ children?: ReactNode;
26
+ /**
27
+ * Props applied to the `SnackbarContent` element.
28
+ */
29
+ ContentProps?: any;
30
+ /**
31
+ * If `true`, the component is shown.
32
+ */
33
+ open?: boolean;
34
+ /**
35
+ * Callback fired when the component requests to be closed.
36
+ * Typically `onClose` is used to set state in the parent component,
37
+ * which is used to control the `Snackbar` `open` prop.
38
+ *
39
+ * @param {React.SyntheticEvent<any> | Event} event The event source of the callback.
40
+ * @param {string} reason Can be: `"timeout"` (autoHideDuration expired), `"clickaway"`.
41
+ */
42
+ onClose?: (event: React.SyntheticEvent<any> | Event, reason: string) => void;
43
+ /**
44
+ * The message to display.
45
+ */
46
+ message?: ReactNode;
47
+ /**
48
+ * The action to display. It renders after the message, at the end of the snackbar.
49
+ */
50
+ action?: ReactNode;
51
+ /**
52
+ * Custom styles using the sx prop pattern.
53
+ */
54
+ sx?: CSSProperties;
55
+ /**
56
+ * The component used for the root node.
57
+ * Either a string to use a HTML element or a component.
58
+ */
59
+ component?: ElementType;
60
+ /**
61
+ * The component used for the root node.
62
+ * Either a string to use a HTML element or a component.
63
+ * Alias for `component`.
64
+ */
65
+ as?: ElementType;
66
+ /**
67
+ * The variant of the snackbar.
68
+ * @default 'default'
69
+ */
70
+ variant?: 'default' | 'success' | 'error' | 'warning' | 'info';
71
+ /**
72
+ * Whether to show the icon for the variant.
73
+ * @default true
74
+ */
75
+ showIcon?: boolean;
76
+ }
77
+
78
+ declare const Snackbar: react.ForwardRefExoticComponent<SnackbarProps & react.RefAttributes<HTMLDivElement>>;
79
+
80
+ export { Snackbar, type SnackbarOrigin, type SnackbarProps, Snackbar as default };
@@ -0,0 +1,80 @@
1
+ import * as react from 'react';
2
+ import { HTMLAttributes, ReactNode, CSSProperties, ElementType } from 'react';
3
+
4
+ type SnackbarOrigin = {
5
+ vertical: 'top' | 'bottom';
6
+ horizontal: 'left' | 'center' | 'right';
7
+ };
8
+ interface SnackbarProps extends HTMLAttributes<HTMLDivElement> {
9
+ /**
10
+ * The anchor of the Snackbar.
11
+ * @default { vertical: 'bottom', horizontal: 'left' }
12
+ */
13
+ anchorOrigin?: SnackbarOrigin;
14
+ /**
15
+ * The number of milliseconds to wait before automatically calling the
16
+ * `onClose` function. `onClose` should then set the state of the `open`
17
+ * prop to hide the Snackbar. This behavior is disabled by default with
18
+ * a `null` value.
19
+ * @default null
20
+ */
21
+ autoHideDuration?: number | null;
22
+ /**
23
+ * Replace the `SnackbarContent` component.
24
+ */
25
+ children?: ReactNode;
26
+ /**
27
+ * Props applied to the `SnackbarContent` element.
28
+ */
29
+ ContentProps?: any;
30
+ /**
31
+ * If `true`, the component is shown.
32
+ */
33
+ open?: boolean;
34
+ /**
35
+ * Callback fired when the component requests to be closed.
36
+ * Typically `onClose` is used to set state in the parent component,
37
+ * which is used to control the `Snackbar` `open` prop.
38
+ *
39
+ * @param {React.SyntheticEvent<any> | Event} event The event source of the callback.
40
+ * @param {string} reason Can be: `"timeout"` (autoHideDuration expired), `"clickaway"`.
41
+ */
42
+ onClose?: (event: React.SyntheticEvent<any> | Event, reason: string) => void;
43
+ /**
44
+ * The message to display.
45
+ */
46
+ message?: ReactNode;
47
+ /**
48
+ * The action to display. It renders after the message, at the end of the snackbar.
49
+ */
50
+ action?: ReactNode;
51
+ /**
52
+ * Custom styles using the sx prop pattern.
53
+ */
54
+ sx?: CSSProperties;
55
+ /**
56
+ * The component used for the root node.
57
+ * Either a string to use a HTML element or a component.
58
+ */
59
+ component?: ElementType;
60
+ /**
61
+ * The component used for the root node.
62
+ * Either a string to use a HTML element or a component.
63
+ * Alias for `component`.
64
+ */
65
+ as?: ElementType;
66
+ /**
67
+ * The variant of the snackbar.
68
+ * @default 'default'
69
+ */
70
+ variant?: 'default' | 'success' | 'error' | 'warning' | 'info';
71
+ /**
72
+ * Whether to show the icon for the variant.
73
+ * @default true
74
+ */
75
+ showIcon?: boolean;
76
+ }
77
+
78
+ declare const Snackbar: react.ForwardRefExoticComponent<SnackbarProps & react.RefAttributes<HTMLDivElement>>;
79
+
80
+ export { Snackbar, type SnackbarOrigin, type SnackbarProps, Snackbar as default };
@@ -0,0 +1,2 @@
1
+ 'use strict';Object.defineProperty(exports,'__esModule',{value:true});var chunkZMB4U5RP_js=require('../../chunk-ZMB4U5RP.js');require('../../chunk-MLURKSJZ.js'),require('../../chunk-DDGBDWFC.js');Object.defineProperty(exports,"Snackbar",{enumerable:true,get:function(){return chunkZMB4U5RP_js.a}});Object.defineProperty(exports,"default",{enumerable:true,get:function(){return chunkZMB4U5RP_js.b}});//# sourceMappingURL=index.js.map
2
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"index.js"}
@@ -0,0 +1,2 @@
1
+ export{a as Snackbar,b as default}from'../../chunk-MOC6N23X.mjs';import'../../chunk-HGGQFNUJ.mjs';import'../../chunk-547MQ4FI.mjs';//# sourceMappingURL=index.mjs.map
2
+ //# sourceMappingURL=index.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"index.mjs"}
@@ -1,4 +1,5 @@
1
1
  import react__default, { ReactNode, ElementType, CSSProperties } from 'react';
2
+ import { S as SxProp } from '../../types-BJWJOB_w.mjs';
2
3
 
3
4
  type TextAlign = 'center' | 'inherit' | 'justify' | 'left' | 'right';
4
5
  type TextColor = 'primary' | 'secondary' | 'success' | 'error' | 'info' | 'warning' | 'textPrimary' | 'textSecondary' | 'textDisabled' | string;
@@ -38,7 +39,7 @@ interface TextProps {
38
39
  /**
39
40
  * The system prop that allows defining system overrides as well as additional CSS styles.
40
41
  */
41
- sx?: CSSProperties | ((theme: any) => CSSProperties) | Array<CSSProperties | ((theme: any) => CSSProperties) | boolean>;
42
+ sx?: SxProp;
42
43
  /**
43
44
  * Applies the theme typography styles.
44
45
  * @default 'body1'
@@ -1,4 +1,5 @@
1
1
  import react__default, { ReactNode, ElementType, CSSProperties } from 'react';
2
+ import { S as SxProp } from '../../types-BJWJOB_w.js';
2
3
 
3
4
  type TextAlign = 'center' | 'inherit' | 'justify' | 'left' | 'right';
4
5
  type TextColor = 'primary' | 'secondary' | 'success' | 'error' | 'info' | 'warning' | 'textPrimary' | 'textSecondary' | 'textDisabled' | string;
@@ -38,7 +39,7 @@ interface TextProps {
38
39
  /**
39
40
  * The system prop that allows defining system overrides as well as additional CSS styles.
40
41
  */
41
- sx?: CSSProperties | ((theme: any) => CSSProperties) | Array<CSSProperties | ((theme: any) => CSSProperties) | boolean>;
42
+ sx?: SxProp;
42
43
  /**
43
44
  * Applies the theme typography styles.
44
45
  * @default 'body1'
@@ -0,0 +1,60 @@
1
+ import * as react from 'react';
2
+ import { ElementType, ReactNode, ComponentPropsWithoutRef } from 'react';
3
+ import { S as SxProp } from '../../types-BJWJOB_w.mjs';
4
+
5
+ interface ToolBarClasses {
6
+ /** Styles applied to the root element. */
7
+ root?: string;
8
+ /** Styles applied to the root element if `disableGutters={false}`. */
9
+ gutters?: string;
10
+ /** Styles applied to the root element if `variant="regular"`. */
11
+ regular?: string;
12
+ /** Styles applied to the root element if `variant="dense"`. */
13
+ dense?: string;
14
+ }
15
+ interface ToolBarBaseProps {
16
+ /**
17
+ * The Toolbar children, usually a mixture of IconButton, Button and Typography.
18
+ * The Toolbar is a flex container, allowing flex item properties to be used to lay out the children.
19
+ */
20
+ children?: ReactNode;
21
+ /**
22
+ * Override or extend the styles applied to the component.
23
+ */
24
+ classes?: ToolBarClasses;
25
+ /**
26
+ * If true, disables gutter padding.
27
+ * @default false
28
+ */
29
+ disableGutters?: boolean;
30
+ /**
31
+ * The system prop that allows defining system overrides as well as additional CSS styles.
32
+ */
33
+ sx?: SxProp;
34
+ /**
35
+ * The variant to use.
36
+ * @default 'regular'
37
+ */
38
+ variant?: 'dense' | 'regular' | string;
39
+ /**
40
+ * Additional CSS class names.
41
+ */
42
+ className?: string;
43
+ }
44
+ /**
45
+ * The ToolBar component is a flex container for laying out children in a header or other containers.
46
+ */
47
+ type ToolBarProps<T extends ElementType = 'div'> = ToolBarBaseProps & Omit<ComponentPropsWithoutRef<T>, keyof ToolBarBaseProps | 'component'> & {
48
+ /**
49
+ * The component used for the root node. Either a string to use a HTML element or a component.
50
+ * @default 'div'
51
+ */
52
+ component?: T;
53
+ };
54
+
55
+ /**
56
+ * The ToolBar component is a flexible container for actions and branding.
57
+ */
58
+ declare const ToolBar: react.ForwardRefExoticComponent<Omit<ToolBarProps<ElementType>, "ref"> & react.RefAttributes<unknown>>;
59
+
60
+ export { SxProp, ToolBar, type ToolBarBaseProps, type ToolBarClasses, type ToolBarProps };