@vkzstudio/muza-ui 1.2.0 → 1.4.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 (204) hide show
  1. package/dist/components/Accordion/Accordion.d.ts +52 -2
  2. package/dist/components/Accordion/Accordion.d.ts.map +1 -1
  3. package/dist/components/Accordion/Accordion.js +111 -76
  4. package/dist/components/ArticleCard/ArticleCard.d.ts +178 -0
  5. package/dist/components/ArticleCard/ArticleCard.d.ts.map +1 -0
  6. package/dist/components/ArticleCard/ArticleCard.js +542 -0
  7. package/dist/components/ArticleCard/ArticleCard.stories.d.ts +14 -0
  8. package/dist/components/ArticleCard/ArticleCard.stories.d.ts.map +1 -0
  9. package/dist/components/ArticleCard/index.d.ts +2 -0
  10. package/dist/components/ArticleCard/index.d.ts.map +1 -0
  11. package/dist/components/BalanceListView/BalanceListView.examples.d.ts +38 -0
  12. package/dist/components/BalanceListView/BalanceListView.examples.d.ts.map +1 -0
  13. package/dist/components/BalanceListView/BalanceListView.stories.d.ts +8 -0
  14. package/dist/components/BalanceListView/BalanceListView.stories.d.ts.map +1 -0
  15. package/dist/components/ButtonArrow/ButtonArrow.d.ts +3 -3
  16. package/dist/components/ButtonArrow/ButtonArrow.d.ts.map +1 -1
  17. package/dist/components/ButtonArrow/ButtonArrow.js +26 -25
  18. package/dist/components/Calendar/Calendar.d.ts.map +1 -1
  19. package/dist/components/Calendar/Calendar.js +5 -5
  20. package/dist/components/Calendar/index.d.ts +1 -2
  21. package/dist/components/Calendar/index.d.ts.map +1 -1
  22. package/dist/components/Carousel/Carousel.d.ts +9 -0
  23. package/dist/components/Carousel/Carousel.d.ts.map +1 -1
  24. package/dist/components/Carousel/Carousel.js +135 -133
  25. package/dist/components/CarouselSection/CarouselSection.examples.d.ts +34 -0
  26. package/dist/components/CarouselSection/CarouselSection.examples.d.ts.map +1 -0
  27. package/dist/components/CarouselSection/CarouselSection.stories.d.ts +8 -0
  28. package/dist/components/CarouselSection/CarouselSection.stories.d.ts.map +1 -0
  29. package/dist/components/CategoryCard/CategoryCard.d.ts +97 -0
  30. package/dist/components/CategoryCard/CategoryCard.d.ts.map +1 -0
  31. package/dist/components/CategoryCard/CategoryCard.js +152 -0
  32. package/dist/components/CategoryCard/CategoryCard.stories.d.ts +14 -0
  33. package/dist/components/CategoryCard/CategoryCard.stories.d.ts.map +1 -0
  34. package/dist/components/CategoryCard/index.d.ts +2 -0
  35. package/dist/components/CategoryCard/index.d.ts.map +1 -0
  36. package/dist/components/CategoryIcon/CategoryIcon.d.ts +45 -0
  37. package/dist/components/CategoryIcon/CategoryIcon.d.ts.map +1 -0
  38. package/dist/components/CategoryIcon/CategoryIcon.js +54 -0
  39. package/dist/components/CategoryIcon/CategoryIcon.stories.d.ts +10 -0
  40. package/dist/components/CategoryIcon/CategoryIcon.stories.d.ts.map +1 -0
  41. package/dist/components/CategoryIcon/index.d.ts +2 -0
  42. package/dist/components/CategoryIcon/index.d.ts.map +1 -0
  43. package/dist/components/DatePicker/DatePicker.d.ts.map +1 -1
  44. package/dist/components/DatePicker/DatePicker.js +5 -5
  45. package/dist/components/Dialog/Dialog.d.ts +12 -6
  46. package/dist/components/Dialog/Dialog.d.ts.map +1 -1
  47. package/dist/components/Dialog/Dialog.js +116 -120
  48. package/dist/components/Dialog/Dialog.stories.d.ts +1 -0
  49. package/dist/components/Dialog/Dialog.stories.d.ts.map +1 -1
  50. package/dist/components/DotDivider/DotDivider.d.ts +35 -0
  51. package/dist/components/DotDivider/DotDivider.d.ts.map +1 -0
  52. package/dist/components/DotDivider/DotDivider.js +31 -0
  53. package/dist/components/DotDivider/DotDivider.stories.d.ts +10 -0
  54. package/dist/components/DotDivider/DotDivider.stories.d.ts.map +1 -0
  55. package/dist/components/DotDivider/index.d.ts +2 -0
  56. package/dist/components/DotDivider/index.d.ts.map +1 -0
  57. package/dist/components/DropdownMenu/DropdownMenu.d.ts.map +1 -1
  58. package/dist/components/DropdownMenu/DropdownMenu.js +13 -13
  59. package/dist/components/EdgeButton/EdgeButton.d.ts.map +1 -1
  60. package/dist/components/EdgeButton/EdgeButton.js +10 -11
  61. package/dist/components/EmptyState/EmptyState.js +19 -19
  62. package/dist/components/FileUpload/FileItem.d.ts.map +1 -1
  63. package/dist/components/FileUpload/FileItem.js +8 -9
  64. package/dist/components/FileUpload/FileUpload.js +3 -3
  65. package/dist/components/HeartButton/HeartButton.d.ts +61 -0
  66. package/dist/components/HeartButton/HeartButton.d.ts.map +1 -0
  67. package/dist/components/HeartButton/HeartButton.js +88 -0
  68. package/dist/components/HeartButton/HeartButton.stories.d.ts +10 -0
  69. package/dist/components/HeartButton/HeartButton.stories.d.ts.map +1 -0
  70. package/dist/components/HeartButton/index.d.ts +2 -0
  71. package/dist/components/HeartButton/index.d.ts.map +1 -0
  72. package/dist/components/Icons/CustomBadges.d.ts +20 -0
  73. package/dist/components/Icons/CustomBadges.d.ts.map +1 -1
  74. package/dist/components/Icons/CustomBadges.js +176 -21
  75. package/dist/components/Icons/CustomIcons.d.ts +13 -0
  76. package/dist/components/Icons/CustomIcons.d.ts.map +1 -1
  77. package/dist/components/Icons/CustomIcons.js +50 -30
  78. package/dist/components/Icons/LogosAndBadges.stories.d.ts +2 -1
  79. package/dist/components/Icons/LogosAndBadges.stories.d.ts.map +1 -1
  80. package/dist/components/InputOTP/InputOTP.d.ts +95 -0
  81. package/dist/components/InputOTP/InputOTP.d.ts.map +1 -0
  82. package/dist/components/InputOTP/InputOTP.js +187 -0
  83. package/dist/components/InputOTP/InputOTP.stories.d.ts +18 -0
  84. package/dist/components/InputOTP/InputOTP.stories.d.ts.map +1 -0
  85. package/dist/components/InputOTP/index.d.ts +3 -0
  86. package/dist/components/InputOTP/index.d.ts.map +1 -0
  87. package/dist/components/InputOTP/useWebOtpAutofill.d.ts +33 -0
  88. package/dist/components/InputOTP/useWebOtpAutofill.d.ts.map +1 -0
  89. package/dist/components/InputOTP/useWebOtpAutofill.js +25 -0
  90. package/dist/components/LanguageSwitcher/LanguageSwitcher.d.ts.map +1 -1
  91. package/dist/components/LanguageSwitcher/LanguageSwitcher.js +65 -55
  92. package/dist/components/LoginScreen/LoginScreen.d.ts +10 -1
  93. package/dist/components/LoginScreen/LoginScreen.d.ts.map +1 -1
  94. package/dist/components/LoginScreen/LoginScreen.js +23 -17
  95. package/dist/components/MarketNav/MarketNav.examples.d.ts +60 -0
  96. package/dist/components/MarketNav/MarketNav.examples.d.ts.map +1 -0
  97. package/dist/components/MarketNav/MarketNav.stories.d.ts +9 -0
  98. package/dist/components/MarketNav/MarketNav.stories.d.ts.map +1 -0
  99. package/dist/components/MultiSelect/MultiSelect.js +1 -1
  100. package/dist/components/OfferCard/OfferCard.d.ts +206 -0
  101. package/dist/components/OfferCard/OfferCard.d.ts.map +1 -0
  102. package/dist/components/OfferCard/OfferCard.js +423 -0
  103. package/dist/components/OfferCard/OfferCard.stories.d.ts +15 -0
  104. package/dist/components/OfferCard/OfferCard.stories.d.ts.map +1 -0
  105. package/dist/components/OfferCard/index.d.ts +2 -0
  106. package/dist/components/OfferCard/index.d.ts.map +1 -0
  107. package/dist/components/PageContainer/PageContainer.d.ts +53 -0
  108. package/dist/components/PageContainer/PageContainer.d.ts.map +1 -0
  109. package/dist/components/PageContainer/PageContainer.js +49 -0
  110. package/dist/components/PageContainer/PageContainer.stories.d.ts +14 -0
  111. package/dist/components/PageContainer/PageContainer.stories.d.ts.map +1 -0
  112. package/dist/components/PageContainer/index.d.ts +2 -0
  113. package/dist/components/PageContainer/index.d.ts.map +1 -0
  114. package/dist/components/PartnerCard/PartnerCard.d.ts +234 -0
  115. package/dist/components/PartnerCard/PartnerCard.d.ts.map +1 -0
  116. package/dist/components/PartnerCard/PartnerCard.js +591 -0
  117. package/dist/components/PartnerCard/PartnerCard.stories.d.ts +14 -0
  118. package/dist/components/PartnerCard/PartnerCard.stories.d.ts.map +1 -0
  119. package/dist/components/PartnerCard/index.d.ts +2 -0
  120. package/dist/components/PartnerCard/index.d.ts.map +1 -0
  121. package/dist/components/PaymentMethodSelect/PaymentMethodSelect.examples.d.ts +35 -0
  122. package/dist/components/PaymentMethodSelect/PaymentMethodSelect.examples.d.ts.map +1 -0
  123. package/dist/components/PaymentMethodSelect/PaymentMethodSelect.stories.d.ts +11 -0
  124. package/dist/components/PaymentMethodSelect/PaymentMethodSelect.stories.d.ts.map +1 -0
  125. package/dist/components/Rating/Rating.d.ts +62 -0
  126. package/dist/components/Rating/Rating.d.ts.map +1 -0
  127. package/dist/components/Rating/Rating.js +88 -0
  128. package/dist/components/Rating/Rating.stories.d.ts +12 -0
  129. package/dist/components/Rating/Rating.stories.d.ts.map +1 -0
  130. package/dist/components/Rating/index.d.ts +2 -0
  131. package/dist/components/Rating/index.d.ts.map +1 -0
  132. package/dist/components/RatingBlock/RatingBlock.d.ts +65 -0
  133. package/dist/components/RatingBlock/RatingBlock.d.ts.map +1 -0
  134. package/dist/components/RatingBlock/RatingBlock.js +92 -0
  135. package/dist/components/RatingBlock/RatingBlock.stories.d.ts +12 -0
  136. package/dist/components/RatingBlock/RatingBlock.stories.d.ts.map +1 -0
  137. package/dist/components/RatingBlock/index.d.ts +2 -0
  138. package/dist/components/RatingBlock/index.d.ts.map +1 -0
  139. package/dist/components/ReorderableTable/ReorderableTable.stories.d.ts.map +1 -1
  140. package/dist/components/ResponsiveLayoutTable/ResponsiveLayoutTable.js +5 -5
  141. package/dist/components/SearchFilters/SearchFilters.d.ts +88 -0
  142. package/dist/components/SearchFilters/SearchFilters.d.ts.map +1 -0
  143. package/dist/components/SearchFilters/SearchFilters.js +176 -0
  144. package/dist/components/SearchFilters/SearchFilters.stories.d.ts +12 -0
  145. package/dist/components/SearchFilters/SearchFilters.stories.d.ts.map +1 -0
  146. package/dist/components/SearchFilters/index.d.ts +2 -0
  147. package/dist/components/SearchFilters/index.d.ts.map +1 -0
  148. package/dist/components/SegmentedControl/SegmentedControl.js +11 -11
  149. package/dist/components/Tag/Tag.d.ts.map +1 -1
  150. package/dist/components/Tag/Tag.js +1 -1
  151. package/dist/components/TransactionsListView/TransactionsListView.d.ts +152 -0
  152. package/dist/components/TransactionsListView/TransactionsListView.d.ts.map +1 -0
  153. package/dist/components/TransactionsListView/TransactionsListView.js +367 -0
  154. package/dist/components/TransactionsListView/TransactionsListView.stories.d.ts +12 -0
  155. package/dist/components/TransactionsListView/TransactionsListView.stories.d.ts.map +1 -0
  156. package/dist/components/TransactionsListView/index.d.ts +2 -0
  157. package/dist/components/TransactionsListView/index.d.ts.map +1 -0
  158. package/dist/components/UniversalFooter/UniversalFooter.d.ts +6 -5
  159. package/dist/components/UniversalFooter/UniversalFooter.d.ts.map +1 -1
  160. package/dist/components/UniversalFooter/UniversalFooter.js +186 -177
  161. package/dist/components/UniversalFooter/UniversalFooter.stories.d.ts.map +1 -1
  162. package/dist/components/VoucherCard/VoucherCard.d.ts +105 -0
  163. package/dist/components/VoucherCard/VoucherCard.d.ts.map +1 -0
  164. package/dist/components/VoucherCard/VoucherCard.js +167 -0
  165. package/dist/components/VoucherCard/VoucherCard.stories.d.ts +9 -0
  166. package/dist/components/VoucherCard/VoucherCard.stories.d.ts.map +1 -0
  167. package/dist/components/VoucherCard/index.d.ts +2 -0
  168. package/dist/components/VoucherCard/index.d.ts.map +1 -0
  169. package/dist/components/index.d.ts +14 -0
  170. package/dist/components/index.d.ts.map +1 -1
  171. package/dist/index.js +413 -352
  172. package/dist/muza-ui.css +1 -1
  173. package/dist/styles/primitives.css +5 -0
  174. package/dist/styles/token-colors.css +106 -30
  175. package/dist/styles/token-sizes.css +60 -16
  176. package/dist/translations/index.d.ts +2 -1
  177. package/dist/translations/index.d.ts.map +1 -1
  178. package/dist/translations/locales/cs.d.ts.map +1 -1
  179. package/dist/translations/locales/cs.js +30 -2
  180. package/dist/translations/locales/en.d.ts.map +1 -1
  181. package/dist/translations/locales/en.js +26 -2
  182. package/dist/translations/locales/sk.d.ts.map +1 -1
  183. package/dist/translations/locales/sk.js +30 -2
  184. package/dist/translations/resolvePluralTemplate.d.ts +10 -0
  185. package/dist/translations/resolvePluralTemplate.d.ts.map +1 -0
  186. package/dist/translations/resolvePluralTemplate.js +20 -0
  187. package/dist/translations/types.d.ts +57 -0
  188. package/dist/translations/types.d.ts.map +1 -1
  189. package/dist/utils/cn.d.ts.map +1 -1
  190. package/dist/utils/cn.js +124 -27
  191. package/dist/utils/disabledLinkProps.d.ts +14 -0
  192. package/dist/utils/disabledLinkProps.d.ts.map +1 -0
  193. package/dist/utils/disabledLinkProps.js +9 -0
  194. package/dist/{components/Calendar/utils → utils}/formatDate.d.ts +1 -1
  195. package/dist/utils/formatDate.d.ts.map +1 -0
  196. package/dist/utils/formatDateRange.d.ts.map +1 -0
  197. package/dist/utils/index.d.ts +3 -0
  198. package/dist/utils/index.d.ts.map +1 -1
  199. package/package.json +4 -3
  200. package/dist/components/Calendar/utils/formatDate.d.ts.map +0 -1
  201. package/dist/components/Calendar/utils/formatDateRange.d.ts.map +0 -1
  202. /package/dist/{components/Calendar/utils → utils}/formatDate.js +0 -0
  203. /package/dist/{components/Calendar/utils → utils}/formatDateRange.d.ts +0 -0
  204. /package/dist/{components/Calendar/utils → utils}/formatDateRange.js +0 -0
@@ -1,4 +1,4 @@
1
- const e = {
1
+ const a = {
2
2
  alert: {
3
3
  closeAriaLabel: "Zavřít"
4
4
  },
@@ -104,8 +104,36 @@ const e = {
104
104
  navigation: "Stránkování",
105
105
  pageAnnouncement: "Stránka {current} z {max}",
106
106
  showingItems: "Zobrazeny položky {start} až {end} z {total}"
107
+ },
108
+ articleCard: {
109
+ readArticle: "Přečíst článek",
110
+ readingTime: (e) => `${e} min čtení`
111
+ },
112
+ heartButton: {
113
+ toggleFavorite: "Přepnout oblíbené"
114
+ },
115
+ partnerCard: {
116
+ mapButton: "Mapa"
117
+ },
118
+ rating: {
119
+ groupLabel: "Hodnocení",
120
+ starLabel: {
121
+ one: "{count} hvězda",
122
+ few: "{count} hvězdy",
123
+ many: "{count} hvězd",
124
+ other: "{count} hvězd"
125
+ }
126
+ },
127
+ ratingBlock: {
128
+ users: {
129
+ one: "Hodnotil {count} uživatel",
130
+ few: "Hodnotili {count} uživatelé",
131
+ many: "Hodnotilo {count} uživatelů",
132
+ other: "Hodnotilo {count} uživatelů"
133
+ },
134
+ empty: "Zatím nikdo nehodnotil"
107
135
  }
108
136
  };
109
137
  export {
110
- e as csTranslations
138
+ a as csTranslations
111
139
  };
@@ -1 +1 @@
1
- {"version":3,"file":"en.d.ts","sourceRoot":"","sources":["../../../src/translations/locales/en.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAA;AAEhD,eAAO,MAAM,cAAc,EAAE,gBA2G5B,CAAA"}
1
+ {"version":3,"file":"en.d.ts","sourceRoot":"","sources":["../../../src/translations/locales/en.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAA;AAEhD,eAAO,MAAM,cAAc,EAAE,gBAmI5B,CAAA"}
@@ -1,4 +1,4 @@
1
- const e = {
1
+ const a = {
2
2
  alert: {
3
3
  closeAriaLabel: "Close"
4
4
  },
@@ -104,8 +104,32 @@ const e = {
104
104
  navigation: "Pagination",
105
105
  pageAnnouncement: "Page {current} of {max}",
106
106
  showingItems: "Showing items {start} to {end} of {total}"
107
+ },
108
+ articleCard: {
109
+ readArticle: "Read article",
110
+ readingTime: (e) => `${e} min read`
111
+ },
112
+ heartButton: {
113
+ toggleFavorite: "Toggle favorite"
114
+ },
115
+ partnerCard: {
116
+ mapButton: "Map"
117
+ },
118
+ rating: {
119
+ groupLabel: "Rating",
120
+ starLabel: {
121
+ one: "{count} star",
122
+ other: "{count} stars"
123
+ }
124
+ },
125
+ ratingBlock: {
126
+ users: {
127
+ one: "Rated by {count} user",
128
+ other: "Rated by {count} users"
129
+ },
130
+ empty: "No ratings yet"
107
131
  }
108
132
  };
109
133
  export {
110
- e as enTranslations
134
+ a as enTranslations
111
135
  };
@@ -1 +1 @@
1
- {"version":3,"file":"sk.d.ts","sourceRoot":"","sources":["../../../src/translations/locales/sk.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAA;AAEhD,eAAO,MAAM,cAAc,EAAE,gBA2G5B,CAAA"}
1
+ {"version":3,"file":"sk.d.ts","sourceRoot":"","sources":["../../../src/translations/locales/sk.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAA;AAEhD,eAAO,MAAM,cAAc,EAAE,gBAuI5B,CAAA"}
@@ -1,4 +1,4 @@
1
- const a = {
1
+ const e = {
2
2
  alert: {
3
3
  closeAriaLabel: "Zavrieť"
4
4
  },
@@ -104,8 +104,36 @@ const a = {
104
104
  navigation: "Stránkovanie",
105
105
  pageAnnouncement: "Stránka {current} z {max}",
106
106
  showingItems: "Zobrazené položky {start} až {end} z {total}"
107
+ },
108
+ articleCard: {
109
+ readArticle: "Prečítať článok",
110
+ readingTime: (a) => `${a} min čítania`
111
+ },
112
+ heartButton: {
113
+ toggleFavorite: "Prepnúť obľúbené"
114
+ },
115
+ partnerCard: {
116
+ mapButton: "Mapa"
117
+ },
118
+ rating: {
119
+ groupLabel: "Hodnotenie",
120
+ starLabel: {
121
+ one: "{count} hviezda",
122
+ few: "{count} hviezdy",
123
+ many: "{count} hviezd",
124
+ other: "{count} hviezd"
125
+ }
126
+ },
127
+ ratingBlock: {
128
+ users: {
129
+ one: "Hodnotil {count} používateľ",
130
+ few: "Hodnotili {count} používatelia",
131
+ many: "Hodnotilo {count} používateľov",
132
+ other: "Hodnotilo {count} používateľov"
133
+ },
134
+ empty: "Zatiaľ nikto nehodnotil"
107
135
  }
108
136
  };
109
137
  export {
110
- a as skTranslations
138
+ e as skTranslations
111
139
  };
@@ -0,0 +1,10 @@
1
+ export type PluralTemplateMap = {
2
+ zero?: string;
3
+ one?: string;
4
+ two?: string;
5
+ few?: string;
6
+ many?: string;
7
+ other: string;
8
+ };
9
+ export declare const resolvePluralTemplate: (count: number, locale: string, pluralMap: PluralTemplateMap) => string;
10
+ //# sourceMappingURL=resolvePluralTemplate.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"resolvePluralTemplate.d.ts","sourceRoot":"","sources":["../../src/translations/resolvePluralTemplate.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,iBAAiB,GAAG;IAC9B,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,KAAK,EAAE,MAAM,CAAA;CACd,CAAA;AAUD,eAAO,MAAM,qBAAqB,GAChC,OAAO,MAAM,EACb,QAAQ,MAAM,EACd,WAAW,iBAAiB,KAC3B,MAWF,CAAA"}
@@ -0,0 +1,20 @@
1
+ const c = [
2
+ "one",
3
+ "two",
4
+ "few",
5
+ "many",
6
+ "other"
7
+ ], a = (r, l, t) => {
8
+ const o = new Intl.PluralRules(l).select(r), s = [
9
+ o,
10
+ ...c.filter((e) => e !== o)
11
+ ];
12
+ for (const e of s) {
13
+ const n = t[e];
14
+ if (typeof n == "string") return n;
15
+ }
16
+ return t.other;
17
+ };
18
+ export {
19
+ a as resolvePluralTemplate
20
+ };
@@ -1,4 +1,5 @@
1
1
  import { Locale } from 'date-fns';
2
+ import { PluralTemplateMap } from './resolvePluralTemplate';
2
3
  /**
3
4
  * Built-in supported locale codes
4
5
  */
@@ -178,6 +179,34 @@ export interface PaginationTranslations {
178
179
  /** Aria label for the page info text. Use {start}, {end}, and {total} placeholders. */
179
180
  showingItems: string;
180
181
  }
182
+ /**
183
+ * Rating component translations
184
+ */
185
+ export interface RatingTranslations {
186
+ /** Accessible label for the rating group container (e.g. "Rating"). */
187
+ groupLabel: string;
188
+ /**
189
+ * Plural forms for individual star aria-labels, keyed by `Intl.PluralRules`
190
+ * categories. Only `other` is required. Missing keys fall back via the chain
191
+ * `one → two → few → many → other`. Use the `{count}` placeholder for the
192
+ * star number (e.g. "{count} stars" → "3 stars").
193
+ */
194
+ starLabel: PluralTemplateMap;
195
+ }
196
+ /**
197
+ * RatingBlock component translations
198
+ */
199
+ export interface RatingBlockTranslations {
200
+ /**
201
+ * Plural forms for the review-count caption, keyed by `Intl.PluralRules` categories.
202
+ * Only `other` is required. Missing keys fall back via the chain
203
+ * `one → two → few → many → other`. Use the `{count}` placeholder for the
204
+ * formatted review count.
205
+ */
206
+ users: PluralTemplateMap;
207
+ /** Caption shown when `reviewsCount` is 0. */
208
+ empty: string;
209
+ }
181
210
  /**
182
211
  * ReorderableTable component translations
183
212
  */
@@ -185,6 +214,29 @@ export interface ReorderableTableTranslations {
185
214
  dragHandleAriaLabel: string;
186
215
  listAriaLabel: string;
187
216
  }
217
+ /**
218
+ * ArticleCard component translations
219
+ */
220
+ export interface ArticleCardTranslations {
221
+ /** Label for the inline "Read article" CTA. */
222
+ readArticle: string;
223
+ /** Builds the reading-time label rendered next to the publication date. Receives the duration in minutes. */
224
+ readingTime: (minutes: number) => string;
225
+ }
226
+ /**
227
+ * HeartButton component translations
228
+ */
229
+ export interface HeartButtonTranslations {
230
+ /** Default aria-label for the favorite toggle button. */
231
+ toggleFavorite: string;
232
+ }
233
+ /**
234
+ * PartnerCard component translations
235
+ */
236
+ export interface PartnerCardTranslations {
237
+ /** Label for the inline "Map" button rendered in the search variant. */
238
+ mapButton: string;
239
+ }
188
240
  /**
189
241
  * Complete translations object for all muza-ui components
190
242
  */
@@ -206,6 +258,11 @@ export interface MuzaTranslations {
206
258
  textEditor: TextEditorTranslations;
207
259
  reorderableTable: ReorderableTableTranslations;
208
260
  pagination: PaginationTranslations;
261
+ articleCard: ArticleCardTranslations;
262
+ heartButton: HeartButtonTranslations;
263
+ partnerCard: PartnerCardTranslations;
264
+ rating: RatingTranslations;
265
+ ratingBlock: RatingBlockTranslations;
209
266
  }
210
267
  /**
211
268
  * Utility type for partial/deep overrides of translations
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/translations/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,UAAU,CAAA;AAEtC;;GAEG;AACH,MAAM,MAAM,eAAe,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAA;AAEhD;;GAEG;AACH,MAAM,MAAM,UAAU,GAClB,OAAO,GACP,WAAW,GACX,WAAW,GACX,WAAW,GACX,aAAa,GACb,cAAc,GACd,cAAc,GACd,cAAc,GACd,WAAW,GACX,WAAW,CAAA;AAEf;;GAEG;AACH,MAAM,WAAW,gBAAgB;IAC/B,IAAI,EAAE,MAAM,CAAA;IACZ,IAAI,EAAE,UAAU,CAAA;CACjB;AAED;;GAEG;AACH,MAAM,WAAW,oBAAoB;IACnC,aAAa,EAAE,MAAM,CAAA;IACrB,WAAW,EAAE,MAAM,CAAA;IACnB,iBAAiB,EAAE,MAAM,CAAA;CAC1B;AAED;;GAEG;AACH,MAAM,WAAW,oBAAoB;IACnC,gDAAgD;IAChD,iBAAiB,EAAE,MAAM,CAAA;IACzB,4CAA4C;IAC5C,aAAa,EAAE,MAAM,CAAA;IACrB,6CAA6C;IAC7C,aAAa,EAAE,MAAM,CAAA;IACrB,qEAAqE;IACrE,YAAY,EAAE,MAAM,CAAA;CACrB;AAED;;GAEG;AACH,MAAM,WAAW,sBAAsB;IACrC,mDAAmD;IACnD,cAAc,EAAE,gBAAgB,EAAE,CAAA;IAClC,gEAAgE;IAChE,kBAAkB,EAAE,MAAM,CAAA;CAC3B;AAED;;GAEG;AACH,MAAM,WAAW,sBAAsB;IACrC,KAAK,EAAE,MAAM,CAAA;IACb,iDAAiD;IACjD,YAAY,EAAE,MAAM,CAAA;IACpB,iDAAiD;IACjD,aAAa,EAAE,MAAM,CAAA;IACrB,eAAe,EAAE,MAAM,CAAA;IACvB,WAAW,EAAE,MAAM,CAAA;IACn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,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAChE,CAAA;AAED;;GAEG;AACH,MAAM,WAAW,kBAAkB;IACjC,YAAY,EAAE,gBAAgB,CAAA;IAC9B,aAAa,EAAE,MAAM,CAAA;CACtB;AAED;;GAEG;AACH,MAAM,WAAW,iBAAiB;IAChC,+CAA+C;IAC/C,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,kDAAkD;IAClD,YAAY,CAAC,EAAE,WAAW,CAAC,gBAAgB,CAAC,CAAA;IAC5C,uDAAuD;IACvD,aAAa,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,kBAAkB,CAAC,CAAA;IAClD,2DAA2D;IAC3D,mBAAmB,CAAC,EAAE,OAAO,CAAA;CAC9B"}
@@ -1 +1 @@
1
- {"version":3,"file":"cn.d.ts","sourceRoot":"","sources":["../../src/utils/cn.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,UAAU,EAAQ,MAAM,MAAM,CAAA;AAwT5C,eAAO,MAAM,EAAE,GAAI,GAAG,QAAQ,UAAU,EAAE,WAEzC,CAAA"}
1
+ {"version":3,"file":"cn.d.ts","sourceRoot":"","sources":["../../src/utils/cn.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,UAAU,EAAQ,MAAM,MAAM,CAAA;AAyZ5C,eAAO,MAAM,EAAE,GAAI,GAAG,QAAQ,UAAU,EAAE,WAEzC,CAAA"}
package/dist/utils/cn.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { clsx as p } from "clsx";
2
- import { extendTailwindMerge as e } from "tailwind-merge";
2
+ import { extendTailwindMerge as a } from "tailwind-merge";
3
3
  const o = [
4
4
  "none",
5
5
  "2xs",
@@ -82,9 +82,6 @@ const o = [
82
82
  "comp-calendar-radius-card",
83
83
  "comp-calendar-window-size",
84
84
  "comp-calendar-radius-window",
85
- "comp-card-category-ico-size",
86
- "comp-card-category-p",
87
- "comp-card-category-h",
88
85
  "comp-card-dashboard-p",
89
86
  "comp-card-dashboard-ico-bg-size",
90
87
  "comp-card-dashboard-p-right",
@@ -99,19 +96,6 @@ const o = [
99
96
  "comp-card-checkout-radius",
100
97
  "comp-card-checkout-p-hor",
101
98
  "comp-card-checkout-p-ver",
102
- "comp-card-magazine-radius",
103
- "comp-card-magazine-p-bottom",
104
- "comp-card-magazine-p",
105
- "comp-card-muzain-radius",
106
- "comp-card-muzain-p-hor",
107
- "comp-card-muzain-p-ver",
108
- "comp-card-offer-gap",
109
- "comp-card-offer-p-top",
110
- "comp-card-offer-p",
111
- "comp-card-offer-p-bottom",
112
- "comp-card-offer-radius",
113
- "comp-card-offer-logo-size",
114
- "comp-card-offer-h",
115
99
  "comp-carousel-circle-size",
116
100
  "comp-carousel-gap",
117
101
  "comp-carousel-arrow-offset",
@@ -142,7 +126,6 @@ const o = [
142
126
  "comp-dialog-android-p-hor-sm",
143
127
  "comp-dialog-android-p-hor-def",
144
128
  "comp-dialog-android-p-ver-def",
145
- "comp-dot-size-divider",
146
129
  "comp-dot-size-placeholder",
147
130
  "comp-dropdown-menu-radius-item",
148
131
  "comp-dropdown-menu-radius",
@@ -157,10 +140,6 @@ const o = [
157
140
  "comp-help-button-radius-left",
158
141
  "comp-help-button-p",
159
142
  "comp-help-button-h",
160
- "comp-hero-card-gap-sm",
161
- "comp-hero-card-gap-def",
162
- "comp-hero-card-p-sm",
163
- "comp-hero-card-p-def",
164
143
  "comp-input-gap",
165
144
  "comp-input-radius-pin",
166
145
  "comp-input-spacing-pin",
@@ -177,13 +156,19 @@ const o = [
177
156
  "comp-market-card-p-ver",
178
157
  "comp-market-card-ico-bg-size",
179
158
  "comp-market-category-ico-ico-size-sm",
159
+ "comp-market-category-ico-ico-size-md",
180
160
  "comp-market-category-ico-bg-size-sm",
161
+ "comp-market-category-ico-bg-size-md",
181
162
  "comp-market-category-ico-ico-size-lg",
182
163
  "comp-market-category-ico-bg-size-lg",
183
164
  "comp-notification-gap",
184
165
  "comp-notification-radius",
185
166
  "comp-notification-p-hor",
186
167
  "comp-notification-p-ver",
168
+ "comp-offer-card-compact-logo-y",
169
+ "comp-offer-card-compact-logo-x",
170
+ "comp-offer-card-search-logo-stroke",
171
+ "comp-offer-card-search-logo-size",
187
172
  "comp-paggination-size",
188
173
  "comp-paygate-card-p-hor",
189
174
  "comp-paygate-card-p-ver",
@@ -214,7 +199,6 @@ const o = [
214
199
  "comp-select-radius",
215
200
  "comp-select-icon-size",
216
201
  "comp-sheet-gap",
217
- "comp-sheet-p-hor-def",
218
202
  "comp-sheet-p-ver-def",
219
203
  "comp-sheet-h-sm",
220
204
  "comp-sheet-h-md",
@@ -294,8 +278,121 @@ const o = [
294
278
  "layout-p-bottom",
295
279
  "layout-p-standard",
296
280
  "layout-w-admin-settings",
297
- "layout-admin-max-w"
298
- ], a = e({
281
+ "layout-admin-max-w",
282
+ "comp-article-card-compact-gap",
283
+ "comp-article-card-compact-p-hor",
284
+ "comp-article-card-compact-p-img",
285
+ "comp-article-card-compact-p-ver",
286
+ "comp-article-card-compact-radius",
287
+ "comp-article-card-hero-large-gap-tags",
288
+ "comp-article-card-hero-large-p",
289
+ "comp-article-card-hero-large-p-bottom",
290
+ "comp-article-card-hero-large-radius",
291
+ "comp-article-card-hero-large-text-max-w",
292
+ "comp-article-card-search-gap",
293
+ "comp-article-card-search-gap-text",
294
+ "comp-article-card-search-h-img",
295
+ "comp-article-card-search-p-img",
296
+ "comp-article-card-search-p-top-text",
297
+ "comp-article-card-search-radius-img",
298
+ "comp-article-card-search-w-img",
299
+ "comp-bar-banner-h",
300
+ "comp-bar-banner-p",
301
+ "comp-button-arrow-bg-size-lg",
302
+ "comp-card-checkbox-p-bottom",
303
+ "comp-card-checkbox-p-hor",
304
+ "comp-card-checkbox-p-ver",
305
+ "comp-card-checkbox-radius",
306
+ "comp-card-default-p-hor",
307
+ "comp-card-default-p-ver",
308
+ "comp-card-default-radius",
309
+ "comp-carousel-radius",
310
+ "comp-dot-divider-default",
311
+ "comp-help-banner-gap",
312
+ "comp-help-banner-p-hor",
313
+ "comp-help-banner-p-top",
314
+ "comp-help-banner-p-ver",
315
+ "comp-help-banner-radius-def",
316
+ "comp-help-banner-radius-sm",
317
+ "comp-input-dot-size",
318
+ "comp-inputotp-dot-size",
319
+ "comp-map-filters-gap",
320
+ "comp-map-filters-p-hor",
321
+ "comp-map-filters-p-ver",
322
+ "comp-market-logo-h",
323
+ "comp-market-nav-benefits-max-w",
324
+ "comp-market-nav-benefits-min-w",
325
+ "comp-market-nav-benefits-respo-min-w",
326
+ "comp-market-nav-select-max-w",
327
+ "comp-offer-card-compact-gap",
328
+ "comp-offer-card-compact-logo-size",
329
+ "comp-offer-card-compact-logo-x",
330
+ "comp-offer-card-compact-logo-y",
331
+ "comp-offer-card-compact-p",
332
+ "comp-offer-card-compact-p-img",
333
+ "comp-offer-card-compact-p-top",
334
+ "comp-offer-card-compact-radius",
335
+ "comp-offer-card-search-gap",
336
+ "comp-offer-card-search-gap-text",
337
+ "comp-offer-card-search-h-img",
338
+ "comp-offer-card-search-logo-size",
339
+ "comp-offer-card-search-logo-stroke",
340
+ "comp-offer-card-search-p-img",
341
+ "comp-offer-card-search-p-top-text",
342
+ "comp-offer-card-search-radius-img",
343
+ "comp-offer-card-search-w-img",
344
+ "comp-partner-card-hero-large-gap",
345
+ "comp-partner-card-hero-large-p",
346
+ "comp-partner-card-hero-large-radius",
347
+ "comp-partner-card-hero-large-text-max-w",
348
+ "comp-partner-card-hero-sm-gap",
349
+ "comp-partner-card-hero-sm-p",
350
+ "comp-partner-card-hero-sm-radius",
351
+ "comp-partner-card-list-view-gap",
352
+ "comp-partner-card-list-view-h-img",
353
+ "comp-partner-card-list-view-p-img",
354
+ "comp-partner-card-list-view-radius-img",
355
+ "comp-partner-card-list-view-w-img",
356
+ "comp-partner-card-search-gap",
357
+ "comp-partner-card-search-gap-text",
358
+ "comp-partner-card-search-h-img",
359
+ "comp-partner-card-search-logo-size",
360
+ "comp-partner-card-search-logo-stroke",
361
+ "comp-partner-card-search-p-img",
362
+ "comp-partner-card-search-p-top-text",
363
+ "comp-partner-card-search-radius-img",
364
+ "comp-partner-card-search-w-img",
365
+ "comp-payment-card-logo-size",
366
+ "comp-progress-h-lg",
367
+ "comp-progress-h-md",
368
+ "comp-progress-h-sm",
369
+ "comp-progress-radius",
370
+ "comp-sheet-p",
371
+ "comp-sheet-p-ver-sm",
372
+ "comp-sheet-radius",
373
+ "comp-slider-radius-track",
374
+ "comp-slider-thumb-size-lg",
375
+ "comp-slider-thumb-size-md",
376
+ "comp-slider-thumb-size-sm",
377
+ "comp-slider-track-h-lg",
378
+ "comp-slider-track-h-md",
379
+ "comp-slider-track-h-sm",
380
+ "comp-voucher-listview-gap",
381
+ "comp-voucher-listview-h-img",
382
+ "comp-voucher-listview-p",
383
+ "comp-voucher-listview-radius-img",
384
+ "comp-voucher-listview-w-img",
385
+ "layout-login-p-hor",
386
+ "layout-login-p-ver",
387
+ "layout-market-max-w",
388
+ "comp-category-card-img-size",
389
+ "comp-category-card-radius-img",
390
+ "comp-client-list-icon-bg-size",
391
+ "comp-client-list-radius",
392
+ "comp-dropdown-menu-market-min-w",
393
+ "comp-map-pin-card-p",
394
+ "comp-map-pin-card-radius"
395
+ ], e = a({
299
396
  extend: {
300
397
  theme: {
301
398
  spacing: o,
@@ -303,7 +400,7 @@ const o = [
303
400
  },
304
401
  classGroups: {}
305
402
  }
306
- }), r = (...c) => a(p(c));
403
+ }), t = (...c) => e(p(c));
307
404
  export {
308
- r as cn
405
+ t as cn
309
406
  };
@@ -0,0 +1,14 @@
1
+ import type * as React from 'react';
2
+ /**
3
+ * Props to spread onto a link element (or a cloned consumer link via `asChild`)
4
+ * to make it non-navigable while disabled. Library-agnostic: removes the
5
+ * element from the tab order and blocks activation even when the navigation
6
+ * target is not `href` (e.g. React Router's `to`).
7
+ */
8
+ export declare const disabledLinkProps: {
9
+ href: undefined;
10
+ tabIndex: number;
11
+ 'aria-disabled': true;
12
+ onClick: (event: React.MouseEvent) => void;
13
+ };
14
+ //# sourceMappingURL=disabledLinkProps.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"disabledLinkProps.d.ts","sourceRoot":"","sources":["../../src/utils/disabledLinkProps.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,KAAK,MAAM,OAAO,CAAA;AAEnC;;;;;GAKG;AACH,eAAO,MAAM,iBAAiB;;;;qBAIX,KAAK,CAAC,UAAU;CACgB,CAAA"}
@@ -0,0 +1,9 @@
1
+ const a = {
2
+ href: void 0,
3
+ tabIndex: -1,
4
+ "aria-disabled": !0,
5
+ onClick: (e) => e.preventDefault()
6
+ };
7
+ export {
8
+ a as disabledLinkProps
9
+ };
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Formats a single date as `"d. M. yyyy"` (e.g. `"26. 9. 2025"`).
3
- * Used as the default `dateFormatter` in Calendar and DatePicker.
3
+ * Used as the default `dateFormatter` in Calendar, DatePicker, and ArticleCard.
4
4
  */
5
5
  export declare const formatDate: (date: Date) => string;
6
6
  //# sourceMappingURL=formatDate.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"formatDate.d.ts","sourceRoot":"","sources":["../../src/utils/formatDate.ts"],"names":[],"mappings":"AAEA;;;GAGG;AACH,eAAO,MAAM,UAAU,GAAI,MAAM,IAAI,WAEpC,CAAA"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"formatDateRange.d.ts","sourceRoot":"","sources":["../../src/utils/formatDateRange.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAA;AAEjD;;;;GAIG;AACH,eAAO,MAAM,eAAe,GAAI,OAAO,SAAS,WAI/C,CAAA"}
@@ -1,3 +1,6 @@
1
1
  export * from './cn';
2
+ export * from './disabledLinkProps';
3
+ export * from './formatDate';
4
+ export * from './formatDateRange';
2
5
  export * from './spacing';
3
6
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/utils/index.ts"],"names":[],"mappings":"AAAA,cAAc,MAAM,CAAA;AACpB,cAAc,WAAW,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/utils/index.ts"],"names":[],"mappings":"AAAA,cAAc,MAAM,CAAA;AACpB,cAAc,qBAAqB,CAAA;AACnC,cAAc,cAAc,CAAA;AAC5B,cAAc,mBAAmB,CAAA;AACjC,cAAc,WAAW,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vkzstudio/muza-ui",
3
- "version": "1.2.0",
3
+ "version": "1.4.0",
4
4
  "description": "React component library built with Vite, shadcn/ui, and Tailwind CSS",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -88,6 +88,7 @@
88
88
  "date-fns": "^4.1.0",
89
89
  "embla-carousel-react": "^8.6.0",
90
90
  "framer-motion": "^12.29.0",
91
+ "input-otp": "^1.4.2",
91
92
  "motion": "^12.29.0",
92
93
  "next-themes": "^0.4.6",
93
94
  "photoswipe": "^5.4.4",
@@ -107,8 +108,10 @@
107
108
  "react-dom": "^18.3.1"
108
109
  },
109
110
  "devDependencies": {
111
+ "@axe-core/playwright": "^4.11.3",
110
112
  "@changesets/changelog-github": "^0.7.0",
111
113
  "@changesets/cli": "^2.31.0",
114
+ "@playwright/test": "^1.58.2",
112
115
  "@storybook/addon-designs": "^10.0.2",
113
116
  "@storybook/addon-docs": "^9.1.8",
114
117
  "@storybook/addon-links": "^9.1.8",
@@ -116,8 +119,6 @@
116
119
  "@storybook/react-vite": "^9.1.8",
117
120
  "@storybook/testing-library": "^0.2.2",
118
121
  "@tailwindcss/vite": "^4.1.11",
119
- "@axe-core/playwright": "^4.11.3",
120
- "@playwright/test": "^1.58.2",
121
122
  "@trivago/prettier-plugin-sort-imports": "^5.2.2",
122
123
  "@types/node": "^25.5.0",
123
124
  "@types/react": "^18.3.23",
@@ -1 +0,0 @@
1
- {"version":3,"file":"formatDate.d.ts","sourceRoot":"","sources":["../../../../src/components/Calendar/utils/formatDate.ts"],"names":[],"mappings":"AAEA;;;GAGG;AACH,eAAO,MAAM,UAAU,GAAI,MAAM,IAAI,WAEpC,CAAA"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"formatDateRange.d.ts","sourceRoot":"","sources":["../../../../src/components/Calendar/utils/formatDateRange.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAA;AAEjD;;;;GAIG;AACH,eAAO,MAAM,eAAe,GAAI,OAAO,SAAS,WAI/C,CAAA"}