design-zystem 1.0.189 → 1.0.190
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 +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -125,7 +125,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpac
|
|
|
125
125
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
126
126
|
|
|
127
127
|
"use strict";
|
|
128
|
-
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ Col: () => (/* binding */ Col),\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ \"react\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var styled_components__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! styled-components */ \"./node_modules/styled-components/dist/styled-components.browser.esm.js\");\nvar _excluded = [\"children\"];\nvar _templateObject;\nfunction _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }\nfunction _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }\nfunction _taggedTemplateLiteral(e, t) { return t || (t = e.slice(0)), Object.freeze(Object.defineProperties(e, { raw: { value: Object.freeze(t) } })); }\n\n\nvar shouldForwardPropCol = function shouldForwardPropCol(prop) {\n return ![\"gap\", \"justifyContent\", \"alignItems\", \"size\", \"margin\", \"padding\", \"fullHeight\", \"fullWidth\"].includes(prop);\n};\nvar StyledCol = styled_components__WEBPACK_IMPORTED_MODULE_1__[\"default\"].div.withConfig({\n shouldForwardProp: shouldForwardPropCol\n})(_templateObject || (_templateObject = _taggedTemplateLiteral([\"\\n display: flex;\\n flex-direction: column;\\n overflow: visible;\\n max-height: 100%;\\n height: \", \";\\n width: \", \";\\n flex: \", \";\\n max-width: \", \";\\n gap: \", \";\\n margin: \", \";\\n padding: \", \";\\n justify-content: \", \";\\n align-items: \", \";\\n box-sizing: border-box;\\n\"])), function (props) {\n return props.fullHeight ? \"100%\" : \"fit-content\";\n}, function (props) {\n return props.fullWidth ? \"100%\" : \"fit-content\";\n}, function (props) {\n return props.size ? \"1 1 \".concat(props.size / 12 * 100, \"%\") : \"auto\";\n}, function (props) {\n return props.size ? \"\".concat(props.size / 12 * 100, \"%\") : \"100%\";\n}, function (props) {\n return props.gap ? \"\".concat(props.gap, \"px\") : \"0\";\n}, function (props) {\n return props.margin || \"0\";\n}, function (props) {\n return props.padding || \"0\";\n}, function (props) {\n return props.justifyContent || \"flex-start\";\n}, function (props) {\n return props.alignItems || \"flex-start\";\n});\nvar Col = function Col(props) {\n var children = props.children,\n otherProps = _objectWithoutProperties(props, _excluded);\n return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(StyledCol, otherProps, children);\n};\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (Col);\n\n//# sourceURL=webpack://YourLibraryName/./src/Components/Col/Col.jsx?");
|
|
128
|
+
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ Col: () => (/* binding */ Col),\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ \"react\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var styled_components__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! styled-components */ \"./node_modules/styled-components/dist/styled-components.browser.esm.js\");\nvar _excluded = [\"children\"];\nvar _templateObject;\nfunction _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }\nfunction _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }\nfunction _taggedTemplateLiteral(e, t) { return t || (t = e.slice(0)), Object.freeze(Object.defineProperties(e, { raw: { value: Object.freeze(t) } })); }\n\n\nvar shouldForwardPropCol = function shouldForwardPropCol(prop) {\n return ![\"gap\", \"justifyContent\", \"alignItems\", \"size\", \"margin\", \"padding\", \"fullHeight\", \"fullWidth\"].includes(prop);\n};\nvar StyledCol = styled_components__WEBPACK_IMPORTED_MODULE_1__[\"default\"].div.withConfig({\n shouldForwardProp: shouldForwardPropCol\n})(_templateObject || (_templateObject = _taggedTemplateLiteral([\"\\n display: flex;\\n flex-direction: column;\\n overflow: visible;\\n max-height: 100%;\\n height: \", \";\\n width: \", \";\\n flex: \", \";\\n max-width: \", \";\\n gap: \", \";\\n margin: \", \";\\n padding: \", \";\\n justify-content: \", \";\\n align-items: \", \";\\n box-sizing: border-box;\\n\"])), function (props) {\n return props.fullHeight ? \"100%\" : \"fit-content\";\n}, function (props) {\n return props.fullWidth ? \"100%\" : props.size ? \"\".concat(props.size / 12 * 100, \"%\") : \"fit-content\";\n}, function (props) {\n return props.size ? \"1 1 \".concat(props.size / 12 * 100, \"%\") : \"auto\";\n}, function (props) {\n return props.fullWidth ? \"100%\" : props.size ? \"\".concat(props.size / 12 * 100, \"%\") : \"100%\";\n}, function (props) {\n return props.gap ? \"\".concat(props.gap, \"px\") : \"0\";\n}, function (props) {\n return props.margin || \"0\";\n}, function (props) {\n return props.padding || \"0\";\n}, function (props) {\n return props.justifyContent || \"flex-start\";\n}, function (props) {\n return props.alignItems || \"flex-start\";\n});\nvar Col = function Col(props) {\n var children = props.children,\n otherProps = _objectWithoutProperties(props, _excluded);\n return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(StyledCol, otherProps, children);\n};\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (Col);\n\n//# sourceURL=webpack://YourLibraryName/./src/Components/Col/Col.jsx?");
|
|
129
129
|
|
|
130
130
|
/***/ }),
|
|
131
131
|
|