@spear-ai/spectral 1.3.22 → 1.3.23
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 +9 -1
- package/dist/App.js +9 -1
- package/dist/Badge.js +9 -1
- package/dist/Button.js +9 -1
- package/dist/Card.js +9 -1
- package/dist/Drawer.js +9 -1
- package/dist/Icons.js +9 -1
- package/dist/Label.js +9 -1
- package/dist/Popover.js +9 -1
- package/dist/RadioGroup.js +9 -1
- package/dist/Skeleton.js +9 -1
- package/dist/Slider.js +9 -1
- package/dist/Switch.js +9 -1
- package/dist/Toggle.js +9 -1
- package/dist/ToggleGroup.js +9 -1
- package/dist/Toolbar.js +9 -1
- package/dist/Tooltip.js +9 -1
- package/dist/main.js +9 -1
- package/package.json +1 -1
package/dist/.js
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
|
|
2
|
+
(function(){
|
|
3
|
+
if (typeof document === 'undefined') return;
|
|
4
|
+
if (document.querySelector('link[data-spectral-css]')) return;
|
|
5
|
+
var link = document.createElement('link');
|
|
6
|
+
link.rel = 'stylesheet';
|
|
7
|
+
link.setAttribute('data-spectral-css', '');
|
|
8
|
+
link.href = new URL('./assets/main.css', import.meta.url).href;
|
|
9
|
+
document.head.appendChild(link);
|
|
10
|
+
})();
|
|
3
11
|
import { Badge as p } from "./Badge.js";
|
|
4
12
|
import { Button as n } from "./Button.js";
|
|
5
13
|
import { Card as x } from "./Card.js";
|
package/dist/App.js
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
|
|
2
|
+
(function(){
|
|
3
|
+
if (typeof document === 'undefined') return;
|
|
4
|
+
if (document.querySelector('link[data-spectral-css]')) return;
|
|
5
|
+
var link = document.createElement('link');
|
|
6
|
+
link.rel = 'stylesheet';
|
|
7
|
+
link.setAttribute('data-spectral-css', '');
|
|
8
|
+
link.href = new URL('./assets/main.css', import.meta.url).href;
|
|
9
|
+
document.head.appendChild(link);
|
|
10
|
+
})();
|
|
3
11
|
import { jsx as r } from "react/jsx-runtime";
|
|
4
12
|
function p() {
|
|
5
13
|
return /* @__PURE__ */ r("div", { children: "spectral | spear.ai" });
|
package/dist/Badge.js
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
|
|
2
|
+
(function(){
|
|
3
|
+
if (typeof document === 'undefined') return;
|
|
4
|
+
if (document.querySelector('link[data-spectral-css]')) return;
|
|
5
|
+
var link = document.createElement('link');
|
|
6
|
+
link.rel = 'stylesheet';
|
|
7
|
+
link.setAttribute('data-spectral-css', '');
|
|
8
|
+
link.href = new URL('./assets/main.css', import.meta.url).href;
|
|
9
|
+
document.head.appendChild(link);
|
|
10
|
+
})();
|
|
3
11
|
import { jsx as e } from "react/jsx-runtime";
|
|
4
12
|
import { BadgeBase as t } from "./Badge/BadgeBase.js";
|
|
5
13
|
const p = ({ children: r, ...o }) => /* @__PURE__ */ e(t, { ...o, children: r });
|
package/dist/Button.js
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
|
|
2
|
+
(function(){
|
|
3
|
+
if (typeof document === 'undefined') return;
|
|
4
|
+
if (document.querySelector('link[data-spectral-css]')) return;
|
|
5
|
+
var link = document.createElement('link');
|
|
6
|
+
link.rel = 'stylesheet';
|
|
7
|
+
link.setAttribute('data-spectral-css', '');
|
|
8
|
+
link.href = new URL('./assets/main.css', import.meta.url).href;
|
|
9
|
+
document.head.appendChild(link);
|
|
10
|
+
})();
|
|
3
11
|
import { jsxs as l, jsx as e } from "react/jsx-runtime";
|
|
4
12
|
import { c as u } from "./twUtils-CRiPKpXj.js";
|
|
5
13
|
import { c as f } from "./index-CRBC94ik.js";
|
package/dist/Card.js
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
|
|
2
|
+
(function(){
|
|
3
|
+
if (typeof document === 'undefined') return;
|
|
4
|
+
if (document.querySelector('link[data-spectral-css]')) return;
|
|
5
|
+
var link = document.createElement('link');
|
|
6
|
+
link.rel = 'stylesheet';
|
|
7
|
+
link.setAttribute('data-spectral-css', '');
|
|
8
|
+
link.href = new URL('./assets/main.css', import.meta.url).href;
|
|
9
|
+
document.head.appendChild(link);
|
|
10
|
+
})();
|
|
3
11
|
import { jsxs as n, jsx as e } from "react/jsx-runtime";
|
|
4
12
|
import { c as a } from "./twUtils-CRiPKpXj.js";
|
|
5
13
|
import { forwardRef as u } from "react";
|
package/dist/Drawer.js
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
|
|
2
|
+
(function(){
|
|
3
|
+
if (typeof document === 'undefined') return;
|
|
4
|
+
if (document.querySelector('link[data-spectral-css]')) return;
|
|
5
|
+
var link = document.createElement('link');
|
|
6
|
+
link.rel = 'stylesheet';
|
|
7
|
+
link.setAttribute('data-spectral-css', '');
|
|
8
|
+
link.href = new URL('./assets/main.css', import.meta.url).href;
|
|
9
|
+
document.head.appendChild(link);
|
|
10
|
+
})();
|
|
3
11
|
import { jsx as S, jsxs as gt, Fragment as te } from "react/jsx-runtime";
|
|
4
12
|
import * as O from "react";
|
|
5
13
|
import i, { useMemo as je, useLayoutEffect as qe, useEffect as Xe } from "react";
|
package/dist/Icons.js
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
|
|
2
|
+
(function(){
|
|
3
|
+
if (typeof document === 'undefined') return;
|
|
4
|
+
if (document.querySelector('link[data-spectral-css]')) return;
|
|
5
|
+
var link = document.createElement('link');
|
|
6
|
+
link.rel = 'stylesheet';
|
|
7
|
+
link.setAttribute('data-spectral-css', '');
|
|
8
|
+
link.href = new URL('./assets/main.css', import.meta.url).href;
|
|
9
|
+
document.head.appendChild(link);
|
|
10
|
+
})();
|
|
3
11
|
import { AnnotationsIcon as e } from "./Icons/AnnotationsIcon.js";
|
|
4
12
|
import { CalendarIcon as n } from "./Icons/CalendarIcon.js";
|
|
5
13
|
import { ClockIcon as m } from "./Icons/ClockIcon.js";
|
package/dist/Label.js
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
|
|
2
|
+
(function(){
|
|
3
|
+
if (typeof document === 'undefined') return;
|
|
4
|
+
if (document.querySelector('link[data-spectral-css]')) return;
|
|
5
|
+
var link = document.createElement('link');
|
|
6
|
+
link.rel = 'stylesheet';
|
|
7
|
+
link.setAttribute('data-spectral-css', '');
|
|
8
|
+
link.href = new URL('./assets/main.css', import.meta.url).href;
|
|
9
|
+
document.head.appendChild(link);
|
|
10
|
+
})();
|
|
3
11
|
import { jsx as l } from "react/jsx-runtime";
|
|
4
12
|
import { c as s } from "./twUtils-CRiPKpXj.js";
|
|
5
13
|
import { c as t } from "./index-CRBC94ik.js";
|
package/dist/Popover.js
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
|
|
2
|
+
(function(){
|
|
3
|
+
if (typeof document === 'undefined') return;
|
|
4
|
+
if (document.querySelector('link[data-spectral-css]')) return;
|
|
5
|
+
var link = document.createElement('link');
|
|
6
|
+
link.rel = 'stylesheet';
|
|
7
|
+
link.setAttribute('data-spectral-css', '');
|
|
8
|
+
link.href = new URL('./assets/main.css', import.meta.url).href;
|
|
9
|
+
document.head.appendChild(link);
|
|
10
|
+
})();
|
|
3
11
|
import { jsx as s } from "react/jsx-runtime";
|
|
4
12
|
import * as i from "react";
|
|
5
13
|
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";
|
package/dist/RadioGroup.js
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
|
|
2
|
+
(function(){
|
|
3
|
+
if (typeof document === 'undefined') return;
|
|
4
|
+
if (document.querySelector('link[data-spectral-css]')) return;
|
|
5
|
+
var link = document.createElement('link');
|
|
6
|
+
link.rel = 'stylesheet';
|
|
7
|
+
link.setAttribute('data-spectral-css', '');
|
|
8
|
+
link.href = new URL('./assets/main.css', import.meta.url).href;
|
|
9
|
+
document.head.appendChild(link);
|
|
10
|
+
})();
|
|
3
11
|
import { jsx as t, jsxs as d } from "react/jsx-runtime";
|
|
4
12
|
import { RadioGroup as l, RadioGroupItem as n, RadioGroupIndicator as m } from "./RadioGroup/RadioGroupBase.js";
|
|
5
13
|
import { c as e } from "./twUtils-CRiPKpXj.js";
|
package/dist/Skeleton.js
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
|
|
2
|
+
(function(){
|
|
3
|
+
if (typeof document === 'undefined') return;
|
|
4
|
+
if (document.querySelector('link[data-spectral-css]')) return;
|
|
5
|
+
var link = document.createElement('link');
|
|
6
|
+
link.rel = 'stylesheet';
|
|
7
|
+
link.setAttribute('data-spectral-css', '');
|
|
8
|
+
link.href = new URL('./assets/main.css', import.meta.url).href;
|
|
9
|
+
document.head.appendChild(link);
|
|
10
|
+
})();
|
|
3
11
|
import { jsx as o } from "react/jsx-runtime";
|
|
4
12
|
import { c as n } from "./twUtils-CRiPKpXj.js";
|
|
5
13
|
import "react";
|
package/dist/Slider.js
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
|
|
2
|
+
(function(){
|
|
3
|
+
if (typeof document === 'undefined') return;
|
|
4
|
+
if (document.querySelector('link[data-spectral-css]')) return;
|
|
5
|
+
var link = document.createElement('link');
|
|
6
|
+
link.rel = 'stylesheet';
|
|
7
|
+
link.setAttribute('data-spectral-css', '');
|
|
8
|
+
link.href = new URL('./assets/main.css', import.meta.url).href;
|
|
9
|
+
document.head.appendChild(link);
|
|
10
|
+
})();
|
|
3
11
|
import { jsxs as v, jsx as t } from "react/jsx-runtime";
|
|
4
12
|
import { SliderBase as w, SliderTrack as p, SliderRange as x, SliderThumb as k } from "./Slider/SliderBase.js";
|
|
5
13
|
import { c as a } from "./twUtils-CRiPKpXj.js";
|
package/dist/Switch.js
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
|
|
2
|
+
(function(){
|
|
3
|
+
if (typeof document === 'undefined') return;
|
|
4
|
+
if (document.querySelector('link[data-spectral-css]')) return;
|
|
5
|
+
var link = document.createElement('link');
|
|
6
|
+
link.rel = 'stylesheet';
|
|
7
|
+
link.setAttribute('data-spectral-css', '');
|
|
8
|
+
link.href = new URL('./assets/main.css', import.meta.url).href;
|
|
9
|
+
document.head.appendChild(link);
|
|
10
|
+
})();
|
|
3
11
|
import { jsxs as w, jsx as t } from "react/jsx-runtime";
|
|
4
12
|
import { Switch as p, SwitchThumb as k } from "./Switch/SwitchBase.js";
|
|
5
13
|
import { Label as r } from "./Label.js";
|
package/dist/Toggle.js
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
|
|
2
|
+
(function(){
|
|
3
|
+
if (typeof document === 'undefined') return;
|
|
4
|
+
if (document.querySelector('link[data-spectral-css]')) return;
|
|
5
|
+
var link = document.createElement('link');
|
|
6
|
+
link.rel = 'stylesheet';
|
|
7
|
+
link.setAttribute('data-spectral-css', '');
|
|
8
|
+
link.href = new URL('./assets/main.css', import.meta.url).href;
|
|
9
|
+
document.head.appendChild(link);
|
|
10
|
+
})();
|
|
3
11
|
import { jsx as n } from "react/jsx-runtime";
|
|
4
12
|
import { ToggleBase as g } from "./Toggle/ToggleBase.js";
|
|
5
13
|
import { c as s } from "./twUtils-CRiPKpXj.js";
|
package/dist/ToggleGroup.js
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
|
|
2
|
+
(function(){
|
|
3
|
+
if (typeof document === 'undefined') return;
|
|
4
|
+
if (document.querySelector('link[data-spectral-css]')) return;
|
|
5
|
+
var link = document.createElement('link');
|
|
6
|
+
link.rel = 'stylesheet';
|
|
7
|
+
link.setAttribute('data-spectral-css', '');
|
|
8
|
+
link.href = new URL('./assets/main.css', import.meta.url).href;
|
|
9
|
+
document.head.appendChild(link);
|
|
10
|
+
})();
|
|
3
11
|
import { jsx as d } from "react/jsx-runtime";
|
|
4
12
|
import { ToggleGroupItemBase as p, ToggleGroupBase as f } from "./ToggleGroup/ToggleGroupBase.js";
|
|
5
13
|
import { toggleVariants as m } from "./Toggle.js";
|
package/dist/Toolbar.js
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
|
|
2
|
+
(function(){
|
|
3
|
+
if (typeof document === 'undefined') return;
|
|
4
|
+
if (document.querySelector('link[data-spectral-css]')) return;
|
|
5
|
+
var link = document.createElement('link');
|
|
6
|
+
link.rel = 'stylesheet';
|
|
7
|
+
link.setAttribute('data-spectral-css', '');
|
|
8
|
+
link.href = new URL('./assets/main.css', import.meta.url).href;
|
|
9
|
+
document.head.appendChild(link);
|
|
10
|
+
})();
|
|
3
11
|
import { jsxs as s, jsx as e } from "react/jsx-runtime";
|
|
4
12
|
import "react";
|
|
5
13
|
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: [
|
package/dist/Tooltip.js
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
|
|
2
|
+
(function(){
|
|
3
|
+
if (typeof document === 'undefined') return;
|
|
4
|
+
if (document.querySelector('link[data-spectral-css]')) return;
|
|
5
|
+
var link = document.createElement('link');
|
|
6
|
+
link.rel = 'stylesheet';
|
|
7
|
+
link.setAttribute('data-spectral-css', '');
|
|
8
|
+
link.href = new URL('./assets/main.css', import.meta.url).href;
|
|
9
|
+
document.head.appendChild(link);
|
|
10
|
+
})();
|
|
3
11
|
import { jsx as u, jsxs as S } from "react/jsx-runtime";
|
|
4
12
|
import * as a from "react";
|
|
5
13
|
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";
|
package/dist/main.js
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
|
|
2
|
+
(function(){
|
|
3
|
+
if (typeof document === 'undefined') return;
|
|
4
|
+
if (document.querySelector('link[data-spectral-css]')) return;
|
|
5
|
+
var link = document.createElement('link');
|
|
6
|
+
link.rel = 'stylesheet';
|
|
7
|
+
link.setAttribute('data-spectral-css', '');
|
|
8
|
+
link.href = new URL('./assets/main.css', import.meta.url).href;
|
|
9
|
+
document.head.appendChild(link);
|
|
10
|
+
})();
|
|
3
11
|
import { jsx as gS } from "react/jsx-runtime";
|
|
4
12
|
import qb from "./App.js";
|
|
5
13
|
/* empty css */
|