@swc-react/progress-bar 0.34.0 → 0.35.0

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 +16 -4
  2. package/package.json +3 -3
package/next.d.ts CHANGED
@@ -1,15 +1,18 @@
1
1
  /// <reference types="react" />
2
+ /// <reference types="react" />
2
3
  export declare const ProgressBar: import("react").ComponentType<Partial<{
3
4
  dir?: string | undefined;
5
+ slot?: string | undefined;
4
6
  color?: string | undefined;
5
7
  lang?: string | undefined;
6
- slot?: string | undefined;
7
8
  style?: import("react").CSSProperties | undefined;
8
9
  title?: string | undefined;
9
10
  tabIndex?: number | undefined;
10
11
  'aria-disabled'?: (boolean | "true" | "false") | undefined;
12
+ rel?: string | undefined;
11
13
  id?: string | undefined;
12
14
  className?: string | undefined;
15
+ 'aria-hidden'?: (boolean | "true" | "false") | undefined;
13
16
  accessKey?: string | undefined;
14
17
  'aria-labelledby'?: string | undefined;
15
18
  'aria-label'?: string | undefined;
@@ -21,6 +24,7 @@ export declare const ProgressBar: import("react").ComponentType<Partial<{
21
24
  defaultValue?: string | number | readonly string[] | undefined;
22
25
  suppressContentEditableWarning?: boolean | undefined;
23
26
  suppressHydrationWarning?: boolean | undefined;
27
+ autoFocus?: boolean | undefined;
24
28
  contentEditable?: (boolean | "true" | "false") | "inherit" | undefined;
25
29
  contextMenu?: string | undefined;
26
30
  draggable?: (boolean | "true" | "false") | undefined;
@@ -31,11 +35,13 @@ export declare const ProgressBar: import("react").ComponentType<Partial<{
31
35
  translate?: "yes" | "no" | undefined;
32
36
  radioGroup?: string | undefined;
33
37
  about?: string | undefined;
38
+ content?: string | undefined;
34
39
  datatype?: string | undefined;
35
40
  inlist?: any;
36
41
  prefix?: string | undefined;
37
42
  property?: string | undefined;
38
43
  resource?: string | undefined;
44
+ rev?: string | undefined;
39
45
  typeof?: string | undefined;
40
46
  vocab?: string | undefined;
41
47
  autoCapitalize?: string | undefined;
@@ -54,14 +60,18 @@ export declare const ProgressBar: import("react").ComponentType<Partial<{
54
60
  'aria-activedescendant'?: string | undefined;
55
61
  'aria-atomic'?: (boolean | "true" | "false") | undefined;
56
62
  'aria-autocomplete'?: "none" | "list" | "inline" | "both" | undefined;
63
+ 'aria-braillelabel'?: string | undefined;
64
+ 'aria-brailleroledescription'?: string | undefined;
57
65
  'aria-busy'?: (boolean | "true" | "false") | undefined;
58
66
  'aria-checked'?: boolean | "true" | "false" | "mixed" | undefined;
59
67
  'aria-colcount'?: number | undefined;
60
68
  'aria-colindex'?: number | undefined;
69
+ 'aria-colindextext'?: string | undefined;
61
70
  'aria-colspan'?: number | undefined;
62
71
  'aria-controls'?: string | undefined;
63
72
  'aria-current'?: boolean | "time" | "true" | "false" | "page" | "step" | "location" | "date" | undefined;
64
73
  'aria-describedby'?: string | undefined;
74
+ 'aria-description'?: string | undefined;
65
75
  'aria-details'?: string | undefined;
66
76
  'aria-dropeffect'?: "link" | "copy" | "none" | "execute" | "move" | "popup" | undefined;
67
77
  'aria-errormessage'?: string | undefined;
@@ -69,7 +79,6 @@ export declare const ProgressBar: import("react").ComponentType<Partial<{
69
79
  'aria-flowto'?: string | undefined;
70
80
  'aria-grabbed'?: (boolean | "true" | "false") | undefined;
71
81
  'aria-haspopup'?: boolean | "dialog" | "menu" | "true" | "false" | "grid" | "listbox" | "tree" | undefined;
72
- 'aria-hidden'?: (boolean | "true" | "false") | undefined;
73
82
  'aria-invalid'?: boolean | "true" | "false" | "grammar" | "spelling" | undefined;
74
83
  'aria-keyshortcuts'?: string | undefined;
75
84
  'aria-level'?: number | undefined;
@@ -88,6 +97,7 @@ export declare const ProgressBar: import("react").ComponentType<Partial<{
88
97
  'aria-roledescription'?: string | undefined;
89
98
  'aria-rowcount'?: number | undefined;
90
99
  'aria-rowindex'?: number | undefined;
100
+ 'aria-rowindextext'?: string | undefined;
91
101
  'aria-rowspan'?: number | undefined;
92
102
  'aria-selected'?: (boolean | "true" | "false") | undefined;
93
103
  'aria-setsize'?: number | undefined;
@@ -95,7 +105,7 @@ export declare const ProgressBar: import("react").ComponentType<Partial<{
95
105
  'aria-valuetext'?: string | undefined;
96
106
  children?: import("react").ReactNode;
97
107
  dangerouslySetInnerHTML?: {
98
- __html: string;
108
+ __html: string | TrustedHTML;
99
109
  } | undefined;
100
110
  onCopy?: import("react").ClipboardEventHandler<import("progress-bar/src").ProgressBar> | undefined;
101
111
  onCopyCapture?: import("react").ClipboardEventHandler<import("progress-bar/src").ProgressBar> | undefined;
@@ -263,6 +273,8 @@ export declare const ProgressBar: import("react").ComponentType<Partial<{
263
273
  readonly attributes: NamedNodeMap;
264
274
  readonly localName: string;
265
275
  size: import("@spectrum-web-components/base").ElementSize;
276
+ slotHasContent: boolean;
277
+ readonly childNodes: NodeListOf<ChildNode>;
266
278
  shadowRoot: ShadowRoot;
267
279
  label: string;
268
280
  progress: number;
@@ -278,7 +290,6 @@ export declare const ProgressBar: import("react").ComponentType<Partial<{
278
290
  autofocus: boolean;
279
291
  normalize: () => void;
280
292
  ariaHidden: string | null;
281
- readonly childNodes: NodeListOf<ChildNode>;
282
293
  indeterminate: boolean;
283
294
  overBackground: boolean;
284
295
  sideLabel: boolean;
@@ -585,4 +596,5 @@ export declare const ProgressBar: import("react").ComponentType<Partial<{
585
596
  readonly updateComplete: Promise<boolean>;
586
597
  isLTR: boolean;
587
598
  hasVisibleFocusInTree: () => boolean;
599
+ manageTextObservedSlot: () => void;
588
600
  } & {}> & import("react").RefAttributes<import("progress-bar/src").ProgressBar>>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@swc-react/progress-bar",
3
- "version": "0.34.0",
3
+ "version": "0.35.0",
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/progress-bar": "^0.34.0"
33
+ "@spectrum-web-components/progress-bar": "^0.35.0"
34
34
  },
35
35
  "peerDependencies": {
36
36
  "next": "~13.4"
@@ -40,5 +40,5 @@
40
40
  "optional": true
41
41
  }
42
42
  },
43
- "gitHead": "f9b3294d67cdd52b2c36897cdc1c20ceaeb019cf"
43
+ "gitHead": "1ee5a6c92838cdf48321276d97f61c20f8476ac1"
44
44
  }