mediacube-ui-v2 0.0.98 → 0.0.100

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.
Files changed (49) hide show
  1. package/README.md +37 -47
  2. package/README.template.md +37 -47
  3. package/dist/assets/iconsSprite.svg +1 -1
  4. package/dist/assets/tokens/colors.scss +11 -0
  5. package/dist/mediacube-ui-v2.js +11568 -11237
  6. package/dist/mediacube-ui-v2.umd.cjs +4 -4
  7. package/dist/style.css +1 -1
  8. package/dist/types/assets/tokens/json/colors.json.d.ts +10 -0
  9. package/dist/types/components/elements/McAvatar/McAvatar.vue.d.ts +3 -3
  10. package/dist/types/components/elements/McBadge/McBadge.vue.d.ts +2 -5
  11. package/dist/types/components/elements/McButton/McButton.vue.d.ts +5 -8
  12. package/dist/types/components/elements/McChip/McChip.vue.d.ts +2 -8
  13. package/dist/types/components/elements/McDraggable/McDraggable.vue.d.ts +2 -5
  14. package/dist/types/components/elements/McFieldRadio/McFieldRadio.vue.d.ts +4 -7
  15. package/dist/types/components/elements/McFieldRange/McFieldRange.vue.d.ts +2 -5
  16. package/dist/types/components/elements/McFieldSelect/McFieldSelect.vue.d.ts +8 -8
  17. package/dist/types/components/elements/McFieldText/McFieldText.vue.d.ts +12 -3
  18. package/dist/types/components/elements/McFieldToggle/McFieldToggle.vue.d.ts +3 -6
  19. package/dist/types/components/elements/McNotification/McNotification.vue.d.ts +2 -5
  20. package/dist/types/components/elements/McProgress/McProgress.vue.d.ts +0 -6
  21. package/dist/types/components/elements/McSeparator/McSeparator.vue.d.ts +2 -5
  22. package/dist/types/components/elements/McSlideUpDown/McSlideUpDown.vue.d.ts +1 -1
  23. package/dist/types/components/elements/McSvgIcon/McSvgIcon.vue.d.ts +17 -19
  24. package/dist/types/components/elements/McTitle/McTitle.vue.d.ts +4 -7
  25. package/dist/types/components/elements/McTooltip/McTooltip.vue.d.ts +4 -10
  26. package/dist/types/components/patterns/McFilter/McFilter.vue.d.ts +3 -3
  27. package/dist/types/components/patterns/McFilter/McFilterChip/McFilterChip.vue.d.ts +1 -1
  28. package/dist/types/components/patterns/McFilter/McFilterTags/McFilterTags.vue.d.ts +1 -1
  29. package/dist/types/components/patterns/McOverlay/McOverlay.vue.d.ts +0 -3
  30. package/dist/types/components/patterns/McSideBar/McSideBarButton/McSideBarButton.vue.d.ts +1 -1
  31. package/dist/types/components/patterns/McTab/McTab.vue.d.ts +9 -12
  32. package/dist/types/components/patterns/McTabs/McTabs.vue.d.ts +5 -11
  33. package/dist/types/components/templates/McDrawer/McDrawer.vue.d.ts +3 -3
  34. package/dist/types/components/templates/McDrawer/McDrawerContainer.vue.d.ts +1 -1
  35. package/dist/types/components/templates/McModal/McModal.vue.d.ts +3 -3
  36. package/dist/types/components/templates/McModal/McModalContainer.vue.d.ts +1 -1
  37. package/dist/types/components/templates/McToast/McToast.vue.d.ts +2 -5
  38. package/dist/types/composables/index.d.ts +1 -0
  39. package/dist/types/composables/useHelper.d.ts +10 -0
  40. package/dist/types/composables/useTheme.d.ts +142 -0
  41. package/dist/types/enums/Themes.d.ts +4 -0
  42. package/dist/types/enums/index.d.ts +1 -0
  43. package/dist/types/index.d.ts +2 -1
  44. package/dist/types/types/IDSOptions.d.ts +5 -0
  45. package/dist/types/types/index.d.ts +1 -0
  46. package/dist/types/types/styles/ColorTheme.d.ts +147 -0
  47. package/dist/types/types/styles/Colors.d.ts +10 -0
  48. package/dist/types/utils/index.d.ts +3 -1
  49. package/package.json +2 -1
@@ -16,7 +16,6 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
16
16
  };
17
17
  variation: {
18
18
  type: () => ColorTypes;
19
- default: string;
20
19
  };
21
20
  /**
22
21
  * иконка
@@ -78,7 +77,6 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
78
77
  };
79
78
  variation: {
80
79
  type: () => ColorTypes;
81
- default: string;
82
80
  };
83
81
  /**
84
82
  * иконка
@@ -130,12 +128,11 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
130
128
  position: ToastPositionsUnion;
131
129
  icon: "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";
132
130
  title: string;
133
- variation: "transparent" | "purple" | "hover-purple" | "light-purple" | "bg-purple" | "lighter-purple" | "black" | "outline-light" | "dark-gray" | "gray" | "outline-gray" | "hover-gray" | "bg-gray" | "white" | "hover-blue" | "blue" | "light-blue" | "lighter-blue" | "dark-orange" | "orange" | "yellow" | "dark-red" | "red" | "bright-pink" | "pale-pink" | "dark-green" | "green" | "toxic" | "ultraviolet" | "pinkish" | "azure" | "turquoise" | "darken-turquoise";
131
+ closable: boolean;
134
132
  duration: number;
135
133
  description: string;
136
- closable: boolean;
137
- show_time: boolean;
138
134
  actions: IToastAction[];
135
+ show_time: boolean;
139
136
  toast: IToast;
140
137
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
141
138
  export default _default;
@@ -7,3 +7,4 @@ export { useModal } from './useModal';
7
7
  export { useRandomNumber } from './useRandomNumber';
8
8
  export { useTooltip } from './useTooltip';
9
9
  export { useToast } from './useToast';
10
+ export { useTheme } from './useTheme';
@@ -11,6 +11,13 @@ declare function pickDeep(object: {
11
11
  declare function hasProperty(object: object, prop: string): boolean;
12
12
  declare function isNumber(payload: any): boolean;
13
13
  declare function upperFirst(str: string): string;
14
+ /**
15
+ * Для создания корректного реактивного результата, overrides - должен быть реактивным
16
+ * На выходе получается реактивный обьект, который при обращении к свойствам, достает значения из overrides или из дефолтных значений
17
+ * */
18
+ declare function mergeReactiveDefaults<T>(defaults: T, overrides: Partial<T>): T;
19
+ declare function setNested(object: any, path: string, value: any): void;
20
+ declare function getNested(object: any, path: string): any;
14
21
  export declare function useHelper(): {
15
22
  isEmpty: typeof isEmpty;
16
23
  isEqual: typeof isEqual;
@@ -21,5 +28,8 @@ export declare function useHelper(): {
21
28
  isNumber: typeof isNumber;
22
29
  upperFirst: typeof upperFirst;
23
30
  pickDeep: typeof pickDeep;
31
+ mergeReactiveDefaults: typeof mergeReactiveDefaults;
32
+ setNested: typeof setNested;
33
+ getNested: typeof getNested;
24
34
  };
25
35
  export {};
@@ -0,0 +1,142 @@
1
+ export declare function useTheme(component?: string): {
2
+ colors: Record<string, string> | {
3
+ main: string;
4
+ "main-light": string;
5
+ "main-lighter": string;
6
+ "main-dark": string;
7
+ purple: string;
8
+ "hover-purple": string;
9
+ "light-purple": string;
10
+ "bg-purple": string;
11
+ "lighter-purple": string;
12
+ black: string;
13
+ "outline-light": string;
14
+ "dark-gray": string;
15
+ gray: string;
16
+ "outline-gray": string;
17
+ "hover-gray": string;
18
+ "light-gray": string;
19
+ "bg-gray": string;
20
+ white: string;
21
+ "hover-blue": string;
22
+ blue: string;
23
+ "light-blue": string;
24
+ "lighter-blue": string;
25
+ "dark-orange": string;
26
+ orange: string;
27
+ yellow: string;
28
+ "dark-red": string;
29
+ red: string;
30
+ "bright-pink": string;
31
+ "pale-pink": string;
32
+ "dark-green": string;
33
+ green: string;
34
+ toxic: string;
35
+ ultraviolet: string;
36
+ pinkish: string;
37
+ azure: string;
38
+ turquoise: string;
39
+ "darken-turquoise": string;
40
+ transparent: string;
41
+ };
42
+ components: {
43
+ badge: {
44
+ variation: string;
45
+ };
46
+ button: {
47
+ variation: string;
48
+ };
49
+ chip: {
50
+ variation: string;
51
+ textColor: string;
52
+ };
53
+ cropper: {
54
+ color: string;
55
+ };
56
+ datepicker: {
57
+ color: string;
58
+ };
59
+ draggable: {
60
+ variation: string;
61
+ };
62
+ checkbox: {
63
+ color: string;
64
+ };
65
+ radio: {
66
+ color: string;
67
+ };
68
+ range: {
69
+ color: string;
70
+ };
71
+ select: {
72
+ color: string;
73
+ selected: string;
74
+ };
75
+ fieldText: {
76
+ color: string;
77
+ };
78
+ fieldToggle: {
79
+ color: string;
80
+ bg: string;
81
+ };
82
+ bottomLoader: {
83
+ border: string;
84
+ };
85
+ noData: {
86
+ link: string;
87
+ };
88
+ notification: {
89
+ variation: string;
90
+ };
91
+ progress: {
92
+ color: string;
93
+ helpText: string;
94
+ };
95
+ separator: {
96
+ color: string;
97
+ };
98
+ spinDigit: {
99
+ color: string;
100
+ };
101
+ spinNumber: {
102
+ color: string;
103
+ };
104
+ title: {
105
+ color: string;
106
+ };
107
+ tooltip: {
108
+ color: string;
109
+ textColor: string;
110
+ };
111
+ dropdown: {
112
+ itemColor: string;
113
+ };
114
+ filter: {
115
+ color: string;
116
+ chipColor: string;
117
+ button: string;
118
+ };
119
+ overlay: {
120
+ bg: string;
121
+ border: string;
122
+ };
123
+ sidebar: {
124
+ chip: string;
125
+ activeLink: string;
126
+ };
127
+ tab: {
128
+ count: string;
129
+ };
130
+ tabs: {
131
+ color: string;
132
+ accentColor: string;
133
+ };
134
+ tableCard: {
135
+ backLink: string;
136
+ };
137
+ toast: {
138
+ variation: string;
139
+ };
140
+ } | undefined;
141
+ component: any;
142
+ };
@@ -0,0 +1,4 @@
1
+ export declare enum Themes {
2
+ Light = "light",
3
+ Dark = "dark"
4
+ }
@@ -14,6 +14,7 @@ export * from './RadioGroup';
14
14
  export * from './Select';
15
15
  export * from './Sidebar';
16
16
  export * from './Tab';
17
+ export * from './Themes';
17
18
  export * from './Title';
18
19
  export * from './Toast';
19
20
  export * from './Tooltip';
@@ -1,4 +1,5 @@
1
1
  import { App } from 'vue';
2
+ import { IDSOptions } from './types';
2
3
  export * from './types';
3
4
  export * from './enums';
4
5
  export * from './components';
@@ -7,6 +8,6 @@ export * from './consts';
7
8
  export * from './utils';
8
9
  export * from './assets/tokens/json';
9
10
  declare const _default: {
10
- install(app: App, options?: {}): void;
11
+ install(app: App, options?: IDSOptions): void;
11
12
  };
12
13
  export default _default;
@@ -1,10 +1,15 @@
1
1
  import { Router } from 'vue-router';
2
2
  import { VueElement } from 'vue';
3
3
  import { IToast } from './IToast';
4
+ import { Themes } from '../enums';
5
+ import { ColorThemes } from '.';
4
6
  export interface IDSOptions {
5
7
  drawerComponents?: Partial<VueElement>;
6
8
  modalComponents?: Partial<VueElement>;
7
9
  toasts?: Partial<IToast>;
8
10
  defaultAvatar?: string | null;
9
11
  router?: null | Router;
12
+ colors?: Record<string, string>;
13
+ themes?: ColorThemes;
14
+ theme?: Themes;
10
15
  }
@@ -25,6 +25,7 @@ export * from './ITooltip';
25
25
  export * from './styles/Alignment';
26
26
  export * from './styles/AvatarSizes';
27
27
  export * from './styles/Colors';
28
+ export * from './styles/ColorTheme';
28
29
  export * from './styles/Durations';
29
30
  export * from './styles/FontSizes';
30
31
  export * from './styles/FontWeights';
@@ -0,0 +1,147 @@
1
+ import { ColorTypes } from '..';
2
+ export interface ColorTheme {
3
+ components: {
4
+ badge: {
5
+ variation: ColorTypes | string;
6
+ };
7
+ button: {
8
+ variation: ColorTypes | string;
9
+ };
10
+ chip: {
11
+ variation: ColorTypes | string;
12
+ textColor: ColorTypes | string;
13
+ };
14
+ cropper: {
15
+ color: ColorTypes | string;
16
+ };
17
+ datepicker: {
18
+ color: ColorTypes | string;
19
+ };
20
+ draggable: {
21
+ variation: ColorTypes | string;
22
+ };
23
+ checkbox: {
24
+ color: ColorTypes | string;
25
+ };
26
+ radio: {
27
+ color: ColorTypes | string;
28
+ };
29
+ range: {
30
+ color: ColorTypes | string;
31
+ };
32
+ select: {
33
+ color: ColorTypes | string;
34
+ selected: ColorTypes | string;
35
+ };
36
+ fieldText: {
37
+ color: ColorTypes | string;
38
+ };
39
+ fieldToggle: {
40
+ color: ColorTypes | string;
41
+ bg: ColorTypes | string;
42
+ };
43
+ bottomLoader: {
44
+ border: ColorTypes | string;
45
+ };
46
+ noData: {
47
+ link: ColorTypes | string;
48
+ };
49
+ notification: {
50
+ variation: ColorTypes | string;
51
+ };
52
+ progress: {
53
+ color: ColorTypes | string;
54
+ helpText: ColorTypes | string;
55
+ };
56
+ separator: {
57
+ color: ColorTypes | string;
58
+ };
59
+ spinDigit: {
60
+ color: ColorTypes | string;
61
+ };
62
+ spinNumber: {
63
+ color: ColorTypes | string;
64
+ };
65
+ title: {
66
+ color: ColorTypes | string;
67
+ };
68
+ tooltip: {
69
+ color: ColorTypes | string;
70
+ textColor: ColorTypes | string;
71
+ };
72
+ dropdown: {
73
+ itemColor: ColorTypes | string;
74
+ };
75
+ filter: {
76
+ color: ColorTypes | string;
77
+ chipColor: ColorTypes | string;
78
+ button: ColorTypes | string;
79
+ };
80
+ overlay: {
81
+ bg: ColorTypes | string;
82
+ border: ColorTypes | string;
83
+ };
84
+ sidebar: {
85
+ chip: ColorTypes | string;
86
+ activeLink: ColorTypes | string;
87
+ };
88
+ tab: {
89
+ count: ColorTypes | string;
90
+ };
91
+ tabs: {
92
+ color: ColorTypes | string;
93
+ accentColor: ColorTypes | string;
94
+ };
95
+ tableCard: {
96
+ backLink: ColorTypes | string;
97
+ };
98
+ toast: {
99
+ variation: ColorTypes | string;
100
+ };
101
+ };
102
+ }
103
+ export interface ColorThemes {
104
+ light: ColorTheme;
105
+ dark: ColorTheme;
106
+ }
107
+ export declare const ThemesColors: {
108
+ main: string;
109
+ "main-light": string;
110
+ "main-lighter": string;
111
+ "main-dark": string;
112
+ purple: string;
113
+ "hover-purple": string;
114
+ "light-purple": string;
115
+ "bg-purple": string;
116
+ "lighter-purple": string;
117
+ black: string;
118
+ "outline-light": string;
119
+ "dark-gray": string;
120
+ gray: string;
121
+ "outline-gray": string;
122
+ "hover-gray": string;
123
+ "light-gray": string;
124
+ "bg-gray": string;
125
+ white: string;
126
+ "hover-blue": string;
127
+ blue: string;
128
+ "light-blue": string;
129
+ "lighter-blue": string;
130
+ "dark-orange": string;
131
+ orange: string;
132
+ yellow: string;
133
+ "dark-red": string;
134
+ red: string;
135
+ "bright-pink": string;
136
+ "pale-pink": string;
137
+ "dark-green": string;
138
+ green: string;
139
+ toxic: string;
140
+ ultraviolet: string;
141
+ pinkish: string;
142
+ azure: string;
143
+ turquoise: string;
144
+ "darken-turquoise": string;
145
+ transparent: string;
146
+ };
147
+ export declare const UiThemes: ColorThemes;
@@ -1,4 +1,8 @@
1
1
  export declare const Colors: {
2
+ main: string;
3
+ "main-light": string;
4
+ "main-lighter": string;
5
+ "main-dark": string;
2
6
  purple: string;
3
7
  "hover-purple": string;
4
8
  "light-purple": string;
@@ -10,6 +14,7 @@ export declare const Colors: {
10
14
  gray: string;
11
15
  "outline-gray": string;
12
16
  "hover-gray": string;
17
+ "light-gray": string;
13
18
  "bg-gray": string;
14
19
  white: string;
15
20
  "hover-blue": string;
@@ -34,6 +39,10 @@ export declare const Colors: {
34
39
  transparent: string;
35
40
  };
36
41
  declare const modes: {
42
+ readonly main: string;
43
+ readonly "main-light": string;
44
+ readonly "main-lighter": string;
45
+ readonly "main-dark": string;
37
46
  readonly purple: string;
38
47
  readonly "hover-purple": string;
39
48
  readonly "light-purple": string;
@@ -45,6 +54,7 @@ declare const modes: {
45
54
  readonly gray: string;
46
55
  readonly "outline-gray": string;
47
56
  readonly "hover-gray": string;
57
+ readonly "light-gray": string;
48
58
  readonly "bg-gray": string;
49
59
  readonly white: string;
50
60
  readonly "hover-blue": string;
@@ -1,2 +1,4 @@
1
1
  export * from './dayjs';
2
- export * from './mcGridColAdaptiveProps';
2
+ export * as mcGridColAdaptiveProps from './mcGridColAdaptiveProps';
3
+ export * as mcSvgIconAdaptiveProps from './mcSvgIconAdaptiveProps';
4
+ export * as mcTitleAdaptiveProps from './mcTitleAdaptiveProps';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mediacube-ui-v2",
3
- "version": "0.0.98",
3
+ "version": "0.0.100",
4
4
  "license": "MIT",
5
5
  "description": "Design system for Mediacube services",
6
6
  "keywords": [
@@ -13,6 +13,7 @@
13
13
  "main": "./dist/mediacube-ui-v2.umd.cjs",
14
14
  "module": "./dist/mediacube-ui-v2.js",
15
15
  "types": "./dist/types/index.d.ts",
16
+ "variables": "./dist/assets/variables.scss",
16
17
  "style": "./dist/style.css",
17
18
  "font": "./dist/assets/fonts/inter/inter.css",
18
19
  "sprite": "./dist/assets/iconsSprite.svg",