@openmrs/esm-styleguide 9.0.3-pre.4784 → 9.0.3-pre.4788

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: 123 files, copied 164 files with swc (298.84ms)
1
+ [0] Successfully compiled: 123 files, copied 164 files with swc (279.96ms)
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
@@ -32,7 +32,6 @@ export interface ActionMenuButtonProps2 {
32
32
  * 2. restores the workspace window if it is opened and unfocused; or
33
33
  * 3. launches a workspace from within that window, if the window is not opened.
34
34
  *
35
- * @experimental
36
35
  */
37
36
  export declare const ActionMenuButton2: React.FC<ActionMenuButtonProps2>;
38
37
  //# sourceMappingURL=action-menu-button2.component.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"action-menu-button2.component.d.ts","sourceRoot":"","sources":["../../../src/workspaces2/action-menu2/action-menu-button2.component.tsx"],"names":[],"mappings":"AAAA,kCAAkC;AAClC,OAAO,KAAqB,MAAM,OAAO,CAAC;AA6B1C,MAAM,WAAW,sBAAsB;IACrC,IAAI,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,GAAG,CAAC,OAAO,CAAC;IACrC,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,CAAC,EAAE,MAAM,GAAG,KAAK,CAAC,SAAS,CAAC;IACtC,iBAAiB,EAAE;QACjB,aAAa,EAAE,MAAM,CAAC;QACtB,cAAc,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;QACrC,WAAW,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;KACnC,CAAC;IAEF;;;;;;;OAOG;IACH,uBAAuB,CAAC,EAAE,MAAM,OAAO,CAAC,OAAO,CAAC,CAAC;CAClD;AAED;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,iBAAiB,EAAE,KAAK,CAAC,EAAE,CAAC,sBAAsB,CA6E9D,CAAC"}
1
+ {"version":3,"file":"action-menu-button2.component.d.ts","sourceRoot":"","sources":["../../../src/workspaces2/action-menu2/action-menu-button2.component.tsx"],"names":[],"mappings":"AAAA,kCAAkC;AAClC,OAAO,KAAqB,MAAM,OAAO,CAAC;AA6B1C,MAAM,WAAW,sBAAsB;IACrC,IAAI,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,GAAG,CAAC,OAAO,CAAC;IACrC,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,CAAC,EAAE,MAAM,GAAG,KAAK,CAAC,SAAS,CAAC;IACtC,iBAAiB,EAAE;QACjB,aAAa,EAAE,MAAM,CAAC;QACtB,cAAc,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;QACrC,WAAW,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;KACnC,CAAC;IAEF;;;;;;;OAOG;IACH,uBAAuB,CAAC,EAAE,MAAM,OAAO,CAAC,OAAO,CAAC,CAAC;CAClD;AAED;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,iBAAiB,EAAE,KAAK,CAAC,EAAE,CAAC,sBAAsB,CA6E9D,CAAC"}
@@ -34,7 +34,6 @@ function Tags({ getIcon, hasUnsavedChanges, tagContent }) {
34
34
  * 2. restores the workspace window if it is opened and unfocused; or
35
35
  * 3. launches a workspace from within that window, if the window is not opened.
36
36
  *
37
- * @experimental
38
37
  */ export const ActionMenuButton2 = ({ icon: getIcon, label, tagContent, workspaceToLaunch, onBeforeWorkspaceLaunch })=>{
39
38
  const layout = useLayoutType();
40
39
  const { openedWindows, restoreWindow, hideWindow, isMostRecentlyOpenedWindowHidden } = useWorkspace2Store();
@@ -4,9 +4,6 @@ interface Workspace2Props {
4
4
  children: ReactNode;
5
5
  hasUnsavedChanges?: boolean;
6
6
  }
7
- /**
8
- * @experimental
9
- */
10
7
  export interface Workspace2DefinitionProps<WorkspaceProps extends object = object, WindowProps extends object = object, GroupProps extends object = object> {
11
8
  /**
12
9
  * This function launches a child workspace. Unlike `launchWorkspace()`, this function is meant
@@ -35,16 +32,12 @@ export interface Workspace2DefinitionProps<WorkspaceProps extends object = objec
35
32
  isRootWorkspace: boolean;
36
33
  showActionMenu: boolean;
37
34
  }
38
- /**
39
- * @experimental
40
- */
41
35
  export type Workspace2Definition<WorkspaceProps extends object, WindowProps extends object, GroupProps extends object> = React.FC<Workspace2DefinitionProps<WorkspaceProps, WindowProps, GroupProps>>;
42
36
  /**
43
37
  * The Workspace2 component is used as a top-level container to render
44
38
  * its children as content within a workspace. When creating a workspace
45
39
  * component, `<Workspace2>` should be the top-level component returned,
46
40
  * wrapping all of the workspace content.
47
- * @experimental
48
41
  */
49
42
  export declare const Workspace2: React.FC<Workspace2Props>;
50
43
  export {};
@@ -1 +1 @@
1
- {"version":3,"file":"workspace2.component.d.ts","sourceRoot":"","sources":["../../src/workspaces2/workspace2.component.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAa,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAWzD,UAAU,eAAe;IACvB,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,SAAS,CAAC;IACpB,iBAAiB,CAAC,EAAE,OAAO,CAAC;CAC7B;AAED;;GAEG;AACH,MAAM,WAAW,yBAAyB,CACxC,cAAc,SAAS,MAAM,GAAG,MAAM,EACtC,WAAW,SAAS,MAAM,GAAG,MAAM,EACnC,UAAU,SAAS,MAAM,GAAG,MAAM;IAElC;;;;;;OAMG;IACH,oBAAoB,CAAC,KAAK,SAAS,MAAM,EAAE,aAAa,EAAE,MAAM,EAAE,cAAc,CAAC,EAAE,KAAK,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAEzG;;;;;;OAMG;IACH,cAAc,CAAC,OAAO,CAAC,EAAE;QAAE,WAAW,CAAC,EAAE,OAAO,CAAC;QAAC,qBA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EAAE;QAAE,WAAW,CAAC,EAAE,OAAO,CAAC;QAAC,qBAAqB,CAAC,EAAE,OAAO,CAAA;KAAE,GAAG,OAAO,CAAC,OAAO,CAAC,CAAC;IAEvG,cAAc,EAAE,cAAc,GAAG,IAAI,CAAC;IACtC,WAAW,EAAE,WAAW,GAAG,IAAI,CAAC;IAChC,UAAU,EAAE,UAAU,GAAG,IAAI,CAAC;IAC9B,aAAa,EAAE,MAAM,CAAC;IACtB,UAAU,EAAE,MAAM,CAAC;IACnB,eAAe,EAAE,OAAO,CAAC;IACzB,cAAc,EAAE,OAAO,CAAC;CACzB;AAED,MAAM,MAAM,oBAAoB,CAC9B,cAAc,SAAS,MAAM,EAC7B,WAAW,SAAS,MAAM,EAC1B,UAAU,SAAS,MAAM,IACvB,KAAK,CAAC,EAAE,CAAC,yBAAyB,CAAC,cAAc,EAAE,WAAW,EAAE,UAAU,CAAC,CAAC,CAAC;AAEjF;;;;;GAKG;AACH,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,CAmJhD,CAAC"}
@@ -14,7 +14,6 @@ import styles from "./workspace2.module.scss";
14
14
  * its children as content within a workspace. When creating a workspace
15
15
  * component, `<Workspace2>` should be the top-level component returned,
16
16
  * wrapping all of the workspace content.
17
- * @experimental
18
17
  */ export const Workspace2 = ({ title, children, hasUnsavedChanges = false })=>{
19
18
  const layout = useLayoutType();
20
19
  const { setWindowMaximized, hideWindow, setHasUnsavedChanges, openedWindows, openedGroup, registeredGroupsByName, registeredWindowsByName, registeredWorkspacesByName, workspaceTitleByWorkspaceName, setWorkspaceTitle, isMostRecentlyOpenedWindowHidden } = useWorkspace2Store();
@@ -8,7 +8,6 @@ import { type Workspace2DefinitionProps } from './workspace2.component';
8
8
  * the requested group is immediately opened.
9
9
  *
10
10
  * ** 2 sets of props are compatible if either one is nullish, or if they are shallow equal.
11
- * @experimental
12
11
  * @param groupName
13
12
  * @param groupProps
14
13
  * @returns a Promise that resolves to true if the specified workspace group with the specified group props
@@ -18,7 +17,6 @@ export declare function launchWorkspaceGroup2<GroupProps extends object>(groupNa
18
17
  /**
19
18
  * Closes the workspace group that is currently opened. Note that only one workspace group
20
19
  * may be opened at any given time
21
- * @experimental
22
20
  * @param discardUnsavedChanges If true, then the workspace group is forced closed, with no prompt
23
21
  * for confirmation for unsaved changes in any opened workspace. This should be used sparingly
24
22
  * for clean-up purpose, ex: when exiting an app.
@@ -60,7 +58,6 @@ export declare function closeWorkspaceGroup2(discardUnsavedChanges?: boolean): P
60
58
  * The "patient search" workspace in the queues and ward apps is another example.
61
59
  *
62
60
  * [^2] 2 sets of props are compatible if either one is nullish, or if they are shallow equal.
63
- * @experimental
64
61
  */
65
62
  export declare function launchWorkspace2<WorkspaceProps extends object, WindowProps extends object, GroupProp extends object>(workspaceName: string, workspaceProps?: WorkspaceProps | null, windowProps?: WindowProps | null, groupProps?: GroupProp | null): Promise<boolean>;
66
63
  type PromptReason = {
@@ -91,7 +88,6 @@ type PromptReason = {
91
88
  * When the closing is explicit, it prompts for confirmation for affected workspaces with unsaved changes.
92
89
  * When the closing is implicit, it prompts for confirmation for all affected workspaces, regardless of
93
90
  * whether they have unsaved changes.
94
- * @experimental
95
91
  * @param promptReason
96
92
  * @returns a Promise that resolves to true if the user confirmed closing the workspaces; false otherwise.
97
93
  */
@@ -1 +1 @@
1
- {"version":3,"file":"workspace2.d.ts","sourceRoot":"","sources":["../../src/workspaces2/workspace2.ts"],"names":[],"mappings":"AAGA,OAAO,EAIL,KAAK,YAAY,EAGjB,KAAK,oBAAoB,EAC1B,MAAM,yBAAyB,CAAC;AAIjC,OAAO,EAAE,KAAK,yBAAyB,EAAE,MAAM,wBAAwB,CAAC;AAExE;;;;;;;;;;;;;GAaG;AACH,wBAAsB,qBAAqB,CAAC,UAAU,SAAS,MAAM,EACnE,SAAS,EAAE,MAAM,EACjB,UAAU,EAAE,UAAU,GAAG,IAAI,GAC5B,OAAO,CAAC,OAAO,CAAC,CA4BlB;AAED;;;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CAAA;CAAE,GACjE;IAAE,MAAM,EAAE,iBAAiB,CAAC;IAAC,QAAQ,EAAE,OAAO,CAAC;IAAC,UAAU,EAAE,MAAM,CAAC;IAAC,aAAa,EAAE,MAAM,CAAA;CAAE,GAC3F;IAAE,MAAM,EAAE,qBAAqB,CAAC;IAAC,QAAQ,EAAE,KAAK,CAAC;IAAC,iBAAiB,EAAE,MAAM,CAAA;CAAE,CAAC;AAElF;;;;;;;;;;;;;GAaG;AACH,wBAAgB,0BAA0B,CAAC,YAAY,EAAE,YAAY,GAAG,OAAO,CAAC,OAAO,CAAC,CAkEvF;AAED,eAAO,MAAM,sBAAsB;8BACP,oBAAoB,cAAc,MAAM,aAAa,OAAO;;;;;;;;;;;;;;;sBAapE,oBAAoB;;;;;;;;;;;;;;;yBAMjB,oBAAoB,cAAc,MAAM;;;;;;;;;;;;;;;+DAUxB,MAAM;yEAmCpB,MAAM,sBACP,MAAM,uBACL,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC;;;gCAiDd,oBAAoB,iBAAiB,MAAM,qBAAqB,OAAO;6BA0B1E,oBAAoB,iBAAiB,MAAM,SAAS,MAAM,GAAG,IAAI;;;;;;;;;;;;;;;;;CAcnD,CAAC;AAE1C,wBAAgB,kBAAkB;;;;;;;;EAEjC;AAED;;;GAGG;AACH,eAAO,MAAM,oBAAoB,yDACyE,CAAC;AAE3G;;GAEG;AACH,eAAO,MAAM,4BAA4B,gBAExC,CAAC"}
@@ -13,7 +13,6 @@ import { showModal } from "../modals/index.js";
13
13
  * the requested group is immediately opened.
14
14
  *
15
15
  * ** 2 sets of props are compatible if either one is nullish, or if they are shallow equal.
16
- * @experimental
17
16
  * @param groupName
18
17
  * @param groupProps
19
18
  * @returns a Promise that resolves to true if the specified workspace group with the specified group props
@@ -48,7 +47,6 @@ import { showModal } from "../modals/index.js";
48
47
  /**
49
48
  * Closes the workspace group that is currently opened. Note that only one workspace group
50
49
  * may be opened at any given time
51
- * @experimental
52
50
  * @param discardUnsavedChanges If true, then the workspace group is forced closed, with no prompt
53
51
  * for confirmation for unsaved changes in any opened workspace. This should be used sparingly
54
52
  * for clean-up purpose, ex: when exiting an app.
@@ -111,7 +109,6 @@ import { showModal } from "../modals/index.js";
111
109
  * The "patient search" workspace in the queues and ward apps is another example.
112
110
  *
113
111
  * [^2] 2 sets of props are compatible if either one is nullish, or if they are shallow equal.
114
- * @experimental
115
112
  */ export async function launchWorkspace2(workspaceName, workspaceProps = null, windowProps = null, groupProps = null) {
116
113
  const storeState = workspace2Store.getState();
117
114
  if (!storeState.registeredWorkspacesByName[workspaceName]) {
@@ -324,7 +321,6 @@ import { showModal } from "../modals/index.js";
324
321
  * When the closing is explicit, it prompts for confirmation for affected workspaces with unsaved changes.
325
322
  * When the closing is implicit, it prompts for confirmation for all affected workspaces, regardless of
326
323
  * whether they have unsaved changes.
327
- * @experimental
328
324
  * @param promptReason
329
325
  * @returns a Promise that resolves to true if the user confirmed closing the workspaces; false otherwise.
330
326
  */ export function promptForClosingWorkspaces(promptReason) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openmrs/esm-styleguide",
3
- "version": "9.0.3-pre.4784",
3
+ "version": "9.0.3-pre.4788",
4
4
  "license": "MPL-2.0",
5
5
  "description": "The styleguide for OpenMRS SPA",
6
6
  "module": "dist/internal.js",
@@ -98,18 +98,18 @@
98
98
  "swr": "2.x"
99
99
  },
100
100
  "devDependencies": {
101
- "@openmrs/esm-api": "9.0.3-pre.4784",
102
- "@openmrs/esm-config": "9.0.3-pre.4784",
103
- "@openmrs/esm-emr-api": "9.0.3-pre.4784",
104
- "@openmrs/esm-error-handling": "9.0.3-pre.4784",
105
- "@openmrs/esm-extensions": "9.0.3-pre.4784",
106
- "@openmrs/esm-globals": "9.0.3-pre.4784",
107
- "@openmrs/esm-navigation": "9.0.3-pre.4784",
108
- "@openmrs/esm-react-utils": "9.0.3-pre.4784",
109
- "@openmrs/esm-routes": "9.0.3-pre.4784",
110
- "@openmrs/esm-state": "9.0.3-pre.4784",
111
- "@openmrs/esm-translations": "9.0.3-pre.4784",
112
- "@openmrs/esm-utils": "9.0.3-pre.4784",
101
+ "@openmrs/esm-api": "9.0.3-pre.4788",
102
+ "@openmrs/esm-config": "9.0.3-pre.4788",
103
+ "@openmrs/esm-emr-api": "9.0.3-pre.4788",
104
+ "@openmrs/esm-error-handling": "9.0.3-pre.4788",
105
+ "@openmrs/esm-extensions": "9.0.3-pre.4788",
106
+ "@openmrs/esm-globals": "9.0.3-pre.4788",
107
+ "@openmrs/esm-navigation": "9.0.3-pre.4788",
108
+ "@openmrs/esm-react-utils": "9.0.3-pre.4788",
109
+ "@openmrs/esm-routes": "9.0.3-pre.4788",
110
+ "@openmrs/esm-state": "9.0.3-pre.4788",
111
+ "@openmrs/esm-translations": "9.0.3-pre.4788",
112
+ "@openmrs/esm-utils": "9.0.3-pre.4788",
113
113
  "@swc/cli": "0.8.1",
114
114
  "@swc/core": "1.15.21",
115
115
  "@types/geopattern": "^1.2.9",
@@ -62,7 +62,6 @@ export interface ActionMenuButtonProps2 {
62
62
  * 2. restores the workspace window if it is opened and unfocused; or
63
63
  * 3. launches a workspace from within that window, if the window is not opened.
64
64
  *
65
- * @experimental
66
65
  */
67
66
  export const ActionMenuButton2: React.FC<ActionMenuButtonProps2> = ({
68
67
  icon: getIcon,
@@ -15,9 +15,6 @@ interface Workspace2Props {
15
15
  hasUnsavedChanges?: boolean;
16
16
  }
17
17
 
18
- /**
19
- * @experimental
20
- */
21
18
  export interface Workspace2DefinitionProps<
22
19
  WorkspaceProps extends object = object,
23
20
  WindowProps extends object = object,
@@ -50,9 +47,6 @@ export interface Workspace2DefinitionProps<
50
47
  showActionMenu: boolean;
51
48
  }
52
49
 
53
- /**
54
- * @experimental
55
- */
56
50
  export type Workspace2Definition<
57
51
  WorkspaceProps extends object,
58
52
  WindowProps extends object,
@@ -64,7 +58,6 @@ export type Workspace2Definition<
64
58
  * its children as content within a workspace. When creating a workspace
65
59
  * component, `<Workspace2>` should be the top-level component returned,
66
60
  * wrapping all of the workspace content.
67
- * @experimental
68
61
  */
69
62
  export const Workspace2: React.FC<Workspace2Props> = ({ title, children, hasUnsavedChanges = false }) => {
70
63
  const layout = useLayoutType();
@@ -23,7 +23,6 @@ import { type Workspace2DefinitionProps } from './workspace2.component';
23
23
  * the requested group is immediately opened.
24
24
  *
25
25
  * ** 2 sets of props are compatible if either one is nullish, or if they are shallow equal.
26
- * @experimental
27
26
  * @param groupName
28
27
  * @param groupProps
29
28
  * @returns a Promise that resolves to true if the specified workspace group with the specified group props
@@ -65,7 +64,6 @@ export async function launchWorkspaceGroup2<GroupProps extends object>(
65
64
  /**
66
65
  * Closes the workspace group that is currently opened. Note that only one workspace group
67
66
  * may be opened at any given time
68
- * @experimental
69
67
  * @param discardUnsavedChanges If true, then the workspace group is forced closed, with no prompt
70
68
  * for confirmation for unsaved changes in any opened workspace. This should be used sparingly
71
69
  * for clean-up purpose, ex: when exiting an app.
@@ -130,7 +128,6 @@ export async function closeWorkspaceGroup2(discardUnsavedChanges?: boolean) {
130
128
  * The "patient search" workspace in the queues and ward apps is another example.
131
129
  *
132
130
  * [^2] 2 sets of props are compatible if either one is nullish, or if they are shallow equal.
133
- * @experimental
134
131
  */
135
132
  export async function launchWorkspace2<
136
133
  WorkspaceProps extends object,
@@ -357,7 +354,6 @@ type PromptReason =
357
354
  * When the closing is explicit, it prompts for confirmation for affected workspaces with unsaved changes.
358
355
  * When the closing is implicit, it prompts for confirmation for all affected workspaces, regardless of
359
356
  * whether they have unsaved changes.
360
- * @experimental
361
357
  * @param promptReason
362
358
  * @returns a Promise that resolves to true if the user confirmed closing the workspaces; false otherwise.
363
359
  */