@vygruppen/spor-react 5.5.0 → 6.0.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.
- package/.turbo/turbo-build.log +10 -10
- package/CHANGELOG.md +7 -0
- package/dist/{CountryCodeSelect-KRCJWBUE.mjs → CountryCodeSelect-EM747ZM6.mjs} +1 -1
- package/dist/{chunk-2L6AHVGG.mjs → chunk-GAHDJA6T.mjs} +2 -3
- package/dist/index.d.mts +3 -4
- package/dist/index.d.ts +3 -4
- package/dist/index.js +1 -2
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/src/input/CardSelect.tsx +3 -3
- package/src/theme/components/card-select.ts +0 -1
package/.turbo/turbo-build.log
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
|
2
|
-
> @vygruppen/spor-react@
|
2
|
+
> @vygruppen/spor-react@6.0.0 build
|
3
3
|
> tsup src/index.tsx --dts --treeshake --format cjs,esm
|
4
4
|
|
5
5
|
[34mCLI[39m Building entry: src/index.tsx
|
@@ -10,13 +10,13 @@
|
|
10
10
|
[34mESM[39m Build start
|
11
11
|
"Collapse" is imported from external module "@chakra-ui/react" but never used in "dist/index.js".
|
12
12
|
[34mDTS[39m Build start
|
13
|
-
"Collapse" is imported from external module "@chakra-ui/react" but never used in "dist/chunk-
|
14
|
-
[32mCJS[39m [1mdist/index.js [22m[32m507.
|
15
|
-
[32mCJS[39m ⚡️ Build success in
|
13
|
+
"Collapse" is imported from external module "@chakra-ui/react" but never used in "dist/chunk-GAHDJA6T.mjs".
|
14
|
+
[32mCJS[39m [1mdist/index.js [22m[32m507.31 KB[39m
|
15
|
+
[32mCJS[39m ⚡️ Build success in 2004ms
|
16
16
|
[32mESM[39m [1mdist/index.mjs [22m[32m2.16 KB[39m
|
17
|
-
[32mESM[39m [1mdist/CountryCodeSelect-
|
18
|
-
[32mESM[39m [1mdist/chunk-
|
19
|
-
[32mESM[39m ⚡️ Build success in
|
20
|
-
[32mDTS[39m ⚡️ Build success in
|
21
|
-
[32mDTS[39m [1mdist/index.d.ts [22m[32m265.
|
22
|
-
[32mDTS[39m [1mdist/index.d.mts [22m[32m265.
|
17
|
+
[32mESM[39m [1mdist/CountryCodeSelect-EM747ZM6.mjs [22m[32m1.19 KB[39m
|
18
|
+
[32mESM[39m [1mdist/chunk-GAHDJA6T.mjs [22m[32m397.90 KB[39m
|
19
|
+
[32mESM[39m ⚡️ Build success in 2005ms
|
20
|
+
[32mDTS[39m ⚡️ Build success in 12323ms
|
21
|
+
[32mDTS[39m [1mdist/index.d.ts [22m[32m265.18 KB[39m
|
22
|
+
[32mDTS[39m [1mdist/index.d.mts [22m[32m265.18 KB[39m
|
package/CHANGELOG.md
CHANGED
@@ -1,5 +1,12 @@
|
|
1
1
|
# @vygruppen/spor-react
|
2
2
|
|
3
|
+
## 6.0.0
|
4
|
+
|
5
|
+
### Major Changes
|
6
|
+
|
7
|
+
- d8be7e4: CardSelect: _Breaking change_: We have changed some variant prop names, so it's aligned with the rest of the design system.
|
8
|
+
To migrate,. old "outline" has become "base" and old "card" is now "floating".
|
9
|
+
|
3
10
|
## 5.5.0
|
4
11
|
|
5
12
|
### Minor Changes
|
@@ -3427,7 +3427,7 @@ var texts14 = createTexts({
|
|
3427
3427
|
sv: "Telefonnummer"
|
3428
3428
|
}
|
3429
3429
|
});
|
3430
|
-
var LazyCountryCodeSelect = React69__default.lazy(() => import('./CountryCodeSelect-
|
3430
|
+
var LazyCountryCodeSelect = React69__default.lazy(() => import('./CountryCodeSelect-EM747ZM6.mjs'));
|
3431
3431
|
var Radio = forwardRef((props, ref) => {
|
3432
3432
|
return /* @__PURE__ */ React69__default.createElement(Radio$1, { ...props, ref });
|
3433
3433
|
});
|
@@ -10583,8 +10583,7 @@ var config8 = helpers3.defineMultiStyleConfig({
|
|
10583
10583
|
borderRadius: "sm",
|
10584
10584
|
boxShadow: "md",
|
10585
10585
|
padding: 3,
|
10586
|
-
color: mode("darkGrey", "white")(props)
|
10587
|
-
...floatingBackground("default", props)
|
10586
|
+
color: mode("darkGrey", "white")(props)
|
10588
10587
|
}
|
10589
10588
|
}),
|
10590
10589
|
variants: {
|
package/dist/index.d.mts
CHANGED
@@ -649,10 +649,10 @@ type CardSelectProps = BoxProps & {
|
|
649
649
|
/** The design of the trigger button.
|
650
650
|
*
|
651
651
|
* - `ghost` is a transparent button with text
|
652
|
-
* - `
|
653
|
-
* - `
|
652
|
+
* - `base` is a button with a border and text
|
653
|
+
* - `floating` is a button with a drop shadow (like a card) and text
|
654
654
|
*/
|
655
|
-
variant: "
|
655
|
+
variant: "base" | "ghost" | "floating";
|
656
656
|
/** The size of the trigger button */
|
657
657
|
size: "sm" | "md" | "lg";
|
658
658
|
/** Whether the card select is open / active, if controlled */
|
@@ -2541,7 +2541,6 @@ declare const theme: {
|
|
2541
2541
|
alignItems: string;
|
2542
2542
|
};
|
2543
2543
|
card: {
|
2544
|
-
backgroundColor: string;
|
2545
2544
|
borderRadius: string;
|
2546
2545
|
boxShadow: string;
|
2547
2546
|
padding: number;
|
package/dist/index.d.ts
CHANGED
@@ -649,10 +649,10 @@ type CardSelectProps = BoxProps & {
|
|
649
649
|
/** The design of the trigger button.
|
650
650
|
*
|
651
651
|
* - `ghost` is a transparent button with text
|
652
|
-
* - `
|
653
|
-
* - `
|
652
|
+
* - `base` is a button with a border and text
|
653
|
+
* - `floating` is a button with a drop shadow (like a card) and text
|
654
654
|
*/
|
655
|
-
variant: "
|
655
|
+
variant: "base" | "ghost" | "floating";
|
656
656
|
/** The size of the trigger button */
|
657
657
|
size: "sm" | "md" | "lg";
|
658
658
|
/** Whether the card select is open / active, if controlled */
|
@@ -2541,7 +2541,6 @@ declare const theme: {
|
|
2541
2541
|
alignItems: string;
|
2542
2542
|
};
|
2543
2543
|
card: {
|
2544
|
-
backgroundColor: string;
|
2545
2544
|
borderRadius: string;
|
2546
2545
|
boxShadow: string;
|
2547
2546
|
padding: number;
|
package/dist/index.js
CHANGED
@@ -12049,8 +12049,7 @@ var init_card_select = __esm({
|
|
12049
12049
|
borderRadius: "sm",
|
12050
12050
|
boxShadow: "md",
|
12051
12051
|
padding: 3,
|
12052
|
-
color: themeTools.mode("darkGrey", "white")(props)
|
12053
|
-
...floatingBackground("default", props)
|
12052
|
+
color: themeTools.mode("darkGrey", "white")(props)
|
12054
12053
|
}
|
12055
12054
|
}),
|
12056
12055
|
variants: {
|
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-
|
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-GAHDJA6T.mjs';
|
package/package.json
CHANGED
package/src/input/CardSelect.tsx
CHANGED
@@ -21,10 +21,10 @@ type CardSelectProps = BoxProps & {
|
|
21
21
|
/** The design of the trigger button.
|
22
22
|
*
|
23
23
|
* - `ghost` is a transparent button with text
|
24
|
-
* - `
|
25
|
-
* - `
|
24
|
+
* - `base` is a button with a border and text
|
25
|
+
* - `floating` is a button with a drop shadow (like a card) and text
|
26
26
|
*/
|
27
|
-
variant: "
|
27
|
+
variant: "base" | "ghost" | "floating";
|
28
28
|
/** The size of the trigger button */
|
29
29
|
size: "sm" | "md" | "lg";
|
30
30
|
/** Whether the card select is open / active, if controlled */
|