ydb-components-material 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.
Files changed (36) hide show
  1. package/build/docs/404.html +3 -3
  2. package/build/docs/_demos/:uuid +3 -3
  3. package/build/docs/colorful-button.html +3 -3
  4. package/build/docs/colorful-input.html +3 -3
  5. package/build/docs/index.html +3 -3
  6. package/build/docs/static/fail.2b5f9cdc.svg +1 -0
  7. package/build/docs/umi.0ce4dded.js +1 -0
  8. package/build/docs/{umi.80818792.css → umi.e1bd8919.css} +1 -1
  9. package/build/docs/~demos/:uuid.html +3 -3
  10. package/build/docs/~demos/colorful-button-demo.html +3 -3
  11. package/build/docs/~demos/colorful-input-demo.html +3 -3
  12. package/build/lowcode/assets-daily.json +11 -11
  13. package/build/lowcode/assets-dev.json +2 -2
  14. package/build/lowcode/assets-prod.json +11 -11
  15. package/build/lowcode/index.js +1 -1
  16. package/build/lowcode/meta.js +1 -1
  17. package/build/lowcode/preview.js +9 -9
  18. package/build/lowcode/render/default/view.css +1 -1
  19. package/build/lowcode/render/default/view.js +1 -1
  20. package/build/lowcode/view.css +1 -1
  21. package/build/lowcode/view.js +1 -1
  22. package/dist/BizComps.css +1 -1
  23. package/dist/BizComps.js +1 -1
  24. package/dist/BizComps.js.map +1 -1
  25. package/es/components/check-res/icons/fail.svg +1 -0
  26. package/es/components/check-res/icons/success.svg +1 -0
  27. package/es/components/check-res/index.js +6 -9
  28. package/es/components/check-res/index.scss +4 -0
  29. package/lib/components/check-res/icons/fail.svg +1 -0
  30. package/lib/components/check-res/icons/success.svg +1 -0
  31. package/lib/components/check-res/index.js +6 -9
  32. package/lib/components/check-res/index.scss +4 -0
  33. package/lowcode_es/meta.js +1 -1
  34. package/lowcode_lib/meta.js +1 -1
  35. package/package.json +3 -3
  36. package/build/docs/umi.d539b2d2.js +0 -1
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" fill="none" version="1.1" width="16" height="16" viewBox="0 0 16 16"><g><g><rect x="0" y="0" width="16" height="16" rx="8" fill="#FF6237" fill-opacity="1"/></g><g><path d="M11.749754926867677,5.000149726867676Q11.749754426867675,5.149304036867676,11.692675626867675,5.287104726867676Q11.635596726867675,5.424905326867676,11.530128926867675,5.530373526867676L11.530235326867675,5.530479626867676L9.060565426867676,8.000149726867676L11.530235726867677,10.469820026867676L11.530129426867676,10.469926326867675Q11.635597726867676,10.575394626867677,11.692677026867676,10.713195326867677Q11.749755826867677,10.850996026867676,11.749755826867677,11.000150226867675Q11.749755826867677,11.074003726867677,11.735347226867676,11.146438126867675Q11.720939126867677,11.218872526867676,11.692676526867675,11.287104626867675Q11.664413426867675,11.355336226867676,11.623382526867676,11.416743326867675Q11.582351726867675,11.478150326867675,11.530129426867676,11.530373526867676Q11.477906226867676,11.582595826867676,11.416499126867675,11.623626726867677Q11.355092026867677,11.664657626867676,11.286860026867675,11.692920726867676Q11.218627926867676,11.721183726867675,11.146193526867677,11.735591926867675Q11.073759126867674,11.750000026867676,10.999905626867676,11.750000026867676Q10.850750926867676,11.750000026867676,10.712950226867676,11.692920726867676Q10.575149526867676,11.635841826867676,10.469681726867677,11.530374026867676L10.469575426867676,11.530480426867676L7.999905626867676,9.060810126867676L5.530235726867676,11.530480426867676L5.530129426867676,11.530374026867676Q5.424661126867676,11.635841826867676,5.286860626867676,11.692920726867676Q5.149059886867676,11.750000026867676,4.999905586867676,11.750000026867676Q4.9260517368676755,11.750000026867676,4.853617076867676,11.735591926867675Q4.781182346867675,11.721183726867675,4.712950346867676,11.692920726867676Q4.644718346867676,11.664658026867675,4.583311196867676,11.623626726867677Q4.521904016867675,11.582596326867677,4.469681526867676,11.530374026867676Q4.417459006867675,11.478151326867675,4.376428056867676,11.416743726867676Q4.335397094867676,11.355336226867676,4.307134478867676,11.287104626867675Q4.2788718618676755,11.218872526867676,4.264463706867676,11.146438126867675Q4.250055551528676,11.074003726867677,4.250055551528676,11.000150226867675Q4.250055551528676,10.850996026867676,4.307134523867676,10.713195326867677Q4.364213496867675,10.575394626867677,4.469681676867676,10.469926326867675L4.469575466867676,10.469820026867676L6.939245426867676,8.000149726867676L4.469575886867676,5.530479626867676L4.4696822168676755,5.530373526867676Q4.364214106867676,5.424905326867676,4.307135186867676,5.287104726867676Q4.250056266791676,5.149304036867676,4.250056266784676,5.000149726867676Q4.250056266784676,4.9262959368676755,4.264464417867676,4.853861216867676Q4.278872567867676,4.781426546867676,4.307135175867676,4.713194516867675Q4.335397779867676,4.6449624868676755,4.376428726867676,4.583555336867676Q4.417459676867676,4.522148166867676,4.469682176867676,4.4699256868676756Q4.521904676867676,4.417703166867676,4.583311826867676,4.376672196867676Q4.644718946867676,4.335641242867676,4.712950916867676,4.307378623867676Q4.781182886867676,4.279116004867676,4.853617606867676,4.264707848867676Q4.926052276867676,4.250299692157676,4.999906066867676,4.250299692157676Q5.149060366867676,4.250299692157676,5.286861026867676,4.307378612867676Q5.424661726867676,4.3644575368676755,5.530129926867676,4.469925646867676L5.530235726867676,4.469819726867676L7.999905626867676,6.939489626867676L10.469575426867676,4.469819726867676L10.469681226867676,4.469925646867676Q10.575149026867676,4.3644575368676755,10.712949726867675,4.307378612867676Q10.850750426867677,4.250299692157676,10.999905126867676,4.250299692157676Q11.073758626867676,4.250299692157676,11.146193026867675,4.264707848867676Q11.218627426867677,4.279116002867676,11.286859526867676,4.307378619867675Q11.355091126867677,4.335641234867675,11.416498226867676,4.376672196867676Q11.477905226867676,4.417703146867676,11.530128526867676,4.469925666867676Q11.582350726867677,4.522148166867676,11.623381626867676,4.583555336867676Q11.664412526867675,4.6449624868676755,11.692675126867677,4.713194486867676Q11.720937726867675,4.781426486867676,11.735346326867676,4.853861216867676Q11.749754426867675,4.9262959368676755,11.749754926867677,5.000149726867676Z" fill-rule="evenodd" fill="#FFFFFF" fill-opacity="1"/></g></g></svg>
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" fill="none" version="1.1" width="16" height="16" viewBox="0 0 16 16"><g><g><rect x="0" y="0" width="16" height="16" rx="8" fill="#15BC83" fill-opacity="1"/></g><g><path d="M12.930224390734864,6.1302238146325685Q13.035691290734864,6.0247556546325685,13.092770590734863,5.886954964632569Q13.149849890734863,5.749154284632568,13.149849890734863,5.599999904632568Q13.149849890734863,5.526146121632569,13.135440790734863,5.453711424632568Q13.121031790734863,5.381276724632569,13.092769590734862,5.313044724632569Q13.064507490734863,5.244812724632569,13.023476590734862,5.183405574632569Q12.982445690734863,5.121998394632568,12.930223490734864,5.069775874632568Q12.878001190734864,5.017553384632569,12.816594090734863,4.976522444632568Q12.755186590734862,4.935491444632568,12.686954490734863,4.907228824632568Q12.618722890734864,4.878966214632569,12.546288490734863,4.864558104632568Q12.473854090734864,4.850149874632568,12.400000090734864,4.850149874632568Q12.250844990734862,4.850149874632568,12.113043790734864,4.9072289446325685Q11.975243590734863,4.964307964632568,11.869775790734863,5.0697762346325685L11.869669390734863,5.0696698446325685L7.200000090734863,9.739339804632568L5.330330250734863,7.8696701046325686L5.330224270734863,7.869776004632568Q5.224756180734864,7.764308004632568,5.0869554307348634,7.707228904632569Q4.949154660734863,7.650150104632568,4.800000190734863,7.650150104632568Q4.726146407734864,7.650150104632568,4.653711710734863,7.664558204632568Q4.581277010734864,7.678966504632569,4.513045010734864,7.707228904632569Q4.444813010734864,7.735491504632568,4.383405860734864,7.776522404632568Q4.321998680734863,7.817553304632568,4.269776160734863,7.869775804632568Q4.217553670734864,7.921998304632568,4.176522730734863,7.983405604632568Q4.135491730734863,8.044812704632568,4.107229110734863,8.113044704632568Q4.078966500734864,8.181276804632569,4.064558390734863,8.253711504632568Q4.050150160734863,8.326146104632569,4.050150160734863,8.400000104632568Q4.050150210734863,8.549154304632568,4.107229110734863,8.68695500463257Q4.164308070734863,8.824755704632569,4.269776110734863,8.930224204632568L4.2696701307348635,8.930330004632568L6.528248890734863,11.188909004632569Q6.806497590734864,11.467157804632567,7.200000290734863,11.467157804632567Q7.593502490734863,11.467157804632567,7.871751790734863,11.188909004632569L12.930330290734863,6.130329964632568L12.930224390734864,6.1302238146325685Z" fill-rule="evenodd" fill="#FFFFFF" fill-opacity="1"/></g></g></svg>
@@ -1,5 +1,6 @@
1
- import _Icon from "@alifd/next/es/icon";
2
1
  import * as React from 'react';
2
+ import SuccessIcon from "./icons/success.svg";
3
+ import FailIcon from "./icons/fail.svg";
3
4
  import "./index.scss";
4
5
  var CheckRes = function CheckRes(_ref) {
5
6
  var res = _ref.res,
@@ -17,7 +18,7 @@ var CheckRes = function CheckRes(_ref) {
17
18
  } else if (res === true) {
18
19
  color = '#15BC83';
19
20
  }
20
- var iconType = res ? 'success-filling' : 'delete-filling';
21
+ var icon = res ? SuccessIcon : FailIcon;
21
22
  var borderBottom = hasBorderBottom ? '1px solid #EEEEEE' : 'none';
22
23
  return /*#__PURE__*/React.createElement("div", {
23
24
  className: "check_res",
@@ -28,13 +29,9 @@ var CheckRes = function CheckRes(_ref) {
28
29
  className: "name"
29
30
  }, name), /*#__PURE__*/React.createElement("div", {
30
31
  className: "res"
31
- }, res !== undefined && /*#__PURE__*/React.createElement(_Icon, {
32
- size: "small",
33
- style: {
34
- color: color,
35
- marginRight: '6px'
36
- },
37
- type: iconType
32
+ }, res !== undefined && /*#__PURE__*/React.createElement("img", {
33
+ className: "icon",
34
+ src: icon
38
35
  }), /*#__PURE__*/React.createElement("div", {
39
36
  style: {
40
37
  color: color
@@ -15,5 +15,9 @@
15
15
  .res {
16
16
  display: flex;
17
17
  align-items: center;
18
+
19
+ .icon {
20
+ margin-right: 8px;
21
+ }
18
22
  }
19
23
  }
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" fill="none" version="1.1" width="16" height="16" viewBox="0 0 16 16"><g><g><rect x="0" y="0" width="16" height="16" rx="8" fill="#FF6237" fill-opacity="1"/></g><g><path d="M11.749754926867677,5.000149726867676Q11.749754426867675,5.149304036867676,11.692675626867675,5.287104726867676Q11.635596726867675,5.424905326867676,11.530128926867675,5.530373526867676L11.530235326867675,5.530479626867676L9.060565426867676,8.000149726867676L11.530235726867677,10.469820026867676L11.530129426867676,10.469926326867675Q11.635597726867676,10.575394626867677,11.692677026867676,10.713195326867677Q11.749755826867677,10.850996026867676,11.749755826867677,11.000150226867675Q11.749755826867677,11.074003726867677,11.735347226867676,11.146438126867675Q11.720939126867677,11.218872526867676,11.692676526867675,11.287104626867675Q11.664413426867675,11.355336226867676,11.623382526867676,11.416743326867675Q11.582351726867675,11.478150326867675,11.530129426867676,11.530373526867676Q11.477906226867676,11.582595826867676,11.416499126867675,11.623626726867677Q11.355092026867677,11.664657626867676,11.286860026867675,11.692920726867676Q11.218627926867676,11.721183726867675,11.146193526867677,11.735591926867675Q11.073759126867674,11.750000026867676,10.999905626867676,11.750000026867676Q10.850750926867676,11.750000026867676,10.712950226867676,11.692920726867676Q10.575149526867676,11.635841826867676,10.469681726867677,11.530374026867676L10.469575426867676,11.530480426867676L7.999905626867676,9.060810126867676L5.530235726867676,11.530480426867676L5.530129426867676,11.530374026867676Q5.424661126867676,11.635841826867676,5.286860626867676,11.692920726867676Q5.149059886867676,11.750000026867676,4.999905586867676,11.750000026867676Q4.9260517368676755,11.750000026867676,4.853617076867676,11.735591926867675Q4.781182346867675,11.721183726867675,4.712950346867676,11.692920726867676Q4.644718346867676,11.664658026867675,4.583311196867676,11.623626726867677Q4.521904016867675,11.582596326867677,4.469681526867676,11.530374026867676Q4.417459006867675,11.478151326867675,4.376428056867676,11.416743726867676Q4.335397094867676,11.355336226867676,4.307134478867676,11.287104626867675Q4.2788718618676755,11.218872526867676,4.264463706867676,11.146438126867675Q4.250055551528676,11.074003726867677,4.250055551528676,11.000150226867675Q4.250055551528676,10.850996026867676,4.307134523867676,10.713195326867677Q4.364213496867675,10.575394626867677,4.469681676867676,10.469926326867675L4.469575466867676,10.469820026867676L6.939245426867676,8.000149726867676L4.469575886867676,5.530479626867676L4.4696822168676755,5.530373526867676Q4.364214106867676,5.424905326867676,4.307135186867676,5.287104726867676Q4.250056266791676,5.149304036867676,4.250056266784676,5.000149726867676Q4.250056266784676,4.9262959368676755,4.264464417867676,4.853861216867676Q4.278872567867676,4.781426546867676,4.307135175867676,4.713194516867675Q4.335397779867676,4.6449624868676755,4.376428726867676,4.583555336867676Q4.417459676867676,4.522148166867676,4.469682176867676,4.4699256868676756Q4.521904676867676,4.417703166867676,4.583311826867676,4.376672196867676Q4.644718946867676,4.335641242867676,4.712950916867676,4.307378623867676Q4.781182886867676,4.279116004867676,4.853617606867676,4.264707848867676Q4.926052276867676,4.250299692157676,4.999906066867676,4.250299692157676Q5.149060366867676,4.250299692157676,5.286861026867676,4.307378612867676Q5.424661726867676,4.3644575368676755,5.530129926867676,4.469925646867676L5.530235726867676,4.469819726867676L7.999905626867676,6.939489626867676L10.469575426867676,4.469819726867676L10.469681226867676,4.469925646867676Q10.575149026867676,4.3644575368676755,10.712949726867675,4.307378612867676Q10.850750426867677,4.250299692157676,10.999905126867676,4.250299692157676Q11.073758626867676,4.250299692157676,11.146193026867675,4.264707848867676Q11.218627426867677,4.279116002867676,11.286859526867676,4.307378619867675Q11.355091126867677,4.335641234867675,11.416498226867676,4.376672196867676Q11.477905226867676,4.417703146867676,11.530128526867676,4.469925666867676Q11.582350726867677,4.522148166867676,11.623381626867676,4.583555336867676Q11.664412526867675,4.6449624868676755,11.692675126867677,4.713194486867676Q11.720937726867675,4.781426486867676,11.735346326867676,4.853861216867676Q11.749754426867675,4.9262959368676755,11.749754926867677,5.000149726867676Z" fill-rule="evenodd" fill="#FFFFFF" fill-opacity="1"/></g></g></svg>
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" fill="none" version="1.1" width="16" height="16" viewBox="0 0 16 16"><g><g><rect x="0" y="0" width="16" height="16" rx="8" fill="#15BC83" fill-opacity="1"/></g><g><path d="M12.930224390734864,6.1302238146325685Q13.035691290734864,6.0247556546325685,13.092770590734863,5.886954964632569Q13.149849890734863,5.749154284632568,13.149849890734863,5.599999904632568Q13.149849890734863,5.526146121632569,13.135440790734863,5.453711424632568Q13.121031790734863,5.381276724632569,13.092769590734862,5.313044724632569Q13.064507490734863,5.244812724632569,13.023476590734862,5.183405574632569Q12.982445690734863,5.121998394632568,12.930223490734864,5.069775874632568Q12.878001190734864,5.017553384632569,12.816594090734863,4.976522444632568Q12.755186590734862,4.935491444632568,12.686954490734863,4.907228824632568Q12.618722890734864,4.878966214632569,12.546288490734863,4.864558104632568Q12.473854090734864,4.850149874632568,12.400000090734864,4.850149874632568Q12.250844990734862,4.850149874632568,12.113043790734864,4.9072289446325685Q11.975243590734863,4.964307964632568,11.869775790734863,5.0697762346325685L11.869669390734863,5.0696698446325685L7.200000090734863,9.739339804632568L5.330330250734863,7.8696701046325686L5.330224270734863,7.869776004632568Q5.224756180734864,7.764308004632568,5.0869554307348634,7.707228904632569Q4.949154660734863,7.650150104632568,4.800000190734863,7.650150104632568Q4.726146407734864,7.650150104632568,4.653711710734863,7.664558204632568Q4.581277010734864,7.678966504632569,4.513045010734864,7.707228904632569Q4.444813010734864,7.735491504632568,4.383405860734864,7.776522404632568Q4.321998680734863,7.817553304632568,4.269776160734863,7.869775804632568Q4.217553670734864,7.921998304632568,4.176522730734863,7.983405604632568Q4.135491730734863,8.044812704632568,4.107229110734863,8.113044704632568Q4.078966500734864,8.181276804632569,4.064558390734863,8.253711504632568Q4.050150160734863,8.326146104632569,4.050150160734863,8.400000104632568Q4.050150210734863,8.549154304632568,4.107229110734863,8.68695500463257Q4.164308070734863,8.824755704632569,4.269776110734863,8.930224204632568L4.2696701307348635,8.930330004632568L6.528248890734863,11.188909004632569Q6.806497590734864,11.467157804632567,7.200000290734863,11.467157804632567Q7.593502490734863,11.467157804632567,7.871751790734863,11.188909004632569L12.930330290734863,6.130329964632568L12.930224390734864,6.1302238146325685Z" fill-rule="evenodd" fill="#FFFFFF" fill-opacity="1"/></g></g></svg>
@@ -3,8 +3,9 @@
3
3
  var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
4
  exports.__esModule = true;
5
5
  exports["default"] = void 0;
6
- var _icon = _interopRequireDefault(require("@alifd/next/lib/icon"));
7
6
  var React = _interopRequireWildcard(require("react"));
7
+ var _success = _interopRequireDefault(require("./icons/success.svg"));
8
+ var _fail = _interopRequireDefault(require("./icons/fail.svg"));
8
9
  require("./index.scss");
9
10
  function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, "default": e }; if (null === e || "object" != typeof e && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
10
11
  var CheckRes = function CheckRes(_ref) {
@@ -23,7 +24,7 @@ var CheckRes = function CheckRes(_ref) {
23
24
  } else if (res === true) {
24
25
  color = '#15BC83';
25
26
  }
26
- var iconType = res ? 'success-filling' : 'delete-filling';
27
+ var icon = res ? _success["default"] : _fail["default"];
27
28
  var borderBottom = hasBorderBottom ? '1px solid #EEEEEE' : 'none';
28
29
  return /*#__PURE__*/React.createElement("div", {
29
30
  className: "check_res",
@@ -34,13 +35,9 @@ var CheckRes = function CheckRes(_ref) {
34
35
  className: "name"
35
36
  }, name), /*#__PURE__*/React.createElement("div", {
36
37
  className: "res"
37
- }, res !== undefined && /*#__PURE__*/React.createElement(_icon["default"], {
38
- size: "small",
39
- style: {
40
- color: color,
41
- marginRight: '6px'
42
- },
43
- type: iconType
38
+ }, res !== undefined && /*#__PURE__*/React.createElement("img", {
39
+ className: "icon",
40
+ src: icon
44
41
  }), /*#__PURE__*/React.createElement("div", {
45
42
  style: {
46
43
  color: color
@@ -15,5 +15,9 @@
15
15
  .res {
16
16
  display: flex;
17
17
  align-items: center;
18
+
19
+ .icon {
20
+ margin-right: 8px;
21
+ }
18
22
  }
19
23
  }
@@ -82,7 +82,7 @@ function fillRealVersion(meta, packageName, version, basicLibraryVersion) {
82
82
  packageName = 'ydb-components-material';
83
83
  }
84
84
  if (version === void 0) {
85
- version = '0.1.12';
85
+ version = '0.1.13';
86
86
  }
87
87
  if (basicLibraryVersion === void 0) {
88
88
  basicLibraryVersion = {
@@ -87,7 +87,7 @@ function fillRealVersion(meta, packageName, version, basicLibraryVersion) {
87
87
  packageName = 'ydb-components-material';
88
88
  }
89
89
  if (version === void 0) {
90
- version = '0.1.12';
90
+ version = '0.1.13';
91
91
  }
92
92
  if (basicLibraryVersion === void 0) {
93
93
  basicLibraryVersion = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ydb-components-material",
3
- "version": "0.1.12",
3
+ "version": "0.1.13",
4
4
  "description": "ydb-components-material",
5
5
  "main": "lib/index.js",
6
6
  "module": "es/index.js",
@@ -94,10 +94,10 @@
94
94
  },
95
95
  "componentConfig": {
96
96
  "isComponentLibrary": true,
97
- "materialSchema": "https://unpkg.com/ydb-components-material@0.1.12/build/lowcode/assets-prod.json"
97
+ "materialSchema": "https://unpkg.com/ydb-components-material@0.1.13/build/lowcode/assets-prod.json"
98
98
  },
99
99
  "lcMeta": {
100
100
  "type": "component"
101
101
  },
102
- "homepage": "https://unpkg.com/ydb-components-material@0.1.12/build/index.html"
102
+ "homepage": "https://unpkg.com/ydb-components-material@0.1.13/build/index.html"
103
103
  }