@designcrowd/library.brand-page 6.1.17-ast-header-button-5 → 6.1.17-ast-header-button-7
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/lib/src/{CreatedOnBrandCrowd-de-de-BIMxJywc.js → CreatedOnBrandCrowd-de-de-BY2Z3NZY.js} +1 -1
- package/lib/src/{CreatedOnBrandCrowd-en-us-Lh5uh9n9.js → CreatedOnBrandCrowd-en-us-a9o3Bztc.js} +1 -1
- package/lib/src/{CreatedOnBrandCrowd-es-es-FtLSqx3N.js → CreatedOnBrandCrowd-es-es-Bg8SCqkB.js} +1 -1
- package/lib/src/{CreatedOnBrandCrowd-fr-fr-CvI8UTVG.js → CreatedOnBrandCrowd-fr-ca-N9bzJuGP.js} +1 -1
- package/lib/src/{CreatedOnBrandCrowd-fr-ca-CvI8UTVG.js → CreatedOnBrandCrowd-fr-fr-N9bzJuGP.js} +1 -1
- package/lib/src/{CreatedOnBrandCrowd-pt-pt-YWv5LU7d.js → CreatedOnBrandCrowd-pt-br-ComX3scB.js} +1 -1
- package/lib/src/{CreatedOnBrandCrowd-pt-br-YWv5LU7d.js → CreatedOnBrandCrowd-pt-pt-ComX3scB.js} +1 -1
- package/lib/src/{CreatedOnDcom-de-de-Wje6FVis.js → CreatedOnDcom-de-de-m-KtGGWQ.js} +1 -1
- package/lib/src/{CreatedOnDcom-en-us-CcuDnx-O.js → CreatedOnDcom-en-us-8O5yFoBn.js} +1 -1
- package/lib/src/{CreatedOnDcom-es-es-BnqMImEL.js → CreatedOnDcom-es-es-BtEMligL.js} +1 -1
- package/lib/src/{CreatedOnDcom-fr-ca-D8VXXEme.js → CreatedOnDcom-fr-ca-CN8NWPFk.js} +1 -1
- package/lib/src/{CreatedOnDcom-fr-fr-DvXQ6K_p.js → CreatedOnDcom-fr-fr-VuC39Anm.js} +1 -1
- package/lib/src/{CreatedOnDcom-pt-br-2Avl0oIs.js → CreatedOnDcom-pt-br-CyIeNya-.js} +1 -1
- package/lib/src/{CreatedOnDcom-pt-pt-B782SEU7.js → CreatedOnDcom-pt-pt-DUIrNGr-.js} +1 -1
- package/lib/src/brand-page/components/page/Page.mixin.js +3 -7
- package/lib/src/brand-page/components/page-header/PageHeader.mixin.js +2 -4
- package/lib/src/brand-page/utils/route.util.d.ts +1 -0
- package/lib/src/brand-page/utils/route.util.js +9 -0
- package/lib/src/brand-page-maker/validators/section-button.validator.d.ts +3 -1
- package/lib/src/css/library.brand-page-brandCrowd.min.css +16 -16
- package/lib/src/css/library.brand-page-brandPage.min.css +16 -16
- package/lib/src/css/library.brand-page-designCom.min.css +16 -16
- package/lib/src/css/library.brand-page-preview.min.css +16 -16
- package/lib/src/index.mjs +1 -1
- package/lib/src/{lib-1IZaC4T6.js → lib-DOu6fL9i.js} +14156 -14159
- package/package.json +1 -1
- package/src/brand-page/components/button/Button.vue +10 -9
- package/src/brand-page/components/page/Page.mixin.ts +6 -12
- package/src/brand-page/components/page-header/PageHeader.mixin.ts +2 -9
- package/src/brand-page/utils/route.util.ts +13 -0
- package/src/brand-page-maker/validators/section-button.validator.ts +9 -3
- package/src/shared/content-settings/components/url-field/UrlField.vue +1 -0
- package/src/shared/page-settings/components/header-settings-panel/HeaderSettingsPanel.vue +1 -0
- package/src/shared/page-settings/components/page-settings-section-styles/HeaderButtonSettings.test.ts +38 -1
- package/src/shared/page-settings/components/page-settings-section-styles/HeaderButtonSettings.vue +14 -27
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent } from 'vue';
|
|
2
2
|
import { DEFAULT_FONT_FAMILY_KEY, FALLBACK_FONT_FAMILIES, FONT_FAMILY_CONFIGS, headerRowRendersCta, } from '../../constants';
|
|
3
3
|
import { getSlugFromContext, getPageHeadingText, buildPaletteRootCss, buildPaletteScopedCss, PAGE_SCOPE_ID_ATTRIBUTE, resolveColorReference, } from '@brand-page/utils';
|
|
4
|
-
import { findNavItemByRelativePath } from '@brand-page/utils/route.util';
|
|
4
|
+
import { findNavItemByRelativePath, hasVisibleNavigation, } from '@brand-page/utils/route.util';
|
|
5
5
|
import { BRAND_PAGE_TYPES } from '@brand-page/models';
|
|
6
6
|
import { hasProfileContent as checkHasProfileContent } from '@brand-page/utils/vcard.util';
|
|
7
7
|
// Per-instance id for a `Page` instance. Deliberately generic — any per-instance
|
|
@@ -276,7 +276,7 @@ export default defineComponent({
|
|
|
276
276
|
this.contents[0]?.type === 'logo' &&
|
|
277
277
|
this.viewModel.pages.length > 1);
|
|
278
278
|
},
|
|
279
|
-
// The side menu
|
|
279
|
+
// The button shows in the header row OR in the side menu, never both. This gives it to the side menu when the header doesn't show it; undefined = no button in the menu.
|
|
280
280
|
sideMenuHeaderButtonViewModel() {
|
|
281
281
|
const header = this.viewModel.headerViewModelMobile;
|
|
282
282
|
if (!header.headerButtonViewModel ||
|
|
@@ -286,11 +286,7 @@ export default defineComponent({
|
|
|
286
286
|
return header.headerButtonViewModel;
|
|
287
287
|
},
|
|
288
288
|
shouldShowNavigation() {
|
|
289
|
-
|
|
290
|
-
const visibleNavItems = this.context.nav.navItems.filter((item) => !item.isHidden);
|
|
291
|
-
return (visibleNavItems.length > 1 ||
|
|
292
|
-
(visibleNavItems.length === 1 &&
|
|
293
|
-
visibleNavItems[0].nestedNavItems.some((item) => !item.isHidden)));
|
|
289
|
+
return hasVisibleNavigation(this.context.nav.navItems);
|
|
294
290
|
},
|
|
295
291
|
showNavigationAfterLogoMobile() {
|
|
296
292
|
return (!this.context.isBrandSite &&
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { defineComponent } from 'vue';
|
|
2
2
|
import { LOGO_SLIDER_DESKTOP_MAX } from '../../constants';
|
|
3
|
+
import { hasVisibleNavigation } from '../../utils/route.util';
|
|
3
4
|
export default defineComponent({
|
|
4
5
|
props: {
|
|
5
6
|
navId: {
|
|
@@ -37,10 +38,7 @@ export default defineComponent({
|
|
|
37
38
|
return this.viewModel.headerButtonViewModel;
|
|
38
39
|
},
|
|
39
40
|
showNav() {
|
|
40
|
-
|
|
41
|
-
return (visibleNavItems.length > 1 ||
|
|
42
|
-
(visibleNavItems.length === 1 &&
|
|
43
|
-
visibleNavItems[0].nestedNavItems.some((item) => !item.isHidden)));
|
|
41
|
+
return hasVisibleNavigation(this.context.nav.navItems);
|
|
44
42
|
},
|
|
45
43
|
},
|
|
46
44
|
emits: ['header-container-click'],
|
|
@@ -33,3 +33,4 @@ export declare const toRouteLocation: (navItem?: NavItemViewModel) => {
|
|
|
33
33
|
};
|
|
34
34
|
export declare const findNavItemByRelativePath: (navItems: NavItemViewModel[], relativePath: string) => NavItemViewModel | undefined;
|
|
35
35
|
export declare const findNavItemByPageSlug: (navItems: NavItemViewModel[], pageSlug: string) => NavItemViewModel | undefined;
|
|
36
|
+
export declare const hasVisibleNavigation: (navItems: NavItemViewModel[]) => boolean;
|
|
@@ -136,3 +136,12 @@ export const findNavItemByPageSlug = (navItems, pageSlug) => {
|
|
|
136
136
|
}
|
|
137
137
|
return undefined;
|
|
138
138
|
};
|
|
139
|
+
// Nav shows when more than one page is visible, or one page has visible subpages.
|
|
140
|
+
// The header row and the side menu both key the button placement off this — one
|
|
141
|
+
// source so the two can never disagree.
|
|
142
|
+
export const hasVisibleNavigation = (navItems) => {
|
|
143
|
+
const visibleNavItems = navItems.filter((item) => !item.isHidden);
|
|
144
|
+
return (visibleNavItems.length > 1 ||
|
|
145
|
+
(visibleNavItems.length === 1 &&
|
|
146
|
+
visibleNavItems[0].nestedNavItems.some((item) => !item.isHidden)));
|
|
147
|
+
};
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import { type BannerSectionContent, type BookingSectionContent } from '@brand-page/models';
|
|
2
2
|
import type { ContentValidator } from '../models';
|
|
3
3
|
export declare const textValidator: ContentValidator<BannerSectionContent>;
|
|
4
|
-
|
|
4
|
+
type ButtonLinkFields = Pick<BannerSectionContent, 'buttonLinkType' | 'url' | 'buttonText'>;
|
|
5
|
+
export declare const urlValidator: ContentValidator<ButtonLinkFields>;
|
|
5
6
|
export declare const pageValidator: ContentValidator<BannerSectionContent | BookingSectionContent>;
|
|
7
|
+
export {};
|
|
@@ -5873,7 +5873,7 @@ input[data-v-4cd691db]::-webkit-inner-spin-button {
|
|
|
5873
5873
|
content: '\00A0';
|
|
5874
5874
|
}
|
|
5875
5875
|
|
|
5876
|
-
.c-button[data-v-
|
|
5876
|
+
.c-button[data-v-783c0643] {
|
|
5877
5877
|
--icon-h: 1.5rem;
|
|
5878
5878
|
--icon-m-r: 2rem;
|
|
5879
5879
|
--icon-m-icon: 0.5rem;
|
|
@@ -5887,7 +5887,7 @@ input[data-v-4cd691db]::-webkit-inner-spin-button {
|
|
|
5887
5887
|
|
|
5888
5888
|
/* Shape-library icons (vector, nested in .c-shape, no class on the img):
|
|
5889
5889
|
render at the default icon size, centered in normal flow like the SVG icons. */
|
|
5890
|
-
.bp-button[data-v-
|
|
5890
|
+
.bp-button[data-v-783c0643] .c-button__icon-img img {
|
|
5891
5891
|
max-width: none;
|
|
5892
5892
|
-o-object-fit: cover;
|
|
5893
5893
|
object-fit: cover;
|
|
@@ -5897,7 +5897,7 @@ input[data-v-4cd691db]::-webkit-inner-spin-button {
|
|
|
5897
5897
|
|
|
5898
5898
|
/* Raster image thumbnails (FallbackImage renders <img class="c-image">):
|
|
5899
5899
|
render larger/prominent and centered over the icon slot. */
|
|
5900
|
-
.bp-button[data-v-
|
|
5900
|
+
.bp-button[data-v-783c0643] .c-button__icon-img img.c-image {
|
|
5901
5901
|
--icon-img-size: 2.3rem;
|
|
5902
5902
|
position: absolute;
|
|
5903
5903
|
top: calc(var(--icon-img-size) / -2 + var(--icon-h) / 2);
|
|
@@ -5905,49 +5905,49 @@ input[data-v-4cd691db]::-webkit-inner-spin-button {
|
|
|
5905
5905
|
width: var(--icon-img-size);
|
|
5906
5906
|
height: var(--icon-img-size);
|
|
5907
5907
|
}
|
|
5908
|
-
.c-button--disabled[data-v-
|
|
5908
|
+
.c-button--disabled[data-v-783c0643] {
|
|
5909
5909
|
pointer-events: none;
|
|
5910
5910
|
}
|
|
5911
|
-
.c-button[data-v-
|
|
5911
|
+
.c-button[data-v-783c0643]:hover .c-button__label p {
|
|
5912
5912
|
text-decoration: underline;
|
|
5913
5913
|
}
|
|
5914
|
-
.c-button__icon[data-v-
|
|
5914
|
+
.c-button__icon[data-v-783c0643] {
|
|
5915
5915
|
margin-right: var(--icon-m-r);
|
|
5916
5916
|
}
|
|
5917
|
-
.bp-button[data-v-
|
|
5917
|
+
.bp-button[data-v-783c0643] .c-button__icon-img {
|
|
5918
5918
|
margin-right: var(--icon-m-r);
|
|
5919
5919
|
width: var(--icon-w);
|
|
5920
5920
|
height: var(--icon-h);
|
|
5921
5921
|
}
|
|
5922
|
-
.c-button__label[data-v-
|
|
5922
|
+
.c-button__label[data-v-783c0643] {
|
|
5923
5923
|
margin: 0 auto;
|
|
5924
5924
|
word-break: break-word;
|
|
5925
5925
|
overflow-wrap: anywhere;
|
|
5926
5926
|
width: auto;
|
|
5927
5927
|
}
|
|
5928
|
-
.c-button__label--offset-sm[data-v-
|
|
5928
|
+
.c-button__label--offset-sm[data-v-783c0643] {
|
|
5929
5929
|
-webkit-transform: translateX(-1.5rem);
|
|
5930
5930
|
transform: translateX(-1.5rem);
|
|
5931
5931
|
}
|
|
5932
|
-
.c-button__label--offset-md[data-v-
|
|
5932
|
+
.c-button__label--offset-md[data-v-783c0643] {
|
|
5933
5933
|
-webkit-transform: translateX(-1.75rem);
|
|
5934
5934
|
transform: translateX(-1.75rem);
|
|
5935
5935
|
}
|
|
5936
|
-
.c-button__label--offset-lg[data-v-
|
|
5936
|
+
.c-button__label--offset-lg[data-v-783c0643] {
|
|
5937
5937
|
-webkit-transform: translateX(-1.5rem);
|
|
5938
5938
|
transform: translateX(-1.5rem);
|
|
5939
5939
|
}
|
|
5940
|
-
.c-button__no-icon[data-v-
|
|
5940
|
+
.c-button__no-icon[data-v-783c0643] {
|
|
5941
5941
|
margin-right: var(--icon-m-r);
|
|
5942
5942
|
width: var(--icon-w);
|
|
5943
5943
|
height: var(--icon-h);
|
|
5944
5944
|
}
|
|
5945
|
-
.device-wrapper--mobile .c-button__icon[data-v-
|
|
5945
|
+
.device-wrapper--mobile .c-button__icon[data-v-783c0643] {
|
|
5946
5946
|
margin: 0;
|
|
5947
5947
|
margin-right: var(--icon-m-r);
|
|
5948
5948
|
}
|
|
5949
5949
|
@media (min-width: 767px) {
|
|
5950
|
-
.c-button__icon[data-v-
|
|
5950
|
+
.c-button__icon[data-v-783c0643] {
|
|
5951
5951
|
margin: 0 var(--icon-m-icon);
|
|
5952
5952
|
}
|
|
5953
5953
|
}
|
|
@@ -9743,7 +9743,7 @@ input.dynamic-width-input[data-v-97be2e87]:focus {
|
|
|
9743
9743
|
color: rgb(36 36 36 / var(--tw-text-opacity))
|
|
9744
9744
|
}
|
|
9745
9745
|
|
|
9746
|
-
.header-button-settings_option-title[data-v-
|
|
9746
|
+
.header-button-settings_option-title[data-v-8512a3c6] {
|
|
9747
9747
|
font-family: Lato, Helvetica, sans-serif;
|
|
9748
9748
|
font-size: 0.875rem;
|
|
9749
9749
|
line-height: 1.25rem;
|
|
@@ -9791,7 +9791,7 @@ input.dynamic-width-input[data-v-97be2e87]:focus {
|
|
|
9791
9791
|
margin: 0 auto;
|
|
9792
9792
|
}
|
|
9793
9793
|
|
|
9794
|
-
.header-settings-panel_option-title[data-v-
|
|
9794
|
+
.header-settings-panel_option-title[data-v-65389e78] {
|
|
9795
9795
|
font-family: Lato, Helvetica, sans-serif;
|
|
9796
9796
|
font-size: 0.875rem;
|
|
9797
9797
|
line-height: 1.25rem;
|
|
@@ -6493,7 +6493,7 @@ input[data-v-4cd691db]::-webkit-inner-spin-button {
|
|
|
6493
6493
|
content: '\00A0';
|
|
6494
6494
|
}
|
|
6495
6495
|
|
|
6496
|
-
.c-button[data-v-
|
|
6496
|
+
.c-button[data-v-783c0643] {
|
|
6497
6497
|
--icon-h: 1.5rem;
|
|
6498
6498
|
--icon-m-r: 2rem;
|
|
6499
6499
|
--icon-m-icon: 0.5rem;
|
|
@@ -6507,7 +6507,7 @@ input[data-v-4cd691db]::-webkit-inner-spin-button {
|
|
|
6507
6507
|
|
|
6508
6508
|
/* Shape-library icons (vector, nested in .c-shape, no class on the img):
|
|
6509
6509
|
render at the default icon size, centered in normal flow like the SVG icons. */
|
|
6510
|
-
.bp-button[data-v-
|
|
6510
|
+
.bp-button[data-v-783c0643] .c-button__icon-img img {
|
|
6511
6511
|
max-width: none;
|
|
6512
6512
|
-o-object-fit: cover;
|
|
6513
6513
|
object-fit: cover;
|
|
@@ -6517,7 +6517,7 @@ input[data-v-4cd691db]::-webkit-inner-spin-button {
|
|
|
6517
6517
|
|
|
6518
6518
|
/* Raster image thumbnails (FallbackImage renders <img class="c-image">):
|
|
6519
6519
|
render larger/prominent and centered over the icon slot. */
|
|
6520
|
-
.bp-button[data-v-
|
|
6520
|
+
.bp-button[data-v-783c0643] .c-button__icon-img img.c-image {
|
|
6521
6521
|
--icon-img-size: 2.3rem;
|
|
6522
6522
|
position: absolute;
|
|
6523
6523
|
top: calc(var(--icon-img-size) / -2 + var(--icon-h) / 2);
|
|
@@ -6525,49 +6525,49 @@ input[data-v-4cd691db]::-webkit-inner-spin-button {
|
|
|
6525
6525
|
width: var(--icon-img-size);
|
|
6526
6526
|
height: var(--icon-img-size);
|
|
6527
6527
|
}
|
|
6528
|
-
.c-button--disabled[data-v-
|
|
6528
|
+
.c-button--disabled[data-v-783c0643] {
|
|
6529
6529
|
pointer-events: none;
|
|
6530
6530
|
}
|
|
6531
|
-
.c-button[data-v-
|
|
6531
|
+
.c-button[data-v-783c0643]:hover .c-button__label p {
|
|
6532
6532
|
text-decoration: underline;
|
|
6533
6533
|
}
|
|
6534
|
-
.c-button__icon[data-v-
|
|
6534
|
+
.c-button__icon[data-v-783c0643] {
|
|
6535
6535
|
margin-right: var(--icon-m-r);
|
|
6536
6536
|
}
|
|
6537
|
-
.bp-button[data-v-
|
|
6537
|
+
.bp-button[data-v-783c0643] .c-button__icon-img {
|
|
6538
6538
|
margin-right: var(--icon-m-r);
|
|
6539
6539
|
width: var(--icon-w);
|
|
6540
6540
|
height: var(--icon-h);
|
|
6541
6541
|
}
|
|
6542
|
-
.c-button__label[data-v-
|
|
6542
|
+
.c-button__label[data-v-783c0643] {
|
|
6543
6543
|
margin: 0 auto;
|
|
6544
6544
|
word-break: break-word;
|
|
6545
6545
|
overflow-wrap: anywhere;
|
|
6546
6546
|
width: auto;
|
|
6547
6547
|
}
|
|
6548
|
-
.c-button__label--offset-sm[data-v-
|
|
6548
|
+
.c-button__label--offset-sm[data-v-783c0643] {
|
|
6549
6549
|
-webkit-transform: translateX(-1.5rem);
|
|
6550
6550
|
transform: translateX(-1.5rem);
|
|
6551
6551
|
}
|
|
6552
|
-
.c-button__label--offset-md[data-v-
|
|
6552
|
+
.c-button__label--offset-md[data-v-783c0643] {
|
|
6553
6553
|
-webkit-transform: translateX(-1.75rem);
|
|
6554
6554
|
transform: translateX(-1.75rem);
|
|
6555
6555
|
}
|
|
6556
|
-
.c-button__label--offset-lg[data-v-
|
|
6556
|
+
.c-button__label--offset-lg[data-v-783c0643] {
|
|
6557
6557
|
-webkit-transform: translateX(-1.5rem);
|
|
6558
6558
|
transform: translateX(-1.5rem);
|
|
6559
6559
|
}
|
|
6560
|
-
.c-button__no-icon[data-v-
|
|
6560
|
+
.c-button__no-icon[data-v-783c0643] {
|
|
6561
6561
|
margin-right: var(--icon-m-r);
|
|
6562
6562
|
width: var(--icon-w);
|
|
6563
6563
|
height: var(--icon-h);
|
|
6564
6564
|
}
|
|
6565
|
-
.device-wrapper--mobile .c-button__icon[data-v-
|
|
6565
|
+
.device-wrapper--mobile .c-button__icon[data-v-783c0643] {
|
|
6566
6566
|
margin: 0;
|
|
6567
6567
|
margin-right: var(--icon-m-r);
|
|
6568
6568
|
}
|
|
6569
6569
|
@media (min-width: 767px) {
|
|
6570
|
-
.c-button__icon[data-v-
|
|
6570
|
+
.c-button__icon[data-v-783c0643] {
|
|
6571
6571
|
margin: 0 var(--icon-m-icon);
|
|
6572
6572
|
}
|
|
6573
6573
|
}
|
|
@@ -10363,7 +10363,7 @@ input.dynamic-width-input[data-v-97be2e87]:focus {
|
|
|
10363
10363
|
color: rgb(36 36 36 / var(--tw-text-opacity))
|
|
10364
10364
|
}
|
|
10365
10365
|
|
|
10366
|
-
.header-button-settings_option-title[data-v-
|
|
10366
|
+
.header-button-settings_option-title[data-v-8512a3c6] {
|
|
10367
10367
|
font-family: Lato, Helvetica, sans-serif;
|
|
10368
10368
|
font-size: 0.875rem;
|
|
10369
10369
|
line-height: 1.25rem;
|
|
@@ -10411,7 +10411,7 @@ input.dynamic-width-input[data-v-97be2e87]:focus {
|
|
|
10411
10411
|
margin: 0 auto;
|
|
10412
10412
|
}
|
|
10413
10413
|
|
|
10414
|
-
.header-settings-panel_option-title[data-v-
|
|
10414
|
+
.header-settings-panel_option-title[data-v-65389e78] {
|
|
10415
10415
|
font-family: Lato, Helvetica, sans-serif;
|
|
10416
10416
|
font-size: 0.875rem;
|
|
10417
10417
|
line-height: 1.25rem;
|
|
@@ -5903,7 +5903,7 @@ input[data-v-4cd691db]::-webkit-inner-spin-button {
|
|
|
5903
5903
|
content: '\00A0';
|
|
5904
5904
|
}
|
|
5905
5905
|
|
|
5906
|
-
.c-button[data-v-
|
|
5906
|
+
.c-button[data-v-783c0643] {
|
|
5907
5907
|
--icon-h: 1.5rem;
|
|
5908
5908
|
--icon-m-r: 2rem;
|
|
5909
5909
|
--icon-m-icon: 0.5rem;
|
|
@@ -5917,7 +5917,7 @@ input[data-v-4cd691db]::-webkit-inner-spin-button {
|
|
|
5917
5917
|
|
|
5918
5918
|
/* Shape-library icons (vector, nested in .c-shape, no class on the img):
|
|
5919
5919
|
render at the default icon size, centered in normal flow like the SVG icons. */
|
|
5920
|
-
.bp-button[data-v-
|
|
5920
|
+
.bp-button[data-v-783c0643] .c-button__icon-img img {
|
|
5921
5921
|
max-width: none;
|
|
5922
5922
|
-o-object-fit: cover;
|
|
5923
5923
|
object-fit: cover;
|
|
@@ -5927,7 +5927,7 @@ input[data-v-4cd691db]::-webkit-inner-spin-button {
|
|
|
5927
5927
|
|
|
5928
5928
|
/* Raster image thumbnails (FallbackImage renders <img class="c-image">):
|
|
5929
5929
|
render larger/prominent and centered over the icon slot. */
|
|
5930
|
-
.bp-button[data-v-
|
|
5930
|
+
.bp-button[data-v-783c0643] .c-button__icon-img img.c-image {
|
|
5931
5931
|
--icon-img-size: 2.3rem;
|
|
5932
5932
|
position: absolute;
|
|
5933
5933
|
top: calc(var(--icon-img-size) / -2 + var(--icon-h) / 2);
|
|
@@ -5935,49 +5935,49 @@ input[data-v-4cd691db]::-webkit-inner-spin-button {
|
|
|
5935
5935
|
width: var(--icon-img-size);
|
|
5936
5936
|
height: var(--icon-img-size);
|
|
5937
5937
|
}
|
|
5938
|
-
.c-button--disabled[data-v-
|
|
5938
|
+
.c-button--disabled[data-v-783c0643] {
|
|
5939
5939
|
pointer-events: none;
|
|
5940
5940
|
}
|
|
5941
|
-
.c-button[data-v-
|
|
5941
|
+
.c-button[data-v-783c0643]:hover .c-button__label p {
|
|
5942
5942
|
text-decoration: underline;
|
|
5943
5943
|
}
|
|
5944
|
-
.c-button__icon[data-v-
|
|
5944
|
+
.c-button__icon[data-v-783c0643] {
|
|
5945
5945
|
margin-right: var(--icon-m-r);
|
|
5946
5946
|
}
|
|
5947
|
-
.bp-button[data-v-
|
|
5947
|
+
.bp-button[data-v-783c0643] .c-button__icon-img {
|
|
5948
5948
|
margin-right: var(--icon-m-r);
|
|
5949
5949
|
width: var(--icon-w);
|
|
5950
5950
|
height: var(--icon-h);
|
|
5951
5951
|
}
|
|
5952
|
-
.c-button__label[data-v-
|
|
5952
|
+
.c-button__label[data-v-783c0643] {
|
|
5953
5953
|
margin: 0 auto;
|
|
5954
5954
|
word-break: break-word;
|
|
5955
5955
|
overflow-wrap: anywhere;
|
|
5956
5956
|
width: auto;
|
|
5957
5957
|
}
|
|
5958
|
-
.c-button__label--offset-sm[data-v-
|
|
5958
|
+
.c-button__label--offset-sm[data-v-783c0643] {
|
|
5959
5959
|
-webkit-transform: translateX(-1.5rem);
|
|
5960
5960
|
transform: translateX(-1.5rem);
|
|
5961
5961
|
}
|
|
5962
|
-
.c-button__label--offset-md[data-v-
|
|
5962
|
+
.c-button__label--offset-md[data-v-783c0643] {
|
|
5963
5963
|
-webkit-transform: translateX(-1.75rem);
|
|
5964
5964
|
transform: translateX(-1.75rem);
|
|
5965
5965
|
}
|
|
5966
|
-
.c-button__label--offset-lg[data-v-
|
|
5966
|
+
.c-button__label--offset-lg[data-v-783c0643] {
|
|
5967
5967
|
-webkit-transform: translateX(-1.5rem);
|
|
5968
5968
|
transform: translateX(-1.5rem);
|
|
5969
5969
|
}
|
|
5970
|
-
.c-button__no-icon[data-v-
|
|
5970
|
+
.c-button__no-icon[data-v-783c0643] {
|
|
5971
5971
|
margin-right: var(--icon-m-r);
|
|
5972
5972
|
width: var(--icon-w);
|
|
5973
5973
|
height: var(--icon-h);
|
|
5974
5974
|
}
|
|
5975
|
-
.device-wrapper--mobile .c-button__icon[data-v-
|
|
5975
|
+
.device-wrapper--mobile .c-button__icon[data-v-783c0643] {
|
|
5976
5976
|
margin: 0;
|
|
5977
5977
|
margin-right: var(--icon-m-r);
|
|
5978
5978
|
}
|
|
5979
5979
|
@media (min-width: 767px) {
|
|
5980
|
-
.c-button__icon[data-v-
|
|
5980
|
+
.c-button__icon[data-v-783c0643] {
|
|
5981
5981
|
margin: 0 var(--icon-m-icon);
|
|
5982
5982
|
}
|
|
5983
5983
|
}
|
|
@@ -9773,7 +9773,7 @@ input.dynamic-width-input[data-v-97be2e87]:focus {
|
|
|
9773
9773
|
color: rgb(24 24 24 / var(--tw-text-opacity))
|
|
9774
9774
|
}
|
|
9775
9775
|
|
|
9776
|
-
.header-button-settings_option-title[data-v-
|
|
9776
|
+
.header-button-settings_option-title[data-v-8512a3c6] {
|
|
9777
9777
|
font-family: Inter, Helvetica, sans-serif;
|
|
9778
9778
|
font-size: 0.875rem;
|
|
9779
9779
|
line-height: 1.25rem;
|
|
@@ -9821,7 +9821,7 @@ input.dynamic-width-input[data-v-97be2e87]:focus {
|
|
|
9821
9821
|
margin: 0 auto;
|
|
9822
9822
|
}
|
|
9823
9823
|
|
|
9824
|
-
.header-settings-panel_option-title[data-v-
|
|
9824
|
+
.header-settings-panel_option-title[data-v-65389e78] {
|
|
9825
9825
|
font-family: Inter, Helvetica, sans-serif;
|
|
9826
9826
|
font-size: 0.875rem;
|
|
9827
9827
|
line-height: 1.25rem;
|
|
@@ -5873,7 +5873,7 @@ input[data-v-4cd691db]::-webkit-inner-spin-button {
|
|
|
5873
5873
|
content: '\00A0';
|
|
5874
5874
|
}
|
|
5875
5875
|
|
|
5876
|
-
.bp .c-button[data-v-
|
|
5876
|
+
.bp .c-button[data-v-783c0643] {
|
|
5877
5877
|
--icon-h: 1.5rem;
|
|
5878
5878
|
--icon-m-r: 2rem;
|
|
5879
5879
|
--icon-m-icon: 0.5rem;
|
|
@@ -5887,7 +5887,7 @@ input[data-v-4cd691db]::-webkit-inner-spin-button {
|
|
|
5887
5887
|
|
|
5888
5888
|
/* Shape-library icons (vector, nested in .c-shape, no class on the img):
|
|
5889
5889
|
render at the default icon size, centered in normal flow like the SVG icons. */
|
|
5890
|
-
.bp .bp-button[data-v-
|
|
5890
|
+
.bp .bp-button[data-v-783c0643] .c-button__icon-img img {
|
|
5891
5891
|
max-width: none;
|
|
5892
5892
|
-o-object-fit: cover;
|
|
5893
5893
|
object-fit: cover;
|
|
@@ -5897,7 +5897,7 @@ input[data-v-4cd691db]::-webkit-inner-spin-button {
|
|
|
5897
5897
|
|
|
5898
5898
|
/* Raster image thumbnails (FallbackImage renders <img class="c-image">):
|
|
5899
5899
|
render larger/prominent and centered over the icon slot. */
|
|
5900
|
-
.bp .bp-button[data-v-
|
|
5900
|
+
.bp .bp-button[data-v-783c0643] .c-button__icon-img img.c-image {
|
|
5901
5901
|
--icon-img-size: 2.3rem;
|
|
5902
5902
|
position: absolute;
|
|
5903
5903
|
top: calc(var(--icon-img-size) / -2 + var(--icon-h) / 2);
|
|
@@ -5905,49 +5905,49 @@ input[data-v-4cd691db]::-webkit-inner-spin-button {
|
|
|
5905
5905
|
width: var(--icon-img-size);
|
|
5906
5906
|
height: var(--icon-img-size);
|
|
5907
5907
|
}
|
|
5908
|
-
.bp .c-button--disabled[data-v-
|
|
5908
|
+
.bp .c-button--disabled[data-v-783c0643] {
|
|
5909
5909
|
pointer-events: none;
|
|
5910
5910
|
}
|
|
5911
|
-
.bp .c-button[data-v-
|
|
5911
|
+
.bp .c-button[data-v-783c0643]:hover .c-button__label p {
|
|
5912
5912
|
text-decoration: underline;
|
|
5913
5913
|
}
|
|
5914
|
-
.bp .c-button__icon[data-v-
|
|
5914
|
+
.bp .c-button__icon[data-v-783c0643] {
|
|
5915
5915
|
margin-right: var(--icon-m-r);
|
|
5916
5916
|
}
|
|
5917
|
-
.bp .bp-button[data-v-
|
|
5917
|
+
.bp .bp-button[data-v-783c0643] .c-button__icon-img {
|
|
5918
5918
|
margin-right: var(--icon-m-r);
|
|
5919
5919
|
width: var(--icon-w);
|
|
5920
5920
|
height: var(--icon-h);
|
|
5921
5921
|
}
|
|
5922
|
-
.bp .c-button__label[data-v-
|
|
5922
|
+
.bp .c-button__label[data-v-783c0643] {
|
|
5923
5923
|
margin: 0 auto;
|
|
5924
5924
|
word-break: break-word;
|
|
5925
5925
|
overflow-wrap: anywhere;
|
|
5926
5926
|
width: auto;
|
|
5927
5927
|
}
|
|
5928
|
-
.bp .c-button__label--offset-sm[data-v-
|
|
5928
|
+
.bp .c-button__label--offset-sm[data-v-783c0643] {
|
|
5929
5929
|
-webkit-transform: translateX(-1.5rem);
|
|
5930
5930
|
transform: translateX(-1.5rem);
|
|
5931
5931
|
}
|
|
5932
|
-
.bp .c-button__label--offset-md[data-v-
|
|
5932
|
+
.bp .c-button__label--offset-md[data-v-783c0643] {
|
|
5933
5933
|
-webkit-transform: translateX(-1.75rem);
|
|
5934
5934
|
transform: translateX(-1.75rem);
|
|
5935
5935
|
}
|
|
5936
|
-
.bp .c-button__label--offset-lg[data-v-
|
|
5936
|
+
.bp .c-button__label--offset-lg[data-v-783c0643] {
|
|
5937
5937
|
-webkit-transform: translateX(-1.5rem);
|
|
5938
5938
|
transform: translateX(-1.5rem);
|
|
5939
5939
|
}
|
|
5940
|
-
.bp .c-button__no-icon[data-v-
|
|
5940
|
+
.bp .c-button__no-icon[data-v-783c0643] {
|
|
5941
5941
|
margin-right: var(--icon-m-r);
|
|
5942
5942
|
width: var(--icon-w);
|
|
5943
5943
|
height: var(--icon-h);
|
|
5944
5944
|
}
|
|
5945
|
-
.bp .device-wrapper--mobile .c-button__icon[data-v-
|
|
5945
|
+
.bp .device-wrapper--mobile .c-button__icon[data-v-783c0643] {
|
|
5946
5946
|
margin: 0;
|
|
5947
5947
|
margin-right: var(--icon-m-r);
|
|
5948
5948
|
}
|
|
5949
5949
|
@media (min-width: 767px) {
|
|
5950
|
-
.bp .c-button__icon[data-v-
|
|
5950
|
+
.bp .c-button__icon[data-v-783c0643] {
|
|
5951
5951
|
margin: 0 var(--icon-m-icon);
|
|
5952
5952
|
}
|
|
5953
5953
|
}
|
|
@@ -9743,7 +9743,7 @@ input.dynamic-width-input[data-v-97be2e87]:focus {
|
|
|
9743
9743
|
color: rgb(36 36 36 / var(--tw-text-opacity))
|
|
9744
9744
|
}
|
|
9745
9745
|
|
|
9746
|
-
.bp .header-button-settings_option-title[data-v-
|
|
9746
|
+
.bp .header-button-settings_option-title[data-v-8512a3c6] {
|
|
9747
9747
|
font-family: Lato, Helvetica, sans-serif;
|
|
9748
9748
|
font-size: 0.875rem;
|
|
9749
9749
|
line-height: 1.25rem;
|
|
@@ -9791,7 +9791,7 @@ input.dynamic-width-input[data-v-97be2e87]:focus {
|
|
|
9791
9791
|
margin: 0 auto;
|
|
9792
9792
|
}
|
|
9793
9793
|
|
|
9794
|
-
.bp .header-settings-panel_option-title[data-v-
|
|
9794
|
+
.bp .header-settings-panel_option-title[data-v-65389e78] {
|
|
9795
9795
|
font-family: Lato, Helvetica, sans-serif;
|
|
9796
9796
|
font-size: 0.875rem;
|
|
9797
9797
|
line-height: 1.25rem;
|
package/lib/src/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as s, a as I, b as S, c as N, d as e, e as A, f as O, B as t, g as C, h as D, i as G, j as P, k as R, l as o, m as L, n as M, o as r, p as n, q as i, r as l, s as b, t as c, u as F, v as g, w as B, x as Y, y as d, z as U, C as u, D as p, E as H, F as y, G as m, H as K, I as k, J as V, K as v, L as X, M as h, N as f, O as x, P as W, Q as z, R as w, S as J, T as Z, U as j, V as q, W as Q, X as $, Y as aa, Z as Ea, $ as _a, a0 as Ta, a1 as sa, a2 as Ia, a3 as Sa, a4 as Na, a5 as ea, a6 as Aa, a7 as Oa, a8 as ta, a9 as Ca, aa as Da, ab as Ga, ac as Pa, ad as Ra, ae as oa, af as La, ag as Ma, ah as ra, ai as na, aj as ia, ak as la, al as ba, am as ca, an as Fa, ao as ga, ap as Ba, aq as Ya, ar as da, as as Ua, at as ua, au as pa, av as Ha, aw as ya, ax as ma, ay as Ka, az as ka, aA as Va, aB as va, aC as Xa, aD as ha, aE as fa, aF as xa, aG as Wa, aH as za, aI as wa, aJ as Ja, aK as Za, aL as ja, aM as qa, aN as Qa, aO as $a, aP as aE, aQ as EE, aR as _E, aS as TE, aT as sE, aU as IE, aV as SE, aW as NE, aX as eE, aY as AE, aZ as OE, a_ as tE, a$ as CE, b0 as DE, b1 as GE, b2 as PE, b3 as RE, b4 as oE, b5 as LE, b6 as ME, b7 as rE, b8 as nE, b9 as iE, ba as lE, bb as bE, bc as cE, bd as FE, be as gE, bf as BE, bg as YE, bh as dE, bi as UE, bj as uE, bk as pE, bl as HE, bm as yE, bn as mE, bo as KE, bp as kE, bq as VE, br as vE, bs as XE, bt as hE, bu as fE, bv as xE, bw as WE, bx as zE, by as wE, bz as JE, bA as ZE, bB as jE, bC as qE, bD as QE, bE as $E, bF as a_, bG as E_, bH as __, bI as T_, bJ as s_, bK as I_, bL as S_, bM as N_, bN as e_, bO as A_, bP as O_, bQ as t_, bR as C_, bS as D_, bT as G_, bU as P_, bV as R_, bW as o_, bX as L_, bY as M_, bZ as r_, b_ as n_, b$ as i_, c0 as l_, c1 as b_, c2 as c_, c3 as F_, c4 as g_, c5 as B_, c6 as Y_, c7 as d_, c8 as U_, c9 as u_, ca as p_, cb as H_, cc as y_, cd as m_, ce as K_, cf as k_, cg as V_, ch as v_, ci as X_, cj as h_, ck as f_, cl as x_, cm as W_, cn as z_, co as w_, cp as J_, cq as Z_, cr as j_, cs as q_, ct as Q_, cu as $_, cv as aT, cw as ET, cx as _T, cy as TT, cz as sT, cA as IT, cB as ST, cC as NT, cD as eT, cE as AT } from "./lib-
|
|
1
|
+
import { A as s, a as I, b as S, c as N, d as e, e as A, f as O, B as t, g as C, h as D, i as G, j as P, k as R, l as o, m as L, n as M, o as r, p as n, q as i, r as l, s as b, t as c, u as F, v as g, w as B, x as Y, y as d, z as U, C as u, D as p, E as H, F as y, G as m, H as K, I as k, J as V, K as v, L as X, M as h, N as f, O as x, P as W, Q as z, R as w, S as J, T as Z, U as j, V as q, W as Q, X as $, Y as aa, Z as Ea, $ as _a, a0 as Ta, a1 as sa, a2 as Ia, a3 as Sa, a4 as Na, a5 as ea, a6 as Aa, a7 as Oa, a8 as ta, a9 as Ca, aa as Da, ab as Ga, ac as Pa, ad as Ra, ae as oa, af as La, ag as Ma, ah as ra, ai as na, aj as ia, ak as la, al as ba, am as ca, an as Fa, ao as ga, ap as Ba, aq as Ya, ar as da, as as Ua, at as ua, au as pa, av as Ha, aw as ya, ax as ma, ay as Ka, az as ka, aA as Va, aB as va, aC as Xa, aD as ha, aE as fa, aF as xa, aG as Wa, aH as za, aI as wa, aJ as Ja, aK as Za, aL as ja, aM as qa, aN as Qa, aO as $a, aP as aE, aQ as EE, aR as _E, aS as TE, aT as sE, aU as IE, aV as SE, aW as NE, aX as eE, aY as AE, aZ as OE, a_ as tE, a$ as CE, b0 as DE, b1 as GE, b2 as PE, b3 as RE, b4 as oE, b5 as LE, b6 as ME, b7 as rE, b8 as nE, b9 as iE, ba as lE, bb as bE, bc as cE, bd as FE, be as gE, bf as BE, bg as YE, bh as dE, bi as UE, bj as uE, bk as pE, bl as HE, bm as yE, bn as mE, bo as KE, bp as kE, bq as VE, br as vE, bs as XE, bt as hE, bu as fE, bv as xE, bw as WE, bx as zE, by as wE, bz as JE, bA as ZE, bB as jE, bC as qE, bD as QE, bE as $E, bF as a_, bG as E_, bH as __, bI as T_, bJ as s_, bK as I_, bL as S_, bM as N_, bN as e_, bO as A_, bP as O_, bQ as t_, bR as C_, bS as D_, bT as G_, bU as P_, bV as R_, bW as o_, bX as L_, bY as M_, bZ as r_, b_ as n_, b$ as i_, c0 as l_, c1 as b_, c2 as c_, c3 as F_, c4 as g_, c5 as B_, c6 as Y_, c7 as d_, c8 as U_, c9 as u_, ca as p_, cb as H_, cc as y_, cd as m_, ce as K_, cf as k_, cg as V_, ch as v_, ci as X_, cj as h_, ck as f_, cl as x_, cm as W_, cn as z_, co as w_, cp as J_, cq as Z_, cr as j_, cs as q_, ct as Q_, cu as $_, cv as aT, cw as ET, cx as _T, cy as TT, cz as sT, cA as IT, cB as ST, cC as NT, cD as eT, cE as AT } from "./lib-DOu6fL9i.js";
|
|
2
2
|
import { U as tT, u as CT } from "./useEventTracker-C5Ql5p7u.js";
|
|
3
3
|
import "vue";
|
|
4
4
|
import "vue-cropperjs";
|