@photoroom/ui 0.1.550 → 0.1.552

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.
@@ -0,0 +1,19 @@
1
+ import { VariantProps } from "class-variance-authority";
2
+ declare const closeButtonCva: (props?: ({
3
+ size?: "small" | "medium" | null | undefined;
4
+ variant?: "secondary" | "on-dark" | "secondary-on-dark" | null | undefined;
5
+ disabled?: boolean | null | undefined;
6
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string;
7
+ type CloseButtonCvaProps = VariantProps<typeof closeButtonCva>;
8
+ export type CloseButtonProps = React.ComponentProps<"button"> & CloseButtonCvaProps;
9
+ /**
10
+ * Close Button
11
+ *
12
+ * https://www.figma.com/design/cHgANa7dtzDDGXk7dKuAOQ/Prism?node-id=6542-12863
13
+ */
14
+ export declare const CloseButton: {
15
+ ({ size, variant, onClick, className, ref, ...props }: CloseButtonProps): import("react").JSX.Element;
16
+ displayName: string;
17
+ };
18
+ export {};
19
+ //# sourceMappingURL=CloseButton.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ClearButton.d.ts","sourceRoot":"","sources":["../../../../src/components/action/ClearButton/ClearButton.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAO,MAAM,0BAA0B,CAAC;AAE7D,QAAA,MAAM,cAAc;;;;8EAmCnB,CAAC;AAoBF,KAAK,mBAAmB,GAAG,YAAY,CAAC,OAAO,cAAc,CAAC,CAAC;AAE/D,MAAM,MAAM,gBAAgB,GAAG,KAAK,CAAC,cAAc,CAAC,QAAQ,CAAC,GAAG,mBAAmB,CAAC;AAEpF;;;;GAIG;AACH,eAAO,MAAM,WAAW;2DAOrB,gBAAgB;;CAgBlB,CAAC"}
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;;;;8EAmCnB,CAAC;AAoBF,KAAK,mBAAmB,GAAG,YAAY,CAAC,OAAO,cAAc,CAAC,CAAC;AAE/D,MAAM,MAAM,gBAAgB,GAAG,KAAK,CAAC,cAAc,CAAC,QAAQ,CAAC,GAAG,mBAAmB,CAAC;AAEpF;;;;GAIG;AACH,eAAO,MAAM,WAAW;2DAOrB,gBAAgB;;CAgBlB,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=CloseButton.figma.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CloseButton.figma.d.ts","sourceRoot":"","sources":["../../../../src/components/action/CloseButton/CloseButton.figma.tsx"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export * from "./CloseButton";
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/action/CloseButton/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC"}
@@ -4,7 +4,7 @@ export * from "./action/BlogSocialButton";
4
4
  export * from "./action/Button";
5
5
  export * from "./action/ButtonCluster";
6
6
  export * from "./action/CircularButton";
7
- export * from "./action/ClearButton";
7
+ export * from "./action/CloseButton";
8
8
  export * from "./action/FieldClearButton";
9
9
  export * from "./action/FilterPullDownButton";
10
10
  export * from "./action/FilterTag";
@@ -1,6 +1,6 @@
1
1
  import { ButtonProps } from "../../action/Button";
2
2
  export type PanelHeaderTrailingProps = {
3
- type: "button" | "pullDownButton" | "clearButton";
3
+ type: "button" | "pullDownButton" | "closeButton";
4
4
  children?: React.ReactNode;
5
5
  className?: string;
6
6
  onClick?: () => void;