@photoroom/ui 0.1.821 → 0.1.822

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,7 +1,7 @@
1
1
  import { VariantProps } from "class-variance-authority";
2
2
  declare const closeButtonCva: (props?: ({
3
3
  size?: "medium" | "small" | null | undefined;
4
- variant?: "borderless-on-dark" | "on-dark" | "secondary" | "secondary-on-dark" | null | undefined;
4
+ variant?: "borderless" | "borderless-on-dark" | "on-dark" | "secondary" | "secondary-on-dark" | null | undefined;
5
5
  disabled?: boolean | null | undefined;
6
6
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
7
7
  type CloseButtonCvaProps = VariantProps<typeof closeButtonCva>;
@@ -1 +1 @@
1
- {"version":3,"file":"CloseButton.d.ts","sourceRoot":"","sources":["../../../../src/components/action/CloseButton/CloseButton.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAO,MAAM,0BAA0B,CAAC;AAE7D,QAAA,MAAM,cAAc;;;;8EAkCnB,CAAC;AAqBF,KAAK,mBAAmB,GAAG,YAAY,CAAC,OAAO,cAAc,CAAC,CAAC;AAE/D,MAAM,MAAM,gBAAgB,GAAG,KAAK,CAAC,cAAc,CAAC,QAAQ,CAAC,GAAG,mBAAmB,CAAC;oCAOxD,EAC1B,IAAI,EACJ,OAAO,EACP,OAAO,EACP,SAAS,EACT,GAAG,EACH,GAAG,KAAK,EACT,EAAE,gBAAgB"}
1
+ {"version":3,"file":"CloseButton.d.ts","sourceRoot":"","sources":["../../../../src/components/action/CloseButton/CloseButton.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAO,MAAM,0BAA0B,CAAC;AAE7D,QAAA,MAAM,cAAc;;;;8EAqCnB,CAAC;AAsBF,KAAK,mBAAmB,GAAG,YAAY,CAAC,OAAO,cAAc,CAAC,CAAC;AAE/D,MAAM,MAAM,gBAAgB,GAAG,KAAK,CAAC,cAAc,CAAC,QAAQ,CAAC,GAAG,mBAAmB,CAAC;oCAOxD,EAC1B,IAAI,EACJ,OAAO,EACP,OAAO,EACP,SAAS,EACT,GAAG,EACH,GAAG,KAAK,EACT,EAAE,gBAAgB"}
package/index.mjs CHANGED
@@ -7752,6 +7752,7 @@ var zre = G(["inline-flex items-center justify-center rounded-full outline-hidde
7752
7752
  },
7753
7753
  variant: {
7754
7754
  secondary: "bg-background-inverted border-misc-border-default hover:bg-background-borderless-subdued-hover focus-visible:bg-background-borderless-subdued-hover focus-visible:ring-misc-focus-indicator active:bg-background-borderless-subdued-down focus-visible:misc-border-size-focus-ring border",
7755
+ borderless: "hover:bg-background-borderless-subdued-hover focus-visible:bg-background-borderless-subdued-hover focus-visible:ring-misc-focus-indicator active:bg-background-borderless-subdued-down focus-visible:misc-border-size-focus-ring",
7755
7756
  "on-dark": "focus-visible:ring-misc-white-focus-indicator focus-visible:misc-border-size-focus-ring bg-neutral-200 hover:bg-neutral-300 focus-visible:bg-neutral-300 active:bg-neutral-400",
7756
7757
  "secondary-on-dark": "bg-background-default border-misc-border-inverted hover:bg-background-hover focus-visible:bg-background-hover focus-visible:ring-misc-white-focus-indicator active:bg-background-down focus-visible:misc-border-size-focus-ring border",
7757
7758
  "borderless-on-dark": "hover:bg-background-white-subdued focus-visible:bg-background-white-subdued focus-visible:ring-misc-white-focus-indicator active:bg-background-white-subdued-hover focus-visible:misc-border-size-focus-ring"
@@ -7764,6 +7765,11 @@ var zre = G(["inline-flex items-center justify-center rounded-full outline-hidde
7764
7765
  disabled: !0,
7765
7766
  class: "bg-background-inverted!"
7766
7767
  },
7768
+ {
7769
+ variant: "borderless",
7770
+ disabled: !0,
7771
+ class: "bg-transparent!"
7772
+ },
7767
7773
  {
7768
7774
  variant: "on-dark",
7769
7775
  disabled: !0,
@@ -7789,6 +7795,7 @@ var zre = G(["inline-flex items-center justify-center rounded-full outline-hidde
7789
7795
  variants: {
7790
7796
  variant: {
7791
7797
  secondary: "text-content-secondary",
7798
+ borderless: "text-content-secondary",
7792
7799
  "on-dark": "text-content-primary",
7793
7800
  "secondary-on-dark": "text-content-white-inverted-primary",
7794
7801
  "borderless-on-dark": "text-content-white-primary"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@photoroom/ui",
3
- "version": "0.1.821",
3
+ "version": "0.1.822",
4
4
  "private": false,
5
5
  "description": "Photoroom design system components",
6
6
  "sideEffects": [