mediacube-ui-v2 0.0.161 → 0.0.163

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.
@@ -21,6 +21,7 @@
21
21
  @use '../tokens/font-sizes' as *;
22
22
  @use '../tokens/line-heights' as *;
23
23
  @use '../tokens/spacings' as *;
24
+ @use '../tokens/media-queries' as *;
24
25
  @use '../tokens/font-weights' as *;
25
26
  @use '../styles/functions' as *;
26
27
 
@@ -663,3 +664,62 @@
663
664
  margin-inline-start: $space;
664
665
  }
665
666
  }
667
+
668
+
669
+ @mixin editor-notification-styles {
670
+ @include editor-default-styles;
671
+ h1 {
672
+ margin-bottom: $space-250;
673
+ img {
674
+ object-fit: cover;
675
+ margin: $space-zero auto $space-50;
676
+ @media #{$media-query-s} {
677
+ margin: $space-zero auto $space-250;
678
+ }
679
+ }
680
+ }
681
+ h2 {
682
+ margin-bottom: $space-200;
683
+ }
684
+ * + h2 {
685
+ margin-top: $space-300;
686
+ }
687
+ h3, strong {
688
+ margin-bottom: $space-100;
689
+ }
690
+ * + h3 {
691
+ margin-top: $space-250;
692
+ }
693
+ img {
694
+ object-fit: cover;
695
+ margin: $space-250 $space-zero;
696
+ }
697
+ img.horizontal {
698
+ width: 100%;
699
+ height: auto;
700
+ max-height: 200px;
701
+ }
702
+ img.vertical {
703
+ display: block;
704
+ max-height: 180px;
705
+ margin-left: auto;
706
+ margin-right: auto;
707
+ }
708
+ blockquote {
709
+ margin-top: $space-100;
710
+ font-size: $font-size-300;
711
+ font-weight: $font-weight-normal;
712
+ line-height: $line-height-300;
713
+ }
714
+ }
715
+
716
+ @mixin editor-assist-styles {
717
+ img {
718
+ max-width: 100%;
719
+ width: 100%;
720
+ max-height: 500px;
721
+ object-fit: cover;
722
+ margin: 16px 0;
723
+ }
724
+ @include editor-default-styles;
725
+ }
@@ -40,7 +40,6 @@
40
40
  &:hover:before,
41
41
  &:hover:after {
42
42
  display: block;
43
- transition: all 0.3s ease;
44
43
  }
45
44
  &[tooltip-size="xs"] {
46
45
  max-width: 180px;
@@ -229,6 +229,20 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<im
229
229
  type: PropType<string>;
230
230
  default: string;
231
231
  };
232
+ /**
233
+ * Убираем ли лидирующий 0 01 -> 1 для числовых инпутов num/int/amount_format
234
+ */
235
+ removeLeadingZero: {
236
+ type: BooleanConstructor;
237
+ default: boolean;
238
+ };
239
+ /**
240
+ * Разрешаем вводить '-' для числовых типов num/amount_format
241
+ */
242
+ allowNegative: {
243
+ type: BooleanConstructor;
244
+ default: boolean;
245
+ };
232
246
  }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
233
247
  copy: (value: string) => any;
234
248
  keydown: (value: KeyboardEvent) => any;
@@ -459,6 +473,20 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<im
459
473
  type: PropType<string>;
460
474
  default: string;
461
475
  };
476
+ /**
477
+ * Убираем ли лидирующий 0 01 -> 1 для числовых инпутов num/int/amount_format
478
+ */
479
+ removeLeadingZero: {
480
+ type: BooleanConstructor;
481
+ default: boolean;
482
+ };
483
+ /**
484
+ * Разрешаем вводить '-' для числовых типов num/amount_format
485
+ */
486
+ allowNegative: {
487
+ type: BooleanConstructor;
488
+ default: boolean;
489
+ };
462
490
  }>> & Readonly<{
463
491
  onCopy?: ((value: string) => any) | undefined;
464
492
  onKeydown?: ((value: KeyboardEvent) => any) | undefined;
@@ -489,6 +517,8 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<im
489
517
  maskOptions: Record<string, any>;
490
518
  isMobile: boolean;
491
519
  maxDecimals: number;
520
+ removeLeadingZero: boolean;
521
+ allowNegative: boolean;
492
522
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>, {
493
523
  header?(_: {}): any;
494
524
  prepend?(_: {}): any;
@@ -82,6 +82,10 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<im
82
82
  type: PropType<boolean>;
83
83
  default: boolean;
84
84
  };
85
+ outlineBorder: {
86
+ type: PropType<boolean>;
87
+ default: boolean;
88
+ };
85
89
  /**
86
90
  * Оверлей с затемнение на всю таблицу
87
91
  * */
@@ -198,6 +202,10 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<im
198
202
  type: PropType<boolean>;
199
203
  default: boolean;
200
204
  };
205
+ outlineBorder: {
206
+ type: PropType<boolean>;
207
+ default: boolean;
208
+ };
201
209
  /**
202
210
  * Оверлей с затемнение на всю таблицу
203
211
  * */
@@ -248,6 +256,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<im
248
256
  footerRowHeight: number;
249
257
  skeletonLoading: boolean;
250
258
  bottomLoading: boolean;
259
+ outlineBorder: boolean;
251
260
  noDataIcon: "reset" | "link" | "a_circle" | "access_time" | "account_circle" | "account_edit" | "add" | "add_circle" | "address" | "ads_banner" | "album" | "alert_solid" | "alternate_email" | "amocrm" | "amper_music" | "analytics" | "animation_motion" | "api" | "apple_icon" | "applications" | "applications_new" | "apps" | "archive" | "archive_in" | "archive_out" | "arrow-stats-down" | "arrow-stats-up" | "arrow_backward" | "arrow_downward" | "arrow_drop_down" | "arrow_drop_up" | "arrow_forward" | "arrow_leftward" | "arrow_rightward" | "arrow_to_grow_circle" | "arrow_up_down" | "arrow_upward" | "arrows" | "artist" | "assessment" | "assets_unassigned" | "assignment" | "assignment_ind" | "assist_icon" | "attach_money" | "audiotrack" | "backspace" | "bank" | "bank_building" | "bank_building_blue" | "bank_card" | "bank_card_arrow" | "bank_card_clock" | "bank_card_double" | "bank_card_virtual_blue" | "bank_money_colored" | "bankwire" | "bell" | "binance_coin_colored" | "biometrics" | "bitcoin" | "bitcoin_cash_colored" | "bitcoin_colored" | "board" | "book" | "broken_link" | "bug" | "bug_big" | "bug_report" | "building" | "building_colored" | "business_center" | "calendar" | "calendar_colored" | "calendar_load" | "calendar_sixteen" | "calendar_two_weeks" | "calendar_user" | "camera_alt" | "camera_plus" | "camera_video" | "cancel" | "cancel_alt" | "capitalist" | "capitalist_colored" | "card" | "card_off" | "card_off_circle" | "card_to_card_blue" | "card_to_card_colored" | "cash-ad" | "cash" | "category" | "cellphone" | "change_sheet" | "channels_icon" | "chart_bar" | "chart_line" | "chat" | "chat_add" | "chat_forum" | "chat_messages" | "check-rhombus" | "check" | "check_all" | "check_circle" | "check_circle_second" | "check_circle_solid" | "check_polygonal" | "checkbox--checked" | "checkbox" | "checkboxes" | "circle" | "circle_arrows" | "click" | "clickup" | "clip" | "clock_check" | "clock_solid" | "close" | "close_circle_outline" | "close_circle_solid" | "cloud_upload" | "coin_speed" | "comment" | "company" | "confetti" | "connection" | "contacts" | "contracts" | "convert" | "copy" | "copyright" | "credit-card" | "credit_card_blink" | "crypto" | "crypto_blue" | "crypto_colored" | "cryptowallet" | "cryptowallet_blue" | "cryptowallet_colored" | "cup" | "dashboard" | "date_range" | "deeplinks" | "delete-account" | "delete" | "delete_alt" | "deprecated" | "desktop_device" | "dialog" | "discord" | "discord_colored" | "dislike" | "doc-export" | "document" | "dollar" | "donate_blue" | "donate_colored" | "dot-status" | "download" | "drag" | "eWallet" | "e_wallet_blue" | "e_wallet_colored" | "edit" | "edit_solid" | "email" | "email_circle" | "email_colored" | "enrollment" | "epayments_colored" | "epidemic-sound" | "epidemic_sound_circle" | "error" | "ethereum_colored" | "event" | "event_alt" | "exit_to_app" | "explicit" | "export" | "export_all" | "express_payment" | "face" | "face_alt" | "facebook" | "facebook_colored" | "fast" | "favorite" | "file" | "file_add" | "file_copy" | "file_download" | "file_export" | "file_eye" | "file_import" | "file_new" | "filter_list" | "find_in_page" | "fire" | "fire_colored" | "fire_solid" | "flag_ar" | "flag_en" | "flag_es" | "flag_pt" | "flag_ru" | "flag_th" | "flag_vi" | "fly_dollar" | "fly_euro" | "freeze" | "fullscreen" | "get_app" | "gift_solid" | "glasses" | "google_colored" | "googleplus_colored" | "graph-no-data" | "group" | "group_connection" | "growth_arrow_circle" | "hand_money" | "help" | "help_invert" | "help_solid" | "help_ukraine_colored" | "home" | "iban" | "iban_blue" | "id_square" | "id_thin" | "image" | "infinity" | "info" | "info_rounded_square" | "info_solid" | "instagram" | "instagram_colored" | "keyboard" | "keyboard_arrow_left" | "keyboard_arrow_right" | "keyboard_arrow_right_thin" | "kraken" | "language" | "layers" | "lightning" | "lightning_circle" | "lightning_circle_solid" | "lightning_outlined" | "like" | "link_broken" | "link_colored" | "link_external" | "link_external_new" | "linkedin" | "linkedin_colored" | "list" | "litecoin_colored" | "live_help" | "loader" | "location_city" | "location_on" | "lock" | "lock_old" | "logout" | "magic_blink" | "mail_outline" | "mc_assist" | "mc_dashboard" | "mc_id" | "mc_pay" | "mc_pay_app" | "mc_pay_compact" | "mc_pay_menu" | "mc_pay_menu_circle_colored" | "mc_pay_mobile_app" | "mc_studio" | "mc_vidwide" | "mcadslogo" | "mediacube" | "menu" | "menu_new" | "message" | "messenger" | "messenger_colored" | "minus" | "mobile_device" | "money_clock" | "money_input" | "more_horiz" | "music" | "music_icon" | "new" | "notes" | "objects" | "obs" | "okru" | "okru_colored" | "ondemand_video" | "partners" | "pause" | "pause_circle_solid" | "payment" | "payoneer" | "payoneer_colored" | "payoneer_cy" | "paypal" | "paypal_colored" | "percent" | "personal_email_colored" | "phone_colored" | "photo_add" | "picture" | "picture_thin" | "plane" | "play-videos" | "play" | "play_circle_solid" | "print" | "prototype" | "public" | "qiwi" | "qiwi_colored" | "radio--checked" | "ready" | "receipt" | "receipt_thin" | "recording" | "recording_circle" | "recruiters" | "redo" | "referral" | "referral_solid" | "reload" | "reload_right" | "remove_red_eye" | "repair" | "reply_arrow" | "requisites" | "resize_video" | "revenue" | "review" | "ripple_colored" | "rocket" | "rocket_colored" | "rocket_small" | "role" | "safety" | "sand_clock" | "save" | "search" | "send" | "send_solid" | "settings" | "settings_solid" | "settings_tools" | "shield" | "shield_blue" | "shield_colored" | "shield_usd" | "shop" | "shopping_cart" | "shuffle" | "sign_out" | "skype" | "skype_colored" | "slack" | "smile_star_eye" | "sort_asc" | "sort_az" | "sort_desc" | "sort_directions" | "sort_list" | "sort_za" | "spy_colored" | "staff" | "star" | "star_round" | "star_round_solid" | "stars" | "stars_fill" | "stats_icon" | "steam" | "steam_colored" | "studio_icon" | "subscriptions" | "suitcase" | "supervised_user_circle" | "support" | "swap_cubes" | "swap_cubes_colored" | "swap_horizontal_circle" | "switches" | "table" | "telegram" | "telegram_colored" | "tether" | "tether_colored" | "three_dots" | "thumb_down" | "thumb_up" | "tiktok" | "time" | "time_thin" | "timelapse" | "timeline" | "tipalti" | "transaction" | "twitter_colored" | "unarchive" | "unfold_more" | "unlock" | "upload_img" | "usd_coin_colored" | "user" | "user_edit" | "user_kyc" | "viber" | "viber_colored" | "videoblocks" | "vidiq-logo-mono" | "vidiq_circle" | "visibility" | "visibility_off" | "vkontakte" | "vkontakte_colored" | "wallet" | "warning" | "webmoney" | "webmoney_colored" | "website_colored" | "whatsapp" | "whatsapp_colored" | "wise_colored" | "worldfirst" | "x_network" | "yandexmoney" | "yoomoney_colored" | "youtube" | "youtube_circled" | "youtube_circled_second" | "youtube_colored" | "youtube_outlined" | "zcash_colored";
252
261
  noDataImg: string;
253
262
  toTableCardProps: Record<any, any>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mediacube-ui-v2",
3
- "version": "0.0.161",
3
+ "version": "0.0.163",
4
4
  "license": "MIT",
5
5
  "description": "Design system for Mediacube services",
6
6
  "keywords": [