@vygruppen/spor-react 3.7.1 → 3.7.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.
@@ -1,5 +1,5 @@
1
1
 
2
- > @vygruppen/spor-react@3.7.1 build
2
+ > @vygruppen/spor-react@3.7.2 build
3
3
  > tsup src/index.tsx --dts --treeshake --format cjs,esm
4
4
 
5
5
  CLI Building entry: src/index.tsx
@@ -9,14 +9,14 @@
9
9
  CJS Build start
10
10
  ESM Build start
11
11
  DTS Build start
12
- "toZoned" and "toTime" are imported from external module "@internationalized/date" but never used in "dist/chunk-IP63HI2Y.mjs".
13
12
  "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-YVEFEGE4.mjs".
14
+ CJS dist/index.js 534.04 KB
15
+ CJS ⚡️ Build success in 4013ms
14
16
  ESM dist/index.mjs 2.09 KB
15
- ESM dist/CountryCodeSelect-3P7RFAM2.mjs 1.19 KB
16
- ESM dist/chunk-IP63HI2Y.mjs 426.15 KB
17
- ESM ⚡️ Build success in 3846ms
18
- CJS dist/index.js 533.19 KB
19
- CJS ⚡️ Build success in 3846ms
20
- DTS ⚡️ Build success in 17440ms
21
- DTS dist/index.d.ts 254.47 KB
22
- DTS dist/index.d.mts 254.47 KB
17
+ ESM dist/CountryCodeSelect-LFJGSTTV.mjs 1.19 KB
18
+ ESM dist/chunk-YVEFEGE4.mjs 426.82 KB
19
+ ESM ⚡️ Build success in 4013ms
20
+ DTS ⚡️ Build success in 18729ms
21
+ DTS dist/index.d.ts 254.99 KB
22
+ DTS dist/index.d.mts 254.99 KB
package/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # @vygruppen/spor-react
2
2
 
3
+ ## 3.7.2
4
+
5
+ ### Patch Changes
6
+
7
+ - 0e5ef35c: Adjust active color on Ghost-btn and add dark mode to Floating-btn
8
+ - bd1c6655: Added missing colors for Input in darkmode
9
+ - Updated dependencies [88d6fc75]
10
+ - @vygruppen/spor-icon-react@3.3.0
11
+
3
12
  ## 3.7.1
4
13
 
5
14
  ### Patch Changes
@@ -1,4 +1,4 @@
1
- import { createTexts, useTranslation, InfoSelect, Item } from './chunk-IP63HI2Y.mjs';
1
+ import { createTexts, useTranslation, InfoSelect, Item } from './chunk-YVEFEGE4.mjs';
2
2
  import React from 'react';
3
3
  import { getSupportedCallingCodes } from 'awesome-phonenumber';
4
4
 
@@ -5083,7 +5083,7 @@ var texts14 = createTexts({
5083
5083
  sv: "Telefonnummer"
5084
5084
  }
5085
5085
  });
5086
- var LazyCountryCodeSelect = React50__default.lazy(() => import('./CountryCodeSelect-3P7RFAM2.mjs'));
5086
+ var LazyCountryCodeSelect = React50__default.lazy(() => import('./CountryCodeSelect-LFJGSTTV.mjs'));
5087
5087
  var Radio = forwardRef((props, ref) => {
5088
5088
  return /* @__PURE__ */ React50__default.createElement(Radio$1, { ...props, ref });
5089
5089
  });
@@ -11502,7 +11502,7 @@ var config6 = defineStyleConfig$1({
11502
11502
  colors.blackAlpha[400],
11503
11503
  colors.whiteAlpha[300]
11504
11504
  )(props)}`,
11505
- backgroundColor: mode("mint", "whiteAlpha.300")(props)
11505
+ backgroundColor: mode("mint", "whiteAlpha.200")(props)
11506
11506
  }
11507
11507
  }),
11508
11508
  ghost: (props) => ({
@@ -11527,28 +11527,36 @@ var config6 = defineStyleConfig$1({
11527
11527
  }
11528
11528
  },
11529
11529
  _active: {
11530
- backgroundColor: mode("mint", "whiteAlpha.300")(props)
11530
+ backgroundColor: mode("mint", "whiteAlpha.200")(props)
11531
11531
  }
11532
11532
  }),
11533
- floating: {
11534
- backgroundColor: "white",
11535
- boxShadow: "sm",
11533
+ floating: (props) => ({
11534
+ backgroundColor: mode("white", "whiteAlpha.100")(props),
11535
+ boxShadow: getBoxShadowString({
11536
+ borderColor: mode("grey.200", "whiteAlpha.400")(props),
11537
+ baseShadow: "sm"
11538
+ }),
11536
11539
  _active: {
11537
- backgroundColor: "mint"
11540
+ backgroundColor: mode("mint", "whiteAlpha.300")(props)
11538
11541
  },
11539
11542
  _hover: {
11540
- boxShadow: "md"
11543
+ backgroundColor: mode("white", "whiteAlpha.200")(props),
11544
+ boxShadow: getBoxShadowString({
11545
+ borderColor: mode("grey.300", "white")(props),
11546
+ baseShadow: "md",
11547
+ borderWidth: 2
11548
+ })
11541
11549
  },
11542
11550
  ...focusVisible({
11543
11551
  focus: {
11544
11552
  boxShadow: getBoxShadowString({
11545
- borderColor: "greenHaze",
11553
+ borderColor: mode("greenHaze", "azure")(props),
11546
11554
  borderWidth: 2,
11547
11555
  baseShadow: "sm"
11548
11556
  }),
11549
11557
  _hover: {
11550
11558
  boxShadow: getBoxShadowString({
11551
- borderColor: "greenHaze",
11559
+ borderColor: mode("greenHaze", "azure")(props),
11552
11560
  borderWidth: 2,
11553
11561
  baseShadow: "md"
11554
11562
  })
@@ -11559,7 +11567,7 @@ var config6 = defineStyleConfig$1({
11559
11567
  boxShadow: "sm"
11560
11568
  }
11561
11569
  })
11562
- }
11570
+ })
11563
11571
  },
11564
11572
  sizes: {
11565
11573
  lg: {
@@ -12999,16 +13007,22 @@ var config21 = helpers13.defineMultiStyleConfig({
12999
13007
  boxShadow: getBoxShadowString({
13000
13008
  borderColor: mode("blackAlpha.400", "whiteAlpha.400")(props)
13001
13009
  }),
13010
+ _active: {
13011
+ backgroundColor: mode("blackAlpha.100", "whiteAlpha.100")(props),
13012
+ boxShadow: getBoxShadowString({
13013
+ borderColor: mode("blackAlpha.400", "whiteAlpha.400")(props)
13014
+ })
13015
+ },
13002
13016
  _hover: {
13003
13017
  boxShadow: getBoxShadowString({
13004
- borderColor: mode("darkGrey", "whiteAlpha.600")(props),
13018
+ borderColor: mode("darkGrey", "white")(props),
13005
13019
  borderWidth: 2
13006
13020
  })
13007
13021
  },
13008
13022
  ...focusVisible({
13009
13023
  focus: {
13010
13024
  boxShadow: getBoxShadowString({
13011
- borderColor: "greenHaze",
13025
+ borderColor: mode("greenHaze", "azure")(props),
13012
13026
  borderWidth: 2
13013
13027
  })
13014
13028
  },
@@ -13035,7 +13049,7 @@ var config21 = helpers13.defineMultiStyleConfig({
13035
13049
  ...focusVisible({
13036
13050
  focus: {
13037
13051
  boxShadow: getBoxShadowString({
13038
- borderColor: "greenHaze",
13052
+ borderColor: mode("greenHaze", "azure")(props),
13039
13053
  borderWidth: 2
13040
13054
  })
13041
13055
  },
package/dist/index.d.mts CHANGED
@@ -2353,7 +2353,7 @@ declare const theme: {
2353
2353
  color: string;
2354
2354
  fontWeight: string;
2355
2355
  };
2356
- floating: {
2356
+ floating: (props: _chakra_ui_styled_system.StyleFunctionProps) => {
2357
2357
  _focus: _chakra_ui_styled_system.SystemStyleObject;
2358
2358
  _focusVisible: _chakra_ui_styled_system.SystemStyleObject;
2359
2359
  "&[data-focus]:not([data-focus-visible])": _chakra_ui_styled_system.SystemStyleObject;
@@ -2363,6 +2363,7 @@ declare const theme: {
2363
2363
  backgroundColor: string;
2364
2364
  };
2365
2365
  _hover: {
2366
+ backgroundColor: string;
2366
2367
  boxShadow: string;
2367
2368
  };
2368
2369
  };
@@ -3565,6 +3566,10 @@ declare const theme: {
3565
3566
  height: string;
3566
3567
  fontSize: string;
3567
3568
  boxShadow: string;
3569
+ _active: {
3570
+ backgroundColor: string;
3571
+ boxShadow: string;
3572
+ };
3568
3573
  _hover: {
3569
3574
  boxShadow: string;
3570
3575
  };
@@ -4229,6 +4234,10 @@ declare const theme: {
4229
4234
  height: string;
4230
4235
  fontSize: string;
4231
4236
  boxShadow: string;
4237
+ _active: {
4238
+ backgroundColor: string;
4239
+ boxShadow: string;
4240
+ };
4232
4241
  _hover: {
4233
4242
  boxShadow: string;
4234
4243
  };
@@ -5012,6 +5021,10 @@ declare const theme: {
5012
5021
  height: string;
5013
5022
  fontSize: string;
5014
5023
  boxShadow: string;
5024
+ _active: {
5025
+ backgroundColor: string;
5026
+ boxShadow: string;
5027
+ };
5015
5028
  _hover: {
5016
5029
  boxShadow: string;
5017
5030
  };
package/dist/index.d.ts CHANGED
@@ -2353,7 +2353,7 @@ declare const theme: {
2353
2353
  color: string;
2354
2354
  fontWeight: string;
2355
2355
  };
2356
- floating: {
2356
+ floating: (props: _chakra_ui_styled_system.StyleFunctionProps) => {
2357
2357
  _focus: _chakra_ui_styled_system.SystemStyleObject;
2358
2358
  _focusVisible: _chakra_ui_styled_system.SystemStyleObject;
2359
2359
  "&[data-focus]:not([data-focus-visible])": _chakra_ui_styled_system.SystemStyleObject;
@@ -2363,6 +2363,7 @@ declare const theme: {
2363
2363
  backgroundColor: string;
2364
2364
  };
2365
2365
  _hover: {
2366
+ backgroundColor: string;
2366
2367
  boxShadow: string;
2367
2368
  };
2368
2369
  };
@@ -3565,6 +3566,10 @@ declare const theme: {
3565
3566
  height: string;
3566
3567
  fontSize: string;
3567
3568
  boxShadow: string;
3569
+ _active: {
3570
+ backgroundColor: string;
3571
+ boxShadow: string;
3572
+ };
3568
3573
  _hover: {
3569
3574
  boxShadow: string;
3570
3575
  };
@@ -4229,6 +4234,10 @@ declare const theme: {
4229
4234
  height: string;
4230
4235
  fontSize: string;
4231
4236
  boxShadow: string;
4237
+ _active: {
4238
+ backgroundColor: string;
4239
+ boxShadow: string;
4240
+ };
4232
4241
  _hover: {
4233
4242
  boxShadow: string;
4234
4243
  };
@@ -5012,6 +5021,10 @@ declare const theme: {
5012
5021
  height: string;
5013
5022
  fontSize: string;
5014
5023
  boxShadow: string;
5024
+ _active: {
5025
+ backgroundColor: string;
5026
+ boxShadow: string;
5027
+ };
5015
5028
  _hover: {
5016
5029
  boxShadow: string;
5017
5030
  };
package/dist/index.js CHANGED
@@ -13017,7 +13017,7 @@ var init_button2 = __esm({
13017
13017
  colors.blackAlpha[400],
13018
13018
  colors.whiteAlpha[300]
13019
13019
  )(props)}`,
13020
- backgroundColor: themeTools.mode("mint", "whiteAlpha.300")(props)
13020
+ backgroundColor: themeTools.mode("mint", "whiteAlpha.200")(props)
13021
13021
  }
13022
13022
  }),
13023
13023
  ghost: (props) => ({
@@ -13042,28 +13042,36 @@ var init_button2 = __esm({
13042
13042
  }
13043
13043
  },
13044
13044
  _active: {
13045
- backgroundColor: themeTools.mode("mint", "whiteAlpha.300")(props)
13045
+ backgroundColor: themeTools.mode("mint", "whiteAlpha.200")(props)
13046
13046
  }
13047
13047
  }),
13048
- floating: {
13049
- backgroundColor: "white",
13050
- boxShadow: "sm",
13048
+ floating: (props) => ({
13049
+ backgroundColor: themeTools.mode("white", "whiteAlpha.100")(props),
13050
+ boxShadow: getBoxShadowString({
13051
+ borderColor: themeTools.mode("grey.200", "whiteAlpha.400")(props),
13052
+ baseShadow: "sm"
13053
+ }),
13051
13054
  _active: {
13052
- backgroundColor: "mint"
13055
+ backgroundColor: themeTools.mode("mint", "whiteAlpha.300")(props)
13053
13056
  },
13054
13057
  _hover: {
13055
- boxShadow: "md"
13058
+ backgroundColor: themeTools.mode("white", "whiteAlpha.200")(props),
13059
+ boxShadow: getBoxShadowString({
13060
+ borderColor: themeTools.mode("grey.300", "white")(props),
13061
+ baseShadow: "md",
13062
+ borderWidth: 2
13063
+ })
13056
13064
  },
13057
13065
  ...focusVisible({
13058
13066
  focus: {
13059
13067
  boxShadow: getBoxShadowString({
13060
- borderColor: "greenHaze",
13068
+ borderColor: themeTools.mode("greenHaze", "azure")(props),
13061
13069
  borderWidth: 2,
13062
13070
  baseShadow: "sm"
13063
13071
  }),
13064
13072
  _hover: {
13065
13073
  boxShadow: getBoxShadowString({
13066
- borderColor: "greenHaze",
13074
+ borderColor: themeTools.mode("greenHaze", "azure")(props),
13067
13075
  borderWidth: 2,
13068
13076
  baseShadow: "md"
13069
13077
  })
@@ -13074,7 +13082,7 @@ var init_button2 = __esm({
13074
13082
  boxShadow: "sm"
13075
13083
  }
13076
13084
  })
13077
- }
13085
+ })
13078
13086
  },
13079
13087
  sizes: {
13080
13088
  lg: {
@@ -14625,16 +14633,22 @@ var init_input2 = __esm({
14625
14633
  boxShadow: getBoxShadowString({
14626
14634
  borderColor: themeTools.mode("blackAlpha.400", "whiteAlpha.400")(props)
14627
14635
  }),
14636
+ _active: {
14637
+ backgroundColor: themeTools.mode("blackAlpha.100", "whiteAlpha.100")(props),
14638
+ boxShadow: getBoxShadowString({
14639
+ borderColor: themeTools.mode("blackAlpha.400", "whiteAlpha.400")(props)
14640
+ })
14641
+ },
14628
14642
  _hover: {
14629
14643
  boxShadow: getBoxShadowString({
14630
- borderColor: themeTools.mode("darkGrey", "whiteAlpha.600")(props),
14644
+ borderColor: themeTools.mode("darkGrey", "white")(props),
14631
14645
  borderWidth: 2
14632
14646
  })
14633
14647
  },
14634
14648
  ...focusVisible({
14635
14649
  focus: {
14636
14650
  boxShadow: getBoxShadowString({
14637
- borderColor: "greenHaze",
14651
+ borderColor: themeTools.mode("greenHaze", "azure")(props),
14638
14652
  borderWidth: 2
14639
14653
  })
14640
14654
  },
@@ -14661,7 +14675,7 @@ var init_input2 = __esm({
14661
14675
  ...focusVisible({
14662
14676
  focus: {
14663
14677
  boxShadow: getBoxShadowString({
14664
- borderColor: "greenHaze",
14678
+ borderColor: themeTools.mode("greenHaze", "azure")(props),
14665
14679
  borderWidth: 2
14666
14680
  })
14667
14681
  },
package/dist/index.mjs CHANGED
@@ -1 +1 @@
1
- export { Accordion, AccordionButton, AccordionIcon, AccordionItem, AccordionPanel, AttachedInputs, Badge, Box, Breadcrumb, BreadcrumbItem, BreadcrumbLink, 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, ListItem, Modal, ModalBody, ModalCloseButton, ModalContent, ModalFooter, ModalHeader, ModalOverlay, NativeSelect, NumericStepper, OrderedList, 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, UnorderedList, 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-IP63HI2Y.mjs';
1
+ export { Accordion, AccordionButton, AccordionIcon, AccordionItem, AccordionPanel, AttachedInputs, Badge, Box, Breadcrumb, BreadcrumbItem, BreadcrumbLink, 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, ListItem, Modal, ModalBody, ModalCloseButton, ModalContent, ModalFooter, ModalHeader, ModalOverlay, NativeSelect, NumericStepper, OrderedList, 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, UnorderedList, 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-YVEFEGE4.mjs';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vygruppen/spor-react",
3
- "version": "3.7.1",
3
+ "version": "3.7.2",
4
4
  "main": "./dist/index.js",
5
5
  "module": "./dist/index.mjs",
6
6
  "types": "./dist/index.d.ts",
@@ -126,7 +126,7 @@ const config = defineStyleConfig({
126
126
  colors.blackAlpha[400],
127
127
  colors.whiteAlpha[300]
128
128
  )(props)}`,
129
- backgroundColor: mode("mint", "whiteAlpha.300")(props),
129
+ backgroundColor: mode("mint", "whiteAlpha.200")(props),
130
130
  },
131
131
  }),
132
132
  ghost: (props) => ({
@@ -151,30 +151,38 @@ const config = defineStyleConfig({
151
151
  },
152
152
  },
153
153
  _active: {
154
- backgroundColor: mode("mint", "whiteAlpha.300")(props),
154
+ backgroundColor: mode("mint", "whiteAlpha.200")(props),
155
155
  },
156
156
  }),
157
- floating: {
158
- backgroundColor: "white",
159
- boxShadow: "sm",
157
+ floating: (props) => ({
158
+ backgroundColor: mode("white", "whiteAlpha.100")(props),
159
+ boxShadow: getBoxShadowString({
160
+ borderColor: mode("grey.200", "whiteAlpha.400")(props),
161
+ baseShadow: "sm",
162
+ }),
160
163
  _active: {
161
- backgroundColor: "mint",
164
+ backgroundColor: mode("mint", "whiteAlpha.300")(props),
162
165
  },
163
166
  _hover: {
164
- boxShadow: "md",
167
+ backgroundColor: mode("white", "whiteAlpha.200")(props),
168
+ boxShadow: getBoxShadowString({
169
+ borderColor: mode("grey.300", "white")(props),
170
+ baseShadow: "md",
171
+ borderWidth: 2,
172
+ }),
165
173
  },
166
174
  ...focusVisible({
167
175
  focus: {
168
176
  boxShadow: getBoxShadowString({
169
- borderColor: "greenHaze",
177
+ borderColor: mode("greenHaze", "azure")(props),
170
178
  borderWidth: 2,
171
179
  baseShadow: "sm",
172
180
  }),
173
181
  _hover: {
174
182
  boxShadow: getBoxShadowString({
175
- borderColor: "greenHaze",
183
+ borderColor: mode("greenHaze", "azure")(props),
176
184
  borderWidth: 2,
177
- baseShadow: "md",
185
+ baseShadow: "md"
178
186
  }),
179
187
  },
180
188
  },
@@ -183,7 +191,7 @@ const config = defineStyleConfig({
183
191
  boxShadow: "sm",
184
192
  },
185
193
  }),
186
- },
194
+ }),
187
195
  },
188
196
  sizes: {
189
197
  lg: {
@@ -25,16 +25,22 @@ const config = helpers.defineMultiStyleConfig({
25
25
  boxShadow: getBoxShadowString({
26
26
  borderColor: mode("blackAlpha.400", "whiteAlpha.400")(props),
27
27
  }),
28
+ _active: {
29
+ backgroundColor: mode("blackAlpha.100", "whiteAlpha.100")(props),
30
+ boxShadow: getBoxShadowString({
31
+ borderColor: mode("blackAlpha.400", "whiteAlpha.400")(props),
32
+ }),
33
+ },
28
34
  _hover: {
29
35
  boxShadow: getBoxShadowString({
30
- borderColor: mode("darkGrey", "whiteAlpha.600")(props),
36
+ borderColor: mode("darkGrey", "white")(props),
31
37
  borderWidth: 2,
32
38
  }),
33
39
  },
34
40
  ...focusVisible({
35
41
  focus: {
36
42
  boxShadow: getBoxShadowString({
37
- borderColor: "greenHaze",
43
+ borderColor: mode("greenHaze", "azure")(props),
38
44
  borderWidth: 2,
39
45
  }),
40
46
  },
@@ -61,7 +67,7 @@ const config = helpers.defineMultiStyleConfig({
61
67
  ...focusVisible({
62
68
  focus: {
63
69
  boxShadow: getBoxShadowString({
64
- borderColor: "greenHaze",
70
+ borderColor: mode("greenHaze", "azure")(props),
65
71
  borderWidth: 2,
66
72
  }),
67
73
  },