@vygruppen/spor-react 8.2.1 → 9.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.
- package/.turbo/turbo-build.log +10 -12
- package/CHANGELOG.md +34 -0
- package/dist/{CountryCodeSelect-NEASN3EC.mjs → CountryCodeSelect-LFDBAHV7.mjs} +1 -1
- package/dist/{chunk-AKOJGLTQ.mjs → chunk-BWLVKMWU.mjs} +1262 -1785
- package/dist/index.d.mts +1664 -813
- package/dist/index.d.ts +1664 -813
- package/dist/index.js +1551 -2011
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/src/accordion/Expandable.tsx +22 -2
- package/src/breadcrumb/Breadcrumb.tsx +4 -2
- package/src/datepicker/DateRangePicker.tsx +1 -0
- package/src/input/ChoiceChip.tsx +3 -3
- package/src/input/NumericStepper.tsx +7 -49
- package/src/input/PasswordInput.tsx +2 -0
- package/src/input/PhoneNumberInput.tsx +1 -1
- package/src/input/Switch.tsx +4 -7
- package/src/loader/ProgressBar.tsx +7 -24
- package/src/tab/Tabs.tsx +4 -5
- package/src/theme/components/accordion.ts +12 -16
- package/src/theme/components/alert-expandable.ts +10 -21
- package/src/theme/components/breadcrumb.ts +60 -5
- package/src/theme/components/button.ts +40 -75
- package/src/theme/components/card-select.ts +14 -56
- package/src/theme/components/card.ts +56 -63
- package/src/theme/components/checkbox.ts +20 -20
- package/src/theme/components/choice-chip.ts +28 -43
- package/src/theme/components/close-button.ts +1 -1
- package/src/theme/components/datepicker.ts +48 -166
- package/src/theme/components/drawer.ts +6 -4
- package/src/theme/components/fab.ts +35 -62
- package/src/theme/components/index.ts +3 -1
- package/src/theme/components/info-select.ts +5 -9
- package/src/theme/components/input.ts +17 -32
- package/src/theme/components/link.ts +8 -8
- package/src/theme/components/listbox.ts +5 -7
- package/src/theme/components/media-controller-button.ts +20 -25
- package/src/theme/components/modal.ts +8 -6
- package/src/theme/components/numeric-stepper.ts +65 -0
- package/src/theme/components/popover.ts +7 -8
- package/src/theme/components/progress-bar.ts +43 -0
- package/src/theme/components/progress-indicator.ts +5 -2
- package/src/theme/components/radio.ts +15 -12
- package/src/theme/components/select.ts +2 -2
- package/src/theme/components/stepper.ts +10 -7
- package/src/theme/components/switch.ts +35 -82
- package/src/theme/components/table.ts +10 -12
- package/src/theme/components/tabs.ts +55 -261
- package/src/theme/components/travel-tag.ts +3 -6
- package/src/theme/foundations/colors.ts +3 -1
- package/src/theme/foundations/fonts.ts +2 -2
- package/src/theme/index.ts +9 -6
- package/src/theme/utils/accent-utils.ts +54 -0
- package/src/theme/utils/base-utils.ts +94 -0
- package/src/theme/utils/bg-utils.ts +19 -0
- package/src/theme/utils/brand-utils.ts +42 -0
- package/src/theme/utils/floating-utils.ts +64 -0
- package/src/theme/utils/{focus-util.ts → focus-utils.ts} +1 -1
- package/src/theme/utils/ghost-utils.ts +40 -0
- package/src/theme/utils/surface-utils.ts +35 -0
- package/src/tooltip/Tooltip.tsx +17 -20
- package/src/typography/Heading.tsx +7 -2
- package/src/util/externals.tsx +0 -1
- package/src/theme/utils/background-utils.ts +0 -179
- package/src/theme/utils/border-utils.ts +0 -176
- package/src/theme/utils/box-shadow-utils.ts +0 -44
- package/src/theme/utils/text-utils.ts +0 -60
package/.turbo/turbo-build.log
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
|
2
|
-
> @vygruppen/spor-react@
|
2
|
+
> @vygruppen/spor-react@9.0.0 build
|
3
3
|
> tsup src/index.tsx --dts --treeshake --format cjs,esm
|
4
4
|
|
5
5
|
[34mCLI[39m Building entry: src/index.tsx
|
@@ -8,15 +8,13 @@
|
|
8
8
|
[34mCLI[39m Target: node16
|
9
9
|
[34mCJS[39m Build start
|
10
10
|
[34mESM[39m Build start
|
11
|
-
"Collapse" is imported from external module "@chakra-ui/react" but never used in "dist/index.js".
|
12
11
|
[34mDTS[39m Build start
|
13
|
-
|
14
|
-
[32mCJS[39m
|
15
|
-
[
|
16
|
-
[32mESM[39m [1mdist/
|
17
|
-
[32mESM[39m [1mdist/
|
18
|
-
[32mESM[39m
|
19
|
-
[
|
20
|
-
[32mDTS[39m
|
21
|
-
[32mDTS[39m [1mdist/index.d.
|
22
|
-
[32mDTS[39m [1mdist/index.d.mts [22m[32m271.48 KB[39m
|
12
|
+
[32mCJS[39m [1mdist/index.js [22m[32m487.65 KB[39m
|
13
|
+
[32mCJS[39m ⚡️ Build success in 2158ms
|
14
|
+
[32mESM[39m [1mdist/index.mjs [22m[32m2.02 KB[39m
|
15
|
+
[32mESM[39m [1mdist/CountryCodeSelect-LFDBAHV7.mjs [22m[32m1.19 KB[39m
|
16
|
+
[32mESM[39m [1mdist/chunk-BWLVKMWU.mjs [22m[32m381.71 KB[39m
|
17
|
+
[32mESM[39m ⚡️ Build success in 2159ms
|
18
|
+
[32mDTS[39m ⚡️ Build success in 11050ms
|
19
|
+
[32mDTS[39m [1mdist/index.d.ts [22m[32m307.91 KB[39m
|
20
|
+
[32mDTS[39m [1mdist/index.d.mts [22m[32m307.91 KB[39m
|
package/CHANGELOG.md
CHANGED
@@ -1,5 +1,39 @@
|
|
1
1
|
# @vygruppen/spor-react
|
2
2
|
|
3
|
+
## 9.0.0
|
4
|
+
|
5
|
+
### Major Changes
|
6
|
+
|
7
|
+
- e4945e6: ### Major Changes
|
8
|
+
|
9
|
+
There was a need to change some sizing props to be consistent through the designsystem.
|
10
|
+
|
11
|
+
Sizes that used to be "sm, md, lg, xl" are now "xs, sm, md, lg".
|
12
|
+
|
13
|
+
To migrate, change size
|
14
|
+
|
15
|
+
- "sm" to "xs",
|
16
|
+
- "md" to "sm",
|
17
|
+
- "lg" to "md",
|
18
|
+
- and "xl" to "lg".
|
19
|
+
|
20
|
+
Affected components are:
|
21
|
+
|
22
|
+
- ChoiceChip
|
23
|
+
- Tabs
|
24
|
+
|
25
|
+
- f5194ff: Tabs: The `colorScheme` prop is removed. The `variant` prop is now either `base` or `accent`. To migrate, remove the `colorScheme` prop, and set the `variant` prop to either `base` (the default) or `accent`.
|
26
|
+
|
27
|
+
Switch: The `variant` prop is removed. To migrate, remove the `variant` prop.
|
28
|
+
|
29
|
+
## 8.3.0
|
30
|
+
|
31
|
+
### Minor Changes
|
32
|
+
|
33
|
+
- f984752: Expandable: Add defaultOpen, isOpen and onChange props, and remove undocumented defaultIndex and index props.
|
34
|
+
|
35
|
+
This might be breaking if you were using these props, so make sure to double check while updating.
|
36
|
+
|
3
37
|
## 8.2.1
|
4
38
|
|
5
39
|
### Patch Changes
|