Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
68 commits
Select commit Hold shift + click to select a range
908fca1
checkpoint
onlyexeption Mar 28, 2022
f822656
checkpoint
onlyexeption Mar 29, 2022
1f8a67c
update prompt, handle modify drag leave/enter, add insertFromDrop
onlyexeption Mar 29, 2022
1579c07
checkpoint
onlyexeption Mar 31, 2022
0a30ab3
Merge branch 'master' into ibarakov/feat-247
onlyexeption Apr 3, 2022
b36ca55
checkpoint
onlyexeption Apr 3, 2022
15bbf91
delete masked input stories
onlyexeption Apr 3, 2022
0066aa4
ready for draft PR
onlyexeption Apr 3, 2022
94c859b
add keyboard nav
onlyexeption Apr 4, 2022
4173dad
chore: add mask parser
onlyexeption Apr 5, 2022
c505bec
Merge branch 'master' into ibarakov/feat-247
rkaraivanov Apr 5, 2022
be9d03a
chore: push latest changes
onlyexeption Apr 11, 2022
fb84cc2
Merge branch 'ibarakov/feat-247' of https://github.com/IgniteUI/ignit…
onlyexeption Apr 11, 2022
fcc8a93
chore: push latest changes v2
onlyexeption Apr 11, 2022
069874c
chore: fix insertFromDrop, spinDelta + restorefocus after update
onlyexeption Apr 14, 2022
a195715
chore: add tests, move interface to DateUtil
onlyexeption Apr 15, 2022
5fdd2af
Merge branch 'master' into ibarakov/feat-247
onlyexeption Apr 15, 2022
6910183
chore: fix import
onlyexeption Apr 15, 2022
fc1109e
Merge branch 'master' into ibarakov/feat-247
onlyexeption Apr 15, 2022
98720db
chore: add more tests + add DatePart enum for step up/down
onlyexeption Apr 18, 2022
1dfd80a
Merge branch 'master' into ibarakov/feat-247
onlyexeption Apr 18, 2022
a019008
chore: add remainder of date-input tests
onlyexeption Apr 19, 2022
3b71998
chore: fix failing test
onlyexeption Apr 19, 2022
c4810fc
chore: remove failing test for now
onlyexeption Apr 19, 2022
81aaa90
chore: add date util tests
onlyexeption Apr 20, 2022
11839df
Merge branch 'master' into ibarakov/feat-247
onlyexeption Apr 20, 2022
15b7fa4
Merge branch 'master' into ibarakov/feat-247
onlyexeption Apr 21, 2022
c9a2e08
chore: remove old parser and spec
onlyexeption Apr 21, 2022
b87f5e7
chore: add missing tests
onlyexeption Apr 21, 2022
0458f0c
chore: add changes related to form and validity
onlyexeption Apr 27, 2022
1eb654a
chore: changes to min/max value & step up/down
onlyexeption Apr 28, 2022
cbdb8f2
Merge branch 'master' into ibarakov/feat-247
igdmdimitrov Apr 29, 2022
e769f84
chore: dateInput -> dateTimeInput
onlyexeption May 4, 2022
4399576
chore: address PR comments
onlyexeption May 5, 2022
7c7cbba
Merge branch 'master' into ibarakov/feat-247
ChronosSF May 9, 2022
1e471b8
Merge branch 'master' into ibarakov/feat-247
ChronosSF May 13, 2022
35f02ae
chore: push minor changes
onlyexeption May 13, 2022
0cca731
chore:fix story, do not set displayFormat as placeholder
onlyexeption May 13, 2022
0d42951
Merge branch 'master' into ibarakov/feat-247
ChronosSF May 16, 2022
add676c
Merge branch 'master' into ibarakov/feat-247
ChronosSF May 16, 2022
6f7d4d4
Merge branch 'master' into ibarakov/feat-247
ChronosSF May 17, 2022
1979a77
fix(date-input): displayFormat rework
onlyexeption May 17, 2022
d7e3d7f
fix(date-time-input): fix drop & dragEnter
onlyexeption May 18, 2022
955b5e8
Merge branch 'master' into ibarakov/feat-247
igdmdimitrov May 18, 2022
181517d
Merge branch 'master' into ibarakov/feat-247
ChronosSF May 19, 2022
f7243d7
Merge branch 'master' into ibarakov/feat-247
ChronosSF May 19, 2022
8a5e621
Merge branch 'master' into ibarakov/feat-247
ChronosSF May 19, 2022
a488b37
fix(date-time-input): remove dateValue prop + parse iso dates in conv…
onlyexeption May 19, 2022
a996ab0
Merge remote-tracking branch 'origin/master' into ibarakov/feat-247
ChronosSF May 23, 2022
6e5dfa7
Merge branch 'master' into ibarakov/feat-247
onlyexeption May 23, 2022
2dd01be
chore: add test for getPartValue
onlyexeption May 24, 2022
20e4512
Merge branch 'master' into ibarakov/feat-247
ChronosSF May 25, 2022
7b9382a
chore: address PR comments
onlyexeption Jun 1, 2022
343ebfe
Merge branch 'master' into ibarakov/feat-247
onlyexeption Jun 1, 2022
d119832
fix: converters
onlyexeption Jun 1, 2022
bb16fdf
fix: use dir correctly
onlyexeption Jun 3, 2022
dcd1a83
Merge branch 'master' into ibarakov/feat-247
ChronosSF Jun 6, 2022
56156b9
Merge branch 'master' into ibarakov/feat-247
rkaraivanov Jun 6, 2022
b6a27c1
chore: address PR comments
onlyexeption Jun 14, 2022
3e3d3bb
chore: add blazorSuppress
onlyexeption Jun 16, 2022
a3d0309
Merge branch 'master' into ibarakov/feat-247
onlyexeption Jun 20, 2022
e1a6d23
Merge branch 'master' into ibarakov/feat-247
igdmdimitrov Jun 20, 2022
0b15d95
chore: date util export types/reorder
onlyexeption Jun 20, 2022
98f74db
chore(date-time): adjust for api generation
damyanpetev Jun 21, 2022
ee42237
chore(stories,date-time): hook up the invalid switch
damyanpetev Jun 21, 2022
7e73770
Merge branch 'master' into ibarakov/feat-247
igdmdimitrov Jun 29, 2022
eb7e5ec
chore: import path and doc comment text update
damyanpetev Jul 1, 2022
96b7a55
Merge branch 'master' into ibarakov/feat-247
ChronosSF Jul 1, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions src/components/common/definitions/defineAllComponents.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ import IgcToastComponent from '../../toast/toast.js';
import IgcSliderLabelComponent from '../../slider/slider-label.js';
import { defineComponents } from './defineComponents.js';
import IgcCircularGradientComponent from '../../progress/circular-gradient.js';
import IgcDateTimeInputComponent from '../../date-time-input/date-time-input.js';
import IgcMaskInputComponent from '../../mask-input/mask-input.js';
import IgcExpansionPanelComponent from '../../expansion-panel/expansion-panel.js';
import IgcTreeComponent from '../../tree/tree.js';
Expand Down Expand Up @@ -89,6 +90,7 @@ const allComponents: CustomElementConstructor[] = [
IgcLinearProgressComponent,
IgcCircularGradientComponent,
IgcSnackbarComponent,
IgcDateTimeInputComponent,
];

export const defineAllComponents = () => {
Expand Down
2 changes: 2 additions & 0 deletions src/components/common/mixins/constructor.ts
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
export type Constructor<T = {}> = new (...args: any[]) => T;

export type AbstractConstructor<T = {}> = abstract new (...args: any[]) => T;
11 changes: 7 additions & 4 deletions src/components/common/mixins/event-emitter.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { LitElement } from 'lit';
import { Constructor } from './constructor';
import { AbstractConstructor, Constructor } from './constructor';

export type UnpackCustomEvent<T> = T extends CustomEvent<infer U> ? U : never;

Expand Down Expand Up @@ -33,9 +33,12 @@ export declare class EventEmitterInterface<E> {
): boolean;
}

export const EventEmitterMixin = <E, T extends Constructor<LitElement>>(
export function EventEmitterMixin<E, T extends AbstractConstructor<LitElement>>(
superClass: T
) => {
): AbstractConstructor<EventEmitterInterface<E>> & T;
export function EventEmitterMixin<E, T extends Constructor<LitElement>>(
superClass: T
) {
class EventEmitterElement extends superClass {
/**
* @private
Expand Down Expand Up @@ -99,4 +102,4 @@ export const EventEmitterMixin = <E, T extends Constructor<LitElement>>(
}
}
return EventEmitterElement as Constructor<EventEmitterInterface<E>> & T;
};
}
Loading