@invoicebox/ui 0.1.0-alpha.42 → 0.1.0-alpha.44

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.
@@ -0,0 +1,6 @@
1
+ import type { StoryObj } from '@storybook/react';
2
+ declare const meta: {
3
+ title: string;
4
+ };
5
+ export default meta;
6
+ export declare const Installation: StoryObj;
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports["default"] = exports.Installation = void 0;
7
+ var _markdownToJsx = _interopRequireDefault(require("markdown-to-jsx"));
8
+ var _Typography = require("../Typography");
9
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
10
+ var meta = {
11
+ title: 'common/Calendar'
12
+ };
13
+ var _default = exports["default"] = meta;
14
+ var Installation = exports.Installation = {
15
+ render: function render() {
16
+ return /*#__PURE__*/React.createElement(_Typography.Typography, {
17
+ variant: "bodyL"
18
+ }, /*#__PURE__*/React.createElement(_markdownToJsx["default"], null, "\n### \u0423\u0441\u0442\u0430\u043D\u043E\u0432\u043A\u0430\n\n\u0418\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0435\u0442\u0441\u044F \u0431\u0438\u0431\u043B\u0438\u043E\u0442\u0435\u043A\u0430 [react-calendar](https://github.com/wojtekmaj/react-calendar).\n\u0414\u043B\u044F \u043A\u043E\u0440\u0440\u0435\u043A\u0442\u043D\u043E\u0439 \u0440\u0430\u0431\u043E\u0442\u044B \u043D\u0435\u043E\u0431\u0445\u043E\u0434\u0438\u043C\u043E \u043F\u043E\u0434\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0441\u0442\u0438\u043B\u0438.\n\n```ts\nimport 'react-calendar/dist/Calendar.css';\nimport '@invoicebox/ui/dist/components/common/Calendar/index.css';\n```\n"));
19
+ }
20
+ };
@@ -0,0 +1,81 @@
1
+ .react-calendar {
2
+ border: none;
3
+ width: 240px;
4
+ min-width: 210px;
5
+ background: transparent;
6
+
7
+ @media (max-width: 320px) {
8
+ width: 225px;
9
+ }
10
+ }
11
+
12
+ /* navigation block */
13
+
14
+ .react-calendar__navigation {
15
+ margin-bottom: 0;
16
+ }
17
+
18
+ /* navigation arrow */
19
+
20
+ .react-calendar__navigation__arrow {
21
+ font-size: 24px;
22
+ background-color: transparent !important;
23
+ color: #353f47;
24
+ }
25
+
26
+ .react-calendar__navigation__arrow:disabled {
27
+ opacity: 0.4;
28
+ cursor: default;
29
+ }
30
+
31
+ .react-calendar__navigation__arrow:hover:not([disabled]) {
32
+ opacity: 0.6;
33
+ }
34
+
35
+ /* navigation label */
36
+
37
+ .react-calendar__navigation__label {
38
+ font-size: 14px;
39
+ background-color: transparent !important;
40
+ cursor: default;
41
+ }
42
+
43
+ /* weekdays */
44
+
45
+ .react-calendar__month-view__weekdays__weekday {
46
+ color: rgba(53, 63, 71, 0.4);
47
+ font-size: 12px;
48
+ font-weight: 400;
49
+ }
50
+
51
+ .react-calendar__month-view__weekdays__weekday abbr {
52
+ text-decoration: none;
53
+ }
54
+
55
+ /* day */
56
+
57
+ .react-calendar__tile {
58
+ font-size: 12px;
59
+ color: rgba(53, 63, 71, 0.7);
60
+ background-color: transparent !important;
61
+ padding: 4px 6.6667px;
62
+ border-radius: 6px;
63
+ }
64
+
65
+ .react-calendar__tile:disabled {
66
+ opacity: 0.4;
67
+ cursor: default;
68
+ }
69
+
70
+ .react-calendar__tile:hover:not([disabled]) {
71
+ opacity: 0.6;
72
+ }
73
+
74
+ .react-calendar__tile--active {
75
+ background-color: #fad247 !important;
76
+ color: #353f47;
77
+ }
78
+
79
+ .react-calendar__tile--active:hover {
80
+ opacity: 1 !important;
81
+ }
@@ -0,0 +1,8 @@
1
+ import { FC } from 'react';
2
+ export type TProps = {
3
+ onChange: (value: Date) => void;
4
+ value: null | Date;
5
+ minDate?: Date;
6
+ maxDate?: Date;
7
+ };
8
+ export declare const Calendar: FC<TProps>;
@@ -0,0 +1,32 @@
1
+ "use strict";
2
+
3
+ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
4
+ Object.defineProperty(exports, "__esModule", {
5
+ value: true
6
+ });
7
+ exports.Calendar = void 0;
8
+ var _react = _interopRequireWildcard(require("react"));
9
+ var _reactCalendar = _interopRequireDefault(require("react-calendar"));
10
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
11
+ function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
12
+ function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { "default": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n["default"] = e, t && t.set(e, n), n; }
13
+ var Calendar = exports.Calendar = function Calendar(_ref) {
14
+ var onChange = _ref.onChange,
15
+ value = _ref.value,
16
+ minDate = _ref.minDate,
17
+ maxDate = _ref.maxDate;
18
+ var handleChange = (0, _react.useCallback)(function (newValue) {
19
+ onChange(newValue);
20
+ }, [onChange]);
21
+ return /*#__PURE__*/_react["default"].createElement(_reactCalendar["default"], {
22
+ locale: "ru",
23
+ minDate: minDate,
24
+ maxDate: maxDate,
25
+ showNeighboringMonth: false,
26
+ minDetail: "month",
27
+ next2Label: null,
28
+ prev2Label: null,
29
+ onChange: handleChange,
30
+ value: value
31
+ });
32
+ };
@@ -0,0 +1,7 @@
1
+ import type { Meta, StoryObj } from '@storybook/react';
2
+ import { Calendar } from '.';
3
+ import 'react-calendar/dist/Calendar.css';
4
+ import './index.css';
5
+ declare const meta: Meta<typeof Calendar>;
6
+ export default meta;
7
+ export declare const Default: StoryObj<typeof Calendar>;
@@ -0,0 +1,55 @@
1
+ "use strict";
2
+
3
+ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
4
+ Object.defineProperty(exports, "__esModule", {
5
+ value: true
6
+ });
7
+ exports["default"] = exports.Default = void 0;
8
+ var _react = _interopRequireWildcard(require("react"));
9
+ var _addonActions = require("@storybook/addon-actions");
10
+ var _ = require(".");
11
+ require("react-calendar/dist/Calendar.css");
12
+ require("./index.css");
13
+ function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
14
+ function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { "default": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n["default"] = e, t && t.set(e, n), n; }
15
+ function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
16
+ function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
17
+ function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
18
+ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
19
+ function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t["return"] && (u = t["return"](), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
20
+ function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
21
+ var meta = {
22
+ title: 'common/Calendar',
23
+ component: _.Calendar,
24
+ tags: ['autodocs']
25
+ };
26
+ var _default = exports["default"] = meta;
27
+ var Component = function Component(_ref) {
28
+ var maxDate = _ref.maxDate,
29
+ minDate = _ref.minDate;
30
+ var _useState = (0, _react.useState)(null),
31
+ _useState2 = _slicedToArray(_useState, 2),
32
+ value = _useState2[0],
33
+ setValue = _useState2[1];
34
+ var handleChange = (0, _react.useCallback)(function (date) {
35
+ setValue(date);
36
+ (0, _addonActions.action)('change')(date);
37
+ }, []);
38
+ return /*#__PURE__*/_react["default"].createElement(_.Calendar, {
39
+ value: value,
40
+ onChange: handleChange,
41
+ maxDate: maxDate ? new Date(maxDate) : undefined,
42
+ minDate: minDate ? new Date(minDate) : undefined
43
+ });
44
+ };
45
+ var maxDate = new Date();
46
+ maxDate.setMonth(maxDate.getMonth() + 1);
47
+ var minDate = new Date();
48
+ minDate.setMonth(minDate.getMonth() - 1);
49
+ var Default = exports.Default = {
50
+ render: Component,
51
+ args: {
52
+ maxDate: maxDate,
53
+ minDate: minDate
54
+ }
55
+ };
@@ -0,0 +1 @@
1
+ {"v":"5.5.7","meta":{"g":"LottieFiles AE 0.1.20","a":"","k":"","d":"","tc":""},"fr":30,"ip":0,"op":90,"w":1000,"h":1000,"nm":"Invoicebox-Sign-Color","ddd":0,"assets":[],"layers":[{"ddd":0,"ind":1,"ty":4,"nm":"Glas L","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":1,"k":[{"i":{"x":[0.667],"y":[1]},"o":{"x":[0.333],"y":[0]},"t":0,"s":[-279]},{"i":{"x":[0.667],"y":[1]},"o":{"x":[0.167],"y":[0]},"t":21,"s":[0]},{"i":{"x":[0.667],"y":[1]},"o":{"x":[0.333],"y":[0]},"t":60,"s":[0]},{"t":80,"s":[279]}],"ix":10},"p":{"a":0,"k":[500.5,499.5,0],"ix":2},"a":{"a":0,"k":[500.5,499.5,0],"ix":1},"s":{"a":1,"k":[{"i":{"x":[0.667,0.667,0.667],"y":[1,1,1]},"o":{"x":[0.333,0.333,0.333],"y":[0,0,0]},"t":0,"s":[0,0,100]},{"i":{"x":[0.667,0.667,0.667],"y":[1,1,1]},"o":{"x":[0.167,0.167,0.167],"y":[0,0,0]},"t":21,"s":[100,100,100]},{"i":{"x":[0.667,0.667,0.667],"y":[1,1,1]},"o":{"x":[0.333,0.333,0.333],"y":[0,0,0]},"t":60,"s":[100,100,100]},{"t":80,"s":[0,0,100]}],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":1,"k":[{"i":{"x":0.667,"y":1},"o":{"x":0.333,"y":0},"t":39,"s":[{"i":[[30.868,0],[23.552,-23.547],[-47.105,-47.105],[-30.87,0],[-23.553,23.547],[47.107,47.105]],"o":[[-30.87,0],[-47.105,47.105],[23.552,23.547],[30.868,0],[47.107,-47.105],[-23.553,-23.547]],"v":[[0,-120.624],[-85.292,-85.292],[-85.292,85.293],[0,120.624],[85.29,85.293],[85.29,-85.292]],"c":true}]},{"i":{"x":0.667,"y":1},"o":{"x":0.333,"y":0},"t":43,"s":[{"i":[[30.864,0.731],[23.659,-9.648],[-46.879,-21.523],[-30.866,-0.731],[-23.66,9.648],[46.881,21.523]],"o":[[-30.866,-0.731],[-47.32,19.296],[23.439,10.761],[30.864,0.731],[47.322,-19.296],[-23.44,-10.761]],"v":[[0.536,-41.244],[-84.91,-27.955],[-85.71,45.963],[-0.595,63.293],[84.85,50.004],[85.65,-23.914]],"c":true}]},{"t":47,"s":[{"i":[[30.868,0],[23.552,-23.547],[-47.105,-47.105],[-30.87,0],[-23.553,23.547],[47.107,47.105]],"o":[[-30.87,0],[-47.105,47.105],[23.552,23.547],[30.868,0],[47.107,-47.105],[-23.553,-23.547]],"v":[[0,-120.624],[-85.292,-85.292],[-85.292,85.293],[0,120.624],[85.29,85.293],[85.29,-85.292]],"c":true}]}],"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ind":1,"ty":"sh","ix":2,"ks":{"a":1,"k":[{"i":{"x":0.667,"y":1},"o":{"x":0.333,"y":0},"t":39,"s":[{"i":[[-15.306,0],[-10.826,-10.828],[0,-15.307],[10.825,-10.827],[15.303,0],[10.823,10.818],[0,15.305],[-10.823,10.827]],"o":[[15.303,0],[10.823,10.818],[0,15.305],[-10.824,10.818],[-15.306,0],[-10.823,-10.827],[0,-15.307],[10.823,-10.819]],"v":[[0,-57.305],[40.518,-40.513],[57.301,0.001],[40.516,40.522],[0,57.306],[-40.518,40.522],[-57.303,0.001],[-40.518,-40.522]],"c":true}]},{"i":{"x":0.667,"y":1},"o":{"x":0.333,"y":0},"t":43,"s":[{"i":[[-15.306,0],[-10.826,0],[0,0],[10.825,0],[15.303,0],[10.823,0],[0,0],[-10.823,0]],"o":[[15.303,0],[10.823,0],[0,0],[-10.824,0],[-15.306,0],[-10.823,0],[0,0],[10.823,0]],"v":[[-1,10.024],[39.518,10.024],[56.301,10.024],[39.516,10.024],[-1,10.024],[-41.518,10.024],[-58.303,10.024],[-41.518,10.024]],"c":true}]},{"t":47,"s":[{"i":[[-15.306,0],[-10.826,-10.828],[0,-15.307],[10.825,-10.827],[15.303,0],[10.823,10.818],[0,15.305],[-10.823,10.827]],"o":[[15.303,0],[10.823,10.818],[0,15.305],[-10.824,10.818],[-15.306,0],[-10.823,-10.827],[0,-15.307],[10.823,-10.819]],"v":[[0,-57.305],[40.518,-40.513],[57.301,0.001],[40.516,40.522],[0,57.306],[-40.518,40.522],[-57.303,0.001],[-40.518,-40.522]],"c":true}]}],"ix":2},"nm":"Path 2","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"mm","mm":1,"nm":"Merge Paths 1","mn":"ADBE Vector Filter - Merge","hd":false},{"ty":"fl","c":{"a":0,"k":[0.134852106431,0.138380791159,0.184372441909,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[254.653,489.476],"ix":2},"a":{"a":1,"k":[{"i":{"x":0.667,"y":1},"o":{"x":0.333,"y":0},"t":0,"s":[780,0],"to":[-130,0],"ti":[130,0]},{"i":{"x":0.667,"y":0.667},"o":{"x":0.333,"y":0.333},"t":21,"s":[0,0],"to":[0,0],"ti":[0,0]},{"i":{"x":0.667,"y":1},"o":{"x":0.333,"y":0},"t":60,"s":[0,0],"to":[130,0],"ti":[-130,0]},{"t":80,"s":[780,0]}],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 2","np":4,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":450,"st":0,"bm":0},{"ddd":0,"ind":2,"ty":4,"nm":"smil","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":1,"k":[{"i":{"x":[0.667],"y":[1]},"o":{"x":[0.333],"y":[0]},"t":4,"s":[-279]},{"i":{"x":[0.667],"y":[1]},"o":{"x":[0.167],"y":[0]},"t":30,"s":[0]},{"i":{"x":[0.667],"y":[1]},"o":{"x":[0.333],"y":[0]},"t":39,"s":[0]},{"i":{"x":[0.667],"y":[1]},"o":{"x":[0.333],"y":[0]},"t":43,"s":[19]},{"i":{"x":[0.667],"y":[1]},"o":{"x":[0.333],"y":[0]},"t":47,"s":[0]},{"i":{"x":[0.667],"y":[1]},"o":{"x":[0.333],"y":[0]},"t":63,"s":[0]},{"t":83,"s":[279]}],"ix":10},"p":{"a":0,"k":[500.5,499.5,0],"ix":2},"a":{"a":0,"k":[500.5,499.5,0],"ix":1},"s":{"a":1,"k":[{"i":{"x":[0.667,0.667,0.667],"y":[1,1,1]},"o":{"x":[0.333,0.333,0.333],"y":[0,0,0]},"t":4,"s":[0,0,100]},{"i":{"x":[0.667,0.667,0.667],"y":[1,1,1]},"o":{"x":[0.167,0.167,0.167],"y":[0,0,0]},"t":30,"s":[100,100,100]},{"i":{"x":[0.667,0.667,0.667],"y":[1,1,1]},"o":{"x":[0.333,0.333,0.333],"y":[0,0,0]},"t":63,"s":[100,100,100]},{"t":83,"s":[0,0,100]}],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,0],[32.06,4.125],[19.359,22.884],[-8.376,7.095],[-7.2,-4.858],[0,0],[-17.873,3.06],[-9.496,12.608],[-17.776,-13.382],[13.395,-17.77],[3.166,-2.298]],"o":[[-28.296,20.312],[-32.214,-3.754],[-7.084,-8.386],[6.968,-5.884],[0,0],[17.062,11.533],[18.047,-2.893],[13.375,-17.771],[17.758,13.383],[-2.47,3.289],[0,0]],"v":[[78.769,26.144],[-16.734,50.82],[-97.664,7.972],[-95.329,-20.055],[-71.356,-21.365],[-70.623,-20.868],[-15.576,-8.461],[27.003,-33.617],[83.42,-41.563],[91.353,14.845],[82.841,23.234]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.989351519416,0.838442574295,0.020511326135,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[456.162,628.048],"ix":2},"a":{"a":1,"k":[{"i":{"x":0.667,"y":1},"o":{"x":0.333,"y":0},"t":4,"s":[780,0],"to":[-130,0],"ti":[130,0]},{"i":{"x":0.667,"y":0.667},"o":{"x":0.333,"y":0.333},"t":30,"s":[0,0],"to":[0,0],"ti":[0,0]},{"i":{"x":0.667,"y":1},"o":{"x":0.333,"y":0},"t":63,"s":[0,0],"to":[130,0],"ti":[-130,0]},{"t":83,"s":[780,0]}],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 1","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":4,"op":454,"st":4,"bm":0},{"ddd":0,"ind":3,"ty":4,"nm":"Invoicebox-Sign-Color Outlines","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":1,"k":[{"i":{"x":[0.667],"y":[1]},"o":{"x":[0.333],"y":[0]},"t":2,"s":[-279]},{"t":28,"s":[0],"h":1},{"i":{"x":[0.667],"y":[1]},"o":{"x":[0.333],"y":[0]},"t":67,"s":[0]},{"t":87,"s":[279]}],"ix":10},"p":{"a":0,"k":[500.5,499.5,0],"ix":2},"a":{"a":0,"k":[500.5,499.5,0],"ix":1},"s":{"a":1,"k":[{"i":{"x":[0.667,0.667,0.667],"y":[1,1,1]},"o":{"x":[0.333,0.333,0.333],"y":[0,0,0]},"t":2,"s":[0,0,100]},{"i":{"x":[0.667,0.667,0.667],"y":[1,1,1]},"o":{"x":[0.167,0.167,0.167],"y":[0,0,0]},"t":28,"s":[100,100,100]},{"i":{"x":[0.667,0.667,0.667],"y":[1,1,1]},"o":{"x":[0.333,0.333,0.333],"y":[0,0,0]},"t":67,"s":[100,100,100]},{"t":87,"s":[0,0,100]}],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[86.983,0],[0,-86.981],[-86.983,0],[0,86.991]],"o":[[-86.983,0],[0,86.991],[86.983,0],[0,-86.981]],"v":[[0.001,-157.493],[-157.497,-0.005],[0.001,157.493],[157.497,-0.005]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ind":1,"ty":"sh","ix":2,"ks":{"a":0,"k":{"i":[[-45.481,0],[0,-45.473],[45.481,0],[0,45.484]],"o":[[45.481,0],[0,45.484],[-45.481,0],[0,-45.473]],"v":[[0.001,-82.479],[82.482,-0.005],[0.001,82.479],[-82.483,-0.005]],"c":true},"ix":2},"nm":"Path 2","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"mm","mm":1,"nm":"Merge Paths 1","mn":"ADBE Vector Filter - Merge","hd":false},{"ty":"fl","c":{"a":0,"k":[0.989351519416,0.838442574295,0.020511326135,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[708.471,477.61],"ix":2},"a":{"a":1,"k":[{"i":{"x":0.667,"y":1},"o":{"x":0.333,"y":0},"t":2,"s":[1409.904,0],"to":[-207.106,0],"ti":[94.769,0]},{"t":28,"s":[0,0],"h":1},{"i":{"x":0.667,"y":1},"o":{"x":0.333,"y":0},"t":67,"s":[0,0],"to":[0,0],"ti":[76.992,0]},{"t":87,"s":[1409.904,0]}],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 3","np":4,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":2,"op":452,"st":2,"bm":0}],"markers":[]}
@@ -7,864 +7,8 @@ exports.InvoiceboxLoader = void 0;
7
7
  var _react = _interopRequireDefault(require("react"));
8
8
  var _lottieReact = _interopRequireDefault(require("lottie-react"));
9
9
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
10
- var animation = {
11
- v: "5.5.7",
12
- meta: {
13
- g: "LottieFiles AE 0.1.20",
14
- a: "",
15
- k: "",
16
- d: "",
17
- tc: ""
18
- },
19
- fr: 30,
20
- ip: 0,
21
- op: 90,
22
- w: 1000,
23
- h: 1000,
24
- nm: "Invoicebox-Sign-Color",
25
- ddd: 0,
26
- assets: [],
27
- layers: [{
28
- ddd: 0,
29
- ind: 1,
30
- ty: 4,
31
- nm: "Glas L",
32
- sr: 1,
33
- ks: {
34
- o: {
35
- a: 0,
36
- k: 100,
37
- ix: 11
38
- },
39
- r: {
40
- a: 1,
41
- k: [{
42
- i: {
43
- x: [0.667],
44
- y: [1]
45
- },
46
- o: {
47
- x: [0.333],
48
- y: [0]
49
- },
50
- t: 0,
51
- s: [-279]
52
- }, {
53
- i: {
54
- x: [0.667],
55
- y: [1]
56
- },
57
- o: {
58
- x: [0.167],
59
- y: [0]
60
- },
61
- t: 21,
62
- s: [0]
63
- }, {
64
- i: {
65
- x: [0.667],
66
- y: [1]
67
- },
68
- o: {
69
- x: [0.333],
70
- y: [0]
71
- },
72
- t: 60,
73
- s: [0]
74
- }, {
75
- t: 80,
76
- s: [279]
77
- }],
78
- ix: 10
79
- },
80
- p: {
81
- a: 0,
82
- k: [500.5, 499.5, 0],
83
- ix: 2
84
- },
85
- a: {
86
- a: 0,
87
- k: [500.5, 499.5, 0],
88
- ix: 1
89
- },
90
- s: {
91
- a: 1,
92
- k: [{
93
- i: {
94
- x: [0.667, 0.667, 0.667],
95
- y: [1, 1, 1]
96
- },
97
- o: {
98
- x: [0.333, 0.333, 0.333],
99
- y: [0, 0, 0]
100
- },
101
- t: 0,
102
- s: [0, 0, 100]
103
- }, {
104
- i: {
105
- x: [0.667, 0.667, 0.667],
106
- y: [1, 1, 1]
107
- },
108
- o: {
109
- x: [0.167, 0.167, 0.167],
110
- y: [0, 0, 0]
111
- },
112
- t: 21,
113
- s: [100, 100, 100]
114
- }, {
115
- i: {
116
- x: [0.667, 0.667, 0.667],
117
- y: [1, 1, 1]
118
- },
119
- o: {
120
- x: [0.333, 0.333, 0.333],
121
- y: [0, 0, 0]
122
- },
123
- t: 60,
124
- s: [100, 100, 100]
125
- }, {
126
- t: 80,
127
- s: [0, 0, 100]
128
- }],
129
- ix: 6
130
- }
131
- },
132
- ao: 0,
133
- shapes: [{
134
- ty: "gr",
135
- it: [{
136
- ind: 0,
137
- ty: "sh",
138
- ix: 1,
139
- ks: {
140
- a: 1,
141
- k: [{
142
- i: {
143
- x: 0.667,
144
- y: 1
145
- },
146
- o: {
147
- x: 0.333,
148
- y: 0
149
- },
150
- t: 39,
151
- s: [{
152
- i: [[30.868, 0], [23.552, -23.547], [-47.105, -47.105], [-30.87, 0], [-23.553, 23.547], [47.107, 47.105]],
153
- o: [[-30.87, 0], [-47.105, 47.105], [23.552, 23.547], [30.868, 0], [47.107, -47.105], [-23.553, -23.547]],
154
- v: [[0, -120.624], [-85.292, -85.292], [-85.292, 85.293], [0, 120.624], [85.29, 85.293], [85.29, -85.292]],
155
- c: true
156
- }]
157
- }, {
158
- i: {
159
- x: 0.667,
160
- y: 1
161
- },
162
- o: {
163
- x: 0.333,
164
- y: 0
165
- },
166
- t: 43,
167
- s: [{
168
- i: [[30.864, 0.731], [23.659, -9.648], [-46.879, -21.523], [-30.866, -0.731], [-23.66, 9.648], [46.881, 21.523]],
169
- o: [[-30.866, -0.731], [-47.32, 19.296], [23.439, 10.761], [30.864, 0.731], [47.322, -19.296], [-23.44, -10.761]],
170
- v: [[0.536, -41.244], [-84.91, -27.955], [-85.71, 45.963], [-0.595, 63.293], [84.85, 50.004], [85.65, -23.914]],
171
- c: true
172
- }]
173
- }, {
174
- t: 47,
175
- s: [{
176
- i: [[30.868, 0], [23.552, -23.547], [-47.105, -47.105], [-30.87, 0], [-23.553, 23.547], [47.107, 47.105]],
177
- o: [[-30.87, 0], [-47.105, 47.105], [23.552, 23.547], [30.868, 0], [47.107, -47.105], [-23.553, -23.547]],
178
- v: [[0, -120.624], [-85.292, -85.292], [-85.292, 85.293], [0, 120.624], [85.29, 85.293], [85.29, -85.292]],
179
- c: true
180
- }]
181
- }],
182
- ix: 2
183
- },
184
- nm: "Path 1",
185
- mn: "ADBE Vector Shape - Group",
186
- hd: false
187
- }, {
188
- ind: 1,
189
- ty: "sh",
190
- ix: 2,
191
- ks: {
192
- a: 1,
193
- k: [{
194
- i: {
195
- x: 0.667,
196
- y: 1
197
- },
198
- o: {
199
- x: 0.333,
200
- y: 0
201
- },
202
- t: 39,
203
- s: [{
204
- i: [[-15.306, 0], [-10.826, -10.828], [0, -15.307], [10.825, -10.827], [15.303, 0], [10.823, 10.818], [0, 15.305], [-10.823, 10.827]],
205
- o: [[15.303, 0], [10.823, 10.818], [0, 15.305], [-10.824, 10.818], [-15.306, 0], [-10.823, -10.827], [0, -15.307], [10.823, -10.819]],
206
- v: [[0, -57.305], [40.518, -40.513], [57.301, 0.001], [40.516, 40.522], [0, 57.306], [-40.518, 40.522], [-57.303, 0.001], [-40.518, -40.522]],
207
- c: true
208
- }]
209
- }, {
210
- i: {
211
- x: 0.667,
212
- y: 1
213
- },
214
- o: {
215
- x: 0.333,
216
- y: 0
217
- },
218
- t: 43,
219
- s: [{
220
- i: [[-15.306, 0], [-10.826, 0], [0, 0], [10.825, 0], [15.303, 0], [10.823, 0], [0, 0], [-10.823, 0]],
221
- o: [[15.303, 0], [10.823, 0], [0, 0], [-10.824, 0], [-15.306, 0], [-10.823, 0], [0, 0], [10.823, 0]],
222
- v: [[-1, 10.024], [39.518, 10.024], [56.301, 10.024], [39.516, 10.024], [-1, 10.024], [-41.518, 10.024], [-58.303, 10.024], [-41.518, 10.024]],
223
- c: true
224
- }]
225
- }, {
226
- t: 47,
227
- s: [{
228
- i: [[-15.306, 0], [-10.826, -10.828], [0, -15.307], [10.825, -10.827], [15.303, 0], [10.823, 10.818], [0, 15.305], [-10.823, 10.827]],
229
- o: [[15.303, 0], [10.823, 10.818], [0, 15.305], [-10.824, 10.818], [-15.306, 0], [-10.823, -10.827], [0, -15.307], [10.823, -10.819]],
230
- v: [[0, -57.305], [40.518, -40.513], [57.301, 0.001], [40.516, 40.522], [0, 57.306], [-40.518, 40.522], [-57.303, 0.001], [-40.518, -40.522]],
231
- c: true
232
- }]
233
- }],
234
- ix: 2
235
- },
236
- nm: "Path 2",
237
- mn: "ADBE Vector Shape - Group",
238
- hd: false
239
- }, {
240
- ty: "mm",
241
- mm: 1,
242
- nm: "Merge Paths 1",
243
- mn: "ADBE Vector Filter - Merge",
244
- hd: false
245
- }, {
246
- ty: "fl",
247
- c: {
248
- a: 0,
249
- k: [0.134852106431, 0.138380791159, 0.184372441909, 1],
250
- ix: 4
251
- },
252
- o: {
253
- a: 0,
254
- k: 100,
255
- ix: 5
256
- },
257
- r: 1,
258
- bm: 0,
259
- nm: "Fill 1",
260
- mn: "ADBE Vector Graphic - Fill",
261
- hd: false
262
- }, {
263
- ty: "tr",
264
- p: {
265
- a: 0,
266
- k: [254.653, 489.476],
267
- ix: 2
268
- },
269
- a: {
270
- a: 1,
271
- k: [{
272
- i: {
273
- x: 0.667,
274
- y: 1
275
- },
276
- o: {
277
- x: 0.333,
278
- y: 0
279
- },
280
- t: 0,
281
- s: [780, 0],
282
- to: [-130, 0],
283
- ti: [130, 0]
284
- }, {
285
- i: {
286
- x: 0.667,
287
- y: 0.667
288
- },
289
- o: {
290
- x: 0.333,
291
- y: 0.333
292
- },
293
- t: 21,
294
- s: [0, 0],
295
- to: [0, 0],
296
- ti: [0, 0]
297
- }, {
298
- i: {
299
- x: 0.667,
300
- y: 1
301
- },
302
- o: {
303
- x: 0.333,
304
- y: 0
305
- },
306
- t: 60,
307
- s: [0, 0],
308
- to: [130, 0],
309
- ti: [-130, 0]
310
- }, {
311
- t: 80,
312
- s: [780, 0]
313
- }],
314
- ix: 1
315
- },
316
- s: {
317
- a: 0,
318
- k: [100, 100],
319
- ix: 3
320
- },
321
- r: {
322
- a: 0,
323
- k: 0,
324
- ix: 6
325
- },
326
- o: {
327
- a: 0,
328
- k: 100,
329
- ix: 7
330
- },
331
- sk: {
332
- a: 0,
333
- k: 0,
334
- ix: 4
335
- },
336
- sa: {
337
- a: 0,
338
- k: 0,
339
- ix: 5
340
- },
341
- nm: "Transform"
342
- }],
343
- nm: "Group 2",
344
- np: 4,
345
- cix: 2,
346
- bm: 0,
347
- ix: 1,
348
- mn: "ADBE Vector Group",
349
- hd: false
350
- }],
351
- ip: 0,
352
- op: 450,
353
- st: 0,
354
- bm: 0
355
- }, {
356
- ddd: 0,
357
- ind: 2,
358
- ty: 4,
359
- nm: "smil",
360
- sr: 1,
361
- ks: {
362
- o: {
363
- a: 0,
364
- k: 100,
365
- ix: 11
366
- },
367
- r: {
368
- a: 1,
369
- k: [{
370
- i: {
371
- x: [0.667],
372
- y: [1]
373
- },
374
- o: {
375
- x: [0.333],
376
- y: [0]
377
- },
378
- t: 4,
379
- s: [-279]
380
- }, {
381
- i: {
382
- x: [0.667],
383
- y: [1]
384
- },
385
- o: {
386
- x: [0.167],
387
- y: [0]
388
- },
389
- t: 30,
390
- s: [0]
391
- }, {
392
- i: {
393
- x: [0.667],
394
- y: [1]
395
- },
396
- o: {
397
- x: [0.333],
398
- y: [0]
399
- },
400
- t: 39,
401
- s: [0]
402
- }, {
403
- i: {
404
- x: [0.667],
405
- y: [1]
406
- },
407
- o: {
408
- x: [0.333],
409
- y: [0]
410
- },
411
- t: 43,
412
- s: [19]
413
- }, {
414
- i: {
415
- x: [0.667],
416
- y: [1]
417
- },
418
- o: {
419
- x: [0.333],
420
- y: [0]
421
- },
422
- t: 47,
423
- s: [0]
424
- }, {
425
- i: {
426
- x: [0.667],
427
- y: [1]
428
- },
429
- o: {
430
- x: [0.333],
431
- y: [0]
432
- },
433
- t: 63,
434
- s: [0]
435
- }, {
436
- t: 83,
437
- s: [279]
438
- }],
439
- ix: 10
440
- },
441
- p: {
442
- a: 0,
443
- k: [500.5, 499.5, 0],
444
- ix: 2
445
- },
446
- a: {
447
- a: 0,
448
- k: [500.5, 499.5, 0],
449
- ix: 1
450
- },
451
- s: {
452
- a: 1,
453
- k: [{
454
- i: {
455
- x: [0.667, 0.667, 0.667],
456
- y: [1, 1, 1]
457
- },
458
- o: {
459
- x: [0.333, 0.333, 0.333],
460
- y: [0, 0, 0]
461
- },
462
- t: 4,
463
- s: [0, 0, 100]
464
- }, {
465
- i: {
466
- x: [0.667, 0.667, 0.667],
467
- y: [1, 1, 1]
468
- },
469
- o: {
470
- x: [0.167, 0.167, 0.167],
471
- y: [0, 0, 0]
472
- },
473
- t: 30,
474
- s: [100, 100, 100]
475
- }, {
476
- i: {
477
- x: [0.667, 0.667, 0.667],
478
- y: [1, 1, 1]
479
- },
480
- o: {
481
- x: [0.333, 0.333, 0.333],
482
- y: [0, 0, 0]
483
- },
484
- t: 63,
485
- s: [100, 100, 100]
486
- }, {
487
- t: 83,
488
- s: [0, 0, 100]
489
- }],
490
- ix: 6
491
- }
492
- },
493
- ao: 0,
494
- shapes: [{
495
- ty: "gr",
496
- it: [{
497
- ind: 0,
498
- ty: "sh",
499
- ix: 1,
500
- ks: {
501
- a: 0,
502
- k: {
503
- i: [[0, 0], [32.06, 4.125], [19.359, 22.884], [-8.376, 7.095], [-7.2, -4.858], [0, 0], [-17.873, 3.06], [-9.496, 12.608], [-17.776, -13.382], [13.395, -17.77], [3.166, -2.298]],
504
- o: [[-28.296, 20.312], [-32.214, -3.754], [-7.084, -8.386], [6.968, -5.884], [0, 0], [17.062, 11.533], [18.047, -2.893], [13.375, -17.771], [17.758, 13.383], [-2.47, 3.289], [0, 0]],
505
- v: [[78.769, 26.144], [-16.734, 50.82], [-97.664, 7.972], [-95.329, -20.055], [-71.356, -21.365], [-70.623, -20.868], [-15.576, -8.461], [27.003, -33.617], [83.42, -41.563], [91.353, 14.845], [82.841, 23.234]],
506
- c: true
507
- },
508
- ix: 2
509
- },
510
- nm: "Path 1",
511
- mn: "ADBE Vector Shape - Group",
512
- hd: false
513
- }, {
514
- ty: "fl",
515
- c: {
516
- a: 0,
517
- k: [0.989351519416, 0.838442574295, 0.020511326135, 1],
518
- ix: 4
519
- },
520
- o: {
521
- a: 0,
522
- k: 100,
523
- ix: 5
524
- },
525
- r: 1,
526
- bm: 0,
527
- nm: "Fill 1",
528
- mn: "ADBE Vector Graphic - Fill",
529
- hd: false
530
- }, {
531
- ty: "tr",
532
- p: {
533
- a: 0,
534
- k: [456.162, 628.048],
535
- ix: 2
536
- },
537
- a: {
538
- a: 1,
539
- k: [{
540
- i: {
541
- x: 0.667,
542
- y: 1
543
- },
544
- o: {
545
- x: 0.333,
546
- y: 0
547
- },
548
- t: 4,
549
- s: [780, 0],
550
- to: [-130, 0],
551
- ti: [130, 0]
552
- }, {
553
- i: {
554
- x: 0.667,
555
- y: 0.667
556
- },
557
- o: {
558
- x: 0.333,
559
- y: 0.333
560
- },
561
- t: 30,
562
- s: [0, 0],
563
- to: [0, 0],
564
- ti: [0, 0]
565
- }, {
566
- i: {
567
- x: 0.667,
568
- y: 1
569
- },
570
- o: {
571
- x: 0.333,
572
- y: 0
573
- },
574
- t: 63,
575
- s: [0, 0],
576
- to: [130, 0],
577
- ti: [-130, 0]
578
- }, {
579
- t: 83,
580
- s: [780, 0]
581
- }],
582
- ix: 1
583
- },
584
- s: {
585
- a: 0,
586
- k: [100, 100],
587
- ix: 3
588
- },
589
- r: {
590
- a: 0,
591
- k: 0,
592
- ix: 6
593
- },
594
- o: {
595
- a: 0,
596
- k: 100,
597
- ix: 7
598
- },
599
- sk: {
600
- a: 0,
601
- k: 0,
602
- ix: 4
603
- },
604
- sa: {
605
- a: 0,
606
- k: 0,
607
- ix: 5
608
- },
609
- nm: "Transform"
610
- }],
611
- nm: "Group 1",
612
- np: 2,
613
- cix: 2,
614
- bm: 0,
615
- ix: 1,
616
- mn: "ADBE Vector Group",
617
- hd: false
618
- }],
619
- ip: 4,
620
- op: 454,
621
- st: 4,
622
- bm: 0
623
- }, {
624
- ddd: 0,
625
- ind: 3,
626
- ty: 4,
627
- nm: "Invoicebox-Sign-Color Outlines",
628
- sr: 1,
629
- ks: {
630
- o: {
631
- a: 0,
632
- k: 100,
633
- ix: 11
634
- },
635
- r: {
636
- a: 1,
637
- k: [{
638
- i: {
639
- x: [0.667],
640
- y: [1]
641
- },
642
- o: {
643
- x: [0.333],
644
- y: [0]
645
- },
646
- t: 2,
647
- s: [-279]
648
- }, {
649
- t: 28,
650
- s: [0],
651
- h: 1
652
- }, {
653
- i: {
654
- x: [0.667],
655
- y: [1]
656
- },
657
- o: {
658
- x: [0.333],
659
- y: [0]
660
- },
661
- t: 67,
662
- s: [0]
663
- }, {
664
- t: 87,
665
- s: [279]
666
- }],
667
- ix: 10
668
- },
669
- p: {
670
- a: 0,
671
- k: [500.5, 499.5, 0],
672
- ix: 2
673
- },
674
- a: {
675
- a: 0,
676
- k: [500.5, 499.5, 0],
677
- ix: 1
678
- },
679
- s: {
680
- a: 1,
681
- k: [{
682
- i: {
683
- x: [0.667, 0.667, 0.667],
684
- y: [1, 1, 1]
685
- },
686
- o: {
687
- x: [0.333, 0.333, 0.333],
688
- y: [0, 0, 0]
689
- },
690
- t: 2,
691
- s: [0, 0, 100]
692
- }, {
693
- i: {
694
- x: [0.667, 0.667, 0.667],
695
- y: [1, 1, 1]
696
- },
697
- o: {
698
- x: [0.167, 0.167, 0.167],
699
- y: [0, 0, 0]
700
- },
701
- t: 28,
702
- s: [100, 100, 100]
703
- }, {
704
- i: {
705
- x: [0.667, 0.667, 0.667],
706
- y: [1, 1, 1]
707
- },
708
- o: {
709
- x: [0.333, 0.333, 0.333],
710
- y: [0, 0, 0]
711
- },
712
- t: 67,
713
- s: [100, 100, 100]
714
- }, {
715
- t: 87,
716
- s: [0, 0, 100]
717
- }],
718
- ix: 6
719
- }
720
- },
721
- ao: 0,
722
- shapes: [{
723
- ty: "gr",
724
- it: [{
725
- ind: 0,
726
- ty: "sh",
727
- ix: 1,
728
- ks: {
729
- a: 0,
730
- k: {
731
- i: [[86.983, 0], [0, -86.981], [-86.983, 0], [0, 86.991]],
732
- o: [[-86.983, 0], [0, 86.991], [86.983, 0], [0, -86.981]],
733
- v: [[0.001, -157.493], [-157.497, -0.005], [0.001, 157.493], [157.497, -0.005]],
734
- c: true
735
- },
736
- ix: 2
737
- },
738
- nm: "Path 1",
739
- mn: "ADBE Vector Shape - Group",
740
- hd: false
741
- }, {
742
- ind: 1,
743
- ty: "sh",
744
- ix: 2,
745
- ks: {
746
- a: 0,
747
- k: {
748
- i: [[-45.481, 0], [0, -45.473], [45.481, 0], [0, 45.484]],
749
- o: [[45.481, 0], [0, 45.484], [-45.481, 0], [0, -45.473]],
750
- v: [[0.001, -82.479], [82.482, -0.005], [0.001, 82.479], [-82.483, -0.005]],
751
- c: true
752
- },
753
- ix: 2
754
- },
755
- nm: "Path 2",
756
- mn: "ADBE Vector Shape - Group",
757
- hd: false
758
- }, {
759
- ty: "mm",
760
- mm: 1,
761
- nm: "Merge Paths 1",
762
- mn: "ADBE Vector Filter - Merge",
763
- hd: false
764
- }, {
765
- ty: "fl",
766
- c: {
767
- a: 0,
768
- k: [0.989351519416, 0.838442574295, 0.020511326135, 1],
769
- ix: 4
770
- },
771
- o: {
772
- a: 0,
773
- k: 100,
774
- ix: 5
775
- },
776
- r: 1,
777
- bm: 0,
778
- nm: "Fill 1",
779
- mn: "ADBE Vector Graphic - Fill",
780
- hd: false
781
- }, {
782
- ty: "tr",
783
- p: {
784
- a: 0,
785
- k: [708.471, 477.61],
786
- ix: 2
787
- },
788
- a: {
789
- a: 1,
790
- k: [{
791
- i: {
792
- x: 0.667,
793
- y: 1
794
- },
795
- o: {
796
- x: 0.333,
797
- y: 0
798
- },
799
- t: 2,
800
- s: [1409.904, 0],
801
- to: [-207.106, 0],
802
- ti: [94.769, 0]
803
- }, {
804
- t: 28,
805
- s: [0, 0],
806
- h: 1
807
- }, {
808
- i: {
809
- x: 0.667,
810
- y: 1
811
- },
812
- o: {
813
- x: 0.333,
814
- y: 0
815
- },
816
- t: 67,
817
- s: [0, 0],
818
- to: [0, 0],
819
- ti: [76.992, 0]
820
- }, {
821
- t: 87,
822
- s: [1409.904, 0]
823
- }],
824
- ix: 1
825
- },
826
- s: {
827
- a: 0,
828
- k: [100, 100],
829
- ix: 3
830
- },
831
- r: {
832
- a: 0,
833
- k: 0,
834
- ix: 6
835
- },
836
- o: {
837
- a: 0,
838
- k: 100,
839
- ix: 7
840
- },
841
- sk: {
842
- a: 0,
843
- k: 0,
844
- ix: 4
845
- },
846
- sa: {
847
- a: 0,
848
- k: 0,
849
- ix: 5
850
- },
851
- nm: "Transform"
852
- }],
853
- nm: "Group 3",
854
- np: 4,
855
- cix: 2,
856
- bm: 0,
857
- ix: 1,
858
- mn: "ADBE Vector Group",
859
- hd: false
860
- }],
861
- ip: 2,
862
- op: 452,
863
- st: 2,
864
- bm: 0
865
- }],
866
- markers: []
867
- };
10
+ /* babel-plugin-inline-import './assets/loader.json' */
11
+ var animation = "{\"v\":\"5.5.7\",\"meta\":{\"g\":\"LottieFiles AE 0.1.20\",\"a\":\"\",\"k\":\"\",\"d\":\"\",\"tc\":\"\"},\"fr\":30,\"ip\":0,\"op\":90,\"w\":1000,\"h\":1000,\"nm\":\"Invoicebox-Sign-Color\",\"ddd\":0,\"assets\":[],\"layers\":[{\"ddd\":0,\"ind\":1,\"ty\":4,\"nm\":\"Glas L\",\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":100,\"ix\":11},\"r\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.667],\"y\":[1]},\"o\":{\"x\":[0.333],\"y\":[0]},\"t\":0,\"s\":[-279]},{\"i\":{\"x\":[0.667],\"y\":[1]},\"o\":{\"x\":[0.167],\"y\":[0]},\"t\":21,\"s\":[0]},{\"i\":{\"x\":[0.667],\"y\":[1]},\"o\":{\"x\":[0.333],\"y\":[0]},\"t\":60,\"s\":[0]},{\"t\":80,\"s\":[279]}],\"ix\":10},\"p\":{\"a\":0,\"k\":[500.5,499.5,0],\"ix\":2},\"a\":{\"a\":0,\"k\":[500.5,499.5,0],\"ix\":1},\"s\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":0,\"s\":[0,0,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.167,0.167,0.167],\"y\":[0,0,0]},\"t\":21,\"s\":[100,100,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":60,\"s\":[100,100,100]},{\"t\":80,\"s\":[0,0,100]}],\"ix\":6}},\"ao\":0,\"shapes\":[{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":1,\"k\":[{\"i\":{\"x\":0.667,\"y\":1},\"o\":{\"x\":0.333,\"y\":0},\"t\":39,\"s\":[{\"i\":[[30.868,0],[23.552,-23.547],[-47.105,-47.105],[-30.87,0],[-23.553,23.547],[47.107,47.105]],\"o\":[[-30.87,0],[-47.105,47.105],[23.552,23.547],[30.868,0],[47.107,-47.105],[-23.553,-23.547]],\"v\":[[0,-120.624],[-85.292,-85.292],[-85.292,85.293],[0,120.624],[85.29,85.293],[85.29,-85.292]],\"c\":true}]},{\"i\":{\"x\":0.667,\"y\":1},\"o\":{\"x\":0.333,\"y\":0},\"t\":43,\"s\":[{\"i\":[[30.864,0.731],[23.659,-9.648],[-46.879,-21.523],[-30.866,-0.731],[-23.66,9.648],[46.881,21.523]],\"o\":[[-30.866,-0.731],[-47.32,19.296],[23.439,10.761],[30.864,0.731],[47.322,-19.296],[-23.44,-10.761]],\"v\":[[0.536,-41.244],[-84.91,-27.955],[-85.71,45.963],[-0.595,63.293],[84.85,50.004],[85.65,-23.914]],\"c\":true}]},{\"t\":47,\"s\":[{\"i\":[[30.868,0],[23.552,-23.547],[-47.105,-47.105],[-30.87,0],[-23.553,23.547],[47.107,47.105]],\"o\":[[-30.87,0],[-47.105,47.105],[23.552,23.547],[30.868,0],[47.107,-47.105],[-23.553,-23.547]],\"v\":[[0,-120.624],[-85.292,-85.292],[-85.292,85.293],[0,120.624],[85.29,85.293],[85.29,-85.292]],\"c\":true}]}],\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ind\":1,\"ty\":\"sh\",\"ix\":2,\"ks\":{\"a\":1,\"k\":[{\"i\":{\"x\":0.667,\"y\":1},\"o\":{\"x\":0.333,\"y\":0},\"t\":39,\"s\":[{\"i\":[[-15.306,0],[-10.826,-10.828],[0,-15.307],[10.825,-10.827],[15.303,0],[10.823,10.818],[0,15.305],[-10.823,10.827]],\"o\":[[15.303,0],[10.823,10.818],[0,15.305],[-10.824,10.818],[-15.306,0],[-10.823,-10.827],[0,-15.307],[10.823,-10.819]],\"v\":[[0,-57.305],[40.518,-40.513],[57.301,0.001],[40.516,40.522],[0,57.306],[-40.518,40.522],[-57.303,0.001],[-40.518,-40.522]],\"c\":true}]},{\"i\":{\"x\":0.667,\"y\":1},\"o\":{\"x\":0.333,\"y\":0},\"t\":43,\"s\":[{\"i\":[[-15.306,0],[-10.826,0],[0,0],[10.825,0],[15.303,0],[10.823,0],[0,0],[-10.823,0]],\"o\":[[15.303,0],[10.823,0],[0,0],[-10.824,0],[-15.306,0],[-10.823,0],[0,0],[10.823,0]],\"v\":[[-1,10.024],[39.518,10.024],[56.301,10.024],[39.516,10.024],[-1,10.024],[-41.518,10.024],[-58.303,10.024],[-41.518,10.024]],\"c\":true}]},{\"t\":47,\"s\":[{\"i\":[[-15.306,0],[-10.826,-10.828],[0,-15.307],[10.825,-10.827],[15.303,0],[10.823,10.818],[0,15.305],[-10.823,10.827]],\"o\":[[15.303,0],[10.823,10.818],[0,15.305],[-10.824,10.818],[-15.306,0],[-10.823,-10.827],[0,-15.307],[10.823,-10.819]],\"v\":[[0,-57.305],[40.518,-40.513],[57.301,0.001],[40.516,40.522],[0,57.306],[-40.518,40.522],[-57.303,0.001],[-40.518,-40.522]],\"c\":true}]}],\"ix\":2},\"nm\":\"Path 2\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"mm\",\"mm\":1,\"nm\":\"Merge Paths 1\",\"mn\":\"ADBE Vector Filter - Merge\",\"hd\":false},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0.134852106431,0.138380791159,0.184372441909,1],\"ix\":4},\"o\":{\"a\":0,\"k\":100,\"ix\":5},\"r\":1,\"bm\":0,\"nm\":\"Fill 1\",\"mn\":\"ADBE Vector Graphic - Fill\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[254.653,489.476],\"ix\":2},\"a\":{\"a\":1,\"k\":[{\"i\":{\"x\":0.667,\"y\":1},\"o\":{\"x\":0.333,\"y\":0},\"t\":0,\"s\":[780,0],\"to\":[-130,0],\"ti\":[130,0]},{\"i\":{\"x\":0.667,\"y\":0.667},\"o\":{\"x\":0.333,\"y\":0.333},\"t\":21,\"s\":[0,0],\"to\":[0,0],\"ti\":[0,0]},{\"i\":{\"x\":0.667,\"y\":1},\"o\":{\"x\":0.333,\"y\":0},\"t\":60,\"s\":[0,0],\"to\":[130,0],\"ti\":[-130,0]},{\"t\":80,\"s\":[780,0]}],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 2\",\"np\":4,\"cix\":2,\"bm\":0,\"ix\":1,\"mn\":\"ADBE Vector Group\",\"hd\":false}],\"ip\":0,\"op\":450,\"st\":0,\"bm\":0},{\"ddd\":0,\"ind\":2,\"ty\":4,\"nm\":\"smil\",\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":100,\"ix\":11},\"r\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.667],\"y\":[1]},\"o\":{\"x\":[0.333],\"y\":[0]},\"t\":4,\"s\":[-279]},{\"i\":{\"x\":[0.667],\"y\":[1]},\"o\":{\"x\":[0.167],\"y\":[0]},\"t\":30,\"s\":[0]},{\"i\":{\"x\":[0.667],\"y\":[1]},\"o\":{\"x\":[0.333],\"y\":[0]},\"t\":39,\"s\":[0]},{\"i\":{\"x\":[0.667],\"y\":[1]},\"o\":{\"x\":[0.333],\"y\":[0]},\"t\":43,\"s\":[19]},{\"i\":{\"x\":[0.667],\"y\":[1]},\"o\":{\"x\":[0.333],\"y\":[0]},\"t\":47,\"s\":[0]},{\"i\":{\"x\":[0.667],\"y\":[1]},\"o\":{\"x\":[0.333],\"y\":[0]},\"t\":63,\"s\":[0]},{\"t\":83,\"s\":[279]}],\"ix\":10},\"p\":{\"a\":0,\"k\":[500.5,499.5,0],\"ix\":2},\"a\":{\"a\":0,\"k\":[500.5,499.5,0],\"ix\":1},\"s\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":4,\"s\":[0,0,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.167,0.167,0.167],\"y\":[0,0,0]},\"t\":30,\"s\":[100,100,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":63,\"s\":[100,100,100]},{\"t\":83,\"s\":[0,0,100]}],\"ix\":6}},\"ao\":0,\"shapes\":[{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[32.06,4.125],[19.359,22.884],[-8.376,7.095],[-7.2,-4.858],[0,0],[-17.873,3.06],[-9.496,12.608],[-17.776,-13.382],[13.395,-17.77],[3.166,-2.298]],\"o\":[[-28.296,20.312],[-32.214,-3.754],[-7.084,-8.386],[6.968,-5.884],[0,0],[17.062,11.533],[18.047,-2.893],[13.375,-17.771],[17.758,13.383],[-2.47,3.289],[0,0]],\"v\":[[78.769,26.144],[-16.734,50.82],[-97.664,7.972],[-95.329,-20.055],[-71.356,-21.365],[-70.623,-20.868],[-15.576,-8.461],[27.003,-33.617],[83.42,-41.563],[91.353,14.845],[82.841,23.234]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0.989351519416,0.838442574295,0.020511326135,1],\"ix\":4},\"o\":{\"a\":0,\"k\":100,\"ix\":5},\"r\":1,\"bm\":0,\"nm\":\"Fill 1\",\"mn\":\"ADBE Vector Graphic - Fill\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[456.162,628.048],\"ix\":2},\"a\":{\"a\":1,\"k\":[{\"i\":{\"x\":0.667,\"y\":1},\"o\":{\"x\":0.333,\"y\":0},\"t\":4,\"s\":[780,0],\"to\":[-130,0],\"ti\":[130,0]},{\"i\":{\"x\":0.667,\"y\":0.667},\"o\":{\"x\":0.333,\"y\":0.333},\"t\":30,\"s\":[0,0],\"to\":[0,0],\"ti\":[0,0]},{\"i\":{\"x\":0.667,\"y\":1},\"o\":{\"x\":0.333,\"y\":0},\"t\":63,\"s\":[0,0],\"to\":[130,0],\"ti\":[-130,0]},{\"t\":83,\"s\":[780,0]}],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 1\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":1,\"mn\":\"ADBE Vector Group\",\"hd\":false}],\"ip\":4,\"op\":454,\"st\":4,\"bm\":0},{\"ddd\":0,\"ind\":3,\"ty\":4,\"nm\":\"Invoicebox-Sign-Color Outlines\",\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":100,\"ix\":11},\"r\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.667],\"y\":[1]},\"o\":{\"x\":[0.333],\"y\":[0]},\"t\":2,\"s\":[-279]},{\"t\":28,\"s\":[0],\"h\":1},{\"i\":{\"x\":[0.667],\"y\":[1]},\"o\":{\"x\":[0.333],\"y\":[0]},\"t\":67,\"s\":[0]},{\"t\":87,\"s\":[279]}],\"ix\":10},\"p\":{\"a\":0,\"k\":[500.5,499.5,0],\"ix\":2},\"a\":{\"a\":0,\"k\":[500.5,499.5,0],\"ix\":1},\"s\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":2,\"s\":[0,0,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.167,0.167,0.167],\"y\":[0,0,0]},\"t\":28,\"s\":[100,100,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":67,\"s\":[100,100,100]},{\"t\":87,\"s\":[0,0,100]}],\"ix\":6}},\"ao\":0,\"shapes\":[{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[86.983,0],[0,-86.981],[-86.983,0],[0,86.991]],\"o\":[[-86.983,0],[0,86.991],[86.983,0],[0,-86.981]],\"v\":[[0.001,-157.493],[-157.497,-0.005],[0.001,157.493],[157.497,-0.005]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ind\":1,\"ty\":\"sh\",\"ix\":2,\"ks\":{\"a\":0,\"k\":{\"i\":[[-45.481,0],[0,-45.473],[45.481,0],[0,45.484]],\"o\":[[45.481,0],[0,45.484],[-45.481,0],[0,-45.473]],\"v\":[[0.001,-82.479],[82.482,-0.005],[0.001,82.479],[-82.483,-0.005]],\"c\":true},\"ix\":2},\"nm\":\"Path 2\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"mm\",\"mm\":1,\"nm\":\"Merge Paths 1\",\"mn\":\"ADBE Vector Filter - Merge\",\"hd\":false},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0.989351519416,0.838442574295,0.020511326135,1],\"ix\":4},\"o\":{\"a\":0,\"k\":100,\"ix\":5},\"r\":1,\"bm\":0,\"nm\":\"Fill 1\",\"mn\":\"ADBE Vector Graphic - Fill\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[708.471,477.61],\"ix\":2},\"a\":{\"a\":1,\"k\":[{\"i\":{\"x\":0.667,\"y\":1},\"o\":{\"x\":0.333,\"y\":0},\"t\":2,\"s\":[1409.904,0],\"to\":[-207.106,0],\"ti\":[94.769,0]},{\"t\":28,\"s\":[0,0],\"h\":1},{\"i\":{\"x\":0.667,\"y\":1},\"o\":{\"x\":0.333,\"y\":0},\"t\":67,\"s\":[0,0],\"to\":[0,0],\"ti\":[76.992,0]},{\"t\":87,\"s\":[1409.904,0]}],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 3\",\"np\":4,\"cix\":2,\"bm\":0,\"ix\":1,\"mn\":\"ADBE Vector Group\",\"hd\":false}],\"ip\":2,\"op\":452,\"st\":2,\"bm\":0}],\"markers\":[]}\n";
868
12
  var InvoiceboxLoader = exports.InvoiceboxLoader = function InvoiceboxLoader(_ref) {
869
13
  var _ref$width = _ref.width,
870
14
  width = _ref$width === void 0 ? '100%' : _ref$width;
@@ -27,7 +27,9 @@ var List = exports.List = {
27
27
  return /*#__PURE__*/_react["default"].createElement(_.Typography, {
28
28
  variant: "bodyL"
29
29
  }, Object.keys(_typography.typography).map(function (variant) {
30
- return /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, /*#__PURE__*/_react["default"].createElement(_markdownToJsx["default"], null, "\n### ".concat(variant, "\n")), /*#__PURE__*/_react["default"].createElement(_.Typography, {
30
+ return /*#__PURE__*/_react["default"].createElement("div", {
31
+ key: variant
32
+ }, /*#__PURE__*/_react["default"].createElement(_markdownToJsx["default"], null, "\n### ".concat(variant, "\n")), /*#__PURE__*/_react["default"].createElement(_.Typography, {
31
33
  variant: variant
32
34
  }, dummyText), /*#__PURE__*/_react["default"].createElement(_markdownToJsx["default"], null, "\n```\n".concat(_typography.typography[variant].join('').replaceAll(' ', '').split('\n').filter(Boolean).join('\n'), "\n```\n")), /*#__PURE__*/_react["default"].createElement("hr", null));
33
35
  }));
@@ -28,5 +28,5 @@ var InputLabel = exports.InputLabel = function InputLabel(_ref) {
28
28
  $palette: mergedPalette,
29
29
  $inFocus: inFocus,
30
30
  variant: "captionRegular"
31
- }, label), /*#__PURE__*/_react["default"].createElement(S.InputWrapper, null, children));
31
+ }, label), children);
32
32
  };
@@ -9,4 +9,3 @@ export declare const Wrapper: import("styled-components").IStyledComponent<"web"
9
9
  $isLabel: boolean;
10
10
  $palette: TInputLabelPalette;
11
11
  }>>;
12
- export declare const InputWrapper: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>>;
@@ -4,7 +4,7 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
4
4
  Object.defineProperty(exports, "__esModule", {
5
5
  value: true
6
6
  });
7
- exports.Wrapper = exports.Label = exports.InputWrapper = void 0;
7
+ exports.Wrapper = exports.Label = void 0;
8
8
  var _styledComponents = _interopRequireWildcard(require("styled-components"));
9
9
  var _Typography = require("../../common/Typography");
10
10
  function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
@@ -33,8 +33,4 @@ var Wrapper = exports.Wrapper = _styledComponents["default"].div.withConfig({
33
33
  var $disabled = _ref5.$disabled,
34
34
  $palette = _ref5.$palette;
35
35
  return !$disabled && (0, _styledComponents.css)(["color:", ";"], $palette.textHighlight);
36
- });
37
- var InputWrapper = exports.InputWrapper = _styledComponents["default"].div.withConfig({
38
- displayName: "styles__InputWrapper",
39
- componentId: "sc-1prrc3p-2"
40
- })(["position:relative;z-index:1;"]);
36
+ });
@@ -68,7 +68,7 @@ var PositiveIntegerInput = exports.PositiveIntegerInput = function PositiveInteg
68
68
  return /*#__PURE__*/_react["default"].createElement(_InputLabel.InputLabel, {
69
69
  inFocus: inFocus,
70
70
  label: label
71
- }, /*#__PURE__*/_react["default"].createElement(_PureInput.PureInput, {
71
+ }, /*#__PURE__*/_react["default"].createElement(S.ControlWrapper, null, /*#__PURE__*/_react["default"].createElement(_PureInput.PureInput, {
72
72
  name: name,
73
73
  hasError: hasError,
74
74
  inFocus: inFocus,
@@ -90,5 +90,5 @@ var PositiveIntegerInput = exports.PositiveIntegerInput = function PositiveInteg
90
90
  }, /*#__PURE__*/_react["default"].createElement(_Arrow.Arrow, {
91
91
  isOpen: false,
92
92
  outterSize: 12
93
- }))));
93
+ })))));
94
94
  };
@@ -3,3 +3,4 @@ export declare const Arrows: import("styled-components").IStyledComponent<"web",
3
3
  export declare const Arrow: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
4
4
  $disabled: boolean;
5
5
  }>>;
6
+ export declare const ControlWrapper: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>>;
@@ -4,7 +4,7 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
4
4
  Object.defineProperty(exports, "__esModule", {
5
5
  value: true
6
6
  });
7
- exports.Arrows = exports.Arrow = void 0;
7
+ exports.ControlWrapper = exports.Arrows = exports.Arrow = void 0;
8
8
  var _styledComponents = _interopRequireWildcard(require("styled-components"));
9
9
  function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
10
10
  function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { "default": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n["default"] = e, t && t.set(e, n), n; }
@@ -18,4 +18,8 @@ var Arrow = exports.Arrow = _styledComponents["default"].div.withConfig({
18
18
  })(["cursor:pointer;display:flex;user-select:none;", ""], function (_ref) {
19
19
  var $disabled = _ref.$disabled;
20
20
  return $disabled && (0, _styledComponents.css)(["opacity:0.4;pointer-events:none;"]);
21
- });
21
+ });
22
+ var ControlWrapper = exports.ControlWrapper = _styledComponents["default"].div.withConfig({
23
+ displayName: "styles__ControlWrapper",
24
+ componentId: "sc-ctutr8-2"
25
+ })(["position:relative;"]);
@@ -26,7 +26,7 @@ var Input = exports.Input = function Input(_ref) {
26
26
  return /*#__PURE__*/_react["default"].createElement(_InputLabel.InputLabel, {
27
27
  inFocus: inFocus,
28
28
  label: label
29
- }, /*#__PURE__*/_react["default"].createElement(_PureInput.PureInput, {
29
+ }, /*#__PURE__*/_react["default"].createElement(S.ControlWrapper, null, /*#__PURE__*/_react["default"].createElement(_PureInput.PureInput, {
30
30
  hasError: hasError,
31
31
  inFocus: inFocus,
32
32
  name: name,
@@ -38,5 +38,5 @@ var Input = exports.Input = function Input(_ref) {
38
38
  paddingRight: 52
39
39
  }), /*#__PURE__*/_react["default"].createElement(S.IconWrapper, null, /*#__PURE__*/_react["default"].createElement(_Arrow.Arrow, {
40
40
  isOpen: isOpen
41
- })));
41
+ }))));
42
42
  };
@@ -1,2 +1,3 @@
1
1
  /// <reference types="react" />
2
2
  export declare const IconWrapper: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>>;
3
+ export declare const ControlWrapper: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>>;
@@ -3,10 +3,14 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- exports.IconWrapper = void 0;
6
+ exports.IconWrapper = exports.ControlWrapper = void 0;
7
7
  var _styledComponents = _interopRequireDefault(require("styled-components"));
8
8
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
9
9
  var IconWrapper = exports.IconWrapper = _styledComponents["default"].div.withConfig({
10
10
  displayName: "styles__IconWrapper",
11
11
  componentId: "sc-1fsrle6-0"
12
- })(["position:absolute;right:14px;height:100%;top:0;display:flex;align-items:center;"]);
12
+ })(["position:absolute;right:14px;height:100%;top:0;display:flex;align-items:center;"]);
13
+ var ControlWrapper = exports.ControlWrapper = _styledComponents["default"].div.withConfig({
14
+ displayName: "styles__ControlWrapper",
15
+ componentId: "sc-1fsrle6-1"
16
+ })(["position:relative;"]);
package/dist/index.d.ts CHANGED
@@ -13,4 +13,6 @@ export type { TProps as TDropdownProps } from './components/common/Dropdown';
13
13
  export { Scrollbar } from './components/common/Scrollbar';
14
14
  export { Select } from './components/form/Select';
15
15
  export type { TProps as TSelectProps } from './components/form/Select';
16
+ export { Calendar } from './components/common/Calendar';
17
+ export type { TProps as TCalendarProps } from './components/common/Calendar';
16
18
  export { PaletteProvider } from './palette';
package/dist/index.js CHANGED
@@ -9,6 +9,12 @@ Object.defineProperty(exports, "Arrow", {
9
9
  return _Arrow.Arrow;
10
10
  }
11
11
  });
12
+ Object.defineProperty(exports, "Calendar", {
13
+ enumerable: true,
14
+ get: function get() {
15
+ return _Calendar.Calendar;
16
+ }
17
+ });
12
18
  Object.defineProperty(exports, "Dropdown", {
13
19
  enumerable: true,
14
20
  get: function get() {
@@ -99,4 +105,5 @@ var _PositiveIntegerInput = require("./components/form/PositiveIntegerInput");
99
105
  var _Dropdown = require("./components/common/Dropdown");
100
106
  var _Scrollbar = require("./components/common/Scrollbar");
101
107
  var _Select = require("./components/form/Select");
108
+ var _Calendar = require("./components/common/Calendar");
102
109
  var _palette = require("./palette");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@invoicebox/ui",
3
- "version": "0.1.0-alpha.42",
3
+ "version": "0.1.0-alpha.44",
4
4
  "description": "Invoicebox UI",
5
5
  "license": "Apache License 2.0",
6
6
  "scripts": {
@@ -32,7 +32,7 @@
32
32
  "@storybook/test": "^7.6.13",
33
33
  "@typescript-eslint/eslint-plugin": "^5.62.0",
34
34
  "@typescript-eslint/parser": "^5.62.0",
35
- "babel-plugin-inline-json-import": "^0.3.2",
35
+ "babel-plugin-inline-import": "^3.0.0",
36
36
  "babel-plugin-styled-components": "^2.1.4",
37
37
  "eslint": "^8.56.0",
38
38
  "eslint-config-prettier": "^9.1.0",
@@ -49,6 +49,7 @@
49
49
  "dependencies": {
50
50
  "hex-to-rgba": "^2.0.1",
51
51
  "lottie-react": "^2.4.0",
52
+ "react-calendar": "^4.8.0",
52
53
  "react-scrollbars-custom": "^4.1.1",
53
54
  "styled-components": "^6.1.8"
54
55
  },