@designcrowd/library.brand-page 5.18.3-ast-subnav-5 → 5.18.3-button-fix-1

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.
Files changed (44) hide show
  1. package/lib/src/{CreatedOnBrandCrowd-de-de-DlYq1LAT.js → CreatedOnBrandCrowd-de-de-DQLtpdLe.js} +1 -1
  2. package/lib/src/{CreatedOnBrandCrowd-en-us-BssRIQqn.js → CreatedOnBrandCrowd-en-us-CvEhlADd.js} +1 -1
  3. package/lib/src/{CreatedOnBrandCrowd-es-es-BGF9pptH.js → CreatedOnBrandCrowd-es-es-pYQeTTC0.js} +1 -1
  4. package/lib/src/{CreatedOnBrandCrowd-fr-fr-Caupqu2Z.js → CreatedOnBrandCrowd-fr-ca-CcE-iCEq.js} +1 -1
  5. package/lib/src/{CreatedOnBrandCrowd-fr-ca-Caupqu2Z.js → CreatedOnBrandCrowd-fr-fr-CcE-iCEq.js} +1 -1
  6. package/lib/src/{CreatedOnBrandCrowd-pt-pt-s9q4uJ4u.js → CreatedOnBrandCrowd-pt-br-OyhWWWyO.js} +1 -1
  7. package/lib/src/{CreatedOnBrandCrowd-pt-br-s9q4uJ4u.js → CreatedOnBrandCrowd-pt-pt-OyhWWWyO.js} +1 -1
  8. package/lib/src/{CreatedOnDcom-de-de-UnYnZbA7.js → CreatedOnDcom-de-de-DH98FFLS.js} +1 -1
  9. package/lib/src/{CreatedOnDcom-en-us-rDv6H12L.js → CreatedOnDcom-en-us-DK67NN1r.js} +1 -1
  10. package/lib/src/{CreatedOnDcom-es-es-DKPLaT6o.js → CreatedOnDcom-es-es-9-QU4BU6.js} +1 -1
  11. package/lib/src/{CreatedOnDcom-fr-ca-DAv34bG7.js → CreatedOnDcom-fr-ca-U9J9H9VB.js} +1 -1
  12. package/lib/src/{CreatedOnDcom-fr-fr-DsOHnS8q.js → CreatedOnDcom-fr-fr-DqdzB1DJ.js} +1 -1
  13. package/lib/src/{CreatedOnDcom-pt-br-DpjDBCLj.js → CreatedOnDcom-pt-br-c4UiWtkB.js} +1 -1
  14. package/lib/src/{CreatedOnDcom-pt-pt-rFG0unf1.js → CreatedOnDcom-pt-pt-Do2qJsYp.js} +1 -1
  15. package/lib/src/brand-page/models/navigation-styles.model.d.ts +0 -7
  16. package/lib/src/brand-page/models/navigation-styles.model.js +2 -25
  17. package/lib/src/brand-page/utils/migration.util.js +0 -7
  18. package/lib/src/brand-page-maker/stores/brandpage-maker/brandpage-maker-store.js +9 -1
  19. package/lib/src/css/library.brand-page-brandCrowd.min.css +67 -57
  20. package/lib/src/css/library.brand-page-brandPage.min.css +67 -57
  21. package/lib/src/css/library.brand-page-designCom.min.css +67 -57
  22. package/lib/src/css/library.brand-page-preview.min.css +67 -57
  23. package/lib/src/index.mjs +60 -62
  24. package/lib/src/{lib-ngdDRkSL.js → lib-BI3J4Mbk.js} +11440 -11468
  25. package/lib/src/shared/navigation-style-settings/components/navigation-style-settings/NavigationStyleSettings.mixin.js +8 -10
  26. package/lib/src/shared/navigation-style-settings/store/index.js +12 -1
  27. package/package.json +1 -1
  28. package/src/brand-page/components/button/Button.vue +10 -2
  29. package/src/brand-page/components/contact-form/ContactForm.vue +2 -2
  30. package/src/brand-page/components/navigation/navigation-side-menu/NavigationSideMenu.vue +1 -4
  31. package/src/brand-page/models/navigation-styles.model.ts +1 -39
  32. package/src/brand-page/utils/__snapshots__/migration.util.test.ts.snap +3 -3
  33. package/src/brand-page/utils/migration.util.ts +0 -8
  34. package/src/brand-page-maker/components/color-palette/BpColorPalette.vue +7 -9
  35. package/src/brand-page-maker/stores/brandpage-maker/brandpage-maker-store.test.ts +0 -43
  36. package/src/brand-page-maker/stores/brandpage-maker/brandpage-maker-store.ts +14 -0
  37. package/src/shared/content-settings/components/color-field/ColorField.vue +5 -10
  38. package/src/shared/navigation-style-settings/components/navigation-style-settings/NavigationStyleSettings.mixin.ts +11 -17
  39. package/src/shared/navigation-style-settings/components/navigation-style-settings/NavigationStyleSettings.vue +1 -4
  40. package/src/shared/navigation-style-settings/store/index.ts +21 -1
  41. package/lib/src/brand-page/utils/migration/migration-16.d.ts +0 -2
  42. package/lib/src/brand-page/utils/migration/migration-16.js +0 -48
  43. package/src/brand-page/utils/migration/migration-16.test.ts +0 -319
  44. package/src/brand-page/utils/migration/migration-16.ts +0 -76
@@ -1,5 +1,5 @@
1
1
  import { openBlock as e, createElementBlock as l, createStaticVNode as a } from "vue";
2
- import { _ as t } from "./lib-ngdDRkSL.js";
2
+ import { _ as t } from "./lib-BI3J4Mbk.js";
3
3
  const i = {}, h = {
4
4
  width: "275",
5
5
  height: "36",
@@ -1,5 +1,5 @@
1
1
  import { openBlock as e, createElementBlock as l, createStaticVNode as a } from "vue";
2
- import { _ as t } from "./lib-ngdDRkSL.js";
2
+ import { _ as t } from "./lib-BI3J4Mbk.js";
3
3
  const i = {}, h = {
4
4
  width: "251",
5
5
  height: "36",
@@ -1,5 +1,5 @@
1
1
  import { openBlock as e, createElementBlock as l, createStaticVNode as a } from "vue";
2
- import { _ as t } from "./lib-ngdDRkSL.js";
2
+ import { _ as t } from "./lib-BI3J4Mbk.js";
3
3
  const i = {}, h = {
4
4
  width: "250",
5
5
  height: "36",
@@ -1,5 +1,5 @@
1
1
  import { openBlock as e, createElementBlock as l, createStaticVNode as a } from "vue";
2
- import { _ as t } from "./lib-ngdDRkSL.js";
2
+ import { _ as t } from "./lib-BI3J4Mbk.js";
3
3
  const i = {}, h = {
4
4
  width: "237",
5
5
  height: "36",
@@ -1,5 +1,5 @@
1
1
  import { openBlock as e, createElementBlock as l, createStaticVNode as a } from "vue";
2
- import { _ as t } from "./lib-ngdDRkSL.js";
2
+ import { _ as t } from "./lib-BI3J4Mbk.js";
3
3
  const i = {}, h = {
4
4
  width: "237",
5
5
  height: "36",
@@ -1,5 +1,5 @@
1
1
  import { openBlock as e, createElementBlock as l, createStaticVNode as a } from "vue";
2
- import { _ as t } from "./lib-ngdDRkSL.js";
2
+ import { _ as t } from "./lib-BI3J4Mbk.js";
3
3
  const i = {}, h = {
4
4
  width: "263",
5
5
  height: "36",
@@ -1,5 +1,5 @@
1
1
  import { openBlock as e, createElementBlock as l, createStaticVNode as a } from "vue";
2
- import { _ as t } from "./lib-ngdDRkSL.js";
2
+ import { _ as t } from "./lib-BI3J4Mbk.js";
3
3
  const i = {}, h = {
4
4
  width: "263",
5
5
  height: "36",
@@ -1,5 +1,5 @@
1
1
  import { openBlock as H, createElementBlock as V, createStaticVNode as t } from "vue";
2
- import { _ as e } from "./lib-ngdDRkSL.js";
2
+ import { _ as e } from "./lib-BI3J4Mbk.js";
3
3
  const M = {}, Z = {
4
4
  width: "242",
5
5
  height: "36",
@@ -1,5 +1,5 @@
1
1
  import { openBlock as H, createElementBlock as V, createStaticVNode as t } from "vue";
2
- import { _ as e } from "./lib-ngdDRkSL.js";
2
+ import { _ as e } from "./lib-BI3J4Mbk.js";
3
3
  const i = {}, M = {
4
4
  width: "231",
5
5
  height: "36",
@@ -1,5 +1,5 @@
1
1
  import { openBlock as H, createElementBlock as V, createStaticVNode as t } from "vue";
2
- import { _ as e } from "./lib-ngdDRkSL.js";
2
+ import { _ as e } from "./lib-BI3J4Mbk.js";
3
3
  const M = {}, Z = {
4
4
  width: "230",
5
5
  height: "36",
@@ -1,5 +1,5 @@
1
1
  import { openBlock as H, createElementBlock as V, createStaticVNode as t } from "vue";
2
- import { _ as e } from "./lib-ngdDRkSL.js";
2
+ import { _ as e } from "./lib-BI3J4Mbk.js";
3
3
  const i = {}, l = {
4
4
  width: "216",
5
5
  height: "36",
@@ -1,5 +1,5 @@
1
1
  import { openBlock as H, createElementBlock as V, createStaticVNode as t } from "vue";
2
- import { _ as e } from "./lib-ngdDRkSL.js";
2
+ import { _ as e } from "./lib-BI3J4Mbk.js";
3
3
  const i = {}, l = {
4
4
  width: "216",
5
5
  height: "36",
@@ -1,5 +1,5 @@
1
1
  import { openBlock as H, createElementBlock as V, createStaticVNode as t } from "vue";
2
- import { _ as M } from "./lib-ngdDRkSL.js";
2
+ import { _ as M } from "./lib-BI3J4Mbk.js";
3
3
  const Z = {}, e = {
4
4
  width: "232",
5
5
  height: "36",
@@ -1,5 +1,5 @@
1
1
  import { openBlock as H, createElementBlock as V, createStaticVNode as t } from "vue";
2
- import { _ as M } from "./lib-ngdDRkSL.js";
2
+ import { _ as M } from "./lib-BI3J4Mbk.js";
3
3
  const Z = {}, e = {
4
4
  width: "232",
5
5
  height: "36",
@@ -8,13 +8,6 @@ export declare class NavigationMenuStyles {
8
8
  subNavBackgroundColor?: string;
9
9
  constructor(options: Partial<NavigationMenuStyles>, defaultOptions: Partial<NavigationMenuStyles>);
10
10
  }
11
- export declare const getDefaultSubNavBackgroundColor: (defaultTextColor: string | undefined) => string | undefined;
12
- /**
13
- * The hamburger sub nav background colour is auto color-matched only when the
14
- * user has not deliberately set it - i.e. it has no value or is transparent.
15
- * Any explicit colour (a hex) or an already color-matched key is preserved.
16
- */
17
- export declare const isUnsetOrTransparentColor: (color: string | undefined | null) => boolean;
18
11
  type NavigationStylesOptionType = Partial<Omit<NavigationDesktop | NavigationMobile, 'hamburgerMenuStyle'>> & {
19
12
  hamburgerMenuStyle?: Partial<NavigationMenuStyles>;
20
13
  };
@@ -1,4 +1,4 @@
1
- import { DEFAULT_FONT_FAMILY_KEY, DEFAULT_FONT_STYLE, DEFAULT_TEXT_ALIGN, DEFAULT_TEXT_DECORATION, FONT_FAMILY_CONFIGS, FONT_SIZE_BODY, FONT_WEIGHT_NORMAL, STYLE_THEME_KEYS, defaultHamburgerNavigation, NAVIGATION_DISPLAY, } from '../constants';
1
+ import { DEFAULT_FONT_FAMILY_KEY, DEFAULT_FONT_STYLE, DEFAULT_TEXT_ALIGN, DEFAULT_TEXT_DECORATION, FONT_FAMILY_CONFIGS, FONT_SIZE_BODY, FONT_WEIGHT_NORMAL, defaultHamburgerNavigation, NAVIGATION_DISPLAY, } from '../constants';
2
2
  import { VIEWPORTS } from './index';
3
3
  import { TEXT_STYLE_TYPES } from './index';
4
4
  import cloneDeep from 'lodash.clonedeep';
@@ -15,29 +15,6 @@ export class NavigationMenuStyles {
15
15
  options.subNavBackgroundColor ?? defaultOptions.subNavBackgroundColor;
16
16
  }
17
17
  }
18
- export const getDefaultSubNavBackgroundColor = (defaultTextColor) => {
19
- if (defaultTextColor === STYLE_THEME_KEYS.LogoTextColor ||
20
- defaultTextColor === STYLE_THEME_KEYS.LogoTextMultiColor) {
21
- return STYLE_THEME_KEYS.LogoBackgroundColor;
22
- }
23
- if (defaultTextColor === STYLE_THEME_KEYS.LogoBackgroundColor ||
24
- defaultTextColor === STYLE_THEME_KEYS.LogoBackgroundMultiColor) {
25
- return STYLE_THEME_KEYS.LogoTextColor;
26
- }
27
- return undefined;
28
- };
29
- /**
30
- * The hamburger sub nav background colour is auto color-matched only when the
31
- * user has not deliberately set it - i.e. it has no value or is transparent.
32
- * Any explicit colour (a hex) or an already color-matched key is preserved.
33
- */
34
- export const isUnsetOrTransparentColor = (color) => {
35
- if (color == null) {
36
- return true;
37
- }
38
- const normalised = color.trim().toLowerCase();
39
- return normalised === '' || normalised === 'transparent';
40
- };
41
18
  class NavigationStyles {
42
19
  displayType;
43
20
  renderAfterLogo;
@@ -102,7 +79,7 @@ class NavigationStyles {
102
79
  color: theme?.secondaryColor,
103
80
  backgroundColor: theme?.primaryColor,
104
81
  },
105
- // No sub nav default: a hex here defeats migration-16's colour match.
82
+ subNavBackgroundColor: theme?.secondaryColor,
106
83
  });
107
84
  }
108
85
  }
@@ -18,7 +18,6 @@ import { migration12_1 } from './migration/migration-12_1';
18
18
  import { migration13 } from './migration/migration-13';
19
19
  import { migration14 } from './migration/migration-14';
20
20
  import { migration15 } from './migration/migration-15';
21
- import { migration16 } from './migration/migration-16';
22
21
  const MIGRATION_TABLE = [
23
22
  {
24
23
  version: 1,
@@ -116,12 +115,6 @@ const MIGRATION_TABLE = [
116
115
  migrateFn: migration15,
117
116
  description: 'Adding default mediaOverlayStyle to background styles',
118
117
  },
119
- {
120
- version: 16,
121
- migrateFn: migration16,
122
- runAlways: true,
123
- description: 'Default sub nav background color to color match on for TAB_2 and hamburger navs depending on font color only on first load flow',
124
- },
125
118
  ];
126
119
  export const GetLatestModelVersion = () => Math.max(...MIGRATION_TABLE.map((x) => x.version));
127
120
  export const migrateBrandPageModel = async (brandPageModel, options) => {
@@ -18,7 +18,7 @@ import { useUiContentSettingsStore } from '@shared/content-settings/store';
18
18
  import { setContentSettingsAddContentOptions } from './brandpage-maker-store-utils';
19
19
  import { useAdminLogoSettingsStore } from '../admin-logo-settings';
20
20
  import { useUiPageSettingsStore } from '@shared/page-settings/store';
21
- import { mapBrandPageContentToContentSettingsItem, removeContentFieldValues, removeLogoTemplateModel, transformToRTE, } from '@brand-page-maker/utils';
21
+ import { isColorMatched, mapBrandPageContentToContentSettingsItem, removeContentFieldValues, removeLogoTemplateModel, transformToRTE, } from '@brand-page-maker/utils';
22
22
  import { useExternalRichTextEditor } from '@brand-page-maker/composables/rich-text-editor/useRichTextEditor';
23
23
  import { UI_DEVICE_MODES, UI_SCREENSIZE_MODES, } from '@shared/models';
24
24
  import { PAGE_SECTIONS } from '@shared/page-settings/models';
@@ -684,6 +684,14 @@ export const useBrandPageMakerStore = defineStore('brandPageMaker', {
684
684
  },
685
685
  },
686
686
  });
687
+ if (userStore.isAdmin && !this.isUserDraft) {
688
+ for (const viewport of [VIEWPORTS.desktop, VIEWPORTS.mobile]) {
689
+ const hamburger = navigationStyleSettingsStore.navigation[PAGE_SECTIONS.header][viewport].hamburgerMenuStyle;
690
+ if (isColorMatched(hamburger.subNavBackgroundColor)) {
691
+ hamburger.subNavBackgroundColor = undefined;
692
+ }
693
+ }
694
+ }
687
695
  uiStore.setThirdPartySettings({
688
696
  thirdPartySettings: {
689
697
  unsplashApplicationName,
@@ -5703,7 +5703,7 @@ input[data-v-4cd691db]::-webkit-inner-spin-button {
5703
5703
  content: '\00A0';
5704
5704
  }
5705
5705
 
5706
- .c-button[data-v-1cc1be4f] {
5706
+ .c-button[data-v-dff82fb8] {
5707
5707
  --icon-h: 1.5rem;
5708
5708
  --icon-m-r: 2rem;
5709
5709
  --icon-m-icon: 0.5rem;
@@ -5714,61 +5714,70 @@ input[data-v-4cd691db]::-webkit-inner-spin-button {
5714
5714
  text-align: center;
5715
5715
  text-decoration: none;
5716
5716
  }
5717
- .bp-button[data-v-1cc1be4f] .c-button__icon-img img {
5717
+
5718
+ /* Shape-library icons (vector, nested in .c-shape, no class on the img):
5719
+ render at the default icon size, centered in normal flow like the SVG icons. */
5720
+ .bp-button[data-v-dff82fb8] .c-button__icon-img img {
5718
5721
  max-width: none;
5719
5722
  -o-object-fit: cover;
5720
5723
  object-fit: cover;
5724
+ width: var(--icon-w);
5725
+ height: var(--icon-h);
5726
+ }
5727
+
5728
+ /* Raster image thumbnails (FallbackImage renders <img class="c-image">):
5729
+ render larger/prominent and centered over the icon slot. */
5730
+ .bp-button[data-v-dff82fb8] .c-button__icon-img img.c-image {
5721
5731
  --icon-img-size: 2.3rem;
5722
- --icon-img-offset-x: calc((var(--button-p-x) - var(--button-p-y)) * 2);
5723
5732
  position: absolute;
5724
5733
  top: calc(var(--icon-img-size) / -2 + var(--icon-h) / 2);
5725
- left: calc(var(--icon-img-size) / -2 + var(--icon-img-offset-x));
5734
+ left: calc(var(--icon-img-size) / -2 + var(--icon-w) / 2);
5726
5735
  width: var(--icon-img-size);
5727
5736
  height: var(--icon-img-size);
5728
5737
  }
5729
- .c-button--disabled[data-v-1cc1be4f] {
5738
+ .c-button--disabled[data-v-dff82fb8] {
5730
5739
  pointer-events: none;
5731
5740
  }
5732
- .c-button[data-v-1cc1be4f]:hover .c-button__label p {
5741
+ .c-button[data-v-dff82fb8]:hover .c-button__label p {
5733
5742
  text-decoration: underline;
5734
5743
  }
5735
- .c-button__icon[data-v-1cc1be4f] {
5744
+ .c-button__icon[data-v-dff82fb8] {
5736
5745
  margin-right: var(--icon-m-r);
5737
5746
  }
5738
- .bp-button[data-v-1cc1be4f] .c-button__icon-img {
5747
+ .bp-button[data-v-dff82fb8] .c-button__icon-img {
5739
5748
  margin-right: var(--icon-m-r);
5740
5749
  width: var(--icon-w);
5741
5750
  height: var(--icon-h);
5742
5751
  }
5743
- .c-button__label[data-v-1cc1be4f] {
5752
+ .c-button__label[data-v-dff82fb8] {
5744
5753
  margin: 0 auto;
5745
5754
  word-break: break-word;
5746
5755
  overflow-wrap: anywhere;
5747
5756
  width: auto;
5748
5757
  }
5749
- .c-button__label--offset-sm[data-v-1cc1be4f] {
5758
+ .c-button__label--offset-sm[data-v-dff82fb8] {
5750
5759
  -webkit-transform: translateX(-1.5rem);
5751
5760
  transform: translateX(-1.5rem);
5752
5761
  }
5753
- .c-button__label--offset-md[data-v-1cc1be4f] {
5762
+ .c-button__label--offset-md[data-v-dff82fb8] {
5754
5763
  -webkit-transform: translateX(-1.75rem);
5755
5764
  transform: translateX(-1.75rem);
5756
5765
  }
5757
- .c-button__label--offset-lg[data-v-1cc1be4f] {
5766
+ .c-button__label--offset-lg[data-v-dff82fb8] {
5758
5767
  -webkit-transform: translateX(-1.5rem);
5759
5768
  transform: translateX(-1.5rem);
5760
5769
  }
5761
- .c-button__no-icon[data-v-1cc1be4f] {
5770
+ .c-button__no-icon[data-v-dff82fb8] {
5762
5771
  margin-right: var(--icon-m-r);
5763
5772
  width: var(--icon-w);
5764
5773
  height: var(--icon-h);
5765
5774
  }
5766
- .device-wrapper--mobile .c-button__icon[data-v-1cc1be4f] {
5775
+ .device-wrapper--mobile .c-button__icon[data-v-dff82fb8] {
5767
5776
  margin: 0;
5768
5777
  margin-right: var(--icon-m-r);
5769
5778
  }
5770
5779
  @media (min-width: 767px) {
5771
- .c-button__icon[data-v-1cc1be4f] {
5780
+ .c-button__icon[data-v-dff82fb8] {
5772
5781
  margin: 0 var(--icon-m-icon);
5773
5782
  }
5774
5783
  }
@@ -6148,57 +6157,57 @@ select[data-v-14e7c7c7] {
6148
6157
  width: 100%;
6149
6158
  }
6150
6159
 
6151
- .form-error[data-v-b05afa44] {
6160
+ .form-error[data-v-e408a650] {
6152
6161
  font-size: 0.875rem;
6153
6162
  line-height: 1.25rem;
6154
6163
  color: #f21b3f;
6155
6164
  }
6156
- .contact-container[data-v-b05afa44] {
6165
+ .contact-container[data-v-e408a650] {
6157
6166
  max-width: var(--brandsite-max-width);
6158
6167
  margin: 0 auto;
6159
6168
  }
6160
- .c-text-padding[data-v-b05afa44] {
6169
+ .c-text-padding[data-v-e408a650] {
6161
6170
  padding-left: 1rem;
6162
6171
  padding-right: 1rem;
6163
6172
  }
6164
- .device-wrapper--mobile .c-divided-container[data-v-b05afa44] {
6173
+ .device-wrapper--mobile .c-divided-container[data-v-e408a650] {
6165
6174
  -webkit-box-orient: vertical;
6166
6175
  -webkit-box-direction: normal;
6167
6176
  -ms-flex-direction: column;
6168
6177
  flex-direction: column;
6169
6178
  }
6170
- .device-wrapper--mobile .c-divided-container-reverse[data-v-b05afa44] {
6179
+ .device-wrapper--mobile .c-divided-container-reverse[data-v-e408a650] {
6171
6180
  -webkit-box-orient: vertical;
6172
6181
  -webkit-box-direction: reverse;
6173
6182
  -ms-flex-direction: column-reverse;
6174
6183
  flex-direction: column-reverse;
6175
6184
  }
6176
6185
  @media (max-width: 767px) {
6177
- .c-button-full[data-v-b05afa44] {
6186
+ .c-button-full[data-v-e408a650] {
6178
6187
  width: 100%;
6179
6188
  }
6180
- .c-col-span-2[data-v-b05afa44] {
6189
+ .c-col-span-2[data-v-e408a650] {
6181
6190
  grid-column: span 2 / span 2;
6182
6191
  }
6183
- .c-mobile-padding[data-v-b05afa44] {
6192
+ .c-mobile-padding[data-v-e408a650] {
6184
6193
  padding: 1rem;
6185
6194
  }
6186
- .c-text-padding[data-v-b05afa44] {
6195
+ .c-text-padding[data-v-e408a650] {
6187
6196
  grid-column: span 2 / span 2;
6188
6197
  padding-left: 0px;
6189
6198
  padding-right: 0px;
6190
6199
  }
6191
- .c-py-6[data-v-b05afa44] {
6200
+ .c-py-6[data-v-e408a650] {
6192
6201
  padding-top: 1.5rem;
6193
6202
  padding-bottom: 1.5rem;
6194
6203
  }
6195
- .c-divided-container[data-v-b05afa44] {
6204
+ .c-divided-container[data-v-e408a650] {
6196
6205
  -webkit-box-orient: vertical;
6197
6206
  -webkit-box-direction: normal;
6198
6207
  -ms-flex-direction: column;
6199
6208
  flex-direction: column;
6200
6209
  }
6201
- .c-divided-container-reverse[data-v-b05afa44] {
6210
+ .c-divided-container-reverse[data-v-e408a650] {
6202
6211
  -webkit-box-orient: vertical;
6203
6212
  -webkit-box-direction: reverse;
6204
6213
  -ms-flex-direction: column-reverse;
@@ -6206,16 +6215,16 @@ select[data-v-14e7c7c7] {
6206
6215
  }
6207
6216
  }
6208
6217
  @media (min-width: 767px) {
6209
- .c-aspect-square[data-v-b05afa44] {
6218
+ .c-aspect-square[data-v-e408a650] {
6210
6219
  aspect-ratio: 1 / 1;
6211
6220
  }
6212
- .c-divided-container[data-v-b05afa44] {
6221
+ .c-divided-container[data-v-e408a650] {
6213
6222
  -webkit-box-orient: horizontal;
6214
6223
  -webkit-box-direction: normal;
6215
6224
  -ms-flex-direction: row;
6216
6225
  flex-direction: row;
6217
6226
  }
6218
- .c-divided-container-reverse[data-v-b05afa44] {
6227
+ .c-divided-container-reverse[data-v-e408a650] {
6219
6228
  -webkit-box-orient: horizontal;
6220
6229
  -webkit-box-direction: reverse;
6221
6230
  -ms-flex-direction: row-reverse;
@@ -7391,7 +7400,7 @@ select[data-v-14e7c7c7] {
7391
7400
  }
7392
7401
  }
7393
7402
 
7394
- .c-overlay[data-v-a8c3857a] {
7403
+ .c-overlay[data-v-2bbe6b3e] {
7395
7404
  position: fixed;
7396
7405
  inset: 0px;
7397
7406
  z-index: 40;
@@ -7409,23 +7418,22 @@ select[data-v-14e7c7c7] {
7409
7418
  -webkit-transition-timing-function: cubic-bezier(0, 0, 0.2, 1);
7410
7419
  transition-timing-function: cubic-bezier(0, 0, 0.2, 1);
7411
7420
  }
7412
- .c-overlay--open[data-v-a8c3857a] {
7421
+ .c-overlay--open[data-v-2bbe6b3e] {
7413
7422
  opacity: 0.7;
7414
7423
  }
7415
- .c-overlay--closed[data-v-a8c3857a] {
7424
+ .c-overlay--closed[data-v-2bbe6b3e] {
7416
7425
  pointer-events: none;
7417
7426
  display: none;
7418
7427
  opacity: 0;
7419
7428
  }
7420
- .c-sidebar[data-v-a8c3857a] {
7421
- /* No hardcoded background: the panel background comes from the hamburger
7422
- defaultButtonStyle (bound via :style), so a transparent/unset default bg
7423
- renders transparent instead of being forced white */
7429
+ .c-sidebar[data-v-2bbe6b3e] {
7424
7430
  position: fixed;
7425
7431
  inset: 0px;
7426
7432
  z-index: 50;
7427
7433
  height: 100%;
7428
7434
  width: 20rem;
7435
+ --tw-bg-opacity: 1;
7436
+ background-color: rgb(255 255 255 / var(--tw-bg-opacity));
7429
7437
  -webkit-transition-property: all;
7430
7438
  transition-property: all;
7431
7439
  -webkit-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
@@ -7437,26 +7445,26 @@ select[data-v-14e7c7c7] {
7437
7445
  max-width: 66%;
7438
7446
  }
7439
7447
  @media (min-width: 768px) {
7440
- .device--mobile .c-sidebar[data-v-a8c3857a] {
7448
+ .device--mobile .c-sidebar[data-v-2bbe6b3e] {
7441
7449
  width: 66.666667%;
7442
7450
  }
7443
7451
  }
7444
- .c-sidebar--closed[data-v-a8c3857a] {
7452
+ .c-sidebar--closed[data-v-2bbe6b3e] {
7445
7453
  -webkit-transform: translateX(-100%);
7446
7454
  transform: translateX(-100%);
7447
7455
  visibility: hidden;
7448
7456
  }
7449
- .c-sidebar--open[data-v-a8c3857a] {
7457
+ .c-sidebar--open[data-v-2bbe6b3e] {
7450
7458
  -webkit-transform: translateX(0%);
7451
7459
  transform: translateX(0%);
7452
7460
  }
7453
- .c-chevron-transform[data-v-a8c3857a] {
7461
+ .c-chevron-transform[data-v-2bbe6b3e] {
7454
7462
  -webkit-transition: -webkit-transform 0.3s ease;
7455
7463
  transition: -webkit-transform 0.3s ease;
7456
7464
  transition: transform 0.3s ease;
7457
7465
  transition: transform 0.3s ease, -webkit-transform 0.3s ease;
7458
7466
  }
7459
- .c-chevron-expanded[data-v-a8c3857a] {
7467
+ .c-chevron-expanded[data-v-2bbe6b3e] {
7460
7468
  -webkit-transform: rotate(180deg);
7461
7469
  transform: rotate(180deg);
7462
7470
  }
@@ -8036,25 +8044,27 @@ body {
8036
8044
  transform: scale(1.025);
8037
8045
  }
8038
8046
 
8039
- .c-color[data-v-9af09d53] {
8047
+ .c-color[data-v-4dd5f95d] {
8040
8048
  -webkit-box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.1);
8041
8049
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.1);
8042
8050
  }
8043
- .c-color[data-v-9af09d53]:hover {
8051
+ .c-color[data-v-4dd5f95d]:hover {
8044
8052
  -webkit-box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.3);
8045
8053
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.3);
8046
8054
  -webkit-transform: scale(1.025);
8047
8055
  transform: scale(1.025);
8048
8056
  }
8049
- .c-transparent[data-v-9af09d53] {
8050
- background: linear-gradient(
8051
- 135deg,
8052
- transparent calc(50% - 1.5px),
8053
- red 50%,
8054
- transparent calc(50% + 1.5px)
8055
- );
8057
+ .c-color[data-v-4dd5f95d] {
8058
+ -webkit-box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.1);
8059
+ box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.1);
8060
+ }
8061
+ .c-color[data-v-4dd5f95d]:hover {
8062
+ -webkit-box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.3);
8063
+ box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.3);
8064
+ -webkit-transform: scale(1.025);
8065
+ transform: scale(1.025);
8056
8066
  }
8057
- .maker-color-palette__popup[data-v-9af09d53] {
8067
+ .maker-color-palette__popup[data-v-4dd5f95d] {
8058
8068
  position: absolute;
8059
8069
  padding: 0.625rem;
8060
8070
  background: white;
@@ -8068,13 +8078,13 @@ body {
8068
8078
  height: fit-content;
8069
8079
  max-width: 100%;
8070
8080
  }
8071
- .maker-color-palette__widget-body[data-v-9af09d53] {
8081
+ .maker-color-palette__widget-body[data-v-4dd5f95d] {
8072
8082
  height: 100%;
8073
8083
  overflow-x: hidden;
8074
8084
  overflow-y: auto;
8075
8085
  padding: 0.625rem;
8076
8086
  }
8077
- .picker-button[data-v-9af09d53] {
8087
+ .picker-button[data-v-4dd5f95d] {
8078
8088
  width: 100%;
8079
8089
  border: 1px solid #878787;
8080
8090
  text-transform: uppercase;
@@ -8083,14 +8093,14 @@ body {
8083
8093
  cursor: pointer;
8084
8094
  }
8085
8095
  @media print, screen and (min-width: 40em) {
8086
- .maker-color-palette__popup[data-v-9af09d53] {
8096
+ .maker-color-palette__popup[data-v-4dd5f95d] {
8087
8097
  bottom: initial;
8088
8098
  height: auto;
8089
8099
  top: 1.25rem;
8090
8100
  width: calc(100% - 36px);
8091
8101
  }
8092
8102
  }
8093
- .maker-text-color__icon[data-v-9af09d53] {
8103
+ .maker-text-color__icon[data-v-4dd5f95d] {
8094
8104
  display: -webkit-box;
8095
8105
  display: -ms-flexbox;
8096
8106
  display: flex;
@@ -8104,7 +8114,7 @@ body {
8104
8114
  height: 32px;
8105
8115
  margin-top: 15px;
8106
8116
  }
8107
- .maker-text-color__icon .active[data-v-9af09d53] {
8117
+ .maker-text-color__icon .active[data-v-4dd5f95d] {
8108
8118
  font-weight: bold;
8109
8119
  background: #e3e3e3;
8110
8120
  }