@openmrs/esm-styleguide 9.0.3-pre.4264 → 9.0.3-pre.4284

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 163 files with swc (287.72ms)
1
+ [0] Successfully compiled: 123 files, copied 163 files with swc (290.42ms)
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
@@ -4,7 +4,6 @@ export const mockConfig: ConfigSchema = {
4
4
  provider: {
5
5
  type: 'basic',
6
6
  loginUrl: '',
7
- logoutUrl: '',
8
7
  },
9
8
  chooseLocation: {
10
9
  enabled: true,
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/dashboard-extension/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAKvC,OAAO,EAAE,KAAK,MAAM,EAAE,MAAM,UAAU,CAAC;AAGvC,MAAM,WAAW,uBAAuB;IACtC,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED,eAAO,MAAM,kBAAkB,GAAI,iCAAiC,uBAAuB,sBAmC1F,CAAC;AAEF,wBAAgB,eAAe,CAAC,KAAK,EAAE,IAAI,CAAC,uBAAuB,EAAE,UAAU,CAAC,IAC7D,cAAc;IAAE,QAAQ,EAAE,MAAM,CAAA;CAAE,uBAOpD"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/dashboard-extension/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAMvC,OAAO,EAAE,KAAK,MAAM,EAAE,MAAM,UAAU,CAAC;AAGvC,MAAM,WAAW,uBAAuB;IACtC,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED,eAAO,MAAM,kBAAkB,GAAI,iCAAiC,uBAAuB,sBAmC1F,CAAC;AAEF,wBAAgB,eAAe,CAAC,KAAK,EAAE,IAAI,CAAC,uBAAuB,EAAE,UAAU,CAAC,IAC7D,cAAc;IAAE,QAAQ,EAAE,MAAM,CAAA;CAAE,uBAOpD"}
@@ -3,7 +3,8 @@ import React, { useMemo } from "react";
3
3
  import classNames from "classnames";
4
4
  import { useTranslation } from "react-i18next";
5
5
  import { BrowserRouter, useLocation } from "react-router-dom";
6
- import { ConfigurableLink, MaybeIcon } from "@openmrs/esm-framework";
6
+ import { ConfigurableLink } from "@openmrs/esm-react-utils";
7
+ import { MaybeIcon } from "../icons/icons.js";
7
8
  import styles from "./dashboard.module.scss";
8
9
  export const DashboardExtension = ({ path, title, basePath, icon })=>{
9
10
  const { t } = useTranslation();
@@ -2,7 +2,7 @@ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-run
2
2
  import React, { useCallback, useId, useMemo, useState } from "react";
3
3
  import { InlineLoading, InlineNotification, RadioButton, RadioButtonGroup, RadioButtonSkeleton, Search } from "@carbon/react";
4
4
  import { getCoreTranslation } from "@openmrs/esm-translations";
5
- import { useOnVisible } from "@openmrs/esm-framework";
5
+ import { useOnVisible } from "@openmrs/esm-react-utils";
6
6
  import { useLocationByUuid, useLocations } from "./location-picker.resource.js";
7
7
  import styles from "./location-picker.module.scss";
8
8
  export const LocationPicker = ({ selectedLocationUuid, defaultLocationUuid, locationTag, locationsPerRequest = 50, onChange })=>{
@@ -1 +1 @@
1
- {"version":3,"file":"action-menu2.component.d.ts","sourceRoot":"","sources":["../../../src/workspaces2/action-menu2/action-menu2.component.tsx"],"names":[],"mappings":"AAAA,kCAAkC;AAClC,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,OAAO,EAAE,KAAK,yBAAyB,EAAE,MAAM,sBAAsB,CAAC;AAMtE,MAAM,WAAW,eAAe;IAC9B,cAAc,EAAE,yBAAyB,GAAG;QAAE,UAAU,EAAE,MAAM,CAAA;KAAE,CAAC;IACnE,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,IAAI,CAAC;CACxC;AAED;;;;GAIG;AACH,wBAAgB,UAAU,CAAC,EAAE,cAAc,EAAE,UAAU,EAAE,EAAE,eAAe,qBA8BzE;AAED,eAAe,UAAU,CAAC"}
1
+ {"version":3,"file":"action-menu2.component.d.ts","sourceRoot":"","sources":["../../../src/workspaces2/action-menu2/action-menu2.component.tsx"],"names":[],"mappings":"AAAA,kCAAkC;AAClC,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,EAAE,KAAK,yBAAyB,EAAE,MAAM,sBAAsB,CAAC;AAMtE,MAAM,WAAW,eAAe;IAC9B,cAAc,EAAE,yBAAyB,GAAG;QAAE,UAAU,EAAE,MAAM,CAAA;KAAE,CAAC;IACnE,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,IAAI,CAAC;CACxC;AAED;;;;GAIG;AACH,wBAAgB,UAAU,CAAC,EAAE,cAAc,EAAE,UAAU,EAAE,EAAE,eAAe,qBA8BzE;AAED,eAAe,UAAU,CAAC"}
@@ -1,8 +1,7 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  /** @module @category Workspace */ import React from "react";
3
3
  import { IconButton } from "@carbon/react";
4
- import { ExtensionSlot } from "@openmrs/esm-framework";
5
- import { ComponentContext, isDesktop, useLayoutType } from "@openmrs/esm-react-utils";
4
+ import { ExtensionSlot, ComponentContext, isDesktop, useLayoutType } from "@openmrs/esm-react-utils";
6
5
  import { getCoreTranslation } from "@openmrs/esm-translations";
7
6
  import { closeWorkspaceGroup2 } from "../workspace2.js";
8
7
  import { CloseIcon } from "../../icons/index.js";
package/package.json CHANGED
@@ -1,25 +1,25 @@
1
1
  {
2
2
  "name": "@openmrs/esm-styleguide",
3
- "version": "9.0.3-pre.4264",
3
+ "version": "9.0.3-pre.4284",
4
4
  "license": "MPL-2.0",
5
5
  "description": "The styleguide for OpenMRS SPA",
6
6
  "module": "dist/internal.js",
7
7
  "types": "dist/public.d.ts",
8
8
  "exports": {
9
9
  ".": {
10
- "types": "./src/internal.ts",
10
+ "types": "./dist/internal.d.ts",
11
11
  "default": "./dist/internal.js"
12
12
  },
13
13
  "./src/internal": {
14
- "types": "./src/internal.ts",
14
+ "types": "./dist/internal.d.ts",
15
15
  "default": "./dist/internal.js"
16
16
  },
17
17
  "./src/public": {
18
- "types": "./src/public.ts",
18
+ "types": "./dist/public.d.ts",
19
19
  "default": "./dist/public.js"
20
20
  },
21
21
  "./src/index": {
22
- "types": "./src/index.ts",
22
+ "types": "./dist/index.d.ts",
23
23
  "default": "./dist/index.js"
24
24
  },
25
25
  "./styles": {
@@ -96,17 +96,17 @@
96
96
  "swr": "2.x"
97
97
  },
98
98
  "devDependencies": {
99
- "@openmrs/esm-api": "9.0.3-pre.4264",
100
- "@openmrs/esm-config": "9.0.3-pre.4264",
101
- "@openmrs/esm-emr-api": "9.0.3-pre.4264",
102
- "@openmrs/esm-error-handling": "9.0.3-pre.4264",
103
- "@openmrs/esm-extensions": "9.0.3-pre.4264",
104
- "@openmrs/esm-globals": "9.0.3-pre.4264",
105
- "@openmrs/esm-navigation": "9.0.3-pre.4264",
106
- "@openmrs/esm-react-utils": "9.0.3-pre.4264",
107
- "@openmrs/esm-state": "9.0.3-pre.4264",
108
- "@openmrs/esm-translations": "9.0.3-pre.4264",
109
- "@openmrs/esm-utils": "9.0.3-pre.4264",
99
+ "@openmrs/esm-api": "9.0.3-pre.4284",
100
+ "@openmrs/esm-config": "9.0.3-pre.4284",
101
+ "@openmrs/esm-emr-api": "9.0.3-pre.4284",
102
+ "@openmrs/esm-error-handling": "9.0.3-pre.4284",
103
+ "@openmrs/esm-extensions": "9.0.3-pre.4284",
104
+ "@openmrs/esm-globals": "9.0.3-pre.4284",
105
+ "@openmrs/esm-navigation": "9.0.3-pre.4284",
106
+ "@openmrs/esm-react-utils": "9.0.3-pre.4284",
107
+ "@openmrs/esm-state": "9.0.3-pre.4284",
108
+ "@openmrs/esm-translations": "9.0.3-pre.4284",
109
+ "@openmrs/esm-utils": "9.0.3-pre.4284",
110
110
  "@swc/cli": "0.8.0",
111
111
  "@swc/core": "1.15.18",
112
112
  "@types/geopattern": "^1.2.9",
@@ -2,7 +2,8 @@ import React, { useMemo } from 'react';
2
2
  import classNames from 'classnames';
3
3
  import { useTranslation } from 'react-i18next';
4
4
  import { BrowserRouter, useLocation } from 'react-router-dom';
5
- import { ConfigurableLink, MaybeIcon } from '@openmrs/esm-framework';
5
+ import { ConfigurableLink } from '@openmrs/esm-react-utils';
6
+ import { MaybeIcon } from '../icons/icons';
6
7
  import { type IconId } from '../icons';
7
8
  import styles from './dashboard.module.scss';
8
9
 
@@ -8,7 +8,7 @@ import {
8
8
  Search,
9
9
  } from '@carbon/react';
10
10
  import { getCoreTranslation } from '@openmrs/esm-translations';
11
- import { useOnVisible } from '@openmrs/esm-framework';
11
+ import { useOnVisible } from '@openmrs/esm-react-utils';
12
12
  import { useLocationByUuid, useLocations } from './location-picker.resource';
13
13
  import styles from './location-picker.module.scss';
14
14
 
@@ -1,8 +1,7 @@
1
1
  /** @module @category Workspace */
2
2
  import React from 'react';
3
3
  import { IconButton } from '@carbon/react';
4
- import { ExtensionSlot } from '@openmrs/esm-framework';
5
- import { ComponentContext, isDesktop, useLayoutType } from '@openmrs/esm-react-utils';
4
+ import { ExtensionSlot, ComponentContext, isDesktop, useLayoutType } from '@openmrs/esm-react-utils';
6
5
  import { type WorkspaceGroupDefinition2 } from '@openmrs/esm-globals';
7
6
  import { getCoreTranslation } from '@openmrs/esm-translations';
8
7
  import { closeWorkspaceGroup2 } from '../workspace2';