spoko-design-system 0.2.30 → 0.2.32

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 (128) hide show
  1. package/.github/dependabot.yml +11 -11
  2. package/.github/todo.yml +3 -3
  3. package/.github/workflows/deploy.yml +39 -39
  4. package/.stackblitzrc +5 -5
  5. package/.vscode/extensions.json +5 -5
  6. package/.vscode/launch.json +11 -11
  7. package/.vscode/settings.json +5 -5
  8. package/LICENSE +21 -21
  9. package/README.md +113 -113
  10. package/astro-i18next.config.mjs +17 -17
  11. package/astro-i18next.config.ts +10 -10
  12. package/astro.config.mjs +147 -141
  13. package/dev-dist/sw.js +91 -91
  14. package/dev-dist/workbox-c676b6d3.js +3391 -3391
  15. package/index.ts +6 -6
  16. package/package.json +36 -34
  17. package/public/fonts/lg.svg +53 -53
  18. package/public/fonts/vwhead-bold-demo.html +549 -549
  19. package/public/fonts/vwhead-regular-demo.html +549 -549
  20. package/public/fonts/vwtext-bold-demo.html +549 -549
  21. package/public/fonts/vwtext-regular-demo.html +549 -549
  22. package/public/github.svg +3 -3
  23. package/public/grid_dot.svg +4 -4
  24. package/public/linkedin.svg +44 -44
  25. package/public/locales/en/translation.json +8 -8
  26. package/public/locales/pl/translation.json +8 -8
  27. package/public/make-scrollable-code-focusable.js +3 -3
  28. package/public/pagefind.yml +3 -3
  29. package/public/polo.blue.svg +29 -29
  30. package/public/spoko.space.svg +71 -71
  31. package/public/twitter.svg +46 -46
  32. package/renovate.json +6 -6
  33. package/sandbox.config.json +11 -11
  34. package/src/MyComponent.astro +8 -8
  35. package/src/components/Badge.vue +19 -19
  36. package/src/components/Badges.vue +21 -21
  37. package/src/components/Breadcrumbs.vue +110 -110
  38. package/src/components/Button.vue +55 -55
  39. package/src/components/ButtonCopy.vue +47 -47
  40. package/src/components/Card.astro +27 -27
  41. package/src/components/Carousel.astro +26 -26
  42. package/src/components/CategoryLink.astro +18 -18
  43. package/src/components/Copyright.astro +12 -12
  44. package/src/components/Date.astro +7 -7
  45. package/src/components/Faq.astro +33 -0
  46. package/src/components/FaqItem.astro +96 -0
  47. package/src/components/FeaturesList.vue +41 -41
  48. package/src/components/FuckRussia.vue +80 -80
  49. package/src/components/HandDrive.astro +29 -29
  50. package/src/components/Header/Header.astro +214 -214
  51. package/src/components/Header/SkipToContent.astro +1 -1
  52. package/src/components/Headline.vue +48 -48
  53. package/src/components/Image.astro +30 -30
  54. package/src/components/Jumbatron.vue +40 -40
  55. package/src/components/LeftSidebar.astro +53 -53
  56. package/src/components/MainColors.vue +23 -23
  57. package/src/components/MainInput.vue +15 -15
  58. package/src/components/Modal.astro +27 -27
  59. package/src/components/PageContent.astro +5 -5
  60. package/src/components/PartNumber.vue +27 -27
  61. package/src/components/PostHeader.astro +103 -103
  62. package/src/components/PrCode.vue +156 -156
  63. package/src/components/ProductCarousel.astro +38 -38
  64. package/src/components/ProductCodes.vue +39 -39
  65. package/src/components/ProductDetailName.vue +52 -52
  66. package/src/components/ProductDetailsList.vue +65 -65
  67. package/src/components/ProductNumber copy.astro +116 -116
  68. package/src/components/ProductNumber.astro +114 -114
  69. package/src/components/ProductTile.astro +48 -48
  70. package/src/components/Quote.vue +23 -23
  71. package/src/components/ReloadPrompt.astro +50 -50
  72. package/src/components/SlimBanner.vue +72 -72
  73. package/src/components/Table.vue +32 -32
  74. package/src/components/TableOfContents.astro +15 -15
  75. package/src/components/Translations.vue +23 -23
  76. package/src/components/flags/FlagPL.vue +3 -3
  77. package/src/components/flags/FlagUA.vue +2 -2
  78. package/src/components/layout/Container.astro +7 -7
  79. package/src/components/layout/Header.astro +80 -80
  80. package/src/config.ts +56 -56
  81. package/src/design.config.ts +81 -81
  82. package/src/env.d.ts +1 -1
  83. package/src/layouts/Layout.astro +60 -60
  84. package/src/layouts/MainLayout.astro +81 -81
  85. package/src/layouts/partials/FooterCommon.astro +4 -4
  86. package/src/layouts/partials/HeadCommon.astro +44 -44
  87. package/src/layouts/partials/HeadSEO.astro +41 -41
  88. package/src/pages/components/badges.mdx +57 -57
  89. package/src/pages/components/breadcrumbs.mdx +139 -139
  90. package/src/pages/components/buttons.mdx +236 -236
  91. package/src/pages/components/card.mdx +294 -294
  92. package/src/pages/components/carousel.mdx +62 -62
  93. package/src/pages/components/copyright.mdx +42 -42
  94. package/src/pages/components/details-list.mdx +115 -115
  95. package/src/pages/components/features-list.mdx +37 -37
  96. package/src/pages/components/flags.mdx +49 -49
  97. package/src/pages/components/fuck-russia.mdx +39 -39
  98. package/src/pages/components/hand-drive.mdx +38 -38
  99. package/src/pages/components/headline.mdx +152 -152
  100. package/src/pages/components/icons.astro +48 -48
  101. package/src/pages/components/image.mdx +513 -513
  102. package/src/pages/components/input.mdx +45 -45
  103. package/src/pages/components/jumbatron.mdx +95 -95
  104. package/src/pages/components/modal.mdx +64 -64
  105. package/src/pages/components/post-header.mdx +60 -60
  106. package/src/pages/components/pr-code.mdx +65 -65
  107. package/src/pages/components/product-number.mdx +66 -66
  108. package/src/pages/components/product-tile.mdx +51 -51
  109. package/src/pages/components/quote.mdx +33 -33
  110. package/src/pages/components/slimbanner.mdx +35 -35
  111. package/src/pages/components/table.mdx +108 -108
  112. package/src/pages/core/colors.mdx +10 -10
  113. package/src/pages/core/grid.mdx +89 -89
  114. package/src/pages/core/introduction.mdx +77 -77
  115. package/src/pages/core/shadows.astro +20 -20
  116. package/src/pages/core/typography.astro +47 -47
  117. package/src/pages/index.astro +125 -125
  118. package/src/pages/patterns/introduction.mdx +60 -60
  119. package/src/pwa.ts +12 -12
  120. package/src/styles/_variables.scss +66 -66
  121. package/src/styles/base/_base.scss +184 -184
  122. package/src/styles/base/_typography.scss +70 -70
  123. package/src/styles/base/grid.scss +93 -93
  124. package/src/styles/content.scss +73 -73
  125. package/src/styles/main.scss +7 -7
  126. package/tailwind.config.cjs +8 -8
  127. package/tsconfig.json +11 -11
  128. package/uno.config.ts +256 -256
@@ -1,73 +1,73 @@
1
- .content {
2
- .main-section {
3
- &>h1,
4
- &>h2,
5
- &>h3,
6
- &>h4,
7
- &>h5,
8
- &>h6 {
9
- margin-top: 1.77rem;
10
- }
11
- &>h1 {
12
- font-size: 22pt;
13
- font-weight: 400;
14
- }
15
- &>h2 {
16
- font-size: 17pt;
17
- font-weight: 500;
18
- }
19
- &>h3 {
20
- font-size: 15pt;
21
- }
22
- &>h4 {
23
- font-size: 13pt;
24
- }
25
-
26
- &>ul {
27
- @apply list-disc pl-5
28
- }
29
- }
30
-
31
- &>h1,
32
- &>h2,
33
- &>h3,
34
- &>h4,
35
- &>h5 {
36
- font-weight: bold;
37
- @apply font-textbold;
38
- }
39
-
40
- code {
41
- font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Monaco,
42
- Consolas, "Liberation Mono", "Courier New", monospace;
43
- }
44
-
45
- .component-preview {
46
- @apply bg-blue-600 bg-opacity-5 px-4 py-4 mx-0 flex items-center overflow-x-auto sm:(p-8);
47
- gap: 1rem;
48
- border-radius: 0.33rem;
49
- border: 1px solid theme("colors.slate.200");
50
- resize: both;
51
- }
52
-
53
- .astro-code {
54
- @apply mx-0 p-4;
55
- border-radius: 0.44rem;
56
- }
57
- }
58
-
59
- table {
60
- @apply table-auto text-left border bg-white shadow-md;
61
-
62
- tr {
63
- @apply border;
64
- }
65
-
66
- td, th {
67
- @apply px-4 py-2;
68
- }
69
-
70
- thead {
71
- @apply bg-gray-100;
72
- }
73
- }
1
+ .content {
2
+ .main-section {
3
+ &>h1,
4
+ &>h2,
5
+ &>h3,
6
+ &>h4,
7
+ &>h5,
8
+ &>h6 {
9
+ margin-top: 1.77rem;
10
+ }
11
+ &>h1 {
12
+ font-size: 22pt;
13
+ font-weight: 400;
14
+ }
15
+ &>h2 {
16
+ font-size: 17pt;
17
+ font-weight: 500;
18
+ }
19
+ &>h3 {
20
+ font-size: 15pt;
21
+ }
22
+ &>h4 {
23
+ font-size: 13pt;
24
+ }
25
+
26
+ &>ul {
27
+ @apply list-disc pl-5
28
+ }
29
+ }
30
+
31
+ &>h1,
32
+ &>h2,
33
+ &>h3,
34
+ &>h4,
35
+ &>h5 {
36
+ font-weight: bold;
37
+ @apply font-textbold;
38
+ }
39
+
40
+ code {
41
+ font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Monaco,
42
+ Consolas, "Liberation Mono", "Courier New", monospace;
43
+ }
44
+
45
+ .component-preview {
46
+ @apply bg-blue-600 bg-opacity-5 px-4 py-4 mx-0 flex items-center overflow-x-auto sm:(p-8);
47
+ gap: 1rem;
48
+ border-radius: 0.33rem;
49
+ border: 1px solid theme("colors.slate.200");
50
+ resize: both;
51
+ }
52
+
53
+ .astro-code {
54
+ @apply mx-0 p-4;
55
+ border-radius: 0.44rem;
56
+ }
57
+ }
58
+
59
+ table {
60
+ @apply table-auto text-left border bg-white shadow-md;
61
+
62
+ tr {
63
+ @apply border;
64
+ }
65
+
66
+ td, th {
67
+ @apply px-4 py-2;
68
+ }
69
+
70
+ thead {
71
+ @apply bg-gray-100;
72
+ }
73
+ }
@@ -1,7 +1,7 @@
1
-
2
- @import "variables";
3
- @import "base/typography";
4
- @import "base/base";
5
- @import "base/grid";
6
-
7
- @import "content.scss";
1
+
2
+ @import "variables";
3
+ @import "base/typography";
4
+ @import "base/base";
5
+ @import "base/grid";
6
+
7
+ @import "content.scss";
@@ -1,8 +1,8 @@
1
- module.exports = {
2
- // darkMode: "class",
3
- content: ["./src/**/*.{astro,html,js,jsx,svelte,ts,tsx,vue}"],
4
- theme: {
5
- extend: {},
6
- },
7
- plugins: [],
8
- };
1
+ module.exports = {
2
+ // darkMode: "class",
3
+ content: ["./src/**/*.{astro,html,js,jsx,svelte,ts,tsx,vue}"],
4
+ theme: {
5
+ extend: {},
6
+ },
7
+ plugins: [],
8
+ };
package/tsconfig.json CHANGED
@@ -1,12 +1,12 @@
1
- {
2
- "include": ["env.d.ts", "src/**/*", "src/**/*.vue", "src/**/*.d.ts"],
3
- "compilerOptions": {
4
- "target": "esnext",
5
- "useDefineForClassFields": true,
6
- "module": "esnext",
7
- "moduleResolution": "node",
8
- "jsx": "preserve",
9
- "allowJs": true,
10
- "types": ["vite/client"]
11
- },
1
+ {
2
+ "include": ["env.d.ts", "src/**/*", "src/**/*.vue", "src/**/*.d.ts"],
3
+ "compilerOptions": {
4
+ "target": "esnext",
5
+ "useDefineForClassFields": true,
6
+ "module": "esnext",
7
+ "moduleResolution": "node",
8
+ "jsx": "preserve",
9
+ "allowJs": true,
10
+ "types": ["vite/client"]
11
+ },
12
12
  }