@pathscale/ui 0.0.140 → 0.0.142
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/confirm-dialog/ConfirmDialog.d.ts +14 -0
- package/dist/components/confirm-dialog/index.d.ts +2 -0
- package/dist/components/dropdown/DropdownItem.d.ts +2 -0
- package/dist/components/dropdown/DropdownMenu.d.ts +1 -0
- package/dist/components/dropdown/DropdownToggle.d.ts +1 -0
- package/dist/components/dropdown-select/DropdownSelect.d.ts +20 -0
- package/dist/components/dropdown-select/index.d.ts +2 -0
- package/dist/components/duration-badge/DurationBadge.d.ts +14 -0
- package/dist/components/duration-badge/index.d.ts +2 -0
- package/dist/components/empty-state/EmptyState.d.ts +10 -0
- package/dist/components/empty-state/index.d.ts +2 -0
- package/dist/components/form-actions/FormActions.d.ts +14 -0
- package/dist/components/form-actions/index.d.ts +2 -0
- package/dist/components/form-section/FormSection.d.ts +9 -0
- package/dist/components/form-section/index.d.ts +2 -0
- package/dist/components/form-status/FormStatus.d.ts +10 -0
- package/dist/components/form-status/index.d.ts +2 -0
- package/dist/components/glass-panel/GlassPanel.d.ts +18 -0
- package/dist/components/glass-panel/index.d.ts +1 -0
- package/dist/components/glow-card/GlowCard.d.ts +5 -0
- package/dist/components/glow-card/index.d.ts +2 -0
- package/dist/components/level-meter/LevelMeter.d.ts +10 -0
- package/dist/components/level-meter/index.d.ts +2 -0
- package/dist/components/media-toggle-controls/MediaToggleControls.d.ts +15 -0
- package/dist/components/media-toggle-controls/index.d.ts +2 -0
- package/dist/components/radio-group/RadioGroup.d.ts +24 -0
- package/dist/components/radio-group/index.d.ts +1 -0
- package/dist/components/range-slider/RangeSlider.d.ts +21 -0
- package/dist/components/range-slider/index.d.ts +2 -0
- package/dist/components/section-card/SectionCard.d.ts +10 -0
- package/dist/components/section-card/index.d.ts +2 -0
- package/dist/components/skip-link/SkipLink.d.ts +7 -0
- package/dist/components/skip-link/index.d.ts +2 -0
- package/dist/components/toggle-setting/ToggleSetting.d.ts +17 -0
- package/dist/components/toggle-setting/index.d.ts +2 -0
- package/dist/components/video-preview/VideoPreview.d.ts +21 -0
- package/dist/components/video-preview/index.d.ts +2 -0
- package/dist/glow-card/GlowCard.css +57 -0
- package/dist/index.css +48 -0
- package/dist/index.d.ts +18 -0
- package/dist/index.js +1729 -264
- package/dist/styles/icons/generated-icons.css +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { JSX } from "solid-js";
|
|
2
|
+
import type { ComponentColor, IComponentBaseProps } from "../types";
|
|
3
|
+
export type ConfirmDialogProps = IComponentBaseProps & {
|
|
4
|
+
open: boolean;
|
|
5
|
+
onClose: () => void;
|
|
6
|
+
onConfirm: () => void;
|
|
7
|
+
title: string;
|
|
8
|
+
message?: JSX.Element;
|
|
9
|
+
confirmText?: string;
|
|
10
|
+
cancelText?: string;
|
|
11
|
+
confirmColor?: ComponentColor;
|
|
12
|
+
loading?: boolean;
|
|
13
|
+
};
|
|
14
|
+
export default function ConfirmDialog(props: ConfirmDialogProps): JSX.Element;
|
|
@@ -13,7 +13,9 @@ type NoAnchorProps = {
|
|
|
13
13
|
closeOnClick?: boolean;
|
|
14
14
|
};
|
|
15
15
|
export type DropdownItemProps = (AnchorProps | ButtonProps | NoAnchorProps) & {
|
|
16
|
+
id?: string;
|
|
16
17
|
"aria-selected"?: boolean;
|
|
18
|
+
role?: JSX.HTMLAttributes<HTMLLIElement>["role"];
|
|
17
19
|
};
|
|
18
20
|
declare const DropdownItem: (props: DropdownItemProps) => JSX.Element;
|
|
19
21
|
export default DropdownItem;
|
|
@@ -3,6 +3,7 @@ import type { IComponentBaseProps } from "../types";
|
|
|
3
3
|
export type DropdownMenuProps = JSX.HTMLAttributes<HTMLUListElement> & IComponentBaseProps & {
|
|
4
4
|
id?: string;
|
|
5
5
|
hideOverflow?: boolean;
|
|
6
|
+
role?: string;
|
|
6
7
|
"aria-labelledby"?: string;
|
|
7
8
|
};
|
|
8
9
|
declare const DropdownMenu: (props: DropdownMenuProps) => JSX.Element;
|
|
@@ -10,6 +10,7 @@ export type DropdownToggleProps = Omit<JSX.LabelHTMLAttributes<HTMLLabelElement>
|
|
|
10
10
|
"aria-haspopup"?: boolean | "menu" | "listbox" | "dialog" | "grid" | "tree";
|
|
11
11
|
"aria-expanded"?: boolean;
|
|
12
12
|
"aria-controls"?: string;
|
|
13
|
+
"aria-activedescendant"?: string;
|
|
13
14
|
};
|
|
14
15
|
declare const DropdownToggle: (props: DropdownToggleProps) => JSX.Element;
|
|
15
16
|
export type SummaryProps = JSX.HTMLAttributes<HTMLElement>;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { type JSX } from "solid-js";
|
|
2
|
+
import type { ComponentSize, IComponentBaseProps } from "../types";
|
|
3
|
+
export type DropdownSelectOption = {
|
|
4
|
+
label: string;
|
|
5
|
+
value: string;
|
|
6
|
+
disabled?: boolean;
|
|
7
|
+
};
|
|
8
|
+
export type DropdownSelectProps = IComponentBaseProps & {
|
|
9
|
+
options: DropdownSelectOption[];
|
|
10
|
+
value?: string;
|
|
11
|
+
onChange?: (value: string) => void;
|
|
12
|
+
label?: string;
|
|
13
|
+
placeholder?: string;
|
|
14
|
+
disabled?: boolean;
|
|
15
|
+
showCheckmark?: boolean;
|
|
16
|
+
size?: ComponentSize;
|
|
17
|
+
"aria-label"?: string;
|
|
18
|
+
};
|
|
19
|
+
declare const DropdownSelect: (props: DropdownSelectProps) => JSX.Element;
|
|
20
|
+
export default DropdownSelect;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { type JSX } from "solid-js";
|
|
2
|
+
import type { ComponentColor, IComponentBaseProps } from "../types";
|
|
3
|
+
export interface DurationBadgeProps extends IComponentBaseProps {
|
|
4
|
+
/** Duration in seconds */
|
|
5
|
+
duration: number;
|
|
6
|
+
/** Badge color, default "error" */
|
|
7
|
+
color?: ComponentColor;
|
|
8
|
+
/** Show pulsing dot, default true */
|
|
9
|
+
pulseDot?: boolean;
|
|
10
|
+
/** Optional label before the time */
|
|
11
|
+
label?: string;
|
|
12
|
+
}
|
|
13
|
+
declare const DurationBadge: (props: DurationBadgeProps) => JSX.Element;
|
|
14
|
+
export default DurationBadge;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { type JSX, type Component } from "solid-js";
|
|
2
|
+
import type { IComponentBaseProps } from "../types";
|
|
3
|
+
export type EmptyStateProps = IComponentBaseProps & Omit<JSX.HTMLAttributes<HTMLDivElement>, "title"> & {
|
|
4
|
+
icon?: string;
|
|
5
|
+
iconSize?: number;
|
|
6
|
+
title?: JSX.Element;
|
|
7
|
+
description?: JSX.Element;
|
|
8
|
+
};
|
|
9
|
+
declare const EmptyState: Component<EmptyStateProps>;
|
|
10
|
+
export default EmptyState;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { type JSX } from "solid-js";
|
|
2
|
+
import type { IComponentBaseProps } from "../types";
|
|
3
|
+
export type FormActionsLayout = "single" | "split" | "center";
|
|
4
|
+
export type FormActionsProps = IComponentBaseProps & {
|
|
5
|
+
submitText?: string;
|
|
6
|
+
cancelText?: string;
|
|
7
|
+
isLoading?: boolean;
|
|
8
|
+
isValid?: boolean;
|
|
9
|
+
onCancel?: () => void;
|
|
10
|
+
layout?: FormActionsLayout;
|
|
11
|
+
children?: JSX.Element;
|
|
12
|
+
} & Omit<JSX.HTMLAttributes<HTMLDivElement>, "children">;
|
|
13
|
+
declare const FormActions: (props: FormActionsProps) => JSX.Element;
|
|
14
|
+
export default FormActions;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { type JSX } from "solid-js";
|
|
2
|
+
import type { IComponentBaseProps, ComponentSize } from "../types";
|
|
3
|
+
export type FormSectionGap = ComponentSize | "none";
|
|
4
|
+
export type FormSectionProps = IComponentBaseProps & JSX.HTMLAttributes<HTMLDivElement> & {
|
|
5
|
+
title?: string;
|
|
6
|
+
gap?: FormSectionGap;
|
|
7
|
+
};
|
|
8
|
+
declare const FormSection: (props: FormSectionProps) => JSX.Element;
|
|
9
|
+
export default FormSection;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { type JSX, type Component } from "solid-js";
|
|
2
|
+
import type { IComponentBaseProps } from "../types";
|
|
3
|
+
export type FormStatusProps = IComponentBaseProps & Omit<JSX.HTMLAttributes<HTMLDivElement>, "role"> & {
|
|
4
|
+
error?: string | null;
|
|
5
|
+
success?: string | null;
|
|
6
|
+
loading?: boolean;
|
|
7
|
+
loadingMessage?: string;
|
|
8
|
+
};
|
|
9
|
+
declare const FormStatus: Component<FormStatusProps>;
|
|
10
|
+
export default FormStatus;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { type JSX } from "solid-js";
|
|
2
|
+
import type { IComponentBaseProps, ComponentSize } from "../types";
|
|
3
|
+
export type GlassPanelBlur = "none" | "sm" | "md" | "lg" | "xl" | "2xl";
|
|
4
|
+
export type GlassPanelProps = IComponentBaseProps & JSX.HTMLAttributes<HTMLDivElement> & {
|
|
5
|
+
blur?: GlassPanelBlur;
|
|
6
|
+
collapsible?: boolean;
|
|
7
|
+
open?: boolean;
|
|
8
|
+
defaultOpen?: boolean;
|
|
9
|
+
onToggle?: (open: boolean) => void;
|
|
10
|
+
title?: string;
|
|
11
|
+
icon?: JSX.Element;
|
|
12
|
+
size?: ComponentSize;
|
|
13
|
+
transparent?: boolean;
|
|
14
|
+
glow?: boolean;
|
|
15
|
+
accent?: "primary" | "secondary" | "accent" | "info" | "success" | "warning" | "error";
|
|
16
|
+
};
|
|
17
|
+
declare const GlassPanel: (props: GlassPanelProps) => JSX.Element;
|
|
18
|
+
export default GlassPanel;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default, type GlassPanelProps, type GlassPanelBlur } from "./GlassPanel";
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { type JSX } from "solid-js";
|
|
2
|
+
import type { IComponentBaseProps } from "../types";
|
|
3
|
+
import "./GlowCard.css";
|
|
4
|
+
export type GlowCardProps = IComponentBaseProps & JSX.HTMLAttributes<HTMLDivElement>;
|
|
5
|
+
export default function GlowCard(props: GlowCardProps): JSX.Element;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { JSX } from "solid-js";
|
|
2
|
+
import type { ComponentColor, IComponentBaseProps } from "../types";
|
|
3
|
+
export type LevelMeterProps = IComponentBaseProps & {
|
|
4
|
+
level: number;
|
|
5
|
+
color?: ComponentColor;
|
|
6
|
+
direction?: "vertical" | "horizontal";
|
|
7
|
+
"aria-label"?: string;
|
|
8
|
+
} & Omit<JSX.HTMLAttributes<HTMLDivElement>, "role">;
|
|
9
|
+
declare const LevelMeter: (props: LevelMeterProps) => JSX.Element;
|
|
10
|
+
export default LevelMeter;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { type Accessor, type Component } from "solid-js";
|
|
2
|
+
import type { ComponentSize, IComponentBaseProps } from "../types";
|
|
3
|
+
export interface MediaToggleControlsProps extends IComponentBaseProps {
|
|
4
|
+
isAudioEnabled: Accessor<boolean>;
|
|
5
|
+
isVideoEnabled: Accessor<boolean>;
|
|
6
|
+
onToggleAudio: () => void;
|
|
7
|
+
onToggleVideo: () => void;
|
|
8
|
+
size?: ComponentSize;
|
|
9
|
+
disabled?: boolean;
|
|
10
|
+
class?: string;
|
|
11
|
+
className?: string;
|
|
12
|
+
style?: any;
|
|
13
|
+
}
|
|
14
|
+
declare const MediaToggleControls: Component<MediaToggleControlsProps>;
|
|
15
|
+
export default MediaToggleControls;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { type JSX } from "solid-js";
|
|
2
|
+
import type { ComponentColor, ComponentSize, IComponentBaseProps } from "../types";
|
|
3
|
+
export type RadioGroupOption = {
|
|
4
|
+
value: string;
|
|
5
|
+
label: string;
|
|
6
|
+
disabled?: boolean;
|
|
7
|
+
};
|
|
8
|
+
type RadioGroupBaseProps = {
|
|
9
|
+
name: string;
|
|
10
|
+
label?: string;
|
|
11
|
+
options: RadioGroupOption[];
|
|
12
|
+
value?: string;
|
|
13
|
+
onChange?: (value: string) => void;
|
|
14
|
+
size?: ComponentSize;
|
|
15
|
+
color?: ComponentColor;
|
|
16
|
+
direction?: "horizontal" | "vertical";
|
|
17
|
+
dataTheme?: string;
|
|
18
|
+
class?: string;
|
|
19
|
+
className?: string;
|
|
20
|
+
style?: JSX.CSSProperties;
|
|
21
|
+
};
|
|
22
|
+
export type RadioGroupProps = RadioGroupBaseProps & IComponentBaseProps;
|
|
23
|
+
declare const RadioGroup: (props: RadioGroupProps) => JSX.Element;
|
|
24
|
+
export default RadioGroup;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as RadioGroup, type RadioGroupProps, type RadioGroupOption } from "./RadioGroup";
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { type JSX } from "solid-js";
|
|
2
|
+
import type { ComponentColor, ComponentSize, IComponentBaseProps } from "../types";
|
|
3
|
+
type RangeSliderBaseProps = {
|
|
4
|
+
label: string;
|
|
5
|
+
value: number;
|
|
6
|
+
onChange: (value: number) => void;
|
|
7
|
+
min?: number;
|
|
8
|
+
max?: number;
|
|
9
|
+
step?: number;
|
|
10
|
+
disabled?: boolean;
|
|
11
|
+
formatValue?: (value: number) => string;
|
|
12
|
+
color?: ComponentColor;
|
|
13
|
+
size?: ComponentSize;
|
|
14
|
+
dataTheme?: string;
|
|
15
|
+
class?: string;
|
|
16
|
+
className?: string;
|
|
17
|
+
style?: JSX.CSSProperties;
|
|
18
|
+
};
|
|
19
|
+
export type RangeSliderProps = RangeSliderBaseProps & IComponentBaseProps & Omit<JSX.InputHTMLAttributes<HTMLInputElement>, keyof RangeSliderBaseProps>;
|
|
20
|
+
declare const RangeSlider: (props: RangeSliderProps) => JSX.Element;
|
|
21
|
+
export default RangeSlider;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { type JSX } from "solid-js";
|
|
2
|
+
import type { IComponentBaseProps } from "../types";
|
|
3
|
+
export type SectionCardPadding = "default" | "tight" | "none";
|
|
4
|
+
export type SectionCardProps = IComponentBaseProps & JSX.HTMLAttributes<HTMLElement> & {
|
|
5
|
+
title?: string;
|
|
6
|
+
actions?: JSX.Element;
|
|
7
|
+
padding?: SectionCardPadding;
|
|
8
|
+
};
|
|
9
|
+
declare const SectionCard: (props: SectionCardProps) => JSX.Element;
|
|
10
|
+
export default SectionCard;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { type JSX } from "solid-js";
|
|
2
|
+
export type SkipLinkProps = {
|
|
3
|
+
href?: string;
|
|
4
|
+
children?: JSX.Element;
|
|
5
|
+
class?: string;
|
|
6
|
+
} & Omit<JSX.AnchorHTMLAttributes<HTMLAnchorElement>, "href" | "children" | "class">;
|
|
7
|
+
export default function SkipLink(props: SkipLinkProps): JSX.Element;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { type JSX } from "solid-js";
|
|
2
|
+
import type { ComponentSize, IComponentBaseProps } from "../types";
|
|
3
|
+
type ToggleSettingBaseProps = {
|
|
4
|
+
label: string;
|
|
5
|
+
description?: string;
|
|
6
|
+
checked?: boolean;
|
|
7
|
+
onChange?: (checked: boolean) => void;
|
|
8
|
+
disabled?: boolean;
|
|
9
|
+
size?: ComponentSize;
|
|
10
|
+
dataTheme?: string;
|
|
11
|
+
class?: string;
|
|
12
|
+
className?: string;
|
|
13
|
+
style?: JSX.CSSProperties;
|
|
14
|
+
};
|
|
15
|
+
export type ToggleSettingProps = ToggleSettingBaseProps & IComponentBaseProps;
|
|
16
|
+
declare const ToggleSetting: (props: ToggleSettingProps) => JSX.Element;
|
|
17
|
+
export default ToggleSetting;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { type Accessor, type Component, type JSX } from "solid-js";
|
|
2
|
+
import type { IComponentBaseProps } from "../types";
|
|
3
|
+
type VideoPreviewBaseProps = {
|
|
4
|
+
/**
|
|
5
|
+
* Reactive accessor for the MediaStream to display
|
|
6
|
+
*/
|
|
7
|
+
stream: Accessor<MediaStream | null>;
|
|
8
|
+
/**
|
|
9
|
+
* Whether the video should be muted
|
|
10
|
+
* @default true
|
|
11
|
+
*/
|
|
12
|
+
muted?: boolean;
|
|
13
|
+
/**
|
|
14
|
+
* Whether to mirror the video (applies scaleX(-1))
|
|
15
|
+
* @default false
|
|
16
|
+
*/
|
|
17
|
+
mirror?: boolean;
|
|
18
|
+
};
|
|
19
|
+
export type VideoPreviewProps = VideoPreviewBaseProps & IComponentBaseProps & Omit<JSX.VideoHTMLAttributes<HTMLVideoElement>, keyof VideoPreviewBaseProps>;
|
|
20
|
+
export declare const VideoPreview: Component<VideoPreviewProps>;
|
|
21
|
+
export default VideoPreview;
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
.glow-card {
|
|
2
|
+
--glow-color-border: oklch(100% 0 0 / 0.3);
|
|
3
|
+
--glow-color-bg: oklch(100% 0 0 / 0.1);
|
|
4
|
+
position: relative;
|
|
5
|
+
border-radius: inherit;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
.glow-card::before,
|
|
9
|
+
.glow-card::after {
|
|
10
|
+
content: "";
|
|
11
|
+
position: absolute;
|
|
12
|
+
inset: 0;
|
|
13
|
+
border-radius: inherit;
|
|
14
|
+
opacity: 0;
|
|
15
|
+
transition: opacity 0.3s ease;
|
|
16
|
+
pointer-events: none;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.glow-card::before {
|
|
20
|
+
background: radial-gradient(
|
|
21
|
+
250px circle at var(--mouse-x) var(--mouse-y),
|
|
22
|
+
var(--glow-color-border),
|
|
23
|
+
transparent 80%
|
|
24
|
+
);
|
|
25
|
+
z-index: 1;
|
|
26
|
+
inset: -1px;
|
|
27
|
+
-webkit-mask:
|
|
28
|
+
linear-gradient(#fff 0 0) content-box,
|
|
29
|
+
linear-gradient(#fff 0 0);
|
|
30
|
+
mask:
|
|
31
|
+
linear-gradient(#fff 0 0) content-box,
|
|
32
|
+
linear-gradient(#fff 0 0);
|
|
33
|
+
-webkit-mask-composite: xor;
|
|
34
|
+
mask-composite: exclude;
|
|
35
|
+
padding: 1px;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.glow-card::after {
|
|
39
|
+
background: radial-gradient(
|
|
40
|
+
400px circle at var(--mouse-x) var(--mouse-y),
|
|
41
|
+
var(--glow-color-bg),
|
|
42
|
+
transparent 80%
|
|
43
|
+
);
|
|
44
|
+
z-index: 0;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
.glow-card:hover::before,
|
|
48
|
+
.glow-card:hover::after {
|
|
49
|
+
opacity: 1;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
@media (prefers-reduced-motion: reduce) {
|
|
53
|
+
.glow-card::before,
|
|
54
|
+
.glow-card::after {
|
|
55
|
+
transition: none;
|
|
56
|
+
}
|
|
57
|
+
}
|
package/dist/index.css
ADDED
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
.glow-card {
|
|
2
|
+
--glow-color-border: oklch(100% 0 0 / .3);
|
|
3
|
+
--glow-color-bg: oklch(100% 0 0 / .1);
|
|
4
|
+
border-radius: inherit;
|
|
5
|
+
position: relative;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
.glow-card:before, .glow-card:after {
|
|
9
|
+
content: "";
|
|
10
|
+
border-radius: inherit;
|
|
11
|
+
opacity: 0;
|
|
12
|
+
pointer-events: none;
|
|
13
|
+
transition: opacity .3s;
|
|
14
|
+
position: absolute;
|
|
15
|
+
inset: 0;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.glow-card:before {
|
|
19
|
+
background: radial-gradient(250px circle at var(--mouse-x) var(--mouse-y), var(--glow-color-border), transparent 80%);
|
|
20
|
+
z-index: 1;
|
|
21
|
+
-webkit-mask-composite: xor;
|
|
22
|
+
padding: 1px;
|
|
23
|
+
inset: -1px;
|
|
24
|
+
mask-image: linear-gradient(#fff 0 0), linear-gradient(#fff 0 0);
|
|
25
|
+
mask-position: 0 0, 0 0;
|
|
26
|
+
mask-size: auto, auto;
|
|
27
|
+
mask-repeat: repeat, repeat;
|
|
28
|
+
mask-clip: content-box, border-box;
|
|
29
|
+
mask-origin: content-box, border-box;
|
|
30
|
+
mask-composite: exclude;
|
|
31
|
+
mask-mode: match-source, match-source;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.glow-card:after {
|
|
35
|
+
background: radial-gradient(400px circle at var(--mouse-x) var(--mouse-y), var(--glow-color-bg), transparent 80%);
|
|
36
|
+
z-index: 0;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.glow-card:hover:before, .glow-card:hover:after {
|
|
40
|
+
opacity: 1;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
@media (prefers-reduced-motion: reduce) {
|
|
44
|
+
.glow-card:before, .glow-card:after {
|
|
45
|
+
transition: none;
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
|
package/dist/index.d.ts
CHANGED
|
@@ -20,6 +20,7 @@ export { AlphaSlider, ColorInput, ColorPickerContext, ColorPickerFlowerSelector,
|
|
|
20
20
|
export type { AlphaSliderProps, ColorFormat, ColorInputProps, ColorPickerContextType, ColorPickerMode, ColorPickerProps, ColorPreviewProps, ColorSwatchesProps, ColorValue, ColorWheelFlowerProps, ColorWheelProps, HueSliderProps, LightnessSliderProps, SaturationBrightnessProps, } from "./components/colorpicker";
|
|
21
21
|
export { CodeMockup, CodeMockupLine } from "./components/codemockup";
|
|
22
22
|
export { Collapse, CollapseContent, CollapseDetails, CollapseTitle, Summary, } from "./components/collapse";
|
|
23
|
+
export { ConfirmDialog, type ConfirmDialogProps } from "./components/confirm-dialog";
|
|
23
24
|
export { default as ConnectionStatus } from "./components/connectionstatus";
|
|
24
25
|
export type { ConnectionState, ConnectionStatusProps, } from "./components/connectionstatus";
|
|
25
26
|
export { default as CopyButton } from "./components/copy-button";
|
|
@@ -29,12 +30,21 @@ export { default as Divider } from "./components/divider";
|
|
|
29
30
|
export { default as Dock } from "./components/dock";
|
|
30
31
|
export { default as Drawer, type DrawerProps } from "./components/drawer";
|
|
31
32
|
export { default as Dropdown } from "./components/dropdown";
|
|
33
|
+
export { DropdownSelect, type DropdownSelectProps, type DropdownSelectOption } from "./components/dropdown-select";
|
|
34
|
+
export { DurationBadge, type DurationBadgeProps } from "./components/duration-badge";
|
|
35
|
+
export { EmptyState, type EmptyStateProps } from "./components/empty-state";
|
|
32
36
|
export { default as FileInput } from "./components/fileinput";
|
|
33
37
|
export { default as FloatingDock } from "./components/floating-dock";
|
|
34
38
|
export type { FloatingDockProps, FloatingDockItem, FloatingDockDirection } from "./components/floating-dock";
|
|
35
39
|
export { default as Flex } from "./components/flex";
|
|
40
|
+
export { default as GlassPanel } from "./components/glass-panel";
|
|
41
|
+
export { GlowCard, type GlowCardProps } from "./components/glow-card";
|
|
42
|
+
export type { GlassPanelProps, GlassPanelBlur } from "./components/glass-panel";
|
|
36
43
|
export { default as Footer } from "./components/footer";
|
|
37
44
|
export type { FooterProps, FooterTitleProps } from "./components/footer";
|
|
45
|
+
export { FormActions, type FormActionsProps } from "./components/form-actions";
|
|
46
|
+
export { FormSection, type FormSectionProps } from "./components/form-section";
|
|
47
|
+
export { FormStatus, type FormStatusProps } from "./components/form-status";
|
|
38
48
|
export { default as Form, useFormValidation } from "./components/form";
|
|
39
49
|
export { useDesktop } from "./components/utils";
|
|
40
50
|
export type { FormProps, LabelProps, ValidatedFormProps, } from "./components/form";
|
|
@@ -51,10 +61,12 @@ export { default as Kbd } from "./components/kbd";
|
|
|
51
61
|
export { default as Link } from "./components/link";
|
|
52
62
|
export { LiveChatBubble, LiveChatPanel, } from "./components/live-chat";
|
|
53
63
|
export type { LiveChatBubbleProps, LiveChatPanelProps, ChatMessage, SendMessagePayload, SendMessageResponse, } from "./components/live-chat";
|
|
64
|
+
export { LevelMeter, type LevelMeterProps } from "./components/level-meter";
|
|
54
65
|
export { default as Loading } from "./components/loading";
|
|
55
66
|
export { LanguageSwitcher, createI18n, I18nProvider, I18nContext, useI18n, } from "./components/language-switcher";
|
|
56
67
|
export type { LanguageSwitcherProps, I18nStore, I18nOptions, I18nContextValue, I18nProviderProps, Language, } from "./components/language-switcher";
|
|
57
68
|
export { default as Mask } from "./components/mask";
|
|
69
|
+
export { MediaToggleControls, type MediaToggleControlsProps } from "./components/media-toggle-controls";
|
|
58
70
|
export { Menu } from "./components/menu";
|
|
59
71
|
export { default as Modal } from "./components/modal";
|
|
60
72
|
export { default as Navbar } from "./components/navbar";
|
|
@@ -69,14 +81,18 @@ export { default as Progress } from "./components/progress";
|
|
|
69
81
|
export { PropsTable } from "./components/props-table";
|
|
70
82
|
export { default as RadialProgress } from "./components/radialprogress";
|
|
71
83
|
export { default as Radio } from "./components/radio";
|
|
84
|
+
export { RadioGroup, type RadioGroupProps, type RadioGroupOption } from "./components/radio-group";
|
|
72
85
|
export { default as Range } from "./components/range";
|
|
86
|
+
export { RangeSlider, type RangeSliderProps } from "./components/range-slider";
|
|
73
87
|
export { Rating } from "./components/rating";
|
|
74
88
|
export type { RatingHiddenProps, RatingItemProps, RatingProps, } from "./components/rating";
|
|
89
|
+
export { SectionCard, type SectionCardProps } from "./components/section-card";
|
|
75
90
|
export { default as Select } from "./components/select";
|
|
76
91
|
export { ShowcaseSection } from "./components/showcase-section";
|
|
77
92
|
export { default as ShowcaseBlock } from "./components/showcase/ShowcaseBlock";
|
|
78
93
|
export { Sidenav, SidenavMenu, SidenavItem, SidenavGroup, SidenavLink, SidenavButton, } from "./components/sidenav";
|
|
79
94
|
export { default as Skeleton } from "./components/skeleton";
|
|
95
|
+
export { SkipLink, type SkipLinkProps } from "./components/skip-link";
|
|
80
96
|
export { default as Stack } from "./components/stack";
|
|
81
97
|
export { default as StatCard } from "./components/stat-card";
|
|
82
98
|
export { default as Stats } from "./components/stats";
|
|
@@ -103,7 +119,9 @@ export { default as Toast } from "./components/toast";
|
|
|
103
119
|
export { ToastContainer, ToastStack } from "./components/toastcontainer";
|
|
104
120
|
export type { ToastRenderer, ToastStackProps, } from "./components/toastcontainer";
|
|
105
121
|
export { default as Toggle } from "./components/toggle";
|
|
122
|
+
export { ToggleSetting, type ToggleSettingProps } from "./components/toggle-setting";
|
|
106
123
|
export { default as Tooltip } from "./components/tooltip";
|
|
124
|
+
export { VideoPreview, type VideoPreviewProps } from "./components/video-preview";
|
|
107
125
|
export { default as WindowMockup, type WindowMockupProps, } from "./components/windowmockup";
|
|
108
126
|
export * from "./stores";
|
|
109
127
|
export * from "./motion";
|