@swc-react/action-bar 0.31.1-react.3 → 0.32.1-overlay.33

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,3 +1,4 @@
1
1
  import { ActionBar as SpActionBar } from '@spectrum-web-components/action-bar';
2
+ import '@spectrum-web-components/action-bar/sp-action-bar.js';
2
3
  export declare const ActionBar: import("@lit-labs/react").ReactWebComponent<SpActionBar, {}>;
3
4
  export declare type ActionBarType = EventTarget & SpActionBar;
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 { ActionBar as SpActionBar } from "@spectrum-web-components/action-bar";
5
+ import "@spectrum-web-components/action-bar/sp-action-bar.js";
5
6
  export const ActionBar = createComponent({
6
7
  displayName: "ActionBar",
7
8
  elementClass: SpActionBar,
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 { ActionBar as SpActionBar } from '@spectrum-web-components/action-bar';\n\nexport const ActionBar = createComponent({\n displayName: 'ActionBar',\n elementClass: SpActionBar,\n react: React,\n tagName: 'sp-action-bar',\n events: {},\n});\n\nexport type ActionBarType = EventTarget & SpActionBar;\n"],
5
- "mappings": ";AAYA,YAAY,WAAW;AACvB,SAAS,uBAAuB;AAChC,SAAS,aAAa,mBAAmB;AAElC,aAAM,YAAY,gBAAgB;AAAA,EACrC,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 { ActionBar as SpActionBar } from '@spectrum-web-components/action-bar';\n\nimport '@spectrum-web-components/action-bar/sp-action-bar.js';\n\nexport const ActionBar = createComponent({\n displayName: 'ActionBar',\n elementClass: SpActionBar,\n react: React,\n tagName: 'sp-action-bar',\n events: {},\n});\n\nexport type ActionBarType = EventTarget & SpActionBar;\n"],
5
+ "mappings": ";AAYA,YAAY,WAAW;AACvB,SAAS,uBAAuB;AAChC,SAAS,aAAa,mBAAmB;AAEzC,OAAO;AAEA,aAAM,YAAY,gBAAgB;AAAA,EACrC,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 t from"react";import{createComponent as a}from"@lit-labs/react";import{ActionBar as e}from"@spectrum-web-components/action-bar";export const ActionBar=a({displayName:"ActionBar",elementClass:e,react:t,tagName:"sp-action-bar",events:{}});
1
+ "use strict";import*as t from"react";import{createComponent as a}from"@lit-labs/react";import{ActionBar as o}from"@spectrum-web-components/action-bar";import"@spectrum-web-components/action-bar/sp-action-bar.js";export const ActionBar=a({displayName:"ActionBar",elementClass:o,react:t,tagName:"sp-action-bar",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 { ActionBar as SpActionBar } from '@spectrum-web-components/action-bar';\n\nexport const ActionBar = createComponent({\n displayName: 'ActionBar',\n elementClass: SpActionBar,\n react: React,\n tagName: 'sp-action-bar',\n events: {},\n});\n\nexport type ActionBarType = EventTarget & SpActionBar;\n"],
5
- "mappings": "aAYA,UAAYA,MAAW,QACvB,OAAS,mBAAAC,MAAuB,kBAChC,OAAS,aAAaC,MAAmB,sCAElC,aAAM,UAAYD,EAAgB,CACrC,YAAa,YACb,aAAcC,EACd,MAAOF,EACP,QAAS,gBACT,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 { ActionBar as SpActionBar } from '@spectrum-web-components/action-bar';\n\nimport '@spectrum-web-components/action-bar/sp-action-bar.js';\n\nexport const ActionBar = createComponent({\n displayName: 'ActionBar',\n elementClass: SpActionBar,\n react: React,\n tagName: 'sp-action-bar',\n events: {},\n});\n\nexport type ActionBarType = EventTarget & SpActionBar;\n"],
5
+ "mappings": "aAYA,UAAYA,MAAW,QACvB,OAAS,mBAAAC,MAAuB,kBAChC,OAAS,aAAaC,MAAmB,sCAEzC,MAAO,uDAEA,aAAM,UAAYD,EAAgB,CACrC,YAAa,YACb,aAAcC,EACd,MAAOF,EACP,QAAS,gBACT,OAAQ,CAAC,CACb,CAAC",
6
6
  "names": ["React", "createComponent", "SpActionBar"]
7
7
  }
package/next.d.ts CHANGED
@@ -6,13 +6,11 @@ export declare const ActionBar: import("react").ComponentType<Partial<{
6
6
  slot?: string | undefined;
7
7
  style?: import("react").CSSProperties | undefined;
8
8
  title?: string | undefined;
9
- 'aria-modal'?: (boolean | "true" | "false") | undefined;
10
- accessKey?: string | undefined;
11
- 'aria-hidden'?: (boolean | "true" | "false") | undefined;
12
9
  defaultChecked?: boolean | undefined;
13
10
  defaultValue?: string | number | readonly string[] | undefined;
14
11
  suppressContentEditableWarning?: boolean | undefined;
15
12
  suppressHydrationWarning?: boolean | undefined;
13
+ accessKey?: string | undefined;
16
14
  className?: string | undefined;
17
15
  contentEditable?: (boolean | "true" | "false") | "inherit" | undefined;
18
16
  contextMenu?: string | undefined;
@@ -45,18 +43,18 @@ export declare const ActionBar: import("react").ComponentType<Partial<{
45
43
  results?: number | undefined;
46
44
  security?: string | undefined;
47
45
  unselectable?: "on" | "off" | undefined;
48
- inputMode?: "text" | "none" | "search" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
46
+ inputMode?: "search" | "text" | "none" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
49
47
  is?: string | undefined;
50
48
  'aria-activedescendant'?: string | undefined;
51
49
  'aria-atomic'?: (boolean | "true" | "false") | undefined;
52
- 'aria-autocomplete'?: "none" | "inline" | "list" | "both" | undefined;
50
+ 'aria-autocomplete'?: "inline" | "list" | "none" | "both" | undefined;
53
51
  'aria-busy'?: (boolean | "true" | "false") | undefined;
54
52
  'aria-checked'?: boolean | "true" | "false" | "mixed" | undefined;
55
53
  'aria-colcount'?: number | undefined;
56
54
  'aria-colindex'?: number | undefined;
57
55
  'aria-colspan'?: number | undefined;
58
56
  'aria-controls'?: string | undefined;
59
- 'aria-current'?: boolean | "time" | "true" | "false" | "page" | "step" | "location" | "date" | undefined;
57
+ 'aria-current'?: boolean | "time" | "page" | "true" | "false" | "step" | "location" | "date" | undefined;
60
58
  'aria-describedby'?: string | undefined;
61
59
  'aria-details'?: string | undefined;
62
60
  'aria-disabled'?: (boolean | "true" | "false") | undefined;
@@ -66,12 +64,14 @@ export declare const ActionBar: import("react").ComponentType<Partial<{
66
64
  'aria-flowto'?: string | undefined;
67
65
  'aria-grabbed'?: (boolean | "true" | "false") | undefined;
68
66
  'aria-haspopup'?: boolean | "dialog" | "menu" | "true" | "false" | "grid" | "listbox" | "tree" | undefined;
67
+ 'aria-hidden'?: (boolean | "true" | "false") | undefined;
69
68
  'aria-invalid'?: boolean | "true" | "false" | "grammar" | "spelling" | undefined;
70
69
  'aria-keyshortcuts'?: string | undefined;
71
70
  'aria-label'?: string | undefined;
72
71
  'aria-labelledby'?: string | undefined;
73
72
  'aria-level'?: number | undefined;
74
73
  'aria-live'?: "off" | "assertive" | "polite" | undefined;
74
+ 'aria-modal'?: (boolean | "true" | "false") | undefined;
75
75
  'aria-multiline'?: (boolean | "true" | "false") | undefined;
76
76
  'aria-multiselectable'?: (boolean | "true" | "false") | undefined;
77
77
  'aria-orientation'?: "horizontal" | "vertical" | undefined;
@@ -271,9 +271,7 @@ export declare const ActionBar: import("react").ComponentType<Partial<{
271
271
  (options?: ScrollToOptions | undefined): void;
272
272
  (x: number, y: number): void;
273
273
  };
274
- animate: (keyframes: Keyframe[] | PropertyIndexedKeyframes | null, options?: number | KeyframeAnimationOptions | undefined) => Animation;
275
- readonly renderOptions: import("lit-html").RenderOptions;
276
- remove: () => void;
274
+ normalize: () => void;
277
275
  flexible: boolean;
278
276
  variant: string;
279
277
  readonly accessKeyLabel: string;
@@ -391,7 +389,6 @@ export declare const ActionBar: import("react").ComponentType<Partial<{
391
389
  isSameNode: (otherNode: Node | null) => boolean;
392
390
  lookupNamespaceURI: (prefix: string | null) => string | null;
393
391
  lookupPrefix: (namespace: string | null) => string | null;
394
- normalize: () => void;
395
392
  removeChild: <T_2 extends Node>(child: T_2) => T_2;
396
393
  replaceChild: <T_3 extends Node>(node: Node, child: T_3) => T_3;
397
394
  readonly ATTRIBUTE_NODE: number;
@@ -449,9 +446,11 @@ export declare const ActionBar: import("react").ComponentType<Partial<{
449
446
  ariaValueMin: string | null;
450
447
  ariaValueNow: string | null;
451
448
  ariaValueText: string | null;
449
+ animate: (keyframes: Keyframe[] | PropertyIndexedKeyframes | null, options?: number | KeyframeAnimationOptions | undefined) => Animation;
452
450
  getAnimations: (options?: GetAnimationsOptions | undefined) => Animation[];
453
451
  after: (...nodes: (string | Node)[]) => void;
454
452
  before: (...nodes: (string | Node)[]) => void;
453
+ remove: () => void;
455
454
  replaceWith: (...nodes: (string | Node)[]) => void;
456
455
  innerHTML: string;
457
456
  readonly nextElementSibling: Element | null;
@@ -570,6 +569,7 @@ export declare const ActionBar: import("react").ComponentType<Partial<{
570
569
  autofocus: boolean;
571
570
  readonly dataset: DOMStringMap;
572
571
  render: () => import("lit-html").TemplateResult<2 | 1>;
572
+ readonly renderOptions: import("lit-html").RenderOptions;
573
573
  connectedCallback: () => void;
574
574
  disconnectedCallback: () => void;
575
575
  readonly renderRoot: HTMLElement | ShadowRoot;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@swc-react/action-bar",
3
- "version": "0.31.1-react.3+886f51591",
3
+ "version": "0.32.1-overlay.33+8b9227d00",
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/action-bar": "^0.31.1-react.3+886f51591"
33
+ "@spectrum-web-components/action-bar": "^0.32.1-overlay.33+8b9227d00"
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": "886f515919ca0e8a1cec52a00babb1d4a195ae01"
43
+ "gitHead": "8b9227d00900eacee1c6d194064f10062f27ab3e"
44
44
  }