@ldmjs/ui 1.0.0-dev-3 → 1.0.0-dev-4
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/index.js +43 -0
- package/dist/scss/_buttons.scss +301 -0
- package/dist/scss/_variables.scss +4 -0
- package/dist/scss/index.scss +1 -0
- package/package.json +16 -4
- package/.eslintignore +0 -15
- package/.eslintrc.json +0 -299
- package/.yarnrc.yml +0 -1
- package/config/rules.js +0 -51
- package/config/webpack.config.build.js +0 -122
- package/config/webpack.config.dev.js +0 -57
- package/index.html +0 -18
- package/main.ts +0 -32
- package/src/app.vue +0 -15
- package/src/css/index.css +0 -86
- package/src/index.d.ts +0 -1
- package/src/index.ts +0 -34
- package/src/ld-icon/icons/access_control_24.svg +0 -3
- package/src/ld-icon/icons/account_tree_black_24.svg +0 -3
- package/src/ld-icon/icons/add_a_stage_24.svg +0 -3
- package/src/ld-icon/icons/add_column_24.svg +0 -3
- package/src/ld-icon/icons/add_outline_24.svg +0 -3
- package/src/ld-icon/icons/add_user_24.svg +0 -3
- package/src/ld-icon/icons/add_user_24_max.svg +0 -3
- package/src/ld-icon/icons/additional_zone_mode_24.svg +0 -5
- package/src/ld-icon/icons/additional_zone_mode_24_max.svg +0 -3
- package/src/ld-icon/icons/archive_24.svg +0 -3
- package/src/ld-icon/icons/archive_24_max.svg +0 -3
- package/src/ld-icon/icons/arrow_downward_24.svg +0 -3
- package/src/ld-icon/icons/arrow_downward_24_max.svg +0 -3
- package/src/ld-icon/icons/arrow_upward_24.svg +0 -3
- package/src/ld-icon/icons/arrow_upward_24_max.svg +0 -3
- package/src/ld-icon/icons/assignment_24.svg +0 -3
- package/src/ld-icon/icons/attach_file_outline_24_1.svg +0 -3
- package/src/ld-icon/icons/attach_file_outline_24_2.svg +0 -3
- package/src/ld-icon/icons/attach_file_outline_24_3.svg +0 -3
- package/src/ld-icon/icons/attach_file_outline_24_max.svg +0 -3
- package/src/ld-icon/icons/attantion_outline_24.svg +0 -3
- package/src/ld-icon/icons/attribute_label_24.svg +0 -3
- package/src/ld-icon/icons/back_24.svg +0 -3
- package/src/ld-icon/icons/back_24_max.svg +0 -3
- package/src/ld-icon/icons/back_to_base_doc_24.svg +0 -3
- package/src/ld-icon/icons/burger_menu_outline_24_max.svg +0 -3
- package/src/ld-icon/icons/business_processes_24.svg +0 -3
- package/src/ld-icon/icons/cancel_outline_24.svg +0 -3
- package/src/ld-icon/icons/change_user_24.svg +0 -4
- package/src/ld-icon/icons/chat_24.svg +0 -3
- package/src/ld-icon/icons/chat_24_max.svg +0 -3
- package/src/ld-icon/icons/class_24.svg +0 -3
- package/src/ld-icon/icons/class_24_max.svg +0 -3
- package/src/ld-icon/icons/clear_date_outline_24.svg +0 -3
- package/src/ld-icon/icons/clip_outline_24_max.svg +0 -10
- package/src/ld-icon/icons/clock_24.svg +0 -3
- package/src/ld-icon/icons/clock_24_max.svg +0 -3
- package/src/ld-icon/icons/clock_outline_24.svg +0 -3
- package/src/ld-icon/icons/close_24_max.svg +0 -3
- package/src/ld-icon/icons/close_fullscreen_24.svg +0 -3
- package/src/ld-icon/icons/close_fullscreen_24_max.svg +0 -3
- package/src/ld-icon/icons/collapse_16.svg +0 -4
- package/src/ld-icon/icons/collapse_24.svg +0 -4
- package/src/ld-icon/icons/collapse_accordion_24.svg +0 -3
- package/src/ld-icon/icons/collapse_panel_24.svg +0 -3
- package/src/ld-icon/icons/collapse_tree_24.svg +0 -3
- package/src/ld-icon/icons/collapse_window_24.svg +0 -3
- package/src/ld-icon/icons/color_design_24.svg +0 -3
- package/src/ld-icon/icons/column_view_24.svg +0 -3
- package/src/ld-icon/icons/column_view_24_max.svg +0 -3
- package/src/ld-icon/icons/component_24.svg +0 -3
- package/src/ld-icon/icons/content_24.svg +0 -3
- package/src/ld-icon/icons/content_24_max.svg +0 -3
- package/src/ld-icon/icons/content_storage_management_24.svg +0 -3
- package/src/ld-icon/icons/control_24.svg +0 -3
- package/src/ld-icon/icons/copy_24.svg +0 -3
- package/src/ld-icon/icons/correspondent_24.svg +0 -3
- package/src/ld-icon/icons/correspondent_24_max-1.svg +0 -3
- package/src/ld-icon/icons/correspondent_24_max.svg +0 -3
- package/src/ld-icon/icons/create_a_desktop_outline_24.svg +0 -3
- package/src/ld-icon/icons/create_a_desktop_outline_24_max.svg +0 -3
- package/src/ld-icon/icons/date_range_24.svg +0 -5
- package/src/ld-icon/icons/date_range_24_max.svg +0 -3
- package/src/ld-icon/icons/delegate_24.svg +0 -3
- package/src/ld-icon/icons/delete_24.svg +0 -3
- package/src/ld-icon/icons/delete_24_max.svg +0 -3
- package/src/ld-icon/icons/delete_user_24.svg +0 -3
- package/src/ld-icon/icons/delete_user_24_max.svg +0 -3
- package/src/ld-icon/icons/denied_24.svg +0 -4
- package/src/ld-icon/icons/department_24.svg +0 -3
- package/src/ld-icon/icons/departments_24.svg +0 -3
- package/src/ld-icon/icons/deploy_grid_24.svg +0 -3
- package/src/ld-icon/icons/dev_24.svg +0 -10
- package/src/ld-icon/icons/document_24.svg +0 -3
- package/src/ld-icon/icons/document_24_max.svg +0 -3
- package/src/ld-icon/icons/done_outline_24.svg +0 -3
- package/src/ld-icon/icons/done_outline_24_max.svg +0 -3
- package/src/ld-icon/icons/down_to_the_end_24.svg +0 -3
- package/src/ld-icon/icons/edit_24.svg +0 -3
- package/src/ld-icon/icons/edit_24_max.svg +0 -3
- package/src/ld-icon/icons/edit_grid_24.svg +0 -3
- package/src/ld-icon/icons/electronic_signature_24.svg +0 -3
- package/src/ld-icon/icons/email_24.svg +0 -3
- package/src/ld-icon/icons/email_24_max.svg +0 -3
- package/src/ld-icon/icons/email_outline_24.svg +0 -3
- package/src/ld-icon/icons/email_outline_24_max.svg +0 -3
- package/src/ld-icon/icons/event_24.svg +0 -3
- package/src/ld-icon/icons/event_24_max.svg +0 -3
- package/src/ld-icon/icons/expand_16.svg +0 -4
- package/src/ld-icon/icons/expand_24.svg +0 -5
- package/src/ld-icon/icons/expand_accordion__24.svg +0 -3
- package/src/ld-icon/icons/expand_navigation_panel_24.svg +0 -3
- package/src/ld-icon/icons/expand_panel_24.svg +0 -3
- package/src/ld-icon/icons/expand_tree_24.svg +0 -3
- package/src/ld-icon/icons/favourites_24.svg +0 -3
- package/src/ld-icon/icons/favourites_24_max.svg +0 -3
- package/src/ld-icon/icons/file_24.svg +0 -3
- package/src/ld-icon/icons/file_24_max.svg +0 -3
- package/src/ld-icon/icons/file_outline_24.svg +0 -3
- package/src/ld-icon/icons/file_outline_24_max.svg +0 -3
- package/src/ld-icon/icons/filter_list_24.svg +0 -3
- package/src/ld-icon/icons/filter_list_24_max.svg +0 -3
- package/src/ld-icon/icons/folder_24.svg +0 -3
- package/src/ld-icon/icons/folder_24_max.svg +0 -3
- package/src/ld-icon/icons/folder_back_24.svg +0 -3
- package/src/ld-icon/icons/folder_files_24.svg +0 -3
- package/src/ld-icon/icons/folder_outline_24.svg +0 -3
- package/src/ld-icon/icons/folder_outline_24_max.svg +0 -3
- package/src/ld-icon/icons/forbidden_24.svg +0 -3
- package/src/ld-icon/icons/forward_24.svg +0 -3
- package/src/ld-icon/icons/forward_24_max.svg +0 -3
- package/src/ld-icon/icons/from_project_outline_24.svg +0 -3
- package/src/ld-icon/icons/get_app_24.svg +0 -3
- package/src/ld-icon/icons/get_app_24_max.svg +0 -3
- package/src/ld-icon/icons/help_24.svg +0 -3
- package/src/ld-icon/icons/history_outline_24.svg +0 -3
- package/src/ld-icon/icons/history_outline_24_max.svg +0 -3
- package/src/ld-icon/icons/home_24.svg +0 -3
- package/src/ld-icon/icons/home_24_max.svg +0 -3
- package/src/ld-icon/icons/host_24.svg +0 -3
- package/src/ld-icon/icons/info_24-1.svg +0 -3
- package/src/ld-icon/icons/info_24.svg +0 -3
- package/src/ld-icon/icons/info_24_max.svg +0 -3
- package/src/ld-icon/icons/info_outline_24.svg +0 -3
- package/src/ld-icon/icons/input_marker_24.svg +0 -3
- package/src/ld-icon/icons/insert_diagonal_link_outline_24.svg +0 -3
- package/src/ld-icon/icons/insert_link_outline_24.svg +0 -3
- package/src/ld-icon/icons/interaction_management_24.svg +0 -3
- package/src/ld-icon/icons/label_outline_24.svg +0 -3
- package/src/ld-icon/icons/label_outline_24_max.svg +0 -3
- package/src/ld-icon/icons/lamp_24.svg +0 -3
- package/src/ld-icon/icons/lamp_24_max.svg +0 -3
- package/src/ld-icon/icons/list_view_24.svg +0 -3
- package/src/ld-icon/icons/list_view_24_max.svg +0 -3
- package/src/ld-icon/icons/live_help_24_max.svg +0 -3
- package/src/ld-icon/icons/lock_24.svg +0 -3
- package/src/ld-icon/icons/lock_24_max.svg +0 -3
- package/src/ld-icon/icons/lock_open_outline_24.svg +0 -3
- package/src/ld-icon/icons/lock_open_outline_24_max.svg +0 -3
- package/src/ld-icon/icons/logicgroup_24.svg +0 -3
- package/src/ld-icon/icons/logo_windows_24.svg +0 -3
- package/src/ld-icon/icons/mailing_group_department_24.svg +0 -3
- package/src/ld-icon/icons/mass_actions_24.svg +0 -3
- package/src/ld-icon/icons/maximize_window_outline_24.svg +0 -6
- package/src/ld-icon/icons/mini_pin_24.svg +0 -3
- package/src/ld-icon/icons/model_resolutions_24.svg +0 -3
- package/src/ld-icon/icons/monitor_24.svg +0 -3
- package/src/ld-icon/icons/more_vert_24_max.svg +0 -3
- package/src/ld-icon/icons/more_vert_24s.svg +0 -3
- package/src/ld-icon/icons/multi_volume_archive_24.svg +0 -4
- package/src/ld-icon/icons/negative_report_accepted_24.svg +0 -4
- package/src/ld-icon/icons/new_version_24.svg +0 -3
- package/src/ld-icon/icons/next_24.svg +0 -4
- package/src/ld-icon/icons/next_24_max.svg +0 -3
- package/src/ld-icon/icons/notyfications_24.svg +0 -3
- package/src/ld-icon/icons/notyfications_24_max.svg +0 -3
- package/src/ld-icon/icons/object_right.svg +0 -4
- package/src/ld-icon/icons/on_hold_24.svg +0 -3
- package/src/ld-icon/icons/on_hold_outline_24.svg +0 -3
- package/src/ld-icon/icons/open_in_full_24.svg +0 -3
- package/src/ld-icon/icons/open_in_full_24_max.svg +0 -3
- package/src/ld-icon/icons/open_modal_24.svg +0 -3
- package/src/ld-icon/icons/open_modal_24_max.svg +0 -4
- package/src/ld-icon/icons/pages_outline_24.svg +0 -3
- package/src/ld-icon/icons/pages_outline_24_max.svg +0 -3
- package/src/ld-icon/icons/parallel_24.svg +0 -3
- package/src/ld-icon/icons/parallel_24_max.svg +0 -3
- package/src/ld-icon/icons/pause_18.svg +0 -3
- package/src/ld-icon/icons/photo_camera_24_max.svg +0 -10
- package/src/ld-icon/icons/pie_chart_24.svg +0 -3
- package/src/ld-icon/icons/pie_chart_24_max.svg +0 -3
- package/src/ld-icon/icons/pin_24.svg +0 -3
- package/src/ld-icon/icons/preview_mode_off_24.svg +0 -3
- package/src/ld-icon/icons/preview_mode_off_24_max.svg +0 -3
- package/src/ld-icon/icons/preview_mode_on_24.svg +0 -3
- package/src/ld-icon/icons/preview_mode_on_24_max.svg +0 -3
- package/src/ld-icon/icons/previous_24.svg +0 -3
- package/src/ld-icon/icons/previous_24_max.svg +0 -3
- package/src/ld-icon/icons/print_24.svg +0 -3
- package/src/ld-icon/icons/print_24_max.svg +0 -3
- package/src/ld-icon/icons/project_24.svg +0 -3
- package/src/ld-icon/icons/project_24_max.svg +0 -3
- package/src/ld-icon/icons/read_email_24.svg +0 -3
- package/src/ld-icon/icons/recipient_24.svg +0 -3
- package/src/ld-icon/icons/recipient_organization_24.svg +0 -3
- package/src/ld-icon/icons/redirect_24.svg +0 -3
- package/src/ld-icon/icons/redirect_24_max.svg +0 -3
- package/src/ld-icon/icons/refresh_outline_24.svg +0 -3
- package/src/ld-icon/icons/refresh_outline_24_max.svg +0 -3
- package/src/ld-icon/icons/related_files_outline_24.svg +0 -3
- package/src/ld-icon/icons/remove_24.svg +0 -3
- package/src/ld-icon/icons/remove_outline_24_max.svg +0 -3
- package/src/ld-icon/icons/rename_outline_24.svg +0 -3
- package/src/ld-icon/icons/repeat_report_for_user_24.svg +0 -3
- package/src/ld-icon/icons/reply_24.svg +0 -3
- package/src/ld-icon/icons/reply_24_max.svg +0 -3
- package/src/ld-icon/icons/restore_deleted_24.svg +0 -3
- package/src/ld-icon/icons/role_24.svg +0 -3
- package/src/ld-icon/icons/role_icon_24.svg +0 -3
- package/src/ld-icon/icons/roll_up_grid_24.svg +0 -3
- package/src/ld-icon/icons/save_24.svg +0 -3
- package/src/ld-icon/icons/save_24_max.svg +0 -3
- package/src/ld-icon/icons/scan_24.svg +0 -3
- package/src/ld-icon/icons/scheduler_24_1.svg +0 -3
- package/src/ld-icon/icons/scheduler_24_2.svg +0 -3
- package/src/ld-icon/icons/search_outline_24.svg +0 -3
- package/src/ld-icon/icons/search_outline_24_max.svg +0 -3
- package/src/ld-icon/icons/select_the_widget_24.svg +0 -3
- package/src/ld-icon/icons/send_24.svg +0 -3
- package/src/ld-icon/icons/send_24_max.svg +0 -3
- package/src/ld-icon/icons/sequential_24.svg +0 -3
- package/src/ld-icon/icons/sequential_24_max.svg +0 -3
- package/src/ld-icon/icons/settings_24.svg +0 -3
- package/src/ld-icon/icons/settings_24_max.svg +0 -3
- package/src/ld-icon/icons/share_24.svg +0 -3
- package/src/ld-icon/icons/share_24_max.svg +0 -3
- package/src/ld-icon/icons/show_recipients_outline_24.svg +0 -3
- package/src/ld-icon/icons/sort_outline_24.svg +0 -3
- package/src/ld-icon/icons/stamp_24.svg +0 -3
- package/src/ld-icon/icons/star_outline_24.svg +0 -3
- package/src/ld-icon/icons/star_outline_24_max.svg +0 -3
- package/src/ld-icon/icons/start_the_route_24_max.svg +0 -3
- package/src/ld-icon/icons/statistics_24.svg +0 -3
- package/src/ld-icon/icons/stop_the_route_24.svg +0 -3
- package/src/ld-icon/icons/subsystem_24.svg +0 -3
- package/src/ld-icon/icons/successfully_24.svg +0 -4
- package/src/ld-icon/icons/table_view_24.svg +0 -3
- package/src/ld-icon/icons/table_view_24_max.svg +0 -3
- package/src/ld-icon/icons/tag_24.svg +0 -3
- package/src/ld-icon/icons/the_report_is_accepted_24.svg +0 -3
- package/src/ld-icon/icons/to_the_begining_24.svg +0 -3
- package/src/ld-icon/icons/to_the_end_24.svg +0 -3
- package/src/ld-icon/icons/typical__route_24_max.svg +0 -7
- package/src/ld-icon/icons/typical_route_24-1.svg +0 -3
- package/src/ld-icon/icons/typical_route_24.svg +0 -3
- package/src/ld-icon/icons/unarchive_24.svg +0 -3
- package/src/ld-icon/icons/undo_outline_24.svg +0 -3
- package/src/ld-icon/icons/unpin_navigation_panel_24.svg +0 -3
- package/src/ld-icon/icons/up_24.svg +0 -3
- package/src/ld-icon/icons/up_to_the_begining_24.svg +0 -3
- package/src/ld-icon/icons/user_icon_24.svg +0 -3
- package/src/ld-icon/icons/user_icon_24_max.svg +0 -3
- package/src/ld-icon/icons/user_rights_24.svg +0 -3
- package/src/ld-icon/icons/verified_user_24.svg +0 -3
- package/src/ld-icon/icons/verified_user_24_max.svg +0 -3
- package/src/ld-icon/icons/viewing_24.svg +0 -7
- package/src/ld-icon/icons/vocabulary_24.svg +0 -3
- package/src/ld-icon/icons/warning_24.svg +0 -3
- package/src/ld-icon/icons/warning_24_max.svg +0 -3
- package/src/ld-icon/icons/warning_outline_24.svg +0 -3
- package/src/ld-icon/icons/whats_new_24.svg +0 -3
- package/src/ld-icon/icons/work_outline_24.svg +0 -3
- package/src/ld-icon/icons/work_outline_24_max.svg +0 -3
- package/src/ld-icon/icons.html +0 -37
- package/src/ld-icon/icons.json +0 -147
- package/src/ld-icon/icons.md +0 -2
- package/src/ld-icon/index.ts +0 -35
- package/src/ld-icon/ld-icon.ts +0 -59
- package/src/ld-icon/ld-icon.vue +0 -1
- package/src/ld-icon/svg-icon.ts +0 -10
- package/src/ld-icon/svg-icon.vue +0 -6
- package/src/ld-loader/index.ts +0 -8
- package/src/ld-loader/ld-loader.ts +0 -123
- package/src/ld-loader/ld-loader.vue +0 -133
- package/src/scss/_colors.scss +0 -73
- package/src/scss/_variables.scss +0 -5
- package/src/scss/index.scss +0 -2
- package/src/utils/isDefined.ts +0 -5
- package/src/utils/zIndex.ts +0 -11
- package/src/utils.d.ts +0 -4
- package/tsconfig.json +0 -32
- package/typings/declarations.d.ts +0 -2
- package/typings/vue-shims.d.ts +0 -19
- package/typings/vue.d.ts +0 -34
package/dist/index.js
CHANGED
|
@@ -508,6 +508,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
508
508
|
// EXPORTS
|
|
509
509
|
__webpack_require__.d(__webpack_exports__, {
|
|
510
510
|
"default": () => (/* binding */ src),
|
|
511
|
+
defaults: () => (/* reexport */ defaults),
|
|
512
|
+
getAliases: () => (/* reexport */ vuetify),
|
|
511
513
|
getZIndex: () => (/* reexport */ getZIndex),
|
|
512
514
|
isDefined: () => (/* reexport */ isDefined)
|
|
513
515
|
});
|
|
@@ -942,11 +944,52 @@ function ld_loader_reg(vue) {
|
|
|
942
944
|
}
|
|
943
945
|
/* harmony default export */ const src_ld_loader = (ld_loader_reg);
|
|
944
946
|
|
|
947
|
+
;// CONCATENATED MODULE: ./src/vuetify.ts
|
|
948
|
+
const aliases = {
|
|
949
|
+
SmallButton: 'VBtn',
|
|
950
|
+
SquareButton: 'VBtn',
|
|
951
|
+
SmallChip: 'VChip',
|
|
952
|
+
SmallBadge: 'VChip',
|
|
953
|
+
};
|
|
954
|
+
const defaults = {
|
|
955
|
+
SmallButton: {
|
|
956
|
+
variant: 'flat',
|
|
957
|
+
color: 'primary',
|
|
958
|
+
class: 'small-button',
|
|
959
|
+
},
|
|
960
|
+
SquareButton: {
|
|
961
|
+
variant: 'text',
|
|
962
|
+
color: 'grey',
|
|
963
|
+
class: 'square-sm-button',
|
|
964
|
+
},
|
|
965
|
+
SmallChip: {
|
|
966
|
+
variant: 'outlined',
|
|
967
|
+
color: 'primary',
|
|
968
|
+
closable: true,
|
|
969
|
+
closeIcon: 'close',
|
|
970
|
+
class: 'small-chip',
|
|
971
|
+
},
|
|
972
|
+
SmallBadge: {
|
|
973
|
+
class: 'v-chip--badge',
|
|
974
|
+
variant: 'outlined',
|
|
975
|
+
},
|
|
976
|
+
};
|
|
977
|
+
function getVuetifyAliases(components) {
|
|
978
|
+
const result = {};
|
|
979
|
+
for (const key in aliases) {
|
|
980
|
+
result[key] = components[aliases[key]];
|
|
981
|
+
}
|
|
982
|
+
return result;
|
|
983
|
+
}
|
|
984
|
+
/* harmony default export */ const vuetify = (getVuetifyAliases);
|
|
985
|
+
|
|
986
|
+
|
|
945
987
|
;// CONCATENATED MODULE: ./src/index.ts
|
|
946
988
|
|
|
947
989
|
|
|
948
990
|
|
|
949
991
|
|
|
992
|
+
|
|
950
993
|
const ldmuiPlugin = {
|
|
951
994
|
install(vue, options) {
|
|
952
995
|
src_ld_icon(vue, options?.LdIcon);
|
|
@@ -0,0 +1,301 @@
|
|
|
1
|
+
body {
|
|
2
|
+
.v-btn {
|
|
3
|
+
text-transform: none !important;
|
|
4
|
+
font-size: var(--font-size) !important;
|
|
5
|
+
font-weight: 400 !important;
|
|
6
|
+
letter-spacing: 0 !important;
|
|
7
|
+
|
|
8
|
+
.v-btn__overlay {
|
|
9
|
+
display: none;
|
|
10
|
+
}
|
|
11
|
+
.v-btn__underlay {
|
|
12
|
+
display: none;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
&.v-btn--density-compact {
|
|
16
|
+
height: var(--input-height);
|
|
17
|
+
|
|
18
|
+
&:not(.v-btn--variant-outlined):not(.v-btn--variant-elevated) {
|
|
19
|
+
.v-btn__overlay {
|
|
20
|
+
display: none;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
&.mobile-device {
|
|
27
|
+
.v-btn:hover,
|
|
28
|
+
.v-btn.small-button:hover,
|
|
29
|
+
.v-btn.square-sm-button:hover {
|
|
30
|
+
background: none !important;
|
|
31
|
+
background-color: transparent !important;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.small-button {
|
|
36
|
+
font-size: var(--font-size) !important;
|
|
37
|
+
padding: 0 12px;
|
|
38
|
+
|
|
39
|
+
&.v-btn--variant-text {
|
|
40
|
+
padding: 0 12px !important;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
&.v-btn--block {
|
|
44
|
+
height: auto;
|
|
45
|
+
min-height: var(--input-height);
|
|
46
|
+
padding: 4px 6px;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
&:not(.v-btn--block) {
|
|
50
|
+
height: var(--input-height) !important;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
&.bg-primary {
|
|
54
|
+
background-color: var(--primary-l-2) !important;
|
|
55
|
+
|
|
56
|
+
&:hover {
|
|
57
|
+
background-color: var(--primary-l-1) !important;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
&:active {
|
|
61
|
+
background-color: var(--primary) !important;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
&[disabled] {
|
|
65
|
+
background-color: var(--grey-l-5) !important;
|
|
66
|
+
color: var(--grey) !important;
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
&.bg-success {
|
|
71
|
+
background-color: var(--success) !important;
|
|
72
|
+
color: var(--white) !important;
|
|
73
|
+
|
|
74
|
+
&:hover {
|
|
75
|
+
background-color: var(--success-d-1) !important;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
&:active {
|
|
79
|
+
background-color: var(--success-d-2) !important;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
&[disabled] {
|
|
83
|
+
background-color: var(--grey-l-5) !important;
|
|
84
|
+
color: var(--grey) !important;
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
&.text-primary {
|
|
89
|
+
color: var(--primary) !important;
|
|
90
|
+
&:hover {
|
|
91
|
+
background-color: var(--primary-l-8) !important;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
&:active {
|
|
95
|
+
background-color: var(--primary-l-7) !important;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
&.--active {
|
|
99
|
+
background-color: var(--primary-l-8) !important;
|
|
100
|
+
border-color: var(--primary-l-2) !important;
|
|
101
|
+
color: var(--primary-l-2) !important;
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
&.text-grey {
|
|
106
|
+
&.v-btn--variant-outlined {
|
|
107
|
+
border-color: var(--grey-l-5) !important;
|
|
108
|
+
span {
|
|
109
|
+
color: var(--text) !important;
|
|
110
|
+
}
|
|
111
|
+
.v-icon {
|
|
112
|
+
color: var(--grey);
|
|
113
|
+
}
|
|
114
|
+
svg {
|
|
115
|
+
color: var(--grey);
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
&.v-btn--variant-text {
|
|
119
|
+
border: 1px solid transparent;
|
|
120
|
+
}
|
|
121
|
+
&:hover {
|
|
122
|
+
background-color: var(--grey-l-5) !important;
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
&:active {
|
|
126
|
+
background-color: var(--grey-l-5) !important;
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
&.text-success {
|
|
131
|
+
&.v-btn--variant-outlined {
|
|
132
|
+
color: var(--success-d-1) !important;
|
|
133
|
+
.v-icon {
|
|
134
|
+
color: var(--success-d-1) !important;
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
&:hover {
|
|
138
|
+
background-color: var(--success-l-6) !important;
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
&:active {
|
|
142
|
+
background-color: var(--success-l-5) !important;
|
|
143
|
+
}
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
&.text-error {
|
|
147
|
+
&.v-btn--variant-outlined {
|
|
148
|
+
color: var(--error);
|
|
149
|
+
.v-icon {
|
|
150
|
+
color: var(--error);
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
&:hover {
|
|
154
|
+
background-color: var(--error-l-6) !important;
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
&:active {
|
|
158
|
+
background-color: var(--error-l-5) !important;
|
|
159
|
+
}
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
.v-icon, svg {
|
|
163
|
+
margin-right: 4px;
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
svg.primary--text {
|
|
167
|
+
color: var(--primary) !important;
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
&:after {
|
|
171
|
+
content: unset;
|
|
172
|
+
}
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
.square-sm-button {
|
|
176
|
+
padding: 0 !important;
|
|
177
|
+
height: var(--input-height) !important;
|
|
178
|
+
width: var(--input-height) !important;
|
|
179
|
+
min-width: var(--input-height) !important;
|
|
180
|
+
min-height: var(--input-height) !important;
|
|
181
|
+
max-width: var(--input-height) !important;
|
|
182
|
+
max-height: var(--input-height) !important;
|
|
183
|
+
border-radius: var(--border-radius);
|
|
184
|
+
|
|
185
|
+
&.v-btn--icon {
|
|
186
|
+
border: none;
|
|
187
|
+
border-radius: var(--border-radius);
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
.v-icon:not(.custom-icon) {
|
|
191
|
+
transform: translate(1px, 1px);
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
&.bg-primary {
|
|
195
|
+
color: var(--white) !important;
|
|
196
|
+
background-color: var(--primary-l-2) !important;
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
&.text-primary {
|
|
200
|
+
color: var(--primary) !important;
|
|
201
|
+
&.v-btn--variant-text {
|
|
202
|
+
.v-icon:not(.text-primary):not(.text-grey):not(.text-success):not(.text-error):not(.text-warning) {
|
|
203
|
+
color: var(--primary) !important;
|
|
204
|
+
}
|
|
205
|
+
svg {
|
|
206
|
+
color: var(--primary) !important;
|
|
207
|
+
}
|
|
208
|
+
}
|
|
209
|
+
&:not(.v-btn--icon) {
|
|
210
|
+
&:hover {
|
|
211
|
+
background-color: var(--primary-l-8) !important;
|
|
212
|
+
}
|
|
213
|
+
&:active {
|
|
214
|
+
background-color: var(--primary-l-7) !important;
|
|
215
|
+
}
|
|
216
|
+
}
|
|
217
|
+
|
|
218
|
+
&.--active {
|
|
219
|
+
border-color: var(--primary-l-2);
|
|
220
|
+
background-color: var(--primary-l-8) !important;
|
|
221
|
+
svg {
|
|
222
|
+
color: var(--primary-l-2) !important;
|
|
223
|
+
}
|
|
224
|
+
}
|
|
225
|
+
}
|
|
226
|
+
|
|
227
|
+
&.text-grey {
|
|
228
|
+
&.v-btn--variant-outlined {
|
|
229
|
+
color: var(--grey-l-5) !important;
|
|
230
|
+
.v-icon {
|
|
231
|
+
color: var(--grey);
|
|
232
|
+
}
|
|
233
|
+
svg {
|
|
234
|
+
color: var(--grey);
|
|
235
|
+
}
|
|
236
|
+
}
|
|
237
|
+
&.v-btn--disabled {
|
|
238
|
+
opacity: 1;
|
|
239
|
+
background-color: var(--grey-l-6);
|
|
240
|
+
|
|
241
|
+
svg {
|
|
242
|
+
color: var(--grey-l-4);
|
|
243
|
+
}
|
|
244
|
+
&.v-btn--icon {
|
|
245
|
+
background: none;
|
|
246
|
+
opacity: 0.8;
|
|
247
|
+
}
|
|
248
|
+
}
|
|
249
|
+
&:not(.v-btn--icon) {
|
|
250
|
+
&:hover {
|
|
251
|
+
background-color: var(--grey-l-5) !important;
|
|
252
|
+
}
|
|
253
|
+
|
|
254
|
+
&:active {
|
|
255
|
+
background-color: var(--grey-l-4) !important;
|
|
256
|
+
}
|
|
257
|
+
}
|
|
258
|
+
&.--active {
|
|
259
|
+
border-color: var(--primary-l-2);
|
|
260
|
+
background-color: var(--primary-l-8) !important;
|
|
261
|
+
svg {
|
|
262
|
+
color: var(--primary-l-2) !important;
|
|
263
|
+
}
|
|
264
|
+
}
|
|
265
|
+
}
|
|
266
|
+
|
|
267
|
+
&.text-success {
|
|
268
|
+
&.v-btn--variant-outlined {
|
|
269
|
+
color: var(--success-d-1) !important;
|
|
270
|
+
.v-icon {
|
|
271
|
+
color: var(--success-d-1) !important;
|
|
272
|
+
}
|
|
273
|
+
color: var(--success-d-1) !important;
|
|
274
|
+
svg {
|
|
275
|
+
color: var(--success-d-1) !important;
|
|
276
|
+
}
|
|
277
|
+
}
|
|
278
|
+
}
|
|
279
|
+
|
|
280
|
+
&.text-error {
|
|
281
|
+
&.v-btn--variant-outlined {
|
|
282
|
+
color: var(--error) !important;
|
|
283
|
+
.v-icon {
|
|
284
|
+
color: var(--error) !important;
|
|
285
|
+
}
|
|
286
|
+
svg {
|
|
287
|
+
color: var(--error) !important;
|
|
288
|
+
}
|
|
289
|
+
}
|
|
290
|
+
&:not(.v-btn--icon) {
|
|
291
|
+
&:hover {
|
|
292
|
+
background-color: var(--error-l-6) !important;
|
|
293
|
+
}
|
|
294
|
+
|
|
295
|
+
&:active {
|
|
296
|
+
background-color: var(--error-l-5) !important;
|
|
297
|
+
}
|
|
298
|
+
}
|
|
299
|
+
}
|
|
300
|
+
}
|
|
301
|
+
}
|
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
$font-size: 12px !default; // основной шрифт приложения
|
|
2
|
+
$input-height: 28px !default; // высота атомарного элемента ui (button, input)
|
|
3
|
+
$border-radius: 4px !default; // радиус скругления атомарного элемента ui
|
|
2
4
|
|
|
3
5
|
:root {
|
|
4
6
|
--font-size: #{$font-size};
|
|
7
|
+
--input-height: #{$input-height};
|
|
8
|
+
--border-radius: #{$border-radius};
|
|
5
9
|
}
|
package/dist/scss/index.scss
CHANGED
package/package.json
CHANGED
|
@@ -1,8 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ldmjs/ui",
|
|
3
|
-
"version": "1.0.0-dev-
|
|
3
|
+
"version": "1.0.0-dev-4",
|
|
4
4
|
"description": "ldm ui",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
|
+
"engines": {
|
|
7
|
+
"node": ">=16",
|
|
8
|
+
"npm": ">=8"
|
|
9
|
+
},
|
|
6
10
|
"scripts": {
|
|
7
11
|
"dev": "webpack serve --config config/webpack.config.dev.js --progress --profile",
|
|
8
12
|
"build": "webpack --config config/webpack.config.build.js --stats-error-details"
|
|
@@ -16,15 +20,18 @@
|
|
|
16
20
|
"ui"
|
|
17
21
|
],
|
|
18
22
|
"author": "ldmjs <nevezhin@lanit.ru>",
|
|
19
|
-
"license": "
|
|
23
|
+
"license": "MIT",
|
|
20
24
|
"bugs": {
|
|
21
25
|
"url": "https://github.com/ldmjs/ui/issues"
|
|
22
26
|
},
|
|
23
27
|
"homepage": "https://github.com/ldmjs/ui#readme",
|
|
28
|
+
"files": [
|
|
29
|
+
"dist/"
|
|
30
|
+
],
|
|
24
31
|
"devDependencies": {
|
|
32
|
+
"@types/eslint": "^8",
|
|
25
33
|
"@typescript-eslint/eslint-plugin": "5.41.0",
|
|
26
34
|
"@typescript-eslint/parser": "5.41.0",
|
|
27
|
-
"@types/eslint": "^8",
|
|
28
35
|
"copy-webpack-plugin": "^12.0.2",
|
|
29
36
|
"css-loader": "6.8.1",
|
|
30
37
|
"eslint": "8.56.0",
|
|
@@ -41,8 +48,13 @@
|
|
|
41
48
|
"vue-class-component": "8.0.0-rc.1",
|
|
42
49
|
"vue-loader": "17.3.1",
|
|
43
50
|
"vue-property-decorator": "10.0.0-rc.3",
|
|
51
|
+
"vuetify": "3.5.9",
|
|
44
52
|
"webpack": "5.90.2",
|
|
45
53
|
"webpack-cli": "5.1.4",
|
|
46
|
-
"webpack-dev-server": "4.15.1"
|
|
54
|
+
"webpack-dev-server": "4.15.1",
|
|
55
|
+
"webpack-plugin-vuetify": "2.0.1"
|
|
56
|
+
},
|
|
57
|
+
"volta": {
|
|
58
|
+
"node": "16.20.0"
|
|
47
59
|
}
|
|
48
60
|
}
|