@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.
Files changed (38) hide show
  1. package/lib/index.qwik.cjs +10 -5
  2. package/lib/index.qwik.mjs +10 -5
  3. package/lib-types/components/functions.d.ts +1 -1
  4. package/lib-types/ui-qwik/src/components/docs/Anchor.d.ts +2 -0
  5. package/lib-types/ui-qwik/src/components/docs/Blobs.d.ts +2 -0
  6. package/lib-types/ui-qwik/src/components/docs/ColorPicker.d.ts +2 -0
  7. package/lib-types/ui-qwik/src/components/docs/Dropdown.d.ts +2 -0
  8. package/lib-types/ui-qwik/src/components/docs/IconsLogos.d.ts +2 -0
  9. package/lib-types/ui-qwik/src/components/docs/Nav.d.ts +2 -0
  10. package/lib-types/ui-qwik/src/components/docs/NumberInput.d.ts +2 -0
  11. package/lib-types/ui-qwik/src/components/docs/SelectMenu.d.ts +2 -0
  12. package/lib-types/ui-qwik/src/components/docs/Settings.d.ts +2 -0
  13. package/lib-types/ui-qwik/src/components/docs/Sidebar.d.ts +2 -0
  14. package/lib-types/ui-qwik/src/components/docs/Toggle.d.ts +2 -0
  15. package/lib-types/ui-qwik/src/components/docs/lum-btn.d.ts +2 -0
  16. package/lib-types/ui-qwik/src/components/docs/lum-card.d.ts +2 -0
  17. package/lib-types/ui-qwik/src/components/docs/lum-classes.d.ts +2 -0
  18. package/lib-types/ui-qwik/src/components/docs/lum-input.d.ts +2 -0
  19. package/lib-types/ui-qwik/src/components/logos.d.ts +10 -0
  20. package/lib-types/ui-qwik/src/entry.dev.d.ts +2 -0
  21. package/lib-types/ui-qwik/src/entry.ssr.d.ts +14 -0
  22. package/lib-types/ui-qwik/src/index.d.ts +3 -0
  23. package/lib-types/ui-qwik/src/root.d.ts +3 -0
  24. package/lib-types/ui-react/src/components/logos/Birdflop.d.ts +7 -0
  25. package/lib-types/ui-react/src/components/logos/Discord.d.ts +2 -0
  26. package/lib-types/ui-react/src/components/logos/Fabric.d.ts +2 -0
  27. package/lib-types/ui-react/src/components/logos/Forge.d.ts +2 -0
  28. package/lib-types/ui-react/src/components/logos/IconProps.d.ts +3 -0
  29. package/lib-types/ui-react/src/components/logos/Luminescent.d.ts +3 -0
  30. package/lib-types/ui-react/src/components/logos/Paper.d.ts +2 -0
  31. package/lib-types/ui-react/src/components/logos/Pterodactyl.d.ts +2 -0
  32. package/lib-types/ui-react/src/components/logos/Purpur.d.ts +2 -0
  33. package/lib-types/ui-react/src/components/logos/Velocity.d.ts +2 -0
  34. package/lib-types/ui-react/src/components/logos/Waterfall.d.ts +2 -0
  35. package/lib-types/ui-react/src/components/logos.d.ts +10 -0
  36. package/package.json +6 -6
  37. package/lib-types/components/docs.d.ts +0 -8
  38. package/lib-types/components/elements/Header.d.ts +0 -10
@@ -1083,12 +1083,17 @@ const Toggle = qwik.component$(({ checkbox, round, ...props }) => {
1083
1083
  });
1084
1084
  const Hoverable = {
1085
1085
  onMouseMove$: (e, el) => {
1086
- const mousex = e.clientX - el.getBoundingClientRect().left;
1087
- const mousey = e.clientY - el.getBoundingClientRect().top;
1088
- el.style.transform = `perspective(500px) rotateX(${(mousey / el.clientHeight - 0.5) * 10}deg) rotateY(${(mousex / el.clientWidth - 0.5) * 10}deg)`;
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$: (e, el) => {
1091
- el.style.transform = "rotateX(0deg) rotateY(0deg)";
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 }) => {
@@ -1081,12 +1081,17 @@ const Toggle = component$(({ checkbox, round, ...props }) => {
1081
1081
  });
1082
1082
  const Hoverable = {
1083
1083
  onMouseMove$: (e, el) => {
1084
- const mousex = e.clientX - el.getBoundingClientRect().left;
1085
- const mousey = e.clientY - el.getBoundingClientRect().top;
1086
- el.style.transform = `perspective(500px) rotateX(${(mousey / el.clientHeight - 0.5) * 10}deg) rotateY(${(mousex / el.clientWidth - 0.5) * 10}deg)`;
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$: (e, el) => {
1089
- el.style.transform = "rotateX(0deg) rotateY(0deg)";
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 }) => {
@@ -1,4 +1,4 @@
1
1
  export declare const Hoverable: {
2
2
  readonly onMouseMove$: (e: MouseEvent, el: HTMLElement) => void;
3
- readonly onMouseLeave$: (e: MouseEvent, el: HTMLElement) => void;
3
+ readonly onMouseLeave$: (_e: MouseEvent, el: HTMLElement) => void;
4
4
  };
@@ -0,0 +1,2 @@
1
+ declare const _default: import("@builder.io/qwik").Component<unknown>;
2
+ export default _default;
@@ -0,0 +1,2 @@
1
+ declare const _default: import("@builder.io/qwik").Component<unknown>;
2
+ export default _default;
@@ -0,0 +1,2 @@
1
+ declare const _default: import("@builder.io/qwik").Component<unknown>;
2
+ export default _default;
@@ -0,0 +1,2 @@
1
+ declare const _default: import("@builder.io/qwik").Component<unknown>;
2
+ export default _default;
@@ -0,0 +1,2 @@
1
+ declare const _default: import("@builder.io/qwik").Component<unknown>;
2
+ export default _default;
@@ -0,0 +1,2 @@
1
+ declare const _default: import("@builder.io/qwik").Component<unknown>;
2
+ export default _default;
@@ -0,0 +1,2 @@
1
+ declare const _default: import("@builder.io/qwik").Component<unknown>;
2
+ export default _default;
@@ -0,0 +1,2 @@
1
+ declare const _default: import("@builder.io/qwik").Component<unknown>;
2
+ export default _default;
@@ -0,0 +1,2 @@
1
+ declare const _default: import("@builder.io/qwik").Component<unknown>;
2
+ export default _default;
@@ -0,0 +1,2 @@
1
+ declare const _default: import("@builder.io/qwik").Component<unknown>;
2
+ export default _default;
@@ -0,0 +1,2 @@
1
+ declare const _default: import("@builder.io/qwik").Component<unknown>;
2
+ export default _default;
@@ -0,0 +1,2 @@
1
+ declare const _default: import("@builder.io/qwik").Component<unknown>;
2
+ export default _default;
@@ -0,0 +1,2 @@
1
+ declare const _default: import("@builder.io/qwik").Component<unknown>;
2
+ export default _default;
@@ -0,0 +1,2 @@
1
+ declare const _default: import("@builder.io/qwik").Component<unknown>;
2
+ export default _default;
@@ -0,0 +1,2 @@
1
+ declare const _default: import("@builder.io/qwik").Component<unknown>;
2
+ export default _default;
@@ -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,2 @@
1
+ import { type RenderOptions } from '@builder.io/qwik';
2
+ export default function (opts: RenderOptions): Promise<import("@builder.io/qwik").RenderResult>;
@@ -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,3 @@
1
+ export * from './components/elements';
2
+ export * from './components/functions';
3
+ export * from './components/logos';
@@ -0,0 +1,3 @@
1
+ import './global.css';
2
+ declare const _default: import("@builder.io/qwik").Component<unknown>;
3
+ export default _default;
@@ -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,2 @@
1
+ import type { IconProps } from './IconProps';
2
+ export declare function LogoDiscord({ size, ...props }: IconProps): any;
@@ -0,0 +1,2 @@
1
+ import type { IconProps } from './IconProps';
2
+ export declare function LogoFabric({ size, ...props }: IconProps): any;
@@ -0,0 +1,2 @@
1
+ import type { IconProps } from './IconProps';
2
+ export declare function LogoForge({ size, ...props }: IconProps): any;
@@ -0,0 +1,3 @@
1
+ export type IconProps = Omit<React.SVGAttributes<SVGElement>, 'bind:checked' | 'type' | 'children'> & {
2
+ size?: number;
3
+ };
@@ -0,0 +1,3 @@
1
+ import type { IconProps } from './IconProps';
2
+ export declare function LogoLuminescent({ size, ...props }: IconProps): any;
3
+ export declare function LogoLuminescentFull({ size, ...props }: IconProps): any;
@@ -0,0 +1,2 @@
1
+ import type { IconProps } from './IconProps';
2
+ export declare function LogoPaper({ size, ...props }: IconProps): any;
@@ -0,0 +1,2 @@
1
+ import type { IconProps } from './IconProps';
2
+ export declare function LogoPterodactyl({ size, ...props }: IconProps): any;
@@ -0,0 +1,2 @@
1
+ import type { IconProps } from './IconProps';
2
+ export declare function LogoPurpur({ size, ...props }: IconProps): any;
@@ -0,0 +1,2 @@
1
+ import type { IconProps } from './IconProps';
2
+ export declare function LogoVelocity({ size, ...props }: IconProps): any;
@@ -0,0 +1,2 @@
1
+ import type { IconProps } from './IconProps';
2
+ export declare function LogoWaterfall({ size, ...props }: IconProps): any;
@@ -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.0",
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.0",
36
- "@builder.io/qwik-city": "^1.17.0",
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.1",
40
+ "@types/node": "^24.9.2",
41
41
  "eslint": "^9.38.0",
42
- "eslint-plugin-qwik": "^1.17.0",
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.0"
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 {};