@lanaco/lnc-react-ui 3.6.0 → 3.7.0
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/lib/index.esm.js +28 -15
- package/lib/index.js +28 -15
- package/package.json +1 -1
package/lib/index.esm.js
CHANGED
|
@@ -3720,12 +3720,14 @@ var lanaco_light = {
|
|
|
3720
3720
|
enabled: {
|
|
3721
3721
|
text: 500,
|
|
3722
3722
|
line: 300,
|
|
3723
|
-
fontWeight: 700
|
|
3723
|
+
fontWeight: 700,
|
|
3724
|
+
lineHeight: "2px"
|
|
3724
3725
|
},
|
|
3725
3726
|
hover: {
|
|
3726
3727
|
text: 500,
|
|
3727
3728
|
line: 300,
|
|
3728
|
-
fontWeight: 700
|
|
3729
|
+
fontWeight: 700,
|
|
3730
|
+
lineHeight: "1px"
|
|
3729
3731
|
},
|
|
3730
3732
|
active: {
|
|
3731
3733
|
text: 500,
|
|
@@ -3957,14 +3959,16 @@ var lanaco_light = {
|
|
|
3957
3959
|
backgroundOpacity: 0,
|
|
3958
3960
|
text: 500,
|
|
3959
3961
|
line: 200,
|
|
3960
|
-
fontWeight: 700
|
|
3962
|
+
fontWeight: 700,
|
|
3963
|
+
lineHeight: "2px"
|
|
3961
3964
|
},
|
|
3962
3965
|
hover: {
|
|
3963
3966
|
background: 0,
|
|
3964
3967
|
backgroundOpacity: 0,
|
|
3965
3968
|
text: 500,
|
|
3966
3969
|
line: 200,
|
|
3967
|
-
fontWeight: 700
|
|
3970
|
+
fontWeight: 700,
|
|
3971
|
+
lineHeight: "1px"
|
|
3968
3972
|
},
|
|
3969
3973
|
active: {
|
|
3970
3974
|
background: 0,
|
|
@@ -7122,12 +7126,14 @@ var lanaco_dark = {
|
|
|
7122
7126
|
enabled: {
|
|
7123
7127
|
text: 400,
|
|
7124
7128
|
line: 700,
|
|
7125
|
-
fontWeight: 700
|
|
7129
|
+
fontWeight: 700,
|
|
7130
|
+
lineHeight: "2px"
|
|
7126
7131
|
},
|
|
7127
7132
|
hover: {
|
|
7128
7133
|
text: 400,
|
|
7129
7134
|
line: 700,
|
|
7130
|
-
fontWeight: 700
|
|
7135
|
+
fontWeight: 700,
|
|
7136
|
+
lineHeight: "1px"
|
|
7131
7137
|
},
|
|
7132
7138
|
active: {
|
|
7133
7139
|
text: 400,
|
|
@@ -7357,14 +7363,16 @@ var lanaco_dark = {
|
|
|
7357
7363
|
backgroundOpacity: 0,
|
|
7358
7364
|
text: 300,
|
|
7359
7365
|
line: 700,
|
|
7360
|
-
fontWeight: 700
|
|
7366
|
+
fontWeight: 700,
|
|
7367
|
+
lineHeight: "2px"
|
|
7361
7368
|
},
|
|
7362
7369
|
hover: {
|
|
7363
7370
|
background: 700,
|
|
7364
7371
|
backgroundOpacity: 0,
|
|
7365
7372
|
text: 300,
|
|
7366
7373
|
line: 200,
|
|
7367
|
-
fontWeight: 700
|
|
7374
|
+
fontWeight: 700,
|
|
7375
|
+
lineHeight: "1px"
|
|
7368
7376
|
},
|
|
7369
7377
|
active: {
|
|
7370
7378
|
background: 800,
|
|
@@ -10508,11 +10516,14 @@ var lanaco_e_commerce = {
|
|
|
10508
10516
|
enabled: {
|
|
10509
10517
|
text: 500,
|
|
10510
10518
|
line: 300,
|
|
10519
|
+
lineHeight: "2px",
|
|
10520
|
+
lineRadius: "0",
|
|
10511
10521
|
fontWeight: 700
|
|
10512
10522
|
},
|
|
10513
10523
|
hover: {
|
|
10514
10524
|
text: 500,
|
|
10515
10525
|
line: 300,
|
|
10526
|
+
lineHeight: "1px",
|
|
10516
10527
|
fontWeight: 700
|
|
10517
10528
|
},
|
|
10518
10529
|
active: {
|
|
@@ -10745,14 +10756,16 @@ var lanaco_e_commerce = {
|
|
|
10745
10756
|
backgroundOpacity: 0,
|
|
10746
10757
|
text: 500,
|
|
10747
10758
|
line: 200,
|
|
10748
|
-
fontWeight: 700
|
|
10759
|
+
fontWeight: 700,
|
|
10760
|
+
lineHeight: "2px"
|
|
10749
10761
|
},
|
|
10750
10762
|
hover: {
|
|
10751
10763
|
background: 0,
|
|
10752
10764
|
backgroundOpacity: 0,
|
|
10753
10765
|
text: 500,
|
|
10754
10766
|
line: 200,
|
|
10755
|
-
fontWeight: 700
|
|
10767
|
+
fontWeight: 700,
|
|
10768
|
+
lineHeight: "1px"
|
|
10756
10769
|
},
|
|
10757
10770
|
active: {
|
|
10758
10771
|
background: 0,
|
|
@@ -53781,7 +53794,7 @@ Dropdown.propTypes = {
|
|
|
53781
53794
|
openMenuOnClick: PropTypes.bool,
|
|
53782
53795
|
//----
|
|
53783
53796
|
autoFocus: PropTypes.bool,
|
|
53784
|
-
placeholder: PropTypes.
|
|
53797
|
+
placeholder: PropTypes.any,
|
|
53785
53798
|
noOptionsMessage: PropTypes.string,
|
|
53786
53799
|
menuIsOpen: PropTypes.bool,
|
|
53787
53800
|
/**
|
|
@@ -78008,7 +78021,7 @@ DropdownLookup.propTypes = {
|
|
|
78008
78021
|
openMenuOnClick: PropTypes.bool,
|
|
78009
78022
|
//----
|
|
78010
78023
|
autoFocus: PropTypes.bool,
|
|
78011
|
-
placeholder: PropTypes.
|
|
78024
|
+
placeholder: PropTypes.any,
|
|
78012
78025
|
noOptionsMessage: PropTypes.string,
|
|
78013
78026
|
menuIsOpen: PropTypes.bool,
|
|
78014
78027
|
/**
|
|
@@ -78312,7 +78325,7 @@ MultiSelectDropdown.propTypes = {
|
|
|
78312
78325
|
openMenuOnClick: PropTypes.bool,
|
|
78313
78326
|
//----
|
|
78314
78327
|
autoFocus: PropTypes.bool,
|
|
78315
|
-
placeholder: PropTypes.
|
|
78328
|
+
placeholder: PropTypes.any,
|
|
78316
78329
|
noOptionsMessage: PropTypes.string,
|
|
78317
78330
|
menuIsOpen: PropTypes.bool,
|
|
78318
78331
|
/**
|
|
@@ -78636,7 +78649,7 @@ MultiSelectDropdownLookup.propTypes = {
|
|
|
78636
78649
|
openMenuOnClick: PropTypes.bool,
|
|
78637
78650
|
//----
|
|
78638
78651
|
autoFocus: PropTypes.bool,
|
|
78639
|
-
placeholder: PropTypes.
|
|
78652
|
+
placeholder: PropTypes.any,
|
|
78640
78653
|
noOptionsMessage: PropTypes.string,
|
|
78641
78654
|
menuIsOpen: PropTypes.bool,
|
|
78642
78655
|
/**
|
|
@@ -81134,7 +81147,7 @@ var getBorderRadius = function getBorderRadius(theme, type, first, last) {
|
|
|
81134
81147
|
};
|
|
81135
81148
|
var getBottomLine = function getBottomLine(theme, type, active, disabled, color, state) {
|
|
81136
81149
|
if (type == "pill") return;
|
|
81137
|
-
return "border-bottom: ".concat(!disabled && (active || state == "hover") ? "
|
|
81150
|
+
return "border-bottom: ".concat(!disabled && (active || state == "hover") ? theme.components[type === "regular" ? "TabRegular" : "TabUnderline"]["default"].enabled.lineHeight + "" : theme.components[type === "regular" ? "TabRegular" : "TabUnderline"]["default"].hover.lineHeight + "", " solid ").concat(getColorRgbaValue(theme, getTypeName(type), color, active && !disabled ? "active" : disabled ? "enabled" : state, "line"));
|
|
81138
81151
|
};
|
|
81139
81152
|
var TabItem = /*#__PURE__*/React__default.forwardRef(function (props, ref) {
|
|
81140
81153
|
var type = props.type,
|
package/lib/index.js
CHANGED
|
@@ -3769,12 +3769,14 @@ var lanaco_light = {
|
|
|
3769
3769
|
enabled: {
|
|
3770
3770
|
text: 500,
|
|
3771
3771
|
line: 300,
|
|
3772
|
-
fontWeight: 700
|
|
3772
|
+
fontWeight: 700,
|
|
3773
|
+
lineHeight: "2px"
|
|
3773
3774
|
},
|
|
3774
3775
|
hover: {
|
|
3775
3776
|
text: 500,
|
|
3776
3777
|
line: 300,
|
|
3777
|
-
fontWeight: 700
|
|
3778
|
+
fontWeight: 700,
|
|
3779
|
+
lineHeight: "1px"
|
|
3778
3780
|
},
|
|
3779
3781
|
active: {
|
|
3780
3782
|
text: 500,
|
|
@@ -4006,14 +4008,16 @@ var lanaco_light = {
|
|
|
4006
4008
|
backgroundOpacity: 0,
|
|
4007
4009
|
text: 500,
|
|
4008
4010
|
line: 200,
|
|
4009
|
-
fontWeight: 700
|
|
4011
|
+
fontWeight: 700,
|
|
4012
|
+
lineHeight: "2px"
|
|
4010
4013
|
},
|
|
4011
4014
|
hover: {
|
|
4012
4015
|
background: 0,
|
|
4013
4016
|
backgroundOpacity: 0,
|
|
4014
4017
|
text: 500,
|
|
4015
4018
|
line: 200,
|
|
4016
|
-
fontWeight: 700
|
|
4019
|
+
fontWeight: 700,
|
|
4020
|
+
lineHeight: "1px"
|
|
4017
4021
|
},
|
|
4018
4022
|
active: {
|
|
4019
4023
|
background: 0,
|
|
@@ -7171,12 +7175,14 @@ var lanaco_dark = {
|
|
|
7171
7175
|
enabled: {
|
|
7172
7176
|
text: 400,
|
|
7173
7177
|
line: 700,
|
|
7174
|
-
fontWeight: 700
|
|
7178
|
+
fontWeight: 700,
|
|
7179
|
+
lineHeight: "2px"
|
|
7175
7180
|
},
|
|
7176
7181
|
hover: {
|
|
7177
7182
|
text: 400,
|
|
7178
7183
|
line: 700,
|
|
7179
|
-
fontWeight: 700
|
|
7184
|
+
fontWeight: 700,
|
|
7185
|
+
lineHeight: "1px"
|
|
7180
7186
|
},
|
|
7181
7187
|
active: {
|
|
7182
7188
|
text: 400,
|
|
@@ -7406,14 +7412,16 @@ var lanaco_dark = {
|
|
|
7406
7412
|
backgroundOpacity: 0,
|
|
7407
7413
|
text: 300,
|
|
7408
7414
|
line: 700,
|
|
7409
|
-
fontWeight: 700
|
|
7415
|
+
fontWeight: 700,
|
|
7416
|
+
lineHeight: "2px"
|
|
7410
7417
|
},
|
|
7411
7418
|
hover: {
|
|
7412
7419
|
background: 700,
|
|
7413
7420
|
backgroundOpacity: 0,
|
|
7414
7421
|
text: 300,
|
|
7415
7422
|
line: 200,
|
|
7416
|
-
fontWeight: 700
|
|
7423
|
+
fontWeight: 700,
|
|
7424
|
+
lineHeight: "1px"
|
|
7417
7425
|
},
|
|
7418
7426
|
active: {
|
|
7419
7427
|
background: 800,
|
|
@@ -10557,11 +10565,14 @@ var lanaco_e_commerce = {
|
|
|
10557
10565
|
enabled: {
|
|
10558
10566
|
text: 500,
|
|
10559
10567
|
line: 300,
|
|
10568
|
+
lineHeight: "2px",
|
|
10569
|
+
lineRadius: "0",
|
|
10560
10570
|
fontWeight: 700
|
|
10561
10571
|
},
|
|
10562
10572
|
hover: {
|
|
10563
10573
|
text: 500,
|
|
10564
10574
|
line: 300,
|
|
10575
|
+
lineHeight: "1px",
|
|
10565
10576
|
fontWeight: 700
|
|
10566
10577
|
},
|
|
10567
10578
|
active: {
|
|
@@ -10794,14 +10805,16 @@ var lanaco_e_commerce = {
|
|
|
10794
10805
|
backgroundOpacity: 0,
|
|
10795
10806
|
text: 500,
|
|
10796
10807
|
line: 200,
|
|
10797
|
-
fontWeight: 700
|
|
10808
|
+
fontWeight: 700,
|
|
10809
|
+
lineHeight: "2px"
|
|
10798
10810
|
},
|
|
10799
10811
|
hover: {
|
|
10800
10812
|
background: 0,
|
|
10801
10813
|
backgroundOpacity: 0,
|
|
10802
10814
|
text: 500,
|
|
10803
10815
|
line: 200,
|
|
10804
|
-
fontWeight: 700
|
|
10816
|
+
fontWeight: 700,
|
|
10817
|
+
lineHeight: "1px"
|
|
10805
10818
|
},
|
|
10806
10819
|
active: {
|
|
10807
10820
|
background: 0,
|
|
@@ -53830,7 +53843,7 @@ Dropdown.propTypes = {
|
|
|
53830
53843
|
openMenuOnClick: PropTypes__default["default"].bool,
|
|
53831
53844
|
//----
|
|
53832
53845
|
autoFocus: PropTypes__default["default"].bool,
|
|
53833
|
-
placeholder: PropTypes__default["default"].
|
|
53846
|
+
placeholder: PropTypes__default["default"].any,
|
|
53834
53847
|
noOptionsMessage: PropTypes__default["default"].string,
|
|
53835
53848
|
menuIsOpen: PropTypes__default["default"].bool,
|
|
53836
53849
|
/**
|
|
@@ -78057,7 +78070,7 @@ DropdownLookup.propTypes = {
|
|
|
78057
78070
|
openMenuOnClick: PropTypes__default["default"].bool,
|
|
78058
78071
|
//----
|
|
78059
78072
|
autoFocus: PropTypes__default["default"].bool,
|
|
78060
|
-
placeholder: PropTypes__default["default"].
|
|
78073
|
+
placeholder: PropTypes__default["default"].any,
|
|
78061
78074
|
noOptionsMessage: PropTypes__default["default"].string,
|
|
78062
78075
|
menuIsOpen: PropTypes__default["default"].bool,
|
|
78063
78076
|
/**
|
|
@@ -78361,7 +78374,7 @@ MultiSelectDropdown.propTypes = {
|
|
|
78361
78374
|
openMenuOnClick: PropTypes__default["default"].bool,
|
|
78362
78375
|
//----
|
|
78363
78376
|
autoFocus: PropTypes__default["default"].bool,
|
|
78364
|
-
placeholder: PropTypes__default["default"].
|
|
78377
|
+
placeholder: PropTypes__default["default"].any,
|
|
78365
78378
|
noOptionsMessage: PropTypes__default["default"].string,
|
|
78366
78379
|
menuIsOpen: PropTypes__default["default"].bool,
|
|
78367
78380
|
/**
|
|
@@ -78685,7 +78698,7 @@ MultiSelectDropdownLookup.propTypes = {
|
|
|
78685
78698
|
openMenuOnClick: PropTypes__default["default"].bool,
|
|
78686
78699
|
//----
|
|
78687
78700
|
autoFocus: PropTypes__default["default"].bool,
|
|
78688
|
-
placeholder: PropTypes__default["default"].
|
|
78701
|
+
placeholder: PropTypes__default["default"].any,
|
|
78689
78702
|
noOptionsMessage: PropTypes__default["default"].string,
|
|
78690
78703
|
menuIsOpen: PropTypes__default["default"].bool,
|
|
78691
78704
|
/**
|
|
@@ -81183,7 +81196,7 @@ var getBorderRadius = function getBorderRadius(theme, type, first, last) {
|
|
|
81183
81196
|
};
|
|
81184
81197
|
var getBottomLine = function getBottomLine(theme, type, active, disabled, color, state) {
|
|
81185
81198
|
if (type == "pill") return;
|
|
81186
|
-
return "border-bottom: ".concat(!disabled && (active || state == "hover") ? "
|
|
81199
|
+
return "border-bottom: ".concat(!disabled && (active || state == "hover") ? theme.components[type === "regular" ? "TabRegular" : "TabUnderline"]["default"].enabled.lineHeight + "" : theme.components[type === "regular" ? "TabRegular" : "TabUnderline"]["default"].hover.lineHeight + "", " solid ").concat(getColorRgbaValue(theme, getTypeName(type), color, active && !disabled ? "active" : disabled ? "enabled" : state, "line"));
|
|
81187
81200
|
};
|
|
81188
81201
|
var TabItem = /*#__PURE__*/React__default["default"].forwardRef(function (props, ref) {
|
|
81189
81202
|
var type = props.type,
|