@photoroom/ui 0.1.512 → 0.1.514
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/navigation/PlanPicker/index.d.ts +1 -0
- package/components/navigation/PlanPicker/index.d.ts.map +1 -1
- package/components/navigation/PlanPicker/planColors.d.ts +24 -0
- package/components/navigation/PlanPicker/planColors.d.ts.map +1 -0
- package/components/website/BrandListRow/BrandListRow.d.ts +2 -1
- package/components/website/BrandListRow/BrandListRow.d.ts.map +1 -1
- package/index.mjs +10862 -10840
- package/package.json +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/navigation/PlanPicker/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/navigation/PlanPicker/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,cAAc,cAAc,CAAC"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Plan brand colors for {@link PlanPicker}. Raw hex rather than semantic tokens on purpose: these
|
|
3
|
+
* are permanently-branded fills that must not follow the theme, and the component pairs them with
|
|
4
|
+
* `text-content-white-primary` to hold contrast in both light and dark.
|
|
5
|
+
*
|
|
6
|
+
* Keyed and named after the props they feed, so a caller cannot pair a plan's surface with another
|
|
7
|
+
* plan's pill.
|
|
8
|
+
*/
|
|
9
|
+
export declare const PLAN_COLORS: {
|
|
10
|
+
readonly pro: {
|
|
11
|
+
readonly bgColor: "#8574CE";
|
|
12
|
+
readonly activePillColor: "#47369D";
|
|
13
|
+
};
|
|
14
|
+
readonly business: {
|
|
15
|
+
readonly bgColor: "#4778C0";
|
|
16
|
+
readonly activePillColor: "#0A1834";
|
|
17
|
+
};
|
|
18
|
+
readonly ultra: {
|
|
19
|
+
readonly bgColor: "#56585B";
|
|
20
|
+
readonly activePillColor: "#141414";
|
|
21
|
+
};
|
|
22
|
+
};
|
|
23
|
+
export type PlanColorName = keyof typeof PLAN_COLORS;
|
|
24
|
+
//# sourceMappingURL=planColors.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"planColors.d.ts","sourceRoot":"","sources":["../../../../src/components/navigation/PlanPicker/planColors.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AACH,eAAO,MAAM,WAAW;;;;;;;;;;;;;CAId,CAAC;AAEX,MAAM,MAAM,aAAa,GAAG,MAAM,OAAO,WAAW,CAAC"}
|
|
@@ -7,13 +7,14 @@ export type BrandListRowProps = Omit<React.ComponentProps<"div">, "children"> &
|
|
|
7
7
|
linkComponent?: React.ElementType;
|
|
8
8
|
name: string;
|
|
9
9
|
brandDomain?: BrandDomain;
|
|
10
|
+
onBrandDomainClick?: React.MouseEventHandler<HTMLAnchorElement>;
|
|
10
11
|
category?: string;
|
|
11
12
|
preview?: React.ReactNode;
|
|
12
13
|
detailsLabel: string;
|
|
13
14
|
}>;
|
|
14
15
|
export type BrandListItem = Pick<BrandListRowProps, "href" | "name" | "brandDomain" | "category" | "preview">;
|
|
15
16
|
export declare const BrandListRow: {
|
|
16
|
-
({ href, linkComponent, name, brandDomain, category, preview, detailsLabel, className, ...rest }: BrandListRowProps): import("react").JSX.Element;
|
|
17
|
+
({ href, linkComponent, name, brandDomain, onBrandDomainClick, category, preview, detailsLabel, className, ...rest }: BrandListRowProps): import("react").JSX.Element;
|
|
17
18
|
displayName: string;
|
|
18
19
|
};
|
|
19
20
|
//# sourceMappingURL=BrandListRow.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BrandListRow.d.ts","sourceRoot":"","sources":["../../../../src/components/website/BrandListRow/BrandListRow.tsx"],"names":[],"mappings":"AAQA,MAAM,MAAM,WAAW,GAAG,QAAQ,CAAC;IACjC,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAA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