mirror of
https://github.com/shoelace-style/webawesome.git
synced 2026-01-21 00:04:15 +00:00
Compare commits
4 Commits
tinycolor-
...
konnorroge
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
89d5f31765 | ||
|
|
3a5cddc244 | ||
|
|
5f247f7962 | ||
|
|
a2fbe121c3 |
@@ -15,6 +15,7 @@ New versions of Shoelace are released as-needed and generally occur when a criti
|
||||
## Next
|
||||
|
||||
- Fixed a bug in `<sl-switch>` that resulted in improper spacing between the label and the required asterisk [#1540]
|
||||
- Updated `@ctrl/tinycolor` to 4.0.1 [#1542]
|
||||
|
||||
## 2.8.0
|
||||
|
||||
@@ -27,7 +28,7 @@ New versions of Shoelace are released as-needed and generally occur when a criti
|
||||
- Improved expand/collapse behavior of `<sl-tree>` to work more like users expect [#1521]
|
||||
- Improved `<sl-menu-item>` so labels truncate properly instead of getting chopped and overflowing
|
||||
- Removed the extra `React.Component` around `@lit-labs/react` wrapper. [#1531]
|
||||
- Upgrade `@lit-labs/react` to v2.0.1. [#1531]
|
||||
- Updated `@lit-labs/react` to v2.0.1. [#1531]
|
||||
|
||||
## 2.7.0
|
||||
|
||||
|
||||
16
package-lock.json
generated
16
package-lock.json
generated
@@ -9,7 +9,7 @@
|
||||
"version": "2.8.0",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"@ctrl/tinycolor": "^3.5.0",
|
||||
"@ctrl/tinycolor": "^4.0.1",
|
||||
"@floating-ui/dom": "^1.2.1",
|
||||
"@lit-labs/react": "^2.0.1",
|
||||
"@shoelace-style/animations": "^1.1.0",
|
||||
@@ -833,11 +833,11 @@
|
||||
}
|
||||
},
|
||||
"node_modules/@ctrl/tinycolor": {
|
||||
"version": "3.5.0",
|
||||
"resolved": "https://registry.npmjs.org/@ctrl/tinycolor/-/tinycolor-3.5.0.tgz",
|
||||
"integrity": "sha512-tlJpwF40DEQcfR/QF+wNMVyGMaO9FQp6Z1Wahj4Gk3CJQYHwA2xVG7iKDFdW6zuxZY9XWOpGcfNCTsX4McOsOg==",
|
||||
"version": "4.0.1",
|
||||
"resolved": "https://registry.npmjs.org/@ctrl/tinycolor/-/tinycolor-4.0.1.tgz",
|
||||
"integrity": "sha512-dfimuE1mfaqL8P8jyQzdk9yFeFUWCyhjK5VyydXgDtQO0fezr6aWaGauHnlI07BZBIF45gahb0oxJjkUcylDwQ==",
|
||||
"engines": {
|
||||
"node": ">=10"
|
||||
"node": ">=14"
|
||||
}
|
||||
},
|
||||
"node_modules/@custom-elements-manifest/analyzer": {
|
||||
@@ -17913,9 +17913,9 @@
|
||||
"dev": true
|
||||
},
|
||||
"@ctrl/tinycolor": {
|
||||
"version": "3.5.0",
|
||||
"resolved": "https://registry.npmjs.org/@ctrl/tinycolor/-/tinycolor-3.5.0.tgz",
|
||||
"integrity": "sha512-tlJpwF40DEQcfR/QF+wNMVyGMaO9FQp6Z1Wahj4Gk3CJQYHwA2xVG7iKDFdW6zuxZY9XWOpGcfNCTsX4McOsOg=="
|
||||
"version": "4.0.1",
|
||||
"resolved": "https://registry.npmjs.org/@ctrl/tinycolor/-/tinycolor-4.0.1.tgz",
|
||||
"integrity": "sha512-dfimuE1mfaqL8P8jyQzdk9yFeFUWCyhjK5VyydXgDtQO0fezr6aWaGauHnlI07BZBIF45gahb0oxJjkUcylDwQ=="
|
||||
},
|
||||
"@custom-elements-manifest/analyzer": {
|
||||
"version": "0.8.3",
|
||||
|
||||
@@ -60,7 +60,7 @@
|
||||
"node": ">=14.17.0"
|
||||
},
|
||||
"dependencies": {
|
||||
"@ctrl/tinycolor": "^3.5.0",
|
||||
"@ctrl/tinycolor": "^4.0.1",
|
||||
"@floating-ui/dom": "^1.2.1",
|
||||
"@lit-labs/react": "^2.0.1",
|
||||
"@shoelace-style/animations": "^1.1.0",
|
||||
|
||||
@@ -34,6 +34,9 @@ const shoelaceVersion = JSON.stringify(packageData.version.toString());
|
||||
async function buildTheDocs(watch = false) {
|
||||
return new Promise(async (resolve, reject) => {
|
||||
const afterSignal = '[eleventy.after]';
|
||||
|
||||
// Totally non-scientific way to handle errors. Perhaps its just better to resolve on stderr? :shrug:
|
||||
const errorSignal = 'Original error stack trace:';
|
||||
const args = ['@11ty/eleventy', '--quiet'];
|
||||
const output = [];
|
||||
|
||||
@@ -65,6 +68,13 @@ async function buildTheDocs(watch = false) {
|
||||
resolve({ child, output });
|
||||
}
|
||||
});
|
||||
|
||||
child.stderr.on('data', data => {
|
||||
if (data.includes(errorSignal)) {
|
||||
// This closes the dev server, not sure if thats what we want?
|
||||
reject(output);
|
||||
}
|
||||
});
|
||||
} else {
|
||||
child.on('close', () => {
|
||||
resolve({ child, output });
|
||||
|
||||
Reference in New Issue
Block a user