@getmicdrop/svelte-components 2.0.9 → 2.0.11

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.
@@ -4,6 +4,7 @@
4
4
  import Input from "../../Input/Input.svelte";
5
5
  import Modal from "../../Modal/Modal.svelte";
6
6
  import { showToast } from "../../../stores/toaster";
7
+ import { API_BASE_URL } from "../../../config.js";
7
8
  import { microphonePlaceholder, getUserDetails } from "../../../utils/utils";
8
9
  import {
9
10
  formatHour,
@@ -226,7 +227,7 @@
226
227
  };
227
228
 
228
229
  const visitEventPage = () => {
229
- window.open(getEventUrl(venueId), "_blank");
230
+ window.open(`${API_BASE_URL}/e/${id}`, "_blank");
230
231
  };
231
232
 
232
233
  function navigateToUpdateAvailability() {
@@ -1 +1 @@
1
- {"version":3,"file":"ShowItemCard.svelte.d.ts","sourceRoot":"","sources":["../../../../src/lib/components/pages/performers/ShowItemCard.svelte.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;AA8oBA;;;;;;;;;;;;;;;;;;mBAAkK;6CATrH,KAAK,SAAS,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,QAAQ,MAAM,SAAS,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,QAAQ,KAAK,SAAS,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,QAAQ,OAAO,OAAO,QAAQ;IAC3L,cAAc,OAAO,QAAQ,EAAE,2BAA2B,CAAC,KAAK,CAAC,GAAG,OAAO,QAAQ,EAAE,eAAe,CAAC,KAAK,EAAE,MAAM,EAAE,KAAK,CAAC,GAAG;QAAE,UAAU,CAAC,EAAE,QAAQ,CAAA;KAAE,GAAG,OAAO,CAAC;IACjK,WAAW,OAAO,SAAS,KAAK,GAAG;QAAC,QAAQ,CAAC,EAAE,MAAM,CAAC;QAAC,OAAO,CAAC,EAAE,KAAK,CAAA;KAAC,GAAG,OAAO,GAAG;QAAE,IAAI,CAAC,EAAE,GAAG,CAAC;QAAC,GAAG,CAAC,EAAE,GAAG,CAAA;KAAE,CAAC;IAC9G,eAAe,QAAQ,CAAC"}
1
+ {"version":3,"file":"ShowItemCard.svelte.d.ts","sourceRoot":"","sources":["../../../../src/lib/components/pages/performers/ShowItemCard.svelte.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAgpBA;;;;;;;;;;;;;;;;;;mBAAkK;6CATrH,KAAK,SAAS,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,QAAQ,MAAM,SAAS,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,QAAQ,KAAK,SAAS,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,QAAQ,OAAO,OAAO,QAAQ;IAC3L,cAAc,OAAO,QAAQ,EAAE,2BAA2B,CAAC,KAAK,CAAC,GAAG,OAAO,QAAQ,EAAE,eAAe,CAAC,KAAK,EAAE,MAAM,EAAE,KAAK,CAAC,GAAG;QAAE,UAAU,CAAC,EAAE,QAAQ,CAAA;KAAE,GAAG,OAAO,CAAC;IACjK,WAAW,OAAO,SAAS,KAAK,GAAG;QAAC,QAAQ,CAAC,EAAE,MAAM,CAAC;QAAC,OAAO,CAAC,EAAE,KAAK,CAAA;KAAC,GAAG,OAAO,GAAG;QAAE,IAAI,CAAC,EAAE,GAAG,CAAC;QAAC,GAAG,CAAC,EAAE,GAAG,CAAA;KAAE,CAAC;IAC9G,eAAe,QAAQ,CAAC"}
package/dist/index.d.ts CHANGED
@@ -75,6 +75,7 @@ export { default as CustomImageDropzone } from "./components/pages/settings/tabs
75
75
  export { default as ShowList } from "./components/pages/shows/ShowList.svelte";
76
76
  export { default as TabContent } from "./components/pages/shows/TabContent.svelte";
77
77
  export { default as TabNavigation } from "./components/pages/shows/TabNavigation.svelte";
78
+ export * from "./config.js";
78
79
  export * from "./telemetry.js";
79
80
  export * from "./constants/formOptions.js";
80
81
  //# sourceMappingURL=index.d.ts.map
package/dist/index.js CHANGED
@@ -106,6 +106,6 @@ export { default as TabContent } from './components/pages/shows/TabContent.svelt
106
106
  export { default as TabNavigation } from './components/pages/shows/TabNavigation.svelte';
107
107
 
108
108
  // Lib exports (non-component)
109
- export { config } from './config.js';
109
+ export * from './config.js';
110
110
  export * from './telemetry.js';
111
111
  export * from './constants/formOptions.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@getmicdrop/svelte-components",
3
- "version": "2.0.9",
3
+ "version": "2.0.11",
4
4
  "description": "Shared component library for Micdrop applications",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",