@kaiheila/ui-components 0.1.1 → 0.1.2

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/main.css CHANGED
@@ -293,6 +293,14 @@ textarea {
293
293
  opacity: 0.5;
294
294
  background-color: var(--color-primary);
295
295
  }
296
+ .chuanyu-button.type-primary-text {
297
+ background-color: transparent;
298
+ color: var(--color-primary);
299
+ }
300
+ .chuanyu-button.type-primary-text:hover {
301
+ background-color: var(--color-primary);
302
+ color: #fff;
303
+ }
296
304
  .chuanyu-button.type-appprimary {
297
305
  background-color: var(--color-primary);
298
306
  }
@@ -550,7 +558,7 @@ textarea {
550
558
  color: var(--color-error);
551
559
  }
552
560
  .friendship-level.minus {
553
- color: var(--color-link);
561
+ color: var(--text-description-color);
554
562
  }
555
563
  .friendship-level .friendship-item {
556
564
  width: 14px;
@@ -3990,48 +3990,94 @@ var friendship_Friendship = /*#__PURE__*/function (_Component) {
3990
3990
  list.push( /*#__PURE__*/external_react_default.a.createElement("li", {
3991
3991
  key: i,
3992
3992
  className: external_classnames_default()('friendship-item', size)
3993
- }, i < solid ? /*#__PURE__*/external_react_default.a.createElement("svg", {
3994
- width: "24px",
3995
- height: "24px",
3996
- viewBox: "0 0 24 24"
3993
+ }, i < solid ? value > 1000 ? /*#__PURE__*/external_react_default.a.createElement("svg", {
3994
+ width: "16px",
3995
+ height: "16px",
3996
+ viewBox: "0 0 16 16"
3997
3997
  }, /*#__PURE__*/external_react_default.a.createElement("g", {
3998
- id: "\u7EA2\u5FC3\u9009\u4E2D",
3998
+ id: "\u89C4\u8303",
3999
3999
  stroke: "none",
4000
4000
  strokeWidth: "1",
4001
4001
  fill: "none",
4002
4002
  fillRule: "evenodd"
4003
+ }, /*#__PURE__*/external_react_default.a.createElement("g", {
4004
+ id: "Icons",
4005
+ transform: "translate(-1046.000000, -99.000000)"
4006
+ }, /*#__PURE__*/external_react_default.a.createElement("g", {
4007
+ id: "Icon/Status/heart/solid",
4008
+ transform: "translate(1046.000000, 99.000000)"
4003
4009
  }, /*#__PURE__*/external_react_default.a.createElement("rect", {
4004
- id: "\u77E9\u5F62",
4010
+ id: "bg",
4011
+ fill: "#037EF3",
4012
+ opacity: "0",
4005
4013
  x: "0",
4006
4014
  y: "0",
4007
- width: "24",
4008
- height: "24"
4015
+ width: "16",
4016
+ height: "16"
4009
4017
  }), /*#__PURE__*/external_react_default.a.createElement("path", {
4010
- d: "M15.9203385,3 C14.4914227,3 13.1002767,3.49659748 12.0024912,4.39572305 C10.9021101,3.49448232 9.51607264,3.00070714 8.08464375,3 C6.39350076,3 4.7623589,3.69567381 3.60678156,4.91200914 C1.35339706,7.26373663 1.48674159,11.1140068 3.90234268,13.4941695 L11.1958179,20.671852 C11.4113775,20.8840544 11.6980495,21 12.0024997,21 C12.3091722,21 12.5958442,20.8818667 12.8114039,20.671852 L20.1026437,13.4941695 C22.5115867,11.1096272 22.6449226,7.25935705 20.3982049,4.91200914 C19.2368377,3.6946848 17.6167681,3.00293125 15.9203385,3 Z",
4018
+ d: "M7.99938095,4.57885678 L8.13319168,4.45756486 C10.0073078,2.75853096 10.7438561,2.78216485 12.2082694,4.15537999 L12.6080279,4.54397904 L12.9699236,4.91534863 L13.2794189,5.25793962 C14.2224383,6.35843642 14.2726472,7.0766575 13.2353103,8.38627962 L12.8912881,8.79788196 L12.4808448,9.25081043 L12.0028119,9.75090708 L11.1965922,10.5622149 L10.7123012,11.0353495 L10.517758,11.2393604 L10.304014,11.456021 C9.43215895,12.327876 8.82291292,12.8111211 8.17732284,12.8459657 L8.00012712,12.8443065 C7.34522529,12.8914834 6.7540587,12.4848243 5.92747846,11.6841197 L5.69598603,11.456021 C5.54760463,11.3076396 5.41047923,11.1668646 5.28490457,11.0322223 L4.54397904,10.304014 L3.99718814,9.75090708 L3.51915522,9.25081043 L3.10871187,8.79788196 C1.7262391,7.21647896 1.68325974,6.4684861 2.72058106,5.25793962 L3.03007645,4.91534863 L3.39197206,4.54397904 C5.17396461,2.76198649 5.85889099,2.60343708 7.99938095,4.57885678 Z",
4011
4019
  id: "\u8DEF\u5F84",
4012
- fill: "currentColor"
4013
- }))) : /*#__PURE__*/external_react_default.a.createElement("svg", {
4014
- width: "24px",
4015
- height: "24px",
4016
- viewBox: "0 0 24 24"
4020
+ fill: "currentColor",
4021
+ fillRule: "nonzero"
4022
+ }))))) : /*#__PURE__*/external_react_default.a.createElement("svg", {
4023
+ width: "16px",
4024
+ height: "16px",
4025
+ viewBox: "0 0 16 16"
4017
4026
  }, /*#__PURE__*/external_react_default.a.createElement("g", {
4018
- id: "\u7EA2\u5FC3\u672A\u9009\u4E2D",
4027
+ id: "\u89C4\u8303",
4019
4028
  stroke: "none",
4020
4029
  strokeWidth: "1",
4021
4030
  fill: "none",
4022
4031
  fillRule: "evenodd"
4032
+ }, /*#__PURE__*/external_react_default.a.createElement("g", {
4033
+ id: "Icons",
4034
+ transform: "translate(-1118.000000, -99.000000)"
4035
+ }, /*#__PURE__*/external_react_default.a.createElement("g", {
4036
+ id: "Icon/Status/heart/broken",
4037
+ transform: "translate(1118.000000, 99.000000)"
4038
+ }, /*#__PURE__*/external_react_default.a.createElement("rect", {
4039
+ id: "bg",
4040
+ fill: "#037EF3",
4041
+ opacity: "0",
4042
+ x: "0",
4043
+ y: "0",
4044
+ width: "16",
4045
+ height: "16"
4046
+ }), /*#__PURE__*/external_react_default.a.createElement("path", {
4047
+ d: "M12.2082694,4.15537999 L12.6080279,4.54397904 L12.9699236,4.91534863 L13.2794189,5.25793962 C14.2224383,6.35843642 14.2726472,7.0766575 13.2353103,8.38627962 L12.8912881,8.79788196 L12.4808448,9.25081043 L12.0028119,9.75090708 L11.1965922,10.5622149 L10.7123012,11.0353495 L10.517758,11.2393604 L10.304014,11.456021 C9.43215895,12.327876 8.82291292,12.8111211 8.17732284,12.8459657 L8.00012712,12.8443065 C7.7562096,12.8618775 7.52113332,12.8164931 7.27944262,12.7112426 L9.1887964,8.76528954 L8.19777042,6.54752876 L8.89406295,3.8171058 C10.2403668,2.79484939 10.9598065,2.98466662 12.2082694,4.15537999 Z M7.22855341,3.91217049 L6.67678556,6.54752876 L8.01161443,8.76528954 L6.77884966,12.4191104 C6.51787045,12.2323844 6.23944069,11.9863161 5.92747846,11.6841197 L5.69598603,11.456021 L5.28490457,11.0322223 L5.28490457,11.0322223 L4.54397904,10.304014 L3.99718814,9.75090708 L3.51915522,9.25081043 L3.10871187,8.79788196 C1.7262391,7.21647896 1.68325974,6.4684861 2.72058106,5.25793962 L3.03007645,4.91534863 L3.39197206,4.54397904 L3.70116574,4.2411199 C5.04426448,2.95800136 5.76908577,2.75815664 7.22855341,3.91217049 Z",
4048
+ id: "\u5F62\u72B6",
4049
+ fill: "currentColor",
4050
+ fillRule: "nonzero"
4051
+ }))))) : /*#__PURE__*/external_react_default.a.createElement("svg", {
4052
+ width: "16px",
4053
+ height: "16px",
4054
+ viewBox: "0 0 16 16"
4055
+ }, /*#__PURE__*/external_react_default.a.createElement("g", {
4056
+ id: "\u89C4\u8303",
4057
+ stroke: "none",
4058
+ strokeWidth: "1",
4059
+ fill: "none",
4060
+ fillRule: "evenodd"
4061
+ }, /*#__PURE__*/external_react_default.a.createElement("g", {
4062
+ id: "Icons",
4063
+ transform: "translate(-1082.000000, -99.000000)"
4064
+ }, /*#__PURE__*/external_react_default.a.createElement("g", {
4065
+ id: "Icon/Status/heart/outline",
4066
+ transform: "translate(1082.000000, 99.000000)"
4023
4067
  }, /*#__PURE__*/external_react_default.a.createElement("rect", {
4024
- id: "\u77E9\u5F62",
4068
+ id: "bg",
4069
+ fill: "#037EF3",
4070
+ opacity: "0",
4025
4071
  x: "0",
4026
4072
  y: "0",
4027
- width: "24",
4028
- height: "24"
4073
+ width: "16",
4074
+ height: "16"
4029
4075
  }), /*#__PURE__*/external_react_default.a.createElement("path", {
4030
- d: "M15.9203385,3 C17.6167681,3.00293125 19.2368377,3.6946848 20.3982049,4.91200914 C22.5873144,7.19916864 22.5168597,10.9131655 20.2834569,13.3079022 L20.1026437,13.4941695 L12.8114039,20.671852 C12.5958442,20.8818667 12.3091722,21 12.0024997,21 C11.7415424,21 11.4936466,20.9148155 11.2923989,20.7568452 L11.1958179,20.671852 L3.90234268,13.4941695 C1.48674159,11.1140068 1.35339706,7.26373663 3.60678156,4.91200914 C4.7623589,3.69567381 6.39350076,3 8.08464375,3 C9.51607264,3.00070714 10.9021101,3.49448232 12.0024912,4.39572305 C13.1002767,3.49659748 14.4914227,3 15.9203385,3 Z M15.9177467,4.49999776 C14.9216186,4.49999776 13.9456656,4.82055346 13.1484341,5.40468267 L12.9529414,5.55617317 L12.0024969,6.33462121 L11.0520479,5.55617876 C10.2200179,4.87472459 9.1696585,4.50053619 8.08464375,4.49999776 C6.80284729,4.49999776 5.56539499,5.02821757 4.68984538,5.94978211 C3.06608901,7.64440304 3.10964945,10.4308594 4.78705344,12.2519087 L4.95448218,12.4250565 L12.003,19.361 L19.0473964,12.4281239 C20.8271369,10.6664108 20.9771302,7.87566913 19.4644715,6.11457645 L19.3128936,5.94743153 C18.4931808,5.08822316 17.368232,4.57393379 16.1745106,4.50737083 L15.9177467,4.49999776 Z",
4076
+ d: "M8.0802226,4.04979046 L8,4.118 L7.86075974,4.00097345 C6.12373457,2.56540768 5.15265054,2.74117731 3.42851078,4.46531707 L3.09735899,4.80506626 L2.8032991,5.12993213 C1.63478956,6.49325784 1.73600509,7.49997414 3.14611708,9.11299348 L3.52263625,9.5286286 L3.96374543,9.99040483 L4.46288783,10.4954334 L5.13583834,11.1569206 L5.30038372,11.3300961 L5.71361083,11.743093 C6.64483396,12.6451949 7.27168184,13.0139044 8.04322465,12.9583251 L8.15397256,12.9613428 C8.87353865,12.9236281 9.43723102,12.5680195 10.3067109,11.7232537 L10.6931114,11.3368037 L10.875291,11.1458835 L11.2962249,10.735172 L12.0281272,9.99874377 L12.4664842,9.54031784 L12.8467628,9.12099298 L13.1721504,8.73243533 C14.2692576,7.34768826 14.2677221,6.37948971 13.2070849,5.14173375 L12.918155,4.82160024 L12.576935,4.47083362 L12.1978593,4.10216854 C10.7143721,2.71106739 9.7267848,2.66977457 8.0802226,4.04979046 Z M7.5925212,5.361896 C7.82082969,5.5725978 8.17221666,5.57417033 8.40240184,5.36552038 L8.82341891,4.98887715 L9.09191987,4.76298239 C9.89627629,4.11291656 10.2879228,4.08015429 10.9311373,4.58664986 L11.1433948,4.76443027 L11.3692259,4.97006857 L11.7290086,5.31980771 L12.0432214,5.64256128 L12.3062532,5.93435919 C12.9769116,6.71732917 12.9774328,7.04593881 12.2414484,7.97510788 L11.9417882,8.33331009 L11.5881569,8.72283017 L11.1688068,9.16122792 L10.4513365,9.88306598 L10.0217792,10.3026359 L9.83176226,10.5013554 L9.6464833,10.6890395 L9.49639801,10.837379 L9.22329663,11.0962289 C8.71113498,11.5651291 8.3950153,11.7477892 8.12725366,11.7622412 L8.0057324,11.7599021 C7.65689771,11.7831871 7.30589059,11.5930452 6.6973227,11.0230964 L6.34750721,10.6830336 L6.10292892,10.4336458 C6.06545493,10.3945516 6.02957111,10.3566258 5.99519593,10.3197684 L5.31015691,9.645692 L4.82416263,9.15399553 L4.40096359,8.71114093 L4.04244413,8.31519455 L3.79415629,8.02346816 C3.00375215,7.06298642 3.03303559,6.70572086 3.70413083,5.92255757 L3.97229265,5.6260273 L4.28248466,5.30832865 L4.56371039,5.03148587 L4.81614123,4.79562015 C5.69507591,4.00607509 6.0947157,4.04572723 7.13048327,4.94566818 L7.42957513,5.21245945 C7.48233175,5.26048737 7.53661219,5.31029857 7.5925212,5.361896 Z",
4031
4077
  id: "\u8DEF\u5F84",
4032
4078
  fill: "currentColor",
4033
4079
  fillRule: "nonzero"
4034
- })))));
4080
+ })))))));
4035
4081
  }
4036
4082
 
4037
4083
  return /*#__PURE__*/external_react_default.a.createElement("ul", {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kaiheila/ui-components",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "description": "开黑啦 UI Components",
5
5
  "main": "dist/ui-components.js",
6
6
  "scripts": {