spoko-design-system 0.9.6 → 1.0.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 (176) hide show
  1. package/.astro/content.d.ts +1 -1
  2. package/.astro/settings.json +4 -4
  3. package/.astro/types.d.ts +2 -1
  4. package/.github/dependabot.yml +11 -11
  5. package/.github/todo.yml +3 -3
  6. package/.github/workflows/deploy.yml +39 -39
  7. package/.github/workflows/release.yml +64 -0
  8. package/.releaserc.json +93 -0
  9. package/.stackblitzrc +5 -5
  10. package/.vscode/extensions.json +5 -5
  11. package/.vscode/launch.json +11 -11
  12. package/.vscode/settings.json +5 -5
  13. package/CHANGELOG.md +12 -0
  14. package/CONTRIBUTING.md +183 -0
  15. package/LICENSE +21 -21
  16. package/README.md +116 -116
  17. package/astro-i18next.config.mjs +17 -17
  18. package/astro-i18next.config.ts +10 -10
  19. package/astro.config.mjs +86 -86
  20. package/dev-dist/sw.js +91 -91
  21. package/dev-dist/workbox-c676b6d3.js +3391 -3391
  22. package/icon.config.ts +310 -310
  23. package/index.ts +70 -70
  24. package/package.json +13 -3
  25. package/public/arrow-bottom.svg +7 -7
  26. package/public/fonts/lg.svg +53 -53
  27. package/public/fonts/vwhead-bold-demo.html +549 -549
  28. package/public/fonts/vwhead-regular-demo.html +549 -549
  29. package/public/fonts/vwtext-bold-demo.html +549 -549
  30. package/public/fonts/vwtext-regular-demo.html +549 -549
  31. package/public/github.svg +3 -3
  32. package/public/grid_dot.svg +4 -4
  33. package/public/linkedin.svg +44 -44
  34. package/public/locales/en/translation.json +12 -12
  35. package/public/locales/pl/translation.json +12 -12
  36. package/public/make-scrollable-code-focusable.js +3 -3
  37. package/public/pagefind.yml +3 -3
  38. package/public/polo.blue.svg +29 -29
  39. package/public/spoko.space.svg +71 -71
  40. package/public/twitter.svg +46 -46
  41. package/renovate.json +6 -6
  42. package/sandbox.config.json +11 -11
  43. package/src/MyComponent.astro +8 -8
  44. package/src/components/Badge.vue +19 -19
  45. package/src/components/Badges.vue +21 -21
  46. package/src/components/Breadcrumbs.vue +94 -94
  47. package/src/components/Button.vue +101 -101
  48. package/src/components/ButtonCopy.astro +183 -183
  49. package/src/components/ButtonCopy.vue +36 -36
  50. package/src/components/Card.astro +27 -27
  51. package/src/components/Carousel.astro +26 -26
  52. package/src/components/Category/CategoriesCarousel.astro +101 -101
  53. package/src/components/Category/CategoryDetails.astro +169 -169
  54. package/src/components/Category/CategoryLink.vue +28 -28
  55. package/src/components/Category/CategorySidebarToggler.vue +9 -9
  56. package/src/components/Category/CategoryTile.astro +37 -37
  57. package/src/components/Category/CategoryViewToggler.astro +89 -89
  58. package/src/components/Category/SubCategoryLink.vue +19 -19
  59. package/src/components/Copyright.astro +12 -12
  60. package/src/components/Date.astro +7 -7
  61. package/src/components/Faq.astro +33 -33
  62. package/src/components/FaqItem.astro +80 -80
  63. package/src/components/FeaturesList.vue +37 -37
  64. package/src/components/FuckRussia.vue +62 -62
  65. package/src/components/HandDrive.astro +55 -29
  66. package/src/components/Header/Header.astro +210 -210
  67. package/src/components/Header/SkipToContent.astro +1 -1
  68. package/src/components/Headline.vue +87 -87
  69. package/src/components/Image.astro +30 -30
  70. package/src/components/LeftSidebar.astro +53 -53
  71. package/src/components/MainColors.vue +22 -22
  72. package/src/components/MainInput.vue +15 -15
  73. package/src/components/Modal.astro +27 -27
  74. package/src/components/PageContent.astro +5 -5
  75. package/src/components/PartNumber.vue +27 -27
  76. package/src/components/Post/PostCategories.astro +41 -41
  77. package/src/components/Post/PostCategories.vue +30 -30
  78. package/src/components/PostHeader.astro +103 -103
  79. package/src/components/PrCode.vue +141 -141
  80. package/src/components/Product/ProductButton.vue +18 -18
  81. package/src/components/Product/ProductCarousel.astro +35 -35
  82. package/src/components/Product/ProductEngineType.vue +42 -42
  83. package/src/components/Product/ProductImage.astro +40 -40
  84. package/src/components/Product/ProductLink.astro +101 -101
  85. package/src/components/Product/ProductLink.vue +59 -59
  86. package/src/components/Product/ProductLinkInfo.astro +37 -37
  87. package/src/components/Product/ProductNumber.astro +60 -60
  88. package/src/components/ProductCarousel.astro +38 -38
  89. package/src/components/ProductCodes.vue +39 -39
  90. package/src/components/ProductDetailName.vue +52 -52
  91. package/src/components/ProductDetailsList.vue +216 -216
  92. package/src/components/ProductTile.astro +48 -48
  93. package/src/components/Quote.vue +23 -23
  94. package/src/components/ReloadPrompt.astro +50 -50
  95. package/src/components/SlimBanner.vue +72 -72
  96. package/src/components/Table.vue +32 -32
  97. package/src/components/TableOfContents.astro +15 -15
  98. package/src/components/Translations.vue +23 -23
  99. package/src/components/flags/FlagPL.vue +3 -3
  100. package/src/components/flags/FlagUA.vue +2 -2
  101. package/src/components/{Layout → layout}/CallToAction.astro +52 -52
  102. package/src/components/{Layout → layout}/Container.astro +7 -7
  103. package/src/components/{Layout → layout}/Header.astro +80 -80
  104. package/src/config.ts +56 -56
  105. package/src/design.config.ts +98 -98
  106. package/src/env.d.ts +6 -6
  107. package/src/layouts/Layout.astro +61 -61
  108. package/src/layouts/MainLayout.astro +81 -81
  109. package/src/layouts/partials/FooterCommon.astro +4 -4
  110. package/src/layouts/partials/HeadCommon.astro +44 -44
  111. package/src/layouts/partials/HeadSEO.astro +41 -41
  112. package/src/pages/components/badges.mdx +57 -57
  113. package/src/pages/components/breadcrumbs.mdx +139 -139
  114. package/src/pages/components/buttons.mdx +360 -360
  115. package/src/pages/components/card.mdx +294 -294
  116. package/src/pages/components/carousel.mdx +62 -62
  117. package/src/pages/components/copyright.mdx +42 -42
  118. package/src/pages/components/details-list.mdx +115 -115
  119. package/src/pages/components/features-list.mdx +37 -37
  120. package/src/pages/components/flags.mdx +49 -49
  121. package/src/pages/components/fuck-russia.mdx +39 -39
  122. package/src/pages/components/hand-drive.mdx +105 -38
  123. package/src/pages/components/headline.mdx +137 -137
  124. package/src/pages/components/icons.astro +135 -135
  125. package/src/pages/components/image.mdx +513 -513
  126. package/src/pages/components/input.mdx +367 -367
  127. package/src/pages/components/jumbotron.mdx +359 -359
  128. package/src/pages/components/modal.mdx +64 -64
  129. package/src/pages/components/post-header.mdx +64 -64
  130. package/src/pages/components/pr-code.mdx +65 -65
  131. package/src/pages/components/product-number.mdx +58 -58
  132. package/src/pages/components/product-tile.mdx +51 -51
  133. package/src/pages/components/quote.mdx +33 -33
  134. package/src/pages/components/slimbanner.mdx +35 -35
  135. package/src/pages/components/table.mdx +108 -108
  136. package/src/pages/core/colors.mdx +10 -10
  137. package/src/pages/core/grid.mdx +89 -89
  138. package/src/pages/core/introduction.mdx +77 -77
  139. package/src/pages/core/shadows.astro +20 -20
  140. package/src/pages/core/typography.astro +49 -49
  141. package/src/pages/index.astro +133 -133
  142. package/src/pages/patterns/introduction.mdx +60 -60
  143. package/src/pwa.ts +12 -12
  144. package/src/styles/_variables.scss +70 -70
  145. package/src/styles/base/base.css +184 -184
  146. package/src/styles/base/grid.css +92 -92
  147. package/src/styles/base/typography.css +70 -70
  148. package/src/styles/content.css +73 -73
  149. package/src/styles/main.css +7 -7
  150. package/src/types/Product.ts +31 -31
  151. package/src/types/astro.d.ts +3 -3
  152. package/src/utils/product/getPriceFormatted.ts +15 -15
  153. package/src/utils/product/getProductChecklist.ts +17 -17
  154. package/src/utils/product/useFormatProductNumber.ts +41 -41
  155. package/src/utils/seo/getShorterDescription.ts +14 -14
  156. package/src/utils/text/formatDate.ts +5 -5
  157. package/src/utils/text/formatLocaleNumber.ts +6 -6
  158. package/src/utils/text/formatPad.ts +12 -12
  159. package/src/utils/text/getNumberFormatted.ts +33 -33
  160. package/src/utils/text/getTranslatedLink.ts +5 -5
  161. package/src/utils/text.ts +19 -19
  162. package/tailwind.config.cjs +8 -8
  163. package/tsconfig.json +28 -28
  164. package/uno-config/index.ts +268 -268
  165. package/uno-config/theme/breakpoints.ts +9 -9
  166. package/uno-config/theme/colors.ts +64 -64
  167. package/uno-config/theme/dimensions.ts +17 -17
  168. package/uno-config/theme/effects.ts +14 -14
  169. package/uno-config/theme/grid.ts +10 -10
  170. package/uno-config/theme/index.ts +28 -28
  171. package/uno-config/theme/shortcuts/buttons.ts +53 -53
  172. package/uno-config/theme/shortcuts/components.ts +123 -123
  173. package/uno-config/theme/shortcuts/index.ts +20 -20
  174. package/uno-config/theme/shortcuts/layout.ts +74 -74
  175. package/uno-config/theme/typography.ts +29 -29
  176. package/uno.config.ts +2 -2
@@ -1,62 +1,62 @@
1
- ---
2
- title: "Carousel"
3
- layout: "../../layouts/MainLayout.astro"
4
- ---
5
- import Carousel from '../../components/Carousel.astro'
6
- import ProductCarousel from '../../components/ProductCarousel.astro'
7
-
8
- # Carousel
9
-
10
- Carousel - modern carousel based on Swiper Element (Web Component)
11
-
12
- <div class="component-preview">
13
- <Carousel />
14
- </div>
15
-
16
- ```js
17
- <swiper-container
18
- class="max-w-full w-full flex overflow-hidden"
19
- grid-rows="1"
20
- mousewheel-force-to-axis="true"
21
- navigation="true"
22
- pagination-type="fraction"
23
- scrollbar="false"
24
- slides-per-view="auto"
25
- space-between="0"
26
- >
27
- <swiper-slide class="bg-blue-50 p-12 border-1 min-w-full">A</swiper-slide>
28
- <swiper-slide class="bg-blue-100 p-12 border-1 min-w-full">B</swiper-slide>
29
- <swiper-slide class="bg-blue-200 p-12 border-1 min-w-full">C</swiper-slide>
30
- <swiper-slide class="bg-blue-300 p-12 border-1 min-w-full">D</swiper-slide>
31
- <swiper-slide class="bg-blue-400 p-12 border-1 min-w-full">A</swiper-slide>
32
- </swiper-container>
33
- ```
34
- #
35
-
36
- Find the code for this page in the `src/pages/components/carousel.mdx` file.
37
-
38
-
39
- ## Product Carousel
40
- <div class="component-preview">
41
- <ProductCarousel />
42
- </div>
43
- ```html
44
- <div class="bg-white rounded-lg p-4 w-full">
45
- <swiper-container
46
- class="flex w-full max-w-full"
47
- grid-rows="1"
48
- mousewheel-force-to-axis="true"
49
- navigation="false"
50
- scrollbar="false"
51
- slides-per-view="auto"
52
- space-between="0"
53
- >
54
- <swiper-slide
55
- class="carousel-product-tile"
56
- >
57
- <ProductTile productObject={productObject} />
58
- </swiper-slide>
59
- ...
60
- </swiper-container>
61
- </div>
62
- ```
1
+ ---
2
+ title: "Carousel"
3
+ layout: "../../layouts/MainLayout.astro"
4
+ ---
5
+ import Carousel from '../../components/Carousel.astro'
6
+ import ProductCarousel from '../../components/ProductCarousel.astro'
7
+
8
+ # Carousel
9
+
10
+ Carousel - modern carousel based on Swiper Element (Web Component)
11
+
12
+ <div class="component-preview">
13
+ <Carousel />
14
+ </div>
15
+
16
+ ```js
17
+ <swiper-container
18
+ class="max-w-full w-full flex overflow-hidden"
19
+ grid-rows="1"
20
+ mousewheel-force-to-axis="true"
21
+ navigation="true"
22
+ pagination-type="fraction"
23
+ scrollbar="false"
24
+ slides-per-view="auto"
25
+ space-between="0"
26
+ >
27
+ <swiper-slide class="bg-blue-50 p-12 border-1 min-w-full">A</swiper-slide>
28
+ <swiper-slide class="bg-blue-100 p-12 border-1 min-w-full">B</swiper-slide>
29
+ <swiper-slide class="bg-blue-200 p-12 border-1 min-w-full">C</swiper-slide>
30
+ <swiper-slide class="bg-blue-300 p-12 border-1 min-w-full">D</swiper-slide>
31
+ <swiper-slide class="bg-blue-400 p-12 border-1 min-w-full">A</swiper-slide>
32
+ </swiper-container>
33
+ ```
34
+ #
35
+
36
+ Find the code for this page in the `src/pages/components/carousel.mdx` file.
37
+
38
+
39
+ ## Product Carousel
40
+ <div class="component-preview">
41
+ <ProductCarousel />
42
+ </div>
43
+ ```html
44
+ <div class="bg-white rounded-lg p-4 w-full">
45
+ <swiper-container
46
+ class="flex w-full max-w-full"
47
+ grid-rows="1"
48
+ mousewheel-force-to-axis="true"
49
+ navigation="false"
50
+ scrollbar="false"
51
+ slides-per-view="auto"
52
+ space-between="0"
53
+ >
54
+ <swiper-slide
55
+ class="carousel-product-tile"
56
+ >
57
+ <ProductTile productObject={productObject} />
58
+ </swiper-slide>
59
+ ...
60
+ </swiper-container>
61
+ </div>
62
+ ```
@@ -1,42 +1,42 @@
1
- ---
2
- title: "Copyright"
3
- layout: "../../layouts/MainLayout.astro"
4
- ---
5
- import Copyright from '../../components/Copyright.astro'
6
-
7
- # Copyright
8
-
9
- Copyright component
10
- <div class="component-preview">
11
- <Copyright class="w-full">
12
- <div slot="left-item">left item</div>
13
- <div slot="middle-item">middle item</div>
14
- <div slot="right-item">right item</div>
15
- </Copyright>
16
- </div>
17
-
18
- ```js
19
- <Copyright class="w-full" >
20
- <div slot="left-item">left item</div>
21
- <div slot="middle-item">middle item</div>
22
- <div slot="right-item">right item</div>
23
- </Copyright>
24
- ```
25
- #
26
-
27
- ## Copyright with custom classes
28
- <div class="component-preview">
29
- <Copyright class="z-0 w-full">
30
- <div slot="left-item">left item</div>
31
- <div slot="middle-item">middle item</div>
32
- <div slot="right-item">right item</div>
33
- </Copyright>
34
- </div>
35
-
36
- ```js
37
- <Copyright class="fixed bottom-0 z-0 w-full" >
38
- <div slot="left-item">left item</div>
39
- <div slot="middle-item">middle item</div>
40
- <div slot="right-item">right item</div>
41
- </Copyright>
42
- ```
1
+ ---
2
+ title: "Copyright"
3
+ layout: "../../layouts/MainLayout.astro"
4
+ ---
5
+ import Copyright from '../../components/Copyright.astro'
6
+
7
+ # Copyright
8
+
9
+ Copyright component
10
+ <div class="component-preview">
11
+ <Copyright class="w-full">
12
+ <div slot="left-item">left item</div>
13
+ <div slot="middle-item">middle item</div>
14
+ <div slot="right-item">right item</div>
15
+ </Copyright>
16
+ </div>
17
+
18
+ ```js
19
+ <Copyright class="w-full" >
20
+ <div slot="left-item">left item</div>
21
+ <div slot="middle-item">middle item</div>
22
+ <div slot="right-item">right item</div>
23
+ </Copyright>
24
+ ```
25
+ #
26
+
27
+ ## Copyright with custom classes
28
+ <div class="component-preview">
29
+ <Copyright class="z-0 w-full">
30
+ <div slot="left-item">left item</div>
31
+ <div slot="middle-item">middle item</div>
32
+ <div slot="right-item">right item</div>
33
+ </Copyright>
34
+ </div>
35
+
36
+ ```js
37
+ <Copyright class="fixed bottom-0 z-0 w-full" >
38
+ <div slot="left-item">left item</div>
39
+ <div slot="middle-item">middle item</div>
40
+ <div slot="right-item">right item</div>
41
+ </Copyright>
42
+ ```
@@ -1,116 +1,116 @@
1
- ---
2
- title: "DetailsList"
3
- layout: "../../layouts/MainLayout.astro"
4
- ---
5
-
6
- import ProductDetailsList from '../../components/ProductDetailsList.vue'
7
- import ProductNumber from "../../components/Product/ProductNumber.astro"
8
- import ProductCodes from '../../components/ProductCodes.vue'
9
-
10
- export const prcodesArray = ["PJ4", "CA2", "C4E", "2JZ"]
11
-
12
- export const tableItems = [
13
- {
14
- id: "number",
15
- name: "Part number",
16
- value: "6R0071609GRU",
17
- },
18
- {
19
- id: "prcodes",
20
- name: "PR-Codes",
21
- value: ["PJ4", "CA2", "C4E", "2JZ"],
22
- },
23
- {
24
- id: "color",
25
- name: "Color",
26
- value: "Black",
27
- },
28
- {
29
- id: "position",
30
- name: "Fitting position",
31
- value: "Front axle",
32
- },
33
- {
34
- id: "brake-disck-thicnkess",
35
- name: "Brake disc thicknes",
36
- value: "22 mm",
37
- },
38
- {
39
- id: "weight",
40
- name: "Weight",
41
- value: "5.185 kg"
42
- }
43
- ];
44
-
45
- # Product Details Table
46
-
47
- <div class="component-preview flex-wrap">
48
- <div class="bg-white rounded-lg p-8">
49
- <ProductDetailsList items={tableItems}>
50
- <td slot="number" class="pt-0">
51
- <ProductNumber class="py-0" big isPdp productNumber="6R0071609GRU" copyDisabled={false} />
52
- </td>
53
- <td slot="prcodes" class="pt-0">
54
- <ProductCodes prcodes={prcodesArray} />
55
- </td>
56
- </ProductDetailsList>
57
- </div>
58
- </div>
59
-
60
- ```ts
61
- const tableItems = [
62
- {
63
- id: "number",
64
- name: "Part number",
65
- value: "6R0071609GRU",
66
- },
67
- {
68
- id: "prcodes",
69
- name: "PR-Codes",
70
- value: ["PJ4", "CA2", "C4E"]
71
- },
72
- {
73
- id: "color",
74
- name: "Color",
75
- value: "Black",
76
- },
77
- {
78
- id: "position",
79
- name: "Fitting position",
80
- value: "Front axle",
81
- },
82
- {
83
- id: "brake-disck-thicnkess",
84
- name: "Brake disc thicknes",
85
- value: "22 mm",
86
- },
87
- {
88
- id: "weight",
89
- name: "Weight",
90
- value: "5.185 kg"
91
- }
92
- ];
93
-
94
- ```
95
- ### Astro:
96
- ```js
97
- <ProductDetailsList items={tableItems}>
98
- <td slot="number" class="pt-0">
99
- <ProductNumber class="py-0" big isPdp productNumber="6R0071609GRU" copyDisabled={false} />
100
- </td>
101
- <td slot="prcodes" class="pt-0">
102
- <ProductCodes prcodes={prcodesArray} />
103
- </td>
104
- </ProductDetailsList>
105
- ```
106
- ### Vue:
107
- ```js
108
- <ProductDetailsList items={tableItems}>
109
- <template #number >
110
- <ProductNumber as="td" class="py-0" big isPdp productNumber="6R0071609GRU" copyDisabled={false} />
111
- </template>
112
- <template #prcodes >
113
- <ProductCodes as="td" prcodes={prcodesArray} />
114
- </template>
115
- </ProductDetailsList>
1
+ ---
2
+ title: "DetailsList"
3
+ layout: "../../layouts/MainLayout.astro"
4
+ ---
5
+
6
+ import ProductDetailsList from '../../components/ProductDetailsList.vue'
7
+ import ProductNumber from "../../components/Product/ProductNumber.astro"
8
+ import ProductCodes from '../../components/ProductCodes.vue'
9
+
10
+ export const prcodesArray = ["PJ4", "CA2", "C4E", "2JZ"]
11
+
12
+ export const tableItems = [
13
+ {
14
+ id: "number",
15
+ name: "Part number",
16
+ value: "6R0071609GRU",
17
+ },
18
+ {
19
+ id: "prcodes",
20
+ name: "PR-Codes",
21
+ value: ["PJ4", "CA2", "C4E", "2JZ"],
22
+ },
23
+ {
24
+ id: "color",
25
+ name: "Color",
26
+ value: "Black",
27
+ },
28
+ {
29
+ id: "position",
30
+ name: "Fitting position",
31
+ value: "Front axle",
32
+ },
33
+ {
34
+ id: "brake-disck-thicnkess",
35
+ name: "Brake disc thicknes",
36
+ value: "22 mm",
37
+ },
38
+ {
39
+ id: "weight",
40
+ name: "Weight",
41
+ value: "5.185 kg"
42
+ }
43
+ ];
44
+
45
+ # Product Details Table
46
+
47
+ <div class="component-preview flex-wrap">
48
+ <div class="bg-white rounded-lg p-8">
49
+ <ProductDetailsList items={tableItems}>
50
+ <td slot="number" class="pt-0">
51
+ <ProductNumber class="py-0" big isPdp productNumber="6R0071609GRU" copyDisabled={false} />
52
+ </td>
53
+ <td slot="prcodes" class="pt-0">
54
+ <ProductCodes prcodes={prcodesArray} />
55
+ </td>
56
+ </ProductDetailsList>
57
+ </div>
58
+ </div>
59
+
60
+ ```ts
61
+ const tableItems = [
62
+ {
63
+ id: "number",
64
+ name: "Part number",
65
+ value: "6R0071609GRU",
66
+ },
67
+ {
68
+ id: "prcodes",
69
+ name: "PR-Codes",
70
+ value: ["PJ4", "CA2", "C4E"]
71
+ },
72
+ {
73
+ id: "color",
74
+ name: "Color",
75
+ value: "Black",
76
+ },
77
+ {
78
+ id: "position",
79
+ name: "Fitting position",
80
+ value: "Front axle",
81
+ },
82
+ {
83
+ id: "brake-disck-thicnkess",
84
+ name: "Brake disc thicknes",
85
+ value: "22 mm",
86
+ },
87
+ {
88
+ id: "weight",
89
+ name: "Weight",
90
+ value: "5.185 kg"
91
+ }
92
+ ];
93
+
94
+ ```
95
+ ### Astro:
96
+ ```js
97
+ <ProductDetailsList items={tableItems}>
98
+ <td slot="number" class="pt-0">
99
+ <ProductNumber class="py-0" big isPdp productNumber="6R0071609GRU" copyDisabled={false} />
100
+ </td>
101
+ <td slot="prcodes" class="pt-0">
102
+ <ProductCodes prcodes={prcodesArray} />
103
+ </td>
104
+ </ProductDetailsList>
105
+ ```
106
+ ### Vue:
107
+ ```js
108
+ <ProductDetailsList items={tableItems}>
109
+ <template #number >
110
+ <ProductNumber as="td" class="py-0" big isPdp productNumber="6R0071609GRU" copyDisabled={false} />
111
+ </template>
112
+ <template #prcodes >
113
+ <ProductCodes as="td" prcodes={prcodesArray} />
114
+ </template>
115
+ </ProductDetailsList>
116
116
  ```
@@ -1,38 +1,38 @@
1
- ---
2
- title: "DetailsList"
3
- layout: "../../layouts/MainLayout.astro"
4
- ---
5
-
6
- import FeaturesList from '../../components/FeaturesList.vue'
7
-
8
- export const items = [
9
- "do ad dolor exercitation dolor eu eiusmod commodo dolor aliqua deserunt aliquip reprehenderit minim. Lorem fugiat deserunt reprehenderit non velit dolore voluptate nostrud aliquip consectetur minim. Labore dolore anim excepteur sit nostrud deserunt eu occaecat.",
10
- "cillum dolore cupidatat ad mollit excepteur quis. Non nisi consequat deserunt dolore laboris est culpa. Elit eu aute magna sunt cupidatat officia do adipisicing quis velit. Consectetur deserunt et pariatur ea laborum occaecat veniam proident elit anim dolor eu nostrud voluptate. Do laboris nisi pariatur ipsum est ad anim ex quis officia est ut.",
11
- "dolore cupidatat ad mollit excepteur quis"
12
- ];
13
-
14
- # Product Details Table
15
-
16
- <div class="component-preview flex-wrap">
17
- <div class="bg-white rounded-lg p-8">
18
- <p class="mb-4">Dolor amet excepteur id quis ut. Nisi incididunt occaecat est officia ea do voluptate deserunt aliqua cillum duis eiusmod. Officia veniam nisi mollit exercitation consequat ex fugiat ea veniam in culpa aliquip deserunt ea. Magna elit aliqua reprehenderit anim. Ullamco do nostrud nulla consectetur dolor fugiat adipisicing adipisicing. Reprehenderit est do culpa eu non quis. Veniam anim amet excepteur in sit et eiusmod. Id amet adipisicing amet ut eiusmod et. Tempor Lorem amet aute anim magna. Do ea aute consectetur fugiat nulla laboris pariatur ad enim anim. Dolor culpa veniam aliquip amet aute sunt excepteur consectetur sit excepteur excepteur Lorem. Ipsum esse ad aute nulla eu do incididunt eiusmod nulla sunt labore id cupidatat incididunt.</p>
19
- <FeaturesList items={items} caption="Main features"/>
20
- </div>
21
- </div>
22
-
23
- ```ts
24
- const items = [
25
- "do ad dolor exercitation dolor eu eiusmod commodo dolor aliqua deserunt aliquip reprehenderit minim. Lorem fugiat deserunt reprehenderit non velit dolore voluptate nostrud aliquip consectetur minim. Labore dolore anim excepteur sit nostrud deserunt eu occaecat.",
26
- "cillum dolore cupidatat ad mollit excepteur quis. Non nisi consequat deserunt dolore laboris est culpa. Elit eu aute magna sunt cupidatat officia do adipisicing quis velit. Consectetur deserunt et pariatur ea laborum occaecat veniam proident elit anim dolor eu nostrud voluptate. Do laboris nisi pariatur ipsum est ad anim ex quis officia est ut.",
27
- "dolore cupidatat ad mollit excepteur quis"
28
- ];
29
-
30
- ```
31
- ### Astro:
32
- ```html
33
- <FeaturesList items={items} caption="Main features" />
34
- ```
35
- ### Vue:
36
- ```html
37
- <FeaturesList :items="items" caption="Main features" />
1
+ ---
2
+ title: "DetailsList"
3
+ layout: "../../layouts/MainLayout.astro"
4
+ ---
5
+
6
+ import FeaturesList from '../../components/FeaturesList.vue'
7
+
8
+ export const items = [
9
+ "do ad dolor exercitation dolor eu eiusmod commodo dolor aliqua deserunt aliquip reprehenderit minim. Lorem fugiat deserunt reprehenderit non velit dolore voluptate nostrud aliquip consectetur minim. Labore dolore anim excepteur sit nostrud deserunt eu occaecat.",
10
+ "cillum dolore cupidatat ad mollit excepteur quis. Non nisi consequat deserunt dolore laboris est culpa. Elit eu aute magna sunt cupidatat officia do adipisicing quis velit. Consectetur deserunt et pariatur ea laborum occaecat veniam proident elit anim dolor eu nostrud voluptate. Do laboris nisi pariatur ipsum est ad anim ex quis officia est ut.",
11
+ "dolore cupidatat ad mollit excepteur quis"
12
+ ];
13
+
14
+ # Product Details Table
15
+
16
+ <div class="component-preview flex-wrap">
17
+ <div class="bg-white rounded-lg p-8">
18
+ <p class="mb-4">Dolor amet excepteur id quis ut. Nisi incididunt occaecat est officia ea do voluptate deserunt aliqua cillum duis eiusmod. Officia veniam nisi mollit exercitation consequat ex fugiat ea veniam in culpa aliquip deserunt ea. Magna elit aliqua reprehenderit anim. Ullamco do nostrud nulla consectetur dolor fugiat adipisicing adipisicing. Reprehenderit est do culpa eu non quis. Veniam anim amet excepteur in sit et eiusmod. Id amet adipisicing amet ut eiusmod et. Tempor Lorem amet aute anim magna. Do ea aute consectetur fugiat nulla laboris pariatur ad enim anim. Dolor culpa veniam aliquip amet aute sunt excepteur consectetur sit excepteur excepteur Lorem. Ipsum esse ad aute nulla eu do incididunt eiusmod nulla sunt labore id cupidatat incididunt.</p>
19
+ <FeaturesList items={items} caption="Main features"/>
20
+ </div>
21
+ </div>
22
+
23
+ ```ts
24
+ const items = [
25
+ "do ad dolor exercitation dolor eu eiusmod commodo dolor aliqua deserunt aliquip reprehenderit minim. Lorem fugiat deserunt reprehenderit non velit dolore voluptate nostrud aliquip consectetur minim. Labore dolore anim excepteur sit nostrud deserunt eu occaecat.",
26
+ "cillum dolore cupidatat ad mollit excepteur quis. Non nisi consequat deserunt dolore laboris est culpa. Elit eu aute magna sunt cupidatat officia do adipisicing quis velit. Consectetur deserunt et pariatur ea laborum occaecat veniam proident elit anim dolor eu nostrud voluptate. Do laboris nisi pariatur ipsum est ad anim ex quis officia est ut.",
27
+ "dolore cupidatat ad mollit excepteur quis"
28
+ ];
29
+
30
+ ```
31
+ ### Astro:
32
+ ```html
33
+ <FeaturesList items={items} caption="Main features" />
34
+ ```
35
+ ### Vue:
36
+ ```html
37
+ <FeaturesList :items="items" caption="Main features" />
38
38
  ```
@@ -1,50 +1,50 @@
1
- ---
2
- title: "FuckRussia"
3
- layout: "../../layouts/MainLayout.astro"
4
- ---
5
- import FlagPL from '../../components/flags/FlagPL.vue'
6
- import FlagUA from '../../components/flags/FlagUA.vue'
7
- import { Icon } from 'astro-icon/components'
8
-
9
- # Flags
10
- Flags based on CSS (UnoCSS) classes only.
11
-
12
- ## Pure CSS flags:
13
- ### Flag PL
14
- <div class="component-preview">
15
- <FlagPL />
16
- </div>
17
-
18
- ```js
19
- <FlagPL />
20
- ```
21
-
22
- ### Flag UA
23
- <div class="component-preview">
24
- <FlagUA />
25
- </div>
26
-
27
- ```js
28
- <FlagUA />
29
- ```
30
-
31
- ## Circle icon flags with shadow
32
- <div class="component-preview">
33
- <div class="bg-white p-6 columns-8 md:columns-16 w-full rounded-full">
34
- <Icon name="circle-flags:pl" class="shadow-md rounded-full" />
35
- <Icon name="circle-flags:fi" class="shadow-md rounded-full" />
36
- <Icon name="circle-flags:nl" class="shadow-md rounded-full" />
37
- <Icon name="circle-flags:no" class="shadow-md rounded-full" />
38
- <Icon name="circle-flags:ua" class="shadow-md rounded-full" />
39
- <Icon name="circle-flags:uk" class="shadow-md rounded-full" />
40
- </div>
41
- </div>
42
-
43
- ```js
44
- <Icon name="circle-flags:pl" class="shadow-md rounded-full" />
45
- <Icon name="circle-flags:fi" class="shadow-md rounded-full" />
46
- <Icon name="circle-flags:nl" class="shadow-md rounded-full" />
47
- <Icon name="circle-flags:no" class="shadow-md rounded-full" />
48
- <Icon name="circle-flags:ua" class="shadow-md rounded-full" />
49
- <Icon name="circle-flags:uk" class="shadow-md rounded-full" />
1
+ ---
2
+ title: "FuckRussia"
3
+ layout: "../../layouts/MainLayout.astro"
4
+ ---
5
+ import FlagPL from '../../components/flags/FlagPL.vue'
6
+ import FlagUA from '../../components/flags/FlagUA.vue'
7
+ import { Icon } from 'astro-icon/components'
8
+
9
+ # Flags
10
+ Flags based on CSS (UnoCSS) classes only.
11
+
12
+ ## Pure CSS flags:
13
+ ### Flag PL
14
+ <div class="component-preview">
15
+ <FlagPL />
16
+ </div>
17
+
18
+ ```js
19
+ <FlagPL />
20
+ ```
21
+
22
+ ### Flag UA
23
+ <div class="component-preview">
24
+ <FlagUA />
25
+ </div>
26
+
27
+ ```js
28
+ <FlagUA />
29
+ ```
30
+
31
+ ## Circle icon flags with shadow
32
+ <div class="component-preview">
33
+ <div class="bg-white p-6 columns-8 md:columns-16 w-full rounded-full">
34
+ <Icon name="circle-flags:pl" class="shadow-md rounded-full" />
35
+ <Icon name="circle-flags:fi" class="shadow-md rounded-full" />
36
+ <Icon name="circle-flags:nl" class="shadow-md rounded-full" />
37
+ <Icon name="circle-flags:no" class="shadow-md rounded-full" />
38
+ <Icon name="circle-flags:ua" class="shadow-md rounded-full" />
39
+ <Icon name="circle-flags:uk" class="shadow-md rounded-full" />
40
+ </div>
41
+ </div>
42
+
43
+ ```js
44
+ <Icon name="circle-flags:pl" class="shadow-md rounded-full" />
45
+ <Icon name="circle-flags:fi" class="shadow-md rounded-full" />
46
+ <Icon name="circle-flags:nl" class="shadow-md rounded-full" />
47
+ <Icon name="circle-flags:no" class="shadow-md rounded-full" />
48
+ <Icon name="circle-flags:ua" class="shadow-md rounded-full" />
49
+ <Icon name="circle-flags:uk" class="shadow-md rounded-full" />
50
50
  ```