@instructure/ui-date-input 8.52.1-snapshot-7 → 8.52.1-snapshot-11

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.
@@ -0,0 +1,2 @@
1
+ import '@testing-library/jest-dom';
2
+ //# sourceMappingURL=DateInput.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DateInput.test.d.ts","sourceRoot":"","sources":["../../../src/DateInput/__new-tests__/DateInput.test.tsx"],"names":[],"mappings":"AA0BA,OAAO,2BAA2B,CAAA"}
@@ -3,8 +3,10 @@ import React, { Component } from 'react';
3
3
  import type { CalendarDayProps } from '@instructure/ui-calendar';
4
4
  import type { SelectableProps, SelectableRender } from '@instructure/ui-selectable';
5
5
  import type { TextInputProps } from '@instructure/ui-text-input';
6
+ import { ApplyLocaleContext } from '@instructure/ui-i18n';
6
7
  import { jsx } from '@instructure/emotion';
7
- import type { DateInputProps } from './props';
8
+ import type { DateInputProps, DateInputState } from './props';
9
+ import type { FormMessage } from '@instructure/ui-form-field';
8
10
  /**
9
11
  ---
10
12
  category: components
@@ -12,9 +14,10 @@ category: components
12
14
  The `DateInput` component provides a visual interface for inputting date data.
13
15
  See <https://instructure.design/#DateInput/>
14
16
  **/
15
- declare class DateInput extends Component<DateInputProps> {
17
+ declare class DateInput extends Component<DateInputProps, DateInputState> {
16
18
  static readonly componentId = "DateInput";
17
19
  static Day: typeof import("@instructure/ui-calendar/types/Calendar/Day").default;
20
+ context: React.ContextType<typeof ApplyLocaleContext>;
18
21
  static propTypes: import("@instructure/shared-types/types/UtilityTypes").PropValidators<keyof {
19
22
  renderLabel: import("@instructure/shared-types").Renderable;
20
23
  value?: string | undefined;
@@ -32,10 +35,10 @@ declare class DateInput extends Component<DateInputProps> {
32
35
  width?: string | undefined;
33
36
  display?: "inline-block" | "block" | undefined;
34
37
  inputRef?: ((element: HTMLInputElement | null) => void) | undefined;
35
- messages?: import("@instructure/ui-form-field/types/FormPropTypes").FormMessage[] | undefined;
38
+ messages?: FormMessage[] | undefined;
36
39
  placement?: import("@instructure/ui-position").PlacementPropValues | undefined;
37
40
  isShowingCalendar?: boolean | undefined;
38
- onRequestValidateDate?: ((event: React.SyntheticEvent<Element, Event>) => void) | undefined;
41
+ onRequestValidateDate?: ((event: React.SyntheticEvent<Element, Event>, dateString?: string | undefined, validation?: FormMessage[] | undefined) => void | FormMessage[]) | undefined;
39
42
  onRequestShowCalendar?: ((event: React.SyntheticEvent<Element, Event>) => void) | undefined;
40
43
  onRequestHideCalendar?: ((event: React.SyntheticEvent<Element, Event>) => void) | undefined;
41
44
  onRequestSelectNextDay?: ((event: React.SyntheticEvent<Element, Event>) => void) | undefined;
@@ -43,10 +46,16 @@ declare class DateInput extends Component<DateInputProps> {
43
46
  onRequestRenderNextMonth?: ((e: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
44
47
  onRequestRenderPrevMonth?: ((e: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
45
48
  renderNavigationLabel?: React.ReactNode | (() => React.ReactNode);
46
- renderWeekdayLabels: (React.ReactNode | (() => React.ReactNode))[];
49
+ renderWeekdayLabels?: (React.ReactNode | (() => React.ReactNode))[] | undefined;
47
50
  renderNextMonthButton?: import("@instructure/shared-types").Renderable;
48
51
  renderPrevMonthButton?: import("@instructure/shared-types").Renderable;
49
52
  children?: React.ReactElement<CalendarDayProps, string | React.JSXElementConstructor<any>>[] | undefined;
53
+ disabledDates?: string[] | ((isoDateToCheck: string) => boolean) | undefined;
54
+ currentDate?: string | undefined;
55
+ invalidDateErrorMessage?: string | ((rawDateValue: string) => FormMessage) | undefined;
56
+ disabledDateErrorMessage?: string | ((rawDateValue: string) => FormMessage) | undefined;
57
+ locale?: string | undefined;
58
+ timezone?: string | undefined;
50
59
  }>;
51
60
  static allowedProps: readonly (keyof {
52
61
  renderLabel: import("@instructure/shared-types").Renderable;
@@ -65,10 +74,10 @@ declare class DateInput extends Component<DateInputProps> {
65
74
  width?: string | undefined;
66
75
  display?: "inline-block" | "block" | undefined;
67
76
  inputRef?: ((element: HTMLInputElement | null) => void) | undefined;
68
- messages?: import("@instructure/ui-form-field/types/FormPropTypes").FormMessage[] | undefined;
77
+ messages?: FormMessage[] | undefined;
69
78
  placement?: import("@instructure/ui-position").PlacementPropValues | undefined;
70
79
  isShowingCalendar?: boolean | undefined;
71
- onRequestValidateDate?: ((event: React.SyntheticEvent<Element, Event>) => void) | undefined;
80
+ onRequestValidateDate?: ((event: React.SyntheticEvent<Element, Event>, dateString?: string | undefined, validation?: FormMessage[] | undefined) => void | FormMessage[]) | undefined;
72
81
  onRequestShowCalendar?: ((event: React.SyntheticEvent<Element, Event>) => void) | undefined;
73
82
  onRequestHideCalendar?: ((event: React.SyntheticEvent<Element, Event>) => void) | undefined;
74
83
  onRequestSelectNextDay?: ((event: React.SyntheticEvent<Element, Event>) => void) | undefined;
@@ -76,10 +85,16 @@ declare class DateInput extends Component<DateInputProps> {
76
85
  onRequestRenderNextMonth?: ((e: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
77
86
  onRequestRenderPrevMonth?: ((e: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
78
87
  renderNavigationLabel?: React.ReactNode | (() => React.ReactNode);
79
- renderWeekdayLabels: (React.ReactNode | (() => React.ReactNode))[];
88
+ renderWeekdayLabels?: (React.ReactNode | (() => React.ReactNode))[] | undefined;
80
89
  renderNextMonthButton?: import("@instructure/shared-types").Renderable;
81
90
  renderPrevMonthButton?: import("@instructure/shared-types").Renderable;
82
91
  children?: React.ReactElement<CalendarDayProps, string | React.JSXElementConstructor<any>>[] | undefined;
92
+ disabledDates?: string[] | ((isoDateToCheck: string) => boolean) | undefined;
93
+ currentDate?: string | undefined;
94
+ invalidDateErrorMessage?: string | ((rawDateValue: string) => FormMessage) | undefined;
95
+ disabledDateErrorMessage?: string | ((rawDateValue: string) => FormMessage) | undefined;
96
+ locale?: string | undefined;
97
+ timezone?: string | undefined;
83
98
  })[];
84
99
  static defaultProps: {
85
100
  value: string;
@@ -94,9 +109,14 @@ declare class DateInput extends Component<DateInputProps> {
94
109
  };
95
110
  state: {
96
111
  hasInputRef: boolean;
112
+ isShowingCalendar: boolean;
113
+ validatedDate: undefined;
114
+ messages: never[];
97
115
  };
98
116
  _input?: HTMLInputElement | null;
99
117
  ref: Element | null;
118
+ locale(): string;
119
+ timezone(): string;
100
120
  componentDidMount(): void;
101
121
  componentDidUpdate(): void;
102
122
  get selectedDateId(): string | undefined;
@@ -105,10 +125,11 @@ declare class DateInput extends Component<DateInputProps> {
105
125
  handleInputRef: TextInputProps['inputRef'];
106
126
  handleInputChange: TextInputProps['onChange'];
107
127
  handleShowCalendar: (event: React.SyntheticEvent) => void;
108
- handleHideCalendar: (event: React.SyntheticEvent) => void;
128
+ validateDate: (date: string) => FormMessage[];
129
+ handleHideCalendar: (event: React.SyntheticEvent, setectedDate?: string) => void;
109
130
  handleHighlightOption: SelectableProps['onRequestHighlightOption'];
110
131
  renderMonthNavigationButton(type?: string): any;
111
- renderDays(getOptionProps: SelectableRender['getOptionProps']): React.ReactElement<CalendarDayProps, string | React.JSXElementConstructor<any>>[];
132
+ renderDays(getOptionProps: SelectableRender['getOptionProps']): React.ReactElement<CalendarDayProps, string | React.JSXElementConstructor<any>>[] | undefined;
112
133
  renderCalendar({ getListProps, getOptionProps }: {
113
134
  getListProps: SelectableRender['getListProps'];
114
135
  getOptionProps: SelectableRender['getOptionProps'];
@@ -117,6 +138,7 @@ declare class DateInput extends Component<DateInputProps> {
117
138
  getInputProps: SelectableRender['getInputProps'];
118
139
  getTriggerProps: SelectableRender['getInputProps'];
119
140
  }): jsx.JSX.Element;
141
+ shouldShowCalendar: () => boolean | undefined;
120
142
  render(): jsx.JSX.Element;
121
143
  }
122
144
  export default DateInput;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/DateInput/index.tsx"],"names":[],"mappings":"AAwBA,eAAe;AACf,OAAO,KAAK,EAAE,EAAY,SA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fired when the input is blurred. Feedback should be provided
95
95
  * to the user when this function is called if the selected date or input
96
- * value is not valid.
96
+ * value is not valid. The component calculates date validity and if it's
97
+ * disabled or nor and passes that information to this callback.
97
98
  */
98
- onRequestValidateDate?: (event: SyntheticEvent) => void;
99
+ onRequestValidateDate?: (event: SyntheticEvent, dateString?: string, validation?: FormMessage[]) => void | FormMessage[];
99
100
  /**
100
101
  * Callback fired requesting the calendar be shown.
101
102
  */
@@ -136,7 +137,7 @@ type DateInputOwnProps = {
136
137
  * full day name for assistive technologies and the children containing the
137
138
  * abbreviation. ex. `[<AccessibleContent alt="Sunday">Sun</AccessibleContent>, ...]`
138
139
  */
139
- renderWeekdayLabels: (React.ReactNode | (() => React.ReactNode))[];
140
+ renderWeekdayLabels?: (React.ReactNode | (() => React.ReactNode))[];
140
141
  /**
141
142
  * A button to render in the calendar navigation header. The recommendation is
142
143
  * to compose it with the [Button](#Button) component, setting the `variant`
@@ -156,6 +157,51 @@ type DateInputOwnProps = {
156
157
  * weeks).
157
158
  */
158
159
  children?: ReactElement<CalendarDayProps>[];
160
+ disabledDates?: string[] | ((isoDateToCheck: string) => boolean);
161
+ /**
162
+ * ISO date string for the current date if necessary. Defaults to the current
163
+ * date in the user's timezone.
164
+ */
165
+ currentDate?: string;
166
+ /**
167
+ * The message shown to the user when the data is invalid.
168
+ * If a string, shown to the user anytime the input is invalid.
169
+ *
170
+ * If a function, receives a single parameter:
171
+ * - *rawDateValue*: the string entered as a date by the user.
172
+ **/
173
+ invalidDateErrorMessage?: string | ((rawDateValue: string) => FormMessage);
174
+ /**
175
+ * Error message shown to the user if they enter a date that is disabled.
176
+ * If not specified the component will show the `invalidDateTimeMessage`.
177
+ */
178
+ disabledDateErrorMessage?: string | ((rawDateValue: string) => FormMessage);
179
+ /**
180
+ * A standard language identifier.
181
+ *
182
+ * See [Moment.js](https://momentjs.com/timezone/docs/#/using-timezones/parsing-in-zone/) for
183
+ * more details.
184
+ *
185
+ * This property can also be set via a context property and if both are set
186
+ * then the component property takes precedence over the context property.
187
+ *
188
+ * The web browser's locale will be used if no value is set via a component
189
+ * property or a context property.
190
+ **/
191
+ locale?: string;
192
+ /**
193
+ * A timezone identifier in the format: *Area/Location*
194
+ *
195
+ * See [List of tz database time zones](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones) for the list
196
+ * of possible options.
197
+ *
198
+ * This property can also be set via a context property and if both are set
199
+ * then the component property takes precedence over the context property.
200
+ *
201
+ * The web browser's timezone will be used if no value is set via a component
202
+ * property or a context property.
203
+ **/
204
+ timezone?: string;
159
205
  };
160
206
  type PropKeys = keyof DateInputOwnProps;
161
207
  type AllowedPropKeys = Readonly<Array<PropKeys>>;
@@ -163,6 +209,12 @@ type DateInputProps = DateInputOwnProps & WithStyleProps<null, DateInputStyle> &
163
209
  type DateInputStyle = ComponentStyle<'dateInput' | 'assistiveText'>;
164
210
  declare const propTypes: PropValidators<PropKeys>;
165
211
  declare const allowedProps: AllowedPropKeys;
166
- export type { DateInputProps, DateInputStyle };
212
+ type DateInputState = {
213
+ hasInputRef: boolean;
214
+ isShowingCalendar: boolean;
215
+ validatedDate?: string;
216
+ messages: FormMessage[];
217
+ };
218
+ export type { DateInputProps, DateInputStyle, DateInputState };
167
219
  export { propTypes, allowedProps };
168
220
  //# sourceMappingURL=props.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"props.d.ts","sourceRoot":"","sources":["../../src/DateInput/props.ts"],"names":[],"mappings":"AAiCA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAA;AAChE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,4BAA4B,CAAA;AAC7D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAA;AACnE,OAAO,KAAK,EACV,UAAU,EACV,mBAAmB,EACnB,cAAc,EACf,MAAM,2BAA2B,CAAA;AAClC,OAAO,KAAK,EAAE,cAAc,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAA;AAC1E,OA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