@spear-ai/spectral 1.3.12 → 1.3.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.
- package/dist/.js +14 -1
- package/dist/Accordion/AccordionBase.js +14 -1
- package/dist/App.js +14 -1
- package/dist/Badge/BadgeBase.js +14 -1
- package/dist/Badge.js +14 -1
- package/dist/Button.js +14 -1
- package/dist/Card.js +14 -1
- package/dist/Checkbox/CheckboxBase.js +14 -1
- package/dist/Drawer.js +14 -1
- package/dist/Icons/AnnotationsIcon.js +14 -1
- package/dist/Icons/CalendarIcon.js +14 -1
- package/dist/Icons/ClockIcon.js +14 -1
- package/dist/Icons/DeleteIcon.js +14 -1
- package/dist/Icons/DurationIcon.js +14 -1
- package/dist/Icons/EraserIcon.js +14 -1
- package/dist/Icons/GoToFirstIcon.js +14 -1
- package/dist/Icons/GoToLastIcon.js +14 -1
- package/dist/Icons/IconBase.js +14 -1
- package/dist/Icons/LabelIcon.js +14 -1
- package/dist/Icons/LassoIcon.js +14 -1
- package/dist/Icons/LineToolIcon.js +14 -1
- package/dist/Icons/LiveViewIcon.js +14 -1
- package/dist/Icons/LocationIcon.js +14 -1
- package/dist/Icons/MetadataIcon.js +14 -1
- package/dist/Icons/OntologyIcon.js +14 -1
- package/dist/Icons/PlayIcon.js +14 -1
- package/dist/Icons/PlusIcon.js +14 -1
- package/dist/Icons/ResetIcon.js +14 -1
- package/dist/Icons/ScissorsIcon.js +14 -1
- package/dist/Icons/TrashIcon.js +14 -1
- package/dist/Icons/UndoIcon.js +14 -1
- package/dist/Icons/ZoomAllIcon.js +14 -1
- package/dist/Icons/ZoomXIcon.js +14 -1
- package/dist/Icons/ZoomYIcon.js +14 -1
- package/dist/Icons/iconTypes.js +14 -1
- package/dist/Icons.js +14 -1
- package/dist/Label.js +14 -1
- package/dist/Popover.js +14 -1
- package/dist/RadioGroup/RadioGroupBase.js +14 -1
- package/dist/Skeleton.js +14 -1
- package/dist/Slider/SliderBase.js +14 -1
- package/dist/Slider.js +14 -1
- package/dist/Switch/SwitchBase.js +14 -1
- package/dist/Switch.js +14 -1
- package/dist/Toggle/ToggleBase.js +14 -1
- package/dist/Toggle.js +14 -1
- package/dist/ToggleGroup/ToggleGroupBase.js +14 -1
- package/dist/ToggleGroup.js +14 -1
- package/dist/Toolbar.js +14 -1
- package/dist/Tooltip/TooltipBase.js +14 -1
- package/dist/Tooltip.js +14 -1
- package/dist/features/LabelingTools.js +14 -1
- package/dist/hooks/useAccordionAutoScroll.js +14 -1
- package/dist/hooks/useOutsideClick.js +14 -1
- package/dist/hooks/useTheme.js +14 -1
- package/dist/main.js +14 -1
- package/dist/primitives/label.js +14 -1
- package/dist/primitives/slot.js +14 -1
- package/dist/utils/refs.js +14 -1
- package/dist/utils/shared.js +14 -1
- package/dist/utils/twUtils.js +14 -1
- package/package.json +1 -1
package/dist/Icons/ZoomXIcon.js
CHANGED
|
@@ -1,4 +1,17 @@
|
|
|
1
|
-
|
|
1
|
+
|
|
2
|
+
// Only inject CSS for library consumers, not in Storybook
|
|
3
|
+
(function() {
|
|
4
|
+
if (typeof document !== 'undefined' &&
|
|
5
|
+
!document.querySelector('link[data-spectral-css]') &&
|
|
6
|
+
!window.location.pathname.includes('iframe.html') &&
|
|
7
|
+
!document.querySelector('[data-is-storybook]')) {
|
|
8
|
+
const link = document.createElement('link');
|
|
9
|
+
link.rel = 'stylesheet';
|
|
10
|
+
link.setAttribute('data-spectral-css', '');
|
|
11
|
+
link.href = new URL('./assets/main.css', import.meta.url).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";
|
package/dist/Icons/ZoomYIcon.js
CHANGED
|
@@ -1,4 +1,17 @@
|
|
|
1
|
-
|
|
1
|
+
|
|
2
|
+
// Only inject CSS for library consumers, not in Storybook
|
|
3
|
+
(function() {
|
|
4
|
+
if (typeof document !== 'undefined' &&
|
|
5
|
+
!document.querySelector('link[data-spectral-css]') &&
|
|
6
|
+
!window.location.pathname.includes('iframe.html') &&
|
|
7
|
+
!document.querySelector('[data-is-storybook]')) {
|
|
8
|
+
const link = document.createElement('link');
|
|
9
|
+
link.rel = 'stylesheet';
|
|
10
|
+
link.setAttribute('data-spectral-css', '');
|
|
11
|
+
link.href = new URL('./assets/main.css', import.meta.url).href;
|
|
12
|
+
document.head.appendChild(link);
|
|
13
|
+
}
|
|
14
|
+
})();
|
|
2
15
|
import { jsxs as d, jsx as o } from "react/jsx-runtime";
|
|
3
16
|
import c from "./IconBase.js";
|
|
4
17
|
import { forwardRef as k } from "react";
|
package/dist/Icons/iconTypes.js
CHANGED
|
@@ -1,2 +1,15 @@
|
|
|
1
|
-
|
|
1
|
+
|
|
2
|
+
// Only inject CSS for library consumers, not in Storybook
|
|
3
|
+
(function() {
|
|
4
|
+
if (typeof document !== 'undefined' &&
|
|
5
|
+
!document.querySelector('link[data-spectral-css]') &&
|
|
6
|
+
!window.location.pathname.includes('iframe.html') &&
|
|
7
|
+
!document.querySelector('[data-is-storybook]')) {
|
|
8
|
+
const link = document.createElement('link');
|
|
9
|
+
link.rel = 'stylesheet';
|
|
10
|
+
link.setAttribute('data-spectral-css', '');
|
|
11
|
+
link.href = new URL('./assets/main.css', import.meta.url).href;
|
|
12
|
+
document.head.appendChild(link);
|
|
13
|
+
}
|
|
14
|
+
})();
|
|
2
15
|
import "react";
|
package/dist/Icons.js
CHANGED
|
@@ -1,4 +1,17 @@
|
|
|
1
|
-
|
|
1
|
+
|
|
2
|
+
// Only inject CSS for library consumers, not in Storybook
|
|
3
|
+
(function() {
|
|
4
|
+
if (typeof document !== 'undefined' &&
|
|
5
|
+
!document.querySelector('link[data-spectral-css]') &&
|
|
6
|
+
!window.location.pathname.includes('iframe.html') &&
|
|
7
|
+
!document.querySelector('[data-is-storybook]')) {
|
|
8
|
+
const link = document.createElement('link');
|
|
9
|
+
link.rel = 'stylesheet';
|
|
10
|
+
link.setAttribute('data-spectral-css', '');
|
|
11
|
+
link.href = new URL('./assets/main.css', import.meta.url).href;
|
|
12
|
+
document.head.appendChild(link);
|
|
13
|
+
}
|
|
14
|
+
})();
|
|
2
15
|
import { AnnotationsIcon as e } from "./Icons/AnnotationsIcon.js";
|
|
3
16
|
import { CalendarIcon as n } from "./Icons/CalendarIcon.js";
|
|
4
17
|
import { ClockIcon as m } from "./Icons/ClockIcon.js";
|
package/dist/Label.js
CHANGED
|
@@ -1,4 +1,17 @@
|
|
|
1
|
-
|
|
1
|
+
|
|
2
|
+
// Only inject CSS for library consumers, not in Storybook
|
|
3
|
+
(function() {
|
|
4
|
+
if (typeof document !== 'undefined' &&
|
|
5
|
+
!document.querySelector('link[data-spectral-css]') &&
|
|
6
|
+
!window.location.pathname.includes('iframe.html') &&
|
|
7
|
+
!document.querySelector('[data-is-storybook]')) {
|
|
8
|
+
const link = document.createElement('link');
|
|
9
|
+
link.rel = 'stylesheet';
|
|
10
|
+
link.setAttribute('data-spectral-css', '');
|
|
11
|
+
link.href = new URL('./assets/main.css', import.meta.url).href;
|
|
12
|
+
document.head.appendChild(link);
|
|
13
|
+
}
|
|
14
|
+
})();
|
|
2
15
|
import { jsx as l } from "react/jsx-runtime";
|
|
3
16
|
import { c as s } from "./twUtils-CRiPKpXj.js";
|
|
4
17
|
import { c as t } from "./index-CRBC94ik.js";
|
package/dist/Popover.js
CHANGED
|
@@ -1,4 +1,17 @@
|
|
|
1
|
-
|
|
1
|
+
|
|
2
|
+
// Only inject CSS for library consumers, not in Storybook
|
|
3
|
+
(function() {
|
|
4
|
+
if (typeof document !== 'undefined' &&
|
|
5
|
+
!document.querySelector('link[data-spectral-css]') &&
|
|
6
|
+
!window.location.pathname.includes('iframe.html') &&
|
|
7
|
+
!document.querySelector('[data-is-storybook]')) {
|
|
8
|
+
const link = document.createElement('link');
|
|
9
|
+
link.rel = 'stylesheet';
|
|
10
|
+
link.setAttribute('data-spectral-css', '');
|
|
11
|
+
link.href = new URL('./assets/main.css', import.meta.url).href;
|
|
12
|
+
document.head.appendChild(link);
|
|
13
|
+
}
|
|
14
|
+
})();
|
|
2
15
|
import { jsx as s } from "react/jsx-runtime";
|
|
3
16
|
import * as i from "react";
|
|
4
17
|
import { u as L, c as z, a as G, P as x, b as H, d as O, e as _, f as P, g as K, D as j } from "./index-B7LSgz_k.js";
|
|
@@ -1,4 +1,17 @@
|
|
|
1
|
-
|
|
1
|
+
|
|
2
|
+
// Only inject CSS for library consumers, not in Storybook
|
|
3
|
+
(function() {
|
|
4
|
+
if (typeof document !== 'undefined' &&
|
|
5
|
+
!document.querySelector('link[data-spectral-css]') &&
|
|
6
|
+
!window.location.pathname.includes('iframe.html') &&
|
|
7
|
+
!document.querySelector('[data-is-storybook]')) {
|
|
8
|
+
const link = document.createElement('link');
|
|
9
|
+
link.rel = 'stylesheet';
|
|
10
|
+
link.setAttribute('data-spectral-css', '');
|
|
11
|
+
link.href = new URL('./assets/main.css', import.meta.url).href;
|
|
12
|
+
document.head.appendChild(link);
|
|
13
|
+
}
|
|
14
|
+
})();
|
|
2
15
|
import { jsx as j, jsxs as M } from "react/jsx-runtime";
|
|
3
16
|
import { Slot as S } from "../primitives/slot.js";
|
|
4
17
|
import { createContext as T, forwardRef as L, useId as U, useState as P, useRef as E, useEffect as I, useCallback as C, useContext as $, useImperativeHandle as B } from "react";
|
package/dist/Skeleton.js
CHANGED
|
@@ -1,4 +1,17 @@
|
|
|
1
|
-
|
|
1
|
+
|
|
2
|
+
// Only inject CSS for library consumers, not in Storybook
|
|
3
|
+
(function() {
|
|
4
|
+
if (typeof document !== 'undefined' &&
|
|
5
|
+
!document.querySelector('link[data-spectral-css]') &&
|
|
6
|
+
!window.location.pathname.includes('iframe.html') &&
|
|
7
|
+
!document.querySelector('[data-is-storybook]')) {
|
|
8
|
+
const link = document.createElement('link');
|
|
9
|
+
link.rel = 'stylesheet';
|
|
10
|
+
link.setAttribute('data-spectral-css', '');
|
|
11
|
+
link.href = new URL('./assets/main.css', import.meta.url).href;
|
|
12
|
+
document.head.appendChild(link);
|
|
13
|
+
}
|
|
14
|
+
})();
|
|
2
15
|
import { jsx as o } from "react/jsx-runtime";
|
|
3
16
|
import { c as n } from "./twUtils-CRiPKpXj.js";
|
|
4
17
|
import "react";
|
|
@@ -1,4 +1,17 @@
|
|
|
1
|
-
|
|
1
|
+
|
|
2
|
+
// Only inject CSS for library consumers, not in Storybook
|
|
3
|
+
(function() {
|
|
4
|
+
if (typeof document !== 'undefined' &&
|
|
5
|
+
!document.querySelector('link[data-spectral-css]') &&
|
|
6
|
+
!window.location.pathname.includes('iframe.html') &&
|
|
7
|
+
!document.querySelector('[data-is-storybook]')) {
|
|
8
|
+
const link = document.createElement('link');
|
|
9
|
+
link.rel = 'stylesheet';
|
|
10
|
+
link.setAttribute('data-spectral-css', '');
|
|
11
|
+
link.href = new URL('./assets/main.css', import.meta.url).href;
|
|
12
|
+
document.head.appendChild(link);
|
|
13
|
+
}
|
|
14
|
+
})();
|
|
2
15
|
import { jsx as k, jsxs as Q } from "react/jsx-runtime";
|
|
3
16
|
import { Slot as P } from "../primitives/slot.js";
|
|
4
17
|
import { createContext as W, forwardRef as z, useEffect as Z, useRef as B, useState as F, useCallback as A, useContext as U, createRef as _ } from "react";
|
package/dist/Slider.js
CHANGED
|
@@ -1,4 +1,17 @@
|
|
|
1
|
-
|
|
1
|
+
|
|
2
|
+
// Only inject CSS for library consumers, not in Storybook
|
|
3
|
+
(function() {
|
|
4
|
+
if (typeof document !== 'undefined' &&
|
|
5
|
+
!document.querySelector('link[data-spectral-css]') &&
|
|
6
|
+
!window.location.pathname.includes('iframe.html') &&
|
|
7
|
+
!document.querySelector('[data-is-storybook]')) {
|
|
8
|
+
const link = document.createElement('link');
|
|
9
|
+
link.rel = 'stylesheet';
|
|
10
|
+
link.setAttribute('data-spectral-css', '');
|
|
11
|
+
link.href = new URL('./assets/main.css', import.meta.url).href;
|
|
12
|
+
document.head.appendChild(link);
|
|
13
|
+
}
|
|
14
|
+
})();
|
|
2
15
|
import { jsxs as v, jsx as t } from "react/jsx-runtime";
|
|
3
16
|
import { Slider as w, SliderTrack as p, SliderRange as x, SliderThumb as S } from "./Slider/SliderBase.js";
|
|
4
17
|
import { c as a } from "./twUtils-CRiPKpXj.js";
|
|
@@ -1,4 +1,17 @@
|
|
|
1
|
-
|
|
1
|
+
|
|
2
|
+
// Only inject CSS for library consumers, not in Storybook
|
|
3
|
+
(function() {
|
|
4
|
+
if (typeof document !== 'undefined' &&
|
|
5
|
+
!document.querySelector('link[data-spectral-css]') &&
|
|
6
|
+
!window.location.pathname.includes('iframe.html') &&
|
|
7
|
+
!document.querySelector('[data-is-storybook]')) {
|
|
8
|
+
const link = document.createElement('link');
|
|
9
|
+
link.rel = 'stylesheet';
|
|
10
|
+
link.setAttribute('data-spectral-css', '');
|
|
11
|
+
link.href = new URL('./assets/main.css', import.meta.url).href;
|
|
12
|
+
document.head.appendChild(link);
|
|
13
|
+
}
|
|
14
|
+
})();
|
|
2
15
|
import { jsx as f, jsxs as K } from "react/jsx-runtime";
|
|
3
16
|
import { Slot as g } from "../primitives/slot.js";
|
|
4
17
|
import { useControllableState as M, cn as x } from "../utils/shared.js";
|
package/dist/Switch.js
CHANGED
|
@@ -1,4 +1,17 @@
|
|
|
1
|
-
|
|
1
|
+
|
|
2
|
+
// Only inject CSS for library consumers, not in Storybook
|
|
3
|
+
(function() {
|
|
4
|
+
if (typeof document !== 'undefined' &&
|
|
5
|
+
!document.querySelector('link[data-spectral-css]') &&
|
|
6
|
+
!window.location.pathname.includes('iframe.html') &&
|
|
7
|
+
!document.querySelector('[data-is-storybook]')) {
|
|
8
|
+
const link = document.createElement('link');
|
|
9
|
+
link.rel = 'stylesheet';
|
|
10
|
+
link.setAttribute('data-spectral-css', '');
|
|
11
|
+
link.href = new URL('./assets/main.css', import.meta.url).href;
|
|
12
|
+
document.head.appendChild(link);
|
|
13
|
+
}
|
|
14
|
+
})();
|
|
2
15
|
import { jsxs as w, jsx as t } from "react/jsx-runtime";
|
|
3
16
|
import { Switch as p, SwitchThumb as k } from "./Switch/SwitchBase.js";
|
|
4
17
|
import { Label as r } from "./Label.js";
|
|
@@ -1,4 +1,17 @@
|
|
|
1
|
-
|
|
1
|
+
|
|
2
|
+
// Only inject CSS for library consumers, not in Storybook
|
|
3
|
+
(function() {
|
|
4
|
+
if (typeof document !== 'undefined' &&
|
|
5
|
+
!document.querySelector('link[data-spectral-css]') &&
|
|
6
|
+
!window.location.pathname.includes('iframe.html') &&
|
|
7
|
+
!document.querySelector('[data-is-storybook]')) {
|
|
8
|
+
const link = document.createElement('link');
|
|
9
|
+
link.rel = 'stylesheet';
|
|
10
|
+
link.setAttribute('data-spectral-css', '');
|
|
11
|
+
link.href = new URL('./assets/main.css', import.meta.url).href;
|
|
12
|
+
document.head.appendChild(link);
|
|
13
|
+
}
|
|
14
|
+
})();
|
|
2
15
|
import { jsx as h } from "react/jsx-runtime";
|
|
3
16
|
import { useControllableState as k } from "../utils/shared.js";
|
|
4
17
|
import { forwardRef as C, useCallback as f } from "react";
|
package/dist/Toggle.js
CHANGED
|
@@ -1,4 +1,17 @@
|
|
|
1
|
-
|
|
1
|
+
|
|
2
|
+
// Only inject CSS for library consumers, not in Storybook
|
|
3
|
+
(function() {
|
|
4
|
+
if (typeof document !== 'undefined' &&
|
|
5
|
+
!document.querySelector('link[data-spectral-css]') &&
|
|
6
|
+
!window.location.pathname.includes('iframe.html') &&
|
|
7
|
+
!document.querySelector('[data-is-storybook]')) {
|
|
8
|
+
const link = document.createElement('link');
|
|
9
|
+
link.rel = 'stylesheet';
|
|
10
|
+
link.setAttribute('data-spectral-css', '');
|
|
11
|
+
link.href = new URL('./assets/main.css', import.meta.url).href;
|
|
12
|
+
document.head.appendChild(link);
|
|
13
|
+
}
|
|
14
|
+
})();
|
|
2
15
|
import { jsx as n } from "react/jsx-runtime";
|
|
3
16
|
import { ToggleBase as g } from "./Toggle/ToggleBase.js";
|
|
4
17
|
import { c as s } from "./twUtils-CRiPKpXj.js";
|
|
@@ -1,4 +1,17 @@
|
|
|
1
|
-
|
|
1
|
+
|
|
2
|
+
// Only inject CSS for library consumers, not in Storybook
|
|
3
|
+
(function() {
|
|
4
|
+
if (typeof document !== 'undefined' &&
|
|
5
|
+
!document.querySelector('link[data-spectral-css]') &&
|
|
6
|
+
!window.location.pathname.includes('iframe.html') &&
|
|
7
|
+
!document.querySelector('[data-is-storybook]')) {
|
|
8
|
+
const link = document.createElement('link');
|
|
9
|
+
link.rel = 'stylesheet';
|
|
10
|
+
link.setAttribute('data-spectral-css', '');
|
|
11
|
+
link.href = new URL('./assets/main.css', import.meta.url).href;
|
|
12
|
+
document.head.appendChild(link);
|
|
13
|
+
}
|
|
14
|
+
})();
|
|
2
15
|
import { jsx as B, jsxs as E } from "react/jsx-runtime";
|
|
3
16
|
import { useControllableState as R, clamp as M } from "../utils/shared.js";
|
|
4
17
|
import { createContext as j, forwardRef as H, useContext as K, useRef as S, useImperativeHandle as L, useEffect as N, useCallback as i, useMemo as U } from "react";
|
package/dist/ToggleGroup.js
CHANGED
|
@@ -1,4 +1,17 @@
|
|
|
1
|
-
|
|
1
|
+
|
|
2
|
+
// Only inject CSS for library consumers, not in Storybook
|
|
3
|
+
(function() {
|
|
4
|
+
if (typeof document !== 'undefined' &&
|
|
5
|
+
!document.querySelector('link[data-spectral-css]') &&
|
|
6
|
+
!window.location.pathname.includes('iframe.html') &&
|
|
7
|
+
!document.querySelector('[data-is-storybook]')) {
|
|
8
|
+
const link = document.createElement('link');
|
|
9
|
+
link.rel = 'stylesheet';
|
|
10
|
+
link.setAttribute('data-spectral-css', '');
|
|
11
|
+
link.href = new URL('./assets/main.css', import.meta.url).href;
|
|
12
|
+
document.head.appendChild(link);
|
|
13
|
+
}
|
|
14
|
+
})();
|
|
2
15
|
import { jsx as d } from "react/jsx-runtime";
|
|
3
16
|
import { ToggleGroupItemBase as p, ToggleGroupBase as m } from "./ToggleGroup/ToggleGroupBase.js";
|
|
4
17
|
import { toggleVariants as f } from "./Toggle.js";
|
package/dist/Toolbar.js
CHANGED
|
@@ -1,4 +1,17 @@
|
|
|
1
|
-
|
|
1
|
+
|
|
2
|
+
// Only inject CSS for library consumers, not in Storybook
|
|
3
|
+
(function() {
|
|
4
|
+
if (typeof document !== 'undefined' &&
|
|
5
|
+
!document.querySelector('link[data-spectral-css]') &&
|
|
6
|
+
!window.location.pathname.includes('iframe.html') &&
|
|
7
|
+
!document.querySelector('[data-is-storybook]')) {
|
|
8
|
+
const link = document.createElement('link');
|
|
9
|
+
link.rel = 'stylesheet';
|
|
10
|
+
link.setAttribute('data-spectral-css', '');
|
|
11
|
+
link.href = new URL('./assets/main.css', import.meta.url).href;
|
|
12
|
+
document.head.appendChild(link);
|
|
13
|
+
}
|
|
14
|
+
})();
|
|
2
15
|
import { jsxs as s, jsx as e } from "react/jsx-runtime";
|
|
3
16
|
import "react";
|
|
4
17
|
const c = ({ title: r, description: t, children: l }) => /* @__PURE__ */ s("div", { className: "bg-background text-text-primary border-border-primary flex h-[72px] w-full justify-between border-b", children: [
|
|
@@ -1,4 +1,17 @@
|
|
|
1
|
-
|
|
1
|
+
|
|
2
|
+
// Only inject CSS for library consumers, not in Storybook
|
|
3
|
+
(function() {
|
|
4
|
+
if (typeof document !== 'undefined' &&
|
|
5
|
+
!document.querySelector('link[data-spectral-css]') &&
|
|
6
|
+
!window.location.pathname.includes('iframe.html') &&
|
|
7
|
+
!document.querySelector('[data-is-storybook]')) {
|
|
8
|
+
const link = document.createElement('link');
|
|
9
|
+
link.rel = 'stylesheet';
|
|
10
|
+
link.setAttribute('data-spectral-css', '');
|
|
11
|
+
link.href = new URL('./assets/main.css', import.meta.url).href;
|
|
12
|
+
document.head.appendChild(link);
|
|
13
|
+
}
|
|
14
|
+
})();
|
|
2
15
|
import { jsx as D } from "react/jsx-runtime";
|
|
3
16
|
import { createForwardedRef as N } from "../utils/refs.js";
|
|
4
17
|
import { c as z } from "../twUtils-CRiPKpXj.js";
|
package/dist/Tooltip.js
CHANGED
|
@@ -1,4 +1,17 @@
|
|
|
1
|
-
|
|
1
|
+
|
|
2
|
+
// Only inject CSS for library consumers, not in Storybook
|
|
3
|
+
(function() {
|
|
4
|
+
if (typeof document !== 'undefined' &&
|
|
5
|
+
!document.querySelector('link[data-spectral-css]') &&
|
|
6
|
+
!window.location.pathname.includes('iframe.html') &&
|
|
7
|
+
!document.querySelector('[data-is-storybook]')) {
|
|
8
|
+
const link = document.createElement('link');
|
|
9
|
+
link.rel = 'stylesheet';
|
|
10
|
+
link.setAttribute('data-spectral-css', '');
|
|
11
|
+
link.href = new URL('./assets/main.css', import.meta.url).href;
|
|
12
|
+
document.head.appendChild(link);
|
|
13
|
+
}
|
|
14
|
+
})();
|
|
2
15
|
import { jsx as u, jsxs as S } from "react/jsx-runtime";
|
|
3
16
|
import * as a from "react";
|
|
4
17
|
import { e as H, c as J, a as Q, u as Z, P as j, b as ee, d as G, f as C, D as te, h as oe } from "./index-B7LSgz_k.js";
|
|
@@ -1,4 +1,17 @@
|
|
|
1
|
-
|
|
1
|
+
|
|
2
|
+
// Only inject CSS for library consumers, not in Storybook
|
|
3
|
+
(function() {
|
|
4
|
+
if (typeof document !== 'undefined' &&
|
|
5
|
+
!document.querySelector('link[data-spectral-css]') &&
|
|
6
|
+
!window.location.pathname.includes('iframe.html') &&
|
|
7
|
+
!document.querySelector('[data-is-storybook]')) {
|
|
8
|
+
const link = document.createElement('link');
|
|
9
|
+
link.rel = 'stylesheet';
|
|
10
|
+
link.setAttribute('data-spectral-css', '');
|
|
11
|
+
link.href = new URL('./assets/main.css', import.meta.url).href;
|
|
12
|
+
document.head.appendChild(link);
|
|
13
|
+
}
|
|
14
|
+
})();
|
|
2
15
|
import { jsxs as i, jsx as e } from "react/jsx-runtime";
|
|
3
16
|
import { Badge as s } from "../Badge.js";
|
|
4
17
|
import "../Icons/AnnotationsIcon.js";
|
|
@@ -1,4 +1,17 @@
|
|
|
1
|
-
|
|
1
|
+
|
|
2
|
+
// Only inject CSS for library consumers, not in Storybook
|
|
3
|
+
(function() {
|
|
4
|
+
if (typeof document !== 'undefined' &&
|
|
5
|
+
!document.querySelector('link[data-spectral-css]') &&
|
|
6
|
+
!window.location.pathname.includes('iframe.html') &&
|
|
7
|
+
!document.querySelector('[data-is-storybook]')) {
|
|
8
|
+
const link = document.createElement('link');
|
|
9
|
+
link.rel = 'stylesheet';
|
|
10
|
+
link.setAttribute('data-spectral-css', '');
|
|
11
|
+
link.href = new URL('./assets/main.css', import.meta.url).href;
|
|
12
|
+
document.head.appendChild(link);
|
|
13
|
+
}
|
|
14
|
+
})();
|
|
2
15
|
import { useRef as h, useCallback as g, useEffect as E } from "react";
|
|
3
16
|
const A = (u) => {
|
|
4
17
|
const o = h(null), l = h(null), a = g((t) => {
|
|
@@ -1,4 +1,17 @@
|
|
|
1
|
-
|
|
1
|
+
|
|
2
|
+
// Only inject CSS for library consumers, not in Storybook
|
|
3
|
+
(function() {
|
|
4
|
+
if (typeof document !== 'undefined' &&
|
|
5
|
+
!document.querySelector('link[data-spectral-css]') &&
|
|
6
|
+
!window.location.pathname.includes('iframe.html') &&
|
|
7
|
+
!document.querySelector('[data-is-storybook]')) {
|
|
8
|
+
const link = document.createElement('link');
|
|
9
|
+
link.rel = 'stylesheet';
|
|
10
|
+
link.setAttribute('data-spectral-css', '');
|
|
11
|
+
link.href = new URL('./assets/main.css', import.meta.url).href;
|
|
12
|
+
document.head.appendChild(link);
|
|
13
|
+
}
|
|
14
|
+
})();
|
|
2
15
|
import { useRef as u, useEffect as o } from "react";
|
|
3
16
|
function i(t) {
|
|
4
17
|
const e = u(null);
|
package/dist/hooks/useTheme.js
CHANGED
|
@@ -1,4 +1,17 @@
|
|
|
1
|
-
|
|
1
|
+
|
|
2
|
+
// Only inject CSS for library consumers, not in Storybook
|
|
3
|
+
(function() {
|
|
4
|
+
if (typeof document !== 'undefined' &&
|
|
5
|
+
!document.querySelector('link[data-spectral-css]') &&
|
|
6
|
+
!window.location.pathname.includes('iframe.html') &&
|
|
7
|
+
!document.querySelector('[data-is-storybook]')) {
|
|
8
|
+
const link = document.createElement('link');
|
|
9
|
+
link.rel = 'stylesheet';
|
|
10
|
+
link.setAttribute('data-spectral-css', '');
|
|
11
|
+
link.href = new URL('./assets/main.css', import.meta.url).href;
|
|
12
|
+
document.head.appendChild(link);
|
|
13
|
+
}
|
|
14
|
+
})();
|
|
2
15
|
import { useState as n, useEffect as s } from "react";
|
|
3
16
|
const d = (r = "dark") => {
|
|
4
17
|
const [t, m] = n(() => {
|
package/dist/main.js
CHANGED
|
@@ -1,4 +1,17 @@
|
|
|
1
|
-
|
|
1
|
+
|
|
2
|
+
// Only inject CSS for library consumers, not in Storybook
|
|
3
|
+
(function() {
|
|
4
|
+
if (typeof document !== 'undefined' &&
|
|
5
|
+
!document.querySelector('link[data-spectral-css]') &&
|
|
6
|
+
!window.location.pathname.includes('iframe.html') &&
|
|
7
|
+
!document.querySelector('[data-is-storybook]')) {
|
|
8
|
+
const link = document.createElement('link');
|
|
9
|
+
link.rel = 'stylesheet';
|
|
10
|
+
link.setAttribute('data-spectral-css', '');
|
|
11
|
+
link.href = new URL('./assets/main.css', import.meta.url).href;
|
|
12
|
+
document.head.appendChild(link);
|
|
13
|
+
}
|
|
14
|
+
})();
|
|
2
15
|
import { jsx as gS } from "react/jsx-runtime";
|
|
3
16
|
import qb from "./App.js";
|
|
4
17
|
/* empty css */
|
package/dist/primitives/label.js
CHANGED
|
@@ -1,4 +1,17 @@
|
|
|
1
|
-
|
|
1
|
+
|
|
2
|
+
// Only inject CSS for library consumers, not in Storybook
|
|
3
|
+
(function() {
|
|
4
|
+
if (typeof document !== 'undefined' &&
|
|
5
|
+
!document.querySelector('link[data-spectral-css]') &&
|
|
6
|
+
!window.location.pathname.includes('iframe.html') &&
|
|
7
|
+
!document.querySelector('[data-is-storybook]')) {
|
|
8
|
+
const link = document.createElement('link');
|
|
9
|
+
link.rel = 'stylesheet';
|
|
10
|
+
link.setAttribute('data-spectral-css', '');
|
|
11
|
+
link.href = new URL('./assets/main.css', import.meta.url).href;
|
|
12
|
+
document.head.appendChild(link);
|
|
13
|
+
}
|
|
14
|
+
})();
|
|
2
15
|
import { jsx as n } from "react/jsx-runtime";
|
|
3
16
|
import { Slot as s } from "./slot.js";
|
|
4
17
|
import { forwardRef as f, useId as i } from "react";
|
package/dist/primitives/slot.js
CHANGED
|
@@ -1,4 +1,17 @@
|
|
|
1
|
-
|
|
1
|
+
|
|
2
|
+
// Only inject CSS for library consumers, not in Storybook
|
|
3
|
+
(function() {
|
|
4
|
+
if (typeof document !== 'undefined' &&
|
|
5
|
+
!document.querySelector('link[data-spectral-css]') &&
|
|
6
|
+
!window.location.pathname.includes('iframe.html') &&
|
|
7
|
+
!document.querySelector('[data-is-storybook]')) {
|
|
8
|
+
const link = document.createElement('link');
|
|
9
|
+
link.rel = 'stylesheet';
|
|
10
|
+
link.setAttribute('data-spectral-css', '');
|
|
11
|
+
link.href = new URL('./assets/main.css', import.meta.url).href;
|
|
12
|
+
document.head.appendChild(link);
|
|
13
|
+
}
|
|
14
|
+
})();
|
|
2
15
|
import { jsx as m, Fragment as y } from "react/jsx-runtime";
|
|
3
16
|
import { forwardRef as h, isValidElement as p, cloneElement as E } from "react";
|
|
4
17
|
function v(c, t, { checkForDefaultPrevented: e = !0 } = {}) {
|
package/dist/utils/refs.js
CHANGED
|
@@ -1,4 +1,17 @@
|
|
|
1
|
-
|
|
1
|
+
|
|
2
|
+
// Only inject CSS for library consumers, not in Storybook
|
|
3
|
+
(function() {
|
|
4
|
+
if (typeof document !== 'undefined' &&
|
|
5
|
+
!document.querySelector('link[data-spectral-css]') &&
|
|
6
|
+
!window.location.pathname.includes('iframe.html') &&
|
|
7
|
+
!document.querySelector('[data-is-storybook]')) {
|
|
8
|
+
const link = document.createElement('link');
|
|
9
|
+
link.rel = 'stylesheet';
|
|
10
|
+
link.setAttribute('data-spectral-css', '');
|
|
11
|
+
link.href = new URL('./assets/main.css', import.meta.url).href;
|
|
12
|
+
document.head.appendChild(link);
|
|
13
|
+
}
|
|
14
|
+
})();
|
|
2
15
|
import "react";
|
|
3
16
|
function n(c, t) {
|
|
4
17
|
return (i) => {
|
package/dist/utils/shared.js
CHANGED
|
@@ -1,4 +1,17 @@
|
|
|
1
|
-
|
|
1
|
+
|
|
2
|
+
// Only inject CSS for library consumers, not in Storybook
|
|
3
|
+
(function() {
|
|
4
|
+
if (typeof document !== 'undefined' &&
|
|
5
|
+
!document.querySelector('link[data-spectral-css]') &&
|
|
6
|
+
!window.location.pathname.includes('iframe.html') &&
|
|
7
|
+
!document.querySelector('[data-is-storybook]')) {
|
|
8
|
+
const link = document.createElement('link');
|
|
9
|
+
link.rel = 'stylesheet';
|
|
10
|
+
link.setAttribute('data-spectral-css', '');
|
|
11
|
+
link.href = new URL('./assets/main.css', import.meta.url).href;
|
|
12
|
+
document.head.appendChild(link);
|
|
13
|
+
}
|
|
14
|
+
})();
|
|
2
15
|
import { useState as f, useCallback as E } from "react";
|
|
3
16
|
function m(...t) {
|
|
4
17
|
return t.filter(Boolean).join(" ");
|
package/dist/utils/twUtils.js
CHANGED
|
@@ -1,4 +1,17 @@
|
|
|
1
|
-
|
|
1
|
+
|
|
2
|
+
// Only inject CSS for library consumers, not in Storybook
|
|
3
|
+
(function() {
|
|
4
|
+
if (typeof document !== 'undefined' &&
|
|
5
|
+
!document.querySelector('link[data-spectral-css]') &&
|
|
6
|
+
!window.location.pathname.includes('iframe.html') &&
|
|
7
|
+
!document.querySelector('[data-is-storybook]')) {
|
|
8
|
+
const link = document.createElement('link');
|
|
9
|
+
link.rel = 'stylesheet';
|
|
10
|
+
link.setAttribute('data-spectral-css', '');
|
|
11
|
+
link.href = new URL('./assets/main.css', import.meta.url).href;
|
|
12
|
+
document.head.appendChild(link);
|
|
13
|
+
}
|
|
14
|
+
})();
|
|
2
15
|
import { c as r } from "../twUtils-CRiPKpXj.js";
|
|
3
16
|
export {
|
|
4
17
|
r as cn
|