@globalbrain/sefirot
Advanced tools
Comparing version 0.23.0 to 0.24.0
@@ -0,1 +1,7 @@ | ||
# [0.24.0](https://github.com/globalbrain/sefirot/compare/v0.23.0...v0.24.0) (2021-01-14) | ||
### Features | ||
* **card:** add header actions feature ([ffc99a9](https://github.com/globalbrain/sefirot/commit/ffc99a9031551a7ea53b7140be6ee6a6e01777d2)) | ||
# [0.23.0](https://github.com/globalbrain/sefirot/compare/v0.22.0...v0.23.0) (2021-01-13) | ||
@@ -2,0 +8,0 @@ |
@@ -9,2 +9,3 @@ export interface Card { | ||
title: string | ||
actions?: Action[] | ||
} | ||
@@ -17,4 +18,5 @@ | ||
export interface Action { | ||
type?: 'primary' | 'mute' | ||
type?: 'primary' | 'text' | 'mute' | ||
mode?: 'neutral' | 'info' | 'success' | 'warning' | 'danger' | ||
icon?: string | ||
label: string | ||
@@ -26,11 +28,7 @@ link?: string | ||
export function useHeader(options: Header): Header { | ||
return { | ||
title: options.title | ||
} | ||
return options | ||
} | ||
export function useFooter(options: Footer): Footer { | ||
return { | ||
actions: options.actions | ||
} | ||
return options | ||
} |
{ | ||
"name": "@globalbrain/sefirot", | ||
"version": "0.23.0", | ||
"version": "0.24.0", | ||
"description": "Vue Components for Global Brain Design System.", | ||
@@ -5,0 +5,0 @@ "files": [ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
210715
1318