@cytario/design 1.5.2 → 1.6.0
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/Popover/Popover.d.ts +44 -0
- package/dist/components/Popover/Popover.d.ts.map +1 -0
- package/dist/components/Popover/Popover.js +46 -0
- package/dist/components/Popover/index.d.ts +3 -0
- package/dist/components/Popover/index.d.ts.map +1 -0
- package/dist/components/Popover/index.js +1 -0
- package/dist/components/Switch/Switch.d.ts +4 -1
- package/dist/components/Switch/Switch.d.ts.map +1 -1
- package/dist/components/Switch/Switch.js +12 -3
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -0
- package/package.json +1 -1
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import type React from "react";
|
|
2
|
+
import { type PopoverProps as AriaPopoverProps } from "react-aria-components";
|
|
3
|
+
export interface PopoverProps {
|
|
4
|
+
/** Controls open state (uncontrolled by default via DialogTrigger) */
|
|
5
|
+
isOpen?: boolean;
|
|
6
|
+
/** Called when open state changes */
|
|
7
|
+
onOpenChange?: (isOpen: boolean) => void;
|
|
8
|
+
children: React.ReactNode;
|
|
9
|
+
}
|
|
10
|
+
export interface PopoverTriggerProps {
|
|
11
|
+
children: React.ReactNode;
|
|
12
|
+
/** Additional CSS classes for the trigger wrapper */
|
|
13
|
+
className?: string;
|
|
14
|
+
}
|
|
15
|
+
export interface PopoverContentProps {
|
|
16
|
+
/** Placement relative to the trigger element */
|
|
17
|
+
placement?: AriaPopoverProps["placement"];
|
|
18
|
+
/** Offset from the trigger in pixels */
|
|
19
|
+
offset?: number;
|
|
20
|
+
/** Additional CSS classes */
|
|
21
|
+
className?: string;
|
|
22
|
+
/** Content to render inside the popover. Can be a render function receiving { close }. */
|
|
23
|
+
children: React.ReactNode | ((opts: {
|
|
24
|
+
close: () => void;
|
|
25
|
+
}) => React.ReactNode);
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* Popover root -- wraps React Aria's DialogTrigger.
|
|
29
|
+
*/
|
|
30
|
+
export declare function Popover({ children, isOpen, onOpenChange }: PopoverProps): import("react/jsx-runtime").JSX.Element;
|
|
31
|
+
/**
|
|
32
|
+
* PopoverTrigger -- wraps the child in a React Aria Button so it
|
|
33
|
+
* participates in DialogTrigger's open/close handling.
|
|
34
|
+
*
|
|
35
|
+
* Renders as an unstyled inline element. Pass your visual trigger
|
|
36
|
+
* (text, icon, swatch) as children.
|
|
37
|
+
*/
|
|
38
|
+
export declare function PopoverTrigger({ children, className }: PopoverTriggerProps): import("react/jsx-runtime").JSX.Element;
|
|
39
|
+
/**
|
|
40
|
+
* PopoverContent -- the floating panel anchored to the trigger.
|
|
41
|
+
* Built on React Aria's Popover + Dialog for accessible focus management.
|
|
42
|
+
*/
|
|
43
|
+
export declare function PopoverContent({ placement, offset: offsetPx, className, children, }: PopoverContentProps): import("react/jsx-runtime").JSX.Element;
|
|
44
|
+
//# sourceMappingURL=Popover.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Popover.d.ts","sourceRoot":"","sources":["../../../src/components/Popover/Popover.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAKL,KAAK,YAAY,IAAI,gBAAgB,EACtC,MAAM,uBAAuB,CAAC;AAE/B,MAAM,WAAW,YAAY;IAC3B,sEAAsE;IACtE,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,qCAAqC;IACrC,YAAY,CAAC,EAAE,CAAC,MAAM,EAAE,OAAO,KAAK,IAAI,CAAC;IACzC,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B;AAED,MAAM,WAAW,mBAAmB;IAClC,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,qDAAqD;IACrD,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,WAAW,mBAAmB;IAClC,gDAAgD;IAChD,SAAS,CAAC,EAAE,gBAAgB,CAAC,WAAW,CAAC,CAAC;IAC1C,wCAAwC;IACxC,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,6BAA6B;IAC7B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,0FAA0F;IAC1F,QAAQ,EACJ,KAAK,CAAC,SAAS,GACf,CAAC,CAAC,IAAI,EAAE;QAAE,KAAK,EAAE,MAAM,IAAI,CAAA;KAAE,KAAK,KAAK,CAAC,SAAS,CAAC,CAAC;CACxD;AAED;;GAEG;AACH,wBAAgB,OAAO,CAAC,EAAE,QAAQ,EAAE,MAAM,EAAE,YAAY,EAAE,EAAE,YAAY,2CAMvE;AAED;;;;;;GAMG;AACH,wBAAgB,cAAc,CAAC,EAAE,QAAQ,EAAE,SAAS,EAAE,EAAE,mBAAmB,2CAc1E;AAED;;;GAGG;AACH,wBAAgB,cAAc,CAAC,EAC7B,SAAoB,EACpB,MAAM,EAAE,QAAY,EACpB,SAAS,EACT,QAAQ,GACT,EAAE,mBAAmB,2CA+BrB"}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { jsx as _jsx, Fragment as _Fragment } from "react/jsx-runtime";
|
|
2
|
+
import { DialogTrigger, Popover as AriaPopover, Dialog as AriaDialog, Button as AriaButton, } from "react-aria-components";
|
|
3
|
+
/**
|
|
4
|
+
* Popover root -- wraps React Aria's DialogTrigger.
|
|
5
|
+
*/
|
|
6
|
+
export function Popover({ children, isOpen, onOpenChange }) {
|
|
7
|
+
return (_jsx(DialogTrigger, { isOpen: isOpen, onOpenChange: onOpenChange, children: children }));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* PopoverTrigger -- wraps the child in a React Aria Button so it
|
|
11
|
+
* participates in DialogTrigger's open/close handling.
|
|
12
|
+
*
|
|
13
|
+
* Renders as an unstyled inline element. Pass your visual trigger
|
|
14
|
+
* (text, icon, swatch) as children.
|
|
15
|
+
*/
|
|
16
|
+
export function PopoverTrigger({ children, className }) {
|
|
17
|
+
return (_jsx(AriaButton, { className: [
|
|
18
|
+
"inline-flex items-center bg-transparent border-none p-0 outline-none cursor-pointer",
|
|
19
|
+
"focus-visible:ring-2 focus-visible:ring-[var(--color-border-focus)] focus-visible:rounded-[var(--border-radius-sm)]",
|
|
20
|
+
className,
|
|
21
|
+
]
|
|
22
|
+
.filter(Boolean)
|
|
23
|
+
.join(" "), children: children }));
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* PopoverContent -- the floating panel anchored to the trigger.
|
|
27
|
+
* Built on React Aria's Popover + Dialog for accessible focus management.
|
|
28
|
+
*/
|
|
29
|
+
export function PopoverContent({ placement = "bottom", offset: offsetPx = 8, className, children, }) {
|
|
30
|
+
return (_jsx(AriaPopover, { placement: placement, offset: offsetPx, className: [
|
|
31
|
+
"z-50",
|
|
32
|
+
"bg-[var(--color-surface-default)] border border-[var(--color-border-default)]",
|
|
33
|
+
"rounded-[var(--border-radius-md)] shadow-lg",
|
|
34
|
+
"entering:animate-in entering:fade-in entering:duration-150",
|
|
35
|
+
"exiting:animate-out exiting:fade-out exiting:duration-100",
|
|
36
|
+
"entering:placement-top:slide-in-from-bottom-1",
|
|
37
|
+
"entering:placement-bottom:slide-in-from-top-1",
|
|
38
|
+
"entering:placement-left:slide-in-from-right-1",
|
|
39
|
+
"entering:placement-right:slide-in-from-left-1",
|
|
40
|
+
className,
|
|
41
|
+
]
|
|
42
|
+
.filter(Boolean)
|
|
43
|
+
.join(" "), children: _jsx(AriaDialog, { className: "outline-none", children: ({ close }) => (_jsx(_Fragment, { children: typeof children === "function"
|
|
44
|
+
? children({ close })
|
|
45
|
+
: children })) }) }));
|
|
46
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Popover/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;AACpE,YAAY,EACV,YAAY,EACZ,mBAAmB,EACnB,mBAAmB,GACpB,MAAM,WAAW,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { Popover, PopoverTrigger, PopoverContent } from "./Popover";
|
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
import type React from "react";
|
|
2
2
|
import { type SwitchProps as AriaSwitchProps } from "react-aria-components";
|
|
3
|
+
type PresetColor = "primary" | "success" | "destructive";
|
|
3
4
|
export interface SwitchProps extends Omit<AriaSwitchProps, "children" | "className"> {
|
|
4
5
|
children?: React.ReactNode;
|
|
5
|
-
color
|
|
6
|
+
/** Preset color name or any valid CSS color string for the track when selected */
|
|
7
|
+
color?: PresetColor | (string & {});
|
|
6
8
|
className?: string;
|
|
7
9
|
}
|
|
8
10
|
export declare function Switch({ children, color, className, ...props }: SwitchProps): import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
export {};
|
|
9
12
|
//# sourceMappingURL=Switch.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Switch.d.ts","sourceRoot":"","sources":["../../../src/components/Switch/Switch.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAEL,KAAK,WAAW,IAAI,eAAe,EACpC,MAAM,uBAAuB,CAAC;AAE/B,MAAM,WAAW,WACf,SAAQ,IAAI,CAAC,eAAe,EAAE,UAAU,GAAG,WAAW,CAAC;IACvD,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,KAAK,CAAC,EAAE,
|
|
1
|
+
{"version":3,"file":"Switch.d.ts","sourceRoot":"","sources":["../../../src/components/Switch/Switch.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAEL,KAAK,WAAW,IAAI,eAAe,EACpC,MAAM,uBAAuB,CAAC;AAE/B,KAAK,WAAW,GAAG,SAAS,GAAG,SAAS,GAAG,aAAa,CAAC;AAEzD,MAAM,WAAW,WACf,SAAQ,IAAI,CAAC,eAAe,EAAE,UAAU,GAAG,WAAW,CAAC;IACvD,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,kFAAkF;IAClF,KAAK,CAAC,EAAE,WAAW,GAAG,CAAC,MAAM,GAAG,EAAE,CAAC,CAAC;IACpC,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAcD,wBAAgB,MAAM,CAAC,EACrB,QAAQ,EACR,KAAiB,EACjB,SAAS,EACT,GAAG,KAAK,EACT,EAAE,WAAW,2CA4Cb"}
|
|
@@ -5,7 +5,12 @@ const trackColorMap = {
|
|
|
5
5
|
success: "bg-[var(--color-action-success)]",
|
|
6
6
|
destructive: "bg-[var(--color-action-danger)]",
|
|
7
7
|
};
|
|
8
|
+
const presetColors = new Set(Object.keys(trackColorMap));
|
|
9
|
+
function isPresetColor(color) {
|
|
10
|
+
return presetColors.has(color);
|
|
11
|
+
}
|
|
8
12
|
export function Switch({ children, color = "primary", className, ...props }) {
|
|
13
|
+
const isPreset = isPresetColor(color);
|
|
9
14
|
return (_jsx(AriaSwitch, { ...props, className: [
|
|
10
15
|
"group flex items-center gap-2 text-[length:var(--font-size-sm)] text-[var(--color-text-primary)] cursor-pointer",
|
|
11
16
|
"disabled:opacity-50 disabled:cursor-default",
|
|
@@ -15,10 +20,14 @@ export function Switch({ children, color = "primary", className, ...props }) {
|
|
|
15
20
|
.join(" "), children: ({ isSelected }) => (_jsxs(_Fragment, { children: [_jsx("div", { className: [
|
|
16
21
|
"w-9 h-5 rounded-full transition-colors shrink-0 p-0.5",
|
|
17
22
|
"group-focus-visible:ring-2 group-focus-visible:ring-[var(--color-border-focus)] group-focus-visible:ring-offset-2",
|
|
18
|
-
isSelected
|
|
23
|
+
isSelected && isPreset
|
|
19
24
|
? trackColorMap[color]
|
|
20
|
-
:
|
|
21
|
-
|
|
25
|
+
: !isSelected
|
|
26
|
+
? "bg-[var(--color-border-strong)]"
|
|
27
|
+
: "",
|
|
28
|
+
].join(" "), style: isSelected && !isPreset
|
|
29
|
+
? { backgroundColor: color }
|
|
30
|
+
: undefined, children: _jsx("div", { className: [
|
|
22
31
|
"w-4 h-4 rounded-full bg-[var(--color-surface-default)] transition-transform shadow-sm",
|
|
23
32
|
isSelected ? "translate-x-4" : "translate-x-0",
|
|
24
33
|
].join(" ") }) }), children && _jsx("span", { children: children })] })) }));
|
package/dist/index.d.ts
CHANGED
|
@@ -50,6 +50,8 @@ export { ToggleButton } from "./components/ToggleButton";
|
|
|
50
50
|
export type { ToggleButtonProps, ToggleButtonVariant, ToggleButtonSize } from "./components/ToggleButton";
|
|
51
51
|
export { Menu } from "./components/Menu";
|
|
52
52
|
export type { MenuProps, MenuItemData } from "./components/Menu";
|
|
53
|
+
export { Popover, PopoverTrigger, PopoverContent } from "./components/Popover";
|
|
54
|
+
export type { PopoverProps, PopoverTriggerProps, PopoverContentProps } from "./components/Popover";
|
|
53
55
|
export { Tabs, TabList, Tab, TabPanel } from "./components/Tabs";
|
|
54
56
|
export type { TabsProps, TabListProps, TabProps, TabPanelProps, TabsVariant, TabsSize } from "./components/Tabs";
|
|
55
57
|
export * from "./tokens/tokens";
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AACvD,YAAY,EAAE,YAAY,EAAE,GAAG,EAAE,MAAM,uBAAuB,CAAC;AAG/D,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAC7C,YAAY,EAAE,WAAW,EAAE,aAAa,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAElF,OAAO,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAC;AAC/C,YAAY,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAC;AAEzD,OAAO,EAAE,IAAI,EAAE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c,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAC/E,YAAY,EAAE,YAAY,EAAE,mBAAmB,EAAE,mBAAmB,EAAE,MAAM,sBAAsB,CAAC;AAEnG,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,GAAG,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AACjE,YAAY,EAAE,SAAS,EAAE,YAAY,EAAE,QAAQ,EAAE,aAAa,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAGjH,cAAc,iBAAiB,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -27,6 +27,7 @@ export { Breadcrumbs } from "./components/Breadcrumbs";
|
|
|
27
27
|
export { ButtonLink, IconButtonLink } from "./components/ButtonLink";
|
|
28
28
|
export { ToggleButton } from "./components/ToggleButton";
|
|
29
29
|
export { Menu } from "./components/Menu";
|
|
30
|
+
export { Popover, PopoverTrigger, PopoverContent } from "./components/Popover";
|
|
30
31
|
export { Tabs, TabList, Tab, TabPanel } from "./components/Tabs";
|
|
31
32
|
// Design tokens (TypeScript constants)
|
|
32
33
|
export * from "./tokens/tokens";
|