@nexxtmove/ui 0.1.0 → 0.1.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/dist/index.js CHANGED
@@ -10,10 +10,10 @@ const P = /* @__PURE__ */ v({
10
10
  const t = T("up"), l = u(() => String(e.value).split("")), i = u(() => `duration-${e.duration}`);
11
11
  return N(
12
12
  () => e.value,
13
- (c, b) => {
14
- t.value = c > b ? "up" : "down";
13
+ (c, x) => {
14
+ t.value = c > x ? "up" : "down";
15
15
  }
16
- ), (c, b) => (a(), g(S, {
16
+ ), (c, x) => (a(), g(S, {
17
17
  tag: "div",
18
18
  class: "relative flex shrink-0 items-center tabular-nums",
19
19
  "aria-label": e.value,
@@ -24,7 +24,7 @@ const P = /* @__PURE__ */ v({
24
24
  "move-class": "transition-all duration-500 ease-in-out"
25
25
  }, {
26
26
  default: d(() => [
27
- (a(!0), s(p, null, B(l.value, (x, h) => (a(), s("div", {
27
+ (a(!0), s(p, null, B(l.value, (b, h) => (a(), s("div", {
28
28
  key: h,
29
29
  class: "relative inline-flex h-[1.5em] w-[1ch] items-center justify-center overflow-hidden",
30
30
  "aria-hidden": "true"
@@ -37,9 +37,9 @@ const P = /* @__PURE__ */ v({
37
37
  }, {
38
38
  default: d(() => [
39
39
  (a(), s("span", {
40
- key: x,
40
+ key: b,
41
41
  class: "flex h-full w-full items-center justify-center"
42
- }, m(x), 1))
42
+ }, m(b), 1))
43
43
  ]),
44
44
  _: 2
45
45
  }, 1032, ["enter-active-class", "leave-active-class", "enter-from-class", "leave-to-class"])
@@ -167,7 +167,7 @@ const P = /* @__PURE__ */ v({
167
167
  }
168
168
  }), F = { class: "@container" }, R = { class: "flex flex-col @md:gap-2" }, q = { class: "flex items-center justify-between gap-2" }, G = ["aria-label", "aria-valuenow", "aria-valuetext"], J = {
169
169
  key: 0,
170
- class: "flex items-center tabular-nums @md:hidden",
170
+ class: "flex items-center text-sm tabular-nums @md:hidden",
171
171
  "aria-hidden": "true"
172
172
  }, K = {
173
173
  key: 0,
@@ -188,7 +188,7 @@ const P = /* @__PURE__ */ v({
188
188
  e.stepTitles && e.stepTitles.length !== e.steps && console.warn(
189
189
  `[NexxtProgressBar] The "stepTitles" array length (${e.stepTitles.length}) must match the "steps" prop (${e.steps}).`
190
190
  );
191
- }), (b, x) => (a(), s("div", F, [
191
+ }), (x, b) => (a(), s("div", F, [
192
192
  r("div", R, [
193
193
  r("div", q, [
194
194
  r("div", {
@@ -214,7 +214,7 @@ const P = /* @__PURE__ */ v({
214
214
  c.value ? (a(), s("ol", K, [
215
215
  (a(!0), s(p, null, B(e.stepTitles, (h, $) => (a(), s("li", {
216
216
  key: h,
217
- class: n(["transition-colors duration-500 @max-md:hidden", $ === t.value ? "font-medium text-sapphire-500 @max-md:inline" : ""]),
217
+ class: n(["transition-colors duration-500 @max-md:hidden @min-md:text-sm", $ === t.value ? "font-medium text-sapphire-500 @max-md:inline" : ""]),
218
218
  "aria-current": $ === t.value ? "step" : void 0
219
219
  }, m(h), 11, O))), 128))
220
220
  ])) : o("", !0)
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@nexxtmove/ui",
3
3
  "type": "module",
4
- "version": "0.1.0",
4
+ "version": "0.1.2",
5
5
  "exports": {
6
6
  ".": {
7
7
  "types": "./dist/index.d.ts",
@@ -219,7 +219,16 @@
219
219
  --header-gap: var(--spacing-6);
220
220
  --font-sans: 'Poppins', ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
221
221
  --font-serif: 'Playfair Display', ui-serif, Georgia, Cambria, "Times New Roman", Times, serif;
222
- --font-mono: 'Roboto Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
222
+ --font-mono: 'Space Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
223
+ --font-thin: 100;
224
+ --font-extraLight: 200;
225
+ --font-light: 300;
226
+ --font-normal: 400;
227
+ --font-medium: 500;
228
+ --font-semiBold: 600;
229
+ --font-bold: 700;
230
+ --font-extraBold: 800;
231
+ --font-black: 900;
223
232
  --shadow-xs: 0px 0px 24px 0px oklch(26.805% 0.01602 264.26805 / 5%);
224
233
  --shadow-sm: 0px 0px 32px 5px oklch(26.805% 0.01602 264.26805 / 10%);
225
234
  --shadow-md: 0px 0px 48px 10px oklch(26.805% 0.01602 264.26805 / 12%);