spoko-design-system 0.5.8 → 0.6.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 (170) hide show
  1. package/.astro/settings.json +4 -4
  2. package/.github/dependabot.yml +11 -11
  3. package/.github/todo.yml +3 -3
  4. package/.github/workflows/deploy.yml +39 -39
  5. package/.stackblitzrc +5 -5
  6. package/.vscode/extensions.json +5 -5
  7. package/.vscode/launch.json +11 -11
  8. package/.vscode/settings.json +5 -5
  9. package/LICENSE +21 -21
  10. package/README.md +114 -114
  11. package/astro-i18next.config.mjs +17 -17
  12. package/astro-i18next.config.ts +10 -10
  13. package/astro.config.mjs +86 -86
  14. package/dev-dist/sw.js +91 -91
  15. package/dev-dist/workbox-c676b6d3.js +3391 -3391
  16. package/icon.config.ts +278 -278
  17. package/index.ts +65 -65
  18. package/package.json +124 -124
  19. package/public/fonts/lg.svg +53 -53
  20. package/public/fonts/vwhead-bold-demo.html +549 -549
  21. package/public/fonts/vwhead-regular-demo.html +549 -549
  22. package/public/fonts/vwtext-bold-demo.html +549 -549
  23. package/public/fonts/vwtext-regular-demo.html +549 -549
  24. package/public/github.svg +3 -3
  25. package/public/grid_dot.svg +4 -4
  26. package/public/linkedin.svg +44 -44
  27. package/public/locales/en/translation.json +8 -8
  28. package/public/locales/pl/translation.json +8 -8
  29. package/public/make-scrollable-code-focusable.js +3 -3
  30. package/public/pagefind.yml +3 -3
  31. package/public/polo.blue.svg +29 -29
  32. package/public/spoko.space.svg +71 -71
  33. package/public/twitter.svg +46 -46
  34. package/renovate.json +6 -6
  35. package/sandbox.config.json +11 -11
  36. package/src/MyComponent.astro +8 -8
  37. package/src/components/Badge.vue +19 -19
  38. package/src/components/Badges.vue +21 -21
  39. package/src/components/Breadcrumbs.vue +107 -107
  40. package/src/components/Button.vue +101 -101
  41. package/src/components/ButtonCopy.astro +183 -183
  42. package/src/components/ButtonCopy.vue +36 -36
  43. package/src/components/Card.astro +27 -27
  44. package/src/components/Carousel.astro +26 -26
  45. package/src/components/Category/CategoriesCarousel.astro +101 -101
  46. package/src/components/Category/CategoryDetails.astro +169 -169
  47. package/src/components/Category/CategorySidebarToggler.vue +9 -9
  48. package/src/components/Category/CategoryTile.astro +38 -38
  49. package/src/components/Category/CategoryViewToggler.astro +89 -89
  50. package/src/components/Category/SubCategoryLink.vue +19 -19
  51. package/src/components/Copyright.astro +12 -12
  52. package/src/components/Date.astro +7 -7
  53. package/src/components/Faq.astro +33 -33
  54. package/src/components/FaqItem.astro +80 -80
  55. package/src/components/FeaturesList.vue +41 -41
  56. package/src/components/FuckRussia.vue +62 -62
  57. package/src/components/HandDrive.astro +29 -29
  58. package/src/components/Header/Header.astro +210 -210
  59. package/src/components/Header/SkipToContent.astro +1 -1
  60. package/src/components/Headline.vue +48 -48
  61. package/src/components/Image.astro +30 -30
  62. package/src/components/Input.vue +34 -52
  63. package/src/components/LeftSidebar.astro +53 -53
  64. package/src/components/MainColors.vue +22 -22
  65. package/src/components/MainInput.vue +15 -15
  66. package/src/components/Modal.astro +27 -27
  67. package/src/components/PageContent.astro +5 -5
  68. package/src/components/PartNumber.vue +27 -27
  69. package/src/components/Post/PostCategories.astro +37 -37
  70. package/src/components/Post/PostCategories.vue +38 -38
  71. package/src/components/PostHeader.astro +103 -103
  72. package/src/components/PrCode.vue +141 -141
  73. package/src/components/Product/ProductButton.vue +18 -18
  74. package/src/components/Product/ProductCarousel.astro +35 -35
  75. package/src/components/Product/ProductCodes.vue +174 -174
  76. package/src/components/Product/ProductEngineType.vue +42 -42
  77. package/src/components/Product/ProductImage.astro +40 -40
  78. package/src/components/Product/ProductLink.astro +101 -101
  79. package/src/components/Product/ProductLink.vue +59 -59
  80. package/src/components/Product/ProductLinkInfo.astro +37 -37
  81. package/src/components/Product/ProductNumber.astro +60 -60
  82. package/src/components/ProductCarousel.astro +38 -38
  83. package/src/components/ProductCodes.vue +39 -39
  84. package/src/components/ProductDetailName.vue +52 -52
  85. package/src/components/ProductDetailsList.vue +65 -65
  86. package/src/components/ProductTile.astro +48 -48
  87. package/src/components/Quote.vue +23 -23
  88. package/src/components/ReloadPrompt.astro +50 -50
  89. package/src/components/SlimBanner.vue +72 -72
  90. package/src/components/Table.vue +32 -32
  91. package/src/components/TableOfContents.astro +15 -15
  92. package/src/components/Translations.vue +23 -23
  93. package/src/components/flags/FlagPL.vue +3 -3
  94. package/src/components/flags/FlagUA.vue +2 -2
  95. package/src/components/layout/Container.astro +7 -7
  96. package/src/components/layout/Header.astro +80 -80
  97. package/src/config.ts +56 -56
  98. package/src/design.config.ts +98 -98
  99. package/src/env.d.ts +6 -6
  100. package/src/layouts/Layout.astro +61 -61
  101. package/src/layouts/MainLayout.astro +81 -81
  102. package/src/layouts/partials/FooterCommon.astro +4 -4
  103. package/src/layouts/partials/HeadCommon.astro +44 -44
  104. package/src/layouts/partials/HeadSEO.astro +41 -41
  105. package/src/pages/components/badges.mdx +57 -57
  106. package/src/pages/components/breadcrumbs.mdx +139 -139
  107. package/src/pages/components/buttons.mdx +360 -360
  108. package/src/pages/components/card.mdx +294 -294
  109. package/src/pages/components/carousel.mdx +62 -62
  110. package/src/pages/components/copyright.mdx +42 -42
  111. package/src/pages/components/details-list.mdx +115 -115
  112. package/src/pages/components/features-list.mdx +37 -37
  113. package/src/pages/components/flags.mdx +49 -49
  114. package/src/pages/components/fuck-russia.mdx +39 -39
  115. package/src/pages/components/hand-drive.mdx +38 -38
  116. package/src/pages/components/headline.mdx +152 -152
  117. package/src/pages/components/icons.astro +135 -135
  118. package/src/pages/components/image.mdx +513 -513
  119. package/src/pages/components/input.mdx +368 -85
  120. package/src/pages/components/jumbotron.mdx +359 -359
  121. package/src/pages/components/modal.mdx +64 -64
  122. package/src/pages/components/post-header.mdx +60 -60
  123. package/src/pages/components/pr-code.mdx +65 -65
  124. package/src/pages/components/product-number.mdx +58 -58
  125. package/src/pages/components/product-tile.mdx +51 -51
  126. package/src/pages/components/quote.mdx +33 -33
  127. package/src/pages/components/slimbanner.mdx +35 -35
  128. package/src/pages/components/table.mdx +108 -108
  129. package/src/pages/core/colors.mdx +10 -10
  130. package/src/pages/core/grid.mdx +89 -89
  131. package/src/pages/core/introduction.mdx +77 -77
  132. package/src/pages/core/shadows.astro +20 -20
  133. package/src/pages/core/typography.astro +49 -49
  134. package/src/pages/index.astro +130 -130
  135. package/src/pages/patterns/introduction.mdx +60 -60
  136. package/src/pwa.ts +12 -12
  137. package/src/styles/_variables.scss +70 -70
  138. package/src/styles/base/base.css +184 -184
  139. package/src/styles/base/grid.css +92 -92
  140. package/src/styles/base/typography.css +70 -70
  141. package/src/styles/content.css +73 -73
  142. package/src/styles/main.css +7 -7
  143. package/src/types/Product.ts +31 -31
  144. package/src/types/astro.d.ts +3 -3
  145. package/src/utils/product/getPriceFormatted.ts +15 -15
  146. package/src/utils/product/getProductChecklist.ts +17 -17
  147. package/src/utils/product/useFormatProductNumber.ts +41 -41
  148. package/src/utils/seo/getShorterDescription.ts +14 -14
  149. package/src/utils/text/formatDate.ts +5 -5
  150. package/src/utils/text/formatLocaleNumber.ts +6 -6
  151. package/src/utils/text/formatPad.ts +12 -12
  152. package/src/utils/text/getNumberFormatted.ts +33 -33
  153. package/src/utils/text/getTranslatedLink.ts +5 -5
  154. package/src/utils/text.ts +19 -19
  155. package/tailwind.config.cjs +8 -8
  156. package/tsconfig.json +28 -28
  157. package/uno-config/index.ts +232 -114
  158. package/uno-config/theme/breakpoints.ts +9 -9
  159. package/uno-config/theme/colors.ts +64 -64
  160. package/uno-config/theme/dimensions.ts +17 -17
  161. package/uno-config/theme/effects.ts +14 -14
  162. package/uno-config/theme/grid.ts +10 -10
  163. package/uno-config/theme/index.ts +28 -28
  164. package/uno-config/theme/shortcuts/buttons.ts +53 -53
  165. package/uno-config/theme/shortcuts/components.ts +92 -92
  166. package/uno-config/theme/shortcuts/index.ts +20 -20
  167. package/uno-config/theme/shortcuts/inputs.ts +37 -17
  168. package/uno-config/theme/shortcuts/layout.ts +64 -64
  169. package/uno-config/theme/typography.ts +29 -29
  170. 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
  ```