spoko-design-system 1.18.1 → 1.20.0

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.
Files changed (94) hide show
  1. package/.claude/settings.json +48 -48
  2. package/.github/dependabot.yml +11 -11
  3. package/.github/todo.yml +3 -3
  4. package/.github/workflows/claude.yml +37 -37
  5. package/.github/workflows/code-quality.yml +72 -72
  6. package/.github/workflows/deploy.yml +43 -43
  7. package/.husky/README.md +41 -41
  8. package/.husky/commit-msg +1 -1
  9. package/.husky/pre-commit +40 -40
  10. package/.prettierignore +14 -14
  11. package/.prettierrc +30 -30
  12. package/.stackblitzrc +5 -5
  13. package/.vscode/extensions.json +4 -4
  14. package/.vscode/launch.json +11 -11
  15. package/.vscode/settings.json +21 -21
  16. package/CHANGELOG.md +462 -450
  17. package/CLAUDE.md +268 -268
  18. package/LICENSE +21 -21
  19. package/README.md +303 -132
  20. package/TOOLTIPS.md +236 -236
  21. package/astro.config.mjs +84 -84
  22. package/commitlint.config.js +3 -3
  23. package/dev-dist/sw.js +91 -91
  24. package/dev-dist/workbox-c676b6d3.js +3391 -3391
  25. package/eslint.config.js +70 -70
  26. package/icon.config.ts +348 -348
  27. package/index.ts +78 -78
  28. package/package.json +160 -160
  29. package/public/arrow-bottom.svg +7 -7
  30. package/public/fonts/lg.svg +53 -53
  31. package/public/fonts/vwhead-bold-demo.html +549 -549
  32. package/public/fonts/vwhead-regular-demo.html +549 -549
  33. package/public/fonts/vwtext-bold-demo.html +549 -549
  34. package/public/fonts/vwtext-regular-demo.html +549 -549
  35. package/public/github.svg +3 -3
  36. package/public/grid_dot.svg +4 -4
  37. package/public/linkedin.svg +44 -44
  38. package/public/make-scrollable-code-focusable.js +3 -3
  39. package/public/pagefind.yml +3 -3
  40. package/public/polo.blue.svg +29 -29
  41. package/public/spoko.space.svg +71 -71
  42. package/public/twitter.svg +46 -46
  43. package/renovate.json +6 -6
  44. package/sandbox.config.json +11 -11
  45. package/sonar-project.properties +26 -26
  46. package/src/components/Category/CategoryDetails.astro +46 -18
  47. package/src/components/Jumbotron/variants/Hero.astro +9 -1
  48. package/src/components/Jumbotron/variants/PostSplit.astro +8 -0
  49. package/src/pages/components/badges.mdx +57 -57
  50. package/src/pages/components/breadcrumbs.mdx +139 -139
  51. package/src/pages/components/buttons.mdx +359 -359
  52. package/src/pages/components/card.mdx +294 -294
  53. package/src/pages/components/carousel.mdx +62 -62
  54. package/src/pages/components/copyright.mdx +42 -42
  55. package/src/pages/components/details-list.mdx +207 -207
  56. package/src/pages/components/features-list.mdx +37 -37
  57. package/src/pages/components/flags.mdx +49 -49
  58. package/src/pages/components/fuck-russia.mdx +39 -39
  59. package/src/pages/components/hand-drive.mdx +78 -78
  60. package/src/pages/components/headline.mdx +337 -337
  61. package/src/pages/components/image.mdx +513 -513
  62. package/src/pages/components/input.mdx +367 -367
  63. package/src/pages/components/jumbotron.mdx +530 -530
  64. package/src/pages/components/modal.mdx +212 -212
  65. package/src/pages/components/post-header.mdx +64 -64
  66. package/src/pages/components/pr-code.mdx +213 -213
  67. package/src/pages/components/product-engine.mdx +418 -418
  68. package/src/pages/components/product-number.mdx +58 -58
  69. package/src/pages/components/product-tile.mdx +51 -51
  70. package/src/pages/components/quote.mdx +33 -33
  71. package/src/pages/components/slimbanner.mdx +260 -260
  72. package/src/pages/components/table.mdx +108 -108
  73. package/src/pages/core/colors.mdx +21 -21
  74. package/src/pages/core/grid.mdx +193 -193
  75. package/src/pages/core/introduction.mdx +77 -77
  76. package/src/pages/core/tooltips.mdx +491 -491
  77. package/src/pages/patterns/introduction.mdx +60 -60
  78. package/src/styles/_variables.scss +70 -70
  79. package/tailwind.config.cjs +8 -8
  80. package/tsconfig.json +28 -28
  81. package/uno-config/index.ts +269 -269
  82. package/uno-config/theme/breakpoints.ts +9 -9
  83. package/uno-config/theme/colors.ts +65 -65
  84. package/uno-config/theme/dimensions.ts +17 -17
  85. package/uno-config/theme/effects.ts +14 -14
  86. package/uno-config/theme/grid.ts +10 -10
  87. package/uno-config/theme/index.ts +26 -26
  88. package/uno-config/theme/shortcuts/buttons.ts +53 -53
  89. package/uno-config/theme/shortcuts/components.ts +124 -124
  90. package/uno-config/theme/shortcuts/index.ts +20 -20
  91. package/uno-config/theme/shortcuts/jumbotron.ts +71 -71
  92. package/uno-config/theme/shortcuts/layout.ts +75 -75
  93. package/uno-config/theme/typography.ts +29 -29
  94. package/uno.config.ts +2 -2
package/dev-dist/sw.js CHANGED
@@ -1,91 +1,91 @@
1
- /**
2
- * Copyright 2018 Google Inc. All Rights Reserved.
3
- * Licensed under the Apache License, Version 2.0 (the "License");
4
- * you may not use this file except in compliance with the License.
5
- * You may obtain a copy of the License at
6
- * http://www.apache.org/licenses/LICENSE-2.0
7
- * Unless required by applicable law or agreed to in writing, software
8
- * distributed under the License is distributed on an "AS IS" BASIS,
9
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
10
- * See the License for the specific language governing permissions and
11
- * limitations under the License.
12
- */
13
-
14
- // If the loader is already loaded, just stop.
15
- if (!self.define) {
16
- let registry = {};
17
-
18
- // Used for `eval` and `importScripts` where we can't get script URL by other means.
19
- // In both cases, it's safe to use a global var because those functions are synchronous.
20
- let nextDefineUri;
21
-
22
- const singleRequire = (uri, parentUri) => {
23
- uri = new URL(uri + ".js", parentUri).href;
24
- return registry[uri] || (
25
-
26
- new Promise(resolve => {
27
- if ("document" in self) {
28
- const script = document.createElement("script");
29
- script.src = uri;
30
- script.onload = resolve;
31
- document.head.appendChild(script);
32
- } else {
33
- nextDefineUri = uri;
34
- importScripts(uri);
35
- resolve();
36
- }
37
- })
38
-
39
- .then(() => {
40
- let promise = registry[uri];
41
- if (!promise) {
42
- throw new Error(`Module ${uri} didn’t register its module`);
43
- }
44
- return promise;
45
- })
46
- );
47
- };
48
-
49
- self.define = (depsNames, factory) => {
50
- const uri = nextDefineUri || ("document" in self ? document.currentScript.src : "") || location.href;
51
- if (registry[uri]) {
52
- // Module is already loading or loaded.
53
- return;
54
- }
55
- let exports = {};
56
- const require = depUri => singleRequire(depUri, uri);
57
- const specialDeps = {
58
- module: { uri },
59
- exports,
60
- require
61
- };
62
- registry[uri] = Promise.all(depsNames.map(
63
- depName => specialDeps[depName] || require(depName)
64
- )).then(deps => {
65
- factory(...deps);
66
- return exports;
67
- });
68
- };
69
- }
70
- define(['./workbox-c676b6d3'], (function (workbox) { 'use strict';
71
-
72
- self.skipWaiting();
73
- workbox.clientsClaim();
74
-
75
- /**
76
- * The precacheAndRoute() method efficiently caches and responds to
77
- * requests for URLs in the manifest.
78
- * See https://goo.gl/S9QRab
79
- */
80
- workbox.precacheAndRoute([{
81
- "url": "/",
82
- "revision": "0.4grcq5f8bio"
83
- }], {
84
- "directoryIndex": "index.html"
85
- });
86
- workbox.cleanupOutdatedCaches();
87
- workbox.registerRoute(new workbox.NavigationRoute(workbox.createHandlerBoundToURL("/"), {
88
- allowlist: [/^\//]
89
- }));
90
-
91
- }));
1
+ /**
2
+ * Copyright 2018 Google Inc. All Rights Reserved.
3
+ * Licensed under the Apache License, Version 2.0 (the "License");
4
+ * you may not use this file except in compliance with the License.
5
+ * You may obtain a copy of the License at
6
+ * http://www.apache.org/licenses/LICENSE-2.0
7
+ * Unless required by applicable law or agreed to in writing, software
8
+ * distributed under the License is distributed on an "AS IS" BASIS,
9
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
10
+ * See the License for the specific language governing permissions and
11
+ * limitations under the License.
12
+ */
13
+
14
+ // If the loader is already loaded, just stop.
15
+ if (!self.define) {
16
+ let registry = {};
17
+
18
+ // Used for `eval` and `importScripts` where we can't get script URL by other means.
19
+ // In both cases, it's safe to use a global var because those functions are synchronous.
20
+ let nextDefineUri;
21
+
22
+ const singleRequire = (uri, parentUri) => {
23
+ uri = new URL(uri + ".js", parentUri).href;
24
+ return registry[uri] || (
25
+
26
+ new Promise(resolve => {
27
+ if ("document" in self) {
28
+ const script = document.createElement("script");
29
+ script.src = uri;
30
+ script.onload = resolve;
31
+ document.head.appendChild(script);
32
+ } else {
33
+ nextDefineUri = uri;
34
+ importScripts(uri);
35
+ resolve();
36
+ }
37
+ })
38
+
39
+ .then(() => {
40
+ let promise = registry[uri];
41
+ if (!promise) {
42
+ throw new Error(`Module ${uri} didn’t register its module`);
43
+ }
44
+ return promise;
45
+ })
46
+ );
47
+ };
48
+
49
+ self.define = (depsNames, factory) => {
50
+ const uri = nextDefineUri || ("document" in self ? document.currentScript.src : "") || location.href;
51
+ if (registry[uri]) {
52
+ // Module is already loading or loaded.
53
+ return;
54
+ }
55
+ let exports = {};
56
+ const require = depUri => singleRequire(depUri, uri);
57
+ const specialDeps = {
58
+ module: { uri },
59
+ exports,
60
+ require
61
+ };
62
+ registry[uri] = Promise.all(depsNames.map(
63
+ depName => specialDeps[depName] || require(depName)
64
+ )).then(deps => {
65
+ factory(...deps);
66
+ return exports;
67
+ });
68
+ };
69
+ }
70
+ define(['./workbox-c676b6d3'], (function (workbox) { 'use strict';
71
+
72
+ self.skipWaiting();
73
+ workbox.clientsClaim();
74
+
75
+ /**
76
+ * The precacheAndRoute() method efficiently caches and responds to
77
+ * requests for URLs in the manifest.
78
+ * See https://goo.gl/S9QRab
79
+ */
80
+ workbox.precacheAndRoute([{
81
+ "url": "/",
82
+ "revision": "0.4grcq5f8bio"
83
+ }], {
84
+ "directoryIndex": "index.html"
85
+ });
86
+ workbox.cleanupOutdatedCaches();
87
+ workbox.registerRoute(new workbox.NavigationRoute(workbox.createHandlerBoundToURL("/"), {
88
+ allowlist: [/^\//]
89
+ }));
90
+
91
+ }));