@vygruppen/spor-react 12.4.0 → 12.4.2
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 +8 -8
- package/.turbo/turbo-postinstall.log +1 -1
- package/CHANGELOG.md +13 -0
- package/dist/index.js +15 -3
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +15 -3
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/input/CountryCodeSelect.tsx +1 -1
- package/src/input/PhoneNumberInput.tsx +1 -1
- package/src/theme/slot-recipes/select.ts +12 -1
package/.turbo/turbo-build.log
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
|
2
|
-
> @vygruppen/spor-react@12.4.
|
2
|
+
> @vygruppen/spor-react@12.4.2 build /home/runner/work/spor/spor/packages/spor-react
|
3
3
|
> tsup
|
4
4
|
|
5
5
|
CLI Building entry: src/index.tsx
|
@@ -10,12 +10,12 @@ CLI Target: node16
|
|
10
10
|
CJS Build start
|
11
11
|
ESM Build start
|
12
12
|
DTS Build start
|
13
|
-
ESM dist/index.mjs
|
14
|
-
ESM dist/index.mjs.map 633.
|
15
|
-
ESM ⚡️ Build success in
|
16
|
-
CJS dist/index.js 315.
|
17
|
-
CJS dist/index.js.map 633.
|
18
|
-
CJS ⚡️ Build success in
|
19
|
-
DTS ⚡️ Build success in
|
13
|
+
ESM dist/index.mjs 295.23 KB
|
14
|
+
ESM dist/index.mjs.map 633.84 KB
|
15
|
+
ESM ⚡️ Build success in 2672ms
|
16
|
+
CJS dist/index.js 315.85 KB
|
17
|
+
CJS dist/index.js.map 633.84 KB
|
18
|
+
CJS ⚡️ Build success in 2680ms
|
19
|
+
DTS ⚡️ Build success in 26746ms
|
20
20
|
DTS dist/index.d.ts 126.10 KB
|
21
21
|
DTS dist/index.d.mts 126.10 KB
|
package/CHANGELOG.md
CHANGED
@@ -1,5 +1,18 @@
|
|
1
1
|
# @vygruppen/spor-react
|
2
2
|
|
3
|
+
## 12.4.2
|
4
|
+
|
5
|
+
### Patch Changes
|
6
|
+
|
7
|
+
- d96b924: Revert exporting icons, which caused issues with tokens with remix.
|
8
|
+
|
9
|
+
## 12.4.1
|
10
|
+
|
11
|
+
### Patch Changes
|
12
|
+
|
13
|
+
- 184803a: Support exporting icons directly from spor, which seems to fix SSR issues for icons.
|
14
|
+
- 812afc9: CountryCodeSelect: Fixed onValueChange and UU styling in select.
|
15
|
+
|
3
16
|
## 12.4.0
|
4
17
|
|
5
18
|
### Minor Changes
|
package/dist/index.js
CHANGED
@@ -4181,7 +4181,7 @@ var CountryCodeSelect = React28.forwardRef((props, ref) => {
|
|
4181
4181
|
lazyMount: true,
|
4182
4182
|
"aria-label": t(texts15.countryCode),
|
4183
4183
|
variant: "rightSideSquare",
|
4184
|
-
children: callingCodes.items.map((code) => /* @__PURE__ */ jsxRuntime.jsx(SelectItem, { item: code, children: code.label }, code.label))
|
4184
|
+
children: callingCodes.items.map((code) => /* @__PURE__ */ jsxRuntime.jsx(SelectItem, { as: "option", item: code, children: code.label }, code.label))
|
4185
4185
|
}
|
4186
4186
|
);
|
4187
4187
|
});
|
@@ -4250,6 +4250,7 @@ var PhoneNumberInput = React28.forwardRef((props, ref) => {
|
|
4250
4250
|
{
|
4251
4251
|
ref,
|
4252
4252
|
type: "tel",
|
4253
|
+
...props,
|
4253
4254
|
value: value.nationalNumber,
|
4254
4255
|
invalid,
|
4255
4256
|
errorText,
|
@@ -4263,7 +4264,6 @@ var PhoneNumberInput = React28.forwardRef((props, ref) => {
|
|
4263
4264
|
},
|
4264
4265
|
variant,
|
4265
4266
|
"data-state": "on",
|
4266
|
-
...props,
|
4267
4267
|
label
|
4268
4268
|
}
|
4269
4269
|
)
|
@@ -9308,7 +9308,8 @@ var selectSlotRecipe = react.defineSlotRecipe({
|
|
9308
9308
|
_open: {
|
9309
9309
|
animationStyle: "slide-fade-in",
|
9310
9310
|
animationDuration: "fast",
|
9311
|
-
zIndex: "popover"
|
9311
|
+
zIndex: "popover",
|
9312
|
+
outline: "none"
|
9312
9313
|
},
|
9313
9314
|
_closed: {
|
9314
9315
|
animationStyle: "slide-fade-out",
|
@@ -9328,6 +9329,17 @@ var selectSlotRecipe = react.defineSlotRecipe({
|
|
9328
9329
|
color: "ghost.text",
|
9329
9330
|
cursor: "pointer",
|
9330
9331
|
outline: "none",
|
9332
|
+
"&[data-highlighted]:hover": {
|
9333
|
+
outlineOffset: "2px",
|
9334
|
+
outline: "2px solid",
|
9335
|
+
outlineColor: "outline.focus",
|
9336
|
+
backgroundColor: "ghost.surface.hover"
|
9337
|
+
},
|
9338
|
+
"&[data-highlighted]": {
|
9339
|
+
outlineOffset: "2px",
|
9340
|
+
outline: "2px solid",
|
9341
|
+
outlineColor: "outline.focus"
|
9342
|
+
},
|
9331
9343
|
_active: {
|
9332
9344
|
backgroundColor: "ghost.surface.active",
|
9333
9345
|
color: "green"
|