@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.
- package/lib/components/docs/Anchor.d.ts +4 -0
- package/lib/components/docs/Blobs.d.ts +4 -0
- package/lib/components/docs/ColorPicker.d.ts +4 -0
- package/lib/components/docs/Dropdown.d.ts +4 -0
- package/lib/components/docs/IconsLogos.d.ts +4 -0
- package/lib/components/docs/Nav.d.ts +4 -0
- package/lib/components/docs/NumberInput.d.ts +4 -0
- package/lib/components/docs/RangeInput.d.ts +4 -0
- package/lib/components/docs/SelectMenu.d.ts +4 -0
- package/lib/components/docs/Settings.d.ts +2 -0
- package/lib/components/docs/Sidebar.d.ts +4 -0
- package/lib/components/docs/Toggle.d.ts +4 -0
- package/lib/components/docs/lum-btn.d.ts +4 -0
- package/lib/components/docs/lum-card.d.ts +4 -0
- package/lib/components/docs/lum-classes.d.ts +4 -0
- package/lib/components/docs/lum-input.d.ts +4 -0
- package/{lib-types → lib}/components/elements/Anchor.d.ts +2 -2
- package/lib/components/elements/Anchor.qwik.cjs +26 -0
- package/lib/components/elements/Anchor.qwik.mjs +26 -0
- package/{lib-types → lib}/components/elements/Blobs.d.ts +1 -1
- package/lib/components/elements/Blobs.qwik.cjs +191 -0
- package/lib/components/elements/Blobs.qwik.mjs +191 -0
- package/{lib-types → lib}/components/elements/ColorPicker.d.ts +2 -2
- package/lib/components/elements/ColorPicker.qwik.cjs +314 -0
- package/lib/components/elements/ColorPicker.qwik.mjs +314 -0
- package/{lib-types → lib}/components/elements/Dropdown.d.ts +2 -2
- package/lib/components/elements/Dropdown.qwik.cjs +31 -0
- package/lib/components/elements/Dropdown.qwik.mjs +31 -0
- package/{lib-types → lib}/components/elements/Nav.d.ts +2 -2
- package/lib/components/elements/Nav.qwik.cjs +98 -0
- package/lib/components/elements/Nav.qwik.mjs +98 -0
- package/{lib-types → lib}/components/elements/NumberInput.d.ts +3 -3
- package/lib/components/elements/NumberInput.qwik.cjs +87 -0
- package/lib/components/elements/NumberInput.qwik.mjs +87 -0
- package/{lib-types → lib}/components/elements/RangeInput.d.ts +3 -3
- package/lib/components/elements/RangeInput.qwik.cjs +77 -0
- package/lib/components/elements/RangeInput.qwik.mjs +77 -0
- package/{lib-types → lib}/components/elements/SelectMenu.d.ts +3 -3
- package/lib/components/elements/SelectMenu.qwik.cjs +134 -0
- package/lib/components/elements/SelectMenu.qwik.mjs +134 -0
- package/{lib-types → lib}/components/elements/Sidebar.d.ts +2 -2
- package/lib/components/elements/Sidebar.qwik.cjs +37 -0
- package/lib/components/elements/Sidebar.qwik.mjs +37 -0
- package/{lib-types → lib}/components/elements/Toggle.d.ts +2 -2
- package/lib/components/elements/Toggle.qwik.cjs +39 -0
- package/lib/components/elements/Toggle.qwik.mjs +39 -0
- package/lib/components/functions.qwik.cjs +18 -0
- package/lib/components/functions.qwik.mjs +18 -0
- package/{lib-types → lib}/components/logos/Birdflop.d.ts +1 -1
- package/lib/components/logos/Birdflop.qwik.cjs +73 -0
- package/lib/components/logos/Birdflop.qwik.mjs +73 -0
- package/lib/components/logos/Discord.d.ts +2 -0
- package/lib/components/logos/Discord.qwik.cjs +18 -0
- package/lib/components/logos/Discord.qwik.mjs +18 -0
- package/lib/components/logos/Fabric.d.ts +2 -0
- package/lib/components/logos/Fabric.qwik.cjs +32 -0
- package/lib/components/logos/Fabric.qwik.mjs +32 -0
- package/lib/components/logos/Forge.d.ts +2 -0
- package/lib/components/logos/Forge.qwik.cjs +31 -0
- package/lib/components/logos/Forge.qwik.mjs +31 -0
- package/{lib-types → lib}/components/logos/IconProps.d.ts +1 -1
- package/lib/components/logos/Luminescent.d.ts +3 -0
- package/lib/components/logos/Luminescent.qwik.cjs +143 -0
- package/lib/components/logos/Luminescent.qwik.mjs +143 -0
- package/lib/components/logos/Paper.d.ts +2 -0
- package/lib/components/logos/Paper.qwik.cjs +40 -0
- package/lib/components/logos/Paper.qwik.mjs +40 -0
- package/{lib-types/components/logos/Waterfall.d.ts → lib/components/logos/Pterodactyl.d.ts} +1 -1
- package/lib/components/logos/Pterodactyl.qwik.cjs +35 -0
- package/lib/components/logos/Pterodactyl.qwik.mjs +35 -0
- package/lib/components/logos/Purpur.d.ts +2 -0
- package/lib/components/logos/Purpur.qwik.cjs +76 -0
- package/lib/components/logos/Purpur.qwik.mjs +76 -0
- package/{lib-types/components/logos/Purpur.d.ts → lib/components/logos/Velocity.d.ts} +1 -1
- package/lib/components/logos/Velocity.qwik.cjs +27 -0
- package/lib/components/logos/Velocity.qwik.mjs +27 -0
- package/{lib-types/components/logos/Discord.d.ts → lib/components/logos/Waterfall.d.ts} +1 -1
- package/lib/components/logos/Waterfall.qwik.cjs +21 -0
- package/lib/components/logos/Waterfall.qwik.mjs +21 -0
- package/lib/index.qwik.cjs +47 -1730
- package/lib/index.qwik.mjs +21 -1704
- package/lib/svg/ChevronDown.d.ts +2 -0
- package/lib/svg/ChevronDown.qwik.cjs +23 -0
- package/lib/svg/ChevronDown.qwik.mjs +23 -0
- package/lib/svg/Link.d.ts +2 -0
- package/lib/svg/Link.qwik.cjs +34 -0
- package/lib/svg/Link.qwik.mjs +34 -0
- package/lib/svg/Menu.d.ts +2 -0
- package/lib/svg/Menu.qwik.cjs +31 -0
- package/lib/svg/Menu.qwik.mjs +31 -0
- package/lib/svg/Minus.d.ts +2 -0
- package/lib/svg/Minus.qwik.cjs +23 -0
- package/lib/svg/Minus.qwik.mjs +23 -0
- package/lib/svg/Plus.d.ts +2 -0
- package/lib/svg/Plus.qwik.cjs +28 -0
- package/lib/svg/Plus.qwik.mjs +28 -0
- package/{lib-types/svg/Minus.d.ts → lib/svg/Shuffle.d.ts} +1 -1
- package/lib/svg/Shuffle.qwik.cjs +37 -0
- package/lib/svg/Shuffle.qwik.mjs +37 -0
- package/lib/utils/color.qwik.cjs +134 -0
- package/lib/utils/color.qwik.mjs +134 -0
- package/package.json +22 -25
- package/LICENSE +0 -661
- package/lib-types/components/docs/Anchor.d.ts +0 -4
- package/lib-types/components/docs/Blobs.d.ts +0 -4
- package/lib-types/components/docs/ColorPicker.d.ts +0 -4
- package/lib-types/components/docs/Dropdown.d.ts +0 -4
- package/lib-types/components/docs/IconsLogos.d.ts +0 -4
- package/lib-types/components/docs/Nav.d.ts +0 -4
- package/lib-types/components/docs/NumberInput.d.ts +0 -4
- package/lib-types/components/docs/RangeInput.d.ts +0 -4
- package/lib-types/components/docs/SelectMenu.d.ts +0 -4
- package/lib-types/components/docs/Settings.d.ts +0 -2
- package/lib-types/components/docs/Sidebar.d.ts +0 -4
- package/lib-types/components/docs/Toggle.d.ts +0 -4
- package/lib-types/components/docs/lum-btn.d.ts +0 -4
- package/lib-types/components/docs/lum-card.d.ts +0 -4
- package/lib-types/components/docs/lum-classes.d.ts +0 -4
- package/lib-types/components/docs/lum-input.d.ts +0 -4
- package/lib-types/components/logos/Fabric.d.ts +0 -2
- package/lib-types/components/logos/Forge.d.ts +0 -2
- package/lib-types/components/logos/Luminescent.d.ts +0 -3
- package/lib-types/components/logos/Paper.d.ts +0 -2
- package/lib-types/components/logos/Pterodactyl.d.ts +0 -2
- package/lib-types/components/logos/Velocity.d.ts +0 -2
- package/lib-types/entry.dev.d.ts +0 -2
- package/lib-types/entry.ssr.d.ts +0 -14
- package/lib-types/root.d.ts +0 -3
- package/lib-types/svg/ChevronDown.d.ts +0 -2
- package/lib-types/svg/Link.d.ts +0 -2
- package/lib-types/svg/Menu.d.ts +0 -2
- package/lib-types/svg/Plus.d.ts +0 -2
- package/lib-types/svg/Shuffle.d.ts +0 -2
- package/tailwind.config.js +0 -94
- /package/{lib-types → lib}/components/elements.d.ts +0 -0
- /package/{lib-types → lib}/components/functions.d.ts +0 -0
- /package/{lib-types → lib}/components/logos.d.ts +0 -0
- /package/{lib-types → lib}/index.d.ts +0 -0
- /package/{lib-types → lib}/utils/color.d.ts +0 -0
|
@@ -0,0 +1,23 @@
|
|
|
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 ChevronDown = core.component$(({ size, ...props }) => {
|
|
6
|
+
return /* @__PURE__ */ jsxRuntime.jsx("svg", {
|
|
7
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
8
|
+
width: size,
|
|
9
|
+
height: size,
|
|
10
|
+
viewBox: "0 0 24 24",
|
|
11
|
+
fill: "none",
|
|
12
|
+
stroke: "currentColor",
|
|
13
|
+
"stroke-width": "2",
|
|
14
|
+
"stroke-linecap": "round",
|
|
15
|
+
"stroke-linejoin": "round",
|
|
16
|
+
class: "lucide lucide-chevron-down-icon lucide-chevron-down",
|
|
17
|
+
...props,
|
|
18
|
+
children: /* @__PURE__ */ jsxRuntime.jsx("path", {
|
|
19
|
+
d: "m6 9 6 6 6-6"
|
|
20
|
+
})
|
|
21
|
+
});
|
|
22
|
+
});
|
|
23
|
+
exports.ChevronDown = ChevronDown;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { jsx } from "@qwik.dev/core/jsx-runtime";
|
|
2
|
+
import { component$ } from "@qwik.dev/core";
|
|
3
|
+
const ChevronDown = component$(({ size, ...props }) => {
|
|
4
|
+
return /* @__PURE__ */ jsx("svg", {
|
|
5
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
6
|
+
width: size,
|
|
7
|
+
height: size,
|
|
8
|
+
viewBox: "0 0 24 24",
|
|
9
|
+
fill: "none",
|
|
10
|
+
stroke: "currentColor",
|
|
11
|
+
"stroke-width": "2",
|
|
12
|
+
"stroke-linecap": "round",
|
|
13
|
+
"stroke-linejoin": "round",
|
|
14
|
+
class: "lucide lucide-chevron-down-icon lucide-chevron-down",
|
|
15
|
+
...props,
|
|
16
|
+
children: /* @__PURE__ */ jsx("path", {
|
|
17
|
+
d: "m6 9 6 6 6-6"
|
|
18
|
+
})
|
|
19
|
+
});
|
|
20
|
+
});
|
|
21
|
+
export {
|
|
22
|
+
ChevronDown
|
|
23
|
+
};
|
|
@@ -0,0 +1,34 @@
|
|
|
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 Link = core.component$(({ size, ...props }) => {
|
|
6
|
+
return /* @__PURE__ */ jsxRuntime.jsxs("svg", {
|
|
7
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
8
|
+
width: size,
|
|
9
|
+
height: size,
|
|
10
|
+
viewBox: "0 0 24 24",
|
|
11
|
+
fill: "none",
|
|
12
|
+
stroke: "currentColor",
|
|
13
|
+
"stroke-width": "2",
|
|
14
|
+
"stroke-linecap": "round",
|
|
15
|
+
"stroke-linejoin": "round",
|
|
16
|
+
class: "lucide lucide-link2-icon lucide-link-2",
|
|
17
|
+
...props,
|
|
18
|
+
children: [
|
|
19
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", {
|
|
20
|
+
d: "M9 17H7A5 5 0 0 1 7 7h2"
|
|
21
|
+
}),
|
|
22
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", {
|
|
23
|
+
d: "M15 7h2a5 5 0 1 1 0 10h-2"
|
|
24
|
+
}),
|
|
25
|
+
/* @__PURE__ */ jsxRuntime.jsx("line", {
|
|
26
|
+
x1: "8",
|
|
27
|
+
x2: "16",
|
|
28
|
+
y1: "12",
|
|
29
|
+
y2: "12"
|
|
30
|
+
})
|
|
31
|
+
]
|
|
32
|
+
});
|
|
33
|
+
});
|
|
34
|
+
exports.Link = Link;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { jsxs, jsx } from "@qwik.dev/core/jsx-runtime";
|
|
2
|
+
import { component$ } from "@qwik.dev/core";
|
|
3
|
+
const Link = component$(({ size, ...props }) => {
|
|
4
|
+
return /* @__PURE__ */ jsxs("svg", {
|
|
5
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
6
|
+
width: size,
|
|
7
|
+
height: size,
|
|
8
|
+
viewBox: "0 0 24 24",
|
|
9
|
+
fill: "none",
|
|
10
|
+
stroke: "currentColor",
|
|
11
|
+
"stroke-width": "2",
|
|
12
|
+
"stroke-linecap": "round",
|
|
13
|
+
"stroke-linejoin": "round",
|
|
14
|
+
class: "lucide lucide-link2-icon lucide-link-2",
|
|
15
|
+
...props,
|
|
16
|
+
children: [
|
|
17
|
+
/* @__PURE__ */ jsx("path", {
|
|
18
|
+
d: "M9 17H7A5 5 0 0 1 7 7h2"
|
|
19
|
+
}),
|
|
20
|
+
/* @__PURE__ */ jsx("path", {
|
|
21
|
+
d: "M15 7h2a5 5 0 1 1 0 10h-2"
|
|
22
|
+
}),
|
|
23
|
+
/* @__PURE__ */ jsx("line", {
|
|
24
|
+
x1: "8",
|
|
25
|
+
x2: "16",
|
|
26
|
+
y1: "12",
|
|
27
|
+
y2: "12"
|
|
28
|
+
})
|
|
29
|
+
]
|
|
30
|
+
});
|
|
31
|
+
});
|
|
32
|
+
export {
|
|
33
|
+
Link
|
|
34
|
+
};
|
|
@@ -0,0 +1,31 @@
|
|
|
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 Menu = core.component$(({ size, ...props }) => {
|
|
6
|
+
return /* @__PURE__ */ jsxRuntime.jsxs("svg", {
|
|
7
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
8
|
+
width: size,
|
|
9
|
+
height: size,
|
|
10
|
+
viewBox: "0 0 24 24",
|
|
11
|
+
fill: "none",
|
|
12
|
+
stroke: "currentColor",
|
|
13
|
+
"stroke-width": "2",
|
|
14
|
+
"stroke-linecap": "round",
|
|
15
|
+
"stroke-linejoin": "round",
|
|
16
|
+
class: "lucide lucide-menu-icon lucide-menu",
|
|
17
|
+
...props,
|
|
18
|
+
children: [
|
|
19
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", {
|
|
20
|
+
d: "M4 12h16"
|
|
21
|
+
}),
|
|
22
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", {
|
|
23
|
+
d: "M4 18h16"
|
|
24
|
+
}),
|
|
25
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", {
|
|
26
|
+
d: "M4 6h16"
|
|
27
|
+
})
|
|
28
|
+
]
|
|
29
|
+
});
|
|
30
|
+
});
|
|
31
|
+
exports.Menu = Menu;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { jsxs, jsx } from "@qwik.dev/core/jsx-runtime";
|
|
2
|
+
import { component$ } from "@qwik.dev/core";
|
|
3
|
+
const Menu = component$(({ size, ...props }) => {
|
|
4
|
+
return /* @__PURE__ */ jsxs("svg", {
|
|
5
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
6
|
+
width: size,
|
|
7
|
+
height: size,
|
|
8
|
+
viewBox: "0 0 24 24",
|
|
9
|
+
fill: "none",
|
|
10
|
+
stroke: "currentColor",
|
|
11
|
+
"stroke-width": "2",
|
|
12
|
+
"stroke-linecap": "round",
|
|
13
|
+
"stroke-linejoin": "round",
|
|
14
|
+
class: "lucide lucide-menu-icon lucide-menu",
|
|
15
|
+
...props,
|
|
16
|
+
children: [
|
|
17
|
+
/* @__PURE__ */ jsx("path", {
|
|
18
|
+
d: "M4 12h16"
|
|
19
|
+
}),
|
|
20
|
+
/* @__PURE__ */ jsx("path", {
|
|
21
|
+
d: "M4 18h16"
|
|
22
|
+
}),
|
|
23
|
+
/* @__PURE__ */ jsx("path", {
|
|
24
|
+
d: "M4 6h16"
|
|
25
|
+
})
|
|
26
|
+
]
|
|
27
|
+
});
|
|
28
|
+
});
|
|
29
|
+
export {
|
|
30
|
+
Menu
|
|
31
|
+
};
|
|
@@ -0,0 +1,23 @@
|
|
|
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 Minus = core.component$(({ size, ...props }) => {
|
|
6
|
+
return /* @__PURE__ */ jsxRuntime.jsx("svg", {
|
|
7
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
8
|
+
width: size,
|
|
9
|
+
height: size,
|
|
10
|
+
viewBox: "0 0 24 24",
|
|
11
|
+
fill: "none",
|
|
12
|
+
stroke: "currentColor",
|
|
13
|
+
"stroke-width": "2",
|
|
14
|
+
"stroke-linecap": "round",
|
|
15
|
+
"stroke-linejoin": "round",
|
|
16
|
+
class: "lucide lucide-minus-icon lucide-minus",
|
|
17
|
+
...props,
|
|
18
|
+
children: /* @__PURE__ */ jsxRuntime.jsx("path", {
|
|
19
|
+
d: "M5 12h14"
|
|
20
|
+
})
|
|
21
|
+
});
|
|
22
|
+
});
|
|
23
|
+
exports.Minus = Minus;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { jsx } from "@qwik.dev/core/jsx-runtime";
|
|
2
|
+
import { component$ } from "@qwik.dev/core";
|
|
3
|
+
const Minus = component$(({ size, ...props }) => {
|
|
4
|
+
return /* @__PURE__ */ jsx("svg", {
|
|
5
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
6
|
+
width: size,
|
|
7
|
+
height: size,
|
|
8
|
+
viewBox: "0 0 24 24",
|
|
9
|
+
fill: "none",
|
|
10
|
+
stroke: "currentColor",
|
|
11
|
+
"stroke-width": "2",
|
|
12
|
+
"stroke-linecap": "round",
|
|
13
|
+
"stroke-linejoin": "round",
|
|
14
|
+
class: "lucide lucide-minus-icon lucide-minus",
|
|
15
|
+
...props,
|
|
16
|
+
children: /* @__PURE__ */ jsx("path", {
|
|
17
|
+
d: "M5 12h14"
|
|
18
|
+
})
|
|
19
|
+
});
|
|
20
|
+
});
|
|
21
|
+
export {
|
|
22
|
+
Minus
|
|
23
|
+
};
|
|
@@ -0,0 +1,28 @@
|
|
|
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 Plus = core.component$(({ size, ...props }) => {
|
|
6
|
+
return /* @__PURE__ */ jsxRuntime.jsxs("svg", {
|
|
7
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
8
|
+
width: size,
|
|
9
|
+
height: size,
|
|
10
|
+
viewBox: "0 0 24 24",
|
|
11
|
+
fill: "none",
|
|
12
|
+
stroke: "currentColor",
|
|
13
|
+
"stroke-width": "2",
|
|
14
|
+
"stroke-linecap": "round",
|
|
15
|
+
"stroke-linejoin": "round",
|
|
16
|
+
class: "lucide lucide-plus-icon lucide-plus",
|
|
17
|
+
...props,
|
|
18
|
+
children: [
|
|
19
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", {
|
|
20
|
+
d: "M5 12h14"
|
|
21
|
+
}),
|
|
22
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", {
|
|
23
|
+
d: "M12 5v14"
|
|
24
|
+
})
|
|
25
|
+
]
|
|
26
|
+
});
|
|
27
|
+
});
|
|
28
|
+
exports.Plus = Plus;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { jsxs, jsx } from "@qwik.dev/core/jsx-runtime";
|
|
2
|
+
import { component$ } from "@qwik.dev/core";
|
|
3
|
+
const Plus = component$(({ size, ...props }) => {
|
|
4
|
+
return /* @__PURE__ */ jsxs("svg", {
|
|
5
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
6
|
+
width: size,
|
|
7
|
+
height: size,
|
|
8
|
+
viewBox: "0 0 24 24",
|
|
9
|
+
fill: "none",
|
|
10
|
+
stroke: "currentColor",
|
|
11
|
+
"stroke-width": "2",
|
|
12
|
+
"stroke-linecap": "round",
|
|
13
|
+
"stroke-linejoin": "round",
|
|
14
|
+
class: "lucide lucide-plus-icon lucide-plus",
|
|
15
|
+
...props,
|
|
16
|
+
children: [
|
|
17
|
+
/* @__PURE__ */ jsx("path", {
|
|
18
|
+
d: "M5 12h14"
|
|
19
|
+
}),
|
|
20
|
+
/* @__PURE__ */ jsx("path", {
|
|
21
|
+
d: "M12 5v14"
|
|
22
|
+
})
|
|
23
|
+
]
|
|
24
|
+
});
|
|
25
|
+
});
|
|
26
|
+
export {
|
|
27
|
+
Plus
|
|
28
|
+
};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import type { IconProps } from '../components/logos/IconProps';
|
|
2
|
-
export declare const
|
|
2
|
+
export declare const Shuffle: import("@qwik.dev/core").Component<IconProps>;
|
|
@@ -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 Shuffle = core.component$(({ size, ...props }) => {
|
|
6
|
+
return /* @__PURE__ */ jsxRuntime.jsxs("svg", {
|
|
7
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
8
|
+
width: size,
|
|
9
|
+
height: size,
|
|
10
|
+
viewBox: "0 0 24 24",
|
|
11
|
+
fill: "none",
|
|
12
|
+
stroke: "currentColor",
|
|
13
|
+
"stroke-width": "2",
|
|
14
|
+
"stroke-linecap": "round",
|
|
15
|
+
"stroke-linejoin": "round",
|
|
16
|
+
class: "lucide lucide-shuffle-icon lucide-shuffle",
|
|
17
|
+
...props,
|
|
18
|
+
children: [
|
|
19
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", {
|
|
20
|
+
d: "m18 14 4 4-4 4"
|
|
21
|
+
}),
|
|
22
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", {
|
|
23
|
+
d: "m18 2 4 4-4 4"
|
|
24
|
+
}),
|
|
25
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", {
|
|
26
|
+
d: "M2 18h1.973a4 4 0 0 0 3.3-1.7l5.454-8.6a4 4 0 0 1 3.3-1.7H22"
|
|
27
|
+
}),
|
|
28
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", {
|
|
29
|
+
d: "M2 6h1.972a4 4 0 0 1 3.6 2.2"
|
|
30
|
+
}),
|
|
31
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", {
|
|
32
|
+
d: "M22 18h-6.041a4 4 0 0 1-3.3-1.8l-.359-.45"
|
|
33
|
+
})
|
|
34
|
+
]
|
|
35
|
+
});
|
|
36
|
+
});
|
|
37
|
+
exports.Shuffle = Shuffle;
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { jsxs, jsx } from "@qwik.dev/core/jsx-runtime";
|
|
2
|
+
import { component$ } from "@qwik.dev/core";
|
|
3
|
+
const Shuffle = component$(({ size, ...props }) => {
|
|
4
|
+
return /* @__PURE__ */ jsxs("svg", {
|
|
5
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
6
|
+
width: size,
|
|
7
|
+
height: size,
|
|
8
|
+
viewBox: "0 0 24 24",
|
|
9
|
+
fill: "none",
|
|
10
|
+
stroke: "currentColor",
|
|
11
|
+
"stroke-width": "2",
|
|
12
|
+
"stroke-linecap": "round",
|
|
13
|
+
"stroke-linejoin": "round",
|
|
14
|
+
class: "lucide lucide-shuffle-icon lucide-shuffle",
|
|
15
|
+
...props,
|
|
16
|
+
children: [
|
|
17
|
+
/* @__PURE__ */ jsx("path", {
|
|
18
|
+
d: "m18 14 4 4-4 4"
|
|
19
|
+
}),
|
|
20
|
+
/* @__PURE__ */ jsx("path", {
|
|
21
|
+
d: "m18 2 4 4-4 4"
|
|
22
|
+
}),
|
|
23
|
+
/* @__PURE__ */ jsx("path", {
|
|
24
|
+
d: "M2 18h1.973a4 4 0 0 0 3.3-1.7l5.454-8.6a4 4 0 0 1 3.3-1.7H22"
|
|
25
|
+
}),
|
|
26
|
+
/* @__PURE__ */ jsx("path", {
|
|
27
|
+
d: "M2 6h1.972a4 4 0 0 1 3.6 2.2"
|
|
28
|
+
}),
|
|
29
|
+
/* @__PURE__ */ jsx("path", {
|
|
30
|
+
d: "M22 18h-6.041a4 4 0 0 1-3.3-1.8l-.359-.45"
|
|
31
|
+
})
|
|
32
|
+
]
|
|
33
|
+
});
|
|
34
|
+
});
|
|
35
|
+
export {
|
|
36
|
+
Shuffle
|
|
37
|
+
};
|
|
@@ -0,0 +1,134 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const clamp = (value, min, max) => Math.min(Math.max(value, min), max);
|
|
4
|
+
function getMousePosition(e) {
|
|
5
|
+
if (window.TouchEvent && e instanceof TouchEvent) {
|
|
6
|
+
const touch = e.touches[0];
|
|
7
|
+
return {
|
|
8
|
+
x: touch.clientX,
|
|
9
|
+
y: touch.clientY
|
|
10
|
+
};
|
|
11
|
+
}
|
|
12
|
+
const mouse = e;
|
|
13
|
+
return {
|
|
14
|
+
x: mouse.clientX,
|
|
15
|
+
y: mouse.clientY
|
|
16
|
+
};
|
|
17
|
+
}
|
|
18
|
+
const pad2 = (c) => c.length == 1 ? "0" + c : "" + c;
|
|
19
|
+
function getBrightness(color) {
|
|
20
|
+
const { r, g, b } = color;
|
|
21
|
+
return (r * 299 + g * 587 + b * 114) / 1e3;
|
|
22
|
+
}
|
|
23
|
+
function hexToRgba(hex) {
|
|
24
|
+
const num = parseInt(hex.replace("#", ""), 16);
|
|
25
|
+
if (num <= 16777215) {
|
|
26
|
+
const r2 = (num >> 16 & 255) / 255;
|
|
27
|
+
const g2 = (num >> 8 & 255) / 255;
|
|
28
|
+
const b2 = (num & 255) / 255;
|
|
29
|
+
return {
|
|
30
|
+
r: r2,
|
|
31
|
+
g: g2,
|
|
32
|
+
b: b2
|
|
33
|
+
};
|
|
34
|
+
}
|
|
35
|
+
const r = (num >> 24 & 255) / 255;
|
|
36
|
+
const g = (num >> 16 & 255) / 255;
|
|
37
|
+
const b = (num >> 8 & 255) / 255;
|
|
38
|
+
const a = (num & 255) / 255;
|
|
39
|
+
return {
|
|
40
|
+
r,
|
|
41
|
+
g,
|
|
42
|
+
b,
|
|
43
|
+
a
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
function rgbToHex(color) {
|
|
47
|
+
const { r, g, b, a } = color;
|
|
48
|
+
const hex = [
|
|
49
|
+
"#",
|
|
50
|
+
pad2(Math.round(r * 255).toString(16)),
|
|
51
|
+
pad2(Math.round(g * 255).toString(16)),
|
|
52
|
+
pad2(Math.round(b * 255).toString(16)),
|
|
53
|
+
a !== void 0 && a !== 1 ? pad2(Math.round(a * 255).toString(16)) : ""
|
|
54
|
+
];
|
|
55
|
+
return hex.join("").toUpperCase();
|
|
56
|
+
}
|
|
57
|
+
function hsvToRgb(color) {
|
|
58
|
+
let { h } = color;
|
|
59
|
+
const { s, v, a } = color;
|
|
60
|
+
h *= 6;
|
|
61
|
+
const i = Math.floor(h);
|
|
62
|
+
const f = h - i;
|
|
63
|
+
const p = v * (1 - s);
|
|
64
|
+
const q = v * (1 - f * s);
|
|
65
|
+
const t = v * (1 - (1 - f) * s);
|
|
66
|
+
const mod = i % 6;
|
|
67
|
+
const r = [
|
|
68
|
+
v,
|
|
69
|
+
q,
|
|
70
|
+
p,
|
|
71
|
+
p,
|
|
72
|
+
t,
|
|
73
|
+
v
|
|
74
|
+
][mod];
|
|
75
|
+
const g = [
|
|
76
|
+
t,
|
|
77
|
+
v,
|
|
78
|
+
v,
|
|
79
|
+
q,
|
|
80
|
+
p,
|
|
81
|
+
p
|
|
82
|
+
][mod];
|
|
83
|
+
const b = [
|
|
84
|
+
p,
|
|
85
|
+
p,
|
|
86
|
+
t,
|
|
87
|
+
v,
|
|
88
|
+
v,
|
|
89
|
+
q
|
|
90
|
+
][mod];
|
|
91
|
+
return {
|
|
92
|
+
r,
|
|
93
|
+
g,
|
|
94
|
+
b,
|
|
95
|
+
a
|
|
96
|
+
};
|
|
97
|
+
}
|
|
98
|
+
function rgbToHsv(color) {
|
|
99
|
+
const { r, g, b, a } = color;
|
|
100
|
+
const max = Math.max(r, g, b);
|
|
101
|
+
const min = Math.min(r, g, b);
|
|
102
|
+
const d = max - min;
|
|
103
|
+
const s = max === 0 ? 0 : d / max;
|
|
104
|
+
const v = max;
|
|
105
|
+
let h = 0;
|
|
106
|
+
if (max != min) {
|
|
107
|
+
switch (max) {
|
|
108
|
+
case r:
|
|
109
|
+
h = (g - b) / d + (g < b ? 6 : 0);
|
|
110
|
+
break;
|
|
111
|
+
case g:
|
|
112
|
+
h = (b - r) / d + 2;
|
|
113
|
+
break;
|
|
114
|
+
case b:
|
|
115
|
+
h = (r - g) / d + 4;
|
|
116
|
+
break;
|
|
117
|
+
}
|
|
118
|
+
h /= 6;
|
|
119
|
+
}
|
|
120
|
+
return {
|
|
121
|
+
h,
|
|
122
|
+
s,
|
|
123
|
+
v,
|
|
124
|
+
a
|
|
125
|
+
};
|
|
126
|
+
}
|
|
127
|
+
exports.clamp = clamp;
|
|
128
|
+
exports.getBrightness = getBrightness;
|
|
129
|
+
exports.getMousePosition = getMousePosition;
|
|
130
|
+
exports.hexToRgba = hexToRgba;
|
|
131
|
+
exports.hsvToRgb = hsvToRgb;
|
|
132
|
+
exports.pad2 = pad2;
|
|
133
|
+
exports.rgbToHex = rgbToHex;
|
|
134
|
+
exports.rgbToHsv = rgbToHsv;
|
|
@@ -0,0 +1,134 @@
|
|
|
1
|
+
const clamp = (value, min, max) => Math.min(Math.max(value, min), max);
|
|
2
|
+
function getMousePosition(e) {
|
|
3
|
+
if (window.TouchEvent && e instanceof TouchEvent) {
|
|
4
|
+
const touch = e.touches[0];
|
|
5
|
+
return {
|
|
6
|
+
x: touch.clientX,
|
|
7
|
+
y: touch.clientY
|
|
8
|
+
};
|
|
9
|
+
}
|
|
10
|
+
const mouse = e;
|
|
11
|
+
return {
|
|
12
|
+
x: mouse.clientX,
|
|
13
|
+
y: mouse.clientY
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
const pad2 = (c) => c.length == 1 ? "0" + c : "" + c;
|
|
17
|
+
function getBrightness(color) {
|
|
18
|
+
const { r, g, b } = color;
|
|
19
|
+
return (r * 299 + g * 587 + b * 114) / 1e3;
|
|
20
|
+
}
|
|
21
|
+
function hexToRgba(hex) {
|
|
22
|
+
const num = parseInt(hex.replace("#", ""), 16);
|
|
23
|
+
if (num <= 16777215) {
|
|
24
|
+
const r2 = (num >> 16 & 255) / 255;
|
|
25
|
+
const g2 = (num >> 8 & 255) / 255;
|
|
26
|
+
const b2 = (num & 255) / 255;
|
|
27
|
+
return {
|
|
28
|
+
r: r2,
|
|
29
|
+
g: g2,
|
|
30
|
+
b: b2
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
const r = (num >> 24 & 255) / 255;
|
|
34
|
+
const g = (num >> 16 & 255) / 255;
|
|
35
|
+
const b = (num >> 8 & 255) / 255;
|
|
36
|
+
const a = (num & 255) / 255;
|
|
37
|
+
return {
|
|
38
|
+
r,
|
|
39
|
+
g,
|
|
40
|
+
b,
|
|
41
|
+
a
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
function rgbToHex(color) {
|
|
45
|
+
const { r, g, b, a } = color;
|
|
46
|
+
const hex = [
|
|
47
|
+
"#",
|
|
48
|
+
pad2(Math.round(r * 255).toString(16)),
|
|
49
|
+
pad2(Math.round(g * 255).toString(16)),
|
|
50
|
+
pad2(Math.round(b * 255).toString(16)),
|
|
51
|
+
a !== void 0 && a !== 1 ? pad2(Math.round(a * 255).toString(16)) : ""
|
|
52
|
+
];
|
|
53
|
+
return hex.join("").toUpperCase();
|
|
54
|
+
}
|
|
55
|
+
function hsvToRgb(color) {
|
|
56
|
+
let { h } = color;
|
|
57
|
+
const { s, v, a } = color;
|
|
58
|
+
h *= 6;
|
|
59
|
+
const i = Math.floor(h);
|
|
60
|
+
const f = h - i;
|
|
61
|
+
const p = v * (1 - s);
|
|
62
|
+
const q = v * (1 - f * s);
|
|
63
|
+
const t = v * (1 - (1 - f) * s);
|
|
64
|
+
const mod = i % 6;
|
|
65
|
+
const r = [
|
|
66
|
+
v,
|
|
67
|
+
q,
|
|
68
|
+
p,
|
|
69
|
+
p,
|
|
70
|
+
t,
|
|
71
|
+
v
|
|
72
|
+
][mod];
|
|
73
|
+
const g = [
|
|
74
|
+
t,
|
|
75
|
+
v,
|
|
76
|
+
v,
|
|
77
|
+
q,
|
|
78
|
+
p,
|
|
79
|
+
p
|
|
80
|
+
][mod];
|
|
81
|
+
const b = [
|
|
82
|
+
p,
|
|
83
|
+
p,
|
|
84
|
+
t,
|
|
85
|
+
v,
|
|
86
|
+
v,
|
|
87
|
+
q
|
|
88
|
+
][mod];
|
|
89
|
+
return {
|
|
90
|
+
r,
|
|
91
|
+
g,
|
|
92
|
+
b,
|
|
93
|
+
a
|
|
94
|
+
};
|
|
95
|
+
}
|
|
96
|
+
function rgbToHsv(color) {
|
|
97
|
+
const { r, g, b, a } = color;
|
|
98
|
+
const max = Math.max(r, g, b);
|
|
99
|
+
const min = Math.min(r, g, b);
|
|
100
|
+
const d = max - min;
|
|
101
|
+
const s = max === 0 ? 0 : d / max;
|
|
102
|
+
const v = max;
|
|
103
|
+
let h = 0;
|
|
104
|
+
if (max != min) {
|
|
105
|
+
switch (max) {
|
|
106
|
+
case r:
|
|
107
|
+
h = (g - b) / d + (g < b ? 6 : 0);
|
|
108
|
+
break;
|
|
109
|
+
case g:
|
|
110
|
+
h = (b - r) / d + 2;
|
|
111
|
+
break;
|
|
112
|
+
case b:
|
|
113
|
+
h = (r - g) / d + 4;
|
|
114
|
+
break;
|
|
115
|
+
}
|
|
116
|
+
h /= 6;
|
|
117
|
+
}
|
|
118
|
+
return {
|
|
119
|
+
h,
|
|
120
|
+
s,
|
|
121
|
+
v,
|
|
122
|
+
a
|
|
123
|
+
};
|
|
124
|
+
}
|
|
125
|
+
export {
|
|
126
|
+
clamp,
|
|
127
|
+
getBrightness,
|
|
128
|
+
getMousePosition,
|
|
129
|
+
hexToRgba,
|
|
130
|
+
hsvToRgb,
|
|
131
|
+
pad2,
|
|
132
|
+
rgbToHex,
|
|
133
|
+
rgbToHsv
|
|
134
|
+
};
|