@vygruppen/spor-react 12.19.0 → 12.20.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 (42) hide show
  1. package/.turbo/turbo-build.log +12 -12
  2. package/.turbo/turbo-postinstall.log +3 -4
  3. package/CHANGELOG.md +29 -0
  4. package/dist/index.cjs +941 -499
  5. package/dist/index.cjs.map +1 -1
  6. package/dist/index.d.cts +190 -101
  7. package/dist/index.d.ts +190 -101
  8. package/dist/index.mjs +743 -308
  9. package/dist/index.mjs.map +1 -1
  10. package/package.json +4 -4
  11. package/src/alert/ServiceAlert.tsx +5 -5
  12. package/src/button/IconButton.tsx +1 -1
  13. package/src/calendar/Calendar.tsx +40 -0
  14. package/src/calendar/CalendarCell.tsx +94 -0
  15. package/src/calendar/CalendarContext.tsx +215 -0
  16. package/src/calendar/CalendarGrid.tsx +93 -0
  17. package/src/calendar/CalendarHeader.tsx +113 -0
  18. package/src/calendar/ScrollCalendar.tsx +86 -0
  19. package/src/calendar/index.ts +6 -0
  20. package/src/calendar/utils.ts +16 -0
  21. package/src/datepicker/CalendarGrid.tsx +1 -1
  22. package/src/datepicker/CalendarHeader.tsx +3 -3
  23. package/src/datepicker/DateField.tsx +2 -2
  24. package/src/datepicker/DatePicker.tsx +1 -1
  25. package/src/datepicker/DateRangePicker.tsx +2 -2
  26. package/src/dialog/Drawer.tsx +6 -6
  27. package/src/i18n/index.tsx +1 -1
  28. package/src/index.tsx +1 -0
  29. package/src/input/Combobox.tsx +4 -4
  30. package/src/input/CountryCodeSelect.tsx +1 -1
  31. package/src/input/ListBox.tsx +1 -6
  32. package/src/input/NumericStepper.tsx +14 -14
  33. package/src/input/PasswordInput.tsx +5 -5
  34. package/src/input/PhoneNumberInput.tsx +2 -2
  35. package/src/input/Select.tsx +2 -2
  36. package/src/input/useFLoatingInputState.tsx +10 -10
  37. package/src/linjetag/icons.tsx +6 -2
  38. package/src/loader/useRotatingLabel.tsx +6 -3
  39. package/src/nudge/Nudge.tsx +1 -1
  40. package/src/pagination/Pagination.tsx +1 -0
  41. package/src/progress-indicator/ProgressIndicator.tsx +4 -4
  42. package/src/theme/semantic-tokens/shadows.ts +13 -6
@@ -1,5 +1,5 @@
1
1
 
2
- > @vygruppen/spor-react@12.19.0 build /home/runner/work/spor/spor/packages/spor-react
2
+ > @vygruppen/spor-react@12.20.0 build /home/runner/work/spor/spor/packages/spor-react
3
3
  > tsup
4
4
 
5
5
  CLI Building entry: src/index.tsx, src/icons/index.tsx
@@ -11,18 +11,18 @@ CLI Cleaning output folder
11
11
  ESM Build start
12
12
  CJS Build start
13
13
  DTS Build start
14
- CJS dist/index.cjs 321.03 KB
15
- CJS dist/icons/index.cjs 381.00 B
16
- CJS dist/icons/index.cjs.map 157.00 B
17
- CJS dist/index.cjs.map 638.43 KB
18
- CJS ⚡️ Build success in 2666ms
19
- ESM dist/index.mjs 299.20 KB
14
+ ESM dist/index.mjs 313.76 KB
20
15
  ESM dist/icons/index.mjs 110.00 B
16
+ ESM dist/index.mjs.map 668.21 KB
21
17
  ESM dist/icons/index.mjs.map 157.00 B
22
- ESM dist/index.mjs.map 638.43 KB
23
- ESM ⚡️ Build success in 2673ms
24
- DTS ⚡️ Build success in 20756ms
18
+ ESM ⚡️ Build success in 2607ms
19
+ CJS dist/icons/index.cjs 381.00 B
20
+ CJS dist/index.cjs 337.04 KB
21
+ CJS dist/icons/index.cjs.map 157.00 B
22
+ CJS dist/index.cjs.map 668.21 KB
23
+ CJS ⚡️ Build success in 2608ms
24
+ DTS ⚡️ Build success in 18691ms
25
25
  DTS dist/icons/index.d.ts 44.00 B
26
- DTS dist/index.d.ts 155.63 KB
26
+ DTS dist/index.d.ts 158.95 KB
27
27
  DTS dist/icons/index.d.cts 44.00 B
28
- DTS dist/index.d.cts 155.63 KB
28
+ DTS dist/index.d.cts 158.95 KB
@@ -1,12 +1,11 @@
1
1
 
2
- > @vygruppen/spor-react@12.19.0 postinstall /home/runner/work/spor/spor/packages/spor-react
2
+ > @vygruppen/spor-react@12.20.0 postinstall /home/runner/work/spor/spor/packages/spor-react
3
3
  > chakra typegen src/theme/index.ts
4
4
 
5
- [dotenv@17.2.2] injecting env (0) from .env -- tip: 🔐 prevent committing .env to code: https://dotenvx.com/precommit
5
+ [dotenv@17.2.2] injecting env (0) from .env -- tip: 📡 observe env with Radar: https://dotenvx.com/radar
6
6
  ┌ Chakra CLI ⚡️
7
7
  [?25l│
8
- ◒ Generating conditions types...
9
- ◇ ✅ Generated conditions typings
8
+ ◇ Generated conditions typings
10
9
  [?25h[?25l│
11
10
  ◒ Generating recipe types...
12
11
  ◇ ✅ Generated recipe typings
package/CHANGELOG.md CHANGED
@@ -1,5 +1,34 @@
1
1
  # @vygruppen/spor-react
2
2
 
3
+ ## 12.20.0
4
+
5
+ ### Minor Changes
6
+
7
+ - d8fd719: Add ESLint rule to disallow unnecessary curly braces in JSX props.
8
+ Also add rule to prevent abbreviations
9
+
10
+ ### Patch Changes
11
+
12
+ - 1ed4bc2: Added colors that support darkmode to shadow-token
13
+ - Updated dependencies [1ed4bc2]
14
+ - Updated dependencies [d8fd719]
15
+ - @vygruppen/spor-design-tokens@4.3.0
16
+ - @vygruppen/spor-icon-react@4.4.0
17
+
18
+ ## 12.19.1
19
+
20
+ ### Patch Changes
21
+
22
+ - 0174855: ** Calendar **
23
+
24
+ Added a generic Calendar component using react-aria and react-stately from Adobe
25
+ Added a CalendarContext/CalendarProvider to handle control of the calendar, and implemented logic for supporting both single trips and round trips
26
+ Added a ScrollCalendar to support mobile views
27
+
28
+ - Updated dependencies [3079071]
29
+ - @vygruppen/spor-icon-react@4.3.1
30
+ - @vygruppen/spor-design-tokens@4.2.0
31
+
3
32
  ## 12.19.0
4
33
 
5
34
  ### Minor Changes