@instructure/ui-toggle-details 8.14.1-snapshot.0 → 8.14.1-snapshot.19

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.
@@ -30,7 +30,7 @@ export declare const customMethods: {
30
30
  debug: (maxLength?: number | undefined, options?: {
31
31
  highlight: boolean;
32
32
  } | undefined) => void;
33
- accessible: (options?: Record<string, unknown> | undefined) => Promise<boolean>;
33
+ accessible: (options?: Record<string, unknown> | undefined) => Promise<true | Error>;
34
34
  getTextContent: () => string | null;
35
35
  getParentNode: () => ParentNode | null;
36
36
  parent: () => ParentNode | null;
@@ -169,7 +169,7 @@ export declare const customMethods: {
169
169
  debug: (maxLength?: number | undefined, options?: {
170
170
  highlight: boolean;
171
171
  } | undefined) => void;
172
- accessible: (options?: Record<string, unknown> | undefined) => Promise<boolean>;
172
+ accessible: (options?: Record<string, unknown> | undefined) => Promise<true | Error>;
173
173
  getTextContent: () => string | null;
174
174
  getParentNode: () => ParentNode | null;
175
175
  parent: () => ParentNode | null;
@@ -312,7 +312,7 @@ export declare const ToggleDetailsLocator: {
312
312
  debug: (maxLength?: number | undefined, options?: {
313
313
  highlight: boolean;
314
314
  } | undefined) => void;
315
- accessible: (options?: Record<string, unknown> | undefined) => Promise<boolean>;
315
+ accessible: (options?: Record<string, unknown> | undefined) => Promise<true | Error>;
316
316
  getTextContent: () => string | null;
317
317
  getParentNode: () => ParentNode | null;
318
318
  parent: () => ParentNode | null;
@@ -451,7 +451,7 @@ export declare const ToggleDetailsLocator: {
451
451
  debug: (maxLength?: number | undefined, options?: {
452
452
  highlight: boolean;
453
453
  } | undefined) => void;
454
- accessible: (options?: Record<string, unknown> | undefined) => Promise<boolean>;
454
+ accessible: (options?: Record<string, unknown> | undefined) => Promise<true | Error>;
455
455
  getTextContent: () => string | null;
456
456
  getParentNode: () => ParentNode | null;
457
457
  parent: () => ParentNode | null;
@@ -597,7 +597,7 @@ export declare const ToggleDetailsLocator: {
597
597
  debug: (maxLength?: number | undefined, options?: {
598
598
  highlight: boolean;
599
599
  } | undefined) => void;
600
- accessible: (options?: Record<string, unknown> | undefined) => Promise<boolean>;
600
+ accessible: (options?: Record<string, unknown> | undefined) => Promise<true | Error>;
601
601
  getTextContent: () => string | null;
602
602
  getParentNode: () => ParentNode | null;
603
603
  parent: () => ParentNode | null;
@@ -737,7 +737,7 @@ export declare const ToggleDetailsLocator: {
737
737
  debug: (maxLength?: number | undefined, options?: {
738
738
  highlight: boolean;
739
739
  } | undefined) => void;
740
- accessible: (options?: Record<string, unknown> | undefined) => Promise<boolean>;
740
+ accessible: (options?: Record<string, unknown> | undefined) => Promise<true | Error>;
741
741
  getTextContent: () => string | null;
742
742
  getParentNode: () => ParentNode | null;
743
743
  parent: () => ParentNode | null;
@@ -876,7 +876,7 @@ export declare const ToggleDetailsLocator: {
876
876
  debug: (maxLength?: number | undefined, options?: {
877
877
  highlight: boolean;
878
878
  } | undefined) => void;
879
- accessible: (options?: Record<string, unknown> | undefined) => Promise<boolean>;
879
+ accessible: (options?: Record<string, unknown> | undefined) => Promise<true | Error>;
880
880
  getTextContent: () => string | null;
881
881
  getParentNode: () => ParentNode | null;
882
882
  parent: () => ParentNode | null;
@@ -1016,7 +1016,7 @@ export declare const ToggleDetailsLocator: {
1016
1016
  debug: (maxLength?: number | undefined, options?: {
1017
1017
  highlight: boolean;
1018
1018
  } | undefined) => void;
1019
- accessible: (options?: Record<string, unknown> | undefined) => Promise<boolean>;
1019
+ accessible: (options?: Record<string, unknown> | undefined) => Promise<true | Error>;
1020
1020
  getTextContent: () => string | null;
1021
1021
  getParentNode: () => ParentNode | null;
1022
1022
  parent: () => ParentNode | null;
@@ -1156,7 +1156,7 @@ export declare const ToggleDetailsLocator: {
1156
1156
  debug: (maxLength?: number | undefined, options?: {
1157
1157
  highlight: boolean;
1158
1158
  } | undefined) => void;
1159
- accessible: (options?: Record<string, unknown> | undefined) => Promise<boolean>;
1159
+ accessible: (options?: Record<string, unknown> | undefined) => Promise<true | Error>;
1160
1160
  getTextContent: () => string | null;
1161
1161
  getParentNode: () => ParentNode | null;
1162
1162
  parent: () => ParentNode | null;
@@ -1295,7 +1295,7 @@ export declare const ToggleDetailsLocator: {
1295
1295
  debug: (maxLength?: number | undefined, options?: {
1296
1296
  highlight: boolean;
1297
1297
  } | undefined) => void;
1298
- accessible: (options?: Record<string, unknown> | undefined) => Promise<boolean>;
1298
+ accessible: (options?: Record<string, unknown> | undefined) => Promise<true | Error>;
1299
1299
  getTextContent: () => string | null;
1300
1300
  getParentNode: () => ParentNode | null;
1301
1301
  parent: () => ParentNode | null;
@@ -1435,7 +1435,7 @@ export declare const ToggleDetailsLocator: {
1435
1435
  debug: (maxLength?: number | undefined, options?: {
1436
1436
  highlight: boolean;
1437
1437
  } | undefined) => void;
1438
- accessible: (options?: Record<string, unknown> | undefined) => Promise<boolean>;
1438
+ accessible: (options?: Record<string, unknown> | undefined) => Promise<true | Error>;
1439
1439
  getTextContent: () => string | null;
1440
1440
  getParentNode: () => ParentNode | null;
1441
1441
  parent: () => ParentNode | null;
@@ -1575,7 +1575,7 @@ export declare const ToggleDetailsLocator: {
1575
1575
  debug: (maxLength?: number | undefined, options?: {
1576
1576
  highlight: boolean;
1577
1577
  } | undefined) => void;
1578
- accessible: (options?: Record<string, unknown> | undefined) => Promise<boolean>;
1578
+ accessible: (options?: Record<string, unknown> | undefined) => Promise<true | Error>;
1579
1579
  getTextContent: () => string | null;
1580
1580
  getParentNode: () => ParentNode | null;
1581
1581
  parent: () => ParentNode | null;
@@ -1714,7 +1714,7 @@ export declare const ToggleDetailsLocator: {
1714
1714
  debug: (maxLength?: number | undefined, options?: {
1715
1715
  highlight: boolean;
1716
1716
  } | undefined) => void;
1717
- accessible: (options?: Record<string, unknown> | undefined) => Promise<boolean>;
1717
+ accessible: (options?: Record<string, unknown> | undefined) => Promise<true | Error>;
1718
1718
  getTextContent: () => string | null;
1719
1719
  getParentNode: () => ParentNode | null;
1720
1720
  parent: () => ParentNode | null;
@@ -1854,7 +1854,7 @@ export declare const ToggleDetailsLocator: {
1854
1854
  debug: (maxLength?: number | undefined, options?: {
1855
1855
  highlight: boolean;
1856
1856
  } | undefined) => void;
1857
- accessible: (options?: Record<string, unknown> | undefined) => Promise<boolean>;
1857
+ accessible: (options?: Record<string, unknown> | undefined) => Promise<true | Error>;
1858
1858
  getTextContent: () => string | null;
1859
1859
  getParentNode: () => ParentNode | null;
1860
1860
  parent: () => ParentNode | null;
@@ -1994,7 +1994,7 @@ export declare const ToggleDetailsLocator: {
1994
1994
  debug: (maxLength?: number | undefined, options?: {
1995
1995
  highlight: boolean;
1996
1996
  } | undefined) => void;
1997
- accessible: (options?: Record<string, unknown> | undefined) => Promise<boolean>;
1997
+ accessible: (options?: Record<string, unknown> | undefined) => Promise<true | Error>;
1998
1998
  getTextContent: () => string | null;
1999
1999
  getParentNode: () => ParentNode | null;
2000
2000
  parent: () => ParentNode | null;
@@ -2133,7 +2133,7 @@ export declare const ToggleDetailsLocator: {
2133
2133
  debug: (maxLength?: number | undefined, options?: {
2134
2134
  highlight: boolean;
2135
2135
  } | undefined) => void;
2136
- accessible: (options?: Record<string, unknown> | undefined) => Promise<boolean>;
2136
+ accessible: (options?: Record<string, unknown> | undefined) => Promise<true | Error>;
2137
2137
  getTextContent: () => string | null;
2138
2138
  getParentNode: () => ParentNode | null;
2139
2139
  parent: () => ParentNode | null;
@@ -30,7 +30,7 @@ export declare const customMethods: {
30
30
  debug: (maxLength?: number | undefined, options?: {
31
31
  highlight: boolean;
32
32
  } | undefined) => void;
33
- accessible: (options?: Record<string, unknown> | undefined) => Promise<boolean>;
33
+ accessible: (options?: Record<string, unknown> | undefined) => Promise<true | Error>;
34
34
  getTextContent: () => string | null;
35
35
  getParentNode: () => ParentNode | null;
36
36
  parent: () => ParentNode | null;
@@ -169,7 +169,7 @@ export declare const customMethods: {
169
169
  debug: (maxLength?: number | undefined, options?: {
170
170
  highlight: boolean;
171
171
  } | undefined) => void;
172
- accessible: (options?: Record<string, unknown> | undefined) => Promise<boolean>;
172
+ accessible: (options?: Record<string, unknown> | undefined) => Promise<true | Error>;
173
173
  getTextContent: () => string | null;
174
174
  getParentNode: () => ParentNode | null;
175
175
  parent: () => ParentNode | null;
@@ -312,7 +312,7 @@ export declare const ToggleGroupLocator: {
312
312
  debug: (maxLength?: number | undefined, options?: {
313
313
  highlight: boolean;
314
314
  } | undefined) => void;
315
- accessible: (options?: Record<string, unknown> | undefined) => Promise<boolean>;
315
+ accessible: (options?: Record<string, unknown> | undefined) => Promise<true | Error>;
316
316
  getTextContent: () => string | null;
317
317
  getParentNode: () => ParentNode | null;
318
318
  parent: () => ParentNode | null;
@@ -451,7 +451,7 @@ export declare const ToggleGroupLocator: {
451
451
  debug: (maxLength?: number | undefined, options?: {
452
452
  highlight: boolean;
453
453
  } | undefined) => void;
454
- accessible: (options?: Record<string, unknown> | undefined) => Promise<boolean>;
454
+ accessible: (options?: Record<string, unknown> | undefined) => Promise<true | Error>;
455
455
  getTextContent: () => string | null;
456
456
  getParentNode: () => ParentNode | null;
457
457
  parent: () => ParentNode | null;
@@ -597,7 +597,7 @@ export declare const ToggleGroupLocator: {
597
597
  debug: (maxLength?: number | undefined, options?: {
598
598
  highlight: boolean;
599
599
  } | undefined) => void;
600
- accessible: (options?: Record<string, unknown> | undefined) => Promise<boolean>;
600
+ accessible: (options?: Record<string, unknown> | undefined) => Promise<true | Error>;
601
601
  getTextContent: () => string | null;
602
602
  getParentNode: () => ParentNode | null;
603
603
  parent: () => ParentNode | null;
@@ -737,7 +737,7 @@ export declare const ToggleGroupLocator: {
737
737
  debug: (maxLength?: number | undefined, options?: {
738
738
  highlight: boolean;
739
739
  } | undefined) => void;
740
- accessible: (options?: Record<string, unknown> | undefined) => Promise<boolean>;
740
+ accessible: (options?: Record<string, unknown> | undefined) => Promise<true | Error>;
741
741
  getTextContent: () => string | null;
742
742
  getParentNode: () => ParentNode | null;
743
743
  parent: () => ParentNode | null;
@@ -876,7 +876,7 @@ export declare const ToggleGroupLocator: {
876
876
  debug: (maxLength?: number | undefined, options?: {
877
877
  highlight: boolean;
878
878
  } | undefined) => void;
879
- accessible: (options?: Record<string, unknown> | undefined) => Promise<boolean>;
879
+ accessible: (options?: Record<string, unknown> | undefined) => Promise<true | Error>;
880
880
  getTextContent: () => string | null;
881
881
  getParentNode: () => ParentNode | null;
882
882
  parent: () => ParentNode | null;
@@ -1016,7 +1016,7 @@ export declare const ToggleGroupLocator: {
1016
1016
  debug: (maxLength?: number | undefined, options?: {
1017
1017
  highlight: boolean;
1018
1018
  } | undefined) => void;
1019
- accessible: (options?: Record<string, unknown> | undefined) => Promise<boolean>;
1019
+ accessible: (options?: Record<string, unknown> | undefined) => Promise<true | Error>;
1020
1020
  getTextContent: () => string | null;
1021
1021
  getParentNode: () => ParentNode | null;
1022
1022
  parent: () => ParentNode | null;
@@ -1156,7 +1156,7 @@ export declare const ToggleGroupLocator: {
1156
1156
  debug: (maxLength?: number | undefined, options?: {
1157
1157
  highlight: boolean;
1158
1158
  } | undefined) => void;
1159
- accessible: (options?: Record<string, unknown> | undefined) => Promise<boolean>;
1159
+ accessible: (options?: Record<string, unknown> | undefined) => Promise<true | Error>;
1160
1160
  getTextContent: () => string | null;
1161
1161
  getParentNode: () => ParentNode | null;
1162
1162
  parent: () => ParentNode | null;
@@ -1295,7 +1295,7 @@ export declare const ToggleGroupLocator: {
1295
1295
  debug: (maxLength?: number | undefined, options?: {
1296
1296
  highlight: boolean;
1297
1297
  } | undefined) => void;
1298
- accessible: (options?: Record<string, unknown> | undefined) => Promise<boolean>;
1298
+ accessible: (options?: Record<string, unknown> | undefined) => Promise<true | Error>;
1299
1299
  getTextContent: () => string | null;
1300
1300
  getParentNode: () => ParentNode | null;
1301
1301
  parent: () => ParentNode | null;
@@ -1435,7 +1435,7 @@ export declare const ToggleGroupLocator: {
1435
1435
  debug: (maxLength?: number | undefined, options?: {
1436
1436
  highlight: boolean;
1437
1437
  } | undefined) => void;
1438
- accessible: (options?: Record<string, unknown> | undefined) => Promise<boolean>;
1438
+ accessible: (options?: Record<string, unknown> | undefined) => Promise<true | Error>;
1439
1439
  getTextContent: () => string | null;
1440
1440
  getParentNode: () => ParentNode | null;
1441
1441
  parent: () => ParentNode | null;
@@ -1575,7 +1575,7 @@ export declare const ToggleGroupLocator: {
1575
1575
  debug: (maxLength?: number | undefined, options?: {
1576
1576
  highlight: boolean;
1577
1577
  } | undefined) => void;
1578
- accessible: (options?: Record<string, unknown> | undefined) => Promise<boolean>;
1578
+ accessible: (options?: Record<string, unknown> | undefined) => Promise<true | Error>;
1579
1579
  getTextContent: () => string | null;
1580
1580
  getParentNode: () => ParentNode | null;
1581
1581
  parent: () => ParentNode | null;
@@ -1714,7 +1714,7 @@ export declare const ToggleGroupLocator: {
1714
1714
  debug: (maxLength?: number | undefined, options?: {
1715
1715
  highlight: boolean;
1716
1716
  } | undefined) => void;
1717
- accessible: (options?: Record<string, unknown> | undefined) => Promise<boolean>;
1717
+ accessible: (options?: Record<string, unknown> | undefined) => Promise<true | Error>;
1718
1718
  getTextContent: () => string | null;
1719
1719
  getParentNode: () => ParentNode | null;
1720
1720
  parent: () => ParentNode | null;
@@ -1854,7 +1854,7 @@ export declare const ToggleGroupLocator: {
1854
1854
  debug: (maxLength?: number | undefined, options?: {
1855
1855
  highlight: boolean;
1856
1856
  } | undefined) => void;
1857
- accessible: (options?: Record<string, unknown> | undefined) => Promise<boolean>;
1857
+ accessible: (options?: Record<string, unknown> | undefined) => Promise<true | Error>;
1858
1858
  getTextContent: () => string | null;
1859
1859
  getParentNode: () => ParentNode | null;
1860
1860
  parent: () => ParentNode | null;
@@ -1994,7 +1994,7 @@ export declare const ToggleGroupLocator: {
1994
1994
  debug: (maxLength?: number | undefined, options?: {
1995
1995
  highlight: boolean;
1996
1996
  } | undefined) => void;
1997
- accessible: (options?: Record<string, unknown> | undefined) => Promise<boolean>;
1997
+ accessible: (options?: Record<string, unknown> | undefined) => Promise<true | Error>;
1998
1998
  getTextContent: () => string | null;
1999
1999
  getParentNode: () => ParentNode | null;
2000
2000
  parent: () => ParentNode | null;
@@ -2133,7 +2133,7 @@ export declare const ToggleGroupLocator: {
2133
2133
  debug: (maxLength?: number | undefined, options?: {
2134
2134
  highlight: boolean;
2135
2135
  } | undefined) => void;
2136
- accessible: (options?: Record<string, unknown> | undefined) => Promise<boolean>;
2136
+ accessible: (options?: Record<string, unknown> | undefined) => Promise<true | Error>;
2137
2137
  getTextContent: () => string | null;
2138
2138
  getParentNode: () => ParentNode | null;
2139
2139
  parent: () => ParentNode | null;