linear-react-components-ui 1.1.24-rc.2 → 1.1.25-beta.10

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.
Files changed (100) hide show
  1. package/lib/{BaseMask-0c14ef51.d.ts → BaseMask-78847f45.d.ts} +1 -1
  2. package/lib/{Cnpj-bde01dd0.d.ts → Cnpj-8366781f.d.ts} +1 -1
  3. package/lib/{Cpf-3fa496ad.d.ts → Cpf-3dfd54eb.d.ts} +1 -1
  4. package/lib/{Phone-2bb0b397.d.ts → Phone-1962c0f2.d.ts} +1 -1
  5. package/lib/{ZipCode-09460e18.d.ts → ZipCode-be9c5b3b.d.ts} +1 -1
  6. package/lib/assets/styles/button.scss +1 -1
  7. package/lib/assets/styles/calendar.scss +3 -3
  8. package/lib/assets/styles/datepicker2.scss +7 -3
  9. package/lib/assets/styles/dialog.scss +1 -1
  10. package/lib/assets/styles/drawers.scss +1 -2
  11. package/lib/assets/styles/fieldset.scss +1 -1
  12. package/lib/assets/styles/gridlayout.scss +20 -19
  13. package/lib/assets/styles/multiSelect.scss +6 -6
  14. package/lib/assets/styles/periodpicker.scss +1 -1
  15. package/lib/assets/styles/radio.scss +114 -87
  16. package/lib/assets/styles/selectfield.scss +7 -3
  17. package/lib/assets/styles/split.scss +1 -1
  18. package/lib/assets/styles/table.scss +6 -0
  19. package/lib/assets/styles/tabs.scss +6 -2
  20. package/lib/assets/styles/textfield.scss +7 -3
  21. package/lib/assets/styles/tooltip.scss +5 -4
  22. package/lib/buttons/DefaultButton.js +1 -1
  23. package/lib/checkbox/index.js +3 -1
  24. package/lib/checkbox/types.d.ts +1 -0
  25. package/lib/dialog/base/index.js +20 -22
  26. package/lib/dialog/form/index.js +6 -4
  27. package/lib/drawer/Drawer.js +2 -3
  28. package/lib/drawer/index.js +1 -1
  29. package/lib/icons/helper.d.ts +12 -0
  30. package/lib/icons/helper.js +12 -0
  31. package/lib/{index-3b70931d.d.ts → index-02a27c19.d.ts} +2 -20
  32. package/lib/index-053f615b.d.ts +26 -0
  33. package/lib/{index-7dfa8924.d.ts → index-25b80f32.d.ts} +1 -1
  34. package/lib/{index-9e576346.d.ts → index-6f5c772d.d.ts} +1 -1
  35. package/lib/{index-208e7f62.d.ts → index-6fcf446c.d.ts} +2 -20
  36. package/lib/index-7159df18.d.ts +21 -0
  37. package/lib/{index-e71434f9.d.ts → index-afb7b5a9.d.ts} +1 -1
  38. package/lib/inputs/date/index.js +3 -6
  39. package/lib/inputs/multiSelect/Dropdown.js +4 -3
  40. package/lib/inputs/multiSelect/index.js +23 -5
  41. package/lib/inputs/multiSelect/types.d.ts +2 -0
  42. package/lib/inputs/period/PeriodList.js +3 -12
  43. package/lib/inputs/period/index.js +97 -124
  44. package/lib/inputs/search/index.js +6 -2
  45. package/lib/inputs/select/multiple/index.js +3 -2
  46. package/lib/inputs/select/simple/index.js +4 -3
  47. package/lib/inputs/select/types.d.ts +1 -0
  48. package/lib/inputs/types.d.ts +1 -0
  49. package/lib/inputs2/checkboxfield/base.d.ts +29 -0
  50. package/lib/inputs2/checkboxfield/base.js +134 -0
  51. package/lib/inputs2/checkboxfield/index.d.ts +3 -2
  52. package/lib/inputs2/checkboxfield/index.js +32 -124
  53. package/lib/inputs2/colorfield/index.d.ts +6 -5
  54. package/lib/inputs2/date/datefield/base.d.ts +13 -0
  55. package/lib/inputs2/date/datefield/base.js +330 -0
  56. package/lib/inputs2/date/datefield/index.js +34 -322
  57. package/lib/inputs2/date/datefield/types.d.ts +5 -3
  58. package/lib/inputs2/date/dateperiodfield/base.d.ts +13 -0
  59. package/lib/inputs2/date/dateperiodfield/base.js +595 -0
  60. package/lib/inputs2/date/dateperiodfield/index.js +34 -587
  61. package/lib/inputs2/date/dateperiodfield/types.d.ts +5 -3
  62. package/lib/inputs2/filefield/index.d.ts +6 -5
  63. package/lib/inputs2/index.d.ts +18 -15
  64. package/lib/inputs2/mask/BaseMask.d.ts +6 -5
  65. package/lib/inputs2/mask/Cnpj.d.ts +7 -6
  66. package/lib/inputs2/mask/Cpf.d.ts +7 -6
  67. package/lib/inputs2/mask/Phone.d.ts +7 -6
  68. package/lib/inputs2/mask/ZipCode.d.ts +7 -6
  69. package/lib/inputs2/numberfield/currency.d.ts +5 -4
  70. package/lib/inputs2/numberfield/decimal.d.ts +5 -4
  71. package/lib/inputs2/numberfield/index.d.ts +5 -4
  72. package/lib/inputs2/numberfield/index.js +19 -2
  73. package/lib/inputs2/numberfield/types.d.ts +5 -4
  74. package/lib/inputs2/radiofield/base.d.ts +12 -0
  75. package/lib/inputs2/radiofield/base.js +156 -0
  76. package/lib/inputs2/radiofield/index.d.ts +1 -1
  77. package/lib/inputs2/radiofield/index.js +30 -119
  78. package/lib/inputs2/radiofield/types.d.ts +6 -3
  79. package/lib/inputs2/selectfield/base.d.ts +11 -0
  80. package/lib/inputs2/selectfield/base.js +513 -0
  81. package/lib/inputs2/selectfield/index.d.ts +1 -1
  82. package/lib/inputs2/selectfield/index.js +35 -502
  83. package/lib/inputs2/selectfield/types.d.ts +8 -6
  84. package/lib/inputs2/textareafield/base.d.ts +26 -0
  85. package/lib/inputs2/textareafield/base.js +166 -0
  86. package/lib/inputs2/textareafield/index.d.ts +4 -3
  87. package/lib/inputs2/textareafield/index.js +30 -154
  88. package/lib/inputs2/textfield/base.d.ts +26 -0
  89. package/lib/inputs2/textfield/base.js +131 -0
  90. package/lib/inputs2/textfield/index.d.ts +5 -4
  91. package/lib/inputs2/textfield/index.js +30 -120
  92. package/lib/radio/index.js +8 -7
  93. package/lib/table/index.js +18 -8
  94. package/lib/table/types.d.ts +1 -0
  95. package/lib/tabs/index.js +2 -2
  96. package/lib/tooltip/TooltipContent.js +1 -1
  97. package/lib/tooltip/useTooltip.js +25 -0
  98. package/package.json +1 -1
  99. package/lib/index-299f841a.d.ts +0 -41
  100. package/lib/index-cd005ed1.d.ts +0 -26
@@ -17,48 +17,31 @@ Object.defineProperty(exports, "RightSlot", {
17
17
  }
18
18
  });
19
19
  require("../../assets/styles/textfield.scss");
20
- var _react = _interopRequireWildcard(require("react"));
21
- var _lodash = _interopRequireDefault(require("lodash"));
20
+ var _react = _interopRequireDefault(require("react"));
22
21
  var _gridlayout = _interopRequireDefault(require("../../gridlayout"));
23
- var _popover = _interopRequireWildcard(require("../../popover"));
24
22
  var _permissionValidations = require("../../permissionValidations");
25
- var _hint = _interopRequireDefault(require("../../hint"));
26
23
  var _slot = require("../slot");
27
- var _tooltip = require("../../tooltip");
28
- const _excluded = ["type", "name", "label", "errors", "children", "onDeniedActions", "permissionAttr", "customClass", "customClassLabel", "customClassWrapper", "customClassInputContainer", "textAlign", "labelUppercase", "skeletonize", "hintPosition", "gridLayout", "themePopover", "popoverAlign", "tooltip", "tooltipPosition", "tooltipWidth", "hint"];
24
+ var _base = require("./base");
25
+ const _excluded = ["onDeniedActions", "permissionAttr", "gridLayout", "readOnly", "disabled"];
29
26
  function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
30
- function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function (e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != typeof e && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (const t in e) "default" !== t && {}.hasOwnProperty.call(e, t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, t)) && (i.get || i.set) ? o(f, t, i) : f[t] = e[t]); return f; })(e, t); }
31
27
  function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
28
+ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
29
+ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
30
+ function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
31
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
32
+ function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
32
33
  function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
33
34
  function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
34
35
  const options = [_permissionValidations.OPTIONS_ON_DENIED.disabled, _permissionValidations.OPTIONS_ON_DENIED.unvisible, _permissionValidations.OPTIONS_ON_DENIED.readOnly, _permissionValidations.OPTIONS_ON_DENIED.hideContent];
35
- const Input = exports.Input = /*#__PURE__*/_react.default.forwardRef((props, ref) => {
36
- var _props$hint;
37
- const {
38
- type = 'text',
39
- name,
40
- label,
41
- errors,
42
- children,
36
+ const Input = exports.Input = /*#__PURE__*/_react.default.forwardRef((_ref, ref) => {
37
+ let {
43
38
  onDeniedActions = undefined,
44
39
  permissionAttr = undefined,
45
- customClass = '',
46
- customClassLabel = '',
47
- customClassWrapper = '',
48
- customClassInputContainer = '',
49
- textAlign = 'left',
50
- labelUppercase = false,
51
- skeletonize = false,
52
- hintPosition = 'below',
53
40
  gridLayout = undefined,
54
- themePopover = 'light',
55
- popoverAlign = 'left',
56
- tooltip,
57
- tooltipPosition,
58
- tooltipWidth,
59
- hint
60
- } = props,
61
- rest = _objectWithoutProperties(props, _excluded);
41
+ readOnly,
42
+ disabled
43
+ } = _ref,
44
+ props = _objectWithoutProperties(_ref, _excluded);
62
45
  const onDenied = _react.default.useMemo(() => {
63
46
  return onDeniedActions || (0, _permissionValidations.actionsOnPermissionDenied)(options, permissionAttr);
64
47
  }, [onDeniedActions, permissionAttr]);
@@ -66,95 +49,22 @@ const Input = exports.Input = /*#__PURE__*/_react.default.forwardRef((props, ref
66
49
  hideContent,
67
50
  unvisible
68
51
  } = onDenied;
69
- const inputRef = (0, _react.useRef)(null);
70
- const hasLabel = !_lodash.default.isEmpty(props === null || props === void 0 ? void 0 : props.label);
71
- const isReadOnly = Boolean(props.readOnly || onDenied.readOnly);
72
- const isDisabled = Boolean(props.disabled || onDenied.disabled);
73
- const hasHintMessages = Boolean((_props$hint = props.hint) === null || _props$hint === void 0 ? void 0 : _props$hint.length);
74
- const hasValidationErrors = Boolean(errors === null || errors === void 0 ? void 0 : errors.length);
75
- const {
76
- leftSlotElements,
77
- rightSlotElements
78
- } = _react.default.useMemo(() => {
79
- const left = [];
80
- const right = [];
81
- _react.default.Children.map(children, (childElement, index) => {
82
- if (/*#__PURE__*/_react.default.isValidElement(childElement)) {
83
- var _childElement$key;
84
- const clonedChild = /*#__PURE__*/_react.default.cloneElement(childElement, {
85
- key: (_childElement$key = childElement.key) !== null && _childElement$key !== void 0 ? _childElement$key : "slot-".concat(index),
86
- disabled: isDisabled,
87
- 'aria-disabled': isDisabled
88
- });
89
- if (childElement.type === _slot.LeftSlot) left.push(clonedChild);
90
- if (childElement.type === _slot.RightSlot) right.push(clonedChild);
91
- }
92
- });
93
- return {
94
- leftSlotElements: left,
95
- rightSlotElements: right
96
- };
97
- }, [children, isDisabled]);
98
- const hasLeftSlotElements = Boolean(leftSlotElements === null || leftSlotElements === void 0 ? void 0 : leftSlotElements.length);
99
- const hasRightSlotElements = Boolean(rightSlotElements === null || rightSlotElements === void 0 ? void 0 : rightSlotElements.length);
100
- if (unvisible || hideContent) return null;
101
- return /*#__PURE__*/_react.default.createElement(_react.Fragment, null, /*#__PURE__*/_react.default.createElement(_gridlayout.default, {
102
- cols: gridLayout
103
- }, /*#__PURE__*/_react.default.createElement("div", {
104
- ref: inputRef,
105
- className: "text-field-root ".concat(customClassWrapper),
106
- "data-state-error": hasValidationErrors
107
- }, hasLabel && /*#__PURE__*/_react.default.createElement("span", {
108
- className: "root-label ".concat(customClassLabel),
109
- "data-state-skeletonize": skeletonize
110
- }, /*#__PURE__*/_react.default.createElement("label", {
111
- className: "label",
112
- title: label,
113
- htmlFor: name,
114
- "data-state-disabled": isDisabled,
115
- "data-state-read-only": isReadOnly,
116
- "data-state-input-required": props.required,
117
- "data-state-label-uppercase": labelUppercase
118
- }, label), hint && hintPosition === 'onLabelRight' && !skeletonize && /*#__PURE__*/_react.default.createElement(_popover.default, {
119
- customClass: "label-popover",
120
- theme: themePopover,
121
- align: popoverAlign,
122
- iconColor: "#03bde2"
123
- }, /*#__PURE__*/_react.default.createElement(_popover.PopoverText, {
124
- text: hint
125
- }))), /*#__PURE__*/_react.default.createElement("div", {
126
- "data-state-skeletonize": skeletonize,
127
- className: "container ".concat(customClassInputContainer)
128
- }, hasLeftSlotElements && !skeletonize && leftSlotElements, /*#__PURE__*/_react.default.createElement("input", _extends({
129
- ref: ref,
130
- id: name,
131
- type: type,
52
+ const isReadOnly = Boolean(readOnly || onDenied.readOnly);
53
+ const isDisabled = Boolean(disabled || onDenied.disabled);
54
+ const inputProps = _objectSpread({
132
55
  readOnly: isReadOnly,
133
- disabled: isDisabled,
134
- className: "input ".concat(customClass),
135
- tabIndex: !isReadOnly ? 0 : -1,
136
- placeholder: rest.placeholder,
137
- "data-state-error": hasValidationErrors,
138
- "data-state-read-only": isReadOnly,
139
- "data-state-text-align": textAlign,
140
- "data-state-skeletonize": skeletonize
141
- }, rest)), hasRightSlotElements && !skeletonize && rightSlotElements), hintPosition === 'below' && /*#__PURE__*/_react.default.createElement(_hint.default, {
142
- customClass: "hint",
143
- description: hint,
144
- disabled: isDisabled,
145
- skeletonize: skeletonize,
146
- visible: hasHintMessages
147
- }), hasValidationErrors && /*#__PURE__*/_react.default.createElement("span", {
148
- className: "error",
149
- "data-state-skeletonize": skeletonize,
150
- "aria-describedby": String(name).concat('-errors')
151
- }, errors === null || errors === void 0 ? void 0 : errors.map((error, index) => /*#__PURE__*/_react.default.createElement(_react.default.Fragment, {
152
- key: "".concat(index + 1, "-").concat(error)
153
- }, error, "\xA0"))))), /*#__PURE__*/_react.default.createElement(_tooltip.Tooltip, {
154
- targetRef: inputRef,
155
- text: tooltip,
156
- width: tooltipWidth,
157
- position: tooltipPosition
158
- }));
56
+ disabled: isDisabled
57
+ }, props);
58
+ if (unvisible || hideContent) return null;
59
+ if (gridLayout) {
60
+ return /*#__PURE__*/_react.default.createElement(_gridlayout.default, {
61
+ cols: gridLayout
62
+ }, /*#__PURE__*/_react.default.createElement(_base.InputBase, _extends({
63
+ ref: ref
64
+ }, inputProps)));
65
+ }
66
+ return /*#__PURE__*/_react.default.createElement(_base.InputBase, _extends({
67
+ ref: ref
68
+ }, inputProps));
159
69
  });
160
70
  Input.displayName = 'TextFieldInput';
@@ -4,11 +4,11 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.default = void 0;
7
- var _react = _interopRequireWildcard(require("react"));
8
7
  require("../assets/styles/radio.scss");
9
- var _permissionValidations = require("../permissionValidations");
8
+ var _react = _interopRequireWildcard(require("react"));
10
9
  var _popover = _interopRequireDefault(require("../popover"));
11
10
  var _textContent = _interopRequireDefault(require("../textContent"));
11
+ var _permissionValidations = require("../permissionValidations");
12
12
  function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
13
13
  function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function (e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != typeof e && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (const t in e) "default" !== t && {}.hasOwnProperty.call(e, t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, t)) && (i.get || i.set) ? o(f, t, i) : f[t] = e[t]); return f; })(e, t); }
14
14
  function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
@@ -52,6 +52,7 @@ const Radio = _ref => {
52
52
  if (checked !== isChecked) setIsChecked(checked);
53
53
  }, [checked]);
54
54
  const shouldDisable = () => disabled || !!onDenied.disabled || skeletonize;
55
+ const hasLabel = !!label;
55
56
  const getCustomProps = () => {
56
57
  let customProps = {};
57
58
  const checkProps = defaultChecked && !checked ? {
@@ -64,7 +65,6 @@ const Radio = _ref => {
64
65
  customProps = _objectSpread(_objectSpread({}, customProps), {}, {
65
66
  onChange: e => onChange(e),
66
67
  onKeyDown: null,
67
- role: 'button',
68
68
  tabIndex: '0'
69
69
  });
70
70
  }
@@ -87,10 +87,11 @@ const Radio = _ref => {
87
87
  id: id,
88
88
  name: name,
89
89
  required: required,
90
- disabled: shouldDisable()
91
- })), /*#__PURE__*/_react.default.createElement("label", {
92
- className: "description ".concat(size && "-".concat(size)),
93
- htmlFor: id
90
+ disabled: shouldDisable(),
91
+ "data-state-size": size
92
+ })), hasLabel && /*#__PURE__*/_react.default.createElement("label", {
93
+ htmlFor: id,
94
+ className: "description ".concat(size && "-".concat(size))
94
95
  }, /*#__PURE__*/_react.default.createElement("span", null, /*#__PURE__*/_react.default.createElement(_textContent.default, {
95
96
  required: required,
96
97
  disabled: shouldDisable(),
@@ -44,7 +44,7 @@ var _RowColumn = _interopRequireDefault(require("./RowColumn"));
44
44
  require("../assets/styles/table.scss");
45
45
  var _helpers = _interopRequireDefault(require("./helpers"));
46
46
  const _excluded = ["children"],
47
- _excluded2 = ["onColClick", "onRowClick", "bodyScrollable", "vertical", "skeletonize", "strict", "skeletonHeight", "skeletonInHeader", "skeletonInRows", "selectedRowId"];
47
+ _excluded2 = ["onColClick", "onRowClick", "bodyScrollable", "vertical", "skeletonize", "strict", "skeletonHeight", "skeletonInHeader", "skeletonInRows", "selectedRowId", "allowHorizontalScroll"];
48
48
  function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
49
49
  function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function (e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != typeof e && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (const t in e) "default" !== t && {}.hasOwnProperty.call(e, t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, t)) && (i.get || i.set) ? o(f, t, i) : f[t] = e[t]); return f; })(e, t); }
50
50
  function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
@@ -81,7 +81,8 @@ const Table = _ref2 => {
81
81
  skeletonHeight,
82
82
  skeletonInHeader,
83
83
  skeletonInRows,
84
- selectedRowId: selectedRowIdFromProps
84
+ selectedRowId: selectedRowIdFromProps,
85
+ allowHorizontalScroll = false
85
86
  } = props,
86
87
  rest = _objectWithoutProperties(props, _excluded2);
87
88
  const [selectedRowId, setSelectedRowId] = (0, _react.useState)(selectedRowIdFromProps);
@@ -114,6 +115,20 @@ const Table = _ref2 => {
114
115
  columnsWidth,
115
116
  handlerSetColumnsCount
116
117
  }), [bodyContainerRef, bodyScrollWidth, selectedRowId, vertical, skeletonize, skeletonHeight, skeletonInHeader, skeletonInRows, strict, columnsCount, handleSelectRow, onColClick, onRowClick, handlerSetColumnsWidth, columnsWidth, handlerSetColumnsCount]);
118
+ const getTableComponent = () => {
119
+ const tableComponent = /*#__PURE__*/_react.default.createElement(_react.Fragment, null, /*#__PURE__*/_react.default.createElement("table", _extends({
120
+ style: {
121
+ contain: strict ? 'strict' : 'size style'
122
+ },
123
+ className: getClass(props)
124
+ }, rest), children));
125
+ if (allowHorizontalScroll) {
126
+ return /*#__PURE__*/_react.default.createElement("div", {
127
+ className: "horizontal-scroll-container"
128
+ }, tableComponent);
129
+ }
130
+ return tableComponent;
131
+ };
117
132
  const contextValues = (0, _react.useMemo)(() => getContextValues(), [getContextValues]);
118
133
  (0, _react.useEffect)(() => {
119
134
  if (bodyScrollable && bodyContainerRef && bodyContainerRef.current) {
@@ -132,11 +147,6 @@ const Table = _ref2 => {
132
147
  value: contextValues
133
148
  }, bodyScrollable ? /*#__PURE__*/_react.default.createElement("div", {
134
149
  className: getClass(props)
135
- }, children) : /*#__PURE__*/_react.default.createElement("table", _extends({
136
- style: {
137
- contain: strict ? 'strict' : 'size style'
138
- },
139
- className: getClass(props)
140
- }, rest), children));
150
+ }, children) : getTableComponent());
141
151
  };
142
152
  var _default = exports.default = Table;
@@ -18,6 +18,7 @@ interface ITableProps extends TableHTMLAttributes<HTMLTableElement> {
18
18
  skeletonInRows?: number;
19
19
  skeletonInHeader?: boolean;
20
20
  skeletonHeight?: number;
21
+ allowHorizontalScroll?: boolean;
21
22
  }
22
23
  interface ITableHeaderProps extends ComponentProps<'th'> {
23
24
  children?: ReactNode;
package/lib/tabs/index.js CHANGED
@@ -10,13 +10,13 @@ Object.defineProperty(exports, "TabPanel", {
10
10
  }
11
11
  });
12
12
  exports.default = void 0;
13
+ require("../assets/styles/tabs.scss");
13
14
  var _react = _interopRequireWildcard(require("react"));
15
+ var _lodash = _interopRequireDefault(require("lodash"));
14
16
  var _Menu = _interopRequireDefault(require("./Menu"));
15
17
  var _Panel = _interopRequireDefault(require("./Panel"));
16
18
  var _tabHelpers = require("./tabHelpers");
17
- require("../assets/styles/tabs.scss");
18
19
  var _context = require("./context");
19
- var _lodash = _interopRequireDefault(require("lodash"));
20
20
  const _excluded = ["toolbar", "children", "firstTabIdent", "handlerTabClick", "handlerCloseTab", "style", "tabMenuSize", "tabMenuAlign", "tabMenuPosition", "customClassForToolBar", "tabsWidth", "tabsWithError", "keepPanelsInOrder"];
21
21
  function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
22
22
  function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function (e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != typeof e && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (const t in e) "default" !== t && {}.hasOwnProperty.call(e, t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, t)) && (i.get || i.set) ? o(f, t, i) : f[t] = e[t]); return f; })(e, t); }
@@ -4,10 +4,10 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.default = void 0;
7
+ require("../assets/styles/tooltip.scss");
7
8
  var _react = _interopRequireWildcard(require("react"));
8
9
  var _reactDom = _interopRequireDefault(require("react-dom"));
9
10
  var uuid = _interopRequireWildcard(require("uuid"));
10
- require("../assets/styles/tooltip.scss");
11
11
  function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
12
12
  function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function (e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != typeof e && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (const t in e) "default" !== t && {}.hasOwnProperty.call(e, t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, t)) && (i.get || i.set) ? o(f, t, i) : f[t] = e[t]); return f; })(e, t); }
13
13
  const TooltipContent = _ref => {
@@ -113,6 +113,31 @@ function useTooltip(_ref) {
113
113
  setTooltipStyle(style);
114
114
  }
115
115
  }, [tooltipDimensions, stateTooltipPosition]);
116
+ (0, _react.useEffect)(() => {
117
+ if (targetElement.current && tooltipElement.current && showTooltip) {
118
+ var _targetElement$curren, _targetElement$curren2;
119
+ const targetRect = (_targetElement$curren = (_targetElement$curren2 = targetElement.current) === null || _targetElement$curren2 === void 0 ? void 0 : _targetElement$curren2.getBoundingClientRect()) !== null && _targetElement$curren !== void 0 ? _targetElement$curren : {
120
+ x: 0,
121
+ width: 0
122
+ };
123
+ const elementHorizontalPosition = targetRect.x;
124
+ const widthElement = targetRect.width;
125
+ const centerOfElement = elementHorizontalPosition + widthElement / 2;
126
+ requestAnimationFrame(() => {
127
+ var _tooltipElement$curre, _tooltipElement$curre2, _tooltipElement$curre3;
128
+ const tooltipRect = (_tooltipElement$curre = (_tooltipElement$curre2 = tooltipElement.current) === null || _tooltipElement$curre2 === void 0 ? void 0 : _tooltipElement$curre2.getBoundingClientRect()) !== null && _tooltipElement$curre !== void 0 ? _tooltipElement$curre : {
129
+ x: 0,
130
+ width: 0
131
+ };
132
+ const tooltipHorizontalPosition = tooltipRect.x;
133
+ const widthTooltip = tooltipRect.width;
134
+ const centerOfTooltip = tooltipHorizontalPosition + widthTooltip / 2;
135
+ const centerDifferenceBetweenElementAndTooltip = Number(((centerOfElement - centerOfTooltip) / widthTooltip * 100).toFixed(2));
136
+ const sumDifference = (0.5 + centerDifferenceBetweenElementAndTooltip / 100) * 100;
137
+ (_tooltipElement$curre3 = tooltipElement.current) === null || _tooltipElement$curre3 === void 0 ? void 0 : _tooltipElement$curre3.style.setProperty('--arrow-position', "".concat(sumDifference, "%"));
138
+ });
139
+ }
140
+ }, [showTooltip, tooltipElement.current, targetElement.current]);
116
141
  (0, _react.useEffect)(() => {
117
142
  setStateTooltipPosition(positionProp);
118
143
  }, [window.scrollY, window.scrollX, window.innerWidth]);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "linear-react-components-ui",
3
- "version": "1.1.24-rc.2",
3
+ "version": "1.1.25-beta.10",
4
4
  "description": "Linear Sistemas ReactJs Components",
5
5
  "main": "lib/index.js",
6
6
  "module": "lib/index.cjs",
@@ -1,41 +0,0 @@
1
- import React__default from 'react';
2
- import { Size } from './@types/Size.js';
3
- import { ColorTheme } from './@types/ColorStyles.js';
4
- import { ITooltipCommonProps } from './tooltip/types.js';
5
- import { HintPosition, Position } from './@types/Position.js';
6
- import { PermissionAttr, OnDenied } from './@types/PermissionAttr.js';
7
-
8
- type InputHTMLProps = Omit<React__default.ComponentProps<'input'>, 'size' | 'type'>;
9
- interface CheckboxFieldInputProps extends InputHTMLProps, ITooltipCommonProps {
10
- hint?: string;
11
- label?: string;
12
- size?: Exclude<Size, 'mini'>;
13
- variant?: 'default' | 'secondary';
14
- errors?: string[];
15
- gridLayout?: string;
16
- customClass?: string;
17
- customClassLabel?: string;
18
- customClassWrapper?: string;
19
- customClassInputContainer?: string;
20
- rounded?: boolean;
21
- readOnly?: boolean;
22
- skeletonize?: boolean;
23
- labelUppercase?: boolean;
24
- hintPosition?: HintPosition;
25
- themePopover?: ColorTheme;
26
- popoverAlign?: Extract<Position, 'left' | 'right'>;
27
- permissionAttr?: PermissionAttr;
28
- onDeniedActions?: OnDenied;
29
- }
30
- declare const Input: React__default.ForwardRefExoticComponent<Pick<CheckboxFieldInputProps, "form" | "label" | "slot" | "style" | "title" | "pattern" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "nonce" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "align" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onResize" | "onResizeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "customClass" | "permissionAttr" | "size" | "skeletonize" | "disabled" | "autoFocus" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "name" | "value" | "tooltip" | "tooltipWidth" | "tooltipPosition" | "checked" | "required" | "labelUppercase" | "hint" | "hintPosition" | "themePopover" | "popoverAlign" | "width" | "height" | "multiple" | "readOnly" | "list" | "step" | "maxLength" | "rounded" | "onDeniedActions" | "gridLayout" | "accept" | "autoComplete" | "src" | "alt" | "max" | "min" | "errors" | "capture" | "crossOrigin" | "enterKeyHint" | "minLength" | "customClassLabel" | "customClassWrapper" | "customClassInputContainer" | "variant"> & React__default.RefAttributes<HTMLInputElement>>;
31
-
32
- type index_CheckboxFieldInputProps = CheckboxFieldInputProps;
33
- declare const index_Input: typeof Input;
34
- declare namespace index {
35
- export {
36
- index_CheckboxFieldInputProps as CheckboxFieldInputProps,
37
- index_Input as Input,
38
- };
39
- }
40
-
41
- export { CheckboxFieldInputProps as C, Input as I, index as i };
@@ -1,26 +0,0 @@
1
- import React__default from 'react';
2
- import { LeftSlot, RightSlot } from './inputs2/slot/index.js';
3
- import { Options } from './inputs2/selectfield/options.js';
4
- import { Item } from './inputs2/selectfield/item.js';
5
- import { SelectFieldInputProps } from './inputs2/selectfield/types.js';
6
-
7
- declare const Input: React__default.ForwardRefExoticComponent<Pick<SelectFieldInputProps, "form" | "label" | "slot" | "style" | "title" | "pattern" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "nonce" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "align" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onResize" | "onResizeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "customClass" | "permissionAttr" | "size" | "skeletonize" | "disabled" | "autoFocus" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "name" | "value" | "tooltip" | "tooltipWidth" | "tooltipPosition" | "checked" | "required" | "hint" | "hintPosition" | "themePopover" | "popoverAlign" | "width" | "height" | "multiple" | "readOnly" | "list" | "step" | "maxLength" | "textAlign" | "onDeniedActions" | "gridLayout" | "accept" | "autoComplete" | "showClearButton" | "searchOnDropdown" | "undigitable" | "openDropdownOnFocus" | "onSearch" | "striped" | "src" | "alt" | "max" | "min" | "errors" | "capture" | "crossOrigin" | "enterKeyHint" | "minLength" | "customClassLabel" | "customClassWrapper" | "customClassInputContainer" | "externalSearch" | "notFoundFilterLabel" | "searchInputPlaceholder" | "multipleInputLabelEmpty" | "multipleInputLabelManySelection" | "dropdownAlignButton"> & React__default.RefAttributes<HTMLInputElement>>;
8
-
9
- declare const index_Input: typeof Input;
10
- declare const index_Item: typeof Item;
11
- declare const index_LeftSlot: typeof LeftSlot;
12
- declare const index_Options: typeof Options;
13
- declare const index_RightSlot: typeof RightSlot;
14
- declare const index_SelectFieldInputProps: typeof SelectFieldInputProps;
15
- declare namespace index {
16
- export {
17
- index_Input as Input,
18
- index_Item as Item,
19
- index_LeftSlot as LeftSlot,
20
- index_Options as Options,
21
- index_RightSlot as RightSlot,
22
- index_SelectFieldInputProps as SelectFieldInputProps,
23
- };
24
- }
25
-
26
- export { Input as I, index as i };