@alfalab/core-components-typography 4.14.3 → 5.0.0-snapshot-6a9d3fc
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/colors.css +22 -44
- package/colors.d.ts +2 -3
- package/colors.js +1 -0
- package/colors.js.map +1 -0
- package/colors.module.css.js +8 -0
- package/colors.module.css.js.map +1 -0
- package/component.d.ts +7 -7
- package/component.js +13 -12
- package/component.js.map +1 -0
- package/cssm/colors.d.ts +2 -3
- package/cssm/colors.js +1 -0
- package/cssm/colors.js.map +1 -0
- package/cssm/colors.module.css +3 -24
- package/cssm/component.d.ts +7 -7
- package/cssm/component.js +13 -12
- package/cssm/component.js.map +1 -0
- package/cssm/index.d.ts +5 -5
- package/cssm/index.js +9 -8
- package/cssm/index.js.map +1 -0
- package/cssm/presets.d.ts +1 -2
- package/cssm/presets.js +1 -0
- package/cssm/presets.js.map +1 -0
- package/cssm/text/alfasans-index.module.css +18 -29
- package/cssm/text/component.d.ts +10 -12
- package/cssm/text/component.js +3 -2
- package/cssm/text/component.js.map +1 -0
- package/cssm/text/index.d.ts +1 -1
- package/cssm/text/index.js +3 -2
- package/cssm/text/index.js.map +1 -0
- package/cssm/text/index.module.css +3 -24
- package/cssm/title/alfasans-index.module.css +2 -23
- package/cssm/title/common.module.css +2 -23
- package/cssm/title/component.d.ts +13 -15
- package/cssm/title/component.js +7 -6
- package/cssm/title/component.js.map +1 -0
- package/cssm/title/index.d.ts +5 -6
- package/cssm/title/index.js +3 -2
- package/cssm/title/index.js.map +1 -0
- package/cssm/title/index.module.css +6 -26
- package/cssm/title/utils.d.ts +1 -2
- package/cssm/title/utils.js +1 -0
- package/cssm/title/utils.js.map +1 -0
- package/cssm/title-mobile/alfasans-index.module.css +2 -23
- package/cssm/title-mobile/component.d.ts +5 -7
- package/cssm/title-mobile/component.js +3 -2
- package/cssm/title-mobile/component.js.map +1 -0
- package/cssm/title-mobile/index.d.ts +2 -2
- package/cssm/title-mobile/index.js +3 -2
- package/cssm/title-mobile/index.js.map +1 -0
- package/cssm/title-mobile/index.module.css +5 -25
- package/cssm/title-responsive/component.d.ts +7 -9
- package/cssm/title-responsive/component.js +6 -5
- package/cssm/title-responsive/component.js.map +1 -0
- package/cssm/title-responsive/index.d.ts +1 -1
- package/cssm/title-responsive/index.js +3 -2
- package/cssm/title-responsive/index.js.map +1 -0
- package/cssm/types.d.ts +1 -2
- package/cssm/types.js +1 -0
- package/cssm/types.js.map +1 -0
- package/esm/colors.css +22 -44
- package/esm/colors.d.ts +2 -3
- package/esm/colors.js +1 -0
- package/esm/colors.js.map +1 -0
- package/esm/colors.module.css.js +6 -0
- package/esm/colors.module.css.js.map +1 -0
- package/esm/component.d.ts +7 -7
- package/esm/component.js +1 -0
- package/esm/component.js.map +1 -0
- package/esm/index.d.ts +5 -5
- package/esm/index.js +1 -0
- package/esm/index.js.map +1 -0
- package/esm/presets.d.ts +1 -2
- package/esm/presets.js +1 -0
- package/esm/presets.js.map +1 -0
- package/esm/text/alfasans-index.css +30 -58
- package/esm/text/alfasans-index.module.css.js +6 -0
- package/esm/text/alfasans-index.module.css.js.map +1 -0
- package/esm/text/component.d.ts +10 -12
- package/esm/text/component.js +4 -7
- package/esm/text/component.js.map +1 -0
- package/esm/text/index.css +24 -45
- package/esm/text/index.d.ts +1 -1
- package/esm/text/index.js +1 -0
- package/esm/text/index.js.map +1 -0
- package/esm/text/index.module.css.js +6 -0
- package/esm/text/index.module.css.js.map +1 -0
- package/esm/title/alfasans-index.css +11 -33
- package/esm/title/alfasans-index.module.css.js +6 -0
- package/esm/title/alfasans-index.module.css.js.map +1 -0
- package/esm/title/common.css +9 -31
- package/esm/title/common.module.css.js +6 -0
- package/esm/title/common.module.css.js.map +1 -0
- package/esm/title/component.d.ts +12 -14
- package/esm/title/component.js +2 -1
- package/esm/title/component.js.map +1 -0
- package/esm/title/index.css +21 -42
- package/esm/title/index.d.ts +4 -5
- package/esm/title/index.js +4 -7
- package/esm/title/index.js.map +1 -0
- package/esm/title/index.module.css.js +6 -0
- package/esm/title/index.module.css.js.map +1 -0
- package/esm/title/utils.d.ts +1 -2
- package/esm/title/utils.js +1 -0
- package/esm/title/utils.js.map +1 -0
- package/esm/title-mobile/alfasans-index.css +11 -33
- package/esm/title-mobile/alfasans-index.module.css.js +6 -0
- package/esm/title-mobile/alfasans-index.module.css.js.map +1 -0
- package/esm/title-mobile/component.d.ts +4 -6
- package/esm/title-mobile/component.js +4 -7
- package/esm/title-mobile/component.js.map +1 -0
- package/esm/title-mobile/index.css +19 -40
- package/esm/title-mobile/index.d.ts +2 -2
- package/esm/title-mobile/index.js +1 -0
- package/esm/title-mobile/index.js.map +1 -0
- package/esm/title-mobile/index.module.css.js +6 -0
- package/esm/title-mobile/index.module.css.js.map +1 -0
- package/esm/title-responsive/component.d.ts +6 -8
- package/esm/title-responsive/component.js +1 -0
- package/esm/title-responsive/component.js.map +1 -0
- package/esm/title-responsive/index.d.ts +1 -1
- package/esm/title-responsive/index.js +1 -0
- package/esm/title-responsive/index.js.map +1 -0
- package/esm/types.d.ts +1 -2
- package/esm/types.js +1 -0
- package/esm/types.js.map +1 -0
- package/index.d.ts +5 -5
- package/index.js +9 -8
- package/index.js.map +1 -0
- package/modern/colors.css +22 -44
- package/modern/colors.d.ts +2 -3
- package/modern/colors.js +1 -0
- package/modern/colors.js.map +1 -0
- package/modern/colors.module.css.js +6 -0
- package/modern/colors.module.css.js.map +1 -0
- package/modern/component.d.ts +7 -7
- package/modern/component.js +1 -0
- package/modern/component.js.map +1 -0
- package/modern/index.d.ts +5 -5
- package/modern/index.js +1 -0
- package/modern/index.js.map +1 -0
- package/modern/presets.d.ts +1 -2
- package/modern/presets.js +1 -0
- package/modern/presets.js.map +1 -0
- package/modern/text/alfasans-index.css +30 -58
- package/modern/text/alfasans-index.module.css.js +6 -0
- package/modern/text/alfasans-index.module.css.js.map +1 -0
- package/modern/text/component.d.ts +10 -12
- package/modern/text/component.js +4 -7
- package/modern/text/component.js.map +1 -0
- package/modern/text/index.css +24 -45
- package/modern/text/index.d.ts +1 -1
- package/modern/text/index.js +1 -0
- package/modern/text/index.js.map +1 -0
- package/modern/text/index.module.css.js +6 -0
- package/modern/text/index.module.css.js.map +1 -0
- package/modern/title/alfasans-index.css +11 -33
- package/modern/title/alfasans-index.module.css.js +6 -0
- package/modern/title/alfasans-index.module.css.js.map +1 -0
- package/modern/title/common.css +9 -31
- package/modern/title/common.module.css.js +6 -0
- package/modern/title/common.module.css.js.map +1 -0
- package/modern/title/component.d.ts +12 -14
- package/modern/title/component.js +2 -1
- package/modern/title/component.js.map +1 -0
- package/modern/title/index.css +21 -42
- package/modern/title/index.d.ts +4 -5
- package/modern/title/index.js +4 -7
- package/modern/title/index.js.map +1 -0
- package/modern/title/index.module.css.js +6 -0
- package/modern/title/index.module.css.js.map +1 -0
- package/modern/title/utils.d.ts +1 -2
- package/modern/title/utils.js +1 -0
- package/modern/title/utils.js.map +1 -0
- package/modern/title-mobile/alfasans-index.css +11 -33
- package/modern/title-mobile/alfasans-index.module.css.js +6 -0
- package/modern/title-mobile/alfasans-index.module.css.js.map +1 -0
- package/modern/title-mobile/component.d.ts +4 -6
- package/modern/title-mobile/component.js +4 -7
- package/modern/title-mobile/component.js.map +1 -0
- package/modern/title-mobile/index.css +19 -40
- package/modern/title-mobile/index.d.ts +2 -2
- package/modern/title-mobile/index.js +1 -0
- package/modern/title-mobile/index.js.map +1 -0
- package/modern/title-mobile/index.module.css.js +6 -0
- package/modern/title-mobile/index.module.css.js.map +1 -0
- package/modern/title-responsive/component.d.ts +6 -8
- package/modern/title-responsive/component.js +1 -0
- package/modern/title-responsive/component.js.map +1 -0
- package/modern/title-responsive/index.d.ts +1 -1
- package/modern/title-responsive/index.js +1 -0
- package/modern/title-responsive/index.js.map +1 -0
- package/modern/types.d.ts +1 -2
- package/modern/types.js +1 -0
- package/modern/types.js.map +1 -0
- package/moderncssm/colors.d.ts +2 -3
- package/moderncssm/colors.js +1 -0
- package/moderncssm/colors.js.map +1 -0
- package/moderncssm/colors.module.css +0 -4
- package/moderncssm/component.d.ts +7 -7
- package/moderncssm/component.js +1 -0
- package/moderncssm/component.js.map +1 -0
- package/moderncssm/index.d.ts +5 -5
- package/moderncssm/index.js +1 -0
- package/moderncssm/index.js.map +1 -0
- package/moderncssm/presets.d.ts +1 -2
- package/moderncssm/presets.js +1 -0
- package/moderncssm/presets.js.map +1 -0
- package/moderncssm/text/alfasans-index.module.css +18 -29
- package/moderncssm/text/component.d.ts +10 -12
- package/moderncssm/text/component.js +1 -0
- package/moderncssm/text/component.js.map +1 -0
- package/moderncssm/text/index.d.ts +1 -1
- package/moderncssm/text/index.js +1 -0
- package/moderncssm/text/index.js.map +1 -0
- package/moderncssm/text/index.module.css +0 -1
- package/moderncssm/title/alfasans-index.module.css +2 -23
- package/moderncssm/title/common.module.css +0 -2
- package/moderncssm/title/component.d.ts +12 -14
- package/moderncssm/title/component.js +1 -0
- package/moderncssm/title/component.js.map +1 -0
- package/moderncssm/title/index.d.ts +4 -5
- package/moderncssm/title/index.js +1 -0
- package/moderncssm/title/index.js.map +1 -0
- package/moderncssm/title/index.module.css +0 -1
- package/moderncssm/title/utils.d.ts +1 -2
- package/moderncssm/title/utils.js +1 -0
- package/moderncssm/title/utils.js.map +1 -0
- package/moderncssm/title-mobile/alfasans-index.module.css +2 -23
- package/moderncssm/title-mobile/component.d.ts +4 -6
- package/moderncssm/title-mobile/component.js +1 -0
- package/moderncssm/title-mobile/component.js.map +1 -0
- package/moderncssm/title-mobile/index.d.ts +2 -2
- package/moderncssm/title-mobile/index.js +1 -0
- package/moderncssm/title-mobile/index.js.map +1 -0
- package/moderncssm/title-mobile/index.module.css +0 -1
- package/moderncssm/title-responsive/component.d.ts +6 -8
- package/moderncssm/title-responsive/component.js +1 -0
- package/moderncssm/title-responsive/component.js.map +1 -0
- package/moderncssm/title-responsive/index.d.ts +1 -1
- package/moderncssm/title-responsive/index.js +1 -0
- package/moderncssm/title-responsive/index.js.map +1 -0
- package/moderncssm/types.d.ts +1 -2
- package/moderncssm/types.js +1 -0
- package/moderncssm/types.js.map +1 -0
- package/package.json +8 -8
- package/presets.d.ts +1 -2
- package/presets.js +1 -0
- package/presets.js.map +1 -0
- package/text/alfasans-index.css +30 -58
- package/text/alfasans-index.module.css.js +8 -0
- package/text/alfasans-index.module.css.js.map +1 -0
- package/text/component.d.ts +10 -12
- package/text/component.js +12 -15
- package/text/component.js.map +1 -0
- package/text/index.css +24 -45
- package/text/index.d.ts +1 -1
- package/text/index.js +3 -2
- package/text/index.js.map +1 -0
- package/text/index.module.css.js +8 -0
- package/text/index.module.css.js.map +1 -0
- package/title/alfasans-index.css +11 -33
- package/title/alfasans-index.module.css.js +8 -0
- package/title/alfasans-index.module.css.js.map +1 -0
- package/title/common.css +9 -31
- package/title/common.module.css.js +8 -0
- package/title/common.module.css.js.map +1 -0
- package/title/component.d.ts +12 -14
- package/title/component.js +5 -4
- package/title/component.js.map +1 -0
- package/title/index.css +21 -42
- package/title/index.d.ts +4 -5
- package/title/index.js +7 -10
- package/title/index.js.map +1 -0
- package/title/index.module.css.js +8 -0
- package/title/index.module.css.js.map +1 -0
- package/title/utils.d.ts +1 -2
- package/title/utils.js +1 -0
- package/title/utils.js.map +1 -0
- package/title-mobile/alfasans-index.css +11 -33
- package/title-mobile/alfasans-index.module.css.js +8 -0
- package/title-mobile/alfasans-index.module.css.js.map +1 -0
- package/title-mobile/component.d.ts +4 -6
- package/title-mobile/component.js +7 -10
- package/title-mobile/component.js.map +1 -0
- package/title-mobile/index.css +19 -40
- package/title-mobile/index.d.ts +2 -2
- package/title-mobile/index.js +3 -2
- package/title-mobile/index.js.map +1 -0
- package/title-mobile/index.module.css.js +8 -0
- package/title-mobile/index.module.css.js.map +1 -0
- package/title-responsive/component.d.ts +6 -8
- package/title-responsive/component.js +4 -3
- package/title-responsive/component.js.map +1 -0
- package/title-responsive/index.d.ts +1 -1
- package/title-responsive/index.js +3 -2
- package/title-responsive/index.js.map +1 -0
- package/types.d.ts +1 -2
- package/types.js +1 -0
- package/types.js.map +1 -0
- package/colors.module-0ab37907.js +0 -6
- package/common.module-162cc30e.js +0 -6
- package/cssm/common.module.css +0 -3
- package/cssm/margins.module.css +0 -1
- package/esm/colors.module-719e5e74.js +0 -4
- package/esm/common.module-2fe7f697.js +0 -4
- package/modern/colors.module-8f6f35d9.js +0 -4
- package/modern/common.module-3e4facd7.js +0 -4
- package/moderncssm/common.module.css +0 -3
- package/moderncssm/margins.module.css +0 -1
package/colors.css
CHANGED
|
@@ -1,6 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
:root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
3
|
-
} /* deprecated */ :root {
|
|
1
|
+
:root {
|
|
4
2
|
--color-light-accent-primary: #ef3124;
|
|
5
3
|
--color-light-text-attention: #ea8313;
|
|
6
4
|
--color-light-text-info: #2a77ef;
|
|
@@ -20,65 +18,45 @@
|
|
|
20
18
|
--color-static-text-secondary-dark: rgba(4, 4, 19, 0.55);
|
|
21
19
|
--color-static-text-secondary-light: rgba(238, 238, 251, 0.55);
|
|
22
20
|
--color-static-text-tertiary-dark: rgba(5, 8, 29, 0.38);
|
|
23
|
-
--color-static-text-tertiary-light: rgba(233, 233, 250, 0.37);
|
|
24
|
-
}
|
|
25
|
-
} :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
26
|
-
} :root {
|
|
27
|
-
|
|
28
|
-
/* Hard */
|
|
29
|
-
|
|
30
|
-
/* Up */
|
|
31
|
-
|
|
32
|
-
/* Hard up */
|
|
33
|
-
} :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
34
|
-
|
|
35
|
-
/* новые значения, используйте их */
|
|
36
|
-
} :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
37
|
-
|
|
38
|
-
/* новые значения, используйте их */
|
|
39
|
-
|
|
40
|
-
/* no-unit может приводить к проблемам в calc (#1559) */
|
|
41
|
-
/* stylelint-disable-next-line length-zero-no-unit */
|
|
42
|
-
} :root {
|
|
43
|
-
} /* @deprecated */ /* @deprecated */ /* @deprecated */ /* @deprecated */ /* @deprecated */ :root {
|
|
44
|
-
} /* сбрасывает синюю подсветку при нажатии */ /* colors */ .typography__tertiary_emyw2 {
|
|
21
|
+
--color-static-text-tertiary-light: rgba(233, 233, 250, 0.37);
|
|
22
|
+
} .typography__tertiary_d8qh8 {
|
|
45
23
|
color: var(--color-light-text-tertiary);
|
|
46
|
-
} .
|
|
24
|
+
} .typography__disabled_d8qh8 {
|
|
47
25
|
color: var(--color-light-text-quaternary);
|
|
48
|
-
} .
|
|
26
|
+
} .typography__accent_d8qh8 {
|
|
49
27
|
color: var(--color-light-accent-primary);
|
|
50
|
-
} .
|
|
28
|
+
} .typography__primary_d8qh8 {
|
|
51
29
|
color: var(--color-light-text-primary);
|
|
52
|
-
} .
|
|
30
|
+
} .typography__attention_d8qh8 {
|
|
53
31
|
color: var(--color-light-text-attention);
|
|
54
|
-
} .
|
|
32
|
+
} .typography__positive_d8qh8 {
|
|
55
33
|
color: var(--color-light-text-positive);
|
|
56
|
-
} .
|
|
34
|
+
} .typography__secondary_d8qh8 {
|
|
57
35
|
color: var(--color-light-text-secondary);
|
|
58
|
-
} .typography__tertiary-
|
|
36
|
+
} .typography__tertiary-inverted_d8qh8 {
|
|
59
37
|
color: var(--color-light-text-tertiary-inverted);
|
|
60
|
-
} .typography__primary-
|
|
38
|
+
} .typography__primary-inverted_d8qh8 {
|
|
61
39
|
color: var(--color-light-text-primary-inverted);
|
|
62
|
-
} .typography__secondary-
|
|
40
|
+
} .typography__secondary-inverted_d8qh8 {
|
|
63
41
|
color: var(--color-light-text-secondary-inverted);
|
|
64
|
-
} .
|
|
42
|
+
} .typography__link_d8qh8 {
|
|
65
43
|
color: var(--color-light-text-info);
|
|
66
|
-
} .
|
|
44
|
+
} .typography__negative_d8qh8 {
|
|
67
45
|
color: var(--color-light-text-negative);
|
|
68
|
-
} .typography__static-primary-
|
|
46
|
+
} .typography__static-primary-light_d8qh8 {
|
|
69
47
|
color: var(--color-static-text-primary-light);
|
|
70
|
-
} .typography__static-secondary-
|
|
48
|
+
} .typography__static-secondary-light_d8qh8 {
|
|
71
49
|
color: var(--color-static-text-secondary-light);
|
|
72
|
-
} .typography__static-tertiary-
|
|
50
|
+
} .typography__static-tertiary-light_d8qh8 {
|
|
73
51
|
color: var(--color-static-text-tertiary-light);
|
|
74
|
-
} .typography__static-primary-
|
|
52
|
+
} .typography__static-primary-dark_d8qh8 {
|
|
75
53
|
color: var(--color-static-text-primary-dark);
|
|
76
|
-
} .typography__static-secondary-
|
|
54
|
+
} .typography__static-secondary-dark_d8qh8 {
|
|
77
55
|
color: var(--color-static-text-secondary-dark);
|
|
78
|
-
} .typography__static-tertiary-
|
|
56
|
+
} .typography__static-tertiary-dark_d8qh8 {
|
|
79
57
|
color: var(--color-static-text-tertiary-dark);
|
|
80
|
-
} .typography__static-
|
|
58
|
+
} .typography__static-accent_d8qh8 {
|
|
81
59
|
color: var(--color-static-accent-primary);
|
|
82
|
-
} .typography__static-
|
|
60
|
+
} .typography__static-positive_d8qh8 {
|
|
83
61
|
color: var(--color-static-text-positive);
|
|
84
62
|
}
|
package/colors.d.ts
CHANGED
|
@@ -1,3 +1,2 @@
|
|
|
1
|
-
declare const colors: readonly ["tertiary", "disabled", "accent", "primary", "attention", "positive", "secondary", "tertiary-inverted", "primary-inverted", "secondary-inverted", "link", "negative", "static-primary-light", "static-secondary-light", "static-tertiary-light", "static-primary-dark", "static-secondary-dark", "static-tertiary-dark", "static-accent", "static-positive"];
|
|
2
|
-
type Color = (typeof colors)[number];
|
|
3
|
-
export { colors, Color };
|
|
1
|
+
export declare const colors: readonly ["tertiary", "disabled", "accent", "primary", "attention", "positive", "secondary", "tertiary-inverted", "primary-inverted", "secondary-inverted", "link", "negative", "static-primary-light", "static-secondary-light", "static-tertiary-light", "static-primary-dark", "static-secondary-dark", "static-tertiary-dark", "static-accent", "static-positive"];
|
|
2
|
+
export declare type Color = (typeof colors)[number];
|
package/colors.js
CHANGED
package/colors.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"colors.js","sources":["src/colors.ts"],"sourcesContent":["export const colors = [\n 'tertiary',\n 'disabled',\n 'accent',\n 'primary',\n 'attention',\n 'positive',\n 'secondary',\n 'tertiary-inverted',\n 'primary-inverted',\n 'secondary-inverted',\n 'link',\n 'negative',\n 'static-primary-light',\n 'static-secondary-light',\n 'static-tertiary-light',\n 'static-primary-dark',\n 'static-secondary-dark',\n 'static-tertiary-dark',\n 'static-accent',\n 'static-positive',\n] as const;\n\nexport type Color = (typeof colors)[number];\n"],"names":[],"mappings":";;;;AAAa,IAAA,MAAM,GAAG;IAClB,UAAU;IACV,UAAU;IACV,QAAQ;IACR,SAAS;IACT,WAAW;IACX,UAAU;IACV,WAAW;IACX,mBAAmB;IACnB,kBAAkB;IAClB,oBAAoB;IACpB,MAAM;IACN,UAAU;IACV,sBAAsB;IACtB,wBAAwB;IACxB,uBAAuB;IACvB,qBAAqB;IACrB,uBAAuB;IACvB,sBAAsB;IACtB,eAAe;IACf,iBAAiB;;;;;"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
require('./colors.css');
|
|
4
|
+
|
|
5
|
+
var colors = {"tertiary":"typography__tertiary_d8qh8","disabled":"typography__disabled_d8qh8","accent":"typography__accent_d8qh8","primary":"typography__primary_d8qh8","attention":"typography__attention_d8qh8","positive":"typography__positive_d8qh8","secondary":"typography__secondary_d8qh8","tertiary-inverted":"typography__tertiary-inverted_d8qh8","primary-inverted":"typography__primary-inverted_d8qh8","secondary-inverted":"typography__secondary-inverted_d8qh8","link":"typography__link_d8qh8","negative":"typography__negative_d8qh8","static-primary-light":"typography__static-primary-light_d8qh8","static-secondary-light":"typography__static-secondary-light_d8qh8","static-tertiary-light":"typography__static-tertiary-light_d8qh8","static-primary-dark":"typography__static-primary-dark_d8qh8","static-secondary-dark":"typography__static-secondary-dark_d8qh8","static-tertiary-dark":"typography__static-tertiary-dark_d8qh8","static-accent":"typography__static-accent_d8qh8","static-positive":"typography__static-positive_d8qh8"};
|
|
6
|
+
|
|
7
|
+
module.exports = colors;
|
|
8
|
+
//# sourceMappingURL=colors.module.css.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"colors.module.css.js","sources":["src/colors.module.css"],"sourcesContent":["@import '@alfalab/core-components-vars/src/index.css';\n\n/* colors */\n\n.tertiary {\n color: var(--color-light-text-tertiary);\n}\n\n.disabled {\n color: var(--color-light-text-quaternary);\n}\n\n.accent {\n color: var(--color-light-accent-primary);\n}\n\n.primary {\n color: var(--color-light-text-primary);\n}\n\n.attention {\n color: var(--color-light-text-attention);\n}\n\n.positive {\n color: var(--color-light-text-positive);\n}\n\n.secondary {\n color: var(--color-light-text-secondary);\n}\n\n.tertiary-inverted {\n color: var(--color-light-text-tertiary-inverted);\n}\n\n.primary-inverted {\n color: var(--color-light-text-primary-inverted);\n}\n\n.secondary-inverted {\n color: var(--color-light-text-secondary-inverted);\n}\n\n.link {\n color: var(--color-light-text-info);\n}\n\n.negative {\n color: var(--color-light-text-negative);\n}\n\n.static-primary-light {\n color: var(--color-static-text-primary-light);\n}\n\n.static-secondary-light {\n color: var(--color-static-text-secondary-light);\n}\n\n.static-tertiary-light {\n color: var(--color-static-text-tertiary-light);\n}\n\n.static-primary-dark {\n color: var(--color-static-text-primary-dark);\n}\n\n.static-secondary-dark {\n color: var(--color-static-text-secondary-dark);\n}\n\n.static-tertiary-dark {\n color: var(--color-static-text-tertiary-dark);\n}\n\n.static-accent {\n color: var(--color-static-accent-primary);\n}\n\n.static-positive {\n color: var(--color-static-text-positive);\n}\n"],"names":[],"mappings":";;;;AAEgB,aAAe,CAAC,UAAU,CAAC,4BAA4B,CAAC,UAAU,CAAC,4BAA4B,CAAC,QAAQ,CAAC,0BAA0B,CAAC,SAAS,CAAC,2BAA2B,CAAC,WAAW,CAAC,6BAA6B,CAAC,UAAU,CAAC,4BAA4B,CAAC,WAAW,CAAC,6BAA6B,CAAC,mBAAmB,CAAC,qCAAqC,CAAC,kBAAkB,CAAC,oCAAoC,CAAC,oBAAoB,CAAC,sCAAsC,CAAC,MAAM,CAAC,wBAAwB,CAAC,UAAU,CAAC,4BAA4B,CAAC,sBAAsB,CAAC,wCAAwC,CAAC,wBAAwB,CAAC,0CAA0C,CAAC,uBAAuB,CAAC,yCAAyC,CAAC,qBAAqB,CAAC,uCAAuC,CAAC,uBAAuB,CAAC,yCAAyC,CAAC,sBAAsB,CAAC,wCAAwC,CAAC,eAAe,CAAC,iCAAiC,CAAC,iBAAiB,CAAC,mCAAmC,CAAC;;;;"}
|
package/component.d.ts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { FC, ForwardRefExoticComponent, RefAttributes } from 'react';
|
|
2
|
-
import { Text, TextProps } from
|
|
3
|
-
import { Title, TitleProps } from
|
|
4
|
-
import { TitleMobile, TitleMobileProps } from
|
|
5
|
-
import { TitleResponsive, TitleResponsiveProps } from
|
|
6
|
-
import { TextElementType } from
|
|
7
|
-
declare const Typography: {
|
|
2
|
+
import { Text, TextProps } from './text';
|
|
3
|
+
import { Title, TitleProps } from './title';
|
|
4
|
+
import { TitleMobile, TitleMobileProps } from './title-mobile';
|
|
5
|
+
import { TitleResponsive, TitleResponsiveProps } from './title-responsive';
|
|
6
|
+
import { TextElementType } from './types';
|
|
7
|
+
export declare const Typography: {
|
|
8
8
|
Title: FC<TitleProps>;
|
|
9
9
|
Text: ForwardRefExoticComponent<TextProps & RefAttributes<TextElementType>>;
|
|
10
10
|
TitleResponsive: FC<TitleResponsiveProps>;
|
|
11
11
|
TitleMobile: FC<TitleMobileProps>;
|
|
12
12
|
};
|
|
13
|
-
export {
|
|
13
|
+
export { Text, Title as TitleDesktop, TitleResponsive, TitleMobile };
|
package/component.js
CHANGED
|
@@ -2,20 +2,21 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var
|
|
6
|
-
var
|
|
7
|
-
var
|
|
8
|
-
var
|
|
5
|
+
var component = require('./text/component.js');
|
|
6
|
+
var index = require('./title/index.js');
|
|
7
|
+
var component$2 = require('./title-mobile/component.js');
|
|
8
|
+
var component$1 = require('./title-responsive/component.js');
|
|
9
9
|
|
|
10
10
|
var Typography = {
|
|
11
|
-
Title:
|
|
12
|
-
Text:
|
|
13
|
-
TitleResponsive:
|
|
14
|
-
TitleMobile:
|
|
11
|
+
Title: index.Title,
|
|
12
|
+
Text: component.Text,
|
|
13
|
+
TitleResponsive: component$1.TitleResponsive,
|
|
14
|
+
TitleMobile: component$2.TitleMobile,
|
|
15
15
|
};
|
|
16
16
|
|
|
17
|
-
exports.Text =
|
|
18
|
-
exports.TitleDesktop =
|
|
19
|
-
exports.TitleMobile =
|
|
20
|
-
exports.TitleResponsive =
|
|
17
|
+
exports.Text = component.Text;
|
|
18
|
+
exports.TitleDesktop = index.Title;
|
|
19
|
+
exports.TitleMobile = component$2.TitleMobile;
|
|
20
|
+
exports.TitleResponsive = component$1.TitleResponsive;
|
|
21
21
|
exports.Typography = Typography;
|
|
22
|
+
//# sourceMappingURL=component.js.map
|
package/component.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"component.js","sources":["src/component.tsx"],"sourcesContent":["import { FC, ForwardRefExoticComponent, RefAttributes } from 'react';\n\nimport { Text, TextProps } from './text';\nimport { Title, TitleProps } from './title';\nimport { TitleMobile, TitleMobileProps } from './title-mobile';\nimport { TitleResponsive, TitleResponsiveProps } from './title-responsive';\nimport { TextElementType } from './types';\n\nexport const Typography: {\n Title: FC<TitleProps>;\n Text: ForwardRefExoticComponent<TextProps & RefAttributes<TextElementType>>;\n TitleResponsive: FC<TitleResponsiveProps>;\n TitleMobile: FC<TitleMobileProps>;\n} = {\n Title,\n Text,\n TitleResponsive,\n TitleMobile,\n};\n\nexport { Text, Title as TitleDesktop, TitleResponsive, TitleMobile };\n"],"names":["Title","Text","TitleResponsive","TitleMobile"],"mappings":";;;;;;;;;AAQa,IAAA,UAAU,GAKnB;AACA,IAAA,KAAK,EAAAA,WAAA;AACL,IAAA,IAAI,EAAAC,cAAA;AACJ,IAAA,eAAe,EAAAC,2BAAA;AACf,IAAA,WAAW,EAAAC,uBAAA;;;;;;;;;"}
|
package/cssm/colors.d.ts
CHANGED
|
@@ -1,3 +1,2 @@
|
|
|
1
|
-
declare const colors: readonly ["tertiary", "disabled", "accent", "primary", "attention", "positive", "secondary", "tertiary-inverted", "primary-inverted", "secondary-inverted", "link", "negative", "static-primary-light", "static-secondary-light", "static-tertiary-light", "static-primary-dark", "static-secondary-dark", "static-tertiary-dark", "static-accent", "static-positive"];
|
|
2
|
-
type Color = (typeof colors)[number];
|
|
3
|
-
export { colors, Color };
|
|
1
|
+
export declare const colors: readonly ["tertiary", "disabled", "accent", "primary", "attention", "positive", "secondary", "tertiary-inverted", "primary-inverted", "secondary-inverted", "link", "negative", "static-primary-light", "static-secondary-light", "static-tertiary-light", "static-primary-dark", "static-secondary-dark", "static-tertiary-dark", "static-accent", "static-positive"];
|
|
2
|
+
export declare type Color = (typeof colors)[number];
|
package/cssm/colors.js
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"colors.js","sources":["../src/colors.ts"],"sourcesContent":["export const colors = [\n 'tertiary',\n 'disabled',\n 'accent',\n 'primary',\n 'attention',\n 'positive',\n 'secondary',\n 'tertiary-inverted',\n 'primary-inverted',\n 'secondary-inverted',\n 'link',\n 'negative',\n 'static-primary-light',\n 'static-secondary-light',\n 'static-tertiary-light',\n 'static-primary-dark',\n 'static-secondary-dark',\n 'static-tertiary-dark',\n 'static-accent',\n 'static-positive',\n] as const;\n\nexport type Color = (typeof colors)[number];\n"],"names":[],"mappings":";;;;AAAa,IAAA,MAAM,GAAG;IAClB,UAAU;IACV,UAAU;IACV,QAAQ;IACR,SAAS;IACT,WAAW;IACX,UAAU;IACV,WAAW;IACX,mBAAmB;IACnB,kBAAkB;IAClB,oBAAoB;IACpB,MAAM;IACN,UAAU;IACV,sBAAsB;IACtB,wBAAwB;IACxB,uBAAuB;IACvB,qBAAqB;IACrB,uBAAuB;IACvB,sBAAsB;IACtB,eAAe;IACf,iBAAiB;;;;;"}
|
package/cssm/colors.module.css
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
:root {
|
|
2
|
-
} /* deprecated */ :root {
|
|
1
|
+
:root {
|
|
3
2
|
--color-light-accent-primary: #ef3124;
|
|
4
3
|
--color-light-text-attention: #ea8313;
|
|
5
4
|
--color-light-text-info: #2a77ef;
|
|
@@ -19,28 +18,8 @@
|
|
|
19
18
|
--color-static-text-secondary-dark: rgba(4, 4, 19, 0.55);
|
|
20
19
|
--color-static-text-secondary-light: rgba(238, 238, 251, 0.55);
|
|
21
20
|
--color-static-text-tertiary-dark: rgba(5, 8, 29, 0.38);
|
|
22
|
-
--color-static-text-tertiary-light: rgba(233, 233, 250, 0.37);
|
|
23
|
-
}
|
|
24
|
-
} :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
25
|
-
} :root {
|
|
26
|
-
|
|
27
|
-
/* Hard */
|
|
28
|
-
|
|
29
|
-
/* Up */
|
|
30
|
-
|
|
31
|
-
/* Hard up */
|
|
32
|
-
} :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
33
|
-
|
|
34
|
-
/* новые значения, используйте их */
|
|
35
|
-
} :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
36
|
-
|
|
37
|
-
/* новые значения, используйте их */
|
|
38
|
-
|
|
39
|
-
/* no-unit может приводить к проблемам в calc (#1559) */
|
|
40
|
-
/* stylelint-disable-next-line length-zero-no-unit */
|
|
41
|
-
} :root {
|
|
42
|
-
} /* @deprecated */ /* @deprecated */ /* @deprecated */ /* @deprecated */ /* @deprecated */ :root {
|
|
43
|
-
} /* сбрасывает синюю подсветку при нажатии */ /* colors */ .tertiary {
|
|
21
|
+
--color-static-text-tertiary-light: rgba(233, 233, 250, 0.37);
|
|
22
|
+
} .tertiary {
|
|
44
23
|
color: var(--color-light-text-tertiary);
|
|
45
24
|
} .disabled {
|
|
46
25
|
color: var(--color-light-text-quaternary);
|
package/cssm/component.d.ts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { FC, ForwardRefExoticComponent, RefAttributes } from 'react';
|
|
2
|
-
import { Text, TextProps } from
|
|
3
|
-
import { Title, TitleProps } from
|
|
4
|
-
import { TitleMobile, TitleMobileProps } from
|
|
5
|
-
import { TitleResponsive, TitleResponsiveProps } from
|
|
6
|
-
import { TextElementType } from
|
|
7
|
-
declare const Typography: {
|
|
2
|
+
import { Text, TextProps } from './text';
|
|
3
|
+
import { Title, TitleProps } from './title';
|
|
4
|
+
import { TitleMobile, TitleMobileProps } from './title-mobile';
|
|
5
|
+
import { TitleResponsive, TitleResponsiveProps } from './title-responsive';
|
|
6
|
+
import { TextElementType } from './types';
|
|
7
|
+
export declare const Typography: {
|
|
8
8
|
Title: FC<TitleProps>;
|
|
9
9
|
Text: ForwardRefExoticComponent<TextProps & RefAttributes<TextElementType>>;
|
|
10
10
|
TitleResponsive: FC<TitleResponsiveProps>;
|
|
11
11
|
TitleMobile: FC<TitleMobileProps>;
|
|
12
12
|
};
|
|
13
|
-
export {
|
|
13
|
+
export { Text, Title as TitleDesktop, TitleResponsive, TitleMobile };
|
package/cssm/component.js
CHANGED
|
@@ -2,20 +2,21 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var
|
|
6
|
-
var
|
|
7
|
-
var
|
|
8
|
-
var
|
|
5
|
+
var component = require('./text/component.js');
|
|
6
|
+
var index = require('./title/index.js');
|
|
7
|
+
var component$2 = require('./title-mobile/component.js');
|
|
8
|
+
var component$1 = require('./title-responsive/component.js');
|
|
9
9
|
|
|
10
10
|
var Typography = {
|
|
11
|
-
Title:
|
|
12
|
-
Text:
|
|
13
|
-
TitleResponsive:
|
|
14
|
-
TitleMobile:
|
|
11
|
+
Title: index.Title,
|
|
12
|
+
Text: component.Text,
|
|
13
|
+
TitleResponsive: component$1.TitleResponsive,
|
|
14
|
+
TitleMobile: component$2.TitleMobile,
|
|
15
15
|
};
|
|
16
16
|
|
|
17
|
-
exports.Text =
|
|
18
|
-
exports.TitleDesktop =
|
|
19
|
-
exports.TitleMobile =
|
|
20
|
-
exports.TitleResponsive =
|
|
17
|
+
exports.Text = component.Text;
|
|
18
|
+
exports.TitleDesktop = index.Title;
|
|
19
|
+
exports.TitleMobile = component$2.TitleMobile;
|
|
20
|
+
exports.TitleResponsive = component$1.TitleResponsive;
|
|
21
21
|
exports.Typography = Typography;
|
|
22
|
+
//# sourceMappingURL=component.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"component.js","sources":["../src/component.tsx"],"sourcesContent":["import { FC, ForwardRefExoticComponent, RefAttributes } from 'react';\n\nimport { Text, TextProps } from './text';\nimport { Title, TitleProps } from './title';\nimport { TitleMobile, TitleMobileProps } from './title-mobile';\nimport { TitleResponsive, TitleResponsiveProps } from './title-responsive';\nimport { TextElementType } from './types';\n\nexport const Typography: {\n Title: FC<TitleProps>;\n Text: ForwardRefExoticComponent<TextProps & RefAttributes<TextElementType>>;\n TitleResponsive: FC<TitleResponsiveProps>;\n TitleMobile: FC<TitleMobileProps>;\n} = {\n Title,\n Text,\n TitleResponsive,\n TitleMobile,\n};\n\nexport { Text, Title as TitleDesktop, TitleResponsive, TitleMobile };\n"],"names":["Title","Text","TitleResponsive","TitleMobile"],"mappings":";;;;;;;;;AAQa,IAAA,UAAU,GAKnB;AACA,IAAA,KAAK,EAAAA,WAAA;AACL,IAAA,IAAI,EAAAC,cAAA;AACJ,IAAA,eAAe,EAAAC,2BAAA;AACf,IAAA,WAAW,EAAAC,uBAAA;;;;;;;;;"}
|
package/cssm/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export * from
|
|
2
|
-
export * from
|
|
3
|
-
export type { TitleProps } from
|
|
4
|
-
export type { TextProps } from
|
|
5
|
-
export type { Color } from
|
|
1
|
+
export * from './component';
|
|
2
|
+
export * from './presets';
|
|
3
|
+
export type { TitleProps } from './title';
|
|
4
|
+
export type { TextProps } from './text';
|
|
5
|
+
export type { Color } from './colors';
|
package/cssm/index.js
CHANGED
|
@@ -4,16 +4,17 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
var component = require('./component.js');
|
|
6
6
|
var presets = require('./presets.js');
|
|
7
|
-
var
|
|
8
|
-
var
|
|
9
|
-
var
|
|
10
|
-
var
|
|
7
|
+
var component$1 = require('./text/component.js');
|
|
8
|
+
var index = require('./title/index.js');
|
|
9
|
+
var component$2 = require('./title-responsive/component.js');
|
|
10
|
+
var component$3 = require('./title-mobile/component.js');
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
exports.Typography = component.Typography;
|
|
15
15
|
exports.typographyPresets = presets.typographyPresets;
|
|
16
|
-
exports.Text =
|
|
17
|
-
exports.TitleDesktop =
|
|
18
|
-
exports.TitleResponsive =
|
|
19
|
-
exports.TitleMobile =
|
|
16
|
+
exports.Text = component$1.Text;
|
|
17
|
+
exports.TitleDesktop = index.Title;
|
|
18
|
+
exports.TitleResponsive = component$2.TitleResponsive;
|
|
19
|
+
exports.TitleMobile = component$3.TitleMobile;
|
|
20
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;"}
|
package/cssm/presets.d.ts
CHANGED
package/cssm/presets.js
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"presets.js","sources":["../src/presets.ts"],"sourcesContent":["export const typographyPresets = {\n mobile: {\n list: {\n text: {\n primary: {\n tag: 'div',\n view: 'primary-medium',\n },\n secondary: {\n tag: 'div',\n color: 'secondary',\n view: 'primary-small',\n },\n },\n },\n },\n};\n"],"names":[],"mappings":";;;;AAAa,IAAA,iBAAiB,GAAG;AAC7B,IAAA,MAAM,EAAE;AACJ,QAAA,IAAI,EAAE;AACF,YAAA,IAAI,EAAE;AACF,gBAAA,OAAO,EAAE;AACL,oBAAA,GAAG,EAAE,KAAK;AACV,oBAAA,IAAI,EAAE,gBAAgB;AACzB,iBAAA;AACD,gBAAA,SAAS,EAAE;AACP,oBAAA,GAAG,EAAE,KAAK;AACV,oBAAA,KAAK,EAAE,WAAW;AAClB,oBAAA,IAAI,EAAE,eAAe;AACxB,iBAAA;AACJ,aAAA;AACJ,SAAA;AACJ,KAAA;;;;;"}
|