indicator-ui 0.0.258 → 0.0.259
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.css +60 -0
- package/dist/index.css.map +1 -1
- package/dist/index.js +8 -5
- package/dist/index.js.map +1 -1
- package/dist/types/src/ui/InputFields/FlexField/types/FlexFieldTypes.d.ts +2 -0
- package/dist/types/src/ui/InputFields/FlexField/ui/FlexField.d.ts +1 -0
- package/dist/types/src/ui/InputFields/InputFieldWrapper/types/InputFieldWrapperTypes.d.ts +2 -0
- package/dist/types/src/ui/InputFields/InputFieldWrapper/ui/InputFieldWrapper.d.ts +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -32036,7 +32036,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
32036
32036
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
32037
32037
|
/* harmony export */ });
|
|
32038
32038
|
// extracted by mini-css-extract-plugin
|
|
32039
|
-
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({"flexField":"FlexField-module__flexField___bQEfy","inputField":"FlexField-module__inputField___ckUI1","placeholder":"FlexField-module__placeholder___LYS5Z","icon":"FlexField-module__icon___pHmKh","textSupport":"FlexField-module__textSupport___WGMzj","help":"FlexField-module__help___ORoT_","dropdown":"FlexField-module__dropdown___BqdfG","dropdownReverse":"FlexField-module__dropdownReverse___FNjEK","button":"FlexField-module__button___TjLHK","red":"FlexField-module__red___BY7NK","gray":"FlexField-module__gray___sjpVp","pointer":"FlexField-module__pointer___dOJ4b","focus":"FlexField-module__focus___pkwN6","isError":"FlexField-module__isError___VljDQ","disabled":"FlexField-module__disabled___lN8Vv","userPick":"FlexField-module__userPick___GeaoI"});
|
|
32039
|
+
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({"flexField":"FlexField-module__flexField___bQEfy","inputField":"FlexField-module__inputField___ckUI1","placeholder":"FlexField-module__placeholder___LYS5Z","icon":"FlexField-module__icon___pHmKh","textSupport":"FlexField-module__textSupport___WGMzj","help":"FlexField-module__help___ORoT_","dropdown":"FlexField-module__dropdown___BqdfG","dropdownReverse":"FlexField-module__dropdownReverse___FNjEK","button":"FlexField-module__button___TjLHK","red":"FlexField-module__red___BY7NK","gray":"FlexField-module__gray___sjpVp","pointer":"FlexField-module__pointer___dOJ4b","focus":"FlexField-module__focus___pkwN6","isError":"FlexField-module__isError___VljDQ","disabled":"FlexField-module__disabled___lN8Vv","userPick":"FlexField-module__userPick___GeaoI","smallDisplay":"FlexField-module__smallDisplay___y_Y9l","largeDisplay":"FlexField-module__largeDisplay___I3LHo"});
|
|
32040
32040
|
|
|
32041
32041
|
/***/ }),
|
|
32042
32042
|
|
|
@@ -32124,6 +32124,7 @@ function _arrayWithHoles(r) { if (Array.isArray(r)) return r; }
|
|
|
32124
32124
|
var FlexField = /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_1__.forwardRef)(function (_ref, ref) {
|
|
32125
32125
|
var value = _ref.value,
|
|
32126
32126
|
type = _ref.type,
|
|
32127
|
+
display = _ref.display,
|
|
32127
32128
|
onChange = _ref.onChange,
|
|
32128
32129
|
onFocus = _ref.onFocus,
|
|
32129
32130
|
name = _ref.name,
|
|
@@ -32280,7 +32281,7 @@ var FlexField = /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_1__.forwardRef)(f
|
|
|
32280
32281
|
return (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)("div", {
|
|
32281
32282
|
ref: ref,
|
|
32282
32283
|
onClick: onClick,
|
|
32283
|
-
className: (0,clsx__WEBPACK_IMPORTED_MODULE_3__["default"])(_styles__WEBPACK_IMPORTED_MODULE_6__.FlexFieldStyle.flexField, _defineProperty(_defineProperty(_defineProperty(_defineProperty({}, _styles__WEBPACK_IMPORTED_MODULE_6__.FlexFieldStyle.isError, isError), _styles__WEBPACK_IMPORTED_MODULE_6__.FlexFieldStyle.disabled, disabled), _styles__WEBPACK_IMPORTED_MODULE_6__.FlexFieldStyle.focus, isFocus && !offFocus), _styles__WEBPACK_IMPORTED_MODULE_6__.FlexFieldStyle.pointer, !!onClick), additionStyles),
|
|
32284
|
+
className: (0,clsx__WEBPACK_IMPORTED_MODULE_3__["default"])(_styles__WEBPACK_IMPORTED_MODULE_6__.FlexFieldStyle.flexField, _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({}, _styles__WEBPACK_IMPORTED_MODULE_6__.FlexFieldStyle.isError, isError), _styles__WEBPACK_IMPORTED_MODULE_6__.FlexFieldStyle.disabled, disabled), _styles__WEBPACK_IMPORTED_MODULE_6__.FlexFieldStyle.focus, isFocus && !offFocus), _styles__WEBPACK_IMPORTED_MODULE_6__.FlexFieldStyle.pointer, !!onClick), _styles__WEBPACK_IMPORTED_MODULE_6__.FlexFieldStyle.smallDisplay, display === "small"), _styles__WEBPACK_IMPORTED_MODULE_6__.FlexFieldStyle.largeDisplay, display === "large"), additionStyles),
|
|
32284
32285
|
children: [getIcon(), getTextSupport(), getUserPic(), getInput(), getHelp(), getDropdown(), getButton()]
|
|
32285
32286
|
});
|
|
32286
32287
|
});
|
|
@@ -32448,7 +32449,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
32448
32449
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
32449
32450
|
/* harmony export */ });
|
|
32450
32451
|
// extracted by mini-css-extract-plugin
|
|
32451
|
-
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({"inputFieldWrapper":"InputFieldWrapper-module__inputFieldWrapper___QKhWg","labelText":"InputFieldWrapper-module__labelText___n0EsW","required":"InputFieldWrapper-module__required___SDv6c","hintText":"InputFieldWrapper-module__hintText___Utfgx","hintError":"InputFieldWrapper-module__hintError___v4J5W","helperLink":"InputFieldWrapper-module__helperLink___Kfen4"});
|
|
32452
|
+
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({"inputFieldWrapper":"InputFieldWrapper-module__inputFieldWrapper___QKhWg","labelText":"InputFieldWrapper-module__labelText___n0EsW","required":"InputFieldWrapper-module__required___SDv6c","hintText":"InputFieldWrapper-module__hintText___Utfgx","hintError":"InputFieldWrapper-module__hintError___v4J5W","helperLink":"InputFieldWrapper-module__helperLink___Kfen4","display":"InputFieldWrapper-module__display___EN4pl"});
|
|
32452
32453
|
|
|
32453
32454
|
/***/ }),
|
|
32454
32455
|
|
|
@@ -32524,7 +32525,8 @@ function InputFieldWrapper(_ref) {
|
|
|
32524
32525
|
helperLink = _ref.helperLink,
|
|
32525
32526
|
isError = _ref.isError,
|
|
32526
32527
|
viewRequired = _ref.viewRequired,
|
|
32527
|
-
additionStyle = _ref.additionStyle
|
|
32528
|
+
additionStyle = _ref.additionStyle,
|
|
32529
|
+
display = _ref.display;
|
|
32528
32530
|
var getClassName = function getClassName(type) {
|
|
32529
32531
|
if (typeof additionStyle === "string" || Array.isArray(additionStyle)) {
|
|
32530
32532
|
if (type === 'main') {
|
|
@@ -32595,8 +32597,9 @@ function InputFieldWrapper(_ref) {
|
|
|
32595
32597
|
}
|
|
32596
32598
|
return undefined;
|
|
32597
32599
|
};
|
|
32600
|
+
console.log(_defineProperty({}, _styles__WEBPACK_IMPORTED_MODULE_2__.InputFieldWrapperStyle.display, display === "small" || display === "large"));
|
|
32598
32601
|
return (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)("div", {
|
|
32599
|
-
className: (0,clsx__WEBPACK_IMPORTED_MODULE_1__["default"])(_styles__WEBPACK_IMPORTED_MODULE_2__.InputFieldWrapperStyle.inputFieldWrapper, _defineProperty({}, _styles__WEBPACK_IMPORTED_MODULE_2__.InputFieldWrapperStyle.isError, isError), getClassName('main')),
|
|
32602
|
+
className: (0,clsx__WEBPACK_IMPORTED_MODULE_1__["default"])(_styles__WEBPACK_IMPORTED_MODULE_2__.InputFieldWrapperStyle.inputFieldWrapper, _defineProperty(_defineProperty({}, _styles__WEBPACK_IMPORTED_MODULE_2__.InputFieldWrapperStyle.isError, isError), _styles__WEBPACK_IMPORTED_MODULE_2__.InputFieldWrapperStyle.display, display === "small" || display === "large"), getClassName('main')),
|
|
32600
32603
|
children: [getLabelContent(), children, getHintContent(), getHelperLinkContent()]
|
|
32601
32604
|
});
|
|
32602
32605
|
}
|