@lanaco/lnc-react-ui 3.0.0-rc.2 → 3.0.0-rc.4

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/README.md CHANGED
@@ -1,5 +1,7 @@
1
1
  # Lanaco ReactJS UI components library
2
2
 
3
+ [Deployment](https://lanaco.github.io/lnc-react-ui/?path=/docs/intro--intro)
4
+
3
5
  This library includes basic and advanced UI components used with ReactJS frontend framework
4
6
 
5
7
  - [Installing](#installing)
@@ -11,7 +13,7 @@ This library includes basic and advanced UI components used with ReactJS fronten
11
13
  ## Installing
12
14
 
13
15
  ```
14
- $ npm install --save-dev @lanaco/lnc-react-ui
16
+ $ npm install @lanaco/lnc-react-ui
15
17
  ```
16
18
 
17
19
 
package/lib/index.esm.js CHANGED
@@ -3,7 +3,7 @@ import _slicedToArray$2 from '@babel/runtime/helpers/slicedToArray';
3
3
  import _objectWithoutProperties$b from '@babel/runtime/helpers/objectWithoutProperties';
4
4
  import _taggedTemplateLiteral from '@babel/runtime/helpers/taggedTemplateLiteral';
5
5
  import * as React from 'react';
6
- import React__default, { useLayoutEffect, useContext, createElement, createContext, forwardRef, Fragment, useRef, useEffect, useState, useMemo, useImperativeHandle, useCallback, Component, memo, useReducer, cloneElement, useDebugValue, isValidElement, Children } from 'react';
6
+ import React__default, { useLayoutEffect, useContext, createElement, createContext, forwardRef, Fragment, useRef, useEffect, useState, useMemo, useCallback, Component, useImperativeHandle, memo, useReducer, cloneElement, useDebugValue, isValidElement, Children } from 'react';
7
7
  import PropTypes from 'prop-types';
8
8
  import _defineProperty$g from '@babel/runtime/helpers/esm/defineProperty';
9
9
  import _inheritsLoose from '@babel/runtime/helpers/esm/inheritsLoose';
@@ -14917,7 +14917,7 @@ var getDisabledBackgroundCss = function getDisabledBackgroundCss(theme) {
14917
14917
  return "\n background-color: ".concat(bgColorRgba, ";\n ");
14918
14918
  };
14919
14919
 
14920
- var _excluded$1h = ["containerRef", "id", "name", "checked", "defaultValue", "indeterminate", "disabled", "readOnly", "label", "labelPosition", "tabIndex", "spaceBetween", "customCheckmark", "onChange", "onFocus", "onBlur", "onClick", "color", "size", "className", "style", "inputProps", "children"];
14920
+ var _excluded$1h = ["containerRef", "id", "name", "checked", "defaultChecked", "indeterminate", "disabled", "readOnly", "label", "labelPosition", "tabIndex", "spaceBetween", "customCheckmark", "onChange", "onFocus", "onBlur", "onClick", "color", "size", "className", "style", "inputProps", "children"];
14921
14921
  var _templateObject$1j;
14922
14922
  var getLabelDirection$2 = function getLabelDirection(direction) {
14923
14923
  if (direction == "left") return "row-reverse";
@@ -14926,7 +14926,7 @@ var getLabelDirection$2 = function getLabelDirection(direction) {
14926
14926
  var getCheckSize = function getCheckSize(theme, size) {
14927
14927
  return "calc(".concat(theme.components.Checkbox["default"].enabled.sizes[size], " / 2)");
14928
14928
  };
14929
- var Container$d = newStyled.label(_templateObject$1j || (_templateObject$1j = _taggedTemplateLiteral(["\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n cursor: pointer;\n min-height: ", ";\n max-height: ", ";\n display: inline-flex;\n align-items: center;\n justify-content: start;\n flex-direction: ", ";\n ", "\n width: 100%;\n ", "\n ", ";\n gap: 0.75rem;\n position: relative;\n & .checkbox-label {\n ", "\n min-width: 0;\n flex-shrink: 1;\n min-height: 0;\n overflow: hidden;\n text-overflow: ellipsis;\n }\n & input {\n position: absolute;\n opacity: 0;\n cursor: pointer;\n height: 0;\n width: 0;\n }\n & .checkmark {\n min-height: ", ";\n min-width: ", ";\n display: flex;\n justify-content: center;\n align-items: center;\n transition: all 0.2s ease;\n background-color: transparent;\n color: ", ";\n border: 1px solid\n ", ";\n border-radius: ", ";\n ", ";\n ", "\n & svg {\n height: 0;\n width: 0;\n stroke: transparent;\n }\n & img {\n max-height: 0;\n max-width: 0;\n filter: brightness(0) invert(1);\n }\n }\n & input:checked ~ .checkmark {\n background-color: ", ";\n border: 1px solid\n ", ";\n & .checked {\n height: ", ";\n width: ", ";\n stroke: white;\n }\n & .indeterminate {\n height: 0;\n width: 0;\n }\n & img {\n max-height: ", ";\n max-width: ", ";\n }\n }\n & input:indeterminate ~ .checkmark {\n & .checked {\n height: 0;\n width: 0;\n }\n background-color: ", ";\n & .indeterminate {\n height: ", ";\n width: ", ";\n stroke: white;\n }\n }\n & input:disabled ~ .checkmark {\n ", ";\n }\n"])), function (props) {
14929
+ var Container$d = newStyled.label(_templateObject$1j || (_templateObject$1j = _taggedTemplateLiteral(["\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n cursor: pointer;\n min-height: ", ";\n max-height: ", ";\n display: inline-flex;\n align-items: center;\n justify-content: start;\n flex-direction: ", ";\n ", "\n width: 100%;\n ", "\n ", ";\n gap: 0.75rem;\n position: relative;\n & .checkbox-label {\n ", "\n min-width: 0;\n flex-shrink: 1;\n min-height: 0;\n overflow: hidden;\n text-overflow: ellipsis;\n }\n & input {\n position: absolute;\n opacity: 0;\n cursor: pointer;\n height: 100%;\n width: 100%;\n z-index: 3;\n }\n & .checkmark {\n min-height: ", ";\n min-width: ", ";\n display: flex;\n justify-content: center;\n align-items: center;\n transition: all 0.2s ease;\n background-color: transparent;\n color: ", ";\n border: 1px solid\n ", ";\n border-radius: ", ";\n ", ";\n & svg {\n height: 0;\n width: 0;\n stroke: transparent;\n }\n & img {\n max-height: 0;\n max-width: 0;\n filter: brightness(0) invert(1);\n }\n }\n & input:checked ~ .checkmark {\n background-color: ", ";\n border: 1px solid\n ", ";\n & .checked {\n height: ", ";\n width: ", ";\n stroke: white;\n }\n & .indeterminate {\n height: 0;\n width: 0;\n }\n & img {\n max-height: ", ";\n max-width: ", ";\n }\n }\n & input:indeterminate ~ .checkmark {\n & .checked {\n height: 0;\n width: 0;\n }\n background-color: ", ";\n & .indeterminate {\n height: ", ";\n width: ", ";\n stroke: white;\n }\n }\n & input:disabled ~ .checkmark {\n ", ";\n }\n & input:focus ~ .checkmark {\n ", ";\n }\n & input:active ~ .checkmark {\n ", ";\n }\n"])), function (props) {
14930
14930
  return getSizeValueWithUnits(props.theme, props.size);
14931
14931
  }, function (props) {
14932
14932
  return getSizeValueWithUnits(props.theme, props.size);
@@ -14952,8 +14952,6 @@ var Container$d = newStyled.label(_templateObject$1j || (_templateObject$1j = _t
14952
14952
  return getBorderRadiusValueWithUnits(props.theme, "slight");
14953
14953
  }, function (props) {
14954
14954
  return props.disabled && "background-color: ".concat(getColorRgbaValue(props.theme, "Checkbox", props.color, "disabled", "border"));
14955
- }, function (props) {
14956
- return props.focused && !props.disabled && !props.readOnly ? getOutlineCss(props.theme) : "";
14957
14955
  }, function (props) {
14958
14956
  return getColorRgbaValue(props.theme, "Checkbox", props.color, "active", "background", "backgroundOpacity");
14959
14957
  }, function (props) {
@@ -14974,15 +14972,19 @@ var Container$d = newStyled.label(_templateObject$1j || (_templateObject$1j = _t
14974
14972
  return getCheckSize(props.theme, props.size);
14975
14973
  }, function (props) {
14976
14974
  return props.readOnly == false && "background-color: ".concat(getColorRgbaValue(props.theme, "Checkbox", props.color, "disabled", "border"), ";\n border-color: ").concat(getColorRgbaValue(props.theme, "Checkbox", props.color, "disabled", "border"), ";\n ");
14975
+ }, function (props) {
14976
+ return getOutlineCss(props.theme);
14977
+ }, function (props) {
14978
+ return getOutlineCss(props.theme);
14977
14979
  });
14978
14980
  var CheckBoxInput = /*#__PURE__*/React__default.forwardRef(function (props, ref) {
14979
14981
  var containerRef = props.containerRef;
14980
14982
  props.id;
14981
14983
  props.name;
14982
14984
  var checked = props.checked,
14983
- defaultValue = props.defaultValue,
14984
- indeterminate = props.indeterminate,
14985
- disabled = props.disabled,
14985
+ defaultChecked = props.defaultChecked;
14986
+ props.indeterminate;
14987
+ var disabled = props.disabled,
14986
14988
  readOnly = props.readOnly,
14987
14989
  label = props.label,
14988
14990
  labelPosition = props.labelPosition,
@@ -15000,50 +15002,25 @@ var CheckBoxInput = /*#__PURE__*/React__default.forwardRef(function (props, ref)
15000
15002
  inputProps = props.inputProps;
15001
15003
  props.children;
15002
15004
  var rest = _objectWithoutProperties$b(props, _excluded$1h);
15003
- var checkboxRef = useRef();
15004
- var _useState = useState(false),
15005
- _useState2 = _slicedToArray$2(_useState, 2),
15006
- focused = _useState2[0],
15007
- setFocused = _useState2[1];
15008
15005
  var theme = useTheme$1();
15009
15006
  var themeProps = {
15010
15007
  theme: theme,
15011
15008
  size: size,
15012
15009
  color: color,
15013
15010
  disabled: disabled,
15014
- readOnly: readOnly,
15015
- focused: focused
15011
+ readOnly: readOnly
15016
15012
  };
15017
- var _useState3 = useState(checked == true || checked == false ? checked : defaultValue),
15018
- _useState4 = _slicedToArray$2(_useState3, 2),
15019
- checkBoxChecked = _useState4[0],
15020
- setCheckBoxChecked = _useState4[1];
15021
- useEffectOnce$1(function () {
15022
- var checkbox = ref !== null && ref !== void 0 && ref.current ? ref.current : checkboxRef === null || checkboxRef === void 0 ? void 0 : checkboxRef.current;
15023
- if (checkbox && indeterminate == true) checkbox.indeterminate = true;
15024
- });
15013
+ var _useState = useState(checked == true || checked == false ? checked : defaultChecked),
15014
+ _useState2 = _slicedToArray$2(_useState, 2),
15015
+ checkBoxChecked = _useState2[0],
15016
+ setCheckBoxChecked = _useState2[1];
15025
15017
  useUpdateEffect$1(function () {
15026
15018
  setCheckBoxChecked(checked ? checked : false);
15027
15019
  }, [checked]);
15028
-
15029
- //Expose functions through ref
15030
- useImperativeHandle(ref, function () {
15031
- return {
15032
- setIndeterminate: function setIndeterminate() {
15033
- _setIndeterminate();
15034
- }
15035
- };
15036
- });
15037
- var _setIndeterminate = function _setIndeterminate() {
15038
- var checkbox = ref !== null && ref !== void 0 && ref.current ? ref.current : checkboxRef === null || checkboxRef === void 0 ? void 0 : checkboxRef.current;
15039
- if (checkbox && indeterminate == true) checkbox.indeterminate = true;
15040
- };
15041
15020
  var handleOnBlur = function handleOnBlur(e) {
15042
- setFocused(false);
15043
15021
  if (onBlur) onBlur(e);
15044
15022
  };
15045
15023
  var handleOnFocus = function handleOnFocus(e) {
15046
- setFocused(true);
15047
15024
  if (onFocus) onFocus(e);
15048
15025
  };
15049
15026
  return /*#__PURE__*/React__default.createElement(Container$d, _extends$g({
@@ -15057,9 +15034,9 @@ var CheckBoxInput = /*#__PURE__*/React__default.forwardRef(function (props, ref)
15057
15034
  readOnly: readOnly,
15058
15035
  onClick: onClick,
15059
15036
  ref: containerRef
15060
- }, themeProps, rest), checkBoxChecked == true || checkBoxChecked == false ? /*#__PURE__*/React__default.createElement("input", _extends$g({
15037
+ }, themeProps, rest), checked == true || checked == false ? /*#__PURE__*/React__default.createElement("input", _extends$g({
15061
15038
  type: "checkbox",
15062
- ref: ref ? ref : checkboxRef,
15039
+ ref: ref,
15063
15040
  tabIndex: tabIndex,
15064
15041
  onBlur: handleOnBlur,
15065
15042
  onFocus: handleOnFocus,
@@ -15068,15 +15045,16 @@ var CheckBoxInput = /*#__PURE__*/React__default.forwardRef(function (props, ref)
15068
15045
  disabled: disabled || readOnly
15069
15046
  }, inputProps)) : /*#__PURE__*/React__default.createElement("input", _extends$g({
15070
15047
  type: "checkbox",
15071
- ref: ref ? ref : checkboxRef,
15048
+ ref: ref,
15072
15049
  tabIndex: tabIndex,
15073
15050
  onBlur: handleOnBlur,
15074
15051
  onFocus: handleOnFocus,
15075
- defaultValue: defaultValue,
15052
+ defaultChecked: defaultChecked,
15076
15053
  disabled: disabled || readOnly,
15077
15054
  onChange: onChange
15078
15055
  }, inputProps)), /*#__PURE__*/React__default.createElement("div", {
15079
- className: "checkmark"
15056
+ className: "checkmark",
15057
+ tabIndex: -1
15080
15058
  }, !customCheckmark && /*#__PURE__*/React__default.createElement("svg", {
15081
15059
  viewBox: "0 0 8 6",
15082
15060
  fill: "none",
@@ -15139,7 +15117,7 @@ CheckBoxInput.propTypes = {
15139
15117
  containerRef: PropTypes.any,
15140
15118
  id: PropTypes.any,
15141
15119
  name: PropTypes.string,
15142
- defaultValue: PropTypes.bool,
15120
+ defaultChecked: PropTypes.bool,
15143
15121
  checked: PropTypes.bool,
15144
15122
  disabled: PropTypes.bool,
15145
15123
  readOnly: PropTypes.bool,
@@ -15544,7 +15522,7 @@ function toNumber(value) {
15544
15522
  var lodash_debounce = debounce;
15545
15523
 
15546
15524
  var _excluded$1g = ["id", "name", "defaultValue", "value", "size", "tabIndex", "withInput", "className", "style", "color", "debounceTime", "readOnly", "disabled", "onChange", "onFocus", "onBlur", "onInput", "onKeyDown", "preventDefault", "labelRef", "inputProps"];
15547
- var _templateObject$1i, _templateObject2$z, _templateObject3$m;
15525
+ var _templateObject$1i, _templateObject2$y, _templateObject3$m;
15548
15526
  var getSize$1 = function getSize(theme, size) {
15549
15527
  var componentSize = getSizeValueWithUnits(theme, size);
15550
15528
  return "calc(".concat(componentSize, " - 1rem)");
@@ -15570,7 +15548,7 @@ var StyledInput$4 = newStyled.label(_templateObject$1i || (_templateObject$1i =
15570
15548
  }, function (props) {
15571
15549
  return getColorRgbaValue(props.theme, "Input", props.color, "disabled", "border");
15572
15550
  });
15573
- var StyledColorInput = newStyled.div(_templateObject2$z || (_templateObject2$z = _taggedTemplateLiteral(["\n ", "\n min-height: ", ";\n max-height: ", ";\n display: inline-flex;\n align-items: center;\n justify-content: center;\n ", "\n & div {\n &:focus {\n ", ";\n }\n &:hover {\n ", ";\n }\n ", "\n box-sizing: border-box;\n min-width: ", ";\n height: ", ";\n border-radius: ", ";\n overflow: hidden;\n & input[type=\"color\"] {\n border: 0;\n padding: 0;\n width: 200%;\n height: 200%;\n cursor: pointer;\n transform: translate(-25%, -25%);\n ", ";\n }\n }\n"])), function (props) {
15551
+ var StyledColorInput = newStyled.div(_templateObject2$y || (_templateObject2$y = _taggedTemplateLiteral(["\n ", "\n min-height: ", ";\n max-height: ", ";\n display: inline-flex;\n align-items: center;\n justify-content: center;\n ", "\n & div {\n &:focus {\n ", ";\n }\n &:hover {\n ", ";\n }\n ", "\n box-sizing: border-box;\n min-width: ", ";\n height: ", ";\n border-radius: ", ";\n overflow: hidden;\n & input[type=\"color\"] {\n border: 0;\n padding: 0;\n width: 200%;\n height: 200%;\n cursor: pointer;\n transform: translate(-25%, -25%);\n ", ";\n }\n }\n"])), function (props) {
15574
15552
  return !props.disabled && props.readOnly == false && "cursor: pointer;";
15575
15553
  }, function (props) {
15576
15554
  return getSizeValueWithUnits(props.theme, props.size);
@@ -24824,7 +24802,7 @@ var Calendar = Calendar$1;
24824
24802
  var css_248z$6 = ".react-calendar {\n width: 380px;\n max-width: 100%;\n padding: 3px;\n background: white;\n border: 1px solid #a0a096;\n /* font-family: Arial, Helvetica, sans-serif; */\n line-height: 1.125em;\n}\n.react-calendar--doubleView {\n width: 760px;\n}\n.react-calendar--doubleView .react-calendar__viewContainer {\n display: flex;\n margin: -0.5em;\n}\n.react-calendar--doubleView .react-calendar__viewContainer > * {\n width: 50%;\n margin: 0.5em;\n}\n.react-calendar,\n.react-calendar *,\n.react-calendar *:before,\n.react-calendar *:after {\n -moz-box-sizing: border-box;\n -webkit-box-sizing: border-box;\n box-sizing: border-box;\n}\n.react-calendar button {\n margin: 0;\n border: 0;\n outline: none;\n}\n.react-calendar button:enabled:hover {\n cursor: pointer;\n}\n.react-calendar__navigation {\n display: flex;\n height: 44px;\n margin-bottom: 1em;\n}\n.react-calendar__navigation button {\n min-width: 44px;\n background: none;\n}\n.react-calendar__navigation button:disabled {\n background-color: #f0f0f0;\n}\n.react-calendar__navigation button:enabled:hover,\n.react-calendar__navigation button:enabled:focus {\n background-color: #e6e6e6;\n}\n.react-calendar__month-view__weekdays {\n text-align: center;\n text-transform: uppercase;\n font-weight: bold;\n font-size: inherit;\n}\n.react-calendar__month-view__weekdays__weekday {\n padding: 0.5em;\n}\n.react-calendar__month-view__weekNumbers .react-calendar__tile {\n display: flex;\n align-items: center;\n justify-content: center;\n font-size: inherit;\n font-weight: bold;\n}\n.react-calendar__month-view__days__day--weekend {\n color: #d10000;\n}\n.react-calendar__month-view__days__day--neighboringMonth {\n color: #757575;\n}\n.react-calendar__year-view .react-calendar__tile,\n.react-calendar__decade-view .react-calendar__tile,\n.react-calendar__century-view .react-calendar__tile {\n padding: 2em 0.5em;\n}\n.react-calendar__tile {\n max-width: 100%;\n padding: 10px 6.6667px;\n background: none;\n text-align: center;\n line-height: 16px;\n transition: all 220ms ease;\n border-radius: 3px;\n}\n.react-calendar__tile:disabled {\n background-color: #f0f0f0;\n}\n.react-calendar__tile:enabled:hover,\n.react-calendar__tile:enabled:focus {\n background-color: #e6e6e6;\n}\n.react-calendar__tile--now {\n background: #ffff76;\n}\n.react-calendar__tile--now:enabled:hover,\n.react-calendar__tile--now:enabled:focus {\n background: #ffffa9;\n}\n.react-calendar__tile--hasActive {\n background: #76baff;\n}\n.react-calendar__tile--hasActive:enabled:hover,\n.react-calendar__tile--hasActive:enabled:focus {\n background: #a9d4ff;\n}\n.react-calendar__tile--active {\n background: #006edc;\n color: white;\n}\n.react-calendar__tile--active:enabled:hover,\n.react-calendar__tile--active:enabled:focus {\n background: #1087ff;\n}\n.react-calendar--selectRange .react-calendar__tile--hover {\n background-color: #e6e6e6;\n}\n";
24825
24803
  styleInject(css_248z$6);
24826
24804
 
24827
- var _templateObject$1h, _templateObject2$y, _templateObject3$l, _templateObject4$a, _templateObject5$5, _templateObject6$2;
24805
+ var _templateObject$1h, _templateObject2$x, _templateObject3$l, _templateObject4$a, _templateObject5$5, _templateObject6$2;
24828
24806
  var StyledContainer$1 = newStyled.div(_templateObject$1h || (_templateObject$1h = _taggedTemplateLiteral(["\n display: flex;\n align-items: center;\n width: 100%;\n position: relative;\n min-height: ", ";\n max-height: ", ";\n background-color: ", ";\n border: 1px solid\n ", ";\n border-radius: ", ";\n\n ", "\n ", "\n\n & .react-calendar {\n border-radius: 0.2rem;\n font-size: ", ";\n font-family: ", ";\n border: 0.0625rem solid #2dd1d4;\n }\n\n & .react-calendar__navigation__arrow,\n .react-calendar__navigation__label {\n transition: all 220ms ease;\n border-radius: 0.1875rem;\n }\n\n & .react-calendar__navigation__label {\n font-size: ", ";\n font-family: ", ";\n }\n\n & .react-calendar__month-view__weekdays__weekday {\n color: #2dd1d4;\n font-size: ", ";\n font-family: ", ";\n\n & abbr {\n text-decoration: none;\n }\n }\n\n & .react-calendar__tile {\n font-size: ", ";\n font-family: ", ";\n }\n\n & .react-calendar__tile--now {\n background: #adf4f5;\n }\n\n & .react-calendar__tile--now:enabled:hover,\n .react-calendar__tile--now:enabled:focus {\n background: #adf4f5;\n }\n\n & .react-calendar__tile--active {\n background: #2dd1d4;\n color: white;\n }\n\n & .react-calendar__tile--active:enabled:hover,\n .react-calendar__tile--active:enabled:focus {\n background: #73e3e4;\n }\n\n & .react-calendar__tile--hasActive {\n background: #2dd1d4;\n }\n\n & .react-calendar__tile--hasActive:enabled:hover,\n .react-calendar__tile--hasActive:enabled:focus {\n background: #73e3e4;\n }\n"])), function (props) {
24829
24807
  return getSizeValueWithUnits(props.theme, props.size);
24830
24808
  }, function (props) {
@@ -24856,7 +24834,7 @@ var StyledContainer$1 = newStyled.div(_templateObject$1h || (_templateObject$1h
24856
24834
  }, function (props) {
24857
24835
  return props.theme.typography.component.fontFamily;
24858
24836
  });
24859
- var StyledInput$3 = newStyled.input(_templateObject2$y || (_templateObject2$y = _taggedTemplateLiteral(["\n background: none;\n border: none;\n outline: none;\n width: 100%;\n padding: 0.625rem 0.75rem;\n\n ", "\n min-height: ", ";\n max-height: ", ";\n color: ", ";\n caret-color: ", ";\n\n &::placeholder {\n color: ", ";\n }\n\n &:read-only {\n cursor: default;\n }\n\n &:disabled {\n ", "\n background: none;\n }\n"])), function (props) {
24837
+ var StyledInput$3 = newStyled.input(_templateObject2$x || (_templateObject2$x = _taggedTemplateLiteral(["\n background: none;\n border: none;\n outline: none;\n width: 100%;\n padding: 0.625rem 0.75rem;\n\n ", "\n min-height: ", ";\n max-height: ", ";\n color: ", ";\n caret-color: ", ";\n\n &::placeholder {\n color: ", ";\n }\n\n &:read-only {\n cursor: default;\n }\n\n &:disabled {\n ", "\n background: none;\n }\n"])), function (props) {
24860
24838
  return getComponentTypographyCss(props.theme, "Input", props.size, "enabled");
24861
24839
  }, function (props) {
24862
24840
  return getSizeValueWithUnits(props.theme, props.size);
@@ -43811,7 +43789,7 @@ var lodash = {exports: {}};
43811
43789
  }.call(commonjsGlobal));
43812
43790
  }(lodash, lodash.exports));
43813
43791
 
43814
- var _templateObject$1f, _templateObject2$x, _templateObject3$k;
43792
+ var _templateObject$1f, _templateObject2$w, _templateObject3$k;
43815
43793
  var StyledWrapper$3 = newStyled.div(_templateObject$1f || (_templateObject$1f = _taggedTemplateLiteral(["\n display: flex;\n align-items: center;\n\n min-height: ", ";\n max-height: ", ";\n background-color: ", ";\n border: 1px solid\n ", ";\n border-radius: ", ";\n\n ", "\n ", "\n ", "\n\n & input {\n background: none;\n border: none;\n outline: none;\n padding-top: 0.625rem;\n padding-bottom: 0.625rem;\n width: 100%;\n\n ", "\n min-height: ", ";\n max-height: ", ";\n color: ", ";\n caret-color: ", ";\n padding-right: ", ";\n padding-left: ", ";\n }\n\n & input:disabled {\n ", "\n background: none;\n }\n\n & input:read-only {\n cursor: default;\n }\n\n & input::placeholder {\n color: ", ";\n }\n"])), function (props) {
43816
43794
  return getSizeValueWithUnits(props.theme, props.size);
43817
43795
  }, function (props) {
@@ -43847,7 +43825,7 @@ var StyledWrapper$3 = newStyled.div(_templateObject$1f || (_templateObject$1f =
43847
43825
  }, function (props) {
43848
43826
  return getColorRgbaValue(props.theme, "Input", props.color, "enabled", "placeholder");
43849
43827
  });
43850
- var StyledPrefix$3 = newStyled.span(_templateObject2$x || (_templateObject2$x = _taggedTemplateLiteral(["\n padding: 0 12px;\n color: ", ";\n"])), function (props) {
43828
+ var StyledPrefix$3 = newStyled.span(_templateObject2$w || (_templateObject2$w = _taggedTemplateLiteral(["\n padding: 0 12px;\n color: ", ";\n"])), function (props) {
43851
43829
  return getColorRgbaValue(props.theme, "Input", props.focused ? "primary" : props.color, "enabled", "prefix");
43852
43830
  });
43853
43831
  var StyledSuffix$3 = newStyled(StyledPrefix$3)(_templateObject3$k || (_templateObject3$k = _taggedTemplateLiteral([""])));
@@ -44051,7 +44029,7 @@ DecimalInput.propTypes = {
44051
44029
  };
44052
44030
 
44053
44031
  var _excluded$12 = ["id", "className", "style", "onChange", "onFocus", "onBlur", "disabled", "readOnly", "multiple", "accept", "label", "tabIndex", "color", "size"];
44054
- var _templateObject$1e, _templateObject2$w, _templateObject3$j, _templateObject4$9;
44032
+ var _templateObject$1e, _templateObject2$v, _templateObject3$j, _templateObject4$9;
44055
44033
  function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray$2(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it["return"] != null) it["return"](); } finally { if (didErr) throw err; } } }; }
44056
44034
  function _unsupportedIterableToArray$2(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray$2(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray$2(o, minLen); }
44057
44035
  function _arrayLikeToArray$2(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
@@ -44064,7 +44042,7 @@ var Container$c = newStyled.label(_templateObject$1e || (_templateObject$1e = _t
44064
44042
  }, function (props) {
44065
44043
  return props.focused && props.readOnly == false ? getOutlineCss(props.theme) : "";
44066
44044
  });
44067
- var Input$3 = newStyled.input(_templateObject2$w || (_templateObject2$w = _taggedTemplateLiteral(["\n width: 0.1px;\n height: 0.1px;\n opacity: 0;\n overflow: hidden;\n position: absolute;\n z-index: -1;\n"])));
44045
+ var Input$3 = newStyled.input(_templateObject2$v || (_templateObject2$v = _taggedTemplateLiteral(["\n width: 0.1px;\n height: 0.1px;\n opacity: 0;\n overflow: hidden;\n position: absolute;\n z-index: -1;\n"])));
44068
44046
  var Label$4 = newStyled.div(_templateObject3$j || (_templateObject3$j = _taggedTemplateLiteral(["\n display: flex;\n align-items: center;\n white-space: nowrap;\n padding: 0.625rem 0.75rem;\n ", "\n color: ", ";\n cursor: ", ";\n background-color: ", ";\n border: 1px solid\n ", ";\n border-radius: 8px 0 0 8px;\n\n ", "\n"])), function (props) {
44069
44047
  return getComponentTypographyCss(props.theme, "Input", props.size, "enabled");
44070
44048
  }, function (props) {
@@ -44217,7 +44195,7 @@ FileInput.propTypes = {
44217
44195
  color: PropTypes.oneOf(["primary", "secondary", "success", "danger", "warning", "information"])
44218
44196
  };
44219
44197
 
44220
- var _templateObject$1d, _templateObject2$v, _templateObject3$i, _templateObject4$8;
44198
+ var _templateObject$1d, _templateObject2$u, _templateObject3$i, _templateObject4$8;
44221
44199
  var StyledWrapper$2 = newStyled.div(_templateObject$1d || (_templateObject$1d = _taggedTemplateLiteral(["\n display: flex;\n align-items: center;\n\n min-height: ", ";\n max-height: ", ";\n background-color: ", ";\n border: 1px solid\n ", ";\n border-radius: ", ";\n\n ", "\n ", "\n"])), function (props) {
44222
44200
  return getSizeValueWithUnits(props.theme, props.size);
44223
44201
  }, function (props) {
@@ -44233,7 +44211,7 @@ var StyledWrapper$2 = newStyled.div(_templateObject$1d || (_templateObject$1d =
44233
44211
  }, function (props) {
44234
44212
  return props.disabled ? getDisabledStateCss(props.theme) : "";
44235
44213
  });
44236
- var StyledPrefix$2 = newStyled.span(_templateObject2$v || (_templateObject2$v = _taggedTemplateLiteral(["\n padding: 0 12px;\n color: ", ";\n"])), function (props) {
44214
+ var StyledPrefix$2 = newStyled.span(_templateObject2$u || (_templateObject2$u = _taggedTemplateLiteral(["\n padding: 0 12px;\n color: ", ";\n"])), function (props) {
44237
44215
  return getColorRgbaValue(props.theme, "Input", props.focused ? "primary" : props.color, "enabled", "prefix");
44238
44216
  });
44239
44217
  var StyledSuffix$2 = newStyled(StyledPrefix$2)(_templateObject3$i || (_templateObject3$i = _taggedTemplateLiteral([""])));
@@ -44453,7 +44431,7 @@ NumberInput.propTypes = {
44453
44431
  color: PropTypes.oneOf(["primary", "secondary", "success", "danger", "warning", "information"])
44454
44432
  };
44455
44433
 
44456
- var _templateObject$1c, _templateObject2$u, _templateObject3$h, _templateObject4$7, _templateObject5$4;
44434
+ var _templateObject$1c, _templateObject2$t, _templateObject3$h, _templateObject4$7, _templateObject5$4;
44457
44435
  var StyledWrapper$1 = newStyled.div(_templateObject$1c || (_templateObject$1c = _taggedTemplateLiteral(["\n display: flex;\n align-items: center;\n\n min-height: ", ";\n max-height: ", ";\n background-color: ", ";\n border: 1px solid\n ", ";\n border-radius: ", ";\n\n ", "\n ", "\n"])), function (props) {
44458
44436
  return getSizeValueWithUnits(props.theme, props.size);
44459
44437
  }, function (props) {
@@ -44469,7 +44447,7 @@ var StyledWrapper$1 = newStyled.div(_templateObject$1c || (_templateObject$1c =
44469
44447
  }, function (props) {
44470
44448
  return props.disabled ? getDisabledStateCss(props.theme) : "";
44471
44449
  });
44472
- var StyledPrefix$1 = newStyled.span(_templateObject2$u || (_templateObject2$u = _taggedTemplateLiteral(["\n padding: 0 12px;\n color: ", ";\n"])), function (props) {
44450
+ var StyledPrefix$1 = newStyled.span(_templateObject2$t || (_templateObject2$t = _taggedTemplateLiteral(["\n padding: 0 12px;\n color: ", ";\n"])), function (props) {
44473
44451
  return getColorRgbaValue(props.theme, "Input", props.focused ? "primary" : props.color, "enabled", "prefix");
44474
44452
  });
44475
44453
  var StyledSuffix$1 = newStyled(StyledPrefix$1)(_templateObject3$h || (_templateObject3$h = _taggedTemplateLiteral([""])));
@@ -44668,7 +44646,7 @@ PasswordInput.propTypes = {
44668
44646
  };
44669
44647
 
44670
44648
  var _excluded$$ = ["id", "name", "tabIndex", "checked", "className", "style", "color", "size", "onChange", "onFocus", "onBlur", "onClick", "onKeyDown", "value", "label", "labelPosition", "spaceBetween", "disabled", "readOnly", "inputProps"];
44671
- var _templateObject$1b, _templateObject2$t;
44649
+ var _templateObject$1b, _templateObject2$s;
44672
44650
  var getLabelDirection$1 = function getLabelDirection(direction) {
44673
44651
  if (direction == "left") return "row-reverse";
44674
44652
  return "row";
@@ -44704,7 +44682,7 @@ var Container$b = newStyled.label(_templateObject$1b || (_templateObject$1b = _t
44704
44682
  }, function (props) {
44705
44683
  return getColorRgbaValue(props.theme, "Radio", props.color, "active", "border");
44706
44684
  });
44707
- var Label$3 = newStyled.label(_templateObject2$t || (_templateObject2$t = _taggedTemplateLiteral(["\n ", ";\n min-width: 0;\n flex-shrink: 1;\n min-height: 0;\n overflow: hidden;\n text-overflow: ellipsis;\n"])), function (props) {
44685
+ var Label$3 = newStyled.label(_templateObject2$s || (_templateObject2$s = _taggedTemplateLiteral(["\n ", ";\n min-width: 0;\n flex-shrink: 1;\n min-height: 0;\n overflow: hidden;\n text-overflow: ellipsis;\n"])), function (props) {
44708
44686
  return !props.disabled && props.readOnly == false && "cursor: pointer";
44709
44687
  });
44710
44688
  var RadioInput = /*#__PURE__*/React__default.forwardRef(function (props, ref) {
@@ -44860,7 +44838,7 @@ RadioInput.propTypes = {
44860
44838
  };
44861
44839
 
44862
44840
  var _excluded$_ = ["defaultValue", "value", "min", "max", "disabled", "tabIndex", "onChange", "onInput", "color", "size", "className", "style"];
44863
- var _templateObject$1a, _templateObject2$s, _templateObject3$g;
44841
+ var _templateObject$1a, _templateObject2$r, _templateObject3$g;
44864
44842
  var standardCssFields$2 = function standardCssFields(_ref) {
44865
44843
  var theme = _ref.theme,
44866
44844
  size = _ref.size;
@@ -44875,7 +44853,7 @@ var ThumbSize$1 = {
44875
44853
  var StyledRangeSlider = newStyled.div(_templateObject$1a || (_templateObject$1a = _taggedTemplateLiteral(["\n position: relative;\n ", ";\n display: inline-flex;\n align-items: center;\n"])), function (props) {
44876
44854
  return standardCssFields$2(props);
44877
44855
  });
44878
- var InputSlider = newStyled.input(_templateObject2$s || (_templateObject2$s = _taggedTemplateLiteral(["\n -webkit-appearance: none; /* Override default CSS styles */\n appearance: none;\n width: 100%; /* Full-width */\n height: 0.25rem; /* Specified height */\n border-radius: 3px;\n outline: none; /* Remove outline */\n -webkit-transition: 0.2s; /* 0.2 seconds transition on hover */\n background: ", ";\n transition: background 450ms ease-in;\n -webkit-appearance: none;\n border-radius: ", ";\n &::-webkit-slider-thumb {\n -webkit-appearance: none; /* Override default look */\n appearance: none;\n width: ", "; /* Set a specific slider handle width */\n height: ", "; /* Slider handle height */\n border-radius: 50%;\n background-color: ", ";\n cursor: pointer; /* Cursor on hover */\n border: none;\n }\n &::-moz-range-thumb {\n width: ", "; /* Set a specific slider handle width */\n height: ", "; /* Slider handle height */\n border-radius: 50%;\n background-color: ", ";\n cursor: pointer; /* Cursor on hover */\n border: none;\n }\n"])), function (props) {
44856
+ var InputSlider = newStyled.input(_templateObject2$r || (_templateObject2$r = _taggedTemplateLiteral(["\n -webkit-appearance: none; /* Override default CSS styles */\n appearance: none;\n width: 100%; /* Full-width */\n height: 0.25rem; /* Specified height */\n border-radius: 3px;\n outline: none; /* Remove outline */\n -webkit-transition: 0.2s; /* 0.2 seconds transition on hover */\n background: ", ";\n transition: background 450ms ease-in;\n -webkit-appearance: none;\n border-radius: ", ";\n &::-webkit-slider-thumb {\n -webkit-appearance: none; /* Override default look */\n appearance: none;\n width: ", "; /* Set a specific slider handle width */\n height: ", "; /* Slider handle height */\n border-radius: 50%;\n background-color: ", ";\n cursor: pointer; /* Cursor on hover */\n border: none;\n }\n &::-moz-range-thumb {\n width: ", "; /* Set a specific slider handle width */\n height: ", "; /* Slider handle height */\n border-radius: 50%;\n background-color: ", ";\n cursor: pointer; /* Cursor on hover */\n border: none;\n }\n"])), function (props) {
44879
44857
  return props.rangeBackground;
44880
44858
  }, function (props) {
44881
44859
  return getBorderRadiusValueWithUnits(props.theme, "regular");
@@ -45497,7 +45475,7 @@ TextAreaInput.propTypes = {
45497
45475
  color: PropTypes.oneOf(["primary", "secondary", "success", "danger", "warning", "information"])
45498
45476
  };
45499
45477
 
45500
- var _templateObject$18, _templateObject2$r, _templateObject3$f, _templateObject4$6;
45478
+ var _templateObject$18, _templateObject2$q, _templateObject3$f, _templateObject4$6;
45501
45479
  var StyledWrapper = newStyled.div(_templateObject$18 || (_templateObject$18 = _taggedTemplateLiteral(["\n display: flex;\n align-items: center;\n\n min-height: ", ";\n max-height: ", ";\n background-color: ", ";\n border: 1px solid\n ", ";\n border-radius: ", ";\n\n ", "\n ", "\n"])), function (props) {
45502
45480
  return getSizeValueWithUnits(props.theme, props.size);
45503
45481
  }, function (props) {
@@ -45513,7 +45491,7 @@ var StyledWrapper = newStyled.div(_templateObject$18 || (_templateObject$18 = _t
45513
45491
  }, function (props) {
45514
45492
  return props.disabled ? getDisabledStateCss(props.theme) : "";
45515
45493
  });
45516
- var StyledPrefix = newStyled.span(_templateObject2$r || (_templateObject2$r = _taggedTemplateLiteral(["\n padding: 0 12px;\n color: ", ";\n"])), function (props) {
45494
+ var StyledPrefix = newStyled.span(_templateObject2$q || (_templateObject2$q = _taggedTemplateLiteral(["\n padding: 0 12px;\n color: ", ";\n"])), function (props) {
45517
45495
  return getColorRgbaValue(props.theme, "Input", props.focused ? "primary" : props.color, "enabled", "prefix");
45518
45496
  });
45519
45497
  var StyledSuffix = newStyled(StyledPrefix)(_templateObject3$f || (_templateObject3$f = _taggedTemplateLiteral([""])));
@@ -46501,7 +46479,7 @@ Label$2.propTypes = {
46501
46479
  color: PropTypes.oneOf(["primary", "secondary", "success", "danger", "warning", "information"])
46502
46480
  };
46503
46481
 
46504
- var _templateObject$$, _templateObject2$q, _templateObject3$e, _templateObject4$5, _templateObject5$3, _templateObject6$1;
46482
+ var _templateObject$$, _templateObject2$p, _templateObject3$e, _templateObject4$5, _templateObject5$3, _templateObject6$1;
46505
46483
 
46506
46484
  //=================================================
46507
46485
 
@@ -46528,7 +46506,7 @@ var commonCss$1 = function commonCss(props) {
46528
46506
  var LeadingIconContainer = newStyled.span(_templateObject$$ || (_templateObject$$ = _taggedTemplateLiteral(["\n padding-right: ", ";\n"])), function (props) {
46529
46507
  return props.size === "small" ? "0.25rem" : "0.5rem";
46530
46508
  });
46531
- var TrailingIconContainer = newStyled.span(_templateObject2$q || (_templateObject2$q = _taggedTemplateLiteral(["\n padding-left: ", ";\n"])), function (props) {
46509
+ var TrailingIconContainer = newStyled.span(_templateObject2$p || (_templateObject2$p = _taggedTemplateLiteral(["\n padding-left: ", ";\n"])), function (props) {
46532
46510
  return props.size === "small" ? "0.25rem" : "0.5rem";
46533
46511
  });
46534
46512
  var FilledButton$1 = newStyled.button(_templateObject3$e || (_templateObject3$e = _taggedTemplateLiteral(["\n ", "\n\n ", ";\n\n background-color: ", ";\n color: ", ";\n\n min-height: ", ";\n max-height: ", ";\n\n &:disabled {\n ", ";\n cursor: default;\n background-color: ", ";\n color: ", ";\n }\n\n &:hover {\n background-color: ", ";\n color: ", ";\n }\n\n &:focus {\n background-color: ", ";\n color: ", ";\n ", ";\n }\n\n &:active {\n background-color: ", ";\n color: ", ";\n }\n"])), function (props) {
@@ -46804,7 +46782,7 @@ Button$1.propTypes = {
46804
46782
  size: PropTypes.oneOf(["small", "medium", "large"])
46805
46783
  };
46806
46784
 
46807
- var _templateObject$_, _templateObject2$p, _templateObject3$d, _templateObject4$4, _templateObject5$2;
46785
+ var _templateObject$_, _templateObject2$o, _templateObject3$d, _templateObject4$4, _templateObject5$2;
46808
46786
 
46809
46787
  //=================================================
46810
46788
 
@@ -46812,7 +46790,7 @@ var commonCss = function commonCss(props) {
46812
46790
  return "\n outline: none;\n display: inline-flex;\n flex-direction: row;\n justify-content: center;\n align-items: center;\n border: none;\n transition: all 50 ms ease-in;\n cursor: pointer;\n color: ".concat(!props.disabled && "white", ";\n\n border-radius: ").concat(getBorderRadiusValueWithUnits(props.theme, props.borderRadius), ";\n\n min-width: ").concat(getSizeValueWithUnits(props.theme, props.size), ";\n max-width: ").concat(getSizeValueWithUnits(props.theme, props.size), ";\n ");
46813
46791
  };
46814
46792
  var StyledIcon = newStyled.i(_templateObject$_ || (_templateObject$_ = _taggedTemplateLiteral(["\n font-size: 1.125rem;\n"])));
46815
- var FilledButton = newStyled.button(_templateObject2$p || (_templateObject2$p = _taggedTemplateLiteral(["\n ", "\n\n ", ";\n\n background-color: ", ";\n color: ", ";\n\n min-height: ", ";\n max-height: ", ";\n\n &:disabled {\n ", ";\n cursor: default;\n background-color: ", ";\n color: ", ";\n }\n\n &:hover {\n background-color: ", ";\n color: ", ";\n }\n\n &:focus {\n background-color: ", ";\n color: ", ";\n\n ", ";\n }\n\n &:active {\n background-color: ", ";\n color: ", ";\n }\n"])), function (props) {
46793
+ var FilledButton = newStyled.button(_templateObject2$o || (_templateObject2$o = _taggedTemplateLiteral(["\n ", "\n\n ", ";\n\n background-color: ", ";\n color: ", ";\n\n min-height: ", ";\n max-height: ", ";\n\n &:disabled {\n ", ";\n cursor: default;\n background-color: ", ";\n color: ", ";\n }\n\n &:hover {\n background-color: ", ";\n color: ", ";\n }\n\n &:focus {\n background-color: ", ";\n color: ", ";\n\n ", ";\n }\n\n &:active {\n background-color: ", ";\n color: ", ";\n }\n"])), function (props) {
46816
46794
  return commonCss(props);
46817
46795
  }, function (props) {
46818
46796
  return getComponentTypographyCss(props.theme, "ButtonFilled", props.size, "enabled");
@@ -47040,9 +47018,9 @@ Button.propTypes = {
47040
47018
  };
47041
47019
 
47042
47020
  var _excluded$P = ["goToPreviousView", "id", "data", "fields", "flexGridProps", "goBackText", "showBack", "showNext", "showPrevious", "showEdit", "disableGoBack", "disableNext", "disablePrevious", "disableEdit", "goToNext", "goToPrevious", "onEdit", "goBack", "className", "style", "color", "size", "children"];
47043
- var _templateObject$Z, _templateObject2$o;
47021
+ var _templateObject$Z, _templateObject2$n;
47044
47022
  var StyledToolbar$3 = newStyled.div(_templateObject$Z || (_templateObject$Z = _taggedTemplateLiteral(["\n display: flex;\n justify-content: space-between;\n"])));
47045
- var StyledDetailsView = newStyled.div(_templateObject2$o || (_templateObject2$o = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: column;\n gap: 1rem;\n box-shadow: ", ";\n border-radius: ", ";\n border-top: 1px solid rgba(0, 0, 0, 0.04);\n padding: 12px;\n background-color: ", ";\n"])), function (props) {
47023
+ var StyledDetailsView = newStyled.div(_templateObject2$n || (_templateObject2$n = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: column;\n gap: 1rem;\n box-shadow: ", ";\n border-radius: ", ";\n border-top: 1px solid rgba(0, 0, 0, 0.04);\n padding: 12px;\n background-color: ", ";\n"])), function (props) {
47046
47024
  return getComponentPropValue(props.theme, "Popover", props.color, "enabled", "boxShadow");
47047
47025
  }, function (props) {
47048
47026
  return getBorderRadiusValueWithUnits(props.theme, props.borderRadius);
@@ -47251,9 +47229,7 @@ TableHead.propTypes = {
47251
47229
  };
47252
47230
 
47253
47231
  var _templateObject$W;
47254
- var HtmlRow$1 = newStyled.tr(_templateObject$W || (_templateObject$W = _taggedTemplateLiteral(["\n& > td {\n background-color: ", ";\n}\n ", "\n ", "\n", "\n &:last-of-type > td:first-of-type {\n border-radius: 0 0 0 0.5rem;\n }\n &:last-of-type > td:last-of-type {\n border-radius: 0 0 0.5rem 0;\n }\n ", "\n ", "\n"])), function (props) {
47255
- return getColorRgbaValue(props.theme, "TableRow", null, "enabled", "background");
47256
- }, function (props) {
47232
+ var HtmlRow$1 = newStyled.tr(_templateObject$W || (_templateObject$W = _taggedTemplateLiteral(["\n ", "\n ", "\n", "\n &:last-of-type > td:first-of-type {\n border-radius: 0 0 0 0.5rem;\n }\n &:last-of-type > td:last-of-type {\n border-radius: 0 0 0.5rem 0;\n }\n ", "\n ", "\n"])), function (props) {
47257
47233
  return props.noBorder == false && "border-bottom: 1px solid ".concat(getColorRgbaValue(props.theme, "TableRow", null, "enabled", "border"), ";");
47258
47234
  }, function (props) {
47259
47235
  return props.noBorder == false && "border-left: 1px solid ".concat(getColorRgbaValue(props.theme, "TableRow", null, "enabled", "border"), ";");
@@ -47323,8 +47299,10 @@ TableRow.propTypes = {
47323
47299
  };
47324
47300
 
47325
47301
  var _templateObject$V;
47326
- var HtmlCell$4 = newStyled.td(_templateObject$V || (_templateObject$V = _taggedTemplateLiteral(["\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n width: ", ";\n padding: 0.875rem 1.5rem;\n ", "\n\n ", ";\n"])), function (props) {
47302
+ var HtmlCell$4 = newStyled.td(_templateObject$V || (_templateObject$V = _taggedTemplateLiteral(["\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n width: ", ";\n padding: 0.875rem 1.5rem;\n\n background-color: ", ";\n\n ", "\n\n ", ";\n"])), function (props) {
47327
47303
  return props.width;
47304
+ }, function (props) {
47305
+ return getColorRgbaValue(props.theme, "TableRow", null, "enabled", "background");
47328
47306
  }, function (props) {
47329
47307
  return props.bgColor;
47330
47308
  }, function (props) {
@@ -47531,7 +47509,7 @@ TableHeadRow.propTypes = {
47531
47509
  color: PropTypes.oneOf(["primary", "secondary", "success", "danger", "warning", "information", "neutral"])
47532
47510
  };
47533
47511
 
47534
- var _templateObject$S, _templateObject2$n, _templateObject3$c, _templateObject4$3;
47512
+ var _templateObject$S, _templateObject2$m, _templateObject3$c, _templateObject4$3;
47535
47513
  var HtmlHeadCell$1 = newStyled.th(_templateObject$S || (_templateObject$S = _taggedTemplateLiteral(["\nwhite-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n text-align: left;\n transition: all 250ms ease;\n padding: 0.875rem 1.5rem;\n cursor: ", ";\n width: ", ";\n\n &:hover {\n ", "\n }\n\n ", ";\n\n color: ", "};\n\n background-color: ", "};\n\n border-top: ", "};\n\n border-bottom: ", "};\n\n\n &:first-of-type {\n border-radius: 0.5rem 0 0 0;\n border-left: ", "};\n }\n\n &:last-of-type {\n border-radius: 0 0.5rem 0 0;\n border-right: ", "};\n }\n"])), function (props) {
47536
47514
  return props.ordering ? "pointer" : "default";
47537
47515
  }, function (props) {
@@ -47553,7 +47531,7 @@ var HtmlHeadCell$1 = newStyled.th(_templateObject$S || (_templateObject$S = _tag
47553
47531
  }, function (props) {
47554
47532
  return "1px solid " + getColorRgbaValue(props.theme, "TableHeadCell", null, "enabled", "border");
47555
47533
  });
47556
- var HeaderInnerCell = newStyled.div(_templateObject2$n || (_templateObject2$n = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: row;\n align-items: center;\n"])));
47534
+ var HeaderInnerCell = newStyled.div(_templateObject2$m || (_templateObject2$m = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: row;\n align-items: center;\n"])));
47557
47535
  var HeaderCellText = newStyled.span(_templateObject3$c || (_templateObject3$c = _taggedTemplateLiteral(["\n padding-right: 0.25rem;\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n\n color: ", ";\n\n font-weight: ", ";\n"])), function (props) {
47558
47536
  return getColorRgbaValue(props.theme, "TableHeadCell", props.color, "enabled", "text");
47559
47537
  }, function (props) {
@@ -47733,9 +47711,9 @@ TableHeadSelectionCell.propTypes = {
47733
47711
  color: PropTypes.oneOf(["primary", "secondary", "success", "danger", "warning", "information", "neutral"])
47734
47712
  };
47735
47713
 
47736
- var _templateObject$Q, _templateObject2$m;
47714
+ var _templateObject$Q, _templateObject2$l;
47737
47715
  var HtmlCell$1 = newStyled.td(_templateObject$Q || (_templateObject$Q = _taggedTemplateLiteral(["\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n padding: 0.25rem 0.125rem;\n"])));
47738
- var Indicator = newStyled.div(_templateObject2$m || (_templateObject2$m = _taggedTemplateLiteral(["\n width: ", ";\n height: 100%;\n border-radius: 100px;\n background-color: ", " !important;\n"])), function (props) {
47716
+ var Indicator = newStyled.div(_templateObject2$l || (_templateObject2$l = _taggedTemplateLiteral(["\n width: ", ";\n height: 100%;\n border-radius: 100px;\n background-color: ", " !important;\n"])), function (props) {
47739
47717
  return props.width;
47740
47718
  }, function (props) {
47741
47719
  return props.bgColor;
@@ -47801,15 +47779,8 @@ TableRowStatusIndicatorCell.propTypes = {
47801
47779
  color: PropTypes.oneOf(["primary", "secondary", "success", "danger", "warning", "information", "neutral"])
47802
47780
  };
47803
47781
 
47804
- var _templateObject$P, _templateObject2$l;
47805
- newStyled.th(_templateObject$P || (_templateObject$P = _taggedTemplateLiteral(["\n text-align: left;\n transition: all 250ms ease;\n font-weight: 900;\n font-size: ", ";\n border-bottom: 1px solid ", ";\n border-top: 1px solid ", ";\n\n &:first-of-type {\n border-radius: 8px 0 0 0;\n }\n\n &:last-of-type {\n border-radius: 0 8px 0 0;\n }\n"])), function (props) {
47806
- return props.theme.typography[props.size].fontSize;
47807
- }, function (props) {
47808
- return props.theme.palette.transparent.light;
47809
- }, function (props) {
47810
- return props.theme.palette.transparent.light;
47811
- });
47812
- var HtmlHeadCell = newStyled.th(_templateObject2$l || (_templateObject2$l = _taggedTemplateLiteral(["\n padding: 0.125rem;\n\n background-color: ", "};\n\n border-bottom: ", "};\n \n border-radius: 0.5rem 0 0 0;\n"])), function (props) {
47782
+ var _templateObject$P;
47783
+ var HtmlHeadCell = newStyled.th(_templateObject$P || (_templateObject$P = _taggedTemplateLiteral(["\n padding: 0.125rem;\n width: 8px;\n\n background-color: ", "};\n\n border-bottom: ", "};\n \n border-radius: 0.5rem 0 0 0;\n"])), function (props) {
47813
47784
  return getColorRgbaValue(props.theme, "TableHeadCell", null, "enabled", "background");
47814
47785
  }, function (props) {
47815
47786
  return "1px solid " + getColorRgbaValue(props.theme, "TableHeadCell", null, "enabled", "border");
@@ -53073,7 +53044,7 @@ var EditableTableCell = function EditableTableCell(props) {
53073
53044
  debounceTime: 0
53074
53045
  }, Column.inputProps), {}, {
53075
53046
  value: RowData[Column.accessor],
53076
- checked: RowData[Column.accessor],
53047
+ defaultChecked: RowData[Column.accessor],
53077
53048
  focused: focused,
53078
53049
  onChange: standardOnChange,
53079
53050
  onBlur: function onBlur(e) {
package/lib/index.js CHANGED
@@ -14966,7 +14966,7 @@ var getDisabledBackgroundCss = function getDisabledBackgroundCss(theme) {
14966
14966
  return "\n background-color: ".concat(bgColorRgba, ";\n ");
14967
14967
  };
14968
14968
 
14969
- var _excluded$1h = ["containerRef", "id", "name", "checked", "defaultValue", "indeterminate", "disabled", "readOnly", "label", "labelPosition", "tabIndex", "spaceBetween", "customCheckmark", "onChange", "onFocus", "onBlur", "onClick", "color", "size", "className", "style", "inputProps", "children"];
14969
+ var _excluded$1h = ["containerRef", "id", "name", "checked", "defaultChecked", "indeterminate", "disabled", "readOnly", "label", "labelPosition", "tabIndex", "spaceBetween", "customCheckmark", "onChange", "onFocus", "onBlur", "onClick", "color", "size", "className", "style", "inputProps", "children"];
14970
14970
  var _templateObject$1j;
14971
14971
  var getLabelDirection$2 = function getLabelDirection(direction) {
14972
14972
  if (direction == "left") return "row-reverse";
@@ -14975,7 +14975,7 @@ var getLabelDirection$2 = function getLabelDirection(direction) {
14975
14975
  var getCheckSize = function getCheckSize(theme, size) {
14976
14976
  return "calc(".concat(theme.components.Checkbox["default"].enabled.sizes[size], " / 2)");
14977
14977
  };
14978
- var Container$d = newStyled.label(_templateObject$1j || (_templateObject$1j = _taggedTemplateLiteral__default["default"](["\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n cursor: pointer;\n min-height: ", ";\n max-height: ", ";\n display: inline-flex;\n align-items: center;\n justify-content: start;\n flex-direction: ", ";\n ", "\n width: 100%;\n ", "\n ", ";\n gap: 0.75rem;\n position: relative;\n & .checkbox-label {\n ", "\n min-width: 0;\n flex-shrink: 1;\n min-height: 0;\n overflow: hidden;\n text-overflow: ellipsis;\n }\n & input {\n position: absolute;\n opacity: 0;\n cursor: pointer;\n height: 0;\n width: 0;\n }\n & .checkmark {\n min-height: ", ";\n min-width: ", ";\n display: flex;\n justify-content: center;\n align-items: center;\n transition: all 0.2s ease;\n background-color: transparent;\n color: ", ";\n border: 1px solid\n ", ";\n border-radius: ", ";\n ", ";\n ", "\n & svg {\n height: 0;\n width: 0;\n stroke: transparent;\n }\n & img {\n max-height: 0;\n max-width: 0;\n filter: brightness(0) invert(1);\n }\n }\n & input:checked ~ .checkmark {\n background-color: ", ";\n border: 1px solid\n ", ";\n & .checked {\n height: ", ";\n width: ", ";\n stroke: white;\n }\n & .indeterminate {\n height: 0;\n width: 0;\n }\n & img {\n max-height: ", ";\n max-width: ", ";\n }\n }\n & input:indeterminate ~ .checkmark {\n & .checked {\n height: 0;\n width: 0;\n }\n background-color: ", ";\n & .indeterminate {\n height: ", ";\n width: ", ";\n stroke: white;\n }\n }\n & input:disabled ~ .checkmark {\n ", ";\n }\n"])), function (props) {
14978
+ var Container$d = newStyled.label(_templateObject$1j || (_templateObject$1j = _taggedTemplateLiteral__default["default"](["\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n cursor: pointer;\n min-height: ", ";\n max-height: ", ";\n display: inline-flex;\n align-items: center;\n justify-content: start;\n flex-direction: ", ";\n ", "\n width: 100%;\n ", "\n ", ";\n gap: 0.75rem;\n position: relative;\n & .checkbox-label {\n ", "\n min-width: 0;\n flex-shrink: 1;\n min-height: 0;\n overflow: hidden;\n text-overflow: ellipsis;\n }\n & input {\n position: absolute;\n opacity: 0;\n cursor: pointer;\n height: 100%;\n width: 100%;\n z-index: 3;\n }\n & .checkmark {\n min-height: ", ";\n min-width: ", ";\n display: flex;\n justify-content: center;\n align-items: center;\n transition: all 0.2s ease;\n background-color: transparent;\n color: ", ";\n border: 1px solid\n ", ";\n border-radius: ", ";\n ", ";\n & svg {\n height: 0;\n width: 0;\n stroke: transparent;\n }\n & img {\n max-height: 0;\n max-width: 0;\n filter: brightness(0) invert(1);\n }\n }\n & input:checked ~ .checkmark {\n background-color: ", ";\n border: 1px solid\n ", ";\n & .checked {\n height: ", ";\n width: ", ";\n stroke: white;\n }\n & .indeterminate {\n height: 0;\n width: 0;\n }\n & img {\n max-height: ", ";\n max-width: ", ";\n }\n }\n & input:indeterminate ~ .checkmark {\n & .checked {\n height: 0;\n width: 0;\n }\n background-color: ", ";\n & .indeterminate {\n height: ", ";\n width: ", ";\n stroke: white;\n }\n }\n & input:disabled ~ .checkmark {\n ", ";\n }\n & input:focus ~ .checkmark {\n ", ";\n }\n & input:active ~ .checkmark {\n ", ";\n }\n"])), function (props) {
14979
14979
  return getSizeValueWithUnits(props.theme, props.size);
14980
14980
  }, function (props) {
14981
14981
  return getSizeValueWithUnits(props.theme, props.size);
@@ -15001,8 +15001,6 @@ var Container$d = newStyled.label(_templateObject$1j || (_templateObject$1j = _t
15001
15001
  return getBorderRadiusValueWithUnits(props.theme, "slight");
15002
15002
  }, function (props) {
15003
15003
  return props.disabled && "background-color: ".concat(getColorRgbaValue(props.theme, "Checkbox", props.color, "disabled", "border"));
15004
- }, function (props) {
15005
- return props.focused && !props.disabled && !props.readOnly ? getOutlineCss(props.theme) : "";
15006
15004
  }, function (props) {
15007
15005
  return getColorRgbaValue(props.theme, "Checkbox", props.color, "active", "background", "backgroundOpacity");
15008
15006
  }, function (props) {
@@ -15023,15 +15021,19 @@ var Container$d = newStyled.label(_templateObject$1j || (_templateObject$1j = _t
15023
15021
  return getCheckSize(props.theme, props.size);
15024
15022
  }, function (props) {
15025
15023
  return props.readOnly == false && "background-color: ".concat(getColorRgbaValue(props.theme, "Checkbox", props.color, "disabled", "border"), ";\n border-color: ").concat(getColorRgbaValue(props.theme, "Checkbox", props.color, "disabled", "border"), ";\n ");
15024
+ }, function (props) {
15025
+ return getOutlineCss(props.theme);
15026
+ }, function (props) {
15027
+ return getOutlineCss(props.theme);
15026
15028
  });
15027
15029
  var CheckBoxInput = /*#__PURE__*/React__default["default"].forwardRef(function (props, ref) {
15028
15030
  var containerRef = props.containerRef;
15029
15031
  props.id;
15030
15032
  props.name;
15031
15033
  var checked = props.checked,
15032
- defaultValue = props.defaultValue,
15033
- indeterminate = props.indeterminate,
15034
- disabled = props.disabled,
15034
+ defaultChecked = props.defaultChecked;
15035
+ props.indeterminate;
15036
+ var disabled = props.disabled,
15035
15037
  readOnly = props.readOnly,
15036
15038
  label = props.label,
15037
15039
  labelPosition = props.labelPosition,
@@ -15049,50 +15051,25 @@ var CheckBoxInput = /*#__PURE__*/React__default["default"].forwardRef(function (
15049
15051
  inputProps = props.inputProps;
15050
15052
  props.children;
15051
15053
  var rest = _objectWithoutProperties__default["default"](props, _excluded$1h);
15052
- var checkboxRef = React.useRef();
15053
- var _useState = React.useState(false),
15054
- _useState2 = _slicedToArray__default["default"](_useState, 2),
15055
- focused = _useState2[0],
15056
- setFocused = _useState2[1];
15057
15054
  var theme = useTheme$1();
15058
15055
  var themeProps = {
15059
15056
  theme: theme,
15060
15057
  size: size,
15061
15058
  color: color,
15062
15059
  disabled: disabled,
15063
- readOnly: readOnly,
15064
- focused: focused
15060
+ readOnly: readOnly
15065
15061
  };
15066
- var _useState3 = React.useState(checked == true || checked == false ? checked : defaultValue),
15067
- _useState4 = _slicedToArray__default["default"](_useState3, 2),
15068
- checkBoxChecked = _useState4[0],
15069
- setCheckBoxChecked = _useState4[1];
15070
- useEffectOnce$1(function () {
15071
- var checkbox = ref !== null && ref !== void 0 && ref.current ? ref.current : checkboxRef === null || checkboxRef === void 0 ? void 0 : checkboxRef.current;
15072
- if (checkbox && indeterminate == true) checkbox.indeterminate = true;
15073
- });
15062
+ var _useState = React.useState(checked == true || checked == false ? checked : defaultChecked),
15063
+ _useState2 = _slicedToArray__default["default"](_useState, 2),
15064
+ checkBoxChecked = _useState2[0],
15065
+ setCheckBoxChecked = _useState2[1];
15074
15066
  useUpdateEffect$1(function () {
15075
15067
  setCheckBoxChecked(checked ? checked : false);
15076
15068
  }, [checked]);
15077
-
15078
- //Expose functions through ref
15079
- React.useImperativeHandle(ref, function () {
15080
- return {
15081
- setIndeterminate: function setIndeterminate() {
15082
- _setIndeterminate();
15083
- }
15084
- };
15085
- });
15086
- var _setIndeterminate = function _setIndeterminate() {
15087
- var checkbox = ref !== null && ref !== void 0 && ref.current ? ref.current : checkboxRef === null || checkboxRef === void 0 ? void 0 : checkboxRef.current;
15088
- if (checkbox && indeterminate == true) checkbox.indeterminate = true;
15089
- };
15090
15069
  var handleOnBlur = function handleOnBlur(e) {
15091
- setFocused(false);
15092
15070
  if (onBlur) onBlur(e);
15093
15071
  };
15094
15072
  var handleOnFocus = function handleOnFocus(e) {
15095
- setFocused(true);
15096
15073
  if (onFocus) onFocus(e);
15097
15074
  };
15098
15075
  return /*#__PURE__*/React__default["default"].createElement(Container$d, _extends__default$1["default"]({
@@ -15106,9 +15083,9 @@ var CheckBoxInput = /*#__PURE__*/React__default["default"].forwardRef(function (
15106
15083
  readOnly: readOnly,
15107
15084
  onClick: onClick,
15108
15085
  ref: containerRef
15109
- }, themeProps, rest), checkBoxChecked == true || checkBoxChecked == false ? /*#__PURE__*/React__default["default"].createElement("input", _extends__default$1["default"]({
15086
+ }, themeProps, rest), checked == true || checked == false ? /*#__PURE__*/React__default["default"].createElement("input", _extends__default$1["default"]({
15110
15087
  type: "checkbox",
15111
- ref: ref ? ref : checkboxRef,
15088
+ ref: ref,
15112
15089
  tabIndex: tabIndex,
15113
15090
  onBlur: handleOnBlur,
15114
15091
  onFocus: handleOnFocus,
@@ -15117,15 +15094,16 @@ var CheckBoxInput = /*#__PURE__*/React__default["default"].forwardRef(function (
15117
15094
  disabled: disabled || readOnly
15118
15095
  }, inputProps)) : /*#__PURE__*/React__default["default"].createElement("input", _extends__default$1["default"]({
15119
15096
  type: "checkbox",
15120
- ref: ref ? ref : checkboxRef,
15097
+ ref: ref,
15121
15098
  tabIndex: tabIndex,
15122
15099
  onBlur: handleOnBlur,
15123
15100
  onFocus: handleOnFocus,
15124
- defaultValue: defaultValue,
15101
+ defaultChecked: defaultChecked,
15125
15102
  disabled: disabled || readOnly,
15126
15103
  onChange: onChange
15127
15104
  }, inputProps)), /*#__PURE__*/React__default["default"].createElement("div", {
15128
- className: "checkmark"
15105
+ className: "checkmark",
15106
+ tabIndex: -1
15129
15107
  }, !customCheckmark && /*#__PURE__*/React__default["default"].createElement("svg", {
15130
15108
  viewBox: "0 0 8 6",
15131
15109
  fill: "none",
@@ -15188,7 +15166,7 @@ CheckBoxInput.propTypes = {
15188
15166
  containerRef: PropTypes__default["default"].any,
15189
15167
  id: PropTypes__default["default"].any,
15190
15168
  name: PropTypes__default["default"].string,
15191
- defaultValue: PropTypes__default["default"].bool,
15169
+ defaultChecked: PropTypes__default["default"].bool,
15192
15170
  checked: PropTypes__default["default"].bool,
15193
15171
  disabled: PropTypes__default["default"].bool,
15194
15172
  readOnly: PropTypes__default["default"].bool,
@@ -15593,7 +15571,7 @@ function toNumber(value) {
15593
15571
  var lodash_debounce = debounce;
15594
15572
 
15595
15573
  var _excluded$1g = ["id", "name", "defaultValue", "value", "size", "tabIndex", "withInput", "className", "style", "color", "debounceTime", "readOnly", "disabled", "onChange", "onFocus", "onBlur", "onInput", "onKeyDown", "preventDefault", "labelRef", "inputProps"];
15596
- var _templateObject$1i, _templateObject2$z, _templateObject3$m;
15574
+ var _templateObject$1i, _templateObject2$y, _templateObject3$m;
15597
15575
  var getSize$1 = function getSize(theme, size) {
15598
15576
  var componentSize = getSizeValueWithUnits(theme, size);
15599
15577
  return "calc(".concat(componentSize, " - 1rem)");
@@ -15619,7 +15597,7 @@ var StyledInput$4 = newStyled.label(_templateObject$1i || (_templateObject$1i =
15619
15597
  }, function (props) {
15620
15598
  return getColorRgbaValue(props.theme, "Input", props.color, "disabled", "border");
15621
15599
  });
15622
- var StyledColorInput = newStyled.div(_templateObject2$z || (_templateObject2$z = _taggedTemplateLiteral__default["default"](["\n ", "\n min-height: ", ";\n max-height: ", ";\n display: inline-flex;\n align-items: center;\n justify-content: center;\n ", "\n & div {\n &:focus {\n ", ";\n }\n &:hover {\n ", ";\n }\n ", "\n box-sizing: border-box;\n min-width: ", ";\n height: ", ";\n border-radius: ", ";\n overflow: hidden;\n & input[type=\"color\"] {\n border: 0;\n padding: 0;\n width: 200%;\n height: 200%;\n cursor: pointer;\n transform: translate(-25%, -25%);\n ", ";\n }\n }\n"])), function (props) {
15600
+ var StyledColorInput = newStyled.div(_templateObject2$y || (_templateObject2$y = _taggedTemplateLiteral__default["default"](["\n ", "\n min-height: ", ";\n max-height: ", ";\n display: inline-flex;\n align-items: center;\n justify-content: center;\n ", "\n & div {\n &:focus {\n ", ";\n }\n &:hover {\n ", ";\n }\n ", "\n box-sizing: border-box;\n min-width: ", ";\n height: ", ";\n border-radius: ", ";\n overflow: hidden;\n & input[type=\"color\"] {\n border: 0;\n padding: 0;\n width: 200%;\n height: 200%;\n cursor: pointer;\n transform: translate(-25%, -25%);\n ", ";\n }\n }\n"])), function (props) {
15623
15601
  return !props.disabled && props.readOnly == false && "cursor: pointer;";
15624
15602
  }, function (props) {
15625
15603
  return getSizeValueWithUnits(props.theme, props.size);
@@ -24873,7 +24851,7 @@ var Calendar = Calendar$1;
24873
24851
  var css_248z$6 = ".react-calendar {\n width: 380px;\n max-width: 100%;\n padding: 3px;\n background: white;\n border: 1px solid #a0a096;\n /* font-family: Arial, Helvetica, sans-serif; */\n line-height: 1.125em;\n}\n.react-calendar--doubleView {\n width: 760px;\n}\n.react-calendar--doubleView .react-calendar__viewContainer {\n display: flex;\n margin: -0.5em;\n}\n.react-calendar--doubleView .react-calendar__viewContainer > * {\n width: 50%;\n margin: 0.5em;\n}\n.react-calendar,\n.react-calendar *,\n.react-calendar *:before,\n.react-calendar *:after {\n -moz-box-sizing: border-box;\n -webkit-box-sizing: border-box;\n box-sizing: border-box;\n}\n.react-calendar button {\n margin: 0;\n border: 0;\n outline: none;\n}\n.react-calendar button:enabled:hover {\n cursor: pointer;\n}\n.react-calendar__navigation {\n display: flex;\n height: 44px;\n margin-bottom: 1em;\n}\n.react-calendar__navigation button {\n min-width: 44px;\n background: none;\n}\n.react-calendar__navigation button:disabled {\n background-color: #f0f0f0;\n}\n.react-calendar__navigation button:enabled:hover,\n.react-calendar__navigation button:enabled:focus {\n background-color: #e6e6e6;\n}\n.react-calendar__month-view__weekdays {\n text-align: center;\n text-transform: uppercase;\n font-weight: bold;\n font-size: inherit;\n}\n.react-calendar__month-view__weekdays__weekday {\n padding: 0.5em;\n}\n.react-calendar__month-view__weekNumbers .react-calendar__tile {\n display: flex;\n align-items: center;\n justify-content: center;\n font-size: inherit;\n font-weight: bold;\n}\n.react-calendar__month-view__days__day--weekend {\n color: #d10000;\n}\n.react-calendar__month-view__days__day--neighboringMonth {\n color: #757575;\n}\n.react-calendar__year-view .react-calendar__tile,\n.react-calendar__decade-view .react-calendar__tile,\n.react-calendar__century-view .react-calendar__tile {\n padding: 2em 0.5em;\n}\n.react-calendar__tile {\n max-width: 100%;\n padding: 10px 6.6667px;\n background: none;\n text-align: center;\n line-height: 16px;\n transition: all 220ms ease;\n border-radius: 3px;\n}\n.react-calendar__tile:disabled {\n background-color: #f0f0f0;\n}\n.react-calendar__tile:enabled:hover,\n.react-calendar__tile:enabled:focus {\n background-color: #e6e6e6;\n}\n.react-calendar__tile--now {\n background: #ffff76;\n}\n.react-calendar__tile--now:enabled:hover,\n.react-calendar__tile--now:enabled:focus {\n background: #ffffa9;\n}\n.react-calendar__tile--hasActive {\n background: #76baff;\n}\n.react-calendar__tile--hasActive:enabled:hover,\n.react-calendar__tile--hasActive:enabled:focus {\n background: #a9d4ff;\n}\n.react-calendar__tile--active {\n background: #006edc;\n color: white;\n}\n.react-calendar__tile--active:enabled:hover,\n.react-calendar__tile--active:enabled:focus {\n background: #1087ff;\n}\n.react-calendar--selectRange .react-calendar__tile--hover {\n background-color: #e6e6e6;\n}\n";
24874
24852
  styleInject(css_248z$6);
24875
24853
 
24876
- var _templateObject$1h, _templateObject2$y, _templateObject3$l, _templateObject4$a, _templateObject5$5, _templateObject6$2;
24854
+ var _templateObject$1h, _templateObject2$x, _templateObject3$l, _templateObject4$a, _templateObject5$5, _templateObject6$2;
24877
24855
  var StyledContainer$1 = newStyled.div(_templateObject$1h || (_templateObject$1h = _taggedTemplateLiteral__default["default"](["\n display: flex;\n align-items: center;\n width: 100%;\n position: relative;\n min-height: ", ";\n max-height: ", ";\n background-color: ", ";\n border: 1px solid\n ", ";\n border-radius: ", ";\n\n ", "\n ", "\n\n & .react-calendar {\n border-radius: 0.2rem;\n font-size: ", ";\n font-family: ", ";\n border: 0.0625rem solid #2dd1d4;\n }\n\n & .react-calendar__navigation__arrow,\n .react-calendar__navigation__label {\n transition: all 220ms ease;\n border-radius: 0.1875rem;\n }\n\n & .react-calendar__navigation__label {\n font-size: ", ";\n font-family: ", ";\n }\n\n & .react-calendar__month-view__weekdays__weekday {\n color: #2dd1d4;\n font-size: ", ";\n font-family: ", ";\n\n & abbr {\n text-decoration: none;\n }\n }\n\n & .react-calendar__tile {\n font-size: ", ";\n font-family: ", ";\n }\n\n & .react-calendar__tile--now {\n background: #adf4f5;\n }\n\n & .react-calendar__tile--now:enabled:hover,\n .react-calendar__tile--now:enabled:focus {\n background: #adf4f5;\n }\n\n & .react-calendar__tile--active {\n background: #2dd1d4;\n color: white;\n }\n\n & .react-calendar__tile--active:enabled:hover,\n .react-calendar__tile--active:enabled:focus {\n background: #73e3e4;\n }\n\n & .react-calendar__tile--hasActive {\n background: #2dd1d4;\n }\n\n & .react-calendar__tile--hasActive:enabled:hover,\n .react-calendar__tile--hasActive:enabled:focus {\n background: #73e3e4;\n }\n"])), function (props) {
24878
24856
  return getSizeValueWithUnits(props.theme, props.size);
24879
24857
  }, function (props) {
@@ -24905,7 +24883,7 @@ var StyledContainer$1 = newStyled.div(_templateObject$1h || (_templateObject$1h
24905
24883
  }, function (props) {
24906
24884
  return props.theme.typography.component.fontFamily;
24907
24885
  });
24908
- var StyledInput$3 = newStyled.input(_templateObject2$y || (_templateObject2$y = _taggedTemplateLiteral__default["default"](["\n background: none;\n border: none;\n outline: none;\n width: 100%;\n padding: 0.625rem 0.75rem;\n\n ", "\n min-height: ", ";\n max-height: ", ";\n color: ", ";\n caret-color: ", ";\n\n &::placeholder {\n color: ", ";\n }\n\n &:read-only {\n cursor: default;\n }\n\n &:disabled {\n ", "\n background: none;\n }\n"])), function (props) {
24886
+ var StyledInput$3 = newStyled.input(_templateObject2$x || (_templateObject2$x = _taggedTemplateLiteral__default["default"](["\n background: none;\n border: none;\n outline: none;\n width: 100%;\n padding: 0.625rem 0.75rem;\n\n ", "\n min-height: ", ";\n max-height: ", ";\n color: ", ";\n caret-color: ", ";\n\n &::placeholder {\n color: ", ";\n }\n\n &:read-only {\n cursor: default;\n }\n\n &:disabled {\n ", "\n background: none;\n }\n"])), function (props) {
24909
24887
  return getComponentTypographyCss(props.theme, "Input", props.size, "enabled");
24910
24888
  }, function (props) {
24911
24889
  return getSizeValueWithUnits(props.theme, props.size);
@@ -43860,7 +43838,7 @@ var lodash = {exports: {}};
43860
43838
  }.call(commonjsGlobal));
43861
43839
  }(lodash, lodash.exports));
43862
43840
 
43863
- var _templateObject$1f, _templateObject2$x, _templateObject3$k;
43841
+ var _templateObject$1f, _templateObject2$w, _templateObject3$k;
43864
43842
  var StyledWrapper$3 = newStyled.div(_templateObject$1f || (_templateObject$1f = _taggedTemplateLiteral__default["default"](["\n display: flex;\n align-items: center;\n\n min-height: ", ";\n max-height: ", ";\n background-color: ", ";\n border: 1px solid\n ", ";\n border-radius: ", ";\n\n ", "\n ", "\n ", "\n\n & input {\n background: none;\n border: none;\n outline: none;\n padding-top: 0.625rem;\n padding-bottom: 0.625rem;\n width: 100%;\n\n ", "\n min-height: ", ";\n max-height: ", ";\n color: ", ";\n caret-color: ", ";\n padding-right: ", ";\n padding-left: ", ";\n }\n\n & input:disabled {\n ", "\n background: none;\n }\n\n & input:read-only {\n cursor: default;\n }\n\n & input::placeholder {\n color: ", ";\n }\n"])), function (props) {
43865
43843
  return getSizeValueWithUnits(props.theme, props.size);
43866
43844
  }, function (props) {
@@ -43896,7 +43874,7 @@ var StyledWrapper$3 = newStyled.div(_templateObject$1f || (_templateObject$1f =
43896
43874
  }, function (props) {
43897
43875
  return getColorRgbaValue(props.theme, "Input", props.color, "enabled", "placeholder");
43898
43876
  });
43899
- var StyledPrefix$3 = newStyled.span(_templateObject2$x || (_templateObject2$x = _taggedTemplateLiteral__default["default"](["\n padding: 0 12px;\n color: ", ";\n"])), function (props) {
43877
+ var StyledPrefix$3 = newStyled.span(_templateObject2$w || (_templateObject2$w = _taggedTemplateLiteral__default["default"](["\n padding: 0 12px;\n color: ", ";\n"])), function (props) {
43900
43878
  return getColorRgbaValue(props.theme, "Input", props.focused ? "primary" : props.color, "enabled", "prefix");
43901
43879
  });
43902
43880
  var StyledSuffix$3 = newStyled(StyledPrefix$3)(_templateObject3$k || (_templateObject3$k = _taggedTemplateLiteral__default["default"]([""])));
@@ -44100,7 +44078,7 @@ DecimalInput.propTypes = {
44100
44078
  };
44101
44079
 
44102
44080
  var _excluded$12 = ["id", "className", "style", "onChange", "onFocus", "onBlur", "disabled", "readOnly", "multiple", "accept", "label", "tabIndex", "color", "size"];
44103
- var _templateObject$1e, _templateObject2$w, _templateObject3$j, _templateObject4$9;
44081
+ var _templateObject$1e, _templateObject2$v, _templateObject3$j, _templateObject4$9;
44104
44082
  function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray$2(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it["return"] != null) it["return"](); } finally { if (didErr) throw err; } } }; }
44105
44083
  function _unsupportedIterableToArray$2(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray$2(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray$2(o, minLen); }
44106
44084
  function _arrayLikeToArray$2(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
@@ -44113,7 +44091,7 @@ var Container$c = newStyled.label(_templateObject$1e || (_templateObject$1e = _t
44113
44091
  }, function (props) {
44114
44092
  return props.focused && props.readOnly == false ? getOutlineCss(props.theme) : "";
44115
44093
  });
44116
- var Input$3 = newStyled.input(_templateObject2$w || (_templateObject2$w = _taggedTemplateLiteral__default["default"](["\n width: 0.1px;\n height: 0.1px;\n opacity: 0;\n overflow: hidden;\n position: absolute;\n z-index: -1;\n"])));
44094
+ var Input$3 = newStyled.input(_templateObject2$v || (_templateObject2$v = _taggedTemplateLiteral__default["default"](["\n width: 0.1px;\n height: 0.1px;\n opacity: 0;\n overflow: hidden;\n position: absolute;\n z-index: -1;\n"])));
44117
44095
  var Label$4 = newStyled.div(_templateObject3$j || (_templateObject3$j = _taggedTemplateLiteral__default["default"](["\n display: flex;\n align-items: center;\n white-space: nowrap;\n padding: 0.625rem 0.75rem;\n ", "\n color: ", ";\n cursor: ", ";\n background-color: ", ";\n border: 1px solid\n ", ";\n border-radius: 8px 0 0 8px;\n\n ", "\n"])), function (props) {
44118
44096
  return getComponentTypographyCss(props.theme, "Input", props.size, "enabled");
44119
44097
  }, function (props) {
@@ -44266,7 +44244,7 @@ FileInput.propTypes = {
44266
44244
  color: PropTypes__default["default"].oneOf(["primary", "secondary", "success", "danger", "warning", "information"])
44267
44245
  };
44268
44246
 
44269
- var _templateObject$1d, _templateObject2$v, _templateObject3$i, _templateObject4$8;
44247
+ var _templateObject$1d, _templateObject2$u, _templateObject3$i, _templateObject4$8;
44270
44248
  var StyledWrapper$2 = newStyled.div(_templateObject$1d || (_templateObject$1d = _taggedTemplateLiteral__default["default"](["\n display: flex;\n align-items: center;\n\n min-height: ", ";\n max-height: ", ";\n background-color: ", ";\n border: 1px solid\n ", ";\n border-radius: ", ";\n\n ", "\n ", "\n"])), function (props) {
44271
44249
  return getSizeValueWithUnits(props.theme, props.size);
44272
44250
  }, function (props) {
@@ -44282,7 +44260,7 @@ var StyledWrapper$2 = newStyled.div(_templateObject$1d || (_templateObject$1d =
44282
44260
  }, function (props) {
44283
44261
  return props.disabled ? getDisabledStateCss(props.theme) : "";
44284
44262
  });
44285
- var StyledPrefix$2 = newStyled.span(_templateObject2$v || (_templateObject2$v = _taggedTemplateLiteral__default["default"](["\n padding: 0 12px;\n color: ", ";\n"])), function (props) {
44263
+ var StyledPrefix$2 = newStyled.span(_templateObject2$u || (_templateObject2$u = _taggedTemplateLiteral__default["default"](["\n padding: 0 12px;\n color: ", ";\n"])), function (props) {
44286
44264
  return getColorRgbaValue(props.theme, "Input", props.focused ? "primary" : props.color, "enabled", "prefix");
44287
44265
  });
44288
44266
  var StyledSuffix$2 = newStyled(StyledPrefix$2)(_templateObject3$i || (_templateObject3$i = _taggedTemplateLiteral__default["default"]([""])));
@@ -44502,7 +44480,7 @@ NumberInput.propTypes = {
44502
44480
  color: PropTypes__default["default"].oneOf(["primary", "secondary", "success", "danger", "warning", "information"])
44503
44481
  };
44504
44482
 
44505
- var _templateObject$1c, _templateObject2$u, _templateObject3$h, _templateObject4$7, _templateObject5$4;
44483
+ var _templateObject$1c, _templateObject2$t, _templateObject3$h, _templateObject4$7, _templateObject5$4;
44506
44484
  var StyledWrapper$1 = newStyled.div(_templateObject$1c || (_templateObject$1c = _taggedTemplateLiteral__default["default"](["\n display: flex;\n align-items: center;\n\n min-height: ", ";\n max-height: ", ";\n background-color: ", ";\n border: 1px solid\n ", ";\n border-radius: ", ";\n\n ", "\n ", "\n"])), function (props) {
44507
44485
  return getSizeValueWithUnits(props.theme, props.size);
44508
44486
  }, function (props) {
@@ -44518,7 +44496,7 @@ var StyledWrapper$1 = newStyled.div(_templateObject$1c || (_templateObject$1c =
44518
44496
  }, function (props) {
44519
44497
  return props.disabled ? getDisabledStateCss(props.theme) : "";
44520
44498
  });
44521
- var StyledPrefix$1 = newStyled.span(_templateObject2$u || (_templateObject2$u = _taggedTemplateLiteral__default["default"](["\n padding: 0 12px;\n color: ", ";\n"])), function (props) {
44499
+ var StyledPrefix$1 = newStyled.span(_templateObject2$t || (_templateObject2$t = _taggedTemplateLiteral__default["default"](["\n padding: 0 12px;\n color: ", ";\n"])), function (props) {
44522
44500
  return getColorRgbaValue(props.theme, "Input", props.focused ? "primary" : props.color, "enabled", "prefix");
44523
44501
  });
44524
44502
  var StyledSuffix$1 = newStyled(StyledPrefix$1)(_templateObject3$h || (_templateObject3$h = _taggedTemplateLiteral__default["default"]([""])));
@@ -44717,7 +44695,7 @@ PasswordInput.propTypes = {
44717
44695
  };
44718
44696
 
44719
44697
  var _excluded$$ = ["id", "name", "tabIndex", "checked", "className", "style", "color", "size", "onChange", "onFocus", "onBlur", "onClick", "onKeyDown", "value", "label", "labelPosition", "spaceBetween", "disabled", "readOnly", "inputProps"];
44720
- var _templateObject$1b, _templateObject2$t;
44698
+ var _templateObject$1b, _templateObject2$s;
44721
44699
  var getLabelDirection$1 = function getLabelDirection(direction) {
44722
44700
  if (direction == "left") return "row-reverse";
44723
44701
  return "row";
@@ -44753,7 +44731,7 @@ var Container$b = newStyled.label(_templateObject$1b || (_templateObject$1b = _t
44753
44731
  }, function (props) {
44754
44732
  return getColorRgbaValue(props.theme, "Radio", props.color, "active", "border");
44755
44733
  });
44756
- var Label$3 = newStyled.label(_templateObject2$t || (_templateObject2$t = _taggedTemplateLiteral__default["default"](["\n ", ";\n min-width: 0;\n flex-shrink: 1;\n min-height: 0;\n overflow: hidden;\n text-overflow: ellipsis;\n"])), function (props) {
44734
+ var Label$3 = newStyled.label(_templateObject2$s || (_templateObject2$s = _taggedTemplateLiteral__default["default"](["\n ", ";\n min-width: 0;\n flex-shrink: 1;\n min-height: 0;\n overflow: hidden;\n text-overflow: ellipsis;\n"])), function (props) {
44757
44735
  return !props.disabled && props.readOnly == false && "cursor: pointer";
44758
44736
  });
44759
44737
  var RadioInput = /*#__PURE__*/React__default["default"].forwardRef(function (props, ref) {
@@ -44909,7 +44887,7 @@ RadioInput.propTypes = {
44909
44887
  };
44910
44888
 
44911
44889
  var _excluded$_ = ["defaultValue", "value", "min", "max", "disabled", "tabIndex", "onChange", "onInput", "color", "size", "className", "style"];
44912
- var _templateObject$1a, _templateObject2$s, _templateObject3$g;
44890
+ var _templateObject$1a, _templateObject2$r, _templateObject3$g;
44913
44891
  var standardCssFields$2 = function standardCssFields(_ref) {
44914
44892
  var theme = _ref.theme,
44915
44893
  size = _ref.size;
@@ -44924,7 +44902,7 @@ var ThumbSize$1 = {
44924
44902
  var StyledRangeSlider = newStyled.div(_templateObject$1a || (_templateObject$1a = _taggedTemplateLiteral__default["default"](["\n position: relative;\n ", ";\n display: inline-flex;\n align-items: center;\n"])), function (props) {
44925
44903
  return standardCssFields$2(props);
44926
44904
  });
44927
- var InputSlider = newStyled.input(_templateObject2$s || (_templateObject2$s = _taggedTemplateLiteral__default["default"](["\n -webkit-appearance: none; /* Override default CSS styles */\n appearance: none;\n width: 100%; /* Full-width */\n height: 0.25rem; /* Specified height */\n border-radius: 3px;\n outline: none; /* Remove outline */\n -webkit-transition: 0.2s; /* 0.2 seconds transition on hover */\n background: ", ";\n transition: background 450ms ease-in;\n -webkit-appearance: none;\n border-radius: ", ";\n &::-webkit-slider-thumb {\n -webkit-appearance: none; /* Override default look */\n appearance: none;\n width: ", "; /* Set a specific slider handle width */\n height: ", "; /* Slider handle height */\n border-radius: 50%;\n background-color: ", ";\n cursor: pointer; /* Cursor on hover */\n border: none;\n }\n &::-moz-range-thumb {\n width: ", "; /* Set a specific slider handle width */\n height: ", "; /* Slider handle height */\n border-radius: 50%;\n background-color: ", ";\n cursor: pointer; /* Cursor on hover */\n border: none;\n }\n"])), function (props) {
44905
+ var InputSlider = newStyled.input(_templateObject2$r || (_templateObject2$r = _taggedTemplateLiteral__default["default"](["\n -webkit-appearance: none; /* Override default CSS styles */\n appearance: none;\n width: 100%; /* Full-width */\n height: 0.25rem; /* Specified height */\n border-radius: 3px;\n outline: none; /* Remove outline */\n -webkit-transition: 0.2s; /* 0.2 seconds transition on hover */\n background: ", ";\n transition: background 450ms ease-in;\n -webkit-appearance: none;\n border-radius: ", ";\n &::-webkit-slider-thumb {\n -webkit-appearance: none; /* Override default look */\n appearance: none;\n width: ", "; /* Set a specific slider handle width */\n height: ", "; /* Slider handle height */\n border-radius: 50%;\n background-color: ", ";\n cursor: pointer; /* Cursor on hover */\n border: none;\n }\n &::-moz-range-thumb {\n width: ", "; /* Set a specific slider handle width */\n height: ", "; /* Slider handle height */\n border-radius: 50%;\n background-color: ", ";\n cursor: pointer; /* Cursor on hover */\n border: none;\n }\n"])), function (props) {
44928
44906
  return props.rangeBackground;
44929
44907
  }, function (props) {
44930
44908
  return getBorderRadiusValueWithUnits(props.theme, "regular");
@@ -45546,7 +45524,7 @@ TextAreaInput.propTypes = {
45546
45524
  color: PropTypes__default["default"].oneOf(["primary", "secondary", "success", "danger", "warning", "information"])
45547
45525
  };
45548
45526
 
45549
- var _templateObject$18, _templateObject2$r, _templateObject3$f, _templateObject4$6;
45527
+ var _templateObject$18, _templateObject2$q, _templateObject3$f, _templateObject4$6;
45550
45528
  var StyledWrapper = newStyled.div(_templateObject$18 || (_templateObject$18 = _taggedTemplateLiteral__default["default"](["\n display: flex;\n align-items: center;\n\n min-height: ", ";\n max-height: ", ";\n background-color: ", ";\n border: 1px solid\n ", ";\n border-radius: ", ";\n\n ", "\n ", "\n"])), function (props) {
45551
45529
  return getSizeValueWithUnits(props.theme, props.size);
45552
45530
  }, function (props) {
@@ -45562,7 +45540,7 @@ var StyledWrapper = newStyled.div(_templateObject$18 || (_templateObject$18 = _t
45562
45540
  }, function (props) {
45563
45541
  return props.disabled ? getDisabledStateCss(props.theme) : "";
45564
45542
  });
45565
- var StyledPrefix = newStyled.span(_templateObject2$r || (_templateObject2$r = _taggedTemplateLiteral__default["default"](["\n padding: 0 12px;\n color: ", ";\n"])), function (props) {
45543
+ var StyledPrefix = newStyled.span(_templateObject2$q || (_templateObject2$q = _taggedTemplateLiteral__default["default"](["\n padding: 0 12px;\n color: ", ";\n"])), function (props) {
45566
45544
  return getColorRgbaValue(props.theme, "Input", props.focused ? "primary" : props.color, "enabled", "prefix");
45567
45545
  });
45568
45546
  var StyledSuffix = newStyled(StyledPrefix)(_templateObject3$f || (_templateObject3$f = _taggedTemplateLiteral__default["default"]([""])));
@@ -46550,7 +46528,7 @@ Label$2.propTypes = {
46550
46528
  color: PropTypes__default["default"].oneOf(["primary", "secondary", "success", "danger", "warning", "information"])
46551
46529
  };
46552
46530
 
46553
- var _templateObject$$, _templateObject2$q, _templateObject3$e, _templateObject4$5, _templateObject5$3, _templateObject6$1;
46531
+ var _templateObject$$, _templateObject2$p, _templateObject3$e, _templateObject4$5, _templateObject5$3, _templateObject6$1;
46554
46532
 
46555
46533
  //=================================================
46556
46534
 
@@ -46577,7 +46555,7 @@ var commonCss$1 = function commonCss(props) {
46577
46555
  var LeadingIconContainer = newStyled.span(_templateObject$$ || (_templateObject$$ = _taggedTemplateLiteral__default["default"](["\n padding-right: ", ";\n"])), function (props) {
46578
46556
  return props.size === "small" ? "0.25rem" : "0.5rem";
46579
46557
  });
46580
- var TrailingIconContainer = newStyled.span(_templateObject2$q || (_templateObject2$q = _taggedTemplateLiteral__default["default"](["\n padding-left: ", ";\n"])), function (props) {
46558
+ var TrailingIconContainer = newStyled.span(_templateObject2$p || (_templateObject2$p = _taggedTemplateLiteral__default["default"](["\n padding-left: ", ";\n"])), function (props) {
46581
46559
  return props.size === "small" ? "0.25rem" : "0.5rem";
46582
46560
  });
46583
46561
  var FilledButton$1 = newStyled.button(_templateObject3$e || (_templateObject3$e = _taggedTemplateLiteral__default["default"](["\n ", "\n\n ", ";\n\n background-color: ", ";\n color: ", ";\n\n min-height: ", ";\n max-height: ", ";\n\n &:disabled {\n ", ";\n cursor: default;\n background-color: ", ";\n color: ", ";\n }\n\n &:hover {\n background-color: ", ";\n color: ", ";\n }\n\n &:focus {\n background-color: ", ";\n color: ", ";\n ", ";\n }\n\n &:active {\n background-color: ", ";\n color: ", ";\n }\n"])), function (props) {
@@ -46853,7 +46831,7 @@ Button$1.propTypes = {
46853
46831
  size: PropTypes__default["default"].oneOf(["small", "medium", "large"])
46854
46832
  };
46855
46833
 
46856
- var _templateObject$_, _templateObject2$p, _templateObject3$d, _templateObject4$4, _templateObject5$2;
46834
+ var _templateObject$_, _templateObject2$o, _templateObject3$d, _templateObject4$4, _templateObject5$2;
46857
46835
 
46858
46836
  //=================================================
46859
46837
 
@@ -46861,7 +46839,7 @@ var commonCss = function commonCss(props) {
46861
46839
  return "\n outline: none;\n display: inline-flex;\n flex-direction: row;\n justify-content: center;\n align-items: center;\n border: none;\n transition: all 50 ms ease-in;\n cursor: pointer;\n color: ".concat(!props.disabled && "white", ";\n\n border-radius: ").concat(getBorderRadiusValueWithUnits(props.theme, props.borderRadius), ";\n\n min-width: ").concat(getSizeValueWithUnits(props.theme, props.size), ";\n max-width: ").concat(getSizeValueWithUnits(props.theme, props.size), ";\n ");
46862
46840
  };
46863
46841
  var StyledIcon = newStyled.i(_templateObject$_ || (_templateObject$_ = _taggedTemplateLiteral__default["default"](["\n font-size: 1.125rem;\n"])));
46864
- var FilledButton = newStyled.button(_templateObject2$p || (_templateObject2$p = _taggedTemplateLiteral__default["default"](["\n ", "\n\n ", ";\n\n background-color: ", ";\n color: ", ";\n\n min-height: ", ";\n max-height: ", ";\n\n &:disabled {\n ", ";\n cursor: default;\n background-color: ", ";\n color: ", ";\n }\n\n &:hover {\n background-color: ", ";\n color: ", ";\n }\n\n &:focus {\n background-color: ", ";\n color: ", ";\n\n ", ";\n }\n\n &:active {\n background-color: ", ";\n color: ", ";\n }\n"])), function (props) {
46842
+ var FilledButton = newStyled.button(_templateObject2$o || (_templateObject2$o = _taggedTemplateLiteral__default["default"](["\n ", "\n\n ", ";\n\n background-color: ", ";\n color: ", ";\n\n min-height: ", ";\n max-height: ", ";\n\n &:disabled {\n ", ";\n cursor: default;\n background-color: ", ";\n color: ", ";\n }\n\n &:hover {\n background-color: ", ";\n color: ", ";\n }\n\n &:focus {\n background-color: ", ";\n color: ", ";\n\n ", ";\n }\n\n &:active {\n background-color: ", ";\n color: ", ";\n }\n"])), function (props) {
46865
46843
  return commonCss(props);
46866
46844
  }, function (props) {
46867
46845
  return getComponentTypographyCss(props.theme, "ButtonFilled", props.size, "enabled");
@@ -47089,9 +47067,9 @@ Button.propTypes = {
47089
47067
  };
47090
47068
 
47091
47069
  var _excluded$P = ["goToPreviousView", "id", "data", "fields", "flexGridProps", "goBackText", "showBack", "showNext", "showPrevious", "showEdit", "disableGoBack", "disableNext", "disablePrevious", "disableEdit", "goToNext", "goToPrevious", "onEdit", "goBack", "className", "style", "color", "size", "children"];
47092
- var _templateObject$Z, _templateObject2$o;
47070
+ var _templateObject$Z, _templateObject2$n;
47093
47071
  var StyledToolbar$3 = newStyled.div(_templateObject$Z || (_templateObject$Z = _taggedTemplateLiteral__default["default"](["\n display: flex;\n justify-content: space-between;\n"])));
47094
- var StyledDetailsView = newStyled.div(_templateObject2$o || (_templateObject2$o = _taggedTemplateLiteral__default["default"](["\n display: flex;\n flex-direction: column;\n gap: 1rem;\n box-shadow: ", ";\n border-radius: ", ";\n border-top: 1px solid rgba(0, 0, 0, 0.04);\n padding: 12px;\n background-color: ", ";\n"])), function (props) {
47072
+ var StyledDetailsView = newStyled.div(_templateObject2$n || (_templateObject2$n = _taggedTemplateLiteral__default["default"](["\n display: flex;\n flex-direction: column;\n gap: 1rem;\n box-shadow: ", ";\n border-radius: ", ";\n border-top: 1px solid rgba(0, 0, 0, 0.04);\n padding: 12px;\n background-color: ", ";\n"])), function (props) {
47095
47073
  return getComponentPropValue(props.theme, "Popover", props.color, "enabled", "boxShadow");
47096
47074
  }, function (props) {
47097
47075
  return getBorderRadiusValueWithUnits(props.theme, props.borderRadius);
@@ -47300,9 +47278,7 @@ TableHead.propTypes = {
47300
47278
  };
47301
47279
 
47302
47280
  var _templateObject$W;
47303
- var HtmlRow$1 = newStyled.tr(_templateObject$W || (_templateObject$W = _taggedTemplateLiteral__default["default"](["\n& > td {\n background-color: ", ";\n}\n ", "\n ", "\n", "\n &:last-of-type > td:first-of-type {\n border-radius: 0 0 0 0.5rem;\n }\n &:last-of-type > td:last-of-type {\n border-radius: 0 0 0.5rem 0;\n }\n ", "\n ", "\n"])), function (props) {
47304
- return getColorRgbaValue(props.theme, "TableRow", null, "enabled", "background");
47305
- }, function (props) {
47281
+ var HtmlRow$1 = newStyled.tr(_templateObject$W || (_templateObject$W = _taggedTemplateLiteral__default["default"](["\n ", "\n ", "\n", "\n &:last-of-type > td:first-of-type {\n border-radius: 0 0 0 0.5rem;\n }\n &:last-of-type > td:last-of-type {\n border-radius: 0 0 0.5rem 0;\n }\n ", "\n ", "\n"])), function (props) {
47306
47282
  return props.noBorder == false && "border-bottom: 1px solid ".concat(getColorRgbaValue(props.theme, "TableRow", null, "enabled", "border"), ";");
47307
47283
  }, function (props) {
47308
47284
  return props.noBorder == false && "border-left: 1px solid ".concat(getColorRgbaValue(props.theme, "TableRow", null, "enabled", "border"), ";");
@@ -47372,8 +47348,10 @@ TableRow.propTypes = {
47372
47348
  };
47373
47349
 
47374
47350
  var _templateObject$V;
47375
- var HtmlCell$4 = newStyled.td(_templateObject$V || (_templateObject$V = _taggedTemplateLiteral__default["default"](["\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n width: ", ";\n padding: 0.875rem 1.5rem;\n ", "\n\n ", ";\n"])), function (props) {
47351
+ var HtmlCell$4 = newStyled.td(_templateObject$V || (_templateObject$V = _taggedTemplateLiteral__default["default"](["\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n width: ", ";\n padding: 0.875rem 1.5rem;\n\n background-color: ", ";\n\n ", "\n\n ", ";\n"])), function (props) {
47376
47352
  return props.width;
47353
+ }, function (props) {
47354
+ return getColorRgbaValue(props.theme, "TableRow", null, "enabled", "background");
47377
47355
  }, function (props) {
47378
47356
  return props.bgColor;
47379
47357
  }, function (props) {
@@ -47580,7 +47558,7 @@ TableHeadRow.propTypes = {
47580
47558
  color: PropTypes__default["default"].oneOf(["primary", "secondary", "success", "danger", "warning", "information", "neutral"])
47581
47559
  };
47582
47560
 
47583
- var _templateObject$S, _templateObject2$n, _templateObject3$c, _templateObject4$3;
47561
+ var _templateObject$S, _templateObject2$m, _templateObject3$c, _templateObject4$3;
47584
47562
  var HtmlHeadCell$1 = newStyled.th(_templateObject$S || (_templateObject$S = _taggedTemplateLiteral__default["default"](["\nwhite-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n text-align: left;\n transition: all 250ms ease;\n padding: 0.875rem 1.5rem;\n cursor: ", ";\n width: ", ";\n\n &:hover {\n ", "\n }\n\n ", ";\n\n color: ", "};\n\n background-color: ", "};\n\n border-top: ", "};\n\n border-bottom: ", "};\n\n\n &:first-of-type {\n border-radius: 0.5rem 0 0 0;\n border-left: ", "};\n }\n\n &:last-of-type {\n border-radius: 0 0.5rem 0 0;\n border-right: ", "};\n }\n"])), function (props) {
47585
47563
  return props.ordering ? "pointer" : "default";
47586
47564
  }, function (props) {
@@ -47602,7 +47580,7 @@ var HtmlHeadCell$1 = newStyled.th(_templateObject$S || (_templateObject$S = _tag
47602
47580
  }, function (props) {
47603
47581
  return "1px solid " + getColorRgbaValue(props.theme, "TableHeadCell", null, "enabled", "border");
47604
47582
  });
47605
- var HeaderInnerCell = newStyled.div(_templateObject2$n || (_templateObject2$n = _taggedTemplateLiteral__default["default"](["\n display: flex;\n flex-direction: row;\n align-items: center;\n"])));
47583
+ var HeaderInnerCell = newStyled.div(_templateObject2$m || (_templateObject2$m = _taggedTemplateLiteral__default["default"](["\n display: flex;\n flex-direction: row;\n align-items: center;\n"])));
47606
47584
  var HeaderCellText = newStyled.span(_templateObject3$c || (_templateObject3$c = _taggedTemplateLiteral__default["default"](["\n padding-right: 0.25rem;\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n\n color: ", ";\n\n font-weight: ", ";\n"])), function (props) {
47607
47585
  return getColorRgbaValue(props.theme, "TableHeadCell", props.color, "enabled", "text");
47608
47586
  }, function (props) {
@@ -47782,9 +47760,9 @@ TableHeadSelectionCell.propTypes = {
47782
47760
  color: PropTypes__default["default"].oneOf(["primary", "secondary", "success", "danger", "warning", "information", "neutral"])
47783
47761
  };
47784
47762
 
47785
- var _templateObject$Q, _templateObject2$m;
47763
+ var _templateObject$Q, _templateObject2$l;
47786
47764
  var HtmlCell$1 = newStyled.td(_templateObject$Q || (_templateObject$Q = _taggedTemplateLiteral__default["default"](["\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n padding: 0.25rem 0.125rem;\n"])));
47787
- var Indicator = newStyled.div(_templateObject2$m || (_templateObject2$m = _taggedTemplateLiteral__default["default"](["\n width: ", ";\n height: 100%;\n border-radius: 100px;\n background-color: ", " !important;\n"])), function (props) {
47765
+ var Indicator = newStyled.div(_templateObject2$l || (_templateObject2$l = _taggedTemplateLiteral__default["default"](["\n width: ", ";\n height: 100%;\n border-radius: 100px;\n background-color: ", " !important;\n"])), function (props) {
47788
47766
  return props.width;
47789
47767
  }, function (props) {
47790
47768
  return props.bgColor;
@@ -47850,15 +47828,8 @@ TableRowStatusIndicatorCell.propTypes = {
47850
47828
  color: PropTypes__default["default"].oneOf(["primary", "secondary", "success", "danger", "warning", "information", "neutral"])
47851
47829
  };
47852
47830
 
47853
- var _templateObject$P, _templateObject2$l;
47854
- newStyled.th(_templateObject$P || (_templateObject$P = _taggedTemplateLiteral__default["default"](["\n text-align: left;\n transition: all 250ms ease;\n font-weight: 900;\n font-size: ", ";\n border-bottom: 1px solid ", ";\n border-top: 1px solid ", ";\n\n &:first-of-type {\n border-radius: 8px 0 0 0;\n }\n\n &:last-of-type {\n border-radius: 0 8px 0 0;\n }\n"])), function (props) {
47855
- return props.theme.typography[props.size].fontSize;
47856
- }, function (props) {
47857
- return props.theme.palette.transparent.light;
47858
- }, function (props) {
47859
- return props.theme.palette.transparent.light;
47860
- });
47861
- var HtmlHeadCell = newStyled.th(_templateObject2$l || (_templateObject2$l = _taggedTemplateLiteral__default["default"](["\n padding: 0.125rem;\n\n background-color: ", "};\n\n border-bottom: ", "};\n \n border-radius: 0.5rem 0 0 0;\n"])), function (props) {
47831
+ var _templateObject$P;
47832
+ var HtmlHeadCell = newStyled.th(_templateObject$P || (_templateObject$P = _taggedTemplateLiteral__default["default"](["\n padding: 0.125rem;\n width: 8px;\n\n background-color: ", "};\n\n border-bottom: ", "};\n \n border-radius: 0.5rem 0 0 0;\n"])), function (props) {
47862
47833
  return getColorRgbaValue(props.theme, "TableHeadCell", null, "enabled", "background");
47863
47834
  }, function (props) {
47864
47835
  return "1px solid " + getColorRgbaValue(props.theme, "TableHeadCell", null, "enabled", "border");
@@ -53122,7 +53093,7 @@ var EditableTableCell = function EditableTableCell(props) {
53122
53093
  debounceTime: 0
53123
53094
  }, Column.inputProps), {}, {
53124
53095
  value: RowData[Column.accessor],
53125
- checked: RowData[Column.accessor],
53096
+ defaultChecked: RowData[Column.accessor],
53126
53097
  focused: focused,
53127
53098
  onChange: standardOnChange,
53128
53099
  onBlur: function onBlur(e) {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@lanaco/lnc-react-ui",
3
3
  "type": "module",
4
- "version": "3.0.0-rc.2",
4
+ "version": "3.0.0-rc.4",
5
5
  "description": "component library",
6
6
  "main": "lib/index.js",
7
7
  "module": "lib/index.esm.js",