@designcrowd/library.brand-page 5.10.12 → 5.10.13

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,5 +1,5 @@
1
1
  import i18next from 'i18next';
2
- import { setSharedLibLocaleAsync } from '@designcrowd/fe-shared-lib';
2
+ import { setLocaleAsync as setSharedLocaleAsync } from '@designcrowd/fe-shared-lib';
3
3
  const fallbackLocale = 'en-US';
4
4
  const supportedLocales = [
5
5
  'en-US',
@@ -36,7 +36,7 @@ const setLocaleAsync = async (locale) => {
36
36
  });
37
37
  }
38
38
  await i18next.addResourceBundle(localeToUse, 'bp', { ...languageFile });
39
- await setSharedLibLocaleAsync(localeToUse);
39
+ await setSharedLocaleAsync(localeToUse);
40
40
  };
41
41
  const tr = (key, valuesToInterpolate = {}, nameSpace = 'bp') => {
42
42
  const translated = i18next.t(key, { ns: nameSpace, ...valuesToInterpolate });
@@ -4263,13 +4263,13 @@ a.maker-anchor {
4263
4263
  }
4264
4264
 
4265
4265
  @media (max-width: 640px) {
4266
- [data-v-d940c2d8] .publish-bp--modal {
4266
+ [data-v-8c2dddc7] .publish-bp--modal {
4267
4267
  max-height: 90vh;
4268
4268
  width: 90vw;
4269
4269
  }
4270
4270
  }
4271
4271
  @media (min-width: 640px) {
4272
- [data-v-d940c2d8] .publish-bp--modal {
4272
+ [data-v-8c2dddc7] .publish-bp--modal {
4273
4273
  max-height: 80vh;
4274
4274
  width: 90vw;
4275
4275
  }
@@ -4590,13 +4590,13 @@ a.maker-anchor {
4590
4590
  }
4591
4591
 
4592
4592
  @media (max-width: 640px) {
4593
- [data-v-d940c2d8] .publish-bp--modal {
4593
+ [data-v-8c2dddc7] .publish-bp--modal {
4594
4594
  max-height: 90vh;
4595
4595
  width: 90vw;
4596
4596
  }
4597
4597
  }
4598
4598
  @media (min-width: 640px) {
4599
- [data-v-d940c2d8] .publish-bp--modal {
4599
+ [data-v-8c2dddc7] .publish-bp--modal {
4600
4600
  max-height: 80vh;
4601
4601
  width: 90vw;
4602
4602
  }
@@ -4281,13 +4281,13 @@ a:not(.tw-lowercase) {
4281
4281
  }
4282
4282
 
4283
4283
  @media (max-width: 640px) {
4284
- [data-v-d940c2d8] .publish-bp--modal {
4284
+ [data-v-8c2dddc7] .publish-bp--modal {
4285
4285
  max-height: 90vh;
4286
4286
  width: 90vw;
4287
4287
  }
4288
4288
  }
4289
4289
  @media (min-width: 640px) {
4290
- [data-v-d940c2d8] .publish-bp--modal {
4290
+ [data-v-8c2dddc7] .publish-bp--modal {
4291
4291
  max-height: 80vh;
4292
4292
  width: 90vw;
4293
4293
  }
@@ -4023,13 +4023,13 @@ a.maker-anchor {
4023
4023
  }
4024
4024
 
4025
4025
  @media (max-width: 640px) {
4026
- [data-v-d940c2d8] .publish-bp--modal {
4026
+ [data-v-8c2dddc7] .publish-bp--modal {
4027
4027
  max-height: 90vh;
4028
4028
  width: 90vw;
4029
4029
  }
4030
4030
  }
4031
4031
  @media (min-width: 640px) {
4032
- [data-v-d940c2d8] .publish-bp--modal {
4032
+ [data-v-8c2dddc7] .publish-bp--modal {
4033
4033
  max-height: 80vh;
4034
4034
  width: 90vw;
4035
4035
  }
package/lib/src/index.mjs CHANGED
@@ -9958,7 +9958,7 @@ const Y61 = /* @__PURE__ */ v(W61, [["render", K61]]), J61 = {
9958
9958
  return e.replace(/^[-]*(.)/, (t, n) => n.toUpperCase()).replace(/[-]+(.)/g, (t, n) => ` ${n.toUpperCase()}`);
9959
9959
  }
9960
9960
  }
9961
- }, X61 = ["viewBox", "data-id"], Q61 = ["id"], e51 = ["id"];
9961
+ }, X61 = ["viewBox"], Q61 = ["id"], e51 = ["id"];
9962
9962
  function t51(e, t, n, i, r, s) {
9963
9963
  return C(), h("div", {
9964
9964
  class: P(s.computedClass)
@@ -9980,8 +9980,7 @@ function t51(e, t, n, i, r, s) {
9980
9980
  }]),
9981
9981
  role: "graphics-symbol",
9982
9982
  "aria-labelledby": "title",
9983
- "aria-describedby": "desc",
9984
- "data-id": `${n.name}-${r.id}-title`
9983
+ "aria-describedby": "desc"
9985
9984
  }, [
9986
9985
  s.title ? (C(), h("title", {
9987
9986
  key: 0,
@@ -13556,16 +13555,11 @@ const S81 = /* @__PURE__ */ v(h81, [["render", v81]]), _81 = 32, p_ = {
13556
13555
  type: Boolean,
13557
13556
  required: !1,
13558
13557
  default: !1
13559
- },
13560
- requiredMessage: {
13561
- type: String,
13562
- required: !1,
13563
- default: "Please fill in this field."
13564
13558
  }
13565
13559
  },
13566
13560
  methods: {
13567
- input(e, t) {
13568
- this.$emit("update:modelValue", e), this.$emit("input", e), t != null && t.target && t.target.setCustomValidity("");
13561
+ input(e) {
13562
+ this.$emit("update:modelValue", e), this.$emit("input", e);
13569
13563
  },
13570
13564
  keyup(e) {
13571
13565
  this.$emit("keyup", e);
@@ -13634,9 +13628,6 @@ const S81 = /* @__PURE__ */ v(h81, [["render", v81]]), _81 = 32, p_ = {
13634
13628
  methods: {
13635
13629
  onClearInput() {
13636
13630
  this.enableClear ? (this.$emit("on-clear"), this.input("")) : this.enableClearConfirmation && this.$emit("on-clear-confirmation");
13637
- },
13638
- setValidationMessage(e) {
13639
- e.target.setCustomValidity(this.requiredMessage);
13640
13631
  }
13641
13632
  }
13642
13633
  }, k81 = { class: "tw-box-border" }, V81 = ["for"], T81 = {
@@ -13716,15 +13707,14 @@ function x81(e, t, n, i, r, s) {
13716
13707
  "!tw-rounded-r-none": n.borderLeft && !n.borderRight
13717
13708
  }
13718
13709
  ], "tw-text-grayscale-600 tw-box-border tw-w-full tw-text-base tw-px-4 tw-border tw-border-solid focus:tw-outline-none tw-transition-colors tw-duration-300 tw-ease-out tw-shadow-inner"],
13719
- onInvalid: t[0] || (t[0] = (...a) => s.setValidationMessage && s.setValidationMessage(...a)),
13720
- onInput: t[1] || (t[1] = l1((a) => e.input(a.target.value, a), ["stop"])),
13710
+ onInput: t[0] || (t[0] = l1((a) => e.input(a.target.value), ["stop"])),
13721
13711
  onKeyup: [
13722
- t[2] || (t[2] = l1((a) => e.keyup(a.target.value), ["stop"])),
13723
- t[6] || (t[6] = f6((a) => e.enterKeyUp(a.target.value), ["enter"]))
13712
+ t[1] || (t[1] = l1((a) => e.keyup(a.target.value), ["stop"])),
13713
+ t[5] || (t[5] = f6((a) => e.enterKeyUp(a.target.value), ["enter"]))
13724
13714
  ],
13725
- onKeydown: t[3] || (t[3] = l1((a) => e.keydown(a.target.value, a), ["stop"])),
13726
- onFocus: t[4] || (t[4] = (a) => e.focus(a.target.value)),
13727
- onBlur: t[5] || (t[5] = (a) => e.blur(a.target.value))
13715
+ onKeydown: t[2] || (t[2] = l1((a) => e.keydown(a.target.value, a), ["stop"])),
13716
+ onFocus: t[3] || (t[3] = (a) => e.focus(a.target.value)),
13717
+ onBlur: t[4] || (t[4] = (a) => e.blur(a.target.value))
13728
13718
  }), null, 16, L81),
13729
13719
  s.enableInput && e.modelValue !== "" ? (C(), h("div", {
13730
13720
  key: 1,
@@ -13732,7 +13722,7 @@ function x81(e, t, n, i, r, s) {
13732
13722
  "tw-translate-y-2.5": e.size === "sm",
13733
13723
  "tw-translate-y-1/2": e.size !== "sm"
13734
13724
  }]),
13735
- onClick: t[7] || (t[7] = (...a) => s.onClearInput && s.onClearInput(...a))
13725
+ onClick: t[6] || (t[6] = (...a) => s.onClearInput && s.onClearInput(...a))
13736
13726
  }, [
13737
13727
  V(o, {
13738
13728
  name: "close",
@@ -14821,7 +14811,7 @@ const B01 = /* @__PURE__ */ v(A01, [["render", P01]]), O01 = "textChanged", D01
14821
14811
  } catch {
14822
14812
  this.domainNameItems = [];
14823
14813
  } finally {
14824
- this.isBusy = !1, this.$emit("on-search-results-loaded");
14814
+ this.isBusy = !1;
14825
14815
  }
14826
14816
  },
14827
14817
  onBuyNowClick() {
@@ -14893,7 +14883,7 @@ const R01 = /* @__PURE__ */ v(D01, [["render", N01]]), Da = {
14893
14883
  "es-ES": () => import("./bundled-translations.es-ES-BIl9nBGQ.js"),
14894
14884
  "pt-PT": () => import("./bundled-translations.pt-PT-CT1O7aSj.js")
14895
14885
  }, z01 = async (e = "en-US") => {
14896
- const t = e || "en-US";
14886
+ const t = e;
14897
14887
  Ot.isInitialized || await Ot.init({
14898
14888
  debug: !1,
14899
14889
  fallbackLng: Z01,
@@ -15036,7 +15026,7 @@ const R01 = /* @__PURE__ */ v(D01, [["render", N01]]), Da = {
15036
15026
  brandPageType: {
15037
15027
  type: String,
15038
15028
  required: !0,
15039
- default: ""
15029
+ default: !1
15040
15030
  }
15041
15031
  },
15042
15032
  emits: [
@@ -15455,7 +15445,7 @@ function fn1(e, t, n, i, r, s) {
15455
15445
  }, null, 8, ["modelValue", "currency", "is-busy", "is-design-com", "domain-name-items", "previous-search-text", "visible", "domain-search-location", "onCloseModal"])
15456
15446
  ]);
15457
15447
  }
15458
- const gn1 = /* @__PURE__ */ v(j01, [["render", fn1], ["__scopeId", "data-v-d940c2d8"]]), mn1 = {
15448
+ const gn1 = /* @__PURE__ */ v(j01, [["render", fn1], ["__scopeId", "data-v-8c2dddc7"]]), mn1 = {
15459
15449
  components: {
15460
15450
  Icon: ue
15461
15451
  },
@@ -74467,7 +74457,7 @@ const kv = /* @__PURE__ */ v(_D1, [["render", MD1]]), kD1 = {
74467
74457
  };
74468
74458
  return (r, s) => (C(), h("header", {
74469
74459
  id: "sidebar-header",
74470
- class: P(["tw-bg-grayscale-300 tw-pb-4 tw-mb-4 tw-sticky tw-top-0 tw-z-40 tw-px-1", {
74460
+ class: P(["tw-bg-grayscale-300 tw-pb-4 tw-mb-4 tw-sticky tw-top-0 tw-z-20 tw-px-1", {
74471
74461
  "tw-border-b tw-border-solid tw-border-grayscale-500": e.title,
74472
74462
  "tw-pt-4": e.title && !e.showBackButton,
74473
74463
  "tw-py-0": !e.title
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@designcrowd/library.brand-page",
3
3
  "description": "A collection of Maker/Designer applications",
4
- "version": "5.10.12",
4
+ "version": "5.10.13",
5
5
  "author": "Design.com Eng",
6
6
  "license": "UNLICENSED",
7
7
  "type": "module",
@@ -55,7 +55,7 @@
55
55
  },
56
56
  "dependencies": {
57
57
  "@ckpack/vue-color": "1.4.1",
58
- "@designcrowd/fe-shared-lib": "1.2.6",
58
+ "@designcrowd/fe-shared-lib": "1.2.2",
59
59
  "@pinia/nuxt": "0.11.0",
60
60
  "@storybook/react": "9.0.4",
61
61
  "@tiptap/extension-character-count": "2.11.7",