@mw-kit/mw-ui 1.8.4 → 1.8.5

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
@@ -15195,8 +15195,8 @@ var Col = import_styled_components53.default.div`
15195
15195
  var import_jsx_runtime341 = require("react/jsx-runtime");
15196
15196
  var Col2 = import_react45.default.forwardRef((props, ref) => {
15197
15197
  const context = useContext4();
15198
- const _props = { ...context.cols, ...props };
15199
- const colProps = filterObject(_props, [
15198
+ const colProps = { ...context.cols, ...props };
15199
+ const htmlProps = filterObject(colProps, [
15200
15200
  "width",
15201
15201
  "spacing",
15202
15202
  "align",
@@ -15212,17 +15212,17 @@ var Col2 = import_react45.default.forwardRef((props, ref) => {
15212
15212
  Col,
15213
15213
  {
15214
15214
  ref,
15215
- ...colProps,
15216
- $width: props.width,
15217
- $spacing: props.spacing,
15218
- $spacingAround: props.spacingAround,
15219
- $align: props.align,
15220
- $bordered: props.bordered,
15221
- $fontColor: props.fontColor,
15222
- $backgroundColor: props.backgroundColor,
15223
- $hover: props.hover,
15224
- $pointer: props.pointer,
15225
- children: _props.ellipsis ? /* @__PURE__ */ (0, import_jsx_runtime341.jsx)(EllipsisContainer_default, { children: _props.children }) : _props.children
15215
+ ...htmlProps,
15216
+ $width: colProps.width,
15217
+ $spacing: colProps.spacing,
15218
+ $spacingAround: colProps.spacingAround,
15219
+ $align: colProps.align,
15220
+ $bordered: colProps.bordered,
15221
+ $fontColor: colProps.fontColor,
15222
+ $backgroundColor: colProps.backgroundColor,
15223
+ $hover: colProps.hover,
15224
+ $pointer: colProps.pointer,
15225
+ children: colProps.ellipsis ? /* @__PURE__ */ (0, import_jsx_runtime341.jsx)(EllipsisContainer_default, { children: colProps.children }) : colProps.children
15226
15226
  }
15227
15227
  );
15228
15228
  });
package/dist/index.mjs CHANGED
@@ -15139,8 +15139,8 @@ var Col = styled50.div`
15139
15139
  import { jsx as jsx341 } from "react/jsx-runtime";
15140
15140
  var Col2 = React42.forwardRef((props, ref) => {
15141
15141
  const context = useContext4();
15142
- const _props = { ...context.cols, ...props };
15143
- const colProps = filterObject(_props, [
15142
+ const colProps = { ...context.cols, ...props };
15143
+ const htmlProps = filterObject(colProps, [
15144
15144
  "width",
15145
15145
  "spacing",
15146
15146
  "align",
@@ -15156,17 +15156,17 @@ var Col2 = React42.forwardRef((props, ref) => {
15156
15156
  Col,
15157
15157
  {
15158
15158
  ref,
15159
- ...colProps,
15160
- $width: props.width,
15161
- $spacing: props.spacing,
15162
- $spacingAround: props.spacingAround,
15163
- $align: props.align,
15164
- $bordered: props.bordered,
15165
- $fontColor: props.fontColor,
15166
- $backgroundColor: props.backgroundColor,
15167
- $hover: props.hover,
15168
- $pointer: props.pointer,
15169
- children: _props.ellipsis ? /* @__PURE__ */ jsx341(EllipsisContainer_default, { children: _props.children }) : _props.children
15159
+ ...htmlProps,
15160
+ $width: colProps.width,
15161
+ $spacing: colProps.spacing,
15162
+ $spacingAround: colProps.spacingAround,
15163
+ $align: colProps.align,
15164
+ $bordered: colProps.bordered,
15165
+ $fontColor: colProps.fontColor,
15166
+ $backgroundColor: colProps.backgroundColor,
15167
+ $hover: colProps.hover,
15168
+ $pointer: colProps.pointer,
15169
+ children: colProps.ellipsis ? /* @__PURE__ */ jsx341(EllipsisContainer_default, { children: colProps.children }) : colProps.children
15170
15170
  }
15171
15171
  );
15172
15172
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mw-kit/mw-ui",
3
- "version": "1.8.4",
3
+ "version": "1.8.5",
4
4
  "description": "Made with create-react-library",
5
5
  "author": "fmgusmao",
6
6
  "license": "MIT",