@swc-react/top-nav 0.6.12 → 0.7.0
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/index.d.ts +1 -4
- package/index.dev.js +1 -4
- package/index.dev.js.map +2 -2
- package/index.js +1 -1
- package/index.js.map +2 -2
- package/package.json +3 -3
package/index.d.ts
CHANGED
|
@@ -1,11 +1,8 @@
|
|
|
1
|
-
import type { EventName } from '@lit-labs/react';
|
|
2
1
|
import { TopNav as SpTopNav } from '@spectrum-web-components/top-nav';
|
|
3
2
|
import { TopNavItem as SpTopNavItem } from '@spectrum-web-components/top-nav';
|
|
4
3
|
import '@spectrum-web-components/top-nav/sp-top-nav-item.js';
|
|
5
4
|
import '@spectrum-web-components/top-nav/sp-top-nav.js';
|
|
6
5
|
export declare const TopNav: import("@lit-labs/react").ReactWebComponent<SpTopNav, {}>;
|
|
7
|
-
export declare const TopNavItem: import("@lit-labs/react").ReactWebComponent<SpTopNavItem, {
|
|
8
|
-
spTopNavItemContentchange: EventName<Event>;
|
|
9
|
-
}>;
|
|
6
|
+
export declare const TopNavItem: import("@lit-labs/react").ReactWebComponent<SpTopNavItem, {}>;
|
|
10
7
|
export declare type TopNavType = EventTarget & SpTopNav;
|
|
11
8
|
export declare type TopNavItemType = EventTarget & SpTopNavItem;
|
package/index.dev.js
CHANGED
|
@@ -17,9 +17,6 @@ export const TopNavItem = createComponent({
|
|
|
17
17
|
elementClass: SpTopNavItem,
|
|
18
18
|
react: React,
|
|
19
19
|
tagName: "sp-top-nav-item",
|
|
20
|
-
events: {
|
|
21
|
-
spTopNavItemContentchange: "sp-top-nav-item-contentchange"
|
|
22
|
-
// When the content in a tab has changed, JS powered layout related to that content may also need to be changed.
|
|
23
|
-
}
|
|
20
|
+
events: {}
|
|
24
21
|
});
|
|
25
22
|
//# sourceMappingURL=index.dev.js.map
|
package/index.dev.js.map
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["index.ts"],
|
|
4
|
-
"sourcesContent": ["/*\nCopyright 2022 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\n\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 * as React from 'react';\nimport { createComponent } from '@lit-labs/react';\nimport
|
|
5
|
-
"mappings": ";AAYA,YAAY,WAAW;AACvB,SAAS,uBAAuB;
|
|
4
|
+
"sourcesContent": ["/*\nCopyright 2022 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\n\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 * as React from 'react';\nimport { createComponent } from '@lit-labs/react';\nimport { TopNav as SpTopNav } from '@spectrum-web-components/top-nav';\nimport { TopNavItem as SpTopNavItem } from '@spectrum-web-components/top-nav';\n\nimport '@spectrum-web-components/top-nav/sp-top-nav-item.js';\nimport '@spectrum-web-components/top-nav/sp-top-nav.js';\n\nexport const TopNav = createComponent({\n displayName: 'TopNav',\n elementClass: SpTopNav,\n react: React,\n tagName: 'sp-top-nav',\n events: {},\n});\nexport const TopNavItem = createComponent({\n displayName: 'TopNavItem',\n elementClass: SpTopNavItem,\n react: React,\n tagName: 'sp-top-nav-item',\n events: {},\n});\n\nexport type TopNavType = EventTarget & SpTopNav;\nexport type TopNavItemType = EventTarget & SpTopNavItem;\n"],
|
|
5
|
+
"mappings": ";AAYA,YAAY,WAAW;AACvB,SAAS,uBAAuB;AAChC,SAAS,UAAU,gBAAgB;AACnC,SAAS,cAAc,oBAAoB;AAE3C,OAAO;AACP,OAAO;AAEA,aAAM,SAAS,gBAAgB;AAAA,EAClC,aAAa;AAAA,EACb,cAAc;AAAA,EACd,OAAO;AAAA,EACP,SAAS;AAAA,EACT,QAAQ,CAAC;AACb,CAAC;AACM,aAAM,aAAa,gBAAgB;AAAA,EACtC,aAAa;AAAA,EACb,cAAc;AAAA,EACd,OAAO;AAAA,EACP,SAAS;AAAA,EACT,QAAQ,CAAC;AACb,CAAC;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
package/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";import*as e from"react";import{createComponent as t}from"@lit-labs/react";import{TopNav as p}from"@spectrum-web-components/top-nav";import{TopNavItem as a}from"@spectrum-web-components/top-nav";import"@spectrum-web-components/top-nav/sp-top-nav-item.js";import"@spectrum-web-components/top-nav/sp-top-nav.js";export const TopNav=t({displayName:"TopNav",elementClass:p,react:e,tagName:"sp-top-nav",events:{}}),TopNavItem=t({displayName:"TopNavItem",elementClass:a,react:e,tagName:"sp-top-nav-item",events:{
|
|
1
|
+
"use strict";import*as e from"react";import{createComponent as t}from"@lit-labs/react";import{TopNav as p}from"@spectrum-web-components/top-nav";import{TopNavItem as a}from"@spectrum-web-components/top-nav";import"@spectrum-web-components/top-nav/sp-top-nav-item.js";import"@spectrum-web-components/top-nav/sp-top-nav.js";export const TopNav=t({displayName:"TopNav",elementClass:p,react:e,tagName:"sp-top-nav",events:{}}),TopNavItem=t({displayName:"TopNavItem",elementClass:a,react:e,tagName:"sp-top-nav-item",events:{}});
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
package/index.js.map
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["index.ts"],
|
|
4
|
-
"sourcesContent": ["/*\nCopyright 2022 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\n\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 * as React from 'react';\nimport { createComponent } from '@lit-labs/react';\nimport
|
|
5
|
-
"mappings": "aAYA,UAAYA,MAAW,QACvB,OAAS,mBAAAC,MAAuB,
|
|
4
|
+
"sourcesContent": ["/*\nCopyright 2022 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\n\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 * as React from 'react';\nimport { createComponent } from '@lit-labs/react';\nimport { TopNav as SpTopNav } from '@spectrum-web-components/top-nav';\nimport { TopNavItem as SpTopNavItem } from '@spectrum-web-components/top-nav';\n\nimport '@spectrum-web-components/top-nav/sp-top-nav-item.js';\nimport '@spectrum-web-components/top-nav/sp-top-nav.js';\n\nexport const TopNav = createComponent({\n displayName: 'TopNav',\n elementClass: SpTopNav,\n react: React,\n tagName: 'sp-top-nav',\n events: {},\n});\nexport const TopNavItem = createComponent({\n displayName: 'TopNavItem',\n elementClass: SpTopNavItem,\n react: React,\n tagName: 'sp-top-nav-item',\n events: {},\n});\n\nexport type TopNavType = EventTarget & SpTopNav;\nexport type TopNavItemType = EventTarget & SpTopNavItem;\n"],
|
|
5
|
+
"mappings": "aAYA,UAAYA,MAAW,QACvB,OAAS,mBAAAC,MAAuB,kBAChC,OAAS,UAAUC,MAAgB,mCACnC,OAAS,cAAcC,MAAoB,mCAE3C,MAAO,sDACP,MAAO,iDAEA,aAAM,OAASF,EAAgB,CAClC,YAAa,SACb,aAAcC,EACd,MAAOF,EACP,QAAS,aACT,OAAQ,CAAC,CACb,CAAC,EACY,WAAaC,EAAgB,CACtC,YAAa,aACb,aAAcE,EACd,MAAOH,EACP,QAAS,kBACT,OAAQ,CAAC,CACb,CAAC",
|
|
6
6
|
"names": ["React", "createComponent", "SpTopNav", "SpTopNavItem"]
|
|
7
7
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@swc-react/top-nav",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.7.0",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
],
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@lit-labs/react": "^1.1.1",
|
|
23
|
-
"@spectrum-web-components/top-nav": "0.
|
|
23
|
+
"@spectrum-web-components/top-nav": "0.7.0"
|
|
24
24
|
},
|
|
25
|
-
"gitHead": "
|
|
25
|
+
"gitHead": "1e25ee121f3bc838dbb99bac62f3c95857570f7a"
|
|
26
26
|
}
|