@marigold/components 0.4.0 → 0.6.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 +56 -0
- package/dist/index.d.ts +93 -89
- package/dist/index.js +263 -176
- package/dist/index.mjs +321 -231
- package/package.json +9 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,61 @@
|
|
|
1
1
|
# @marigold/components
|
|
2
2
|
|
|
3
|
+
## 0.6.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#1819](https://github.com/marigold-ui/marigold/pull/1819) [`d162a6a8`](https://github.com/marigold-ui/marigold/commit/d162a6a8d1f9d99bfc08d59f6dae294a6fa95310) Thanks [@ti10le](https://github.com/ti10le)! - feat(comp): add new Component Switch
|
|
8
|
+
|
|
9
|
+
* [#1842](https://github.com/marigold-ui/marigold/pull/1842) [`e053b7b9`](https://github.com/marigold-ui/marigold/commit/e053b7b903f02c56cf10e6b9aecbedd29399895d) Thanks [@ti10le](https://github.com/ti10le)! - feat: extend svg fill prop to handle theme color
|
|
10
|
+
|
|
11
|
+
- [#1822](https://github.com/marigold-ui/marigold/pull/1822) [`527ba94f`](https://github.com/marigold-ui/marigold/commit/527ba94fa1a3255dc6f846fcc9def978ec906bf3) Thanks [@ti10le](https://github.com/ti10le)! - feat(comp/docs): Alert update variant + docs
|
|
12
|
+
|
|
13
|
+
* [#1807](https://github.com/marigold-ui/marigold/pull/1807) [`b55e10bc`](https://github.com/marigold-ui/marigold/commit/b55e10bc7119554373d43f9d8872346c1e6d6c39) Thanks [@ti10le](https://github.com/ti10le)! - feat(comp): add Tooltip component v1
|
|
14
|
+
|
|
15
|
+
- [#1851](https://github.com/marigold-ui/marigold/pull/1851) [`9a95a6f5`](https://github.com/marigold-ui/marigold/commit/9a95a6f541dec34e27eac8557186f929e811c07c) Thanks [@ti10le](https://github.com/ti10le)! - feat(comp): make Inline accepting fragment + standard text
|
|
16
|
+
|
|
17
|
+
* [#1820](https://github.com/marigold-ui/marigold/pull/1820) [`f62033b6`](https://github.com/marigold-ui/marigold/commit/f62033b642a623a75f311af701febc4b54f77120) Thanks [@ti10le](https://github.com/ti10le)! - feat(comp): Checkbox add indeterminated state + doc update
|
|
18
|
+
|
|
19
|
+
### Patch Changes
|
|
20
|
+
|
|
21
|
+
- [#1849](https://github.com/marigold-ui/marigold/pull/1849) [`21f72b34`](https://github.com/marigold-ui/marigold/commit/21f72b3499c7ed2f88a0b96315f0374140e98e85) Thanks [@sarahgm](https://github.com/sarahgm)! - chore: remove Alert
|
|
22
|
+
|
|
23
|
+
* [#1852](https://github.com/marigold-ui/marigold/pull/1852) [`25c8675e`](https://github.com/marigold-ui/marigold/commit/25c8675ed470cc71f8f968a83b9781b66412c493) Thanks [@ti10le](https://github.com/ti10le)! - refa(comp): fill prop instead of css or \_\_basCSS
|
|
24
|
+
|
|
25
|
+
* Updated dependencies [[`4cc0ad3b`](https://github.com/marigold-ui/marigold/commit/4cc0ad3b85b993e01b4d85b6f30b1a81cdee2351), [`64b9089e`](https://github.com/marigold-ui/marigold/commit/64b9089ed2e1e35975472e342b02cda40f5de66f), [`539d4198`](https://github.com/marigold-ui/marigold/commit/539d41987118db125ee37a4a83231335ea15830a), [`e053b7b9`](https://github.com/marigold-ui/marigold/commit/e053b7b903f02c56cf10e6b9aecbedd29399895d)]:
|
|
26
|
+
- @marigold/system@0.6.0
|
|
27
|
+
- @marigold/icons@0.5.0
|
|
28
|
+
|
|
29
|
+
## 0.5.1
|
|
30
|
+
|
|
31
|
+
### Patch Changes
|
|
32
|
+
|
|
33
|
+
- [#1795](https://github.com/marigold-ui/marigold/pull/1795) [`a178eafe`](https://github.com/marigold-ui/marigold/commit/a178eafe8c8380ee23b4587d953ee52b231414ff) Thanks [@ti10le](https://github.com/ti10le)! - refa: use interface instead of type
|
|
34
|
+
|
|
35
|
+
* [#1798](https://github.com/marigold-ui/marigold/pull/1798) [`9939b743`](https://github.com/marigold-ui/marigold/commit/9939b743df4dfe40bfd5dd61a1a4b88641ef9559) Thanks [@sebald](https://github.com/sebald)! - fix(components): Use own `flattenChildren` helper to fix ESM build
|
|
36
|
+
|
|
37
|
+
* Updated dependencies [[`a178eafe`](https://github.com/marigold-ui/marigold/commit/a178eafe8c8380ee23b4587d953ee52b231414ff)]:
|
|
38
|
+
- @marigold/system@0.5.1
|
|
39
|
+
- @marigold/icons@0.4.2
|
|
40
|
+
|
|
41
|
+
## 0.5.0
|
|
42
|
+
|
|
43
|
+
### Minor Changes
|
|
44
|
+
|
|
45
|
+
- [#1784](https://github.com/marigold-ui/marigold/pull/1784) [`99af3b37`](https://github.com/marigold-ui/marigold/commit/99af3b37de24599138777ed90de0445571c3095e) Thanks [@ti10le](https://github.com/ti10le)! - refa(comp): use interface instead of type
|
|
46
|
+
|
|
47
|
+
* [#1727](https://github.com/marigold-ui/marigold/pull/1727) [`026300b1`](https://github.com/marigold-ui/marigold/commit/026300b1b539b57785c0eb0282a3d3fd763194bc) Thanks [@sebald](https://github.com/sebald)! - feat(components): <Text> add possibility to change font size via style props
|
|
48
|
+
|
|
49
|
+
### Patch Changes
|
|
50
|
+
|
|
51
|
+
- [#1774](https://github.com/marigold-ui/marigold/pull/1774) [`93480b63`](https://github.com/marigold-ui/marigold/commit/93480b6333a4d6231db35dbf12de5726533ebfc8) Thanks [@ti10le](https://github.com/ti10le)! - feat(comp): remove label prop and add children + refa
|
|
52
|
+
|
|
53
|
+
* [#1775](https://github.com/marigold-ui/marigold/pull/1775) [`6da8eba2`](https://github.com/marigold-ui/marigold/commit/6da8eba28c518c75758180697e5f0f5e5989c1f4) Thanks [@ti10le](https://github.com/ti10le)! - feat(comp): Checkbox remove label prop and add children + refa
|
|
54
|
+
|
|
55
|
+
* Updated dependencies [[`5936de75`](https://github.com/marigold-ui/marigold/commit/5936de75e5a0134584438117c53c5edfe15c6c5d)]:
|
|
56
|
+
- @marigold/system@0.5.0
|
|
57
|
+
- @marigold/icons@0.4.1
|
|
58
|
+
|
|
3
59
|
## 0.4.0
|
|
4
60
|
|
|
5
61
|
### Minor Changes
|
package/dist/index.d.ts
CHANGED
|
@@ -6,12 +6,15 @@ import { ToggleProps } from '@react-types/checkbox';
|
|
|
6
6
|
import { SeparatorProps } from '@react-aria/separator';
|
|
7
7
|
import { AriaSelectProps } from '@react-types/select';
|
|
8
8
|
import { SingleSelection } from '@react-types/shared';
|
|
9
|
+
import { AriaSwitchProps } from '@react-types/switch';
|
|
9
10
|
import { AriaTextFieldProps } from '@react-types/textfield';
|
|
11
|
+
import { TooltipTriggerProps } from '@react-types/tooltip';
|
|
10
12
|
import * as _react_stately_overlays from '@react-stately/overlays';
|
|
11
13
|
import { OverlayProps } from '@react-aria/overlays';
|
|
12
14
|
import { AriaDialogProps } from '@react-types/dialog';
|
|
13
15
|
export { VisuallyHidden } from '@react-aria/visually-hidden';
|
|
14
16
|
export { SSRProvider } from '@react-aria/ssr';
|
|
17
|
+
import { TooltipTriggerState } from '@react-stately/tooltip';
|
|
15
18
|
export { Item, Section } from '@react-stately/collections';
|
|
16
19
|
|
|
17
20
|
interface RootThemeExtension<Value> {
|
|
@@ -24,41 +27,16 @@ interface MarigoldProviderProps<T extends Theme$1> extends ThemeProviderProps<T>
|
|
|
24
27
|
}
|
|
25
28
|
declare function MarigoldProvider<T extends Theme$1>({ theme, children, }: MarigoldProviderProps<T>): JSX.Element;
|
|
26
29
|
|
|
27
|
-
declare const ICON_MAP: {
|
|
28
|
-
readonly success: ({ className, ...props }: {
|
|
29
|
-
[x: string]: any;
|
|
30
|
-
className?: string | undefined;
|
|
31
|
-
}) => JSX.Element;
|
|
32
|
-
readonly warning: ({ className, ...props }: {
|
|
33
|
-
[x: string]: any;
|
|
34
|
-
className?: string | undefined;
|
|
35
|
-
}) => JSX.Element;
|
|
36
|
-
readonly error: ({ className, ...props }: {
|
|
37
|
-
[x: string]: any;
|
|
38
|
-
className?: string | undefined;
|
|
39
|
-
}) => JSX.Element;
|
|
40
|
-
};
|
|
41
|
-
declare type AlertVariants = keyof typeof ICON_MAP;
|
|
42
|
-
interface AlertThemeExtension<Value> {
|
|
43
|
-
alert?: {
|
|
44
|
-
[key in AlertVariants]?: Value;
|
|
45
|
-
};
|
|
46
|
-
}
|
|
47
|
-
declare type AlertProps = {
|
|
48
|
-
variant?: AlertVariants;
|
|
49
|
-
} & ComponentProps<'div'>;
|
|
50
|
-
declare const Alert: React.FC<AlertProps>;
|
|
51
|
-
|
|
52
30
|
interface BadgeThemeExtension<Value> {
|
|
53
31
|
badge?: {
|
|
54
32
|
[key: string]: Value;
|
|
55
33
|
};
|
|
56
34
|
}
|
|
57
|
-
|
|
35
|
+
interface BadgeProps extends ComponentProps<'div'> {
|
|
58
36
|
variant?: string;
|
|
59
37
|
bgColor?: string;
|
|
60
38
|
borderColor?: string;
|
|
61
|
-
}
|
|
39
|
+
}
|
|
62
40
|
declare const Badge: React.FC<BadgeProps>;
|
|
63
41
|
|
|
64
42
|
interface ButtonThemeExtension<Value> {
|
|
@@ -66,7 +44,8 @@ interface ButtonThemeExtension<Value> {
|
|
|
66
44
|
[key: string]: Value;
|
|
67
45
|
};
|
|
68
46
|
}
|
|
69
|
-
|
|
47
|
+
interface ButtonProps extends PolymorphicPropsWithRef<BoxOwnProps, 'button'> {
|
|
48
|
+
}
|
|
70
49
|
declare const Button: PolymorphicComponentWithRef<BoxOwnProps, 'button'>;
|
|
71
50
|
|
|
72
51
|
interface CardThemeExtension<Value> {
|
|
@@ -74,20 +53,20 @@ interface CardThemeExtension<Value> {
|
|
|
74
53
|
[key: string]: Value;
|
|
75
54
|
};
|
|
76
55
|
}
|
|
77
|
-
|
|
56
|
+
interface CardProps extends ComponentProps<'div'> {
|
|
78
57
|
title?: string;
|
|
79
58
|
width?: ResponsiveStyleValue<string>;
|
|
80
59
|
variant?: string;
|
|
81
|
-
}
|
|
60
|
+
}
|
|
82
61
|
declare const Card: React.FC<CardProps>;
|
|
83
62
|
|
|
84
|
-
|
|
63
|
+
interface CheckboxIconProps {
|
|
85
64
|
variant?: string;
|
|
86
65
|
checked?: boolean;
|
|
87
66
|
disabled?: boolean;
|
|
67
|
+
indeterminated?: boolean;
|
|
88
68
|
error?: boolean;
|
|
89
|
-
|
|
90
|
-
};
|
|
69
|
+
}
|
|
91
70
|
|
|
92
71
|
interface CheckboxThemeExtension<Value> {
|
|
93
72
|
checkbox?: {
|
|
@@ -95,14 +74,12 @@ interface CheckboxThemeExtension<Value> {
|
|
|
95
74
|
};
|
|
96
75
|
}
|
|
97
76
|
declare type CheckboxInputProps = CheckboxIconProps & ToggleProps & ComponentProps<'input'>;
|
|
98
|
-
|
|
77
|
+
interface CheckboxProps extends CheckboxInputProps {
|
|
99
78
|
id: string;
|
|
100
|
-
label: string;
|
|
101
79
|
required?: boolean;
|
|
102
80
|
labelVariant?: string;
|
|
103
|
-
error?: boolean;
|
|
104
81
|
errorMessage?: string;
|
|
105
|
-
}
|
|
82
|
+
}
|
|
106
83
|
declare const Checkbox: React.FC<CheckboxProps>;
|
|
107
84
|
|
|
108
85
|
interface DividerThemeExtension<Value> {
|
|
@@ -110,9 +87,9 @@ interface DividerThemeExtension<Value> {
|
|
|
110
87
|
[key: string]: Value;
|
|
111
88
|
};
|
|
112
89
|
}
|
|
113
|
-
|
|
90
|
+
interface DividerProps extends SeparatorProps {
|
|
114
91
|
variant?: string;
|
|
115
|
-
}
|
|
92
|
+
}
|
|
116
93
|
declare const Divider: React.FC<DividerProps>;
|
|
117
94
|
|
|
118
95
|
interface ImageThemeExtension<Value> {
|
|
@@ -120,10 +97,10 @@ interface ImageThemeExtension<Value> {
|
|
|
120
97
|
[key: string]: Value;
|
|
121
98
|
};
|
|
122
99
|
}
|
|
123
|
-
|
|
100
|
+
interface ImageProps extends ComponentProps<'img'> {
|
|
124
101
|
variant?: string;
|
|
125
102
|
children?: never;
|
|
126
|
-
}
|
|
103
|
+
}
|
|
127
104
|
declare const Image: React.FC<ImageProps>;
|
|
128
105
|
|
|
129
106
|
interface InputThemeExtension<Value> {
|
|
@@ -131,9 +108,9 @@ interface InputThemeExtension<Value> {
|
|
|
131
108
|
[key: string]: Value;
|
|
132
109
|
};
|
|
133
110
|
}
|
|
134
|
-
|
|
111
|
+
interface InputProps extends ComponentProps<'input'> {
|
|
135
112
|
variant?: string;
|
|
136
|
-
}
|
|
113
|
+
}
|
|
137
114
|
declare const Input: React.FC<InputProps>;
|
|
138
115
|
|
|
139
116
|
interface LabelThemeExtension<Value> {
|
|
@@ -148,9 +125,9 @@ declare type LabelBaseProps = {
|
|
|
148
125
|
color?: ResponsiveStyleValue<string>;
|
|
149
126
|
} & ComponentProps<'label'>;
|
|
150
127
|
declare const LabelBase: React.FC<LabelProps>;
|
|
151
|
-
|
|
128
|
+
interface LabelProps extends LabelBaseProps {
|
|
152
129
|
required?: boolean;
|
|
153
|
-
}
|
|
130
|
+
}
|
|
154
131
|
declare const Label: React.FC<LabelProps>;
|
|
155
132
|
|
|
156
133
|
interface TextThemeExtension<Value> {
|
|
@@ -158,36 +135,39 @@ interface TextThemeExtension<Value> {
|
|
|
158
135
|
[key: string]: Value;
|
|
159
136
|
};
|
|
160
137
|
}
|
|
161
|
-
|
|
138
|
+
interface TextOwnProps extends BoxOwnProps {
|
|
162
139
|
align?: ResponsiveStyleValue<string>;
|
|
163
140
|
color?: ResponsiveStyleValue<string>;
|
|
164
141
|
cursor?: ResponsiveStyleValue<string>;
|
|
142
|
+
size?: ResponsiveStyleValue<keyof Theme$1['fontSizes'] | string>;
|
|
165
143
|
outline?: ResponsiveStyleValue<string>;
|
|
166
144
|
userSelect?: ResponsiveStyleValue<string>;
|
|
167
|
-
}
|
|
168
|
-
|
|
145
|
+
}
|
|
146
|
+
interface TextProps extends PolymorphicPropsWithRef<TextOwnProps, 'span'> {
|
|
147
|
+
}
|
|
169
148
|
declare const Text: PolymorphicComponentWithRef<TextOwnProps, 'span'>;
|
|
170
149
|
|
|
171
150
|
interface LinkThemeExtension<Value> {
|
|
172
151
|
link?: Value;
|
|
173
152
|
}
|
|
174
|
-
|
|
153
|
+
interface LinkOwnProps extends TextOwnProps {
|
|
175
154
|
disabled?: boolean;
|
|
176
|
-
}
|
|
177
|
-
|
|
155
|
+
}
|
|
156
|
+
interface LinkProps extends PolymorphicProps<LinkOwnProps, 'a'> {
|
|
157
|
+
}
|
|
178
158
|
declare const Link: PolymorphicComponent<LinkOwnProps, "a">;
|
|
179
159
|
|
|
180
160
|
interface MenuThemeExtension<Value> {
|
|
181
161
|
menu?: Value;
|
|
182
162
|
}
|
|
183
|
-
|
|
163
|
+
interface MenuProps {
|
|
184
164
|
variant?: string;
|
|
185
165
|
label?: string;
|
|
186
166
|
onClick: ComponentProps<typeof Button>['onClick'];
|
|
187
167
|
show?: boolean;
|
|
188
168
|
className?: string;
|
|
189
169
|
title?: string;
|
|
190
|
-
}
|
|
170
|
+
}
|
|
191
171
|
declare const Menu: React.FC<MenuProps>;
|
|
192
172
|
|
|
193
173
|
interface MenuItemThemeExtension<Value> {
|
|
@@ -195,9 +175,9 @@ interface MenuItemThemeExtension<Value> {
|
|
|
195
175
|
[key: string]: Value;
|
|
196
176
|
};
|
|
197
177
|
}
|
|
198
|
-
|
|
178
|
+
interface MenuItemProps extends ComponentProps<typeof Link> {
|
|
199
179
|
variant?: string;
|
|
200
|
-
}
|
|
180
|
+
}
|
|
201
181
|
declare const MenuItem: React.FC<MenuItemProps>;
|
|
202
182
|
|
|
203
183
|
interface MessageThemeExtension<Value> {
|
|
@@ -205,34 +185,32 @@ interface MessageThemeExtension<Value> {
|
|
|
205
185
|
[key: string]: Value;
|
|
206
186
|
};
|
|
207
187
|
}
|
|
208
|
-
|
|
188
|
+
interface MessageProps extends ComponentProps<'div'> {
|
|
209
189
|
messageTitle: string;
|
|
210
190
|
variant?: string;
|
|
211
|
-
}
|
|
191
|
+
}
|
|
212
192
|
declare const Message: React.FC<MessageProps>;
|
|
213
193
|
|
|
214
|
-
|
|
194
|
+
interface RadioIconProps {
|
|
215
195
|
variant?: string;
|
|
216
196
|
checked?: boolean;
|
|
217
197
|
disabled?: boolean;
|
|
218
198
|
error?: boolean;
|
|
219
|
-
|
|
220
|
-
};
|
|
199
|
+
}
|
|
221
200
|
|
|
222
201
|
interface RadioThemeExtension<Value> {
|
|
223
202
|
radio?: {
|
|
224
203
|
[key: string]: Value;
|
|
225
204
|
};
|
|
226
205
|
}
|
|
227
|
-
|
|
228
|
-
|
|
206
|
+
interface RadioInputProps extends RadioIconProps, ComponentProps<'input'> {
|
|
207
|
+
}
|
|
208
|
+
interface RadioProps extends RadioInputProps {
|
|
229
209
|
id: string;
|
|
230
|
-
label: string;
|
|
231
210
|
required?: boolean;
|
|
232
211
|
labelVariant?: string;
|
|
233
|
-
error?: boolean;
|
|
234
212
|
errorMessage?: string;
|
|
235
|
-
}
|
|
213
|
+
}
|
|
236
214
|
declare const Radio: React.FC<RadioProps>;
|
|
237
215
|
|
|
238
216
|
interface SelectThemeExtension<Value> {
|
|
@@ -263,11 +241,23 @@ interface SliderThemeExtension<Value> {
|
|
|
263
241
|
[key: string]: Value;
|
|
264
242
|
};
|
|
265
243
|
}
|
|
266
|
-
|
|
244
|
+
interface SliderProps extends ComponentProps<'input'> {
|
|
267
245
|
variant?: string;
|
|
268
|
-
}
|
|
246
|
+
}
|
|
269
247
|
declare const Slider: React.FC<SliderProps>;
|
|
270
248
|
|
|
249
|
+
interface SwitchThemeExtension<Value> {
|
|
250
|
+
switch?: {
|
|
251
|
+
[key: string]: Value;
|
|
252
|
+
};
|
|
253
|
+
}
|
|
254
|
+
declare type SwitchProps = {
|
|
255
|
+
variant?: string;
|
|
256
|
+
labelVariant?: string;
|
|
257
|
+
disabled?: boolean;
|
|
258
|
+
} & AriaSwitchProps & ToggleProps & ComponentProps<'input'>;
|
|
259
|
+
declare const Switch: React.FC<SwitchProps>;
|
|
260
|
+
|
|
271
261
|
interface TextareaThemeExtension<Value> {
|
|
272
262
|
textarea?: {
|
|
273
263
|
[key: string]: Value;
|
|
@@ -281,52 +271,68 @@ declare type TextareaProps = {
|
|
|
281
271
|
} & AriaTextFieldProps & ComponentProps<'textarea'>;
|
|
282
272
|
declare const Textarea: React.FC<TextareaProps>;
|
|
283
273
|
|
|
274
|
+
interface TooltipThemeExtension<Value> {
|
|
275
|
+
tooltip?: {
|
|
276
|
+
[key: string]: Value;
|
|
277
|
+
};
|
|
278
|
+
}
|
|
279
|
+
interface TooltipProps extends TooltipTriggerProps {
|
|
280
|
+
variant?: string;
|
|
281
|
+
}
|
|
282
|
+
declare const Tooltip: React.FC<TooltipProps>;
|
|
283
|
+
|
|
284
|
+
declare const TooltipContext: React.Context<{
|
|
285
|
+
state?: TooltipTriggerState | undefined;
|
|
286
|
+
}>;
|
|
287
|
+
declare const TooltipTrigger: React.FC;
|
|
288
|
+
|
|
284
289
|
interface ValidationMessageThemeExtension<Value> {
|
|
285
290
|
validation?: {
|
|
286
291
|
[key: string]: Value;
|
|
287
292
|
};
|
|
288
293
|
}
|
|
289
|
-
|
|
294
|
+
interface ValidationMessageProps extends ComponentProps<'span'> {
|
|
290
295
|
variant?: string;
|
|
291
|
-
}
|
|
296
|
+
}
|
|
292
297
|
declare const ValidationMessage: React.FC<ValidationMessageProps>;
|
|
293
298
|
|
|
294
|
-
interface Theme extends Theme$1, RootThemeExtension<CSSObject>,
|
|
299
|
+
interface Theme extends Theme$1, RootThemeExtension<CSSObject>, BadgeThemeExtension<CSSObject>, ButtonThemeExtension<CSSObject>, CardThemeExtension<CSSObject>, CheckboxThemeExtension<CSSObject>, DividerThemeExtension<CSSObject>, ImageThemeExtension<CSSObject>, InputThemeExtension<CSSObject>, LabelThemeExtension<CSSObject>, LinkThemeExtension<CSSObject>, MenuThemeExtension<CSSObject>, MenuItemThemeExtension<CSSObject>, MessageThemeExtension<CSSObject>, RadioThemeExtension<CSSObject>, SelectThemeExtension<CSSObject>, SliderThemeExtension<CSSObject>, SwitchThemeExtension<CSSObject>, TextThemeExtension<CSSObject>, TextareaThemeExtension<CSSObject>, TooltipThemeExtension<CSSObject>, ValidationMessageThemeExtension<CSSObject> {
|
|
295
300
|
}
|
|
296
301
|
|
|
297
|
-
|
|
302
|
+
interface ActionGroupProps extends ComponentProps<'div'> {
|
|
298
303
|
space?: ResponsiveStyleValue<string>;
|
|
299
304
|
verticalAlignment?: boolean;
|
|
300
|
-
}
|
|
305
|
+
}
|
|
301
306
|
declare const ActionGroup: React.FC<ActionGroupProps>;
|
|
302
307
|
|
|
303
308
|
declare type WidthValues = 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12;
|
|
304
|
-
|
|
309
|
+
interface ColumnProps {
|
|
305
310
|
className?: string;
|
|
306
311
|
width?: WidthValues | WidthValues[];
|
|
307
|
-
}
|
|
312
|
+
}
|
|
308
313
|
declare const Column: React.FC<ColumnProps>;
|
|
309
314
|
|
|
310
|
-
|
|
315
|
+
interface ColumnsProps {
|
|
311
316
|
className?: string;
|
|
312
317
|
space?: ResponsiveStyleValue<string>;
|
|
313
318
|
horizontalAlign?: 'left' | 'right' | 'center';
|
|
314
319
|
verticalAlign?: 'top' | 'bottom' | 'center';
|
|
315
|
-
}
|
|
320
|
+
}
|
|
316
321
|
declare const Columns: React.FC<ColumnsProps>;
|
|
317
322
|
|
|
318
|
-
|
|
323
|
+
interface ModalDialogProps extends OverlayProps, AriaDialogProps {
|
|
319
324
|
variant?: string;
|
|
320
325
|
backdropVariant?: string;
|
|
321
|
-
}
|
|
326
|
+
}
|
|
322
327
|
|
|
323
|
-
|
|
328
|
+
interface DialogProps extends ModalDialogProps, ComponentProps<'div'> {
|
|
324
329
|
backdropVariant?: string;
|
|
325
330
|
close: ComponentProps<typeof Button>['onClick'];
|
|
326
331
|
isOpen: boolean;
|
|
327
332
|
title?: string;
|
|
328
333
|
variant?: string;
|
|
329
|
-
|
|
334
|
+
role?: 'dialog' | 'alertdialog';
|
|
335
|
+
}
|
|
330
336
|
declare const Dialog: React.FC<DialogProps>;
|
|
331
337
|
declare const useDialogButtonProps: () => {
|
|
332
338
|
state: _react_stately_overlays.OverlayTriggerState;
|
|
@@ -343,22 +349,20 @@ declare type FieldProps = {
|
|
|
343
349
|
} & AriaTextFieldProps & ComponentProps<'input'>;
|
|
344
350
|
declare const Field: React.FC<FieldProps>;
|
|
345
351
|
|
|
346
|
-
|
|
352
|
+
interface InlineProps {
|
|
347
353
|
space?: ResponsiveStyleValue<string>;
|
|
348
354
|
align?: 'top' | 'center' | 'bottom';
|
|
349
|
-
}
|
|
355
|
+
}
|
|
350
356
|
declare const Inline: React.FC<InlineProps>;
|
|
351
357
|
|
|
352
|
-
|
|
358
|
+
interface StackProps {
|
|
353
359
|
space?: ResponsiveStyleValue<string>;
|
|
354
360
|
align?: 'left' | 'right' | 'center';
|
|
355
|
-
}
|
|
361
|
+
}
|
|
356
362
|
declare const Stack: React.FC<StackProps>;
|
|
357
363
|
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
title?: string;
|
|
361
|
-
};
|
|
364
|
+
interface ContainerProps extends ComponentProps<'div'> {
|
|
365
|
+
}
|
|
362
366
|
declare const Container: React.FC<ContainerProps>;
|
|
363
367
|
|
|
364
|
-
export { ActionGroup, ActionGroupProps,
|
|
368
|
+
export { ActionGroup, ActionGroupProps, Badge, BadgeProps, BadgeThemeExtension, Button, ButtonProps, ButtonThemeExtension, Card, CardProps, CardThemeExtension, Checkbox, CheckboxProps, CheckboxThemeExtension, Column, ColumnProps, Columns, ColumnsProps, Container, ContainerProps, Dialog, DialogProps, Divider, DividerProps, DividerThemeExtension, Field, FieldProps, Image, ImageProps, ImageThemeExtension, Inline, InlineProps, Input, InputProps, InputThemeExtension, Label, LabelBase, LabelBaseProps, LabelProps, LabelThemeExtension, Link, LinkOwnProps, LinkProps, LinkThemeExtension, MarigoldProvider, MarigoldProviderProps, Menu, MenuItem, MenuItemProps, MenuItemThemeExtension, MenuProps, MenuThemeExtension, Message, MessageProps, MessageThemeExtension, Radio, RadioProps, RadioThemeExtension, RootThemeExtension, Select, SelectProps, SelectThemeExtension, Slider, SliderProps, SliderThemeExtension, Stack, StackProps, Switch, SwitchProps, SwitchThemeExtension, Text, TextOwnProps, TextProps, TextThemeExtension, Textarea, TextareaProps, TextareaThemeExtension, Theme, Tooltip, TooltipContext, TooltipProps, TooltipThemeExtension, TooltipTrigger, ValidationMessage, ValidationMessageProps, ValidationMessageThemeExtension, useDialogButtonProps };
|