@indielayer/ui 1.4.0 → 1.5.0
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/docs/components/common/CodePreview.vue +1 -1
- package/docs/components/common/CodeSnippet.vue +5 -7
- package/docs/components/common/DocumentPage.vue +89 -93
- package/docs/components/menu/DocsMenu.vue +75 -122
- package/docs/components/toolbar/PreToolbar.vue +10 -12
- package/docs/components/toolbar/Toolbar.vue +21 -8
- package/docs/layouts/default.vue +7 -3
- package/docs/pages/colors.vue +49 -54
- package/docs/pages/component/button/button-group.vue +6 -2
- package/docs/pages/component/button/size.vue +1 -1
- package/docs/pages/component/carousel/usage.vue +2 -2
- package/docs/pages/component/form/usage.vue +3 -3
- package/docs/pages/component/formGroup/usage.vue +1 -0
- package/docs/pages/component/input/usage.vue +8 -9
- package/docs/pages/component/modal/composed.vue +3 -2
- package/docs/pages/component/modal/usage.vue +11 -6
- package/docs/pages/component/popover/usage.vue +3 -3
- package/docs/pages/component/select/usage.vue +1 -0
- package/docs/pages/component/tabs/usage.vue +6 -1
- package/docs/pages/component/textarea/usage.vue +10 -13
- package/docs/pages/component/toggle/usage.vue +9 -11
- package/docs/pages/component/tooltip/index.vue +2 -2
- package/docs/pages/component/tooltip/usage.vue +4 -8
- package/docs/pages/icons.vue +54 -58
- package/docs/pages/index.vue +73 -77
- package/docs/pages/play.vue +2 -14
- package/docs/pages/typography.vue +26 -30
- package/docs/router/index.ts +2 -0
- package/exports/tailwind.preset.js +0 -1
- package/lib/components/accordion/theme/AccordionItem.base.theme.js +7 -7
- package/lib/components/badge/Badge.vue.js +7 -7
- package/lib/components/breadcrumbs/theme/Breadcrumbs.base.theme.js +1 -1
- package/lib/components/button/theme/Button.base.theme.js +7 -7
- package/lib/components/card/theme/Card.base.theme.js +1 -1
- package/lib/components/checkbox/Checkbox.vue.d.ts +3 -0
- package/lib/components/checkbox/Checkbox.vue2.js +23 -23
- package/lib/components/checkbox/theme/Checkbox.base.theme.js +6 -6
- package/lib/components/checkbox/theme/Checkbox.carbon.theme.js +2 -2
- package/lib/components/container/theme/Container.base.theme.js +2 -2
- package/lib/components/divider/Divider.vue.js +14 -14
- package/lib/components/divider/theme/Divider.base.theme.js +2 -2
- package/lib/components/drawer/Drawer.vue.js +2 -2
- package/lib/components/drawer/theme/Drawer.base.theme.js +1 -1
- package/lib/components/form/Form.vue.js +1 -1
- package/lib/components/form/theme/Form.base.theme.js +4 -4
- package/lib/components/form/theme/Form.carbon.theme.js +4 -4
- package/lib/components/formGroup/FormGroup.vue.d.ts +3 -0
- package/lib/components/formGroup/FormGroup.vue.js +16 -15
- package/lib/components/formGroup/theme/FormGroup.base.theme.js +1 -1
- package/lib/components/icon/theme/Icon.base.theme.js +1 -1
- package/lib/components/index.js +108 -107
- package/lib/components/input/Input.vue.d.ts +3 -0
- package/lib/components/input/Input.vue.js +4 -3
- package/lib/components/input/theme/Input.base.theme.js +10 -10
- package/lib/components/input/theme/Input.carbon.theme.js +10 -10
- package/lib/components/inputFooter/theme/InputFooter.base.theme.js +3 -3
- package/lib/components/inputFooter/theme/InputFooter.carbon.theme.js +2 -2
- package/lib/components/label/Label.vue.d.ts +3 -0
- package/lib/components/label/Label.vue.js +26 -20
- package/lib/components/label/theme/Label.base.theme.js +1 -1
- package/lib/components/label/theme/Label.carbon.theme.js +3 -3
- package/lib/components/link/Link.vue.js +2 -2
- package/lib/components/link/Link.vue2.js +4 -4
- package/lib/components/loader/theme/Loader.base.theme.js +1 -1
- package/lib/components/loader/theme/Loader.carbon.theme.js +1 -1
- package/lib/components/menu/Menu.vue.js +19 -19
- package/lib/components/menu/theme/MenuItem.base.theme.js +21 -31
- package/lib/components/modal/Modal.vue.d.ts +4 -0
- package/lib/components/modal/Modal.vue.js +78 -74
- package/lib/components/modal/theme/Modal.base.theme.js +10 -10
- package/lib/components/modal/theme/Modal.carbon.theme.js +3 -3
- package/lib/components/notifications/Notifications.vue.js +1 -1
- package/lib/components/notifications/theme/Notifications.base.theme.js +1 -1
- package/lib/components/notifications/theme/Notifications.carbon.theme.js +3 -3
- package/lib/components/pagination/Pagination.vue.js +27 -27
- package/lib/components/popover/Popover.vue.d.ts +13 -0
- package/lib/components/popover/Popover.vue.js +13 -8
- package/lib/components/popover/Popover.vue2.js +3 -2
- package/lib/components/popover/Popover.vue3.js +2 -3
- package/lib/components/popover/theme/PopoverContainer.base.theme.js +4 -4
- package/lib/components/popover/theme/PopoverContainer.carbon.theme.js +4 -4
- package/lib/components/progress/Progress.vue.js +11 -11
- package/lib/components/progress/theme/Progress.base.theme.js +10 -10
- package/lib/components/radio/Radio.vue.d.ts +3 -0
- package/lib/components/radio/theme/Radio.base.theme.js +28 -28
- package/lib/components/radio/theme/Radio.carbon.theme.js +8 -8
- package/lib/components/select/Select.vue.d.ts +16 -0
- package/lib/components/select/Select.vue.js +95 -92
- package/lib/components/select/theme/Select.base.theme.js +11 -11
- package/lib/components/select/theme/Select.carbon.theme.js +10 -10
- package/lib/components/skeleton/theme/Skeleton.base.theme.js +1 -1
- package/lib/components/slider/Slider.vue.d.ts +3 -0
- package/lib/components/slider/Slider.vue.js +1 -1
- package/lib/components/slider/theme/Slider.carbon.theme.js +6 -6
- package/lib/components/stepper/Stepper.vue.js +14 -14
- package/lib/components/tab/Tab.vue.js +55 -54
- package/lib/components/tab/theme/TabGroup.base.theme.js +15 -15
- package/lib/components/tab/theme/TabGroup.carbon.theme.js +8 -8
- package/lib/components/table/Table.vue.js +192 -194
- package/lib/components/table/theme/Table.base.theme.js +3 -3
- package/lib/components/table/theme/Table.carbon.theme.js +7 -7
- package/lib/components/table/theme/TableHead.base.theme.js +1 -1
- package/lib/components/table/theme/TableHead.carbon.theme.js +1 -1
- package/lib/components/table/theme/TableHeader.base.theme.js +1 -1
- package/lib/components/table/theme/TableHeader.carbon.theme.js +2 -2
- package/lib/components/table/theme/TableRow.base.theme.js +3 -3
- package/lib/components/table/theme/TableRow.carbon.theme.js +3 -3
- package/lib/components/tag/Tag.vue.js +4 -4
- package/lib/components/textarea/Textarea.vue.d.ts +7 -0
- package/lib/components/textarea/Textarea.vue.js +23 -21
- package/lib/components/textarea/theme/Textarea.base.theme.js +6 -6
- package/lib/components/textarea/theme/Textarea.carbon.theme.js +6 -6
- package/lib/components/toggle/Toggle.vue.d.ts +3 -0
- package/lib/components/toggle/Toggle.vue.js +26 -26
- package/lib/components/toggle/theme/Toggle.base.theme.js +1 -1
- package/lib/components/tooltip/ToggleTip.vue.d.ts +14 -0
- package/lib/components/tooltip/ToggleTip.vue.js +29 -0
- package/lib/components/tooltip/ToggleTip.vue2.js +4 -0
- package/lib/components/tooltip/Tooltip.vue.d.ts +22 -3
- package/lib/components/tooltip/Tooltip.vue.js +26 -17
- package/lib/components/tooltip/__tests__/ToggleTip.spec.d.ts +1 -0
- package/lib/components/tooltip/index.d.ts +2 -0
- package/lib/composables/useColors.js +9 -9
- package/lib/composables/useInputtable.d.ts +1 -0
- package/lib/composables/useInputtable.js +20 -19
- package/lib/index.js +37 -35
- package/lib/index.umd.js +7 -3
- package/lib/tailwind.preset.js +0 -1
- package/lib/themes/base/index.js +3 -6
- package/lib/themes/base/styles.css.js +4 -0
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/package.json +2 -1
- package/src/components/accordion/theme/AccordionItem.base.theme.ts +2 -2
- package/src/components/badge/Badge.vue +1 -1
- package/src/components/breadcrumbs/theme/Breadcrumbs.base.theme.ts +1 -1
- package/src/components/button/theme/Button.base.theme.ts +2 -2
- package/src/components/card/theme/Card.base.theme.ts +1 -1
- package/src/components/checkbox/Checkbox.vue +1 -1
- package/src/components/checkbox/theme/Checkbox.base.theme.ts +8 -8
- package/src/components/checkbox/theme/Checkbox.carbon.theme.ts +2 -2
- package/src/components/container/theme/Container.base.theme.ts +2 -2
- package/src/components/divider/Divider.vue +1 -1
- package/src/components/divider/theme/Divider.base.theme.ts +2 -2
- package/src/components/drawer/Drawer.vue +2 -2
- package/src/components/drawer/theme/Drawer.base.theme.ts +1 -1
- package/src/components/form/Form.vue +1 -1
- package/src/components/form/theme/Form.base.theme.ts +1 -1
- package/src/components/form/theme/Form.carbon.theme.ts +1 -1
- package/src/components/formGroup/FormGroup.vue +1 -0
- package/src/components/formGroup/theme/FormGroup.base.theme.ts +1 -1
- package/src/components/icon/theme/Icon.base.theme.ts +2 -2
- package/src/components/input/Input.vue +2 -1
- package/src/components/input/theme/Input.base.theme.ts +5 -5
- package/src/components/input/theme/Input.carbon.theme.ts +6 -6
- package/src/components/inputFooter/theme/InputFooter.base.theme.ts +3 -3
- package/src/components/inputFooter/theme/InputFooter.carbon.theme.ts +2 -2
- package/src/components/label/Label.vue +4 -1
- package/src/components/label/theme/Label.base.theme.ts +1 -1
- package/src/components/label/theme/Label.carbon.theme.ts +1 -1
- package/src/components/link/Link.vue +1 -1
- package/src/components/loader/theme/Loader.base.theme.ts +1 -1
- package/src/components/loader/theme/Loader.carbon.theme.ts +1 -1
- package/src/components/menu/Menu.vue +3 -3
- package/src/components/menu/theme/MenuItem.base.theme.ts +30 -34
- package/src/components/modal/Modal.vue +8 -3
- package/src/components/modal/theme/Modal.base.theme.ts +9 -6
- package/src/components/modal/theme/Modal.carbon.theme.ts +3 -3
- package/src/components/notifications/Notifications.vue +1 -1
- package/src/components/notifications/theme/Notifications.base.theme.ts +1 -1
- package/src/components/notifications/theme/Notifications.carbon.theme.ts +1 -1
- package/src/components/pagination/Pagination.vue +3 -3
- package/src/components/popover/Popover.vue +77 -2
- package/src/components/popover/theme/PopoverContainer.base.theme.ts +1 -1
- package/src/components/popover/theme/PopoverContainer.carbon.theme.ts +1 -1
- package/src/components/progress/Progress.vue +1 -1
- package/src/components/progress/theme/Progress.base.theme.ts +2 -2
- package/src/components/radio/theme/Radio.base.theme.ts +8 -8
- package/src/components/radio/theme/Radio.carbon.theme.ts +1 -1
- package/src/components/select/Select.vue +7 -4
- package/src/components/select/theme/Select.base.theme.ts +8 -8
- package/src/components/select/theme/Select.carbon.theme.ts +8 -8
- package/src/components/skeleton/theme/Skeleton.base.theme.ts +1 -1
- package/src/components/slider/Slider.vue +1 -1
- package/src/components/slider/theme/Slider.carbon.theme.ts +1 -1
- package/src/components/stepper/Stepper.vue +3 -3
- package/src/components/tab/Tab.vue +3 -3
- package/src/components/tab/theme/TabGroup.base.theme.ts +4 -4
- package/src/components/tab/theme/TabGroup.carbon.theme.ts +3 -3
- package/src/components/table/Table.vue +2 -0
- package/src/components/table/theme/Table.base.theme.ts +1 -1
- package/src/components/table/theme/Table.carbon.theme.ts +2 -2
- package/src/components/table/theme/TableHead.base.theme.ts +1 -1
- package/src/components/table/theme/TableHead.carbon.theme.ts +1 -1
- package/src/components/table/theme/TableHeader.base.theme.ts +1 -1
- package/src/components/table/theme/TableHeader.carbon.theme.ts +2 -2
- package/src/components/table/theme/TableRow.base.theme.ts +3 -3
- package/src/components/table/theme/TableRow.carbon.theme.ts +3 -3
- package/src/components/tag/Tag.vue +1 -1
- package/src/components/textarea/Textarea.vue +3 -1
- package/src/components/textarea/theme/Textarea.base.theme.ts +5 -4
- package/src/components/textarea/theme/Textarea.carbon.theme.ts +5 -5
- package/src/components/toggle/Toggle.vue +3 -3
- package/src/components/toggle/theme/Toggle.base.theme.ts +1 -1
- package/src/components/tooltip/ToggleTip.vue +31 -0
- package/src/components/tooltip/Tooltip.vue +14 -4
- package/src/components/tooltip/__tests__/ToggleTip.spec.ts +11 -0
- package/src/components/tooltip/index.ts +3 -0
- package/src/composables/useColors.ts +1 -1
- package/src/composables/useInputtable.ts +1 -0
- package/src/themes/base/index.ts +0 -3
- package/src/themes/base/styles.css +4 -0
- package/src/version.ts +1 -1
- package/volar.d.ts +1 -0
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
const a = {
|
|
2
2
|
classes: {
|
|
3
3
|
wrapper: "fixed z-40 inset-0 overflow-y-auto transition-all",
|
|
4
|
-
backdrop: ({ data:
|
|
5
|
-
const t = ["fixed inset-0 bg-
|
|
6
|
-
return
|
|
4
|
+
backdrop: ({ data: e }) => {
|
|
5
|
+
const t = ["fixed inset-0 bg-secondary-500 dark:bg-black transition-opacity"];
|
|
6
|
+
return e.visible ? t.push("ease-out duration-200 opacity-30 dark:opacity-70") : t.push("ease-in duration-100 opacity-0"), t;
|
|
7
7
|
},
|
|
8
|
-
modal: ({ props:
|
|
9
|
-
const
|
|
10
|
-
return t.visible ?
|
|
8
|
+
modal: ({ props: e, data: t }) => {
|
|
9
|
+
const s = ["relative flex flex-col z-10 bg-white dark:bg-secondary-900 rounded-md shadow-lg transform transition-all overflow-hidden max-h-full w-full"];
|
|
10
|
+
return t.visible ? s.push("ease-out duration-200 opacity-100 translate-y-0 sm:scale-100") : s.push("ease-in duration-200 opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95"), e.size === "xs" ? s.push("sm:max-w-xs") : e.size === "sm" ? s.push("sm:max-w-sm") : e.size === "lg" ? s.push("sm:max-w-xl") : e.size === "xl" ? s.push("sm:max-w-3xl") : s.push("sm:max-w-lg"), s;
|
|
11
11
|
},
|
|
12
12
|
closeIcon: "!absolute top-2 z-10 right-2",
|
|
13
13
|
header: "text-lg pl-6 py-4 border-b pr-12",
|
|
14
14
|
content: "px-6 py-4",
|
|
15
|
-
actions: "bg-
|
|
16
|
-
label: "text-xs text-
|
|
17
|
-
title: "text-xl font-semibold
|
|
18
|
-
description: "text-sm"
|
|
15
|
+
actions: ({ props: e, slots: t }) => ["flex gap-4 bg-secondary-50 dark:bg-secondary-800 p-4 justify-end"],
|
|
16
|
+
label: "text-xs text-secondary-500 mb-1",
|
|
17
|
+
title: "text-xl font-semibold",
|
|
18
|
+
description: "text-sm mb-8"
|
|
19
19
|
}
|
|
20
20
|
}, l = a;
|
|
21
21
|
export {
|
|
@@ -2,11 +2,11 @@ const a = {
|
|
|
2
2
|
classes: {
|
|
3
3
|
wrapper: "fixed z-40 inset-0 overflow-y-auto transition-all",
|
|
4
4
|
backdrop: ({ data: t }) => {
|
|
5
|
-
const e = ["fixed inset-0 bg-
|
|
5
|
+
const e = ["fixed inset-0 bg-secondary-500 dark:bg-black transition-opacity"];
|
|
6
6
|
return t.visible ? e.push("ease-out duration-200 opacity-70 dark:opacity-70") : e.push("ease-in duration-100 opacity-0"), e;
|
|
7
7
|
},
|
|
8
8
|
modal: ({ props: t, data: e }) => {
|
|
9
|
-
const s = ["relative flex flex-col z-10 bg-
|
|
9
|
+
const s = ["relative flex flex-col z-10 bg-secondary-200 dark:bg-secondary-900 shadow-lg transform transition-all overflow-hidden max-h-full w-full"];
|
|
10
10
|
return e.visible ? s.push("ease-out duration-200 opacity-100 translate-y-0 sm:scale-100") : s.push("ease-in duration-200 opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95"), t.size === "xs" ? s.push("sm:max-w-xs") : t.size === "sm" ? s.push("sm:max-w-sm") : t.size === "lg" ? s.push("sm:max-w-xl") : t.size === "xl" ? s.push("sm:max-w-3xl") : s.push("sm:max-w-lg"), s;
|
|
11
11
|
},
|
|
12
12
|
closeIcon: "!absolute top-0 z-10 right-0",
|
|
@@ -19,7 +19,7 @@ const a = {
|
|
|
19
19
|
const s = ["grid grid-flow-col gap-[1px]"];
|
|
20
20
|
return e["tertiary-action"] || e["cancel-action"] ? s.push("grid-cols-4") : s.push("grid-cols-2"), s;
|
|
21
21
|
},
|
|
22
|
-
label: "text-xs text-
|
|
22
|
+
label: "text-xs text-secondary-500 mb-1",
|
|
23
23
|
title: "text-xl mb-4",
|
|
24
24
|
description: "text-sm mb-4"
|
|
25
25
|
}
|
|
@@ -217,7 +217,7 @@ const se = { class: "flex items-center flex-wrap" }, re = {
|
|
|
217
217
|
e.removable ? (a(), k(E, {
|
|
218
218
|
key: 2,
|
|
219
219
|
icon: l(oe),
|
|
220
|
-
class: "text-
|
|
220
|
+
class: "text-secondary-400 hover:text-secondary-500 ml-3 cursor-pointer",
|
|
221
221
|
onClick: () => {
|
|
222
222
|
y(e);
|
|
223
223
|
}
|
|
@@ -2,7 +2,7 @@ const e = {
|
|
|
2
2
|
classes: {
|
|
3
3
|
wrapper: "fixed z-50 w-full sm:w-auto overflow-y-auto max-h-screen",
|
|
4
4
|
list: "flex flex-col items-end w-full sm:w-[520px] px-4",
|
|
5
|
-
item: "w-full flex items-center rounded-md px-4 py-3 bg-
|
|
5
|
+
item: "w-full flex items-center rounded-md px-4 py-3 bg-secondary-800 dark:bg-secondary-50 text-white dark:text-secondary-900 border border-secondary-700 dark:border-secondary-100"
|
|
6
6
|
}
|
|
7
7
|
}, r = e;
|
|
8
8
|
export {
|
|
@@ -2,9 +2,9 @@ const e = {
|
|
|
2
2
|
classes: {
|
|
3
3
|
wrapper: "fixed z-50 w-full sm:w-auto overflow-y-auto max-h-screen",
|
|
4
4
|
list: "flex flex-col items-end w-full sm:w-[520px] px-4",
|
|
5
|
-
item: () => ["w-full flex items-center px-4 py-3 bg-
|
|
5
|
+
item: () => ["w-full flex items-center px-4 py-3 bg-secondary-800 dark:bg-secondary-50 text-white dark:text-secondary-900 border-l-2 border-[color:var(--x-notification-icon)]"]
|
|
6
6
|
}
|
|
7
|
-
},
|
|
7
|
+
}, t = e;
|
|
8
8
|
export {
|
|
9
|
-
|
|
9
|
+
t as default
|
|
10
10
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as E, computed as
|
|
1
|
+
import { defineComponent as E, computed as z, ref as X, watch as D, openBlock as o, createElementBlock as n, normalizeStyle as F, unref as t, normalizeClass as v, Fragment as u, createVNode as r, createElementVNode as V, withKeys as L, toDisplayString as Q, createBlock as m, createCommentVNode as d, renderList as P } from "vue";
|
|
2
2
|
import { useTheme as T } from "../../composables/useTheme.js";
|
|
3
3
|
import { useCommon as C } from "../../composables/useCommon.js";
|
|
4
4
|
import { prevIcon as U, nextIcon as j, dotsIcon as y } from "../../common/icons.js";
|
|
@@ -6,7 +6,7 @@ import b from "../icon/Icon.vue.js";
|
|
|
6
6
|
import A from "../input/Input.vue.js";
|
|
7
7
|
import I from "../button/Button.vue.js";
|
|
8
8
|
import f from "./PaginationItem.vue.js";
|
|
9
|
-
const G = { class: "mx-9 flex items-center" }, H = /* @__PURE__ */
|
|
9
|
+
const G = { class: "mx-9 flex items-center" }, H = /* @__PURE__ */ V("span", { class: "text-secondary-600 mr-2" }, "Page", -1), J = { class: "text-secondary-600 ml-2" }, M = ["onClick"], O = ["simple", "quick", "dots"], R = {
|
|
10
10
|
...C.props(),
|
|
11
11
|
links: Boolean,
|
|
12
12
|
totalPages: {
|
|
@@ -27,12 +27,12 @@ const G = { class: "mx-9 flex items-center" }, H = /* @__PURE__ */ g("span", { c
|
|
|
27
27
|
...C.validators(),
|
|
28
28
|
variant: O
|
|
29
29
|
}
|
|
30
|
-
},
|
|
30
|
+
}, se = /* @__PURE__ */ E({
|
|
31
31
|
...W,
|
|
32
32
|
props: R,
|
|
33
33
|
emits: ["update:modelValue"],
|
|
34
34
|
setup($, { emit: w }) {
|
|
35
|
-
const l = $, p = w, B =
|
|
35
|
+
const l = $, p = w, B = z(() => l.totalPages === 3 ? [2] : l.totalPages > 2 ? l.modelValue === 1 || l.modelValue === 2 ? [2, 3] : l.modelValue === l.totalPages || l.modelValue === l.totalPages - 1 ? [l.totalPages - 2, l.totalPages - 1] : [l.modelValue - 1, l.modelValue, l.modelValue + 1] : []), i = X(l.modelValue + "");
|
|
36
36
|
function N() {
|
|
37
37
|
const e = parseInt(i.value);
|
|
38
38
|
e >= 0 && e <= l.totalPages ? p("update:modelValue", e) : i.value = l.modelValue + "";
|
|
@@ -46,36 +46,36 @@ const G = { class: "mx-9 flex items-center" }, H = /* @__PURE__ */ g("span", { c
|
|
|
46
46
|
function S() {
|
|
47
47
|
l.modelValue < l.totalPages && p("update:modelValue", l.modelValue + 1);
|
|
48
48
|
}
|
|
49
|
-
const
|
|
50
|
-
return (e,
|
|
51
|
-
style: F(
|
|
52
|
-
class:
|
|
53
|
-
|
|
54
|
-
|
|
49
|
+
const g = z(() => l.size === "xs" ? "xs" : l.size === "sm" ? "sm" : l.size === "lg" ? "md" : l.size === "xl" ? "lg" : "sm"), { styles: K, classes: c, className: h } = T("Pagination", {}, l);
|
|
50
|
+
return (e, s) => (o(), n("ul", {
|
|
51
|
+
style: F(t(K)),
|
|
52
|
+
class: v([
|
|
53
|
+
t(h),
|
|
54
|
+
t(c).wrapper
|
|
55
55
|
])
|
|
56
56
|
}, [
|
|
57
57
|
e.variant === "quick" ? (o(), n(u, { key: 0 }, [
|
|
58
58
|
r(I, {
|
|
59
|
-
"icon-left":
|
|
60
|
-
size:
|
|
59
|
+
"icon-left": t(U),
|
|
60
|
+
size: g.value,
|
|
61
61
|
disabled: e.modelValue <= 1,
|
|
62
62
|
onClick: q
|
|
63
63
|
}, null, 8, ["icon-left", "size", "disabled"]),
|
|
64
|
-
|
|
64
|
+
V("div", G, [
|
|
65
65
|
H,
|
|
66
66
|
r(A, {
|
|
67
67
|
modelValue: i.value,
|
|
68
|
-
"onUpdate:modelValue":
|
|
68
|
+
"onUpdate:modelValue": s[0] || (s[0] = (a) => i.value = a),
|
|
69
69
|
size: e.size,
|
|
70
70
|
class: "text-center w-16",
|
|
71
71
|
"hide-footer": "",
|
|
72
72
|
onKeydown: L(N, ["enter"])
|
|
73
73
|
}, null, 8, ["modelValue", "size", "onKeydown"]),
|
|
74
|
-
|
|
74
|
+
V("span", J, "of " + Q(e.totalPages), 1)
|
|
75
75
|
]),
|
|
76
76
|
r(I, {
|
|
77
|
-
"icon-left":
|
|
78
|
-
size:
|
|
77
|
+
"icon-left": t(j),
|
|
78
|
+
size: g.value,
|
|
79
79
|
disabled: e.modelValue >= e.totalPages,
|
|
80
80
|
onClick: S
|
|
81
81
|
}, null, 8, ["icon-left", "size", "disabled"])
|
|
@@ -85,12 +85,12 @@ const G = { class: "mx-9 flex items-center" }, H = /* @__PURE__ */ g("span", { c
|
|
|
85
85
|
links: e.links,
|
|
86
86
|
size: e.size,
|
|
87
87
|
selected: e.modelValue === 1,
|
|
88
|
-
onInput:
|
|
88
|
+
onInput: s[1] || (s[1] = (a) => e.$emit("update:modelValue", a))
|
|
89
89
|
}, null, 8, ["links", "size", "selected"]),
|
|
90
90
|
e.totalPages > 3 && e.modelValue > 3 ? (o(), m(b, {
|
|
91
91
|
key: 0,
|
|
92
92
|
class: "mx-1",
|
|
93
|
-
icon:
|
|
93
|
+
icon: t(y),
|
|
94
94
|
size: e.size
|
|
95
95
|
}, null, 8, ["icon", "size"])) : d("", !0),
|
|
96
96
|
(o(!0), n(u, null, P(B.value, (a) => (o(), m(f, {
|
|
@@ -99,12 +99,12 @@ const G = { class: "mx-9 flex items-center" }, H = /* @__PURE__ */ g("span", { c
|
|
|
99
99
|
links: e.links,
|
|
100
100
|
size: e.size,
|
|
101
101
|
selected: e.modelValue === a,
|
|
102
|
-
onInput:
|
|
102
|
+
onInput: s[2] || (s[2] = (k) => e.$emit("update:modelValue", k))
|
|
103
103
|
}, null, 8, ["value", "links", "size", "selected"]))), 128)),
|
|
104
104
|
e.totalPages > 3 && e.modelValue < e.totalPages - 2 ? (o(), m(b, {
|
|
105
105
|
key: 1,
|
|
106
106
|
class: "mx-1",
|
|
107
|
-
icon:
|
|
107
|
+
icon: t(y),
|
|
108
108
|
size: e.size
|
|
109
109
|
}, null, 8, ["icon", "size"])) : d("", !0),
|
|
110
110
|
e.totalPages > 1 ? (o(), m(f, {
|
|
@@ -113,19 +113,19 @@ const G = { class: "mx-9 flex items-center" }, H = /* @__PURE__ */ g("span", { c
|
|
|
113
113
|
links: e.links,
|
|
114
114
|
size: e.size,
|
|
115
115
|
selected: e.modelValue === e.totalPages,
|
|
116
|
-
onInput:
|
|
116
|
+
onInput: s[3] || (s[3] = (a) => e.$emit("update:modelValue", a))
|
|
117
117
|
}, null, 8, ["value", "links", "size", "selected"])) : d("", !0)
|
|
118
118
|
], 64)) : e.variant === "dots" ? (o(!0), n(u, { key: 2 }, P(e.totalPages, (a) => (o(), n("li", {
|
|
119
119
|
key: a,
|
|
120
|
-
class:
|
|
121
|
-
|
|
122
|
-
a === e.modelValue ? "bg-[color:var(--x-pagination-bg)]" : "bg-
|
|
120
|
+
class: v(["rounded-full cursor-pointer", [
|
|
121
|
+
t(c).dots,
|
|
122
|
+
a === e.modelValue ? "bg-[color:var(--x-pagination-bg)]" : "bg-secondary-100 hover:bg-secondary-200"
|
|
123
123
|
]]),
|
|
124
|
-
onClick: (
|
|
124
|
+
onClick: (k) => e.$emit("update:modelValue", a)
|
|
125
125
|
}, null, 10, M))), 128)) : d("", !0)
|
|
126
126
|
], 6));
|
|
127
127
|
}
|
|
128
128
|
});
|
|
129
129
|
export {
|
|
130
|
-
|
|
130
|
+
se as default
|
|
131
131
|
};
|
|
@@ -23,6 +23,10 @@ declare const popoverProps: {
|
|
|
23
23
|
type: PropType<TriggerEvent[]>;
|
|
24
24
|
default: () => string[];
|
|
25
25
|
};
|
|
26
|
+
hideArrow: {
|
|
27
|
+
type: BooleanConstructor;
|
|
28
|
+
default: boolean;
|
|
29
|
+
};
|
|
26
30
|
showTriggers: PropType<TriggerEvent[] | ((triggers: Array<PopoverTriggerEvent>) => Array<PopoverTriggerEvent>)>;
|
|
27
31
|
hideTriggers: PropType<TriggerEvent[] | ((triggers: Array<PopoverTriggerEvent>) => Array<PopoverTriggerEvent>)>;
|
|
28
32
|
popperTriggers: PropType<TriggerEvent[]>;
|
|
@@ -81,6 +85,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
81
85
|
type: PropType<TriggerEvent[]>;
|
|
82
86
|
default: () => string[];
|
|
83
87
|
};
|
|
88
|
+
hideArrow: {
|
|
89
|
+
type: BooleanConstructor;
|
|
90
|
+
default: boolean;
|
|
91
|
+
};
|
|
84
92
|
showTriggers: PropType<TriggerEvent[] | ((triggers: TriggerEvent[]) => TriggerEvent[])>;
|
|
85
93
|
hideTriggers: PropType<TriggerEvent[] | ((triggers: TriggerEvent[]) => TriggerEvent[])>;
|
|
86
94
|
popperTriggers: PropType<TriggerEvent[]>;
|
|
@@ -139,6 +147,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
139
147
|
type: PropType<TriggerEvent[]>;
|
|
140
148
|
default: () => string[];
|
|
141
149
|
};
|
|
150
|
+
hideArrow: {
|
|
151
|
+
type: BooleanConstructor;
|
|
152
|
+
default: boolean;
|
|
153
|
+
};
|
|
142
154
|
showTriggers: PropType<TriggerEvent[] | ((triggers: TriggerEvent[]) => TriggerEvent[])>;
|
|
143
155
|
hideTriggers: PropType<TriggerEvent[] | ((triggers: TriggerEvent[]) => TriggerEvent[])>;
|
|
144
156
|
popperTriggers: PropType<TriggerEvent[]>;
|
|
@@ -191,6 +203,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
191
203
|
positioningDisabled: boolean;
|
|
192
204
|
placement: Placement;
|
|
193
205
|
triggers: TriggerEvent[];
|
|
206
|
+
hideArrow: boolean;
|
|
194
207
|
container: string | boolean | Element | Record<string, any>;
|
|
195
208
|
strategy: "absolute" | "fixed";
|
|
196
209
|
autoHide: boolean | ((event: Event) => boolean);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { defineComponent as b, ref as a, openBlock as v, createBlock as S, unref as r, normalizeStyle as
|
|
2
|
-
import { useTheme as
|
|
3
|
-
import { Dropdown as
|
|
1
|
+
import { defineComponent as b, ref as a, openBlock as v, createBlock as S, unref as r, normalizeStyle as B, normalizeClass as T, withCtx as l, renderSlot as d } from "vue";
|
|
2
|
+
import { useTheme as A } from "../../composables/useTheme.js";
|
|
3
|
+
import { Dropdown as $ } from "../../node_modules/.pnpm/floating-vue@5.2.0_vue@3.3.9/node_modules/floating-vue/dist/floating-vue.js";
|
|
4
4
|
const z = {
|
|
5
5
|
placement: ["top", "top-start", "top-end", "bottom", "bottom-start", "bottom-end", "left", "left-start", "left-end", "right", "right-start", "right-end"]
|
|
6
6
|
}, k = {
|
|
@@ -20,6 +20,10 @@ const z = {
|
|
|
20
20
|
type: Array,
|
|
21
21
|
default: () => ["click"]
|
|
22
22
|
},
|
|
23
|
+
hideArrow: {
|
|
24
|
+
type: Boolean,
|
|
25
|
+
default: !0
|
|
26
|
+
},
|
|
23
27
|
showTriggers: [Array, Function],
|
|
24
28
|
hideTriggers: [Array, Function],
|
|
25
29
|
popperTriggers: Array,
|
|
@@ -69,12 +73,12 @@ const z = {
|
|
|
69
73
|
}
|
|
70
74
|
const t = a(!1);
|
|
71
75
|
u({ show: s, hide: n, toggle: y, isOpen: t });
|
|
72
|
-
const { styles: f, classes: p, className: h } =
|
|
73
|
-
return (e, o) => (v(), S(r(
|
|
76
|
+
const { styles: f, classes: p, className: h } = A("Popover", {}, m);
|
|
77
|
+
return (e, o) => (v(), S(r($), {
|
|
74
78
|
ref_key: "elRef",
|
|
75
79
|
ref: i,
|
|
76
|
-
style:
|
|
77
|
-
class:
|
|
80
|
+
style: B(r(f)),
|
|
81
|
+
class: T([r(h), r(p).wrapper]),
|
|
78
82
|
"positioning-disabled": e.positioningDisabled,
|
|
79
83
|
placement: e.placement,
|
|
80
84
|
disabled: e.disabled,
|
|
@@ -97,7 +101,8 @@ const z = {
|
|
|
97
101
|
"eager-mount": e.eagerMount,
|
|
98
102
|
"popper-class": [
|
|
99
103
|
r(p).content,
|
|
100
|
-
e.popperClass
|
|
104
|
+
e.popperClass,
|
|
105
|
+
e.hideArrow ? "v-popper__popper--no-arrow" : ""
|
|
101
106
|
],
|
|
102
107
|
"compute-transform-origin": e.computeTransformOrigin,
|
|
103
108
|
onShow: o[0] || (o[0] = () => {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
const
|
|
1
|
+
const e = {
|
|
2
2
|
classes: {
|
|
3
|
-
wrapper: "block w-full bg-white dark:bg-
|
|
3
|
+
wrapper: "block w-full bg-white dark:bg-secondary-700 shadow-lg rounded-md border border-secondary-200 dark:border-secondary-800"
|
|
4
4
|
}
|
|
5
|
-
},
|
|
5
|
+
}, r = e;
|
|
6
6
|
export {
|
|
7
|
-
|
|
7
|
+
r as default
|
|
8
8
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
const
|
|
1
|
+
const e = {
|
|
2
2
|
classes: {
|
|
3
|
-
wrapper: "block w-full bg-
|
|
3
|
+
wrapper: "block w-full bg-secondary-100 dark:bg-secondary-700 shadow-lg border border-secondary-200 dark:border-secondary-800 text-sm"
|
|
4
4
|
}
|
|
5
|
-
},
|
|
5
|
+
}, r = e;
|
|
6
6
|
export {
|
|
7
|
-
|
|
7
|
+
r as default
|
|
8
8
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { defineComponent as m, openBlock as s, createElementBlock as n, normalizeStyle as t, unref as
|
|
2
|
-
import { useColors as
|
|
1
|
+
import { defineComponent as m, openBlock as s, createElementBlock as n, normalizeStyle as t, unref as o, normalizeClass as a, createElementVNode as c, createCommentVNode as u } from "vue";
|
|
2
|
+
import { useColors as g } from "../../composables/useColors.js";
|
|
3
3
|
import { useTheme as f } from "../../composables/useTheme.js";
|
|
4
4
|
const y = {
|
|
5
|
-
...
|
|
5
|
+
...g.props("primary"),
|
|
6
6
|
percentage: {
|
|
7
7
|
type: Number,
|
|
8
8
|
default: 0,
|
|
@@ -18,16 +18,16 @@ const y = {
|
|
|
18
18
|
...h,
|
|
19
19
|
props: y,
|
|
20
20
|
setup(r) {
|
|
21
|
-
const l = r, { styles: i, classes:
|
|
21
|
+
const l = r, { styles: i, classes: d, className: p } = f("Progress", {}, l);
|
|
22
22
|
return (e, b) => (s(), n("div", {
|
|
23
|
-
style: t(
|
|
24
|
-
class:
|
|
25
|
-
|
|
26
|
-
|
|
23
|
+
style: t(o(i)),
|
|
24
|
+
class: a([
|
|
25
|
+
o(p),
|
|
26
|
+
o(d).wrapper
|
|
27
27
|
])
|
|
28
28
|
}, [
|
|
29
|
-
|
|
30
|
-
class:
|
|
29
|
+
c("div", {
|
|
30
|
+
class: a(["h-full", [
|
|
31
31
|
e.gradient ? "bg-gradient-to-r" : "bg-[color:var(--x-progress-bg)]",
|
|
32
32
|
{
|
|
33
33
|
"duration-150 transition-[width]": e.animate
|
|
@@ -37,7 +37,7 @@ const y = {
|
|
|
37
37
|
}, null, 6),
|
|
38
38
|
e.gradient ? (s(), n("div", {
|
|
39
39
|
key: 0,
|
|
40
|
-
class:
|
|
40
|
+
class: a(["absolute h-full bg-secondary-100 dark:bg-secondary-700 right-0 top-0", { "duration-150 transition-[width]": e.animate }]),
|
|
41
41
|
style: t({
|
|
42
42
|
width: `${100 - e.percentage}%`
|
|
43
43
|
})
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
const
|
|
1
|
+
const o = {
|
|
2
2
|
classes: {
|
|
3
|
-
wrapper: ({ props: e }) => `relative rounded bg-
|
|
3
|
+
wrapper: ({ props: e }) => `relative rounded bg-secondary-100 dark:bg-secondary-700 overflow-hidden pointer-events-none ${e.thick ? "h-1.5" : "h-1"}`,
|
|
4
4
|
list: "flex flex-col items-end w-full sm:w-[520px] px-4",
|
|
5
|
-
item: "w-full flex items-center rounded-md px-4 py-3 bg-
|
|
5
|
+
item: "w-full flex items-center rounded-md px-4 py-3 bg-secondary-800 dark:bg-secondary-50 text-white dark:text-secondary-900"
|
|
6
6
|
},
|
|
7
|
-
styles: ({ props: e, colors:
|
|
8
|
-
const t =
|
|
9
|
-
return
|
|
7
|
+
styles: ({ props: e, colors: r, css: n }) => {
|
|
8
|
+
const t = r.getPalette(e.color), s = [];
|
|
9
|
+
return s.push(n.variables({
|
|
10
10
|
bg: t[500]
|
|
11
|
-
})), e.gradient &&
|
|
11
|
+
})), e.gradient && s.push({
|
|
12
12
|
"--tw-gradient-stops": `${t[100]}, ${t[800]}`
|
|
13
|
-
}),
|
|
13
|
+
}), s;
|
|
14
14
|
}
|
|
15
|
-
},
|
|
15
|
+
}, a = o;
|
|
16
16
|
export {
|
|
17
|
-
|
|
17
|
+
a as default
|
|
18
18
|
};
|
|
@@ -20,6 +20,7 @@ declare const radioProps: {
|
|
|
20
20
|
readonly type: ArrayConstructor;
|
|
21
21
|
readonly default: () => never[];
|
|
22
22
|
};
|
|
23
|
+
tooltip: StringConstructor;
|
|
23
24
|
disabled: BooleanConstructor;
|
|
24
25
|
loading: BooleanConstructor;
|
|
25
26
|
loadingLabel: StringConstructor;
|
|
@@ -66,6 +67,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
66
67
|
readonly type: ArrayConstructor;
|
|
67
68
|
readonly default: () => never[];
|
|
68
69
|
};
|
|
70
|
+
tooltip: StringConstructor;
|
|
69
71
|
disabled: BooleanConstructor;
|
|
70
72
|
loading: BooleanConstructor;
|
|
71
73
|
loadingLabel: StringConstructor;
|
|
@@ -108,6 +110,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
108
110
|
readonly type: ArrayConstructor;
|
|
109
111
|
readonly default: () => never[];
|
|
110
112
|
};
|
|
113
|
+
tooltip: StringConstructor;
|
|
111
114
|
disabled: BooleanConstructor;
|
|
112
115
|
loading: BooleanConstructor;
|
|
113
116
|
loadingLabel: StringConstructor;
|
|
@@ -5,15 +5,15 @@ const a = {
|
|
|
5
5
|
return e.isInsideForm && !e.isInsideFormGroup && t.push("mb-3"), t;
|
|
6
6
|
},
|
|
7
7
|
circle: ({ props: e }) => {
|
|
8
|
-
|
|
9
|
-
return
|
|
8
|
+
const t = ["rounded-full flex justify-center items-center shrink-0 border outline-offset-2 outline-slate-300 dark:outline-slate-500 group-focus:outline-1 group-focus:outline"];
|
|
9
|
+
return e.size === "lg" ? t.push("h-5 w-5") : e.size === "xl" ? t.push("h-6 w-6") : t.push("h-4 w-4"), t;
|
|
10
10
|
},
|
|
11
11
|
circleIcon: ({ props: e, data: t }) => {
|
|
12
|
-
const
|
|
13
|
-
return t.selected ||
|
|
12
|
+
const s = [];
|
|
13
|
+
return t.selected || s.push("opacity-0"), e.size === "sm" || e.size === "xs" ? s.push("h-2") : e.size === "lg" ? s.push("h-2.5") : e.size === "xl" ? s.push("h-3") : s.push("h-2"), s;
|
|
14
14
|
},
|
|
15
15
|
label: ({ props: e }) => {
|
|
16
|
-
let t = "font-medium text-
|
|
16
|
+
let t = "font-medium text-secondary-800 dark:text-secondary-200 pl-2";
|
|
17
17
|
return e.size === "xs" ? t += " text-xs" : e.size === "sm" ? t += " text-sm" : e.size === "lg" ? t += " text-lg" : e.size === "xl" && (t += " text-xl"), t;
|
|
18
18
|
},
|
|
19
19
|
content: ({ props: e }) => {
|
|
@@ -21,48 +21,48 @@ const a = {
|
|
|
21
21
|
return e.size === "xs" ? t += " text-xs" : e.size === "sm" ? t += " text-sm" : e.size === "lg" ? t += " text-lg" : e.size === "xl" && (t += " text-xl"), t;
|
|
22
22
|
}
|
|
23
23
|
},
|
|
24
|
-
styles: ({ props: e, colors: t, css:
|
|
25
|
-
const
|
|
26
|
-
return e.loading ?
|
|
24
|
+
styles: ({ props: e, colors: t, css: s, data: n }) => {
|
|
25
|
+
const r = t.getPalette("gray"), l = t.getPalette(e.color), i = [];
|
|
26
|
+
return e.loading ? s.variables({
|
|
27
27
|
bg: "transparent",
|
|
28
28
|
border: "transparent",
|
|
29
29
|
dark: {
|
|
30
30
|
bg: "transparent",
|
|
31
31
|
border: "transparent"
|
|
32
32
|
}
|
|
33
|
-
}) : (e.disabled ? n.selected ? i.push(
|
|
33
|
+
}) : (e.disabled ? n.selected ? i.push(s.variables({
|
|
34
34
|
bg: "transparent",
|
|
35
|
-
border:
|
|
36
|
-
circle:
|
|
35
|
+
border: r[200],
|
|
36
|
+
circle: r[200],
|
|
37
37
|
dark: {
|
|
38
38
|
bg: "transparent",
|
|
39
|
-
border:
|
|
40
|
-
circle:
|
|
39
|
+
border: r[700],
|
|
40
|
+
circle: r[700]
|
|
41
41
|
}
|
|
42
|
-
})) : i.push(
|
|
43
|
-
bg:
|
|
44
|
-
border:
|
|
42
|
+
})) : i.push(s.variables({
|
|
43
|
+
bg: r[200],
|
|
44
|
+
border: r[200],
|
|
45
45
|
dark: {
|
|
46
|
-
bg:
|
|
47
|
-
border:
|
|
46
|
+
bg: r[700],
|
|
47
|
+
border: r[700]
|
|
48
48
|
}
|
|
49
|
-
})) : (n.selected ? i.push(
|
|
49
|
+
})) : (n.selected ? i.push(s.variables({
|
|
50
50
|
bg: "transparent",
|
|
51
|
-
border:
|
|
52
|
-
circle:
|
|
51
|
+
border: l[500],
|
|
52
|
+
circle: l[500],
|
|
53
53
|
dark: {
|
|
54
54
|
bg: "transparent",
|
|
55
|
-
border:
|
|
56
|
-
circle:
|
|
55
|
+
border: l[500],
|
|
56
|
+
circle: l[500]
|
|
57
57
|
}
|
|
58
|
-
})) : i.push(
|
|
58
|
+
})) : i.push(s.variables({
|
|
59
59
|
bg: "#fff",
|
|
60
|
-
border: e.glow ?
|
|
60
|
+
border: e.glow ? l[300] : r[300],
|
|
61
61
|
dark: {
|
|
62
|
-
bg:
|
|
63
|
-
border: e.glow ?
|
|
62
|
+
bg: r[900],
|
|
63
|
+
border: e.glow ? l[300] : r[400]
|
|
64
64
|
}
|
|
65
|
-
})), e.glow && i.push(
|
|
65
|
+
})), e.glow && i.push(s.get("glow", t.getColorOpacity(l[500], 0.5)))), i);
|
|
66
66
|
}
|
|
67
67
|
}, u = a;
|
|
68
68
|
export {
|
|
@@ -12,11 +12,11 @@ const i = {
|
|
|
12
12
|
const t = [];
|
|
13
13
|
return r.selected ? e.size === "lg" ? t.push("h-2.5") : e.size === "xl" ? t.push("h-3") : t.push("h-2") : t.push("opacity-0"), t;
|
|
14
14
|
},
|
|
15
|
-
label: "text-sm text-
|
|
15
|
+
label: "text-sm text-secondary-800 dark:text-secondary-200 pl-2",
|
|
16
16
|
content: "pl-2"
|
|
17
17
|
},
|
|
18
|
-
styles: ({ props: e, colors: r, css: t, data:
|
|
19
|
-
const s = r.getPalette("gray"), l = r.getPalette(e.color),
|
|
18
|
+
styles: ({ props: e, colors: r, css: t, data: a }) => {
|
|
19
|
+
const s = r.getPalette("gray"), l = r.getPalette(e.color), n = [];
|
|
20
20
|
return e.loading ? t.variables({
|
|
21
21
|
bg: "transparent",
|
|
22
22
|
border: "transparent",
|
|
@@ -24,7 +24,7 @@ const i = {
|
|
|
24
24
|
bg: "transparent",
|
|
25
25
|
border: "transparent"
|
|
26
26
|
}
|
|
27
|
-
}) : (e.disabled ?
|
|
27
|
+
}) : (e.disabled ? a.selected ? n.push(t.variables({
|
|
28
28
|
bg: "transparent",
|
|
29
29
|
border: s[200],
|
|
30
30
|
circle: s[200],
|
|
@@ -33,14 +33,14 @@ const i = {
|
|
|
33
33
|
border: s[700],
|
|
34
34
|
circle: s[700]
|
|
35
35
|
}
|
|
36
|
-
})) :
|
|
36
|
+
})) : n.push(t.variables({
|
|
37
37
|
bg: s[200],
|
|
38
38
|
border: s[200],
|
|
39
39
|
dark: {
|
|
40
40
|
bg: s[700],
|
|
41
41
|
border: s[700]
|
|
42
42
|
}
|
|
43
|
-
})) : (
|
|
43
|
+
})) : (a.selected ? n.push(t.variables({
|
|
44
44
|
bg: "transparent",
|
|
45
45
|
border: l[500],
|
|
46
46
|
circle: l[500],
|
|
@@ -49,14 +49,14 @@ const i = {
|
|
|
49
49
|
border: l[500],
|
|
50
50
|
circle: l[500]
|
|
51
51
|
}
|
|
52
|
-
})) :
|
|
52
|
+
})) : n.push(t.variables({
|
|
53
53
|
bg: "#fff",
|
|
54
54
|
border: e.glow ? l[300] : s[900],
|
|
55
55
|
dark: {
|
|
56
56
|
bg: s[900],
|
|
57
57
|
border: e.glow ? l[300] : s[300]
|
|
58
58
|
}
|
|
59
|
-
})), e.glow &&
|
|
59
|
+
})), e.glow && n.push(t.get("glow", r.getColorOpacity(l[500], 0.5)))), n);
|
|
60
60
|
}
|
|
61
61
|
}, o = i;
|
|
62
62
|
export {
|