@rafal.lemieszewski/tide-ui 0.82.1 → 0.84.2
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/README.md +21 -9
- package/dist/cjs/components/fundamental/accordion.cjs +1 -0
- package/dist/cjs/components/fundamental/alert-dialog.cjs +1 -0
- package/dist/cjs/components/fundamental/alert.cjs +1 -0
- package/dist/cjs/components/fundamental/autocomplete-search.cjs +1 -0
- package/dist/cjs/components/fundamental/avatar-group.cjs +1 -0
- package/dist/cjs/components/fundamental/avatar.cjs +1 -0
- package/dist/cjs/components/fundamental/badge.cjs +1 -0
- package/dist/cjs/components/fundamental/breadcrumb.cjs +1 -0
- package/dist/cjs/components/fundamental/button-group.cjs +1 -0
- package/dist/cjs/components/fundamental/button.cjs +1 -0
- package/dist/cjs/components/fundamental/calendar.cjs +1 -0
- package/dist/cjs/components/fundamental/card.cjs +1 -0
- package/dist/cjs/components/fundamental/chart.cjs +1 -0
- package/dist/cjs/components/fundamental/checkbox.cjs +1 -0
- package/dist/cjs/components/fundamental/collapsible.cjs +1 -0
- package/dist/cjs/components/fundamental/combobox.cjs +1 -0
- package/dist/cjs/components/fundamental/command.cjs +1 -0
- package/dist/cjs/components/fundamental/country-dropdown.cjs +1 -0
- package/dist/cjs/components/fundamental/custom-icons.cjs +1 -0
- package/dist/cjs/components/fundamental/date-picker.cjs +1 -0
- package/dist/cjs/components/fundamental/dialog.cjs +1 -0
- package/dist/cjs/components/fundamental/drawer.cjs +1 -0
- package/dist/cjs/components/fundamental/dropdown-menu.cjs +1 -0
- package/dist/cjs/components/fundamental/editable.cjs +1 -0
- package/dist/cjs/components/fundamental/empty.cjs +1 -0
- package/dist/cjs/components/fundamental/file-upload.cjs +1 -0
- package/dist/cjs/components/fundamental/flag.cjs +1 -0
- package/dist/cjs/components/fundamental/form-field.cjs +1 -0
- package/dist/cjs/components/fundamental/hover-card.cjs +1 -0
- package/dist/cjs/components/fundamental/icon.cjs +1 -0
- package/dist/cjs/components/fundamental/input-group.cjs +1 -0
- package/dist/cjs/components/fundamental/input.cjs +1 -0
- package/dist/cjs/components/fundamental/kbd.cjs +1 -0
- package/dist/cjs/components/fundamental/label.cjs +1 -0
- package/dist/cjs/components/fundamental/month-picker.cjs +1 -0
- package/dist/cjs/components/fundamental/pagination.cjs +1 -0
- package/dist/cjs/components/fundamental/popover.cjs +1 -0
- package/dist/cjs/components/fundamental/progress.cjs +1 -0
- package/dist/cjs/components/fundamental/radio-group.cjs +1 -0
- package/dist/cjs/components/fundamental/resizable.cjs +1 -0
- package/dist/cjs/components/fundamental/scroll-area.cjs +1 -0
- package/dist/cjs/components/fundamental/select.cjs +1 -0
- package/dist/cjs/components/fundamental/separator.cjs +1 -0
- package/dist/cjs/components/fundamental/sheet.cjs +1 -0
- package/dist/cjs/components/fundamental/sidebar.cjs +1 -0
- package/dist/cjs/components/fundamental/skeleton.cjs +1 -0
- package/dist/cjs/components/fundamental/slider.cjs +1 -0
- package/dist/cjs/components/fundamental/spinner.cjs +1 -0
- package/dist/cjs/components/fundamental/switch.cjs +1 -0
- package/dist/cjs/components/fundamental/table.cjs +1 -0
- package/dist/cjs/components/fundamental/tabs.cjs +1 -0
- package/dist/cjs/components/fundamental/tag.cjs +27 -0
- package/dist/cjs/components/fundamental/text-link.cjs +1 -0
- package/dist/cjs/components/fundamental/textarea.cjs +1 -0
- package/dist/cjs/components/fundamental/toast.cjs +1 -0
- package/dist/cjs/components/fundamental/toggle-group.cjs +1 -0
- package/dist/cjs/components/fundamental/toggle.cjs +1 -0
- package/dist/cjs/components/fundamental/tooltip.cjs +1 -0
- package/dist/cjs/components/fundamental/tree.cjs +1 -0
- package/dist/cjs/components/index.cjs +1 -0
- package/dist/cjs/components/product/activity-log.cjs +1 -0
- package/dist/cjs/components/product/app-frame.cjs +1 -0
- package/dist/cjs/components/product/attributes-list.cjs +1 -0
- package/dist/cjs/components/product/bookmarks.cjs +1 -0
- package/dist/cjs/components/product/data-table-settings-menu.cjs +1 -0
- package/dist/cjs/components/product/data-table.cjs +1 -0
- package/dist/cjs/components/product/filters.cjs +1 -0
- package/dist/cjs/components/product/fixture-status.cjs +1 -0
- package/dist/cjs/components/product/linked-chart.cjs +1 -0
- package/dist/cjs/components/product/view-mode-menu.cjs +1 -0
- package/dist/cjs/lib/date-utils.cjs +1 -0
- package/dist/cjs/lib/hooks.cjs +1 -0
- package/dist/cjs/lib/index.cjs +1 -0
- package/dist/cjs/lib/utils.cjs +1 -0
- package/dist/es/components/fundamental/accordion.js +60 -0
- package/dist/es/components/fundamental/alert-dialog.js +116 -0
- package/dist/es/components/fundamental/alert.js +65 -0
- package/dist/es/components/fundamental/autocomplete-search.js +139 -0
- package/dist/es/components/fundamental/avatar-group.js +51 -0
- package/dist/es/components/fundamental/avatar.js +165 -0
- package/dist/es/components/fundamental/badge.js +157 -0
- package/dist/es/components/fundamental/breadcrumb.js +142 -0
- package/dist/es/components/fundamental/button-group.js +86 -0
- package/dist/es/components/fundamental/button.js +186 -0
- package/dist/es/components/fundamental/calendar.js +130 -0
- package/dist/es/components/fundamental/card.js +68 -0
- package/dist/es/components/fundamental/chart.js +1006 -0
- package/dist/es/components/fundamental/checkbox.js +51 -0
- package/dist/es/components/fundamental/collapsible.js +55 -0
- package/dist/es/components/fundamental/combobox.js +229 -0
- package/dist/es/components/fundamental/command.js +155 -0
- package/dist/es/components/fundamental/country-dropdown.js +215 -0
- package/dist/es/components/fundamental/custom-icons.js +876 -0
- package/dist/es/components/fundamental/date-picker.js +119 -0
- package/dist/es/components/fundamental/dialog.js +106 -0
- package/dist/es/components/fundamental/drawer.js +93 -0
- package/dist/es/components/fundamental/dropdown-menu.js +600 -0
- package/dist/es/components/fundamental/editable.js +123 -0
- package/dist/es/components/fundamental/empty.js +152 -0
- package/dist/es/components/fundamental/file-upload.js +289 -0
- package/dist/es/components/fundamental/flag.js +60 -0
- package/dist/es/components/fundamental/form-field.js +352 -0
- package/dist/es/components/fundamental/hover-card.js +23 -0
- package/dist/es/components/fundamental/icon.js +205 -0
- package/dist/es/components/fundamental/input-group.js +135 -0
- package/dist/es/components/fundamental/input.js +78 -0
- package/dist/es/components/fundamental/kbd.js +57 -0
- package/dist/es/components/fundamental/label.js +54 -0
- package/dist/es/components/fundamental/month-picker.js +161 -0
- package/dist/es/components/fundamental/pagination.js +109 -0
- package/dist/es/components/fundamental/popover.js +24 -0
- package/dist/es/components/fundamental/progress.js +66 -0
- package/dist/es/components/fundamental/radio-group.js +64 -0
- package/dist/es/components/fundamental/resizable.js +43 -0
- package/dist/es/components/fundamental/scroll-area.js +38 -0
- package/dist/es/components/fundamental/select.js +136 -0
- package/dist/es/components/fundamental/separator.js +47 -0
- package/dist/es/components/fundamental/sheet.js +134 -0
- package/dist/es/components/fundamental/sidebar.js +709 -0
- package/dist/es/components/fundamental/skeleton.js +158 -0
- package/dist/es/components/fundamental/slider.js +35 -0
- package/dist/es/components/fundamental/spinner.js +225 -0
- package/dist/es/components/fundamental/switch.js +27 -0
- package/dist/es/components/fundamental/table.js +263 -0
- package/dist/es/components/fundamental/tabs.js +170 -0
- package/dist/es/components/fundamental/tag.js +295 -0
- package/dist/es/components/fundamental/text-link.js +105 -0
- package/dist/es/components/fundamental/textarea.js +47 -0
- package/dist/es/components/fundamental/toast.js +108 -0
- package/dist/es/components/fundamental/toggle-group.js +37 -0
- package/dist/es/components/fundamental/toggle.js +51 -0
- package/dist/es/components/fundamental/tooltip.js +26 -0
- package/dist/es/components/fundamental/tree.js +161 -0
- package/dist/es/components/index.js +37 -0
- package/dist/es/components/product/activity-log.js +231 -0
- package/dist/es/components/product/app-frame.js +985 -0
- package/dist/es/components/product/attributes-list.js +351 -0
- package/dist/es/components/product/bookmarks.js +833 -0
- package/dist/es/components/product/data-table-settings-menu.js +169 -0
- package/dist/es/components/product/data-table.js +2459 -0
- package/dist/es/components/product/filters.js +1041 -0
- package/dist/es/components/product/fixture-status.js +178 -0
- package/dist/es/components/product/linked-chart.js +179 -0
- package/dist/es/components/product/view-mode-menu.js +353 -0
- package/dist/es/lib/date-utils.js +151 -0
- package/dist/es/lib/hooks.js +29 -0
- package/dist/es/lib/index.js +388 -0
- package/dist/es/lib/utils.js +8 -0
- package/dist/es/style.css +1 -0
- package/dist/{components → types/components}/fundamental/avatar-group.d.ts +5 -5
- package/dist/{components → types/components}/fundamental/avatar.d.ts +2 -2
- package/dist/{components → types/components}/fundamental/badge.d.ts +5 -5
- package/dist/{components → types/components}/fundamental/button-group.d.ts +2 -2
- package/dist/{components → types/components}/fundamental/button.d.ts +2 -2
- package/dist/{components → types/components}/fundamental/command.d.ts +1 -1
- package/dist/{components → types/components}/fundamental/empty.d.ts +4 -4
- package/dist/{components → types/components}/fundamental/file-upload.d.ts +1 -1
- package/dist/{components → types/components}/fundamental/flag.d.ts +10 -10
- package/dist/{components → types/components}/fundamental/form-field.d.ts +1 -1
- package/dist/{components → types/components}/fundamental/form.d.ts +2 -2
- package/dist/{components → types/components}/fundamental/icon.d.ts +5 -5
- package/dist/{components → types/components}/fundamental/input-group.d.ts +2 -2
- package/dist/{components → types/components}/fundamental/input.d.ts +1 -1
- package/dist/{components → types/components}/fundamental/kbd.d.ts +1 -1
- package/dist/{components → types/components}/fundamental/label.d.ts +1 -1
- package/dist/{components → types/components}/fundamental/progress.d.ts +1 -1
- package/dist/{components → types/components}/fundamental/select.d.ts +1 -1
- package/dist/{components → types/components}/fundamental/sidebar.d.ts +6 -6
- package/dist/{components → types/components}/fundamental/skeleton.d.ts +3 -3
- package/dist/{components → types/components}/fundamental/spinner.d.ts +4 -4
- package/dist/{components → types/components}/fundamental/table.d.ts +3 -3
- package/dist/{components → types/components}/fundamental/tabs.d.ts +2 -2
- package/dist/{components → types/components}/fundamental/tag.d.ts +4 -4
- package/dist/{components → types/components}/fundamental/text-link.d.ts +2 -2
- package/dist/{components → types/components}/fundamental/textarea.d.ts +1 -1
- package/dist/{components → types/components}/fundamental/toggle-group.d.ts +2 -2
- package/dist/{components → types/components}/fundamental/toggle.d.ts +1 -1
- package/dist/{components → types/components}/index.d.ts +134 -128
- package/dist/{components → types/components}/product/activity-log.d.ts +1 -1
- package/dist/{components → types/components}/product/attributes-list.d.ts +3 -3
- package/dist/{components → types/components}/product/bookmarks.d.ts +1 -1
- package/dist/{components → types/components}/product/fixture-status.d.ts +5 -5
- package/dist/{components → types/components}/product/linked-chart.d.ts +1 -1
- package/dist/types/lib/index.d.cts +3 -0
- package/dist/types/lib/index.d.ts +3 -0
- package/package.json +111 -33
- package/dist/index.cjs.js +0 -144
- package/dist/index.cjs.js.map +0 -1
- package/dist/index.d.ts +0 -2
- package/dist/index.es.js +0 -87763
- package/dist/index.es.js.map +0 -1
- package/dist/lib/index.d.ts +0 -3
- package/dist/style.css +0 -1
- /package/dist/{components → types/components}/fundamental/accordion.d.ts +0 -0
- /package/dist/{components → types/components}/fundamental/alert-dialog.d.ts +0 -0
- /package/dist/{components → types/components}/fundamental/alert.d.ts +0 -0
- /package/dist/{components → types/components}/fundamental/autocomplete-search.d.ts +0 -0
- /package/dist/{components → types/components}/fundamental/breadcrumb.d.ts +0 -0
- /package/dist/{components → types/components}/fundamental/button.test.d.ts +0 -0
- /package/dist/{components → types/components}/fundamental/calendar.d.ts +0 -0
- /package/dist/{components → types/components}/fundamental/card.d.ts +0 -0
- /package/dist/{components → types/components}/fundamental/chart.d.ts +0 -0
- /package/dist/{components → types/components}/fundamental/checkbox.d.ts +0 -0
- /package/dist/{components → types/components}/fundamental/collapsible.d.ts +0 -0
- /package/dist/{components → types/components}/fundamental/combobox.d.ts +0 -0
- /package/dist/{components → types/components}/fundamental/country-dropdown.d.ts +0 -0
- /package/dist/{components → types/components}/fundamental/custom-icons.d.ts +0 -0
- /package/dist/{components → types/components}/fundamental/date-picker.d.ts +0 -0
- /package/dist/{components → types/components}/fundamental/dialog.d.ts +0 -0
- /package/dist/{components → types/components}/fundamental/drawer.d.ts +0 -0
- /package/dist/{components → types/components}/fundamental/dropdown-menu.d.ts +0 -0
- /package/dist/{components → types/components}/fundamental/editable.d.ts +0 -0
- /package/dist/{components → types/components}/fundamental/hover-card.d.ts +0 -0
- /package/dist/{components → types/components}/fundamental/month-picker.d.ts +0 -0
- /package/dist/{components → types/components}/fundamental/pagination.d.ts +0 -0
- /package/dist/{components → types/components}/fundamental/popover.d.ts +0 -0
- /package/dist/{components → types/components}/fundamental/radio-group.d.ts +0 -0
- /package/dist/{components → types/components}/fundamental/resizable.d.ts +0 -0
- /package/dist/{components → types/components}/fundamental/scroll-area.d.ts +0 -0
- /package/dist/{components → types/components}/fundamental/separator.d.ts +0 -0
- /package/dist/{components → types/components}/fundamental/sheet.d.ts +0 -0
- /package/dist/{components → types/components}/fundamental/slider.d.ts +0 -0
- /package/dist/{components → types/components}/fundamental/switch.d.ts +0 -0
- /package/dist/{components → types/components}/fundamental/toast.d.ts +0 -0
- /package/dist/{components → types/components}/fundamental/tooltip.d.ts +0 -0
- /package/dist/{components → types/components}/fundamental/tree.d.ts +0 -0
- /package/dist/{components → types/components}/product/app-frame.d.ts +0 -0
- /package/dist/{components → types/components}/product/data-table-settings-menu.d.ts +0 -0
- /package/dist/{components → types/components}/product/data-table.d.ts +0 -0
- /package/dist/{components → types/components}/product/filters.d.ts +0 -0
- /package/dist/{components → types/components}/product/view-mode-menu.d.ts +0 -0
- /package/dist/{lib → types/lib}/date-utils.d.ts +0 -0
- /package/dist/{lib → types/lib}/hooks.d.ts +0 -0
- /package/dist/{lib → types/lib}/utils.d.ts +0 -0
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
2
|
declare const avatarGroupOverlapClasses: {
|
|
3
3
|
readonly xxs: "-ml-[6px]";
|
|
4
|
-
readonly xs: "-ml-[var(--space-
|
|
5
|
-
readonly
|
|
6
|
-
readonly
|
|
7
|
-
readonly
|
|
8
|
-
readonly xl: "-ml-[var(--space-
|
|
4
|
+
readonly xs: "-ml-[var(--space-xs)]";
|
|
5
|
+
readonly s: "-ml-[var(--space-s)]";
|
|
6
|
+
readonly m: "-ml-[var(--space-m)]";
|
|
7
|
+
readonly l: "-ml-[var(--space-l)]";
|
|
8
|
+
readonly xl: "-ml-[var(--space-l)]";
|
|
9
9
|
};
|
|
10
10
|
export type AvatarGroupSize = keyof typeof avatarGroupOverlapClasses;
|
|
11
11
|
export interface AvatarGroupProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
@@ -2,11 +2,11 @@ import { VariantProps } from 'class-variance-authority';
|
|
|
2
2
|
import * as React from "react";
|
|
3
3
|
import * as AvatarPrimitive from "@radix-ui/react-avatar";
|
|
4
4
|
declare const avatarVariants: (props?: ({
|
|
5
|
-
size?: "
|
|
5
|
+
size?: "s" | "xxs" | "xs" | "m" | "l" | "xl" | null | undefined;
|
|
6
6
|
type?: "user" | "organization" | null | undefined;
|
|
7
7
|
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
8
8
|
declare const avatarFallbackVariants: (props?: ({
|
|
9
|
-
size?: "
|
|
9
|
+
size?: "s" | "xxs" | "xs" | "m" | "l" | "xl" | null | undefined;
|
|
10
10
|
type?: "user" | "organization" | null | undefined;
|
|
11
11
|
variant?: "success" | "warning" | "magenta" | "violet" | "information" | "error" | null | undefined;
|
|
12
12
|
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
@@ -3,13 +3,13 @@ import * as React from "react";
|
|
|
3
3
|
declare const badgeVariants: (props?: ({
|
|
4
4
|
intent?: "success" | "warning" | "destructive" | "magenta" | "violet" | "information" | "neutral" | "brand" | null | undefined;
|
|
5
5
|
appearance?: "bold" | "subtle" | null | undefined;
|
|
6
|
-
size?: "
|
|
6
|
+
size?: "s" | "xs" | "m" | "l" | null | undefined;
|
|
7
7
|
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
8
8
|
declare const iconSizeClasses: {
|
|
9
|
-
readonly
|
|
10
|
-
readonly
|
|
11
|
-
readonly
|
|
12
|
-
readonly
|
|
9
|
+
readonly xs: "w-3 h-3";
|
|
10
|
+
readonly s: "w-3.5 h-3.5";
|
|
11
|
+
readonly m: "w-4 h-4";
|
|
12
|
+
readonly l: "w-[18px] h-[18px]";
|
|
13
13
|
};
|
|
14
14
|
export interface BadgeProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof badgeVariants> {
|
|
15
15
|
icon?: React.ReactNode;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { VariantProps } from 'class-variance-authority';
|
|
2
|
-
import { Separator } from './separator';
|
|
2
|
+
import { Separator } from './separator.js';
|
|
3
3
|
import * as React from "react";
|
|
4
4
|
declare const buttonGroupVariants: (props?: ({
|
|
5
5
|
orientation?: "vertical" | "horizontal" | null | undefined;
|
|
6
6
|
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
7
7
|
export interface ButtonGroupProps extends React.ComponentProps<"div">, VariantProps<typeof buttonGroupVariants> {
|
|
8
|
-
size?: "
|
|
8
|
+
size?: "s" | "m" | "l";
|
|
9
9
|
variant?: "default" | "primary" | "destructive" | "success" | "ghost";
|
|
10
10
|
}
|
|
11
11
|
declare const ButtonGroup: React.ForwardRefExoticComponent<Omit<ButtonGroupProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
2
|
import { VariantProps } from 'class-variance-authority';
|
|
3
|
-
import { IconType } from './icon';
|
|
3
|
+
import { IconType } from './icon.js';
|
|
4
4
|
declare const buttonVariants: (props?: ({
|
|
5
5
|
variant?: "default" | "success" | "destructive" | "primary" | "secondary" | "ghost" | null | undefined;
|
|
6
|
-
size?: "
|
|
6
|
+
size?: "s" | "m" | "l" | null | undefined;
|
|
7
7
|
iconPosition?: "none" | "left" | "right" | "only" | null | undefined;
|
|
8
8
|
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
9
9
|
export interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { DialogProps } from '@radix-ui/react-dialog';
|
|
2
2
|
import { Command as CommandPrimitive } from 'cmdk';
|
|
3
3
|
import { VariantProps } from 'class-variance-authority';
|
|
4
|
-
import { inputVariants } from './input';
|
|
4
|
+
import { inputVariants } from './input.js';
|
|
5
5
|
import * as React from "react";
|
|
6
6
|
declare const Command: React.ForwardRefExoticComponent<Omit<{
|
|
7
7
|
children?: React.ReactNode;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { VariantProps } from 'class-variance-authority';
|
|
2
2
|
import * as React from "react";
|
|
3
3
|
declare const emptyVariants: (props?: ({
|
|
4
|
-
size?: "
|
|
4
|
+
size?: "s" | "m" | "l" | null | undefined;
|
|
5
5
|
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
6
6
|
export interface EmptyProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof emptyVariants> {
|
|
7
7
|
}
|
|
@@ -10,19 +10,19 @@ declare const EmptyHeader: React.ForwardRefExoticComponent<React.HTMLAttributes<
|
|
|
10
10
|
declare const emptyMediaVariants: (props?: ({
|
|
11
11
|
variant?: "default" | "icon" | null | undefined;
|
|
12
12
|
color?: "default" | "info" | "success" | "warning" | "error" | "primary" | null | undefined;
|
|
13
|
-
size?: "
|
|
13
|
+
size?: "s" | "m" | "l" | null | undefined;
|
|
14
14
|
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
15
15
|
export interface EmptyMediaProps extends Omit<React.HTMLAttributes<HTMLDivElement>, 'color'>, VariantProps<typeof emptyMediaVariants> {
|
|
16
16
|
}
|
|
17
17
|
declare const EmptyMedia: React.ForwardRefExoticComponent<EmptyMediaProps & React.RefAttributes<HTMLDivElement>>;
|
|
18
18
|
declare const emptyTitleVariants: (props?: ({
|
|
19
|
-
size?: "
|
|
19
|
+
size?: "s" | "m" | "l" | null | undefined;
|
|
20
20
|
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
21
21
|
export interface EmptyTitleProps extends React.HTMLAttributes<HTMLHeadingElement>, VariantProps<typeof emptyTitleVariants> {
|
|
22
22
|
}
|
|
23
23
|
declare const EmptyTitle: React.ForwardRefExoticComponent<EmptyTitleProps & React.RefAttributes<HTMLHeadingElement>>;
|
|
24
24
|
declare const emptyDescriptionVariants: (props?: ({
|
|
25
|
-
size?: "
|
|
25
|
+
size?: "s" | "m" | "l" | null | undefined;
|
|
26
26
|
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
27
27
|
export interface EmptyDescriptionProps extends React.HTMLAttributes<HTMLParagraphElement>, VariantProps<typeof emptyDescriptionVariants> {
|
|
28
28
|
}
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
export declare const flagSizes: {
|
|
2
|
-
readonly
|
|
3
|
-
readonly width: "w-[var(--size-
|
|
2
|
+
readonly s: {
|
|
3
|
+
readonly width: "w-[var(--size-3xs)]";
|
|
4
4
|
readonly height: "h-[9px]";
|
|
5
5
|
};
|
|
6
|
-
readonly
|
|
7
|
-
readonly width: "w-[var(--size-
|
|
6
|
+
readonly m: {
|
|
7
|
+
readonly width: "w-[var(--size-2xs)]";
|
|
8
8
|
readonly height: "h-[12px]";
|
|
9
9
|
};
|
|
10
|
-
readonly
|
|
11
|
-
readonly width: "w-[var(--size-
|
|
10
|
+
readonly l: {
|
|
11
|
+
readonly width: "w-[var(--size-xs)]";
|
|
12
12
|
readonly height: "h-[15px]";
|
|
13
13
|
};
|
|
14
14
|
readonly xl: {
|
|
15
|
-
readonly width: "w-[var(--size-
|
|
15
|
+
readonly width: "w-[var(--size-s)]";
|
|
16
16
|
readonly height: "h-[18px]";
|
|
17
17
|
};
|
|
18
18
|
};
|
|
@@ -24,7 +24,7 @@ export interface FlagProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
|
24
24
|
country: string;
|
|
25
25
|
/**
|
|
26
26
|
* Size variant matching Icon component sizes
|
|
27
|
-
* @default "
|
|
27
|
+
* @default "m"
|
|
28
28
|
*/
|
|
29
29
|
size?: FlagSize;
|
|
30
30
|
/**
|
|
@@ -39,8 +39,8 @@ export interface FlagProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
|
39
39
|
*
|
|
40
40
|
* @example
|
|
41
41
|
* ```tsx
|
|
42
|
-
* <Flag country="us" size="
|
|
43
|
-
* <Flag country="gb" size="
|
|
42
|
+
* <Flag country="us" size="m" />
|
|
43
|
+
* <Flag country="gb" size="l" aria-label="United Kingdom flag" />
|
|
44
44
|
* ```
|
|
45
45
|
*/
|
|
46
46
|
export declare function Flag({ country, size, className, "aria-label": ariaLabel, ...props }: FlagProps): import("react/jsx-runtime").JSX.Element | null;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { VariantProps } from 'class-variance-authority';
|
|
2
|
-
import { Separator } from './separator';
|
|
2
|
+
import { Separator } from './separator.js';
|
|
3
3
|
import * as React from "react";
|
|
4
4
|
export interface FieldSetProps extends React.FieldsetHTMLAttributes<HTMLFieldSetElement> {
|
|
5
5
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { UseFormReturn, FieldPath, FieldValues } from 'react-hook-form';
|
|
2
2
|
import { z } from 'zod';
|
|
3
|
-
import { FormFieldProps as BaseFormFieldProps } from './form-field';
|
|
3
|
+
import { FormFieldProps as BaseFormFieldProps } from './form-field.js';
|
|
4
4
|
import * as React from "react";
|
|
5
|
-
export { FormLabel, FormControl, FormHelperText, FormErrorMessage, } from './form-field';
|
|
5
|
+
export { FormLabel, FormControl, FormHelperText, FormErrorMessage, } from './form-field.js';
|
|
6
6
|
export declare const useFormContext: <TFieldValues extends FieldValues = FieldValues>() => UseFormReturn<TFieldValues>;
|
|
7
7
|
export interface FormProps<TFieldValues extends FieldValues = FieldValues> extends Omit<React.FormHTMLAttributes<HTMLFormElement>, "onSubmit"> {
|
|
8
8
|
form: UseFormReturn<TFieldValues>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
-
import { CustomIconName } from './custom-icons';
|
|
2
|
+
import { CustomIconName } from './custom-icons.js';
|
|
3
3
|
declare const iconColors: {
|
|
4
4
|
readonly primary: "text-[var(--color-icon-primary)]";
|
|
5
5
|
readonly secondary: "text-[var(--color-icon-secondary)]";
|
|
@@ -19,10 +19,10 @@ declare const iconColors: {
|
|
|
19
19
|
readonly violet: "text-[var(--violet-500)]";
|
|
20
20
|
};
|
|
21
21
|
declare const iconSizes: {
|
|
22
|
-
readonly
|
|
23
|
-
readonly
|
|
24
|
-
readonly
|
|
25
|
-
readonly xl: "w-[var(--size-
|
|
22
|
+
readonly s: "w-[var(--size-3xs)] h-[var(--size-3xs)]";
|
|
23
|
+
readonly m: "w-[var(--size-2xs)] h-[var(--size-2xs)]";
|
|
24
|
+
readonly l: "w-[var(--size-xs)] h-[var(--size-xs)]";
|
|
25
|
+
readonly xl: "w-[var(--size-s)] h-[var(--size-s)]";
|
|
26
26
|
};
|
|
27
27
|
export type IconColor = keyof typeof iconColors;
|
|
28
28
|
export type IconSize = keyof typeof iconSizes;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { VariantProps } from 'class-variance-authority';
|
|
2
|
-
import { Button } from './button';
|
|
2
|
+
import { Button } from './button.js';
|
|
3
3
|
import * as React from "react";
|
|
4
4
|
export interface InputGroupProps extends React.ComponentProps<"div"> {
|
|
5
5
|
}
|
|
@@ -17,7 +17,7 @@ export interface InputGroupTextProps extends React.ComponentProps<"span"> {
|
|
|
17
17
|
}
|
|
18
18
|
declare const InputGroupText: React.ForwardRefExoticComponent<Omit<InputGroupTextProps, "ref"> & React.RefAttributes<HTMLSpanElement>>;
|
|
19
19
|
export interface InputGroupInputProps extends Omit<React.ComponentProps<"input">, 'size'> {
|
|
20
|
-
size?: "
|
|
20
|
+
size?: "s" | "m" | "l";
|
|
21
21
|
}
|
|
22
22
|
declare const InputGroupInput: React.ForwardRefExoticComponent<Omit<InputGroupInputProps, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
23
23
|
export interface InputGroupTextareaProps extends React.ComponentProps<"textarea"> {
|
|
@@ -2,7 +2,7 @@ import { VariantProps } from 'class-variance-authority';
|
|
|
2
2
|
import * as React from "react";
|
|
3
3
|
declare const inputVariants: (props?: ({
|
|
4
4
|
variant?: "default" | "error" | null | undefined;
|
|
5
|
-
size?: "
|
|
5
|
+
size?: "s" | "m" | "l" | null | undefined;
|
|
6
6
|
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
7
7
|
export interface InputProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, "size">, VariantProps<typeof inputVariants> {
|
|
8
8
|
}
|
|
@@ -2,7 +2,7 @@ import { VariantProps } from 'class-variance-authority';
|
|
|
2
2
|
import * as React from "react";
|
|
3
3
|
declare const kbdVariants: (props?: ({
|
|
4
4
|
variant?: "dark" | "light" | null | undefined;
|
|
5
|
-
size?: "
|
|
5
|
+
size?: "s" | "m" | null | undefined;
|
|
6
6
|
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
7
7
|
export interface KbdProps extends React.HTMLAttributes<HTMLElement>, VariantProps<typeof kbdVariants> {
|
|
8
8
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { VariantProps } from 'class-variance-authority';
|
|
2
2
|
import * as React from "react";
|
|
3
3
|
declare const labelVariants: (props?: ({
|
|
4
|
-
size?: "
|
|
4
|
+
size?: "s" | "m" | null | undefined;
|
|
5
5
|
color?: "primary" | "secondary" | null | undefined;
|
|
6
6
|
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
7
7
|
export interface LabelProps extends Omit<React.LabelHTMLAttributes<HTMLLabelElement>, "color">, VariantProps<typeof labelVariants> {
|
|
@@ -3,7 +3,7 @@ import * as React from "react";
|
|
|
3
3
|
import * as ProgressPrimitive from "@radix-ui/react-progress";
|
|
4
4
|
declare const progressVariants: (props?: ({
|
|
5
5
|
variant?: "default" | "success" | "warning" | "error" | null | undefined;
|
|
6
|
-
size?: "
|
|
6
|
+
size?: "s" | "m" | "l" | null | undefined;
|
|
7
7
|
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
8
8
|
export interface ProgressProps extends React.ComponentPropsWithoutRef<typeof ProgressPrimitive.Root>, VariantProps<typeof progressVariants> {
|
|
9
9
|
showLabel?: boolean;
|
|
@@ -3,7 +3,7 @@ import * as React from "react";
|
|
|
3
3
|
import * as SelectPrimitive from "@radix-ui/react-select";
|
|
4
4
|
declare const selectTriggerVariants: (props?: ({
|
|
5
5
|
variant?: "default" | "error" | null | undefined;
|
|
6
|
-
size?: "
|
|
6
|
+
size?: "s" | "m" | "l" | null | undefined;
|
|
7
7
|
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
8
8
|
declare const selectContentVariants: (props?: import('class-variance-authority/types').ClassProp | undefined) => string;
|
|
9
9
|
declare const selectItemVariants: (props?: ({} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
@@ -23,7 +23,7 @@ declare const Sidebar: React.ForwardRefExoticComponent<Omit<React.ClassAttribute
|
|
|
23
23
|
collapsible?: "offcanvas" | "icon" | "none";
|
|
24
24
|
side?: "left" | "right";
|
|
25
25
|
}, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
26
|
-
declare const SidebarTrigger: React.ForwardRefExoticComponent<Omit<import('./button').ButtonProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
26
|
+
declare const SidebarTrigger: React.ForwardRefExoticComponent<Omit<import('./button.js').ButtonProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
27
27
|
declare const SidebarRail: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
28
28
|
declare const SidebarInset: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
29
29
|
declare const SidebarInput: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
@@ -37,7 +37,7 @@ declare const SidebarSearchTrigger: React.ForwardRefExoticComponent<Omit<React.C
|
|
|
37
37
|
}, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
38
38
|
declare const SidebarHeader: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
39
39
|
declare const SidebarFooter: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
40
|
-
declare const SidebarSeparator: React.ForwardRefExoticComponent<Omit<import('./separator').SeparatorProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
40
|
+
declare const SidebarSeparator: React.ForwardRefExoticComponent<Omit<import('./separator.js').SeparatorProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
41
41
|
declare const SidebarContent: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
42
42
|
declare const SidebarGroup: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
43
43
|
declare const SidebarGroupLabel: React.ForwardRefExoticComponent<Omit<React.ClassAttributes<HTMLDivElement> & React.HTMLAttributes<HTMLDivElement> & {
|
|
@@ -58,11 +58,11 @@ declare const SidebarMenuButton: React.ForwardRefExoticComponent<Omit<React.Clas
|
|
|
58
58
|
variant?: "default" | "enhanced";
|
|
59
59
|
} & VariantProps<(props?: ({
|
|
60
60
|
variant?: "default" | "outline" | null | undefined;
|
|
61
|
-
size?: "default" | "
|
|
61
|
+
size?: "default" | "s" | "l" | null | undefined;
|
|
62
62
|
} & import('class-variance-authority/types').ClassProp) | undefined) => string>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
63
|
-
declare const SidebarMenuAction: React.ForwardRefExoticComponent<Omit<import('./button').ButtonProps & React.RefAttributes<HTMLButtonElement> & {
|
|
63
|
+
declare const SidebarMenuAction: React.ForwardRefExoticComponent<Omit<import('./button.js').ButtonProps & React.RefAttributes<HTMLButtonElement> & {
|
|
64
64
|
showOnHover?: boolean;
|
|
65
|
-
size?: "
|
|
65
|
+
size?: "s" | "m" | "l";
|
|
66
66
|
}, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
67
67
|
declare const SidebarMenuBadge: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
68
68
|
declare const SidebarMenuSkeleton: React.ForwardRefExoticComponent<Omit<React.ClassAttributes<HTMLDivElement> & React.HTMLAttributes<HTMLDivElement> & {
|
|
@@ -72,7 +72,7 @@ declare const SidebarMenuSub: React.ForwardRefExoticComponent<Omit<React.Detaile
|
|
|
72
72
|
declare const SidebarMenuSubItem: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "ref"> & React.RefAttributes<HTMLLIElement>>;
|
|
73
73
|
declare const SidebarMenuSubButton: React.ForwardRefExoticComponent<Omit<React.ClassAttributes<HTMLButtonElement> & React.ButtonHTMLAttributes<HTMLButtonElement> & {
|
|
74
74
|
asChild?: boolean;
|
|
75
|
-
size?: "
|
|
75
|
+
size?: "s" | "m";
|
|
76
76
|
isActive?: boolean;
|
|
77
77
|
enhancedHover?: boolean;
|
|
78
78
|
preserveActiveOnFocus?: boolean;
|
|
@@ -2,7 +2,7 @@ import { VariantProps } from 'class-variance-authority';
|
|
|
2
2
|
import * as React from "react";
|
|
3
3
|
declare const skeletonVariants: (props?: ({
|
|
4
4
|
variant?: "default" | "circle" | "rectangular" | null | undefined;
|
|
5
|
-
size?: "
|
|
5
|
+
size?: "s" | "m" | "l" | "xl" | null | undefined;
|
|
6
6
|
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
7
7
|
export interface SkeletonProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof skeletonVariants> {
|
|
8
8
|
/**
|
|
@@ -28,10 +28,10 @@ export interface SkeletonProps extends React.HTMLAttributes<HTMLDivElement>, Var
|
|
|
28
28
|
}
|
|
29
29
|
declare const Skeleton: React.ForwardRefExoticComponent<SkeletonProps & React.RefAttributes<HTMLDivElement>>;
|
|
30
30
|
declare const SkeletonAvatar: React.ForwardRefExoticComponent<Omit<SkeletonProps, "variant" | "size"> & {
|
|
31
|
-
size?: "
|
|
31
|
+
size?: "s" | "m" | "l" | "xl";
|
|
32
32
|
} & React.RefAttributes<HTMLDivElement>>;
|
|
33
33
|
declare const SkeletonButton: React.ForwardRefExoticComponent<Omit<SkeletonProps, "size"> & {
|
|
34
|
-
size?: "
|
|
34
|
+
size?: "s" | "m" | "l";
|
|
35
35
|
} & React.RefAttributes<HTMLDivElement>>;
|
|
36
36
|
declare const SkeletonCard: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
|
|
37
37
|
declare const SkeletonTable: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { VariantProps } from 'class-variance-authority';
|
|
2
2
|
import * as React from "react";
|
|
3
3
|
declare const spinnerVariants: (props?: ({
|
|
4
|
-
size?: "
|
|
4
|
+
size?: "s" | "xs" | "m" | "l" | "xl" | "2xl" | null | undefined;
|
|
5
5
|
variant?: "default" | "success" | "warning" | "error" | "disabled" | "primary" | "secondary" | "tertiary" | "inverse" | null | undefined;
|
|
6
6
|
speed?: "normal" | "slow" | "fast" | null | undefined;
|
|
7
7
|
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
@@ -51,7 +51,7 @@ export interface SkeletonProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
|
51
51
|
/**
|
|
52
52
|
* Border radius variant
|
|
53
53
|
*/
|
|
54
|
-
radius?: "none" | "
|
|
54
|
+
radius?: "none" | "s" | "m" | "l" | "full";
|
|
55
55
|
/**
|
|
56
56
|
* Whether to animate the skeleton
|
|
57
57
|
*/
|
|
@@ -66,7 +66,7 @@ export interface PulseProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
|
66
66
|
/**
|
|
67
67
|
* Size of the pulse dot
|
|
68
68
|
*/
|
|
69
|
-
size?: "
|
|
69
|
+
size?: "s" | "m" | "l";
|
|
70
70
|
}
|
|
71
71
|
declare const Pulse: React.ForwardRefExoticComponent<PulseProps & React.RefAttributes<HTMLDivElement>>;
|
|
72
72
|
export interface ProgressDotsProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
@@ -81,7 +81,7 @@ export interface ProgressDotsProps extends React.HTMLAttributes<HTMLDivElement>
|
|
|
81
81
|
/**
|
|
82
82
|
* Size of the dots
|
|
83
83
|
*/
|
|
84
|
-
size?: "
|
|
84
|
+
size?: "s" | "m" | "l";
|
|
85
85
|
/**
|
|
86
86
|
* Whether to animate the transition
|
|
87
87
|
*/
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { VariantProps } from 'class-variance-authority';
|
|
2
2
|
import * as React from "react";
|
|
3
3
|
declare const tableVariants: (props?: ({
|
|
4
|
-
size?: "
|
|
4
|
+
size?: "s" | "m" | "l" | null | undefined;
|
|
5
5
|
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
6
6
|
declare const tableRowVariants: (props?: ({
|
|
7
7
|
variant?: "default" | "selected" | "zebra" | null | undefined;
|
|
8
8
|
showBorder?: boolean | null | undefined;
|
|
9
9
|
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
10
10
|
declare const tableCellVariants: (props?: ({
|
|
11
|
-
size?: "
|
|
11
|
+
size?: "s" | "m" | "l" | null | undefined;
|
|
12
12
|
align?: "left" | "right" | "center" | null | undefined;
|
|
13
13
|
verticalAlign?: "bottom" | "top" | "middle" | null | undefined;
|
|
14
14
|
numeric?: boolean | null | undefined;
|
|
@@ -16,7 +16,7 @@ declare const tableCellVariants: (props?: ({
|
|
|
16
16
|
showRowBorder?: boolean | null | undefined;
|
|
17
17
|
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
18
18
|
declare const tableHeaderVariants: (props?: ({
|
|
19
|
-
size?: "
|
|
19
|
+
size?: "s" | "m" | "l" | null | undefined;
|
|
20
20
|
align?: "left" | "right" | "center" | null | undefined;
|
|
21
21
|
numeric?: boolean | null | undefined;
|
|
22
22
|
showBorder?: boolean | null | undefined;
|
|
@@ -3,12 +3,12 @@ import * as React from "react";
|
|
|
3
3
|
import * as TabsPrimitive from "@radix-ui/react-tabs";
|
|
4
4
|
declare const tabsListVariants: (props?: ({
|
|
5
5
|
variant?: "line" | "pilled" | null | undefined;
|
|
6
|
-
size?: "
|
|
6
|
+
size?: "s" | "m" | "l" | null | undefined;
|
|
7
7
|
fullWidth?: boolean | null | undefined;
|
|
8
8
|
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
9
9
|
declare const tabsTriggerVariants: (props?: ({
|
|
10
10
|
variant?: "line" | "pilled" | null | undefined;
|
|
11
|
-
size?: "
|
|
11
|
+
size?: "s" | "m" | "l" | null | undefined;
|
|
12
12
|
fullWidth?: boolean | null | undefined;
|
|
13
13
|
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
14
14
|
interface TabsProps extends React.ComponentPropsWithoutRef<typeof TabsPrimitive.Root> {
|
|
@@ -20,23 +20,23 @@ export type TagDotColor = keyof typeof DOT_COLORS;
|
|
|
20
20
|
export type TagIntent = keyof typeof INTENT_TO_COLOR;
|
|
21
21
|
export type TagVariant = "triangular" | "squared";
|
|
22
22
|
declare const TAG_SIZES: {
|
|
23
|
-
readonly
|
|
23
|
+
readonly s: {
|
|
24
24
|
readonly height: 20;
|
|
25
25
|
readonly typography: "[&]:text-label-sm";
|
|
26
26
|
readonly dotSize: "w-1.5 h-1.5";
|
|
27
27
|
readonly dotMargin: "mr-1";
|
|
28
28
|
readonly closeSize: "w-3.5 h-3.5";
|
|
29
29
|
readonly closeMargin: "ml-0.5";
|
|
30
|
-
readonly paddingX: "px-[var(--space-
|
|
30
|
+
readonly paddingX: "px-[var(--space-s)]";
|
|
31
31
|
};
|
|
32
|
-
readonly
|
|
32
|
+
readonly m: {
|
|
33
33
|
readonly height: 24;
|
|
34
34
|
readonly typography: "[&]:text-label-sm";
|
|
35
35
|
readonly dotSize: "w-2 h-2";
|
|
36
36
|
readonly dotMargin: "mr-1.5";
|
|
37
37
|
readonly closeSize: "w-4 h-4";
|
|
38
38
|
readonly closeMargin: "ml-1";
|
|
39
|
-
readonly paddingX: "px-[var(--space-
|
|
39
|
+
readonly paddingX: "px-[var(--space-s)]";
|
|
40
40
|
};
|
|
41
41
|
};
|
|
42
42
|
type TagSize = keyof typeof TAG_SIZES;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { VariantProps } from 'class-variance-authority';
|
|
2
|
-
import { IconType } from './icon';
|
|
2
|
+
import { IconType } from './icon.js';
|
|
3
3
|
import * as React from "react";
|
|
4
4
|
declare const textLinkVariants: (props?: ({
|
|
5
|
-
size?: "
|
|
5
|
+
size?: "s" | "m" | "l" | null | undefined;
|
|
6
6
|
variant?: "default" | "subtle" | null | undefined;
|
|
7
7
|
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
8
8
|
export interface TextLinkProps extends React.AnchorHTMLAttributes<HTMLAnchorElement>, VariantProps<typeof textLinkVariants> {
|
|
@@ -2,7 +2,7 @@ import { VariantProps } from 'class-variance-authority';
|
|
|
2
2
|
import * as React from "react";
|
|
3
3
|
declare const textareaVariants: (props?: ({
|
|
4
4
|
variant?: "default" | "error" | null | undefined;
|
|
5
|
-
size?: "
|
|
5
|
+
size?: "s" | "m" | "l" | null | undefined;
|
|
6
6
|
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
7
7
|
export interface TextareaProps extends Omit<React.TextareaHTMLAttributes<HTMLTextAreaElement>, "size">, VariantProps<typeof textareaVariants> {
|
|
8
8
|
}
|
|
@@ -3,10 +3,10 @@ import * as React from "react";
|
|
|
3
3
|
import * as ToggleGroupPrimitive from "@radix-ui/react-toggle-group";
|
|
4
4
|
declare const ToggleGroup: React.ForwardRefExoticComponent<((Omit<ToggleGroupPrimitive.ToggleGroupSingleProps & React.RefAttributes<HTMLDivElement>, "ref"> | Omit<ToggleGroupPrimitive.ToggleGroupMultipleProps & React.RefAttributes<HTMLDivElement>, "ref">) & VariantProps<(props?: ({
|
|
5
5
|
variant?: "default" | "outline" | null | undefined;
|
|
6
|
-
size?: "
|
|
6
|
+
size?: "s" | "m" | "l" | null | undefined;
|
|
7
7
|
} & import('class-variance-authority/types').ClassProp) | undefined) => string>) & React.RefAttributes<HTMLDivElement>>;
|
|
8
8
|
declare const ToggleGroupItem: React.ForwardRefExoticComponent<Omit<ToggleGroupPrimitive.ToggleGroupItemProps & React.RefAttributes<HTMLButtonElement>, "ref"> & VariantProps<(props?: ({
|
|
9
9
|
variant?: "default" | "outline" | null | undefined;
|
|
10
|
-
size?: "
|
|
10
|
+
size?: "s" | "m" | "l" | null | undefined;
|
|
11
11
|
} & import('class-variance-authority/types').ClassProp) | undefined) => string> & React.RefAttributes<HTMLButtonElement>>;
|
|
12
12
|
export { ToggleGroup, ToggleGroupItem };
|
|
@@ -3,7 +3,7 @@ import * as React from "react";
|
|
|
3
3
|
import * as TogglePrimitive from "@radix-ui/react-toggle";
|
|
4
4
|
declare const toggleVariants: (props?: ({
|
|
5
5
|
variant?: "default" | "outline" | null | undefined;
|
|
6
|
-
size?: "
|
|
6
|
+
size?: "s" | "m" | "l" | null | undefined;
|
|
7
7
|
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
8
8
|
export interface ToggleProps extends React.ComponentPropsWithoutRef<typeof TogglePrimitive.Root>, VariantProps<typeof toggleVariants> {
|
|
9
9
|
}
|