-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add UFLabel + Refactor & Rename UFAlert
- Loading branch information
Showing
31 changed files
with
2,496 additions
and
2,223 deletions.
There are no files selected for viewing
4,148 changes: 2,099 additions & 2,049 deletions
4,148
dist/components-D3kieM32.js → dist/components-By2GeFa7.js
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const a=require("./components-yQdbks90.cjs");exports.AlertContainer=a._sfc_main;exports.AppLink=a._sfc_main$1;exports.CardBox=a._sfc_main$3;exports.CardBoxBig=a._sfc_main$4;exports.FooterContent=a.FooterContent;exports.FormForgotPassword=a._sfc_main$8;exports.FormLogin=a._sfc_main$6;exports.FormRegister=a._sfc_main$7;exports.HeaderPage=a._sfc_main$5;exports.InfoBox=a._sfc_main$2;exports.MainContent=a.MainContent;exports.NavBar=a._sfc_main$9;exports.NavBarDropdown=a._sfc_main$10;exports.NavBarDropdownSeparator=a.NavBarDropdownSeparator;exports.NavBarItem=a._sfc_main$11;exports.NavBarLogin=a._sfc_main$12;exports.NavBarUserCard=a._sfc_main$13;exports.NavBarUserCardButton=a._sfc_main$14;exports.PageForgotPassword=a._sfc_main$17;exports.PageLogin=a._sfc_main$15;exports.PageRegister=a._sfc_main$16;exports.PageResendVerification=a._sfc_main$18;exports.SideBar=a.SideBar;exports.SideBarDropdown=a._sfc_main$19;exports.SideBarItem=a._sfc_main$20;exports.SideBarLabel=a._sfc_main$21;exports.SprunjeColumn=a.SprunjeColumn;exports.SprunjeHeader=a._sfc_main$22;exports.SprunjePaginator=a._sfc_main$23;exports.SprunjeTable=a._sfc_main$24;exports.default=a.PinkCupcakeComponents; | ||
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const a=require("./components-Dwrhu1Yx.cjs");exports.AppLink=a._sfc_main$2;exports.CardBox=a._sfc_main$4;exports.CardBoxBig=a._sfc_main$5;exports.FooterContent=a.FooterContent;exports.FormForgotPassword=a._sfc_main$9;exports.FormLogin=a._sfc_main$7;exports.FormRegister=a._sfc_main$8;exports.HeaderPage=a._sfc_main$6;exports.InfoBox=a._sfc_main$3;exports.MainContent=a.MainContent;exports.NavBar=a._sfc_main$10;exports.NavBarDropdown=a._sfc_main$11;exports.NavBarDropdownSeparator=a.NavBarDropdownSeparator;exports.NavBarItem=a._sfc_main$12;exports.NavBarLogin=a._sfc_main$13;exports.NavBarUserCard=a._sfc_main$14;exports.NavBarUserCardButton=a._sfc_main$15;exports.PageForgotPassword=a._sfc_main$18;exports.PageLogin=a._sfc_main$16;exports.PageRegister=a._sfc_main$17;exports.PageResendVerification=a._sfc_main$19;exports.SideBar=a.SideBar;exports.SideBarDropdown=a._sfc_main$20;exports.SideBarItem=a._sfc_main$21;exports.SideBarLabel=a._sfc_main$22;exports.SprunjeColumn=a.SprunjeColumn;exports.SprunjeHeader=a._sfc_main$23;exports.SprunjePaginator=a._sfc_main$24;exports.SprunjeTable=a._sfc_main$25;exports.UFAlert=a._sfc_main;exports.UFLabel=a._sfc_main$1;exports.default=a.PinkCupcakeComponents; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,34 +1,35 @@ | ||
import { _ as s, a as e, d as o, e as n, F as t, j as d, h as i, i as B, f as g, b as p, M as S, k as P, l as m, N as u, m as v, n as C, o as N, p as F, s as l, q as w, r as f, t as j, S as x, u as L, v as b, w as A, x as D, y as I, z as R, A as k, P as H } from "./components-D3kieM32.js"; | ||
import { b as s, e, f as o, F as n, k as t, i as d, j as i, h as B, d as g, M as p, l as S, m as F, N as P, n as m, o as u, p as v, q as N, t as l, r as C, s as w, u as L, S as f, v as j, w as x, x as b, y as U, z as A, A as D, B as I, _ as R, a as k, P as H } from "./components-By2GeFa7.js"; | ||
export { | ||
s as AlertContainer, | ||
e as AppLink, | ||
o as CardBox, | ||
n as CardBoxBig, | ||
t as FooterContent, | ||
d as FormForgotPassword, | ||
i as FormLogin, | ||
B as FormRegister, | ||
g as HeaderPage, | ||
p as InfoBox, | ||
S as MainContent, | ||
P as NavBar, | ||
m as NavBarDropdown, | ||
u as NavBarDropdownSeparator, | ||
v as NavBarItem, | ||
C as NavBarLogin, | ||
N as NavBarUserCard, | ||
F as NavBarUserCardButton, | ||
s as AppLink, | ||
e as CardBox, | ||
o as CardBoxBig, | ||
n as FooterContent, | ||
t as FormForgotPassword, | ||
d as FormLogin, | ||
i as FormRegister, | ||
B as HeaderPage, | ||
g as InfoBox, | ||
p as MainContent, | ||
S as NavBar, | ||
F as NavBarDropdown, | ||
P as NavBarDropdownSeparator, | ||
m as NavBarItem, | ||
u as NavBarLogin, | ||
v as NavBarUserCard, | ||
N as NavBarUserCardButton, | ||
l as PageForgotPassword, | ||
w as PageLogin, | ||
f as PageRegister, | ||
j as PageResendVerification, | ||
x as SideBar, | ||
L as SideBarDropdown, | ||
b as SideBarItem, | ||
A as SideBarLabel, | ||
D as SprunjeColumn, | ||
I as SprunjeHeader, | ||
R as SprunjePaginator, | ||
k as SprunjeTable, | ||
C as PageLogin, | ||
w as PageRegister, | ||
L as PageResendVerification, | ||
f as SideBar, | ||
j as SideBarDropdown, | ||
x as SideBarItem, | ||
b as SideBarLabel, | ||
U as SprunjeColumn, | ||
A as SprunjeHeader, | ||
D as SprunjePaginator, | ||
I as SprunjeTable, | ||
R as UFAlert, | ||
k as UFLabel, | ||
H as default | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
import { AlertInterface } from '@userfrosting/sprinkle-core/types'; | ||
declare function __VLS_template(): { | ||
slots: { | ||
default?(_: {}): any; | ||
}; | ||
refs: {}; | ||
attrs: Partial<{}>; | ||
}; | ||
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>; | ||
declare const __VLS_component: import('vue').DefineComponent<{ | ||
alert: AlertInterface; | ||
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, { | ||
close: (...args: any[]) => void; | ||
}, string, import('vue').PublicProps, Readonly<{ | ||
alert: AlertInterface; | ||
}> & Readonly<{ | ||
onClose?: ((...args: any[]) => any) | undefined; | ||
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>; | ||
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>; | ||
export default _default; | ||
type __VLS_WithTemplateSlots<T, S> = T & { | ||
new (): { | ||
$slots: S; | ||
}; | ||
}; |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
<script setup lang="ts"> | ||
import { defineProps, computed } from 'vue' | ||
import { Severity } from '@userfrosting/sprinkle-core/types' | ||
const props = defineProps<{ | ||
severity: Severity | keyof typeof Severity | ||
}>() | ||
/** | ||
* Defines style class to use | ||
*/ | ||
const styleClass = computed(() => { | ||
switch (props.severity) { | ||
case Severity.Success: { | ||
return 'uk-label-success' | ||
} | ||
case Severity.Warning: { | ||
return 'uk-label-warning' | ||
} | ||
case Severity.Danger: { | ||
return 'uk-label-danger' | ||
} | ||
case Severity.Info: { | ||
return 'uk-label-info' | ||
} | ||
case Severity.Muted: { | ||
return 'uk-label-muted' | ||
} | ||
case Severity.Secondary: { | ||
return 'uk-label-secondary' | ||
} | ||
case Severity.Primary: | ||
default: { | ||
return 'uk-label-primary' | ||
} | ||
} | ||
}) | ||
</script> | ||
|
||
<template> | ||
<span class="uk-label" :class="styleClass"> | ||
<slot /> | ||
</span> | ||
</template> |
Oops, something went wrong.