@bigbinary/neetoui 4.0.3 → 4.0.5
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 +8 -0
- package/index.d.ts +22 -14
- package/index.js +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -23,6 +23,14 @@ Prefix the change with one of these keywords:
|
|
|
23
23
|
- *Fixed*: for any bug fixes.
|
|
24
24
|
- *Security*: in case of vulnerabilities.
|
|
25
25
|
|
|
26
|
+
## 4.0.5 - 2022-09-20
|
|
27
|
+
|
|
28
|
+
- Added: type support for data-cy props in all components that are forward referenced to HTML native elements.
|
|
29
|
+
|
|
30
|
+
## 4.0.4 - 2022-09-16
|
|
31
|
+
|
|
32
|
+
- Changed: Allowed `hideOnSinglePage` override in *Table* `paginationProps`
|
|
33
|
+
|
|
26
34
|
## 4.0.3 - 2022-09-13
|
|
27
35
|
|
|
28
36
|
- Added: Storybook addon that lets users toggle between dark and light mode
|
package/index.d.ts
CHANGED
|
@@ -16,7 +16,7 @@ export interface AccordionItemProps {
|
|
|
16
16
|
titleProps?: React.DetailedHTMLProps<
|
|
17
17
|
React.HTMLAttributes<HTMLDivElement>,
|
|
18
18
|
HTMLDivElement
|
|
19
|
-
|
|
19
|
+
> & { [key: string]: any };
|
|
20
20
|
iconProps?: React.SVGProps<SVGSVGElement>;
|
|
21
21
|
}
|
|
22
22
|
|
|
@@ -64,7 +64,7 @@ export interface RadioProps {
|
|
|
64
64
|
export type RadioItemProps = { label: string } & React.DetailedHTMLProps<
|
|
65
65
|
React.InputHTMLAttributes<HTMLInputElement>,
|
|
66
66
|
HTMLInputElement
|
|
67
|
-
|
|
67
|
+
> & { [key: string]: any };
|
|
68
68
|
|
|
69
69
|
export type TabProps = {
|
|
70
70
|
size?: "large" | "small";
|
|
@@ -73,7 +73,7 @@ export type TabProps = {
|
|
|
73
73
|
} & React.DetailedHTMLProps<
|
|
74
74
|
React.HTMLAttributes<HTMLDivElement>,
|
|
75
75
|
HTMLDivElement
|
|
76
|
-
|
|
76
|
+
> & { [key: string]: any };
|
|
77
77
|
|
|
78
78
|
export type TabItemProps<S> = {
|
|
79
79
|
active?: boolean;
|
|
@@ -126,7 +126,7 @@ export type AvatarProps = {
|
|
|
126
126
|
} & React.DetailedHTMLProps<
|
|
127
127
|
React.HTMLAttributes<HTMLSpanElement>,
|
|
128
128
|
HTMLSpanElement
|
|
129
|
-
|
|
129
|
+
> & { [key: string]: any };
|
|
130
130
|
|
|
131
131
|
export interface ButtonProps {
|
|
132
132
|
onClick?: React.MouseEventHandler<HTMLButtonElement>;
|
|
@@ -154,7 +154,7 @@ export type CalloutProps = {
|
|
|
154
154
|
} & React.DetailedHTMLProps<
|
|
155
155
|
React.HTMLAttributes<HTMLDivElement>,
|
|
156
156
|
HTMLDivElement
|
|
157
|
-
|
|
157
|
+
> & { [key: string]: any };
|
|
158
158
|
|
|
159
159
|
export type CheckboxProps = {
|
|
160
160
|
label?: string;
|
|
@@ -165,7 +165,7 @@ export type CheckboxProps = {
|
|
|
165
165
|
} & React.DetailedHTMLProps<
|
|
166
166
|
React.InputHTMLAttributes<HTMLInputElement>,
|
|
167
167
|
HTMLInputElement
|
|
168
|
-
|
|
168
|
+
> & { [key: string]: any };
|
|
169
169
|
|
|
170
170
|
export type DatePickerProps = {
|
|
171
171
|
value: any;
|
|
@@ -233,7 +233,7 @@ export interface DropdownProps {
|
|
|
233
233
|
ulProps?: React.DetailedHTMLProps<
|
|
234
234
|
React.HTMLAttributes<HTMLUListElement>,
|
|
235
235
|
HTMLUListElement
|
|
236
|
-
|
|
236
|
+
> & { [key: string]: any };
|
|
237
237
|
[key: string]: any;
|
|
238
238
|
}
|
|
239
239
|
|
|
@@ -269,7 +269,7 @@ export type InputProps = {
|
|
|
269
269
|
} & React.DetailedHTMLProps<
|
|
270
270
|
React.InputHTMLAttributes<HTMLInputElement>,
|
|
271
271
|
HTMLInputElement
|
|
272
|
-
|
|
272
|
+
> & { [key: string]: any };
|
|
273
273
|
|
|
274
274
|
export type LabelProps = {
|
|
275
275
|
className?: string;
|
|
@@ -283,12 +283,12 @@ export type LabelProps = {
|
|
|
283
283
|
} & React.DetailedHTMLProps<
|
|
284
284
|
React.LabelHTMLAttributes<HTMLLabelElement>,
|
|
285
285
|
HTMLLabelElement
|
|
286
|
-
|
|
286
|
+
> & { [key: string]: any };
|
|
287
287
|
|
|
288
288
|
export type PageLoaderProps = { text?: string } & React.DetailedHTMLProps<
|
|
289
289
|
React.HTMLAttributes<HTMLDivElement>,
|
|
290
290
|
HTMLDivElement
|
|
291
|
-
|
|
291
|
+
> & { [key: string]: any };
|
|
292
292
|
|
|
293
293
|
export interface PaginationProps {
|
|
294
294
|
pageSize: number;
|
|
@@ -330,7 +330,7 @@ export type SwitchProps = {
|
|
|
330
330
|
} & React.DetailedHTMLProps<
|
|
331
331
|
React.InputHTMLAttributes<HTMLInputElement>,
|
|
332
332
|
HTMLInputElement
|
|
333
|
-
|
|
333
|
+
> & { [key: string]: any };
|
|
334
334
|
|
|
335
335
|
export interface TableProps {
|
|
336
336
|
rowData: any[];
|
|
@@ -369,7 +369,13 @@ export interface TagProps {
|
|
|
369
369
|
disabled?: boolean;
|
|
370
370
|
className?: string;
|
|
371
371
|
style?: "success" | "warning" | "danger" | "primary" | "secondary" | "info";
|
|
372
|
-
indicatorStyle?:
|
|
372
|
+
indicatorStyle?:
|
|
373
|
+
| "success"
|
|
374
|
+
| "warning"
|
|
375
|
+
| "danger"
|
|
376
|
+
| "primary"
|
|
377
|
+
| "secondary"
|
|
378
|
+
| "info";
|
|
373
379
|
/** @deprecated Prop deprecated. Use `style` prop instead*/
|
|
374
380
|
color: string;
|
|
375
381
|
/** @deprecated Prop deprecated. Use `indicatorStyle` prop instead*/
|
|
@@ -389,7 +395,7 @@ export type TextareaProps = {
|
|
|
389
395
|
} & React.DetailedHTMLProps<
|
|
390
396
|
React.TextareaHTMLAttributes<HTMLTextAreaElement>,
|
|
391
397
|
HTMLTextAreaElement
|
|
392
|
-
|
|
398
|
+
> & { [key: string]: any };
|
|
393
399
|
|
|
394
400
|
export type TimePickerProps = {
|
|
395
401
|
className?: string;
|
|
@@ -495,7 +501,9 @@ export type TypographyProps = {
|
|
|
495
501
|
| "revert"
|
|
496
502
|
| "unset";
|
|
497
503
|
className?: string;
|
|
498
|
-
} & React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement
|
|
504
|
+
} & React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & {
|
|
505
|
+
[key: string]: any;
|
|
506
|
+
};
|
|
499
507
|
|
|
500
508
|
// components
|
|
501
509
|
|