@stainless-api/ui-primitives 0.1.0-beta.40 → 0.1.0-beta.41

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.
@@ -30,7 +30,8 @@ declare namespace Button {
30
30
  var Icon: ({
31
31
  className,
32
32
  icon: Icon,
33
- size
33
+ size,
34
+ ...rest
34
35
  }: IconProps) => react_jsx_runtime2.JSX.Element;
35
36
  }
36
37
  type LabelProps = React.HTMLAttributes<HTMLSpanElement>;
@@ -40,9 +40,10 @@ Button.Label = function ButtonLabel({ className, ...rest }) {
40
40
  ...rest
41
41
  });
42
42
  };
43
- Button.Icon = function ButtonIcon({ className, icon: Icon, size = 18 }) {
43
+ Button.Icon = function ButtonIcon({ className, icon: Icon, size = 18, ...rest }) {
44
44
  return /* @__PURE__ */ jsx("span", {
45
45
  className: clsx("stl-ui-button__icon", className),
46
+ ...rest,
46
47
  children: /* @__PURE__ */ jsx(Icon, { size })
47
48
  });
48
49
  };
package/dist/styles.css CHANGED
@@ -70,7 +70,7 @@ body {
70
70
  }
71
71
 
72
72
  :where(strong:not(.stl-ui-not-prose *), .stl-ui-not-prose .stl-ui-prose strong) {
73
- color: var(--stl-color-foreground);
73
+ color: rgb(from currentColor r g b / 1);
74
74
  }
75
75
 
76
76
  :where(a:not(.stl-ui-not-prose *), .stl-ui-not-prose .stl-ui-prose a) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stainless-api/ui-primitives",
3
- "version": "0.1.0-beta.40",
3
+ "version": "0.1.0-beta.41",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },