@luminescent/ui 0.9.0 → 0.10.0-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.
@@ -12,14 +12,15 @@ const buttonColorClasses = {
12
12
  blue: "bg-blue-600/90 border-blue-500 hover:bg-blue-500 active:bg-blue-400 focus:border-blue-400",
13
13
  purple: "bg-purple-600/90 border-purple-500 hover:bg-purple-500 active:bg-purple-400 focus:border-purple-400",
14
14
  pink: "bg-pink-600/90 border-pink-500 hover:bg-pink-500 active:bg-pink-400 focus:border-pink-400",
15
- gray: "bg-gray-700/90 border-gray-600 hover:bg-gray-600 active:bg-gray-500 focus:border-gray-500",
16
- darkgray: "bg-gray-800/90 border-gray-700 hover:bg-gray-700 active:bg-gray-600 focus:border-gray-600",
17
15
  red: "bg-red-700/90 border-red-600 hover:bg-red-600 active:bg-red-500 focus:border-red-500",
18
16
  green: "bg-green-700/90 border-green-600 hover:bg-green-600 active:bg-green-500 focus:border-green-500",
19
- yellow: "bg-yellow-700/90 border-yellow-600 hover:bg-yellow-600 active:bg-yellow-500 focus:border-yellow-500"
17
+ yellow: "bg-yellow-700/90 border-yellow-600 hover:bg-yellow-600 active:bg-yellow-500 focus:border-yellow-500",
18
+ gray: "bg-gray-700/90 border-gray-600 hover:bg-gray-600 active:bg-gray-500 focus:border-gray-500",
19
+ darkgray: "bg-gray-800/90 border-gray-700 hover:bg-gray-700 active:bg-gray-600 focus:border-gray-600",
20
+ transparent: "bg-transparent border-transparent hover:bg-gray-700/10 active:bg-gray-700/20 focus:border-gray-700/20"
20
21
  };
21
22
  const sizeClasses = {
22
- sm: "text-sm px-2.5 py-1.5 rounded-md gap-2",
23
+ sm: "text-base px-2.5 py-1.5 rounded-md gap-2",
23
24
  md: "text-base px-4 py-2 rounded-md gap-3",
24
25
  lg: "text-lg px-6 py-3 rounded-lg gap-3",
25
26
  xl: "text-lg px-8 py-4 rounded-xl gap-4"
@@ -837,6 +838,48 @@ const Header = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inlinedQrl
837
838
  ], 1, "dL_5");
838
839
  return Component;
839
840
  }, "Header_component_FfGOhhBNG5k"));
841
+ const NavContainer = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inlinedQrl((props) => {
842
+ return /* @__PURE__ */ qwik._jsxQ("nav", null, {
843
+ class: qwik._fnSignal((p0) => ({
844
+ "transition-all duration-200 flex flex-col fixed top-0 left-0 w-full z-50": true,
845
+ "bg-gray-800/50 backdrop-blur-lg drop-shadow-xl": !p0.floating
846
+ }), [
847
+ props
848
+ ], '{"transition-all duration-200 flex flex-col fixed top-0 left-0 w-full z-50":true,"bg-gray-800/50 backdrop-blur-lg drop-shadow-xl":!p0.floating}')
849
+ }, /* @__PURE__ */ qwik._jsxQ("div", null, {
850
+ class: qwik._fnSignal((p0) => ({
851
+ "flex justify-evenly w-full mx-auto px-4 py-2 max-w-7xl": true,
852
+ "bg-gray-800/50 backdrop-blur-lg drop-shadow-xl mt-3 rounded-lg": p0.floating
853
+ }), [
854
+ props
855
+ ], '{"flex justify-evenly w-full mx-auto px-4 py-2 max-w-7xl":true,"bg-gray-800/50 backdrop-blur-lg drop-shadow-xl mt-3 rounded-lg":p0.floating}')
856
+ }, [
857
+ /* @__PURE__ */ qwik._jsxQ("div", null, {
858
+ class: "flex flex-1 justify-start"
859
+ }, /* @__PURE__ */ qwik._jsxC(qwik.Slot, {
860
+ name: "start",
861
+ [qwik._IMMUTABLE]: {
862
+ name: qwik._IMMUTABLE
863
+ }
864
+ }, 3, "8r_0"), 1, null),
865
+ /* @__PURE__ */ qwik._jsxQ("div", null, {
866
+ class: "flex flex-1 justify-center"
867
+ }, /* @__PURE__ */ qwik._jsxC(qwik.Slot, {
868
+ name: "center",
869
+ [qwik._IMMUTABLE]: {
870
+ name: qwik._IMMUTABLE
871
+ }
872
+ }, 3, "8r_1"), 1, null),
873
+ /* @__PURE__ */ qwik._jsxQ("div", null, {
874
+ class: "flex flex-1 justify-end"
875
+ }, /* @__PURE__ */ qwik._jsxC(qwik.Slot, {
876
+ name: "end",
877
+ [qwik._IMMUTABLE]: {
878
+ name: qwik._IMMUTABLE
879
+ }
880
+ }, 3, "8r_2"), 1, null)
881
+ ], 1, null), 1, "8r_3");
882
+ }, "NavContainer_component_0cvQrwegQjA"));
840
883
  const Plus = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inlinedQrl((props) => {
841
884
  return /* @__PURE__ */ qwik._jsxS("svg", {
842
885
  ...props,
@@ -1743,6 +1786,7 @@ exports.LogoPterodactyl = LogoPterodactyl;
1743
1786
  exports.LogoPurpur = LogoPurpur;
1744
1787
  exports.LogoVelocity = LogoVelocity;
1745
1788
  exports.LogoWaterfall = LogoWaterfall;
1789
+ exports.NavContainer = NavContainer;
1746
1790
  exports.NumberInput = NumberInput;
1747
1791
  exports.NumberInputRaw = NumberInputRaw;
1748
1792
  exports.SelectInput = SelectInput;
@@ -10,14 +10,15 @@ const buttonColorClasses = {
10
10
  blue: "bg-blue-600/90 border-blue-500 hover:bg-blue-500 active:bg-blue-400 focus:border-blue-400",
11
11
  purple: "bg-purple-600/90 border-purple-500 hover:bg-purple-500 active:bg-purple-400 focus:border-purple-400",
12
12
  pink: "bg-pink-600/90 border-pink-500 hover:bg-pink-500 active:bg-pink-400 focus:border-pink-400",
13
- gray: "bg-gray-700/90 border-gray-600 hover:bg-gray-600 active:bg-gray-500 focus:border-gray-500",
14
- darkgray: "bg-gray-800/90 border-gray-700 hover:bg-gray-700 active:bg-gray-600 focus:border-gray-600",
15
13
  red: "bg-red-700/90 border-red-600 hover:bg-red-600 active:bg-red-500 focus:border-red-500",
16
14
  green: "bg-green-700/90 border-green-600 hover:bg-green-600 active:bg-green-500 focus:border-green-500",
17
- yellow: "bg-yellow-700/90 border-yellow-600 hover:bg-yellow-600 active:bg-yellow-500 focus:border-yellow-500"
15
+ yellow: "bg-yellow-700/90 border-yellow-600 hover:bg-yellow-600 active:bg-yellow-500 focus:border-yellow-500",
16
+ gray: "bg-gray-700/90 border-gray-600 hover:bg-gray-600 active:bg-gray-500 focus:border-gray-500",
17
+ darkgray: "bg-gray-800/90 border-gray-700 hover:bg-gray-700 active:bg-gray-600 focus:border-gray-600",
18
+ transparent: "bg-transparent border-transparent hover:bg-gray-700/10 active:bg-gray-700/20 focus:border-gray-700/20"
18
19
  };
19
20
  const sizeClasses = {
20
- sm: "text-sm px-2.5 py-1.5 rounded-md gap-2",
21
+ sm: "text-base px-2.5 py-1.5 rounded-md gap-2",
21
22
  md: "text-base px-4 py-2 rounded-md gap-3",
22
23
  lg: "text-lg px-6 py-3 rounded-lg gap-3",
23
24
  xl: "text-lg px-8 py-4 rounded-xl gap-4"
@@ -835,6 +836,48 @@ const Header = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props) =
835
836
  ], 1, "dL_5");
836
837
  return Component;
837
838
  }, "Header_component_FfGOhhBNG5k"));
839
+ const NavContainer = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props) => {
840
+ return /* @__PURE__ */ _jsxQ("nav", null, {
841
+ class: _fnSignal((p0) => ({
842
+ "transition-all duration-200 flex flex-col fixed top-0 left-0 w-full z-50": true,
843
+ "bg-gray-800/50 backdrop-blur-lg drop-shadow-xl": !p0.floating
844
+ }), [
845
+ props
846
+ ], '{"transition-all duration-200 flex flex-col fixed top-0 left-0 w-full z-50":true,"bg-gray-800/50 backdrop-blur-lg drop-shadow-xl":!p0.floating}')
847
+ }, /* @__PURE__ */ _jsxQ("div", null, {
848
+ class: _fnSignal((p0) => ({
849
+ "flex justify-evenly w-full mx-auto px-4 py-2 max-w-7xl": true,
850
+ "bg-gray-800/50 backdrop-blur-lg drop-shadow-xl mt-3 rounded-lg": p0.floating
851
+ }), [
852
+ props
853
+ ], '{"flex justify-evenly w-full mx-auto px-4 py-2 max-w-7xl":true,"bg-gray-800/50 backdrop-blur-lg drop-shadow-xl mt-3 rounded-lg":p0.floating}')
854
+ }, [
855
+ /* @__PURE__ */ _jsxQ("div", null, {
856
+ class: "flex flex-1 justify-start"
857
+ }, /* @__PURE__ */ _jsxC(Slot, {
858
+ name: "start",
859
+ [_IMMUTABLE]: {
860
+ name: _IMMUTABLE
861
+ }
862
+ }, 3, "8r_0"), 1, null),
863
+ /* @__PURE__ */ _jsxQ("div", null, {
864
+ class: "flex flex-1 justify-center"
865
+ }, /* @__PURE__ */ _jsxC(Slot, {
866
+ name: "center",
867
+ [_IMMUTABLE]: {
868
+ name: _IMMUTABLE
869
+ }
870
+ }, 3, "8r_1"), 1, null),
871
+ /* @__PURE__ */ _jsxQ("div", null, {
872
+ class: "flex flex-1 justify-end"
873
+ }, /* @__PURE__ */ _jsxC(Slot, {
874
+ name: "end",
875
+ [_IMMUTABLE]: {
876
+ name: _IMMUTABLE
877
+ }
878
+ }, 3, "8r_2"), 1, null)
879
+ ], 1, null), 1, "8r_3");
880
+ }, "NavContainer_component_0cvQrwegQjA"));
838
881
  const Plus = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props) => {
839
882
  return /* @__PURE__ */ _jsxS("svg", {
840
883
  ...props,
@@ -1742,6 +1785,7 @@ export {
1742
1785
  LogoPurpur,
1743
1786
  LogoVelocity,
1744
1787
  LogoWaterfall,
1788
+ NavContainer,
1745
1789
  NumberInput,
1746
1790
  NumberInputRaw,
1747
1791
  SelectInput,
@@ -3,11 +3,12 @@ export declare const buttonColorClasses: {
3
3
  blue: string;
4
4
  purple: string;
5
5
  pink: string;
6
- gray: string;
7
- darkgray: string;
8
6
  red: string;
9
7
  green: string;
10
8
  yellow: string;
9
+ gray: string;
10
+ darkgray: string;
11
+ transparent: string;
11
12
  };
12
13
  export declare const sizeClasses: {
13
14
  sm: string;
@@ -0,0 +1,5 @@
1
+ interface NavContainerProps {
2
+ floating?: boolean;
3
+ }
4
+ export declare const NavContainer: import("@builder.io/qwik").Component<NavContainerProps>;
5
+ export {};
@@ -4,6 +4,7 @@ export * from './elements/Card';
4
4
  export * from './elements/ColorInput';
5
5
  export * from './elements/Header';
6
6
  export * from './elements/LoadingIcon';
7
+ export * from './elements/Nav';
7
8
  export * from './elements/NumberInput';
8
9
  export * from './elements/SelectInput';
9
10
  export * from './elements/TextArea';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@luminescent/ui",
3
- "version": "0.9.0",
3
+ "version": "0.10.0-0",
4
4
  "description": "Luminescent UI library",
5
5
  "main": "./lib/index.qwik.mjs",
6
6
  "qwik": "./lib/index.qwik.mjs",