@await-widget/runtime 0.0.34 → 0.0.35
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/package.json +1 -1
- package/types/await.d.ts +0 -8
- package/types/meta.d.ts +0 -26
- package/types/prop.d.ts +4 -2
package/package.json
CHANGED
package/types/await.d.ts
CHANGED
|
@@ -275,14 +275,6 @@ declare module 'await' {
|
|
|
275
275
|
children: NativeView[];
|
|
276
276
|
},
|
|
277
277
|
): NativeView;
|
|
278
|
-
/** Cycles through a sequence of views once per second, enabling effects such as a ticking second hand. It is less efficient than `Ticker`. Available on iOS 18 and earlier. */
|
|
279
|
-
export function ClockSecond(
|
|
280
|
-
props: ClockSecondValue &
|
|
281
|
-
ID &
|
|
282
|
-
Mods & {
|
|
283
|
-
children: NativeView[];
|
|
284
|
-
},
|
|
285
|
-
): NativeView;
|
|
286
278
|
}
|
|
287
279
|
|
|
288
280
|
declare module 'await/jsx-runtime' {
|
package/types/meta.d.ts
CHANGED
|
@@ -433,16 +433,6 @@ type DateFormatYearToken = {
|
|
|
433
433
|
style?: 'default' | 'twoDigits';
|
|
434
434
|
};
|
|
435
435
|
|
|
436
|
-
type DateFormatQuarterToken = {
|
|
437
|
-
field: 'quarter';
|
|
438
|
-
values: [
|
|
439
|
-
firstQuarter: string,
|
|
440
|
-
secondQuarter: string,
|
|
441
|
-
thirdQuarter: string,
|
|
442
|
-
fourthQuarter: string,
|
|
443
|
-
];
|
|
444
|
-
};
|
|
445
|
-
|
|
446
436
|
type DateFormatMonthToken = {
|
|
447
437
|
field: 'month';
|
|
448
438
|
style?: 'default' | 'twoDigits' | 'short' | 'long';
|
|
@@ -458,19 +448,6 @@ type DateFormatDayOfYearToken = {
|
|
|
458
448
|
style?: 'default' | 'twoDigits' | 'threeDigits';
|
|
459
449
|
};
|
|
460
450
|
|
|
461
|
-
type DateFormatWeekdayToken = {
|
|
462
|
-
field: 'weekday';
|
|
463
|
-
values: [
|
|
464
|
-
monday: string,
|
|
465
|
-
tuesday: string,
|
|
466
|
-
wednesday: string,
|
|
467
|
-
thursday: string,
|
|
468
|
-
friday: string,
|
|
469
|
-
saturday: string,
|
|
470
|
-
sunday: string,
|
|
471
|
-
];
|
|
472
|
-
};
|
|
473
|
-
|
|
474
451
|
type DateFormatHourToken = {
|
|
475
452
|
field: 'hour';
|
|
476
453
|
style?: 'default' | 'twoDigits';
|
|
@@ -495,7 +472,6 @@ type DateFormatFractionalSecondToken = {
|
|
|
495
472
|
|
|
496
473
|
type DateFormatAMPMToken = {
|
|
497
474
|
field: 'ampm';
|
|
498
|
-
values?: [am: string, pm: string];
|
|
499
475
|
};
|
|
500
476
|
|
|
501
477
|
type DateFormatTimeZoneToken = {
|
|
@@ -506,11 +482,9 @@ type DateFormatTimeZoneToken = {
|
|
|
506
482
|
type DateFormatToken =
|
|
507
483
|
| string
|
|
508
484
|
| DateFormatYearToken
|
|
509
|
-
| DateFormatQuarterToken
|
|
510
485
|
| DateFormatMonthToken
|
|
511
486
|
| DateFormatDayToken
|
|
512
487
|
| DateFormatDayOfYearToken
|
|
513
|
-
| DateFormatWeekdayToken
|
|
514
488
|
| DateFormatHourToken
|
|
515
489
|
| DateFormatMinuteToken
|
|
516
490
|
| DateFormatSecondToken
|
package/types/prop.d.ts
CHANGED
|
@@ -118,6 +118,8 @@ type ImageValue = {
|
|
|
118
118
|
style?: TemplateRenderingMode;
|
|
119
119
|
/** The mode that indicates how images are rendered on widget accented mode */
|
|
120
120
|
accented?: Accented;
|
|
121
|
+
/** The maximum number of pixels along the image's longest edge. Defaults to 1000. */
|
|
122
|
+
maxPixel?: number;
|
|
121
123
|
};
|
|
122
124
|
|
|
123
125
|
type IconValue = {
|
|
@@ -128,13 +130,13 @@ type IconValue = {
|
|
|
128
130
|
type TimeValue =
|
|
129
131
|
| {
|
|
130
132
|
/** IANA time-zone identifier. Omit to use the system time zone. */
|
|
131
|
-
|
|
133
|
+
timeZone?: string;
|
|
132
134
|
format?: DateFormatToken[];
|
|
133
135
|
date?: never;
|
|
134
136
|
style?: never;
|
|
135
137
|
}
|
|
136
138
|
| {
|
|
137
|
-
|
|
139
|
+
timeZone?: never;
|
|
138
140
|
format?: never;
|
|
139
141
|
date?: Date;
|
|
140
142
|
style?: TimeStyle;
|