@makolabs/ripple 0.0.1-dev.24 → 0.0.1-dev.25

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.d.ts CHANGED
@@ -152,8 +152,8 @@ export type AlertProps = {
152
152
  onclose?: () => void;
153
153
  };
154
154
  export type StatsCardProps = {
155
- label: string;
156
- value: string | number;
155
+ label?: string;
156
+ value?: string | number;
157
157
  previousValue?: string | number;
158
158
  previousValuePrefix?: string;
159
159
  trend?: number;
@@ -1,6 +1,6 @@
1
1
  <script lang="ts">
2
2
  import { cn } from '../../helper/cls.js';
3
- import { statsCard, type StatsCardProps } from './stats-card.js';
3
+ import { statsCard } from './stats-card.js';
4
4
  import { onMount } from 'svelte';
5
5
  import * as echarts from 'echarts/core';
6
6
 
@@ -12,6 +12,7 @@
12
12
  // @ts-expect-error - ECharts types are not available
13
13
  import { SVGRenderer } from 'echarts/renderers';
14
14
  import { Color } from '../../variants.js';
15
+ import type { StatsCardProps } from '../../index.js';
15
16
 
16
17
  // @ts-expect-error - ECharts types are not available
17
18
  echarts.use([LineChart, GridComponent, SVGRenderer]);
@@ -1,4 +1,4 @@
1
- import { type StatsCardProps } from './stats-card.js';
1
+ import type { StatsCardProps } from '../../index.js';
2
2
  declare const StatsCard: import("svelte").Component<StatsCardProps, {}, "">;
3
3
  type StatsCard = ReturnType<typeof StatsCard>;
4
4
  export default StatsCard;
@@ -1,6 +1,3 @@
1
- import type { ClassValue } from 'tailwind-variants';
2
- import type { Snippet } from 'svelte';
3
- import type { VariantColors } from '../../index.js';
4
1
  import { Color } from '../../variants.js';
5
2
  export declare const statsCard: import("tailwind-variants").TVReturnType<{
6
3
  color: {
@@ -192,15 +189,3 @@ export declare const statsCard: import("tailwind-variants").TVReturnType<{
192
189
  previousValue: string;
193
190
  unit: string;
194
191
  }, undefined, unknown, unknown, undefined>>;
195
- export type StatsCardProps = {
196
- label?: string;
197
- value?: string | number;
198
- previousValue?: string | number;
199
- previousValuePrefix?: string;
200
- trend?: number;
201
- color?: VariantColors;
202
- chartData?: number[];
203
- children?: Snippet;
204
- class?: ClassValue;
205
- formatLargeNumbers?: boolean;
206
- };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@makolabs/ripple",
3
- "version": "0.0.1-dev.24",
3
+ "version": "0.0.1-dev.25",
4
4
  "description": "Simple Svelte 5 powered component library ✨",
5
5
  "repository": {
6
6
  "type": "git",