@nimbus-ds/components 5.21.2-rc.3 → 5.21.2
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.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 +768 -0
- package/dist/Button/index.d.ts +83 -0
- package/dist/Button/index.js +1 -1
- package/dist/CHANGELOG.md +6 -0
- 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/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 +163 -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 +882 -0
- package/dist/ScrollPane/index.js +1 -1
- package/dist/SegmentedControl/index.d.ts +868 -0
- package/dist/SegmentedControl/index.js +1 -1
- package/dist/Select/index.d.ts +81 -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 +862 -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 +495 -0
- package/dist/Text/index.js +1 -1
- package/dist/Textarea/index.d.ts +50 -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.js +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
// Generated by dts-bundle-generator v7.2.0
|
|
2
|
+
|
|
3
|
+
import React from 'react';
|
|
4
|
+
import { HTMLAttributes, ReactNode } 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 type AlertSkeletonProperties = Partial<Pick<SkeletonProps, "width" | "height" | "data-testid">>;
|
|
26
|
+
export type AlertSkeletonProps = AlertSkeletonProperties;
|
|
27
|
+
export declare const AlertSkeleton: React.FC<AlertSkeletonProps>;
|
|
28
|
+
export interface AlertComponents {
|
|
29
|
+
Skeleton: typeof AlertSkeleton;
|
|
30
|
+
}
|
|
31
|
+
export interface AlertProperties {
|
|
32
|
+
/**
|
|
33
|
+
* The content for the title of the alert.
|
|
34
|
+
*/
|
|
35
|
+
title?: string;
|
|
36
|
+
/**
|
|
37
|
+
* Change the visual style of the alert.
|
|
38
|
+
* @default neutral
|
|
39
|
+
*/
|
|
40
|
+
appearance?: "primary" | "success" | "warning" | "danger" | "neutral";
|
|
41
|
+
/**
|
|
42
|
+
* The content of the alert.
|
|
43
|
+
* @TJS-type React.ReactNode
|
|
44
|
+
*/
|
|
45
|
+
children: ReactNode;
|
|
46
|
+
/**
|
|
47
|
+
* Function to be passed on actioning the dismiss button.
|
|
48
|
+
* @TJS-type () => void;
|
|
49
|
+
*/
|
|
50
|
+
onRemove?: () => void;
|
|
51
|
+
/**
|
|
52
|
+
* Determines if the alert is shown or not.
|
|
53
|
+
* @default true
|
|
54
|
+
*/
|
|
55
|
+
show?: boolean;
|
|
56
|
+
}
|
|
57
|
+
export type AlertProps = AlertProperties & HTMLAttributes<HTMLElement>;
|
|
58
|
+
export declare const Alert: React.FC<AlertProps> & AlertComponents;
|
|
59
|
+
|
|
60
|
+
export {};
|