@gemafajarramadhan/dynamic-ui 1.4.28 → 1.4.30

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
@@ -838,6 +838,25 @@ export const TooltipProvider: DefineComponent<{
838
838
  [key: string]: any
839
839
  }>
840
840
 
841
+ export interface MetricBarItem {
842
+ id?: string | number
843
+ label: string
844
+ value: string | number | boolean
845
+ type?: 'text' | 'currency' | 'percent' | 'badge'
846
+ color?: string
847
+ badgeType?: 'success' | 'danger' | 'warning' | 'info' | 'neutral'
848
+ badgeText?: string
849
+ badgeColor?: string
850
+ }
851
+
852
+ export const DCodeBarCustom: DefineComponent<{
853
+ items?: MetricBarItem[]
854
+ border?: boolean
855
+ shadow?: boolean
856
+ padding?: string
857
+ containerClass?: string
858
+ }>
859
+
841
860
  export function registerLogic(name: string, module: any): void
842
861
  export function getLogicModule(name: string): any
843
862
  export function unregisterLogic(name: string): void
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gemafajarramadhan/dynamic-ui",
3
- "version": "1.4.28",
3
+ "version": "1.4.30",
4
4
  "description": "Vue 3 Dynamic UI Component Library - Compatible with Vue, React, Angular, and any other framework via Web Components",
5
5
  "type": "module",
6
6
  "license": "MIT",
package/src/index.d.ts CHANGED
@@ -838,6 +838,25 @@ export const TooltipProvider: DefineComponent<{
838
838
  [key: string]: any
839
839
  }>
840
840
 
841
+ export interface MetricBarItem {
842
+ id?: string | number
843
+ label: string
844
+ value: string | number | boolean
845
+ type?: 'text' | 'currency' | 'percent' | 'badge'
846
+ color?: string
847
+ badgeType?: 'success' | 'danger' | 'warning' | 'info' | 'neutral'
848
+ badgeText?: string
849
+ badgeColor?: string
850
+ }
851
+
852
+ export const DCodeBarCustom: DefineComponent<{
853
+ items?: MetricBarItem[]
854
+ border?: boolean
855
+ shadow?: boolean
856
+ padding?: string
857
+ containerClass?: string
858
+ }>
859
+
841
860
  export function registerLogic(name: string, module: any): void
842
861
  export function getLogicModule(name: string): any
843
862
  export function unregisterLogic(name: string): void