@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.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)("div", {
46144
- ref: ref,
46145
- style: {
46146
- display: "flex",
46147
- flex: 1
46148
- },
46149
- children: (0, $b4te3$reactjsxruntime.jsx)((0, $b4te3$mantinecore.MultiSelect), Object.assign({
46150
- icon: (0, $b4te3$reactjsxruntime.jsx)((0, $b4te3$tablericonsreact.IconSearch), {
46151
- size: "1.1rem",
46152
- stroke: 1.5
46153
- }),
46154
- radius: "xl",
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
- styles: ()=>({
46157
- searchInput: {
46158
- lineHeight: "unset"
46159
- },
46160
- value: {
46161
- minHeight: "1.4rem"
46162
- },
46163
- defaultValue: {
46164
- paddingBottom: "0.1rem"
46165
- }
46166
- } // Fix the 'ggg' being cut off and vertical alignment
46167
- ),
46168
- rightSection: (0, $b4te3$reactjsxruntime.jsx)((0, $b4te3$mantinecore.ActionIcon), {
46169
- size: size,
46170
- radius: "xl",
46171
- color: theme.primaryColor,
46172
- variant: iconVariant,
46173
- onClick: (e)=>onSearchClick(e),
46174
- children: theme.dir === "ltr" ? (0, $b4te3$reactjsxruntime.jsx)((0, $b4te3$tablericonsreact.IconArrowRight), {
46175
- size: iconsSize,
46176
- stroke: 1.5
46177
- }) : (0, $b4te3$reactjsxruntime.jsx)((0, $b4te3$tablericonsreact.IconArrowLeft), {
46178
- size: iconsSize,
46179
- stroke: 1.5
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
  });