@indielayer/ui 0.0.0-dev-20240129122517 → 0.0.0-dev-20240202140555
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/App.vue +25 -0
- package/docs/assets/css/hljs.css +302 -0
- package/docs/assets/css/tailwind.css +46 -0
- package/docs/assets/images/error.svg +1 -0
- package/docs/assets/images/logo.png +0 -0
- package/docs/assets/images/logo_mini.svg +10 -0
- package/docs/assets/images/logo_white.png +0 -0
- package/docs/assets/images/logo_word.svg +12 -0
- package/docs/assets/images/logo_word_dark.svg +12 -0
- package/docs/assets/images/photo1.jpeg +0 -0
- package/docs/assets/images/photo2.jpeg +0 -0
- package/docs/components/Cookies.vue +42 -0
- package/docs/components/common/CodePreview.vue +80 -0
- package/docs/components/common/CodeSnippet.vue +49 -0
- package/docs/components/common/CopyButton.vue +50 -0
- package/docs/components/common/DocumentPage.vue +289 -0
- package/docs/components/common/Indielayer-theme.json +702 -0
- package/docs/components/common/MultiSnippet.vue +26 -0
- package/docs/components/menu/DocsMenu.vue +143 -0
- package/docs/components/toolbar/PreToolbar.vue +18 -0
- package/docs/components/toolbar/Toolbar.vue +63 -0
- package/docs/components/toolbar/ToolbarColorToggle.vue +49 -0
- package/docs/icons.ts +61 -0
- package/docs/layouts/default.vue +29 -0
- package/docs/layouts/simple.vue +3 -0
- package/docs/main.ts +33 -0
- package/docs/pages/colors.vue +125 -0
- package/docs/pages/component/accordion/index.vue +29 -0
- package/docs/pages/component/accordion/usage.vue +30 -0
- package/docs/pages/component/alert/index.vue +29 -0
- package/docs/pages/component/alert/usage.vue +18 -0
- package/docs/pages/component/avatar/index.vue +43 -0
- package/docs/pages/component/avatar/size.vue +9 -0
- package/docs/pages/component/avatar/usage.vue +9 -0
- package/docs/pages/component/avatar/variants.vue +8 -0
- package/docs/pages/component/badge/index.vue +29 -0
- package/docs/pages/component/badge/usage.vue +50 -0
- package/docs/pages/component/breadcrumbs/index.vue +29 -0
- package/docs/pages/component/breadcrumbs/usage.vue +19 -0
- package/docs/pages/component/button/button-group.vue +18 -0
- package/docs/pages/component/button/icons.vue +9 -0
- package/docs/pages/component/button/index.vue +64 -0
- package/docs/pages/component/button/size.vue +9 -0
- package/docs/pages/component/button/states.vue +6 -0
- package/docs/pages/component/button/usage.vue +12 -0
- package/docs/pages/component/button/variants.vue +7 -0
- package/docs/pages/component/card/index.vue +29 -0
- package/docs/pages/component/card/usage.vue +6 -0
- package/docs/pages/component/carousel/index.vue +29 -0
- package/docs/pages/component/carousel/usage.vue +10 -0
- package/docs/pages/component/checkbox/index.vue +50 -0
- package/docs/pages/component/checkbox/size.vue +9 -0
- package/docs/pages/component/checkbox/states.vue +9 -0
- package/docs/pages/component/checkbox/usage.vue +15 -0
- package/docs/pages/component/checkbox/variants.vue +8 -0
- package/docs/pages/component/container/index.vue +29 -0
- package/docs/pages/component/container/usage.vue +3 -0
- package/docs/pages/component/divider/index.vue +43 -0
- package/docs/pages/component/divider/label.vue +12 -0
- package/docs/pages/component/divider/usage.vue +7 -0
- package/docs/pages/component/divider/vertical.vue +7 -0
- package/docs/pages/component/drawer/index.vue +29 -0
- package/docs/pages/component/drawer/usage.vue +56 -0
- package/docs/pages/component/form/index.vue +29 -0
- package/docs/pages/component/form/usage.vue +96 -0
- package/docs/pages/component/formGroup/index.vue +29 -0
- package/docs/pages/component/formGroup/usage.vue +46 -0
- package/docs/pages/component/icon/index.vue +36 -0
- package/docs/pages/component/icon/usage.vue +6 -0
- package/docs/pages/component/icon/variants.vue +14 -0
- package/docs/pages/component/image/index.vue +29 -0
- package/docs/pages/component/image/usage.vue +8 -0
- package/docs/pages/component/input/index.vue +50 -0
- package/docs/pages/component/input/size.vue +13 -0
- package/docs/pages/component/input/states.vue +12 -0
- package/docs/pages/component/input/usage.vue +15 -0
- package/docs/pages/component/input/variants.vue +18 -0
- package/docs/pages/component/link/index.vue +29 -0
- package/docs/pages/component/link/usage.vue +12 -0
- package/docs/pages/component/loader/index.vue +29 -0
- package/docs/pages/component/loader/usage.vue +7 -0
- package/docs/pages/component/menu/index.vue +29 -0
- package/docs/pages/component/menu/usage.vue +69 -0
- package/docs/pages/component/modal/composed.vue +70 -0
- package/docs/pages/component/modal/index.vue +36 -0
- package/docs/pages/component/modal/usage.vue +61 -0
- package/docs/pages/component/notifications/index.vue +29 -0
- package/docs/pages/component/notifications/usage.vue +56 -0
- package/docs/pages/component/pagination/index.vue +29 -0
- package/docs/pages/component/pagination/usage.vue +17 -0
- package/docs/pages/component/popover/index.vue +29 -0
- package/docs/pages/component/popover/usage.vue +21 -0
- package/docs/pages/component/progress/index.vue +36 -0
- package/docs/pages/component/progress/usage.vue +7 -0
- package/docs/pages/component/progress/variants.vue +18 -0
- package/docs/pages/component/radio/index.vue +50 -0
- package/docs/pages/component/radio/size.vue +15 -0
- package/docs/pages/component/radio/states.vue +13 -0
- package/docs/pages/component/radio/usage.vue +14 -0
- package/docs/pages/component/radio/variants.vue +39 -0
- package/docs/pages/component/scroll/horizontal.vue +14 -0
- package/docs/pages/component/scroll/index.vue +36 -0
- package/docs/pages/component/scroll/usage.vue +5 -0
- package/docs/pages/component/select/index.vue +43 -0
- package/docs/pages/component/select/states.vue +22 -0
- package/docs/pages/component/select/usage.vue +45 -0
- package/docs/pages/component/select/variants.vue +23 -0
- package/docs/pages/component/skeleton/index.vue +29 -0
- package/docs/pages/component/skeleton/usage.vue +10 -0
- package/docs/pages/component/slider/index.vue +29 -0
- package/docs/pages/component/slider/usage.vue +15 -0
- package/docs/pages/component/spacer/index.vue +29 -0
- package/docs/pages/component/spacer/usage.vue +8 -0
- package/docs/pages/component/spinner/index.vue +36 -0
- package/docs/pages/component/spinner/usage.vue +3 -0
- package/docs/pages/component/spinner/variants.vue +9 -0
- package/docs/pages/component/stepper/index.vue +29 -0
- package/docs/pages/component/stepper/usage.vue +21 -0
- package/docs/pages/component/table/index.vue +36 -0
- package/docs/pages/component/table/states.vue +28 -0
- package/docs/pages/component/table/usage.vue +107 -0
- package/docs/pages/component/tabs/index.vue +29 -0
- package/docs/pages/component/tabs/usage.vue +137 -0
- package/docs/pages/component/tag/index.vue +29 -0
- package/docs/pages/component/tag/usage.vue +27 -0
- package/docs/pages/component/textarea/index.vue +43 -0
- package/docs/pages/component/textarea/states.vue +13 -0
- package/docs/pages/component/textarea/usage.vue +22 -0
- package/docs/pages/component/textarea/variants.vue +15 -0
- package/docs/pages/component/toggle/index.vue +43 -0
- package/docs/pages/component/toggle/states.vue +13 -0
- package/docs/pages/component/toggle/usage.vue +14 -0
- package/docs/pages/component/toggle/variants.vue +15 -0
- package/docs/pages/component/tooltip/index.vue +29 -0
- package/docs/pages/component/tooltip/usage.vue +16 -0
- package/docs/pages/error.vue +6 -0
- package/docs/pages/icons.vue +105 -0
- package/docs/pages/index.vue +157 -0
- package/docs/pages/play.vue +19 -0
- package/docs/pages/typography.vue +95 -0
- package/docs/router/index.ts +77 -0
- package/lib/components/accordion/Accordion.vue.d.ts +3 -0
- package/lib/components/accordion/Accordion.vue.js +7 -7
- package/lib/components/accordion/AccordionItem.vue.d.ts +1 -0
- package/lib/components/accordion/AccordionItem.vue.js +49 -47
- package/lib/components/accordion/index.d.ts +1 -1
- package/lib/components/accordion/theme/Accordion.carbon.theme.js +3 -6
- package/lib/components/accordion/theme/AccordionItem.base.theme.js +9 -9
- package/lib/components/accordion/theme/AccordionItem.carbon.theme.js +3 -14
- package/lib/components/carousel/CarouselSlide.vue.d.ts +19 -8
- package/lib/components/carousel/CarouselSlide.vue.js +2 -2
- package/lib/components/carousel/CarouselSlide.vue2.js +25 -18
- package/lib/components/checkbox/theme/Checkbox.base.theme.js +4 -4
- package/lib/components/container/Container.vue.d.ts +13 -0
- package/lib/components/container/Container.vue.js +15 -11
- package/lib/components/container/theme/Container.base.theme.js +7 -4
- package/lib/components/form/theme/Form.base.theme.js +1 -1
- package/lib/components/menu/Menu.vue.js +10 -10
- package/lib/components/menu/theme/MenuItem.base.theme.js +1 -1
- package/lib/components/modal/Modal.vue.d.ts +1 -1
- package/lib/components/radio/theme/Radio.base.theme.js +6 -6
- package/lib/components/select/Select.vue.js +47 -50
- package/lib/components/slider/theme/Slider.carbon.theme.js +4 -4
- package/lib/components/tab/Tab.vue.js +54 -53
- package/lib/components/tab/theme/TabGroup.carbon.theme.js +3 -3
- package/lib/composables/keys.d.ts +2 -2
- package/lib/index.js +1 -1
- package/lib/index.umd.js +3 -3
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/package.json +4 -2
- package/src/components/accordion/Accordion.vue +5 -1
- package/src/components/accordion/AccordionItem.vue +5 -2
- package/src/components/accordion/index.ts +1 -1
- package/src/components/accordion/theme/Accordion.carbon.theme.ts +3 -5
- package/src/components/accordion/theme/AccordionItem.base.theme.ts +10 -7
- package/src/components/accordion/theme/AccordionItem.carbon.theme.ts +2 -30
- package/src/components/carousel/CarouselSlide.vue +9 -4
- package/src/components/checkbox/theme/Checkbox.base.theme.ts +1 -1
- package/src/components/container/Container.vue +4 -0
- package/src/components/container/theme/Container.base.theme.ts +7 -1
- package/src/components/form/theme/Form.base.theme.ts +1 -1
- package/src/components/label/theme/Label.carbon.theme.ts +0 -2
- package/src/components/menu/Menu.vue +1 -1
- package/src/components/menu/theme/MenuItem.base.theme.ts +1 -1
- package/src/components/radio/theme/Radio.base.theme.ts +1 -1
- package/src/components/select/Select.vue +0 -3
- package/src/components/slider/theme/Slider.carbon.theme.ts +1 -1
- package/src/components/tab/Tab.vue +1 -1
- package/src/components/tab/theme/TabGroup.carbon.theme.ts +1 -1
- package/src/composables/keys.ts +2 -2
- package/src/version.ts +1 -1
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { defineComponent as R, computed as s, ref as
|
|
2
|
-
import { useMutationObserver as
|
|
3
|
-
import { injectTabGroupKey as
|
|
4
|
-
import { useCommon as
|
|
5
|
-
import { useTheme as
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import { closeIcon as
|
|
9
|
-
const
|
|
10
|
-
...
|
|
1
|
+
import { defineComponent as R, computed as s, ref as d, inject as j, reactive as D, onMounted as E, openBlock as c, createBlock as m, resolveDynamicComponent as L, normalizeStyle as V, unref as o, normalizeClass as v, withCtx as M, renderSlot as y, createElementVNode as z, createCommentVNode as p, toDisplayString as O, Teleport as P, createElementBlock as X } from "vue";
|
|
2
|
+
import { useMutationObserver as F } from "../../node_modules/.pnpm/@vueuse_core@10.2.0_vue@3.3.9/node_modules/@vueuse/core/index.js";
|
|
3
|
+
import { injectTabGroupKey as G } from "../../composables/keys.js";
|
|
4
|
+
import { useCommon as x } from "../../composables/useCommon.js";
|
|
5
|
+
import { useTheme as I } from "../../composables/useTheme.js";
|
|
6
|
+
import C from "../icon/Icon.vue.js";
|
|
7
|
+
import K from "../link/Link.vue.js";
|
|
8
|
+
import { closeIcon as q } from "../../common/icons.js";
|
|
9
|
+
const A = {
|
|
10
|
+
...x.props(),
|
|
11
11
|
value: {
|
|
12
12
|
type: [String, Number]
|
|
13
13
|
},
|
|
@@ -21,21 +21,21 @@ const q = {
|
|
|
21
21
|
disabled: Boolean,
|
|
22
22
|
exact: Boolean,
|
|
23
23
|
removable: Boolean
|
|
24
|
-
},
|
|
24
|
+
}, H = {
|
|
25
25
|
name: "XTab",
|
|
26
26
|
validators: {
|
|
27
|
-
...
|
|
27
|
+
...x.validators()
|
|
28
28
|
}
|
|
29
|
-
},
|
|
30
|
-
...
|
|
31
|
-
props:
|
|
29
|
+
}, te = /* @__PURE__ */ R({
|
|
30
|
+
...H,
|
|
31
|
+
props: A,
|
|
32
32
|
emits: ["remove"],
|
|
33
33
|
setup(T) {
|
|
34
34
|
const t = T, i = s(() => {
|
|
35
35
|
var e, u;
|
|
36
36
|
return ((u = (e = l.value) == null ? void 0 : e.$el) == null ? void 0 : u.href) || t.value;
|
|
37
|
-
}), S = s(() => t.label || t.value),
|
|
38
|
-
tabsContentRef:
|
|
37
|
+
}), S = s(() => t.label || t.value), b = d(null), l = d(null), a = j(G, {
|
|
38
|
+
tabsContentRef: d(null),
|
|
39
39
|
activateTab: () => {
|
|
40
40
|
},
|
|
41
41
|
state: D({
|
|
@@ -47,43 +47,43 @@ const q = {
|
|
|
47
47
|
size: "md",
|
|
48
48
|
color: "primary"
|
|
49
49
|
})
|
|
50
|
-
}),
|
|
51
|
-
|
|
52
|
-
|
|
50
|
+
}), k = s(() => a.state.exact || t.exact), f = s(() => t.size || a.state.size);
|
|
51
|
+
E(() => {
|
|
52
|
+
b.value = a.tabsContentRef.value, t.to && l.value && (g(), F(l.value.$el, g, {
|
|
53
53
|
attributes: !0,
|
|
54
54
|
attributeFilter: ["class"]
|
|
55
55
|
}));
|
|
56
56
|
});
|
|
57
|
-
function
|
|
58
|
-
l.value && l.value.$el && t.to && l.value.$el.classList.contains(
|
|
57
|
+
function g() {
|
|
58
|
+
l.value && l.value.$el && t.to && l.value.$el.classList.contains(k.value ? "router-link-exact-active" : "router-link-active") && a.activateTab(i.value);
|
|
59
59
|
}
|
|
60
|
-
const r = s(() => a.state.active === i.value),
|
|
61
|
-
function
|
|
60
|
+
const r = s(() => a.state.active === i.value), $ = s(() => a.state.color);
|
|
61
|
+
function h(e) {
|
|
62
62
|
if (t.disabled) {
|
|
63
63
|
e.preventDefault(), e.stopPropagation();
|
|
64
64
|
return;
|
|
65
65
|
}
|
|
66
66
|
!t.to && typeof i.value < "u" && a.activateTab(i.value);
|
|
67
67
|
}
|
|
68
|
-
const { styles: w, classes: n, className: B } =
|
|
68
|
+
const { styles: w, classes: n, className: B } = I("Tab", {}, d({
|
|
69
69
|
...t,
|
|
70
|
-
size:
|
|
71
|
-
exact:
|
|
70
|
+
size: f.value,
|
|
71
|
+
exact: k.value
|
|
72
72
|
}), {
|
|
73
73
|
...a.state,
|
|
74
74
|
selected: r
|
|
75
75
|
});
|
|
76
|
-
return (e, u) => (
|
|
76
|
+
return (e, u) => (c(), m(L(e.to ? K : e.tag), {
|
|
77
77
|
ref_key: "elRef",
|
|
78
78
|
ref: l,
|
|
79
79
|
"data-value": i.value,
|
|
80
80
|
to: e.to,
|
|
81
|
-
color: r.value ?
|
|
82
|
-
style:
|
|
81
|
+
color: r.value ? $.value : void 0,
|
|
82
|
+
style: V([
|
|
83
83
|
o(w),
|
|
84
84
|
e.to && r.value && o(a).state.variant === "block" ? "--x-link-text: var(--x-tab-group-text); --x-link-text-hover: var(--x-tab-group-text);" : ""
|
|
85
85
|
]),
|
|
86
|
-
class:
|
|
86
|
+
class: v([
|
|
87
87
|
o(B),
|
|
88
88
|
o(n).wrapper,
|
|
89
89
|
"shrink-0",
|
|
@@ -97,52 +97,53 @@ const q = {
|
|
|
97
97
|
]),
|
|
98
98
|
"aria-disabled": e.disabled ? "true" : void 0,
|
|
99
99
|
"aria-selected": r.value ? "true" : "false",
|
|
100
|
-
onClick:
|
|
100
|
+
onClick: h
|
|
101
101
|
}, {
|
|
102
102
|
default: M(() => [
|
|
103
|
-
|
|
103
|
+
y(e.$slots, "tab", {
|
|
104
104
|
label: e.label,
|
|
105
105
|
value: e.value,
|
|
106
|
-
size:
|
|
106
|
+
size: f.value,
|
|
107
107
|
icon: e.icon
|
|
108
108
|
}, () => [
|
|
109
|
-
|
|
110
|
-
class:
|
|
109
|
+
z("div", {
|
|
110
|
+
class: v(o(n).content)
|
|
111
111
|
}, [
|
|
112
|
-
e.icon ? (
|
|
112
|
+
e.icon ? (c(), m(C, {
|
|
113
113
|
key: 0,
|
|
114
114
|
icon: e.icon,
|
|
115
|
-
size:
|
|
116
|
-
class:
|
|
117
|
-
}, null, 8, ["icon", "size", "class"])) :
|
|
118
|
-
|
|
119
|
-
class:
|
|
115
|
+
size: f.value,
|
|
116
|
+
class: v(o(n).icon)
|
|
117
|
+
}, null, 8, ["icon", "size", "class"])) : p("", !0),
|
|
118
|
+
z("div", {
|
|
119
|
+
class: v(o(n).label)
|
|
120
120
|
}, O(S.value), 3),
|
|
121
|
-
e.removable ? (
|
|
121
|
+
e.removable ? (c(), m(C, {
|
|
122
122
|
key: 1,
|
|
123
123
|
size: "sm",
|
|
124
|
-
icon: o(
|
|
124
|
+
icon: o(q),
|
|
125
125
|
class: "ml-2 cursor-pointer hover:text-gray-700 dark:hover:text-gray-500 transition-colors duration-150",
|
|
126
126
|
onClick: u[0] || (u[0] = (N) => e.$emit("remove", N))
|
|
127
|
-
}, null, 8, ["icon"])) :
|
|
127
|
+
}, null, 8, ["icon"])) : p("", !0)
|
|
128
128
|
], 2)
|
|
129
129
|
]),
|
|
130
|
-
r.value &&
|
|
130
|
+
r.value && b.value ? (c(), m(P, {
|
|
131
131
|
key: 0,
|
|
132
|
-
to:
|
|
132
|
+
to: b.value
|
|
133
133
|
}, [
|
|
134
|
-
|
|
134
|
+
e.$slots.default ? (c(), X("div", {
|
|
135
|
+
key: 0,
|
|
135
136
|
role: "tabpanel",
|
|
136
|
-
class:
|
|
137
|
+
class: v(o(n).tabpanel)
|
|
137
138
|
}, [
|
|
138
|
-
|
|
139
|
-
], 2)
|
|
140
|
-
], 8, ["to"])) :
|
|
139
|
+
y(e.$slots, "default")
|
|
140
|
+
], 2)) : p("", !0)
|
|
141
|
+
], 8, ["to"])) : p("", !0)
|
|
141
142
|
]),
|
|
142
143
|
_: 3
|
|
143
144
|
}, 8, ["data-value", "to", "color", "style", "class", "aria-disabled", "aria-selected"]));
|
|
144
145
|
}
|
|
145
146
|
});
|
|
146
147
|
export {
|
|
147
|
-
|
|
148
|
+
te as default
|
|
148
149
|
};
|
|
@@ -11,7 +11,7 @@ const l = {
|
|
|
11
11
|
},
|
|
12
12
|
tracker: ({ props: t }) => {
|
|
13
13
|
const r = ["absolute transition-all duration-150"];
|
|
14
|
-
return t.variant === "line" && r.push("h-[2px] -mt-[2px] bg-[color:var(--x-tab-group-text)] dark:bg-[color:var(--x-tab-group-dark-text)]"), t.variant === "block" && r.push("border-t-2 border-[color:var(--x-tab-group-text)] dark:border-[color:var(--x-tab-group-dark-text)] h-full top-0 bg-gray-100 dark:bg-gray-700"), r;
|
|
14
|
+
return t.variant === "line" && r.push("h-[2px] -mt-[2px] bg-[color:var(--x-tab-group-text)] dark:bg-[color:var(--x-tab-group-dark-text)]"), t.variant === "block" && r.push("border-t-2 border-solid border-[color:var(--x-tab-group-text)] dark:border-[color:var(--x-tab-group-dark-text)] h-full top-0 bg-gray-100 dark:bg-gray-700"), r;
|
|
15
15
|
}
|
|
16
16
|
},
|
|
17
17
|
styles: ({ props: t, colors: r, css: e }) => {
|
|
@@ -25,7 +25,7 @@ const l = {
|
|
|
25
25
|
}
|
|
26
26
|
});
|
|
27
27
|
}
|
|
28
|
-
},
|
|
28
|
+
}, o = l;
|
|
29
29
|
export {
|
|
30
|
-
|
|
30
|
+
o as default
|
|
31
31
|
};
|
|
@@ -5,7 +5,7 @@ import type { ButtonGroupInjection } from '../components/button/ButtonGroup.vue'
|
|
|
5
5
|
import type { NotificationInjection } from '../components/notifications/Notifications.vue';
|
|
6
6
|
import type { IconInjection } from '../components/icon/Icon.vue';
|
|
7
7
|
import type { FormGroupInjection } from '../components/formGroup';
|
|
8
|
-
import type {
|
|
8
|
+
import type { AccordionInjection } from '../components/accordion';
|
|
9
9
|
import type { UIOptions } from '../create';
|
|
10
10
|
import type { UITheme } from '../theme';
|
|
11
11
|
export declare const injectOptionsKey: InjectionKey<UIOptions>;
|
|
@@ -16,4 +16,4 @@ export declare const injectFormGroupKey: InjectionKey<FormGroupInjection>;
|
|
|
16
16
|
export declare const injectIconsKey: InjectionKey<IconInjection>;
|
|
17
17
|
export declare const injectButtonGroupKey: InjectionKey<ButtonGroupInjection>;
|
|
18
18
|
export declare const injectNotificationKey: InjectionKey<NotificationInjection>;
|
|
19
|
-
export declare const injectAccordionKey: InjectionKey<
|
|
19
|
+
export declare const injectAccordionKey: InjectionKey<AccordionInjection>;
|
package/lib/index.js
CHANGED
|
@@ -65,7 +65,7 @@ import { useInteractive as Po } from "./composables/useInteractive.js";
|
|
|
65
65
|
import { useNotifications as Ao } from "./composables/useNotifications.js";
|
|
66
66
|
import { default as wo } from "./themes/base/index.js";
|
|
67
67
|
import { default as _o } from "./themes/carbon/index.js";
|
|
68
|
-
function styleInject(css,ref){if(ref===void 0){ref={}}var insertAt=ref.insertAt;if(!css||typeof document==="undefined"){return}var head=document.head||document.getElementsByTagName("head")[0];var style=document.createElement("style");style.type="text/css";if(insertAt==="top"){if(head.firstChild){head.insertBefore(style,head.firstChild)}else{head.appendChild(style)}}else{head.appendChild(style)}if(style.styleSheet){style.styleSheet.cssText=css}else{style.appendChild(document.createTextNode(css))}};styleInject(`.resize-observer{position:absolute;top:0;left:0;z-index:-1;width:100%;height:100%;border:none;background-color:transparent;pointer-events:none;display:block;overflow:hidden;opacity:0}.resize-observer object{display:block;position:absolute;top:0;left:0;height:100%;width:100%;overflow:hidden;pointer-events:none;z-index:-1}.v-popper__popper{z-index:10000;top:0;left:0;outline:0}.v-popper__popper.v-popper__popper--hidden{visibility:hidden;opacity:0;transition:opacity .15s,visibility .15s;pointer-events:none}.v-popper__popper.v-popper__popper--shown{visibility:visible;opacity:1;transition:opacity .15s}.v-popper__popper.v-popper__popper--skip-transition,.v-popper__popper.v-popper__popper.v-popper__popper--skip-transition>.v-popper__wrapper{transition:none!important}.v-popper__backdrop{position:absolute;top:0;left:0;width:100%;height:100%;display:none}._alert_rqxly_2{color:var(--x-alert-text);background-color:var(--x-alert-bg);border-color:var(--x-alert-border)}._alert--glow_rqxly_1{box-shadow:0 0 #000,0 0 #000,0 10px 15px -3px var(--x-alert-glow),0 4px 6px -4px var(--x-alert-glow)}._alert_rqxly_2.dark,.dark ._alert_rqxly_2{color:var(--x-alert-dark-text,var(--x-alert-text));background-color:var(--x-alert-dark-bg,var(--x-alert-bg));border-color:var(--x-alert-dark-border,var(--x-alert-border))}._avatar_7u83c_2{color:var(--x-avatar-text);background-color:var(--x-avatar-bg);border-color:var(--x-avatar-border)}._avatar_7u83c_2.dark,.dark ._avatar_7u83c_2{color:var(--x-avatar-dark-text,var(--x-avatar-text));background-color:var(--x-avatar-dark-bg,var(--x-avatar-bg));border-color:var(--x-avatar-dark-border,var(--x-avatar-border))}._button-group_1p7wb_2:not(._button-group--rounded_1p7wb_1)>:first-child{border-top-left-radius:.375rem;border-bottom-left-radius:.375rem}._button-group_1p7wb_2:not(._button-group--rounded_1p7wb_1)>:last-child{border-top-right-radius:.375rem;border-bottom-right-radius:.375rem}._button-group--rounded_1p7wb_1>:first-of-type{border-top-left-radius:9999px;border-bottom-left-radius:9999px}._button-group--rounded_1p7wb_1>:last-child{border-top-right-radius:9999px;border-bottom-right-radius:9999px}._checkbox--glow_a1gm3_1{box-shadow:0 0 #000,0 0 #000,0 10px 15px -3px var(--x-checkbox-glow),0 4px 6px -4px var(--x-checkbox-glow)}._radio_67qot_2{border-color:var(--x-radio-border);background-color:var(--x-radio-bg)}._radio_circle_67qot_1{color:var(--x-radio-circle)}._radio--glow_67qot_1{box-shadow:0 0 #000,0 0 #000,0 10px 15px -3px var(--x-radio-glow),0 4px 6px -4px var(--x-radio-glow)}._radio_67qot_2.dark,.dark ._radio_67qot_2{border-color:var(--x-radio-dark-border);background-color:var(--x-radio-dark-bg)}._radio_67qot_2.dark_circle,.dark ._radio_circle_67qot_1{color:var(--x-radio-dark-circle)}._scrollwrap_12093_2::after,._scrollwrap_12093_2::before{content:"";pointer-events:none;position:absolute;z-index:1;transition:box-shadow .2s}._scrollwrap_12093_2._horizontal_12093_12::after,._scrollwrap_12093_2._horizontal_12093_12::before{top:0;bottom:0;width:20px}._scrollwrap_12093_2._vertical_12093_19::after,._scrollwrap_12093_2._vertical_12093_19::before{right:0;left:0;height:20px}._scrollwrap_12093_2._horizontal_12093_12::before{left:0}._scrollwrap_12093_2._horizontal_12093_12::after{right:0}._scrollwrap_12093_2._vertical_12093_19::before{top:0}._scrollwrap_12093_2._vertical_12093_19::after{bottom:0}._scrollwrap_12093_2._shadow-left_12093_42::before{box-shadow:inset 12px 0 10px -10px rgb(0 0 0 / 7%)}._scrollwrap_12093_2._shadow-right_12093_46::after{box-shadow:inset -12px 0 10px -10px rgb(0 0 0 / 7%)}._scrollwrap_12093_2._shadow-top_12093_50::before{box-shadow:inset 0 12px 10px -10px rgb(0 0 0 / 7%)}._scrollwrap_12093_2._shadow-bottom_12093_54::after{box-shadow:inset 0 -12px 10px -10px rgb(0 0 0 / 7%)}._hidescroll_12093_59{-ms-overflow-style:auto;scrollbar-width:none}._hidescroll_12093_59::-webkit-scrollbar{display:none}._button_1liag_2[data-v-46c0001b]{color:var(--x-button-text);background-color:var(--x-button-bg);border-color:var(--x-button-border)}._button--glow_1liag_1[data-v-46c0001b]{box-shadow:0 0 #000,0 0 #000,0 10px 15px -3px var(--x-button-glow),0 4px 6px -4px var(--x-button-glow)}._button_1liag_2[data-v-46c0001b]:hover{color:var(--x-button-text-hover,var(--x-button-text));background-color:var(--x-button-bg-hover,var(--x-button-bg));border-color:var(--x-button-border-hover,var(--x-button-border))}._button_1liag_2[data-v-46c0001b]:active{color:var(--x-button-text-active,var(--x-button-text));background-color:var(--x-button-bg-active,var(--x-button-bg));border-color:var(--x-button-border-active,var(--x-button-border))}._button_1liag_2.dark[data-v-46c0001b],.dark ._button_1liag_2[data-v-46c0001b]{color:var(--x-button-dark-text,var(--x-button-text));background-color:var(--x-button-dark-bg,var(--x-button-bg));border-color:var(--x-button-dark-border,var(--x-button-border))}._button_1liag_2.dark[data-v-46c0001b]:hover,.dark ._button_1liag_2[data-v-46c0001b]:hover{color:var(--x-button-dark-text-hover,var(--x-button-dark-text,var(--x-button-text)));background-color:var(--x-button-dark-bg-hover,var(--x-button-dark-bg,var(--x-button-bg)));border-color:var(--x-button-dark-border-hover,var(--x-button-dark-border,var(--x-button-border)))}._button_1liag_2.dark[data-v-46c0001b]:active,.dark ._button_1liag_2[data-v-46c0001b]:active{color:var(--x-button-dark-text-active,var(--x-button-dark-text));background-color:var(--x-button-dark-bg-active,var(--x-button-dark-bg,var(--x-button-bg)));border-color:var(--x-button-dark-border-active,var(--x-button-dark-border,var(--x-button-border)))}._carousel-slide_uzvvz_2 img[data-v-
|
|
68
|
+
function styleInject(css,ref){if(ref===void 0){ref={}}var insertAt=ref.insertAt;if(!css||typeof document==="undefined"){return}var head=document.head||document.getElementsByTagName("head")[0];var style=document.createElement("style");style.type="text/css";if(insertAt==="top"){if(head.firstChild){head.insertBefore(style,head.firstChild)}else{head.appendChild(style)}}else{head.appendChild(style)}if(style.styleSheet){style.styleSheet.cssText=css}else{style.appendChild(document.createTextNode(css))}};styleInject(`.resize-observer{position:absolute;top:0;left:0;z-index:-1;width:100%;height:100%;border:none;background-color:transparent;pointer-events:none;display:block;overflow:hidden;opacity:0}.resize-observer object{display:block;position:absolute;top:0;left:0;height:100%;width:100%;overflow:hidden;pointer-events:none;z-index:-1}.v-popper__popper{z-index:10000;top:0;left:0;outline:0}.v-popper__popper.v-popper__popper--hidden{visibility:hidden;opacity:0;transition:opacity .15s,visibility .15s;pointer-events:none}.v-popper__popper.v-popper__popper--shown{visibility:visible;opacity:1;transition:opacity .15s}.v-popper__popper.v-popper__popper--skip-transition,.v-popper__popper.v-popper__popper.v-popper__popper--skip-transition>.v-popper__wrapper{transition:none!important}.v-popper__backdrop{position:absolute;top:0;left:0;width:100%;height:100%;display:none}._alert_rqxly_2{color:var(--x-alert-text);background-color:var(--x-alert-bg);border-color:var(--x-alert-border)}._alert--glow_rqxly_1{box-shadow:0 0 #000,0 0 #000,0 10px 15px -3px var(--x-alert-glow),0 4px 6px -4px var(--x-alert-glow)}._alert_rqxly_2.dark,.dark ._alert_rqxly_2{color:var(--x-alert-dark-text,var(--x-alert-text));background-color:var(--x-alert-dark-bg,var(--x-alert-bg));border-color:var(--x-alert-dark-border,var(--x-alert-border))}._avatar_7u83c_2{color:var(--x-avatar-text);background-color:var(--x-avatar-bg);border-color:var(--x-avatar-border)}._avatar_7u83c_2.dark,.dark ._avatar_7u83c_2{color:var(--x-avatar-dark-text,var(--x-avatar-text));background-color:var(--x-avatar-dark-bg,var(--x-avatar-bg));border-color:var(--x-avatar-dark-border,var(--x-avatar-border))}._button-group_1p7wb_2:not(._button-group--rounded_1p7wb_1)>:first-child{border-top-left-radius:.375rem;border-bottom-left-radius:.375rem}._button-group_1p7wb_2:not(._button-group--rounded_1p7wb_1)>:last-child{border-top-right-radius:.375rem;border-bottom-right-radius:.375rem}._button-group--rounded_1p7wb_1>:first-of-type{border-top-left-radius:9999px;border-bottom-left-radius:9999px}._button-group--rounded_1p7wb_1>:last-child{border-top-right-radius:9999px;border-bottom-right-radius:9999px}._checkbox--glow_a1gm3_1{box-shadow:0 0 #000,0 0 #000,0 10px 15px -3px var(--x-checkbox-glow),0 4px 6px -4px var(--x-checkbox-glow)}._radio_67qot_2{border-color:var(--x-radio-border);background-color:var(--x-radio-bg)}._radio_circle_67qot_1{color:var(--x-radio-circle)}._radio--glow_67qot_1{box-shadow:0 0 #000,0 0 #000,0 10px 15px -3px var(--x-radio-glow),0 4px 6px -4px var(--x-radio-glow)}._radio_67qot_2.dark,.dark ._radio_67qot_2{border-color:var(--x-radio-dark-border);background-color:var(--x-radio-dark-bg)}._radio_67qot_2.dark_circle,.dark ._radio_circle_67qot_1{color:var(--x-radio-dark-circle)}._scrollwrap_12093_2::after,._scrollwrap_12093_2::before{content:"";pointer-events:none;position:absolute;z-index:1;transition:box-shadow .2s}._scrollwrap_12093_2._horizontal_12093_12::after,._scrollwrap_12093_2._horizontal_12093_12::before{top:0;bottom:0;width:20px}._scrollwrap_12093_2._vertical_12093_19::after,._scrollwrap_12093_2._vertical_12093_19::before{right:0;left:0;height:20px}._scrollwrap_12093_2._horizontal_12093_12::before{left:0}._scrollwrap_12093_2._horizontal_12093_12::after{right:0}._scrollwrap_12093_2._vertical_12093_19::before{top:0}._scrollwrap_12093_2._vertical_12093_19::after{bottom:0}._scrollwrap_12093_2._shadow-left_12093_42::before{box-shadow:inset 12px 0 10px -10px rgb(0 0 0 / 7%)}._scrollwrap_12093_2._shadow-right_12093_46::after{box-shadow:inset -12px 0 10px -10px rgb(0 0 0 / 7%)}._scrollwrap_12093_2._shadow-top_12093_50::before{box-shadow:inset 0 12px 10px -10px rgb(0 0 0 / 7%)}._scrollwrap_12093_2._shadow-bottom_12093_54::after{box-shadow:inset 0 -12px 10px -10px rgb(0 0 0 / 7%)}._hidescroll_12093_59{-ms-overflow-style:auto;scrollbar-width:none}._hidescroll_12093_59::-webkit-scrollbar{display:none}._button_1liag_2[data-v-46c0001b]{color:var(--x-button-text);background-color:var(--x-button-bg);border-color:var(--x-button-border)}._button--glow_1liag_1[data-v-46c0001b]{box-shadow:0 0 #000,0 0 #000,0 10px 15px -3px var(--x-button-glow),0 4px 6px -4px var(--x-button-glow)}._button_1liag_2[data-v-46c0001b]:hover{color:var(--x-button-text-hover,var(--x-button-text));background-color:var(--x-button-bg-hover,var(--x-button-bg));border-color:var(--x-button-border-hover,var(--x-button-border))}._button_1liag_2[data-v-46c0001b]:active{color:var(--x-button-text-active,var(--x-button-text));background-color:var(--x-button-bg-active,var(--x-button-bg));border-color:var(--x-button-border-active,var(--x-button-border))}._button_1liag_2.dark[data-v-46c0001b],.dark ._button_1liag_2[data-v-46c0001b]{color:var(--x-button-dark-text,var(--x-button-text));background-color:var(--x-button-dark-bg,var(--x-button-bg));border-color:var(--x-button-dark-border,var(--x-button-border))}._button_1liag_2.dark[data-v-46c0001b]:hover,.dark ._button_1liag_2[data-v-46c0001b]:hover{color:var(--x-button-dark-text-hover,var(--x-button-dark-text,var(--x-button-text)));background-color:var(--x-button-dark-bg-hover,var(--x-button-dark-bg,var(--x-button-bg)));border-color:var(--x-button-dark-border-hover,var(--x-button-dark-border,var(--x-button-border)))}._button_1liag_2.dark[data-v-46c0001b]:active,.dark ._button_1liag_2[data-v-46c0001b]:active{color:var(--x-button-dark-text-active,var(--x-button-dark-text));background-color:var(--x-button-dark-bg-active,var(--x-button-dark-bg,var(--x-button-bg)));border-color:var(--x-button-dark-border-active,var(--x-button-dark-border,var(--x-button-border)))}._carousel-slide_uzvvz_2 img[data-v-402870d3-s]{width:100%;height:100%;-o-object-fit:cover;object-fit:cover}._link_ke25h_2[data-v-37edea5a]{color:var(--x-link-text)}._link_ke25h_2[data-v-37edea5a]:hover{color:var(--x-link-text-hover,var(--x-link-text))}._link--shadow_ke25h_1[data-v-37edea5a]{box-shadow:inset 0 -.315em 0 0 var(--x-link-shadow)}._link--shadow_ke25h_1[data-v-37edea5a]:hover{box-shadow:inset 0 -1.325em 0 0 var(--x-link-shadow)}._link_ke25h_2.dark[data-v-37edea5a],.dark ._link_ke25h_2[data-v-37edea5a]{color:var(--x-link-dark-text)}._link_ke25h_2.dark[data-v-37edea5a]:hover,.dark ._link_ke25h_2[data-v-37edea5a]:hover{color:var(--x-link-dark-text-hover,var(--x-link-dark-text))}._link_ke25h_2.dark--shadow[data-v-37edea5a],.dark ._link--shadow_ke25h_1[data-v-37edea5a]{box-shadow:inset 0 -.315em 0 0 var(--x-link-dark-shadow)}._link_ke25h_2.dark--shadow[data-v-37edea5a]:hover,.dark ._link--shadow_ke25h_1[data-v-37edea5a]:hover{box-shadow:inset 0 -1.325em 0 0 var(--x-link-dark-shadow)}._menu-item_eyhiv_2[data-v-8614aac7]{color:var(--x-menu-item-text);background-color:var(--x-menu-item-bg)}._menu-item_eyhiv_2[data-v-8614aac7]::before{content:"";position:absolute;left:-1px;height:100%;width:1px;background-color:transparent}._menu-item_eyhiv_2[data-v-8614aac7]:hover{color:var(--x-menu-item-text-hover,var(--x-menu-item-text));background-color:var(--x-menu-item-bg-hover,var(--x-menu-item-bg))}._menu-item_eyhiv_2.dark[data-v-8614aac7],.dark ._menu-item_eyhiv_2[data-v-8614aac7]{color:var(--x-menu-item-dark-text);background:var(--x-menu-item-dark-bg)}._menu-item_eyhiv_2.dark[data-v-8614aac7]:hover,.dark ._menu-item_eyhiv_2[data-v-8614aac7]:hover{color:var(--x-menu-item-dark-text-hover,var(--x-menu-item-dark-text));background-color:var(--x-menu-item-dark-bg-hover,var(--x-menu-item-dark-bg))}.x-menu-inner ._menu-item--active_eyhiv_1[data-v-8614aac7]::before,.x-menu-inner ._menu-item_eyhiv_2[data-v-8614aac7]:hover::before{background-color:var(--x-menu-item-border-hover)}`);
|
|
69
69
|
export {
|
|
70
70
|
wo as BaseTheme,
|
|
71
71
|
_o as CarbonTheme,
|