@cypress-design/vue-accordion 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/CHANGELOG.md +6 -0
- package/dist/index.es.mjs +7 -7
- package/dist/index.es.mjs.map +1 -1
- package/dist/index.umd.js +2 -2
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# @cypress-design/vue-accordion
|
|
2
2
|
|
|
3
|
+
## 0.1.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`68718d5`](https://github.com/cypress-io/cypress-design/commit/68718d5b75ac8affec83d3af3c849c8288282aa3) Thanks [@elevatebart](https://github.com/elevatebart)! - add flex-nowrap to accomodate safari 14 (on percy)
|
|
8
|
+
|
|
3
9
|
## 0.1.1
|
|
4
10
|
|
|
5
11
|
### Patch Changes
|
package/dist/index.es.mjs
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { h as g, defineComponent as b, useSlots as
|
|
1
|
+
import { h as g, defineComponent as b, useSlots as w, ref as x, onMounted as N, openBlock as p, createElementBlock as y, createElementVNode as m, normalizeClass as r, unref as o, renderSlot as C, createVNode as h, createCommentVNode as k, toDisplayString as v } from "vue";
|
|
2
2
|
import { DetailsAnimation as D } from "@cypress-design/details-animation";
|
|
3
3
|
import * as z from "@cypress-design/icon-registry";
|
|
4
4
|
import { ICON_COLOR_PROP_NAMES as E } from "@cypress-design/icon-registry";
|
|
5
5
|
const t = {
|
|
6
6
|
details: "",
|
|
7
|
-
summary: "details-none min-h-65px py-12px card open:rounded-b-none px-24px flex flex-row items-center",
|
|
7
|
+
summary: "details-none min-h-65px py-12px card open:rounded-b-none px-24px flex flex-row flex-nowrap items-center",
|
|
8
8
|
summaryColor: "bg-white",
|
|
9
9
|
summaryTitle: "text-18px leading-28px font-medium",
|
|
10
10
|
summaryTitleColor: "text-indigo-500",
|
|
@@ -58,8 +58,8 @@ const t = {
|
|
|
58
58
|
fullWidthContent: { type: Boolean }
|
|
59
59
|
},
|
|
60
60
|
setup(e) {
|
|
61
|
-
const n = e, s =
|
|
62
|
-
|
|
61
|
+
const n = e, s = w(), l = x(null), d = x(null);
|
|
62
|
+
N(function() {
|
|
63
63
|
d.value && l.value && new D(d.value, l.value);
|
|
64
64
|
});
|
|
65
65
|
const u = n.icon;
|
|
@@ -76,7 +76,7 @@ const t = {
|
|
|
76
76
|
class: r(o(t).icon)
|
|
77
77
|
}, [
|
|
78
78
|
C(i.$slots, "iconEl", {}, () => [
|
|
79
|
-
|
|
79
|
+
h(o(u))
|
|
80
80
|
])
|
|
81
81
|
], 2),
|
|
82
82
|
(n.icon || o(s).iconEl) && e.separator ? (p(), y("hr", {
|
|
@@ -98,7 +98,7 @@ const t = {
|
|
|
98
98
|
])
|
|
99
99
|
}, v(e.description), 3)) : k("", !0)
|
|
100
100
|
]),
|
|
101
|
-
|
|
101
|
+
h(o($), {
|
|
102
102
|
strokeColor: "gray-300",
|
|
103
103
|
class: r(["open:icon-dark-gray-500", o(t).chevron])
|
|
104
104
|
}, null, 8, ["class"])
|
|
@@ -123,5 +123,5 @@ export {
|
|
|
123
123
|
j as default
|
|
124
124
|
};
|
|
125
125
|
|
|
126
|
-
/* <windicss-keep class="flex-grow pr-16px open:icon-dark-gray-500 icon-dark-gray-300 details-none min-h-65px py-12px card open:rounded-b-none px-24px flex flex-row items-center bg-white text-18px leading-28px font-medium text-indigo-500 text-14px leading-20px font-normal text-gray-700 mr-24px flex-shrink-0 w-1px h-40px bg-gray-100 mr-16px transition transform rotate-0 open:rotate-180 border border-gray-100 rounded-b-md border-t-0 py-16px"> */
|
|
126
|
+
/* <windicss-keep class="flex-grow pr-16px open:icon-dark-gray-500 icon-dark-gray-300 details-none min-h-65px py-12px card open:rounded-b-none px-24px flex flex-row flex-nowrap items-center bg-white text-18px leading-28px font-medium text-indigo-500 text-14px leading-20px font-normal text-gray-700 mr-24px flex-shrink-0 w-1px h-40px bg-gray-100 mr-16px transition transform rotate-0 open:rotate-180 border border-gray-100 rounded-b-md border-t-0 py-16px"> */
|
|
127
127
|
//# sourceMappingURL=index.es.mjs.map
|