react-better-html 1.1.205 → 1.1.207
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/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +2 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -507,7 +507,7 @@ type DropdownProps<Value, Data = unknown> = {
|
|
|
507
507
|
defaultValue?: Value;
|
|
508
508
|
onChange?: (value: Value | undefined) => void;
|
|
509
509
|
} | {
|
|
510
|
-
withMultiselect
|
|
510
|
+
withMultiselect: true;
|
|
511
511
|
value?: Value[];
|
|
512
512
|
defaultValue?: Value[];
|
|
513
513
|
onChange?: (value: Value[] | undefined) => void;
|
package/dist/index.d.ts
CHANGED
|
@@ -507,7 +507,7 @@ type DropdownProps<Value, Data = unknown> = {
|
|
|
507
507
|
defaultValue?: Value;
|
|
508
508
|
onChange?: (value: Value | undefined) => void;
|
|
509
509
|
} | {
|
|
510
|
-
withMultiselect
|
|
510
|
+
withMultiselect: true;
|
|
511
511
|
value?: Value[];
|
|
512
512
|
defaultValue?: Value[];
|
|
513
513
|
onChange?: (value: Value[] | undefined) => void;
|
package/dist/index.js
CHANGED
|
@@ -1915,6 +1915,7 @@ Image.profileImage = (0, import_react5.forwardRef)(function ProfileImage({ size
|
|
|
1915
1915
|
width: size,
|
|
1916
1916
|
height: size,
|
|
1917
1917
|
backgroundColor: backgroundColor ?? theme2.colors.backgroundSecondary,
|
|
1918
|
+
border: `solid 1px ${theme2.colors.border}`,
|
|
1918
1919
|
borderRadius: 999,
|
|
1919
1920
|
alignItems: "center",
|
|
1920
1921
|
justifyContent: "center",
|
|
@@ -6025,7 +6026,7 @@ var DropdownComponent = (0, import_react18.forwardRef)(function Dropdown({
|
|
|
6025
6026
|
labelColor,
|
|
6026
6027
|
errorText,
|
|
6027
6028
|
infoText,
|
|
6028
|
-
required,
|
|
6029
|
+
required: withMultiselect ? (Array.isArray(value) ? value.length > 0 : value !== void 0) ? false : required : required,
|
|
6029
6030
|
name,
|
|
6030
6031
|
disabled,
|
|
6031
6032
|
readOnly: !withSearch,
|