@ultraviolet/ui 3.0.0-beta.1 → 3.0.0-beta.3

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.
@@ -71,7 +71,7 @@ const Button = react.forwardRef(({
71
71
  variant
72
72
  })}`, "data-testid": dataTestId, download, href, onBlur, onClick, onMouseDown, onMouseEnter, onMouseLeave, onMouseOut, onMouseUp, ref, role, tabIndex, target, type, children: content }) });
73
73
  }
74
- return /* @__PURE__ */ jsxRuntime.jsx(index.Tooltip, { containerFullWidth: fullWidth, text: tooltip, children: /* @__PURE__ */ jsxRuntime.jsx("button", { "aria-controls": ariaControls, "aria-current": ariaCurrent, "aria-expanded": ariaExpanded, "aria-haspopup": ariaHaspopup, "aria-label": ariaLabel, autoFocus, className: `${className ?? ""} ${styles_css.button({
74
+ return /* @__PURE__ */ jsxRuntime.jsx(index.Tooltip, { containerFullWidth: fullWidth, text: tooltip, children: /* @__PURE__ */ jsxRuntime.jsx("button", { "aria-controls": ariaControls, "aria-current": ariaCurrent, "aria-expanded": ariaExpanded, "aria-haspopup": ariaHaspopup, "aria-label": ariaLabel, autoFocus, className: `${className ? `${className} ` : ""}${styles_css.button({
75
75
  disabled,
76
76
  fullWidth,
77
77
  sentiment,
@@ -69,7 +69,7 @@ const Button = forwardRef(({
69
69
  variant
70
70
  })}`, "data-testid": dataTestId, download, href, onBlur, onClick, onMouseDown, onMouseEnter, onMouseLeave, onMouseOut, onMouseUp, ref, role, tabIndex, target, type, children: content }) });
71
71
  }
72
- return /* @__PURE__ */ jsx(Tooltip, { containerFullWidth: fullWidth, text: tooltip, children: /* @__PURE__ */ jsx("button", { "aria-controls": ariaControls, "aria-current": ariaCurrent, "aria-expanded": ariaExpanded, "aria-haspopup": ariaHaspopup, "aria-label": ariaLabel, autoFocus, className: `${className ?? ""} ${button({
72
+ return /* @__PURE__ */ jsx(Tooltip, { containerFullWidth: fullWidth, text: tooltip, children: /* @__PURE__ */ jsx("button", { "aria-controls": ariaControls, "aria-current": ariaCurrent, "aria-expanded": ariaExpanded, "aria-haspopup": ariaHaspopup, "aria-label": ariaLabel, autoFocus, className: `${className ? `${className} ` : ""}${button({
73
73
  disabled,
74
74
  fullWidth,
75
75
  sentiment,
@@ -2,15 +2,15 @@ import type { RecipeVariants } from '@vanilla-extract/recipes';
2
2
  export declare const button: import("@vanilla-extract/recipes").RuntimeFn<{
3
3
  size: {
4
4
  large: {
5
+ height: `var(--${string})`;
6
+ paddingLeft: `var(--${string})`;
7
+ paddingRight: `var(--${string})`;
8
+ gap: `var(--${string})`;
5
9
  fontSize: `var(--${string})`;
6
10
  fontFamily: `var(--${string})`;
7
11
  fontWeight: `var(--${string})`;
8
12
  letterSpacing: `var(--${string})`;
9
13
  lineHeight: `var(--${string})`;
10
- height: `var(--${string})`;
11
- paddingLeft: `var(--${string})`;
12
- paddingRight: `var(--${string})`;
13
- gap: `var(--${string})`;
14
14
  };
15
15
  medium: {
16
16
  fontSize: `var(--${string})`;
@@ -52,7 +52,7 @@ export declare const Dialog: (({ ariaLabel, className, children, "data-testid":
52
52
  href?: string;
53
53
  target?: string;
54
54
  download?: string;
55
- } & import("react").RefAttributes<Element>, "onClick" | "tooltip" | "disabled">) => import("@emotion/react/jsx-runtime").JSX.Element;
55
+ } & import("react").RefAttributes<Element>, "tooltip" | "onClick" | "disabled">) => import("@emotion/react/jsx-runtime").JSX.Element;
56
56
  Buttons: ({ secondaryButton, primaryButton, }: {
57
57
  secondaryButton: import("react").ReactNode;
58
58
  primaryButton: import("react").ReactNode;
@@ -53,7 +53,7 @@ export declare const StyledTooltip: import("@emotion/styled").StyledComponent<Pi
53
53
  disableAnimation?: boolean;
54
54
  portalTarget?: HTMLElement;
55
55
  dynamicDomRendering?: boolean;
56
- } & import("react").RefAttributes<HTMLDivElement>, "children" | "className" | "text" | "id" | "tabIndex" | "role" | "maxWidth" | "data-testid" | "containerFullHeight" | "containerFullWidth" | "visible" | "debounceDelay" | "portalTarget" | "innerRef"> & {
56
+ } & import("react").RefAttributes<HTMLDivElement>, "children" | "className" | "text" | "maxWidth" | "id" | "tabIndex" | "role" | "data-testid" | "containerFullHeight" | "containerFullWidth" | "visible" | "debounceDelay" | "portalTarget" | "innerRef"> & {
57
57
  placement?: Exclude<import("react").ComponentProps<typeof import("..").Popup>["placement"], "nested-menu">;
58
58
  } & import("react").RefAttributes<HTMLDivElement> & {
59
59
  theme?: Theme;