@cntrl-site/components 1.0.111-alpha.1 → 1.0.111
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/{Burger-DyORh_vF.mjs → Burger-BkVgNMGU.mjs} +1 -1
- package/dist/{Burger-B4kXX9aY.js → Burger-C3yVbQcq.js} +1 -1
- package/dist/{ChroniclesComponent-B6L-8Gn2.js → ChroniclesComponent-FFenN7yL.js} +1 -1
- package/dist/{ChroniclesComponent-adaAqTy8.mjs → ChroniclesComponent-cZLqN307.mjs} +12 -12
- package/dist/Components/helpers/SvgImage/loadSvgMaskUrl.d.ts +0 -7
- package/dist/{ControlSlider-DB4nbVLT.js → ControlSlider-C8ckUIDm.js} +1 -1
- package/dist/{ControlSlider-3w-bHQEg.mjs → ControlSlider-DqKfaKMG.mjs} +1 -1
- package/dist/{FAQ-BjLLn81l.mjs → FAQ-BS-vO0l-.mjs} +1 -1
- package/dist/{FAQ-C5evIqbl.js → FAQ-Ct0YfqX1.js} +1 -1
- package/dist/{Grid-BXUT_Hn6.js → Grid-CU1dsdoO.js} +1 -1
- package/dist/{Grid-Dn44dvgx.mjs → Grid-qbqchSLi.mjs} +1 -1
- package/dist/{Hive-34KvKNsa.js → Hive-CzabuuCc.js} +1 -1
- package/dist/{Hive-7xHXyMM1.mjs → Hive-DyxYd5eg.mjs} +1 -1
- package/dist/{HiveLightboxTitles-BCoL46-V.mjs → HiveLightboxTitles-DhEeFKWs.mjs} +1 -1
- package/dist/{HiveLightboxTitles-DEeyQGcf.js → HiveLightboxTitles-DlyptAaK.js} +1 -1
- package/dist/{Lightbox-DzPqgKP4.mjs → Lightbox-BY99NS14.mjs} +1 -1
- package/dist/{Lightbox-Cb7lyaNt.js → Lightbox-DZckgBzK.js} +1 -1
- package/dist/{LightboxJournal-C_q7_s-B.mjs → LightboxJournal-D59ex6wH.mjs} +1 -1
- package/dist/{LightboxJournal-BFF5aKRz.js → LightboxJournal-DAEZOPDi.js} +1 -1
- package/dist/{LightboxStrip-CC2e0_9A.js → LightboxStrip-BDjI1jyH.js} +1 -1
- package/dist/{LightboxStrip-BrNj7ipX.mjs → LightboxStrip-YspzBP8N.mjs} +1 -1
- package/dist/{Mercury-BmhtFYOw.js → Mercury-B-s2Kvuq.js} +1 -1
- package/dist/{Mercury-Q788wrYQ.mjs → Mercury-CCW0Es-s.mjs} +1 -1
- package/dist/{OnelinerForm-D8WIB9Qy.mjs → OnelinerForm-BEu7_sho.mjs} +1 -1
- package/dist/{OnelinerForm-CUmY-bXL.js → OnelinerForm-C2Y_XMCY.js} +1 -1
- package/dist/{SimpleButton-DTpzfmb6.mjs → SimpleButton-C-o2W9bS.mjs} +1 -1
- package/dist/{SimpleButton-DtaCYa3y.js → SimpleButton-nGEcO2gB.js} +1 -1
- package/dist/{Slider20-q0iGgnE3.js → Slider20-BOmjDRf2.js} +1 -1
- package/dist/{Slider20-CKngROrc.mjs → Slider20-DUi6qwnd.mjs} +1 -1
- package/dist/SvgImage-B5mR9y6q.mjs +51 -0
- package/dist/SvgImage-DFlmxAoL.js +1 -0
- package/dist/{TestimonialSingle-CpEUendN.js → TestimonialSingle-BORQom3u.js} +1 -1
- package/dist/{TestimonialSingle-Bax71Hyo.mjs → TestimonialSingle-DrnyReim.mjs} +1 -1
- package/dist/{Waterfall-znaoynn5.mjs → Waterfall-3kKioKh2.mjs} +1 -1
- package/dist/{Waterfall-B9YWMhrg.js → Waterfall-DII4-WV5.js} +1 -1
- package/dist/{components-CpgSVhiu.mjs → components-DtO0Ti47.mjs} +29 -605
- package/dist/components-f82884Bk.js +1 -0
- package/dist/elements.js +1 -1
- package/dist/elements.mjs +22 -23
- package/dist/elements.node.js +1 -1
- package/dist/elements.node.mjs +1 -1
- package/dist/index.d.ts +0 -2
- package/dist/index.js +1 -1
- package/dist/index.mjs +27 -44
- package/dist/loadSvgMaskUrl-DfF7ay6h.js +1 -0
- package/dist/loadSvgMaskUrl-xHgGYgPe.mjs +20 -0
- package/dist/sources.js +1 -1
- package/dist/sources.mjs +1 -1
- package/dist/types/SchemaV1.d.ts +0 -2
- package/package.json +1 -1
- package/dist/Components/PopupMenu/PopupMenu.d.ts +0 -57
- package/dist/Components/PopupMenu/PopupMenuComponent.d.ts +0 -587
- package/dist/Components/PopupMenu/popupMenuLayout.d.ts +0 -140
- package/dist/PopupMenu-DRn2Hrwz.mjs +0 -929
- package/dist/PopupMenu-_jzggiOn.js +0 -348
- package/dist/SvgImage-CwRq9-ec.mjs +0 -56
- package/dist/SvgImage-_QN8ngad.js +0 -1
- package/dist/components-BY4b1gFL.js +0 -1
- package/dist/loadSvgMaskUrl-B6kHUyof.js +0 -1
- package/dist/loadSvgMaskUrl-DUhCVvpl.mjs +0 -39
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
import { ControlSlider as
|
|
2
|
-
import { ImageRevealSlider as
|
|
3
|
-
import { LightboxGallery as
|
|
4
|
-
import { C as
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
element: a,
|
|
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-cZLqN307.mjs";
|
|
5
|
+
const j = {
|
|
6
|
+
element: e,
|
|
8
7
|
id: "control-slider",
|
|
9
8
|
name: "Slider",
|
|
10
9
|
preview: {
|
|
@@ -616,8 +615,8 @@ const H = {
|
|
|
616
615
|
},
|
|
617
616
|
required: ["settings", "content", "styles"]
|
|
618
617
|
}
|
|
619
|
-
},
|
|
620
|
-
element:
|
|
618
|
+
}, E = {
|
|
619
|
+
element: t,
|
|
621
620
|
id: "control-image-reveal",
|
|
622
621
|
name: "Click Gallery",
|
|
623
622
|
preview: {
|
|
@@ -940,8 +939,8 @@ const H = {
|
|
|
940
939
|
}
|
|
941
940
|
}
|
|
942
941
|
}
|
|
943
|
-
},
|
|
944
|
-
element:
|
|
942
|
+
}, A = {
|
|
943
|
+
element: i,
|
|
945
944
|
id: "lightbox",
|
|
946
945
|
name: "Lightbox",
|
|
947
946
|
preview: {
|
|
@@ -2020,611 +2019,36 @@ const H = {
|
|
|
2020
2019
|
},
|
|
2021
2020
|
required: ["settings", "content", "styles"]
|
|
2022
2021
|
}
|
|
2023
|
-
}
|
|
2024
|
-
|
|
2025
|
-
|
|
2026
|
-
|
|
2027
|
-
|
|
2028
|
-
|
|
2029
|
-
|
|
2030
|
-
|
|
2031
|
-
|
|
2032
|
-
|
|
2033
|
-
|
|
2034
|
-
|
|
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,
|
|
2022
|
+
}, F = [
|
|
2023
|
+
j,
|
|
2024
|
+
E,
|
|
2025
|
+
o,
|
|
2026
|
+
A,
|
|
2027
|
+
r,
|
|
2028
|
+
p,
|
|
2029
|
+
n,
|
|
2030
|
+
l,
|
|
2031
|
+
s,
|
|
2032
|
+
a,
|
|
2033
|
+
c,
|
|
2599
2034
|
y,
|
|
2600
|
-
R,
|
|
2601
2035
|
g,
|
|
2602
2036
|
m,
|
|
2603
|
-
u,
|
|
2604
2037
|
d,
|
|
2038
|
+
u,
|
|
2605
2039
|
b,
|
|
2606
2040
|
h,
|
|
2607
2041
|
f,
|
|
2608
2042
|
v,
|
|
2609
2043
|
C,
|
|
2610
|
-
S,
|
|
2611
2044
|
x,
|
|
2612
|
-
|
|
2045
|
+
S,
|
|
2613
2046
|
k,
|
|
2614
|
-
|
|
2615
|
-
F,
|
|
2616
|
-
A,
|
|
2617
|
-
T,
|
|
2618
|
-
B,
|
|
2619
|
-
w,
|
|
2620
|
-
E,
|
|
2621
|
-
P,
|
|
2622
|
-
X
|
|
2047
|
+
I
|
|
2623
2048
|
];
|
|
2624
2049
|
export {
|
|
2625
|
-
|
|
2626
|
-
|
|
2627
|
-
|
|
2628
|
-
|
|
2629
|
-
_ as c
|
|
2050
|
+
j as C,
|
|
2051
|
+
A as L,
|
|
2052
|
+
E as a,
|
|
2053
|
+
F as c
|
|
2630
2054
|
};
|