@vygruppen/spor-react 3.7.6 → 3.8.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 (34) hide show
  1. package/.turbo/turbo-build.log +11 -11
  2. package/CHANGELOG.md +29 -0
  3. package/dist/{CountryCodeSelect-IV4VKD4A.mjs → CountryCodeSelect-BA3A7ODU.mjs} +1 -1
  4. package/dist/{chunk-LQEO65MM.mjs → chunk-HL3ESNVB.mjs} +654 -445
  5. package/dist/index.d.mts +237 -43
  6. package/dist/index.d.ts +237 -43
  7. package/dist/index.js +830 -621
  8. package/dist/index.mjs +1 -1
  9. package/package.json +2 -2
  10. package/src/button/Button.tsx +7 -1
  11. package/src/button/FloatingActionButton.tsx +10 -1
  12. package/src/datepicker/Calendar.tsx +8 -3
  13. package/src/datepicker/CalendarCell.tsx +8 -3
  14. package/src/datepicker/CalendarGrid.tsx +9 -3
  15. package/src/datepicker/CalendarTriggerButton.tsx +10 -3
  16. package/src/datepicker/DatePicker.tsx +15 -35
  17. package/src/datepicker/DateRangePicker.tsx +14 -25
  18. package/src/datepicker/DateTimeSegment.tsx +0 -2
  19. package/src/datepicker/RangeCalendar.tsx +8 -4
  20. package/src/datepicker/StyledField.tsx +6 -1
  21. package/src/datepicker/TimePicker.tsx +1 -1
  22. package/src/input/NumericStepper.tsx +91 -68
  23. package/src/tab/Tabs.tsx +11 -1
  24. package/src/theme/components/button.ts +18 -16
  25. package/src/theme/components/card.ts +18 -10
  26. package/src/theme/components/close-button.ts +9 -8
  27. package/src/theme/components/datepicker.ts +74 -23
  28. package/src/theme/components/fab.ts +76 -1
  29. package/src/theme/components/info-tag.ts +16 -1
  30. package/src/theme/components/line-icon.ts +5 -4
  31. package/src/theme/components/link.ts +14 -36
  32. package/src/theme/components/modal.ts +4 -3
  33. package/src/theme/components/tabs.ts +82 -1
  34. package/src/theme/components/travel-tag.ts +6 -4
@@ -1,5 +1,5 @@
1
1
 
2
- > @vygruppen/spor-react@3.7.6 build
2
+ > @vygruppen/spor-react@3.8.0 build
3
3
  > tsup src/index.tsx --dts --treeshake --format cjs,esm
4
4
 
5
5
  CLI Building entry: src/index.tsx
@@ -8,15 +8,15 @@
8
8
  CLI Target: node16
9
9
  CJS Build start
10
10
  ESM Build start
11
- DTS Build start
11
+ "toZoned" and "toTime" are imported from external module "@internationalized/date" but never used in "dist/chunk-HL3ESNVB.mjs".
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-LQEO65MM.mjs".
14
- CJS dist/index.js 539.15 KB
15
- CJS ⚡️ Build success in 4394ms
13
+ DTS Build start
16
14
  ESM dist/index.mjs 2.09 KB
17
- ESM dist/CountryCodeSelect-IV4VKD4A.mjs 1.19 KB
18
- ESM dist/chunk-LQEO65MM.mjs 430.76 KB
19
- ESM ⚡️ Build success in 4394ms
20
- DTS ⚡️ Build success in 19752ms
21
- DTS dist/index.d.ts 256.31 KB
22
- DTS dist/index.d.mts 256.31 KB
15
+ ESM dist/CountryCodeSelect-BA3A7ODU.mjs 1.19 KB
16
+ ESM dist/chunk-HL3ESNVB.mjs 438.29 KB
17
+ ESM ⚡️ Build success in 2793ms
18
+ CJS dist/index.js 548.73 KB
19
+ CJS ⚡️ Build success in 2794ms
20
+ DTS ⚡️ Build success in 14107ms
21
+ DTS dist/index.d.ts 264.64 KB
22
+ DTS dist/index.d.mts 264.64 KB
package/CHANGELOG.md CHANGED
@@ -1,5 +1,34 @@
1
1
  # @vygruppen/spor-react
2
2
 
3
+ ## 3.8.0
4
+
5
+ ### Minor Changes
6
+
7
+ - d709b8b0: NumericStepper: Add two new props – `stepSize` (which sets the number to increment at a time) and `showZero` ( which decides whether you should show the digit 0 when the count is 0)
8
+
9
+ ### Patch Changes
10
+
11
+ - bd1d64b1: close-button: added dark mode
12
+ - c999ff24: DatePicker: add new variations, dark mode and deprecated some old designs
13
+ - 8c44575c: General: Downgrade framer-motion because of race condition bug
14
+ - edb3b106: Modal: Add Dark Mode support
15
+
16
+ ## 3.7.7
17
+
18
+ ### Patch Changes
19
+
20
+ - 2ffdd3b7: Tabs: changed from default to base
21
+ - d12c315d: travelTag: add support for dark mode
22
+ - b6884fa6: Tabs: Update variants and design for tabs
23
+ - fb6605c6: Card: Add dark mode support
24
+ - 4c078f92: Design tokens: Change the color for lokalbuss
25
+ InfoTag: Add dark mode support
26
+ - eaf12b4b: Link: Add dark mode support
27
+ - e103af4b: Button: Make buttons break on several lines if there isn't space
28
+ - bc846dd5: Fab:Add dark mode support
29
+ - Updated dependencies [4c078f92]
30
+ - @vygruppen/spor-design-tokens@3.2.1
31
+
3
32
  ## 3.7.6
4
33
 
5
34
  ### Patch Changes
@@ -1,4 +1,4 @@
1
- import { createTexts, useTranslation, InfoSelect, Item } from './chunk-LQEO65MM.mjs';
1
+ import { createTexts, useTranslation, InfoSelect, Item } from './chunk-HL3ESNVB.mjs';
2
2
  import React from 'react';
3
3
  import { getSupportedCallingCodes } from 'awesome-phonenumber';
4
4