@vygruppen/spor-react 6.2.1 → 6.2.3

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@6.2.1 build
2
+ > @vygruppen/spor-react@6.2.3 build
3
3
  > tsup src/index.tsx --dts --treeshake --format cjs,esm
4
4
 
5
5
  CLI Building entry: src/index.tsx
@@ -8,15 +8,15 @@
8
8
  CLI Target: node16
9
9
  CJS Build start
10
10
  ESM Build start
11
- "Collapse" is imported from external module "@chakra-ui/react" but never used in "dist/chunk-UHSKIIAP.mjs".
11
+ "Collapse" is imported from external module "@chakra-ui/react" but never used in "dist/chunk-YFZOYRGT.mjs".
12
12
  "Collapse" is imported from external module "@chakra-ui/react" but never used in "dist/index.js".
13
13
  DTS Build start
14
14
  ESM dist/index.mjs 2.16 KB
15
- ESM dist/CountryCodeSelect-CJUALQVN.mjs 1.19 KB
16
- ESM dist/chunk-UHSKIIAP.mjs 397.75 KB
17
- ESM ⚡️ Build success in 2305ms
18
- CJS dist/index.js 507.10 KB
19
- CJS ⚡️ Build success in 2306ms
20
- DTS ⚡️ Build success in 12726ms
21
- DTS dist/index.d.ts 267.02 KB
22
- DTS dist/index.d.mts 267.02 KB
15
+ ESM dist/CountryCodeSelect-QZYP3GSD.mjs 1.19 KB
16
+ ESM dist/chunk-YFZOYRGT.mjs 397.81 KB
17
+ ESM ⚡️ Build success in 2180ms
18
+ CJS dist/index.js 507.18 KB
19
+ CJS ⚡️ Build success in 2181ms
20
+ DTS ⚡️ Build success in 12024ms
21
+ DTS dist/index.d.ts 267.08 KB
22
+ DTS dist/index.d.mts 267.08 KB
package/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # @vygruppen/spor-react
2
2
 
3
+ ## 6.2.3
4
+
5
+ ### Patch Changes
6
+
7
+ - b3b8e17: Added missing semicolon to font-faces
8
+
9
+ ## 6.2.2
10
+
11
+ ### Patch Changes
12
+
13
+ - d14a70f: Button: Fix bug with broken buttons when there were links
14
+
3
15
  ## 6.2.1
4
16
 
5
17
  ### Patch Changes
@@ -1,4 +1,4 @@
1
- import { createTexts, useTranslation, InfoSelect, Item } from './chunk-UHSKIIAP.mjs';
1
+ import { createTexts, useTranslation, InfoSelect, Item } from './chunk-YFZOYRGT.mjs';
2
2
  import React from 'react';
3
3
  import { getSupportedCallingCodes } from 'awesome-phonenumber';
4
4
 
@@ -1211,6 +1211,7 @@ var Button = forwardRef((props, ref) => {
1211
1211
  Flex,
1212
1212
  {
1213
1213
  justifyContent: "space-between",
1214
+ flex: 1,
1214
1215
  alignItems: "center",
1215
1216
  gap: 1,
1216
1217
  visibility: isLoading ? "hidden" : "visible",
@@ -3419,7 +3420,7 @@ var texts14 = createTexts({
3419
3420
  sv: "Telefonnummer"
3420
3421
  }
3421
3422
  });
3422
- var LazyCountryCodeSelect = React69__default.lazy(() => import('./CountryCodeSelect-CJUALQVN.mjs'));
3423
+ var LazyCountryCodeSelect = React69__default.lazy(() => import('./CountryCodeSelect-QZYP3GSD.mjs'));
3423
3424
  var Radio = forwardRef((props, ref) => {
3424
3425
  return /* @__PURE__ */ React69__default.createElement(Radio$1, { ...props, ref });
3425
3426
  });
@@ -10100,6 +10101,8 @@ var config6 = defineStyleConfig$1({
10100
10101
  baseStyle: {
10101
10102
  border: 0,
10102
10103
  borderRadius: "xl",
10104
+ display: "flex",
10105
+ alignItems: "center",
10103
10106
  transitionProperty: "common",
10104
10107
  transitionDuration: "normal",
10105
10108
  textWrap: "wrap",
@@ -13822,7 +13825,7 @@ var fontFaces = `
13822
13825
  font-display: swap
13823
13826
  }
13824
13827
  @font-face {
13825
- font-family: ${tokens10__default.asset.font["vy-sans"]["medium-italic"].name}
13828
+ font-family: ${tokens10__default.asset.font["vy-sans"]["medium-italic"].name};
13826
13829
  src: url("https://www.vy.no/styles/font/VySans-RegularItalic.woff2")
13827
13830
  format("woff2"),
13828
13831
  url("https://www.vy.no/styles/font/VySans-RegularItalic.woff")
package/dist/index.d.mts CHANGED
@@ -2336,6 +2336,8 @@ declare const theme: {
2336
2336
  baseStyle?: {
2337
2337
  border: number;
2338
2338
  borderRadius: string;
2339
+ display: string;
2340
+ alignItems: string;
2339
2341
  transitionProperty: string;
2340
2342
  transitionDuration: string;
2341
2343
  textWrap: string;
package/dist/index.d.ts CHANGED
@@ -2336,6 +2336,8 @@ declare const theme: {
2336
2336
  baseStyle?: {
2337
2337
  border: number;
2338
2338
  borderRadius: string;
2339
+ display: string;
2340
+ alignItems: string;
2339
2341
  transitionProperty: string;
2340
2342
  transitionDuration: string;
2341
2343
  textWrap: string;
package/dist/index.js CHANGED
@@ -711,6 +711,7 @@ var init_Button = __esm({
711
711
  react.Flex,
712
712
  {
713
713
  justifyContent: "space-between",
714
+ flex: 1,
714
715
  alignItems: "center",
715
716
  gap: 1,
716
717
  visibility: isLoading ? "hidden" : "visible",
@@ -11543,6 +11544,8 @@ var init_button2 = __esm({
11543
11544
  baseStyle: {
11544
11545
  border: 0,
11545
11546
  borderRadius: "xl",
11547
+ display: "flex",
11548
+ alignItems: "center",
11546
11549
  transitionProperty: "common",
11547
11550
  transitionDuration: "normal",
11548
11551
  textWrap: "wrap",
@@ -15599,7 +15602,7 @@ var init_font_faces = __esm({
15599
15602
  font-display: swap
15600
15603
  }
15601
15604
  @font-face {
15602
- font-family: ${tokens10__namespace.default.asset.font["vy-sans"]["medium-italic"].name}
15605
+ font-family: ${tokens10__namespace.default.asset.font["vy-sans"]["medium-italic"].name};
15603
15606
  src: url("https://www.vy.no/styles/font/VySans-RegularItalic.woff2")
15604
15607
  format("woff2"),
15605
15608
  url("https://www.vy.no/styles/font/VySans-RegularItalic.woff")
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, NumericStepper, OrderedList, PasswordInput, PhoneNumberInput, PlayPauseButton, Popover, PopoverAnchor, PopoverArrow, PopoverBody, PopoverCloseButton, PopoverContent, PopoverFooter, PopoverHeader, PopoverTrigger, PopoverWizardBody, Portal, ProgressBar, ProgressIndicator, 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, brandTheme, createTexts, defineStyleConfig, extendTheme, fontFaces, theme, tokens, useBreakpointValue, useClipboard, useColorMode, useColorModePreference, useColorModeValue, useControllableProp, useDisclosure, useMediaQuery, useMergeRefs, useOutsideClick, usePrefersReducedMotion, useSize, useTheme, useToast, useToken, useTranslation } from './chunk-UHSKIIAP.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, NumericStepper, OrderedList, PasswordInput, PhoneNumberInput, PlayPauseButton, Popover, PopoverAnchor, PopoverArrow, PopoverBody, PopoverCloseButton, PopoverContent, PopoverFooter, PopoverHeader, PopoverTrigger, PopoverWizardBody, Portal, ProgressBar, ProgressIndicator, 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, brandTheme, createTexts, defineStyleConfig, extendTheme, fontFaces, theme, tokens, useBreakpointValue, useClipboard, useColorMode, useColorModePreference, useColorModeValue, useControllableProp, useDisclosure, useMediaQuery, useMergeRefs, useOutsideClick, usePrefersReducedMotion, useSize, useTheme, useToast, useToken, useTranslation } from './chunk-YFZOYRGT.mjs';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vygruppen/spor-react",
3
- "version": "6.2.1",
3
+ "version": "6.2.3",
4
4
  "main": "./dist/index.js",
5
5
  "module": "./dist/index.mjs",
6
6
  "types": "./dist/index.d.ts",
@@ -116,6 +116,7 @@ export const Button = forwardRef<ButtonProps, "button">((props, ref) => {
116
116
  )}
117
117
  <Flex
118
118
  justifyContent="space-between"
119
+ flex={1}
119
120
  alignItems="center"
120
121
  gap={1}
121
122
  visibility={isLoading ? "hidden" : "visible"}
@@ -7,6 +7,8 @@ const config = defineStyleConfig({
7
7
  baseStyle: {
8
8
  border: 0,
9
9
  borderRadius: "xl",
10
+ display: "flex",
11
+ alignItems: "center",
10
12
  transitionProperty: "common",
11
13
  transitionDuration: "normal",
12
14
  textWrap: "wrap",
@@ -28,7 +28,7 @@ export const fontFaces = `
28
28
  font-display: swap
29
29
  }
30
30
  @font-face {
31
- font-family: ${tokens.asset.font["vy-sans"]["medium-italic"].name}
31
+ font-family: ${tokens.asset.font["vy-sans"]["medium-italic"].name};
32
32
  src: url("https://www.vy.no/styles/font/VySans-RegularItalic.woff2")
33
33
  format("woff2"),
34
34
  url("https://www.vy.no/styles/font/VySans-RegularItalic.woff")