@photoroom/ui 0.1.137 → 0.1.139
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/Tabs/Tabs.d.ts +8 -1
- package/components/navigation/Tabs/Tabs.d.ts.map +1 -1
- package/components/navigation/TagNavigation/TagNavigation.d.ts +11 -1
- package/components/navigation/TagNavigation/TagNavigation.d.ts.map +1 -1
- package/index.css +1 -1
- package/index.mjs +5411 -5318
- package/package.json +2 -2
|
@@ -1,7 +1,14 @@
|
|
|
1
1
|
import { TabsItem } from "./TabsItem";
|
|
2
|
+
/**
|
|
3
|
+
* Tokens valid for the scroll-mode fade gradient. Adding a new token here
|
|
4
|
+
* requires Tailwind to see the literal `from-…` class string in the lookup
|
|
5
|
+
* map below — a template-literal `from-${value}` is invisible to the JIT
|
|
6
|
+
* scan and would silently produce no gradient.
|
|
7
|
+
*/
|
|
8
|
+
export type TabsGradientColor = "surface-default" | "surface-high" | "surface-higher";
|
|
2
9
|
export type TabsProps = Readonly<{
|
|
3
10
|
overflow?: "wrap" | "scroll";
|
|
4
|
-
bgGradientColor?:
|
|
11
|
+
bgGradientColor?: TabsGradientColor;
|
|
5
12
|
}> & React.ComponentProps<"div">;
|
|
6
13
|
export declare const Tabs: React.FC<TabsProps> & {
|
|
7
14
|
Item: typeof TabsItem;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Tabs.d.ts","sourceRoot":"","sources":["../../../../src/components/navigation/Tabs/Tabs.tsx"],"names":[],"mappings":"AAMA,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAEtC,MAAM,MAAM,SAAS,GAAG,QAAQ,CAAC;IAC/B,QAAQ,CAAC,EAAE,MAAM,GAAG,QAAQ,CAAC;IAC7B,eAAe,CAAC,EAAE,
|
|
1
|
+
{"version":3,"file":"Tabs.d.ts","sourceRoot":"","sources":["../../../../src/components/navigation/Tabs/Tabs.tsx"],"names":[],"mappings":"AAMA,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAEtC;;;;;GAKG;AACH,MAAM,MAAM,iBAAiB,GAAG,iBAAiB,GAAG,cAAc,GAAG,gBAAgB,CAAC;AAQtF,MAAM,MAAM,SAAS,GAAG,QAAQ,CAAC;IAC/B,QAAQ,CAAC,EAAE,MAAM,GAAG,QAAQ,CAAC;IAC7B,eAAe,CAAC,EAAE,iBAAiB,CAAC;CACrC,CAAC,GACA,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,CAAC;AAE9B,eAAO,MAAM,IAAI,EAAE,KAAK,CAAC,EAAE,CAAC,SAAS,CAAC,GAAG;IACvC,IAAI,EAAE,OAAO,QAAQ,CAAC;CA4FvB,CAAC"}
|
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
import { TagNavigationItem } from "./TagNavigationItem";
|
|
2
|
-
|
|
2
|
+
/**
|
|
3
|
+
* Tokens valid for the scroll-mode fade gradient. Adding a new token here
|
|
4
|
+
* requires Tailwind to see the literal `from-…` class string in the lookup
|
|
5
|
+
* map below — a template-literal `from-${value}` is invisible to the JIT
|
|
6
|
+
* scan and would silently produce no gradient.
|
|
7
|
+
*/
|
|
8
|
+
export type TagNavigationGradientColor = "surface-default" | "surface-high" | "surface-higher";
|
|
9
|
+
export type TagNavigationProps = Readonly<{
|
|
10
|
+
overflow?: "wrap" | "scroll";
|
|
11
|
+
bgGradientColor?: TagNavigationGradientColor;
|
|
12
|
+
}> & React.ComponentProps<"div">;
|
|
3
13
|
export declare const TagNavigation: React.FC<TagNavigationProps> & {
|
|
4
14
|
Item: typeof TagNavigationItem;
|
|
5
15
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TagNavigation.d.ts","sourceRoot":"","sources":["../../../../src/components/navigation/TagNavigation/TagNavigation.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"TagNavigation.d.ts","sourceRoot":"","sources":["../../../../src/components/navigation/TagNavigation/TagNavigation.tsx"],"names":[],"mappings":"AAOA,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAExD;;;;;GAKG;AACH,MAAM,MAAM,0BAA0B,GAAG,iBAAiB,GAAG,cAAc,GAAG,gBAAgB,CAAC;AAQ/F,MAAM,MAAM,kBAAkB,GAAG,QAAQ,CAAC;IACxC,QAAQ,CAAC,EAAE,MAAM,GAAG,QAAQ,CAAC;IAC7B,eAAe,CAAC,EAAE,0BAA0B,CAAC;CAC9C,CAAC,GACA,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,CAAC;AAE9B,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,kBAAkB,CAAC,GAAG;IACzD,IAAI,EAAE,OAAO,iBAAiB,CAAC;CAkHhC,CAAC"}
|