@adobe/spectrum-tokens 12.1.2 → 12.3.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/CHANGELOG.md CHANGED
@@ -1,6 +1,7 @@
1
- ## [12.1.2](https://github.com/adobe/spectrum-tokens/compare/v12.1.1...v12.1.2) (2023-03-31)
1
+ # @adobe/spectrum-tokens
2
2
 
3
+ ## 12.3.0
3
4
 
4
- ### Bug Fixes
5
+ ### Minor Changes
5
6
 
6
- * renamed token with typo, clos ([9134abb](https://github.com/adobe/spectrum-tokens/commit/9134abb926e133f1dcc9ec57c26687de7f0d6ffc))
7
+ - fc919d2: Added tray token `tray-top-to-content-area`
package/README.md CHANGED
@@ -6,23 +6,11 @@ Design tokens are directly integrated into our component libraries, UI kits, and
6
6
 
7
7
  ## Getting started
8
8
 
9
- Start by installing all the project dependencies.
10
-
11
- ```bash
12
- yarn
13
- ```
14
-
15
- Running this script will also build the tokens to the `dist` directory.
16
-
17
- To manually build the project, you can also run the following script:
18
-
19
- ```bash
20
- yarn build
21
- ```
9
+ Follow the monorepo [setup guide](../../README.md#setup-monorepo-locally).
22
10
 
23
11
  ## Generate a Diff from the last release
24
12
 
25
- The `yarn generateDiffResult` script will build the project and compare the tokens in the `dist` directory with the last released version of Spectrum Tokens. It will generate a report of added tokens, deleted tokens, tokens with value changes, and tokens with potential name changes. The script can't guarantee the correct name changes; it compares new tokens and deleted tokens to see if any have the same value and are likely to be token name changes.
13
+ The `pnpm generateDiffResult` script will build the project and compare the tokens in the `dist` directory with the last released version of Spectrum Tokens. It will generate a report of added tokens, deleted tokens, tokens with value changes, and tokens with potential name changes. The script can't guarantee the correct name changes; it compares new tokens and deleted tokens to see if any have the same value and are likely to be token name changes.
26
14
 
27
15
  ## Versioning
28
16
 
@@ -69,16 +57,16 @@ More details can be found in this [example workflow](https://semantic-release.gi
69
57
 
70
58
  ## Spectrum Tokens 11.x.x and 12.x.x
71
59
 
72
- Starting with `@adobe/spectrum-tokens` v12.0.0, this project uses a more efficient list of tokens. Previously in v11.x.x, every possible combination of component options was used to define tokens, resulting in an unnecessarily large list of tokens. However, while the work is ongoing in migrating components from the old system to the newer one, v12.0.0 and future versions will be published under the `next` tag. To install it, use the script:
60
+ Starting with `@adobe/spectrum-tokens` v12.0.0, this project uses a more efficient list of tokens. Previously in v11.x.x, every possible combination of component options was used to define tokens, resulting in an unnecessarily large list of tokens. However, while the work is ongoing in migrating components from the old system to the newer one, v12.0.0 and future versions will be published under the `latest` tag. To install it, use the script:
73
61
 
74
62
  ```
75
- yarn add @adobe/spectrum-tokens@next
63
+ pnpm add @adobe/spectrum-tokens
76
64
  ```
77
65
 
78
66
  or
79
67
 
80
68
  ```
81
- npm install --save @adobe/spectrum-tokens@next
69
+ npm install --save @adobe/spectrum-tokens
82
70
  ```
83
71
 
84
72
  If you need to use the older and more complete set of tokens side by side with the v12.x.x release while the development of this migration is ongoing, you can use the [`@adobe/spectrum-tokens-depreacated`](https://www.npmjs.com/package/@adobe/spectrum-tokens-deprecated) package, which is an archived release of `@adobe/spectrum-tokens@11.8.0`.
@@ -1571,6 +1571,10 @@
1571
1571
  "field-edge-to-validation-icon-quiet": "0px",
1572
1572
  "field-edge-to-validation-icon-small": "9px",
1573
1573
  "field-edge-to-visual-quiet": "0px",
1574
+ "field-end-edge-to-disclosure-icon-100": "11px",
1575
+ "field-end-edge-to-disclosure-icon-200": "14px",
1576
+ "field-end-edge-to-disclosure-icon-300": "17px",
1577
+ "field-end-edge-to-disclosure-icon-75": "7px",
1574
1578
  "field-label-text-to-asterisk-extra-large": "5px",
1575
1579
  "field-label-text-to-asterisk-large": "5px",
1576
1580
  "field-label-text-to-asterisk-medium": "4px",
@@ -1600,6 +1604,10 @@
1600
1604
  "field-top-to-alert-icon-large": "10px",
1601
1605
  "field-top-to-alert-icon-medium": "7px",
1602
1606
  "field-top-to-alert-icon-small": "4px",
1607
+ "field-top-to-disclosure-icon-100": "11px",
1608
+ "field-top-to-disclosure-icon-200": "14px",
1609
+ "field-top-to-disclosure-icon-300": "17px",
1610
+ "field-top-to-disclosure-icon-75": "7px",
1603
1611
  "field-top-to-progress-circle-extra-large": "16px",
1604
1612
  "field-top-to-progress-circle-large": "12px",
1605
1613
  "field-top-to-progress-circle-medium": "8px",
@@ -1689,6 +1697,7 @@
1689
1697
  "opacity-checkerboard-square-size": "8px",
1690
1698
  "opacity-disabled": "0.3",
1691
1699
  "picker-border-width": "1px",
1700
+ "picker-end-edge-to-disclousure-icon-quiet": "0px",
1692
1701
  "picker-visual-to-disclosure-icon-extra-large": "10px",
1693
1702
  "picker-visual-to-disclosure-icon-large": "9px",
1694
1703
  "picker-visual-to-disclosure-icon-medium": "8px",
@@ -1826,6 +1835,7 @@
1826
1835
  "tooltip-maximum-width": "160px",
1827
1836
  "tooltip-tip-height": "4px",
1828
1837
  "tooltip-tip-width": "8px",
1838
+ "tray-top-to-content-area": "4px",
1829
1839
  "workflow-icon-size-100": "18px",
1830
1840
  "workflow-icon-size-200": "20px",
1831
1841
  "workflow-icon-size-300": "22px",
@@ -11273,6 +11273,9 @@
11273
11273
  }
11274
11274
  }
11275
11275
  },
11276
+ "picker-end-edge-to-disclousure-icon-quiet": {
11277
+ "value": "0px"
11278
+ },
11276
11279
  "text-field-minimum-width-multiplier": {
11277
11280
  "value": "1.5"
11278
11281
  },
@@ -12767,6 +12770,16 @@
12767
12770
  }
12768
12771
  }
12769
12772
  },
12773
+ "tray-top-to-content-area": {
12774
+ "sets": {
12775
+ "desktop": {
12776
+ "value": "4px"
12777
+ },
12778
+ "mobile": {
12779
+ "value": "5px"
12780
+ }
12781
+ }
12782
+ },
12770
12783
  "corner-radius-75": {
12771
12784
  "sets": {
12772
12785
  "spectrum": {
@@ -13697,6 +13710,86 @@
13697
13710
  }
13698
13711
  }
13699
13712
  },
13713
+ "field-end-edge-to-disclosure-icon-75": {
13714
+ "sets": {
13715
+ "desktop": {
13716
+ "value": "7px"
13717
+ },
13718
+ "mobile": {
13719
+ "value": "9px"
13720
+ }
13721
+ }
13722
+ },
13723
+ "field-end-edge-to-disclosure-icon-100": {
13724
+ "sets": {
13725
+ "desktop": {
13726
+ "value": "11px"
13727
+ },
13728
+ "mobile": {
13729
+ "value": "13px"
13730
+ }
13731
+ }
13732
+ },
13733
+ "field-end-edge-to-disclosure-icon-200": {
13734
+ "sets": {
13735
+ "desktop": {
13736
+ "value": "14px"
13737
+ },
13738
+ "mobile": {
13739
+ "value": "17px"
13740
+ }
13741
+ }
13742
+ },
13743
+ "field-end-edge-to-disclosure-icon-300": {
13744
+ "sets": {
13745
+ "desktop": {
13746
+ "value": "17px"
13747
+ },
13748
+ "mobile": {
13749
+ "value": "22px"
13750
+ }
13751
+ }
13752
+ },
13753
+ "field-top-to-disclosure-icon-75": {
13754
+ "sets": {
13755
+ "desktop": {
13756
+ "value": "7px"
13757
+ },
13758
+ "mobile": {
13759
+ "value": "9px"
13760
+ }
13761
+ }
13762
+ },
13763
+ "field-top-to-disclosure-icon-100": {
13764
+ "sets": {
13765
+ "desktop": {
13766
+ "value": "11px"
13767
+ },
13768
+ "mobile": {
13769
+ "value": "13px"
13770
+ }
13771
+ }
13772
+ },
13773
+ "field-top-to-disclosure-icon-200": {
13774
+ "sets": {
13775
+ "desktop": {
13776
+ "value": "14px"
13777
+ },
13778
+ "mobile": {
13779
+ "value": "17px"
13780
+ }
13781
+ }
13782
+ },
13783
+ "field-top-to-disclosure-icon-300": {
13784
+ "sets": {
13785
+ "desktop": {
13786
+ "value": "17px"
13787
+ },
13788
+ "mobile": {
13789
+ "value": "22px"
13790
+ }
13791
+ }
13792
+ },
13700
13793
  "field-top-to-alert-icon-small": {
13701
13794
  "sets": {
13702
13795
  "desktop": {
package/moon.yml ADDED
@@ -0,0 +1,63 @@
1
+ fileGroups:
2
+ sources:
3
+ - "src/**/*"
4
+ tests:
5
+ - "test/**/*"
6
+ tasks:
7
+ build:
8
+ command:
9
+ - node
10
+ - tasks/buildSpectrumTokens.js
11
+ platform: node
12
+ inputs:
13
+ - "tasks/buildSpectrumTokens.js"
14
+ - "@globs(sources)"
15
+ outputs:
16
+ - "dist/"
17
+ buildManifest:
18
+ command:
19
+ - node
20
+ - tasks/buildManifest.js
21
+ platform: node
22
+ inputs:
23
+ - "tasks/buildManifest.js"
24
+ - "@globs(sources)"
25
+ outputs:
26
+ - "manifest.json"
27
+ clean:
28
+ command:
29
+ - rm
30
+ - -rf
31
+ - dist
32
+ local: true
33
+ platform: system
34
+ convert-excel:
35
+ command:
36
+ - node
37
+ - tasks/excel.js
38
+ local: true
39
+ platform: node
40
+ generateDiffResult:
41
+ command:
42
+ - node
43
+ - tasks/diff.js
44
+ deps:
45
+ - ~:build
46
+ platform: node
47
+ test:
48
+ command:
49
+ - npx
50
+ - ava
51
+ inputs:
52
+ - "tasks/**/*"
53
+ - "@globs(tests)"
54
+ - "@globs(sources)"
55
+ deps:
56
+ - ~:build
57
+ platform: node
58
+ test-watch:
59
+ command:
60
+ - ava
61
+ - --watch
62
+ local: true
63
+ platform: node
package/package.json CHANGED
@@ -1,22 +1,10 @@
1
1
  {
2
2
  "name": "@adobe/spectrum-tokens",
3
- "version": "12.1.2",
4
- "description": "",
3
+ "version": "12.3.0",
4
+ "description": "Design tokens for Spectrum, Adobe's design system",
5
5
  "type": "module",
6
6
  "main": "config.js",
7
7
  "tokens": "dist/json/variables.json",
8
- "scripts": {
9
- "buildManifest": "node tasks/buildManifest.js",
10
- "convert-excel": "node tasks/excel.js",
11
- "test": "ava",
12
- "test-watch": "ava --watch",
13
- "build": "node tasks/buildSpectrumTokens.js",
14
- "generateDiffResult": "yarn build && node tasks/diff.js",
15
- "clean": "rm -rf dist",
16
- "pre-commit": "lint-staged",
17
- "prepare": "husky install && yarn build && yarn buildManifest",
18
- "semantic-release": "semantic-release"
19
- },
20
8
  "repository": {
21
9
  "type": "git",
22
10
  "url": "git+https://github.com/adobe/spectrum-tokens.git"
@@ -31,23 +19,16 @@
31
19
  },
32
20
  "homepage": "https://github.com/adobe/spectrum-tokens#readme",
33
21
  "devDependencies": {
34
- "@commitlint/cli": "^17.1.2",
35
- "@commitlint/config-conventional": "^17.1.0",
36
- "@semantic-release/changelog": "^6.0.1",
37
- "ava": "^5.2.0",
38
22
  "convert-excel-to-json": "^1.7.0",
39
23
  "deep-object-diff": "^1.1.7",
40
24
  "glob": "^8.1.0",
41
25
  "glob-promise": "^6.0.2",
42
26
  "hex-to-rgba": "^2.0.1",
43
- "husky": "^8.0.1",
44
- "lint-staged": "^13.0.3",
45
27
  "node-fetch": "^2.6.7",
46
- "prettier": "^2.7.1",
47
- "semantic-release": "^19.0.5",
48
- "semantic-release-mirror-version": "^1.1.1",
49
- "slugify": "^1.6.5",
50
28
  "style-dictionary": "^3.7.1",
51
- "style-dictionary-sets": "^2.0.5"
52
- }
53
- }
29
+ "style-dictionary-sets": "^2.0.5",
30
+ "tar": "^6.1.13",
31
+ "tmp-promise": "^3.0.3"
32
+ },
33
+ "scripts": {}
34
+ }
@@ -2306,6 +2306,10 @@
2306
2306
  }
2307
2307
  }
2308
2308
  },
2309
+ "picker-end-edge-to-disclousure-icon-quiet": {
2310
+ "component": "picker",
2311
+ "value": "0px"
2312
+ },
2309
2313
  "text-field-minimum-width-multiplier": {
2310
2314
  "component": "text-field",
2311
2315
  "value": "1.5"
@@ -3741,5 +3745,16 @@
3741
3745
  "deprecated_comment": "Express will merge with Spectrum with the release of Spectrum 2."
3742
3746
  }
3743
3747
  }
3748
+ },
3749
+ "tray-top-to-content-area": {
3750
+ "component": "tray",
3751
+ "sets": {
3752
+ "desktop": {
3753
+ "value": "4px"
3754
+ },
3755
+ "mobile": {
3756
+ "value": "5px"
3757
+ }
3758
+ }
3744
3759
  }
3745
3760
  }
package/src/layout.json CHANGED
@@ -955,6 +955,86 @@
955
955
  }
956
956
  }
957
957
  },
958
+ "field-end-edge-to-disclosure-icon-75": {
959
+ "sets": {
960
+ "desktop": {
961
+ "value": "7px"
962
+ },
963
+ "mobile": {
964
+ "value": "9px"
965
+ }
966
+ }
967
+ },
968
+ "field-end-edge-to-disclosure-icon-100": {
969
+ "sets": {
970
+ "desktop": {
971
+ "value": "11px"
972
+ },
973
+ "mobile": {
974
+ "value": "13px"
975
+ }
976
+ }
977
+ },
978
+ "field-end-edge-to-disclosure-icon-200": {
979
+ "sets": {
980
+ "desktop": {
981
+ "value": "14px"
982
+ },
983
+ "mobile": {
984
+ "value": "17px"
985
+ }
986
+ }
987
+ },
988
+ "field-end-edge-to-disclosure-icon-300": {
989
+ "sets": {
990
+ "desktop": {
991
+ "value": "17px"
992
+ },
993
+ "mobile": {
994
+ "value": "22px"
995
+ }
996
+ }
997
+ },
998
+ "field-top-to-disclosure-icon-75": {
999
+ "sets": {
1000
+ "desktop": {
1001
+ "value": "7px"
1002
+ },
1003
+ "mobile": {
1004
+ "value": "9px"
1005
+ }
1006
+ }
1007
+ },
1008
+ "field-top-to-disclosure-icon-100": {
1009
+ "sets": {
1010
+ "desktop": {
1011
+ "value": "11px"
1012
+ },
1013
+ "mobile": {
1014
+ "value": "13px"
1015
+ }
1016
+ }
1017
+ },
1018
+ "field-top-to-disclosure-icon-200": {
1019
+ "sets": {
1020
+ "desktop": {
1021
+ "value": "14px"
1022
+ },
1023
+ "mobile": {
1024
+ "value": "17px"
1025
+ }
1026
+ }
1027
+ },
1028
+ "field-top-to-disclosure-icon-300": {
1029
+ "sets": {
1030
+ "desktop": {
1031
+ "value": "17px"
1032
+ },
1033
+ "mobile": {
1034
+ "value": "22px"
1035
+ }
1036
+ }
1037
+ },
958
1038
  "field-top-to-alert-icon-small": {
959
1039
  "sets": {
960
1040
  "desktop": {
package/tasks/diff.js CHANGED
@@ -1,9 +1,18 @@
1
1
  import { access, readFile, writeFile } from "fs/promises";
2
- import fetch from "node-fetch";
2
+ import { join, dirname } from "path";
3
+ import { fileURLToPath } from "url";
3
4
  import { detailedDiff, diff } from "deep-object-diff";
5
+ import { exec } from "node:child_process";
6
+ import { promisify } from "util";
7
+ import tar from "tar";
8
+ import tmp from "tmp-promise";
4
9
 
5
- const tag = "next-major";
10
+ const execP = promisify(exec);
11
+
12
+ const tag = "latest";
6
13
  const tokenPath = "dist/json/variables.json";
14
+ const localRootDir = join(dirname(fileURLToPath(import.meta.url)), "..");
15
+ const localTokenPath = join(localRootDir, tokenPath);
7
16
 
8
17
  run()
9
18
  .then(() => {
@@ -19,6 +28,7 @@ async function run() {
19
28
  getNewTokens(),
20
29
  getOldTokens(),
21
30
  ]);
31
+
22
32
  const diffResult = detailedDiff(oldTokens, newTokens);
23
33
 
24
34
  calculatePossibleRenames(diffResult, oldTokens, newTokens);
@@ -31,23 +41,25 @@ async function run() {
31
41
 
32
42
  async function getNewTokens() {
33
43
  try {
34
- await access(tokenPath);
35
- return JSON.parse(await readFile(tokenPath, { encoding: "utf8" }));
44
+ await access(localTokenPath);
45
+ return JSON.parse(await readFile(localTokenPath, { encoding: "utf8" }));
36
46
  } catch {
37
47
  console.error("cannot access");
38
48
  }
39
49
  }
40
50
 
41
51
  async function getOldTokens() {
42
- try {
43
- const response = await fetch(
44
- `https://unpkg.com/@adobe/spectrum-tokens@${tag}/${tokenPath}`
45
- );
46
- console.log(`Fetched ${response.url}`);
47
- return await response.json();
48
- } catch {
49
- console.error("cannot access");
50
- }
52
+ const tmpDir = await tmp.dir();
53
+ const { stdout, stderr } = await execP(
54
+ `npm pack @adobe/spectrum-tokens@${tag} --pack-destination ${tmpDir.path}`,
55
+ );
56
+ await tar.x({
57
+ cwd: tmpDir.path,
58
+ file: join(tmpDir.path, stdout.trim()),
59
+ });
60
+ const oldTokenPath = join(tmpDir.path, "package", tokenPath);
61
+ await access(oldTokenPath);
62
+ return JSON.parse(await readFile(oldTokenPath, { encoding: "utf8" }));
51
63
  }
52
64
 
53
65
  function calculatePossibleRenames(diffResult, oldTokens, newTokens) {
@@ -85,14 +97,14 @@ function logResultCategory(diffResult, categoryKey, msg) {
85
97
  results[oldTokenName].length > 1
86
98
  ) {
87
99
  console.log(
88
- ` - Old name: \`${oldTokenName}\`, new name options:`
100
+ ` - Old name: \`${oldTokenName}\`, new name options:`,
89
101
  );
90
102
  results[oldTokenName].forEach((newTokenName) =>
91
- console.log(` - \`${newTokenName}\``)
103
+ console.log(` - \`${newTokenName}\``),
92
104
  );
93
105
  } else {
94
106
  console.log(
95
- ` - \`${oldTokenName}\` -> \`${results[oldTokenName][0]}\``
107
+ ` - \`${oldTokenName}\` -> \`${results[oldTokenName][0]}\``,
96
108
  );
97
109
  }
98
110
  });
@@ -0,0 +1,38 @@
1
+ import test from "ava";
2
+ import augmentExpressTokens from "../tasks/lib/augmentExpressTokens.js";
3
+
4
+ const fixture = {
5
+ foo: {
6
+ express: {
7
+ value: "bar",
8
+ },
9
+ },
10
+ "corner-radius-100": {
11
+ sets: {
12
+ spectrum: {
13
+ sets: {
14
+ desktop: {
15
+ value: "4px",
16
+ },
17
+ mobile: {
18
+ value: "5px",
19
+ },
20
+ },
21
+ },
22
+ express: {
23
+ sets: {
24
+ desktop: {
25
+ value: "6px",
26
+ },
27
+ mobile: {
28
+ value: "8px",
29
+ },
30
+ },
31
+ },
32
+ },
33
+ },
34
+ };
35
+
36
+ test("Deprecate Express should add deprecation metadata to Express tokens", (t) => {
37
+ t.snapshot(augmentExpressTokens(fixture));
38
+ });
@@ -0,0 +1,46 @@
1
+ import test from "ava";
2
+ import { readFile } from "fs/promises";
3
+
4
+ const getValue = (obj, setName) => {
5
+ if (obj.hasOwnProperty("value")) {
6
+ return obj.value;
7
+ } else if (obj.hasOwnProperty("sets")) {
8
+ if (obj.sets.hasOwnProperty(setName)) {
9
+ return getValue(obj.sets[setName], setName);
10
+ } else if (obj.sets.hasOwnProperty("spectrum")) {
11
+ return getValue(obj.sets.spectrum, setName);
12
+ }
13
+ }
14
+ };
15
+
16
+ const vars = { light: {}, dark: {}, darkest: {} };
17
+ let variables;
18
+ let drover;
19
+
20
+ test.before(async (t) => {
21
+ variables = JSON.parse(
22
+ await readFile("dist/json/variables.json", { encoding: "utf8" }),
23
+ );
24
+ drover = JSON.parse(
25
+ await readFile("dist/json/drover.json", { encoding: "utf8" }),
26
+ );
27
+ Object.keys(drover.colorThemes.light).forEach((tokenName) => {
28
+ vars.light[tokenName] = getValue(variables[tokenName], "light");
29
+ });
30
+ Object.keys(drover.colorThemes.dark).forEach((tokenName) => {
31
+ vars.dark[tokenName] = getValue(variables[tokenName], "dark");
32
+ });
33
+ Object.keys(drover.colorThemes.darkest).forEach((tokenName) => {
34
+ vars.darkest[tokenName] = getValue(variables[tokenName], "darkest");
35
+ });
36
+ });
37
+
38
+ test("Drover should match light variable values", (t) => {
39
+ t.deepEqual(drover.colorThemes.light, vars.light);
40
+ });
41
+ test("Drover should match dark variable values", (t) => {
42
+ t.deepEqual(drover.colorThemes.dark, vars.dark);
43
+ });
44
+ test("Drover should match darkest variable values", (t) => {
45
+ t.deepEqual(drover.colorThemes.darkest, vars.darkest);
46
+ });
@@ -0,0 +1,47 @@
1
+ # Snapshot report for `test/deprecateExpress.test.js`
2
+
3
+ The actual snapshot is saved in `deprecateExpress.test.js.snap`.
4
+
5
+ Generated by [AVA](https://avajs.dev).
6
+
7
+ ## Deprecate Express should add deprecation metadata to Express tokens
8
+
9
+ > Snapshot 1
10
+
11
+ {
12
+ 'corner-radius-100': {
13
+ sets: {
14
+ express: {
15
+ sets: {
16
+ desktop: {
17
+ deprecated: true,
18
+ deprecated_comment: 'Express will merge with Spectrum with the release of Spectrum 2.',
19
+ value: '6px',
20
+ },
21
+ mobile: {
22
+ deprecated: true,
23
+ deprecated_comment: 'Express will merge with Spectrum with the release of Spectrum 2.',
24
+ value: '8px',
25
+ },
26
+ },
27
+ },
28
+ spectrum: {
29
+ sets: {
30
+ desktop: {
31
+ value: '4px',
32
+ },
33
+ mobile: {
34
+ value: '5px',
35
+ },
36
+ },
37
+ },
38
+ },
39
+ },
40
+ foo: {
41
+ express: {
42
+ deprecated: true,
43
+ deprecated_comment: 'Express will merge with Spectrum with the release of Spectrum 2.',
44
+ value: 'bar',
45
+ },
46
+ },
47
+ }
@@ -1,74 +0,0 @@
1
- # Adobe Code of Conduct
2
-
3
- ## Our Pledge
4
-
5
- In the interest of fostering an open and welcoming environment, we as
6
- contributors and maintainers pledge to make participation in our project and
7
- our community a harassment-free experience for everyone, regardless of age, body
8
- size, disability, ethnicity, gender identity and expression, level of experience,
9
- nationality, personal appearance, race, religion, or sexual identity and
10
- orientation.
11
-
12
- ## Our Standards
13
-
14
- Examples of behavior that contributes to creating a positive environment
15
- include:
16
-
17
- - Using welcoming and inclusive language
18
- - Being respectful of differing viewpoints and experiences
19
- - Gracefully accepting constructive criticism
20
- - Focusing on what is best for the community
21
- - Showing empathy towards other community members
22
-
23
- Examples of unacceptable behavior by participants include:
24
-
25
- - The use of sexualized language or imagery and unwelcome sexual attention or
26
- advances
27
- - Trolling, insulting/derogatory comments, and personal or political attacks
28
- - Public or private harassment
29
- - Publishing others' private information, such as a physical or electronic
30
- address, without explicit permission
31
- - Other conduct which could reasonably be considered inappropriate in a
32
- professional setting
33
-
34
- ## Our Responsibilities
35
-
36
- Project maintainers are responsible for clarifying the standards of acceptable
37
- behavior and are expected to take appropriate and fair corrective action in
38
- response to any instances of unacceptable behavior.
39
-
40
- Project maintainers have the right and responsibility to remove, edit, or
41
- reject comments, commits, code, wiki edits, issues, and other contributions
42
- that are not aligned to this Code of Conduct, or to ban temporarily or
43
- permanently any contributor for other behaviors that they deem inappropriate,
44
- threatening, offensive, or harmful.
45
-
46
- ## Scope
47
-
48
- This Code of Conduct applies both within project spaces and in public spaces
49
- when an individual is representing the project or its community. Examples of
50
- representing a project or community include using an official project e-mail
51
- address, posting via an official social media account, or acting as an appointed
52
- representative at an online or offline event. Representation of a project may be
53
- further defined and clarified by project maintainers.
54
-
55
- ## Enforcement
56
-
57
- Instances of abusive, harassing, or otherwise, unacceptable behavior may be
58
- reported by contacting the project team at Grp-opensourceoffice@adobe.com. All
59
- complaints will be reviewed and investigated and will result in a response that
60
- is deemed necessary and appropriate to the circumstances. The project team is
61
- obligated to maintain confidentiality concerning the reporter of an incident.
62
- Further details of specific enforcement policies may be posted separately.
63
-
64
- Project maintainers who do not follow or enforce the Code of Conduct in good
65
- faith may face temporary or permanent repercussions as determined by other
66
- members of the project's leadership.
67
-
68
- ## Attribution
69
-
70
- This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
71
- available at [http://contributor-covenant.org/version/1/4][version]
72
-
73
- [homepage]: http://contributor-covenant.org
74
- [version]: http://contributor-covenant.org/version/1/4/
package/COPYRIGHT DELETED
@@ -1,5 +0,0 @@
1
- Copyright 2022 Adobe
2
-
3
- Adobe holds the copyright for all the files found in this repository.
4
-
5
- See the LICENSE file for licensing information.
@@ -1,19 +0,0 @@
1
- /*
2
- Copyright 2022 Adobe. All rights reserved.
3
- This file is licensed to you under the Apache License, Version 2.0 (the "License");
4
- you may not use this file except in compliance with the License. You may obtain a copy
5
- of the License at http://www.apache.org/licenses/LICENSE-2.0
6
-
7
- Unless required by applicable law or agreed to in writing, software distributed under
8
- the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
9
- OF ANY KIND, either express or implied. See the License for the specific language
10
- governing permissions and limitations under the License.
11
- */
12
- /*
13
- * For a detailed explanation regarding each configuration property, visit:
14
- * https://jestjs.io/docs/configuration
15
- */
16
-
17
- module.exports = {
18
- extends: ["@commitlint/config-conventional"],
19
- };