@uzum-tech/ui 1.0.2 → 1.0.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/dist/index.js +24 -24
- package/dist/index.prod.js +1 -1
- package/es/button/src/Button.js +18 -10
- package/es/version.d.ts +1 -1
- package/es/version.js +1 -1
- package/lib/button/src/Button.js +18 -10
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/package.json +2 -1
- package/web-types.json +1 -1
package/dist/index.js
CHANGED
|
@@ -47942,29 +47942,6 @@
|
|
|
47942
47942
|
"--u-text-color-disabled": textColor || (color ? self.textColorDisabledPrimary : self[createKey("textColorDisabled", mergedType)])
|
|
47943
47943
|
};
|
|
47944
47944
|
}
|
|
47945
|
-
let decorationProps = {
|
|
47946
|
-
...colorProps,
|
|
47947
|
-
"text-decoration-line": "none",
|
|
47948
|
-
"text-underline-offset": "none",
|
|
47949
|
-
"line-height": "1",
|
|
47950
|
-
"--u-font-size": "14px",
|
|
47951
|
-
"--u-font-weight": fontWeightStrong
|
|
47952
|
-
};
|
|
47953
|
-
if (props.tag === "a") {
|
|
47954
|
-
decorationProps = {
|
|
47955
|
-
...colorProps,
|
|
47956
|
-
"text-decoration-line": "underline",
|
|
47957
|
-
"text-underline-offset": "6px",
|
|
47958
|
-
"--u-font-size": "16px",
|
|
47959
|
-
"line-height": "24px",
|
|
47960
|
-
"--u-font-weight": fontWeightStrong,
|
|
47961
|
-
"--u-text-color": typeIsTertiary ? "#101010" : self.colorPrimary,
|
|
47962
|
-
"--u-text-color-hover": typeIsTertiary ? "#808080" : self.colorHoverPrimary,
|
|
47963
|
-
"--u-text-color-pressed": typeIsTertiary ? self.textTertiary : "#BBA2FD",
|
|
47964
|
-
"--u-text-color-focus": typeIsTertiary ? self.textTertiary : "#BBA2FD",
|
|
47965
|
-
"--u-text-color-disabled": typeIsTertiary ? "#E7E8EA" : "#EAE2FF"
|
|
47966
|
-
};
|
|
47967
|
-
}
|
|
47968
47945
|
let borderProps = {
|
|
47969
47946
|
"--u-border": "initial",
|
|
47970
47947
|
"--u-border-hover": "initial",
|
|
@@ -47999,6 +47976,29 @@
|
|
|
47999
47976
|
[createKey("iconMargin", size)]: iconMargin,
|
|
48000
47977
|
waveOpacity
|
|
48001
47978
|
} = self;
|
|
47979
|
+
let decorationProps = {
|
|
47980
|
+
...colorProps,
|
|
47981
|
+
"text-decoration-line": "none",
|
|
47982
|
+
"text-underline-offset": "none",
|
|
47983
|
+
"line-height": "1",
|
|
47984
|
+
"--u-font-size": fontSize,
|
|
47985
|
+
"--u-font-weight": fontWeightStrong
|
|
47986
|
+
};
|
|
47987
|
+
if (props.tag === "a") {
|
|
47988
|
+
decorationProps = {
|
|
47989
|
+
...colorProps,
|
|
47990
|
+
"text-decoration-line": "underline",
|
|
47991
|
+
"text-underline-offset": "6px",
|
|
47992
|
+
"--u-font-size": fontSize,
|
|
47993
|
+
"line-height": "24px",
|
|
47994
|
+
"--u-font-weight": fontWeightStrong,
|
|
47995
|
+
"--u-text-color": typeIsTertiary ? "#101010" : self.colorPrimary,
|
|
47996
|
+
"--u-text-color-hover": typeIsTertiary ? "#808080" : self.colorHoverPrimary,
|
|
47997
|
+
"--u-text-color-pressed": typeIsTertiary ? self.textTertiary : "#BBA2FD",
|
|
47998
|
+
"--u-text-color-focus": typeIsTertiary ? self.textTertiary : "#BBA2FD",
|
|
47999
|
+
"--u-text-color-disabled": typeIsTertiary ? "#E7E8EA" : "#EAE2FF"
|
|
48000
|
+
};
|
|
48001
|
+
}
|
|
48002
48002
|
const sizeProps = {
|
|
48003
48003
|
"--u-width": circle && !text ? height : "initial",
|
|
48004
48004
|
"--u-height": text ? "initial" : height,
|
|
@@ -106402,7 +106402,7 @@
|
|
|
106402
106402
|
watermarkProps: watermarkProps
|
|
106403
106403
|
});
|
|
106404
106404
|
|
|
106405
|
-
var version = "1.0.
|
|
106405
|
+
var version = "1.0.3";
|
|
106406
106406
|
|
|
106407
106407
|
function create({
|
|
106408
106408
|
componentPrefix = "U",
|