colibri-ui 0.0.1 → 0.2.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 (81) hide show
  1. package/Button/index.js +1 -40
  2. package/Button/styles.js +1 -44
  3. package/README.md +9 -0
  4. package/Theme/breakpoints.js +1 -38
  5. package/Theme/color.js +1 -36
  6. package/Theme/global.js +1 -14
  7. package/Theme/index.js +1 -25
  8. package/Theme/themes/buenos_aires.js +1 -42
  9. package/Theme/themes/default.js +1 -41
  10. package/esm/Button/index.js +1 -36
  11. package/esm/Button/styles.js +1 -41
  12. package/esm/Theme/breakpoints.js +1 -34
  13. package/esm/Theme/color.js +1 -32
  14. package/esm/Theme/global.js +1 -10
  15. package/esm/Theme/index.js +1 -22
  16. package/esm/Theme/themes/buenos_aires.js +1 -39
  17. package/esm/Theme/themes/default.js +1 -38
  18. package/esm/index.js +1 -2
  19. package/index.js +1 -10
  20. package/package.json +2 -1
  21. package/_virtual/_commonjsHelpers.js +0 -46
  22. package/_virtual/index.js +0 -5
  23. package/_virtual/index2.js +0 -9
  24. package/_virtual/index3.js +0 -9
  25. package/_virtual/index4.js +0 -5
  26. package/_virtual/jsx-runtime.js +0 -5
  27. package/_virtual/package.json +0 -6
  28. package/_virtual/react-is.development.js +0 -5
  29. package/_virtual/react-is.production.min.js +0 -5
  30. package/_virtual/react-jsx-runtime.development.js +0 -5
  31. package/_virtual/react-jsx-runtime.production.min.js +0 -5
  32. package/_virtual/react.development.js +0 -5
  33. package/_virtual/react.production.min.js +0 -5
  34. package/esm/_virtual/_commonjsHelpers.js +0 -40
  35. package/esm/_virtual/index.js +0 -3
  36. package/esm/_virtual/index2.js +0 -1
  37. package/esm/_virtual/index3.js +0 -1
  38. package/esm/_virtual/index4.js +0 -3
  39. package/esm/_virtual/jsx-runtime.js +0 -3
  40. package/esm/_virtual/react-is.development.js +0 -3
  41. package/esm/_virtual/react-is.production.min.js +0 -3
  42. package/esm/_virtual/react-jsx-runtime.development.js +0 -3
  43. package/esm/_virtual/react-jsx-runtime.production.min.js +0 -3
  44. package/esm/_virtual/react.development.js +0 -3
  45. package/esm/_virtual/react.production.min.js +0 -3
  46. package/esm/node_modules/@babel/runtime/helpers/esm/extends.js +0 -16
  47. package/esm/node_modules/@babel/runtime/helpers/esm/typeof.js +0 -11
  48. package/esm/node_modules/@emotion/cache/dist/emotion-cache.esm.js +0 -588
  49. package/esm/node_modules/@emotion/hash/dist/emotion-hash.esm.js +0 -44
  50. package/esm/node_modules/@emotion/is-prop-valid/dist/emotion-is-prop-valid.esm.js +0 -12
  51. package/esm/node_modules/@emotion/memoize/dist/emotion-memoize.esm.js +0 -9
  52. package/esm/node_modules/@emotion/react/_isolated-hnrs/dist/emotion-react-_isolated-hnrs.esm.js +0 -11
  53. package/esm/node_modules/@emotion/react/dist/emotion-element-c16c303e.esm.js +0 -233
  54. package/esm/node_modules/@emotion/react/dist/emotion-react.esm.js +0 -390
  55. package/esm/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.esm.js +0 -27
  56. package/esm/node_modules/@emotion/serialize/dist/emotion-serialize.esm.js +0 -265
  57. package/esm/node_modules/@emotion/sheet/dist/emotion-sheet.esm.js +0 -132
  58. package/esm/node_modules/@emotion/styled/base/dist/emotion-styled-base.esm.js +0 -162
  59. package/esm/node_modules/@emotion/unitless/dist/emotion-unitless.esm.js +0 -51
  60. package/esm/node_modules/@emotion/use-insertion-effect-with-fallbacks/dist/emotion-use-insertion-effect-with-fallbacks.esm.js +0 -12
  61. package/esm/node_modules/@emotion/utils/dist/emotion-utils.esm.js +0 -49
  62. package/esm/node_modules/@emotion/weak-memoize/dist/emotion-weak-memoize.esm.js +0 -15
  63. package/esm/node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js +0 -97
  64. package/esm/node_modules/react/cjs/react-jsx-runtime.development.js +0 -1147
  65. package/esm/node_modules/react/cjs/react-jsx-runtime.production.min.js +0 -56
  66. package/esm/node_modules/react/cjs/react.development.js +0 -2402
  67. package/esm/node_modules/react/cjs/react.production.min.js +0 -354
  68. package/esm/node_modules/react/index.js +0 -16
  69. package/esm/node_modules/react/jsx-runtime.js +0 -16
  70. package/esm/node_modules/react-is/cjs/react-is.development.js +0 -170
  71. package/esm/node_modules/react-is/cjs/react-is.production.min.js +0 -119
  72. package/esm/node_modules/react-is/index.js +0 -16
  73. package/esm/node_modules/stylis/index.js +0 -7
  74. package/esm/node_modules/stylis/src/Enum.js +0 -21
  75. package/esm/node_modules/stylis/src/Middleware.js +0 -113
  76. package/esm/node_modules/stylis/src/Parser.js +0 -184
  77. package/esm/node_modules/stylis/src/Prefixer.js +0 -197
  78. package/esm/node_modules/stylis/src/Serializer.js +0 -40
  79. package/esm/node_modules/stylis/src/Tokenizer.js +0 -252
  80. package/esm/node_modules/stylis/src/Utility.js +0 -117
  81. package/esm/node_modules/tslib/tslib.es6.js +0 -525
package/Button/index.js CHANGED
@@ -1,40 +1 @@
1
- 'use strict';
2
-
3
- Object.defineProperty(exports, '__esModule', { value: true });
4
-
5
- var tslib_es6 = require('../node_modules/tslib/tslib.es6.js');
6
- var emotionReactJsxRuntime_esm = require('../node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.esm.js');
7
- var index = require('../node_modules/react/index.js');
8
- var styles = require('./styles.js');
9
-
10
- var Button = /*#__PURE__*/index.reactExports.forwardRef(function (_a, ref) {
11
- var className = _a.className,
12
- _b = _a.fullWidth,
13
- fullWidth = _b === void 0 ? false : _b,
14
- _c = _a.variant,
15
- variant = _c === void 0 ? "primary" : _c,
16
- iconStart = _a.iconStart,
17
- iconEnd = _a.iconEnd,
18
- icon = _a.icon,
19
- children = _a.children,
20
- onClick = _a.onClick,
21
- props = tslib_es6.__rest(_a, ["className", "fullWidth", "variant", "iconStart", "iconEnd", "icon", "children", "onClick"]);
22
- return emotionReactJsxRuntime_esm.jsxs(styles.StyledButton, tslib_es6.__assign({
23
- onClick: onClick,
24
- ref: ref,
25
- className: className,
26
- variant: variant,
27
- icon: icon,
28
- fullWidth: fullWidth
29
- }, props, {
30
- children: [icon && emotionReactJsxRuntime_esm.jsx(styles.StyledIcon, {
31
- children: icon
32
- }), iconStart && emotionReactJsxRuntime_esm.jsx(styles.StyledIcon, {
33
- children: iconStart
34
- }), children && children, iconEnd && emotionReactJsxRuntime_esm.jsx(styles.StyledIcon, {
35
- children: iconEnd
36
- })]
37
- }));
38
- });
39
-
40
- exports.default = Button;
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;