@instructure/ui-date-input 11.6.0 → 11.6.1-snapshot-129
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 +48 -309
- package/es/DateInput/{index.js → v1/index.js} +4 -4
- package/es/DateInput/v2/index.js +407 -0
- package/es/DateInput/v2/props.js +26 -0
- package/es/DateInput/v2/styles.js +46 -0
- package/es/DateInput2/{index.js → v1/index.js} +13 -11
- package/es/{index.js → exports/a.js} +2 -2
- package/{src/index.ts → es/exports/b.js} +2 -5
- package/lib/DateInput/{index.js → v1/index.js} +9 -9
- package/lib/DateInput/v2/index.js +416 -0
- package/lib/DateInput/v2/props.js +31 -0
- package/lib/DateInput/v2/styles.js +52 -0
- package/lib/DateInput2/{index.js → v1/index.js} +19 -19
- package/lib/{index.js → exports/a.js} +4 -4
- package/lib/exports/b.js +19 -0
- package/package.json +45 -23
- package/src/DateInput/{index.tsx → v1/index.tsx} +10 -7
- package/src/DateInput/{props.ts → v1/props.ts} +2 -2
- package/src/DateInput/v2/README.md +315 -0
- package/src/DateInput/v2/index.tsx +498 -0
- package/src/DateInput/v2/props.ts +316 -0
- package/src/DateInput/v2/styles.ts +52 -0
- package/src/DateInput2/{README.md → v1/README.md} +9 -9
- package/src/DateInput2/{index.tsx → v1/index.tsx} +11 -11
- package/src/DateInput2/{props.ts → v1/props.ts} +1 -1
- package/src/exports/a.ts +28 -0
- package/src/exports/b.ts +28 -0
- package/tsconfig.build.tsbuildinfo +1 -1
- package/types/DateInput/{index.d.ts → v1/index.d.ts} +4 -4
- package/types/DateInput/v1/index.d.ts.map +1 -0
- package/types/DateInput/{props.d.ts → v1/props.d.ts} +2 -2
- package/types/DateInput/v1/props.d.ts.map +1 -0
- package/types/DateInput/v1/styles.d.ts.map +1 -0
- package/types/DateInput/v2/index.d.ts +109 -0
- package/types/DateInput/v2/index.d.ts.map +1 -0
- package/types/DateInput/v2/props.d.ts +234 -0
- package/types/DateInput/v2/props.d.ts.map +1 -0
- package/types/DateInput/v2/styles.d.ts +13 -0
- package/types/DateInput/v2/styles.d.ts.map +1 -0
- package/types/DateInput2/{index.d.ts → v1/index.d.ts} +2 -2
- package/types/DateInput2/v1/index.d.ts.map +1 -0
- package/types/DateInput2/{props.d.ts → v1/props.d.ts} +1 -1
- package/types/DateInput2/v1/props.d.ts.map +1 -0
- package/types/exports/a.d.ts +5 -0
- package/types/exports/a.d.ts.map +1 -0
- package/types/exports/b.d.ts +5 -0
- package/types/exports/b.d.ts.map +1 -0
- package/types/DateInput/index.d.ts.map +0 -1
- package/types/DateInput/props.d.ts.map +0 -1
- package/types/DateInput/styles.d.ts.map +0 -1
- package/types/DateInput2/index.d.ts.map +0 -1
- package/types/DateInput2/props.d.ts.map +0 -1
- package/types/index.d.ts +0 -5
- package/types/index.d.ts.map +0 -1
- /package/es/DateInput/{props.js → v1/props.js} +0 -0
- /package/es/DateInput/{styles.js → v1/styles.js} +0 -0
- /package/es/DateInput2/{props.js → v1/props.js} +0 -0
- /package/lib/DateInput/{props.js → v1/props.js} +0 -0
- /package/lib/DateInput/{styles.js → v1/styles.js} +0 -0
- /package/lib/DateInput2/{props.js → v1/props.js} +0 -0
- /package/src/DateInput/{README.md → v1/README.md} +0 -0
- /package/src/DateInput/{styles.ts → v1/styles.ts} +0 -0
- /package/types/DateInput/{styles.d.ts → v1/styles.d.ts} +0 -0
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { Component, ReactElement } from 'react';
|
|
2
|
-
import type { CalendarDayProps } from '@instructure/ui-calendar';
|
|
2
|
+
import type { CalendarDayProps } from '@instructure/ui-calendar/v11_6';
|
|
3
3
|
import type { SelectableProps, SelectableRender } from '@instructure/ui-selectable';
|
|
4
|
-
import type { TextInputProps } from '@instructure/ui-text-input';
|
|
4
|
+
import type { TextInputProps } from '@instructure/ui-text-input/v11_6';
|
|
5
5
|
import { ApplyLocaleContext } from '@instructure/ui-i18n';
|
|
6
6
|
import type { DateInputProps, DateInputState } from './props';
|
|
7
|
-
import type { FormMessage } from '@instructure/ui-form-field';
|
|
7
|
+
import type { FormMessage } from '@instructure/ui-form-field/v11_6';
|
|
8
8
|
/**
|
|
9
9
|
---
|
|
10
10
|
category: components
|
|
@@ -12,7 +12,7 @@ category: components
|
|
|
12
12
|
**/
|
|
13
13
|
declare class DateInput extends Component<DateInputProps, DateInputState> {
|
|
14
14
|
static readonly componentId = "DateInput";
|
|
15
|
-
static Day: typeof import("@instructure/ui-calendar").CalendarDay;
|
|
15
|
+
static Day: typeof import("@instructure/ui-calendar/v11_6").CalendarDay;
|
|
16
16
|
context: React.ContextType<typeof ApplyLocaleContext>;
|
|
17
17
|
static allowedProps: readonly (keyof {
|
|
18
18
|
renderLabel: import("@instructure/shared-types").Renderable;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/DateInput/v1/index.tsx"],"names":[],"mappings":"AAwBA,OAAO,EAAY,SAAS,EAAE,YAAY,EAAE,MAAM,OAAO,CAAA;AAGzD,OAAO,KAAK,EAEV,gBAAgB,EACjB,MAAM,gCAAgC,CAAA;AAIvC,OAAO,KAAK,EACV,eAAe,EACf,gBAAgB,EACjB,MAAM,4BAA4B,CAAA;AAEnC,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kCAAkC,CAAA;AAStE,OAAO,EAAY,kBAAkB,EAAU,MAAM,sBAAsB,CAAA;AAO3E,OAAO,KAAK,EAAE,cAAc,EAAE,cAAc,EAAE,MAAM,SAAS,CAAA;AAC7D,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAA;AAEnE;;;;GAIG;AACH,cACM,SAAU,SAAQ,SAAS,CAAC,cAAc,EAAE,cAAc,CAAC;IAC/D,MAAM,CAAC,QAAQ,CAAC,WAAW,eAAc;IACzC,MAAM,CAAC,GAAG,8DAAe;IACjB,OAAO,EAAE,KAAK,CAAC,WAAW,CAAC,OAAO,kBAAkB,CAAC,C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AAA;AACxB,OAAO,EAAE,SAAS,EAAE,CAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { CalendarDayProps } from '@instructure/ui-calendar';
|
|
2
|
-
import type { FormMessage } from '@instructure/ui-form-field';
|
|
1
|
+
import type { CalendarDayProps } from '@instructure/ui-calendar/v11_6';
|
|
2
|
+
import type { FormMessage } from '@instructure/ui-form-field/v11_6';
|
|
3
3
|
import type { PlacementPropValues } from '@instructure/ui-position';
|
|
4
4
|
import type { Renderable, OtherHTMLAttributes } from '@instructure/shared-types';
|
|
5
5
|
import type { WithStyleProps, ComponentStyle } from '@instructure/emotion';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"props.d.ts","sourceRoot":"","sources":["../../../src/DateInput/v1/props.ts"],"names":[],"mappings":"AAwBA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,gCAAgC,CAAA;AACtE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAA;AACnE,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAA;AACnE,OAAO,KAAK,EAAE,UAAU,EAAE,mBAAmB,EAAE,MAAM,2BAA2B,CAAA;AAChF,OAAO,KAAK,EAAE,cAAc,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAA;AAC1E,OAAO,EAAE,mBAAmB,EAAE,YAAY,EAAE,cAAc,EAAE,MAAM,OAAO,CAAA;AAEzE,KAAK,iBAAiB,GAAG;IACvB;;OAEG;IACH,WAAW,EAAE,UAAU,CAAA;IACvB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAA;IACd;;OAEG;IACH,IAAI,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAA;IACnC;;;OAGG;IACH,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB;;;;;OAKG;IACH,QAAQ,CAAC,EAAE,CACT,KAAK,EAAE,KAAK,CAAC,WAAW,CAAC,gBAAgB,CAAC,E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,MAAM,CAAA;QACzB,mBAAmB,CAAC,EAAE,CAAC,CAAC,EAAE,GAAG,EAAE,aAAa,EAAE,MAAM,KAAK,IAAI,CAAA;QAC7D,SAAS,EAAE,MAAM,CAAA;QACjB,OAAO,EAAE,MAAM,CAAA;KAChB,CAAA;CACF,CAAA;AAED,KAAK,QAAQ,GAAG,MAAM,iBAAiB,CAAA;AAEvC,KAAK,eAAe,GAAG,QAAQ,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAA;AAEhD,KAAK,cAAc,GAAG,iBAAiB,GACrC,cAAc,CAAC,IAAI,EAAE,cAAc,CAAC,GACpC,mBAAmB,CACjB,iBAAiB,EACjB,mBAAmB,CAAC,iBAAiB,GAAG,OAAO,CAAC,CACjD,CAAA;AAEH,KAAK,cAAc,GAAG,cAAc,CAAC,WAAW,GAAG,eAAe,CAAC,CAAA;AACnE,QAAA,MAAM,YAAY,EAAE,eAoCnB,CAAA;AAED,KAAK,cAAc,GAAG;IACpB,WAAW,EAAE,OAAO,CAAA;IACpB,iBAAiB,EAAE,OAAO,CAAA;IAC1B,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,QAAQ,EAAE,WAAW,EAAE,CAAA;CACxB,CAAA;AAED,YAAY,EAAE,cAAc,EAAE,cAAc,EAAE,cAAc,EAAE,CAAA;AAC9D,OAAO,EAAE,YAAY,EAAE,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../src/DateInput/v1/styles.ts"],"names":[],"mappings":"AAwBA,OAAO,KAAK,EAAE,cAAc,EAAE,cAAc,EAAE,MAAM,SAAS,CAAA;AAE7D;;;;;;;;GAQG;AACH,QAAA,MAAM,aAAa,GACjB,iBAAiB,IAAI,EACrB,OAAO,cAAc,KACpB,cAWF,CAAA;AAED,eAAe,aAAa,CAAA"}
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
import { Component, ReactElement } from 'react';
|
|
2
|
+
import type { CalendarDayProps } from '@instructure/ui-calendar/latest';
|
|
3
|
+
import type { SelectableProps, SelectableRender } from '@instructure/ui-selectable';
|
|
4
|
+
import type { TextInputProps } from '@instructure/ui-text-input/latest';
|
|
5
|
+
import { ApplyLocaleContext } from '@instructure/ui-i18n';
|
|
6
|
+
import type { DateInputProps, DateInputState } from './props';
|
|
7
|
+
import type { FormMessage } from '@instructure/ui-form-field/latest';
|
|
8
|
+
/**
|
|
9
|
+
---
|
|
10
|
+
category: components
|
|
11
|
+
---
|
|
12
|
+
**/
|
|
13
|
+
declare class DateInput extends Component<DateInputProps, DateInputState> {
|
|
14
|
+
static readonly componentId = "DateInput";
|
|
15
|
+
static Day: typeof import("@instructure/ui-calendar/latest").CalendarDay;
|
|
16
|
+
context: React.ContextType<typeof ApplyLocaleContext>;
|
|
17
|
+
static allowedProps: readonly (keyof {
|
|
18
|
+
renderLabel: import("@instructure/shared-types").Renderable;
|
|
19
|
+
value?: string;
|
|
20
|
+
size?: "small" | "medium" | "large";
|
|
21
|
+
placeholder?: string;
|
|
22
|
+
onChange?: (event: React.ChangeEvent<HTMLInputElement>, value: {
|
|
23
|
+
value: string;
|
|
24
|
+
}) => void;
|
|
25
|
+
onBlur?: (event: React.SyntheticEvent) => void;
|
|
26
|
+
interaction?: "enabled" | "disabled" | "readonly";
|
|
27
|
+
isRequired?: boolean;
|
|
28
|
+
isInline?: boolean;
|
|
29
|
+
assistiveText?: string;
|
|
30
|
+
layout?: "stacked" | "inline";
|
|
31
|
+
width?: string;
|
|
32
|
+
display?: "inline-block" | "block";
|
|
33
|
+
inputRef?: (element: HTMLInputElement | null) => void;
|
|
34
|
+
messages?: FormMessage[];
|
|
35
|
+
placement?: import("@instructure/ui-position").PlacementPropValues;
|
|
36
|
+
isShowingCalendar?: boolean;
|
|
37
|
+
onRequestValidateDate?: (event: import("react").SyntheticEvent, dateString?: string, validation?: FormMessage[]) => void | FormMessage[];
|
|
38
|
+
onRequestShowCalendar?: (event: import("react").SyntheticEvent) => void;
|
|
39
|
+
onRequestHideCalendar?: (event: import("react").SyntheticEvent) => void;
|
|
40
|
+
onRequestSelectNextDay?: (event: import("react").SyntheticEvent) => void;
|
|
41
|
+
onRequestSelectPrevDay?: (event: import("react").SyntheticEvent) => void;
|
|
42
|
+
onRequestRenderNextMonth?: (e: React.MouseEvent) => void;
|
|
43
|
+
onRequestRenderPrevMonth?: (e: React.MouseEvent) => void;
|
|
44
|
+
renderNavigationLabel?: React.ReactNode | (() => React.ReactNode);
|
|
45
|
+
renderWeekdayLabels?: (React.ReactNode | (() => React.ReactNode))[];
|
|
46
|
+
renderNextMonthButton?: import("@instructure/shared-types").Renderable;
|
|
47
|
+
renderPrevMonthButton?: import("@instructure/shared-types").Renderable;
|
|
48
|
+
children?: ReactElement<CalendarDayProps>[];
|
|
49
|
+
disabledDates?: string[] | ((isoDateToCheck: string) => boolean);
|
|
50
|
+
currentDate?: string;
|
|
51
|
+
invalidDateErrorMessage?: string | ((rawDateValue: string) => FormMessage);
|
|
52
|
+
disabledDateErrorMessage?: string | ((rawDateValue: string) => FormMessage);
|
|
53
|
+
locale?: string;
|
|
54
|
+
timezone?: string;
|
|
55
|
+
withYearPicker?: {
|
|
56
|
+
screenReaderLabel: string;
|
|
57
|
+
onRequestYearChange?: (e: any, requestedYear: number) => void;
|
|
58
|
+
startYear: number;
|
|
59
|
+
endYear: number;
|
|
60
|
+
};
|
|
61
|
+
})[];
|
|
62
|
+
static defaultProps: {
|
|
63
|
+
value: string;
|
|
64
|
+
size: string;
|
|
65
|
+
onBlur: () => void;
|
|
66
|
+
isRequired: boolean;
|
|
67
|
+
isInline: boolean;
|
|
68
|
+
layout: string;
|
|
69
|
+
display: string;
|
|
70
|
+
placement: string;
|
|
71
|
+
isShowingCalendar: boolean;
|
|
72
|
+
};
|
|
73
|
+
state: {
|
|
74
|
+
hasInputRef: boolean;
|
|
75
|
+
isShowingCalendar: boolean;
|
|
76
|
+
validatedDate: undefined;
|
|
77
|
+
messages: never[];
|
|
78
|
+
};
|
|
79
|
+
_input?: HTMLInputElement | null;
|
|
80
|
+
ref: Element | null;
|
|
81
|
+
locale(): string;
|
|
82
|
+
timezone(): string;
|
|
83
|
+
componentDidMount(): void;
|
|
84
|
+
componentDidUpdate(): void;
|
|
85
|
+
get selectedDateId(): string | undefined;
|
|
86
|
+
get interaction(): import("@instructure/ui-react-utils").InteractionType;
|
|
87
|
+
formatDateId: (date: string) => string;
|
|
88
|
+
handleInputRef: TextInputProps['inputRef'];
|
|
89
|
+
handleInputChange: TextInputProps['onChange'];
|
|
90
|
+
handleShowCalendar: (event: React.SyntheticEvent) => void;
|
|
91
|
+
validateDate: (date: string) => FormMessage[];
|
|
92
|
+
handleHideCalendar: (event: React.SyntheticEvent, setectedDate?: string) => void;
|
|
93
|
+
handleHighlightOption: SelectableProps['onRequestHighlightOption'];
|
|
94
|
+
renderMonthNavigationButton(type?: string): any;
|
|
95
|
+
renderDays(getOptionProps: SelectableRender['getOptionProps']): ReactElement<CalendarDayProps, string | import("react").JSXElementConstructor<any>>[] | undefined;
|
|
96
|
+
renderCalendar({ getListProps, getOptionProps }: {
|
|
97
|
+
getListProps: SelectableRender['getListProps'];
|
|
98
|
+
getOptionProps: SelectableRender['getOptionProps'];
|
|
99
|
+
}): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
100
|
+
renderInput({ getInputProps, getTriggerProps }: {
|
|
101
|
+
getInputProps: SelectableRender['getInputProps'];
|
|
102
|
+
getTriggerProps: SelectableRender['getInputProps'];
|
|
103
|
+
}): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
104
|
+
shouldShowCalendar: () => boolean | undefined;
|
|
105
|
+
render(): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
106
|
+
}
|
|
107
|
+
export default DateInput;
|
|
108
|
+
export { DateInput };
|
|
109
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/D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AI,OAAO,KAAK,CAAC,cAAc,UAMhD;IAED,YAAY,GAAI,MAAM,MAAM,mBAoD3B;IAED,kBAAkB,GAAI,OAAO,KAAK,CAAC,cAAc,EAAE,eAAe,MAAM,UAqBvE;IAED,qBAAqB,EAAE,eAAe,CAAC,0BAA0B,CAAC,CAiDjE;IAED,2BAA2B,CAAC,IAAI,SAAS;IAOzC,UAAU,CAAC,cAAc,EAAE,gBAAgB,CAAC,gBAAgB,CAAC;IAoB7D,cAAc,CAAC,EACb,YAAY,EACZ,cAAc,EACf,EAAE;QACD,YAAY,EAAE,gBAAgB,CAAC,cAAc,CAAC,CAAA;QAC9C,cAAc,EAAE,gBAAgB,CAAC,gBAAgB,CAAC,CAAA;KACnD;IAuDD,WAAW,CAAC,EACV,aAAa,EACb,eAAe,EAChB,EAAE;QACD,aAAa,EAAE,gBAAgB,CAAC,eAAe,CAAC,CAAA;QAChD,eAAe,EAAE,gBAAgB,CAAC,eAAe,CAAC,CAAA;KACnD;IA6DD,kBAAkB,4BAGgB;IAElC,MAAM;CA8CP;AAED,eAAe,SAAS,CAAA;AACxB,OAAO,EAAE,SAAS,EAAE,CAAA"}
|
|
@@ -0,0 +1,234 @@
|
|
|
1
|
+
import type { CalendarDayProps } from '@instructure/ui-calendar/latest';
|
|
2
|
+
import type { FormMessage } from '@instructure/ui-form-field/latest';
|
|
3
|
+
import type { PlacementPropValues } from '@instructure/ui-position';
|
|
4
|
+
import type { Renderable, OtherHTMLAttributes } from '@instructure/shared-types';
|
|
5
|
+
import type { WithStyleProps, ComponentStyle } from '@instructure/emotion';
|
|
6
|
+
import { InputHTMLAttributes, ReactElement, SyntheticEvent } from 'react';
|
|
7
|
+
type DateInputOwnProps = {
|
|
8
|
+
/**
|
|
9
|
+
* Specifies the input label.
|
|
10
|
+
*/
|
|
11
|
+
renderLabel: Renderable;
|
|
12
|
+
/**
|
|
13
|
+
* Specifies the input value.
|
|
14
|
+
*/
|
|
15
|
+
value?: string;
|
|
16
|
+
/**
|
|
17
|
+
* Specifies the input size.
|
|
18
|
+
*/
|
|
19
|
+
size?: 'small' | 'medium' | 'large';
|
|
20
|
+
/**
|
|
21
|
+
* Html placeholder text to display when the input has no value. This should
|
|
22
|
+
* be hint text, not a label replacement.
|
|
23
|
+
*/
|
|
24
|
+
placeholder?: string;
|
|
25
|
+
/**
|
|
26
|
+
* Callback executed when the input fires a change event.
|
|
27
|
+
* @param {Object} event - the event object
|
|
28
|
+
* @param {Object} data - additional data
|
|
29
|
+
* @param data.value - the new value
|
|
30
|
+
*/
|
|
31
|
+
onChange?: (event: React.ChangeEvent<HTMLInputElement>, value: {
|
|
32
|
+
value: string;
|
|
33
|
+
}) => void;
|
|
34
|
+
/**
|
|
35
|
+
* Callback executed when the input fires a blur event.
|
|
36
|
+
*/
|
|
37
|
+
onBlur?: (event: React.SyntheticEvent) => void;
|
|
38
|
+
/**
|
|
39
|
+
* Specifies if interaction with the input is enabled, disabled, or readonly.
|
|
40
|
+
* When "disabled", the input changes visibly to indicate that it cannot
|
|
41
|
+
* receive user interactions. When "readonly" the input still cannot receive
|
|
42
|
+
* user interactions but it keeps the same styles as if it were enabled.
|
|
43
|
+
*/
|
|
44
|
+
interaction?: 'enabled' | 'disabled' | 'readonly';
|
|
45
|
+
/**
|
|
46
|
+
* Specifies if the input is required.
|
|
47
|
+
*/
|
|
48
|
+
isRequired?: boolean;
|
|
49
|
+
/**
|
|
50
|
+
* Controls whether the input is rendered inline with other elements or if it
|
|
51
|
+
* is rendered as a block level element.
|
|
52
|
+
*/
|
|
53
|
+
isInline?: boolean;
|
|
54
|
+
/**
|
|
55
|
+
* Additional helpful text to provide to screen readers about the operation
|
|
56
|
+
* of the component.
|
|
57
|
+
*/
|
|
58
|
+
assistiveText?: string;
|
|
59
|
+
/**
|
|
60
|
+
* Controls the layout. When set to `stacked`, the label rests on top of the
|
|
61
|
+
* input. When set to `inline` the label is next to the input.
|
|
62
|
+
*/
|
|
63
|
+
layout?: 'stacked' | 'inline';
|
|
64
|
+
/**
|
|
65
|
+
* Specifies the width of the input.
|
|
66
|
+
*/
|
|
67
|
+
width?: string;
|
|
68
|
+
/**
|
|
69
|
+
* Specifies the display property of the container.
|
|
70
|
+
*/
|
|
71
|
+
display?: 'inline-block' | 'block';
|
|
72
|
+
/**
|
|
73
|
+
* Provides a ref to the underlying input element.
|
|
74
|
+
*/
|
|
75
|
+
inputRef?: (element: HTMLInputElement | null) => void;
|
|
76
|
+
/**
|
|
77
|
+
* Displays informational and error messages, used for input validation,
|
|
78
|
+
* can also display screenreader-only messages.
|
|
79
|
+
* Also changes the border color of the component on success/error.
|
|
80
|
+
* This is automatically set to `invalidDateErrorMessage` when the date is invalid
|
|
81
|
+
*/
|
|
82
|
+
messages?: FormMessage[];
|
|
83
|
+
/**
|
|
84
|
+
* The placement of the calendar in relation to the input.
|
|
85
|
+
*/
|
|
86
|
+
placement?: PlacementPropValues;
|
|
87
|
+
/**
|
|
88
|
+
* Controls whether the calendar is showing.
|
|
89
|
+
*/
|
|
90
|
+
isShowingCalendar?: boolean;
|
|
91
|
+
/**
|
|
92
|
+
* Callback fired when the input is blurred. Feedback should be provided
|
|
93
|
+
* to the user when this function is called if the selected date or input
|
|
94
|
+
* value is not valid. The component calculates date validity and if it's
|
|
95
|
+
* disabled or nor and passes that information to this callback.
|
|
96
|
+
*/
|
|
97
|
+
onRequestValidateDate?: (event: SyntheticEvent, dateString?: string, validation?: FormMessage[]) => void | FormMessage[];
|
|
98
|
+
/**
|
|
99
|
+
* Callback fired requesting the calendar be shown.
|
|
100
|
+
*/
|
|
101
|
+
onRequestShowCalendar?: (event: SyntheticEvent) => void;
|
|
102
|
+
/**
|
|
103
|
+
* Callback fired requesting the calendar be hidden.
|
|
104
|
+
*/
|
|
105
|
+
onRequestHideCalendar?: (event: SyntheticEvent) => void;
|
|
106
|
+
/**
|
|
107
|
+
* Callback fired requesting the next day be selected. If no date is currently
|
|
108
|
+
* selected should default to the first day of the currently rendered month.
|
|
109
|
+
*/
|
|
110
|
+
onRequestSelectNextDay?: (event: SyntheticEvent) => void;
|
|
111
|
+
/**
|
|
112
|
+
* Callback fired requesting the previous day be selected. If no date is currently
|
|
113
|
+
* selected should default to the first day of the currently rendered month.
|
|
114
|
+
*/
|
|
115
|
+
onRequestSelectPrevDay?: (event: SyntheticEvent) => void;
|
|
116
|
+
/**
|
|
117
|
+
* Callback fired requesting the next month be rendered.
|
|
118
|
+
*/
|
|
119
|
+
onRequestRenderNextMonth?: (e: React.MouseEvent) => void;
|
|
120
|
+
/**
|
|
121
|
+
* Callback fired requesting the previous month be rendered.
|
|
122
|
+
*/
|
|
123
|
+
onRequestRenderPrevMonth?: (e: React.MouseEvent) => void;
|
|
124
|
+
/**
|
|
125
|
+
* Content to render in the calendar navigation header. The recommendation is
|
|
126
|
+
* to include the name of the current rendered month along with the year.
|
|
127
|
+
*/
|
|
128
|
+
renderNavigationLabel?: React.ReactNode | (() => React.ReactNode);
|
|
129
|
+
/**
|
|
130
|
+
* An array of labels containing the name of each day of the week. The visible
|
|
131
|
+
* portion of the label should be abbreviated (no longer than three characters).
|
|
132
|
+
* Note that screen readers will read this content preceding each date as the
|
|
133
|
+
* `<Calendar />` is navigated. Consider using
|
|
134
|
+
* [AccessibleContent](AccessibleContent) with the `alt` prop containing the
|
|
135
|
+
* full day name for assistive technologies and the children containing the
|
|
136
|
+
* abbreviation. ex. `[<AccessibleContent alt="Sunday">Sun</AccessibleContent>, ...]`
|
|
137
|
+
*/
|
|
138
|
+
renderWeekdayLabels?: (React.ReactNode | (() => React.ReactNode))[];
|
|
139
|
+
/**
|
|
140
|
+
* A button to render in the calendar navigation header. The recommendation is
|
|
141
|
+
* to compose it with the [Button](Button) component, setting the `variant`
|
|
142
|
+
* prop to `icon`, the `size` prop to `small`, and setting the `icon` prop to
|
|
143
|
+
* [IconArrowOpenEnd](icons).
|
|
144
|
+
*/
|
|
145
|
+
renderNextMonthButton?: Renderable;
|
|
146
|
+
/**
|
|
147
|
+
* A button to render in the calendar navigation header. The recommendation is
|
|
148
|
+
* to compose it with the [Button](Button) component, setting the `variant`
|
|
149
|
+
* prop to `icon`, the `size` prop to `small`, and setting the `icon` prop to
|
|
150
|
+
* [IconArrowOpenStart](icons).
|
|
151
|
+
*/
|
|
152
|
+
renderPrevMonthButton?: Renderable;
|
|
153
|
+
/**
|
|
154
|
+
* children of type `<DateInput.Day />` There should be exactly 42 provided (6
|
|
155
|
+
* weeks).
|
|
156
|
+
*/
|
|
157
|
+
children?: ReactElement<CalendarDayProps>[];
|
|
158
|
+
disabledDates?: string[] | ((isoDateToCheck: string) => boolean);
|
|
159
|
+
/**
|
|
160
|
+
* ISO date string for the current date if necessary. Defaults to the current
|
|
161
|
+
* date in the user's timezone.
|
|
162
|
+
*/
|
|
163
|
+
currentDate?: string;
|
|
164
|
+
/**
|
|
165
|
+
* The message shown to the user when the data is invalid.
|
|
166
|
+
* If a string, shown to the user anytime the input is invalid.
|
|
167
|
+
*
|
|
168
|
+
* If a function, receives a single parameter:
|
|
169
|
+
* - *rawDateValue*: the string entered as a date by the user.
|
|
170
|
+
**/
|
|
171
|
+
invalidDateErrorMessage?: string | ((rawDateValue: string) => FormMessage);
|
|
172
|
+
/**
|
|
173
|
+
* Error message shown to the user if they enter a date that is disabled.
|
|
174
|
+
* If not specified the component will show the `invalidDateTimeMessage`.
|
|
175
|
+
*/
|
|
176
|
+
disabledDateErrorMessage?: string | ((rawDateValue: string) => FormMessage);
|
|
177
|
+
/**
|
|
178
|
+
* A standard language identifier.
|
|
179
|
+
*
|
|
180
|
+
* See [Moment.js](https://momentjs.com/timezone/docs/#/using-timezones/parsing-in-zone/) for
|
|
181
|
+
* more details.
|
|
182
|
+
*
|
|
183
|
+
* This property can also be set via a context property and if both are set
|
|
184
|
+
* then the component property takes precedence over the context property.
|
|
185
|
+
*
|
|
186
|
+
* The web browser's locale will be used if no value is set via a component
|
|
187
|
+
* property or a context property.
|
|
188
|
+
**/
|
|
189
|
+
locale?: string;
|
|
190
|
+
/**
|
|
191
|
+
* A timezone identifier in the format: *Area/Location*
|
|
192
|
+
*
|
|
193
|
+
* See [List of tz database time zones](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones) for the list
|
|
194
|
+
* of possible options.
|
|
195
|
+
*
|
|
196
|
+
* This property can also be set via a context property and if both are set
|
|
197
|
+
* then the component property takes precedence over the context property.
|
|
198
|
+
*
|
|
199
|
+
* The web browser's timezone will be used if no value is set via a component
|
|
200
|
+
* property or a context property.
|
|
201
|
+
**/
|
|
202
|
+
timezone?: string;
|
|
203
|
+
/**
|
|
204
|
+
* If set, years can be picked from a dropdown.
|
|
205
|
+
* It accepts an object.
|
|
206
|
+
* screenReaderLabel: string // e.g.: i18n("pick a year")
|
|
207
|
+
*
|
|
208
|
+
* onRequestYearChange?:(e: React.MouseEvent,requestedYear: number): void // if set, on year change, only this will be called and no internal change will take place
|
|
209
|
+
*
|
|
210
|
+
* startYear: number // e.g.: 2001, sets the start year of the selectable list
|
|
211
|
+
*
|
|
212
|
+
* endYear: number // e.g.: 2030, sets the end year of the selectable list
|
|
213
|
+
*/
|
|
214
|
+
withYearPicker?: {
|
|
215
|
+
screenReaderLabel: string;
|
|
216
|
+
onRequestYearChange?: (e: any, requestedYear: number) => void;
|
|
217
|
+
startYear: number;
|
|
218
|
+
endYear: number;
|
|
219
|
+
};
|
|
220
|
+
};
|
|
221
|
+
type PropKeys = keyof DateInputOwnProps;
|
|
222
|
+
type AllowedPropKeys = Readonly<Array<PropKeys>>;
|
|
223
|
+
type DateInputProps = DateInputOwnProps & WithStyleProps<null, DateInputStyle> & OtherHTMLAttributes<DateInputOwnProps, InputHTMLAttributes<DateInputOwnProps & Element>>;
|
|
224
|
+
type DateInputStyle = ComponentStyle<'dateInput' | 'assistiveText'>;
|
|
225
|
+
declare const allowedProps: AllowedPropKeys;
|
|
226
|
+
type DateInputState = {
|
|
227
|
+
hasInputRef: boolean;
|
|
228
|
+
isShowingCalendar: boolean;
|
|
229
|
+
validatedDate?: string;
|
|
230
|
+
messages: FormMessage[];
|
|
231
|
+
};
|
|
232
|
+
export type { DateInputProps, DateInputStyle, DateInputState };
|
|
233
|
+
export { allowedProps };
|
|
234
|
+
//# sourceMappingURL=props.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"props.d.ts","sourceRoot":"","sources":["../../../src/DateInput/v2/props.ts"],"names":[],"mappings":"AAwBA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,iCAAiC,CAAA;AACvE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,mCAAmC,CAAA;AACpE,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAA;AACnE,OAAO,KAAK,EAAE,UAAU,EAAE,mBAAmB,EAAE,MAAM,2BAA2B,CAAA;AAChF,OAAO,KAAK,EAAE,cAAc,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAA;AAC1E,OAAO,EAAE,mBAAmB,EAAE,YAAY,EAAE,cAAc,EAAE,MAAM,OAAO,CAAA;AAEzE,KAAK,iBAAiB,GAAG;IACvB;;OAEG;IACH,WAAW,EAAE,UAAU,CAAA;IACvB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAA;IACd;;OAEG;IACH,IAAI,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAA;IACnC;;;OAGG;IACH,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB;;;;;OAKG;IACH,QAAQ,CAAC,EAAE,CACT,KAAK,EAAE,KAAK,CAAC,WAAW,CAAC,gBAAgB,CAAC,EAC1C,KAAK,EAAE;QAAE,KAAK,EAAE,MAAM,CAAA;KAAE,KACrB,IAAI,CAAA;IACT;;OAEG;IACH,MAAM,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC,cAAc,KAAK,IAAI,CAAA;IAC9C;;;;;OAKG;IACH,WAAW,CAAC,EAAE,SAAS,GAAG,UAAU,GAAG,UAAU,CAAA;IACjD;;OAEG;IACH,UAAU,CAAC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CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAA;AAEhD,KAAK,cAAc,GAAG,iBAAiB,GACrC,cAAc,CAAC,IAAI,EAAE,cAAc,CAAC,GACpC,mBAAmB,CACjB,iBAAiB,EACjB,mBAAmB,CAAC,iBAAiB,GAAG,OAAO,CAAC,CACjD,CAAA;AAEH,KAAK,cAAc,GAAG,cAAc,CAAC,WAAW,GAAG,eAAe,CAAC,CAAA;AACnE,QAAA,MAAM,YAAY,EAAE,eAoCnB,CAAA;AAED,KAAK,cAAc,GAAG;IACpB,WAAW,EAAE,OAAO,CAAA;IACpB,iBAAiB,EAAE,OAAO,CAAA;IAC1B,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,QAAQ,EAAE,WAAW,EAAE,CAAA;CACxB,CAAA;AAED,YAAY,EAAE,cAAc,EAAE,cAAc,EAAE,cAAc,EAAE,CAAA;AAC9D,OAAO,EAAE,YAAY,EAAE,CAAA"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { DateInputProps, DateInputStyle } from './props';
|
|
2
|
+
/**
|
|
3
|
+
* ---
|
|
4
|
+
* private: true
|
|
5
|
+
* ---
|
|
6
|
+
* Generates the style object from the theme and provided additional information
|
|
7
|
+
* @param _componentTheme The theme variable object.
|
|
8
|
+
* @param props the props of the component, the style is applied to
|
|
9
|
+
* @return The final style object, which will be used in the component
|
|
10
|
+
*/
|
|
11
|
+
declare const generateStyle: (_componentTheme: null, props: DateInputProps) => DateInputStyle;
|
|
12
|
+
export default generateStyle;
|
|
13
|
+
//# sourceMappingURL=styles.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../src/DateInput/v2/styles.ts"],"names":[],"mappings":"AAwBA,OAAO,KAAK,EAAE,cAAc,EAAE,cAAc,EAAE,MAAM,SAAS,CAAA;AAE7D;;;;;;;;GAQG;AACH,QAAA,MAAM,aAAa,GACjB,iBAAiB,IAAI,EACrB,OAAO,cAAc,KACpB,cAWF,CAAA;AAED,eAAe,aAAa,CAAA"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { SyntheticEvent } from 'react';
|
|
2
|
-
import { TextInput } from '@instructure/ui-text-input';
|
|
3
|
-
import type { FormMessage } from '@instructure/ui-form-field';
|
|
2
|
+
import { TextInput } from '@instructure/ui-text-input/v11_6';
|
|
3
|
+
import type { FormMessage } from '@instructure/ui-form-field/v11_6';
|
|
4
4
|
/**
|
|
5
5
|
---
|
|
6
6
|
category: components
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/DateInput2/v1/index.tsx"],"names":[],"mappings":"AAyBA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAA;AAS3C,OAAO,EAAE,SAAS,EAAE,MAAM,kCAAkC,CAAA;AAK5D,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAA;AAiFnE;;;;GAIG;AACH,QAAA,MAAM,UAAU;;;;;;wBAtFuC,CAAC;;;;;;;;;;;;;;;;2BAiG7C,CAAC;;;;;;;;;;;;;;;;;;;wBAjG2C,CAAC;;;;;;;;;;;;;;;;2BAiG7C,CAAC;;;;;;;;;;;;;;;;;;;wBAjG2C,CAAC;;;;;;;;;;;;;;;;2BAiG7C,CAAC;;;;;;;;;;;;;;;6CAsMX,CAAA;AAKD,eAAe,UAAU,CAAA;AACzB,OAAO,EAAE,UAAU,EAAE,CAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { SyntheticEvent, InputHTMLAttributes } from 'react';
|
|
2
|
-
import type { FormMessage } from '@instructure/ui-form-field';
|
|
2
|
+
import type { FormMessage } from '@instructure/ui-form-field/v11_6';
|
|
3
3
|
import type { OtherHTMLAttributes, Renderable } from '@instructure/shared-types';
|
|
4
4
|
import type { Spacing } from '@instructure/emotion';
|
|
5
5
|
type DateInput2OwnProps = {
|
|
@@ -0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0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"a.d.ts","sourceRoot":"","sources":["../../src/exports/a.ts"],"names":[],"mappings":"AAwBA,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAA;AAC3C,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAA;AAC7C,YAAY,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAA;AAC3D,YAAY,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"b.d.ts","sourceRoot":"","sources":["../../src/exports/b.ts"],"names":[],"mappings":"AAwBA,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAA;AAC3C,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAA;AAC7C,YAAY,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAA;AAC3D,YAAY,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/DateInput/index.tsx"],"names":[],"mappings":"AAwBA,OAAO,EAAY,SAAS,EAAE,YAAY,EAAE,MAAM,OAAO,CAAA;AAGzD,OAAO,KAAK,EAAiB,gBAAgB,EAAE,MAAM,0BAA0B,CAAA;AAI/E,OAAO,KAAK,EACV,eAAe,EACf,gBAAgB,EACjB,MAAM,4BAA4B,CAAA;AAEnC,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAA;AAShE,OAAO,EAAY,kBAAkB,EAAU,MAAM,sBAAsB,CAAA;AAO3E,OAAO,KAAK,EAAE,cAAc,EAAE,cAAc,EAAE,MAAM,SAAS,CAAA;AAC7D,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,4BAA4B,CAAA;AAE7D;;;;GAIG;AACH,cACM,SAAU,SAAQ,SAAS,CAAC,cAAc,EAAE,cAAc,CAAC;IAC/D,MAAM,C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A;AAEvC,KAAK,eAAe,GAAG,QAAQ,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAA;AAEhD,KAAK,cAAc,GAAG,iBAAiB,GACrC,cAAc,CAAC,IAAI,EAAE,cAAc,CAAC,GACpC,mBAAmB,CACjB,iBAAiB,EACjB,mBAAmB,CAAC,iBAAiB,GAAG,OAAO,CAAC,CACjD,CAAA;AAEH,KAAK,cAAc,GAAG,cAAc,CAAC,WAAW,GAAG,eAAe,CAAC,CAAA;AACnE,QAAA,MAAM,YAAY,EAAE,eAoCnB,CAAA;AAED,KAAK,cAAc,GAAG;IACpB,WAAW,EAAE,OAAO,CAAA;IACpB,iBAAiB,EAAE,OAAO,CAAA;IAC1B,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,QAAQ,EAAE,WAAW,EAAE,CAAA;CACxB,CAAA;AAED,YAAY,EAAE,cAAc,EAAE,cAAc,EAAE,cAAc,EAAE,CAAA;AAC9D,OAAO,EAAE,YAAY,EAAE,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../src/DateInput/styles.ts"],"names":[],"mappings":"AAwBA,OAAO,KAAK,EAAE,cAAc,EAAE,cAAc,EAAE,MAAM,SAAS,CAAA;AAE7D;;;;;;;;GAQG;AACH,QAAA,MAAM,aAAa,GACjB,iBAAiB,IAAI,EACrB,OAAO,cAAc,KACpB,cAWF,CAAA;AAED,eAAe,aAAa,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/DateInput2/index.tsx"],"names":[],"mappings":"AAyBA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAA;AAS3C,OAAO,EAAE,SAAS,EAAE,MAAM,4BAA4B,CAAA;AAKtD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,4BAA4B,CAAA;AAiF7D;;;;GAIG;AACH,QAAA,MAAM,UAA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,OAAO,CAAC,CAAA;IAEhE;;OAEG;IACH,QAAQ,CAAC,EAAE,CAAC,YAAY,EAAE,gBAAgB,GAAG,IAAI,KAAK,IAAI,CAAA;CAC3D,CAAA;AAED,KAAK,eAAe,GAAG,kBAAkB,GACvC,mBAAmB,CACjB,kBAAkB,EAClB,mBAAmB,CAAC,kBAAkB,GAAG,OAAO,CAAC,CAClD,CAAA;AACH,YAAY,EAAE,eAAe,EAAE,CAAA"}
|
package/types/index.d.ts
DELETED
package/types/index.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAwBA,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAA;AACvC,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AACzC,YAAY,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAA;AACvD,YAAY,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAA"}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|