@nimbus-ds/components 5.29.0-rc.1 → 5.29.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.
- package/CHANGELOG.md +1 -1
- package/dist/Accordion/index.d.ts +136 -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/Badge/index.d.ts +55 -0
- package/dist/Badge/index.js +1 -1
- package/dist/Box/index.d.ts +779 -0
- package/dist/Button/index.d.ts +83 -0
- package/dist/Button/index.js +1 -1
- package/dist/CHANGELOG.md +1 -1
- package/dist/Card/index.d.ts +153 -0
- package/dist/Card/index.js +1 -1
- package/dist/Checkbox/index.d.ts +62 -0
- package/dist/Checkbox/index.js +1 -1
- package/dist/Chip/index.d.ts +59 -0
- package/dist/Chip/index.js +1 -1
- package/dist/Collapsible/index.d.ts +45 -0
- package/dist/Divider/index.d.ts +30 -0
- 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 +170 -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/Label/index.d.ts +55 -0
- package/dist/Label/index.js +1 -1
- package/dist/Link/index.d.ts +115 -0
- package/dist/Link/index.js +1 -1
- package/dist/List/index.d.ts +75 -0
- package/dist/List/index.js +1 -1
- 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/ProgressBar/index.d.ts +57 -0
- package/dist/ProgressBar/index.js +1 -1
- package/dist/Radio/index.d.ts +62 -0
- package/dist/Radio/index.js +1 -1
- package/dist/ScrollPane/index.d.ts +893 -0
- package/dist/ScrollPane/index.js +1 -1
- package/dist/SegmentedControl/index.d.ts +879 -0
- package/dist/SegmentedControl/index.js +1 -1
- package/dist/Select/index.d.ts +87 -0
- package/dist/Select/index.js +1 -1
- package/dist/Sidebar/index.d.ts +389 -0
- package/dist/Sidebar/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 +873 -0
- package/dist/Stepper/index.js +1 -1
- package/dist/Table/index.d.ts +123 -0
- package/dist/Tabs/index.d.ts +92 -0
- package/dist/Tag/index.d.ts +51 -0
- package/dist/Tag/index.js +1 -1
- package/dist/Text/index.d.ts +508 -0
- package/dist/Text/index.js +1 -1
- package/dist/Textarea/index.d.ts +71 -0
- package/dist/Textarea/index.js +1 -1
- package/dist/Thumbnail/index.d.ts +73 -0
- package/dist/Thumbnail/index.js +1 -1
- package/dist/Title/index.d.ts +164 -0
- package/dist/Title/index.js +1 -1
- package/dist/Toast/index.d.ts +56 -0
- package/dist/Toast/index.js +1 -1
- package/dist/Toggle/index.d.ts +48 -0
- package/dist/Toggle/index.js +1 -1
- package/dist/Tooltip/index.d.ts +46 -0
- package/dist/Tooltip/index.js +1 -1
- package/dist/components-props.json +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
// Generated by dts-bundle-generator v7.2.0
|
|
2
|
+
|
|
3
|
+
import React from 'react';
|
|
4
|
+
import { ButtonHTMLAttributes, ComponentPropsWithRef, HTMLAttributes, InputHTMLAttributes, ReactNode } from 'react';
|
|
5
|
+
|
|
6
|
+
export type InputIconProperties = Required<Pick<InputBaseProps, "appendPosition">>;
|
|
7
|
+
export type InputIconProps = InputIconProperties & ButtonHTMLAttributes<HTMLButtonElement>;
|
|
8
|
+
export declare const InputIcon: React.FC<InputIconProps>;
|
|
9
|
+
export type InputPasswordProperties = Pick<InputBaseProps, "appearance" | "disabled" | "aiGenerated">;
|
|
10
|
+
export declare const InputPassword: React.ForwardRefExoticComponent<InputPasswordProperties & React.InputHTMLAttributes<HTMLInputElement> & React.RefAttributes<HTMLInputElement>>;
|
|
11
|
+
export type InputPasswordProps = ComponentPropsWithRef<typeof InputPassword>;
|
|
12
|
+
export type InputSearchProperties = Pick<InputBaseProps, "appearance" | "disabled" | "aiGenerated">;
|
|
13
|
+
export declare const InputSearch: React.ForwardRefExoticComponent<InputSearchProperties & React.InputHTMLAttributes<HTMLInputElement> & React.RefAttributes<HTMLInputElement>>;
|
|
14
|
+
export type InputSearchProps = ComponentPropsWithRef<typeof InputSearch>;
|
|
15
|
+
export interface SkeletonProperties {
|
|
16
|
+
/**
|
|
17
|
+
* Width of the skeleton. Useful when the skeleton is inside an inline element with no width of its own.
|
|
18
|
+
*/
|
|
19
|
+
width: string;
|
|
20
|
+
/**
|
|
21
|
+
* Height of the skeleton. Useful when you don't want to adapt the skeleton to a text element but for instance a card.
|
|
22
|
+
*/
|
|
23
|
+
height: string;
|
|
24
|
+
/**
|
|
25
|
+
* The border radius of the skeleton.
|
|
26
|
+
*/
|
|
27
|
+
borderRadius?: string;
|
|
28
|
+
/**
|
|
29
|
+
* This is an attribute used to identify a DOM node for testing purposes.
|
|
30
|
+
*/
|
|
31
|
+
"data-testid"?: string;
|
|
32
|
+
}
|
|
33
|
+
export type SkeletonProps = SkeletonProperties & HTMLAttributes<HTMLDivElement>;
|
|
34
|
+
export type InputSkeletonProperties = Partial<Pick<SkeletonProps, "width" | "data-testid">>;
|
|
35
|
+
export type InputSkeletonProps = InputSkeletonProperties;
|
|
36
|
+
export declare const InputSkeleton: React.FC<InputSkeletonProps>;
|
|
37
|
+
export interface InputComponents {
|
|
38
|
+
Password: typeof InputPassword;
|
|
39
|
+
Search: typeof InputSearch;
|
|
40
|
+
Skeleton: typeof InputSkeleton;
|
|
41
|
+
}
|
|
42
|
+
export interface InputProperties {
|
|
43
|
+
/**
|
|
44
|
+
* Change the visual style of the input.
|
|
45
|
+
* @default neutral
|
|
46
|
+
*/
|
|
47
|
+
appearance?: "neutral" | "success" | "warning" | "danger" | "ai-generative";
|
|
48
|
+
/**
|
|
49
|
+
* Highlights the field to indicate its value was generated by AI.
|
|
50
|
+
* Applies AI gradient border, white background and an AI focus ring.
|
|
51
|
+
*/
|
|
52
|
+
aiGenerated?: boolean;
|
|
53
|
+
/**
|
|
54
|
+
* Disables the input, disallowing user interaction.
|
|
55
|
+
*/
|
|
56
|
+
disabled?: boolean;
|
|
57
|
+
/**
|
|
58
|
+
* Sent icon display position
|
|
59
|
+
* @default start
|
|
60
|
+
*/
|
|
61
|
+
appendPosition?: "end" | "start";
|
|
62
|
+
/**
|
|
63
|
+
* SVG icon to be displayed on input.
|
|
64
|
+
* @TJS-type React.ReactNode
|
|
65
|
+
*/
|
|
66
|
+
append?: ReactNode;
|
|
67
|
+
/**
|
|
68
|
+
* This is an attribute used to identify a DOM node for testing purposes.
|
|
69
|
+
*/
|
|
70
|
+
"data-testid"?: string;
|
|
71
|
+
}
|
|
72
|
+
export type InputBaseProps = InputProperties & InputHTMLAttributes<HTMLInputElement>;
|
|
73
|
+
export declare const Input: React.ForwardRefExoticComponent<InputProperties & React.InputHTMLAttributes<HTMLInputElement> & React.RefAttributes<HTMLInputElement>> & InputComponents;
|
|
74
|
+
export type InputProps = ComponentPropsWithRef<typeof Input>;
|
|
75
|
+
|
|
76
|
+
export {};
|