@swc-react/tooltip 0.11.17 → 0.31.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 CHANGED
@@ -1,7 +1,6 @@
1
1
  import type { EventName } from '@lit-labs/react';
2
2
  import { TooltipProxy as SpTooltipProxy } from '@spectrum-web-components/tooltip';
3
3
  import { Tooltip as SpTooltip } from '@spectrum-web-components/tooltip';
4
- import '@spectrum-web-components/tooltip/sp-tooltip.js';
5
4
  export declare const TooltipProxy: import("@lit-labs/react").ReactWebComponent<SpTooltipProxy, {
6
5
  disconnected: EventName<Event>;
7
6
  }>;
package/index.dev.js CHANGED
@@ -3,12 +3,11 @@ import * as React from "react";
3
3
  import { createComponent } from "@lit-labs/react";
4
4
  import { TooltipProxy as SpTooltipProxy } from "@spectrum-web-components/tooltip";
5
5
  import { Tooltip as SpTooltip } from "@spectrum-web-components/tooltip";
6
- import "@spectrum-web-components/tooltip/sp-tooltip.js";
7
6
  export const TooltipProxy = createComponent({
8
7
  displayName: "TooltipProxy",
9
8
  elementClass: SpTooltipProxy,
10
9
  react: React,
11
- tagName: "tooltip-proxy",
10
+ tagName: "undefined",
12
11
  events: {
13
12
  disconnected: "disconnected"
14
13
  }
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 type { EventName } from '@lit-labs/react';\nimport { TooltipProxy as SpTooltipProxy } from '@spectrum-web-components/tooltip';\nimport { Tooltip as SpTooltip } from '@spectrum-web-components/tooltip';\n\nimport '@spectrum-web-components/tooltip/sp-tooltip.js';\n\nexport const TooltipProxy = createComponent({\n displayName: 'TooltipProxy',\n elementClass: SpTooltipProxy,\n react: React,\n tagName: 'tooltip-proxy',\n events: {\n disconnected: 'disconnected' as EventName<Event>,\n },\n});\nexport const Tooltip = createComponent({\n displayName: 'Tooltip',\n elementClass: SpTooltip,\n react: React,\n tagName: 'sp-tooltip',\n events: {},\n});\n\nexport type TooltipProxyType = EventTarget & SpTooltipProxy;\nexport type TooltipType = EventTarget & SpTooltip;\n"],
5
- "mappings": ";AAYA,YAAY,WAAW;AACvB,SAAS,uBAAuB;AAEhC,SAAS,gBAAgB,sBAAsB;AAC/C,SAAS,WAAW,iBAAiB;AAErC,OAAO;AAEA,aAAM,eAAe,gBAAgB;AAAA,EACxC,aAAa;AAAA,EACb,cAAc;AAAA,EACd,OAAO;AAAA,EACP,SAAS;AAAA,EACT,QAAQ;AAAA,IACJ,cAAc;AAAA,EAClB;AACJ,CAAC;AACM,aAAM,UAAU,gBAAgB;AAAA,EACnC,aAAa;AAAA,EACb,cAAc;AAAA,EACd,OAAO;AAAA,EACP,SAAS;AAAA,EACT,QAAQ,CAAC;AACb,CAAC;",
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 type { EventName } from '@lit-labs/react';\nimport { TooltipProxy as SpTooltipProxy } from '@spectrum-web-components/tooltip';\nimport { Tooltip as SpTooltip } from '@spectrum-web-components/tooltip';\n\nexport const TooltipProxy = createComponent({\n displayName: 'TooltipProxy',\n elementClass: SpTooltipProxy,\n react: React,\n tagName: 'undefined',\n events: {\n disconnected: 'disconnected' as EventName<Event>,\n },\n});\nexport const Tooltip = createComponent({\n displayName: 'Tooltip',\n elementClass: SpTooltip,\n react: React,\n tagName: 'sp-tooltip',\n events: {},\n});\n\nexport type TooltipProxyType = EventTarget & SpTooltipProxy;\nexport type TooltipType = EventTarget & SpTooltip;\n"],
5
+ "mappings": ";AAYA,YAAY,WAAW;AACvB,SAAS,uBAAuB;AAEhC,SAAS,gBAAgB,sBAAsB;AAC/C,SAAS,WAAW,iBAAiB;AAE9B,aAAM,eAAe,gBAAgB;AAAA,EACxC,aAAa;AAAA,EACb,cAAc;AAAA,EACd,OAAO;AAAA,EACP,SAAS;AAAA,EACT,QAAQ;AAAA,IACJ,cAAc;AAAA,EAClB;AACJ,CAAC;AACM,aAAM,UAAU,gBAAgB;AAAA,EACnC,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 o from"react";import{createComponent as t}from"@lit-labs/react";import{TooltipProxy as e}from"@spectrum-web-components/tooltip";import{Tooltip as p}from"@spectrum-web-components/tooltip";import"@spectrum-web-components/tooltip/sp-tooltip.js";export const TooltipProxy=t({displayName:"TooltipProxy",elementClass:e,react:o,tagName:"tooltip-proxy",events:{disconnected:"disconnected"}}),Tooltip=t({displayName:"Tooltip",elementClass:p,react:o,tagName:"sp-tooltip",events:{}});
1
+ "use strict";import*as o from"react";import{createComponent as t}from"@lit-labs/react";import{TooltipProxy as e}from"@spectrum-web-components/tooltip";import{Tooltip as p}from"@spectrum-web-components/tooltip";export const TooltipProxy=t({displayName:"TooltipProxy",elementClass:e,react:o,tagName:"undefined",events:{disconnected:"disconnected"}}),Tooltip=t({displayName:"Tooltip",elementClass:p,react:o,tagName:"sp-tooltip",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 type { EventName } from '@lit-labs/react';\nimport { TooltipProxy as SpTooltipProxy } from '@spectrum-web-components/tooltip';\nimport { Tooltip as SpTooltip } from '@spectrum-web-components/tooltip';\n\nimport '@spectrum-web-components/tooltip/sp-tooltip.js';\n\nexport const TooltipProxy = createComponent({\n displayName: 'TooltipProxy',\n elementClass: SpTooltipProxy,\n react: React,\n tagName: 'tooltip-proxy',\n events: {\n disconnected: 'disconnected' as EventName<Event>,\n },\n});\nexport const Tooltip = createComponent({\n displayName: 'Tooltip',\n elementClass: SpTooltip,\n react: React,\n tagName: 'sp-tooltip',\n events: {},\n});\n\nexport type TooltipProxyType = EventTarget & SpTooltipProxy;\nexport type TooltipType = EventTarget & SpTooltip;\n"],
5
- "mappings": "aAYA,UAAYA,MAAW,QACvB,OAAS,mBAAAC,MAAuB,kBAEhC,OAAS,gBAAgBC,MAAsB,mCAC/C,OAAS,WAAWC,MAAiB,mCAErC,MAAO,iDAEA,aAAM,aAAeF,EAAgB,CACxC,YAAa,eACb,aAAcC,EACd,MAAOF,EACP,QAAS,gBACT,OAAQ,CACJ,aAAc,cAClB,CACJ,CAAC,EACY,QAAUC,EAAgB,CACnC,YAAa,UACb,aAAcE,EACd,MAAOH,EACP,QAAS,aACT,OAAQ,CAAC,CACb,CAAC",
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 type { EventName } from '@lit-labs/react';\nimport { TooltipProxy as SpTooltipProxy } from '@spectrum-web-components/tooltip';\nimport { Tooltip as SpTooltip } from '@spectrum-web-components/tooltip';\n\nexport const TooltipProxy = createComponent({\n displayName: 'TooltipProxy',\n elementClass: SpTooltipProxy,\n react: React,\n tagName: 'undefined',\n events: {\n disconnected: 'disconnected' as EventName<Event>,\n },\n});\nexport const Tooltip = createComponent({\n displayName: 'Tooltip',\n elementClass: SpTooltip,\n react: React,\n tagName: 'sp-tooltip',\n events: {},\n});\n\nexport type TooltipProxyType = EventTarget & SpTooltipProxy;\nexport type TooltipType = EventTarget & SpTooltip;\n"],
5
+ "mappings": "aAYA,UAAYA,MAAW,QACvB,OAAS,mBAAAC,MAAuB,kBAEhC,OAAS,gBAAgBC,MAAsB,mCAC/C,OAAS,WAAWC,MAAiB,mCAE9B,aAAM,aAAeF,EAAgB,CACxC,YAAa,eACb,aAAcC,EACd,MAAOF,EACP,QAAS,YACT,OAAQ,CACJ,aAAc,cAClB,CACJ,CAAC,EACY,QAAUC,EAAgB,CACnC,YAAa,UACb,aAAcE,EACd,MAAOH,EACP,QAAS,aACT,OAAQ,CAAC,CACb,CAAC",
6
6
  "names": ["React", "createComponent", "SpTooltipProxy", "SpTooltip"]
7
7
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@swc-react/tooltip",
3
- "version": "0.11.17",
3
+ "version": "0.31.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/tooltip": "0.11.17"
23
+ "@spectrum-web-components/tooltip": "0.31.0"
24
24
  },
25
- "gitHead": "277bf58bb0fe4c2efaf0fc49391b3fe35af1890b"
25
+ "gitHead": "a30eeed27948a9a372b792b751f968c54337ab9e"
26
26
  }