spoko-design-system 0.9.6 → 1.0.1

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 (180) hide show
  1. package/.astro/content.d.ts +1 -1
  2. package/.astro/data-store.json +1 -1
  3. package/.astro/settings.json +4 -4
  4. package/.astro/types.d.ts +2 -1
  5. package/.claude/settings.local.json +11 -1
  6. package/.github/dependabot.yml +11 -11
  7. package/.github/todo.yml +3 -3
  8. package/.github/workflows/deploy.yml +39 -39
  9. package/.github/workflows/release.yml +64 -0
  10. package/.releaserc.json +93 -0
  11. package/.stackblitzrc +5 -5
  12. package/.vscode/extensions.json +4 -5
  13. package/.vscode/launch.json +11 -11
  14. package/.vscode/settings.json +1 -5
  15. package/CHANGELOG.md +20 -0
  16. package/CONTRIBUTING.md +183 -0
  17. package/LICENSE +21 -21
  18. package/README.md +132 -116
  19. package/astro.config.mjs +84 -86
  20. package/dev-dist/sw.js +91 -91
  21. package/dev-dist/workbox-c676b6d3.js +3391 -3391
  22. package/icon.config.ts +340 -310
  23. package/index.ts +70 -70
  24. package/package.json +19 -11
  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/make-scrollable-code-focusable.js +3 -3
  35. package/public/pagefind.yml +3 -3
  36. package/public/polo.blue.svg +29 -29
  37. package/public/spoko.space.svg +71 -71
  38. package/public/twitter.svg +46 -46
  39. package/renovate.json +6 -6
  40. package/sandbox.config.json +11 -11
  41. package/src/MyComponent.astro +8 -8
  42. package/src/components/Badge.vue +19 -19
  43. package/src/components/Badges.vue +21 -21
  44. package/src/components/Breadcrumbs.vue +94 -94
  45. package/src/components/Button.vue +101 -101
  46. package/src/components/ButtonCopy.astro +183 -183
  47. package/src/components/ButtonCopy.vue +36 -36
  48. package/src/components/Card.astro +27 -27
  49. package/src/components/Carousel.astro +26 -26
  50. package/src/components/Category/CategoriesCarousel.astro +100 -101
  51. package/src/components/Category/CategoryDetails.astro +168 -169
  52. package/src/components/Category/CategoryLink.vue +28 -28
  53. package/src/components/Category/CategorySidebarToggler.vue +9 -9
  54. package/src/components/Category/CategoryTile.astro +37 -37
  55. package/src/components/Category/CategoryViewToggler.astro +89 -89
  56. package/src/components/Category/SubCategoryLink.vue +19 -19
  57. package/src/components/Copyright.astro +12 -12
  58. package/src/components/Date.astro +7 -7
  59. package/src/components/Faq.astro +32 -33
  60. package/src/components/FaqItem.astro +80 -80
  61. package/src/components/FeaturesList.vue +37 -37
  62. package/src/components/FuckRussia.vue +62 -62
  63. package/src/components/HandDrive.astro +55 -29
  64. package/src/components/Header/Header.astro +210 -210
  65. package/src/components/Header/SkipToContent.astro +1 -1
  66. package/src/components/Headline.vue +107 -87
  67. package/src/components/Image.astro +30 -30
  68. package/src/components/LeftSidebar.astro +53 -53
  69. package/src/components/MainColors.vue +22 -22
  70. package/src/components/MainInput.vue +15 -15
  71. package/src/components/Modal.astro +27 -27
  72. package/src/components/PageContent.astro +5 -5
  73. package/src/components/PartNumber.vue +27 -27
  74. package/src/components/Post/PostCategories.astro +41 -41
  75. package/src/components/Post/PostCategories.vue +30 -30
  76. package/src/components/PostHeader.astro +103 -103
  77. package/src/components/PrCode.vue +141 -141
  78. package/src/components/Product/ProductButton.vue +18 -18
  79. package/src/components/Product/ProductCarousel.astro +35 -35
  80. package/src/components/Product/ProductEngineType.vue +42 -42
  81. package/src/components/Product/ProductImage.astro +40 -40
  82. package/src/components/Product/ProductLink.astro +96 -101
  83. package/src/components/Product/ProductLink.vue +59 -59
  84. package/src/components/Product/ProductLinkInfo.astro +37 -37
  85. package/src/components/Product/ProductNumber.astro +60 -60
  86. package/src/components/ProductCarousel.astro +38 -38
  87. package/src/components/ProductCodes.vue +39 -39
  88. package/src/components/ProductDetailName.vue +52 -52
  89. package/src/components/ProductDetailsList.vue +216 -216
  90. package/src/components/ProductTile.astro +47 -48
  91. package/src/components/Quote.vue +23 -23
  92. package/src/components/ReloadPrompt.astro +50 -50
  93. package/src/components/SlimBanner.vue +72 -72
  94. package/src/components/Table.vue +32 -32
  95. package/src/components/TableOfContents.astro +15 -15
  96. package/src/components/Translations.vue +23 -23
  97. package/src/components/flags/FlagPL.vue +3 -3
  98. package/src/components/flags/FlagUA.vue +2 -2
  99. package/src/components/{Layout → layout}/CallToAction.astro +52 -52
  100. package/src/components/{Layout → layout}/Container.astro +7 -7
  101. package/src/components/{Layout → layout}/Header.astro +80 -80
  102. package/src/config.ts +56 -56
  103. package/src/design.config.ts +98 -98
  104. package/src/env.d.ts +6 -6
  105. package/src/layouts/Layout.astro +58 -61
  106. package/src/layouts/MainLayout.astro +78 -81
  107. package/src/layouts/partials/FooterCommon.astro +4 -4
  108. package/src/layouts/partials/HeadCommon.astro +44 -44
  109. package/src/layouts/partials/HeadSEO.astro +41 -41
  110. package/src/pages/components/badges.mdx +57 -57
  111. package/src/pages/components/breadcrumbs.mdx +139 -139
  112. package/src/pages/components/buttons.mdx +359 -360
  113. package/src/pages/components/card.mdx +294 -294
  114. package/src/pages/components/carousel.mdx +62 -62
  115. package/src/pages/components/copyright.mdx +42 -42
  116. package/src/pages/components/details-list.mdx +115 -115
  117. package/src/pages/components/features-list.mdx +37 -37
  118. package/src/pages/components/flags.mdx +49 -49
  119. package/src/pages/components/fuck-russia.mdx +39 -39
  120. package/src/pages/components/hand-drive.mdx +78 -38
  121. package/src/pages/components/headline.mdx +137 -137
  122. package/src/pages/components/icons.astro +135 -135
  123. package/src/pages/components/image.mdx +513 -513
  124. package/src/pages/components/input.mdx +367 -367
  125. package/src/pages/components/jumbotron.mdx +359 -359
  126. package/src/pages/components/modal.mdx +64 -64
  127. package/src/pages/components/post-header.mdx +64 -64
  128. package/src/pages/components/pr-code.mdx +65 -65
  129. package/src/pages/components/product-number.mdx +58 -58
  130. package/src/pages/components/product-tile.mdx +51 -51
  131. package/src/pages/components/quote.mdx +33 -33
  132. package/src/pages/components/slimbanner.mdx +35 -35
  133. package/src/pages/components/table.mdx +108 -108
  134. package/src/pages/core/colors.mdx +10 -10
  135. package/src/pages/core/grid.mdx +89 -89
  136. package/src/pages/core/introduction.mdx +77 -77
  137. package/src/pages/core/shadows.astro +20 -20
  138. package/src/pages/core/typography.astro +49 -49
  139. package/src/pages/index.astro +264 -133
  140. package/src/pages/patterns/introduction.mdx +60 -60
  141. package/src/pwa.ts +12 -12
  142. package/src/styles/_variables.scss +70 -70
  143. package/src/styles/base/base.css +184 -184
  144. package/src/styles/base/grid.css +92 -92
  145. package/src/styles/base/typography.css +70 -70
  146. package/src/styles/content.css +73 -73
  147. package/src/styles/main.css +7 -7
  148. package/src/types/Product.ts +31 -31
  149. package/src/types/astro.d.ts +3 -3
  150. package/src/utils/category/getMainCategoryList.ts +8 -17
  151. package/src/utils/product/getPriceFormatted.ts +12 -15
  152. package/src/utils/product/getProductChecklist.ts +16 -17
  153. package/src/utils/product/useFormatProductNumber.ts +41 -41
  154. package/src/utils/seo/getShorterDescription.ts +14 -14
  155. package/src/utils/text/formatDate.ts +5 -5
  156. package/src/utils/text/formatLocaleNumber.ts +5 -6
  157. package/src/utils/text/formatPad.ts +12 -12
  158. package/src/utils/text/getNumberFormatted.ts +33 -33
  159. package/src/utils/text/getTranslatedLink.ts +5 -5
  160. package/src/utils/text.ts +19 -19
  161. package/tailwind.config.cjs +8 -8
  162. package/tsconfig.json +28 -28
  163. package/uno-config/index.ts +262 -268
  164. package/uno-config/theme/breakpoints.ts +9 -9
  165. package/uno-config/theme/colors.ts +64 -64
  166. package/uno-config/theme/dimensions.ts +17 -17
  167. package/uno-config/theme/effects.ts +14 -14
  168. package/uno-config/theme/grid.ts +10 -10
  169. package/uno-config/theme/index.ts +28 -28
  170. package/uno-config/theme/shortcuts/buttons.ts +53 -53
  171. package/uno-config/theme/shortcuts/components.ts +123 -123
  172. package/uno-config/theme/shortcuts/index.ts +20 -20
  173. package/uno-config/theme/shortcuts/layout.ts +74 -74
  174. package/uno-config/theme/typography.ts +29 -29
  175. package/uno.config.ts +2 -2
  176. package/.astro/icon.d.ts +0 -11909
  177. package/astro-i18next.config.mjs +0 -18
  178. package/astro-i18next.config.ts +0 -11
  179. package/public/locales/en/translation.json +0 -13
  180. package/public/locales/pl/translation.json +0 -13
@@ -1,65 +1,65 @@
1
- // theme/colors.ts
2
- export const colors = {
3
- // Brand colors - core identity colors
4
- brand: {
5
- primary: '#0040c5', // Main brand color
6
- secondary: '#00b0f0', // Supporting brand color
7
- },
8
-
9
- // Primary blues - main blue palette
10
- blue: {
11
- ultralight: '#dbeafe',
12
- lightest: '#3b82f6', // Lightest shade
13
- light: '#0069ff',
14
- default: '#005ad7', // Default/base blue
15
- medium: '#02307d',
16
- darker: '#001e50',
17
- darkest: '#000f28', // Darkest shade
18
- wrc: '#0000c8', // Special WRC color
19
- },
20
-
21
- // Secondary colors - accent palette
22
- accent: {
23
- light: '#0099da',
24
- default: '#0087c1', // Default accent
25
- dark: '#006ea6',
26
- darker: '#00437a',
27
- deepBlue: '#0c1a32',
28
- },
29
-
30
- // Neutral colors - grayscale
31
- neutral: {
32
- lightest: '#f3f4f6', // Lightest gray
33
- lighter: '#e5e7eb',
34
- light: '#b5bbc5',
35
- default: '#9ca3af', // Base gray
36
- dark: '#6a767d',
37
- darker: '#4b5563',
38
- },
39
-
40
- // Slate colors - gray-blue palette
41
- slate: {
42
- light: '#64748B',
43
- default: '#475569',
44
- dark: '#334155',
45
- darkest: '#1e293b',
46
- },
47
-
48
- // System colors - functional colors
49
- system: {
50
- success: '#10B981', // Green - success state
51
- warning: '#FBBF24', // Yellow - warning state
52
- error: '#EF4444', // Red - error state
53
- info: '#3B82F6', // Blue - information state
54
- },
55
-
56
- // States - interaction states
57
- state: {
58
- overlay: 'rgb(0 0 0 / 0.06)', // Overlay & Hover state
59
- disabled: 'rgb(0 0 0 / 0.12)', // Disabled state
60
- }
61
- };
62
-
63
- // Export types for TypeScript
64
- export type Colors = typeof colors;
1
+ // theme/colors.ts
2
+ export const colors = {
3
+ // Brand colors - core identity colors
4
+ brand: {
5
+ primary: '#0040c5', // Main brand color
6
+ secondary: '#00b0f0', // Supporting brand color
7
+ },
8
+
9
+ // Primary blues - main blue palette
10
+ blue: {
11
+ ultralight: '#dbeafe',
12
+ lightest: '#3b82f6', // Lightest shade
13
+ light: '#0069ff',
14
+ default: '#005ad7', // Default/base blue
15
+ medium: '#02307d',
16
+ darker: '#001e50',
17
+ darkest: '#000f28', // Darkest shade
18
+ wrc: '#0000c8', // Special WRC color
19
+ },
20
+
21
+ // Secondary colors - accent palette
22
+ accent: {
23
+ light: '#0099da',
24
+ default: '#0087c1', // Default accent
25
+ dark: '#006ea6',
26
+ darker: '#00437a',
27
+ deepBlue: '#0c1a32',
28
+ },
29
+
30
+ // Neutral colors - grayscale
31
+ neutral: {
32
+ lightest: '#f3f4f6', // Lightest gray
33
+ lighter: '#e5e7eb',
34
+ light: '#b5bbc5',
35
+ default: '#9ca3af', // Base gray
36
+ dark: '#6a767d',
37
+ darker: '#4b5563',
38
+ },
39
+
40
+ // Slate colors - gray-blue palette
41
+ slate: {
42
+ light: '#64748B',
43
+ default: '#475569',
44
+ dark: '#334155',
45
+ darkest: '#1e293b',
46
+ },
47
+
48
+ // System colors - functional colors
49
+ system: {
50
+ success: '#10B981', // Green - success state
51
+ warning: '#FBBF24', // Yellow - warning state
52
+ error: '#EF4444', // Red - error state
53
+ info: '#3B82F6', // Blue - information state
54
+ },
55
+
56
+ // States - interaction states
57
+ state: {
58
+ overlay: 'rgb(0 0 0 / 0.06)', // Overlay & Hover state
59
+ disabled: 'rgb(0 0 0 / 0.12)', // Disabled state
60
+ }
61
+ };
62
+
63
+ // Export types for TypeScript
64
+ export type Colors = typeof colors;
65
65
  export type ColorShade = keyof typeof colors;
@@ -1,18 +1,18 @@
1
- // theme/dimensions.ts
2
- export const dimensions = {
3
- height: {
4
- 'tile': '104px',
5
- 'tile-mobile': '78px',
6
- 'sidebar': 'calc(100vh - 5.125rem)',
7
- 'full-mobile': 'calc(var(--vh, 1vh) * 100)',
8
- 'icon': '46px',
9
- },
10
- maxHeight: {
11
- 'icon': '46px',
12
- 'sidebar': 'calc(100vh - 5.125rem)',
13
- },
14
- minHeight: {
15
- 'tile': '104px',
16
- 'tile-mobile': '78px',
17
- }
1
+ // theme/dimensions.ts
2
+ export const dimensions = {
3
+ height: {
4
+ 'tile': '104px',
5
+ 'tile-mobile': '78px',
6
+ 'sidebar': 'calc(100vh - 5.125rem)',
7
+ 'full-mobile': 'calc(var(--vh, 1vh) * 100)',
8
+ 'icon': '46px',
9
+ },
10
+ maxHeight: {
11
+ 'icon': '46px',
12
+ 'sidebar': 'calc(100vh - 5.125rem)',
13
+ },
14
+ minHeight: {
15
+ 'tile': '104px',
16
+ 'tile-mobile': '78px',
17
+ }
18
18
  };
@@ -1,15 +1,15 @@
1
- // theme/effects.ts
2
- export const effects = {
3
- filter: {
4
- blur: 'blur(5px)',
5
- },
6
- backgroundSize: {
7
- full: '100% 100%',
8
- },
9
- aspectRatio: {
10
- '4/3': '4 / 3',
11
- },
12
- cursor: {
13
- 'zoom-in': 'zoom-in',
14
- },
1
+ // theme/effects.ts
2
+ export const effects = {
3
+ filter: {
4
+ blur: 'blur(5px)',
5
+ },
6
+ backgroundSize: {
7
+ full: '100% 100%',
8
+ },
9
+ aspectRatio: {
10
+ '4/3': '4 / 3',
11
+ },
12
+ cursor: {
13
+ 'zoom-in': 'zoom-in',
14
+ },
15
15
  };
@@ -1,11 +1,11 @@
1
- // theme/grid.ts
2
- export const gridTemplates = {
3
- columns: {
4
- 16: 'repeat(16, minmax(0, 1fr))',
5
- product: '15rem 20rem minmax(15rem, 1fr)',
6
- productGrid: '15rem minmax(20rem, 1fr)',
7
- productGalleryDesktop: 'calc(100% - 14% - 0.9375rem) 14%',
8
- replacement: '6.25rem 12rem auto',
9
- 'details-desktop': '12.5rem calc(100% - 12.5rem - 1rem)'
10
- }
1
+ // theme/grid.ts
2
+ export const gridTemplates = {
3
+ columns: {
4
+ 16: 'repeat(16, minmax(0, 1fr))',
5
+ product: '15rem 20rem minmax(15rem, 1fr)',
6
+ productGrid: '15rem minmax(20rem, 1fr)',
7
+ productGalleryDesktop: 'calc(100% - 14% - 0.9375rem) 14%',
8
+ replacement: '6.25rem 12rem auto',
9
+ 'details-desktop': '12.5rem calc(100% - 12.5rem - 1rem)'
10
+ }
11
11
  };
@@ -1,29 +1,29 @@
1
- // uno-config/theme/index.ts
2
- import { colors } from './colors';
3
- import { typography } from './typography';
4
- import { breakpoints } from './breakpoints';
5
- import { dimensions } from './dimensions';
6
- import { effects } from './effects';
7
- import { gridTemplates } from './grid';
8
- import { container } from './container';
9
-
10
- export const theme = {
11
- colors,
12
- ...typography,
13
- ...dimensions,
14
- ...effects,
15
- gridTemplateColumn: gridTemplates.columns,
16
- breakpoints,
17
- screens: breakpoints,
18
- container,
19
- };
20
-
21
- export {
22
- colors,
23
- typography,
24
- breakpoints,
25
- dimensions,
26
- effects,
27
- gridTemplates,
28
- container,
1
+ // uno-config/theme/index.ts
2
+ import { colors } from './colors';
3
+ import { typography } from './typography';
4
+ import { breakpoints } from './breakpoints';
5
+ import { dimensions } from './dimensions';
6
+ import { effects } from './effects';
7
+ import { gridTemplates } from './grid';
8
+ import { container } from './container';
9
+
10
+ export const theme = {
11
+ colors,
12
+ ...typography,
13
+ ...dimensions,
14
+ ...effects,
15
+ gridTemplateColumn: gridTemplates.columns,
16
+ breakpoints,
17
+ screens: breakpoints,
18
+ container,
19
+ };
20
+
21
+ export {
22
+ colors,
23
+ typography,
24
+ breakpoints,
25
+ dimensions,
26
+ effects,
27
+ gridTemplates,
28
+ container,
29
29
  };
@@ -1,54 +1,54 @@
1
- // shortcuts/buttons.ts
2
- import { BUTTON_STYLES, TRANSITIONS, LAYOUT, COLORS } from './constants'
3
-
4
- const { base, sizes, variants, hover } = BUTTON_STYLES
5
-
6
- export const buttonShortcuts = [
7
- // Base buttons
8
- ['btn', `px-4 py-1 rounded inline-block bg-teal-600 text-white cursor-pointer hover:bg-teal-700 disabled:(cursor-default bg-gray-600 opacity-50) ${TRANSITIONS.base}`],
9
- ['icon-btn', `text-[0.9em] inline-block cursor-pointer select-none opacity-75 ${TRANSITIONS.base} hover:(opacity-100 text-teal-600)`],
10
-
11
- // Primary buttons
12
- ['btn-primary', `${base.layout} ${base.text} ${variants.primary.solid} ${TRANSITIONS.base}`],
13
- ['btn-primary-outline', `${base.layout} ${base.text} ${variants.primary.outline} ${TRANSITIONS.base} ${TRANSITIONS.base}`],
14
-
15
- // Secondary buttons
16
- ['btn-secondary', `${base.layout} ${base.text} ${variants.secondary.solid} ${TRANSITIONS.base}`],
17
- ['btn-secondary-outline', `${base.layout} ${base.text} ${variants.secondary.outline} ${TRANSITIONS.base}`],
18
-
19
- // Tertiary buttons
20
- ['btn-tertiary', `${base.layout} ${base.text} ${variants.tertiary.solid} ${TRANSITIONS.base}`],
21
- ['btn-tertiary-outline', `${base.layout} border ${base.text} ${variants.tertiary.outline} ${TRANSITIONS.base}`],
22
-
23
- // Utility buttons
24
- ['btn-text', `text-neutral-dark border border-transparent hover:underline ${TRANSITIONS.base}`],
25
- ['btn-tag', `
26
- inline-flex items-center
27
- px-3 py-1
28
- text-sm
29
- bg-blue-ultralight text-blue-medium
30
- dark:bg-accent-deepBlue dark:text-neutral-lighter
31
- rounded-full
32
- border border-blue-ultralight dark:border-accent-darker
33
- transition-all duration-200
34
- hover:(bg-neutral-lightest dark:bg-accent-darker)
35
- hover:scale-105
36
- active:scale-95
37
- `],
38
- // Size variants
39
- ['btn-normal', sizes.normal],
40
- ['btn-sm', sizes.sm],
41
- ['btn-xs', sizes.xs],
42
-
43
- // Hover variants
44
- ['btn-white-hover', hover.white],
45
- ['btn-light-hover', hover.light],
46
- ['btn-medium-hover', hover.medium],
47
- ['btn-dark-hover', hover.dark],
48
-
49
- // Special buttons
50
- ['btn-circle', `rounded-full !p-0 aspect-square inline-flex`],
51
- ['btn-copy', `leading-none opacity-10 hover:opacity-80 ml-auto w-6 h-6 -right-7 sm:(h-4 w-4 -right-5) ${LAYOUT.position.absolute}`],
52
- ['btn-copy-text', 'shadow-sm py-0.5 px-1 bg-gray-100 -ml-1 -mt-4 text-xxs whitespace-nowrap'],
53
- ['btn-prcode', `${LAYOUT.position.relative} inline-block text-center leading-none px-1 py-0.5 mr-1 cursor-pointer font-mono border-solid border-1 border-gray-200 select-none text-gray-500 last:mr-0 not-last:mr-2 not-last:after:content-[+] after:(text-blue-darker ${LAYOUT.position.absolute} w-4 pl-0.5)`]
1
+ // shortcuts/buttons.ts
2
+ import { BUTTON_STYLES, TRANSITIONS, LAYOUT, COLORS } from './constants'
3
+
4
+ const { base, sizes, variants, hover } = BUTTON_STYLES
5
+
6
+ export const buttonShortcuts = [
7
+ // Base buttons
8
+ ['btn', `px-4 py-1 rounded inline-block bg-teal-600 text-white cursor-pointer hover:bg-teal-700 disabled:(cursor-default bg-gray-600 opacity-50) ${TRANSITIONS.base}`],
9
+ ['icon-btn', `text-[0.9em] inline-block cursor-pointer select-none opacity-75 ${TRANSITIONS.base} hover:(opacity-100 text-teal-600)`],
10
+
11
+ // Primary buttons
12
+ ['btn-primary', `${base.layout} ${base.text} ${variants.primary.solid} ${TRANSITIONS.base}`],
13
+ ['btn-primary-outline', `${base.layout} ${base.text} ${variants.primary.outline} ${TRANSITIONS.base} ${TRANSITIONS.base}`],
14
+
15
+ // Secondary buttons
16
+ ['btn-secondary', `${base.layout} ${base.text} ${variants.secondary.solid} ${TRANSITIONS.base}`],
17
+ ['btn-secondary-outline', `${base.layout} ${base.text} ${variants.secondary.outline} ${TRANSITIONS.base}`],
18
+
19
+ // Tertiary buttons
20
+ ['btn-tertiary', `${base.layout} ${base.text} ${variants.tertiary.solid} ${TRANSITIONS.base}`],
21
+ ['btn-tertiary-outline', `${base.layout} border ${base.text} ${variants.tertiary.outline} ${TRANSITIONS.base}`],
22
+
23
+ // Utility buttons
24
+ ['btn-text', `text-neutral-dark border border-transparent hover:underline ${TRANSITIONS.base}`],
25
+ ['btn-tag', `
26
+ inline-flex items-center
27
+ px-3 py-1
28
+ text-sm
29
+ bg-blue-ultralight text-blue-medium
30
+ dark:bg-accent-deepBlue dark:text-neutral-lighter
31
+ rounded-full
32
+ border border-blue-ultralight dark:border-accent-darker
33
+ transition-all duration-200
34
+ hover:(bg-neutral-lightest dark:bg-accent-darker)
35
+ hover:scale-105
36
+ active:scale-95
37
+ `],
38
+ // Size variants
39
+ ['btn-normal', sizes.normal],
40
+ ['btn-sm', sizes.sm],
41
+ ['btn-xs', sizes.xs],
42
+
43
+ // Hover variants
44
+ ['btn-white-hover', hover.white],
45
+ ['btn-light-hover', hover.light],
46
+ ['btn-medium-hover', hover.medium],
47
+ ['btn-dark-hover', hover.dark],
48
+
49
+ // Special buttons
50
+ ['btn-circle', `rounded-full !p-0 aspect-square inline-flex`],
51
+ ['btn-copy', `leading-none opacity-10 hover:opacity-80 ml-auto w-6 h-6 -right-7 sm:(h-4 w-4 -right-5) ${LAYOUT.position.absolute}`],
52
+ ['btn-copy-text', 'shadow-sm py-0.5 px-1 bg-gray-100 -ml-1 -mt-4 text-xxs whitespace-nowrap'],
53
+ ['btn-prcode', `${LAYOUT.position.relative} inline-block text-center leading-none px-1 py-0.5 mr-1 cursor-pointer font-mono border-solid border-1 border-gray-200 select-none text-gray-500 last:mr-0 not-last:mr-2 not-last:after:content-[+] after:(text-blue-darker ${LAYOUT.position.absolute} w-4 pl-0.5)`]
54
54
  ];
@@ -1,124 +1,124 @@
1
- // shortcuts/components.ts
2
- import {
3
- COLORS,
4
- IMAGE_STYLES,
5
- LAYOUT,
6
- TRANSITIONS,
7
- PRODUCT_STYLES,
8
- aspectRatios
9
- } from './constants'
10
-
11
- export const componentShortcuts = [
12
- // Product related
13
- ['product-row', `${COLORS.bgWhite} ${LAYOUT.flex.wrap} odd:(pr-2.5 pl-3.5 sm:px-0) even:(pl-2.5 pr-3.5 sm:px-0) w-1/2 sm:(w-auto grid grid-cols-3) gap-x-1 gap-y-0 md:(${LAYOUT.grid.product} gap-x-4) justify-start content-start content-start place-content-start py-4 pb-6 sm:pb-4`],
14
-
15
- ['product-row__photo', `${aspectRatios['4/3']} mb-2 sm:mb-0 ${IMAGE_STYLES.overlay} w-100 col-span-1 row-span-3 max-w-full text-left overflow-hidden ${LAYOUT.position.relative} ${COLORS.bgNeutralLightest} md:(col-span-1 row-span-1) box-content`],
16
- ['product-row__description', `${PRODUCT_STYLES.description.base} mt-2 ${PRODUCT_STYLES.description.md}`],
17
- ['product-row__main', 'w-full sm:w-auto col-span-2 leading-none relative sm:pl-1 md:(pl-0 row-start-1 col-start-2 col-span-1)'],
18
-
19
- // Product elements
20
- ['product-number',`font-novamono content-center flex flex-wrap flex-col content-start pr-5 ${COLORS.bgWhite}`],
21
-
22
- ['p-number', `${LAYOUT.flex.base} leading-none relative`],
23
- ['tooltip', 'invisible absolute'],
24
- ['has-tooltip', 'hover:(visible z-50)'],
25
- ['product-code', 'text-blue-light mr-1 leading-none tracking-wide select-all'],
26
- ['product-info', 'text-slate-light text-xxs font-textlight leading-none mt-0.5 md:(mt-0 text-xs)'],
27
- ['product-date', 'inline-block text-xxs md:text-xs leading-none mt-1 md:(mt-4 mb-1) mr-2'],
28
- ['product-thumb', PRODUCT_STYLES.thumb.base],
29
- ['product-thumb--plp', PRODUCT_STYLES.thumb.container],
30
- ['product-link--related', `${PRODUCT_STYLES.link.base} dark:bg-accent-deepBlue after:bg-accent-light`],
31
- ['product-model', 'font-400'],
32
- ['product-button', `text-blue-lightest cursor-pointer text-base leading-none ${LAYOUT.flex.center} w-8 h-8 min-w-8 ${TRANSITIONS.base} ${COLORS.bgWhite} dark:bg-accent-deepBlue focus:(text-blue-lightest) hover:(text-blue-lightest)`],
33
-
34
- // Category related
35
- ['category-section', `pb-4 w-full ${COLORS.bgWhite} mb-4 overflow-x-hidden ${LAYOUT.flex.wrap} max-w-full`],
36
- ['category-tile', `${LAYOUT.flex.wrap} sm:flex-nowrap content-between w-64 min-w-64 lg:(w-28.57% min-w-28.57%) 2xl:(w-24.09% min-w-24.09%) 3xl:(w-19.60% min-w-19.60%) flex ml-1 lg:ml-1.5 first:ml-4`],
37
- ['category-toggler', `w-8 sm:bg-opacity-20 pt-1 ${LAYOUT.flex.center} hover:text-accent-light text-neutral-light hover:text-blue-lightest px-4 leading-7 pb-0.5 md:pl-0`],
38
- ['category-link', 'w-full sm:w-auto text-neutral-default hover:(bg-gray-50 sm:bg-inherit) py-2 sm:py-0 text-lg font-medium text-left px-3 block sm:(text-base leading-4 mb-1.5) md:(px-4 py-1 table-cell)'],
39
- ['category-carousel__link', `uppercase ml-auto px-4 text-xs ${LAYOUT.flex.alignCenter} mt-3 hover:underline`],
40
-
41
- // Navigation
42
- ['nav-link', 'text-slate-light hover:bg-blue-darker hover:text-white px-3 py-3.5 md:py-1 rounded-full text-sm font-medium'],
43
- ['btn-navigation', `${COLORS.bgWhite} drop-shadow-md rounded-full border ${LAYOUT.flex.center} w-1/2 h-12 bottom-1 z-2 md:(bg-white/90 text-inherit hover:(text-accent-light bg-white))`],
44
- ['btn-navigation__active', 'border border-transparent md:(border-neutral-lighter focus:ring-0) font-medium text-white bg-blue-darker hover:bg-accent-darker focus:ring-2 focus:outline-none focus:ring-blue-300'],
45
-
46
- // Carousel
47
- ['carousel-tile', `${LAYOUT.flex.base} w-52 min-w-52 ml-1 lg:ml-1.5`],
48
- ['carousel-product-tile', `${LAYOUT.flex.wrap} sm:flex-nowrap content-between w-64 min-w-64 lg:(w-28.57% min-w-28.57%) 2xl:(w-24.09% min-w-24.09%) relative`],
49
- ['carousel-item', `w-full pt-1 w-full group-hover:filter-invert relative ${LAYOUT.flex.col}`],
50
- ['carousel-big', 'shadow-[inset_0_10px_60px_-15px_rgba(0,0,0,0.1)] w-full h-full'],
51
-
52
- // PDP (Product Detail Page)
53
- ['pdp-headline', 'text-2xl mb-4 sm:(font-normal mb-6 text-4xl) lg:pr-0 2xl:text-5xl font-headbold text-black font-bold pr-7 pt-0 leading-none'],
54
- ['pdp-detail-row', `text-sm mt-1 md:mt-4 mb-4 grid ${LAYOUT.grid.cols2} sm:(grid-cols-details-desktop grid-flow-col auto-cols-max) gap-4`],
55
- ['pdp-slider-thumb', 'block h-22.5 w-31 min-w-31 mb-2'],
56
-
57
- // PLP (Product List Page)
58
- ['plp-name', `${LAYOUT.flex.alignCenter} leading-none font-headregular cursor-pointer sm:pr-6 md:pr-12`],
59
- ['plp-desc', `hidden sm:block col-span-3 md:col-span-1 md:col-start-3 ${LAYOUT.position.relative} px-2 sm:px-0`],
60
- ['plp-materials', 'text-xs md:text-sm text-slate-darkest dark:text-neutral-light leading-tight font-textlight md:font-textregular whitespace-normal md:whitespace-pre-wrap'],
61
- ['plp-b-desc', `pb-4 ${COLORS.bgWhite} text-base ${LAYOUT.flex.wrap} mt-6`],
62
- ['plp-icons', `${LAYOUT.position.absolute} top-0 -right-2 md:(top-0.5 right-0) w-12 bottom-auto ${LAYOUT.flex.justifyEnd} text-sm`],
63
- ['plp-replacements', 'col-span-3 md:col-span-1 md:col-start-2 text-xs mt-3 md:mt-4'],
64
-
65
- // Miscellaneous
66
- ['flag-ua', 'inline-block text-4xl w-6 h-3.5 min-w-[1.25rem] mr-3 bg-gradient-to-b stops-[#0057b7_50%,50%,#ffd700_100%]'],
67
- ['engine-info', `${LAYOUT.position.absolute} z-20 inline-block w-56 text-xs font-light text-slate-light ${TRANSITIONS.base} ${COLORS.bgWhite} border border-neutral-lighter rounded-lg shadow-sm dark:text-neutral-default dark:border-slate-default dark:bg-slate-darker bottom-full mb-2 invisible opacity-0 group-hover:(opacity-100 visible -left-full before:left-9) before:(absolute w-0 h-0 -bottom-3 border-l-transparent border-r-transparent border-t-neutral-lightest dark:border-t-slate-dark border-l-10 border-r-10 border-t-10 content-empty)`],
68
- ['engine-code', 'underline decoration-dotted underline-offset-4 py-0.5 decoration-neutral-light group-hover:(decoration-blue-lightest dark:decoration-accent-light)'],
69
- ['number-secondary', `block ${LAYOUT.position.absolute} inset-0 text-slate-light select-all ${COLORS.bgWhite} dark:bg-accent-deepBlue`],
70
- ['code-formatted', 'leading-none mt-0 relative text-xs'],
71
-
72
- // Badges
73
- ['badge', 'px-1.5 py-px text-white text-xs mb-1 max-w-fit whitespace-nowrap'],
74
-
75
- // Details
76
- ['detail-name', 'text-gray-900 leading-tight font-textlight line-clamp-3 whitespace-normal md:(whitespace-pre-wrap line-clamp-9 font-textregular)'],
77
- ['detail-row', `text-sm mt-1 md:mt-4 mb-4 grid ${LAYOUT.grid.cols2} gap-4 sm:(grid-cols-details-desktop grid-flow-col auto-cols-max)`],
78
-
79
- // Slides
80
- ['slide-bg', 'scale-140 bg-center bg-no-repeat bg-contain h-full w-full absolute top-0 filter-blur overflow-hidden transform bg-gray-200 dark:bg-gray-700'],
81
- ['slide-img', 'cursor-zoom-in my-auto z-50 h-full max-w-screen-2xl object-center object-contain pointer-events-none'],
82
- ['slide-pic', `w-full ${LAYOUT.flex.justifyEnd} absolute top-0 bottom-0`],
83
- ['slide-thumb', `block bg-gray-100 ${aspectRatios['4/3']} w-30 h-22.5 cursor-grab active:cursor-grabbing`],
84
- ['slide-thumb__img', `pointer-events-none pb-px h-22.5 w-30 m-auto object-cover ${COLORS.bgWhite} dark:bg-accent-deepBlue`],
85
-
86
- // Product related components
87
- ['product-carousel', `${LAYOUT.flex.wrap} content-between w-64 min-w-64 ${LAYOUT.flex.base} ml-1 first:ml-4`],
88
- ['pdp-slide', `h-full bg-gray-100 ${aspectRatios['4/3']} ${LAYOUT.position.relative} overflow-hidden border border-transparent`],
89
- ['product-link', PRODUCT_STYLES.link.base],
90
- ['number-big', 'text-3.75 mr-2 mt-2 mb-0 sm:mt-0'],
91
- ['product-thumb--related', `w-22 min-w-22 xl:w-30 xl:min-w-30 h-auto ${IMAGE_STYLES.objectContain} object-top bg-gray-100 ${aspectRatios['4/3']} ${LAYOUT.position.relative}`],
92
- ['product-thumb--carousel', `w-60 min-w-60 sm:w-22 sm:min-w-22 xl:w-30 xl:min-w-30 h-auto ${IMAGE_STYLES.objectContain} object-top bg-gray-100 ${aspectRatios['4/3']} ${LAYOUT.position.relative}`],
93
-
94
-
95
- // FeaturesList component
96
- ['features-list', 'mb-6'],
97
- ['features-list-item', 'leading-5 relative mb-2'],
98
- ['features-list-ul', 'list-square pl-5 mb-6 marker:[color:#00b0f0]'],
99
-
100
- ['features-list-caption', 'mb-2 colon-after text-xl font-textbold block leading-none'],
101
-
102
-
103
-
104
- // Breadcrumbs
105
- ['breadcrumbs-base', 'flex items-center p-0 leading-none list-none text-sm'],
106
- ['breadcrumb-item', 'flex'],
107
- ['breadcrumb-link', 'border-0 cursor-pointer whitespace-nowrap py-4.25 sm:py-1 px-1'],
108
- ['breadcrumb-link-disabled', 'cursor-default pointer-events-none'],
109
- ['breadcrumb-back-btn', 'flex items-center px-3 sm:px-0 py-4.25 sm:py-1 hover:text-accent-light whitespace-nowrap my-auto'],
110
-
111
- // PostCategories
112
- ['category-link-base', 'text-sm sm:text-base text-accent-light uppercase hover:text-blue-500 transition-colors'],
113
- ['category-link-active', 'text-blue-500'],
114
-
115
- // Details table
116
- ['details-table', 'border-none shadow-none w-full md:w-auto'],
117
- ['details-table-row', 'border-none'],
118
- ['details-table-header', 'leading-none text-3.5 py-2 border-none xl:py-4 3xl:text-4 px-0 text-left'],
119
- ['details-table-cell', 'relative'],
120
- ['details-table-col', 'w-1/2 md:w-auto'],
121
- ['link-primary', 'leading-none text-brand-primary hover:text-accent-light hover:underline'],
122
-
123
-
1
+ // shortcuts/components.ts
2
+ import {
3
+ COLORS,
4
+ IMAGE_STYLES,
5
+ LAYOUT,
6
+ TRANSITIONS,
7
+ PRODUCT_STYLES,
8
+ aspectRatios
9
+ } from './constants'
10
+
11
+ export const componentShortcuts = [
12
+ // Product related
13
+ ['product-row', `${COLORS.bgWhite} ${LAYOUT.flex.wrap} odd:(pr-2.5 pl-3.5 sm:px-0) even:(pl-2.5 pr-3.5 sm:px-0) w-1/2 sm:(w-auto grid grid-cols-3) gap-x-1 gap-y-0 md:(${LAYOUT.grid.product} gap-x-4) justify-start content-start content-start place-content-start py-4 pb-6 sm:pb-4`],
14
+
15
+ ['product-row__photo', `${aspectRatios['4/3']} mb-2 sm:mb-0 ${IMAGE_STYLES.overlay} w-100 col-span-1 row-span-3 max-w-full text-left overflow-hidden ${LAYOUT.position.relative} ${COLORS.bgNeutralLightest} md:(col-span-1 row-span-1) box-content`],
16
+ ['product-row__description', `${PRODUCT_STYLES.description.base} mt-2 ${PRODUCT_STYLES.description.md}`],
17
+ ['product-row__main', 'w-full sm:w-auto col-span-2 leading-none relative sm:pl-1 md:(pl-0 row-start-1 col-start-2 col-span-1)'],
18
+
19
+ // Product elements
20
+ ['product-number',`font-novamono content-center flex flex-wrap flex-col content-start pr-5 ${COLORS.bgWhite}`],
21
+
22
+ ['p-number', `${LAYOUT.flex.base} leading-none relative`],
23
+ ['tooltip', 'invisible absolute'],
24
+ ['has-tooltip', 'hover:(visible z-50)'],
25
+ ['product-code', 'text-blue-light mr-1 leading-none tracking-wide select-all'],
26
+ ['product-info', 'text-slate-light text-xxs font-textlight leading-none mt-0.5 md:(mt-0 text-xs)'],
27
+ ['product-date', 'inline-block text-xxs md:text-xs leading-none mt-1 md:(mt-4 mb-1) mr-2'],
28
+ ['product-thumb', PRODUCT_STYLES.thumb.base],
29
+ ['product-thumb--plp', PRODUCT_STYLES.thumb.container],
30
+ ['product-link--related', `${PRODUCT_STYLES.link.base} dark:bg-accent-deepBlue after:bg-accent-light`],
31
+ ['product-model', 'font-400'],
32
+ ['product-button', `text-blue-lightest cursor-pointer text-base leading-none ${LAYOUT.flex.center} w-8 h-8 min-w-8 ${TRANSITIONS.base} ${COLORS.bgWhite} dark:bg-accent-deepBlue focus:(text-blue-lightest) hover:(text-blue-lightest)`],
33
+
34
+ // Category related
35
+ ['category-section', `pb-4 w-full ${COLORS.bgWhite} mb-4 overflow-x-hidden ${LAYOUT.flex.wrap} max-w-full`],
36
+ ['category-tile', `${LAYOUT.flex.wrap} sm:flex-nowrap content-between w-64 min-w-64 lg:(w-28.57% min-w-28.57%) 2xl:(w-24.09% min-w-24.09%) 3xl:(w-19.60% min-w-19.60%) flex ml-1 lg:ml-1.5 first:ml-4`],
37
+ ['category-toggler', `w-8 sm:bg-opacity-20 pt-1 ${LAYOUT.flex.center} hover:text-accent-light text-neutral-light hover:text-blue-lightest px-4 leading-7 pb-0.5 md:pl-0`],
38
+ ['category-link', 'w-full sm:w-auto text-neutral-default hover:(bg-gray-50 sm:bg-inherit) py-2 sm:py-0 text-lg font-medium text-left px-3 block sm:(text-base leading-4 mb-1.5) md:(px-4 py-1 table-cell)'],
39
+ ['category-carousel__link', `uppercase ml-auto px-4 text-xs ${LAYOUT.flex.alignCenter} mt-3 hover:underline`],
40
+
41
+ // Navigation
42
+ ['nav-link', 'text-slate-light hover:bg-blue-darker hover:text-white px-3 py-3.5 md:py-1 rounded-full text-sm font-medium'],
43
+ ['btn-navigation', `${COLORS.bgWhite} drop-shadow-md rounded-full border ${LAYOUT.flex.center} w-1/2 h-12 bottom-1 z-2 md:(bg-white/90 text-inherit hover:(text-accent-light bg-white))`],
44
+ ['btn-navigation__active', 'border border-transparent md:(border-neutral-lighter focus:ring-0) font-medium text-white bg-blue-darker hover:bg-accent-darker focus:ring-2 focus:outline-none focus:ring-blue-300'],
45
+
46
+ // Carousel
47
+ ['carousel-tile', `${LAYOUT.flex.base} w-52 min-w-52 ml-1 lg:ml-1.5`],
48
+ ['carousel-product-tile', `${LAYOUT.flex.wrap} sm:flex-nowrap content-between w-64 min-w-64 lg:(w-28.57% min-w-28.57%) 2xl:(w-24.09% min-w-24.09%) relative`],
49
+ ['carousel-item', `w-full pt-1 w-full group-hover:filter-invert relative ${LAYOUT.flex.col}`],
50
+ ['carousel-big', 'shadow-[inset_0_10px_60px_-15px_rgba(0,0,0,0.1)] w-full h-full'],
51
+
52
+ // PDP (Product Detail Page)
53
+ ['pdp-headline', 'text-2xl mb-4 sm:(font-normal mb-6 text-4xl) lg:pr-0 2xl:text-5xl font-headbold text-black font-bold pr-7 pt-0 leading-none'],
54
+ ['pdp-detail-row', `text-sm mt-1 md:mt-4 mb-4 grid ${LAYOUT.grid.cols2} sm:(grid-cols-details-desktop grid-flow-col auto-cols-max) gap-4`],
55
+ ['pdp-slider-thumb', 'block h-22.5 w-31 min-w-31 mb-2'],
56
+
57
+ // PLP (Product List Page)
58
+ ['plp-name', `${LAYOUT.flex.alignCenter} leading-none font-headregular cursor-pointer sm:pr-6 md:pr-12`],
59
+ ['plp-desc', `hidden sm:block col-span-3 md:col-span-1 md:col-start-3 ${LAYOUT.position.relative} px-2 sm:px-0`],
60
+ ['plp-materials', 'text-xs md:text-sm text-slate-darkest dark:text-neutral-light leading-tight font-textlight md:font-textregular whitespace-normal md:whitespace-pre-wrap'],
61
+ ['plp-b-desc', `pb-4 ${COLORS.bgWhite} text-base ${LAYOUT.flex.wrap} mt-6`],
62
+ ['plp-icons', `${LAYOUT.position.absolute} top-0 -right-2 md:(top-0.5 right-0) w-12 bottom-auto ${LAYOUT.flex.justifyEnd} text-sm`],
63
+ ['plp-replacements', 'col-span-3 md:col-span-1 md:col-start-2 text-xs mt-3 md:mt-4'],
64
+
65
+ // Miscellaneous
66
+ ['flag-ua', 'inline-block text-4xl w-6 h-3.5 min-w-[1.25rem] mr-3 bg-gradient-to-b stops-[#0057b7_50%,50%,#ffd700_100%]'],
67
+ ['engine-info', `${LAYOUT.position.absolute} z-20 inline-block w-56 text-xs font-light text-slate-light ${TRANSITIONS.base} ${COLORS.bgWhite} border border-neutral-lighter rounded-lg shadow-sm dark:text-neutral-default dark:border-slate-default dark:bg-slate-darker bottom-full mb-2 invisible opacity-0 group-hover:(opacity-100 visible -left-full before:left-9) before:(absolute w-0 h-0 -bottom-3 border-l-transparent border-r-transparent border-t-neutral-lightest dark:border-t-slate-dark border-l-10 border-r-10 border-t-10 content-empty)`],
68
+ ['engine-code', 'underline decoration-dotted underline-offset-4 py-0.5 decoration-neutral-light group-hover:(decoration-blue-lightest dark:decoration-accent-light)'],
69
+ ['number-secondary', `block ${LAYOUT.position.absolute} inset-0 text-slate-light select-all ${COLORS.bgWhite} dark:bg-accent-deepBlue`],
70
+ ['code-formatted', 'leading-none mt-0 relative text-xs'],
71
+
72
+ // Badges
73
+ ['badge', 'px-1.5 py-px text-white text-xs mb-1 max-w-fit whitespace-nowrap'],
74
+
75
+ // Details
76
+ ['detail-name', 'text-gray-900 leading-tight font-textlight line-clamp-3 whitespace-normal md:(whitespace-pre-wrap line-clamp-9 font-textregular)'],
77
+ ['detail-row', `text-sm mt-1 md:mt-4 mb-4 grid ${LAYOUT.grid.cols2} gap-4 sm:(grid-cols-details-desktop grid-flow-col auto-cols-max)`],
78
+
79
+ // Slides
80
+ ['slide-bg', 'scale-140 bg-center bg-no-repeat bg-contain h-full w-full absolute top-0 filter-blur overflow-hidden transform bg-gray-200 dark:bg-gray-700'],
81
+ ['slide-img', 'cursor-zoom-in my-auto z-50 h-full max-w-screen-2xl object-center object-contain pointer-events-none'],
82
+ ['slide-pic', `w-full ${LAYOUT.flex.justifyEnd} absolute top-0 bottom-0`],
83
+ ['slide-thumb', `block bg-gray-100 ${aspectRatios['4/3']} w-30 h-22.5 cursor-grab active:cursor-grabbing`],
84
+ ['slide-thumb__img', `pointer-events-none pb-px h-22.5 w-30 m-auto object-cover ${COLORS.bgWhite} dark:bg-accent-deepBlue`],
85
+
86
+ // Product related components
87
+ ['product-carousel', `${LAYOUT.flex.wrap} content-between w-64 min-w-64 ${LAYOUT.flex.base} ml-1 first:ml-4`],
88
+ ['pdp-slide', `h-full bg-gray-100 ${aspectRatios['4/3']} ${LAYOUT.position.relative} overflow-hidden border border-transparent`],
89
+ ['product-link', PRODUCT_STYLES.link.base],
90
+ ['number-big', 'text-3.75 mr-2 mt-2 mb-0 sm:mt-0'],
91
+ ['product-thumb--related', `w-22 min-w-22 xl:w-30 xl:min-w-30 h-auto ${IMAGE_STYLES.objectContain} object-top bg-gray-100 ${aspectRatios['4/3']} ${LAYOUT.position.relative}`],
92
+ ['product-thumb--carousel', `w-60 min-w-60 sm:w-22 sm:min-w-22 xl:w-30 xl:min-w-30 h-auto ${IMAGE_STYLES.objectContain} object-top bg-gray-100 ${aspectRatios['4/3']} ${LAYOUT.position.relative}`],
93
+
94
+
95
+ // FeaturesList component
96
+ ['features-list', 'mb-6'],
97
+ ['features-list-item', 'leading-5 relative mb-2'],
98
+ ['features-list-ul', 'list-square pl-5 mb-6 marker:[color:#00b0f0]'],
99
+
100
+ ['features-list-caption', 'mb-2 colon-after text-xl font-textbold block leading-none'],
101
+
102
+
103
+
104
+ // Breadcrumbs
105
+ ['breadcrumbs-base', 'flex items-center p-0 leading-none list-none text-sm'],
106
+ ['breadcrumb-item', 'flex'],
107
+ ['breadcrumb-link', 'border-0 cursor-pointer whitespace-nowrap py-4.25 sm:py-1 px-1'],
108
+ ['breadcrumb-link-disabled', 'cursor-default pointer-events-none'],
109
+ ['breadcrumb-back-btn', 'flex items-center px-3 sm:px-0 py-4.25 sm:py-1 hover:text-accent-light whitespace-nowrap my-auto'],
110
+
111
+ // PostCategories
112
+ ['category-link-base', 'text-sm sm:text-base text-accent-light uppercase hover:text-blue-500 transition-colors'],
113
+ ['category-link-active', 'text-blue-500'],
114
+
115
+ // Details table
116
+ ['details-table', 'border-none shadow-none w-full md:w-auto'],
117
+ ['details-table-row', 'border-none'],
118
+ ['details-table-header', 'leading-none text-3.5 py-2 border-none xl:py-4 3xl:text-4 px-0 text-left'],
119
+ ['details-table-cell', 'relative'],
120
+ ['details-table-col', 'w-1/2 md:w-auto'],
121
+ ['link-primary', 'leading-none text-brand-primary hover:text-accent-light hover:underline'],
122
+
123
+
124
124
  ];