@luminescent/ui-qwik 6.2.0 → 6.2.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/index.qwik.cjs +10 -5
- package/lib/index.qwik.mjs +10 -5
- package/lib-types/components/functions.d.ts +1 -1
- package/lib-types/ui-qwik/src/components/docs/Anchor.d.ts +2 -0
- package/lib-types/ui-qwik/src/components/docs/Blobs.d.ts +2 -0
- package/lib-types/ui-qwik/src/components/docs/ColorPicker.d.ts +2 -0
- package/lib-types/ui-qwik/src/components/docs/Dropdown.d.ts +2 -0
- package/lib-types/ui-qwik/src/components/docs/IconsLogos.d.ts +2 -0
- package/lib-types/ui-qwik/src/components/docs/Nav.d.ts +2 -0
- package/lib-types/ui-qwik/src/components/docs/NumberInput.d.ts +2 -0
- package/lib-types/ui-qwik/src/components/docs/SelectMenu.d.ts +2 -0
- package/lib-types/ui-qwik/src/components/docs/Settings.d.ts +2 -0
- package/lib-types/ui-qwik/src/components/docs/Sidebar.d.ts +2 -0
- package/lib-types/ui-qwik/src/components/docs/Toggle.d.ts +2 -0
- package/lib-types/ui-qwik/src/components/docs/lum-btn.d.ts +2 -0
- package/lib-types/ui-qwik/src/components/docs/lum-card.d.ts +2 -0
- package/lib-types/ui-qwik/src/components/docs/lum-classes.d.ts +2 -0
- package/lib-types/ui-qwik/src/components/docs/lum-input.d.ts +2 -0
- package/lib-types/ui-qwik/src/components/logos.d.ts +10 -0
- package/lib-types/ui-qwik/src/entry.dev.d.ts +2 -0
- package/lib-types/ui-qwik/src/entry.ssr.d.ts +14 -0
- package/lib-types/ui-qwik/src/index.d.ts +3 -0
- package/lib-types/ui-qwik/src/root.d.ts +3 -0
- package/lib-types/ui-react/src/components/logos/Birdflop.d.ts +7 -0
- package/lib-types/ui-react/src/components/logos/Discord.d.ts +2 -0
- package/lib-types/ui-react/src/components/logos/Fabric.d.ts +2 -0
- package/lib-types/ui-react/src/components/logos/Forge.d.ts +2 -0
- package/lib-types/ui-react/src/components/logos/IconProps.d.ts +3 -0
- package/lib-types/ui-react/src/components/logos/Luminescent.d.ts +3 -0
- package/lib-types/ui-react/src/components/logos/Paper.d.ts +2 -0
- package/lib-types/ui-react/src/components/logos/Pterodactyl.d.ts +2 -0
- package/lib-types/ui-react/src/components/logos/Purpur.d.ts +2 -0
- package/lib-types/ui-react/src/components/logos/Velocity.d.ts +2 -0
- package/lib-types/ui-react/src/components/logos/Waterfall.d.ts +2 -0
- package/lib-types/ui-react/src/components/logos.d.ts +10 -0
- package/package.json +6 -6
- package/lib-types/components/docs.d.ts +0 -8
- package/lib-types/components/elements/Header.d.ts +0 -10
package/lib/index.qwik.cjs
CHANGED
|
@@ -1083,12 +1083,17 @@ const Toggle = qwik.component$(({ checkbox, round, ...props }) => {
|
|
|
1083
1083
|
});
|
|
1084
1084
|
const Hoverable = {
|
|
1085
1085
|
onMouseMove$: (e, el) => {
|
|
1086
|
-
const
|
|
1087
|
-
const
|
|
1088
|
-
|
|
1086
|
+
const rect = el.getBoundingClientRect();
|
|
1087
|
+
const mouseX = e.clientX - rect.left;
|
|
1088
|
+
const mouseY = e.clientY - rect.top;
|
|
1089
|
+
const rotateX = (mouseY / rect.height - 0.5) * -10;
|
|
1090
|
+
const rotateY = (mouseX / rect.width - 0.5) * 10;
|
|
1091
|
+
el.style.transition = "transform 0.05s ease-out";
|
|
1092
|
+
el.style.transform = `perspective(500px) rotateX(${rotateX}deg) rotateY(${rotateY}deg)`;
|
|
1089
1093
|
},
|
|
1090
|
-
onMouseLeave$: (
|
|
1091
|
-
el.style.
|
|
1094
|
+
onMouseLeave$: (_e, el) => {
|
|
1095
|
+
el.style.transition = "transform 0.3s ease-out";
|
|
1096
|
+
el.style.transform = "perspective(500px) rotateX(0deg) rotateY(0deg)";
|
|
1092
1097
|
}
|
|
1093
1098
|
};
|
|
1094
1099
|
const LogoBirdflop = qwik.component$(({ confused, fillGradient, size, ...props }) => {
|
package/lib/index.qwik.mjs
CHANGED
|
@@ -1081,12 +1081,17 @@ const Toggle = component$(({ checkbox, round, ...props }) => {
|
|
|
1081
1081
|
});
|
|
1082
1082
|
const Hoverable = {
|
|
1083
1083
|
onMouseMove$: (e, el) => {
|
|
1084
|
-
const
|
|
1085
|
-
const
|
|
1086
|
-
|
|
1084
|
+
const rect = el.getBoundingClientRect();
|
|
1085
|
+
const mouseX = e.clientX - rect.left;
|
|
1086
|
+
const mouseY = e.clientY - rect.top;
|
|
1087
|
+
const rotateX = (mouseY / rect.height - 0.5) * -10;
|
|
1088
|
+
const rotateY = (mouseX / rect.width - 0.5) * 10;
|
|
1089
|
+
el.style.transition = "transform 0.05s ease-out";
|
|
1090
|
+
el.style.transform = `perspective(500px) rotateX(${rotateX}deg) rotateY(${rotateY}deg)`;
|
|
1087
1091
|
},
|
|
1088
|
-
onMouseLeave$: (
|
|
1089
|
-
el.style.
|
|
1092
|
+
onMouseLeave$: (_e, el) => {
|
|
1093
|
+
el.style.transition = "transform 0.3s ease-out";
|
|
1094
|
+
el.style.transform = "perspective(500px) rotateX(0deg) rotateY(0deg)";
|
|
1090
1095
|
}
|
|
1091
1096
|
};
|
|
1092
1097
|
const LogoBirdflop = component$(({ confused, fillGradient, size, ...props }) => {
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export * from './logos/Birdflop';
|
|
2
|
+
export * from './logos/Discord';
|
|
3
|
+
export * from './logos/Fabric';
|
|
4
|
+
export * from './logos/Forge';
|
|
5
|
+
export * from './logos/Luminescent';
|
|
6
|
+
export * from './logos/Paper';
|
|
7
|
+
export * from './logos/Pterodactyl';
|
|
8
|
+
export * from './logos/Purpur';
|
|
9
|
+
export * from './logos/Velocity';
|
|
10
|
+
export * from './logos/Waterfall';
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* WHAT IS THIS FILE?
|
|
3
|
+
*
|
|
4
|
+
* SSR entry point, in all cases the application is rendered outside the browser, this
|
|
5
|
+
* entry point will be the common one.
|
|
6
|
+
*
|
|
7
|
+
* - Server (express, cloudflare...)
|
|
8
|
+
* - npm run start
|
|
9
|
+
* - npm run preview
|
|
10
|
+
* - npm run build
|
|
11
|
+
*
|
|
12
|
+
*/
|
|
13
|
+
import { type RenderToStreamOptions } from '@builder.io/qwik/server';
|
|
14
|
+
export default function (opts: RenderToStreamOptions): Promise<import("@builder.io/qwik/server").RenderToStreamResult>;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { IconProps } from './IconProps';
|
|
2
|
+
interface LogoBirdflopProps extends IconProps {
|
|
3
|
+
confused?: boolean;
|
|
4
|
+
fillGradient?: string[];
|
|
5
|
+
}
|
|
6
|
+
export declare function LogoBirdflop({ confused, fillGradient, size, ...props }: LogoBirdflopProps): any;
|
|
7
|
+
export {};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export * from './logos/Birdflop';
|
|
2
|
+
export * from './logos/Discord';
|
|
3
|
+
export * from './logos/Fabric';
|
|
4
|
+
export * from './logos/Forge';
|
|
5
|
+
export * from './logos/Luminescent';
|
|
6
|
+
export * from './logos/Paper';
|
|
7
|
+
export * from './logos/Pterodactyl';
|
|
8
|
+
export * from './logos/Purpur';
|
|
9
|
+
export * from './logos/Velocity';
|
|
10
|
+
export * from './logos/Waterfall';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@luminescent/ui-qwik",
|
|
3
|
-
"version": "6.2.
|
|
3
|
+
"version": "6.2.2",
|
|
4
4
|
"description": "Luminescent UI library - Qwik",
|
|
5
5
|
"main": "./lib/index.qwik.mjs",
|
|
6
6
|
"qwik": "./lib/index.qwik.mjs",
|
|
@@ -32,14 +32,14 @@
|
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
34
34
|
"@anuragroy/tailwindcss-animate": "^1.0.6",
|
|
35
|
-
"@builder.io/qwik": "1.17.
|
|
36
|
-
"@builder.io/qwik-city": "^1.17.
|
|
35
|
+
"@builder.io/qwik": "1.17.1",
|
|
36
|
+
"@builder.io/qwik-city": "^1.17.1",
|
|
37
37
|
"@eslint/js": "^9.38.0",
|
|
38
38
|
"@tailwindcss/vite": "^4.1.16",
|
|
39
39
|
"@types/eslint": "^9.6.1",
|
|
40
|
-
"@types/node": "^24.9.
|
|
40
|
+
"@types/node": "^24.9.2",
|
|
41
41
|
"eslint": "^9.38.0",
|
|
42
|
-
"eslint-plugin-qwik": "^1.17.
|
|
42
|
+
"eslint-plugin-qwik": "^1.17.1",
|
|
43
43
|
"globals": "^16.4.0",
|
|
44
44
|
"prettier": "^3.6.2",
|
|
45
45
|
"prettier-plugin-tailwindcss": "^0.7.1",
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
"vite-tsconfig-paths": "^5.1.4"
|
|
51
51
|
},
|
|
52
52
|
"peerDependencies": {
|
|
53
|
-
"@luminescent/ui": "6.2.
|
|
53
|
+
"@luminescent/ui": "6.2.2"
|
|
54
54
|
},
|
|
55
55
|
"scripts": {
|
|
56
56
|
"build": "qwik build",
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
export * from './docs/Anchor';
|
|
2
|
-
export * from './docs/Blobs';
|
|
3
|
-
export * from './docs/ColorPicker';
|
|
4
|
-
export * from './docs/Dropdown';
|
|
5
|
-
export * from './docs/IconsLogos';
|
|
6
|
-
export * from './docs/Nav';
|
|
7
|
-
export * from './docs/NumberInput';
|
|
8
|
-
export * from './docs/Toggle';
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import type { PropsOf } from '@builder.io/qwik';
|
|
2
|
-
interface HeaderProps extends Omit<PropsOf<'h2'>, 'class'> {
|
|
3
|
-
class?: {
|
|
4
|
-
[key: string]: boolean;
|
|
5
|
-
};
|
|
6
|
-
id?: string;
|
|
7
|
-
anchor?: boolean;
|
|
8
|
-
}
|
|
9
|
-
export declare const Header: import("@builder.io/qwik").Component<HeaderProps>;
|
|
10
|
-
export {};
|