colibri-ui 0.0.1

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 (161) hide show
  1. package/Button/index.d.ts +4 -0
  2. package/Button/index.js +40 -0
  3. package/Button/index.props.d.ts +38 -0
  4. package/Button/package.json +6 -0
  5. package/Button/styles.d.ts +15 -0
  6. package/Button/styles.js +44 -0
  7. package/Icons/AddWidget.d.ts +3 -0
  8. package/Icons/Alert.d.ts +3 -0
  9. package/Icons/Arrow.d.ts +3 -0
  10. package/Icons/Burger.d.ts +3 -0
  11. package/Icons/Check.d.ts +3 -0
  12. package/Icons/CheckBoxChecked.d.ts +3 -0
  13. package/Icons/CheckBoxDefault.d.ts +3 -0
  14. package/Icons/Chevron.d.ts +3 -0
  15. package/Icons/Close.d.ts +3 -0
  16. package/Icons/CloseRound.d.ts +3 -0
  17. package/Icons/Edit.d.ts +3 -0
  18. package/Icons/Error.d.ts +3 -0
  19. package/Icons/EyeClosed.d.ts +3 -0
  20. package/Icons/EyeOpen.d.ts +3 -0
  21. package/Icons/Flag/index.d.ts +3 -0
  22. package/Icons/Globe.d.ts +3 -0
  23. package/Icons/Help.d.ts +3 -0
  24. package/Icons/Info.d.ts +3 -0
  25. package/Icons/Location.d.ts +3 -0
  26. package/Icons/Lock.d.ts +3 -0
  27. package/Icons/Mir.d.ts +3 -0
  28. package/Icons/More.d.ts +3 -0
  29. package/Icons/Notes.d.ts +3 -0
  30. package/Icons/Setting.d.ts +3 -0
  31. package/Icons/Share.d.ts +3 -0
  32. package/Icons/SignOut.d.ts +3 -0
  33. package/Icons/Telegram.d.ts +3 -0
  34. package/Icons/User.d.ts +3 -0
  35. package/Icons/package.json +6 -0
  36. package/Theme/breakpoints.d.ts +17 -0
  37. package/Theme/breakpoints.js +38 -0
  38. package/Theme/color.d.ts +29 -0
  39. package/Theme/color.js +36 -0
  40. package/Theme/global.d.ts +2 -0
  41. package/Theme/global.js +14 -0
  42. package/Theme/index.d.ts +16 -0
  43. package/Theme/index.js +25 -0
  44. package/Theme/index.props.d.ts +6 -0
  45. package/Theme/package.json +6 -0
  46. package/Theme/themes/buenos_aires.d.ts +6 -0
  47. package/Theme/themes/buenos_aires.js +42 -0
  48. package/Theme/themes/default.d.ts +6 -0
  49. package/Theme/themes/default.js +41 -0
  50. package/_virtual/_commonjsHelpers.js +46 -0
  51. package/_virtual/index.js +5 -0
  52. package/_virtual/index2.js +9 -0
  53. package/_virtual/index3.js +9 -0
  54. package/_virtual/index4.js +5 -0
  55. package/_virtual/jsx-runtime.js +5 -0
  56. package/_virtual/package.json +6 -0
  57. package/_virtual/react-is.development.js +5 -0
  58. package/_virtual/react-is.production.min.js +5 -0
  59. package/_virtual/react-jsx-runtime.development.js +5 -0
  60. package/_virtual/react-jsx-runtime.production.min.js +5 -0
  61. package/_virtual/react.development.js +5 -0
  62. package/_virtual/react.production.min.js +5 -0
  63. package/esm/Button/index.d.ts +4 -0
  64. package/esm/Button/index.js +36 -0
  65. package/esm/Button/index.props.d.ts +38 -0
  66. package/esm/Button/styles.d.ts +15 -0
  67. package/esm/Button/styles.js +41 -0
  68. package/esm/Icons/AddWidget.d.ts +3 -0
  69. package/esm/Icons/Alert.d.ts +3 -0
  70. package/esm/Icons/Arrow.d.ts +3 -0
  71. package/esm/Icons/Burger.d.ts +3 -0
  72. package/esm/Icons/Check.d.ts +3 -0
  73. package/esm/Icons/CheckBoxChecked.d.ts +3 -0
  74. package/esm/Icons/CheckBoxDefault.d.ts +3 -0
  75. package/esm/Icons/Chevron.d.ts +3 -0
  76. package/esm/Icons/Close.d.ts +3 -0
  77. package/esm/Icons/CloseRound.d.ts +3 -0
  78. package/esm/Icons/Edit.d.ts +3 -0
  79. package/esm/Icons/Error.d.ts +3 -0
  80. package/esm/Icons/EyeClosed.d.ts +3 -0
  81. package/esm/Icons/EyeOpen.d.ts +3 -0
  82. package/esm/Icons/Flag/index.d.ts +3 -0
  83. package/esm/Icons/Globe.d.ts +3 -0
  84. package/esm/Icons/Help.d.ts +3 -0
  85. package/esm/Icons/Info.d.ts +3 -0
  86. package/esm/Icons/Location.d.ts +3 -0
  87. package/esm/Icons/Lock.d.ts +3 -0
  88. package/esm/Icons/Mir.d.ts +3 -0
  89. package/esm/Icons/More.d.ts +3 -0
  90. package/esm/Icons/Notes.d.ts +3 -0
  91. package/esm/Icons/Setting.d.ts +3 -0
  92. package/esm/Icons/Share.d.ts +3 -0
  93. package/esm/Icons/SignOut.d.ts +3 -0
  94. package/esm/Icons/Telegram.d.ts +3 -0
  95. package/esm/Icons/User.d.ts +3 -0
  96. package/esm/Theme/breakpoints.d.ts +17 -0
  97. package/esm/Theme/breakpoints.js +34 -0
  98. package/esm/Theme/color.d.ts +29 -0
  99. package/esm/Theme/color.js +32 -0
  100. package/esm/Theme/global.d.ts +2 -0
  101. package/esm/Theme/global.js +10 -0
  102. package/esm/Theme/index.d.ts +16 -0
  103. package/esm/Theme/index.js +22 -0
  104. package/esm/Theme/index.props.d.ts +6 -0
  105. package/esm/Theme/themes/buenos_aires.d.ts +6 -0
  106. package/esm/Theme/themes/buenos_aires.js +39 -0
  107. package/esm/Theme/themes/default.d.ts +6 -0
  108. package/esm/Theme/themes/default.js +38 -0
  109. package/esm/_virtual/_commonjsHelpers.js +40 -0
  110. package/esm/_virtual/index.js +3 -0
  111. package/esm/_virtual/index2.js +1 -0
  112. package/esm/_virtual/index3.js +1 -0
  113. package/esm/_virtual/index4.js +3 -0
  114. package/esm/_virtual/jsx-runtime.js +3 -0
  115. package/esm/_virtual/react-is.development.js +3 -0
  116. package/esm/_virtual/react-is.production.min.js +3 -0
  117. package/esm/_virtual/react-jsx-runtime.development.js +3 -0
  118. package/esm/_virtual/react-jsx-runtime.production.min.js +3 -0
  119. package/esm/_virtual/react.development.js +3 -0
  120. package/esm/_virtual/react.production.min.js +3 -0
  121. package/esm/index.d.ts +2 -0
  122. package/esm/index.js +2 -0
  123. package/esm/node_modules/@babel/runtime/helpers/esm/extends.js +16 -0
  124. package/esm/node_modules/@babel/runtime/helpers/esm/typeof.js +11 -0
  125. package/esm/node_modules/@emotion/cache/dist/emotion-cache.esm.js +588 -0
  126. package/esm/node_modules/@emotion/hash/dist/emotion-hash.esm.js +44 -0
  127. package/esm/node_modules/@emotion/is-prop-valid/dist/emotion-is-prop-valid.esm.js +12 -0
  128. package/esm/node_modules/@emotion/memoize/dist/emotion-memoize.esm.js +9 -0
  129. package/esm/node_modules/@emotion/react/_isolated-hnrs/dist/emotion-react-_isolated-hnrs.esm.js +11 -0
  130. package/esm/node_modules/@emotion/react/dist/emotion-element-c16c303e.esm.js +233 -0
  131. package/esm/node_modules/@emotion/react/dist/emotion-react.esm.js +390 -0
  132. package/esm/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.esm.js +27 -0
  133. package/esm/node_modules/@emotion/serialize/dist/emotion-serialize.esm.js +265 -0
  134. package/esm/node_modules/@emotion/sheet/dist/emotion-sheet.esm.js +132 -0
  135. package/esm/node_modules/@emotion/styled/base/dist/emotion-styled-base.esm.js +162 -0
  136. package/esm/node_modules/@emotion/unitless/dist/emotion-unitless.esm.js +51 -0
  137. package/esm/node_modules/@emotion/use-insertion-effect-with-fallbacks/dist/emotion-use-insertion-effect-with-fallbacks.esm.js +12 -0
  138. package/esm/node_modules/@emotion/utils/dist/emotion-utils.esm.js +49 -0
  139. package/esm/node_modules/@emotion/weak-memoize/dist/emotion-weak-memoize.esm.js +15 -0
  140. package/esm/node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js +97 -0
  141. package/esm/node_modules/react/cjs/react-jsx-runtime.development.js +1147 -0
  142. package/esm/node_modules/react/cjs/react-jsx-runtime.production.min.js +56 -0
  143. package/esm/node_modules/react/cjs/react.development.js +2402 -0
  144. package/esm/node_modules/react/cjs/react.production.min.js +354 -0
  145. package/esm/node_modules/react/index.js +16 -0
  146. package/esm/node_modules/react/jsx-runtime.js +16 -0
  147. package/esm/node_modules/react-is/cjs/react-is.development.js +170 -0
  148. package/esm/node_modules/react-is/cjs/react-is.production.min.js +119 -0
  149. package/esm/node_modules/react-is/index.js +16 -0
  150. package/esm/node_modules/stylis/index.js +7 -0
  151. package/esm/node_modules/stylis/src/Enum.js +21 -0
  152. package/esm/node_modules/stylis/src/Middleware.js +113 -0
  153. package/esm/node_modules/stylis/src/Parser.js +184 -0
  154. package/esm/node_modules/stylis/src/Prefixer.js +197 -0
  155. package/esm/node_modules/stylis/src/Serializer.js +40 -0
  156. package/esm/node_modules/stylis/src/Tokenizer.js +252 -0
  157. package/esm/node_modules/stylis/src/Utility.js +117 -0
  158. package/esm/node_modules/tslib/tslib.es6.js +525 -0
  159. package/index.d.ts +2 -0
  160. package/index.js +10 -0
  161. package/package.json +72 -0
@@ -0,0 +1,15 @@
1
+ var weakMemoize = function weakMemoize(func) {
2
+ // $FlowFixMe flow doesn't include all non-primitive types as allowed for weakmaps
3
+ var cache = new WeakMap();
4
+ return function (arg) {
5
+ if (cache.has(arg)) {
6
+ // $FlowFixMe
7
+ return cache.get(arg);
8
+ }
9
+ var ret = func(arg);
10
+ cache.set(arg, ret);
11
+ return ret;
12
+ };
13
+ };
14
+
15
+ export { weakMemoize as default };
@@ -0,0 +1,97 @@
1
+ import { getDefaultExportFromCjs } from '../../../_virtual/_commonjsHelpers.js';
2
+ import '../../../_virtual/index2.js';
3
+ import { r as reactIsExports } from '../../react-is/index.js';
4
+
5
+ 'use strict';
6
+ var reactIs = reactIsExports;
7
+
8
+ /**
9
+ * Copyright 2015, Yahoo! Inc.
10
+ * Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms.
11
+ */
12
+ var REACT_STATICS = {
13
+ childContextTypes: true,
14
+ contextType: true,
15
+ contextTypes: true,
16
+ defaultProps: true,
17
+ displayName: true,
18
+ getDefaultProps: true,
19
+ getDerivedStateFromError: true,
20
+ getDerivedStateFromProps: true,
21
+ mixins: true,
22
+ propTypes: true,
23
+ type: true
24
+ };
25
+ var KNOWN_STATICS = {
26
+ name: true,
27
+ length: true,
28
+ prototype: true,
29
+ caller: true,
30
+ callee: true,
31
+ arguments: true,
32
+ arity: true
33
+ };
34
+ var FORWARD_REF_STATICS = {
35
+ '$$typeof': true,
36
+ render: true,
37
+ defaultProps: true,
38
+ displayName: true,
39
+ propTypes: true
40
+ };
41
+ var MEMO_STATICS = {
42
+ '$$typeof': true,
43
+ compare: true,
44
+ defaultProps: true,
45
+ displayName: true,
46
+ propTypes: true,
47
+ type: true
48
+ };
49
+ var TYPE_STATICS = {};
50
+ TYPE_STATICS[reactIs.ForwardRef] = FORWARD_REF_STATICS;
51
+ TYPE_STATICS[reactIs.Memo] = MEMO_STATICS;
52
+ function getStatics(component) {
53
+ // React v16.11 and below
54
+ if (reactIs.isMemo(component)) {
55
+ return MEMO_STATICS;
56
+ } // React v16.12 and above
57
+
58
+ return TYPE_STATICS[component['$$typeof']] || REACT_STATICS;
59
+ }
60
+ var defineProperty = Object.defineProperty;
61
+ var getOwnPropertyNames = Object.getOwnPropertyNames;
62
+ var getOwnPropertySymbols = Object.getOwnPropertySymbols;
63
+ var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
64
+ var getPrototypeOf = Object.getPrototypeOf;
65
+ var objectPrototype = Object.prototype;
66
+ function hoistNonReactStatics(targetComponent, sourceComponent, blacklist) {
67
+ if (typeof sourceComponent !== 'string') {
68
+ // don't hoist over string (html) components
69
+ if (objectPrototype) {
70
+ var inheritedComponent = getPrototypeOf(sourceComponent);
71
+ if (inheritedComponent && inheritedComponent !== objectPrototype) {
72
+ hoistNonReactStatics(targetComponent, inheritedComponent, blacklist);
73
+ }
74
+ }
75
+ var keys = getOwnPropertyNames(sourceComponent);
76
+ if (getOwnPropertySymbols) {
77
+ keys = keys.concat(getOwnPropertySymbols(sourceComponent));
78
+ }
79
+ var targetStatics = getStatics(targetComponent);
80
+ var sourceStatics = getStatics(sourceComponent);
81
+ for (var i = 0; i < keys.length; ++i) {
82
+ var key = keys[i];
83
+ if (!KNOWN_STATICS[key] && !(blacklist && blacklist[key]) && !(sourceStatics && sourceStatics[key]) && !(targetStatics && targetStatics[key])) {
84
+ var descriptor = getOwnPropertyDescriptor(sourceComponent, key);
85
+ try {
86
+ // Avoid failures from read-only properties
87
+ defineProperty(targetComponent, key, descriptor);
88
+ } catch (e) {}
89
+ }
90
+ }
91
+ }
92
+ return targetComponent;
93
+ }
94
+ var hoistNonReactStatics_cjs = hoistNonReactStatics;
95
+ var hoistNonReactStatics$1 = /*@__PURE__*/getDefaultExportFromCjs(hoistNonReactStatics_cjs);
96
+
97
+ export { hoistNonReactStatics$1 as default };