linear-react-components-ui 1.1.24-beta.5 → 1.1.24-beta.6

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 (45) hide show
  1. package/lib/assets/styles/datepicker2.scss +1 -6
  2. package/lib/assets/styles/filefield.scss +42 -0
  3. package/lib/assets/styles/selectfield.scss +3 -1
  4. package/lib/assets/styles/textfield.scss +42 -16
  5. package/lib/dialog/base/index.js +0 -11
  6. package/lib/dialog/form/index.js +49 -9
  7. package/lib/dialog/types.d.ts +4 -0
  8. package/lib/form2/index.d.ts +1 -1
  9. package/lib/form2/types.d.ts +3 -3
  10. package/lib/index-208e7f62.d.ts +44 -0
  11. package/lib/index-299f841a.d.ts +41 -0
  12. package/lib/index-543f1d54.d.ts +23 -0
  13. package/lib/index-7dfa8924.d.ts +22 -0
  14. package/lib/index-e71434f9.d.ts +15 -0
  15. package/lib/inputs/file/index.js +0 -1
  16. package/lib/inputs2/checkboxfield/index.d.ts +1 -1
  17. package/lib/inputs2/checkboxfield/index.js +3 -0
  18. package/lib/inputs2/date/datefield/calendarbox.d.ts +1 -1
  19. package/lib/inputs2/date/datefield/index.js +1 -1
  20. package/lib/inputs2/date/dateperiodfield/calendarbox.d.ts +1 -1
  21. package/lib/inputs2/date/dateperiodfield/index.js +1 -1
  22. package/lib/inputs2/filefield/index.d.ts +9 -0
  23. package/lib/inputs2/filefield/index.js +168 -0
  24. package/lib/inputs2/index.d.ts +5 -4
  25. package/lib/inputs2/index.js +5 -1
  26. package/lib/inputs2/radiofield/index.d.ts +1 -1
  27. package/lib/inputs2/selectfield/context.d.ts +0 -1
  28. package/lib/inputs2/selectfield/index.d.ts +1 -2
  29. package/lib/inputs2/selectfield/index.js +3 -46
  30. package/lib/inputs2/selectfield/item.d.ts +1 -2
  31. package/lib/inputs2/selectfield/item.js +0 -4
  32. package/lib/inputs2/selectfield/listbox.d.ts +1 -1
  33. package/lib/inputs2/selectfield/listbox.js +6 -17
  34. package/lib/inputs2/selectfield/search.d.ts +1 -1
  35. package/lib/inputs2/selectfield/selections.d.ts +1 -1
  36. package/lib/inputs2/selectfield/triggers.js +4 -12
  37. package/lib/inputs2/slot/index.d.ts +2 -2
  38. package/lib/inputs2/textareafield/index.d.ts +8 -0
  39. package/lib/inputs2/textareafield/index.js +191 -0
  40. package/package.json +1 -1
  41. package/lib/index-5e77448f.d.ts +0 -41
  42. package/lib/index-5f373da5.d.ts +0 -26
  43. package/lib/index-b4abd0b1.d.ts +0 -15
  44. package/lib/inputs2/selectfield/options.d.ts +0 -9
  45. package/lib/inputs2/selectfield/options.js +0 -26
@@ -48,9 +48,6 @@ input::-webkit-inner-spin-button {
48
48
  font-size: 0.875rem;
49
49
  margin-left: 1px;
50
50
  }
51
- &[data-state-read-only=true], &[data-state-disabled=true] {
52
- pointer-events: none;
53
- }
54
51
  }
55
52
  >button {
56
53
  width: 20px;
@@ -85,10 +82,9 @@ input::-webkit-inner-spin-button {
85
82
  }
86
83
  &:has(input[data-state-read-only=true]) {
87
84
  cursor: default;
88
- pointer-events: none;
89
85
  background-color: $input-read-only-bg-color;
90
86
  }
91
- &:has(input:focus) {
87
+ &:has(input:focus:not([data-state-read-only=true])) {
92
88
  box-shadow: 0 3px 0 $component-selected-color;
93
89
  transition: box-shadow 250ms cubic-bezier(.19, .62, .58, .98) 100ms;
94
90
  }
@@ -111,7 +107,6 @@ input::-webkit-inner-spin-button {
111
107
  @extend %input-placeholder;
112
108
  @extend %component-fonts;
113
109
  flex-grow: 1;
114
- max-width: 100%;
115
110
  padding: 6px;
116
111
  font-size: 0.875rem;
117
112
  text-indent: 0.375rem;
@@ -0,0 +1,42 @@
1
+ @import "colors.scss";
2
+ @import "effects";
3
+ @import "commons.scss";
4
+
5
+ ::-webkit-file-upload-button {
6
+ display: none;
7
+ }
8
+
9
+ .file-container {
10
+ &:has(input[type="text"], input.file-input) {
11
+ background-color: $input-read-only-bg-color;
12
+ }
13
+
14
+ .file-input[type="text"] {
15
+ line-height: normal;
16
+ caret-color: transparent;
17
+ &::selection {
18
+ color: inherit;
19
+ }
20
+ }
21
+
22
+ .file-right-slot {
23
+ display: flex;
24
+ flex-direction: row;
25
+
26
+ .show-files-selected-list,
27
+ .clear-files-selected,
28
+ .select-files {
29
+ padding: 8px;
30
+
31
+ svg {
32
+ margin: 0px;
33
+ }
34
+
35
+ &.select-files {
36
+ border-radius: 0;
37
+ border: 0px;
38
+ border-left: 1px solid $component-border-color;
39
+ }
40
+ }
41
+ }
42
+ }
@@ -117,7 +117,6 @@ input::-webkit-inner-spin-button {
117
117
  @extend %input-placeholder;
118
118
  @extend %component-fonts;
119
119
  flex-grow: 1;
120
- max-width: 100%;
121
120
  padding: 6px;
122
121
  font-size: 0.875rem;
123
122
  text-indent: 0.375rem;
@@ -305,8 +304,11 @@ input::-webkit-inner-spin-button {
305
304
 
306
305
  .select-field-listbox[aria-expanded=true] {
307
306
  z-index: auto;
307
+ position: fixed;
308
308
  display: flex;
309
309
  flex-direction: column;
310
+ height: auto;
311
+ max-height: calc(34px * 15);
310
312
  margin: 5px 0px;
311
313
  border: 1px solid $component-border-color;
312
314
  animation: 0.3s ease-in 0s 1 slideDown, revealelement 0.3s forwards ease-in-out;
@@ -53,9 +53,6 @@ input[type=number] {
53
53
  font-size: 0.875rem;
54
54
  margin-left: 1px;
55
55
  }
56
- &[data-state-read-only=true], &[data-state-disabled=true] {
57
- pointer-events: none;
58
- }
59
56
  }
60
57
  >button {
61
58
  width: 20px;
@@ -76,28 +73,29 @@ input[type=number] {
76
73
  border-radius: 2px;
77
74
  border: 1px solid $component-border-color;
78
75
  background-color: $component-bg-default;
76
+ &:has(textarea) {
77
+ height: auto;
78
+ }
79
79
  &[data-state-skeletonize=true] {
80
80
  @extend %skeleton-component;
81
81
  color: transparent;
82
82
  border: 1px solid transparent;
83
83
  background-color: transparent;
84
84
  }
85
- &:has(input[data-state-error=true]):has(input[data-state-skeletonize=false]) {
85
+ &:has(input[data-state-error=true]):has(input[data-state-skeletonize=false]),
86
+ &:has(textarea[data-state-error=true]):has(textarea[data-state-skeletonize=false]) {
86
87
  border-color: $input-error-border-color;
87
88
  background-color: $input-error-bg-color;
88
89
  }
89
- &:has(input[data-state-read-only=true]) {
90
- > input {
91
- cursor: default;
92
- pointer-events: none;
93
- }
90
+ &:has(input[data-state-read-only=true]), &:has(textarea[data-state-read-only=true]){
91
+ cursor: default;
94
92
  background-color: $input-read-only-bg-color;
95
93
  }
96
- &:has(input:focus) {
94
+ &:has(input:focus:not([data-state-read-only=true])), &:has(textarea:focus:not([data-state-read-only=true])) {
97
95
  box-shadow: 0 3px 0 $component-selected-color;
98
96
  transition: box-shadow 250ms cubic-bezier(.19, .62, .58, .98) 100ms;
99
97
  }
100
- &:has(input:disabled) {
98
+ &:has(input:disabled), &:has(textarea:disabled) {
101
99
  color: $font-color-disabled;
102
100
  transition: color 450ms cubic-bezier(0.23, 1, 0.32, 1) 0ms;
103
101
  background-color: $input-disabled-bg-color;
@@ -106,7 +104,6 @@ input[type=number] {
106
104
  @extend %input-placeholder;
107
105
  @extend %component-fonts;
108
106
  flex-grow: 1;
109
- max-width: 100%;
110
107
  padding: 6px;
111
108
  font-size: 0.875rem;
112
109
  text-indent: 0.375rem;
@@ -128,12 +125,41 @@ input[type=number] {
128
125
  &:disabled {
129
126
  cursor: not-allowed;
130
127
  }
128
+ &:is(textarea) {
129
+ text-indent: 0rem;
130
+ min-height: 30px;
131
+ }
131
132
  }
132
133
  }
133
- .hint {
134
- span {
135
- display: inline-block;
136
- width: 100%;
134
+ .footer {
135
+ min-height: 0px;
136
+ margin-top: 5px;
137
+ overflow: hidden;
138
+ display: flex;
139
+ gap: 5px;
140
+ &[data-state-has-hint=true][data-state-has-max-length=true] {
141
+ justify-content: space-between;
142
+ }
143
+ &[data-state-has-hint=true][data-state-has-max-length=false] {
144
+ justify-content: start;
145
+ }
146
+ &[data-state-has-hint=false][data-state-has-max-length=true] {
147
+ justify-content: end;
148
+ }
149
+ &[data-state-has-hint=false][data-state-has-max-length=false] {
150
+ margin-top: 0px;
151
+ }
152
+ .max-length-counter {
153
+ text-align: right;
154
+ font-size: 0.75rem;
155
+ line-height: normal;
156
+ }
157
+ .hint {
158
+ margin: 0px;
159
+ span {
160
+ display: inline-block;
161
+ width: 100%;
162
+ }
137
163
  }
138
164
  }
139
165
  .error {
@@ -181,17 +181,6 @@ const BaseDialog = props => {
181
181
  document.removeEventListener('mousemove', onMouseMove);
182
182
  };
183
183
  }, [isDragging, open]);
184
- (0, _react.useEffect)(() => {
185
- const scrollbarWidth = window.innerWidth - document.documentElement.clientWidth;
186
- const originalOverflow = document.body.style.overflow;
187
- const originalPaddingRight = document.body.style.paddingRight;
188
- document.body.style.overflow = 'hidden';
189
- document.body.style.paddingRight = `${scrollbarWidth}px`;
190
- return () => {
191
- document.body.style.overflow = originalOverflow;
192
- document.body.style.paddingRight = originalPaddingRight;
193
- };
194
- }, [open]);
195
184
  if (!open) return null;
196
185
  return /*#__PURE__*/_react.default.createElement(DialogContext.Provider, {
197
186
  value: {
@@ -12,6 +12,7 @@ var _Content = _interopRequireDefault(require("../base/Content"));
12
12
  var _Footer = _interopRequireDefault(require("../base/Footer"));
13
13
  var _spinner = _interopRequireDefault(require("../../spinner"));
14
14
  var _withFormSecurity = _interopRequireWildcard(require("../../form/withFormSecurity"));
15
+ var _Question = _interopRequireDefault(require("../Question"));
15
16
  function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
16
17
  function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
17
18
  function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
@@ -33,14 +34,34 @@ const ModalForm = props => {
33
34
  className = '',
34
35
  wrapperClassName = '',
35
36
  contentClassName = '',
36
- headerClassName = ''
37
+ headerClassName = '',
38
+ securityBeforeUnload = false,
39
+ securityTitle = 'Dados Alterados',
40
+ securityText = 'Você possui dados alterados, confirma o fechamento?'
37
41
  } = props;
38
42
  const headerRef = (0, _react.useRef)(null);
39
43
  const context = (0, _react.useContext)(_withFormSecurity.FormSecurityContext);
44
+ const [showSecurityDialog, setShowSecurityDialog] = (0, _react.useState)(false);
40
45
  const overlayStyle = isWaiting ? {
41
46
  opacity: 0.4,
42
47
  pointerEvent: 'none'
43
48
  } : {};
49
+ const handlerClose = () => {
50
+ if (securityBeforeUnload) {
51
+ setShowSecurityDialog(true);
52
+ return;
53
+ }
54
+ if (props.handlerClose) {
55
+ props.handlerClose();
56
+ }
57
+ };
58
+ const onConfirmSecurity = () => {
59
+ props.handlerClose?.();
60
+ setShowSecurityDialog(false);
61
+ };
62
+ const onUnconfirmClick = () => {
63
+ setShowSecurityDialog(false);
64
+ };
44
65
  const getSpinner = () => {
45
66
  if (!isWaiting) return null;
46
67
  return /*#__PURE__*/_react.default.createElement("div", {
@@ -52,21 +73,33 @@ const ModalForm = props => {
52
73
  delayTime: 0
53
74
  }));
54
75
  };
76
+ (0, _react.useEffect)(() => {
77
+ const onBeforeUnload = e => {
78
+ e?.preventDefault();
79
+ };
80
+ if (securityBeforeUnload) {
81
+ window.addEventListener('beforeunload', onBeforeUnload);
82
+ }
83
+ return () => {
84
+ window.removeEventListener('beforeunload', onBeforeUnload);
85
+ };
86
+ }, [securityBeforeUnload]);
55
87
  return /*#__PURE__*/_react.default.createElement(FormDialogContext.Provider, {
56
88
  value: {
57
89
  headerRef
58
90
  }
59
- }, /*#__PURE__*/_react.default.createElement(_base.default, _extends({
91
+ }, /*#__PURE__*/_react.default.createElement(_base.default, _extends({}, props, {
60
92
  width: width,
61
- height: height
62
- }, props, {
93
+ height: height,
63
94
  className: className,
64
- wrapperClassName: `dialog-form-wrapper ${wrapperClassName}`
95
+ wrapperClassName: `dialog-form-wrapper ${wrapperClassName}`,
96
+ securityBeforeUnload: securityBeforeUnload,
97
+ handlerClose: handlerClose
65
98
  }), props.title && /*#__PURE__*/_react.default.createElement("div", {
66
99
  className: `header-form ${headerClassName}`
67
100
  }, /*#__PURE__*/_react.default.createElement(_Header.default, {
68
101
  title: props.title,
69
- handlerClose: props.handlerClose,
102
+ handlerClose: handlerClose,
70
103
  icon: props.icon
71
104
  })), /*#__PURE__*/_react.default.createElement(_Content.default, {
72
105
  styleForContent: _objectSpread(_objectSpread({}, props.styleForContent), overlayStyle),
@@ -74,12 +107,19 @@ const ModalForm = props => {
74
107
  }, content || children), getSpinner(), showFooter && props.buttons && /*#__PURE__*/_react.default.createElement(_Footer.default, null, /*#__PURE__*/_react.default.createElement(_index.ButtonContainer, _extends({}, props, {
75
108
  style: _objectSpread({}, overlayStyle)
76
109
  }), _react.default.Children.toArray(props.buttons.map(button => {
77
- if (context && context.securityBeforeUnload && button && button.type && button.type.name === 'CancelButton') {
110
+ if (context && (context.securityBeforeUnload || securityBeforeUnload) && button && button.type && button.type.name === 'CancelButton') {
78
111
  return /*#__PURE__*/_react.default.cloneElement(button, {
79
- onClick: props.handlerClose
112
+ onClick: handlerClose
80
113
  });
81
114
  }
82
115
  return /*#__PURE__*/_react.default.cloneElement(button);
83
- }))))));
116
+ }))))), /*#__PURE__*/_react.default.createElement(_Question.default, {
117
+ zIndex: "99999999",
118
+ title: securityTitle,
119
+ text: securityText,
120
+ visible: showSecurityDialog,
121
+ onConfirmClick: onConfirmSecurity,
122
+ onUnconfirmClick: onUnconfirmClick
123
+ }));
84
124
  };
85
125
  var _default = exports.default = (0, _withFormSecurity.default)(ModalForm);
@@ -33,6 +33,7 @@ interface IBaseProps {
33
33
  onOpenChange?: (open: boolean) => void;
34
34
  handlerClose?: () => void;
35
35
  id?: string;
36
+ securityBeforeUnload?: boolean;
36
37
  }
37
38
  interface IFormProps extends Omit<IBaseProps, 'textAlign' | 'zIndex'> {
38
39
  buttons?: JSX.Element[];
@@ -44,6 +45,9 @@ interface IFormProps extends Omit<IBaseProps, 'textAlign' | 'zIndex'> {
44
45
  content?: ReactNode;
45
46
  contentClassName?: string;
46
47
  headerClassName?: string;
48
+ securityBeforeUnload?: boolean;
49
+ securityTitle?: string;
50
+ securityText?: string;
47
51
  }
48
52
  interface ICommonDialogProps {
49
53
  onConfirmClick?: () => void;
@@ -4,6 +4,6 @@ import './types.js';
4
4
 
5
5
  interface FormElementProps extends React__default.ComponentProps<'form'> {
6
6
  }
7
- declare const Form: React__default.ForwardRefExoticComponent<Pick<FormElementProps, "style" | "children" | "slot" | "title" | "className" | "key" | "align" | "name" | "onClick" | "color" | "hidden" | "target" | "id" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "lang" | "nonce" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "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" | "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" | "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" | "rel" | "autoComplete" | "acceptCharset" | "action" | "encType" | "method" | "noValidate"> & React__default.RefAttributes<HTMLFormElement>>;
7
+ declare const Form: React__default.ForwardRefExoticComponent<Pick<FormElementProps, "slot" | "style" | "title" | "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" | "name" | "target" | "rel" | "autoComplete" | "acceptCharset" | "action" | "encType" | "method" | "noValidate"> & React__default.RefAttributes<HTMLFormElement>>;
8
8
 
9
9
  export { Form as default };
@@ -60,12 +60,12 @@ interface UseFormReturn<T> {
60
60
  * @param name - Nome do campo.
61
61
  * @param externalRef - Referência externa para o input.
62
62
  */
63
- register: (name: string, externalRef?: React.Ref<HTMLInputElement>) => {
63
+ register: (name: string, externalRef?: React.Ref<HTMLInputElement | HTMLTextAreaElement>) => {
64
64
  name: string;
65
- ref: React.RefCallback<HTMLInputElement>;
65
+ ref: React.RefCallback<HTMLInputElement | HTMLTextAreaElement>;
66
66
  value: any;
67
67
  onBlur: () => void;
68
- onChange: (event: React.ChangeEvent<HTMLInputElement>) => void;
68
+ onChange: (event: React.ChangeEvent<HTMLInputElement | HTMLTextAreaElement>) => void;
69
69
  };
70
70
  /**
71
71
  * Limpa mensagens de erro de campos especificados, ou de todos os campos se nenhum for informado.
@@ -0,0 +1,44 @@
1
+ import React__default from 'react';
2
+ import { TextAlign } from './@types/Align.js';
3
+ import { ColorTheme } from './@types/ColorStyles.js';
4
+ import { HintPosition, Position } from './@types/Position.js';
5
+ import { PermissionAttr, OnDenied } from './@types/PermissionAttr.js';
6
+ import { LeftSlot, RightSlot } from './inputs2/slot/index.js';
7
+ import { ITooltipCommonProps } from './tooltip/types.js';
8
+
9
+ interface TextAreaFieldInputProps extends React__default.ComponentPropsWithoutRef<'textarea'>, ITooltipCommonProps {
10
+ hint?: string;
11
+ label?: string;
12
+ errors?: string[];
13
+ gridLayout?: string;
14
+ customClass?: string;
15
+ customClassLabel?: string;
16
+ customClassWrapper?: string;
17
+ customClassInputContainer?: string;
18
+ rounded?: boolean;
19
+ readOnly?: boolean;
20
+ skeletonize?: boolean;
21
+ labelUppercase?: boolean;
22
+ textAlign?: TextAlign;
23
+ hintPosition?: HintPosition;
24
+ themePopover?: ColorTheme;
25
+ popoverAlign?: Extract<Position, 'left' | 'right'>;
26
+ permissionAttr?: PermissionAttr;
27
+ onDeniedActions?: OnDenied;
28
+ }
29
+ declare const Input: React__default.ForwardRefExoticComponent<TextAreaFieldInputProps & React__default.RefAttributes<HTMLTextAreaElement>>;
30
+
31
+ declare const index_Input: typeof Input;
32
+ declare const index_LeftSlot: typeof LeftSlot;
33
+ declare const index_RightSlot: typeof RightSlot;
34
+ type index_TextAreaFieldInputProps = TextAreaFieldInputProps;
35
+ declare namespace index {
36
+ export {
37
+ index_Input as Input,
38
+ index_LeftSlot as LeftSlot,
39
+ index_RightSlot as RightSlot,
40
+ index_TextAreaFieldInputProps as TextAreaFieldInputProps,
41
+ };
42
+ }
43
+
44
+ export { Input as I, TextAreaFieldInputProps as T, index as i };
@@ -0,0 +1,41 @@
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 };
@@ -0,0 +1,23 @@
1
+ import React__default from 'react';
2
+ import { LeftSlot, RightSlot } from './inputs2/slot/index.js';
3
+ import { Item } from './inputs2/selectfield/item.js';
4
+ import { SelectFieldInputProps } from './inputs2/selectfield/types.js';
5
+
6
+ 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>>;
7
+
8
+ declare const index_Input: typeof Input;
9
+ declare const index_Item: typeof Item;
10
+ declare const index_LeftSlot: typeof LeftSlot;
11
+ declare const index_RightSlot: typeof RightSlot;
12
+ declare const index_SelectFieldInputProps: typeof SelectFieldInputProps;
13
+ declare namespace index {
14
+ export {
15
+ index_Input as Input,
16
+ index_Item as Item,
17
+ index_LeftSlot as LeftSlot,
18
+ index_RightSlot as RightSlot,
19
+ index_SelectFieldInputProps as SelectFieldInputProps,
20
+ };
21
+ }
22
+
23
+ export { Input as I, index as i };
@@ -0,0 +1,22 @@
1
+ import React__default from 'react';
2
+ import { T as TextFieldInputProps } from './index-3b70931d.js';
3
+
4
+ interface FileFieldInputProps extends Omit<TextFieldInputProps, 'type'> {
5
+ multiple?: boolean;
6
+ accept?: string;
7
+ maxSize?: number;
8
+ gridLayout?: string;
9
+ showClearButton?: boolean;
10
+ }
11
+ declare const Input: React__default.ForwardRefExoticComponent<FileFieldInputProps & React__default.RefAttributes<HTMLInputElement>>;
12
+
13
+ type index_FileFieldInputProps = FileFieldInputProps;
14
+ declare const index_Input: typeof Input;
15
+ declare namespace index {
16
+ export {
17
+ index_FileFieldInputProps as FileFieldInputProps,
18
+ index_Input as Input,
19
+ };
20
+ }
21
+
22
+ export { FileFieldInputProps as F, Input as I, index as i };
@@ -0,0 +1,15 @@
1
+ import React__default from 'react';
2
+ import { RadioFieldInputProps } from './inputs2/radiofield/types.js';
3
+
4
+ declare const Input: React__default.ForwardRefExoticComponent<Pick<RadioFieldInputProps, "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" | "readOnly" | "list" | "step" | "maxLength" | "textAlign" | "onDeniedActions" | "gridLayout" | "accept" | "autoComplete" | "src" | "alt" | "max" | "min" | "errors" | "capture" | "crossOrigin" | "enterKeyHint" | "minLength" | "customClassLabel" | "customClassWrapper" | "customClassInputContainer" | "getFieldValue"> & React__default.RefAttributes<HTMLInputElement>>;
5
+
6
+ declare const index_Input: typeof Input;
7
+ declare const index_RadioFieldInputProps: typeof RadioFieldInputProps;
8
+ declare namespace index {
9
+ export {
10
+ index_Input as Input,
11
+ index_RadioFieldInputProps as RadioFieldInputProps,
12
+ };
13
+ }
14
+
15
+ export { Input as I, index as i };
@@ -19,6 +19,5 @@ exports.default = void 0;
19
19
  var _File = _interopRequireDefault(require("./File"));
20
20
  var _DefaultFile = _interopRequireDefault(require("./DefaultFile"));
21
21
  var _DragDropFile = _interopRequireDefault(require("./DragDropFile"));
22
- require("../../assets/styles/file.scss");
23
22
  function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
24
23
  var _default = exports.default = _File.default;
@@ -4,4 +4,4 @@ import '../../@types/ColorStyles.js';
4
4
  import '../../tooltip/types.js';
5
5
  import '../../@types/Position.js';
6
6
  import '../../@types/PermissionAttr.js';
7
- export { C as CheckboxFieldInputProps, I as Input } from '../../index-5e77448f.js';
7
+ export { C as CheckboxFieldInputProps, I as Input } from '../../index-299f841a.js';
@@ -77,6 +77,7 @@ const Input = exports.Input = /*#__PURE__*/_react.default.forwardRef((props, ref
77
77
  cols: gridLayout
78
78
  }, /*#__PURE__*/_react.default.createElement("div", {
79
79
  ref: inputRootRef,
80
+ "data-testid": "test-chebox-field-root",
80
81
  className: `checkbox-field-root ${customClassWrapper}`,
81
82
  "data-state-error": hasValidationErrors
82
83
  }, /*#__PURE__*/_react.default.createElement("div", {
@@ -92,6 +93,7 @@ const Input = exports.Input = /*#__PURE__*/_react.default.forwardRef((props, ref
92
93
  disabled: isDisabled,
93
94
  className: `input ${customClass}`,
94
95
  tabIndex: !isReadOnly ? 0 : -1,
96
+ "data-testid": "test-checkbox-field-input",
95
97
  "data-state-size": size,
96
98
  "data-state-error": hasValidationErrors,
97
99
  "data-state-variant": variant,
@@ -112,6 +114,7 @@ const Input = exports.Input = /*#__PURE__*/_react.default.forwardRef((props, ref
112
114
  htmlFor: inputId,
113
115
  "aria-readonly": isReadOnly,
114
116
  "aria-disabled": isDisabled,
117
+ "data-testid": "test-checkbox-field-label",
115
118
  "data-state-skeletonize": skeletonize,
116
119
  "data-state-disabled": isDisabled,
117
120
  "data-state-read-only": isReadOnly,