@openmrs/esm-framework 6.0.5-pre.2690 → 6.0.5-pre.2695

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/docs/API.md CHANGED
@@ -546,7 +546,7 @@ A type for any of the acceptable date formats
546
546
 
547
547
  #### Defined in
548
548
 
549
- [packages/framework/esm-styleguide/src/datepicker/index.tsx:77](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/datepicker/index.tsx#L77)
549
+ [packages/framework/esm-styleguide/src/datepicker/index.tsx:73](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/datepicker/index.tsx#L73)
550
550
 
551
551
  ___
552
552
 
@@ -1859,7 +1859,7 @@ A date picker component to select a single date. Based on React Aria, but styled
1859
1859
 
1860
1860
  #### Defined in
1861
1861
 
1862
- [packages/framework/esm-styleguide/src/datepicker/index.tsx:411](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/datepicker/index.tsx#L411)
1862
+ [packages/framework/esm-styleguide/src/datepicker/index.tsx:392](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/datepicker/index.tsx#L392)
1863
1863
 
1864
1864
  ___
1865
1865
 
@@ -23,7 +23,6 @@ Properties for the OpenmrsDatePicker
23
23
  - [className](OpenmrsDatePickerProps.md#classname)
24
24
  - [defaultOpen](OpenmrsDatePickerProps.md#defaultopen)
25
25
  - [defaultValue](OpenmrsDatePickerProps.md#defaultvalue)
26
- - [firstDayOfWeek](OpenmrsDatePickerProps.md#firstdayofweek)
27
26
  - [granularity](OpenmrsDatePickerProps.md#granularity)
28
27
  - [hideTimeZone](OpenmrsDatePickerProps.md#hidetimezone)
29
28
  - [hourCycle](OpenmrsDatePickerProps.md#hourcycle)
@@ -161,7 +160,7 @@ Omit.children
161
160
 
162
161
  #### Defined in
163
162
 
164
- node_modules/react-aria-components/dist/types.d.ts:60
163
+ node_modules/react-aria-components/dist/types.d.ts:56
165
164
 
166
165
  ___
167
166
 
@@ -173,7 +172,7 @@ Any CSS classes to add to the outer div of the date picker
173
172
 
174
173
  #### Defined in
175
174
 
176
- [packages/framework/esm-styleguide/src/datepicker/index.tsx:86](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/datepicker/index.tsx#L86)
175
+ [packages/framework/esm-styleguide/src/datepicker/index.tsx:82](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/datepicker/index.tsx#L82)
177
176
 
178
177
  ___
179
178
 
@@ -201,23 +200,7 @@ The default value (uncontrolled)
201
200
 
202
201
  #### Defined in
203
202
 
204
- [packages/framework/esm-styleguide/src/datepicker/index.tsx:88](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/datepicker/index.tsx#L88)
205
-
206
- ___
207
-
208
- ### firstDayOfWeek
209
-
210
- • `Optional` **firstDayOfWeek**: ``"sun"`` \| ``"mon"`` \| ``"tue"`` \| ``"wed"`` \| ``"thu"`` \| ``"fri"`` \| ``"sat"``
211
-
212
- The day that starts the week.
213
-
214
- #### Inherited from
215
-
216
- Omit.firstDayOfWeek
217
-
218
- #### Defined in
219
-
220
- node_modules/@react-types/datepicker/src/index.d.ts:78
203
+ [packages/framework/esm-styleguide/src/datepicker/index.tsx:84](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/datepicker/index.tsx#L84)
221
204
 
222
205
  ___
223
206
 
@@ -295,7 +278,7 @@ Whether the input value is invalid.
295
278
 
296
279
  #### Defined in
297
280
 
298
- [packages/framework/esm-styleguide/src/datepicker/index.tsx:90](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/datepicker/index.tsx#L90)
281
+ [packages/framework/esm-styleguide/src/datepicker/index.tsx:86](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/datepicker/index.tsx#L86)
299
282
 
300
283
  ___
301
284
 
@@ -307,7 +290,7 @@ Text to show if the input is invalid e.g. an error message
307
290
 
308
291
  #### Defined in
309
292
 
310
- [packages/framework/esm-styleguide/src/datepicker/index.tsx:92](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/datepicker/index.tsx#L92)
293
+ [packages/framework/esm-styleguide/src/datepicker/index.tsx:88](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/datepicker/index.tsx#L88)
311
294
 
312
295
  ___
313
296
 
@@ -401,7 +384,7 @@ The label for this DatePicker element
401
384
 
402
385
  #### Defined in
403
386
 
404
- [packages/framework/esm-styleguide/src/datepicker/index.tsx:97](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/datepicker/index.tsx#L97)
387
+ [packages/framework/esm-styleguide/src/datepicker/index.tsx:93](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/datepicker/index.tsx#L93)
405
388
 
406
389
  ___
407
390
 
@@ -413,7 +396,7 @@ The label for this DatePicker element.
413
396
 
414
397
  #### Defined in
415
398
 
416
- [packages/framework/esm-styleguide/src/datepicker/index.tsx:99](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/datepicker/index.tsx#L99)
399
+ [packages/framework/esm-styleguide/src/datepicker/index.tsx:95](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/datepicker/index.tsx#L95)
417
400
 
418
401
  ___
419
402
 
@@ -425,7 +408,7 @@ ___
425
408
 
426
409
  #### Defined in
427
410
 
428
- [packages/framework/esm-styleguide/src/datepicker/index.tsx:101](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/datepicker/index.tsx#L101)
411
+ [packages/framework/esm-styleguide/src/datepicker/index.tsx:97](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/datepicker/index.tsx#L97)
429
412
 
430
413
  ___
431
414
 
@@ -437,13 +420,13 @@ The latest date it is possible to select
437
420
 
438
421
  #### Defined in
439
422
 
440
- [packages/framework/esm-styleguide/src/datepicker/index.tsx:103](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/datepicker/index.tsx#L103)
423
+ [packages/framework/esm-styleguide/src/datepicker/index.tsx:99](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/datepicker/index.tsx#L99)
441
424
 
442
425
  ___
443
426
 
444
427
  ### maxValue
445
428
 
446
- • `Optional` **maxValue**: ``null`` \| `DateValue`
429
+ • `Optional` **maxValue**: `DateValue`
447
430
 
448
431
  The maximum allowed date that a user may select.
449
432
 
@@ -465,13 +448,13 @@ The earliest date it is possible to select
465
448
 
466
449
  #### Defined in
467
450
 
468
- [packages/framework/esm-styleguide/src/datepicker/index.tsx:105](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/datepicker/index.tsx#L105)
451
+ [packages/framework/esm-styleguide/src/datepicker/index.tsx:101](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/datepicker/index.tsx#L101)
469
452
 
470
453
  ___
471
454
 
472
455
  ### minValue
473
456
 
474
- • `Optional` **minValue**: ``null`` \| `DateValue`
457
+ • `Optional` **minValue**: `DateValue`
475
458
 
476
459
  The minimum allowed date that a user may select.
477
460
 
@@ -521,7 +504,7 @@ ___
521
504
 
522
505
  ### placeholderValue
523
506
 
524
- • `Optional` **placeholderValue**: ``null`` \| `CalendarDate`
507
+ • `Optional` **placeholderValue**: `CalendarDate`
525
508
 
526
509
  A placeholder date that influences the format of the placeholder shown when no value is selected. Defaults to today's date at midnight.
527
510
 
@@ -543,7 +526,7 @@ ___
543
526
 
544
527
  #### Defined in
545
528
 
546
- [packages/framework/esm-styleguide/src/datepicker/index.tsx:113](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/datepicker/index.tsx#L113)
529
+ [packages/framework/esm-styleguide/src/datepicker/index.tsx:109](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/datepicker/index.tsx#L109)
547
530
 
548
531
  ___
549
532
 
@@ -590,7 +573,7 @@ Specifies the size of the input. Currently supports either `sm`, `md`, or `lg` a
590
573
 
591
574
  #### Defined in
592
575
 
593
- [packages/framework/esm-styleguide/src/datepicker/index.tsx:111](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/datepicker/index.tsx#L111)
576
+ [packages/framework/esm-styleguide/src/datepicker/index.tsx:107](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/datepicker/index.tsx#L107)
594
577
 
595
578
  ___
596
579
 
@@ -607,13 +590,13 @@ Omit.slot
607
590
 
608
591
  #### Defined in
609
592
 
610
- node_modules/react-aria-components/dist/types.d.ts:77
593
+ node_modules/react-aria-components/dist/types.d.ts:73
611
594
 
612
595
  ___
613
596
 
614
597
  ### style
615
598
 
616
- • `Optional` **style**: `CSSProperties` \| (`values`: `DatePickerRenderProps` & { `defaultStyle`: `CSSProperties` }) => `undefined` \| `CSSProperties`
599
+ • `Optional` **style**: `CSSProperties` \| (`values`: `DatePickerRenderProps` & { `defaultStyle`: `CSSProperties` }) => `CSSProperties`
617
600
 
618
601
  The inline [style](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/style) for the element. A function may be provided to compute the style based on component state.
619
602
 
@@ -623,7 +606,7 @@ Omit.style
623
606
 
624
607
  #### Defined in
625
608
 
626
- node_modules/react-aria-components/dist/types.d.ts:54
609
+ node_modules/react-aria-components/dist/types.d.ts:50
627
610
 
628
611
  ___
629
612
 
@@ -643,7 +626,7 @@ Omit.validationBehavior
643
626
 
644
627
  #### Defined in
645
628
 
646
- node_modules/react-aria-components/dist/types.d.ts:88
629
+ node_modules/react-aria-components/dist/types.d.ts:84
647
630
 
648
631
  ___
649
632
 
@@ -655,7 +638,7 @@ The value (controlled)
655
638
 
656
639
  #### Defined in
657
640
 
658
- [packages/framework/esm-styleguide/src/datepicker/index.tsx:115](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/datepicker/index.tsx#L115)
641
+ [packages/framework/esm-styleguide/src/datepicker/index.tsx:111](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/datepicker/index.tsx#L111)
659
642
 
660
643
  ## Methods
661
644
 
@@ -729,7 +712,7 @@ Handler that is called when the value changes.
729
712
 
730
713
  #### Defined in
731
714
 
732
- [packages/framework/esm-styleguide/src/datepicker/index.tsx:107](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/datepicker/index.tsx#L107)
715
+ [packages/framework/esm-styleguide/src/datepicker/index.tsx:103](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/datepicker/index.tsx#L103)
733
716
 
734
717
  ___
735
718
 
@@ -751,7 +734,7 @@ Handler that is called when the value changes. Note that this provides types fro
751
734
 
752
735
  #### Defined in
753
736
 
754
- [packages/framework/esm-styleguide/src/datepicker/index.tsx:109](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/datepicker/index.tsx#L109)
737
+ [packages/framework/esm-styleguide/src/datepicker/index.tsx:105](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/datepicker/index.tsx#L105)
755
738
 
756
739
  ___
757
740
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openmrs/esm-framework",
3
- "version": "6.0.5-pre.2690",
3
+ "version": "6.0.5-pre.2695",
4
4
  "license": "MPL-2.0",
5
5
  "browser": "dist/openmrs-esm-framework.js",
6
6
  "main": "src/index.ts",
@@ -37,23 +37,23 @@
37
37
  "access": "public"
38
38
  },
39
39
  "dependencies": {
40
- "@openmrs/esm-api": "6.0.5-pre.2690",
41
- "@openmrs/esm-config": "6.0.5-pre.2690",
42
- "@openmrs/esm-context": "6.0.5-pre.2690",
43
- "@openmrs/esm-dynamic-loading": "6.0.5-pre.2690",
44
- "@openmrs/esm-error-handling": "6.0.5-pre.2690",
45
- "@openmrs/esm-expression-evaluator": "6.0.5-pre.2690",
46
- "@openmrs/esm-extensions": "6.0.5-pre.2690",
47
- "@openmrs/esm-feature-flags": "6.0.5-pre.2690",
48
- "@openmrs/esm-globals": "6.0.5-pre.2690",
49
- "@openmrs/esm-navigation": "6.0.5-pre.2690",
50
- "@openmrs/esm-offline": "6.0.5-pre.2690",
51
- "@openmrs/esm-react-utils": "6.0.5-pre.2690",
52
- "@openmrs/esm-routes": "6.0.5-pre.2690",
53
- "@openmrs/esm-state": "6.0.5-pre.2690",
54
- "@openmrs/esm-styleguide": "6.0.5-pre.2690",
55
- "@openmrs/esm-translations": "6.0.5-pre.2690",
56
- "@openmrs/esm-utils": "6.0.5-pre.2690",
40
+ "@openmrs/esm-api": "6.0.5-pre.2695",
41
+ "@openmrs/esm-config": "6.0.5-pre.2695",
42
+ "@openmrs/esm-context": "6.0.5-pre.2695",
43
+ "@openmrs/esm-dynamic-loading": "6.0.5-pre.2695",
44
+ "@openmrs/esm-error-handling": "6.0.5-pre.2695",
45
+ "@openmrs/esm-expression-evaluator": "6.0.5-pre.2695",
46
+ "@openmrs/esm-extensions": "6.0.5-pre.2695",
47
+ "@openmrs/esm-feature-flags": "6.0.5-pre.2695",
48
+ "@openmrs/esm-globals": "6.0.5-pre.2695",
49
+ "@openmrs/esm-navigation": "6.0.5-pre.2695",
50
+ "@openmrs/esm-offline": "6.0.5-pre.2695",
51
+ "@openmrs/esm-react-utils": "6.0.5-pre.2695",
52
+ "@openmrs/esm-routes": "6.0.5-pre.2695",
53
+ "@openmrs/esm-state": "6.0.5-pre.2695",
54
+ "@openmrs/esm-styleguide": "6.0.5-pre.2695",
55
+ "@openmrs/esm-translations": "6.0.5-pre.2695",
56
+ "@openmrs/esm-utils": "6.0.5-pre.2695",
57
57
  "dayjs": "^1.10.7"
58
58
  },
59
59
  "peerDependencies": {