@vygruppen/spor-react 3.4.1 → 3.4.2
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 +8 -8
- package/CHANGELOG.md +7 -0
- package/dist/{CountryCodeSelect-I6MGYQTH.mjs → CountryCodeSelect-FTCKNVSB.mjs} +1 -1
- package/dist/{chunk-GIXEJPV7.mjs → chunk-DOHLC4LS.mjs} +24 -13
- package/dist/index.js +23 -12
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/src/theme/components/card.ts +12 -1
package/.turbo/turbo-build.log
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
|
2
|
-
> @vygruppen/spor-react@3.4.
|
2
|
+
> @vygruppen/spor-react@3.4.2 build
|
3
3
|
> tsup src/index.tsx --dts --treeshake --format cjs,esm
|
4
4
|
|
5
5
|
[34mCLI[39m Building entry: src/index.tsx
|
@@ -9,13 +9,13 @@
|
|
9
9
|
[34mCJS[39m Build start
|
10
10
|
[34mESM[39m Build start
|
11
11
|
[34mDTS[39m Build start
|
12
|
+
"toZoned" and "toTime" are imported from external module "@internationalized/date" but never used in "dist/chunk-DOHLC4LS.mjs".
|
12
13
|
"toZoned" and "toTime" are imported from external module "@internationalized/date" but never used in "dist/index.js".
|
13
|
-
"toZoned" and "toTime" are imported from external module "@internationalized/date" but never used in "dist/chunk-GIXEJPV7.mjs".
|
14
|
-
[32mCJS[39m [1mdist/index.js [22m[32m903.40 KB[39m
|
15
|
-
[32mCJS[39m ⚡️ Build success in 4807ms
|
16
14
|
[32mESM[39m [1mdist/index.mjs [22m[32m2.01 KB[39m
|
17
|
-
[32mESM[39m [1mdist/CountryCodeSelect-
|
18
|
-
[32mESM[39m [1mdist/chunk-
|
19
|
-
[32mESM[39m ⚡️ Build success in
|
20
|
-
[
|
15
|
+
[32mESM[39m [1mdist/CountryCodeSelect-FTCKNVSB.mjs [22m[32m350.82 KB[39m
|
16
|
+
[32mESM[39m [1mdist/chunk-DOHLC4LS.mjs [22m[32m420.85 KB[39m
|
17
|
+
[32mESM[39m ⚡️ Build success in 5055ms
|
18
|
+
[32mCJS[39m [1mdist/index.js [22m[32m903.69 KB[39m
|
19
|
+
[32mCJS[39m ⚡️ Build success in 5056ms
|
20
|
+
[32mDTS[39m ⚡️ Build success in 18301ms
|
21
21
|
[32mDTS[39m [1mdist/index.d.ts [22m[32m252.53 KB[39m
|
package/CHANGELOG.md
CHANGED
@@ -5084,7 +5084,7 @@ var texts14 = createTexts({
|
|
5084
5084
|
sv: "Telefonnummer"
|
5085
5085
|
}
|
5086
5086
|
});
|
5087
|
-
var LazyCountryCodeSelect = React49__default.lazy(() => import('./CountryCodeSelect-
|
5087
|
+
var LazyCountryCodeSelect = React49__default.lazy(() => import('./CountryCodeSelect-FTCKNVSB.mjs'));
|
5088
5088
|
var Radio = forwardRef((props, ref) => {
|
5089
5089
|
return /* @__PURE__ */ React49__default.createElement(Radio$1, { ...props, ref });
|
5090
5090
|
});
|
@@ -11468,7 +11468,8 @@ var config7 = defineStyleConfig$1({
|
|
11468
11468
|
focus: {
|
11469
11469
|
boxShadow: getBoxShadowString({
|
11470
11470
|
borderColor: "greenHaze",
|
11471
|
-
borderWidth: 2
|
11471
|
+
borderWidth: 2,
|
11472
|
+
isInset: false
|
11472
11473
|
}),
|
11473
11474
|
outline: "none",
|
11474
11475
|
_active: getColorSchemeActiveProps(props)
|
@@ -11481,7 +11482,8 @@ var config7 = defineStyleConfig$1({
|
|
11481
11482
|
_disabled: {
|
11482
11483
|
backgroundColor: "platinum",
|
11483
11484
|
boxShadow: getBoxShadowString({
|
11484
|
-
borderColor: "silver"
|
11485
|
+
borderColor: "silver",
|
11486
|
+
isInset: false
|
11485
11487
|
}),
|
11486
11488
|
color: "osloGrey",
|
11487
11489
|
pointerEvents: "none"
|
@@ -11495,7 +11497,7 @@ function getColorSchemeBaseProps({ colorScheme }) {
|
|
11495
11497
|
switch (colorScheme) {
|
11496
11498
|
case "white":
|
11497
11499
|
return {
|
11498
|
-
backgroundColor: "
|
11500
|
+
backgroundColor: "white"
|
11499
11501
|
};
|
11500
11502
|
case "grey":
|
11501
11503
|
return {
|
@@ -11520,14 +11522,16 @@ function getColorSchemeClickableProps({ colorScheme, size: size2 }) {
|
|
11520
11522
|
return {
|
11521
11523
|
boxShadow: getBoxShadowString({
|
11522
11524
|
baseShadow,
|
11523
|
-
borderColor: "silver"
|
11525
|
+
borderColor: "silver",
|
11526
|
+
isInset: false
|
11524
11527
|
})
|
11525
11528
|
};
|
11526
11529
|
case "grey":
|
11527
11530
|
return {
|
11528
11531
|
boxShadow: getBoxShadowString({
|
11529
11532
|
baseShadow,
|
11530
|
-
borderColor: "steel"
|
11533
|
+
borderColor: "steel",
|
11534
|
+
isInset: false
|
11531
11535
|
})
|
11532
11536
|
};
|
11533
11537
|
default:
|
@@ -11535,7 +11539,8 @@ function getColorSchemeClickableProps({ colorScheme, size: size2 }) {
|
|
11535
11539
|
backgroundColor: ((_a6 = colors[colorScheme]) == null ? void 0 : _a6[100]) ?? "platinum",
|
11536
11540
|
boxShadow: getBoxShadowString({
|
11537
11541
|
baseShadow,
|
11538
|
-
borderColor: ((_b5 = colors[colorScheme]) == null ? void 0 : _b5[200]) ?? "silver"
|
11542
|
+
borderColor: ((_b5 = colors[colorScheme]) == null ? void 0 : _b5[200]) ?? "silver",
|
11543
|
+
isInset: false
|
11539
11544
|
})
|
11540
11545
|
};
|
11541
11546
|
}
|
@@ -11548,14 +11553,16 @@ function getColorSchemeHoverProps({ colorScheme, size: size2 }) {
|
|
11548
11553
|
return {
|
11549
11554
|
boxShadow: getBoxShadowString({
|
11550
11555
|
baseShadow,
|
11551
|
-
borderColor: colors.steel
|
11556
|
+
borderColor: colors.steel,
|
11557
|
+
isInset: false
|
11552
11558
|
})
|
11553
11559
|
};
|
11554
11560
|
case "grey":
|
11555
11561
|
return {
|
11556
11562
|
boxShadow: getBoxShadowString({
|
11557
11563
|
baseShadow,
|
11558
|
-
borderColor: colors.osloGrey
|
11564
|
+
borderColor: colors.osloGrey,
|
11565
|
+
isInset: false
|
11559
11566
|
})
|
11560
11567
|
};
|
11561
11568
|
default:
|
@@ -11563,7 +11570,8 @@ function getColorSchemeHoverProps({ colorScheme, size: size2 }) {
|
|
11563
11570
|
backgroundColor: ((_a6 = colors[colorScheme]) == null ? void 0 : _a6[200]) ?? "silver",
|
11564
11571
|
boxShadow: getBoxShadowString({
|
11565
11572
|
baseShadow,
|
11566
|
-
borderColor: ((_b5 = colors[colorScheme]) == null ? void 0 : _b5[400]) ?? colors.silver
|
11573
|
+
borderColor: ((_b5 = colors[colorScheme]) == null ? void 0 : _b5[400]) ?? colors.silver,
|
11574
|
+
isInset: false
|
11567
11575
|
})
|
11568
11576
|
};
|
11569
11577
|
}
|
@@ -11577,7 +11585,8 @@ function getColorSchemeActiveProps({ colorScheme, size: size2 }) {
|
|
11577
11585
|
backgroundColor: "mint",
|
11578
11586
|
boxShadow: getBoxShadowString({
|
11579
11587
|
baseShadow,
|
11580
|
-
borderColor: colors.silver
|
11588
|
+
borderColor: colors.silver,
|
11589
|
+
isInset: false
|
11581
11590
|
})
|
11582
11591
|
};
|
11583
11592
|
case "grey":
|
@@ -11585,7 +11594,8 @@ function getColorSchemeActiveProps({ colorScheme, size: size2 }) {
|
|
11585
11594
|
backgroundColor: "white",
|
11586
11595
|
boxShadow: getBoxShadowString({
|
11587
11596
|
baseShadow,
|
11588
|
-
borderColor: colors.steel
|
11597
|
+
borderColor: colors.steel,
|
11598
|
+
isInset: false
|
11589
11599
|
})
|
11590
11600
|
};
|
11591
11601
|
default:
|
@@ -11593,7 +11603,8 @@ function getColorSchemeActiveProps({ colorScheme, size: size2 }) {
|
|
11593
11603
|
backgroundColor: ((_a6 = colors[colorScheme]) == null ? void 0 : _a6[50]) ?? "lightGrey",
|
11594
11604
|
boxShadow: getBoxShadowString({
|
11595
11605
|
baseShadow,
|
11596
|
-
borderColor: ((_b5 = colors[colorScheme]) == null ? void 0 : _b5[100]) ?? colors.silver
|
11606
|
+
borderColor: ((_b5 = colors[colorScheme]) == null ? void 0 : _b5[100]) ?? colors.silver,
|
11607
|
+
isInset: false
|
11597
11608
|
})
|
11598
11609
|
};
|
11599
11610
|
}
|
package/dist/index.js
CHANGED
@@ -19472,7 +19472,7 @@ function getColorSchemeBaseProps({ colorScheme }) {
|
|
19472
19472
|
switch (colorScheme) {
|
19473
19473
|
case "white":
|
19474
19474
|
return {
|
19475
|
-
backgroundColor: "
|
19475
|
+
backgroundColor: "white"
|
19476
19476
|
};
|
19477
19477
|
case "grey":
|
19478
19478
|
return {
|
@@ -19497,14 +19497,16 @@ function getColorSchemeClickableProps({ colorScheme, size: size2 }) {
|
|
19497
19497
|
return {
|
19498
19498
|
boxShadow: getBoxShadowString({
|
19499
19499
|
baseShadow,
|
19500
|
-
borderColor: "silver"
|
19500
|
+
borderColor: "silver",
|
19501
|
+
isInset: false
|
19501
19502
|
})
|
19502
19503
|
};
|
19503
19504
|
case "grey":
|
19504
19505
|
return {
|
19505
19506
|
boxShadow: getBoxShadowString({
|
19506
19507
|
baseShadow,
|
19507
|
-
borderColor: "steel"
|
19508
|
+
borderColor: "steel",
|
19509
|
+
isInset: false
|
19508
19510
|
})
|
19509
19511
|
};
|
19510
19512
|
default:
|
@@ -19512,7 +19514,8 @@ function getColorSchemeClickableProps({ colorScheme, size: size2 }) {
|
|
19512
19514
|
backgroundColor: ((_a6 = colors[colorScheme]) == null ? void 0 : _a6[100]) ?? "platinum",
|
19513
19515
|
boxShadow: getBoxShadowString({
|
19514
19516
|
baseShadow,
|
19515
|
-
borderColor: ((_b5 = colors[colorScheme]) == null ? void 0 : _b5[200]) ?? "silver"
|
19517
|
+
borderColor: ((_b5 = colors[colorScheme]) == null ? void 0 : _b5[200]) ?? "silver",
|
19518
|
+
isInset: false
|
19516
19519
|
})
|
19517
19520
|
};
|
19518
19521
|
}
|
@@ -19525,14 +19528,16 @@ function getColorSchemeHoverProps({ colorScheme, size: size2 }) {
|
|
19525
19528
|
return {
|
19526
19529
|
boxShadow: getBoxShadowString({
|
19527
19530
|
baseShadow,
|
19528
|
-
borderColor: colors.steel
|
19531
|
+
borderColor: colors.steel,
|
19532
|
+
isInset: false
|
19529
19533
|
})
|
19530
19534
|
};
|
19531
19535
|
case "grey":
|
19532
19536
|
return {
|
19533
19537
|
boxShadow: getBoxShadowString({
|
19534
19538
|
baseShadow,
|
19535
|
-
borderColor: colors.osloGrey
|
19539
|
+
borderColor: colors.osloGrey,
|
19540
|
+
isInset: false
|
19536
19541
|
})
|
19537
19542
|
};
|
19538
19543
|
default:
|
@@ -19540,7 +19545,8 @@ function getColorSchemeHoverProps({ colorScheme, size: size2 }) {
|
|
19540
19545
|
backgroundColor: ((_a6 = colors[colorScheme]) == null ? void 0 : _a6[200]) ?? "silver",
|
19541
19546
|
boxShadow: getBoxShadowString({
|
19542
19547
|
baseShadow,
|
19543
|
-
borderColor: ((_b5 = colors[colorScheme]) == null ? void 0 : _b5[400]) ?? colors.silver
|
19548
|
+
borderColor: ((_b5 = colors[colorScheme]) == null ? void 0 : _b5[400]) ?? colors.silver,
|
19549
|
+
isInset: false
|
19544
19550
|
})
|
19545
19551
|
};
|
19546
19552
|
}
|
@@ -19554,7 +19560,8 @@ function getColorSchemeActiveProps({ colorScheme, size: size2 }) {
|
|
19554
19560
|
backgroundColor: "mint",
|
19555
19561
|
boxShadow: getBoxShadowString({
|
19556
19562
|
baseShadow,
|
19557
|
-
borderColor: colors.silver
|
19563
|
+
borderColor: colors.silver,
|
19564
|
+
isInset: false
|
19558
19565
|
})
|
19559
19566
|
};
|
19560
19567
|
case "grey":
|
@@ -19562,7 +19569,8 @@ function getColorSchemeActiveProps({ colorScheme, size: size2 }) {
|
|
19562
19569
|
backgroundColor: "white",
|
19563
19570
|
boxShadow: getBoxShadowString({
|
19564
19571
|
baseShadow,
|
19565
|
-
borderColor: colors.steel
|
19572
|
+
borderColor: colors.steel,
|
19573
|
+
isInset: false
|
19566
19574
|
})
|
19567
19575
|
};
|
19568
19576
|
default:
|
@@ -19570,7 +19578,8 @@ function getColorSchemeActiveProps({ colorScheme, size: size2 }) {
|
|
19570
19578
|
backgroundColor: ((_a6 = colors[colorScheme]) == null ? void 0 : _a6[50]) ?? "lightGrey",
|
19571
19579
|
boxShadow: getBoxShadowString({
|
19572
19580
|
baseShadow,
|
19573
|
-
borderColor: ((_b5 = colors[colorScheme]) == null ? void 0 : _b5[100]) ?? colors.silver
|
19581
|
+
borderColor: ((_b5 = colors[colorScheme]) == null ? void 0 : _b5[100]) ?? colors.silver,
|
19582
|
+
isInset: false
|
19574
19583
|
})
|
19575
19584
|
};
|
19576
19585
|
}
|
@@ -19600,7 +19609,8 @@ var init_card2 = __esm({
|
|
19600
19609
|
focus: {
|
19601
19610
|
boxShadow: getBoxShadowString({
|
19602
19611
|
borderColor: "greenHaze",
|
19603
|
-
borderWidth: 2
|
19612
|
+
borderWidth: 2,
|
19613
|
+
isInset: false
|
19604
19614
|
}),
|
19605
19615
|
outline: "none",
|
19606
19616
|
_active: getColorSchemeActiveProps(props)
|
@@ -19613,7 +19623,8 @@ var init_card2 = __esm({
|
|
19613
19623
|
_disabled: {
|
19614
19624
|
backgroundColor: "platinum",
|
19615
19625
|
boxShadow: getBoxShadowString({
|
19616
|
-
borderColor: "silver"
|
19626
|
+
borderColor: "silver",
|
19627
|
+
isInset: false
|
19617
19628
|
}),
|
19618
19629
|
color: "osloGrey",
|
19619
19630
|
pointerEvents: "none"
|
package/dist/index.mjs
CHANGED
@@ -1 +1 @@
|
|
1
|
-
export { Accordion, AccordionButton, AccordionIcon, AccordionItem, AccordionPanel, AttachedInputs, Badge, Box, Button, ButtonGroup, Card, CardSelect, Center, Checkbox, CheckboxGroup, ChoiceChip, ClosableAlert, CloseButton, Code, Collapse, ColorInlineLoader, ColorSpinner, Combobox, Container, ContentLoader, DarkFullScreenLoader, DarkInlineLoader, DarkMode, DarkSpinner, DatePicker, DateRangePicker, Divider, Drawer, DrawerBody, DrawerCloseButton, DrawerContent, DrawerFooter, ModalHeader as DrawerHeader, DrawerOverlay, Expandable, ExpandableAlert, ExpandableItem, Fade, Flex, FloatingActionButton, FormControl, FormErrorMessage, FormHelperText, FormLabel, Grid, GridItem, HStack, Heading, IconButton, Image, Img, InfoSelect, InfoTag, Input, InputGroup, InputLeftElement, InputRightElement, Item, ItemDescription, ItemLabel, JumpButton, Language, LanguageProvider, LightFullScreenLoader, LightInlineLoader, LightMode, LightSpinner, LineIcon, ListBox, Modal, ModalBody, ModalCloseButton, ModalContent, ModalFooter, ModalHeader, ModalOverlay, NativeSelect, NumericStepper, PasswordInput, PhoneNumberInput, PlayPauseButton, Popover, PopoverAnchor, PopoverArrow, PopoverBody, PopoverCloseButton, PopoverContent, PopoverFooter, PopoverHeader, PopoverTrigger, PopoverWizardBody, ProgressBar, ProgressLoader, Radio, RadioGroup, ScaleFade, SearchInput, Section, SimpleDrawer, SimpleGrid, SimplePopover, Skeleton, SkeletonCircle, SkeletonText, SkipButton, Slide, SlideFade, Spacer, SporProvider, Stack, StaticAlert, Stepper, StepperStep, Switch, Tab, TabList, TabPanel, TabPanels, Table, TableCaption, Tabs, Tbody, Td, Text, TextLink, Textarea, Tfoot, Th, Thead, Time, TimePicker, Tr, TravelTag, VStack, VyLogo, WizardPopover, Wrap, WrapItem, createTexts, extendTheme, fontFaces, theme, tokens, useBreakpointValue, useClipboard, useColorMode, useColorModePreference, useColorModeValue, useControllableProp, useDisclosure, useMediaQuery, useMergeRefs, useOutsideClick, usePrefersReducedMotion, useTheme, useToast, useToken, useTranslation } from './chunk-
|
1
|
+
export { Accordion, AccordionButton, AccordionIcon, AccordionItem, AccordionPanel, AttachedInputs, Badge, Box, Button, ButtonGroup, Card, CardSelect, Center, Checkbox, CheckboxGroup, ChoiceChip, ClosableAlert, CloseButton, Code, Collapse, ColorInlineLoader, ColorSpinner, Combobox, Container, ContentLoader, DarkFullScreenLoader, DarkInlineLoader, DarkMode, DarkSpinner, DatePicker, DateRangePicker, Divider, Drawer, DrawerBody, DrawerCloseButton, DrawerContent, DrawerFooter, ModalHeader as DrawerHeader, DrawerOverlay, Expandable, ExpandableAlert, ExpandableItem, Fade, Flex, FloatingActionButton, FormControl, FormErrorMessage, FormHelperText, FormLabel, Grid, GridItem, HStack, Heading, IconButton, Image, Img, InfoSelect, InfoTag, Input, InputGroup, InputLeftElement, InputRightElement, Item, ItemDescription, ItemLabel, JumpButton, Language, LanguageProvider, LightFullScreenLoader, LightInlineLoader, LightMode, LightSpinner, LineIcon, ListBox, Modal, ModalBody, ModalCloseButton, ModalContent, ModalFooter, ModalHeader, ModalOverlay, NativeSelect, NumericStepper, PasswordInput, PhoneNumberInput, PlayPauseButton, Popover, PopoverAnchor, PopoverArrow, PopoverBody, PopoverCloseButton, PopoverContent, PopoverFooter, PopoverHeader, PopoverTrigger, PopoverWizardBody, ProgressBar, ProgressLoader, Radio, RadioGroup, ScaleFade, SearchInput, Section, SimpleDrawer, SimpleGrid, SimplePopover, Skeleton, SkeletonCircle, SkeletonText, SkipButton, Slide, SlideFade, Spacer, SporProvider, Stack, StaticAlert, Stepper, StepperStep, Switch, Tab, TabList, TabPanel, TabPanels, Table, TableCaption, Tabs, Tbody, Td, Text, TextLink, Textarea, Tfoot, Th, Thead, Time, TimePicker, Tr, TravelTag, VStack, VyLogo, WizardPopover, Wrap, WrapItem, createTexts, extendTheme, fontFaces, theme, tokens, useBreakpointValue, useClipboard, useColorMode, useColorModePreference, useColorModeValue, useControllableProp, useDisclosure, useMediaQuery, useMergeRefs, useOutsideClick, usePrefersReducedMotion, useTheme, useToast, useToken, useTranslation } from './chunk-DOHLC4LS.mjs';
|
package/package.json
CHANGED
@@ -24,6 +24,7 @@ const config = defineStyleConfig({
|
|
24
24
|
boxShadow: getBoxShadowString({
|
25
25
|
borderColor: "greenHaze",
|
26
26
|
borderWidth: 2,
|
27
|
+
isInset: false,
|
27
28
|
}),
|
28
29
|
outline: "none",
|
29
30
|
_active: getColorSchemeActiveProps(props),
|
@@ -37,6 +38,7 @@ const config = defineStyleConfig({
|
|
37
38
|
backgroundColor: "platinum",
|
38
39
|
boxShadow: getBoxShadowString({
|
39
40
|
borderColor: "silver",
|
41
|
+
isInset: false,
|
40
42
|
}),
|
41
43
|
color: "osloGrey",
|
42
44
|
pointerEvents: "none",
|
@@ -65,7 +67,7 @@ function getColorSchemeBaseProps({ colorScheme }: CardThemeProps): {
|
|
65
67
|
switch (colorScheme) {
|
66
68
|
case "white":
|
67
69
|
return {
|
68
|
-
backgroundColor: "
|
70
|
+
backgroundColor: "white",
|
69
71
|
};
|
70
72
|
case "grey":
|
71
73
|
return {
|
@@ -91,6 +93,7 @@ function getColorSchemeClickableProps({ colorScheme, size }: CardThemeProps) {
|
|
91
93
|
boxShadow: getBoxShadowString({
|
92
94
|
baseShadow,
|
93
95
|
borderColor: "silver",
|
96
|
+
isInset: false,
|
94
97
|
}),
|
95
98
|
};
|
96
99
|
case "grey":
|
@@ -98,6 +101,7 @@ function getColorSchemeClickableProps({ colorScheme, size }: CardThemeProps) {
|
|
98
101
|
boxShadow: getBoxShadowString({
|
99
102
|
baseShadow,
|
100
103
|
borderColor: "steel",
|
104
|
+
isInset: false,
|
101
105
|
}),
|
102
106
|
};
|
103
107
|
default:
|
@@ -106,6 +110,7 @@ function getColorSchemeClickableProps({ colorScheme, size }: CardThemeProps) {
|
|
106
110
|
boxShadow: getBoxShadowString({
|
107
111
|
baseShadow,
|
108
112
|
borderColor: colors[colorScheme]?.[200] ?? "silver",
|
113
|
+
isInset: false,
|
109
114
|
}),
|
110
115
|
};
|
111
116
|
}
|
@@ -119,6 +124,7 @@ function getColorSchemeHoverProps({ colorScheme, size }: CardThemeProps) {
|
|
119
124
|
boxShadow: getBoxShadowString({
|
120
125
|
baseShadow,
|
121
126
|
borderColor: colors.steel,
|
127
|
+
isInset: false,
|
122
128
|
}),
|
123
129
|
};
|
124
130
|
case "grey":
|
@@ -126,6 +132,7 @@ function getColorSchemeHoverProps({ colorScheme, size }: CardThemeProps) {
|
|
126
132
|
boxShadow: getBoxShadowString({
|
127
133
|
baseShadow,
|
128
134
|
borderColor: colors.osloGrey,
|
135
|
+
isInset: false,
|
129
136
|
}),
|
130
137
|
};
|
131
138
|
default:
|
@@ -134,6 +141,7 @@ function getColorSchemeHoverProps({ colorScheme, size }: CardThemeProps) {
|
|
134
141
|
boxShadow: getBoxShadowString({
|
135
142
|
baseShadow,
|
136
143
|
borderColor: colors[colorScheme]?.[400] ?? colors.silver,
|
144
|
+
isInset: false,
|
137
145
|
}),
|
138
146
|
};
|
139
147
|
}
|
@@ -148,6 +156,7 @@ function getColorSchemeActiveProps({ colorScheme, size }: CardThemeProps) {
|
|
148
156
|
boxShadow: getBoxShadowString({
|
149
157
|
baseShadow,
|
150
158
|
borderColor: colors.silver,
|
159
|
+
isInset: false,
|
151
160
|
}),
|
152
161
|
};
|
153
162
|
case "grey":
|
@@ -156,6 +165,7 @@ function getColorSchemeActiveProps({ colorScheme, size }: CardThemeProps) {
|
|
156
165
|
boxShadow: getBoxShadowString({
|
157
166
|
baseShadow,
|
158
167
|
borderColor: colors.steel,
|
168
|
+
isInset: false,
|
159
169
|
}),
|
160
170
|
};
|
161
171
|
default:
|
@@ -164,6 +174,7 @@ function getColorSchemeActiveProps({ colorScheme, size }: CardThemeProps) {
|
|
164
174
|
boxShadow: getBoxShadowString({
|
165
175
|
baseShadow,
|
166
176
|
borderColor: colors[colorScheme]?.[100] ?? colors.silver,
|
177
|
+
isInset: false,
|
167
178
|
}),
|
168
179
|
};
|
169
180
|
}
|