@photoroom/ui 0.1.553 → 0.1.555
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.
- package/components/action/PullDownButton/PullDownButton.d.ts +0 -1
- package/components/action/PullDownButton/PullDownButton.d.ts.map +1 -1
- package/components/action/PullDownButton/utils.d.ts +0 -6
- package/components/action/PullDownButton/utils.d.ts.map +1 -1
- package/components/action/ToggleButton/ToggleButton.d.ts +1 -2
- package/components/action/ToggleButton/ToggleButton.d.ts.map +1 -1
- package/components/editor/ObjectItem/ObjectItem.d.ts.map +1 -1
- package/index.css +1 -1
- package/index.mjs +6294 -6324
- package/package.json +1 -1
|
@@ -3,7 +3,6 @@ import { PolymorphicComponent } from "../../polymorphic";
|
|
|
3
3
|
import { buttonVariants } from "../Button/utils";
|
|
4
4
|
export type PullDownButtonProps = {
|
|
5
5
|
variant?: Extract<VariantProps<typeof buttonVariants>["variant"], "accent" | "secondary">;
|
|
6
|
-
label?: string;
|
|
7
6
|
badge?: React.ReactNode;
|
|
8
7
|
children?: React.ReactNode;
|
|
9
8
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PullDownButton.d.ts","sourceRoot":"","sources":["../../../../src/components/action/PullDownButton/PullDownButton.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAIxD,OAAO,EAAE,oBAAoB,EAAoB,MAAM,mBAAmB,CAAC;AAC3E,OAAO,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;
|
|
1
|
+
{"version":3,"file":"PullDownButton.d.ts","sourceRoot":"","sources":["../../../../src/components/action/PullDownButton/PullDownButton.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAIxD,OAAO,EAAE,oBAAoB,EAAoB,MAAM,mBAAmB,CAAC;AAC3E,OAAO,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAIjD,MAAM,MAAM,mBAAmB,GAAG;IAChC,OAAO,CAAC,EAAE,OAAO,CAAC,YAAY,CAAC,OAAO,cAAc,CAAC,CAAC,SAAS,CAAC,EAAE,QAAQ,GAAG,WAAW,CAAC,CAAC;IAC1F,KAAK,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACxB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC5B,CAAC;AAgBF,eAAO,MAAM,cAAc,EA8BrB,oBAAoB,CAAC,QAAQ,EAAE,mBAAmB,CAAC,CAAC"}
|
|
@@ -1,9 +1,3 @@
|
|
|
1
|
-
export declare const pullDownButtonVariants: (props?: ({
|
|
2
|
-
withLabel?: boolean | null | undefined;
|
|
3
|
-
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
4
|
-
export declare const pullDownButtonActionVariants: (props?: ({
|
|
5
|
-
variant?: "accent" | "secondary" | null | undefined;
|
|
6
|
-
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
7
1
|
export declare const pullDownButtonLabelVariants: (props?: ({
|
|
8
2
|
variant?: "accent" | "secondary" | null | undefined;
|
|
9
3
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../src/components/action/PullDownButton/utils.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,
|
|
1
|
+
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../src/components/action/PullDownButton/utils.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,2BAA2B;;8EAUvC,CAAC"}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import * as Switch from "@radix-ui/react-switch";
|
|
2
2
|
type ToggleButtonIconType = React.ComponentType<React.ComponentPropsWithoutRef<"svg">> | React.ReactNode;
|
|
3
3
|
export type ToggleButtonProps = Omit<Switch.SwitchProps, "children"> & Readonly<{
|
|
4
|
-
variant?: "secondary" | "borderless" | "borderless-subtle";
|
|
5
4
|
icons: {
|
|
6
5
|
active: ToggleButtonIconType;
|
|
7
6
|
inactive: ToggleButtonIconType;
|
|
@@ -12,7 +11,7 @@ export type ToggleButtonProps = Omit<Switch.SwitchProps, "children"> & Readonly<
|
|
|
12
11
|
};
|
|
13
12
|
}> & React.RefAttributes<HTMLButtonElement>;
|
|
14
13
|
export declare const ToggleButton: {
|
|
15
|
-
({
|
|
14
|
+
({ icons, labels, className, ref, ...props }: ToggleButtonProps): import("react").JSX.Element;
|
|
16
15
|
displayName: string;
|
|
17
16
|
};
|
|
18
17
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ToggleButton.d.ts","sourceRoot":"","sources":["../../../../src/components/action/ToggleButton/ToggleButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,wBAAwB,CAAC;AAKjD,KAAK,oBAAoB,GACrB,KAAK,CAAC,aAAa,CAAC,KAAK,CAAC,wBAAwB,CAAC,KAAK,CAAC,CAAC,GAC1D,KAAK,CAAC,SAAS,CAAC;AAEpB,MAAM,MAAM,iBAAiB,GAAG,IAAI,CAAC,MAAM,CAAC,WAAW,EAAE,UAAU,CAAC,GAClE,QAAQ,CAAC;IACP,
|
|
1
|
+
{"version":3,"file":"ToggleButton.d.ts","sourceRoot":"","sources":["../../../../src/components/action/ToggleButton/ToggleButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,wBAAwB,CAAC;AAKjD,KAAK,oBAAoB,GACrB,KAAK,CAAC,aAAa,CAAC,KAAK,CAAC,wBAAwB,CAAC,KAAK,CAAC,CAAC,GAC1D,KAAK,CAAC,SAAS,CAAC;AAEpB,MAAM,MAAM,iBAAiB,GAAG,IAAI,CAAC,MAAM,CAAC,WAAW,EAAE,UAAU,CAAC,GAClE,QAAQ,CAAC;IACP,KAAK,EAAE;QACL,MAAM,EAAE,oBAAoB,CAAC;QAC7B,QAAQ,EAAE,oBAAoB,CAAC;KAChC,CAAC;IACF,MAAM,CAAC,EAAE;QACP,MAAM,EAAE,KAAK,CAAC,SAAS,CAAC;QACxB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;KAC3B,CAAC;CACH,CAAC,GACF,KAAK,CAAC,aAAa,CAAC,iBAAiB,CAAC,CAAC;AAEzC,eAAO,MAAM,YAAY;kDAAiD,iBAAiB;;CAqC1F,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ObjectItem.d.ts","sourceRoot":"","sources":["../../../../src/components/editor/ObjectItem/ObjectItem.tsx"],"names":[],"mappings":"AAQA,MAAM,MAAM,eAAe,GAAG;IAC5B,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,EAAE,MAAM,GAAG,KAAK,CAAC,GAAG,CAAC,OAAO,CAAC;IACtC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,gBAAgB,CAAC,EAAE,CAAC,QAAQ,EAAE,OAAO,KAAK,IAAI,CAAC;IAC/C,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,qBAAqB,CAAC,EAAE,OAAO,CAAC;IAChC,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,eAAe,CAAC,EAAE,KAAK,CAAC,cAAc,CAAC,MAAM,CAAC,CAAC;IAC/C,WAAW,CAAC,EAAE,KAAK,CAAC,cAAc,CAAC,QAAQ,CAAC,CAAC;IAC7C,eAAe,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CACnC,GAAG,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,IAAI,CAAC,EAAE,UAAU,CAAC,CAAC;AAEjD,eAAO,MAAM,UAAU;8PAiBpB,eAAe;;
|
|
1
|
+
{"version":3,"file":"ObjectItem.d.ts","sourceRoot":"","sources":["../../../../src/components/editor/Object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