@keeper-security/keeper-js-ui 0.8.0 → 0.9.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 +14 -0
- package/dist/index.es.d.ts +77 -32
- package/dist/index.es.js +2666 -2458
- package/dist/index.umd.js +18 -18
- package/dist/style.css +1 -1
- package/package.json +31 -30
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.9.0](https://github.com/Keeper-Security/keeper-js-ui/compare/v0.8.0...v0.9.0) (2025-04-22)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* add List component ([#212](https://github.com/Keeper-Security/keeper-js-ui/issues/212)) ([485374e](https://github.com/Keeper-Security/keeper-js-ui/commit/485374e6143d2a4a980ce1bd1829af4bca6ba26a))
|
|
9
|
+
* provide context for internal component labels ([#214](https://github.com/Keeper-Security/keeper-js-ui/issues/214)) ([e2a42c8](https://github.com/Keeper-Security/keeper-js-ui/commit/e2a42c8c21e185250777aebf6359f8f7bcb0d6b3)), closes [#209](https://github.com/Keeper-Security/keeper-js-ui/issues/209)
|
|
10
|
+
* **Tooltip:** set defaults to avoid persistent content ([#192](https://github.com/Keeper-Security/keeper-js-ui/issues/192)) ([55355af](https://github.com/Keeper-Security/keeper-js-ui/commit/55355afcfb279246400e34883810df3689181b9a))
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### Bug Fixes
|
|
14
|
+
|
|
15
|
+
* update Toast styles to match Web Vault ([#208](https://github.com/Keeper-Security/keeper-js-ui/issues/208)) ([afe47d1](https://github.com/Keeper-Security/keeper-js-ui/commit/afe47d1466dd3cdb77e0278ed8d89e768df589ef))
|
|
16
|
+
|
|
3
17
|
## [0.8.0](https://github.com/Keeper-Security/keeper-js-ui/compare/v0.7.0...v0.8.0) (2025-03-14)
|
|
4
18
|
|
|
5
19
|
|
package/dist/index.es.d.ts
CHANGED
|
@@ -65,20 +65,20 @@ declare interface BoxProps extends React_2.HTMLAttributes<HTMLDivElement>, Varia
|
|
|
65
65
|
}
|
|
66
66
|
|
|
67
67
|
declare const boxVariants: (props?: ({
|
|
68
|
-
p?: 0 | "px" | 16 | 1 | 2 | 3 | 4 | 0.5 | 1.5 | 2.5 | 3.5 | 5 | 6 | 7 | 8 | 9 | 10 | 11 |
|
|
69
|
-
pb?: 0 | "px" | 16 | 1 | 2 | 3 | 4 | 0.5 | 1.5 | 2.5 | 3.5 | 5 | 6 | 7 | 8 | 9 | 10 | 11 |
|
|
70
|
-
pe?: 0 | "px" | 16 | 1 | 2 | 3 | 4 | 0.5 | 1.5 | 2.5 | 3.5 | 5 | 6 | 7 | 8 | 9 | 10 | 11 |
|
|
71
|
-
ps?: 0 | "px" | 16 | 1 | 2 | 3 | 4 | 0.5 | 1.5 | 2.5 | 3.5 | 5 | 6 | 7 | 8 | 9 | 10 | 11 |
|
|
72
|
-
pt?: 0 | "px" | 16 | 1 | 2 | 3 | 4 | 0.5 | 1.5 | 2.5 | 3.5 | 5 | 6 | 7 | 8 | 9 | 10 | 11 |
|
|
73
|
-
px?: 0 | "px" | 16 | 1 | 2 | 3 | 4 | 0.5 | 1.5 | 2.5 | 3.5 | 5 | 6 | 7 | 8 | 9 | 10 | 11 |
|
|
74
|
-
py?: 0 | "px" | 16 | 1 | 2 | 3 | 4 | 0.5 | 1.5 | 2.5 | 3.5 | 5 | 6 | 7 | 8 | 9 | 10 | 11 |
|
|
75
|
-
m?: 0 | "px" | 16 | 1 | 2 | "auto" | 3 | 4 | 0.5 | 1.5 | 2.5 | 3.5 | 5 | 6 | 7 | 8 | 9 | 10 | 11 |
|
|
76
|
-
mb?: 0 | "px" | 16 | 1 | 2 | "auto" | 3 | 4 | 0.5 | 1.5 | 2.5 | 3.5 | 5 | 6 | 7 | 8 | 9 | 10 | 11 |
|
|
77
|
-
me?: 0 | "px" | 16 | 1 | 2 | "auto" | 3 | 4 | 0.5 | 1.5 | 2.5 | 3.5 | 5 | 6 | 7 | 8 | 9 | 10 | 11 |
|
|
78
|
-
ms?: 0 | "px" | 16 | 1 | 2 | "auto" | 3 | 4 | 0.5 | 1.5 | 2.5 | 3.5 | 5 | 6 | 7 | 8 | 9 | 10 | 11 |
|
|
79
|
-
mt?: 0 | "px" | 16 | 1 | 2 | "auto" | 3 | 4 | 0.5 | 1.5 | 2.5 | 3.5 | 5 | 6 | 7 | 8 | 9 | 10 | 11 |
|
|
80
|
-
mx?: 0 | "px" | 16 | 1 | 2 | "auto" | 3 | 4 | 0.5 | 1.5 | 2.5 | 3.5 | 5 | 6 | 7 | 8 | 9 | 10 | 11 |
|
|
81
|
-
my?: 0 | "px" | 16 | 1 | 2 | "auto" | 3 | 4 | 0.5 | 1.5 | 2.5 | 3.5 | 5 | 6 | 7 | 8 | 9 | 10 | 11 |
|
|
68
|
+
p?: 0 | "px" | 16 | 1 | 2 | 3 | 4 | 12 | 0.5 | 1.5 | 2.5 | 3.5 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 14 | 20 | 24 | 28 | 32 | 36 | 40 | 44 | 48 | 52 | 56 | 60 | 64 | 72 | 80 | 96 | null | undefined;
|
|
69
|
+
pb?: 0 | "px" | 16 | 1 | 2 | 3 | 4 | 12 | 0.5 | 1.5 | 2.5 | 3.5 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 14 | 20 | 24 | 28 | 32 | 36 | 40 | 44 | 48 | 52 | 56 | 60 | 64 | 72 | 80 | 96 | null | undefined;
|
|
70
|
+
pe?: 0 | "px" | 16 | 1 | 2 | 3 | 4 | 12 | 0.5 | 1.5 | 2.5 | 3.5 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 14 | 20 | 24 | 28 | 32 | 36 | 40 | 44 | 48 | 52 | 56 | 60 | 64 | 72 | 80 | 96 | null | undefined;
|
|
71
|
+
ps?: 0 | "px" | 16 | 1 | 2 | 3 | 4 | 12 | 0.5 | 1.5 | 2.5 | 3.5 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 14 | 20 | 24 | 28 | 32 | 36 | 40 | 44 | 48 | 52 | 56 | 60 | 64 | 72 | 80 | 96 | null | undefined;
|
|
72
|
+
pt?: 0 | "px" | 16 | 1 | 2 | 3 | 4 | 12 | 0.5 | 1.5 | 2.5 | 3.5 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 14 | 20 | 24 | 28 | 32 | 36 | 40 | 44 | 48 | 52 | 56 | 60 | 64 | 72 | 80 | 96 | null | undefined;
|
|
73
|
+
px?: 0 | "px" | 16 | 1 | 2 | 3 | 4 | 12 | 0.5 | 1.5 | 2.5 | 3.5 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 14 | 20 | 24 | 28 | 32 | 36 | 40 | 44 | 48 | 52 | 56 | 60 | 64 | 72 | 80 | 96 | null | undefined;
|
|
74
|
+
py?: 0 | "px" | 16 | 1 | 2 | 3 | 4 | 12 | 0.5 | 1.5 | 2.5 | 3.5 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 14 | 20 | 24 | 28 | 32 | 36 | 40 | 44 | 48 | 52 | 56 | 60 | 64 | 72 | 80 | 96 | null | undefined;
|
|
75
|
+
m?: 0 | "px" | 16 | 1 | 2 | "auto" | 3 | 4 | 12 | 0.5 | 1.5 | 2.5 | 3.5 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 14 | 20 | 24 | 28 | 32 | 36 | 40 | 44 | 48 | 52 | 56 | 60 | 64 | 72 | 80 | 96 | null | undefined;
|
|
76
|
+
mb?: 0 | "px" | 16 | 1 | 2 | "auto" | 3 | 4 | 12 | 0.5 | 1.5 | 2.5 | 3.5 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 14 | 20 | 24 | 28 | 32 | 36 | 40 | 44 | 48 | 52 | 56 | 60 | 64 | 72 | 80 | 96 | null | undefined;
|
|
77
|
+
me?: 0 | "px" | 16 | 1 | 2 | "auto" | 3 | 4 | 12 | 0.5 | 1.5 | 2.5 | 3.5 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 14 | 20 | 24 | 28 | 32 | 36 | 40 | 44 | 48 | 52 | 56 | 60 | 64 | 72 | 80 | 96 | null | undefined;
|
|
78
|
+
ms?: 0 | "px" | 16 | 1 | 2 | "auto" | 3 | 4 | 12 | 0.5 | 1.5 | 2.5 | 3.5 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 14 | 20 | 24 | 28 | 32 | 36 | 40 | 44 | 48 | 52 | 56 | 60 | 64 | 72 | 80 | 96 | null | undefined;
|
|
79
|
+
mt?: 0 | "px" | 16 | 1 | 2 | "auto" | 3 | 4 | 12 | 0.5 | 1.5 | 2.5 | 3.5 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 14 | 20 | 24 | 28 | 32 | 36 | 40 | 44 | 48 | 52 | 56 | 60 | 64 | 72 | 80 | 96 | null | undefined;
|
|
80
|
+
mx?: 0 | "px" | 16 | 1 | 2 | "auto" | 3 | 4 | 12 | 0.5 | 1.5 | 2.5 | 3.5 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 14 | 20 | 24 | 28 | 32 | 36 | 40 | 44 | 48 | 52 | 56 | 60 | 64 | 72 | 80 | 96 | null | undefined;
|
|
81
|
+
my?: 0 | "px" | 16 | 1 | 2 | "auto" | 3 | 4 | 12 | 0.5 | 1.5 | 2.5 | 3.5 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 14 | 20 | 24 | 28 | 32 | 36 | 40 | 44 | 48 | 52 | 56 | 60 | 64 | 72 | 80 | 96 | null | undefined;
|
|
82
82
|
display?: "none" | "block" | "inline-block" | null | undefined;
|
|
83
83
|
} & ClassProp) | undefined) => string;
|
|
84
84
|
|
|
@@ -104,6 +104,15 @@ declare const buttonVariants: (props?: ({
|
|
|
104
104
|
size?: "sm" | "md" | "lg" | null | undefined;
|
|
105
105
|
} & ClassProp) | undefined) => string;
|
|
106
106
|
|
|
107
|
+
/**
|
|
108
|
+
* Sets internal component labels with the User's language preference.
|
|
109
|
+
*
|
|
110
|
+
* In most cases, this simply provides a generic fallback for component aria-*, such as the dismiss button on a Toast.
|
|
111
|
+
*
|
|
112
|
+
* @param keeperJsUiStrings - The object representing all of the keys that need to be defined.
|
|
113
|
+
*/
|
|
114
|
+
export declare function configureStrings(keeperJsUiStrings: Strings): void;
|
|
115
|
+
|
|
107
116
|
export declare const Dialog: React_2.FC<DialogPrimitive.DialogProps>;
|
|
108
117
|
|
|
109
118
|
export declare const DialogClose: React_2.ForwardRefExoticComponent<DialogPrimitive.DialogCloseProps & React_2.RefAttributes<HTMLButtonElement>>;
|
|
@@ -183,25 +192,25 @@ declare const flexVariants: (props?: ({
|
|
|
183
192
|
self?: "end" | "start" | "center" | "auto" | "stretch" | "baseline" | null | undefined;
|
|
184
193
|
shrink?: 0 | 1 | null | undefined;
|
|
185
194
|
wrap?: "wrap" | "reverse" | "nowrap" | null | undefined;
|
|
186
|
-
p?: 0 | "px" | 16 | 1 | 2 | 3 | 4 | 0.5 | 1.5 | 2.5 | 3.5 | 5 | 6 | 7 | 8 | 9 | 10 | 11 |
|
|
187
|
-
pb?: 0 | "px" | 16 | 1 | 2 | 3 | 4 | 0.5 | 1.5 | 2.5 | 3.5 | 5 | 6 | 7 | 8 | 9 | 10 | 11 |
|
|
188
|
-
pe?: 0 | "px" | 16 | 1 | 2 | 3 | 4 | 0.5 | 1.5 | 2.5 | 3.5 | 5 | 6 | 7 | 8 | 9 | 10 | 11 |
|
|
189
|
-
ps?: 0 | "px" | 16 | 1 | 2 | 3 | 4 | 0.5 | 1.5 | 2.5 | 3.5 | 5 | 6 | 7 | 8 | 9 | 10 | 11 |
|
|
190
|
-
pt?: 0 | "px" | 16 | 1 | 2 | 3 | 4 | 0.5 | 1.5 | 2.5 | 3.5 | 5 | 6 | 7 | 8 | 9 | 10 | 11 |
|
|
191
|
-
px?: 0 | "px" | 16 | 1 | 2 | 3 | 4 | 0.5 | 1.5 | 2.5 | 3.5 | 5 | 6 | 7 | 8 | 9 | 10 | 11 |
|
|
192
|
-
py?: 0 | "px" | 16 | 1 | 2 | 3 | 4 | 0.5 | 1.5 | 2.5 | 3.5 | 5 | 6 | 7 | 8 | 9 | 10 | 11 |
|
|
193
|
-
m?: 0 | "px" | 16 | 1 | 2 | "auto" | 3 | 4 | 0.5 | 1.5 | 2.5 | 3.5 | 5 | 6 | 7 | 8 | 9 | 10 | 11 |
|
|
194
|
-
mb?: 0 | "px" | 16 | 1 | 2 | "auto" | 3 | 4 | 0.5 | 1.5 | 2.5 | 3.5 | 5 | 6 | 7 | 8 | 9 | 10 | 11 |
|
|
195
|
-
me?: 0 | "px" | 16 | 1 | 2 | "auto" | 3 | 4 | 0.5 | 1.5 | 2.5 | 3.5 | 5 | 6 | 7 | 8 | 9 | 10 | 11 |
|
|
196
|
-
ms?: 0 | "px" | 16 | 1 | 2 | "auto" | 3 | 4 | 0.5 | 1.5 | 2.5 | 3.5 | 5 | 6 | 7 | 8 | 9 | 10 | 11 |
|
|
197
|
-
mt?: 0 | "px" | 16 | 1 | 2 | "auto" | 3 | 4 | 0.5 | 1.5 | 2.5 | 3.5 | 5 | 6 | 7 | 8 | 9 | 10 | 11 |
|
|
198
|
-
mx?: 0 | "px" | 16 | 1 | 2 | "auto" | 3 | 4 | 0.5 | 1.5 | 2.5 | 3.5 | 5 | 6 | 7 | 8 | 9 | 10 | 11 |
|
|
199
|
-
my?: 0 | "px" | 16 | 1 | 2 | "auto" | 3 | 4 | 0.5 | 1.5 | 2.5 | 3.5 | 5 | 6 | 7 | 8 | 9 | 10 | 11 |
|
|
195
|
+
p?: 0 | "px" | 16 | 1 | 2 | 3 | 4 | 12 | 0.5 | 1.5 | 2.5 | 3.5 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 14 | 20 | 24 | 28 | 32 | 36 | 40 | 44 | 48 | 52 | 56 | 60 | 64 | 72 | 80 | 96 | null | undefined;
|
|
196
|
+
pb?: 0 | "px" | 16 | 1 | 2 | 3 | 4 | 12 | 0.5 | 1.5 | 2.5 | 3.5 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 14 | 20 | 24 | 28 | 32 | 36 | 40 | 44 | 48 | 52 | 56 | 60 | 64 | 72 | 80 | 96 | null | undefined;
|
|
197
|
+
pe?: 0 | "px" | 16 | 1 | 2 | 3 | 4 | 12 | 0.5 | 1.5 | 2.5 | 3.5 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 14 | 20 | 24 | 28 | 32 | 36 | 40 | 44 | 48 | 52 | 56 | 60 | 64 | 72 | 80 | 96 | null | undefined;
|
|
198
|
+
ps?: 0 | "px" | 16 | 1 | 2 | 3 | 4 | 12 | 0.5 | 1.5 | 2.5 | 3.5 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 14 | 20 | 24 | 28 | 32 | 36 | 40 | 44 | 48 | 52 | 56 | 60 | 64 | 72 | 80 | 96 | null | undefined;
|
|
199
|
+
pt?: 0 | "px" | 16 | 1 | 2 | 3 | 4 | 12 | 0.5 | 1.5 | 2.5 | 3.5 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 14 | 20 | 24 | 28 | 32 | 36 | 40 | 44 | 48 | 52 | 56 | 60 | 64 | 72 | 80 | 96 | null | undefined;
|
|
200
|
+
px?: 0 | "px" | 16 | 1 | 2 | 3 | 4 | 12 | 0.5 | 1.5 | 2.5 | 3.5 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 14 | 20 | 24 | 28 | 32 | 36 | 40 | 44 | 48 | 52 | 56 | 60 | 64 | 72 | 80 | 96 | null | undefined;
|
|
201
|
+
py?: 0 | "px" | 16 | 1 | 2 | 3 | 4 | 12 | 0.5 | 1.5 | 2.5 | 3.5 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 14 | 20 | 24 | 28 | 32 | 36 | 40 | 44 | 48 | 52 | 56 | 60 | 64 | 72 | 80 | 96 | null | undefined;
|
|
202
|
+
m?: 0 | "px" | 16 | 1 | 2 | "auto" | 3 | 4 | 12 | 0.5 | 1.5 | 2.5 | 3.5 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 14 | 20 | 24 | 28 | 32 | 36 | 40 | 44 | 48 | 52 | 56 | 60 | 64 | 72 | 80 | 96 | null | undefined;
|
|
203
|
+
mb?: 0 | "px" | 16 | 1 | 2 | "auto" | 3 | 4 | 12 | 0.5 | 1.5 | 2.5 | 3.5 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 14 | 20 | 24 | 28 | 32 | 36 | 40 | 44 | 48 | 52 | 56 | 60 | 64 | 72 | 80 | 96 | null | undefined;
|
|
204
|
+
me?: 0 | "px" | 16 | 1 | 2 | "auto" | 3 | 4 | 12 | 0.5 | 1.5 | 2.5 | 3.5 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 14 | 20 | 24 | 28 | 32 | 36 | 40 | 44 | 48 | 52 | 56 | 60 | 64 | 72 | 80 | 96 | null | undefined;
|
|
205
|
+
ms?: 0 | "px" | 16 | 1 | 2 | "auto" | 3 | 4 | 12 | 0.5 | 1.5 | 2.5 | 3.5 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 14 | 20 | 24 | 28 | 32 | 36 | 40 | 44 | 48 | 52 | 56 | 60 | 64 | 72 | 80 | 96 | null | undefined;
|
|
206
|
+
mt?: 0 | "px" | 16 | 1 | 2 | "auto" | 3 | 4 | 12 | 0.5 | 1.5 | 2.5 | 3.5 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 14 | 20 | 24 | 28 | 32 | 36 | 40 | 44 | 48 | 52 | 56 | 60 | 64 | 72 | 80 | 96 | null | undefined;
|
|
207
|
+
mx?: 0 | "px" | 16 | 1 | 2 | "auto" | 3 | 4 | 12 | 0.5 | 1.5 | 2.5 | 3.5 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 14 | 20 | 24 | 28 | 32 | 36 | 40 | 44 | 48 | 52 | 56 | 60 | 64 | 72 | 80 | 96 | null | undefined;
|
|
208
|
+
my?: 0 | "px" | 16 | 1 | 2 | "auto" | 3 | 4 | 12 | 0.5 | 1.5 | 2.5 | 3.5 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 14 | 20 | 24 | 28 | 32 | 36 | 40 | 44 | 48 | 52 | 56 | 60 | 64 | 72 | 80 | 96 | null | undefined;
|
|
200
209
|
grow?: 0 | 1 | null | undefined;
|
|
201
210
|
justify?: "end" | "start" | "center" | "stretch" | "baseline" | "normal" | "around" | "between" | "evenly" | null | undefined;
|
|
202
|
-
gap?: 0 | "px" | 16 | 1 | 2 | 3 | 4 | 0.5 | 1.5 | 2.5 | 3.5 | 5 | 6 | 7 | 8 | 9 | 10 | 11 |
|
|
203
|
-
gapColumn?: 0 | "px" | 16 | 1 | 2 | 3 | 4 | 0.5 | 1.5 | 2.5 | 3.5 | 5 | 6 | 7 | 8 | 9 | 10 | 11 |
|
|
204
|
-
gapRow?: 0 | "px" | 16 | 1 | 2 | 3 | 4 | 0.5 | 1.5 | 2.5 | 3.5 | 5 | 6 | 7 | 8 | 9 | 10 | 11 |
|
|
211
|
+
gap?: 0 | "px" | 16 | 1 | 2 | 3 | 4 | 12 | 0.5 | 1.5 | 2.5 | 3.5 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 14 | 20 | 24 | 28 | 32 | 36 | 40 | 44 | 48 | 52 | 56 | 60 | 64 | 72 | 80 | 96 | null | undefined;
|
|
212
|
+
gapColumn?: 0 | "px" | 16 | 1 | 2 | 3 | 4 | 12 | 0.5 | 1.5 | 2.5 | 3.5 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 14 | 20 | 24 | 28 | 32 | 36 | 40 | 44 | 48 | 52 | 56 | 60 | 64 | 72 | 80 | 96 | null | undefined;
|
|
213
|
+
gapRow?: 0 | "px" | 16 | 1 | 2 | 3 | 4 | 12 | 0.5 | 1.5 | 2.5 | 3.5 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 14 | 20 | 24 | 28 | 32 | 36 | 40 | 44 | 48 | 52 | 56 | 60 | 64 | 72 | 80 | 96 | null | undefined;
|
|
205
214
|
align?: "end" | "start" | "center" | "stretch" | "baseline" | null | undefined;
|
|
206
215
|
direction?: "row" | "column" | "column-reverse" | "row-reverse" | null | undefined;
|
|
207
216
|
display?: "flex" | "none" | "inline-flex" | null | undefined;
|
|
@@ -214,6 +223,35 @@ declare interface IconButtonProps extends ButtonBaseProps {
|
|
|
214
223
|
'aria-label': string;
|
|
215
224
|
}
|
|
216
225
|
|
|
226
|
+
declare let initialStrings: {
|
|
227
|
+
toast: {
|
|
228
|
+
dismissButtonLabel: string;
|
|
229
|
+
};
|
|
230
|
+
};
|
|
231
|
+
|
|
232
|
+
export declare const List: React_2.ForwardRefExoticComponent<Omit<React_2.DetailedHTMLProps<React_2.HTMLAttributes<HTMLUListElement>, HTMLUListElement>, "ref"> & React_2.RefAttributes<HTMLUListElement>>;
|
|
233
|
+
|
|
234
|
+
export declare const ListItem: React_2.ForwardRefExoticComponent<Omit<React_2.DetailedHTMLProps<React_2.LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "ref"> & {
|
|
235
|
+
inset?: boolean;
|
|
236
|
+
} & React_2.RefAttributes<HTMLLIElement>>;
|
|
237
|
+
|
|
238
|
+
export declare const ListItemArrow: React_2.FC<React_2.ComponentPropsWithoutRef<'svg'>>;
|
|
239
|
+
|
|
240
|
+
export declare const ListItemButton: React_2.ForwardRefExoticComponent<Omit<Omit<React_2.DetailedHTMLProps<React_2.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref">, "color"> & VariantProps<(props?: ({
|
|
241
|
+
color?: "secondary" | "destructive" | null | undefined;
|
|
242
|
+
} & ClassProp) | undefined) => string> & React_2.RefAttributes<HTMLButtonElement>>;
|
|
243
|
+
|
|
244
|
+
export declare const ListItemText: React_2.ForwardRefExoticComponent<Omit<React_2.DetailedHTMLProps<React_2.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & {
|
|
245
|
+
primary: React_2.ReactNode;
|
|
246
|
+
secondary?: React_2.ReactNode;
|
|
247
|
+
} & React_2.RefAttributes<HTMLSpanElement>>;
|
|
248
|
+
|
|
249
|
+
export declare const ListLabel: React_2.ForwardRefExoticComponent<Omit<React_2.DetailedHTMLProps<React_2.LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "ref"> & {
|
|
250
|
+
inset?: boolean;
|
|
251
|
+
} & React_2.RefAttributes<HTMLLIElement>>;
|
|
252
|
+
|
|
253
|
+
export declare const ListSeparator: React_2.ForwardRefExoticComponent<Omit<React_2.DetailedHTMLProps<React_2.LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "ref"> & React_2.RefAttributes<HTMLLIElement>>;
|
|
254
|
+
|
|
217
255
|
export declare const ScrollArea: React_2.ForwardRefExoticComponent<Omit<ScrollAreaPrimitive.ScrollAreaProps & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
|
|
218
256
|
|
|
219
257
|
export declare const ScrollAreaViewport: React_2.ForwardRefExoticComponent<Omit<ScrollAreaPrimitive.ScrollAreaViewportProps & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
|
|
@@ -232,6 +270,12 @@ export declare const SelectValue: React_2.ForwardRefExoticComponent<SelectPrimit
|
|
|
232
270
|
|
|
233
271
|
export declare const Separator: React_2.ForwardRefExoticComponent<Omit<SeparatorPrimitive.SeparatorProps & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
|
|
234
272
|
|
|
273
|
+
declare type Strings = typeof initialStrings;
|
|
274
|
+
|
|
275
|
+
export declare function StringsProvider({ children }: {
|
|
276
|
+
children: React_2.ReactNode;
|
|
277
|
+
}): JSX_2.Element;
|
|
278
|
+
|
|
235
279
|
export declare const Switch: React_2.ForwardRefExoticComponent<SwitchProps & React_2.RefAttributes<HTMLButtonElement>>;
|
|
236
280
|
|
|
237
281
|
declare type SwitchProps = AtLeastOneRequired<SwitchPropsA11y> & React_2.ComponentPropsWithoutRef<typeof SwitchPrimitives.Root>;
|
|
@@ -262,6 +306,7 @@ declare type ToasterToast = ToastProps & {
|
|
|
262
306
|
description?: React_2.ReactNode;
|
|
263
307
|
action?: ToastActionElement;
|
|
264
308
|
icon?: React_2.ReactNode;
|
|
309
|
+
dismissButtonLabel?: string;
|
|
265
310
|
};
|
|
266
311
|
|
|
267
312
|
declare type ToastProps = React_2.ComponentPropsWithoutRef<typeof ToastRoot>;
|
|
@@ -272,7 +317,7 @@ export declare const Tooltip: React_2.FC<TooltipPrimitive.TooltipProps>;
|
|
|
272
317
|
|
|
273
318
|
export declare const TooltipContent: React_2.ForwardRefExoticComponent<Omit<TooltipPrimitive.TooltipContentProps & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
|
|
274
319
|
|
|
275
|
-
export declare const TooltipProvider: React_2.
|
|
320
|
+
export declare const TooltipProvider: ({ disableHoverableContent, ...props }: React_2.ComponentPropsWithoutRef<typeof TooltipPrimitive.Provider>) => JSX_2.Element;
|
|
276
321
|
|
|
277
322
|
export declare const TooltipTrigger: React_2.ForwardRefExoticComponent<TooltipPrimitive.TooltipTriggerProps & React_2.RefAttributes<HTMLButtonElement>>;
|
|
278
323
|
|