@openmrs/esm-styleguide 10.0.1-pre.5745 → 10.0.1-pre.5748
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
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 (301.63ms)
|
|
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
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"active-workspace-window.component.d.ts","sourceRoot":"","sources":["../../src/workspaces2/active-workspace-window.component.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAuD,MAAM,OAAO,CAAC;AAM5E,OAAO,EACL,KAAK,YAAY,EAKlB,MAAM,yBAAyB,CAAC;AAOjC,OAAO,EAAE,KAAK,sBAAsB,EAAE,MAAM,4BAA4B,CAAC;AAGzE,UAAU,oBAAoB;IAC5B,YAAY,EAAE,YAAY,CAAC;IAC3B,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,IAAI,CAAC;IACvC,OAAO,EAAE,sBAAsB,CAAC;IAChC;;;;OAIG;IACH,YAAY,EAAE,OAAO,CAAC;IACtB,cAAc,EAAE,OAAO,CAAC;CACzB;AAKD;;;GAGG;AACH,QAAA,MAAM,qBAAqB,EAAE,KAAK,CAAC,EAAE,CAAC,oBAAoB,CA4DzD,CAAC;
|
|
1
|
+
{"version":3,"file":"active-workspace-window.component.d.ts","sourceRoot":"","sources":["../../src/workspaces2/active-workspace-window.component.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAuD,MAAM,OAAO,CAAC;AAM5E,OAAO,EACL,KAAK,YAAY,EAKlB,MAAM,yBAAyB,CAAC;AAOjC,OAAO,EAAE,KAAK,sBAAsB,EAAE,MAAM,4BAA4B,CAAC;AAGzE,UAAU,oBAAoB;IAC5B,YAAY,EAAE,YAAY,CAAC;IAC3B,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,IAAI,CAAC;IACvC,OAAO,EAAE,sBAAsB,CAAC;IAChC;;;;OAIG;IACH,YAAY,EAAE,OAAO,CAAC;IACtB,cAAc,EAAE,OAAO,CAAC;CACzB;AAKD;;;GAGG;AACH,QAAA,MAAM,qBAAqB,EAAE,KAAK,CAAC,EAAE,CAAC,oBAAoB,CA4DzD,CAAC;AA0RF,eAAe,qBAAqB,CAAC"}
|
|
@@ -155,15 +155,20 @@ const ActiveWorkspace = ({ lifeCycle, openedWorkspace, openedWindow, groupProps,
|
|
|
155
155
|
description: `${getCoreTranslation('loading')}`
|
|
156
156
|
});
|
|
157
157
|
}
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
158
|
+
// The node removed from the workspace grid on close must generate a box. WebKit before Safari 26.2
|
|
159
|
+
// doesn't relayout the grid when the removed node is the `display: contents` outer container, so the
|
|
160
|
+
// closed window keeps taking up space. https://bugs.webkit.org/show_bug.cgi?id=299258
|
|
161
|
+
return /*#__PURE__*/ _jsx("div", {
|
|
162
|
+
children: /*#__PURE__*/ _jsx(WorkspaceChrome, {
|
|
163
|
+
openedWorkspace: openedWorkspace,
|
|
164
|
+
openedWindow: openedWindow,
|
|
165
|
+
isRootWorkspace: isRootWorkspace,
|
|
166
|
+
showActionMenu: showActionMenu,
|
|
167
|
+
closeWindow: ()=>props.closeWorkspace({
|
|
168
|
+
closeWindow: true
|
|
169
|
+
}),
|
|
170
|
+
children: content
|
|
171
|
+
})
|
|
167
172
|
});
|
|
168
173
|
};
|
|
169
174
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openmrs/esm-styleguide",
|
|
3
|
-
"version": "10.0.1-pre.
|
|
3
|
+
"version": "10.0.1-pre.5748",
|
|
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": "^10.0.1-pre.
|
|
83
|
-
"@openmrs/esm-config": "^10.0.1-pre.
|
|
84
|
-
"@openmrs/esm-emr-api": "^10.0.1-pre.
|
|
85
|
-
"@openmrs/esm-error-handling": "^10.0.1-pre.
|
|
86
|
-
"@openmrs/esm-extensions": "^10.0.1-pre.
|
|
87
|
-
"@openmrs/esm-globals": "^10.0.1-pre.
|
|
88
|
-
"@openmrs/esm-navigation": "^10.0.1-pre.
|
|
89
|
-
"@openmrs/esm-react-utils": "^10.0.1-pre.
|
|
90
|
-
"@openmrs/esm-routes": "^10.0.1-pre.
|
|
91
|
-
"@openmrs/esm-state": "^10.0.1-pre.
|
|
92
|
-
"@openmrs/esm-translations": "^10.0.1-pre.
|
|
93
|
-
"@openmrs/esm-utils": "^10.0.1-pre.
|
|
82
|
+
"@openmrs/esm-api": "^10.0.1-pre.5748",
|
|
83
|
+
"@openmrs/esm-config": "^10.0.1-pre.5748",
|
|
84
|
+
"@openmrs/esm-emr-api": "^10.0.1-pre.5748",
|
|
85
|
+
"@openmrs/esm-error-handling": "^10.0.1-pre.5748",
|
|
86
|
+
"@openmrs/esm-extensions": "^10.0.1-pre.5748",
|
|
87
|
+
"@openmrs/esm-globals": "^10.0.1-pre.5748",
|
|
88
|
+
"@openmrs/esm-navigation": "^10.0.1-pre.5748",
|
|
89
|
+
"@openmrs/esm-react-utils": "^10.0.1-pre.5748",
|
|
90
|
+
"@openmrs/esm-routes": "^10.0.1-pre.5748",
|
|
91
|
+
"@openmrs/esm-state": "^10.0.1-pre.5748",
|
|
92
|
+
"@openmrs/esm-translations": "^10.0.1-pre.5748",
|
|
93
|
+
"@openmrs/esm-utils": "^10.0.1-pre.5748",
|
|
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": "10.0.1-pre.
|
|
103
|
-
"@openmrs/esm-config": "10.0.1-pre.
|
|
104
|
-
"@openmrs/esm-emr-api": "10.0.1-pre.
|
|
105
|
-
"@openmrs/esm-error-handling": "10.0.1-pre.
|
|
106
|
-
"@openmrs/esm-extensions": "10.0.1-pre.
|
|
107
|
-
"@openmrs/esm-globals": "10.0.1-pre.
|
|
108
|
-
"@openmrs/esm-navigation": "10.0.1-pre.
|
|
109
|
-
"@openmrs/esm-react-utils": "10.0.1-pre.
|
|
110
|
-
"@openmrs/esm-routes": "10.0.1-pre.
|
|
111
|
-
"@openmrs/esm-state": "10.0.1-pre.
|
|
112
|
-
"@openmrs/esm-translations": "10.0.1-pre.
|
|
113
|
-
"@openmrs/esm-utils": "10.0.1-pre.
|
|
102
|
+
"@openmrs/esm-api": "10.0.1-pre.5748",
|
|
103
|
+
"@openmrs/esm-config": "10.0.1-pre.5748",
|
|
104
|
+
"@openmrs/esm-emr-api": "10.0.1-pre.5748",
|
|
105
|
+
"@openmrs/esm-error-handling": "10.0.1-pre.5748",
|
|
106
|
+
"@openmrs/esm-extensions": "10.0.1-pre.5748",
|
|
107
|
+
"@openmrs/esm-globals": "10.0.1-pre.5748",
|
|
108
|
+
"@openmrs/esm-navigation": "10.0.1-pre.5748",
|
|
109
|
+
"@openmrs/esm-react-utils": "10.0.1-pre.5748",
|
|
110
|
+
"@openmrs/esm-routes": "10.0.1-pre.5748",
|
|
111
|
+
"@openmrs/esm-state": "10.0.1-pre.5748",
|
|
112
|
+
"@openmrs/esm-translations": "10.0.1-pre.5748",
|
|
113
|
+
"@openmrs/esm-utils": "10.0.1-pre.5748",
|
|
114
114
|
"@swc/cli": "0.8.1",
|
|
115
115
|
"@swc/core": "1.15.21",
|
|
116
116
|
"@types/geopattern": "^1.2.9",
|
|
@@ -222,16 +222,21 @@ const ActiveWorkspace: React.FC<ActiveWorkspaceProps> = ({
|
|
|
222
222
|
);
|
|
223
223
|
}
|
|
224
224
|
|
|
225
|
+
// The node removed from the workspace grid on close must generate a box. WebKit before Safari 26.2
|
|
226
|
+
// doesn't relayout the grid when the removed node is the `display: contents` outer container, so the
|
|
227
|
+
// closed window keeps taking up space. https://bugs.webkit.org/show_bug.cgi?id=299258
|
|
225
228
|
return (
|
|
226
|
-
<
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
229
|
+
<div>
|
|
230
|
+
<WorkspaceChrome
|
|
231
|
+
openedWorkspace={openedWorkspace}
|
|
232
|
+
openedWindow={openedWindow}
|
|
233
|
+
isRootWorkspace={isRootWorkspace}
|
|
234
|
+
showActionMenu={showActionMenu}
|
|
235
|
+
closeWindow={() => props.closeWorkspace({ closeWindow: true })}
|
|
236
|
+
>
|
|
237
|
+
{content}
|
|
238
|
+
</WorkspaceChrome>
|
|
239
|
+
</div>
|
|
235
240
|
);
|
|
236
241
|
};
|
|
237
242
|
|