@vygruppen/spor-react 3.7.5 → 3.7.6

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.5 build
2
+ > @vygruppen/spor-react@3.7.6 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
  DTS Build start
12
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-GIAB4PHV.mjs".
14
- CJS dist/index.js 539.16 KB
15
- CJS ⚡️ Build success in 3758ms
13
+ "toZoned" and "toTime" are imported from external module "@internationalized/date" but never used in "dist/chunk-LQEO65MM.mjs".
14
+ CJS dist/index.js 539.15 KB
15
+ CJS ⚡️ Build success in 4394ms
16
16
  ESM dist/index.mjs 2.09 KB
17
- ESM dist/CountryCodeSelect-SNFTRR3O.mjs 1.19 KB
18
- ESM dist/chunk-GIAB4PHV.mjs 430.78 KB
19
- ESM ⚡️ Build success in 3759ms
20
- DTS ⚡️ Build success in 18414ms
21
- DTS dist/index.d.ts 256.32 KB
22
- DTS dist/index.d.mts 256.32 KB
17
+ ESM dist/CountryCodeSelect-IV4VKD4A.mjs 1.19 KB
18
+ ESM dist/chunk-LQEO65MM.mjs 430.76 KB
19
+ ESM ⚡️ Build success in 4394ms
20
+ DTS ⚡️ Build success in 19752ms
21
+ DTS dist/index.d.ts 256.31 KB
22
+ DTS dist/index.d.mts 256.31 KB
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @vygruppen/spor-react
2
2
 
3
+ ## 3.7.6
4
+
5
+ ### Patch Changes
6
+
7
+ - 9e78f2f0: BreadcrumbLink: Fix a bug where the current page got a different amount of padding than other breadcrumbs
8
+
3
9
  ## 3.7.5
4
10
 
5
11
  ### Patch Changes
@@ -1,4 +1,4 @@
1
- import { createTexts, useTranslation, InfoSelect, Item } from './chunk-GIAB4PHV.mjs';
1
+ import { createTexts, useTranslation, InfoSelect, Item } from './chunk-LQEO65MM.mjs';
2
2
  import React from 'react';
3
3
  import { getSupportedCallingCodes } from 'awesome-phonenumber';
4
4
 
@@ -5090,7 +5090,7 @@ var texts14 = createTexts({
5090
5090
  sv: "Telefonnummer"
5091
5091
  }
5092
5092
  });
5093
- var LazyCountryCodeSelect = React50__default.lazy(() => import('./CountryCodeSelect-SNFTRR3O.mjs'));
5093
+ var LazyCountryCodeSelect = React50__default.lazy(() => import('./CountryCodeSelect-IV4VKD4A.mjs'));
5094
5094
  var Radio = forwardRef((props, ref) => {
5095
5095
  return /* @__PURE__ */ React50__default.createElement(Radio$1, { ...props, ref });
5096
5096
  });
@@ -11373,10 +11373,10 @@ var baseStyleLink2 = defineStyle((props) => ({
11373
11373
  color: "inherit",
11374
11374
  textDecoration: "none",
11375
11375
  textStyle: "xs",
11376
+ paddingX: 0.5,
11377
+ borderRadius: "xs",
11376
11378
  "&:not([aria-current=page])": {
11377
11379
  cursor: "pointer",
11378
- paddingX: 0.5,
11379
- borderRadius: "xs",
11380
11380
  _hover: {
11381
11381
  backgroundColor: mode("seaMist", "pine")(props)
11382
11382
  },
@@ -11388,7 +11388,7 @@ var baseStyleLink2 = defineStyle((props) => ({
11388
11388
  })
11389
11389
  },
11390
11390
  notFocus: {
11391
- notFocus: { boxShadow: "none" }
11391
+ boxShadow: "none"
11392
11392
  }
11393
11393
  }),
11394
11394
  _active: {
package/dist/index.d.mts CHANGED
@@ -2193,6 +2193,8 @@ declare const theme: {
2193
2193
  color: string;
2194
2194
  textDecoration: string;
2195
2195
  textStyle: string;
2196
+ paddingX: number;
2197
+ borderRadius: string;
2196
2198
  "&:not([aria-current=page])": {
2197
2199
  _active: {
2198
2200
  backgroundColor: string;
@@ -2201,8 +2203,6 @@ declare const theme: {
2201
2203
  _focusVisible: _chakra_ui_styled_system.SystemStyleObject;
2202
2204
  "&[data-focus]:not([data-focus-visible])": _chakra_ui_styled_system.SystemStyleObject;
2203
2205
  cursor: string;
2204
- paddingX: number;
2205
- borderRadius: string;
2206
2206
  _hover: {
2207
2207
  backgroundColor: string;
2208
2208
  };
package/dist/index.d.ts CHANGED
@@ -2193,6 +2193,8 @@ declare const theme: {
2193
2193
  color: string;
2194
2194
  textDecoration: string;
2195
2195
  textStyle: string;
2196
+ paddingX: number;
2197
+ borderRadius: string;
2196
2198
  "&:not([aria-current=page])": {
2197
2199
  _active: {
2198
2200
  backgroundColor: string;
@@ -2201,8 +2203,6 @@ declare const theme: {
2201
2203
  _focusVisible: _chakra_ui_styled_system.SystemStyleObject;
2202
2204
  "&[data-focus]:not([data-focus-visible])": _chakra_ui_styled_system.SystemStyleObject;
2203
2205
  cursor: string;
2204
- paddingX: number;
2205
- borderRadius: string;
2206
2206
  _hover: {
2207
2207
  backgroundColor: string;
2208
2208
  };
package/dist/index.js CHANGED
@@ -12880,10 +12880,10 @@ var init_breadcrumb2 = __esm({
12880
12880
  color: "inherit",
12881
12881
  textDecoration: "none",
12882
12882
  textStyle: "xs",
12883
+ paddingX: 0.5,
12884
+ borderRadius: "xs",
12883
12885
  "&:not([aria-current=page])": {
12884
12886
  cursor: "pointer",
12885
- paddingX: 0.5,
12886
- borderRadius: "xs",
12887
12887
  _hover: {
12888
12888
  backgroundColor: themeTools.mode("seaMist", "pine")(props)
12889
12889
  },
@@ -12895,7 +12895,7 @@ var init_breadcrumb2 = __esm({
12895
12895
  })
12896
12896
  },
12897
12897
  notFocus: {
12898
- notFocus: { boxShadow: "none" }
12898
+ boxShadow: "none"
12899
12899
  }
12900
12900
  }),
12901
12901
  _active: {
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-GIAB4PHV.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-LQEO65MM.mjs';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vygruppen/spor-react",
3
- "version": "3.7.5",
3
+ "version": "3.7.6",
4
4
  "main": "./dist/index.js",
5
5
  "module": "./dist/index.mjs",
6
6
  "types": "./dist/index.d.ts",
@@ -1,7 +1,10 @@
1
1
  import { breadcrumbAnatomy as parts } from "@chakra-ui/anatomy";
2
- import { createMultiStyleConfigHelpers, defineStyle } from "@chakra-ui/styled-system";
3
- import { getBoxShadowString } from "../utils/box-shadow-utils";
2
+ import {
3
+ createMultiStyleConfigHelpers,
4
+ defineStyle,
5
+ } from "@chakra-ui/styled-system";
4
6
  import { mode } from "@chakra-ui/theme-tools";
7
+ import { getBoxShadowString } from "../utils/box-shadow-utils";
5
8
  import { focusVisible } from "../utils/focus-utils";
6
9
 
7
10
  const { defineMultiStyleConfig, definePartsStyle } =
@@ -15,10 +18,10 @@ const baseStyleLink = defineStyle((props) => ({
15
18
  color: "inherit",
16
19
  textDecoration: "none",
17
20
  textStyle: "xs",
21
+ paddingX: 0.5,
22
+ borderRadius: "xs",
18
23
  "&:not([aria-current=page])": {
19
24
  cursor: "pointer",
20
- paddingX: 0.5,
21
- borderRadius: "xs",
22
25
  _hover: {
23
26
  backgroundColor: mode("seaMist", "pine")(props),
24
27
  },
@@ -30,8 +33,8 @@ const baseStyleLink = defineStyle((props) => ({
30
33
  }),
31
34
  },
32
35
  notFocus: {
33
- notFocus: { boxShadow: "none" },
34
- }
36
+ boxShadow: "none",
37
+ },
35
38
  }),
36
39
  _active: {
37
40
  backgroundColor: mode("mint", "whiteAlpha.200")(props),