@yr3/ui 1.0.0
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/LICENSE +9 -0
- package/README.md +55 -0
- package/dist/components/Avatar/avatar.css +133 -0
- package/dist/components/Avatar/avatar.css.map +1 -0
- package/dist/components/Backdrop/backdrop.css +27 -0
- package/dist/components/Backdrop/backdrop.css.map +1 -0
- package/dist/components/Box/box.css +46 -0
- package/dist/components/Box/box.css.map +1 -0
- package/dist/components/Button/buttons.css +114 -0
- package/dist/components/Button/buttons.css.map +1 -0
- package/dist/components/Calendar/calendar.css +3 -0
- package/dist/components/Calendar/calendar.css.map +1 -0
- package/dist/components/Checkbox/checkbox.css +122 -0
- package/dist/components/Checkbox/checkbox.css.map +1 -0
- package/dist/components/Chip/chip.css +136 -0
- package/dist/components/Chip/chip.css.map +1 -0
- package/dist/components/Collapse/collapse.css +14 -0
- package/dist/components/Collapse/collapse.css.map +1 -0
- package/dist/components/Container/container.css +39 -0
- package/dist/components/Container/container.css.map +1 -0
- package/dist/components/Control/control.css +92 -0
- package/dist/components/Control/control.css.map +1 -0
- package/dist/components/Divider/divider.css +83 -0
- package/dist/components/Divider/divider.css.map +1 -0
- package/dist/components/Drawer/drawer.css +70 -0
- package/dist/components/Drawer/drawer.css.map +1 -0
- package/dist/components/Fade/fade.css +10 -0
- package/dist/components/Fade/fade.css.map +1 -0
- package/dist/components/Flex/flex.css +51 -0
- package/dist/components/Flex/flex.css.map +1 -0
- package/dist/components/Grid/Grid.css +67 -0
- package/dist/components/Grid/Grid.css.map +1 -0
- package/dist/components/Group/group.css +132 -0
- package/dist/components/Group/group.css.map +1 -0
- package/dist/components/Image/image.css +8 -0
- package/dist/components/Image/image.css.map +1 -0
- package/dist/components/ImageDropzone/image-dropzone.css +55 -0
- package/dist/components/ImageDropzone/image-dropzone.css.map +1 -0
- package/dist/components/Input/input.css +128 -0
- package/dist/components/Input/input.css.map +1 -0
- package/dist/components/InputArea/inputArea.css +88 -0
- package/dist/components/InputArea/inputArea.css.map +1 -0
- package/dist/components/Label/label.css +61 -0
- package/dist/components/Label/label.css.map +1 -0
- package/dist/components/Modal/modal.css +42 -0
- package/dist/components/Modal/modal.css.map +1 -0
- package/dist/components/Notistack/notistack.css +225 -0
- package/dist/components/Notistack/notistack.css.map +1 -0
- package/dist/components/Pending/pending.css +79 -0
- package/dist/components/Pending/pending.css.map +1 -0
- package/dist/components/Radio/radio.css +96 -0
- package/dist/components/Radio/radio.css.map +1 -0
- package/dist/components/Select/select.css +80 -0
- package/dist/components/Select/select.css.map +1 -0
- package/dist/components/Slide/slide.css +46 -0
- package/dist/components/Slide/slide.css.map +1 -0
- package/dist/components/Switch/switch.css +130 -0
- package/dist/components/Switch/switch.css.map +1 -0
- package/dist/components/Text/text.css +145 -0
- package/dist/components/Text/text.css.map +1 -0
- package/dist/index.d.mts +1592 -0
- package/dist/index.d.ts +1592 -0
- package/dist/index.js +2248 -0
- package/dist/index.mjs +2148 -0
- package/dist/styles/aminations.css +80 -0
- package/dist/styles/aminations.css.map +1 -0
- package/dist/styles/global.css +132 -0
- package/dist/styles/global.css.map +1 -0
- package/dist/styles/index.css +2332 -0
- package/dist/styles/index.css.map +1 -0
- package/package.json +62 -0
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
.yr3Radio {
|
|
2
|
+
display: inline-flex;
|
|
3
|
+
align-items: center;
|
|
4
|
+
gap: 8px;
|
|
5
|
+
cursor: pointer;
|
|
6
|
+
}
|
|
7
|
+
.yr3Radio input {
|
|
8
|
+
display: none;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
/* CIRCLE */
|
|
12
|
+
.yr3Radio--variant-circle {
|
|
13
|
+
width: 18px;
|
|
14
|
+
height: 18px;
|
|
15
|
+
border-radius: 50%;
|
|
16
|
+
border: 2px solid var(--color-border, #ccc);
|
|
17
|
+
position: relative;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
/* CIRCLE */
|
|
21
|
+
.yr3Radio--variant-square {
|
|
22
|
+
width: 18px;
|
|
23
|
+
height: 18px;
|
|
24
|
+
border: 2px solid var(--color-border, #ccc);
|
|
25
|
+
position: relative;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
/* INNER DOT */
|
|
29
|
+
.yr3Radio input:checked + .yr3Radio--variant-circle::after {
|
|
30
|
+
content: "";
|
|
31
|
+
position: absolute;
|
|
32
|
+
width: 14px;
|
|
33
|
+
height: 14px;
|
|
34
|
+
top: 2px;
|
|
35
|
+
left: 2px;
|
|
36
|
+
border-radius: 50%;
|
|
37
|
+
background: var(--radio-active);
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
.yr3Radio input:checked + .yr3Radio--variant-square::after {
|
|
41
|
+
content: "";
|
|
42
|
+
position: absolute;
|
|
43
|
+
width: 14px;
|
|
44
|
+
height: 14px;
|
|
45
|
+
top: 2px;
|
|
46
|
+
left: 2px;
|
|
47
|
+
background: var(--radio-active);
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
/* COLORS */
|
|
51
|
+
.yr3Radio--color-primary {
|
|
52
|
+
--radio-active: var(--color-primary);
|
|
53
|
+
--color-border: var(--color-primary);
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
.yr3Radio--color-secondary {
|
|
57
|
+
--radio-active: var(--color-secondary);
|
|
58
|
+
--color-border: var(--color-secondary);
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
.yr3Radio--color-error {
|
|
62
|
+
--radio-active: var(--color-error);
|
|
63
|
+
--color-border: var(--color-error);
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
.yr3Radio--color-success {
|
|
67
|
+
--radio-active: var(--color-success);
|
|
68
|
+
--color-border: var(--color-success);
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
.yr3Radio--color-warning {
|
|
72
|
+
--radio-active: var(--color-warning);
|
|
73
|
+
--color-border: var(--color-warning);
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
.yr3Radio--color-info {
|
|
77
|
+
--radio-active: var(--color-info);
|
|
78
|
+
--color-border: var(--color-info);
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
.yr3Radio--color-disabled {
|
|
82
|
+
--radio-active: var(--color-disabled);
|
|
83
|
+
--color-border: var(--color-disabled);
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
.yr3Radio--color-text {
|
|
87
|
+
--radio-active: var(--color-text);
|
|
88
|
+
--color-border: var(--color-text);
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
.yr3Radio--color-background {
|
|
92
|
+
--radio-active: var(--color-surface);
|
|
93
|
+
--color-border: var(--color-surface);
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
/*# sourceMappingURL=radio.css.map */
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sourceRoot":"","sources":["../../../src/components/Radio/radio.scss"],"names":[],"mappings":"AAAA;EACE;EACA;EACA;EACA;;AAEA;EACE;;;AAIJ;AACA;EACE;EACA;EACA;EACA;EACA;;;AAGF;AACA;EACE;EACA;EACA;EACA;;;AAGF;AACA;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;;AAGF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;;;AAGF;AACA;EACI;EACA;;;AAEJ;EACI;EACA;;;AAEJ;EACI;EACA;;;AAEJ;EACI;EACA;;;AAEJ;EACI;EACA;;;AAEJ;EACI;EACA;;;AAEJ;EACI;EACA;;;AAEJ;EACI;EACA;;;AAEJ;EACI;EACA","file":"radio.css"}
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
.yr3Select-wrapper {
|
|
2
|
+
position: relative;
|
|
3
|
+
width: 100%;
|
|
4
|
+
box-sizing: border-box;
|
|
5
|
+
padding: 4px;
|
|
6
|
+
}
|
|
7
|
+
.yr3Select-wrapper .yr3Select {
|
|
8
|
+
width: 100%;
|
|
9
|
+
display: flex;
|
|
10
|
+
flex-direction: row;
|
|
11
|
+
align-items: center;
|
|
12
|
+
justify-content: space-between;
|
|
13
|
+
}
|
|
14
|
+
.yr3Select-wrapper .yr3Select .yr3Select--icon {
|
|
15
|
+
margin-top: 10px;
|
|
16
|
+
}
|
|
17
|
+
.yr3Select-wrapper .yr3Select.yr3Select--open .yr3Select--icon {
|
|
18
|
+
margin-top: 10px;
|
|
19
|
+
transform: rotate(180deg);
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
/* CONTROL */
|
|
23
|
+
.yr3Select--control {
|
|
24
|
+
padding-left: 4px;
|
|
25
|
+
margin-top: 10px;
|
|
26
|
+
cursor: pointer;
|
|
27
|
+
color: var(--color-secondary);
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
/* MENU */
|
|
31
|
+
.yr3Select--menu {
|
|
32
|
+
position: absolute;
|
|
33
|
+
top: calc(100% + 4px);
|
|
34
|
+
left: 0;
|
|
35
|
+
right: 0;
|
|
36
|
+
background: var(--color-surface);
|
|
37
|
+
border: 1px solid var(--color-primary);
|
|
38
|
+
border-radius: 4px;
|
|
39
|
+
z-index: 10;
|
|
40
|
+
overflow-x: "hidden";
|
|
41
|
+
max-height: 100;
|
|
42
|
+
z-index: 1000;
|
|
43
|
+
overflow-y: auto;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
/* OPTION */
|
|
47
|
+
.yr3Select--control {
|
|
48
|
+
padding: 8px;
|
|
49
|
+
cursor: pointer;
|
|
50
|
+
color: var(--color-secondary);
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.yr3Select--option:hover {
|
|
54
|
+
overflow-x: "hidden";
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
.yr3Selector-wrapper {
|
|
58
|
+
position: relative;
|
|
59
|
+
margin: 0 auto;
|
|
60
|
+
box-sizing: border-box;
|
|
61
|
+
padding: 4px;
|
|
62
|
+
}
|
|
63
|
+
.yr3Selector-wrapper .yr3Selector {
|
|
64
|
+
width: 100%;
|
|
65
|
+
margin: 0px 0px;
|
|
66
|
+
display: flex;
|
|
67
|
+
flex-direction: row;
|
|
68
|
+
align-items: flex-end;
|
|
69
|
+
justify-content: space-between;
|
|
70
|
+
}
|
|
71
|
+
.yr3Selector-wrapper .yr3Selector.yr3Selector--open .yr3Selector--icon {
|
|
72
|
+
transform: rotate(180deg);
|
|
73
|
+
}
|
|
74
|
+
.yr3Selector-wrapper .yr3Selector--control {
|
|
75
|
+
display: inline-flex;
|
|
76
|
+
align-items: center;
|
|
77
|
+
margin-top: 18px;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
/*# sourceMappingURL=select.css.map */
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sourceRoot":"","sources":["../../../src/components/Select/select.scss"],"names":[],"mappings":"AAAA;EACI;EACA;EACA;EACA;;AACA;EACE;EACA;EACA;EACA;EACA;;AACA;EACI;;AAGI;EACA;EACA;;;AAQd;AACA;EACE;EACA;EACA;EACA;;;AAGF;AACA;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;;AAGF;AACA;EACE;EACA;EACA;;;AAGF;EACI;;;AAKJ;EACI;EACA;EACA;EACA;;AACA;EACE;EACA;EACA;EACA;EACA;EACA;;AAEI;EACG;;AAIT;EACE;EACA;EACA","file":"select.css"}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
.yr3Slide {
|
|
2
|
+
position: absolute;
|
|
3
|
+
transition: transform 0.3s ease;
|
|
4
|
+
will-change: transform;
|
|
5
|
+
z-index: 2;
|
|
6
|
+
overflow: hidden;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
/* DIRECTIONS */
|
|
10
|
+
.yr3Slide--content--left::before {
|
|
11
|
+
content: "";
|
|
12
|
+
overflow: hidden;
|
|
13
|
+
height: 100%;
|
|
14
|
+
}
|
|
15
|
+
.yr3Slide--content--left {
|
|
16
|
+
transform: translateX(-110%);
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.yr3Slide--content--right::before {
|
|
20
|
+
content: "";
|
|
21
|
+
overflow: hidden;
|
|
22
|
+
height: 100%;
|
|
23
|
+
}
|
|
24
|
+
.yr3Slide--content--right {
|
|
25
|
+
transform: translateX(110%);
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.yr3Slide--content--top {
|
|
29
|
+
transform: translateY(-100%);
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.yr3Slide--content--bottom::before {
|
|
33
|
+
content: "";
|
|
34
|
+
overflow: hidden;
|
|
35
|
+
height: 100%;
|
|
36
|
+
}
|
|
37
|
+
.yr3Slide--content--bottom {
|
|
38
|
+
transform: translateY(-100%);
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
/* OPEN */
|
|
42
|
+
.yr3Slide--content--in {
|
|
43
|
+
transform: translate(0, 0);
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
/*# sourceMappingURL=slide.css.map */
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sourceRoot":"","sources":["../../../src/components/Slide/slide.scss"],"names":[],"mappings":"AAAA;EACI;EACA;EACA;EACA;EACA;;;AAGJ;AAGI;EACI;EACA;EACA;;AAJR;EAMG;;;AAIE;EACG;EACA;EACA;;AAJR;EAMG;;;AAGH;EACE;;;AAIE;EACI;EACA;EACA;;AAJR;EAMG;;;AAGH;AAEA;EACE","file":"slide.css"}
|
|
@@ -0,0 +1,130 @@
|
|
|
1
|
+
.yr3Switch {
|
|
2
|
+
display: inline-flex;
|
|
3
|
+
align-items: center;
|
|
4
|
+
cursor: pointer;
|
|
5
|
+
}
|
|
6
|
+
.yr3Switch input {
|
|
7
|
+
display: none;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
/* TRACK */
|
|
11
|
+
.yr3Switch--track {
|
|
12
|
+
position: relative;
|
|
13
|
+
overflow: hidden;
|
|
14
|
+
width: 40px;
|
|
15
|
+
height: 22px;
|
|
16
|
+
border-radius: 999px;
|
|
17
|
+
border: 1px solid;
|
|
18
|
+
border-color: var(--switch-track-bg, transparent);
|
|
19
|
+
transition: 0.25s;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
/* THUMB */
|
|
23
|
+
.yr3Switch--thumb {
|
|
24
|
+
position: absolute;
|
|
25
|
+
top: var(--switch-thumb-y, 1px);
|
|
26
|
+
left: var(--switch-thumb-y, 2px);
|
|
27
|
+
border-radius: 50%;
|
|
28
|
+
background: var(--switch-thumb-bg);
|
|
29
|
+
transition: 0.25s;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
/* CHECKED */
|
|
33
|
+
.yr3Switch--checked .yr3Switch--track {
|
|
34
|
+
background: var(--switch-track-active);
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.yr3Switch--checked .yr3Switch--thumb {
|
|
38
|
+
background: var(--color-surface);
|
|
39
|
+
transform: translateX(var(--switch-thumb-translate, 13px));
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
/* SIZES */
|
|
43
|
+
.yr3Switch--sm .yr3Switch--track {
|
|
44
|
+
width: 32px;
|
|
45
|
+
height: 16px;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.yr3Switch--sm .yr3Switch--thumb {
|
|
49
|
+
width: 14px;
|
|
50
|
+
height: 14px;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.yr3Switch--md .yr3Switch--track {
|
|
54
|
+
width: 36px;
|
|
55
|
+
height: 20px;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
.yr3Switch--md .yr3Switch--thumb {
|
|
59
|
+
width: 16px;
|
|
60
|
+
--switch-thumb-translate: 16px;
|
|
61
|
+
height: 16px;
|
|
62
|
+
--switch-thumb-y: 2px;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
.yr3Switch--lg .yr3Switch--track {
|
|
66
|
+
width: 40px;
|
|
67
|
+
height: 20px;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
.yr3Switch--lg .yr3Switch--thumb {
|
|
71
|
+
width: 16px;
|
|
72
|
+
height: 16px;
|
|
73
|
+
--switch-thumb-y: 2px;
|
|
74
|
+
--switch-thumb-translate:20px;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
/* DISABLED */
|
|
78
|
+
.yr3Switch--disabled {
|
|
79
|
+
opacity: 0.5;
|
|
80
|
+
pointer-events: none;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
.yr3Switch--label {
|
|
84
|
+
font-size: small;
|
|
85
|
+
margin-left: 8px;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
.yr3Switch--color-primary {
|
|
89
|
+
--switch-thumb-bg: var(--color-primary);
|
|
90
|
+
--switch-thumb-border: var(--color-primary);
|
|
91
|
+
--switch-track-bg: var(--color-primary);
|
|
92
|
+
--switch-track-active: var(--color-primary);
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
.yr3Switch--color-secondary {
|
|
96
|
+
--switch-thumb-bg: var(--color-secondary);
|
|
97
|
+
--switch-thumb-border: var(--color-secondary);
|
|
98
|
+
--switch-track-bg: var(--color-secondary);
|
|
99
|
+
--switch-track-active: var(--color-secondary);
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
.yr3Switch--color-success {
|
|
103
|
+
--switch-thumb-bg: var(--color-success);
|
|
104
|
+
--switch-thumb-border: var(--color-success);
|
|
105
|
+
--switch-track-bg: var(--color-success);
|
|
106
|
+
--switch-track-active: var(--color-success);
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
.yr3Switch--color-text {
|
|
110
|
+
--switch-thumb-bg: var(--color-textPrimary);
|
|
111
|
+
--switch-thumb-border: var(--color-textPrimary);
|
|
112
|
+
--switch-track-bg: var(--color-textPrimary);
|
|
113
|
+
--switch-track-active: var(--color-textPrimary);
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
.yr3Switch--color-disabled {
|
|
117
|
+
--switch-thumb-bg: var(--color-disabled);
|
|
118
|
+
--switch-thumb-border: var(--color-disabled);
|
|
119
|
+
--switch-track-bg: var(--color-disabled);
|
|
120
|
+
--switch-track-active: var(--color-disabled);
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
.yr3Switch--color-warning {
|
|
124
|
+
--switch-thumb-bg: var(--color-warning);
|
|
125
|
+
--switch-thumb-border: var(--color-warning);
|
|
126
|
+
--switch-track-bg: var(--color-warning);
|
|
127
|
+
--switch-track-active: var(--color-warning);
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
/*# sourceMappingURL=switch.css.map */
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sourceRoot":"","sources":["../../../src/components/Switch/switch.scss"],"names":[],"mappings":"AAAA;EACE;EACA;EACA;;AACA;EACE;;;AAIJ;AACA;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;;AAGF;AACA;EACE;EACA;EACA;EACA;EACA;EACA;;;AAGF;AACA;EACE;;;AAGF;EACE;EACA;;;AAGF;AACA;EACE;EACA;;;AAGF;EACE;EACA;;;AAGF;EACE;EACA;;;AAGF;EACE;EACA;EACA;EACC;;;AAGH;EACE;EACA;;;AAGF;EACE;EACA;EACA;EACA;;;AAGF;AACA;EACE;EACA;;;AAGF;EACI;EACA;;;AAGJ;EACI;EACA;EACA;EACA;;;AAGJ;EACI;EACA;EACA;EACA;;;AAGJ;EACI;EACA;EACA;EACA;;;AAGJ;EACI;EACA;EACA;EACA;;;AAGJ;EACI;EACA;EACA;EACA;;;AAGJ;EACI;EACA;EACA;EACA","file":"switch.css"}
|
|
@@ -0,0 +1,145 @@
|
|
|
1
|
+
.yr3Text {
|
|
2
|
+
margin: 0;
|
|
3
|
+
color: var(--text-color, var(--text-color));
|
|
4
|
+
font-size: var(--typo-size, 16px);
|
|
5
|
+
font-weight: var(--typo-weight, var(--fontWeight-regular));
|
|
6
|
+
line-height: var(--line-height, 1.5);
|
|
7
|
+
font-family: var(--font-family-base);
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
/* ===== VARIANTS ===== */
|
|
11
|
+
.yr3Text--h1 {
|
|
12
|
+
--typo-size: clamp(28px, 2.5vw + 1rem, 40px);
|
|
13
|
+
--typo-weight: var(--fontWeight-bold);
|
|
14
|
+
font-family: var(--font-family-heading, var(--font-family-base));
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.yr3Text--h2 {
|
|
18
|
+
--typo-size: clamp(26px, 2.2vw + 1rem, 36px);
|
|
19
|
+
--typo-weight: var(--fontWeight-semibold);
|
|
20
|
+
font-family: var(--font-family-heading, var(--font-family-base));
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.yr3Text--h3 {
|
|
24
|
+
--typo-size: clamp(24px, 2vw + 0.8rem, 32px);
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.yr3Text--h4 {
|
|
28
|
+
--typo-size: clamp(22px, 1.8vw + 0.6rem, 28px);
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.yr3Text--h5 {
|
|
32
|
+
--typo-size: clamp(20px, 1.6vw + 0.5rem, 24px);
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.yr3Text--h6 {
|
|
36
|
+
--typo-size: clamp(18px, 1.4vw + 0.4rem, 20px);
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.yr3Text--title {
|
|
40
|
+
--typo-size: clamp(20px, 1.5vw + 0.5rem, 22px);
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.yr3Text--subtitle {
|
|
44
|
+
--typo-size: clamp(18px, 1.5vw + 0.5rem, 20px);
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
.yr3Text--body1 {
|
|
48
|
+
--typo-size: clamp(14px, 0.5vw + 0.8rem, 16px);
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
.yr3Text--body2 {
|
|
52
|
+
--typo-size: clamp(13px, 0.5vw + 0.8rem, 15px);
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
.yr3Text--caption {
|
|
56
|
+
--typo-size: 14px;
|
|
57
|
+
--typo-weight: var(--fontWeight-light);
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
.yr3Text--button {
|
|
61
|
+
--typo-size: clamp(12px, 0.4vw + 0.7rem, 14px);
|
|
62
|
+
--typo-weight: var(--fontWeight-semibold);
|
|
63
|
+
text-transform: uppercase;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
.yr3Text--helper {
|
|
67
|
+
--typo-size: 10px;
|
|
68
|
+
--typo-weight: var(--fontWeight-thin);
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
.yr3Text--inherit {
|
|
72
|
+
--typo-size: inherit;
|
|
73
|
+
--typo-weight: inherit;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
.yr3Text--code {
|
|
77
|
+
font-family: var(--font-family-mono);
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
.yr3Text--black {
|
|
81
|
+
--typo-weight: var(--fontWeight-black);
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
.yr3Text--bold {
|
|
85
|
+
--typo-weight: var(--fontWeight-bold);
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
.yr3Text--semibold {
|
|
89
|
+
--typo-weight: var(--fontWeight-semibold);
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
.yr3Text--medium {
|
|
93
|
+
--typo-weight: var(--fontWeight-medium);
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
.yr3Text--regular {
|
|
97
|
+
--typo-weight: var(--fontWeight-regular);
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
.yr3Text--light {
|
|
101
|
+
--typo-weight: var(--fontWeight-light);
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
.yr3Text--thin {
|
|
105
|
+
--typo-weight: var(--fontWeight-thin);
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
/* ===== COLORS ===== */
|
|
109
|
+
.yr3Text--primary {
|
|
110
|
+
--text-color: var(--color-primary);
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
.yr3Text--secondary {
|
|
114
|
+
--text-color: var(--color-secondary);
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
.yr3Text--success {
|
|
118
|
+
--text-color: var(--color-success);
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
.yr3Text--error {
|
|
122
|
+
--text-color: var(--color-error);
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
.yr3Text--warning {
|
|
126
|
+
--text-color: var(--color-warning);
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
.yr3Text--info {
|
|
130
|
+
--text-color: var(--color-info);
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
.yr3Text--inherit {
|
|
134
|
+
--text-color: inherit;
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
.yr3Text--text {
|
|
138
|
+
--text-color: var(--color-text);
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
.yr3Text--disabled {
|
|
142
|
+
--text-color: var(--color-disabled);
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
/*# sourceMappingURL=text.css.map */
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sourceRoot":"","sources":["../../../src/components/Text/text.scss"],"names":[],"mappings":"AAAA;EACE;EACA;EACA;EACA;EACA;EACA;;;AAGF;AAEA;EACE;EACA;EACA;;;AAGF;EACE;EACA;EACA;;;AAGF;EACE;;;AAGF;EACE;;;AAGF;EACE;;;AAGF;EACE;;;AAGF;EACE;;;AAGF;EACI;;;AAGJ;EACE;;;AAGF;EACE;;;AAGF;EACE;EACA;;;AAGF;EACE;EACA;EACA;;;AAGF;EACE;EACA;;;AAGF;EACE;EACA;;;AAGF;EACE;;;AAIF;EAAkB;;;AAClB;EAAiB;;;AACjB;EAAqB;;;AACrB;EAAmB;;;AACnB;EAAoB;;;AACpB;EAAkB;;;AAClB;EAAiB;;;AAEjB;AAEA;EAAsB;;;AACtB;EAAsB;;;AACtB;EAAsB;;;AACtB;EAAsB;;;AACtB;EAAsB;;;AACtB;EAAsB;;;AACtB;EAAsB;;;AACtB;EAAsB;;;AACtB;EAAsB","file":"text.css"}
|