bump: bud@6.12.0 & improvements (#3128)

This PR contains various improvements and cleanups to the configuration and JavaScript code. Key changes include:

- Adding simple comments to `jsconfig.json`.
- Improving config: `bud.wpjson.set` replaces `bud.wpjson.settings`. Note that `bud.wpjson.settings` is not deprecated.
- `bud.wpjson.settings` now disables `dropCap` by default.
- `app.js` and `editor.js` now use `if (import.meta.webpackHot)` instead of optional chaining, since `import.meta.webpackHot` is not a real method and using optional chaining might cause errors.
This commit is contained in:
Kelly Mears
2023-04-05 13:42:27 -04:00
committed by GitHub
parent 102778abcf
commit cc94b1bc47
8 changed files with 2235 additions and 1889 deletions

View File

@@ -5,8 +5,8 @@
"settings": {
"color": {
"custom": false,
"customDuotone": false,
"customGradient": false,
"customDuotone": false,
"defaultDuotone": false,
"defaultGradients": false,
"defaultPalette": false,
@@ -87,6 +87,11 @@
"slug": "slate-900",
"color": "#0f172a"
},
{
"name": "Slate 950",
"slug": "slate-950",
"color": "#020617"
},
{
"name": "Gray 50",
"slug": "gray-50",
@@ -137,6 +142,11 @@
"slug": "gray-900",
"color": "#111827"
},
{
"name": "Gray 950",
"slug": "gray-950",
"color": "#030712"
},
{
"name": "Zinc 50",
"slug": "zinc-50",
@@ -187,6 +197,11 @@
"slug": "zinc-900",
"color": "#18181b"
},
{
"name": "Zinc 950",
"slug": "zinc-950",
"color": "#09090b"
},
{
"name": "Neutral 50",
"slug": "neutral-50",
@@ -237,6 +252,11 @@
"slug": "neutral-900",
"color": "#171717"
},
{
"name": "Neutral 950",
"slug": "neutral-950",
"color": "#0a0a0a"
},
{
"name": "Stone 50",
"slug": "stone-50",
@@ -287,6 +307,11 @@
"slug": "stone-900",
"color": "#1c1917"
},
{
"name": "Stone 950",
"slug": "stone-950",
"color": "#0c0a09"
},
{
"name": "Red 50",
"slug": "red-50",
@@ -337,6 +362,11 @@
"slug": "red-900",
"color": "#7f1d1d"
},
{
"name": "Red 950",
"slug": "red-950",
"color": "#450a0a"
},
{
"name": "Orange 50",
"slug": "orange-50",
@@ -387,6 +417,11 @@
"slug": "orange-900",
"color": "#7c2d12"
},
{
"name": "Orange 950",
"slug": "orange-950",
"color": "#431407"
},
{
"name": "Amber 50",
"slug": "amber-50",
@@ -437,6 +472,11 @@
"slug": "amber-900",
"color": "#78350f"
},
{
"name": "Amber 950",
"slug": "amber-950",
"color": "#451a03"
},
{
"name": "Yellow 50",
"slug": "yellow-50",
@@ -487,6 +527,11 @@
"slug": "yellow-900",
"color": "#713f12"
},
{
"name": "Yellow 950",
"slug": "yellow-950",
"color": "#422006"
},
{
"name": "Lime 50",
"slug": "lime-50",
@@ -537,6 +582,11 @@
"slug": "lime-900",
"color": "#365314"
},
{
"name": "Lime 950",
"slug": "lime-950",
"color": "#1a2e05"
},
{
"name": "Green 50",
"slug": "green-50",
@@ -587,6 +637,11 @@
"slug": "green-900",
"color": "#14532d"
},
{
"name": "Green 950",
"slug": "green-950",
"color": "#052e16"
},
{
"name": "Emerald 50",
"slug": "emerald-50",
@@ -637,6 +692,11 @@
"slug": "emerald-900",
"color": "#064e3b"
},
{
"name": "Emerald 950",
"slug": "emerald-950",
"color": "#022c22"
},
{
"name": "Teal 50",
"slug": "teal-50",
@@ -687,6 +747,11 @@
"slug": "teal-900",
"color": "#134e4a"
},
{
"name": "Teal 950",
"slug": "teal-950",
"color": "#042f2e"
},
{
"name": "Cyan 50",
"slug": "cyan-50",
@@ -737,6 +802,11 @@
"slug": "cyan-900",
"color": "#164e63"
},
{
"name": "Cyan 950",
"slug": "cyan-950",
"color": "#083344"
},
{
"name": "Sky 50",
"slug": "sky-50",
@@ -787,6 +857,11 @@
"slug": "sky-900",
"color": "#0c4a6e"
},
{
"name": "Sky 950",
"slug": "sky-950",
"color": "#082f49"
},
{
"name": "Blue 50",
"slug": "blue-50",
@@ -837,6 +912,11 @@
"slug": "blue-900",
"color": "#1e3a8a"
},
{
"name": "Blue 950",
"slug": "blue-950",
"color": "#172554"
},
{
"name": "Indigo 50",
"slug": "indigo-50",
@@ -887,6 +967,11 @@
"slug": "indigo-900",
"color": "#312e81"
},
{
"name": "Indigo 950",
"slug": "indigo-950",
"color": "#1e1b4b"
},
{
"name": "Violet 50",
"slug": "violet-50",
@@ -937,6 +1022,11 @@
"slug": "violet-900",
"color": "#4c1d95"
},
{
"name": "Violet 950",
"slug": "violet-950",
"color": "#2e1065"
},
{
"name": "Purple 50",
"slug": "purple-50",
@@ -987,6 +1077,11 @@
"slug": "purple-900",
"color": "#581c87"
},
{
"name": "Purple 950",
"slug": "purple-950",
"color": "#3b0764"
},
{
"name": "Fuchsia 50",
"slug": "fuchsia-50",
@@ -1037,6 +1132,11 @@
"slug": "fuchsia-900",
"color": "#701a75"
},
{
"name": "Fuchsia 950",
"slug": "fuchsia-950",
"color": "#4a044e"
},
{
"name": "Pink 50",
"slug": "pink-50",
@@ -1087,6 +1187,11 @@
"slug": "pink-900",
"color": "#831843"
},
{
"name": "Pink 950",
"slug": "pink-950",
"color": "#500724"
},
{
"name": "Rose 50",
"slug": "rose-50",
@@ -1136,6 +1241,11 @@
"name": "Rose 900",
"slug": "rose-900",
"color": "#881337"
},
{
"name": "Rose 950",
"slug": "rose-950",
"color": "#4c0519"
}
]
},
@@ -1159,6 +1269,7 @@
},
"typography": {
"customFontSize": false,
"dropCap": false,
"fontFamilies": [
{
"name": "Ui-sans-serif",