@alfalab/core-components-typography 4.13.1 → 49.0.0-snapshot-fbb690e
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/hooks/index.d.ts +1 -1
- package/cssm/hooks/index.js +3 -2
- package/cssm/hooks/index.js.map +1 -0
- package/cssm/hooks/use-skeleton.d.ts +4 -5
- package/cssm/hooks/use-skeleton.js +3 -2
- package/cssm/hooks/use-skeleton.js.map +1 -0
- package/cssm/hooks/use-skeleton.module.css +3 -23
- 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 +9 -11
- 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 +9 -11
- package/cssm/title/component.js +7 -6
- package/cssm/title/component.js.map +1 -0
- package/cssm/title/index.d.ts +1 -2
- 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 +1 -3
- 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 +3 -5
- 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 +4 -4
- 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/hooks/index.d.ts +1 -1
- package/esm/hooks/index.js +1 -0
- package/esm/hooks/index.js.map +1 -0
- package/esm/hooks/use-skeleton.css +6 -27
- package/esm/hooks/use-skeleton.d.ts +4 -5
- package/esm/hooks/use-skeleton.js +2 -3
- package/esm/hooks/use-skeleton.js.map +1 -0
- package/esm/hooks/use-skeleton.module.css.js +6 -0
- package/esm/hooks/use-skeleton.module.css.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 +9 -11
- 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 +9 -11
- 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 +1 -2
- 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 +1 -3
- 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 +3 -5
- 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 +4 -4
- package/esm/types.js +1 -0
- package/esm/types.js.map +1 -0
- package/hooks/index.d.ts +1 -1
- package/hooks/index.js +3 -2
- package/hooks/index.js.map +1 -0
- package/hooks/use-skeleton.css +6 -27
- package/hooks/use-skeleton.d.ts +4 -5
- package/hooks/use-skeleton.js +4 -5
- package/hooks/use-skeleton.js.map +1 -0
- package/hooks/use-skeleton.module.css.js +8 -0
- package/hooks/use-skeleton.module.css.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/hooks/index.d.ts +1 -1
- package/modern/hooks/index.js +1 -0
- package/modern/hooks/index.js.map +1 -0
- package/modern/hooks/use-skeleton.css +6 -27
- package/modern/hooks/use-skeleton.d.ts +4 -5
- package/modern/hooks/use-skeleton.js +2 -3
- package/modern/hooks/use-skeleton.js.map +1 -0
- package/modern/hooks/use-skeleton.module.css.js +6 -0
- package/modern/hooks/use-skeleton.module.css.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 +9 -11
- 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 +9 -11
- 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 +1 -2
- 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 +1 -3
- 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 +3 -5
- 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 +4 -4
- 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/hooks/index.d.ts +1 -1
- package/moderncssm/hooks/index.js +1 -0
- package/moderncssm/hooks/index.js.map +1 -0
- package/moderncssm/hooks/use-skeleton.d.ts +4 -5
- package/moderncssm/hooks/use-skeleton.js +1 -0
- package/moderncssm/hooks/use-skeleton.js.map +1 -0
- package/moderncssm/hooks/use-skeleton.module.css +0 -2
- 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 +9 -11
- 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 +9 -11
- package/moderncssm/title/component.js +1 -0
- package/moderncssm/title/component.js.map +1 -0
- package/moderncssm/title/index.d.ts +1 -2
- 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 +1 -3
- 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 +3 -5
- 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 +4 -4
- package/moderncssm/types.js +1 -0
- package/moderncssm/types.js.map +1 -0
- package/package.json +6 -6
- 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 +9 -11
- package/text/component.js +14 -17
- 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 +9 -11
- package/title/component.js +7 -6
- package/title/component.js.map +1 -0
- package/title/index.css +21 -42
- package/title/index.d.ts +1 -2
- package/title/index.js +8 -11
- 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 +1 -3
- package/title-mobile/component.js +8 -11
- 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 +3 -5
- 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 +4 -4
- package/types.js +1 -0
- package/types.js.map +1 -0
- package/colors.module-94b64d8e.js +0 -6
- package/common.module-38b50dd1.js +0 -6
- package/cssm/common.module.css +0 -3
- package/cssm/margins.module.css +0 -1
- package/esm/colors.module-5fa27b46.js +0 -4
- package/esm/common.module-7645bb09.js +0 -4
- package/modern/colors.module-3cedc3fb.js +0 -4
- package/modern/common.module-d04ff6fc.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_rn6bt {
|
|
21
|
+
--color-static-text-tertiary-light: rgba(233, 233, 250, 0.37);
|
|
22
|
+
} .typography__tertiary_ots7n {
|
|
45
23
|
color: var(--color-light-text-tertiary);
|
|
46
|
-
} .
|
|
24
|
+
} .typography__disabled_ots7n {
|
|
47
25
|
color: var(--color-light-text-quaternary);
|
|
48
|
-
} .
|
|
26
|
+
} .typography__accent_ots7n {
|
|
49
27
|
color: var(--color-light-accent-primary);
|
|
50
|
-
} .
|
|
28
|
+
} .typography__primary_ots7n {
|
|
51
29
|
color: var(--color-light-text-primary);
|
|
52
|
-
} .
|
|
30
|
+
} .typography__attention_ots7n {
|
|
53
31
|
color: var(--color-light-text-attention);
|
|
54
|
-
} .
|
|
32
|
+
} .typography__positive_ots7n {
|
|
55
33
|
color: var(--color-light-text-positive);
|
|
56
|
-
} .
|
|
34
|
+
} .typography__secondary_ots7n {
|
|
57
35
|
color: var(--color-light-text-secondary);
|
|
58
|
-
} .typography__tertiary-
|
|
36
|
+
} .typography__tertiary-inverted_ots7n {
|
|
59
37
|
color: var(--color-light-text-tertiary-inverted);
|
|
60
|
-
} .typography__primary-
|
|
38
|
+
} .typography__primary-inverted_ots7n {
|
|
61
39
|
color: var(--color-light-text-primary-inverted);
|
|
62
|
-
} .typography__secondary-
|
|
40
|
+
} .typography__secondary-inverted_ots7n {
|
|
63
41
|
color: var(--color-light-text-secondary-inverted);
|
|
64
|
-
} .
|
|
42
|
+
} .typography__link_ots7n {
|
|
65
43
|
color: var(--color-light-text-info);
|
|
66
|
-
} .
|
|
44
|
+
} .typography__negative_ots7n {
|
|
67
45
|
color: var(--color-light-text-negative);
|
|
68
|
-
} .typography__static-primary-
|
|
46
|
+
} .typography__static-primary-light_ots7n {
|
|
69
47
|
color: var(--color-static-text-primary-light);
|
|
70
|
-
} .typography__static-secondary-
|
|
48
|
+
} .typography__static-secondary-light_ots7n {
|
|
71
49
|
color: var(--color-static-text-secondary-light);
|
|
72
|
-
} .typography__static-tertiary-
|
|
50
|
+
} .typography__static-tertiary-light_ots7n {
|
|
73
51
|
color: var(--color-static-text-tertiary-light);
|
|
74
|
-
} .typography__static-primary-
|
|
52
|
+
} .typography__static-primary-dark_ots7n {
|
|
75
53
|
color: var(--color-static-text-primary-dark);
|
|
76
|
-
} .typography__static-secondary-
|
|
54
|
+
} .typography__static-secondary-dark_ots7n {
|
|
77
55
|
color: var(--color-static-text-secondary-dark);
|
|
78
|
-
} .typography__static-tertiary-
|
|
56
|
+
} .typography__static-tertiary-dark_ots7n {
|
|
79
57
|
color: var(--color-static-text-tertiary-dark);
|
|
80
|
-
} .typography__static-
|
|
58
|
+
} .typography__static-accent_ots7n {
|
|
81
59
|
color: var(--color-static-accent-primary);
|
|
82
|
-
} .typography__static-
|
|
60
|
+
} .typography__static-positive_ots7n {
|
|
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_ots7n","disabled":"typography__disabled_ots7n","accent":"typography__accent_ots7n","primary":"typography__primary_ots7n","attention":"typography__attention_ots7n","positive":"typography__positive_ots7n","secondary":"typography__secondary_ots7n","tertiary-inverted":"typography__tertiary-inverted_ots7n","primary-inverted":"typography__primary-inverted_ots7n","secondary-inverted":"typography__secondary-inverted_ots7n","link":"typography__link_ots7n","negative":"typography__negative_ots7n","static-primary-light":"typography__static-primary-light_ots7n","static-secondary-light":"typography__static-secondary-light_ots7n","static-tertiary-light":"typography__static-tertiary-light_ots7n","static-primary-dark":"typography__static-primary-dark_ots7n","static-secondary-dark":"typography__static-secondary-dark_ots7n","static-tertiary-dark":"typography__static-tertiary-dark_ots7n","static-accent":"typography__static-accent_ots7n","static-positive":"typography__static-positive_ots7n"};
|
|
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 '../../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/hooks/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from
|
|
1
|
+
export * from './use-skeleton';
|
package/cssm/hooks/index.js
CHANGED
|
@@ -2,8 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var useSkeleton = require('./use-skeleton.js');
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
exports.useSkeleton =
|
|
9
|
+
exports.useSkeleton = useSkeleton.useSkeleton;
|
|
10
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;"}
|
|
@@ -1,12 +1,11 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import React from 'react';
|
|
3
|
-
import { TextSkeletonProps } from
|
|
4
|
-
type SkeletonProps = {
|
|
2
|
+
import { TextSkeletonProps } from '../types';
|
|
3
|
+
declare type SkeletonProps = {
|
|
5
4
|
wrapperClassName?: string;
|
|
6
5
|
dataTestId?: string;
|
|
7
6
|
};
|
|
8
|
-
declare function useSkeleton(showSkeleton?: boolean, skeletonProps?: TextSkeletonProps): {
|
|
7
|
+
export declare function useSkeleton(showSkeleton?: boolean, skeletonProps?: TextSkeletonProps): {
|
|
9
8
|
renderSkeleton: (props: SkeletonProps) => React.JSX.Element | null;
|
|
10
9
|
textRef: React.RefObject<HTMLElement>;
|
|
11
10
|
};
|
|
12
|
-
export {
|
|
11
|
+
export {};
|
|
@@ -5,7 +5,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
5
5
|
var tslib = require('tslib');
|
|
6
6
|
var React = require('react');
|
|
7
7
|
var cn = require('classnames');
|
|
8
|
-
var
|
|
8
|
+
var cssm = require('@alfalab/core-components-skeleton/cssm');
|
|
9
9
|
var hooks = require('@alfalab/hooks');
|
|
10
10
|
var styles = require('./use-skeleton.module.css');
|
|
11
11
|
|
|
@@ -49,7 +49,7 @@ function useSkeleton(showSkeleton, skeletonProps) {
|
|
|
49
49
|
return (
|
|
50
50
|
// eslint-disable-next-line react/no-array-index-key
|
|
51
51
|
React__default.default.createElement("div", { key: idx, style: { width: width, padding: skeletonParams.padding } },
|
|
52
|
-
React__default.default.createElement(
|
|
52
|
+
React__default.default.createElement(cssm.Skeleton, { visible: true, className: styles__default.default.skeletonText },
|
|
53
53
|
React__default.default.createElement("div", { style: { height: skeletonParams.height } }))));
|
|
54
54
|
})));
|
|
55
55
|
}
|
|
@@ -59,3 +59,4 @@ function useSkeleton(showSkeleton, skeletonProps) {
|
|
|
59
59
|
}
|
|
60
60
|
|
|
61
61
|
exports.useSkeleton = useSkeleton;
|
|
62
|
+
//# sourceMappingURL=use-skeleton.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use-skeleton.js","sources":["../../src/hooks/use-skeleton.tsx"],"sourcesContent":["import React, { useRef, useState } from 'react';\nimport cn from 'classnames';\n\nimport { Skeleton } from '@alfalab/core-components-skeleton';\nimport { useLayoutEffect_SAFE_FOR_SSR } from '@alfalab/hooks';\n\nimport { TextSkeletonProps } from '../types';\n\nimport styles from './use-skeleton.module.css';\n\ntype TextSkeletonParams = {\n height: number;\n padding: string;\n rows: number;\n};\n\ntype SkeletonProps = {\n wrapperClassName?: string;\n dataTestId?: string;\n};\n\nexport function useSkeleton(showSkeleton?: boolean, skeletonProps?: TextSkeletonProps) {\n const [skeletonParams, setSkeletonParams] = useState<TextSkeletonParams>();\n const textRef = useRef<HTMLElement>(null);\n\n useLayoutEffect_SAFE_FOR_SSR(() => {\n if (showSkeleton && textRef.current) {\n const style = getComputedStyle(textRef.current);\n\n const textHeight = textRef.current.offsetHeight;\n const fontSize = parseInt(style.fontSize, 10);\n const lineHeight = parseInt(style.lineHeight, 10);\n\n const padding =\n (lineHeight - fontSize) % 2 === 0\n ? (lineHeight - fontSize) / 2\n : (lineHeight - fontSize - 1) / 2;\n\n const rows = skeletonProps?.rows\n ? skeletonProps?.rows\n : Math.ceil(textHeight / lineHeight);\n\n setSkeletonParams({\n height: lineHeight - padding * 2,\n padding: `${padding}px 0`,\n rows,\n });\n } else {\n setSkeletonParams(undefined);\n }\n }, [showSkeleton, skeletonProps?.rows]);\n\n const renderSkeleton = (props: SkeletonProps) => {\n if (showSkeleton && skeletonParams) {\n return (\n <div\n className={cn(\n skeletonProps?.wrapperClassName,\n props.wrapperClassName,\n skeletonProps?.align && styles[skeletonProps.align],\n )}\n data-test-id={props.dataTestId}\n >\n {[...Array(skeletonParams.rows)].map((_, idx) => {\n const width = Array.isArray(skeletonProps?.width)\n ? skeletonProps?.width[idx]\n : skeletonProps?.width;\n\n return (\n // eslint-disable-next-line react/no-array-index-key\n <div key={idx} style={{ width, padding: skeletonParams.padding }}>\n <Skeleton visible={true} className={styles.skeletonText}>\n <div style={{ height: skeletonParams.height }} />\n </Skeleton>\n </div>\n );\n })}\n </div>\n );\n }\n\n return null;\n };\n\n return { renderSkeleton, textRef };\n}\n"],"names":["useState","useRef","useLayoutEffect_SAFE_FOR_SSR","React","cn","styles","__spreadArray","Skeleton"],"mappings":";;;;;;;;;;;;;;;;;AAqBgB,SAAA,WAAW,CAAC,YAAsB,EAAE,aAAiC,EAAA;IAC3E,IAAA,EAAA,GAAsCA,cAAQ,EAAsB,EAAnE,cAAc,GAAA,EAAA,CAAA,CAAA,CAAA,EAAE,iBAAiB,GAAA,EAAA,CAAA,CAAA,CAAkC;AAC1E,IAAA,IAAM,OAAO,GAAGC,YAAM,CAAc,IAAI,CAAC;AAEzC,IAAAC,kCAA4B,CAAC,YAAA;AACzB,QAAA,IAAI,YAAY,IAAI,OAAO,CAAC,OAAO,EAAE;YACjC,IAAM,KAAK,GAAG,gBAAgB,CAAC,OAAO,CAAC,OAAO,CAAC;AAE/C,YAAA,IAAM,UAAU,GAAG,OAAO,CAAC,OAAO,CAAC,YAAY;YAC/C,IAAM,QAAQ,GAAG,QAAQ,CAAC,KAAK,CAAC,QAAQ,EAAE,EAAE,CAAC;YAC7C,IAAM,UAAU,GAAG,QAAQ,CAAC,KAAK,CAAC,UAAU,EAAE,EAAE,CAAC;YAEjD,IAAM,OAAO,GACT,CAAC,UAAU,GAAG,QAAQ,IAAI,CAAC,KAAK;AAC5B,kBAAE,CAAC,UAAU,GAAG,QAAQ,IAAI;kBAC1B,CAAC,UAAU,GAAG,QAAQ,GAAG,CAAC,IAAI,CAAC;YAEzC,IAAM,IAAI,GAAG,CAAA,aAAa,aAAb,aAAa,KAAA,MAAA,GAAA,MAAA,GAAb,aAAa,CAAE,IAAI;AAC5B,kBAAE,aAAa,KAAA,IAAA,IAAb,aAAa,KAAb,MAAA,GAAA,MAAA,GAAA,aAAa,CAAE;kBACf,IAAI,CAAC,IAAI,CAAC,UAAU,GAAG,UAAU,CAAC;AAExC,YAAA,iBAAiB,CAAC;AACd,gBAAA,MAAM,EAAE,UAAU,GAAG,OAAO,GAAG,CAAC;gBAChC,OAAO,EAAE,EAAG,CAAA,MAAA,CAAA,OAAO,EAAM,MAAA,CAAA;AACzB,gBAAA,IAAI,EAAA,IAAA;AACP,aAAA,CAAC;AACL;AAAM,aAAA;YACH,iBAAiB,CAAC,SAAS,CAAC;AAC/B;AACL,KAAC,EAAE,CAAC,YAAY,EAAE,aAAa,KAAA,IAAA,IAAb,aAAa,KAAA,MAAA,GAAA,MAAA,GAAb,aAAa,CAAE,IAAI,CAAC,CAAC;IAEvC,IAAM,cAAc,GAAG,UAAC,KAAoB,EAAA;QACxC,IAAI,YAAY,IAAI,cAAc,EAAE;YAChC,QACIC,sBACI,CAAA,aAAA,CAAA,KAAA,EAAA,EAAA,SAAS,EAAEC,mBAAE,CACT,aAAa,KAAA,IAAA,IAAb,aAAa,KAAA,MAAA,GAAA,MAAA,GAAb,aAAa,CAAE,gBAAgB,EAC/B,KAAK,CAAC,gBAAgB,EACtB,CAAA,aAAa,KAAb,IAAA,IAAA,aAAa,KAAb,MAAA,GAAA,MAAA,GAAA,aAAa,CAAE,KAAK,KAAIC,uBAAM,CAAC,aAAa,CAAC,KAAK,CAAC,CACtD,EACa,cAAA,EAAA,KAAK,CAAC,UAAU,EAE7B,EAAAC,mBAAA,CAAA,EAAA,EAAI,KAAK,CAAC,cAAc,CAAC,IAAI,CAAC,EAAA,IAAA,CAAA,CAAE,GAAG,CAAC,UAAC,CAAC,EAAE,GAAG,EAAA;AACxC,gBAAA,IAAM,KAAK,GAAG,KAAK,CAAC,OAAO,CAAC,aAAa,KAAA,IAAA,IAAb,aAAa,KAAA,MAAA,GAAA,MAAA,GAAb,aAAa,CAAE,KAAK;sBAC1C,aAAa,KAAA,IAAA,IAAb,aAAa,KAAA,MAAA,GAAA,MAAA,GAAb,aAAa,CAAE,KAAK,CAAC,GAAG;sBACxB,aAAa,KAAb,IAAA,IAAA,aAAa,uBAAb,aAAa,CAAE,KAAK;gBAE1B;;AAEI,gBAAAH,sBAAA,CAAA,aAAA,CAAA,KAAA,EAAA,EAAK,GAAG,EAAE,GAAG,EAAE,KAAK,EAAE,EAAE,KAAK,EAAA,KAAA,EAAE,OAAO,EAAE,cAAc,CAAC,OAAO,EAAE,EAAA;oBAC5DA,sBAAC,CAAA,aAAA,CAAAI,aAAQ,EAAC,EAAA,OAAO,EAAE,IAAI,EAAE,SAAS,EAAEF,uBAAM,CAAC,YAAY,EAAA;AACnD,wBAAAF,sBAAA,CAAA,aAAA,CAAA,KAAA,EAAA,EAAK,KAAK,EAAE,EAAE,MAAM,EAAE,cAAc,CAAC,MAAM,EAAE,EAAA,CAAI,CAC1C,CACT;aAEb,CAAC,CACA;AAEb;AAED,QAAA,OAAO,IAAI;AACf,KAAC;AAED,IAAA,OAAO,EAAE,cAAc,EAAA,cAAA,EAAE,OAAO,EAAA,OAAA,EAAE;AACtC;;;;"}
|
|
@@ -1,28 +1,8 @@
|
|
|
1
|
-
:root {
|
|
2
|
-
} /* deprecated */ :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 */ /* 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 */ /* 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 */ /* 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 */ /* 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 */ /* 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 */ /* 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 */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
3
|
-
} :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 */ /* 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 */
|
|
4
|
-
} :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 */
|
|
5
|
-
} :root {
|
|
6
|
-
|
|
7
|
-
/* Hard */
|
|
8
|
-
|
|
9
|
-
/* Up */
|
|
10
|
-
|
|
11
|
-
/* Hard up */
|
|
12
|
-
} :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
1
|
+
:root {
|
|
13
2
|
--border-radius-pill: 99px;
|
|
14
|
-
|
|
15
|
-
/* новые значения, используйте их */
|
|
16
|
-
} :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 */
|
|
17
|
-
|
|
18
|
-
/* новые значения, используйте их */
|
|
19
|
-
|
|
20
|
-
/* no-unit может приводить к проблемам в calc (#1559) */
|
|
21
|
-
/* stylelint-disable-next-line length-zero-no-unit */
|
|
22
|
-
--gap-0: 0px;
|
|
23
3
|
} :root {
|
|
24
|
-
|
|
25
|
-
}
|
|
4
|
+
--gap-0: 0px;
|
|
5
|
+
} .skeletonText.skeletonText {
|
|
26
6
|
border-radius: var(--border-radius-pill);
|
|
27
7
|
} .left > div {
|
|
28
8
|
margin-right: auto;
|
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":";;;;;;;;;;;;;;;;;;"}
|