@swc-react/picker-button 0.35.0 → 0.35.1-rc.25

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.
Files changed (2) hide show
  1. package/next.d.ts +22 -22
  2. package/package.json +3 -3
package/next.d.ts CHANGED
@@ -10,6 +10,16 @@ export declare const PickerButton: import("react").ComponentType<Partial<{
10
10
  title?: string | undefined;
11
11
  tabIndex?: number | undefined;
12
12
  'aria-disabled'?: (boolean | "true" | "false") | undefined;
13
+ accessKey?: string | undefined;
14
+ draggable?: (boolean | "true" | "false") | undefined;
15
+ hidden?: boolean | undefined;
16
+ lang?: string | undefined;
17
+ translate?: "yes" | "no" | undefined;
18
+ prefix?: string | undefined;
19
+ children?: import("react").ReactNode;
20
+ contentEditable?: (boolean | "true" | "false") | "inherit" | undefined;
21
+ inputMode?: "text" | "search" | "none" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
22
+ nonce?: string | undefined;
13
23
  role?: import("react").AriaRole | undefined;
14
24
  'aria-label'?: string | undefined;
15
25
  'aria-hidden'?: (boolean | "true" | "false") | undefined;
@@ -17,23 +27,15 @@ export declare const PickerButton: import("react").ComponentType<Partial<{
17
27
  defaultValue?: string | number | readonly string[] | undefined;
18
28
  suppressContentEditableWarning?: boolean | undefined;
19
29
  suppressHydrationWarning?: boolean | undefined;
20
- accessKey?: string | undefined;
21
30
  autoFocus?: boolean | undefined;
22
- contentEditable?: (boolean | "true" | "false") | "inherit" | undefined;
23
31
  contextMenu?: string | undefined;
24
- draggable?: (boolean | "true" | "false") | undefined;
25
- hidden?: boolean | undefined;
26
- lang?: string | undefined;
27
- nonce?: string | undefined;
28
32
  placeholder?: string | undefined;
29
33
  spellCheck?: (boolean | "true" | "false") | undefined;
30
- translate?: "yes" | "no" | undefined;
31
34
  radioGroup?: string | undefined;
32
35
  about?: string | undefined;
33
36
  content?: string | undefined;
34
37
  datatype?: string | undefined;
35
38
  inlist?: any;
36
- prefix?: string | undefined;
37
39
  property?: string | undefined;
38
40
  resource?: string | undefined;
39
41
  rev?: string | undefined;
@@ -51,7 +53,6 @@ export declare const PickerButton: import("react").ComponentType<Partial<{
51
53
  results?: number | undefined;
52
54
  security?: string | undefined;
53
55
  unselectable?: "on" | "off" | undefined;
54
- inputMode?: "text" | "search" | "none" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
55
56
  is?: string | undefined;
56
57
  'aria-activedescendant'?: string | undefined;
57
58
  'aria-atomic'?: (boolean | "true" | "false") | undefined;
@@ -103,7 +104,6 @@ export declare const PickerButton: import("react").ComponentType<Partial<{
103
104
  'aria-valuemin'?: number | undefined;
104
105
  'aria-valuenow'?: number | undefined;
105
106
  'aria-valuetext'?: string | undefined;
106
- children?: import("react").ReactNode;
107
107
  dangerouslySetInnerHTML?: {
108
108
  __html: string | TrustedHTML;
109
109
  } | undefined;
@@ -294,8 +294,16 @@ export declare const PickerButton: import("react").ComponentType<Partial<{
294
294
  slotHasContent: boolean;
295
295
  readonly childNodes: NodeListOf<ChildNode>;
296
296
  active: boolean;
297
- slotContentIsPresent: boolean;
298
- position: "left" | "right";
297
+ readonly renderRoot: HTMLElement | ShadowRoot;
298
+ isUpdatePending: boolean;
299
+ hasUpdated: boolean;
300
+ addController: (controller: import("lit").ReactiveController) => void;
301
+ removeController: (controller: import("lit").ReactiveController) => void;
302
+ connectedCallback: () => void;
303
+ disconnectedCallback: () => void;
304
+ attributeChangedCallback: (name: string, _old: string | null, value: string | null) => void;
305
+ requestUpdate: (name?: PropertyKey | undefined, oldValue?: unknown, options?: import("lit").PropertyDeclaration<unknown, unknown> | undefined) => void;
306
+ readonly updateComplete: Promise<boolean>;
299
307
  readonly accessKeyLabel: string;
300
308
  autocapitalize: string;
301
309
  inert: boolean;
@@ -587,19 +595,11 @@ export declare const PickerButton: import("react").ComponentType<Partial<{
587
595
  onwebkittransitionend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
588
596
  onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;
589
597
  readonly dataset: DOMStringMap;
598
+ slotContentIsPresent: boolean;
599
+ position: "left" | "right";
590
600
  readonly focusElement: HTMLElement;
591
601
  renderAnchor: () => import("lit-html").TemplateResult<2 | 1>;
592
- connectedCallback: () => void;
593
602
  readonly renderOptions: import("lit-html").RenderOptions;
594
- disconnectedCallback: () => void;
595
- readonly renderRoot: HTMLElement | ShadowRoot;
596
- isUpdatePending: boolean;
597
- hasUpdated: boolean;
598
- addController: (controller: import("lit").ReactiveController) => void;
599
- removeController: (controller: import("lit").ReactiveController) => void;
600
- attributeChangedCallback: (name: string, _old: string | null, value: string | null) => void;
601
- requestUpdate: (name?: PropertyKey | undefined, oldValue?: unknown, options?: import("lit").PropertyDeclaration<unknown, unknown> | undefined) => void;
602
- readonly updateComplete: Promise<boolean>;
603
603
  isLTR: boolean;
604
604
  hasVisibleFocusInTree: () => boolean;
605
605
  manageTextObservedSlot: () => void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@swc-react/picker-button",
3
- "version": "0.35.0",
3
+ "version": "0.35.1-rc.25+b3feb0eb9",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -30,7 +30,7 @@
30
30
  ],
31
31
  "dependencies": {
32
32
  "@lit-labs/react": "^1.1.1",
33
- "@spectrum-web-components/picker-button": "^0.35.0"
33
+ "@spectrum-web-components/picker-button": "^0.35.1-rc.25+b3feb0eb9"
34
34
  },
35
35
  "peerDependencies": {
36
36
  "next": "~13.4"
@@ -40,5 +40,5 @@
40
40
  "optional": true
41
41
  }
42
42
  },
43
- "gitHead": "1ee5a6c92838cdf48321276d97f61c20f8476ac1"
43
+ "gitHead": "b3feb0eb979ff059457a00125919c13ea1afe9bc"
44
44
  }