@swc-react/color-area 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 +1 -1
- 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 type { EventName } from '@lit/react';\nimport { ColorArea as SpColorArea } from '@spectrum-web-components/color-area';\n\nimport '@spectrum-web-components/color-area/sp-color-area.js';\n\nexport const ColorArea = createComponent({\n displayName: 'ColorArea',\n elementClass: SpColorArea,\n react: React,\n tagName: 'sp-color-area',\n events: {\n input: 'input' as EventName<Event>, // The value of the Color Area has changed.\n change: 'change' as EventName<Event>, // An alteration to the value of the Color Area has been committed by the user.\n },\n});\n\nexport type ColorAreaType = EventTarget & SpColorArea;\n"],
|
|
5
|
+
"mappings": ";AAAA,YAAY,WAAW;AACvB,SAAS,uBAAuB;AAEhC,SAAS,aAAa,mBAAmB;AAEzC,OAAO;AAEA,aAAM,YAAY,gBAAgB;AAAA,EACrC,aAAa;AAAA,EACb,cAAc;AAAA,EACd,OAAO;AAAA,EACP,SAAS;AAAA,EACT,QAAQ;AAAA,IACJ,OAAO;AAAA;AAAA,IACP,QAAQ;AAAA;AAAA,EACZ;AACJ,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 type { EventName } from '@lit/react';\nimport { ColorArea as SpColorArea } from '@spectrum-web-components/color-area';\n\nimport '@spectrum-web-components/color-area/sp-color-area.js';\n\nexport const ColorArea = createComponent({\n displayName: 'ColorArea',\n elementClass: SpColorArea,\n react: React,\n tagName: 'sp-color-area',\n events: {\n input: 'input' as EventName<Event>, // The value of the Color Area has changed.\n change: 'change' as EventName<Event>, // An alteration to the value of the Color Area has been committed by the user.\n },\n});\n\nexport type ColorAreaType = EventTarget & SpColorArea;\n"],
|
|
5
|
+
"mappings": "aAAA,UAAYA,MAAW,QACvB,OAAS,mBAAAC,MAAuB,aAEhC,OAAS,aAAaC,MAAmB,sCAEzC,MAAO,uDAEA,aAAM,UAAYD,EAAgB,CACrC,YAAa,YACb,aAAcC,EACd,MAAOF,EACP,QAAS,gBACT,OAAQ,CACJ,MAAO,QACP,OAAQ,QACZ,CACJ,CAAC",
|
|
6
6
|
"names": ["React", "createComponent", "SpColorArea"]
|
|
7
7
|
}
|
package/next.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const ColorArea: import("react").ComponentType<Omit<import("react").HTMLAttributes<import("color-area/src/ColorArea.js").ColorArea>, "color" | "disabled" | "focused" | "change" | "input" | "
|
|
1
|
+
export declare const ColorArea: import("react").ComponentType<Omit<import("react").HTMLAttributes<import("color-area/src/ColorArea.js").ColorArea>, "color" | "disabled" | "focused" | "change" | "input" | "renderOptions" | "connectedCallback" | "disconnectedCallback" | "renderRoot" | "isUpdatePending" | "hasUpdated" | "addController" | "removeController" | "attributeChangedCallback" | "requestUpdate" | "updateComplete" | "isLTR" | "hasVisibleFocusInTree" | "labelX" | "labelY" | "hue" | "value" | "x" | "y" | "step" | "inputX" | "inputY" | "handleBlur" | "_pointerDown"> & {
|
|
2
2
|
input?: ((e: Event) => void) | undefined;
|
|
3
3
|
change?: ((e: Event) => void) | undefined;
|
|
4
4
|
} & Partial<Omit<import("color-area/src/ColorArea.js").ColorArea, keyof HTMLElement>> & import("react").RefAttributes<import("color-area/src/ColorArea.js").ColorArea>>;
|
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 { ColorArea as SpColorArea } from './index.dev.js'\n\nexport const ColorArea = dynamic<\n JSX.LibraryManagedAttributes<\n typeof SpColorArea,\n ComponentProps<typeof SpColorArea>\n >\n>(() => import('./index.dev.js').then(({ ColorArea }) => ColorArea), {\n ssr: false,\n});\n"],
|
|
5
|
+
"mappings": ";AACA,OAAO,aAAa;AAIb,aAAM,YAAY,QAKvB,MAAM,OAAO,gBAAgB,EAAE,KAAK,CAAC,EAAE,WAAAA,WAAU,MAAMA,UAAS,GAAG;AAAA,EACjE,KAAK;AACT,CAAC;",
|
|
6
6
|
"names": ["ColorArea"]
|
|
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 { ColorArea as SpColorArea } from './index.js';\n\nexport const ColorArea = dynamic<\n JSX.LibraryManagedAttributes<\n typeof SpColorArea,\n ComponentProps<typeof SpColorArea>\n >\n>(() => import('./index.js').then(({ ColorArea }) => ColorArea), {\n ssr: false,\n});\n"],
|
|
5
|
+
"mappings": "aACA,OAAOA,MAAa,eAIb,aAAM,UAAYA,EAKvB,IAAM,OAAO,YAAY,EAAE,KAAK,CAAC,CAAE,UAAAC,CAAU,IAAMA,CAAS,EAAG,CAC7D,IAAK,EACT,CAAC",
|
|
6
6
|
"names": ["dynamic", "ColorArea"]
|
|
7
7
|
}
|
package/package.json
CHANGED
|
@@ -1,12 +1,17 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@swc-react/color-area",
|
|
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/color-area 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/color-area"
|
|
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/color-area": "^1.
|
|
34
|
+
"@spectrum-web-components/color-area": "^1.11.0-snapshot-test.20260129145631"
|
|
30
35
|
},
|
|
31
36
|
"peerDependencies": {
|
|
32
37
|
"next": "~13.4 || ~14"
|