@preply/ds-web-core 0.31.1 → 0.31.2

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 @Tue Jun 07 2022 12:45:23 GMT+0000 (Coordinated Universal Time) */
1
+ /* AUTO GENERATED @Fri Jun 10 2022 13:58:21 GMT+0000 (Coordinated Universal Time) */
2
2
 
3
3
  @breakpoints: {
4
4
  narrow-l: 400px;
@@ -1,4 +1,4 @@
1
- /* AUTO GENERATED @Tue Jun 07 2022 12:45:22 GMT+0000 (Coordinated Universal Time) */
1
+ /* AUTO GENERATED @Fri Jun 10 2022 13:58:20 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: normal, muted, brand, positive;
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: normal, muted, brand, positive;
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 @Tue Jun 07 2022 12:45:22 GMT+0000 (Coordinated Universal Time) */
1
+ /* AUTO GENERATED @Fri Jun 10 2022 13:58:21 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(--8f6cf);
90
- @content-secondary: var(--cfb13);
91
- @content-branded: var(--d4c39);
92
- @content-positive: var(--d2701);
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);
@@ -15,8 +15,7 @@
15
15
  .text-accents() {
16
16
  each(@TEXT_ACCENT_OPTIONS, {
17
17
  &--accent-@{value} {
18
- @token: 'accent-@{value}';
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
- each(@TEXT_VARIANT_OPTIONS, {
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.31.1",
3
+ "version": "0.31.2",
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.31.1",
23
- "@preply/ds-core-types": "0.31.1"
22
+ "@preply/ds-core": "0.31.2",
23
+ "@preply/ds-core-types": "0.31.2"
24
24
  },
25
25
  "peerDependencies": {
26
- "@preply/ds-core": "0.31.1",
27
- "@preply/ds-core-types": "0.31.1",
26
+ "@preply/ds-core": "0.31.2",
27
+ "@preply/ds-core-types": "0.31.2",
28
28
  "react": "^16.8.3",
29
29
  "react-dom": "^16.8.3"
30
30
  },
31
- "gitHead": "ce1dcb78021630e67f985e40c81fb6848070c228"
31
+ "gitHead": "7fc442ad57c03733c5834ad711e0d78729021e67"
32
32
  }