@vkzstudio/muza-ui 1.1.0 → 1.3.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.
- package/dist/components/Accordion/Accordion.d.ts +52 -2
- package/dist/components/Accordion/Accordion.d.ts.map +1 -1
- package/dist/components/Accordion/Accordion.js +111 -76
- package/dist/components/ArticleCard/ArticleCard.d.ts +178 -0
- package/dist/components/ArticleCard/ArticleCard.d.ts.map +1 -0
- package/dist/components/ArticleCard/ArticleCard.js +542 -0
- package/dist/components/ArticleCard/ArticleCard.stories.d.ts +14 -0
- package/dist/components/ArticleCard/ArticleCard.stories.d.ts.map +1 -0
- package/dist/components/ArticleCard/index.d.ts +2 -0
- package/dist/components/ArticleCard/index.d.ts.map +1 -0
- package/dist/components/ButtonArrow/ButtonArrow.js +1 -1
- package/dist/components/Calendar/Calendar.d.ts.map +1 -1
- package/dist/components/Calendar/Calendar.js +5 -5
- package/dist/components/Calendar/index.d.ts +1 -2
- package/dist/components/Calendar/index.d.ts.map +1 -1
- package/dist/components/Carousel/Carousel.d.ts +9 -0
- package/dist/components/Carousel/Carousel.d.ts.map +1 -1
- package/dist/components/Carousel/Carousel.js +135 -133
- package/dist/components/CarouselSection/CarouselSection.examples.d.ts +34 -0
- package/dist/components/CarouselSection/CarouselSection.examples.d.ts.map +1 -0
- package/dist/components/CarouselSection/CarouselSection.stories.d.ts +8 -0
- package/dist/components/CarouselSection/CarouselSection.stories.d.ts.map +1 -0
- package/dist/components/CategoryCard/CategoryCard.d.ts +97 -0
- package/dist/components/CategoryCard/CategoryCard.d.ts.map +1 -0
- package/dist/components/CategoryCard/CategoryCard.js +152 -0
- package/dist/components/CategoryCard/CategoryCard.stories.d.ts +14 -0
- package/dist/components/CategoryCard/CategoryCard.stories.d.ts.map +1 -0
- package/dist/components/CategoryCard/index.d.ts +2 -0
- package/dist/components/CategoryCard/index.d.ts.map +1 -0
- package/dist/components/CategoryIcon/CategoryIcon.d.ts +45 -0
- package/dist/components/CategoryIcon/CategoryIcon.d.ts.map +1 -0
- package/dist/components/CategoryIcon/CategoryIcon.js +54 -0
- package/dist/components/CategoryIcon/CategoryIcon.stories.d.ts +10 -0
- package/dist/components/CategoryIcon/CategoryIcon.stories.d.ts.map +1 -0
- package/dist/components/CategoryIcon/index.d.ts +2 -0
- package/dist/components/CategoryIcon/index.d.ts.map +1 -0
- package/dist/components/DatePicker/DatePicker.d.ts.map +1 -1
- package/dist/components/DatePicker/DatePicker.js +5 -5
- package/dist/components/DotDivider/DotDivider.d.ts +35 -0
- package/dist/components/DotDivider/DotDivider.d.ts.map +1 -0
- package/dist/components/DotDivider/DotDivider.js +31 -0
- package/dist/components/DotDivider/DotDivider.stories.d.ts +10 -0
- package/dist/components/DotDivider/DotDivider.stories.d.ts.map +1 -0
- package/dist/components/DotDivider/index.d.ts +2 -0
- package/dist/components/DotDivider/index.d.ts.map +1 -0
- package/dist/components/HeartButton/HeartButton.d.ts +61 -0
- package/dist/components/HeartButton/HeartButton.d.ts.map +1 -0
- package/dist/components/HeartButton/HeartButton.js +88 -0
- package/dist/components/HeartButton/HeartButton.stories.d.ts +10 -0
- package/dist/components/HeartButton/HeartButton.stories.d.ts.map +1 -0
- package/dist/components/HeartButton/index.d.ts +2 -0
- package/dist/components/HeartButton/index.d.ts.map +1 -0
- package/dist/components/Icons/CustomBadges.d.ts +20 -0
- package/dist/components/Icons/CustomBadges.d.ts.map +1 -1
- package/dist/components/Icons/CustomBadges.js +176 -21
- package/dist/components/Icons/CustomIcons.d.ts +13 -0
- package/dist/components/Icons/CustomIcons.d.ts.map +1 -1
- package/dist/components/Icons/CustomIcons.js +50 -30
- package/dist/components/Icons/LogosAndBadges.stories.d.ts +2 -1
- package/dist/components/Icons/LogosAndBadges.stories.d.ts.map +1 -1
- package/dist/components/LanguageSwitcher/LanguageSwitcher.d.ts.map +1 -1
- package/dist/components/LanguageSwitcher/LanguageSwitcher.js +65 -55
- package/dist/components/LoginScreen/LoginScreen.d.ts +21 -2
- package/dist/components/LoginScreen/LoginScreen.d.ts.map +1 -1
- package/dist/components/LoginScreen/LoginScreen.js +32 -26
- package/dist/components/LoginScreen/LoginScreen.stories.d.ts +2 -2
- package/dist/components/LoginScreen/LoginScreen.stories.d.ts.map +1 -1
- package/dist/components/MultiSelect/MultiSelect.js +1 -1
- package/dist/components/OfferCard/OfferCard.d.ts +206 -0
- package/dist/components/OfferCard/OfferCard.d.ts.map +1 -0
- package/dist/components/OfferCard/OfferCard.js +423 -0
- package/dist/components/OfferCard/OfferCard.stories.d.ts +15 -0
- package/dist/components/OfferCard/OfferCard.stories.d.ts.map +1 -0
- package/dist/components/OfferCard/index.d.ts +2 -0
- package/dist/components/OfferCard/index.d.ts.map +1 -0
- package/dist/components/PartnerCard/PartnerCard.d.ts +234 -0
- package/dist/components/PartnerCard/PartnerCard.d.ts.map +1 -0
- package/dist/components/PartnerCard/PartnerCard.js +591 -0
- package/dist/components/PartnerCard/PartnerCard.stories.d.ts +14 -0
- package/dist/components/PartnerCard/PartnerCard.stories.d.ts.map +1 -0
- package/dist/components/PartnerCard/index.d.ts +2 -0
- package/dist/components/PartnerCard/index.d.ts.map +1 -0
- package/dist/components/PaymentMethodSelect/PaymentMethodSelect.examples.d.ts +35 -0
- package/dist/components/PaymentMethodSelect/PaymentMethodSelect.examples.d.ts.map +1 -0
- package/dist/components/PaymentMethodSelect/PaymentMethodSelect.stories.d.ts +11 -0
- package/dist/components/PaymentMethodSelect/PaymentMethodSelect.stories.d.ts.map +1 -0
- package/dist/components/Rating/Rating.d.ts +62 -0
- package/dist/components/Rating/Rating.d.ts.map +1 -0
- package/dist/components/Rating/Rating.js +88 -0
- package/dist/components/Rating/Rating.stories.d.ts +12 -0
- package/dist/components/Rating/Rating.stories.d.ts.map +1 -0
- package/dist/components/Rating/index.d.ts +2 -0
- package/dist/components/Rating/index.d.ts.map +1 -0
- package/dist/components/RatingBlock/RatingBlock.d.ts +65 -0
- package/dist/components/RatingBlock/RatingBlock.d.ts.map +1 -0
- package/dist/components/RatingBlock/RatingBlock.js +92 -0
- package/dist/components/RatingBlock/RatingBlock.stories.d.ts +12 -0
- package/dist/components/RatingBlock/RatingBlock.stories.d.ts.map +1 -0
- package/dist/components/RatingBlock/index.d.ts +2 -0
- package/dist/components/RatingBlock/index.d.ts.map +1 -0
- package/dist/components/ResponsiveLayoutTable/ResponsiveLayoutTable.js +5 -5
- package/dist/components/SearchFilters/SearchFilters.d.ts +88 -0
- package/dist/components/SearchFilters/SearchFilters.d.ts.map +1 -0
- package/dist/components/SearchFilters/SearchFilters.js +176 -0
- package/dist/components/SearchFilters/SearchFilters.stories.d.ts +12 -0
- package/dist/components/SearchFilters/SearchFilters.stories.d.ts.map +1 -0
- package/dist/components/SearchFilters/index.d.ts +2 -0
- package/dist/components/SearchFilters/index.d.ts.map +1 -0
- package/dist/components/Tag/Tag.d.ts.map +1 -1
- package/dist/components/TransactionsListView/TransactionsListView.d.ts +152 -0
- package/dist/components/TransactionsListView/TransactionsListView.d.ts.map +1 -0
- package/dist/components/TransactionsListView/TransactionsListView.js +367 -0
- package/dist/components/TransactionsListView/TransactionsListView.stories.d.ts +12 -0
- package/dist/components/TransactionsListView/TransactionsListView.stories.d.ts.map +1 -0
- package/dist/components/TransactionsListView/index.d.ts +2 -0
- package/dist/components/TransactionsListView/index.d.ts.map +1 -0
- package/dist/components/VoucherCard/VoucherCard.d.ts +105 -0
- package/dist/components/VoucherCard/VoucherCard.d.ts.map +1 -0
- package/dist/components/VoucherCard/VoucherCard.js +167 -0
- package/dist/components/VoucherCard/VoucherCard.stories.d.ts +9 -0
- package/dist/components/VoucherCard/VoucherCard.stories.d.ts.map +1 -0
- package/dist/components/VoucherCard/index.d.ts +2 -0
- package/dist/components/VoucherCard/index.d.ts.map +1 -0
- package/dist/components/index.d.ts +12 -0
- package/dist/components/index.d.ts.map +1 -1
- package/dist/index.js +405 -352
- package/dist/muza-ui.css +1 -1
- package/dist/styles/primitives.css +5 -0
- package/dist/styles/token-colors.css +105 -30
- package/dist/styles/token-sizes.css +24 -0
- package/dist/translations/index.d.ts +2 -1
- package/dist/translations/index.d.ts.map +1 -1
- package/dist/translations/locales/cs.d.ts.map +1 -1
- package/dist/translations/locales/cs.js +30 -2
- package/dist/translations/locales/en.d.ts.map +1 -1
- package/dist/translations/locales/en.js +26 -2
- package/dist/translations/locales/sk.d.ts.map +1 -1
- package/dist/translations/locales/sk.js +30 -2
- package/dist/translations/resolvePluralTemplate.d.ts +10 -0
- package/dist/translations/resolvePluralTemplate.d.ts.map +1 -0
- package/dist/translations/resolvePluralTemplate.js +20 -0
- package/dist/translations/types.d.ts +57 -0
- package/dist/translations/types.d.ts.map +1 -1
- package/dist/utils/cn.d.ts.map +1 -1
- package/dist/utils/cn.js +116 -24
- package/dist/utils/disabledLinkProps.d.ts +14 -0
- package/dist/utils/disabledLinkProps.d.ts.map +1 -0
- package/dist/utils/disabledLinkProps.js +9 -0
- package/dist/{components/Calendar/utils → utils}/formatDate.d.ts +1 -1
- package/dist/utils/formatDate.d.ts.map +1 -0
- package/dist/utils/formatDateRange.d.ts.map +1 -0
- package/dist/utils/index.d.ts +3 -0
- package/dist/utils/index.d.ts.map +1 -1
- package/package.json +1 -1
- package/dist/components/Calendar/utils/formatDate.d.ts.map +0 -1
- package/dist/components/Calendar/utils/formatDateRange.d.ts.map +0 -1
- /package/dist/{components/Calendar/utils → utils}/formatDate.js +0 -0
- /package/dist/{components/Calendar/utils → utils}/formatDateRange.d.ts +0 -0
- /package/dist/{components/Calendar/utils → utils}/formatDateRange.js +0 -0
|
@@ -109,9 +109,11 @@
|
|
|
109
109
|
--color-transparent-brand-8: #5f1eb414;
|
|
110
110
|
--color-transparent-dark-10: #1c1a1f1a;
|
|
111
111
|
--color-transparent-dark-12: #1c1a1f1f;
|
|
112
|
+
--color-transparent-dark-24: #1003213d;
|
|
112
113
|
--color-transparent-dark-70: #100321b2;
|
|
113
114
|
--color-transparent-dark-8: #1c1a1f14;
|
|
114
115
|
--color-transparent-green-15: #14645a26;
|
|
116
|
+
--color-transparent-green-25: #46bfaf40;
|
|
115
117
|
--color-transparent-light-15: #f6f3fe26;
|
|
116
118
|
--color-transparent-light-25: #f6f3fe40;
|
|
117
119
|
--color-transparent-light-40: #c6c0dc66;
|
|
@@ -121,9 +123,12 @@
|
|
|
121
123
|
--color-transparent-red-20: #a92b3d33;
|
|
122
124
|
--color-transparent-red-35: #a92b3d59;
|
|
123
125
|
--color-transparent-red-8: #a92b3d14;
|
|
126
|
+
--color-transparent-red-light-35: #f99fab59;
|
|
124
127
|
--color-transparent-transparent: #ffffff00;
|
|
125
128
|
--color-transparent-white-10: #ffffff14;
|
|
126
129
|
--color-transparent-white-15: #ffffff26;
|
|
130
|
+
--color-transparent-white-4: #ffffff0a;
|
|
131
|
+
--color-transparent-white-50: #ffffff80;
|
|
127
132
|
--color-transparent-white-70: #ffffffb2;
|
|
128
133
|
/* number */
|
|
129
134
|
--spacing-0: 0px;
|
|
@@ -108,7 +108,18 @@
|
|
|
108
108
|
--color-comp-benefit-card-text-hover: var(--color-text-dark-primary-def);
|
|
109
109
|
--color-comp-benefit-card-text-primary: var(--color-text-dark-primary-def);
|
|
110
110
|
--color-comp-benefit-card-text-secondary: var(--color-text-dark-secondary);
|
|
111
|
-
--color-comp-button-arrow-
|
|
111
|
+
--color-comp-button-arrow-bg-def: var(--color-surface-dark-def);
|
|
112
|
+
--color-comp-button-arrow-bg-disabled: var(--gray-300);
|
|
113
|
+
--color-comp-button-arrow-bg-focused: var(--color-surface-dark-def);
|
|
114
|
+
--color-comp-button-arrow-bg-hover: var(--color-surface-dark-hover);
|
|
115
|
+
--color-comp-button-arrow-icon-def: var(--color-icon-invert-def);
|
|
116
|
+
--color-comp-button-arrow-icon-disabled: var(--color-icon-invert-def);
|
|
117
|
+
--color-comp-button-arrow-icon-focused: var(--color-icon-invert-def);
|
|
118
|
+
--color-comp-button-arrow-icon-hover: var(--color-icon-invert-def);
|
|
119
|
+
--color-comp-button-arrow-stroke-def: var(--color-stroke-base-secondary);
|
|
120
|
+
--color-comp-button-arrow-stroke-disabled: var(--color-stroke-base-secondary);
|
|
121
|
+
--color-comp-button-arrow-stroke-focused: var(--color-stroke-base-tertiary);
|
|
122
|
+
--color-comp-button-arrow-stroke-hover: var(--color-stroke-base-secondary);
|
|
112
123
|
--color-comp-button-danger-ghost-bg-def: var(--color-transparent-transparent);
|
|
113
124
|
--color-comp-button-danger-ghost-bg-disabled: var(
|
|
114
125
|
--color-transparent-transparent
|
|
@@ -615,7 +626,7 @@
|
|
|
615
626
|
--color-comp-button-primary-stroke-hover: var(--color-stroke-brand-hover);
|
|
616
627
|
--color-comp-button-primary-stroke-pressed: var(--color-stroke-brand-pressed);
|
|
617
628
|
--color-comp-button-primary-swipe-btn-def: var(--color-purple-400);
|
|
618
|
-
--color-comp-button-primary-swipe-btn-disabled: var(--
|
|
629
|
+
--color-comp-button-primary-swipe-btn-disabled: var(--gray-300);
|
|
619
630
|
--color-comp-button-primary-swipe-btn-focused: var(--color-purple-400);
|
|
620
631
|
--color-comp-button-primary-swipe-btn-hover: var(--color-purple-400);
|
|
621
632
|
--color-comp-button-primary-swipe-progress-def: var(--color-purple-500);
|
|
@@ -816,6 +827,26 @@
|
|
|
816
827
|
--color-text-dark-primary-def
|
|
817
828
|
);
|
|
818
829
|
--color-comp-card-dashboard-dark-bg-hover: var(--color-text-dark-primary-def);
|
|
830
|
+
--color-comp-card-dashboard-dark-ico-bg-def: var(
|
|
831
|
+
--color-surface-icon-bg-light
|
|
832
|
+
);
|
|
833
|
+
--color-comp-card-dashboard-dark-ico-bg-disabled: var(
|
|
834
|
+
--color-surface-icon-bg-light
|
|
835
|
+
);
|
|
836
|
+
--color-comp-card-dashboard-dark-ico-bg-focused: var(
|
|
837
|
+
--color-surface-icon-bg-light
|
|
838
|
+
);
|
|
839
|
+
--color-comp-card-dashboard-dark-ico-bg-hover: var(
|
|
840
|
+
--color-surface-icon-bg-light
|
|
841
|
+
);
|
|
842
|
+
--color-comp-card-dashboard-dark-icon-def: var(--color-icon-invert-def);
|
|
843
|
+
--color-comp-card-dashboard-dark-icon-disabled: var(--color-icon-invert-def);
|
|
844
|
+
--color-comp-card-dashboard-dark-icon-focused: var(--color-icon-invert-def);
|
|
845
|
+
--color-comp-card-dashboard-dark-icon-hover: var(--color-icon-invert-def);
|
|
846
|
+
--color-comp-card-dashboard-dark-text-def: var(--color-text-invert-def);
|
|
847
|
+
--color-comp-card-dashboard-dark-text-disabled: var(--color-text-invert-def);
|
|
848
|
+
--color-comp-card-dashboard-dark-text-focused: var(--color-text-invert-def);
|
|
849
|
+
--color-comp-card-dashboard-dark-text-hover: var(--color-text-invert-def);
|
|
819
850
|
--color-comp-card-dashboard-light-bg-def: var(--color-surface-base-secondary);
|
|
820
851
|
--color-comp-card-dashboard-light-bg-disabled: var(
|
|
821
852
|
--color-surface-base-secondary
|
|
@@ -912,6 +943,8 @@
|
|
|
912
943
|
--color-comp-dropdown-menu-text-error-hover: var(
|
|
913
944
|
--color-text-state-error-hover
|
|
914
945
|
);
|
|
946
|
+
--color-comp-edge-button-group-def: var(--color-surface-base-secondary);
|
|
947
|
+
--color-comp-empty-state-icon: var(--gray-500);
|
|
915
948
|
--color-comp-file-upload-fill-def: var(--color-surface-base-tertiary);
|
|
916
949
|
--color-comp-file-upload-fill-disabled: var(
|
|
917
950
|
--color-surface-dark-secondary-disabled
|
|
@@ -1046,22 +1079,41 @@
|
|
|
1046
1079
|
--color-text-invert-focused
|
|
1047
1080
|
);
|
|
1048
1081
|
--color-comp-language-switcher-invert-hover: var(--color-text-invert-hover);
|
|
1049
|
-
--color-comp-
|
|
1050
|
-
--color-comp-
|
|
1051
|
-
--color-comp-
|
|
1052
|
-
--color-comp-
|
|
1053
|
-
--color-comp-
|
|
1054
|
-
--color-comp-
|
|
1055
|
-
--color-comp-
|
|
1056
|
-
--color-comp-market-category-
|
|
1057
|
-
--color-comp-market-category-
|
|
1058
|
-
|
|
1059
|
-
|
|
1060
|
-
--color-comp-market-category-
|
|
1082
|
+
--color-comp-logo-apple-pay: #1c1a1f;
|
|
1083
|
+
--color-comp-logo-def: var(--color-icon-dark-primary-def);
|
|
1084
|
+
--color-comp-logo-google-pay: #5f6368;
|
|
1085
|
+
--color-comp-logo-invert: var(--color-icon-invert-def);
|
|
1086
|
+
--color-comp-logo-white-fixed: var(--color-neutral-white);
|
|
1087
|
+
--color-comp-map-pin-icon: var(--color-black-dramatic-950);
|
|
1088
|
+
--color-comp-map-pin-surface: var(--color-neutral-white);
|
|
1089
|
+
--color-comp-market-category-ico-books-primary: var(--color-other-blue);
|
|
1090
|
+
--color-comp-market-category-ico-books-secondary: var(
|
|
1091
|
+
--color-other-blue-light
|
|
1092
|
+
);
|
|
1093
|
+
--color-comp-market-category-ico-culture-primary: var(--color-other-pink);
|
|
1094
|
+
--color-comp-market-category-ico-culture-secondary: var(
|
|
1095
|
+
--color-other-pink-light
|
|
1096
|
+
);
|
|
1097
|
+
--color-comp-market-category-ico-edu-primary: var(--color-other-purple);
|
|
1098
|
+
--color-comp-market-category-ico-edu-secondary: var(
|
|
1099
|
+
--color-other-purple-light
|
|
1100
|
+
);
|
|
1101
|
+
--color-comp-market-category-ico-food-primary: var(--color-other-red);
|
|
1102
|
+
--color-comp-market-category-ico-food-secondary: var(--color-other-red-light);
|
|
1103
|
+
--color-comp-market-category-ico-health-primary: var(--color-other-green);
|
|
1104
|
+
--color-comp-market-category-ico-health-secondary: var(
|
|
1105
|
+
--color-other-green-light
|
|
1106
|
+
);
|
|
1107
|
+
--color-comp-market-category-ico-recreation-primary: var(
|
|
1108
|
+
--color-other-yellow
|
|
1109
|
+
);
|
|
1110
|
+
--color-comp-market-category-ico-recreation-secondary: var(
|
|
1061
1111
|
--color-other-yellow-light
|
|
1062
1112
|
);
|
|
1063
|
-
--color-comp-market-category-sport-primary: var(--color-other-orange);
|
|
1064
|
-
--color-comp-market-category-sport-secondary: var(
|
|
1113
|
+
--color-comp-market-category-ico-sport-primary: var(--color-other-orange);
|
|
1114
|
+
--color-comp-market-category-ico-sport-secondary: var(
|
|
1115
|
+
--color-other-orange-light
|
|
1116
|
+
);
|
|
1065
1117
|
--color-comp-offer-card-fill-def-default: var(
|
|
1066
1118
|
--color-surface-base-transparent
|
|
1067
1119
|
);
|
|
@@ -1086,11 +1138,6 @@
|
|
|
1086
1138
|
--color-comp-offer-card-stroke-disabled: var(--color-stroke-base-primary);
|
|
1087
1139
|
--color-comp-offer-card-stroke-focused: var(--color-stroke-brand-focused);
|
|
1088
1140
|
--color-comp-offer-card-stroke-hover: var(--color-stroke-brand-hover);
|
|
1089
|
-
--color-comp-pagination-bg-def: var(--color-surface-base-transparent);
|
|
1090
|
-
--color-comp-pagination-bg-disabled: var(--color-surface-base-transparent);
|
|
1091
|
-
--color-comp-pagination-bg-error: var(--color-surface-base-transparent);
|
|
1092
|
-
--color-comp-pagination-bg-focused: var(--color-surface-brand-ghost-focused);
|
|
1093
|
-
--color-comp-pagination-bg-hover: var(--color-surface-brand-ghost-hover);
|
|
1094
1141
|
--color-comp-pagination-text-def: var(--color-text-dark-secondary);
|
|
1095
1142
|
--color-comp-pagination-text-disabled: var(--color-text-dark-disabled);
|
|
1096
1143
|
--color-comp-pagination-text-error: var(--color-text-state-error-def);
|
|
@@ -1119,6 +1166,8 @@
|
|
|
1119
1166
|
--color-comp-quantity-selector-bg-selected: var(
|
|
1120
1167
|
--color-surface-brand-brand-tertiary
|
|
1121
1168
|
);
|
|
1169
|
+
--color-comp-rating-star-default: var(--color-other-yellow);
|
|
1170
|
+
--color-comp-rating-star-empty: var(--gray-300);
|
|
1122
1171
|
--color-comp-responsive-layout-table-bg-def: var(
|
|
1123
1172
|
--color-surface-base-transparent
|
|
1124
1173
|
);
|
|
@@ -1128,6 +1177,18 @@
|
|
|
1128
1177
|
--color-comp-responsive-layout-table-bg-success: var(
|
|
1129
1178
|
--color-surface-state-bg-success
|
|
1130
1179
|
);
|
|
1180
|
+
--color-comp-restriction-group-selector-error-bg: var(
|
|
1181
|
+
--color-surface-state-bg-error
|
|
1182
|
+
);
|
|
1183
|
+
--color-comp-restriction-group-selector-error-stroke: var(
|
|
1184
|
+
--color-stroke-error-def
|
|
1185
|
+
);
|
|
1186
|
+
--color-comp-restriction-group-selector-success-bg: var(
|
|
1187
|
+
--color-surface-state-bg-success
|
|
1188
|
+
);
|
|
1189
|
+
--color-comp-restriction-group-selector-success-stroke: var(
|
|
1190
|
+
--color-stroke-base-success
|
|
1191
|
+
);
|
|
1131
1192
|
--color-comp-segmented-control-bg-def: var(--color-surface-state-bg-info);
|
|
1132
1193
|
--color-comp-segmented-control-bg-item-active: var(
|
|
1133
1194
|
--color-surface-base-secondary
|
|
@@ -1179,22 +1240,34 @@
|
|
|
1179
1240
|
--color-comp-select-text-secondary: var(--color-text-dark-secondary);
|
|
1180
1241
|
--color-comp-sheet-bg-def: var(--color-surface-base-secondary);
|
|
1181
1242
|
--color-comp-sheet-text-def: var(--color-text-dark-primary-def);
|
|
1182
|
-
--color-comp-sidebar-menu-
|
|
1243
|
+
--color-comp-sidebar-menu-bg: var(--color-surface-brand-primary);
|
|
1244
|
+
--color-comp-sidebar-menu-item-bg-active: var(
|
|
1183
1245
|
--color-surface-invert-transparent-active
|
|
1184
1246
|
);
|
|
1185
|
-
--color-comp-sidebar-menu-item-active-submenu: var(
|
|
1247
|
+
--color-comp-sidebar-menu-item-bg-active-submenu: var(
|
|
1186
1248
|
--color-surface-base-transparent
|
|
1187
1249
|
);
|
|
1188
|
-
--color-comp-sidebar-menu-item-def: var(--color-surface-base-transparent);
|
|
1189
|
-
--color-comp-sidebar-menu-item-disabled: var(
|
|
1250
|
+
--color-comp-sidebar-menu-item-bg-def: var(--color-surface-base-transparent);
|
|
1251
|
+
--color-comp-sidebar-menu-item-bg-disabled: var(
|
|
1190
1252
|
--color-surface-base-transparent
|
|
1191
1253
|
);
|
|
1192
|
-
--color-comp-sidebar-menu-item-focused: var(
|
|
1254
|
+
--color-comp-sidebar-menu-item-bg-focused: var(
|
|
1193
1255
|
--color-surface-invert-transparent-focused
|
|
1194
1256
|
);
|
|
1195
|
-
--color-comp-sidebar-menu-item-hover: var(
|
|
1257
|
+
--color-comp-sidebar-menu-item-bg-hover: var(
|
|
1196
1258
|
--color-surface-invert-transparent-hover
|
|
1197
1259
|
);
|
|
1260
|
+
--color-comp-sidebar-menu-item-icon-bg-def: var(
|
|
1261
|
+
--color-surface-icon-bg-light
|
|
1262
|
+
);
|
|
1263
|
+
--color-comp-sidebar-menu-item-text-active: var(--color-text-invert-def);
|
|
1264
|
+
--color-comp-sidebar-menu-item-text-active-submenu: var(
|
|
1265
|
+
--color-text-invert-def
|
|
1266
|
+
);
|
|
1267
|
+
--color-comp-sidebar-menu-item-text-def: var(--color-text-invert-def);
|
|
1268
|
+
--color-comp-sidebar-menu-item-text-disabled: var(--color-text-dark-tertiary);
|
|
1269
|
+
--color-comp-sidebar-menu-item-text-focused: var(--color-text-invert-def);
|
|
1270
|
+
--color-comp-sidebar-menu-item-text-hover: var(--color-text-invert-def);
|
|
1198
1271
|
--color-comp-slider-range-bg-def: var(--color-surface-brand-primary);
|
|
1199
1272
|
--color-comp-slider-range-bg-disabled: var(
|
|
1200
1273
|
--color-surface-brand-primary-disabled
|
|
@@ -1210,8 +1283,6 @@
|
|
|
1210
1283
|
--color-comp-slider-track-bg-disabled: var(--color-surface-base-tertiary);
|
|
1211
1284
|
--color-comp-slider-indicators-bg-active: var(--color-surface-brand-primary);
|
|
1212
1285
|
--color-comp-slider-indicators-bg-def: var(--color-surface-brand-secondary);
|
|
1213
|
-
--color-comp-star-default: var(--color-other-yellow);
|
|
1214
|
-
--color-comp-star-empty: var(--color-gray-300);
|
|
1215
1286
|
--color-comp-submenu-admin-bg-def: var(--color-surface-state-bg-info);
|
|
1216
1287
|
--color-comp-submenu-admin-bg-disabled: var(
|
|
1217
1288
|
--color-surface-brand-primary-disabled
|
|
@@ -1237,10 +1308,10 @@
|
|
|
1237
1308
|
--color-comp-switch-bg-item: var(--color-neutral-white);
|
|
1238
1309
|
--color-comp-tab-bar-bg-brand: var(--color-surface-brand-primary);
|
|
1239
1310
|
--color-comp-tab-bar-bg-def: var(--color-surface-base-secondary);
|
|
1240
|
-
--color-comp-tab-bar-border-def: var(--color-stroke-base-secondary);
|
|
1241
1311
|
--color-comp-tab-bar-icon-active: var(--color-icon-brand-def);
|
|
1242
1312
|
--color-comp-tab-bar-icon-def: var(--color-icon-dark-secondary-def);
|
|
1243
1313
|
--color-comp-tab-bar-icon-invert: var(--color-icon-invert-def);
|
|
1314
|
+
--color-comp-tab-bar-stroke-def: var(--color-stroke-base-secondary);
|
|
1244
1315
|
--color-comp-tab-bar-text-active: var(--color-text-brand-def);
|
|
1245
1316
|
--color-comp-tab-bar-text-def: var(--color-text-dark-secondary);
|
|
1246
1317
|
--color-comp-texteditor-bg-def: var(--color-surface-base-transparent);
|
|
@@ -1264,6 +1335,7 @@
|
|
|
1264
1335
|
--color-comp-toast-text-success: var(--color-text-invert-def);
|
|
1265
1336
|
--color-comp-toast-text-text-error: var(--color-text-invert-def);
|
|
1266
1337
|
--color-comp-toast-text-warning: var(--color-text-state-warning);
|
|
1338
|
+
--color-comp-top-navi-muzain-def: var(--color-surface-brand-primary);
|
|
1267
1339
|
--color-comp-tutorial-banner-bg: var(--color-transparent-brand-8);
|
|
1268
1340
|
--color-comp-typography-link-brand-def: var(--color-text-brand-def);
|
|
1269
1341
|
--color-comp-typography-link-brand-disabled: var(--color-text-dark-tertiary);
|
|
@@ -1311,6 +1383,7 @@
|
|
|
1311
1383
|
--color-comp-typography-link-invert-secondary-pressed: var(
|
|
1312
1384
|
--color-text-invert-pressed
|
|
1313
1385
|
);
|
|
1386
|
+
--color-comp-universal-footer-bg: var(--color-surface-dark-def);
|
|
1314
1387
|
--color-icon-brand-def: var(--brand-primary);
|
|
1315
1388
|
--color-icon-brand-focused: var(--brand-focused);
|
|
1316
1389
|
--color-icon-brand-hover: var(--brand-hover);
|
|
@@ -1372,6 +1445,7 @@
|
|
|
1372
1445
|
--color-surface-base-primary-focused-pressed: var(--gray-400);
|
|
1373
1446
|
--color-surface-base-primary-hover: var(--gray-300);
|
|
1374
1447
|
--color-surface-base-secondary: var(--color-neutral-white);
|
|
1448
|
+
--color-surface-base-skeleton: var(--gray-200);
|
|
1375
1449
|
--color-surface-base-tertiary: var(--brand-white);
|
|
1376
1450
|
--color-surface-base-transparent: var(--color-transparent-transparent);
|
|
1377
1451
|
--color-surface-brand-brand-tertiary: var(--brand-tertiary);
|
|
@@ -1422,6 +1496,7 @@
|
|
|
1422
1496
|
--color-text-dark-tertiary: var(--gray-700);
|
|
1423
1497
|
--color-text-invert-def: var(--color-neutral-white);
|
|
1424
1498
|
--color-text-invert-disabled: var(--color-transparent-white-15);
|
|
1499
|
+
--color-text-invert-fixed: var(--color-neutral-white);
|
|
1425
1500
|
--color-text-invert-focused: var(--gray-400);
|
|
1426
1501
|
--color-text-invert-hover: var(--gray-300);
|
|
1427
1502
|
--color-text-invert-pressed: var(--gray-400);
|
|
@@ -205,7 +205,9 @@
|
|
|
205
205
|
--spacing-comp-market-card-p-ver: var(--spacing-24);
|
|
206
206
|
--spacing-comp-market-card-ico-bg-size: var(--spacing-48);
|
|
207
207
|
--spacing-comp-market-category-ico-ico-size-sm: var(--spacing-icon-xsmall);
|
|
208
|
+
--spacing-comp-market-category-ico-ico-size-md: var(--spacing-20);
|
|
208
209
|
--spacing-comp-market-category-ico-bg-size-sm: var(--spacing-24);
|
|
210
|
+
--spacing-comp-market-category-ico-bg-size-md: var(--spacing-56);
|
|
209
211
|
--spacing-comp-market-category-ico-ico-size-lg: var(--spacing-56);
|
|
210
212
|
--spacing-comp-market-category-ico-bg-size-lg: 140px;
|
|
211
213
|
--spacing-comp-market-logo-h: var(--spacing-28);
|
|
@@ -217,17 +219,21 @@
|
|
|
217
219
|
--radius-comp-notification-radius: var(--radius-md);
|
|
218
220
|
--spacing-comp-notification-p-hor: var(--spacing-16);
|
|
219
221
|
--spacing-comp-notification-p-ver: var(--spacing-16);
|
|
222
|
+
--spacing-comp-offer-card-compact-logo-y: -8px;
|
|
220
223
|
--spacing-comp-offer-card-compact-gap: var(--spacing-sm);
|
|
221
224
|
--spacing-comp-offer-card-compact-p-img: var(--spacing-lg);
|
|
222
225
|
--spacing-comp-offer-card-compact-p-top: var(--spacing-lg);
|
|
226
|
+
--spacing-comp-offer-card-compact-logo-x: 20px;
|
|
223
227
|
--spacing-comp-offer-card-compact-p: var(--spacing-xl);
|
|
224
228
|
--radius-comp-offer-card-compact-radius: var(--radius-xl);
|
|
225
229
|
--spacing-comp-offer-card-compact-logo-size: var(--spacing-72);
|
|
230
|
+
--spacing-comp-offer-card-search-logo-stroke: var(--spacing-2);
|
|
226
231
|
--spacing-comp-offer-card-search-p-img: var(--spacing-sm);
|
|
227
232
|
--spacing-comp-offer-card-search-gap-text: var(--spacing-md);
|
|
228
233
|
--spacing-comp-offer-card-search-p-top-text: var(--spacing-md);
|
|
229
234
|
--radius-comp-offer-card-search-radius-img: var(--radius-lg);
|
|
230
235
|
--spacing-comp-offer-card-search-gap: var(--spacing-2xl);
|
|
236
|
+
--spacing-comp-offer-card-search-logo-size: var(--spacing-96);
|
|
231
237
|
--spacing-comp-offer-card-search-h-img: 162px;
|
|
232
238
|
--spacing-comp-offer-card-search-w-img: 288px;
|
|
233
239
|
--spacing-comp-paggination-size: var(--spacing-3xl);
|
|
@@ -593,8 +599,10 @@
|
|
|
593
599
|
--spacing-comp-market-card-p-ver: var(--spacing-24);
|
|
594
600
|
--spacing-comp-market-card-ico-bg-size: var(--spacing-48);
|
|
595
601
|
--spacing-comp-market-category-ico-ico-size-sm: var(--spacing-icon-xsmall);
|
|
602
|
+
--spacing-comp-market-category-ico-ico-size-md: var(--spacing-20);
|
|
596
603
|
--spacing-comp-market-category-ico-bg-size-sm: var(--spacing-24);
|
|
597
604
|
--spacing-comp-market-category-ico-ico-size-lg: var(--spacing-40);
|
|
605
|
+
--spacing-comp-market-category-ico-bg-size-md: var(--spacing-48);
|
|
598
606
|
--spacing-comp-market-category-ico-bg-size-lg: 100px;
|
|
599
607
|
--spacing-comp-market-logo-h: var(--spacing-28);
|
|
600
608
|
--spacing-comp-market-nav-benefits-respo-min-w: 62px;
|
|
@@ -605,17 +613,21 @@
|
|
|
605
613
|
--radius-comp-notification-radius: var(--radius-md);
|
|
606
614
|
--spacing-comp-notification-p-hor: var(--spacing-16);
|
|
607
615
|
--spacing-comp-notification-p-ver: var(--spacing-16);
|
|
616
|
+
--spacing-comp-offer-card-compact-logo-y: -8px;
|
|
608
617
|
--spacing-comp-offer-card-compact-gap: var(--spacing-sm);
|
|
609
618
|
--spacing-comp-offer-card-compact-p-img: var(--spacing-lg);
|
|
610
619
|
--spacing-comp-offer-card-compact-p-top: var(--spacing-lg);
|
|
620
|
+
--spacing-comp-offer-card-compact-logo-x: 20px;
|
|
611
621
|
--spacing-comp-offer-card-compact-p: var(--spacing-xl);
|
|
612
622
|
--radius-comp-offer-card-compact-radius: var(--radius-xl);
|
|
613
623
|
--spacing-comp-offer-card-compact-logo-size: var(--spacing-72);
|
|
624
|
+
--spacing-comp-offer-card-search-logo-stroke: var(--spacing-2);
|
|
614
625
|
--spacing-comp-offer-card-search-p-img: var(--spacing-sm);
|
|
615
626
|
--spacing-comp-offer-card-search-gap-text: var(--spacing-md);
|
|
616
627
|
--spacing-comp-offer-card-search-p-top-text: var(--spacing-md);
|
|
617
628
|
--radius-comp-offer-card-search-radius-img: var(--radius-lg);
|
|
618
629
|
--spacing-comp-offer-card-search-gap: var(--spacing-2xl);
|
|
630
|
+
--spacing-comp-offer-card-search-logo-size: var(--spacing-96);
|
|
619
631
|
--spacing-comp-offer-card-search-h-img: 162px;
|
|
620
632
|
--spacing-comp-offer-card-search-w-img: 288px;
|
|
621
633
|
--spacing-comp-paggination-size: var(--spacing-3xl);
|
|
@@ -982,8 +994,10 @@
|
|
|
982
994
|
--spacing-comp-market-card-p-ver: var(--spacing-16);
|
|
983
995
|
--spacing-comp-market-card-ico-bg-size: var(--spacing-48);
|
|
984
996
|
--spacing-comp-market-category-ico-ico-size-sm: var(--spacing-icon-xsmall);
|
|
997
|
+
--spacing-comp-market-category-ico-ico-size-md: var(--spacing-20);
|
|
985
998
|
--spacing-comp-market-category-ico-bg-size-sm: var(--spacing-24);
|
|
986
999
|
--spacing-comp-market-category-ico-ico-size-lg: var(--spacing-40);
|
|
1000
|
+
--spacing-comp-market-category-ico-bg-size-md: var(--spacing-48);
|
|
987
1001
|
--spacing-comp-market-category-ico-bg-size-lg: 100px;
|
|
988
1002
|
--spacing-comp-market-logo-h: var(--spacing-24);
|
|
989
1003
|
--spacing-comp-market-nav-benefits-respo-min-w: 62px;
|
|
@@ -994,17 +1008,21 @@
|
|
|
994
1008
|
--radius-comp-notification-radius: var(--radius-md);
|
|
995
1009
|
--spacing-comp-notification-p-hor: var(--spacing-16);
|
|
996
1010
|
--spacing-comp-notification-p-ver: var(--spacing-16);
|
|
1011
|
+
--spacing-comp-offer-card-compact-logo-y: -8px;
|
|
997
1012
|
--spacing-comp-offer-card-compact-gap: var(--spacing-sm);
|
|
998
1013
|
--spacing-comp-offer-card-compact-p-img: var(--spacing-lg);
|
|
999
1014
|
--spacing-comp-offer-card-compact-p-top: var(--spacing-lg);
|
|
1015
|
+
--spacing-comp-offer-card-compact-logo-x: 20px;
|
|
1000
1016
|
--spacing-comp-offer-card-compact-p: var(--spacing-xl);
|
|
1001
1017
|
--radius-comp-offer-card-compact-radius: var(--radius-xl);
|
|
1002
1018
|
--spacing-comp-offer-card-compact-logo-size: var(--spacing-72);
|
|
1003
1019
|
--spacing-comp-offer-card-search-p-top-text: var(--spacing-none);
|
|
1020
|
+
--spacing-comp-offer-card-search-logo-stroke: var(--spacing-1);
|
|
1004
1021
|
--spacing-comp-offer-card-search-p-img: var(--spacing-xs);
|
|
1005
1022
|
--spacing-comp-offer-card-search-gap-text: var(--spacing-sm);
|
|
1006
1023
|
--spacing-comp-offer-card-search-gap: var(--spacing-lg);
|
|
1007
1024
|
--radius-comp-offer-card-search-radius-img: var(--radius-lg);
|
|
1025
|
+
--spacing-comp-offer-card-search-logo-size: var(--spacing-40);
|
|
1008
1026
|
--spacing-comp-offer-card-search-h-img: 100px;
|
|
1009
1027
|
--spacing-comp-offer-card-search-w-img: 100px;
|
|
1010
1028
|
--spacing-comp-paggination-size: var(--spacing-3xl);
|
|
@@ -1371,7 +1389,9 @@
|
|
|
1371
1389
|
--spacing-comp-market-card-p-ver: var(--spacing-24);
|
|
1372
1390
|
--spacing-comp-market-card-ico-bg-size: var(--spacing-48);
|
|
1373
1391
|
--spacing-comp-market-category-ico-ico-size-sm: var(--spacing-icon-xsmall);
|
|
1392
|
+
--spacing-comp-market-category-ico-ico-size-md: var(--spacing-20);
|
|
1374
1393
|
--spacing-comp-market-category-ico-bg-size-sm: var(--spacing-24);
|
|
1394
|
+
--spacing-comp-market-category-ico-bg-size-md: var(--spacing-56);
|
|
1375
1395
|
--spacing-comp-market-category-ico-ico-size-lg: var(--spacing-56);
|
|
1376
1396
|
--spacing-comp-market-category-ico-bg-size-lg: 140px;
|
|
1377
1397
|
--spacing-comp-market-logo-h: var(--spacing-28);
|
|
@@ -1383,17 +1403,21 @@
|
|
|
1383
1403
|
--radius-comp-notification-radius: var(--radius-md);
|
|
1384
1404
|
--spacing-comp-notification-p-hor: var(--spacing-16);
|
|
1385
1405
|
--spacing-comp-notification-p-ver: var(--spacing-16);
|
|
1406
|
+
--spacing-comp-offer-card-compact-logo-y: -8px;
|
|
1386
1407
|
--spacing-comp-offer-card-compact-gap: var(--spacing-sm);
|
|
1387
1408
|
--spacing-comp-offer-card-compact-p-img: var(--spacing-lg);
|
|
1388
1409
|
--spacing-comp-offer-card-compact-p-top: var(--spacing-lg);
|
|
1410
|
+
--spacing-comp-offer-card-compact-logo-x: 20px;
|
|
1389
1411
|
--spacing-comp-offer-card-compact-p: var(--spacing-xl);
|
|
1390
1412
|
--radius-comp-offer-card-compact-radius: var(--radius-xl);
|
|
1391
1413
|
--spacing-comp-offer-card-compact-logo-size: var(--spacing-72);
|
|
1414
|
+
--spacing-comp-offer-card-search-logo-stroke: var(--spacing-2);
|
|
1392
1415
|
--spacing-comp-offer-card-search-p-img: var(--spacing-sm);
|
|
1393
1416
|
--spacing-comp-offer-card-search-gap-text: var(--spacing-md);
|
|
1394
1417
|
--spacing-comp-offer-card-search-p-top-text: var(--spacing-md);
|
|
1395
1418
|
--radius-comp-offer-card-search-radius-img: var(--radius-lg);
|
|
1396
1419
|
--spacing-comp-offer-card-search-gap: var(--spacing-2xl);
|
|
1420
|
+
--spacing-comp-offer-card-search-logo-size: var(--spacing-96);
|
|
1397
1421
|
--spacing-comp-offer-card-search-h-img: 162px;
|
|
1398
1422
|
--spacing-comp-offer-card-search-w-img: 288px;
|
|
1399
1423
|
--spacing-comp-paggination-size: var(--spacing-3xl);
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export { TranslationProvider, useMuzaTranslations, useMuzaTranslationContext, TranslationContext, type TranslationProviderProps, type TranslationContextValue, } from './TranslationContext';
|
|
2
|
-
export type { SupportedLocale, PresetType, DatePickerPreset, CalendarTranslations, CardCheckboxAmountTranslations, DatePickerTranslations, FileUploadTranslations, DialogTranslations, StepperTranslations, SwipeButtonTranslations, SelectTranslations, SearchbarTranslations, MuzaTranslations, DeepPartial, CustomLocaleConfig, TranslationConfig, } from './types';
|
|
2
|
+
export type { SupportedLocale, PresetType, DatePickerPreset, CalendarTranslations, CardCheckboxAmountTranslations, DatePickerTranslations, FileUploadTranslations, DialogTranslations, StepperTranslations, SwipeButtonTranslations, SelectTranslations, SearchbarTranslations, ArticleCardTranslations, PartnerCardTranslations, HeartButtonTranslations, RatingTranslations, RatingBlockTranslations, MuzaTranslations, DeepPartial, CustomLocaleConfig, TranslationConfig, } from './types';
|
|
3
3
|
export { enTranslations } from './locales/en';
|
|
4
4
|
export { csTranslations } from './locales/cs';
|
|
5
5
|
export { skTranslations } from './locales/sk';
|
|
6
|
+
export { resolvePluralTemplate, type PluralTemplateMap, } from './resolvePluralTemplate';
|
|
6
7
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/translations/index.ts"],"names":[],"mappings":"AACA,OAAO,EACL,mBAAmB,EACnB,mBAAmB,EACnB,yBAAyB,EACzB,kBAAkB,EAClB,KAAK,wBAAwB,EAC7B,KAAK,uBAAuB,GAC7B,MAAM,sBAAsB,CAAA;AAG7B,YAAY,EACV,eAAe,EACf,UAAU,EACV,gBAAgB,EAChB,oBAAoB,EACpB,8BAA8B,EAC9B,sBAAsB,EACtB,sBAAsB,EACtB,kBAAkB,EAClB,mBAAmB,EACnB,uBAAuB,EACvB,kBAAkB,EAClB,qBAAqB,EACrB,gBAAgB,EAChB,WAAW,EACX,kBAAkB,EAClB,iBAAiB,GAClB,MAAM,SAAS,CAAA;AAGhB,OAAO,EAAE,cAAc,EAAE,MAAM,cAAc,CAAA;AAC7C,OAAO,EAAE,cAAc,EAAE,MAAM,cAAc,CAAA;AAC7C,OAAO,EAAE,cAAc,EAAE,MAAM,cAAc,CAAA"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/translations/index.ts"],"names":[],"mappings":"AACA,OAAO,EACL,mBAAmB,EACnB,mBAAmB,EACnB,yBAAyB,EACzB,kBAAkB,EAClB,KAAK,wBAAwB,EAC7B,KAAK,uBAAuB,GAC7B,MAAM,sBAAsB,CAAA;AAG7B,YAAY,EACV,eAAe,EACf,UAAU,EACV,gBAAgB,EAChB,oBAAoB,EACpB,8BAA8B,EAC9B,sBAAsB,EACtB,sBAAsB,EACtB,kBAAkB,EAClB,mBAAmB,EACnB,uBAAuB,EACvB,kBAAkB,EAClB,qBAAqB,EACrB,uBAAuB,EACvB,uBAAuB,EACvB,uBAAuB,EACvB,kBAAkB,EAClB,uBAAuB,EACvB,gBAAgB,EAChB,WAAW,EACX,kBAAkB,EAClB,iBAAiB,GAClB,MAAM,SAAS,CAAA;AAGhB,OAAO,EAAE,cAAc,EAAE,MAAM,cAAc,CAAA;AAC7C,OAAO,EAAE,cAAc,EAAE,MAAM,cAAc,CAAA;AAC7C,OAAO,EAAE,cAAc,EAAE,MAAM,cAAc,CAAA;AAG7C,OAAO,EACL,qBAAqB,EACrB,KAAK,iBAAiB,GACvB,MAAM,yBAAyB,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cs.d.ts","sourceRoot":"","sources":["../../../src/translations/locales/cs.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAA;AAEhD,eAAO,MAAM,cAAc,EAAE,
|
|
1
|
+
{"version":3,"file":"cs.d.ts","sourceRoot":"","sources":["../../../src/translations/locales/cs.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
|
|
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
|
-
|
|
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,
|
|
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
|
|
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
|
-
|
|
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,
|
|
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
|
|
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
|
-
|
|
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
|
+
};
|