@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.
- package/dist/components/Badge/types.d.ts +1 -1
- package/dist/components/Select/types.d.ts +2 -1
- package/dist/{index-BG7m8I06.js → index-67cVrMIC.js} +10 -4
- package/dist/{index-Z6n4t5cU.js → index-B_-GdaYn.js} +1 -1
- package/dist/index-Btl0SdYa.cjs +1 -0
- package/dist/{index-CFEk0kex.cjs → index-CvcyaMEu.cjs} +1 -1
- package/dist/spire-ui.cjs +1 -1
- package/dist/spire-ui.js +1 -1
- package/package.json +1 -1
- package/dist/index-itqls29U.cjs +0 -1
|
@@ -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
|
|
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-
|
|
23833
|
+
return K2 = (await import("./index-B_-GdaYn.js")).HugeiconsIcon, K2;
|
|
23828
23834
|
} catch {
|
|
23829
23835
|
return null;
|
|
23830
23836
|
}
|