@texturehq/edges 3.1.4 → 3.2.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.
- package/dist/index.cjs +8 -8
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +3 -8
- package/dist/index.d.ts +3 -8
- package/dist/index.js +8 -8
- package/dist/index.js.map +1 -1
- package/dist/styles.css +0 -4
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -5869,8 +5869,8 @@ type KpiFormatter = ComponentFormatter;
|
|
|
5869
5869
|
* />
|
|
5870
5870
|
* ```
|
|
5871
5871
|
*
|
|
5872
|
-
* The "tile" opt-ins (`unit`, `sub`, `dashed`, `
|
|
5873
|
-
* `
|
|
5872
|
+
* The "tile" opt-ins (`unit`, `sub`, `dashed`, `sparkVariant="area"`,
|
|
5873
|
+
* `tileValueSize`) let the `entity.now` and `metrics.kpi`
|
|
5874
5874
|
* blocks draw their KPI cell from this one primitive instead of hand-rolling it.
|
|
5875
5875
|
* Every one is optional and defaults to the legacy presentation, so existing
|
|
5876
5876
|
* callers (Boards, standalone Kpi) are unaffected until they opt in.
|
|
@@ -5943,11 +5943,6 @@ interface KpiProps {
|
|
|
5943
5943
|
* kept. Distinct from `empty` (which is "no metric at all").
|
|
5944
5944
|
*/
|
|
5945
5945
|
dashed?: boolean;
|
|
5946
|
-
/**
|
|
5947
|
-
* Label presentation. `"mono-caps"` renders the design's Geist-Mono 10px
|
|
5948
|
-
* uppercase caption so blocks don't hand-pass `labelClassName`.
|
|
5949
|
-
*/
|
|
5950
|
-
labelVariant?: "default" | "mono-caps";
|
|
5951
5946
|
/**
|
|
5952
5947
|
* Sparkline style. `"line"` (default, back-compat) is the thin border-muted
|
|
5953
5948
|
* polyline; `"area"` is the smooth Catmull-Rom curve with a gradient area
|
|
@@ -5964,7 +5959,7 @@ interface KpiProps {
|
|
|
5964
5959
|
*/
|
|
5965
5960
|
tileValueSize?: "md" | "lg";
|
|
5966
5961
|
}
|
|
5967
|
-
declare function Kpi({ label, value, formatter, delta, deltaPeriodLabel, deltaIntent, trend, status, helpText, size, orientation, isLoading, empty, error, onClick, className, labelClassName, renderValue, renderDelta, renderTrend, unit, sub, dashed,
|
|
5962
|
+
declare function Kpi({ label, value, formatter, delta, deltaPeriodLabel, deltaIntent, trend, status, helpText, size, orientation, isLoading, empty, error, onClick, className, labelClassName, renderValue, renderDelta, renderTrend, unit, sub, dashed, sparkVariant, sparkTone, tileValueSize, }: KpiProps): react_jsx_runtime.JSX.Element;
|
|
5968
5963
|
|
|
5969
5964
|
/**
|
|
5970
5965
|
* KpiGroup Component — Layout container for multiple KPIs
|
package/dist/index.d.ts
CHANGED
|
@@ -5869,8 +5869,8 @@ type KpiFormatter = ComponentFormatter;
|
|
|
5869
5869
|
* />
|
|
5870
5870
|
* ```
|
|
5871
5871
|
*
|
|
5872
|
-
* The "tile" opt-ins (`unit`, `sub`, `dashed`, `
|
|
5873
|
-
* `
|
|
5872
|
+
* The "tile" opt-ins (`unit`, `sub`, `dashed`, `sparkVariant="area"`,
|
|
5873
|
+
* `tileValueSize`) let the `entity.now` and `metrics.kpi`
|
|
5874
5874
|
* blocks draw their KPI cell from this one primitive instead of hand-rolling it.
|
|
5875
5875
|
* Every one is optional and defaults to the legacy presentation, so existing
|
|
5876
5876
|
* callers (Boards, standalone Kpi) are unaffected until they opt in.
|
|
@@ -5943,11 +5943,6 @@ interface KpiProps {
|
|
|
5943
5943
|
* kept. Distinct from `empty` (which is "no metric at all").
|
|
5944
5944
|
*/
|
|
5945
5945
|
dashed?: boolean;
|
|
5946
|
-
/**
|
|
5947
|
-
* Label presentation. `"mono-caps"` renders the design's Geist-Mono 10px
|
|
5948
|
-
* uppercase caption so blocks don't hand-pass `labelClassName`.
|
|
5949
|
-
*/
|
|
5950
|
-
labelVariant?: "default" | "mono-caps";
|
|
5951
5946
|
/**
|
|
5952
5947
|
* Sparkline style. `"line"` (default, back-compat) is the thin border-muted
|
|
5953
5948
|
* polyline; `"area"` is the smooth Catmull-Rom curve with a gradient area
|
|
@@ -5964,7 +5959,7 @@ interface KpiProps {
|
|
|
5964
5959
|
*/
|
|
5965
5960
|
tileValueSize?: "md" | "lg";
|
|
5966
5961
|
}
|
|
5967
|
-
declare function Kpi({ label, value, formatter, delta, deltaPeriodLabel, deltaIntent, trend, status, helpText, size, orientation, isLoading, empty, error, onClick, className, labelClassName, renderValue, renderDelta, renderTrend, unit, sub, dashed,
|
|
5962
|
+
declare function Kpi({ label, value, formatter, delta, deltaPeriodLabel, deltaIntent, trend, status, helpText, size, orientation, isLoading, empty, error, onClick, className, labelClassName, renderValue, renderDelta, renderTrend, unit, sub, dashed, sparkVariant, sparkTone, tileValueSize, }: KpiProps): react_jsx_runtime.JSX.Element;
|
|
5968
5963
|
|
|
5969
5964
|
/**
|
|
5970
5965
|
* KpiGroup Component — Layout container for multiple KPIs
|