@vygruppen/spor-react 3.4.0 → 3.4.1

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.4.0 build
2
+ > @vygruppen/spor-react@3.4.1 build
3
3
  > tsup src/index.tsx --dts --treeshake --format cjs,esm
4
4
 
5
5
  CLI Building entry: src/index.tsx
@@ -10,12 +10,12 @@
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-A7MCH3JW.mjs".
14
- CJS dist/index.js 903.25 KB
15
- CJS ⚡️ Build success in 6022ms
13
+ "toZoned" and "toTime" are imported from external module "@internationalized/date" but never used in "dist/chunk-GIXEJPV7.mjs".
14
+ CJS dist/index.js 903.40 KB
15
+ CJS ⚡️ Build success in 4807ms
16
16
  ESM dist/index.mjs 2.01 KB
17
- ESM dist/CountryCodeSelect-J3XCI72L.mjs 350.82 KB
18
- ESM dist/chunk-A7MCH3JW.mjs 420.45 KB
19
- ESM ⚡️ Build success in 6024ms
20
- DTS ⚡️ Build success in 22767ms
21
- DTS dist/index.d.ts 252.35 KB
17
+ ESM dist/CountryCodeSelect-I6MGYQTH.mjs 350.82 KB
18
+ ESM dist/chunk-GIXEJPV7.mjs 420.57 KB
19
+ ESM ⚡️ Build success in 4808ms
20
+ DTS ⚡️ Build success in 18338ms
21
+ DTS dist/index.d.ts 252.53 KB
package/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # @vygruppen/spor-react
2
2
 
3
+ ## 3.4.1
4
+
5
+ ### Patch Changes
6
+
7
+ - 83976e0a: Card: Fix a bug with clickable cards that had to have the display property set to not break
8
+ - 4787d9e9: Hotfix breakpoints
9
+
3
10
  ## 3.4.0
4
11
 
5
12
  ### Minor Changes
@@ -1,4 +1,4 @@
1
- import { createTexts, useTranslation, InfoSelect, Item } from './chunk-A7MCH3JW.mjs';
1
+ import { createTexts, useTranslation, InfoSelect, Item } from './chunk-GIXEJPV7.mjs';
2
2
  import React from 'react';
3
3
 
4
4
  // ../../node_modules/awesome-phonenumber/index-esm.mjs
@@ -5084,7 +5084,7 @@ var texts14 = createTexts({
5084
5084
  sv: "Telefonnummer"
5085
5085
  }
5086
5086
  });
5087
- var LazyCountryCodeSelect = React49__default.lazy(() => import('./CountryCodeSelect-J3XCI72L.mjs'));
5087
+ var LazyCountryCodeSelect = React49__default.lazy(() => import('./CountryCodeSelect-I6MGYQTH.mjs'));
5088
5088
  var Radio = forwardRef((props, ref) => {
5089
5089
  return /* @__PURE__ */ React49__default.createElement(Radio$1, { ...props, ref });
5090
5090
  });
@@ -10768,6 +10768,7 @@ var borders2 = {
10768
10768
  "lg-dashed": `${tokens10__default.size.stroke.lg} dashed`
10769
10769
  };
10770
10770
  var breakpoints2 = {
10771
+ base: "0px",
10771
10772
  sm: tokens10__default.size.breakpoint.sm,
10772
10773
  md: tokens10__default.size.breakpoint.md,
10773
10774
  lg: tokens10__default.size.breakpoint.lg,
@@ -10876,6 +10877,7 @@ var textStyles = {
10876
10877
  "2xl": {
10877
10878
  fontSize: [
10878
10879
  tokens10__default.font.style.xxl["font-size"].mobile,
10880
+ null,
10879
10881
  tokens10__default.font.style.xxl["font-size"].desktop
10880
10882
  ],
10881
10883
  fontFamily: tokens10__default.font.style.xxl["font-family"],
@@ -10884,6 +10886,7 @@ var textStyles = {
10884
10886
  "xl-display": {
10885
10887
  fontSize: [
10886
10888
  tokens10__default.font.style["xl-display"]["font-size"].mobile,
10889
+ null,
10887
10890
  tokens10__default.font.style["xl-display"]["font-size"].desktop
10888
10891
  ],
10889
10892
  fontFamily: tokens10__default.font.style["xl-display"]["font-family"],
@@ -10892,6 +10895,7 @@ var textStyles = {
10892
10895
  "xl-sans": {
10893
10896
  fontSize: [
10894
10897
  tokens10__default.font.style["xl-sans"]["font-size"].mobile,
10898
+ null,
10895
10899
  tokens10__default.font.style["xl-sans"]["font-size"].desktop
10896
10900
  ],
10897
10901
  fontFamily: tokens10__default.font.style["xl-sans"]["font-family"],
@@ -10900,6 +10904,7 @@ var textStyles = {
10900
10904
  lg: {
10901
10905
  fontSize: [
10902
10906
  tokens10__default.font.style.lg["font-size"].mobile,
10907
+ null,
10903
10908
  tokens10__default.font.style.lg["font-size"].desktop
10904
10909
  ],
10905
10910
  fontFamily: tokens10__default.font.style.lg["font-family"],
@@ -10908,6 +10913,7 @@ var textStyles = {
10908
10913
  md: {
10909
10914
  fontSize: [
10910
10915
  tokens10__default.font.style.md["font-size"].mobile,
10916
+ null,
10911
10917
  tokens10__default.font.style.md["font-size"].desktop
10912
10918
  ],
10913
10919
  fontFamily: tokens10__default.font.style.md["font-family"],
@@ -10916,6 +10922,7 @@ var textStyles = {
10916
10922
  sm: {
10917
10923
  fontSize: [
10918
10924
  tokens10__default.font.style.sm["font-size"].mobile,
10925
+ null,
10919
10926
  tokens10__default.font.style.sm["font-size"].desktop
10920
10927
  ],
10921
10928
  fontFamily: tokens10__default.font.style.sm["font-family"],
@@ -10924,6 +10931,7 @@ var textStyles = {
10924
10931
  xs: {
10925
10932
  fontSize: [
10926
10933
  tokens10__default.font.style.xs["font-size"].mobile,
10934
+ null,
10927
10935
  tokens10__default.font.style.xs["font-size"].desktop
10928
10936
  ],
10929
10937
  fontFamily: tokens10__default.font.style.xs["font-family"],
@@ -11447,6 +11455,7 @@ var config7 = defineStyleConfig$1({
11447
11455
  border: "none",
11448
11456
  overflow: "hidden",
11449
11457
  fontSize: "inherit",
11458
+ display: "block",
11450
11459
  transitionProperty: "common",
11451
11460
  transitionDuration: "fast",
11452
11461
  borderRadius: "md",
package/dist/index.d.ts CHANGED
@@ -1891,37 +1891,37 @@ type ColorsType = typeof tokens__default.color.alias & typeof tokens__default.co
1891
1891
 
1892
1892
  declare const textStyles: {
1893
1893
  "2xl": {
1894
- fontSize: string[];
1894
+ fontSize: (string | null)[];
1895
1895
  fontFamily: string;
1896
1896
  lineHeight: string;
1897
1897
  };
1898
1898
  "xl-display": {
1899
- fontSize: string[];
1899
+ fontSize: (string | null)[];
1900
1900
  fontFamily: string;
1901
1901
  lineHeight: string;
1902
1902
  };
1903
1903
  "xl-sans": {
1904
- fontSize: string[];
1904
+ fontSize: (string | null)[];
1905
1905
  fontFamily: string;
1906
1906
  lineHeight: string;
1907
1907
  };
1908
1908
  lg: {
1909
- fontSize: string[];
1909
+ fontSize: (string | null)[];
1910
1910
  fontFamily: string;
1911
1911
  lineHeight: string;
1912
1912
  };
1913
1913
  md: {
1914
- fontSize: string[];
1914
+ fontSize: (string | null)[];
1915
1915
  fontFamily: string;
1916
1916
  lineHeight: string;
1917
1917
  };
1918
1918
  sm: {
1919
- fontSize: string[];
1919
+ fontSize: (string | null)[];
1920
1920
  fontFamily: string;
1921
1921
  lineHeight: string;
1922
1922
  };
1923
1923
  xs: {
1924
- fontSize: string[];
1924
+ fontSize: (string | null)[];
1925
1925
  fontFamily: string;
1926
1926
  lineHeight: string;
1927
1927
  };
@@ -2352,6 +2352,7 @@ declare const theme: {
2352
2352
  border: string;
2353
2353
  overflow: string;
2354
2354
  fontSize: string;
2355
+ display: string;
2355
2356
  transitionProperty: string;
2356
2357
  transitionDuration: string;
2357
2358
  borderRadius: string;
@@ -6538,6 +6539,7 @@ declare const theme: {
6538
6539
  "lg-dashed": string;
6539
6540
  };
6540
6541
  breakpoints: {
6542
+ base: string;
6541
6543
  sm: string;
6542
6544
  md: string;
6543
6545
  lg: string;
@@ -6801,37 +6803,37 @@ declare const theme: {
6801
6803
  }, string>;
6802
6804
  textStyles: {
6803
6805
  "2xl": {
6804
- fontSize: string[];
6806
+ fontSize: (string | null)[];
6805
6807
  fontFamily: string;
6806
6808
  lineHeight: string;
6807
6809
  };
6808
6810
  "xl-display": {
6809
- fontSize: string[];
6811
+ fontSize: (string | null)[];
6810
6812
  fontFamily: string;
6811
6813
  lineHeight: string;
6812
6814
  };
6813
6815
  "xl-sans": {
6814
- fontSize: string[];
6816
+ fontSize: (string | null)[];
6815
6817
  fontFamily: string;
6816
6818
  lineHeight: string;
6817
6819
  };
6818
6820
  lg: {
6819
- fontSize: string[];
6821
+ fontSize: (string | null)[];
6820
6822
  fontFamily: string;
6821
6823
  lineHeight: string;
6822
6824
  };
6823
6825
  md: {
6824
- fontSize: string[];
6826
+ fontSize: (string | null)[];
6825
6827
  fontFamily: string;
6826
6828
  lineHeight: string;
6827
6829
  };
6828
6830
  sm: {
6829
- fontSize: string[];
6831
+ fontSize: (string | null)[];
6830
6832
  fontFamily: string;
6831
6833
  lineHeight: string;
6832
6834
  };
6833
6835
  xs: {
6834
- fontSize: string[];
6836
+ fontSize: (string | null)[];
6835
6837
  fontFamily: string;
6836
6838
  lineHeight: string;
6837
6839
  };
package/dist/index.js CHANGED
@@ -18665,6 +18665,7 @@ var breakpoints2;
18665
18665
  var init_breakpoints = __esm({
18666
18666
  "src/theme/foundations/breakpoints.ts"() {
18667
18667
  breakpoints2 = {
18668
+ base: "0px",
18668
18669
  sm: tokens10__namespace.default.size.breakpoint.sm,
18669
18670
  md: tokens10__namespace.default.size.breakpoint.md,
18670
18671
  lg: tokens10__namespace.default.size.breakpoint.lg,
@@ -18819,6 +18820,7 @@ var init_textStyles = __esm({
18819
18820
  "2xl": {
18820
18821
  fontSize: [
18821
18822
  tokens10__namespace.default.font.style.xxl["font-size"].mobile,
18823
+ null,
18822
18824
  tokens10__namespace.default.font.style.xxl["font-size"].desktop
18823
18825
  ],
18824
18826
  fontFamily: tokens10__namespace.default.font.style.xxl["font-family"],
@@ -18827,6 +18829,7 @@ var init_textStyles = __esm({
18827
18829
  "xl-display": {
18828
18830
  fontSize: [
18829
18831
  tokens10__namespace.default.font.style["xl-display"]["font-size"].mobile,
18832
+ null,
18830
18833
  tokens10__namespace.default.font.style["xl-display"]["font-size"].desktop
18831
18834
  ],
18832
18835
  fontFamily: tokens10__namespace.default.font.style["xl-display"]["font-family"],
@@ -18835,6 +18838,7 @@ var init_textStyles = __esm({
18835
18838
  "xl-sans": {
18836
18839
  fontSize: [
18837
18840
  tokens10__namespace.default.font.style["xl-sans"]["font-size"].mobile,
18841
+ null,
18838
18842
  tokens10__namespace.default.font.style["xl-sans"]["font-size"].desktop
18839
18843
  ],
18840
18844
  fontFamily: tokens10__namespace.default.font.style["xl-sans"]["font-family"],
@@ -18843,6 +18847,7 @@ var init_textStyles = __esm({
18843
18847
  lg: {
18844
18848
  fontSize: [
18845
18849
  tokens10__namespace.default.font.style.lg["font-size"].mobile,
18850
+ null,
18846
18851
  tokens10__namespace.default.font.style.lg["font-size"].desktop
18847
18852
  ],
18848
18853
  fontFamily: tokens10__namespace.default.font.style.lg["font-family"],
@@ -18851,6 +18856,7 @@ var init_textStyles = __esm({
18851
18856
  md: {
18852
18857
  fontSize: [
18853
18858
  tokens10__namespace.default.font.style.md["font-size"].mobile,
18859
+ null,
18854
18860
  tokens10__namespace.default.font.style.md["font-size"].desktop
18855
18861
  ],
18856
18862
  fontFamily: tokens10__namespace.default.font.style.md["font-family"],
@@ -18859,6 +18865,7 @@ var init_textStyles = __esm({
18859
18865
  sm: {
18860
18866
  fontSize: [
18861
18867
  tokens10__namespace.default.font.style.sm["font-size"].mobile,
18868
+ null,
18862
18869
  tokens10__namespace.default.font.style.sm["font-size"].desktop
18863
18870
  ],
18864
18871
  fontFamily: tokens10__namespace.default.font.style.sm["font-family"],
@@ -18867,6 +18874,7 @@ var init_textStyles = __esm({
18867
18874
  xs: {
18868
18875
  fontSize: [
18869
18876
  tokens10__namespace.default.font.style.xs["font-size"].mobile,
18877
+ null,
18870
18878
  tokens10__namespace.default.font.style.xs["font-size"].desktop
18871
18879
  ],
18872
18880
  fontFamily: tokens10__namespace.default.font.style.xs["font-family"],
@@ -19579,6 +19587,7 @@ var init_card2 = __esm({
19579
19587
  border: "none",
19580
19588
  overflow: "hidden",
19581
19589
  fontSize: "inherit",
19590
+ display: "block",
19582
19591
  transitionProperty: "common",
19583
19592
  transitionDuration: "fast",
19584
19593
  borderRadius: "md",
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-A7MCH3JW.mjs';
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-GIXEJPV7.mjs';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vygruppen/spor-react",
3
- "version": "3.4.0",
3
+ "version": "3.4.1",
4
4
  "main": "./dist/index.js",
5
5
  "module": "./dist/index.mjs",
6
6
  "types": "./dist/index.d.ts",
@@ -9,6 +9,7 @@ const config = defineStyleConfig({
9
9
  border: "none",
10
10
  overflow: "hidden",
11
11
  fontSize: "inherit",
12
+ display: "block",
12
13
  transitionProperty: "common",
13
14
  transitionDuration: "fast",
14
15
  borderRadius: "md",
@@ -1,6 +1,7 @@
1
1
  import tokens from "@vygruppen/spor-design-tokens";
2
2
 
3
3
  export const breakpoints = {
4
+ base: "0px",
4
5
  sm: tokens.size.breakpoint.sm,
5
6
  md: tokens.size.breakpoint.md,
6
7
  lg: tokens.size.breakpoint.lg,
@@ -4,6 +4,7 @@ export const textStyles = {
4
4
  "2xl": {
5
5
  fontSize: [
6
6
  tokens.font.style.xxl["font-size"].mobile,
7
+ null,
7
8
  tokens.font.style.xxl["font-size"].desktop,
8
9
  ],
9
10
  fontFamily: tokens.font.style.xxl["font-family"],
@@ -12,6 +13,7 @@ export const textStyles = {
12
13
  "xl-display": {
13
14
  fontSize: [
14
15
  tokens.font.style["xl-display"]["font-size"].mobile,
16
+ null,
15
17
  tokens.font.style["xl-display"]["font-size"].desktop,
16
18
  ],
17
19
  fontFamily: tokens.font.style["xl-display"]["font-family"],
@@ -20,6 +22,7 @@ export const textStyles = {
20
22
  "xl-sans": {
21
23
  fontSize: [
22
24
  tokens.font.style["xl-sans"]["font-size"].mobile,
25
+ null,
23
26
  tokens.font.style["xl-sans"]["font-size"].desktop,
24
27
  ],
25
28
  fontFamily: tokens.font.style["xl-sans"]["font-family"],
@@ -28,6 +31,7 @@ export const textStyles = {
28
31
  lg: {
29
32
  fontSize: [
30
33
  tokens.font.style.lg["font-size"].mobile,
34
+ null,
31
35
  tokens.font.style.lg["font-size"].desktop,
32
36
  ],
33
37
  fontFamily: tokens.font.style.lg["font-family"],
@@ -36,6 +40,7 @@ export const textStyles = {
36
40
  md: {
37
41
  fontSize: [
38
42
  tokens.font.style.md["font-size"].mobile,
43
+ null,
39
44
  tokens.font.style.md["font-size"].desktop,
40
45
  ],
41
46
  fontFamily: tokens.font.style.md["font-family"],
@@ -44,6 +49,7 @@ export const textStyles = {
44
49
  sm: {
45
50
  fontSize: [
46
51
  tokens.font.style.sm["font-size"].mobile,
52
+ null,
47
53
  tokens.font.style.sm["font-size"].desktop,
48
54
  ],
49
55
  fontFamily: tokens.font.style.sm["font-family"],
@@ -52,6 +58,7 @@ export const textStyles = {
52
58
  xs: {
53
59
  fontSize: [
54
60
  tokens.font.style.xs["font-size"].mobile,
61
+ null,
55
62
  tokens.font.style.xs["font-size"].desktop,
56
63
  ],
57
64
  fontFamily: tokens.font.style.xs["font-family"],