@swc-react/button 1.9.1 → 1.11.0-snapshot-test.20260129145631
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.dev.js.map +2 -2
- package/index.js.map +2 -2
- package/next.d.ts +3 -3
- package/next.dev.js.map +2 -2
- package/next.js.map +2 -2
- package/package.json +7 -2
package/index.dev.js.map
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["index.ts"],
|
|
4
|
-
"sourcesContent": ["
|
|
5
|
-
"mappings": ";
|
|
4
|
+
"sourcesContent": ["import * as React from 'react';\nimport { createComponent } from '@lit/react';\nimport { Button as SpButton } from '@spectrum-web-components/button';\nimport { ClearButton as SpClearButton } from '@spectrum-web-components/button';\nimport { CloseButton as SpCloseButton } from '@spectrum-web-components/button';\n\nimport '@spectrum-web-components/button/sp-button.js';\nimport '@spectrum-web-components/button/sp-clear-button.js';\nimport '@spectrum-web-components/button/sp-close-button.js';\n\nexport const Button = createComponent({\n displayName: 'Button',\n elementClass: SpButton,\n react: React,\n tagName: 'sp-button',\n events: {},\n});\nexport const ClearButton = createComponent({\n displayName: 'ClearButton',\n elementClass: SpClearButton,\n react: React,\n tagName: 'sp-clear-button',\n events: {},\n});\nexport const CloseButton = createComponent({\n displayName: 'CloseButton',\n elementClass: SpCloseButton,\n react: React,\n tagName: 'sp-close-button',\n events: {},\n});\n\nexport type ButtonType = EventTarget & SpButton;\nexport type ClearButtonType = EventTarget & SpClearButton;\nexport type CloseButtonType = EventTarget & SpCloseButton;\n"],
|
|
5
|
+
"mappings": ";AAAA,YAAY,WAAW;AACvB,SAAS,uBAAuB;AAChC,SAAS,UAAU,gBAAgB;AACnC,SAAS,eAAe,qBAAqB;AAC7C,SAAS,eAAe,qBAAqB;AAE7C,OAAO;AACP,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,cAAc,gBAAgB;AAAA,EACvC,aAAa;AAAA,EACb,cAAc;AAAA,EACd,OAAO;AAAA,EACP,SAAS;AAAA,EACT,QAAQ,CAAC;AACb,CAAC;AACM,aAAM,cAAc,gBAAgB;AAAA,EACvC,aAAa;AAAA,EACb,cAAc;AAAA,EACd,OAAO;AAAA,EACP,SAAS;AAAA,EACT,QAAQ,CAAC;AACb,CAAC;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
package/index.js.map
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["index.ts"],
|
|
4
|
-
"sourcesContent": ["
|
|
5
|
-
"mappings": "
|
|
4
|
+
"sourcesContent": ["import * as React from 'react';\nimport { createComponent } from '@lit/react';\nimport { Button as SpButton } from '@spectrum-web-components/button';\nimport { ClearButton as SpClearButton } from '@spectrum-web-components/button';\nimport { CloseButton as SpCloseButton } from '@spectrum-web-components/button';\n\nimport '@spectrum-web-components/button/sp-button.js';\nimport '@spectrum-web-components/button/sp-clear-button.js';\nimport '@spectrum-web-components/button/sp-close-button.js';\n\nexport const Button = createComponent({\n displayName: 'Button',\n elementClass: SpButton,\n react: React,\n tagName: 'sp-button',\n events: {},\n});\nexport const ClearButton = createComponent({\n displayName: 'ClearButton',\n elementClass: SpClearButton,\n react: React,\n tagName: 'sp-clear-button',\n events: {},\n});\nexport const CloseButton = createComponent({\n displayName: 'CloseButton',\n elementClass: SpCloseButton,\n react: React,\n tagName: 'sp-close-button',\n events: {},\n});\n\nexport type ButtonType = EventTarget & SpButton;\nexport type ClearButtonType = EventTarget & SpClearButton;\nexport type CloseButtonType = EventTarget & SpCloseButton;\n"],
|
|
5
|
+
"mappings": "aAAA,UAAYA,MAAW,QACvB,OAAS,mBAAAC,MAAuB,aAChC,OAAS,UAAUC,MAAgB,kCACnC,OAAS,eAAeC,MAAqB,kCAC7C,OAAS,eAAeC,MAAqB,kCAE7C,MAAO,+CACP,MAAO,qDACP,MAAO,qDAEA,aAAM,OAASH,EAAgB,CAClC,YAAa,SACb,aAAcC,EACd,MAAOF,EACP,QAAS,YACT,OAAQ,CAAC,CACb,CAAC,EACY,YAAcC,EAAgB,CACvC,YAAa,cACb,aAAcE,EACd,MAAOH,EACP,QAAS,kBACT,OAAQ,CAAC,CACb,CAAC,EACY,YAAcC,EAAgB,CACvC,YAAa,cACb,aAAcG,EACd,MAAOJ,EACP,QAAS,kBACT,OAAQ,CAAC,CACb,CAAC",
|
|
6
6
|
"names": ["React", "createComponent", "SpButton", "SpClearButton", "SpCloseButton"]
|
|
7
7
|
}
|
package/next.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export declare const Button: import("react").ComponentType<Omit<import("react").HTMLAttributes<import("button/src/Button.js").Button>, "
|
|
2
|
-
export declare const ClearButton: import("react").ComponentType<Omit<import("react").HTMLAttributes<import("button/src/ClearButton.js").ClearButton>, "
|
|
3
|
-
export declare const CloseButton: import("react").ComponentType<Omit<import("react").HTMLAttributes<import("button/src/CloseButton.js").CloseButton>, "
|
|
1
|
+
export declare const Button: import("react").ComponentType<Omit<import("react").HTMLAttributes<import("button/src/Button.js").Button>, "download" | "label" | "href" | "target" | "rel" | "renderOptions" | "type" | "disabled" | "active" | "renderRoot" | "isUpdatePending" | "hasUpdated" | "addController" | "removeController" | "connectedCallback" | "disconnectedCallback" | "attributeChangedCallback" | "requestUpdate" | "updateComplete" | "staticColor" | "pending" | "pendingLabel" | "variant" | "treatment" | "quiet" | "noWrap" | "size" | "pendingStateController" | "focusElement" | "renderAnchor" | "selfManageFocusElement" | "isLTR" | "hasVisibleFocusInTree" | "slotHasContent" | "manageTextObservedSlot"> & {} & Partial<Omit<import("button/src/Button.js").Button, keyof HTMLElement>> & import("react").RefAttributes<import("button/src/Button.js").Button>>;
|
|
2
|
+
export declare const ClearButton: import("react").ComponentType<Omit<import("react").HTMLAttributes<import("button/src/ClearButton.js").ClearButton>, "download" | "label" | "href" | "target" | "rel" | "renderOptions" | "type" | "disabled" | "active" | "renderRoot" | "isUpdatePending" | "hasUpdated" | "addController" | "removeController" | "connectedCallback" | "disconnectedCallback" | "attributeChangedCallback" | "requestUpdate" | "updateComplete" | "staticColor" | "variant" | "quiet" | "size" | "focusElement" | "renderAnchor" | "selfManageFocusElement" | "isLTR" | "hasVisibleFocusInTree" | "slotHasContent" | "manageTextObservedSlot"> & {} & Partial<Omit<import("button/src/ClearButton.js").ClearButton, keyof HTMLElement>> & import("react").RefAttributes<import("button/src/ClearButton.js").ClearButton>>;
|
|
3
|
+
export declare const CloseButton: import("react").ComponentType<Omit<import("react").HTMLAttributes<import("button/src/CloseButton.js").CloseButton>, "download" | "label" | "href" | "target" | "rel" | "renderOptions" | "type" | "disabled" | "active" | "renderRoot" | "isUpdatePending" | "hasUpdated" | "addController" | "removeController" | "connectedCallback" | "disconnectedCallback" | "attributeChangedCallback" | "requestUpdate" | "updateComplete" | "staticColor" | "variant" | "size" | "focusElement" | "renderAnchor" | "selfManageFocusElement" | "isLTR" | "hasVisibleFocusInTree" | "slotHasContent" | "manageTextObservedSlot"> & {} & Partial<Omit<import("button/src/CloseButton.js").CloseButton, keyof HTMLElement>> & import("react").RefAttributes<import("button/src/CloseButton.js").CloseButton>>;
|
package/next.dev.js.map
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["next.ts"],
|
|
4
|
-
"sourcesContent": ["
|
|
5
|
-
"mappings": ";
|
|
4
|
+
"sourcesContent": ["import { ComponentProps } from 'react';\nimport dynamic from 'next/dynamic';\n\nimport { Button as SpButton } from './index.dev.js'\nimport { ClearButton as SpClearButton } from './index.dev.js'\nimport { CloseButton as SpCloseButton } from './index.dev.js'\n\nexport const Button = dynamic<\n JSX.LibraryManagedAttributes<\n typeof SpButton,\n ComponentProps<typeof SpButton>\n >\n>(() => import('./index.dev.js').then(({ Button }) => Button), { ssr: false });\nexport const ClearButton = dynamic<\n JSX.LibraryManagedAttributes<\n typeof SpClearButton,\n ComponentProps<typeof SpClearButton>\n >\n>(() => import('./index.dev.js').then(({ ClearButton }) => ClearButton), {\n ssr: false,\n});\nexport const CloseButton = dynamic<\n JSX.LibraryManagedAttributes<\n typeof SpCloseButton,\n ComponentProps<typeof SpCloseButton>\n >\n>(() => import('./index.dev.js').then(({ CloseButton }) => CloseButton), {\n ssr: false,\n});\n"],
|
|
5
|
+
"mappings": ";AACA,OAAO,aAAa;AAMb,aAAM,SAAS,QAKpB,MAAM,OAAO,gBAAgB,EAAE,KAAK,CAAC,EAAE,QAAAA,QAAO,MAAMA,OAAM,GAAG,EAAE,KAAK,MAAM,CAAC;AACtE,aAAM,cAAc,QAKzB,MAAM,OAAO,gBAAgB,EAAE,KAAK,CAAC,EAAE,aAAAC,aAAY,MAAMA,YAAW,GAAG;AAAA,EACrE,KAAK;AACT,CAAC;AACM,aAAM,cAAc,QAKzB,MAAM,OAAO,gBAAgB,EAAE,KAAK,CAAC,EAAE,aAAAC,aAAY,MAAMA,YAAW,GAAG;AAAA,EACrE,KAAK;AACT,CAAC;",
|
|
6
6
|
"names": ["Button", "ClearButton", "CloseButton"]
|
|
7
7
|
}
|
package/next.js.map
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["next.ts"],
|
|
4
|
-
"sourcesContent": ["
|
|
5
|
-
"mappings": "
|
|
4
|
+
"sourcesContent": ["import { ComponentProps } from 'react';\nimport dynamic from 'next/dynamic';\n\nimport { Button as SpButton } from './index.js';\nimport { ClearButton as SpClearButton } from './index.js';\nimport { CloseButton as SpCloseButton } from './index.js';\n\nexport const Button = dynamic<\n JSX.LibraryManagedAttributes<\n typeof SpButton,\n ComponentProps<typeof SpButton>\n >\n>(() => import('./index.js').then(({ Button }) => Button), { ssr: false });\nexport const ClearButton = dynamic<\n JSX.LibraryManagedAttributes<\n typeof SpClearButton,\n ComponentProps<typeof SpClearButton>\n >\n>(() => import('./index.js').then(({ ClearButton }) => ClearButton), {\n ssr: false,\n});\nexport const CloseButton = dynamic<\n JSX.LibraryManagedAttributes<\n typeof SpCloseButton,\n ComponentProps<typeof SpCloseButton>\n >\n>(() => import('./index.js').then(({ CloseButton }) => CloseButton), {\n ssr: false,\n});\n"],
|
|
5
|
+
"mappings": "aACA,OAAOA,MAAa,eAMb,aAAM,OAASA,EAKpB,IAAM,OAAO,YAAY,EAAE,KAAK,CAAC,CAAE,OAAAC,CAAO,IAAMA,CAAM,EAAG,CAAE,IAAK,EAAM,CAAC,EAC5D,YAAcD,EAKzB,IAAM,OAAO,YAAY,EAAE,KAAK,CAAC,CAAE,YAAAE,CAAY,IAAMA,CAAW,EAAG,CACjE,IAAK,EACT,CAAC,EACY,YAAcF,EAKzB,IAAM,OAAO,YAAY,EAAE,KAAK,CAAC,CAAE,YAAAG,CAAY,IAAMA,CAAW,EAAG,CACjE,IAAK,EACT,CAAC",
|
|
6
6
|
"names": ["dynamic", "Button", "ClearButton", "CloseButton"]
|
|
7
7
|
}
|
package/package.json
CHANGED
|
@@ -1,12 +1,17 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@swc-react/button",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.11.0-snapshot-test.20260129145631",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
7
7
|
"description": "React and Next.js wrapper of the @spectrum-web-components/button component",
|
|
8
8
|
"license": "Apache-2.0",
|
|
9
9
|
"author": "Adobe",
|
|
10
|
+
"repository": {
|
|
11
|
+
"type": "git",
|
|
12
|
+
"url": "https://github.com/adobe/spectrum-web-components.git",
|
|
13
|
+
"directory": "1st-gen/react/button"
|
|
14
|
+
},
|
|
10
15
|
"type": "module",
|
|
11
16
|
"exports": {
|
|
12
17
|
".": {
|
|
@@ -26,7 +31,7 @@
|
|
|
26
31
|
],
|
|
27
32
|
"dependencies": {
|
|
28
33
|
"@lit/react": "^1.0.2",
|
|
29
|
-
"@spectrum-web-components/button": "^1.
|
|
34
|
+
"@spectrum-web-components/button": "^1.11.0-snapshot-test.20260129145631"
|
|
30
35
|
},
|
|
31
36
|
"peerDependencies": {
|
|
32
37
|
"next": "~13.4 || ~14"
|