@vygruppen/spor-react 10.4.0 → 10.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.
- package/.turbo/turbo-build.log +9 -9
- package/CHANGELOG.md +7 -0
- package/dist/{CountryCodeSelect-XMQTDWRD.mjs → CountryCodeSelect-QNKQE3C6.mjs} +1 -1
- package/dist/{chunk-T4CLCBB5.mjs → chunk-PH4RK5L3.mjs} +2 -5
- package/dist/index.d.mts +2 -4
- package/dist/index.d.ts +2 -4
- package/dist/index.js +1 -4
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/src/theme/components/travel-tag.ts +1 -4
package/.turbo/turbo-build.log
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
|
2
|
-
> @vygruppen/spor-react@10.4.
|
2
|
+
> @vygruppen/spor-react@10.4.1 build
|
3
3
|
> tsup src/index.tsx --dts --treeshake --format cjs,esm
|
4
4
|
|
5
5
|
[34mCLI[39m Building entry: src/index.tsx
|
@@ -9,12 +9,12 @@
|
|
9
9
|
[34mCJS[39m Build start
|
10
10
|
[34mESM[39m Build start
|
11
11
|
[34mDTS[39m Build start
|
12
|
-
[32mCJS[39m [1mdist/index.js [22m[32m531.29 KB[39m
|
13
|
-
[32mCJS[39m ⚡️ Build success in 2167ms
|
14
12
|
[32mESM[39m [1mdist/index.mjs [22m[32m2.15 KB[39m
|
15
|
-
[32mESM[39m [1mdist/
|
16
|
-
[32mESM[39m [1mdist/
|
17
|
-
[32mESM[39m ⚡️ Build success in
|
18
|
-
[
|
19
|
-
[
|
20
|
-
[32mDTS[39m
|
13
|
+
[32mESM[39m [1mdist/CountryCodeSelect-QNKQE3C6.mjs [22m[32m1.22 KB[39m
|
14
|
+
[32mESM[39m [1mdist/chunk-PH4RK5L3.mjs [22m[32m419.16 KB[39m
|
15
|
+
[32mESM[39m ⚡️ Build success in 2411ms
|
16
|
+
[32mCJS[39m [1mdist/index.js [22m[32m531.22 KB[39m
|
17
|
+
[32mCJS[39m ⚡️ Build success in 2412ms
|
18
|
+
[32mDTS[39m ⚡️ Build success in 16011ms
|
19
|
+
[32mDTS[39m [1mdist/index.d.ts [22m[32m335.24 KB[39m
|
20
|
+
[32mDTS[39m [1mdist/index.d.mts [22m[32m335.24 KB[39m
|
package/CHANGELOG.md
CHANGED
@@ -1,5 +1,12 @@
|
|
1
1
|
# @vygruppen/spor-react
|
2
2
|
|
3
|
+
## 10.4.1
|
4
|
+
|
5
|
+
### Patch Changes
|
6
|
+
|
7
|
+
- aeefe3f: Changed styling of LineTag deviation icons to be more similar to the design
|
8
|
+
- 72b88be: adjusted z-index of the TravelTag deviation icon, so that it does not end atop banners and dropdowns e.t.c
|
9
|
+
|
3
10
|
## 10.4.0
|
4
11
|
|
5
12
|
### Minor Changes
|
@@ -1833,7 +1833,7 @@ var texts4 = createTexts({
|
|
1833
1833
|
sv: "Landskod"
|
1834
1834
|
}
|
1835
1835
|
});
|
1836
|
-
var LazyCountryCodeSelect = React84__default.lazy(() => import('./CountryCodeSelect-
|
1836
|
+
var LazyCountryCodeSelect = React84__default.lazy(() => import('./CountryCodeSelect-QNKQE3C6.mjs'));
|
1837
1837
|
var Radio = forwardRef((props, ref) => {
|
1838
1838
|
return /* @__PURE__ */ React84__default.createElement(Radio$1, { ...props, ref });
|
1839
1839
|
});
|
@@ -12413,15 +12413,12 @@ var getDeviationIconStyle = (props) => {
|
|
12413
12413
|
top: "0",
|
12414
12414
|
right: "0",
|
12415
12415
|
transform: "translate(50%, -50%)",
|
12416
|
-
zIndex: "
|
12417
|
-
stroke: "white",
|
12416
|
+
zIndex: "docked",
|
12418
12417
|
color: deviationIconColor[props.deviationLevel] || "inherit"
|
12419
12418
|
};
|
12420
12419
|
};
|
12421
12420
|
var deviationIconColor = {
|
12422
12421
|
critical: "brightRed",
|
12423
|
-
major: "golden",
|
12424
|
-
minor: "golden",
|
12425
12422
|
info: "ocean"
|
12426
12423
|
};
|
12427
12424
|
|
package/dist/index.d.mts
CHANGED
@@ -4289,8 +4289,7 @@ declare const theme: {
|
|
4289
4289
|
right: string;
|
4290
4290
|
transform: string;
|
4291
4291
|
zIndex: string;
|
4292
|
-
|
4293
|
-
color: "brightRed" | "golden" | "ocean";
|
4292
|
+
color: "brightRed" | "ocean";
|
4294
4293
|
};
|
4295
4294
|
}) | undefined;
|
4296
4295
|
sizes?: {
|
@@ -7191,8 +7190,7 @@ declare const theme: {
|
|
7191
7190
|
right: string;
|
7192
7191
|
transform: string;
|
7193
7192
|
zIndex: string;
|
7194
|
-
|
7195
|
-
color: "brightRed" | "golden" | "ocean";
|
7193
|
+
color: "brightRed" | "ocean";
|
7196
7194
|
};
|
7197
7195
|
}) | undefined;
|
7198
7196
|
sizes?: {
|
package/dist/index.d.ts
CHANGED
@@ -4289,8 +4289,7 @@ declare const theme: {
|
|
4289
4289
|
right: string;
|
4290
4290
|
transform: string;
|
4291
4291
|
zIndex: string;
|
4292
|
-
|
4293
|
-
color: "brightRed" | "golden" | "ocean";
|
4292
|
+
color: "brightRed" | "ocean";
|
4294
4293
|
};
|
4295
4294
|
}) | undefined;
|
4296
4295
|
sizes?: {
|
@@ -7191,8 +7190,7 @@ declare const theme: {
|
|
7191
7190
|
right: string;
|
7192
7191
|
transform: string;
|
7193
7192
|
zIndex: string;
|
7194
|
-
|
7195
|
-
color: "brightRed" | "golden" | "ocean";
|
7193
|
+
color: "brightRed" | "ocean";
|
7196
7194
|
};
|
7197
7195
|
}) | undefined;
|
7198
7196
|
sizes?: {
|
package/dist/index.js
CHANGED
@@ -14023,15 +14023,12 @@ var init_travel_tag = __esm({
|
|
14023
14023
|
top: "0",
|
14024
14024
|
right: "0",
|
14025
14025
|
transform: "translate(50%, -50%)",
|
14026
|
-
zIndex: "
|
14027
|
-
stroke: "white",
|
14026
|
+
zIndex: "docked",
|
14028
14027
|
color: deviationIconColor[props.deviationLevel] || "inherit"
|
14029
14028
|
};
|
14030
14029
|
};
|
14031
14030
|
deviationIconColor = {
|
14032
14031
|
critical: "brightRed",
|
14033
|
-
major: "golden",
|
14034
|
-
minor: "golden",
|
14035
14032
|
info: "ocean"
|
14036
14033
|
};
|
14037
14034
|
}
|
package/dist/index.mjs
CHANGED
@@ -1 +1 @@
|
|
1
|
-
export { Accordion, AccordionButton, AccordionIcon, AccordionItem, AccordionPanel, AttachedInputs, Badge, Box, Brand, Breadcrumb, BreadcrumbItem, BreadcrumbLink, Button, ButtonGroup, CardSelect, CargonetLogo, 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, FullScreenDrawer, 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, Pagination, PasswordInput, PhoneNumberInput, PlayPauseButton, Portal, PressableCard, ProgressBar, ProgressIndicator, ProgressLoader, Radio, RadioCard, RadioCardGroup, RadioCardGroupContext, RadioGroup, ScaleFade, SearchInput, Section, SimpleDrawer, SimpleGrid, Skeleton, SkeletonCircle, SkeletonText, SkipButton, Slide, SlideFade, Spacer, SporProvider, Stack, StaticAlert, StaticCard, 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, VyLogoPride, 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-
|
1
|
+
export { Accordion, AccordionButton, AccordionIcon, AccordionItem, AccordionPanel, AttachedInputs, Badge, Box, Brand, Breadcrumb, BreadcrumbItem, BreadcrumbLink, Button, ButtonGroup, CardSelect, CargonetLogo, 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, FullScreenDrawer, 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, Pagination, PasswordInput, PhoneNumberInput, PlayPauseButton, Portal, PressableCard, ProgressBar, ProgressIndicator, ProgressLoader, Radio, RadioCard, RadioCardGroup, RadioCardGroupContext, RadioGroup, ScaleFade, SearchInput, Section, SimpleDrawer, SimpleGrid, Skeleton, SkeletonCircle, SkeletonText, SkipButton, Slide, SlideFade, Spacer, SporProvider, Stack, StaticAlert, StaticCard, 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, VyLogoPride, 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-PH4RK5L3.mjs';
|
package/package.json
CHANGED
@@ -241,8 +241,7 @@ const getDeviationIconStyle = (props: StyleFunctionProps) => {
|
|
241
241
|
top: "0",
|
242
242
|
right: "0",
|
243
243
|
transform: "translate(50%, -50%)",
|
244
|
-
zIndex: "
|
245
|
-
stroke: "white",
|
244
|
+
zIndex: "docked",
|
246
245
|
color:
|
247
246
|
deviationIconColor[
|
248
247
|
props.deviationLevel as keyof typeof deviationIconColor
|
@@ -252,7 +251,5 @@ const getDeviationIconStyle = (props: StyleFunctionProps) => {
|
|
252
251
|
|
253
252
|
const deviationIconColor = {
|
254
253
|
critical: "brightRed",
|
255
|
-
major: "golden",
|
256
|
-
minor: "golden",
|
257
254
|
info: "ocean",
|
258
255
|
} as const;
|