Add button factory example

This commit is contained in:
Steve Kinney
2024-09-30 10:31:32 -06:00
parent bb9500bd73
commit 2ca2a233f9
2 changed files with 74 additions and 6 deletions

77
package-lock.json generated
View File

@@ -22,7 +22,8 @@
"examples/yearbook",
"examples/scratchpad",
"examples/utility-belt",
"examples/strictly-speaking"
"examples/strictly-speaking",
"examples/button-factory"
],
"devDependencies": {
"prettier": "^3.3.3",
@@ -66,6 +67,19 @@
"vitest": "^2.1.1"
}
},
"examples/button-factory": {
"version": "1.0.0",
"license": "MIT",
"dependencies": {
"lit": "^3.2.0",
"uuid": "^10.0.0"
},
"devDependencies": {
"@vitest/ui": "^2.1.1",
"vite": "^5.4.5",
"vitest": "^2.1.1"
}
},
"examples/calculator": {
"name": "calculator-example",
"version": "1.0.0",
@@ -201,6 +215,7 @@
},
"examples/yearbook": {
"version": "1.0.0",
"extraneous": true,
"license": "MIT",
"dependencies": {
"uuid": "^10.0.0"
@@ -1157,6 +1172,21 @@
"@jridgewell/sourcemap-codec": "^1.4.14"
}
},
"node_modules/@lit-labs/ssr-dom-shim": {
"version": "1.2.1",
"resolved": "https://registry.npmjs.org/@lit-labs/ssr-dom-shim/-/ssr-dom-shim-1.2.1.tgz",
"integrity": "sha512-wx4aBmgeGvFmOKucFKY+8VFJSYZxs9poN3SDNQFF6lT6NrQUnHiPB2PWz2sc4ieEcAaYYzN+1uWahEeTq2aRIQ==",
"license": "BSD-3-Clause"
},
"node_modules/@lit/reactive-element": {
"version": "2.0.4",
"resolved": "https://registry.npmjs.org/@lit/reactive-element/-/reactive-element-2.0.4.tgz",
"integrity": "sha512-GFn91inaUa2oHLak8awSIigYz0cU0Payr1rcFsrkf5OJ5eSPxElyZfKh0f2p9FsTiZWXQdWGJeXZICEfXXYSXQ==",
"license": "BSD-3-Clause",
"dependencies": {
"@lit-labs/ssr-dom-shim": "^1.2.0"
}
},
"node_modules/@nodelib/fs.scandir": {
"version": "2.1.5",
"resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz",
@@ -1882,6 +1912,12 @@
"@types/jest": "*"
}
},
"node_modules/@types/trusted-types": {
"version": "2.0.7",
"resolved": "https://registry.npmjs.org/@types/trusted-types/-/trusted-types-2.0.7.tgz",
"integrity": "sha512-ScaPdn1dQczgbl0QFTeTOmVHFULt394XJgOQNoyVhZ6r2vLnMLJfBPd53SB52T/3G36VI1/g2MZaX0cwDuXsfw==",
"license": "MIT"
},
"node_modules/@types/uuid": {
"version": "10.0.0",
"resolved": "https://registry.npmjs.org/@types/uuid/-/uuid-10.0.0.tgz",
@@ -2403,6 +2439,10 @@
"optional": true,
"peer": true
},
"node_modules/button-factory": {
"resolved": "examples/button-factory",
"link": true
},
"node_modules/bytes": {
"version": "3.1.2",
"resolved": "https://registry.npmjs.org/bytes/-/bytes-3.1.2.tgz",
@@ -4171,6 +4211,37 @@
"dev": true,
"license": "MIT"
},
"node_modules/lit": {
"version": "3.2.0",
"resolved": "https://registry.npmjs.org/lit/-/lit-3.2.0.tgz",
"integrity": "sha512-s6tI33Lf6VpDu7u4YqsSX78D28bYQulM+VAzsGch4fx2H0eLZnJsUBsPWmGYSGoKDNbjtRv02rio1o+UdPVwvw==",
"license": "BSD-3-Clause",
"dependencies": {
"@lit/reactive-element": "^2.0.4",
"lit-element": "^4.1.0",
"lit-html": "^3.2.0"
}
},
"node_modules/lit-element": {
"version": "4.1.0",
"resolved": "https://registry.npmjs.org/lit-element/-/lit-element-4.1.0.tgz",
"integrity": "sha512-gSejRUQJuMQjV2Z59KAS/D4iElUhwKpIyJvZ9w+DIagIQjfJnhR20h2Q5ddpzXGS+fF0tMZ/xEYGMnKmaI/iww==",
"license": "BSD-3-Clause",
"dependencies": {
"@lit-labs/ssr-dom-shim": "^1.2.0",
"@lit/reactive-element": "^2.0.4",
"lit-html": "^3.2.0"
}
},
"node_modules/lit-html": {
"version": "3.2.0",
"resolved": "https://registry.npmjs.org/lit-html/-/lit-html-3.2.0.tgz",
"integrity": "sha512-pwT/HwoxqI9FggTrYVarkBKFN9MlTUpLrDHubTmW4SrkL3kkqW5gxwbxMMUnbbRHBC0WTZnYHcjDSCM559VyfA==",
"license": "BSD-3-Clause",
"dependencies": {
"@types/trusted-types": "^2.0.2"
}
},
"node_modules/lodash": {
"version": "4.17.21",
"resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz",
@@ -6657,10 +6728,6 @@
"node": ">=8"
}
},
"node_modules/yearbook": {
"resolved": "examples/yearbook",
"link": true
},
"packages/css-configuration": {
"version": "1.0.0",
"extraneous": true,

View File

@@ -39,7 +39,8 @@
"examples/yearbook",
"examples/scratchpad",
"examples/utility-belt",
"examples/strictly-speaking"
"examples/strictly-speaking",
"examples/button-factory"
],
"devDependencies": {
"prettier": "^3.3.3",