@particle-network/ui-react 0.5.0-beta.1 → 0.5.0
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/dist/components/UXButton/button-theme.d.ts +3 -0
- package/dist/components/UXButton/button-theme.js +36 -9
- package/dist/components/UXButton/use-button.js +2 -1
- package/dist/components/UXChip/chip.extend.d.ts +1 -1
- package/dist/components/UXChip/chip.extend.js +17 -2
- package/dist/components/UXChip/index.d.ts +1 -1
- package/dist/components/UXCopy/index.d.ts +2 -0
- package/dist/components/UXCopy/index.js +4 -3
- package/dist/components/UXDivider/divider.extend.d.ts +7 -283
- package/dist/components/UXInput/index.d.ts +24 -333
- package/dist/components/UXInput/input.extend.d.ts +24 -333
- package/dist/components/UXModal/index.js +2 -5
- package/dist/components/UXNumberInput/number-input.extend.d.ts +1 -0
- package/dist/components/UXSlider/index.d.ts +5 -0
- package/dist/components/UXSlider/index.js +3 -0
- package/dist/components/UXSlider/slider-theme.d.ts +521 -0
- package/dist/components/UXSlider/slider-theme.js +464 -0
- package/dist/components/UXSlider/slider-thumb.d.ts +4 -0
- package/dist/components/UXSlider/slider-thumb.js +33 -0
- package/dist/components/UXSlider/slider.d.ts +4 -0
- package/dist/components/UXSlider/slider.js +77 -0
- package/dist/components/UXSlider/use-slider-thumb.d.ts +61 -0
- package/dist/components/UXSlider/use-slider-thumb.js +79 -0
- package/dist/components/UXSlider/use-slider.d.ts +182 -0
- package/dist/components/UXSlider/use-slider.js +277 -0
- package/dist/components/UXSwitch/index.d.ts +11 -323
- package/dist/components/UXSwitch/switch.extend.d.ts +11 -323
- package/dist/components/UXTabSwitch/index.d.ts +16 -0
- package/dist/components/UXTabSwitch/index.js +30 -0
- package/dist/components/UXTable/index.d.ts +23 -336
- package/dist/components/UXTable/table.extend.d.ts +23 -336
- package/dist/components/UXTabs/tabs.classes.js +4 -4
- package/dist/components/UXThemeSwitch/theme-switch.d.ts +6 -2
- package/dist/components/UXThemeSwitch/theme-switch.js +16 -9
- package/dist/components/UXThemeSwitch/use-theme-color.d.ts +22 -1
- package/dist/components/UXThemeSwitch/use-theme-color.js +5 -1
- package/dist/components/UXThemeSwitch/use-theme.js +12 -6
- package/dist/components/UXToast/index.js +2 -2
- package/dist/components/UXTooltip/index.d.ts +2 -2
- package/dist/components/UXTooltip/tooltip.extend.d.ts +9 -311
- package/dist/components/index.d.ts +2 -0
- package/dist/components/index.js +2 -0
- package/dist/components/typography/Text.type.d.ts +0 -14
- package/dist/hooks/useI18n.d.ts +4 -0
- package/dist/hooks/useI18n.js +8 -0
- package/dist/utils/classes.d.ts +11 -0
- package/dist/utils/classes.js +12 -1
- package/dist/utils/input-classes.d.ts +37 -2
- package/dist/utils/input-classes.js +65 -6
- package/package.json +7 -7
- package/tailwind-preset.js +108 -29
|
@@ -1,314 +1,12 @@
|
|
|
1
|
-
declare const ExtendedTooltip: import("react").ForwardRefExoticComponent<Omit<{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
defaultChecked?: any;
|
|
5
|
-
defaultValue?: any;
|
|
6
|
-
suppressContentEditableWarning?: boolean | undefined;
|
|
7
|
-
suppressHydrationWarning?: boolean | undefined;
|
|
8
|
-
accessKey?: string | undefined;
|
|
9
|
-
autoCapitalize?: "off" | "none" | "on" | "sentences" | "words" | "characters" | (string & {}) | undefined;
|
|
10
|
-
autoFocus?: boolean | undefined;
|
|
11
|
-
className?: string | undefined;
|
|
12
|
-
contentEditable?: (boolean | "true" | "false") | "inherit" | "plaintext-only" | undefined;
|
|
13
|
-
contextMenu?: string | undefined;
|
|
14
|
-
dir?: string | undefined;
|
|
15
|
-
draggable?: (boolean | "true" | "false") | undefined;
|
|
16
|
-
enterKeyHint?: "search" | "enter" | "done" | "go" | "next" | "previous" | "send" | undefined;
|
|
17
|
-
hidden?: boolean | undefined;
|
|
18
|
-
id?: string | undefined;
|
|
19
|
-
lang?: string | undefined;
|
|
20
|
-
nonce?: string | undefined;
|
|
21
|
-
slot?: any;
|
|
22
|
-
spellCheck?: (boolean | "true" | "false") | undefined;
|
|
23
|
-
style?: import("react").CSSProperties | undefined;
|
|
24
|
-
tabIndex?: number | undefined;
|
|
25
|
-
title?: string | undefined;
|
|
26
|
-
translate?: "yes" | "no" | undefined;
|
|
27
|
-
radioGroup?: string | undefined;
|
|
28
|
-
role?: import("react").AriaRole | undefined;
|
|
29
|
-
about?: string | undefined;
|
|
30
|
-
content?: import("react").ReactNode;
|
|
31
|
-
datatype?: string | undefined;
|
|
32
|
-
inlist?: any;
|
|
33
|
-
prefix?: string | undefined;
|
|
34
|
-
property?: string | undefined;
|
|
35
|
-
rel?: string | undefined;
|
|
36
|
-
resource?: string | undefined;
|
|
37
|
-
rev?: string | undefined;
|
|
38
|
-
typeof?: string | undefined;
|
|
39
|
-
vocab?: string | undefined;
|
|
40
|
-
autoCorrect?: string | undefined;
|
|
41
|
-
autoSave?: string | undefined;
|
|
42
|
-
color?: "default" | "success" | "foreground" | "secondary" | "primary" | "danger" | "warning" | undefined;
|
|
43
|
-
itemProp?: string | undefined;
|
|
44
|
-
itemScope?: boolean | undefined;
|
|
45
|
-
itemType?: string | undefined;
|
|
46
|
-
itemID?: string | undefined;
|
|
47
|
-
itemRef?: string | undefined;
|
|
48
|
-
results?: number | undefined;
|
|
49
|
-
security?: string | undefined;
|
|
50
|
-
unselectable?: "off" | "on" | undefined;
|
|
51
|
-
popover?: "" | "auto" | "manual" | undefined;
|
|
52
|
-
popoverTargetAction?: "toggle" | "show" | "hide" | undefined;
|
|
53
|
-
popoverTarget?: string | undefined;
|
|
54
|
-
inert?: boolean | undefined;
|
|
55
|
-
inputMode?: "search" | "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
|
|
56
|
-
is?: string | undefined;
|
|
57
|
-
exportparts?: string | undefined;
|
|
58
|
-
part?: string | undefined;
|
|
59
|
-
"aria-activedescendant"?: string | undefined;
|
|
60
|
-
"aria-atomic"?: (boolean | "true" | "false") | undefined;
|
|
61
|
-
"aria-autocomplete"?: "none" | "list" | "inline" | "both" | undefined;
|
|
62
|
-
"aria-braillelabel"?: string | undefined;
|
|
63
|
-
"aria-brailleroledescription"?: string | undefined;
|
|
64
|
-
"aria-busy"?: (boolean | "true" | "false") | undefined;
|
|
65
|
-
"aria-checked"?: boolean | "true" | "false" | "mixed" | undefined;
|
|
66
|
-
"aria-colcount"?: number | undefined;
|
|
67
|
-
"aria-colindex"?: number | undefined;
|
|
68
|
-
"aria-colindextext"?: string | undefined;
|
|
69
|
-
"aria-colspan"?: number | undefined;
|
|
70
|
-
"aria-controls"?: string | undefined;
|
|
71
|
-
"aria-current"?: boolean | "true" | "false" | "page" | "step" | "location" | "date" | "time" | undefined;
|
|
72
|
-
"aria-describedby"?: string | undefined;
|
|
73
|
-
"aria-description"?: string | undefined;
|
|
74
|
-
"aria-details"?: string | undefined;
|
|
75
|
-
"aria-disabled"?: (boolean | "true" | "false") | undefined;
|
|
76
|
-
"aria-dropeffect"?: "link" | "none" | "copy" | "execute" | "move" | "popup" | undefined;
|
|
77
|
-
"aria-errormessage"?: string | undefined;
|
|
78
|
-
"aria-expanded"?: (boolean | "true" | "false") | undefined;
|
|
79
|
-
"aria-flowto"?: string | undefined;
|
|
80
|
-
"aria-grabbed"?: (boolean | "true" | "false") | undefined;
|
|
81
|
-
"aria-haspopup"?: boolean | "true" | "false" | "dialog" | "grid" | "listbox" | "menu" | "tree" | undefined;
|
|
82
|
-
"aria-hidden"?: (boolean | "true" | "false") | undefined;
|
|
83
|
-
"aria-invalid"?: boolean | "true" | "false" | "grammar" | "spelling" | undefined;
|
|
84
|
-
"aria-keyshortcuts"?: string | undefined;
|
|
85
|
-
"aria-label"?: string | undefined;
|
|
86
|
-
"aria-labelledby"?: string | undefined;
|
|
87
|
-
"aria-level"?: number | undefined;
|
|
88
|
-
"aria-live"?: "off" | "assertive" | "polite" | undefined;
|
|
89
|
-
"aria-modal"?: (boolean | "true" | "false") | undefined;
|
|
90
|
-
"aria-multiline"?: (boolean | "true" | "false") | undefined;
|
|
91
|
-
"aria-multiselectable"?: (boolean | "true" | "false") | undefined;
|
|
92
|
-
"aria-orientation"?: "vertical" | "horizontal" | undefined;
|
|
93
|
-
"aria-owns"?: string | undefined;
|
|
94
|
-
"aria-placeholder"?: string | undefined;
|
|
95
|
-
"aria-posinset"?: number | undefined;
|
|
96
|
-
"aria-pressed"?: boolean | "true" | "false" | "mixed" | undefined;
|
|
97
|
-
"aria-readonly"?: (boolean | "true" | "false") | undefined;
|
|
98
|
-
"aria-relevant"?: "text" | "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals" | undefined;
|
|
99
|
-
"aria-required"?: (boolean | "true" | "false") | undefined;
|
|
100
|
-
"aria-roledescription"?: string | undefined;
|
|
101
|
-
"aria-rowcount"?: number | undefined;
|
|
102
|
-
"aria-rowindex"?: number | undefined;
|
|
103
|
-
"aria-rowindextext"?: string | undefined;
|
|
104
|
-
"aria-rowspan"?: number | undefined;
|
|
105
|
-
"aria-selected"?: (boolean | "true" | "false") | undefined;
|
|
106
|
-
"aria-setsize"?: number | undefined;
|
|
107
|
-
"aria-sort"?: "none" | "ascending" | "descending" | "other" | undefined;
|
|
108
|
-
"aria-valuemax"?: number | undefined;
|
|
109
|
-
"aria-valuemin"?: number | undefined;
|
|
110
|
-
"aria-valuenow"?: number | undefined;
|
|
111
|
-
"aria-valuetext"?: string | undefined;
|
|
112
|
-
dangerouslySetInnerHTML?: {
|
|
113
|
-
__html: string | TrustedHTML;
|
|
114
|
-
} | undefined;
|
|
115
|
-
onCopy?: import("react").ClipboardEventHandler<HTMLDivElement> | undefined;
|
|
116
|
-
onCopyCapture?: import("react").ClipboardEventHandler<HTMLDivElement> | undefined;
|
|
117
|
-
onCut?: import("react").ClipboardEventHandler<HTMLDivElement> | undefined;
|
|
118
|
-
onCutCapture?: import("react").ClipboardEventHandler<HTMLDivElement> | undefined;
|
|
119
|
-
onPaste?: import("react").ClipboardEventHandler<HTMLDivElement> | undefined;
|
|
120
|
-
onPasteCapture?: import("react").ClipboardEventHandler<HTMLDivElement> | undefined;
|
|
121
|
-
onCompositionEnd?: import("react").CompositionEventHandler<HTMLDivElement> | undefined;
|
|
122
|
-
onCompositionEndCapture?: import("react").CompositionEventHandler<HTMLDivElement> | undefined;
|
|
123
|
-
onCompositionStart?: import("react").CompositionEventHandler<HTMLDivElement> | undefined;
|
|
124
|
-
onCompositionStartCapture?: import("react").CompositionEventHandler<HTMLDivElement> | undefined;
|
|
125
|
-
onCompositionUpdate?: import("react").CompositionEventHandler<HTMLDivElement> | undefined;
|
|
126
|
-
onCompositionUpdateCapture?: import("react").CompositionEventHandler<HTMLDivElement> | undefined;
|
|
127
|
-
onFocus?: import("react").FocusEventHandler<HTMLDivElement> | undefined;
|
|
128
|
-
onFocusCapture?: import("react").FocusEventHandler<HTMLDivElement> | undefined;
|
|
129
|
-
onBlur?: import("react").FocusEventHandler<HTMLDivElement> | undefined;
|
|
130
|
-
onBlurCapture?: import("react").FocusEventHandler<HTMLDivElement> | undefined;
|
|
131
|
-
onChange?: import("react").FormEventHandler<HTMLDivElement> | undefined;
|
|
132
|
-
onChangeCapture?: import("react").FormEventHandler<HTMLDivElement> | undefined;
|
|
133
|
-
onBeforeInput?: import("react").InputEventHandler<HTMLDivElement> | undefined;
|
|
134
|
-
onBeforeInputCapture?: import("react").FormEventHandler<HTMLDivElement> | undefined;
|
|
135
|
-
onInput?: import("react").FormEventHandler<HTMLDivElement> | undefined;
|
|
136
|
-
onInputCapture?: import("react").FormEventHandler<HTMLDivElement> | undefined;
|
|
137
|
-
onReset?: import("react").FormEventHandler<HTMLDivElement> | undefined;
|
|
138
|
-
onResetCapture?: import("react").FormEventHandler<HTMLDivElement> | undefined;
|
|
139
|
-
onSubmit?: import("react").FormEventHandler<HTMLDivElement> | undefined;
|
|
140
|
-
onSubmitCapture?: import("react").FormEventHandler<HTMLDivElement> | undefined;
|
|
141
|
-
onInvalid?: import("react").FormEventHandler<HTMLDivElement> | undefined;
|
|
142
|
-
onInvalidCapture?: import("react").FormEventHandler<HTMLDivElement> | undefined;
|
|
143
|
-
onLoad?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
144
|
-
onLoadCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
145
|
-
onError?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
146
|
-
onErrorCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
147
|
-
onKeyDown?: import("react").KeyboardEventHandler<HTMLDivElement> | undefined;
|
|
148
|
-
onKeyDownCapture?: import("react").KeyboardEventHandler<HTMLDivElement> | undefined;
|
|
149
|
-
onKeyPress?: import("react").KeyboardEventHandler<HTMLDivElement> | undefined;
|
|
150
|
-
onKeyPressCapture?: import("react").KeyboardEventHandler<HTMLDivElement> | undefined;
|
|
151
|
-
onKeyUp?: import("react").KeyboardEventHandler<HTMLDivElement> | undefined;
|
|
152
|
-
onKeyUpCapture?: import("react").KeyboardEventHandler<HTMLDivElement> | undefined;
|
|
153
|
-
onAbort?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
154
|
-
onAbortCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
155
|
-
onCanPlay?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
156
|
-
onCanPlayCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
157
|
-
onCanPlayThrough?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
158
|
-
onCanPlayThroughCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
159
|
-
onDurationChange?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
160
|
-
onDurationChangeCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
161
|
-
onEmptied?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
162
|
-
onEmptiedCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
163
|
-
onEncrypted?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
164
|
-
onEncryptedCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
165
|
-
onEnded?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
166
|
-
onEndedCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
167
|
-
onLoadedData?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
168
|
-
onLoadedDataCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
169
|
-
onLoadedMetadata?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
170
|
-
onLoadedMetadataCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
171
|
-
onLoadStart?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
172
|
-
onLoadStartCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
173
|
-
onPause?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
174
|
-
onPauseCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
175
|
-
onPlay?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
176
|
-
onPlayCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
177
|
-
onPlaying?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
178
|
-
onPlayingCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
179
|
-
onProgress?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
180
|
-
onProgressCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
181
|
-
onRateChange?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
182
|
-
onRateChangeCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
183
|
-
onSeeked?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
184
|
-
onSeekedCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
185
|
-
onSeeking?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
186
|
-
onSeekingCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
187
|
-
onStalled?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
188
|
-
onStalledCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
189
|
-
onSuspend?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
190
|
-
onSuspendCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
191
|
-
onTimeUpdate?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
192
|
-
onTimeUpdateCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
193
|
-
onVolumeChange?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
194
|
-
onVolumeChangeCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
195
|
-
onWaiting?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
196
|
-
onWaitingCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
197
|
-
onAuxClick?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
|
|
198
|
-
onAuxClickCapture?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
|
|
199
|
-
onClick?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
|
|
200
|
-
onClickCapture?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
|
|
201
|
-
onContextMenu?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
|
|
202
|
-
onContextMenuCapture?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
|
|
203
|
-
onDoubleClick?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
|
|
204
|
-
onDoubleClickCapture?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
|
|
205
|
-
onDrag?: import("react").DragEventHandler<HTMLDivElement> | undefined;
|
|
206
|
-
onDragCapture?: import("react").DragEventHandler<HTMLDivElement> | undefined;
|
|
207
|
-
onDragEnd?: import("react").DragEventHandler<HTMLDivElement> | undefined;
|
|
208
|
-
onDragEndCapture?: import("react").DragEventHandler<HTMLDivElement> | undefined;
|
|
209
|
-
onDragEnter?: import("react").DragEventHandler<HTMLDivElement> | undefined;
|
|
210
|
-
onDragEnterCapture?: import("react").DragEventHandler<HTMLDivElement> | undefined;
|
|
211
|
-
onDragExit?: import("react").DragEventHandler<HTMLDivElement> | undefined;
|
|
212
|
-
onDragExitCapture?: import("react").DragEventHandler<HTMLDivElement> | undefined;
|
|
213
|
-
onDragLeave?: import("react").DragEventHandler<HTMLDivElement> | undefined;
|
|
214
|
-
onDragLeaveCapture?: import("react").DragEventHandler<HTMLDivElement> | undefined;
|
|
215
|
-
onDragOver?: import("react").DragEventHandler<HTMLDivElement> | undefined;
|
|
216
|
-
onDragOverCapture?: import("react").DragEventHandler<HTMLDivElement> | undefined;
|
|
217
|
-
onDragStart?: import("react").DragEventHandler<HTMLDivElement> | undefined;
|
|
218
|
-
onDragStartCapture?: import("react").DragEventHandler<HTMLDivElement> | undefined;
|
|
219
|
-
onDrop?: import("react").DragEventHandler<HTMLDivElement> | undefined;
|
|
220
|
-
onDropCapture?: import("react").DragEventHandler<HTMLDivElement> | undefined;
|
|
221
|
-
onMouseDown?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
|
|
222
|
-
onMouseDownCapture?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
|
|
223
|
-
onMouseEnter?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
|
|
224
|
-
onMouseLeave?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
|
|
225
|
-
onMouseMove?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
|
|
226
|
-
onMouseMoveCapture?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
|
|
227
|
-
onMouseOut?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
|
|
228
|
-
onMouseOutCapture?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
|
|
229
|
-
onMouseOver?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
|
|
230
|
-
onMouseOverCapture?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
|
|
231
|
-
onMouseUp?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
|
|
232
|
-
onMouseUpCapture?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
|
|
233
|
-
onSelect?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
234
|
-
onSelectCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
235
|
-
onTouchCancel?: import("react").TouchEventHandler<HTMLDivElement> | undefined;
|
|
236
|
-
onTouchCancelCapture?: import("react").TouchEventHandler<HTMLDivElement> | undefined;
|
|
237
|
-
onTouchEnd?: import("react").TouchEventHandler<HTMLDivElement> | undefined;
|
|
238
|
-
onTouchEndCapture?: import("react").TouchEventHandler<HTMLDivElement> | undefined;
|
|
239
|
-
onTouchMove?: import("react").TouchEventHandler<HTMLDivElement> | undefined;
|
|
240
|
-
onTouchMoveCapture?: import("react").TouchEventHandler<HTMLDivElement> | undefined;
|
|
241
|
-
onTouchStart?: import("react").TouchEventHandler<HTMLDivElement> | undefined;
|
|
242
|
-
onTouchStartCapture?: import("react").TouchEventHandler<HTMLDivElement> | undefined;
|
|
243
|
-
onPointerDown?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
|
|
244
|
-
onPointerDownCapture?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
|
|
245
|
-
onPointerMove?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
|
|
246
|
-
onPointerMoveCapture?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
|
|
247
|
-
onPointerUp?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
|
|
248
|
-
onPointerUpCapture?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
|
|
249
|
-
onPointerCancel?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
|
|
250
|
-
onPointerCancelCapture?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
|
|
251
|
-
onPointerEnter?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
|
|
252
|
-
onPointerLeave?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
|
|
253
|
-
onPointerOver?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
|
|
254
|
-
onPointerOverCapture?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
|
|
255
|
-
onPointerOut?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
|
|
256
|
-
onPointerOutCapture?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
|
|
257
|
-
onGotPointerCapture?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
|
|
258
|
-
onGotPointerCaptureCapture?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
|
|
259
|
-
onLostPointerCapture?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
|
|
260
|
-
onLostPointerCaptureCapture?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
|
|
261
|
-
onScroll?: import("react").UIEventHandler<HTMLDivElement> | undefined;
|
|
262
|
-
onScrollCapture?: import("react").UIEventHandler<HTMLDivElement> | undefined;
|
|
263
|
-
onScrollEnd?: import("react").UIEventHandler<HTMLDivElement> | undefined;
|
|
264
|
-
onScrollEndCapture?: import("react").UIEventHandler<HTMLDivElement> | undefined;
|
|
265
|
-
onWheel?: import("react").WheelEventHandler<HTMLDivElement> | undefined;
|
|
266
|
-
onWheelCapture?: import("react").WheelEventHandler<HTMLDivElement> | undefined;
|
|
267
|
-
onAnimationStart?: import("react").AnimationEventHandler<HTMLDivElement> | undefined;
|
|
268
|
-
onAnimationStartCapture?: import("react").AnimationEventHandler<HTMLDivElement> | undefined;
|
|
269
|
-
onAnimationEnd?: import("react").AnimationEventHandler<HTMLDivElement> | undefined;
|
|
270
|
-
onAnimationEndCapture?: import("react").AnimationEventHandler<HTMLDivElement> | undefined;
|
|
271
|
-
onAnimationIteration?: import("react").AnimationEventHandler<HTMLDivElement> | undefined;
|
|
272
|
-
onAnimationIterationCapture?: import("react").AnimationEventHandler<HTMLDivElement> | undefined;
|
|
273
|
-
onToggle?: import("react").ToggleEventHandler<HTMLDivElement> | undefined;
|
|
274
|
-
onBeforeToggle?: import("react").ToggleEventHandler<HTMLDivElement> | undefined;
|
|
275
|
-
onTransitionCancel?: import("react").TransitionEventHandler<HTMLDivElement> | undefined;
|
|
276
|
-
onTransitionCancelCapture?: import("react").TransitionEventHandler<HTMLDivElement> | undefined;
|
|
277
|
-
onTransitionEnd?: import("react").TransitionEventHandler<HTMLDivElement> | undefined;
|
|
278
|
-
onTransitionEndCapture?: import("react").TransitionEventHandler<HTMLDivElement> | undefined;
|
|
279
|
-
onTransitionRun?: import("react").TransitionEventHandler<HTMLDivElement> | undefined;
|
|
280
|
-
onTransitionRunCapture?: import("react").TransitionEventHandler<HTMLDivElement> | undefined;
|
|
281
|
-
onTransitionStart?: import("react").TransitionEventHandler<HTMLDivElement> | undefined;
|
|
282
|
-
onTransitionStartCapture?: import("react").TransitionEventHandler<HTMLDivElement> | undefined;
|
|
1
|
+
declare const ExtendedTooltip: import("react").ForwardRefExoticComponent<(Omit<import("@heroui/system-rsc").OmitCommonProps<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">, keyof import("@heroui/tooltip").TooltipProps> & import("@heroui/tooltip").TooltipProps & {
|
|
2
|
+
as?: import("@heroui/system-rsc").As<any> | undefined;
|
|
3
|
+
} & {
|
|
283
4
|
size?: "sm" | "md" | "lg" | undefined;
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
isDisabled?: boolean | undefined;
|
|
287
|
-
disableAnimation?: boolean | undefined;
|
|
5
|
+
color?: "default" | undefined;
|
|
6
|
+
}, "ref"> | Omit<import("@heroui/system-rsc").OmitCommonProps<Omit<Omit<any, "ref">, never>, keyof import("@heroui/tooltip").TooltipProps> & import("@heroui/tooltip").TooltipProps & {
|
|
288
7
|
as?: import("@heroui/system-rsc").As<any> | undefined;
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
isOpen?: boolean | undefined;
|
|
294
|
-
placement?: import("@heroui/aria-utils").OverlayPlacement | undefined;
|
|
295
|
-
containerPadding?: number | undefined;
|
|
296
|
-
offset?: number | undefined;
|
|
297
|
-
crossOffset?: number | undefined;
|
|
298
|
-
shouldFlip?: boolean | undefined;
|
|
299
|
-
isKeyboardDismissDisabled?: boolean | undefined;
|
|
300
|
-
shouldCloseOnInteractOutside?: ((element: Element) => boolean) | undefined;
|
|
301
|
-
isDismissable?: boolean | undefined;
|
|
302
|
-
showArrow?: boolean | undefined;
|
|
303
|
-
updatePositionDeps?: any[] | undefined;
|
|
304
|
-
shadow?: "sm" | "md" | "lg" | "none" | undefined;
|
|
305
|
-
triggerScaleOnOpen?: boolean | undefined;
|
|
306
|
-
isTriggerDisabled?: boolean | undefined;
|
|
307
|
-
motionProps?: Omit<import("framer-motion").HTMLMotionProps<"div">, "ref"> | undefined;
|
|
308
|
-
portalContainer?: Element | undefined;
|
|
309
|
-
defaultOpen?: boolean | undefined;
|
|
310
|
-
trigger?: "focus" | undefined;
|
|
311
|
-
delay?: number | undefined;
|
|
312
|
-
closeDelay?: number | undefined;
|
|
313
|
-
}, "ref"> & import("react").RefAttributes<import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>>>;
|
|
8
|
+
} & {
|
|
9
|
+
size?: "sm" | "md" | "lg" | undefined;
|
|
10
|
+
color?: "default" | undefined;
|
|
11
|
+
}, "ref">) & import("react").RefAttributes<HTMLElement>>;
|
|
314
12
|
export default ExtendedTooltip;
|
|
@@ -21,10 +21,12 @@ export * from './UXPagination';
|
|
|
21
21
|
export * from './UXPopover';
|
|
22
22
|
export * from './UXRadio';
|
|
23
23
|
export * from './UXSelect';
|
|
24
|
+
export * from './UXSlider';
|
|
24
25
|
export * from './UXSpinner';
|
|
25
26
|
export * from './UXSwitch';
|
|
26
27
|
export * from './UXTable';
|
|
27
28
|
export * from './UXTabs';
|
|
29
|
+
export * from './UXTabSwitch';
|
|
28
30
|
export * from './UXTextarea';
|
|
29
31
|
export * from './UXThemeSwitch';
|
|
30
32
|
export * from './UXToast';
|
package/dist/components/index.js
CHANGED
|
@@ -21,10 +21,12 @@ export * from "./UXPagination/index.js";
|
|
|
21
21
|
export * from "./UXPopover/index.js";
|
|
22
22
|
export * from "./UXRadio/index.js";
|
|
23
23
|
export * from "./UXSelect/index.js";
|
|
24
|
+
export * from "./UXSlider/index.js";
|
|
24
25
|
export * from "./UXSpinner/index.js";
|
|
25
26
|
export * from "./UXSwitch/index.js";
|
|
26
27
|
export * from "./UXTable/index.js";
|
|
27
28
|
export * from "./UXTabs/index.js";
|
|
29
|
+
export * from "./UXTabSwitch/index.js";
|
|
28
30
|
export * from "./UXTextarea/index.js";
|
|
29
31
|
export * from "./UXThemeSwitch/index.js";
|
|
30
32
|
export * from "./UXToast/index.js";
|
|
@@ -75,20 +75,6 @@ export interface TextProps extends React.HTMLAttributes<HTMLSpanElement> {
|
|
|
75
75
|
* | extrabold | 800 |
|
|
76
76
|
*/
|
|
77
77
|
fontWeight?: TextWeight;
|
|
78
|
-
/**
|
|
79
|
-
* | color | dark | light |
|
|
80
|
-
* | :--------- | :-------- | :-------- |
|
|
81
|
-
* | default | - | - |
|
|
82
|
-
* | foreground | #FFFFFF | #000000 |
|
|
83
|
-
* | secondary | #A1A1AA | #767A80 |
|
|
84
|
-
* | tertiary | #4E4E56 | #D8D8DE |
|
|
85
|
-
* | primary | #D745FF | #000000 |
|
|
86
|
-
* | success | #45B167 | #2E9F4A |
|
|
87
|
-
* | danger | #E84A5A | #DE4A40 |
|
|
88
|
-
* | alert | #F57733 | #E65E16 |
|
|
89
|
-
* | warning | #FF9821 | #FF9821 |
|
|
90
|
-
* | gold | #FFB800 | #F38300 |
|
|
91
|
-
*/
|
|
92
78
|
color?: UXForegroundColor | `#${string}`;
|
|
93
79
|
lineHeight?: TextLineHeight;
|
|
94
80
|
align?: TextAlign;
|
package/dist/hooks/useI18n.d.ts
CHANGED
package/dist/hooks/useI18n.js
CHANGED
|
@@ -24,6 +24,10 @@ const en = {
|
|
|
24
24
|
hide: 'Hide example'
|
|
25
25
|
}
|
|
26
26
|
}
|
|
27
|
+
},
|
|
28
|
+
switch: {
|
|
29
|
+
on: 'On',
|
|
30
|
+
off: 'Off'
|
|
27
31
|
}
|
|
28
32
|
};
|
|
29
33
|
const zh = {
|
|
@@ -51,6 +55,10 @@ const zh = {
|
|
|
51
55
|
hide: '隐藏示例'
|
|
52
56
|
}
|
|
53
57
|
}
|
|
58
|
+
},
|
|
59
|
+
switch: {
|
|
60
|
+
on: '开',
|
|
61
|
+
off: '关'
|
|
54
62
|
}
|
|
55
63
|
};
|
|
56
64
|
const useI18n = ()=>{
|
package/dist/utils/classes.d.ts
CHANGED
|
@@ -33,3 +33,14 @@ export declare const collapseAdjacentVariantBorders: {
|
|
|
33
33
|
bearish: string[];
|
|
34
34
|
};
|
|
35
35
|
export declare const hiddenInputClasses: string[];
|
|
36
|
+
export declare const bgWithTextColorClasses: {
|
|
37
|
+
readonly foreground: "bg-foreground text-background";
|
|
38
|
+
readonly primary: "bg-primary text-primary-foreground";
|
|
39
|
+
readonly secondary: "bg-secondary text-secondary-foreground";
|
|
40
|
+
readonly success: "bg-success text-success-foreground";
|
|
41
|
+
readonly warning: "bg-warning text-warning-foreground";
|
|
42
|
+
readonly alert: "bg-alert text-alert-foreground";
|
|
43
|
+
readonly danger: "bg-danger text-danger-foreground";
|
|
44
|
+
readonly bullish: "bg-bullish text-bullish-foreground";
|
|
45
|
+
readonly bearish: "bg-bearish text-bearish-foreground";
|
|
46
|
+
};
|
package/dist/utils/classes.js
CHANGED
|
@@ -84,4 +84,15 @@ const hiddenInputClasses = [
|
|
|
84
84
|
'cursor-pointer',
|
|
85
85
|
'disabled:cursor-default'
|
|
86
86
|
];
|
|
87
|
-
|
|
87
|
+
const bgWithTextColorClasses = {
|
|
88
|
+
foreground: 'bg-foreground text-background',
|
|
89
|
+
primary: 'bg-primary text-primary-foreground',
|
|
90
|
+
secondary: 'bg-secondary text-secondary-foreground',
|
|
91
|
+
success: 'bg-success text-success-foreground',
|
|
92
|
+
warning: 'bg-warning text-warning-foreground',
|
|
93
|
+
alert: 'bg-alert text-alert-foreground',
|
|
94
|
+
danger: 'bg-danger text-danger-foreground',
|
|
95
|
+
bullish: 'bg-bullish text-bullish-foreground',
|
|
96
|
+
bearish: 'bg-bearish text-bearish-foreground'
|
|
97
|
+
};
|
|
98
|
+
export { absoluteFullClasses, baseStyles, bgWithTextColorClasses, collapseAdjacentVariantBorders, dataFocusVisibleClasses, focusVisibleClasses, groupDataFocusVisibleClasses, hiddenInputClasses, ringClasses, translateCenterClasses };
|
|
@@ -8,6 +8,7 @@ export declare const inputClasses: {
|
|
|
8
8
|
isDisabled: boolean;
|
|
9
9
|
hideStepper: boolean;
|
|
10
10
|
textAlign: string;
|
|
11
|
+
isColorText: boolean;
|
|
11
12
|
};
|
|
12
13
|
variants: {
|
|
13
14
|
variant: {
|
|
@@ -29,10 +30,13 @@ export declare const inputClasses: {
|
|
|
29
30
|
input: string;
|
|
30
31
|
};
|
|
31
32
|
};
|
|
33
|
+
isColorText: {
|
|
34
|
+
true: {};
|
|
35
|
+
false: {};
|
|
36
|
+
};
|
|
32
37
|
color: {
|
|
33
38
|
default: {
|
|
34
39
|
inputWrapper: string;
|
|
35
|
-
input: string;
|
|
36
40
|
};
|
|
37
41
|
primary: {
|
|
38
42
|
inputWrapper: string;
|
|
@@ -40,7 +44,6 @@ export declare const inputClasses: {
|
|
|
40
44
|
};
|
|
41
45
|
secondary: {
|
|
42
46
|
inputWrapper: string;
|
|
43
|
-
input: string;
|
|
44
47
|
};
|
|
45
48
|
success: {
|
|
46
49
|
inputWrapper: string;
|
|
@@ -166,6 +169,7 @@ export declare const inputClasses: {
|
|
|
166
169
|
variant?: undefined;
|
|
167
170
|
color?: undefined;
|
|
168
171
|
isInvalid?: undefined;
|
|
172
|
+
isColorText?: undefined;
|
|
169
173
|
labelPlacement?: undefined;
|
|
170
174
|
radius?: undefined;
|
|
171
175
|
disableAnimation?: undefined;
|
|
@@ -182,6 +186,7 @@ export declare const inputClasses: {
|
|
|
182
186
|
stepperButton?: undefined;
|
|
183
187
|
};
|
|
184
188
|
size?: undefined;
|
|
189
|
+
isColorText?: undefined;
|
|
185
190
|
labelPlacement?: undefined;
|
|
186
191
|
radius?: undefined;
|
|
187
192
|
disableAnimation?: undefined;
|
|
@@ -198,6 +203,24 @@ export declare const inputClasses: {
|
|
|
198
203
|
stepperButton?: undefined;
|
|
199
204
|
};
|
|
200
205
|
size?: undefined;
|
|
206
|
+
isColorText?: undefined;
|
|
207
|
+
labelPlacement?: undefined;
|
|
208
|
+
radius?: undefined;
|
|
209
|
+
disableAnimation?: undefined;
|
|
210
|
+
isMultiline?: undefined;
|
|
211
|
+
} | {
|
|
212
|
+
isColorText: boolean;
|
|
213
|
+
color: string;
|
|
214
|
+
class: {
|
|
215
|
+
input: string;
|
|
216
|
+
inputWrapper?: undefined;
|
|
217
|
+
label?: undefined;
|
|
218
|
+
innerWrapper?: undefined;
|
|
219
|
+
stepperButton?: undefined;
|
|
220
|
+
};
|
|
221
|
+
size?: undefined;
|
|
222
|
+
variant?: undefined;
|
|
223
|
+
isInvalid?: undefined;
|
|
201
224
|
labelPlacement?: undefined;
|
|
202
225
|
radius?: undefined;
|
|
203
226
|
disableAnimation?: undefined;
|
|
@@ -215,6 +238,7 @@ export declare const inputClasses: {
|
|
|
215
238
|
size?: undefined;
|
|
216
239
|
variant?: undefined;
|
|
217
240
|
isInvalid?: undefined;
|
|
241
|
+
isColorText?: undefined;
|
|
218
242
|
radius?: undefined;
|
|
219
243
|
disableAnimation?: undefined;
|
|
220
244
|
isMultiline?: undefined;
|
|
@@ -231,6 +255,7 @@ export declare const inputClasses: {
|
|
|
231
255
|
variant?: undefined;
|
|
232
256
|
color?: undefined;
|
|
233
257
|
isInvalid?: undefined;
|
|
258
|
+
isColorText?: undefined;
|
|
234
259
|
labelPlacement?: undefined;
|
|
235
260
|
disableAnimation?: undefined;
|
|
236
261
|
isMultiline?: undefined;
|
|
@@ -247,6 +272,7 @@ export declare const inputClasses: {
|
|
|
247
272
|
variant?: undefined;
|
|
248
273
|
color?: undefined;
|
|
249
274
|
isInvalid?: undefined;
|
|
275
|
+
isColorText?: undefined;
|
|
250
276
|
labelPlacement?: undefined;
|
|
251
277
|
disableAnimation?: undefined;
|
|
252
278
|
isMultiline?: undefined;
|
|
@@ -263,6 +289,7 @@ export declare const inputClasses: {
|
|
|
263
289
|
size?: undefined;
|
|
264
290
|
color?: undefined;
|
|
265
291
|
isInvalid?: undefined;
|
|
292
|
+
isColorText?: undefined;
|
|
266
293
|
labelPlacement?: undefined;
|
|
267
294
|
radius?: undefined;
|
|
268
295
|
isMultiline?: undefined;
|
|
@@ -279,6 +306,7 @@ export declare const inputClasses: {
|
|
|
279
306
|
variant?: undefined;
|
|
280
307
|
color?: undefined;
|
|
281
308
|
isInvalid?: undefined;
|
|
309
|
+
isColorText?: undefined;
|
|
282
310
|
radius?: undefined;
|
|
283
311
|
disableAnimation?: undefined;
|
|
284
312
|
isMultiline?: undefined;
|
|
@@ -295,6 +323,7 @@ export declare const inputClasses: {
|
|
|
295
323
|
};
|
|
296
324
|
color?: undefined;
|
|
297
325
|
isInvalid?: undefined;
|
|
326
|
+
isColorText?: undefined;
|
|
298
327
|
radius?: undefined;
|
|
299
328
|
disableAnimation?: undefined;
|
|
300
329
|
isMultiline?: undefined;
|
|
@@ -311,6 +340,7 @@ export declare const inputClasses: {
|
|
|
311
340
|
variant?: undefined;
|
|
312
341
|
color?: undefined;
|
|
313
342
|
isInvalid?: undefined;
|
|
343
|
+
isColorText?: undefined;
|
|
314
344
|
radius?: undefined;
|
|
315
345
|
disableAnimation?: undefined;
|
|
316
346
|
isMultiline?: undefined;
|
|
@@ -327,6 +357,7 @@ export declare const inputClasses: {
|
|
|
327
357
|
variant?: undefined;
|
|
328
358
|
color?: undefined;
|
|
329
359
|
isInvalid?: undefined;
|
|
360
|
+
isColorText?: undefined;
|
|
330
361
|
radius?: undefined;
|
|
331
362
|
disableAnimation?: undefined;
|
|
332
363
|
isMultiline?: undefined;
|
|
@@ -343,6 +374,7 @@ export declare const inputClasses: {
|
|
|
343
374
|
size?: undefined;
|
|
344
375
|
color?: undefined;
|
|
345
376
|
isInvalid?: undefined;
|
|
377
|
+
isColorText?: undefined;
|
|
346
378
|
radius?: undefined;
|
|
347
379
|
disableAnimation?: undefined;
|
|
348
380
|
isMultiline?: undefined;
|
|
@@ -359,6 +391,7 @@ export declare const inputClasses: {
|
|
|
359
391
|
variant?: undefined;
|
|
360
392
|
color?: undefined;
|
|
361
393
|
isInvalid?: undefined;
|
|
394
|
+
isColorText?: undefined;
|
|
362
395
|
radius?: undefined;
|
|
363
396
|
disableAnimation?: undefined;
|
|
364
397
|
isMultiline?: undefined;
|
|
@@ -375,6 +408,7 @@ export declare const inputClasses: {
|
|
|
375
408
|
};
|
|
376
409
|
color?: undefined;
|
|
377
410
|
isInvalid?: undefined;
|
|
411
|
+
isColorText?: undefined;
|
|
378
412
|
radius?: undefined;
|
|
379
413
|
disableAnimation?: undefined;
|
|
380
414
|
isMultiline?: undefined;
|
|
@@ -392,6 +426,7 @@ export declare const inputClasses: {
|
|
|
392
426
|
};
|
|
393
427
|
color?: undefined;
|
|
394
428
|
isInvalid?: undefined;
|
|
429
|
+
isColorText?: undefined;
|
|
395
430
|
radius?: undefined;
|
|
396
431
|
disableAnimation?: undefined;
|
|
397
432
|
})[];
|