@cooperco/cooper-component-library 0.1.18 → 0.1.20
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/dist/lib/component-lib.js +9 -8
- package/dist/lib/component-lib.umd.cjs +3 -3
- package/dist/lib/css/main.css +10 -0
- package/dist/lib/style.css +1 -1
- package/dist/types/components/Accordion/Accordion.d.ts +1 -0
- package/dist/types/components/Accordion/Accordion.vue.d.ts +1 -2
- package/package.json +1 -1
|
@@ -2309,7 +2309,7 @@ const W = (t) => {
|
|
|
2309
2309
|
), In = {
|
|
2310
2310
|
Centered: P(J, {
|
|
2311
2311
|
root: "overflow-hidden",
|
|
2312
|
-
inner: "h-full mx-auto max-w-[
|
|
2312
|
+
inner: "h-full mx-auto max-w-[1440px]",
|
|
2313
2313
|
fullWidthContent: "max-w-full w-full"
|
|
2314
2314
|
}),
|
|
2315
2315
|
Hero: P(J, {
|
|
@@ -5145,20 +5145,21 @@ const hi = ["innerHTML"], vi = /* @__PURE__ */ F({
|
|
|
5145
5145
|
modules: {},
|
|
5146
5146
|
headline: {},
|
|
5147
5147
|
isChild: { type: Boolean },
|
|
5148
|
-
iconDefault: {
|
|
5149
|
-
iconActive: {
|
|
5148
|
+
iconDefault: {},
|
|
5149
|
+
iconActive: {},
|
|
5150
5150
|
type: {},
|
|
5151
5151
|
backgroundColor: {},
|
|
5152
5152
|
pt: {},
|
|
5153
5153
|
imageIcon: {},
|
|
5154
5154
|
isProvider: { type: Boolean, default: !0 },
|
|
5155
5155
|
loadMoreButtonTitle: {},
|
|
5156
|
+
startOpen: { type: Boolean, default: !1 },
|
|
5156
5157
|
class: {}
|
|
5157
5158
|
},
|
|
5158
5159
|
setup(t) {
|
|
5159
|
-
const e = t, n = T(() => e.type === "List" ? "pi-chevron-down" : "pi-plus-circle"), r = T(() => e.type === "List" ? "pi-chevron-up" : "pi-times-circle"), o = T(
|
|
5160
|
+
const e = t, n = T(() => e.iconDefault ?? e.type === "List" ? "pi-chevron-down" : "pi-plus-circle"), r = T(() => e.iconActive ?? e.type === "List" ? "pi-chevron-up" : "pi-times-circle"), o = T(
|
|
5160
5161
|
() => P(Cn[e.type], e.pt ?? {})
|
|
5161
|
-
), { backgroundColor: i, palette: s } = ne(e), l = te(null), a = (d) => {
|
|
5162
|
+
), { backgroundColor: i, palette: s } = ne(e), l = te(e.startOpen ? 0 : null), a = (d) => {
|
|
5162
5163
|
l.value = l.value === d ? null : d;
|
|
5163
5164
|
}, u = te(
|
|
5164
5165
|
e.modules.length - 1 <= 4 ? e.modules.length - 1 : 4
|
|
@@ -5390,7 +5391,7 @@ const hi = ["innerHTML"], vi = /* @__PURE__ */ F({
|
|
|
5390
5391
|
setup(t) {
|
|
5391
5392
|
const e = t, n = T(
|
|
5392
5393
|
() => P(kn, e.pt ?? {})
|
|
5393
|
-
), { palette: r } = ne(e), o = te(
|
|
5394
|
+
), { palette: r } = ne(e), o = te(e.openAccordionIndex === e.itemNumber);
|
|
5394
5395
|
return (i, s) => {
|
|
5395
5396
|
var l, a, u, c, d, m;
|
|
5396
5397
|
return p(), h("div", {
|
|
@@ -7444,12 +7445,12 @@ const ml = ["src", "height", "width"], gl = ["src", "height", "width"], lt = /*
|
|
|
7444
7445
|
var i, s;
|
|
7445
7446
|
return y(e) ? y(e) ? (p(), h("iframe", {
|
|
7446
7447
|
key: 1,
|
|
7447
|
-
class: g(
|
|
7448
|
+
class: g(`${r.$props.class} w-full`),
|
|
7448
7449
|
src: r.url,
|
|
7449
7450
|
height: (i = r.thumbnail.media) != null && i.height ? r.thumbnail.media.height : "100%",
|
|
7450
7451
|
width: (s = r.thumbnail.media) != null && s.width ? r.thumbnail.media.width : "100%",
|
|
7451
7452
|
allow: "autoplay"
|
|
7452
|
-
}, null,
|
|
7453
|
+
}, null, 10, gl)) : $("", !0) : (p(), h("div", {
|
|
7453
7454
|
key: 0,
|
|
7454
7455
|
class: g(`${r.$props.class} relative`),
|
|
7455
7456
|
onClick: n
|