From e91dca749b123cf064265a953dbbb600dd0b2995 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sun, 1 Dec 2024 14:45:50 +0000 Subject: [PATCH 1/6] Bump puppeteer from 22.15.0 to 23.9.0 Bumps [puppeteer](https://github.com/puppeteer/puppeteer) from 22.15.0 to 23.9.0. - [Release notes](https://github.com/puppeteer/puppeteer/releases) - [Changelog](https://github.com/puppeteer/puppeteer/blob/main/release-please-config.json) - [Commits](https://github.com/puppeteer/puppeteer/compare/puppeteer-v22.15.0...puppeteer-v23.9.0) --- updated-dependencies: - dependency-name: puppeteer dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- packages/stencil-library/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/stencil-library/package.json b/packages/stencil-library/package.json index 3051902e..7c679f84 100644 --- a/packages/stencil-library/package.json +++ b/packages/stencil-library/package.json @@ -62,7 +62,7 @@ "license-checker-rseidelsohn": "^4.2.6", "lit": "^3.1.0", "npm-run-all": "^4.1.5", - "puppeteer": "^22.13.1", + "puppeteer": "^23.9.0", "react": "^18.2.0", "react-dom": "^18.2.0", "rollup-plugin-node-polyfills": "^0.2.1", From 483a19ceb64142838e66eeff283122545762da63 Mon Sep 17 00:00:00 2001 From: Daniel Date: Mon, 16 Dec 2024 14:31:15 -0500 Subject: [PATCH 2/6] Bumped nuke to v9.0.3 Bumped nuke to v9.0.3 --- .nuke/build.schema.json | 36 +++++---- _build/Build.cs | 22 ------ _build/_build.csproj | 4 +- global.json | 2 +- package-lock.json | 33 ++++---- .../lib/components/stencil-generated/index.ts | 1 + packages/react-library/package.json | 2 +- packages/stencil-library/custom-elements.json | 18 +++++ packages/stencil-library/licenses.json | 2 +- packages/stencil-library/package.json | 2 +- packages/stencil-library/src/components.d.ts | 13 ++++ .../src/components/dnn-button/readme.md | 2 + .../src/components/dnn-select/readme.md | 2 + .../src/components/test-form/readme.md | 28 +++++++ .../src/components/test-form/test-form.scss | 3 + .../src/components/test-form/test-form.tsx | 76 +++++++++++++++++++ packages/stencil-library/src/index.html | 1 + packages/stencil-library/vscode-data.json | 8 ++ 18 files changed, 198 insertions(+), 57 deletions(-) create mode 100644 packages/stencil-library/src/components/test-form/readme.md create mode 100644 packages/stencil-library/src/components/test-form/test-form.scss create mode 100644 packages/stencil-library/src/components/test-form/test-form.tsx diff --git a/.nuke/build.schema.json b/.nuke/build.schema.json index dbcfcec2..0959080c 100644 --- a/.nuke/build.schema.json +++ b/.nuke/build.schema.json @@ -1,19 +1,5 @@ { "$schema": "http://json-schema.org/draft-04/schema#", - "properties": { - "Configuration": { - "type": "string", - "description": "Configuration to build - Default is 'Debug' (local) or 'Release' (server)", - "enum": [ - "Debug", - "Release" - ] - }, - "GithubToken": { - "type": "string", - "description": "Github Token" - } - }, "definitions": { "Host": { "type": "string", @@ -118,5 +104,25 @@ } } }, - "$ref": "#/definitions/NukeBuild" + "allOf": [ + { + "properties": { + "Configuration": { + "type": "string", + "description": "Configuration to build - Default is 'Debug' (local) or 'Release' (server)", + "enum": [ + "Debug", + "Release" + ] + }, + "GithubToken": { + "type": "string", + "description": "Github Token" + } + } + }, + { + "$ref": "#/definitions/NukeBuild" + } + ] } diff --git a/_build/Build.cs b/_build/Build.cs index ae7fa1b0..8efd7377 100644 --- a/_build/Build.cs +++ b/_build/Build.cs @@ -109,24 +109,6 @@ class Build : NukeBuild .DependsOn(Clean) .Executes(() => { - NpmLogger = (type, output) => - { - if (type == OutputType.Std) - { - Serilog.Log.Information(output); - } - if (type == OutputType.Err) - { - if (output.StartsWith("npm WARN", StringComparison.OrdinalIgnoreCase)) - { - Serilog.Log.Warning(output); - } - else - { - Serilog.Log.Error(output); - } - } - }; var version = gitRepository.IsOnMainOrMasterBranch() ? GitVersion.MajorMinorPatch : GitVersion.SemVer; Npm($"version {version} --allow-same-version --git-tag-version false --workspaces", RootDirectory); @@ -182,9 +164,6 @@ class Build : NukeBuild .DependsOn(SetupGithubActor) .Executes(() => { - // Prevents a bug where git sends ok message to the error output sink - GitLogger = (type, output) => Serilog.Log.Information(output); - // Because in CI we are in detached head, // we create a local deploy branch to track our commit. Git("switch -c deploy"); @@ -211,7 +190,6 @@ class Build : NukeBuild .Executes(() => { var version = gitRepository.IsOnMainOrMasterBranch() ? GitVersion.MajorMinorPatch : GitVersion.SemVer; - GitLogger = (type, output) => Serilog.Log.Information(output); Git($"tag v{version}"); Git($"push origin --tags"); }); diff --git a/_build/_build.csproj b/_build/_build.csproj index 95a790a8..1a66454e 100644 --- a/_build/_build.csproj +++ b/_build/_build.csproj @@ -2,7 +2,7 @@ Exe - net8.0 + net9.0 CS0649;CS0169 .. @@ -11,7 +11,7 @@ - + diff --git a/global.json b/global.json index 082deb78..aad16d85 100644 --- a/global.json +++ b/global.json @@ -1,6 +1,6 @@ { "sdk": { - "version": "8.0.403", + "version": "9.0.100", "rollForward": "latestMajor" } } diff --git a/package-lock.json b/package-lock.json index b97fe4a8..a74d40e7 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1929,12 +1929,13 @@ "dev": true }, "node_modules/@chromatic-com/storybook": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/@chromatic-com/storybook/-/storybook-2.0.2.tgz", - "integrity": "sha512-7bPIliISedeIpnVKbzktysFYW5n56bN91kxuOj1XXKixmjbUHRUMvcXd4K2liN6MiR5ZqJtmtcPsZ6CebbGlEA==", + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/@chromatic-com/storybook/-/storybook-3.2.2.tgz", + "integrity": "sha512-xmXt/GW0hAPbzNTrxYuVo43Adrtjue4DeVrsoIIEeJdGaPNNeNf+DHMlJKOBdlHmCnFUoe9R/0mLM9zUp5bKWw==", "dev": true, + "license": "MIT", "dependencies": { - "chromatic": "^11.4.0", + "chromatic": "^11.15.0", "filesize": "^10.0.12", "jsonfile": "^6.1.0", "react-confetti": "^6.1.0", @@ -1943,6 +1944,9 @@ "engines": { "node": ">=16.0.0", "yarn": ">=1.22.18" + }, + "peerDependencies": { + "storybook": "^8.2.0 || ^8.3.0-0 || ^8.4.0-0 || ^8.5.0-0 || ^8.6.0-0" } }, "node_modules/@chromatic-com/storybook/node_modules/ansi-regex": { @@ -8984,10 +8988,11 @@ } }, "node_modules/chromatic": { - "version": "11.5.4", - "resolved": "https://registry.npmjs.org/chromatic/-/chromatic-11.5.4.tgz", - "integrity": "sha512-+J+CopeUSyGUIQJsU6X7CfvSmeVBs0j6LZ9AgF4+XTjI4pFmUiUXsTc00rH9x9W1jCppOaqDXv2kqJJXGDK3mA==", + "version": "11.20.2", + "resolved": "https://registry.npmjs.org/chromatic/-/chromatic-11.20.2.tgz", + "integrity": "sha512-c+M3HVl5Y60c7ipGTZTyeWzWubRW70YsJ7PPDpO1D735ib8+Lu3yGF90j61pvgkXGngpkTPHZyBw83lcu2JMxA==", "dev": true, + "license": "MIT", "bin": { "chroma": "dist/bin.js", "chromatic": "dist/bin.js", @@ -22469,9 +22474,9 @@ "dev": true }, "node_modules/typescript": { - "version": "5.6.2", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.6.2.tgz", - "integrity": "sha512-NW8ByodCSNCwZeghjN3o+JX5OFH0Ojg6sadjEKY4huZ52TqbJTJnDo5+Tw98lSy63NZvi4n+ez5m2u5d4PkZyw==", + "version": "5.6.3", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.6.3.tgz", + "integrity": "sha512-hjcS1mhfuyi4WW8IWtjP7brDrG2cuDZukyrYrSauoXGNgx0S7zceP07adYkJycEr56BOUTNPzbInooiN3fn1qw==", "dev": true, "license": "Apache-2.0", "bin": { @@ -23613,7 +23618,7 @@ }, "packages/react-library": { "name": "@dnncommunity/dnn-elements-react", - "version": "0.25.0-alpha.9", + "version": "0.24.2-beta.1", "license": "MIT", "dependencies": { "@dnncommunity/dnn-elements": "*" @@ -23639,13 +23644,13 @@ }, "packages/stencil-library": { "name": "@dnncommunity/dnn-elements", - "version": "0.25.0-alpha.9", + "version": "0.24.2-beta.1", "license": "MIT", "dependencies": { "jodit": "^4.2.27" }, "devDependencies": { - "@chromatic-com/storybook": "^2.0.2", + "@chromatic-com/storybook": "^3.1.0", "@stencil-community/eslint-plugin": "0.8.0", "@stencil/core": "4.22.2", "@stencil/react-output-target": "^0.5.1", @@ -23679,7 +23684,7 @@ "react-dom": "^18.2.0", "rollup-plugin-node-polyfills": "^0.2.1", "storybook": "^8.3.2", - "typescript": "5.6.2", + "typescript": "5.6.3", "typescript-debounce-decorator": "^0.0.18" } }, diff --git a/packages/react-library/lib/components/stencil-generated/index.ts b/packages/react-library/lib/components/stencil-generated/index.ts index 4c752039..1f4f8dcd 100644 --- a/packages/react-library/lib/components/stencil-generated/index.ts +++ b/packages/react-library/lib/components/stencil-generated/index.ts @@ -34,3 +34,4 @@ export const DnnToggle = /*@__PURE__*/createReactComponent('dnn-treeview-item'); export const DnnVerticalOverflowMenu = /*@__PURE__*/createReactComponent('dnn-vertical-overflow-menu'); export const DnnVerticalSplitview = /*@__PURE__*/createReactComponent('dnn-vertical-splitview'); +export const TestForm = /*@__PURE__*/createReactComponent('test-form'); diff --git a/packages/react-library/package.json b/packages/react-library/package.json index f9d3119c..99f2ffa9 100644 --- a/packages/react-library/package.json +++ b/packages/react-library/package.json @@ -1,6 +1,6 @@ { "name": "@dnncommunity/dnn-elements-react", - "version": "0.25.0-alpha.9", + "version": "0.24.2-beta.1", "description": "Dnn themed custom elements with react wrappers.", "homepage": "https://github.com/valadas/dnn-elements", "license": "MIT", diff --git a/packages/stencil-library/custom-elements.json b/packages/stencil-library/custom-elements.json index 97f244f4..0681df56 100644 --- a/packages/stencil-library/custom-elements.json +++ b/packages/stencil-library/custom-elements.json @@ -2424,6 +2424,24 @@ "cssParts": [] } ] + }, + { + "kind": "javascript-module", + "path": "src/components/test-form/test-form.tsx", + "declarations": [ + { + "kind": "class", + "name": "test-form.tsx", + "tagName": "test-form", + "description": "", + "attributes": [], + "members": [], + "events": [], + "slots": [], + "cssProperties": [], + "cssParts": [] + } + ] } ] } \ No newline at end of file diff --git a/packages/stencil-library/licenses.json b/packages/stencil-library/licenses.json index bafac29b..b18d9f0d 100644 --- a/packages/stencil-library/licenses.json +++ b/packages/stencil-library/licenses.json @@ -1,5 +1,5 @@ { - "@dnncommunity/dnn-elements@0.25.0-alpha.9": { + "@dnncommunity/dnn-elements@0.24.2-beta.1": { "licenses": "MIT", "repository": "https://github.com/dnncommunity/dnn-elements", "path": "", diff --git a/packages/stencil-library/package.json b/packages/stencil-library/package.json index 3051902e..8528e204 100644 --- a/packages/stencil-library/package.json +++ b/packages/stencil-library/package.json @@ -1,6 +1,6 @@ { "name": "@dnncommunity/dnn-elements", - "version": "0.25.0-alpha.9", + "version": "0.24.2-beta.1", "description": "Dnn themed custom elements.", "repository": "https://github.com/dnncommunity/dnn-elements", "homepage": "https://dnncommunity.github.io/dnn-elements", diff --git a/packages/stencil-library/src/components.d.ts b/packages/stencil-library/src/components.d.ts index 329615c9..5f3be843 100644 --- a/packages/stencil-library/src/components.d.ts +++ b/packages/stencil-library/src/components.d.ts @@ -752,6 +752,8 @@ export namespace Components { */ "splitterWidth": number; } + interface TestForm { + } } export interface DnnAutocompleteCustomEvent extends CustomEvent { detail: T; @@ -1275,6 +1277,12 @@ declare global { prototype: HTMLDnnVerticalSplitviewElement; new (): HTMLDnnVerticalSplitviewElement; }; + interface HTMLTestFormElement extends Components.TestForm, HTMLStencilElement { + } + var HTMLTestFormElement: { + prototype: HTMLTestFormElement; + new (): HTMLTestFormElement; + }; interface HTMLElementTagNameMap { "dnn-autocomplete": HTMLDnnAutocompleteElement; "dnn-button": HTMLDnnButtonElement; @@ -1303,6 +1311,7 @@ declare global { "dnn-treeview-item": HTMLDnnTreeviewItemElement; "dnn-vertical-overflow-menu": HTMLDnnVerticalOverflowMenuElement; "dnn-vertical-splitview": HTMLDnnVerticalSplitviewElement; + "test-form": HTMLTestFormElement; } } declare namespace LocalJSX { @@ -2071,6 +2080,8 @@ declare namespace LocalJSX { */ "splitterWidth"?: number; } + interface TestForm { + } interface IntrinsicElements { "dnn-autocomplete": DnnAutocomplete; "dnn-button": DnnButton; @@ -2099,6 +2110,7 @@ declare namespace LocalJSX { "dnn-treeview-item": DnnTreeviewItem; "dnn-vertical-overflow-menu": DnnVerticalOverflowMenu; "dnn-vertical-splitview": DnnVerticalSplitview; + "test-form": TestForm; } } export { LocalJSX as JSX }; @@ -2164,6 +2176,7 @@ declare module "@stencil/core" { */ "dnn-vertical-overflow-menu": LocalJSX.DnnVerticalOverflowMenu & JSXBase.HTMLAttributes; "dnn-vertical-splitview": LocalJSX.DnnVerticalSplitview & JSXBase.HTMLAttributes; + "test-form": LocalJSX.TestForm & JSXBase.HTMLAttributes; } } } diff --git a/packages/stencil-library/src/components/dnn-button/readme.md b/packages/stencil-library/src/components/dnn-button/readme.md index ec2a5067..0691d30c 100644 --- a/packages/stencil-library/src/components/dnn-button/readme.md +++ b/packages/stencil-library/src/components/dnn-button/readme.md @@ -87,6 +87,7 @@ - [dnn-color-input](../dnn-color-input) - [dnn-example-form](../examples/dnn-example-form) - [dnn-permissions-grid](../dnn-permissions-grid) + - [test-form](../test-form) ### Depends on @@ -100,6 +101,7 @@ graph TD; dnn-color-input --> dnn-button dnn-example-form --> dnn-button dnn-permissions-grid --> dnn-button + test-form --> dnn-button style dnn-button fill:#f9f,stroke:#333,stroke-width:4px ``` diff --git a/packages/stencil-library/src/components/dnn-select/readme.md b/packages/stencil-library/src/components/dnn-select/readme.md index 1dc90b65..60cb7c66 100644 --- a/packages/stencil-library/src/components/dnn-select/readme.md +++ b/packages/stencil-library/src/components/dnn-select/readme.md @@ -56,6 +56,7 @@ Type: `Promise` ### Used by - [dnn-example-form](../examples/dnn-example-form) + - [test-form](../test-form) ### Depends on @@ -66,6 +67,7 @@ Type: `Promise` graph TD; dnn-select --> dnn-fieldset dnn-example-form --> dnn-select + test-form --> dnn-select style dnn-select fill:#f9f,stroke:#333,stroke-width:4px ``` diff --git a/packages/stencil-library/src/components/test-form/readme.md b/packages/stencil-library/src/components/test-form/readme.md new file mode 100644 index 00000000..eba86974 --- /dev/null +++ b/packages/stencil-library/src/components/test-form/readme.md @@ -0,0 +1,28 @@ +# test-form + + + + + + +## Dependencies + +### Depends on + +- [dnn-select](../dnn-select) +- [dnn-button](../dnn-button) + +### Graph +```mermaid +graph TD; + test-form --> dnn-select + test-form --> dnn-button + dnn-select --> dnn-fieldset + dnn-button --> dnn-modal + dnn-button --> dnn-button + style test-form fill:#f9f,stroke:#333,stroke-width:4px +``` + +---------------------------------------------- + +*Built with [StencilJS](https://stenciljs.com/)* diff --git a/packages/stencil-library/src/components/test-form/test-form.scss b/packages/stencil-library/src/components/test-form/test-form.scss new file mode 100644 index 00000000..5d4e87f3 --- /dev/null +++ b/packages/stencil-library/src/components/test-form/test-form.scss @@ -0,0 +1,3 @@ +:host { + display: block; +} diff --git a/packages/stencil-library/src/components/test-form/test-form.tsx b/packages/stencil-library/src/components/test-form/test-form.tsx new file mode 100644 index 00000000..11ac7ca2 --- /dev/null +++ b/packages/stencil-library/src/components/test-form/test-form.tsx @@ -0,0 +1,76 @@ +import { Component, Host, State, h } from '@stencil/core'; + +@Component({ + tag: 'test-form', + styleUrl: 'test-form.scss', + shadow: true, +}) +export class TestForm { + @State() data: { + country?: string; + }; + + @State() countries: { + name: string; + states: {name: string}[]; + }[] = [ + { + name: 'United States', + states: [ + { + name: 'Alabama', + }, + { + name: 'Alaska', + }, + ], + }, + { + name: 'Canada', + states: [ + { + name: 'Alberta', + }, + { + name: 'British Columbia', + }, + ], + }, + ]; + + private submitStep(e: Event): void { + e.preventDefault(); + console.log(this.data); + } + + render() { + {console.log(this.countries)} + { + this.countries.map(country => console.log(country)); + } + return ( + +
this.submitStep(e)}> + + + {this.countries && this.countries.map(country => ( + + ))} + + Submit +
+
+ ); + } +} diff --git a/packages/stencil-library/src/index.html b/packages/stencil-library/src/index.html index 433d2c02..72da9189 100644 --- a/packages/stencil-library/src/index.html +++ b/packages/stencil-library/src/index.html @@ -85,6 +85,7 @@ +

Dnn HTML custom elements

  • dnn-autocomplete
  • diff --git a/packages/stencil-library/vscode-data.json b/packages/stencil-library/vscode-data.json index 63adaa39..5c278c11 100644 --- a/packages/stencil-library/vscode-data.json +++ b/packages/stencil-library/vscode-data.json @@ -1013,6 +1013,14 @@ "description": "The width of the splitter area." } ] + }, + { + "name": "test-form", + "description": { + "kind": "markdown", + "value": "" + }, + "attributes": [] } ] } \ No newline at end of file From 5eeae044bf73446eb50928b6ba32cbbbb0453e78 Mon Sep 17 00:00:00 2001 From: Daniel Date: Mon, 16 Dec 2024 14:39:14 -0500 Subject: [PATCH 3/6] Changed testing browser config to use no-sandbox --- packages/stencil-library/stencil.config.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/stencil-library/stencil.config.ts b/packages/stencil-library/stencil.config.ts index 2b1a9a44..a6fba3fb 100644 --- a/packages/stencil-library/stencil.config.ts +++ b/packages/stencil-library/stencil.config.ts @@ -152,5 +152,6 @@ export const config: Config = { sourceMap: true, testing: { browserHeadless: "new", + browserArgs: ["--no-sandbox", "--disable-setuid-sandbox"], }, }; From 302cb8760e97874283969732e4f8e10fd0b59006 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 16 Dec 2024 19:45:04 +0000 Subject: [PATCH 4/6] Bump eslint-plugin-storybook from 0.10.2 to 0.11.1 Bumps [eslint-plugin-storybook](https://github.com/storybookjs/eslint-plugin-storybook) from 0.10.2 to 0.11.1. - [Release notes](https://github.com/storybookjs/eslint-plugin-storybook/releases) - [Changelog](https://github.com/storybookjs/eslint-plugin-storybook/blob/main/CHANGELOG.md) - [Commits](https://github.com/storybookjs/eslint-plugin-storybook/compare/v0.10.2...v0.11.1) --- updated-dependencies: - dependency-name: eslint-plugin-storybook dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- packages/stencil-library/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/stencil-library/package.json b/packages/stencil-library/package.json index bb1641f0..b5a42db7 100644 --- a/packages/stencil-library/package.json +++ b/packages/stencil-library/package.json @@ -55,7 +55,7 @@ "babel-loader": "^9.1.2", "eslint": "^8.57.0", "eslint-plugin-react": "^7.16.0", - "eslint-plugin-storybook": "^0.10.1", + "eslint-plugin-storybook": "^0.11.1", "gh-pages": "^6.0.0", "jest": "^29.7.0", "jest-cli": "^29.7.0", From 0577e64717a134b2274e3b543fb1135c6d08cadb Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 16 Dec 2024 19:45:21 +0000 Subject: [PATCH 5/6] Bump @stencil-community/eslint-plugin from 0.8.0 to 0.9.0 Bumps [@stencil-community/eslint-plugin](https://github.com/stencil-community/stencil-eslint) from 0.8.0 to 0.9.0. - [Release notes](https://github.com/stencil-community/stencil-eslint/releases) - [Commits](https://github.com/stencil-community/stencil-eslint/compare/v0.8.0...v0.9.0) --- updated-dependencies: - dependency-name: "@stencil-community/eslint-plugin" dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- packages/stencil-library/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/stencil-library/package.json b/packages/stencil-library/package.json index bb1641f0..ece28810 100644 --- a/packages/stencil-library/package.json +++ b/packages/stencil-library/package.json @@ -34,7 +34,7 @@ }, "devDependencies": { "@chromatic-com/storybook": "^3.1.0", - "@stencil-community/eslint-plugin": "0.8.0", + "@stencil-community/eslint-plugin": "0.9.0", "@stencil/core": "4.22.2", "@stencil/react-output-target": "^0.5.1", "@stencil/sass": "^3.0.4", From d671ebf4a052a66005a9646c8faecc581f312b3c Mon Sep 17 00:00:00 2001 From: Daniel Date: Tue, 17 Dec 2024 16:21:30 -0500 Subject: [PATCH 6/6] Fixed an issue where it was not possible to programatically set the value for dnn-autocomplete Before this change, one could change the value but it would not update the component visible state (the old value would stay displayed and the label would float over an empty value too). Also in earlier work I had left out some test form which looked strange above the html of everything else. --- package-lock.json | 481 +++++++++--------- .../lib/components/stencil-generated/index.ts | 1 - packages/stencil-library/src/components.d.ts | 13 - .../dnn-autocomplete/dnn-autocomplete.tsx | 10 +- .../src/components/test-form/readme.md | 28 - .../src/components/test-form/test-form.scss | 3 - .../src/components/test-form/test-form.tsx | 76 --- packages/stencil-library/src/index.html | 1 - 8 files changed, 258 insertions(+), 355 deletions(-) delete mode 100644 packages/stencil-library/src/components/test-form/readme.md delete mode 100644 packages/stencil-library/src/components/test-form/test-form.scss delete mode 100644 packages/stencil-library/src/components/test-form/test-form.tsx diff --git a/package-lock.json b/package-lock.json index a74d40e7..578c1f9d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -45,17 +45,6 @@ "node": ">=6.0.0" } }, - "node_modules/@asamuzakjp/dom-selector": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/@asamuzakjp/dom-selector/-/dom-selector-2.0.2.tgz", - "integrity": "sha512-x1KXOatwofR6ZAYzXRBL5wrdV0vwNxlTCK9NCuLqAzQYARqGcvFwiJA6A1ERuh+dgeA4Dxm3JBYictIes+SqUQ==", - "dev": true, - "dependencies": { - "bidi-js": "^1.0.3", - "css-tree": "^2.3.1", - "is-potential-custom-element-name": "^1.0.1" - } - }, "node_modules/@babel/code-frame": { "version": "7.24.7", "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.24.7.tgz", @@ -4742,16 +4731,17 @@ } }, "node_modules/@puppeteer/browsers": { - "version": "2.2.4", - "resolved": "https://registry.npmjs.org/@puppeteer/browsers/-/browsers-2.2.4.tgz", - "integrity": "sha512-BdG2qiI1dn89OTUUsx2GZSpUzW+DRffR1wlMJyKxVHYrhnKoELSDxDd+2XImUkuWPEKk76H5FcM/gPFrEK1Tfw==", + "version": "2.6.1", + "resolved": "https://registry.npmjs.org/@puppeteer/browsers/-/browsers-2.6.1.tgz", + "integrity": "sha512-aBSREisdsGH890S2rQqK82qmQYU3uFpSH8wcZWHgHzl3LfzsxAKbLNiAG9mO8v1Y0UICBeClICxPJvyr0rcuxg==", "dev": true, + "license": "Apache-2.0", "dependencies": { - "debug": "^4.3.5", + "debug": "^4.4.0", "extract-zip": "^2.0.1", "progress": "^2.0.3", - "proxy-agent": "^6.4.0", - "semver": "^7.6.2", + "proxy-agent": "^6.5.0", + "semver": "^7.6.3", "tar-fs": "^3.0.6", "unbzip2-stream": "^1.4.3", "yargs": "^17.7.2" @@ -4768,6 +4758,7 @@ "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.3.tgz", "integrity": "sha512-oVekP1cKtI+CTDvHWYFUcMtsK/00wmAEfyqKfNdARm8u1wNVhSgaX7A8d4UuIlUI5e84iEwOhs7ZPYRmzU9U6A==", "dev": true, + "license": "ISC", "bin": { "semver": "bin/semver.js" }, @@ -4874,22 +4865,23 @@ } }, "node_modules/@stencil-community/eslint-plugin": { - "version": "0.8.0", - "resolved": "https://registry.npmjs.org/@stencil-community/eslint-plugin/-/eslint-plugin-0.8.0.tgz", - "integrity": "sha512-IYkP5/HXmY2RyLQdC3lWmpg/WKoMfm76ijsBy9uVtWteVmhun54TvNEJtkfLIdKj+oj7fjq7flwAz3/9aGoxag==", + "version": "0.9.0", + "resolved": "https://registry.npmjs.org/@stencil-community/eslint-plugin/-/eslint-plugin-0.9.0.tgz", + "integrity": "sha512-0ljeJT/YWZHh/6yO2sjHFsga9qUVzctL9MYtEvn/KFSgX6Pgp8mxzEfQ1cgra78gyatxCSEMxHQQK/St/isk7A==", "dev": true, + "license": "MIT", "dependencies": { "eslint-utils": "^3.0.0", - "jsdom": "^23.0.1", + "jsdom": "^25.0.0", "tsutils": "^3.21.0" }, "engines": { - "node": ">=16.20.2" + "node": ">=18.0.0" }, "peerDependencies": { - "@typescript-eslint/eslint-plugin": "^5.0.0 || ^6.0.0", - "@typescript-eslint/parser": "^5.0.0 || ^6.0.0", - "eslint": "<9 && ^8.0.0", + "@typescript-eslint/eslint-plugin": "^7.0.0 || ^8.0.0", + "@typescript-eslint/parser": "^7.0.0 || ^8.0.0", + "eslint": "^8.0.0 || ^9.0.0", "eslint-plugin-react": "^7.0.0", "typescript": "^4.9.4 || ^5.0.0" } @@ -6641,7 +6633,8 @@ "version": "0.23.0", "resolved": "https://registry.npmjs.org/@tootallnate/quickjs-emscripten/-/quickjs-emscripten-0.23.0.tgz", "integrity": "sha512-C5Mc6rdnsaJDjO3UpGW/CQTHtCKaYlScZTly4JIu97Jxo/odCiH0ITnDXSJPTOrEKk/ycSZ0AOgTmkDtkOsvIA==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/@tufjs/canonical-json": { "version": "2.0.0", @@ -7055,6 +7048,7 @@ "resolved": "https://registry.npmjs.org/@types/yauzl/-/yauzl-2.10.3.tgz", "integrity": "sha512-oJoftv0LSuaDZE3Le4DbKX+KS9G36NzOeSap90UIK0yMA/NhKJhqlSGtNDORNRaIbQfzjXDrQa0ytJ6mNRGz/Q==", "dev": true, + "license": "MIT", "optional": true, "dependencies": { "@types/node": "*" @@ -7588,13 +7582,11 @@ "dev": true }, "node_modules/agent-base": { - "version": "7.1.1", - "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-7.1.1.tgz", - "integrity": "sha512-H0TSyFNDMomMNJQBn8wFV5YC/2eJ+VXECwOadZJT554xP6cODZHPX3H9QMQECxvrgiSOP1pHjy1sMWQVYJOUOA==", + "version": "7.1.3", + "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-7.1.3.tgz", + "integrity": "sha512-jRR5wdylq8CkOe6hei19GGZnxM6rBGwFl3Bg0YItGDimvjGtAvdZk4Pu6Cl4u4Igsws4a1fd1Vq3ezrhn4KmFw==", "dev": true, - "dependencies": { - "debug": "^4.3.4" - }, + "license": "MIT", "engines": { "node": ">= 14" } @@ -7998,6 +7990,7 @@ "resolved": "https://registry.npmjs.org/ast-types/-/ast-types-0.13.4.tgz", "integrity": "sha512-x1FCFnFifvYDDzTaLII71vG5uvDwgtmDTEVWAxrgeiR8VjMONcCXJx7E+USjDtHlwFmt9MysbqgF9b9Vjr6w+w==", "dev": true, + "license": "MIT", "dependencies": { "tslib": "^2.0.1" }, @@ -8094,10 +8087,11 @@ } }, "node_modules/b4a": { - "version": "1.6.6", - "resolved": "https://registry.npmjs.org/b4a/-/b4a-1.6.6.tgz", - "integrity": "sha512-5Tk1HLk6b6ctmjIkAcU/Ujv/1WqiDl0F0JdRCR80VsOcUlHcu7pWeWRlOqQLHfDEsVx9YH/aif5AG4ehoCtTmg==", - "dev": true + "version": "1.6.7", + "resolved": "https://registry.npmjs.org/b4a/-/b4a-1.6.7.tgz", + "integrity": "sha512-OnAYlL5b7LEkALw87fUVafQw5rVR9RjwGd4KUwNQ6DrrNmaVaUCgLipfVlzrPQ4tWOR9P0IXGNOx50jYCCdSJg==", + "dev": true, + "license": "Apache-2.0" }, "node_modules/babel-jest": { "version": "29.7.0", @@ -8418,17 +8412,19 @@ "dev": true }, "node_modules/bare-events": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/bare-events/-/bare-events-2.4.2.tgz", - "integrity": "sha512-qMKFd2qG/36aA4GwvKq8MxnPgCQAmBWmSyLWsJcbn8v03wvIPQ/hG1Ms8bPzndZxMDoHpxez5VOS+gC9Yi24/Q==", + "version": "2.5.0", + "resolved": "https://registry.npmjs.org/bare-events/-/bare-events-2.5.0.tgz", + "integrity": "sha512-/E8dDe9dsbLyh2qrZ64PEPadOQ0F4gbl1sUJOrmph7xOiIxfY8vwab/4bFLh4Y88/Hk/ujKcrQKc+ps0mv873A==", "dev": true, + "license": "Apache-2.0", "optional": true }, "node_modules/bare-fs": { - "version": "2.3.1", - "resolved": "https://registry.npmjs.org/bare-fs/-/bare-fs-2.3.1.tgz", - "integrity": "sha512-W/Hfxc/6VehXlsgFtbB5B4xFcsCl+pAh30cYhoFyXErf6oGrwjh8SwiPAdHgpmWonKuYpZgGywN0SXt7dgsADA==", + "version": "2.3.5", + "resolved": "https://registry.npmjs.org/bare-fs/-/bare-fs-2.3.5.tgz", + "integrity": "sha512-SlE9eTxifPDJrT6YgemQ1WGFleevzwY+XAP1Xqgl56HtcrisC2CHCZ2tq6dBpcH2TnNxwUEUGhweo+lrQtYuiw==", "dev": true, + "license": "Apache-2.0", "optional": true, "dependencies": { "bare-events": "^2.0.0", @@ -8437,10 +8433,11 @@ } }, "node_modules/bare-os": { - "version": "2.4.0", - "resolved": "https://registry.npmjs.org/bare-os/-/bare-os-2.4.0.tgz", - "integrity": "sha512-v8DTT08AS/G0F9xrhyLtepoo9EJBJ85FRSMbu1pQUlAf6A8T0tEEQGMVObWeqpjhSPXsE0VGlluFBJu2fdoTNg==", + "version": "2.4.4", + "resolved": "https://registry.npmjs.org/bare-os/-/bare-os-2.4.4.tgz", + "integrity": "sha512-z3UiI2yi1mK0sXeRdc4O1Kk8aOa/e+FNWZcTiPB/dfTWyLypuE99LibgRaQki914Jq//yAWylcAt+mknKdixRQ==", "dev": true, + "license": "Apache-2.0", "optional": true }, "node_modules/bare-path": { @@ -8448,19 +8445,21 @@ "resolved": "https://registry.npmjs.org/bare-path/-/bare-path-2.1.3.tgz", "integrity": "sha512-lh/eITfU8hrj9Ru5quUp0Io1kJWIk1bTjzo7JH1P5dWmQ2EL4hFUlfI8FonAhSlgIfhn63p84CDY/x+PisgcXA==", "dev": true, + "license": "Apache-2.0", "optional": true, "dependencies": { "bare-os": "^2.1.0" } }, "node_modules/bare-stream": { - "version": "2.1.3", - "resolved": "https://registry.npmjs.org/bare-stream/-/bare-stream-2.1.3.tgz", - "integrity": "sha512-tiDAH9H/kP+tvNO5sczyn9ZAA7utrSMobyDchsnyyXBuUe2FSQWbxhtuHB8jwpHYYevVo2UJpcmvvjrbHboUUQ==", + "version": "2.6.1", + "resolved": "https://registry.npmjs.org/bare-stream/-/bare-stream-2.6.1.tgz", + "integrity": "sha512-eVZbtKM+4uehzrsj49KtCy3Pbg7kO1pJ3SKZ1SFrIH/0pnj9scuGGgUlNDf/7qS8WKtGdiJY5Kyhs/ivYPTB/g==", "dev": true, + "license": "Apache-2.0", "optional": true, "dependencies": { - "streamx": "^2.18.0" + "streamx": "^2.21.0" } }, "node_modules/base64-js": { @@ -8488,6 +8487,7 @@ "resolved": "https://registry.npmjs.org/basic-ftp/-/basic-ftp-5.0.5.tgz", "integrity": "sha512-4Bcg1P8xhUuqcii/S0Z9wiHIrQVPMermM1any+MX5GeGD7faD3/msQUDGLol9wOcz4/jbg/WJnGqoJF6LiBdtg==", "dev": true, + "license": "MIT", "engines": { "node": ">=10.0.0" } @@ -8510,15 +8510,6 @@ "node": ">=12.0.0" } }, - "node_modules/bidi-js": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/bidi-js/-/bidi-js-1.0.3.tgz", - "integrity": "sha512-RKshQI1R3YQ+n9YJz2QQ147P66ELpa1FQEg20Dk8oW9t2KgLbpDLLp9aGZ7y8WHSshDknG0bknqGw5/tyCs5tw==", - "dev": true, - "dependencies": { - "require-from-string": "^2.0.2" - } - }, "node_modules/bin-links": { "version": "4.0.4", "resolved": "https://registry.npmjs.org/bin-links/-/bin-links-4.0.4.tgz", @@ -8724,6 +8715,7 @@ "resolved": "https://registry.npmjs.org/buffer-crc32/-/buffer-crc32-0.2.13.tgz", "integrity": "sha512-VO9Ht/+p3SN7SKWqcrgEzjGbRSJYTx+Q1pTQC0wrWqHx0vpJraQ6GtHx8tvcg1rlK1byhU5gccxgOgj7B0TDkQ==", "dev": true, + "license": "MIT", "engines": { "node": "*" } @@ -9021,10 +9013,11 @@ } }, "node_modules/chromium-bidi": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/chromium-bidi/-/chromium-bidi-0.6.1.tgz", - "integrity": "sha512-kSxJRj0VgtUKz6nmzc2JPfyfJGzwzt65u7PqhPHtgGQUZLF5oG+ST6l6e5ONfStUMAlhSutFCjaGKllXZa16jA==", + "version": "0.8.0", + "resolved": "https://registry.npmjs.org/chromium-bidi/-/chromium-bidi-0.8.0.tgz", + "integrity": "sha512-uJydbGdTw0DEUjhoogGveneJVWX/9YuqkWePzMmkBYwtdAqo5d3J/ovNKFr+/2hWXYmYCr6it8mSSTIj6SS6Ug==", "dev": true, + "license": "Apache-2.0", "dependencies": { "mitt": "3.0.1", "urlpattern-polyfill": "10.0.0", @@ -9796,19 +9789,6 @@ "url": "https://github.com/sponsors/fb55" } }, - "node_modules/css-tree": { - "version": "2.3.1", - "resolved": "https://registry.npmjs.org/css-tree/-/css-tree-2.3.1.tgz", - "integrity": "sha512-6Fv1DV/TYw//QF5IzQdqsNDjx/wc8TrMBZsqjL9eW01tWb7R7k/mq+/VXfJCl7SoD5emsJop9cOByJZfs8hYIw==", - "dev": true, - "dependencies": { - "mdn-data": "2.0.30", - "source-map-js": "^1.0.1" - }, - "engines": { - "node": "^10 || ^12.20.0 || ^14.13.0 || >=15.0.0" - } - }, "node_modules/css-what": { "version": "6.1.0", "resolved": "https://registry.npmjs.org/css-what/-/css-what-6.1.0.tgz", @@ -9840,12 +9820,13 @@ } }, "node_modules/cssstyle": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/cssstyle/-/cssstyle-4.0.1.tgz", - "integrity": "sha512-8ZYiJ3A/3OkDd093CBT/0UKDWry7ak4BdPTFP2+QEP7cmhouyq/Up709ASSj2cK02BbZiMgk7kYjZNS4QP5qrQ==", + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/cssstyle/-/cssstyle-4.1.0.tgz", + "integrity": "sha512-h66W1URKpBS5YMI/V8PyXvTMFT8SupJ1IzoIV8IeBC/ji8WVmrO8dGlTi+2dh6whmdk6BiKJLD/ZBkhWbcg6nA==", "dev": true, + "license": "MIT", "dependencies": { - "rrweb-cssom": "^0.6.0" + "rrweb-cssom": "^0.7.1" }, "engines": { "node": ">=18" @@ -9871,6 +9852,7 @@ "resolved": "https://registry.npmjs.org/data-uri-to-buffer/-/data-uri-to-buffer-6.0.2.tgz", "integrity": "sha512-7hvf7/GW8e86rW0ptuwS3OcBGDjIi6SZva7hCyWC0yYry2cOPmLIjXAUHI6DK2HsnwJd9ifmt57i8eV2n4YNpw==", "dev": true, + "license": "MIT", "engines": { "node": ">= 14" } @@ -9880,6 +9862,7 @@ "resolved": "https://registry.npmjs.org/data-urls/-/data-urls-5.0.0.tgz", "integrity": "sha512-ZYP5VBHshaDAiVZxjbRVcFJpc+4xGgT0bK3vzy1HLN8jTO975HEbuYzZJcHoQEY5K1a0z8YayJkyVETa08eNTg==", "dev": true, + "license": "MIT", "dependencies": { "whatwg-mimetype": "^4.0.0", "whatwg-url": "^14.0.0" @@ -9958,12 +9941,13 @@ } }, "node_modules/debug": { - "version": "4.3.5", - "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.5.tgz", - "integrity": "sha512-pt0bNEmneDIvdL1Xsd9oDQ/wrQRkXDT4AUWlNZNPKvW5x/jyO9VFXkJUP07vQ2upmw5PlaITaPKc31jK13V+jg==", + "version": "4.4.0", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.4.0.tgz", + "integrity": "sha512-6WTZ/IxCY/T6BALoZHaE4ctp9xm+Z5kY/pzYaCHRFeyVhojxlrm+46y68HA6hr0TcwEssoxNiDEUJQjfPZ/RYA==", "dev": true, + "license": "MIT", "dependencies": { - "ms": "2.1.2" + "ms": "^2.1.3" }, "engines": { "node": ">=6.0" @@ -10012,7 +9996,8 @@ "version": "10.4.3", "resolved": "https://registry.npmjs.org/decimal.js/-/decimal.js-10.4.3.tgz", "integrity": "sha512-VBBaLc1MgL5XpzgIP7ny5Z6Nx3UrRkIViUkPUdtl9aya5amy3De1gsUUSB1g3+3sExYNjCAsAznmukyxCb1GRA==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/dedent": { "version": "1.5.3", @@ -10147,6 +10132,7 @@ "resolved": "https://registry.npmjs.org/degenerator/-/degenerator-5.0.1.tgz", "integrity": "sha512-TllpMR/t0M5sqCXfj85i4XaAzxmS5tVA16dqvdkMwGmzI+dXLXnw3J+3Vdv7VKw+ThlTMboK6i9rnZ6Nntj5CQ==", "dev": true, + "license": "MIT", "dependencies": { "ast-types": "^0.13.4", "escodegen": "^2.1.0", @@ -10209,10 +10195,11 @@ } }, "node_modules/devtools-protocol": { - "version": "0.0.1299070", - "resolved": "https://registry.npmjs.org/devtools-protocol/-/devtools-protocol-0.0.1299070.tgz", - "integrity": "sha512-+qtL3eX50qsJ7c+qVyagqi7AWMoQCBGNfoyJZMwm/NSXVqLYbuitrWEEIzxfUmTNy7//Xe8yhMmQ+elj3uAqSg==", - "dev": true + "version": "0.0.1367902", + "resolved": "https://registry.npmjs.org/devtools-protocol/-/devtools-protocol-0.0.1367902.tgz", + "integrity": "sha512-XxtPuC3PGakY6PD7dG66/o8KwJ/LkH2/EKe19Dcw58w53dv4/vSQEkn/SzuyhHE2q4zPgCkxQBxus3VV4ql+Pg==", + "dev": true, + "license": "BSD-3-Clause" }, "node_modules/diff-sequences": { "version": "29.6.3", @@ -10526,6 +10513,7 @@ "resolved": "https://registry.npmjs.org/entities/-/entities-4.5.0.tgz", "integrity": "sha512-V0hjH4dGPh9Ao5p0MoRY6BVqtwCjhz6vI5LT8AJ55H+4g9/4vbHx1I54fS0XuclLhDHArPQCiMjDxjaL8fPxhw==", "dev": true, + "license": "BSD-2-Clause", "engines": { "node": ">=0.12" }, @@ -10988,9 +10976,9 @@ } }, "node_modules/eslint-plugin-storybook": { - "version": "0.10.1", - "resolved": "https://registry.npmjs.org/eslint-plugin-storybook/-/eslint-plugin-storybook-0.10.1.tgz", - "integrity": "sha512-YpxkdqyiKpMIrRquuvBaCinsqmZJ86JvXRX/gtRa4Qctpk0ipFt2cWqEjkB1HHWWG0DVRXlUBKHjRogC2Ig1fg==", + "version": "0.11.1", + "resolved": "https://registry.npmjs.org/eslint-plugin-storybook/-/eslint-plugin-storybook-0.11.1.tgz", + "integrity": "sha512-yGKpAYkBm/Q2hZg476vRUAvd9lAccjjSvzU5nYy3BSQbKTPy7uopx7JEpwk2vSuw4weTMZzWF64z9/gp/K5RCg==", "dev": true, "license": "MIT", "dependencies": { @@ -11587,6 +11575,7 @@ "resolved": "https://registry.npmjs.org/extract-zip/-/extract-zip-2.0.1.tgz", "integrity": "sha512-GDhU9ntwuKyGXdZBUgTIe+vXnWj0fppUEtMDL0+idd5Sta8TGpHssn/eusA9mrPr9qNDym6SxAYZjNvCn/9RBg==", "dev": true, + "license": "BSD-2-Clause", "dependencies": { "debug": "^4.1.1", "get-stream": "^5.1.0", @@ -11607,6 +11596,7 @@ "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-5.2.0.tgz", "integrity": "sha512-nBF+F1rAZVCu/p7rjzgA+Yb4lfYXrpl7a6VmJrU8wF9I1CKvP/QwPNZHnOlwbTkY6dvtFIzFMSyQXbLoTQPRpA==", "dev": true, + "license": "MIT", "dependencies": { "pump": "^3.0.0" }, @@ -11627,7 +11617,8 @@ "version": "1.3.2", "resolved": "https://registry.npmjs.org/fast-fifo/-/fast-fifo-1.3.2.tgz", "integrity": "sha512-/d9sfos4yxzpwkDkuN7k2SqFKtYNmCTzgfEpz82x34IM9/zc8KGxQoXg1liNC/izpRM/MBdt44Nmx41ZWqk+FQ==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/fast-glob": { "version": "3.3.2", @@ -11698,6 +11689,7 @@ "resolved": "https://registry.npmjs.org/fd-slicer/-/fd-slicer-1.1.0.tgz", "integrity": "sha512-cE1qsB/VwyQozZ+q1dGxR8LBYNZeofhEdUNGSMbQD3Gw2lAzX9Zb3uIU6Ebc/Fmyjo9AWWfnn0AUCHqtevs/8g==", "dev": true, + "license": "MIT", "dependencies": { "pend": "~1.2.0" } @@ -12562,15 +12554,15 @@ } }, "node_modules/get-uri": { - "version": "6.0.3", - "resolved": "https://registry.npmjs.org/get-uri/-/get-uri-6.0.3.tgz", - "integrity": "sha512-BzUrJBS9EcUb4cFol8r4W3v1cPsSyajLSthNkz5BxbpDcHN5tIrM10E2eNvfnvBn3DaT3DUgx0OpsBKkaOpanw==", + "version": "6.0.4", + "resolved": "https://registry.npmjs.org/get-uri/-/get-uri-6.0.4.tgz", + "integrity": "sha512-E1b1lFFLvLgak2whF2xDBcOy6NLVGZBqqjJjsIhvopKfWWEi64pLVTWWehV8KlLerZkfNTA95sTe2OdJKm1OzQ==", "dev": true, + "license": "MIT", "dependencies": { "basic-ftp": "^5.0.2", "data-uri-to-buffer": "^6.0.2", - "debug": "^4.3.4", - "fs-extra": "^11.2.0" + "debug": "^4.3.4" }, "engines": { "node": ">= 14" @@ -13074,6 +13066,7 @@ "resolved": "https://registry.npmjs.org/html-encoding-sniffer/-/html-encoding-sniffer-4.0.0.tgz", "integrity": "sha512-Y22oTqIU4uuPgEemfz7NDJz6OeKf12Lsu+QC+s3BVpda64lTiMYCyGwg5ki4vFxkMwQdeZDl2adZoqUgdFuTgQ==", "dev": true, + "license": "MIT", "dependencies": { "whatwg-encoding": "^3.1.1" }, @@ -13241,12 +13234,13 @@ } }, "node_modules/https-proxy-agent": { - "version": "7.0.5", - "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-7.0.5.tgz", - "integrity": "sha512-1e4Wqeblerz+tMKPIq2EMGiiWW1dIjZOksyHWSUm1rmuvw/how9hBHZ38lAGj5ID4Ik6EdkOw7NmWPy6LAwalw==", + "version": "7.0.6", + "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-7.0.6.tgz", + "integrity": "sha512-vK9P5/iUfdl95AI+JVyUuIcVtd4ofvtrOr3HNtM2yxC9bnMbEdp3x01OhQNnjb8IJYi38VlTE3mBXwcfvywuSw==", "dev": true, + "license": "MIT", "dependencies": { - "agent-base": "^7.0.2", + "agent-base": "^7.1.2", "debug": "4" }, "engines": { @@ -14011,7 +14005,8 @@ "version": "1.0.1", "resolved": "https://registry.npmjs.org/is-potential-custom-element-name/-/is-potential-custom-element-name-1.0.1.tgz", "integrity": "sha512-bCYeRA2rVibKZd+s2625gGnGF/t7DSqDs4dP7CrLA1m7jKWz6pps0LpYLJN8Q64HtmPKJ1hrN3nzPNKFEKOUiQ==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/is-regex": { "version": "1.1.4", @@ -15920,31 +15915,32 @@ } }, "node_modules/jsdom": { - "version": "23.2.0", - "resolved": "https://registry.npmjs.org/jsdom/-/jsdom-23.2.0.tgz", - "integrity": "sha512-L88oL7D/8ufIES+Zjz7v0aes+oBMh2Xnh3ygWvL0OaICOomKEPKuPnIfBJekiXr+BHbbMjrWn/xqrDQuxFTeyA==", + "version": "25.0.1", + "resolved": "https://registry.npmjs.org/jsdom/-/jsdom-25.0.1.tgz", + "integrity": "sha512-8i7LzZj7BF8uplX+ZyOlIz86V6TAsSs+np6m1kpW9u0JWi4z/1t+FzcK1aek+ybTnAC4KhBL4uXCNT0wcUIeCw==", "dev": true, + "license": "MIT", "dependencies": { - "@asamuzakjp/dom-selector": "^2.0.1", - "cssstyle": "^4.0.1", + "cssstyle": "^4.1.0", "data-urls": "^5.0.0", "decimal.js": "^10.4.3", "form-data": "^4.0.0", "html-encoding-sniffer": "^4.0.0", - "http-proxy-agent": "^7.0.0", - "https-proxy-agent": "^7.0.2", + "http-proxy-agent": "^7.0.2", + "https-proxy-agent": "^7.0.5", "is-potential-custom-element-name": "^1.0.1", + "nwsapi": "^2.2.12", "parse5": "^7.1.2", - "rrweb-cssom": "^0.6.0", + "rrweb-cssom": "^0.7.1", "saxes": "^6.0.0", "symbol-tree": "^3.2.4", - "tough-cookie": "^4.1.3", + "tough-cookie": "^5.0.0", "w3c-xmlserializer": "^5.0.0", "webidl-conversions": "^7.0.0", "whatwg-encoding": "^3.1.1", "whatwg-mimetype": "^4.0.0", "whatwg-url": "^14.0.0", - "ws": "^8.16.0", + "ws": "^8.18.0", "xml-name-validator": "^5.0.0" }, "engines": { @@ -17093,12 +17089,6 @@ "react": ">= 0.14.0" } }, - "node_modules/mdn-data": { - "version": "2.0.30", - "resolved": "https://registry.npmjs.org/mdn-data/-/mdn-data-2.0.30.tgz", - "integrity": "sha512-GaqWWShW4kv/G9IEucWScBx9G1/vsFZZJUO+tD26M8J8z3Kw5RDQjaoZe03YAClgeS/SWPOcb4nkFBTEi5DUEA==", - "dev": true - }, "node_modules/media-typer": { "version": "0.3.0", "resolved": "https://registry.npmjs.org/media-typer/-/media-typer-0.3.0.tgz", @@ -17665,7 +17655,8 @@ "version": "3.0.1", "resolved": "https://registry.npmjs.org/mitt/-/mitt-3.0.1.tgz", "integrity": "sha512-vKivATfr97l2/QBCYAkXYDbrIWPM2IIKEl7YPhjCvKlG3kE2gm+uBo6nEXK3M5/Ffh/FLpKExzOQ3JJoJGFKBw==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/mkdirp": { "version": "1.0.4", @@ -17689,10 +17680,11 @@ } }, "node_modules/ms": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", - "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==", - "dev": true + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", + "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==", + "dev": true, + "license": "MIT" }, "node_modules/multimatch": { "version": "5.0.0", @@ -17803,6 +17795,7 @@ "resolved": "https://registry.npmjs.org/netmask/-/netmask-2.0.2.tgz", "integrity": "sha512-dBpDMdxv9Irdq66304OLfEmQ9tbNRFnFTuZiLo+bD+r332bBmMJ8GBLXklIXXgxd3+v9+KUnZaUR5PJMa75Gsg==", "dev": true, + "license": "MIT", "engines": { "node": ">= 0.4.0" } @@ -18267,6 +18260,13 @@ "url": "https://github.com/fb55/nth-check?sponsor=1" } }, + "node_modules/nwsapi": { + "version": "2.2.16", + "resolved": "https://registry.npmjs.org/nwsapi/-/nwsapi-2.2.16.tgz", + "integrity": "sha512-F1I/bimDpj3ncaNDhfyMWuFqmQDBwDB0Fogc2qpL3BWvkQteFD/8BzWuIRl83rq0DXfm8SGt/HFhLXZyljTXcQ==", + "dev": true, + "license": "MIT" + }, "node_modules/nx": { "version": "19.5.7", "resolved": "https://registry.npmjs.org/nx/-/nx-19.5.7.tgz", @@ -18852,19 +18852,20 @@ } }, "node_modules/pac-proxy-agent": { - "version": "7.0.2", - "resolved": "https://registry.npmjs.org/pac-proxy-agent/-/pac-proxy-agent-7.0.2.tgz", - "integrity": "sha512-BFi3vZnO9X5Qt6NRz7ZOaPja3ic0PhlsmCRYLOpN11+mWBCR6XJDqW5RF3j8jm4WGGQZtBA+bTfxYzeKW73eHg==", + "version": "7.1.0", + "resolved": "https://registry.npmjs.org/pac-proxy-agent/-/pac-proxy-agent-7.1.0.tgz", + "integrity": "sha512-Z5FnLVVZSnX7WjBg0mhDtydeRZ1xMcATZThjySQUHqr+0ksP8kqaw23fNKkaaN/Z8gwLUs/W7xdl0I75eP2Xyw==", "dev": true, + "license": "MIT", "dependencies": { "@tootallnate/quickjs-emscripten": "^0.23.0", - "agent-base": "^7.0.2", + "agent-base": "^7.1.2", "debug": "^4.3.4", "get-uri": "^6.0.1", "http-proxy-agent": "^7.0.0", - "https-proxy-agent": "^7.0.5", + "https-proxy-agent": "^7.0.6", "pac-resolver": "^7.0.1", - "socks-proxy-agent": "^8.0.4" + "socks-proxy-agent": "^8.0.5" }, "engines": { "node": ">= 14" @@ -18875,6 +18876,7 @@ "resolved": "https://registry.npmjs.org/pac-resolver/-/pac-resolver-7.0.1.tgz", "integrity": "sha512-5NPgf87AT2STgwa2ntRMr45jTKrYBGkVU36yT0ig/n/GMAa3oPqhZfIQ2kMEimReg0+t9kZViDVZ83qfVUlckg==", "dev": true, + "license": "MIT", "dependencies": { "degenerator": "^5.0.0", "netmask": "^2.0.2" @@ -19002,12 +19004,13 @@ } }, "node_modules/parse5": { - "version": "7.1.2", - "resolved": "https://registry.npmjs.org/parse5/-/parse5-7.1.2.tgz", - "integrity": "sha512-Czj1WaSVpaoj0wbhMzLmWD69anp2WH7FXMB9n1Sy8/ZFF9jolSQVMu1Ij5WIyGmcBmhk7EOndpO4mIpihVqAXw==", + "version": "7.2.1", + "resolved": "https://registry.npmjs.org/parse5/-/parse5-7.2.1.tgz", + "integrity": "sha512-BuBYQYlv1ckiPdQi/ohiivi9Sagc9JG+Ozs0r7b/0iK3sKmrb0b9FdWdBbOdx6hBCM/F9Ir82ofnBhtZOjCRPQ==", "dev": true, + "license": "MIT", "dependencies": { - "entities": "^4.4.0" + "entities": "^4.5.0" }, "funding": { "url": "https://github.com/inikulin/parse5?sponsor=1" @@ -19124,7 +19127,8 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/pend/-/pend-1.2.0.tgz", "integrity": "sha512-F3asv42UuXchdzt+xXqfW1OGlVBe+mxa2mqI0pg5yAHZPvFmY3Y6drSf/GQ1A86WgWEN9Kzh/WrgKa6iGcHXLg==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/picocolors": { "version": "1.0.1", @@ -19455,6 +19459,7 @@ "resolved": "https://registry.npmjs.org/progress/-/progress-2.0.3.tgz", "integrity": "sha512-7PiHtLll5LdnKIMw100I+8xJXR5gW2QwWYkT6iJva0bXitZKa/XMrSbdmg3r2Xnaidz9Qumd0VPaMrZlF9V9sA==", "dev": true, + "license": "MIT", "engines": { "node": ">=0.4.0" } @@ -19558,19 +19563,20 @@ } }, "node_modules/proxy-agent": { - "version": "6.4.0", - "resolved": "https://registry.npmjs.org/proxy-agent/-/proxy-agent-6.4.0.tgz", - "integrity": "sha512-u0piLU+nCOHMgGjRbimiXmA9kM/L9EHh3zL81xCdp7m+Y2pHIsnmbdDoEDoAz5geaonNR6q6+yOPQs6n4T6sBQ==", + "version": "6.5.0", + "resolved": "https://registry.npmjs.org/proxy-agent/-/proxy-agent-6.5.0.tgz", + "integrity": "sha512-TmatMXdr2KlRiA2CyDu8GqR8EjahTG3aY3nXjdzFyoZbmB8hrBsTyMezhULIXKnC0jpfjlmiZ3+EaCzoInSu/A==", "dev": true, + "license": "MIT", "dependencies": { - "agent-base": "^7.0.2", + "agent-base": "^7.1.2", "debug": "^4.3.4", "http-proxy-agent": "^7.0.1", - "https-proxy-agent": "^7.0.3", + "https-proxy-agent": "^7.0.6", "lru-cache": "^7.14.1", - "pac-proxy-agent": "^7.0.1", + "pac-proxy-agent": "^7.1.0", "proxy-from-env": "^1.1.0", - "socks-proxy-agent": "^8.0.2" + "socks-proxy-agent": "^8.0.5" }, "engines": { "node": ">= 14" @@ -19581,6 +19587,7 @@ "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-7.18.3.tgz", "integrity": "sha512-jumlc0BIUrS3qJGgIkWZsyfAM7NCWiBcCDhnd+3NNM5KbBmLTgHVfWBcg6W+rLUsIpzpERPsvwUP7CckAQSOoA==", "dev": true, + "license": "ISC", "engines": { "node": ">=12" } @@ -19591,17 +19598,12 @@ "integrity": "sha512-D+zkORCbA9f1tdWRK0RaCR3GPv50cMxcrz4X8k5LTSUD1Dkw47mKJEZQNunItRTkWwgtaUSo1RVFRIG9ZXiFYg==", "dev": true }, - "node_modules/psl": { - "version": "1.9.0", - "resolved": "https://registry.npmjs.org/psl/-/psl-1.9.0.tgz", - "integrity": "sha512-E/ZsdU4HLs/68gYzgGTkMicWTLPdAftJLfJFlLUAAKZGkStNU72sZjT66SnMDVOfOWY/YAoiD7Jxa9iHvngcag==", - "dev": true - }, "node_modules/pump": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/pump/-/pump-3.0.0.tgz", - "integrity": "sha512-LwZy+p3SFs1Pytd/jYct4wpv49HiYCqd9Rlc5ZVdk0V+8Yzv6jR5Blk3TRmPL1ft69TxP0IMZGJ+WPFU2BFhww==", + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/pump/-/pump-3.0.2.tgz", + "integrity": "sha512-tUPXtzlGM8FE3P0ZL6DVs/3P58k9nk8/jZeQCurTJylQA8qFYzHFfhBJkuqyE0FifOsQ0uKWekiZ5g8wtr28cw==", "dev": true, + "license": "MIT", "dependencies": { "end-of-stream": "^1.1.0", "once": "^1.3.1" @@ -19617,34 +19619,39 @@ } }, "node_modules/puppeteer": { - "version": "22.13.1", - "resolved": "https://registry.npmjs.org/puppeteer/-/puppeteer-22.13.1.tgz", - "integrity": "sha512-PwXLDQK5u83Fm5A7TGMq+9BR7iHDJ8a3h21PSsh/E6VfhxiKYkU7+tvGZNSCap6k3pCNDd9oNteVBEctcBalmQ==", + "version": "23.10.4", + "resolved": "https://registry.npmjs.org/puppeteer/-/puppeteer-23.10.4.tgz", + "integrity": "sha512-i0sYIAIjdO9MoRfFqbkoWFnQYZVmNp8msbztTgG46KbOdoYAv4f56MFzdFwtC0lyZHtkP+yl0H7tP0dNg3RQYA==", "dev": true, "hasInstallScript": true, + "license": "Apache-2.0", "dependencies": { - "@puppeteer/browsers": "2.2.4", + "@puppeteer/browsers": "2.6.1", + "chromium-bidi": "0.8.0", "cosmiconfig": "^9.0.0", - "devtools-protocol": "0.0.1299070", - "puppeteer-core": "22.13.1" + "devtools-protocol": "0.0.1367902", + "puppeteer-core": "23.10.4", + "typed-query-selector": "^2.12.0" }, "bin": { - "puppeteer": "lib/esm/puppeteer/node/cli.js" + "puppeteer": "lib/cjs/puppeteer/node/cli.js" }, "engines": { "node": ">=18" } }, "node_modules/puppeteer-core": { - "version": "22.13.1", - "resolved": "https://registry.npmjs.org/puppeteer-core/-/puppeteer-core-22.13.1.tgz", - "integrity": "sha512-NmhnASYp51QPRCAf9n0OPxuPMmzkKd8+2sB9Q+BjwwCG25gz6iuNc3LQDWa+cH2tyivmJppLhNNFt6Q3HmoOpw==", + "version": "23.10.4", + "resolved": "https://registry.npmjs.org/puppeteer-core/-/puppeteer-core-23.10.4.tgz", + "integrity": "sha512-pQAY7+IFAndWDkDodsQGguW1/ifV5OMlGXJDspwtK49Asb7poJZ/V5rXJxVSpq57bWrJasjQBZ1X27z1oWVq4Q==", "dev": true, + "license": "Apache-2.0", "dependencies": { - "@puppeteer/browsers": "2.2.4", - "chromium-bidi": "0.6.1", - "debug": "^4.3.5", - "devtools-protocol": "0.0.1299070", + "@puppeteer/browsers": "2.6.1", + "chromium-bidi": "0.8.0", + "debug": "^4.4.0", + "devtools-protocol": "0.0.1367902", + "typed-query-selector": "^2.12.0", "ws": "^8.18.0" }, "engines": { @@ -19726,12 +19733,6 @@ "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/querystringify": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/querystringify/-/querystringify-2.2.0.tgz", - "integrity": "sha512-FIqgj2EUvTa7R50u0rGsyTftzjYmv/a3hO345bZNrqabNqjtgiDMgmo4mkUjd+nzU5oF3dClKqFIPUKybUyqoQ==", - "dev": true - }, "node_modules/queue-microtask": { "version": "1.2.3", "resolved": "https://registry.npmjs.org/queue-microtask/-/queue-microtask-1.2.3.tgz", @@ -19756,7 +19757,8 @@ "version": "1.0.1", "resolved": "https://registry.npmjs.org/queue-tick/-/queue-tick-1.0.1.tgz", "integrity": "sha512-kJt5qhMxoszgU/62PLP1CJytzd2NKetjSRnyuj31fDd3Rlcz3fzlFdFLD1SItunPwyqEOkca6GbV612BWfaBag==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/quick-lru": { "version": "4.0.1", @@ -20527,12 +20529,6 @@ "node": ">=0.10.0" } }, - "node_modules/requires-port": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/requires-port/-/requires-port-1.0.0.tgz", - "integrity": "sha512-KigOCHcocU3XODJxsu8i/j8T9tzT4adHiecwORRQ0ZZFcp7ahwXuRU1m+yuO90C5ZUyGeGfocHDI14M3L3yDAQ==", - "dev": true - }, "node_modules/resolve": { "version": "1.22.8", "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.8.tgz", @@ -20715,10 +20711,11 @@ } }, "node_modules/rrweb-cssom": { - "version": "0.6.0", - "resolved": "https://registry.npmjs.org/rrweb-cssom/-/rrweb-cssom-0.6.0.tgz", - "integrity": "sha512-APM0Gt1KoXBz0iIkkdB/kfvGOwC4UuJFeG/c+yV7wSc7q96cG/kJ0HiYCnzivD9SB53cLV1MlHFNfOuPaadYSw==", - "dev": true + "version": "0.7.1", + "resolved": "https://registry.npmjs.org/rrweb-cssom/-/rrweb-cssom-0.7.1.tgz", + "integrity": "sha512-TrEMa7JGdVm0UThDJSx7ddw5nVm3UJS9o9CCIZ72B1vSyEZoziDqBYP3XIoi/12lKrJR8rE3jeFHMok2F/Mnsg==", + "dev": true, + "license": "MIT" }, "node_modules/run-async": { "version": "2.4.1", @@ -20827,6 +20824,7 @@ "resolved": "https://registry.npmjs.org/saxes/-/saxes-6.0.0.tgz", "integrity": "sha512-xAg7SOnEhrm5zI3puOOKyy1OMcMlIJZYNJY7xLBwSze0UjhPLnWfj2GF2EpT0jmzaJKIWKHLsaSSajf35bcYnA==", "dev": true, + "license": "ISC", "dependencies": { "xmlchars": "^2.2.0" }, @@ -20944,12 +20942,6 @@ "integrity": "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==", "dev": true }, - "node_modules/send/node_modules/ms": { - "version": "2.1.3", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", - "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==", - "dev": true - }, "node_modules/serialize-javascript": { "version": "6.0.2", "resolved": "https://registry.npmjs.org/serialize-javascript/-/serialize-javascript-6.0.2.tgz", @@ -21156,12 +21148,13 @@ } }, "node_modules/socks-proxy-agent": { - "version": "8.0.4", - "resolved": "https://registry.npmjs.org/socks-proxy-agent/-/socks-proxy-agent-8.0.4.tgz", - "integrity": "sha512-GNAq/eg8Udq2x0eNiFkr9gRg5bA7PXEWagQdeRX4cPSG+X/8V38v637gim9bjFptMk1QWsCTr0ttrJEiXbNnRw==", + "version": "8.0.5", + "resolved": "https://registry.npmjs.org/socks-proxy-agent/-/socks-proxy-agent-8.0.5.tgz", + "integrity": "sha512-HehCEsotFqbPW9sJ8WVYB6UbmIMv7kUUORIF2Nncq4VQvBfNBLibW9YZR5dlYCSUhwcD628pRllm7n+E+YTzJw==", "dev": true, + "license": "MIT", "dependencies": { - "agent-base": "^7.1.1", + "agent-base": "^7.1.2", "debug": "^4.3.4", "socks": "^2.8.3" }, @@ -21392,10 +21385,11 @@ } }, "node_modules/streamx": { - "version": "2.18.0", - "resolved": "https://registry.npmjs.org/streamx/-/streamx-2.18.0.tgz", - "integrity": "sha512-LLUC1TWdjVdn1weXGcSxyTR3T4+acB6tVGXT95y0nGbca4t4o/ng1wKAGTljm9VicuCVLvRlqFYXYy5GwgM7sQ==", + "version": "2.21.1", + "resolved": "https://registry.npmjs.org/streamx/-/streamx-2.21.1.tgz", + "integrity": "sha512-PhP9wUnFLa+91CPy3N6tiQsK+gnYyUNuk15S3YG/zjYE7RuPeCjJngqnzpC31ow0lzBHQ+QGO4cNJnd0djYUsw==", "dev": true, + "license": "MIT", "dependencies": { "fast-fifo": "^1.3.2", "queue-tick": "^1.0.1", @@ -21734,7 +21728,8 @@ "version": "3.2.4", "resolved": "https://registry.npmjs.org/symbol-tree/-/symbol-tree-3.2.4.tgz", "integrity": "sha512-9QNk5KwDF+Bvz+PyObkmSYjI5ksVUYtjW7AU22r2NKcfLJcXp96hkDWU3+XndOsUb+AQ9QhfzfCT2O+CNWT5Tw==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/synchronous-promise": { "version": "2.0.17", @@ -21773,6 +21768,7 @@ "resolved": "https://registry.npmjs.org/tar-fs/-/tar-fs-3.0.6.tgz", "integrity": "sha512-iokBDQQkUyeXhgPYaZxmczGPhnhXZ0CmrqI+MOb/WFGS9DW5wnfrLgtjUJBvz50vQ3qfRwJ62QVoCFu8mPVu5w==", "dev": true, + "license": "MIT", "dependencies": { "pump": "^3.0.0", "tar-stream": "^3.1.5" @@ -21787,6 +21783,7 @@ "resolved": "https://registry.npmjs.org/tar-stream/-/tar-stream-3.1.7.tgz", "integrity": "sha512-qJj60CXt7IU1Ffyc3NJMjh6EkuCFej46zUqJ4J7pqYlThyd9bO0XBTmcOIhSzZJVWfsLks0+nle/j538YAW9RQ==", "dev": true, + "license": "MIT", "dependencies": { "b4a": "^1.6.4", "fast-fifo": "^1.2.0", @@ -22047,10 +22044,11 @@ } }, "node_modules/text-decoder": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/text-decoder/-/text-decoder-1.1.1.tgz", - "integrity": "sha512-8zll7REEv4GDD3x4/0pW+ppIxSNs7H1J10IKFZsuOMscumCdM2a+toDGLPA3T+1+fLBql4zbt5z83GEQGGV5VA==", + "version": "1.2.3", + "resolved": "https://registry.npmjs.org/text-decoder/-/text-decoder-1.2.3.tgz", + "integrity": "sha512-3/o9z3X0X0fTupwsYvR03pJ/DjWuqqrfwBgTQzdWDiQSm9KitAyz/9WqsT2JQW7KV2m+bC2ol/zqpW37NHxLaA==", "dev": true, + "license": "Apache-2.0", "dependencies": { "b4a": "^1.6.4" } @@ -22137,6 +22135,26 @@ "node": ">=14.0.0" } }, + "node_modules/tldts": { + "version": "6.1.68", + "resolved": "https://registry.npmjs.org/tldts/-/tldts-6.1.68.tgz", + "integrity": "sha512-JKF17jROiYkjJPT73hUTEiTp2OBCf+kAlB+1novk8i6Q6dWjHsgEjw9VLiipV4KTJavazXhY1QUXyQFSem2T7w==", + "dev": true, + "license": "MIT", + "dependencies": { + "tldts-core": "^6.1.68" + }, + "bin": { + "tldts": "bin/cli.js" + } + }, + "node_modules/tldts-core": { + "version": "6.1.68", + "resolved": "https://registry.npmjs.org/tldts-core/-/tldts-core-6.1.68.tgz", + "integrity": "sha512-85TdlS/DLW/gVdf2oyyzqp3ocS30WxjaL4la85EArl9cHUR/nizifKAJPziWewSZjDZS71U517/i6ciUeqtB5Q==", + "dev": true, + "license": "MIT" + }, "node_modules/tmp": { "version": "0.2.3", "resolved": "https://registry.npmjs.org/tmp/-/tmp-0.2.3.tgz", @@ -22183,27 +22201,16 @@ } }, "node_modules/tough-cookie": { - "version": "4.1.3", - "resolved": "https://registry.npmjs.org/tough-cookie/-/tough-cookie-4.1.3.tgz", - "integrity": "sha512-aX/y5pVRkfRnfmuX+OdbSdXvPe6ieKX/G2s7e98f4poJHnqH3281gDPm/metm6E/WRamfx7WC4HUqkWHfQHprw==", + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/tough-cookie/-/tough-cookie-5.0.0.tgz", + "integrity": "sha512-FRKsF7cz96xIIeMZ82ehjC3xW2E+O2+v11udrDYewUbszngYhsGa8z6YUMMzO9QJZzzyd0nGGXnML/TReX6W8Q==", "dev": true, + "license": "BSD-3-Clause", "dependencies": { - "psl": "^1.1.33", - "punycode": "^2.1.1", - "universalify": "^0.2.0", - "url-parse": "^1.5.3" + "tldts": "^6.1.32" }, "engines": { - "node": ">=6" - } - }, - "node_modules/tough-cookie/node_modules/universalify": { - "version": "0.2.0", - "resolved": "https://registry.npmjs.org/universalify/-/universalify-0.2.0.tgz", - "integrity": "sha512-CJ1QgKmNg3CwvAv/kOFmtnEN05f0D/cn9QntgNOQlQF9dgvVTHj3t+8JPdjqawCHk7V/KA+fbUqzZ9XWhcqPUg==", - "dev": true, - "engines": { - "node": ">= 4.0.0" + "node": ">=16" } }, "node_modules/tr46": { @@ -22211,6 +22218,7 @@ "resolved": "https://registry.npmjs.org/tr46/-/tr46-5.0.0.tgz", "integrity": "sha512-tk2G5R2KRwBd+ZN0zaEXpmzdKyOYksXwywulIX95MBODjSzMIuQnQ3m8JxgbhnL1LeVo7lqQKsYa1O3Htl7K5g==", "dev": true, + "license": "MIT", "dependencies": { "punycode": "^2.3.1" }, @@ -22467,6 +22475,13 @@ "url": "https://github.com/sponsors/ljharb" } }, + "node_modules/typed-query-selector": { + "version": "2.12.0", + "resolved": "https://registry.npmjs.org/typed-query-selector/-/typed-query-selector-2.12.0.tgz", + "integrity": "sha512-SbklCd1F0EiZOyPiW192rrHZzZ5sBijB6xM+cpmrwDqObvdtunOHHIk9fCGsoK5JVIYXoyEp4iEdE3upFH3PAg==", + "dev": true, + "license": "MIT" + }, "node_modules/typedarray": { "version": "0.0.6", "resolved": "https://registry.npmjs.org/typedarray/-/typedarray-0.0.6.tgz", @@ -22526,6 +22541,7 @@ "resolved": "https://registry.npmjs.org/unbzip2-stream/-/unbzip2-stream-1.4.3.tgz", "integrity": "sha512-mlExGW4w71ebDJviH16lQLtZS32VKqsSfk80GCfUlwT/4/hNRFsoscrF/c++9xinkMzECL1uL9DDwXqFWkruPg==", "dev": true, + "license": "MIT", "dependencies": { "buffer": "^5.2.1", "through": "^2.3.8" @@ -22747,16 +22763,6 @@ "qs": "^6.11.2" } }, - "node_modules/url-parse": { - "version": "1.5.10", - "resolved": "https://registry.npmjs.org/url-parse/-/url-parse-1.5.10.tgz", - "integrity": "sha512-WypcfiRhfeUP9vvF0j6rw0J3hrWrw6iZv3+22h6iRMJ/8z1Tj6XfLP4DsUix5MhMPnXpiHDoKyoZ/bdCkwBCiQ==", - "dev": true, - "dependencies": { - "querystringify": "^2.1.1", - "requires-port": "^1.0.0" - } - }, "node_modules/url/node_modules/punycode": { "version": "1.4.1", "resolved": "https://registry.npmjs.org/punycode/-/punycode-1.4.1.tgz", @@ -22767,7 +22773,8 @@ "version": "10.0.0", "resolved": "https://registry.npmjs.org/urlpattern-polyfill/-/urlpattern-polyfill-10.0.0.tgz", "integrity": "sha512-H/A06tKD7sS1O1X2SshBVeA5FLycRpjqiBeqGKmBwBDBy28EnRjORxTNe269KSSr5un5qyWi1iL61wLxpd+ZOg==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/util": { "version": "0.12.5", @@ -22863,6 +22870,7 @@ "resolved": "https://registry.npmjs.org/w3c-xmlserializer/-/w3c-xmlserializer-5.0.0.tgz", "integrity": "sha512-o8qghlI8NZHU1lLPrpi2+Uq7abh4GGPpYANlalzWxyWteJOCsr/P+oPBA49TOLu5FTZO4d3F9MnWJfiMo4BkmA==", "dev": true, + "license": "MIT", "dependencies": { "xml-name-validator": "^5.0.0" }, @@ -22912,6 +22920,7 @@ "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-7.0.0.tgz", "integrity": "sha512-VwddBukDzu71offAQR975unBIGqfKZpM+8ZX6ySk8nYhVoo5CYaZyzt3YBvYtRtO+aoGlqxPg/B87NGVZ/fu6g==", "dev": true, + "license": "BSD-2-Clause", "engines": { "node": ">=12" } @@ -23062,6 +23071,7 @@ "resolved": "https://registry.npmjs.org/whatwg-encoding/-/whatwg-encoding-3.1.1.tgz", "integrity": "sha512-6qN4hJdMwfYBtE3YBTTHhoeuUrDBPZmbQaxWAqSALV/MeEnR5z1xd8UKud2RAkFoPkmB+hli1TZSnyi84xz1vQ==", "dev": true, + "license": "MIT", "dependencies": { "iconv-lite": "0.6.3" }, @@ -23074,6 +23084,7 @@ "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.6.3.tgz", "integrity": "sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw==", "dev": true, + "license": "MIT", "dependencies": { "safer-buffer": ">= 2.1.2 < 3.0.0" }, @@ -23086,15 +23097,17 @@ "resolved": "https://registry.npmjs.org/whatwg-mimetype/-/whatwg-mimetype-4.0.0.tgz", "integrity": "sha512-QaKxh0eNIi2mE9p2vEdzfagOKHCcj1pJ56EEHGQOVxp8r9/iszLUUV7v89x9O1p/T+NlTM5W7jW6+cz4Fq1YVg==", "dev": true, + "license": "MIT", "engines": { "node": ">=18" } }, "node_modules/whatwg-url": { - "version": "14.0.0", - "resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-14.0.0.tgz", - "integrity": "sha512-1lfMEm2IEr7RIV+f4lUNPOqfFL+pO+Xw3fJSqmjX9AbXcXcYOkCe1P6+9VBZB6n94af16NfZf+sSk0JCBZC9aw==", + "version": "14.1.0", + "resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-14.1.0.tgz", + "integrity": "sha512-jlf/foYIKywAt3x/XWKZ/3rz8OSJPiWktjmk891alJUEjiVxKX9LEO92qH3hv4aJ0mN3MWPvGMCy8jQi95xK4w==", "dev": true, + "license": "MIT", "dependencies": { "tr46": "^5.0.0", "webidl-conversions": "^7.0.0" @@ -23486,6 +23499,7 @@ "resolved": "https://registry.npmjs.org/xml-name-validator/-/xml-name-validator-5.0.0.tgz", "integrity": "sha512-EvGK8EJ3DhaHfbRlETOWAS5pO9MZITeauHKJyb8wyajUfQUenkIg2MvLDTZ4T/TgIcm3HU0TFBgWWboAZ30UHg==", "dev": true, + "license": "Apache-2.0", "engines": { "node": ">=18" } @@ -23503,7 +23517,8 @@ "version": "2.2.0", "resolved": "https://registry.npmjs.org/xmlchars/-/xmlchars-2.2.0.tgz", "integrity": "sha512-JZnDKK8B0RCDw84FNdDAIpZK+JuJw+s7Lz8nksI7SIuU3UXJJslUthsi+uWBUYOwPFwW7W7PRLRfUKpxjtjFCw==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/xtend": { "version": "4.0.2", @@ -23590,6 +23605,7 @@ "resolved": "https://registry.npmjs.org/yauzl/-/yauzl-2.10.0.tgz", "integrity": "sha512-p4a9I6X6nu6IhoGmBqAcbJy1mlC4j27vEPZX9F4L4/vZT3Lyq1VkFHw/V/PUcB9Buo+DG3iHkT0x3Qya58zc3g==", "dev": true, + "license": "MIT", "dependencies": { "buffer-crc32": "~0.2.3", "fd-slicer": "~1.1.0" @@ -23612,6 +23628,7 @@ "resolved": "https://registry.npmjs.org/zod/-/zod-3.23.8.tgz", "integrity": "sha512-XBx9AXhXktjUqnepgTiE5flcKIYWi/rme0Eaj+5Y0lftuGBq+jyRu/md4WnuxqgP1ubdpNCsYEYPxrzVHD8d6g==", "dev": true, + "license": "MIT", "funding": { "url": "https://github.com/sponsors/colinhacks" } @@ -23651,7 +23668,7 @@ }, "devDependencies": { "@chromatic-com/storybook": "^3.1.0", - "@stencil-community/eslint-plugin": "0.8.0", + "@stencil-community/eslint-plugin": "0.9.0", "@stencil/core": "4.22.2", "@stencil/react-output-target": "^0.5.1", "@stencil/sass": "^3.0.4", @@ -23672,14 +23689,14 @@ "babel-loader": "^9.1.2", "eslint": "^8.57.0", "eslint-plugin-react": "^7.16.0", - "eslint-plugin-storybook": "^0.10.1", + "eslint-plugin-storybook": "^0.11.1", "gh-pages": "^6.0.0", "jest": "^29.7.0", "jest-cli": "^29.7.0", "license-checker-rseidelsohn": "^4.2.6", "lit": "^3.1.0", "npm-run-all": "^4.1.5", - "puppeteer": "^22.13.1", + "puppeteer": "^23.9.0", "react": "^18.2.0", "react-dom": "^18.2.0", "rollup-plugin-node-polyfills": "^0.2.1", diff --git a/packages/react-library/lib/components/stencil-generated/index.ts b/packages/react-library/lib/components/stencil-generated/index.ts index 1f4f8dcd..4c752039 100644 --- a/packages/react-library/lib/components/stencil-generated/index.ts +++ b/packages/react-library/lib/components/stencil-generated/index.ts @@ -34,4 +34,3 @@ export const DnnToggle = /*@__PURE__*/createReactComponent('dnn-treeview-item'); export const DnnVerticalOverflowMenu = /*@__PURE__*/createReactComponent('dnn-vertical-overflow-menu'); export const DnnVerticalSplitview = /*@__PURE__*/createReactComponent('dnn-vertical-splitview'); -export const TestForm = /*@__PURE__*/createReactComponent('test-form'); diff --git a/packages/stencil-library/src/components.d.ts b/packages/stencil-library/src/components.d.ts index 5f3be843..329615c9 100644 --- a/packages/stencil-library/src/components.d.ts +++ b/packages/stencil-library/src/components.d.ts @@ -752,8 +752,6 @@ export namespace Components { */ "splitterWidth": number; } - interface TestForm { - } } export interface DnnAutocompleteCustomEvent extends CustomEvent { detail: T; @@ -1277,12 +1275,6 @@ declare global { prototype: HTMLDnnVerticalSplitviewElement; new (): HTMLDnnVerticalSplitviewElement; }; - interface HTMLTestFormElement extends Components.TestForm, HTMLStencilElement { - } - var HTMLTestFormElement: { - prototype: HTMLTestFormElement; - new (): HTMLTestFormElement; - }; interface HTMLElementTagNameMap { "dnn-autocomplete": HTMLDnnAutocompleteElement; "dnn-button": HTMLDnnButtonElement; @@ -1311,7 +1303,6 @@ declare global { "dnn-treeview-item": HTMLDnnTreeviewItemElement; "dnn-vertical-overflow-menu": HTMLDnnVerticalOverflowMenuElement; "dnn-vertical-splitview": HTMLDnnVerticalSplitviewElement; - "test-form": HTMLTestFormElement; } } declare namespace LocalJSX { @@ -2080,8 +2071,6 @@ declare namespace LocalJSX { */ "splitterWidth"?: number; } - interface TestForm { - } interface IntrinsicElements { "dnn-autocomplete": DnnAutocomplete; "dnn-button": DnnButton; @@ -2110,7 +2099,6 @@ declare namespace LocalJSX { "dnn-treeview-item": DnnTreeviewItem; "dnn-vertical-overflow-menu": DnnVerticalOverflowMenu; "dnn-vertical-splitview": DnnVerticalSplitview; - "test-form": TestForm; } } export { LocalJSX as JSX }; @@ -2176,7 +2164,6 @@ declare module "@stencil/core" { */ "dnn-vertical-overflow-menu": LocalJSX.DnnVerticalOverflowMenu & JSXBase.HTMLAttributes; "dnn-vertical-splitview": LocalJSX.DnnVerticalSplitview & JSXBase.HTMLAttributes; - "test-form": LocalJSX.TestForm & JSXBase.HTMLAttributes; } } } diff --git a/packages/stencil-library/src/components/dnn-autocomplete/dnn-autocomplete.tsx b/packages/stencil-library/src/components/dnn-autocomplete/dnn-autocomplete.tsx index 4d895688..d9e47613 100644 --- a/packages/stencil-library/src/components/dnn-autocomplete/dnn-autocomplete.tsx +++ b/packages/stencil-library/src/components/dnn-autocomplete/dnn-autocomplete.tsx @@ -1,4 +1,4 @@ -import { Component, Prop, State, Event, Element, h, Host, EventEmitter, Method, AttachInternals, Listen } from '@stencil/core'; +import { Component, Prop, State, Event, Element, h, Host, EventEmitter, Method, AttachInternals, Listen, Watch } from '@stencil/core'; import { DnnAutocompleteSuggestion, NeedMoreItemsEventArgs } from './types'; import { Debounce } from '../../utilities/debounce'; @@ -105,6 +105,14 @@ export class DnnAutocomplete { @State() positionInitialized = false; @State() lastScrollTop = 0; @State() displayValue: string = ""; + + @Watch("value") + handleValueChange(newValue: string) { + this.displayValue = newValue; + + // Find the index of the selected item + this.selectedIndex = this.suggestions.findIndex(s => s.value === newValue); + } /** attacth the internals for form validation */ @AttachInternals() internals: ElementInternals; diff --git a/packages/stencil-library/src/components/test-form/readme.md b/packages/stencil-library/src/components/test-form/readme.md deleted file mode 100644 index eba86974..00000000 --- a/packages/stencil-library/src/components/test-form/readme.md +++ /dev/null @@ -1,28 +0,0 @@ -# test-form - - - - - - -## Dependencies - -### Depends on - -- [dnn-select](../dnn-select) -- [dnn-button](../dnn-button) - -### Graph -```mermaid -graph TD; - test-form --> dnn-select - test-form --> dnn-button - dnn-select --> dnn-fieldset - dnn-button --> dnn-modal - dnn-button --> dnn-button - style test-form fill:#f9f,stroke:#333,stroke-width:4px -``` - ----------------------------------------------- - -*Built with [StencilJS](https://stenciljs.com/)* diff --git a/packages/stencil-library/src/components/test-form/test-form.scss b/packages/stencil-library/src/components/test-form/test-form.scss deleted file mode 100644 index 5d4e87f3..00000000 --- a/packages/stencil-library/src/components/test-form/test-form.scss +++ /dev/null @@ -1,3 +0,0 @@ -:host { - display: block; -} diff --git a/packages/stencil-library/src/components/test-form/test-form.tsx b/packages/stencil-library/src/components/test-form/test-form.tsx deleted file mode 100644 index 11ac7ca2..00000000 --- a/packages/stencil-library/src/components/test-form/test-form.tsx +++ /dev/null @@ -1,76 +0,0 @@ -import { Component, Host, State, h } from '@stencil/core'; - -@Component({ - tag: 'test-form', - styleUrl: 'test-form.scss', - shadow: true, -}) -export class TestForm { - @State() data: { - country?: string; - }; - - @State() countries: { - name: string; - states: {name: string}[]; - }[] = [ - { - name: 'United States', - states: [ - { - name: 'Alabama', - }, - { - name: 'Alaska', - }, - ], - }, - { - name: 'Canada', - states: [ - { - name: 'Alberta', - }, - { - name: 'British Columbia', - }, - ], - }, - ]; - - private submitStep(e: Event): void { - e.preventDefault(); - console.log(this.data); - } - - render() { - {console.log(this.countries)} - { - this.countries.map(country => console.log(country)); - } - return ( - -
    this.submitStep(e)}> - - - {this.countries && this.countries.map(country => ( - - ))} - - Submit -
    -
    - ); - } -} diff --git a/packages/stencil-library/src/index.html b/packages/stencil-library/src/index.html index 72da9189..433d2c02 100644 --- a/packages/stencil-library/src/index.html +++ b/packages/stencil-library/src/index.html @@ -85,7 +85,6 @@ -

    Dnn HTML custom elements