@vygruppen/spor-react 12.1.2 → 12.2.1
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 +31 -12
- package/.turbo/turbo-typegen.log +19 -1
- package/CHANGELOG.md +14 -0
- package/dist/index.d.mts +189 -243
- package/dist/index.d.ts +189 -243
- package/dist/index.js +2485 -2072
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2376 -1972
- package/dist/index.mjs.map +1 -1
- package/package.json +3 -3
- package/src/accordion/Accordion.tsx +2 -1
- package/src/accordion/Expandable.tsx +3 -1
- package/src/accordion/helpers.ts +2 -1
- package/src/alert/Alert.tsx +3 -1
- package/src/alert/AlertIcon.tsx +17 -10
- package/src/alert/ExpandableAlert.tsx +3 -2
- package/src/alert/ServiceAlert.tsx +2 -1
- package/src/breadcrumb/Breadcrumb.tsx +9 -8
- package/src/button/Button.tsx +2 -1
- package/src/button/ButtonGroup.tsx +2 -1
- package/src/button/Clipboard.tsx +3 -0
- package/src/button/CloseButton.tsx +8 -4
- package/src/button/FloatingActionButton.tsx +5 -5
- package/src/button/IconButton.tsx +1 -0
- package/src/color-mode/color-mode.tsx +2 -2
- package/src/datepicker/Calendar.tsx +0 -1
- package/src/datepicker/CalendarCell.tsx +5 -5
- package/src/datepicker/CalendarGrid.tsx +3 -2
- package/src/datepicker/CalendarHeader.tsx +1 -4
- package/src/datepicker/CalendarTriggerButton.tsx +3 -4
- package/src/datepicker/DateField.tsx +13 -6
- package/src/datepicker/DatePicker.tsx +2 -1
- package/src/datepicker/DateRangePicker.tsx +1 -1
- package/src/datepicker/DateTimeSegment.tsx +2 -1
- package/src/datepicker/RangeCalendar.tsx +1 -1
- package/src/datepicker/StyledField.tsx +1 -1
- package/src/datepicker/TimeField.tsx +3 -3
- package/src/datepicker/TimePicker.tsx +4 -2
- package/src/datepicker/utils.ts +10 -5
- package/src/dialog/Dialog.tsx +1 -0
- package/src/dialog/Drawer.tsx +28 -26
- package/src/i18n/index.tsx +1 -0
- package/src/input/AttachedInputs.tsx +6 -3
- package/src/input/CardSelect.tsx +3 -1
- package/src/input/Checkbox.tsx +1 -0
- package/src/input/CheckboxGroup.tsx +3 -1
- package/src/input/ChoiceChip.tsx +39 -66
- package/src/input/Combobox.tsx +6 -4
- package/src/input/CountryCodeSelect.tsx +10 -4
- package/src/input/Field.tsx +2 -0
- package/src/input/Input.tsx +2 -3
- package/src/input/InputGroup.tsx +1 -1
- package/src/input/ListBox.tsx +9 -8
- package/src/input/NativeSelect.tsx +1 -2
- package/src/input/NumericStepper.tsx +22 -23
- package/src/input/PasswordInput.tsx +2 -1
- package/src/input/PhoneNumberInput.tsx +6 -2
- package/src/input/Popover.tsx +2 -0
- package/src/input/Radio.tsx +2 -0
- package/src/input/SearchInput.tsx +2 -1
- package/src/input/Select.tsx +8 -2
- package/src/input/Switch.tsx +22 -34
- package/src/input/Textarea.tsx +6 -4
- package/src/input/index.ts +1 -1
- package/src/layout/PressableCard.tsx +5 -2
- package/src/layout/RadioCard.tsx +3 -1
- package/src/layout/Separator.tsx +2 -1
- package/src/layout/StaticCard.tsx +6 -3
- package/src/linjetag/InfoTag.tsx +3 -2
- package/src/linjetag/LineIcon.tsx +5 -4
- package/src/linjetag/TravelTag.tsx +12 -8
- package/src/link/TextLink.tsx +1 -1
- package/src/loader/ColorInlineLoader.tsx +0 -1
- package/src/loader/ColorSpinner.tsx +0 -1
- package/src/loader/ContentLoader.tsx +0 -1
- package/src/loader/DarkFullScreenLoader.tsx +0 -1
- package/src/loader/DarkInlineLoader.tsx +0 -1
- package/src/loader/DarkSpinner.tsx +0 -1
- package/src/loader/LightFullScreenLoader.tsx +0 -1
- package/src/loader/LightInlineLoader.tsx +0 -1
- package/src/loader/LightSpinner.tsx +0 -1
- package/src/loader/Lottie.tsx +1 -2
- package/src/loader/ProgressBar.tsx +1 -2
- package/src/loader/ProgressLoader.tsx +2 -7
- package/src/logo/CargonetLogo.tsx +2 -1
- package/src/logo/VyLogo.tsx +3 -4
- package/src/logo/VyLogoPride.tsx +4 -1
- package/src/media-controller/JumpButton.tsx +2 -1
- package/src/media-controller/PlayPauseButton.tsx +2 -1
- package/src/media-controller/SkipButton.tsx +2 -1
- package/src/nudge/Nudge.tsx +7 -14
- package/src/pagination/Pagination.tsx +5 -0
- package/src/popover/index.tsx +2 -0
- package/src/progress-indicator/ProgressDot.tsx +1 -1
- package/src/progress-indicator/ProgressIndicator.tsx +4 -2
- package/src/provider/SporProvider.tsx +0 -1
- package/src/stepper/Stepper.tsx +1 -1
- package/src/tab/Tabs.tsx +1 -1
- package/src/table/Table.tsx +2 -1
- package/src/theme/slot-recipes/alert-expandable.ts +0 -4
- package/src/theme/slot-recipes/anatomy.ts +10 -0
- package/src/theme/slot-recipes/choice-chip.ts +183 -0
- package/src/theme/slot-recipes/index.ts +2 -0
- package/src/theme/slot-recipes/info-tag.ts +0 -1
- package/src/theme/slot-recipes/popover.ts +0 -1
- package/src/theme/slot-recipes/radio-card.ts +0 -3
- package/src/theme/utils/accent-utils.ts +12 -6
- package/src/theme/utils/bg-utils.ts +6 -3
- package/src/theme/utils/brand-utils.ts +7 -7
- package/src/theme/utils/core-utils.ts +23 -13
- package/src/theme/utils/floating-utils.ts +16 -8
- package/src/theme/utils/ghost-utils.ts +8 -4
- package/src/theme/utils/input-utils.ts +7 -4
- package/src/theme/utils/outline-utils.ts +6 -3
- package/src/theme/utils/surface-utils.ts +8 -4
- package/src/toast/toast.tsx +0 -1
- package/src/typography/Badge.tsx +8 -5
- package/src/typography/Heading.tsx +1 -1
- package/src/typography/Text.tsx +1 -1
- package/src/util/slugify.tsx +8 -8
- package/tsconfig.json +1 -0
- package/src/theme/recipes/choice-chip.ts +0 -144
package/.turbo/turbo-build.log
CHANGED
@@ -1,12 +1,30 @@
|
|
1
1
|
|
2
|
-
> @vygruppen/spor-react@12.1
|
2
|
+
> @vygruppen/spor-react@12.2.1 build /home/runner/work/spor/spor/packages/spor-react
|
3
3
|
> pnpm typegen && tsup
|
4
4
|
|
5
5
|
|
6
|
-
> @vygruppen/spor-react@12.1
|
6
|
+
> @vygruppen/spor-react@12.2.1 typegen /home/runner/work/spor/spor/packages/spor-react
|
7
7
|
> npx @chakra-ui/cli typegen src/theme/index.ts
|
8
8
|
|
9
9
|
[90m┌[39m Chakra CLI ⚡️
|
10
|
+
▲ [WARNING] The condition "types" here will never be used as it comes after both "import" and "require" [package.json]
|
11
|
+
|
12
|
+
../spor-design-tokens/package.json:15:6:
|
13
|
+
15 │ "types": "./dist/tokens.d.ts"
|
14
|
+
╵ ~~~~~~~
|
15
|
+
|
16
|
+
The "import" condition comes earlier and will be used for all "import" statements:
|
17
|
+
|
18
|
+
../spor-design-tokens/package.json:13:6:
|
19
|
+
13 │ "import": "./dist/tokens.mjs",
|
20
|
+
╵ ~~~~~~~~
|
21
|
+
|
22
|
+
The "require" condition comes earlier and will be used for all "require" calls:
|
23
|
+
|
24
|
+
../spor-design-tokens/package.json:14:6:
|
25
|
+
14 │ "require": "./dist/tokens.js",
|
26
|
+
╵ ~~~~~~~~~
|
27
|
+
|
10
28
|
[?25l[90m│[39m
|
11
29
|
[35m◒[39m Generating conditions types...
|
12
30
|
[999D[J[32m◇[39m ✅ Generated conditions typings
|
@@ -16,7 +34,8 @@
|
|
16
34
|
[?25h[?25l[90m│[39m
|
17
35
|
[32m◇[39m ✅ Generated utility typings
|
18
36
|
[?25h[?25l[90m│[39m
|
19
|
-
[
|
37
|
+
[35m◒[39m Generating token types...
|
38
|
+
[999D[J[32m◇[39m ✅ Generated token typings
|
20
39
|
[?25h[?25l[90m│[39m
|
21
40
|
[35m◒[39m Generating system types...
|
22
41
|
[999D[J[32m◇[39m ✅ Generated system types
|
@@ -31,12 +50,12 @@ CLI Target: node16
|
|
31
50
|
CJS Build start
|
32
51
|
ESM Build start
|
33
52
|
DTS Build start
|
34
|
-
CJS dist/index.js 313.
|
35
|
-
CJS dist/index.js.map
|
36
|
-
CJS ⚡️ Build success in
|
37
|
-
ESM dist/index.mjs
|
38
|
-
ESM dist/index.mjs.map
|
39
|
-
ESM ⚡️ Build success in
|
40
|
-
DTS ⚡️ Build success in
|
41
|
-
DTS dist/index.d.ts
|
42
|
-
DTS dist/index.d.mts
|
53
|
+
CJS dist/index.js 313.49 KB
|
54
|
+
CJS dist/index.js.map 630.43 KB
|
55
|
+
CJS ⚡️ Build success in 2275ms
|
56
|
+
ESM dist/index.mjs 292.98 KB
|
57
|
+
ESM dist/index.mjs.map 630.43 KB
|
58
|
+
ESM ⚡️ Build success in 2276ms
|
59
|
+
DTS ⚡️ Build success in 25335ms
|
60
|
+
DTS dist/index.d.ts 130.88 KB
|
61
|
+
DTS dist/index.d.mts 130.88 KB
|
package/.turbo/turbo-typegen.log
CHANGED
@@ -1,8 +1,26 @@
|
|
1
1
|
|
2
|
-
> @vygruppen/spor-react@12.1
|
2
|
+
> @vygruppen/spor-react@12.2.1 typegen /home/runner/work/spor/spor/packages/spor-react
|
3
3
|
> npx @chakra-ui/cli typegen src/theme/index.ts
|
4
4
|
|
5
5
|
[90m┌[39m Chakra CLI ⚡️
|
6
|
+
▲ [WARNING] The condition "types" here will never be used as it comes after both "import" and "require" [package.json]
|
7
|
+
|
8
|
+
../spor-design-tokens/package.json:15:6:
|
9
|
+
15 │ "types": "./dist/tokens.d.ts"
|
10
|
+
╵ ~~~~~~~
|
11
|
+
|
12
|
+
The "import" condition comes earlier and will be used for all "import" statements:
|
13
|
+
|
14
|
+
../spor-design-tokens/package.json:13:6:
|
15
|
+
13 │ "import": "./dist/tokens.mjs",
|
16
|
+
╵ ~~~~~~~~
|
17
|
+
|
18
|
+
The "require" condition comes earlier and will be used for all "require" calls:
|
19
|
+
|
20
|
+
../spor-design-tokens/package.json:14:6:
|
21
|
+
14 │ "require": "./dist/tokens.js",
|
22
|
+
╵ ~~~~~~~~~
|
23
|
+
|
6
24
|
[?25l[90m│[39m
|
7
25
|
[35m◒[39m Generating conditions types...
|
8
26
|
[999D[J[32m◇[39m ✅ Generated conditions typings
|
package/CHANGELOG.md
CHANGED
@@ -1,5 +1,19 @@
|
|
1
1
|
# @vygruppen/spor-react
|
2
2
|
|
3
|
+
## 12.2.1
|
4
|
+
|
5
|
+
### Patch Changes
|
6
|
+
|
7
|
+
- 9bc98dd: Rewrite choice-chip. Fixes error where it stalls applications. No breaking changes to props.
|
8
|
+
- Updated dependencies [04498c3]
|
9
|
+
- @vygruppen/spor-icon-react@4.0.4
|
10
|
+
|
11
|
+
## 12.2.0
|
12
|
+
|
13
|
+
### Minor Changes
|
14
|
+
|
15
|
+
- b1fe230: Add filter for available country codes for PhoneNumberInput
|
16
|
+
|
3
17
|
## 12.1.2
|
4
18
|
|
5
19
|
### Patch Changes
|