kss-modern 0.0.20 → 0.0.21
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/node/lib/index.mjs +7 -6
- package/dist/styleguide-assets/.vite/manifest.json +35 -16
- package/dist/styleguide-assets/_commonjsHelpers-C6fGbg64.js +6 -0
- package/dist/styleguide-assets/assets/{worker-zgOBb1zJ.js → worker-DbYry4sK.js} +1 -1
- package/dist/styleguide-assets/axe-B2M3jwef.js +23605 -0
- package/dist/styleguide-assets/{browser-KlOfx-vG.js → browser-ImNvK64W.js} +1117 -1090
- package/dist/styleguide-assets/client-Dr95NpXp.js +1 -0
- package/dist/styleguide-assets/client-fullpage-CUwCohIj.js +104 -0
- package/dist/styleguide-assets/clipboard-CmSioy8N.js +171 -0
- package/dist/styleguide-assets/html-validator-BlXeWTXJ.js +229 -0
- package/dist/styleguide-assets/{icons-BMUnz9Fy.js → icons-DfSfd5nI.js} +1 -1
- package/dist/styleguide-assets/kss-modern-CSsz22uP.css +1 -0
- package/dist/styleguide-assets/{main-DysniEvV.js → main-DJu5Mg_E.js} +1096 -1253
- package/package.json +6 -4
- package/dist/styleguide-assets/client-DqS0770n.js +0 -1
- package/dist/styleguide-assets/client-fullpage-DjIkCnMm.js +0 -59
- package/dist/styleguide-assets/clipboard-Tvfm0Nqe.js +0 -19
- package/dist/styleguide-assets/html-validator-bX8Fj2mZ.js +0 -135
- package/dist/styleguide-assets/kss-modern-BIqlRJ0X.css +0 -1
package/dist/node/lib/index.mjs
CHANGED
|
@@ -833,7 +833,7 @@ async function generateFullPageFile(data) {
|
|
|
833
833
|
<link rel="icon" type="image/svg+xml" href="/styleguide-assets/favicon/fullpage-light.svg">
|
|
834
834
|
`}
|
|
835
835
|
${data.ogImageUrl ? `<meta property="og:image" content="${data.ogImageUrl}">` : ""}
|
|
836
|
-
<script type="module" src="/styleguide-assets/client-fullpage-
|
|
836
|
+
<script type="module" src="/styleguide-assets/client-fullpage-CUwCohIj.js"><\/script>
|
|
837
837
|
${computedStyleTags}
|
|
838
838
|
</head>
|
|
839
839
|
<body${data.page.bodyclass ? ` class="${data.page.bodyclass}"` : ""}>
|
|
@@ -998,7 +998,7 @@ function getCodeAuditDialog() {
|
|
|
998
998
|
return `
|
|
999
999
|
<dialog
|
|
1000
1000
|
id="code-audit-dialog"
|
|
1001
|
-
class="fixed
|
|
1001
|
+
class="fixed inset-0 top-8 z-30 py-6 backdrop:hidden -mb-px size-full md:h-auto md:max-h-[85dvh] max-w-none overflow-y-auto rounded-t-2xl border bg-styleguide-bg border-styleguide-border text-styleguide md:max-w-[720px] md:top-12 md:bottom-auto md:left-1/2 md:-translate-x-1/2 md:rounded-2xl mx-0 lg:top-24"
|
|
1002
1002
|
>
|
|
1003
1003
|
<h2 class="flex items-center gap-2 mb-4 px-6">
|
|
1004
1004
|
<svg class="-mt-0.5 h-4 transition duration-200" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 122.88 122.88" aria-hidden="true"><title>accessibility</title><path fill="currentcolor" d="M61.44,0A61.46,61.46,0,1,1,18,18,61.21,61.21,0,0,1,61.44,0Zm-.39,74.18L52.1,98.91a4.94,4.94,0,0,1-2.58,2.83A5,5,0,0,1,42.7,95.5l6.24-17.28a26.3,26.3,0,0,0,1.17-4,40.64,40.64,0,0,0,.54-4.18c.24-2.53.41-5.27.54-7.9s.22-5.18.29-7.29c.09-2.63-.62-2.8-2.73-3.3l-.44-.1-18-3.39A5,5,0,0,1,27.08,46a5,5,0,0,1,5.05-7.74l19.34,3.63c.77.07,1.52.16,2.31.25a57.64,57.64,0,0,0,7.18.53A81.13,81.13,0,0,0,69.9,42c.9-.1,1.75-.21,2.6-.29l18.25-3.42A5,5,0,0,1,94.5,39a5,5,0,0,1,1.3,7,5,5,0,0,1-3.21,2.09L75.15,51.37c-.58.13-1.1.22-1.56.29-1.82.31-2.72.47-2.61,3.06.08,1.89.31,4.15.61,6.51.35,2.77.81,5.71,1.29,8.4.31,1.77.6,3.19,1,4.55s.79,2.75,1.39,4.42l6.11,16.9a5,5,0,0,1-6.82,6.24,4.94,4.94,0,0,1-2.58-2.83L63,74.23,62,72.4l-1,1.78Zm.39-53.52a8.83,8.83,0,1,1-6.24,2.59,8.79,8.79,0,0,1,6.24-2.59Zm36.35,4.43a51.42,51.42,0,1,0,15,36.35,51.27,51.27,0,0,0-15-36.35Z"/></svg>
|
|
@@ -1007,7 +1007,7 @@ function getCodeAuditDialog() {
|
|
|
1007
1007
|
</span>
|
|
1008
1008
|
</h2>
|
|
1009
1009
|
|
|
1010
|
-
<
|
|
1010
|
+
<ol class="audit-results"></ol>
|
|
1011
1011
|
</dialog>
|
|
1012
1012
|
`;
|
|
1013
1013
|
}
|
|
@@ -1277,6 +1277,7 @@ function getMainContentRegular(section, config) {
|
|
|
1277
1277
|
id="code-fullpage-${sanitizeId(section.id)}"
|
|
1278
1278
|
class="overflow-x-auto w-full code-highlight"
|
|
1279
1279
|
data-source-code="${encodeURIComponent(section.markup)}"
|
|
1280
|
+
data-source-lang="html"
|
|
1280
1281
|
></div>
|
|
1281
1282
|
</div>
|
|
1282
1283
|
</details>
|
|
@@ -1509,7 +1510,7 @@ function getSearchHtml(sections) {
|
|
|
1509
1510
|
return `
|
|
1510
1511
|
<dialog
|
|
1511
1512
|
id="search-dialog"
|
|
1512
|
-
class="fixed
|
|
1513
|
+
class="fixed inset-0 top-8 z-30 backdrop:hidden -mb-px size-full md:h-auto md:max-h-[85dvh] max-w-none overflow-y-auto rounded-t-2xl border bg-styleguide-bg border-styleguide-border text-styleguide md:max-w-[720px] md:top-12 md:bottom-auto md:left-1/2 md:-translate-x-1/2 md:rounded-2xl mx-0 lg:top-24"
|
|
1513
1514
|
>
|
|
1514
1515
|
<h2 class="sr-only">Search</h2>
|
|
1515
1516
|
<div class="border-b px-4 py-3 border-styleguide-border">
|
|
@@ -1590,8 +1591,8 @@ async function generatePreviewFile(data) {
|
|
|
1590
1591
|
<meta name="theme-color" content="${data.theme}">
|
|
1591
1592
|
<link rel="icon" type="image/svg+xml" href="/styleguide-assets/favicon/preview-light.svg">
|
|
1592
1593
|
`}
|
|
1593
|
-
<link rel="stylesheet" type="text/css" href="/styleguide-assets/kss-modern-
|
|
1594
|
-
<script type="module" src="/styleguide-assets/client-
|
|
1594
|
+
<link rel="stylesheet" type="text/css" href="/styleguide-assets/kss-modern-CSsz22uP.css">
|
|
1595
|
+
<script type="module" src="/styleguide-assets/client-Dr95NpXp.js"><\/script>
|
|
1595
1596
|
<link rel="preload" href="/styleguide-assets/fonts/geist-mono-latin-400-normal.woff2" as="font" type="font/woff2" crossorigin="anonymous">
|
|
1596
1597
|
<link rel="preload" href="/styleguide-assets/fonts/geist-mono-latin-600-normal.woff2" as="font" type="font/woff2" crossorigin="anonymous">
|
|
1597
1598
|
<link rel="preload" href="/styleguide-assets/fonts/geist-mono-latin-300-normal.woff2" as="font" type="font/woff2" crossorigin="anonymous">
|
|
@@ -1,6 +1,18 @@
|
|
|
1
1
|
{
|
|
2
|
-
"
|
|
3
|
-
"file": "
|
|
2
|
+
"__commonjsHelpers-C6fGbg64.js": {
|
|
3
|
+
"file": "_commonjsHelpers-C6fGbg64.js",
|
|
4
|
+
"name": "_commonjsHelpers"
|
|
5
|
+
},
|
|
6
|
+
"_axe-B2M3jwef.js": {
|
|
7
|
+
"file": "axe-B2M3jwef.js",
|
|
8
|
+
"name": "axe",
|
|
9
|
+
"isDynamicEntry": true,
|
|
10
|
+
"imports": [
|
|
11
|
+
"__commonjsHelpers-C6fGbg64.js"
|
|
12
|
+
]
|
|
13
|
+
},
|
|
14
|
+
"_main-DJu5Mg_E.js": {
|
|
15
|
+
"file": "main-DJu5Mg_E.js",
|
|
4
16
|
"name": "main",
|
|
5
17
|
"dynamicImports": [
|
|
6
18
|
"client/lib/html-validator.ts",
|
|
@@ -10,18 +22,22 @@
|
|
|
10
22
|
]
|
|
11
23
|
},
|
|
12
24
|
"client/fullpage.ts": {
|
|
13
|
-
"file": "client-fullpage-
|
|
25
|
+
"file": "client-fullpage-CUwCohIj.js",
|
|
14
26
|
"name": "client-fullpage",
|
|
15
27
|
"src": "client/fullpage.ts",
|
|
16
|
-
"isEntry": true
|
|
28
|
+
"isEntry": true,
|
|
29
|
+
"dynamicImports": [
|
|
30
|
+
"_axe-B2M3jwef.js",
|
|
31
|
+
"node_modules/html-validate/dist/esm/browser.js"
|
|
32
|
+
]
|
|
17
33
|
},
|
|
18
34
|
"client/lib/clipboard.ts": {
|
|
19
|
-
"file": "clipboard-
|
|
35
|
+
"file": "clipboard-CmSioy8N.js",
|
|
20
36
|
"name": "clipboard",
|
|
21
37
|
"src": "client/lib/clipboard.ts",
|
|
22
38
|
"isDynamicEntry": true,
|
|
23
39
|
"imports": [
|
|
24
|
-
"_main-
|
|
40
|
+
"_main-DJu5Mg_E.js"
|
|
25
41
|
]
|
|
26
42
|
},
|
|
27
43
|
"client/lib/editor-select.ts": {
|
|
@@ -31,40 +47,43 @@
|
|
|
31
47
|
"isDynamicEntry": true
|
|
32
48
|
},
|
|
33
49
|
"client/lib/html-validator.ts": {
|
|
34
|
-
"file": "html-validator-
|
|
50
|
+
"file": "html-validator-BlXeWTXJ.js",
|
|
35
51
|
"name": "html-validator",
|
|
36
52
|
"src": "client/lib/html-validator.ts",
|
|
37
53
|
"isDynamicEntry": true,
|
|
38
|
-
"
|
|
39
|
-
"
|
|
54
|
+
"imports": [
|
|
55
|
+
"_main-DJu5Mg_E.js"
|
|
40
56
|
]
|
|
41
57
|
},
|
|
42
58
|
"client/lib/icons.ts": {
|
|
43
|
-
"file": "icons-
|
|
59
|
+
"file": "icons-DfSfd5nI.js",
|
|
44
60
|
"name": "icons",
|
|
45
61
|
"src": "client/lib/icons.ts",
|
|
46
62
|
"isDynamicEntry": true,
|
|
47
63
|
"imports": [
|
|
48
|
-
"_main-
|
|
64
|
+
"_main-DJu5Mg_E.js"
|
|
49
65
|
]
|
|
50
66
|
},
|
|
51
67
|
"client/main.ts": {
|
|
52
|
-
"file": "client-
|
|
68
|
+
"file": "client-Dr95NpXp.js",
|
|
53
69
|
"name": "client",
|
|
54
70
|
"src": "client/main.ts",
|
|
55
71
|
"isEntry": true,
|
|
56
72
|
"imports": [
|
|
57
|
-
"_main-
|
|
73
|
+
"_main-DJu5Mg_E.js"
|
|
58
74
|
]
|
|
59
75
|
},
|
|
60
76
|
"node_modules/html-validate/dist/esm/browser.js": {
|
|
61
|
-
"file": "browser-
|
|
77
|
+
"file": "browser-ImNvK64W.js",
|
|
62
78
|
"name": "browser",
|
|
63
79
|
"src": "node_modules/html-validate/dist/esm/browser.js",
|
|
64
|
-
"isDynamicEntry": true
|
|
80
|
+
"isDynamicEntry": true,
|
|
81
|
+
"imports": [
|
|
82
|
+
"__commonjsHelpers-C6fGbg64.js"
|
|
83
|
+
]
|
|
65
84
|
},
|
|
66
85
|
"style.css": {
|
|
67
|
-
"file": "kss-modern-
|
|
86
|
+
"file": "kss-modern-CSsz22uP.css",
|
|
68
87
|
"src": "style.css"
|
|
69
88
|
}
|
|
70
89
|
}
|