@particle-network/ui-react 0.4.0-beta.12 → 0.4.0-beta.14

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.
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ import { type AutocompleteProps } from '@heroui/autocomplete';
3
+ export type UXAutocompleteProps = AutocompleteProps;
4
+ export declare const UXAutocomplete: React.FC<UXAutocompleteProps>;
5
+ export { AutocompleteItem as UXAutocompleteItem, AutocompleteSection as UXAutocompleteSection, } from '@heroui/autocomplete';
@@ -0,0 +1,72 @@
1
+ import { jsx } from "react/jsx-runtime";
2
+ import "react";
3
+ import { Autocomplete, AutocompleteItem, AutocompleteSection } from "@heroui/autocomplete";
4
+ import { ChevronDownIcon } from "../../icons/index.js";
5
+ const UXAutocomplete = (props)=>{
6
+ const { fullWidth = false, classNames = {}, radius = 'sm', labelPlacement = 'outside-top', ...restProps } = props;
7
+ const { base, popoverContent, selectorButton, endContentWrapper, clearButton, listboxWrapper } = classNames;
8
+ return /*#__PURE__*/ jsx(Autocomplete, {
9
+ fullWidth: fullWidth,
10
+ classNames: {
11
+ base: [
12
+ 'ux-base',
13
+ base
14
+ ],
15
+ popoverContent: [
16
+ 'ux-popover-content',
17
+ popoverContent
18
+ ],
19
+ selectorButton: [
20
+ 'ux-selector-button w-[30px] h-[30px] min-w-[30px] min-h-[30px] rounded-small text-secondary',
21
+ selectorButton
22
+ ],
23
+ endContentWrapper: [
24
+ 'ux-end-content-wrapper',
25
+ endContentWrapper
26
+ ],
27
+ clearButton: [
28
+ 'ux-clear-button',
29
+ clearButton
30
+ ],
31
+ listboxWrapper: [
32
+ 'ux-listbox-wrapper p-0',
33
+ listboxWrapper
34
+ ]
35
+ },
36
+ labelPlacement: labelPlacement,
37
+ selectorIcon: /*#__PURE__*/ jsx(ChevronDownIcon, {}),
38
+ inputProps: {
39
+ classNames: {
40
+ label: 'text-tiny text-foreground-300',
41
+ inputWrapper: 'text-tiny h-[30px] min-h-[30px] rounded-small px-2.5',
42
+ input: 'text-tiny !outline-none',
43
+ clearButton: 'text-large'
44
+ }
45
+ },
46
+ popoverProps: {
47
+ isOpen: true,
48
+ classNames: {
49
+ base: 'before:bg-content1 before:shadow-box',
50
+ content: 'bg-content1 text-foreground-300 shadow-box text-tiny antialiased p-0'
51
+ }
52
+ },
53
+ listboxProps: {
54
+ classNames: {
55
+ base: 'p-md',
56
+ list: 'gap-0 [&_[data-slot="heading"]]:text-small [&_[data-slot="heading"]]:font-medium'
57
+ },
58
+ itemClasses: {
59
+ base: '!outline-none min-h-8 px-md rounded-small text-foreground-300 !outline-none data-[hover=true]:bg-background-200 data-[focus-visible=true]:bg-background-200 data-[focus-visible=true]:dark:bg-background-200 data-[hover=true]:text-default-foreground data-[selectable=true]:focus:!bg-background-200 data-[selectable=true]:focus:dark:!bg-background-200 gap-1',
60
+ title: 'text-tiny font-medium antialiased',
61
+ selectedIcon: '[&>svg>polyline]:stroke-[2.5]'
62
+ }
63
+ },
64
+ scrollShadowProps: {
65
+ isEnabled: false
66
+ },
67
+ radius: radius,
68
+ ...restProps
69
+ });
70
+ };
71
+ UXAutocomplete.displayName = 'UX.Autocomplete';
72
+ export { UXAutocomplete, AutocompleteItem as UXAutocompleteItem, AutocompleteSection as UXAutocompleteSection };
@@ -300,46 +300,46 @@ export declare const UXInput: React.ForwardRefExoticComponent<Omit<Omit<{
300
300
  name?: string | undefined;
301
301
  type?: string | undefined;
302
302
  key?: React.Key | null | undefined;
303
- labelPlacement?: "inside" | "outside" | "outside-left" | "outside-top" | undefined;
304
- label?: React.ReactNode;
305
- disableAnimation?: boolean | undefined;
303
+ isClearable?: boolean | undefined;
304
+ classNames?: import("@heroui/theme").SlotsToClasses<"description" | "errorMessage" | "label" | "base" | "input" | "clearButton" | "mainWrapper" | "inputWrapper" | "innerWrapper" | "helperWrapper"> | undefined;
306
305
  isDisabled?: boolean | undefined;
307
- pattern?: string | undefined;
308
- as?: import("@heroui/system-rsc").As<any> | undefined;
306
+ isReadOnly?: boolean | undefined;
307
+ isRequired?: boolean | undefined;
308
+ isInvalid?: boolean | undefined;
309
+ validationState?: import("@react-types/shared").ValidationState | undefined;
310
+ validationBehavior?: "aria" | "native" | undefined;
311
+ validate?: ((value: string) => import("@react-types/shared").ValidationError | true | null | undefined) | undefined;
312
+ description?: React.ReactNode;
313
+ errorMessage?: React.ReactNode | ((v: import("@react-types/shared").ValidationResult) => React.ReactNode);
309
314
  onFocusChange?: ((isFocused: boolean) => void) | undefined;
310
- formAction?: string | ((formData: FormData) => void | Promise<void>) | undefined;
311
- formEncType?: string | undefined;
312
- formMethod?: string | undefined;
313
- formNoValidate?: boolean | undefined;
314
- formTarget?: string | undefined;
315
+ placeholder?: string | undefined;
316
+ label?: React.ReactNode;
315
317
  excludeFromTabOrder?: boolean | undefined;
316
- startContent?: React.ReactNode;
317
- endContent?: React.ReactNode;
318
- onClear?: (() => void) | undefined;
319
318
  autoComplete?: string | undefined;
320
- alt?: string | undefined;
321
319
  maxLength?: number | undefined;
322
320
  minLength?: number | undefined;
321
+ pattern?: string | undefined;
322
+ labelPlacement?: "inside" | "outside" | "outside-left" | "outside-top" | undefined;
323
+ disableAnimation?: boolean | undefined;
324
+ as?: import("@heroui/system-rsc").As<any> | undefined;
323
325
  accept?: string | undefined;
326
+ alt?: string | undefined;
324
327
  capture?: boolean | "user" | "environment" | undefined;
325
328
  checked?: boolean | undefined;
326
- src?: string | undefined;
327
- classNames?: import("@heroui/theme").SlotsToClasses<"label" | "inputWrapper" | "base" | "input" | "errorMessage" | "helperWrapper" | "description" | "innerWrapper" | "mainWrapper" | "clearButton"> | undefined;
328
- isReadOnly?: boolean | undefined;
329
- validationState?: import("@react-types/shared").ValidationState | undefined;
330
- isInvalid?: boolean | undefined;
331
- errorMessage?: React.ReactNode | ((v: import("@react-types/shared").ValidationResult) => React.ReactNode);
332
- placeholder?: string | undefined;
329
+ formAction?: string | ((formData: FormData) => void | Promise<void>) | undefined;
330
+ formEncType?: string | undefined;
331
+ formMethod?: string | undefined;
332
+ formNoValidate?: boolean | undefined;
333
+ formTarget?: string | undefined;
333
334
  readOnly?: boolean | undefined;
334
335
  required?: boolean | undefined;
335
- onValueChange?: ((value: string) => void) | undefined;
336
- isRequired?: boolean | undefined;
337
- validationBehavior?: "aria" | "native" | undefined;
338
- validate?: ((value: string) => import("@react-types/shared").ValidationError | true | null | undefined) | undefined;
339
- description?: React.ReactNode;
340
- isClearable?: boolean | undefined;
336
+ src?: string | undefined;
341
337
  baseRef?: React.Ref<HTMLDivElement> | undefined;
342
338
  wrapperRef?: React.Ref<HTMLDivElement> | undefined;
343
339
  innerWrapperRef?: React.Ref<HTMLDivElement> | undefined;
340
+ startContent?: React.ReactNode;
341
+ endContent?: React.ReactNode;
342
+ onClear?: (() => void) | undefined;
343
+ onValueChange?: ((value: string) => void) | undefined;
344
344
  textAlign?: "center" | "left" | "right" | undefined;
345
345
  }, "ref"> & React.RefAttributes<React.ReactElement<unknown, string | React.JSXElementConstructor<any>>>, "ref"> & React.RefAttributes<HTMLInputElement>>;
@@ -297,47 +297,47 @@ declare const ExtendedInput: import("react").ForwardRefExoticComponent<Omit<{
297
297
  name?: string | undefined;
298
298
  type?: string | undefined;
299
299
  key?: import("react").Key | null | undefined;
300
- labelPlacement?: "inside" | "outside" | "outside-left" | "outside-top" | undefined;
301
- label?: import("react").ReactNode;
302
- disableAnimation?: boolean | undefined;
300
+ isClearable?: boolean | undefined;
301
+ classNames?: import("@heroui/theme").SlotsToClasses<"description" | "errorMessage" | "label" | "base" | "input" | "clearButton" | "mainWrapper" | "inputWrapper" | "innerWrapper" | "helperWrapper"> | undefined;
303
302
  isDisabled?: boolean | undefined;
304
- pattern?: string | undefined;
305
- as?: import("@heroui/system-rsc").As<any> | undefined;
303
+ isReadOnly?: boolean | undefined;
304
+ isRequired?: boolean | undefined;
305
+ isInvalid?: boolean | undefined;
306
+ validationState?: import("@react-types/shared").ValidationState | undefined;
307
+ validationBehavior?: "aria" | "native" | undefined;
308
+ validate?: ((value: string) => import("@react-types/shared").ValidationError | true | null | undefined) | undefined;
309
+ description?: import("react").ReactNode;
310
+ errorMessage?: import("react").ReactNode | ((v: import("@react-types/shared").ValidationResult) => import("react").ReactNode);
306
311
  onFocusChange?: ((isFocused: boolean) => void) | undefined;
307
- formAction?: string | ((formData: FormData) => void | Promise<void>) | undefined;
308
- formEncType?: string | undefined;
309
- formMethod?: string | undefined;
310
- formNoValidate?: boolean | undefined;
311
- formTarget?: string | undefined;
312
+ placeholder?: string | undefined;
313
+ label?: import("react").ReactNode;
312
314
  excludeFromTabOrder?: boolean | undefined;
313
- startContent?: import("react").ReactNode;
314
- endContent?: import("react").ReactNode;
315
- onClear?: (() => void) | undefined;
316
315
  autoComplete?: string | undefined;
317
- alt?: string | undefined;
318
316
  maxLength?: number | undefined;
319
317
  minLength?: number | undefined;
318
+ pattern?: string | undefined;
319
+ labelPlacement?: "inside" | "outside" | "outside-left" | "outside-top" | undefined;
320
+ disableAnimation?: boolean | undefined;
321
+ as?: import("@heroui/system-rsc").As<any> | undefined;
320
322
  accept?: string | undefined;
323
+ alt?: string | undefined;
321
324
  capture?: boolean | "user" | "environment" | undefined;
322
325
  checked?: boolean | undefined;
323
- src?: string | undefined;
324
- classNames?: import("@heroui/theme").SlotsToClasses<"label" | "inputWrapper" | "base" | "input" | "errorMessage" | "helperWrapper" | "description" | "innerWrapper" | "mainWrapper" | "clearButton"> | undefined;
325
- isReadOnly?: boolean | undefined;
326
- validationState?: import("@react-types/shared").ValidationState | undefined;
327
- isInvalid?: boolean | undefined;
328
- errorMessage?: import("react").ReactNode | ((v: import("@react-types/shared").ValidationResult) => import("react").ReactNode);
329
- placeholder?: string | undefined;
326
+ formAction?: string | ((formData: FormData) => void | Promise<void>) | undefined;
327
+ formEncType?: string | undefined;
328
+ formMethod?: string | undefined;
329
+ formNoValidate?: boolean | undefined;
330
+ formTarget?: string | undefined;
330
331
  readOnly?: boolean | undefined;
331
332
  required?: boolean | undefined;
332
- onValueChange?: ((value: string) => void) | undefined;
333
- isRequired?: boolean | undefined;
334
- validationBehavior?: "aria" | "native" | undefined;
335
- validate?: ((value: string) => import("@react-types/shared").ValidationError | true | null | undefined) | undefined;
336
- description?: import("react").ReactNode;
337
- isClearable?: boolean | undefined;
333
+ src?: string | undefined;
338
334
  baseRef?: import("react").Ref<HTMLDivElement> | undefined;
339
335
  wrapperRef?: import("react").Ref<HTMLDivElement> | undefined;
340
336
  innerWrapperRef?: import("react").Ref<HTMLDivElement> | undefined;
337
+ startContent?: import("react").ReactNode;
338
+ endContent?: import("react").ReactNode;
339
+ onClear?: (() => void) | undefined;
340
+ onValueChange?: ((value: string) => void) | undefined;
341
341
  textAlign?: "center" | "left" | "right" | undefined;
342
342
  }, "ref"> & import("react").RefAttributes<import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>>>;
343
343
  export default ExtendedInput;
@@ -297,34 +297,34 @@ export declare const UXSwitch: React.ForwardRefExoticComponent<Omit<Omit<{
297
297
  name?: string | undefined;
298
298
  type?: React.HTMLInputTypeAttribute | undefined;
299
299
  key?: React.Key | null | undefined;
300
- disableAnimation?: boolean | undefined;
300
+ classNames?: import("@heroui/theme").SlotsToClasses<"label" | "base" | "startContent" | "endContent" | "wrapper" | "hiddenInput" | "thumb" | "thumbIcon"> | undefined;
301
301
  isDisabled?: boolean | undefined;
302
- isSelected?: boolean | undefined;
303
- pattern?: string | undefined;
304
- as?: import("@heroui/system-rsc").As<any> | undefined;
302
+ isReadOnly?: boolean | undefined;
305
303
  onFocusChange?: ((isFocused: boolean) => void) | undefined;
306
- formAction?: string | ((formData: FormData) => void | Promise<void>) | undefined;
307
- formEncType?: string | undefined;
308
- formMethod?: string | undefined;
309
- formNoValidate?: boolean | undefined;
310
- formTarget?: string | undefined;
304
+ placeholder?: string | undefined;
311
305
  excludeFromTabOrder?: boolean | undefined;
312
- startContent?: React.ReactNode;
313
- endContent?: React.ReactNode;
314
306
  autoComplete?: React.HTMLInputAutoCompleteAttribute | undefined;
315
- alt?: string | undefined;
316
307
  maxLength?: number | undefined;
317
308
  minLength?: number | undefined;
309
+ pattern?: string | undefined;
310
+ disableAnimation?: boolean | undefined;
311
+ as?: import("@heroui/system-rsc").As<any> | undefined;
318
312
  accept?: string | undefined;
313
+ alt?: string | undefined;
319
314
  capture?: boolean | "user" | "environment" | undefined;
320
315
  checked?: boolean | undefined;
321
- src?: string | undefined;
322
- classNames?: import("@heroui/theme").SlotsToClasses<"label" | "base" | "startContent" | "endContent" | "wrapper" | "hiddenInput" | "thumb" | "thumbIcon"> | undefined;
323
- isReadOnly?: boolean | undefined;
324
- placeholder?: string | undefined;
316
+ formAction?: string | ((formData: FormData) => void | Promise<void>) | undefined;
317
+ formEncType?: string | undefined;
318
+ formMethod?: string | undefined;
319
+ formNoValidate?: boolean | undefined;
320
+ formTarget?: string | undefined;
325
321
  readOnly?: boolean | undefined;
326
322
  required?: boolean | undefined;
323
+ src?: string | undefined;
324
+ startContent?: React.ReactNode;
325
+ endContent?: React.ReactNode;
327
326
  onValueChange?: ((isSelected: boolean) => void) | undefined;
327
+ isSelected?: boolean | undefined;
328
328
  defaultSelected?: boolean | undefined;
329
329
  thumbIcon?: React.ReactNode | ((props: import("@heroui/switch").SwitchThumbIconProps) => React.ReactNode);
330
330
  }, "ref"> & React.RefAttributes<React.ReactElement<unknown, string | React.JSXElementConstructor<any>>>, "ref"> & React.RefAttributes<HTMLInputElement>>;
@@ -294,34 +294,34 @@ declare const ExtendedSwitch: import("react").ForwardRefExoticComponent<Omit<{
294
294
  name?: string | undefined;
295
295
  type?: import("react").HTMLInputTypeAttribute | undefined;
296
296
  key?: import("react").Key | null | undefined;
297
- disableAnimation?: boolean | undefined;
297
+ classNames?: import("@heroui/theme").SlotsToClasses<"label" | "base" | "startContent" | "endContent" | "wrapper" | "hiddenInput" | "thumb" | "thumbIcon"> | undefined;
298
298
  isDisabled?: boolean | undefined;
299
- isSelected?: boolean | undefined;
300
- pattern?: string | undefined;
301
- as?: import("@heroui/system-rsc").As<any> | undefined;
299
+ isReadOnly?: boolean | undefined;
302
300
  onFocusChange?: ((isFocused: boolean) => void) | undefined;
303
- formAction?: string | ((formData: FormData) => void | Promise<void>) | undefined;
304
- formEncType?: string | undefined;
305
- formMethod?: string | undefined;
306
- formNoValidate?: boolean | undefined;
307
- formTarget?: string | undefined;
301
+ placeholder?: string | undefined;
308
302
  excludeFromTabOrder?: boolean | undefined;
309
- startContent?: import("react").ReactNode;
310
- endContent?: import("react").ReactNode;
311
303
  autoComplete?: import("react").HTMLInputAutoCompleteAttribute | undefined;
312
- alt?: string | undefined;
313
304
  maxLength?: number | undefined;
314
305
  minLength?: number | undefined;
306
+ pattern?: string | undefined;
307
+ disableAnimation?: boolean | undefined;
308
+ as?: import("@heroui/system-rsc").As<any> | undefined;
315
309
  accept?: string | undefined;
310
+ alt?: string | undefined;
316
311
  capture?: boolean | "user" | "environment" | undefined;
317
312
  checked?: boolean | undefined;
318
- src?: string | undefined;
319
- classNames?: import("@heroui/theme").SlotsToClasses<"label" | "base" | "startContent" | "endContent" | "wrapper" | "hiddenInput" | "thumb" | "thumbIcon"> | undefined;
320
- isReadOnly?: boolean | undefined;
321
- placeholder?: string | undefined;
313
+ formAction?: string | ((formData: FormData) => void | Promise<void>) | undefined;
314
+ formEncType?: string | undefined;
315
+ formMethod?: string | undefined;
316
+ formNoValidate?: boolean | undefined;
317
+ formTarget?: string | undefined;
322
318
  readOnly?: boolean | undefined;
323
319
  required?: boolean | undefined;
320
+ src?: string | undefined;
321
+ startContent?: import("react").ReactNode;
322
+ endContent?: import("react").ReactNode;
324
323
  onValueChange?: ((isSelected: boolean) => void) | undefined;
324
+ isSelected?: boolean | undefined;
325
325
  defaultSelected?: boolean | undefined;
326
326
  thumbIcon?: import("react").ReactNode | ((props: import("@heroui/switch").SwitchThumbIconProps) => import("react").ReactNode);
327
327
  }, "ref"> & import("react").RefAttributes<import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>>>;
@@ -291,32 +291,32 @@ export declare const UXTable: import("@heroui/system-rsc").InternalForwardRefRen
291
291
  layout?: "auto" | "fixed" | undefined;
292
292
  border?: number | undefined;
293
293
  key?: React.Key | null | undefined;
294
+ classNames?: import("@heroui/theme").SlotsToClasses<"table" | "base" | "tbody" | "td" | "tfoot" | "th" | "thead" | "tr" | "wrapper" | "sortIcon" | "emptyWrapper" | "loadingWrapper"> | undefined;
294
295
  disableAnimation?: boolean | undefined;
295
- shadow?: "sm" | "md" | "lg" | "none" | undefined;
296
296
  summary?: string | undefined;
297
297
  as?: import("@heroui/system-rsc").As<any> | undefined;
298
- bgcolor?: string | undefined;
299
- cellPadding?: string | number | undefined;
300
- cellSpacing?: string | number | undefined;
301
- frame?: boolean | undefined;
302
- rules?: "none" | "all" | "rows" | "groups" | "columns" | undefined;
303
- classNames?: import("@heroui/theme").SlotsToClasses<"table" | "base" | "tbody" | "td" | "tfoot" | "th" | "thead" | "tr" | "wrapper" | "sortIcon" | "emptyWrapper" | "loadingWrapper"> | undefined;
304
- topContent?: React.ReactNode;
305
- bottomContent?: React.ReactNode;
298
+ baseRef?: import("@heroui/react-utils").ReactRef<HTMLElement | null> | undefined;
299
+ disallowEmptySelection?: boolean | undefined;
300
+ onSelectionChange?: ((keys: import("@react-types/shared").Selection) => void) | undefined;
301
+ disabledKeys?: Iterable<import("@react-types/shared").Key> | undefined;
306
302
  scrollRef?: import("@react-types/shared").RefObject<HTMLElement | null> | undefined;
307
303
  isVirtualized?: boolean | undefined;
304
+ shadow?: "sm" | "md" | "lg" | "none" | undefined;
305
+ topContent?: React.ReactNode;
306
+ bottomContent?: React.ReactNode;
307
+ keyboardDelegate?: import("@react-types/shared").KeyboardDelegate | undefined;
308
+ selectionBehavior?: "replace" | "toggle" | undefined;
309
+ shouldSelectOnPressUp?: boolean | undefined;
308
310
  escapeKeyBehavior?: "none" | "clearSelection" | undefined;
309
- disabledKeys?: Iterable<import("@react-types/shared").Key> | undefined;
310
311
  selectionMode?: import("@react-types/shared").SelectionMode | undefined;
311
- disallowEmptySelection?: boolean | undefined;
312
312
  selectedKeys?: "all" | Iterable<import("@react-types/shared").Key> | undefined;
313
313
  defaultSelectedKeys?: "all" | Iterable<import("@react-types/shared").Key> | undefined;
314
- onSelectionChange?: ((keys: import("@react-types/shared").Selection) => void) | undefined;
315
- baseRef?: import("@heroui/react-utils").ReactRef<HTMLElement | null> | undefined;
314
+ bgcolor?: string | undefined;
315
+ cellPadding?: string | number | undefined;
316
+ cellSpacing?: string | number | undefined;
317
+ frame?: boolean | undefined;
318
+ rules?: "none" | "all" | "rows" | "groups" | "columns" | undefined;
316
319
  isCompact?: boolean | undefined;
317
- keyboardDelegate?: import("@react-types/shared").KeyboardDelegate | undefined;
318
- selectionBehavior?: "replace" | "toggle" | undefined;
319
- shouldSelectOnPressUp?: boolean | undefined;
320
320
  hideHeader?: boolean | undefined;
321
321
  isStriped?: boolean | undefined;
322
322
  isHeaderSticky?: boolean | undefined;
@@ -288,32 +288,32 @@ declare const ExtendedTable: import("react").ForwardRefExoticComponent<Omit<{
288
288
  layout?: "auto" | "fixed" | undefined;
289
289
  border?: number | undefined;
290
290
  key?: import("react").Key | null | undefined;
291
+ classNames?: import("@heroui/theme").SlotsToClasses<"table" | "base" | "tbody" | "td" | "tfoot" | "th" | "thead" | "tr" | "wrapper" | "sortIcon" | "emptyWrapper" | "loadingWrapper"> | undefined;
291
292
  disableAnimation?: boolean | undefined;
292
- shadow?: "sm" | "md" | "lg" | "none" | undefined;
293
293
  summary?: string | undefined;
294
294
  as?: import("@heroui/system-rsc").As<any> | undefined;
295
- bgcolor?: string | undefined;
296
- cellPadding?: string | number | undefined;
297
- cellSpacing?: string | number | undefined;
298
- frame?: boolean | undefined;
299
- rules?: "none" | "all" | "rows" | "groups" | "columns" | undefined;
300
- classNames?: import("@heroui/theme").SlotsToClasses<"table" | "base" | "tbody" | "td" | "tfoot" | "th" | "thead" | "tr" | "wrapper" | "sortIcon" | "emptyWrapper" | "loadingWrapper"> | undefined;
301
- topContent?: import("react").ReactNode;
302
- bottomContent?: import("react").ReactNode;
295
+ baseRef?: import("@heroui/react-utils").ReactRef<HTMLElement | null> | undefined;
296
+ disallowEmptySelection?: boolean | undefined;
297
+ onSelectionChange?: ((keys: import("@react-types/shared").Selection) => void) | undefined;
298
+ disabledKeys?: Iterable<import("@react-types/shared").Key> | undefined;
303
299
  scrollRef?: import("@react-types/shared").RefObject<HTMLElement | null> | undefined;
304
300
  isVirtualized?: boolean | undefined;
301
+ shadow?: "sm" | "md" | "lg" | "none" | undefined;
302
+ topContent?: import("react").ReactNode;
303
+ bottomContent?: import("react").ReactNode;
304
+ keyboardDelegate?: import("@react-types/shared").KeyboardDelegate | undefined;
305
+ selectionBehavior?: "replace" | "toggle" | undefined;
306
+ shouldSelectOnPressUp?: boolean | undefined;
305
307
  escapeKeyBehavior?: "none" | "clearSelection" | undefined;
306
- disabledKeys?: Iterable<import("@react-types/shared").Key> | undefined;
307
308
  selectionMode?: import("@react-types/shared").SelectionMode | undefined;
308
- disallowEmptySelection?: boolean | undefined;
309
309
  selectedKeys?: "all" | Iterable<import("@react-types/shared").Key> | undefined;
310
310
  defaultSelectedKeys?: "all" | Iterable<import("@react-types/shared").Key> | undefined;
311
- onSelectionChange?: ((keys: import("@react-types/shared").Selection) => void) | undefined;
312
- baseRef?: import("@heroui/react-utils").ReactRef<HTMLElement | null> | undefined;
311
+ bgcolor?: string | undefined;
312
+ cellPadding?: string | number | undefined;
313
+ cellSpacing?: string | number | undefined;
314
+ frame?: boolean | undefined;
315
+ rules?: "none" | "all" | "rows" | "groups" | "columns" | undefined;
313
316
  isCompact?: boolean | undefined;
314
- keyboardDelegate?: import("@react-types/shared").KeyboardDelegate | undefined;
315
- selectionBehavior?: "replace" | "toggle" | undefined;
316
- shouldSelectOnPressUp?: boolean | undefined;
317
317
  hideHeader?: boolean | undefined;
318
318
  isStriped?: boolean | undefined;
319
319
  isHeaderSticky?: boolean | undefined;
@@ -284,31 +284,31 @@ declare const ExtendedTooltip: import("react").ForwardRefExoticComponent<Omit<{
284
284
  radius?: "sm" | "md" | "lg" | "none" | "full" | undefined;
285
285
  offset?: number | undefined;
286
286
  key?: import("react").Key | null | undefined;
287
- disableAnimation?: boolean | undefined;
287
+ classNames?: import("@heroui/theme").SlotsToClasses<"content" | "base" | "arrow"> | undefined;
288
288
  isDisabled?: boolean | undefined;
289
- shadow?: "sm" | "md" | "lg" | "none" | undefined;
289
+ disableAnimation?: boolean | undefined;
290
290
  as?: import("@heroui/system-rsc").As<any> | undefined;
291
+ onOpenChange?: ((isOpen: boolean) => void) | undefined;
292
+ shouldCloseOnBlur?: boolean | undefined;
291
293
  onClose?: ((() => void) & (() => void)) | undefined;
292
- classNames?: import("@heroui/theme").SlotsToClasses<"content" | "base" | "arrow"> | undefined;
294
+ isOpen?: boolean | undefined;
293
295
  placement?: import("@heroui/aria-utils").OverlayPlacement | undefined;
294
- motionProps?: Omit<import("framer-motion").HTMLMotionProps<"div">, "ref"> | undefined;
295
- delay?: number | undefined;
296
+ containerPadding?: 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;
296
305
  triggerScaleOnOpen?: boolean | undefined;
297
306
  isTriggerDisabled?: boolean | undefined;
298
- closeDelay?: number | undefined;
299
- trigger?: "focus" | undefined;
307
+ motionProps?: Omit<import("framer-motion").HTMLMotionProps<"div">, "ref"> | undefined;
300
308
  portalContainer?: Element | undefined;
301
- updatePositionDeps?: any[] | undefined;
302
- isOpen?: boolean | undefined;
303
- isDismissable?: boolean | undefined;
304
- shouldCloseOnBlur?: boolean | undefined;
305
- isKeyboardDismissDisabled?: boolean | undefined;
306
- shouldCloseOnInteractOutside?: ((element: Element) => boolean) | undefined;
307
309
  defaultOpen?: boolean | undefined;
308
- onOpenChange?: ((isOpen: boolean) => void) | undefined;
309
- showArrow?: boolean | undefined;
310
- crossOffset?: number | undefined;
311
- shouldFlip?: boolean | undefined;
312
- containerPadding?: number | undefined;
310
+ trigger?: "focus" | undefined;
311
+ delay?: number | undefined;
312
+ closeDelay?: number | undefined;
313
313
  }, "ref"> & import("react").RefAttributes<import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>>>;
314
314
  export default ExtendedTooltip;
@@ -1,6 +1,7 @@
1
1
  export * from './layout';
2
2
  export * from './ProgressWrapper';
3
3
  export * from './typography/Text';
4
+ export * from './UXAutocomplete';
4
5
  export * from './UXButton';
5
6
  export * from './UXCalendar';
6
7
  export * from './UXCheckbox';
@@ -1,6 +1,7 @@
1
1
  export * from "./layout/index.js";
2
2
  export * from "./ProgressWrapper/index.js";
3
3
  export * from "./typography/Text.js";
4
+ export * from "./UXAutocomplete/index.js";
4
5
  export * from "./UXButton/index.js";
5
6
  export * from "./UXCalendar/index.js";
6
7
  export * from "./UXCheckbox/index.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@particle-network/ui-react",
3
- "version": "0.4.0-beta.12",
3
+ "version": "0.4.0-beta.14",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": {
@@ -39,8 +39,8 @@
39
39
  "@types/react": "^19.1.10",
40
40
  "react": "^19.1.0",
41
41
  "typescript": "^5.8.3",
42
- "@particle-network/eslint-config": "0.3.0",
43
- "@particle-network/lintstaged-config": "0.1.0"
42
+ "@particle-network/lintstaged-config": "0.1.0",
43
+ "@particle-network/eslint-config": "0.3.0"
44
44
  },
45
45
  "peerDependencies": {
46
46
  "react": ">=16.9.0",
@@ -50,8 +50,8 @@
50
50
  "ahooks": "^3.9.4",
51
51
  "copy-to-clipboard": "^3.3.3",
52
52
  "zustand": "^5.0.8",
53
- "@particle-network/ui-shared": "0.3.0-beta.1",
54
- "@particle-network/icons": "0.4.0-beta.6"
53
+ "@particle-network/icons": "0.4.0-beta.7",
54
+ "@particle-network/ui-shared": "0.3.0-beta.2"
55
55
  },
56
56
  "scripts": {
57
57
  "build": "rslib build",
@@ -103,9 +103,11 @@ module.exports = {
103
103
  colors: {
104
104
  content1: {
105
105
  DEFAULT: '#17171C',
106
+ foreground: '#FFFFFF',
106
107
  },
107
108
  overlay: {
108
109
  DEFAULT: '#17171C',
110
+ foreground: '#FFFFFF',
109
111
  },
110
112
  background: {
111
113
  200: '#1F1F23',
@@ -178,9 +180,11 @@ module.exports = {
178
180
  colors: {
179
181
  content1: {
180
182
  DEFAULT: '#FFFFFF',
183
+ foreground: '#000000',
181
184
  },
182
185
  overlay: {
183
186
  DEFAULT: '#FFFFFF',
187
+ foreground: '#000000',
184
188
  },
185
189
  background: {
186
190
  200: '#F0F0F2',
@@ -253,9 +257,11 @@ module.exports = {
253
257
  colors: {
254
258
  content1: {
255
259
  DEFAULT: '#17171C',
260
+ foreground: '#FFFFFF',
256
261
  },
257
262
  overlay: {
258
263
  DEFAULT: '#17171C',
264
+ foreground: '#FFFFFF',
259
265
  },
260
266
  background: {
261
267
  200: '#1F1F23',
@@ -328,9 +334,11 @@ module.exports = {
328
334
  colors: {
329
335
  content1: {
330
336
  DEFAULT: '#FFFFFF',
337
+ foreground: '#000000',
331
338
  },
332
339
  overlay: {
333
340
  DEFAULT: '#FFFFFF',
341
+ foreground: '#000000',
334
342
  },
335
343
  background: {
336
344
  200: '#F0F0F2',
@@ -403,9 +411,11 @@ module.exports = {
403
411
  colors: {
404
412
  content1: {
405
413
  DEFAULT: '#17171C',
414
+ foreground: '#FFFFFF',
406
415
  },
407
416
  overlay: {
408
417
  DEFAULT: '#17171C',
418
+ foreground: '#FFFFFF',
409
419
  },
410
420
  background: {
411
421
  200: '#2A2A30',
@@ -478,9 +488,11 @@ module.exports = {
478
488
  colors: {
479
489
  content1: {
480
490
  DEFAULT: '#FFFFFF',
491
+ foreground: '#000000',
481
492
  },
482
493
  overlay: {
483
494
  DEFAULT: '#FFFFFF',
495
+ foreground: '#000000',
484
496
  },
485
497
  background: {
486
498
  200: '#E9E7EE',
@@ -553,9 +565,11 @@ module.exports = {
553
565
  colors: {
554
566
  content1: {
555
567
  DEFAULT: '#1A1B1F',
568
+ foreground: '#FFFFFF',
556
569
  },
557
570
  overlay: {
558
571
  DEFAULT: '#1A1B1F',
572
+ foreground: '#FFFFFF',
559
573
  },
560
574
  background: {
561
575
  200: '#282A2E',
@@ -587,7 +601,7 @@ module.exports = {
587
601
  },
588
602
  tertiary: {
589
603
  DEFAULT: '#757E80',
590
- foreground: '#000000',
604
+ foreground: '#FFFFFF',
591
605
  },
592
606
  success: {
593
607
  DEFAULT: '#86D99F',
@@ -628,9 +642,11 @@ module.exports = {
628
642
  colors: {
629
643
  content1: {
630
644
  DEFAULT: '#18181A',
645
+ foreground: '#FFFFFF',
631
646
  },
632
647
  overlay: {
633
648
  DEFAULT: '#18181A',
649
+ foreground: '#FFFFFF',
634
650
  },
635
651
  background: {
636
652
  200: '#333542',
@@ -662,7 +678,7 @@ module.exports = {
662
678
  },
663
679
  tertiary: {
664
680
  DEFAULT: '#777A8C',
665
- foreground: '#000000',
681
+ foreground: '#FFFFFF',
666
682
  },
667
683
  success: {
668
684
  DEFAULT: '#2FE3AC',
@@ -703,9 +719,11 @@ module.exports = {
703
719
  colors: {
704
720
  content1: {
705
721
  DEFAULT: '#1B2429',
722
+ foreground: '#FFFFFF',
706
723
  },
707
724
  overlay: {
708
725
  DEFAULT: '#1B2429',
726
+ foreground: '#FFFFFF',
709
727
  },
710
728
  background: {
711
729
  200: '#273035',
@@ -778,9 +796,11 @@ module.exports = {
778
796
  colors: {
779
797
  content1: {
780
798
  DEFAULT: '#272735',
799
+ foreground: '#FFFFFF',
781
800
  },
782
801
  overlay: {
783
802
  DEFAULT: '#272735',
803
+ foreground: '#FFFFFF',
784
804
  },
785
805
  background: {
786
806
  200: '#222222',
@@ -812,7 +832,7 @@ module.exports = {
812
832
  },
813
833
  tertiary: {
814
834
  DEFAULT: '#757E80',
815
- foreground: '#000000',
835
+ foreground: '#FFFFFF',
816
836
  },
817
837
  success: {
818
838
  DEFAULT: '#2EC08B',
@@ -853,9 +873,11 @@ module.exports = {
853
873
  colors: {
854
874
  content1: {
855
875
  DEFAULT: '#202630',
876
+ foreground: '#FFFFFF',
856
877
  },
857
878
  overlay: {
858
879
  DEFAULT: '#202630',
880
+ foreground: '#FFFFFF',
859
881
  },
860
882
  background: {
861
883
  200: '#29313D',
@@ -887,7 +909,7 @@ module.exports = {
887
909
  },
888
910
  tertiary: {
889
911
  DEFAULT: '#707A8A',
890
- foreground: '#000000',
912
+ foreground: '#FFFFFF',
891
913
  },
892
914
  success: {
893
915
  DEFAULT: '#2EBD85',
@@ -928,9 +950,11 @@ module.exports = {
928
950
  colors: {
929
951
  content1: {
930
952
  DEFAULT: '#0D0D10',
953
+ foreground: '#FFFFFF',
931
954
  },
932
955
  overlay: {
933
956
  DEFAULT: '#0D0D10',
957
+ foreground: '#FFFFFF',
934
958
  },
935
959
  background: {
936
960
  200: '#1B1D22',
@@ -962,15 +986,15 @@ module.exports = {
962
986
  },
963
987
  tertiary: {
964
988
  DEFAULT: '#686a6d',
965
- foreground: '#000000',
989
+ foreground: '#FFFFFF',
966
990
  },
967
991
  success: {
968
992
  DEFAULT: '#459C6E',
969
- foreground: '#000000',
993
+ foreground: '#FFFFFF',
970
994
  },
971
995
  danger: {
972
996
  DEFAULT: '#A13C45',
973
- foreground: '#000000',
997
+ foreground: '#FFFFFF',
974
998
  },
975
999
  warning: {
976
1000
  DEFAULT: '#DCC161',
@@ -990,11 +1014,11 @@ module.exports = {
990
1014
  },
991
1015
  bullish: {
992
1016
  DEFAULT: '#459C6E',
993
- foreground: '#000000',
1017
+ foreground: '#FFFFFF',
994
1018
  },
995
1019
  bearish: {
996
1020
  DEFAULT: '#A13C45',
997
- foreground: '#000000',
1021
+ foreground: '#FFFFFF',
998
1022
  },
999
1023
  },
1000
1024
  },