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.
@@ -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-DjIkCnMm.js"><\/script>
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 -inset-x-0 top-auto bottom-0 z-30 pt-6 -mb-px w-full max-w-none overflow-y-auto rounded-t-2xl border search bg-styleguide-bg border-styleguide-border text-styleguide md:max-w-[640px] md:top-1/2 md:bottom-auto md:left-1/2 md:-translate-x-1/2 md:-translate-y-1/2 md:rounded-2xl mx-0"
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
- <ul class="audit-results"></ul>
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 -inset-x-px top-auto bottom-0 z-30 -mb-px w-full opacity-0 max-w-none overflow-y-auto rounded-t-2xl border search bg-styleguide-bg border-styleguide-border text-styleguide md:max-w-[640px] md:top-1/2 md:bottom-auto md:left-1/2 md:-translate-x-1/2 md:-translate-y-1/2 md:rounded-2xl mx-0"
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-BIqlRJ0X.css">
1594
- <script type="module" src="/styleguide-assets/client-DqS0770n.js"><\/script>
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
- "_main-DysniEvV.js": {
3
- "file": "main-DysniEvV.js",
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-DjIkCnMm.js",
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-Tvfm0Nqe.js",
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-DysniEvV.js"
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-bX8Fj2mZ.js",
50
+ "file": "html-validator-BlXeWTXJ.js",
35
51
  "name": "html-validator",
36
52
  "src": "client/lib/html-validator.ts",
37
53
  "isDynamicEntry": true,
38
- "dynamicImports": [
39
- "node_modules/html-validate/dist/esm/browser.js"
54
+ "imports": [
55
+ "_main-DJu5Mg_E.js"
40
56
  ]
41
57
  },
42
58
  "client/lib/icons.ts": {
43
- "file": "icons-BMUnz9Fy.js",
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-DysniEvV.js"
64
+ "_main-DJu5Mg_E.js"
49
65
  ]
50
66
  },
51
67
  "client/main.ts": {
52
- "file": "client-DqS0770n.js",
68
+ "file": "client-Dr95NpXp.js",
53
69
  "name": "client",
54
70
  "src": "client/main.ts",
55
71
  "isEntry": true,
56
72
  "imports": [
57
- "_main-DysniEvV.js"
73
+ "_main-DJu5Mg_E.js"
58
74
  ]
59
75
  },
60
76
  "node_modules/html-validate/dist/esm/browser.js": {
61
- "file": "browser-KlOfx-vG.js",
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-BIqlRJ0X.css",
86
+ "file": "kss-modern-CSsz22uP.css",
68
87
  "src": "style.css"
69
88
  }
70
89
  }
@@ -0,0 +1,6 @@
1
+ function e(t) {
2
+ return t && t.__esModule && Object.prototype.hasOwnProperty.call(t, "default") ? t.default : t;
3
+ }
4
+ export {
5
+ e as g
6
+ };