design-system-next 1.6.2 → 1.6.3

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.
@@ -5845,7 +5845,7 @@ const Ho = (e, t) => {
5845
5845
  baseClasses: i,
5846
5846
  imageSizeClasses: a
5847
5847
  };
5848
- }), n = P(() => !(process.env.NODE_ENV === "development") && r.value ? new URL((/* @__PURE__ */ Object.assign({}))[`/assets/empty-states/${s.value}.svg`], import.meta.url).href : s.value ? new URL((/* @__PURE__ */ Object.assign({ "../../assets/images/empty-states/bug.svg": x3, "../../assets/images/empty-states/clock.svg": w3, "../../assets/images/empty-states/dashboard.svg": T3, "../../assets/images/empty-states/employees.svg": L3, "../../assets/images/empty-states/government-id.svg": O3, "../../assets/images/empty-states/integration.svg": k3, "../../assets/images/empty-states/list.svg": S3, "../../assets/images/empty-states/social-media-handles.svg": _3, "../../assets/images/empty-states/work-in-progress.svg": E3, "../../assets/images/empty-states/work-location.svg": Y3 }))[`../../assets/images/empty-states/${s.value}.svg`], import.meta.url).href : "");
5848
+ }), n = P(() => !(process.env.NODE_ENV === "development") && r.value ? `/assets/empty-states/${s.value}.svg` : s.value ? new URL((/* @__PURE__ */ Object.assign({ "../../assets/images/empty-states/bug.svg": x3, "../../assets/images/empty-states/clock.svg": w3, "../../assets/images/empty-states/dashboard.svg": T3, "../../assets/images/empty-states/employees.svg": L3, "../../assets/images/empty-states/government-id.svg": O3, "../../assets/images/empty-states/integration.svg": k3, "../../assets/images/empty-states/list.svg": S3, "../../assets/images/empty-states/social-media-handles.svg": _3, "../../assets/images/empty-states/work-in-progress.svg": E3, "../../assets/images/empty-states/work-location.svg": Y3 }))[`../../assets/images/empty-states/${s.value}.svg`], import.meta.url).href : "");
5849
5849
  return {
5850
5850
  emptyStateClasses: o,
5851
5851
  getImageUrl: n
Binary file
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "design-system-next",
3
3
  "private": false,
4
- "version": "1.6.2",
4
+ "version": "1.6.3",
5
5
  "main": "./dist/design-system-next.js",
6
6
  "module": "./dist/design-system-next.js",
7
7
  "repository": {
@@ -36,7 +36,7 @@ export const useEmptyState = (props: EmptyStatePropTypes) => {
36
36
  const isDevelopment = process.env.NODE_ENV === 'development';
37
37
 
38
38
  if (!isDevelopment && imageDocPath.value) {
39
- return new URL(`/assets/empty-states/${image.value}.svg`, import.meta.url).href;
39
+ return `/assets/empty-states/${image.value}.svg`;
40
40
  }
41
41
 
42
42
  return image.value ? new URL(`../../assets/images/empty-states/${image.value}.svg`, import.meta.url).href : '';