@lanaco/lnc-react-ui 3.11.30 → 3.11.31

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/lib/index.esm.js CHANGED
@@ -49004,7 +49004,7 @@ var Table = /*#__PURE__*/forwardRef(function (props, ref) {
49004
49004
  _props$PreRenderedTab2 = props.PreRenderedTableHead,
49005
49005
  PreRenderedTableHead = _props$PreRenderedTab2 === void 0 ? false : _props$PreRenderedTab2,
49006
49006
  _props$noBorder = props.noBorder,
49007
- noBorder = _props$noBorder === void 0 ? true : _props$noBorder,
49007
+ noBorder = _props$noBorder === void 0 ? false : _props$noBorder,
49008
49008
  _props$EnableRowStatu = props.EnableRowStatusIndicator,
49009
49009
  EnableRowStatusIndicator = _props$EnableRowStatu === void 0 ? false : _props$EnableRowStatu,
49010
49010
  _props$EnableRowHighl = props.EnableRowHighlight,
@@ -49555,7 +49555,7 @@ Table.propTypes = {
49555
49555
  */
49556
49556
  color: PropTypes.oneOf(["primary", "secondary", "success", "warning", "danger", "information", "neutral", "gray"])
49557
49557
  };
49558
- Table.displayName = 'TABLE';
49558
+ Table.displayName = "TABLE";
49559
49559
 
49560
49560
  var inputType = {
49561
49561
  BOOLEAN: "BOOLEAN",
@@ -61169,7 +61169,8 @@ var useTheme = function useTheme() {
61169
61169
  return useContext(ThemeContext);
61170
61170
  };
61171
61171
  var ThemeProvider = function ThemeProvider(_ref) {
61172
- var theme = _ref.theme,
61172
+ var _ref$theme = _ref.theme,
61173
+ theme = _ref$theme === void 0 ? "Lanaco Light" : _ref$theme,
61173
61174
  children = _ref.children;
61174
61175
  var _useState = useState(function () {
61175
61176
  return typeof theme == "string" ? themes === null || themes === void 0 ? void 0 : themes.find(function (item) {
@@ -61200,9 +61201,6 @@ var ThemeProvider = function ThemeProvider(_ref) {
61200
61201
  theme: currentTheme
61201
61202
  }), children));
61202
61203
  };
61203
- ThemeProvider.defaultProps = {
61204
- theme: "Lanaco Light"
61205
- };
61206
61204
  ThemeProvider.propTypes = {
61207
61205
  theme: PropTypes.oneOfType([PropTypes.string, PropTypes.object])
61208
61206
  };
package/lib/index.js CHANGED
@@ -49053,7 +49053,7 @@ var Table = /*#__PURE__*/React.forwardRef(function (props, ref) {
49053
49053
  _props$PreRenderedTab2 = props.PreRenderedTableHead,
49054
49054
  PreRenderedTableHead = _props$PreRenderedTab2 === void 0 ? false : _props$PreRenderedTab2,
49055
49055
  _props$noBorder = props.noBorder,
49056
- noBorder = _props$noBorder === void 0 ? true : _props$noBorder,
49056
+ noBorder = _props$noBorder === void 0 ? false : _props$noBorder,
49057
49057
  _props$EnableRowStatu = props.EnableRowStatusIndicator,
49058
49058
  EnableRowStatusIndicator = _props$EnableRowStatu === void 0 ? false : _props$EnableRowStatu,
49059
49059
  _props$EnableRowHighl = props.EnableRowHighlight,
@@ -49604,7 +49604,7 @@ Table.propTypes = {
49604
49604
  */
49605
49605
  color: PropTypes__default["default"].oneOf(["primary", "secondary", "success", "warning", "danger", "information", "neutral", "gray"])
49606
49606
  };
49607
- Table.displayName = 'TABLE';
49607
+ Table.displayName = "TABLE";
49608
49608
 
49609
49609
  var inputType = {
49610
49610
  BOOLEAN: "BOOLEAN",
@@ -61218,7 +61218,8 @@ var useTheme = function useTheme() {
61218
61218
  return React.useContext(ThemeContext);
61219
61219
  };
61220
61220
  var ThemeProvider = function ThemeProvider(_ref) {
61221
- var theme = _ref.theme,
61221
+ var _ref$theme = _ref.theme,
61222
+ theme = _ref$theme === void 0 ? "Lanaco Light" : _ref$theme,
61222
61223
  children = _ref.children;
61223
61224
  var _useState = React.useState(function () {
61224
61225
  return typeof theme == "string" ? themes === null || themes === void 0 ? void 0 : themes.find(function (item) {
@@ -61249,9 +61250,6 @@ var ThemeProvider = function ThemeProvider(_ref) {
61249
61250
  theme: currentTheme
61250
61251
  }), children));
61251
61252
  };
61252
- ThemeProvider.defaultProps = {
61253
- theme: "Lanaco Light"
61254
- };
61255
61253
  ThemeProvider.propTypes = {
61256
61254
  theme: PropTypes__default["default"].oneOfType([PropTypes__default["default"].string, PropTypes__default["default"].object])
61257
61255
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@lanaco/lnc-react-ui",
3
3
  "type": "module",
4
- "version": "3.11.30",
4
+ "version": "3.11.31",
5
5
  "description": "component library",
6
6
  "main": "lib/index.js",
7
7
  "module": "lib/index.esm.js",