@redneckz/wildless-cms-uni-blocks 0.14.73 → 0.14.75
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/bin/migration-scripts/0.14.68.js +20 -0
- package/bundle/blocks.schema.json +1 -1
- package/bundle/bundle.umd.js +10 -8
- package/bundle/bundle.umd.min.js +1 -1
- package/bundle/components/HorizontalLayout/HorizontalLayoutContent.d.ts +2 -9
- package/bundle/components/VerticalLayout/VerticalLayout.d.ts +0 -1
- package/bundle/components/VerticalLayout/VerticalLayoutContent.d.ts +7 -6
- package/cosmos-static/icons/ActualBalanceIcon.svg +1 -1
- package/cosmos-static/icons/AppleIcon.svg +1 -1
- package/cosmos-static/icons/ArrowDownIcon.svg +1 -1
- package/cosmos-static/icons/ArrowDownSolidIcon.svg +1 -1
- package/cosmos-static/icons/ArrowLeftIcon.svg +1 -1
- package/cosmos-static/icons/ArrowRightIcon.svg +1 -1
- package/cosmos-static/icons/ArrowTopRightIcon.svg +1 -1
- package/cosmos-static/icons/ArrowUpIcon.svg +1 -1
- package/cosmos-static/icons/ArrowUpSolidIcon.svg +1 -1
- package/cosmos-static/icons/AtmIcon.svg +1 -1
- package/cosmos-static/icons/BankIcon.svg +1 -1
- package/cosmos-static/icons/BelarusianFlag.svg +1 -1
- package/cosmos-static/icons/BriefcaseIcon.svg +1 -1
- package/cosmos-static/icons/BuildingIcon.svg +1 -1
- package/cosmos-static/icons/BurgerIcon.svg +1 -1
- package/cosmos-static/icons/CalendarCircleIcon.svg +1 -1
- package/cosmos-static/icons/CalendarIcon.svg +1 -1
- package/cosmos-static/icons/CalendarTickIcon.svg +1 -1
- package/cosmos-static/icons/CardIcon.svg +1 -1
- package/cosmos-static/icons/CardPosIcon.svg +1 -1
- package/cosmos-static/icons/CardSendIcon.svg +1 -1
- package/cosmos-static/icons/CardTickIcon.svg +1 -1
- package/cosmos-static/icons/ChartIcon.svg +1 -1
- package/cosmos-static/icons/ChartSquareIcon.svg +1 -1
- package/cosmos-static/icons/ChevronLeftIcon.svg +1 -1
- package/cosmos-static/icons/ClientIcon.svg +1 -1
- package/cosmos-static/icons/CloseIcon.svg +1 -1
- package/cosmos-static/icons/CoinIcon.svg +1 -1
- package/cosmos-static/icons/ConvertCardIcon.svg +1 -1
- package/cosmos-static/icons/CourtHouseIcon.svg +1 -1
- package/cosmos-static/icons/DiscountShapeIcon.svg +1 -1
- package/cosmos-static/icons/DocDownloadIcon.svg +1 -1
- package/cosmos-static/icons/DocIcon.svg +1 -1
- package/cosmos-static/icons/DollarIcon.svg +1 -1
- package/cosmos-static/icons/DoneIcon.svg +1 -1
- package/cosmos-static/icons/DoneSimpleIcon.svg +1 -1
- package/cosmos-static/icons/DzenIcon.svg +1 -1
- package/cosmos-static/icons/EmptyWalletChangeIcon.svg +1 -1
- package/cosmos-static/icons/EmptyWalletIcon.svg +1 -1
- package/cosmos-static/icons/EuroIcon.svg +1 -1
- package/cosmos-static/icons/FaxIcon.svg +1 -1
- package/cosmos-static/icons/FullScreenIcon.svg +1 -1
- package/cosmos-static/icons/GeolocationIcon.svg +1 -1
- package/cosmos-static/icons/GlobalIcon.svg +1 -1
- package/cosmos-static/icons/GpsIcon.svg +1 -1
- package/cosmos-static/icons/GridIcon.svg +1 -1
- package/cosmos-static/icons/HeadphonesIcon.svg +1 -1
- package/cosmos-static/icons/HeartIcon.svg +1 -1
- package/cosmos-static/icons/HeartTickIcon.svg +1 -1
- package/cosmos-static/icons/HouseIcon.svg +1 -1
- package/cosmos-static/icons/HuaweiIcon.svg +1 -1
- package/cosmos-static/icons/LogoIcon.svg +1 -1
- package/cosmos-static/icons/LoupeIcon.svg +1 -1
- package/cosmos-static/icons/MagnifierIcon.svg +1 -1
- package/cosmos-static/icons/MailIcon.svg +1 -1
- package/cosmos-static/icons/MapMarkerClusterIcon.svg +1 -1
- package/cosmos-static/icons/MapMarkerSingleIcon.svg +1 -1
- package/cosmos-static/icons/MapOpenedIcon.svg +1 -1
- package/cosmos-static/icons/MinusIcon.svg +1 -1
- package/cosmos-static/icons/MoneyIcon.svg +1 -1
- package/cosmos-static/icons/MoneyInsuranceIcon.svg +1 -1
- package/cosmos-static/icons/MonitorMobileIcon.svg +1 -1
- package/cosmos-static/icons/NewDocIcon.svg +1 -1
- package/cosmos-static/icons/NotificationBingIcon.svg +1 -1
- package/cosmos-static/icons/OkIcon.svg +1 -1
- package/cosmos-static/icons/PackA4Icon.svg +1 -1
- package/cosmos-static/icons/PassSendIcon.svg +1 -1
- package/cosmos-static/icons/PercentIcon.svg +1 -1
- package/cosmos-static/icons/PercentageRoundIcon.svg +1 -1
- package/cosmos-static/icons/PersonalCardIcon.svg +1 -1
- package/cosmos-static/icons/PhoneCallingIcon.svg +1 -1
- package/cosmos-static/icons/PhoneIcon.svg +1 -1
- package/cosmos-static/icons/PlayMarketIcon.svg +1 -1
- package/cosmos-static/icons/PlusCircleIcon.svg +1 -1
- package/cosmos-static/icons/PlusIcon.svg +1 -1
- package/cosmos-static/icons/Profile2UserIcon.svg +1 -1
- package/cosmos-static/icons/ProfileIcon.svg +1 -1
- package/cosmos-static/icons/ResponseFailIcon.svg +1 -1
- package/cosmos-static/icons/ResponseOKIcon.svg +1 -1
- package/cosmos-static/icons/RoundRubleIcon.svg +1 -1
- package/cosmos-static/icons/RutubeIcon.svg +1 -1
- package/cosmos-static/icons/SafeIcon.svg +1 -1
- package/cosmos-static/icons/Security/320/241ardIcon.svg +1 -1
- package/cosmos-static/icons/ShieldTickIcon.svg +1 -1
- package/cosmos-static/icons/SignDocsIcon.svg +1 -1
- package/cosmos-static/icons/SmallClockIcon.svg +1 -1
- package/cosmos-static/icons/SoundIcon.svg +1 -1
- package/cosmos-static/icons/TelegramIcon.svg +1 -1
- package/cosmos-static/icons/UserGeoLocationIcon.svg +1 -1
- package/cosmos-static/icons/UserSquareIcon.svg +1 -1
- package/cosmos-static/icons/UserTickIcon.svg +1 -1
- package/cosmos-static/icons/VKIcon.svg +1 -1
- package/cosmos-static/icons/WalletAddIcon.svg +1 -1
- package/cosmos-static/icons/WalletIcon.svg +1 -1
- package/cosmos-static/icons/WalletWithMoneyIcon.svg +1 -1
- package/cosmos-static/icons/YoutubeIcon.svg +1 -1
- package/cosmos-static/icons/sprites.svg +87 -0
- package/dist/components/HorizontalLayout/HorizontalLayout.js +1 -1
- package/dist/components/HorizontalLayout/HorizontalLayout.js.map +1 -1
- package/dist/components/HorizontalLayout/HorizontalLayoutContent.d.ts +2 -9
- package/dist/components/VerticalLayout/VerticalLayout.d.ts +0 -1
- package/dist/components/VerticalLayout/VerticalLayout.js +2 -2
- package/dist/components/VerticalLayout/VerticalLayout.js.map +1 -1
- package/dist/components/VerticalLayout/VerticalLayoutContent.d.ts +7 -6
- package/dist/ui-kit/Icon/Icon.js +6 -4
- package/dist/ui-kit/Icon/Icon.js.map +1 -1
- package/lib/common.css +1 -1
- package/lib/components/HorizontalLayout/HorizontalLayout.js +1 -1
- package/lib/components/HorizontalLayout/HorizontalLayout.js.map +1 -1
- package/lib/components/HorizontalLayout/HorizontalLayoutContent.d.ts +2 -9
- package/lib/components/VerticalLayout/VerticalLayout.d.ts +0 -1
- package/lib/components/VerticalLayout/VerticalLayout.fixture.d.ts +1 -0
- package/lib/components/VerticalLayout/VerticalLayout.fixture.mobile.d.ts +1 -0
- package/lib/components/VerticalLayout/VerticalLayout.js +2 -2
- package/lib/components/VerticalLayout/VerticalLayout.js.map +1 -1
- package/lib/components/VerticalLayout/VerticalLayoutContent.d.ts +7 -6
- package/lib/ui-kit/Icon/Icon.js +6 -4
- package/lib/ui-kit/Icon/Icon.js.map +1 -1
- package/mobile/bundle/bundle.umd.js +9 -7
- package/mobile/bundle/bundle.umd.min.js +1 -1
- package/mobile/bundle/components/HorizontalLayout/HorizontalLayoutContent.d.ts +2 -9
- package/mobile/bundle/components/VerticalLayout/VerticalLayout.d.ts +0 -1
- package/mobile/bundle/components/VerticalLayout/VerticalLayoutContent.d.ts +7 -6
- package/mobile/dist/components/HorizontalLayout/HorizontalLayoutContent.d.ts +2 -9
- package/mobile/dist/components/VerticalLayout/VerticalLayout.d.ts +0 -1
- package/mobile/dist/components/VerticalLayout/VerticalLayout.js +2 -2
- package/mobile/dist/components/VerticalLayout/VerticalLayout.js.map +1 -1
- package/mobile/dist/components/VerticalLayout/VerticalLayoutContent.d.ts +7 -6
- package/mobile/dist/ui-kit/Icon/Icon.js +6 -4
- package/mobile/dist/ui-kit/Icon/Icon.js.map +1 -1
- package/mobile/lib/components/HorizontalLayout/HorizontalLayoutContent.d.ts +2 -9
- package/mobile/lib/components/VerticalLayout/VerticalLayout.d.ts +0 -1
- package/mobile/lib/components/VerticalLayout/VerticalLayout.js +2 -2
- package/mobile/lib/components/VerticalLayout/VerticalLayout.js.map +1 -1
- package/mobile/lib/components/VerticalLayout/VerticalLayoutContent.d.ts +7 -6
- package/mobile/lib/ui-kit/Icon/Icon.js +6 -4
- package/mobile/lib/ui-kit/Icon/Icon.js.map +1 -1
- package/mobile/src/components/HorizontalLayout/HorizontalLayoutContent.ts +2 -9
- package/mobile/src/components/VerticalLayout/VerticalLayout.tsx +5 -7
- package/mobile/src/components/VerticalLayout/VerticalLayoutContent.ts +8 -6
- package/mobile/src/ui-kit/Icon/Icon.tsx +31 -30
- package/package.json +1 -1
- package/src/components/HorizontalLayout/HorizontalLayout.fixture.mobile.tsx +1 -1
- package/src/components/HorizontalLayout/HorizontalLayout.tsx +2 -2
- package/src/components/HorizontalLayout/HorizontalLayoutContent.ts +2 -9
- package/src/components/VerticalLayout/VerticalLayout.fixture.mobile.tsx +19 -2
- package/src/components/VerticalLayout/VerticalLayout.fixture.tsx +22 -4
- package/src/components/VerticalLayout/VerticalLayout.tsx +5 -7
- package/src/components/VerticalLayout/VerticalLayoutContent.ts +8 -6
- package/src/ui-kit/Icon/Icon.tsx +31 -30
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { deleteEmptyProps, deleteProp, traversePageBlocks } from '../utils.js';
|
|
2
|
+
|
|
3
|
+
export const description = 'v0.14.68';
|
|
4
|
+
|
|
5
|
+
export default traversePageBlocks(adjustLayoutBlock, adjustClearBlock);
|
|
6
|
+
|
|
7
|
+
function adjustLayoutBlock(block) {
|
|
8
|
+
const isLayout = block?.type === 'VerticalLayout' && block?.type === 'HorizontalLayout';
|
|
9
|
+
const content = block?.content;
|
|
10
|
+
if (isLayout && content?.isPadding && !content?.padding) {
|
|
11
|
+
content.padding = 'p-6xl';
|
|
12
|
+
deleteProp(content, 'isPadding');
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
function adjustClearBlock(block) {
|
|
17
|
+
if (block?.content) {
|
|
18
|
+
block.content = deleteEmptyProps(block?.content);
|
|
19
|
+
}
|
|
20
|
+
}
|