@liner-fe/prism 2.6.18 → 2.6.20
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/illust.js +2 -1
- package/lib/index.css +2 -68
- package/lib/index.d.ts +2 -2
- package/lib/index.js +37 -63
- package/package.json +1 -1
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
|
-
declare const illustNames: readonly ["hero-gift", "hero-search", "mini-approve", "mini-documents-2", "mini-documents-3", "mini-documents-4", "mini-documents-5", "mini-documents", "mini-egg", "mini-empty-message", "mini-empty", "mini-gift", "mini-graduation_hat", "mini-not-search", "mini-not-ticket-2", "mini-private", "mini-search", "mini-ticket", "mini-window", "spot-catch_star", "spot-clap", "spot-empty", "spot-gift", "spot-no_search", "spot-search-2", "spot-search-3", "spot-search-4", "spot-search-5", "spot-search", "spot-sign_up", "spot-team", "spot-write"];
|
|
6
|
-
declare const darkIllustNames: readonly ["hero-gift", "hero-search", "mini-approve", "mini-documents-2", "mini-documents-3", "mini-documents-4", "mini-documents-5", "mini-documents", "mini-egg", "mini-empty-message", "mini-empty", "mini-gift", "mini-graduation_hat", "mini-not-search", "mini-not-ticket-2", "mini-private", "mini-search", "mini-ticket", "mini-window", "spot-catch_star", "spot-clap", "spot-empty", "spot-gift", "spot-no_search", "spot-search-2", "spot-search-3", "spot-search-4", "spot-search-5", "spot-search", "spot-sign_up", "spot-team", "spot-write"];
|
|
5
|
+
declare const illustNames: readonly ["hero-gift", "hero-search", "mini-approve", "mini-documents-2", "mini-documents-3", "mini-documents-4", "mini-documents-5", "mini-documents", "mini-egg", "mini-empty-message", "mini-empty", "mini-gift", "mini-graduation_hat", "mini-not-search", "mini-not-ticket-2", "mini-private", "mini-search", "mini-ticket", "mini-ticket-3", "mini-window", "spot-catch_star", "spot-clap", "spot-empty", "spot-gift", "spot-no_search", "spot-search-2", "spot-search-3", "spot-search-4", "spot-search-5", "spot-search", "spot-sign_up", "spot-team", "spot-write"];
|
|
6
|
+
declare const darkIllustNames: readonly ["hero-gift", "hero-search", "mini-approve", "mini-documents-2", "mini-documents-3", "mini-documents-4", "mini-documents-5", "mini-documents", "mini-egg", "mini-empty-message", "mini-empty", "mini-gift", "mini-graduation_hat", "mini-not-search", "mini-not-ticket-2", "mini-private", "mini-search", "mini-ticket", "mini-ticket-3", "mini-window", "spot-catch_star", "spot-clap", "spot-empty", "spot-gift", "spot-no_search", "spot-search-2", "spot-search-3", "spot-search-4", "spot-search-5", "spot-search", "spot-sign_up", "spot-team", "spot-write"];
|
|
7
7
|
|
|
8
8
|
type LightIllustType = (typeof illustNames)[number];
|
|
9
9
|
type DarkIllustType = (typeof darkIllustNames)[number];
|
package/lib/illust.js
CHANGED
|
@@ -119,7 +119,8 @@ var Illust = /* @__PURE__ */ __name((props) => {
|
|
|
119
119
|
alt: currentSourceByColorTheme,
|
|
120
120
|
src: source,
|
|
121
121
|
width,
|
|
122
|
-
height: aspectRatio ? width / aspectRatio : width
|
|
122
|
+
height: aspectRatio ? width / aspectRatio : width,
|
|
123
|
+
unoptimized: true
|
|
123
124
|
}
|
|
124
125
|
) });
|
|
125
126
|
}, "Illust");
|
package/lib/index.css
CHANGED
|
@@ -706,80 +706,14 @@
|
|
|
706
706
|
}
|
|
707
707
|
|
|
708
708
|
/* esbuild-sass-plugin:css-chunk:src/components/Typography/Set/style.module.scss */
|
|
709
|
-
.
|
|
709
|
+
._caption_2vn3a_1 {
|
|
710
710
|
display: block;
|
|
711
711
|
text-align: start;
|
|
712
712
|
}
|
|
713
|
-
.
|
|
713
|
+
._typography_2vn3a_6 {
|
|
714
714
|
white-space: pre-wrap;
|
|
715
715
|
margin: 0;
|
|
716
716
|
}
|
|
717
|
-
._neutral-label-primary_1valw_11 {
|
|
718
|
-
color: var(--neutral-label-primary);
|
|
719
|
-
}
|
|
720
|
-
._neutral-label-secondary_1valw_15 {
|
|
721
|
-
color: var(--neutral-label-secondary);
|
|
722
|
-
}
|
|
723
|
-
._neutral-label-tertiary_1valw_19 {
|
|
724
|
-
color: var(--neutral-label-tertiary);
|
|
725
|
-
}
|
|
726
|
-
._neutral-label-quaternary_1valw_23 {
|
|
727
|
-
color: var(--neutral-label-quaternary);
|
|
728
|
-
}
|
|
729
|
-
._neutral-label-static-primary_1valw_27 {
|
|
730
|
-
color: var(--neutral-label-static-primary);
|
|
731
|
-
}
|
|
732
|
-
._neutral-label-static-secondary_1valw_31 {
|
|
733
|
-
color: var(--neutral-label-static-secondary);
|
|
734
|
-
}
|
|
735
|
-
._inverse-label-primary_1valw_35 {
|
|
736
|
-
color: var(--inverse-label-primary);
|
|
737
|
-
}
|
|
738
|
-
._inverse-label-secondary_1valw_39 {
|
|
739
|
-
color: var(--inverse-label-secondary);
|
|
740
|
-
}
|
|
741
|
-
._inverse-label-tertiary_1valw_43 {
|
|
742
|
-
color: var(--inverse-label-tertiary);
|
|
743
|
-
}
|
|
744
|
-
._inverse-label-quaternary_1valw_47 {
|
|
745
|
-
color: var(--inverse-label-quaternary);
|
|
746
|
-
}
|
|
747
|
-
._inverse-label-static-primary_1valw_51 {
|
|
748
|
-
color: var(--inverse-label-static-primary);
|
|
749
|
-
}
|
|
750
|
-
._inverse-label-static-secondary_1valw_55 {
|
|
751
|
-
color: var(--inverse-label-static-secondary);
|
|
752
|
-
}
|
|
753
|
-
._brand-label-primary_1valw_59 {
|
|
754
|
-
color: var(--brand-label-primary);
|
|
755
|
-
}
|
|
756
|
-
._brand-label-secondary_1valw_63 {
|
|
757
|
-
color: var(--brand-label-secondary);
|
|
758
|
-
}
|
|
759
|
-
._function-label-positive_1valw_67 {
|
|
760
|
-
color: var(--function-label-positive);
|
|
761
|
-
}
|
|
762
|
-
._function-label-negative_1valw_71 {
|
|
763
|
-
color: var(--function-label-negative);
|
|
764
|
-
}
|
|
765
|
-
._function-label-caution_1valw_75 {
|
|
766
|
-
color: var(--function-label-caution);
|
|
767
|
-
}
|
|
768
|
-
._accent-label-yellow_1valw_79 {
|
|
769
|
-
color: var(--accent-label-yellow);
|
|
770
|
-
}
|
|
771
|
-
._accent-label-mint_1valw_83 {
|
|
772
|
-
color: var(--accent-label-mint);
|
|
773
|
-
}
|
|
774
|
-
._accent-label-cyan_1valw_87 {
|
|
775
|
-
color: var(--accent-label-cyan);
|
|
776
|
-
}
|
|
777
|
-
._accent-label-purple_1valw_91 {
|
|
778
|
-
color: var(--accent-label-purple);
|
|
779
|
-
}
|
|
780
|
-
._accent-label-pink_1valw_95 {
|
|
781
|
-
color: var(--accent-label-pink);
|
|
782
|
-
}
|
|
783
717
|
|
|
784
718
|
/* esbuild-sass-plugin:css-chunk:src/components/Popover/style.module.scss */
|
|
785
719
|
._content_10295_1 {
|
package/lib/index.d.ts
CHANGED
|
@@ -614,8 +614,8 @@ interface RestrictedButtonProps {
|
|
|
614
614
|
onClick?: MouseEventHandler<HTMLButtonElement>;
|
|
615
615
|
}
|
|
616
616
|
|
|
617
|
-
declare const illustNames: readonly ["hero-gift", "hero-search", "mini-approve", "mini-documents-2", "mini-documents-3", "mini-documents-4", "mini-documents-5", "mini-documents", "mini-egg", "mini-empty-message", "mini-empty", "mini-gift", "mini-graduation_hat", "mini-not-search", "mini-not-ticket-2", "mini-private", "mini-search", "mini-ticket", "mini-window", "spot-catch_star", "spot-clap", "spot-empty", "spot-gift", "spot-no_search", "spot-search-2", "spot-search-3", "spot-search-4", "spot-search-5", "spot-search", "spot-sign_up", "spot-team", "spot-write"];
|
|
618
|
-
declare const darkIllustNames: readonly ["hero-gift", "hero-search", "mini-approve", "mini-documents-2", "mini-documents-3", "mini-documents-4", "mini-documents-5", "mini-documents", "mini-egg", "mini-empty-message", "mini-empty", "mini-gift", "mini-graduation_hat", "mini-not-search", "mini-not-ticket-2", "mini-private", "mini-search", "mini-ticket", "mini-window", "spot-catch_star", "spot-clap", "spot-empty", "spot-gift", "spot-no_search", "spot-search-2", "spot-search-3", "spot-search-4", "spot-search-5", "spot-search", "spot-sign_up", "spot-team", "spot-write"];
|
|
617
|
+
declare const illustNames: readonly ["hero-gift", "hero-search", "mini-approve", "mini-documents-2", "mini-documents-3", "mini-documents-4", "mini-documents-5", "mini-documents", "mini-egg", "mini-empty-message", "mini-empty", "mini-gift", "mini-graduation_hat", "mini-not-search", "mini-not-ticket-2", "mini-private", "mini-search", "mini-ticket", "mini-ticket-3", "mini-window", "spot-catch_star", "spot-clap", "spot-empty", "spot-gift", "spot-no_search", "spot-search-2", "spot-search-3", "spot-search-4", "spot-search-5", "spot-search", "spot-sign_up", "spot-team", "spot-write"];
|
|
618
|
+
declare const darkIllustNames: readonly ["hero-gift", "hero-search", "mini-approve", "mini-documents-2", "mini-documents-3", "mini-documents-4", "mini-documents-5", "mini-documents", "mini-egg", "mini-empty-message", "mini-empty", "mini-gift", "mini-graduation_hat", "mini-not-search", "mini-not-ticket-2", "mini-private", "mini-search", "mini-ticket", "mini-ticket-3", "mini-window", "spot-catch_star", "spot-clap", "spot-empty", "spot-gift", "spot-no_search", "spot-search-2", "spot-search-3", "spot-search-4", "spot-search-5", "spot-search", "spot-sign_up", "spot-team", "spot-write"];
|
|
619
619
|
|
|
620
620
|
type LightIllustType = (typeof illustNames)[number];
|
|
621
621
|
type DarkIllustType = (typeof darkIllustNames)[number];
|
package/lib/index.js
CHANGED
|
@@ -15683,47 +15683,6 @@ var import_react6 = require("react");
|
|
|
15683
15683
|
// src/components/Typography/Set/Paragraph.tsx
|
|
15684
15684
|
var import_clsx3 = __toESM(require("clsx"));
|
|
15685
15685
|
var import_react5 = require("react");
|
|
15686
|
-
|
|
15687
|
-
// src/components/Typography/utils.ts
|
|
15688
|
-
var import_cva4 = require("cva");
|
|
15689
|
-
|
|
15690
|
-
// src/components/Typography/Set/style.module.scss
|
|
15691
|
-
var style_module_default5 = {
|
|
15692
|
-
"caption": "_caption_1valw_1",
|
|
15693
|
-
"typography": "_typography_1valw_6",
|
|
15694
|
-
"neutral-label-primary": "_neutral-label-primary_1valw_11",
|
|
15695
|
-
"neutral-label-secondary": "_neutral-label-secondary_1valw_15",
|
|
15696
|
-
"neutral-label-tertiary": "_neutral-label-tertiary_1valw_19",
|
|
15697
|
-
"neutral-label-quaternary": "_neutral-label-quaternary_1valw_23",
|
|
15698
|
-
"neutral-label-static-primary": "_neutral-label-static-primary_1valw_27",
|
|
15699
|
-
"neutral-label-static-secondary": "_neutral-label-static-secondary_1valw_31",
|
|
15700
|
-
"inverse-label-primary": "_inverse-label-primary_1valw_35",
|
|
15701
|
-
"inverse-label-secondary": "_inverse-label-secondary_1valw_39",
|
|
15702
|
-
"inverse-label-tertiary": "_inverse-label-tertiary_1valw_43",
|
|
15703
|
-
"inverse-label-quaternary": "_inverse-label-quaternary_1valw_47",
|
|
15704
|
-
"inverse-label-static-primary": "_inverse-label-static-primary_1valw_51",
|
|
15705
|
-
"inverse-label-static-secondary": "_inverse-label-static-secondary_1valw_55",
|
|
15706
|
-
"brand-label-primary": "_brand-label-primary_1valw_59",
|
|
15707
|
-
"brand-label-secondary": "_brand-label-secondary_1valw_63",
|
|
15708
|
-
"function-label-positive": "_function-label-positive_1valw_67",
|
|
15709
|
-
"function-label-negative": "_function-label-negative_1valw_71",
|
|
15710
|
-
"function-label-caution": "_function-label-caution_1valw_75",
|
|
15711
|
-
"accent-label-yellow": "_accent-label-yellow_1valw_79",
|
|
15712
|
-
"accent-label-mint": "_accent-label-mint_1valw_83",
|
|
15713
|
-
"accent-label-cyan": "_accent-label-cyan_1valw_87",
|
|
15714
|
-
"accent-label-purple": "_accent-label-purple_1valw_91",
|
|
15715
|
-
"accent-label-pink": "_accent-label-pink_1valw_95"
|
|
15716
|
-
};
|
|
15717
|
-
|
|
15718
|
-
// src/components/Typography/utils.ts
|
|
15719
|
-
var colorVariants = (0, import_cva4.cva)({
|
|
15720
|
-
base: style_module_default5.typography,
|
|
15721
|
-
variants: {
|
|
15722
|
-
type: arrayToStyleObject(colorOptions, style_module_default5)
|
|
15723
|
-
}
|
|
15724
|
-
});
|
|
15725
|
-
|
|
15726
|
-
// src/components/Typography/Set/Paragraph.tsx
|
|
15727
15686
|
var import_jsx_runtime192 = require("react/jsx-runtime");
|
|
15728
15687
|
var Paragraph = (0, import_react5.forwardRef)(
|
|
15729
15688
|
({
|
|
@@ -15740,12 +15699,11 @@ var Paragraph = (0, import_react5.forwardRef)(
|
|
|
15740
15699
|
Element2,
|
|
15741
15700
|
{
|
|
15742
15701
|
...rest,
|
|
15743
|
-
className: (0, import_clsx3.default)(
|
|
15744
|
-
`lp-sys-typo-paragraph${size4}-${type}-${weight}`,
|
|
15745
|
-
colorVariants({ type: color }),
|
|
15746
|
-
className
|
|
15747
|
-
),
|
|
15702
|
+
className: (0, import_clsx3.default)(`lp-sys-typo-paragraph${size4}-${type}-${weight}`, className),
|
|
15748
15703
|
ref,
|
|
15704
|
+
style: {
|
|
15705
|
+
color: `var(--${color})`
|
|
15706
|
+
},
|
|
15749
15707
|
children
|
|
15750
15708
|
}
|
|
15751
15709
|
);
|
|
@@ -16319,6 +16277,25 @@ var SingleToast = /* @__PURE__ */ __name((props) => {
|
|
|
16319
16277
|
// src/components/Typography/Set/Heading.tsx
|
|
16320
16278
|
var import_react8 = require("react");
|
|
16321
16279
|
var import_clsx4 = __toESM(require("clsx"));
|
|
16280
|
+
|
|
16281
|
+
// src/components/Typography/utils.ts
|
|
16282
|
+
var import_cva4 = require("cva");
|
|
16283
|
+
|
|
16284
|
+
// src/components/Typography/Set/style.module.scss
|
|
16285
|
+
var style_module_default5 = {
|
|
16286
|
+
"caption": "_caption_2vn3a_1",
|
|
16287
|
+
"typography": "_typography_2vn3a_6"
|
|
16288
|
+
};
|
|
16289
|
+
|
|
16290
|
+
// src/components/Typography/utils.ts
|
|
16291
|
+
var colorVariants = (0, import_cva4.cva)({
|
|
16292
|
+
base: style_module_default5.typography,
|
|
16293
|
+
variants: {
|
|
16294
|
+
type: arrayToStyleObject(colorOptions, style_module_default5)
|
|
16295
|
+
}
|
|
16296
|
+
});
|
|
16297
|
+
|
|
16298
|
+
// src/components/Typography/Set/Heading.tsx
|
|
16322
16299
|
var import_jsx_runtime194 = require("react/jsx-runtime");
|
|
16323
16300
|
var Heading = (0, import_react8.forwardRef)(
|
|
16324
16301
|
({ size: size4, children, type, className, color = "neutral-label-primary", as, ...rest }, ref) => {
|
|
@@ -16358,13 +16335,11 @@ var Caption = (0, import_react9.forwardRef)(
|
|
|
16358
16335
|
Element2,
|
|
16359
16336
|
{
|
|
16360
16337
|
...rest,
|
|
16361
|
-
className: (0, import_clsx5.default)(
|
|
16362
|
-
`lp-sys-typo-caption${size4}-${type}-${weight}`,
|
|
16363
|
-
style_module_default5.caption,
|
|
16364
|
-
colorVariants({ type: color }),
|
|
16365
|
-
className
|
|
16366
|
-
),
|
|
16338
|
+
className: (0, import_clsx5.default)(`lp-sys-typo-caption${size4}-${type}-${weight}`, style_module_default5.caption, className),
|
|
16367
16339
|
ref,
|
|
16340
|
+
style: {
|
|
16341
|
+
color: `var(--${color})`
|
|
16342
|
+
},
|
|
16368
16343
|
children
|
|
16369
16344
|
}
|
|
16370
16345
|
);
|
|
@@ -16391,12 +16366,11 @@ var Title2 = (0, import_react10.forwardRef)(
|
|
|
16391
16366
|
Element2,
|
|
16392
16367
|
{
|
|
16393
16368
|
...rest,
|
|
16394
|
-
className: (0, import_clsx6.default)(
|
|
16395
|
-
`lp-sys-typo-title${size4}-${type}-${weight}`,
|
|
16396
|
-
colorVariants({ type: color }),
|
|
16397
|
-
className
|
|
16398
|
-
),
|
|
16369
|
+
className: (0, import_clsx6.default)(`lp-sys-typo-title${size4}-${type}-${weight}`, className),
|
|
16399
16370
|
ref,
|
|
16371
|
+
style: {
|
|
16372
|
+
color: `var(--${color})`
|
|
16373
|
+
},
|
|
16400
16374
|
children
|
|
16401
16375
|
}
|
|
16402
16376
|
);
|
|
@@ -16423,11 +16397,10 @@ var Display = (0, import_react11.forwardRef)(
|
|
|
16423
16397
|
{
|
|
16424
16398
|
...rest,
|
|
16425
16399
|
ref,
|
|
16426
|
-
className: (0, import_clsx7.default)(
|
|
16427
|
-
|
|
16428
|
-
|
|
16429
|
-
|
|
16430
|
-
),
|
|
16400
|
+
className: (0, import_clsx7.default)(`lp-sys-typo-display${size4}-${type}-${weight}`, className),
|
|
16401
|
+
style: {
|
|
16402
|
+
color: `var(--${color})`
|
|
16403
|
+
},
|
|
16431
16404
|
children
|
|
16432
16405
|
}
|
|
16433
16406
|
);
|
|
@@ -22164,7 +22137,8 @@ var Illust = /* @__PURE__ */ __name((props) => {
|
|
|
22164
22137
|
alt: currentSourceByColorTheme,
|
|
22165
22138
|
src: source,
|
|
22166
22139
|
width,
|
|
22167
|
-
height: aspectRatio ? width / aspectRatio : width
|
|
22140
|
+
height: aspectRatio ? width / aspectRatio : width,
|
|
22141
|
+
unoptimized: true
|
|
22168
22142
|
}
|
|
22169
22143
|
) });
|
|
22170
22144
|
}, "Illust");
|