@photoroom/ui 0.1.772 → 0.1.774
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/TabNavigation/TabNavigationItem.d.ts +3 -1
- package/components/navigation/TabNavigation/TabNavigationItem.d.ts.map +1 -1
- package/components/website/HeaderBanner/HeaderBanner.d.ts +2 -3
- package/components/website/HeaderBanner/HeaderBanner.d.ts.map +1 -1
- package/components/website/PromoBannerBlock/PromoBannerBlock.d.ts +1 -3
- package/components/website/PromoBannerBlock/PromoBannerBlock.d.ts.map +1 -1
- package/index.css +1 -1
- package/index.mjs +57 -54
- package/package.json +1 -1
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
export type TabNavigationItemProps = Readonly<{
|
|
2
2
|
value: string;
|
|
3
3
|
children: React.ReactNode;
|
|
4
|
+
/** Introduces a new tab. Prism restricts the wording to "New" and "Beta". */
|
|
5
|
+
badge?: string;
|
|
4
6
|
className?: string;
|
|
5
7
|
}> & React.RefAttributes<HTMLButtonElement>;
|
|
6
|
-
export declare function TabNavigationItem({ value, children, className, ref, ...rest }: TabNavigationItemProps): import("react").JSX.Element;
|
|
8
|
+
export declare function TabNavigationItem({ value, children, badge, className, ref, ...rest }: TabNavigationItemProps): import("react").JSX.Element;
|
|
7
9
|
export declare namespace TabNavigationItem {
|
|
8
10
|
var displayName: string;
|
|
9
11
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TabNavigationItem.d.ts","sourceRoot":"","sources":["../../../../src/components/navigation/TabNavigation/TabNavigationItem.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"TabNavigationItem.d.ts","sourceRoot":"","sources":["../../../../src/components/navigation/TabNavigation/TabNavigationItem.tsx"],"names":[],"mappings":"AAMA,MAAM,MAAM,sBAAsB,GAAG,QAAQ,CAAC;IAC5C,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,6EAA6E;IAC7E,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC,GACA,KAAK,CAAC,aAAa,CAAC,iBAAiB,CAAC,CAAC;0CAEP,EAChC,KAAK,EACL,QAAQ,EACR,KAAK,EACL,SAAS,EACT,GAAG,EACH,GAAG,IAAI,EACR,EAAE,sBAAsB"}
|
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
import { type CloseButtonProps } from "../../action/CloseButton";
|
|
2
2
|
export type HeaderBannerProps = Readonly<{
|
|
3
|
-
variant: "
|
|
3
|
+
variant: "dark" | "neutral";
|
|
4
4
|
className?: string;
|
|
5
|
-
cssBackgroundColor?: string;
|
|
6
5
|
children: React.ReactNode;
|
|
7
6
|
isHiddenSessionKey?: string;
|
|
8
7
|
closeLabel?: string;
|
|
9
8
|
closeButtonVariant?: CloseButtonProps["variant"];
|
|
10
9
|
forceShow?: boolean;
|
|
11
10
|
}>;
|
|
12
|
-
export declare const HeaderBanner: ({ variant, className,
|
|
11
|
+
export declare const HeaderBanner: ({ variant, className, children, isHiddenSessionKey, closeLabel, closeButtonVariant, forceShow, ...rest }: HeaderBannerProps) => import("react").JSX.Element | null;
|
|
13
12
|
//# sourceMappingURL=HeaderBanner.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"HeaderBanner.d.ts","sourceRoot":"","sources":["../../../../src/components/website/HeaderBanner/HeaderBanner.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAe,KAAK,gBAAgB,EAAE,MAAM,0BAA0B,CAAC;AAE9E,MAAM,MAAM,iBAAiB,GAAG,QAAQ,CAAC;IACvC,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"HeaderBanner.d.ts","sourceRoot":"","sources":["../../../../src/components/website/HeaderBanner/HeaderBanner.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAe,KAAK,gBAAgB,EAAE,MAAM,0BAA0B,CAAC;AAE9E,MAAM,MAAM,iBAAiB,GAAG,QAAQ,CAAC;IACvC,OAAO,EAAE,MAAM,GAAG,SAAS,CAAC;IAC5B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,kBAAkB,CAAC,EAAE,gBAAgB,CAAC,SAAS,CAAC,CAAC;IACjD,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB,CAAC,CAAC;AAKH,eAAO,MAAM,YAAY,6GAStB,iBAAiB,uCA6EnB,CAAC"}
|
|
@@ -6,13 +6,11 @@ export type PromoBannerBlockCta = Readonly<{
|
|
|
6
6
|
export type PromoBannerBlockProps = Readonly<{
|
|
7
7
|
contextLabel?: string;
|
|
8
8
|
closeAriaLabel?: string;
|
|
9
|
-
cssBackgroundColor?: string;
|
|
10
|
-
thumbnail?: React.ReactNode;
|
|
11
9
|
cta?: PromoBannerBlockCta;
|
|
12
10
|
linkAs?: React.ElementType;
|
|
13
11
|
description: React.ReactNode;
|
|
14
12
|
forceShow?: boolean;
|
|
15
13
|
}>;
|
|
16
14
|
export declare const PROMO_BANNER_SESSION_KEY = "is-promo-banner-hidden";
|
|
17
|
-
export declare const PromoBannerBlock: ({ contextLabel, closeAriaLabel,
|
|
15
|
+
export declare const PromoBannerBlock: ({ contextLabel, closeAriaLabel, cta, linkAs, description, forceShow, ...rest }: PromoBannerBlockProps) => import("react").JSX.Element;
|
|
18
16
|
//# sourceMappingURL=PromoBannerBlock.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PromoBannerBlock.d.ts","sourceRoot":"","sources":["../../../../src/components/website/PromoBannerBlock/PromoBannerBlock.tsx"],"names":[],"mappings":"AAGA,MAAM,MAAM,mBAAmB,GAAG,QAAQ,CAAC;IACzC,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,UAAU,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,CAAC;CAC/C,CAAC,CAAC;AAEH,MAAM,MAAM,qBAAqB,GAAG,QAAQ,CAAC;IAC3C,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,
|
|
1
|
+
{"version":3,"file":"PromoBannerBlock.d.ts","sourceRoot":"","sources":["../../../../src/components/website/PromoBannerBlock/PromoBannerBlock.tsx"],"names":[],"mappings":"AAGA,MAAM,MAAM,mBAAmB,GAAG,QAAQ,CAAC;IACzC,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,UAAU,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,CAAC;CAC/C,CAAC,CAAC;AAEH,MAAM,MAAM,qBAAqB,GAAG,QAAQ,CAAC;IAC3C,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,GAAG,CAAC,EAAE,mBAAmB,CAAC;IAC1B,MAAM,CAAC,EAAE,KAAK,CAAC,WAAW,CAAC;IAC3B,WAAW,EAAE,KAAK,CAAC,SAAS,CAAC;IAC7B,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB,CAAC,CAAC;AAEH,eAAO,MAAM,wBAAwB,2BAA2B,CAAC;AAEjE,eAAO,MAAM,gBAAgB,mFAQ1B,qBAAqB,gCAkCvB,CAAC"}
|