@duskmoon-dev/components 0.5.1 → 0.5.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/generated/version.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/infrastructure.js +1 -1
- package/dist/styles.css +59 -25
- package/package.json +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const version = "0.5.
|
|
1
|
+
export declare const version = "0.5.2";
|
package/dist/index.js
CHANGED
|
@@ -107,7 +107,7 @@ function duskmoonMerge(classes) {
|
|
|
107
107
|
import { useCallback as useCallback2, useState as useState2 } from "react";
|
|
108
108
|
|
|
109
109
|
// src/generated/version.ts
|
|
110
|
-
var version = "0.5.
|
|
110
|
+
var version = "0.5.2";
|
|
111
111
|
|
|
112
112
|
// src/infrastructure.ts
|
|
113
113
|
var theme = {
|
package/dist/infrastructure.js
CHANGED
package/dist/styles.css
CHANGED
|
@@ -434,29 +434,33 @@ html {
|
|
|
434
434
|
grid-template-columns: repeat(auto-fit, minmax(min(calc(--value(integer) * 0.25rem), 100%), 1fr));
|
|
435
435
|
}
|
|
436
436
|
|
|
437
|
-
/*
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
437
|
+
/* Low-specificity fallbacks let Tailwind variants override either import order. */
|
|
438
|
+
@layer utilities {
|
|
439
|
+
/* Screen reader only utility - visually hidden but accessible */
|
|
440
|
+
:where(.sr-only) {
|
|
441
|
+
position: absolute;
|
|
442
|
+
width: 1px;
|
|
443
|
+
height: 1px;
|
|
444
|
+
padding: 0;
|
|
445
|
+
margin: -1px;
|
|
446
|
+
overflow: hidden;
|
|
447
|
+
clip-path: inset(50%);
|
|
448
|
+
white-space: nowrap;
|
|
449
|
+
border: 0;
|
|
450
|
+
}
|
|
449
451
|
|
|
450
|
-
/* Undo sr-only for focus states (useful for skip links) */
|
|
451
|
-
.not-sr-only {
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
452
|
+
/* Undo sr-only for focus states (useful for skip links) */
|
|
453
|
+
:where(.not-sr-only) {
|
|
454
|
+
position: static;
|
|
455
|
+
width: auto;
|
|
456
|
+
height: auto;
|
|
457
|
+
padding: 0;
|
|
458
|
+
margin: 0;
|
|
459
|
+
overflow: visible;
|
|
460
|
+
clip: auto;
|
|
461
|
+
clip-path: none;
|
|
462
|
+
white-space: normal;
|
|
463
|
+
}
|
|
460
464
|
}
|
|
461
465
|
|
|
462
466
|
|
|
@@ -5075,6 +5079,10 @@ html {
|
|
|
5075
5079
|
.pagination-item-active,
|
|
5076
5080
|
.pagination-item-active-primary,
|
|
5077
5081
|
.pagination-item[aria-current="page"],
|
|
5082
|
+
.pagination li > a.pagination-item-active,
|
|
5083
|
+
.pagination li > button.pagination-item-active,
|
|
5084
|
+
.pagination li > a.pagination-item-active-primary,
|
|
5085
|
+
.pagination li > button.pagination-item-active-primary,
|
|
5078
5086
|
.pagination li > a.active,
|
|
5079
5087
|
.pagination li > button.active,
|
|
5080
5088
|
.pagination li > a[aria-current="page"],
|
|
@@ -5084,13 +5092,19 @@ html {
|
|
|
5084
5092
|
border-color: var(--color-primary);
|
|
5085
5093
|
}
|
|
5086
5094
|
|
|
5087
|
-
.pagination-item-active-secondary
|
|
5095
|
+
.pagination-item-active-secondary,
|
|
5096
|
+
.pagination-item-active-secondary[aria-current="page"],
|
|
5097
|
+
.pagination li > a.pagination-item-active-secondary,
|
|
5098
|
+
.pagination li > button.pagination-item-active-secondary {
|
|
5088
5099
|
background-color: var(--color-secondary);
|
|
5089
5100
|
color: var(--color-secondary-content);
|
|
5090
5101
|
border-color: var(--color-secondary);
|
|
5091
5102
|
}
|
|
5092
5103
|
|
|
5093
|
-
.pagination-item-active-tertiary
|
|
5104
|
+
.pagination-item-active-tertiary,
|
|
5105
|
+
.pagination-item-active-tertiary[aria-current="page"],
|
|
5106
|
+
.pagination li > a.pagination-item-active-tertiary,
|
|
5107
|
+
.pagination li > button.pagination-item-active-tertiary {
|
|
5094
5108
|
background-color: var(--color-tertiary);
|
|
5095
5109
|
color: var(--color-tertiary-content);
|
|
5096
5110
|
border-color: var(--color-tertiary);
|
|
@@ -5099,11 +5113,29 @@ html {
|
|
|
5099
5113
|
.pagination-item-active:hover,
|
|
5100
5114
|
.pagination-item-active-primary:hover,
|
|
5101
5115
|
.pagination-item[aria-current="page"]:hover,
|
|
5116
|
+
.pagination li > a.pagination-item-active:hover,
|
|
5117
|
+
.pagination li > button.pagination-item-active:hover,
|
|
5118
|
+
.pagination li > a.pagination-item-active-primary:hover,
|
|
5119
|
+
.pagination li > button.pagination-item-active-primary:hover,
|
|
5102
5120
|
.pagination li > a[aria-current="page"]:hover,
|
|
5103
5121
|
.pagination li > button[aria-current="page"]:hover {
|
|
5104
5122
|
background-color: color-mix(in oklch, var(--color-primary), black 10%);
|
|
5105
5123
|
}
|
|
5106
5124
|
|
|
5125
|
+
.pagination-item-active-secondary:hover,
|
|
5126
|
+
.pagination-item-active-secondary[aria-current="page"]:hover,
|
|
5127
|
+
.pagination li > a.pagination-item-active-secondary:hover,
|
|
5128
|
+
.pagination li > button.pagination-item-active-secondary:hover {
|
|
5129
|
+
background-color: color-mix(in oklch, var(--color-secondary), black 10%);
|
|
5130
|
+
}
|
|
5131
|
+
|
|
5132
|
+
.pagination-item-active-tertiary:hover,
|
|
5133
|
+
.pagination-item-active-tertiary[aria-current="page"]:hover,
|
|
5134
|
+
.pagination li > a.pagination-item-active-tertiary:hover,
|
|
5135
|
+
.pagination li > button.pagination-item-active-tertiary:hover {
|
|
5136
|
+
background-color: color-mix(in oklch, var(--color-tertiary), black 10%);
|
|
5137
|
+
}
|
|
5138
|
+
|
|
5107
5139
|
.pagination-item:focus-visible,
|
|
5108
5140
|
.pagination-prev:focus-visible,
|
|
5109
5141
|
.pagination-next:focus-visible,
|
|
@@ -5318,7 +5350,9 @@ html {
|
|
|
5318
5350
|
.megamenu-panel[popover] {
|
|
5319
5351
|
position-anchor: var(--megamenu-anchor);
|
|
5320
5352
|
position-area: block-end span-inline-end;
|
|
5321
|
-
|
|
5353
|
+
/* Narrow viewports need candidates spanning the whole inline axis. */
|
|
5354
|
+
position-try-fallbacks: flip-block, flip-inline, flip-block flip-inline,
|
|
5355
|
+
block-end span-all, block-start span-all;
|
|
5322
5356
|
display: none; box-sizing: border-box;
|
|
5323
5357
|
width: min(48rem, calc(100vw - 2rem)); max-width: calc(100vw - 2rem);
|
|
5324
5358
|
max-height: min(36rem, calc(100dvh - 2rem)); margin: 0.5rem; padding: 1rem;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@duskmoon-dev/components",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.2",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"module": "./dist/index.js",
|
|
@@ -485,7 +485,7 @@
|
|
|
485
485
|
"ajv-formats": "^3.0.1"
|
|
486
486
|
},
|
|
487
487
|
"devDependencies": {
|
|
488
|
-
"@duskmoon-dev/core": "1.20.
|
|
488
|
+
"@duskmoon-dev/core": "1.20.5",
|
|
489
489
|
"@testing-library/react": "16.3.2",
|
|
490
490
|
"@types/react": "19.2.18",
|
|
491
491
|
"@types/react-dom": "19.2.4",
|