@galaxy-io/filament-ui 0.13.0 → 0.14.0

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.
@@ -17,9 +17,7 @@ import { PlusIcon } from "@phosphor-icons/react";
17
17
  import Button, { ButtonVariant } from "@galaxy-io/dls/buttons/Button";
18
18
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
19
19
  import Flex, { FlexDirection } from "@galaxy-io/dls/layout/Flex";
20
- import Box from "@galaxy-io/dls/layout/Box";
21
20
  import { styled } from "@linaria/react";
22
- import Divider from "@galaxy-io/dls/layout/Divider";
23
21
  import ScrollArea from "@galaxy-io/dls/layout/ScrollArea";
24
22
  import GalaxyFilamentWordmark from "@galaxy-io/dls/brand/GalaxyFilamentWordmark";
25
23
  import ChartGroupProvider from "@galaxy-io/dls/charts/ChartGroupProvider";
@@ -68,19 +66,17 @@ var ObservabilityPage = () => {
68
66
  children: /* @__PURE__ */ jsxs(ScrollArea, {
69
67
  ref: scrollRef,
70
68
  className: OBSERVABILITY_PAGE_SCROLL_CSS,
71
- children: [/* @__PURE__ */ jsxs(ObservabilityLayout, { children: [
72
- /* @__PURE__ */ jsx(ObservabilityBand, {}),
73
- /* @__PURE__ */ jsx(Divider, {}),
74
- /* @__PURE__ */ jsx(Box, {
75
- padding: 16,
76
- fillWidth: true,
77
- children: /* @__PURE__ */ jsxs(ObservabilityBlock, { children: [/* @__PURE__ */ jsx(ObservabilityPipelinesWidget, {}), /* @__PURE__ */ jsxs(ObservabilityBlockSide, { children: [
78
- /* @__PURE__ */ jsx(ObservabilityScheduledWidget, {}),
79
- /* @__PURE__ */ jsx(ObservabilityConnectionsWidget, { kind: ConnectorKind.SOURCE }),
80
- /* @__PURE__ */ jsx(ObservabilityConnectionsWidget, { kind: ConnectorKind.SINK })
81
- ] })] })
82
- })
83
- ] }), /* @__PURE__ */ jsx(Flex, {
69
+ children: [/* @__PURE__ */ jsx(ObservabilityLayout, { children: /* @__PURE__ */ jsxs(Flex, {
70
+ direction: FlexDirection.COLUMN,
71
+ gap: 12,
72
+ padding: 16,
73
+ fillWidth: true,
74
+ children: [/* @__PURE__ */ jsx(ObservabilityBand, {}), /* @__PURE__ */ jsxs(ObservabilityBlock, { children: [/* @__PURE__ */ jsx(ObservabilityPipelinesWidget, {}), /* @__PURE__ */ jsxs(ObservabilityBlockSide, { children: [
75
+ /* @__PURE__ */ jsx(ObservabilityScheduledWidget, {}),
76
+ /* @__PURE__ */ jsx(ObservabilityConnectionsWidget, { kind: ConnectorKind.SOURCE }),
77
+ /* @__PURE__ */ jsx(ObservabilityConnectionsWidget, { kind: ConnectorKind.SINK })
78
+ ] })] })]
79
+ }) }), /* @__PURE__ */ jsx(Flex, {
84
80
  ref: takeoverRef,
85
81
  direction: FlexDirection.COLUMN,
86
82
  height: OBSERVABILITY_RUNS_TAKEOVER_HEIGHT,
@@ -2,6 +2,7 @@ import ObservabilityBandMetricTile from "./ObservabilityBandMetricTile.js";
2
2
  import ObservabilityBandRunsTile from "./ObservabilityBandRunsTile.js";
3
3
  /* empty css */
4
4
  import { jsx, jsxs } from "react/jsx-runtime";
5
+ import Widget from "@galaxy-io/dls/widget/Widget";
5
6
  import { styled } from "@linaria/react";
6
7
  //#region src/pages/observability/components/band/ObservabilityBand.tsx
7
8
  var ObservabilityBandGrid = /*#__PURE__*/ styled("div")({
@@ -9,20 +10,23 @@ var ObservabilityBandGrid = /*#__PURE__*/ styled("div")({
9
10
  class: "filament-ObservabilityBand-ObservabilityBandGrid-o1u9j31d",
10
11
  propsAsIs: false
11
12
  });
12
- var ObservabilityBand = () => /* @__PURE__ */ jsxs(ObservabilityBandGrid, { children: [
13
- /* @__PURE__ */ jsx(ObservabilityBandRunsTile, {}),
14
- /* @__PURE__ */ jsx(ObservabilityBandMetricTile, {
15
- label: "Throughput",
16
- viewKey: "throughput",
17
- pivotKey: "throughputPivot",
18
- isStacked: true
19
- }),
20
- /* @__PURE__ */ jsx(ObservabilityBandMetricTile, {
21
- label: "Usage",
22
- viewKey: "usage",
23
- pivotKey: "usagePivot",
24
- isStacked: false
25
- })
26
- ] });
13
+ var ObservabilityBand = () => /* @__PURE__ */ jsx(Widget, {
14
+ isFlush: true,
15
+ children: /* @__PURE__ */ jsxs(ObservabilityBandGrid, { children: [
16
+ /* @__PURE__ */ jsx(ObservabilityBandRunsTile, {}),
17
+ /* @__PURE__ */ jsx(ObservabilityBandMetricTile, {
18
+ label: "Throughput",
19
+ viewKey: "throughput",
20
+ pivotKey: "throughputPivot",
21
+ isStacked: true
22
+ }),
23
+ /* @__PURE__ */ jsx(ObservabilityBandMetricTile, {
24
+ label: "Usage",
25
+ viewKey: "usage",
26
+ pivotKey: "usagePivot",
27
+ isStacked: false
28
+ })
29
+ ] })
30
+ });
27
31
  //#endregion
28
32
  export { ObservabilityBand as default };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@galaxy-io/filament-ui",
3
- "version": "0.13.0",
3
+ "version": "0.14.0",
4
4
  "description": "Filament's web UI as a Galaxy module a host app mounts",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {