@sesionario/blocks 1.30.0 → 1.31.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/charts.js CHANGED
@@ -18,7 +18,7 @@ import { createPortal } from 'react-dom';
18
18
  import { GridRows, GridColumns } from '@visx/grid';
19
19
  import NumberFlow from '@number-flow/react';
20
20
  import { LinearGradient } from '@visx/gradient';
21
- import { CentralIcon } from '@central-icons-react/all';
21
+ import { ArrowUp, ArrowDown } from 'lucide-react';
22
22
  import { cva } from 'class-variance-authority';
23
23
  import { Slot } from 'radix-ui';
24
24
 
@@ -13500,6 +13500,7 @@ function TrendBadge({
13500
13500
  className
13501
13501
  }) {
13502
13502
  const positive = value >= 0;
13503
+ const Icon = positive ? ArrowUp : ArrowDown;
13503
13504
  return /* @__PURE__ */ jsxs(
13504
13505
  Badge,
13505
13506
  {
@@ -13509,18 +13510,7 @@ function TrendBadge({
13509
13510
  ),
13510
13511
  variant: positive ? "outline" : "destructive",
13511
13512
  children: [
13512
- /* @__PURE__ */ jsx(
13513
- CentralIcon,
13514
- {
13515
- className: "size-3",
13516
- "data-icon": "inline-start",
13517
- fill: "outlined",
13518
- join: "round",
13519
- name: positive ? "IconArrowUp" : "IconArrowDown",
13520
- radius: "0",
13521
- stroke: "1.5"
13522
- }
13523
- ),
13513
+ /* @__PURE__ */ jsx(Icon, { className: "size-3", "data-icon": "inline-start" }),
13524
13514
  positive ? "+" : "",
13525
13515
  value.toFixed(1),
13526
13516
  "%"