@vygruppen/spor-react 9.11.3 → 9.12.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 +10 -10
- package/CHANGELOG.md +12 -0
- package/dist/{CountryCodeSelect-KU4HQMG3.mjs → CountryCodeSelect-Q33DXFQF.mjs} +1 -1
- package/dist/{chunk-PA6EOPOZ.mjs → chunk-D4Z4Q4GJ.mjs} +497 -493
- package/dist/index.d.mts +124 -144
- package/dist/index.d.ts +124 -144
- package/dist/index.js +971 -967
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/src/datepicker/CalendarCell.tsx +1 -21
- package/src/datepicker/CalendarHeader.tsx +4 -6
- package/src/datepicker/CalendarTriggerButton.tsx +1 -1
- package/src/datepicker/DateTimeSegment.tsx +0 -4
- package/src/input/Radio.tsx +0 -1
- package/src/layout/RadioCard.tsx +64 -60
- package/src/layout/RadioCardGroup.tsx +59 -103
- package/src/theme/components/breadcrumb.ts +4 -42
- package/src/theme/components/button.ts +4 -4
- package/src/theme/components/choice-chip.ts +11 -14
- package/src/theme/components/close-button.ts +6 -5
- package/src/theme/components/datepicker.ts +21 -0
- package/src/theme/components/info-select.ts +1 -1
- package/src/theme/components/input.ts +2 -2
- package/src/theme/components/pressable-card.ts +2 -1
- package/src/theme/components/progress-bar.ts +4 -1
- package/src/theme/components/radio-card.ts +21 -10
- package/src/theme/components/radio.ts +5 -2
- package/src/theme/components/select.ts +4 -4
- package/src/theme/components/static-card.ts +0 -1
- package/src/theme/components/tabs.ts +5 -31
package/dist/index.d.ts
CHANGED
@@ -2,7 +2,7 @@ import tokens__default from '@vygruppen/spor-design-tokens';
|
|
2
2
|
import * as tokens from '@vygruppen/spor-design-tokens';
|
3
3
|
export { tokens };
|
4
4
|
import * as _chakra_ui_system_dist_system_types from '@chakra-ui/system/dist/system.types';
|
5
|
-
import { DividerProps as DividerProps$1, As, BoxProps, StackProps as StackProps$1,
|
5
|
+
import { DividerProps as DividerProps$1, As, BoxProps, StackProps as StackProps$1, AccordionProps as AccordionProps$1, AccordionItemProps, BreadcrumbProps as BreadcrumbProps$1, ButtonProps as ButtonProps$1, ButtonGroupProps as ButtonGroupProps$1, IconButtonProps as IconButtonProps$1, ComponentWithAs, ResponsiveValue, FlexProps, CheckboxProps as CheckboxProps$1, CheckboxGroupProps as CheckboxGroupProps$1, StackDirection, FormControlProps as FormControlProps$1, FormLabelProps as FormLabelProps$1, InputProps as InputProps$1, InputElementProps as InputElementProps$1, SelectProps, RadioProps as RadioProps$1, RadioGroupProps as RadioGroupProps$1, SwitchProps as SwitchProps$1, TextareaProps as TextareaProps$1, LinkProps as LinkProps$1, SkeletonTextProps as SkeletonTextProps$1, ModalHeaderProps as ModalHeaderProps$1, DrawerContentProps, DrawerProps as DrawerProps$1, PopoverProps, ChakraProviderProps, TabsProps as TabsProps$1, TableProps as TableProps$1, BadgeProps as BadgeProps$1, CodeProps as CodeProps$1, HeadingProps as HeadingProps$1, TextProps as TextProps$1 } from '@chakra-ui/react';
|
6
6
|
export { AccordionButton, AccordionButtonProps, AccordionIcon, AccordionItem, AccordionItemProps, AccordionPanel, AccordionPanelProps, Box, BoxProps, CSSWithMultiValues, Center, CenterProps, Collapse, CollapseProps, ComponentStyleConfig, Container, ContainerProps, DarkMode, DrawerBody, DrawerCloseButton, DrawerFooter, DrawerOverlay, DrawerProps, Fade, FadeProps, Flex, FlexProps, FormHelperText, Grid, GridItem, GridItemProps, GridProps, HStack, Image, ImageProps, Img, ImgProps, InputGroup, InputGroupProps, LightMode, ListItem, ListItemProps, ListProps, Modal, ModalBody, ModalBodyProps, ModalCloseButton, ModalContent, ModalContentProps, ModalFooter, ModalFooterProps, ModalOverlay, ModalOverlayProps, ModalProps, OrderedList, Portal, PortalProps, ScaleFade, ScaleFadeProps, SimpleGrid, SimpleGridProps, Slide, SlideFade, SlideFadeProps, SlideProps, Spacer, SpacerProps, Tab, TabList, TabListProps, TabPanel, TabPanelProps, TabPanels, TabPanelsProps, TabProps, TableBodyProps, TableCaption, TableCaptionProps, TableCellProps, TableColumnHeaderProps, TableFooterProps, TableHeadProps, TableRowProps, Tbody, Td, Tfoot, Th, Thead, Tr, UnorderedList, UseClipboardOptions, UseDisclosureProps, UseOutsideClickProps, VStack, Wrap, WrapItem, WrapItemProps, WrapProps, defineStyleConfig, extendTheme, useBreakpointValue, useClipboard, useColorMode, useColorModePreference, useColorModeValue, useControllableProp, useDisclosure, useMediaQuery, useMergeRefs, useOutsideClick, usePrefersReducedMotion, useTheme, useToken } from '@chakra-ui/react';
|
7
7
|
import React, { ChangeEvent } from 'react';
|
8
8
|
import * as _chakra_ui_breadcrumb_dist_breadcrumb_link from '@chakra-ui/breadcrumb/dist/breadcrumb-link';
|
@@ -68,24 +68,9 @@ declare const Stack: _chakra_ui_system_dist_system_types.ComponentWithAs<"div",
|
|
68
68
|
/**
|
69
69
|
* Radio cards are used to present a set of options where only one option can be selected.
|
70
70
|
*
|
71
|
-
*
|
72
|
-
*
|
73
|
-
* ```tsx
|
74
|
-
* <RadioCard>
|
75
|
-
* Content
|
76
|
-
* </RadioCard>
|
77
|
-
* ```
|
78
|
-
*
|
79
|
-
* In order to use RadioCard outside a RadioCardGroup, you need to pass the `isChecked` and `onChange` props.
|
80
|
-
*
|
81
|
-
* ```tsx
|
82
|
-
* <RadioCard isChecked={true} onChange={(e) => console.log(e.target.value)}>
|
83
|
-
* Content
|
84
|
-
* </RadioCard>
|
85
|
-
* ```
|
86
|
-
*
|
87
|
-
* In order to use RadioCard, you typically want to place these components in a group with several other RadioCards.
|
71
|
+
* RadioCard components must be wrapped in a RadioCardGroup component.
|
88
72
|
*
|
73
|
+
* @example
|
89
74
|
* ```tsx
|
90
75
|
* <RadioCardGroup name="ticket">
|
91
76
|
* <RadioCard value="economy">Economy</RadioCard>
|
@@ -94,89 +79,47 @@ declare const Stack: _chakra_ui_system_dist_system_types.ComponentWithAs<"div",
|
|
94
79
|
* </RadioCardGroup>
|
95
80
|
* ```
|
96
81
|
*
|
97
|
-
*
|
98
|
-
* Group styling overrides single styling if both are present.
|
99
|
-
*
|
100
|
-
* This example shows how to style all cards in a group:
|
82
|
+
* RadioCard inherits props from Box.
|
101
83
|
*
|
102
|
-
*
|
103
|
-
* <RadioCardGroup name="ticket" variant="floating" padding={3}>
|
104
|
-
* <RadioCard value="economy">Economy</RadioCard>
|
105
|
-
* <RadioCard value="business">Business</RadioCard>
|
106
|
-
* <RadioCard value="first-class">First Class</RadioCard>
|
107
|
-
* </RadioCardGroup>
|
108
|
-
* ```
|
84
|
+
* Be advised to not use the `name` prop on the RadioCard component.
|
109
85
|
*
|
110
|
-
*
|
86
|
+
* Changing the semantics may also cause the component to not work as expected.
|
111
87
|
*
|
112
|
-
*
|
113
|
-
* <RadioCard variant="floating" padding={3}>
|
114
|
-
* Economy
|
115
|
-
* </RadioCard>
|
116
|
-
* ```
|
88
|
+
* @see Docs https://spor.vy.no/components/radiocard
|
117
89
|
*/
|
118
|
-
type RadioCardProps =
|
90
|
+
type RadioCardProps = BoxProps & {
|
91
|
+
value: string;
|
119
92
|
children: React.ReactNode;
|
120
|
-
|
121
|
-
variant?: "floating" | "base";
|
122
|
-
/** Needs to be defined if RadioCard is used outside RadioCardGroup */
|
123
|
-
isChecked?: boolean;
|
124
|
-
/** Needs to be defined if RadioCard is used outside RadioCardGroup */
|
125
|
-
onChange?: (event: React.ChangeEvent<HTMLInputElement>) => void;
|
93
|
+
isDisabled?: boolean;
|
126
94
|
};
|
127
|
-
declare const RadioCard: _chakra_ui_system_dist_system_types.ComponentWithAs<
|
128
|
-
|
129
|
-
type RadioCardGroupProps = RadioGroupProps$1 & {
|
95
|
+
declare const RadioCard: _chakra_ui_system_dist_system_types.ComponentWithAs<_chakra_ui_system_dist_system_types.As, BoxProps & {
|
96
|
+
value: string;
|
130
97
|
children: React.ReactNode;
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
/** Defaults to "base" */
|
135
|
-
variant?: string;
|
136
|
-
/** The name of the radio group */
|
137
|
-
name?: string;
|
138
|
-
/** The default value of the radio group */
|
139
|
-
defaultValue?: string;
|
140
|
-
/** The callback function to be called when the radio group value changes */
|
141
|
-
onChange?: (value: string) => void;
|
142
|
-
};
|
98
|
+
isDisabled?: boolean | undefined;
|
99
|
+
}>;
|
100
|
+
|
143
101
|
/**
|
144
|
-
*
|
145
|
-
*
|
146
|
-
* You can and should pass the common `name` prop to the `RadioGroup`, instead of to each `Radio` component.
|
147
|
-
*
|
148
|
-
* ```tsx
|
149
|
-
* <RadioCardGroup name="ticket">
|
150
|
-
* <RadioCard>Economy</RadioCard>
|
151
|
-
* <RadioCard>Business</RadioCard>
|
152
|
-
* <RadioCard>First Class</RadioCard>
|
153
|
-
* </RadioCardGroup>
|
154
|
-
* ```
|
155
|
-
*
|
156
|
-
* By default, radio cards show up horizontally. If you want them to show up vertically, please specify the `direction="column"` prop.
|
157
|
-
*
|
158
|
-
* ```tsx
|
159
|
-
* <RadioCardGroup name="ticket" direction="column">
|
160
|
-
* <RadioCard>Economy</RadioCard>
|
161
|
-
* <RadioCard>Business</RadioCard>
|
162
|
-
* <RadioCard>First Class</RadioCard>
|
163
|
-
* </RadioCardGroup>
|
164
|
-
* ```
|
102
|
+
* RadioCardGroupContext is used to pass down the state and handlers to the RadioCard components.
|
165
103
|
*
|
166
|
-
* You can also specify the `defaultValue` prop to set the default value of the radio group.
|
167
|
-
*
|
168
|
-
* ```tsx
|
169
|
-
* <RadioCardGroup name="ticket" defaultValue="Economy">
|
170
|
-
* <RadioCard>Economy</RadioCard>
|
171
|
-
* <RadioCard>Business</RadioCard>
|
172
|
-
* <RadioCard>First Class</RadioCard>
|
173
|
-
* </RadioCardGroup>
|
174
|
-
* ```
|
175
|
-
*
|
176
|
-
* Check out RadioCard for more information on how to style the radio cards.
|
177
104
|
* @see RadioCard
|
178
105
|
*/
|
179
|
-
|
106
|
+
type RadioGroupContextProps = {
|
107
|
+
name: string;
|
108
|
+
selectedValue: string;
|
109
|
+
onChange: (value: string) => void;
|
110
|
+
variant?: "base" | "floating";
|
111
|
+
defaultValue?: string;
|
112
|
+
};
|
113
|
+
declare const RadioCardGroupContext: React.Context<RadioGroupContextProps | null>;
|
114
|
+
type RadioCardGroupProps = BoxProps & {
|
115
|
+
name: string;
|
116
|
+
children: React.ReactNode;
|
117
|
+
variant?: "base" | "floating";
|
118
|
+
direction?: "row" | "column";
|
119
|
+
groupLabel?: string;
|
120
|
+
defaultValue?: string;
|
121
|
+
};
|
122
|
+
declare const RadioCardGroup: React.FC<RadioCardGroupProps>;
|
180
123
|
|
181
124
|
type StaticCardProps = BoxProps & {
|
182
125
|
children: React.ReactNode;
|
@@ -2557,7 +2500,7 @@ declare const theme: {
|
|
2557
2500
|
} | undefined;
|
2558
2501
|
defaultProps?: {
|
2559
2502
|
size?: "sm" | "md" | "lg" | undefined;
|
2560
|
-
variant?: "base" | "
|
2503
|
+
variant?: "base" | "ghost" | "floating" | undefined;
|
2561
2504
|
colorScheme?: string | undefined;
|
2562
2505
|
} | undefined;
|
2563
2506
|
parts: ("button" | "container" | "icon" | "root" | "panel")[];
|
@@ -2964,7 +2907,7 @@ declare const theme: {
|
|
2964
2907
|
} | undefined;
|
2965
2908
|
defaultProps?: {
|
2966
2909
|
size?: "sm" | "md" | "lg" | "xs" | undefined;
|
2967
|
-
variant?: "
|
2910
|
+
variant?: "ghost" | "floating" | "primary" | "secondary" | "tertiary" | undefined;
|
2968
2911
|
colorScheme?: string | undefined;
|
2969
2912
|
} | undefined;
|
2970
2913
|
};
|
@@ -3591,7 +3534,7 @@ declare const theme: {
|
|
3591
3534
|
} | undefined;
|
3592
3535
|
defaultProps?: {
|
3593
3536
|
size?: "sm" | "md" | "lg" | undefined;
|
3594
|
-
variant?: "base" | "
|
3537
|
+
variant?: "base" | "ghost" | "floating" | undefined;
|
3595
3538
|
colorScheme?: string | undefined;
|
3596
3539
|
} | undefined;
|
3597
3540
|
parts: ("trigger" | "card")[];
|
@@ -3694,6 +3637,7 @@ declare const theme: {
|
|
3694
3637
|
fontSize: string;
|
3695
3638
|
cursor: string;
|
3696
3639
|
transitionProperty: string;
|
3640
|
+
borderRadius: string;
|
3697
3641
|
transitionDuration: string;
|
3698
3642
|
_checked: {
|
3699
3643
|
_hover: {
|
@@ -3745,42 +3689,38 @@ declare const theme: {
|
|
3745
3689
|
sizes?: {
|
3746
3690
|
xs: {
|
3747
3691
|
container: {
|
3748
|
-
borderRadius: string;
|
3749
3692
|
_checked: {
|
3750
3693
|
borderRadius: string;
|
3751
3694
|
};
|
3752
|
-
height:
|
3695
|
+
height: number;
|
3753
3696
|
paddingX: number;
|
3754
3697
|
};
|
3755
3698
|
};
|
3756
3699
|
sm: {
|
3757
3700
|
container: {
|
3758
|
-
borderRadius: string;
|
3759
3701
|
_checked: {
|
3760
3702
|
borderRadius: string;
|
3761
3703
|
};
|
3762
|
-
height:
|
3704
|
+
height: number;
|
3763
3705
|
paddingX: number;
|
3764
3706
|
};
|
3765
3707
|
};
|
3766
3708
|
md: {
|
3767
3709
|
container: {
|
3768
|
-
borderRadius: string;
|
3769
3710
|
_checked: {
|
3770
3711
|
borderRadius: string;
|
3771
3712
|
};
|
3772
|
-
height:
|
3713
|
+
height: number;
|
3773
3714
|
paddingX: number;
|
3774
3715
|
};
|
3775
3716
|
};
|
3776
3717
|
lg: {
|
3777
3718
|
container: {
|
3778
|
-
borderRadius: string;
|
3779
3719
|
_checked: {
|
3780
3720
|
borderRadius: string;
|
3781
3721
|
};
|
3782
|
-
height:
|
3783
|
-
|
3722
|
+
height: number;
|
3723
|
+
paddingX: number;
|
3784
3724
|
};
|
3785
3725
|
};
|
3786
3726
|
} | undefined;
|
@@ -3893,10 +3833,10 @@ declare const theme: {
|
|
3893
3833
|
CloseButton: {
|
3894
3834
|
baseStyle?: ((props: _chakra_ui_styled_system.StyleFunctionProps) => {
|
3895
3835
|
_hover: {
|
3896
|
-
backgroundColor: string;
|
3897
3836
|
_disabled: {
|
3898
3837
|
color: string;
|
3899
3838
|
};
|
3839
|
+
backgroundColor: string;
|
3900
3840
|
};
|
3901
3841
|
_active: {
|
3902
3842
|
backgroundColor: string;
|
@@ -3995,6 +3935,10 @@ declare const theme: {
|
|
3995
3935
|
};
|
3996
3936
|
dateTimeSegment: {
|
3997
3937
|
color: string;
|
3938
|
+
_focus: {
|
3939
|
+
color: string;
|
3940
|
+
backgroundColor: string;
|
3941
|
+
};
|
3998
3942
|
};
|
3999
3943
|
calendarTriggerButton: {
|
4000
3944
|
_hover: {
|
@@ -4047,6 +3991,22 @@ declare const theme: {
|
|
4047
3991
|
weekend: {
|
4048
3992
|
color: string;
|
4049
3993
|
};
|
3994
|
+
cell: {
|
3995
|
+
'&[aria-selected="true"] + [aria-selected="true"] > button': {
|
3996
|
+
"&::before": {
|
3997
|
+
backgroundColor: string;
|
3998
|
+
content: string;
|
3999
|
+
display: string;
|
4000
|
+
width: string;
|
4001
|
+
height: string;
|
4002
|
+
position: string;
|
4003
|
+
left: string;
|
4004
|
+
top: number;
|
4005
|
+
bottom: number;
|
4006
|
+
zIndex: number;
|
4007
|
+
};
|
4008
|
+
};
|
4009
|
+
};
|
4050
4010
|
dateCell: {
|
4051
4011
|
_active: {
|
4052
4012
|
backgroundColor: string;
|
@@ -4101,7 +4061,7 @@ declare const theme: {
|
|
4101
4061
|
}) | undefined;
|
4102
4062
|
sizes?: {
|
4103
4063
|
[key: string]: _chakra_ui_styled_system.PartsStyleInterpolation<{
|
4104
|
-
keys: ("dateCell" | "weekdays" | "weekend" | "calendar" | "calendarTriggerButton" | "dateTimeSegment" | "inputLabel" | "wrapper" | "calendarPopover" | "arrow")[];
|
4064
|
+
keys: ("cell" | "dateCell" | "weekdays" | "weekend" | "calendar" | "calendarTriggerButton" | "dateTimeSegment" | "inputLabel" | "wrapper" | "calendarPopover" | "arrow")[];
|
4105
4065
|
}>;
|
4106
4066
|
} | undefined;
|
4107
4067
|
variants?: {
|
@@ -4227,10 +4187,10 @@ declare const theme: {
|
|
4227
4187
|
} | undefined;
|
4228
4188
|
defaultProps?: {
|
4229
4189
|
size?: string | number | undefined;
|
4230
|
-
variant?: "base" | "
|
4190
|
+
variant?: "base" | "ghost" | "floating" | undefined;
|
4231
4191
|
colorScheme?: string | undefined;
|
4232
4192
|
} | undefined;
|
4233
|
-
parts: ("dateCell" | "weekdays" | "weekend" | "calendar" | "calendarTriggerButton" | "dateTimeSegment" | "inputLabel" | "wrapper" | "calendarPopover" | "arrow")[];
|
4193
|
+
parts: ("cell" | "dateCell" | "weekdays" | "weekend" | "calendar" | "calendarTriggerButton" | "dateTimeSegment" | "inputLabel" | "wrapper" | "calendarPopover" | "arrow")[];
|
4234
4194
|
};
|
4235
4195
|
Divider: {
|
4236
4196
|
baseStyle?: ((props: _chakra_ui_styled_system.StyleFunctionProps) => {
|
@@ -4714,7 +4674,7 @@ declare const theme: {
|
|
4714
4674
|
display: string;
|
4715
4675
|
appearance: string;
|
4716
4676
|
width: string;
|
4717
|
-
height:
|
4677
|
+
height: number;
|
4718
4678
|
borderTopRadius: string;
|
4719
4679
|
borderBottomRadius: string | number;
|
4720
4680
|
paddingY: number;
|
@@ -4761,7 +4721,7 @@ declare const theme: {
|
|
4761
4721
|
display: string;
|
4762
4722
|
appearance: string;
|
4763
4723
|
width: string;
|
4764
|
-
height:
|
4724
|
+
height: number;
|
4765
4725
|
borderTopRadius: string;
|
4766
4726
|
borderBottomRadius: string | number;
|
4767
4727
|
paddingY: number;
|
@@ -5046,7 +5006,7 @@ declare const theme: {
|
|
5046
5006
|
transitionDuration: string;
|
5047
5007
|
position: string;
|
5048
5008
|
paddingX: number;
|
5049
|
-
height:
|
5009
|
+
height: number;
|
5050
5010
|
fontSize: string;
|
5051
5011
|
} | {
|
5052
5012
|
_hover: {
|
@@ -5143,7 +5103,7 @@ declare const theme: {
|
|
5143
5103
|
transitionDuration: string;
|
5144
5104
|
position: string;
|
5145
5105
|
paddingX: number;
|
5146
|
-
height:
|
5106
|
+
height: number;
|
5147
5107
|
fontSize: string;
|
5148
5108
|
};
|
5149
5109
|
element: {
|
@@ -5781,12 +5741,12 @@ declare const theme: {
|
|
5781
5741
|
}) | undefined;
|
5782
5742
|
sizes?: {
|
5783
5743
|
[key: string]: _chakra_ui_styled_system.PartsStyleInterpolation<{
|
5784
|
-
keys: ("link" | "
|
5744
|
+
keys: ("link" | "icon" | "disabled" | "listItem" | "activeButton")[];
|
5785
5745
|
}>;
|
5786
5746
|
} | undefined;
|
5787
5747
|
variants?: {
|
5788
5748
|
[key: string]: _chakra_ui_styled_system.PartsStyleInterpolation<{
|
5789
|
-
keys: ("link" | "
|
5749
|
+
keys: ("link" | "icon" | "disabled" | "listItem" | "activeButton")[];
|
5790
5750
|
}>;
|
5791
5751
|
} | undefined;
|
5792
5752
|
defaultProps?: {
|
@@ -5794,7 +5754,7 @@ declare const theme: {
|
|
5794
5754
|
variant?: string | number | undefined;
|
5795
5755
|
colorScheme?: string | undefined;
|
5796
5756
|
} | undefined;
|
5797
|
-
parts: ("link" | "
|
5757
|
+
parts: ("link" | "icon" | "disabled" | "listItem" | "activeButton")[];
|
5798
5758
|
};
|
5799
5759
|
Popover: {
|
5800
5760
|
baseStyle?: ((props: _chakra_ui_styled_system.StyleFunctionProps) => {
|
@@ -5970,7 +5930,6 @@ declare const theme: {
|
|
5970
5930
|
outlineStyle: string;
|
5971
5931
|
outlineOffset: string;
|
5972
5932
|
};
|
5973
|
-
appearance: string;
|
5974
5933
|
border: string;
|
5975
5934
|
overflow: string;
|
5976
5935
|
fontSize: string;
|
@@ -6020,6 +5979,9 @@ declare const theme: {
|
|
6020
5979
|
outlineColor: string;
|
6021
5980
|
backgroundColor: string;
|
6022
5981
|
};
|
5982
|
+
_focus: {
|
5983
|
+
outlineColor: string;
|
5984
|
+
};
|
6023
5985
|
outlineWidth: string;
|
6024
5986
|
outlineColor: string;
|
6025
5987
|
outlineStyle: string;
|
@@ -6049,6 +6011,9 @@ declare const theme: {
|
|
6049
6011
|
outlineColor: string;
|
6050
6012
|
backgroundColor: string;
|
6051
6013
|
};
|
6014
|
+
_focus: {
|
6015
|
+
outlineColor: string;
|
6016
|
+
};
|
6052
6017
|
outline: string;
|
6053
6018
|
outlineColor: string;
|
6054
6019
|
backgroundColor: string;
|
@@ -6075,6 +6040,12 @@ declare const theme: {
|
|
6075
6040
|
outlineColor: string;
|
6076
6041
|
backgroundColor: string;
|
6077
6042
|
};
|
6043
|
+
_focus: {
|
6044
|
+
outlineOffset: string;
|
6045
|
+
outlineColor: string;
|
6046
|
+
outline: string;
|
6047
|
+
outlineStyle: string;
|
6048
|
+
};
|
6078
6049
|
};
|
6079
6050
|
};
|
6080
6051
|
floating: (props: _chakra_ui_styled_system.StyleFunctionProps) => {
|
@@ -6091,14 +6062,16 @@ declare const theme: {
|
|
6091
6062
|
outlineColor: string;
|
6092
6063
|
backgroundColor: string;
|
6093
6064
|
};
|
6065
|
+
_focus: {
|
6066
|
+
outlineColor: string;
|
6067
|
+
};
|
6094
6068
|
outline: string;
|
6095
6069
|
outlineColor: string;
|
6096
6070
|
backgroundColor: string;
|
6097
|
-
color: string;
|
6098
6071
|
};
|
6099
6072
|
checked: {
|
6100
|
-
cursor: string;
|
6101
6073
|
_hover: {
|
6074
|
+
boxShadow: string;
|
6102
6075
|
outline: string;
|
6103
6076
|
outlineColor: string;
|
6104
6077
|
};
|
@@ -6107,6 +6080,12 @@ declare const theme: {
|
|
6107
6080
|
outlineColor: string;
|
6108
6081
|
backgroundColor: string;
|
6109
6082
|
};
|
6083
|
+
_focus: {
|
6084
|
+
outlineOffset: string;
|
6085
|
+
outlineColor: string;
|
6086
|
+
outline: string;
|
6087
|
+
outlineStyle: string;
|
6088
|
+
};
|
6110
6089
|
};
|
6111
6090
|
};
|
6112
6091
|
} | undefined;
|
@@ -6327,7 +6306,7 @@ declare const theme: {
|
|
6327
6306
|
transitionDuration: string;
|
6328
6307
|
position: string;
|
6329
6308
|
paddingX: number;
|
6330
|
-
height:
|
6309
|
+
height: number;
|
6331
6310
|
fontSize: string;
|
6332
6311
|
} | {
|
6333
6312
|
appearance: string;
|
@@ -6426,12 +6405,12 @@ declare const theme: {
|
|
6426
6405
|
transitionDuration: string;
|
6427
6406
|
position: string;
|
6428
6407
|
paddingX: number;
|
6429
|
-
height:
|
6408
|
+
height: number;
|
6430
6409
|
fontSize: string;
|
6431
6410
|
};
|
6432
6411
|
icon: {
|
6433
|
-
width:
|
6434
|
-
height:
|
6412
|
+
width: number;
|
6413
|
+
height: number;
|
6435
6414
|
insetEnd: string;
|
6436
6415
|
position: string;
|
6437
6416
|
color: string;
|
@@ -6966,7 +6945,7 @@ declare const theme: {
|
|
6966
6945
|
sizes?: {
|
6967
6946
|
xs: {
|
6968
6947
|
tablist: {
|
6969
|
-
height:
|
6948
|
+
height: number;
|
6970
6949
|
padding: string;
|
6971
6950
|
};
|
6972
6951
|
tab: {
|
@@ -6976,7 +6955,7 @@ declare const theme: {
|
|
6976
6955
|
};
|
6977
6956
|
sm: {
|
6978
6957
|
tablist: {
|
6979
|
-
height:
|
6958
|
+
height: number;
|
6980
6959
|
padding: number;
|
6981
6960
|
};
|
6982
6961
|
tab: {
|
@@ -6985,7 +6964,7 @@ declare const theme: {
|
|
6985
6964
|
};
|
6986
6965
|
md: {
|
6987
6966
|
tablist: {
|
6988
|
-
height:
|
6967
|
+
height: number;
|
6989
6968
|
padding: number;
|
6990
6969
|
};
|
6991
6970
|
tab: {
|
@@ -6995,7 +6974,7 @@ declare const theme: {
|
|
6995
6974
|
};
|
6996
6975
|
lg: {
|
6997
6976
|
tablist: {
|
6998
|
-
height:
|
6977
|
+
height: number;
|
6999
6978
|
padding: string;
|
7000
6979
|
};
|
7001
6980
|
tab: {
|
@@ -7163,7 +7142,7 @@ declare const theme: {
|
|
7163
7142
|
transitionDuration: string;
|
7164
7143
|
position: string;
|
7165
7144
|
paddingX: number;
|
7166
|
-
height:
|
7145
|
+
height: number;
|
7167
7146
|
fontSize: string;
|
7168
7147
|
} | {
|
7169
7148
|
minHeight: string;
|
@@ -7265,7 +7244,7 @@ declare const theme: {
|
|
7265
7244
|
transitionDuration: string;
|
7266
7245
|
position: string;
|
7267
7246
|
paddingX: number;
|
7268
|
-
height:
|
7247
|
+
height: number;
|
7269
7248
|
fontSize: string;
|
7270
7249
|
}) | undefined;
|
7271
7250
|
sizes?: {
|
@@ -7458,6 +7437,7 @@ declare const theme: {
|
|
7458
7437
|
backgroundColor: string;
|
7459
7438
|
};
|
7460
7439
|
backgroundColor: string;
|
7440
|
+
color: string;
|
7461
7441
|
};
|
7462
7442
|
floating: (props: _chakra_ui_styled_system.StyleFunctionProps) => {
|
7463
7443
|
boxShadow: string;
|
@@ -7769,7 +7749,7 @@ declare const theme: {
|
|
7769
7749
|
sizes?: {
|
7770
7750
|
"2xs": {
|
7771
7751
|
container: {
|
7772
|
-
[x: string]: string | 1 |
|
7752
|
+
[x: string]: string | 1 | 12 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 14 | 16 | 20 | 1.5 | 0.5 | 24 | 2.5 | 60 | {
|
7773
7753
|
sm: string;
|
7774
7754
|
md: string;
|
7775
7755
|
lg: string;
|
@@ -7777,7 +7757,7 @@ declare const theme: {
|
|
7777
7757
|
} | 3.5 | 28 | 32 | 36 | 40 | 44 | 48 | 52 | 56 | 64 | 72 | 80 | 96;
|
7778
7758
|
};
|
7779
7759
|
excessLabel: {
|
7780
|
-
[x: string]: string | 1 |
|
7760
|
+
[x: string]: string | 1 | 12 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 14 | 16 | 20 | 1.5 | 0.5 | 24 | 2.5 | 60 | 3.5 | 28 | 32 | 36 | 40 | 44 | 48 | 52 | 56 | 64 | 72 | 80 | 96 | {
|
7781
7761
|
sm: string;
|
7782
7762
|
md: string;
|
7783
7763
|
lg: string;
|
@@ -7787,7 +7767,7 @@ declare const theme: {
|
|
7787
7767
|
};
|
7788
7768
|
xs: {
|
7789
7769
|
container: {
|
7790
|
-
[x: string]: string | 1 |
|
7770
|
+
[x: string]: string | 1 | 12 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 14 | 16 | 20 | 1.5 | 0.5 | 24 | 2.5 | 60 | 3.5 | 28 | 32 | 36 | 40 | 44 | 48 | 52 | 56 | 64 | 72 | 80 | 96 | {
|
7791
7771
|
sm: string;
|
7792
7772
|
md: string;
|
7793
7773
|
lg: string;
|
@@ -7795,7 +7775,7 @@ declare const theme: {
|
|
7795
7775
|
};
|
7796
7776
|
};
|
7797
7777
|
excessLabel: {
|
7798
|
-
[x: string]: string | 1 |
|
7778
|
+
[x: string]: string | 1 | 12 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 14 | 16 | 20 | 1.5 | 0.5 | 24 | 2.5 | 60 | 3.5 | 28 | 32 | 36 | 40 | 44 | 48 | 52 | 56 | 64 | 72 | 80 | 96 | {
|
7799
7779
|
sm: string;
|
7800
7780
|
md: string;
|
7801
7781
|
lg: string;
|
@@ -7805,7 +7785,7 @@ declare const theme: {
|
|
7805
7785
|
};
|
7806
7786
|
sm: {
|
7807
7787
|
container: {
|
7808
|
-
[x: string]: string | 1 |
|
7788
|
+
[x: string]: string | 1 | 12 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 14 | 16 | 20 | 1.5 | 0.5 | 24 | 2.5 | 60 | 3.5 | 28 | 32 | 36 | 40 | 44 | 48 | 52 | 56 | 64 | 72 | 80 | 96 | {
|
7809
7789
|
sm: string;
|
7810
7790
|
md: string;
|
7811
7791
|
lg: string;
|
@@ -7813,7 +7793,7 @@ declare const theme: {
|
|
7813
7793
|
};
|
7814
7794
|
};
|
7815
7795
|
excessLabel: {
|
7816
|
-
[x: string]: string | 1 |
|
7796
|
+
[x: string]: string | 1 | 12 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 14 | 16 | 20 | 1.5 | 0.5 | 24 | 2.5 | 60 | 3.5 | 28 | 32 | 36 | 40 | 44 | 48 | 52 | 56 | 64 | 72 | 80 | 96 | {
|
7817
7797
|
sm: string;
|
7818
7798
|
md: string;
|
7819
7799
|
lg: string;
|
@@ -7823,7 +7803,7 @@ declare const theme: {
|
|
7823
7803
|
};
|
7824
7804
|
md: {
|
7825
7805
|
container: {
|
7826
|
-
[x: string]: string | 1 |
|
7806
|
+
[x: string]: string | 1 | 12 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 14 | 16 | 20 | 1.5 | 0.5 | 24 | 2.5 | 60 | 3.5 | 28 | 32 | 36 | 40 | 44 | 48 | 52 | 56 | 64 | 72 | 80 | 96 | {
|
7827
7807
|
sm: string;
|
7828
7808
|
md: string;
|
7829
7809
|
lg: string;
|
@@ -7831,7 +7811,7 @@ declare const theme: {
|
|
7831
7811
|
};
|
7832
7812
|
};
|
7833
7813
|
excessLabel: {
|
7834
|
-
[x: string]: string | 1 |
|
7814
|
+
[x: string]: string | 1 | 12 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 14 | 16 | 20 | 1.5 | 0.5 | 24 | 2.5 | 60 | 3.5 | 28 | 32 | 36 | 40 | 44 | 48 | 52 | 56 | 64 | 72 | 80 | 96 | {
|
7835
7815
|
sm: string;
|
7836
7816
|
md: string;
|
7837
7817
|
lg: string;
|
@@ -7841,7 +7821,7 @@ declare const theme: {
|
|
7841
7821
|
};
|
7842
7822
|
lg: {
|
7843
7823
|
container: {
|
7844
|
-
[x: string]: string | 1 |
|
7824
|
+
[x: string]: string | 1 | 12 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 14 | 16 | 20 | 1.5 | 0.5 | 24 | 2.5 | 60 | 3.5 | 28 | 32 | 36 | 40 | 44 | 48 | 52 | 56 | 64 | 72 | 80 | 96 | {
|
7845
7825
|
sm: string;
|
7846
7826
|
md: string;
|
7847
7827
|
lg: string;
|
@@ -7849,7 +7829,7 @@ declare const theme: {
|
|
7849
7829
|
};
|
7850
7830
|
};
|
7851
7831
|
excessLabel: {
|
7852
|
-
[x: string]: string | 1 |
|
7832
|
+
[x: string]: string | 1 | 12 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 14 | 16 | 20 | 1.5 | 0.5 | 24 | 2.5 | 60 | 3.5 | 28 | 32 | 36 | 40 | 44 | 48 | 52 | 56 | 64 | 72 | 80 | 96 | {
|
7853
7833
|
sm: string;
|
7854
7834
|
md: string;
|
7855
7835
|
lg: string;
|
@@ -7859,7 +7839,7 @@ declare const theme: {
|
|
7859
7839
|
};
|
7860
7840
|
xl: {
|
7861
7841
|
container: {
|
7862
|
-
[x: string]: string | 1 |
|
7842
|
+
[x: string]: string | 1 | 12 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 14 | 16 | 20 | 1.5 | 0.5 | 24 | 2.5 | 60 | 3.5 | 28 | 32 | 36 | 40 | 44 | 48 | 52 | 56 | 64 | 72 | 80 | 96 | {
|
7863
7843
|
sm: string;
|
7864
7844
|
md: string;
|
7865
7845
|
lg: string;
|
@@ -7867,7 +7847,7 @@ declare const theme: {
|
|
7867
7847
|
};
|
7868
7848
|
};
|
7869
7849
|
excessLabel: {
|
7870
|
-
[x: string]: string | 1 |
|
7850
|
+
[x: string]: string | 1 | 12 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 14 | 16 | 20 | 1.5 | 0.5 | 24 | 2.5 | 60 | 3.5 | 28 | 32 | 36 | 40 | 44 | 48 | 52 | 56 | 64 | 72 | 80 | 96 | {
|
7871
7851
|
sm: string;
|
7872
7852
|
md: string;
|
7873
7853
|
lg: string;
|
@@ -7877,7 +7857,7 @@ declare const theme: {
|
|
7877
7857
|
};
|
7878
7858
|
"2xl": {
|
7879
7859
|
container: {
|
7880
|
-
[x: string]: string | 1 |
|
7860
|
+
[x: string]: string | 1 | 12 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 14 | 16 | 20 | 1.5 | 0.5 | 24 | 2.5 | 60 | 3.5 | 28 | 32 | 36 | 40 | 44 | 48 | 52 | 56 | 64 | 72 | 80 | 96 | {
|
7881
7861
|
sm: string;
|
7882
7862
|
md: string;
|
7883
7863
|
lg: string;
|
@@ -7885,7 +7865,7 @@ declare const theme: {
|
|
7885
7865
|
};
|
7886
7866
|
};
|
7887
7867
|
excessLabel: {
|
7888
|
-
[x: string]: string | 1 |
|
7868
|
+
[x: string]: string | 1 | 12 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 14 | 16 | 20 | 1.5 | 0.5 | 24 | 2.5 | 60 | 3.5 | 28 | 32 | 36 | 40 | 44 | 48 | 52 | 56 | 64 | 72 | 80 | 96 | {
|
7889
7869
|
sm: string;
|
7890
7870
|
md: string;
|
7891
7871
|
lg: string;
|
@@ -7895,7 +7875,7 @@ declare const theme: {
|
|
7895
7875
|
};
|
7896
7876
|
full: {
|
7897
7877
|
container: {
|
7898
|
-
[x: string]: string | 1 |
|
7878
|
+
[x: string]: string | 1 | 12 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 14 | 16 | 20 | 1.5 | 0.5 | 24 | 2.5 | 60 | 3.5 | 28 | 32 | 36 | 40 | 44 | 48 | 52 | 56 | 64 | 72 | 80 | 96 | {
|
7899
7879
|
sm: string;
|
7900
7880
|
md: string;
|
7901
7881
|
lg: string;
|
@@ -7903,7 +7883,7 @@ declare const theme: {
|
|
7903
7883
|
};
|
7904
7884
|
};
|
7905
7885
|
excessLabel: {
|
7906
|
-
[x: string]: string | 1 |
|
7886
|
+
[x: string]: string | 1 | 12 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 14 | 16 | 20 | 1.5 | 0.5 | 24 | 2.5 | 60 | 3.5 | 28 | 32 | 36 | 40 | 44 | 48 | 52 | 56 | 64 | 72 | 80 | 96 | {
|
7907
7887
|
sm: string;
|
7908
7888
|
md: string;
|
7909
7889
|
lg: string;
|
@@ -9087,8 +9067,8 @@ declare const theme: {
|
|
9087
9067
|
"8xl": string;
|
9088
9068
|
0: string;
|
9089
9069
|
1: string;
|
9090
|
-
2: string;
|
9091
9070
|
12: string;
|
9071
|
+
2: string;
|
9092
9072
|
3: string;
|
9093
9073
|
4: string;
|
9094
9074
|
5: string;
|
@@ -9569,4 +9549,4 @@ declare const Text: _chakra_ui_system_dist_system_types.ComponentWithAs<"p", Tex
|
|
9569
9549
|
**/
|
9570
9550
|
declare function slugify(text: string | string[], maxLength?: number): string;
|
9571
9551
|
|
9572
|
-
export { Accordion, AccordionProps, AttachedInputs, Badge, BadgeProps, Brand, Breadcrumb, BreadcrumbItem, BreadcrumbLink, Button, ButtonGroup, ButtonGroupProps, ButtonProps, Card, CardProps, CardSelect, Checkbox, CheckboxGroup, CheckboxGroupProps, CheckboxProps, ChoiceChip, ChoiceChipProps, ClosableAlert, CloseButton, CloseButtonProps, Code, CodeProps, ColorInlineLoader, ColorInlineLoaderProps, ColorSpinner, ColorSpinnerProps, Combobox, ComboboxProps, ContentLoader, ContentLoaderProps, DarkFullScreenLoader, DarkInlineLoader, DarkInlineLoaderProps, DarkSpinner, DarkSpinnerProps, DatePicker, DateRangePicker, Divider, DividerProps, Drawer, DrawerContent, ModalHeader as DrawerHeader, Expandable, ExpandableAlert, ExpandableItem, ExpandableItemProps, FloatingActionButton, FormControl, FormControlProps, FormErrorMessage, FormErrorMessageProps, FormLabel, FormLabelProps, FullScreenDrawer, Heading, HeadingProps, IconButton, IconButtonProps, InfoSelect, InfoTag, InfoTagProps, Input, InputElementProps, InputLeftElement, InputProps, InputRightElement, ItemDescription, ItemLabel, JumpButton, Language, LanguageProvider, LightFullScreenLoader, LightInlineLoader, LightInlineLoaderProps, LightSpinner, LightSpinnerProps, LineIcon, LineIconProps, ListBox, ModalHeader, ModalHeaderProps, NativeSelect, NativeSelectProps, Nudge, NudgeProps, NumericStepper, Pagination, PasswordInput, PasswordInputProps, PhoneNumberInput, PlayPauseButton, PressableCard, PrideProvider, ProgressBar, ProgressIndicator, ProgressLoader, Radio, RadioCard, RadioCardGroup, RadioCardProps, RadioGroup, RadioGroupProps, RadioProps, SearchInput, SearchInputProps, SimpleDrawer, SimpleDrawerProps, Skeleton, SkeletonCircle, SkeletonCircleProps, SkeletonProps, SkeletonText, SkeletonTextProps, SkipButton, SpinnerProps, SporProvider, Stack, StackProps, StaticAlert, StaticCard, StaticCardProps, Stepper, StepperStep, Switch, SwitchProps, Table, TableProps, Tabs, TabsProps, Text, TextLink, TextProps, Textarea, TextareaProps, TimePicker, ToastOptions, TogglePride, Tooltip, TooltipProps, Translations, TravelTag, TravelTagProps, VyLogo, VyLogoDefault, VyLogoDefaultProps, VyLogoPride, VyLogoPrideProps, VyLogoProps, WizardNudge, WizardNudgeProps, brandTheme, createTexts, fontFaces, slugify, theme, usePride, useToast, useTranslation };
|
9552
|
+
export { Accordion, AccordionProps, AttachedInputs, Badge, BadgeProps, Brand, Breadcrumb, BreadcrumbItem, BreadcrumbLink, Button, ButtonGroup, ButtonGroupProps, ButtonProps, Card, CardProps, CardSelect, Checkbox, CheckboxGroup, CheckboxGroupProps, CheckboxProps, ChoiceChip, ChoiceChipProps, ClosableAlert, CloseButton, CloseButtonProps, Code, CodeProps, ColorInlineLoader, ColorInlineLoaderProps, ColorSpinner, ColorSpinnerProps, Combobox, ComboboxProps, ContentLoader, ContentLoaderProps, DarkFullScreenLoader, DarkInlineLoader, DarkInlineLoaderProps, DarkSpinner, DarkSpinnerProps, DatePicker, DateRangePicker, Divider, DividerProps, Drawer, DrawerContent, ModalHeader as DrawerHeader, Expandable, ExpandableAlert, ExpandableItem, ExpandableItemProps, FloatingActionButton, FormControl, FormControlProps, FormErrorMessage, FormErrorMessageProps, FormLabel, FormLabelProps, FullScreenDrawer, Heading, HeadingProps, IconButton, IconButtonProps, InfoSelect, InfoTag, InfoTagProps, Input, InputElementProps, InputLeftElement, InputProps, InputRightElement, ItemDescription, ItemLabel, JumpButton, Language, LanguageProvider, LightFullScreenLoader, LightInlineLoader, LightInlineLoaderProps, LightSpinner, LightSpinnerProps, LineIcon, LineIconProps, ListBox, ModalHeader, ModalHeaderProps, NativeSelect, NativeSelectProps, Nudge, NudgeProps, NumericStepper, Pagination, PasswordInput, PasswordInputProps, PhoneNumberInput, PlayPauseButton, PressableCard, PrideProvider, ProgressBar, ProgressIndicator, ProgressLoader, Radio, RadioCard, RadioCardGroup, RadioCardGroupContext, RadioCardProps, RadioGroup, RadioGroupProps, RadioProps, SearchInput, SearchInputProps, SimpleDrawer, SimpleDrawerProps, Skeleton, SkeletonCircle, SkeletonCircleProps, SkeletonProps, SkeletonText, SkeletonTextProps, SkipButton, SpinnerProps, SporProvider, Stack, StackProps, StaticAlert, StaticCard, StaticCardProps, Stepper, StepperStep, Switch, SwitchProps, Table, TableProps, Tabs, TabsProps, Text, TextLink, TextProps, Textarea, TextareaProps, TimePicker, ToastOptions, TogglePride, Tooltip, TooltipProps, Translations, TravelTag, TravelTagProps, VyLogo, VyLogoDefault, VyLogoDefaultProps, VyLogoPride, VyLogoPrideProps, VyLogoProps, WizardNudge, WizardNudgeProps, brandTheme, createTexts, fontFaces, slugify, theme, usePride, useToast, useTranslation };
|