ydb-embedded-ui 6.26.0 → 6.26.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -6,6 +6,7 @@
6
6
  display: inline-flex;
7
7
  align-items: center;
8
8
 
9
+ min-width: 90px;
9
10
  max-width: 100%;
10
11
  height: 100%;
11
12
 
@@ -1,8 +1,10 @@
1
+ import type { ButtonSize } from '@gravity-ui/uikit';
1
2
  import './MonitoringButton.scss';
2
3
  interface MonitoringButtonProps {
3
4
  className?: string;
4
5
  visible?: boolean;
5
6
  href: string;
7
+ size?: ButtonSize;
6
8
  }
7
- export declare function MonitoringButton({ href, visible, className }: MonitoringButtonProps): import("react/jsx-runtime").JSX.Element;
9
+ export declare function MonitoringButton({ href, visible, className, size, }: MonitoringButtonProps): import("react/jsx-runtime").JSX.Element;
8
10
  export {};
@@ -4,7 +4,7 @@ import { cn } from '../../utils/cn';
4
4
  import monitoringIcon from '../../assets/icons/monitoring.svg';
5
5
  import './MonitoringButton.scss';
6
6
  const b = cn('kv-monitoring-button');
7
- export function MonitoringButton({ href, visible = false, className }) {
8
- return (_jsx(Button, { href: href, target: "_blank", className: b({ visible }, className), size: "s", title: "Monitoring dashboard", children: _jsx(Icon, { data: monitoringIcon }) }));
7
+ export function MonitoringButton({ href, visible = false, className, size = 's', }) {
8
+ return (_jsx(Button, { href: href, target: "_blank", className: b({ visible }, className), size: size, title: "Monitoring dashboard", children: _jsx(Icon, { data: monitoringIcon }) }));
9
9
  }
10
10
  //# sourceMappingURL=MonitoringButton.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"MonitoringButton.js","sourceRoot":"","sources":["../../../src/components/MonitoringButton/MonitoringButton.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAC,MAAM,EAAE,IAAI,EAAC,MAAM,mBAAmB,CAAC;AAE/C,OAAO,EAAC,EAAE,EAAC,MAAM,gBAAgB,CAAC;AAElC,OAAO,cAAc,MAAM,mCAAmC,CAAC;AAE/D,OAAO,yBAAyB,CAAC;AAEjC,MAAM,CAAC,GAAG,EAAE,CAAC,sBAAsB,CAAC,CAAC;AAQrC,MAAM,UAAU,gBAAgB,CAAC,EAAC,IAAI,EAAE,OAAO,GAAG,KAAK,EAAE,SAAS,EAAwB;IACtF,OAAO,CACH,KAAC,MAAM,IACH,IAAI,EAAE,IAAI,EACV,MAAM,EAAC,QAAQ,EACf,SAAS,EAAE,CAAC,CAAC,EAAC,OAAO,EAAC,EAAE,SAAS,CAAC,EAClC,IAAI,EAAC,GAAG,EACR,KAAK,EAAC,sBAAsB,YAE5B,KAAC,IAAI,IAAC,IAAI,EAAE,cAAc,GAAI,GACzB,CACZ,CAAC;AACN,CAAC"}
1
+ {"version":3,"file":"MonitoringButton.js","sourceRoot":"","sources":["../../../src/components/MonitoringButton/MonitoringButton.tsx"],"names":[],"mappings":";AACA,OAAO,EAAC,MAAM,EAAE,IAAI,EAAC,MAAM,mBAAmB,CAAC;AAE/C,OAAO,EAAC,EAAE,EAAC,MAAM,gBAAgB,CAAC;AAElC,OAAO,cAAc,MAAM,mCAAmC,CAAC;AAE/D,OAAO,yBAAyB,CAAC;AAEjC,MAAM,CAAC,GAAG,EAAE,CAAC,sBAAsB,CAAC,CAAC;AASrC,MAAM,UAAU,gBAAgB,CAAC,EAC7B,IAAI,EACJ,OAAO,GAAG,KAAK,EACf,SAAS,EACT,IAAI,GAAG,GAAG,GACU;IACpB,OAAO,CACH,KAAC,MAAM,IACH,IAAI,EAAE,IAAI,EACV,MAAM,EAAC,QAAQ,EACf,SAAS,EAAE,CAAC,CAAC,EAAC,OAAO,EAAC,EAAE,SAAS,CAAC,EAClC,IAAI,EAAE,IAAI,EACV,KAAK,EAAC,sBAAsB,YAE5B,KAAC,IAAI,IAAC,IAAI,EAAE,cAAc,GAAI,GACzB,CACZ,CAAC;AACN,CAAC"}
@@ -13,7 +13,7 @@ export function ExtendedTenant({ component: TenantComponent, getMonitoringLink,
13
13
  dbName,
14
14
  dbType,
15
15
  });
16
- return href ? _jsx(MonitoringButton, { href: href, visible: true }) : null;
16
+ return href ? _jsx(MonitoringButton, { href: href, visible: true, size: "xs" }) : null;
17
17
  }
18
18
  return null;
19
19
  },
@@ -1 +1 @@
1
- {"version":3,"file":"ExtendedTenant.js","sourceRoot":"","sources":["../../../../src/containers/AppWithClusters/ExtendedTenant/ExtendedTenant.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAC,gBAAgB,EAAC,MAAM,uDAAuD,CAAC;AACvF,OAAO,EAAC,kBAAkB,EAAC,MAAM,yCAAyC,CAAC;AAI3E,OAAO,EAAC,sBAAsB,EAAC,MAAM,mBAAmB,CAAC;AAOzD,MAAM,UAAU,cAAc,CAAC,EAC3B,SAAS,EAAE,eAAe,EAC1B,iBAAiB,GACC;IAClB,MAAM,EAAC,QAAQ,EAAE,UAAU,EAAC,GAAG,kBAAkB,EAAE,CAAC;IACpD,MAAM,EAAC,oBAAoB,EAAC,GAAG,sBAAsB,CAAC,EAAC,QAAQ,EAAC,CAAC,CAAC;IAElE,MAAM,qBAAqB,GAAG;QAC1B,iBAAiB,EAAE,CAAC,MAAe,EAAE,MAAoB,EAAE,EAAE;YACzD,IAAI,UAAU,IAAI,MAAM,IAAI,MAAM,IAAI,iBAAiB,EAAE,CAAC;gBACtD,MAAM,IAAI,GAAG,iBAAiB,CAAC;oBAC3B,UAAU;oBACV,MAAM;oBACN,MAAM;iBACT,CAAC,CAAC;gBACH,OAAO,IAAI,CAAC,CAAC,CAAC,KAAC,gBAAgB,IAAC,IAAI,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,GAAI,CAAC,CAAC,CAAC,IAAI,CAAC;YACzE,CAAC;YAED,OAAO,IAAI,CAAC;QAChB,CAAC;KACJ,CAAC;IAEF,OAAO,CACH,KAAC,eAAe,IACZ,qBAAqB,EAAE,qBAAqB,EAC5C,oBAAoB,EAAE,oBAAoB,GAC5C,CACL,CAAC;AACN,CAAC"}
1
+ {"version":3,"file":"ExtendedTenant.js","sourceRoot":"","sources":["../../../../src/containers/AppWithClusters/ExtendedTenant/ExtendedTenant.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAC,gBAAgB,EAAC,MAAM,uDAAuD,CAAC;AACvF,OAAO,EAAC,kBAAkB,EAAC,MAAM,yCAAyC,CAAC;AAI3E,OAAO,EAAC,sBAAsB,EAAC,MAAM,mBAAmB,CAAC;AAOzD,MAAM,UAAU,cAAc,CAAC,EAC3B,SAAS,EAAE,eAAe,EAC1B,iBAAiB,GACC;IAClB,MAAM,EAAC,QAAQ,EAAE,UAAU,EAAC,GAAG,kBAAkB,EAAE,CAAC;IACpD,MAAM,EAAC,oBAAoB,EAAC,GAAG,sBAAsB,CAAC,EAAC,QAAQ,EAAC,CAAC,CAAC;IAElE,MAAM,qBAAqB,GAAG;QAC1B,iBAAiB,EAAE,CAAC,MAAe,EAAE,MAAoB,EAAE,EAAE;YACzD,IAAI,UAAU,IAAI,MAAM,IAAI,MAAM,IAAI,iBAAiB,EAAE,CAAC;gBACtD,MAAM,IAAI,GAAG,iBAAiB,CAAC;oBAC3B,UAAU;oBACV,MAAM;oBACN,MAAM;iBACT,CAAC,CAAC;gBACH,OAAO,IAAI,CAAC,CAAC,CAAC,KAAC,gBAAgB,IAAC,IAAI,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,IAAI,EAAC,IAAI,GAAG,CAAC,CAAC,CAAC,IAAI,CAAC;YACnF,CAAC;YAED,OAAO,IAAI,CAAC;QAChB,CAAC;KACJ,CAAC;IAEF,OAAO,CACH,KAAC,eAAe,IACZ,qBAAqB,EAAE,qBAAqB,EAC5C,oBAAoB,EAAE,oBAAoB,GAC5C,CACL,CAAC;AACN,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ydb-embedded-ui",
3
- "version": "6.26.0",
3
+ "version": "6.26.1",
4
4
  "files": [
5
5
  "dist"
6
6
  ],