mediacube-ui-v2 0.0.5 → 0.0.7
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/elements/McSlideUpDown/McSlideUpDown.vue.d.ts +1 -1
- package/dist/components/patterns/McFilter/McFilter.vue.d.ts +3 -3
- package/dist/components/patterns/McFilter/McFilterTags/McFilterTags.vue.d.ts +1 -1
- package/dist/components/templates/McDrawer/McDrawer.vue.d.ts +2 -2
- package/dist/components/templates/McDrawer/McDrawerContainer.vue.d.ts +1 -1
- package/dist/components/templates/McModal/McModal.vue.d.ts +4 -4
- package/dist/components/templates/McModal/McModalContainer.vue.d.ts +1 -1
- package/dist/composables/useHelper.d.ts +2 -0
- package/dist/index.cjs +3 -3
- package/dist/index.js +1651 -1647
- package/dist/style.css +1 -1
- package/package.json +3 -11
- package/src/App.vue +0 -8
- package/src/assets/base.css +0 -0
- package/src/assets/fonts/inter/Inter-Bold.woff +0 -0
- package/src/assets/fonts/inter/Inter-Bold.woff2 +0 -0
- package/src/assets/fonts/inter/Inter-Italic.woff +0 -0
- package/src/assets/fonts/inter/Inter-Italic.woff2 +0 -0
- package/src/assets/fonts/inter/Inter-Medium.woff +0 -0
- package/src/assets/fonts/inter/Inter-Medium.woff2 +0 -0
- package/src/assets/fonts/inter/Inter-Regular.woff +0 -0
- package/src/assets/fonts/inter/Inter-Regular.woff2 +0 -0
- package/src/assets/fonts/inter/Inter-SemiBold.woff +0 -0
- package/src/assets/fonts/inter/Inter-SemiBold.woff2 +0 -0
- package/src/assets/fonts/inter/inter.css +0 -44
- package/src/assets/icons/a_circle.svg +0 -3
- package/src/assets/icons/access_time.svg +0 -5
- package/src/assets/icons/account_circle.svg +0 -1
- package/src/assets/icons/account_edit.svg +0 -3
- package/src/assets/icons/add.svg +0 -3
- package/src/assets/icons/add_circle.svg +0 -3
- package/src/assets/icons/address.svg +0 -6
- package/src/assets/icons/ads_banner.svg +0 -3
- package/src/assets/icons/album.svg +0 -1
- package/src/assets/icons/alert_solid.svg +0 -3
- package/src/assets/icons/alternate_email.svg +0 -1
- package/src/assets/icons/amocrm.svg +0 -4
- package/src/assets/icons/amper_music.svg +0 -4
- package/src/assets/icons/analytics.svg +0 -3
- package/src/assets/icons/animation_motion.svg +0 -4
- package/src/assets/icons/api.svg +0 -1
- package/src/assets/icons/apple_icon.svg +0 -3
- package/src/assets/icons/applications.svg +0 -3
- package/src/assets/icons/applications_new.svg +0 -3
- package/src/assets/icons/apps.svg +0 -3
- package/src/assets/icons/archive.svg +0 -1
- package/src/assets/icons/archive_in.svg +0 -3
- package/src/assets/icons/archive_out.svg +0 -3
- package/src/assets/icons/arrow-stats-down.svg +0 -3
- package/src/assets/icons/arrow-stats-up.svg +0 -3
- package/src/assets/icons/arrow_backward.svg +0 -3
- package/src/assets/icons/arrow_downward.svg +0 -3
- package/src/assets/icons/arrow_drop_down.svg +0 -3
- package/src/assets/icons/arrow_drop_up.svg +0 -3
- package/src/assets/icons/arrow_forward.svg +0 -3
- package/src/assets/icons/arrow_leftward.svg +0 -3
- package/src/assets/icons/arrow_rightward.svg +0 -3
- package/src/assets/icons/arrow_to_grow_circle.svg +0 -3
- package/src/assets/icons/arrow_up_down.svg +0 -3
- package/src/assets/icons/arrow_upward.svg +0 -3
- package/src/assets/icons/arrows.svg +0 -6
- package/src/assets/icons/artist.svg +0 -8
- package/src/assets/icons/assessment.svg +0 -1
- package/src/assets/icons/assets_unassigned.svg +0 -3
- package/src/assets/icons/assignment.svg +0 -9
- package/src/assets/icons/assignment_ind.svg +0 -1
- package/src/assets/icons/assist_icon.svg +0 -13
- package/src/assets/icons/attach_money.svg +0 -1
- package/src/assets/icons/audiotrack.svg +0 -1
- package/src/assets/icons/backspace.svg +0 -1
- package/src/assets/icons/bank.svg +0 -12
- package/src/assets/icons/bank_building.svg +0 -3
- package/src/assets/icons/bank_building_blue.svg +0 -4
- package/src/assets/icons/bank_card.svg +0 -3
- package/src/assets/icons/bank_card_arrow.svg +0 -3
- package/src/assets/icons/bank_card_clock.svg +0 -3
- package/src/assets/icons/bank_card_double.svg +0 -3
- package/src/assets/icons/bank_card_virtual_blue.svg +0 -7
- package/src/assets/icons/bank_money_colored.svg +0 -4
- package/src/assets/icons/bankwire.svg +0 -70
- package/src/assets/icons/bell.svg +0 -3
- package/src/assets/icons/binance_coin_colored.svg +0 -4
- package/src/assets/icons/biometrics.svg +0 -8
- package/src/assets/icons/bitcoin.svg +0 -6
- package/src/assets/icons/bitcoin_cash_colored.svg +0 -4
- package/src/assets/icons/bitcoin_colored.svg +0 -4
- package/src/assets/icons/bloggerhood.svg +0 -19
- package/src/assets/icons/board.svg +0 -7
- package/src/assets/icons/book.svg +0 -3
- package/src/assets/icons/broken_link.svg +0 -8
- package/src/assets/icons/bug.svg +0 -10
- package/src/assets/icons/bug_big.svg +0 -3
- package/src/assets/icons/bug_report.svg +0 -3
- package/src/assets/icons/building.svg +0 -17
- package/src/assets/icons/building_colored.svg +0 -18
- package/src/assets/icons/business_center.svg +0 -1
- package/src/assets/icons/calendar.svg +0 -3
- package/src/assets/icons/calendar_colored.svg +0 -7
- package/src/assets/icons/calendar_load.svg +0 -3
- package/src/assets/icons/calendar_sixteen.svg +0 -5
- package/src/assets/icons/calendar_two_weeks.svg +0 -3
- package/src/assets/icons/calendar_user.svg +0 -11
- package/src/assets/icons/camera_alt.svg +0 -1
- package/src/assets/icons/camera_plus.svg +0 -1
- package/src/assets/icons/camera_video.svg +0 -3
- package/src/assets/icons/cancel.svg +0 -4
- package/src/assets/icons/cancel_alt.svg +0 -1
- package/src/assets/icons/capitalist.svg +0 -23
- package/src/assets/icons/capitalist_colored.svg +0 -4
- package/src/assets/icons/card.svg +0 -1
- package/src/assets/icons/card_off.svg +0 -7
- package/src/assets/icons/card_off_circle.svg +0 -4
- package/src/assets/icons/card_to_card_blue.svg +0 -11
- package/src/assets/icons/card_to_card_colored.svg +0 -11
- package/src/assets/icons/cash-ad.svg +0 -7
- package/src/assets/icons/cash.svg +0 -7
- package/src/assets/icons/category.svg +0 -6
- package/src/assets/icons/cellphone.svg +0 -1
- package/src/assets/icons/change_sheet.svg +0 -3
- package/src/assets/icons/channels_icon.svg +0 -12
- package/src/assets/icons/chart_bar.svg +0 -3
- package/src/assets/icons/chart_line.svg +0 -3
- package/src/assets/icons/chat.svg +0 -3
- package/src/assets/icons/chat_add.svg +0 -6
- package/src/assets/icons/chat_forum.svg +0 -3
- package/src/assets/icons/chat_messages.svg +0 -3
- package/src/assets/icons/check-rhombus.svg +0 -3
- package/src/assets/icons/check.svg +0 -4
- package/src/assets/icons/check_all.svg +0 -6
- package/src/assets/icons/check_circle.svg +0 -4
- package/src/assets/icons/check_circle_second.svg +0 -4
- package/src/assets/icons/check_circle_solid.svg +0 -3
- package/src/assets/icons/check_polygonal.svg +0 -3
- package/src/assets/icons/checkbox--checked.svg +0 -3
- package/src/assets/icons/checkbox.svg +0 -3
- package/src/assets/icons/checkboxes.svg +0 -8
- package/src/assets/icons/circle.svg +0 -3
- package/src/assets/icons/circle_arrows.svg +0 -3
- package/src/assets/icons/click.svg +0 -3
- package/src/assets/icons/clickup.svg +0 -14
- package/src/assets/icons/clip.svg +0 -3
- package/src/assets/icons/clock_check.svg +0 -6
- package/src/assets/icons/clock_solid.svg +0 -5
- package/src/assets/icons/close.svg +0 -3
- package/src/assets/icons/close_circle_outline.svg +0 -5
- package/src/assets/icons/close_circle_solid.svg +0 -3
- package/src/assets/icons/cloud_upload.svg +0 -1
- package/src/assets/icons/coin_speed.svg +0 -7
- package/src/assets/icons/comment.svg +0 -4
- package/src/assets/icons/company.svg +0 -1
- package/src/assets/icons/confetti.svg +0 -18
- package/src/assets/icons/connection.svg +0 -3
- package/src/assets/icons/contacts.svg +0 -1
- package/src/assets/icons/contracts.svg +0 -3
- package/src/assets/icons/convert.svg +0 -6
- package/src/assets/icons/copy.svg +0 -3
- package/src/assets/icons/copyright.svg +0 -3
- package/src/assets/icons/credit-card.svg +0 -5
- package/src/assets/icons/credit_card_blink.svg +0 -4
- package/src/assets/icons/crypto.svg +0 -8
- package/src/assets/icons/crypto_blue.svg +0 -9
- package/src/assets/icons/crypto_colored.svg +0 -9
- package/src/assets/icons/cryptowallet.svg +0 -5
- package/src/assets/icons/cryptowallet_blue.svg +0 -6
- package/src/assets/icons/cryptowallet_colored.svg +0 -6
- package/src/assets/icons/cup.svg +0 -7
- package/src/assets/icons/dashboard.svg +0 -1
- package/src/assets/icons/date_range.svg +0 -1
- package/src/assets/icons/deeplinks.svg +0 -3
- package/src/assets/icons/delete-account.svg +0 -5
- package/src/assets/icons/delete.svg +0 -3
- package/src/assets/icons/delete_alt.svg +0 -1
- package/src/assets/icons/deprecated.svg +0 -1
- package/src/assets/icons/desktop_device.svg +0 -3
- package/src/assets/icons/dialog.svg +0 -3
- package/src/assets/icons/discord.svg +0 -9
- package/src/assets/icons/discord_colored.svg +0 -4
- package/src/assets/icons/dislike.svg +0 -3
- package/src/assets/icons/doc-export.svg +0 -10
- package/src/assets/icons/document.svg +0 -1
- package/src/assets/icons/dollar.svg +0 -3
- package/src/assets/icons/donate_blue.svg +0 -7
- package/src/assets/icons/donate_colored.svg +0 -7
- package/src/assets/icons/dot-status.svg +0 -3
- package/src/assets/icons/download.svg +0 -3
- package/src/assets/icons/drag.svg +0 -1
- package/src/assets/icons/eWallet.svg +0 -25
- package/src/assets/icons/e_wallet_blue.svg +0 -9
- package/src/assets/icons/e_wallet_colored.svg +0 -9
- package/src/assets/icons/edit.svg +0 -3
- package/src/assets/icons/edit_solid.svg +0 -4
- package/src/assets/icons/email.svg +0 -12
- package/src/assets/icons/email_circle.svg +0 -5
- package/src/assets/icons/email_colored.svg +0 -5
- package/src/assets/icons/enrollment.svg +0 -1
- package/src/assets/icons/epayments_colored.svg +0 -4
- package/src/assets/icons/epidemic-sound.svg +0 -66
- package/src/assets/icons/epidemic_sound_circle.svg +0 -4
- package/src/assets/icons/error.svg +0 -3
- package/src/assets/icons/ethereum_colored.svg +0 -8
- package/src/assets/icons/event.svg +0 -1
- package/src/assets/icons/event_alt.svg +0 -1
- package/src/assets/icons/exit_to_app.svg +0 -1
- package/src/assets/icons/explicit.svg +0 -1
- package/src/assets/icons/export.svg +0 -5
- package/src/assets/icons/export_all.svg +0 -6
- package/src/assets/icons/express_payment.svg +0 -3
- package/src/assets/icons/face.svg +0 -1
- package/src/assets/icons/face_alt.svg +0 -1
- package/src/assets/icons/facebook.svg +0 -3
- package/src/assets/icons/facebook_colored.svg +0 -4
- package/src/assets/icons/fast.svg +0 -10
- package/src/assets/icons/favorite.svg +0 -1
- package/src/assets/icons/file.svg +0 -1
- package/src/assets/icons/file_add.svg +0 -3
- package/src/assets/icons/file_copy.svg +0 -4
- package/src/assets/icons/file_download.svg +0 -1
- package/src/assets/icons/file_export.svg +0 -3
- package/src/assets/icons/file_eye.svg +0 -3
- package/src/assets/icons/file_import.svg +0 -7
- package/src/assets/icons/file_new.svg +0 -3
- package/src/assets/icons/filter_list.svg +0 -3
- package/src/assets/icons/find_in_page.svg +0 -1
- package/src/assets/icons/fire.svg +0 -3
- package/src/assets/icons/fire_colored.svg +0 -8
- package/src/assets/icons/fire_solid.svg +0 -3
- package/src/assets/icons/flag_ar.svg +0 -19
- package/src/assets/icons/flag_en.svg +0 -6
- package/src/assets/icons/flag_es.svg +0 -564
- package/src/assets/icons/flag_pt.svg +0 -43
- package/src/assets/icons/flag_ru.svg +0 -5
- package/src/assets/icons/flag_th.svg +0 -6
- package/src/assets/icons/flag_vi.svg +0 -5
- package/src/assets/icons/fly_dollar.svg +0 -13
- package/src/assets/icons/fly_euro.svg +0 -5
- package/src/assets/icons/freeze.svg +0 -3
- package/src/assets/icons/fullscreen.svg +0 -1
- package/src/assets/icons/get_app.svg +0 -4
- package/src/assets/icons/gift_solid.svg +0 -8
- package/src/assets/icons/glasses.svg +0 -3
- package/src/assets/icons/google_colored.svg +0 -6
- package/src/assets/icons/googleplus_colored.svg +0 -5
- package/src/assets/icons/graph-no-data.svg +0 -3
- package/src/assets/icons/group.svg +0 -3
- package/src/assets/icons/group_connection.svg +0 -9
- package/src/assets/icons/growth_arrow_circle.svg +0 -3
- package/src/assets/icons/hand_money.svg +0 -13
- package/src/assets/icons/help.svg +0 -1
- package/src/assets/icons/help_invert.svg +0 -1
- package/src/assets/icons/help_solid.svg +0 -4
- package/src/assets/icons/help_ukraine_colored.svg +0 -14
- package/src/assets/icons/home.svg +0 -3
- package/src/assets/icons/iban.svg +0 -9
- package/src/assets/icons/iban_blue.svg +0 -10
- package/src/assets/icons/id_square.svg +0 -3
- package/src/assets/icons/id_thin.svg +0 -5
- package/src/assets/icons/image.svg +0 -1
- package/src/assets/icons/infinity.svg +0 -3
- package/src/assets/icons/info.svg +0 -3
- package/src/assets/icons/info_rounded_square.svg +0 -5
- package/src/assets/icons/info_solid.svg +0 -4
- package/src/assets/icons/instagram.svg +0 -23
- package/src/assets/icons/instagram_colored.svg +0 -18
- package/src/assets/icons/keyboard.svg +0 -1
- package/src/assets/icons/keyboard_arrow_left.svg +0 -4
- package/src/assets/icons/keyboard_arrow_right.svg +0 -4
- package/src/assets/icons/keyboard_arrow_right_thin.svg +0 -3
- package/src/assets/icons/kraken.svg +0 -10
- package/src/assets/icons/language.svg +0 -3
- package/src/assets/icons/layers.svg +0 -3
- package/src/assets/icons/lightning.svg +0 -3
- package/src/assets/icons/lightning_circle.svg +0 -4
- package/src/assets/icons/lightning_circle_solid.svg +0 -4
- package/src/assets/icons/lightning_outlined.svg +0 -3
- package/src/assets/icons/like.svg +0 -3
- package/src/assets/icons/link.svg +0 -3
- package/src/assets/icons/link_broken.svg +0 -7
- package/src/assets/icons/link_colored.svg +0 -4
- package/src/assets/icons/link_external.svg +0 -3
- package/src/assets/icons/link_external_new.svg +0 -3
- package/src/assets/icons/linkedin.svg +0 -9
- package/src/assets/icons/linkedin_colored.svg +0 -6
- package/src/assets/icons/list.svg +0 -1
- package/src/assets/icons/litecoin_colored.svg +0 -4
- package/src/assets/icons/live_help.svg +0 -1
- package/src/assets/icons/loader.svg +0 -3
- package/src/assets/icons/location_city.svg +0 -1
- package/src/assets/icons/location_on.svg +0 -3
- package/src/assets/icons/lock.svg +0 -3
- package/src/assets/icons/lock_old.svg +0 -1
- package/src/assets/icons/logout.svg +0 -3
- package/src/assets/icons/magic_blink.svg +0 -3
- package/src/assets/icons/mail_outline.svg +0 -1
- package/src/assets/icons/mc_assist.svg +0 -4
- package/src/assets/icons/mc_dashboard.svg +0 -5
- package/src/assets/icons/mc_id.svg +0 -3
- package/src/assets/icons/mc_pay.svg +0 -10
- package/src/assets/icons/mc_pay_app.svg +0 -6
- package/src/assets/icons/mc_pay_compact.svg +0 -4
- package/src/assets/icons/mc_pay_menu.svg +0 -4
- package/src/assets/icons/mc_pay_menu_circle_colored.svg +0 -4
- package/src/assets/icons/mc_pay_mobile_app.svg +0 -21
- package/src/assets/icons/mc_studio.svg +0 -3
- package/src/assets/icons/mc_vidwide.svg +0 -11
- package/src/assets/icons/mcadslogo.svg +0 -37
- package/src/assets/icons/mediacube.svg +0 -1
- package/src/assets/icons/menu.svg +0 -3
- package/src/assets/icons/menu_new.svg +0 -3
- package/src/assets/icons/message.svg +0 -3
- package/src/assets/icons/messenger.svg +0 -6
- package/src/assets/icons/messenger_colored.svg +0 -10
- package/src/assets/icons/minus.svg +0 -5
- package/src/assets/icons/mobile_device.svg +0 -3
- package/src/assets/icons/money_clock.svg +0 -8
- package/src/assets/icons/money_input.svg +0 -8
- package/src/assets/icons/more_horiz.svg +0 -1
- package/src/assets/icons/music.svg +0 -1
- package/src/assets/icons/music_icon.svg +0 -8
- package/src/assets/icons/new.svg +0 -1
- package/src/assets/icons/notes.svg +0 -3
- package/src/assets/icons/objects.svg +0 -3
- package/src/assets/icons/obs.svg +0 -3
- package/src/assets/icons/okru.svg +0 -12
- package/src/assets/icons/okru_colored.svg +0 -4
- package/src/assets/icons/ondemand_video.svg +0 -1
- package/src/assets/icons/partners.svg +0 -3
- package/src/assets/icons/pause.svg +0 -1
- package/src/assets/icons/payment.svg +0 -1
- package/src/assets/icons/payoneer.svg +0 -13
- package/src/assets/icons/payoneer_colored.svg +0 -19
- package/src/assets/icons/payoneer_cy.svg +0 -13
- package/src/assets/icons/paypal.svg +0 -1
- package/src/assets/icons/paypal_colored.svg +0 -6
- package/src/assets/icons/percent.svg +0 -3
- package/src/assets/icons/personal_email_colored.svg +0 -11
- package/src/assets/icons/phone_colored.svg +0 -4
- package/src/assets/icons/photo_add.svg +0 -3
- package/src/assets/icons/picture.svg +0 -3
- package/src/assets/icons/picture_thin.svg +0 -3
- package/src/assets/icons/plane.svg +0 -3
- package/src/assets/icons/play-videos.svg +0 -4
- package/src/assets/icons/play.svg +0 -1
- package/src/assets/icons/print.svg +0 -1
- package/src/assets/icons/prototype.svg +0 -1
- package/src/assets/icons/public.svg +0 -1
- package/src/assets/icons/qiwi.svg +0 -11
- package/src/assets/icons/qiwi_colored.svg +0 -4
- package/src/assets/icons/radio--checked.svg +0 -4
- package/src/assets/icons/ready.svg +0 -1
- package/src/assets/icons/receipt.svg +0 -1
- package/src/assets/icons/receipt_thin.svg +0 -6
- package/src/assets/icons/recording_circle.svg +0 -3
- package/src/assets/icons/recruiters.svg +0 -3
- package/src/assets/icons/redo.svg +0 -3
- package/src/assets/icons/referral.svg +0 -10
- package/src/assets/icons/referral_solid.svg +0 -10
- package/src/assets/icons/reload.svg +0 -3
- package/src/assets/icons/reload_right.svg +0 -3
- package/src/assets/icons/remove_red_eye.svg +0 -1
- package/src/assets/icons/repair.svg +0 -6
- package/src/assets/icons/reply_arrow.svg +0 -3
- package/src/assets/icons/requisites.svg +0 -7
- package/src/assets/icons/reset.svg +0 -7
- package/src/assets/icons/resize_video.svg +0 -3
- package/src/assets/icons/revenue.svg +0 -3
- package/src/assets/icons/review.svg +0 -1
- package/src/assets/icons/ripple_colored.svg +0 -4
- package/src/assets/icons/rocket.svg +0 -7
- package/src/assets/icons/rocket_colored.svg +0 -6
- package/src/assets/icons/rocket_small.svg +0 -6
- package/src/assets/icons/role.svg +0 -3
- package/src/assets/icons/safety.svg +0 -5
- package/src/assets/icons/sand_clock.svg +0 -4
- package/src/assets/icons/save.svg +0 -1
- package/src/assets/icons/search.svg +0 -3
- package/src/assets/icons/send.svg +0 -1
- package/src/assets/icons/send_solid.svg +0 -3
- package/src/assets/icons/settings.svg +0 -4
- package/src/assets/icons/settings_solid.svg +0 -3
- package/src/assets/icons/settings_tools.svg +0 -3
- package/src/assets/icons/shield.svg +0 -4
- package/src/assets/icons/shield_blue.svg +0 -5
- package/src/assets/icons/shield_colored.svg +0 -5
- package/src/assets/icons/shield_usd.svg +0 -3
- package/src/assets/icons/shop.svg +0 -1
- package/src/assets/icons/shopping_cart.svg +0 -1
- package/src/assets/icons/shuffle.svg +0 -7
- package/src/assets/icons/sign_out.svg +0 -8
- package/src/assets/icons/skype.svg +0 -56
- package/src/assets/icons/skype_colored.svg +0 -4
- package/src/assets/icons/slack.svg +0 -6
- package/src/assets/icons/smile_star_eye.svg +0 -6
- package/src/assets/icons/sort_asc.svg +0 -4
- package/src/assets/icons/sort_az.svg +0 -4
- package/src/assets/icons/sort_desc.svg +0 -4
- package/src/assets/icons/sort_directions.svg +0 -3
- package/src/assets/icons/sort_list.svg +0 -1
- package/src/assets/icons/sort_za.svg +0 -4
- package/src/assets/icons/spy_colored.svg +0 -15
- package/src/assets/icons/staff.svg +0 -10
- package/src/assets/icons/star.svg +0 -1
- package/src/assets/icons/star_round.svg +0 -3
- package/src/assets/icons/star_round_solid.svg +0 -3
- package/src/assets/icons/stars.svg +0 -4
- package/src/assets/icons/stars_fill.svg +0 -4
- package/src/assets/icons/stats_icon.svg +0 -8
- package/src/assets/icons/steam.svg +0 -12
- package/src/assets/icons/steam_colored.svg +0 -15
- package/src/assets/icons/studio_icon.svg +0 -7
- package/src/assets/icons/subscriptions.svg +0 -1
- package/src/assets/icons/suitcase.svg +0 -4
- package/src/assets/icons/supervised_user_circle.svg +0 -1
- package/src/assets/icons/support.svg +0 -7
- package/src/assets/icons/swap_cubes.svg +0 -5
- package/src/assets/icons/swap_cubes_colored.svg +0 -6
- package/src/assets/icons/swap_horizontal_circle.svg +0 -3
- package/src/assets/icons/switches.svg +0 -3
- package/src/assets/icons/table.svg +0 -1
- package/src/assets/icons/telegram.svg +0 -40
- package/src/assets/icons/telegram_colored.svg +0 -12
- package/src/assets/icons/tether.svg +0 -8
- package/src/assets/icons/tether_colored.svg +0 -4
- package/src/assets/icons/three_dots.svg +0 -3
- package/src/assets/icons/thumb_down.svg +0 -4
- package/src/assets/icons/thumb_up.svg +0 -4
- package/src/assets/icons/tiktok.svg +0 -8
- package/src/assets/icons/time.svg +0 -3
- package/src/assets/icons/time_thin.svg +0 -3
- package/src/assets/icons/timelapse.svg +0 -4
- package/src/assets/icons/timeline.svg +0 -1
- package/src/assets/icons/tipalti.svg +0 -48
- package/src/assets/icons/transaction.svg +0 -1
- package/src/assets/icons/twitter_colored.svg +0 -4
- package/src/assets/icons/unarchive.svg +0 -1
- package/src/assets/icons/unfold_more.svg +0 -1
- package/src/assets/icons/unlock.svg +0 -3
- package/src/assets/icons/upload_img.svg +0 -1
- package/src/assets/icons/usd_coin_colored.svg +0 -5
- package/src/assets/icons/user.svg +0 -3
- package/src/assets/icons/user_edit.svg +0 -3
- package/src/assets/icons/user_kyc.svg +0 -8
- package/src/assets/icons/viber.svg +0 -17
- package/src/assets/icons/viber_colored.svg +0 -8
- package/src/assets/icons/videoblocks.svg +0 -8
- package/src/assets/icons/vidiq-logo-mono.svg +0 -10
- package/src/assets/icons/vidiq_circle.svg +0 -5
- package/src/assets/icons/visibility.svg +0 -4
- package/src/assets/icons/visibility_off.svg +0 -7
- package/src/assets/icons/vkontakte.svg +0 -1
- package/src/assets/icons/vkontakte_colored.svg +0 -4
- package/src/assets/icons/wallet.svg +0 -5
- package/src/assets/icons/warning.svg +0 -3
- package/src/assets/icons/webmoney.svg +0 -10
- package/src/assets/icons/webmoney_colored.svg +0 -4
- package/src/assets/icons/website_colored.svg +0 -4
- package/src/assets/icons/whatsapp.svg +0 -12
- package/src/assets/icons/whatsapp_colored.svg +0 -4
- package/src/assets/icons/wise_colored.svg +0 -4
- package/src/assets/icons/worldfirst.svg +0 -12
- package/src/assets/icons/x_network.svg +0 -4
- package/src/assets/icons/yandexmoney.svg +0 -1
- package/src/assets/icons/yoomoney_colored.svg +0 -4
- package/src/assets/icons/youtube.svg +0 -3
- package/src/assets/icons/youtube_circled.svg +0 -4
- package/src/assets/icons/youtube_circled_second.svg +0 -4
- package/src/assets/icons/youtube_colored.svg +0 -4
- package/src/assets/icons/youtube_outlined.svg +0 -4
- package/src/assets/icons/zcash_colored.svg +0 -4
- package/src/assets/iconsSprite.svg +0 -1
- package/src/assets/img/no_table_data.png +0 -0
- package/src/assets/img/no_user.png +0 -0
- package/src/assets/main.scss +0 -233
- package/src/assets/styles/_functions.scss +0 -187
- package/src/assets/styles/_mixins.scss +0 -664
- package/src/assets/styles/_spacing.scss +0 -33
- package/src/assets/styles/_tooltip.scss +0 -123
- package/src/assets/styles/_variables.scss +0 -23
- package/src/assets/styles/main.scss +0 -4
- package/src/assets/styles/table.scss +0 -10
- package/src/assets/styles/toast.scss +0 -57
- package/src/assets/tokens/animations.scss +0 -57
- package/src/assets/tokens/border-radius.scss +0 -23
- package/src/assets/tokens/box-shadows.scss +0 -22
- package/src/assets/tokens/colors.scss +0 -81
- package/src/assets/tokens/durations.scss +0 -13
- package/src/assets/tokens/easings.scss +0 -6
- package/src/assets/tokens/font-families.scss +0 -8
- package/src/assets/tokens/font-sizes.scss +0 -23
- package/src/assets/tokens/font-weights.scss +0 -16
- package/src/assets/tokens/gradients.scss +0 -18
- package/src/assets/tokens/json/animations.json +0 -6
- package/src/assets/tokens/json/border-radius.json +0 -24
- package/src/assets/tokens/json/box-shadows.json +0 -24
- package/src/assets/tokens/json/colors.json +0 -71
- package/src/assets/tokens/json/durations.json +0 -10
- package/src/assets/tokens/json/easings.json +0 -3
- package/src/assets/tokens/json/font-families.json +0 -4
- package/src/assets/tokens/json/font-sizes.json +0 -18
- package/src/assets/tokens/json/font-weights.json +0 -12
- package/src/assets/tokens/json/gradients.json +0 -13
- package/src/assets/tokens/json/index.ts +0 -37
- package/src/assets/tokens/json/letter-spacings.json +0 -4
- package/src/assets/tokens/json/line-heights.json +0 -18
- package/src/assets/tokens/json/media-queries.json +0 -26
- package/src/assets/tokens/json/opacities.json +0 -5
- package/src/assets/tokens/json/sizes.json +0 -42
- package/src/assets/tokens/json/spacings.json +0 -34
- package/src/assets/tokens/json/z-indexes.json +0 -12
- package/src/assets/tokens/letter-spacings.scss +0 -6
- package/src/assets/tokens/line-heights.scss +0 -22
- package/src/assets/tokens/media-queries.scss +0 -32
- package/src/assets/tokens/opacities.scss +0 -8
- package/src/assets/tokens/sizes.scss +0 -47
- package/src/assets/tokens/spacings.scss +0 -38
- package/src/assets/tokens/z-indexes.scss +0 -14
- package/src/components/elements/McAvatar/McAvatar.stories.ts +0 -71
- package/src/components/elements/McAvatar/McAvatar.vue +0 -252
- package/src/components/elements/McBadge/McBadge.stories.ts +0 -40
- package/src/components/elements/McBadge/McBadge.vue +0 -150
- package/src/components/elements/McBottomLoader/McBottomLoader.stories.ts +0 -47
- package/src/components/elements/McBottomLoader/McBottomLoader.vue +0 -79
- package/src/components/elements/McButton/McButton.stories.ts +0 -145
- package/src/components/elements/McButton/McButton.vue +0 -844
- package/src/components/elements/McChip/McChip.stories.ts +0 -102
- package/src/components/elements/McChip/McChip.vue +0 -309
- package/src/components/elements/McCropper/McCropper.stories.ts +0 -31
- package/src/components/elements/McCropper/McCropper.vue +0 -129
- package/src/components/elements/McDatepicker/McDatepicker.stories.ts +0 -440
- package/src/components/elements/McDatepicker/McDatepicker.vue +0 -832
- package/src/components/elements/McDraggable/McDraggable.stories.ts +0 -52
- package/src/components/elements/McDraggable/McDraggable.vue +0 -211
- package/src/components/elements/McFieldCheckbox/McFieldCheckbox.vue +0 -329
- package/src/components/elements/McFieldCheckbox/McFieldCheckox.stories.ts +0 -97
- package/src/components/elements/McFieldRadio/McFieldRadio.stories.ts +0 -91
- package/src/components/elements/McFieldRadio/McFieldRadio.vue +0 -258
- package/src/components/elements/McFieldRadioGroup/McFieldRadioGroup.stories.ts +0 -70
- package/src/components/elements/McFieldRadioGroup/McFieldRadioGroup.vue +0 -215
- package/src/components/elements/McFieldRange/McFieldRange.stories.ts +0 -93
- package/src/components/elements/McFieldRange/McFieldRange.vue +0 -279
- package/src/components/elements/McFieldSelect/McFieldSelect.stories.ts +0 -257
- package/src/components/elements/McFieldSelect/McFieldSelect.vue +0 -920
- package/src/components/elements/McFieldText/McFieldText.stories.ts +0 -258
- package/src/components/elements/McFieldText/McFieldText.vue +0 -898
- package/src/components/elements/McFieldToggle/McFieldToggle.stories.ts +0 -63
- package/src/components/elements/McFieldToggle/McFieldToggle.vue +0 -280
- package/src/components/elements/McInfinityLoadingTrigger/McInfinityLoadingTrigger.stories.ts +0 -49
- package/src/components/elements/McInfinityLoadingTrigger/McInfinityLoadingTrigger.vue +0 -95
- package/src/components/elements/McNodata/McNoData.stories.ts +0 -34
- package/src/components/elements/McNodata/McNoData.vue +0 -191
- package/src/components/elements/McNotification/McNotification.stories.ts +0 -43
- package/src/components/elements/McNotification/McNotification.vue +0 -219
- package/src/components/elements/McProgress/McProgress.stories.ts +0 -39
- package/src/components/elements/McProgress/McProgress.vue +0 -194
- package/src/components/elements/McSeparator/McSeparator.stories.ts +0 -35
- package/src/components/elements/McSeparator/McSeparator.vue +0 -131
- package/src/components/elements/McSlideUpDown/McSlideUpDown.stories.ts +0 -54
- package/src/components/elements/McSlideUpDown/McSlideUpDown.vue +0 -142
- package/src/components/elements/McStack/McStack.stories.ts +0 -108
- package/src/components/elements/McStack/McStack.vue +0 -147
- package/src/components/elements/McSvgIcon/McSvgIcon.stories.ts +0 -135
- package/src/components/elements/McSvgIcon/McSvgIcon.vue +0 -114
- package/src/components/elements/McTitle/McTitle.stories.ts +0 -73
- package/src/components/elements/McTitle/McTitle.vue +0 -368
- package/src/components/elements/McTooltip/McTooltip.stories.ts +0 -39
- package/src/components/elements/McTooltip/McTooltip.vue +0 -85
- package/src/components/index.ts +0 -136
- package/src/components/patterns/McAccordion/McAccordion.stories.ts +0 -99
- package/src/components/patterns/McAccordion/McAccordion.vue +0 -65
- package/src/components/patterns/McCell/McCell.stories.ts +0 -36
- package/src/components/patterns/McCell/McCell.vue +0 -96
- package/src/components/patterns/McCollapse/McCollapse.stories.ts +0 -100
- package/src/components/patterns/McCollapse/McCollapse.vue +0 -303
- package/src/components/patterns/McDropdown/McDropdown.stories.ts +0 -65
- package/src/components/patterns/McDropdown/McDropdown.vue +0 -297
- package/src/components/patterns/McDropdown/McDropdownPanel.vue +0 -65
- package/src/components/patterns/McFilter/McFilter.stories.ts +0 -76
- package/src/components/patterns/McFilter/McFilter.vue +0 -887
- package/src/components/patterns/McFilter/McFilterChip/McFilterChip.stories.ts +0 -37
- package/src/components/patterns/McFilter/McFilterChip/McFilterChip.vue +0 -98
- package/src/components/patterns/McFilter/McFilterTags/McFilterTags.stories.ts +0 -41
- package/src/components/patterns/McFilter/McFilterTags/McFilterTags.vue +0 -377
- package/src/components/patterns/McFilter/McFilterTypeDate/McFilterTypeDate.stories.ts +0 -29
- package/src/components/patterns/McFilter/McFilterTypeDate/McFilterTypeDate.vue +0 -69
- package/src/components/patterns/McFilter/McFilterTypeRange/McFilterTypeRange.stories.ts +0 -26
- package/src/components/patterns/McFilter/McFilterTypeRange/McFilterTypeRange.vue +0 -139
- package/src/components/patterns/McFilter/McFilterTypeRelation/McFilterTypeRelation.stories.ts +0 -26
- package/src/components/patterns/McFilter/McFilterTypeRelation/McFilterTypeRelation.vue +0 -247
- package/src/components/patterns/McFilter/McFilterTypeText/McFilterTypeText.stories.ts +0 -26
- package/src/components/patterns/McFilter/McFilterTypeText/McFilterTypeText.vue +0 -61
- package/src/components/patterns/McGridCol/McGridCol.stories.ts +0 -34
- package/src/components/patterns/McGridCol/McGridCol.vue +0 -159
- package/src/components/patterns/McGridRow/McGridRow.stories.ts +0 -74
- package/src/components/patterns/McGridRow/McGridRow.vue +0 -143
- package/src/components/patterns/McOverlay/McOverlay.stories.ts +0 -44
- package/src/components/patterns/McOverlay/McOverlay.vue +0 -77
- package/src/components/patterns/McPreview/McPreview.stories.ts +0 -45
- package/src/components/patterns/McPreview/McPreview.vue +0 -109
- package/src/components/patterns/McSideBar/McSideBar.stories.ts +0 -54
- package/src/components/patterns/McSideBar/McSideBar.vue +0 -378
- package/src/components/patterns/McSideBar/McSideBarBottom/McSideBarBottom.stories.ts +0 -32
- package/src/components/patterns/McSideBar/McSideBarBottom/McSideBarBottom.vue +0 -116
- package/src/components/patterns/McSideBar/McSideBarButton/McSideBarButton.stories.ts +0 -23
- package/src/components/patterns/McSideBar/McSideBarButton/McSideBarButton.vue +0 -232
- package/src/components/patterns/McSideBar/McSideBarCenter/McSideBarCenter.stories.ts +0 -34
- package/src/components/patterns/McSideBar/McSideBarCenter/McSideBarCenter.vue +0 -342
- package/src/components/patterns/McSideBar/McSideBarTop/McSideBarTop.stories.ts +0 -40
- package/src/components/patterns/McSideBar/McSideBarTop/McSideBarTop.vue +0 -211
- package/src/components/patterns/McTab/McTab.stories.ts +0 -23
- package/src/components/patterns/McTab/McTab.vue +0 -209
- package/src/components/patterns/McTabs/McTabs.stories.ts +0 -96
- package/src/components/patterns/McTabs/McTabs.vue +0 -387
- package/src/components/patterns/McWrapScroll/McWrapScroll.stories.ts +0 -56
- package/src/components/patterns/McWrapScroll/McWrapScroll.vue +0 -305
- package/src/components/templates/McDrawer/McDrawer.stories.ts +0 -88
- package/src/components/templates/McDrawer/McDrawer.vue +0 -217
- package/src/components/templates/McDrawer/McDrawerContainer.vue +0 -54
- package/src/components/templates/McDrawer/McDrawerContentTemplate/McDrawerContentTemplate.stories.ts +0 -33
- package/src/components/templates/McDrawer/McDrawerContentTemplate/McDrawerContentTemplate.vue +0 -88
- package/src/components/templates/McModal/McModal.stories.ts +0 -92
- package/src/components/templates/McModal/McModal.vue +0 -716
- package/src/components/templates/McModal/McModalContainer.vue +0 -51
- package/src/components/templates/McTable/McTable/McTable.stories.ts +0 -192
- package/src/components/templates/McTable/McTable/McTable.vue +0 -650
- package/src/components/templates/McTable/McTableCard/McTableCard.stories.ts +0 -94
- package/src/components/templates/McTable/McTableCard/McTableCard.vue +0 -239
- package/src/components/templates/McTable/McTableCard/McTableCardHeader/McTableCardHeader.vue +0 -74
- package/src/components/templates/McTable/McTableSkeletonLoading/McTableSkeletonLoading.vue +0 -155
- package/src/components/templates/McTable/McTableSort/McTableSort.vue +0 -66
- package/src/components/templates/McTopBar/McTopBar.stories.ts +0 -68
- package/src/components/templates/McTopBar/McTopBar.vue +0 -149
- package/src/components/templates/McVirtualScroll/McVirtualScroll.stories.ts +0 -59
- package/src/components/templates/McVirtualScroll/McVirtualScroll.vue +0 -124
- package/src/composables/index.ts +0 -9
- package/src/composables/useDrawer.ts +0 -90
- package/src/composables/useEncodeDecode.ts +0 -22
- package/src/composables/useFieldErrors.ts +0 -24
- package/src/composables/useHelper.ts +0 -85
- package/src/composables/useModal.ts +0 -88
- package/src/composables/useRandomNumber.ts +0 -10
- package/src/composables/useTooltip.ts +0 -174
- package/src/consts/table.ts +0 -6
- package/src/enums/Cell.ts +0 -5
- package/src/enums/Chip.ts +0 -10
- package/src/enums/Datepicker.ts +0 -38
- package/src/enums/Drawer.ts +0 -4
- package/src/enums/Dropdown.ts +0 -11
- package/src/enums/Filter.ts +0 -13
- package/src/enums/Grid.ts +0 -21
- package/src/enums/Input.ts +0 -19
- package/src/enums/Modal.ts +0 -4
- package/src/enums/Preview.ts +0 -5
- package/src/enums/Radio.ts +0 -4
- package/src/enums/RadioGroup.ts +0 -4
- package/src/enums/Select.ts +0 -10
- package/src/enums/Sidebar.ts +0 -4
- package/src/enums/Tab.ts +0 -5
- package/src/enums/Title.ts +0 -20
- package/src/enums/Tooltip.ts +0 -14
- package/src/enums/index.ts +0 -23
- package/src/enums/ui/Alignment.ts +0 -5
- package/src/enums/ui/Button.ts +0 -23
- package/src/enums/ui/Directions.ts +0 -4
- package/src/enums/ui/Weights.ts +0 -6
- package/src/index.js +0 -16
- package/src/main.ts +0 -9
- package/src/mocks/authUser.ts +0 -163
- package/src/mocks/categories.js +0 -107
- package/src/mocks/filterMocks.ts +0 -133
- package/src/mocks/icons.json +0 -1
- package/src/mocks/menuLangs.ts +0 -20
- package/src/mocks/selectOptions.json +0 -111
- package/src/mocks/sidebar.ts +0 -131
- package/src/mocks/tableData.ts +0 -8338
- package/src/types/IButton.ts +0 -48
- package/src/types/ICell.ts +0 -5
- package/src/types/IChip.ts +0 -13
- package/src/types/ICollapse.ts +0 -15
- package/src/types/IDatepicker.ts +0 -44
- package/src/types/IDirections.ts +0 -5
- package/src/types/IDrawer.ts +0 -29
- package/src/types/IDropdown.ts +0 -6
- package/src/types/IFilter.ts +0 -185
- package/src/types/IGrid.ts +0 -4
- package/src/types/IInput.ts +0 -6
- package/src/types/IModal.ts +0 -30
- package/src/types/IPreview.ts +0 -5
- package/src/types/IRadio.ts +0 -5
- package/src/types/IRadioGroup.ts +0 -12
- package/src/types/IRoute.ts +0 -14
- package/src/types/ISelect.ts +0 -19
- package/src/types/ISideBar.ts +0 -76
- package/src/types/ITable.ts +0 -76
- package/src/types/ITabs.ts +0 -33
- package/src/types/ITitle.ts +0 -6
- package/src/types/ITooltip.ts +0 -30
- package/src/types/index.ts +0 -39
- package/src/types/styles/Alignment.ts +0 -4
- package/src/types/styles/AvatarSizes.ts +0 -5
- package/src/types/styles/Colors.ts +0 -6
- package/src/types/styles/Durations.ts +0 -6
- package/src/types/styles/FontSizes.ts +0 -5
- package/src/types/styles/FontWeights.ts +0 -6
- package/src/types/styles/Grid.ts +0 -18
- package/src/types/styles/Icons.ts +0 -4
- package/src/types/styles/LineHeights.ts +0 -5
- package/src/types/styles/MediaQueries.ts +0 -5
- package/src/types/styles/Radiuses.ts +0 -5
- package/src/types/styles/Sizes.ts +0 -6
- package/src/types/styles/Spaces.ts +0 -6
- package/src/types/styles/Weights.ts +0 -3
- package/src/utils/dayjs.js +0 -22
- package/src/utils/mcGridColAdaptiveProps.ts +0 -15
- package/src/utils/mcTitleAdaptiveProps.ts +0 -15
|
@@ -1,135 +0,0 @@
|
|
|
1
|
-
import type { Meta, StoryObj } from '@storybook/vue3'
|
|
2
|
-
import McSvgIcon from '@/components/elements/McSvgIcon/McSvgIcon.vue'
|
|
3
|
-
import McTitle from '@/components/elements/McTitle/McTitle.vue'
|
|
4
|
-
import McFieldText from '@/components/elements/McFieldText/McFieldText.vue'
|
|
5
|
-
import McSeparator from '@/components/elements/McSeparator/McSeparator.vue'
|
|
6
|
-
import { Colors } from '@/types/styles/Colors'
|
|
7
|
-
import { Sizes } from '@/types/styles/Sizes'
|
|
8
|
-
import { Directions } from '@/enums/ui/Directions'
|
|
9
|
-
import iconsList from '@/mocks/icons.json'
|
|
10
|
-
|
|
11
|
-
const iconsArrayList = Object.keys(iconsList)
|
|
12
|
-
|
|
13
|
-
const meta = {
|
|
14
|
-
title: 'McSvgIcon',
|
|
15
|
-
component: McSvgIcon,
|
|
16
|
-
tags: ['autodocs'],
|
|
17
|
-
argTypes: {
|
|
18
|
-
name: { control: 'select', options: iconsArrayList },
|
|
19
|
-
color: { control: 'select', options: Object.keys(Colors) },
|
|
20
|
-
size: { control: 'select', options: Object.keys(Sizes) },
|
|
21
|
-
weight: { control: 'number' },
|
|
22
|
-
dir: { control: 'select', options: Directions },
|
|
23
|
-
spritePath: { control: 'none' }
|
|
24
|
-
},
|
|
25
|
-
args: {
|
|
26
|
-
color: 'purple',
|
|
27
|
-
size: '400',
|
|
28
|
-
weight: 1.5,
|
|
29
|
-
dir: Directions.Ltr
|
|
30
|
-
},
|
|
31
|
-
parameters: {
|
|
32
|
-
componentSubtitle: 'Status: Ready',
|
|
33
|
-
design: {
|
|
34
|
-
type: 'figma',
|
|
35
|
-
url: 'https://www.figma.com/file/LXNkU1vlAYmydEiC0l0gDa/MC-Design-System?node-id=1%3A2'
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
} satisfies Meta<typeof McSvgIcon>
|
|
39
|
-
export default meta
|
|
40
|
-
type Story = StoryObj<typeof meta>
|
|
41
|
-
|
|
42
|
-
export const Default: Story = {
|
|
43
|
-
args: {
|
|
44
|
-
name: 'bank_card'
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
export const FullList: Story = {
|
|
48
|
-
render() {
|
|
49
|
-
return {
|
|
50
|
-
components: {
|
|
51
|
-
McSvgIcon,
|
|
52
|
-
McTitle,
|
|
53
|
-
McFieldText,
|
|
54
|
-
McSeparator,
|
|
55
|
-
},
|
|
56
|
-
data: () => ({
|
|
57
|
-
search: null
|
|
58
|
-
}),
|
|
59
|
-
computed: {
|
|
60
|
-
iconsSections() {
|
|
61
|
-
const iconsObject = {
|
|
62
|
-
colored: [],
|
|
63
|
-
blue: [],
|
|
64
|
-
arrows: [],
|
|
65
|
-
flags: [],
|
|
66
|
-
checks: [],
|
|
67
|
-
mediacube: [],
|
|
68
|
-
other: []
|
|
69
|
-
}
|
|
70
|
-
iconsArrayList.forEach((icon) => {
|
|
71
|
-
switch (true) {
|
|
72
|
-
case icon.includes('_colored'):
|
|
73
|
-
return iconsObject.colored.push(icon)
|
|
74
|
-
case icon.includes('_blue'):
|
|
75
|
-
return iconsObject.blue.push(icon)
|
|
76
|
-
case icon.includes('arrow'):
|
|
77
|
-
return iconsObject.arrows.push(icon)
|
|
78
|
-
case icon.includes('flag'):
|
|
79
|
-
return iconsObject.flags.push(icon)
|
|
80
|
-
case icon.includes('check'):
|
|
81
|
-
return iconsObject.checks.push(icon)
|
|
82
|
-
case icon.includes('mc'):
|
|
83
|
-
case icon.includes('mediacube'):
|
|
84
|
-
return iconsObject.mediacube.push(icon)
|
|
85
|
-
default:
|
|
86
|
-
return iconsObject.other.push(icon)
|
|
87
|
-
}
|
|
88
|
-
})
|
|
89
|
-
const defaultSections = Object.keys(iconsObject).map((key) => ({
|
|
90
|
-
title: key.replace(/^./, key[0].toUpperCase()),
|
|
91
|
-
icons: iconsObject[key],
|
|
92
|
-
id: key
|
|
93
|
-
}))
|
|
94
|
-
|
|
95
|
-
return this.search
|
|
96
|
-
? [
|
|
97
|
-
{
|
|
98
|
-
title: 'Search results',
|
|
99
|
-
icons: iconsArrayList.filter((icon) => icon.includes(this.search))
|
|
100
|
-
}
|
|
101
|
-
]
|
|
102
|
-
: defaultSections
|
|
103
|
-
}
|
|
104
|
-
},
|
|
105
|
-
template: `
|
|
106
|
-
<section>
|
|
107
|
-
<mc-field-text v-model="search" name="search" title="Search" placeholder="Start typing to search..." />
|
|
108
|
-
<div v-for="section in iconsSections" :key="section.id" :id="section.id">
|
|
109
|
-
<mc-separator indent-bottom="400" indent-top="400" />
|
|
110
|
-
<mc-title variation="h3">
|
|
111
|
-
{{ section.title }}
|
|
112
|
-
</mc-title>
|
|
113
|
-
<mc-separator indent-bottom="400" indent-top="400" />
|
|
114
|
-
<template v-if="section.icons.length">
|
|
115
|
-
<div style="display: grid; grid-template-columns: repeat(auto-fit, 160px); gap: 16px">
|
|
116
|
-
<div
|
|
117
|
-
v-for="icon in section.icons"
|
|
118
|
-
:key="icon"
|
|
119
|
-
style="display: flex; flex-direction: column; align-items: center; justify-content: center"
|
|
120
|
-
>
|
|
121
|
-
<mc-svg-icon :name="icon" size="400" />
|
|
122
|
-
<mc-title text-align="center" class="mt-150">{{ icon }}</mc-title>
|
|
123
|
-
</div>
|
|
124
|
-
</div>
|
|
125
|
-
</template>
|
|
126
|
-
<div v-else style="width: 100%; height: 300px; display: flex; align-items: center; justify-content: center; flex-direction: column">
|
|
127
|
-
<mc-svg-icon name="info" color="gray" size="800" />
|
|
128
|
-
<mc-title text-align="center" color="gray" variation="h3">No results</mc-title>
|
|
129
|
-
</div>
|
|
130
|
-
</div>
|
|
131
|
-
</section>
|
|
132
|
-
`
|
|
133
|
-
}
|
|
134
|
-
}
|
|
135
|
-
}
|
|
@@ -1,114 +0,0 @@
|
|
|
1
|
-
<script setup lang="ts">
|
|
2
|
-
//@ts-ignore
|
|
3
|
-
import iconsSpriteIcon from '../../../assets/iconsSprite.svg'
|
|
4
|
-
import { Sizes, type SizeTypes } from '@/types/styles/Sizes'
|
|
5
|
-
import { Colors, type ColorTypes } from '@/types/styles/Colors'
|
|
6
|
-
import { computed, type PropType } from 'vue'
|
|
7
|
-
import type { DirectionsUnion } from '@/types/IDirections'
|
|
8
|
-
import { type IconsListUnion } from '@/types/styles/Icons'
|
|
9
|
-
import { Directions } from '@/enums/ui/Directions'
|
|
10
|
-
|
|
11
|
-
const props = defineProps({
|
|
12
|
-
/**
|
|
13
|
-
* Путь к спрайту с иконками
|
|
14
|
-
* */
|
|
15
|
-
spritePath: {
|
|
16
|
-
type: String,
|
|
17
|
-
default: iconsSpriteIcon,
|
|
18
|
-
validator(value: string): boolean {
|
|
19
|
-
return !!value
|
|
20
|
-
}
|
|
21
|
-
},
|
|
22
|
-
/**
|
|
23
|
-
* Имя иконки
|
|
24
|
-
*/
|
|
25
|
-
name: {
|
|
26
|
-
type: String as () => IconsListUnion,
|
|
27
|
-
required: true,
|
|
28
|
-
},
|
|
29
|
-
/**
|
|
30
|
-
* Цвет иконки
|
|
31
|
-
* (по токенам)
|
|
32
|
-
*/
|
|
33
|
-
color: {
|
|
34
|
-
type: String as () => ColorTypes,
|
|
35
|
-
default: '',
|
|
36
|
-
},
|
|
37
|
-
/**
|
|
38
|
-
* Размер
|
|
39
|
-
*/
|
|
40
|
-
size: {
|
|
41
|
-
type: String as () => SizeTypes,
|
|
42
|
-
default: '250',
|
|
43
|
-
},
|
|
44
|
-
/**
|
|
45
|
-
* Толщина линий 0-5 если нужно больше, нужно дописать список в стилях
|
|
46
|
-
* stroke-width
|
|
47
|
-
*/
|
|
48
|
-
weight: {
|
|
49
|
-
type: Number as PropType<number>,
|
|
50
|
-
default: 1.5,
|
|
51
|
-
},
|
|
52
|
-
/**
|
|
53
|
-
* Отображение иконки,
|
|
54
|
-
* если не найдена по имени
|
|
55
|
-
* в 'name'
|
|
56
|
-
*/
|
|
57
|
-
defaultName: {
|
|
58
|
-
type: String as PropType<string>,
|
|
59
|
-
default: '',
|
|
60
|
-
},
|
|
61
|
-
dir: {
|
|
62
|
-
type: String as () => DirectionsUnion,
|
|
63
|
-
default: Directions.Ltr,
|
|
64
|
-
},
|
|
65
|
-
})
|
|
66
|
-
|
|
67
|
-
const classes = computed((): { [key: string]: boolean } => ({
|
|
68
|
-
'mc-svg-icon': true,
|
|
69
|
-
[`mc-svg-icon--dir-${props.dir}`]: !!props.dir,
|
|
70
|
-
}))
|
|
71
|
-
|
|
72
|
-
const styles = computed((): { [key: string]: string } => ({
|
|
73
|
-
['--mc-svg-icon-size']: Sizes[props.size],
|
|
74
|
-
['--mc-svg-icon-weight']: String(props.weight)
|
|
75
|
-
?.replace('.', '')
|
|
76
|
-
?.split('')
|
|
77
|
-
?.join('.'),
|
|
78
|
-
['--mc-svg-icon-color']: props.color && Colors[props.color],
|
|
79
|
-
}))
|
|
80
|
-
</script>
|
|
81
|
-
|
|
82
|
-
<template>
|
|
83
|
-
<svg :class="classes" :style="styles">
|
|
84
|
-
<use :xlink:href="`${props.spritePath}#${props.name}`"></use>
|
|
85
|
-
</svg>
|
|
86
|
-
</template>
|
|
87
|
-
|
|
88
|
-
<style lang="scss">
|
|
89
|
-
@use '../../../assets/styles/mixins' as *;
|
|
90
|
-
@use '../../../assets/tokens/sizes' as *;
|
|
91
|
-
.mc-svg-icon {
|
|
92
|
-
--mc-svg-icon-size: #{$size-250};
|
|
93
|
-
--mc-svg-icon-weight: 1.5;
|
|
94
|
-
--mc-svg-icon-color: initial;
|
|
95
|
-
@include reset();
|
|
96
|
-
@include reset-text-indents();
|
|
97
|
-
|
|
98
|
-
@include size(inherit);
|
|
99
|
-
width: var(--mc-svg-icon-size);
|
|
100
|
-
height: var(--mc-svg-icon-size);
|
|
101
|
-
min-width: var(--mc-svg-icon-size);
|
|
102
|
-
min-height: var(--mc-svg-icon-size);
|
|
103
|
-
stroke-width: var(--mc-svg-icon-weight);
|
|
104
|
-
color: var(--mc-svg-icon-color);
|
|
105
|
-
use {
|
|
106
|
-
stroke-width: var(--mc-svg-icon-weight);
|
|
107
|
-
}
|
|
108
|
-
&--dir {
|
|
109
|
-
&-rtl {
|
|
110
|
-
transform: scale(-1, 1);
|
|
111
|
-
}
|
|
112
|
-
}
|
|
113
|
-
}
|
|
114
|
-
</style>
|
|
@@ -1,73 +0,0 @@
|
|
|
1
|
-
import type { Meta, StoryObj } from '@storybook/vue3'
|
|
2
|
-
import McTitle from './McTitle.vue'
|
|
3
|
-
import { TitleVariations } from '@/enums/Title'
|
|
4
|
-
import { Colors } from '@/types/styles/Colors'
|
|
5
|
-
import { HorizontalAlignment } from '@/enums/ui/Alignment'
|
|
6
|
-
import { LineHeights } from '@/types/styles/LineHeights'
|
|
7
|
-
import { Weights } from '@/enums/ui/Weights'
|
|
8
|
-
|
|
9
|
-
const meta = {
|
|
10
|
-
title: 'McTitle',
|
|
11
|
-
component: McTitle,
|
|
12
|
-
tags: ['autodocs'],
|
|
13
|
-
argTypes: {
|
|
14
|
-
variation: { control: 'select', options: TitleVariations },
|
|
15
|
-
ellipsis: { control: 'boolean' },
|
|
16
|
-
uppercase: { control: 'boolean' },
|
|
17
|
-
preLine: { control: 'boolean' },
|
|
18
|
-
nowrap: { control: 'boolean' },
|
|
19
|
-
plainText: { control: 'boolean' },
|
|
20
|
-
color: { control: 'select', options: Object.keys(Colors) },
|
|
21
|
-
textAlign: { control: 'select', options: HorizontalAlignment },
|
|
22
|
-
lineHeight: { control: 'select', options: Object.keys(LineHeights) },
|
|
23
|
-
weight: { control: 'select', options: Weights },
|
|
24
|
-
htmlData: { control: 'none' },
|
|
25
|
-
},
|
|
26
|
-
args: {
|
|
27
|
-
ellipsis: true,
|
|
28
|
-
uppercase: false,
|
|
29
|
-
preLine: false,
|
|
30
|
-
nowrap: false,
|
|
31
|
-
plainText: false,
|
|
32
|
-
},
|
|
33
|
-
parameters: {
|
|
34
|
-
componentSubtitle: 'Status: Ready',
|
|
35
|
-
design: {
|
|
36
|
-
type: 'figma',
|
|
37
|
-
url: '',
|
|
38
|
-
},
|
|
39
|
-
},
|
|
40
|
-
} satisfies Meta<typeof McTitle>;
|
|
41
|
-
export default meta;
|
|
42
|
-
type Story = StoryObj<typeof meta>;
|
|
43
|
-
|
|
44
|
-
export const Default: Story = {
|
|
45
|
-
args: {
|
|
46
|
-
default: 'McTitle'
|
|
47
|
-
},
|
|
48
|
-
};
|
|
49
|
-
export const VHtml: Story = {
|
|
50
|
-
render() {
|
|
51
|
-
return {
|
|
52
|
-
components: { McTitle },
|
|
53
|
-
data() {
|
|
54
|
-
return {
|
|
55
|
-
text: '<div style="color: purple">Hello i am a purple text</div>',
|
|
56
|
-
}
|
|
57
|
-
},
|
|
58
|
-
template: `
|
|
59
|
-
input data - {{ text }}
|
|
60
|
-
<br/>
|
|
61
|
-
<mc-title :html-data="text" />
|
|
62
|
-
`
|
|
63
|
-
}
|
|
64
|
-
},
|
|
65
|
-
};
|
|
66
|
-
export const Adaptive: Story = {
|
|
67
|
-
args: {
|
|
68
|
-
default: 'McTitleAdaptiveText',
|
|
69
|
-
variation: 'body',
|
|
70
|
-
variationS: 'h3',
|
|
71
|
-
variationM: 'h1'
|
|
72
|
-
},
|
|
73
|
-
};
|
|
@@ -1,368 +0,0 @@
|
|
|
1
|
-
<script setup lang="ts">
|
|
2
|
-
//@ts-ignore
|
|
3
|
-
import _upperFirst from 'lodash/upperFirst'
|
|
4
|
-
import DOMPurify from 'isomorphic-dompurify'
|
|
5
|
-
import { Colors, type ColorTypes } from '@/types/styles/Colors'
|
|
6
|
-
import { type HorizontalAlignmentUnion } from '@/types/styles/Alignment'
|
|
7
|
-
import { LineHeights, type LineHeightTypes } from '@/types/styles/LineHeights'
|
|
8
|
-
import { type WeightsUnion } from '@/types/styles/Weights'
|
|
9
|
-
|
|
10
|
-
import { computed, type PropType, useAttrs } from 'vue'
|
|
11
|
-
import { FontWeights } from '@/types/styles/FontWeights'
|
|
12
|
-
import { adaptiveAdditionalProps, adaptivePropsParams, adaptivePropsSizes } from '@/utils/mcTitleAdaptiveProps'
|
|
13
|
-
import type { TitleVariationsUnion } from '@/types/ITitle'
|
|
14
|
-
|
|
15
|
-
const attrs = useAttrs()
|
|
16
|
-
const props = defineProps({
|
|
17
|
-
...adaptiveAdditionalProps,
|
|
18
|
-
/**
|
|
19
|
-
* Уровень: `h1`, `h2`, `h3`, `h4`, `subtitle`, `body`, `overline`, `article`, 'info'.
|
|
20
|
-
*/
|
|
21
|
-
variation: {
|
|
22
|
-
type: String as () => TitleVariationsUnion,
|
|
23
|
-
default: 'body'
|
|
24
|
-
},
|
|
25
|
-
/**
|
|
26
|
-
* В одну строку с точками в конце, если не вмещается
|
|
27
|
-
*/
|
|
28
|
-
ellipsis: {
|
|
29
|
-
type: Boolean as PropType<boolean>,
|
|
30
|
-
default: false
|
|
31
|
-
},
|
|
32
|
-
/**
|
|
33
|
-
* Если нужен другой тэг
|
|
34
|
-
*/
|
|
35
|
-
tagName: {
|
|
36
|
-
type: String as PropType<string>,
|
|
37
|
-
default: 'div'
|
|
38
|
-
},
|
|
39
|
-
/**
|
|
40
|
-
* Заглавные буквы
|
|
41
|
-
*/
|
|
42
|
-
uppercase: {
|
|
43
|
-
type: Boolean as PropType<boolean>,
|
|
44
|
-
default: false
|
|
45
|
-
},
|
|
46
|
-
/**
|
|
47
|
-
* Цвет
|
|
48
|
-
*/
|
|
49
|
-
color: {
|
|
50
|
-
type: String as () => ColorTypes,
|
|
51
|
-
default: 'black'
|
|
52
|
-
},
|
|
53
|
-
/**
|
|
54
|
-
* Позиция текста:
|
|
55
|
-
* `left, center, right`
|
|
56
|
-
*/
|
|
57
|
-
textAlign: {
|
|
58
|
-
type: String as () => HorizontalAlignmentUnion,
|
|
59
|
-
default: 'left'
|
|
60
|
-
},
|
|
61
|
-
/**
|
|
62
|
-
* Если нужна иная высота строки: `100`, `200`, `300` и т.д.
|
|
63
|
-
*/
|
|
64
|
-
lineHeight: {
|
|
65
|
-
type: String as () => LineHeightTypes,
|
|
66
|
-
default: ''
|
|
67
|
-
},
|
|
68
|
-
/**
|
|
69
|
-
* Толщина текста:
|
|
70
|
-
* normal, medium, semi-bold
|
|
71
|
-
*/
|
|
72
|
-
weight: {
|
|
73
|
-
type: String as () => WeightsUnion,
|
|
74
|
-
default: ''
|
|
75
|
-
},
|
|
76
|
-
/**
|
|
77
|
-
* Если нужно указать свою
|
|
78
|
-
* максимальную ширину
|
|
79
|
-
*/
|
|
80
|
-
maxWidth: {
|
|
81
|
-
type: String as PropType<string>,
|
|
82
|
-
default: '100%'
|
|
83
|
-
},
|
|
84
|
-
preLine: {
|
|
85
|
-
type: Boolean as PropType<boolean>,
|
|
86
|
-
default: false
|
|
87
|
-
},
|
|
88
|
-
nowrap: {
|
|
89
|
-
type: Boolean as PropType<boolean>,
|
|
90
|
-
default: false
|
|
91
|
-
},
|
|
92
|
-
plainText: {
|
|
93
|
-
type: Boolean as PropType<boolean>,
|
|
94
|
-
default: false
|
|
95
|
-
},
|
|
96
|
-
/**
|
|
97
|
-
* ** Analog v-html, component use DOMPurify**
|
|
98
|
-
* */
|
|
99
|
-
htmlData: {
|
|
100
|
-
type: String as PropType<string>,
|
|
101
|
-
default: ''
|
|
102
|
-
}
|
|
103
|
-
})
|
|
104
|
-
|
|
105
|
-
const id = computed(() => {
|
|
106
|
-
return attrs.id as string
|
|
107
|
-
})
|
|
108
|
-
|
|
109
|
-
const responsivePropsClasses = computed((): { [key: string]: boolean } => {
|
|
110
|
-
const result: { [key: string]: any } = {}
|
|
111
|
-
result[`mc-title--variation-${props.variation}`] = !!props.variation
|
|
112
|
-
adaptivePropsParams.forEach((value) => {
|
|
113
|
-
adaptivePropsSizes.forEach((size) => {
|
|
114
|
-
//@ts-ignore
|
|
115
|
-
const sizeValue: string | undefined | unknown = props[`${value}${_upperFirst(size)}`]
|
|
116
|
-
result[`mc-title--${value}-${size}-${sizeValue}`] = !!sizeValue
|
|
117
|
-
})
|
|
118
|
-
})
|
|
119
|
-
|
|
120
|
-
return result
|
|
121
|
-
})
|
|
122
|
-
|
|
123
|
-
const classes = computed((): { [key: string]: boolean } => ({
|
|
124
|
-
'mc-title': true,
|
|
125
|
-
['mc-title--ellipsis']: props.ellipsis,
|
|
126
|
-
[`mc-title--text-align-${props.textAlign}`]: !!props.textAlign,
|
|
127
|
-
[`mc-title--pre-line`]: props.preLine,
|
|
128
|
-
[`mc-title--nowrap`]: props.nowrap,
|
|
129
|
-
'mc-title--uppercase': props.uppercase,
|
|
130
|
-
'mc-title--line-height': !!props.lineHeight,
|
|
131
|
-
'mc-title--weight': !!props.weight,
|
|
132
|
-
'mc-title--plain-text': props.plainText,
|
|
133
|
-
...responsivePropsClasses.value
|
|
134
|
-
}))
|
|
135
|
-
const style = computed((): { [key: string]: string } => {
|
|
136
|
-
let style: { [key: string]: string } = {}
|
|
137
|
-
if (props.color) style['--mc-title-color'] = Colors[props.color]
|
|
138
|
-
if (props.weight) style['--mc-title-weight'] = FontWeights[props.weight]
|
|
139
|
-
if (props.lineHeight) style['--mc-title-line-height'] = LineHeights[props.lineHeight]
|
|
140
|
-
|
|
141
|
-
return style
|
|
142
|
-
})
|
|
143
|
-
|
|
144
|
-
const contentStyle = computed((): { [key: string]: string } => ({
|
|
145
|
-
'max-width': props.maxWidth
|
|
146
|
-
}))
|
|
147
|
-
</script>
|
|
148
|
-
|
|
149
|
-
<template>
|
|
150
|
-
<div :class="classes" :style="style" :id="id">
|
|
151
|
-
<!-- @slot -->
|
|
152
|
-
<slot name="icon-prepend" />
|
|
153
|
-
<div
|
|
154
|
-
v-if="props.htmlData"
|
|
155
|
-
class="mc-title__text"
|
|
156
|
-
:style="contentStyle"
|
|
157
|
-
v-html="DOMPurify.sanitize(props.htmlData)"
|
|
158
|
-
/>
|
|
159
|
-
<div v-else class="mc-title__text" :style="contentStyle"><slot /></div>
|
|
160
|
-
|
|
161
|
-
<!-- @slot -->
|
|
162
|
-
<slot name="icon-append" />
|
|
163
|
-
</div>
|
|
164
|
-
</template>
|
|
165
|
-
|
|
166
|
-
<style lang="scss">
|
|
167
|
-
@use '../../../assets/styles/mixins' as *;
|
|
168
|
-
@use '../../../assets/tokens/font-families' as *;
|
|
169
|
-
@use '../../../assets/tokens/letter-spacings' as *;
|
|
170
|
-
@use '../../../assets/tokens/font-weights' as *;
|
|
171
|
-
@use '../../../assets/tokens/font-sizes' as *;
|
|
172
|
-
@use '../../../assets/tokens/line-heights' as *;
|
|
173
|
-
@use '../../../assets/tokens/spacings' as *;
|
|
174
|
-
@use '../../../assets/tokens/media-queries' as *;
|
|
175
|
-
.mc-title {
|
|
176
|
-
$block-name: &;
|
|
177
|
-
--mc-title-color: initial;
|
|
178
|
-
--mc-title-weight: initial;
|
|
179
|
-
--mc-title-line-height: initial;
|
|
180
|
-
color: var(--mc-title-color);
|
|
181
|
-
font-family: $font-family-main;
|
|
182
|
-
@mixin variations() {
|
|
183
|
-
&-h1 {
|
|
184
|
-
font-size: $font-size-700;
|
|
185
|
-
line-height: $line-height-600;
|
|
186
|
-
font-weight: $font-weight-semi-bold;
|
|
187
|
-
#{$block-name}__text {
|
|
188
|
-
max-width: 920px;
|
|
189
|
-
}
|
|
190
|
-
}
|
|
191
|
-
&-h2 {
|
|
192
|
-
font-size: $font-size-600;
|
|
193
|
-
line-height: $line-height-500;
|
|
194
|
-
font-weight: $font-weight-semi-bold;
|
|
195
|
-
#{$block-name}__text {
|
|
196
|
-
max-width: 820px;
|
|
197
|
-
}
|
|
198
|
-
}
|
|
199
|
-
&-h3 {
|
|
200
|
-
font-size: $font-size-500;
|
|
201
|
-
line-height: $line-height-400;
|
|
202
|
-
font-weight: $font-weight-semi-bold;
|
|
203
|
-
#{$block-name}__text {
|
|
204
|
-
max-width: 720px;
|
|
205
|
-
}
|
|
206
|
-
}
|
|
207
|
-
&-h4 {
|
|
208
|
-
font-size: $font-size-400;
|
|
209
|
-
line-height: $line-height-300;
|
|
210
|
-
font-weight: $font-weight-bold;
|
|
211
|
-
#{$block-name}__text {
|
|
212
|
-
max-width: 700px;
|
|
213
|
-
}
|
|
214
|
-
}
|
|
215
|
-
|
|
216
|
-
&-subtitle {
|
|
217
|
-
font-size: $font-size-300;
|
|
218
|
-
line-height: $line-height-250;
|
|
219
|
-
#{$block-name}__text {
|
|
220
|
-
max-width: 640px;
|
|
221
|
-
}
|
|
222
|
-
}
|
|
223
|
-
&-article {
|
|
224
|
-
font-size: $font-size-200;
|
|
225
|
-
line-height: $line-height-250;
|
|
226
|
-
#{$block-name}__text {
|
|
227
|
-
max-width: 536px;
|
|
228
|
-
}
|
|
229
|
-
}
|
|
230
|
-
&-info {
|
|
231
|
-
font-size: $font-size-300;
|
|
232
|
-
line-height: $line-height-300;
|
|
233
|
-
}
|
|
234
|
-
&-body {
|
|
235
|
-
font-size: $font-size-200;
|
|
236
|
-
line-height: $line-height-200;
|
|
237
|
-
#{$block-name}__text {
|
|
238
|
-
max-width: 330px;
|
|
239
|
-
}
|
|
240
|
-
}
|
|
241
|
-
&-overline {
|
|
242
|
-
font-size: $font-size-100;
|
|
243
|
-
line-height: $line-height-150;
|
|
244
|
-
font-weight: $font-weight-medium;
|
|
245
|
-
#{$block-name}__text {
|
|
246
|
-
max-width: 330px;
|
|
247
|
-
}
|
|
248
|
-
}
|
|
249
|
-
}
|
|
250
|
-
|
|
251
|
-
margin-top: 0;
|
|
252
|
-
margin-bottom: 0;
|
|
253
|
-
display: inline-flex;
|
|
254
|
-
max-width: 100%;
|
|
255
|
-
width: 100%;
|
|
256
|
-
text-decoration: none;
|
|
257
|
-
//@include child-indent-right($space-50);
|
|
258
|
-
|
|
259
|
-
&__text {
|
|
260
|
-
padding-bottom: 1px; // fix overflow
|
|
261
|
-
margin-bottom: -1px; // fix overflow
|
|
262
|
-
}
|
|
263
|
-
|
|
264
|
-
> *:not(:empty):not(:last-child) {
|
|
265
|
-
margin-inline-end: $space-50;
|
|
266
|
-
}
|
|
267
|
-
|
|
268
|
-
.mc-svg-icon,
|
|
269
|
-
.mc-button {
|
|
270
|
-
@include reset-text-indents();
|
|
271
|
-
}
|
|
272
|
-
|
|
273
|
-
&--pre-line {
|
|
274
|
-
#{$block-name}__text {
|
|
275
|
-
white-space: pre-line !important;
|
|
276
|
-
word-break: normal;
|
|
277
|
-
}
|
|
278
|
-
}
|
|
279
|
-
|
|
280
|
-
&--nowrap {
|
|
281
|
-
#{$block-name}__text {
|
|
282
|
-
white-space: nowrap;
|
|
283
|
-
}
|
|
284
|
-
}
|
|
285
|
-
|
|
286
|
-
&--variation {
|
|
287
|
-
@include variations;
|
|
288
|
-
}
|
|
289
|
-
|
|
290
|
-
&--ellipsis {
|
|
291
|
-
align-items: center;
|
|
292
|
-
|
|
293
|
-
#{$block-name} {
|
|
294
|
-
&__text {
|
|
295
|
-
@include ellipsis($display: inline-block);
|
|
296
|
-
@include layout-flex-fix();
|
|
297
|
-
}
|
|
298
|
-
}
|
|
299
|
-
}
|
|
300
|
-
|
|
301
|
-
&--uppercase {
|
|
302
|
-
text-transform: uppercase;
|
|
303
|
-
letter-spacing: $letter-spacing-m;
|
|
304
|
-
}
|
|
305
|
-
&--plain-text {
|
|
306
|
-
#{$block-name} {
|
|
307
|
-
&__text {
|
|
308
|
-
unicode-bidi: plaintext;
|
|
309
|
-
}
|
|
310
|
-
}
|
|
311
|
-
}
|
|
312
|
-
|
|
313
|
-
&--text-align {
|
|
314
|
-
&-left {
|
|
315
|
-
justify-content: flex-start;
|
|
316
|
-
text-align: start;
|
|
317
|
-
}
|
|
318
|
-
&-center {
|
|
319
|
-
justify-content: center;
|
|
320
|
-
text-align: center;
|
|
321
|
-
}
|
|
322
|
-
&-right {
|
|
323
|
-
justify-content: flex-end;
|
|
324
|
-
text-align: end;
|
|
325
|
-
}
|
|
326
|
-
}
|
|
327
|
-
&--line-height {
|
|
328
|
-
line-height: var(--mc-title-line-height);
|
|
329
|
-
}
|
|
330
|
-
&--weight {
|
|
331
|
-
font-weight: var(--mc-title-weight);
|
|
332
|
-
}
|
|
333
|
-
@each $media, $value in $token-media-queries {
|
|
334
|
-
@media #{$value} {
|
|
335
|
-
&--variation-#{$media} {
|
|
336
|
-
@include variations;
|
|
337
|
-
}
|
|
338
|
-
&--weight-#{$media} {
|
|
339
|
-
&-normal {
|
|
340
|
-
font-weight: $font-weight-normal;
|
|
341
|
-
}
|
|
342
|
-
&-medium {
|
|
343
|
-
font-weight: $font-weight-medium;
|
|
344
|
-
}
|
|
345
|
-
&-semi-bold {
|
|
346
|
-
font-weight: $font-weight-semi-bold;
|
|
347
|
-
}
|
|
348
|
-
&-bold {
|
|
349
|
-
font-weight: $font-weight-bold;
|
|
350
|
-
}
|
|
351
|
-
}
|
|
352
|
-
}
|
|
353
|
-
}
|
|
354
|
-
h1,
|
|
355
|
-
h2,
|
|
356
|
-
h3,
|
|
357
|
-
h4,
|
|
358
|
-
h5,
|
|
359
|
-
h6 {
|
|
360
|
-
font-weight: inherit;
|
|
361
|
-
font-style: inherit;
|
|
362
|
-
font-size: inherit;
|
|
363
|
-
line-height: inherit;
|
|
364
|
-
margin-block-start: 0;
|
|
365
|
-
margin-block-end: 0;
|
|
366
|
-
}
|
|
367
|
-
}
|
|
368
|
-
</style>
|