@openmrs/esm-styleguide 10.0.1-pre.5545 → 10.0.1-pre.5563

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,3 +1,3 @@
1
- [0] Successfully compiled: 124 files, copied 168 files with swc (263.4ms)
1
+ [0] Successfully compiled: 124 files, copied 168 files with swc (241.84ms)
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
@@ -50,6 +50,19 @@ html {
50
50
  height: var(--omrs-navbar-height);
51
51
  }
52
52
 
53
+ body > .omrs-loading-spinner,
54
+ body > .omrs-app-error {
55
+ grid-area: appRoots;
56
+ min-width: 0;
57
+ }
58
+
59
+ // The app shell lays out <body> as a grid. The top nav spans the first row, and the second row
60
+ // holds the left nav, the app roots and the workspace. The side columns are sized to their
61
+ // content, so they take no space when empty.
62
+ //
63
+ // Anything rendered into <body> that stays in the normal flow needs one of these grid areas.
64
+ // Without one, the browser places it in a new row below the fold, in the left nav column, which
65
+ // widens to fit it. Fixed-position containers, like the toasts and modals, aren't affected.
53
66
  body {
54
67
  display: grid;
55
68
  grid-template-areas:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openmrs/esm-styleguide",
3
- "version": "10.0.1-pre.5545",
3
+ "version": "10.0.1-pre.5563",
4
4
  "license": "MPL-2.0",
5
5
  "description": "The styleguide for OpenMRS SPA",
6
6
  "module": "dist/internal.js",
@@ -78,18 +78,18 @@
78
78
  "react-aria-components": "^1.7.1"
79
79
  },
80
80
  "peerDependencies": {
81
- "@openmrs/esm-api": "^10.0.1-pre.5545",
82
- "@openmrs/esm-config": "^10.0.1-pre.5545",
83
- "@openmrs/esm-emr-api": "^10.0.1-pre.5545",
84
- "@openmrs/esm-error-handling": "^10.0.1-pre.5545",
85
- "@openmrs/esm-extensions": "^10.0.1-pre.5545",
86
- "@openmrs/esm-globals": "^10.0.1-pre.5545",
87
- "@openmrs/esm-navigation": "^10.0.1-pre.5545",
88
- "@openmrs/esm-react-utils": "^10.0.1-pre.5545",
89
- "@openmrs/esm-routes": "^10.0.1-pre.5545",
90
- "@openmrs/esm-state": "^10.0.1-pre.5545",
91
- "@openmrs/esm-translations": "^10.0.1-pre.5545",
92
- "@openmrs/esm-utils": "^10.0.1-pre.5545",
81
+ "@openmrs/esm-api": "^10.0.1-pre.5563",
82
+ "@openmrs/esm-config": "^10.0.1-pre.5563",
83
+ "@openmrs/esm-emr-api": "^10.0.1-pre.5563",
84
+ "@openmrs/esm-error-handling": "^10.0.1-pre.5563",
85
+ "@openmrs/esm-extensions": "^10.0.1-pre.5563",
86
+ "@openmrs/esm-globals": "^10.0.1-pre.5563",
87
+ "@openmrs/esm-navigation": "^10.0.1-pre.5563",
88
+ "@openmrs/esm-react-utils": "^10.0.1-pre.5563",
89
+ "@openmrs/esm-routes": "^10.0.1-pre.5563",
90
+ "@openmrs/esm-state": "^10.0.1-pre.5563",
91
+ "@openmrs/esm-translations": "^10.0.1-pre.5563",
92
+ "@openmrs/esm-utils": "^10.0.1-pre.5563",
93
93
  "dayjs": "1.x",
94
94
  "i18next": "25.x",
95
95
  "react": "18.x",
@@ -98,18 +98,18 @@
98
98
  "swr": "2.x"
99
99
  },
100
100
  "devDependencies": {
101
- "@openmrs/esm-api": "10.0.1-pre.5545",
102
- "@openmrs/esm-config": "10.0.1-pre.5545",
103
- "@openmrs/esm-emr-api": "10.0.1-pre.5545",
104
- "@openmrs/esm-error-handling": "10.0.1-pre.5545",
105
- "@openmrs/esm-extensions": "10.0.1-pre.5545",
106
- "@openmrs/esm-globals": "10.0.1-pre.5545",
107
- "@openmrs/esm-navigation": "10.0.1-pre.5545",
108
- "@openmrs/esm-react-utils": "10.0.1-pre.5545",
109
- "@openmrs/esm-routes": "10.0.1-pre.5545",
110
- "@openmrs/esm-state": "10.0.1-pre.5545",
111
- "@openmrs/esm-translations": "10.0.1-pre.5545",
112
- "@openmrs/esm-utils": "10.0.1-pre.5545",
101
+ "@openmrs/esm-api": "10.0.1-pre.5563",
102
+ "@openmrs/esm-config": "10.0.1-pre.5563",
103
+ "@openmrs/esm-emr-api": "10.0.1-pre.5563",
104
+ "@openmrs/esm-error-handling": "10.0.1-pre.5563",
105
+ "@openmrs/esm-extensions": "10.0.1-pre.5563",
106
+ "@openmrs/esm-globals": "10.0.1-pre.5563",
107
+ "@openmrs/esm-navigation": "10.0.1-pre.5563",
108
+ "@openmrs/esm-react-utils": "10.0.1-pre.5563",
109
+ "@openmrs/esm-routes": "10.0.1-pre.5563",
110
+ "@openmrs/esm-state": "10.0.1-pre.5563",
111
+ "@openmrs/esm-translations": "10.0.1-pre.5563",
112
+ "@openmrs/esm-utils": "10.0.1-pre.5563",
113
113
  "@swc/cli": "0.8.1",
114
114
  "@swc/core": "1.15.21",
115
115
  "@types/geopattern": "^1.2.9",
@@ -50,6 +50,19 @@ html {
50
50
  height: var(--omrs-navbar-height);
51
51
  }
52
52
 
53
+ body > .omrs-loading-spinner,
54
+ body > .omrs-app-error {
55
+ grid-area: appRoots;
56
+ min-width: 0;
57
+ }
58
+
59
+ // The app shell lays out <body> as a grid. The top nav spans the first row, and the second row
60
+ // holds the left nav, the app roots and the workspace. The side columns are sized to their
61
+ // content, so they take no space when empty.
62
+ //
63
+ // Anything rendered into <body> that stays in the normal flow needs one of these grid areas.
64
+ // Without one, the browser places it in a new row below the fold, in the left nav column, which
65
+ // widens to fit it. Fixed-position containers, like the toasts and modals, aren't affected.
53
66
  body {
54
67
  display: grid;
55
68
  grid-template-areas: