@hitachivantara/uikit-react-core 4.0.4 → 4.1.1
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/Forms/WarningText/WarningText.js +1 -2
- package/dist/Forms/WarningText/WarningText.js.map +1 -1
- package/dist/SimpleGrid/SimpleGrid.d.ts +5 -2
- package/dist/SimpleGrid/SimpleGrid.js +6 -2
- package/dist/SimpleGrid/SimpleGrid.js.map +1 -1
- package/dist/legacy/Forms/WarningText/WarningText.js +1 -2
- package/dist/legacy/Forms/WarningText/WarningText.js.map +1 -1
- package/dist/legacy/SimpleGrid/SimpleGrid.d.ts +5 -2
- package/dist/legacy/SimpleGrid/SimpleGrid.js +7 -2
- package/dist/legacy/SimpleGrid/SimpleGrid.js.map +1 -1
- package/dist/modern/Forms/WarningText/WarningText.js +1 -2
- package/dist/modern/Forms/WarningText/WarningText.js.map +1 -1
- package/dist/modern/SimpleGrid/SimpleGrid.d.ts +5 -2
- package/dist/modern/SimpleGrid/SimpleGrid.js +7 -2
- package/dist/modern/SimpleGrid/SimpleGrid.js.map +1 -1
- package/package.json +2 -2
|
@@ -73,8 +73,7 @@ var HvWarningText = function HvWarningText(props) {
|
|
|
73
73
|
children: [!disableAdornment && localAdornment, /*#__PURE__*/(0, _jsxRuntime.jsx)(_.HvTypography, _objectSpread(_objectSpread({
|
|
74
74
|
id: localId,
|
|
75
75
|
className: (0, _clsx.default)(classes.warningText, !disableGutter && classes.topGutter, hideText && classes.hideText),
|
|
76
|
-
|
|
77
|
-
"aria-atomic": "true",
|
|
76
|
+
role: "status",
|
|
78
77
|
"aria-relevant": "additions text"
|
|
79
78
|
}, others), {}, {
|
|
80
79
|
children: showWarning && content
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WarningText.js","names":["HvWarningText","props","children","adornment","isVisible","classes","className","id","disabled","disableGutter","disableBorder","disableAdornment","hideText","others","useContext","HvFormElementContext","elementId","elementStatus","elementDisabled","localDisabled","localVisible","isNil","localId","setId","showWarning","content","localAdornment","defaultIcon","clsx","root","show","topBorder","warningText","topGutter","formElementType","propTypes","PropTypes","string","node","shape","isRequired","bool","withStyles","styles","name"],"sources":["../../../src/Forms/WarningText/WarningText.js"],"sourcesContent":["import React, { useContext } from \"react\";\nimport PropTypes from \"prop-types\";\nimport clsx from \"clsx\";\nimport isNil from \"lodash/isNil\";\nimport { Fail } from \"@hitachivantara/uikit-react-icons\";\nimport { withStyles } from \"@mui/styles\";\nimport { HvFormElementContext } from \"../FormElement\";\nimport { HvTypography } from \"../..\";\nimport { setId } from \"../../utils\";\nimport styles from \"./styles\";\n\n/**\n * Provides the user with a descriptive text, signaling an error, for when the form element is in an invalid state.\n */\nconst HvWarningText = (props) => {\n const {\n children,\n adornment,\n isVisible,\n classes,\n className,\n id,\n disabled,\n disableGutter = false,\n disableBorder = false,\n disableAdornment = false,\n hideText = false,\n ...others\n } = props;\n\n const { elementId, elementStatus, elementDisabled } = useContext(HvFormElementContext);\n const localDisabled = disabled || elementDisabled;\n const localVisible = !isNil(isVisible) ? isVisible : elementStatus === \"invalid\";\n const localId = id ?? setId(elementId, \"error\");\n const showWarning = localVisible && !localDisabled;\n const content = showWarning ? children : \"\";\n const localAdornment = adornment || <Fail className={classes.defaultIcon} semantic=\"sema4\" />;\n\n return (\n <div\n className={clsx(className, classes.root, {\n [classes.show]: showWarning,\n [classes.topBorder]: !disableBorder,\n })}\n >\n {!disableAdornment && localAdornment}\n <HvTypography\n id={localId}\n className={clsx(classes.warningText, {\n [classes.topGutter]: !disableGutter,\n [classes.hideText]: hideText,\n })}\n
|
|
1
|
+
{"version":3,"file":"WarningText.js","names":["HvWarningText","props","children","adornment","isVisible","classes","className","id","disabled","disableGutter","disableBorder","disableAdornment","hideText","others","useContext","HvFormElementContext","elementId","elementStatus","elementDisabled","localDisabled","localVisible","isNil","localId","setId","showWarning","content","localAdornment","defaultIcon","clsx","root","show","topBorder","warningText","topGutter","formElementType","propTypes","PropTypes","string","node","shape","isRequired","bool","withStyles","styles","name"],"sources":["../../../src/Forms/WarningText/WarningText.js"],"sourcesContent":["import React, { useContext } from \"react\";\nimport PropTypes from \"prop-types\";\nimport clsx from \"clsx\";\nimport isNil from \"lodash/isNil\";\nimport { Fail } from \"@hitachivantara/uikit-react-icons\";\nimport { withStyles } from \"@mui/styles\";\nimport { HvFormElementContext } from \"../FormElement\";\nimport { HvTypography } from \"../..\";\nimport { setId } from \"../../utils\";\nimport styles from \"./styles\";\n\n/**\n * Provides the user with a descriptive text, signaling an error, for when the form element is in an invalid state.\n */\nconst HvWarningText = (props) => {\n const {\n children,\n adornment,\n isVisible,\n classes,\n className,\n id,\n disabled,\n disableGutter = false,\n disableBorder = false,\n disableAdornment = false,\n hideText = false,\n ...others\n } = props;\n\n const { elementId, elementStatus, elementDisabled } = useContext(HvFormElementContext);\n const localDisabled = disabled || elementDisabled;\n const localVisible = !isNil(isVisible) ? isVisible : elementStatus === \"invalid\";\n const localId = id ?? setId(elementId, \"error\");\n const showWarning = localVisible && !localDisabled;\n const content = showWarning ? children : \"\";\n const localAdornment = adornment || <Fail className={classes.defaultIcon} semantic=\"sema4\" />;\n\n return (\n <div\n className={clsx(className, classes.root, {\n [classes.show]: showWarning,\n [classes.topBorder]: !disableBorder,\n })}\n >\n {!disableAdornment && localAdornment}\n <HvTypography\n id={localId}\n className={clsx(classes.warningText, {\n [classes.topGutter]: !disableGutter,\n [classes.hideText]: hideText,\n })}\n role=\"status\"\n aria-relevant=\"additions text\"\n {...others}\n >\n {showWarning && content}\n </HvTypography>\n </div>\n );\n};\n\nHvWarningText.formElementType = \"errormessage\";\n\nHvWarningText.propTypes = {\n /**\n * Class names to be applied.\n */\n className: PropTypes.string,\n /**\n * The description to be shown by this helper text\n */\n children: PropTypes.node,\n /**\n * Id to be applied to the root node.\n */\n id: PropTypes.string,\n /**\n * A Jss Object used to override or extend the component styles applied.\n */\n classes: PropTypes.shape({\n /**\n * Styles applied to the component root class.\n */\n root: PropTypes.string,\n /**\n * Styles applied to the default icon.\n */\n defaultIcon: PropTypes.string,\n /**\n * Styles applied to the warning text.\n */\n warningText: PropTypes.string,\n /**\n * Styles applied when the text should be shown.\n */\n show: PropTypes.string,\n /**\n * Separation between text and upper element.\n */\n topGutter: PropTypes.string,\n /**\n * The top border.\n */\n topBorder: PropTypes.string,\n /**\n * Styles applied to the text when the error are is active\n * but the text is to be not visible.\n */\n hideText: PropTypes.string,\n }).isRequired,\n /**\n * Icon to be rendered alongside the warning text.\n */\n adornment: PropTypes.node,\n /**\n * If `true` the text is not rendered.\n */\n isVisible: PropTypes.bool,\n /**\n * If `true` the text is disabled.\n */\n disabled: PropTypes.bool,\n /**\n * If `true` the text won't include a gutter.\n */\n disableGutter: PropTypes.bool,\n /**\n * If `true` the text won't include the top border.\n */\n disableBorder: PropTypes.bool,\n /**\n * If `true` the adornment icon isn't shown.\n */\n disableAdornment: PropTypes.bool,\n /**\n * If `true` the text isn't shown.\n */\n hideText: PropTypes.bool,\n};\n\nexport default withStyles(styles, { name: \"HvWarningText\" })(HvWarningText);\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAA8B;AAAA;AAAA;AAAA;AAAA;AAAA;AAE9B;AACA;AACA;AACA,IAAMA,aAAa,GAAG,SAAhBA,aAAa,CAAIC,KAAK,EAAK;EAC/B,IACEC,QAAQ,GAYND,KAAK,CAZPC,QAAQ;IACRC,SAAS,GAWPF,KAAK,CAXPE,SAAS;IACTC,SAAS,GAUPH,KAAK,CAVPG,SAAS;IACTC,OAAO,GASLJ,KAAK,CATPI,OAAO;IACPC,SAAS,GAQPL,KAAK,CARPK,SAAS;IACTC,EAAE,GAOAN,KAAK,CAPPM,EAAE;IACFC,QAAQ,GAMNP,KAAK,CANPO,QAAQ;IAAA,uBAMNP,KAAK,CALPQ,aAAa;IAAbA,aAAa,qCAAG,KAAK;IAAA,uBAKnBR,KAAK,CAJPS,aA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AEwB,kBAAS,CAACK;AACtB,CAAC;AAAC,eAEa,IAAAC,kBAAU,EAACC,gBAAM,EAAE;EAAEC,IAAI,EAAE;AAAgB,CAAC,CAAC,CAAC5C,aAAa,CAAC;AAAA"}
|
|
@@ -1,4 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { HvSpacingKeys } from "../theme";
|
|
3
|
+
|
|
4
|
+
export type Spacing = HvSpacingKeys;
|
|
2
5
|
export type Breakpoint = {
|
|
3
6
|
cols?: number;
|
|
4
7
|
maxWidth?: number;
|
|
@@ -7,7 +10,7 @@ export type Breakpoint = {
|
|
|
7
10
|
};
|
|
8
11
|
|
|
9
12
|
export interface SimpleGridProps {
|
|
10
|
-
children?:
|
|
13
|
+
children?: React.ReactNode;
|
|
11
14
|
spacing?: Spacing;
|
|
12
15
|
cols?: number;
|
|
13
16
|
breakpoints?: Breakpoint[];
|
|
@@ -22,6 +22,10 @@ var _jsxRuntime = require("react/jsx-runtime");
|
|
|
22
22
|
var _excluded = ["children", "breakpoints", "spacing", "cols"];
|
|
23
23
|
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
24
24
|
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { (0, _defineProperty2.default)(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
25
|
+
/**
|
|
26
|
+
* SimpleGrid is a flexbox container where each child is treated as a column.
|
|
27
|
+
* Each column takes equal amount of space.
|
|
28
|
+
*/
|
|
25
29
|
var HvSimpleGrid = function HvSimpleGrid(_ref) {
|
|
26
30
|
var children = _ref.children,
|
|
27
31
|
breakpoints = _ref.breakpoints,
|
|
@@ -48,7 +52,7 @@ process.env.NODE_ENV !== "production" ? HvSimpleGrid.propTypes = {
|
|
|
48
52
|
/**
|
|
49
53
|
* Spacing with pre-defined values according the values defined in the theme
|
|
50
54
|
*/
|
|
51
|
-
spacing: _propTypes.default.oneOf(["sm", "md", "lg", "xl"]),
|
|
55
|
+
spacing: _propTypes.default.oneOf(["xs", "sm", "md", "lg", "xl"]),
|
|
52
56
|
/**
|
|
53
57
|
* Provide an array to define responsive behavior:
|
|
54
58
|
*
|
|
@@ -62,7 +66,7 @@ process.env.NODE_ENV !== "production" ? HvSimpleGrid.propTypes = {
|
|
|
62
66
|
maxWidth: _propTypes.default.number,
|
|
63
67
|
minWidth: _propTypes.default.number,
|
|
64
68
|
cols: _propTypes.default.number,
|
|
65
|
-
spacing: _propTypes.default.oneOf(["sm", "md", "lg", "xl"])
|
|
69
|
+
spacing: _propTypes.default.oneOf(["xs", "sm", "md", "lg", "xl"])
|
|
66
70
|
})),
|
|
67
71
|
/**
|
|
68
72
|
* Number of how many columns the content will be displayed
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SimpleGrid.js","names":["HvSimpleGrid","children","breakpoints","spacing","cols","others","classes","useStyles","container","propTypes","PropTypes","node","oneOf","arrayOf","shape","maxWidth","number","minWidth","withStyles","name"],"sources":["../../src/SimpleGrid/SimpleGrid.js"],"sourcesContent":["import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport { withStyles } from \"@mui/styles\";\nimport useStyles from \"./styles\";\n\nconst HvSimpleGrid = ({ children, breakpoints, spacing = \"sm\", cols, ...others }) => {\n const classes = useStyles({ breakpoints, cols, spacing })();\n return (\n <div className={classes.container} {...others}>\n {children}\n </div>\n );\n};\n\nHvSimpleGrid.propTypes = {\n /**\n * -\n */\n children: PropTypes.node,\n /**\n * Spacing with pre-defined values according the values defined in the theme\n */\n spacing: PropTypes.oneOf([\"sm\", \"md\", \"lg\", \"xl\"]),\n /**\n * Provide an array to define responsive behavior:\n *\n * maxWidth or minWidth: max-width or min-width at which media query will work\n *\n * cols: number of columns per row at given max-width\n *\n * spacing: optional spacing at given max-width, if not provided spacing from component prop will be used instead\n */\n breakpoints: PropTypes.arrayOf(\n PropTypes.shape({\n maxWidth: PropTypes.number,\n minWidth: PropTypes.number,\n cols: PropTypes.number,\n spacing: PropTypes.oneOf([\"sm\", \"md\", \"lg\", \"xl\"]),\n })\n ),\n /**\n * Number of how many columns the content will be displayed\n */\n cols: PropTypes.number,\n};\n\nexport default withStyles(useStyles, { name: \"HvSimpleGrid\" })(HvSimpleGrid);\n"],"mappings":";;;;;;;;;;;;;;;;AAAA;AACA;AACA;AACA;AAAiC;AAAA;AAAA;AAAA;AAEjC,IAAMA,YAAY,GAAG,SAAfA,YAAY,OAAmE;EAAA,IAA7DC,QAAQ,QAARA,QAAQ;IAAEC,WAAW,QAAXA,WAAW;IAAA,oBAAEC,OAAO;IAAPA,OAAO,6BAAG,IAAI;IAAEC,IAAI,QAAJA,IAAI;IAAKC,MAAM;EAC5E,IAAMC,OAAO,GAAG,IAAAC,gBAAS,EAAC;IAAEL,WAAW,EAAXA,WAAW;IAAEE,IAAI,EAAJA,IAAI;IAAED,OAAO,EAAPA;EAAQ,CAAC,CAAC,EAAE;EAC3D,oBACE;IAAK,SAAS,EAAEG,OAAO,CAACE;EAAU,GAAKH,MAAM;IAAA,UAC1CJ;EAAQ,GACL;AAEV,CAAC;AAED,wCAAAD,YAAY,CAACS,SAAS,GAAG;EACvB;AACF;AACA;EACER,QAAQ,EAAES,kBAAS,CAACC,IAAI;EACxB;AACF;AACA;EACER,OAAO,EAAEO,kBAAS,CAACE,KAAK,CAAC,CAAC,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"SimpleGrid.js","names":["HvSimpleGrid","children","breakpoints","spacing","cols","others","classes","useStyles","container","propTypes","PropTypes","node","oneOf","arrayOf","shape","maxWidth","number","minWidth","withStyles","name"],"sources":["../../src/SimpleGrid/SimpleGrid.js"],"sourcesContent":["import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport { withStyles } from \"@mui/styles\";\nimport useStyles from \"./styles\";\n\n/**\n * SimpleGrid is a flexbox container where each child is treated as a column.\n * Each column takes equal amount of space.\n */\nconst HvSimpleGrid = ({ children, breakpoints, spacing = \"sm\", cols, ...others }) => {\n const classes = useStyles({ breakpoints, cols, spacing })();\n return (\n <div className={classes.container} {...others}>\n {children}\n </div>\n );\n};\n\nHvSimpleGrid.propTypes = {\n /**\n * -\n */\n children: PropTypes.node,\n /**\n * Spacing with pre-defined values according the values defined in the theme\n */\n spacing: PropTypes.oneOf([\"xs\", \"sm\", \"md\", \"lg\", \"xl\"]),\n /**\n * Provide an array to define responsive behavior:\n *\n * maxWidth or minWidth: max-width or min-width at which media query will work\n *\n * cols: number of columns per row at given max-width\n *\n * spacing: optional spacing at given max-width, if not provided spacing from component prop will be used instead\n */\n breakpoints: PropTypes.arrayOf(\n PropTypes.shape({\n maxWidth: PropTypes.number,\n minWidth: PropTypes.number,\n cols: PropTypes.number,\n spacing: PropTypes.oneOf([\"xs\", \"sm\", \"md\", \"lg\", \"xl\"]),\n })\n ),\n /**\n * Number of how many columns the content will be displayed\n */\n cols: PropTypes.number,\n};\n\nexport default withStyles(useStyles, { name: \"HvSimpleGrid\" })(HvSimpleGrid);\n"],"mappings":";;;;;;;;;;;;;;;;AAAA;AACA;AACA;AACA;AAAiC;AAAA;AAAA;AAAA;AAEjC;AACA;AACA;AACA;AACA,IAAMA,YAAY,GAAG,SAAfA,YAAY,OAAmE;EAAA,IAA7DC,QAAQ,QAARA,QAAQ;IAAEC,WAAW,QAAXA,WAAW;IAAA,oBAAEC,OAAO;IAAPA,OAAO,6BAAG,IAAI;IAAEC,IAAI,QAAJA,IAAI;IAAKC,MAAM;EAC5E,IAAMC,OAAO,GAAG,IAAAC,gBAAS,EAAC;IAAEL,WAAW,EAAXA,WAAW;IAAEE,IAAI,EAAJA,IAAI;IAAED,OAAO,EAAPA;EAAQ,CAAC,CAAC,EAAE;EAC3D,oBACE;IAAK,SAAS,EAAEG,OAAO,CAACE;EAAU,GAAKH,MAAM;IAAA,UAC1CJ;EAAQ,GACL;AAEV,CAAC;AAED,wCAAAD,YAAY,CAACS,SAAS,GAAG;EACvB;AACF;AACA;EACER,QAAQ,EAAES,kBAAS,CAACC,IAAI;EACxB;AACF;AACA;EACER,OAAO,EAAEO,kBAAS,CAACE,KAAK,CAAC,CAAC,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,CAAC,CAAC;EACxD;AACF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;EACEV,WAAW,EAAEQ,kBAAS,CAACG,OAAO,CAC5BH,kBAAS,CAACI,KAAK,CAAC;IACdC,QAAQ,EAAEL,kBAAS,CAACM,MAAM;IAC1BC,QAAQ,EAAEP,kBAAS,CAACM,MAAM;IAC1BZ,IAAI,EAAEM,kBAAS,CAACM,MAAM;IACtBb,OAAO,EAAEO,kBAAS,CAACE,KAAK,CAAC,CAAC,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,CAAC;EACzD,CAAC,CAAC,CACH;EACD;AACF;AACA;EACER,IAAI,EAAEM,kBAAS,CAACM;AAClB,CAAC;AAAC,eAEa,IAAAE,kBAAU,EAACX,gBAAS,EAAE;EAAEY,IAAI,EAAE;AAAe,CAAC,CAAC,CAACnB,YAAY,CAAC;AAAA"}
|
|
@@ -61,8 +61,7 @@ var HvWarningText = function HvWarningText(props) {
|
|
|
61
61
|
children: [!disableAdornment && localAdornment, /*#__PURE__*/_jsx(HvTypography, _objectSpread(_objectSpread({
|
|
62
62
|
id: localId,
|
|
63
63
|
className: clsx(classes.warningText, !disableGutter && classes.topGutter, hideText && classes.hideText),
|
|
64
|
-
|
|
65
|
-
"aria-atomic": "true",
|
|
64
|
+
role: "status",
|
|
66
65
|
"aria-relevant": "additions text"
|
|
67
66
|
}, others), {}, {
|
|
68
67
|
children: showWarning && content
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WarningText.js","names":["React","useContext","PropTypes","clsx","isNil","Fail","withStyles","HvFormElementContext","HvTypography","setId","styles","HvWarningText","props","children","adornment","isVisible","classes","className","id","disabled","disableGutter","disableBorder","disableAdornment","hideText","others","elementId","elementStatus","elementDisabled","localDisabled","localVisible","localId","showWarning","content","localAdornment","defaultIcon","root","show","topBorder","warningText","topGutter","formElementType","propTypes","string","node","shape","isRequired","bool","name"],"sources":["../../../../src/Forms/WarningText/WarningText.js"],"sourcesContent":["import React, { useContext } from \"react\";\nimport PropTypes from \"prop-types\";\nimport clsx from \"clsx\";\nimport isNil from \"lodash/isNil\";\nimport { Fail } from \"@hitachivantara/uikit-react-icons\";\nimport { withStyles } from \"@mui/styles\";\nimport { HvFormElementContext } from \"../FormElement\";\nimport { HvTypography } from \"../..\";\nimport { setId } from \"../../utils\";\nimport styles from \"./styles\";\n\n/**\n * Provides the user with a descriptive text, signaling an error, for when the form element is in an invalid state.\n */\nconst HvWarningText = (props) => {\n const {\n children,\n adornment,\n isVisible,\n classes,\n className,\n id,\n disabled,\n disableGutter = false,\n disableBorder = false,\n disableAdornment = false,\n hideText = false,\n ...others\n } = props;\n\n const { elementId, elementStatus, elementDisabled } = useContext(HvFormElementContext);\n const localDisabled = disabled || elementDisabled;\n const localVisible = !isNil(isVisible) ? isVisible : elementStatus === \"invalid\";\n const localId = id ?? setId(elementId, \"error\");\n const showWarning = localVisible && !localDisabled;\n const content = showWarning ? children : \"\";\n const localAdornment = adornment || <Fail className={classes.defaultIcon} semantic=\"sema4\" />;\n\n return (\n <div\n className={clsx(className, classes.root, {\n [classes.show]: showWarning,\n [classes.topBorder]: !disableBorder,\n })}\n >\n {!disableAdornment && localAdornment}\n <HvTypography\n id={localId}\n className={clsx(classes.warningText, {\n [classes.topGutter]: !disableGutter,\n [classes.hideText]: hideText,\n })}\n
|
|
1
|
+
{"version":3,"file":"WarningText.js","names":["React","useContext","PropTypes","clsx","isNil","Fail","withStyles","HvFormElementContext","HvTypography","setId","styles","HvWarningText","props","children","adornment","isVisible","classes","className","id","disabled","disableGutter","disableBorder","disableAdornment","hideText","others","elementId","elementStatus","elementDisabled","localDisabled","localVisible","localId","showWarning","content","localAdornment","defaultIcon","root","show","topBorder","warningText","topGutter","formElementType","propTypes","string","node","shape","isRequired","bool","name"],"sources":["../../../../src/Forms/WarningText/WarningText.js"],"sourcesContent":["import React, { useContext } from \"react\";\nimport PropTypes from \"prop-types\";\nimport clsx from \"clsx\";\nimport isNil from \"lodash/isNil\";\nimport { Fail } from \"@hitachivantara/uikit-react-icons\";\nimport { withStyles } from \"@mui/styles\";\nimport { HvFormElementContext } from \"../FormElement\";\nimport { HvTypography } from \"../..\";\nimport { setId } from \"../../utils\";\nimport styles from \"./styles\";\n\n/**\n * Provides the user with a descriptive text, signaling an error, for when the form element is in an invalid state.\n */\nconst HvWarningText = (props) => {\n const {\n children,\n adornment,\n isVisible,\n classes,\n className,\n id,\n disabled,\n disableGutter = false,\n disableBorder = false,\n disableAdornment = false,\n hideText = false,\n ...others\n } = props;\n\n const { elementId, elementStatus, elementDisabled } = useContext(HvFormElementContext);\n const localDisabled = disabled || elementDisabled;\n const localVisible = !isNil(isVisible) ? isVisible : elementStatus === \"invalid\";\n const localId = id ?? setId(elementId, \"error\");\n const showWarning = localVisible && !localDisabled;\n const content = showWarning ? children : \"\";\n const localAdornment = adornment || <Fail className={classes.defaultIcon} semantic=\"sema4\" />;\n\n return (\n <div\n className={clsx(className, classes.root, {\n [classes.show]: showWarning,\n [classes.topBorder]: !disableBorder,\n })}\n >\n {!disableAdornment && localAdornment}\n <HvTypography\n id={localId}\n className={clsx(classes.warningText, {\n [classes.topGutter]: !disableGutter,\n [classes.hideText]: hideText,\n })}\n role=\"status\"\n aria-relevant=\"additions text\"\n {...others}\n >\n {showWarning && content}\n </HvTypography>\n </div>\n );\n};\n\nHvWarningText.formElementType = \"errormessage\";\n\nHvWarningText.propTypes = {\n /**\n * Class names to be applied.\n */\n className: PropTypes.string,\n /**\n * The description to be shown by this helper text\n */\n children: PropTypes.node,\n /**\n * Id to be applied to the root node.\n */\n id: PropTypes.string,\n /**\n * A Jss Object used to override or extend the component styles applied.\n */\n classes: PropTypes.shape({\n /**\n * Styles applied to the component root class.\n */\n root: PropTypes.string,\n /**\n * Styles applied to the default icon.\n */\n defaultIcon: PropTypes.string,\n /**\n * Styles applied to the warning text.\n */\n warningText: PropTypes.string,\n /**\n * Styles applied when the text should be shown.\n */\n show: PropTypes.string,\n /**\n * Separation between text and upper element.\n */\n topGutter: PropTypes.string,\n /**\n * The top border.\n */\n topBorder: PropTypes.string,\n /**\n * Styles applied to the text when the error are is active\n * but the text is to be not visible.\n */\n hideText: PropTypes.string,\n }).isRequired,\n /**\n * Icon to be rendered alongside the warning text.\n */\n adornment: PropTypes.node,\n /**\n * If `true` the text is not rendered.\n */\n isVisible: PropTypes.bool,\n /**\n * If `true` the text is disabled.\n */\n disabled: PropTypes.bool,\n /**\n * If `true` the text won't include a gutter.\n */\n disableGutter: PropTypes.bool,\n /**\n * If `true` the text won't include the top border.\n */\n disableBorder: PropTypes.bool,\n /**\n * If `true` the adornment icon isn't shown.\n */\n disableAdornment: PropTypes.bool,\n /**\n * If `true` the text isn't shown.\n */\n hideText: PropTypes.bool,\n};\n\nexport default withStyles(styles, { name: \"HvWarningText\" })(HvWarningText);\n"],"mappings":";;;;;;;;;;;;AAAA,OAAOA,KAAK,IAAIC,UAAU,QAAQ,OAAO;AACzC,OAAOC,SAAS,MAAM,YAAY;AAClC,OAAOC,IAAI,MAAM,MAAM;AACvB,OAAOC,KAAK,MAAM,cAAc;AAChC,SAASC,IAAI,QAAQ,mCAAmC;AACxD,SAASC,UAAU,QAAQ,aAAa;AACxC,SAASC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,SAAS,CAACwC,MAAM;IAC3B;AACJ;AACA;IACIL,SAAS,EAAEnC,SAAS,CAACwC,MAAM;IAC3B;AACJ;AACA;AACA;IACInB,QAAQ,EAAErB,SAAS,CAACwC;EACtB,CAAC,CAAC,CAACG,UAAU;EACb;AACF;AACA;EACE/B,SAAS,EAAEZ,SAAS,CAACyC,IAAI;EACzB;AACF;AACA;EACE5B,SAAS,EAAEb,SAAS,CAAC4C,IAAI;EACzB;AACF;AACA;EACE3B,QAAQ,EAAEjB,SAAS,CAAC4C,IAAI;EACxB;AACF;AACA;EACE1B,aAAa,EAAElB,SAAS,CAAC4C,IAAI;EAC7B;AACF;AACA;EACEzB,aAAa,EAAEnB,SAAS,CAAC4C,IAAI;EAC7B;AACF;AACA;EACExB,gBAAgB,EAAEpB,SAAS,CAAC4C,IAAI;EAChC;AACF;AACA;EACEvB,QAAQ,EAAErB,SAAS,CAAC4C;AACtB,CAAC;AAED,eAAexC,UAAU,CAACI,MAAM,EAAE;EAAEqC,IAAI,EAAE;AAAgB,CAAC,CAAC,CAACpC,aAAa,CAAC"}
|
|
@@ -1,4 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { HvSpacingKeys } from "../theme";
|
|
3
|
+
|
|
4
|
+
export type Spacing = HvSpacingKeys;
|
|
2
5
|
export type Breakpoint = {
|
|
3
6
|
cols?: number;
|
|
4
7
|
maxWidth?: number;
|
|
@@ -7,7 +10,7 @@ export type Breakpoint = {
|
|
|
7
10
|
};
|
|
8
11
|
|
|
9
12
|
export interface SimpleGridProps {
|
|
10
|
-
children?:
|
|
13
|
+
children?: React.ReactNode;
|
|
11
14
|
spacing?: Spacing;
|
|
12
15
|
cols?: number;
|
|
13
16
|
breakpoints?: Breakpoint[];
|
|
@@ -14,6 +14,11 @@ import React from "react";
|
|
|
14
14
|
import PropTypes from "prop-types";
|
|
15
15
|
import { withStyles } from "@mui/styles";
|
|
16
16
|
import useStyles from "./styles";
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
* SimpleGrid is a flexbox container where each child is treated as a column.
|
|
20
|
+
* Each column takes equal amount of space.
|
|
21
|
+
*/
|
|
17
22
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
18
23
|
var HvSimpleGrid = function HvSimpleGrid(_ref) {
|
|
19
24
|
var children = _ref.children,
|
|
@@ -41,7 +46,7 @@ process.env.NODE_ENV !== "production" ? HvSimpleGrid.propTypes = {
|
|
|
41
46
|
/**
|
|
42
47
|
* Spacing with pre-defined values according the values defined in the theme
|
|
43
48
|
*/
|
|
44
|
-
spacing: PropTypes.oneOf(["sm", "md", "lg", "xl"]),
|
|
49
|
+
spacing: PropTypes.oneOf(["xs", "sm", "md", "lg", "xl"]),
|
|
45
50
|
/**
|
|
46
51
|
* Provide an array to define responsive behavior:
|
|
47
52
|
*
|
|
@@ -55,7 +60,7 @@ process.env.NODE_ENV !== "production" ? HvSimpleGrid.propTypes = {
|
|
|
55
60
|
maxWidth: PropTypes.number,
|
|
56
61
|
minWidth: PropTypes.number,
|
|
57
62
|
cols: PropTypes.number,
|
|
58
|
-
spacing: PropTypes.oneOf(["sm", "md", "lg", "xl"])
|
|
63
|
+
spacing: PropTypes.oneOf(["xs", "sm", "md", "lg", "xl"])
|
|
59
64
|
})),
|
|
60
65
|
/**
|
|
61
66
|
* Number of how many columns the content will be displayed
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SimpleGrid.js","names":["React","PropTypes","withStyles","useStyles","HvSimpleGrid","children","breakpoints","spacing","cols","others","classes","container","propTypes","node","oneOf","arrayOf","shape","maxWidth","number","minWidth","name"],"sources":["../../../src/SimpleGrid/SimpleGrid.js"],"sourcesContent":["import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport { withStyles } from \"@mui/styles\";\nimport useStyles from \"./styles\";\n\nconst HvSimpleGrid = ({ children, breakpoints, spacing = \"sm\", cols, ...others }) => {\n const classes = useStyles({ breakpoints, cols, spacing })();\n return (\n <div className={classes.container} {...others}>\n {children}\n </div>\n );\n};\n\nHvSimpleGrid.propTypes = {\n /**\n * -\n */\n children: PropTypes.node,\n /**\n * Spacing with pre-defined values according the values defined in the theme\n */\n spacing: PropTypes.oneOf([\"sm\", \"md\", \"lg\", \"xl\"]),\n /**\n * Provide an array to define responsive behavior:\n *\n * maxWidth or minWidth: max-width or min-width at which media query will work\n *\n * cols: number of columns per row at given max-width\n *\n * spacing: optional spacing at given max-width, if not provided spacing from component prop will be used instead\n */\n breakpoints: PropTypes.arrayOf(\n PropTypes.shape({\n maxWidth: PropTypes.number,\n minWidth: PropTypes.number,\n cols: PropTypes.number,\n spacing: PropTypes.oneOf([\"sm\", \"md\", \"lg\", \"xl\"]),\n })\n ),\n /**\n * Number of how many columns the content will be displayed\n */\n cols: PropTypes.number,\n};\n\nexport default withStyles(useStyles, { name: \"HvSimpleGrid\" })(HvSimpleGrid);\n"],"mappings":";;;;;;;;;;;;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,OAAOC,SAAS,MAAM,YAAY;AAClC,SAASC,UAAU,QAAQ,aAAa;AACxC,OAAOC,SAAS,MAAM,UAAU;
|
|
1
|
+
{"version":3,"file":"SimpleGrid.js","names":["React","PropTypes","withStyles","useStyles","HvSimpleGrid","children","breakpoints","spacing","cols","others","classes","container","propTypes","node","oneOf","arrayOf","shape","maxWidth","number","minWidth","name"],"sources":["../../../src/SimpleGrid/SimpleGrid.js"],"sourcesContent":["import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport { withStyles } from \"@mui/styles\";\nimport useStyles from \"./styles\";\n\n/**\n * SimpleGrid is a flexbox container where each child is treated as a column.\n * Each column takes equal amount of space.\n */\nconst HvSimpleGrid = ({ children, breakpoints, spacing = \"sm\", cols, ...others }) => {\n const classes = useStyles({ breakpoints, cols, spacing })();\n return (\n <div className={classes.container} {...others}>\n {children}\n </div>\n );\n};\n\nHvSimpleGrid.propTypes = {\n /**\n * -\n */\n children: PropTypes.node,\n /**\n * Spacing with pre-defined values according the values defined in the theme\n */\n spacing: PropTypes.oneOf([\"xs\", \"sm\", \"md\", \"lg\", \"xl\"]),\n /**\n * Provide an array to define responsive behavior:\n *\n * maxWidth or minWidth: max-width or min-width at which media query will work\n *\n * cols: number of columns per row at given max-width\n *\n * spacing: optional spacing at given max-width, if not provided spacing from component prop will be used instead\n */\n breakpoints: PropTypes.arrayOf(\n PropTypes.shape({\n maxWidth: PropTypes.number,\n minWidth: PropTypes.number,\n cols: PropTypes.number,\n spacing: PropTypes.oneOf([\"xs\", \"sm\", \"md\", \"lg\", \"xl\"]),\n })\n ),\n /**\n * Number of how many columns the content will be displayed\n */\n cols: PropTypes.number,\n};\n\nexport default withStyles(useStyles, { name: \"HvSimpleGrid\" })(HvSimpleGrid);\n"],"mappings":";;;;;;;;;;;;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,OAAOC,SAAS,MAAM,YAAY;AAClC,SAASC,UAAU,QAAQ,aAAa;AACxC,OAAOC,SAAS,MAAM,UAAU;;AAEhC;AACA;AACA;AACA;AAHA;AAIA,IAAMC,YAAY,GAAG,SAAfA,YAAY,OAAmE;EAAA,IAA7DC,QAAQ,QAARA,QAAQ;IAAEC,WAAW,QAAXA,WAAW;IAAA,oBAAEC,OAAO;IAAPA,OAAO,6BAAG,IAAI;IAAEC,IAAI,QAAJA,IAAI;IAAKC,MAAM;EAC5E,IAAMC,OAAO,GAAGP,SAAS,CAAC;IAAEG,WAAW,EAAXA,WAAW;IAAEE,IAAI,EAAJA,IAAI;IAAED,OAAO,EAAPA;EAAQ,CAAC,CAAC,EAAE;EAC3D,oBACE;IAAK,SAAS,EAAEG,OAAO,CAACC;EAAU,GAAKF,MAAM;IAAA,UAC1CJ;EAAQ,GACL;AAEV,CAAC;AAED,wCAAAD,YAAY,CAACQ,SAAS,GAAG;EACvB;AACF;AACA;EACEP,QAAQ,EAAEJ,SAAS,CAACY,IAAI;EACxB;AACF;AACA;EACEN,OAAO,EAAEN,SAAS,CAACa,KAAK,CAAC,CAAC,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,CAAC,CAAC;EACxD;AACF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;EACER,WAAW,EAAEL,SAAS,CAACc,OAAO,CAC5Bd,SAAS,CAACe,KAAK,CAAC;IACdC,QAAQ,EAAEhB,SAAS,CAACiB,MAAM;IAC1BC,QAAQ,EAAElB,SAAS,CAACiB,MAAM;IAC1BV,IAAI,EAAEP,SAAS,CAACiB,MAAM;IACtBX,OAAO,EAAEN,SAAS,CAACa,KAAK,CAAC,CAAC,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,CAAC;EACzD,CAAC,CAAC,CACH;EACD;AACF;AACA;EACEN,IAAI,EAAEP,SAAS,CAACiB;AAClB,CAAC;AAED,eAAehB,UAAU,CAACC,SAAS,EAAE;EAAEiB,IAAI,EAAE;AAAe,CAAC,CAAC,CAAChB,YAAY,CAAC"}
|
|
@@ -53,8 +53,7 @@ const HvWarningText = props => {
|
|
|
53
53
|
children: [!disableAdornment && localAdornment, /*#__PURE__*/_jsx(HvTypography, _objectSpread(_objectSpread({
|
|
54
54
|
id: localId,
|
|
55
55
|
className: clsx(classes.warningText, !disableGutter && classes.topGutter, hideText && classes.hideText),
|
|
56
|
-
|
|
57
|
-
"aria-atomic": "true",
|
|
56
|
+
role: "status",
|
|
58
57
|
"aria-relevant": "additions text"
|
|
59
58
|
}, others), {}, {
|
|
60
59
|
children: showWarning && content
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WarningText.js","names":["React","useContext","PropTypes","clsx","isNil","Fail","withStyles","HvFormElementContext","HvTypography","setId","styles","HvWarningText","props","children","adornment","isVisible","classes","className","id","disabled","disableGutter","disableBorder","disableAdornment","hideText","others","elementId","elementStatus","elementDisabled","localDisabled","localVisible","localId","showWarning","content","localAdornment","defaultIcon","root","show","topBorder","warningText","topGutter","formElementType","propTypes","string","node","shape","isRequired","bool","name"],"sources":["../../../../src/Forms/WarningText/WarningText.js"],"sourcesContent":["import React, { useContext } from \"react\";\nimport PropTypes from \"prop-types\";\nimport clsx from \"clsx\";\nimport isNil from \"lodash/isNil\";\nimport { Fail } from \"@hitachivantara/uikit-react-icons\";\nimport { withStyles } from \"@mui/styles\";\nimport { HvFormElementContext } from \"../FormElement\";\nimport { HvTypography } from \"../..\";\nimport { setId } from \"../../utils\";\nimport styles from \"./styles\";\n\n/**\n * Provides the user with a descriptive text, signaling an error, for when the form element is in an invalid state.\n */\nconst HvWarningText = (props) => {\n const {\n children,\n adornment,\n isVisible,\n classes,\n className,\n id,\n disabled,\n disableGutter = false,\n disableBorder = false,\n disableAdornment = false,\n hideText = false,\n ...others\n } = props;\n\n const { elementId, elementStatus, elementDisabled } = useContext(HvFormElementContext);\n const localDisabled = disabled || elementDisabled;\n const localVisible = !isNil(isVisible) ? isVisible : elementStatus === \"invalid\";\n const localId = id ?? setId(elementId, \"error\");\n const showWarning = localVisible && !localDisabled;\n const content = showWarning ? children : \"\";\n const localAdornment = adornment || <Fail className={classes.defaultIcon} semantic=\"sema4\" />;\n\n return (\n <div\n className={clsx(className, classes.root, {\n [classes.show]: showWarning,\n [classes.topBorder]: !disableBorder,\n })}\n >\n {!disableAdornment && localAdornment}\n <HvTypography\n id={localId}\n className={clsx(classes.warningText, {\n [classes.topGutter]: !disableGutter,\n [classes.hideText]: hideText,\n })}\n
|
|
1
|
+
{"version":3,"file":"WarningText.js","names":["React","useContext","PropTypes","clsx","isNil","Fail","withStyles","HvFormElementContext","HvTypography","setId","styles","HvWarningText","props","children","adornment","isVisible","classes","className","id","disabled","disableGutter","disableBorder","disableAdornment","hideText","others","elementId","elementStatus","elementDisabled","localDisabled","localVisible","localId","showWarning","content","localAdornment","defaultIcon","root","show","topBorder","warningText","topGutter","formElementType","propTypes","string","node","shape","isRequired","bool","name"],"sources":["../../../../src/Forms/WarningText/WarningText.js"],"sourcesContent":["import React, { useContext } from \"react\";\nimport PropTypes from \"prop-types\";\nimport clsx from \"clsx\";\nimport isNil from \"lodash/isNil\";\nimport { Fail } from \"@hitachivantara/uikit-react-icons\";\nimport { withStyles } from \"@mui/styles\";\nimport { HvFormElementContext } from \"../FormElement\";\nimport { HvTypography } from \"../..\";\nimport { setId } from \"../../utils\";\nimport styles from \"./styles\";\n\n/**\n * Provides the user with a descriptive text, signaling an error, for when the form element is in an invalid state.\n */\nconst HvWarningText = (props) => {\n const {\n children,\n adornment,\n isVisible,\n classes,\n className,\n id,\n disabled,\n disableGutter = false,\n disableBorder = false,\n disableAdornment = false,\n hideText = false,\n ...others\n } = props;\n\n const { elementId, elementStatus, elementDisabled } = useContext(HvFormElementContext);\n const localDisabled = disabled || elementDisabled;\n const localVisible = !isNil(isVisible) ? isVisible : elementStatus === \"invalid\";\n const localId = id ?? setId(elementId, \"error\");\n const showWarning = localVisible && !localDisabled;\n const content = showWarning ? children : \"\";\n const localAdornment = adornment || <Fail className={classes.defaultIcon} semantic=\"sema4\" />;\n\n return (\n <div\n className={clsx(className, classes.root, {\n [classes.show]: showWarning,\n [classes.topBorder]: !disableBorder,\n })}\n >\n {!disableAdornment && localAdornment}\n <HvTypography\n id={localId}\n className={clsx(classes.warningText, {\n [classes.topGutter]: !disableGutter,\n [classes.hideText]: hideText,\n })}\n role=\"status\"\n aria-relevant=\"additions text\"\n {...others}\n >\n {showWarning && content}\n </HvTypography>\n </div>\n );\n};\n\nHvWarningText.formElementType = \"errormessage\";\n\nHvWarningText.propTypes = {\n /**\n * Class names to be applied.\n */\n className: PropTypes.string,\n /**\n * The description to be shown by this helper text\n */\n children: PropTypes.node,\n /**\n * Id to be applied to the root node.\n */\n id: PropTypes.string,\n /**\n * A Jss Object used to override or extend the component styles applied.\n */\n classes: PropTypes.shape({\n /**\n * Styles applied to the component root class.\n */\n root: PropTypes.string,\n /**\n * Styles applied to the default icon.\n */\n defaultIcon: PropTypes.string,\n /**\n * Styles applied to the warning text.\n */\n warningText: PropTypes.string,\n /**\n * Styles applied when the text should be shown.\n */\n show: PropTypes.string,\n /**\n * Separation between text and upper element.\n */\n topGutter: PropTypes.string,\n /**\n * The top border.\n */\n topBorder: PropTypes.string,\n /**\n * Styles applied to the text when the error are is active\n * but the text is to be not visible.\n */\n hideText: PropTypes.string,\n }).isRequired,\n /**\n * Icon to be rendered alongside the warning text.\n */\n adornment: PropTypes.node,\n /**\n * If `true` the text is not rendered.\n */\n isVisible: PropTypes.bool,\n /**\n * If `true` the text is disabled.\n */\n disabled: PropTypes.bool,\n /**\n * If `true` the text won't include a gutter.\n */\n disableGutter: PropTypes.bool,\n /**\n * If `true` the text won't include the top border.\n */\n disableBorder: PropTypes.bool,\n /**\n * If `true` the adornment icon isn't shown.\n */\n disableAdornment: PropTypes.bool,\n /**\n * If `true` the text isn't shown.\n */\n hideText: PropTypes.bool,\n};\n\nexport default withStyles(styles, { name: \"HvWarningText\" })(HvWarningText);\n"],"mappings":";;;;;AAAA,OAAOA,KAAK,IAAIC,UAAU,QAAQ,OAAO;AACzC,OAAOC,SAAS,MAAM,YAAY;AAClC,OAAOC,IAAI,MAAM,MAAM;AACvB,OAAOC,KAAK,MAAM,cAAc;AAChC,SAASC,IAAI,QAAQ,mCAAmC;AACxD,SAASC,UAAU,QAAQ,aAAa;AACxC,SAASC,oBAAoB,QAAQ,gBAAgB;AACrD,SAASC,YAAY,QAAQ,OAAO;AACpC,SAASC,KAAK,QAAQ,aAAa;AACnC,OAAOC,MAAM,MAAM,UAAU;;AAE7B;AACA;AACA;AAFA;AAAA;AAGA,MAAMC,aAAa,GAAIC,KAAK,IAAK;EAC/B,MAAM;MACJC,QAAQ;MACRC,SAAS;MACTC,SAAS;MACTC,OAAO;MACPC,SAAS;MACTC,EAAE;MACFC,QAAQ;MACRC,aAAa,GAAG,KAAK;MACrBC,aAAa,GAAG,KAAK;MACrBC,gBAAgB,GAAG,KAAK;MACxBC,QAAQ,GAAG;IAEb,CAAC,GAAGX,KAAK;IADJY,MAAM,4BACPZ,KAAK;EAET,MA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B;AACF;AACA;EACE7B,QAAQ,EAAEX,SAAS,CAACyC,IAAI;EACxB;AACF;AACA;EACEzB,EAAE,EAAEhB,SAAS,CAACwC,MAAM;EACpB;AACF;AACA;EACE1B,OAAO,EAAEd,SAAS,CAAC0C,KAAK,CAAC;IACvB;AACJ;AACA;IACIT,IAAI,EAAEjC,SAAS,CAACwC,MAAM;IACtB;AACJ;AACA;IACIR,WAAW,EAAEhC,SAAS,CAACwC,MAAM;IAC7B;AACJ;AACA;IACIJ,WAAW,EAAEpC,SAAS,CAACwC,MAAM;IAC7B;AACJ;AACA;IACIN,IAAI,EAAElC,SAAS,CAACwC,MAAM;IACtB;AACJ;AACA;IACIH,SAAS,EAAErC,SAAS,CAACwC,MAAM;IAC3B;AACJ;AACA;IACIL,SAAS,EAAEnC,SAAS,CAACwC,MAAM;IAC3B;AACJ;AACA;AACA;IACInB,QAAQ,EAAErB,SAAS,CAACwC;EACtB,CAAC,CAAC,CAACG,UAAU;EACb;AACF;AACA;EACE/B,SAAS,EAAEZ,SAAS,CAACyC,IAAI;EACzB;AACF;AACA;EACE5B,SAAS,EAAEb,SAAS,CAAC4C,IAAI;EACzB;AACF;AACA;EACE3B,QAAQ,EAAEjB,SAAS,CAAC4C,IAAI;EACxB;AACF;AACA;EACE1B,aAAa,EAAElB,SAAS,CAAC4C,IAAI;EAC7B;AACF;AACA;EACEzB,aAAa,EAAEnB,SAAS,CAAC4C,IAAI;EAC7B;AACF;AACA;EACExB,gBAAgB,EAAEpB,SAAS,CAAC4C,IAAI;EAChC;AACF;AACA;EACEvB,QAAQ,EAAErB,SAAS,CAAC4C;AACtB,CAAC;AAED,eAAexC,UAAU,CAACI,MAAM,EAAE;EAAEqC,IAAI,EAAE;AAAgB,CAAC,CAAC,CAACpC,aAAa,CAAC"}
|
|
@@ -1,4 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { HvSpacingKeys } from "../theme";
|
|
3
|
+
|
|
4
|
+
export type Spacing = HvSpacingKeys;
|
|
2
5
|
export type Breakpoint = {
|
|
3
6
|
cols?: number;
|
|
4
7
|
maxWidth?: number;
|
|
@@ -7,7 +10,7 @@ export type Breakpoint = {
|
|
|
7
10
|
};
|
|
8
11
|
|
|
9
12
|
export interface SimpleGridProps {
|
|
10
|
-
children?:
|
|
13
|
+
children?: React.ReactNode;
|
|
11
14
|
spacing?: Spacing;
|
|
12
15
|
cols?: number;
|
|
13
16
|
breakpoints?: Breakpoint[];
|
|
@@ -7,6 +7,11 @@ import React from "react";
|
|
|
7
7
|
import PropTypes from "prop-types";
|
|
8
8
|
import { withStyles } from "@mui/styles";
|
|
9
9
|
import useStyles from "./styles";
|
|
10
|
+
|
|
11
|
+
/**
|
|
12
|
+
* SimpleGrid is a flexbox container where each child is treated as a column.
|
|
13
|
+
* Each column takes equal amount of space.
|
|
14
|
+
*/
|
|
10
15
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
11
16
|
const HvSimpleGrid = _ref => {
|
|
12
17
|
let {
|
|
@@ -35,7 +40,7 @@ process.env.NODE_ENV !== "production" ? HvSimpleGrid.propTypes = {
|
|
|
35
40
|
/**
|
|
36
41
|
* Spacing with pre-defined values according the values defined in the theme
|
|
37
42
|
*/
|
|
38
|
-
spacing: PropTypes.oneOf(["sm", "md", "lg", "xl"]),
|
|
43
|
+
spacing: PropTypes.oneOf(["xs", "sm", "md", "lg", "xl"]),
|
|
39
44
|
/**
|
|
40
45
|
* Provide an array to define responsive behavior:
|
|
41
46
|
*
|
|
@@ -49,7 +54,7 @@ process.env.NODE_ENV !== "production" ? HvSimpleGrid.propTypes = {
|
|
|
49
54
|
maxWidth: PropTypes.number,
|
|
50
55
|
minWidth: PropTypes.number,
|
|
51
56
|
cols: PropTypes.number,
|
|
52
|
-
spacing: PropTypes.oneOf(["sm", "md", "lg", "xl"])
|
|
57
|
+
spacing: PropTypes.oneOf(["xs", "sm", "md", "lg", "xl"])
|
|
53
58
|
})),
|
|
54
59
|
/**
|
|
55
60
|
* Number of how many columns the content will be displayed
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SimpleGrid.js","names":["React","PropTypes","withStyles","useStyles","HvSimpleGrid","children","breakpoints","spacing","cols","others","classes","container","propTypes","node","oneOf","arrayOf","shape","maxWidth","number","minWidth","name"],"sources":["../../../src/SimpleGrid/SimpleGrid.js"],"sourcesContent":["import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport { withStyles } from \"@mui/styles\";\nimport useStyles from \"./styles\";\n\nconst HvSimpleGrid = ({ children, breakpoints, spacing = \"sm\", cols, ...others }) => {\n const classes = useStyles({ breakpoints, cols, spacing })();\n return (\n <div className={classes.container} {...others}>\n {children}\n </div>\n );\n};\n\nHvSimpleGrid.propTypes = {\n /**\n * -\n */\n children: PropTypes.node,\n /**\n * Spacing with pre-defined values according the values defined in the theme\n */\n spacing: PropTypes.oneOf([\"sm\", \"md\", \"lg\", \"xl\"]),\n /**\n * Provide an array to define responsive behavior:\n *\n * maxWidth or minWidth: max-width or min-width at which media query will work\n *\n * cols: number of columns per row at given max-width\n *\n * spacing: optional spacing at given max-width, if not provided spacing from component prop will be used instead\n */\n breakpoints: PropTypes.arrayOf(\n PropTypes.shape({\n maxWidth: PropTypes.number,\n minWidth: PropTypes.number,\n cols: PropTypes.number,\n spacing: PropTypes.oneOf([\"sm\", \"md\", \"lg\", \"xl\"]),\n })\n ),\n /**\n * Number of how many columns the content will be displayed\n */\n cols: PropTypes.number,\n};\n\nexport default withStyles(useStyles, { name: \"HvSimpleGrid\" })(HvSimpleGrid);\n"],"mappings":";;;;;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,OAAOC,SAAS,MAAM,YAAY;AAClC,SAASC,UAAU,QAAQ,aAAa;AACxC,OAAOC,SAAS,MAAM,UAAU;
|
|
1
|
+
{"version":3,"file":"SimpleGrid.js","names":["React","PropTypes","withStyles","useStyles","HvSimpleGrid","children","breakpoints","spacing","cols","others","classes","container","propTypes","node","oneOf","arrayOf","shape","maxWidth","number","minWidth","name"],"sources":["../../../src/SimpleGrid/SimpleGrid.js"],"sourcesContent":["import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport { withStyles } from \"@mui/styles\";\nimport useStyles from \"./styles\";\n\n/**\n * SimpleGrid is a flexbox container where each child is treated as a column.\n * Each column takes equal amount of space.\n */\nconst HvSimpleGrid = ({ children, breakpoints, spacing = \"sm\", cols, ...others }) => {\n const classes = useStyles({ breakpoints, cols, spacing })();\n return (\n <div className={classes.container} {...others}>\n {children}\n </div>\n );\n};\n\nHvSimpleGrid.propTypes = {\n /**\n * -\n */\n children: PropTypes.node,\n /**\n * Spacing with pre-defined values according the values defined in the theme\n */\n spacing: PropTypes.oneOf([\"xs\", \"sm\", \"md\", \"lg\", \"xl\"]),\n /**\n * Provide an array to define responsive behavior:\n *\n * maxWidth or minWidth: max-width or min-width at which media query will work\n *\n * cols: number of columns per row at given max-width\n *\n * spacing: optional spacing at given max-width, if not provided spacing from component prop will be used instead\n */\n breakpoints: PropTypes.arrayOf(\n PropTypes.shape({\n maxWidth: PropTypes.number,\n minWidth: PropTypes.number,\n cols: PropTypes.number,\n spacing: PropTypes.oneOf([\"xs\", \"sm\", \"md\", \"lg\", \"xl\"]),\n })\n ),\n /**\n * Number of how many columns the content will be displayed\n */\n cols: PropTypes.number,\n};\n\nexport default withStyles(useStyles, { name: \"HvSimpleGrid\" })(HvSimpleGrid);\n"],"mappings":";;;;;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,OAAOC,SAAS,MAAM,YAAY;AAClC,SAASC,UAAU,QAAQ,aAAa;AACxC,OAAOC,SAAS,MAAM,UAAU;;AAEhC;AACA;AACA;AACA;AAHA;AAIA,MAAMC,YAAY,GAAG,QAAgE;EAAA,IAA/D;MAAEC,QAAQ;MAAEC,WAAW;MAAEC,OAAO,GAAG,IAAI;MAAEC;IAAgB,CAAC;IAARC,MAAM;EAC5E,MAAMC,OAAO,GAAGP,SAAS,CAAC;IAAEG,WAAW;IAAEE,IAAI;IAAED;EAAQ,CAAC,CAAC,EAAE;EAC3D,oBACE;IAAK,SAAS,EAAEG,OAAO,CAACC;EAAU,GAAKF,MAAM;IAAA,UAC1CJ;EAAQ,GACL;AAEV,CAAC;AAED,wCAAAD,YAAY,CAACQ,SAAS,GAAG;EACvB;AACF;AACA;EACEP,QAAQ,EAAEJ,SAAS,CAACY,IAAI;EACxB;AACF;AACA;EACEN,OAAO,EAAEN,SAAS,CAACa,KAAK,CAAC,CAAC,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,CAAC,CAAC;EACxD;AACF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;EACER,WAAW,EAAEL,SAAS,CAACc,OAAO,CAC5Bd,SAAS,CAACe,KAAK,CAAC;IACdC,QAAQ,EAAEhB,SAAS,CAACiB,MAAM;IAC1BC,QAAQ,EAAElB,SAAS,CAACiB,MAAM;IAC1BV,IAAI,EAAEP,SAAS,CAACiB,MAAM;IACtBX,OAAO,EAAEN,SAAS,CAACa,KAAK,CAAC,CAAC,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,CAAC;EACzD,CAAC,CAAC,CACH;EACD;AACF;AACA;EACEN,IAAI,EAAEP,SAAS,CAACiB;AAClB,CAAC;AAED,eAAehB,UAAU,CAACC,SAAS,EAAE;EAAEiB,IAAI,EAAE;AAAe,CAAC,CAAC,CAAChB,YAAY,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hitachivantara/uikit-react-core",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.1.1",
|
|
4
4
|
"description": "A collection of React components for the Hitachi Vantara's Design System.",
|
|
5
5
|
"homepage": "https://github.com/lumada-design/hv-uikit-react",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -83,5 +83,5 @@
|
|
|
83
83
|
"publishConfig": {
|
|
84
84
|
"access": "public"
|
|
85
85
|
},
|
|
86
|
-
"gitHead": "
|
|
86
|
+
"gitHead": "fb63aeadd7dfb00515424349c31936cad5bfe100"
|
|
87
87
|
}
|