@khanacademy/wonder-blocks-date-picker 1.0.18 → 1.0.19

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 CHANGED
@@ -1,5 +1,16 @@
1
1
  # @khanacademy/wonder-blocks-date-picker
2
2
 
3
+ ## 1.0.19
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [3e7925e]
8
+ - @khanacademy/wonder-blocks-tokens@17.2.0
9
+ - @khanacademy/wonder-blocks-form@7.6.9
10
+ - @khanacademy/wonder-blocks-icon@5.3.22
11
+ - @khanacademy/wonder-blocks-modal@8.7.10
12
+ - @khanacademy/wonder-blocks-styles@0.2.52
13
+
3
14
  ## 1.0.18
4
15
 
5
16
  ### Patch Changes
@@ -108,14 +108,10 @@ interface Props {
108
108
  close: () => unknown;
109
109
  }) => React.ReactNode;
110
110
  }
111
- /**
112
- * A UI component that allows the user to pick a date by using an input element
113
- * or the calendar popup exposed by `react-day-picker`.
114
- */
115
- declare const DatePicker: {
116
- (props: Props): React.JSX.Element;
117
- defaultProps: {
111
+ declare function DatePicker(props: Props): React.JSX.Element;
112
+ declare namespace DatePicker {
113
+ var defaultProps: {
118
114
  closeOnSelect: boolean;
119
115
  };
120
- };
116
+ }
121
117
  export default DatePicker;
@@ -120,10 +120,10 @@ export declare const TemporalLocaleUtils: {
120
120
  normalizeDateStringForComparison: typeof normalizeDateStringForComparison;
121
121
  parseDate: typeof parseDate;
122
122
  parseDateToJsDate: typeof parseDateToJsDate;
123
- startOfIsoWeek: (date: Temporal.PlainDate) => Temporal.PlainDate;
124
- startOfDay: (date: Date) => Date;
125
- endOfDay: (date: Date) => Date;
123
+ startOfIsoWeek: typeof startOfIsoWeek;
124
+ startOfDay: typeof startOfDay;
125
+ endOfDay: typeof endOfDay;
126
126
  temporalDateToJsDate: typeof temporalDateToJsDate;
127
127
  jsDateToTemporalDate: typeof jsDateToTemporalDate;
128
- getModifiersForDay: (day: Date, modifiers: Partial<CustomModifiers>) => Array<string>;
128
+ getModifiersForDay: typeof getModifiersForDay;
129
129
  };
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "description": "Date picker component for Wonder Blocks.",
4
4
  "author": "Khan Academy",
5
5
  "license": "MIT",
6
- "version": "1.0.18",
6
+ "version": "1.0.19",
7
7
  "publishConfig": {
8
8
  "access": "public"
9
9
  },
@@ -29,11 +29,11 @@
29
29
  "dependencies": {
30
30
  "react-day-picker": "^9.11.1",
31
31
  "@khanacademy/wonder-blocks-core": "12.4.4",
32
- "@khanacademy/wonder-blocks-form": "7.6.8",
33
- "@khanacademy/wonder-blocks-icon": "5.3.21",
34
- "@khanacademy/wonder-blocks-modal": "8.7.9",
35
- "@khanacademy/wonder-blocks-styles": "0.2.51",
36
- "@khanacademy/wonder-blocks-tokens": "17.1.0"
32
+ "@khanacademy/wonder-blocks-form": "7.6.9",
33
+ "@khanacademy/wonder-blocks-icon": "5.3.22",
34
+ "@khanacademy/wonder-blocks-modal": "8.7.10",
35
+ "@khanacademy/wonder-blocks-styles": "0.2.52",
36
+ "@khanacademy/wonder-blocks-tokens": "17.2.0"
37
37
  },
38
38
  "peerDependencies": {
39
39
  "@phosphor-icons/core": "^2.0.2",