@liner-fe/prism 2.3.10 → 2.3.12
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/lib/illust.d.ts +2 -2
- package/lib/index.d.ts +4 -2
- package/lib/index.js +2 -0
- package/lib/index.js.map +1 -1
- package/lib/static/illust/dark/mini-not-search.webp +0 -0
- package/lib/static/illust/dark/spot-search.webp +0 -0
- package/lib/static/illust/light/mini-not-search.webp +0 -0
- package/lib/static/illust/light/spot-search.webp +0 -0
- package/package.json +2 -2
package/lib/illust.d.ts
CHANGED
|
@@ -2,8 +2,8 @@ import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
|
2
2
|
import { ImageProps } from 'next/image';
|
|
3
3
|
import { Property } from 'csstype';
|
|
4
4
|
|
|
5
|
-
type LightIllustType = "hero-gift" | "hero-search" | "mini-documents-2" | "mini-documents-3" | "mini-documents-4" | "mini-documents-5" | "mini-documents" | "mini-egg" | "mini-gift" | "mini-graduation_hat" | "mini-search" | "mini-ticket" | "mini-window" | "spot-catch_star" | "spot-clap" | "spot-empty" | "spot-no_search" | "spot-search-2" | "spot-search-3" | "spot-search-4" | "spot-search-5" | "spot-search" | "spot-write";
|
|
6
|
-
type DarkIllustType = "hero-gift" | "hero-search" | "mini-documents-2" | "mini-documents-3" | "mini-documents-4" | "mini-documents-5" | "mini-documents" | "mini-egg" | "mini-gift" | "mini-graduation_hat" | "mini-search" | "mini-ticket" | "mini-window" | "spot-catch_star" | "spot-clap" | "spot-empty" | "spot-no_search" | "spot-search-2" | "spot-search-3" | "spot-search-4" | "spot-search-5" | "spot-search" | "spot-write";
|
|
5
|
+
type LightIllustType = "hero-gift" | "hero-search" | "mini-documents-2" | "mini-documents-3" | "mini-documents-4" | "mini-documents-5" | "mini-documents" | "mini-egg" | "mini-gift" | "mini-graduation_hat" | "mini-not-search" | "mini-search" | "mini-ticket" | "mini-window" | "spot-catch_star" | "spot-clap" | "spot-empty" | "spot-no_search" | "spot-search-2" | "spot-search-3" | "spot-search-4" | "spot-search-5" | "spot-search" | "spot-write";
|
|
6
|
+
type DarkIllustType = "hero-gift" | "hero-search" | "mini-documents-2" | "mini-documents-3" | "mini-documents-4" | "mini-documents-5" | "mini-documents" | "mini-egg" | "mini-gift" | "mini-graduation_hat" | "mini-not-search" | "mini-search" | "mini-ticket" | "mini-window" | "spot-catch_star" | "spot-clap" | "spot-empty" | "spot-no_search" | "spot-search-2" | "spot-search-3" | "spot-search-4" | "spot-search-5" | "spot-search" | "spot-write";
|
|
7
7
|
type IllustType = DarkIllustType | LightIllustType;
|
|
8
8
|
|
|
9
9
|
interface Source<T extends false | true = true> {
|
package/lib/index.d.ts
CHANGED
|
@@ -6,7 +6,7 @@ import { VariantProps } from 'cva';
|
|
|
6
6
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
7
7
|
import { ToastProps } from '@radix-ui/react-toast';
|
|
8
8
|
import * as _artsy_fresnel_dist_Media from '@artsy/fresnel/dist/Media';
|
|
9
|
-
import { TypographyCaptionPrefix, TypographyParagraphPrefix, TypographyHeadingPrefix, TypographyTitlePrefix } from '@liner-fe/design-token-primitive';
|
|
9
|
+
import { TypographyCaptionPrefix, TypographyParagraphPrefix, TypographyHeadingPrefix, TypographyTitlePrefix, TypographyDisplayPrefix } from '@liner-fe/design-token-primitive';
|
|
10
10
|
import { Popover as Popover$1, Tooltip as Tooltip$1, Checkbox as Checkbox$1, RadioGroup, Slider as Slider$1, Select as Select$1, Label as Label$1 } from 'radix-ui';
|
|
11
11
|
|
|
12
12
|
interface IconComponentProps {
|
|
@@ -229,7 +229,9 @@ type TypoSet<T extends string | react__default.ReactNode = string> = ({
|
|
|
229
229
|
[KEY]: TypographyHeadingPrefix;
|
|
230
230
|
} & OmitChildren<IHeadingProps, T>) | ({
|
|
231
231
|
[KEY]: TypographyTitlePrefix;
|
|
232
|
-
} & OmitChildren<ITitleProps, T>)
|
|
232
|
+
} & OmitChildren<ITitleProps, T>) | ({
|
|
233
|
+
[KEY]: TypographyDisplayPrefix;
|
|
234
|
+
} & OmitChildren<IDisplayProps, T>);
|
|
233
235
|
|
|
234
236
|
type TypographyType = (props: Partial<Record<BreakPointsKey, TypoSet>> & {
|
|
235
237
|
children?: react__default.ReactNode;
|
package/lib/index.js
CHANGED
|
@@ -10907,6 +10907,8 @@ var TypographyImpl = /* @__PURE__ */ __name(({ level, text, ...rest }) => {
|
|
|
10907
10907
|
return /* @__PURE__ */ (0, import_jsx_runtime188.jsx)(Paragraph, { ...commonProps });
|
|
10908
10908
|
case "title":
|
|
10909
10909
|
return /* @__PURE__ */ (0, import_jsx_runtime188.jsx)(Title2, { ...commonProps });
|
|
10910
|
+
case "display":
|
|
10911
|
+
return /* @__PURE__ */ (0, import_jsx_runtime188.jsx)(Display, { ...commonProps });
|
|
10910
10912
|
default:
|
|
10911
10913
|
return null;
|
|
10912
10914
|
}
|