@spear-ai/spectral 1.3.12 → 1.3.14

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 (62) hide show
  1. package/dist/.js +14 -1
  2. package/dist/Accordion/AccordionBase.js +14 -1
  3. package/dist/App.js +14 -1
  4. package/dist/Badge/BadgeBase.js +14 -1
  5. package/dist/Badge.js +14 -1
  6. package/dist/Button.js +14 -1
  7. package/dist/Card.js +14 -1
  8. package/dist/Checkbox/CheckboxBase.js +14 -1
  9. package/dist/Drawer.js +14 -1
  10. package/dist/Icons/AnnotationsIcon.js +14 -1
  11. package/dist/Icons/CalendarIcon.js +14 -1
  12. package/dist/Icons/ClockIcon.js +14 -1
  13. package/dist/Icons/DeleteIcon.js +14 -1
  14. package/dist/Icons/DurationIcon.js +14 -1
  15. package/dist/Icons/EraserIcon.js +14 -1
  16. package/dist/Icons/GoToFirstIcon.js +14 -1
  17. package/dist/Icons/GoToLastIcon.js +14 -1
  18. package/dist/Icons/IconBase.js +14 -1
  19. package/dist/Icons/LabelIcon.js +14 -1
  20. package/dist/Icons/LassoIcon.js +14 -1
  21. package/dist/Icons/LineToolIcon.js +14 -1
  22. package/dist/Icons/LiveViewIcon.js +14 -1
  23. package/dist/Icons/LocationIcon.js +14 -1
  24. package/dist/Icons/MetadataIcon.js +14 -1
  25. package/dist/Icons/OntologyIcon.js +14 -1
  26. package/dist/Icons/PlayIcon.js +14 -1
  27. package/dist/Icons/PlusIcon.js +14 -1
  28. package/dist/Icons/ResetIcon.js +14 -1
  29. package/dist/Icons/ScissorsIcon.js +14 -1
  30. package/dist/Icons/TrashIcon.js +14 -1
  31. package/dist/Icons/UndoIcon.js +14 -1
  32. package/dist/Icons/ZoomAllIcon.js +14 -1
  33. package/dist/Icons/ZoomXIcon.js +14 -1
  34. package/dist/Icons/ZoomYIcon.js +14 -1
  35. package/dist/Icons/iconTypes.js +14 -1
  36. package/dist/Icons.js +14 -1
  37. package/dist/Label.js +14 -1
  38. package/dist/Popover.js +14 -1
  39. package/dist/RadioGroup/RadioGroupBase.js +14 -1
  40. package/dist/Skeleton.js +14 -1
  41. package/dist/Slider/SliderBase.js +14 -1
  42. package/dist/Slider.js +14 -1
  43. package/dist/Switch/SwitchBase.js +14 -1
  44. package/dist/Switch.js +14 -1
  45. package/dist/Toggle/ToggleBase.js +14 -1
  46. package/dist/Toggle.js +14 -1
  47. package/dist/ToggleGroup/ToggleGroupBase.js +14 -1
  48. package/dist/ToggleGroup.js +14 -1
  49. package/dist/Toolbar.js +14 -1
  50. package/dist/Tooltip/TooltipBase.js +14 -1
  51. package/dist/Tooltip.js +14 -1
  52. package/dist/features/LabelingTools.js +14 -1
  53. package/dist/hooks/useAccordionAutoScroll.js +14 -1
  54. package/dist/hooks/useOutsideClick.js +14 -1
  55. package/dist/hooks/useTheme.js +14 -1
  56. package/dist/main.js +14 -1
  57. package/dist/primitives/label.js +14 -1
  58. package/dist/primitives/slot.js +14 -1
  59. package/dist/utils/refs.js +14 -1
  60. package/dist/utils/shared.js +14 -1
  61. package/dist/utils/twUtils.js +14 -1
  62. package/package.json +7 -3
package/dist/.js CHANGED
@@ -1,4 +1,17 @@
1
- import(/* @vite-ignore */ new URL('./assets/main.css', import.meta.url).href)
1
+
2
+ (function() {
3
+ if (typeof document !== 'undefined' &&
4
+ !document.querySelector('link[data-spectral-css]') &&
5
+ !window.location.pathname.includes('iframe.html') &&
6
+ !document.querySelector('[data-is-storybook]')) {
7
+ const link = document.createElement('link');
8
+ link.rel = 'stylesheet';
9
+ link.setAttribute('data-spectral-css', '');
10
+ const baseUrl = new URL('.', import.meta.url);
11
+ link.href = new URL('assets/main.css', baseUrl).href;
12
+ document.head.appendChild(link);
13
+ }
14
+ })();
2
15
  import { Badge as p } from "./Badge.js";
3
16
  import { Button as n } from "./Button.js";
4
17
  import { Card as x } from "./Card.js";
@@ -1,4 +1,17 @@
1
- import(/* @vite-ignore */ new URL('./assets/main.css', import.meta.url).href)
1
+
2
+ (function() {
3
+ if (typeof document !== 'undefined' &&
4
+ !document.querySelector('link[data-spectral-css]') &&
5
+ !window.location.pathname.includes('iframe.html') &&
6
+ !document.querySelector('[data-is-storybook]')) {
7
+ const link = document.createElement('link');
8
+ link.rel = 'stylesheet';
9
+ link.setAttribute('data-spectral-css', '');
10
+ const baseUrl = new URL('.', import.meta.url);
11
+ link.href = new URL('assets/main.css', baseUrl).href;
12
+ document.head.appendChild(link);
13
+ }
14
+ })();
2
15
  import { jsx as C } from "react/jsx-runtime";
3
16
  import { Slot as M } from "../primitives/slot.js";
4
17
  import { createContext as j, forwardRef as V, useRef as S, useState as O, useCallback as I, useEffect as T, useContext as N, useId as H, useLayoutEffect as L } from "react";
package/dist/App.js CHANGED
@@ -1,4 +1,17 @@
1
- import(/* @vite-ignore */ new URL('./assets/main.css', import.meta.url).href)
1
+
2
+ (function() {
3
+ if (typeof document !== 'undefined' &&
4
+ !document.querySelector('link[data-spectral-css]') &&
5
+ !window.location.pathname.includes('iframe.html') &&
6
+ !document.querySelector('[data-is-storybook]')) {
7
+ const link = document.createElement('link');
8
+ link.rel = 'stylesheet';
9
+ link.setAttribute('data-spectral-css', '');
10
+ const baseUrl = new URL('.', import.meta.url);
11
+ link.href = new URL('assets/main.css', baseUrl).href;
12
+ document.head.appendChild(link);
13
+ }
14
+ })();
2
15
  import { jsx as r } from "react/jsx-runtime";
3
16
  function p() {
4
17
  return /* @__PURE__ */ r("div", { children: "spectral | spear.ai" });
@@ -1,4 +1,17 @@
1
- import(/* @vite-ignore */ new URL('./assets/main.css', import.meta.url).href)
1
+
2
+ (function() {
3
+ if (typeof document !== 'undefined' &&
4
+ !document.querySelector('link[data-spectral-css]') &&
5
+ !window.location.pathname.includes('iframe.html') &&
6
+ !document.querySelector('[data-is-storybook]')) {
7
+ const link = document.createElement('link');
8
+ link.rel = 'stylesheet';
9
+ link.setAttribute('data-spectral-css', '');
10
+ const baseUrl = new URL('.', import.meta.url);
11
+ link.href = new URL('assets/main.css', baseUrl).href;
12
+ document.head.appendChild(link);
13
+ }
14
+ })();
2
15
  import { jsx as i } from "react/jsx-runtime";
3
16
  import { Slot as o } from "../primitives/slot.js";
4
17
  import { c as n } from "../twUtils-CRiPKpXj.js";
package/dist/Badge.js CHANGED
@@ -1,4 +1,17 @@
1
- import(/* @vite-ignore */ new URL('./assets/main.css', import.meta.url).href)
1
+
2
+ (function() {
3
+ if (typeof document !== 'undefined' &&
4
+ !document.querySelector('link[data-spectral-css]') &&
5
+ !window.location.pathname.includes('iframe.html') &&
6
+ !document.querySelector('[data-is-storybook]')) {
7
+ const link = document.createElement('link');
8
+ link.rel = 'stylesheet';
9
+ link.setAttribute('data-spectral-css', '');
10
+ const baseUrl = new URL('.', import.meta.url);
11
+ link.href = new URL('assets/main.css', baseUrl).href;
12
+ document.head.appendChild(link);
13
+ }
14
+ })();
2
15
  import { jsx as e } from "react/jsx-runtime";
3
16
  import { BadgeBase as t } from "./Badge/BadgeBase.js";
4
17
  const p = ({ children: r, ...o }) => /* @__PURE__ */ e(t, { ...o, children: r });
package/dist/Button.js CHANGED
@@ -1,4 +1,17 @@
1
- import(/* @vite-ignore */ new URL('./assets/main.css', import.meta.url).href)
1
+
2
+ (function() {
3
+ if (typeof document !== 'undefined' &&
4
+ !document.querySelector('link[data-spectral-css]') &&
5
+ !window.location.pathname.includes('iframe.html') &&
6
+ !document.querySelector('[data-is-storybook]')) {
7
+ const link = document.createElement('link');
8
+ link.rel = 'stylesheet';
9
+ link.setAttribute('data-spectral-css', '');
10
+ const baseUrl = new URL('.', import.meta.url);
11
+ link.href = new URL('assets/main.css', baseUrl).href;
12
+ document.head.appendChild(link);
13
+ }
14
+ })();
2
15
  import { jsxs as l, jsx as e } from "react/jsx-runtime";
3
16
  import { c as u } from "./twUtils-CRiPKpXj.js";
4
17
  import { c as f } from "./index-CRBC94ik.js";
package/dist/Card.js CHANGED
@@ -1,4 +1,17 @@
1
- import(/* @vite-ignore */ new URL('./assets/main.css', import.meta.url).href)
1
+
2
+ (function() {
3
+ if (typeof document !== 'undefined' &&
4
+ !document.querySelector('link[data-spectral-css]') &&
5
+ !window.location.pathname.includes('iframe.html') &&
6
+ !document.querySelector('[data-is-storybook]')) {
7
+ const link = document.createElement('link');
8
+ link.rel = 'stylesheet';
9
+ link.setAttribute('data-spectral-css', '');
10
+ const baseUrl = new URL('.', import.meta.url);
11
+ link.href = new URL('assets/main.css', baseUrl).href;
12
+ document.head.appendChild(link);
13
+ }
14
+ })();
2
15
  import { jsxs as n, jsx as e } from "react/jsx-runtime";
3
16
  import { c as a } from "./twUtils-CRiPKpXj.js";
4
17
  import { forwardRef as u } from "react";
@@ -1,4 +1,17 @@
1
- import(/* @vite-ignore */ new URL('./assets/main.css', import.meta.url).href)
1
+
2
+ (function() {
3
+ if (typeof document !== 'undefined' &&
4
+ !document.querySelector('link[data-spectral-css]') &&
5
+ !window.location.pathname.includes('iframe.html') &&
6
+ !document.querySelector('[data-is-storybook]')) {
7
+ const link = document.createElement('link');
8
+ link.rel = 'stylesheet';
9
+ link.setAttribute('data-spectral-css', '');
10
+ const baseUrl = new URL('.', import.meta.url);
11
+ link.href = new URL('assets/main.css', baseUrl).href;
12
+ document.head.appendChild(link);
13
+ }
14
+ })();
2
15
  import { jsx as m, jsxs as M } from "react/jsx-runtime";
3
16
  import { Slot as C } from "../primitives/slot.js";
4
17
  import { useControllableState as O, cn as w } from "../utils/shared.js";
package/dist/Drawer.js CHANGED
@@ -1,4 +1,17 @@
1
- import(/* @vite-ignore */ new URL('./assets/main.css', import.meta.url).href)
1
+
2
+ (function() {
3
+ if (typeof document !== 'undefined' &&
4
+ !document.querySelector('link[data-spectral-css]') &&
5
+ !window.location.pathname.includes('iframe.html') &&
6
+ !document.querySelector('[data-is-storybook]')) {
7
+ const link = document.createElement('link');
8
+ link.rel = 'stylesheet';
9
+ link.setAttribute('data-spectral-css', '');
10
+ const baseUrl = new URL('.', import.meta.url);
11
+ link.href = new URL('assets/main.css', baseUrl).href;
12
+ document.head.appendChild(link);
13
+ }
14
+ })();
2
15
  import { jsx as S, jsxs as gt, Fragment as te } from "react/jsx-runtime";
3
16
  import * as O from "react";
4
17
  import i, { useMemo as je, useLayoutEffect as qe, useEffect as Xe } from "react";
@@ -1,4 +1,17 @@
1
- import(/* @vite-ignore */ new URL('./assets/main.css', import.meta.url).href)
1
+
2
+ (function() {
3
+ if (typeof document !== 'undefined' &&
4
+ !document.querySelector('link[data-spectral-css]') &&
5
+ !window.location.pathname.includes('iframe.html') &&
6
+ !document.querySelector('[data-is-storybook]')) {
7
+ const link = document.createElement('link');
8
+ link.rel = 'stylesheet';
9
+ link.setAttribute('data-spectral-css', '');
10
+ const baseUrl = new URL('.', import.meta.url);
11
+ link.href = new URL('assets/main.css', baseUrl).href;
12
+ document.head.appendChild(link);
13
+ }
14
+ })();
2
15
  import { jsx as o } from "react/jsx-runtime";
3
16
  import a from "./IconBase.js";
4
17
  import { forwardRef as c } from "react";
@@ -1,4 +1,17 @@
1
- import(/* @vite-ignore */ new URL('./assets/main.css', import.meta.url).href)
1
+
2
+ (function() {
3
+ if (typeof document !== 'undefined' &&
4
+ !document.querySelector('link[data-spectral-css]') &&
5
+ !window.location.pathname.includes('iframe.html') &&
6
+ !document.querySelector('[data-is-storybook]')) {
7
+ const link = document.createElement('link');
8
+ link.rel = 'stylesheet';
9
+ link.setAttribute('data-spectral-css', '');
10
+ const baseUrl = new URL('.', import.meta.url);
11
+ link.href = new URL('assets/main.css', baseUrl).href;
12
+ document.head.appendChild(link);
13
+ }
14
+ })();
2
15
  import { jsxs as i, jsx as r } from "react/jsx-runtime";
3
16
  import a from "./IconBase.js";
4
17
  import { forwardRef as k } from "react";
@@ -1,4 +1,17 @@
1
- import(/* @vite-ignore */ new URL('./assets/main.css', import.meta.url).href)
1
+
2
+ (function() {
3
+ if (typeof document !== 'undefined' &&
4
+ !document.querySelector('link[data-spectral-css]') &&
5
+ !window.location.pathname.includes('iframe.html') &&
6
+ !document.querySelector('[data-is-storybook]')) {
7
+ const link = document.createElement('link');
8
+ link.rel = 'stylesheet';
9
+ link.setAttribute('data-spectral-css', '');
10
+ const baseUrl = new URL('.', import.meta.url);
11
+ link.href = new URL('assets/main.css', baseUrl).href;
12
+ document.head.appendChild(link);
13
+ }
14
+ })();
2
15
  import { jsxs as c, jsx as o } from "react/jsx-runtime";
3
16
  import d from "./IconBase.js";
4
17
  import { forwardRef as k } from "react";
@@ -1,4 +1,17 @@
1
- import(/* @vite-ignore */ new URL('./assets/main.css', import.meta.url).href)
1
+
2
+ (function() {
3
+ if (typeof document !== 'undefined' &&
4
+ !document.querySelector('link[data-spectral-css]') &&
5
+ !window.location.pathname.includes('iframe.html') &&
6
+ !document.querySelector('[data-is-storybook]')) {
7
+ const link = document.createElement('link');
8
+ link.rel = 'stylesheet';
9
+ link.setAttribute('data-spectral-css', '');
10
+ const baseUrl = new URL('.', import.meta.url);
11
+ link.href = new URL('assets/main.css', baseUrl).href;
12
+ document.head.appendChild(link);
13
+ }
14
+ })();
2
15
  import { jsxs as d, jsx as r } from "react/jsx-runtime";
3
16
  import C from "./IconBase.js";
4
17
  import { forwardRef as a } from "react";
@@ -1,4 +1,17 @@
1
- import(/* @vite-ignore */ new URL('./assets/main.css', import.meta.url).href)
1
+
2
+ (function() {
3
+ if (typeof document !== 'undefined' &&
4
+ !document.querySelector('link[data-spectral-css]') &&
5
+ !window.location.pathname.includes('iframe.html') &&
6
+ !document.querySelector('[data-is-storybook]')) {
7
+ const link = document.createElement('link');
8
+ link.rel = 'stylesheet';
9
+ link.setAttribute('data-spectral-css', '');
10
+ const baseUrl = new URL('.', import.meta.url);
11
+ link.href = new URL('assets/main.css', baseUrl).href;
12
+ document.head.appendChild(link);
13
+ }
14
+ })();
2
15
  import { jsxs as d, jsx as r } from "react/jsx-runtime";
3
16
  import k from "./IconBase.js";
4
17
  import { forwardRef as u } from "react";
@@ -1,4 +1,17 @@
1
- import(/* @vite-ignore */ new URL('./assets/main.css', import.meta.url).href)
1
+
2
+ (function() {
3
+ if (typeof document !== 'undefined' &&
4
+ !document.querySelector('link[data-spectral-css]') &&
5
+ !window.location.pathname.includes('iframe.html') &&
6
+ !document.querySelector('[data-is-storybook]')) {
7
+ const link = document.createElement('link');
8
+ link.rel = 'stylesheet';
9
+ link.setAttribute('data-spectral-css', '');
10
+ const baseUrl = new URL('.', import.meta.url);
11
+ link.href = new URL('assets/main.css', baseUrl).href;
12
+ document.head.appendChild(link);
13
+ }
14
+ })();
2
15
  import { jsxs as t, jsx as r } from "react/jsx-runtime";
3
16
  import h, { SvgIdContext as a } from "./IconBase.js";
4
17
  import { forwardRef as l, useContext as p } from "react";
@@ -1,4 +1,17 @@
1
- import(/* @vite-ignore */ new URL('./assets/main.css', import.meta.url).href)
1
+
2
+ (function() {
3
+ if (typeof document !== 'undefined' &&
4
+ !document.querySelector('link[data-spectral-css]') &&
5
+ !window.location.pathname.includes('iframe.html') &&
6
+ !document.querySelector('[data-is-storybook]')) {
7
+ const link = document.createElement('link');
8
+ link.rel = 'stylesheet';
9
+ link.setAttribute('data-spectral-css', '');
10
+ const baseUrl = new URL('.', import.meta.url);
11
+ link.href = new URL('assets/main.css', baseUrl).href;
12
+ document.head.appendChild(link);
13
+ }
14
+ })();
2
15
  import { jsxs as d, jsx as o } from "react/jsx-runtime";
3
16
  import a from "./IconBase.js";
4
17
  import { forwardRef as c } from "react";
@@ -1,4 +1,17 @@
1
- import(/* @vite-ignore */ new URL('./assets/main.css', import.meta.url).href)
1
+
2
+ (function() {
3
+ if (typeof document !== 'undefined' &&
4
+ !document.querySelector('link[data-spectral-css]') &&
5
+ !window.location.pathname.includes('iframe.html') &&
6
+ !document.querySelector('[data-is-storybook]')) {
7
+ const link = document.createElement('link');
8
+ link.rel = 'stylesheet';
9
+ link.setAttribute('data-spectral-css', '');
10
+ const baseUrl = new URL('.', import.meta.url);
11
+ link.href = new URL('assets/main.css', baseUrl).href;
12
+ document.head.appendChild(link);
13
+ }
14
+ })();
2
15
  import { jsxs as a, jsx as o } from "react/jsx-runtime";
3
16
  import d from "./IconBase.js";
4
17
  import { forwardRef as c } from "react";
@@ -1,4 +1,17 @@
1
- import(/* @vite-ignore */ new URL('./assets/main.css', import.meta.url).href)
1
+
2
+ (function() {
3
+ if (typeof document !== 'undefined' &&
4
+ !document.querySelector('link[data-spectral-css]') &&
5
+ !window.location.pathname.includes('iframe.html') &&
6
+ !document.querySelector('[data-is-storybook]')) {
7
+ const link = document.createElement('link');
8
+ link.rel = 'stylesheet';
9
+ link.setAttribute('data-spectral-css', '');
10
+ const baseUrl = new URL('.', import.meta.url);
11
+ link.href = new URL('assets/main.css', baseUrl).href;
12
+ document.head.appendChild(link);
13
+ }
14
+ })();
2
15
  import { jsxs as c, jsx as o, Fragment as m } from "react/jsx-runtime";
3
16
  import { createContext as w, forwardRef as x, useId as f } from "react";
4
17
  const u = w(""), v = ({ children: d, title: i, size: n = 24, ariaHidden: e, description: t = "", className: h = "", style: a }, g) => {
@@ -1,4 +1,17 @@
1
- import(/* @vite-ignore */ new URL('./assets/main.css', import.meta.url).href)
1
+
2
+ (function() {
3
+ if (typeof document !== 'undefined' &&
4
+ !document.querySelector('link[data-spectral-css]') &&
5
+ !window.location.pathname.includes('iframe.html') &&
6
+ !document.querySelector('[data-is-storybook]')) {
7
+ const link = document.createElement('link');
8
+ link.rel = 'stylesheet';
9
+ link.setAttribute('data-spectral-css', '');
10
+ const baseUrl = new URL('.', import.meta.url);
11
+ link.href = new URL('assets/main.css', baseUrl).href;
12
+ document.head.appendChild(link);
13
+ }
14
+ })();
2
15
  import { jsx as r } from "react/jsx-runtime";
3
16
  import s from "./IconBase.js";
4
17
  import { forwardRef as c } from "react";
@@ -1,4 +1,17 @@
1
- import(/* @vite-ignore */ new URL('./assets/main.css', import.meta.url).href)
1
+
2
+ (function() {
3
+ if (typeof document !== 'undefined' &&
4
+ !document.querySelector('link[data-spectral-css]') &&
5
+ !window.location.pathname.includes('iframe.html') &&
6
+ !document.querySelector('[data-is-storybook]')) {
7
+ const link = document.createElement('link');
8
+ link.rel = 'stylesheet';
9
+ link.setAttribute('data-spectral-css', '');
10
+ const baseUrl = new URL('.', import.meta.url);
11
+ link.href = new URL('assets/main.css', baseUrl).href;
12
+ document.head.appendChild(link);
13
+ }
14
+ })();
2
15
  import { jsxs as C, jsx as o } from "react/jsx-runtime";
3
16
  import d from "./IconBase.js";
4
17
  import { forwardRef as a } from "react";
@@ -1,4 +1,17 @@
1
- import(/* @vite-ignore */ new URL('./assets/main.css', import.meta.url).href)
1
+
2
+ (function() {
3
+ if (typeof document !== 'undefined' &&
4
+ !document.querySelector('link[data-spectral-css]') &&
5
+ !window.location.pathname.includes('iframe.html') &&
6
+ !document.querySelector('[data-is-storybook]')) {
7
+ const link = document.createElement('link');
8
+ link.rel = 'stylesheet';
9
+ link.setAttribute('data-spectral-css', '');
10
+ const baseUrl = new URL('.', import.meta.url);
11
+ link.href = new URL('assets/main.css', baseUrl).href;
12
+ document.head.appendChild(link);
13
+ }
14
+ })();
2
15
  import { jsxs as i, jsx as r } from "react/jsx-runtime";
3
16
  import k from "./IconBase.js";
4
17
  import { forwardRef as a } from "react";
@@ -1,4 +1,17 @@
1
- import(/* @vite-ignore */ new URL('./assets/main.css', import.meta.url).href)
1
+
2
+ (function() {
3
+ if (typeof document !== 'undefined' &&
4
+ !document.querySelector('link[data-spectral-css]') &&
5
+ !window.location.pathname.includes('iframe.html') &&
6
+ !document.querySelector('[data-is-storybook]')) {
7
+ const link = document.createElement('link');
8
+ link.rel = 'stylesheet';
9
+ link.setAttribute('data-spectral-css', '');
10
+ const baseUrl = new URL('.', import.meta.url);
11
+ link.href = new URL('assets/main.css', baseUrl).href;
12
+ document.head.appendChild(link);
13
+ }
14
+ })();
2
15
  import { jsxs as d, jsx as r } from "react/jsx-runtime";
3
16
  import k from "./IconBase.js";
4
17
  import { forwardRef as C } from "react";
@@ -1,4 +1,17 @@
1
- import(/* @vite-ignore */ new URL('./assets/main.css', import.meta.url).href)
1
+
2
+ (function() {
3
+ if (typeof document !== 'undefined' &&
4
+ !document.querySelector('link[data-spectral-css]') &&
5
+ !window.location.pathname.includes('iframe.html') &&
6
+ !document.querySelector('[data-is-storybook]')) {
7
+ const link = document.createElement('link');
8
+ link.rel = 'stylesheet';
9
+ link.setAttribute('data-spectral-css', '');
10
+ const baseUrl = new URL('.', import.meta.url);
11
+ link.href = new URL('assets/main.css', baseUrl).href;
12
+ document.head.appendChild(link);
13
+ }
14
+ })();
2
15
  import { jsxs as C, jsx as o } from "react/jsx-runtime";
3
16
  import a from "./IconBase.js";
4
17
  import { forwardRef as c } from "react";
@@ -1,4 +1,17 @@
1
- import(/* @vite-ignore */ new URL('./assets/main.css', import.meta.url).href)
1
+
2
+ (function() {
3
+ if (typeof document !== 'undefined' &&
4
+ !document.querySelector('link[data-spectral-css]') &&
5
+ !window.location.pathname.includes('iframe.html') &&
6
+ !document.querySelector('[data-is-storybook]')) {
7
+ const link = document.createElement('link');
8
+ link.rel = 'stylesheet';
9
+ link.setAttribute('data-spectral-css', '');
10
+ const baseUrl = new URL('.', import.meta.url);
11
+ link.href = new URL('assets/main.css', baseUrl).href;
12
+ document.head.appendChild(link);
13
+ }
14
+ })();
2
15
  import { jsx as r } from "react/jsx-runtime";
3
16
  import i from "./IconBase.js";
4
17
  import { forwardRef as s } from "react";
@@ -1,4 +1,17 @@
1
- import(/* @vite-ignore */ new URL('./assets/main.css', import.meta.url).href)
1
+
2
+ (function() {
3
+ if (typeof document !== 'undefined' &&
4
+ !document.querySelector('link[data-spectral-css]') &&
5
+ !window.location.pathname.includes('iframe.html') &&
6
+ !document.querySelector('[data-is-storybook]')) {
7
+ const link = document.createElement('link');
8
+ link.rel = 'stylesheet';
9
+ link.setAttribute('data-spectral-css', '');
10
+ const baseUrl = new URL('.', import.meta.url);
11
+ link.href = new URL('assets/main.css', baseUrl).href;
12
+ document.head.appendChild(link);
13
+ }
14
+ })();
2
15
  import { jsxs as k, jsx as r } from "react/jsx-runtime";
3
16
  import a from "./IconBase.js";
4
17
  import { forwardRef as c } from "react";
@@ -1,4 +1,17 @@
1
- import(/* @vite-ignore */ new URL('./assets/main.css', import.meta.url).href)
1
+
2
+ (function() {
3
+ if (typeof document !== 'undefined' &&
4
+ !document.querySelector('link[data-spectral-css]') &&
5
+ !window.location.pathname.includes('iframe.html') &&
6
+ !document.querySelector('[data-is-storybook]')) {
7
+ const link = document.createElement('link');
8
+ link.rel = 'stylesheet';
9
+ link.setAttribute('data-spectral-css', '');
10
+ const baseUrl = new URL('.', import.meta.url);
11
+ link.href = new URL('assets/main.css', baseUrl).href;
12
+ document.head.appendChild(link);
13
+ }
14
+ })();
2
15
  import { jsx as r } from "react/jsx-runtime";
3
16
  import s from "./IconBase.js";
4
17
  import { forwardRef as c } from "react";
@@ -1,4 +1,17 @@
1
- import(/* @vite-ignore */ new URL('./assets/main.css', import.meta.url).href)
1
+
2
+ (function() {
3
+ if (typeof document !== 'undefined' &&
4
+ !document.querySelector('link[data-spectral-css]') &&
5
+ !window.location.pathname.includes('iframe.html') &&
6
+ !document.querySelector('[data-is-storybook]')) {
7
+ const link = document.createElement('link');
8
+ link.rel = 'stylesheet';
9
+ link.setAttribute('data-spectral-css', '');
10
+ const baseUrl = new URL('.', import.meta.url);
11
+ link.href = new URL('assets/main.css', baseUrl).href;
12
+ document.head.appendChild(link);
13
+ }
14
+ })();
2
15
  import { jsx as o } from "react/jsx-runtime";
3
16
  import i from "./IconBase.js";
4
17
  import { forwardRef as C } from "react";
@@ -1,4 +1,17 @@
1
- import(/* @vite-ignore */ new URL('./assets/main.css', import.meta.url).href)
1
+
2
+ (function() {
3
+ if (typeof document !== 'undefined' &&
4
+ !document.querySelector('link[data-spectral-css]') &&
5
+ !window.location.pathname.includes('iframe.html') &&
6
+ !document.querySelector('[data-is-storybook]')) {
7
+ const link = document.createElement('link');
8
+ link.rel = 'stylesheet';
9
+ link.setAttribute('data-spectral-css', '');
10
+ const baseUrl = new URL('.', import.meta.url);
11
+ link.href = new URL('assets/main.css', baseUrl).href;
12
+ document.head.appendChild(link);
13
+ }
14
+ })();
2
15
  import { jsx as r } from "react/jsx-runtime";
3
16
  import c from "./IconBase.js";
4
17
  import { forwardRef as i } from "react";
@@ -1,4 +1,17 @@
1
- import(/* @vite-ignore */ new URL('./assets/main.css', import.meta.url).href)
1
+
2
+ (function() {
3
+ if (typeof document !== 'undefined' &&
4
+ !document.querySelector('link[data-spectral-css]') &&
5
+ !window.location.pathname.includes('iframe.html') &&
6
+ !document.querySelector('[data-is-storybook]')) {
7
+ const link = document.createElement('link');
8
+ link.rel = 'stylesheet';
9
+ link.setAttribute('data-spectral-css', '');
10
+ const baseUrl = new URL('.', import.meta.url);
11
+ link.href = new URL('assets/main.css', baseUrl).href;
12
+ document.head.appendChild(link);
13
+ }
14
+ })();
2
15
  import { jsxs as l, jsx as r } from "react/jsx-runtime";
3
16
  import t from "./IconBase.js";
4
17
  import { forwardRef as c } from "react";
@@ -1,4 +1,17 @@
1
- import(/* @vite-ignore */ new URL('./assets/main.css', import.meta.url).href)
1
+
2
+ (function() {
3
+ if (typeof document !== 'undefined' &&
4
+ !document.querySelector('link[data-spectral-css]') &&
5
+ !window.location.pathname.includes('iframe.html') &&
6
+ !document.querySelector('[data-is-storybook]')) {
7
+ const link = document.createElement('link');
8
+ link.rel = 'stylesheet';
9
+ link.setAttribute('data-spectral-css', '');
10
+ const baseUrl = new URL('.', import.meta.url);
11
+ link.href = new URL('assets/main.css', baseUrl).href;
12
+ document.head.appendChild(link);
13
+ }
14
+ })();
2
15
  import { jsx as C } from "react/jsx-runtime";
3
16
  import L from "./IconBase.js";
4
17
  import { forwardRef as n } from "react";
@@ -1,4 +1,17 @@
1
- import(/* @vite-ignore */ new URL('./assets/main.css', import.meta.url).href)
1
+
2
+ (function() {
3
+ if (typeof document !== 'undefined' &&
4
+ !document.querySelector('link[data-spectral-css]') &&
5
+ !window.location.pathname.includes('iframe.html') &&
6
+ !document.querySelector('[data-is-storybook]')) {
7
+ const link = document.createElement('link');
8
+ link.rel = 'stylesheet';
9
+ link.setAttribute('data-spectral-css', '');
10
+ const baseUrl = new URL('.', import.meta.url);
11
+ link.href = new URL('assets/main.css', baseUrl).href;
12
+ document.head.appendChild(link);
13
+ }
14
+ })();
2
15
  import { jsx as o } from "react/jsx-runtime";
3
16
  import s from "./IconBase.js";
4
17
  import { forwardRef as a } from "react";
@@ -1,4 +1,17 @@
1
- import(/* @vite-ignore */ new URL('./assets/main.css', import.meta.url).href)
1
+
2
+ (function() {
3
+ if (typeof document !== 'undefined' &&
4
+ !document.querySelector('link[data-spectral-css]') &&
5
+ !window.location.pathname.includes('iframe.html') &&
6
+ !document.querySelector('[data-is-storybook]')) {
7
+ const link = document.createElement('link');
8
+ link.rel = 'stylesheet';
9
+ link.setAttribute('data-spectral-css', '');
10
+ const baseUrl = new URL('.', import.meta.url);
11
+ link.href = new URL('assets/main.css', baseUrl).href;
12
+ document.head.appendChild(link);
13
+ }
14
+ })();
2
15
  import { jsxs as d, jsx as o } from "react/jsx-runtime";
3
16
  import k from "./IconBase.js";
4
17
  import { forwardRef as u } from "react";