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.
- package/Button/index.d.ts +4 -0
- package/Button/index.js +40 -0
- package/Button/index.props.d.ts +38 -0
- package/Button/package.json +6 -0
- package/Button/styles.d.ts +15 -0
- package/Button/styles.js +44 -0
- package/Icons/AddWidget.d.ts +3 -0
- package/Icons/Alert.d.ts +3 -0
- package/Icons/Arrow.d.ts +3 -0
- package/Icons/Burger.d.ts +3 -0
- package/Icons/Check.d.ts +3 -0
- package/Icons/CheckBoxChecked.d.ts +3 -0
- package/Icons/CheckBoxDefault.d.ts +3 -0
- package/Icons/Chevron.d.ts +3 -0
- package/Icons/Close.d.ts +3 -0
- package/Icons/CloseRound.d.ts +3 -0
- package/Icons/Edit.d.ts +3 -0
- package/Icons/Error.d.ts +3 -0
- package/Icons/EyeClosed.d.ts +3 -0
- package/Icons/EyeOpen.d.ts +3 -0
- package/Icons/Flag/index.d.ts +3 -0
- package/Icons/Globe.d.ts +3 -0
- package/Icons/Help.d.ts +3 -0
- package/Icons/Info.d.ts +3 -0
- package/Icons/Location.d.ts +3 -0
- package/Icons/Lock.d.ts +3 -0
- package/Icons/Mir.d.ts +3 -0
- package/Icons/More.d.ts +3 -0
- package/Icons/Notes.d.ts +3 -0
- package/Icons/Setting.d.ts +3 -0
- package/Icons/Share.d.ts +3 -0
- package/Icons/SignOut.d.ts +3 -0
- package/Icons/Telegram.d.ts +3 -0
- package/Icons/User.d.ts +3 -0
- package/Icons/package.json +6 -0
- package/Theme/breakpoints.d.ts +17 -0
- package/Theme/breakpoints.js +38 -0
- package/Theme/color.d.ts +29 -0
- package/Theme/color.js +36 -0
- package/Theme/global.d.ts +2 -0
- package/Theme/global.js +14 -0
- package/Theme/index.d.ts +16 -0
- package/Theme/index.js +25 -0
- package/Theme/index.props.d.ts +6 -0
- package/Theme/package.json +6 -0
- package/Theme/themes/buenos_aires.d.ts +6 -0
- package/Theme/themes/buenos_aires.js +42 -0
- package/Theme/themes/default.d.ts +6 -0
- package/Theme/themes/default.js +41 -0
- package/_virtual/_commonjsHelpers.js +46 -0
- package/_virtual/index.js +5 -0
- package/_virtual/index2.js +9 -0
- package/_virtual/index3.js +9 -0
- package/_virtual/index4.js +5 -0
- package/_virtual/jsx-runtime.js +5 -0
- package/_virtual/package.json +6 -0
- package/_virtual/react-is.development.js +5 -0
- package/_virtual/react-is.production.min.js +5 -0
- package/_virtual/react-jsx-runtime.development.js +5 -0
- package/_virtual/react-jsx-runtime.production.min.js +5 -0
- package/_virtual/react.development.js +5 -0
- package/_virtual/react.production.min.js +5 -0
- package/esm/Button/index.d.ts +4 -0
- package/esm/Button/index.js +36 -0
- package/esm/Button/index.props.d.ts +38 -0
- package/esm/Button/styles.d.ts +15 -0
- package/esm/Button/styles.js +41 -0
- package/esm/Icons/AddWidget.d.ts +3 -0
- package/esm/Icons/Alert.d.ts +3 -0
- package/esm/Icons/Arrow.d.ts +3 -0
- package/esm/Icons/Burger.d.ts +3 -0
- package/esm/Icons/Check.d.ts +3 -0
- package/esm/Icons/CheckBoxChecked.d.ts +3 -0
- package/esm/Icons/CheckBoxDefault.d.ts +3 -0
- package/esm/Icons/Chevron.d.ts +3 -0
- package/esm/Icons/Close.d.ts +3 -0
- package/esm/Icons/CloseRound.d.ts +3 -0
- package/esm/Icons/Edit.d.ts +3 -0
- package/esm/Icons/Error.d.ts +3 -0
- package/esm/Icons/EyeClosed.d.ts +3 -0
- package/esm/Icons/EyeOpen.d.ts +3 -0
- package/esm/Icons/Flag/index.d.ts +3 -0
- package/esm/Icons/Globe.d.ts +3 -0
- package/esm/Icons/Help.d.ts +3 -0
- package/esm/Icons/Info.d.ts +3 -0
- package/esm/Icons/Location.d.ts +3 -0
- package/esm/Icons/Lock.d.ts +3 -0
- package/esm/Icons/Mir.d.ts +3 -0
- package/esm/Icons/More.d.ts +3 -0
- package/esm/Icons/Notes.d.ts +3 -0
- package/esm/Icons/Setting.d.ts +3 -0
- package/esm/Icons/Share.d.ts +3 -0
- package/esm/Icons/SignOut.d.ts +3 -0
- package/esm/Icons/Telegram.d.ts +3 -0
- package/esm/Icons/User.d.ts +3 -0
- package/esm/Theme/breakpoints.d.ts +17 -0
- package/esm/Theme/breakpoints.js +34 -0
- package/esm/Theme/color.d.ts +29 -0
- package/esm/Theme/color.js +32 -0
- package/esm/Theme/global.d.ts +2 -0
- package/esm/Theme/global.js +10 -0
- package/esm/Theme/index.d.ts +16 -0
- package/esm/Theme/index.js +22 -0
- package/esm/Theme/index.props.d.ts +6 -0
- package/esm/Theme/themes/buenos_aires.d.ts +6 -0
- package/esm/Theme/themes/buenos_aires.js +39 -0
- package/esm/Theme/themes/default.d.ts +6 -0
- package/esm/Theme/themes/default.js +38 -0
- package/esm/_virtual/_commonjsHelpers.js +40 -0
- package/esm/_virtual/index.js +3 -0
- package/esm/_virtual/index2.js +1 -0
- package/esm/_virtual/index3.js +1 -0
- package/esm/_virtual/index4.js +3 -0
- package/esm/_virtual/jsx-runtime.js +3 -0
- package/esm/_virtual/react-is.development.js +3 -0
- package/esm/_virtual/react-is.production.min.js +3 -0
- package/esm/_virtual/react-jsx-runtime.development.js +3 -0
- package/esm/_virtual/react-jsx-runtime.production.min.js +3 -0
- package/esm/_virtual/react.development.js +3 -0
- package/esm/_virtual/react.production.min.js +3 -0
- package/esm/index.d.ts +2 -0
- package/esm/index.js +2 -0
- package/esm/node_modules/@babel/runtime/helpers/esm/extends.js +16 -0
- package/esm/node_modules/@babel/runtime/helpers/esm/typeof.js +11 -0
- package/esm/node_modules/@emotion/cache/dist/emotion-cache.esm.js +588 -0
- package/esm/node_modules/@emotion/hash/dist/emotion-hash.esm.js +44 -0
- package/esm/node_modules/@emotion/is-prop-valid/dist/emotion-is-prop-valid.esm.js +12 -0
- package/esm/node_modules/@emotion/memoize/dist/emotion-memoize.esm.js +9 -0
- package/esm/node_modules/@emotion/react/_isolated-hnrs/dist/emotion-react-_isolated-hnrs.esm.js +11 -0
- package/esm/node_modules/@emotion/react/dist/emotion-element-c16c303e.esm.js +233 -0
- package/esm/node_modules/@emotion/react/dist/emotion-react.esm.js +390 -0
- package/esm/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.esm.js +27 -0
- package/esm/node_modules/@emotion/serialize/dist/emotion-serialize.esm.js +265 -0
- package/esm/node_modules/@emotion/sheet/dist/emotion-sheet.esm.js +132 -0
- package/esm/node_modules/@emotion/styled/base/dist/emotion-styled-base.esm.js +162 -0
- package/esm/node_modules/@emotion/unitless/dist/emotion-unitless.esm.js +51 -0
- package/esm/node_modules/@emotion/use-insertion-effect-with-fallbacks/dist/emotion-use-insertion-effect-with-fallbacks.esm.js +12 -0
- package/esm/node_modules/@emotion/utils/dist/emotion-utils.esm.js +49 -0
- package/esm/node_modules/@emotion/weak-memoize/dist/emotion-weak-memoize.esm.js +15 -0
- package/esm/node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js +97 -0
- package/esm/node_modules/react/cjs/react-jsx-runtime.development.js +1147 -0
- package/esm/node_modules/react/cjs/react-jsx-runtime.production.min.js +56 -0
- package/esm/node_modules/react/cjs/react.development.js +2402 -0
- package/esm/node_modules/react/cjs/react.production.min.js +354 -0
- package/esm/node_modules/react/index.js +16 -0
- package/esm/node_modules/react/jsx-runtime.js +16 -0
- package/esm/node_modules/react-is/cjs/react-is.development.js +170 -0
- package/esm/node_modules/react-is/cjs/react-is.production.min.js +119 -0
- package/esm/node_modules/react-is/index.js +16 -0
- package/esm/node_modules/stylis/index.js +7 -0
- package/esm/node_modules/stylis/src/Enum.js +21 -0
- package/esm/node_modules/stylis/src/Middleware.js +113 -0
- package/esm/node_modules/stylis/src/Parser.js +184 -0
- package/esm/node_modules/stylis/src/Prefixer.js +197 -0
- package/esm/node_modules/stylis/src/Serializer.js +40 -0
- package/esm/node_modules/stylis/src/Tokenizer.js +252 -0
- package/esm/node_modules/stylis/src/Utility.js +117 -0
- package/esm/node_modules/tslib/tslib.es6.js +525 -0
- package/index.d.ts +2 -0
- package/index.js +10 -0
- 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 };
|