@galaxy-io/dls 2.7.0 → 2.8.1

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@galaxy-io/dls",
3
- "version": "2.7.0",
3
+ "version": "2.8.1",
4
4
  "description": "Galaxy Design Language System",
5
5
  "license": "UNLICENSED",
6
6
  "type": "module",
@@ -45,6 +45,10 @@
45
45
  "types": "./dist/beacons/Beacon.d.ts",
46
46
  "import": "./dist/beacons/Beacon.js"
47
47
  },
48
+ "./brand/GalaxyAlchemyWordmark": {
49
+ "types": "./dist/brand/GalaxyAlchemyWordmark.d.ts",
50
+ "import": "./dist/brand/GalaxyAlchemyWordmark.js"
51
+ },
48
52
  "./brand/GalaxyFilamentWordmark": {
49
53
  "types": "./dist/brand/GalaxyFilamentWordmark.d.ts",
50
54
  "import": "./dist/brand/GalaxyFilamentWordmark.js"
@@ -89,6 +93,14 @@
89
93
  "types": "./dist/charts/BarChart.d.ts",
90
94
  "import": "./dist/charts/BarChart.js"
91
95
  },
96
+ "./charts/BigNumber": {
97
+ "types": "./dist/charts/BigNumber.d.ts",
98
+ "import": "./dist/charts/BigNumber.js"
99
+ },
100
+ "./charts/BigNumberGroup": {
101
+ "types": "./dist/charts/BigNumberGroup.d.ts",
102
+ "import": "./dist/charts/BigNumberGroup.js"
103
+ },
92
104
  "./charts/ChartAxis": {
93
105
  "types": "./dist/charts/ChartAxis.d.ts",
94
106
  "import": "./dist/charts/ChartAxis.js"
@@ -137,10 +149,6 @@
137
149
  "types": "./dist/charts/Sparkline.d.ts",
138
150
  "import": "./dist/charts/Sparkline.js"
139
151
  },
140
- "./charts/StatChart": {
141
- "types": "./dist/charts/StatChart.d.ts",
142
- "import": "./dist/charts/StatChart.js"
143
- },
144
152
  "./charts/barChartGeometry": {
145
153
  "types": "./dist/charts/barChartGeometry.d.ts",
146
154
  "import": "./dist/charts/barChartGeometry.js"
@@ -1,48 +0,0 @@
1
- import { type AriaAttributes, type CSSProperties, type ReactNode } from "react";
2
- /** Tile fill (Constitution V surface set: containers). */
3
- export declare enum StatChartVariant {
4
- /** The canvas fill, `background.base`. */
5
- BASE = "BASE",
6
- /** A panel fill, `background.primary`. The default (1.x). */
7
- PRIMARY = "PRIMARY",
8
- /** A raised fill, `background.secondary`. */
9
- SECONDARY = "SECONDARY",
10
- /** The most elevated fill, `background.tertiary`. */
11
- TERTIARY = "TERTIARY"
12
- }
13
- export interface StatChartProps extends AriaAttributes {
14
- /** What the number means. Small, tertiary, one line above the value. */
15
- label: string;
16
- /** The headline figure. A string or number renders as `body_lg` medium with tabular numerals; pass a node for a value with a unit or a custom treatment. */
17
- value: ReactNode;
18
- /** One short line under the value: the comparison or context ("+4% vs last week"). */
19
- description?: string;
20
- /** At the end of the value row, vertically centered: a `Sparkline`, a `Chip`, a delta. */
21
- trailing?: ReactNode;
22
- /**
23
- * Surface fill of the tile.
24
- * @default StatChartVariant.PRIMARY
25
- */
26
- variant?: StatChartVariant;
27
- /**
28
- * Adds the 1px hairline. Use it for tiles on a page; leave it off inside an already-bordered container.
29
- * @default false
30
- */
31
- hasBorder?: boolean;
32
- /**
33
- * Replaces `value` with a `Skeleton` line and hides `description` and `trailing`; the label stays. Sets `aria-busy`.
34
- * @default false
35
- */
36
- isLoading?: boolean;
37
- /** DOM id on the root. */
38
- id?: string;
39
- /** Any `data-*` attribute, forwarded to the root. */
40
- [dataAttribute: `data-${string}`]: string | number | boolean | undefined;
41
- /** Extra class on the root. */
42
- className?: string;
43
- /** Inline style on the root; only for setting CSS custom properties. */
44
- style?: CSSProperties;
45
- }
46
- /** A KPI tile: label, headline value, optional description and trailing trend. */
47
- declare const StatChart: import("react").ForwardRefExoticComponent<StatChartProps & import("react").RefAttributes<HTMLElement>>;
48
- export default StatChart;