@openmrs/esm-styleguide 3.4.1-pre.117 → 3.4.1-pre.120

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,16 +1,14 @@
1
- @openmrs/esm-styleguide:build: cache hit, replaying output dbf442e6d310e848
1
+ @openmrs/esm-styleguide:build: cache hit, replaying output 6c5d8fb64e6822c5
2
2
  @openmrs/esm-styleguide:build: $ webpack --mode=production
3
- @openmrs/esm-styleguide:build: asset openmrs-esm-styleguide.css 490 KiB [emitted] [minimized] [big] (name: main) 1 related asset
4
- @openmrs/esm-styleguide:build: asset openmrs-esm-styleguide.js 63.5 KiB [emitted] [minimized] (name: main) 1 related asset
5
- @openmrs/esm-styleguide:build: Entrypoint main [big] 553 KiB (1.28 MiB) = openmrs-esm-styleguide.css 490 KiB openmrs-esm-styleguide.js 63.5 KiB 2 auxiliary assets
6
- @openmrs/esm-styleguide:build: orphan modules 11.7 MiB (javascript) 1.83 KiB (runtime) [orphan] 462 modules
7
- @openmrs/esm-styleguide:build: runtime modules 1.37 KiB 4 modules
8
- @openmrs/esm-styleguide:build: built modules 131 KiB (javascript) 503 KiB (css/mini-extract) [built]
9
- @openmrs/esm-styleguide:build:  modules by path ./src/ 64.3 KiB (javascript) 503 KiB (css/mini-extract) 31 modules
10
- @openmrs/esm-styleguide:build:  modules by path ../ 66.1 KiB
11
- @openmrs/esm-styleguide:build:  modules by path ../../../node_modules/systemjs-webpack-interop/auto-public-path/*.js 926 bytes 2 modules
12
- @openmrs/esm-styleguide:build:  ../../../node_modules/systemjs-webpack-interop/public-path.js 2.3 KiB [built] [code generated]
13
- @openmrs/esm-styleguide:build:  ../esm-config/dist/openmrs-esm-module-config.js 62.9 KiB [built] [code generated]
3
+ @openmrs/esm-styleguide:build: asset openmrs-esm-styleguide.css 491 KiB [emitted] [minimized] [big] (name: main) 1 related asset
4
+ @openmrs/esm-styleguide:build: asset openmrs-esm-styleguide.js 378 KiB [emitted] [minimized] [big] (name: main) 2 related assets
5
+ @openmrs/esm-styleguide:build: Entrypoint main [big] 869 KiB (2.82 MiB) = openmrs-esm-styleguide.css 491 KiB openmrs-esm-styleguide.js 378 KiB 2 auxiliary assets
6
+ @openmrs/esm-styleguide:build: orphan modules 13 MiB (javascript) 2.75 KiB (runtime) [orphan] 1135 modules
7
+ @openmrs/esm-styleguide:build: runtime modules 2.14 KiB 8 modules
8
+ @openmrs/esm-styleguide:build: built modules 1.42 MiB (javascript) 507 KiB (css/mini-extract) [built]
9
+ @openmrs/esm-styleguide:build:  cacheable modules 1.42 MiB (javascript) 507 KiB (css/mini-extract)
10
+ @openmrs/esm-styleguide:build:  modules by layer 1.42 MiB 56 modules
11
+ @openmrs/esm-styleguide:build:  css modules 507 KiB 3 modules
14
12
  @openmrs/esm-styleguide:build:  modules by path external "@openmrs/ 126 bytes
15
13
  @openmrs/esm-styleguide:build:  external "@openmrs/esm-extensions" 42 bytes [built] [code generated]
16
14
  @openmrs/esm-styleguide:build:  external "@openmrs/esm-state" 42 bytes [built] [code generated]
@@ -18,6 +16,8 @@
18
16
  @openmrs/esm-styleguide:build:  external "react" 42 bytes [built] [code generated]
19
17
  @openmrs/esm-styleguide:build:  external "react-dom" 42 bytes [built] [code generated]
20
18
  @openmrs/esm-styleguide:build:  external "rxjs" 42 bytes [built] [code generated]
19
+ @openmrs/esm-styleguide:build:  external "react-i18next" 42 bytes [built] [code generated]
20
+ @openmrs/esm-styleguide:build:  external "i18next" 42 bytes [built] [code generated]
21
21
  @openmrs/esm-styleguide:build: 
22
22
  @openmrs/esm-styleguide:build: LOG from ../../../node_modules/sass-loader/dist/cjs.js sass-loader ../../../node_modules/css-loader/dist/cjs.js!../../../node_modules/postcss-loader/dist/cjs.js!../../../node_modules/sass-loader/dist/cjs.js!./src/_all.scss
23
23
  @openmrs/esm-styleguide:build: <w> Deprecation Using / for division outside of calc() is deprecated and will be removed in Dart Sass 2.0.0.
@@ -133,14 +133,215 @@
133
133
  @openmrs/esm-styleguide:build: <w> src/left-nav/left-nav.module.scss 2:9 root stylesheet
134
134
  @openmrs/esm-styleguide:build: <w> 
135
135
  @openmrs/esm-styleguide:build: 
136
+ @openmrs/esm-styleguide:build: LOG from ../../../node_modules/sass-loader/dist/cjs.js sass-loader ../../../node_modules/css-loader/dist/cjs.js!../../../node_modules/postcss-loader/dist/cjs.js!../../../node_modules/sass-loader/dist/cjs.js!./src/error-state/error-state.module.scss
137
+ @openmrs/esm-styleguide:build: <w> Deprecation Using / for division outside of calc() is deprecated and will be removed in Dart Sass 2.0.0.
138
+ @openmrs/esm-styleguide:build: <w> 
139
+ @openmrs/esm-styleguide:build: <w> Recommendation: math.div($px, $carbon--base-font-size) or calc($px / $carbon--base-font-size)
140
+ @openmrs/esm-styleguide:build: <w> 
141
+ @openmrs/esm-styleguide:build: <w> More info and automated migrator: https://sass-lang.com/d/slash-div
142
+ @openmrs/esm-styleguide:build: <w> 
143
+ @openmrs/esm-styleguide:build: <w> ../../../node_modules/carbon-components/src/globals/scss/vendor/@carbon/elements/scss/layout/_convert.scss 25:12 carbon--rem()
144
+ @openmrs/esm-styleguide:build: <w> ../../../node_modules/carbon-components/src/globals/scss/vendor/@carbon/elements/scss/layout/_breakpoint.scss 16:23 @import
145
+ @openmrs/esm-styleguide:build: <w> ../../../node_modules/carbon-components/src/globals/scss/vendor/@carbon/elements/scss/type/_styles.scss 8:9 @import
146
+ @openmrs/esm-styleguide:build: <w> ../../../node_modules/carbon-components/src/globals/scss/vendor/@carbon/elements/scss/type/_reset.scss 10:9 @import
147
+ @openmrs/esm-styleguide:build: <w> ../../../node_modules/carbon-components/src/globals/scss/_css--reset.scss 9:9 @import
148
+ @openmrs/esm-styleguide:build: <w> ../../../node_modules/carbon-components/src/globals/scss/_helper-mixins.scss 23:9 @import
149
+ @openmrs/esm-styleguide:build: <w> ../../../node_modules/carbon-components/src/globals/scss/_mixins.scss 8:9 @import
150
+ @openmrs/esm-styleguide:build: <w> src/error-state/error-state.module.scss 3:9 root stylesheet
151
+ @openmrs/esm-styleguide:build: <w> 
152
+ @openmrs/esm-styleguide:build: <w> Deprecation Using / for division outside of calc() is deprecated and will be removed in Dart Sass 2.0.0.
153
+ @openmrs/esm-styleguide:build: <w> 
154
+ @openmrs/esm-styleguide:build: <w> Recommendation: math.div($step - 2, 4) or calc(($step - 2) / 4)
155
+ @openmrs/esm-styleguide:build: <w> 
156
+ @openmrs/esm-styleguide:build: <w> More info and automated migrator: https://sass-lang.com/d/slash-div
157
+ @openmrs/esm-styleguide:build: <w> 
158
+ @openmrs/esm-styleguide:build: <w> ../../../node_modules/carbon-components/src/globals/scss/vendor/@carbon/elements/scss/type/_scale.scss 20:53 carbon--get-type-size()
159
+ @openmrs/esm-styleguide:build: <w> ../../../node_modules/carbon-components/src/globals/scss/vendor/@carbon/elements/scss/type/_scale.scss 31:17 @import
160
+ @openmrs/esm-styleguide:build: <w> ../../../node_modules/carbon-components/src/globals/scss/vendor/@carbon/elements/scss/type/_styles.scss 10:9 @import
161
+ @openmrs/esm-styleguide:build: <w> ../../../node_modules/carbon-components/src/globals/scss/vendor/@carbon/elements/scss/type/_reset.scss 10:9 @import
162
+ @openmrs/esm-styleguide:build: <w> ../../../node_modules/carbon-components/src/globals/scss/_css--reset.scss 9:9 @import
163
+ @openmrs/esm-styleguide:build: <w> ../../../node_modules/carbon-components/src/globals/scss/_helper-mixins.scss 23:9 @import
164
+ @openmrs/esm-styleguide:build: <w> ../../../node_modules/carbon-components/src/globals/scss/_mixins.scss 8:9 @import
165
+ @openmrs/esm-styleguide:build: <w> src/error-state/error-state.module.scss 3:9 root stylesheet
166
+ @openmrs/esm-styleguide:build: <w> 
167
+ @openmrs/esm-styleguide:build: 
168
+ @openmrs/esm-styleguide:build: WARNING in ../esm-config/src/public.ts 7:0-68
169
+ @openmrs/esm-styleguide:build: export 'ConfigStore' (reexported as 'ConfigStore') was not found in './module-config/state' (possible exports: configExtensionStore, configInternalStore, getConfigStore, getExtensionConfig, getExtensionConfigFromStore, getExtensionSlotConfig, getExtensionSlotConfigFromStore, getExtensionSlotsConfigStore, getExtensionsConfigStore, implementerToolsConfigStore, temporaryConfigStore)
170
+ @openmrs/esm-styleguide:build:  @ ../esm-framework/src/index.ts 3:0-47 3:0-47
171
+ @openmrs/esm-styleguide:build:  @ ./src/error-state/error-state.component.tsx 5:0-55 10:19-32
172
+ @openmrs/esm-styleguide:build:  @ ./src/error-state/index.ts 1:0-40 1:0-40
173
+ @openmrs/esm-styleguide:build:  @ ./src/index.ts 10:0-30 10:0-30
174
+ @openmrs/esm-styleguide:build: 
175
+ @openmrs/esm-styleguide:build: WARNING in ../esm-extensions/src/public.ts 2:0-58
176
+ @openmrs/esm-styleguide:build: export 'CancelLoading' (reexported as 'CancelLoading') was not found in './render' (possible exports: renderExtension)
177
+ @openmrs/esm-styleguide:build:  @ ../esm-framework/src/index.ts 5:0-51 5:0-51
178
+ @openmrs/esm-styleguide:build:  @ ./src/error-state/error-state.component.tsx 5:0-55 10:19-32
179
+ @openmrs/esm-styleguide:build:  @ ./src/error-state/index.ts 1:0-40 1:0-40
180
+ @openmrs/esm-styleguide:build:  @ ./src/index.ts 10:0-30 10:0-30
181
+ @openmrs/esm-styleguide:build: 
182
+ @openmrs/esm-styleguide:build: WARNING in ../esm-extensions/src/public.ts 3:0-157
183
+ @openmrs/esm-styleguide:build: export 'ExtensionMeta' (reexported as 'ExtensionMeta') was not found in './store' (possible exports: getExtensionInternalStore, getExtensionStore, updateInternalExtensionStore)
184
+ @openmrs/esm-styleguide:build:  @ ../esm-framework/src/index.ts 5:0-51 5:0-51
185
+ @openmrs/esm-styleguide:build:  @ ./src/error-state/error-state.component.tsx 5:0-55 10:19-32
186
+ @openmrs/esm-styleguide:build:  @ ./src/error-state/index.ts 1:0-40 1:0-40
187
+ @openmrs/esm-styleguide:build:  @ ./src/index.ts 10:0-30 10:0-30
188
+ @openmrs/esm-styleguide:build: 
189
+ @openmrs/esm-styleguide:build: WARNING in ../esm-extensions/src/public.ts 3:0-157
190
+ @openmrs/esm-styleguide:build: export 'ExtensionRegistration' (reexported as 'ExtensionRegistration') was not found in './store' (possible exports: getExtensionInternalStore, getExtensionStore, updateInternalExtensionStore)
191
+ @openmrs/esm-styleguide:build:  @ ../esm-framework/src/index.ts 5:0-51 5:0-51
192
+ @openmrs/esm-styleguide:build:  @ ./src/error-state/error-state.component.tsx 5:0-55 10:19-32
193
+ @openmrs/esm-styleguide:build:  @ ./src/error-state/index.ts 1:0-40 1:0-40
194
+ @openmrs/esm-styleguide:build:  @ ./src/index.ts 10:0-30 10:0-30
195
+ @openmrs/esm-styleguide:build: 
196
+ @openmrs/esm-styleguide:build: WARNING in ../esm-extensions/src/public.ts 3:0-157
197
+ @openmrs/esm-styleguide:build: export 'AssignedExtension' (reexported as 'AssignedExtension') was not found in './store' (possible exports: getExtensionInternalStore, getExtensionStore, updateInternalExtensionStore)
198
+ @openmrs/esm-styleguide:build:  @ ../esm-framework/src/index.ts 5:0-51 5:0-51
199
+ @openmrs/esm-styleguide:build:  @ ./src/error-state/error-state.component.tsx 5:0-55 10:19-32
200
+ @openmrs/esm-styleguide:build:  @ ./src/error-state/index.ts 1:0-40 1:0-40
201
+ @openmrs/esm-styleguide:build:  @ ./src/index.ts 10:0-30 10:0-30
202
+ @openmrs/esm-styleguide:build: 
203
+ @openmrs/esm-styleguide:build: WARNING in ../esm-extensions/src/public.ts 3:0-157
204
+ @openmrs/esm-styleguide:build: export 'ConnectedExtension' (reexported as 'ConnectedExtension') was not found in './store' (possible exports: getExtensionInternalStore, getExtensionStore, updateInternalExtensionStore)
205
+ @openmrs/esm-styleguide:build:  @ ../esm-framework/src/index.ts 5:0-51 5:0-51
206
+ @openmrs/esm-styleguide:build:  @ ./src/error-state/error-state.component.tsx 5:0-55 10:19-32
207
+ @openmrs/esm-styleguide:build:  @ ./src/error-state/index.ts 1:0-40 1:0-40
208
+ @openmrs/esm-styleguide:build:  @ ./src/index.ts 10:0-30 10:0-30
209
+ @openmrs/esm-styleguide:build: 
210
+ @openmrs/esm-styleguide:build: WARNING in ../esm-extensions/src/public.ts 3:0-157
211
+ @openmrs/esm-styleguide:build: export 'ExtensionStore' (reexported as 'ExtensionStore') was not found in './store' (possible exports: getExtensionInternalStore, getExtensionStore, updateInternalExtensionStore)
212
+ @openmrs/esm-styleguide:build:  @ ../esm-framework/src/index.ts 5:0-51 5:0-51
213
+ @openmrs/esm-styleguide:build:  @ ./src/error-state/error-state.component.tsx 5:0-55 10:19-32
214
+ @openmrs/esm-styleguide:build:  @ ./src/error-state/index.ts 1:0-40 1:0-40
215
+ @openmrs/esm-styleguide:build:  @ ./src/index.ts 10:0-30 10:0-30
216
+ @openmrs/esm-styleguide:build: 
217
+ @openmrs/esm-styleguide:build: WARNING in ../esm-extensions/src/public.ts 3:0-157
218
+ @openmrs/esm-styleguide:build: export 'ExtensionSlotState' (reexported as 'ExtensionSlotState') was not found in './store' (possible exports: getExtensionInternalStore, getExtensionStore, updateInternalExtensionStore)
219
+ @openmrs/esm-styleguide:build:  @ ../esm-framework/src/index.ts 5:0-51 5:0-51
220
+ @openmrs/esm-styleguide:build:  @ ./src/error-state/error-state.component.tsx 5:0-55 10:19-32
221
+ @openmrs/esm-styleguide:build:  @ ./src/error-state/index.ts 1:0-40 1:0-40
222
+ @openmrs/esm-styleguide:build:  @ ./src/index.ts 10:0-30 10:0-30
223
+ @openmrs/esm-styleguide:build: 
224
+ @openmrs/esm-styleguide:build: WARNING in ../esm-globals/src/public.ts 1:0-263
225
+ @openmrs/esm-styleguide:build: export 'ConnectivityChangedEvent' (reexported as 'ConnectivityChangedEvent') was not found in './events' (possible exports: dispatchConnectivityChanged, dispatchNotificationShown, dispatchPrecacheStaticDependencies, subscribeConnectivity, subscribeConnectivityChanged, subscribeNotificationShown, subscribePrecacheStaticDependencies, subscribeToastShown)
226
+ @openmrs/esm-styleguide:build:  @ ../esm-framework/src/index.ts 6:0-48 6:0-48
227
+ @openmrs/esm-styleguide:build:  @ ./src/error-state/error-state.component.tsx 5:0-55 10:19-32
228
+ @openmrs/esm-styleguide:build:  @ ./src/error-state/index.ts 1:0-40 1:0-40
229
+ @openmrs/esm-styleguide:build:  @ ./src/index.ts 10:0-30 10:0-30
230
+ @openmrs/esm-styleguide:build: 
231
+ @openmrs/esm-styleguide:build: WARNING in ../esm-globals/src/public.ts 1:0-263
232
+ @openmrs/esm-styleguide:build: export 'PrecacheStaticDependenciesEvent' (reexported as 'PrecacheStaticDependenciesEvent') was not found in './events' (possible exports: dispatchConnectivityChanged, dispatchNotificationShown, dispatchPrecacheStaticDependencies, subscribeConnectivity, subscribeConnectivityChanged, subscribeNotificationShown, subscribePrecacheStaticDependencies, subscribeToastShown)
233
+ @openmrs/esm-styleguide:build:  @ ../esm-framework/src/index.ts 6:0-48 6:0-48
234
+ @openmrs/esm-styleguide:build:  @ ./src/error-state/error-state.component.tsx 5:0-55 10:19-32
235
+ @openmrs/esm-styleguide:build:  @ ./src/error-state/index.ts 1:0-40 1:0-40
236
+ @openmrs/esm-styleguide:build:  @ ./src/index.ts 10:0-30 10:0-30
237
+ @openmrs/esm-styleguide:build: 
238
+ @openmrs/esm-styleguide:build: WARNING in ../esm-globals/src/public.ts 1:0-263
239
+ @openmrs/esm-styleguide:build: export 'ShowNotificationEvent' (reexported as 'ShowNotificationEvent') was not found in './events' (possible exports: dispatchConnectivityChanged, dispatchNotificationShown, dispatchPrecacheStaticDependencies, subscribeConnectivity, subscribeConnectivityChanged, subscribeNotificationShown, subscribePrecacheStaticDependencies, subscribeToastShown)
240
+ @openmrs/esm-styleguide:build:  @ ../esm-framework/src/index.ts 6:0-48 6:0-48
241
+ @openmrs/esm-styleguide:build:  @ ./src/error-state/error-state.component.tsx 5:0-55 10:19-32
242
+ @openmrs/esm-styleguide:build:  @ ./src/error-state/index.ts 1:0-40 1:0-40
243
+ @openmrs/esm-styleguide:build:  @ ./src/index.ts 10:0-30 10:0-30
244
+ @openmrs/esm-styleguide:build: 
245
+ @openmrs/esm-styleguide:build: WARNING in ../esm-globals/src/public.ts 1:0-263
246
+ @openmrs/esm-styleguide:build: export 'ShowToastEvent' (reexported as 'ShowToastEvent') was not found in './events' (possible exports: dispatchConnectivityChanged, dispatchNotificationShown, dispatchPrecacheStaticDependencies, subscribeConnectivity, subscribeConnectivityChanged, subscribeNotificationShown, subscribePrecacheStaticDependencies, subscribeToastShown)
247
+ @openmrs/esm-styleguide:build:  @ ../esm-framework/src/index.ts 6:0-48 6:0-48
248
+ @openmrs/esm-styleguide:build:  @ ./src/error-state/error-state.component.tsx 5:0-55 10:19-32
249
+ @openmrs/esm-styleguide:build:  @ ./src/error-state/index.ts 1:0-40 1:0-40
250
+ @openmrs/esm-styleguide:build:  @ ./src/index.ts 10:0-30 10:0-30
251
+ @openmrs/esm-styleguide:build: 
252
+ @openmrs/esm-styleguide:build: WARNING in ../esm-offline/src/public.ts 1:0-79
253
+ @openmrs/esm-styleguide:build: export 'OfflineMode' (reexported as 'OfflineMode') was not found in './mode' (possible exports: activateOfflineCapability, getCurrentOfflineMode, setCurrentOfflineMode)
254
+ @openmrs/esm-styleguide:build:  @ ../esm-framework/src/index.ts 7:0-48 7:0-48
255
+ @openmrs/esm-styleguide:build:  @ ./src/error-state/error-state.component.tsx 5:0-55 10:19-32
256
+ @openmrs/esm-styleguide:build:  @ ./src/error-state/index.ts 1:0-40 1:0-40
257
+ @openmrs/esm-styleguide:build:  @ ./src/index.ts 10:0-30 10:0-30
258
+ @openmrs/esm-styleguide:build: 
259
+ @openmrs/esm-styleguide:build: WARNING in ../esm-offline/src/public.ts 1:0-79
260
+ @openmrs/esm-styleguide:build: export 'OfflineModeResult' (reexported as 'OfflineModeResult') was not found in './mode' (possible exports: activateOfflineCapability, getCurrentOfflineMode, setCurrentOfflineMode)
261
+ @openmrs/esm-styleguide:build:  @ ../esm-framework/src/index.ts 7:0-48 7:0-48
262
+ @openmrs/esm-styleguide:build:  @ ./src/error-state/error-state.component.tsx 5:0-55 10:19-32
263
+ @openmrs/esm-styleguide:build:  @ ./src/error-state/index.ts 1:0-40 1:0-40
264
+ @openmrs/esm-styleguide:build:  @ ./src/index.ts 10:0-30 10:0-30
265
+ @openmrs/esm-styleguide:build: 
266
+ @openmrs/esm-styleguide:build: WARNING in ../esm-offline/src/public.ts 6:0-326
267
+ @openmrs/esm-styleguide:build: export 'QueueItemDescriptor' (reexported as 'QueueItemDescriptor') was not found in './sync' (possible exports: beginEditSynchronizationItem, canBeginEditSynchronizationItemsOfType, deleteSynchronizationItem, getFullSynchronizationItems, getFullSynchronizationItemsFor, getOfflineSynchronizationStore, getSynchronizationItem, getSynchronizationItems, getSynchronizationItemsFor, queueSynchronizationItem, queueSynchronizationItemFor, runSynchronization, setupOfflineSync)
268
+ @openmrs/esm-styleguide:build:  @ ../esm-framework/src/index.ts 7:0-48 7:0-48
269
+ @openmrs/esm-styleguide:build:  @ ./src/error-state/error-state.component.tsx 5:0-55 10:19-32
270
+ @openmrs/esm-styleguide:build:  @ ./src/error-state/index.ts 1:0-40 1:0-40
271
+ @openmrs/esm-styleguide:build:  @ ./src/index.ts 10:0-30 10:0-30
272
+ @openmrs/esm-styleguide:build: 
273
+ @openmrs/esm-styleguide:build: WARNING in ../esm-offline/src/public.ts 6:0-326
274
+ @openmrs/esm-styleguide:build: export 'SyncItem' (reexported as 'SyncItem') was not found in './sync' (possible exports: beginEditSynchronizationItem, canBeginEditSynchronizationItemsOfType, deleteSynchronizationItem, getFullSynchronizationItems, getFullSynchronizationItemsFor, getOfflineSynchronizationStore, getSynchronizationItem, getSynchronizationItems, getSynchronizationItemsFor, queueSynchronizationItem, queueSynchronizationItemFor, runSynchronization, setupOfflineSync)
275
+ @openmrs/esm-styleguide:build:  @ ../esm-framework/src/index.ts 7:0-48 7:0-48
276
+ @openmrs/esm-styleguide:build:  @ ./src/error-state/error-state.component.tsx 5:0-55 10:19-32
277
+ @openmrs/esm-styleguide:build:  @ ./src/error-state/index.ts 1:0-40 1:0-40
278
+ @openmrs/esm-styleguide:build:  @ ./src/index.ts 10:0-30 10:0-30
279
+ @openmrs/esm-styleguide:build: 
280
+ @openmrs/esm-styleguide:build: WARNING in ../esm-offline/src/public.ts 6:0-326
281
+ @openmrs/esm-styleguide:build: export 'SyncProcessOptions' (reexported as 'SyncProcessOptions') was not found in './sync' (possible exports: beginEditSynchronizationItem, canBeginEditSynchronizationItemsOfType, deleteSynchronizationItem, getFullSynchronizationItems, getFullSynchronizationItemsFor, getOfflineSynchronizationStore, getSynchronizationItem, getSynchronizationItems, getSynchronizationItemsFor, queueSynchronizationItem, queueSynchronizationItemFor, runSynchronization, setupOfflineSync)
282
+ @openmrs/esm-styleguide:build:  @ ../esm-framework/src/index.ts 7:0-48 7:0-48
283
+ @openmrs/esm-styleguide:build:  @ ./src/error-state/error-state.component.tsx 5:0-55 10:19-32
284
+ @openmrs/esm-styleguide:build:  @ ./src/error-state/index.ts 1:0-40 1:0-40
285
+ @openmrs/esm-styleguide:build:  @ ./src/index.ts 10:0-30 10:0-30
286
+ @openmrs/esm-styleguide:build: 
287
+ @openmrs/esm-styleguide:build: WARNING in ../esm-react-utils/src/public.ts 1:0-51
288
+ @openmrs/esm-styleguide:build: export 'ExtensionData' (reexported as 'ExtensionData') was not found in './ComponentContext' (possible exports: ComponentContext)
289
+ @openmrs/esm-styleguide:build:  @ ../esm-framework/src/index.ts 8:0-52 8:0-52
290
+ @openmrs/esm-styleguide:build:  @ ./src/error-state/error-state.component.tsx 5:0-55 10:19-32
291
+ @openmrs/esm-styleguide:build:  @ ./src/error-state/index.ts 1:0-40 1:0-40
292
+ @openmrs/esm-styleguide:build:  @ ./src/index.ts 10:0-30 10:0-30
293
+ @openmrs/esm-styleguide:build: 
294
+ @openmrs/esm-styleguide:build: WARNING in ../esm-state/src/public.ts 1:0-96
295
+ @openmrs/esm-styleguide:build: export 'AppState' (reexported as 'AppState') was not found in './state' (possible exports: createAppState, createGlobalStore, getAppState, getGlobalStore, subscribeTo)
296
+ @openmrs/esm-styleguide:build:  @ ../esm-framework/src/index.ts 9:0-46 9:0-46
297
+ @openmrs/esm-styleguide:build:  @ ./src/error-state/error-state.component.tsx 5:0-55 10:19-32
298
+ @openmrs/esm-styleguide:build:  @ ./src/error-state/index.ts 1:0-40 1:0-40
299
+ @openmrs/esm-styleguide:build:  @ ./src/index.ts 10:0-30 10:0-30
300
+ @openmrs/esm-styleguide:build: 
301
+ @openmrs/esm-styleguide:build: WARNING in ./src/public.ts 2:0-104
302
+ @openmrs/esm-styleguide:build: export 'NotificationDescriptor' (reexported as 'NotificationDescriptor') was not found in './notifications/notification.component' (possible exports: Notification)
303
+ @openmrs/esm-styleguide:build:  @ ../esm-framework/src/index.ts 10:0-51 10:0-51
304
+ @openmrs/esm-styleguide:build:  @ ./src/error-state/error-state.component.tsx 5:0-55 10:19-32
305
+ @openmrs/esm-styleguide:build:  @ ./src/error-state/index.ts 1:0-40 1:0-40
306
+ @openmrs/esm-styleguide:build:  @ ./src/index.ts 10:0-30 10:0-30
307
+ @openmrs/esm-styleguide:build: 
308
+ @openmrs/esm-styleguide:build: WARNING in ./src/public.ts 2:0-104
309
+ @openmrs/esm-styleguide:build: export 'InlineNotificationType' (reexported as 'InlineNotificationType') was not found in './notifications/notification.component' (possible exports: Notification)
310
+ @openmrs/esm-styleguide:build:  @ ../esm-framework/src/index.ts 10:0-51 10:0-51
311
+ @openmrs/esm-styleguide:build:  @ ./src/error-state/error-state.component.tsx 5:0-55 10:19-32
312
+ @openmrs/esm-styleguide:build:  @ ./src/error-state/index.ts 1:0-40 1:0-40
313
+ @openmrs/esm-styleguide:build:  @ ./src/index.ts 10:0-30 10:0-30
314
+ @openmrs/esm-styleguide:build: 
315
+ @openmrs/esm-styleguide:build: WARNING in ./src/public.ts 5:0-93
316
+ @openmrs/esm-styleguide:build: export 'ToastDescriptor' (reexported as 'ToastDescriptor') was not found in './toasts/toast.component' (possible exports: Toast)
317
+ @openmrs/esm-styleguide:build:  @ ../esm-framework/src/index.ts 10:0-51 10:0-51
318
+ @openmrs/esm-styleguide:build:  @ ./src/error-state/error-state.component.tsx 5:0-55 10:19-32
319
+ @openmrs/esm-styleguide:build:  @ ./src/error-state/index.ts 1:0-40 1:0-40
320
+ @openmrs/esm-styleguide:build:  @ ./src/index.ts 10:0-30 10:0-30
321
+ @openmrs/esm-styleguide:build: 
322
+ @openmrs/esm-styleguide:build: WARNING in ./src/public.ts 5:0-93
323
+ @openmrs/esm-styleguide:build: export 'ToastType' (reexported as 'ToastType') was not found in './toasts/toast.component' (possible exports: Toast)
324
+ @openmrs/esm-styleguide:build:  @ ../esm-framework/src/index.ts 10:0-51 10:0-51
325
+ @openmrs/esm-styleguide:build:  @ ./src/error-state/error-state.component.tsx 5:0-55 10:19-32
326
+ @openmrs/esm-styleguide:build:  @ ./src/error-state/index.ts 1:0-40 1:0-40
327
+ @openmrs/esm-styleguide:build:  @ ./src/index.ts 10:0-30 10:0-30
328
+ @openmrs/esm-styleguide:build: 
329
+ @openmrs/esm-styleguide:build: WARNING in ./src/public.ts 5:0-93
330
+ @openmrs/esm-styleguide:build: export 'ToastNotificationMeta' (reexported as 'ToastNotificationMeta') was not found in './toasts/toast.component' (possible exports: Toast)
331
+ @openmrs/esm-styleguide:build:  @ ../esm-framework/src/index.ts 10:0-51 10:0-51
332
+ @openmrs/esm-styleguide:build:  @ ./src/error-state/error-state.component.tsx 5:0-55 10:19-32
333
+ @openmrs/esm-styleguide:build:  @ ./src/error-state/index.ts 1:0-40 1:0-40
334
+ @openmrs/esm-styleguide:build:  @ ./src/index.ts 10:0-30 10:0-30
335
+ @openmrs/esm-styleguide:build: 
136
336
  @openmrs/esm-styleguide:build: WARNING in asset size limit: The following asset(s) exceed the recommended size limit (244 KiB).
137
337
  @openmrs/esm-styleguide:build: This can impact web performance.
138
338
  @openmrs/esm-styleguide:build: Assets:
139
- @openmrs/esm-styleguide:build:  openmrs-esm-styleguide.css (490 KiB)
339
+ @openmrs/esm-styleguide:build:  openmrs-esm-styleguide.css (491 KiB)
340
+ @openmrs/esm-styleguide:build:  openmrs-esm-styleguide.js (378 KiB)
140
341
  @openmrs/esm-styleguide:build: 
141
342
  @openmrs/esm-styleguide:build: WARNING in entrypoint size limit: The following entrypoint(s) combined asset size exceeds the recommended limit (244 KiB). This can impact web performance.
142
343
  @openmrs/esm-styleguide:build: Entrypoints:
143
- @openmrs/esm-styleguide:build:  main (553 KiB)
344
+ @openmrs/esm-styleguide:build:  main (869 KiB)
144
345
  @openmrs/esm-styleguide:build:  openmrs-esm-styleguide.css
145
346
  @openmrs/esm-styleguide:build:  openmrs-esm-styleguide.js
146
347
  @openmrs/esm-styleguide:build: 
@@ -149,4 +350,4 @@
149
350
  @openmrs/esm-styleguide:build: You can limit the size of your bundles by using import() or require.ensure to lazy load some parts of your application.
150
351
  @openmrs/esm-styleguide:build: For more info visit https://webpack.js.org/guides/code-splitting/
151
352
  @openmrs/esm-styleguide:build: 
152
- @openmrs/esm-styleguide:build: webpack 5.70.0 compiled with 3 warnings in 103854 ms
353
+ @openmrs/esm-styleguide:build: webpack 5.70.0 compiled with 27 warnings in 81719 ms
@@ -0,0 +1,54 @@
1
+ const React = require("react");
2
+ const reactI18next = require("react-i18next");
3
+
4
+ const hasChildren = (node) =>
5
+ node && (node.children || (node.props && node.props.children));
6
+
7
+ const getChildren = (node) =>
8
+ node && node.children ? node.children : node.props && node.props.children;
9
+
10
+ const renderNodes = (reactNodes) => {
11
+ if (typeof reactNodes === "string") {
12
+ return reactNodes;
13
+ }
14
+
15
+ return Object.keys(reactNodes).map((key, i) => {
16
+ const child = reactNodes[key];
17
+ const isElement = React.isValidElement(child);
18
+
19
+ if (typeof child === "string") {
20
+ return child;
21
+ }
22
+ if (hasChildren(child)) {
23
+ const inner = renderNodes(getChildren(child));
24
+ return React.cloneElement(child, { ...child.props, key: i }, inner);
25
+ }
26
+ if (typeof child === "object" && !isElement) {
27
+ return Object.keys(child).reduce(
28
+ (str, childKey) => `${str}${child[childKey]}`,
29
+ ""
30
+ );
31
+ }
32
+
33
+ return child;
34
+ });
35
+ };
36
+
37
+ const useMock = [(k) => k, {}];
38
+ useMock.t = (k, o) => (o && o.defaultValue) || (typeof o === "string" ? o : k);
39
+ useMock.i18n = { language: "en_US" };
40
+
41
+ module.exports = {
42
+ // this mock makes sure any components using the translate HoC receive the t function as a prop
43
+ Trans: ({ children }) => renderNodes(children),
44
+ Translation: ({ children }) => children((k) => k, { i18n: {} }),
45
+ useTranslation: () => useMock,
46
+
47
+ // mock if needed
48
+ I18nextProvider: reactI18next.I18nextProvider,
49
+ initReactI18next: reactI18next.initReactI18next,
50
+ setDefaults: reactI18next.setDefaults,
51
+ getDefaults: reactI18next.getDefaults,
52
+ setI18n: reactI18next.setI18n,
53
+ getI18n: reactI18next.getI18n,
54
+ };