@redneckz/wildless-cms-uni-blocks 0.2.88 → 0.2.92
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/bundle/blocks.schema.json +1 -1
- package/bundle/bundle.umd.js +63 -26
- package/bundle/bundle.umd.min.js +1 -1
- package/dist/components/BaseTile/BaseTile.js +1 -3
- package/dist/components/BaseTile/BaseTile.js.map +1 -1
- package/dist/components/BlockContent.d.ts +2 -1
- package/dist/components/Blocks.d.ts +1 -0
- package/dist/components/Blocks.js +2 -0
- package/dist/components/Blocks.js.map +1 -1
- package/dist/components/ComparisonTable/ComparisonTable.js +3 -6
- package/dist/components/ComparisonTable/ComparisonTable.js.map +1 -1
- package/dist/components/ComparisonTable/ComparisonTableContent.d.ts +0 -20
- package/dist/components/ComparisonTable/TableCarouselContainer.d.ts +3 -0
- package/dist/components/ComparisonTable/TableCarouselContainer.js +5 -2
- package/dist/components/ComparisonTable/TableCarouselContainer.js.map +1 -1
- package/dist/components/ComparisonTable/TableRow.js +1 -1
- package/dist/components/ComparisonTable/TableRow.js.map +1 -1
- package/dist/components/MobileAppTile/MobileAppTileContent.d.ts +1 -3
- package/dist/components/PictureText/PictureText.js +1 -1
- package/dist/components/PictureText/PictureText.js.map +1 -1
- package/dist/components/PictureText/PictureTextContent.d.ts +1 -1
- package/dist/components/TariffsTable/TariffsTable.d.ts +5 -0
- package/dist/components/TariffsTable/TariffsTable.js +20 -0
- package/dist/components/TariffsTable/TariffsTable.js.map +1 -0
- package/dist/components/TariffsTable/TariffsTableCell.d.ts +6 -0
- package/dist/components/TariffsTable/TariffsTableCell.js +18 -0
- package/dist/components/TariffsTable/TariffsTableCell.js.map +1 -0
- package/dist/components/TariffsTable/TariffsTableContent.d.ts +55 -0
- package/dist/components/TariffsTable/TariffsTableContent.js +2 -0
- package/dist/components/TariffsTable/TariffsTableContent.js.map +1 -0
- package/dist/components/TariffsTable/TariffsTableRow.d.ts +8 -0
- package/dist/components/TariffsTable/TariffsTableRow.js +13 -0
- package/dist/components/TariffsTable/TariffsTableRow.js.map +1 -0
- package/dist/components/TariffsTable/constants.d.ts +4 -0
- package/dist/components/TariffsTable/constants.js +7 -0
- package/dist/components/TariffsTable/constants.js.map +1 -0
- package/dist/components/TextBlock/TextBlock.d.ts +1 -1
- package/dist/components/TextBlock/TextBlock.js +1 -1
- package/dist/components/TextBlock/TextBlock.js.map +1 -1
- package/dist/hooks/useComparisonTableScroll.d.ts +7 -0
- package/dist/hooks/useComparisonTableScroll.js +12 -0
- package/dist/hooks/useComparisonTableScroll.js.map +1 -0
- package/dist/model/TableVersion.d.ts +1 -0
- package/dist/model/TableVersion.js +2 -0
- package/dist/model/TableVersion.js.map +1 -0
- package/dist/ui-kit/BlockItem/BlockItem.d.ts +1 -9
- package/dist/ui-kit/BlockItem/BlockItem.js +5 -5
- package/dist/ui-kit/BlockItem/BlockItem.js.map +1 -1
- package/dist/ui-kit/BlockItem/BlockItemProps.d.ts +20 -0
- package/dist/ui-kit/BlockItem/BlockItemProps.js +2 -0
- package/dist/ui-kit/BlockItem/BlockItemProps.js.map +1 -0
- package/dist/ui-kit/Button/ButtonProps.d.ts +2 -1
- package/dist/ui-kit/Icon/IconProps.d.ts +58 -26
- package/dist/ui-kit/Icon/IconProps.js +39 -23
- package/dist/ui-kit/Icon/IconProps.js.map +1 -1
- package/lib/common.css +1 -1
- package/lib/components/BaseTile/BaseTile.js +1 -3
- package/lib/components/BaseTile/BaseTile.js.map +1 -1
- package/lib/components/BlockContent.d.ts +2 -1
- package/lib/components/Blocks.d.ts +1 -0
- package/lib/components/Blocks.js +2 -0
- package/lib/components/Blocks.js.map +1 -1
- package/lib/components/ComparisonTable/ComparisonTable.js +4 -7
- package/lib/components/ComparisonTable/ComparisonTable.js.map +1 -1
- package/lib/components/ComparisonTable/ComparisonTableContent.d.ts +0 -20
- package/lib/components/ComparisonTable/TableCarouselContainer.d.ts +3 -0
- package/lib/components/ComparisonTable/TableCarouselContainer.js +5 -2
- package/lib/components/ComparisonTable/TableCarouselContainer.js.map +1 -1
- package/lib/components/ComparisonTable/TableRow.js +2 -2
- package/lib/components/ComparisonTable/TableRow.js.map +1 -1
- package/lib/components/MobileAppTile/MobileAppTileContent.d.ts +1 -3
- package/lib/components/PictureText/PictureText.js +1 -1
- package/lib/components/PictureText/PictureText.js.map +1 -1
- package/lib/components/PictureText/PictureTextContent.d.ts +1 -1
- package/lib/components/TariffsTable/TariffsTable.d.ts +5 -0
- package/lib/components/TariffsTable/TariffsTable.fixture.d.ts +7 -0
- package/lib/components/TariffsTable/TariffsTable.js +18 -0
- package/lib/components/TariffsTable/TariffsTable.js.map +1 -0
- package/lib/components/TariffsTable/TariffsTableCell.d.ts +6 -0
- package/lib/components/TariffsTable/TariffsTableCell.js +16 -0
- package/lib/components/TariffsTable/TariffsTableCell.js.map +1 -0
- package/lib/components/TariffsTable/TariffsTableContent.d.ts +55 -0
- package/lib/components/TariffsTable/TariffsTableContent.js +2 -0
- package/lib/components/TariffsTable/TariffsTableContent.js.map +1 -0
- package/lib/components/TariffsTable/TariffsTableRow.d.ts +8 -0
- package/lib/components/TariffsTable/TariffsTableRow.js +11 -0
- package/lib/components/TariffsTable/TariffsTableRow.js.map +1 -0
- package/lib/components/TariffsTable/constants.d.ts +4 -0
- package/lib/components/TariffsTable/constants.js +5 -0
- package/lib/components/TariffsTable/constants.js.map +1 -0
- package/lib/components/TextBlock/TextBlock.d.ts +1 -1
- package/lib/components/TextBlock/TextBlock.js +1 -1
- package/lib/components/TextBlock/TextBlock.js.map +1 -1
- package/lib/hooks/useComparisonTableScroll.d.ts +7 -0
- package/lib/hooks/useComparisonTableScroll.js +9 -0
- package/lib/hooks/useComparisonTableScroll.js.map +1 -0
- package/lib/model/TableVersion.d.ts +1 -0
- package/lib/model/TableVersion.js +2 -0
- package/lib/model/TableVersion.js.map +1 -0
- package/lib/ui-kit/BlockItem/BlockItem.d.ts +1 -9
- package/lib/ui-kit/BlockItem/BlockItem.fixture.d.ts +6 -1
- package/lib/ui-kit/BlockItem/BlockItem.js +5 -5
- package/lib/ui-kit/BlockItem/BlockItem.js.map +1 -1
- package/lib/ui-kit/BlockItem/BlockItemProps.d.ts +20 -0
- package/lib/ui-kit/BlockItem/BlockItemProps.js +2 -0
- package/lib/ui-kit/BlockItem/BlockItemProps.js.map +1 -0
- package/lib/ui-kit/Button/ButtonProps.d.ts +2 -1
- package/lib/ui-kit/Icon/IconProps.d.ts +58 -26
- package/lib/ui-kit/Icon/IconProps.js +39 -23
- package/lib/ui-kit/Icon/IconProps.js.map +1 -1
- package/package.json +1 -1
- package/src/Icons/CalendarCircleIcon.svg +14 -0
- package/src/Icons/CardIcon.svg +11 -0
- package/src/Icons/CardPosIcon.svg +12 -0
- package/src/Icons/CardTickIcon.svg +13 -0
- package/src/Icons/EmptyWalletChangeIcon.svg +21 -0
- package/src/Icons/JCBIcon.svg +42 -0
- package/src/Icons/MastercardIcon.svg +6 -0
- package/src/Icons/MinusIcon.svg +1 -0
- package/src/Icons/MirIcon.svg +13 -0
- package/src/Icons/MoneyIcon.svg +13 -0
- package/src/Icons/MonitorMobileIcon.svg +14 -0
- package/src/Icons/PlusIcon.svg +1 -0
- package/src/Icons/Profile2UserIcon.svg +14 -0
- package/src/Icons/ShieldTickIcon.svg +7 -0
- package/src/Icons/UnionPayIcon.svg +7 -0
- package/src/Icons/UserIcon.svg +11 -0
- package/src/Icons/VisaIcon.svg +7 -0
- package/src/Icons/WalletIcon.svg +19 -0
- package/src/components/BaseTile/BaseTile.tsx +5 -10
- package/src/components/BlockContent.ts +2 -0
- package/src/components/Blocks.ts +2 -0
- package/src/components/ComparisonTable/ComparisonTable.tsx +14 -11
- package/src/components/ComparisonTable/ComparisonTableContent.ts +0 -21
- package/src/components/ComparisonTable/TableCarouselContainer.tsx +11 -4
- package/src/components/ComparisonTable/TableRow.tsx +2 -2
- package/src/components/ContentPage/ContentPage.page.json +415 -0
- package/src/components/MobileAppTile/MobileAppTileContent.ts +1 -3
- package/src/components/PictureText/PictureText.tsx +3 -1
- package/src/components/PictureText/PictureTextContent.ts +1 -2
- package/src/components/TariffsTable/TariffsTable.example.json +85 -0
- package/src/components/TariffsTable/TariffsTable.fixture.tsx +192 -0
- package/src/components/TariffsTable/TariffsTable.tsx +72 -0
- package/src/components/TariffsTable/TariffsTableCell.tsx +64 -0
- package/src/components/TariffsTable/TariffsTableContent.ts +61 -0
- package/src/components/TariffsTable/TariffsTableRow.tsx +46 -0
- package/src/components/TariffsTable/constants.ts +4 -0
- package/src/components/TextBlock/TextBlock.tsx +2 -2
- package/src/hooks/useComparisonTableScroll.ts +16 -0
- package/src/model/TableVersion.ts +1 -0
- package/src/ui-kit/BlockItem/BlockItem.fixture.tsx +8 -1
- package/src/ui-kit/BlockItem/BlockItem.tsx +7 -18
- package/src/ui-kit/BlockItem/BlockItemProps.ts +22 -0
- package/src/ui-kit/Button/ButtonProps.ts +2 -1
- package/src/ui-kit/Icon/IconProps.ts +35 -3
|
@@ -4,29 +4,45 @@
|
|
|
4
4
|
export enum IconMap {
|
|
5
5
|
'ActualBalanceIcon',
|
|
6
6
|
'AppleIcon',
|
|
7
|
+
'CalendarCircleIcon',
|
|
7
8
|
'CalendarIcon',
|
|
9
|
+
'CardIcon',
|
|
10
|
+
'CardPosIcon',
|
|
11
|
+
'CardTickIcon',
|
|
8
12
|
'ClockIcon',
|
|
9
13
|
'ComfortableCompIcon',
|
|
10
14
|
'DiscountShape',
|
|
11
15
|
'DocIcon',
|
|
12
16
|
'DocumentText',
|
|
13
17
|
'DollarIcon',
|
|
18
|
+
'EmptyWalletChangeIcon',
|
|
14
19
|
'EmptyWalletIcon',
|
|
15
20
|
'EuroIcon',
|
|
16
21
|
'GlassIcon',
|
|
17
22
|
'GridIcon',
|
|
23
|
+
'JCBIcon',
|
|
18
24
|
'LoupeIcon',
|
|
25
|
+
'MasterCardIcon',
|
|
19
26
|
'MinusIcon',
|
|
27
|
+
'MirIcon',
|
|
28
|
+
'MoneyIcon',
|
|
29
|
+
'MonitorMobileIcon',
|
|
20
30
|
'NewDocIcon',
|
|
21
31
|
'OkIcon',
|
|
22
32
|
'PassSendIcon',
|
|
23
33
|
'PercentageSquareIcon',
|
|
24
34
|
'PlayMarketIcon',
|
|
25
35
|
'PlusIcon',
|
|
36
|
+
'Profile2UserIcon',
|
|
26
37
|
'ProfileIcon',
|
|
38
|
+
'ShieldTickIcon',
|
|
27
39
|
'SignDocsIcon',
|
|
28
40
|
'TelegramIcon',
|
|
41
|
+
'UnionPayIcon',
|
|
42
|
+
'UserIcon',
|
|
43
|
+
'VisaIcon',
|
|
29
44
|
'VKIcon',
|
|
45
|
+
'WalletIcon',
|
|
30
46
|
}
|
|
31
47
|
|
|
32
48
|
/**
|
|
@@ -34,29 +50,45 @@ export enum IconMap {
|
|
|
34
50
|
* @enumNames [
|
|
35
51
|
* "Деньги",
|
|
36
52
|
* "Лого «Apple»",
|
|
53
|
+
* "Скруглённый календарь",
|
|
37
54
|
* "Календарь",
|
|
55
|
+
* "Кред. карта",
|
|
56
|
+
* "Кред. карта под наклоном",
|
|
57
|
+
* "Кред. карта с галочкой",
|
|
38
58
|
* "Часы",
|
|
39
59
|
* "Кресло",
|
|
40
60
|
* "Скидка",
|
|
41
61
|
* "Документ",
|
|
42
|
-
* "Документ с текстом"
|
|
62
|
+
* "Документ с текстом",
|
|
43
63
|
* "Доллар",
|
|
44
|
-
* "
|
|
64
|
+
* "Пустой кошелёк с возвратом",
|
|
65
|
+
* "Пустой кошелёк",
|
|
45
66
|
* "Евро",
|
|
46
67
|
* "Зеркало",
|
|
47
68
|
* "Сетка",
|
|
69
|
+
* "JCB",
|
|
48
70
|
* "Лупа",
|
|
71
|
+
* "MasterCard",
|
|
49
72
|
* "Минус",
|
|
73
|
+
* "МИР",
|
|
74
|
+
* "Деньги",
|
|
75
|
+
* "Монитор и мобильный",
|
|
50
76
|
* "Новый документ",
|
|
51
77
|
* "Лого «Одноклассники»",
|
|
52
78
|
* "Бизнес",
|
|
53
79
|
* "Проценты",
|
|
54
80
|
* "Лого «PlayMarket»",
|
|
55
81
|
* "Плюс",
|
|
82
|
+
* "Профиль, 2 персоны",
|
|
56
83
|
* "Профиль",
|
|
84
|
+
* "Безопасность",
|
|
57
85
|
* "Подписанные документы",
|
|
58
86
|
* "Лого «Telegram»",
|
|
59
|
-
* "
|
|
87
|
+
* "UnionPay",
|
|
88
|
+
* "Пользователь",
|
|
89
|
+
* "Visa",
|
|
90
|
+
* "Лого «VK»",
|
|
91
|
+
* "Кошелёк",
|
|
60
92
|
* ]
|
|
61
93
|
*/
|
|
62
94
|
export type IconName = keyof typeof IconMap;
|