@particle-network/ui-react 0.1.3-beta.7 → 0.1.4-beta.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.
@@ -1,302 +1,7 @@
1
1
  import React from 'react';
2
2
  import ExtendedChip from './chip.extend';
3
3
  export type UXChipProps = React.ComponentPropsWithRef<typeof ExtendedChip>;
4
- declare const UXChip: React.ForwardRefExoticComponent<Omit<Omit<{
5
- ref?: import("@heroui/react-utils").ReactRef<HTMLDivElement | null> | undefined;
6
- children?: React.ReactNode;
7
- defaultChecked?: any;
8
- defaultValue?: any;
9
- suppressContentEditableWarning?: boolean | undefined;
10
- suppressHydrationWarning?: boolean | undefined;
11
- accessKey?: string | undefined;
12
- autoCapitalize?: "off" | "none" | "on" | "sentences" | "words" | "characters" | (string & {}) | undefined;
13
- autoFocus?: boolean | undefined;
14
- className?: string | undefined;
15
- contentEditable?: (boolean | "true" | "false") | "inherit" | "plaintext-only" | undefined;
16
- contextMenu?: string | undefined;
17
- dir?: string | undefined;
18
- draggable?: (boolean | "true" | "false") | undefined;
19
- enterKeyHint?: "search" | "enter" | "done" | "go" | "next" | "previous" | "send" | undefined;
20
- hidden?: boolean | undefined;
21
- id?: string | undefined;
22
- lang?: string | undefined;
23
- nonce?: string | undefined;
24
- slot?: any;
25
- spellCheck?: (boolean | "true" | "false") | undefined;
26
- style?: React.CSSProperties | undefined;
27
- tabIndex?: number | undefined;
28
- title?: string | undefined;
29
- translate?: "yes" | "no" | undefined;
30
- radioGroup?: string | undefined;
31
- role?: React.AriaRole | undefined;
32
- about?: string | undefined;
33
- content?: string | undefined;
34
- datatype?: string | undefined;
35
- inlist?: any;
36
- prefix?: string | undefined;
37
- property?: string | undefined;
38
- rel?: string | undefined;
39
- resource?: string | undefined;
40
- rev?: string | undefined;
41
- typeof?: string | undefined;
42
- vocab?: string | undefined;
43
- autoCorrect?: string | undefined;
44
- autoSave?: string | undefined;
45
- color?: "default" | "secondary" | "primary" | "success" | "danger" | "warning" | "bullish" | "bearish" | undefined;
46
- itemProp?: string | undefined;
47
- itemScope?: boolean | undefined;
48
- itemType?: string | undefined;
49
- itemID?: string | undefined;
50
- itemRef?: string | undefined;
51
- results?: number | undefined;
52
- security?: string | undefined;
53
- unselectable?: "off" | "on" | undefined;
54
- popover?: "" | "auto" | "manual" | undefined;
55
- popoverTargetAction?: "toggle" | "show" | "hide" | undefined;
56
- popoverTarget?: string | undefined;
57
- inert?: boolean | undefined;
58
- inputMode?: "search" | "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
59
- is?: string | undefined;
60
- exportparts?: string | undefined;
61
- part?: string | undefined;
62
- "aria-activedescendant"?: string | undefined;
63
- "aria-atomic"?: (boolean | "true" | "false") | undefined;
64
- "aria-autocomplete"?: "none" | "list" | "inline" | "both" | undefined;
65
- "aria-braillelabel"?: string | undefined;
66
- "aria-brailleroledescription"?: string | undefined;
67
- "aria-busy"?: (boolean | "true" | "false") | undefined;
68
- "aria-checked"?: boolean | "true" | "false" | "mixed" | undefined;
69
- "aria-colcount"?: number | undefined;
70
- "aria-colindex"?: number | undefined;
71
- "aria-colindextext"?: string | undefined;
72
- "aria-colspan"?: number | undefined;
73
- "aria-controls"?: string | undefined;
74
- "aria-current"?: boolean | "true" | "false" | "page" | "step" | "location" | "date" | "time" | undefined;
75
- "aria-describedby"?: string | undefined;
76
- "aria-description"?: string | undefined;
77
- "aria-details"?: string | undefined;
78
- "aria-disabled"?: (boolean | "true" | "false") | undefined;
79
- "aria-dropeffect"?: "link" | "none" | "copy" | "execute" | "move" | "popup" | undefined;
80
- "aria-errormessage"?: string | undefined;
81
- "aria-expanded"?: (boolean | "true" | "false") | undefined;
82
- "aria-flowto"?: string | undefined;
83
- "aria-grabbed"?: (boolean | "true" | "false") | undefined;
84
- "aria-haspopup"?: boolean | "true" | "false" | "dialog" | "grid" | "listbox" | "menu" | "tree" | undefined;
85
- "aria-hidden"?: (boolean | "true" | "false") | undefined;
86
- "aria-invalid"?: boolean | "true" | "false" | "grammar" | "spelling" | undefined;
87
- "aria-keyshortcuts"?: string | undefined;
88
- "aria-label"?: string | undefined;
89
- "aria-labelledby"?: string | undefined;
90
- "aria-level"?: number | undefined;
91
- "aria-live"?: "off" | "assertive" | "polite" | undefined;
92
- "aria-modal"?: (boolean | "true" | "false") | undefined;
93
- "aria-multiline"?: (boolean | "true" | "false") | undefined;
94
- "aria-multiselectable"?: (boolean | "true" | "false") | undefined;
95
- "aria-orientation"?: "vertical" | "horizontal" | undefined;
96
- "aria-owns"?: string | undefined;
97
- "aria-placeholder"?: string | undefined;
98
- "aria-posinset"?: number | undefined;
99
- "aria-pressed"?: boolean | "true" | "false" | "mixed" | undefined;
100
- "aria-readonly"?: (boolean | "true" | "false") | undefined;
101
- "aria-relevant"?: "text" | "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals" | undefined;
102
- "aria-required"?: (boolean | "true" | "false") | undefined;
103
- "aria-roledescription"?: string | undefined;
104
- "aria-rowcount"?: number | undefined;
105
- "aria-rowindex"?: number | undefined;
106
- "aria-rowindextext"?: string | undefined;
107
- "aria-rowspan"?: number | undefined;
108
- "aria-selected"?: (boolean | "true" | "false") | undefined;
109
- "aria-setsize"?: number | undefined;
110
- "aria-sort"?: "none" | "ascending" | "descending" | "other" | undefined;
111
- "aria-valuemax"?: number | undefined;
112
- "aria-valuemin"?: number | undefined;
113
- "aria-valuenow"?: number | undefined;
114
- "aria-valuetext"?: string | undefined;
115
- dangerouslySetInnerHTML?: {
116
- __html: string | TrustedHTML;
117
- } | undefined;
118
- onCopy?: React.ClipboardEventHandler<HTMLDivElement> | undefined;
119
- onCopyCapture?: React.ClipboardEventHandler<HTMLDivElement> | undefined;
120
- onCut?: React.ClipboardEventHandler<HTMLDivElement> | undefined;
121
- onCutCapture?: React.ClipboardEventHandler<HTMLDivElement> | undefined;
122
- onPaste?: React.ClipboardEventHandler<HTMLDivElement> | undefined;
123
- onPasteCapture?: React.ClipboardEventHandler<HTMLDivElement> | undefined;
124
- onCompositionEnd?: React.CompositionEventHandler<HTMLDivElement> | undefined;
125
- onCompositionEndCapture?: React.CompositionEventHandler<HTMLDivElement> | undefined;
126
- onCompositionStart?: React.CompositionEventHandler<HTMLDivElement> | undefined;
127
- onCompositionStartCapture?: React.CompositionEventHandler<HTMLDivElement> | undefined;
128
- onCompositionUpdate?: React.CompositionEventHandler<HTMLDivElement> | undefined;
129
- onCompositionUpdateCapture?: React.CompositionEventHandler<HTMLDivElement> | undefined;
130
- onFocus?: React.FocusEventHandler<HTMLDivElement> | undefined;
131
- onFocusCapture?: React.FocusEventHandler<HTMLDivElement> | undefined;
132
- onBlur?: React.FocusEventHandler<HTMLDivElement> | undefined;
133
- onBlurCapture?: React.FocusEventHandler<HTMLDivElement> | undefined;
134
- onChange?: React.FormEventHandler<HTMLDivElement> | undefined;
135
- onChangeCapture?: React.FormEventHandler<HTMLDivElement> | undefined;
136
- onBeforeInput?: React.InputEventHandler<HTMLDivElement> | undefined;
137
- onBeforeInputCapture?: React.FormEventHandler<HTMLDivElement> | undefined;
138
- onInput?: React.FormEventHandler<HTMLDivElement> | undefined;
139
- onInputCapture?: React.FormEventHandler<HTMLDivElement> | undefined;
140
- onReset?: React.FormEventHandler<HTMLDivElement> | undefined;
141
- onResetCapture?: React.FormEventHandler<HTMLDivElement> | undefined;
142
- onSubmit?: React.FormEventHandler<HTMLDivElement> | undefined;
143
- onSubmitCapture?: React.FormEventHandler<HTMLDivElement> | undefined;
144
- onInvalid?: React.FormEventHandler<HTMLDivElement> | undefined;
145
- onInvalidCapture?: React.FormEventHandler<HTMLDivElement> | undefined;
146
- onLoad?: React.ReactEventHandler<HTMLDivElement> | undefined;
147
- onLoadCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
148
- onError?: React.ReactEventHandler<HTMLDivElement> | undefined;
149
- onErrorCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
150
- onKeyDown?: React.KeyboardEventHandler<HTMLDivElement> | undefined;
151
- onKeyDownCapture?: React.KeyboardEventHandler<HTMLDivElement> | undefined;
152
- onKeyPress?: React.KeyboardEventHandler<HTMLDivElement> | undefined;
153
- onKeyPressCapture?: React.KeyboardEventHandler<HTMLDivElement> | undefined;
154
- onKeyUp?: React.KeyboardEventHandler<HTMLDivElement> | undefined;
155
- onKeyUpCapture?: React.KeyboardEventHandler<HTMLDivElement> | undefined;
156
- onAbort?: React.ReactEventHandler<HTMLDivElement> | undefined;
157
- onAbortCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
158
- onCanPlay?: React.ReactEventHandler<HTMLDivElement> | undefined;
159
- onCanPlayCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
160
- onCanPlayThrough?: React.ReactEventHandler<HTMLDivElement> | undefined;
161
- onCanPlayThroughCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
162
- onDurationChange?: React.ReactEventHandler<HTMLDivElement> | undefined;
163
- onDurationChangeCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
164
- onEmptied?: React.ReactEventHandler<HTMLDivElement> | undefined;
165
- onEmptiedCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
166
- onEncrypted?: React.ReactEventHandler<HTMLDivElement> | undefined;
167
- onEncryptedCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
168
- onEnded?: React.ReactEventHandler<HTMLDivElement> | undefined;
169
- onEndedCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
170
- onLoadedData?: React.ReactEventHandler<HTMLDivElement> | undefined;
171
- onLoadedDataCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
172
- onLoadedMetadata?: React.ReactEventHandler<HTMLDivElement> | undefined;
173
- onLoadedMetadataCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
174
- onLoadStart?: React.ReactEventHandler<HTMLDivElement> | undefined;
175
- onLoadStartCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
176
- onPause?: React.ReactEventHandler<HTMLDivElement> | undefined;
177
- onPauseCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
178
- onPlay?: React.ReactEventHandler<HTMLDivElement> | undefined;
179
- onPlayCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
180
- onPlaying?: React.ReactEventHandler<HTMLDivElement> | undefined;
181
- onPlayingCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
182
- onProgress?: React.ReactEventHandler<HTMLDivElement> | undefined;
183
- onProgressCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
184
- onRateChange?: React.ReactEventHandler<HTMLDivElement> | undefined;
185
- onRateChangeCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
186
- onSeeked?: React.ReactEventHandler<HTMLDivElement> | undefined;
187
- onSeekedCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
188
- onSeeking?: React.ReactEventHandler<HTMLDivElement> | undefined;
189
- onSeekingCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
190
- onStalled?: React.ReactEventHandler<HTMLDivElement> | undefined;
191
- onStalledCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
192
- onSuspend?: React.ReactEventHandler<HTMLDivElement> | undefined;
193
- onSuspendCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
194
- onTimeUpdate?: React.ReactEventHandler<HTMLDivElement> | undefined;
195
- onTimeUpdateCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
196
- onVolumeChange?: React.ReactEventHandler<HTMLDivElement> | undefined;
197
- onVolumeChangeCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
198
- onWaiting?: React.ReactEventHandler<HTMLDivElement> | undefined;
199
- onWaitingCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
200
- onAuxClick?: React.MouseEventHandler<HTMLDivElement> | undefined;
201
- onAuxClickCapture?: React.MouseEventHandler<HTMLDivElement> | undefined;
202
- onClick?: React.MouseEventHandler<HTMLDivElement> | undefined;
203
- onClickCapture?: React.MouseEventHandler<HTMLDivElement> | undefined;
204
- onContextMenu?: React.MouseEventHandler<HTMLDivElement> | undefined;
205
- onContextMenuCapture?: React.MouseEventHandler<HTMLDivElement> | undefined;
206
- onDoubleClick?: React.MouseEventHandler<HTMLDivElement> | undefined;
207
- onDoubleClickCapture?: React.MouseEventHandler<HTMLDivElement> | undefined;
208
- onDrag?: React.DragEventHandler<HTMLDivElement> | undefined;
209
- onDragCapture?: React.DragEventHandler<HTMLDivElement> | undefined;
210
- onDragEnd?: React.DragEventHandler<HTMLDivElement> | undefined;
211
- onDragEndCapture?: React.DragEventHandler<HTMLDivElement> | undefined;
212
- onDragEnter?: React.DragEventHandler<HTMLDivElement> | undefined;
213
- onDragEnterCapture?: React.DragEventHandler<HTMLDivElement> | undefined;
214
- onDragExit?: React.DragEventHandler<HTMLDivElement> | undefined;
215
- onDragExitCapture?: React.DragEventHandler<HTMLDivElement> | undefined;
216
- onDragLeave?: React.DragEventHandler<HTMLDivElement> | undefined;
217
- onDragLeaveCapture?: React.DragEventHandler<HTMLDivElement> | undefined;
218
- onDragOver?: React.DragEventHandler<HTMLDivElement> | undefined;
219
- onDragOverCapture?: React.DragEventHandler<HTMLDivElement> | undefined;
220
- onDragStart?: React.DragEventHandler<HTMLDivElement> | undefined;
221
- onDragStartCapture?: React.DragEventHandler<HTMLDivElement> | undefined;
222
- onDrop?: React.DragEventHandler<HTMLDivElement> | undefined;
223
- onDropCapture?: React.DragEventHandler<HTMLDivElement> | undefined;
224
- onMouseDown?: React.MouseEventHandler<HTMLDivElement> | undefined;
225
- onMouseDownCapture?: React.MouseEventHandler<HTMLDivElement> | undefined;
226
- onMouseEnter?: React.MouseEventHandler<HTMLDivElement> | undefined;
227
- onMouseLeave?: React.MouseEventHandler<HTMLDivElement> | undefined;
228
- onMouseMove?: React.MouseEventHandler<HTMLDivElement> | undefined;
229
- onMouseMoveCapture?: React.MouseEventHandler<HTMLDivElement> | undefined;
230
- onMouseOut?: React.MouseEventHandler<HTMLDivElement> | undefined;
231
- onMouseOutCapture?: React.MouseEventHandler<HTMLDivElement> | undefined;
232
- onMouseOver?: React.MouseEventHandler<HTMLDivElement> | undefined;
233
- onMouseOverCapture?: React.MouseEventHandler<HTMLDivElement> | undefined;
234
- onMouseUp?: React.MouseEventHandler<HTMLDivElement> | undefined;
235
- onMouseUpCapture?: React.MouseEventHandler<HTMLDivElement> | undefined;
236
- onSelect?: React.ReactEventHandler<HTMLDivElement> | undefined;
237
- onSelectCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
238
- onTouchCancel?: React.TouchEventHandler<HTMLDivElement> | undefined;
239
- onTouchCancelCapture?: React.TouchEventHandler<HTMLDivElement> | undefined;
240
- onTouchEnd?: React.TouchEventHandler<HTMLDivElement> | undefined;
241
- onTouchEndCapture?: React.TouchEventHandler<HTMLDivElement> | undefined;
242
- onTouchMove?: React.TouchEventHandler<HTMLDivElement> | undefined;
243
- onTouchMoveCapture?: React.TouchEventHandler<HTMLDivElement> | undefined;
244
- onTouchStart?: React.TouchEventHandler<HTMLDivElement> | undefined;
245
- onTouchStartCapture?: React.TouchEventHandler<HTMLDivElement> | undefined;
246
- onPointerDown?: React.PointerEventHandler<HTMLDivElement> | undefined;
247
- onPointerDownCapture?: React.PointerEventHandler<HTMLDivElement> | undefined;
248
- onPointerMove?: React.PointerEventHandler<HTMLDivElement> | undefined;
249
- onPointerMoveCapture?: React.PointerEventHandler<HTMLDivElement> | undefined;
250
- onPointerUp?: React.PointerEventHandler<HTMLDivElement> | undefined;
251
- onPointerUpCapture?: React.PointerEventHandler<HTMLDivElement> | undefined;
252
- onPointerCancel?: React.PointerEventHandler<HTMLDivElement> | undefined;
253
- onPointerCancelCapture?: React.PointerEventHandler<HTMLDivElement> | undefined;
254
- onPointerEnter?: React.PointerEventHandler<HTMLDivElement> | undefined;
255
- onPointerLeave?: React.PointerEventHandler<HTMLDivElement> | undefined;
256
- onPointerOver?: React.PointerEventHandler<HTMLDivElement> | undefined;
257
- onPointerOverCapture?: React.PointerEventHandler<HTMLDivElement> | undefined;
258
- onPointerOut?: React.PointerEventHandler<HTMLDivElement> | undefined;
259
- onPointerOutCapture?: React.PointerEventHandler<HTMLDivElement> | undefined;
260
- onGotPointerCapture?: React.PointerEventHandler<HTMLDivElement> | undefined;
261
- onGotPointerCaptureCapture?: React.PointerEventHandler<HTMLDivElement> | undefined;
262
- onLostPointerCapture?: React.PointerEventHandler<HTMLDivElement> | undefined;
263
- onLostPointerCaptureCapture?: React.PointerEventHandler<HTMLDivElement> | undefined;
264
- onScroll?: React.UIEventHandler<HTMLDivElement> | undefined;
265
- onScrollCapture?: React.UIEventHandler<HTMLDivElement> | undefined;
266
- onScrollEnd?: React.UIEventHandler<HTMLDivElement> | undefined;
267
- onScrollEndCapture?: React.UIEventHandler<HTMLDivElement> | undefined;
268
- onWheel?: React.WheelEventHandler<HTMLDivElement> | undefined;
269
- onWheelCapture?: React.WheelEventHandler<HTMLDivElement> | undefined;
270
- onAnimationStart?: React.AnimationEventHandler<HTMLDivElement> | undefined;
271
- onAnimationStartCapture?: React.AnimationEventHandler<HTMLDivElement> | undefined;
272
- onAnimationEnd?: React.AnimationEventHandler<HTMLDivElement> | undefined;
273
- onAnimationEndCapture?: React.AnimationEventHandler<HTMLDivElement> | undefined;
274
- onAnimationIteration?: React.AnimationEventHandler<HTMLDivElement> | undefined;
275
- onAnimationIterationCapture?: React.AnimationEventHandler<HTMLDivElement> | undefined;
276
- onToggle?: React.ToggleEventHandler<HTMLDivElement> | undefined;
277
- onBeforeToggle?: React.ToggleEventHandler<HTMLDivElement> | undefined;
278
- onTransitionCancel?: React.TransitionEventHandler<HTMLDivElement> | undefined;
279
- onTransitionCancelCapture?: React.TransitionEventHandler<HTMLDivElement> | undefined;
280
- onTransitionEnd?: React.TransitionEventHandler<HTMLDivElement> | undefined;
281
- onTransitionEndCapture?: React.TransitionEventHandler<HTMLDivElement> | undefined;
282
- onTransitionRun?: React.TransitionEventHandler<HTMLDivElement> | undefined;
283
- onTransitionRunCapture?: React.TransitionEventHandler<HTMLDivElement> | undefined;
284
- onTransitionStart?: React.TransitionEventHandler<HTMLDivElement> | undefined;
285
- onTransitionStartCapture?: React.TransitionEventHandler<HTMLDivElement> | undefined;
286
- size?: "sm" | "md" | "lg" | undefined;
287
- radius?: "sm" | "md" | "lg" | "none" | "full" | undefined;
288
- variant?: "flat" | "solid" | "light" | "dot" | "bordered" | "faded" | "shadow" | undefined;
289
- key?: React.Key | null | undefined;
290
- isDisabled?: boolean | undefined;
291
- as?: import("@heroui/system-rsc").As<any> | undefined;
292
- startContent?: React.ReactNode;
293
- endContent?: React.ReactNode;
294
- onClose?: ((e: import("@react-types/shared").PressEvent) => void) | undefined;
295
- classNames?: import("@heroui/theme").SlotsToClasses<"content" | "dot" | "base" | "closeButton" | "avatar"> | undefined;
296
- avatar?: React.ReactNode;
297
- isOneChar?: boolean | undefined;
298
- isCloseable?: boolean | undefined;
299
- hasStartContent?: boolean | undefined;
300
- hasEndContent?: boolean | undefined;
301
- }, "ref"> & React.RefAttributes<React.ReactElement<unknown, string | React.JSXElementConstructor<any>>>, "ref"> & React.RefAttributes<HTMLDivElement>>;
4
+ declare const UXChip: import("@heroui/system-rsc").InternalForwardRefRenderFunction<"div", Omit<import("@heroui/chip").ChipProps, "color"> & {
5
+ color?: "default" | "primary" | "success" | "warning" | "danger" | "bullish" | "bearish" | `#${string}`;
6
+ }, never>;
302
7
  export default UXChip;
@@ -1,10 +1,27 @@
1
1
  import { jsx } from "react/jsx-runtime";
2
- import { forwardRef } from "react";
2
+ import "react";
3
+ import { forwardRef } from "@heroui/system";
3
4
  import chip_extend from "./chip.extend.js";
4
- const UXChip = /*#__PURE__*/ forwardRef((props, ref)=>/*#__PURE__*/ jsx(chip_extend, {
5
- ...props,
6
- ref: ref
7
- }));
8
- UXChip.displayName = 'UX.Chip';
9
- const components_UXChip = UXChip;
10
- export { components_UXChip as default };
5
+ const UXChip_UXChip = forwardRef((props, ref)=>{
6
+ const { color, variant, style, ...restProps } = props;
7
+ if ('string' == typeof color && color.startsWith('#')) return /*#__PURE__*/ jsx(chip_extend, {
8
+ ref: ref,
9
+ style: {
10
+ backgroundColor: 'solid' === variant ? color : `${color}20`,
11
+ color: 'solid' === variant ? 'white' : color,
12
+ ...style
13
+ },
14
+ variant: variant,
15
+ ...restProps
16
+ });
17
+ return /*#__PURE__*/ jsx(chip_extend, {
18
+ ref: ref,
19
+ variant: variant,
20
+ color: color,
21
+ style: style,
22
+ ...restProps
23
+ });
24
+ });
25
+ UXChip_UXChip.displayName = 'UX.Chip';
26
+ const UXChip = UXChip_UXChip;
27
+ export { UXChip as default };
@@ -8,7 +8,7 @@ const UXDropdown = /*#__PURE__*/ forwardRef((props, ref)=>{
8
8
  ref: ref,
9
9
  classNames: {
10
10
  content: [
11
- 'text-tiny p-2.5 text-foreground-300 rounded-medium no-scrollbar',
11
+ 'text-tiny p-2.5 text-foreground-300 rounded-medium no-scrollbar shadow-box',
12
12
  content
13
13
  ],
14
14
  ...restClassNames
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ import { type IconProps } from '../../icons';
3
+ import { type VStackProps } from '../layout/VStack';
4
+ export interface UXEmptyProps extends VStackProps {
5
+ iconProps?: IconProps;
6
+ text?: React.ReactNode;
7
+ }
8
+ export declare const UXEmpty: import("@heroui/system-rsc").InternalForwardRefRenderFunction<"div", UXEmptyProps, never>;
@@ -0,0 +1,31 @@
1
+ import { jsx, jsxs } from "react/jsx-runtime";
2
+ import "react";
3
+ import { forwardRef } from "@heroui/system";
4
+ import { useI18n } from "../../hooks/useI18n.js";
5
+ import { EmptyIcon } from "../../icons/index.js";
6
+ import VStack from "../layout/VStack.js";
7
+ import Text from "../typography/Text.js";
8
+ const UXEmpty = forwardRef((props, ref)=>{
9
+ const i18n = useI18n();
10
+ const { text = i18n.table.emptyContent, iconProps, ...restProps } = props;
11
+ return /*#__PURE__*/ jsxs(VStack, {
12
+ ref: ref,
13
+ center: true,
14
+ gap: 4,
15
+ ...restProps,
16
+ children: [
17
+ /*#__PURE__*/ jsx(EmptyIcon, {
18
+ color: "secondary",
19
+ size: 64,
20
+ ...iconProps
21
+ }),
22
+ /*#__PURE__*/ jsx(Text, {
23
+ h2: true,
24
+ color: "secondary",
25
+ fontWeight: "normal",
26
+ children: text
27
+ })
28
+ ]
29
+ });
30
+ });
31
+ export { UXEmpty };
@@ -4,7 +4,7 @@ import { Modal, ModalBody, ModalContent, ModalFooter, ModalHeader } from "@herou
4
4
  import { Center, Circle, Flex, Text, UXButton } from "../index.js";
5
5
  import { CloseIcon } from "../../icons/index.js";
6
6
  const UXModal = /*#__PURE__*/ forwardRef((props, ref)=>{
7
- const { title, footer, backdrop = 'blur', scrollBehavior = 'inside', children, titleAlign = 'left', classNames, tip, ...restProps } = props;
7
+ const { title, footer, backdrop, scrollBehavior = 'inside', children, titleAlign = 'left', classNames, tip, ...restProps } = props;
8
8
  return /*#__PURE__*/ jsx(Modal, {
9
9
  ref: ref,
10
10
  backdrop: backdrop,
@@ -15,12 +15,15 @@ const UXModal = /*#__PURE__*/ forwardRef((props, ref)=>{
15
15
  classNames?.wrapper
16
16
  ],
17
17
  base: [
18
- 'py-6 gap-5',
18
+ 'py-6 gap-5 shadow-box',
19
19
  'max-h-[calc(100vh-48px)] max-md:m-0 max-md:rounded-b-none',
20
20
  'md:max-h-[750px]',
21
21
  classNames?.base
22
22
  ],
23
- backdrop: classNames?.backdrop,
23
+ backdrop: [
24
+ 'backdrop-blur-[1px] bg-black/50 dark:bg-black/70',
25
+ classNames?.backdrop
26
+ ],
24
27
  header: [
25
28
  'px-lg py-0 max-md:text-h3',
26
29
  'md:px-6 md:text-h2',
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ import { type PaginationProps } from '@heroui/pagination';
3
+ export declare const UXPagination: React.FC<PaginationProps>;
@@ -0,0 +1,27 @@
1
+ import { jsx } from "react/jsx-runtime";
2
+ import "react";
3
+ import { Pagination } from "@heroui/pagination";
4
+ const sizeClass = 'min-w-[30px] w-[30px] h-[30px] ';
5
+ const UXPagination = (props)=>/*#__PURE__*/ jsx(Pagination, {
6
+ showControls: true,
7
+ disableAnimation: true,
8
+ variant: "light",
9
+ classNames: {
10
+ wrapper: 'gap-0',
11
+ item: [
12
+ sizeClass,
13
+ '[&[data-active=true]]:font-bold'
14
+ ],
15
+ prev: [
16
+ sizeClass,
17
+ '[&_path]:[stroke-width:3]'
18
+ ],
19
+ next: [
20
+ sizeClass,
21
+ '[&_path]:[stroke-width:3]'
22
+ ]
23
+ },
24
+ ...props
25
+ });
26
+ UXPagination.displayName = 'UX.Pagination';
27
+ export { UXPagination };
@@ -9,8 +9,8 @@ const ExtendedPopover = extendVariants(Popover, {
9
9
  },
10
10
  color: {
11
11
  default: {
12
- base: 'before:bg-content1 before:shadow-small',
13
- content: 'bg-content1 text-foreground-300'
12
+ base: 'before:bg-content1 before:shadow-box',
13
+ content: 'bg-content1 text-foreground-300 shadow-box'
14
14
  }
15
15
  }
16
16
  },