@openwarelabs/ui 0.0.0-stage → 0.1.1
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/LICENSE +21 -0
- package/README.md +100 -2
- package/dist/components/Accordion/Accordion.d.cts +54 -0
- package/dist/components/Accordion/Accordion.d.ts +54 -0
- package/dist/components/Alert/Alert.d.cts +18 -0
- package/dist/components/Alert/Alert.d.ts +18 -0
- package/dist/components/Avatar/Avatar.d.cts +14 -0
- package/dist/components/Avatar/Avatar.d.ts +14 -0
- package/dist/components/Avatar/AvatarGroup.d.cts +28 -0
- package/dist/components/Avatar/AvatarGroup.d.ts +28 -0
- package/dist/components/Badge/Badge.d.cts +13 -0
- package/dist/components/Badge/Badge.d.ts +13 -0
- package/dist/components/Breadcrumbs/Breadcrumbs.d.cts +33 -0
- package/dist/components/Breadcrumbs/Breadcrumbs.d.ts +33 -0
- package/dist/components/Button/Button.d.cts +42 -0
- package/dist/components/Button/Button.d.ts +42 -0
- package/dist/components/Button/ButtonGroup.d.cts +33 -0
- package/dist/components/Button/ButtonGroup.d.ts +33 -0
- package/dist/components/Calendar/Calendar.d.cts +31 -0
- package/dist/components/Calendar/Calendar.d.ts +31 -0
- package/dist/components/Calendar/DatePicker.d.cts +21 -0
- package/dist/components/Calendar/DatePicker.d.ts +21 -0
- package/dist/components/Calendar/dates.d.cts +15 -0
- package/dist/components/Calendar/dates.d.ts +15 -0
- package/dist/components/Card/Card.d.cts +18 -0
- package/dist/components/Card/Card.d.ts +18 -0
- package/dist/components/Checkbox/Checkbox.d.cts +59 -0
- package/dist/components/Checkbox/Checkbox.d.ts +59 -0
- package/dist/components/ChoiceCard/ChoiceCard.d.cts +14 -0
- package/dist/components/ChoiceCard/ChoiceCard.d.ts +14 -0
- package/dist/components/CodeBlock/CodeBlock.d.cts +50 -0
- package/dist/components/CodeBlock/CodeBlock.d.ts +50 -0
- package/dist/components/ColorPicker/ColorPicker.d.cts +62 -0
- package/dist/components/ColorPicker/ColorPicker.d.ts +62 -0
- package/dist/components/Combobox/Combobox.d.cts +42 -0
- package/dist/components/Combobox/Combobox.d.ts +42 -0
- package/dist/components/CommandPalette/CommandPalette.d.cts +27 -0
- package/dist/components/CommandPalette/CommandPalette.d.ts +27 -0
- package/dist/components/CommandPalette/filterCommands.d.cts +3 -0
- package/dist/components/CommandPalette/filterCommands.d.ts +3 -0
- package/dist/components/Dialog/Dialog.d.cts +42 -0
- package/dist/components/Dialog/Dialog.d.ts +42 -0
- package/dist/components/Drawer/Drawer.d.cts +23 -0
- package/dist/components/Drawer/Drawer.d.ts +23 -0
- package/dist/components/EmptyState/EmptyState.d.cts +18 -0
- package/dist/components/EmptyState/EmptyState.d.ts +18 -0
- package/dist/components/Field/Field.d.cts +18 -0
- package/dist/components/Field/Field.d.ts +18 -0
- package/dist/components/FileDropZone/FileDropZone.d.cts +29 -0
- package/dist/components/FileDropZone/FileDropZone.d.ts +29 -0
- package/dist/components/FileTree/FileTree.d.cts +29 -0
- package/dist/components/FileTree/FileTree.d.ts +29 -0
- package/dist/components/Input/Input.d.cts +18 -0
- package/dist/components/Input/Input.d.ts +18 -0
- package/dist/components/InputOTP/InputOTP.d.cts +31 -0
- package/dist/components/InputOTP/InputOTP.d.ts +31 -0
- package/dist/components/Kbd/Kbd.d.cts +5 -0
- package/dist/components/Kbd/Kbd.d.ts +5 -0
- package/dist/components/Layout/Layout.d.cts +50 -0
- package/dist/components/Layout/Layout.d.ts +50 -0
- package/dist/components/Marketing/Marketing.d.cts +39 -0
- package/dist/components/Marketing/Marketing.d.ts +39 -0
- package/dist/components/Menu/Menu.d.cts +43 -0
- package/dist/components/Menu/Menu.d.ts +43 -0
- package/dist/components/NavList/NavList.d.cts +27 -0
- package/dist/components/NavList/NavList.d.ts +27 -0
- package/dist/components/NumberField/NumberField.d.cts +23 -0
- package/dist/components/NumberField/NumberField.d.ts +23 -0
- package/dist/components/Pagination/Pagination.d.cts +24 -0
- package/dist/components/Pagination/Pagination.d.ts +24 -0
- package/dist/components/Popover/Popover.d.cts +30 -0
- package/dist/components/Popover/Popover.d.ts +30 -0
- package/dist/components/Progress/Progress.d.cts +41 -0
- package/dist/components/Progress/Progress.d.ts +41 -0
- package/dist/components/RadioGroup/RadioGroup.d.cts +36 -0
- package/dist/components/RadioGroup/RadioGroup.d.ts +36 -0
- package/dist/components/SearchField/SearchField.d.cts +17 -0
- package/dist/components/SearchField/SearchField.d.ts +17 -0
- package/dist/components/SegmentedControl/SegmentedControl.d.cts +32 -0
- package/dist/components/SegmentedControl/SegmentedControl.d.ts +32 -0
- package/dist/components/Select/Select.d.cts +40 -0
- package/dist/components/Select/Select.d.ts +40 -0
- package/dist/components/Skeleton/Skeleton.d.cts +26 -0
- package/dist/components/Skeleton/Skeleton.d.ts +26 -0
- package/dist/components/Slider/Slider.d.cts +33 -0
- package/dist/components/Slider/Slider.d.ts +33 -0
- package/dist/components/Spinner/Spinner.d.cts +14 -0
- package/dist/components/Spinner/Spinner.d.ts +14 -0
- package/dist/components/Stat/Stat.d.cts +20 -0
- package/dist/components/Stat/Stat.d.ts +20 -0
- package/dist/components/Steps/Steps.d.cts +27 -0
- package/dist/components/Steps/Steps.d.ts +27 -0
- package/dist/components/Switch/Switch.d.cts +9 -0
- package/dist/components/Switch/Switch.d.ts +9 -0
- package/dist/components/Table/Table.d.cts +55 -0
- package/dist/components/Table/Table.d.ts +55 -0
- package/dist/components/Tabs/Tabs.d.cts +35 -0
- package/dist/components/Tabs/Tabs.d.ts +35 -0
- package/dist/components/Tag/Tag.d.cts +40 -0
- package/dist/components/Tag/Tag.d.ts +40 -0
- package/dist/components/Textarea/Textarea.d.cts +12 -0
- package/dist/components/Textarea/Textarea.d.ts +12 -0
- package/dist/components/Toast/Toast.d.cts +41 -0
- package/dist/components/Toast/Toast.d.ts +41 -0
- package/dist/components/Tooltip/Tooltip.d.cts +19 -0
- package/dist/components/Tooltip/Tooltip.d.ts +19 -0
- package/dist/components.css +5236 -0
- package/dist/fonts.css +3 -0
- package/dist/hooks/useControllableState.d.cts +5 -0
- package/dist/hooks/useControllableState.d.ts +5 -0
- package/dist/hooks/useFloating.d.cts +26 -0
- package/dist/hooks/useFloating.d.ts +26 -0
- package/dist/hooks/useIndicator.d.cts +8 -0
- package/dist/hooks/useIndicator.d.ts +8 -0
- package/dist/hooks/useMenuKeyboard.d.cts +12 -0
- package/dist/hooks/useMenuKeyboard.d.ts +12 -0
- package/dist/hooks/useModalDialog.d.cts +9 -0
- package/dist/hooks/useModalDialog.d.ts +9 -0
- package/dist/hooks/usePresence.d.cts +13 -0
- package/dist/hooks/usePresence.d.ts +13 -0
- package/dist/icons.d.cts +33 -0
- package/dist/icons.d.ts +33 -0
- package/dist/index.cjs +4622 -0
- package/dist/index.cjs.map +7 -0
- package/dist/index.d.cts +114 -0
- package/dist/index.d.ts +114 -0
- package/dist/index.js +4650 -0
- package/dist/index.js.map +7 -0
- package/dist/openware-ui.iife.js +8 -0
- package/dist/styles.css +5664 -0
- package/dist/tailwind.css +145 -0
- package/dist/tokens.css +427 -0
- package/dist/tokens.json +1163 -0
- package/dist/utils/brand.d.cts +30 -0
- package/dist/utils/brand.d.ts +30 -0
- package/dist/utils/copyText.d.cts +2 -0
- package/dist/utils/copyText.d.ts +2 -0
- package/dist/utils/cx.d.cts +4 -0
- package/dist/utils/cx.d.ts +4 -0
- package/dist/utils/resizeTextArea.d.cts +2 -0
- package/dist/utils/resizeTextArea.d.ts +2 -0
- package/dist/utils/text.d.cts +4 -0
- package/dist/utils/text.d.ts +4 -0
- package/package.json +83 -4
package/dist/fonts.css
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* State that a parent may control (`value` + `onChange`) or leave to the component (`defaultValue`).
|
|
3
|
+
* Returns the current value and a setter that calls `onChange` either way.
|
|
4
|
+
*/
|
|
5
|
+
export declare function useControllableState<T>(value: T | undefined, defaultValue: T, onChange?: (next: T) => void): [T, (next: T | ((previous: T) => T)) => void];
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* State that a parent may control (`value` + `onChange`) or leave to the component (`defaultValue`).
|
|
3
|
+
* Returns the current value and a setter that calls `onChange` either way.
|
|
4
|
+
*/
|
|
5
|
+
export declare function useControllableState<T>(value: T | undefined, defaultValue: T, onChange?: (next: T) => void): [T, (next: T | ((previous: T) => T)) => void];
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { type CSSProperties, type RefObject } from "react";
|
|
2
|
+
export type Placement = "bottom-start" | "bottom-end" | "bottom" | "top-start" | "top-end" | "top";
|
|
3
|
+
interface Options {
|
|
4
|
+
open: boolean;
|
|
5
|
+
anchorRef: RefObject<HTMLElement | null>;
|
|
6
|
+
floatingRef: RefObject<HTMLElement | null>;
|
|
7
|
+
placement?: Placement;
|
|
8
|
+
/** Distance from the anchor in pixels. */
|
|
9
|
+
offset?: number;
|
|
10
|
+
/** Make the floating element at least as wide as the anchor. */
|
|
11
|
+
matchWidth?: boolean;
|
|
12
|
+
/** The tallest it gets before scrolling. */
|
|
13
|
+
maxHeight?: number;
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* Positions a floating element (a popover, a listbox) against its anchor with fixed coordinates, flips it above
|
|
17
|
+
* or below when there's no room, keeps it on screen, and follows the anchor when the page scrolls or resizes.
|
|
18
|
+
* It also puts the element in the browser's top layer (popover="manual"), so dialogs and overflow can't clip it.
|
|
19
|
+
* Pass the element's `mounted` from usePresence as `open`, so it stays placed while it animates out.
|
|
20
|
+
*/
|
|
21
|
+
export declare function useFloating({ open, anchorRef, floatingRef, placement, offset, matchWidth, maxHeight, }: Options): CSSProperties;
|
|
22
|
+
/** Calls `onDismiss` on a press outside every given element, or on Escape. */
|
|
23
|
+
export declare function useDismiss(open: boolean, refs: Array<RefObject<HTMLElement | null>>, onDismiss: (reason: "outside" | "escape") => void): void;
|
|
24
|
+
/** The attribute that makes an element a manual popover, typed loosely for React 18. */
|
|
25
|
+
export declare const manualPopover: Record<string, string>;
|
|
26
|
+
export {};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { type CSSProperties, type RefObject } from "react";
|
|
2
|
+
export type Placement = "bottom-start" | "bottom-end" | "bottom" | "top-start" | "top-end" | "top";
|
|
3
|
+
interface Options {
|
|
4
|
+
open: boolean;
|
|
5
|
+
anchorRef: RefObject<HTMLElement | null>;
|
|
6
|
+
floatingRef: RefObject<HTMLElement | null>;
|
|
7
|
+
placement?: Placement;
|
|
8
|
+
/** Distance from the anchor in pixels. */
|
|
9
|
+
offset?: number;
|
|
10
|
+
/** Make the floating element at least as wide as the anchor. */
|
|
11
|
+
matchWidth?: boolean;
|
|
12
|
+
/** The tallest it gets before scrolling. */
|
|
13
|
+
maxHeight?: number;
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* Positions a floating element (a popover, a listbox) against its anchor with fixed coordinates, flips it above
|
|
17
|
+
* or below when there's no room, keeps it on screen, and follows the anchor when the page scrolls or resizes.
|
|
18
|
+
* It also puts the element in the browser's top layer (popover="manual"), so dialogs and overflow can't clip it.
|
|
19
|
+
* Pass the element's `mounted` from usePresence as `open`, so it stays placed while it animates out.
|
|
20
|
+
*/
|
|
21
|
+
export declare function useFloating({ open, anchorRef, floatingRef, placement, offset, matchWidth, maxHeight, }: Options): CSSProperties;
|
|
22
|
+
/** Calls `onDismiss` on a press outside every given element, or on Escape. */
|
|
23
|
+
export declare function useDismiss(open: boolean, refs: Array<RefObject<HTMLElement | null>>, onDismiss: (reason: "outside" | "escape") => void): void;
|
|
24
|
+
/** The attribute that makes an element a manual popover, typed loosely for React 18. */
|
|
25
|
+
export declare const manualPopover: Record<string, string>;
|
|
26
|
+
export {};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { type RefObject } from "react";
|
|
2
|
+
/**
|
|
3
|
+
* Measures the selected child of `containerRef` (the first match of `selector`) and writes its box to the
|
|
4
|
+
* container as --ow-indicator-x, -y, -w and -h, so one absolutely placed element (.ow-indicator) can slide
|
|
5
|
+
* between choices. The container gets data-indicator="placed" on the first measure (no animation) and "ready"
|
|
6
|
+
* a frame later (animated from then on). It re-measures when `key` changes or anything resizes.
|
|
7
|
+
*/
|
|
8
|
+
export declare function useIndicator(containerRef: RefObject<HTMLElement | null>, selector: string, key: unknown): void;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { type RefObject } from "react";
|
|
2
|
+
/**
|
|
3
|
+
* Measures the selected child of `containerRef` (the first match of `selector`) and writes its box to the
|
|
4
|
+
* container as --ow-indicator-x, -y, -w and -h, so one absolutely placed element (.ow-indicator) can slide
|
|
5
|
+
* between choices. The container gets data-indicator="placed" on the first measure (no animation) and "ready"
|
|
6
|
+
* a frame later (animated from then on). It re-measures when `key` changes or anything resizes.
|
|
7
|
+
*/
|
|
8
|
+
export declare function useIndicator(containerRef: RefObject<HTMLElement | null>, selector: string, key: unknown): void;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { type KeyboardEvent, type RefObject } from "react";
|
|
2
|
+
/**
|
|
3
|
+
* Keyboard use for a `role="menu"` popup, as people expect from menus: opening it moves focus to its first item,
|
|
4
|
+
* the arrow keys (and Home and End) move between items, wrapping round, and Escape closes it and puts focus
|
|
5
|
+
* back on the button that opened it. Attach the returned handler to the menu's `onKeyDown`.
|
|
6
|
+
*/
|
|
7
|
+
export declare function useMenuKeyboard({ open, menuRef, triggerRef, onClose, }: {
|
|
8
|
+
open: boolean;
|
|
9
|
+
menuRef: RefObject<HTMLElement | null>;
|
|
10
|
+
triggerRef?: RefObject<HTMLElement | null> | undefined;
|
|
11
|
+
onClose(): void;
|
|
12
|
+
}): (event: KeyboardEvent<HTMLElement>) => void;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { type KeyboardEvent, type RefObject } from "react";
|
|
2
|
+
/**
|
|
3
|
+
* Keyboard use for a `role="menu"` popup, as people expect from menus: opening it moves focus to its first item,
|
|
4
|
+
* the arrow keys (and Home and End) move between items, wrapping round, and Escape closes it and puts focus
|
|
5
|
+
* back on the button that opened it. Attach the returned handler to the menu's `onKeyDown`.
|
|
6
|
+
*/
|
|
7
|
+
export declare function useMenuKeyboard({ open, menuRef, triggerRef, onClose, }: {
|
|
8
|
+
open: boolean;
|
|
9
|
+
menuRef: RefObject<HTMLElement | null>;
|
|
10
|
+
triggerRef?: RefObject<HTMLElement | null> | undefined;
|
|
11
|
+
onClose(): void;
|
|
12
|
+
}): (event: KeyboardEvent<HTMLElement>) => void;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Shows a <dialog> as a modal while `open` is true, and keeps it mounted long enough for its exit animation
|
|
3
|
+
* once `open` turns false. Escape and a click on the backdrop fire the dialog's `cancel` event; the hook turns
|
|
4
|
+
* that into `onCancel`, so a dialog that must stay open while it works can ignore it.
|
|
5
|
+
*/
|
|
6
|
+
export declare function useModalDialog(open: boolean, onCancel: () => void): {
|
|
7
|
+
dialogRef: import("react").RefObject<HTMLDialogElement>;
|
|
8
|
+
mounted: boolean;
|
|
9
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Shows a <dialog> as a modal while `open` is true, and keeps it mounted long enough for its exit animation
|
|
3
|
+
* once `open` turns false. Escape and a click on the backdrop fire the dialog's `cancel` event; the hook turns
|
|
4
|
+
* that into `onCancel`, so a dialog that must stay open while it works can ignore it.
|
|
5
|
+
*/
|
|
6
|
+
export declare function useModalDialog(open: boolean, onCancel: () => void): {
|
|
7
|
+
dialogRef: import("react").RefObject<HTMLDialogElement>;
|
|
8
|
+
mounted: boolean;
|
|
9
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/** How long a closing layer stays mounted for its exit animation (base.css: ow-floating-out). */
|
|
2
|
+
export declare const exitDuration = 140;
|
|
3
|
+
export interface Presence {
|
|
4
|
+
/** Render the element while this is true: it stays true through the exit animation. */
|
|
5
|
+
mounted: boolean;
|
|
6
|
+
/** Put this on the element as data-state, so CSS can run the enter or the exit animation. */
|
|
7
|
+
state: "open" | "closed";
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Keeps an element mounted for a moment after `open` turns false, so it can animate out instead of vanishing.
|
|
11
|
+
* With reduced motion it unmounts at once.
|
|
12
|
+
*/
|
|
13
|
+
export declare function usePresence(open: boolean, exitMs?: number): Presence;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/** How long a closing layer stays mounted for its exit animation (base.css: ow-floating-out). */
|
|
2
|
+
export declare const exitDuration = 140;
|
|
3
|
+
export interface Presence {
|
|
4
|
+
/** Render the element while this is true: it stays true through the exit animation. */
|
|
5
|
+
mounted: boolean;
|
|
6
|
+
/** Put this on the element as data-state, so CSS can run the enter or the exit animation. */
|
|
7
|
+
state: "open" | "closed";
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Keeps an element mounted for a moment after `open` turns false, so it can animate out instead of vanishing.
|
|
11
|
+
* With reduced motion it unmounts at once.
|
|
12
|
+
*/
|
|
13
|
+
export declare function usePresence(open: boolean, exitMs?: number): Presence;
|
package/dist/icons.d.cts
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import type { SVGProps } from "react";
|
|
2
|
+
export interface IconProps extends Omit<SVGProps<SVGSVGElement>, "ref"> {
|
|
3
|
+
size?: number;
|
|
4
|
+
}
|
|
5
|
+
export declare const CheckIcon: ({ size, strokeWidth, ...props }: IconProps) => import("react").JSX.Element;
|
|
6
|
+
export declare const ChevronDownIcon: ({ size, strokeWidth, ...props }: IconProps) => import("react").JSX.Element;
|
|
7
|
+
export declare const SearchIcon: ({ size, strokeWidth, ...props }: IconProps) => import("react").JSX.Element;
|
|
8
|
+
export declare const CornerDownLeftIcon: ({ size, strokeWidth, ...props }: IconProps) => import("react").JSX.Element;
|
|
9
|
+
export declare const XIcon: ({ size, strokeWidth, ...props }: IconProps) => import("react").JSX.Element;
|
|
10
|
+
export declare const UserIcon: ({ size, strokeWidth, ...props }: IconProps) => import("react").JSX.Element;
|
|
11
|
+
export declare const TrashIcon: ({ size, strokeWidth, ...props }: IconProps) => import("react").JSX.Element;
|
|
12
|
+
export declare const CircleCheckIcon: ({ size, strokeWidth, ...props }: IconProps) => import("react").JSX.Element;
|
|
13
|
+
export declare const CircleAlertIcon: ({ size, strokeWidth, ...props }: IconProps) => import("react").JSX.Element;
|
|
14
|
+
export declare const ChevronRightIcon: ({ size, strokeWidth, ...props }: IconProps) => import("react").JSX.Element;
|
|
15
|
+
export declare const ChevronLeftIcon: ({ size, strokeWidth, ...props }: IconProps) => import("react").JSX.Element;
|
|
16
|
+
export declare const ChevronUpIcon: ({ size, strokeWidth, ...props }: IconProps) => import("react").JSX.Element;
|
|
17
|
+
export declare const MinusIcon: ({ size, strokeWidth, ...props }: IconProps) => import("react").JSX.Element;
|
|
18
|
+
export declare const PlusIcon: ({ size, strokeWidth, ...props }: IconProps) => import("react").JSX.Element;
|
|
19
|
+
export declare const InfoIcon: ({ size, strokeWidth, ...props }: IconProps) => import("react").JSX.Element;
|
|
20
|
+
export declare const TriangleAlertIcon: ({ size, strokeWidth, ...props }: IconProps) => import("react").JSX.Element;
|
|
21
|
+
export declare const PipetteIcon: ({ size, strokeWidth, ...props }: IconProps) => import("react").JSX.Element;
|
|
22
|
+
export declare const CopyIcon: ({ size, strokeWidth, ...props }: IconProps) => import("react").JSX.Element;
|
|
23
|
+
export declare const CalendarIcon: ({ size, strokeWidth, ...props }: IconProps) => import("react").JSX.Element;
|
|
24
|
+
export declare const FileIcon: ({ size, strokeWidth, ...props }: IconProps) => import("react").JSX.Element;
|
|
25
|
+
export declare const FolderIcon: ({ size, strokeWidth, ...props }: IconProps) => import("react").JSX.Element;
|
|
26
|
+
export declare const FolderOpenIcon: ({ size, strokeWidth, ...props }: IconProps) => import("react").JSX.Element;
|
|
27
|
+
export declare const UploadIcon: ({ size, strokeWidth, ...props }: IconProps) => import("react").JSX.Element;
|
|
28
|
+
export declare const ArrowUpRightIcon: ({ size, strokeWidth, ...props }: IconProps) => import("react").JSX.Element;
|
|
29
|
+
export declare const ArrowUpIcon: ({ size, strokeWidth, ...props }: IconProps) => import("react").JSX.Element;
|
|
30
|
+
export declare const ArrowDownIcon: ({ size, strokeWidth, ...props }: IconProps) => import("react").JSX.Element;
|
|
31
|
+
export declare const ChevronsUpDownIcon: ({ size, strokeWidth, ...props }: IconProps) => import("react").JSX.Element;
|
|
32
|
+
export declare const InboxIcon: ({ size, strokeWidth, ...props }: IconProps) => import("react").JSX.Element;
|
|
33
|
+
export declare const EllipsisIcon: ({ size, strokeWidth, ...props }: IconProps) => import("react").JSX.Element;
|
package/dist/icons.d.ts
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import type { SVGProps } from "react";
|
|
2
|
+
export interface IconProps extends Omit<SVGProps<SVGSVGElement>, "ref"> {
|
|
3
|
+
size?: number;
|
|
4
|
+
}
|
|
5
|
+
export declare const CheckIcon: ({ size, strokeWidth, ...props }: IconProps) => import("react").JSX.Element;
|
|
6
|
+
export declare const ChevronDownIcon: ({ size, strokeWidth, ...props }: IconProps) => import("react").JSX.Element;
|
|
7
|
+
export declare const SearchIcon: ({ size, strokeWidth, ...props }: IconProps) => import("react").JSX.Element;
|
|
8
|
+
export declare const CornerDownLeftIcon: ({ size, strokeWidth, ...props }: IconProps) => import("react").JSX.Element;
|
|
9
|
+
export declare const XIcon: ({ size, strokeWidth, ...props }: IconProps) => import("react").JSX.Element;
|
|
10
|
+
export declare const UserIcon: ({ size, strokeWidth, ...props }: IconProps) => import("react").JSX.Element;
|
|
11
|
+
export declare const TrashIcon: ({ size, strokeWidth, ...props }: IconProps) => import("react").JSX.Element;
|
|
12
|
+
export declare const CircleCheckIcon: ({ size, strokeWidth, ...props }: IconProps) => import("react").JSX.Element;
|
|
13
|
+
export declare const CircleAlertIcon: ({ size, strokeWidth, ...props }: IconProps) => import("react").JSX.Element;
|
|
14
|
+
export declare const ChevronRightIcon: ({ size, strokeWidth, ...props }: IconProps) => import("react").JSX.Element;
|
|
15
|
+
export declare const ChevronLeftIcon: ({ size, strokeWidth, ...props }: IconProps) => import("react").JSX.Element;
|
|
16
|
+
export declare const ChevronUpIcon: ({ size, strokeWidth, ...props }: IconProps) => import("react").JSX.Element;
|
|
17
|
+
export declare const MinusIcon: ({ size, strokeWidth, ...props }: IconProps) => import("react").JSX.Element;
|
|
18
|
+
export declare const PlusIcon: ({ size, strokeWidth, ...props }: IconProps) => import("react").JSX.Element;
|
|
19
|
+
export declare const InfoIcon: ({ size, strokeWidth, ...props }: IconProps) => import("react").JSX.Element;
|
|
20
|
+
export declare const TriangleAlertIcon: ({ size, strokeWidth, ...props }: IconProps) => import("react").JSX.Element;
|
|
21
|
+
export declare const PipetteIcon: ({ size, strokeWidth, ...props }: IconProps) => import("react").JSX.Element;
|
|
22
|
+
export declare const CopyIcon: ({ size, strokeWidth, ...props }: IconProps) => import("react").JSX.Element;
|
|
23
|
+
export declare const CalendarIcon: ({ size, strokeWidth, ...props }: IconProps) => import("react").JSX.Element;
|
|
24
|
+
export declare const FileIcon: ({ size, strokeWidth, ...props }: IconProps) => import("react").JSX.Element;
|
|
25
|
+
export declare const FolderIcon: ({ size, strokeWidth, ...props }: IconProps) => import("react").JSX.Element;
|
|
26
|
+
export declare const FolderOpenIcon: ({ size, strokeWidth, ...props }: IconProps) => import("react").JSX.Element;
|
|
27
|
+
export declare const UploadIcon: ({ size, strokeWidth, ...props }: IconProps) => import("react").JSX.Element;
|
|
28
|
+
export declare const ArrowUpRightIcon: ({ size, strokeWidth, ...props }: IconProps) => import("react").JSX.Element;
|
|
29
|
+
export declare const ArrowUpIcon: ({ size, strokeWidth, ...props }: IconProps) => import("react").JSX.Element;
|
|
30
|
+
export declare const ArrowDownIcon: ({ size, strokeWidth, ...props }: IconProps) => import("react").JSX.Element;
|
|
31
|
+
export declare const ChevronsUpDownIcon: ({ size, strokeWidth, ...props }: IconProps) => import("react").JSX.Element;
|
|
32
|
+
export declare const InboxIcon: ({ size, strokeWidth, ...props }: IconProps) => import("react").JSX.Element;
|
|
33
|
+
export declare const EllipsisIcon: ({ size, strokeWidth, ...props }: IconProps) => import("react").JSX.Element;
|