trimble-terra 1.1.29 → 1.1.30

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 +1 @@
1
- {"version":3,"file":"SiteNavPromo.d.ts","sourceRoot":"","sources":["../../../../src/navigation/SiteNav/SiteNavPromo.tsx"],"names":[],"mappings":"AAGA,MAAM,WAAW,wBAAwB;IACvC,KAAK,CAAC,EAAE;QACN,GAAG,EAAE,MAAM,CAAC;QACZ,GAAG,EAAE,MAAM,CAAC;QACZ,eAAe,EAAE;YACf,uBAAuB,EAAE,OAAO,CAAC;YACjC,GAAG,EAAE,MAAM,CAAC;YACZ,CAAC,EAAE,MAAM,CAAC;YACV,CAAC,EAAE,MAAM,CAAC;YACV,KAAK,EAAE,MAAM,CAAC;YACd,KAAK,EAAE,MAAM,CAAC;YACd,MAAM,EAAE,MAAM,CAAC;SAChB,CAAC;KACH,CAAC;IACF,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;IACpB,QAAQ,EAAE;QACR,GAAG,EAAE,MAAM,CAAC;QACZ,IAAI,EAAE,MAAM,CAAC;KACd,CAAC;IACF,WAAW,EAAE,GAAG,CAAC;IACjB,aAAa,EAAE,GAAG,CAAC;IACnB,YAAY,CAAC,EAAE,MAAM,IAAI,GAAG,IAAI,CAAC;CAClC;AAED,eAAO,MAAM,mBAAmB,GAAI,oFAQjC,wBAAwB,gCAuC1B,CAAC;AAEF,eAAe,mBAAmB,CAAC"}
1
+ {"version":3,"file":"SiteNavPromo.d.ts","sourceRoot":"","sources":["../../../../src/navigation/SiteNav/SiteNavPromo.tsx"],"names":[],"mappings":"AAGA,MAAM,WAAW,wBAAwB;IACvC,KAAK,CAAC,EAAE;QACN,GAAG,EAAE,MAAM,CAAC;QACZ,GAAG,EAAE,MAAM,CAAC;QACZ,eAAe,EAAE;YACf,uBAAuB,EAAE,OAAO,CAAC;YACjC,GAAG,EAAE,MAAM,CAAC;YACZ,CAAC,EAAE,MAAM,CAAC;YACV,CAAC,EAAE,MAAM,CAAC;YACV,KAAK,EAAE,MAAM,CAAC;YACd,KAAK,EAAE,MAAM,CAAC;YACd,MAAM,EAAE,MAAM,CAAC;SAChB,CAAC;KACH,CAAC;IACF,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;IACpB,QAAQ,EAAE;QACR,GAAG,EAAE,MAAM,CAAC;QACZ,IAAI,EAAE,MAAM,CAAC;KACd,CAAC;IACF,WAAW,EAAE,GAAG,CAAC;IACjB,aAAa,EAAE,GAAG,CAAC;IACnB,YAAY,CAAC,EAAE,MAAM,IAAI,GAAG,IAAI,CAAC;CAClC;AAED,eAAO,MAAM,mBAAmB,GAAI,oFAQjC,wBAAwB,gCA4C1B,CAAC;AAEF,eAAe,mBAAmB,CAAC"}
@@ -5,13 +5,13 @@ const N = ({
5
5
  image: n,
6
6
  title: r,
7
7
  description: s,
8
- pageLink: e,
9
- navPromoRef: o,
10
- LinkComponent: m,
11
- closeHandler: c
8
+ pageLink: t,
9
+ navPromoRef: m,
10
+ LinkComponent: c,
11
+ closeHandler: e
12
12
  }) => {
13
- const t = n?.src || n?.focalPointImage?.url || "", l = t.includes(".bmp") ? "" : `${t}?w=400&h=300&fm=webp`;
14
- return /* @__PURE__ */ i("div", { className: "t2-site-nav-main__nav-promo", ref: o, children: [
13
+ const o = n?.src || n?.focalPointImage?.url || "", l = o.includes(".bmp") ? "" : `${o}?w=400&h=300&fm=webp`;
14
+ return /* @__PURE__ */ i("div", { className: "t2-site-nav-main__nav-promo", ref: m, children: [
15
15
  /* @__PURE__ */ a(
16
16
  "img",
17
17
  {
@@ -28,13 +28,13 @@ const N = ({
28
28
  p,
29
29
  {
30
30
  className: "t2-site-nav-main__nav-promo-link",
31
- destination: e?.url,
31
+ destination: t?.url,
32
32
  linkType: "text",
33
33
  tabIndex: 0,
34
- LinkComponent: m,
35
- onClickHandler: c,
34
+ LinkComponent: c,
35
+ onClickHandler: e ? () => setTimeout(e, 0) : void 0,
36
36
  children: [
37
- e?.text,
37
+ t?.text,
38
38
  " ",
39
39
  /* @__PURE__ */ a("span", { className: "t2-site-nav-main__nav-promo-icon", children: /* @__PURE__ */ a(
40
40
  v,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "trimble-terra",
3
- "version": "1.1.29",
3
+ "version": "1.1.30",
4
4
  "description": "Trimble Terra — React component library for Trimble MXP2 web experiences",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -76,7 +76,8 @@
76
76
  "format:check": "prettier --check \"src/**/*.{ts,tsx,js,jsx}\"",
77
77
  "test": "playwright test",
78
78
  "test:update-snapshots": "playwright test --update-snapshots",
79
- "npm-publish": "git checkout react19 && git pull && npm install && npm version patch && npm run build && npm publish && git push"
79
+ "npm-publish": "git checkout react19 && git pull && npm install && npm version patch && npm run build && npm publish && git push",
80
+ "npm-publish:beta": "npm run build && npm version prerelease --preid=beta && npm publish --tag beta && git push --follow-tags"
80
81
  },
81
82
  "peerDependencies": {
82
83
  "@trimble-creative-strategy/trimble-mxp-icons": "^1.1.3",
@@ -1,3 +0,0 @@
1
- export const __esModule: true;
2
- export function SpecialButton(_a: any): any;
3
- //# sourceMappingURL=SpecialButton.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"SpecialButton.d.ts","sourceRoot":"","sources":["../../../../../src/component/SpecialButton/dist/SpecialButton.js"],"names":[],"mappings":";AA+CwB,4CAmGvB"}