@vygruppen/spor-react 4.0.2 → 4.1.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.
Files changed (95) hide show
  1. package/.turbo/turbo-build.log +10 -10
  2. package/CHANGELOG.md +27 -0
  3. package/dist/{CountryCodeSelect-WSPQNU6B.mjs → CountryCodeSelect-FBKDO5JS.mjs} +1 -1
  4. package/dist/{chunk-MGJQOEU2.mjs → chunk-FPWAXD72.mjs} +149 -220
  5. package/dist/index.d.mts +22 -96
  6. package/dist/index.d.ts +22 -96
  7. package/dist/index.js +148 -219
  8. package/dist/index.mjs +1 -1
  9. package/package.json +1 -1
  10. package/src/accordion/Accordion.test.tsx +1 -1
  11. package/src/accordion/Accordion.tsx +1 -1
  12. package/src/accordion/AccordionContext.tsx +1 -1
  13. package/src/accordion/Expandable.tsx +6 -6
  14. package/src/alert/BaseAlert.test.tsx +5 -5
  15. package/src/alert/BaseAlert.tsx +5 -1
  16. package/src/alert/ClosableAlert.test.tsx +3 -3
  17. package/src/alert/ExpandableAlert.test.tsx +5 -5
  18. package/src/button/Button.test.tsx +1 -1
  19. package/src/button/Button.tsx +1 -1
  20. package/src/button/CloseButton.tsx +1 -1
  21. package/src/button/FloatingActionButton.tsx +5 -5
  22. package/src/button/IconButton.tsx +1 -1
  23. package/src/card/Card.tsx +3 -2
  24. package/src/card/index.tsx +1 -1
  25. package/src/datepicker/Calendar.tsx +6 -6
  26. package/src/datepicker/CalendarCell.tsx +9 -8
  27. package/src/datepicker/CalendarGrid.tsx +9 -9
  28. package/src/datepicker/CalendarHeader.tsx +2 -2
  29. package/src/datepicker/CalendarTriggerButton.tsx +5 -10
  30. package/src/datepicker/DateField.tsx +2 -2
  31. package/src/datepicker/DatePicker.tsx +3 -3
  32. package/src/datepicker/DateTimeSegment.tsx +2 -2
  33. package/src/datepicker/RangeCalendar.tsx +5 -2
  34. package/src/datepicker/StyledField.tsx +2 -6
  35. package/src/datepicker/TimePicker.test.tsx +4 -4
  36. package/src/datepicker/TimePicker.tsx +9 -7
  37. package/src/index.tsx +0 -1
  38. package/src/input/CardSelect.tsx +3 -3
  39. package/src/input/Combobox.tsx +1 -1
  40. package/src/input/CountryCodeSelect.tsx +1 -1
  41. package/src/input/FormErrorMessage.tsx +1 -1
  42. package/src/input/InfoSelect.tsx +1 -1
  43. package/src/input/Input.tsx +1 -1
  44. package/src/input/InputElement.tsx +2 -2
  45. package/src/input/ListBox.tsx +3 -3
  46. package/src/input/NativeSelect.tsx +1 -1
  47. package/src/input/PasswordInput.tsx +1 -1
  48. package/src/input/PhoneNumberInput.tsx +13 -4
  49. package/src/input/Popover.tsx +4 -4
  50. package/src/input/RadioGroup.tsx +1 -1
  51. package/src/input/SearchInput.tsx +1 -1
  52. package/src/input/Switch.tsx +1 -1
  53. package/src/layout/Stack.tsx +1 -1
  54. package/src/linjetag/TravelTag.tsx +2 -2
  55. package/src/link/TextLink.tsx +1 -1
  56. package/src/list/index.tsx +0 -1
  57. package/src/loader/DarkSpinner.tsx +5 -5
  58. package/src/loader/SkeletonText.tsx +6 -3
  59. package/src/loader/useRotatingLabel.tsx +2 -2
  60. package/src/media-controller/index.test.tsx +6 -6
  61. package/src/modal/Drawer.tsx +2 -4
  62. package/src/modal/ModalHeader.tsx +1 -1
  63. package/src/provider/index.tsx +1 -1
  64. package/src/stepper/Stepper.tsx +10 -6
  65. package/src/stepper/StepperContext.tsx +7 -7
  66. package/src/stepper/StepperStep.tsx +56 -16
  67. package/src/theme/components/button.ts +25 -44
  68. package/src/theme/components/card.ts +7 -1
  69. package/src/theme/components/close-button.ts +3 -1
  70. package/src/theme/components/datepicker.ts +2 -2
  71. package/src/theme/components/divider.ts +17 -17
  72. package/src/theme/components/fab.ts +16 -13
  73. package/src/theme/components/info-tag.ts +7 -8
  74. package/src/theme/components/input.ts +4 -2
  75. package/src/theme/components/line-icon.ts +1 -2
  76. package/src/theme/components/media-controller-button.ts +1 -1
  77. package/src/theme/components/popover.ts +1 -2
  78. package/src/theme/components/select.ts +4 -4
  79. package/src/theme/components/stepper.ts +8 -155
  80. package/src/theme/components/switch.ts +9 -9
  81. package/src/theme/components/table.ts +3 -3
  82. package/src/theme/components/tabs.ts +24 -18
  83. package/src/theme/components/textarea.ts +1 -1
  84. package/src/theme/components/travel-tag.ts +2 -2
  85. package/src/theme/foundations/spacing.ts +1 -1
  86. package/src/theme/foundations/styles.ts +10 -10
  87. package/src/theme/utils/box-shadow-utils.ts +2 -2
  88. package/src/toast/ActionToast.test.tsx +1 -1
  89. package/src/toast/BaseToast.test.tsx +3 -3
  90. package/src/toast/ClosableToast.test.tsx +1 -1
  91. package/src/toast/index.tsx +1 -1
  92. package/src/toast/useToast.tsx +3 -3
  93. package/src/typography/Badge.tsx +1 -1
  94. package/src/typography/Text.tsx +1 -1
  95. package/tsconfig.json +1 -1
@@ -1,5 +1,5 @@
1
1
 
2
- > @vygruppen/spor-react@4.0.2 build
2
+ > @vygruppen/spor-react@4.1.0 build
3
3
  > tsup src/index.tsx --dts --treeshake --format cjs,esm
4
4
 
5
5
  CLI Building entry: src/index.tsx
@@ -9,14 +9,14 @@
9
9
  CJS Build start
10
10
  ESM Build start
11
11
  "toZoned" and "toTime" are imported from external module "@internationalized/date" but never used in "dist/index.js".
12
+ "toZoned" and "toTime" are imported from external module "@internationalized/date" but never used in "dist/chunk-FPWAXD72.mjs".
12
13
  DTS Build start
13
- "toZoned" and "toTime" are imported from external module "@internationalized/date" but never used in "dist/chunk-MGJQOEU2.mjs".
14
- CJS dist/index.js 552.34 KB
15
- CJS ⚡️ Build success in 2656ms
14
+ CJS dist/index.js 549.08 KB
15
+ CJS ⚡️ Build success in 2609ms
16
16
  ESM dist/index.mjs 2.10 KB
17
- ESM dist/CountryCodeSelect-WSPQNU6B.mjs 1.19 KB
18
- ESM dist/chunk-MGJQOEU2.mjs 441.05 KB
19
- ESM ⚡️ Build success in 2657ms
20
- DTS ⚡️ Build success in 13491ms
21
- DTS dist/index.d.ts 265.34 KB
22
- DTS dist/index.d.mts 265.34 KB
17
+ ESM dist/CountryCodeSelect-FBKDO5JS.mjs 1.19 KB
18
+ ESM dist/chunk-FPWAXD72.mjs 438.32 KB
19
+ ESM ⚡️ Build success in 2610ms
20
+ DTS ⚡️ Build success in 13349ms
21
+ DTS dist/index.d.ts 262.48 KB
22
+ DTS dist/index.d.mts 262.48 KB
package/CHANGELOG.md CHANGED
@@ -1,5 +1,32 @@
1
1
  # @vygruppen/spor-react
2
2
 
3
+ ## 4.1.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 84ba515b: Card: Add a new colorScheme – "red". This is great for showing erronous stuff.
8
+ - b411b6b0: PhoneNumberInput: Add label prop
9
+
10
+ ### Patch Changes
11
+
12
+ - 77e31ebc: Button: Fix a bug where certain variants got the wrong colors in dark mode
13
+ - d5ad66c1: Format all code and content with Prettier
14
+ - d3ae50b2: spinner: added darkmode for Darkspinner
15
+ - fc6371c1: Stepper: added dark mode
16
+ - Updated dependencies [4ac80a10]
17
+ - Updated dependencies [d5ad66c1]
18
+ - Updated dependencies [9cf88825]
19
+ - Updated dependencies [cec9b038]
20
+ - @vygruppen/spor-icon-react@3.4.0
21
+ - @vygruppen/spor-design-tokens@3.3.0
22
+
23
+ ## 4.0.3
24
+
25
+ ### Patch Changes
26
+
27
+ - 1cd9939e: TimePicker: Make defaultValue=null a valid value
28
+ - 8b4ab3ac: spinner: added darkmode for Darkspinner
29
+
3
30
  ## 4.0.2
4
31
 
5
32
  ### Patch Changes
@@ -1,4 +1,4 @@
1
- import { createTexts, useTranslation, InfoSelect, Item } from './chunk-MGJQOEU2.mjs';
1
+ import { createTexts, useTranslation, InfoSelect, Item } from './chunk-FPWAXD72.mjs';
2
2
  import React from 'react';
3
3
  import { getSupportedCallingCodes } from 'awesome-phonenumber';
4
4