@cntrl-site/components 1.0.109 → 1.0.111-alpha.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.
@@ -1,9 +1,10 @@
1
- import { ControlSlider as e } from "./ControlSlider-DqKfaKMG.mjs";
2
- import { ImageRevealSlider as t } from "./ImageRevealSlider-DifEXySR.mjs";
3
- import { LightboxGallery as i } from "./Lightbox-BY99NS14.mjs";
4
- import { C as o, F as r, O as p, M as n, a as l, T as s, b as a, G as c, H as y, L as g, c as m, d, e as u, S as b, W as h, f, g as v, h as C, i as x, B as S, P as k, j as I } from "./ChroniclesComponent-CwSeQzn1.mjs";
5
- const j = {
6
- element: e,
1
+ import { ControlSlider as a } from "./ControlSlider-DqKfaKMG.mjs";
2
+ import { ImageRevealSlider as s } from "./ImageRevealSlider-DifEXySR.mjs";
3
+ import { LightboxGallery as c } from "./Lightbox-BY99NS14.mjs";
4
+ import { C as y, F as g, O as m, M as u, a as d, T as b, b as h, G as f, H as v, L as C, c as S, d as x, e as I, S as k, W as j, f as F, g as A, h as T, i as B, B as w, P as E, j as P } from "./ChroniclesComponent-cZLqN307.mjs";
5
+ import { P as M, l as z } from "./PopupMenu-BVc8Y4Tt.mjs";
6
+ const H = {
7
+ element: a,
7
8
  id: "control-slider",
8
9
  name: "Slider",
9
10
  preview: {
@@ -615,8 +616,8 @@ const j = {
615
616
  },
616
617
  required: ["settings", "content", "styles"]
617
618
  }
618
- }, E = {
619
- element: t,
619
+ }, L = {
620
+ element: s,
620
621
  id: "control-image-reveal",
621
622
  name: "Click Gallery",
622
623
  preview: {
@@ -939,8 +940,8 @@ const j = {
939
940
  }
940
941
  }
941
942
  }
942
- }, A = {
943
- element: i,
943
+ }, R = {
944
+ element: c,
944
945
  id: "lightbox",
945
946
  name: "Lightbox",
946
947
  preview: {
@@ -2019,36 +2020,611 @@ const j = {
2019
2020
  },
2020
2021
  required: ["settings", "content", "styles"]
2021
2022
  }
2022
- }, F = [
2023
- j,
2024
- E,
2025
- o,
2026
- A,
2027
- r,
2028
- p,
2029
- n,
2030
- l,
2031
- s,
2032
- a,
2033
- c,
2023
+ };
2024
+ function i(e) {
2025
+ return {
2026
+ [`${e}FontFamily`]: {
2027
+ type: "string",
2028
+ scope: "common",
2029
+ title: "",
2030
+ display: { type: "font-family-select", hideLabel: !0, useTabDesign: !0 }
2031
+ },
2032
+ [`${e}FontSettings`]: {
2033
+ type: "object",
2034
+ scope: "common",
2035
+ title: "",
2036
+ display: { type: "font-settings-weight", hideLabel: !0, useTabDesign: !0 },
2037
+ properties: {
2038
+ fontWeight: { type: "number" },
2039
+ fontStyle: { type: "string" }
2040
+ }
2041
+ },
2042
+ [`${e}FontSize`]: {
2043
+ type: "number",
2044
+ scope: "layout",
2045
+ title: "",
2046
+ display: { type: "font-size" }
2047
+ },
2048
+ [`${e}LineHeight`]: {
2049
+ type: "number",
2050
+ scope: "layout",
2051
+ title: "",
2052
+ display: { type: "line-height-input" }
2053
+ },
2054
+ [`${e}LetterSpacing`]: {
2055
+ type: "number",
2056
+ scope: "layout",
2057
+ title: "",
2058
+ display: { type: "letter-spacing-input" }
2059
+ },
2060
+ [`${e}WordSpacing`]: {
2061
+ type: "number",
2062
+ scope: "layout",
2063
+ title: "",
2064
+ display: { type: "word-spacing-input" }
2065
+ },
2066
+ [`${e}TextAppearance`]: {
2067
+ type: "object",
2068
+ scope: "layout",
2069
+ title: "",
2070
+ display: { type: "text-appearance", useTabDesign: !0 },
2071
+ properties: {
2072
+ textTransform: { type: "string", enum: ["none", "uppercase", "lowercase", "capitalize"] },
2073
+ textDecoration: { type: "string", enum: ["none", "underline"] },
2074
+ fontVariant: { type: "string", enum: ["normal", "small-caps"] }
2075
+ }
2076
+ }
2077
+ };
2078
+ }
2079
+ function G(e) {
2080
+ return [
2081
+ `${e}FontFamily`,
2082
+ `${e}FontSettings`,
2083
+ { type: "row", items: [`${e}FontSize`, `${e}LineHeight`, `${e}LetterSpacing`, `${e}WordSpacing`] },
2084
+ `${e}TextAppearance`
2085
+ ];
2086
+ }
2087
+ const n = {
2088
+ trigger: "Trigger",
2089
+ title: "Title",
2090
+ text: "Text",
2091
+ listA: "List A",
2092
+ listB: "List B"
2093
+ }, W = {
2094
+ type: "tab",
2095
+ id: "popupMenuTextStyle",
2096
+ tabs: Object.fromEntries(
2097
+ Object.keys(n).map((e) => [n[e], G(e)])
2098
+ )
2099
+ };
2100
+ function o(e, t, l) {
2101
+ return {
2102
+ [`${e}FontSize`]: t,
2103
+ [`${e}LineHeight`]: l,
2104
+ [`${e}LetterSpacing`]: 0,
2105
+ [`${e}WordSpacing`]: 0,
2106
+ [`${e}TextAppearance`]: { textTransform: "none", textDecoration: "none", fontVariant: "normal" }
2107
+ };
2108
+ }
2109
+ function p(e, t) {
2110
+ return {
2111
+ ...o("trigger", t.trigger[0] / e, t.trigger[1] / e),
2112
+ ...o("title", t.title[0] / e, t.title[1] / e),
2113
+ ...o("text", t.text[0] / e, t.text[1] / e),
2114
+ ...o("listA", t.listA[0] / e, t.listA[1] / e),
2115
+ ...o("listB", t.listB[0] / e, t.listB[1] / e)
2116
+ };
2117
+ }
2118
+ const r = {
2119
+ fontWeight: 400,
2120
+ fontStyle: "normal"
2121
+ }, O = [
2122
+ "barBackgroundColor",
2123
+ "triggerColor",
2124
+ "overlayColor",
2125
+ "popupBackgroundColor",
2126
+ "titleColor",
2127
+ "textColor",
2128
+ "listAColor",
2129
+ "listBColor"
2130
+ ], D = [
2131
+ ...["burger", "plus", "image"].flatMap((e) => [
2132
+ { if: { name: "triggerType", value: e }, then: { name: "properties.triggerLabel.display.visible", value: !1 } },
2133
+ { if: { name: "triggerType", value: e }, then: { name: "properties.triggerIconSize.display.visible", value: !0 } }
2134
+ ]),
2135
+ { if: { name: "triggerType", value: "image" }, then: { name: "properties.triggerIcon.display.visible", value: !0 } }
2136
+ ], Q = {
2137
+ type: "object",
2138
+ version: 1,
2139
+ content: {
2140
+ type: "array",
2141
+ settings: {
2142
+ addItemWithoutImage: !0
2143
+ },
2144
+ display: {
2145
+ type: "array"
2146
+ },
2147
+ items: {
2148
+ type: "object",
2149
+ properties: {
2150
+ type: {
2151
+ type: "string",
2152
+ label: "Type",
2153
+ enum: ["text", "image", "listA", "listB"],
2154
+ default: "text",
2155
+ display: { type: "select-input" }
2156
+ },
2157
+ title: {
2158
+ type: "string",
2159
+ label: "Title",
2160
+ placeholder: "Add Title...",
2161
+ display: { type: "text-input" }
2162
+ },
2163
+ text: {
2164
+ label: "Text",
2165
+ placeholder: "Add text...",
2166
+ display: { type: "rich-text" },
2167
+ // a list is still a paragraph per item, which the editor shows as an input per item
2168
+ byRowType: Object.fromEntries(["listA", "listB", "list"].map((e) => [e, {
2169
+ placeholder: "Add item...",
2170
+ display: { type: "rich-text-list" }
2171
+ }]))
2172
+ },
2173
+ images: {
2174
+ type: "object",
2175
+ label: "Images",
2176
+ display: { type: "media-list-input" },
2177
+ properties: {
2178
+ assetId: { type: "string" },
2179
+ name: { type: "string" },
2180
+ objectFit: { type: "string", enum: ["cover", "contain"] }
2181
+ },
2182
+ required: ["assetId", "name"]
2183
+ }
2184
+ }
2185
+ },
2186
+ default: [
2187
+ {
2188
+ type: "text",
2189
+ title: "About",
2190
+ text: [{ type: "paragraph", children: [{ text: "An independent studio for identity, type and the web. We work with people who care about the details." }] }],
2191
+ images: []
2192
+ },
2193
+ {
2194
+ type: "image",
2195
+ title: "",
2196
+ text: [],
2197
+ images: [{ assetId: "01M3QM74XEVZ9F59FC7M9BA63Q", name: "", objectFit: "cover" }]
2198
+ },
2199
+ {
2200
+ type: "listA",
2201
+ title: "Selected Work",
2202
+ text: ["Archive", "Identity", "Type", "Web"].map((e) => ({ type: "paragraph", children: [{ text: e }] })),
2203
+ images: []
2204
+ },
2205
+ {
2206
+ type: "listB",
2207
+ title: "Contact",
2208
+ text: ["hello@studio.com", "Instagram"].map((e) => ({ type: "paragraph", children: [{ text: e }] })),
2209
+ images: []
2210
+ }
2211
+ ]
2212
+ },
2213
+ settings: {
2214
+ sizing: "auto manual",
2215
+ properties: {
2216
+ menuLayout: {
2217
+ type: "object",
2218
+ scope: "layout",
2219
+ title: "Layout",
2220
+ display: { type: "popup-menu-layout" }
2221
+ },
2222
+ // the popup's own grid, which its blocks are placed, moved and resized on, centred inside its padding
2223
+ gridColumns: {
2224
+ type: "number",
2225
+ scope: "layout",
2226
+ title: "Columns",
2227
+ min: 1,
2228
+ max: 24,
2229
+ display: { type: "common-numeric-input" }
2230
+ },
2231
+ gridColumnWidth: {
2232
+ type: "number",
2233
+ scope: "layout",
2234
+ title: "Col Width",
2235
+ min: 1,
2236
+ max: 1e3,
2237
+ display: { type: "numeric-input" }
2238
+ },
2239
+ gridGutter: {
2240
+ type: "number",
2241
+ scope: "layout",
2242
+ title: "Gutter",
2243
+ min: 0,
2244
+ max: 300,
2245
+ display: { type: "numeric-input" }
2246
+ },
2247
+ gridRowHeight: {
2248
+ type: "number",
2249
+ scope: "layout",
2250
+ title: "Row",
2251
+ min: 1,
2252
+ max: 300,
2253
+ display: { type: "numeric-input" }
2254
+ },
2255
+ // what opens the popup: an icon that turns into a cross while it is open, the user's own image, or text
2256
+ triggerType: {
2257
+ type: "string",
2258
+ scope: "common",
2259
+ title: "Trigger",
2260
+ enum: [...M],
2261
+ display: { type: "radio-group" }
2262
+ },
2263
+ // the text shown by a text trigger, and every trigger's accessible name
2264
+ triggerLabel: {
2265
+ type: "string",
2266
+ scope: "common",
2267
+ title: "Text",
2268
+ display: { type: "label-input" }
2269
+ },
2270
+ triggerIcon: {
2271
+ type: ["string", "null"],
2272
+ scope: "common",
2273
+ title: "Image",
2274
+ display: { type: "settings-image-input", visible: !1 }
2275
+ },
2276
+ triggerIconSize: {
2277
+ type: "number",
2278
+ scope: "layout",
2279
+ title: "Icon Size",
2280
+ min: 1,
2281
+ max: 1e3,
2282
+ display: { type: "numeric-input", visible: !1 }
2283
+ },
2284
+ triggerPosition: {
2285
+ type: "string",
2286
+ scope: "layout",
2287
+ title: "Position",
2288
+ enum: ["left", "center", "right"],
2289
+ display: { type: "toggle-cycle", enum: ["left", "center", "right"] }
2290
+ },
2291
+ // there is no bar: the menu is its trigger, as big as its icon or text and this padding round it
2292
+ triggerPadding: {
2293
+ type: "object",
2294
+ scope: "layout",
2295
+ title: "Padding",
2296
+ display: { type: "padding-controls" },
2297
+ properties: {
2298
+ top: { type: "number" },
2299
+ right: { type: "number" },
2300
+ bottom: { type: "number" },
2301
+ left: { type: "number" }
2302
+ }
2303
+ },
2304
+ popupHeight: {
2305
+ type: "number",
2306
+ scope: "layout",
2307
+ title: "Popup Height",
2308
+ min: 0,
2309
+ max: 5e3,
2310
+ display: { type: "numeric-input" }
2311
+ },
2312
+ // a side each; a menu saved before it had four has one number, which is every side's
2313
+ popupInset: {
2314
+ type: "object",
2315
+ scope: "layout",
2316
+ title: "Margin",
2317
+ display: { type: "padding-controls" },
2318
+ properties: {
2319
+ top: { type: "number" },
2320
+ right: { type: "number" },
2321
+ bottom: { type: "number" },
2322
+ left: { type: "number" }
2323
+ }
2324
+ },
2325
+ // a side each; a menu saved before it had four has one number, which is every side's
2326
+ popupPadding: {
2327
+ type: "object",
2328
+ scope: "layout",
2329
+ title: "Padding",
2330
+ display: { type: "padding-controls" },
2331
+ properties: {
2332
+ top: { type: "number" },
2333
+ right: { type: "number" },
2334
+ bottom: { type: "number" },
2335
+ left: { type: "number" }
2336
+ }
2337
+ },
2338
+ titleGap: {
2339
+ type: "number",
2340
+ scope: "layout",
2341
+ title: "Title gap",
2342
+ min: 0,
2343
+ max: 1e3,
2344
+ display: { type: "numeric-input" }
2345
+ },
2346
+ popupRadius: {
2347
+ type: "number",
2348
+ scope: "layout",
2349
+ title: "Popup Radius",
2350
+ min: 0,
2351
+ max: 1e3,
2352
+ display: { type: "numeric-input" }
2353
+ },
2354
+ imageRadius: {
2355
+ type: "number",
2356
+ scope: "layout",
2357
+ title: "Image Radius",
2358
+ min: 0,
2359
+ max: 1e3,
2360
+ display: { type: "numeric-input" }
2361
+ },
2362
+ // colours picked in the open state's panel, which the palette keeps apart from the default state's
2363
+ stateOverrides: {
2364
+ type: "object",
2365
+ scope: "common"
2366
+ },
2367
+ barBackgroundColor: {
2368
+ type: "string",
2369
+ scope: "common",
2370
+ title: "Trigger BG",
2371
+ display: { type: "palette-color-picker" }
2372
+ },
2373
+ triggerColor: {
2374
+ type: "string",
2375
+ scope: "common",
2376
+ title: "Trigger",
2377
+ display: { type: "palette-color-picker" }
2378
+ },
2379
+ overlayColor: {
2380
+ type: "string",
2381
+ scope: "common",
2382
+ title: "Overlay",
2383
+ display: { type: "palette-color-picker" }
2384
+ },
2385
+ popupBackgroundColor: {
2386
+ type: "string",
2387
+ scope: "common",
2388
+ title: "Popup BG",
2389
+ display: { type: "palette-color-picker" }
2390
+ },
2391
+ titleColor: {
2392
+ type: "string",
2393
+ scope: "common",
2394
+ title: "Title",
2395
+ display: { type: "palette-color-picker" }
2396
+ },
2397
+ textColor: {
2398
+ type: "string",
2399
+ scope: "common",
2400
+ title: "Text",
2401
+ display: { type: "palette-color-picker" }
2402
+ },
2403
+ listAColor: {
2404
+ type: "string",
2405
+ scope: "common",
2406
+ title: "List A",
2407
+ display: { type: "palette-color-picker" }
2408
+ },
2409
+ listBColor: {
2410
+ type: "string",
2411
+ scope: "common",
2412
+ title: "List B",
2413
+ display: { type: "palette-color-picker" }
2414
+ },
2415
+ ...i("trigger"),
2416
+ ...i("title"),
2417
+ ...i("text"),
2418
+ ...i("listA"),
2419
+ ...i("listB")
2420
+ },
2421
+ displayRules: D,
2422
+ defaults: {
2423
+ menuLayout: null,
2424
+ triggerType: "burger",
2425
+ triggerLabel: "Menu",
2426
+ triggerIcon: null,
2427
+ triggerPosition: "right",
2428
+ barBackgroundColor: "rgba(255, 255, 255, 0)",
2429
+ triggerColor: "#000000",
2430
+ overlayColor: "rgba(0, 0, 0, 0.35)",
2431
+ popupBackgroundColor: "#ffffff",
2432
+ titleColor: "#8c8c8c",
2433
+ textColor: "#000000",
2434
+ listAColor: "#000000",
2435
+ listBColor: "#000000",
2436
+ triggerFontFamily: "Inter",
2437
+ triggerFontSettings: r,
2438
+ titleFontFamily: "Inter",
2439
+ titleFontSettings: r,
2440
+ textFontFamily: "Inter",
2441
+ textFontSettings: r,
2442
+ listAFontFamily: "Inter",
2443
+ listAFontSettings: r,
2444
+ listBFontFamily: "Inter",
2445
+ listBFontSettings: r
2446
+ },
2447
+ layoutDefaults: {
2448
+ d: {
2449
+ triggerPadding: { top: 16 / 1440, right: 16 / 1440, bottom: 16 / 1440, left: 16 / 1440 },
2450
+ triggerIconSize: 24 / 1440,
2451
+ popupInset: { top: 16 / 1440, right: 16 / 1440, bottom: 16 / 1440, left: 16 / 1440 },
2452
+ popupPadding: { top: 40 / 1440, right: 40 / 1440, bottom: 40 / 1440, left: 40 / 1440 },
2453
+ popupHeight: 560 / 1440,
2454
+ titleGap: 8 / 1440,
2455
+ popupRadius: 16 / 1440,
2456
+ imageRadius: 12 / 1440,
2457
+ // 12 columns of 92 and gutters of 20 fill the 1328 the default margin and padding leave
2458
+ gridColumns: 12,
2459
+ gridColumnWidth: 92 / 1440,
2460
+ gridGutter: 20 / 1440,
2461
+ gridRowHeight: 8 / 1440,
2462
+ ...p(1440, { trigger: [14, 18], title: [14, 18], text: [14, 18], listA: [14, 18], listB: [14, 18] })
2463
+ },
2464
+ t: {
2465
+ triggerPadding: { top: 16 / 768, right: 16 / 768, bottom: 16 / 768, left: 16 / 768 },
2466
+ triggerIconSize: 24 / 768,
2467
+ popupInset: { top: 12 / 768, right: 12 / 768, bottom: 12 / 768, left: 12 / 768 },
2468
+ popupPadding: { top: 24 / 768, right: 24 / 768, bottom: 24 / 768, left: 24 / 768 },
2469
+ popupHeight: 560 / 768,
2470
+ titleGap: 6 / 768,
2471
+ popupRadius: 12 / 768,
2472
+ imageRadius: 10 / 768,
2473
+ // 12 columns of 47 and gutters of 12 fill the 696 left
2474
+ gridColumns: 12,
2475
+ gridColumnWidth: 47 / 768,
2476
+ gridGutter: 12 / 768,
2477
+ gridRowHeight: 8 / 768,
2478
+ ...p(768, { trigger: [14, 18], title: [14, 18], text: [14, 18], listA: [14, 18], listB: [14, 18] })
2479
+ },
2480
+ m: {
2481
+ triggerPadding: { top: 12 / 375, right: 12 / 375, bottom: 12 / 375, left: 12 / 375 },
2482
+ triggerIconSize: 24 / 375,
2483
+ popupInset: { top: 8 / 375, right: 8 / 375, bottom: 8 / 375, left: 8 / 375 },
2484
+ popupPadding: { top: 16 / 375, right: 16 / 375, bottom: 16 / 375, left: 16 / 375 },
2485
+ popupHeight: 480 / 375,
2486
+ titleGap: 6 / 375,
2487
+ popupRadius: 10 / 375,
2488
+ imageRadius: 8 / 375,
2489
+ // 6 columns of 47 and gutters of 8 fill the 327 left
2490
+ gridColumns: 6,
2491
+ gridColumnWidth: 47 / 375,
2492
+ gridGutter: 8 / 375,
2493
+ gridRowHeight: 8 / 375,
2494
+ ...p(375, { trigger: [13, 16], title: [13, 16], text: [13, 16], listA: [13, 16], listB: [13, 16] })
2495
+ }
2496
+ }
2497
+ },
2498
+ panels: [
2499
+ {
2500
+ id: "default",
2501
+ icon: "default",
2502
+ title: "Default",
2503
+ tooltip: "Default State",
2504
+ layout: [
2505
+ "__componentName__",
2506
+ "triggerType",
2507
+ "triggerLabel",
2508
+ { type: "row", items: ["triggerIcon", "triggerIconSize"] },
2509
+ "triggerPosition",
2510
+ "triggerPadding"
2511
+ ]
2512
+ },
2513
+ {
2514
+ id: "open",
2515
+ icon: "open",
2516
+ title: "Open",
2517
+ tooltip: "Open State",
2518
+ layout: [
2519
+ "__componentName__",
2520
+ { type: "row", items: ["popupHeight", "popupRadius"] },
2521
+ { type: "row", items: ["popupInset", "popupPadding"] },
2522
+ { type: "row", items: ["titleGap", "imageRadius"] },
2523
+ { type: "row", items: ["gridColumns", "gridColumnWidth"] },
2524
+ { type: "row", items: ["gridGutter", "gridRowHeight"] },
2525
+ "menuLayout"
2526
+ ]
2527
+ },
2528
+ {
2529
+ id: "typeStyle",
2530
+ icon: "text-icon",
2531
+ title: "Type Style",
2532
+ tooltip: "Typography",
2533
+ layout: [
2534
+ "__componentName__",
2535
+ W
2536
+ ]
2537
+ }
2538
+ ],
2539
+ paletteBookmark: {
2540
+ items: [...O],
2541
+ panelIds: ["default", "open", "typeStyle"],
2542
+ stateItems: {
2543
+ default: ["barBackgroundColor", "triggerColor"],
2544
+ open: ["overlayColor", "popupBackgroundColor", "titleColor", "textColor", "listAColor", "listBColor", "triggerColor"]
2545
+ }
2546
+ },
2547
+ statePanels: ["default", "open"]
2548
+ }, X = {
2549
+ element: z,
2550
+ id: "popup-menu",
2551
+ name: "Popup Menu",
2552
+ category: "navigation",
2553
+ version: 1,
2554
+ layoutMode: "navigation",
2555
+ defaultSize: {
2556
+ d: {
2557
+ width: "100%",
2558
+ height: 56 / 1440
2559
+ },
2560
+ t: {
2561
+ width: "100%",
2562
+ height: 56 / 768
2563
+ },
2564
+ m: {
2565
+ width: "100%",
2566
+ height: 48 / 375
2567
+ }
2568
+ },
2569
+ defaultNavigationPosition: {
2570
+ d: "stickyTop",
2571
+ t: "stickyTop",
2572
+ m: "stickyTop"
2573
+ },
2574
+ schema: Q,
2575
+ assetsPaths: {
2576
+ content: [{ path: "images.assetId", placeholderEnabled: !0 }],
2577
+ parameters: [{ path: "triggerIcon" }]
2578
+ },
2579
+ fontSettingsPaths: {
2580
+ content: [],
2581
+ parameters: [
2582
+ { path: "triggerFontFamily" },
2583
+ { path: "titleFontFamily" },
2584
+ { path: "textFontFamily" },
2585
+ { path: "listAFontFamily" },
2586
+ { path: "listBFontFamily" }
2587
+ ]
2588
+ },
2589
+ fontRelations: {
2590
+ triggerFontSettings: "triggerFontFamily",
2591
+ titleFontSettings: "titleFontFamily",
2592
+ textFontSettings: "textFontFamily",
2593
+ listAFontSettings: "listAFontFamily",
2594
+ listBFontSettings: "listBFontFamily"
2595
+ }
2596
+ }, _ = [
2597
+ H,
2598
+ L,
2034
2599
  y,
2600
+ R,
2035
2601
  g,
2036
2602
  m,
2037
- d,
2038
2603
  u,
2604
+ d,
2039
2605
  b,
2040
2606
  h,
2041
2607
  f,
2042
2608
  v,
2043
2609
  C,
2044
- x,
2045
2610
  S,
2611
+ x,
2612
+ I,
2046
2613
  k,
2047
- I
2614
+ j,
2615
+ F,
2616
+ A,
2617
+ T,
2618
+ B,
2619
+ w,
2620
+ E,
2621
+ P,
2622
+ X
2048
2623
  ];
2049
2624
  export {
2050
- j as C,
2051
- A as L,
2052
- E as a,
2053
- F as c
2625
+ H as C,
2626
+ R as L,
2627
+ X as P,
2628
+ L as a,
2629
+ _ as c
2054
2630
  };
package/dist/elements.js CHANGED
@@ -1 +1 @@
1
- "use strict";var h=Object.create;var a=Object.defineProperty;var u=Object.getOwnPropertyDescriptor;var c=Object.getOwnPropertyNames;var g=Object.getPrototypeOf,f=Object.prototype.hasOwnProperty;var d=(e,r,n,o)=>{if(r&&typeof r=="object"||typeof r=="function")for(let i of c(r))!f.call(e,i)&&i!==n&&a(e,i,{get:()=>r[i],enumerable:!(o=u(r,i))||o.enumerable});return e};var t=(e,r,n)=>(n=e!=null?h(g(e)):{},d(r||!e||!e.__esModule?a(n,"default",{value:e,enumerable:!0}):n,e));Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const m={"basic-burger":()=>import(/* webpackFetchPriority: "high" */ "./Burger-C3yVbQcq.js").then(e=>e.Burger),chronicles:()=>import(/* webpackFetchPriority: "high" */ "./Chronicles-DBqZzhwf.js").then(e=>e.Chronicles),"click-gallerie":()=>import(/* webpackFetchPriority: "high" */ "./ClickGallerie-DYbc-rDp.js").then(e=>e.ClickGallerie),"control-slider":()=>import(/* webpackFetchPriority: "high" */ "./ControlSlider-C8ckUIDm.js").then(e=>e.ControlSlider),faq:()=>import(/* webpackFetchPriority: "high" */ "./FAQ-Ct0YfqX1.js").then(e=>e.FAQ),form:()=>import(/* webpackFetchPriority: "high" */ "./Form-Dn-6A1He.js").then(e=>e.Form),grid:()=>import(/* webpackFetchPriority: "high" */ "./Grid-CU1dsdoO.js").then(e=>e.Grid),helix:()=>import(/* webpackFetchPriority: "high" */ "./Helix-BpLo9FD3.js").then(e=>e.Helix),hive:()=>import(/* webpackFetchPriority: "high" */ "./Hive-CzabuuCc.js").then(e=>e.Hive),"control-image-reveal":()=>import(/* webpackFetchPriority: "high" */ "./ImageRevealSlider-DlxudBUy.js").then(e=>e.ImageRevealSlider),lightbox:()=>import(/* webpackFetchPriority: "high" */ "./Lightbox-DZckgBzK.js").then(e=>e.LightboxGallery),"lightbox-journal":()=>import(/* webpackFetchPriority: "high" */ "./LightboxJournal-DAEZOPDi.js").then(e=>e.LightboxJournal),"lightbox-strip":()=>import(/* webpackFetchPriority: "high" */ "./LightboxStrip-BDjI1jyH.js").then(e=>e.LightboxStrip),list:()=>import(/* webpackFetchPriority: "high" */ "./List-DVvpQ24J.js").then(e=>e.List),marquee:()=>import(/* webpackFetchPriority: "high" */ "./Marquee-DDKigLBo.js").then(e=>e.Marquee),"marquee-text":()=>import(/* webpackFetchPriority: "high" */ "./MarqueeText-B5hqB0HA.js").then(e=>e.MarqueeText),mercury:()=>import(/* webpackFetchPriority: "high" */ "./Mercury-B-s2Kvuq.js").then(e=>e.Mercury),"oneliner-form":()=>import(/* webpackFetchPriority: "high" */ "./OnelinerForm-C2Y_XMCY.js").then(e=>e.OnelinerForm),pretext:()=>import(/* webpackFetchPriority: "high" */ "./Pretext-DvQ3xsni.js").then(e=>e.Pretext),scale:()=>import(/* webpackFetchPriority: "high" */ "./Scale-Bg3bGICG.js").then(e=>e.Scale),"simple-button":()=>import(/* webpackFetchPriority: "high" */ "./SimpleButton-nGEcO2gB.js").then(e=>e.SimpleButton),"slider-2-0":()=>import(/* webpackFetchPriority: "high" */ "./Slider20-BOmjDRf2.js").then(e=>e.Slider20),testimonials:()=>import(/* webpackFetchPriority: "high" */ "./TestimonialGrid-BHZazEVX.js").then(e=>e.TestimonialGrid),"testimonial-single":()=>import(/* webpackFetchPriority: "high" */ "./TestimonialSingle-BORQom3u.js").then(e=>e.TestimonialSingle),waterfall:()=>import(/* webpackFetchPriority: "high" */ "./Waterfall-DII4-WV5.js").then(e=>e.Waterfall)},b=Object.keys(m),y=3,E=2e3,s=new Map,l=new Map;function p(e){return Object.prototype.hasOwnProperty.call(m,e)}function x(e){return s.get(e)}function C(e){var r;return(((r=l.get(e))==null?void 0:r.failures)??0)>0}const S=e=>!e.loading&&e.failures>0&&e.failures<y&&Date.now()>=e.retryAt;function M(e){if(!p(e))return Promise.resolve(void 0);const r=l.get(e);if(r&&!S(r))return r.request;const n={loading:!0,failures:(r==null?void 0:r.failures)??0,retryAt:0,request:m[e]().then(o=>(s.set(e,o),n.failures=0,o),o=>{throw n.failures+=1,n.retryAt=Date.now()+E*2**(n.failures-1),o}).finally(()=>{n.loading=!1})};return l.set(e,n),n.request}exports.componentElementIds=b;exports.getComponentElement=x;exports.hasComponentElement=p;exports.hasComponentElementFailed=C;exports.loadComponentElement=M;
1
+ "use strict";var h=Object.create;var a=Object.defineProperty;var u=Object.getOwnPropertyDescriptor;var c=Object.getOwnPropertyNames;var g=Object.getPrototypeOf,f=Object.prototype.hasOwnProperty;var d=(e,n,r,o)=>{if(n&&typeof n=="object"||typeof n=="function")for(let i of c(n))!f.call(e,i)&&i!==r&&a(e,i,{get:()=>n[i],enumerable:!(o=u(n,i))||o.enumerable});return e};var t=(e,n,r)=>(r=e!=null?h(g(e)):{},d(n||!e||!e.__esModule?a(r,"default",{value:e,enumerable:!0}):r,e));Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const m={"basic-burger":()=>import(/* webpackFetchPriority: "high" */ "./Burger-C3yVbQcq.js").then(e=>e.Burger),chronicles:()=>import(/* webpackFetchPriority: "high" */ "./Chronicles-D0ojQzOP.js").then(e=>e.Chronicles),"click-gallerie":()=>import(/* webpackFetchPriority: "high" */ "./ClickGallerie-DYbc-rDp.js").then(e=>e.ClickGallerie),"control-slider":()=>import(/* webpackFetchPriority: "high" */ "./ControlSlider-C8ckUIDm.js").then(e=>e.ControlSlider),faq:()=>import(/* webpackFetchPriority: "high" */ "./FAQ-Ct0YfqX1.js").then(e=>e.FAQ),form:()=>import(/* webpackFetchPriority: "high" */ "./Form-Dn-6A1He.js").then(e=>e.Form),grid:()=>import(/* webpackFetchPriority: "high" */ "./Grid-CU1dsdoO.js").then(e=>e.Grid),helix:()=>import(/* webpackFetchPriority: "high" */ "./Helix-BpLo9FD3.js").then(e=>e.Helix),hive:()=>import(/* webpackFetchPriority: "high" */ "./Hive-CzabuuCc.js").then(e=>e.Hive),"control-image-reveal":()=>import(/* webpackFetchPriority: "high" */ "./ImageRevealSlider-DlxudBUy.js").then(e=>e.ImageRevealSlider),lightbox:()=>import(/* webpackFetchPriority: "high" */ "./Lightbox-DZckgBzK.js").then(e=>e.LightboxGallery),"lightbox-journal":()=>import(/* webpackFetchPriority: "high" */ "./LightboxJournal-DAEZOPDi.js").then(e=>e.LightboxJournal),"lightbox-strip":()=>import(/* webpackFetchPriority: "high" */ "./LightboxStrip-BDjI1jyH.js").then(e=>e.LightboxStrip),list:()=>import(/* webpackFetchPriority: "high" */ "./List-DVvpQ24J.js").then(e=>e.List),marquee:()=>import(/* webpackFetchPriority: "high" */ "./Marquee-DDKigLBo.js").then(e=>e.Marquee),"marquee-text":()=>import(/* webpackFetchPriority: "high" */ "./MarqueeText-B5hqB0HA.js").then(e=>e.MarqueeText),mercury:()=>import(/* webpackFetchPriority: "high" */ "./Mercury-B-s2Kvuq.js").then(e=>e.Mercury),"oneliner-form":()=>import(/* webpackFetchPriority: "high" */ "./OnelinerForm-C2Y_XMCY.js").then(e=>e.OnelinerForm),"popup-menu":()=>import(/* webpackFetchPriority: "high" */ "./PopupMenu-Dty5qHl8.js").then(e=>e.PopupMenu$1).then(e=>e.PopupMenu),pretext:()=>import(/* webpackFetchPriority: "high" */ "./Pretext-DvQ3xsni.js").then(e=>e.Pretext),scale:()=>import(/* webpackFetchPriority: "high" */ "./Scale-Bg3bGICG.js").then(e=>e.Scale),"simple-button":()=>import(/* webpackFetchPriority: "high" */ "./SimpleButton-nGEcO2gB.js").then(e=>e.SimpleButton),"slider-2-0":()=>import(/* webpackFetchPriority: "high" */ "./Slider20-BOmjDRf2.js").then(e=>e.Slider20),testimonials:()=>import(/* webpackFetchPriority: "high" */ "./TestimonialGrid-BHZazEVX.js").then(e=>e.TestimonialGrid),"testimonial-single":()=>import(/* webpackFetchPriority: "high" */ "./TestimonialSingle-BORQom3u.js").then(e=>e.TestimonialSingle),waterfall:()=>import(/* webpackFetchPriority: "high" */ "./Waterfall-DII4-WV5.js").then(e=>e.Waterfall)},b=Object.keys(m),y=3,E=2e3,p=new Map,l=new Map;function s(e){return Object.prototype.hasOwnProperty.call(m,e)}function x(e){return p.get(e)}function C(e){var n;return(((n=l.get(e))==null?void 0:n.failures)??0)>0}const M=e=>!e.loading&&e.failures>0&&e.failures<y&&Date.now()>=e.retryAt;function S(e){if(!s(e))return Promise.resolve(void 0);const n=l.get(e);if(n&&!M(n))return n.request;const r={loading:!0,failures:(n==null?void 0:n.failures)??0,retryAt:0,request:m[e]().then(o=>(p.set(e,o),r.failures=0,o),o=>{throw r.failures+=1,r.retryAt=Date.now()+E*2**(r.failures-1),o}).finally(()=>{r.loading=!1})};return l.set(e,r),r.request}exports.componentElementIds=b;exports.getComponentElement=x;exports.hasComponentElement=s;exports.hasComponentElementFailed=C;exports.loadComponentElement=S;