@nearform/quantum 1.7.0 → 1.7.1

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.mjs CHANGED
@@ -3261,9 +3261,10 @@ var PageNumberStyles = cva21([
3261
3261
  "rounded-xs",
3262
3262
  "text-foreground-muted",
3263
3263
  "dark:text-foreground-muted-dark",
3264
+ "hover:bg-button-tertiary-hover",
3265
+ "dark:hover:bg-button-tertiary-hover-dark",
3264
3266
  "active:bg-accent",
3265
3267
  "active:text-primary-10",
3266
- "dark:hover:bg-background-dark",
3267
3268
  "dark:active:bg-primary-30",
3268
3269
  "dark:active:text-grey-900"
3269
3270
  ]);
@@ -3277,6 +3278,16 @@ var PageNumberActiveStyles = cva21([
3277
3278
  "dark:hover:bg-primary-30",
3278
3279
  "dark:hover:text-grey-900"
3279
3280
  ]);
3281
+ var StepButtonStyles = cva21([
3282
+ "px-4",
3283
+ "rounded-xs",
3284
+ "text-foreground",
3285
+ "dark:text-foreground-dark",
3286
+ "enabled:hover:bg-button-tertiary-hover",
3287
+ "dark:enabled:hover:bg-button-tertiary-hover-dark",
3288
+ "disabled:text-foreground-subtle",
3289
+ "dark:disabled:text-foreground-subtle-dark"
3290
+ ]);
3280
3291
  var Pagination = React25.forwardRef(
3281
3292
  (_a, ref) => {
3282
3293
  var _b = _a, {
@@ -3356,18 +3367,19 @@ var Pagination = React25.forwardRef(
3356
3367
  ref
3357
3368
  }, props), {
3358
3369
  children: /* @__PURE__ */ jsxs19("ul", { children: [
3359
- /* @__PURE__ */ jsx27("li", { className: "hover:bg-background px-4 dark:hover:bg-background-dark rounded-xs", children: /* @__PURE__ */ jsx27(
3370
+ /* @__PURE__ */ jsx27("li", { children: /* @__PURE__ */ jsx27(
3360
3371
  "button",
3361
3372
  {
3362
3373
  type: "button",
3363
3374
  "aria-label": previousLabel,
3375
+ className: StepButtonStyles(),
3364
3376
  onClick: goToPrevPage,
3365
3377
  disabled: currentPage === 1 || totalPages === 0,
3366
3378
  children: /* @__PURE__ */ jsx27(
3367
3379
  assets_exports.BsChevronLeft,
3368
3380
  {
3369
3381
  "aria-hidden": "true",
3370
- className: "w-3 h-9 pt-3 pb-3 -mb-1 text-foreground dark:text-foreground-dark"
3382
+ className: "w-3 h-9 pt-3 pb-3 -mb-1"
3371
3383
  }
3372
3384
  )
3373
3385
  }
@@ -3404,18 +3416,19 @@ var Pagination = React25.forwardRef(
3404
3416
  }
3405
3417
  ) : null
3406
3418
  ] }, pgNumber)),
3407
- /* @__PURE__ */ jsx27("li", { className: "hover:bg-background px-4 dark:hover:bg-background-dark rounded-xs", children: /* @__PURE__ */ jsx27(
3419
+ /* @__PURE__ */ jsx27("li", { children: /* @__PURE__ */ jsx27(
3408
3420
  "button",
3409
3421
  {
3410
3422
  type: "button",
3411
3423
  "aria-label": nextLabel,
3424
+ className: StepButtonStyles(),
3412
3425
  onClick: goToNextPage,
3413
3426
  disabled: currentPage === totalPages || totalPages === 0,
3414
3427
  children: /* @__PURE__ */ jsx27(
3415
3428
  assets_exports.BsChevronRight,
3416
3429
  {
3417
3430
  "aria-hidden": "true",
3418
- className: "w-3 h-9 py-3 -mb-1 text-foreground dark:text-foreground-dark"
3431
+ className: "w-3 h-9 py-3 -mb-1"
3419
3432
  }
3420
3433
  )
3421
3434
  }