@primer/styled-react 0.0.0-20251205154953 → 0.0.0-20251205165836
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/dist/components/ActionList.js +145 -89
- package/dist/components/ActionMenu.js +15 -15
- package/dist/components/Autocomplete.js +20 -18
- package/dist/components/Avatar.js +11 -13
- package/dist/components/BaseStyles.js +47 -28
- package/dist/components/Box.js +10 -18
- package/dist/components/Breadcrumbs.js +32 -22
- package/dist/components/Button.js +105 -41
- package/dist/components/Checkbox.js +12 -14
- package/dist/components/CheckboxGroup.js +36 -34
- package/dist/components/CircleBadge.js +10 -10
- package/dist/components/CounterLabel.js +11 -13
- package/dist/components/DataTable.js +27 -19
- package/dist/components/Dialog.js +79 -53
- package/dist/components/Flash.js +9 -9
- package/dist/components/FormControl.js +15 -15
- package/dist/components/Header.js +44 -36
- package/dist/components/Heading.js +9 -9
- package/dist/components/IconButton.js +36 -23
- package/dist/components/Label.js +22 -17
- package/dist/components/Link.js +22 -17
- package/dist/components/LinkButton.js +9 -9
- package/dist/components/NavList.js +65 -46
- package/dist/components/Overlay.js +9 -9
- package/dist/components/PageHeader.js +100 -62
- package/dist/components/RadioGroup.js +36 -34
- package/dist/components/RelativeTime.js +11 -11
- package/dist/components/SegmentedControl.js +25 -27
- package/dist/components/Select.js +20 -15
- package/dist/components/Spinner.js +9 -9
- package/dist/components/StateLabel.js +11 -13
- package/dist/components/SubNav.js +21 -23
- package/dist/components/Text.js +22 -17
- package/dist/components/TextInput.js +32 -25
- package/dist/components/Textarea.js +22 -17
- package/dist/components/ThemeProvider.js +185 -132
- package/dist/components/Timeline.js +38 -40
- package/dist/components/ToggleSwitch.js +11 -13
- package/dist/components/Token.js +22 -17
- package/dist/components/Tooltip.js +12 -14
- package/dist/components/Truncate.js +9 -9
- package/dist/components/UnderlineNav.js +39 -27
- package/dist/components/UnderlinePanels.js +23 -18
- package/dist/components/deprecated/ActionList.js +39 -34
- package/dist/components/deprecated/DialogV1.js +38 -28
- package/dist/components/deprecated/Octicon.js +35 -28
- package/dist/components/deprecated/TabNav.js +38 -24
- package/dist/components/deprecated/Tooltip.js +28 -20
- package/dist/deprecated.d.ts +5 -75
- package/dist/deprecated.d.ts.map +1 -1
- package/dist/deprecated.js +5 -7
- package/dist/experimental.d.ts +5 -120
- package/dist/experimental.d.ts.map +1 -1
- package/dist/experimental.js +5 -7
- package/dist/index.d.ts +47 -582
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +46 -48
- package/dist/sx.js +6 -7
- package/dist/theme-get.js +8 -8
- package/package.json +4 -7
package/dist/index.d.ts
CHANGED
|
@@ -1,583 +1,48 @@
|
|
|
1
|
-
export {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
export {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
export {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
export {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
export {
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
* supported. Use the component from `@primer/react` with CSS Modules instead.
|
|
49
|
-
*/
|
|
50
|
-
BaseStyles,
|
|
51
|
-
/**
|
|
52
|
-
* @deprecated Usage of the `sx` prop with this component is no longer
|
|
53
|
-
* supported. Use the component from `@primer/react` with CSS Modules instead.
|
|
54
|
-
*/
|
|
55
|
-
type BaseStylesProps, } from './components/BaseStyles';
|
|
56
|
-
export {
|
|
57
|
-
/**
|
|
58
|
-
* @deprecated Theming in JavaScript is no longer supported. Prefer using
|
|
59
|
-
* `@primer/primitives` and CSS Modules instead.
|
|
60
|
-
*/
|
|
61
|
-
theme, } from '@primer/react';
|
|
62
|
-
export {
|
|
63
|
-
/**
|
|
64
|
-
* @deprecated Theming in JavaScript is no longer supported. Prefer using
|
|
65
|
-
* `@primer/primitives` and CSS Modules instead.
|
|
66
|
-
*/
|
|
67
|
-
get as themeGet, } from './theme-get';
|
|
68
|
-
export {
|
|
69
|
-
/**
|
|
70
|
-
* @deprecated Usage of the `sx` prop with this component is no longer
|
|
71
|
-
* supported. Use the component from `@primer/react` with CSS Modules instead.
|
|
72
|
-
*/
|
|
73
|
-
ActionList,
|
|
74
|
-
/**
|
|
75
|
-
* @deprecated Usage of the `sx` prop with this component is no longer
|
|
76
|
-
* supported. Use the component from `@primer/react` with CSS Modules instead.
|
|
77
|
-
*/
|
|
78
|
-
type ActionListProps,
|
|
79
|
-
/**
|
|
80
|
-
* @deprecated Usage of the `sx` prop with this component is no longer
|
|
81
|
-
* supported. Use the component from `@primer/react` with CSS Modules instead.
|
|
82
|
-
*/
|
|
83
|
-
type ActionListItemProps,
|
|
84
|
-
/**
|
|
85
|
-
* @deprecated Usage of the `sx` prop with this component is no longer
|
|
86
|
-
* supported. Use the component from `@primer/react` with CSS Modules instead.
|
|
87
|
-
*/
|
|
88
|
-
type ActionListLinkItemProps,
|
|
89
|
-
/**
|
|
90
|
-
* @deprecated Usage of the `sx` prop with this component is no longer
|
|
91
|
-
* supported. Use the component from `@primer/react` with CSS Modules instead.
|
|
92
|
-
*/
|
|
93
|
-
type ActionListGroupProps,
|
|
94
|
-
/**
|
|
95
|
-
* @deprecated Usage of the `sx` prop with this component is no longer
|
|
96
|
-
* supported. Use the component from `@primer/react` with CSS Modules instead.
|
|
97
|
-
*/
|
|
98
|
-
type ActionListDividerProps,
|
|
99
|
-
/**
|
|
100
|
-
* @deprecated Usage of the `sx` prop with this component is no longer
|
|
101
|
-
* supported. Use the component from `@primer/react` with CSS Modules instead.
|
|
102
|
-
*/
|
|
103
|
-
type ActionListLeadingVisualProps,
|
|
104
|
-
/**
|
|
105
|
-
* @deprecated Usage of the `sx` prop with this component is no longer
|
|
106
|
-
* supported. Use the component from `@primer/react` with CSS Modules instead.
|
|
107
|
-
*/
|
|
108
|
-
type ActionListTrailingVisualProps,
|
|
109
|
-
/**
|
|
110
|
-
* @deprecated Usage of the `sx` prop with this component is no longer
|
|
111
|
-
* supported. Use the component from `@primer/react` with CSS Modules instead.
|
|
112
|
-
*/
|
|
113
|
-
type ActionListTrailingActionProps, } from './components/ActionList';
|
|
114
|
-
export {
|
|
115
|
-
/**
|
|
116
|
-
* @deprecated Usage of the `sx` prop with this component is no longer
|
|
117
|
-
* supported. Use the component from `@primer/react` with CSS Modules instead.
|
|
118
|
-
*/
|
|
119
|
-
ActionMenu, } from './components/ActionMenu';
|
|
120
|
-
export {
|
|
121
|
-
/**
|
|
122
|
-
* @deprecated Usage of the `sx` prop with this component is no longer
|
|
123
|
-
* supported. Use the component from `@primer/react` with CSS Modules instead.
|
|
124
|
-
*/
|
|
125
|
-
Autocomplete,
|
|
126
|
-
/**
|
|
127
|
-
* @deprecated Usage of the `sx` prop with this component is no longer
|
|
128
|
-
* supported. Use the component from `@primer/react` with CSS Modules instead.
|
|
129
|
-
*/
|
|
130
|
-
type AutocompleteOverlayProps, } from './components/Autocomplete';
|
|
131
|
-
export {
|
|
132
|
-
/**
|
|
133
|
-
* @deprecated Usage of the `sx` prop with this component is no longer
|
|
134
|
-
* supported. Use the component from `@primer/react` with CSS Modules instead.
|
|
135
|
-
*/
|
|
136
|
-
Avatar,
|
|
137
|
-
/**
|
|
138
|
-
* @deprecated Usage of the `sx` prop with this component is no longer
|
|
139
|
-
* supported. Use the component from `@primer/react` with CSS Modules instead.
|
|
140
|
-
*/
|
|
141
|
-
type AvatarProps, } from './components/Avatar';
|
|
142
|
-
export {
|
|
143
|
-
/**
|
|
144
|
-
* @deprecated Usage of the `sx` prop with this component is no longer
|
|
145
|
-
* supported. Use the component from `@primer/react` with CSS Modules instead.
|
|
146
|
-
*/
|
|
147
|
-
Breadcrumbs,
|
|
148
|
-
/**
|
|
149
|
-
* @deprecated Usage of the `sx` prop with this component is no longer
|
|
150
|
-
* supported. Use the component from `@primer/react` with CSS Modules instead.
|
|
151
|
-
*/
|
|
152
|
-
Breadcrumb,
|
|
153
|
-
/**
|
|
154
|
-
* @deprecated Usage of the `sx` prop with this component is no longer
|
|
155
|
-
* supported. Use the component from `@primer/react` with CSS Modules instead.
|
|
156
|
-
*/
|
|
157
|
-
type BreadcrumbsProps,
|
|
158
|
-
/**
|
|
159
|
-
* @deprecated Usage of the `sx` prop with this component is no longer
|
|
160
|
-
* supported. Use the component from `@primer/react` with CSS Modules instead.
|
|
161
|
-
*/
|
|
162
|
-
type BreadcrumbsItemProps, } from './components/Breadcrumbs';
|
|
163
|
-
export {
|
|
164
|
-
/**
|
|
165
|
-
* @deprecated Usage of the `sx` prop with this component is no longer
|
|
166
|
-
* supported. Use the component from `@primer/react` with CSS Modules instead.
|
|
167
|
-
*/
|
|
168
|
-
ButtonComponent as Button,
|
|
169
|
-
/**
|
|
170
|
-
* @deprecated Usage of the `sx` prop with this component is no longer
|
|
171
|
-
* supported. Use the component from `@primer/react` with CSS Modules instead.
|
|
172
|
-
*/
|
|
173
|
-
type ButtonComponentProps as ButtonProps, } from './components/Button';
|
|
174
|
-
export {
|
|
175
|
-
/**
|
|
176
|
-
* @deprecated Usage of the `sx` prop with this component is no longer
|
|
177
|
-
* supported. Use the component from `@primer/react` with CSS Modules instead.
|
|
178
|
-
*/
|
|
179
|
-
Checkbox,
|
|
180
|
-
/**
|
|
181
|
-
* @deprecated Usage of the `sx` prop with this component is no longer
|
|
182
|
-
* supported. Use the component from `@primer/react` with CSS Modules instead.
|
|
183
|
-
*/
|
|
184
|
-
type CheckboxProps, } from './components/Checkbox';
|
|
185
|
-
export {
|
|
186
|
-
/**
|
|
187
|
-
* @deprecated Usage of the `sx` prop with this component is no longer
|
|
188
|
-
* supported. Use the component from `@primer/react` with CSS Modules instead.
|
|
189
|
-
*/
|
|
190
|
-
CheckboxGroup,
|
|
191
|
-
/**
|
|
192
|
-
* @deprecated Usage of the `sx` prop with this component is no longer
|
|
193
|
-
* supported. Use the component from `@primer/react` with CSS Modules instead.
|
|
194
|
-
*/
|
|
195
|
-
type CheckboxGroupProps, } from './components/CheckboxGroup';
|
|
196
|
-
export {
|
|
197
|
-
/**
|
|
198
|
-
* @deprecated Usage of the `sx` prop with this component is no longer
|
|
199
|
-
* supported. Use the component from `@primer/react` with CSS Modules instead.
|
|
200
|
-
*/
|
|
201
|
-
CircleBadge, } from './components/CircleBadge';
|
|
202
|
-
export {
|
|
203
|
-
/**
|
|
204
|
-
* @deprecated Usage of the `sx` prop with this component is no longer
|
|
205
|
-
* supported. Use the component from `@primer/react` with CSS Modules instead.
|
|
206
|
-
*/
|
|
207
|
-
CounterLabel,
|
|
208
|
-
/**
|
|
209
|
-
* @deprecated Usage of the `sx` prop with this component is no longer
|
|
210
|
-
* supported. Use the component from `@primer/react` with CSS Modules instead.
|
|
211
|
-
*/
|
|
212
|
-
type CounterLabelProps, } from './components/CounterLabel';
|
|
213
|
-
export {
|
|
214
|
-
/**
|
|
215
|
-
* @deprecated Usage of the `sx` prop with this component is no longer
|
|
216
|
-
* supported. Use the component from `@primer/react` with CSS Modules instead.
|
|
217
|
-
*/
|
|
218
|
-
Dialog,
|
|
219
|
-
/**
|
|
220
|
-
* @deprecated Usage of the `sx` prop with this component is no longer
|
|
221
|
-
* supported. Use the component from `@primer/react` with CSS Modules instead.
|
|
222
|
-
*/
|
|
223
|
-
type DialogProps, } from './components/Dialog';
|
|
224
|
-
export {
|
|
225
|
-
/**
|
|
226
|
-
* @deprecated Usage of the `sx` prop with this component is no longer
|
|
227
|
-
* supported. Use the component from `@primer/react` with CSS Modules instead.
|
|
228
|
-
*/
|
|
229
|
-
Flash, } from './components/Flash';
|
|
230
|
-
export {
|
|
231
|
-
/**
|
|
232
|
-
* @deprecated Usage of the `sx` prop with this component is no longer
|
|
233
|
-
* supported. Use the component from `@primer/react` with CSS Modules instead.
|
|
234
|
-
*/
|
|
235
|
-
FormControl,
|
|
236
|
-
/**
|
|
237
|
-
* @deprecated Usage of the `sx` prop with this component is no longer
|
|
238
|
-
* supported. Use the component from `@primer/react` with CSS Modules instead.
|
|
239
|
-
*/
|
|
240
|
-
type FormControlProps, } from './components/FormControl';
|
|
241
|
-
export {
|
|
242
|
-
/**
|
|
243
|
-
* @deprecated Usage of the `sx` prop with this component is no longer
|
|
244
|
-
* supported. Use the component from `@primer/react` with CSS Modules instead.
|
|
245
|
-
*/
|
|
246
|
-
Header,
|
|
247
|
-
/**
|
|
248
|
-
* @deprecated Usage of the `sx` prop with this component is no longer
|
|
249
|
-
* supported. Use the component from `@primer/react` with CSS Modules instead.
|
|
250
|
-
*/
|
|
251
|
-
type HeaderProps, } from './components/Header';
|
|
252
|
-
export {
|
|
253
|
-
/**
|
|
254
|
-
* @deprecated Usage of the `sx` prop with this component is no longer
|
|
255
|
-
* supported. Use the component from `@primer/react` with CSS Modules instead.
|
|
256
|
-
*/
|
|
257
|
-
Heading, } from './components/Heading';
|
|
258
|
-
export {
|
|
259
|
-
/**
|
|
260
|
-
* @deprecated Usage of the `sx` prop with this component is no longer
|
|
261
|
-
* supported. Use the component from `@primer/react` with CSS Modules instead.
|
|
262
|
-
*/
|
|
263
|
-
IconButton,
|
|
264
|
-
/**
|
|
265
|
-
* @deprecated Usage of the `sx` prop with this component is no longer
|
|
266
|
-
* supported. Use the component from `@primer/react` with CSS Modules instead.
|
|
267
|
-
*/
|
|
268
|
-
type IconButtonProps, } from './components/IconButton';
|
|
269
|
-
export {
|
|
270
|
-
/**
|
|
271
|
-
* @deprecated Usage of the `sx` prop with this component is no longer
|
|
272
|
-
* supported. Use the component from `@primer/react` with CSS Modules instead.
|
|
273
|
-
*/
|
|
274
|
-
Label,
|
|
275
|
-
/**
|
|
276
|
-
* @deprecated Usage of the `sx` prop with this component is no longer
|
|
277
|
-
* supported. Use the component from `@primer/react` with CSS Modules instead.
|
|
278
|
-
*/
|
|
279
|
-
type LabelProps, } from './components/Label';
|
|
280
|
-
export {
|
|
281
|
-
/**
|
|
282
|
-
* @deprecated Usage of the `sx` prop with this component is no longer
|
|
283
|
-
* supported. Use the component from `@primer/react` with CSS Modules instead.
|
|
284
|
-
*/
|
|
285
|
-
Link,
|
|
286
|
-
/**
|
|
287
|
-
* @deprecated Usage of the `sx` prop with this component is no longer
|
|
288
|
-
* supported. Use the component from `@primer/react` with CSS Modules instead.
|
|
289
|
-
*/
|
|
290
|
-
type LinkProps, } from './components/Link';
|
|
291
|
-
export {
|
|
292
|
-
/**
|
|
293
|
-
* @deprecated Usage of the `sx` prop with this component is no longer
|
|
294
|
-
* supported. Use the component from `@primer/react` with CSS Modules instead.
|
|
295
|
-
*/
|
|
296
|
-
LinkButton,
|
|
297
|
-
/**
|
|
298
|
-
* @deprecated Usage of the `sx` prop with this component is no longer
|
|
299
|
-
* supported. Use the component from `@primer/react` with CSS Modules instead.
|
|
300
|
-
*/
|
|
301
|
-
type LinkButtonProps, } from './components/LinkButton';
|
|
302
|
-
export {
|
|
303
|
-
/**
|
|
304
|
-
* @deprecated Usage of the `sx` prop with this component is no longer
|
|
305
|
-
* supported. Use the component from `@primer/react` with CSS Modules instead.
|
|
306
|
-
*/
|
|
307
|
-
NavList,
|
|
308
|
-
/**
|
|
309
|
-
* @deprecated Usage of the `sx` prop with this component is no longer
|
|
310
|
-
* supported. Use the component from `@primer/react` with CSS Modules instead.
|
|
311
|
-
*/
|
|
312
|
-
type NavListProps, } from './components/NavList';
|
|
313
|
-
export {
|
|
314
|
-
/**
|
|
315
|
-
* @deprecated Usage of the `sx` prop with this component is no longer
|
|
316
|
-
* supported. Use the component from `@primer/react` with CSS Modules instead.
|
|
317
|
-
*/
|
|
318
|
-
Overlay, } from './components/Overlay';
|
|
319
|
-
export {
|
|
320
|
-
/**
|
|
321
|
-
* @deprecated Usage of the `sx` prop with this component is no longer
|
|
322
|
-
* supported. Use the component from `@primer/react` with CSS Modules instead.
|
|
323
|
-
*/
|
|
324
|
-
PageHeader,
|
|
325
|
-
/**
|
|
326
|
-
* @deprecated Usage of the `sx` prop with this component is no longer
|
|
327
|
-
* supported. Use the component from `@primer/react` with CSS Modules instead.
|
|
328
|
-
*/
|
|
329
|
-
type PageHeaderProps,
|
|
330
|
-
/**
|
|
331
|
-
* @deprecated Usage of the `sx` prop with this component is no longer
|
|
332
|
-
* supported. Use the component from `@primer/react` with CSS Modules instead.
|
|
333
|
-
*/
|
|
334
|
-
type PageHeaderActionsProps,
|
|
335
|
-
/**
|
|
336
|
-
* @deprecated Usage of the `sx` prop with this component is no longer
|
|
337
|
-
* supported. Use the component from `@primer/react` with CSS Modules instead.
|
|
338
|
-
*/
|
|
339
|
-
type PageHeaderTitleProps, } from './components/PageHeader';
|
|
340
|
-
export {
|
|
341
|
-
/**
|
|
342
|
-
* @deprecated Usage of the `sx` prop with this component is no longer
|
|
343
|
-
* supported. Use the component from `@primer/react` with CSS Modules instead.
|
|
344
|
-
*/
|
|
345
|
-
RadioGroup,
|
|
346
|
-
/**
|
|
347
|
-
* @deprecated Usage of the `sx` prop with this component is no longer
|
|
348
|
-
* supported. Use the component from `@primer/react` with CSS Modules instead.
|
|
349
|
-
*/
|
|
350
|
-
type RadioGroupProps, } from './components/RadioGroup';
|
|
351
|
-
export {
|
|
352
|
-
/**
|
|
353
|
-
* @deprecated Usage of the `sx` prop with this component is no longer
|
|
354
|
-
* supported. Use the component from `@primer/react` with CSS Modules instead.
|
|
355
|
-
*/
|
|
356
|
-
RelativeTime,
|
|
357
|
-
/**
|
|
358
|
-
* @deprecated Usage of the `sx` prop with this component is no longer
|
|
359
|
-
* supported. Use the component from `@primer/react` with CSS Modules instead.
|
|
360
|
-
*/
|
|
361
|
-
type RelativeTimeProps, } from './components/RelativeTime';
|
|
362
|
-
export {
|
|
363
|
-
/**
|
|
364
|
-
* @deprecated Usage of the `sx` prop with this component is no longer
|
|
365
|
-
* supported. Use the component from `@primer/react` with CSS Modules instead.
|
|
366
|
-
*/
|
|
367
|
-
SegmentedControl,
|
|
368
|
-
/**
|
|
369
|
-
* @deprecated Usage of the `sx` prop with this component is no longer
|
|
370
|
-
* supported. Use the component from `@primer/react` with CSS Modules instead.
|
|
371
|
-
*/
|
|
372
|
-
type SegmentedControlProps,
|
|
373
|
-
/**
|
|
374
|
-
* @deprecated Usage of the `sx` prop with this component is no longer
|
|
375
|
-
* supported. Use the component from `@primer/react` with CSS Modules instead.
|
|
376
|
-
*/
|
|
377
|
-
type SegmentedControlButtonProps,
|
|
378
|
-
/**
|
|
379
|
-
* @deprecated Usage of the `sx` prop with this component is no longer
|
|
380
|
-
* supported. Use the component from `@primer/react` with CSS Modules instead.
|
|
381
|
-
*/
|
|
382
|
-
type SegmentedControlIconButtonProps, } from './components/SegmentedControl';
|
|
383
|
-
export {
|
|
384
|
-
/**
|
|
385
|
-
* @deprecated Usage of the `sx` prop with this component is no longer
|
|
386
|
-
* supported. Use the component from `@primer/react` with CSS Modules instead.
|
|
387
|
-
*/
|
|
388
|
-
Select,
|
|
389
|
-
/**
|
|
390
|
-
* @deprecated Usage of the `sx` prop with this component is no longer
|
|
391
|
-
* supported. Use the component from `@primer/react` with CSS Modules instead.
|
|
392
|
-
*/
|
|
393
|
-
type SelectProps, } from './components/Select';
|
|
394
|
-
export {
|
|
395
|
-
/**
|
|
396
|
-
* @deprecated Usage of the `sx` prop with this component is no longer
|
|
397
|
-
* supported. Use the component from `@primer/react` with CSS Modules instead.
|
|
398
|
-
*/
|
|
399
|
-
Spinner,
|
|
400
|
-
/**
|
|
401
|
-
* @deprecated Usage of the `sx` prop with this component is no longer
|
|
402
|
-
* supported. Use the component from `@primer/react` with CSS Modules instead.
|
|
403
|
-
*/
|
|
404
|
-
type SpinnerProps, } from './components/Spinner';
|
|
405
|
-
export {
|
|
406
|
-
/**
|
|
407
|
-
* @deprecated Usage of the `sx` prop with this component is no longer
|
|
408
|
-
* supported. Use the component from `@primer/react` with CSS Modules instead.
|
|
409
|
-
*/
|
|
410
|
-
StateLabel,
|
|
411
|
-
/**
|
|
412
|
-
* @deprecated Usage of the `sx` prop with this component is no longer
|
|
413
|
-
* supported. Use the component from `@primer/react` with CSS Modules instead.
|
|
414
|
-
*/
|
|
415
|
-
type StateLabelProps, } from './components/StateLabel';
|
|
416
|
-
export {
|
|
417
|
-
/**
|
|
418
|
-
* @deprecated Usage of the `sx` prop with this component is no longer
|
|
419
|
-
* supported. Use the component from `@primer/react` with CSS Modules instead.
|
|
420
|
-
*/
|
|
421
|
-
SubNav,
|
|
422
|
-
/**
|
|
423
|
-
* @deprecated Usage of the `sx` prop with this component is no longer
|
|
424
|
-
* supported. Use the component from `@primer/react` with CSS Modules instead.
|
|
425
|
-
*/
|
|
426
|
-
type SubNavProps,
|
|
427
|
-
/**
|
|
428
|
-
* @deprecated Usage of the `sx` prop with this component is no longer
|
|
429
|
-
* supported. Use the component from `@primer/react` with CSS Modules instead.
|
|
430
|
-
*/
|
|
431
|
-
type SubNavLinkProps, } from './components/SubNav';
|
|
432
|
-
export {
|
|
433
|
-
/**
|
|
434
|
-
* @deprecated Usage of the `sx` prop with this component is no longer
|
|
435
|
-
* supported. Use the component from `@primer/react` with CSS Modules instead.
|
|
436
|
-
*/
|
|
437
|
-
Text,
|
|
438
|
-
/**
|
|
439
|
-
* @deprecated Usage of the `sx` prop with this component is no longer
|
|
440
|
-
* supported. Use the component from `@primer/react` with CSS Modules instead.
|
|
441
|
-
*/
|
|
442
|
-
type TextProps, } from './components/Text';
|
|
443
|
-
export {
|
|
444
|
-
/**
|
|
445
|
-
* @deprecated Usage of the `sx` prop with this component is no longer
|
|
446
|
-
* supported. Use the component from `@primer/react` with CSS Modules instead.
|
|
447
|
-
*/
|
|
448
|
-
Textarea,
|
|
449
|
-
/**
|
|
450
|
-
* @deprecated Usage of the `sx` prop with this component is no longer
|
|
451
|
-
* supported. Use the component from `@primer/react` with CSS Modules instead.
|
|
452
|
-
*/
|
|
453
|
-
type TextareaProps, } from './components/Textarea';
|
|
454
|
-
export {
|
|
455
|
-
/**
|
|
456
|
-
* @deprecated Usage of the `sx` prop with this component is no longer
|
|
457
|
-
* supported. Use the component from `@primer/react` with CSS Modules instead.
|
|
458
|
-
*/
|
|
459
|
-
TextInput,
|
|
460
|
-
/**
|
|
461
|
-
* @deprecated Usage of the `sx` prop with this component is no longer
|
|
462
|
-
* supported. Use the component from `@primer/react` with CSS Modules instead.
|
|
463
|
-
*/
|
|
464
|
-
type TextInputProps,
|
|
465
|
-
/**
|
|
466
|
-
* @deprecated Usage of the `sx` prop with this component is no longer
|
|
467
|
-
* supported. Use the component from `@primer/react` with CSS Modules instead.
|
|
468
|
-
*/
|
|
469
|
-
type TextInputActionProps, } from './components/TextInput';
|
|
470
|
-
export {
|
|
471
|
-
/**
|
|
472
|
-
* @deprecated Usage of the `sx` prop with this component is no longer
|
|
473
|
-
* supported. Use the component from `@primer/react` with CSS Modules instead.
|
|
474
|
-
*/
|
|
475
|
-
Timeline,
|
|
476
|
-
/**
|
|
477
|
-
* @deprecated Usage of the `sx` prop with this component is no longer
|
|
478
|
-
* supported. Use the component from `@primer/react` with CSS Modules instead.
|
|
479
|
-
*/
|
|
480
|
-
type TimelineProps,
|
|
481
|
-
/**
|
|
482
|
-
* @deprecated Usage of the `sx` prop with this component is no longer
|
|
483
|
-
* supported. Use the component from `@primer/react` with CSS Modules instead.
|
|
484
|
-
*/
|
|
485
|
-
type TimelineItemProps,
|
|
486
|
-
/**
|
|
487
|
-
* @deprecated Usage of the `sx` prop with this component is no longer
|
|
488
|
-
* supported. Use the component from `@primer/react` with CSS Modules instead.
|
|
489
|
-
*/
|
|
490
|
-
type TimelineBadgeProps,
|
|
491
|
-
/**
|
|
492
|
-
* @deprecated Usage of the `sx` prop with this component is no longer
|
|
493
|
-
* supported. Use the component from `@primer/react` with CSS Modules instead.
|
|
494
|
-
*/
|
|
495
|
-
type TimelineBodyProps,
|
|
496
|
-
/**
|
|
497
|
-
* @deprecated Usage of the `sx` prop with this component is no longer
|
|
498
|
-
* supported. Use the component from `@primer/react` with CSS Modules instead.
|
|
499
|
-
*/
|
|
500
|
-
type TimelineBreakProps, } from './components/Timeline';
|
|
501
|
-
export {
|
|
502
|
-
/**
|
|
503
|
-
* @deprecated Usage of the `sx` prop with this component is no longer
|
|
504
|
-
* supported. Use the component from `@primer/react` with CSS Modules instead.
|
|
505
|
-
*/
|
|
506
|
-
ToggleSwitch,
|
|
507
|
-
/**
|
|
508
|
-
* @deprecated Usage of the `sx` prop with this component is no longer
|
|
509
|
-
* supported. Use the component from `@primer/react` with CSS Modules instead.
|
|
510
|
-
*/
|
|
511
|
-
type ToggleSwitchProps, } from './components/ToggleSwitch';
|
|
512
|
-
export {
|
|
513
|
-
/**
|
|
514
|
-
* @deprecated Usage of the `sx` prop with this component is no longer
|
|
515
|
-
* supported. Use the component from `@primer/react` with CSS Modules instead.
|
|
516
|
-
*/
|
|
517
|
-
Tooltip,
|
|
518
|
-
/**
|
|
519
|
-
* @deprecated Usage of the `sx` prop with this component is no longer
|
|
520
|
-
* supported. Use the component from `@primer/react` with CSS Modules instead.
|
|
521
|
-
*/
|
|
522
|
-
type TooltipProps, } from './components/Tooltip';
|
|
523
|
-
export {
|
|
524
|
-
/**
|
|
525
|
-
* @deprecated Usage of the `sx` prop with this component is no longer
|
|
526
|
-
* supported. Use the component from `@primer/react` with CSS Modules instead.
|
|
527
|
-
*/
|
|
528
|
-
Token,
|
|
529
|
-
/**
|
|
530
|
-
* @deprecated Usage of the `sx` prop with this component is no longer
|
|
531
|
-
* supported. Use the component from `@primer/react` with CSS Modules instead.
|
|
532
|
-
*/
|
|
533
|
-
type TokenProps, } from './components/Token';
|
|
534
|
-
export {
|
|
535
|
-
/**
|
|
536
|
-
* @deprecated Usage of the `sx` prop with this component is no longer
|
|
537
|
-
* supported. Use the component from `@primer/react` with CSS Modules instead.
|
|
538
|
-
*/
|
|
539
|
-
Truncate,
|
|
540
|
-
/**
|
|
541
|
-
* @deprecated Usage of the `sx` prop with this component is no longer
|
|
542
|
-
* supported. Use the component from `@primer/react` with CSS Modules instead.
|
|
543
|
-
*/
|
|
544
|
-
type TruncateProps, } from './components/Truncate';
|
|
545
|
-
export {
|
|
546
|
-
/**
|
|
547
|
-
* @deprecated Usage of the `sx` prop with this component is no longer
|
|
548
|
-
* supported. Use the component from `@primer/react` with CSS Modules instead.
|
|
549
|
-
*/
|
|
550
|
-
UnderlineNav,
|
|
551
|
-
/**
|
|
552
|
-
* @deprecated Usage of the `sx` prop with this component is no longer
|
|
553
|
-
* supported. Use the component from `@primer/react` with CSS Modules instead.
|
|
554
|
-
*/
|
|
555
|
-
type UnderlineNavProps,
|
|
556
|
-
/**
|
|
557
|
-
* @deprecated Usage of the `sx` prop with this component is no longer
|
|
558
|
-
* supported. Use the component from `@primer/react` with CSS Modules instead.
|
|
559
|
-
*/
|
|
560
|
-
type UnderlineNavItemProps, } from './components/UnderlineNav';
|
|
561
|
-
export {
|
|
562
|
-
/**
|
|
563
|
-
* @deprecated Theming in JavaScript is no longer supported. Prefer using
|
|
564
|
-
* `@primer/primitives` and CSS Modules instead.
|
|
565
|
-
*/
|
|
566
|
-
merge,
|
|
567
|
-
/**
|
|
568
|
-
* @deprecated Styling with the `sx` prop is no longer supported. Use CSS
|
|
569
|
-
* Modules instead
|
|
570
|
-
*/
|
|
571
|
-
sx,
|
|
572
|
-
/**
|
|
573
|
-
* @deprecated Styling with the `sx` prop is no longer supported. Use CSS
|
|
574
|
-
* Modules instead
|
|
575
|
-
*/
|
|
576
|
-
type SxProp, } from './sx';
|
|
577
|
-
export {
|
|
578
|
-
/**
|
|
579
|
-
* @deprecated Styling with the `sx` prop is no longer supported. Use CSS
|
|
580
|
-
* Modules instead
|
|
581
|
-
*/
|
|
582
|
-
type BetterSystemStyleObject, } from './sx';
|
|
1
|
+
export { Box, type BoxProps } from './components/Box';
|
|
2
|
+
export { Details } from '@primer/react';
|
|
3
|
+
export { ProgressBar } from '@primer/react';
|
|
4
|
+
export { ThemeProvider, useTheme, useColorSchemeVar, type ThemeProviderProps } from './components/ThemeProvider';
|
|
5
|
+
export { BaseStyles, type BaseStylesProps } from './components/BaseStyles';
|
|
6
|
+
export { theme } from '@primer/react';
|
|
7
|
+
export { get as themeGet } from './theme-get';
|
|
8
|
+
export { ActionList, type ActionListProps, type ActionListItemProps, type ActionListLinkItemProps, type ActionListGroupProps, type ActionListDividerProps, type ActionListLeadingVisualProps, type ActionListTrailingVisualProps, type ActionListTrailingActionProps, } from './components/ActionList';
|
|
9
|
+
export { ActionMenu } from './components/ActionMenu';
|
|
10
|
+
export { Autocomplete, type AutocompleteOverlayProps } from './components/Autocomplete';
|
|
11
|
+
export { Avatar, type AvatarProps } from './components/Avatar';
|
|
12
|
+
export { Breadcrumbs, Breadcrumb, type BreadcrumbsProps, type BreadcrumbsItemProps } from './components/Breadcrumbs';
|
|
13
|
+
export { ButtonComponent as Button, type ButtonComponentProps as ButtonProps } from './components/Button';
|
|
14
|
+
export { Checkbox, type CheckboxProps } from './components/Checkbox';
|
|
15
|
+
export { CheckboxGroup, type CheckboxGroupProps } from './components/CheckboxGroup';
|
|
16
|
+
export { CircleBadge } from './components/CircleBadge';
|
|
17
|
+
export { CounterLabel, type CounterLabelProps } from './components/CounterLabel';
|
|
18
|
+
export { Dialog, type DialogProps } from './components/Dialog';
|
|
19
|
+
export { Flash } from './components/Flash';
|
|
20
|
+
export { FormControl, type FormControlProps } from './components/FormControl';
|
|
21
|
+
export { Header, type HeaderProps } from './components/Header';
|
|
22
|
+
export { Heading } from './components/Heading';
|
|
23
|
+
export { IconButton, type IconButtonProps } from './components/IconButton';
|
|
24
|
+
export { Label, type LabelProps } from './components/Label';
|
|
25
|
+
export { Link, type LinkProps } from './components/Link';
|
|
26
|
+
export { LinkButton, type LinkButtonProps } from './components/LinkButton';
|
|
27
|
+
export { NavList, type NavListProps } from './components/NavList';
|
|
28
|
+
export { Overlay } from './components/Overlay';
|
|
29
|
+
export { PageHeader, type PageHeaderProps, type PageHeaderActionsProps, type PageHeaderTitleProps, } from './components/PageHeader';
|
|
30
|
+
export { RadioGroup, type RadioGroupProps } from './components/RadioGroup';
|
|
31
|
+
export { RelativeTime, type RelativeTimeProps } from './components/RelativeTime';
|
|
32
|
+
export { SegmentedControl, type SegmentedControlProps, type SegmentedControlButtonProps, type SegmentedControlIconButtonProps, } from './components/SegmentedControl';
|
|
33
|
+
export { Select, type SelectProps } from './components/Select';
|
|
34
|
+
export { Spinner, type SpinnerProps } from './components/Spinner';
|
|
35
|
+
export { StateLabel, type StateLabelProps } from './components/StateLabel';
|
|
36
|
+
export { SubNav, type SubNavProps, type SubNavLinkProps } from './components/SubNav';
|
|
37
|
+
export { Text, type TextProps } from './components/Text';
|
|
38
|
+
export { Textarea, type TextareaProps } from './components/Textarea';
|
|
39
|
+
export { TextInput, type TextInputProps, type TextInputActionProps } from './components/TextInput';
|
|
40
|
+
export { Timeline, type TimelineProps, type TimelineItemProps, type TimelineBadgeProps, type TimelineBodyProps, type TimelineBreakProps, } from './components/Timeline';
|
|
41
|
+
export { ToggleSwitch, type ToggleSwitchProps } from './components/ToggleSwitch';
|
|
42
|
+
export { Tooltip, type TooltipProps } from './components/Tooltip';
|
|
43
|
+
export { Token, type TokenProps } from './components/Token';
|
|
44
|
+
export { Truncate, type TruncateProps } from './components/Truncate';
|
|
45
|
+
export { UnderlineNav, type UnderlineNavProps, type UnderlineNavItemProps } from './components/UnderlineNav';
|
|
46
|
+
export { merge, sx, type SxProp } from './sx';
|
|
47
|
+
export { type BetterSystemStyleObject } from './sx';
|
|
583
48
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts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