@gemafajarramadhan/dynamic-ui 1.4.28 → 1.4.29
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/dynamic-ui.css +1 -1
- package/dist/dynamic-ui.es.js +13675 -13540
- package/dist/dynamic-ui.umd.js +443 -443
- package/dist/index.d.ts +19 -0
- package/package.json +1 -1
- package/src/index.d.ts +19 -0
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
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
|