@luminescent/ui-qwik 6.0.0 → 6.1.0
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 -10
- package/lib/index.qwik.mjs +10 -10
- 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 +2 -2
- 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
|
@@ -508,7 +508,7 @@ const ColorPicker = qwik.component$(({ id, value = "#000000", colors = [
|
|
|
508
508
|
"preventdefault:touchstart": true,
|
|
509
509
|
children: [
|
|
510
510
|
/* @__PURE__ */ jsxRuntime.jsx("div", {
|
|
511
|
-
class: "h-[150px] w-[125px] rounded-md border border-gray-700 bg-
|
|
511
|
+
class: "h-[150px] w-[125px] rounded-md border border-gray-700 bg-linear-to-b from-transparent to-black"
|
|
512
512
|
}),
|
|
513
513
|
/* @__PURE__ */ jsxRuntime.jsx("div", {
|
|
514
514
|
class: {
|
|
@@ -699,8 +699,8 @@ const Nav = qwik.component$(({ fixed, floating, noblur, nohamburger, colorClass
|
|
|
699
699
|
!nohamburger && /* @__PURE__ */ jsxRuntime.jsx("div", {
|
|
700
700
|
class: {
|
|
701
701
|
"absolute top-full lum-card motion-safe:transition-all sm:hidden max-w-7xl gap-2 px-2 py-4": true,
|
|
702
|
-
"w-[calc(100%-
|
|
703
|
-
"w-[calc(100%-
|
|
702
|
+
"w-[calc(100%-(--spacing(8)))] mx-4": floating,
|
|
703
|
+
"w-[calc(100%-(--spacing(4)))] mx-2": !floating,
|
|
704
704
|
"mt-2": menu.value,
|
|
705
705
|
"pointer-events-none opacity-0 -mt-2 scale-95": !menu.value,
|
|
706
706
|
"backdrop-blur-lg": !noblur,
|
|
@@ -713,7 +713,7 @@ const Nav = qwik.component$(({ fixed, floating, noblur, nohamburger, colorClass
|
|
|
713
713
|
/* @__PURE__ */ jsxRuntime.jsx("div", {
|
|
714
714
|
class: {
|
|
715
715
|
[colorClass]: !floating,
|
|
716
|
-
"
|
|
716
|
+
"border-x-0! border-t-0!": !floating,
|
|
717
717
|
"backdrop-blur-lg": !noblur && !floating,
|
|
718
718
|
"relative mx-2 mt-2": floating
|
|
719
719
|
},
|
|
@@ -745,7 +745,7 @@ const Nav = qwik.component$(({ fixed, floating, noblur, nohamburger, colorClass
|
|
|
745
745
|
}),
|
|
746
746
|
!nohamburger && /* @__PURE__ */ jsxRuntime.jsx("button", {
|
|
747
747
|
name: "Navigation Menu",
|
|
748
|
-
class: "lum-btn lum-bg-transparent p-2 sm:hidden",
|
|
748
|
+
class: "lum-btn lum-bg-transparent p-2 sm:hidden rounded-lum-2",
|
|
749
749
|
onClick$: () => menu.value = !menu.value,
|
|
750
750
|
children: /* @__PURE__ */ jsxRuntime.jsx(Menu, {
|
|
751
751
|
size: 24
|
|
@@ -965,7 +965,7 @@ const SelectMenuRaw = qwik.component$(({ values, class: Class, panelClass = "lum
|
|
|
965
965
|
}),
|
|
966
966
|
/* @__PURE__ */ jsxRuntime.jsxs("div", {
|
|
967
967
|
class: {
|
|
968
|
-
"absolute z-
|
|
968
|
+
"absolute z-1000 mt-2 transition-all ease-out": true,
|
|
969
969
|
"backdrop-blur-lg": !noblur,
|
|
970
970
|
"lum-scroll flex max-h-72 flex-col gap-1 overflow-auto rounded-lum border p-1 select-none motion-safe:transition-all": true,
|
|
971
971
|
"left-0": align === "left",
|
|
@@ -1009,9 +1009,9 @@ const Sidebar = qwik.component$(({ position, ...props }) => {
|
|
|
1009
1009
|
return /* @__PURE__ */ jsxRuntime.jsx("aside", {
|
|
1010
1010
|
...props,
|
|
1011
1011
|
class: {
|
|
1012
|
-
"hidden lg:flex sticky lum-card top-0 z-
|
|
1013
|
-
"left-0 border-0 border-r
|
|
1014
|
-
"right-0 border-0 border-l
|
|
1012
|
+
"hidden lg:flex sticky lum-card top-0 z-40 px-6 pb-0 rounded-none pt-20 h-dvh": true,
|
|
1013
|
+
"left-0 border-0 border-r": position === "left" || !position,
|
|
1014
|
+
"right-0 border-0 border-l": position === "right",
|
|
1015
1015
|
...props.class
|
|
1016
1016
|
},
|
|
1017
1017
|
children: /* @__PURE__ */ jsxRuntime.jsxs("nav", {
|
|
@@ -1052,7 +1052,7 @@ const Toggle = qwik.component$(({ checkbox, round, ...props }) => {
|
|
|
1052
1052
|
/* @__PURE__ */ jsxRuntime.jsx("div", {
|
|
1053
1053
|
class: {
|
|
1054
1054
|
"peer h-7 duration-300 ease-out hover:duration-75 motion-safe:transition": true,
|
|
1055
|
-
"after:absolute after:top-
|
|
1055
|
+
"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-all": true,
|
|
1056
1056
|
"rounded-lum after:rounded-lum-1": !round,
|
|
1057
1057
|
"rounded-full after:rounded-full": round,
|
|
1058
1058
|
"w-12 peer-checked:after:translate-x-full": !checkbox,
|
package/lib/index.qwik.mjs
CHANGED
|
@@ -506,7 +506,7 @@ const ColorPicker = component$(({ id, value = "#000000", colors = [
|
|
|
506
506
|
"preventdefault:touchstart": true,
|
|
507
507
|
children: [
|
|
508
508
|
/* @__PURE__ */ jsx("div", {
|
|
509
|
-
class: "h-[150px] w-[125px] rounded-md border border-gray-700 bg-
|
|
509
|
+
class: "h-[150px] w-[125px] rounded-md border border-gray-700 bg-linear-to-b from-transparent to-black"
|
|
510
510
|
}),
|
|
511
511
|
/* @__PURE__ */ jsx("div", {
|
|
512
512
|
class: {
|
|
@@ -697,8 +697,8 @@ const Nav = component$(({ fixed, floating, noblur, nohamburger, colorClass = "lu
|
|
|
697
697
|
!nohamburger && /* @__PURE__ */ jsx("div", {
|
|
698
698
|
class: {
|
|
699
699
|
"absolute top-full lum-card motion-safe:transition-all sm:hidden max-w-7xl gap-2 px-2 py-4": true,
|
|
700
|
-
"w-[calc(100%-
|
|
701
|
-
"w-[calc(100%-
|
|
700
|
+
"w-[calc(100%-(--spacing(8)))] mx-4": floating,
|
|
701
|
+
"w-[calc(100%-(--spacing(4)))] mx-2": !floating,
|
|
702
702
|
"mt-2": menu.value,
|
|
703
703
|
"pointer-events-none opacity-0 -mt-2 scale-95": !menu.value,
|
|
704
704
|
"backdrop-blur-lg": !noblur,
|
|
@@ -711,7 +711,7 @@ const Nav = component$(({ fixed, floating, noblur, nohamburger, colorClass = "lu
|
|
|
711
711
|
/* @__PURE__ */ jsx("div", {
|
|
712
712
|
class: {
|
|
713
713
|
[colorClass]: !floating,
|
|
714
|
-
"
|
|
714
|
+
"border-x-0! border-t-0!": !floating,
|
|
715
715
|
"backdrop-blur-lg": !noblur && !floating,
|
|
716
716
|
"relative mx-2 mt-2": floating
|
|
717
717
|
},
|
|
@@ -743,7 +743,7 @@ const Nav = component$(({ fixed, floating, noblur, nohamburger, colorClass = "lu
|
|
|
743
743
|
}),
|
|
744
744
|
!nohamburger && /* @__PURE__ */ jsx("button", {
|
|
745
745
|
name: "Navigation Menu",
|
|
746
|
-
class: "lum-btn lum-bg-transparent p-2 sm:hidden",
|
|
746
|
+
class: "lum-btn lum-bg-transparent p-2 sm:hidden rounded-lum-2",
|
|
747
747
|
onClick$: () => menu.value = !menu.value,
|
|
748
748
|
children: /* @__PURE__ */ jsx(Menu, {
|
|
749
749
|
size: 24
|
|
@@ -963,7 +963,7 @@ const SelectMenuRaw = component$(({ values, class: Class, panelClass = "lum-bg-l
|
|
|
963
963
|
}),
|
|
964
964
|
/* @__PURE__ */ jsxs("div", {
|
|
965
965
|
class: {
|
|
966
|
-
"absolute z-
|
|
966
|
+
"absolute z-1000 mt-2 transition-all ease-out": true,
|
|
967
967
|
"backdrop-blur-lg": !noblur,
|
|
968
968
|
"lum-scroll flex max-h-72 flex-col gap-1 overflow-auto rounded-lum border p-1 select-none motion-safe:transition-all": true,
|
|
969
969
|
"left-0": align === "left",
|
|
@@ -1007,9 +1007,9 @@ const Sidebar = component$(({ position, ...props }) => {
|
|
|
1007
1007
|
return /* @__PURE__ */ jsx("aside", {
|
|
1008
1008
|
...props,
|
|
1009
1009
|
class: {
|
|
1010
|
-
"hidden lg:flex sticky lum-card top-0 z-
|
|
1011
|
-
"left-0 border-0 border-r
|
|
1012
|
-
"right-0 border-0 border-l
|
|
1010
|
+
"hidden lg:flex sticky lum-card top-0 z-40 px-6 pb-0 rounded-none pt-20 h-dvh": true,
|
|
1011
|
+
"left-0 border-0 border-r": position === "left" || !position,
|
|
1012
|
+
"right-0 border-0 border-l": position === "right",
|
|
1013
1013
|
...props.class
|
|
1014
1014
|
},
|
|
1015
1015
|
children: /* @__PURE__ */ jsxs("nav", {
|
|
@@ -1050,7 +1050,7 @@ const Toggle = component$(({ checkbox, round, ...props }) => {
|
|
|
1050
1050
|
/* @__PURE__ */ jsx("div", {
|
|
1051
1051
|
class: {
|
|
1052
1052
|
"peer h-7 duration-300 ease-out hover:duration-75 motion-safe:transition": true,
|
|
1053
|
-
"after:absolute after:top-
|
|
1053
|
+
"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-all": true,
|
|
1054
1054
|
"rounded-lum after:rounded-lum-1": !round,
|
|
1055
1055
|
"rounded-full after:rounded-full": round,
|
|
1056
1056
|
"w-12 peer-checked:after:translate-x-full": !checkbox,
|
|
@@ -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.
|
|
3
|
+
"version": "6.1.0",
|
|
4
4
|
"description": "Luminescent UI library - Qwik",
|
|
5
5
|
"main": "./lib/index.qwik.mjs",
|
|
6
6
|
"qwik": "./lib/index.qwik.mjs",
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
"vite-tsconfig-paths": "^5.1.4"
|
|
51
51
|
},
|
|
52
52
|
"peerDependencies": {
|
|
53
|
-
"@luminescent/ui": "6.
|
|
53
|
+
"@luminescent/ui": "6.1.0"
|
|
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 {};
|