@vygruppen/spor-react 12.4.12 → 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 +8 -8
- package/.turbo/turbo-postinstall.log +1 -1
- package/CHANGELOG.md +6 -0
- package/dist/index.d.mts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +5 -4
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +5 -4
- package/dist/index.mjs.map +1 -1
- package/package.json +4 -4
- package/src/input/Combobox.tsx +7 -6
package/dist/index.mjs
CHANGED
@@ -3144,8 +3144,8 @@ var Combobox = (props) => {
|
|
3144
3144
|
const {
|
3145
3145
|
label,
|
3146
3146
|
loading,
|
3147
|
-
|
3148
|
-
|
3147
|
+
leftIcon,
|
3148
|
+
rightIcon,
|
3149
3149
|
borderBottomLeftRadius = "sm",
|
3150
3150
|
borderBottomRightRadius = "sm",
|
3151
3151
|
borderTopLeftRadius = "sm",
|
@@ -3194,7 +3194,7 @@ var Combobox = (props) => {
|
|
3194
3194
|
paddingLeft,
|
3195
3195
|
paddingX,
|
3196
3196
|
paddingY,
|
3197
|
-
|
3197
|
+
leftIcon
|
3198
3198
|
};
|
3199
3199
|
const {
|
3200
3200
|
inputProps: { ...inputProps },
|
@@ -3231,6 +3231,7 @@ var Combobox = (props) => {
|
|
3231
3231
|
borderBottomRightRadius: state.isOpen && !loading ? 0 : borderBottomRightRadius,
|
3232
3232
|
_active: { backgroundColor: "core.surface.active" },
|
3233
3233
|
...inputProps,
|
3234
|
+
startElement: leftIcon,
|
3234
3235
|
endElement: loading ? /* @__PURE__ */ jsx(
|
3235
3236
|
ColorSpinner,
|
3236
3237
|
{
|
@@ -3244,7 +3245,7 @@ var Combobox = (props) => {
|
|
3244
3245
|
}
|
3245
3246
|
}
|
3246
3247
|
}
|
3247
|
-
) :
|
3248
|
+
) : rightIcon,
|
3248
3249
|
placeholder: ""
|
3249
3250
|
}
|
3250
3251
|
),
|