@preply/ds-web-core 0.31.0 → 0.32.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* AUTO GENERATED @Thu Jun
|
|
1
|
+
/* AUTO GENERATED @Thu Jun 23 2022 14:49:17 GMT+0000 (Coordinated Universal Time) */
|
|
2
2
|
|
|
3
3
|
@AVATAR_SIZE_OPTIONS: 2xs, xs, s, m, l, xl;
|
|
4
4
|
@BUTTON_SIZE_OPTIONS: xs, s, m, l, xl;
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
@COLOR_SCHEME_OPTIONS: base, banner, invert;
|
|
7
7
|
@HEADING_LEVEL_OPTIONS: h1, h2, h3, h4, h5;
|
|
8
8
|
@HEADING_TAG_OPTIONS: h1, h2, h3, h4, h5, p, div;
|
|
9
|
-
@ICON_ACCENT_OPTIONS:
|
|
9
|
+
@ICON_ACCENT_OPTIONS: primary, secondary, branded, positive;
|
|
10
10
|
@ICON_SIZE_OPTIONS: 2xs, xs, s, m, l;
|
|
11
11
|
@LAYOUT_ALIGN_ITEMS_OPTIONS: center, start, end, stretch, baseline;
|
|
12
12
|
@LAYOUT_FLEX_DIRECTION_OPTIONS: row, row-reverse, column, column-reverse;
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
@LAYOUT_TAG_OPTIONS: div, main, header, footer, article, section, ul, ol, li, p, span;
|
|
17
17
|
@PANEL_PADDING_OPTIONS: small, base, medium, large;
|
|
18
18
|
@PREPLY_LOGO_VARIANT_OPTIONS: default, monochrome, ua;
|
|
19
|
-
@TEXT_ACCENT_OPTIONS:
|
|
19
|
+
@TEXT_ACCENT_OPTIONS: primary, secondary, branded, positive;
|
|
20
20
|
@TEXT_HIGHLIGHT_OPTIONS: blue, green;
|
|
21
21
|
@TEXT_INLINE_TAG_OPTIONS: span, strong, em;
|
|
22
22
|
@TEXT_SIZE_OPTIONS: 2xs, xs, s, m, l, xl;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* AUTO GENERATED @Thu Jun
|
|
1
|
+
/* AUTO GENERATED @Thu Jun 23 2022 14:49:17 GMT+0000 (Coordinated Universal Time) */
|
|
2
2
|
|
|
3
3
|
@scheme-color: var(--aface);
|
|
4
4
|
@scheme-bgColor: var(--786b9);
|
|
@@ -86,10 +86,10 @@
|
|
|
86
86
|
@background-primary: var(--7271a);
|
|
87
87
|
@background-secondary: var(--5836c);
|
|
88
88
|
@background-overlay: var(--410fb);
|
|
89
|
-
@content-primary: var(--
|
|
90
|
-
@content-secondary: var(--
|
|
91
|
-
@content-branded: var(--
|
|
92
|
-
@content-positive: var(--
|
|
89
|
+
@content-primary-color: var(--e4113);
|
|
90
|
+
@content-secondary-color: var(--3d280);
|
|
91
|
+
@content-branded-color: var(--4dadf);
|
|
92
|
+
@content-positive-color: var(--31874);
|
|
93
93
|
@action-base-borderRadius: var(--8d513);
|
|
94
94
|
@action-base-disabled-color: var(--a8b89);
|
|
95
95
|
@action-base-disabled-bgColor: var(--04dae);
|
|
@@ -228,10 +228,6 @@
|
|
|
228
228
|
@panel-padding-base-padding: var(--c8793);
|
|
229
229
|
@panel-padding-medium-padding: var(--0c9f7);
|
|
230
230
|
@panel-padding-large-padding: var(--1d829);
|
|
231
|
-
@text-accent-normal-color: var(--937a6);
|
|
232
|
-
@text-accent-muted-color: var(--fe08e);
|
|
233
|
-
@text-accent-brand-color: var(--32ad9);
|
|
234
|
-
@text-accent-positive-color: var(--e0400);
|
|
235
231
|
@text-highlight-blue-color: var(--68bd1);
|
|
236
232
|
@text-highlight-green-color: var(--c5023);
|
|
237
233
|
@text-highlight-blue-bgColor: var(--2d51a);
|
|
@@ -66,12 +66,12 @@
|
|
|
66
66
|
|
|
67
67
|
.line-height(@namespace, @key) {
|
|
68
68
|
@token: '@{namespace}-@{key}-lineHeight';
|
|
69
|
-
line-height:
|
|
69
|
+
line-height: @@token;
|
|
70
70
|
}
|
|
71
71
|
|
|
72
72
|
.letter-spacing(@namespace, @key) {
|
|
73
73
|
@token: '@{namespace}-@{key}-letterSpacing';
|
|
74
|
-
letter-spacing:
|
|
74
|
+
letter-spacing: @@token;
|
|
75
75
|
}
|
|
76
76
|
|
|
77
77
|
.font-style(@namespace, @key) {
|
|
@@ -15,8 +15,7 @@
|
|
|
15
15
|
.text-accents() {
|
|
16
16
|
each(@TEXT_ACCENT_OPTIONS, {
|
|
17
17
|
&--accent-@{value} {
|
|
18
|
-
@
|
|
19
|
-
.color('text', @token);
|
|
18
|
+
.color('content', @value);
|
|
20
19
|
}
|
|
21
20
|
});
|
|
22
21
|
}
|
|
@@ -41,7 +40,8 @@
|
|
|
41
40
|
}
|
|
42
41
|
|
|
43
42
|
.text-variants() {
|
|
44
|
-
|
|
43
|
+
.responsive({
|
|
44
|
+
each(@TEXT_VARIANT_OPTIONS, {
|
|
45
45
|
&--variant-@{value} {
|
|
46
46
|
@token: 'variant-@{value}';
|
|
47
47
|
.font-size('text', @token);
|
|
@@ -51,6 +51,7 @@
|
|
|
51
51
|
.font-style('text', @token)
|
|
52
52
|
}
|
|
53
53
|
});
|
|
54
|
+
});
|
|
54
55
|
}
|
|
55
56
|
|
|
56
57
|
.heading-levels() {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@preply/ds-web-core",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.32.0",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -19,14 +19,14 @@
|
|
|
19
19
|
"dev": "run build:rollup -w"
|
|
20
20
|
},
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@preply/ds-core": "0.
|
|
23
|
-
"@preply/ds-core-types": "0.
|
|
22
|
+
"@preply/ds-core": "0.32.0",
|
|
23
|
+
"@preply/ds-core-types": "0.32.0"
|
|
24
24
|
},
|
|
25
25
|
"peerDependencies": {
|
|
26
|
-
"@preply/ds-core": "0.
|
|
27
|
-
"@preply/ds-core-types": "0.
|
|
26
|
+
"@preply/ds-core": "0.32.0",
|
|
27
|
+
"@preply/ds-core-types": "0.32.0",
|
|
28
28
|
"react": "^16.8.3",
|
|
29
29
|
"react-dom": "^16.8.3"
|
|
30
30
|
},
|
|
31
|
-
"gitHead": "
|
|
31
|
+
"gitHead": "639bc1a029e41a60ab326299e1518eb1cdca35f7"
|
|
32
32
|
}
|