@lingxiteam/theme-utils 0.1.12 → 0.1.13

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.
@@ -77,7 +77,7 @@ export var Grid = {
77
77
  fontSize: '12px',
78
78
  fontWeight: '400'
79
79
  }],
80
- tpl: "\n .use-app-grid{\n background-color: backgroundColor;\n border-radius: borderRadius;\n }\n .am-grid {\n background-color: backgroundColor;\n border-radius: borderRadius;\n --adm-font-size-4: fontSize;\n --adm-color-text: textColor\n }\n .am-grid.am-grid-line:not(.am-grid-carousel){\n border:1PX solid borderColor;\n border-bottom:none;\n }\n .am-grid.am-grid-line .am-grid-flex:last-child{\n border-color: borderColor;\n border-bottom-right-radius: borderRadius;\n border-bottom-left-radius: borderRadius;\n }\n .am-grid.am-grid-line .am-grid-flex:first-child{\n border-top-left-radius: borderRadius;\n }\n .am-grid.am-grid-line .am-grid-flex .am-grid-flex-item:first-child{\n border: none;\n }\n .am-grid.am-grid-line .am-grid-flex{\n border-color: lineColor;\n }\n .am-grid.am-grid-square .am-grid-item .am-grid-item-inner-content .am-grid-icon{\n width: iconSize;\n }\n .am-grid .am-grid-flex .am-grid-flex-item .am-grid-item-content .am-grid-item-inner-content .am-grid-text{\n line-height: lineHeight;\n font-weight: fontWeight;\n }",
80
+ tpl: "\n .use-app-grid{\n background-color: backgroundColor;\n }\n .am-grid {\n border-radius: borderRadius;\n --adm-font-size-4: fontSize;\n --adm-color-text: textColor\n }\n .am-grid.am-grid-line:not(.am-grid-carousel){\n border:1PX solid borderColor;\n border-bottom:none;\n }\n .am-grid.am-grid-line .am-grid-flex:last-child{\n border-color: borderColor;\n border-bottom-right-radius: borderRadius;\n border-bottom-left-radius: borderRadius;\n }\n .am-grid.am-grid-line .am-grid-flex:first-child{\n border-top-left-radius: borderRadius;\n }\n .am-grid.am-grid-line .am-grid-flex .am-grid-flex-item:first-child{\n border: none;\n }\n .am-grid.am-grid-line .am-grid-flex{\n border-color: lineColor;\n }\n .am-grid.am-grid-square .am-grid-item .am-grid-item-inner-content .am-grid-icon{\n width: iconSize;\n }\n .am-grid .am-grid-flex .am-grid-flex-item .am-grid-item-content .am-grid-item-inner-content .am-grid-text{\n line-height: lineHeight;\n font-weight: fontWeight;\n }",
81
81
  components: [{
82
82
  id: 'Grid_842271',
83
83
  label: '宫格',
@@ -97,7 +97,7 @@ export var SearchView = {
97
97
  sBorderColor: 'rgba(0,0,0,0)',
98
98
  sBorderRadius: '18px'
99
99
  }],
100
- tpl: "\n .alita-search-view-wrap{\n --adm-color-background: backgroundColor;\n padding: paddingValue;\n border: 1PX solid borderColor;\n border-radius: borderRadius;\n }\n .alita-search-view-wrap .alita-search-bar-input{\n background-color: sBackgroundColor;\ncolor: textColor;\nfont-size: fontSize;\nfont-weight: fontWeight;\npadding: sPaddingValue;\nborder-radius: sBorderRadius;\nborder: 1PX solid sBorderColor;\n }\n .alita-search-view-wrap .alita-search-bar-search{\n width: iconSize;\n height: iconSize;\n }",
100
+ tpl: "\n .alita-search-view-wrap{\n --adm-color-background: backgroundColor;\n padding: paddingValue;\n border: 1PX solid borderColor;\n border-radius: borderRadius;\n }\n .alita-search-bar-input{\n background-color: sBackgroundColor;\ncolor: textColor;\nfont-size: fontSize;\nfont-weight: fontWeight;\npadding: sPaddingValue;\nborder-radius: sBorderRadius;\nborder: 1PX solid sBorderColor;\n }\n .alita-search-bar-search{\n width: iconSize;\n height: iconSize;\n }",
101
101
  components: [{
102
102
  id: 'SearchView_197467',
103
103
  label: '搜索',
@@ -117,13 +117,13 @@ export var StaticTabs = {
117
117
  fontWeight: '400',
118
118
  fontSize: '15px',
119
119
  lineHeight: '100%',
120
- selectBorderRadius: '12px',
120
+ selectBorderRadius: '0',
121
121
  // paddingValue:'8px 0 8px 0',
122
122
  bodyBgColor: 'rgba(0,0,0,0)',
123
123
  borderColor: 'rgba(0,0,0,0)',
124
124
  lineColor: '#108ee9'
125
125
  }],
126
- tpl: "\n .am-tabs-default-bar-top .am-tabs-default-bar-tab{\nfont-weight: fontWeight;\nborder-top-left-radius: selectBorderRadius;\n border-top-right-radius: selectBorderRadius;\n color: textColor;\nfont-size: fontSize;\nborder: 1px solid borderColor;\nbackground-color: backgroundColor;\n }\n .am-tabs-default-bar-content .am-tabs-default-bar-tab-active::before, .am-tabs-default-bar-content .am-tabs-default-bar-tab-active::after{\n background: selectBgColor;\n }\n .am-tabs-default-bar-content .am-tabs-default-bar-tab-active::before{\n left: 0;\n }\n .am-tabs-bottom, .am-tabs-top{\n border-radius: selectBorderRadius;\n }\n .am-tabs-default-bar-content .am-tabs-default-bar-tab-active {\n background-color: selectBgColor;\n color: selectTextColor;\nfont-weight: selectFontWeight;\n }\n .am-tabs-pane-wrap{\n background-color: bodyBgColor;\n }\n .am-tabs-default-bar-animated .am-tabs-default-bar-underline{\n border-color: lineColor;\n }",
126
+ tpl: "\n\n .am-tabs-default-bar-tab{\nfont-weight: fontWeight;\nborder-top-left-radius: selectBorderRadius;\n border-top-right-radius: selectBorderRadius;\n color: textColor;\nfont-size: fontSize;\nborder: 1px solid borderColor;\nbackground-color: backgroundColor;\n }\n .am-tabs-default-bar-tab-active {\n background-color: selectBgColor;\n color: selectTextColor;\nfont-weight: selectFontWeight;\n }\n .am-tabs-pane-wrap{\n background-color: bodyBgColor;\n }\n .am-tabs-default-bar-underline{\n border-color: lineColor;\n }",
127
127
  components: [{
128
128
  id: 'StaticTabs_828878',
129
129
  label: '静态标签页',
@@ -1,5 +1,6 @@
1
- export declare const DynamicTable: {
1
+ export declare const Table: {
2
2
  type: string;
3
+ hasPrefixClass: boolean;
3
4
  variable: {
4
5
  textColor: {
5
6
  type: string;
@@ -1,5 +1,6 @@
1
- export var DynamicTable = {
2
- type: 'DynamicTable',
1
+ export var Table = {
2
+ type: 'Table',
3
+ hasPrefixClass: true,
3
4
  variable: {
4
5
  textColor: {
5
6
  type: 'color',
@@ -117,7 +118,7 @@ export var DynamicTable = {
117
118
  // fHeadBgColor: '#FAFAFA',
118
119
  }],
119
120
 
120
- tpl: "\n .appDynamicTable {\n .table-header{\n font-weight: fontWeight;\n font-size: fontSize;\n color: textColor;\n }\n .ag-header-row{\n font-size: headFontSize;\n }\n .table-body{\n --dynamic-table-header-bg-color: headBgColor;\n --ag-odd-row-background-color: bodyBgColor;\n --dynamic-table-header-color: headTextColor;\n }\n .ag-root-wrapper{\n border-radius: borderRadius;\n }\n .ag-theme-segmentation {\n --ag-background-color: bodyBgColor;\n --ag-borders-critical: borderColor;\n --ag-row-border-color: borderColor;\n --ag-header-border-color: borderColor;\n }\n .ag-theme-zebra {\n --ag-background-color: bodyBgColor;\n --ag-odd-row-background-color: zebraBgColor;\n --ag-borders: none;\n --ag-row-border-color: none;\n}\n .ag-theme-border {\n --ag-background-color: bodyBgColor;\n --ag-border-color: borderColor;\n --ag-cell-horizontal-border: solid borderColor;\n}\n }\n",
121
+ tpl: ".appDynamicTable {\n .table-header{\n font-weight: fontWeight;\n font-size: fontSize;\n color: textColor;\n }\n .ag-header-row{\n font-size: headFontSize;\n }\n .table-body{\n --dynamic-table-header-bg-color: headBgColor;\n --ag-odd-row-background-color: bodyBgColor;\n --dynamic-table-header-color: headTextColor;\n }\n .ag-root-wrapper{\n border-radius: borderRadius;\n }\n .ag-theme-segmentation {\n --ag-background-color: bodyBgColor;\n --ag-borders-critical: borderColor;\n --ag-row-border-color: borderColor;\n --ag-header-border-color: borderColor;\n }\n .ag-theme-zebra {\n --ag-background-color: bodyBgColor;\n --ag-odd-row-background-color: zebraBgColor;\n --ag-borders: none;\n --ag-row-border-color: none;\n}\n .ag-theme-border {\n --ag-background-color: bodyBgColor;\n --ag-border-color: borderColor;\n --ag-cell-horizontal-border: solid borderColor;\n}\n }\n",
121
122
  // tpl: `
122
123
  // .appDynamicTable {
123
124
  // .table-body{
package/dist/lx-mobile.js CHANGED
@@ -7,7 +7,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
7
7
  import { stringifyCss, parseCss, prefixAnyCSS } from "./css";
8
8
  import { objToListByGroupsName } from "./utils";
9
9
  import { Button } from "./h5config/Button";
10
- import { DynamicTable } from "./h5config/Table";
10
+ import { Table } from "./h5config/Table";
11
11
  import { FilterItems } from "./h5config/FilterItems";
12
12
  import { NoticeBarPlus } from "./h5config/NoticeBarPlus";
13
13
  import { StaticTabs } from "./h5config/StaticTabs";
@@ -39,7 +39,7 @@ export var MOBILE_ASSETS_CSS_TPL = {
39
39
  // TODO: 分割线 style 写死,最后修改方案
40
40
  // Divider,
41
41
  Card: Card,
42
- DynamicTable: DynamicTable,
42
+ Table: Table,
43
43
  FilterItems: FilterItems,
44
44
  NoticeBarPlus: NoticeBarPlus,
45
45
  StaticTabs: StaticTabs,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lingxiteam/theme-utils",
3
- "version": "0.1.12",
3
+ "version": "0.1.13",
4
4
  "description": "",
5
5
  "keywords": [],
6
6
  "license": "MIT",