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,3 @@
1
+ import type { HTMLAttributes } from "react";
2
+ declare const _default: import("react").ForwardRefExoticComponent<HTMLAttributes<SVGElement> & import("react").RefAttributes<SVGSVGElement>>;
3
+ export default _default;
@@ -0,0 +1,3 @@
1
+ import type { HTMLAttributes } from "react";
2
+ declare const _default: import("react").ForwardRefExoticComponent<HTMLAttributes<SVGElement> & import("react").RefAttributes<SVGSVGElement>>;
3
+ export default _default;
@@ -0,0 +1,3 @@
1
+ import type { HTMLAttributes } from "react";
2
+ declare const _default: import("react").ForwardRefExoticComponent<HTMLAttributes<SVGElement> & import("react").RefAttributes<SVGSVGElement>>;
3
+ export default _default;
@@ -0,0 +1,3 @@
1
+ import type { HTMLAttributes } from "react";
2
+ declare const _default: import("react").ForwardRefExoticComponent<HTMLAttributes<SVGElement> & import("react").RefAttributes<SVGSVGElement>>;
3
+ export default _default;
@@ -0,0 +1,3 @@
1
+ import type { HTMLAttributes } from "react";
2
+ declare const _default: import("react").ForwardRefExoticComponent<HTMLAttributes<SVGElement> & import("react").RefAttributes<SVGSVGElement>>;
3
+ export default _default;
@@ -0,0 +1,3 @@
1
+ import type { HTMLAttributes } from "react";
2
+ declare const _default: import("react").ForwardRefExoticComponent<HTMLAttributes<SVGElement> & import("react").RefAttributes<SVGSVGElement>>;
3
+ export default _default;
@@ -0,0 +1,3 @@
1
+ import type { HTMLAttributes } from "react";
2
+ declare const _default: import("react").ForwardRefExoticComponent<HTMLAttributes<SVGElement> & import("react").RefAttributes<SVGSVGElement>>;
3
+ export default _default;
@@ -0,0 +1,3 @@
1
+ import type { HTMLAttributes } from "react";
2
+ declare const _default: import("react").ForwardRefExoticComponent<HTMLAttributes<SVGElement> & import("react").RefAttributes<SVGSVGElement>>;
3
+ export default _default;
@@ -0,0 +1,3 @@
1
+ import type { HTMLAttributes } from "react";
2
+ declare const _default: import("react").ForwardRefExoticComponent<HTMLAttributes<SVGElement> & import("react").RefAttributes<SVGSVGElement>>;
3
+ export default _default;
@@ -0,0 +1,3 @@
1
+ import type { HTMLAttributes } from "react";
2
+ declare const _default: import("react").ForwardRefExoticComponent<HTMLAttributes<SVGElement> & import("react").RefAttributes<SVGSVGElement>>;
3
+ export default _default;
@@ -0,0 +1,3 @@
1
+ import type { HTMLAttributes } from "react";
2
+ declare const _default: import("react").ForwardRefExoticComponent<HTMLAttributes<SVGElement> & import("react").RefAttributes<SVGSVGElement>>;
3
+ export default _default;
@@ -0,0 +1,17 @@
1
+ export type Breakpoints = {
2
+ hd: number;
3
+ xl: number;
4
+ lg: number;
5
+ md: number;
6
+ sm: number;
7
+ xs: number;
8
+ };
9
+ export type BreakpointName = keyof Breakpoints;
10
+ export type BreakpointsTheme = {
11
+ values: Breakpoints;
12
+ up: (breakpoint: BreakpointName, isMedial?: boolean) => string;
13
+ under: (breakpoint: BreakpointName, isMedial?: boolean) => string;
14
+ between: ([from, to]: [BreakpointName, BreakpointName], isMedial?: boolean) => string;
15
+ };
16
+ declare const Breakpoints: BreakpointsTheme;
17
+ export default Breakpoints;
@@ -0,0 +1,34 @@
1
+ var Breakpoints = {
2
+ values: {
3
+ hd: 2560,
4
+ xl: 1920,
5
+ lg: 1200,
6
+ md: 1024,
7
+ sm: 640,
8
+ xs: 320
9
+ },
10
+ up: function up(breakpoint, isMedia) {
11
+ if (isMedia === void 0) {
12
+ isMedia = true;
13
+ }
14
+ return "".concat(isMedia ? "@media " : "", "(min-width: ").concat(this.values[breakpoint], "px)");
15
+ },
16
+ under: function under(breakpoint, isMedia) {
17
+ if (isMedia === void 0) {
18
+ isMedia = true;
19
+ }
20
+ return "".concat(isMedia ? "@media " : "", "(max-width: ").concat(this.values[breakpoint] - 1, "px)");
21
+ },
22
+ between: function between(_a, isMedia) {
23
+ var min = _a[0],
24
+ max = _a[1];
25
+ if (isMedia === void 0) {
26
+ isMedia = true;
27
+ }
28
+ var from = this.values[min];
29
+ var to = this.values[max] - 1;
30
+ return "".concat(isMedia ? "@media " : "", "(min-width: ").concat(from, "px) and (max-width: ").concat(to, "px)");
31
+ }
32
+ };
33
+
34
+ export { Breakpoints as default };
@@ -0,0 +1,29 @@
1
+ declare enum Color {
2
+ WHITE = "#fff",
3
+ BLACK = "#000",
4
+ BLUE_1 = "#FBFDFF",
5
+ BLUE_2 = "#F5F9FF",
6
+ BLUE_3 = "#E9F3FF",
7
+ BLUE_4 = "#DAECFF",
8
+ BLUE_5 = "#C9E2FF",
9
+ BLUE_6 = "#B4D5FF",
10
+ BLUE_7 = "#9AC3FD",
11
+ BLUE_8 = "#73ABF8",
12
+ BLUE_9 = "#0974EB",
13
+ BLUE_10 = "#0066DC",
14
+ BLUE_11 = "#006DE3",
15
+ BLUE_12 = "#093266",
16
+ PURPLE_1 = "rgba(252, 253, 255, 1)",
17
+ PURPLE_2 = "rgba(246, 249, 255, 1)",
18
+ PURPLE_3 = "rgba(236, 242, 255, 1)",
19
+ PURPLE_4 = "rgba(224, 233, 255, 1)",
20
+ PURPLE_5 = "rgba(210, 222, 255, 1)",
21
+ PURPLE_6 = "rgba(190, 207, 255, 1)",
22
+ PURPLE_7 = "rgba(166, 188, 255, 1)",
23
+ PURPLE_8 = "rgba(38, 49, 129, .07)",
24
+ PURPLE_9 = "rgba(38, 49, 129, .15)",
25
+ PURPLE_10 = "rgba(38, 49, 129, .3)",
26
+ PURPLE_11 = "rgba(79, 98, 199, .15)",
27
+ PURPLE_12 = "rgba(30, 38, 117, .15)"
28
+ }
29
+ export default Color;
@@ -0,0 +1,32 @@
1
+ var Color;
2
+ (function (Color) {
3
+ Color["WHITE"] = "#fff";
4
+ Color["BLACK"] = "#000";
5
+ Color["BLUE_1"] = "#FBFDFF";
6
+ Color["BLUE_2"] = "#F5F9FF";
7
+ Color["BLUE_3"] = "#E9F3FF";
8
+ Color["BLUE_4"] = "#DAECFF";
9
+ Color["BLUE_5"] = "#C9E2FF";
10
+ Color["BLUE_6"] = "#B4D5FF";
11
+ Color["BLUE_7"] = "#9AC3FD";
12
+ Color["BLUE_8"] = "#73ABF8";
13
+ Color["BLUE_9"] = "#0974EB";
14
+ Color["BLUE_10"] = "#0066DC";
15
+ Color["BLUE_11"] = "#006DE3";
16
+ Color["BLUE_12"] = "#093266";
17
+ Color["PURPLE_1"] = "rgba(252, 253, 255, 1)";
18
+ Color["PURPLE_2"] = "rgba(246, 249, 255, 1)";
19
+ Color["PURPLE_3"] = "rgba(236, 242, 255, 1)";
20
+ Color["PURPLE_4"] = "rgba(224, 233, 255, 1)";
21
+ Color["PURPLE_5"] = "rgba(210, 222, 255, 1)";
22
+ Color["PURPLE_6"] = "rgba(190, 207, 255, 1)";
23
+ Color["PURPLE_7"] = "rgba(166, 188, 255, 1)";
24
+ Color["PURPLE_8"] = "rgba(38, 49, 129, .07)";
25
+ Color["PURPLE_9"] = "rgba(38, 49, 129, .15)";
26
+ Color["PURPLE_10"] = "rgba(38, 49, 129, .3)";
27
+ Color["PURPLE_11"] = "rgba(79, 98, 199, .15)";
28
+ Color["PURPLE_12"] = "rgba(30, 38, 117, .15)";
29
+ })(Color || (Color = {}));
30
+ var Color$1 = Color;
31
+
32
+ export { Color$1 as default };
@@ -0,0 +1,2 @@
1
+ declare const _default: import("@emotion/react/jsx-runtime").JSX.Element;
2
+ export default _default;
@@ -0,0 +1,10 @@
1
+ import { __makeTemplateObject } from '../node_modules/tslib/tslib.es6.js';
2
+ import { jsx } from '../node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.esm.js';
3
+ import { Global, css } from '../node_modules/@emotion/react/dist/emotion-react.esm.js';
4
+
5
+ var globalStyles = jsx(Global, {
6
+ styles: /*#__PURE__*/css(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n html {\n margin: 0;\n padding: 0;\n }\n\n ul,\n ol {\n list-style: none;\n }\n\n input,\n label,\n textarea,\n select,\n button {\n background: none;\n }\n\n a {\n color: inherit;\n }\n\n * {\n box-sizing: border-box;\n border: none;\n outline: none;\n text-decoration: none;\n margin: 0;\n padding: 0;\n }\n\n input,\n textarea,\n select,\n button,\n body {\n margin: 0;\n padding: 0;\n }\n\n h1,\n h2,\n h3,\n h4,\n h5,\n h6 {\n margin: 0;\n color: inherit;\n }\n " + (process.env.NODE_ENV === "production" ? "" : ";label:styles;") + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImdsb2JhbC50c3giXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBR3VDIiwiZmlsZSI6Imdsb2JhbC50c3giLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBfX21ha2VUZW1wbGF0ZU9iamVjdCB9IGZyb20gXCJ0c2xpYlwiO1xuaW1wb3J0IHsganN4IGFzIF9qc3ggfSBmcm9tIFwiQGVtb3Rpb24vcmVhY3QvanN4LXJ1bnRpbWVcIjtcbmltcG9ydCB7IGNzcywgR2xvYmFsIH0gZnJvbSBcIkBlbW90aW9uL3JlYWN0XCI7XG5leHBvcnQgZGVmYXVsdCAoX2pzeChHbG9iYWwsIHsgc3R5bGVzOiBjc3ModGVtcGxhdGVPYmplY3RfMSB8fCAodGVtcGxhdGVPYmplY3RfMSA9IF9fbWFrZVRlbXBsYXRlT2JqZWN0KFtcIlxcbiAgICAgIGh0bWwge1xcbiAgICAgICAgbWFyZ2luOiAwO1xcbiAgICAgICAgcGFkZGluZzogMDtcXG4gICAgICB9XFxuXFxuICAgICAgdWwsXFxuICAgICAgb2wge1xcbiAgICAgICAgbGlzdC1zdHlsZTogbm9uZTtcXG4gICAgICB9XFxuXFxuICAgICAgaW5wdXQsXFxuICAgICAgbGFiZWwsXFxuICAgICAgdGV4dGFyZWEsXFxuICAgICAgc2VsZWN0LFxcbiAgICAgIGJ1dHRvbiB7XFxuICAgICAgICBiYWNrZ3JvdW5kOiBub25lO1xcbiAgICAgIH1cXG5cXG4gICAgICBhIHtcXG4gICAgICAgIGNvbG9yOiBpbmhlcml0O1xcbiAgICAgIH1cXG5cXG4gICAgICAqIHtcXG4gICAgICAgIGJveC1zaXppbmc6IGJvcmRlci1ib3g7XFxuICAgICAgICBib3JkZXI6IG5vbmU7XFxuICAgICAgICBvdXRsaW5lOiBub25lO1xcbiAgICAgICAgdGV4dC1kZWNvcmF0aW9uOiBub25lO1xcbiAgICAgICAgbWFyZ2luOiAwO1xcbiAgICAgICAgcGFkZGluZzogMDtcXG4gICAgICB9XFxuXFxuICAgICAgaW5wdXQsXFxuICAgICAgdGV4dGFyZWEsXFxuICAgICAgc2VsZWN0LFxcbiAgICAgIGJ1dHRvbixcXG4gICAgICBib2R5IHtcXG4gICAgICAgIG1hcmdpbjogMDtcXG4gICAgICAgIHBhZGRpbmc6IDA7XFxuICAgICAgfVxcblxcbiAgICAgIGgxLFxcbiAgICAgIGgyLFxcbiAgICAgIGgzLFxcbiAgICAgIGg0LFxcbiAgICAgIGg1LFxcbiAgICAgIGg2IHtcXG4gICAgICAgIG1hcmdpbjogMDtcXG4gICAgICAgIGNvbG9yOiBpbmhlcml0O1xcbiAgICAgIH1cXG4gICAgXCJdLCBbXCJcXG4gICAgICBodG1sIHtcXG4gICAgICAgIG1hcmdpbjogMDtcXG4gICAgICAgIHBhZGRpbmc6IDA7XFxuICAgICAgfVxcblxcbiAgICAgIHVsLFxcbiAgICAgIG9sIHtcXG4gICAgICAgIGxpc3Qtc3R5bGU6IG5vbmU7XFxuICAgICAgfVxcblxcbiAgICAgIGlucHV0LFxcbiAgICAgIGxhYmVsLFxcbiAgICAgIHRleHRhcmVhLFxcbiAgICAgIHNlbGVjdCxcXG4gICAgICBidXR0b24ge1xcbiAgICAgICAgYmFja2dyb3VuZDogbm9uZTtcXG4gICAgICB9XFxuXFxuICAgICAgYSB7XFxuICAgICAgICBjb2xvcjogaW5oZXJpdDtcXG4gICAgICB9XFxuXFxuICAgICAgKiB7XFxuICAgICAgICBib3gtc2l6aW5nOiBib3JkZXItYm94O1xcbiAgICAgICAgYm9yZGVyOiBub25lO1xcbiAgICAgICAgb3V0bGluZTogbm9uZTtcXG4gICAgICAgIHRleHQtZGVjb3JhdGlvbjogbm9uZTtcXG4gICAgICAgIG1hcmdpbjogMDtcXG4gICAgICAgIHBhZGRpbmc6IDA7XFxuICAgICAgfVxcblxcbiAgICAgIGlucHV0LFxcbiAgICAgIHRleHRhcmVhLFxcbiAgICAgIHNlbGVjdCxcXG4gICAgICBidXR0b24sXFxuICAgICAgYm9keSB7XFxuICAgICAgICBtYXJnaW46IDA7XFxuICAgICAgICBwYWRkaW5nOiAwO1xcbiAgICAgIH1cXG5cXG4gICAgICBoMSxcXG4gICAgICBoMixcXG4gICAgICBoMyxcXG4gICAgICBoNCxcXG4gICAgICBoNSxcXG4gICAgICBoNiB7XFxuICAgICAgICBtYXJnaW46IDA7XFxuICAgICAgICBjb2xvcjogaW5oZXJpdDtcXG4gICAgICB9XFxuICAgIFwiXSkpKSB9KSk7XG52YXIgdGVtcGxhdGVPYmplY3RfMTtcbi8vIyBzb3VyY2VNYXBwaW5nVVJMPWdsb2JhbC5qcy5tYXAiXX0= */")], ["\n html {\n margin: 0;\n padding: 0;\n }\n\n ul,\n ol {\n list-style: none;\n }\n\n input,\n label,\n textarea,\n select,\n button {\n background: none;\n }\n\n a {\n color: inherit;\n }\n\n * {\n box-sizing: border-box;\n border: none;\n outline: none;\n text-decoration: none;\n margin: 0;\n padding: 0;\n }\n\n input,\n textarea,\n select,\n button,\n body {\n margin: 0;\n padding: 0;\n }\n\n h1,\n h2,\n h3,\n h4,\n h5,\n h6 {\n margin: 0;\n color: inherit;\n }\n " + (process.env.NODE_ENV === "production" ? "" : ";label:styles;") + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImdsb2JhbC50c3giXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBR3VDIiwiZmlsZSI6Imdsb2JhbC50c3giLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBfX21ha2VUZW1wbGF0ZU9iamVjdCB9IGZyb20gXCJ0c2xpYlwiO1xuaW1wb3J0IHsganN4IGFzIF9qc3ggfSBmcm9tIFwiQGVtb3Rpb24vcmVhY3QvanN4LXJ1bnRpbWVcIjtcbmltcG9ydCB7IGNzcywgR2xvYmFsIH0gZnJvbSBcIkBlbW90aW9uL3JlYWN0XCI7XG5leHBvcnQgZGVmYXVsdCAoX2pzeChHbG9iYWwsIHsgc3R5bGVzOiBjc3ModGVtcGxhdGVPYmplY3RfMSB8fCAodGVtcGxhdGVPYmplY3RfMSA9IF9fbWFrZVRlbXBsYXRlT2JqZWN0KFtcIlxcbiAgICAgIGh0bWwge1xcbiAgICAgICAgbWFyZ2luOiAwO1xcbiAgICAgICAgcGFkZGluZzogMDtcXG4gICAgICB9XFxuXFxuICAgICAgdWwsXFxuICAgICAgb2wge1xcbiAgICAgICAgbGlzdC1zdHlsZTogbm9uZTtcXG4gICAgICB9XFxuXFxuICAgICAgaW5wdXQsXFxuICAgICAgbGFiZWwsXFxuICAgICAgdGV4dGFyZWEsXFxuICAgICAgc2VsZWN0LFxcbiAgICAgIGJ1dHRvbiB7XFxuICAgICAgICBiYWNrZ3JvdW5kOiBub25lO1xcbiAgICAgIH1cXG5cXG4gICAgICBhIHtcXG4gICAgICAgIGNvbG9yOiBpbmhlcml0O1xcbiAgICAgIH1cXG5cXG4gICAgICAqIHtcXG4gICAgICAgIGJveC1zaXppbmc6IGJvcmRlci1ib3g7XFxuICAgICAgICBib3JkZXI6IG5vbmU7XFxuICAgICAgICBvdXRsaW5lOiBub25lO1xcbiAgICAgICAgdGV4dC1kZWNvcmF0aW9uOiBub25lO1xcbiAgICAgICAgbWFyZ2luOiAwO1xcbiAgICAgICAgcGFkZGluZzogMDtcXG4gICAgICB9XFxuXFxuICAgICAgaW5wdXQsXFxuICAgICAgdGV4dGFyZWEsXFxuICAgICAgc2VsZWN0LFxcbiAgICAgIGJ1dHRvbixcXG4gICAgICBib2R5IHtcXG4gICAgICAgIG1hcmdpbjogMDtcXG4gICAgICAgIHBhZGRpbmc6IDA7XFxuICAgICAgfVxcblxcbiAgICAgIGgxLFxcbiAgICAgIGgyLFxcbiAgICAgIGgzLFxcbiAgICAgIGg0LFxcbiAgICAgIGg1LFxcbiAgICAgIGg2IHtcXG4gICAgICAgIG1hcmdpbjogMDtcXG4gICAgICAgIGNvbG9yOiBpbmhlcml0O1xcbiAgICAgIH1cXG4gICAgXCJdLCBbXCJcXG4gICAgICBodG1sIHtcXG4gICAgICAgIG1hcmdpbjogMDtcXG4gICAgICAgIHBhZGRpbmc6IDA7XFxuICAgICAgfVxcblxcbiAgICAgIHVsLFxcbiAgICAgIG9sIHtcXG4gICAgICAgIGxpc3Qtc3R5bGU6IG5vbmU7XFxuICAgICAgfVxcblxcbiAgICAgIGlucHV0LFxcbiAgICAgIGxhYmVsLFxcbiAgICAgIHRleHRhcmVhLFxcbiAgICAgIHNlbGVjdCxcXG4gICAgICBidXR0b24ge1xcbiAgICAgICAgYmFja2dyb3VuZDogbm9uZTtcXG4gICAgICB9XFxuXFxuICAgICAgYSB7XFxuICAgICAgICBjb2xvcjogaW5oZXJpdDtcXG4gICAgICB9XFxuXFxuICAgICAgKiB7XFxuICAgICAgICBib3gtc2l6aW5nOiBib3JkZXItYm94O1xcbiAgICAgICAgYm9yZGVyOiBub25lO1xcbiAgICAgICAgb3V0bGluZTogbm9uZTtcXG4gICAgICAgIHRleHQtZGVjb3JhdGlvbjogbm9uZTtcXG4gICAgICAgIG1hcmdpbjogMDtcXG4gICAgICAgIHBhZGRpbmc6IDA7XFxuICAgICAgfVxcblxcbiAgICAgIGlucHV0LFxcbiAgICAgIHRleHRhcmVhLFxcbiAgICAgIHNlbGVjdCxcXG4gICAgICBidXR0b24sXFxuICAgICAgYm9keSB7XFxuICAgICAgICBtYXJnaW46IDA7XFxuICAgICAgICBwYWRkaW5nOiAwO1xcbiAgICAgIH1cXG5cXG4gICAgICBoMSxcXG4gICAgICBoMixcXG4gICAgICBoMyxcXG4gICAgICBoNCxcXG4gICAgICBoNSxcXG4gICAgICBoNiB7XFxuICAgICAgICBtYXJnaW46IDA7XFxuICAgICAgICBjb2xvcjogaW5oZXJpdDtcXG4gICAgICB9XFxuICAgIFwiXSkpKSB9KSk7XG52YXIgdGVtcGxhdGVPYmplY3RfMTtcbi8vIyBzb3VyY2VNYXBwaW5nVVJMPWdsb2JhbC5qcy5tYXAiXX0= */")])))
7
+ });
8
+ var templateObject_1;
9
+
10
+ export { globalStyles as default };
@@ -0,0 +1,16 @@
1
+ import type { FC, ReactNode } from "react";
2
+ import type { ThemeProps } from "./index.props";
3
+ export declare const THEMES: {
4
+ DEFAULT: {
5
+ breakpoints: import("./breakpoints").BreakpointsTheme;
6
+ button: import("../Button/index.props").ButtonVariant & import("../Button/index.props").ButtonBase;
7
+ };
8
+ BA: {
9
+ breakpoints: import("./breakpoints").BreakpointsTheme;
10
+ button: import("../Button/index.props").ButtonVariant & import("../Button/index.props").ButtonBase;
11
+ };
12
+ };
13
+ export declare const ThemeProvider: FC<{
14
+ children: ReactNode;
15
+ theme: ThemeProps;
16
+ }>;
@@ -0,0 +1,22 @@
1
+ import { jsxs } from '../node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.esm.js';
2
+ import '../node_modules/@emotion/react/dist/emotion-react.esm.js';
3
+ import globalStyles from './global.js';
4
+ import { THEME_DEFAULT } from './themes/default.js';
5
+ import { THEME_BA } from './themes/buenos_aires.js';
6
+ import { a as ThemeProvider$1 } from '../node_modules/@emotion/react/dist/emotion-element-c16c303e.esm.js';
7
+
8
+ var THEMES = {
9
+ DEFAULT: THEME_DEFAULT,
10
+ BA: THEME_BA
11
+ };
12
+ var ThemeProvider = function ThemeProvider(_a) {
13
+ var children = _a.children,
14
+ _b = _a.theme,
15
+ theme = _b === void 0 ? THEME_DEFAULT : _b;
16
+ return jsxs(ThemeProvider$1, {
17
+ theme: theme,
18
+ children: [globalStyles, children]
19
+ });
20
+ };
21
+
22
+ export { THEMES, ThemeProvider };
@@ -0,0 +1,6 @@
1
+ import type { BreakpointsTheme } from "./breakpoints";
2
+ import type { ButtonBase, ButtonVariant } from "../Button/index.props";
3
+ export type ThemeProps = {
4
+ button: ButtonVariant & ButtonBase;
5
+ breakpoints: BreakpointsTheme;
6
+ };
@@ -0,0 +1,6 @@
1
+ import type { ButtonBase, ButtonVariant } from "../../Button/index.props";
2
+ export declare const ButtonBA: ButtonVariant & ButtonBase;
3
+ export declare const THEME_BA: {
4
+ breakpoints: import("../breakpoints").BreakpointsTheme;
5
+ button: ButtonVariant & ButtonBase;
6
+ };
@@ -0,0 +1,39 @@
1
+ import Color from '../color.js';
2
+ import Breakpoints from '../breakpoints.js';
3
+
4
+ var ButtonBA = {
5
+ base: {
6
+ color: Color.BLACK,
7
+ borderRadius: "26px",
8
+ border: "none"
9
+ },
10
+ primary: {
11
+ normal: {
12
+ backgroundColor: Color.PURPLE_9,
13
+ borderColor: Color.PURPLE_9
14
+ },
15
+ hover: {
16
+ backgroundColor: Color.PURPLE_10,
17
+ borderColor: Color.PURPLE_10
18
+ },
19
+ focus: {
20
+ backgroundColor: Color.PURPLE_10,
21
+ borderColor: Color.PURPLE_10
22
+ },
23
+ active: {
24
+ backgroundColor: Color.PURPLE_10,
25
+ borderColor: Color.PURPLE_10
26
+ },
27
+ disabled: {
28
+ color: Color.PURPLE_10,
29
+ backgroundColor: Color.PURPLE_8,
30
+ borderColor: Color.PURPLE_8
31
+ }
32
+ }
33
+ };
34
+ var THEME_BA = {
35
+ breakpoints: Breakpoints,
36
+ button: ButtonBA
37
+ };
38
+
39
+ export { ButtonBA, THEME_BA };
@@ -0,0 +1,6 @@
1
+ import type { ButtonBase, ButtonVariant } from "../../Button/index.props";
2
+ export declare const ButtonDefault: ButtonVariant & ButtonBase;
3
+ export declare const THEME_DEFAULT: {
4
+ breakpoints: import("../breakpoints").BreakpointsTheme;
5
+ button: ButtonVariant & ButtonBase;
6
+ };
@@ -0,0 +1,38 @@
1
+ import Color from '../color.js';
2
+ import Breakpoints from '../breakpoints.js';
3
+
4
+ var ButtonDefault = {
5
+ base: {
6
+ color: Color.WHITE,
7
+ borderRadius: "26px"
8
+ },
9
+ primary: {
10
+ normal: {
11
+ backgroundColor: Color.BLUE_9,
12
+ borderColor: Color.BLUE_9
13
+ },
14
+ hover: {
15
+ backgroundColor: Color.BLUE_10,
16
+ borderColor: Color.BLUE_10
17
+ },
18
+ focus: {
19
+ backgroundColor: Color.BLUE_10,
20
+ borderColor: Color.BLUE_10
21
+ },
22
+ active: {
23
+ backgroundColor: Color.BLUE_10,
24
+ borderColor: Color.BLUE_10
25
+ },
26
+ disabled: {
27
+ color: Color.BLUE_7,
28
+ backgroundColor: Color.BLUE_4,
29
+ borderColor: Color.BLUE_4
30
+ }
31
+ }
32
+ };
33
+ var THEME_DEFAULT = {
34
+ breakpoints: Breakpoints,
35
+ button: ButtonDefault
36
+ };
37
+
38
+ export { ButtonDefault, THEME_DEFAULT };
@@ -0,0 +1,40 @@
1
+ var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
2
+
3
+ function getDefaultExportFromCjs (x) {
4
+ return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;
5
+ }
6
+
7
+ function getDefaultExportFromNamespaceIfPresent (n) {
8
+ return n && Object.prototype.hasOwnProperty.call(n, 'default') ? n['default'] : n;
9
+ }
10
+
11
+ function getDefaultExportFromNamespaceIfNotNamed (n) {
12
+ return n && Object.prototype.hasOwnProperty.call(n, 'default') && Object.keys(n).length === 1 ? n['default'] : n;
13
+ }
14
+
15
+ function getAugmentedNamespace(n) {
16
+ if (n.__esModule) return n;
17
+ var f = n.default;
18
+ if (typeof f == "function") {
19
+ var a = function a () {
20
+ if (this instanceof a) {
21
+ return Reflect.construct(f, arguments, this.constructor);
22
+ }
23
+ return f.apply(this, arguments);
24
+ };
25
+ a.prototype = f.prototype;
26
+ } else a = {};
27
+ Object.defineProperty(a, '__esModule', {value: true});
28
+ Object.keys(n).forEach(function (k) {
29
+ var d = Object.getOwnPropertyDescriptor(n, k);
30
+ Object.defineProperty(a, k, d.get ? d : {
31
+ enumerable: true,
32
+ get: function () {
33
+ return n[k];
34
+ }
35
+ });
36
+ });
37
+ return a;
38
+ }
39
+
40
+ export { commonjsGlobal, getAugmentedNamespace, getDefaultExportFromCjs, getDefaultExportFromNamespaceIfNotNamed, getDefaultExportFromNamespaceIfPresent };
@@ -0,0 +1,3 @@
1
+ var react = {exports: {}};
2
+
3
+ export { react as __module };
@@ -0,0 +1 @@
1
+ export { r as default } from '../node_modules/react-is/index.js';
@@ -0,0 +1 @@
1
+ export { r as default } from '../node_modules/react/index.js';
@@ -0,0 +1,3 @@
1
+ var reactIs = {exports: {}};
2
+
3
+ export { reactIs as __module };
@@ -0,0 +1,3 @@
1
+ var jsxRuntime = {exports: {}};
2
+
3
+ export { jsxRuntime as __module };
@@ -0,0 +1,3 @@
1
+ var reactIs_development = {};
2
+
3
+ export { reactIs_development as __exports };
@@ -0,0 +1,3 @@
1
+ var reactIs_production_min = {};
2
+
3
+ export { reactIs_production_min as __exports };
@@ -0,0 +1,3 @@
1
+ var reactJsxRuntime_development = {};
2
+
3
+ export { reactJsxRuntime_development as __exports };
@@ -0,0 +1,3 @@
1
+ var reactJsxRuntime_production_min = {};
2
+
3
+ export { reactJsxRuntime_production_min as __exports };
@@ -0,0 +1,3 @@
1
+ var react_development = {exports: {}};
2
+
3
+ export { react_development as __module };
@@ -0,0 +1,3 @@
1
+ var react_production_min = {};
2
+
3
+ export { react_production_min as __exports };
package/esm/index.d.ts ADDED
@@ -0,0 +1,2 @@
1
+ export { default as Button } from "./Button";
2
+ export { THEMES, ThemeProvider } from "./Theme";
package/esm/index.js ADDED
@@ -0,0 +1,2 @@
1
+ export { default as Button } from './Button/index.js';
2
+ export { THEMES, ThemeProvider } from './Theme/index.js';
@@ -0,0 +1,16 @@
1
+ function _extends() {
2
+ _extends = Object.assign ? Object.assign.bind() : function (target) {
3
+ for (var i = 1; i < arguments.length; i++) {
4
+ var source = arguments[i];
5
+ for (var key in source) {
6
+ if (Object.prototype.hasOwnProperty.call(source, key)) {
7
+ target[key] = source[key];
8
+ }
9
+ }
10
+ }
11
+ return target;
12
+ };
13
+ return _extends.apply(this, arguments);
14
+ }
15
+
16
+ export { _extends as default };
@@ -0,0 +1,11 @@
1
+ function _typeof(o) {
2
+ "@babel/helpers - typeof";
3
+
4
+ return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
5
+ return typeof o;
6
+ } : function (o) {
7
+ return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
8
+ }, _typeof(o);
9
+ }
10
+
11
+ export { _typeof as default };