@mcurros2/microm 1.1.80-0 → 1.1.81-0
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.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +45 -51
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -46140,58 +46140,52 @@ const $fd210d71b523c65e$export$4fef1edbf0f012ef = /*#__PURE__*/ (0, $b4te3$react
|
|
|
46140
46140
|
// When all the items are selected and the multiselect is in a modal and it has autofocus
|
|
46141
46141
|
// you will need to press escape two time to close the modal
|
|
46142
46142
|
// this is because it uses a popover with closeOnEscape and it traps escape even if the list is not shown
|
|
46143
|
-
return (0, $b4te3$reactjsxruntime.jsx)(
|
|
46144
|
-
|
|
46145
|
-
|
|
46146
|
-
|
|
46147
|
-
|
|
46148
|
-
|
|
46149
|
-
|
|
46150
|
-
|
|
46151
|
-
|
|
46152
|
-
|
|
46153
|
-
|
|
46154
|
-
|
|
46143
|
+
return (0, $b4te3$reactjsxruntime.jsx)((0, $b4te3$mantinecore.MultiSelect), Object.assign({
|
|
46144
|
+
icon: (0, $b4te3$reactjsxruntime.jsx)((0, $b4te3$tablericonsreact.IconSearch), {
|
|
46145
|
+
size: "1.1rem",
|
|
46146
|
+
stroke: 1.5
|
|
46147
|
+
}),
|
|
46148
|
+
radius: "xl",
|
|
46149
|
+
size: size,
|
|
46150
|
+
styles: ()=>({
|
|
46151
|
+
searchInput: {
|
|
46152
|
+
lineHeight: "unset"
|
|
46153
|
+
},
|
|
46154
|
+
value: {
|
|
46155
|
+
minHeight: "1.4rem"
|
|
46156
|
+
},
|
|
46157
|
+
defaultValue: {
|
|
46158
|
+
paddingBottom: "0.1rem"
|
|
46159
|
+
}
|
|
46160
|
+
} // Fix the 'ggg' being cut off and vertical alignment
|
|
46161
|
+
),
|
|
46162
|
+
rightSection: (0, $b4te3$reactjsxruntime.jsx)((0, $b4te3$mantinecore.ActionIcon), {
|
|
46155
46163
|
size: size,
|
|
46156
|
-
|
|
46157
|
-
|
|
46158
|
-
|
|
46159
|
-
|
|
46160
|
-
|
|
46161
|
-
|
|
46162
|
-
|
|
46163
|
-
|
|
46164
|
-
|
|
46165
|
-
|
|
46166
|
-
|
|
46167
|
-
|
|
46168
|
-
|
|
46169
|
-
|
|
46170
|
-
|
|
46171
|
-
|
|
46172
|
-
|
|
46173
|
-
|
|
46174
|
-
|
|
46175
|
-
|
|
46176
|
-
|
|
46177
|
-
|
|
46178
|
-
|
|
46179
|
-
|
|
46180
|
-
|
|
46181
|
-
}),
|
|
46182
|
-
rightSectionWidth: 42,
|
|
46183
|
-
value: value,
|
|
46184
|
-
onChange: onChange,
|
|
46185
|
-
onSearchChange: onSearchChange,
|
|
46186
|
-
onCreate: onCreate,
|
|
46187
|
-
placeholder: placeholder,
|
|
46188
|
-
creatable: true,
|
|
46189
|
-
searchable: true,
|
|
46190
|
-
getCreateLabel: (newValue)=>`${addFilterLabel} ${newValue}`,
|
|
46191
|
-
"data-autofocus": autoFocus,
|
|
46192
|
-
autoFocus: autoFocus
|
|
46193
|
-
}, rest))
|
|
46194
|
-
});
|
|
46164
|
+
radius: "xl",
|
|
46165
|
+
color: theme.primaryColor,
|
|
46166
|
+
variant: iconVariant,
|
|
46167
|
+
onClick: (e)=>onSearchClick(e),
|
|
46168
|
+
children: theme.dir === "ltr" ? (0, $b4te3$reactjsxruntime.jsx)((0, $b4te3$tablericonsreact.IconArrowRight), {
|
|
46169
|
+
size: iconsSize,
|
|
46170
|
+
stroke: 1.5
|
|
46171
|
+
}) : (0, $b4te3$reactjsxruntime.jsx)((0, $b4te3$tablericonsreact.IconArrowLeft), {
|
|
46172
|
+
size: iconsSize,
|
|
46173
|
+
stroke: 1.5
|
|
46174
|
+
})
|
|
46175
|
+
}),
|
|
46176
|
+
rightSectionWidth: 42,
|
|
46177
|
+
value: value,
|
|
46178
|
+
onChange: onChange,
|
|
46179
|
+
onSearchChange: onSearchChange,
|
|
46180
|
+
onCreate: onCreate,
|
|
46181
|
+
placeholder: placeholder,
|
|
46182
|
+
creatable: true,
|
|
46183
|
+
searchable: true,
|
|
46184
|
+
getCreateLabel: (newValue)=>`${addFilterLabel} ${newValue}`,
|
|
46185
|
+
"data-autofocus": autoFocus,
|
|
46186
|
+
autoFocus: autoFocus,
|
|
46187
|
+
ref: ref
|
|
46188
|
+
}, rest));
|
|
46195
46189
|
});
|
|
46196
46190
|
|
|
46197
46191
|
});
|