@particle-network/ui-react 0.1.4-beta.0 → 0.1.4-beta.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/UXCalendar/index.d.ts +13 -0
- package/dist/components/UXCalendar/index.js +21 -0
- package/dist/components/UXDateRangePicker/date-range-picker.extend.d.ts +7 -0
- package/dist/components/UXDateRangePicker/date-range-picker.extend.js +26 -0
- package/dist/components/UXDateRangePicker/index.d.ts +4 -0
- package/dist/components/UXDateRangePicker/index.js +34 -0
- package/dist/components/UXInput/index.d.ts +4 -4
- package/dist/components/UXInput/input.extend.d.ts +4 -4
- package/dist/components/UXSwitch/index.d.ts +1 -1
- package/dist/components/UXSwitch/switch.extend.d.ts +1 -1
- package/dist/components/UXTable/index.d.ts +2 -2
- package/dist/components/UXTable/table.extend.d.ts +2 -2
- package/dist/components/UXTooltip/tooltip.extend.d.ts +3 -3
- package/dist/components/index.d.ts +2 -0
- package/dist/components/index.js +2 -0
- package/dist/icons/index.d.ts +1 -0
- package/dist/icons/index.js +18 -1
- package/package.json +3 -3
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { type CalendarProps } from '@heroui/calendar';
|
|
3
|
+
export type UXCalendarProps = CalendarProps;
|
|
4
|
+
export declare const calendarClassNames: {
|
|
5
|
+
base: string;
|
|
6
|
+
prevButton: string;
|
|
7
|
+
nextButton: string;
|
|
8
|
+
title: string;
|
|
9
|
+
gridWrapper: string;
|
|
10
|
+
gridBody: string;
|
|
11
|
+
cell: string;
|
|
12
|
+
};
|
|
13
|
+
export declare const UXCalendar: React.FC<UXCalendarProps>;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { jsx } from "react/jsx-runtime";
|
|
2
|
+
import "react";
|
|
3
|
+
import { Calendar } from "@heroui/calendar";
|
|
4
|
+
const calendarClassNames = {
|
|
5
|
+
base: 'bg-content1',
|
|
6
|
+
prevButton: 'text-foreground',
|
|
7
|
+
nextButton: 'text-foreground',
|
|
8
|
+
title: 'text-foreground',
|
|
9
|
+
gridWrapper: 'bg-content1',
|
|
10
|
+
gridBody: 'bg-content1',
|
|
11
|
+
cell: 'text-sm font-medium'
|
|
12
|
+
};
|
|
13
|
+
const UXCalendar = ({ classNames, ...props })=>/*#__PURE__*/ jsx(Calendar, {
|
|
14
|
+
classNames: {
|
|
15
|
+
...calendarClassNames,
|
|
16
|
+
...classNames
|
|
17
|
+
},
|
|
18
|
+
...props
|
|
19
|
+
});
|
|
20
|
+
UXCalendar.displayName = 'UX.Calendar';
|
|
21
|
+
export { UXCalendar, calendarClassNames };
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type React from 'react';
|
|
2
|
+
import { type PopoverProps } from '@heroui/popover';
|
|
3
|
+
type ExtendedPopoverProps = Omit<PopoverProps, 'color'> & {
|
|
4
|
+
color?: 'default';
|
|
5
|
+
};
|
|
6
|
+
declare const ExtendedPopover: React.ForwardRefExoticComponent<ExtendedPopoverProps>;
|
|
7
|
+
export default ExtendedPopover;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { Popover } from "@heroui/popover";
|
|
2
|
+
import { extendVariants } from "@heroui/system-rsc";
|
|
3
|
+
const ExtendedPopover = extendVariants(Popover, {
|
|
4
|
+
variants: {
|
|
5
|
+
size: {
|
|
6
|
+
md: {
|
|
7
|
+
content: 'text-tiny !p-md max-w-[300px]'
|
|
8
|
+
}
|
|
9
|
+
},
|
|
10
|
+
color: {
|
|
11
|
+
default: {
|
|
12
|
+
base: 'before:bg-content1 before:shadow-box',
|
|
13
|
+
content: 'bg-content1 text-foreground-300 shadow-box'
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
},
|
|
17
|
+
defaultVariants: {
|
|
18
|
+
color: 'default',
|
|
19
|
+
radius: 'md',
|
|
20
|
+
size: 'md',
|
|
21
|
+
shadow: 'md',
|
|
22
|
+
backdrop: 'transparent'
|
|
23
|
+
}
|
|
24
|
+
});
|
|
25
|
+
const date_range_picker_extend = ExtendedPopover;
|
|
26
|
+
export { date_range_picker_extend as default };
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { jsx } from "react/jsx-runtime";
|
|
2
|
+
import "react";
|
|
3
|
+
import { DateRangePicker } from "@heroui/date-picker";
|
|
4
|
+
import { CalendarIcon } from "../../icons/index.js";
|
|
5
|
+
import { calendarClassNames } from "../UXCalendar/index.js";
|
|
6
|
+
const UXDateRangePicker = ({ classNames, ...props })=>/*#__PURE__*/ jsx(DateRangePicker, {
|
|
7
|
+
classNames: {
|
|
8
|
+
inputWrapper: 'bg-background-200 h-[30px] min-h-[30px] rounded-small',
|
|
9
|
+
input: 'gap-px',
|
|
10
|
+
segment: 'text-foreground text-xs font-medium',
|
|
11
|
+
separator: 'text-foreground-100',
|
|
12
|
+
timeInputWrapper: 'bg-content1',
|
|
13
|
+
...classNames
|
|
14
|
+
},
|
|
15
|
+
calendarProps: {
|
|
16
|
+
classNames: calendarClassNames
|
|
17
|
+
},
|
|
18
|
+
popoverProps: {
|
|
19
|
+
classNames: {
|
|
20
|
+
base: 'before:bg-content1 before:shadow-box',
|
|
21
|
+
content: 'bg-content1 text-foreground-300 shadow-box'
|
|
22
|
+
}
|
|
23
|
+
},
|
|
24
|
+
selectorIcon: /*#__PURE__*/ jsx(CalendarIcon, {
|
|
25
|
+
size: 18
|
|
26
|
+
}),
|
|
27
|
+
granularity: "second",
|
|
28
|
+
visibleMonths: 2,
|
|
29
|
+
hourCycle: 24,
|
|
30
|
+
firstDayOfWeek: "sun",
|
|
31
|
+
...props
|
|
32
|
+
});
|
|
33
|
+
UXDateRangePicker.displayName = 'UX.DateRangePicker';
|
|
34
|
+
export { UXDateRangePicker };
|
|
@@ -325,18 +325,18 @@ declare const UXInput: React.ForwardRefExoticComponent<Omit<Omit<{
|
|
|
325
325
|
capture?: boolean | "user" | "environment" | undefined;
|
|
326
326
|
checked?: boolean | undefined;
|
|
327
327
|
src?: string | undefined;
|
|
328
|
-
classNames?: import("@heroui/theme").SlotsToClasses<"label" | "inputWrapper" | "base" | "input" | "
|
|
328
|
+
classNames?: import("@heroui/theme").SlotsToClasses<"label" | "inputWrapper" | "base" | "input" | "errorMessage" | "helperWrapper" | "description" | "innerWrapper" | "mainWrapper" | "clearButton"> | undefined;
|
|
329
|
+
isReadOnly?: boolean | undefined;
|
|
330
|
+
validationState?: import("@react-types/shared").ValidationState | undefined;
|
|
331
|
+
errorMessage?: React.ReactNode | ((v: import("@react-types/shared").ValidationResult) => React.ReactNode);
|
|
329
332
|
placeholder?: string | undefined;
|
|
330
333
|
readOnly?: boolean | undefined;
|
|
331
334
|
required?: boolean | undefined;
|
|
332
335
|
onValueChange?: ((value: string) => void) | undefined;
|
|
333
|
-
isReadOnly?: boolean | undefined;
|
|
334
336
|
isRequired?: boolean | undefined;
|
|
335
|
-
validationState?: import("@react-types/shared").ValidationState | undefined;
|
|
336
337
|
validationBehavior?: "aria" | "native" | undefined;
|
|
337
338
|
validate?: ((value: string) => import("@react-types/shared").ValidationError | true | null | undefined) | undefined;
|
|
338
339
|
description?: React.ReactNode;
|
|
339
|
-
errorMessage?: React.ReactNode | ((v: import("@react-types/shared").ValidationResult) => React.ReactNode);
|
|
340
340
|
isClearable?: boolean | undefined;
|
|
341
341
|
baseRef?: React.Ref<HTMLDivElement> | undefined;
|
|
342
342
|
wrapperRef?: React.Ref<HTMLDivElement> | undefined;
|
|
@@ -322,18 +322,18 @@ declare const ExtendedInput: import("react").ForwardRefExoticComponent<Omit<{
|
|
|
322
322
|
capture?: boolean | "user" | "environment" | undefined;
|
|
323
323
|
checked?: boolean | undefined;
|
|
324
324
|
src?: string | undefined;
|
|
325
|
-
classNames?: import("@heroui/theme").SlotsToClasses<"label" | "inputWrapper" | "base" | "input" | "
|
|
325
|
+
classNames?: import("@heroui/theme").SlotsToClasses<"label" | "inputWrapper" | "base" | "input" | "errorMessage" | "helperWrapper" | "description" | "innerWrapper" | "mainWrapper" | "clearButton"> | undefined;
|
|
326
|
+
isReadOnly?: boolean | undefined;
|
|
327
|
+
validationState?: import("@react-types/shared").ValidationState | undefined;
|
|
328
|
+
errorMessage?: import("react").ReactNode | ((v: import("@react-types/shared").ValidationResult) => import("react").ReactNode);
|
|
326
329
|
placeholder?: string | undefined;
|
|
327
330
|
readOnly?: boolean | undefined;
|
|
328
331
|
required?: boolean | undefined;
|
|
329
332
|
onValueChange?: ((value: string) => void) | undefined;
|
|
330
|
-
isReadOnly?: boolean | undefined;
|
|
331
333
|
isRequired?: boolean | undefined;
|
|
332
|
-
validationState?: import("@react-types/shared").ValidationState | undefined;
|
|
333
334
|
validationBehavior?: "aria" | "native" | undefined;
|
|
334
335
|
validate?: ((value: string) => import("@react-types/shared").ValidationError | true | null | undefined) | undefined;
|
|
335
336
|
description?: import("react").ReactNode;
|
|
336
|
-
errorMessage?: import("react").ReactNode | ((v: import("@react-types/shared").ValidationResult) => import("react").ReactNode);
|
|
337
337
|
isClearable?: boolean | undefined;
|
|
338
338
|
baseRef?: import("react").Ref<HTMLDivElement> | undefined;
|
|
339
339
|
wrapperRef?: import("react").Ref<HTMLDivElement> | undefined;
|
|
@@ -320,12 +320,12 @@ declare const UXSwitch: React.ForwardRefExoticComponent<Omit<Omit<{
|
|
|
320
320
|
checked?: boolean | undefined;
|
|
321
321
|
src?: string | undefined;
|
|
322
322
|
classNames?: import("@heroui/theme").SlotsToClasses<"label" | "base" | "startContent" | "endContent" | "wrapper" | "hiddenInput" | "thumb" | "thumbIcon"> | undefined;
|
|
323
|
+
isReadOnly?: boolean | undefined;
|
|
323
324
|
placeholder?: string | undefined;
|
|
324
325
|
readOnly?: boolean | undefined;
|
|
325
326
|
required?: boolean | undefined;
|
|
326
327
|
onValueChange?: ((isSelected: boolean) => void) | undefined;
|
|
327
328
|
defaultSelected?: boolean | undefined;
|
|
328
|
-
isReadOnly?: 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>>;
|
|
331
331
|
export default UXSwitch;
|
|
@@ -317,12 +317,12 @@ declare const ExtendedSwitch: import("react").ForwardRefExoticComponent<Omit<{
|
|
|
317
317
|
checked?: boolean | undefined;
|
|
318
318
|
src?: string | undefined;
|
|
319
319
|
classNames?: import("@heroui/theme").SlotsToClasses<"label" | "base" | "startContent" | "endContent" | "wrapper" | "hiddenInput" | "thumb" | "thumbIcon"> | undefined;
|
|
320
|
+
isReadOnly?: boolean | undefined;
|
|
320
321
|
placeholder?: string | undefined;
|
|
321
322
|
readOnly?: boolean | undefined;
|
|
322
323
|
required?: boolean | undefined;
|
|
323
324
|
onValueChange?: ((isSelected: boolean) => void) | undefined;
|
|
324
325
|
defaultSelected?: boolean | undefined;
|
|
325
|
-
isReadOnly?: 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>>>>;
|
|
328
328
|
export default ExtendedSwitch;
|
|
@@ -301,6 +301,8 @@ export declare const UXTable: import("@heroui/system-rsc").InternalForwardRefRen
|
|
|
301
301
|
frame?: boolean | undefined;
|
|
302
302
|
rules?: "none" | "all" | "groups" | "rows" | "columns" | undefined;
|
|
303
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;
|
|
304
306
|
scrollRef?: import("@react-types/shared").RefObject<HTMLElement | null> | undefined;
|
|
305
307
|
isVirtualized?: boolean | undefined;
|
|
306
308
|
escapeKeyBehavior?: "none" | "clearSelection" | undefined;
|
|
@@ -310,8 +312,6 @@ export declare const UXTable: import("@heroui/system-rsc").InternalForwardRefRen
|
|
|
310
312
|
selectedKeys?: "all" | Iterable<import("@react-types/shared").Key> | undefined;
|
|
311
313
|
defaultSelectedKeys?: "all" | Iterable<import("@react-types/shared").Key> | undefined;
|
|
312
314
|
onSelectionChange?: ((keys: import("@react-types/shared").Selection) => void) | undefined;
|
|
313
|
-
topContent?: React.ReactNode;
|
|
314
|
-
bottomContent?: React.ReactNode;
|
|
315
315
|
baseRef?: import("@heroui/react-utils").ReactRef<HTMLElement | null> | undefined;
|
|
316
316
|
isCompact?: boolean | undefined;
|
|
317
317
|
keyboardDelegate?: import("@react-types/shared").KeyboardDelegate | undefined;
|
|
@@ -298,6 +298,8 @@ declare const ExtendedTable: import("react").ForwardRefExoticComponent<Omit<{
|
|
|
298
298
|
frame?: boolean | undefined;
|
|
299
299
|
rules?: "none" | "all" | "groups" | "rows" | "columns" | undefined;
|
|
300
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;
|
|
301
303
|
scrollRef?: import("@react-types/shared").RefObject<HTMLElement | null> | undefined;
|
|
302
304
|
isVirtualized?: boolean | undefined;
|
|
303
305
|
escapeKeyBehavior?: "none" | "clearSelection" | undefined;
|
|
@@ -307,8 +309,6 @@ declare const ExtendedTable: import("react").ForwardRefExoticComponent<Omit<{
|
|
|
307
309
|
selectedKeys?: "all" | Iterable<import("@react-types/shared").Key> | undefined;
|
|
308
310
|
defaultSelectedKeys?: "all" | Iterable<import("@react-types/shared").Key> | undefined;
|
|
309
311
|
onSelectionChange?: ((keys: import("@react-types/shared").Selection) => void) | undefined;
|
|
310
|
-
topContent?: import("react").ReactNode;
|
|
311
|
-
bottomContent?: import("react").ReactNode;
|
|
312
312
|
baseRef?: import("@heroui/react-utils").ReactRef<HTMLElement | null> | undefined;
|
|
313
313
|
isCompact?: boolean | undefined;
|
|
314
314
|
keyboardDelegate?: import("@react-types/shared").KeyboardDelegate | undefined;
|
|
@@ -290,8 +290,10 @@ declare const ExtendedTooltip: import("react").ForwardRefExoticComponent<Omit<{
|
|
|
290
290
|
as?: import("@heroui/system-rsc").As<any> | undefined;
|
|
291
291
|
onClose?: ((() => void) & (() => void)) | undefined;
|
|
292
292
|
classNames?: import("@heroui/theme").SlotsToClasses<"content" | "base" | "arrow"> | undefined;
|
|
293
|
-
placement?: import("@heroui/aria-utils").OverlayPlacement | undefined;
|
|
294
293
|
isOpen?: boolean | undefined;
|
|
294
|
+
defaultOpen?: boolean | undefined;
|
|
295
|
+
onOpenChange?: ((isOpen: boolean) => void) | undefined;
|
|
296
|
+
placement?: import("@heroui/aria-utils").OverlayPlacement | undefined;
|
|
295
297
|
containerPadding?: number | undefined;
|
|
296
298
|
crossOffset?: number | undefined;
|
|
297
299
|
shouldFlip?: boolean | undefined;
|
|
@@ -305,8 +307,6 @@ declare const ExtendedTooltip: import("react").ForwardRefExoticComponent<Omit<{
|
|
|
305
307
|
isTriggerDisabled?: boolean | undefined;
|
|
306
308
|
motionProps?: Omit<import("framer-motion").HTMLMotionProps<"div">, "ref"> | undefined;
|
|
307
309
|
portalContainer?: Element | undefined;
|
|
308
|
-
defaultOpen?: boolean | undefined;
|
|
309
|
-
onOpenChange?: ((isOpen: boolean) => void) | undefined;
|
|
310
310
|
trigger?: "focus" | undefined;
|
|
311
311
|
delay?: number | undefined;
|
|
312
312
|
closeDelay?: number | undefined;
|
|
@@ -15,10 +15,12 @@ export { default as ProgressWrapper } from './ProgressWrapper';
|
|
|
15
15
|
export { default as Text } from './typography/Text';
|
|
16
16
|
export type { TextProps } from './typography/Text.type';
|
|
17
17
|
export * from './UXButton';
|
|
18
|
+
export * from './UXCalendar';
|
|
18
19
|
export { default as UXCheckbox } from './UXCheckbox';
|
|
19
20
|
export * from './UXCheckbox';
|
|
20
21
|
export type { UXChipProps } from './UXChip';
|
|
21
22
|
export { default as UXChip } from './UXChip';
|
|
23
|
+
export * from './UXDateRangePicker';
|
|
22
24
|
export type { UXDividerProps } from './UXDivider';
|
|
23
25
|
export { default as UXDivider } from './UXDivider';
|
|
24
26
|
export * from './UXDropdown';
|
package/dist/components/index.js
CHANGED
|
@@ -20,7 +20,9 @@ import UXSwitch from "./UXSwitch/index.js";
|
|
|
20
20
|
import UXTabs from "./UXTabs/index.js";
|
|
21
21
|
import UXTooltip from "./UXTooltip/index.js";
|
|
22
22
|
export * from "./UXButton/index.js";
|
|
23
|
+
export * from "./UXCalendar/index.js";
|
|
23
24
|
export * from "./UXCheckbox/index.js";
|
|
25
|
+
export * from "./UXDateRangePicker/index.js";
|
|
24
26
|
export * from "./UXDropdown/index.js";
|
|
25
27
|
export * from "./UXEmpty/index.js";
|
|
26
28
|
export * from "./UXInput/index.js";
|
package/dist/icons/index.d.ts
CHANGED
|
@@ -11,3 +11,4 @@ export declare const CircleQuestionIcon: React.FC<IconProps>;
|
|
|
11
11
|
export declare const EmptyIcon: React.FC<IconProps>;
|
|
12
12
|
export declare const ChevronRightIcon: React.FC<IconProps>;
|
|
13
13
|
export declare const ChevronLeftIcon: React.FC<IconProps>;
|
|
14
|
+
export declare const CalendarIcon: React.FC<IconProps>;
|
package/dist/icons/index.js
CHANGED
|
@@ -89,4 +89,21 @@ const ChevronLeftIcon = ({ size = 16, color = 'currentColor', ...props })=>/*#__
|
|
|
89
89
|
fill: getColor(color)
|
|
90
90
|
})
|
|
91
91
|
});
|
|
92
|
-
|
|
92
|
+
const CalendarIcon = ({ size = 16, color = 'currentColor', ...props })=>/*#__PURE__*/ jsxs("svg", {
|
|
93
|
+
width: size,
|
|
94
|
+
height: size,
|
|
95
|
+
viewBox: "0 0 24 24",
|
|
96
|
+
fill: "none",
|
|
97
|
+
...props,
|
|
98
|
+
children: [
|
|
99
|
+
/*#__PURE__*/ jsx("path", {
|
|
100
|
+
d: "M16.5557 2C16.895 2 17.1698 2.28823 17.1699 2.64355V3.86914H19.0664C20.0829 3.86914 20.9099 4.73498 20.9102 5.7998V18.6689C20.9102 19.7338 20.0829 20.5996 19.0664 20.5996H4.93359C3.91709 20.5996 3.08984 19.7338 3.08984 18.6689V5.7998C3.08992 4.73498 3.91714 3.86914 4.93359 3.86914H6.83008V2.64355C6.83018 2.28823 7.10497 2 7.44434 2C7.78365 2.00007 8.05849 2.28828 8.05859 2.64355V3.86914H15.9414V2.64355C15.9415 2.28828 16.2164 2.00008 16.5557 2ZM4.31934 10.2148V18.6689C4.31944 19.0238 4.59468 19.3125 4.93359 19.3125H19.0664C19.4051 19.3125 19.6808 19.0238 19.6807 18.6689V10.2148H4.31934ZM15.0254 14.0654C15.3784 14.0655 15.6648 14.3652 15.665 14.7354C15.665 15.1056 15.3787 15.4061 15.0254 15.4062H8.97461C8.62121 15.4062 8.33496 15.1056 8.33496 14.7354C8.33516 14.3652 8.62133 14.0655 8.97461 14.0654H15.0254ZM4.93359 5.15625C4.59488 5.15625 4.31941 5.44468 4.31934 5.7998V8.92676H19.6807V5.7998C19.6806 5.44468 19.4053 5.15625 19.0664 5.15625H17.1699V6.2959C17.1699 6.65154 16.8951 6.94043 16.5557 6.94043C16.2163 6.94035 15.9414 6.65126 15.9414 6.2959V5.15625H8.05859V6.2959C8.05859 6.65149 7.78371 6.94036 7.44434 6.94043C7.1049 6.94043 6.83008 6.65131 6.83008 6.2959V5.15625H4.93359Z",
|
|
101
|
+
fill: getColor(color)
|
|
102
|
+
}),
|
|
103
|
+
/*#__PURE__*/ jsx("path", {
|
|
104
|
+
d: "M16.5557 2V1.9H16.5556L16.5557 2ZM17.1699 2.64355H17.2699V2.64353L17.1699 2.64355ZM17.1699 3.86914H17.0699V3.96914H17.1699V3.86914ZM20.9102 5.7998H21.0102V5.79978L20.9102 5.7998ZM3.08984 5.7998L2.98984 5.7998V5.7998H3.08984ZM6.83008 3.86914V3.96914H6.93008V3.86914H6.83008ZM6.83008 2.64355L6.73008 2.64353V2.64355H6.83008ZM7.44434 2L7.44436 1.9H7.44434V2ZM8.05859 2.64355H8.15859V2.64353L8.05859 2.64355ZM8.05859 3.86914H7.95859V3.96914H8.05859V3.86914ZM15.9414 3.86914V3.96914H16.0414V3.86914H15.9414ZM15.9414 2.64355L15.8414 2.64353V2.64355H15.9414ZM4.31934 10.2148V10.1148H4.21934V10.2148H4.31934ZM4.31934 18.6689H4.21934V18.669L4.31934 18.6689ZM19.6807 18.6689H19.5807V18.669L19.6807 18.6689ZM19.6807 10.2148H19.7807V10.1148H19.6807V10.2148ZM15.0254 14.0654L15.0254 13.9654H15.0254V14.0654ZM15.665 14.7354H15.765V14.7353L15.665 14.7354ZM15.0254 15.4062V15.5063H15.0254L15.0254 15.4062ZM8.97461 15.4062L8.9746 15.5063H8.97461V15.4062ZM8.33496 14.7354L8.23496 14.7353V14.7354H8.33496ZM8.97461 14.0654V13.9654H8.9746L8.97461 14.0654ZM4.31934 5.7998L4.21934 5.79978V5.7998H4.31934ZM4.31934 8.92676H4.21934V9.02676H4.31934V8.92676ZM19.6807 8.92676V9.02676H19.7807V8.92676H19.6807ZM19.6807 5.7998H19.7807V5.79978L19.6807 5.7998ZM17.1699 5.15625V5.05625H17.0699V5.15625H17.1699ZM16.5557 6.94043L16.5556 7.04043H16.5557V6.94043ZM15.9414 5.15625H16.0414V5.05625H15.9414V5.15625ZM8.05859 5.15625V5.05625H7.95859V5.15625H8.05859ZM7.44434 6.94043V7.04043H7.44436L7.44434 6.94043ZM6.83008 5.15625H6.93008V5.05625H6.83008V5.15625ZM16.5557 2V2.1C16.8354 2.1 17.0698 2.33897 17.0699 2.64358L17.1699 2.64355L17.2699 2.64353C17.2698 2.23749 16.9547 1.9 16.5557 1.9V2ZM17.1699 2.64355H17.0699V3.86914H17.1699H17.2699V2.64355H17.1699ZM17.1699 3.86914V3.96914H19.0664V3.86914V3.76914H17.1699V3.86914ZM19.0664 3.86914V3.96914C20.0233 3.96914 20.8099 4.78581 20.8102 5.79983L20.9102 5.7998L21.0102 5.79978C21.0098 4.68414 20.1424 3.76914 19.0664 3.76914V3.86914ZM20.9102 5.7998H20.8102V18.6689H20.9102H21.0102V5.7998H20.9102ZM20.9102 18.6689H20.8102C20.8102 19.683 20.0234 20.4996 19.0664 20.4996V20.5996V20.6996C20.1424 20.6996 21.0102 19.7847 21.0102 18.6689H20.9102ZM19.0664 20.5996V20.4996H4.93359V20.5996V20.6996H19.0664V20.5996ZM4.93359 20.5996V20.4996C3.9766 20.4996 3.18984 19.683 3.18984 18.6689H3.08984H2.98984C2.98984 19.7847 3.85759 20.6996 4.93359 20.6996V20.5996ZM3.08984 18.6689H3.18984V5.7998H3.08984H2.98984V18.6689H3.08984ZM3.08984 5.7998L3.18984 5.79981C3.18992 4.78582 3.97665 3.96914 4.93359 3.96914V3.86914V3.76914C3.85763 3.76914 2.98992 4.68413 2.98984 5.7998L3.08984 5.7998ZM4.93359 3.86914V3.96914H6.83008V3.86914V3.76914H4.93359V3.86914ZM6.83008 3.86914H6.93008V2.64355H6.83008H6.73008V3.86914H6.83008ZM6.83008 2.64355L6.93008 2.64358C6.93017 2.33897 7.16458 2.1 7.44434 2.1V2V1.9C7.04535 1.9 6.7302 2.23749 6.73008 2.64353L6.83008 2.64355ZM7.44434 2L7.44431 2.1C7.72405 2.10006 7.95851 2.33904 7.95859 2.64358L8.05859 2.64355L8.15859 2.64353C8.15848 2.23751 7.84325 1.90008 7.44436 1.9L7.44434 2ZM8.05859 2.64355H7.95859V3.86914H8.05859H8.15859V2.64355H8.05859ZM8.05859 3.86914V3.96914H15.9414V3.86914V3.76914H8.05859V3.86914ZM15.9414 3.86914H16.0414V2.64355H15.9414H15.8414V3.86914H15.9414ZM15.9414 2.64355L16.0414 2.64358C16.0415 2.33905 16.276 2.10007 16.5557 2.1L16.5557 2L16.5556 1.9C16.1568 1.9001 15.8415 2.23751 15.8414 2.64353L15.9414 2.64355ZM4.31934 10.2148H4.21934V18.6689H4.31934H4.41934V10.2148H4.31934ZM4.31934 18.6689L4.21934 18.669C4.21946 19.0746 4.53506 19.4125 4.93359 19.4125V19.3125V19.2125C4.65429 19.2125 4.41943 18.9731 4.41934 18.6689L4.31934 18.6689ZM4.93359 19.3125V19.4125H19.0664V19.3125V19.2125H4.93359V19.3125ZM19.0664 19.3125V19.4125C19.4646 19.4125 19.7808 19.0746 19.7807 18.6689L19.6807 18.6689L19.5807 18.669C19.5808 18.973 19.3456 19.2125 19.0664 19.2125V19.3125ZM19.6807 18.6689H19.7807V10.2148H19.6807H19.5807V18.6689H19.6807ZM19.6807 10.2148V10.1148H4.31934V10.2148V10.3148H19.6807V10.2148ZM15.0254 14.0654L15.0254 14.1654C15.3189 14.1655 15.5649 14.4161 15.565 14.7354L15.665 14.7354L15.765 14.7353C15.7648 14.3144 15.438 13.9655 15.0254 13.9654L15.0254 14.0654ZM15.665 14.7354H15.565C15.565 15.0549 15.319 15.3061 15.0253 15.3062L15.0254 15.4062L15.0254 15.5063C15.4384 15.506 15.765 15.1562 15.765 14.7354H15.665ZM15.0254 15.4062V15.3062H8.97461V15.4062V15.5063H15.0254V15.4062ZM8.97461 15.4062L8.97462 15.3062C8.6809 15.3062 8.43496 15.055 8.43496 14.7354H8.33496H8.23496C8.23496 15.1563 8.56151 15.5062 8.9746 15.5063L8.97461 15.4062ZM8.33496 14.7354L8.43496 14.7354C8.43513 14.416 8.6809 14.1655 8.97462 14.1654L8.97461 14.0654L8.9746 13.9654C8.56176 13.9655 8.23519 14.3144 8.23496 14.7353L8.33496 14.7354ZM8.97461 14.0654V14.1654H15.0254V14.0654V13.9654H8.97461V14.0654ZM4.93359 5.15625V5.05625C4.53532 5.05625 4.21942 5.39388 4.21934 5.79978L4.31934 5.7998L4.41934 5.79983C4.4194 5.49548 4.65444 5.25625 4.93359 5.25625V5.15625ZM4.31934 5.7998H4.21934V8.92676H4.31934H4.41934V5.7998H4.31934ZM4.31934 8.92676V9.02676H19.6807V8.92676V8.82676H4.31934V8.92676ZM19.6807 8.92676H19.7807V5.7998H19.6807H19.5807V8.92676H19.6807ZM19.6807 5.7998L19.7807 5.79978C19.7806 5.39391 19.4649 5.05625 19.0664 5.05625V5.15625V5.25625C19.3458 5.25625 19.5806 5.49546 19.5807 5.79983L19.6807 5.7998ZM19.0664 5.15625V5.05625H17.1699V5.15625V5.25625H19.0664V5.15625ZM17.1699 5.15625H17.0699V6.2959H17.1699H17.2699V5.15625H17.1699ZM17.1699 6.2959H17.0699C17.0699 6.60095 16.8353 6.84043 16.5557 6.84043V6.94043V7.04043C16.9549 7.04043 17.2699 6.70213 17.2699 6.2959H17.1699ZM16.5557 6.94043L16.5557 6.84043C16.2761 6.84036 16.0414 6.60068 16.0414 6.2959H15.9414H15.8414C15.8414 6.70185 16.1565 7.04033 16.5556 7.04043L16.5557 6.94043ZM15.9414 6.2959H16.0414V5.15625H15.9414H15.8414V6.2959H15.9414ZM15.9414 5.15625V5.05625H8.05859V5.15625V5.25625H15.9414V5.15625ZM8.05859 5.15625H7.95859V6.2959H8.05859H8.15859V5.15625H8.05859ZM8.05859 6.2959H7.95859C7.95859 6.60089 7.72397 6.84037 7.44431 6.84043L7.44434 6.94043L7.44436 7.04043C7.84345 7.04035 8.15859 6.7021 8.15859 6.2959H8.05859ZM7.44434 6.94043V6.84043C7.16468 6.84043 6.93008 6.60075 6.93008 6.2959H6.83008H6.73008C6.73008 6.70188 7.04512 7.04043 7.44434 7.04043V6.94043ZM6.83008 6.2959H6.93008V5.15625H6.83008H6.73008V6.2959H6.83008ZM6.83008 5.15625V5.05625H4.93359V5.15625V5.25625H6.83008V5.15625Z",
|
|
105
|
+
fill: getColor(color)
|
|
106
|
+
})
|
|
107
|
+
]
|
|
108
|
+
});
|
|
109
|
+
export { CalendarIcon, ChevronDownIcon, ChevronLeftIcon, ChevronRightIcon, CircleQuestionIcon, CloseIcon, EmptyIcon };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@particle-network/ui-react",
|
|
3
|
-
"version": "0.1.4-beta.
|
|
3
|
+
"version": "0.1.4-beta.5",
|
|
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/
|
|
43
|
-
"@particle-network/
|
|
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",
|