@nimbus-ds/components 5.21.3 → 5.23.0-rc.1
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/CHANGELOG.md +6 -0
- package/dist/Accordion/index.js +1 -1
- package/dist/Alert/index.js +1 -1
- package/dist/Badge/index.js +1 -1
- package/dist/Box/index.d.ts +17 -13
- package/dist/Button/index.js +1 -1
- package/dist/CHANGELOG.md +6 -0
- package/dist/Card/index.js +1 -1
- package/dist/Checkbox/index.js +1 -1
- package/dist/Chip/index.js +1 -1
- package/dist/FileUploader/index.js +1 -1
- package/dist/Icon/index.js +1 -1
- package/dist/IconButton/index.js +1 -1
- package/dist/Input/index.js +1 -1
- package/dist/Label/index.js +1 -1
- package/dist/Link/index.js +1 -1
- package/dist/List/index.js +1 -1
- package/dist/Modal/index.js +1 -1
- package/dist/MultiSelect/index.js +1 -1
- package/dist/Pagination/index.js +1 -1
- package/dist/ProgressBar/index.js +1 -1
- package/dist/Radio/index.js +1 -1
- package/dist/ScrollPane/index.js +1 -1
- package/dist/SegmentedControl/index.d.ts +17 -13
- package/dist/SegmentedControl/index.js +1 -1
- package/dist/Select/index.js +1 -1
- package/dist/Sidebar/index.js +1 -1
- package/dist/Stepper/index.js +1 -1
- package/dist/Tag/index.js +1 -1
- package/dist/Text/index.js +1 -1
- package/dist/Textarea/index.d.ts +1 -1
- package/dist/Textarea/index.js +1 -1
- package/dist/Thumbnail/index.js +1 -1
- package/dist/Title/index.js +1 -1
- package/dist/Toast/index.js +1 -1
- package/dist/Toggle/index.js +1 -1
- package/dist/Tooltip/index.js +1 -1
- package/dist/index.d.ts +18 -14
- package/dist/index.js +1 -1
- package/package.json +1 -1
- package/dist/Alert/index.d.ts +0 -60
- package/dist/Chip/index.d.ts +0 -59
- package/dist/FileUploader/index.d.ts +0 -98
- package/dist/Icon/index.d.ts +0 -120
- package/dist/Input/index.d.ts +0 -76
- package/dist/Link/index.d.ts +0 -115
- package/dist/Modal/index.d.ts +0 -232
- package/dist/MultiSelect/index.d.ts +0 -107
- package/dist/Pagination/index.d.ts +0 -41
- package/dist/Popover/index.d.ts +0 -165
- package/dist/Radio/index.d.ts +0 -62
- package/dist/ScrollPane/index.d.ts +0 -882
- package/dist/Select/index.d.ts +0 -81
- package/dist/Skeleton/index.d.ts +0 -31
- package/dist/Spinner/index.d.ts +0 -53
- package/dist/Stepper/index.d.ts +0 -862
- package/dist/Thumbnail/index.d.ts +0 -73
- package/dist/Toast/index.d.ts +0 -56
- package/dist/Tooltip/index.d.ts +0 -46
- package/dist/components-props.json +0 -1
package/dist/Select/index.d.ts
DELETED
|
@@ -1,81 +0,0 @@
|
|
|
1
|
-
// Generated by dts-bundle-generator v7.2.0
|
|
2
|
-
|
|
3
|
-
import React from 'react';
|
|
4
|
-
import { ComponentPropsWithRef, HTMLAttributes, OptgroupHTMLAttributes, OptionHTMLAttributes, ReactNode } from 'react';
|
|
5
|
-
|
|
6
|
-
export interface SelectGroupProperties {
|
|
7
|
-
/**
|
|
8
|
-
* Label for the option group.
|
|
9
|
-
*/
|
|
10
|
-
label: string;
|
|
11
|
-
/**
|
|
12
|
-
* The content of the option group.
|
|
13
|
-
* @TJS-type React.ReactNode
|
|
14
|
-
*/
|
|
15
|
-
children: ReactNode;
|
|
16
|
-
}
|
|
17
|
-
export type SelectGroupProps = SelectGroupProperties & OptgroupHTMLAttributes<HTMLOptGroupElement>;
|
|
18
|
-
export declare const SelectGroup: React.FC<SelectGroupProps>;
|
|
19
|
-
export interface SelectOptionProperties {
|
|
20
|
-
/**
|
|
21
|
-
* Label for the option.
|
|
22
|
-
*/
|
|
23
|
-
label: string;
|
|
24
|
-
/**
|
|
25
|
-
* Value of the option
|
|
26
|
-
*/
|
|
27
|
-
value: string;
|
|
28
|
-
}
|
|
29
|
-
export type SelectOptionProps = SelectOptionProperties & OptionHTMLAttributes<HTMLOptionElement>;
|
|
30
|
-
export declare const SelectOption: React.FC<SelectOptionProps>;
|
|
31
|
-
export interface SkeletonProperties {
|
|
32
|
-
/**
|
|
33
|
-
* Width of the skeleton. Useful when the skeleton is inside an inline element with no width of its own.
|
|
34
|
-
*/
|
|
35
|
-
width: string;
|
|
36
|
-
/**
|
|
37
|
-
* Height of the skeleton. Useful when you don't want to adapt the skeleton to a text element but for instance a card.
|
|
38
|
-
*/
|
|
39
|
-
height: string;
|
|
40
|
-
/**
|
|
41
|
-
* The border radius of the skeleton.
|
|
42
|
-
*/
|
|
43
|
-
borderRadius?: string;
|
|
44
|
-
/**
|
|
45
|
-
* This is an attribute used to identify a DOM node for testing purposes.
|
|
46
|
-
*/
|
|
47
|
-
"data-testid"?: string;
|
|
48
|
-
}
|
|
49
|
-
export type SkeletonProps = SkeletonProperties & HTMLAttributes<HTMLDivElement>;
|
|
50
|
-
export type SelectSkeletonProperties = Partial<Pick<SkeletonProps, "width" | "data-testid">>;
|
|
51
|
-
export type SelectSkeletonProps = SelectSkeletonProperties;
|
|
52
|
-
export declare const SelectSkeleton: React.FC<SelectSkeletonProps>;
|
|
53
|
-
export interface SelectComponents {
|
|
54
|
-
Group: typeof SelectGroup;
|
|
55
|
-
Option: typeof SelectOption;
|
|
56
|
-
Skeleton: typeof SelectSkeleton;
|
|
57
|
-
}
|
|
58
|
-
export interface SelectProperties {
|
|
59
|
-
/**
|
|
60
|
-
* The name of the wrapper element or the select element when native.
|
|
61
|
-
*/
|
|
62
|
-
name: string;
|
|
63
|
-
/**
|
|
64
|
-
* The id of the wrapper element or the select element when native.
|
|
65
|
-
*/
|
|
66
|
-
id: string;
|
|
67
|
-
/**
|
|
68
|
-
* The content of the select.
|
|
69
|
-
* @TJS-type React.ReactNode
|
|
70
|
-
*/
|
|
71
|
-
children: ReactNode;
|
|
72
|
-
/**
|
|
73
|
-
* Change the visual style of the select.
|
|
74
|
-
* @default neutral
|
|
75
|
-
*/
|
|
76
|
-
appearance?: "success" | "warning" | "danger" | "neutral";
|
|
77
|
-
}
|
|
78
|
-
export declare const Select: React.ForwardRefExoticComponent<SelectProperties & React.SelectHTMLAttributes<HTMLSelectElement> & React.InputHTMLAttributes<HTMLSelectElement> & React.RefAttributes<HTMLSelectElement>> & SelectComponents;
|
|
79
|
-
export type SelectProps = ComponentPropsWithRef<typeof Select>;
|
|
80
|
-
|
|
81
|
-
export {};
|
package/dist/Skeleton/index.d.ts
DELETED
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
// Generated by dts-bundle-generator v7.2.0
|
|
2
|
-
|
|
3
|
-
import React from 'react';
|
|
4
|
-
import { HTMLAttributes } from 'react';
|
|
5
|
-
|
|
6
|
-
export interface SkeletonProperties {
|
|
7
|
-
/**
|
|
8
|
-
* Width of the skeleton. Useful when the skeleton is inside an inline element with no width of its own.
|
|
9
|
-
*/
|
|
10
|
-
width: string;
|
|
11
|
-
/**
|
|
12
|
-
* Height of the skeleton. Useful when you don't want to adapt the skeleton to a text element but for instance a card.
|
|
13
|
-
*/
|
|
14
|
-
height: string;
|
|
15
|
-
/**
|
|
16
|
-
* The border radius of the skeleton.
|
|
17
|
-
*/
|
|
18
|
-
borderRadius?: string;
|
|
19
|
-
/**
|
|
20
|
-
* This is an attribute used to identify a DOM node for testing purposes.
|
|
21
|
-
*/
|
|
22
|
-
"data-testid"?: string;
|
|
23
|
-
}
|
|
24
|
-
export type SkeletonProps = SkeletonProperties & HTMLAttributes<HTMLDivElement>;
|
|
25
|
-
export declare const Skeleton: React.FC<SkeletonProps>;
|
|
26
|
-
|
|
27
|
-
export {
|
|
28
|
-
Skeleton as default,
|
|
29
|
-
};
|
|
30
|
-
|
|
31
|
-
export {};
|
package/dist/Spinner/index.d.ts
DELETED
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
// Generated by dts-bundle-generator v7.2.0
|
|
2
|
-
|
|
3
|
-
import React from 'react';
|
|
4
|
-
import { SVGAttributes } from 'react';
|
|
5
|
-
|
|
6
|
-
declare const spinner: {
|
|
7
|
-
sprinkle: ((props: {
|
|
8
|
-
color?: "currentColor" | "primary-interactive" | "primary-surface" | "primary-textLow" | "success-textLow" | "success-surface" | "danger-interactive" | "danger-surface" | "danger-textLow" | "neutral-background" | "neutral-interactive" | "neutral-surface" | "neutral-textLow" | "success-interactive" | undefined;
|
|
9
|
-
}) => string) & {
|
|
10
|
-
properties: Set<"color">;
|
|
11
|
-
};
|
|
12
|
-
properties: {
|
|
13
|
-
color: {
|
|
14
|
-
currentColor: string;
|
|
15
|
-
"primary-surface": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
16
|
-
"primary-interactive": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
17
|
-
"primary-textLow": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
18
|
-
"success-surface": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
19
|
-
"success-interactive": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
20
|
-
"success-textLow": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
21
|
-
"danger-surface": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
22
|
-
"danger-interactive": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
23
|
-
"danger-textLow": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
24
|
-
"neutral-background": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
25
|
-
"neutral-surface": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
26
|
-
"neutral-interactive": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
27
|
-
"neutral-textLow": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
28
|
-
};
|
|
29
|
-
};
|
|
30
|
-
classnames: {
|
|
31
|
-
base: string;
|
|
32
|
-
};
|
|
33
|
-
};
|
|
34
|
-
export interface SpinnerProperties {
|
|
35
|
-
/**
|
|
36
|
-
* Sets the width and height of the spinner.
|
|
37
|
-
* @default large
|
|
38
|
-
*/
|
|
39
|
-
size?: "small" | "medium" | "large" | number;
|
|
40
|
-
/**
|
|
41
|
-
* Set the color for the spinner SVG fill.
|
|
42
|
-
* @default primary-interactive
|
|
43
|
-
*/
|
|
44
|
-
color?: keyof typeof spinner.properties.color;
|
|
45
|
-
}
|
|
46
|
-
export type SpinnerProps = SpinnerProperties & SVGAttributes<SVGElement>;
|
|
47
|
-
export declare const Spinner: React.FC<SpinnerProps>;
|
|
48
|
-
|
|
49
|
-
export {
|
|
50
|
-
Spinner as default,
|
|
51
|
-
};
|
|
52
|
-
|
|
53
|
-
export {};
|