@nimbus-ds/components 5.23.0-rc.1 → 5.24.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 +14 -0
- package/dist/Accordion/index.js +1 -1
- package/dist/Alert/index.d.ts +60 -0
- package/dist/Alert/index.js +1 -1
- package/dist/Box/index.d.ts +6 -3
- package/dist/Button/index.d.ts +1 -1
- package/dist/CHANGELOG.md +14 -0
- package/dist/Chip/index.d.ts +59 -0
- package/dist/Chip/index.js +1 -1
- package/dist/FileUploader/index.d.ts +98 -0
- package/dist/FileUploader/index.js +1 -1
- package/dist/Icon/index.d.ts +120 -0
- package/dist/Icon/index.js +1 -1
- package/dist/IconButton/index.d.ts +7 -0
- package/dist/IconButton/index.js +1 -1
- package/dist/Input/index.d.ts +76 -0
- package/dist/Input/index.js +1 -1
- package/dist/Link/index.d.ts +115 -0
- package/dist/Modal/index.d.ts +232 -0
- package/dist/Modal/index.js +1 -1
- package/dist/MultiSelect/index.d.ts +107 -0
- package/dist/MultiSelect/index.js +1 -1
- package/dist/Pagination/index.d.ts +41 -0
- package/dist/Pagination/index.js +1 -1
- package/dist/Popover/index.d.ts +165 -0
- package/dist/Radio/index.d.ts +62 -0
- package/dist/ScrollPane/index.d.ts +889 -0
- package/dist/SegmentedControl/index.d.ts +6 -3
- package/dist/Select/index.d.ts +81 -0
- package/dist/Select/index.js +1 -1
- package/dist/Skeleton/index.d.ts +31 -0
- package/dist/Spinner/index.d.ts +53 -0
- package/dist/Stepper/index.d.ts +869 -0
- package/dist/Stepper/index.js +1 -1
- package/dist/Thumbnail/index.d.ts +73 -0
- package/dist/Thumbnail/index.js +1 -1
- package/dist/Toast/index.d.ts +56 -0
- package/dist/Toast/index.js +1 -1
- package/dist/Tooltip/index.d.ts +46 -0
- package/dist/index.d.ts +14 -4
- package/dist/index.js +1 -1
- package/package.json +1 -1
|
@@ -119,7 +119,9 @@ declare const propertiesBox: {
|
|
|
119
119
|
"warning-surface": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
120
120
|
"warning-surfaceHighlight": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
121
121
|
"warning-textLow": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
122
|
-
"danger-interactive": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
122
|
+
"danger-interactive": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`; /**
|
|
123
|
+
* The min height property specifies the height of a box's content area.
|
|
124
|
+
*/
|
|
123
125
|
"danger-surface": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
124
126
|
"danger-surfaceHighlight": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
125
127
|
"danger-textLow": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
@@ -150,7 +152,9 @@ declare const propertiesBox: {
|
|
|
150
152
|
"warning-surface": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
151
153
|
"warning-surfaceHighlight": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
152
154
|
"warning-textLow": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
153
|
-
"danger-interactive": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
155
|
+
"danger-interactive": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`; /**
|
|
156
|
+
* The min height property specifies the height of a box's content area.
|
|
157
|
+
*/
|
|
154
158
|
"danger-surface": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
155
159
|
"danger-surfaceHighlight": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
156
160
|
"danger-textLow": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
@@ -180,7 +184,6 @@ declare const propertiesBox: {
|
|
|
180
184
|
"neutral-surfaceDisabled": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
181
185
|
"neutral-surfaceHighlight": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
182
186
|
transparent: string;
|
|
183
|
-
"ai-generative-interactive": string;
|
|
184
187
|
};
|
|
185
188
|
borderRadius: {
|
|
186
189
|
"0-5": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
@@ -0,0 +1,81 @@
|
|
|
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 {};
|