@vygruppen/spor-react 12.1.1 → 12.2.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 (119) hide show
  1. package/.turbo/turbo-build.log +11 -11
  2. package/.turbo/turbo-typegen.log +1 -1
  3. package/CHANGELOG.md +12 -0
  4. package/dist/index.d.mts +151 -190
  5. package/dist/index.d.ts +151 -190
  6. package/dist/index.js +2327 -1915
  7. package/dist/index.js.map +1 -1
  8. package/dist/index.mjs +2214 -1811
  9. package/dist/index.mjs.map +1 -1
  10. package/package.json +3 -3
  11. package/src/accordion/Accordion.tsx +2 -1
  12. package/src/accordion/Expandable.tsx +3 -1
  13. package/src/accordion/helpers.ts +2 -1
  14. package/src/alert/Alert.tsx +3 -1
  15. package/src/alert/AlertIcon.tsx +17 -10
  16. package/src/alert/ExpandableAlert.tsx +3 -2
  17. package/src/alert/ServiceAlert.tsx +2 -1
  18. package/src/breadcrumb/Breadcrumb.tsx +9 -8
  19. package/src/button/Button.tsx +65 -52
  20. package/src/button/ButtonGroup.tsx +2 -1
  21. package/src/button/Clipboard.tsx +3 -0
  22. package/src/button/CloseButton.tsx +8 -4
  23. package/src/button/FloatingActionButton.tsx +5 -5
  24. package/src/button/IconButton.tsx +1 -0
  25. package/src/color-mode/color-mode.tsx +2 -2
  26. package/src/datepicker/Calendar.tsx +0 -1
  27. package/src/datepicker/CalendarCell.tsx +5 -5
  28. package/src/datepicker/CalendarGrid.tsx +3 -2
  29. package/src/datepicker/CalendarHeader.tsx +1 -4
  30. package/src/datepicker/CalendarTriggerButton.tsx +3 -4
  31. package/src/datepicker/DateField.tsx +13 -6
  32. package/src/datepicker/DatePicker.tsx +2 -1
  33. package/src/datepicker/DateRangePicker.tsx +1 -1
  34. package/src/datepicker/DateTimeSegment.tsx +2 -1
  35. package/src/datepicker/RangeCalendar.tsx +1 -1
  36. package/src/datepicker/StyledField.tsx +1 -1
  37. package/src/datepicker/TimeField.tsx +3 -3
  38. package/src/datepicker/TimePicker.tsx +4 -2
  39. package/src/datepicker/utils.ts +10 -5
  40. package/src/dialog/Dialog.tsx +1 -0
  41. package/src/dialog/Drawer.tsx +28 -26
  42. package/src/i18n/index.tsx +1 -0
  43. package/src/input/AttachedInputs.tsx +6 -3
  44. package/src/input/CardSelect.tsx +3 -1
  45. package/src/input/Checkbox.tsx +1 -0
  46. package/src/input/CheckboxGroup.tsx +3 -1
  47. package/src/input/ChoiceChip.tsx +1 -1
  48. package/src/input/Combobox.tsx +6 -4
  49. package/src/input/CountryCodeSelect.tsx +10 -4
  50. package/src/input/Field.tsx +2 -0
  51. package/src/input/Input.tsx +2 -3
  52. package/src/input/InputGroup.tsx +1 -1
  53. package/src/input/ListBox.tsx +9 -8
  54. package/src/input/NativeSelect.tsx +1 -2
  55. package/src/input/NumericStepper.tsx +22 -23
  56. package/src/input/PasswordInput.tsx +2 -1
  57. package/src/input/PhoneNumberInput.tsx +6 -2
  58. package/src/input/Popover.tsx +2 -0
  59. package/src/input/Radio.tsx +2 -0
  60. package/src/input/SearchInput.tsx +2 -1
  61. package/src/input/Select.tsx +8 -2
  62. package/src/input/Switch.tsx +22 -34
  63. package/src/input/Textarea.tsx +6 -4
  64. package/src/input/index.ts +1 -1
  65. package/src/layout/PressableCard.tsx +5 -2
  66. package/src/layout/RadioCard.tsx +3 -1
  67. package/src/layout/Separator.tsx +2 -1
  68. package/src/layout/StaticCard.tsx +6 -3
  69. package/src/linjetag/InfoTag.tsx +3 -2
  70. package/src/linjetag/LineIcon.tsx +5 -4
  71. package/src/linjetag/TravelTag.tsx +12 -8
  72. package/src/link/TextLink.tsx +44 -9
  73. package/src/loader/ColorInlineLoader.tsx +0 -1
  74. package/src/loader/ColorSpinner.tsx +0 -1
  75. package/src/loader/ContentLoader.tsx +0 -1
  76. package/src/loader/DarkFullScreenLoader.tsx +0 -1
  77. package/src/loader/DarkInlineLoader.tsx +0 -1
  78. package/src/loader/DarkSpinner.tsx +0 -1
  79. package/src/loader/LightFullScreenLoader.tsx +0 -1
  80. package/src/loader/LightInlineLoader.tsx +0 -1
  81. package/src/loader/LightSpinner.tsx +0 -1
  82. package/src/loader/Lottie.tsx +1 -2
  83. package/src/loader/ProgressBar.tsx +1 -2
  84. package/src/loader/ProgressLoader.tsx +2 -7
  85. package/src/logo/CargonetLogo.tsx +2 -1
  86. package/src/logo/VyLogo.tsx +3 -4
  87. package/src/logo/VyLogoPride.tsx +4 -1
  88. package/src/media-controller/JumpButton.tsx +2 -1
  89. package/src/media-controller/PlayPauseButton.tsx +2 -1
  90. package/src/media-controller/SkipButton.tsx +2 -1
  91. package/src/nudge/Nudge.tsx +7 -14
  92. package/src/pagination/Pagination.tsx +5 -0
  93. package/src/popover/index.tsx +2 -0
  94. package/src/progress-indicator/ProgressDot.tsx +1 -1
  95. package/src/progress-indicator/ProgressIndicator.tsx +4 -2
  96. package/src/provider/SporProvider.tsx +0 -1
  97. package/src/stepper/Stepper.tsx +1 -1
  98. package/src/tab/Tabs.tsx +1 -1
  99. package/src/table/Table.tsx +2 -1
  100. package/src/theme/recipes/button.ts +5 -0
  101. package/src/theme/slot-recipes/alert-expandable.ts +0 -4
  102. package/src/theme/slot-recipes/info-tag.ts +0 -1
  103. package/src/theme/slot-recipes/popover.ts +0 -1
  104. package/src/theme/slot-recipes/radio-card.ts +0 -3
  105. package/src/theme/utils/accent-utils.ts +12 -6
  106. package/src/theme/utils/bg-utils.ts +6 -3
  107. package/src/theme/utils/brand-utils.ts +7 -7
  108. package/src/theme/utils/core-utils.ts +23 -13
  109. package/src/theme/utils/floating-utils.ts +16 -8
  110. package/src/theme/utils/ghost-utils.ts +8 -4
  111. package/src/theme/utils/input-utils.ts +7 -4
  112. package/src/theme/utils/outline-utils.ts +6 -3
  113. package/src/theme/utils/surface-utils.ts +8 -4
  114. package/src/toast/toast.tsx +0 -1
  115. package/src/typography/Badge.tsx +8 -5
  116. package/src/typography/Heading.tsx +1 -1
  117. package/src/typography/Text.tsx +1 -1
  118. package/src/util/slugify.tsx +8 -8
  119. package/tsconfig.json +1 -0
@@ -1,9 +1,9 @@
1
1
 
2
- > @vygruppen/spor-react@12.1.1 build /home/runner/work/spor/spor/packages/spor-react
2
+ > @vygruppen/spor-react@12.2.0 build /home/runner/work/spor/spor/packages/spor-react
3
3
  > pnpm typegen && tsup
4
4
 
5
5
 
6
- > @vygruppen/spor-react@12.1.1 typegen /home/runner/work/spor/spor/packages/spor-react
6
+ > @vygruppen/spor-react@12.2.0 typegen /home/runner/work/spor/spor/packages/spor-react
7
7
  > npx @chakra-ui/cli typegen src/theme/index.ts
8
8
 
9
9
  ┌ Chakra CLI ⚡️
@@ -31,12 +31,12 @@ CLI Target: node16
31
31
  CJS Build start
32
32
  ESM Build start
33
33
  DTS Build start
34
- ESM dist/index.mjs 293.19 KB
35
- ESM dist/index.mjs.map 620.63 KB
36
- ESM ⚡️ Build success in 1854ms
37
- CJS dist/index.js 312.69 KB
38
- CJS dist/index.js.map 620.63 KB
39
- CJS ⚡️ Build success in 1855ms
40
- DTS ⚡️ Build success in 21349ms
41
- DTS dist/index.d.ts 134.76 KB
42
- DTS dist/index.d.mts 134.76 KB
34
+ CJS dist/index.js 312.95 KB
35
+ CJS dist/index.js.map 629.56 KB
36
+ CJS ⚡️ Build success in 2012ms
37
+ ESM dist/index.mjs 292.49 KB
38
+ ESM dist/index.mjs.map 629.56 KB
39
+ ESM ⚡️ Build success in 2013ms
40
+ DTS ⚡️ Build success in 22093ms
41
+ DTS dist/index.d.ts 132.32 KB
42
+ DTS dist/index.d.mts 132.32 KB
@@ -1,5 +1,5 @@
1
1
 
2
- > @vygruppen/spor-react@12.1.1 typegen /home/runner/work/spor/spor/packages/spor-react
2
+ > @vygruppen/spor-react@12.2.0 typegen /home/runner/work/spor/spor/packages/spor-react
3
3
  > npx @chakra-ui/cli typegen src/theme/index.ts
4
4
 
5
5
  ┌ Chakra CLI ⚡️
package/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # @vygruppen/spor-react
2
2
 
3
+ ## 12.2.0
4
+
5
+ ### Minor Changes
6
+
7
+ - b1fe230: Add filter for available country codes for PhoneNumberInput
8
+
9
+ ## 12.1.2
10
+
11
+ ### Patch Changes
12
+
13
+ - 4b8e4f4: `asChild` support for Button and TextLink #1669
14
+
3
15
  ## 12.1.1
4
16
 
5
17
  ### Patch Changes