@stainless-api/ui-primitives 0.1.0-beta.44 → 0.1.0-beta.45

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.
@@ -1,5 +1,5 @@
1
1
  import React from "react";
2
- import * as react_jsx_runtime5 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime8 from "react/jsx-runtime";
3
3
  import { LucideIcon } from "lucide-react";
4
4
 
5
5
  //#region src/components/Button.d.ts
@@ -21,18 +21,18 @@ type ButtonBranch = BaseProps & Omit<React.ButtonHTMLAttributes<HTMLButtonElemen
21
21
  href?: never;
22
22
  };
23
23
  type ButtonProps = AnchorBranch | ButtonBranch;
24
- declare function Button(props: ButtonProps): react_jsx_runtime5.JSX.Element;
24
+ declare function Button(props: ButtonProps): react_jsx_runtime8.JSX.Element;
25
25
  declare namespace Button {
26
26
  var Label: ({
27
27
  className,
28
28
  ...rest
29
- }: LabelProps) => react_jsx_runtime5.JSX.Element;
29
+ }: LabelProps) => react_jsx_runtime8.JSX.Element;
30
30
  var Icon: ({
31
31
  className,
32
32
  icon: Icon,
33
33
  size,
34
34
  ...rest
35
- }: IconProps) => react_jsx_runtime5.JSX.Element;
35
+ }: IconProps) => react_jsx_runtime8.JSX.Element;
36
36
  }
37
37
  type LabelProps = React.HTMLAttributes<HTMLSpanElement>;
38
38
  type IconProps = {
@@ -1,5 +1,5 @@
1
1
  import React from "react";
2
- import * as react_jsx_runtime8 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime5 from "react/jsx-runtime";
3
3
 
4
4
  //#region src/components/Callout.d.ts
5
5
  type CalloutVariant = 'info' | 'note' | 'tip' | 'success' | 'warning' | 'danger';
@@ -13,6 +13,6 @@ declare function Callout({
13
13
  className,
14
14
  children,
15
15
  ...props
16
- }: CalloutProps): react_jsx_runtime8.JSX.Element;
16
+ }: CalloutProps): react_jsx_runtime5.JSX.Element;
17
17
  //#endregion
18
18
  export { Callout, CalloutProps, CalloutVariant };
@@ -1,17 +1,17 @@
1
- import * as react_jsx_runtime9 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime6 from "react/jsx-runtime";
2
2
 
3
3
  //#region src/components/Steps.d.ts
4
4
  declare function Steps({
5
5
  children
6
6
  }: {
7
7
  children: React.ReactNode;
8
- }): react_jsx_runtime9.JSX.Element;
8
+ }): react_jsx_runtime6.JSX.Element;
9
9
  declare function Step({
10
10
  children,
11
11
  title
12
12
  }: {
13
13
  children: React.ReactNode;
14
14
  title: string;
15
- }): react_jsx_runtime9.JSX.Element;
15
+ }): react_jsx_runtime6.JSX.Element;
16
16
  //#endregion
17
17
  export { Step, Steps };
package/dist/styles.css CHANGED
@@ -87,6 +87,11 @@ body {
87
87
  font-weight: 500;
88
88
  line-height: var(--stl-typography-line-height-heading);
89
89
  font-family: var(--stl-typography-font-heading);
90
+
91
+ text-wrap: pretty;
92
+ &:where(h1, h2, h3) {
93
+ text-wrap: balance;
94
+ }
90
95
  }
91
96
 
92
97
  :where(h1:not(.stl-ui-not-prose *), .stl-ui-not-prose .stl-ui-prose h1) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stainless-api/ui-primitives",
3
- "version": "0.1.0-beta.44",
3
+ "version": "0.1.0-beta.45",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -21,9 +21,9 @@
21
21
  "@types/react-dom": "^19.2.3",
22
22
  "react": "^19.2.3",
23
23
  "react-dom": "^19.2.3",
24
- "rolldown": "1.0.0-beta.60",
24
+ "rolldown": "1.0.0-rc.1",
25
25
  "sass": "^1.97.2",
26
- "tsdown": "^0.20.0-beta.3",
26
+ "tsdown": "^0.20.0",
27
27
  "typescript": "5.9.3",
28
28
  "@stainless/eslint-config": "0.1.0-beta.1"
29
29
  },