@luminescent/ui-qwik 6.8.2 → 6.8.3-2

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 (139) hide show
  1. package/lib/components/docs/Anchor.d.ts +4 -0
  2. package/lib/components/docs/Blobs.d.ts +4 -0
  3. package/lib/components/docs/ColorPicker.d.ts +4 -0
  4. package/lib/components/docs/Dropdown.d.ts +4 -0
  5. package/lib/components/docs/IconsLogos.d.ts +4 -0
  6. package/lib/components/docs/Nav.d.ts +4 -0
  7. package/lib/components/docs/NumberInput.d.ts +4 -0
  8. package/lib/components/docs/RangeInput.d.ts +4 -0
  9. package/lib/components/docs/SelectMenu.d.ts +4 -0
  10. package/lib/components/docs/Settings.d.ts +2 -0
  11. package/lib/components/docs/Sidebar.d.ts +4 -0
  12. package/lib/components/docs/Toggle.d.ts +4 -0
  13. package/lib/components/docs/lum-btn.d.ts +4 -0
  14. package/lib/components/docs/lum-card.d.ts +4 -0
  15. package/lib/components/docs/lum-classes.d.ts +4 -0
  16. package/lib/components/docs/lum-input.d.ts +4 -0
  17. package/{lib-types → lib}/components/elements/Anchor.d.ts +2 -2
  18. package/lib/components/elements/Anchor.qwik.cjs +26 -0
  19. package/lib/components/elements/Anchor.qwik.mjs +26 -0
  20. package/{lib-types → lib}/components/elements/Blobs.d.ts +1 -1
  21. package/lib/components/elements/Blobs.qwik.cjs +191 -0
  22. package/lib/components/elements/Blobs.qwik.mjs +191 -0
  23. package/{lib-types → lib}/components/elements/ColorPicker.d.ts +2 -2
  24. package/lib/components/elements/ColorPicker.qwik.cjs +314 -0
  25. package/lib/components/elements/ColorPicker.qwik.mjs +314 -0
  26. package/{lib-types → lib}/components/elements/Dropdown.d.ts +2 -2
  27. package/lib/components/elements/Dropdown.qwik.cjs +31 -0
  28. package/lib/components/elements/Dropdown.qwik.mjs +31 -0
  29. package/{lib-types → lib}/components/elements/Nav.d.ts +2 -2
  30. package/lib/components/elements/Nav.qwik.cjs +98 -0
  31. package/lib/components/elements/Nav.qwik.mjs +98 -0
  32. package/{lib-types → lib}/components/elements/NumberInput.d.ts +3 -3
  33. package/lib/components/elements/NumberInput.qwik.cjs +87 -0
  34. package/lib/components/elements/NumberInput.qwik.mjs +87 -0
  35. package/{lib-types → lib}/components/elements/RangeInput.d.ts +3 -3
  36. package/lib/components/elements/RangeInput.qwik.cjs +77 -0
  37. package/lib/components/elements/RangeInput.qwik.mjs +77 -0
  38. package/{lib-types → lib}/components/elements/SelectMenu.d.ts +3 -3
  39. package/lib/components/elements/SelectMenu.qwik.cjs +134 -0
  40. package/lib/components/elements/SelectMenu.qwik.mjs +134 -0
  41. package/{lib-types → lib}/components/elements/Sidebar.d.ts +2 -2
  42. package/lib/components/elements/Sidebar.qwik.cjs +37 -0
  43. package/lib/components/elements/Sidebar.qwik.mjs +37 -0
  44. package/{lib-types → lib}/components/elements/Toggle.d.ts +2 -2
  45. package/lib/components/elements/Toggle.qwik.cjs +39 -0
  46. package/lib/components/elements/Toggle.qwik.mjs +39 -0
  47. package/lib/components/functions.qwik.cjs +18 -0
  48. package/lib/components/functions.qwik.mjs +18 -0
  49. package/{lib-types → lib}/components/logos/Birdflop.d.ts +1 -1
  50. package/lib/components/logos/Birdflop.qwik.cjs +73 -0
  51. package/lib/components/logos/Birdflop.qwik.mjs +73 -0
  52. package/lib/components/logos/Discord.d.ts +2 -0
  53. package/lib/components/logos/Discord.qwik.cjs +18 -0
  54. package/lib/components/logos/Discord.qwik.mjs +18 -0
  55. package/lib/components/logos/Fabric.d.ts +2 -0
  56. package/lib/components/logos/Fabric.qwik.cjs +32 -0
  57. package/lib/components/logos/Fabric.qwik.mjs +32 -0
  58. package/lib/components/logos/Forge.d.ts +2 -0
  59. package/lib/components/logos/Forge.qwik.cjs +31 -0
  60. package/lib/components/logos/Forge.qwik.mjs +31 -0
  61. package/{lib-types → lib}/components/logos/IconProps.d.ts +1 -1
  62. package/lib/components/logos/Luminescent.d.ts +3 -0
  63. package/lib/components/logos/Luminescent.qwik.cjs +143 -0
  64. package/lib/components/logos/Luminescent.qwik.mjs +143 -0
  65. package/lib/components/logos/Paper.d.ts +2 -0
  66. package/lib/components/logos/Paper.qwik.cjs +40 -0
  67. package/lib/components/logos/Paper.qwik.mjs +40 -0
  68. package/{lib-types/components/logos/Waterfall.d.ts → lib/components/logos/Pterodactyl.d.ts} +1 -1
  69. package/lib/components/logos/Pterodactyl.qwik.cjs +35 -0
  70. package/lib/components/logos/Pterodactyl.qwik.mjs +35 -0
  71. package/lib/components/logos/Purpur.d.ts +2 -0
  72. package/lib/components/logos/Purpur.qwik.cjs +76 -0
  73. package/lib/components/logos/Purpur.qwik.mjs +76 -0
  74. package/{lib-types/components/logos/Purpur.d.ts → lib/components/logos/Velocity.d.ts} +1 -1
  75. package/lib/components/logos/Velocity.qwik.cjs +27 -0
  76. package/lib/components/logos/Velocity.qwik.mjs +27 -0
  77. package/{lib-types/components/logos/Discord.d.ts → lib/components/logos/Waterfall.d.ts} +1 -1
  78. package/lib/components/logos/Waterfall.qwik.cjs +21 -0
  79. package/lib/components/logos/Waterfall.qwik.mjs +21 -0
  80. package/lib/index.qwik.cjs +47 -1730
  81. package/lib/index.qwik.mjs +21 -1704
  82. package/lib/svg/ChevronDown.d.ts +2 -0
  83. package/lib/svg/ChevronDown.qwik.cjs +23 -0
  84. package/lib/svg/ChevronDown.qwik.mjs +23 -0
  85. package/lib/svg/Link.d.ts +2 -0
  86. package/lib/svg/Link.qwik.cjs +34 -0
  87. package/lib/svg/Link.qwik.mjs +34 -0
  88. package/lib/svg/Menu.d.ts +2 -0
  89. package/lib/svg/Menu.qwik.cjs +31 -0
  90. package/lib/svg/Menu.qwik.mjs +31 -0
  91. package/lib/svg/Minus.d.ts +2 -0
  92. package/lib/svg/Minus.qwik.cjs +23 -0
  93. package/lib/svg/Minus.qwik.mjs +23 -0
  94. package/lib/svg/Plus.d.ts +2 -0
  95. package/lib/svg/Plus.qwik.cjs +28 -0
  96. package/lib/svg/Plus.qwik.mjs +28 -0
  97. package/{lib-types/svg/Minus.d.ts → lib/svg/Shuffle.d.ts} +1 -1
  98. package/lib/svg/Shuffle.qwik.cjs +37 -0
  99. package/lib/svg/Shuffle.qwik.mjs +37 -0
  100. package/lib/utils/color.qwik.cjs +134 -0
  101. package/lib/utils/color.qwik.mjs +134 -0
  102. package/package.json +22 -25
  103. package/LICENSE +0 -661
  104. package/lib-types/components/docs/Anchor.d.ts +0 -4
  105. package/lib-types/components/docs/Blobs.d.ts +0 -4
  106. package/lib-types/components/docs/ColorPicker.d.ts +0 -4
  107. package/lib-types/components/docs/Dropdown.d.ts +0 -4
  108. package/lib-types/components/docs/IconsLogos.d.ts +0 -4
  109. package/lib-types/components/docs/Nav.d.ts +0 -4
  110. package/lib-types/components/docs/NumberInput.d.ts +0 -4
  111. package/lib-types/components/docs/RangeInput.d.ts +0 -4
  112. package/lib-types/components/docs/SelectMenu.d.ts +0 -4
  113. package/lib-types/components/docs/Settings.d.ts +0 -2
  114. package/lib-types/components/docs/Sidebar.d.ts +0 -4
  115. package/lib-types/components/docs/Toggle.d.ts +0 -4
  116. package/lib-types/components/docs/lum-btn.d.ts +0 -4
  117. package/lib-types/components/docs/lum-card.d.ts +0 -4
  118. package/lib-types/components/docs/lum-classes.d.ts +0 -4
  119. package/lib-types/components/docs/lum-input.d.ts +0 -4
  120. package/lib-types/components/logos/Fabric.d.ts +0 -2
  121. package/lib-types/components/logos/Forge.d.ts +0 -2
  122. package/lib-types/components/logos/Luminescent.d.ts +0 -3
  123. package/lib-types/components/logos/Paper.d.ts +0 -2
  124. package/lib-types/components/logos/Pterodactyl.d.ts +0 -2
  125. package/lib-types/components/logos/Velocity.d.ts +0 -2
  126. package/lib-types/entry.dev.d.ts +0 -2
  127. package/lib-types/entry.ssr.d.ts +0 -14
  128. package/lib-types/root.d.ts +0 -3
  129. package/lib-types/svg/ChevronDown.d.ts +0 -2
  130. package/lib-types/svg/Link.d.ts +0 -2
  131. package/lib-types/svg/Menu.d.ts +0 -2
  132. package/lib-types/svg/Plus.d.ts +0 -2
  133. package/lib-types/svg/Shuffle.d.ts +0 -2
  134. package/tailwind.config.js +0 -94
  135. /package/{lib-types → lib}/components/elements.d.ts +0 -0
  136. /package/{lib-types → lib}/components/functions.d.ts +0 -0
  137. /package/{lib-types → lib}/components/logos.d.ts +0 -0
  138. /package/{lib-types → lib}/index.d.ts +0 -0
  139. /package/{lib-types → lib}/utils/color.d.ts +0 -0
@@ -0,0 +1,134 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
+ const jsxRuntime = require("@qwik.dev/core/jsx-runtime");
4
+ const core = require("@qwik.dev/core");
5
+ const Dropdown = require("./Dropdown.qwik.cjs");
6
+ const SelectMenu = core.component$((props) => {
7
+ return /* @__PURE__ */ jsxRuntime.jsxs("div", {
8
+ class: "flex flex-col",
9
+ children: [
10
+ /* @__PURE__ */ jsxRuntime.jsx("label", {
11
+ for: props.id ? `${props.id}-dropdown` : void 0,
12
+ class: "pb-1 text-lum-text select-none",
13
+ children: /* @__PURE__ */ jsxRuntime.jsx(core.Slot, {})
14
+ }),
15
+ /* @__PURE__ */ jsxRuntime.jsxs(SelectMenuRaw, {
16
+ ...props,
17
+ children: [
18
+ /* @__PURE__ */ jsxRuntime.jsx("div", {
19
+ "q:slot": "dropdown",
20
+ children: (props.customDropdown || !props.values?.length) && /* @__PURE__ */ jsxRuntime.jsx(core.Slot, {
21
+ name: "dropdown"
22
+ })
23
+ }),
24
+ /* @__PURE__ */ jsxRuntime.jsx("div", {
25
+ "q:slot": "extra-buttons",
26
+ children: /* @__PURE__ */ jsxRuntime.jsx(core.Slot, {
27
+ name: "extra-buttons"
28
+ })
29
+ })
30
+ ]
31
+ })
32
+ ]
33
+ });
34
+ });
35
+ const SelectMenuRaw = core.component$(({ values, class: Class, panelClass = "lum-bg-lum-input-bg", btnClass = "lum-bg-transparent", noblur, nocloseonclick, customDropdown, hover, align, ...props }) => {
36
+ const store = core.useStore({
37
+ opened: false,
38
+ value: props.value
39
+ });
40
+ const selectRef = core.useSignal();
41
+ const selected = values?.find((v) => v.value === store.value);
42
+ return /* @__PURE__ */ jsxRuntime.jsxs("div", {
43
+ class: {
44
+ "relative touch-manipulation": true,
45
+ group: hover
46
+ },
47
+ children: [
48
+ values && /* @__PURE__ */ jsxRuntime.jsx("select", {
49
+ ...props,
50
+ ref: selectRef,
51
+ class: "hidden",
52
+ children: values.map((value, i) => {
53
+ return /* @__PURE__ */ jsxRuntime.jsx("option", {
54
+ value: value.value,
55
+ children: `${value.value}`
56
+ }, i);
57
+ })
58
+ }),
59
+ /* @__PURE__ */ jsxRuntime.jsxs(Dropdown.Dropdown, {
60
+ id: props.id ? `${props.id}-dropdown` : void 0,
61
+ opened: store.opened,
62
+ class: {
63
+ "w-full": true,
64
+ ...Class
65
+ },
66
+ onClick$: (e, el) => {
67
+ if (hover) return;
68
+ store.opened = !store.opened;
69
+ if (nocloseonclick) return;
70
+ const listener = (e2) => {
71
+ if (!store.opened) return document.removeEventListener("click", listener);
72
+ const path = e2.composedPath();
73
+ if (path.includes(el)) return;
74
+ store.opened = false;
75
+ document.removeEventListener("click", listener);
76
+ };
77
+ document.addEventListener("click", listener);
78
+ },
79
+ children: [
80
+ customDropdown && /* @__PURE__ */ jsxRuntime.jsx(core.Slot, {
81
+ name: "dropdown"
82
+ }),
83
+ !customDropdown && (selected?.name ?? values?.[0]?.name ?? /* @__PURE__ */ jsxRuntime.jsx(core.Slot, {
84
+ name: "dropdown"
85
+ }))
86
+ ]
87
+ }),
88
+ hover && /* @__PURE__ */ jsxRuntime.jsx("div", {
89
+ class: "h-2 absolute w-full"
90
+ }),
91
+ /* @__PURE__ */ jsxRuntime.jsxs("div", {
92
+ class: {
93
+ "absolute z-1000 mt-2": true,
94
+ "backdrop-blur-lg": !noblur,
95
+ "lum-scroll flex max-h-72 flex-col gap-1 overflow-auto rounded-lum border p-1 select-none motion-safe:transition-all ease-out": true,
96
+ "left-0": align === "left",
97
+ "right-0": align === "right",
98
+ "left-1/2 -translate-x-1/2": align === "center",
99
+ "pointer-events-none scale-95 opacity-0": !store.opened,
100
+ "duration-300 group-hover:pointer-events-auto group-hover:scale-100 group-hover:opacity-100 group-hover:duration-75": hover,
101
+ "focus-within:pointer-events-auto focus-within:scale-100 focus-within:opacity-100 focus-within:duration-75": true,
102
+ [panelClass]: true
103
+ },
104
+ children: [
105
+ values?.map(({ name, value }, i) => {
106
+ return /* @__PURE__ */ jsxRuntime.jsx("button", {
107
+ type: "button",
108
+ class: {
109
+ "lum-btn rounded-lum-1": true,
110
+ [btnClass]: true
111
+ },
112
+ onClick$: (e, el) => {
113
+ el.blur();
114
+ store.opened = false;
115
+ const select = selectRef.value;
116
+ if (select) {
117
+ select.value = value.toString();
118
+ select.dispatchEvent(new Event("change"));
119
+ }
120
+ store.value = value.toString();
121
+ },
122
+ children: name
123
+ }, i);
124
+ }),
125
+ /* @__PURE__ */ jsxRuntime.jsx(core.Slot, {
126
+ name: "extra-buttons"
127
+ })
128
+ ]
129
+ })
130
+ ]
131
+ });
132
+ });
133
+ exports.SelectMenu = SelectMenu;
134
+ exports.SelectMenuRaw = SelectMenuRaw;
@@ -0,0 +1,134 @@
1
+ import { jsxs, jsx } from "@qwik.dev/core/jsx-runtime";
2
+ import { component$, Slot, useStore, useSignal } from "@qwik.dev/core";
3
+ import { Dropdown } from "./Dropdown.qwik.mjs";
4
+ const SelectMenu = component$((props) => {
5
+ return /* @__PURE__ */ jsxs("div", {
6
+ class: "flex flex-col",
7
+ children: [
8
+ /* @__PURE__ */ jsx("label", {
9
+ for: props.id ? `${props.id}-dropdown` : void 0,
10
+ class: "pb-1 text-lum-text select-none",
11
+ children: /* @__PURE__ */ jsx(Slot, {})
12
+ }),
13
+ /* @__PURE__ */ jsxs(SelectMenuRaw, {
14
+ ...props,
15
+ children: [
16
+ /* @__PURE__ */ jsx("div", {
17
+ "q:slot": "dropdown",
18
+ children: (props.customDropdown || !props.values?.length) && /* @__PURE__ */ jsx(Slot, {
19
+ name: "dropdown"
20
+ })
21
+ }),
22
+ /* @__PURE__ */ jsx("div", {
23
+ "q:slot": "extra-buttons",
24
+ children: /* @__PURE__ */ jsx(Slot, {
25
+ name: "extra-buttons"
26
+ })
27
+ })
28
+ ]
29
+ })
30
+ ]
31
+ });
32
+ });
33
+ const SelectMenuRaw = component$(({ values, class: Class, panelClass = "lum-bg-lum-input-bg", btnClass = "lum-bg-transparent", noblur, nocloseonclick, customDropdown, hover, align, ...props }) => {
34
+ const store = useStore({
35
+ opened: false,
36
+ value: props.value
37
+ });
38
+ const selectRef = useSignal();
39
+ const selected = values?.find((v) => v.value === store.value);
40
+ return /* @__PURE__ */ jsxs("div", {
41
+ class: {
42
+ "relative touch-manipulation": true,
43
+ group: hover
44
+ },
45
+ children: [
46
+ values && /* @__PURE__ */ jsx("select", {
47
+ ...props,
48
+ ref: selectRef,
49
+ class: "hidden",
50
+ children: values.map((value, i) => {
51
+ return /* @__PURE__ */ jsx("option", {
52
+ value: value.value,
53
+ children: `${value.value}`
54
+ }, i);
55
+ })
56
+ }),
57
+ /* @__PURE__ */ jsxs(Dropdown, {
58
+ id: props.id ? `${props.id}-dropdown` : void 0,
59
+ opened: store.opened,
60
+ class: {
61
+ "w-full": true,
62
+ ...Class
63
+ },
64
+ onClick$: (e, el) => {
65
+ if (hover) return;
66
+ store.opened = !store.opened;
67
+ if (nocloseonclick) return;
68
+ const listener = (e2) => {
69
+ if (!store.opened) return document.removeEventListener("click", listener);
70
+ const path = e2.composedPath();
71
+ if (path.includes(el)) return;
72
+ store.opened = false;
73
+ document.removeEventListener("click", listener);
74
+ };
75
+ document.addEventListener("click", listener);
76
+ },
77
+ children: [
78
+ customDropdown && /* @__PURE__ */ jsx(Slot, {
79
+ name: "dropdown"
80
+ }),
81
+ !customDropdown && (selected?.name ?? values?.[0]?.name ?? /* @__PURE__ */ jsx(Slot, {
82
+ name: "dropdown"
83
+ }))
84
+ ]
85
+ }),
86
+ hover && /* @__PURE__ */ jsx("div", {
87
+ class: "h-2 absolute w-full"
88
+ }),
89
+ /* @__PURE__ */ jsxs("div", {
90
+ class: {
91
+ "absolute z-1000 mt-2": true,
92
+ "backdrop-blur-lg": !noblur,
93
+ "lum-scroll flex max-h-72 flex-col gap-1 overflow-auto rounded-lum border p-1 select-none motion-safe:transition-all ease-out": true,
94
+ "left-0": align === "left",
95
+ "right-0": align === "right",
96
+ "left-1/2 -translate-x-1/2": align === "center",
97
+ "pointer-events-none scale-95 opacity-0": !store.opened,
98
+ "duration-300 group-hover:pointer-events-auto group-hover:scale-100 group-hover:opacity-100 group-hover:duration-75": hover,
99
+ "focus-within:pointer-events-auto focus-within:scale-100 focus-within:opacity-100 focus-within:duration-75": true,
100
+ [panelClass]: true
101
+ },
102
+ children: [
103
+ values?.map(({ name, value }, i) => {
104
+ return /* @__PURE__ */ jsx("button", {
105
+ type: "button",
106
+ class: {
107
+ "lum-btn rounded-lum-1": true,
108
+ [btnClass]: true
109
+ },
110
+ onClick$: (e, el) => {
111
+ el.blur();
112
+ store.opened = false;
113
+ const select = selectRef.value;
114
+ if (select) {
115
+ select.value = value.toString();
116
+ select.dispatchEvent(new Event("change"));
117
+ }
118
+ store.value = value.toString();
119
+ },
120
+ children: name
121
+ }, i);
122
+ }),
123
+ /* @__PURE__ */ jsx(Slot, {
124
+ name: "extra-buttons"
125
+ })
126
+ ]
127
+ })
128
+ ]
129
+ });
130
+ });
131
+ export {
132
+ SelectMenu,
133
+ SelectMenuRaw
134
+ };
@@ -1,4 +1,4 @@
1
- import { PropsOf } from '@builder.io/qwik';
1
+ import { PropsOf } from '@qwik.dev/core';
2
2
  interface SidebarProps extends Omit<PropsOf<'aside'>, 'class'> {
3
3
  class?: {
4
4
  [key: string]: boolean;
@@ -6,5 +6,5 @@ interface SidebarProps extends Omit<PropsOf<'aside'>, 'class'> {
6
6
  floating?: boolean;
7
7
  position?: 'left' | 'right';
8
8
  }
9
- export declare const Sidebar: import("@builder.io/qwik").Component<SidebarProps>;
9
+ export declare const Sidebar: import("@qwik.dev/core").Component<SidebarProps>;
10
10
  export {};
@@ -0,0 +1,37 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
+ const jsxRuntime = require("@qwik.dev/core/jsx-runtime");
4
+ const core = require("@qwik.dev/core");
5
+ const Sidebar = core.component$(({ position, ...props }) => {
6
+ return /* @__PURE__ */ jsxRuntime.jsx("aside", {
7
+ ...props,
8
+ class: {
9
+ "hidden lg:flex sticky lum-card top-0 z-40 px-6 pb-0 rounded-none pt-20 h-dvh": true,
10
+ "left-0 border-0 border-r": position === "left" || !position,
11
+ "right-0 border-0 border-l": position === "right",
12
+ ...props.class
13
+ },
14
+ children: /* @__PURE__ */ jsxRuntime.jsxs("nav", {
15
+ id: "docs-sidebar",
16
+ class: "min-h-full relative",
17
+ children: [
18
+ /* @__PURE__ */ jsxRuntime.jsx("div", {
19
+ class: "flex items-center gap-3 pb-3 px-2 border-b border-lum-border/10",
20
+ children: /* @__PURE__ */ jsxRuntime.jsx("div", {
21
+ class: "flex-1",
22
+ children: /* @__PURE__ */ jsxRuntime.jsx(core.Slot, {
23
+ name: "title"
24
+ })
25
+ })
26
+ }),
27
+ /* @__PURE__ */ jsxRuntime.jsx("div", {
28
+ class: {
29
+ "flex flex-col gap-3 my-4 mx-4 lg:mx-0": true
30
+ },
31
+ children: /* @__PURE__ */ jsxRuntime.jsx(core.Slot, {})
32
+ })
33
+ ]
34
+ })
35
+ });
36
+ });
37
+ exports.Sidebar = Sidebar;
@@ -0,0 +1,37 @@
1
+ import { jsx, jsxs } from "@qwik.dev/core/jsx-runtime";
2
+ import { component$, Slot } from "@qwik.dev/core";
3
+ const Sidebar = component$(({ position, ...props }) => {
4
+ return /* @__PURE__ */ jsx("aside", {
5
+ ...props,
6
+ class: {
7
+ "hidden lg:flex sticky lum-card top-0 z-40 px-6 pb-0 rounded-none pt-20 h-dvh": true,
8
+ "left-0 border-0 border-r": position === "left" || !position,
9
+ "right-0 border-0 border-l": position === "right",
10
+ ...props.class
11
+ },
12
+ children: /* @__PURE__ */ jsxs("nav", {
13
+ id: "docs-sidebar",
14
+ class: "min-h-full relative",
15
+ children: [
16
+ /* @__PURE__ */ jsx("div", {
17
+ class: "flex items-center gap-3 pb-3 px-2 border-b border-lum-border/10",
18
+ children: /* @__PURE__ */ jsx("div", {
19
+ class: "flex-1",
20
+ children: /* @__PURE__ */ jsx(Slot, {
21
+ name: "title"
22
+ })
23
+ })
24
+ }),
25
+ /* @__PURE__ */ jsx("div", {
26
+ class: {
27
+ "flex flex-col gap-3 my-4 mx-4 lg:mx-0": true
28
+ },
29
+ children: /* @__PURE__ */ jsx(Slot, {})
30
+ })
31
+ ]
32
+ })
33
+ });
34
+ });
35
+ export {
36
+ Sidebar
37
+ };
@@ -1,4 +1,4 @@
1
- import type { PropsOf } from '@builder.io/qwik';
1
+ import type { PropsOf } from '@qwik.dev/core';
2
2
  interface ToggleProps extends Omit<PropsOf<'input'> & {
3
3
  type: 'checkbox';
4
4
  }, 'class' | 'bind:checked' | 'type' | 'children'> {
@@ -6,5 +6,5 @@ interface ToggleProps extends Omit<PropsOf<'input'> & {
6
6
  checkbox?: boolean;
7
7
  round?: boolean;
8
8
  }
9
- export declare const Toggle: import("@builder.io/qwik").Component<ToggleProps>;
9
+ export declare const Toggle: import("@qwik.dev/core").Component<ToggleProps>;
10
10
  export {};
@@ -0,0 +1,39 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
+ const jsxRuntime = require("@qwik.dev/core/jsx-runtime");
4
+ const core = require("@qwik.dev/core");
5
+ const Toggle = core.component$(({ checkbox, round, ...props }) => {
6
+ return /* @__PURE__ */ jsxRuntime.jsxs("div", {
7
+ class: "flex touch-manipulation items-center gap-3",
8
+ children: [
9
+ /* @__PURE__ */ jsxRuntime.jsxs("label", {
10
+ class: "relative inline-flex cursor-pointer items-center",
11
+ children: [
12
+ /* @__PURE__ */ jsxRuntime.jsx("input", {
13
+ type: "checkbox",
14
+ ...props,
15
+ class: "peer sr-only"
16
+ }),
17
+ /* @__PURE__ */ jsxRuntime.jsx("div", {
18
+ class: {
19
+ "peer h-7 duration-300 ease-out hover:duration-75 peer-focus:border-blue-500": true,
20
+ "after:absolute after:top-1 after:left-1 after:h-5 after:w-5 after:border after:duration-300 after:ease-out after:content-[''] after:hover:duration-75 after:motion-safe:transition-transform": true,
21
+ "rounded-lum after:rounded-lum-1": !round,
22
+ "rounded-full after:rounded-full": round,
23
+ "w-12 peer-checked:after:translate-x-full": !checkbox,
24
+ "w-7 after:opacity-0 peer-checked:after:opacity-100": checkbox,
25
+ "lum-toggle-bg-lum-input-bg peer-checked:lum-toggle-bg-lum-accent": true,
26
+ [props.class ?? ""]: !!props.class
27
+ }
28
+ })
29
+ ]
30
+ }),
31
+ /* @__PURE__ */ jsxRuntime.jsx("label", {
32
+ for: props.id,
33
+ class: "flex gap-2 text-lum-text select-none empty:hidden",
34
+ children: /* @__PURE__ */ jsxRuntime.jsx(core.Slot, {})
35
+ })
36
+ ]
37
+ });
38
+ });
39
+ exports.Toggle = Toggle;
@@ -0,0 +1,39 @@
1
+ import { jsxs, jsx } from "@qwik.dev/core/jsx-runtime";
2
+ import { component$, Slot } from "@qwik.dev/core";
3
+ const Toggle = component$(({ checkbox, round, ...props }) => {
4
+ return /* @__PURE__ */ jsxs("div", {
5
+ class: "flex touch-manipulation items-center gap-3",
6
+ children: [
7
+ /* @__PURE__ */ jsxs("label", {
8
+ class: "relative inline-flex cursor-pointer items-center",
9
+ children: [
10
+ /* @__PURE__ */ jsx("input", {
11
+ type: "checkbox",
12
+ ...props,
13
+ class: "peer sr-only"
14
+ }),
15
+ /* @__PURE__ */ jsx("div", {
16
+ class: {
17
+ "peer h-7 duration-300 ease-out hover:duration-75 peer-focus:border-blue-500": true,
18
+ "after:absolute after:top-1 after:left-1 after:h-5 after:w-5 after:border after:duration-300 after:ease-out after:content-[''] after:hover:duration-75 after:motion-safe:transition-transform": true,
19
+ "rounded-lum after:rounded-lum-1": !round,
20
+ "rounded-full after:rounded-full": round,
21
+ "w-12 peer-checked:after:translate-x-full": !checkbox,
22
+ "w-7 after:opacity-0 peer-checked:after:opacity-100": checkbox,
23
+ "lum-toggle-bg-lum-input-bg peer-checked:lum-toggle-bg-lum-accent": true,
24
+ [props.class ?? ""]: !!props.class
25
+ }
26
+ })
27
+ ]
28
+ }),
29
+ /* @__PURE__ */ jsx("label", {
30
+ for: props.id,
31
+ class: "flex gap-2 text-lum-text select-none empty:hidden",
32
+ children: /* @__PURE__ */ jsx(Slot, {})
33
+ })
34
+ ]
35
+ });
36
+ });
37
+ export {
38
+ Toggle
39
+ };
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
+ const Hoverable = {
4
+ onMouseMove$: (e, el) => {
5
+ const rect = el.getBoundingClientRect();
6
+ const mouseX = e.clientX - rect.left;
7
+ const mouseY = e.clientY - rect.top;
8
+ const rotateX = (mouseY / rect.height - 0.5) * -10;
9
+ const rotateY = (mouseX / rect.width - 0.5) * 10;
10
+ el.style.transition = "transform 0.05s ease-out";
11
+ el.style.transform = `perspective(500px) rotateX(${rotateX}deg) rotateY(${rotateY}deg)`;
12
+ },
13
+ onMouseLeave$: (_e, el) => {
14
+ el.style.transition = "transform 0.3s ease-out";
15
+ el.style.transform = "perspective(500px) rotateX(0deg) rotateY(0deg)";
16
+ }
17
+ };
18
+ exports.Hoverable = Hoverable;
@@ -0,0 +1,18 @@
1
+ const Hoverable = {
2
+ onMouseMove$: (e, el) => {
3
+ const rect = el.getBoundingClientRect();
4
+ const mouseX = e.clientX - rect.left;
5
+ const mouseY = e.clientY - rect.top;
6
+ const rotateX = (mouseY / rect.height - 0.5) * -10;
7
+ const rotateY = (mouseX / rect.width - 0.5) * 10;
8
+ el.style.transition = "transform 0.05s ease-out";
9
+ el.style.transform = `perspective(500px) rotateX(${rotateX}deg) rotateY(${rotateY}deg)`;
10
+ },
11
+ onMouseLeave$: (_e, el) => {
12
+ el.style.transition = "transform 0.3s ease-out";
13
+ el.style.transform = "perspective(500px) rotateX(0deg) rotateY(0deg)";
14
+ }
15
+ };
16
+ export {
17
+ Hoverable
18
+ };
@@ -3,5 +3,5 @@ interface LogoBirdflopProps extends IconProps {
3
3
  confused?: boolean;
4
4
  fillGradient?: string[];
5
5
  }
6
- export declare const LogoBirdflop: import("@builder.io/qwik").Component<LogoBirdflopProps>;
6
+ export declare const LogoBirdflop: import("@qwik.dev/core").Component<LogoBirdflopProps>;
7
7
  export {};
@@ -0,0 +1,73 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
+ const jsxRuntime = require("@qwik.dev/core/jsx-runtime");
4
+ const core = require("@qwik.dev/core");
5
+ const LogoBirdflop = core.component$(({ confused, fillGradient, size, ...props }) => {
6
+ const gradientId = fillGradient?.join("-").replace("#", "");
7
+ return /* @__PURE__ */ jsxRuntime.jsxs("svg", {
8
+ xmlns: "http://www.w3.org/2000/svg",
9
+ "xmlns:xlink": "http://www.w3.org/1999/xlink",
10
+ viewBox: "0 0 1080 1080",
11
+ width: size,
12
+ height: size,
13
+ ...props,
14
+ children: [
15
+ /* @__PURE__ */ jsxRuntime.jsxs("defs", {
16
+ children: [
17
+ fillGradient && /* @__PURE__ */ jsxRuntime.jsx("linearGradient", {
18
+ id: `linear-gradient-${gradientId}`,
19
+ x1: "0.5",
20
+ x2: "0.5",
21
+ y2: "1",
22
+ gradientUnits: "objectBoundingBox",
23
+ children: fillGradient.map((color, i) => /* @__PURE__ */ jsxRuntime.jsx("stop", {
24
+ offset: i / (fillGradient.length - 1),
25
+ "stop-color": color
26
+ }, i))
27
+ }),
28
+ /* @__PURE__ */ jsxRuntime.jsx("clipPath", {
29
+ id: "clip-bf_3",
30
+ children: /* @__PURE__ */ jsxRuntime.jsx("rect", {
31
+ width: "1080",
32
+ height: "1080"
33
+ })
34
+ })
35
+ ]
36
+ }),
37
+ /* @__PURE__ */ jsxRuntime.jsx("g", {
38
+ id: "bf_3",
39
+ "data-name": "bf - 3",
40
+ "clip-path": "url(#clip-bf_3)",
41
+ fill: "currentColor",
42
+ children: /* @__PURE__ */ jsxRuntime.jsx("path", {
43
+ id: "Union_26",
44
+ "data-name": "Union 26",
45
+ d: "M-1886.608-89.36c-8.311-65.774-27.64-219.008-27.64-221.333a.279.279,0,0,1,.09-.159q-.474-4.88-.477-9.885A101.066,101.066,0,0,1-1813.61-421.844a100.671,100.671,0,0,1,71.913,30.1l.093-.042c-.077-.093-8.783-10.549-22.7-24.758-8.216-8.388-16.645-16.459-25.052-23.993-10.51-9.417-21.018-18.013-31.23-25.552a120.5,120.5,0,0,0-40.468-71.567,119.916,119.916,0,0,0-77.984-28.881c-66.215,0-120.083,53.941-120.083,120.244h-.237v116.01h-.24c-.131,132.971-107.6,240.728-240.16,240.728V-330.289H-2300V-449.818h.362V-931.536h0V-1170c132.71,0,240.293,106.764,240.293,238.464v145.112a358.089,358.089,0,0,1,47.7-13.28,362.475,362.475,0,0,1,72.6-7.329,362.455,362.455,0,0,1,72.6,7.329,358.112,358.112,0,0,1,67.622,21.02,360.042,360.042,0,0,1,61.191,33.26,362.833,362.833,0,0,1,53.315,44.049,363.178,363.178,0,0,1,43.99,53.387,360.83,360.83,0,0,1,33.213,61.276A359.3,359.3,0,0,1-1586.118-519a363.948,363.948,0,0,1,7.317,72.7,363.957,363.957,0,0,1-7.317,72.7,359.333,359.333,0,0,1-20.992,67.714,360.95,360.95,0,0,1-33.213,61.277,363.233,363.233,0,0,1-43.99,53.388,362.833,362.833,0,0,1-53.315,44.049,360.017,360.017,0,0,1-61.191,33.259,358.108,358.108,0,0,1-67.622,21.02c-6.636,1.36-13.421,2.548-20.165,3.532Zm-79.831-365.056a27.049,27.049,0,0,1,27.038-27.059,27.048,27.048,0,0,1,27.037,27.059,27.049,27.049,0,0,1-27.037,27.06A27.05,27.05,0,0,1-1966.439-454.416Z",
46
+ transform: "translate(2479.9 1169.7)",
47
+ fill: fillGradient ? `url(#linear-gradient-${gradientId})` : ""
48
+ })
49
+ }),
50
+ confused && /* @__PURE__ */ jsxRuntime.jsxs("g", {
51
+ style: "transform: translate(595px, 460px) scale(0.375)",
52
+ stroke: "#1E2837",
53
+ fill: "#1E2837",
54
+ children: [
55
+ /* @__PURE__ */ jsxRuntime.jsx("path", {
56
+ d: "M160 164s1.44-33 33.54-59.46C212.6 88.83 235.49 84.28 256 84c18.73-.23 35.47 2.94 45.48 7.82C318.59 100.2 352 120.6 352 164c0 45.67-29.18 66.37-62.35 89.18S248 298.36 248 324",
57
+ fill: "none",
58
+ "stroke-linecap": "round",
59
+ "stroke-miterlimit": "10",
60
+ "stroke-width": "80"
61
+ }),
62
+ /* @__PURE__ */ jsxRuntime.jsx("circle", {
63
+ cx: "248",
64
+ cy: "399.99",
65
+ r: "40",
66
+ style: "transform: translate(0, 30px)"
67
+ })
68
+ ]
69
+ })
70
+ ]
71
+ });
72
+ });
73
+ exports.LogoBirdflop = LogoBirdflop;
@@ -0,0 +1,73 @@
1
+ import { jsxs, jsx } from "@qwik.dev/core/jsx-runtime";
2
+ import { component$ } from "@qwik.dev/core";
3
+ const LogoBirdflop = component$(({ confused, fillGradient, size, ...props }) => {
4
+ const gradientId = fillGradient?.join("-").replace("#", "");
5
+ return /* @__PURE__ */ jsxs("svg", {
6
+ xmlns: "http://www.w3.org/2000/svg",
7
+ "xmlns:xlink": "http://www.w3.org/1999/xlink",
8
+ viewBox: "0 0 1080 1080",
9
+ width: size,
10
+ height: size,
11
+ ...props,
12
+ children: [
13
+ /* @__PURE__ */ jsxs("defs", {
14
+ children: [
15
+ fillGradient && /* @__PURE__ */ jsx("linearGradient", {
16
+ id: `linear-gradient-${gradientId}`,
17
+ x1: "0.5",
18
+ x2: "0.5",
19
+ y2: "1",
20
+ gradientUnits: "objectBoundingBox",
21
+ children: fillGradient.map((color, i) => /* @__PURE__ */ jsx("stop", {
22
+ offset: i / (fillGradient.length - 1),
23
+ "stop-color": color
24
+ }, i))
25
+ }),
26
+ /* @__PURE__ */ jsx("clipPath", {
27
+ id: "clip-bf_3",
28
+ children: /* @__PURE__ */ jsx("rect", {
29
+ width: "1080",
30
+ height: "1080"
31
+ })
32
+ })
33
+ ]
34
+ }),
35
+ /* @__PURE__ */ jsx("g", {
36
+ id: "bf_3",
37
+ "data-name": "bf - 3",
38
+ "clip-path": "url(#clip-bf_3)",
39
+ fill: "currentColor",
40
+ children: /* @__PURE__ */ jsx("path", {
41
+ id: "Union_26",
42
+ "data-name": "Union 26",
43
+ d: "M-1886.608-89.36c-8.311-65.774-27.64-219.008-27.64-221.333a.279.279,0,0,1,.09-.159q-.474-4.88-.477-9.885A101.066,101.066,0,0,1-1813.61-421.844a100.671,100.671,0,0,1,71.913,30.1l.093-.042c-.077-.093-8.783-10.549-22.7-24.758-8.216-8.388-16.645-16.459-25.052-23.993-10.51-9.417-21.018-18.013-31.23-25.552a120.5,120.5,0,0,0-40.468-71.567,119.916,119.916,0,0,0-77.984-28.881c-66.215,0-120.083,53.941-120.083,120.244h-.237v116.01h-.24c-.131,132.971-107.6,240.728-240.16,240.728V-330.289H-2300V-449.818h.362V-931.536h0V-1170c132.71,0,240.293,106.764,240.293,238.464v145.112a358.089,358.089,0,0,1,47.7-13.28,362.475,362.475,0,0,1,72.6-7.329,362.455,362.455,0,0,1,72.6,7.329,358.112,358.112,0,0,1,67.622,21.02,360.042,360.042,0,0,1,61.191,33.26,362.833,362.833,0,0,1,53.315,44.049,363.178,363.178,0,0,1,43.99,53.387,360.83,360.83,0,0,1,33.213,61.276A359.3,359.3,0,0,1-1586.118-519a363.948,363.948,0,0,1,7.317,72.7,363.957,363.957,0,0,1-7.317,72.7,359.333,359.333,0,0,1-20.992,67.714,360.95,360.95,0,0,1-33.213,61.277,363.233,363.233,0,0,1-43.99,53.388,362.833,362.833,0,0,1-53.315,44.049,360.017,360.017,0,0,1-61.191,33.259,358.108,358.108,0,0,1-67.622,21.02c-6.636,1.36-13.421,2.548-20.165,3.532Zm-79.831-365.056a27.049,27.049,0,0,1,27.038-27.059,27.048,27.048,0,0,1,27.037,27.059,27.049,27.049,0,0,1-27.037,27.06A27.05,27.05,0,0,1-1966.439-454.416Z",
44
+ transform: "translate(2479.9 1169.7)",
45
+ fill: fillGradient ? `url(#linear-gradient-${gradientId})` : ""
46
+ })
47
+ }),
48
+ confused && /* @__PURE__ */ jsxs("g", {
49
+ style: "transform: translate(595px, 460px) scale(0.375)",
50
+ stroke: "#1E2837",
51
+ fill: "#1E2837",
52
+ children: [
53
+ /* @__PURE__ */ jsx("path", {
54
+ d: "M160 164s1.44-33 33.54-59.46C212.6 88.83 235.49 84.28 256 84c18.73-.23 35.47 2.94 45.48 7.82C318.59 100.2 352 120.6 352 164c0 45.67-29.18 66.37-62.35 89.18S248 298.36 248 324",
55
+ fill: "none",
56
+ "stroke-linecap": "round",
57
+ "stroke-miterlimit": "10",
58
+ "stroke-width": "80"
59
+ }),
60
+ /* @__PURE__ */ jsx("circle", {
61
+ cx: "248",
62
+ cy: "399.99",
63
+ r: "40",
64
+ style: "transform: translate(0, 30px)"
65
+ })
66
+ ]
67
+ })
68
+ ]
69
+ });
70
+ });
71
+ export {
72
+ LogoBirdflop
73
+ };
@@ -0,0 +1,2 @@
1
+ import type { IconProps } from './IconProps';
2
+ export declare const LogoDiscord: import("@qwik.dev/core").Component<IconProps>;