@cypress-design/vue-alert 0.1.1 → 0.1.2
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/Alert.vue +86 -61
- package/CHANGELOG.md +9 -0
- package/dist/index.es.mjs +75 -71
- package/dist/index.es.mjs.map +1 -1
- package/dist/index.umd.js +2 -2
- package/dist/index.umd.js.map +1 -1
- package/dist/vue/Alert.vue.d.ts.map +1 -1
- package/package.json +6 -1
- package/dist/style.css +0 -1
package/Alert.vue
CHANGED
|
@@ -1,15 +1,28 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<div
|
|
2
|
+
<div
|
|
3
|
+
v-if="!dismissed"
|
|
4
|
+
class="overflow-hidden text-left"
|
|
5
|
+
:class="props.notRounded ? undefined : 'rounded'"
|
|
6
|
+
>
|
|
3
7
|
<div class="flex p-16px" :class="typeClasses.headerClass">
|
|
4
8
|
<!-- @slot replace the default left icon here -->
|
|
5
9
|
<slot name="icon" v-bind="computedIconProps">
|
|
6
|
-
<component
|
|
10
|
+
<component
|
|
11
|
+
v-if="!props.noIcon && icon"
|
|
12
|
+
:is="icon"
|
|
13
|
+
v-bind="computedIconProps"
|
|
14
|
+
/>
|
|
7
15
|
</slot>
|
|
8
16
|
<div class="flex-1 font-medium">
|
|
9
17
|
<!-- @slot title of the alert -->
|
|
10
18
|
<slot />
|
|
11
19
|
</div>
|
|
12
|
-
<button
|
|
20
|
+
<button
|
|
21
|
+
v-if="dismissible"
|
|
22
|
+
class="m-4px ml-8px h-16px"
|
|
23
|
+
@click="dismiss"
|
|
24
|
+
aria-label="Dismiss"
|
|
25
|
+
>
|
|
13
26
|
<IconActionDeleteLarge :stroke-color="typeClasses.iconCloseColor" />
|
|
14
27
|
</button>
|
|
15
28
|
</div>
|
|
@@ -17,26 +30,42 @@
|
|
|
17
30
|
<!-- @slot body/details of the alert -->
|
|
18
31
|
<slot name="body" />
|
|
19
32
|
</div>
|
|
20
|
-
<details
|
|
21
|
-
|
|
22
|
-
|
|
33
|
+
<details
|
|
34
|
+
v-if="slots.details"
|
|
35
|
+
class="p-16px border-t-1"
|
|
36
|
+
ref="detailsRef"
|
|
37
|
+
:class="[typeClasses.bodyClass, typeClasses.borderClass]"
|
|
38
|
+
>
|
|
39
|
+
<summary
|
|
40
|
+
class="flex font-medium cursor-pointer details-none"
|
|
41
|
+
:class="typeClasses.detailsHeaderClass"
|
|
42
|
+
>
|
|
43
|
+
<IconChevronDownSmall
|
|
44
|
+
:strokeColor="typeClasses.iconChevronColor"
|
|
45
|
+
class="icon my-4px mr-8px transition transform -rotate-90 open:rotate-0"
|
|
46
|
+
/>
|
|
23
47
|
{{ props.detailsTitle }}
|
|
24
48
|
</summary>
|
|
25
|
-
<div
|
|
26
|
-
|
|
27
|
-
|
|
49
|
+
<div ref="contentRef">
|
|
50
|
+
<div class="mt-16px">
|
|
51
|
+
<!--@slot Togglable additional details-->
|
|
52
|
+
<slot name="details" />
|
|
53
|
+
</div>
|
|
28
54
|
</div>
|
|
29
55
|
</details>
|
|
30
56
|
</div>
|
|
31
57
|
</template>
|
|
32
58
|
|
|
33
59
|
<script lang="ts" setup>
|
|
34
|
-
import type { FunctionalComponent, ComputedRef } from 'vue'
|
|
60
|
+
import type { FunctionalComponent, ComputedRef } from 'vue'
|
|
35
61
|
import { computed, useSlots, h, ref, onMounted, onUnmounted } from 'vue'
|
|
36
62
|
import {
|
|
37
|
-
IconChevronDownSmall,
|
|
38
|
-
|
|
63
|
+
IconChevronDownSmall,
|
|
64
|
+
IconActionDeleteLarge,
|
|
65
|
+
IconWarningCircle,
|
|
66
|
+
IconCheckmarkOutline,
|
|
39
67
|
} from '@cypress-design/vue-icon'
|
|
68
|
+
import { DetailsAnimation } from '@cypress-design/details-animation'
|
|
40
69
|
import type { AlertType } from '../constants'
|
|
41
70
|
import { alertClasses } from '../constants'
|
|
42
71
|
|
|
@@ -48,38 +77,44 @@ const emit = defineEmits<{
|
|
|
48
77
|
/**
|
|
49
78
|
* Clicking on the dismiss button or dismissed after a timeout
|
|
50
79
|
*/
|
|
51
|
-
(event: 'dismiss'): void
|
|
80
|
+
(event: 'dismiss'): void
|
|
52
81
|
}>()
|
|
53
82
|
|
|
54
|
-
const props = withDefaults(
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
+
const props = withDefaults(
|
|
84
|
+
defineProps<{
|
|
85
|
+
/**
|
|
86
|
+
* Color scheme
|
|
87
|
+
*/
|
|
88
|
+
type?: AlertType
|
|
89
|
+
/**
|
|
90
|
+
* If details are provided,text used in the toggle button
|
|
91
|
+
*/
|
|
92
|
+
detailsTitle?: string
|
|
93
|
+
/**
|
|
94
|
+
* Show the dismiss button
|
|
95
|
+
*/
|
|
96
|
+
dismissible?: boolean
|
|
97
|
+
/**
|
|
98
|
+
* When an icon is displayed by default, use this to remove it
|
|
99
|
+
*/
|
|
100
|
+
noIcon?: boolean
|
|
101
|
+
/**
|
|
102
|
+
* If you need square corners
|
|
103
|
+
*/
|
|
104
|
+
notRounded?: boolean
|
|
105
|
+
/**
|
|
106
|
+
* Dismiss the alert after a delay (in ms)
|
|
107
|
+
*/
|
|
108
|
+
duration?: number
|
|
109
|
+
}>(),
|
|
110
|
+
{
|
|
111
|
+
type: 'info',
|
|
112
|
+
detailsTitle: 'Additional details',
|
|
113
|
+
}
|
|
114
|
+
)
|
|
115
|
+
|
|
116
|
+
const detailsRef = ref(null)
|
|
117
|
+
const contentRef = ref(null)
|
|
83
118
|
|
|
84
119
|
const typeClasses = computed(() => {
|
|
85
120
|
return alertClasses[props.type]
|
|
@@ -93,6 +128,12 @@ onMounted(() => {
|
|
|
93
128
|
}
|
|
94
129
|
})
|
|
95
130
|
|
|
131
|
+
onMounted(() => {
|
|
132
|
+
if (detailsRef.value && contentRef.value) {
|
|
133
|
+
new DetailsAnimation(detailsRef.value, contentRef.value)
|
|
134
|
+
}
|
|
135
|
+
})
|
|
136
|
+
|
|
96
137
|
onUnmounted(() => {
|
|
97
138
|
if (timeout) {
|
|
98
139
|
clearTimeout(timeout)
|
|
@@ -111,14 +152,14 @@ function dismiss() {
|
|
|
111
152
|
const computedIconProps = computed(() => {
|
|
112
153
|
return {
|
|
113
154
|
strokeColor: alertClasses[props.type].iconColor,
|
|
114
|
-
class: 'my-4px mr-8px'
|
|
155
|
+
class: 'my-4px mr-8px',
|
|
115
156
|
}
|
|
116
157
|
})
|
|
117
158
|
|
|
118
159
|
const icon: ComputedRef<FunctionalComponent | null> = computed(() => {
|
|
119
160
|
switch (props.type) {
|
|
120
161
|
case 'info':
|
|
121
|
-
return null
|
|
162
|
+
return null
|
|
122
163
|
case 'success':
|
|
123
164
|
return () => h(IconCheckmarkOutline, computedIconProps.value)
|
|
124
165
|
case 'warning':
|
|
@@ -126,23 +167,7 @@ const icon: ComputedRef<FunctionalComponent | null> = computed(() => {
|
|
|
126
167
|
case 'error':
|
|
127
168
|
return () => h(IconWarningCircle, computedIconProps.value)
|
|
128
169
|
default:
|
|
129
|
-
return null
|
|
170
|
+
return null
|
|
130
171
|
}
|
|
131
172
|
})
|
|
132
|
-
|
|
133
173
|
</script>
|
|
134
|
-
|
|
135
|
-
<style scoped>
|
|
136
|
-
details :deep(summary::-webkit-details-marker) {
|
|
137
|
-
display: none;
|
|
138
|
-
}
|
|
139
|
-
|
|
140
|
-
details summary .icon {
|
|
141
|
-
transform: rotate(-90deg);
|
|
142
|
-
transition: transform 0.2s;
|
|
143
|
-
}
|
|
144
|
-
|
|
145
|
-
details[open] summary .icon {
|
|
146
|
-
transform: rotate(0);
|
|
147
|
-
}
|
|
148
|
-
</style>
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# @cypress-design/vue-alert
|
|
2
2
|
|
|
3
|
+
## 0.1.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#74](https://github.com/cypress-io/cypress-design/pull/74) [`6d8b6fd`](https://github.com/cypress-io/cypress-design/commit/6d8b6fd763b0389d748884c35f4ff6dd73724977) Thanks [@elevatebart](https://github.com/elevatebart)! - refactor to remove need for custom css
|
|
8
|
+
|
|
9
|
+
- Updated dependencies [[`6d8b6fd`](https://github.com/cypress-io/cypress-design/commit/6d8b6fd763b0389d748884c35f4ff6dd73724977)]:
|
|
10
|
+
- @cypress-design/details-animation@0.0.1
|
|
11
|
+
|
|
3
12
|
## 0.1.1
|
|
4
13
|
|
|
5
14
|
### Patch Changes
|
package/dist/index.es.mjs
CHANGED
|
@@ -1,72 +1,73 @@
|
|
|
1
|
-
import { h as
|
|
2
|
-
import * as
|
|
3
|
-
import { ICON_COLOR_PROP_NAMES as
|
|
4
|
-
|
|
1
|
+
import { h as i, defineComponent as I, ref as x, useSlots as S, computed as z, onMounted as j, onUnmounted as $, openBlock as C, createElementBlock as f, normalizeClass as m, createElementVNode as p, unref as t, renderSlot as v, normalizeProps as A, guardReactiveProps as E, createBlock as H, resolveDynamicComponent as M, mergeProps as N, createCommentVNode as g, createVNode as D, createTextVNode as T, toDisplayString as B } from "vue";
|
|
2
|
+
import * as y from "@cypress-design/icon-registry";
|
|
3
|
+
import { ICON_COLOR_PROP_NAMES as O } from "@cypress-design/icon-registry";
|
|
4
|
+
import { DetailsAnimation as P } from "@cypress-design/details-animation";
|
|
5
|
+
const h = ({
|
|
5
6
|
body: s,
|
|
6
7
|
compiledClasses: e,
|
|
7
8
|
size: o,
|
|
8
9
|
class: r,
|
|
9
|
-
interactiveColorsOnGroup:
|
|
10
|
-
...
|
|
10
|
+
interactiveColorsOnGroup: k,
|
|
11
|
+
...n
|
|
11
12
|
}) => {
|
|
12
|
-
const
|
|
13
|
+
const c = Object.keys(n).reduce((a, d) => (O.includes(d) || (a[d] = n[d]), a), {}), l = {
|
|
13
14
|
width: o,
|
|
14
15
|
height: o,
|
|
15
16
|
fill: "none",
|
|
16
17
|
innerHTML: s,
|
|
17
|
-
...
|
|
18
|
+
...c
|
|
18
19
|
};
|
|
19
|
-
return e.length && (
|
|
20
|
-
},
|
|
21
|
-
const { sizeWithDefault: e, compiledClasses: o } =
|
|
20
|
+
return e.length && (l.class = e.join(" ")), l;
|
|
21
|
+
}, V = (s) => {
|
|
22
|
+
const { sizeWithDefault: e, compiledClasses: o } = y.getComponentAttributes({ ...s, availableSizes: ["16"] }), r = {
|
|
22
23
|
16: '<path d="M3 13 13 3M3 3l10 10" stroke="currentColor" class="icon-dark" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>'
|
|
23
24
|
}[e];
|
|
24
25
|
if (!r)
|
|
25
26
|
throw Error(`Icon "action-delete-large" is not available in size ${e}`);
|
|
26
|
-
return
|
|
27
|
+
return i("svg", h({
|
|
27
28
|
...s,
|
|
28
29
|
size: e,
|
|
29
30
|
body: r,
|
|
30
31
|
compiledClasses: o
|
|
31
32
|
}));
|
|
32
|
-
},
|
|
33
|
-
const { sizeWithDefault: e, compiledClasses: o } =
|
|
33
|
+
}, Z = (s) => {
|
|
34
|
+
const { sizeWithDefault: e, compiledClasses: o } = y.getComponentAttributes({ ...s, availableSizes: ["16"] }), r = {
|
|
34
35
|
16: '<path d="M12.95 12.95a7 7 0 1 1-9.9-9.9 7 7 0 0 1 9.9 9.9Z" stroke="currentColor" stroke-width="2" class="icon-dark"/><path d="m6 8 1.5 2L10 6" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="icon-dark"/>'
|
|
35
36
|
}[e];
|
|
36
37
|
if (!r)
|
|
37
38
|
throw Error(`Icon "checkmark-outline" is not available in size ${e}`);
|
|
38
|
-
return
|
|
39
|
+
return i("svg", h({
|
|
39
40
|
...s,
|
|
40
41
|
size: e,
|
|
41
42
|
body: r,
|
|
42
43
|
compiledClasses: o
|
|
43
44
|
}));
|
|
44
|
-
},
|
|
45
|
-
const { sizeWithDefault: e, compiledClasses: o } =
|
|
45
|
+
}, W = (s) => {
|
|
46
|
+
const { sizeWithDefault: e, compiledClasses: o } = y.getComponentAttributes({ ...s, availableSizes: ["8", "16"] }), r = {
|
|
46
47
|
8: '<path d="m1 2.5 3 3 3-3" stroke="currentColor" class="icon-dark" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>',
|
|
47
48
|
16: '<path d="m4 6 4 4 4-4" stroke="currentColor" class="icon-dark" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>'
|
|
48
49
|
}[e];
|
|
49
50
|
if (!r)
|
|
50
51
|
throw Error(`Icon "chevron-down-small" is not available in size ${e}`);
|
|
51
|
-
return
|
|
52
|
+
return i("svg", h({
|
|
52
53
|
...s,
|
|
53
54
|
size: e,
|
|
54
55
|
body: r,
|
|
55
56
|
compiledClasses: o
|
|
56
57
|
}));
|
|
57
|
-
},
|
|
58
|
-
const { sizeWithDefault: e, compiledClasses: o } =
|
|
58
|
+
}, R = (s) => {
|
|
59
|
+
const { sizeWithDefault: e, compiledClasses: o } = y.getComponentAttributes({ ...s, availableSizes: ["16"] }), r = {
|
|
59
60
|
16: '<path fill-rule="evenodd" clip-rule="evenodd" d="M2 8a6 6 0 1 1 12 0A6 6 0 0 1 2 8Zm6-8a8 8 0 1 0 0 16A8 8 0 0 0 8 0Zm1 5a1 1 0 0 0-2 0v3a1 1 0 0 0 2 0V5Zm-1 7a1 1 0 1 0 0-2 1 1 0 0 0 0 2Z" fill="currentColor" class="icon-dark"/>'
|
|
60
61
|
}[e];
|
|
61
62
|
if (!r)
|
|
62
63
|
throw Error(`Icon "warning-circle" is not available in size ${e}`);
|
|
63
|
-
return
|
|
64
|
+
return i("svg", h({
|
|
64
65
|
...s,
|
|
65
66
|
size: e,
|
|
66
67
|
body: r,
|
|
67
68
|
compiledClasses: o
|
|
68
69
|
}));
|
|
69
|
-
},
|
|
70
|
+
}, _ = {
|
|
70
71
|
neutral: {
|
|
71
72
|
headerClass: "text-gray-800 bg-gray-100",
|
|
72
73
|
bodyClass: "bg-gray-50 text-gray-500",
|
|
@@ -112,13 +113,7 @@ const k = ({
|
|
|
112
113
|
iconColor: "jade-500",
|
|
113
114
|
iconChevronColor: "jade-300"
|
|
114
115
|
}
|
|
115
|
-
}
|
|
116
|
-
const V = (s, e) => {
|
|
117
|
-
const o = s.__vccOpts || s;
|
|
118
|
-
for (const [r, c] of e)
|
|
119
|
-
o[r] = c;
|
|
120
|
-
return o;
|
|
121
|
-
}, Z = { class: "flex-1 font-medium" }, W = { class: "mt-16px" }, L = /* @__PURE__ */ j({
|
|
116
|
+
}, L = { class: "flex-1 font-medium" }, G = { class: "mt-16px" }, K = /* @__PURE__ */ I({
|
|
122
117
|
__name: "Alert",
|
|
123
118
|
props: {
|
|
124
119
|
type: { default: "info" },
|
|
@@ -130,86 +125,95 @@ const V = (s, e) => {
|
|
|
130
125
|
},
|
|
131
126
|
emits: ["dismiss"],
|
|
132
127
|
setup(s, { emit: e }) {
|
|
133
|
-
const o = s, r =
|
|
128
|
+
const o = s, r = x(!1), k = S(), n = x(null), c = x(null), l = z(() => _[o.type]);
|
|
134
129
|
let a;
|
|
135
|
-
|
|
136
|
-
o.duration && (a = setTimeout(
|
|
137
|
-
}),
|
|
130
|
+
j(() => {
|
|
131
|
+
o.duration && (a = setTimeout(d, o.duration));
|
|
132
|
+
}), j(() => {
|
|
133
|
+
n.value && c.value && new P(n.value, c.value);
|
|
134
|
+
}), $(() => {
|
|
138
135
|
a && clearTimeout(a);
|
|
139
136
|
});
|
|
140
|
-
function
|
|
137
|
+
function d() {
|
|
141
138
|
r.value = !0, e("dismiss"), a && (clearTimeout(a), a = void 0);
|
|
142
139
|
}
|
|
143
|
-
const
|
|
144
|
-
strokeColor:
|
|
140
|
+
const u = z(() => ({
|
|
141
|
+
strokeColor: _[o.type].iconColor,
|
|
145
142
|
class: "my-4px mr-8px"
|
|
146
|
-
})),
|
|
143
|
+
})), w = z(() => {
|
|
147
144
|
switch (o.type) {
|
|
148
145
|
case "info":
|
|
149
146
|
return null;
|
|
150
147
|
case "success":
|
|
151
|
-
return () =>
|
|
148
|
+
return () => i(Z, u.value);
|
|
152
149
|
case "warning":
|
|
153
|
-
return () =>
|
|
150
|
+
return () => i(R, u.value);
|
|
154
151
|
case "error":
|
|
155
|
-
return () =>
|
|
152
|
+
return () => i(R, u.value);
|
|
156
153
|
default:
|
|
157
154
|
return null;
|
|
158
155
|
}
|
|
159
156
|
});
|
|
160
|
-
return (
|
|
157
|
+
return (b, U) => r.value ? g("", !0) : (C(), f("div", {
|
|
161
158
|
key: 0,
|
|
162
|
-
class:
|
|
159
|
+
class: m(["overflow-hidden text-left", o.notRounded ? void 0 : "rounded"])
|
|
163
160
|
}, [
|
|
164
|
-
|
|
165
|
-
class:
|
|
161
|
+
p("div", {
|
|
162
|
+
class: m(["flex p-16px", t(l).headerClass])
|
|
166
163
|
}, [
|
|
167
|
-
|
|
168
|
-
!o.noIcon && t(
|
|
169
|
-
], !0),
|
|
170
|
-
v("div", Z, [
|
|
171
|
-
y(g.$slots, "default", {}, void 0, !0)
|
|
164
|
+
v(b.$slots, "icon", A(E(t(u))), () => [
|
|
165
|
+
!o.noIcon && t(w) ? (C(), H(M(t(w)), A(N({ key: 0 }, t(u))), null, 16)) : g("", !0)
|
|
172
166
|
]),
|
|
173
|
-
|
|
167
|
+
p("div", L, [
|
|
168
|
+
v(b.$slots, "default")
|
|
169
|
+
]),
|
|
170
|
+
s.dismissible ? (C(), f("button", {
|
|
174
171
|
key: 0,
|
|
175
172
|
class: "m-4px ml-8px h-16px",
|
|
176
|
-
onClick:
|
|
173
|
+
onClick: d,
|
|
177
174
|
"aria-label": "Dismiss"
|
|
178
175
|
}, [
|
|
179
|
-
|
|
176
|
+
D(t(V), {
|
|
180
177
|
"stroke-color": t(l).iconCloseColor
|
|
181
178
|
}, null, 8, ["stroke-color"])
|
|
182
|
-
])) :
|
|
179
|
+
])) : g("", !0)
|
|
183
180
|
], 2),
|
|
184
|
-
t(
|
|
181
|
+
t(k).body ? (C(), f("div", {
|
|
185
182
|
key: 0,
|
|
186
|
-
class:
|
|
183
|
+
class: m(["p-16px", t(l).bodyClass])
|
|
187
184
|
}, [
|
|
188
|
-
|
|
189
|
-
], 2)) :
|
|
190
|
-
t(
|
|
185
|
+
v(b.$slots, "body")
|
|
186
|
+
], 2)) : g("", !0),
|
|
187
|
+
t(k).details ? (C(), f("details", {
|
|
191
188
|
key: 1,
|
|
192
|
-
class:
|
|
189
|
+
class: m(["p-16px border-t-1", [t(l).bodyClass, t(l).borderClass]]),
|
|
190
|
+
ref_key: "detailsRef",
|
|
191
|
+
ref: n
|
|
193
192
|
}, [
|
|
194
|
-
|
|
195
|
-
class:
|
|
193
|
+
p("summary", {
|
|
194
|
+
class: m(["flex font-medium cursor-pointer details-none", t(l).detailsHeaderClass])
|
|
196
195
|
}, [
|
|
197
|
-
|
|
196
|
+
D(t(W), {
|
|
198
197
|
strokeColor: t(l).iconChevronColor,
|
|
199
|
-
class: "icon my-4px mr-8px"
|
|
198
|
+
class: "icon my-4px mr-8px transition transform -rotate-90 open:rotate-0"
|
|
200
199
|
}, null, 8, ["strokeColor"]),
|
|
201
|
-
|
|
200
|
+
T(" " + B(o.detailsTitle), 1)
|
|
202
201
|
], 2),
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
202
|
+
p("div", {
|
|
203
|
+
ref_key: "contentRef",
|
|
204
|
+
ref: c
|
|
205
|
+
}, [
|
|
206
|
+
p("div", G, [
|
|
207
|
+
v(b.$slots, "details")
|
|
208
|
+
])
|
|
209
|
+
], 512)
|
|
210
|
+
], 2)) : g("", !0)
|
|
207
211
|
], 2));
|
|
208
212
|
}
|
|
209
|
-
})
|
|
213
|
+
});
|
|
210
214
|
export {
|
|
211
|
-
|
|
215
|
+
K as default
|
|
212
216
|
};
|
|
213
217
|
|
|
214
|
-
/* <windicss-keep class="overflow-hidden text-left rounded flex p-16px flex-1 font-medium m-4px ml-8px h-16px border-t-1 cursor-pointer my-4px mr-8px mt-16px
|
|
218
|
+
/* <windicss-keep class="overflow-hidden text-left rounded flex p-16px flex-1 font-medium m-4px ml-8px h-16px border-t-1 cursor-pointer details-none my-4px mr-8px transition transform -rotate-90 open:rotate-0 mt-16px text-gray-800 bg-gray-100 bg-gray-50 text-gray-500 border-gray-100 text-gray-600 text-indigo-700 bg-indigo-100 bg-indigo-50 text-indigo-500 border-indigo-100 text-indigo-600 text-orange-700 bg-orange-100 bg-orange-50 text-orange-500 border-orange-100 text-orange-600 text-red-700 bg-red-100 bg-red-50 text-red-500 border-red-100 text-red-600 text-jade-700 bg-jade-100 bg-jade-50 text-jade-600 border-jade-100 icon-dark-gray-600 icon-dark-gray-500 icon-dark-gray-300 icon-dark-indigo-500 icon-dark-indigo-300 icon-dark-orange-500 icon-dark-orange-400 icon-dark-orange-300 icon-dark-red-500 icon-dark-red-400 icon-dark-red-300 icon-dark-jade-600 icon-dark-jade-500 icon-dark-jade-300"> */
|
|
215
219
|
//# sourceMappingURL=index.es.mjs.map
|