quasar-ui-danx 0.4.50 → 0.4.52

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "quasar-ui-danx",
3
- "version": "0.4.50",
3
+ "version": "0.4.52",
4
4
  "author": "Dan <dan@flytedesk.com>",
5
5
  "description": "DanX Vue / Quasar component library",
6
6
  "license": "MIT",
@@ -14,7 +14,7 @@
14
14
  />
15
15
  <slot>
16
16
  <div
17
- v-if="label"
17
+ v-if="label || label === 0"
18
18
  class="ml-2"
19
19
  :class="labelClass"
20
20
  >
@@ -72,7 +72,7 @@ import { ActionTarget, ResourceAction } from "../../../types";
72
72
 
73
73
  export interface ActionButtonProps {
74
74
  type?: "trash" | "trash-red" | "create" | "edit" | "copy" | "play" | "stop" | "pause" | "refresh" | "confirm" | "cancel";
75
- color?: "red" | "blue" | "sky" | "green" | "green-invert" | "lime" | "white" | "gray";
75
+ color?: "red" | "blue" | "sky" | "sky-invert" | "green" | "green-invert" | "lime" | "white" | "gray";
76
76
  size?: "xxs" | "xs" | "sm" | "md" | "lg";
77
77
  icon?: object | string;
78
78
  iconClass?: string;
@@ -150,6 +150,8 @@ const colorClass = computed(() => {
150
150
  return "text-blue-900 bg-blue-300 hover:bg-blue-400";
151
151
  case "sky":
152
152
  return "text-sky-900 bg-sky-300 hover:bg-sky-400";
153
+ case "sky-invert":
154
+ return "text-sky-400 bg-sky-800 hover:bg-sky-900";
153
155
  case "white":
154
156
  return "text-white bg-gray-800 hover:bg-gray-200";
155
157
  case "gray":