colibri-ui 0.2.0 → 0.4.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.
Files changed (69) hide show
  1. package/Button/index.js +1 -1
  2. package/Button/styles.js +1 -1
  3. package/Icons/AddWidget.js +1 -0
  4. package/Icons/Alert.js +1 -0
  5. package/Icons/Arrow.js +1 -0
  6. package/Icons/Burger.js +1 -0
  7. package/Icons/Check.js +1 -0
  8. package/Icons/CheckBoxChecked.js +1 -0
  9. package/Icons/CheckBoxDefault.js +1 -0
  10. package/Icons/Chevron.js +1 -0
  11. package/Icons/Close.js +1 -0
  12. package/Icons/CloseRound.js +1 -0
  13. package/Icons/Edit.js +1 -0
  14. package/Icons/Error.js +1 -0
  15. package/Icons/EyeClosed.js +1 -0
  16. package/Icons/EyeOpen.js +1 -0
  17. package/Icons/Globe.js +1 -0
  18. package/Icons/Help.js +1 -0
  19. package/Icons/Info.js +1 -0
  20. package/Icons/Location.js +1 -0
  21. package/Icons/Lock.js +1 -0
  22. package/Icons/Mir.js +1 -0
  23. package/Icons/More.js +1 -0
  24. package/Icons/Notes.js +1 -0
  25. package/Icons/Setting.js +1 -0
  26. package/Icons/Share.js +1 -0
  27. package/Icons/SignOut.js +1 -0
  28. package/Icons/Telegram.js +1 -0
  29. package/Icons/User.js +1 -0
  30. package/Icons/index.d.ts +27 -0
  31. package/Icons/index.js +1 -0
  32. package/Theme/global.js +1 -1
  33. package/esm/Button/index.js +1 -1
  34. package/esm/Button/styles.js +1 -1
  35. package/esm/Icons/AddWidget.js +1 -0
  36. package/esm/Icons/Alert.js +1 -0
  37. package/esm/Icons/Arrow.js +1 -0
  38. package/esm/Icons/Burger.js +1 -0
  39. package/esm/Icons/Check.js +1 -0
  40. package/esm/Icons/CheckBoxChecked.js +1 -0
  41. package/esm/Icons/CheckBoxDefault.js +1 -0
  42. package/esm/Icons/Chevron.js +1 -0
  43. package/esm/Icons/Close.js +1 -0
  44. package/esm/Icons/CloseRound.js +1 -0
  45. package/esm/Icons/Edit.js +1 -0
  46. package/esm/Icons/Error.js +1 -0
  47. package/esm/Icons/EyeClosed.js +1 -0
  48. package/esm/Icons/EyeOpen.js +1 -0
  49. package/esm/Icons/Globe.js +1 -0
  50. package/esm/Icons/Help.js +1 -0
  51. package/esm/Icons/Info.js +1 -0
  52. package/esm/Icons/Location.js +1 -0
  53. package/esm/Icons/Lock.js +1 -0
  54. package/esm/Icons/Mir.js +1 -0
  55. package/esm/Icons/More.js +1 -0
  56. package/esm/Icons/Notes.js +1 -0
  57. package/esm/Icons/Setting.js +1 -0
  58. package/esm/Icons/Share.js +1 -0
  59. package/esm/Icons/SignOut.js +1 -0
  60. package/esm/Icons/Telegram.js +1 -0
  61. package/esm/Icons/User.js +1 -0
  62. package/esm/Icons/index.d.ts +27 -0
  63. package/esm/Icons/index.js +1 -0
  64. package/esm/Theme/global.js +1 -1
  65. package/esm/index.d.ts +1 -0
  66. package/esm/index.js +1 -1
  67. package/index.d.ts +1 -0
  68. package/index.js +1 -1
  69. package/package.json +15 -6
package/Button/index.js CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("/home/sergey/Documents/ColibriUI/node_modules/tslib/tslib.es6.js"),i=require("@emotion/react/jsx-runtime"),r=require("react"),n=require("./styles.js"),t=r.forwardRef((function(r,t){var l=r.className,s=r.fullWidth,o=void 0!==s&&s,c=r.variant,a=void 0===c?"primary":c,d=r.iconStart,u=r.iconEnd,h=r.icon,f=r.children,m=r.onClick,j=e.__rest(r,["className","fullWidth","variant","iconStart","iconEnd","icon","children","onClick"]);return i.jsxs(n.StyledButton,e.__assign({onClick:m,ref:t,className:l,variant:a,icon:h,fullWidth:o},j,{children:[h&&i.jsx(n.StyledIcon,{children:h}),d&&i.jsx(n.StyledIcon,{children:d}),f&&f,u&&i.jsx(n.StyledIcon,{children:u})]}))}));exports.default=t;
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("tslib"),r=require("@emotion/react/jsx-runtime"),i=require("react"),n=require("./styles.js"),t=i.forwardRef((function(i,t){var c=i.className,l=i.fullWidth,o=void 0!==l&&l,s=i.variant,a=void 0===s?"primary":s,d=i.iconStart,u=i.iconEnd,f=i.icon,h=i.children,v=i.onClick,j=e.__rest(i,["className","fullWidth","variant","iconStart","iconEnd","icon","children","onClick"]);return r.jsxs(n.StyledButton,e.__assign({onClick:v,ref:t,className:c,variant:a,icon:f,fullWidth:o},j,{children:[f&&r.jsx(n.StyledIcon,{children:f}),d&&r.jsx(n.StyledIcon,{children:d}),h&&h,u&&r.jsx(n.StyledIcon,{children:u})]}))}));exports.default=t;