@internetarchive/elements 0.2.3-alpha-webdev8378.8 → 0.2.5
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/LICENSE +661 -661
- package/README.md +320 -320
- package/dist/src/elements/ia-combo-box/caret-closed.svg +8 -8
- package/dist/src/elements/ia-combo-box/caret-open.svg +8 -8
- package/dist/src/elements/ia-combo-box/clear.svg +8 -8
- package/dist/src/elements/ia-dropdown-search-bar/search.svg +10 -10
- package/dist/src/labs/ia-snow/flake.svg +1 -1
- package/package.json +120 -120
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
<svg
|
|
2
|
-
viewBox="0 0 8 4"
|
|
3
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
4
|
-
>
|
|
5
|
-
<path
|
|
6
|
-
d="m6.7226499.58397485c.22976435-.15317623.54019902-.09108929.69337525.13867505.13615665.20423498.10222882.47220947-.06836249.63681849l-.07031256.05655676-3.2773501 2.18490006-3.2773501-2.18490006c-.22976434-.15317623-.29185128-.4636109-.13867505-.69337525.13615665-.20423497.39656688-.27598409.61412572-.18182636l.07924953.04315131 2.7226499 1.81402515z"
|
|
7
|
-
></path>
|
|
8
|
-
</svg>
|
|
1
|
+
<svg
|
|
2
|
+
viewBox="0 0 8 4"
|
|
3
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
4
|
+
>
|
|
5
|
+
<path
|
|
6
|
+
d="m6.7226499.58397485c.22976435-.15317623.54019902-.09108929.69337525.13867505.13615665.20423498.10222882.47220947-.06836249.63681849l-.07031256.05655676-3.2773501 2.18490006-3.2773501-2.18490006c-.22976434-.15317623-.29185128-.4636109-.13867505-.69337525.13615665-.20423497.39656688-.27598409.61412572-.18182636l.07924953.04315131 2.7226499 1.81402515z"
|
|
7
|
+
></path>
|
|
8
|
+
</svg>
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
<svg
|
|
2
|
-
viewBox="0 0 8 4"
|
|
3
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
4
|
-
>
|
|
5
|
-
<path
|
|
6
|
-
d="m6.7226499 3.51689722c.22976435.15317623.54019902.0910893.69337525-.13867505.13615665-.20423497.10222882-.47220946-.06836249-.63681849l-.07031256-.05655675-3.2773501-2.18490007-3.2773501 2.18490007c-.22976434.15317623-.29185128.4636109-.13867505.69337524.13615665.20423498.39656688.27598409.61412572.18182636l.07924953-.04315131 2.7226499-1.81402514z"
|
|
7
|
-
></path>
|
|
8
|
-
</svg>
|
|
1
|
+
<svg
|
|
2
|
+
viewBox="0 0 8 4"
|
|
3
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
4
|
+
>
|
|
5
|
+
<path
|
|
6
|
+
d="m6.7226499 3.51689722c.22976435.15317623.54019902.0910893.69337525-.13867505.13615665-.20423497.10222882-.47220946-.06836249-.63681849l-.07031256-.05655675-3.2773501-2.18490007-3.2773501 2.18490007c-.22976434.15317623-.29185128.4636109-.13867505.69337524.13615665.20423498.39656688.27598409.61412572.18182636l.07924953-.04315131 2.7226499-1.81402514z"
|
|
7
|
+
></path>
|
|
8
|
+
</svg>
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
<svg
|
|
2
|
-
viewBox="0 0 100 100"
|
|
3
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
4
|
-
>
|
|
5
|
-
<path
|
|
6
|
-
d="m50 0c27.6142375 0 50 22.3857625 50 50s-22.3857625 50-50 50-50-22.3857625-50-50 22.3857625-50 50-50zm23.8159475 26.1840525c-1.4033215-1.4033215-3.5816761-1.5592461-5.1572272-.4677738l-.5598841.4677738-18.0988362 18.0989475-18.0988362-18.0989475-.5598841-.4677738c-1.5755511-1.0914723-3.7539057-.9355477-5.1572272.4677738-1.5787367 1.5787367-1.5787367 4.1383746 0 5.7171113l18.0989475 18.0988362-18.0989475 18.0988362c-1.5787367 1.5787367-1.5787367 4.1383746 0 5.7171113 1.4033215 1.4033215 3.5816761 1.5592461 5.1572272.4677738l.5598841-.4677738 18.0988362-18.0989475 18.0988362 18.0989475.5598841.4677738c1.5755511 1.0914723 3.7539057.9355477 5.1572272-.4677738 1.5787367-1.5787367 1.5787367-4.1383746 0-5.7171113l-18.0989475-18.0988362 18.0989475-18.0988362c1.5787367-1.5787367 1.5787367-4.1383746 0-5.7171113z"
|
|
7
|
-
fill-rule="evenodd"
|
|
8
|
-
></path>
|
|
1
|
+
<svg
|
|
2
|
+
viewBox="0 0 100 100"
|
|
3
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
4
|
+
>
|
|
5
|
+
<path
|
|
6
|
+
d="m50 0c27.6142375 0 50 22.3857625 50 50s-22.3857625 50-50 50-50-22.3857625-50-50 22.3857625-50 50-50zm23.8159475 26.1840525c-1.4033215-1.4033215-3.5816761-1.5592461-5.1572272-.4677738l-.5598841.4677738-18.0988362 18.0989475-18.0988362-18.0989475-.5598841-.4677738c-1.5755511-1.0914723-3.7539057-.9355477-5.1572272.4677738-1.5787367 1.5787367-1.5787367 4.1383746 0 5.7171113l18.0989475 18.0988362-18.0989475 18.0988362c-1.5787367 1.5787367-1.5787367 4.1383746 0 5.7171113 1.4033215 1.4033215 3.5816761 1.5592461 5.1572272.4677738l.5598841-.4677738 18.0988362-18.0989475 18.0988362 18.0989475.5598841.4677738c1.5755511 1.0914723 3.7539057.9355477 5.1572272-.4677738 1.5787367-1.5787367 1.5787367-4.1383746 0-5.7171113l-18.0989475-18.0988362 18.0989475-18.0988362c1.5787367-1.5787367 1.5787367-4.1383746 0-5.7171113z"
|
|
7
|
+
fill-rule="evenodd"
|
|
8
|
+
></path>
|
|
9
9
|
</svg>
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
<svg
|
|
2
|
-
viewBox="0 0 100 100"
|
|
3
|
-
xmlns="http://www.w3.org/2000/svg">
|
|
4
|
-
<path
|
|
5
|
-
class="fill-color"
|
|
6
|
-
d="m17.0555551 41.3194459c0-12.7430552 10.3541664-23.1027772 23.0847216-23.1027772 12.7166664 0 23.0777773 10.359722 23.0777773 23.1027772 0 12.7361108-10.3611109 23.0986106-23.0777773 23.0986106-12.7305552 0-23.0847216-10.3624998-23.0847216-23.0986106zm-17.24305512 0c0 22.2916661 18.04583292 40.3472213 40.32777672 40.3472213 8.9208332 0 17.145833-2.9319449 23.8194439-7.8527776l24.1513883 24.0777771c1.2125 1.1402778 2.8430555 1.8430556 4.6374999 1.8430556 3.7444443 0 6.7805554-3.0361111 6.7805554-6.7791665 0-2.0652778-.9222222-3.9069444-2.3736111-5.1499999l-23.718055-23.7458328c4.4152777-6.4791665 7.0152776-14.3055552 7.0152776-22.7402772 0-22.2791661-18.0458328-40.34861006-40.312499-40.34861006-22.2819438 0-40.32777672 18.06944396-40.32777672 40.34861006z"
|
|
7
|
-
fill="#2c2c2c"
|
|
8
|
-
fill-rule="evenodd"
|
|
9
|
-
/>
|
|
10
|
-
</svg>
|
|
1
|
+
<svg
|
|
2
|
+
viewBox="0 0 100 100"
|
|
3
|
+
xmlns="http://www.w3.org/2000/svg">
|
|
4
|
+
<path
|
|
5
|
+
class="fill-color"
|
|
6
|
+
d="m17.0555551 41.3194459c0-12.7430552 10.3541664-23.1027772 23.0847216-23.1027772 12.7166664 0 23.0777773 10.359722 23.0777773 23.1027772 0 12.7361108-10.3611109 23.0986106-23.0777773 23.0986106-12.7305552 0-23.0847216-10.3624998-23.0847216-23.0986106zm-17.24305512 0c0 22.2916661 18.04583292 40.3472213 40.32777672 40.3472213 8.9208332 0 17.145833-2.9319449 23.8194439-7.8527776l24.1513883 24.0777771c1.2125 1.1402778 2.8430555 1.8430556 4.6374999 1.8430556 3.7444443 0 6.7805554-3.0361111 6.7805554-6.7791665 0-2.0652778-.9222222-3.9069444-2.3736111-5.1499999l-23.718055-23.7458328c4.4152777-6.4791665 7.0152776-14.3055552 7.0152776-22.7402772 0-22.2791661-18.0458328-40.34861006-40.312499-40.34861006-22.2819438 0-40.32777672 18.06944396-40.32777672 40.34861006z"
|
|
7
|
+
fill="#2c2c2c"
|
|
8
|
+
fill-rule="evenodd"
|
|
9
|
+
/>
|
|
10
|
+
</svg>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" width="36.283" height="36.283"><path d="M35.531 17.391h-3.09l.845-1.464a.748.748 0 1 0-1.297-.75l-1.276 2.214H28.61l2.515-4.354a.751.751 0 0 0-.272-1.024.75.75 0 0 0-1.024.274l-2.948 5.104h-2.023a6.751 6.751 0 0 0-2.713-4.684l1.019-1.76 5.896-.002a.75.75 0 0 0 0-1.5l-5.029.002 1.051-1.82 2.557.002a.75.75 0 0 0 0-1.5l-1.689-.002 1.545-2.676a.75.75 0 1 0-1.302-.75l-1.547 2.676-.844-1.463a.749.749 0 1 0-1.297.75l1.278 2.213-1.051 1.818-2.514-4.354a.75.75 0 0 0-1.298.75l2.946 5.104-1.016 1.758a6.692 6.692 0 0 0-2.706-.57 6.74 6.74 0 0 0-2.707.568l-1.013-1.754 2.946-5.105a.75.75 0 0 0-1.298-.75L13.56 8.697l-1.05-1.818 1.278-2.217a.749.749 0 0 0-1.298-.75l-.845 1.465-1.551-2.678a.75.75 0 0 0-1.024-.273.748.748 0 0 0-.274 1.023l1.545 2.678H8.652a.75.75 0 0 0 0 1.5h2.556l1.05 1.818H7.231a.75.75 0 0 0 0 1.5h5.894l1.017 1.762a6.755 6.755 0 0 0-2.712 4.684H9.406l-2.95-5.104a.75.75 0 1 0-1.299.75l2.516 4.354H5.569l-1.277-2.213a.75.75 0 0 0-1.298.75l.845 1.463H.75a.75.75 0 0 0 0 1.5h3.09l-.845 1.465a.747.747 0 0 0 .275 1.022.75.75 0 0 0 .374.103.75.75 0 0 0 .65-.375l1.277-2.215h2.103l-2.516 4.354a.75.75 0 0 0 1.299.75l2.949-5.104h2.024a6.761 6.761 0 0 0 2.712 4.685l-1.017 1.762H7.232a.75.75 0 0 0 0 1.5h5.026l-1.05 1.818H8.651a.75.75 0 0 0 0 1.5h1.69l-1.545 2.676a.75.75 0 0 0 1.299.75l1.546-2.676.846 1.465a.755.755 0 0 0 .65.375.737.737 0 0 0 .375-.103.747.747 0 0 0 .274-1.022l-1.279-2.215 1.05-1.82 2.515 4.354a.75.75 0 0 0 1.299-.75l-2.947-5.104 1.013-1.756a6.72 6.72 0 0 0 5.415 0l1.014 1.756-2.947 5.104a.75.75 0 0 0 1.298.75l2.515-4.354 1.053 1.82-1.277 2.213a.75.75 0 0 0 1.298.75l.844-1.463 1.545 2.678c.141.24.393.375.65.375a.75.75 0 0 0 .649-1.125l-1.548-2.678h1.689a.75.75 0 0 0 0-1.5h-2.557l-1.051-1.82 5.029.002a.75.75 0 0 0 0-1.5l-5.896-.002-1.019-1.76a6.75 6.75 0 0 0 2.711-4.685h2.023l2.947 5.104a.753.753 0 0 0 1.025.273.749.749 0 0 0 .272-1.023l-2.515-4.354h2.104l1.279 2.215a.75.75 0 0 0 .649.375c.127 0 .256-.03.375-.103a.748.748 0 0 0 .273-1.022l-.848-1.465h3.092a.75.75 0 0 0 .003-1.5zm-12.136.75c0 .257-.041.502-.076.75a5.223 5.223 0 0 1-1.943 3.358 5.242 5.242 0 0 1-1.291.766 5.224 5.224 0 0 1-1.949.384 5.157 5.157 0 0 1-3.239-1.15 5.22 5.22 0 0 1-1.943-3.358c-.036-.247-.076-.493-.076-.75s.04-.503.076-.75a5.22 5.22 0 0 1 1.944-3.359c.393-.312.82-.576 1.291-.765a5.219 5.219 0 0 1 1.948-.384c.69 0 1.344.142 1.948.384.471.188.898.454 1.291.765a5.222 5.222 0 0 1 1.943 3.359c.035.247.076.493.076.75z" fill=":color:"/></svg>
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="36.283" height="36.283"><path d="M35.531 17.391h-3.09l.845-1.464a.748.748 0 1 0-1.297-.75l-1.276 2.214H28.61l2.515-4.354a.751.751 0 0 0-.272-1.024.75.75 0 0 0-1.024.274l-2.948 5.104h-2.023a6.751 6.751 0 0 0-2.713-4.684l1.019-1.76 5.896-.002a.75.75 0 0 0 0-1.5l-5.029.002 1.051-1.82 2.557.002a.75.75 0 0 0 0-1.5l-1.689-.002 1.545-2.676a.75.75 0 1 0-1.302-.75l-1.547 2.676-.844-1.463a.749.749 0 1 0-1.297.75l1.278 2.213-1.051 1.818-2.514-4.354a.75.75 0 0 0-1.298.75l2.946 5.104-1.016 1.758a6.692 6.692 0 0 0-2.706-.57 6.74 6.74 0 0 0-2.707.568l-1.013-1.754 2.946-5.105a.75.75 0 0 0-1.298-.75L13.56 8.697l-1.05-1.818 1.278-2.217a.749.749 0 0 0-1.298-.75l-.845 1.465-1.551-2.678a.75.75 0 0 0-1.024-.273.748.748 0 0 0-.274 1.023l1.545 2.678H8.652a.75.75 0 0 0 0 1.5h2.556l1.05 1.818H7.231a.75.75 0 0 0 0 1.5h5.894l1.017 1.762a6.755 6.755 0 0 0-2.712 4.684H9.406l-2.95-5.104a.75.75 0 1 0-1.299.75l2.516 4.354H5.569l-1.277-2.213a.75.75 0 0 0-1.298.75l.845 1.463H.75a.75.75 0 0 0 0 1.5h3.09l-.845 1.465a.747.747 0 0 0 .275 1.022.75.75 0 0 0 .374.103.75.75 0 0 0 .65-.375l1.277-2.215h2.103l-2.516 4.354a.75.75 0 0 0 1.299.75l2.949-5.104h2.024a6.761 6.761 0 0 0 2.712 4.685l-1.017 1.762H7.232a.75.75 0 0 0 0 1.5h5.026l-1.05 1.818H8.651a.75.75 0 0 0 0 1.5h1.69l-1.545 2.676a.75.75 0 0 0 1.299.75l1.546-2.676.846 1.465a.755.755 0 0 0 .65.375.737.737 0 0 0 .375-.103.747.747 0 0 0 .274-1.022l-1.279-2.215 1.05-1.82 2.515 4.354a.75.75 0 0 0 1.299-.75l-2.947-5.104 1.013-1.756a6.72 6.72 0 0 0 5.415 0l1.014 1.756-2.947 5.104a.75.75 0 0 0 1.298.75l2.515-4.354 1.053 1.82-1.277 2.213a.75.75 0 0 0 1.298.75l.844-1.463 1.545 2.678c.141.24.393.375.65.375a.75.75 0 0 0 .649-1.125l-1.548-2.678h1.689a.75.75 0 0 0 0-1.5h-2.557l-1.051-1.82 5.029.002a.75.75 0 0 0 0-1.5l-5.896-.002-1.019-1.76a6.75 6.75 0 0 0 2.711-4.685h2.023l2.947 5.104a.753.753 0 0 0 1.025.273.749.749 0 0 0 .272-1.023l-2.515-4.354h2.104l1.279 2.215a.75.75 0 0 0 .649.375c.127 0 .256-.03.375-.103a.748.748 0 0 0 .273-1.022l-.848-1.465h3.092a.75.75 0 0 0 .003-1.5zm-12.136.75c0 .257-.041.502-.076.75a5.223 5.223 0 0 1-1.943 3.358 5.242 5.242 0 0 1-1.291.766 5.224 5.224 0 0 1-1.949.384 5.157 5.157 0 0 1-3.239-1.15 5.22 5.22 0 0 1-1.943-3.358c-.036-.247-.076-.493-.076-.75s.04-.503.076-.75a5.22 5.22 0 0 1 1.944-3.359c.393-.312.82-.576 1.291-.765a5.219 5.219 0 0 1 1.948-.384c.69 0 1.344.142 1.948.384.471.188.898.454 1.291.765a5.222 5.222 0 0 1 1.943 3.359c.035.247.076.493.076.75z" fill=":color:"/></svg>
|
package/package.json
CHANGED
|
@@ -1,120 +1,120 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@internetarchive/elements",
|
|
3
|
-
"version": "0.2.
|
|
4
|
-
"description": "A web component library from the Internet Archive.",
|
|
5
|
-
"license": "AGPL-3.0-only",
|
|
6
|
-
"types": "./dist/src/elements/index.d.ts",
|
|
7
|
-
"type": "module",
|
|
8
|
-
"publishConfig": {
|
|
9
|
-
"access": "public"
|
|
10
|
-
},
|
|
11
|
-
"repository": {
|
|
12
|
-
"type": "git",
|
|
13
|
-
"url": "git+https://github.com/internetarchive/elements.git"
|
|
14
|
-
},
|
|
15
|
-
"bugs": {
|
|
16
|
-
"url": "https://github.com/internetarchive/elements/issues"
|
|
17
|
-
},
|
|
18
|
-
"scripts": {
|
|
19
|
-
"dev": "wireit",
|
|
20
|
-
"build": "wireit",
|
|
21
|
-
"clean": "wireit",
|
|
22
|
-
"lint": "wireit",
|
|
23
|
-
"format": "wireit",
|
|
24
|
-
"circular": "wireit",
|
|
25
|
-
"prepare": "wireit",
|
|
26
|
-
"test": "wireit",
|
|
27
|
-
"ghpages:build": "wireit"
|
|
28
|
-
},
|
|
29
|
-
"dependencies": {
|
|
30
|
-
"@lit/localize": "^0.12.2",
|
|
31
|
-
"@internetarchive/ia-clearable-text-input": "^1.1.1",
|
|
32
|
-
"@internetarchive/ia-dropdown": "^2.1.0",
|
|
33
|
-
"lit": "^2.8.0 || ^3.3.2",
|
|
34
|
-
"magic-snowflakes": "^7.0.2",
|
|
35
|
-
"tslib": "^2.8.1"
|
|
36
|
-
},
|
|
37
|
-
"devDependencies": {
|
|
38
|
-
"@open-wc/testing-helpers": "^3.0.1",
|
|
39
|
-
"@typescript-eslint/eslint-plugin": "^8.46.4",
|
|
40
|
-
"@vitest/browser": "^4.0.8",
|
|
41
|
-
"@vitest/browser-playwright": "^4.0.8",
|
|
42
|
-
"@vitest/coverage-v8": "^4.0.8",
|
|
43
|
-
"eslint": "^9.39.1",
|
|
44
|
-
"eslint-config-prettier": "^10.1.8",
|
|
45
|
-
"eslint-plugin-html": "^8.1.3",
|
|
46
|
-
"eslint-plugin-import": "^2.32.0",
|
|
47
|
-
"eslint-plugin-lit": "^1.15.0",
|
|
48
|
-
"eslint-plugin-lit-a11y": "^4.1.4",
|
|
49
|
-
"eslint-plugin-no-only-tests": "^3.3.0",
|
|
50
|
-
"eslint-plugin-wc": "^2.2.1",
|
|
51
|
-
"highlight.js": "^11.11.1",
|
|
52
|
-
"madge": "^8.0.0",
|
|
53
|
-
"playwright": "^1.56.1",
|
|
54
|
-
"prettier": "^3.6.2",
|
|
55
|
-
"ts-lit-plugin": "^2.0.2",
|
|
56
|
-
"tsc-alias": "^1.8.16",
|
|
57
|
-
"typescript": "^5.9.3",
|
|
58
|
-
"vite": "^7.2.2",
|
|
59
|
-
"vitest": "^4.0.8",
|
|
60
|
-
"wireit": "^0.14.12"
|
|
61
|
-
},
|
|
62
|
-
"exports": {
|
|
63
|
-
".": "./dist/src/index.js",
|
|
64
|
-
"./*": "./dist/src/elements/*.js",
|
|
65
|
-
"./labs/*": "./dist/src/labs/*.js"
|
|
66
|
-
},
|
|
67
|
-
"files": [
|
|
68
|
-
"README.md",
|
|
69
|
-
"dist",
|
|
70
|
-
"!dist/**/*.test*",
|
|
71
|
-
"!dist/**/*-story*",
|
|
72
|
-
"!dist/demo",
|
|
73
|
-
"!dist/src/internal",
|
|
74
|
-
"!dist/*.tsbuildinfo"
|
|
75
|
-
],
|
|
76
|
-
"wireit": {
|
|
77
|
-
"build": {
|
|
78
|
-
"command": "tsc --build --pretty && tsc-alias && rsync -zarvm --prune-empty-dirs --include \"*/\" --include \"*.svg\" --exclude=\"*\" src dist",
|
|
79
|
-
"dependencies": [
|
|
80
|
-
"circular"
|
|
81
|
-
],
|
|
82
|
-
"files": [
|
|
83
|
-
"src/**/*.ts",
|
|
84
|
-
"tsconfig.json"
|
|
85
|
-
],
|
|
86
|
-
"output": [
|
|
87
|
-
"dist/**"
|
|
88
|
-
]
|
|
89
|
-
},
|
|
90
|
-
"circular": {
|
|
91
|
-
"command": "madge --circular --extensions ts ."
|
|
92
|
-
},
|
|
93
|
-
"clean": {
|
|
94
|
-
"command": "rm -rf dist"
|
|
95
|
-
},
|
|
96
|
-
"dev": {
|
|
97
|
-
"command": "vite"
|
|
98
|
-
},
|
|
99
|
-
"lint": {
|
|
100
|
-
"command": "eslint . && prettier \"**/*.ts\" --check"
|
|
101
|
-
},
|
|
102
|
-
"format": {
|
|
103
|
-
"command": "eslint . --fix && prettier \"**/*.ts\" --write"
|
|
104
|
-
},
|
|
105
|
-
"prepare": {
|
|
106
|
-
"dependencies": [
|
|
107
|
-
"build"
|
|
108
|
-
]
|
|
109
|
-
},
|
|
110
|
-
"test": {
|
|
111
|
-
"command": "vitest",
|
|
112
|
-
"dependencies": [
|
|
113
|
-
"circular"
|
|
114
|
-
]
|
|
115
|
-
},
|
|
116
|
-
"ghpages:build": {
|
|
117
|
-
"command": "vite build --config vite.config.ghpages.ts && touch ./ghpages/.nojekyll"
|
|
118
|
-
}
|
|
119
|
-
}
|
|
120
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@internetarchive/elements",
|
|
3
|
+
"version": "0.2.5",
|
|
4
|
+
"description": "A web component library from the Internet Archive.",
|
|
5
|
+
"license": "AGPL-3.0-only",
|
|
6
|
+
"types": "./dist/src/elements/index.d.ts",
|
|
7
|
+
"type": "module",
|
|
8
|
+
"publishConfig": {
|
|
9
|
+
"access": "public"
|
|
10
|
+
},
|
|
11
|
+
"repository": {
|
|
12
|
+
"type": "git",
|
|
13
|
+
"url": "git+https://github.com/internetarchive/elements.git"
|
|
14
|
+
},
|
|
15
|
+
"bugs": {
|
|
16
|
+
"url": "https://github.com/internetarchive/elements/issues"
|
|
17
|
+
},
|
|
18
|
+
"scripts": {
|
|
19
|
+
"dev": "wireit",
|
|
20
|
+
"build": "wireit",
|
|
21
|
+
"clean": "wireit",
|
|
22
|
+
"lint": "wireit",
|
|
23
|
+
"format": "wireit",
|
|
24
|
+
"circular": "wireit",
|
|
25
|
+
"prepare": "wireit",
|
|
26
|
+
"test": "wireit",
|
|
27
|
+
"ghpages:build": "wireit"
|
|
28
|
+
},
|
|
29
|
+
"dependencies": {
|
|
30
|
+
"@lit/localize": "^0.12.2",
|
|
31
|
+
"@internetarchive/ia-clearable-text-input": "^1.1.1",
|
|
32
|
+
"@internetarchive/ia-dropdown": "^2.1.0",
|
|
33
|
+
"lit": "^2.8.0 || ^3.3.2",
|
|
34
|
+
"magic-snowflakes": "^7.0.2",
|
|
35
|
+
"tslib": "^2.8.1"
|
|
36
|
+
},
|
|
37
|
+
"devDependencies": {
|
|
38
|
+
"@open-wc/testing-helpers": "^3.0.1",
|
|
39
|
+
"@typescript-eslint/eslint-plugin": "^8.46.4",
|
|
40
|
+
"@vitest/browser": "^4.0.8",
|
|
41
|
+
"@vitest/browser-playwright": "^4.0.8",
|
|
42
|
+
"@vitest/coverage-v8": "^4.0.8",
|
|
43
|
+
"eslint": "^9.39.1",
|
|
44
|
+
"eslint-config-prettier": "^10.1.8",
|
|
45
|
+
"eslint-plugin-html": "^8.1.3",
|
|
46
|
+
"eslint-plugin-import": "^2.32.0",
|
|
47
|
+
"eslint-plugin-lit": "^1.15.0",
|
|
48
|
+
"eslint-plugin-lit-a11y": "^4.1.4",
|
|
49
|
+
"eslint-plugin-no-only-tests": "^3.3.0",
|
|
50
|
+
"eslint-plugin-wc": "^2.2.1",
|
|
51
|
+
"highlight.js": "^11.11.1",
|
|
52
|
+
"madge": "^8.0.0",
|
|
53
|
+
"playwright": "^1.56.1",
|
|
54
|
+
"prettier": "^3.6.2",
|
|
55
|
+
"ts-lit-plugin": "^2.0.2",
|
|
56
|
+
"tsc-alias": "^1.8.16",
|
|
57
|
+
"typescript": "^5.9.3",
|
|
58
|
+
"vite": "^7.2.2",
|
|
59
|
+
"vitest": "^4.0.8",
|
|
60
|
+
"wireit": "^0.14.12"
|
|
61
|
+
},
|
|
62
|
+
"exports": {
|
|
63
|
+
".": "./dist/src/index.js",
|
|
64
|
+
"./*": "./dist/src/elements/*.js",
|
|
65
|
+
"./labs/*": "./dist/src/labs/*.js"
|
|
66
|
+
},
|
|
67
|
+
"files": [
|
|
68
|
+
"README.md",
|
|
69
|
+
"dist",
|
|
70
|
+
"!dist/**/*.test*",
|
|
71
|
+
"!dist/**/*-story*",
|
|
72
|
+
"!dist/demo",
|
|
73
|
+
"!dist/src/internal",
|
|
74
|
+
"!dist/*.tsbuildinfo"
|
|
75
|
+
],
|
|
76
|
+
"wireit": {
|
|
77
|
+
"build": {
|
|
78
|
+
"command": "tsc --build --pretty && tsc-alias && rsync -zarvm --prune-empty-dirs --include \"*/\" --include \"*.svg\" --exclude=\"*\" src dist",
|
|
79
|
+
"dependencies": [
|
|
80
|
+
"circular"
|
|
81
|
+
],
|
|
82
|
+
"files": [
|
|
83
|
+
"src/**/*.ts",
|
|
84
|
+
"tsconfig.json"
|
|
85
|
+
],
|
|
86
|
+
"output": [
|
|
87
|
+
"dist/**"
|
|
88
|
+
]
|
|
89
|
+
},
|
|
90
|
+
"circular": {
|
|
91
|
+
"command": "madge --circular --extensions ts ."
|
|
92
|
+
},
|
|
93
|
+
"clean": {
|
|
94
|
+
"command": "rm -rf dist"
|
|
95
|
+
},
|
|
96
|
+
"dev": {
|
|
97
|
+
"command": "vite"
|
|
98
|
+
},
|
|
99
|
+
"lint": {
|
|
100
|
+
"command": "eslint . && prettier \"**/*.ts\" --check"
|
|
101
|
+
},
|
|
102
|
+
"format": {
|
|
103
|
+
"command": "eslint . --fix && prettier \"**/*.ts\" --write"
|
|
104
|
+
},
|
|
105
|
+
"prepare": {
|
|
106
|
+
"dependencies": [
|
|
107
|
+
"build"
|
|
108
|
+
]
|
|
109
|
+
},
|
|
110
|
+
"test": {
|
|
111
|
+
"command": "vitest",
|
|
112
|
+
"dependencies": [
|
|
113
|
+
"circular"
|
|
114
|
+
]
|
|
115
|
+
},
|
|
116
|
+
"ghpages:build": {
|
|
117
|
+
"command": "vite build --config vite.config.ghpages.ts && touch ./ghpages/.nojekyll"
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
}
|