@luminescent/ui-qwik 1.2.8 → 1.2.9

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.
@@ -607,12 +607,12 @@ const ColorPicker = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inlin
607
607
  ])
608
608
  }, {
609
609
  class: {
610
- "w-[1.6rem] h-[1.6rem] rounded-md hover:scale-110 motion-safe:transition-all duration-300 hover:duration-100 ease-in-out -outline-offset-1 outline outline-1 outline-white/30": true
610
+ "w-[1.6rem] h-[1.6rem] rounded-md hover:scale-110 motion-safe:transition-all duration-300 hover:duration-75 ease-out -outline-offset-1 outline outline-1 outline-white/30": true
611
611
  }
612
612
  }, null, 2, i);
613
613
  }),
614
614
  /* @__PURE__ */ qwik._jsxQ("button", null, {
615
- class: "w-[1.6rem] h-[1.6rem] border border-gray-700 rounded-md hover:scale-110 motion-safe:transition-all duration-300 hover:duration-100 ease-in-out",
615
+ class: "w-[1.6rem] h-[1.6rem] border border-gray-700 rounded-md hover:scale-110 motion-safe:transition-all duration-300 hover:duration-75 ease-out",
616
616
  onClick$: /* @__PURE__ */ qwik.inlinedQrl(() => {
617
617
  const [setColor2] = qwik.useLexicalScope();
618
618
  const color = `#${Math.floor(Math.random() * 16777215).toString(16)}`;
@@ -733,9 +733,9 @@ const DropdownRaw = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inlin
733
733
  /* @__PURE__ */ qwik._jsxC(ChevronDown, {
734
734
  width: 16,
735
735
  class: {
736
- "motion-safe:transition-all ease-in-out": true,
736
+ "motion-safe:transition-all ease-out": true,
737
737
  "transform rotate-180": store.opened,
738
- "group-hover:transform group-hover:rotate-180 duration-300 group-hover:duration-100": props.hover
738
+ "group-hover:transform group-hover:rotate-180 duration-300 group-hover:duration-75": props.hover
739
739
  },
740
740
  [qwik._IMMUTABLE]: {
741
741
  width: qwik._IMMUTABLE
@@ -744,9 +744,9 @@ const DropdownRaw = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inlin
744
744
  ], 1, null),
745
745
  /* @__PURE__ */ qwik._jsxQ("div", {
746
746
  class: {
747
- "transition-all ease-in-out absolute top-full pt-2 left-0 z-[1000] ": true,
747
+ "transition-all ease-out absolute top-full pt-2 left-0 z-[1000] ": true,
748
748
  "opacity-0 scale-95 pointer-events-none": !store.opened,
749
- "group-hover:pointer-events-auto group-hover:opacity-100 group-hover:scale-100 duration-300 group-hover:duration-100": props.hover
749
+ "group-hover:pointer-events-auto group-hover:opacity-100 group-hover:scale-100 duration-300 group-hover:duration-75": props.hover
750
750
  }
751
751
  }, null, /* @__PURE__ */ qwik._jsxQ("div", null, {
752
752
  id: qwik._fnSignal((p0) => `lui-${p0.id}-opts`, [
@@ -844,7 +844,7 @@ const Header = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inlinedQrl
844
844
  navigator.clipboard.writeText(window.location.href);
845
845
  }, "Header_component_Component_Fragment_h2_a_onClick_tdwReSG5ZBA")
846
846
  }, /* @__PURE__ */ qwik._jsxC(Link, {
847
- class: "transition-all opacity-10 group-hover:opacity-100 duration-300 group-hover:duration-100",
847
+ class: "transition-all opacity-10 group-hover:opacity-100 duration-300 group-hover:duration-75",
848
848
  width: 24,
849
849
  [qwik._IMMUTABLE]: {
850
850
  class: qwik._IMMUTABLE,
@@ -905,7 +905,7 @@ const Nav = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inlinedQrl((p
905
905
  /* @__PURE__ */ qwik._jsxQ("div", {
906
906
  class: {
907
907
  [props.colorClass ?? "lum-bg-gray-900"]: !props.floating,
908
- "border-t-0 border-x-0": !props.floating,
908
+ "!border-t-0 !border-x-0": !props.floating,
909
909
  "before:backdrop-blur-lg": !(props.colorClass ?? "lum-bg-gray-900").includes("transparent") && !props.floating,
910
910
  'before:absolute before:content-[""] before:w-full before:h-full before:drop-shadow-xl before:-z-10': !props.floating,
911
911
  "relative mt-2 mx-2": props.floating
@@ -1052,12 +1052,9 @@ const NumberInputRaw = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.in
1052
1052
  }
1053
1053
  `, "NumberInputRaw_component_useStyles_PL07GuY3qew"));
1054
1054
  return /* @__PURE__ */ qwik._jsxQ("div", null, {
1055
- class: qwik._fnSignal((p0) => ({
1056
- "flex text-gray-50 touch-manipulation": true,
1057
- "gap-2": !p0.input
1058
- }), [
1059
- props
1060
- ], '{"flex text-gray-50 touch-manipulation":true,"gap-2":!p0.input}')
1055
+ class: {
1056
+ "flex gap-2 text-gray-50 touch-manipulation": true
1057
+ }
1061
1058
  }, [
1062
1059
  /* @__PURE__ */ qwik._jsxQ("button", {
1063
1060
  disabled: props1.min ? (props.value ?? 0) <= props1.min : false,
@@ -1071,7 +1068,7 @@ const NumberInputRaw = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.in
1071
1068
  ]) : props.onDecrement$
1072
1069
  }, {
1073
1070
  class: {
1074
- "lum-btn lum-pad-sm text-sm lum-bg-gray-800 hover:lum-bg-gray-700 rounded-md": true
1071
+ "lum-btn lum-pad-equal-sm text-sm lum-bg-gray-800 hover:lum-bg-gray-700 rounded-md": true
1075
1072
  },
1076
1073
  "data-action": "decrement",
1077
1074
  "aria-label": "Decrement"
@@ -1093,7 +1090,7 @@ const NumberInputRaw = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.in
1093
1090
  return props.step ?? 1;
1094
1091
  },
1095
1092
  class: {
1096
- "lum-input lum-pad-sm text-sm lum-bg-gray-800 hover:lum-bg-gray-700 rounded-md": true,
1093
+ "lum-input text-sm lum-bg-gray-800 hover:lum-bg-gray-700 rounded-md": true,
1097
1094
  "text-center": true,
1098
1095
  ...props1.class
1099
1096
  }
@@ -1118,7 +1115,7 @@ const NumberInputRaw = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.in
1118
1115
  ]) : props.onIncrement$
1119
1116
  }, {
1120
1117
  class: {
1121
- "lum-btn lum-pad-sm text-sm lum-bg-gray-800 hover:lum-bg-gray-700 rounded-md": true
1118
+ "lum-btn lum-pad-equal-sm text-sm lum-bg-gray-800 hover:lum-bg-gray-700 rounded-md": true
1122
1119
  },
1123
1120
  "data-action": "increment",
1124
1121
  "aria-label": "Increment"
@@ -1360,8 +1357,8 @@ const Toggle = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inlinedQrl
1360
1357
  }, 0, null),
1361
1358
  /* @__PURE__ */ qwik._jsxQ("div", {
1362
1359
  class: {
1363
- "motion-safe:transition duration-300 hover:duration-100 ease-in-out h-7 peer border hover:shadow-lg": true,
1364
- "after:content-[''] after:absolute after:top-[4px] after:left-[4px] after:border after:h-5 after:w-5 after:motion-safe:transition-all after:duration-300 after:hover:duration-100 after:ease-in-out": true,
1360
+ "motion-safe:transition duration-300 hover:duration-75 ease-out h-7 peer border hover:shadow-lg": true,
1361
+ "after:content-[''] after:absolute after:top-[4px] after:left-[4px] after:border after:h-5 after:w-5 after:motion-safe:transition-all after:duration-300 after:hover:duration-75 after:ease-out": true,
1365
1362
  "rounded-md after:rounded-[0.2rem]": !props.round,
1366
1363
  "rounded-full after:rounded-full": props.round,
1367
1364
  "w-12 peer-checked:after:translate-x-full": !props.checkbox,
@@ -605,12 +605,12 @@ const ColorPicker = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((pro
605
605
  ])
606
606
  }, {
607
607
  class: {
608
- "w-[1.6rem] h-[1.6rem] rounded-md hover:scale-110 motion-safe:transition-all duration-300 hover:duration-100 ease-in-out -outline-offset-1 outline outline-1 outline-white/30": true
608
+ "w-[1.6rem] h-[1.6rem] rounded-md hover:scale-110 motion-safe:transition-all duration-300 hover:duration-75 ease-out -outline-offset-1 outline outline-1 outline-white/30": true
609
609
  }
610
610
  }, null, 2, i);
611
611
  }),
612
612
  /* @__PURE__ */ _jsxQ("button", null, {
613
- class: "w-[1.6rem] h-[1.6rem] border border-gray-700 rounded-md hover:scale-110 motion-safe:transition-all duration-300 hover:duration-100 ease-in-out",
613
+ class: "w-[1.6rem] h-[1.6rem] border border-gray-700 rounded-md hover:scale-110 motion-safe:transition-all duration-300 hover:duration-75 ease-out",
614
614
  onClick$: /* @__PURE__ */ inlinedQrl(() => {
615
615
  const [setColor2] = useLexicalScope();
616
616
  const color = `#${Math.floor(Math.random() * 16777215).toString(16)}`;
@@ -731,9 +731,9 @@ const DropdownRaw = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((pro
731
731
  /* @__PURE__ */ _jsxC(ChevronDown, {
732
732
  width: 16,
733
733
  class: {
734
- "motion-safe:transition-all ease-in-out": true,
734
+ "motion-safe:transition-all ease-out": true,
735
735
  "transform rotate-180": store.opened,
736
- "group-hover:transform group-hover:rotate-180 duration-300 group-hover:duration-100": props.hover
736
+ "group-hover:transform group-hover:rotate-180 duration-300 group-hover:duration-75": props.hover
737
737
  },
738
738
  [_IMMUTABLE]: {
739
739
  width: _IMMUTABLE
@@ -742,9 +742,9 @@ const DropdownRaw = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((pro
742
742
  ], 1, null),
743
743
  /* @__PURE__ */ _jsxQ("div", {
744
744
  class: {
745
- "transition-all ease-in-out absolute top-full pt-2 left-0 z-[1000] ": true,
745
+ "transition-all ease-out absolute top-full pt-2 left-0 z-[1000] ": true,
746
746
  "opacity-0 scale-95 pointer-events-none": !store.opened,
747
- "group-hover:pointer-events-auto group-hover:opacity-100 group-hover:scale-100 duration-300 group-hover:duration-100": props.hover
747
+ "group-hover:pointer-events-auto group-hover:opacity-100 group-hover:scale-100 duration-300 group-hover:duration-75": props.hover
748
748
  }
749
749
  }, null, /* @__PURE__ */ _jsxQ("div", null, {
750
750
  id: _fnSignal((p0) => `lui-${p0.id}-opts`, [
@@ -842,7 +842,7 @@ const Header = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props) =
842
842
  navigator.clipboard.writeText(window.location.href);
843
843
  }, "Header_component_Component_Fragment_h2_a_onClick_tdwReSG5ZBA")
844
844
  }, /* @__PURE__ */ _jsxC(Link, {
845
- class: "transition-all opacity-10 group-hover:opacity-100 duration-300 group-hover:duration-100",
845
+ class: "transition-all opacity-10 group-hover:opacity-100 duration-300 group-hover:duration-75",
846
846
  width: 24,
847
847
  [_IMMUTABLE]: {
848
848
  class: _IMMUTABLE,
@@ -903,7 +903,7 @@ const Nav = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props) => {
903
903
  /* @__PURE__ */ _jsxQ("div", {
904
904
  class: {
905
905
  [props.colorClass ?? "lum-bg-gray-900"]: !props.floating,
906
- "border-t-0 border-x-0": !props.floating,
906
+ "!border-t-0 !border-x-0": !props.floating,
907
907
  "before:backdrop-blur-lg": !(props.colorClass ?? "lum-bg-gray-900").includes("transparent") && !props.floating,
908
908
  'before:absolute before:content-[""] before:w-full before:h-full before:drop-shadow-xl before:-z-10': !props.floating,
909
909
  "relative mt-2 mx-2": props.floating
@@ -1050,12 +1050,9 @@ const NumberInputRaw = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((
1050
1050
  }
1051
1051
  `, "NumberInputRaw_component_useStyles_PL07GuY3qew"));
1052
1052
  return /* @__PURE__ */ _jsxQ("div", null, {
1053
- class: _fnSignal((p0) => ({
1054
- "flex text-gray-50 touch-manipulation": true,
1055
- "gap-2": !p0.input
1056
- }), [
1057
- props
1058
- ], '{"flex text-gray-50 touch-manipulation":true,"gap-2":!p0.input}')
1053
+ class: {
1054
+ "flex gap-2 text-gray-50 touch-manipulation": true
1055
+ }
1059
1056
  }, [
1060
1057
  /* @__PURE__ */ _jsxQ("button", {
1061
1058
  disabled: props1.min ? (props.value ?? 0) <= props1.min : false,
@@ -1069,7 +1066,7 @@ const NumberInputRaw = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((
1069
1066
  ]) : props.onDecrement$
1070
1067
  }, {
1071
1068
  class: {
1072
- "lum-btn lum-pad-sm text-sm lum-bg-gray-800 hover:lum-bg-gray-700 rounded-md": true
1069
+ "lum-btn lum-pad-equal-sm text-sm lum-bg-gray-800 hover:lum-bg-gray-700 rounded-md": true
1073
1070
  },
1074
1071
  "data-action": "decrement",
1075
1072
  "aria-label": "Decrement"
@@ -1091,7 +1088,7 @@ const NumberInputRaw = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((
1091
1088
  return props.step ?? 1;
1092
1089
  },
1093
1090
  class: {
1094
- "lum-input lum-pad-sm text-sm lum-bg-gray-800 hover:lum-bg-gray-700 rounded-md": true,
1091
+ "lum-input text-sm lum-bg-gray-800 hover:lum-bg-gray-700 rounded-md": true,
1095
1092
  "text-center": true,
1096
1093
  ...props1.class
1097
1094
  }
@@ -1116,7 +1113,7 @@ const NumberInputRaw = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((
1116
1113
  ]) : props.onIncrement$
1117
1114
  }, {
1118
1115
  class: {
1119
- "lum-btn lum-pad-sm text-sm lum-bg-gray-800 hover:lum-bg-gray-700 rounded-md": true
1116
+ "lum-btn lum-pad-equal-sm text-sm lum-bg-gray-800 hover:lum-bg-gray-700 rounded-md": true
1120
1117
  },
1121
1118
  "data-action": "increment",
1122
1119
  "aria-label": "Increment"
@@ -1358,8 +1355,8 @@ const Toggle = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props) =
1358
1355
  }, 0, null),
1359
1356
  /* @__PURE__ */ _jsxQ("div", {
1360
1357
  class: {
1361
- "motion-safe:transition duration-300 hover:duration-100 ease-in-out h-7 peer border hover:shadow-lg": true,
1362
- "after:content-[''] after:absolute after:top-[4px] after:left-[4px] after:border after:h-5 after:w-5 after:motion-safe:transition-all after:duration-300 after:hover:duration-100 after:ease-in-out": true,
1358
+ "motion-safe:transition duration-300 hover:duration-75 ease-out h-7 peer border hover:shadow-lg": true,
1359
+ "after:content-[''] after:absolute after:top-[4px] after:left-[4px] after:border after:h-5 after:w-5 after:motion-safe:transition-all after:duration-300 after:hover:duration-75 after:ease-out": true,
1363
1360
  "rounded-md after:rounded-[0.2rem]": !props.round,
1364
1361
  "rounded-full after:rounded-full": props.round,
1365
1362
  "w-12 peer-checked:after:translate-x-full": !props.checkbox,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@luminescent/ui-qwik",
3
- "version": "1.2.8",
3
+ "version": "1.2.9",
4
4
  "description": "Luminescent UI library",
5
5
  "main": "./lib/index.qwik.mjs",
6
6
  "qwik": "./lib/index.qwik.mjs",
@@ -43,7 +43,7 @@
43
43
  "@builder.io/qwik": "1.8.0",
44
44
  "@builder.io/qwik-city": "^1.8.0",
45
45
  "@types/eslint": "^8.56.11",
46
- "@types/node": "^22.4.2",
46
+ "@types/node": "^22.5.0",
47
47
  "@typescript-eslint/eslint-plugin": "^8.2.0",
48
48
  "@typescript-eslint/parser": "^8.2.0",
49
49
  "autoprefixer": "^10.4.20",