@nanahoshi/mona-ui 0.19.0 → 0.20.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 (27) hide show
  1. package/THIRD_PARTY_NOTICES.md +60 -0
  2. package/fesm2022/nanahoshi-mona-ui-calendar.mjs +120 -99
  3. package/fesm2022/nanahoshi-mona-ui-date-picker.mjs +16 -10
  4. package/fesm2022/nanahoshi-mona-ui-datetime-picker.mjs +24 -14
  5. package/fesm2022/{nanahoshi-mona-ui-grid-grid-footer-cell.component-Bg7rckst.mjs → nanahoshi-mona-ui-grid-grid-footer-cell.component-BuybF7tX.mjs} +2 -2
  6. package/fesm2022/{nanahoshi-mona-ui-grid-grid-footer-table-cell.directive-BSSpaCLL.mjs → nanahoshi-mona-ui-grid-grid-footer-table-cell.directive-Dj-SaNzk.mjs} +2 -2
  7. package/fesm2022/{nanahoshi-mona-ui-grid-grid-list.component-D9AwQFDV.mjs → nanahoshi-mona-ui-grid-grid-list.component-CYAm4l84.mjs} +5 -5
  8. package/fesm2022/{nanahoshi-mona-ui-grid-grid-toggle.component-Byb9iTes.mjs → nanahoshi-mona-ui-grid-grid-toggle.component-B_Gm--X6.mjs} +28 -17
  9. package/fesm2022/{nanahoshi-mona-ui-grid-grid-virtual-list.component-CBmdtrXm.mjs → nanahoshi-mona-ui-grid-grid-virtual-list.component-X0X487Rm.mjs} +5 -5
  10. package/fesm2022/{nanahoshi-mona-ui-grid-nanahoshi-mona-ui-grid-DPmJmCap.mjs → nanahoshi-mona-ui-grid-nanahoshi-mona-ui-grid-CyzJFQIy.mjs} +18 -9
  11. package/fesm2022/nanahoshi-mona-ui-grid.mjs +1 -1
  12. package/fesm2022/nanahoshi-mona-ui-i18n.mjs +3722 -16
  13. package/fesm2022/nanahoshi-mona-ui-locales.mjs +4973 -0
  14. package/fesm2022/nanahoshi-mona-ui-pager.mjs +23 -13
  15. package/fesm2022/nanahoshi-mona-ui-stepper.mjs +14 -5
  16. package/fesm2022/nanahoshi-mona-ui-time-picker.mjs +22 -13
  17. package/locales/package.json +4 -0
  18. package/package.json +5 -1
  19. package/types/nanahoshi-mona-ui-calendar.d.ts +25 -21
  20. package/types/nanahoshi-mona-ui-date-picker.d.ts +7 -4
  21. package/types/nanahoshi-mona-ui-datetime-picker.d.ts +8 -5
  22. package/types/nanahoshi-mona-ui-grid.d.ts +12 -1
  23. package/types/nanahoshi-mona-ui-i18n.d.ts +49 -2
  24. package/types/nanahoshi-mona-ui-locales.d.ts +4889 -0
  25. package/types/nanahoshi-mona-ui-pager.d.ts +1 -0
  26. package/types/nanahoshi-mona-ui-stepper.d.ts +2 -1
  27. package/types/nanahoshi-mona-ui-time-picker.d.ts +4 -2
@@ -199,6 +199,7 @@ declare class PagerComponent implements PagerVariantInputs {
199
199
  */
200
200
  readonly visiblePages: _angular_core.InputSignal<number>;
201
201
  constructor();
202
+ protected formatPageNumber(value: number): string;
202
203
  protected onJumpNextClick(): void;
203
204
  protected onJumpPreviousClick(): void;
204
205
  protected onKeydown(event: KeyboardEvent): void;
@@ -99,7 +99,6 @@ type StepperVariantInput = StepperBaseVariantInput & StepperStepListVariantInput
99
99
 
100
100
  declare class StepperComponent implements StepperVariantInput {
101
101
  #private;
102
- protected readonly isRtl: Signal<boolean>;
103
102
  protected readonly activeStep: Signal<StepItem<unknown> | undefined>;
104
103
  protected readonly baseClass: Signal<string>;
105
104
  protected readonly highlightedStep: _angular_core.WritableSignal<number>;
@@ -108,6 +107,7 @@ declare class StepperComponent implements StepperVariantInput {
108
107
  gridTemplateRows: string | undefined;
109
108
  }>;
110
109
  protected readonly indicatorTemplate: Signal<TemplateRef<StepperTemplateContext> | undefined>;
110
+ protected readonly isRtl: Signal<boolean>;
111
111
  protected readonly labelTemplate: Signal<TemplateRef<StepperTemplateContext> | undefined>;
112
112
  protected readonly listClass: Signal<string>;
113
113
  protected readonly listItemClass: Signal<string>;
@@ -160,6 +160,7 @@ declare class StepperComponent implements StepperVariantInput {
160
160
  */
161
161
  readonly steps: _angular_core.InputSignal<Iterable<StepOptions<unknown>>>;
162
162
  constructor();
163
+ protected formatStepNumber(value: number): string;
163
164
  protected isStepActive(step: StepItem): boolean;
164
165
  protected isStepLocked(step: StepItem): boolean;
165
166
  protected onIndicatorFocus(step: StepItem): void;
@@ -26,6 +26,7 @@ declare class TimePickerComponent implements FormValueControl<Date | null>, Time
26
26
  #private;
27
27
  protected readonly baseClass: Signal<string>;
28
28
  protected readonly currentDateString: _angular_core.WritableSignal<string>;
29
+ protected readonly effectiveFormat: Signal<string>;
29
30
  protected readonly expanded: Signal<boolean>;
30
31
  protected readonly inputAttributes: Signal<AttributeConfig>;
31
32
  protected readonly invalidState: Signal<boolean>;
@@ -47,9 +48,10 @@ declare class TimePickerComponent implements FormValueControl<Date | null>, Time
47
48
  */
48
49
  readonly disabled: _angular_core.InputSignal<boolean>;
49
50
  /**
50
- * @description Sets the format of the time picker.
51
+ * @description Sets the format of the time picker. If not specified, derives from the active locale, hourFormat, and showSeconds.
52
+ * @default null
51
53
  */
52
- readonly format: _angular_core.InputSignal<string>;
54
+ readonly format: _angular_core.InputSignal<string | null>;
53
55
  /**
54
56
  * @description Sets the hour format of the time picker.
55
57
  * @default 24