@photoroom/ui 0.1.554 → 0.1.556
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/ToggleButton/ToggleButton.d.ts +1 -2
- package/components/action/ToggleButton/ToggleButton.d.ts.map +1 -1
- package/components/dropdown/DropdownMenuNumberItem/DropdownMenuNumberItem.d.ts +2 -2
- package/components/dropdown/DropdownMenuNumberItem/DropdownMenuNumberItem.d.ts.map +1 -1
- package/components/editor/ObjectItem/ObjectItem.d.ts.map +1 -1
- package/components/unsorted/NumberSelectField/NumberSelectFieldList.d.ts.map +1 -1
- package/index.css +1 -1
- package/index.mjs +19 -27
- package/package.json +1 -1
|
@@ -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,7 +1,7 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { ComponentProps } from "react";
|
|
2
2
|
export type DropdownMenuNumberItemProps = {
|
|
3
3
|
selected?: boolean;
|
|
4
|
-
} & Omit<
|
|
4
|
+
} & Omit<ComponentProps<"button">, "type" | "aria-current">;
|
|
5
5
|
export declare const DropdownMenuNumberItem: {
|
|
6
6
|
({ selected, className, children, ...rest }: DropdownMenuNumberItemProps): import("react").JSX.Element;
|
|
7
7
|
displayName: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DropdownMenuNumberItem.d.ts","sourceRoot":"","sources":["../../../../src/components/dropdown/DropdownMenuNumberItem/DropdownMenuNumberItem.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"DropdownMenuNumberItem.d.ts","sourceRoot":"","sources":["../../../../src/components/dropdown/DropdownMenuNumberItem/DropdownMenuNumberItem.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAIvC,MAAM,MAAM,2BAA2B,GAAG;IACxC,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,GAAG,IAAI,CAAC,cAAc,CAAC,QAAQ,CAAC,EAAE,MAAM,GAAG,cAAc,CAAC,CAAC;AAE5D,eAAO,MAAM,sBAAsB;iDAKhC,2BAA2B;;CAoB7B,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/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;;CAwFjB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NumberSelectFieldList.d.ts","sourceRoot":"","sources":["../../../../src/components/unsorted/NumberSelectField/NumberSelectFieldList.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"NumberSelectFieldList.d.ts","sourceRoot":"","sources":["../../../../src/components/unsorted/NumberSelectField/NumberSelectFieldList.tsx"],"names":[],"mappings":"AAIA,KAAK,0BAA0B,GAAG;IAChC,MAAM,EAAE,MAAM,EAAE,CAAC;IACjB,aAAa,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;CACnC,CAAC;AAEF,eAAO,MAAM,qBAAqB,GAAI,sCAInC,0BAA0B,gCA6B5B,CAAC"}
|