@openmrs/esm-framework 5.6.1-pre.1902 → 5.6.1-pre.1905

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.
@@ -1,30 +1,28 @@
1
- @openmrs/esm-framework:build: cache hit, replaying output d30f0481337a79bb
2
- @openmrs/esm-framework:build: assets by chunk 244 KiB (id hint: vendors)
3
- @openmrs/esm-framework:build:  asset 788.openmrs-esm-framework.js 130 KiB [emitted] [minimized] (id hint: vendors) 2 related assets
4
- @openmrs/esm-framework:build:  asset 278.openmrs-esm-framework.js 53.9 KiB [emitted] [minimized] (id hint: vendors) 1 related asset
5
- @openmrs/esm-framework:build:  asset 645.openmrs-esm-framework.js 37.2 KiB [emitted] [minimized] (id hint: vendors) 1 related asset
6
- @openmrs/esm-framework:build:  asset 680.openmrs-esm-framework.js 17.5 KiB [emitted] [minimized] (id hint: vendors) 1 related asset
7
- @openmrs/esm-framework:build:  asset 126.openmrs-esm-framework.js 5.24 KiB [emitted] [minimized] (id hint: vendors) 2 related assets
8
- @openmrs/esm-framework:build: asset openmrs-esm-framework.js 2.75 MiB [emitted] [minimized] [big] (name: main) 2 related assets
9
- @openmrs/esm-framework:build: asset 619.openmrs-esm-framework.js 18.8 KiB [emitted] [minimized] 1 related asset
10
- @openmrs/esm-framework:build: asset 735.openmrs-esm-framework.js 6.54 KiB [emitted] [minimized] 2 related assets
11
- @openmrs/esm-framework:build: asset 530.openmrs-esm-framework.js 6.4 KiB [emitted] [minimized] 1 related asset
12
- @openmrs/esm-framework:build: orphan modules 7.03 MiB [orphan] 1795 modules
13
- @openmrs/esm-framework:build: runtime modules 20 KiB 14 modules
14
- @openmrs/esm-framework:build: built modules 6.64 MiB (javascript) 336 bytes (share-init) 336 bytes (consume-shared) [built] 348 modules
15
- @openmrs/esm-framework:build: 
16
- @openmrs/esm-framework:build: WARNING in shared module swr -> /home/runner/work/openmrs-esm-core/openmrs-esm-core/node_modules/swr/core/dist/index.mjs
17
- @openmrs/esm-framework:build: No version specified and unable to automatically determine one. No version in description file (usually package.json). Add version to description file /home/runner/work/openmrs-esm-core/openmrs-esm-core/node_modules/swr/core/package.json, or manually specify version in shared config.
18
- @openmrs/esm-framework:build: 
19
- @openmrs/esm-framework:build: WARNING in asset size limit: The following asset(s) exceed the recommended size limit (244 KiB).
20
- @openmrs/esm-framework:build: This can impact web performance.
21
- @openmrs/esm-framework:build: Assets:
22
- @openmrs/esm-framework:build:  openmrs-esm-framework.js (2.75 MiB)
23
- @openmrs/esm-framework:build: 
24
- @openmrs/esm-framework:build: WARNING in entrypoint size limit: The following entrypoint(s) combined asset size exceeds the recommended limit (244 KiB). This can impact web performance.
25
- @openmrs/esm-framework:build: Entrypoints:
26
- @openmrs/esm-framework:build:  main (2.75 MiB)
27
- @openmrs/esm-framework:build:  openmrs-esm-framework.js
28
- @openmrs/esm-framework:build: 
29
- @openmrs/esm-framework:build: 
30
- @openmrs/esm-framework:build: webpack 5.88.0 compiled with 3 warnings in 26337 ms
1
+ assets by chunk 244 KiB (id hint: vendors)
2
+ asset 788.openmrs-esm-framework.js 130 KiB [emitted] [minimized] (id hint: vendors) 2 related assets
3
+ asset 278.openmrs-esm-framework.js 53.9 KiB [emitted] [minimized] (id hint: vendors) 1 related asset
4
+ asset 645.openmrs-esm-framework.js 37.2 KiB [emitted] [minimized] (id hint: vendors) 1 related asset
5
+ asset 680.openmrs-esm-framework.js 17.5 KiB [emitted] [minimized] (id hint: vendors) 1 related asset
6
+ asset 126.openmrs-esm-framework.js 5.24 KiB [emitted] [minimized] (id hint: vendors) 2 related assets
7
+ asset openmrs-esm-framework.js 2.75 MiB [emitted] [minimized] [big] (name: main) 2 related assets
8
+ asset 619.openmrs-esm-framework.js 18.8 KiB [emitted] [minimized] 1 related asset
9
+ asset 735.openmrs-esm-framework.js 6.54 KiB [emitted] [minimized] 2 related assets
10
+ asset 530.openmrs-esm-framework.js 6.4 KiB [emitted] [minimized] 1 related asset
11
+ orphan modules 7.03 MiB [orphan] 1795 modules
12
+ runtime modules 20 KiB 14 modules
13
+ built modules 6.64 MiB (javascript) 336 bytes (share-init) 336 bytes (consume-shared) [built] 348 modules
14
+
15
+ WARNING in shared module swr -> /home/runner/work/openmrs-esm-core/openmrs-esm-core/node_modules/swr/core/dist/index.mjs
16
+ No version specified and unable to automatically determine one. No version in description file (usually package.json). Add version to description file /home/runner/work/openmrs-esm-core/openmrs-esm-core/node_modules/swr/core/package.json, or manually specify version in shared config.
17
+
18
+ WARNING in asset size limit: The following asset(s) exceed the recommended size limit (244 KiB).
19
+ This can impact web performance.
20
+ Assets:
21
+ openmrs-esm-framework.js (2.75 MiB)
22
+
23
+ WARNING in entrypoint size limit: The following entrypoint(s) combined asset size exceeds the recommended limit (244 KiB). This can impact web performance.
24
+ Entrypoints:
25
+ main (2.75 MiB)
26
+ openmrs-esm-framework.js
27
+
28
+ webpack 5.88.0 compiled with 3 warnings in 26821 ms
package/docs/API.md CHANGED
@@ -35,6 +35,7 @@
35
35
  - [useAttachments](API.md#useattachments)
36
36
  - [useLocations](API.md#uselocations)
37
37
  - [usePatient](API.md#usepatient)
38
+ - [usePrimaryIdentifierCode](API.md#useprimaryidentifiercode)
38
39
  - [useSession](API.md#usesession)
39
40
  - [useVisit](API.md#usevisit)
40
41
  - [useVisitTypes](API.md#usevisittypes)
@@ -543,7 +544,7 @@ ___
543
544
 
544
545
  #### Defined in
545
546
 
546
- [packages/framework/esm-styleguide/src/icons/icons.tsx:5](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/icons/icons.tsx#L5)
547
+ [packages/framework/esm-styleguide/src/icons/icons.tsx:6](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/icons/icons.tsx#L6)
547
548
 
548
549
  ___
549
550
 
@@ -565,7 +566,7 @@ ___
565
566
 
566
567
  #### Defined in
567
568
 
568
- [packages/framework/esm-globals/src/types.ts:380](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-globals/src/types.ts#L380)
569
+ [packages/framework/esm-globals/src/types.ts:386](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-globals/src/types.ts#L386)
569
570
 
570
571
  ___
571
572
 
@@ -578,7 +579,7 @@ Basically, this is the same as the app routes, with each routes definition keyed
578
579
 
579
580
  #### Defined in
580
581
 
581
- [packages/framework/esm-globals/src/types.ts:371](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-globals/src/types.ts#L371)
582
+ [packages/framework/esm-globals/src/types.ts:377](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-globals/src/types.ts#L377)
582
583
 
583
584
  ___
584
585
 
@@ -663,7 +664,7 @@ ___
663
664
 
664
665
  #### Defined in
665
666
 
666
- [packages/framework/esm-styleguide/src/icons/icons.tsx:318](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/icons/icons.tsx#L318)
667
+ [packages/framework/esm-styleguide/src/icons/icons.tsx:392](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/icons/icons.tsx#L392)
667
668
 
668
669
  ___
669
670
 
@@ -1016,8 +1017,8 @@ ___
1016
1017
  | :------ | :------ |
1017
1018
  | `inRange` | (`min`: `number`, `max`: `number`) => [`Validator`](API.md#validator) |
1018
1019
  | `isUrl` | [`Validator`](API.md#validator) |
1019
- | `isUrlWithTemplateParameters` | (`allowedTemplateParameters`: `string`[]) => [`Validator`](API.md#validator) |
1020
- | `oneOf` | (`allowedValues`: `any`[]) => [`Validator`](API.md#validator) |
1020
+ | `isUrlWithTemplateParameters` | (`allowedTemplateParameters`: `string`[] \| readonly `string`[]) => [`Validator`](API.md#validator) |
1021
+ | `oneOf` | (`allowedValues`: `any`[] \| readonly `any`[]) => [`Validator`](API.md#validator) |
1021
1022
 
1022
1023
  #### Defined in
1023
1024
 
@@ -1095,7 +1096,7 @@ ___
1095
1096
 
1096
1097
  #### Defined in
1097
1098
 
1098
- [packages/framework/esm-styleguide/src/icons/icons.tsx:12](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/icons/icons.tsx#L12)
1099
+ [packages/framework/esm-styleguide/src/icons/icons.tsx:14](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/icons/icons.tsx#L14)
1099
1100
 
1100
1101
  ___
1101
1102
 
@@ -1105,7 +1106,7 @@ ___
1105
1106
 
1106
1107
  #### Defined in
1107
1108
 
1108
- [packages/framework/esm-styleguide/src/icons/icons.tsx:20](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/icons/icons.tsx#L20)
1109
+ [packages/framework/esm-styleguide/src/icons/icons.tsx:22](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/icons/icons.tsx#L22)
1109
1110
 
1110
1111
  ___
1111
1112
 
@@ -1115,7 +1116,7 @@ ___
1115
1116
 
1116
1117
  #### Defined in
1117
1118
 
1118
- [packages/framework/esm-styleguide/src/icons/icons.tsx:316](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/icons/icons.tsx#L316)
1119
+ [packages/framework/esm-styleguide/src/icons/icons.tsx:366](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/icons/icons.tsx#L366)
1119
1120
 
1120
1121
  ___
1121
1122
 
@@ -1125,7 +1126,7 @@ ___
1125
1126
 
1126
1127
  #### Defined in
1127
1128
 
1128
- [packages/framework/esm-styleguide/src/icons/icons.tsx:28](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/icons/icons.tsx#L28)
1129
+ [packages/framework/esm-styleguide/src/icons/icons.tsx:30](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/icons/icons.tsx#L30)
1129
1130
 
1130
1131
  ___
1131
1132
 
@@ -1135,7 +1136,7 @@ ___
1135
1136
 
1136
1137
  #### Defined in
1137
1138
 
1138
- [packages/framework/esm-styleguide/src/icons/icons.tsx:36](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/icons/icons.tsx#L36)
1139
+ [packages/framework/esm-styleguide/src/icons/icons.tsx:38](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/icons/icons.tsx#L38)
1139
1140
 
1140
1141
  ___
1141
1142
 
@@ -1145,7 +1146,7 @@ ___
1145
1146
 
1146
1147
  #### Defined in
1147
1148
 
1148
- [packages/framework/esm-styleguide/src/icons/icons.tsx:44](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/icons/icons.tsx#L44)
1149
+ [packages/framework/esm-styleguide/src/icons/icons.tsx:46](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/icons/icons.tsx#L46)
1149
1150
 
1150
1151
  ___
1151
1152
 
@@ -1155,7 +1156,77 @@ ___
1155
1156
 
1156
1157
  #### Defined in
1157
1158
 
1158
- [packages/framework/esm-styleguide/src/icons/icons.tsx:52](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/icons/icons.tsx#L52)
1159
+ [packages/framework/esm-styleguide/src/icons/icons.tsx:54](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/icons/icons.tsx#L54)
1160
+
1161
+ ___
1162
+
1163
+ ### AttachmentIcon
1164
+
1165
+ • `Const` **AttachmentIcon**: `MemoExoticComponent`<`ForwardRefExoticComponent`<[`IconProps`](API.md#iconprops) & `RefAttributes`<`SVGSVGElement`\>\>\> = `DocumentAttachmentIcon`
1166
+
1167
+ #### Defined in
1168
+
1169
+ [packages/framework/esm-styleguide/src/icons/icons.tsx:371](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/icons/icons.tsx#L371)
1170
+
1171
+ ___
1172
+
1173
+ ### CalendarHeatMapIcon
1174
+
1175
+ • `Const` **CalendarHeatMapIcon**: `MemoExoticComponent`<`ForwardRefExoticComponent`<[`IconProps`](API.md#iconprops) & `RefAttributes`<`SVGSVGElement`\>\>\>
1176
+
1177
+ #### Defined in
1178
+
1179
+ [packages/framework/esm-styleguide/src/icons/icons.tsx:62](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/icons/icons.tsx#L62)
1180
+
1181
+ ___
1182
+
1183
+ ### CalendarIcon
1184
+
1185
+ • `Const` **CalendarIcon**: `MemoExoticComponent`<`ForwardRefExoticComponent`<[`IconProps`](API.md#iconprops) & `RefAttributes`<`SVGSVGElement`\>\>\>
1186
+
1187
+ #### Defined in
1188
+
1189
+ [packages/framework/esm-styleguide/src/icons/icons.tsx:70](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/icons/icons.tsx#L70)
1190
+
1191
+ ___
1192
+
1193
+ ### CaretDownIcon
1194
+
1195
+ • `Const` **CaretDownIcon**: `MemoExoticComponent`<`ForwardRefExoticComponent`<[`IconProps`](API.md#iconprops) & `RefAttributes`<`SVGSVGElement`\>\>\>
1196
+
1197
+ #### Defined in
1198
+
1199
+ [packages/framework/esm-styleguide/src/icons/icons.tsx:78](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/icons/icons.tsx#L78)
1200
+
1201
+ ___
1202
+
1203
+ ### CaretLeftIcon
1204
+
1205
+ • `Const` **CaretLeftIcon**: `MemoExoticComponent`<`ForwardRefExoticComponent`<[`IconProps`](API.md#iconprops) & `RefAttributes`<`SVGSVGElement`\>\>\>
1206
+
1207
+ #### Defined in
1208
+
1209
+ [packages/framework/esm-styleguide/src/icons/icons.tsx:86](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/icons/icons.tsx#L86)
1210
+
1211
+ ___
1212
+
1213
+ ### CaretRightIcon
1214
+
1215
+ • `Const` **CaretRightIcon**: `MemoExoticComponent`<`ForwardRefExoticComponent`<[`IconProps`](API.md#iconprops) & `RefAttributes`<`SVGSVGElement`\>\>\>
1216
+
1217
+ #### Defined in
1218
+
1219
+ [packages/framework/esm-styleguide/src/icons/icons.tsx:94](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/icons/icons.tsx#L94)
1220
+
1221
+ ___
1222
+
1223
+ ### CaretUpIcon
1224
+
1225
+ • `Const` **CaretUpIcon**: `MemoExoticComponent`<`ForwardRefExoticComponent`<[`IconProps`](API.md#iconprops) & `RefAttributes`<`SVGSVGElement`\>\>\>
1226
+
1227
+ #### Defined in
1228
+
1229
+ [packages/framework/esm-styleguide/src/icons/icons.tsx:102](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/icons/icons.tsx#L102)
1159
1230
 
1160
1231
  ___
1161
1232
 
@@ -1165,7 +1236,7 @@ ___
1165
1236
 
1166
1237
  #### Defined in
1167
1238
 
1168
- [packages/framework/esm-styleguide/src/icons/icons.tsx:60](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/icons/icons.tsx#L60)
1239
+ [packages/framework/esm-styleguide/src/icons/icons.tsx:110](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/icons/icons.tsx#L110)
1169
1240
 
1170
1241
  ___
1171
1242
 
@@ -1175,7 +1246,7 @@ ___
1175
1246
 
1176
1247
  #### Defined in
1177
1248
 
1178
- [packages/framework/esm-styleguide/src/icons/icons.tsx:68](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/icons/icons.tsx#L68)
1249
+ [packages/framework/esm-styleguide/src/icons/icons.tsx:118](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/icons/icons.tsx#L118)
1179
1250
 
1180
1251
  ___
1181
1252
 
@@ -1185,7 +1256,7 @@ ___
1185
1256
 
1186
1257
  #### Defined in
1187
1258
 
1188
- [packages/framework/esm-styleguide/src/icons/icons.tsx:76](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/icons/icons.tsx#L76)
1259
+ [packages/framework/esm-styleguide/src/icons/icons.tsx:126](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/icons/icons.tsx#L126)
1189
1260
 
1190
1261
  ___
1191
1262
 
@@ -1195,7 +1266,7 @@ ___
1195
1266
 
1196
1267
  #### Defined in
1197
1268
 
1198
- [packages/framework/esm-styleguide/src/icons/icons.tsx:84](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/icons/icons.tsx#L84)
1269
+ [packages/framework/esm-styleguide/src/icons/icons.tsx:134](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/icons/icons.tsx#L134)
1199
1270
 
1200
1271
  ___
1201
1272
 
@@ -1205,7 +1276,7 @@ ___
1205
1276
 
1206
1277
  #### Defined in
1207
1278
 
1208
- [packages/framework/esm-styleguide/src/icons/icons.tsx:92](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/icons/icons.tsx#L92)
1279
+ [packages/framework/esm-styleguide/src/icons/icons.tsx:142](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/icons/icons.tsx#L142)
1209
1280
 
1210
1281
  ___
1211
1282
 
@@ -1215,7 +1286,7 @@ ___
1215
1286
 
1216
1287
  #### Defined in
1217
1288
 
1218
- [packages/framework/esm-styleguide/src/icons/icons.tsx:100](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/icons/icons.tsx#L100)
1289
+ [packages/framework/esm-styleguide/src/icons/icons.tsx:150](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/icons/icons.tsx#L150)
1219
1290
 
1220
1291
  ___
1221
1292
 
@@ -1225,7 +1296,7 @@ ___
1225
1296
 
1226
1297
  #### Defined in
1227
1298
 
1228
- [packages/framework/esm-styleguide/src/icons/icons.tsx:108](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/icons/icons.tsx#L108)
1299
+ [packages/framework/esm-styleguide/src/icons/icons.tsx:158](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/icons/icons.tsx#L158)
1229
1300
 
1230
1301
  ___
1231
1302
 
@@ -1235,7 +1306,7 @@ ___
1235
1306
 
1236
1307
  #### Defined in
1237
1308
 
1238
- [packages/framework/esm-styleguide/src/icons/icons.tsx:116](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/icons/icons.tsx#L116)
1309
+ [packages/framework/esm-styleguide/src/icons/icons.tsx:174](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/icons/icons.tsx#L174)
1239
1310
 
1240
1311
  ___
1241
1312
 
@@ -1245,7 +1316,7 @@ ___
1245
1316
 
1246
1317
  #### Defined in
1247
1318
 
1248
- [packages/framework/esm-styleguide/src/icons/icons.tsx:124](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/icons/icons.tsx#L124)
1319
+ [packages/framework/esm-styleguide/src/icons/icons.tsx:166](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/icons/icons.tsx#L166)
1249
1320
 
1250
1321
  ___
1251
1322
 
@@ -1259,7 +1330,27 @@ Note this is an alias for ListCheckedIcon
1259
1330
 
1260
1331
  #### Defined in
1261
1332
 
1262
- [packages/framework/esm-styleguide/src/icons/icons.tsx:172](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/icons/icons.tsx#L172)
1333
+ [packages/framework/esm-styleguide/src/icons/icons.tsx:378](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/icons/icons.tsx#L378)
1334
+
1335
+ ___
1336
+
1337
+ ### DocumentAttachmentIcon
1338
+
1339
+ • `Const` **DocumentAttachmentIcon**: `MemoExoticComponent`<`ForwardRefExoticComponent`<[`IconProps`](API.md#iconprops) & `RefAttributes`<`SVGSVGElement`\>\>\>
1340
+
1341
+ #### Defined in
1342
+
1343
+ [packages/framework/esm-styleguide/src/icons/icons.tsx:182](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/icons/icons.tsx#L182)
1344
+
1345
+ ___
1346
+
1347
+ ### DocumentIcon
1348
+
1349
+ • `Const` **DocumentIcon**: `MemoExoticComponent`<`ForwardRefExoticComponent`<[`IconProps`](API.md#iconprops) & `RefAttributes`<`SVGSVGElement`\>\>\>
1350
+
1351
+ #### Defined in
1352
+
1353
+ [packages/framework/esm-styleguide/src/icons/icons.tsx:190](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/icons/icons.tsx#L190)
1263
1354
 
1264
1355
  ___
1265
1356
 
@@ -1269,7 +1360,7 @@ ___
1269
1360
 
1270
1361
  #### Defined in
1271
1362
 
1272
- [packages/framework/esm-styleguide/src/icons/icons.tsx:132](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/icons/icons.tsx#L132)
1363
+ [packages/framework/esm-styleguide/src/icons/icons.tsx:198](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/icons/icons.tsx#L198)
1273
1364
 
1274
1365
  ___
1275
1366
 
@@ -1279,7 +1370,7 @@ ___
1279
1370
 
1280
1371
  #### Defined in
1281
1372
 
1282
- [packages/framework/esm-styleguide/src/icons/icons.tsx:140](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/icons/icons.tsx#L140)
1373
+ [packages/framework/esm-styleguide/src/icons/icons.tsx:206](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/icons/icons.tsx#L206)
1283
1374
 
1284
1375
  ___
1285
1376
 
@@ -1301,7 +1392,7 @@ This is a utility type for custom icons that use the svg-sprite-loader to bundle
1301
1392
 
1302
1393
  #### Defined in
1303
1394
 
1304
- [packages/framework/esm-styleguide/src/icons/icons.tsx:326](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/icons/icons.tsx#L326)
1395
+ [packages/framework/esm-styleguide/src/icons/icons.tsx:400](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/icons/icons.tsx#L400)
1305
1396
 
1306
1397
  ___
1307
1398
 
@@ -1311,7 +1402,7 @@ ___
1311
1402
 
1312
1403
  #### Defined in
1313
1404
 
1314
- [packages/framework/esm-styleguide/src/icons/icons.tsx:148](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/icons/icons.tsx#L148)
1405
+ [packages/framework/esm-styleguide/src/icons/icons.tsx:214](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/icons/icons.tsx#L214)
1315
1406
 
1316
1407
  ___
1317
1408
 
@@ -1321,7 +1412,7 @@ ___
1321
1412
 
1322
1413
  #### Defined in
1323
1414
 
1324
- [packages/framework/esm-styleguide/src/icons/icons.tsx:161](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/icons/icons.tsx#L161)
1415
+ [packages/framework/esm-styleguide/src/icons/icons.tsx:222](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/icons/icons.tsx#L222)
1325
1416
 
1326
1417
  ___
1327
1418
 
@@ -1331,7 +1422,7 @@ ___
1331
1422
 
1332
1423
  #### Defined in
1333
1424
 
1334
- [packages/framework/esm-styleguide/src/icons/icons.tsx:176](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/icons/icons.tsx#L176)
1425
+ [packages/framework/esm-styleguide/src/icons/icons.tsx:230](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/icons/icons.tsx#L230)
1335
1426
 
1336
1427
  ___
1337
1428
 
@@ -1341,7 +1432,7 @@ ___
1341
1432
 
1342
1433
  #### Defined in
1343
1434
 
1344
- [packages/framework/esm-styleguide/src/icons/icons.tsx:193](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/icons/icons.tsx#L193)
1435
+ [packages/framework/esm-styleguide/src/icons/icons.tsx:247](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/icons/icons.tsx#L247)
1345
1436
 
1346
1437
  ___
1347
1438
 
@@ -1353,7 +1444,7 @@ Billing
1353
1444
 
1354
1445
  #### Defined in
1355
1446
 
1356
- [packages/framework/esm-styleguide/src/icons/icons.tsx:185](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/icons/icons.tsx#L185)
1447
+ [packages/framework/esm-styleguide/src/icons/icons.tsx:239](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/icons/icons.tsx#L239)
1357
1448
 
1358
1449
  ___
1359
1450
 
@@ -1363,7 +1454,7 @@ ___
1363
1454
 
1364
1455
  #### Defined in
1365
1456
 
1366
- [packages/framework/esm-styleguide/src/datepicker/openmrs/openmrs-date-picker.component.tsx:41](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/datepicker/openmrs/openmrs-date-picker.component.tsx#L41)
1457
+ [packages/framework/esm-styleguide/src/datepicker/openmrs/openmrs-date-picker.component.tsx:42](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/datepicker/openmrs/openmrs-date-picker.component.tsx#L42)
1367
1458
 
1368
1459
  ___
1369
1460
 
@@ -1383,11 +1474,9 @@ ___
1383
1474
 
1384
1475
  • `Const` **RadiologyIcon**: `MemoExoticComponent`<`ForwardRefExoticComponent`<[`IconProps`](API.md#iconprops) & `RefAttributes`<`SVGSVGElement`\>\>\> = `ImageMedicalIcon`
1385
1476
 
1386
- Note this is an alias for ImageMedicalIcon
1387
-
1388
1477
  #### Defined in
1389
1478
 
1390
- [packages/framework/esm-styleguide/src/icons/icons.tsx:157](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/icons/icons.tsx#L157)
1479
+ [packages/framework/esm-styleguide/src/icons/icons.tsx:383](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/icons/icons.tsx#L383)
1391
1480
 
1392
1481
  ___
1393
1482
 
@@ -1397,7 +1486,7 @@ ___
1397
1486
 
1398
1487
  #### Defined in
1399
1488
 
1400
- [packages/framework/esm-styleguide/src/icons/icons.tsx:201](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/icons/icons.tsx#L201)
1489
+ [packages/framework/esm-styleguide/src/icons/icons.tsx:255](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/icons/icons.tsx#L255)
1401
1490
 
1402
1491
  ___
1403
1492
 
@@ -1407,7 +1496,7 @@ ___
1407
1496
 
1408
1497
  #### Defined in
1409
1498
 
1410
- [packages/framework/esm-styleguide/src/icons/icons.tsx:217](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/icons/icons.tsx#L217)
1499
+ [packages/framework/esm-styleguide/src/icons/icons.tsx:271](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/icons/icons.tsx#L271)
1411
1500
 
1412
1501
  ___
1413
1502
 
@@ -1417,7 +1506,7 @@ ___
1417
1506
 
1418
1507
  #### Defined in
1419
1508
 
1420
- [packages/framework/esm-styleguide/src/icons/icons.tsx:225](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/icons/icons.tsx#L225)
1509
+ [packages/framework/esm-styleguide/src/icons/icons.tsx:279](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/icons/icons.tsx#L279)
1421
1510
 
1422
1511
  ___
1423
1512
 
@@ -1431,7 +1520,7 @@ Note this is an alias for ShoppingCartArrowDownIcon
1431
1520
 
1432
1521
  #### Defined in
1433
1522
 
1434
- [packages/framework/esm-styleguide/src/icons/icons.tsx:262](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/icons/icons.tsx#L262)
1523
+ [packages/framework/esm-styleguide/src/icons/icons.tsx:390](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/icons/icons.tsx#L390)
1435
1524
 
1436
1525
  ___
1437
1526
 
@@ -1443,7 +1532,7 @@ Used as a button to add an item to the Order basket from a search
1443
1532
 
1444
1533
  #### Defined in
1445
1534
 
1446
- [packages/framework/esm-styleguide/src/icons/icons.tsx:251](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/icons/icons.tsx#L251)
1535
+ [packages/framework/esm-styleguide/src/icons/icons.tsx:305](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/icons/icons.tsx#L305)
1447
1536
 
1448
1537
  ___
1449
1538
 
@@ -1455,7 +1544,7 @@ Order Basket, the UI to enter Orders for Medications, Referrals, Labs, Procedure
1455
1544
 
1456
1545
  #### Defined in
1457
1546
 
1458
- [packages/framework/esm-styleguide/src/icons/icons.tsx:242](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/icons/icons.tsx#L242)
1547
+ [packages/framework/esm-styleguide/src/icons/icons.tsx:296](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/icons/icons.tsx#L296)
1459
1548
 
1460
1549
  ___
1461
1550
 
@@ -1465,7 +1554,7 @@ ___
1465
1554
 
1466
1555
  #### Defined in
1467
1556
 
1468
- [packages/framework/esm-styleguide/src/icons/icons.tsx:233](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/icons/icons.tsx#L233)
1557
+ [packages/framework/esm-styleguide/src/icons/icons.tsx:287](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/icons/icons.tsx#L287)
1469
1558
 
1470
1559
  ___
1471
1560
 
@@ -1477,7 +1566,7 @@ Lab investigations
1477
1566
 
1478
1567
  #### Defined in
1479
1568
 
1480
- [packages/framework/esm-styleguide/src/icons/icons.tsx:267](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/icons/icons.tsx#L267)
1569
+ [packages/framework/esm-styleguide/src/icons/icons.tsx:314](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/icons/icons.tsx#L314)
1481
1570
 
1482
1571
  ___
1483
1572
 
@@ -1487,7 +1576,7 @@ ___
1487
1576
 
1488
1577
  #### Defined in
1489
1578
 
1490
- [packages/framework/esm-styleguide/src/icons/icons.tsx:275](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/icons/icons.tsx#L275)
1579
+ [packages/framework/esm-styleguide/src/icons/icons.tsx:322](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/icons/icons.tsx#L322)
1491
1580
 
1492
1581
  ___
1493
1582
 
@@ -1497,7 +1586,7 @@ ___
1497
1586
 
1498
1587
  #### Defined in
1499
1588
 
1500
- [packages/framework/esm-styleguide/src/icons/icons.tsx:209](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/icons/icons.tsx#L209)
1589
+ [packages/framework/esm-styleguide/src/icons/icons.tsx:263](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/icons/icons.tsx#L263)
1501
1590
 
1502
1591
  ___
1503
1592
 
@@ -1507,7 +1596,7 @@ ___
1507
1596
 
1508
1597
  #### Defined in
1509
1598
 
1510
- [packages/framework/esm-styleguide/src/icons/icons.tsx:283](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/icons/icons.tsx#L283)
1599
+ [packages/framework/esm-styleguide/src/icons/icons.tsx:330](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/icons/icons.tsx#L330)
1511
1600
 
1512
1601
  ___
1513
1602
 
@@ -1519,7 +1608,7 @@ User of OpenMRS e.g. My Account
1519
1608
 
1520
1609
  #### Defined in
1521
1610
 
1522
- [packages/framework/esm-styleguide/src/icons/icons.tsx:292](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/icons/icons.tsx#L292)
1611
+ [packages/framework/esm-styleguide/src/icons/icons.tsx:339](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/icons/icons.tsx#L339)
1523
1612
 
1524
1613
  ___
1525
1614
 
@@ -1529,7 +1618,7 @@ ___
1529
1618
 
1530
1619
  #### Defined in
1531
1620
 
1532
- [packages/framework/esm-styleguide/src/icons/icons.tsx:300](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/icons/icons.tsx#L300)
1621
+ [packages/framework/esm-styleguide/src/icons/icons.tsx:347](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/icons/icons.tsx#L347)
1533
1622
 
1534
1623
  ___
1535
1624
 
@@ -1539,7 +1628,7 @@ ___
1539
1628
 
1540
1629
  #### Defined in
1541
1630
 
1542
- [packages/framework/esm-styleguide/src/icons/icons.tsx:308](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/icons/icons.tsx#L308)
1631
+ [packages/framework/esm-styleguide/src/icons/icons.tsx:355](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/icons/icons.tsx#L355)
1543
1632
 
1544
1633
  ___
1545
1634
 
@@ -2338,6 +2427,26 @@ a route listener is set up to update the patient whenever the route changes.
2338
2427
 
2339
2428
  ___
2340
2429
 
2430
+ ### usePrimaryIdentifierCode
2431
+
2432
+ ▸ **usePrimaryIdentifierCode**(): `Object`
2433
+
2434
+ #### Returns
2435
+
2436
+ `Object`
2437
+
2438
+ | Name | Type |
2439
+ | :------ | :------ |
2440
+ | `error` | `Error` \| `undefined` |
2441
+ | `isLoading` | `boolean` |
2442
+ | `primaryIdentifierCode` | `string` \| `undefined` |
2443
+
2444
+ #### Defined in
2445
+
2446
+ [packages/framework/esm-react-utils/src/usePrimaryIdentifierResource.ts:13](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-react-utils/src/usePrimaryIdentifierResource.ts#L13)
2447
+
2448
+ ___
2449
+
2341
2450
  ### useSession
2342
2451
 
2343
2452
  ▸ **useSession**(): [`Session`](interfaces/Session.md)
@@ -2735,7 +2844,7 @@ parameters, plus any specified in `allowedTemplateParameters`.
2735
2844
 
2736
2845
  | Name | Type | Description |
2737
2846
  | :------ | :------ | :------ |
2738
- | `allowedTemplateParameters` | `string`[] | To be added to `openmrsBase` and `openmrsSpaBase` |
2847
+ | `allowedTemplateParameters` | `string`[] \| readonly `string`[] | To be added to `openmrsBase` and `openmrsSpaBase` |
2739
2848
 
2740
2849
  #### Returns
2741
2850
 
@@ -2757,7 +2866,7 @@ Verifies that the value is one of the allowed options.
2757
2866
 
2758
2867
  | Name | Type | Description |
2759
2868
  | :------ | :------ | :------ |
2760
- | `allowedValues` | `any`[] | The list of allowable values |
2869
+ | `allowedValues` | `any`[] \| readonly `any`[] | The list of allowable values |
2761
2870
 
2762
2871
  #### Returns
2763
2872
 
@@ -3547,7 +3656,7 @@ const { someComponent } = importDynamic("@openmrs/esm-template-app")
3547
3656
 
3548
3657
  #### Defined in
3549
3658
 
3550
- [packages/framework/esm-dynamic-loading/src/dynamic-loading.ts:36](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-dynamic-loading/src/dynamic-loading.ts#L36)
3659
+ [packages/framework/esm-dynamic-loading/src/dynamic-loading.ts:37](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-dynamic-loading/src/dynamic-loading.ts#L37)
3551
3660
 
3552
3661
  ___
3553
3662
 
@@ -5489,7 +5598,7 @@ invalid key to this function will result in a type error.
5489
5598
 
5490
5599
  | Name | Type | Description |
5491
5600
  | :------ | :------ | :------ |
5492
- | `key` | ``"error"`` \| ``"change"`` \| ``"close"`` \| ``"other"`` \| ``"actions"`` \| ``"address"`` \| ``"cancel"`` \| ``"confirm"`` \| ``"contactDetails"`` \| ``"errorCopy"`` \| ``"female"`` \| ``"hideDetails"`` \| ``"loading"`` \| ``"male"`` \| ``"patientLists"`` \| ``"relationships"`` \| ``"seeMoreLists"`` \| ``"showDetails"`` \| ``"unknown"`` \| ``"closeAllOpenedWorkspaces"`` \| ``"closingAllWorkspacesPromptBody"`` \| ``"closingAllWorkspacesPromptTitle"`` \| ``"discard"`` \| ``"hide"`` \| ``"maximize"`` \| ``"minimize"`` \| ``"openAnyway"`` \| ``"unsavedChangesInOpenedWorkspace"`` \| ``"unsavedChangesInWorkspace"`` \| ``"unsavedChangesTitleText"`` \| ``"workspaceHeader"`` \| ``"address1"`` \| ``"address2"`` \| ``"city"`` \| ``"cityVillage"`` \| ``"country"`` \| ``"countyDistrict"`` \| ``"postalCode"`` \| ``"state"`` \| ``"stateProvince"`` | - |
5601
+ | `key` | ``"error"`` \| ``"change"`` \| ``"close"`` \| ``"other"`` \| ``"actions"`` \| ``"address"`` \| ``"cancel"`` \| ``"confirm"`` \| ``"contactAdministratorIfIssuePersists"`` \| ``"contactDetails"`` \| ``"errorCopy"`` \| ``"female"`` \| ``"hideDetails"`` \| ``"loading"`` \| ``"male"`` \| ``"patientLists"`` \| ``"relationships"`` \| ``"resetOverrides"`` \| ``"scriptLoadingFailed"`` \| ``"scriptLoadingError"`` \| ``"seeMoreLists"`` \| ``"showDetails"`` \| ``"unknown"`` \| ``"closeAllOpenedWorkspaces"`` \| ``"closingAllWorkspacesPromptBody"`` \| ``"closingAllWorkspacesPromptTitle"`` \| ``"discard"`` \| ``"hide"`` \| ``"maximize"`` \| ``"minimize"`` \| ``"openAnyway"`` \| ``"unsavedChangesInOpenedWorkspace"`` \| ``"unsavedChangesInWorkspace"`` \| ``"unsavedChangesTitleText"`` \| ``"workspaceHeader"`` \| ``"address1"`` \| ``"address2"`` \| ``"city"`` \| ``"cityVillage"`` \| ``"country"`` \| ``"countyDistrict"`` \| ``"postalCode"`` \| ``"state"`` \| ``"stateProvince"`` | - |
5493
5602
  | `defaultText?` | `string` | - |
5494
5603
  | `options?` | `object` | 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. |
5495
5604
 
@@ -6206,7 +6315,7 @@ ___
6206
6315
 
6207
6316
  ### getDefaultsFromConfigSchema
6208
6317
 
6209
- ▸ **getDefaultsFromConfigSchema**(`schema`): `Object`
6318
+ ▸ **getDefaultsFromConfigSchema**<`T`\>(`schema`): `T`
6210
6319
 
6211
6320
  Given a config schema, this returns an object like is returned by `useConfig`
6212
6321
  with all default values.
@@ -6217,6 +6326,12 @@ If all you need is the default values in your tests, these are returned by
6217
6326
  default from the `useConfig`/`getConfig` mock. This function is useful if you
6218
6327
  need to override some of the default values.
6219
6328
 
6329
+ #### Type parameters
6330
+
6331
+ | Name | Type |
6332
+ | :------ | :------ |
6333
+ | `T` | `Record`<`string`, `any`\> |
6334
+
6220
6335
  #### Parameters
6221
6336
 
6222
6337
  | Name | Type |
@@ -6225,7 +6340,7 @@ need to override some of the default values.
6225
6340
 
6226
6341
  #### Returns
6227
6342
 
6228
- `Object`
6343
+ `T`
6229
6344
 
6230
6345
  #### Defined in
6231
6346
 
@@ -0,0 +1,41 @@
1
+ [@openmrs/esm-framework](../API.md) / FeatureFlagDefinition
2
+
3
+ # Interface: FeatureFlagDefinition
4
+
5
+ ## Table of contents
6
+
7
+ ### Properties
8
+
9
+ - [description](FeatureFlagDefinition.md#description)
10
+ - [flagName](FeatureFlagDefinition.md#flagname)
11
+ - [label](FeatureFlagDefinition.md#label)
12
+
13
+ ## Properties
14
+
15
+ ### description
16
+
17
+ • **description**: `string`
18
+
19
+ #### Defined in
20
+
21
+ [packages/framework/esm-globals/src/types.ts:370](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-globals/src/types.ts#L370)
22
+
23
+ ___
24
+
25
+ ### flagName
26
+
27
+ • **flagName**: `string`
28
+
29
+ #### Defined in
30
+
31
+ [packages/framework/esm-globals/src/types.ts:368](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-globals/src/types.ts#L368)
32
+
33
+ ___
34
+
35
+ ### label
36
+
37
+ • **label**: `string`
38
+
39
+ #### Defined in
40
+
41
+ [packages/framework/esm-globals/src/types.ts:369](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-globals/src/types.ts#L369)
@@ -62,7 +62,7 @@ A list of backend modules that may enable optional functionality in this fronten
62
62
 
63
63
  #### Index signature
64
64
 
65
- ▪ [key: `string`]: `string` \| { `feature?`: `string` ; `version`: `string` }
65
+ ▪ [key: `string`]: `string` \| { `feature?`: [`FeatureFlagDefinition`](FeatureFlagDefinition.md) ; `version`: `string` }
66
66
 
67
67
  The name of the backend dependency and either the required version or an object describing the required version
68
68
 
@@ -46,7 +46,7 @@
46
46
 
47
47
  #### Defined in
48
48
 
49
- [packages/framework/esm-styleguide/src/datepicker/openmrs/openmrs-date-picker.component.tsx:26](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/datepicker/openmrs/openmrs-date-picker.component.tsx#L26)
49
+ [packages/framework/esm-styleguide/src/datepicker/openmrs/openmrs-date-picker.component.tsx:27](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/datepicker/openmrs/openmrs-date-picker.component.tsx#L27)
50
50
 
51
51
  ___
52
52
 
@@ -56,7 +56,7 @@ ___
56
56
 
57
57
  #### Defined in
58
58
 
59
- [packages/framework/esm-styleguide/src/datepicker/openmrs/openmrs-date-picker.component.tsx:22](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/datepicker/openmrs/openmrs-date-picker.component.tsx#L22)
59
+ [packages/framework/esm-styleguide/src/datepicker/openmrs/openmrs-date-picker.component.tsx:23](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/datepicker/openmrs/openmrs-date-picker.component.tsx#L23)
60
60
 
61
61
  ___
62
62
 
@@ -66,7 +66,7 @@ ___
66
66
 
67
67
  #### Defined in
68
68
 
69
- [packages/framework/esm-styleguide/src/datepicker/openmrs/openmrs-date-picker.component.tsx:18](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/datepicker/openmrs/openmrs-date-picker.component.tsx#L18)
69
+ [packages/framework/esm-styleguide/src/datepicker/openmrs/openmrs-date-picker.component.tsx:19](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/datepicker/openmrs/openmrs-date-picker.component.tsx#L19)
70
70
 
71
71
  ___
72
72
 
@@ -76,7 +76,7 @@ ___
76
76
 
77
77
  #### Defined in
78
78
 
79
- [packages/framework/esm-styleguide/src/datepicker/openmrs/openmrs-date-picker.component.tsx:25](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/datepicker/openmrs/openmrs-date-picker.component.tsx#L25)
79
+ [packages/framework/esm-styleguide/src/datepicker/openmrs/openmrs-date-picker.component.tsx:26](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/datepicker/openmrs/openmrs-date-picker.component.tsx#L26)
80
80
 
81
81
  ___
82
82
 
@@ -86,7 +86,7 @@ ___
86
86
 
87
87
  #### Defined in
88
88
 
89
- [packages/framework/esm-styleguide/src/datepicker/openmrs/openmrs-date-picker.component.tsx:13](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/datepicker/openmrs/openmrs-date-picker.component.tsx#L13)
89
+ [packages/framework/esm-styleguide/src/datepicker/openmrs/openmrs-date-picker.component.tsx:14](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/datepicker/openmrs/openmrs-date-picker.component.tsx#L14)
90
90
 
91
91
  ___
92
92
 
@@ -96,7 +96,7 @@ ___
96
96
 
97
97
  #### Defined in
98
98
 
99
- [packages/framework/esm-styleguide/src/datepicker/openmrs/openmrs-date-picker.component.tsx:23](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/datepicker/openmrs/openmrs-date-picker.component.tsx#L23)
99
+ [packages/framework/esm-styleguide/src/datepicker/openmrs/openmrs-date-picker.component.tsx:24](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/datepicker/openmrs/openmrs-date-picker.component.tsx#L24)
100
100
 
101
101
  ___
102
102
 
@@ -106,17 +106,17 @@ ___
106
106
 
107
107
  #### Defined in
108
108
 
109
- [packages/framework/esm-styleguide/src/datepicker/openmrs/openmrs-date-picker.component.tsx:24](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/datepicker/openmrs/openmrs-date-picker.component.tsx#L24)
109
+ [packages/framework/esm-styleguide/src/datepicker/openmrs/openmrs-date-picker.component.tsx:25](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/datepicker/openmrs/openmrs-date-picker.component.tsx#L25)
110
110
 
111
111
  ___
112
112
 
113
113
  ### labelText
114
114
 
115
- • **labelText**: `string`
115
+ • **labelText**: `string` \| `ReactElement`<`any`, `string` \| `JSXElementConstructor`<`any`\>\>
116
116
 
117
117
  #### Defined in
118
118
 
119
- [packages/framework/esm-styleguide/src/datepicker/openmrs/openmrs-date-picker.component.tsx:14](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/datepicker/openmrs/openmrs-date-picker.component.tsx#L14)
119
+ [packages/framework/esm-styleguide/src/datepicker/openmrs/openmrs-date-picker.component.tsx:15](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/datepicker/openmrs/openmrs-date-picker.component.tsx#L15)
120
120
 
121
121
  ___
122
122
 
@@ -126,7 +126,7 @@ ___
126
126
 
127
127
  #### Defined in
128
128
 
129
- [packages/framework/esm-styleguide/src/datepicker/openmrs/openmrs-date-picker.component.tsx:20](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/datepicker/openmrs/openmrs-date-picker.component.tsx#L20)
129
+ [packages/framework/esm-styleguide/src/datepicker/openmrs/openmrs-date-picker.component.tsx:21](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/datepicker/openmrs/openmrs-date-picker.component.tsx#L21)
130
130
 
131
131
  ___
132
132
 
@@ -136,7 +136,7 @@ ___
136
136
 
137
137
  #### Defined in
138
138
 
139
- [packages/framework/esm-styleguide/src/datepicker/openmrs/openmrs-date-picker.component.tsx:19](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/datepicker/openmrs/openmrs-date-picker.component.tsx#L19)
139
+ [packages/framework/esm-styleguide/src/datepicker/openmrs/openmrs-date-picker.component.tsx:20](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/datepicker/openmrs/openmrs-date-picker.component.tsx#L20)
140
140
 
141
141
  ___
142
142
 
@@ -146,7 +146,7 @@ ___
146
146
 
147
147
  #### Defined in
148
148
 
149
- [packages/framework/esm-styleguide/src/datepicker/openmrs/openmrs-date-picker.component.tsx:21](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/datepicker/openmrs/openmrs-date-picker.component.tsx#L21)
149
+ [packages/framework/esm-styleguide/src/datepicker/openmrs/openmrs-date-picker.component.tsx:22](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/datepicker/openmrs/openmrs-date-picker.component.tsx#L22)
150
150
 
151
151
  ___
152
152
 
@@ -156,7 +156,7 @@ ___
156
156
 
157
157
  #### Defined in
158
158
 
159
- [packages/framework/esm-styleguide/src/datepicker/openmrs/openmrs-date-picker.component.tsx:16](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/datepicker/openmrs/openmrs-date-picker.component.tsx#L16)
159
+ [packages/framework/esm-styleguide/src/datepicker/openmrs/openmrs-date-picker.component.tsx:17](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/datepicker/openmrs/openmrs-date-picker.component.tsx#L17)
160
160
 
161
161
  ## Methods
162
162
 
@@ -176,4 +176,4 @@ ___
176
176
 
177
177
  #### Defined in
178
178
 
179
- [packages/framework/esm-styleguide/src/datepicker/openmrs/openmrs-date-picker.component.tsx:15](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/datepicker/openmrs/openmrs-date-picker.component.tsx#L15)
179
+ [packages/framework/esm-styleguide/src/datepicker/openmrs/openmrs-date-picker.component.tsx:16](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/datepicker/openmrs/openmrs-date-picker.component.tsx#L16)
@@ -0,0 +1,19 @@
1
+ [@openmrs/esm-framework](../API.md) / PrimaryIdentifier
2
+
3
+ # Interface: PrimaryIdentifier
4
+
5
+ ## Table of contents
6
+
7
+ ### API Properties
8
+
9
+ - [metadataUuid](PrimaryIdentifier.md#metadatauuid)
10
+
11
+ ## API Properties
12
+
13
+ ### metadataUuid
14
+
15
+ • **metadataUuid**: `string`
16
+
17
+ #### Defined in
18
+
19
+ [packages/framework/esm-react-utils/src/usePrimaryIdentifierResource.ts:7](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-react-utils/src/usePrimaryIdentifierResource.ts#L7)
@@ -20,4 +20,4 @@
20
20
 
21
21
  #### Defined in
22
22
 
23
- [packages/framework/esm-globals/src/types.ts:374](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-globals/src/types.ts#L374)
23
+ [packages/framework/esm-globals/src/types.ts:380](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-globals/src/types.ts#L380)
@@ -0,0 +1,67 @@
1
+ [@openmrs/esm-framework](../API.md) / StyleguideConfigObject
2
+
3
+ # Interface: StyleguideConfigObject
4
+
5
+ ## Table of contents
6
+
7
+ ### Properties
8
+
9
+ - [Brand color #1](StyleguideConfigObject.md#brand color #1)
10
+ - [Brand color #2](StyleguideConfigObject.md#brand color #2)
11
+ - [Brand color #3](StyleguideConfigObject.md#brand color #3)
12
+ - [patientPhotoConceptUuid](StyleguideConfigObject.md#patientphotoconceptuuid)
13
+ - [preferredCalendar](StyleguideConfigObject.md#preferredcalendar)
14
+
15
+ ## Properties
16
+
17
+ ### Brand color #1
18
+
19
+ • **Brand color #1**: `string`
20
+
21
+ #### Defined in
22
+
23
+ [packages/framework/esm-styleguide/src/config-schema.ts:4](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/config-schema.ts#L4)
24
+
25
+ ___
26
+
27
+ ### Brand color #2
28
+
29
+ • **Brand color #2**: `string`
30
+
31
+ #### Defined in
32
+
33
+ [packages/framework/esm-styleguide/src/config-schema.ts:5](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/config-schema.ts#L5)
34
+
35
+ ___
36
+
37
+ ### Brand color #3
38
+
39
+ • **Brand color #3**: `string`
40
+
41
+ #### Defined in
42
+
43
+ [packages/framework/esm-styleguide/src/config-schema.ts:6](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/config-schema.ts#L6)
44
+
45
+ ___
46
+
47
+ ### patientPhotoConceptUuid
48
+
49
+ • **patientPhotoConceptUuid**: `string`
50
+
51
+ #### Defined in
52
+
53
+ [packages/framework/esm-styleguide/src/config-schema.ts:7](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/config-schema.ts#L7)
54
+
55
+ ___
56
+
57
+ ### preferredCalendar
58
+
59
+ • **preferredCalendar**: `Object`
60
+
61
+ #### Index signature
62
+
63
+ ▪ [key: `string`]: `string`
64
+
65
+ #### Defined in
66
+
67
+ [packages/framework/esm-styleguide/src/config-schema.ts:8](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/config-schema.ts#L8)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openmrs/esm-framework",
3
- "version": "5.6.1-pre.1902",
3
+ "version": "5.6.1-pre.1905",
4
4
  "license": "MPL-2.0",
5
5
  "browser": "dist/openmrs-esm-framework.js",
6
6
  "main": "src/index.ts",
@@ -37,22 +37,22 @@
37
37
  "access": "public"
38
38
  },
39
39
  "dependencies": {
40
- "@openmrs/esm-api": "5.6.1-pre.1902",
41
- "@openmrs/esm-config": "5.6.1-pre.1902",
42
- "@openmrs/esm-context": "5.6.1-pre.1902",
43
- "@openmrs/esm-dynamic-loading": "5.6.1-pre.1902",
44
- "@openmrs/esm-error-handling": "5.6.1-pre.1902",
45
- "@openmrs/esm-extensions": "5.6.1-pre.1902",
46
- "@openmrs/esm-feature-flags": "5.6.1-pre.1902",
47
- "@openmrs/esm-globals": "5.6.1-pre.1902",
48
- "@openmrs/esm-navigation": "5.6.1-pre.1902",
49
- "@openmrs/esm-offline": "5.6.1-pre.1902",
50
- "@openmrs/esm-react-utils": "5.6.1-pre.1902",
51
- "@openmrs/esm-routes": "5.6.1-pre.1902",
52
- "@openmrs/esm-state": "5.6.1-pre.1902",
53
- "@openmrs/esm-styleguide": "5.6.1-pre.1902",
54
- "@openmrs/esm-translations": "5.6.1-pre.1902",
55
- "@openmrs/esm-utils": "5.6.1-pre.1902",
40
+ "@openmrs/esm-api": "5.6.1-pre.1905",
41
+ "@openmrs/esm-config": "5.6.1-pre.1905",
42
+ "@openmrs/esm-context": "5.6.1-pre.1905",
43
+ "@openmrs/esm-dynamic-loading": "5.6.1-pre.1905",
44
+ "@openmrs/esm-error-handling": "5.6.1-pre.1905",
45
+ "@openmrs/esm-extensions": "5.6.1-pre.1905",
46
+ "@openmrs/esm-feature-flags": "5.6.1-pre.1905",
47
+ "@openmrs/esm-globals": "5.6.1-pre.1905",
48
+ "@openmrs/esm-navigation": "5.6.1-pre.1905",
49
+ "@openmrs/esm-offline": "5.6.1-pre.1905",
50
+ "@openmrs/esm-react-utils": "5.6.1-pre.1905",
51
+ "@openmrs/esm-routes": "5.6.1-pre.1905",
52
+ "@openmrs/esm-state": "5.6.1-pre.1905",
53
+ "@openmrs/esm-styleguide": "5.6.1-pre.1905",
54
+ "@openmrs/esm-translations": "5.6.1-pre.1905",
55
+ "@openmrs/esm-utils": "5.6.1-pre.1905",
56
56
  "dayjs": "^1.10.7"
57
57
  },
58
58
  "peerDependencies": {