@openmrs/esm-framework 4.0.1-pre.212 → 4.0.1-pre.220

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
@@ -383,6 +383,16 @@ ___
383
383
 
384
384
  ___
385
385
 
386
+ ### ExtensionProps
387
+
388
+ Ƭ **ExtensionProps**: { `state?`: `Record`<`string`, `any`\> ; `wrap?`: (`slot`: `ReactNode`, `extension`: [`ExtensionData`](interfaces/ExtensionData.md)) => ``null`` \| `ReactElement`<`any`, `any`\> } & `Omit`<`React.HTMLAttributes`<`HTMLDivElement`\>, ``"children"``\> & { `children?`: `React.ReactNode` \| (`extension`: `React.ReactNode`) => `React.ReactNode` }
389
+
390
+ #### Defined in
391
+
392
+ [packages/framework/esm-react-utils/src/Extension.tsx:14](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-react-utils/src/Extension.tsx#L14)
393
+
394
+ ___
395
+
386
396
  ### ExtensionSlotProps
387
397
 
388
398
  Ƭ **ExtensionSlotProps**: [`OldExtensionSlotBaseProps`](interfaces/OldExtensionSlotBaseProps.md) \| [`ExtensionSlotBaseProps`](interfaces/ExtensionSlotBaseProps.md) & `Omit`<`React.HTMLAttributes`<`HTMLDivElement`\>, ``"children"``\> & { `children?`: `React.ReactNode` \| (`extension`: [`ConnectedExtension`](interfaces/ConnectedExtension.md)) => `React.ReactNode` }
@@ -679,11 +689,11 @@ ___
679
689
 
680
690
  ### Extension
681
691
 
682
- • `Const` **Extension**: `React.FC`<[`ExtensionProps`](interfaces/ExtensionProps.md)\>
692
+ • `Const` **Extension**: `React.FC`<[`ExtensionProps`](API.md#extensionprops)\>
683
693
 
684
694
  #### Defined in
685
695
 
686
- [packages/framework/esm-react-utils/src/Extension.tsx:31](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-react-utils/src/Extension.tsx#L31)
696
+ [packages/framework/esm-react-utils/src/Extension.tsx:36](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-react-utils/src/Extension.tsx#L36)
687
697
 
688
698
  ___
689
699
 
@@ -2274,7 +2284,7 @@ ___
2274
2284
 
2275
2285
  | Name | Type |
2276
2286
  | :------ | :------ |
2277
- | `__namedParameters` | [`ConfigurableLinkProps`](interfaces/ConfigurableLinkProps.md) |
2287
+ | `__namedParameters` | `PropsWithChildren`<[`ConfigurableLinkProps`](interfaces/ConfigurableLinkProps.md)\> |
2278
2288
 
2279
2289
  #### Returns
2280
2290
 
@@ -2282,7 +2292,7 @@ ___
2282
2292
 
2283
2293
  #### Defined in
2284
2294
 
2285
- [packages/framework/esm-react-utils/src/ConfigurableLink.tsx:38](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-react-utils/src/ConfigurableLink.tsx#L38)
2295
+ [packages/framework/esm-react-utils/src/ConfigurableLink.tsx:42](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-react-utils/src/ConfigurableLink.tsx#L42)
2286
2296
 
2287
2297
  ___
2288
2298
 
@@ -25,12 +25,12 @@
25
25
  - [message](OpenmrsFetchError.md#message)
26
26
  - [name](OpenmrsFetchError.md#name)
27
27
  - [stack](OpenmrsFetchError.md#stack)
28
- - [prepareStackTrace](OpenmrsFetchError.md#preparestacktrace)
29
28
  - [stackTraceLimit](OpenmrsFetchError.md#stacktracelimit)
30
29
 
31
30
  ### Methods
32
31
 
33
32
  - [captureStackTrace](OpenmrsFetchError.md#capturestacktrace)
33
+ - [prepareStackTrace](OpenmrsFetchError.md#preparestacktrace)
34
34
 
35
35
  ## API Constructors
36
36
 
@@ -135,68 +135,64 @@ node_modules/typescript/lib/lib.es5.d.ts:1024
135
135
 
136
136
  ___
137
137
 
138
- ### prepareStackTrace
139
-
140
- ▪ `Static` `Optional` **prepareStackTrace**: (`err`: `Error`, `stackTraces`: `CallSite`[]) => `any`
141
-
142
- #### Type declaration
138
+ ### stackTraceLimit
143
139
 
144
- (`err`, `stackTraces`): `any`
140
+ `Static` **stackTraceLimit**: `number`
145
141
 
146
- ##### Parameters
142
+ #### Inherited from
147
143
 
148
- | Name | Type |
149
- | :------ | :------ |
150
- | `err` | `Error` |
151
- | `stackTraces` | `CallSite`[] |
144
+ Error.stackTraceLimit
152
145
 
153
- ##### Returns
146
+ #### Defined in
154
147
 
155
- `any`
148
+ node_modules/@types/node/globals.d.ts:142
156
149
 
157
- #### Inherited from
150
+ ## Methods
158
151
 
159
- Error.prepareStackTrace
152
+ ### captureStackTrace
160
153
 
161
- #### Defined in
154
+ `Static` **captureStackTrace**(`targetObject`, `constructorOpt?`): `void`
162
155
 
163
- node_modules/@types/node/globals.d.ts:11
156
+ #### Parameters
164
157
 
165
- ___
158
+ | Name | Type |
159
+ | :------ | :------ |
160
+ | `targetObject` | `Object` |
161
+ | `constructorOpt?` | `Function` |
166
162
 
167
- ### stackTraceLimit
163
+ #### Returns
168
164
 
169
- `Static` **stackTraceLimit**: `number`
165
+ `void`
170
166
 
171
167
  #### Inherited from
172
168
 
173
- Error.stackTraceLimit
169
+ Error.captureStackTrace
174
170
 
175
171
  #### Defined in
176
172
 
177
- node_modules/@types/node/globals.d.ts:13
173
+ node_modules/@types/node/globals.d.ts:133
178
174
 
179
- ## Methods
175
+ ___
180
176
 
181
- ### captureStackTrace
177
+ ### prepareStackTrace
182
178
 
183
- ▸ `Static` **captureStackTrace**(`targetObject`, `constructorOpt?`): `void`
179
+ ▸ `Static` `Optional` **prepareStackTrace**(`err`, `stackTraces`): `any`
184
180
 
185
181
  #### Parameters
186
182
 
187
183
  | Name | Type |
188
184
  | :------ | :------ |
189
- | `targetObject` | `object` |
190
- | `constructorOpt?` | `Function` |
185
+ | `err` | `Error` |
186
+ | `stackTraces` | `CallSite`[] |
191
187
 
192
188
  #### Returns
193
189
 
194
- `void`
190
+ `any`
195
191
 
196
192
  #### Inherited from
197
193
 
198
- Error.captureStackTrace
194
+ Error.prepareStackTrace
199
195
 
200
196
  #### Defined in
201
197
 
202
- node_modules/@types/node/globals.d.ts:4
198
+ node_modules/@types/node/globals.d.ts:140
@@ -23,7 +23,7 @@
23
23
 
24
24
  #### Defined in
25
25
 
26
- [packages/framework/esm-react-utils/src/ConfigurableLink.tsx:27](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-react-utils/src/ConfigurableLink.tsx#L27)
26
+ [packages/framework/esm-react-utils/src/ConfigurableLink.tsx:31](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-react-utils/src/ConfigurableLink.tsx#L31)
27
27
 
28
28
  ___
29
29
 
@@ -33,4 +33,4 @@ ___
33
33
 
34
34
  #### Defined in
35
35
 
36
- [packages/framework/esm-react-utils/src/ConfigurableLink.tsx:26](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-react-utils/src/ConfigurableLink.tsx#L26)
36
+ [packages/framework/esm-react-utils/src/ConfigurableLink.tsx:30](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-react-utils/src/ConfigurableLink.tsx#L30)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openmrs/esm-framework",
3
- "version": "4.0.1-pre.212",
3
+ "version": "4.0.1-pre.220",
4
4
  "license": "MPL-2.0",
5
5
  "browser": "dist/openmrs-esm-framework.js",
6
6
  "main": "src/index.ts",
@@ -35,18 +35,18 @@
35
35
  "access": "public"
36
36
  },
37
37
  "dependencies": {
38
- "@openmrs/esm-api": "^4.0.1-pre.212",
39
- "@openmrs/esm-breadcrumbs": "^4.0.1-pre.212",
40
- "@openmrs/esm-config": "^4.0.1-pre.212",
41
- "@openmrs/esm-error-handling": "^4.0.1-pre.212",
42
- "@openmrs/esm-extensions": "^4.0.1-pre.212",
43
- "@openmrs/esm-globals": "^4.0.1-pre.212",
44
- "@openmrs/esm-offline": "^4.0.1-pre.212",
45
- "@openmrs/esm-react-utils": "^4.0.1-pre.212",
46
- "@openmrs/esm-state": "^4.0.1-pre.212",
47
- "@openmrs/esm-styleguide": "^4.0.1-pre.212",
48
- "@openmrs/esm-utils": "^4.0.1-pre.212",
38
+ "@openmrs/esm-api": "^4.0.1-pre.220",
39
+ "@openmrs/esm-breadcrumbs": "^4.0.1-pre.220",
40
+ "@openmrs/esm-config": "^4.0.1-pre.220",
41
+ "@openmrs/esm-error-handling": "^4.0.1-pre.220",
42
+ "@openmrs/esm-extensions": "^4.0.1-pre.220",
43
+ "@openmrs/esm-globals": "^4.0.1-pre.220",
44
+ "@openmrs/esm-offline": "^4.0.1-pre.220",
45
+ "@openmrs/esm-react-utils": "^4.0.1-pre.220",
46
+ "@openmrs/esm-state": "^4.0.1-pre.220",
47
+ "@openmrs/esm-styleguide": "^4.0.1-pre.220",
48
+ "@openmrs/esm-utils": "^4.0.1-pre.220",
49
49
  "dayjs": "^1.10.7"
50
50
  },
51
- "gitHead": "be981326ba58dcfc53d82c1c3e1ac0ebfbd83a94"
51
+ "gitHead": "8c6083cb035212eb341aea948b9d5de33e36db06"
52
52
  }
@@ -1,44 +0,0 @@
1
- [@openmrs/esm-framework](../API.md) / ExtensionProps
2
-
3
- # Interface: ExtensionProps
4
-
5
- ## Table of contents
6
-
7
- ### Properties
8
-
9
- - [state](ExtensionProps.md#state)
10
-
11
- ### Methods
12
-
13
- - [wrap](ExtensionProps.md#wrap)
14
-
15
- ## Properties
16
-
17
- ### state
18
-
19
- • `Optional` **state**: `Record`<`string`, `any`\>
20
-
21
- #### Defined in
22
-
23
- [packages/framework/esm-react-utils/src/Extension.tsx:14](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-react-utils/src/Extension.tsx#L14)
24
-
25
- ## Methods
26
-
27
- ### wrap
28
-
29
- ▸ `Optional` **wrap**(`slot`, `extension`): ``null`` \| `ReactElement`<`any`, `any`\>
30
-
31
- #### Parameters
32
-
33
- | Name | Type |
34
- | :------ | :------ |
35
- | `slot` | `ReactNode` |
36
- | `extension` | [`ExtensionData`](ExtensionData.md) |
37
-
38
- #### Returns
39
-
40
- ``null`` \| `ReactElement`<`any`, `any`\>
41
-
42
- #### Defined in
43
-
44
- [packages/framework/esm-react-utils/src/Extension.tsx:16](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-react-utils/src/Extension.tsx#L16)