@openmrs/esm-framework 6.2.1-pre.2876 → 6.2.1-pre.2909
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
@@ -544,7 +544,7 @@ A type for any of the acceptable date formats
|
|
544
544
|
|
545
545
|
#### Defined in
|
546
546
|
|
547
|
-
[packages/framework/esm-styleguide/src/datepicker/index.tsx:
|
547
|
+
[packages/framework/esm-styleguide/src/datepicker/index.tsx:94](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/datepicker/index.tsx#L94)
|
548
548
|
|
549
549
|
___
|
550
550
|
|
@@ -1891,7 +1891,7 @@ A date picker component to select a single date. Based on React Aria, but styled
|
|
1891
1891
|
|
1892
1892
|
#### Defined in
|
1893
1893
|
|
1894
|
-
[packages/framework/esm-styleguide/src/datepicker/index.tsx:
|
1894
|
+
[packages/framework/esm-styleguide/src/datepicker/index.tsx:603](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/datepicker/index.tsx#L603)
|
1895
1895
|
|
1896
1896
|
___
|
1897
1897
|
|
@@ -6916,7 +6916,7 @@ invalid key to this function will result in a type error.
|
|
6916
6916
|
|
6917
6917
|
| Name | Type | Description |
|
6918
6918
|
| :------ | :------ | :------ |
|
6919
|
-
| `key` | ``"error"`` \| ``"change"`` \| ``"close"`` \| ``"other"`` \| ``"Clinic"`` \| ``"actions"`` \| ``"address"`` \| ``"age"`` \| ``"cancel"`` \| ``"confirm"`` \| ``"contactAdministratorIfIssuePersists"`` \| ``"contactDetails"`` \| ``"errorCopy"`` \| ``"female"`` \| ``"loading"`` \| ``"male"`` \| ``"patientIdentifierSticker"`` \| ``"patientLists"`` \| ``"print"`` \| ``"printError"`` \| ``"printErrorExplainer"`` \| ``"printIdentifierSticker"`` \| ``"printing"`` \| ``"relationships"`` \| ``"resetOverrides"`` \| ``"save"`` \| ``"scriptLoadingFailed"`` \| ``"scriptLoadingError"`` \| ``"seeMoreLists"`` \| ``"sex"`` \| ``"showLess"`` \| ``"showMore"`` \| ``"toggleDevTools"`` \| ``"unknown"`` \| ``"closeAllOpenedWorkspaces"`` \| ``"closingAllWorkspacesPromptBody"`` \| ``"closingAllWorkspacesPromptTitle"`` \| ``"discard"`` \| ``"hide"`` \| ``"maximize"`` \| ``"minimize"`` \| ``"openAnyway"`` \| ``"unsavedChangesInOpenedWorkspace"`` \| ``"unsavedChangesInWorkspace"`` \| ``"unsavedChangesTitleText"`` \| ``"workspaceHeader"`` \| ``"address1"`` \| ``"address2"`` \| ``"address3"`` \| ``"address4"`` \| ``"address5"`` \| ``"address6"`` \| ``"city"`` \| ``"cityVillage"`` \| ``"country"`` \| ``"countyDistrict"`` \| ``"district"`` \| ``"postalCode"`` \| ``"state"`` \| ``"stateProvince"`` | - |
|
6919
|
+
| `key` | ``"error"`` \| ``"change"`` \| ``"close"`` \| ``"other"`` \| ``"Clinic"`` \| ``"actions"`` \| ``"address"`` \| ``"age"`` \| ``"cancel"`` \| ``"confirm"`` \| ``"contactAdministratorIfIssuePersists"`` \| ``"contactDetails"`` \| ``"delete"`` \| ``"edit"`` \| ``"errorCopy"`` \| ``"female"`` \| ``"loading"`` \| ``"male"`` \| ``"patientIdentifierSticker"`` \| ``"patientLists"`` \| ``"print"`` \| ``"printError"`` \| ``"printErrorExplainer"`` \| ``"printIdentifierSticker"`` \| ``"printing"`` \| ``"relationships"`` \| ``"resetOverrides"`` \| ``"save"`` \| ``"scriptLoadingFailed"`` \| ``"scriptLoadingError"`` \| ``"seeMoreLists"`` \| ``"sex"`` \| ``"showLess"`` \| ``"showMore"`` \| ``"toggleDevTools"`` \| ``"unknown"`` \| ``"closeAllOpenedWorkspaces"`` \| ``"closingAllWorkspacesPromptBody"`` \| ``"closingAllWorkspacesPromptTitle"`` \| ``"discard"`` \| ``"hide"`` \| ``"maximize"`` \| ``"minimize"`` \| ``"openAnyway"`` \| ``"unsavedChangesInOpenedWorkspace"`` \| ``"unsavedChangesInWorkspace"`` \| ``"unsavedChangesTitleText"`` \| ``"workspaceHeader"`` \| ``"address1"`` \| ``"address2"`` \| ``"address3"`` \| ``"address4"`` \| ``"address5"`` \| ``"address6"`` \| ``"city"`` \| ``"cityVillage"`` \| ``"country"`` \| ``"countyDistrict"`` \| ``"district"`` \| ``"postalCode"`` \| ``"state"`` \| ``"stateProvince"`` | - |
|
6920
6920
|
| `defaultText?` | `string` | - |
|
6921
6921
|
| `options?` | `Omit`<`TOptions`<`StringMap`\>, ``"defaultValue"`` \| ``"ns"``\> | Object passed to the i18next `t` function. See https://www.i18next.com/translation-function/essentials#overview-options for more information. `ns` and `defaultValue` are already set and may not be used. |
|
6922
6922
|
|
@@ -145,7 +145,7 @@ Omit.autoFocus
|
|
145
145
|
|
146
146
|
#### Defined in
|
147
147
|
|
148
|
-
node_modules/@react-types/shared/src/events.d.ts:
|
148
|
+
node_modules/@react-types/shared/src/events.d.ts:128
|
149
149
|
|
150
150
|
___
|
151
151
|
|
@@ -173,7 +173,7 @@ Any CSS classes to add to the outer div of the date picker
|
|
173
173
|
|
174
174
|
#### Defined in
|
175
175
|
|
176
|
-
[packages/framework/esm-styleguide/src/datepicker/index.tsx:
|
176
|
+
[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)
|
177
177
|
|
178
178
|
___
|
179
179
|
|
@@ -201,7 +201,7 @@ The default value (uncontrolled)
|
|
201
201
|
|
202
202
|
#### Defined in
|
203
203
|
|
204
|
-
[packages/framework/esm-styleguide/src/datepicker/index.tsx:
|
204
|
+
[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)
|
205
205
|
|
206
206
|
___
|
207
207
|
|
@@ -295,7 +295,7 @@ Whether the input value is invalid.
|
|
295
295
|
|
296
296
|
#### Defined in
|
297
297
|
|
298
|
-
[packages/framework/esm-styleguide/src/datepicker/index.tsx:
|
298
|
+
[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)
|
299
299
|
|
300
300
|
___
|
301
301
|
|
@@ -307,7 +307,7 @@ Text to show if the input is invalid e.g. an error message
|
|
307
307
|
|
308
308
|
#### Defined in
|
309
309
|
|
310
|
-
[packages/framework/esm-styleguide/src/datepicker/index.tsx:
|
310
|
+
[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)
|
311
311
|
|
312
312
|
___
|
313
313
|
|
@@ -401,7 +401,7 @@ The label for this DatePicker element
|
|
401
401
|
|
402
402
|
#### Defined in
|
403
403
|
|
404
|
-
[packages/framework/esm-styleguide/src/datepicker/index.tsx:
|
404
|
+
[packages/framework/esm-styleguide/src/datepicker/index.tsx:114](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/datepicker/index.tsx#L114)
|
405
405
|
|
406
406
|
___
|
407
407
|
|
@@ -413,7 +413,7 @@ The label for this DatePicker element.
|
|
413
413
|
|
414
414
|
#### Defined in
|
415
415
|
|
416
|
-
[packages/framework/esm-styleguide/src/datepicker/index.tsx:
|
416
|
+
[packages/framework/esm-styleguide/src/datepicker/index.tsx:116](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/datepicker/index.tsx#L116)
|
417
417
|
|
418
418
|
___
|
419
419
|
|
@@ -425,7 +425,7 @@ ___
|
|
425
425
|
|
426
426
|
#### Defined in
|
427
427
|
|
428
|
-
[packages/framework/esm-styleguide/src/datepicker/index.tsx:
|
428
|
+
[packages/framework/esm-styleguide/src/datepicker/index.tsx:118](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/datepicker/index.tsx#L118)
|
429
429
|
|
430
430
|
___
|
431
431
|
|
@@ -437,7 +437,7 @@ The latest date it is possible to select
|
|
437
437
|
|
438
438
|
#### Defined in
|
439
439
|
|
440
|
-
[packages/framework/esm-styleguide/src/datepicker/index.tsx:
|
440
|
+
[packages/framework/esm-styleguide/src/datepicker/index.tsx:120](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/datepicker/index.tsx#L120)
|
441
441
|
|
442
442
|
___
|
443
443
|
|
@@ -465,7 +465,7 @@ The earliest date it is possible to select
|
|
465
465
|
|
466
466
|
#### Defined in
|
467
467
|
|
468
|
-
[packages/framework/esm-styleguide/src/datepicker/index.tsx:
|
468
|
+
[packages/framework/esm-styleguide/src/datepicker/index.tsx:122](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/datepicker/index.tsx#L122)
|
469
469
|
|
470
470
|
___
|
471
471
|
|
@@ -543,7 +543,7 @@ ___
|
|
543
543
|
|
544
544
|
#### Defined in
|
545
545
|
|
546
|
-
[packages/framework/esm-styleguide/src/datepicker/index.tsx:
|
546
|
+
[packages/framework/esm-styleguide/src/datepicker/index.tsx:130](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/datepicker/index.tsx#L130)
|
547
547
|
|
548
548
|
___
|
549
549
|
|
@@ -590,7 +590,7 @@ Specifies the size of the input. Currently supports either `sm`, `md`, or `lg` a
|
|
590
590
|
|
591
591
|
#### Defined in
|
592
592
|
|
593
|
-
[packages/framework/esm-styleguide/src/datepicker/index.tsx:
|
593
|
+
[packages/framework/esm-styleguide/src/datepicker/index.tsx:128](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/datepicker/index.tsx#L128)
|
594
594
|
|
595
595
|
___
|
596
596
|
|
@@ -655,7 +655,7 @@ The value (controlled)
|
|
655
655
|
|
656
656
|
#### Defined in
|
657
657
|
|
658
|
-
[packages/framework/esm-styleguide/src/datepicker/index.tsx:
|
658
|
+
[packages/framework/esm-styleguide/src/datepicker/index.tsx:132](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/datepicker/index.tsx#L132)
|
659
659
|
|
660
660
|
## Methods
|
661
661
|
|
@@ -707,7 +707,7 @@ Omit.onBlur
|
|
707
707
|
|
708
708
|
#### Defined in
|
709
709
|
|
710
|
-
node_modules/@react-types/shared/src/events.d.ts:
|
710
|
+
node_modules/@react-types/shared/src/events.d.ts:87
|
711
711
|
|
712
712
|
___
|
713
713
|
|
@@ -729,7 +729,7 @@ Handler that is called when the value changes.
|
|
729
729
|
|
730
730
|
#### Defined in
|
731
731
|
|
732
|
-
[packages/framework/esm-styleguide/src/datepicker/index.tsx:
|
732
|
+
[packages/framework/esm-styleguide/src/datepicker/index.tsx:124](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/datepicker/index.tsx#L124)
|
733
733
|
|
734
734
|
___
|
735
735
|
|
@@ -751,7 +751,7 @@ Handler that is called when the value changes. Note that this provides types fro
|
|
751
751
|
|
752
752
|
#### Defined in
|
753
753
|
|
754
|
-
[packages/framework/esm-styleguide/src/datepicker/index.tsx:
|
754
|
+
[packages/framework/esm-styleguide/src/datepicker/index.tsx:126](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/datepicker/index.tsx#L126)
|
755
755
|
|
756
756
|
___
|
757
757
|
|
@@ -777,7 +777,7 @@ Omit.onFocus
|
|
777
777
|
|
778
778
|
#### Defined in
|
779
779
|
|
780
|
-
node_modules/@react-types/shared/src/events.d.ts:
|
780
|
+
node_modules/@react-types/shared/src/events.d.ts:85
|
781
781
|
|
782
782
|
___
|
783
783
|
|
@@ -803,7 +803,7 @@ Omit.onFocusChange
|
|
803
803
|
|
804
804
|
#### Defined in
|
805
805
|
|
806
|
-
node_modules/@react-types/shared/src/events.d.ts:
|
806
|
+
node_modules/@react-types/shared/src/events.d.ts:89
|
807
807
|
|
808
808
|
___
|
809
809
|
|
@@ -829,7 +829,7 @@ Omit.onKeyDown
|
|
829
829
|
|
830
830
|
#### Defined in
|
831
831
|
|
832
|
-
node_modules/@react-types/shared/src/events.d.ts:
|
832
|
+
node_modules/@react-types/shared/src/events.d.ts:78
|
833
833
|
|
834
834
|
___
|
835
835
|
|
@@ -855,7 +855,7 @@ Omit.onKeyUp
|
|
855
855
|
|
856
856
|
#### Defined in
|
857
857
|
|
858
|
-
node_modules/@react-types/shared/src/events.d.ts:
|
858
|
+
node_modules/@react-types/shared/src/events.d.ts:80
|
859
859
|
|
860
860
|
___
|
861
861
|
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@openmrs/esm-framework",
|
3
|
-
"version": "6.2.1-pre.
|
3
|
+
"version": "6.2.1-pre.2909",
|
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.2.1-pre.
|
41
|
-
"@openmrs/esm-config": "6.2.1-pre.
|
42
|
-
"@openmrs/esm-context": "6.2.1-pre.
|
43
|
-
"@openmrs/esm-dynamic-loading": "6.2.1-pre.
|
44
|
-
"@openmrs/esm-error-handling": "6.2.1-pre.
|
45
|
-
"@openmrs/esm-expression-evaluator": "6.2.1-pre.
|
46
|
-
"@openmrs/esm-extensions": "6.2.1-pre.
|
47
|
-
"@openmrs/esm-feature-flags": "6.2.1-pre.
|
48
|
-
"@openmrs/esm-globals": "6.2.1-pre.
|
49
|
-
"@openmrs/esm-navigation": "6.2.1-pre.
|
50
|
-
"@openmrs/esm-offline": "6.2.1-pre.
|
51
|
-
"@openmrs/esm-react-utils": "6.2.1-pre.
|
52
|
-
"@openmrs/esm-routes": "6.2.1-pre.
|
53
|
-
"@openmrs/esm-state": "6.2.1-pre.
|
54
|
-
"@openmrs/esm-styleguide": "6.2.1-pre.
|
55
|
-
"@openmrs/esm-translations": "6.2.1-pre.
|
56
|
-
"@openmrs/esm-utils": "6.2.1-pre.
|
40
|
+
"@openmrs/esm-api": "6.2.1-pre.2909",
|
41
|
+
"@openmrs/esm-config": "6.2.1-pre.2909",
|
42
|
+
"@openmrs/esm-context": "6.2.1-pre.2909",
|
43
|
+
"@openmrs/esm-dynamic-loading": "6.2.1-pre.2909",
|
44
|
+
"@openmrs/esm-error-handling": "6.2.1-pre.2909",
|
45
|
+
"@openmrs/esm-expression-evaluator": "6.2.1-pre.2909",
|
46
|
+
"@openmrs/esm-extensions": "6.2.1-pre.2909",
|
47
|
+
"@openmrs/esm-feature-flags": "6.2.1-pre.2909",
|
48
|
+
"@openmrs/esm-globals": "6.2.1-pre.2909",
|
49
|
+
"@openmrs/esm-navigation": "6.2.1-pre.2909",
|
50
|
+
"@openmrs/esm-offline": "6.2.1-pre.2909",
|
51
|
+
"@openmrs/esm-react-utils": "6.2.1-pre.2909",
|
52
|
+
"@openmrs/esm-routes": "6.2.1-pre.2909",
|
53
|
+
"@openmrs/esm-state": "6.2.1-pre.2909",
|
54
|
+
"@openmrs/esm-styleguide": "6.2.1-pre.2909",
|
55
|
+
"@openmrs/esm-translations": "6.2.1-pre.2909",
|
56
|
+
"@openmrs/esm-utils": "6.2.1-pre.2909",
|
57
57
|
"dayjs": "^1.10.7"
|
58
58
|
},
|
59
59
|
"peerDependencies": {
|