@vygruppen/spor-react 12.4.11 → 12.4.13
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 +6 -6
- package/.turbo/turbo-postinstall.log +1 -1
- package/CHANGELOG.md +12 -0
- package/dist/index.d.mts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +5 -5
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +5 -5
- package/dist/index.mjs.map +1 -1
- package/package.json +3 -3
- package/src/input/Combobox.tsx +7 -6
- package/src/theme/slot-recipes/alert.ts +0 -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.13 build /home/runner/work/spor/spor/packages/spor-react
|
3
3
|
> tsup
|
4
4
|
|
5
5
|
CLI Building entry: src/index.tsx, src/icons/index.tsx
|
@@ -10,17 +10,17 @@ CLI Target: node16
|
|
10
10
|
CJS Build start
|
11
11
|
ESM Build start
|
12
12
|
DTS Build start
|
13
|
-
ESM dist/index.mjs 289.95 KB
|
14
13
|
ESM dist/icons/index.mjs 110.00 B
|
15
|
-
ESM dist/index.mjs.
|
14
|
+
ESM dist/index.mjs 289.96 KB
|
16
15
|
ESM dist/icons/index.mjs.map 157.00 B
|
17
|
-
ESM
|
16
|
+
ESM dist/index.mjs.map 621.93 KB
|
17
|
+
ESM ⚡️ Build success in 2713ms
|
18
18
|
CJS dist/index.js 310.49 KB
|
19
19
|
CJS dist/icons/index.js 380.00 B
|
20
20
|
CJS dist/index.js.map 621.93 KB
|
21
21
|
CJS dist/icons/index.js.map 157.00 B
|
22
|
-
CJS ⚡️ Build success in
|
23
|
-
DTS ⚡️ Build success in
|
22
|
+
CJS ⚡️ Build success in 2715ms
|
23
|
+
DTS ⚡️ Build success in 29044ms
|
24
24
|
DTS dist/icons/index.d.ts 44.00 B
|
25
25
|
DTS dist/index.d.ts 154.57 KB
|
26
26
|
DTS dist/icons/index.d.mts 44.00 B
|
package/CHANGELOG.md
CHANGED
@@ -1,5 +1,17 @@
|
|
1
1
|
# @vygruppen/spor-react
|
2
2
|
|
3
|
+
## 12.4.13
|
4
|
+
|
5
|
+
### Patch Changes
|
6
|
+
|
7
|
+
- 321972c: Changed lefticon to leftIcon and added it to Input
|
8
|
+
|
9
|
+
## 12.4.12
|
10
|
+
|
11
|
+
### Patch Changes
|
12
|
+
|
13
|
+
- a37407a: Remove maxWidth of 300px for alerts
|
14
|
+
|
3
15
|
## 12.4.11
|
4
16
|
|
5
17
|
### Patch Changes
|
package/dist/index.d.mts
CHANGED
@@ -1144,8 +1144,8 @@ type ComboboxProps<T> = Exclude<InputProps, "variant" | "colorPalette" | "size">
|
|
1144
1144
|
inputRef?: React__default.RefObject<HTMLInputElement>;
|
1145
1145
|
/** If you want to allow an empty collection */
|
1146
1146
|
allowsEmptyCollection?: boolean;
|
1147
|
-
|
1148
|
-
|
1147
|
+
leftIcon?: ReactNode;
|
1148
|
+
rightIcon?: ReactNode;
|
1149
1149
|
variant?: "core" | "floating";
|
1150
1150
|
children?: React__default.ReactNode;
|
1151
1151
|
};
|
package/dist/index.d.ts
CHANGED
@@ -1144,8 +1144,8 @@ type ComboboxProps<T> = Exclude<InputProps, "variant" | "colorPalette" | "size">
|
|
1144
1144
|
inputRef?: React__default.RefObject<HTMLInputElement>;
|
1145
1145
|
/** If you want to allow an empty collection */
|
1146
1146
|
allowsEmptyCollection?: boolean;
|
1147
|
-
|
1148
|
-
|
1147
|
+
leftIcon?: ReactNode;
|
1148
|
+
rightIcon?: ReactNode;
|
1149
1149
|
variant?: "core" | "floating";
|
1150
1150
|
children?: React__default.ReactNode;
|
1151
1151
|
};
|
package/dist/index.js
CHANGED
@@ -3164,8 +3164,8 @@ var Combobox = (props) => {
|
|
3164
3164
|
const {
|
3165
3165
|
label,
|
3166
3166
|
loading,
|
3167
|
-
|
3168
|
-
|
3167
|
+
leftIcon,
|
3168
|
+
rightIcon,
|
3169
3169
|
borderBottomLeftRadius = "sm",
|
3170
3170
|
borderBottomRightRadius = "sm",
|
3171
3171
|
borderTopLeftRadius = "sm",
|
@@ -3214,7 +3214,7 @@ var Combobox = (props) => {
|
|
3214
3214
|
paddingLeft,
|
3215
3215
|
paddingX,
|
3216
3216
|
paddingY,
|
3217
|
-
|
3217
|
+
leftIcon
|
3218
3218
|
};
|
3219
3219
|
const {
|
3220
3220
|
inputProps: { ...inputProps },
|
@@ -3251,6 +3251,7 @@ var Combobox = (props) => {
|
|
3251
3251
|
borderBottomRightRadius: state.isOpen && !loading ? 0 : borderBottomRightRadius,
|
3252
3252
|
_active: { backgroundColor: "core.surface.active" },
|
3253
3253
|
...inputProps,
|
3254
|
+
startElement: leftIcon,
|
3254
3255
|
endElement: loading ? /* @__PURE__ */ jsxRuntime.jsx(
|
3255
3256
|
ColorSpinner,
|
3256
3257
|
{
|
@@ -3264,7 +3265,7 @@ var Combobox = (props) => {
|
|
3264
3265
|
}
|
3265
3266
|
}
|
3266
3267
|
}
|
3267
|
-
) :
|
3268
|
+
) : rightIcon,
|
3268
3269
|
placeholder: ""
|
3269
3270
|
}
|
3270
3271
|
),
|
@@ -6903,7 +6904,6 @@ var alertSlotRecipe = react.defineSlotRecipe({
|
|
6903
6904
|
borderRadius: "sm",
|
6904
6905
|
padding: 2,
|
6905
6906
|
display: "flex",
|
6906
|
-
maxWidth: "300px",
|
6907
6907
|
justifyContent: "space-between",
|
6908
6908
|
alignItems: "flex-start",
|
6909
6909
|
position: "relative",
|