@skyscanner/bpk-foundations-android 19.5.0 → 20.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/gulpfile.mjs CHANGED
@@ -21,8 +21,8 @@ import path from 'path';
21
21
  import { fileURLToPath } from 'url';
22
22
 
23
23
  import { deleteAsync } from 'del';
24
+ import { exec } from 'child_process';
24
25
  import gulp from 'gulp';
25
- import jsonLint from 'gulp-jsonlint';
26
26
  import gulpTheo from 'gulp-theo';
27
27
  import _ from 'lodash';
28
28
  import gulpMerge from 'merge2';
@@ -59,13 +59,17 @@ theo.registerTransform('android', ['color/hex8rgba']);
59
59
 
60
60
  gulp.task('clean', (done) => deleteAsync(['tokens'], done));
61
61
 
62
- gulp.task('lint', () =>
63
- gulp
64
- .src('./src/*.json')
65
- .pipe(jsonLint())
66
- .pipe(jsonLint.reporter())
67
- .pipe(jsonLint.failAfterError()),
68
- );
62
+ gulp.task('lint', (done) => {
63
+ exec('eslint ./src --ext json', (err, stdout, _) => {
64
+ if (err) {
65
+ console.error(stdout);
66
+ done(err);
67
+ } else {
68
+ console.log(stdout);
69
+ done();
70
+ }
71
+ });
72
+ });
69
73
 
70
74
  const createTokens = (tokenSets, done) => {
71
75
  const streams = tokenSets.map(({ format, nest, platform }) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@skyscanner/bpk-foundations-android",
3
- "version": "19.5.0",
3
+ "version": "20.0.0",
4
4
  "description": "Android design tokens for colors, spacing, font, etc.",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
@@ -17,8 +17,8 @@
17
17
  "tokens": "gulp"
18
18
  },
19
19
  "dependencies": {
20
- "@skyscanner/bpk-foundations-common": "^19.5.0",
20
+ "@skyscanner/bpk-foundations-common": "^20.0.0",
21
21
  "color": "^5.0.0"
22
22
  },
23
- "gitHead": "c8e6bfdec3c44f7ecc387aaab19d68949b6a032c"
23
+ "gitHead": "9fae1a1c49c643ac88c3d07ccd8092785b21cd73"
24
24
  }
@@ -202,7 +202,7 @@
202
202
  "value": "#FEEB87"
203
203
  },
204
204
  "GREY_05": {
205
- "value": "#F7F9FB"
205
+ "value": "#F5F7FA"
206
206
  },
207
207
  "NIGHT_GREEN_SPOT": {
208
208
  "value": "#62F1C6"
@@ -1568,14 +1568,6 @@
1568
1568
  "originalValue": "{!SKY_GRAY_TINT_06}",
1569
1569
  "name": "COLOR_SKY_GRAY_TINT_06"
1570
1570
  },
1571
- "COLOR_BLACK_TINT_01": {
1572
- "type": "color",
1573
- "category": "colors",
1574
- "value": "#131d2bff",
1575
- "deprecated": true,
1576
- "originalValue": "{!BLACK_TINT_01}",
1577
- "name": "COLOR_BLACK_TINT_01"
1578
- },
1579
1571
  "COLOR_SKY_GRAY_TINT_07": {
1580
1572
  "type": "color",
1581
1573
  "category": "colors",
@@ -1584,14 +1576,6 @@
1584
1576
  "originalValue": "{!SKY_GRAY_TINT_07}",
1585
1577
  "name": "COLOR_SKY_GRAY_TINT_07"
1586
1578
  },
1587
- "COLOR_BLACK_TINT_02": {
1588
- "type": "color",
1589
- "category": "colors",
1590
- "value": "#131d2bff",
1591
- "deprecated": true,
1592
- "originalValue": "{!BLACK_TINT_02}",
1593
- "name": "COLOR_BLACK_TINT_02"
1594
- },
1595
1579
  "COLOR_ABISKO": {
1596
1580
  "type": "color",
1597
1581
  "category": "colors",
@@ -1600,22 +1584,6 @@
1600
1584
  "originalValue": "{!ABISKO}",
1601
1585
  "name": "COLOR_ABISKO"
1602
1586
  },
1603
- "COLOR_BLACK_TINT_03": {
1604
- "type": "color",
1605
- "category": "colors",
1606
- "value": "#243346ff",
1607
- "deprecated": true,
1608
- "originalValue": "{!BLACK_TINT_03}",
1609
- "name": "COLOR_BLACK_TINT_03"
1610
- },
1611
- "COLOR_BLACK_TINT_04": {
1612
- "type": "color",
1613
- "category": "colors",
1614
- "value": "#44505fff",
1615
- "deprecated": true,
1616
- "originalValue": "{!BLACK_TINT_04}",
1617
- "name": "COLOR_BLACK_TINT_04"
1618
- },
1619
1587
  "COLOR_WHITE": {
1620
1588
  "type": "color",
1621
1589
  "category": "colors",
@@ -1623,22 +1591,6 @@
1623
1591
  "originalValue": "{!WHITE}",
1624
1592
  "name": "COLOR_WHITE"
1625
1593
  },
1626
- "COLOR_BLACK_TINT_05": {
1627
- "type": "color",
1628
- "category": "colors",
1629
- "value": "#44505fff",
1630
- "deprecated": true,
1631
- "originalValue": "{!BLACK_TINT_05}",
1632
- "name": "COLOR_BLACK_TINT_05"
1633
- },
1634
- "COLOR_BLACK_TINT_06": {
1635
- "type": "color",
1636
- "category": "colors",
1637
- "value": "#bdc4cbff",
1638
- "deprecated": true,
1639
- "originalValue": "{!BLACK_TINT_06}",
1640
- "name": "COLOR_BLACK_TINT_06"
1641
- },
1642
1594
  "COLOR_PANJIN": {
1643
1595
  "type": "color",
1644
1596
  "category": "colors",
@@ -2014,7 +1966,7 @@
2014
1966
  "SURFACE_LOW_CONTRAST_DAY": {
2015
1967
  "type": "color",
2016
1968
  "category": "surface-colors",
2017
- "value": "#f7f9fbff",
1969
+ "value": "#f5f7faff",
2018
1970
  "originalValue": "{!GREY_05}",
2019
1971
  "name": "SURFACE_LOW_CONTRAST_DAY"
2020
1972
  },
@@ -3728,7 +3680,7 @@
3728
3680
  "SURFACE_LOW_CONTRAST_COLOR": {
3729
3681
  "type": "color",
3730
3682
  "category": "surface-colors",
3731
- "value": "#f7f9fbff",
3683
+ "value": "#f5f7faff",
3732
3684
  "originalValue": "{!GREY_05}",
3733
3685
  "name": "SURFACE_LOW_CONTRAST_COLOR",
3734
3686
  "darkValue": "#243346ff",
@@ -4619,15 +4571,9 @@
4619
4571
  "COLOR_HARBOUR",
4620
4572
  "COLOR_SKY_GRAY_TINT_05",
4621
4573
  "COLOR_SKY_GRAY_TINT_06",
4622
- "COLOR_BLACK_TINT_01",
4623
4574
  "COLOR_SKY_GRAY_TINT_07",
4624
- "COLOR_BLACK_TINT_02",
4625
4575
  "COLOR_ABISKO",
4626
- "COLOR_BLACK_TINT_03",
4627
- "COLOR_BLACK_TINT_04",
4628
4576
  "COLOR_WHITE",
4629
- "COLOR_BLACK_TINT_05",
4630
- "COLOR_BLACK_TINT_06",
4631
4577
  "COLOR_PANJIN",
4632
4578
  "COLOR_KOLKATA",
4633
4579
  "COLOR_GLENCOE",