Skip to content

Commit 72c64a2

Browse files
authored
docs(ix): adjust components API docs IX-3403 (#2459)
1 parent 12515c6 commit 72c64a2

10 files changed

Lines changed: 326 additions & 320 deletions

File tree

packages/angular/src/components.ts

Lines changed: 16 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -656,15 +656,15 @@ import type { DateInputValidityState as IIxDateInputDateInputValidityState } fro
656656

657657
export declare interface IxDateInput extends Components.IxDateInput {
658658
/**
659-
* Input change event.
659+
* Value change event. Emitted when the input value changes.
660660
*/
661661
valueChange: EventEmitter<CustomEvent<string | undefined>>;
662662
/**
663-
* Validation state change event.
663+
* Validation state change event. Emitted when the validation state changes.
664664
*/
665665
validityStateChange: EventEmitter<CustomEvent<IIxDateInputDateInputValidityState>>;
666666
/**
667-
* Event emitted when the date input loses focus and the value has changed. @since 4.4.0
667+
* Change event. Emitted when the date input loses focus and the value has changed. @since 4.4.0
668668
*/
669669
ixChange: EventEmitter<CustomEvent<string | undefined>>;
670670
}
@@ -706,13 +706,13 @@ Note: Since 2.0.0 `dateChange` does not dispatch detail property as `string`
706706
*/
707707
dateChange: EventEmitter<CustomEvent<IIxDatePickerDateChangeEvent>>;
708708
/**
709-
* Emitted when the date range selection changes and the component is in range mode. The `DateChangeEvent` contains `from` and `to` properties.
709+
* Date range change event. Emitted when the date range selection changes and the component is in range mode. The `DateChangeEvent` contains `from` and `to` properties.
710710
The property strings are formatted according to the `format` property and not affected by the `locale` property.
711711
The locale applied is always `en-US`.
712712
*/
713713
dateRangeChange: EventEmitter<CustomEvent<IIxDatePickerDateChangeEvent>>;
714714
/**
715-
* Emitted when the selection is confirmed via the date select button. The `DateChangeEvent` contains `from` and `to` properties.
715+
* Date selection event. Emitted when the selection is confirmed via the date select button. The `DateChangeEvent` contains `from` and `to` properties.
716716
The property strings are formatted according to the `format` property and not affected by the `locale` property.
717717
The locale applied is always `en-US`.
718718
*/
@@ -749,15 +749,15 @@ import type { DateTimeSelectEvent as IIxDatetimePickerDateTimeSelectEvent } from
749749

750750
export declare interface IxDatetimePicker extends Components.IxDatetimePicker {
751751
/**
752-
* Time change
752+
* Time change event. Emitted when the time changes in the embedded time picker.
753753
*/
754754
timeChange: EventEmitter<CustomEvent<string>>;
755755
/**
756-
* Date change
756+
* Date change event. Emitted when the date changes in the embedded date picker.
757757
*/
758758
dateChange: EventEmitter<CustomEvent<IIxDatetimePickerDateTimeDateChangeEvent>>;
759759
/**
760-
* Datetime selection event is fired after confirm button is pressed
760+
* Datetime selection event. Emitted when the user confirms the selection.
761761
*/
762762
dateSelect: EventEmitter<CustomEvent<IIxDatetimePickerDateTimeSelectEvent>>;
763763
}
@@ -2535,7 +2535,9 @@ export class IxTabs {
25352535

25362536
export declare interface IxTabs extends Components.IxTabs {
25372537
/**
2538-
* `selected` property changed
2538+
* Tab selection event. Event detail is the zero-based tab index. Fires when
2539+
the user selects a tab, or when the tab list changes and the selected index
2540+
is adjusted. Not emitted when `selected` is set from outside.
25392541
*/
25402542
selectedChange: EventEmitter<CustomEvent<number>>;
25412543
}
@@ -2639,15 +2641,15 @@ import type { TimeInputValidityState as IIxTimeInputTimeInputValidityState } fro
26392641

26402642
export declare interface IxTimeInput extends Components.IxTimeInput {
26412643
/**
2642-
* Input change event.
2644+
* Value change event. Emitted when the input value changes.
26432645
*/
26442646
valueChange: EventEmitter<CustomEvent<string>>;
26452647
/**
2646-
* Validation state change event.
2648+
* Validation state change event. Emitted when the validation state changes.
26472649
*/
26482650
validityStateChange: EventEmitter<CustomEvent<IIxTimeInputTimeInputValidityState>>;
26492651
/**
2650-
* Event emitted when the time input loses focus and the value has changed. @since 4.4.0
2652+
* Change event. Emitted when the time input loses focus and the value has changed. @since 4.4.0
26512653
*/
26522654
ixChange: EventEmitter<CustomEvent<string>>;
26532655
}
@@ -2679,11 +2681,11 @@ export class IxTimePicker {
26792681

26802682
export declare interface IxTimePicker extends Components.IxTimePicker {
26812683
/**
2682-
* Time event
2684+
* Time event. Emitted when the user confirms the selected time.
26832685
*/
26842686
timeSelect: EventEmitter<CustomEvent<string>>;
26852687
/**
2686-
* Time change event
2688+
* Time change event. Emitted when the selected time changes while interacting with the picker.
26872689
*/
26882690
timeChange: EventEmitter<CustomEvent<string>>;
26892691
}

packages/angular/standalone/src/components.ts

Lines changed: 16 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -756,15 +756,15 @@ import type { DateInputValidityState as IIxDateInputDateInputValidityState } fro
756756

757757
export declare interface IxDateInput extends Components.IxDateInput {
758758
/**
759-
* Input change event.
759+
* Value change event. Emitted when the input value changes.
760760
*/
761761
valueChange: EventEmitter<CustomEvent<string | undefined>>;
762762
/**
763-
* Validation state change event.
763+
* Validation state change event. Emitted when the validation state changes.
764764
*/
765765
validityStateChange: EventEmitter<CustomEvent<IIxDateInputDateInputValidityState>>;
766766
/**
767-
* Event emitted when the date input loses focus and the value has changed. @since 4.4.0
767+
* Change event. Emitted when the date input loses focus and the value has changed. @since 4.4.0
768768
*/
769769
ixChange: EventEmitter<CustomEvent<string | undefined>>;
770770
}
@@ -806,13 +806,13 @@ Note: Since 2.0.0 `dateChange` does not dispatch detail property as `string`
806806
*/
807807
dateChange: EventEmitter<CustomEvent<IIxDatePickerDateChangeEvent>>;
808808
/**
809-
* Emitted when the date range selection changes and the component is in range mode. The `DateChangeEvent` contains `from` and `to` properties.
809+
* Date range change event. Emitted when the date range selection changes and the component is in range mode. The `DateChangeEvent` contains `from` and `to` properties.
810810
The property strings are formatted according to the `format` property and not affected by the `locale` property.
811811
The locale applied is always `en-US`.
812812
*/
813813
dateRangeChange: EventEmitter<CustomEvent<IIxDatePickerDateChangeEvent>>;
814814
/**
815-
* Emitted when the selection is confirmed via the date select button. The `DateChangeEvent` contains `from` and `to` properties.
815+
* Date selection event. Emitted when the selection is confirmed via the date select button. The `DateChangeEvent` contains `from` and `to` properties.
816816
The property strings are formatted according to the `format` property and not affected by the `locale` property.
817817
The locale applied is always `en-US`.
818818
*/
@@ -849,15 +849,15 @@ import type { DateTimeSelectEvent as IIxDatetimePickerDateTimeSelectEvent } from
849849

850850
export declare interface IxDatetimePicker extends Components.IxDatetimePicker {
851851
/**
852-
* Time change
852+
* Time change event. Emitted when the time changes in the embedded time picker.
853853
*/
854854
timeChange: EventEmitter<CustomEvent<string>>;
855855
/**
856-
* Date change
856+
* Date change event. Emitted when the date changes in the embedded date picker.
857857
*/
858858
dateChange: EventEmitter<CustomEvent<IIxDatetimePickerDateTimeDateChangeEvent>>;
859859
/**
860-
* Datetime selection event is fired after confirm button is pressed
860+
* Datetime selection event. Emitted when the user confirms the selection.
861861
*/
862862
dateSelect: EventEmitter<CustomEvent<IIxDatetimePickerDateTimeSelectEvent>>;
863863
}
@@ -2635,7 +2635,9 @@ export class IxTabs {
26352635

26362636
export declare interface IxTabs extends Components.IxTabs {
26372637
/**
2638-
* `selected` property changed
2638+
* Tab selection event. Event detail is the zero-based tab index. Fires when
2639+
the user selects a tab, or when the tab list changes and the selected index
2640+
is adjusted. Not emitted when `selected` is set from outside.
26392641
*/
26402642
selectedChange: EventEmitter<CustomEvent<number>>;
26412643
}
@@ -2739,15 +2741,15 @@ import type { TimeInputValidityState as IIxTimeInputTimeInputValidityState } fro
27392741

27402742
export declare interface IxTimeInput extends Components.IxTimeInput {
27412743
/**
2742-
* Input change event.
2744+
* Value change event. Emitted when the input value changes.
27432745
*/
27442746
valueChange: EventEmitter<CustomEvent<string>>;
27452747
/**
2746-
* Validation state change event.
2748+
* Validation state change event. Emitted when the validation state changes.
27472749
*/
27482750
validityStateChange: EventEmitter<CustomEvent<IIxTimeInputTimeInputValidityState>>;
27492751
/**
2750-
* Event emitted when the time input loses focus and the value has changed. @since 4.4.0
2752+
* Change event. Emitted when the time input loses focus and the value has changed. @since 4.4.0
27512753
*/
27522754
ixChange: EventEmitter<CustomEvent<string>>;
27532755
}
@@ -2779,11 +2781,11 @@ export class IxTimePicker {
27792781

27802782
export declare interface IxTimePicker extends Components.IxTimePicker {
27812783
/**
2782-
* Time event
2784+
* Time event. Emitted when the user confirms the selected time.
27832785
*/
27842786
timeSelect: EventEmitter<CustomEvent<string>>;
27852787
/**
2786-
* Time change event
2788+
* Time change event. Emitted when the selected time changes while interacting with the picker.
27872789
*/
27882790
timeChange: EventEmitter<CustomEvent<string>>;
27892791
}

0 commit comments

Comments
 (0)