@nextui-org/react 1.0.4-beta.5 → 1.0.7-beta.5
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/cjs/avatar/avatar.styles.js +1 -1
- package/cjs/backdrop/backdrop.js +1 -1
- package/cjs/backdrop/backdrop.styles.js +1 -1
- package/cjs/button/button-group.styles.js +1 -1
- package/cjs/button/button-icon.js +1 -1
- package/cjs/button/button.js +1 -1
- package/cjs/button/button.styles.js +1 -1
- package/cjs/button/utils.js +1 -1
- package/cjs/card/card.styles.js +1 -1
- package/cjs/checkbox/checkbox-context.js +1 -1
- package/cjs/checkbox/checkbox-group.js +1 -1
- package/cjs/checkbox/checkbox.js +1 -1
- package/cjs/checkbox/checkbox.styles.js +1 -1
- package/cjs/checkbox/index.js +1 -1
- package/cjs/checkbox/utils.js +1 -0
- package/cjs/css-baseline/css-baseline.js +1 -1
- package/cjs/index.js +1 -1
- package/cjs/input/input.js +1 -1
- package/cjs/link/link.styles.js +1 -1
- package/cjs/loading/loading.js +1 -1
- package/cjs/loading/loading.styles.js +1 -1
- package/cjs/pagination/pagination.styles.js +1 -1
- package/cjs/progress/progress.styles.js +1 -1
- package/cjs/table/table-checkbox-cell.js +1 -1
- package/cjs/table/table-select-all-checkbox.js +1 -1
- package/cjs/table/table.styles.js +1 -1
- package/cjs/table/utils.js +1 -1
- package/cjs/theme/common.js +1 -1
- package/cjs/theme/stitches.config.js +1 -1
- package/cjs/utils/dom.js +1 -1
- package/esm/avatar/avatar.styles.js +1 -1
- package/esm/backdrop/backdrop.js +1 -1
- package/esm/backdrop/backdrop.styles.js +1 -1
- package/esm/button/button-group.styles.js +1 -1
- package/esm/button/button-icon.js +1 -1
- package/esm/button/button.js +1 -1
- package/esm/button/button.styles.js +1 -1
- package/esm/button/utils.js +1 -1
- package/esm/card/card.styles.js +1 -1
- package/esm/checkbox/checkbox-context.js +1 -1
- package/esm/checkbox/checkbox-group.js +1 -1
- package/esm/checkbox/checkbox.js +1 -1
- package/esm/checkbox/checkbox.styles.js +1 -1
- package/esm/checkbox/index.js +1 -1
- package/esm/checkbox/utils.js +1 -0
- package/esm/css-baseline/css-baseline.js +1 -1
- package/esm/index.js +1 -1
- package/esm/input/input.js +1 -1
- package/esm/link/link.styles.js +1 -1
- package/esm/loading/loading.js +1 -1
- package/esm/loading/loading.styles.js +1 -1
- package/esm/pagination/pagination.styles.js +1 -1
- package/esm/progress/progress.styles.js +1 -1
- package/esm/table/table-checkbox-cell.js +1 -1
- package/esm/table/table-select-all-checkbox.js +1 -1
- package/esm/table/table.styles.js +1 -1
- package/esm/table/utils.js +1 -1
- package/esm/theme/common.js +1 -1
- package/esm/theme/stitches.config.js +1 -1
- package/esm/utils/dom.js +1 -1
- package/package.json +6 -3
- package/types/avatar/avatar-group.styles.d.ts +8 -0
- package/types/avatar/avatar.styles.d.ts +5 -1
- package/types/backdrop/backdrop.styles.d.ts +15 -1
- package/types/button/button-group.styles.d.ts +4 -0
- package/types/button/button-icon.d.ts +5 -0
- package/types/button/button.d.ts +6 -5
- package/types/button/button.styles.d.ts +254 -300
- package/types/button/utils.d.ts +49 -0
- package/types/card/card.styles.d.ts +16 -0
- package/types/checkbox/checkbox-context.d.ts +4 -6
- package/types/checkbox/checkbox-group.d.ts +13 -12
- package/types/checkbox/checkbox.d.ts +13 -20
- package/types/checkbox/checkbox.styles.d.ts +1090 -86
- package/types/checkbox/index.d.ts +2 -2
- package/types/checkbox/utils.d.ts +288 -0
- package/types/code/code.styles.d.ts +8 -0
- package/types/col/col.styles.d.ts +4 -0
- package/types/collapse/collapse.styles.d.ts +24 -0
- package/types/container/container.styles.d.ts +4 -0
- package/types/divider/divider.styles.d.ts +8 -0
- package/types/grid/grid.styles.d.ts +8 -0
- package/types/image/image.styles.d.ts +12 -0
- package/types/index.d.ts +2 -0
- package/types/input/input-password.d.ts +1 -1
- package/types/input/input.styles.d.ts +44 -0
- package/types/link/link.styles.d.ts +8 -0
- package/types/loading/loading.styles.d.ts +25 -1
- package/types/modal/modal.d.ts +2 -4
- package/types/modal/modal.styles.d.ts +24 -0
- package/types/pagination/pagination.styles.d.ts +24 -0
- package/types/progress/progress.styles.d.ts +8 -0
- package/types/radio/radio.styles.d.ts +24 -0
- package/types/row/row.styles.d.ts +4 -0
- package/types/snippet/snippet.styles.d.ts +16 -0
- package/types/spacer/spacer.styles.d.ts +4 -0
- package/types/switch/switch.styles.d.ts +16 -0
- package/types/table/table-column-header.d.ts +4 -1
- package/types/table/table-sort-icon.d.ts +4 -0
- package/types/table/table.styles.d.ts +68 -3
- package/types/table/utils.d.ts +29 -0
- package/types/text/text.styles.d.ts +4 -0
- package/types/theme/common.d.ts +8 -0
- package/types/theme/stitches.config.d.ts +52 -0
- package/types/theme/types.d.ts +11 -14
- package/types/tooltip/tooltip.styles.d.ts +16 -0
- package/types/use-drip/use-drip.d.ts +2 -1
- package/types/user/user.styles.d.ts +20 -0
- package/types/utils/dom.d.ts +18 -0
- package/types/utils/drip.d.ts +4 -0
- package/umd/nextui.js +18248 -15570
- package/umd/nextui.min.js +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import Checkbox from './checkbox';
|
|
2
2
|
export type { CheckboxProps } from './checkbox';
|
|
3
3
|
export type { CheckboxGroupProps } from './checkbox-group';
|
|
4
|
-
export { StyledCheckboxLabel, StyledCheckboxContainer, StyledIconCheckFirstLine, StyledIconCheckSecondLine, StyledIconCheck, StyledCheckboxMask, StyledCheckboxText,
|
|
5
|
-
export type {
|
|
4
|
+
export { StyledCheckboxLabel, StyledCheckboxContainer, StyledIconCheckFirstLine, StyledIconCheckSecondLine, StyledIconCheck, StyledCheckboxMask, StyledCheckboxText, StyledCheckboxGroup } from './checkbox.styles';
|
|
5
|
+
export type { CheckboxGroupVariantsProps, CheckboxTextVariantsProps, CheckboxMaskVariantsProps, CheckboxIconCheckVariantsProps, CheckboxIconCheckFirstLineVariantsProps, CheckboxIconCheckSecondLineVariantsProps, CheckboxLabelVariantsProps, CheckboxContainerVariantsProps } from './checkbox.styles';
|
|
6
6
|
export default Checkbox;
|
|
@@ -0,0 +1,288 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { CheckboxProps } from './checkbox';
|
|
3
|
+
export declare const mapPropsToReactAriaAttr: (checkboxProps: CheckboxProps) => {
|
|
4
|
+
isIndeterminate: boolean;
|
|
5
|
+
isDisabled: boolean;
|
|
6
|
+
isReadOnly: boolean;
|
|
7
|
+
isRequired: boolean;
|
|
8
|
+
isSelected: boolean | undefined;
|
|
9
|
+
defaultSelected: boolean;
|
|
10
|
+
color: "default" | "primary" | "secondary" | "success" | "warning" | "error" | "gradient";
|
|
11
|
+
size: "xs" | "sm" | "md" | "lg" | "xl";
|
|
12
|
+
label?: string | undefined;
|
|
13
|
+
labelColor: "default" | "primary" | "secondary" | "success" | "warning" | "error";
|
|
14
|
+
line: boolean;
|
|
15
|
+
indeterminate: boolean;
|
|
16
|
+
animated: boolean;
|
|
17
|
+
rounded: boolean;
|
|
18
|
+
required: boolean;
|
|
19
|
+
disabled: boolean;
|
|
20
|
+
checked?: boolean | undefined;
|
|
21
|
+
initialChecked: boolean;
|
|
22
|
+
readOnly: boolean;
|
|
23
|
+
autoFocus: boolean;
|
|
24
|
+
className: string;
|
|
25
|
+
as?: keyof JSX.IntrinsicElements | undefined;
|
|
26
|
+
children?: import("react").ReactNode;
|
|
27
|
+
id?: string | undefined;
|
|
28
|
+
value: string;
|
|
29
|
+
onChange?: ((isSelected: boolean) => void) | undefined;
|
|
30
|
+
'aria-controls'?: string | undefined;
|
|
31
|
+
'aria-describedby'?: string | undefined;
|
|
32
|
+
'aria-details'?: string | undefined;
|
|
33
|
+
'aria-errormessage'?: string | undefined;
|
|
34
|
+
'aria-label'?: string | undefined;
|
|
35
|
+
'aria-labelledby'?: string | undefined;
|
|
36
|
+
onFocus?: ((e: import("react").FocusEvent<Element, Element>) => void) | undefined;
|
|
37
|
+
onBlur?: ((e: import("react").FocusEvent<Element, Element>) => void) | undefined;
|
|
38
|
+
onKeyDown?: ((e: import("@react-types/shared/src/events").KeyboardEvent) => void) | undefined;
|
|
39
|
+
onKeyUp?: ((e: import("@react-types/shared/src/events").KeyboardEvent) => void) | undefined;
|
|
40
|
+
name?: string | undefined;
|
|
41
|
+
onFocusChange?: ((isFocused: boolean) => void) | undefined;
|
|
42
|
+
excludeFromTabOrder?: boolean | undefined;
|
|
43
|
+
validationState?: import("@react-types/shared/src/inputs").ValidationState | undefined;
|
|
44
|
+
form?: string | undefined;
|
|
45
|
+
slot?: string | undefined;
|
|
46
|
+
style?: import("react").CSSProperties | undefined;
|
|
47
|
+
title?: string | undefined;
|
|
48
|
+
translate?: "yes" | "no" | undefined;
|
|
49
|
+
hidden?: boolean | undefined;
|
|
50
|
+
dir?: string | undefined;
|
|
51
|
+
defaultChecked?: boolean | undefined;
|
|
52
|
+
defaultValue?: string | number | readonly string[] | undefined;
|
|
53
|
+
suppressContentEditableWarning?: boolean | undefined;
|
|
54
|
+
suppressHydrationWarning?: boolean | undefined;
|
|
55
|
+
accessKey?: string | undefined;
|
|
56
|
+
contentEditable?: "inherit" | (boolean | "true" | "false") | undefined;
|
|
57
|
+
contextMenu?: string | undefined;
|
|
58
|
+
draggable?: (boolean | "true" | "false") | undefined;
|
|
59
|
+
lang?: string | undefined;
|
|
60
|
+
placeholder?: string | undefined;
|
|
61
|
+
spellCheck?: (boolean | "true" | "false") | undefined;
|
|
62
|
+
tabIndex?: number | undefined;
|
|
63
|
+
radioGroup?: string | undefined;
|
|
64
|
+
role?: import("react").AriaRole | undefined;
|
|
65
|
+
about?: string | undefined;
|
|
66
|
+
datatype?: string | undefined;
|
|
67
|
+
inlist?: any;
|
|
68
|
+
prefix?: string | undefined;
|
|
69
|
+
property?: string | undefined;
|
|
70
|
+
resource?: string | undefined;
|
|
71
|
+
typeof?: string | undefined;
|
|
72
|
+
vocab?: string | undefined;
|
|
73
|
+
autoCapitalize?: string | undefined;
|
|
74
|
+
autoCorrect?: string | undefined;
|
|
75
|
+
autoSave?: string | undefined;
|
|
76
|
+
itemProp?: string | undefined;
|
|
77
|
+
itemScope?: boolean | undefined;
|
|
78
|
+
itemType?: string | undefined;
|
|
79
|
+
itemID?: string | undefined;
|
|
80
|
+
itemRef?: string | undefined;
|
|
81
|
+
results?: number | undefined;
|
|
82
|
+
security?: string | undefined;
|
|
83
|
+
unselectable?: "on" | "off" | undefined;
|
|
84
|
+
inputMode?: "none" | "text" | "search" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
|
|
85
|
+
is?: string | undefined;
|
|
86
|
+
'aria-activedescendant'?: string | undefined;
|
|
87
|
+
'aria-atomic'?: (boolean | "true" | "false") | undefined;
|
|
88
|
+
'aria-autocomplete'?: "none" | "inline" | "both" | "list" | undefined;
|
|
89
|
+
'aria-busy'?: (boolean | "true" | "false") | undefined;
|
|
90
|
+
'aria-checked'?: boolean | "mixed" | "true" | "false" | undefined;
|
|
91
|
+
'aria-colcount'?: number | undefined;
|
|
92
|
+
'aria-colindex'?: number | undefined;
|
|
93
|
+
'aria-colspan'?: number | undefined;
|
|
94
|
+
'aria-current'?: boolean | "time" | "page" | "true" | "false" | "step" | "location" | "date" | undefined;
|
|
95
|
+
'aria-disabled'?: (boolean | "true" | "false") | undefined;
|
|
96
|
+
'aria-dropeffect'?: "none" | "link" | "copy" | "move" | "execute" | "popup" | undefined;
|
|
97
|
+
'aria-expanded'?: (boolean | "true" | "false") | undefined;
|
|
98
|
+
'aria-flowto'?: string | undefined;
|
|
99
|
+
'aria-grabbed'?: (boolean | "true" | "false") | undefined;
|
|
100
|
+
'aria-haspopup'?: boolean | "grid" | "dialog" | "menu" | "listbox" | "true" | "false" | "tree" | undefined;
|
|
101
|
+
'aria-hidden'?: (boolean | "true" | "false") | undefined;
|
|
102
|
+
'aria-invalid'?: boolean | "true" | "false" | "grammar" | "spelling" | undefined;
|
|
103
|
+
'aria-keyshortcuts'?: string | undefined;
|
|
104
|
+
'aria-level'?: number | undefined;
|
|
105
|
+
'aria-live'?: "off" | "assertive" | "polite" | undefined;
|
|
106
|
+
'aria-modal'?: (boolean | "true" | "false") | undefined;
|
|
107
|
+
'aria-multiline'?: (boolean | "true" | "false") | undefined;
|
|
108
|
+
'aria-multiselectable'?: (boolean | "true" | "false") | undefined;
|
|
109
|
+
'aria-orientation'?: "horizontal" | "vertical" | undefined;
|
|
110
|
+
'aria-owns'?: string | undefined;
|
|
111
|
+
'aria-placeholder'?: string | undefined;
|
|
112
|
+
'aria-posinset'?: number | undefined;
|
|
113
|
+
'aria-pressed'?: boolean | "mixed" | "true" | "false" | undefined;
|
|
114
|
+
'aria-readonly'?: (boolean | "true" | "false") | undefined;
|
|
115
|
+
'aria-relevant'?: "text" | "all" | "additions" | "additions removals" | "additions text" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals" | undefined;
|
|
116
|
+
'aria-required'?: (boolean | "true" | "false") | undefined;
|
|
117
|
+
'aria-roledescription'?: string | undefined;
|
|
118
|
+
'aria-rowcount'?: number | undefined;
|
|
119
|
+
'aria-rowindex'?: number | undefined;
|
|
120
|
+
'aria-rowspan'?: number | undefined;
|
|
121
|
+
'aria-selected'?: (boolean | "true" | "false") | undefined;
|
|
122
|
+
'aria-setsize'?: number | undefined;
|
|
123
|
+
'aria-sort'?: "none" | "ascending" | "descending" | "other" | undefined;
|
|
124
|
+
'aria-valuemax'?: number | undefined;
|
|
125
|
+
'aria-valuemin'?: number | undefined;
|
|
126
|
+
'aria-valuenow'?: number | undefined;
|
|
127
|
+
'aria-valuetext'?: string | undefined;
|
|
128
|
+
dangerouslySetInnerHTML?: {
|
|
129
|
+
__html: string;
|
|
130
|
+
} | undefined;
|
|
131
|
+
onCopy?: import("react").ClipboardEventHandler<unknown> | undefined;
|
|
132
|
+
onCopyCapture?: import("react").ClipboardEventHandler<unknown> | undefined;
|
|
133
|
+
onCut?: import("react").ClipboardEventHandler<unknown> | undefined;
|
|
134
|
+
onCutCapture?: import("react").ClipboardEventHandler<unknown> | undefined;
|
|
135
|
+
onPaste?: import("react").ClipboardEventHandler<unknown> | undefined;
|
|
136
|
+
onPasteCapture?: import("react").ClipboardEventHandler<unknown> | undefined;
|
|
137
|
+
onCompositionEnd?: import("react").CompositionEventHandler<unknown> | undefined;
|
|
138
|
+
onCompositionEndCapture?: import("react").CompositionEventHandler<unknown> | undefined;
|
|
139
|
+
onCompositionStart?: import("react").CompositionEventHandler<unknown> | undefined;
|
|
140
|
+
onCompositionStartCapture?: import("react").CompositionEventHandler<unknown> | undefined;
|
|
141
|
+
onCompositionUpdate?: import("react").CompositionEventHandler<unknown> | undefined;
|
|
142
|
+
onCompositionUpdateCapture?: import("react").CompositionEventHandler<unknown> | undefined;
|
|
143
|
+
onFocusCapture?: import("react").FocusEventHandler<unknown> | undefined;
|
|
144
|
+
onBlurCapture?: import("react").FocusEventHandler<unknown> | undefined;
|
|
145
|
+
onChangeCapture?: import("react").FormEventHandler<unknown> | undefined;
|
|
146
|
+
onBeforeInput?: import("react").FormEventHandler<unknown> | undefined;
|
|
147
|
+
onBeforeInputCapture?: import("react").FormEventHandler<unknown> | undefined;
|
|
148
|
+
onInput?: import("react").FormEventHandler<unknown> | undefined;
|
|
149
|
+
onInputCapture?: import("react").FormEventHandler<unknown> | undefined;
|
|
150
|
+
onReset?: import("react").FormEventHandler<unknown> | undefined;
|
|
151
|
+
onResetCapture?: import("react").FormEventHandler<unknown> | undefined;
|
|
152
|
+
onSubmit?: import("react").FormEventHandler<unknown> | undefined;
|
|
153
|
+
onSubmitCapture?: import("react").FormEventHandler<unknown> | undefined;
|
|
154
|
+
onInvalid?: import("react").FormEventHandler<unknown> | undefined;
|
|
155
|
+
onInvalidCapture?: import("react").FormEventHandler<unknown> | undefined;
|
|
156
|
+
onLoad?: import("react").ReactEventHandler<unknown> | undefined;
|
|
157
|
+
onLoadCapture?: import("react").ReactEventHandler<unknown> | undefined;
|
|
158
|
+
onError?: import("react").ReactEventHandler<unknown> | undefined;
|
|
159
|
+
onErrorCapture?: import("react").ReactEventHandler<unknown> | undefined;
|
|
160
|
+
onKeyDownCapture?: import("react").KeyboardEventHandler<unknown> | undefined;
|
|
161
|
+
onKeyPress?: import("react").KeyboardEventHandler<unknown> | undefined;
|
|
162
|
+
onKeyPressCapture?: import("react").KeyboardEventHandler<unknown> | undefined;
|
|
163
|
+
onKeyUpCapture?: import("react").KeyboardEventHandler<unknown> | undefined;
|
|
164
|
+
onAbort?: import("react").ReactEventHandler<unknown> | undefined;
|
|
165
|
+
onAbortCapture?: import("react").ReactEventHandler<unknown> | undefined;
|
|
166
|
+
onCanPlay?: import("react").ReactEventHandler<unknown> | undefined;
|
|
167
|
+
onCanPlayCapture?: import("react").ReactEventHandler<unknown> | undefined;
|
|
168
|
+
onCanPlayThrough?: import("react").ReactEventHandler<unknown> | undefined;
|
|
169
|
+
onCanPlayThroughCapture?: import("react").ReactEventHandler<unknown> | undefined;
|
|
170
|
+
onDurationChange?: import("react").ReactEventHandler<unknown> | undefined;
|
|
171
|
+
onDurationChangeCapture?: import("react").ReactEventHandler<unknown> | undefined;
|
|
172
|
+
onEmptied?: import("react").ReactEventHandler<unknown> | undefined;
|
|
173
|
+
onEmptiedCapture?: import("react").ReactEventHandler<unknown> | undefined;
|
|
174
|
+
onEncrypted?: import("react").ReactEventHandler<unknown> | undefined;
|
|
175
|
+
onEncryptedCapture?: import("react").ReactEventHandler<unknown> | undefined;
|
|
176
|
+
onEnded?: import("react").ReactEventHandler<unknown> | undefined;
|
|
177
|
+
onEndedCapture?: import("react").ReactEventHandler<unknown> | undefined;
|
|
178
|
+
onLoadedData?: import("react").ReactEventHandler<unknown> | undefined;
|
|
179
|
+
onLoadedDataCapture?: import("react").ReactEventHandler<unknown> | undefined;
|
|
180
|
+
onLoadedMetadata?: import("react").ReactEventHandler<unknown> | undefined;
|
|
181
|
+
onLoadedMetadataCapture?: import("react").ReactEventHandler<unknown> | undefined;
|
|
182
|
+
onLoadStart?: import("react").ReactEventHandler<unknown> | undefined;
|
|
183
|
+
onLoadStartCapture?: import("react").ReactEventHandler<unknown> | undefined;
|
|
184
|
+
onPause?: import("react").ReactEventHandler<unknown> | undefined;
|
|
185
|
+
onPauseCapture?: import("react").ReactEventHandler<unknown> | undefined;
|
|
186
|
+
onPlay?: import("react").ReactEventHandler<unknown> | undefined;
|
|
187
|
+
onPlayCapture?: import("react").ReactEventHandler<unknown> | undefined;
|
|
188
|
+
onPlaying?: import("react").ReactEventHandler<unknown> | undefined;
|
|
189
|
+
onPlayingCapture?: import("react").ReactEventHandler<unknown> | undefined;
|
|
190
|
+
onProgress?: import("react").ReactEventHandler<unknown> | undefined;
|
|
191
|
+
onProgressCapture?: import("react").ReactEventHandler<unknown> | undefined;
|
|
192
|
+
onRateChange?: import("react").ReactEventHandler<unknown> | undefined;
|
|
193
|
+
onRateChangeCapture?: import("react").ReactEventHandler<unknown> | undefined;
|
|
194
|
+
onSeeked?: import("react").ReactEventHandler<unknown> | undefined;
|
|
195
|
+
onSeekedCapture?: import("react").ReactEventHandler<unknown> | undefined;
|
|
196
|
+
onSeeking?: import("react").ReactEventHandler<unknown> | undefined;
|
|
197
|
+
onSeekingCapture?: import("react").ReactEventHandler<unknown> | undefined;
|
|
198
|
+
onStalled?: import("react").ReactEventHandler<unknown> | undefined;
|
|
199
|
+
onStalledCapture?: import("react").ReactEventHandler<unknown> | undefined;
|
|
200
|
+
onSuspend?: import("react").ReactEventHandler<unknown> | undefined;
|
|
201
|
+
onSuspendCapture?: import("react").ReactEventHandler<unknown> | undefined;
|
|
202
|
+
onTimeUpdate?: import("react").ReactEventHandler<unknown> | undefined;
|
|
203
|
+
onTimeUpdateCapture?: import("react").ReactEventHandler<unknown> | undefined;
|
|
204
|
+
onVolumeChange?: import("react").ReactEventHandler<unknown> | undefined;
|
|
205
|
+
onVolumeChangeCapture?: import("react").ReactEventHandler<unknown> | undefined;
|
|
206
|
+
onWaiting?: import("react").ReactEventHandler<unknown> | undefined;
|
|
207
|
+
onWaitingCapture?: import("react").ReactEventHandler<unknown> | undefined;
|
|
208
|
+
onAuxClick?: import("react").MouseEventHandler<unknown> | undefined;
|
|
209
|
+
onAuxClickCapture?: import("react").MouseEventHandler<unknown> | undefined;
|
|
210
|
+
onClick?: import("react").MouseEventHandler<unknown> | undefined;
|
|
211
|
+
onClickCapture?: import("react").MouseEventHandler<unknown> | undefined;
|
|
212
|
+
onContextMenu?: import("react").MouseEventHandler<unknown> | undefined;
|
|
213
|
+
onContextMenuCapture?: import("react").MouseEventHandler<unknown> | undefined;
|
|
214
|
+
onDoubleClick?: import("react").MouseEventHandler<unknown> | undefined;
|
|
215
|
+
onDoubleClickCapture?: import("react").MouseEventHandler<unknown> | undefined;
|
|
216
|
+
onDrag?: import("react").DragEventHandler<unknown> | undefined;
|
|
217
|
+
onDragCapture?: import("react").DragEventHandler<unknown> | undefined;
|
|
218
|
+
onDragEnd?: import("react").DragEventHandler<unknown> | undefined;
|
|
219
|
+
onDragEndCapture?: import("react").DragEventHandler<unknown> | undefined;
|
|
220
|
+
onDragEnter?: import("react").DragEventHandler<unknown> | undefined;
|
|
221
|
+
onDragEnterCapture?: import("react").DragEventHandler<unknown> | undefined;
|
|
222
|
+
onDragExit?: import("react").DragEventHandler<unknown> | undefined;
|
|
223
|
+
onDragExitCapture?: import("react").DragEventHandler<unknown> | undefined;
|
|
224
|
+
onDragLeave?: import("react").DragEventHandler<unknown> | undefined;
|
|
225
|
+
onDragLeaveCapture?: import("react").DragEventHandler<unknown> | undefined;
|
|
226
|
+
onDragOver?: import("react").DragEventHandler<unknown> | undefined;
|
|
227
|
+
onDragOverCapture?: import("react").DragEventHandler<unknown> | undefined;
|
|
228
|
+
onDragStart?: import("react").DragEventHandler<unknown> | undefined;
|
|
229
|
+
onDragStartCapture?: import("react").DragEventHandler<unknown> | undefined;
|
|
230
|
+
onDrop?: import("react").DragEventHandler<unknown> | undefined;
|
|
231
|
+
onDropCapture?: import("react").DragEventHandler<unknown> | undefined;
|
|
232
|
+
onMouseDown?: import("react").MouseEventHandler<unknown> | undefined;
|
|
233
|
+
onMouseDownCapture?: import("react").MouseEventHandler<unknown> | undefined;
|
|
234
|
+
onMouseEnter?: import("react").MouseEventHandler<unknown> | undefined;
|
|
235
|
+
onMouseLeave?: import("react").MouseEventHandler<unknown> | undefined;
|
|
236
|
+
onMouseMove?: import("react").MouseEventHandler<unknown> | undefined;
|
|
237
|
+
onMouseMoveCapture?: import("react").MouseEventHandler<unknown> | undefined;
|
|
238
|
+
onMouseOut?: import("react").MouseEventHandler<unknown> | undefined;
|
|
239
|
+
onMouseOutCapture?: import("react").MouseEventHandler<unknown> | undefined;
|
|
240
|
+
onMouseOver?: import("react").MouseEventHandler<unknown> | undefined;
|
|
241
|
+
onMouseOverCapture?: import("react").MouseEventHandler<unknown> | undefined;
|
|
242
|
+
onMouseUp?: import("react").MouseEventHandler<unknown> | undefined;
|
|
243
|
+
onMouseUpCapture?: import("react").MouseEventHandler<unknown> | undefined;
|
|
244
|
+
onSelect?: import("react").ReactEventHandler<unknown> | undefined;
|
|
245
|
+
onSelectCapture?: import("react").ReactEventHandler<unknown> | undefined;
|
|
246
|
+
onTouchCancel?: import("react").TouchEventHandler<unknown> | undefined;
|
|
247
|
+
onTouchCancelCapture?: import("react").TouchEventHandler<unknown> | undefined;
|
|
248
|
+
onTouchEnd?: import("react").TouchEventHandler<unknown> | undefined;
|
|
249
|
+
onTouchEndCapture?: import("react").TouchEventHandler<unknown> | undefined;
|
|
250
|
+
onTouchMove?: import("react").TouchEventHandler<unknown> | undefined;
|
|
251
|
+
onTouchMoveCapture?: import("react").TouchEventHandler<unknown> | undefined;
|
|
252
|
+
onTouchStart?: import("react").TouchEventHandler<unknown> | undefined;
|
|
253
|
+
onTouchStartCapture?: import("react").TouchEventHandler<unknown> | undefined;
|
|
254
|
+
onPointerDown?: import("react").PointerEventHandler<unknown> | undefined;
|
|
255
|
+
onPointerDownCapture?: import("react").PointerEventHandler<unknown> | undefined;
|
|
256
|
+
onPointerMove?: import("react").PointerEventHandler<unknown> | undefined;
|
|
257
|
+
onPointerMoveCapture?: import("react").PointerEventHandler<unknown> | undefined;
|
|
258
|
+
onPointerUp?: import("react").PointerEventHandler<unknown> | undefined;
|
|
259
|
+
onPointerUpCapture?: import("react").PointerEventHandler<unknown> | undefined;
|
|
260
|
+
onPointerCancel?: import("react").PointerEventHandler<unknown> | undefined;
|
|
261
|
+
onPointerCancelCapture?: import("react").PointerEventHandler<unknown> | undefined;
|
|
262
|
+
onPointerEnter?: import("react").PointerEventHandler<unknown> | undefined;
|
|
263
|
+
onPointerEnterCapture?: import("react").PointerEventHandler<unknown> | undefined;
|
|
264
|
+
onPointerLeave?: import("react").PointerEventHandler<unknown> | undefined;
|
|
265
|
+
onPointerLeaveCapture?: import("react").PointerEventHandler<unknown> | undefined;
|
|
266
|
+
onPointerOver?: import("react").PointerEventHandler<unknown> | undefined;
|
|
267
|
+
onPointerOverCapture?: import("react").PointerEventHandler<unknown> | undefined;
|
|
268
|
+
onPointerOut?: import("react").PointerEventHandler<unknown> | undefined;
|
|
269
|
+
onPointerOutCapture?: import("react").PointerEventHandler<unknown> | undefined;
|
|
270
|
+
onGotPointerCapture?: import("react").PointerEventHandler<unknown> | undefined;
|
|
271
|
+
onGotPointerCaptureCapture?: import("react").PointerEventHandler<unknown> | undefined;
|
|
272
|
+
onLostPointerCapture?: import("react").PointerEventHandler<unknown> | undefined;
|
|
273
|
+
onLostPointerCaptureCapture?: import("react").PointerEventHandler<unknown> | undefined;
|
|
274
|
+
onScroll?: import("react").UIEventHandler<unknown> | undefined;
|
|
275
|
+
onScrollCapture?: import("react").UIEventHandler<unknown> | undefined;
|
|
276
|
+
onWheel?: import("react").WheelEventHandler<unknown> | undefined;
|
|
277
|
+
onWheelCapture?: import("react").WheelEventHandler<unknown> | undefined;
|
|
278
|
+
onAnimationStart?: import("react").AnimationEventHandler<unknown> | undefined;
|
|
279
|
+
onAnimationStartCapture?: import("react").AnimationEventHandler<unknown> | undefined;
|
|
280
|
+
onAnimationEnd?: import("react").AnimationEventHandler<unknown> | undefined;
|
|
281
|
+
onAnimationEndCapture?: import("react").AnimationEventHandler<unknown> | undefined;
|
|
282
|
+
onAnimationIteration?: import("react").AnimationEventHandler<unknown> | undefined;
|
|
283
|
+
onAnimationIterationCapture?: import("react").AnimationEventHandler<unknown> | undefined;
|
|
284
|
+
onTransitionEnd?: import("react").TransitionEventHandler<unknown> | undefined;
|
|
285
|
+
onTransitionEndCapture?: import("react").TransitionEventHandler<unknown> | undefined;
|
|
286
|
+
htmlFor?: string | undefined;
|
|
287
|
+
css?: import("..").CSS | undefined;
|
|
288
|
+
};
|
|
@@ -263,6 +263,10 @@ export declare const StyledCode: import("@stitches/react/types/styled-component"
|
|
|
263
263
|
};
|
|
264
264
|
transitions: {
|
|
265
265
|
default: string;
|
|
266
|
+
button: string;
|
|
267
|
+
avatar: string;
|
|
268
|
+
link: string;
|
|
269
|
+
card: string;
|
|
266
270
|
};
|
|
267
271
|
breakpoints: {
|
|
268
272
|
xs: string;
|
|
@@ -1194,6 +1198,10 @@ export declare const StyledPre: import("@stitches/react/types/styled-component")
|
|
|
1194
1198
|
};
|
|
1195
1199
|
transitions: {
|
|
1196
1200
|
default: string;
|
|
1201
|
+
button: string;
|
|
1202
|
+
avatar: string;
|
|
1203
|
+
link: string;
|
|
1204
|
+
card: string;
|
|
1197
1205
|
};
|
|
1198
1206
|
breakpoints: {
|
|
1199
1207
|
xs: string;
|
|
@@ -271,6 +271,10 @@ export declare const StyledCollapse: import("@stitches/react/types/styled-compon
|
|
|
271
271
|
};
|
|
272
272
|
transitions: {
|
|
273
273
|
default: string;
|
|
274
|
+
button: string;
|
|
275
|
+
avatar: string;
|
|
276
|
+
link: string;
|
|
277
|
+
card: string;
|
|
274
278
|
};
|
|
275
279
|
breakpoints: {
|
|
276
280
|
xs: string;
|
|
@@ -1223,6 +1227,10 @@ export declare const StyledCollapseView: import("@stitches/react/types/styled-co
|
|
|
1223
1227
|
};
|
|
1224
1228
|
transitions: {
|
|
1225
1229
|
default: string;
|
|
1230
|
+
button: string;
|
|
1231
|
+
avatar: string;
|
|
1232
|
+
link: string;
|
|
1233
|
+
card: string;
|
|
1226
1234
|
};
|
|
1227
1235
|
breakpoints: {
|
|
1228
1236
|
xs: string;
|
|
@@ -2153,6 +2161,10 @@ export declare const StyledCollapseView: import("@stitches/react/types/styled-co
|
|
|
2153
2161
|
};
|
|
2154
2162
|
transitions: {
|
|
2155
2163
|
default: string;
|
|
2164
|
+
button: string;
|
|
2165
|
+
avatar: string;
|
|
2166
|
+
link: string;
|
|
2167
|
+
card: string;
|
|
2156
2168
|
};
|
|
2157
2169
|
breakpoints: {
|
|
2158
2170
|
xs: string;
|
|
@@ -3084,6 +3096,10 @@ export declare const StyledCollapseContent: import("@stitches/react/types/styled
|
|
|
3084
3096
|
};
|
|
3085
3097
|
transitions: {
|
|
3086
3098
|
default: string;
|
|
3099
|
+
button: string;
|
|
3100
|
+
avatar: string;
|
|
3101
|
+
link: string;
|
|
3102
|
+
card: string;
|
|
3087
3103
|
};
|
|
3088
3104
|
breakpoints: {
|
|
3089
3105
|
xs: string;
|
|
@@ -4015,6 +4031,10 @@ export declare const StyledCollapseIcon: import("@stitches/react/types/styled-co
|
|
|
4015
4031
|
};
|
|
4016
4032
|
transitions: {
|
|
4017
4033
|
default: string;
|
|
4034
|
+
button: string;
|
|
4035
|
+
avatar: string;
|
|
4036
|
+
link: string;
|
|
4037
|
+
card: string;
|
|
4018
4038
|
};
|
|
4019
4039
|
breakpoints: {
|
|
4020
4040
|
xs: string;
|
|
@@ -4952,6 +4972,10 @@ export declare const StyledCollapseGroup: import("@stitches/react/types/styled-c
|
|
|
4952
4972
|
};
|
|
4953
4973
|
transitions: {
|
|
4954
4974
|
default: string;
|
|
4975
|
+
button: string;
|
|
4976
|
+
avatar: string;
|
|
4977
|
+
link: string;
|
|
4978
|
+
card: string;
|
|
4955
4979
|
};
|
|
4956
4980
|
breakpoints: {
|
|
4957
4981
|
xs: string;
|
|
@@ -265,6 +265,10 @@ export declare const StyledDivider: import("@stitches/react/types/styled-compone
|
|
|
265
265
|
};
|
|
266
266
|
transitions: {
|
|
267
267
|
default: string;
|
|
268
|
+
button: string;
|
|
269
|
+
avatar: string;
|
|
270
|
+
link: string;
|
|
271
|
+
card: string;
|
|
268
272
|
};
|
|
269
273
|
breakpoints: {
|
|
270
274
|
xs: string;
|
|
@@ -1198,6 +1202,10 @@ export declare const StyledDividerText: import("@stitches/react/types/styled-com
|
|
|
1198
1202
|
};
|
|
1199
1203
|
transitions: {
|
|
1200
1204
|
default: string;
|
|
1205
|
+
button: string;
|
|
1206
|
+
avatar: string;
|
|
1207
|
+
link: string;
|
|
1208
|
+
card: string;
|
|
1201
1209
|
};
|
|
1202
1210
|
breakpoints: {
|
|
1203
1211
|
xs: string;
|
|
@@ -263,6 +263,10 @@ export declare const StyledGridContainer: import("@stitches/react/types/styled-c
|
|
|
263
263
|
};
|
|
264
264
|
transitions: {
|
|
265
265
|
default: string;
|
|
266
|
+
button: string;
|
|
267
|
+
avatar: string;
|
|
268
|
+
link: string;
|
|
269
|
+
card: string;
|
|
266
270
|
};
|
|
267
271
|
breakpoints: {
|
|
268
272
|
xs: string;
|
|
@@ -1194,6 +1198,10 @@ export declare const StyledGridItem: import("@stitches/react/types/styled-compon
|
|
|
1194
1198
|
};
|
|
1195
1199
|
transitions: {
|
|
1196
1200
|
default: string;
|
|
1201
|
+
button: string;
|
|
1202
|
+
avatar: string;
|
|
1203
|
+
link: string;
|
|
1204
|
+
card: string;
|
|
1197
1205
|
};
|
|
1198
1206
|
breakpoints: {
|
|
1199
1207
|
xs: string;
|
|
@@ -265,6 +265,10 @@ export declare const StyledImageContainer: import("@stitches/react/types/styled-
|
|
|
265
265
|
};
|
|
266
266
|
transitions: {
|
|
267
267
|
default: string;
|
|
268
|
+
button: string;
|
|
269
|
+
avatar: string;
|
|
270
|
+
link: string;
|
|
271
|
+
card: string;
|
|
268
272
|
};
|
|
269
273
|
breakpoints: {
|
|
270
274
|
xs: string;
|
|
@@ -1196,6 +1200,10 @@ export declare const StyledImage: import("@stitches/react/types/styled-component
|
|
|
1196
1200
|
};
|
|
1197
1201
|
transitions: {
|
|
1198
1202
|
default: string;
|
|
1203
|
+
button: string;
|
|
1204
|
+
avatar: string;
|
|
1205
|
+
link: string;
|
|
1206
|
+
card: string;
|
|
1199
1207
|
};
|
|
1200
1208
|
breakpoints: {
|
|
1201
1209
|
xs: string;
|
|
@@ -2127,6 +2135,10 @@ export declare const StyledImageSkeleton: import("@stitches/react/types/styled-c
|
|
|
2127
2135
|
};
|
|
2128
2136
|
transitions: {
|
|
2129
2137
|
default: string;
|
|
2138
|
+
button: string;
|
|
2139
|
+
avatar: string;
|
|
2140
|
+
link: string;
|
|
2141
|
+
card: string;
|
|
2130
2142
|
};
|
|
2131
2143
|
breakpoints: {
|
|
2132
2144
|
xs: string;
|
package/types/index.d.ts
CHANGED
|
@@ -14,6 +14,8 @@ export { default as useClickAnywhere } from './use-click-anywhere';
|
|
|
14
14
|
export { default as useInput } from './use-input';
|
|
15
15
|
export { default as useKeyboard } from './use-keyboard';
|
|
16
16
|
export { default as usePagination } from './use-pagination';
|
|
17
|
+
export { default as useDrip } from './use-drip';
|
|
18
|
+
export { default as Drip } from './utils/drip';
|
|
17
19
|
export type { PaginationParams } from './use-pagination';
|
|
18
20
|
export type { UseKeyboardHandler, KeyboardOptions, KeyboardResult, UseKeyboard } from './use-keyboard';
|
|
19
21
|
export { KeyMod, KeyCode } from './use-keyboard/codes';
|
|
@@ -94,5 +94,5 @@ declare const _default: React.ComponentType<Partial<{
|
|
|
94
94
|
initialValue: string;
|
|
95
95
|
} & NativeAttrs & {
|
|
96
96
|
css?: CSS | undefined;
|
|
97
|
-
} & React.RefAttributes<HTMLInputElement>, "clearable" | "rounded" | "contentClickable" | "contentLeftStyling" | "contentRightStyling" | "width" | "color" | "size" | "className" | "
|
|
97
|
+
} & React.RefAttributes<HTMLInputElement>, "clearable" | "rounded" | "contentClickable" | "contentLeftStyling" | "contentRightStyling" | "width" | "color" | "size" | "className" | "placeholder" | "status" | "borderWeight" | "bordered" | "animated" | "disabled" | "autoComplete" | "readOnly" | "required" | "shadow" | "initialValue" | "fullWidth" | "helperColor" | "underlined" | "hideToggle" | "visibleIcon" | "hiddenIcon">>;
|
|
98
98
|
export default _default;
|
|
@@ -271,6 +271,10 @@ export declare const StyledInputMainContainer: import("@stitches/react/types/sty
|
|
|
271
271
|
};
|
|
272
272
|
transitions: {
|
|
273
273
|
default: string;
|
|
274
|
+
button: string;
|
|
275
|
+
avatar: string;
|
|
276
|
+
link: string;
|
|
277
|
+
card: string;
|
|
274
278
|
};
|
|
275
279
|
breakpoints: {
|
|
276
280
|
xs: string;
|
|
@@ -1208,6 +1212,10 @@ export declare const StyledInputContainer: import("@stitches/react/types/styled-
|
|
|
1208
1212
|
};
|
|
1209
1213
|
transitions: {
|
|
1210
1214
|
default: string;
|
|
1215
|
+
button: string;
|
|
1216
|
+
avatar: string;
|
|
1217
|
+
link: string;
|
|
1218
|
+
card: string;
|
|
1211
1219
|
};
|
|
1212
1220
|
breakpoints: {
|
|
1213
1221
|
xs: string;
|
|
@@ -2147,6 +2155,10 @@ export declare const StyledInput: import("@stitches/react/types/styled-component
|
|
|
2147
2155
|
};
|
|
2148
2156
|
transitions: {
|
|
2149
2157
|
default: string;
|
|
2158
|
+
button: string;
|
|
2159
|
+
avatar: string;
|
|
2160
|
+
link: string;
|
|
2161
|
+
card: string;
|
|
2150
2162
|
};
|
|
2151
2163
|
breakpoints: {
|
|
2152
2164
|
xs: string;
|
|
@@ -3087,6 +3099,10 @@ export declare const StyledInputWrapper: import("@stitches/react/types/styled-co
|
|
|
3087
3099
|
};
|
|
3088
3100
|
transitions: {
|
|
3089
3101
|
default: string;
|
|
3102
|
+
button: string;
|
|
3103
|
+
avatar: string;
|
|
3104
|
+
link: string;
|
|
3105
|
+
card: string;
|
|
3090
3106
|
};
|
|
3091
3107
|
breakpoints: {
|
|
3092
3108
|
xs: string;
|
|
@@ -4021,6 +4037,10 @@ export declare const StyledHelperTextContainer: import("@stitches/react/types/st
|
|
|
4021
4037
|
};
|
|
4022
4038
|
transitions: {
|
|
4023
4039
|
default: string;
|
|
4040
|
+
button: string;
|
|
4041
|
+
avatar: string;
|
|
4042
|
+
link: string;
|
|
4043
|
+
card: string;
|
|
4024
4044
|
};
|
|
4025
4045
|
breakpoints: {
|
|
4026
4046
|
xs: string;
|
|
@@ -4952,6 +4972,10 @@ export declare const StyledHelperText: import("@stitches/react/types/styled-comp
|
|
|
4952
4972
|
};
|
|
4953
4973
|
transitions: {
|
|
4954
4974
|
default: string;
|
|
4975
|
+
button: string;
|
|
4976
|
+
avatar: string;
|
|
4977
|
+
link: string;
|
|
4978
|
+
card: string;
|
|
4955
4979
|
};
|
|
4956
4980
|
breakpoints: {
|
|
4957
4981
|
xs: string;
|
|
@@ -5883,6 +5907,10 @@ export declare const StyledInputPlaceholder: import("@stitches/react/types/style
|
|
|
5883
5907
|
};
|
|
5884
5908
|
transitions: {
|
|
5885
5909
|
default: string;
|
|
5910
|
+
button: string;
|
|
5911
|
+
avatar: string;
|
|
5912
|
+
link: string;
|
|
5913
|
+
card: string;
|
|
5886
5914
|
};
|
|
5887
5915
|
breakpoints: {
|
|
5888
5916
|
xs: string;
|
|
@@ -6824,6 +6852,10 @@ export declare const StyledInputBlockLabel: import("@stitches/react/types/styled
|
|
|
6824
6852
|
};
|
|
6825
6853
|
transitions: {
|
|
6826
6854
|
default: string;
|
|
6855
|
+
button: string;
|
|
6856
|
+
avatar: string;
|
|
6857
|
+
link: string;
|
|
6858
|
+
card: string;
|
|
6827
6859
|
};
|
|
6828
6860
|
breakpoints: {
|
|
6829
6861
|
xs: string;
|
|
@@ -7761,6 +7793,10 @@ export declare const StyledInputLabel: import("@stitches/react/types/styled-comp
|
|
|
7761
7793
|
};
|
|
7762
7794
|
transitions: {
|
|
7763
7795
|
default: string;
|
|
7796
|
+
button: string;
|
|
7797
|
+
avatar: string;
|
|
7798
|
+
link: string;
|
|
7799
|
+
card: string;
|
|
7764
7800
|
};
|
|
7765
7801
|
breakpoints: {
|
|
7766
7802
|
xs: string;
|
|
@@ -8695,6 +8731,10 @@ export declare const StyledInputContent: import("@stitches/react/types/styled-co
|
|
|
8695
8731
|
};
|
|
8696
8732
|
transitions: {
|
|
8697
8733
|
default: string;
|
|
8734
|
+
button: string;
|
|
8735
|
+
avatar: string;
|
|
8736
|
+
link: string;
|
|
8737
|
+
card: string;
|
|
8698
8738
|
};
|
|
8699
8739
|
breakpoints: {
|
|
8700
8740
|
xs: string;
|
|
@@ -9632,6 +9672,10 @@ export declare const StyledInputClearButton: import("@stitches/react/types/style
|
|
|
9632
9672
|
};
|
|
9633
9673
|
transitions: {
|
|
9634
9674
|
default: string;
|
|
9675
|
+
button: string;
|
|
9676
|
+
avatar: string;
|
|
9677
|
+
link: string;
|
|
9678
|
+
card: string;
|
|
9635
9679
|
};
|
|
9636
9680
|
breakpoints: {
|
|
9637
9681
|
xs: string;
|
|
@@ -263,6 +263,10 @@ export declare const StyledLinkIcon: import("@stitches/react/types/styled-compon
|
|
|
263
263
|
};
|
|
264
264
|
transitions: {
|
|
265
265
|
default: string;
|
|
266
|
+
button: string;
|
|
267
|
+
avatar: string;
|
|
268
|
+
link: string;
|
|
269
|
+
card: string;
|
|
266
270
|
};
|
|
267
271
|
breakpoints: {
|
|
268
272
|
xs: string;
|
|
@@ -1199,6 +1203,10 @@ export declare const StyledLink: import("@stitches/react/types/styled-component"
|
|
|
1199
1203
|
};
|
|
1200
1204
|
transitions: {
|
|
1201
1205
|
default: string;
|
|
1206
|
+
button: string;
|
|
1207
|
+
avatar: string;
|
|
1208
|
+
link: string;
|
|
1209
|
+
card: string;
|
|
1202
1210
|
};
|
|
1203
1211
|
breakpoints: {
|
|
1204
1212
|
xs: string;
|