linear-react-components-ui 1.1.24-beta.6 → 1.1.24-beta.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/assets/styles/datepicker2.scss +2 -4
- package/lib/assets/styles/selectfield.scss +1 -3
- package/lib/assets/styles/textfield.scss +29 -23
- package/lib/dialog/base/index.js +11 -0
- package/lib/form2/index.d.ts +1 -1
- package/lib/form2/types.d.ts +4 -0
- package/lib/form2/useForm/index.js +2 -0
- package/lib/index-118afd58.d.ts +26 -0
- package/lib/index-8f540f57.d.ts +41 -0
- package/lib/index-b2ef36a6.d.ts +15 -0
- package/lib/inputs2/checkboxfield/index.d.ts +1 -1
- package/lib/inputs2/date/base/index.js +1 -2
- package/lib/inputs2/date/datefield/calendarbox.d.ts +1 -1
- package/lib/inputs2/date/dateperiodfield/calendarbox.d.ts +1 -1
- package/lib/inputs2/index.d.ts +4 -3
- package/lib/inputs2/radiofield/index.d.ts +1 -1
- package/lib/inputs2/selectfield/context.d.ts +1 -0
- package/lib/inputs2/selectfield/index.d.ts +2 -1
- package/lib/inputs2/selectfield/index.js +46 -3
- package/lib/inputs2/selectfield/item.d.ts +2 -1
- package/lib/inputs2/selectfield/item.js +4 -0
- package/lib/inputs2/selectfield/listbox.d.ts +1 -1
- package/lib/inputs2/selectfield/listbox.js +17 -6
- package/lib/inputs2/selectfield/options.d.ts +9 -0
- package/lib/inputs2/selectfield/options.js +26 -0
- package/lib/inputs2/selectfield/search.d.ts +1 -1
- package/lib/inputs2/selectfield/selections.d.ts +1 -1
- package/lib/inputs2/selectfield/triggers.js +12 -4
- package/lib/inputs2/slot/index.d.ts +2 -2
- package/package.json +1 -1
- package/lib/index-299f841a.d.ts +0 -41
- package/lib/index-543f1d54.d.ts +0 -23
- package/lib/index-e71434f9.d.ts +0 -15
|
@@ -107,6 +107,7 @@ input::-webkit-inner-spin-button {
|
|
|
107
107
|
@extend %input-placeholder;
|
|
108
108
|
@extend %component-fonts;
|
|
109
109
|
flex-grow: 1;
|
|
110
|
+
max-width: 100%;
|
|
110
111
|
padding: 6px;
|
|
111
112
|
font-size: 0.875rem;
|
|
112
113
|
text-indent: 0.375rem;
|
|
@@ -155,7 +156,7 @@ input::-webkit-inner-spin-button {
|
|
|
155
156
|
width: 22px;
|
|
156
157
|
height: 100%;
|
|
157
158
|
padding: 0;
|
|
158
|
-
margin: 0px
|
|
159
|
+
margin: 0px 2px;
|
|
159
160
|
outline: none;
|
|
160
161
|
border: none;
|
|
161
162
|
vertical-align: bottom;
|
|
@@ -174,9 +175,6 @@ input::-webkit-inner-spin-button {
|
|
|
174
175
|
&[data-state-valid-date-selected=false] {
|
|
175
176
|
visibility: hidden;
|
|
176
177
|
}
|
|
177
|
-
&[data-state-valid-date-selected=true] {
|
|
178
|
-
visibility: visible;
|
|
179
|
-
}
|
|
180
178
|
}
|
|
181
179
|
&[data-state-read-only=true],
|
|
182
180
|
&[data-state-disabled=true] {
|
|
@@ -117,6 +117,7 @@ input::-webkit-inner-spin-button {
|
|
|
117
117
|
@extend %input-placeholder;
|
|
118
118
|
@extend %component-fonts;
|
|
119
119
|
flex-grow: 1;
|
|
120
|
+
max-width: 100%;
|
|
120
121
|
padding: 6px;
|
|
121
122
|
font-size: 0.875rem;
|
|
122
123
|
text-indent: 0.375rem;
|
|
@@ -304,11 +305,8 @@ input::-webkit-inner-spin-button {
|
|
|
304
305
|
|
|
305
306
|
.select-field-listbox[aria-expanded=true] {
|
|
306
307
|
z-index: auto;
|
|
307
|
-
position: fixed;
|
|
308
308
|
display: flex;
|
|
309
309
|
flex-direction: column;
|
|
310
|
-
height: auto;
|
|
311
|
-
max-height: calc(34px * 15);
|
|
312
310
|
margin: 5px 0px;
|
|
313
311
|
border: 1px solid $component-border-color;
|
|
314
312
|
animation: 0.3s ease-in 0s 1 slideDown, revealelement 0.3s forwards ease-in-out;
|
|
@@ -11,7 +11,7 @@ input::-webkit-inner-spin-button {
|
|
|
11
11
|
}
|
|
12
12
|
|
|
13
13
|
/* Firefox */
|
|
14
|
-
input[type=number] {
|
|
14
|
+
input[type="number"] {
|
|
15
15
|
appearance: textfield;
|
|
16
16
|
}
|
|
17
17
|
|
|
@@ -27,7 +27,7 @@ input[type=number] {
|
|
|
27
27
|
align-items: center;
|
|
28
28
|
flex-direction: row;
|
|
29
29
|
justify-content: flex-start;
|
|
30
|
-
&[data-state-skeletonize=true] {
|
|
30
|
+
&[data-state-skeletonize="true"] {
|
|
31
31
|
@extend %skeleton-component;
|
|
32
32
|
.label {
|
|
33
33
|
color: transparent;
|
|
@@ -40,21 +40,21 @@ input[type=number] {
|
|
|
40
40
|
overflow: hidden;
|
|
41
41
|
text-overflow: ellipsis;
|
|
42
42
|
white-space: nowrap;
|
|
43
|
-
&[data-state-input-required=true]::after {
|
|
43
|
+
&[data-state-input-required="true"]::after {
|
|
44
44
|
content: "*";
|
|
45
45
|
color: $font-color-default;
|
|
46
46
|
}
|
|
47
|
-
&[data-state-uppercase=true] {
|
|
47
|
+
&[data-state-uppercase="true"] {
|
|
48
48
|
text-transform: uppercase;
|
|
49
49
|
}
|
|
50
|
-
&[data-state-required-label=true] {
|
|
50
|
+
&[data-state-required-label="true"] {
|
|
51
51
|
color: $error-color;
|
|
52
52
|
font-weight: 600;
|
|
53
53
|
font-size: 0.875rem;
|
|
54
54
|
margin-left: 1px;
|
|
55
55
|
}
|
|
56
56
|
}
|
|
57
|
-
>button {
|
|
57
|
+
> button {
|
|
58
58
|
width: 20px;
|
|
59
59
|
height: auto;
|
|
60
60
|
margin: 0px !important;
|
|
@@ -76,26 +76,31 @@ input[type=number] {
|
|
|
76
76
|
&:has(textarea) {
|
|
77
77
|
height: auto;
|
|
78
78
|
}
|
|
79
|
-
&[data-state-skeletonize=true] {
|
|
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]),
|
|
86
|
-
&:has(textarea[data-state-error=true]):has(textarea[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"]) {
|
|
87
87
|
border-color: $input-error-border-color;
|
|
88
88
|
background-color: $input-error-bg-color;
|
|
89
89
|
}
|
|
90
|
-
&:has(input[data-state-read-only=true]),
|
|
91
|
-
|
|
90
|
+
&:has(input[data-state-read-only="true"]),
|
|
91
|
+
&:has(textarea[data-state-read-only="true"]) {
|
|
92
|
+
> input {
|
|
93
|
+
cursor: default;
|
|
94
|
+
}
|
|
92
95
|
background-color: $input-read-only-bg-color;
|
|
93
96
|
}
|
|
94
|
-
&:has(input:focus:not([data-state-read-only=true])),
|
|
97
|
+
&:has(input:focus:not([data-state-read-only="true"])),
|
|
98
|
+
&:has(textarea:focus:not([data-state-read-only="true"])) {
|
|
95
99
|
box-shadow: 0 3px 0 $component-selected-color;
|
|
96
|
-
transition: box-shadow 250ms cubic-bezier(.19, .62, .58, .98) 100ms;
|
|
100
|
+
transition: box-shadow 250ms cubic-bezier(0.19, 0.62, 0.58, 0.98) 100ms;
|
|
97
101
|
}
|
|
98
|
-
&:has(input:disabled),
|
|
102
|
+
&:has(input:disabled),
|
|
103
|
+
&:has(textarea:disabled) {
|
|
99
104
|
color: $font-color-disabled;
|
|
100
105
|
transition: color 450ms cubic-bezier(0.23, 1, 0.32, 1) 0ms;
|
|
101
106
|
background-color: $input-disabled-bg-color;
|
|
@@ -104,22 +109,23 @@ input[type=number] {
|
|
|
104
109
|
@extend %input-placeholder;
|
|
105
110
|
@extend %component-fonts;
|
|
106
111
|
flex-grow: 1;
|
|
112
|
+
max-width: 100%;
|
|
107
113
|
padding: 6px;
|
|
108
114
|
font-size: 0.875rem;
|
|
109
115
|
text-indent: 0.375rem;
|
|
110
116
|
line-height: 0.875rem;
|
|
111
117
|
border: none;
|
|
112
118
|
background-color: transparent;
|
|
113
|
-
&[data-state-text-align=left] {
|
|
119
|
+
&[data-state-text-align="left"] {
|
|
114
120
|
text-align: left;
|
|
115
121
|
}
|
|
116
|
-
&[data-state-text-align=right] {
|
|
122
|
+
&[data-state-text-align="right"] {
|
|
117
123
|
text-align: right;
|
|
118
124
|
}
|
|
119
|
-
&[data-state-text-align=center] {
|
|
125
|
+
&[data-state-text-align="center"] {
|
|
120
126
|
text-align: center;
|
|
121
127
|
}
|
|
122
|
-
&[data-state-skeletonize=true] {
|
|
128
|
+
&[data-state-skeletonize="true"] {
|
|
123
129
|
@extend %input-placeholder-transparent;
|
|
124
130
|
}
|
|
125
131
|
&:disabled {
|
|
@@ -137,16 +143,16 @@ input[type=number] {
|
|
|
137
143
|
overflow: hidden;
|
|
138
144
|
display: flex;
|
|
139
145
|
gap: 5px;
|
|
140
|
-
&[data-state-has-hint=true][data-state-has-max-length=true] {
|
|
146
|
+
&[data-state-has-hint="true"][data-state-has-max-length="true"] {
|
|
141
147
|
justify-content: space-between;
|
|
142
148
|
}
|
|
143
|
-
&[data-state-has-hint=true][data-state-has-max-length=false] {
|
|
149
|
+
&[data-state-has-hint="true"][data-state-has-max-length="false"] {
|
|
144
150
|
justify-content: start;
|
|
145
151
|
}
|
|
146
|
-
&[data-state-has-hint=false][data-state-has-max-length=true] {
|
|
152
|
+
&[data-state-has-hint="false"][data-state-has-max-length="true"] {
|
|
147
153
|
justify-content: end;
|
|
148
154
|
}
|
|
149
|
-
&[data-state-has-hint=false][data-state-has-max-length=false] {
|
|
155
|
+
&[data-state-has-hint="false"][data-state-has-max-length="false"] {
|
|
150
156
|
margin-top: 0px;
|
|
151
157
|
}
|
|
152
158
|
.max-length-counter {
|
|
@@ -168,7 +174,7 @@ input[type=number] {
|
|
|
168
174
|
margin-top: 5px;
|
|
169
175
|
font-size: 0.8125rem;
|
|
170
176
|
line-height: 0.8125rem;
|
|
171
|
-
&[data-state-skeletonize=true] {
|
|
177
|
+
&[data-state-skeletonize="true"] {
|
|
172
178
|
@extend %skeleton-component;
|
|
173
179
|
color: transparent;
|
|
174
180
|
}
|
package/lib/dialog/base/index.js
CHANGED
|
@@ -181,6 +181,17 @@ 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]);
|
|
184
195
|
if (!open) return null;
|
|
185
196
|
return /*#__PURE__*/_react.default.createElement(DialogContext.Provider, {
|
|
186
197
|
value: {
|
package/lib/form2/index.d.ts
CHANGED
|
@@ -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, "
|
|
7
|
+
declare const Form: React__default.ForwardRefExoticComponent<Pick<FormElementProps, "onClick" | "name" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "nonce" | "placeholder" | "slot" | "spellCheck" | "style" | "tabIndex" | "title" | "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" | "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" | "key" | "target" | "rel" | "autoComplete" | "acceptCharset" | "action" | "encType" | "method" | "noValidate"> & React__default.RefAttributes<HTMLFormElement>>;
|
|
8
8
|
|
|
9
9
|
export { Form as default };
|
package/lib/form2/types.d.ts
CHANGED
|
@@ -55,6 +55,10 @@ interface UseFormReturn<T> {
|
|
|
55
55
|
* Indica se o formulário está válido com base nos validadores definidos.
|
|
56
56
|
*/
|
|
57
57
|
isValid: boolean;
|
|
58
|
+
/**
|
|
59
|
+
* Indica se houve alguma alteração em qualquer campo do formulário em relação ao `initialValues`.
|
|
60
|
+
*/
|
|
61
|
+
formHasChange: boolean;
|
|
58
62
|
/**
|
|
59
63
|
* Registra um campo no formulário, integrando com `ref`, `value`, `onChange` e `onBlur`.
|
|
60
64
|
* @param name - Nome do campo.
|
|
@@ -179,6 +179,7 @@ const useForm = _ref => {
|
|
|
179
179
|
callback(values);
|
|
180
180
|
};
|
|
181
181
|
const isValid = _react.default.useMemo(() => checkFormIsValid(), [checkFormIsValid]);
|
|
182
|
+
const formHasChange = _react.default.useMemo(() => Object.values(changed).some(Boolean), [changed]);
|
|
182
183
|
return {
|
|
183
184
|
reset,
|
|
184
185
|
changed,
|
|
@@ -186,6 +187,7 @@ const useForm = _ref => {
|
|
|
186
187
|
errors,
|
|
187
188
|
touched,
|
|
188
189
|
isValid,
|
|
190
|
+
formHasChange,
|
|
189
191
|
register,
|
|
190
192
|
cleanErrors,
|
|
191
193
|
changeValues,
|
|
@@ -0,0 +1,26 @@
|
|
|
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, "label" | "disabled" | "size" | "customClass" | "permissionAttr" | "skeletonize" | "onClick" | "autoFocus" | "form" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "name" | "value" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "nonce" | "placeholder" | "slot" | "spellCheck" | "style" | "tabIndex" | "title" | "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" | "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" | "key" | "pattern" | "width" | "height" | "tooltip" | "tooltipPosition" | "tooltipWidth" | "multiple" | "readOnly" | "list" | "step" | "maxLength" | "required" | "hint" | "hintPosition" | "textAlign" | "onDeniedActions" | "gridLayout" | "accept" | "autoComplete" | "themePopover" | "popoverAlign" | "checked" | "showClearButton" | "searchOnDropdown" | "undigitable" | "openDropdownOnFocus" | "onSearch" | "striped" | "max" | "min" | "src" | "alt" | "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 };
|
|
@@ -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, "label" | "disabled" | "size" | "customClass" | "permissionAttr" | "skeletonize" | "onClick" | "autoFocus" | "form" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "name" | "value" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "nonce" | "placeholder" | "slot" | "spellCheck" | "style" | "tabIndex" | "title" | "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" | "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" | "key" | "pattern" | "width" | "height" | "tooltip" | "tooltipPosition" | "tooltipWidth" | "multiple" | "readOnly" | "list" | "step" | "labelUppercase" | "maxLength" | "required" | "hint" | "hintPosition" | "rounded" | "onDeniedActions" | "gridLayout" | "accept" | "autoComplete" | "themePopover" | "popoverAlign" | "checked" | "max" | "min" | "src" | "alt" | "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,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, "label" | "disabled" | "size" | "customClass" | "permissionAttr" | "skeletonize" | "onClick" | "autoFocus" | "form" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "name" | "value" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "nonce" | "placeholder" | "slot" | "spellCheck" | "style" | "tabIndex" | "title" | "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" | "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" | "key" | "pattern" | "width" | "height" | "tooltip" | "tooltipPosition" | "tooltipWidth" | "readOnly" | "list" | "step" | "labelUppercase" | "maxLength" | "required" | "hint" | "hintPosition" | "textAlign" | "onDeniedActions" | "gridLayout" | "accept" | "autoComplete" | "themePopover" | "popoverAlign" | "checked" | "max" | "min" | "src" | "alt" | "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 };
|
|
@@ -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-
|
|
7
|
+
export { C as CheckboxFieldInputProps, I as Input } from '../../index-8f540f57.js';
|
|
@@ -148,8 +148,7 @@ const Triggers = exports.Triggers = /*#__PURE__*/_react.default.forwardRef((prop
|
|
|
148
148
|
"aria-controls": inputFieldId,
|
|
149
149
|
"data-state-read-only": isReadOnly,
|
|
150
150
|
"data-state-visible": showClearButton,
|
|
151
|
-
"data-state-valid-date-selected": hasValidDateSelection,
|
|
152
|
-
"data-state-valid-period-selected": hasValidPeriodSelected,
|
|
151
|
+
"data-state-valid-date-selected": hasValidDateSelection || hasValidPeriodSelected,
|
|
153
152
|
onClick: handleOnClickClear,
|
|
154
153
|
onMouseDown: event => {
|
|
155
154
|
event.preventDefault();
|
|
@@ -2,6 +2,6 @@ import React__default from 'react';
|
|
|
2
2
|
|
|
3
3
|
interface DateFieldCalendarBoxProps extends React__default.ComponentProps<'div'> {
|
|
4
4
|
}
|
|
5
|
-
declare const CalendarBox: React__default.ForwardRefExoticComponent<Pick<DateFieldCalendarBoxProps, "
|
|
5
|
+
declare const CalendarBox: React__default.ForwardRefExoticComponent<Pick<DateFieldCalendarBoxProps, "onClick" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "nonce" | "placeholder" | "slot" | "spellCheck" | "style" | "tabIndex" | "title" | "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" | "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" | "key"> & React__default.RefAttributes<HTMLDivElement>>;
|
|
6
6
|
|
|
7
7
|
export { CalendarBox, DateFieldCalendarBoxProps };
|
|
@@ -2,6 +2,6 @@ import React__default from 'react';
|
|
|
2
2
|
|
|
3
3
|
interface DateFieldCalendarBoxProps extends React__default.ComponentProps<'div'> {
|
|
4
4
|
}
|
|
5
|
-
declare const CalendarBox: React__default.ForwardRefExoticComponent<Pick<DateFieldCalendarBoxProps, "
|
|
5
|
+
declare const CalendarBox: React__default.ForwardRefExoticComponent<Pick<DateFieldCalendarBoxProps, "onClick" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "nonce" | "placeholder" | "slot" | "spellCheck" | "style" | "tabIndex" | "title" | "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" | "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" | "key"> & React__default.RefAttributes<HTMLDivElement>>;
|
|
6
6
|
|
|
7
7
|
export { CalendarBox, DateFieldCalendarBoxProps };
|
package/lib/inputs2/index.d.ts
CHANGED
|
@@ -2,15 +2,15 @@ export { i as TextField } from '../index-3b70931d.js';
|
|
|
2
2
|
export { i as TextAreaField } from '../index-208e7f62.js';
|
|
3
3
|
export { i as NumberField } from '../index-ecafc8c6.js';
|
|
4
4
|
export { i as DateField } from '../index-368f781f.js';
|
|
5
|
-
export { i as RadioField } from '../index-
|
|
6
|
-
export { i as SelectField } from '../index-
|
|
5
|
+
export { i as RadioField } from '../index-b2ef36a6.js';
|
|
6
|
+
export { i as SelectField } from '../index-118afd58.js';
|
|
7
7
|
export { i as ColorField } from '../index-9e576346.js';
|
|
8
8
|
export { B as MaskField } from '../BaseMask-0c14ef51.js';
|
|
9
9
|
export { C as CpfField } from '../Cpf-3fa496ad.js';
|
|
10
10
|
export { C as CnpjField } from '../Cnpj-bde01dd0.js';
|
|
11
11
|
export { P as PhoneField } from '../Phone-2bb0b397.js';
|
|
12
12
|
export { Z as ZipCodeField } from '../ZipCode-09460e18.js';
|
|
13
|
-
export { i as CheckboxField } from '../index-
|
|
13
|
+
export { i as CheckboxField } from '../index-8f540f57.js';
|
|
14
14
|
export { i as DatePeriodField } from '../index-c9247c1f.js';
|
|
15
15
|
export { i as FileField } from '../index-7dfa8924.js';
|
|
16
16
|
import 'react';
|
|
@@ -28,6 +28,7 @@ import 'moment';
|
|
|
28
28
|
import './date/types.js';
|
|
29
29
|
import './radiofield/types.js';
|
|
30
30
|
import '../@types/Size.js';
|
|
31
|
+
import './selectfield/options.js';
|
|
31
32
|
import './selectfield/item.js';
|
|
32
33
|
import './selectfield/types.js';
|
|
33
34
|
import 'imask';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import 'react';
|
|
2
2
|
export { RadioFieldInputProps } from './types.js';
|
|
3
|
-
export { I as Input } from '../../index-
|
|
3
|
+
export { I as Input } from '../../index-b2ef36a6.js';
|
|
4
4
|
import '../../@types/Size.js';
|
|
5
5
|
import '../../@types/Align.js';
|
|
6
6
|
import '../../@types/ColorStyles.js';
|
|
@@ -18,6 +18,7 @@ interface SelectFieldContextProps {
|
|
|
18
18
|
activeDescendant?: string;
|
|
19
19
|
notFoundFilterLabel: string;
|
|
20
20
|
searchInputPlaceholder: string;
|
|
21
|
+
optionItens: React__default.ReactNode[];
|
|
21
22
|
dropdownAlignButton?: Extract<Position, 'left' | 'right'>;
|
|
22
23
|
liSelectedRef: React__default.RefObject<HTMLLIElement | null>;
|
|
23
24
|
selectInputRef: React__default.RefObject<HTMLInputElement | null>;
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import 'react';
|
|
2
2
|
export { LeftSlot, RightSlot } from '../slot/index.js';
|
|
3
|
+
export { Options } from './options.js';
|
|
3
4
|
export { Item } from './item.js';
|
|
4
5
|
export { SelectFieldInputProps } from './types.js';
|
|
5
|
-
export { I as Input } from '../../index-
|
|
6
|
+
export { I as Input } from '../../index-118afd58.js';
|
|
6
7
|
import '../../@types/Align.js';
|
|
7
8
|
import '../../@types/ColorStyles.js';
|
|
8
9
|
import '../../tooltip/types.js';
|