@tarsis/toolkit 0.2.3 → 0.2.4

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-BV8pVFiP.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-Dp9G8wgn.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
 
@@ -52368,31 +52368,31 @@ const BubblyParticlesButton = () => {
52368
52368
  );
52369
52369
  };
52370
52370
 
52371
- const root$4j = "_root_1koxy_1";
52372
- const button$p = "_button_1koxy_13";
52373
- const p = "_p_1koxy_26";
52374
- const text$z = "_text_1koxy_26";
52375
- const rise1 = "_rise1_1koxy_1";
52376
- const rise2 = "_rise2_1koxy_1";
52377
- const rise3 = "_rise3_1koxy_1";
52378
- const rise4 = "_rise4_1koxy_1";
52379
- const rise5 = "_rise5_1koxy_1";
52380
- const rise6 = "_rise6_1koxy_1";
52381
- const rise7 = "_rise7_1koxy_1";
52382
- const rise8 = "_rise8_1koxy_1";
52383
- const rise9 = "_rise9_1koxy_1";
52384
- const rise10 = "_rise10_1koxy_1";
52385
- const rise11 = "_rise11_1koxy_1";
52386
- const rise12 = "_rise12_1koxy_1";
52387
- const rise13 = "_rise13_1koxy_1";
52388
- const rise14 = "_rise14_1koxy_1";
52389
- const rise15 = "_rise15_1koxy_1";
52390
- const rise16 = "_rise16_1koxy_1";
52391
- const rise17 = "_rise17_1koxy_1";
52392
- const rise18 = "_rise18_1koxy_1";
52393
- const rise19 = "_rise19_1koxy_1";
52394
- const rise20 = "_rise20_1koxy_1";
52395
- const effects = "_effects_1koxy_240";
52371
+ const root$4j = "_root_14i1t_1";
52372
+ const button$p = "_button_14i1t_13";
52373
+ const p = "_p_14i1t_26";
52374
+ const text$z = "_text_14i1t_26";
52375
+ const rise1 = "_rise1_14i1t_1";
52376
+ const rise2 = "_rise2_14i1t_1";
52377
+ const rise3 = "_rise3_14i1t_1";
52378
+ const rise4 = "_rise4_14i1t_1";
52379
+ const rise5 = "_rise5_14i1t_1";
52380
+ const rise6 = "_rise6_14i1t_1";
52381
+ const rise7 = "_rise7_14i1t_1";
52382
+ const rise8 = "_rise8_14i1t_1";
52383
+ const rise9 = "_rise9_14i1t_1";
52384
+ const rise10 = "_rise10_14i1t_1";
52385
+ const rise11 = "_rise11_14i1t_1";
52386
+ const rise12 = "_rise12_14i1t_1";
52387
+ const rise13 = "_rise13_14i1t_1";
52388
+ const rise14 = "_rise14_14i1t_1";
52389
+ const rise15 = "_rise15_14i1t_1";
52390
+ const rise16 = "_rise16_14i1t_1";
52391
+ const rise17 = "_rise17_14i1t_1";
52392
+ const rise18 = "_rise18_14i1t_1";
52393
+ const rise19 = "_rise19_14i1t_1";
52394
+ const rise20 = "_rise20_14i1t_1";
52395
+ const effects = "_effects_14i1t_240";
52396
52396
  const styles$4F = {
52397
52397
  root: root$4j,
52398
52398
  button: button$p,
@@ -53432,7 +53432,12 @@ const styles$4v = {
53432
53432
  root: root$4b
53433
53433
  };
53434
53434
 
53435
- const DockButton = React.forwardRef(({ children, className = "", ...rest }, ref) => /* @__PURE__ */ jsx(
53435
+ const DockButton = ({
53436
+ children,
53437
+ className = "",
53438
+ ref,
53439
+ ...rest
53440
+ }) => /* @__PURE__ */ jsx(
53436
53441
  "button",
53437
53442
  {
53438
53443
  ref,
@@ -53441,7 +53446,7 @@ const DockButton = React.forwardRef(({ children, className = "", ...rest }, ref)
53441
53446
  ...rest,
53442
53447
  children
53443
53448
  }
53444
- ));
53449
+ );
53445
53450
  DockButton.displayName = "DockButton";
53446
53451
 
53447
53452
  const root$4a = "_root_yqq6b_1";
@@ -53616,7 +53621,13 @@ const Wisp = () => /* @__PURE__ */ jsx("svg", { className: styles$4s.svg, childr
53616
53621
  pathLength: "10"
53617
53622
  }
53618
53623
  ) });
53619
- const DoubleStateButton = React.forwardRef(({ children, alternativeChildren, className = "", ...rest }, ref) => /* @__PURE__ */ jsxs(
53624
+ const DoubleStateButton = ({
53625
+ children,
53626
+ alternativeChildren,
53627
+ className = "",
53628
+ ref,
53629
+ ...rest
53630
+ }) => /* @__PURE__ */ jsxs(
53620
53631
  "button",
53621
53632
  {
53622
53633
  ref,
@@ -53636,7 +53647,7 @@ const DoubleStateButton = React.forwardRef(({ children, alternativeChildren, cla
53636
53647
  ] })
53637
53648
  ]
53638
53649
  }
53639
- ));
53650
+ );
53640
53651
  DoubleStateButton.displayName = "DoubleStateButton";
53641
53652
 
53642
53653
  const root$47 = "_root_645qm_1";
@@ -55632,10 +55643,10 @@ const NeonButton = ({ className = "", ...props }) => {
55632
55643
  return /* @__PURE__ */ jsx("button", { type: "button", className: cn(styles$47.root, className), ...props, children: "Neon" });
55633
55644
  };
55634
55645
 
55635
- const root$3Q = "_root_19hxp_2";
55636
- const i$1 = "_i_19hxp_22";
55637
- const noise = "_noise_19hxp_1";
55638
- const text$s = "_text_19hxp_482";
55646
+ const root$3Q = "_root_13ado_2";
55647
+ const i$1 = "_i_13ado_22";
55648
+ const noise = "_noise_13ado_1";
55649
+ const text$s = "_text_13ado_482";
55639
55650
  const styles$46 = {
55640
55651
  root: root$3Q,
55641
55652
  i: i$1,
@@ -59876,19 +59887,22 @@ const styles$3b = {
59876
59887
  fauxbox: fauxbox
59877
59888
  };
59878
59889
 
59879
- const Checkbox = React.forwardRef(
59880
- ({ rootClassName = "", className = "", inputClassName = "" }, ref) => /* @__PURE__ */ jsxs(
59881
- "span",
59882
- {
59883
- ref,
59884
- role: "presentation",
59885
- className: cn(styles$3b.root, rootClassName),
59886
- children: [
59887
- /* @__PURE__ */ jsx("input", { className: cn(styles$3b.realbox, inputClassName), type: "checkbox" }),
59888
- /* @__PURE__ */ jsx("span", { role: "presentation", className: cn(styles$3b.fauxbox, className) })
59889
- ]
59890
- }
59891
- )
59890
+ const Checkbox = ({
59891
+ rootClassName = "",
59892
+ className = "",
59893
+ inputClassName = "",
59894
+ ref
59895
+ }) => /* @__PURE__ */ jsxs(
59896
+ "span",
59897
+ {
59898
+ ref,
59899
+ role: "presentation",
59900
+ className: cn(styles$3b.root, rootClassName),
59901
+ children: [
59902
+ /* @__PURE__ */ jsx("input", { className: cn(styles$3b.realbox, inputClassName), type: "checkbox" }),
59903
+ /* @__PURE__ */ jsx("span", { role: "presentation", className: cn(styles$3b.fauxbox, className) })
59904
+ ]
59905
+ }
59892
59906
  );
59893
59907
  Checkbox.displayName = "Checkbox";
59894
59908
 
@@ -63745,26 +63759,25 @@ const styles$2k = {
63745
63759
  root: root$2b
63746
63760
  };
63747
63761
 
63748
- const RegularLink = React.forwardRef(
63749
- ({
63750
- children,
63762
+ const RegularLink = ({
63763
+ children,
63764
+ href,
63765
+ className = "",
63766
+ target = "_self",
63767
+ rel = "noopener noreferrer",
63768
+ ref,
63769
+ ...rest
63770
+ }) => /* @__PURE__ */ jsx(
63771
+ "a",
63772
+ {
63773
+ ...rest,
63774
+ className: cn(styles$2k.root, className),
63751
63775
  href,
63752
- className = "",
63753
- target = "_self",
63754
- rel = "noopener noreferrer",
63755
- ...rest
63756
- }, ref) => /* @__PURE__ */ jsx(
63757
- "a",
63758
- {
63759
- ...rest,
63760
- className: cn(styles$2k.root, className),
63761
- href,
63762
- target,
63763
- rel,
63764
- ref,
63765
- children
63766
- }
63767
- )
63776
+ target,
63777
+ rel,
63778
+ ref,
63779
+ children
63780
+ }
63768
63781
  );
63769
63782
  RegularLink.displayName = "Checkbox";
63770
63783
 
@@ -63798,26 +63811,25 @@ const styles$2i = {
63798
63811
  root: root$29
63799
63812
  };
63800
63813
 
63801
- const UnderlinedLink = React.forwardRef(
63802
- ({
63803
- children,
63814
+ const UnderlinedLink = ({
63815
+ children,
63816
+ href,
63817
+ className = "",
63818
+ target = "_self",
63819
+ rel = "noopener noreferrer",
63820
+ ref,
63821
+ ...rest
63822
+ }) => /* @__PURE__ */ jsx(
63823
+ "a",
63824
+ {
63825
+ ...rest,
63826
+ className: cn(styles$2i.root, className),
63804
63827
  href,
63805
- className = "",
63806
- target = "_self",
63807
- rel = "noopener noreferrer",
63808
- ...rest
63809
- }, ref) => /* @__PURE__ */ jsx(
63810
- "a",
63811
- {
63812
- ...rest,
63813
- className: cn(styles$2i.root, className),
63814
- href,
63815
- target,
63816
- rel,
63817
- ref,
63818
- children
63819
- }
63820
- )
63828
+ target,
63829
+ rel,
63830
+ ref,
63831
+ children
63832
+ }
63821
63833
  );
63822
63834
  UnderlinedLink.displayName = "UnderlinedLink";
63823
63835
 
@@ -63955,45 +63967,42 @@ const CanOfDigits = ({
63955
63967
  initialValue = 1e3
63956
63968
  }) => {
63957
63969
  const [value, setValue] = React.useState(initialValue);
63958
- return (
63959
- // <form />
63960
- /* @__PURE__ */ jsxs("span", { className: cn(styles$2e.root, className), children: [
63961
- /* @__PURE__ */ jsx("label", { className: cn(styles$2e.label, styles$2e.sr), htmlFor: "digits", children: "Digits" }),
63962
- controls && /* @__PURE__ */ jsxs(Fragment, { children: [
63963
- /* @__PURE__ */ jsx(
63964
- "input",
63965
- {
63966
- className: styles$2e.input,
63967
- id: "digits",
63968
- type: "number",
63969
- name: "digits",
63970
- min: 0,
63971
- max: 9999,
63972
- value,
63973
- onChange: (e) => {
63974
- setValue(Number(e.currentTarget.value));
63975
- }
63976
- }
63977
- ),
63978
- /* @__PURE__ */ jsx("br", {}),
63979
- /* @__PURE__ */ jsx(
63980
- "input",
63981
- {
63982
- className: styles$2e.input,
63983
- id: "vertical",
63984
- type: "checkbox",
63985
- name: "vertical",
63986
- value: "is_vertical"
63970
+ return /* @__PURE__ */ jsxs("span", { className: cn(styles$2e.root, className), children: [
63971
+ /* @__PURE__ */ jsx("label", { className: cn(styles$2e.label, styles$2e.sr), htmlFor: "digits", children: "Digits" }),
63972
+ controls && /* @__PURE__ */ jsxs(Fragment, { children: [
63973
+ /* @__PURE__ */ jsx(
63974
+ "input",
63975
+ {
63976
+ className: styles$2e.input,
63977
+ id: "digits",
63978
+ type: "number",
63979
+ name: "digits",
63980
+ min: 0,
63981
+ max: 9999,
63982
+ value,
63983
+ onChange: (e) => {
63984
+ setValue(Number(e.currentTarget.value));
63987
63985
  }
63988
- ),
63989
- /* @__PURE__ */ jsx("label", { className: styles$2e.label, htmlFor: "vertical", children: "Vertical" })
63990
- ] }),
63991
- /* @__PURE__ */ jsx("div", { className: styles$2e.can, children: React.useMemo(
63992
- () => Array.from({ length: 18 }, (_, i) => /* @__PURE__ */ jsx("div", { className: styles$2e.sector, children: value }, i)),
63993
- [value]
63994
- ) })
63995
- ] })
63996
- );
63986
+ }
63987
+ ),
63988
+ /* @__PURE__ */ jsx("br", {}),
63989
+ /* @__PURE__ */ jsx(
63990
+ "input",
63991
+ {
63992
+ className: styles$2e.input,
63993
+ id: "vertical",
63994
+ type: "checkbox",
63995
+ name: "vertical",
63996
+ value: "is_vertical"
63997
+ }
63998
+ ),
63999
+ /* @__PURE__ */ jsx("label", { className: styles$2e.label, htmlFor: "vertical", children: "Vertical" })
64000
+ ] }),
64001
+ /* @__PURE__ */ jsx("div", { className: styles$2e.can, children: React.useMemo(
64002
+ () => Array.from({ length: 18 }, (_, i) => /* @__PURE__ */ jsx("div", { className: styles$2e.sector, children: value }, i)),
64003
+ [value]
64004
+ ) })
64005
+ ] });
63997
64006
  };
63998
64007
 
63999
64008
  const root$24 = "_root_1i4gp_1";
@@ -64076,7 +64085,7 @@ const EndlessLoader = () => {
64076
64085
  if (typeof window === "undefined") return;
64077
64086
  const loadGl = async () => {
64078
64087
  window.THREE = require("three");
64079
- const GLModule = await import('./gl-CfQpqo7U.js');
64088
+ const GLModule = await import('./gl-ClVXu6ib.js');
64080
64089
  const glInstance = new GLModule.GL();
64081
64090
  glInstance.init();
64082
64091
  };
@@ -66421,35 +66430,40 @@ const styles$1K = {
66421
66430
  pill: pill
66422
66431
  };
66423
66432
 
66424
- const GlowingTab = React.forwardRef(
66425
- ({ isActive, onClick, children }, ref) => {
66426
- return /* @__PURE__ */ jsxs(
66427
- "button",
66428
- {
66429
- ref,
66430
- type: "button",
66431
- className: cn(styles$1K.button, {
66432
- [styles$1K.active]: isActive
66433
- }),
66434
- onClick,
66435
- children: [
66436
- children,
66437
- /* @__PURE__ */ jsxs(Fragment, { children: [
66438
- /* @__PURE__ */ jsx("span", { className: styles$1K.dust }),
66439
- /* @__PURE__ */ jsx("span", { className: styles$1K.dust }),
66440
- /* @__PURE__ */ jsx("span", { className: styles$1K.dust }),
66441
- /* @__PURE__ */ jsx("span", { className: styles$1K.dust }),
66442
- /* @__PURE__ */ jsx("span", { className: styles$1K.dust })
66443
- ] }),
66444
- isActive && /* @__PURE__ */ jsxs(Fragment, { children: [
66445
- /* @__PURE__ */ jsx("div", { className: styles$1K.glow }),
66446
- /* @__PURE__ */ jsx("div", { className: styles$1K.pill })
66447
- ] })
66448
- ]
66449
- }
66450
- );
66451
- }
66452
- );
66433
+ const GlowingTab = ({
66434
+ isActive,
66435
+ onClick,
66436
+ children,
66437
+ ref,
66438
+ ...rest
66439
+ }) => {
66440
+ return /* @__PURE__ */ jsxs(
66441
+ "button",
66442
+ {
66443
+ ref,
66444
+ type: "button",
66445
+ className: cn(styles$1K.button, {
66446
+ [styles$1K.active]: isActive
66447
+ }),
66448
+ onClick,
66449
+ ...rest,
66450
+ children: [
66451
+ children,
66452
+ /* @__PURE__ */ jsxs(Fragment, { children: [
66453
+ /* @__PURE__ */ jsx("span", { className: styles$1K.dust }),
66454
+ /* @__PURE__ */ jsx("span", { className: styles$1K.dust }),
66455
+ /* @__PURE__ */ jsx("span", { className: styles$1K.dust }),
66456
+ /* @__PURE__ */ jsx("span", { className: styles$1K.dust }),
66457
+ /* @__PURE__ */ jsx("span", { className: styles$1K.dust })
66458
+ ] }),
66459
+ isActive && /* @__PURE__ */ jsxs(Fragment, { children: [
66460
+ /* @__PURE__ */ jsx("div", { className: styles$1K.glow }),
66461
+ /* @__PURE__ */ jsx("div", { className: styles$1K.pill })
66462
+ ] })
66463
+ ]
66464
+ }
66465
+ );
66466
+ };
66453
66467
  GlowingTab.displayName = "GlowingTab";
66454
66468
 
66455
66469
  const GlowingTabs = () => {
@@ -70202,12 +70216,12 @@ const ScrambledText = ({
70202
70216
  );
70203
70217
  };
70204
70218
 
70205
- const root$Z = "_root_1i0ro_1";
70206
- const line = "_line_1i0ro_9";
70207
- const word$1 = "_word_1i0ro_14";
70208
- const link = "_link_1i0ro_18";
70209
- const letter = "_letter_1i0ro_22";
70210
- const wobble = "_wobble_1i0ro_1";
70219
+ const root$Z = "_root_wln39_1";
70220
+ const line = "_line_wln39_9";
70221
+ const word$1 = "_word_wln39_14";
70222
+ const link = "_link_wln39_18";
70223
+ const letter = "_letter_wln39_22";
70224
+ const wobble = "_wobble_wln39_1";
70211
70225
  const styles$12 = {
70212
70226
  root: root$Z,
70213
70227
  line: line,