@sabrenski/spire-ui-vue 0.3.33 → 0.3.34

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.
@@ -1,6 +1,6 @@
1
1
  import { Component } from 'vue';
2
2
  export type BadgeVariant = 'solid' | 'flat' | 'outline';
3
- export type BadgeColor = 'default' | 'primary' | 'secondary' | 'success' | 'warning' | 'danger' | 'info';
3
+ export type BadgeColor = 'default' | 'primary' | 'secondary' | 'success' | 'warning' | 'danger' | 'info' | 'neutral' | 'muted';
4
4
  export type BadgeSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
5
5
  export type BadgeShape = 'circle' | 'rectangle';
6
6
  export type BadgePlacement = 'top-right' | 'top-left' | 'bottom-right' | 'bottom-left';
@@ -8,7 +8,8 @@ export interface SelectOptionData {
8
8
  label: string;
9
9
  disabled?: boolean;
10
10
  description?: string;
11
- icon?: IconProp;
11
+ /** Icon to display - accepts IconProp or string icon name */
12
+ icon?: IconProp | string;
12
13
  /** Optional custom value to search against. If provided, only this value is searched (exclusive). If not provided, searches both label and value. */
13
14
  searchValue?: string;
14
15
  }
@@ -2149,7 +2149,9 @@ const xL1 = {
2149
2149
  success: "bg-success text-on-emphasis",
2150
2150
  warning: "bg-warning text-on-emphasis",
2151
2151
  danger: "bg-danger text-on-emphasis",
2152
- info: "bg-info text-on-emphasis"
2152
+ info: "bg-info text-on-emphasis",
2153
+ neutral: "bg-foreground-muted text-on-emphasis",
2154
+ muted: "bg-muted text-foreground"
2153
2155
  },
2154
2156
  flat: {
2155
2157
  default: "bg-secondary text-secondary-foreground",
@@ -2158,7 +2160,9 @@ const xL1 = {
2158
2160
  success: "bg-success-subtle text-success-foreground",
2159
2161
  warning: "bg-warning-subtle text-warning-foreground",
2160
2162
  danger: "bg-danger-subtle text-danger-foreground",
2161
- info: "bg-info-subtle text-info-foreground"
2163
+ info: "bg-info-subtle text-info-foreground",
2164
+ neutral: "bg-subtle text-foreground",
2165
+ muted: "bg-subtle text-foreground-muted"
2162
2166
  },
2163
2167
  outline: {
2164
2168
  default: "bg-transparent border border-border text-foreground-muted",
@@ -2167,7 +2171,9 @@ const xL1 = {
2167
2171
  success: "bg-transparent border border-success text-success-foreground",
2168
2172
  warning: "bg-transparent border border-warning text-warning-foreground",
2169
2173
  danger: "bg-transparent border border-danger text-danger-foreground",
2170
- info: "bg-transparent border border-info text-info-foreground"
2174
+ info: "bg-transparent border border-info text-info-foreground",
2175
+ neutral: "bg-transparent border border-border text-foreground",
2176
+ muted: "bg-transparent border border-border-muted text-foreground-muted"
2171
2177
  }
2172
2178
  }, g = {
2173
2179
  xs: "text-[9px] min-w-3.5 min-h-3.5 px-0.5",
@@ -23824,7 +23830,7 @@ let K2 = null, En = null;
23824
23830
  async function sf1() {
23825
23831
  if (K2) return K2;
23826
23832
  try {
23827
- return K2 = (await import("./index-Z6n4t5cU.js")).HugeiconsIcon, K2;
23833
+ return K2 = (await import("./index-B_-GdaYn.js")).HugeiconsIcon, K2;
23828
23834
  } catch {
23829
23835
  return null;
23830
23836
  }
@@ -1,4 +1,4 @@
1
- import { H as n } from "./index-BG7m8I06.js";
1
+ import { H as n } from "./index-67cVrMIC.js";
2
2
  const s = {
3
3
  install: (o) => {
4
4
  o.component("HugeiconsIcon", n);