@wallarm-org/design-system 0.59.0 → 0.61.0-rc-feature-WDS-73-empty.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.
Files changed (37) hide show
  1. package/dist/components/AnimatedBackground/AnimatedBackground.js +1 -1
  2. package/dist/components/Banner/Banner.d.ts +2 -8
  3. package/dist/components/Banner/Banner.figma.js +2 -0
  4. package/dist/components/Banner/Banner.js +4 -10
  5. package/dist/components/Banner/BannerIcon.d.ts +12 -8
  6. package/dist/components/Banner/BannerIcon.js +3 -1
  7. package/dist/components/Banner/index.d.ts +1 -0
  8. package/dist/components/Banner/index.js +2 -1
  9. package/dist/components/EmptyState/EmptyState.d.ts +10 -0
  10. package/dist/components/EmptyState/EmptyState.js +20 -0
  11. package/dist/components/EmptyState/EmptyStateActions.d.ts +6 -0
  12. package/dist/components/EmptyState/EmptyStateActions.js +16 -0
  13. package/dist/components/EmptyState/EmptyStateDescription.d.ts +6 -0
  14. package/dist/components/EmptyState/EmptyStateDescription.js +18 -0
  15. package/dist/components/EmptyState/EmptyStateIllustration.d.ts +6 -0
  16. package/dist/components/EmptyState/EmptyStateIllustration.js +16 -0
  17. package/dist/components/EmptyState/EmptyStateLink.d.ts +4 -0
  18. package/dist/components/EmptyState/EmptyStateLink.js +14 -0
  19. package/dist/components/EmptyState/EmptyStateMessage.d.ts +6 -0
  20. package/dist/components/EmptyState/EmptyStateMessage.js +16 -0
  21. package/dist/components/EmptyState/EmptyStateTitle.d.ts +6 -0
  22. package/dist/components/EmptyState/EmptyStateTitle.js +16 -0
  23. package/dist/components/EmptyState/classes.d.ts +4 -0
  24. package/dist/components/EmptyState/classes.js +13 -0
  25. package/dist/components/EmptyState/index.d.ts +8 -0
  26. package/dist/components/EmptyState/index.js +8 -0
  27. package/dist/components/Select/SelectEmptyState.js +7 -8
  28. package/dist/components/Select/SelectPositioner.js +1 -1
  29. package/dist/components/UtilityPage/UtilityPage.js +6 -6
  30. package/dist/index.d.ts +2 -1
  31. package/dist/index.js +3 -2
  32. package/dist/metadata/components.json +2314 -17
  33. package/dist/theme/fonts/GeistPixel-Square.woff2 +0 -0
  34. package/dist/theme/fonts/geist-pixel.css +7 -0
  35. package/dist/theme/index.css +1 -0
  36. package/dist/theme/typography.css +1 -0
  37. package/package.json +1 -1
@@ -99,7 +99,7 @@ const AnimatedBackground = (props)=>{
99
99
  "data-slot": "animated-background",
100
100
  ...rest,
101
101
  ref: ref,
102
- className: cn('relative', className),
102
+ className: cn('relative h-full w-full', className),
103
103
  children: [
104
104
  /*#__PURE__*/ jsx("canvas", {
105
105
  ref: canvasRef,
@@ -7,12 +7,6 @@ export interface BannerProps extends Omit<VariantProps<typeof bannerVariants>, '
7
7
  ref?: Ref<HTMLDivElement>;
8
8
  /** Visual variant of the banner */
9
9
  variant?: BannerVariant;
10
- /**
11
- * Leading icon. The destructive, info, and warning variants render a default
12
- * icon when this is omitted; primary and secondary render none. Passing an
13
- * icon always overrides the default.
14
- */
15
- icon?: ReactNode;
16
10
  /** Banner content — compose with Banner sub-components */
17
11
  children?: ReactNode;
18
12
  }
@@ -25,7 +19,7 @@ export interface BannerProps extends Omit<VariantProps<typeof bannerVariants>, '
25
19
  * them is resolved.
26
20
  *
27
21
  * Supports 5 variants: primary (dark/neutral), secondary, destructive, info,
28
- * and warning. Compose with: BannerContent, BannerTitle, BannerDescription,
29
- * BannerLink, BannerControls, BannerClose.
22
+ * and warning. Compose with: BannerIcon, BannerContent, BannerTitle,
23
+ * BannerDescription, BannerLink, BannerControls, BannerClose.
30
24
  */
31
25
  export declare const Banner: FC<BannerProps>;
@@ -6,6 +6,7 @@ import { BannerClose } from "./BannerClose.js";
6
6
  import { BannerContent } from "./BannerContent.js";
7
7
  import { BannerControls } from "./BannerControls.js";
8
8
  import { BannerDescription } from "./BannerDescription.js";
9
+ import { BannerIcon } from "./BannerIcon.js";
9
10
  import { BannerLink } from "./BannerLink.js";
10
11
  import { BannerTitle } from "./BannerTitle.js";
11
12
  const figmaNodeUrl = 'https://www.figma.com/design/VKb5gW46uSGw0rqrhZsbXT/WADS-Components?node-id=7688-3741';
@@ -29,6 +30,7 @@ code_connect.connect(Banner, figmaNodeUrl, {
29
30
  example: ({ variant, description, inlineAction, rightActions, closable, title, text })=>/*#__PURE__*/ jsxs(Banner, {
30
31
  variant: variant,
31
32
  children: [
33
+ /*#__PURE__*/ jsx(BannerIcon, {}),
32
34
  /*#__PURE__*/ jsxs(BannerContent, {
33
35
  children: [
34
36
  /*#__PURE__*/ jsx(BannerTitle, {
@@ -1,14 +1,13 @@
1
- import { jsx, jsxs } from "react/jsx-runtime";
1
+ import { jsx } from "react/jsx-runtime";
2
2
  import { cn } from "../../utils/cn.js";
3
3
  import { TestIdProvider } from "../../utils/testId.js";
4
4
  import { BannerVariantProvider } from "./BannerContext.js";
5
- import { BannerIcon } from "./BannerIcon.js";
6
5
  import { bannerVariants } from "./classes.js";
7
- const Banner = ({ ref, variant = 'primary', icon, className, children, 'data-testid': testId, ...props })=>/*#__PURE__*/ jsx(BannerVariantProvider, {
6
+ const Banner = ({ ref, variant = 'primary', className, children, 'data-testid': testId, ...props })=>/*#__PURE__*/ jsx(BannerVariantProvider, {
8
7
  value: variant,
9
8
  children: /*#__PURE__*/ jsx(TestIdProvider, {
10
9
  value: testId,
11
- children: /*#__PURE__*/ jsxs("div", {
10
+ children: /*#__PURE__*/ jsx("div", {
12
11
  ...props,
13
12
  ref: ref,
14
13
  role: "status",
@@ -18,12 +17,7 @@ const Banner = ({ ref, variant = 'primary', icon, className, children, 'data-tes
18
17
  className: cn(bannerVariants({
19
18
  variant
20
19
  }), className),
21
- children: [
22
- /*#__PURE__*/ jsx(BannerIcon, {
23
- icon: icon
24
- }),
25
- children
26
- ]
20
+ children: children
27
21
  })
28
22
  })
29
23
  });
@@ -1,14 +1,18 @@
1
- import type { FC, ReactNode } from 'react';
2
- export interface BannerIconProps {
3
- /** Custom icon — always overrides the variant default. */
1
+ import type { FC, HTMLAttributes, ReactNode, Ref } from 'react';
2
+ export interface BannerIconProps extends Omit<HTMLAttributes<HTMLDivElement>, 'children'> {
3
+ ref?: Ref<HTMLDivElement>;
4
+ /** Override the default icon for the variant. */
4
5
  icon?: ReactNode;
5
6
  }
6
7
  /**
7
- * Leading icon for Banner — rendered internally by Banner, not part of the
8
- * public API.
8
+ * Leading icon for Banner — compose it as a child of Banner.
9
9
  *
10
- * The destructive, info, and warning variants show a default icon; primary and
11
- * secondary show none. A custom `icon` (passed via Banner's `icon` prop) always
12
- * overrides the default. Renders nothing when there is no icon to show.
10
+ * Automatically displays the appropriate icon based on the parent Banner's
11
+ * variant: destructive, info, and warning each render a default icon; primary
12
+ * and secondary render none. Pass a custom `icon` to override the default (or
13
+ * to add an icon to primary/secondary).
14
+ *
15
+ * Renders nothing when there is no icon to show — i.e. on a variant without a
16
+ * default icon and no custom `icon` provided.
13
17
  */
14
18
  export declare const BannerIcon: FC<BannerIconProps>;
@@ -8,7 +8,7 @@ const defaultIconMap = {
8
8
  info: Info,
9
9
  warning: TriangleAlert
10
10
  };
11
- const BannerIcon = ({ icon })=>{
11
+ const BannerIcon = ({ ref, icon, ...props })=>{
12
12
  const testId = useTestId('icon');
13
13
  const variant = useBannerVariant();
14
14
  const DefaultIcon = defaultIconMap[variant];
@@ -20,6 +20,8 @@ const BannerIcon = ({ icon })=>{
20
20
  }) : null);
21
21
  if (null == content) return null;
22
22
  return /*#__PURE__*/ jsx("div", {
23
+ ...props,
24
+ ref: ref,
23
25
  "data-slot": "banner-icon",
24
26
  "data-testid": testId,
25
27
  className: "flex items-center py-2 shrink-0",
@@ -3,5 +3,6 @@ export { BannerClose, type BannerCloseProps } from './BannerClose';
3
3
  export { BannerContent, type BannerContentProps } from './BannerContent';
4
4
  export { BannerControls, type BannerControlsProps } from './BannerControls';
5
5
  export { BannerDescription, type BannerDescriptionProps } from './BannerDescription';
6
+ export { BannerIcon, type BannerIconProps } from './BannerIcon';
6
7
  export { BannerLink, type BannerLinkProps } from './BannerLink';
7
8
  export { BannerTitle, type BannerTitleProps } from './BannerTitle';
@@ -3,6 +3,7 @@ import { BannerClose } from "./BannerClose.js";
3
3
  import { BannerContent } from "./BannerContent.js";
4
4
  import { BannerControls } from "./BannerControls.js";
5
5
  import { BannerDescription } from "./BannerDescription.js";
6
+ import { BannerIcon } from "./BannerIcon.js";
6
7
  import { BannerLink } from "./BannerLink.js";
7
8
  import { BannerTitle } from "./BannerTitle.js";
8
- export { Banner, BannerClose, BannerContent, BannerControls, BannerDescription, BannerLink, BannerTitle };
9
+ export { Banner, BannerClose, BannerContent, BannerControls, BannerDescription, BannerIcon, BannerLink, BannerTitle };
@@ -0,0 +1,10 @@
1
+ import type { FC, HTMLAttributes, ReactNode, Ref } from 'react';
2
+ import type { VariantProps } from 'class-variance-authority';
3
+ import { type TestableProps } from '../../utils/testId';
4
+ import { emptyStateVariants } from './classes';
5
+ export interface EmptyStateProps extends Omit<VariantProps<typeof emptyStateVariants>, 'type'>, Omit<HTMLAttributes<HTMLDivElement>, 'type'>, TestableProps {
6
+ ref?: Ref<HTMLDivElement>;
7
+ type?: 'collection-empty' | 'no-results';
8
+ children?: ReactNode;
9
+ }
10
+ export declare const EmptyState: FC<EmptyStateProps>;
@@ -0,0 +1,20 @@
1
+ import { jsx } from "react/jsx-runtime";
2
+ import { cn } from "../../utils/cn.js";
3
+ import { TestIdProvider } from "../../utils/testId.js";
4
+ import { emptyStateVariants } from "./classes.js";
5
+ const EmptyState = ({ ref, type = 'collection-empty', className, children, 'data-testid': testId, ...props })=>/*#__PURE__*/ jsx(TestIdProvider, {
6
+ value: testId,
7
+ children: /*#__PURE__*/ jsx("div", {
8
+ ...props,
9
+ ref: ref,
10
+ role: "status",
11
+ "data-slot": "empty-state",
12
+ "data-testid": testId,
13
+ className: cn(emptyStateVariants({
14
+ type
15
+ }), className),
16
+ children: children
17
+ })
18
+ });
19
+ EmptyState.displayName = 'EmptyState';
20
+ export { EmptyState };
@@ -0,0 +1,6 @@
1
+ import type { FC, HTMLAttributes, ReactNode, Ref } from 'react';
2
+ export interface EmptyStateActionsProps extends HTMLAttributes<HTMLDivElement> {
3
+ ref?: Ref<HTMLDivElement>;
4
+ children?: ReactNode;
5
+ }
6
+ export declare const EmptyStateActions: FC<EmptyStateActionsProps>;
@@ -0,0 +1,16 @@
1
+ import { jsx } from "react/jsx-runtime";
2
+ import { cn } from "../../utils/cn.js";
3
+ import { useTestId } from "../../utils/testId.js";
4
+ const EmptyStateActions = ({ ref, className, children, ...props })=>{
5
+ const testId = useTestId('actions');
6
+ return /*#__PURE__*/ jsx("div", {
7
+ ...props,
8
+ ref: ref,
9
+ "data-slot": "empty-state-actions",
10
+ "data-testid": testId,
11
+ className: cn('flex items-center justify-center gap-12', className),
12
+ children: children
13
+ });
14
+ };
15
+ EmptyStateActions.displayName = 'EmptyStateActions';
16
+ export { EmptyStateActions };
@@ -0,0 +1,6 @@
1
+ import type { FC, HTMLAttributes, ReactNode, Ref } from 'react';
2
+ export interface EmptyStateDescriptionProps extends Omit<HTMLAttributes<HTMLDivElement>, 'color'> {
3
+ ref?: Ref<HTMLDivElement>;
4
+ children?: ReactNode;
5
+ }
6
+ export declare const EmptyStateDescription: FC<EmptyStateDescriptionProps>;
@@ -0,0 +1,18 @@
1
+ import { jsx } from "react/jsx-runtime";
2
+ import { useTestId } from "../../utils/testId.js";
3
+ import { Text } from "../Text/index.js";
4
+ const EmptyStateDescription = ({ ref, children, ...props })=>{
5
+ const testId = useTestId("description");
6
+ return /*#__PURE__*/ jsx(Text, {
7
+ ...props,
8
+ ref: ref,
9
+ "data-testid": testId,
10
+ "data-slot": "empty-state-description",
11
+ size: "xs",
12
+ color: "secondary",
13
+ align: "center",
14
+ children: children
15
+ });
16
+ };
17
+ EmptyStateDescription.displayName = "EmptyStateDescription";
18
+ export { EmptyStateDescription };
@@ -0,0 +1,6 @@
1
+ import type { FC, HTMLAttributes, ReactNode, Ref } from 'react';
2
+ export interface EmptyStateIllustrationProps extends HTMLAttributes<HTMLDivElement> {
3
+ ref?: Ref<HTMLDivElement>;
4
+ children?: ReactNode;
5
+ }
6
+ export declare const EmptyStateIllustration: FC<EmptyStateIllustrationProps>;
@@ -0,0 +1,16 @@
1
+ import { jsx } from "react/jsx-runtime";
2
+ import { cn } from "../../utils/cn.js";
3
+ import { useTestId } from "../../utils/testId.js";
4
+ const EmptyStateIllustration = ({ ref, className, children, ...props })=>{
5
+ const testId = useTestId('illustration');
6
+ return /*#__PURE__*/ jsx("div", {
7
+ ...props,
8
+ ref: ref,
9
+ "data-slot": "empty-state-illustration",
10
+ "data-testid": testId,
11
+ className: cn('text-text-secondary p-8 border border-border-primary bg-bg-light-primary rounded-full w-36 h-36 flex items-center justify-center', className),
12
+ children: children
13
+ });
14
+ };
15
+ EmptyStateIllustration.displayName = 'EmptyStateIllustration';
16
+ export { EmptyStateIllustration };
@@ -0,0 +1,4 @@
1
+ import type { FC } from 'react';
2
+ import { type LinkProps } from '../Link';
3
+ export type EmptyStateLinkProps = LinkProps;
4
+ export declare const EmptyStateLink: FC<EmptyStateLinkProps>;
@@ -0,0 +1,14 @@
1
+ import { jsx } from "react/jsx-runtime";
2
+ import { useTestId } from "../../utils/testId.js";
3
+ import { Link } from "../Link/index.js";
4
+ const EmptyStateLink = ({ size = 'md', ...props })=>{
5
+ const testId = useTestId('link');
6
+ return /*#__PURE__*/ jsx(Link, {
7
+ ...props,
8
+ size: size,
9
+ "data-slot": "empty-state-link",
10
+ "data-testid": testId
11
+ });
12
+ };
13
+ EmptyStateLink.displayName = 'EmptyStateLink';
14
+ export { EmptyStateLink };
@@ -0,0 +1,6 @@
1
+ import type { FC, HTMLAttributes, ReactNode, Ref } from 'react';
2
+ export interface EmptyStateMessageProps extends HTMLAttributes<HTMLDivElement> {
3
+ ref?: Ref<HTMLDivElement>;
4
+ children?: ReactNode;
5
+ }
6
+ export declare const EmptyStateMessage: FC<EmptyStateMessageProps>;
@@ -0,0 +1,16 @@
1
+ import { jsx } from "react/jsx-runtime";
2
+ import { cn } from "../../utils/cn.js";
3
+ import { useTestId } from "../../utils/testId.js";
4
+ const EmptyStateMessage = ({ ref, className, children, ...props })=>{
5
+ const testId = useTestId('message');
6
+ return /*#__PURE__*/ jsx("div", {
7
+ ...props,
8
+ ref: ref,
9
+ "data-slot": "empty-state-message",
10
+ "data-testid": testId,
11
+ className: cn('flex flex-col items-center gap-8', className),
12
+ children: children
13
+ });
14
+ };
15
+ EmptyStateMessage.displayName = 'EmptyStateMessage';
16
+ export { EmptyStateMessage };
@@ -0,0 +1,6 @@
1
+ import type { FC, HTMLAttributes, ReactNode, Ref } from 'react';
2
+ export interface EmptyStateTitleProps extends HTMLAttributes<HTMLParagraphElement> {
3
+ ref?: Ref<HTMLParagraphElement>;
4
+ children?: ReactNode;
5
+ }
6
+ export declare const EmptyStateTitle: FC<EmptyStateTitleProps>;
@@ -0,0 +1,16 @@
1
+ import { jsx } from "react/jsx-runtime";
2
+ import { cn } from "../../utils/cn.js";
3
+ import { useTestId } from "../../utils/testId.js";
4
+ const EmptyStateTitle = ({ ref, className, children, ...props })=>{
5
+ const testId = useTestId('title');
6
+ return /*#__PURE__*/ jsx("p", {
7
+ ...props,
8
+ ref: ref,
9
+ "data-testid": testId,
10
+ "data-slot": "empty-state-title",
11
+ className: cn('font-pixel text-base leading-base text-text-primary text-center break-words', className),
12
+ children: children
13
+ });
14
+ };
15
+ EmptyStateTitle.displayName = 'EmptyStateTitle';
16
+ export { EmptyStateTitle };
@@ -0,0 +1,4 @@
1
+ export type EmptyStateType = 'collection-empty' | 'no-results';
2
+ export declare const emptyStateVariants: (props?: ({
3
+ type?: "collection-empty" | "no-results" | null | undefined;
4
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string;
@@ -0,0 +1,13 @@
1
+ import { cva } from "class-variance-authority";
2
+ const emptyStateVariants = cva('flex flex-col items-center text-center gap-16', {
3
+ variants: {
4
+ type: {
5
+ 'collection-empty': 'max-w-[560px] min-w-[256px]',
6
+ 'no-results': 'w-[240px] py-8'
7
+ }
8
+ },
9
+ defaultVariants: {
10
+ type: 'collection-empty'
11
+ }
12
+ });
13
+ export { emptyStateVariants };
@@ -0,0 +1,8 @@
1
+ export type { EmptyStateType } from './classes';
2
+ export { EmptyState, type EmptyStateProps } from './EmptyState';
3
+ export { EmptyStateActions, type EmptyStateActionsProps } from './EmptyStateActions';
4
+ export { EmptyStateDescription, type EmptyStateDescriptionProps } from './EmptyStateDescription';
5
+ export { EmptyStateIllustration, type EmptyStateIllustrationProps } from './EmptyStateIllustration';
6
+ export { EmptyStateLink, type EmptyStateLinkProps } from './EmptyStateLink';
7
+ export { EmptyStateMessage, type EmptyStateMessageProps } from './EmptyStateMessage';
8
+ export { EmptyStateTitle, type EmptyStateTitleProps } from './EmptyStateTitle';
@@ -0,0 +1,8 @@
1
+ import { EmptyState } from "./EmptyState.js";
2
+ import { EmptyStateActions } from "./EmptyStateActions.js";
3
+ import { EmptyStateDescription } from "./EmptyStateDescription.js";
4
+ import { EmptyStateIllustration } from "./EmptyStateIllustration.js";
5
+ import { EmptyStateLink } from "./EmptyStateLink.js";
6
+ import { EmptyStateMessage } from "./EmptyStateMessage.js";
7
+ import { EmptyStateTitle } from "./EmptyStateTitle.js";
8
+ export { EmptyState, EmptyStateActions, EmptyStateDescription, EmptyStateIllustration, EmptyStateLink, EmptyStateMessage, EmptyStateTitle };
@@ -1,12 +1,11 @@
1
1
  import { jsx } from "react/jsx-runtime";
2
- import { cn } from "../../utils/cn.js";
3
- import { Text } from "../Text/index.js";
4
- const SelectEmptyState = ()=>/*#__PURE__*/ jsx("div", {
5
- className: cn('p-6 text-center'),
6
- children: /*#__PURE__*/ jsx(Text, {
7
- size: "sm",
8
- color: "secondary",
9
- children: "No results"
2
+ import { EmptyState, EmptyStateDescription, EmptyStateMessage } from "../EmptyState/index.js";
3
+ const SelectEmptyState = ()=>/*#__PURE__*/ jsx(EmptyState, {
4
+ type: "no-results",
5
+ children: /*#__PURE__*/ jsx(EmptyStateMessage, {
6
+ children: /*#__PURE__*/ jsx(EmptyStateDescription, {
7
+ children: "No results"
8
+ })
10
9
  })
11
10
  });
12
11
  SelectEmptyState.displayName = 'SelectEmptyState';
@@ -8,7 +8,7 @@ const SelectPositioner = ({ className, children, ...props })=>/*#__PURE__*/ jsx(
8
8
  ...props,
9
9
  className: "outline-none",
10
10
  children: /*#__PURE__*/ jsx(Select.Content, {
11
- className: cn(dropdownMenuClassNames, 'flex flex-col', 'h-full', 'min-w-280', 'max-w-320', 'max-h-(--available-height)', 'p-0', 'origin-[--transform-origin]', className),
11
+ className: cn(dropdownMenuClassNames, 'flex flex-col', 'h-full', 'min-w-240', 'max-w-320', 'max-h-(--available-height)', 'p-0', 'origin-[--transform-origin]', className),
12
12
  children: children
13
13
  })
14
14
  })
@@ -8,25 +8,25 @@ const UtilityPage = ({ ref, title, subtitle, description, className, children, .
8
8
  "data-slot": "utility-page",
9
9
  className: cn('min-h-screen w-full bg-component-app-shell-bg', className),
10
10
  children: /*#__PURE__*/ jsxs("div", {
11
- className: "flex w-[482px] flex-col items-center gap-32 rounded-12 border-1 border-border-primary-light bg-bg-surface-1 px-48 pt-32 pb-80 shadow-xs",
11
+ className: "flex w-[482px] flex-col items-center gap-32 rounded-12 border-1 border-border-primary-light bg-bg-surface-1 px-48 pt-32 pb-80",
12
12
  children: [
13
13
  /*#__PURE__*/ jsx(Logo, {
14
14
  type: "full",
15
- size: "lg",
15
+ size: "md",
16
16
  className: "self-start mb-32"
17
17
  }),
18
18
  /*#__PURE__*/ jsxs("div", {
19
- className: "w-full flex flex-col items-start gap-12",
19
+ className: "w-full flex flex-col items-start",
20
20
  children: [
21
21
  /*#__PURE__*/ jsx("h1", {
22
- className: "font-mono text-6xl font-medium text-text-primary",
22
+ className: "font-mono text-6xl leading-7xl font-medium text-text-primary",
23
23
  children: title
24
24
  }),
25
25
  /*#__PURE__*/ jsxs("div", {
26
- className: "flex flex-col items-start gap-4",
26
+ className: "flex flex-col items-start",
27
27
  children: [
28
28
  /*#__PURE__*/ jsx("p", {
29
- className: "text-lg font-medium text-text-primary",
29
+ className: "text-lg leading-xl font-medium text-text-primary",
30
30
  children: subtitle
31
31
  }),
32
32
  /*#__PURE__*/ jsx("p", {
package/dist/index.d.ts CHANGED
@@ -16,7 +16,7 @@ export { AnimatedBackground, type AnimatedBackgroundProps, } from './components/
16
16
  export { AppShell, AppShellHeader, type AppShellHeaderProps, type AppShellProps, AppShellRail, type AppShellRailProps, AppShellRemote, type AppShellRemoteProps, } from './components/AppShell';
17
17
  export { Attribute, AttributeActions, AttributeActionsContent, type AttributeActionsContentProps, AttributeActionsItem, type AttributeActionsItemProps, type AttributeActionsProps, AttributeActionsTarget, type AttributeActionsTargetProps, AttributeLabel, AttributeLabelDescription, type AttributeLabelDescriptionProps, AttributeLabelInfo, type AttributeLabelInfoProps, type AttributeLabelProps, type AttributeProps, AttributeValue, type AttributeValueProps, } from './components/Attribute';
18
18
  export { Badge, type BadgeProps } from './components/Badge';
19
- export { Banner, BannerClose, type BannerCloseProps, BannerContent, type BannerContentProps, BannerControls, type BannerControlsProps, BannerDescription, type BannerDescriptionProps, BannerLink, type BannerLinkProps, type BannerProps, BannerTitle, type BannerTitleProps, type BannerVariant, } from './components/Banner';
19
+ export { Banner, BannerClose, type BannerCloseProps, BannerContent, type BannerContentProps, BannerControls, type BannerControlsProps, BannerDescription, type BannerDescriptionProps, BannerIcon, type BannerIconProps, BannerLink, type BannerLinkProps, type BannerProps, BannerTitle, type BannerTitleProps, type BannerVariant, } from './components/Banner';
20
20
  export { Breadcrumbs, BreadcrumbsEllipsis, type BreadcrumbsEllipsisProps, BreadcrumbsItem, type BreadcrumbsItemProps, type BreadcrumbsProps, BreadcrumbsScopeSwitcher, type BreadcrumbsScopeSwitcherProps, BreadcrumbsSeparator, type BreadcrumbsSeparatorProps, type ScopeSwitcherItem, } from './components/Breadcrumbs';
21
21
  export { Button, type ButtonProps } from './components/Button';
22
22
  export { Calendar, CalendarApplyButton, type CalendarApplyButtonProps, CalendarBody, type CalendarBodyProps, CalendarContent, type CalendarContentProps, type CalendarContextValue, CalendarDayName, CalendarFooter, CalendarFooterControls, type CalendarFooterControlsProps, type CalendarFooterProps, CalendarGrid, CalendarGrids, type CalendarGridsProps, CalendarHeader, CalendarInputHeader, type CalendarInputHeaderProps, CalendarKeyboardHints, type CalendarKeyboardHintsProps, CalendarPresetItem, CalendarPresets, type CalendarPresetsProps, type CalendarProps, CalendarProvider, CalendarResetButton, type CalendarResetButtonProps, CalendarTrigger, type CalendarTriggerProps, type CalendarType, DAY_NAMES, type DateRangePreset, type DateValue, DEFAULT_RANGE_PRESETS, DEFAULT_SINGLE_PRESETS, MONTH_NAMES, type PresetConfig, type PresetValue, useCalendarContext, } from './components/Calendar';
@@ -29,6 +29,7 @@ export { DateInput, type DateInputProps } from './components/DateInput';
29
29
  export { DateRangeEndValue, DateRangeInput, type DateRangeInputProps, DateRangeProvider, DateRangeSeparator, DateRangeStartValue, useDateRangeContext, } from './components/DateRangeInput';
30
30
  export { Drawer, DrawerBody, type DrawerBodyProps, DrawerClose, type DrawerCloseProps, DrawerContent, type DrawerContentProps, DrawerFooter, DrawerFooterControls, type DrawerFooterControlsProps, type DrawerFooterProps, DrawerHeader, type DrawerHeaderProps, DrawerPositioner, type DrawerPositionerProps, type DrawerProps, DrawerResizeHandle, DrawerTitle, type DrawerTitleProps, DrawerTrigger, type DrawerTriggerProps, drawerContentVariants, drawerPositionerVariants, useDrawerContext, } from './components/Drawer';
31
31
  export { DropdownMenu, DropdownMenuContent, DropdownMenuContextTrigger, DropdownMenuFooter, DropdownMenuGroup, DropdownMenuInput, DropdownMenuItem, DropdownMenuItemContent, DropdownMenuItemDescription, DropdownMenuItemIcon, DropdownMenuItemText, DropdownMenuLabel, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuTrigger, DropdownMenuTriggerItem, } from './components/DropdownMenu';
32
+ export { EmptyState, EmptyStateActions, EmptyStateDescription, EmptyStateIllustration, EmptyStateLink, EmptyStateMessage, EmptyStateTitle, } from './components/EmptyState';
32
33
  export { Field, FieldContent, FieldDescription, FieldError, FieldGroup, FieldLabel, FieldLegend, FieldSeparator, FieldSet, FieldTitle, } from './components/Field';
33
34
  export { type Condition, type ExprNode, type FieldMetadata, type FieldType, FilterInput, FilterInputChip, type FilterInputChipData, type FilterInputChipProps, type FilterInputChipVariant, FilterInputFieldMenu, type FilterInputFieldMenuProps, FilterInputOperatorMenu, type FilterInputOperatorMenuProps, type FilterInputProps, type FilterOperator, type Group, } from './components/FilterInput';
34
35
  export { Flex, type FlexProps } from './components/Flex';
package/dist/index.js CHANGED
@@ -5,7 +5,7 @@ import { AnimatedBackground } from "./components/AnimatedBackground/index.js";
5
5
  import { AppShell, AppShellHeader, AppShellRail, AppShellRemote } from "./components/AppShell/index.js";
6
6
  import { Attribute, AttributeActions, AttributeActionsContent, AttributeActionsItem, AttributeActionsTarget, AttributeLabel, AttributeLabelDescription, AttributeLabelInfo, AttributeValue } from "./components/Attribute/index.js";
7
7
  import { Badge } from "./components/Badge/index.js";
8
- import { Banner, BannerClose, BannerContent, BannerControls, BannerDescription, BannerLink, BannerTitle } from "./components/Banner/index.js";
8
+ import { Banner, BannerClose, BannerContent, BannerControls, BannerDescription, BannerIcon, BannerLink, BannerTitle } from "./components/Banner/index.js";
9
9
  import { Breadcrumbs, BreadcrumbsEllipsis, BreadcrumbsItem, BreadcrumbsScopeSwitcher, BreadcrumbsSeparator } from "./components/Breadcrumbs/index.js";
10
10
  import { Button } from "./components/Button/index.js";
11
11
  import { Calendar, CalendarApplyButton, CalendarBody, CalendarContent, CalendarDayName, CalendarFooter, CalendarFooterControls, CalendarGrid, CalendarGrids, CalendarHeader, CalendarInputHeader, CalendarKeyboardHints, CalendarPresetItem, CalendarPresets, CalendarProvider, CalendarResetButton, CalendarTrigger, DAY_NAMES, DEFAULT_RANGE_PRESETS, DEFAULT_SINGLE_PRESETS, MONTH_NAMES, useCalendarContext } from "./components/Calendar/index.js";
@@ -18,6 +18,7 @@ import { DateInput } from "./components/DateInput/index.js";
18
18
  import { DateRangeEndValue, DateRangeInput, DateRangeProvider, DateRangeSeparator, DateRangeStartValue, useDateRangeContext } from "./components/DateRangeInput/index.js";
19
19
  import { Drawer, DrawerBody, DrawerClose, DrawerContent, DrawerFooter, DrawerFooterControls, DrawerHeader, DrawerPositioner, DrawerResizeHandle, DrawerTitle, DrawerTrigger, drawerContentVariants, drawerPositionerVariants, useDrawerContext } from "./components/Drawer/index.js";
20
20
  import { DropdownMenu, DropdownMenuContent, DropdownMenuContextTrigger, DropdownMenuFooter, DropdownMenuGroup, DropdownMenuInput, DropdownMenuItem, DropdownMenuItemContent, DropdownMenuItemDescription, DropdownMenuItemIcon, DropdownMenuItemText, DropdownMenuLabel, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuTrigger, DropdownMenuTriggerItem } from "./components/DropdownMenu/index.js";
21
+ import { EmptyState, EmptyStateActions, EmptyStateDescription, EmptyStateIllustration, EmptyStateLink, EmptyStateMessage, EmptyStateTitle } from "./components/EmptyState/index.js";
21
22
  import { Field, FieldContent, FieldDescription, FieldError, FieldGroup, FieldLabel, FieldLegend, FieldSeparator, FieldSet, FieldTitle } from "./components/Field/index.js";
22
23
  import { FilterInput, FilterInputChip, FilterInputFieldMenu, FilterInputOperatorMenu } from "./components/FilterInput/index.js";
23
24
  import { Flex } from "./components/Flex/index.js";
@@ -68,4 +69,4 @@ import { TopHeader, TopHeaderActions, TopHeaderLogo } from "./components/TopHead
68
69
  import { Tour, beaconStepEffect, useTour, waitForStepEvent } from "./components/Tour/index.js";
69
70
  import { UtilityPage } from "./components/UtilityPage/index.js";
70
71
  import { TestIdProvider, useTestId } from "./utils/testId.js";
71
- export { Accordion, AccordionActions, AccordionContent, AccordionItem, AccordionTrigger, Alert, AlertClose, AlertContent, AlertControls, AlertDescription, AlertIcon, AlertTitle, AnimatedBackground, AppShell, AppShellHeader, AppShellRail, AppShellRemote, Attribute, AttributeActions, AttributeActionsContent, AttributeActionsItem, AttributeActionsTarget, AttributeLabel, AttributeLabelDescription, AttributeLabelInfo, AttributeValue, Badge, Banner, BannerClose, BannerContent, BannerControls, BannerDescription, BannerLink, BannerTitle, Breadcrumbs, BreadcrumbsEllipsis, BreadcrumbsItem, BreadcrumbsScopeSwitcher, BreadcrumbsSeparator, Button, Calendar, CalendarApplyButton, CalendarBody, CalendarContent, CalendarDate, CalendarDateTime, CalendarDayName, CalendarFooter, CalendarFooterControls, CalendarGrid, CalendarGrids, CalendarHeader, CalendarInputHeader, CalendarKeyboardHints, CalendarPresetItem, CalendarPresets, CalendarProvider, CalendarResetButton, CalendarTrigger, Card, CardContent, CardFooter, CardHeader, CardTitle, Checkbox, CheckboxDescription, CheckboxGroup, CheckboxIndicator, CheckboxLabel, Code, Country, CountryFlag, CountryName, DAY_NAMES, DEFAULT_RANGE_PRESETS, DEFAULT_SINGLE_PRESETS, DateFormatProvider, DateInput, DateRangeEndValue, DateRangeInput, DateRangeProvider, DateRangeSeparator, DateRangeStartValue, Drawer, DrawerBody, DrawerClose, DrawerContent, DrawerFooter, DrawerFooterControls, DrawerHeader, DrawerPositioner, DrawerResizeHandle, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuContent, DropdownMenuContextTrigger, DropdownMenuFooter, DropdownMenuGroup, DropdownMenuInput, DropdownMenuItem, DropdownMenuItemContent, DropdownMenuItemDescription, DropdownMenuItemIcon, DropdownMenuItemText, DropdownMenuLabel, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuTrigger, DropdownMenuTriggerItem, Field, FieldContent, FieldDescription, FieldError, FieldGroup, FieldLabel, FieldLegend, FieldSeparator, FieldSet, FieldTitle, FilterInput, FilterInputChip, FilterInputFieldMenu, FilterInputOperatorMenu, Flex, FormatDateTime, HStack, HTTP_METHODS, HTTP_METHOD_COLOR, Heading, HttpMethod, Input, InputGroup, InputGroupAddon, InputGroupText, Ip, IpAddress, IpCountry, IpList, IpPort, IpProvider, Kbd, KbdGroup, Link, Loader, Logo, MONTH_NAMES, NavRail, NavRailBody, NavRailFooter, NavRailItem, NavRailSeparator, NavRailSkeleton, NumberInput, NumericBadge, OTPInput, OverflowTooltip, OverflowTooltipContent, Page, PageActions, PageContent, PageHeader, PageHostProvider, PageTitle, ParameterPath, Popover, PopoverContent, PopoverTrigger, Progress, RESPONSE_CODE_COLOR, Radio, RadioDescription, RadioGroup, RadioIndicator, RadioLabel, RemoteShell, RemoteShellBreadcrumb, RemoteShellContent, RemoteShellPanel, ResponseCode, ScrollArea, ScrollAreaContent, ScrollAreaCorner, ScrollAreaScrollbar, ScrollAreaViewport, SegmentedControl, SegmentedControlButton, SegmentedControlItem, SegmentedControlSeparator, SegmentedTabs, SegmentedTabsButton, SegmentedTabsContent, SegmentedTabsList, SegmentedTabsSeparator, SegmentedTabsTrigger, SegmentedTabsTriggerButton, Select, SelectButton, SelectClearTrigger, SelectContent, SelectFooter, SelectGroup, SelectGroupLabel, SelectHeader, SelectInput, SelectOption, SelectOptionDescription, SelectOptionIndicator, SelectOptionText, SelectPositioner, SelectSearchInput, SelectSeparator, Selection, SelectionAll, SelectionBulkBar, SelectionItem, Separator, Skeleton, SplashScreen, SplitButton, Stack, Switch, SwitchControl, SwitchDescription, SwitchLabel, Table, TableActionBar, TableEmptyState, TableSettingsMenu, Tabs, TabsButton, TabsContent, TabsLineActions, TabsList, TabsSeparator, TabsTrigger, Tag, TagClose, TestIdProvider, Text, Textarea, ThemeProvider, Time, TimeInput, Toast, ToastActions, Toaster, ToggleButton, Tooltip, TooltipContent, TooltipTrigger, TopHeader, TopHeaderActions, TopHeaderLogo, Tour, UtilityPage, VStack, ZonedDateTime, beaconStepEffect, cardVariants, createTableColumnHelper, datacenters, drawerContentVariants, drawerPositionerVariants, findFirstLinkPath, formatAsFilter, getLocalTimeZone, getResponseCodeCategory, parseDate, parseDateTime, parseTime, parseZonedDateTime, proxyTypes, pushPathname, sourceLabels, toaster, today, useCalendarContext, useDateFormat, useDateRangeContext, useDrawerContext, useLocationPathname, usePageHost, useRemoteShellContext, useTestId, useTheme, useTour, waitForStepEvent };
72
+ export { Accordion, AccordionActions, AccordionContent, AccordionItem, AccordionTrigger, Alert, AlertClose, AlertContent, AlertControls, AlertDescription, AlertIcon, AlertTitle, AnimatedBackground, AppShell, AppShellHeader, AppShellRail, AppShellRemote, Attribute, AttributeActions, AttributeActionsContent, AttributeActionsItem, AttributeActionsTarget, AttributeLabel, AttributeLabelDescription, AttributeLabelInfo, AttributeValue, Badge, Banner, BannerClose, BannerContent, BannerControls, BannerDescription, BannerIcon, BannerLink, BannerTitle, Breadcrumbs, BreadcrumbsEllipsis, BreadcrumbsItem, BreadcrumbsScopeSwitcher, BreadcrumbsSeparator, Button, Calendar, CalendarApplyButton, CalendarBody, CalendarContent, CalendarDate, CalendarDateTime, CalendarDayName, CalendarFooter, CalendarFooterControls, CalendarGrid, CalendarGrids, CalendarHeader, CalendarInputHeader, CalendarKeyboardHints, CalendarPresetItem, CalendarPresets, CalendarProvider, CalendarResetButton, CalendarTrigger, Card, CardContent, CardFooter, CardHeader, CardTitle, Checkbox, CheckboxDescription, CheckboxGroup, CheckboxIndicator, CheckboxLabel, Code, Country, CountryFlag, CountryName, DAY_NAMES, DEFAULT_RANGE_PRESETS, DEFAULT_SINGLE_PRESETS, DateFormatProvider, DateInput, DateRangeEndValue, DateRangeInput, DateRangeProvider, DateRangeSeparator, DateRangeStartValue, Drawer, DrawerBody, DrawerClose, DrawerContent, DrawerFooter, DrawerFooterControls, DrawerHeader, DrawerPositioner, DrawerResizeHandle, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuContent, DropdownMenuContextTrigger, DropdownMenuFooter, DropdownMenuGroup, DropdownMenuInput, DropdownMenuItem, DropdownMenuItemContent, DropdownMenuItemDescription, DropdownMenuItemIcon, DropdownMenuItemText, DropdownMenuLabel, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuTrigger, DropdownMenuTriggerItem, EmptyState, EmptyStateActions, EmptyStateDescription, EmptyStateIllustration, EmptyStateLink, EmptyStateMessage, EmptyStateTitle, Field, FieldContent, FieldDescription, FieldError, FieldGroup, FieldLabel, FieldLegend, FieldSeparator, FieldSet, FieldTitle, FilterInput, FilterInputChip, FilterInputFieldMenu, FilterInputOperatorMenu, Flex, FormatDateTime, HStack, HTTP_METHODS, HTTP_METHOD_COLOR, Heading, HttpMethod, Input, InputGroup, InputGroupAddon, InputGroupText, Ip, IpAddress, IpCountry, IpList, IpPort, IpProvider, Kbd, KbdGroup, Link, Loader, Logo, MONTH_NAMES, NavRail, NavRailBody, NavRailFooter, NavRailItem, NavRailSeparator, NavRailSkeleton, NumberInput, NumericBadge, OTPInput, OverflowTooltip, OverflowTooltipContent, Page, PageActions, PageContent, PageHeader, PageHostProvider, PageTitle, ParameterPath, Popover, PopoverContent, PopoverTrigger, Progress, RESPONSE_CODE_COLOR, Radio, RadioDescription, RadioGroup, RadioIndicator, RadioLabel, RemoteShell, RemoteShellBreadcrumb, RemoteShellContent, RemoteShellPanel, ResponseCode, ScrollArea, ScrollAreaContent, ScrollAreaCorner, ScrollAreaScrollbar, ScrollAreaViewport, SegmentedControl, SegmentedControlButton, SegmentedControlItem, SegmentedControlSeparator, SegmentedTabs, SegmentedTabsButton, SegmentedTabsContent, SegmentedTabsList, SegmentedTabsSeparator, SegmentedTabsTrigger, SegmentedTabsTriggerButton, Select, SelectButton, SelectClearTrigger, SelectContent, SelectFooter, SelectGroup, SelectGroupLabel, SelectHeader, SelectInput, SelectOption, SelectOptionDescription, SelectOptionIndicator, SelectOptionText, SelectPositioner, SelectSearchInput, SelectSeparator, Selection, SelectionAll, SelectionBulkBar, SelectionItem, Separator, Skeleton, SplashScreen, SplitButton, Stack, Switch, SwitchControl, SwitchDescription, SwitchLabel, Table, TableActionBar, TableEmptyState, TableSettingsMenu, Tabs, TabsButton, TabsContent, TabsLineActions, TabsList, TabsSeparator, TabsTrigger, Tag, TagClose, TestIdProvider, Text, Textarea, ThemeProvider, Time, TimeInput, Toast, ToastActions, Toaster, ToggleButton, Tooltip, TooltipContent, TooltipTrigger, TopHeader, TopHeaderActions, TopHeaderLogo, Tour, UtilityPage, VStack, ZonedDateTime, beaconStepEffect, cardVariants, createTableColumnHelper, datacenters, drawerContentVariants, drawerPositionerVariants, findFirstLinkPath, formatAsFilter, getLocalTimeZone, getResponseCodeCategory, parseDate, parseDateTime, parseTime, parseZonedDateTime, proxyTypes, pushPathname, sourceLabels, toaster, today, useCalendarContext, useDateFormat, useDateRangeContext, useDrawerContext, useLocationPathname, usePageHost, useRemoteShellContext, useTestId, useTheme, useTour, waitForStepEvent };