@makolabs/ripple 0.0.1-dev.31 → 0.0.1-dev.32

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
@@ -1,7 +1,19 @@
1
1
  import { ChartColor, Color, Size } from './variants.js';
2
- export type VariantColors = (typeof Color)[keyof typeof Color];
2
+ /**
3
+ * Size System:
4
+ * - Size.*: Component dimensions (XS, SM, BASE, LG, XL, XXL)
5
+ */
3
6
  export type VariantSizes = (typeof Size)[keyof typeof Size];
4
- export { Color, Size };
7
+ export type VariantColors = (typeof Color)[keyof typeof Color];
8
+ /**
9
+ * Color System:
10
+ * - Color.*: UI component colors (buttons, text, backgrounds)
11
+ * Options: DEFAULT, PRIMARY, SECONDARY, INFO, SUCCESS, WARNING, DANGER
12
+ * - ChartColor.*: Chart-specific colors, only supported within series configurations (lines, areas, bars)
13
+ * Options: HEALTH, PROPERTY, AUTO, LIFE, OTHER, DEFAULT
14
+ * - ChartColors: Record type mapping ChartColor enum to string values
15
+ */
16
+ export { Color, Size, ChartColor };
5
17
  import type { ClassValue } from 'tailwind-variants';
6
18
  import type { Snippet } from 'svelte';
7
19
  import type { Component } from 'svelte';
package/dist/index.js CHANGED
@@ -1,12 +1,13 @@
1
1
  import { ChartColor, Color, Size } from './variants.js';
2
- /*
3
- All colors and sizes, will be assign via this enum, else it will be considered against the convention
4
- Color is a type that maps the Color enum values to their corresponding string values.
5
- Color Usage: Color.DEFAULT, Color.PRIMARY, Color.SECONDARY, Color.INFO, Color.SUCCESS, Color.WARNING, Color.DANGER
6
- Size is a type that maps the Size enum values to their corresponding string values.
7
- Size Usage: Size.XS, Size.SM, Size.BASE, Size.LG, Size.XL, Size.XXL
8
- */
9
- export { Color, Size };
2
+ /**
3
+ * Color System:
4
+ * - Color.*: UI component colors (buttons, text, backgrounds)
5
+ * Options: DEFAULT, PRIMARY, SECONDARY, INFO, SUCCESS, WARNING, DANGER
6
+ * - ChartColor.*: Chart-specific colors, only supported within series configurations (lines, areas, bars)
7
+ * Options: HEALTH, PROPERTY, AUTO, LIFE, OTHER, DEFAULT
8
+ * - ChartColors: Record type mapping ChartColor enum to string values
9
+ */
10
+ export { Color, Size, ChartColor };
10
11
  // Helper utilities
11
12
  export { tv, cn } from './helper/cls.js';
12
13
  export { isRouteActive } from './helper/nav.svelte.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@makolabs/ripple",
3
- "version": "0.0.1-dev.31",
3
+ "version": "0.0.1-dev.32",
4
4
  "description": "Simple Svelte 5 powered component library ✨",
5
5
  "repository": {
6
6
  "type": "git",