@vitality-ds/components 4.15.0 → 5.0.2
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/Box/index.js +2 -1
- package/dist/Flex/index.js +3 -1
- package/dist/components/src/Box/index.d.ts +1 -1
- package/dist/components/src/Flex/index.d.ts +1 -1
- package/dist/esm/Box/index.js +2 -1
- package/dist/esm/Flex/index.js +3 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +4 -4
package/dist/Box/index.js
CHANGED
|
@@ -10,7 +10,7 @@ var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/h
|
|
|
10
10
|
var _react = _interopRequireDefault(require("react"));
|
|
11
11
|
var _empties = require("../helpers/logic/empties");
|
|
12
12
|
var _styled = require("./styled");
|
|
13
|
-
var _excluded = ["width", "height", "position", "maxWidth", "minWidth", "maxHeight", "minHeight", "htmlTag", "css", "shouldShrink", "shouldGrow", "gridSpans", "top", "right", "bottom", "left", "inset", "children"];
|
|
13
|
+
var _excluded = ["width", "height", "position", "maxWidth", "minWidth", "maxHeight", "minHeight", "htmlTag", "css", "style", "shouldShrink", "shouldGrow", "gridSpans", "top", "right", "bottom", "left", "inset", "children"];
|
|
14
14
|
function Box(_ref) {
|
|
15
15
|
var width = _ref.width,
|
|
16
16
|
height = _ref.height,
|
|
@@ -21,6 +21,7 @@ function Box(_ref) {
|
|
|
21
21
|
minHeight = _ref.minHeight,
|
|
22
22
|
htmlTag = _ref.htmlTag,
|
|
23
23
|
css = _ref.css,
|
|
24
|
+
style = _ref.style,
|
|
24
25
|
_ref$shouldShrink = _ref.shouldShrink,
|
|
25
26
|
shouldShrink = _ref$shouldShrink === void 0 ? true : _ref$shouldShrink,
|
|
26
27
|
shouldGrow = _ref.shouldGrow,
|
package/dist/Flex/index.js
CHANGED
|
@@ -9,7 +9,7 @@ var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends")
|
|
|
9
9
|
var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
|
|
10
10
|
var _react = _interopRequireDefault(require("react"));
|
|
11
11
|
var _styled = require("./styled");
|
|
12
|
-
var _excluded = ["width", "height", "position", "maxWidth", "minWidth", "maxHeight", "minHeight", "htmlTag", "direction", "spacing", "align", "justify", "wrap"];
|
|
12
|
+
var _excluded = ["width", "height", "position", "maxWidth", "minWidth", "maxHeight", "minHeight", "htmlTag", "direction", "spacing", "align", "justify", "wrap", "css", "style"];
|
|
13
13
|
function Flex(_ref) {
|
|
14
14
|
var width = _ref.width,
|
|
15
15
|
height = _ref.height,
|
|
@@ -29,6 +29,8 @@ function Flex(_ref) {
|
|
|
29
29
|
justify = _ref$justify === void 0 ? "start" : _ref$justify,
|
|
30
30
|
_ref$wrap = _ref.wrap,
|
|
31
31
|
wrap = _ref$wrap === void 0 ? "noWrap" : _ref$wrap,
|
|
32
|
+
css = _ref.css,
|
|
33
|
+
style = _ref.style,
|
|
32
34
|
restProps = (0, _objectWithoutProperties2["default"])(_ref, _excluded);
|
|
33
35
|
return /*#__PURE__*/_react["default"].createElement(_styled.BaseFlex, (0, _extends2["default"])({
|
|
34
36
|
spacing: spacing,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { BoxProps } from "./types";
|
|
3
|
-
declare function Box({ width, height, position, maxWidth, minWidth, maxHeight, minHeight, htmlTag, css, shouldShrink, shouldGrow, gridSpans, top, right, bottom, left, inset, children, ...restProps }: BoxProps): JSX.Element;
|
|
3
|
+
declare function Box({ width, height, position, maxWidth, minWidth, maxHeight, minHeight, htmlTag, css, style, shouldShrink, shouldGrow, gridSpans, top, right, bottom, left, inset, children, ...restProps }: BoxProps): JSX.Element;
|
|
4
4
|
export default Box;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { FlexProps } from "./types";
|
|
3
|
-
declare function Flex({ width, height, position, maxWidth, minWidth, maxHeight, minHeight, htmlTag, direction, spacing, align, justify, wrap, ...restProps }: FlexProps): JSX.Element;
|
|
3
|
+
declare function Flex({ width, height, position, maxWidth, minWidth, maxHeight, minHeight, htmlTag, direction, spacing, align, justify, wrap, css, style, ...restProps }: FlexProps): JSX.Element;
|
|
4
4
|
export default Flex;
|
package/dist/esm/Box/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import _extends from "@babel/runtime/helpers/extends";
|
|
2
2
|
import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
|
|
3
|
-
var _excluded = ["width", "height", "position", "maxWidth", "minWidth", "maxHeight", "minHeight", "htmlTag", "css", "shouldShrink", "shouldGrow", "gridSpans", "top", "right", "bottom", "left", "inset", "children"];
|
|
3
|
+
var _excluded = ["width", "height", "position", "maxWidth", "minWidth", "maxHeight", "minHeight", "htmlTag", "css", "style", "shouldShrink", "shouldGrow", "gridSpans", "top", "right", "bottom", "left", "inset", "children"];
|
|
4
4
|
import React from "react";
|
|
5
5
|
import { EMPTY_OBJ } from "../helpers/logic/empties";
|
|
6
6
|
import { BaseBox } from "./styled";
|
|
@@ -14,6 +14,7 @@ function Box(_ref) {
|
|
|
14
14
|
minHeight = _ref.minHeight,
|
|
15
15
|
htmlTag = _ref.htmlTag,
|
|
16
16
|
css = _ref.css,
|
|
17
|
+
style = _ref.style,
|
|
17
18
|
_ref$shouldShrink = _ref.shouldShrink,
|
|
18
19
|
shouldShrink = _ref$shouldShrink === void 0 ? true : _ref$shouldShrink,
|
|
19
20
|
shouldGrow = _ref.shouldGrow,
|
package/dist/esm/Flex/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import _extends from "@babel/runtime/helpers/extends";
|
|
2
2
|
import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
|
|
3
|
-
var _excluded = ["width", "height", "position", "maxWidth", "minWidth", "maxHeight", "minHeight", "htmlTag", "direction", "spacing", "align", "justify", "wrap"];
|
|
3
|
+
var _excluded = ["width", "height", "position", "maxWidth", "minWidth", "maxHeight", "minHeight", "htmlTag", "direction", "spacing", "align", "justify", "wrap", "css", "style"];
|
|
4
4
|
import React from "react";
|
|
5
5
|
import { BaseFlex } from "./styled";
|
|
6
6
|
function Flex(_ref) {
|
|
@@ -22,6 +22,8 @@ function Flex(_ref) {
|
|
|
22
22
|
justify = _ref$justify === void 0 ? "start" : _ref$justify,
|
|
23
23
|
_ref$wrap = _ref.wrap,
|
|
24
24
|
wrap = _ref$wrap === void 0 ? "noWrap" : _ref$wrap,
|
|
25
|
+
css = _ref.css,
|
|
26
|
+
style = _ref.style,
|
|
25
27
|
restProps = _objectWithoutProperties(_ref, _excluded);
|
|
26
28
|
return /*#__PURE__*/React.createElement(BaseFlex, _extends({
|
|
27
29
|
spacing: spacing,
|