@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
package/CHANGELOG.md
CHANGED
|
@@ -6,7 +6,7 @@ Nimbus is an open-source Design System created by Tiendanube / Nuvemshop's team
|
|
|
6
6
|
|
|
7
7
|
#### 🎉 New features
|
|
8
8
|
|
|
9
|
-
- `Text`: Added `ai-generative` appearance to highlight AI-generated content using Nimbus AI gradient style. ([#
|
|
9
|
+
- `Text`: Added `ai-generative` appearance to highlight AI-generated content using Nimbus AI gradient style. ([#363](https://github.com/TiendaNube/nimbus-design-system/pull/363) by [@joacotornello](https://github.com/joacotornello))
|
|
10
10
|
|
|
11
11
|
## 2025-09-25 `5.28.0`
|
|
12
12
|
|
|
@@ -0,0 +1,136 @@
|
|
|
1
|
+
// Generated by dts-bundle-generator v7.2.0
|
|
2
|
+
|
|
3
|
+
import React from 'react';
|
|
4
|
+
import { HTMLAttributes, ReactNode } from 'react';
|
|
5
|
+
|
|
6
|
+
declare const accordion: {
|
|
7
|
+
sprinkle: ((props: {
|
|
8
|
+
borderTop?: "base" | "none" | undefined;
|
|
9
|
+
borderBottom?: "base" | "none" | undefined;
|
|
10
|
+
padding?: "base" | "none" | undefined;
|
|
11
|
+
}) => string) & {
|
|
12
|
+
properties: Set<"borderBottom" | "borderTop" | "padding">;
|
|
13
|
+
};
|
|
14
|
+
properties: {
|
|
15
|
+
borderTop: {
|
|
16
|
+
none: string;
|
|
17
|
+
base: string;
|
|
18
|
+
};
|
|
19
|
+
borderBottom: {
|
|
20
|
+
none: string;
|
|
21
|
+
base: string;
|
|
22
|
+
};
|
|
23
|
+
padding: {
|
|
24
|
+
none: string;
|
|
25
|
+
base: string;
|
|
26
|
+
};
|
|
27
|
+
};
|
|
28
|
+
classnames: {
|
|
29
|
+
header: string;
|
|
30
|
+
header__content: string;
|
|
31
|
+
header__description: string;
|
|
32
|
+
header__title: string;
|
|
33
|
+
header_active: string;
|
|
34
|
+
body: string;
|
|
35
|
+
};
|
|
36
|
+
};
|
|
37
|
+
export interface AccordionBodyProperties {
|
|
38
|
+
/**
|
|
39
|
+
* The content of the accordion body.
|
|
40
|
+
* @TJS-type React.ReactNode
|
|
41
|
+
*/
|
|
42
|
+
children: ReactNode;
|
|
43
|
+
/**
|
|
44
|
+
* The borderBottom property defines a lower border of the accordion body.
|
|
45
|
+
* @default none
|
|
46
|
+
*/
|
|
47
|
+
borderBottom?: keyof typeof accordion.properties.borderBottom;
|
|
48
|
+
/**
|
|
49
|
+
* The borderTop property defines a top border of the accordion body.
|
|
50
|
+
* @default none
|
|
51
|
+
*/
|
|
52
|
+
borderTop?: keyof typeof accordion.properties.borderTop;
|
|
53
|
+
/**
|
|
54
|
+
* Padding properties are used to generate space around the content area of an Accordion.Body..
|
|
55
|
+
* @default base
|
|
56
|
+
*/
|
|
57
|
+
padding?: keyof typeof accordion.properties.padding;
|
|
58
|
+
}
|
|
59
|
+
export type AccordionBodyProps = AccordionBodyProperties & HTMLAttributes<HTMLElement>;
|
|
60
|
+
export declare const AccordionBody: React.FC<AccordionBodyProps>;
|
|
61
|
+
export interface AccordionItemProperties {
|
|
62
|
+
/**
|
|
63
|
+
* The content of the accordion body.
|
|
64
|
+
* @TJS-type React.ReactNode
|
|
65
|
+
*/
|
|
66
|
+
children: ReactNode;
|
|
67
|
+
/**
|
|
68
|
+
* Unique indicator to identify accordion items
|
|
69
|
+
*/
|
|
70
|
+
index: string;
|
|
71
|
+
/**
|
|
72
|
+
* This is an attribute used to identify a DOM node for testing purposes.
|
|
73
|
+
*/
|
|
74
|
+
testId?: string;
|
|
75
|
+
}
|
|
76
|
+
export type AccordionItemProps = AccordionItemProperties;
|
|
77
|
+
export declare const AccordionItem: React.FC<AccordionItemProps>;
|
|
78
|
+
export interface AccordionHeaderProperties {
|
|
79
|
+
/**
|
|
80
|
+
* The content of the accordion header.
|
|
81
|
+
* @TJS-type React.ReactNode | ((data: { selected: string; index: string }) => React.ReactNode);
|
|
82
|
+
*/
|
|
83
|
+
children?: ReactNode | ((data: {
|
|
84
|
+
selected: string;
|
|
85
|
+
index: string;
|
|
86
|
+
}) => ReactNode);
|
|
87
|
+
/**
|
|
88
|
+
* The title to display in the accordion header.
|
|
89
|
+
*/
|
|
90
|
+
title?: string;
|
|
91
|
+
/**
|
|
92
|
+
* The subtitle to display in the accordion header.
|
|
93
|
+
*/
|
|
94
|
+
subtitle?: string;
|
|
95
|
+
/**
|
|
96
|
+
* The SVG contents to display in the accordion header.
|
|
97
|
+
* @TJS-type React.ReactNode
|
|
98
|
+
*/
|
|
99
|
+
icon?: ReactNode;
|
|
100
|
+
/**
|
|
101
|
+
* Removes the arrow icon that shows if the accordion item is open or not which makes it possible to create a custom indicator.
|
|
102
|
+
* @default false
|
|
103
|
+
*/
|
|
104
|
+
noIconToggle?: boolean;
|
|
105
|
+
/**
|
|
106
|
+
* The borderTop property defines a lower border of the accordion header.
|
|
107
|
+
* @default base
|
|
108
|
+
*/
|
|
109
|
+
borderTop?: keyof typeof accordion.properties.borderTop;
|
|
110
|
+
/**
|
|
111
|
+
* The borderBottom property defines a lower border of the accordion header.
|
|
112
|
+
*/
|
|
113
|
+
borderBottom?: keyof typeof accordion.properties.borderBottom;
|
|
114
|
+
}
|
|
115
|
+
export type AccordionHeaderProps = AccordionHeaderProperties & Omit<HTMLAttributes<HTMLElement>, "children">;
|
|
116
|
+
export declare const AccordionHeader: React.FC<AccordionHeaderProps>;
|
|
117
|
+
export interface AccordionComponents {
|
|
118
|
+
Body: typeof AccordionBody;
|
|
119
|
+
Item: typeof AccordionItem;
|
|
120
|
+
Header: typeof AccordionHeader;
|
|
121
|
+
}
|
|
122
|
+
export interface AccordionProperties {
|
|
123
|
+
/**
|
|
124
|
+
* The content of the accordion.
|
|
125
|
+
* @TJS-type React.ReactNode
|
|
126
|
+
*/
|
|
127
|
+
children?: ReactNode;
|
|
128
|
+
/**
|
|
129
|
+
* Informs which accordion item is open by default, this value must be the same as informed in the index of each item
|
|
130
|
+
*/
|
|
131
|
+
selectedDefault?: string;
|
|
132
|
+
}
|
|
133
|
+
export type AccordionProps = AccordionProperties & HTMLAttributes<HTMLElement>;
|
|
134
|
+
export declare const Accordion: React.FC<AccordionProps> & AccordionComponents;
|
|
135
|
+
|
|
136
|
+
export {};
|