@vygruppen/spor-react 13.0.3 → 13.1.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 +12 -12
- package/.turbo/turbo-postinstall.log +2 -2
- package/CHANGELOG.md +24 -0
- package/dist/index.cjs +509 -427
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +178 -177
- package/dist/index.d.ts +178 -177
- package/dist/index.mjs +509 -426
- package/dist/index.mjs.map +1 -1
- package/package.json +6 -10
- package/src/alert/AlertIcon.tsx +2 -2
- package/src/alert/ServiceAlert.tsx +2 -1
- package/src/calendar/CalendarCell.tsx +4 -4
- package/src/datepicker/CalendarHeader.tsx +1 -1
- package/src/dialog/Drawer.tsx +1 -1
- package/src/input/CardSelect.tsx +4 -4
- package/src/input/Combobox.tsx +1 -1
- package/src/input/Field.tsx +1 -1
- package/src/input/Menu.tsx +9 -5
- package/src/input/Popover.tsx +9 -7
- package/src/linjetag/LineIcon.tsx +1 -1
- package/src/loader/ColorInlineLoader.tsx +2 -1
- package/src/loader/ColorSpinner.tsx +2 -1
- package/src/loader/ContentLoader.tsx +2 -1
- package/src/loader/DarkFullScreenLoader.tsx +2 -1
- package/src/loader/DarkInlineLoader.tsx +2 -1
- package/src/loader/DarkSpinner.tsx +2 -1
- package/src/loader/LightFullScreenLoader.tsx +2 -1
- package/src/loader/LightInlineLoader.tsx +2 -1
- package/src/loader/LightSpinner.tsx +2 -1
- package/src/loader/Lottie.tsx +3 -2
- package/src/loader/text.ts +15 -0
- package/src/stepper/StepperStep.tsx +2 -2
- package/src/theme/recipes/badge.ts +120 -48
- package/src/theme/recipes/button.ts +22 -22
- package/src/theme/recipes/close-button.ts +2 -2
- package/src/theme/recipes/input.ts +9 -9
- package/src/theme/recipes/link.ts +1 -1
- package/src/theme/recipes/pressable-card.ts +12 -12
- package/src/theme/recipes/skeleton.ts +1 -1
- package/src/theme/recipes/static-card.ts +8 -8
- package/src/theme/semantic-tokens/colors.ts +1 -1
- package/src/theme/slot-recipes/accordion.ts +10 -10
- package/src/theme/slot-recipes/alert-expandable.ts +35 -35
- package/src/theme/slot-recipes/alert-service.ts +10 -10
- package/src/theme/slot-recipes/alert.ts +11 -11
- package/src/theme/slot-recipes/autocomplete.ts +5 -5
- package/src/theme/slot-recipes/breadcrumb.ts +4 -4
- package/src/theme/slot-recipes/checkbox.ts +11 -17
- package/src/theme/slot-recipes/choice-chip.ts +21 -21
- package/src/theme/slot-recipes/datepicker.ts +29 -29
- package/src/theme/slot-recipes/field.ts +3 -3
- package/src/theme/slot-recipes/floating-action-button.ts +14 -14
- package/src/theme/slot-recipes/input-chip.ts +10 -10
- package/src/theme/slot-recipes/listbox.ts +9 -9
- package/src/theme/slot-recipes/media-controller-button.ts +9 -9
- package/src/theme/slot-recipes/menu.ts +7 -7
- package/src/theme/slot-recipes/numeric-stepper.ts +4 -4
- package/src/theme/slot-recipes/pagination.ts +4 -4
- package/src/theme/slot-recipes/popover.ts +4 -4
- package/src/theme/slot-recipes/progress-bar.ts +2 -2
- package/src/theme/slot-recipes/progress-indicator.ts +1 -1
- package/src/theme/slot-recipes/radio-card.ts +11 -11
- package/src/theme/slot-recipes/radio.ts +5 -5
- package/src/theme/slot-recipes/select.ts +16 -16
- package/src/theme/slot-recipes/stepper.ts +5 -5
- package/src/theme/slot-recipes/switch.ts +6 -6
- package/src/theme/slot-recipes/table.ts +2 -2
- package/src/theme/slot-recipes/tabs.ts +18 -18
- package/src/theme/slot-recipes/toast.ts +3 -3
|
@@ -48,10 +48,10 @@ export const tableSlotRecipe = defineSlotRecipe({
|
|
|
48
48
|
backgroundColor: "bg",
|
|
49
49
|
},
|
|
50
50
|
header: {
|
|
51
|
-
backgroundColor: "bg.
|
|
51
|
+
backgroundColor: "bg.brand",
|
|
52
52
|
},
|
|
53
53
|
columnHeader: {
|
|
54
|
-
color: "text.
|
|
54
|
+
color: "text.highlight",
|
|
55
55
|
},
|
|
56
56
|
},
|
|
57
57
|
grey: {
|
|
@@ -63,26 +63,26 @@ export const tabsSlotRecipe = defineSlotRecipe({
|
|
|
63
63
|
variant: {
|
|
64
64
|
core: {
|
|
65
65
|
list: {
|
|
66
|
-
color: "core
|
|
66
|
+
color: "text.core",
|
|
67
67
|
border: "sm",
|
|
68
68
|
},
|
|
69
69
|
trigger: {
|
|
70
|
-
color: "core
|
|
70
|
+
color: "text.core",
|
|
71
71
|
border: "md",
|
|
72
72
|
borderColor: "transparent",
|
|
73
73
|
_hover: {
|
|
74
74
|
outline: "2px solid",
|
|
75
|
-
outlineColor: "core.
|
|
75
|
+
outlineColor: "outline.core.hover",
|
|
76
76
|
outlineOffset: "-2px",
|
|
77
77
|
},
|
|
78
78
|
_active: {
|
|
79
|
-
backgroundColor: "brand.
|
|
80
|
-
color: "brand
|
|
79
|
+
backgroundColor: "surface.brand.active",
|
|
80
|
+
color: "text.brand",
|
|
81
81
|
outline: "none",
|
|
82
82
|
},
|
|
83
83
|
_selected: {
|
|
84
|
-
backgroundColor: "brand
|
|
85
|
-
color: "brand
|
|
84
|
+
backgroundColor: "surface.brand",
|
|
85
|
+
color: "text.brand",
|
|
86
86
|
_hover: {
|
|
87
87
|
outline: "none",
|
|
88
88
|
},
|
|
@@ -95,29 +95,29 @@ export const tabsSlotRecipe = defineSlotRecipe({
|
|
|
95
95
|
},
|
|
96
96
|
accent: {
|
|
97
97
|
list: {
|
|
98
|
-
backgroundColor: "accent
|
|
99
|
-
color: "accent
|
|
98
|
+
backgroundColor: "bg.accent",
|
|
99
|
+
color: "text.accent",
|
|
100
100
|
},
|
|
101
101
|
trigger: {
|
|
102
|
-
color: "accent
|
|
102
|
+
color: "text.accent",
|
|
103
103
|
|
|
104
104
|
_disabled: {
|
|
105
105
|
backgroundColor: "surface.disabled",
|
|
106
106
|
color: "icon.disabled",
|
|
107
107
|
},
|
|
108
108
|
_hover: {
|
|
109
|
-
backgroundColor: "accent.
|
|
109
|
+
backgroundColor: "surface.accent.hover",
|
|
110
110
|
_active: {
|
|
111
|
-
backgroundColor: "brand.
|
|
112
|
-
color: "brand
|
|
111
|
+
backgroundColor: "surface.brand.active",
|
|
112
|
+
color: "text.brand",
|
|
113
113
|
},
|
|
114
114
|
},
|
|
115
115
|
_selected: {
|
|
116
|
-
backgroundColor: "brand
|
|
117
|
-
color: "brand
|
|
116
|
+
backgroundColor: "surface.brand",
|
|
117
|
+
color: "text.brand",
|
|
118
118
|
_hover: {
|
|
119
|
-
backgroundColor: "brand.
|
|
120
|
-
color: "brand
|
|
119
|
+
backgroundColor: "surface.brand.hover",
|
|
120
|
+
color: "text.brand",
|
|
121
121
|
outline: "none",
|
|
122
122
|
},
|
|
123
123
|
},
|
|
@@ -165,7 +165,7 @@ export const tabsSlotRecipe = defineSlotRecipe({
|
|
|
165
165
|
paddingX: 3,
|
|
166
166
|
_focus: {
|
|
167
167
|
border: "md",
|
|
168
|
-
borderColor: "accent
|
|
168
|
+
borderColor: "surface.accent",
|
|
169
169
|
},
|
|
170
170
|
},
|
|
171
171
|
},
|
|
@@ -29,14 +29,14 @@ export const toastSlotRecipe = defineSlotRecipe({
|
|
|
29
29
|
|
|
30
30
|
color: "text",
|
|
31
31
|
"&[data-type=success]": {
|
|
32
|
-
backgroundColor: "
|
|
32
|
+
backgroundColor: "surface.success",
|
|
33
33
|
},
|
|
34
34
|
"&[data-type=error]": {
|
|
35
|
-
backgroundColor: "
|
|
35
|
+
backgroundColor: "surface.critical",
|
|
36
36
|
},
|
|
37
37
|
|
|
38
38
|
"&[data-type=info]": {
|
|
39
|
-
backgroundColor: "
|
|
39
|
+
backgroundColor: "surface.info",
|
|
40
40
|
},
|
|
41
41
|
},
|
|
42
42
|
|