@spectrum-web-components/sidenav 0.42.2 → 0.42.3
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/custom-elements.json
CHANGED
|
@@ -265,9 +265,6 @@
|
|
|
265
265
|
"text": "string | undefined"
|
|
266
266
|
},
|
|
267
267
|
"default": "undefined",
|
|
268
|
-
"resolveInitializer": {
|
|
269
|
-
"module": "src/Sidenav.ts"
|
|
270
|
-
},
|
|
271
268
|
"fieldName": "value"
|
|
272
269
|
},
|
|
273
270
|
{
|
|
@@ -277,9 +274,6 @@
|
|
|
277
274
|
},
|
|
278
275
|
"default": "undefined",
|
|
279
276
|
"description": "The multilevel variant will have multiple layers of hierarchical navigation items.",
|
|
280
|
-
"resolveInitializer": {
|
|
281
|
-
"module": "src/Sidenav.ts"
|
|
282
|
-
},
|
|
283
277
|
"fieldName": "variant"
|
|
284
278
|
},
|
|
285
279
|
{
|
|
@@ -289,9 +283,6 @@
|
|
|
289
283
|
},
|
|
290
284
|
"default": "undefined",
|
|
291
285
|
"description": "An accessible label that describes the component,\nso that the side navigation can be distinguished\nfrom other navigation by screen reader users.\nIt will be applied to aria-label, but not visually rendered.",
|
|
292
|
-
"resolveInitializer": {
|
|
293
|
-
"module": "src/Sidenav.ts"
|
|
294
|
-
},
|
|
295
286
|
"fieldName": "label"
|
|
296
287
|
}
|
|
297
288
|
],
|
|
@@ -554,9 +545,6 @@
|
|
|
554
545
|
"text": "string | undefined"
|
|
555
546
|
},
|
|
556
547
|
"default": "undefined",
|
|
557
|
-
"resolveInitializer": {
|
|
558
|
-
"module": "src/SidenavItem.ts"
|
|
559
|
-
},
|
|
560
548
|
"fieldName": "value"
|
|
561
549
|
},
|
|
562
550
|
{
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@spectrum-web-components/sidenav",
|
|
3
|
-
"version": "0.42.
|
|
3
|
+
"version": "0.42.3",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -75,9 +75,9 @@
|
|
|
75
75
|
"lit-html"
|
|
76
76
|
],
|
|
77
77
|
"dependencies": {
|
|
78
|
-
"@spectrum-web-components/base": "^0.42.
|
|
79
|
-
"@spectrum-web-components/reactive-controllers": "^0.42.
|
|
80
|
-
"@spectrum-web-components/shared": "^0.42.
|
|
78
|
+
"@spectrum-web-components/base": "^0.42.3",
|
|
79
|
+
"@spectrum-web-components/reactive-controllers": "^0.42.3",
|
|
80
|
+
"@spectrum-web-components/shared": "^0.42.3"
|
|
81
81
|
},
|
|
82
82
|
"devDependencies": {
|
|
83
83
|
"@spectrum-css/sidenav": "^4.2.4"
|
|
@@ -88,5 +88,5 @@
|
|
|
88
88
|
"./sp-*.js",
|
|
89
89
|
"./**/*.dev.js"
|
|
90
90
|
],
|
|
91
|
-
"gitHead": "
|
|
91
|
+
"gitHead": "a03edce4f21f232f1705d8eb222e6e5436cad4c3"
|
|
92
92
|
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
import { html } from "@open-wc/testing";
|
|
3
|
+
import "@spectrum-web-components/radio/sp-radio.js";
|
|
4
|
+
import "@spectrum-web-components/sidenav/sp-sidenav.js";
|
|
5
|
+
import "@spectrum-web-components/sidenav/sp-sidenav-item.js";
|
|
6
|
+
import "@spectrum-web-components/sidenav/sp-sidenav-heading.js";
|
|
7
|
+
import { testForMemoryLeaks } from "../../../test/testing-helpers.js";
|
|
8
|
+
testForMemoryLeaks(html`
|
|
9
|
+
<sp-sidenav>
|
|
10
|
+
<sp-sidenav-heading label="CATEGORY 1">
|
|
11
|
+
<sp-sidenav-item
|
|
12
|
+
value="Section 1"
|
|
13
|
+
label="Section 1"
|
|
14
|
+
></sp-sidenav-item>
|
|
15
|
+
<sp-sidenav-item
|
|
16
|
+
value="Section 2"
|
|
17
|
+
label="Section 2"
|
|
18
|
+
></sp-sidenav-item>
|
|
19
|
+
</sp-sidenav-heading>
|
|
20
|
+
</sp-sidenav>
|
|
21
|
+
`);
|
|
22
|
+
//# sourceMappingURL=sidenav-memory.test.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["sidenav-memory.test.ts"],
|
|
4
|
+
"sourcesContent": ["/*\nCopyright 2023 Adobe. All rights reserved.\nThis file is licensed to you under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License. You may obtain a copy\nof the License at http://www.apache.org/licenses/LICENSE-2.0\nUnless required by applicable law or agreed to in writing, software distributed under\nthe License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\nOF ANY KIND, either express or implied. See the License for the specific language\ngoverning permissions and limitations under the License.\n*/\n\nimport { html } from '@open-wc/testing';\nimport '@spectrum-web-components/radio/sp-radio.js';\nimport '@spectrum-web-components/sidenav/sp-sidenav.js';\nimport '@spectrum-web-components/sidenav/sp-sidenav-item.js';\nimport '@spectrum-web-components/sidenav/sp-sidenav-heading.js';\nimport { testForMemoryLeaks } from '../../../test/testing-helpers.js';\n\ntestForMemoryLeaks(html`\n <sp-sidenav>\n <sp-sidenav-heading label=\"CATEGORY 1\">\n <sp-sidenav-item\n value=\"Section 1\"\n label=\"Section 1\"\n ></sp-sidenav-item>\n <sp-sidenav-item\n value=\"Section 2\"\n label=\"Section 2\"\n ></sp-sidenav-item>\n </sp-sidenav-heading>\n </sp-sidenav>\n`);\n"],
|
|
5
|
+
"mappings": ";AAWA,SAAS,YAAY;AACrB,OAAO;AACP,OAAO;AACP,OAAO;AACP,OAAO;AACP,SAAS,0BAA0B;AAEnC,mBAAmB;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,CAalB;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|