@swc-react/color-slider 0.31.1-react.2 → 0.31.1-react.21

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,5 +1,6 @@
1
1
  import type { EventName } from '@lit-labs/react';
2
2
  import { ColorSlider as SpColorSlider } from '@spectrum-web-components/color-slider';
3
+ import '@spectrum-web-components/color-slider/sp-color-slider.js';
3
4
  export declare const ColorSlider: import("@lit-labs/react").ReactWebComponent<SpColorSlider, {
4
5
  input: EventName<Event>;
5
6
  change: EventName<Event>;
package/index.dev.js CHANGED
@@ -2,6 +2,7 @@
2
2
  import * as React from "react";
3
3
  import { createComponent } from "@lit-labs/react";
4
4
  import { ColorSlider as SpColorSlider } from "@spectrum-web-components/color-slider";
5
+ import "@spectrum-web-components/color-slider/sp-color-slider.js";
5
6
  export const ColorSlider = createComponent({
6
7
  displayName: "ColorSlider",
7
8
  elementClass: SpColorSlider,
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 { ColorSlider as SpColorSlider } from '@spectrum-web-components/color-slider';\n\nexport const ColorSlider = createComponent({\n displayName: 'ColorSlider',\n elementClass: SpColorSlider,\n react: React,\n tagName: 'sp-color-slider',\n events: {\n input: 'input' as EventName<Event>, // The value of the Color Slider has changed.\n change: 'change' as EventName<Event>, // An alteration to the value of the Color Slider has been committed by the user.\n },\n});\n\nexport type ColorSliderType = EventTarget & SpColorSlider;\n"],
5
- "mappings": ";AAYA,YAAY,WAAW;AACvB,SAAS,uBAAuB;AAEhC,SAAS,eAAe,qBAAqB;AAEtC,aAAM,cAAc,gBAAgB;AAAA,EACvC,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;",
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 { ColorSlider as SpColorSlider } from '@spectrum-web-components/color-slider';\n\nimport '@spectrum-web-components/color-slider/sp-color-slider.js';\n\nexport const ColorSlider = createComponent({\n displayName: 'ColorSlider',\n elementClass: SpColorSlider,\n react: React,\n tagName: 'sp-color-slider',\n events: {\n input: 'input' as EventName<Event>, // The value of the Color Slider has changed.\n change: 'change' as EventName<Event>, // An alteration to the value of the Color Slider has been committed by the user.\n },\n});\n\nexport type ColorSliderType = EventTarget & SpColorSlider;\n"],
5
+ "mappings": ";AAYA,YAAY,WAAW;AACvB,SAAS,uBAAuB;AAEhC,SAAS,eAAe,qBAAqB;AAE7C,OAAO;AAEA,aAAM,cAAc,gBAAgB;AAAA,EACvC,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 CHANGED
@@ -1,2 +1,2 @@
1
- "use strict";import*as e from"react";import{createComponent as r}from"@lit-labs/react";import{ColorSlider as o}from"@spectrum-web-components/color-slider";export const ColorSlider=r({displayName:"ColorSlider",elementClass:o,react:e,tagName:"sp-color-slider",events:{input:"input",change:"change"}});
1
+ "use strict";import*as e from"react";import{createComponent as r}from"@lit-labs/react";import{ColorSlider as o}from"@spectrum-web-components/color-slider";import"@spectrum-web-components/color-slider/sp-color-slider.js";export const ColorSlider=r({displayName:"ColorSlider",elementClass:o,react:e,tagName:"sp-color-slider",events:{input:"input",change:"change"}});
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 { ColorSlider as SpColorSlider } from '@spectrum-web-components/color-slider';\n\nexport const ColorSlider = createComponent({\n displayName: 'ColorSlider',\n elementClass: SpColorSlider,\n react: React,\n tagName: 'sp-color-slider',\n events: {\n input: 'input' as EventName<Event>, // The value of the Color Slider has changed.\n change: 'change' as EventName<Event>, // An alteration to the value of the Color Slider has been committed by the user.\n },\n});\n\nexport type ColorSliderType = EventTarget & SpColorSlider;\n"],
5
- "mappings": "aAYA,UAAYA,MAAW,QACvB,OAAS,mBAAAC,MAAuB,kBAEhC,OAAS,eAAeC,MAAqB,wCAEtC,aAAM,YAAcD,EAAgB,CACvC,YAAa,cACb,aAAcC,EACd,MAAOF,EACP,QAAS,kBACT,OAAQ,CACJ,MAAO,QACP,OAAQ,QACZ,CACJ,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 { ColorSlider as SpColorSlider } from '@spectrum-web-components/color-slider';\n\nimport '@spectrum-web-components/color-slider/sp-color-slider.js';\n\nexport const ColorSlider = createComponent({\n displayName: 'ColorSlider',\n elementClass: SpColorSlider,\n react: React,\n tagName: 'sp-color-slider',\n events: {\n input: 'input' as EventName<Event>, // The value of the Color Slider has changed.\n change: 'change' as EventName<Event>, // An alteration to the value of the Color Slider has been committed by the user.\n },\n});\n\nexport type ColorSliderType = EventTarget & SpColorSlider;\n"],
5
+ "mappings": "aAYA,UAAYA,MAAW,QACvB,OAAS,mBAAAC,MAAuB,kBAEhC,OAAS,eAAeC,MAAqB,wCAE7C,MAAO,2DAEA,aAAM,YAAcD,EAAgB,CACvC,YAAa,cACb,aAAcC,EACd,MAAOF,EACP,QAAS,kBACT,OAAQ,CACJ,MAAO,QACP,OAAQ,QACZ,CACJ,CAAC",
6
6
  "names": ["React", "createComponent", "SpColorSlider"]
7
7
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@swc-react/color-slider",
3
- "version": "0.31.1-react.2+971de948d",
3
+ "version": "0.31.1-react.21+44f0b1df9",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -30,15 +30,15 @@
30
30
  ],
31
31
  "dependencies": {
32
32
  "@lit-labs/react": "^1.1.1",
33
- "@spectrum-web-components/color-slider": "^0.31.1-react.1+86ddafa4c"
33
+ "@spectrum-web-components/color-slider": "^0.31.1-react.21+44f0b1df9"
34
34
  },
35
35
  "peerDependencies": {
36
- "next": "^13.4.1 || latest"
36
+ "next": "~13.4"
37
37
  },
38
38
  "peerDependenciesMeta": {
39
39
  "next": {
40
40
  "optional": true
41
41
  }
42
42
  },
43
- "gitHead": "971de948df12f7082f13ab5dd5e638d456ebbb94"
43
+ "gitHead": "44f0b1df9e1ea77d9e931629a63918ceee2744c2"
44
44
  }