@adobe/spectrum-tokens 12.13.0 → 12.14.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 +36 -0
- package/dist/json/drover.json +49 -0
- package/dist/json/variables.json +187 -0
- package/manifest.json +7 -3
- package/moon.yml +1 -1
- package/package.json +3 -9
- package/schemas/component.json +8 -2
- package/schemas/components/alert-dialog.json +5 -1
- package/schemas/components/badge.json +10 -2
- package/schemas/components/combo-box.json +6 -2
- package/schemas/components/contextual-help.json +22 -4
- package/schemas/components/in-line-alert.json +6 -1
- package/schemas/components/picker.json +4 -1
- package/schemas/components/popover.json +22 -4
- package/schemas/components/status-light.json +12 -2
- package/schemas/components/text-area.json +4 -1
- package/schemas/components/text-field.json +4 -1
- package/schemas/types/workflow-icon.json +893 -182
- package/src/layout-component.json +175 -0
- package/tasks/buildManifest.js +6 -1
- package/tasks/diff.js +1 -1
|
@@ -5960,5 +5960,180 @@
|
|
|
5960
5960
|
"uuid": "794ad497-1725-4a03-a7c9-425eaee3178e"
|
|
5961
5961
|
}
|
|
5962
5962
|
}
|
|
5963
|
+
},
|
|
5964
|
+
"in-field-button-width-stacked-small": {
|
|
5965
|
+
"component": "in-field-button",
|
|
5966
|
+
"value": "20px",
|
|
5967
|
+
"uuid": "24125066-c8d1-4c4a-85b3-493d112d3ca0"
|
|
5968
|
+
},
|
|
5969
|
+
"in-field-button-width-stacked-medium": {
|
|
5970
|
+
"component": "in-field-button",
|
|
5971
|
+
"value": "28px",
|
|
5972
|
+
"uuid": "bb8c7ce0-1766-47f9-b30e-36b3b57dc2ea"
|
|
5973
|
+
},
|
|
5974
|
+
"in-field-button-width-stacked-large": {
|
|
5975
|
+
"component": "in-field-button",
|
|
5976
|
+
"value": "36px",
|
|
5977
|
+
"uuid": "4e103763-4310-4aff-980f-652ad023084f"
|
|
5978
|
+
},
|
|
5979
|
+
"in-field-button-width-stacked-extra-large": {
|
|
5980
|
+
"component": "in-field-button",
|
|
5981
|
+
"value": "44px",
|
|
5982
|
+
"uuid": "5f844b3f-e0d7-40f0-a754-a14bee6a0fb4"
|
|
5983
|
+
},
|
|
5984
|
+
"in-field-button-fill-stacked-inner-border-rounding": {
|
|
5985
|
+
"component": "in-field-button",
|
|
5986
|
+
"sets": {
|
|
5987
|
+
"spectrum": {
|
|
5988
|
+
"value": "0px",
|
|
5989
|
+
"uuid": "f8ed9a70-58f1-4f1a-9e87-24bca6d7b4e1"
|
|
5990
|
+
},
|
|
5991
|
+
"express": {
|
|
5992
|
+
"value": "1px",
|
|
5993
|
+
"uuid": "5a3e434f-f915-4a72-985b-04af51c3ad7e"
|
|
5994
|
+
}
|
|
5995
|
+
}
|
|
5996
|
+
},
|
|
5997
|
+
"in-field-button-edge-to-fill": {
|
|
5998
|
+
"component": "in-field-button",
|
|
5999
|
+
"sets": {
|
|
6000
|
+
"spectrum": {
|
|
6001
|
+
"value": "0px",
|
|
6002
|
+
"uuid": "5bffe992-2982-49e8-aa3a-e4e93c884f43"
|
|
6003
|
+
},
|
|
6004
|
+
"express": {
|
|
6005
|
+
"value": "4px",
|
|
6006
|
+
"uuid": "670a4fef-5e16-4db6-8acd-b747cc783312"
|
|
6007
|
+
}
|
|
6008
|
+
}
|
|
6009
|
+
},
|
|
6010
|
+
"in-field-button-stacked-inner-edge-to-fill": {
|
|
6011
|
+
"component": "in-field-button",
|
|
6012
|
+
"sets": {
|
|
6013
|
+
"spectrum": {
|
|
6014
|
+
"value": "0px",
|
|
6015
|
+
"uuid": "56b54ece-0ff3-4957-9c1c-9e7fb992653c"
|
|
6016
|
+
},
|
|
6017
|
+
"express": {
|
|
6018
|
+
"value": "1px",
|
|
6019
|
+
"uuid": "c1aa585e-769d-40d6-a42d-c9d602124870"
|
|
6020
|
+
}
|
|
6021
|
+
}
|
|
6022
|
+
},
|
|
6023
|
+
"in-field-button-edge-to-disclosure-icon-stacked-small": {
|
|
6024
|
+
"component": "in-field-button",
|
|
6025
|
+
"value": "7px",
|
|
6026
|
+
"uuid": "8b6a0ab1-4dba-4da2-9c67-3befca0f110e"
|
|
6027
|
+
},
|
|
6028
|
+
"in-field-button-edge-to-disclosure-icon-stacked-medium": {
|
|
6029
|
+
"component": "in-field-button",
|
|
6030
|
+
"value": "9px",
|
|
6031
|
+
"uuid": "ccb60cfc-86fe-4959-b4a8-1a45835132c8"
|
|
6032
|
+
},
|
|
6033
|
+
"in-field-button-edge-to-disclosure-icon-stacked-large": {
|
|
6034
|
+
"component": "in-field-button",
|
|
6035
|
+
"value": "13px",
|
|
6036
|
+
"uuid": "6a6e5478-b549-4a39-a7f5-5d3c417464ce"
|
|
6037
|
+
},
|
|
6038
|
+
"in-field-button-edge-to-disclosure-icon-stacked-extra-large": {
|
|
6039
|
+
"component": "in-field-button",
|
|
6040
|
+
"value": "16px",
|
|
6041
|
+
"uuid": "d563157b-f0d7-407d-aaaf-ae1790c75503"
|
|
6042
|
+
},
|
|
6043
|
+
"in-field-button-outer-edge-to-disclosure-icon-stacked-small": {
|
|
6044
|
+
"component": "in-field-button",
|
|
6045
|
+
"value": "3px",
|
|
6046
|
+
"uuid": "9890df35-2d45-4767-9cbe-ee745d09d990"
|
|
6047
|
+
},
|
|
6048
|
+
"in-field-button-outer-edge-to-disclosure-icon-stacked-medium": {
|
|
6049
|
+
"component": "in-field-button",
|
|
6050
|
+
"sets": {
|
|
6051
|
+
"spectrum": {
|
|
6052
|
+
"value": "3px",
|
|
6053
|
+
"uuid": "a87d68bb-4249-43cd-947d-bd061baba0ef"
|
|
6054
|
+
},
|
|
6055
|
+
"express": {
|
|
6056
|
+
"value": "5px",
|
|
6057
|
+
"uuid": "b942ec2c-f70f-4948-8ff5-0bd471cd4f0a"
|
|
6058
|
+
}
|
|
6059
|
+
}
|
|
6060
|
+
},
|
|
6061
|
+
"in-field-button-outer-edge-to-disclosure-icon-stacked-large": {
|
|
6062
|
+
"component": "in-field-button",
|
|
6063
|
+
"sets": {
|
|
6064
|
+
"spectrum": {
|
|
6065
|
+
"value": "4px",
|
|
6066
|
+
"uuid": "acc9c48a-f461-48ff-9f69-0224c4feabc6"
|
|
6067
|
+
},
|
|
6068
|
+
"express": {
|
|
6069
|
+
"value": "7px",
|
|
6070
|
+
"uuid": "345002c5-88fc-4297-aa91-54ed292265b8"
|
|
6071
|
+
}
|
|
6072
|
+
}
|
|
6073
|
+
},
|
|
6074
|
+
"in-field-button-outer-edge-to-disclosure-icon-stacked-extra-large": {
|
|
6075
|
+
"component": "in-field-button",
|
|
6076
|
+
"sets": {
|
|
6077
|
+
"spectrum": {
|
|
6078
|
+
"value": "5px",
|
|
6079
|
+
"uuid": "391e1e67-1677-4f60-a09a-3b49bacd01f5"
|
|
6080
|
+
},
|
|
6081
|
+
"express": {
|
|
6082
|
+
"value": "8px",
|
|
6083
|
+
"uuid": "33e443d8-3e31-4f17-ab37-61beebaa9d40"
|
|
6084
|
+
}
|
|
6085
|
+
}
|
|
6086
|
+
},
|
|
6087
|
+
"in-field-button-inner-edge-to-disclosure-icon-stacked-small": {
|
|
6088
|
+
"component": "in-field-button",
|
|
6089
|
+
"sets": {
|
|
6090
|
+
"spectrum": {
|
|
6091
|
+
"value": "{in-field-button-outer-edge-to-disclosure-icon-stacked-small}",
|
|
6092
|
+
"uuid": "6c1330a4-1c89-45a7-b2b1-8cbcaf20b9ab"
|
|
6093
|
+
},
|
|
6094
|
+
"express": {
|
|
6095
|
+
"value": "1px",
|
|
6096
|
+
"uuid": "ec74220b-c091-4b29-8e43-9d3f0e163820"
|
|
6097
|
+
}
|
|
6098
|
+
}
|
|
6099
|
+
},
|
|
6100
|
+
"in-field-button-inner-edge-to-disclosure-icon-stacked-medium": {
|
|
6101
|
+
"component": "in-field-button",
|
|
6102
|
+
"sets": {
|
|
6103
|
+
"spectrum": {
|
|
6104
|
+
"value": "{in-field-button-outer-edge-to-disclosure-icon-stacked-medium}",
|
|
6105
|
+
"uuid": "3dd5babb-5026-4f28-89ae-bfe687673f31"
|
|
6106
|
+
},
|
|
6107
|
+
"express": {
|
|
6108
|
+
"value": "1px",
|
|
6109
|
+
"uuid": "5bddcd79-3829-4764-853a-b83512b5820d"
|
|
6110
|
+
}
|
|
6111
|
+
}
|
|
6112
|
+
},
|
|
6113
|
+
"in-field-button-inner-edge-to-disclosure-icon-stacked-large": {
|
|
6114
|
+
"component": "in-field-button",
|
|
6115
|
+
"sets": {
|
|
6116
|
+
"spectrum": {
|
|
6117
|
+
"value": "{in-field-button-outer-edge-to-disclosure-icon-stacked-large}",
|
|
6118
|
+
"uuid": "710ebe58-f0d8-4d6b-8974-0be1f2f48dc4"
|
|
6119
|
+
},
|
|
6120
|
+
"express": {
|
|
6121
|
+
"value": "3px",
|
|
6122
|
+
"uuid": "7135afd9-ef05-4909-8b3e-eeae3d527bd0"
|
|
6123
|
+
}
|
|
6124
|
+
}
|
|
6125
|
+
},
|
|
6126
|
+
"in-field-button-inner-edge-to-disclosure-icon-stacked-extra-large": {
|
|
6127
|
+
"component": "in-field-button",
|
|
6128
|
+
"sets": {
|
|
6129
|
+
"spectrum": {
|
|
6130
|
+
"value": "{in-field-button-outer-edge-to-disclosure-icon-stacked-extra-large}",
|
|
6131
|
+
"uuid": "c47499c1-b89f-49a7-bbb5-17e83e4b306e"
|
|
6132
|
+
},
|
|
6133
|
+
"express": {
|
|
6134
|
+
"value": "4px",
|
|
6135
|
+
"uuid": "979542c9-2328-495c-8abf-cb226b140f82"
|
|
6136
|
+
}
|
|
6137
|
+
}
|
|
5963
6138
|
}
|
|
5964
6139
|
}
|
package/tasks/buildManifest.js
CHANGED
|
@@ -12,9 +12,14 @@ governing permissions and limitations under the License.
|
|
|
12
12
|
|
|
13
13
|
import glob from "glob-promise";
|
|
14
14
|
import { writeFile } from "fs/promises";
|
|
15
|
+
import { format } from "prettier";
|
|
15
16
|
|
|
16
17
|
const manifestFileName = "manifest.json";
|
|
17
18
|
const files = await glob("src/**/*.json");
|
|
18
19
|
|
|
19
|
-
await writeFile(
|
|
20
|
+
await writeFile(
|
|
21
|
+
manifestFileName,
|
|
22
|
+
await format(JSON.stringify(files), { parser: "json-stringify" }),
|
|
23
|
+
);
|
|
24
|
+
//
|
|
20
25
|
console.log(`Wrote ${manifestFileName} with ${files.length} files.`);
|
package/tasks/diff.js
CHANGED
|
@@ -10,7 +10,7 @@ OF ANY KIND, either express or implied. See the License for the specific languag
|
|
|
10
10
|
governing permissions and limitations under the License.
|
|
11
11
|
*/
|
|
12
12
|
|
|
13
|
-
import { access, readFile
|
|
13
|
+
import { access, readFile } from "fs/promises";
|
|
14
14
|
import { join, dirname } from "path";
|
|
15
15
|
import { fileURLToPath } from "url";
|
|
16
16
|
import { detailedDiff, diff } from "deep-object-diff";
|