@liner-fe/prism 1.12.10 → 1.12.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/README.md +9 -1
- package/lib/components/Typography/Responsive/index.d.ts +4 -0
- package/lib/components/Typography/{Caption.d.ts → Set/Caption.d.ts} +1 -1
- package/lib/components/Typography/{Display.d.ts → Set/Display.d.ts} +1 -1
- package/lib/components/Typography/{Heading.d.ts → Set/Heading.d.ts} +1 -1
- package/lib/components/Typography/{Paragraph.d.ts → Set/Paragraph.d.ts} +1 -1
- package/lib/components/Typography/{Title.d.ts → Set/Title.d.ts} +1 -1
- package/lib/components/Typography/index.d.ts +6 -5
- package/lib/index.css +82 -76
- package/lib/index.css.map +3 -3
- package/lib/index.mjs +98 -78
- package/lib/index.mjs.map +4 -4
- package/package.json +2 -1
package/README.md
CHANGED
|
@@ -1 +1,9 @@
|
|
|
1
|
-
# @liner-fe/prism
|
|
1
|
+
# @liner-fe/prism [](https://www.npmjs.com/package/@liner-fe/prism)
|
|
2
|
+
|
|
3
|
+
## Installation
|
|
4
|
+
|
|
5
|
+
`yarn add @liner-fe/prism`
|
|
6
|
+
|
|
7
|
+
## Documentation
|
|
8
|
+
|
|
9
|
+
문서는 Slack `dev_client_storybook` 채널을 확인해주세요.
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export declare const rootMediaStyle: string;
|
|
2
|
+
export declare const Media: import("react").ComponentType<import("@artsy/fresnel/dist/Media").MediaProps<"xl" | "sm" | "md" | "lg", never>>, MediaContextProvider: import("react").ComponentType<import("@artsy/fresnel/dist/Media").MediaContextProviderProps<"xl" | "sm" | "md" | "lg"> & {
|
|
3
|
+
children: import("react").ReactNode;
|
|
4
|
+
}>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ACCENT, ANSWER, BOLD, ITypographyCommon, MEDIUM, NORMAL, POST, REGULAR } from '
|
|
1
|
+
import { ACCENT, ANSWER, BOLD, ITypographyCommon, MEDIUM, NORMAL, POST, REGULAR } from '../types';
|
|
2
2
|
export interface IPropsNormal extends ITypographyCommon {
|
|
3
3
|
type: NORMAL;
|
|
4
4
|
size: 1 | 2 | 3 | 4;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
export * from './Heading';
|
|
2
|
-
export * from './
|
|
3
|
-
export * from './Paragraph';
|
|
4
|
-
export * from './Title';
|
|
5
|
-
export * from './
|
|
1
|
+
export * from './Set/Heading';
|
|
2
|
+
export * from './Set/Caption';
|
|
3
|
+
export * from './Set/Paragraph';
|
|
4
|
+
export * from './Set/Title';
|
|
5
|
+
export * from './Set/Display';
|
|
6
|
+
export * from './Responsive';
|
package/lib/index.css
CHANGED
|
@@ -507,79 +507,79 @@
|
|
|
507
507
|
animation: _swipeOut_g82xk_1 100ms ease-out;
|
|
508
508
|
}
|
|
509
509
|
|
|
510
|
-
/* esbuild-sass-plugin:css-chunk:src/components/Typography/style.module.scss */
|
|
511
|
-
.
|
|
510
|
+
/* esbuild-sass-plugin:css-chunk:src/components/Typography/Set/style.module.scss */
|
|
511
|
+
._caption_14qig_1 {
|
|
512
512
|
display: block;
|
|
513
513
|
text-align: start;
|
|
514
514
|
}
|
|
515
|
-
.
|
|
515
|
+
._typography_14qig_6 {
|
|
516
516
|
white-space: pre-wrap;
|
|
517
517
|
margin: 0;
|
|
518
518
|
}
|
|
519
|
-
._neutral-label-
|
|
519
|
+
._neutral-label-primary_14qig_11 {
|
|
520
520
|
color: var(--neutral-label-primary);
|
|
521
521
|
}
|
|
522
|
-
._neutral-label-
|
|
522
|
+
._neutral-label-secondary_14qig_15 {
|
|
523
523
|
color: var(--neutral-label-secondary);
|
|
524
524
|
}
|
|
525
|
-
._neutral-label-
|
|
525
|
+
._neutral-label-tertiary_14qig_19 {
|
|
526
526
|
color: var(--neutral-label-tertiary);
|
|
527
527
|
}
|
|
528
|
-
._neutral-label-
|
|
528
|
+
._neutral-label-quaternary_14qig_23 {
|
|
529
529
|
color: var(--neutral-label-quaternary);
|
|
530
530
|
}
|
|
531
|
-
._neutral-label-static-
|
|
531
|
+
._neutral-label-static-primary_14qig_27 {
|
|
532
532
|
color: var(--neutral-label-static-primary);
|
|
533
533
|
}
|
|
534
|
-
._neutral-label-static-
|
|
534
|
+
._neutral-label-static-secondary_14qig_31 {
|
|
535
535
|
color: var(--neutral-label-static-secondary);
|
|
536
536
|
}
|
|
537
|
-
._inverse-label-
|
|
537
|
+
._inverse-label-primary_14qig_35 {
|
|
538
538
|
color: var(--inverse-label-primary);
|
|
539
539
|
}
|
|
540
|
-
._inverse-label-
|
|
540
|
+
._inverse-label-secondary_14qig_39 {
|
|
541
541
|
color: var(--inverse-label-secondary);
|
|
542
542
|
}
|
|
543
|
-
._inverse-label-
|
|
543
|
+
._inverse-label-tertiary_14qig_43 {
|
|
544
544
|
color: var(--inverse-label-tertiary);
|
|
545
545
|
}
|
|
546
|
-
._inverse-label-
|
|
546
|
+
._inverse-label-quaternary_14qig_47 {
|
|
547
547
|
color: var(--inverse-label-quaternary);
|
|
548
548
|
}
|
|
549
|
-
._inverse-label-static-
|
|
549
|
+
._inverse-label-static-primary_14qig_51 {
|
|
550
550
|
color: var(--inverse-label-static-primary);
|
|
551
551
|
}
|
|
552
|
-
._inverse-label-static-
|
|
552
|
+
._inverse-label-static-secondary_14qig_55 {
|
|
553
553
|
color: var(--inverse-label-static-secondary);
|
|
554
554
|
}
|
|
555
|
-
._brand-label-
|
|
555
|
+
._brand-label-primary_14qig_59 {
|
|
556
556
|
color: var(--brand-label-primary);
|
|
557
557
|
}
|
|
558
|
-
._brand-label-
|
|
558
|
+
._brand-label-secondary_14qig_63 {
|
|
559
559
|
color: var(--brand-label-secondary);
|
|
560
560
|
}
|
|
561
|
-
._function-label-
|
|
561
|
+
._function-label-positive_14qig_67 {
|
|
562
562
|
color: var(--function-label-positive);
|
|
563
563
|
}
|
|
564
|
-
._function-label-
|
|
564
|
+
._function-label-negative_14qig_71 {
|
|
565
565
|
color: var(--function-label-negative);
|
|
566
566
|
}
|
|
567
|
-
._function-label-
|
|
567
|
+
._function-label-caution_14qig_75 {
|
|
568
568
|
color: var(--function-label-caution);
|
|
569
569
|
}
|
|
570
|
-
._accent-
|
|
570
|
+
._accent-yellow_14qig_79 {
|
|
571
571
|
color: var(--accent-yellow);
|
|
572
572
|
}
|
|
573
|
-
._accent-
|
|
573
|
+
._accent-mint_14qig_83 {
|
|
574
574
|
color: var(--accent-mint);
|
|
575
575
|
}
|
|
576
|
-
._accent-
|
|
576
|
+
._accent-cyan_14qig_87 {
|
|
577
577
|
color: var(--accent-cyan);
|
|
578
578
|
}
|
|
579
|
-
._accent-
|
|
579
|
+
._accent-purple_14qig_91 {
|
|
580
580
|
color: var(--accent-purple);
|
|
581
581
|
}
|
|
582
|
-
._accent-
|
|
582
|
+
._accent-pink_14qig_95 {
|
|
583
583
|
color: var(--accent-pink);
|
|
584
584
|
}
|
|
585
585
|
|
|
@@ -674,7 +674,7 @@
|
|
|
674
674
|
}
|
|
675
675
|
|
|
676
676
|
/* esbuild-sass-plugin:css-chunk:src/components/IconButton/style.module.scss */
|
|
677
|
-
.
|
|
677
|
+
._iconButton_1gy92_1 {
|
|
678
678
|
display: flex;
|
|
679
679
|
justify-content: center;
|
|
680
680
|
align-items: center;
|
|
@@ -683,66 +683,63 @@
|
|
|
683
683
|
border-radius: var(--lp-sys-radius-m);
|
|
684
684
|
cursor: pointer;
|
|
685
685
|
}
|
|
686
|
-
.
|
|
686
|
+
._primary_1gy92_11 {
|
|
687
687
|
background: var(--neutral-fill-lowest);
|
|
688
688
|
border: 1px solid var(--neutral-border-overlay-normal);
|
|
689
689
|
}
|
|
690
|
-
.
|
|
690
|
+
._primary_1gy92_11:not(:disabled):hover {
|
|
691
691
|
background: var(--neutral-fill-lowest-hover);
|
|
692
692
|
}
|
|
693
|
-
.
|
|
693
|
+
._secondary_1gy92_19 {
|
|
694
694
|
background: var(--neutral-fill-lowest);
|
|
695
695
|
}
|
|
696
|
-
.
|
|
696
|
+
._secondary_1gy92_19:not(:disabled):hover {
|
|
697
697
|
background: var(--neutral-fill-lowest-hover);
|
|
698
698
|
}
|
|
699
|
-
.
|
|
699
|
+
._tertiary_1gy92_26 {
|
|
700
700
|
background: var(--neutral-fill-lowest);
|
|
701
701
|
}
|
|
702
|
-
.
|
|
702
|
+
._tertiary_1gy92_26:not(:disabled):hover {
|
|
703
703
|
background: var(--neutral-fill-lowest-hover);
|
|
704
704
|
}
|
|
705
|
-
.
|
|
705
|
+
._quaternary_1gy92_33 {
|
|
706
706
|
background: var(--neutral-fill-lowest);
|
|
707
707
|
}
|
|
708
|
-
.
|
|
708
|
+
._quaternary_1gy92_33:not(:disabled):hover {
|
|
709
709
|
background: var(--neutral-fill-lowest-hover);
|
|
710
710
|
}
|
|
711
|
-
.
|
|
711
|
+
._negative_1gy92_40 {
|
|
712
712
|
background: var(--neutral-fill-lowest);
|
|
713
713
|
}
|
|
714
|
-
.
|
|
714
|
+
._negative_1gy92_40:not(:disabled):hover {
|
|
715
715
|
background: var(--neutral-fill-lowest-hover);
|
|
716
716
|
}
|
|
717
|
-
.
|
|
717
|
+
._static_1gy92_47 {
|
|
718
718
|
background: var(--neutral-fill-lowest);
|
|
719
719
|
}
|
|
720
|
-
.
|
|
720
|
+
._static_1gy92_47:not(:disabled):hover {
|
|
721
721
|
background: var(--neutral-fill-lowest-hover);
|
|
722
722
|
}
|
|
723
|
-
.
|
|
723
|
+
._l_1gy92_54 {
|
|
724
724
|
width: 44px;
|
|
725
725
|
height: 44px;
|
|
726
726
|
border-radius: var(--lp-sys-radius-m);
|
|
727
727
|
}
|
|
728
|
-
.
|
|
728
|
+
._m_1gy92_60 {
|
|
729
729
|
width: 36px;
|
|
730
730
|
height: 36px;
|
|
731
731
|
border-radius: var(--lp-sys-radius-m);
|
|
732
732
|
}
|
|
733
|
-
.
|
|
733
|
+
._s_1gy92_19 {
|
|
734
734
|
width: 28px;
|
|
735
735
|
height: 28px;
|
|
736
736
|
border-radius: var(--lp-sys-radius-m);
|
|
737
737
|
}
|
|
738
|
-
.
|
|
738
|
+
._xs_1gy92_72 {
|
|
739
739
|
width: 24px;
|
|
740
740
|
height: 24px;
|
|
741
741
|
border-radius: var(--lp-sys-radius-s);
|
|
742
742
|
}
|
|
743
|
-
._xs_1qjd0_72:not(:disabled):hover {
|
|
744
|
-
background: var(--neutral-fill-lowest);
|
|
745
|
-
}
|
|
746
743
|
|
|
747
744
|
/* esbuild-sass-plugin:css-chunk:src/components/CheckBox/style.module.scss */
|
|
748
745
|
._checkbox_24vda_1 {
|
|
@@ -950,12 +947,18 @@
|
|
|
950
947
|
}
|
|
951
948
|
|
|
952
949
|
/* esbuild-sass-plugin:css-chunk:src/components/Textfield/style.module.scss */
|
|
953
|
-
._textfield-
|
|
950
|
+
._textfield-container_172au_1 {
|
|
954
951
|
display: flex;
|
|
955
952
|
flex-direction: column;
|
|
956
953
|
gap: var(--lp-sys-gap-positive-200);
|
|
957
954
|
}
|
|
958
|
-
.
|
|
955
|
+
._textfield-container_172au_1:has(:disabled) {
|
|
956
|
+
cursor: not-allowed;
|
|
957
|
+
}
|
|
958
|
+
._textfield-container_172au_1:has(:disabled) * {
|
|
959
|
+
cursor: not-allowed;
|
|
960
|
+
}
|
|
961
|
+
._textfield_172au_1 {
|
|
959
962
|
box-sizing: border-box;
|
|
960
963
|
position: relative;
|
|
961
964
|
width: 100%;
|
|
@@ -966,46 +969,46 @@
|
|
|
966
969
|
cursor: text;
|
|
967
970
|
transition: ease-out all 0.1s;
|
|
968
971
|
}
|
|
969
|
-
.
|
|
972
|
+
._textfield_172au_1:hover {
|
|
970
973
|
outline: 1px solid var(--neutral-border-opaque-strong);
|
|
971
974
|
}
|
|
972
|
-
.
|
|
975
|
+
._textfield_172au_1:focus-within {
|
|
973
976
|
outline: 2px solid var(--neutral-border-opaque-strong);
|
|
974
977
|
}
|
|
975
|
-
.
|
|
978
|
+
._textfield_172au_1:has(:disabled) {
|
|
976
979
|
outline: 1px solid var(--neutral-border-opaque-subtle);
|
|
977
980
|
cursor: not-allowed;
|
|
978
981
|
}
|
|
979
|
-
.
|
|
982
|
+
._textfield_172au_1:has(:disabled) > ._label_172au_34 {
|
|
980
983
|
color: var(--neutral-label-tertiary);
|
|
981
984
|
cursor: not-allowed;
|
|
982
985
|
}
|
|
983
|
-
.
|
|
986
|
+
._textfield_172au_1._label-out-textfield_172au_38 {
|
|
984
987
|
height: 52px;
|
|
985
988
|
margin-top: 24px;
|
|
986
989
|
}
|
|
987
|
-
.
|
|
990
|
+
._textfield_172au_1._white_172au_42 {
|
|
988
991
|
background: var(--neutral-container-lowest);
|
|
989
992
|
}
|
|
990
|
-
.
|
|
993
|
+
._textfield_172au_1._gray_172au_45 {
|
|
991
994
|
background: var(--neutral-container-mid);
|
|
992
995
|
}
|
|
993
|
-
.
|
|
996
|
+
._label_172au_34 {
|
|
994
997
|
position: absolute;
|
|
995
998
|
left: 0;
|
|
996
999
|
top: 0;
|
|
997
1000
|
color: var(--neutral-label-secondary);
|
|
998
1001
|
cursor: text;
|
|
999
1002
|
}
|
|
1000
|
-
._label-
|
|
1003
|
+
._label-in_172au_57 {
|
|
1001
1004
|
transform-origin: left top;
|
|
1002
1005
|
transform: translate(var(--lp-sys-padding-component-400), 100%) scale(1);
|
|
1003
1006
|
transition: all 0.2s cubic-bezier(0, 0, 0.2, 1);
|
|
1004
1007
|
}
|
|
1005
|
-
._label-
|
|
1008
|
+
._label-out_172au_38 {
|
|
1006
1009
|
transform: translateY(-150%);
|
|
1007
1010
|
}
|
|
1008
|
-
._input-
|
|
1011
|
+
._input-wrapper_172au_67 {
|
|
1009
1012
|
display: flex;
|
|
1010
1013
|
align-items: center;
|
|
1011
1014
|
justify-content: space-between;
|
|
@@ -1013,7 +1016,7 @@
|
|
|
1013
1016
|
height: 100%;
|
|
1014
1017
|
gap: var(--lp-sys-gap-positive-300);
|
|
1015
1018
|
}
|
|
1016
|
-
.
|
|
1019
|
+
._input_172au_67 {
|
|
1017
1020
|
background: transparent;
|
|
1018
1021
|
border: none;
|
|
1019
1022
|
outline: none;
|
|
@@ -1027,65 +1030,68 @@
|
|
|
1027
1030
|
font-weight: var(--lp-pri-font-weight-400);
|
|
1028
1031
|
line-height: 130%;
|
|
1029
1032
|
}
|
|
1030
|
-
.
|
|
1031
|
-
.
|
|
1033
|
+
._input_172au_67:focus + ._label-in_172au_57,
|
|
1034
|
+
._input_172au_67:not(:placeholder-shown) + ._label-in_172au_57 {
|
|
1032
1035
|
transform: translate(var(--lp-sys-padding-component-400), 60%) scale(0.8);
|
|
1033
1036
|
font-weight: var(--lp-pri-font-weight-500);
|
|
1034
1037
|
color: var(--neutral-label-primary);
|
|
1035
1038
|
}
|
|
1036
|
-
.
|
|
1039
|
+
._input_172au_67::placeholder {
|
|
1037
1040
|
color: var(--neutral-label-tertiary);
|
|
1038
1041
|
font-size: var(--lp-pri-font-size-15);
|
|
1039
1042
|
font-style: normal;
|
|
1040
1043
|
font-weight: var(--lp-pri-font-weight-400);
|
|
1041
1044
|
line-height: 130%;
|
|
1042
1045
|
}
|
|
1043
|
-
._label-out-
|
|
1046
|
+
._label-out-input_172au_103 {
|
|
1044
1047
|
transform: translateY(0);
|
|
1045
1048
|
}
|
|
1046
|
-
._input-action-
|
|
1049
|
+
._input-action-buttons_172au_107 {
|
|
1047
1050
|
display: flex;
|
|
1048
1051
|
align-items: center;
|
|
1049
|
-
gap: var(--lp-sys-gap-positive-
|
|
1052
|
+
gap: var(--lp-sys-gap-positive-100);
|
|
1053
|
+
}
|
|
1054
|
+
._action-button_172au_113 {
|
|
1055
|
+
margin-right: var(--lp-sys-padding-component-100);
|
|
1050
1056
|
}
|
|
1051
|
-
._action-
|
|
1057
|
+
._action-button_172au_113 > svg > circle {
|
|
1052
1058
|
fill: var(--neutral-label-secondary);
|
|
1053
1059
|
}
|
|
1054
|
-
.
|
|
1060
|
+
._error_172au_120 {
|
|
1055
1061
|
display: block;
|
|
1056
1062
|
outline: 2px solid var(--function-label-negative);
|
|
1057
1063
|
}
|
|
1058
|
-
.
|
|
1064
|
+
._error_172au_120 > ._input_172au_67 + ._label_172au_34 {
|
|
1059
1065
|
color: var(--function-label-negative);
|
|
1060
1066
|
}
|
|
1061
|
-
.
|
|
1067
|
+
._error_172au_120:hover {
|
|
1062
1068
|
outline: 2px solid var(--function-label-negative);
|
|
1063
1069
|
}
|
|
1064
|
-
.
|
|
1070
|
+
._error_172au_120:focus-within {
|
|
1065
1071
|
outline: 2px solid var(--function-label-negative);
|
|
1066
1072
|
}
|
|
1067
|
-
.
|
|
1073
|
+
._error_172au_120:focus-within > ._label_172au_34 {
|
|
1068
1074
|
color: var(--function-label-negative);
|
|
1069
1075
|
}
|
|
1070
|
-
.
|
|
1076
|
+
._error_172au_120 > div > ._error-message_172au_136 {
|
|
1071
1077
|
color: var(--function-label-negative);
|
|
1072
1078
|
}
|
|
1073
|
-
._error-
|
|
1079
|
+
._error-wrapper_172au_140 {
|
|
1074
1080
|
display: flex;
|
|
1075
1081
|
align-items: flex-end;
|
|
1076
1082
|
gap: 4px;
|
|
1077
1083
|
}
|
|
1078
|
-
._error-
|
|
1084
|
+
._error-wrapper_172au_140 > ._error-message_172au_136 {
|
|
1079
1085
|
color: var(--function-label-negative);
|
|
1080
1086
|
}
|
|
1081
|
-
.
|
|
1087
|
+
._footer_172au_149 {
|
|
1082
1088
|
display: flex;
|
|
1083
1089
|
justify-content: space-between;
|
|
1084
1090
|
align-items: center;
|
|
1085
1091
|
gap: 8px;
|
|
1086
1092
|
min-height: var(--lp-sys-icon-size-xs);
|
|
1087
1093
|
}
|
|
1088
|
-
.
|
|
1094
|
+
._character_172au_157 {
|
|
1089
1095
|
color: var(--neutral-label-secondary);
|
|
1090
1096
|
}
|
|
1091
1097
|
/*! For license information please see index.css.LEGAL.txt */
|