@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 +13 -13
- package/dist/index.mjs +13 -13
- package/package.json +1 -1
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
|
|
15199
|
-
const
|
|
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
|
-
...
|
|
15216
|
-
$width:
|
|
15217
|
-
$spacing:
|
|
15218
|
-
$spacingAround:
|
|
15219
|
-
$align:
|
|
15220
|
-
$bordered:
|
|
15221
|
-
$fontColor:
|
|
15222
|
-
$backgroundColor:
|
|
15223
|
-
$hover:
|
|
15224
|
-
$pointer:
|
|
15225
|
-
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
|
|
15143
|
-
const
|
|
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
|
-
...
|
|
15160
|
-
$width:
|
|
15161
|
-
$spacing:
|
|
15162
|
-
$spacingAround:
|
|
15163
|
-
$align:
|
|
15164
|
-
$bordered:
|
|
15165
|
-
$fontColor:
|
|
15166
|
-
$backgroundColor:
|
|
15167
|
-
$hover:
|
|
15168
|
-
$pointer:
|
|
15169
|
-
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
|
});
|