@vygruppen/spor-react 8.1.1 → 8.2.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.
@@ -1,5 +1,5 @@
1
1
 
2
- > @vygruppen/spor-react@8.1.1 build
2
+ > @vygruppen/spor-react@8.2.0 build
3
3
  > tsup src/index.tsx --dts --treeshake --format cjs,esm
4
4
 
5
5
  CLI Building entry: src/index.tsx
@@ -10,13 +10,13 @@
10
10
  ESM Build start
11
11
  "Collapse" is imported from external module "@chakra-ui/react" but never used in "dist/index.js".
12
12
  DTS Build start
13
- "Collapse" is imported from external module "@chakra-ui/react" but never used in "dist/chunk-RKXDHLUI.mjs".
14
- CJS dist/index.js 503.36 KB
15
- CJS ⚡️ Build success in 2174ms
13
+ "Collapse" is imported from external module "@chakra-ui/react" but never used in "dist/chunk-D4IHIS3H.mjs".
14
+ CJS dist/index.js 503.28 KB
15
+ CJS ⚡️ Build success in 2095ms
16
16
  ESM dist/index.mjs 2.01 KB
17
- ESM dist/CountryCodeSelect-SJXGMMQ7.mjs 1.19 KB
18
- ESM dist/chunk-RKXDHLUI.mjs 395.62 KB
19
- ESM ⚡️ Build success in 2176ms
20
- DTS ⚡️ Build success in 10811ms
21
- DTS dist/index.d.ts 271.53 KB
22
- DTS dist/index.d.mts 271.53 KB
17
+ ESM dist/CountryCodeSelect-POM47KR5.mjs 1.19 KB
18
+ ESM dist/chunk-D4IHIS3H.mjs 395.57 KB
19
+ ESM ⚡️ Build success in 2097ms
20
+ DTS ⚡️ Build success in 10536ms
21
+ DTS dist/index.d.ts 271.35 KB
22
+ DTS dist/index.d.mts 271.35 KB
package/CHANGELOG.md CHANGED
@@ -1,6 +1,10 @@
1
1
  # @vygruppen/spor-react
2
2
 
3
- ## 8.1.1
3
+ ## 8.2.0
4
+
5
+ ### Minor Changes
6
+
7
+ - f96483c: ListBox: Fix a focus bug
4
8
 
5
9
  ### Patch Changes
6
10
 
@@ -1,4 +1,4 @@
1
- import { createTexts, useTranslation, InfoSelect, Item } from './chunk-RKXDHLUI.mjs';
1
+ import { createTexts, useTranslation, InfoSelect, Item } from './chunk-D4IHIS3H.mjs';
2
2
  import React from 'react';
3
3
  import { getSupportedCallingCodes } from 'awesome-phonenumber';
4
4
 
@@ -3433,7 +3433,7 @@ var texts14 = createTexts({
3433
3433
  sv: "Telefonnummer"
3434
3434
  }
3435
3435
  });
3436
- var LazyCountryCodeSelect = React69__default.lazy(() => import('./CountryCodeSelect-SJXGMMQ7.mjs'));
3436
+ var LazyCountryCodeSelect = React69__default.lazy(() => import('./CountryCodeSelect-POM47KR5.mjs'));
3437
3437
  var Radio = forwardRef((props, ref) => {
3438
3438
  return /* @__PURE__ */ React69__default.createElement(Radio$1, { ...props, ref });
3439
3439
  });
@@ -12449,8 +12449,7 @@ var config24 = helpers15.defineMultiStyleConfig({
12449
12449
  ...ghostBackground("hover", props)
12450
12450
  },
12451
12451
  _focus: {
12452
- ...ghostBackground("selected", props),
12453
- ...focusVisibleStyles(props)._focusVisible
12452
+ ...ghostBackground("selected", props)
12454
12453
  },
12455
12454
  _selected: {
12456
12455
  ...ghostBackground("selected", props)
package/dist/index.d.mts CHANGED
@@ -4346,10 +4346,6 @@ declare const theme: {
4346
4346
  backgroundColor: string;
4347
4347
  };
4348
4348
  _focus: {
4349
- outlineWidth: string;
4350
- outlineColor: string;
4351
- outlineStyle: string;
4352
- outlineOffset: string;
4353
4349
  backgroundColor: string;
4354
4350
  };
4355
4351
  _selected: {
package/dist/index.d.ts CHANGED
@@ -4346,10 +4346,6 @@ declare const theme: {
4346
4346
  backgroundColor: string;
4347
4347
  };
4348
4348
  _focus: {
4349
- outlineWidth: string;
4350
- outlineColor: string;
4351
- outlineStyle: string;
4352
- outlineOffset: string;
4353
4349
  backgroundColor: string;
4354
4350
  };
4355
4351
  _selected: {
package/dist/index.js CHANGED
@@ -14007,7 +14007,6 @@ var init_listbox = __esm({
14007
14007
  init_dist4();
14008
14008
  init_foundations();
14009
14009
  init_background_utils();
14010
- init_focus_util();
14011
14010
  parts10 = anatomy("ListBox").parts(
14012
14011
  "container",
14013
14012
  "item",
@@ -14046,8 +14045,7 @@ var init_listbox = __esm({
14046
14045
  ...ghostBackground("hover", props)
14047
14046
  },
14048
14047
  _focus: {
14049
- ...ghostBackground("selected", props),
14050
- ...focusVisibleStyles(props)._focusVisible
14048
+ ...ghostBackground("selected", props)
14051
14049
  },
14052
14050
  _selected: {
14053
14051
  ...ghostBackground("selected", props)
package/dist/index.mjs CHANGED
@@ -1 +1 @@
1
- export { Accordion, AccordionButton, AccordionIcon, AccordionItem, AccordionPanel, AttachedInputs, Badge, Box, Brand, Breadcrumb, BreadcrumbItem, BreadcrumbLink, Button, ButtonGroup, Card, CardSelect, Center, Checkbox, CheckboxGroup, ChoiceChip, ClosableAlert, CloseButton, Code, 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, Nudge, NumericStepper, OrderedList, PasswordInput, PhoneNumberInput, PlayPauseButton, Portal, ProgressBar, ProgressIndicator, ProgressLoader, Radio, RadioGroup, ScaleFade, SearchInput, Section, SimpleDrawer, SimpleGrid, 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, Tooltip, Tr, TravelTag, UnorderedList, VStack, VyLogo, WizardNudge, Wrap, WrapItem, brandTheme, createTexts, defineStyleConfig, extendTheme, fontFaces, slugify, theme, tokens, useBreakpointValue, useClipboard, useColorMode, useColorModePreference, useColorModeValue, useControllableProp, useDisclosure, useMediaQuery, useMergeRefs, useOutsideClick, usePrefersReducedMotion, useSize, useTheme, useToast, useToken, useTranslation } from './chunk-RKXDHLUI.mjs';
1
+ export { Accordion, AccordionButton, AccordionIcon, AccordionItem, AccordionPanel, AttachedInputs, Badge, Box, Brand, Breadcrumb, BreadcrumbItem, BreadcrumbLink, Button, ButtonGroup, Card, CardSelect, Center, Checkbox, CheckboxGroup, ChoiceChip, ClosableAlert, CloseButton, Code, 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, Nudge, NumericStepper, OrderedList, PasswordInput, PhoneNumberInput, PlayPauseButton, Portal, ProgressBar, ProgressIndicator, ProgressLoader, Radio, RadioGroup, ScaleFade, SearchInput, Section, SimpleDrawer, SimpleGrid, 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, Tooltip, Tr, TravelTag, UnorderedList, VStack, VyLogo, WizardNudge, Wrap, WrapItem, brandTheme, createTexts, defineStyleConfig, extendTheme, fontFaces, slugify, theme, tokens, useBreakpointValue, useClipboard, useColorMode, useColorModePreference, useColorModeValue, useControllableProp, useDisclosure, useMediaQuery, useMergeRefs, useOutsideClick, usePrefersReducedMotion, useSize, useTheme, useToast, useToken, useTranslation } from './chunk-D4IHIS3H.mjs';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vygruppen/spor-react",
3
- "version": "8.1.1",
3
+ "version": "8.2.0",
4
4
  "main": "./dist/index.js",
5
5
  "module": "./dist/index.mjs",
6
6
  "types": "./dist/index.d.ts",
@@ -3,7 +3,6 @@ import { createMultiStyleConfigHelpers } from "@chakra-ui/react";
3
3
  import { mode } from "@chakra-ui/theme-tools";
4
4
  import { colors } from "../foundations";
5
5
  import { ghostBackground } from "../utils/background-utils";
6
- import { focusVisibleStyles } from "../utils/focus-util";
7
6
 
8
7
  const parts = anatomy("ListBox").parts(
9
8
  "container",
@@ -46,7 +45,6 @@ const config = helpers.defineMultiStyleConfig({
46
45
  },
47
46
  _focus: {
48
47
  ...ghostBackground("selected", props),
49
- ...focusVisibleStyles(props)._focusVisible,
50
48
  },
51
49
  _selected: {
52
50
  ...ghostBackground("selected", props),