@vygruppen/spor-react 6.2.3 → 7.0.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 (44) hide show
  1. package/.turbo/turbo-build.log +10 -10
  2. package/CHANGELOG.md +14 -0
  3. package/dist/{CountryCodeSelect-QZYP3GSD.mjs → CountryCodeSelect-OK6RZ6AY.mjs} +1 -1
  4. package/dist/{chunk-YFZOYRGT.mjs → chunk-CYU6YFQK.mjs} +166 -641
  5. package/dist/index.d.mts +483 -497
  6. package/dist/index.d.ts +483 -497
  7. package/dist/index.js +195 -672
  8. package/dist/index.mjs +1 -1
  9. package/package.json +1 -1
  10. package/src/button/Button.tsx +4 -4
  11. package/src/input/NumericStepper.tsx +0 -4
  12. package/src/theme/components/accordion.ts +4 -15
  13. package/src/theme/components/breadcrumb.ts +2 -14
  14. package/src/theme/components/button.ts +5 -55
  15. package/src/theme/components/card-select.ts +11 -26
  16. package/src/theme/components/card.ts +2 -18
  17. package/src/theme/components/checkbox.ts +4 -12
  18. package/src/theme/components/choice-chip.ts +2 -11
  19. package/src/theme/components/close-button.ts +2 -14
  20. package/src/theme/components/code.ts +1 -1
  21. package/src/theme/components/datepicker.ts +14 -65
  22. package/src/theme/components/drawer.ts +7 -7
  23. package/src/theme/components/fab.ts +6 -63
  24. package/src/theme/components/form-label.ts +1 -1
  25. package/src/theme/components/form.ts +1 -1
  26. package/src/theme/components/info-select.ts +5 -35
  27. package/src/theme/components/info-tag.ts +1 -1
  28. package/src/theme/components/input.ts +9 -31
  29. package/src/theme/components/link.ts +5 -29
  30. package/src/theme/components/listbox.ts +3 -5
  31. package/src/theme/components/media-controller-button.ts +5 -46
  32. package/src/theme/components/modal.ts +7 -7
  33. package/src/theme/components/popover.ts +7 -15
  34. package/src/theme/components/progress-indicator.ts +1 -5
  35. package/src/theme/components/radio.ts +5 -11
  36. package/src/theme/components/select.ts +2 -2
  37. package/src/theme/components/stepper.ts +6 -6
  38. package/src/theme/components/switch.ts +5 -73
  39. package/src/theme/components/table.ts +18 -18
  40. package/src/theme/components/tabs.ts +11 -14
  41. package/src/theme/components/travel-tag.ts +2 -15
  42. package/src/theme/utils/focus-util.ts +10 -0
  43. package/tsconfig.json +2 -2
  44. package/src/theme/utils/focus-utils.ts +0 -16
@@ -1,5 +1,5 @@
1
1
 
2
- > @vygruppen/spor-react@6.2.3 build
2
+ > @vygruppen/spor-react@7.0.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
- "Collapse" is imported from external module "@chakra-ui/react" but never used in "dist/chunk-YFZOYRGT.mjs".
11
+ "Collapse" is imported from external module "@chakra-ui/react" but never used in "dist/chunk-CYU6YFQK.mjs".
12
12
  "Collapse" is imported from external module "@chakra-ui/react" but never used in "dist/index.js".
13
13
  DTS Build start
14
14
  ESM dist/index.mjs 2.16 KB
15
- ESM dist/CountryCodeSelect-QZYP3GSD.mjs 1.19 KB
16
- ESM dist/chunk-YFZOYRGT.mjs 397.81 KB
17
- ESM ⚡️ Build success in 2180ms
18
- CJS dist/index.js 507.18 KB
19
- CJS ⚡️ Build success in 2181ms
20
- DTS ⚡️ Build success in 12024ms
21
- DTS dist/index.d.ts 267.08 KB
22
- DTS dist/index.d.mts 267.08 KB
15
+ ESM dist/CountryCodeSelect-OK6RZ6AY.mjs 1.19 KB
16
+ ESM dist/chunk-CYU6YFQK.mjs 385.72 KB
17
+ ESM ⚡️ Build success in 2175ms
18
+ CJS dist/index.js 492.77 KB
19
+ CJS ⚡️ Build success in 2175ms
20
+ DTS ⚡️ Build success in 10809ms
21
+ DTS dist/index.d.ts 262.80 KB
22
+ DTS dist/index.d.mts 262.80 KB
package/CHANGELOG.md CHANGED
@@ -1,5 +1,19 @@
1
1
  # @vygruppen/spor-react
2
2
 
3
+ ## 7.0.0
4
+
5
+ ### Major Changes
6
+
7
+ - 6e1c175: New focus styles!
8
+
9
+ This release simplifies our focus styles a bunch, making it easier to use our components with your keyboard or other assistive technologies.
10
+
11
+ The change isn't breaking per-se, but it's a pretty big visual change, so you might want to look through your application before you upgrade.
12
+
13
+ ### Patch Changes
14
+
15
+ - 78b1cd0: Button: Make the text centered when the width is full
16
+
3
17
  ## 6.2.3
4
18
 
5
19
  ### Patch Changes
@@ -1,4 +1,4 @@
1
- import { createTexts, useTranslation, InfoSelect, Item } from './chunk-YFZOYRGT.mjs';
1
+ import { createTexts, useTranslation, InfoSelect, Item } from './chunk-CYU6YFQK.mjs';
2
2
  import React from 'react';
3
3
  import { getSupportedCallingCodes } from 'awesome-phonenumber';
4
4