groovinads-ui 1.9.88 → 1.9.91
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.
- package/README.md +116 -0
- package/dist/index.es.js +2 -2
- package/dist/index.js +2 -2
- package/index.d.ts +41 -0
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -243,6 +243,24 @@ export interface InputChipProps {
|
|
|
243
243
|
|
|
244
244
|
export const InputChip: React.FC<InputChipProps>;
|
|
245
245
|
|
|
246
|
+
export interface SliderProps {
|
|
247
|
+
className?: string;
|
|
248
|
+
disabled?: boolean;
|
|
249
|
+
label?: string;
|
|
250
|
+
labelInputMax?: string;
|
|
251
|
+
labelInputMin?: string;
|
|
252
|
+
max?: number;
|
|
253
|
+
min?: number;
|
|
254
|
+
onChange?: (value: number | [number, number]) => void;
|
|
255
|
+
orientation?: 'horizontal' | 'vertical';
|
|
256
|
+
range?: boolean;
|
|
257
|
+
step?: number;
|
|
258
|
+
tooltip?: boolean;
|
|
259
|
+
value?: number | [number, number];
|
|
260
|
+
}
|
|
261
|
+
|
|
262
|
+
export const Slider: React.FC<SliderProps>;
|
|
263
|
+
|
|
246
264
|
// ============================================================================
|
|
247
265
|
// LABEL COMPONENTS
|
|
248
266
|
// ============================================================================
|
|
@@ -259,6 +277,15 @@ export interface AlertProps {
|
|
|
259
277
|
|
|
260
278
|
export const Alert: React.FC<AlertProps>;
|
|
261
279
|
|
|
280
|
+
export interface BlockIconProps {
|
|
281
|
+
className?: string;
|
|
282
|
+
color?: 'green' | 'grey' | 'yellow' | 'red' | 'danger' | 'neutral' | 'blue' | 'light' | 'midtone' | 'dark';
|
|
283
|
+
name?: string;
|
|
284
|
+
size?: 'xs' | 'md' | 'lg';
|
|
285
|
+
}
|
|
286
|
+
|
|
287
|
+
export const BlockIcon: React.FC<BlockIconProps>;
|
|
288
|
+
|
|
262
289
|
export interface EditableContentProps {
|
|
263
290
|
as: string;
|
|
264
291
|
className?: string;
|
|
@@ -304,6 +331,19 @@ export interface SpinnerProps {
|
|
|
304
331
|
|
|
305
332
|
export const Spinner: React.FC<SpinnerProps>;
|
|
306
333
|
|
|
334
|
+
export interface ProgressBarProps {
|
|
335
|
+
className?: string;
|
|
336
|
+
dangerTo?: number;
|
|
337
|
+
label?: string;
|
|
338
|
+
max?: number;
|
|
339
|
+
orientation?: 'horizontal' | 'vertical';
|
|
340
|
+
showNumbers?: boolean;
|
|
341
|
+
value?: number;
|
|
342
|
+
warningTo?: number;
|
|
343
|
+
}
|
|
344
|
+
|
|
345
|
+
export const ProgressBar: React.FC<ProgressBarProps>;
|
|
346
|
+
|
|
307
347
|
export interface StatusIconProps {
|
|
308
348
|
className?: string;
|
|
309
349
|
icon?: string;
|
|
@@ -355,6 +395,7 @@ export interface ModalComponentProps {
|
|
|
355
395
|
className?: string;
|
|
356
396
|
footer?: ReactNode;
|
|
357
397
|
header: string | ReactNode;
|
|
398
|
+
onBeforeClose?: () => void;
|
|
358
399
|
setShow: Dispatch<SetStateAction<boolean>>;
|
|
359
400
|
show: boolean;
|
|
360
401
|
size?: 'sm' | 'md' | 'lg';
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "groovinads-ui",
|
|
3
3
|
"description": "Groovinads UI is a React component library designed exclusively for Groovinads applications. It provides ready-to-use UI elements styled according to Groovinads design guidelines to facilitate rapid development.",
|
|
4
|
-
"version": "1.9.
|
|
4
|
+
"version": "1.9.91",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"keywords": [
|
|
7
7
|
"css",
|