dolphin-weex-ui 2.2.2 → 2.2.3
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/CHANGELOG.md +5 -0
- package/dist/index.native.js +46 -31
- package/dist/index.native.js.map +1 -1
- package/dist/index.web.js +35 -32
- package/dist/index.web.js.map +1 -1
- package/package.json +1 -1
- package/packages/dof-button/index.vue +24 -1
- package/packages/dof-button/type.js +30 -30
package/CHANGELOG.md
CHANGED
package/dist/index.native.js
CHANGED
|
@@ -7695,13 +7695,13 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
7695
7695
|
var STYLE_MAP = exports.STYLE_MAP = {
|
|
7696
7696
|
primary: {
|
|
7697
7697
|
default: {
|
|
7698
|
-
|
|
7698
|
+
backgroundColor: '#267AFF'
|
|
7699
7699
|
},
|
|
7700
7700
|
base: {
|
|
7701
|
-
|
|
7701
|
+
backgroundColor: '#E9F1FF'
|
|
7702
7702
|
},
|
|
7703
7703
|
plain: {
|
|
7704
|
-
|
|
7704
|
+
backgroundColor: '#FFFFFF',
|
|
7705
7705
|
borderWidth: '2px',
|
|
7706
7706
|
borderColor: '#267AFF'
|
|
7707
7707
|
},
|
|
@@ -7712,13 +7712,13 @@ var STYLE_MAP = exports.STYLE_MAP = {
|
|
|
7712
7712
|
},
|
|
7713
7713
|
purple: {
|
|
7714
7714
|
default: {
|
|
7715
|
-
|
|
7715
|
+
backgroundColor: '#995EFC'
|
|
7716
7716
|
},
|
|
7717
7717
|
base: {
|
|
7718
|
-
|
|
7718
|
+
backgroundColor: '#EEE6FF'
|
|
7719
7719
|
},
|
|
7720
7720
|
plain: {
|
|
7721
|
-
|
|
7721
|
+
backgroundColor: '#FFFFFF',
|
|
7722
7722
|
borderWidth: '2px',
|
|
7723
7723
|
borderColor: '#995EFC'
|
|
7724
7724
|
},
|
|
@@ -7729,13 +7729,13 @@ var STYLE_MAP = exports.STYLE_MAP = {
|
|
|
7729
7729
|
},
|
|
7730
7730
|
slate: {
|
|
7731
7731
|
default: {
|
|
7732
|
-
|
|
7732
|
+
backgroundColor: '#6575FF'
|
|
7733
7733
|
},
|
|
7734
7734
|
base: {
|
|
7735
|
-
|
|
7735
|
+
backgroundColor: '#E6E8FF'
|
|
7736
7736
|
},
|
|
7737
7737
|
plain: {
|
|
7738
|
-
|
|
7738
|
+
backgroundColor: '#FFFFFF',
|
|
7739
7739
|
borderWidth: '2px',
|
|
7740
7740
|
borderColor: '#6575FF'
|
|
7741
7741
|
},
|
|
@@ -7746,13 +7746,13 @@ var STYLE_MAP = exports.STYLE_MAP = {
|
|
|
7746
7746
|
},
|
|
7747
7747
|
aqua: {
|
|
7748
7748
|
default: {
|
|
7749
|
-
|
|
7749
|
+
backgroundColor: '#29C3FF'
|
|
7750
7750
|
},
|
|
7751
7751
|
base: {
|
|
7752
|
-
|
|
7752
|
+
backgroundColor: '#E6F8FF'
|
|
7753
7753
|
},
|
|
7754
7754
|
plain: {
|
|
7755
|
-
|
|
7755
|
+
backgroundColor: '#FFFFFF',
|
|
7756
7756
|
borderWidth: '2px',
|
|
7757
7757
|
borderColor: '#29C3FF'
|
|
7758
7758
|
},
|
|
@@ -7763,13 +7763,13 @@ var STYLE_MAP = exports.STYLE_MAP = {
|
|
|
7763
7763
|
},
|
|
7764
7764
|
turquoise: {
|
|
7765
7765
|
default: {
|
|
7766
|
-
|
|
7766
|
+
backgroundColor: '#00CBB8'
|
|
7767
7767
|
},
|
|
7768
7768
|
base: {
|
|
7769
|
-
|
|
7769
|
+
backgroundColor: '#E6FFFD'
|
|
7770
7770
|
},
|
|
7771
7771
|
plain: {
|
|
7772
|
-
|
|
7772
|
+
backgroundColor: '#FFFFFF',
|
|
7773
7773
|
borderWidth: '2px',
|
|
7774
7774
|
borderColor: '#00CBB8'
|
|
7775
7775
|
},
|
|
@@ -7780,13 +7780,13 @@ var STYLE_MAP = exports.STYLE_MAP = {
|
|
|
7780
7780
|
},
|
|
7781
7781
|
yellow: {
|
|
7782
7782
|
default: {
|
|
7783
|
-
|
|
7783
|
+
backgroundColor: '#FFAA10'
|
|
7784
7784
|
},
|
|
7785
7785
|
base: {
|
|
7786
|
-
|
|
7786
|
+
backgroundColor: '#FFF4E0'
|
|
7787
7787
|
},
|
|
7788
7788
|
plain: {
|
|
7789
|
-
|
|
7789
|
+
backgroundColor: '#FFFFFF',
|
|
7790
7790
|
borderWidth: '2px',
|
|
7791
7791
|
borderColor: '#FFAA10'
|
|
7792
7792
|
},
|
|
@@ -7797,13 +7797,13 @@ var STYLE_MAP = exports.STYLE_MAP = {
|
|
|
7797
7797
|
},
|
|
7798
7798
|
orange: {
|
|
7799
7799
|
default: {
|
|
7800
|
-
|
|
7800
|
+
backgroundColor: '#FF8225'
|
|
7801
7801
|
},
|
|
7802
7802
|
base: {
|
|
7803
|
-
|
|
7803
|
+
backgroundColor: '#FFF0E6'
|
|
7804
7804
|
},
|
|
7805
7805
|
plain: {
|
|
7806
|
-
|
|
7806
|
+
backgroundColor: '#FFFFFF',
|
|
7807
7807
|
borderWidth: '2px',
|
|
7808
7808
|
borderColor: '#FF8225'
|
|
7809
7809
|
},
|
|
@@ -7814,13 +7814,13 @@ var STYLE_MAP = exports.STYLE_MAP = {
|
|
|
7814
7814
|
},
|
|
7815
7815
|
tomato: {
|
|
7816
7816
|
default: {
|
|
7817
|
-
|
|
7817
|
+
backgroundColor: '#FF6A4C'
|
|
7818
7818
|
},
|
|
7819
7819
|
base: {
|
|
7820
|
-
|
|
7820
|
+
backgroundColor: '#FFEaE6'
|
|
7821
7821
|
},
|
|
7822
7822
|
plain: {
|
|
7823
|
-
|
|
7823
|
+
backgroundColor: '#FFFFFF',
|
|
7824
7824
|
borderWidth: '2px',
|
|
7825
7825
|
borderColor: '#FF6A4C'
|
|
7826
7826
|
},
|
|
@@ -7831,13 +7831,13 @@ var STYLE_MAP = exports.STYLE_MAP = {
|
|
|
7831
7831
|
},
|
|
7832
7832
|
gray: {
|
|
7833
7833
|
default: {
|
|
7834
|
-
|
|
7834
|
+
backgroundColor: '#7C879B'
|
|
7835
7835
|
},
|
|
7836
7836
|
base: {
|
|
7837
|
-
|
|
7837
|
+
backgroundColor: '#CFD7E6'
|
|
7838
7838
|
},
|
|
7839
7839
|
plain: {
|
|
7840
|
-
|
|
7840
|
+
backgroundColor: '#FFFFFF',
|
|
7841
7841
|
borderWidth: '2px',
|
|
7842
7842
|
borderColor: '#7C879B'
|
|
7843
7843
|
},
|
|
@@ -7882,13 +7882,13 @@ var STYLE_MAP = exports.STYLE_MAP = {
|
|
|
7882
7882
|
},
|
|
7883
7883
|
colmo: {
|
|
7884
7884
|
default: {
|
|
7885
|
-
|
|
7885
|
+
backgroundColor: '#B35336'
|
|
7886
7886
|
},
|
|
7887
7887
|
base: {
|
|
7888
|
-
|
|
7888
|
+
backgroundColor: '#292c30'
|
|
7889
7889
|
},
|
|
7890
7890
|
plain: {
|
|
7891
|
-
|
|
7891
|
+
backgroundColor: 'transparent',
|
|
7892
7892
|
borderWidth: '2px',
|
|
7893
7893
|
borderColor: '#B35336'
|
|
7894
7894
|
},
|
|
@@ -18364,7 +18364,10 @@ exports.default = {
|
|
|
18364
18364
|
type = 'colmo';
|
|
18365
18365
|
buttonStyle = _type.COLMO_BUTTON_STYLE_MAP;
|
|
18366
18366
|
}
|
|
18367
|
-
|
|
18367
|
+
|
|
18368
|
+
var styleMap = _extends({}, _type.STYLE_MAP[type][pattern]);
|
|
18369
|
+
if (!this._isColmo && pattern !== 'text' && !disabled) delete styleMap.backgroundColor;
|
|
18370
|
+
var mrBtnStyle = _extends({}, styleMap, buttonStyle[size], btnStyle);
|
|
18368
18371
|
|
|
18369
18372
|
var disabledInStyle = { opacity: 0.3 };
|
|
18370
18373
|
if (type === 'white') {
|
|
@@ -46203,6 +46206,18 @@ module.exports = {
|
|
|
46203
46206
|
"backgroundColor": "#ffffff",
|
|
46204
46207
|
"backgroundColor:active": "rgba(124,135,155,0.1)"
|
|
46205
46208
|
},
|
|
46209
|
+
"dof-btn-highlight-red-default": {
|
|
46210
|
+
"backgroundColor": "#e61e1e"
|
|
46211
|
+
},
|
|
46212
|
+
"dof-btn-highlight-red-base": {
|
|
46213
|
+
"backgroundColor": "#ffd9cf"
|
|
46214
|
+
},
|
|
46215
|
+
"dof-btn-highlight-red-plain": {
|
|
46216
|
+
"backgroundColor": "#ffffff"
|
|
46217
|
+
},
|
|
46218
|
+
"dof-btn-highlight-brown-default": {
|
|
46219
|
+
"backgroundColor": "#86696b"
|
|
46220
|
+
},
|
|
46206
46221
|
"dof-btn-highlight-colmo-default": {
|
|
46207
46222
|
"backgroundColor": "#b35336",
|
|
46208
46223
|
"backgroundColor:active": "#743d2a"
|