@openmrs/esm-styleguide 10.0.1-pre.5752 → 11.0.0
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/.turbo/turbo-build.log +1 -1
- package/.turbo/turbo-lint.log +0 -0
- package/.turbo/turbo-test.log +129 -0
- package/package.json +26 -27
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
[0] Successfully compiled: 117 files, copied 171 files with swc (
|
|
1
|
+
[0] Successfully compiled: 117 files, copied 171 files with swc (191.04ms)
|
|
2
2
|
[0] swc --strip-leading-paths --copy-files src -d dist && svgo -rf dist --quiet exited with code 0
|
|
3
3
|
[1] tsc --project tsconfig.build.json exited with code 0
|
|
File without changes
|
|
@@ -0,0 +1,129 @@
|
|
|
1
|
+
|
|
2
|
+
[1m[46m RUN [49m[22m [36mv4.1.2 [39m[90m/home/runner/work/openmrs-esm-core/openmrs-esm-core/packages/framework/esm-styleguide[39m
|
|
3
|
+
|
|
4
|
+
[32m✓[39m src/workspaces2/exported-workspace.test.tsx [2m([22m[2m16 tests[22m[2m)[22m[33m 687[2mms[22m[39m
|
|
5
|
+
[32m✓[39m src/location-picker/location-picker.test.tsx [2m([22m[2m13 tests[22m[2m)[22m[33m 1675[2mms[22m[39m
|
|
6
|
+
[33m[2m✓[22m[39m should display a message and not display locations when search results are empty [33m 343[2mms[22m[39m
|
|
7
|
+
[90mstderr[2m | src/datepicker/datepicker.test.tsx[2m > [22m[2mOpenmrsDatePicker[2m > [22m[2mcalendar popover[2m > [22m[2mshould open the calendar popover when the calendar button is clicked
|
|
8
|
+
[22m[39mIf you do not provide a visible label, you must specify an aria-label or aria-labelledby attribute for accessibility
|
|
9
|
+
If you do not provide a visible label, you must specify an aria-label or aria-labelledby attribute for accessibility
|
|
10
|
+
|
|
11
|
+
[90mstderr[2m | src/datepicker/datepicker.test.tsx[2m > [22m[2mOpenmrsDatePicker[2m > [22m[2mcalendar popover[2m > [22m[2mshould clamp previous-month navigation at the default minDate floor when minDate is omitted
|
|
12
|
+
[22m[39mIf you do not provide a visible label, you must specify an aria-label or aria-labelledby attribute for accessibility
|
|
13
|
+
If you do not provide a visible label, you must specify an aria-label or aria-labelledby attribute for accessibility
|
|
14
|
+
|
|
15
|
+
[90mstderr[2m | src/datepicker/datepicker.test.tsx[2m > [22m[2mOpenmrsDatePicker[2m > [22m[2mcalendar popover[2m > [22m[2mshould respect maxDate and disable next-month navigation at the max boundary
|
|
16
|
+
[22m[39mIf you do not provide a visible label, you must specify an aria-label or aria-labelledby attribute for accessibility
|
|
17
|
+
If you do not provide a visible label, you must specify an aria-label or aria-labelledby attribute for accessibility
|
|
18
|
+
|
|
19
|
+
[32m✓[39m src/workspaces2/workspace2.test.ts [2m([22m[2m25 tests[22m[2m)[22m[32m 36[2mms[22m[39m
|
|
20
|
+
[90mstderr[2m | src/datepicker/datepicker.test.tsx[2m > [22m[2mOpenmrsDatePicker[2m > [22m[2mcalendar popover[2m > [22m[2mshould select a date and call onChange
|
|
21
|
+
[22m[39mIf you do not provide a visible label, you must specify an aria-label or aria-labelledby attribute for accessibility
|
|
22
|
+
If you do not provide a visible label, you must specify an aria-label or aria-labelledby attribute for accessibility
|
|
23
|
+
|
|
24
|
+
[90mstderr[2m | src/datepicker/datepicker.test.tsx[2m > [22m[2mOpenmrsDatePicker[2m > [22m[2mcalendar popover[2m > [22m[2mshould select a date and call onChange
|
|
25
|
+
[22m[39mIf you do not provide a visible label, you must specify an aria-label or aria-labelledby attribute for accessibility
|
|
26
|
+
If you do not provide a visible label, you must specify an aria-label or aria-labelledby attribute for accessibility
|
|
27
|
+
|
|
28
|
+
[32m✓[39m src/datepicker/datepicker.test.tsx [2m([22m[2m34 tests[22m[2m)[22m[33m 5009[2mms[22m[39m
|
|
29
|
+
[33m[2m✓[22m[39m uses dd/mm/yyyy for english by default [33m 343[2mms[22m[39m
|
|
30
|
+
[33m[2m✓[22m[39m should open the calendar popover when the calendar button is clicked [33m 778[2mms[22m[39m
|
|
31
|
+
[33m[2m✓[22m[39m should clamp previous-month navigation at the default minDate floor when minDate is omitted [33m 456[2mms[22m[39m
|
|
32
|
+
[33m[2m✓[22m[39m should respect maxDate and disable next-month navigation at the max boundary [33m 372[2mms[22m[39m
|
|
33
|
+
[33m[2m✓[22m[39m should select a date and call onChange [33m 696[2mms[22m[39m
|
|
34
|
+
[32m✓[39m src/workspaces2/active-workspace-window.test.tsx [2m([22m[2m9 tests[22m[2m)[22m[32m 132[2mms[22m[39m
|
|
35
|
+
[90mstderr[2m | src/modals/modals.test.ts[2m > [22m[2mmodals[2m > [22m[2mtears the modal down even though unmounting failed
|
|
36
|
+
[22m[39mThe modal 'another-modal' failed to unmount Error: parcel not mounted
|
|
37
|
+
at [90m/home/runner/work/openmrs-esm-core/openmrs-esm-core/packages/framework/esm-styleguide/[39msrc/modals/modals.test.ts:146:74
|
|
38
|
+
at file:///home/runner/work/openmrs-esm-core/openmrs-esm-core/node_modules/[4m@vitest/runner[24m/dist/chunk-artifact.js:302:11
|
|
39
|
+
at file:///home/runner/work/openmrs-esm-core/openmrs-esm-core/node_modules/[4m@vitest/runner[24m/dist/chunk-artifact.js:1893:26
|
|
40
|
+
at file:///home/runner/work/openmrs-esm-core/openmrs-esm-core/node_modules/[4m@vitest/runner[24m/dist/chunk-artifact.js:2316:20
|
|
41
|
+
at new Promise (<anonymous>)
|
|
42
|
+
at runWithCancel (file:///home/runner/work/openmrs-esm-core/openmrs-esm-core/node_modules/[4m@vitest/runner[24m/dist/chunk-artifact.js:2313:10)
|
|
43
|
+
at file:///home/runner/work/openmrs-esm-core/openmrs-esm-core/node_modules/[4m@vitest/runner[24m/dist/chunk-artifact.js:2295:20
|
|
44
|
+
at new Promise (<anonymous>)
|
|
45
|
+
at runWithTimeout (file:///home/runner/work/openmrs-esm-core/openmrs-esm-core/node_modules/[4m@vitest/runner[24m/dist/chunk-artifact.js:2262:10)
|
|
46
|
+
at file:///home/runner/work/openmrs-esm-core/openmrs-esm-core/node_modules/[4m@vitest/runner[24m/dist/chunk-artifact.js:2945:64
|
|
47
|
+
|
|
48
|
+
[32m✓[39m src/modals/modals.test.ts [2m([22m[2m12 tests[22m[2m)[22m[32m 142[2mms[22m[39m
|
|
49
|
+
[32m✓[39m src/numeric-observation/numeric-observation.test.tsx [2m([22m[2m18 tests[22m[2m)[22m[32m 137[2mms[22m[39m
|
|
50
|
+
[32m✓[39m src/workspaces2/scope-utils.test.ts [2m([22m[2m29 tests[22m[2m)[22m[32m 30[2mms[22m[39m
|
|
51
|
+
[90mstderr[2m | src/datepicker/date-range-picker.test.tsx[2m > [22m[2mOpenmrsDateRangePicker[2m > [22m[2mcalendar popover[2m > [22m[2mshould open the calendar popover when the calendar button is clicked
|
|
52
|
+
[22m[39mIf you do not provide a visible label, you must specify an aria-label or aria-labelledby attribute for accessibility
|
|
53
|
+
If you do not provide a visible label, you must specify an aria-label or aria-labelledby attribute for accessibility
|
|
54
|
+
|
|
55
|
+
[90mstderr[2m | src/datepicker/date-range-picker.test.tsx[2m > [22m[2mOpenmrsDateRangePicker[2m > [22m[2mcalendar popover[2m > [22m[2mshould clamp previous-month navigation at the default minDate floor when minDate is omitted
|
|
56
|
+
[22m[39mIf you do not provide a visible label, you must specify an aria-label or aria-labelledby attribute for accessibility
|
|
57
|
+
If you do not provide a visible label, you must specify an aria-label or aria-labelledby attribute for accessibility
|
|
58
|
+
|
|
59
|
+
[90mstderr[2m | src/datepicker/date-range-picker.test.tsx[2m > [22m[2mOpenmrsDateRangePicker[2m > [22m[2mcalendar popover[2m > [22m[2mshould select a range and call onChange
|
|
60
|
+
[22m[39mIf you do not provide a visible label, you must specify an aria-label or aria-labelledby attribute for accessibility
|
|
61
|
+
If you do not provide a visible label, you must specify an aria-label or aria-labelledby attribute for accessibility
|
|
62
|
+
|
|
63
|
+
[90mstderr[2m | src/datepicker/date-range-picker.test.tsx[2m > [22m[2mOpenmrsDateRangePicker[2m > [22m[2mcalendar popover[2m > [22m[2mshould select a range and call onChange
|
|
64
|
+
[22m[39mIf you do not provide a visible label, you must specify an aria-label or aria-labelledby attribute for accessibility
|
|
65
|
+
If you do not provide a visible label, you must specify an aria-label or aria-labelledby attribute for accessibility
|
|
66
|
+
|
|
67
|
+
[90mstderr[2m | src/datepicker/date-range-picker.test.tsx[2m > [22m[2mOpenmrsDateRangePicker[2m > [22m[2mcalendar popover[2m > [22m[2mshould select a range and call onChange
|
|
68
|
+
[22m[39mIf you do not provide a visible label, you must specify an aria-label or aria-labelledby attribute for accessibility
|
|
69
|
+
If you do not provide a visible label, you must specify an aria-label or aria-labelledby attribute for accessibility
|
|
70
|
+
|
|
71
|
+
[90mstderr[2m | src/datepicker/date-range-picker.test.tsx[2m > [22m[2mOpenmrsDateRangePicker[2m > [22m[2mcalendar popover[2m > [22m[2mshould select a range and call onChange
|
|
72
|
+
[22m[39mIf you do not provide a visible label, you must specify an aria-label or aria-labelledby attribute for accessibility
|
|
73
|
+
If you do not provide a visible label, you must specify an aria-label or aria-labelledby attribute for accessibility
|
|
74
|
+
|
|
75
|
+
[32m✓[39m src/datepicker/date-range-picker.test.tsx [2m([22m[2m21 tests[22m[2m)[22m[33m 3416[2mms[22m[39m
|
|
76
|
+
[33m[2m✓[22m[39m should open the calendar popover when the calendar button is clicked [33m 594[2mms[22m[39m
|
|
77
|
+
[33m[2m✓[22m[39m should clamp previous-month navigation at the default minDate floor when minDate is omitted [33m 376[2mms[22m[39m
|
|
78
|
+
[33m[2m✓[22m[39m should select a range and call onChange [33m 620[2mms[22m[39m
|
|
79
|
+
[32m✓[39m src/patient-banner/contact-details/patient-banner-contact-details.test.tsx [2m([22m[2m3 tests[22m[2m)[22m[32m 220[2mms[22m[39m
|
|
80
|
+
[32m✓[39m src/diagnosis-tags/diagnosis-tags.test.tsx [2m([22m[2m10 tests[22m[2m)[22m[33m 1350[2mms[22m[39m
|
|
81
|
+
[33m[2m✓[22m[39m names a truncated provisional diagnosis as provisional for assistive technology [33m 369[2mms[22m[39m
|
|
82
|
+
[32m✓[39m src/patient-photo/patient-photo.test.tsx [2m([22m[2m5 tests[22m[2m)[22m[32m 103[2mms[22m[39m
|
|
83
|
+
[32m✓[39m src/numeric-observation/interpretation-utils.test.ts [2m([22m[2m24 tests[22m[2m)[22m[32m 13[2mms[22m[39m
|
|
84
|
+
[90mstderr[2m | src/custom-overflow-menu/custom-overflow-menu.test.tsx[2m > [22m[2mCustomOverflowMenu[2m > [22m[2mshould render
|
|
85
|
+
[22m[39mWarning: React does not recognize the `closeMenu` prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase `closemenu` instead. If you accidentally passed it from a parent component, remove it from the DOM element.
|
|
86
|
+
at li
|
|
87
|
+
at ul
|
|
88
|
+
at div
|
|
89
|
+
at div
|
|
90
|
+
at CustomOverflowMenu (/home/runner/work/openmrs-esm-core/openmrs-esm-core/packages/framework/esm-styleguide/src/custom-overflow-menu/custom-overflow-menu.component.tsx:30:31)
|
|
91
|
+
Warning: React does not recognize the `handleOverflowMenuItemFocus` prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase `handleoverflowmenuitemfocus` instead. If you accidentally passed it from a parent component, remove it from the DOM element.
|
|
92
|
+
at li
|
|
93
|
+
at ul
|
|
94
|
+
at div
|
|
95
|
+
at div
|
|
96
|
+
at CustomOverflowMenu (/home/runner/work/openmrs-esm-core/openmrs-esm-core/packages/framework/esm-styleguide/src/custom-overflow-menu/custom-overflow-menu.component.tsx:30:31)
|
|
97
|
+
|
|
98
|
+
[90mstderr[2m | src/custom-overflow-menu/custom-overflow-menu.test.tsx[2m > [22m[2museCustomOverflowMenu[2m > [22m[2mshould throw error when used outside CustomOverflowMenu
|
|
99
|
+
[22m[39mThe above error occurred in the <TestComponent> component:
|
|
100
|
+
|
|
101
|
+
at TestComponent (/home/runner/work/openmrs-esm-core/openmrs-esm-core/packages/framework/esm-styleguide/src/custom-overflow-menu/custom-overflow-menu.test.tsx:320:51)
|
|
102
|
+
|
|
103
|
+
Consider adding an error boundary to your tree to customize error handling behavior.
|
|
104
|
+
Visit https://reactjs.org/link/error-boundaries to learn more about error boundaries.
|
|
105
|
+
|
|
106
|
+
[32m✓[39m src/custom-overflow-menu/custom-overflow-menu.test.tsx [2m([22m[2m12 tests[22m[2m)[22m[33m 518[2mms[22m[39m
|
|
107
|
+
[32m✓[39m src/datepicker/utils.test.ts [2m([22m[2m18 tests[22m[2m)[22m[32m 81[2mms[22m[39m
|
|
108
|
+
[32m✓[39m src/workspaces2/workspace2-close-prompt.modal.test.tsx [2m([22m[2m5 tests[22m[2m)[22m[33m 425[2mms[22m[39m
|
|
109
|
+
[32m✓[39m src/workspaces2/workspace-window-actions.test.ts [2m([22m[2m4 tests[22m[2m)[22m[32m 67[2mms[22m[39m
|
|
110
|
+
[32m✓[39m src/patient-banner/patient-info/patient-banner-patient-info.test.tsx [2m([22m[2m2 tests[22m[2m)[22m[32m 268[2mms[22m[39m
|
|
111
|
+
[32m✓[39m src/snackbars/snackbar.test.tsx [2m([22m[2m4 tests[22m[2m)[22m[32m 195[2mms[22m[39m
|
|
112
|
+
[32m✓[39m src/pagination/pagination.test.tsx [2m([22m[2m10 tests[22m[2m)[22m[33m 720[2mms[22m[39m
|
|
113
|
+
[32m✓[39m src/numeric-observation/use-concept-reference-range.test.ts [2m([22m[2m4 tests[22m[2m)[22m[32m 125[2mms[22m[39m
|
|
114
|
+
[32m✓[39m src/patient-banner/patient-info/patient-banner-patient-identifiers.test.tsx [2m([22m[2m4 tests[22m[2m)[22m[32m 197[2mms[22m[39m
|
|
115
|
+
[90mstderr[2m | src/dashboard-extension/dashboard.test.tsx[2m > [22m[2mDashboardExtension[2m > [22m[2mBasic Rendering[2m > [22m[2mrenders with required props (path and title)
|
|
116
|
+
[22m[39m⚠️ React Router Future Flag Warning: React Router will begin wrapping state updates in `React.startTransition` in v7. You can use the `v7_startTransition` future flag to opt-in early. For more information, see https://reactrouter.com/v6/upgrading/future#v7_starttransition.
|
|
117
|
+
⚠️ React Router Future Flag Warning: Relative route resolution within Splat routes is changing in v7. You can use the `v7_relativeSplatPath` future flag to opt-in early. For more information, see https://reactrouter.com/v6/upgrading/future#v7_relativesplatpath.
|
|
118
|
+
|
|
119
|
+
[32m✓[39m src/dashboard-extension/dashboard.test.tsx [2m([22m[2m7 tests[22m[2m)[22m[32m 247[2mms[22m[39m
|
|
120
|
+
[32m✓[39m src/page-header/page-header.test.tsx [2m([22m[2m5 tests[22m[2m)[22m[32m 263[2mms[22m[39m
|
|
121
|
+
[32m✓[39m src/workspaces2/workspace2.component.test.tsx [2m([22m[2m3 tests[22m[2m)[22m[32m 48[2mms[22m[39m
|
|
122
|
+
[32m✓[39m src/empty-card/empty-card.test.tsx [2m([22m[2m7 tests[22m[2m)[22m[32m 173[2mms[22m[39m
|
|
123
|
+
[32m✓[39m src/error-state/error-state.test.tsx [2m([22m[2m4 tests[22m[2m)[22m[32m 131[2mms[22m[39m
|
|
124
|
+
|
|
125
|
+
[2m Test Files [22m [1m[32m27 passed[39m[22m[90m (27)[39m
|
|
126
|
+
[2m Tests [22m [1m[32m308 passed[39m[22m[90m (308)[39m
|
|
127
|
+
[2m Start at [22m 17:23:29
|
|
128
|
+
[2m Duration [22m 38.36s[2m (transform 7.47s, setup 12.08s, import 49.67s, tests 16.41s, environment 22.20s)[22m
|
|
129
|
+
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openmrs/esm-styleguide",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "11.0.0",
|
|
4
4
|
"license": "MPL-2.0",
|
|
5
5
|
"description": "The styleguide for OpenMRS SPA",
|
|
6
6
|
"module": "dist/internal.js",
|
|
@@ -79,18 +79,18 @@
|
|
|
79
79
|
"uuid": "^11.1.1"
|
|
80
80
|
},
|
|
81
81
|
"peerDependencies": {
|
|
82
|
-
"@openmrs/esm-api": "^
|
|
83
|
-
"@openmrs/esm-config": "^
|
|
84
|
-
"@openmrs/esm-emr-api": "^
|
|
85
|
-
"@openmrs/esm-error-handling": "^
|
|
86
|
-
"@openmrs/esm-extensions": "^
|
|
87
|
-
"@openmrs/esm-globals": "^
|
|
88
|
-
"@openmrs/esm-navigation": "^
|
|
89
|
-
"@openmrs/esm-react-utils": "^
|
|
90
|
-
"@openmrs/esm-routes": "^
|
|
91
|
-
"@openmrs/esm-state": "^
|
|
92
|
-
"@openmrs/esm-translations": "^
|
|
93
|
-
"@openmrs/esm-utils": "^
|
|
82
|
+
"@openmrs/esm-api": "^11.0.0",
|
|
83
|
+
"@openmrs/esm-config": "^11.0.0",
|
|
84
|
+
"@openmrs/esm-emr-api": "^11.0.0",
|
|
85
|
+
"@openmrs/esm-error-handling": "^11.0.0",
|
|
86
|
+
"@openmrs/esm-extensions": "^11.0.0",
|
|
87
|
+
"@openmrs/esm-globals": "^11.0.0",
|
|
88
|
+
"@openmrs/esm-navigation": "^11.0.0",
|
|
89
|
+
"@openmrs/esm-react-utils": "^11.0.0",
|
|
90
|
+
"@openmrs/esm-routes": "^11.0.0",
|
|
91
|
+
"@openmrs/esm-state": "^11.0.0",
|
|
92
|
+
"@openmrs/esm-translations": "^11.0.0",
|
|
93
|
+
"@openmrs/esm-utils": "^11.0.0",
|
|
94
94
|
"dayjs": "1.x",
|
|
95
95
|
"i18next": "25.x",
|
|
96
96
|
"react": "18.x",
|
|
@@ -99,18 +99,18 @@
|
|
|
99
99
|
"swr": "2.x"
|
|
100
100
|
},
|
|
101
101
|
"devDependencies": {
|
|
102
|
-
"@openmrs/esm-api": "
|
|
103
|
-
"@openmrs/esm-config": "
|
|
104
|
-
"@openmrs/esm-emr-api": "
|
|
105
|
-
"@openmrs/esm-error-handling": "
|
|
106
|
-
"@openmrs/esm-extensions": "
|
|
107
|
-
"@openmrs/esm-globals": "
|
|
108
|
-
"@openmrs/esm-navigation": "
|
|
109
|
-
"@openmrs/esm-react-utils": "
|
|
110
|
-
"@openmrs/esm-routes": "
|
|
111
|
-
"@openmrs/esm-state": "
|
|
112
|
-
"@openmrs/esm-translations": "
|
|
113
|
-
"@openmrs/esm-utils": "
|
|
102
|
+
"@openmrs/esm-api": "11.0.0",
|
|
103
|
+
"@openmrs/esm-config": "11.0.0",
|
|
104
|
+
"@openmrs/esm-emr-api": "11.0.0",
|
|
105
|
+
"@openmrs/esm-error-handling": "11.0.0",
|
|
106
|
+
"@openmrs/esm-extensions": "11.0.0",
|
|
107
|
+
"@openmrs/esm-globals": "11.0.0",
|
|
108
|
+
"@openmrs/esm-navigation": "11.0.0",
|
|
109
|
+
"@openmrs/esm-react-utils": "11.0.0",
|
|
110
|
+
"@openmrs/esm-routes": "11.0.0",
|
|
111
|
+
"@openmrs/esm-state": "11.0.0",
|
|
112
|
+
"@openmrs/esm-translations": "11.0.0",
|
|
113
|
+
"@openmrs/esm-utils": "11.0.0",
|
|
114
114
|
"@swc/cli": "0.8.1",
|
|
115
115
|
"@swc/core": "1.15.21",
|
|
116
116
|
"@types/geopattern": "^1.2.9",
|
|
@@ -126,6 +126,5 @@
|
|
|
126
126
|
"swr": "2.5.1",
|
|
127
127
|
"typescript": "^5.8.3",
|
|
128
128
|
"vitest": "^4.1.2"
|
|
129
|
-
}
|
|
130
|
-
"stableVersion": "10.0.0"
|
|
129
|
+
}
|
|
131
130
|
}
|