@lambo-design/shared 1.0.0-beta.205 → 1.0.0-beta.206
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/nstyles/common.less +197 -197
- package/nstyles/components/404.less +46 -46
- package/nstyles/components/button.less +34 -34
- package/nstyles/components/date-picker.less +37 -37
- package/nstyles/components/drawer.less +20 -20
- package/nstyles/components/dropdown.less +18 -18
- package/nstyles/components/excel-flow.less +72 -72
- package/nstyles/components/form.less +2 -2
- package/nstyles/components/index.less +8 -0
- package/nstyles/components/layout/collect.less +10 -10
- package/nstyles/components/layout/detail-view.less +107 -107
- package/nstyles/components/layout/full-screen.less +7 -7
- package/nstyles/components/layout/other-menu.less +142 -142
- package/nstyles/components/layout/page-view.less +101 -101
- package/nstyles/components/layout/sider-trigger.less +41 -41
- package/nstyles/components/layout/tags-nav.less +113 -113
- package/nstyles/components/modal.less +85 -85
- package/nstyles/components/n-button.less +131 -0
- package/nstyles/components/n-image-preview.less +131 -0
- package/nstyles/components/n-model/index.less +19 -0
- package/nstyles/components/n-model/report-index.less +43 -0
- package/nstyles/components/n-panel.less +41 -0
- package/nstyles/components/n-picker.less +37 -0
- package/nstyles/components/n-sign.less +17 -0
- package/nstyles/components/n-tooltip.less +10 -0
- package/nstyles/components/panel.less +31 -31
- package/nstyles/components/select.less +3 -3
- package/nstyles/components/sign.less +27 -27
- package/nstyles/components/tree.less +1 -1
- package/nstyles/components/upload.less +131 -131
- package/nstyles/index.less +5 -5
- package/nstyles/reset.less +65 -65
- package/nstyles/third/ag.less +3 -2
- package/nstyles/third/index.less +11 -11
- package/nstyles/third/view-design.less +356 -356
- package/nstyles/variables/base.less +143 -143
- package/nstyles/variables/index.less +4 -4
- package/nstyles/variables/theme/default/button.less +7 -7
- package/nstyles/variables/theme/default/common.less +57 -57
- package/nstyles/variables/theme/default/index.less +7 -7
- package/nstyles/variables/theme/default/layout.less +40 -40
- package/nstyles/variables/theme/default/table.less +37 -37
- package/nstyles/variables/theme/default/tag.less +3 -3
- package/nstyles/variables/theme/default/upload.less +3 -3
- package/nstyles/variables/theme/index.less +13 -13
- package/nstyles/variables/theme/small/button.less +7 -7
- package/nstyles/variables/theme/small/common.less +39 -39
- package/nstyles/variables/theme/small/index.less +5 -5
- package/nstyles/variables/theme/small/layout.less +21 -21
- package/nstyles/variables/theme/small/table.less +17 -17
- package/nstyles/variables/theme/small/tag.less +3 -3
- package/package.json +4 -1
|
@@ -1,39 +1,39 @@
|
|
|
1
|
-
.ind-small-theme {
|
|
2
|
-
--ind-menu-desc-margin-top: 0px;
|
|
3
|
-
--ind-sc-padding-top: 10px; // 值来自四川
|
|
4
|
-
|
|
5
|
-
// 压缩padding
|
|
6
|
-
// --ind-padding-xs: 4px;
|
|
7
|
-
--ind-padding-sm: 8px;
|
|
8
|
-
|
|
9
|
-
// card的样式
|
|
10
|
-
--ivu-card-head-padding: 6px 12px;
|
|
11
|
-
--ivu-card-head-line-height: 36px;
|
|
12
|
-
--ivu-card-head-height: 36px;
|
|
13
|
-
--ivu-card-body-padding: 6px;
|
|
14
|
-
|
|
15
|
-
// 表单的样式
|
|
16
|
-
--input-height: 26px; //30px; // 24px; // small 24px // 值来自四川 // 又改一版
|
|
17
|
-
--ivu-form-item-label-padding: 6px 8px 6px 0; // 6px 8px 6px 0; 值来自四川 // 又改一版
|
|
18
|
-
--ivu-form-v6stle-item-label-paddingleft: 12px;
|
|
19
|
-
--ivu-form-item-content-padding: 4px 6px;
|
|
20
|
-
--ivu-form-item-label-before-left: 4px;
|
|
21
|
-
--ivu-form-item-content-line-height: 26px; //30px; //24px; // 值来自四川 // 又改一版
|
|
22
|
-
|
|
23
|
-
// tree样式
|
|
24
|
-
--ind-tree-wrapper-width: 100%;
|
|
25
|
-
--tree-content-padding: var(--ind-padding-xs);
|
|
26
|
-
--ivu-tree-margin: var(--ind-padding-xs) 0;
|
|
27
|
-
|
|
28
|
-
// drawer样式
|
|
29
|
-
--ind-drawer-content-padding: 6px;
|
|
30
|
-
--ind-drawer-footer-padding: 10px 16px;
|
|
31
|
-
|
|
32
|
-
// 报表指标样式
|
|
33
|
-
--report-index-model-panel-padding: var(--tree-content-padding);
|
|
34
|
-
--report-index-options-padding-right: var(--tree-content-padding);
|
|
35
|
-
|
|
36
|
-
// 表格
|
|
37
|
-
--ind-table-button-padding: 6px; // var(--ind-padding-xs);
|
|
38
|
-
--input-height-table: 24px; // 表格输入框的高度
|
|
39
|
-
}
|
|
1
|
+
.ind-small-theme {
|
|
2
|
+
--ind-menu-desc-margin-top: 0px;
|
|
3
|
+
--ind-sc-padding-top: 10px; // 值来自四川
|
|
4
|
+
|
|
5
|
+
// 压缩padding
|
|
6
|
+
// --ind-padding-xs: 4px;
|
|
7
|
+
--ind-padding-sm: 8px;
|
|
8
|
+
|
|
9
|
+
// card的样式
|
|
10
|
+
--ivu-card-head-padding: 6px 12px;
|
|
11
|
+
--ivu-card-head-line-height: 36px;
|
|
12
|
+
--ivu-card-head-height: 36px;
|
|
13
|
+
--ivu-card-body-padding: 6px;
|
|
14
|
+
|
|
15
|
+
// 表单的样式
|
|
16
|
+
--input-height: 26px; //30px; // 24px; // small 24px // 值来自四川 // 又改一版
|
|
17
|
+
--ivu-form-item-label-padding: 6px 8px 6px 0; // 6px 8px 6px 0; 值来自四川 // 又改一版
|
|
18
|
+
--ivu-form-v6stle-item-label-paddingleft: 12px;
|
|
19
|
+
--ivu-form-item-content-padding: 4px 6px;
|
|
20
|
+
--ivu-form-item-label-before-left: 4px;
|
|
21
|
+
--ivu-form-item-content-line-height: 26px; //30px; //24px; // 值来自四川 // 又改一版
|
|
22
|
+
|
|
23
|
+
// tree样式
|
|
24
|
+
--ind-tree-wrapper-width: 100%;
|
|
25
|
+
--tree-content-padding: var(--ind-padding-xs);
|
|
26
|
+
--ivu-tree-margin: var(--ind-padding-xs) 0;
|
|
27
|
+
|
|
28
|
+
// drawer样式
|
|
29
|
+
--ind-drawer-content-padding: 6px;
|
|
30
|
+
--ind-drawer-footer-padding: 10px 16px;
|
|
31
|
+
|
|
32
|
+
// 报表指标样式
|
|
33
|
+
--report-index-model-panel-padding: var(--tree-content-padding);
|
|
34
|
+
--report-index-options-padding-right: var(--tree-content-padding);
|
|
35
|
+
|
|
36
|
+
// 表格
|
|
37
|
+
--ind-table-button-padding: 6px; // var(--ind-padding-xs);
|
|
38
|
+
--input-height-table: 24px; // 表格输入框的高度
|
|
39
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
@import './button.less';
|
|
2
|
-
@import './common.less';
|
|
3
|
-
@import './layout.less';
|
|
4
|
-
@import './table.less';
|
|
5
|
-
@import './tag.less';
|
|
1
|
+
@import './button.less';
|
|
2
|
+
@import './common.less';
|
|
3
|
+
@import './layout.less';
|
|
4
|
+
@import './table.less';
|
|
5
|
+
@import './tag.less';
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
.ind-small-theme {
|
|
2
|
-
// basic layout 系统布局变量 -begin
|
|
3
|
-
--ivu-menu-item-font-size: var(--ind-font-size-md);
|
|
4
|
-
|
|
5
|
-
--menu-icon-margin-right: var(--ind-padding-xs);
|
|
6
|
-
// basic layout 系统布局变量 -end
|
|
7
|
-
|
|
8
|
-
// page-view layout 系统布局变量 -begin
|
|
9
|
-
--ind-panel-vertical-margin: var(--ind-padding-xs); // 12px;
|
|
10
|
-
--ind-panel-horizon-margin: var(--ind-padding-xs); // var(--ind-padding-sm);
|
|
11
|
-
// page-view layout 系统布局变量 -end
|
|
12
|
-
|
|
13
|
-
// --input-height: 30px; // 24px; // small 24px 挪common.less去了
|
|
14
|
-
--search-margin-bottom: var(--ind-padding-xs); // var(--ind-padding-sm); // 24px; // 6px;
|
|
15
|
-
--search-button-margin: var(--ind-padding-xs); // var(--ind-padding-sm);
|
|
16
|
-
|
|
17
|
-
--menu-name-padding: 0 14px 0 10px; // var(--ind-padding-xs) 14px var(--ind-padding-xs) 10px; // 标题行padding
|
|
18
|
-
--menu-title-font-size: 16px;
|
|
19
|
-
--menu-title-color: #17233d;
|
|
20
|
-
--page-content-padding: var(--ind-padding-xs); // 12px;
|
|
21
|
-
}
|
|
1
|
+
.ind-small-theme {
|
|
2
|
+
// basic layout 系统布局变量 -begin
|
|
3
|
+
--ivu-menu-item-font-size: var(--ind-font-size-md);
|
|
4
|
+
|
|
5
|
+
--menu-icon-margin-right: var(--ind-padding-xs);
|
|
6
|
+
// basic layout 系统布局变量 -end
|
|
7
|
+
|
|
8
|
+
// page-view layout 系统布局变量 -begin
|
|
9
|
+
--ind-panel-vertical-margin: var(--ind-padding-xs); // 12px;
|
|
10
|
+
--ind-panel-horizon-margin: var(--ind-padding-xs); // var(--ind-padding-sm);
|
|
11
|
+
// page-view layout 系统布局变量 -end
|
|
12
|
+
|
|
13
|
+
// --input-height: 30px; // 24px; // small 24px 挪common.less去了
|
|
14
|
+
--search-margin-bottom: var(--ind-padding-xs); // var(--ind-padding-sm); // 24px; // 6px;
|
|
15
|
+
--search-button-margin: var(--ind-padding-xs); // var(--ind-padding-sm);
|
|
16
|
+
|
|
17
|
+
--menu-name-padding: 0 14px 0 10px; // var(--ind-padding-xs) 14px var(--ind-padding-xs) 10px; // 标题行padding
|
|
18
|
+
--menu-title-font-size: 16px;
|
|
19
|
+
--menu-title-color: #17233d;
|
|
20
|
+
--page-content-padding: var(--ind-padding-xs); // 12px;
|
|
21
|
+
}
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
.ind-small-theme {
|
|
2
|
-
--ind-table-padding: var(--ind-padding-sm);
|
|
3
|
-
--ind-ag-cell-widget-spacing: 12px;
|
|
4
|
-
|
|
5
|
-
--ind-ag-grid-size: 4px;
|
|
6
|
-
--ind-ag-font-size: var(--ind-font-size-md); // var(--ind-font-size-sm);
|
|
7
|
-
--ind-ag-list-item-height: calc(var(--ag-grid-size) * 6);
|
|
8
|
-
--ind-ag-cell-horizontal-padding: 3px; // 0px
|
|
9
|
-
|
|
10
|
-
// 以下是 ag 没有的
|
|
11
|
-
--ind-ag-cell-icon-margin-left: 3px;
|
|
12
|
-
--ind-ag-cell-header-horizontal-padding: 0px;
|
|
13
|
-
--ind-ag-cell-line-height: 14px;
|
|
14
|
-
|
|
15
|
-
--ind-unit-switch-bottom: 10px;
|
|
16
|
-
--ind-other-button-top: 2px;
|
|
17
|
-
}
|
|
1
|
+
.ind-small-theme {
|
|
2
|
+
--ind-table-padding: var(--ind-padding-sm);
|
|
3
|
+
--ind-ag-cell-widget-spacing: 12px;
|
|
4
|
+
|
|
5
|
+
--ind-ag-grid-size: 4px;
|
|
6
|
+
--ind-ag-font-size: var(--ind-font-size-md); // var(--ind-font-size-sm);
|
|
7
|
+
--ind-ag-list-item-height: calc(var(--ag-grid-size) * 6);
|
|
8
|
+
--ind-ag-cell-horizontal-padding: 3px; // 0px
|
|
9
|
+
|
|
10
|
+
// 以下是 ag 没有的
|
|
11
|
+
--ind-ag-cell-icon-margin-left: 3px;
|
|
12
|
+
--ind-ag-cell-header-horizontal-padding: 0px;
|
|
13
|
+
--ind-ag-cell-line-height: 14px;
|
|
14
|
+
|
|
15
|
+
--ind-unit-switch-bottom: 10px;
|
|
16
|
+
--ind-other-button-top: 2px;
|
|
17
|
+
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
.ind-small-theme {
|
|
2
|
-
--ind-tag-height: 18px; //22px // 16px;; // 值来自四川 // 又改一版
|
|
3
|
-
}
|
|
1
|
+
.ind-small-theme {
|
|
2
|
+
--ind-tag-height: 18px; //22px // 16px;; // 值来自四川 // 又改一版
|
|
3
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lambo-design/shared",
|
|
3
|
-
"version": "1.0.0-beta.
|
|
3
|
+
"version": "1.0.0-beta.206",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"author": "lambo",
|
|
@@ -28,6 +28,9 @@
|
|
|
28
28
|
"xlsx": "http://cicd.lambo.top/package/cdn/xlsx-0.19.1.tgz",
|
|
29
29
|
"xlsx-style": "^0.8.13"
|
|
30
30
|
},
|
|
31
|
+
"devDependencies": {
|
|
32
|
+
"vue": "^2.6.12"
|
|
33
|
+
},
|
|
31
34
|
"scripts": {
|
|
32
35
|
"release-shared": "pnpm release-beta && git push --follow-tags && pnpm re-publish",
|
|
33
36
|
"release-major": "standard-version --release-as major",
|