@tarsis/toolkit 0.2.3 → 0.2.4-beta.0

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.
@@ -1,4 +1,4 @@
1
- import { W as WebGLRenderer, P as PerspectiveCamera, S as Scene, T as THREE$1, C as Clock, a as TextureLoader, R as RawShaderMaterial, D as DoubleSide, b as WebGLRenderTarget, c as Color, M as Mesh, d as TorusKnotGeometry, e as ShaderMaterial } from './index-DyetLzYZ.js';
1
+ import { W as WebGLRenderer, P as PerspectiveCamera, S as Scene, T as THREE$1, C as Clock, a as TextureLoader, R as RawShaderMaterial, D as DoubleSide, b as WebGLRenderTarget, c as Color, M as Mesh, d as TorusKnotGeometry, e as ShaderMaterial } from './index-a2UrUaZl.js';
2
2
 
3
3
  var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
4
4
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
4
4
 
5
- const index = require('./index-BS3WfPcv.cjs');
5
+ const index = require('./index-LUM5T6mu.cjs');
6
6
 
7
7
  var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
8
8
 
@@ -52370,31 +52370,31 @@ const BubblyParticlesButton = () => {
52370
52370
  );
52371
52371
  };
52372
52372
 
52373
- const root$4j = "_root_1koxy_1";
52374
- const button$p = "_button_1koxy_13";
52375
- const p = "_p_1koxy_26";
52376
- const text$z = "_text_1koxy_26";
52377
- const rise1 = "_rise1_1koxy_1";
52378
- const rise2 = "_rise2_1koxy_1";
52379
- const rise3 = "_rise3_1koxy_1";
52380
- const rise4 = "_rise4_1koxy_1";
52381
- const rise5 = "_rise5_1koxy_1";
52382
- const rise6 = "_rise6_1koxy_1";
52383
- const rise7 = "_rise7_1koxy_1";
52384
- const rise8 = "_rise8_1koxy_1";
52385
- const rise9 = "_rise9_1koxy_1";
52386
- const rise10 = "_rise10_1koxy_1";
52387
- const rise11 = "_rise11_1koxy_1";
52388
- const rise12 = "_rise12_1koxy_1";
52389
- const rise13 = "_rise13_1koxy_1";
52390
- const rise14 = "_rise14_1koxy_1";
52391
- const rise15 = "_rise15_1koxy_1";
52392
- const rise16 = "_rise16_1koxy_1";
52393
- const rise17 = "_rise17_1koxy_1";
52394
- const rise18 = "_rise18_1koxy_1";
52395
- const rise19 = "_rise19_1koxy_1";
52396
- const rise20 = "_rise20_1koxy_1";
52397
- const effects = "_effects_1koxy_240";
52373
+ const root$4j = "_root_10cxf_1";
52374
+ const button$p = "_button_10cxf_13";
52375
+ const p = "_p_10cxf_26";
52376
+ const text$z = "_text_10cxf_26";
52377
+ const rise1 = "_rise1_10cxf_1";
52378
+ const rise2 = "_rise2_10cxf_1";
52379
+ const rise3 = "_rise3_10cxf_1";
52380
+ const rise4 = "_rise4_10cxf_1";
52381
+ const rise5 = "_rise5_10cxf_1";
52382
+ const rise6 = "_rise6_10cxf_1";
52383
+ const rise7 = "_rise7_10cxf_1";
52384
+ const rise8 = "_rise8_10cxf_1";
52385
+ const rise9 = "_rise9_10cxf_1";
52386
+ const rise10 = "_rise10_10cxf_1";
52387
+ const rise11 = "_rise11_10cxf_1";
52388
+ const rise12 = "_rise12_10cxf_1";
52389
+ const rise13 = "_rise13_10cxf_1";
52390
+ const rise14 = "_rise14_10cxf_1";
52391
+ const rise15 = "_rise15_10cxf_1";
52392
+ const rise16 = "_rise16_10cxf_1";
52393
+ const rise17 = "_rise17_10cxf_1";
52394
+ const rise18 = "_rise18_10cxf_1";
52395
+ const rise19 = "_rise19_10cxf_1";
52396
+ const rise20 = "_rise20_10cxf_1";
52397
+ const effects = "_effects_10cxf_240";
52398
52398
  const styles$4F = {
52399
52399
  root: root$4j,
52400
52400
  button: button$p,
@@ -53434,7 +53434,12 @@ const styles$4v = {
53434
53434
  root: root$4b
53435
53435
  };
53436
53436
 
53437
- const DockButton = React.forwardRef(({ children, className = "", ...rest }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
53437
+ const DockButton = ({
53438
+ children,
53439
+ className = "",
53440
+ ref,
53441
+ ...rest
53442
+ }) => /* @__PURE__ */ jsxRuntime.jsx(
53438
53443
  "button",
53439
53444
  {
53440
53445
  ref,
@@ -53443,7 +53448,7 @@ const DockButton = React.forwardRef(({ children, className = "", ...rest }, ref)
53443
53448
  ...rest,
53444
53449
  children
53445
53450
  }
53446
- ));
53451
+ );
53447
53452
  DockButton.displayName = "DockButton";
53448
53453
 
53449
53454
  const root$4a = "_root_yqq6b_1";
@@ -53618,7 +53623,13 @@ const Wisp = () => /* @__PURE__ */ jsxRuntime.jsx("svg", { className: styles$4s.
53618
53623
  pathLength: "10"
53619
53624
  }
53620
53625
  ) });
53621
- const DoubleStateButton = React.forwardRef(({ children, alternativeChildren, className = "", ...rest }, ref) => /* @__PURE__ */ jsxRuntime.jsxs(
53626
+ const DoubleStateButton = ({
53627
+ children,
53628
+ alternativeChildren,
53629
+ className = "",
53630
+ ref,
53631
+ ...rest
53632
+ }) => /* @__PURE__ */ jsxRuntime.jsxs(
53622
53633
  "button",
53623
53634
  {
53624
53635
  ref,
@@ -53638,7 +53649,7 @@ const DoubleStateButton = React.forwardRef(({ children, alternativeChildren, cla
53638
53649
  ] })
53639
53650
  ]
53640
53651
  }
53641
- ));
53652
+ );
53642
53653
  DoubleStateButton.displayName = "DoubleStateButton";
53643
53654
 
53644
53655
  const root$47 = "_root_645qm_1";
@@ -55634,10 +55645,10 @@ const NeonButton = ({ className = "", ...props }) => {
55634
55645
  return /* @__PURE__ */ jsxRuntime.jsx("button", { type: "button", className: cn(styles$47.root, className), ...props, children: "Neon" });
55635
55646
  };
55636
55647
 
55637
- const root$3Q = "_root_19hxp_2";
55638
- const i$1 = "_i_19hxp_22";
55639
- const noise = "_noise_19hxp_1";
55640
- const text$s = "_text_19hxp_482";
55648
+ const root$3Q = "_root_fg10g_2";
55649
+ const i$1 = "_i_fg10g_22";
55650
+ const noise = "_noise_fg10g_1";
55651
+ const text$s = "_text_fg10g_482";
55641
55652
  const styles$46 = {
55642
55653
  root: root$3Q,
55643
55654
  i: i$1,
@@ -59878,19 +59889,22 @@ const styles$3b = {
59878
59889
  fauxbox: fauxbox
59879
59890
  };
59880
59891
 
59881
- const Checkbox = React.forwardRef(
59882
- ({ rootClassName = "", className = "", inputClassName = "" }, ref) => /* @__PURE__ */ jsxRuntime.jsxs(
59883
- "span",
59884
- {
59885
- ref,
59886
- role: "presentation",
59887
- className: cn(styles$3b.root, rootClassName),
59888
- children: [
59889
- /* @__PURE__ */ jsxRuntime.jsx("input", { className: cn(styles$3b.realbox, inputClassName), type: "checkbox" }),
59890
- /* @__PURE__ */ jsxRuntime.jsx("span", { role: "presentation", className: cn(styles$3b.fauxbox, className) })
59891
- ]
59892
- }
59893
- )
59892
+ const Checkbox = ({
59893
+ rootClassName = "",
59894
+ className = "",
59895
+ inputClassName = "",
59896
+ ref
59897
+ }) => /* @__PURE__ */ jsxRuntime.jsxs(
59898
+ "span",
59899
+ {
59900
+ ref,
59901
+ role: "presentation",
59902
+ className: cn(styles$3b.root, rootClassName),
59903
+ children: [
59904
+ /* @__PURE__ */ jsxRuntime.jsx("input", { className: cn(styles$3b.realbox, inputClassName), type: "checkbox" }),
59905
+ /* @__PURE__ */ jsxRuntime.jsx("span", { role: "presentation", className: cn(styles$3b.fauxbox, className) })
59906
+ ]
59907
+ }
59894
59908
  );
59895
59909
  Checkbox.displayName = "Checkbox";
59896
59910
 
@@ -63747,26 +63761,25 @@ const styles$2k = {
63747
63761
  root: root$2b
63748
63762
  };
63749
63763
 
63750
- const RegularLink = React.forwardRef(
63751
- ({
63752
- children,
63764
+ const RegularLink = ({
63765
+ children,
63766
+ href,
63767
+ className = "",
63768
+ target = "_self",
63769
+ rel = "noopener noreferrer",
63770
+ ref,
63771
+ ...rest
63772
+ }) => /* @__PURE__ */ jsxRuntime.jsx(
63773
+ "a",
63774
+ {
63775
+ ...rest,
63776
+ className: cn(styles$2k.root, className),
63753
63777
  href,
63754
- className = "",
63755
- target = "_self",
63756
- rel = "noopener noreferrer",
63757
- ...rest
63758
- }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
63759
- "a",
63760
- {
63761
- ...rest,
63762
- className: cn(styles$2k.root, className),
63763
- href,
63764
- target,
63765
- rel,
63766
- ref,
63767
- children
63768
- }
63769
- )
63778
+ target,
63779
+ rel,
63780
+ ref,
63781
+ children
63782
+ }
63770
63783
  );
63771
63784
  RegularLink.displayName = "Checkbox";
63772
63785
 
@@ -63800,26 +63813,25 @@ const styles$2i = {
63800
63813
  root: root$29
63801
63814
  };
63802
63815
 
63803
- const UnderlinedLink = React.forwardRef(
63804
- ({
63805
- children,
63816
+ const UnderlinedLink = ({
63817
+ children,
63818
+ href,
63819
+ className = "",
63820
+ target = "_self",
63821
+ rel = "noopener noreferrer",
63822
+ ref,
63823
+ ...rest
63824
+ }) => /* @__PURE__ */ jsxRuntime.jsx(
63825
+ "a",
63826
+ {
63827
+ ...rest,
63828
+ className: cn(styles$2i.root, className),
63806
63829
  href,
63807
- className = "",
63808
- target = "_self",
63809
- rel = "noopener noreferrer",
63810
- ...rest
63811
- }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
63812
- "a",
63813
- {
63814
- ...rest,
63815
- className: cn(styles$2i.root, className),
63816
- href,
63817
- target,
63818
- rel,
63819
- ref,
63820
- children
63821
- }
63822
- )
63830
+ target,
63831
+ rel,
63832
+ ref,
63833
+ children
63834
+ }
63823
63835
  );
63824
63836
  UnderlinedLink.displayName = "UnderlinedLink";
63825
63837
 
@@ -63957,45 +63969,42 @@ const CanOfDigits = ({
63957
63969
  initialValue = 1e3
63958
63970
  }) => {
63959
63971
  const [value, setValue] = React.useState(initialValue);
63960
- return (
63961
- // <form />
63962
- /* @__PURE__ */ jsxRuntime.jsxs("span", { className: cn(styles$2e.root, className), children: [
63963
- /* @__PURE__ */ jsxRuntime.jsx("label", { className: cn(styles$2e.label, styles$2e.sr), htmlFor: "digits", children: "Digits" }),
63964
- controls && /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
63965
- /* @__PURE__ */ jsxRuntime.jsx(
63966
- "input",
63967
- {
63968
- className: styles$2e.input,
63969
- id: "digits",
63970
- type: "number",
63971
- name: "digits",
63972
- min: 0,
63973
- max: 9999,
63974
- value,
63975
- onChange: (e) => {
63976
- setValue(Number(e.currentTarget.value));
63977
- }
63978
- }
63979
- ),
63980
- /* @__PURE__ */ jsxRuntime.jsx("br", {}),
63981
- /* @__PURE__ */ jsxRuntime.jsx(
63982
- "input",
63983
- {
63984
- className: styles$2e.input,
63985
- id: "vertical",
63986
- type: "checkbox",
63987
- name: "vertical",
63988
- value: "is_vertical"
63972
+ return /* @__PURE__ */ jsxRuntime.jsxs("span", { className: cn(styles$2e.root, className), children: [
63973
+ /* @__PURE__ */ jsxRuntime.jsx("label", { className: cn(styles$2e.label, styles$2e.sr), htmlFor: "digits", children: "Digits" }),
63974
+ controls && /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
63975
+ /* @__PURE__ */ jsxRuntime.jsx(
63976
+ "input",
63977
+ {
63978
+ className: styles$2e.input,
63979
+ id: "digits",
63980
+ type: "number",
63981
+ name: "digits",
63982
+ min: 0,
63983
+ max: 9999,
63984
+ value,
63985
+ onChange: (e) => {
63986
+ setValue(Number(e.currentTarget.value));
63989
63987
  }
63990
- ),
63991
- /* @__PURE__ */ jsxRuntime.jsx("label", { className: styles$2e.label, htmlFor: "vertical", children: "Vertical" })
63992
- ] }),
63993
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: styles$2e.can, children: React.useMemo(
63994
- () => Array.from({ length: 18 }, (_, i) => /* @__PURE__ */ jsxRuntime.jsx("div", { className: styles$2e.sector, children: value }, i)),
63995
- [value]
63996
- ) })
63997
- ] })
63998
- );
63988
+ }
63989
+ ),
63990
+ /* @__PURE__ */ jsxRuntime.jsx("br", {}),
63991
+ /* @__PURE__ */ jsxRuntime.jsx(
63992
+ "input",
63993
+ {
63994
+ className: styles$2e.input,
63995
+ id: "vertical",
63996
+ type: "checkbox",
63997
+ name: "vertical",
63998
+ value: "is_vertical"
63999
+ }
64000
+ ),
64001
+ /* @__PURE__ */ jsxRuntime.jsx("label", { className: styles$2e.label, htmlFor: "vertical", children: "Vertical" })
64002
+ ] }),
64003
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: styles$2e.can, children: React.useMemo(
64004
+ () => Array.from({ length: 18 }, (_, i) => /* @__PURE__ */ jsxRuntime.jsx("div", { className: styles$2e.sector, children: value }, i)),
64005
+ [value]
64006
+ ) })
64007
+ ] });
63999
64008
  };
64000
64009
 
64001
64010
  const root$24 = "_root_1i4gp_1";
@@ -64078,7 +64087,7 @@ const EndlessLoader = () => {
64078
64087
  if (typeof window === "undefined") return;
64079
64088
  const loadGl = async () => {
64080
64089
  window.THREE = require("three");
64081
- const GLModule = await Promise.resolve().then(() => require('./gl-VGj23t3e.cjs'));
64090
+ const GLModule = await Promise.resolve().then(() => require('./gl-DnD0DsrJ.cjs'));
64082
64091
  const glInstance = new GLModule.GL();
64083
64092
  glInstance.init();
64084
64093
  };
@@ -66423,35 +66432,40 @@ const styles$1K = {
66423
66432
  pill: pill
66424
66433
  };
66425
66434
 
66426
- const GlowingTab = React.forwardRef(
66427
- ({ isActive, onClick, children }, ref) => {
66428
- return /* @__PURE__ */ jsxRuntime.jsxs(
66429
- "button",
66430
- {
66431
- ref,
66432
- type: "button",
66433
- className: cn(styles$1K.button, {
66434
- [styles$1K.active]: isActive
66435
- }),
66436
- onClick,
66437
- children: [
66438
- children,
66439
- /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
66440
- /* @__PURE__ */ jsxRuntime.jsx("span", { className: styles$1K.dust }),
66441
- /* @__PURE__ */ jsxRuntime.jsx("span", { className: styles$1K.dust }),
66442
- /* @__PURE__ */ jsxRuntime.jsx("span", { className: styles$1K.dust }),
66443
- /* @__PURE__ */ jsxRuntime.jsx("span", { className: styles$1K.dust }),
66444
- /* @__PURE__ */ jsxRuntime.jsx("span", { className: styles$1K.dust })
66445
- ] }),
66446
- isActive && /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
66447
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: styles$1K.glow }),
66448
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: styles$1K.pill })
66449
- ] })
66450
- ]
66451
- }
66452
- );
66453
- }
66454
- );
66435
+ const GlowingTab = ({
66436
+ isActive,
66437
+ onClick,
66438
+ children,
66439
+ ref,
66440
+ ...rest
66441
+ }) => {
66442
+ return /* @__PURE__ */ jsxRuntime.jsxs(
66443
+ "button",
66444
+ {
66445
+ ref,
66446
+ type: "button",
66447
+ className: cn(styles$1K.button, {
66448
+ [styles$1K.active]: isActive
66449
+ }),
66450
+ onClick,
66451
+ ...rest,
66452
+ children: [
66453
+ children,
66454
+ /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
66455
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: styles$1K.dust }),
66456
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: styles$1K.dust }),
66457
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: styles$1K.dust }),
66458
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: styles$1K.dust }),
66459
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: styles$1K.dust })
66460
+ ] }),
66461
+ isActive && /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
66462
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: styles$1K.glow }),
66463
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: styles$1K.pill })
66464
+ ] })
66465
+ ]
66466
+ }
66467
+ );
66468
+ };
66455
66469
  GlowingTab.displayName = "GlowingTab";
66456
66470
 
66457
66471
  const GlowingTabs = () => {
@@ -70204,12 +70218,12 @@ const ScrambledText = ({
70204
70218
  );
70205
70219
  };
70206
70220
 
70207
- const root$Z = "_root_1i0ro_1";
70208
- const line = "_line_1i0ro_9";
70209
- const word$1 = "_word_1i0ro_14";
70210
- const link = "_link_1i0ro_18";
70211
- const letter = "_letter_1i0ro_22";
70212
- const wobble = "_wobble_1i0ro_1";
70221
+ const root$Z = "_root_10u4r_1";
70222
+ const line = "_line_10u4r_9";
70223
+ const word$1 = "_word_10u4r_14";
70224
+ const link = "_link_10u4r_18";
70225
+ const letter = "_letter_10u4r_22";
70226
+ const wobble = "_wobble_10u4r_1";
70213
70227
  const styles$12 = {
70214
70228
  root: root$Z,
70215
70229
  line: line,