@vygruppen/spor-react 9.9.0 → 9.10.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 +9 -9
- package/CHANGELOG.md +12 -0
- package/dist/{CountryCodeSelect-U25NF65N.mjs → CountryCodeSelect-FVCL47RT.mjs} +1 -1
- package/dist/{chunk-TEDOVPXZ.mjs → chunk-WZYWSOJB.mjs} +156 -95
- package/dist/index.d.mts +152 -70
- package/dist/index.d.ts +152 -70
- package/dist/index.js +3015 -2952
- package/dist/index.mjs +1 -1
- package/package.json +2 -2
- package/src/layout/RadioCard.tsx +44 -35
- package/src/layout/RadioCardGroup.tsx +9 -5
- package/src/theme/components/pressable-card.ts +4 -1
- package/src/theme/components/radio-card.ts +79 -40
- package/src/theme/utils/base-utils.ts +5 -2
- package/src/theme/utils/outline-utils.ts +26 -0
- package/src/theme/utils/types.ts +3 -1
package/.turbo/turbo-build.log
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
|
2
|
-
> @vygruppen/spor-react@9.
|
2
|
+
> @vygruppen/spor-react@9.10.0 build
|
3
3
|
> tsup src/index.tsx --dts --treeshake --format cjs,esm
|
4
4
|
|
5
5
|
[34mCLI[39m Building entry: src/index.tsx
|
@@ -9,12 +9,12 @@
|
|
9
9
|
[34mCJS[39m Build start
|
10
10
|
[34mESM[39m Build start
|
11
11
|
[34mDTS[39m Build start
|
12
|
-
[32mCJS[39m [1mdist/index.js [22m[
|
13
|
-
[32mCJS[39m ⚡️ Build success in
|
12
|
+
[32mCJS[39m [1mdist/index.js [22m[32m512.93 KB[39m
|
13
|
+
[32mCJS[39m ⚡️ Build success in 2113ms
|
14
|
+
[32mESM[39m [1mdist/CountryCodeSelect-FVCL47RT.mjs [22m[32m1.19 KB[39m
|
14
15
|
[32mESM[39m [1mdist/index.mjs [22m[32m2.11 KB[39m
|
15
|
-
[32mESM[39m [1mdist/
|
16
|
-
[32mESM[39m
|
17
|
-
[
|
18
|
-
[32mDTS[39m
|
19
|
-
[32mDTS[39m [1mdist/index.d.
|
20
|
-
[32mDTS[39m [1mdist/index.d.mts [22m[32m338.81 KB[39m
|
16
|
+
[32mESM[39m [1mdist/chunk-WZYWSOJB.mjs [22m[32m401.87 KB[39m
|
17
|
+
[32mESM[39m ⚡️ Build success in 2114ms
|
18
|
+
[32mDTS[39m ⚡️ Build success in 12728ms
|
19
|
+
[32mDTS[39m [1mdist/index.d.ts [22m[32m342.51 KB[39m
|
20
|
+
[32mDTS[39m [1mdist/index.d.mts [22m[32m342.51 KB[39m
|
package/CHANGELOG.md
CHANGED
@@ -1,5 +1,17 @@
|
|
1
1
|
# @vygruppen/spor-react
|
2
2
|
|
3
|
+
## 9.10.0
|
4
|
+
|
5
|
+
### Minor Changes
|
6
|
+
|
7
|
+
- c29f006: Fixed crusial error with RadioCard and updated styling.
|
8
|
+
- c29f006: Fix values on PressableCard
|
9
|
+
|
10
|
+
### Patch Changes
|
11
|
+
|
12
|
+
- Updated dependencies [c29f006]
|
13
|
+
- @vygruppen/spor-design-tokens@3.6.1
|
14
|
+
|
3
15
|
## 9.9.0
|
4
16
|
|
5
17
|
### Minor Changes
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import tokens11__default from '@vygruppen/spor-design-tokens';
|
2
2
|
import * as tokens11 from '@vygruppen/spor-design-tokens';
|
3
3
|
export { tokens11 as tokens };
|
4
|
-
import { forwardRef, Divider as Divider$1, Stack as Stack$1,
|
4
|
+
import { forwardRef, Divider as Divider$1, Stack as Stack$1, useMultiStyleConfig, Box, chakra, useStyleConfig, Accordion as Accordion$1, Skeleton as Skeleton$1, useButtonGroup, Center, Flex, ButtonGroup as ButtonGroup$1, IconButton as IconButton$1, Badge as Badge$1, Code as Code$1, Text, PopoverAnchor, FormLabel, useFormControlContext, PopoverContent, PopoverArrow, PopoverBody, FocusLock, Popover, InputGroup, PopoverTrigger, Portal, Checkbox as Checkbox$1, useCheckbox, FormControl as FormControl$1, InputLeftElement, Input as Input$1, InputRightElement, Select, useDisclosure, Button as Button$1, useControllableState, Radio as Radio$1, RadioGroup as RadioGroup$1, Switch as Switch$1, Textarea as Textarea$1, Link, ModalHeader as ModalHeader$1, useModalContext, DrawerContent as DrawerContent$1, Tabs as Tabs$1, Table as Table$1, defineStyleConfig as defineStyleConfig$1, createMultiStyleConfigHelpers as createMultiStyleConfigHelpers$1, useRadioGroup, AccordionItem, AccordionButton, AccordionIcon, AccordionPanel, useColorMode, SkeletonCircle as SkeletonCircle$1, SkeletonText as SkeletonText$1, useColorModeValue, Breadcrumb as Breadcrumb$1, BreadcrumbItem as BreadcrumbItem$1, BreadcrumbLink as BreadcrumbLink$1, Heading as Heading$1, CheckboxGroup as CheckboxGroup$1, List, ListItem, useFormControlProps, useFormControl, Drawer as Drawer$1, DrawerOverlay, DrawerBody, DrawerHeader, useMediaQuery, DrawerCloseButton, DarkMode, PopoverCloseButton, usePopoverContext, UnorderedList, ChakraProvider, useToast as useToast$1, useInterval } from '@chakra-ui/react';
|
5
5
|
export { AccordionButton, AccordionIcon, AccordionItem, AccordionPanel, Box, Center, Collapse, Container, DarkMode, DrawerBody, DrawerCloseButton, DrawerFooter, DrawerOverlay, Fade, Flex, FormHelperText, Grid, GridItem, HStack, Image, Img, InputGroup, LightMode, ListItem, Modal, ModalBody, ModalCloseButton, ModalContent, ModalFooter, ModalOverlay, OrderedList, Portal, ScaleFade, SimpleGrid, Slide, SlideFade, Spacer, Tab, TabList, TabPanel, TabPanels, TableCaption, Tbody, Td, Tfoot, Th, Thead, Tr, UnorderedList, VStack, Wrap, WrapItem, defineStyleConfig, extendTheme, useBreakpointValue, useClipboard, useColorMode, useColorModePreference, useColorModeValue, useControllableProp, useDisclosure, useMediaQuery, useMergeRefs, useOutsideClick, usePrefersReducedMotion, useTheme, useToken } from '@chakra-ui/react';
|
6
6
|
import * as React73 from 'react';
|
7
7
|
import React73__default, { useId, createContext, useEffect, forwardRef as forwardRef$1, useRef, useState, Suspense, useContext, useCallback, useMemo, useLayoutEffect } from 'react';
|
@@ -778,39 +778,34 @@ var Stack = forwardRef(
|
|
778
778
|
return /* @__PURE__ */ React73__default.createElement(Stack$1, { ...props, direction: flexDirection, ref });
|
779
779
|
}
|
780
780
|
);
|
781
|
-
|
782
|
-
// ../../node_modules/@chakra-ui/utils/dist/chunk-O3SWHQEE.mjs
|
783
|
-
var dataAttr = (condition) => condition ? "" : void 0;
|
784
781
|
var RadioCard = forwardRef(
|
785
|
-
({ children, variant = "base", ...props }, ref) => {
|
786
|
-
const
|
787
|
-
const styles3 = useStyleConfig("RadioCard", { variant });
|
788
|
-
const input = getInputProps({}, ref);
|
789
|
-
const radio = getRadioProps();
|
782
|
+
({ children, variant = "base", isChecked, onChange, ...props }, ref) => {
|
783
|
+
const styles3 = useMultiStyleConfig("RadioCard", { variant });
|
790
784
|
const id = `radio-card-${useId()}`;
|
791
|
-
|
792
|
-
|
785
|
+
const handleChange = (event) => {
|
786
|
+
onChange && onChange(event);
|
787
|
+
};
|
788
|
+
return /* @__PURE__ */ React73__default.createElement(Box, { as: "label", htmlFor: id, "aria-label": String(children), ref }, /* @__PURE__ */ React73__default.createElement(
|
789
|
+
chakra.input,
|
793
790
|
{
|
794
|
-
|
795
|
-
|
796
|
-
|
791
|
+
type: "radio",
|
792
|
+
id,
|
793
|
+
checked: isChecked,
|
794
|
+
onChange: handleChange,
|
795
|
+
...props,
|
796
|
+
sx: styles3.radioInput
|
797
|
+
}
|
798
|
+
), /* @__PURE__ */ React73__default.createElement(
|
799
|
+
Box,
|
800
|
+
{
|
801
|
+
...props,
|
802
|
+
__css: {
|
803
|
+
...styles3.container,
|
804
|
+
...isChecked && styles3.checked
|
805
|
+
}
|
797
806
|
},
|
798
|
-
|
799
|
-
|
800
|
-
chakra.div,
|
801
|
-
{
|
802
|
-
__css: styles3,
|
803
|
-
...radio,
|
804
|
-
"data-checked": dataAttr(state2.isChecked),
|
805
|
-
"data-hover": dataAttr(state2.isHovered),
|
806
|
-
"data-focus": dataAttr(state2.isFocused),
|
807
|
-
"data-active": dataAttr(state2.isActive),
|
808
|
-
"data-disabled": dataAttr(state2.isDisabled),
|
809
|
-
...props
|
810
|
-
},
|
811
|
-
children
|
812
|
-
)
|
813
|
-
);
|
807
|
+
children
|
808
|
+
));
|
814
809
|
}
|
815
810
|
);
|
816
811
|
var RadioCardGroup = ({
|
@@ -828,14 +823,18 @@ var RadioCardGroup = ({
|
|
828
823
|
onChange,
|
829
824
|
...props
|
830
825
|
});
|
831
|
-
const
|
832
|
-
return /* @__PURE__ */ React73__default.createElement(Stack$1, { direction: direction2, ...
|
826
|
+
const rootProps = getRootProps();
|
827
|
+
return /* @__PURE__ */ React73__default.createElement(Stack$1, { direction: direction2, ...rootProps }, recursiveMap(children, (child) => {
|
833
828
|
if (child.type === RadioCard) {
|
834
|
-
const
|
829
|
+
const radioProps = getRadioProps({ value: child.props.value });
|
835
830
|
const variantValue = variant;
|
836
831
|
return React73__default.cloneElement(
|
837
832
|
child,
|
838
|
-
{
|
833
|
+
{
|
834
|
+
...radioProps,
|
835
|
+
variant: variantValue,
|
836
|
+
...props
|
837
|
+
}
|
839
838
|
);
|
840
839
|
}
|
841
840
|
return child;
|
@@ -2691,6 +2690,9 @@ var CheckboxGroup = ({
|
|
2691
2690
|
}) => {
|
2692
2691
|
return /* @__PURE__ */ React73__default.createElement(CheckboxGroup$1, { ...props }, /* @__PURE__ */ React73__default.createElement(Stack$1, { direction: direction2 }, children));
|
2693
2692
|
};
|
2693
|
+
|
2694
|
+
// ../../node_modules/@chakra-ui/utils/dist/chunk-O3SWHQEE.mjs
|
2695
|
+
var dataAttr = (condition) => condition ? "" : void 0;
|
2694
2696
|
var ChoiceChip = forwardRef((props, ref) => {
|
2695
2697
|
const {
|
2696
2698
|
children,
|
@@ -3473,7 +3475,7 @@ var texts14 = createTexts({
|
|
3473
3475
|
sv: "Telefonnummer"
|
3474
3476
|
}
|
3475
3477
|
});
|
3476
|
-
var LazyCountryCodeSelect = React73__default.lazy(() => import('./CountryCodeSelect-
|
3478
|
+
var LazyCountryCodeSelect = React73__default.lazy(() => import('./CountryCodeSelect-FVCL47RT.mjs'));
|
3477
3479
|
var Radio = forwardRef((props, ref) => {
|
3478
3480
|
return /* @__PURE__ */ React73__default.createElement(Radio$1, { ...props, ref });
|
3479
3481
|
});
|
@@ -6514,13 +6516,13 @@ function defineStyle(styles3) {
|
|
6514
6516
|
function defineStyleConfig(config45) {
|
6515
6517
|
return config45;
|
6516
6518
|
}
|
6517
|
-
function createMultiStyleConfigHelpers(
|
6519
|
+
function createMultiStyleConfigHelpers(parts20) {
|
6518
6520
|
return {
|
6519
6521
|
definePartsStyle(config45) {
|
6520
6522
|
return config45;
|
6521
6523
|
},
|
6522
6524
|
defineMultiStyleConfig(config45) {
|
6523
|
-
return { parts:
|
6525
|
+
return { parts: parts20, ...config45 };
|
6524
6526
|
}
|
6525
6527
|
};
|
6526
6528
|
}
|
@@ -6683,7 +6685,7 @@ function anatomy(name, map = {}) {
|
|
6683
6685
|
"[anatomy] .part(...) should only be called once. Did you mean to use .extend(...) ?"
|
6684
6686
|
);
|
6685
6687
|
}
|
6686
|
-
function
|
6688
|
+
function parts20(...values) {
|
6687
6689
|
assert();
|
6688
6690
|
for (const part of values) {
|
6689
6691
|
map[part] = toPart(part);
|
@@ -6723,7 +6725,7 @@ function anatomy(name, map = {}) {
|
|
6723
6725
|
}
|
6724
6726
|
const __type = {};
|
6725
6727
|
return {
|
6726
|
-
parts:
|
6728
|
+
parts: parts20,
|
6727
6729
|
toPart,
|
6728
6730
|
extend,
|
6729
6731
|
selectors,
|
@@ -9936,8 +9938,11 @@ function baseBorder(state2, props) {
|
|
9936
9938
|
}
|
9937
9939
|
case "active": {
|
9938
9940
|
return {
|
9939
|
-
outline: "
|
9940
|
-
outlineColor: mode(
|
9941
|
+
outline: "1px solid",
|
9942
|
+
outlineColor: mode(
|
9943
|
+
"base.outline.default.light",
|
9944
|
+
"base.outline.default.dark"
|
9945
|
+
)(props)
|
9941
9946
|
};
|
9942
9947
|
}
|
9943
9948
|
case "invalid": {
|
@@ -13022,66 +13027,119 @@ var config32 = helpers23.defineMultiStyleConfig({
|
|
13022
13027
|
}
|
13023
13028
|
});
|
13024
13029
|
var progress_indicator_default = config32;
|
13025
|
-
|
13030
|
+
function outlineBorder(state2, props) {
|
13031
|
+
switch (state2) {
|
13032
|
+
case "error":
|
13033
|
+
return {
|
13034
|
+
outlineColor: mode("outline.error.light", "outline.error.dark")(props)
|
13035
|
+
};
|
13036
|
+
case "focus":
|
13037
|
+
return {
|
13038
|
+
outlineColor: mode("outline.focus.light", "outline.focus.dark")(props)
|
13039
|
+
};
|
13040
|
+
default:
|
13041
|
+
return {
|
13042
|
+
outlineColor: mode(
|
13043
|
+
"outline.default.light",
|
13044
|
+
"outline.default.dark"
|
13045
|
+
)(props)
|
13046
|
+
};
|
13047
|
+
}
|
13048
|
+
}
|
13049
|
+
|
13050
|
+
// src/theme/components/radio-card.ts
|
13051
|
+
var parts17 = anatomy$1("radio-card").parts("container", "checked", "radioInput");
|
13052
|
+
var helpers24 = createMultiStyleConfigHelpers$1(parts17.keys);
|
13053
|
+
var config33 = helpers24.defineMultiStyleConfig({
|
13026
13054
|
baseStyle: (props) => ({
|
13027
|
-
|
13028
|
-
|
13029
|
-
|
13030
|
-
|
13031
|
-
|
13032
|
-
|
13033
|
-
|
13034
|
-
|
13035
|
-
|
13036
|
-
|
13037
|
-
|
13038
|
-
|
13039
|
-
|
13055
|
+
container: {
|
13056
|
+
appearance: "none",
|
13057
|
+
border: "none",
|
13058
|
+
overflow: "hidden",
|
13059
|
+
fontSize: "inherit",
|
13060
|
+
display: "block",
|
13061
|
+
cursor: "pointer",
|
13062
|
+
borderRadius: "sm",
|
13063
|
+
...focusVisibleStyles(props),
|
13064
|
+
transitionProperty: "common",
|
13065
|
+
transitionDuration: "fast",
|
13066
|
+
_disabled: {
|
13067
|
+
pointerEvents: "none",
|
13068
|
+
...baseBackground("disabled", props),
|
13069
|
+
...baseBorder("disabled", props),
|
13070
|
+
...baseText("disabled", props)
|
13040
13071
|
}
|
13041
13072
|
},
|
13042
|
-
|
13043
|
-
|
13044
|
-
...
|
13045
|
-
...
|
13046
|
-
|
13073
|
+
checked: {
|
13074
|
+
outline: "2px solid",
|
13075
|
+
...outlineBorder("focus", props),
|
13076
|
+
...floatingBackground("active", props)
|
13077
|
+
},
|
13078
|
+
radioInput: {
|
13079
|
+
appearance: "none",
|
13080
|
+
position: "absolute",
|
13081
|
+
opacity: 0,
|
13082
|
+
zIndex: -1
|
13047
13083
|
}
|
13048
13084
|
}),
|
13049
13085
|
variants: {
|
13050
13086
|
base: (props) => ({
|
13051
|
-
|
13052
|
-
|
13053
|
-
|
13054
|
-
...
|
13055
|
-
|
13087
|
+
container: {
|
13088
|
+
...baseText("default", props),
|
13089
|
+
...baseBackground("default", props),
|
13090
|
+
...baseBorder("default", props),
|
13091
|
+
_hover: {
|
13092
|
+
...baseBackground("hover", props),
|
13093
|
+
...baseBorder("hover", props)
|
13094
|
+
},
|
13095
|
+
_active: {
|
13096
|
+
...baseBackground("active", props),
|
13097
|
+
...baseBorder("active", props)
|
13098
|
+
}
|
13056
13099
|
},
|
13057
|
-
|
13058
|
-
|
13100
|
+
checked: {
|
13101
|
+
_hover: {
|
13102
|
+
...baseBorder("hover", props)
|
13103
|
+
},
|
13104
|
+
_active: {
|
13105
|
+
...baseBackground("active", props),
|
13106
|
+
...baseBorder("active", props)
|
13107
|
+
}
|
13059
13108
|
}
|
13060
13109
|
}),
|
13061
13110
|
floating: (props) => ({
|
13062
|
-
|
13063
|
-
|
13064
|
-
|
13065
|
-
...floatingBackground("
|
13066
|
-
...floatingBorder("
|
13067
|
-
boxShadow: "
|
13068
|
-
|
13069
|
-
|
13070
|
-
|
13071
|
-
|
13111
|
+
container: {
|
13112
|
+
...baseText("default", props),
|
13113
|
+
...baseBackground("default", props),
|
13114
|
+
...floatingBackground("default", props),
|
13115
|
+
...floatingBorder("default", props),
|
13116
|
+
boxShadow: "sm",
|
13117
|
+
_hover: {
|
13118
|
+
...floatingBackground("hover", props),
|
13119
|
+
...floatingBorder("hover", props),
|
13120
|
+
boxShadow: "md"
|
13121
|
+
},
|
13122
|
+
_active: {
|
13123
|
+
...floatingBackground("active", props),
|
13124
|
+
...floatingBorder("active", props)
|
13125
|
+
}
|
13072
13126
|
},
|
13073
|
-
|
13127
|
+
checked: {
|
13128
|
+
cursor: "normal",
|
13074
13129
|
_hover: {
|
13075
|
-
|
13076
|
-
|
13130
|
+
...floatingBorder("hover", props)
|
13131
|
+
},
|
13132
|
+
_active: {
|
13133
|
+
...floatingBackground("active", props),
|
13134
|
+
...floatingBorder("active", props)
|
13077
13135
|
}
|
13078
13136
|
}
|
13079
13137
|
})
|
13080
13138
|
}
|
13081
13139
|
});
|
13082
13140
|
var radio_card_default = config33;
|
13083
|
-
var
|
13084
|
-
var config34 =
|
13141
|
+
var helpers25 = createMultiStyleConfigHelpers$1(radioAnatomy.keys);
|
13142
|
+
var config34 = helpers25.defineMultiStyleConfig({
|
13085
13143
|
baseStyle: (props) => ({
|
13086
13144
|
container: {
|
13087
13145
|
_hover: {
|
@@ -13135,9 +13193,9 @@ var config34 = helpers24.defineMultiStyleConfig({
|
|
13135
13193
|
})
|
13136
13194
|
});
|
13137
13195
|
var radio_default = config34;
|
13138
|
-
var
|
13139
|
-
var
|
13140
|
-
var config35 =
|
13196
|
+
var parts18 = selectAnatomy.extend("root");
|
13197
|
+
var helpers26 = createMultiStyleConfigHelpers$1(parts18.keys);
|
13198
|
+
var config35 = helpers26.defineMultiStyleConfig({
|
13141
13199
|
baseStyle: (props) => ({
|
13142
13200
|
root: {
|
13143
13201
|
width: "100%",
|
@@ -13208,7 +13266,7 @@ var config36 = defineStyleConfig$1({
|
|
13208
13266
|
}
|
13209
13267
|
});
|
13210
13268
|
var skeleton_default = config36;
|
13211
|
-
var
|
13269
|
+
var parts19 = anatomy$1("stepper").parts(
|
13212
13270
|
"root",
|
13213
13271
|
"container",
|
13214
13272
|
"innerContainer",
|
@@ -13220,8 +13278,8 @@ var parts18 = anatomy$1("stepper").parts(
|
|
13220
13278
|
"stepTitle",
|
13221
13279
|
"closeButton"
|
13222
13280
|
);
|
13223
|
-
var
|
13224
|
-
var config37 =
|
13281
|
+
var helpers27 = createMultiStyleConfigHelpers$1(parts19.keys);
|
13282
|
+
var config37 = helpers27.defineMultiStyleConfig({
|
13225
13283
|
baseStyle: {
|
13226
13284
|
root: {
|
13227
13285
|
display: "flex",
|
@@ -13296,8 +13354,8 @@ var $height3 = cssVar$1("switch-track-height");
|
|
13296
13354
|
var $diff2 = cssVar$1("switch-track-diff");
|
13297
13355
|
var diffValue2 = calc$1.subtract($width2, $height3);
|
13298
13356
|
var $translateX2 = cssVar$1("switch-thumb-x");
|
13299
|
-
var
|
13300
|
-
var config38 =
|
13357
|
+
var helpers28 = createMultiStyleConfigHelpers$1(switchAnatomy.keys);
|
13358
|
+
var config38 = helpers28.defineMultiStyleConfig({
|
13301
13359
|
baseStyle: (props) => ({
|
13302
13360
|
container: {
|
13303
13361
|
[$diff2.variable]: diffValue2,
|
@@ -13391,13 +13449,13 @@ var config38 = helpers27.defineMultiStyleConfig({
|
|
13391
13449
|
}
|
13392
13450
|
});
|
13393
13451
|
var switch_default = config38;
|
13394
|
-
var
|
13452
|
+
var helpers29 = createMultiStyleConfigHelpers$1(tableAnatomy.keys);
|
13395
13453
|
var numericStyles2 = {
|
13396
13454
|
"&[data-is-numeric=true]": {
|
13397
13455
|
textAlign: "end"
|
13398
13456
|
}
|
13399
13457
|
};
|
13400
|
-
var config39 =
|
13458
|
+
var config39 = helpers29.defineMultiStyleConfig({
|
13401
13459
|
baseStyle: (props) => ({
|
13402
13460
|
table: {
|
13403
13461
|
borderCollapse: "collapse",
|
@@ -13544,8 +13602,8 @@ var config39 = helpers28.defineMultiStyleConfig({
|
|
13544
13602
|
}
|
13545
13603
|
});
|
13546
13604
|
var table_default = config39;
|
13547
|
-
var
|
13548
|
-
var config40 =
|
13605
|
+
var helpers30 = createMultiStyleConfigHelpers$1(tabsAnatomy.keys);
|
13606
|
+
var config40 = helpers30.defineMultiStyleConfig({
|
13549
13607
|
baseStyle: (props) => ({
|
13550
13608
|
root: {
|
13551
13609
|
display: "flex",
|
@@ -13795,6 +13853,7 @@ var config44 = defineStyleConfig$1({
|
|
13795
13853
|
}),
|
13796
13854
|
variants: {
|
13797
13855
|
base: (props) => ({
|
13856
|
+
cursor: "pointer",
|
13798
13857
|
...baseBorder("default", props),
|
13799
13858
|
_hover: {
|
13800
13859
|
...baseBorder("hover", props)
|
@@ -13809,7 +13868,7 @@ var config44 = defineStyleConfig$1({
|
|
13809
13868
|
boxShadow: "sm",
|
13810
13869
|
_hover: {
|
13811
13870
|
...accentBackground("hover", props),
|
13812
|
-
boxShadow: "
|
13871
|
+
boxShadow: "md"
|
13813
13872
|
},
|
13814
13873
|
_active: {
|
13815
13874
|
...accentBackground("active", props),
|
@@ -13818,6 +13877,7 @@ var config44 = defineStyleConfig$1({
|
|
13818
13877
|
}),
|
13819
13878
|
floating: (props) => ({
|
13820
13879
|
...floatingBackground("default", props),
|
13880
|
+
...floatingBorder("default", props),
|
13821
13881
|
boxShadow: "sm",
|
13822
13882
|
_hover: {
|
13823
13883
|
...floatingBackground("hover", props),
|
@@ -13825,6 +13885,7 @@ var config44 = defineStyleConfig$1({
|
|
13825
13885
|
boxShadow: "md"
|
13826
13886
|
},
|
13827
13887
|
_active: {
|
13888
|
+
...floatingBorder("default", props),
|
13828
13889
|
...floatingBackground("active", props),
|
13829
13890
|
boxShadow: "none"
|
13830
13891
|
}
|