@golemui/gui-shared 1.1.1-rc.3 → 1.2.1-rc.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.
- package/CHANGELOG.md +19 -0
- package/lib/widget.props.d.ts +12 -8
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,22 @@
|
|
|
1
|
+
## 1.2.0 (2026-08-04)
|
|
2
|
+
|
|
3
|
+
### 🩹 Fixes
|
|
4
|
+
|
|
5
|
+
- **gui-shared:** restore the gui dependency typing on the DX types ([6068097d](https://github.com/golemui/golemui/commit/6068097d))
|
|
6
|
+
- **components:** use role toolbar in markdown editor and pass missing titles ([88488312](https://github.com/golemui/golemui/commit/88488312))
|
|
7
|
+
- **components:** announce calendar month changes and label the year selector ([eca6ad26](https://github.com/golemui/golemui/commit/eca6ad26))
|
|
8
|
+
- **components:** accessible date/time pickers ([7e13a999](https://github.com/golemui/golemui/commit/7e13a999))
|
|
9
|
+
- **components:** expose segment aria-label props for date/time parts ([3e80ef30](https://github.com/golemui/golemui/commit/3e80ef30))
|
|
10
|
+
|
|
11
|
+
### ❤️ Thank You
|
|
12
|
+
|
|
13
|
+
- Mud Scientist @mudscientist
|
|
14
|
+
- Raúl Jiménez @Elecash
|
|
15
|
+
|
|
16
|
+
## 1.1.1-rc.3 (2026-08-04)
|
|
17
|
+
|
|
18
|
+
This was a version bump only for gui-shared to align it with other projects, there were no code changes.
|
|
19
|
+
|
|
1
20
|
## 1.1.1-rc.2 (2026-08-03)
|
|
2
21
|
|
|
3
22
|
### 🩹 Fixes
|
package/lib/widget.props.d.ts
CHANGED
|
@@ -200,13 +200,17 @@ export type CalendarProps = {
|
|
|
200
200
|
*/
|
|
201
201
|
numberOfMonths?: number;
|
|
202
202
|
};
|
|
203
|
+
/** Shared by every typed date/time widget that can be left half-filled. */
|
|
204
|
+
export type IncompleteMessageProps = {
|
|
205
|
+
incompleteMessage?: Localizable;
|
|
206
|
+
};
|
|
203
207
|
/**
|
|
204
208
|
* Calendar with an embedded time picker. The value is a local ISO date-time
|
|
205
209
|
* (YYYY-MM-DDTHH:mm:ss), emitted only when both the day and the time are
|
|
206
210
|
* selected; picking a different day clears the time and emits null. With
|
|
207
211
|
* numberOfMonths > 1 the time row and grid render on the first panel only.
|
|
208
212
|
*/
|
|
209
|
-
export type DateTimeCalendarProps = CalendarProps & {
|
|
213
|
+
export type DateTimeCalendarProps = CalendarProps & IncompleteMessageProps & {
|
|
210
214
|
/** '12' or '24'. Defaults to the locale's hour cycle. */
|
|
211
215
|
hourFormat?: '12' | '24';
|
|
212
216
|
/** Minutes between selectable slots. Defaults to 30. */
|
|
@@ -328,7 +332,7 @@ export type RangeCalendarProps = {
|
|
|
328
332
|
*/
|
|
329
333
|
removePillAriaLabel?: string;
|
|
330
334
|
};
|
|
331
|
-
export type DateinputProps = {
|
|
335
|
+
export type DateinputProps = IncompleteMessageProps & {
|
|
332
336
|
hint?: string;
|
|
333
337
|
icon?: string;
|
|
334
338
|
dayAriaLabel?: string;
|
|
@@ -342,7 +346,7 @@ export type DateinputProps = {
|
|
|
342
346
|
minDateMessage?: Localizable;
|
|
343
347
|
maxDateMessage?: Localizable;
|
|
344
348
|
};
|
|
345
|
-
export type DateTimeInputProps = {
|
|
349
|
+
export type DateTimeInputProps = IncompleteMessageProps & {
|
|
346
350
|
hint?: string;
|
|
347
351
|
icon?: string;
|
|
348
352
|
dayAriaLabel?: string;
|
|
@@ -367,7 +371,7 @@ export type DateTimeInputProps = {
|
|
|
367
371
|
minTimeMessage?: Localizable;
|
|
368
372
|
maxTimeMessage?: Localizable;
|
|
369
373
|
};
|
|
370
|
-
export type TimeInputProps = {
|
|
374
|
+
export type TimeInputProps = IncompleteMessageProps & {
|
|
371
375
|
hint?: string;
|
|
372
376
|
icon?: string;
|
|
373
377
|
hourAriaLabel?: string;
|
|
@@ -405,7 +409,7 @@ export type TimePickerProps = TimeInputProps & PickerToggleProps & {
|
|
|
405
409
|
disabledRangeMessage?: Localizable;
|
|
406
410
|
noAvailableTimesMessage?: Localizable;
|
|
407
411
|
};
|
|
408
|
-
export type RangeDateInputProps = {
|
|
412
|
+
export type RangeDateInputProps = IncompleteMessageProps & {
|
|
409
413
|
hint?: string;
|
|
410
414
|
icon?: string;
|
|
411
415
|
separator?: string;
|
|
@@ -429,7 +433,7 @@ export type PickerToggleProps = {
|
|
|
429
433
|
export type DatePickerProps = CalendarProps & DateinputProps & DateBoundsMessageProps & PickerToggleProps;
|
|
430
434
|
export type DateTimePickerProps = DateTimeCalendarProps & DateTimeInputProps & DateBoundsMessageProps & PickerToggleProps;
|
|
431
435
|
export type RangeDatePickerProps = RangeCalendarProps & RangeDateInputProps & DateBoundsMessageProps & PickerToggleProps;
|
|
432
|
-
export type RangeDateTimeCalendarProps = Omit<RangeCalendarProps, 'minDate' | 'maxDate' | 'disabledRanges' | 'disabledDateRangeMessage'> & {
|
|
436
|
+
export type RangeDateTimeCalendarProps = Omit<RangeCalendarProps, 'minDate' | 'maxDate' | 'disabledRanges' | 'disabledDateRangeMessage'> & IncompleteMessageProps & {
|
|
433
437
|
hourFormat?: '12' | '24';
|
|
434
438
|
minuteStep?: number;
|
|
435
439
|
/** Allows typing a time in each picker; when false (default) times come only from the grid. */
|
|
@@ -462,7 +466,7 @@ export type RangeDateTimeCalendarProps = Omit<RangeCalendarProps, 'minDate' | 'm
|
|
|
462
466
|
*/
|
|
463
467
|
disabledDayCountAriaLabel?: Localizable;
|
|
464
468
|
};
|
|
465
|
-
export type RangeTimeInputProps = {
|
|
469
|
+
export type RangeTimeInputProps = IncompleteMessageProps & {
|
|
466
470
|
hint?: string;
|
|
467
471
|
icon?: string;
|
|
468
472
|
separator?: string;
|
|
@@ -483,7 +487,7 @@ export type RangeTimeInputProps = {
|
|
|
483
487
|
/** Shown when the entered "time out" is not strictly after "time in". */
|
|
484
488
|
rangeOrderMessage?: Localizable;
|
|
485
489
|
};
|
|
486
|
-
export type RangeDateTimeInputProps = {
|
|
490
|
+
export type RangeDateTimeInputProps = IncompleteMessageProps & {
|
|
487
491
|
hint?: string;
|
|
488
492
|
icon?: string;
|
|
489
493
|
separator?: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@golemui/gui-shared",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.2.1-rc.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -34,9 +34,9 @@
|
|
|
34
34
|
"*.md"
|
|
35
35
|
],
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@golemui/core": "1.
|
|
38
|
-
"@golemui/dx": "1.
|
|
39
|
-
"@golemui/gui-validators": "1.
|
|
37
|
+
"@golemui/core": "1.2.1-rc.0",
|
|
38
|
+
"@golemui/dx": "1.2.1-rc.0",
|
|
39
|
+
"@golemui/gui-validators": "1.2.1-rc.0"
|
|
40
40
|
},
|
|
41
41
|
"repository": {
|
|
42
42
|
"type": "git",
|