@vygruppen/spor-react 13.0.2 → 13.1.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/.turbo/turbo-build.log +25 -25
- package/.turbo/turbo-postinstall.log +4 -4
- package/CHANGELOG.md +21 -0
- package/dist/index.cjs +554 -397
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +194 -181
- package/dist/index.d.ts +194 -181
- package/dist/index.mjs +556 -399
- package/dist/index.mjs.map +1 -1
- package/package.json +4 -8
- package/src/alert/AlertIcon.tsx +2 -2
- package/src/alert/ServiceAlert.tsx +2 -1
- package/src/calendar/CalendarCell.tsx +4 -4
- package/src/datepicker/CalendarHeader.tsx +1 -1
- package/src/dialog/Drawer.tsx +1 -1
- package/src/input/CardSelect.tsx +4 -4
- package/src/input/Combobox.tsx +1 -1
- package/src/input/Field.tsx +1 -1
- package/src/input/InputChip.tsx +33 -0
- package/src/input/PasswordInput.tsx +2 -1
- package/src/input/Popover.tsx +9 -7
- package/src/input/Select.tsx +44 -7
- package/src/input/index.ts +1 -0
- package/src/linjetag/LineIcon.tsx +1 -1
- package/src/loader/ColorInlineLoader.tsx +2 -1
- package/src/loader/ColorSpinner.tsx +2 -1
- package/src/loader/ContentLoader.tsx +2 -1
- package/src/loader/DarkFullScreenLoader.tsx +2 -1
- package/src/loader/DarkInlineLoader.tsx +2 -1
- package/src/loader/DarkSpinner.tsx +2 -1
- package/src/loader/LightFullScreenLoader.tsx +2 -1
- package/src/loader/LightInlineLoader.tsx +2 -1
- package/src/loader/LightSpinner.tsx +2 -1
- package/src/loader/Lottie.tsx +3 -2
- package/src/loader/text.ts +15 -0
- package/src/stepper/StepperStep.tsx +2 -2
- package/src/theme/recipes/badge.ts +24 -24
- package/src/theme/recipes/button.ts +22 -22
- package/src/theme/recipes/close-button.ts +2 -2
- package/src/theme/recipes/input.ts +9 -9
- package/src/theme/recipes/link.ts +1 -1
- package/src/theme/recipes/pressable-card.ts +12 -12
- package/src/theme/recipes/skeleton.ts +1 -1
- package/src/theme/recipes/static-card.ts +8 -8
- package/src/theme/semantic-tokens/colors.ts +1 -1
- package/src/theme/slot-recipes/accordion.ts +10 -10
- package/src/theme/slot-recipes/alert-expandable.ts +35 -35
- package/src/theme/slot-recipes/alert-service.ts +10 -10
- package/src/theme/slot-recipes/alert.ts +11 -11
- package/src/theme/slot-recipes/anatomy.ts +2 -0
- package/src/theme/slot-recipes/autocomplete.ts +5 -5
- package/src/theme/slot-recipes/breadcrumb.ts +4 -4
- package/src/theme/slot-recipes/checkbox.ts +11 -17
- package/src/theme/slot-recipes/choice-chip.ts +21 -21
- package/src/theme/slot-recipes/datepicker.ts +29 -29
- package/src/theme/slot-recipes/field.ts +3 -3
- package/src/theme/slot-recipes/floating-action-button.ts +14 -14
- package/src/theme/slot-recipes/index.ts +2 -0
- package/src/theme/slot-recipes/input-chip.ts +118 -0
- package/src/theme/slot-recipes/listbox.ts +9 -9
- package/src/theme/slot-recipes/media-controller-button.ts +9 -9
- package/src/theme/slot-recipes/menu.ts +7 -7
- package/src/theme/slot-recipes/numeric-stepper.ts +4 -4
- package/src/theme/slot-recipes/pagination.ts +4 -4
- package/src/theme/slot-recipes/popover.ts +4 -4
- package/src/theme/slot-recipes/progress-bar.ts +2 -2
- package/src/theme/slot-recipes/progress-indicator.ts +1 -1
- package/src/theme/slot-recipes/radio-card.ts +11 -11
- package/src/theme/slot-recipes/radio.ts +5 -5
- package/src/theme/slot-recipes/select.ts +16 -16
- package/src/theme/slot-recipes/stepper.ts +5 -5
- package/src/theme/slot-recipes/switch.ts +6 -6
- package/src/theme/slot-recipes/table.ts +2 -2
- package/src/theme/slot-recipes/tabs.ts +18 -18
- package/src/theme/slot-recipes/toast.ts +3 -3
package/dist/index.d.ts
CHANGED
|
@@ -2,13 +2,13 @@ import * as React$1 from 'react';
|
|
|
2
2
|
import React__default, { PropsWithChildren, ReactNode, ComponentProps, Ref } from 'react';
|
|
3
3
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
4
4
|
import * as _chakra_ui_react from '@chakra-ui/react';
|
|
5
|
-
import { AccordionRootProps, RecipeVariantProps, Accordion as Accordion$1, Alert as Alert$1, ConditionalValue, BreadcrumbRootProps, ButtonProps as ButtonProps$1, GroupProps, Clipboard as Clipboard$1, IconButtonProps as IconButtonProps$1, BoxProps, SystemStyleObject, RadioCard as RadioCard$1, SeparatorProps, Field as Field$1, PopoverRootProps, Dialog, Drawer as Drawer$1, Box, ComboboxRootProps,
|
|
5
|
+
import { AccordionRootProps, RecipeVariantProps, Accordion as Accordion$1, Alert as Alert$1, ConditionalValue, BreadcrumbRootProps, ButtonProps as ButtonProps$1, GroupProps, Clipboard as Clipboard$1, IconButtonProps as IconButtonProps$1, BoxProps, SystemStyleObject, RadioCard as RadioCard$1, SeparatorProps, Field as Field$1, PopoverRootProps, Dialog, Drawer as Drawer$1, Box, ComboboxRootProps, Combobox as Combobox$1, ComboboxItemProps, Checkbox as Checkbox$1, CheckboxGroup as CheckboxGroup$1, CheckboxCardRootProps, Fieldset as Fieldset$1, Input as Input$1, TagRootProps, ListRootProps, MenuRootProps, MenuContentProps, MenuItemProps as MenuItemProps$1, MenuTriggerItemProps as MenuTriggerItemProps$1, MenuRadioItemGroupProps, MenuRadioItemProps, MenuItemGroupProps as MenuItemGroupProps$1, MenuCheckboxItemProps, MenuSeparatorProps, NativeSelectFieldProps, RadioGroup as RadioGroup$1, SelectRootProps, SelectLabelProps, Select as Select$1, CollectionItem, Switch as Switch$1, TextareaProps as TextareaProps$1, LinkProps as LinkProps$1, List as List$1, UseProgressProps, SkeletonProps as SkeletonProps$1, CircleProps, Popover as Popover$1, Pagination as Pagination$1, ChakraProviderProps, SystemContext, TabsRootProps, Tabs as Tabs$1, TableRootProps, TableColumnHeaderProps as TableColumnHeaderProps$1, TableBodyProps as TableBodyProps$1, Tooltip as Tooltip$1, BadgeProps as BadgeProps$1, CodeProps, HeadingProps as HeadingProps$1, TextProps as TextProps$1 } from '@chakra-ui/react';
|
|
6
6
|
export { AspectRatio, Box, BoxProps, BreadcrumbCurrentLink, BreadcrumbEllipsis, BreadcrumbLink, Center, CenterProps, ClientOnly, Collapsible, CollapsibleRootProps, Container, ContainerProps, Em, Flex, FlexProps, For, FormatByte, FormatNumber, Grid, GridItem, GridItemProps, GridProps, HStack, Icon, Image, ImageProps, Kbd, LocaleProvider, Portal, PortalProps, Show, SimpleGrid, SimpleGridProps, Spacer, SpacerProps, Span, Stack, SystemConfig, TableCaption, TableCaptionProps, TableCell, TableCellProps, TableColumn, TableColumnGroup, TableColumnProps, TableFooter, TableFooterProps, TableHeader, TableHeaderProps, TableRoot, TableRootProps, TableRow, TableRowProps, UseDisclosureProps, VStack, VisuallyHidden, Wrap, createIcon, createListCollection, createSystem, defineConfig, defineRecipe, defineSlotRecipe, defineStyle, mergeConfigs, chakra as spor, useBreakpointValue, useCheckbox, useClipboard, useControllableProp, useDisclosure, useMediaQuery, useRecipe, useSlotRecipe, useToken } from '@chakra-ui/react';
|
|
7
7
|
import { IconComponent } from '@vygruppen/spor-icon-react';
|
|
8
8
|
import { CalendarDate, DateDuration, DateValue as DateValue$1 } from '@internationalized/date';
|
|
9
9
|
export { Time } from '@internationalized/date';
|
|
10
10
|
import { DOMAttributes, FocusableElement } from '@react-types/shared';
|
|
11
|
-
import { AriaCalendarProps, DateValue, AriaRangeCalendarProps,
|
|
11
|
+
import { AriaButtonProps, AriaCalendarProps, DateValue, AriaRangeCalendarProps, AriaDatePickerProps, AriaDateRangePickerProps, RangeCalendarProps as RangeCalendarProps$1, AriaComboBoxProps, AriaListBoxProps } from 'react-aria';
|
|
12
12
|
import { CalendarState as CalendarState$1, RangeCalendarState as RangeCalendarState$1, ListState, SelectState } from 'react-stately';
|
|
13
13
|
export { Item, Section } from 'react-stately';
|
|
14
14
|
import { ThemeProviderProps } from 'next-themes';
|
|
@@ -25,10 +25,10 @@ declare const accordionSlotRecipe: _chakra_ui_react.SlotRecipeDefinition<"root"
|
|
|
25
25
|
};
|
|
26
26
|
itemTrigger: {
|
|
27
27
|
"&:hover": {
|
|
28
|
-
background: "ghost.
|
|
28
|
+
background: "surface.ghost.hover";
|
|
29
29
|
};
|
|
30
30
|
"&:active": {
|
|
31
|
-
backgroundColor: "ghost.
|
|
31
|
+
backgroundColor: "surface.ghost.active";
|
|
32
32
|
};
|
|
33
33
|
};
|
|
34
34
|
};
|
|
@@ -36,7 +36,7 @@ declare const accordionSlotRecipe: _chakra_ui_react.SlotRecipeDefinition<"root"
|
|
|
36
36
|
item: {
|
|
37
37
|
outline: "solid";
|
|
38
38
|
outlineWidth: string;
|
|
39
|
-
outlineColor: "core
|
|
39
|
+
outlineColor: "outline.core";
|
|
40
40
|
};
|
|
41
41
|
itemTrigger: {
|
|
42
42
|
_expanded: {
|
|
@@ -44,12 +44,12 @@ declare const accordionSlotRecipe: _chakra_ui_react.SlotRecipeDefinition<"root"
|
|
|
44
44
|
};
|
|
45
45
|
"&:hover": {
|
|
46
46
|
outlineWidth: string;
|
|
47
|
-
outlineColor: "core
|
|
47
|
+
outlineColor: "outline.core";
|
|
48
48
|
outline: "2px solid";
|
|
49
49
|
outlineOffset: number;
|
|
50
50
|
};
|
|
51
51
|
"&:active": {
|
|
52
|
-
backgroundColor: "core.
|
|
52
|
+
backgroundColor: "surface.core.active";
|
|
53
53
|
outlineWidth: string;
|
|
54
54
|
outline: "none";
|
|
55
55
|
};
|
|
@@ -62,7 +62,7 @@ declare const accordionSlotRecipe: _chakra_ui_react.SlotRecipeDefinition<"root"
|
|
|
62
62
|
item: {
|
|
63
63
|
borderRadius: "none";
|
|
64
64
|
borderBottom: "1px solid";
|
|
65
|
-
borderBottomColor: "
|
|
65
|
+
borderBottomColor: "outline.neutral";
|
|
66
66
|
};
|
|
67
67
|
};
|
|
68
68
|
floating: {
|
|
@@ -70,7 +70,7 @@ declare const accordionSlotRecipe: _chakra_ui_react.SlotRecipeDefinition<"root"
|
|
|
70
70
|
outline: "1px solid";
|
|
71
71
|
outlineWidth: string;
|
|
72
72
|
boxShadow: "sm";
|
|
73
|
-
outlineColor: "floating
|
|
73
|
+
outlineColor: "outline.floating";
|
|
74
74
|
};
|
|
75
75
|
itemTrigger: {
|
|
76
76
|
_expanded: {
|
|
@@ -79,11 +79,11 @@ declare const accordionSlotRecipe: _chakra_ui_react.SlotRecipeDefinition<"root"
|
|
|
79
79
|
"&:hover": {
|
|
80
80
|
outlineWidth: string;
|
|
81
81
|
outline: "1px solid";
|
|
82
|
-
outlineColor: "floating.
|
|
82
|
+
outlineColor: "outline.floating.hover";
|
|
83
83
|
outlineOffset: number;
|
|
84
84
|
};
|
|
85
85
|
"&:active": {
|
|
86
|
-
backgroundColor: "floating.
|
|
86
|
+
backgroundColor: "surface.floating.active";
|
|
87
87
|
outlineWidth: string;
|
|
88
88
|
outline: "none";
|
|
89
89
|
};
|
|
@@ -213,117 +213,117 @@ declare const alertExpandableSlotRecipe: _chakra_ui_react.SlotRecipeDefinition<"
|
|
|
213
213
|
variant: {
|
|
214
214
|
important: {
|
|
215
215
|
itemContent: {
|
|
216
|
-
color: "
|
|
216
|
+
color: "text.warning.subtle";
|
|
217
217
|
};
|
|
218
218
|
itemTrigger: {
|
|
219
219
|
"&:hover": {
|
|
220
|
-
bg: "
|
|
220
|
+
bg: "surface.warning.hover";
|
|
221
221
|
outline: "1px solid";
|
|
222
|
-
outlineColor: "
|
|
222
|
+
outlineColor: "outline.warning.hover";
|
|
223
223
|
outlineOffset: "0px";
|
|
224
224
|
};
|
|
225
225
|
"&:active": {
|
|
226
|
-
bg: "
|
|
226
|
+
bg: "surface.warning.active";
|
|
227
227
|
};
|
|
228
228
|
};
|
|
229
229
|
root: {
|
|
230
|
-
borderColor: "
|
|
231
|
-
bg: "
|
|
230
|
+
borderColor: "outline.warning";
|
|
231
|
+
bg: "surface.warning";
|
|
232
232
|
};
|
|
233
233
|
title: {
|
|
234
|
-
color: "
|
|
234
|
+
color: "text.warning";
|
|
235
235
|
};
|
|
236
236
|
};
|
|
237
237
|
success: {
|
|
238
238
|
itemContent: {
|
|
239
|
-
color: "
|
|
239
|
+
color: "text.success.subtle";
|
|
240
240
|
};
|
|
241
241
|
itemTrigger: {
|
|
242
242
|
"&:hover": {
|
|
243
|
-
bg: "
|
|
243
|
+
bg: "surface.success.hover";
|
|
244
244
|
outline: "1px solid";
|
|
245
245
|
outlineOffset: "0px";
|
|
246
|
-
outlineColor: "
|
|
246
|
+
outlineColor: "outline.success.hover";
|
|
247
247
|
"&:active": {
|
|
248
|
-
bg: "
|
|
248
|
+
bg: "surface.success.active";
|
|
249
249
|
};
|
|
250
250
|
};
|
|
251
251
|
};
|
|
252
252
|
root: {
|
|
253
|
-
borderColor: "
|
|
254
|
-
bg: "
|
|
253
|
+
borderColor: "outline.success";
|
|
254
|
+
bg: "surface.success";
|
|
255
255
|
};
|
|
256
256
|
title: {
|
|
257
|
-
color: "
|
|
257
|
+
color: "text.success";
|
|
258
258
|
};
|
|
259
259
|
};
|
|
260
260
|
alt: {
|
|
261
261
|
itemContent: {
|
|
262
|
-
color: "
|
|
262
|
+
color: "text.notice.subtle";
|
|
263
263
|
};
|
|
264
264
|
itemTrigger: {
|
|
265
265
|
"&:hover": {
|
|
266
|
-
bg: "
|
|
266
|
+
bg: "surface.notice.hover";
|
|
267
267
|
outlineOffset: "0px";
|
|
268
268
|
outline: "1px solid";
|
|
269
|
-
outlineColor: "
|
|
269
|
+
outlineColor: "outline.notice.hover";
|
|
270
270
|
"&:active": {
|
|
271
|
-
bg: "
|
|
271
|
+
bg: "surface.notice.active";
|
|
272
272
|
};
|
|
273
273
|
};
|
|
274
274
|
};
|
|
275
275
|
root: {
|
|
276
|
-
borderColor: "
|
|
277
|
-
bg: "
|
|
276
|
+
borderColor: "outline.notice";
|
|
277
|
+
bg: "surface.notice";
|
|
278
278
|
};
|
|
279
279
|
title: {
|
|
280
|
-
color: "
|
|
280
|
+
color: "text.notice";
|
|
281
281
|
};
|
|
282
282
|
};
|
|
283
283
|
info: {
|
|
284
284
|
itemContent: {
|
|
285
|
-
color: "
|
|
285
|
+
color: "text.info.subtle";
|
|
286
286
|
};
|
|
287
287
|
itemTrigger: {
|
|
288
288
|
"&:hover": {
|
|
289
|
-
bg: "
|
|
289
|
+
bg: "surface.info.hover";
|
|
290
290
|
outlineOffset: "0px";
|
|
291
291
|
outline: "1px solid";
|
|
292
|
-
outlineColor: "
|
|
292
|
+
outlineColor: "outline.info.hover";
|
|
293
293
|
"&:active": {
|
|
294
|
-
bg: "
|
|
294
|
+
bg: "surface.info.active";
|
|
295
295
|
};
|
|
296
296
|
};
|
|
297
297
|
};
|
|
298
298
|
root: {
|
|
299
|
-
borderColor: "
|
|
300
|
-
bg: "
|
|
299
|
+
borderColor: "outline.info";
|
|
300
|
+
bg: "surface.info";
|
|
301
301
|
};
|
|
302
302
|
title: {
|
|
303
|
-
color: "
|
|
303
|
+
color: "text.info";
|
|
304
304
|
};
|
|
305
305
|
};
|
|
306
306
|
error: {
|
|
307
307
|
itemContent: {
|
|
308
|
-
color: "
|
|
308
|
+
color: "text.critical.subtle";
|
|
309
309
|
};
|
|
310
310
|
itemTrigger: {
|
|
311
311
|
"&:hover": {
|
|
312
|
-
bg: "
|
|
312
|
+
bg: "surface.critical.hover";
|
|
313
313
|
outlineOffset: "0px";
|
|
314
314
|
outline: "1px solid";
|
|
315
|
-
outlineColor: "
|
|
315
|
+
outlineColor: "outline.critical.hover";
|
|
316
316
|
"&:active": {
|
|
317
|
-
bg: "
|
|
317
|
+
bg: "surface.critical.active";
|
|
318
318
|
};
|
|
319
319
|
};
|
|
320
320
|
};
|
|
321
321
|
root: {
|
|
322
|
-
borderColor: "
|
|
323
|
-
bg: "
|
|
322
|
+
borderColor: "outline.critical";
|
|
323
|
+
bg: "surface.critical";
|
|
324
324
|
};
|
|
325
325
|
title: {
|
|
326
|
-
color: "
|
|
326
|
+
color: "text.critical";
|
|
327
327
|
};
|
|
328
328
|
};
|
|
329
329
|
};
|
|
@@ -427,40 +427,40 @@ declare const Breadcrumb: ({ ref, children, css, ...props }: BreadcrumbRootProps
|
|
|
427
427
|
declare const buttonRecipe: _chakra_ui_react.RecipeDefinition<{
|
|
428
428
|
variant: {
|
|
429
429
|
primary: {
|
|
430
|
-
background: "brand
|
|
431
|
-
color: "brand
|
|
430
|
+
background: "surface.brand";
|
|
431
|
+
color: "text.brand";
|
|
432
432
|
fontWeight: "bold";
|
|
433
433
|
_hover: {
|
|
434
|
-
background: "brand.
|
|
434
|
+
background: "surface.brand.hover";
|
|
435
435
|
_active: {
|
|
436
|
-
background: "brand.
|
|
436
|
+
background: "surface.brand.active";
|
|
437
437
|
};
|
|
438
438
|
};
|
|
439
439
|
};
|
|
440
440
|
secondary: {
|
|
441
|
-
background: "accent
|
|
442
|
-
color: "accent
|
|
441
|
+
background: "surface.accent";
|
|
442
|
+
color: "text.accent";
|
|
443
443
|
fontWeight: "bold";
|
|
444
444
|
_hover: {
|
|
445
|
-
background: "accent.
|
|
445
|
+
background: "surface.accent.hover";
|
|
446
446
|
_active: {
|
|
447
|
-
background: "accent.
|
|
447
|
+
background: "surface.accent.active";
|
|
448
448
|
};
|
|
449
449
|
};
|
|
450
450
|
};
|
|
451
451
|
tertiary: {
|
|
452
|
-
color: "core
|
|
452
|
+
color: "text.core";
|
|
453
453
|
outline: "solid";
|
|
454
454
|
fontWeight: "normal";
|
|
455
455
|
outlineWidth: string;
|
|
456
|
-
outlineColor: "core
|
|
456
|
+
outlineColor: "outline.core";
|
|
457
457
|
_hover: {
|
|
458
458
|
outlineWidth: string;
|
|
459
|
-
outlineColor: "core.
|
|
459
|
+
outlineColor: "outline.core.hover";
|
|
460
460
|
_active: {
|
|
461
|
-
background: "core.
|
|
461
|
+
background: "surface.core.active";
|
|
462
462
|
outlineWidth: string;
|
|
463
|
-
outlineColor: "core
|
|
463
|
+
outlineColor: "outline.core";
|
|
464
464
|
};
|
|
465
465
|
};
|
|
466
466
|
_focus: {
|
|
@@ -468,28 +468,28 @@ declare const buttonRecipe: _chakra_ui_react.RecipeDefinition<{
|
|
|
468
468
|
};
|
|
469
469
|
};
|
|
470
470
|
ghost: {
|
|
471
|
-
color: "ghost
|
|
471
|
+
color: "text.ghost";
|
|
472
472
|
fontWeight: "bold";
|
|
473
473
|
_hover: {
|
|
474
|
-
background: "ghost.
|
|
474
|
+
background: "surface.ghost.hover";
|
|
475
475
|
_active: {
|
|
476
|
-
background: "ghost.
|
|
476
|
+
background: "surface.ghost.active";
|
|
477
477
|
};
|
|
478
478
|
};
|
|
479
479
|
};
|
|
480
480
|
floating: {
|
|
481
|
-
color: "floating
|
|
482
|
-
background: "floating
|
|
481
|
+
color: "text.floating";
|
|
482
|
+
background: "surface.floating";
|
|
483
483
|
fontWeight: "bold";
|
|
484
484
|
border: "sm";
|
|
485
|
-
borderColor: "floating
|
|
485
|
+
borderColor: "outline.floating";
|
|
486
486
|
boxShadow: "0px 1px 3px 0px var(--spor-colors-surface-disabled, rgba(0, 0, 0, 0.10))";
|
|
487
487
|
_hover: {
|
|
488
|
-
borderColor: "floating.
|
|
488
|
+
borderColor: "outline.floating.hover";
|
|
489
489
|
_active: {
|
|
490
|
-
background: "core.
|
|
490
|
+
background: "surface.core.active";
|
|
491
491
|
boxShadow: "none";
|
|
492
|
-
borderColor: "floating
|
|
492
|
+
borderColor: "outline.floating";
|
|
493
493
|
};
|
|
494
494
|
};
|
|
495
495
|
};
|
|
@@ -663,12 +663,12 @@ declare const floatingActionButtonSlotRecipe: _chakra_ui_react.SlotRecipeDefinit
|
|
|
663
663
|
variant: {
|
|
664
664
|
brand: {
|
|
665
665
|
root: {
|
|
666
|
-
backgroundColor: "brand
|
|
667
|
-
color: "brand
|
|
666
|
+
backgroundColor: "surface.brand";
|
|
667
|
+
color: "text.brand";
|
|
668
668
|
_hover: {
|
|
669
|
-
backgroundColor: "brand.
|
|
669
|
+
backgroundColor: "surface.brand.hover";
|
|
670
670
|
_active: {
|
|
671
|
-
backgroundColor: "brand.
|
|
671
|
+
backgroundColor: "surface.brand.active";
|
|
672
672
|
};
|
|
673
673
|
};
|
|
674
674
|
};
|
|
@@ -677,29 +677,29 @@ declare const floatingActionButtonSlotRecipe: _chakra_ui_react.SlotRecipeDefinit
|
|
|
677
677
|
root: {
|
|
678
678
|
backgroundColor: "transparent";
|
|
679
679
|
outline: "1px solid";
|
|
680
|
-
outlineColor: "core
|
|
681
|
-
color: "core
|
|
680
|
+
outlineColor: "outline.core";
|
|
681
|
+
color: "text.core";
|
|
682
682
|
_hover: {
|
|
683
683
|
backgroundColor: "transparent";
|
|
684
684
|
outline: "2px solid";
|
|
685
|
-
outlineColor: "core
|
|
685
|
+
outlineColor: "outline.core";
|
|
686
686
|
_active: {
|
|
687
687
|
outline: "1px solid";
|
|
688
|
-
outlineColor: "core
|
|
689
|
-
backgroundColor: "core.
|
|
688
|
+
outlineColor: "outline.core";
|
|
689
|
+
backgroundColor: "surface.core.active";
|
|
690
690
|
};
|
|
691
691
|
};
|
|
692
692
|
};
|
|
693
693
|
};
|
|
694
694
|
accent: {
|
|
695
695
|
root: {
|
|
696
|
-
backgroundColor: "accent
|
|
697
|
-
color: "accent
|
|
696
|
+
backgroundColor: "surface.accent";
|
|
697
|
+
color: "text.accent";
|
|
698
698
|
_hover: {
|
|
699
|
-
backgroundColor: "accent.
|
|
700
|
-
color: "accent
|
|
699
|
+
backgroundColor: "surface.accent.hover";
|
|
700
|
+
color: "text.accent";
|
|
701
701
|
_active: {
|
|
702
|
-
backgroundColor: "accent.
|
|
702
|
+
backgroundColor: "surface.accent.active";
|
|
703
703
|
};
|
|
704
704
|
};
|
|
705
705
|
};
|
|
@@ -847,29 +847,29 @@ declare const pressableCardRecipe: _chakra_ui_react.RecipeDefinition<{
|
|
|
847
847
|
boxShadow: "0px 1px 3px 0px var(--shadow-color)";
|
|
848
848
|
shadowColor: "surface.disabled";
|
|
849
849
|
border: "sm";
|
|
850
|
-
borderColor: "floating
|
|
851
|
-
backgroundColor: "floating
|
|
850
|
+
borderColor: "outline.floating";
|
|
851
|
+
backgroundColor: "surface.floating";
|
|
852
852
|
_hover: {
|
|
853
853
|
boxShadow: "0px 2px 6px 0px var(--shadow-color)";
|
|
854
|
-
backgroundColor: "floating.
|
|
855
|
-
borderColor: "floating.
|
|
854
|
+
backgroundColor: "surface.floating.hover";
|
|
855
|
+
borderColor: "outline.floating.hover";
|
|
856
856
|
_active: {
|
|
857
857
|
boxShadow: "none";
|
|
858
|
-
backgroundColor: "floating.
|
|
859
|
-
borderColor: "
|
|
858
|
+
backgroundColor: "surface.floating.active";
|
|
859
|
+
borderColor: "outline.neutral";
|
|
860
860
|
};
|
|
861
861
|
};
|
|
862
862
|
};
|
|
863
863
|
core: {
|
|
864
|
-
outlineColor: "core
|
|
864
|
+
outlineColor: "outline.core";
|
|
865
865
|
outlineWidth: string;
|
|
866
866
|
outlineStyle: "solid";
|
|
867
867
|
_hover: {
|
|
868
|
-
outlineColor: "core.
|
|
868
|
+
outlineColor: "outline.core.hover";
|
|
869
869
|
outlineWidth: string;
|
|
870
870
|
outlineStyle: "solid";
|
|
871
871
|
_active: {
|
|
872
|
-
backgroundColor: "core.
|
|
872
|
+
backgroundColor: "surface.core.active";
|
|
873
873
|
outlineWidth: string;
|
|
874
874
|
};
|
|
875
875
|
};
|
|
@@ -877,12 +877,12 @@ declare const pressableCardRecipe: _chakra_ui_react.RecipeDefinition<{
|
|
|
877
877
|
accent: {
|
|
878
878
|
boxShadow: "0px 1px 3px 0px var(--shadow-color)";
|
|
879
879
|
shadowColor: "surface.disabled";
|
|
880
|
-
background: "
|
|
880
|
+
background: "surface.success";
|
|
881
881
|
_hover: {
|
|
882
|
-
background: "
|
|
882
|
+
background: "surface.success.hover";
|
|
883
883
|
boxShadow: "0px 2px 6px 0px var(--shadow-color)";
|
|
884
884
|
_active: {
|
|
885
|
-
background: "
|
|
885
|
+
background: "surface.success.active";
|
|
886
886
|
boxShadow: "none";
|
|
887
887
|
};
|
|
888
888
|
};
|
|
@@ -928,15 +928,15 @@ declare const radioCardSlotRecipe: _chakra_ui_react.SlotRecipeDefinition<"root"
|
|
|
928
928
|
variant: {
|
|
929
929
|
core: {
|
|
930
930
|
item: {
|
|
931
|
-
outlineColor: "core
|
|
931
|
+
outlineColor: "outline.core";
|
|
932
932
|
outlineWidth: string;
|
|
933
933
|
outlineStyle: "solid";
|
|
934
934
|
_hover: {
|
|
935
|
-
outlineColor: "core.
|
|
935
|
+
outlineColor: "outline.core.hover";
|
|
936
936
|
outlineWidth: string;
|
|
937
937
|
outlineStyle: "solid";
|
|
938
938
|
_active: {
|
|
939
|
-
backgroundColor: "core.
|
|
939
|
+
backgroundColor: "surface.core.active";
|
|
940
940
|
outlineWidth: string;
|
|
941
941
|
};
|
|
942
942
|
};
|
|
@@ -944,7 +944,7 @@ declare const radioCardSlotRecipe: _chakra_ui_react.SlotRecipeDefinition<"root"
|
|
|
944
944
|
outlineColor: "outline.focus";
|
|
945
945
|
outlineWidth: string;
|
|
946
946
|
outlineStyle: "solid";
|
|
947
|
-
backgroundColor: "core.
|
|
947
|
+
backgroundColor: "surface.core.active";
|
|
948
948
|
_focusVisible: {
|
|
949
949
|
outlineStyle: "double";
|
|
950
950
|
outlineWidth: `calc(3 * ${string})`;
|
|
@@ -957,15 +957,15 @@ declare const radioCardSlotRecipe: _chakra_ui_react.SlotRecipeDefinition<"root"
|
|
|
957
957
|
boxShadow: "0px 1px 3px 0px var(--shadow-color)";
|
|
958
958
|
shadowColor: "surface.disabled";
|
|
959
959
|
border: "sm";
|
|
960
|
-
borderColor: "floating
|
|
961
|
-
background: "floating
|
|
960
|
+
borderColor: "outline.floating";
|
|
961
|
+
background: "surface.floating";
|
|
962
962
|
_hover: {
|
|
963
|
-
background: "floating.
|
|
964
|
-
borderColor: "floating.
|
|
963
|
+
background: "surface.floating.hover";
|
|
964
|
+
borderColor: "outline.floating.hover";
|
|
965
965
|
boxShadow: "0px 2px 6px 0px var(--shadow-color)";
|
|
966
966
|
_active: {
|
|
967
|
-
background: "floating.
|
|
968
|
-
borderColor: "
|
|
967
|
+
background: "surface.floating.active";
|
|
968
|
+
borderColor: "outline.neutral";
|
|
969
969
|
boxShadow: "none";
|
|
970
970
|
};
|
|
971
971
|
};
|
|
@@ -973,7 +973,7 @@ declare const radioCardSlotRecipe: _chakra_ui_react.SlotRecipeDefinition<"root"
|
|
|
973
973
|
outlineColor: "outline.focus";
|
|
974
974
|
outlineWidth: string;
|
|
975
975
|
outlineStyle: "solid";
|
|
976
|
-
backgroundColor: "core.
|
|
976
|
+
backgroundColor: "surface.core.active";
|
|
977
977
|
_focusVisible: {
|
|
978
978
|
outlineStyle: "double";
|
|
979
979
|
outlineWidth: `calc(3 * ${string})`;
|
|
@@ -1028,29 +1028,29 @@ declare const Separator: ({ ref, ...props }: SeparatorProps & {
|
|
|
1028
1028
|
declare const staticCardRecipe: _chakra_ui_react.RecipeDefinition<{
|
|
1029
1029
|
colorPalette: {
|
|
1030
1030
|
white: {
|
|
1031
|
-
backgroundColor: "surface
|
|
1031
|
+
backgroundColor: "surface";
|
|
1032
1032
|
color: "text";
|
|
1033
1033
|
};
|
|
1034
1034
|
grey: {
|
|
1035
|
-
backgroundColor: "surface.
|
|
1035
|
+
backgroundColor: "surface.neutral";
|
|
1036
1036
|
};
|
|
1037
1037
|
yellow: {
|
|
1038
|
-
backgroundColor: "surface.
|
|
1038
|
+
backgroundColor: "surface.warning";
|
|
1039
1039
|
};
|
|
1040
1040
|
darkYellow: {
|
|
1041
|
-
backgroundColor: "surface.
|
|
1041
|
+
backgroundColor: "surface.notice";
|
|
1042
1042
|
};
|
|
1043
1043
|
red: {
|
|
1044
|
-
backgroundColor: "surface.
|
|
1044
|
+
backgroundColor: "surface.critical";
|
|
1045
1045
|
};
|
|
1046
1046
|
green: {
|
|
1047
|
-
backgroundColor: "surface.
|
|
1047
|
+
backgroundColor: "surface.success";
|
|
1048
1048
|
};
|
|
1049
1049
|
blue: {
|
|
1050
|
-
backgroundColor: "surface.
|
|
1050
|
+
backgroundColor: "surface.info";
|
|
1051
1051
|
};
|
|
1052
1052
|
orange: {
|
|
1053
|
-
backgroundColor: "surface.
|
|
1053
|
+
backgroundColor: "surface.caution";
|
|
1054
1054
|
};
|
|
1055
1055
|
};
|
|
1056
1056
|
}>;
|
|
@@ -1163,14 +1163,14 @@ declare const datePickerSlotRecipe: _chakra_ui_react.SlotRecipeDefinition<"cell"
|
|
|
1163
1163
|
core: {
|
|
1164
1164
|
wrapper: {
|
|
1165
1165
|
outline: "1px solid";
|
|
1166
|
-
outlineColor: "core
|
|
1166
|
+
outlineColor: "outline.core";
|
|
1167
1167
|
_hover: {
|
|
1168
1168
|
outline: "2px solid";
|
|
1169
|
-
outlineColor: "core.
|
|
1169
|
+
outlineColor: "outline.core.hover";
|
|
1170
1170
|
_active: {
|
|
1171
|
-
backgroundColor: "ghost.
|
|
1171
|
+
backgroundColor: "surface.ghost.active";
|
|
1172
1172
|
outline: "1px solid";
|
|
1173
|
-
outlineColor: "core
|
|
1173
|
+
outlineColor: "outline.core";
|
|
1174
1174
|
};
|
|
1175
1175
|
"&[data-active]": {
|
|
1176
1176
|
outline: "2px solid";
|
|
@@ -1188,17 +1188,17 @@ declare const datePickerSlotRecipe: _chakra_ui_react.SlotRecipeDefinition<"cell"
|
|
|
1188
1188
|
};
|
|
1189
1189
|
floating: {
|
|
1190
1190
|
wrapper: {
|
|
1191
|
-
bg: "floating
|
|
1191
|
+
bg: "surface.floating";
|
|
1192
1192
|
outline: "1px solid";
|
|
1193
|
-
outlineColor: "floating
|
|
1193
|
+
outlineColor: "outline.floating";
|
|
1194
1194
|
boxShadow: "sm";
|
|
1195
1195
|
_hover: {
|
|
1196
1196
|
outline: "1px solid";
|
|
1197
|
-
outlineColor: "floating.
|
|
1197
|
+
outlineColor: "outline.floating.hover";
|
|
1198
1198
|
_active: {
|
|
1199
|
-
backgroundColor: "ghost.
|
|
1199
|
+
backgroundColor: "surface.ghost.active";
|
|
1200
1200
|
outline: "1px solid";
|
|
1201
|
-
outlineColor: "core
|
|
1201
|
+
outlineColor: "outline.core";
|
|
1202
1202
|
};
|
|
1203
1203
|
"&[data-active]": {
|
|
1204
1204
|
outline: "2px solid";
|
|
@@ -1218,11 +1218,11 @@ declare const datePickerSlotRecipe: _chakra_ui_react.SlotRecipeDefinition<"cell"
|
|
|
1218
1218
|
wrapper: {
|
|
1219
1219
|
_hover: {
|
|
1220
1220
|
outline: "2px solid";
|
|
1221
|
-
outlineColor: "core.
|
|
1221
|
+
outlineColor: "outline.core.hover";
|
|
1222
1222
|
_active: {
|
|
1223
|
-
backgroundColor: "ghost.
|
|
1223
|
+
backgroundColor: "surface.ghost.active";
|
|
1224
1224
|
outline: "1px solid";
|
|
1225
|
-
outlineColor: "core
|
|
1225
|
+
outlineColor: "outline.core";
|
|
1226
1226
|
};
|
|
1227
1227
|
"&[data-active]": {
|
|
1228
1228
|
outline: "2px solid";
|
|
@@ -1909,18 +1909,27 @@ declare const Input: ({ ref, startElement, endElement, label, invalid, helperTex
|
|
|
1909
1909
|
ref?: React__default.Ref<HTMLInputElement | null>;
|
|
1910
1910
|
}) => react_jsx_runtime.JSX.Element;
|
|
1911
1911
|
|
|
1912
|
+
type InputChipProps = TagRootProps & {
|
|
1913
|
+
startIcon?: IconComponent;
|
|
1914
|
+
endIcon?: IconComponent;
|
|
1915
|
+
onClick?: VoidFunction;
|
|
1916
|
+
};
|
|
1917
|
+
declare const InputChip: ({ startIcon, endIcon, children, ref, ...rest }: InputChipProps & {
|
|
1918
|
+
ref?: React__default.Ref<HTMLDivElement>;
|
|
1919
|
+
}) => react_jsx_runtime.JSX.Element;
|
|
1920
|
+
|
|
1912
1921
|
declare const listBoxSlotRecipe: _chakra_ui_react.SlotRecipeDefinition<"root" | "item" | "description" | "label", {
|
|
1913
1922
|
variant: {
|
|
1914
1923
|
core: {
|
|
1915
1924
|
root: {
|
|
1916
1925
|
outline: "1px solid";
|
|
1917
|
-
outlineColor: "core
|
|
1926
|
+
outlineColor: "outline.core";
|
|
1918
1927
|
};
|
|
1919
1928
|
};
|
|
1920
1929
|
floating: {
|
|
1921
1930
|
root: {
|
|
1922
1931
|
outline: "1px solid";
|
|
1923
|
-
outlineColor: "floating
|
|
1932
|
+
outlineColor: "outline.floating";
|
|
1924
1933
|
};
|
|
1925
1934
|
};
|
|
1926
1935
|
};
|
|
@@ -2063,14 +2072,14 @@ declare const nativeSelectSlotRecipe: _chakra_ui_react.SlotRecipeDefinition<"ico
|
|
|
2063
2072
|
field: {
|
|
2064
2073
|
backgroundColor?: "transparent" | undefined;
|
|
2065
2074
|
outline?: "1px solid" | undefined;
|
|
2066
|
-
outlineColor?: "core
|
|
2075
|
+
outlineColor?: "outline.core" | undefined;
|
|
2067
2076
|
_hover?: {
|
|
2068
2077
|
outline: "2px solid";
|
|
2069
|
-
outlineColor: "core.
|
|
2078
|
+
outlineColor: "outline.core.hover";
|
|
2070
2079
|
_active: {
|
|
2071
2080
|
outline: "1px solid";
|
|
2072
2081
|
outlineColor: "outline.disabled";
|
|
2073
|
-
backgroundColor: "core.
|
|
2082
|
+
backgroundColor: "surface.core.active";
|
|
2074
2083
|
};
|
|
2075
2084
|
} | undefined;
|
|
2076
2085
|
_focus?: {
|
|
@@ -2082,17 +2091,17 @@ declare const nativeSelectSlotRecipe: _chakra_ui_react.SlotRecipeDefinition<"ico
|
|
|
2082
2091
|
floating: {
|
|
2083
2092
|
field: {
|
|
2084
2093
|
boxShadow?: "sm" | undefined;
|
|
2085
|
-
bg?: "floating
|
|
2094
|
+
bg?: "surface.floating" | undefined;
|
|
2086
2095
|
outline?: "1px solid" | undefined;
|
|
2087
|
-
outlineColor?: "floating
|
|
2096
|
+
outlineColor?: "outline.floating" | undefined;
|
|
2088
2097
|
_hover?: {
|
|
2089
2098
|
outline: "1px solid";
|
|
2090
|
-
outlineColor: "floating.
|
|
2099
|
+
outlineColor: "outline.floating.hover";
|
|
2091
2100
|
} | undefined;
|
|
2092
2101
|
_active?: {
|
|
2093
2102
|
outline: "1px solid";
|
|
2094
|
-
outlineColor: "
|
|
2095
|
-
backgroundColor: "floating.
|
|
2103
|
+
outlineColor: "outline.neutral";
|
|
2104
|
+
backgroundColor: "surface.floating.active";
|
|
2096
2105
|
} | undefined;
|
|
2097
2106
|
focus?: {
|
|
2098
2107
|
outline: string;
|
|
@@ -2354,9 +2363,12 @@ type SelectItemProps = Select$1.ItemProps & {
|
|
|
2354
2363
|
children: React$1.ReactNode;
|
|
2355
2364
|
description?: React$1.ReactNode;
|
|
2356
2365
|
};
|
|
2357
|
-
declare const SelectItem:
|
|
2358
|
-
ref
|
|
2359
|
-
|
|
2366
|
+
declare const SelectItem: {
|
|
2367
|
+
({ ref, ...props }: SelectItemProps & {
|
|
2368
|
+
ref?: React$1.Ref<HTMLDivElement>;
|
|
2369
|
+
}): react_jsx_runtime.JSX.Element;
|
|
2370
|
+
displayName: string;
|
|
2371
|
+
};
|
|
2360
2372
|
type SelectItemGroupProps = Select$1.ItemGroupProps & {
|
|
2361
2373
|
label: React$1.ReactNode;
|
|
2362
2374
|
children: React$1.ReactNode;
|
|
@@ -2383,6 +2395,7 @@ type SelectValueTextProps = Omit<Select$1.ValueTextProps, "children"> & {
|
|
|
2383
2395
|
children?(items: CollectionItem[]): React$1.ReactNode;
|
|
2384
2396
|
placeholder?: string;
|
|
2385
2397
|
withPlaceholder?: boolean;
|
|
2398
|
+
multiple?: boolean;
|
|
2386
2399
|
};
|
|
2387
2400
|
declare const SelectValueText: ({ ref, ...props }: SelectValueTextProps & {
|
|
2388
2401
|
ref?: React$1.Ref<HTMLSpanElement>;
|
|
@@ -2464,14 +2477,14 @@ declare const textareaRecipe: _chakra_ui_react.RecipeDefinition<{
|
|
|
2464
2477
|
core: {
|
|
2465
2478
|
backgroundColor?: "transparent" | undefined;
|
|
2466
2479
|
outline?: "1px solid" | undefined;
|
|
2467
|
-
outlineColor?: "core
|
|
2480
|
+
outlineColor?: "outline.core" | undefined;
|
|
2468
2481
|
_hover?: {
|
|
2469
2482
|
outline: "2px solid";
|
|
2470
|
-
outlineColor: "core.
|
|
2483
|
+
outlineColor: "outline.core.hover";
|
|
2471
2484
|
_active: {
|
|
2472
2485
|
outline: "1px solid";
|
|
2473
2486
|
outlineColor: "outline.disabled";
|
|
2474
|
-
backgroundColor: "core.
|
|
2487
|
+
backgroundColor: "surface.core.active";
|
|
2475
2488
|
};
|
|
2476
2489
|
} | undefined;
|
|
2477
2490
|
_focus?: {
|
|
@@ -2481,17 +2494,17 @@ declare const textareaRecipe: _chakra_ui_react.RecipeDefinition<{
|
|
|
2481
2494
|
};
|
|
2482
2495
|
floating: {
|
|
2483
2496
|
boxShadow?: "sm" | undefined;
|
|
2484
|
-
bg?: "floating
|
|
2497
|
+
bg?: "surface.floating" | undefined;
|
|
2485
2498
|
outline?: "1px solid" | undefined;
|
|
2486
|
-
outlineColor?: "floating
|
|
2499
|
+
outlineColor?: "outline.floating" | undefined;
|
|
2487
2500
|
_hover?: {
|
|
2488
2501
|
outline: "1px solid";
|
|
2489
|
-
outlineColor: "floating.
|
|
2502
|
+
outlineColor: "outline.floating.hover";
|
|
2490
2503
|
} | undefined;
|
|
2491
2504
|
_active?: {
|
|
2492
2505
|
outline: "1px solid";
|
|
2493
|
-
outlineColor: "
|
|
2494
|
-
backgroundColor: "floating.
|
|
2506
|
+
outlineColor: "outline.neutral";
|
|
2507
|
+
backgroundColor: "surface.floating.active";
|
|
2495
2508
|
} | undefined;
|
|
2496
2509
|
focus?: {
|
|
2497
2510
|
outline: string;
|
|
@@ -3201,7 +3214,7 @@ declare const skeletonRecipe: _chakra_ui_react.RecipeDefinition<{
|
|
|
3201
3214
|
};
|
|
3202
3215
|
none: {
|
|
3203
3216
|
animation: "none";
|
|
3204
|
-
background: "surface.
|
|
3217
|
+
background: "surface.neutral";
|
|
3205
3218
|
};
|
|
3206
3219
|
};
|
|
3207
3220
|
}>;
|
|
@@ -3256,14 +3269,14 @@ declare const mediaControllerSlotRecipe: _chakra_ui_react.SlotRecipeDefinition<"
|
|
|
3256
3269
|
play: {
|
|
3257
3270
|
root: {
|
|
3258
3271
|
padding: number;
|
|
3259
|
-
color: "brand
|
|
3260
|
-
backgroundColor: "brand
|
|
3272
|
+
color: "text.brand";
|
|
3273
|
+
backgroundColor: "surface.brand";
|
|
3261
3274
|
_hover: {
|
|
3262
|
-
color: "brand
|
|
3263
|
-
backgroundColor: "brand.
|
|
3275
|
+
color: "text.brand";
|
|
3276
|
+
backgroundColor: "surface.brand.hover";
|
|
3264
3277
|
_active: {
|
|
3265
|
-
color: "brand
|
|
3266
|
-
backgroundColor: "brand.
|
|
3278
|
+
color: "text.brand";
|
|
3279
|
+
backgroundColor: "surface.brand.active";
|
|
3267
3280
|
};
|
|
3268
3281
|
};
|
|
3269
3282
|
_disabled: {
|
|
@@ -3276,9 +3289,9 @@ declare const mediaControllerSlotRecipe: _chakra_ui_react.SlotRecipeDefinition<"
|
|
|
3276
3289
|
jumpSkip: {
|
|
3277
3290
|
root: {
|
|
3278
3291
|
_hover: {
|
|
3279
|
-
backgroundColor: "ghost.
|
|
3292
|
+
backgroundColor: "surface.ghost.hover";
|
|
3280
3293
|
_active: {
|
|
3281
|
-
backgroundColor: "ghost.
|
|
3294
|
+
backgroundColor: "surface.ghost.active";
|
|
3282
3295
|
};
|
|
3283
3296
|
};
|
|
3284
3297
|
_disabled: {
|
|
@@ -3514,7 +3527,7 @@ declare const stepperSlotRecipe: _chakra_ui_react.SlotRecipeDefinition<"root" |
|
|
|
3514
3527
|
};
|
|
3515
3528
|
accent: {
|
|
3516
3529
|
root: {
|
|
3517
|
-
backgroundColor: "accent
|
|
3530
|
+
backgroundColor: "bg.accent";
|
|
3518
3531
|
};
|
|
3519
3532
|
stepButton: {
|
|
3520
3533
|
color: {
|
|
@@ -3522,13 +3535,13 @@ declare const stepperSlotRecipe: _chakra_ui_react.SlotRecipeDefinition<"root" |
|
|
|
3522
3535
|
_dark: "whiteAlpha.900";
|
|
3523
3536
|
};
|
|
3524
3537
|
_disabled: {
|
|
3525
|
-
color: "core
|
|
3538
|
+
color: "text.core";
|
|
3526
3539
|
};
|
|
3527
3540
|
_currentStep: {
|
|
3528
|
-
color: "accent
|
|
3541
|
+
color: "text.accent";
|
|
3529
3542
|
};
|
|
3530
3543
|
_hover: {
|
|
3531
|
-
backgroundColor: "accent.
|
|
3544
|
+
backgroundColor: "surface.accent.hover";
|
|
3532
3545
|
_disabled: {
|
|
3533
3546
|
backgroundColor: "transparent";
|
|
3534
3547
|
};
|
|
@@ -3536,7 +3549,7 @@ declare const stepperSlotRecipe: _chakra_ui_react.SlotRecipeDefinition<"root" |
|
|
|
3536
3549
|
};
|
|
3537
3550
|
backButton: {
|
|
3538
3551
|
_hover: {
|
|
3539
|
-
backgroundColor: "brand.
|
|
3552
|
+
backgroundColor: "surface.brand.hover";
|
|
3540
3553
|
};
|
|
3541
3554
|
};
|
|
3542
3555
|
};
|
|
@@ -3632,26 +3645,26 @@ declare const tabsSlotRecipe: _chakra_ui_react.SlotRecipeDefinition<"root" | "in
|
|
|
3632
3645
|
variant: {
|
|
3633
3646
|
core: {
|
|
3634
3647
|
list: {
|
|
3635
|
-
color: "core
|
|
3648
|
+
color: "text.core";
|
|
3636
3649
|
border: "sm";
|
|
3637
3650
|
};
|
|
3638
3651
|
trigger: {
|
|
3639
|
-
color: "core
|
|
3652
|
+
color: "text.core";
|
|
3640
3653
|
border: "md";
|
|
3641
3654
|
borderColor: "transparent";
|
|
3642
3655
|
_hover: {
|
|
3643
3656
|
outline: "2px solid";
|
|
3644
|
-
outlineColor: "core.
|
|
3657
|
+
outlineColor: "outline.core.hover";
|
|
3645
3658
|
outlineOffset: "-2px";
|
|
3646
3659
|
};
|
|
3647
3660
|
_active: {
|
|
3648
|
-
backgroundColor: "brand.
|
|
3649
|
-
color: "brand
|
|
3661
|
+
backgroundColor: "surface.brand.active";
|
|
3662
|
+
color: "text.brand";
|
|
3650
3663
|
outline: "none";
|
|
3651
3664
|
};
|
|
3652
3665
|
_selected: {
|
|
3653
|
-
backgroundColor: "brand
|
|
3654
|
-
color: "brand
|
|
3666
|
+
backgroundColor: "surface.brand";
|
|
3667
|
+
color: "text.brand";
|
|
3655
3668
|
_hover: {
|
|
3656
3669
|
outline: "none";
|
|
3657
3670
|
};
|
|
@@ -3664,28 +3677,28 @@ declare const tabsSlotRecipe: _chakra_ui_react.SlotRecipeDefinition<"root" | "in
|
|
|
3664
3677
|
};
|
|
3665
3678
|
accent: {
|
|
3666
3679
|
list: {
|
|
3667
|
-
backgroundColor: "accent
|
|
3668
|
-
color: "accent
|
|
3680
|
+
backgroundColor: "bg.accent";
|
|
3681
|
+
color: "text.accent";
|
|
3669
3682
|
};
|
|
3670
3683
|
trigger: {
|
|
3671
|
-
color: "accent
|
|
3684
|
+
color: "text.accent";
|
|
3672
3685
|
_disabled: {
|
|
3673
3686
|
backgroundColor: "surface.disabled";
|
|
3674
3687
|
color: "icon.disabled";
|
|
3675
3688
|
};
|
|
3676
3689
|
_hover: {
|
|
3677
|
-
backgroundColor: "accent.
|
|
3690
|
+
backgroundColor: "surface.accent.hover";
|
|
3678
3691
|
_active: {
|
|
3679
|
-
backgroundColor: "brand.
|
|
3680
|
-
color: "brand
|
|
3692
|
+
backgroundColor: "surface.brand.active";
|
|
3693
|
+
color: "text.brand";
|
|
3681
3694
|
};
|
|
3682
3695
|
};
|
|
3683
3696
|
_selected: {
|
|
3684
|
-
backgroundColor: "brand
|
|
3685
|
-
color: "brand
|
|
3697
|
+
backgroundColor: "surface.brand";
|
|
3698
|
+
color: "text.brand";
|
|
3686
3699
|
_hover: {
|
|
3687
|
-
backgroundColor: "brand.
|
|
3688
|
-
color: "brand
|
|
3700
|
+
backgroundColor: "surface.brand.hover";
|
|
3701
|
+
color: "text.brand";
|
|
3689
3702
|
outline: "none";
|
|
3690
3703
|
};
|
|
3691
3704
|
};
|
|
@@ -3733,7 +3746,7 @@ declare const tabsSlotRecipe: _chakra_ui_react.SlotRecipeDefinition<"root" | "in
|
|
|
3733
3746
|
paddingX: number;
|
|
3734
3747
|
_focus: {
|
|
3735
3748
|
border: "md";
|
|
3736
|
-
borderColor: "accent
|
|
3749
|
+
borderColor: "surface.accent";
|
|
3737
3750
|
};
|
|
3738
3751
|
};
|
|
3739
3752
|
};
|
|
@@ -3799,10 +3812,10 @@ declare const tableSlotRecipe: _chakra_ui_react.SlotRecipeDefinition<"root" | "b
|
|
|
3799
3812
|
backgroundColor: "bg";
|
|
3800
3813
|
};
|
|
3801
3814
|
header: {
|
|
3802
|
-
backgroundColor: "bg.
|
|
3815
|
+
backgroundColor: "bg.brand";
|
|
3803
3816
|
};
|
|
3804
3817
|
columnHeader: {
|
|
3805
|
-
color: "text.
|
|
3818
|
+
color: "text.highlight";
|
|
3806
3819
|
};
|
|
3807
3820
|
};
|
|
3808
3821
|
grey: {
|
|
@@ -4102,4 +4115,4 @@ declare const Text: ({ ref, ...props }: TextProps & {
|
|
|
4102
4115
|
**/
|
|
4103
4116
|
declare function slugify(text: string | string[], maxLength?: number): string;
|
|
4104
4117
|
|
|
4105
|
-
export { Accordion, AccordionItem, AccordionItemContent, AccordionItemTrigger, Alert, type AlertProps, AttachedInputs, type AttachedInputsProps, Autocomplete, AutocompleteItem, AutocompleteItemGroup, AutocompleteItemGroupLabel, Badge, type BadgeProps, Brand, Breadcrumb, Button, ButtonGroup, type ButtonGroupProps, type ButtonProps, type ButtonVariantProps, Calendar, CalendarCell, CalendarGrid, CalendarHeader, type CalendarMode, CalendarProvider, type CalendarValue, CardSelect, CardSelectContent, CardSelectTrigger, type CardSelectTriggerProps, CargonetLogo, type CargonetLogoProps, Checkbox, CheckboxGroup, type CheckboxGroupProps, ChoiceChip, type ChoiceChipProps, Clipboard, ClipboardButton, CloseButton, type CloseButtonProps, CloseDrawerLine, Code, ColorInlineLoader, type ColorInlineLoaderProps, type ColorMode, ColorModeButton, ColorModeIcon, ColorModeProvider, type ColorModeProviderProps, ColorSpinner, type ColorSpinnerProps, Combobox, type ComboboxProps, ContentLoader, type ContentLoaderProps, type CountryCodeAndPhoneNumber, DarkFullScreenLoader, DarkInlineLoader, type DarkInlineLoaderProps, DarkSpinner, type DarkSpinnerProps, DatePicker, type DatePickerVariantProps, DateRangePicker, DialogActionTrigger, DialogBackdrop, DialogBody, DialogCloseTrigger, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogRoot, DialogTitle, DialogTrigger, Drawer, DrawerActionTrigger, DrawerBackTrigger, DrawerBackdrop, DrawerBody, DrawerCloseTrigger, DrawerContent, DrawerFooter, DrawerFullScreenHeader, DrawerHeader, DrawerTitle, DrawerTrigger, Expandable, ExpandableAlert, ExpandableItem, Field, type FieldBaseProps, FieldErrorText, FieldLabel, type FieldProps, Fieldset, FieldsetContent, FieldsetErrorText, FieldsetHelperText, FieldsetLegend, FloatingActionButton, type GroupVariantProps, Heading, type HeadingProps, IconButton, type IconButtonProps, InfoTag, type InfoTagProps, Input, type InputProps, ItemDescription, ItemLabel, JumpButton, Language, LanguageProvider, LightFullScreenLoader, LightInlineLoader, type LightInlineLoaderProps, LightSpinner, type LightSpinnerProps, LineIcon, type LineIconProps, type LinkProps, List, ListBox, ListIndicator, ListItem, type MediaControllerVariantProps, Menu, MenuCheckboxItem, MenuContent, MenuItem, MenuItemGroup, type MenuItemGroupProps, type MenuItemProps, MenuRadioItem, MenuRadioItemGroup, MenuSeparator, MenuTrigger, MenuTriggerItem, type MenuTriggerItemProps, type MenuTriggerProps, NativeSelect, type NativeSelectdProps, Nudge, NudgeActions, NudgeCloseTrigger, NudgeContent, type NudgeProps, NudgeTrigger, NudgeWizardStep, NumericStepper, type NumericStepperProps, Pagination, PaginationEllipsis, PaginationItem, PaginationItems, PaginationNextTrigger, PaginationPrevTrigger, PasswordInput, type PasswordInputProps, type PasswordVisibilityProps, PhoneNumberInput, PlayPauseButton, Popover, PopoverContent, type PopoverProps, PopoverTrigger, PressableCard, ProgressBar, type ProgressBarProps, ProgressIndicator, type ProgressIndicatorProps, type ProgressIndicatorVariantProps, ProgressLoader, type ProgressLoaderProps, type ProgressLoaderVariantProps, Radio, RadioCard, RadioCardGroup, RadioCardLabel, RadioGroup, type RadioProps, RangeCalendar, ScrollCalendar, SearchInput, type SearchInputProps, Select, SelectContent, SelectItem, SelectItemGroup, SelectItemText, SelectLabel, type SelectProps, SelectRoot, SelectTrigger, SelectValueText, Separator, ServiceAlert, Skeleton, SkeletonCircle, type SkeletonCircleProps, type SkeletonProps, SkeletonText, type SkeletonTextProps, SkipButton, type SpinnerProps, SporProvider, StaticCard, type StaticCardProps, Stepper, StepperStep, type StepperVariantProps, SvgBox, Switch, type SwitchProps, Table, TableBody, type TableBodyProps, TableColumnHeader, type TableColumnHeaderProps, type TableProps, Tabs, TabsContent, TabsIndicator, TabsList, type TabsProps, TabsTrigger, Text, TextLink, type TextProps, Textarea, type TextareaProps, TimePicker, Tooltip, TooltipContent, type TooltipProps, TooltipTrigger, type TranslationObject, type Translations, TravelTag, type TravelTagProps, type UseColorModeReturn, VyLogo, VyLogoPride, createTexts, createToast, fontFaces, slugify, system, themes, useCalendar, useColorMode, useColorModeValue, useMenuContext, useTableSort, useTranslation };
|
|
4118
|
+
export { Accordion, AccordionItem, AccordionItemContent, AccordionItemTrigger, Alert, type AlertProps, AttachedInputs, type AttachedInputsProps, Autocomplete, AutocompleteItem, AutocompleteItemGroup, AutocompleteItemGroupLabel, Badge, type BadgeProps, Brand, Breadcrumb, Button, ButtonGroup, type ButtonGroupProps, type ButtonProps, type ButtonVariantProps, Calendar, CalendarCell, CalendarGrid, CalendarHeader, type CalendarMode, CalendarProvider, type CalendarValue, CardSelect, CardSelectContent, CardSelectTrigger, type CardSelectTriggerProps, CargonetLogo, type CargonetLogoProps, Checkbox, CheckboxGroup, type CheckboxGroupProps, ChoiceChip, type ChoiceChipProps, Clipboard, ClipboardButton, CloseButton, type CloseButtonProps, CloseDrawerLine, Code, ColorInlineLoader, type ColorInlineLoaderProps, type ColorMode, ColorModeButton, ColorModeIcon, ColorModeProvider, type ColorModeProviderProps, ColorSpinner, type ColorSpinnerProps, Combobox, type ComboboxProps, ContentLoader, type ContentLoaderProps, type CountryCodeAndPhoneNumber, DarkFullScreenLoader, DarkInlineLoader, type DarkInlineLoaderProps, DarkSpinner, type DarkSpinnerProps, DatePicker, type DatePickerVariantProps, DateRangePicker, DialogActionTrigger, DialogBackdrop, DialogBody, DialogCloseTrigger, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogRoot, DialogTitle, DialogTrigger, Drawer, DrawerActionTrigger, DrawerBackTrigger, DrawerBackdrop, DrawerBody, DrawerCloseTrigger, DrawerContent, DrawerFooter, DrawerFullScreenHeader, DrawerHeader, DrawerTitle, DrawerTrigger, Expandable, ExpandableAlert, ExpandableItem, Field, type FieldBaseProps, FieldErrorText, FieldLabel, type FieldProps, Fieldset, FieldsetContent, FieldsetErrorText, FieldsetHelperText, FieldsetLegend, FloatingActionButton, type GroupVariantProps, Heading, type HeadingProps, IconButton, type IconButtonProps, InfoTag, type InfoTagProps, Input, InputChip, type InputChipProps, type InputProps, ItemDescription, ItemLabel, JumpButton, Language, LanguageProvider, LightFullScreenLoader, LightInlineLoader, type LightInlineLoaderProps, LightSpinner, type LightSpinnerProps, LineIcon, type LineIconProps, type LinkProps, List, ListBox, ListIndicator, ListItem, type MediaControllerVariantProps, Menu, MenuCheckboxItem, MenuContent, MenuItem, MenuItemGroup, type MenuItemGroupProps, type MenuItemProps, MenuRadioItem, MenuRadioItemGroup, MenuSeparator, MenuTrigger, MenuTriggerItem, type MenuTriggerItemProps, type MenuTriggerProps, NativeSelect, type NativeSelectdProps, Nudge, NudgeActions, NudgeCloseTrigger, NudgeContent, type NudgeProps, NudgeTrigger, NudgeWizardStep, NumericStepper, type NumericStepperProps, Pagination, PaginationEllipsis, PaginationItem, PaginationItems, PaginationNextTrigger, PaginationPrevTrigger, PasswordInput, type PasswordInputProps, type PasswordVisibilityProps, PhoneNumberInput, PlayPauseButton, Popover, PopoverContent, type PopoverProps, PopoverTrigger, PressableCard, ProgressBar, type ProgressBarProps, ProgressIndicator, type ProgressIndicatorProps, type ProgressIndicatorVariantProps, ProgressLoader, type ProgressLoaderProps, type ProgressLoaderVariantProps, Radio, RadioCard, RadioCardGroup, RadioCardLabel, RadioGroup, type RadioProps, RangeCalendar, ScrollCalendar, SearchInput, type SearchInputProps, Select, SelectContent, SelectItem, SelectItemGroup, SelectItemText, SelectLabel, type SelectProps, SelectRoot, SelectTrigger, SelectValueText, Separator, ServiceAlert, Skeleton, SkeletonCircle, type SkeletonCircleProps, type SkeletonProps, SkeletonText, type SkeletonTextProps, SkipButton, type SpinnerProps, SporProvider, StaticCard, type StaticCardProps, Stepper, StepperStep, type StepperVariantProps, SvgBox, Switch, type SwitchProps, Table, TableBody, type TableBodyProps, TableColumnHeader, type TableColumnHeaderProps, type TableProps, Tabs, TabsContent, TabsIndicator, TabsList, type TabsProps, TabsTrigger, Text, TextLink, type TextProps, Textarea, type TextareaProps, TimePicker, Tooltip, TooltipContent, type TooltipProps, TooltipTrigger, type TranslationObject, type Translations, TravelTag, type TravelTagProps, type UseColorModeReturn, VyLogo, VyLogoPride, createTexts, createToast, fontFaces, slugify, system, themes, useCalendar, useColorMode, useColorModeValue, useMenuContext, useTableSort, useTranslation };
|