@punch-in/buffet-modern-styles 3.3.12

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 (181) hide show
  1. package/.stylelintignore +1 -0
  2. package/README.md +50 -0
  3. package/babel.config.js +18 -0
  4. package/build/18ea3062c6e779649b89c301e4d65a7c.ttf +0 -0
  5. package/build/1d2ca94dfba6f8d87cfda33b32f0febc.woff +0 -0
  6. package/build/21b3848a32fce5b0f5014948186f6964.woff2 +0 -0
  7. package/build/6cfa65c63939188f33ef0e3a68d09306.woff +0 -0
  8. package/build/6d20cff5b3255dd0078f935c34e2b882.woff2 +0 -0
  9. package/build/75614cfcfedd509b1f7ac1c26c53bb7f.woff2 +0 -0
  10. package/build/89b618086a797a8be0f4549489bb2993.woff +0 -0
  11. package/build/8acc961684668b6e28e961e26afc2af9.ttf +0 -0
  12. package/build/a6069540692725c247f13984a9598a92.woff2 +0 -0
  13. package/build/bb14dc80e8b5d860fe9cb2362987d630.ttf +0 -0
  14. package/build/bundle.development.js +951 -0
  15. package/build/bundle.production.js +1 -0
  16. package/build/c66465590541129e82d3d6f725c5658b.woff +0 -0
  17. package/build/c7687ac11011d85e040e2ce14d5bf6eb.ttf +0 -0
  18. package/build/esm/assets/fonts/lato/Lato-Black.ttf +0 -0
  19. package/build/esm/assets/fonts/lato/Lato-Black.woff +0 -0
  20. package/build/esm/assets/fonts/lato/Lato-Black.woff2 +0 -0
  21. package/build/esm/assets/fonts/lato/Lato-Bold.ttf +0 -0
  22. package/build/esm/assets/fonts/lato/Lato-Bold.woff +0 -0
  23. package/build/esm/assets/fonts/lato/Lato-Bold.woff2 +0 -0
  24. package/build/esm/assets/fonts/lato/Lato-Regular.ttf +0 -0
  25. package/build/esm/assets/fonts/lato/Lato-Regular.woff +0 -0
  26. package/build/esm/assets/fonts/lato/Lato-Regular.woff2 +0 -0
  27. package/build/esm/assets/fonts/lato/Lato-SemiBold.ttf +0 -0
  28. package/build/esm/assets/fonts/lato/Lato-SemiBold.woff +0 -0
  29. package/build/esm/assets/fonts/lato/Lato-SemiBold.woff2 +0 -0
  30. package/build/esm/assets/icons/icon_select.svg +1 -0
  31. package/build/esm/assets/icons/icon_trash.svg +1 -0
  32. package/build/esm/assets/styles/colors.js +84 -0
  33. package/build/esm/assets/styles/mixins.js +28 -0
  34. package/build/esm/assets/styles/sizes.js +77 -0
  35. package/build/esm/components/Button/PrefixIcon.js +7 -0
  36. package/build/esm/components/Button/index.js +34 -0
  37. package/build/esm/components/Card/index.js +23 -0
  38. package/build/esm/components/Checkbox/index.js +25 -0
  39. package/build/esm/components/CheckboxWrapper/index.js +36 -0
  40. package/build/esm/components/CustomRow/index.js +12 -0
  41. package/build/esm/components/DatePicker/index.js +24 -0
  42. package/build/esm/components/Description/index.js +12 -0
  43. package/build/esm/components/Enumeration/index.js +25 -0
  44. package/build/esm/components/EnumerationWrapper/index.js +13 -0
  45. package/build/esm/components/ErrorMessage/index.js +13 -0
  46. package/build/esm/components/Fonts/index.js +31 -0
  47. package/build/esm/components/GlobalStyle/index.js +7 -0
  48. package/build/esm/components/Header/index.js +13 -0
  49. package/build/esm/components/HeaderActions/index.js +12 -0
  50. package/build/esm/components/HeaderTitle/index.js +13 -0
  51. package/build/esm/components/Icon/index.js +16 -0
  52. package/build/esm/components/IconText/index.js +9 -0
  53. package/build/esm/components/IconWrapper/index.js +16 -0
  54. package/build/esm/components/InputNumber/index.js +14 -0
  55. package/build/esm/components/InputText/index.js +24 -0
  56. package/build/esm/components/InputWrapper/index.js +13 -0
  57. package/build/esm/components/Label/index.js +13 -0
  58. package/build/esm/components/Links/index.js +13 -0
  59. package/build/esm/components/List/index.js +13 -0
  60. package/build/esm/components/ListHeader/index.js +11 -0
  61. package/build/esm/components/ListRow/index.js +11 -0
  62. package/build/esm/components/ListSubtitle/index.js +12 -0
  63. package/build/esm/components/ListTitle/index.js +13 -0
  64. package/build/esm/components/LoadingBar/index.js +14 -0
  65. package/build/esm/components/LoadingIndicator/index.js +69 -0
  66. package/build/esm/components/Option/index.js +37 -0
  67. package/build/esm/components/Paging/index.js +13 -0
  68. package/build/esm/components/Select/index.js +14 -0
  69. package/build/esm/components/Tab/index.js +30 -0
  70. package/build/esm/components/Table/index.js +13 -0
  71. package/build/esm/components/TableRowEmpty/index.js +13 -0
  72. package/build/esm/components/Textarea/index.js +13 -0
  73. package/build/esm/components/TimeList/index.js +13 -0
  74. package/build/esm/components/TimePicker/index.js +20 -0
  75. package/build/esm/components/TimePickerWrapper/index.js +13 -0
  76. package/build/esm/components/Toggle/index.js +25 -0
  77. package/build/esm/components/ToggleWrapper/index.js +13 -0
  78. package/build/esm/components/Tooltip/index.js +28 -0
  79. package/build/esm/index.js +46 -0
  80. package/build/index.js +8 -0
  81. package/package.json +113 -0
  82. package/src/assets/fonts/lato/Lato-Black.ttf +0 -0
  83. package/src/assets/fonts/lato/Lato-Black.woff +0 -0
  84. package/src/assets/fonts/lato/Lato-Black.woff2 +0 -0
  85. package/src/assets/fonts/lato/Lato-Bold.ttf +0 -0
  86. package/src/assets/fonts/lato/Lato-Bold.woff +0 -0
  87. package/src/assets/fonts/lato/Lato-Bold.woff2 +0 -0
  88. package/src/assets/fonts/lato/Lato-Regular.ttf +0 -0
  89. package/src/assets/fonts/lato/Lato-Regular.woff +0 -0
  90. package/src/assets/fonts/lato/Lato-Regular.woff2 +0 -0
  91. package/src/assets/fonts/lato/Lato-SemiBold.ttf +0 -0
  92. package/src/assets/fonts/lato/Lato-SemiBold.woff +0 -0
  93. package/src/assets/fonts/lato/Lato-SemiBold.woff2 +0 -0
  94. package/src/assets/icons/icon_select.svg +1 -0
  95. package/src/assets/icons/icon_trash.svg +1 -0
  96. package/src/assets/styles/colors.js +92 -0
  97. package/src/assets/styles/mixins.js +45 -0
  98. package/src/assets/styles/sizes.js +87 -0
  99. package/src/components/Button/PrefixIcon.js +11 -0
  100. package/src/components/Button/index.js +122 -0
  101. package/src/components/Button/tests/__snapshots__/index.test.js.snap +169 -0
  102. package/src/components/Button/tests/index.test.js +91 -0
  103. package/src/components/Card/index.js +73 -0
  104. package/src/components/Checkbox/index.js +141 -0
  105. package/src/components/Checkbox/tests/Checkbox.test.js +19 -0
  106. package/src/components/Checkbox/tests/__snapshots__/Checkbox.test.js.snap +71 -0
  107. package/src/components/CheckboxWrapper/index.js +100 -0
  108. package/src/components/CustomRow/index.js +21 -0
  109. package/src/components/DatePicker/index.js +280 -0
  110. package/src/components/DatePicker/tests/Datepicker.test.js +12 -0
  111. package/src/components/Description/index.js +17 -0
  112. package/src/components/Enumeration/index.js +40 -0
  113. package/src/components/Enumeration/tests/Enumeration.test.js +12 -0
  114. package/src/components/EnumerationWrapper/index.js +47 -0
  115. package/src/components/ErrorMessage/index.js +18 -0
  116. package/src/components/Fonts/index.js +83 -0
  117. package/src/components/GlobalStyle/index.js +68 -0
  118. package/src/components/Header/index.js +73 -0
  119. package/src/components/Header/tests/__snapshots__/index.test.js.snap +75 -0
  120. package/src/components/Header/tests/index.test.js +18 -0
  121. package/src/components/HeaderActions/index.js +30 -0
  122. package/src/components/HeaderActions/tests/__snapshots__/index.test.js.snap +34 -0
  123. package/src/components/HeaderActions/tests/index.test.js +19 -0
  124. package/src/components/HeaderTitle/index.js +47 -0
  125. package/src/components/HeaderTitle/tests/__snapshots__/index.test.js.snap +39 -0
  126. package/src/components/HeaderTitle/tests/index.test.js +19 -0
  127. package/src/components/Icon/index.js +17 -0
  128. package/src/components/IconText/index.js +18 -0
  129. package/src/components/IconWrapper/index.js +29 -0
  130. package/src/components/InputNumber/index.js +209 -0
  131. package/src/components/InputNumber/tests/index.test.js +12 -0
  132. package/src/components/InputText/index.js +70 -0
  133. package/src/components/InputText/tests/index.test.js +39 -0
  134. package/src/components/InputWrapper/index.js +57 -0
  135. package/src/components/Label/index.js +18 -0
  136. package/src/components/Label/tests/index.test.js +12 -0
  137. package/src/components/Links/index.js +35 -0
  138. package/src/components/List/index.js +85 -0
  139. package/src/components/ListHeader/index.js +13 -0
  140. package/src/components/ListHeader/tests/index.test.js +12 -0
  141. package/src/components/ListRow/index.js +17 -0
  142. package/src/components/ListRow/tests/index.test.js +12 -0
  143. package/src/components/ListSubtitle/index.js +17 -0
  144. package/src/components/ListSubtitle/tests/index.test.js +12 -0
  145. package/src/components/ListTitle/index.js +20 -0
  146. package/src/components/ListTitle/tests/index.test.js +12 -0
  147. package/src/components/LoadingBar/index.js +41 -0
  148. package/src/components/LoadingBar/tests/index.test.js +19 -0
  149. package/src/components/LoadingIndicator/index.js +81 -0
  150. package/src/components/Option/index.js +39 -0
  151. package/src/components/Option/tests/__snapshots__/index.test.js.snap +29 -0
  152. package/src/components/Option/tests/index.test.js +16 -0
  153. package/src/components/Paging/index.js +68 -0
  154. package/src/components/Select/index.js +54 -0
  155. package/src/components/Select/tests/index.test.js +12 -0
  156. package/src/components/Tab/index.js +78 -0
  157. package/src/components/Table/index.js +147 -0
  158. package/src/components/TableRowEmpty/index.js +28 -0
  159. package/src/components/Textarea/index.js +50 -0
  160. package/src/components/Textarea/tests/__snapshots__/index.test.js.snap +71 -0
  161. package/src/components/Textarea/tests/index.test.js +33 -0
  162. package/src/components/TimeList/index.js +78 -0
  163. package/src/components/TimePicker/index.js +59 -0
  164. package/src/components/TimePickerWrapper/index.js +57 -0
  165. package/src/components/Toggle/index.js +82 -0
  166. package/src/components/Toggle/tests/index.test.js +12 -0
  167. package/src/components/ToggleWrapper/index.js +36 -0
  168. package/src/components/Tooltip/index.js +34 -0
  169. package/src/index.js +47 -0
  170. package/webfonts/Lato-Black.ttf +0 -0
  171. package/webfonts/Lato-Black.woff +0 -0
  172. package/webfonts/Lato-Black.woff2 +0 -0
  173. package/webfonts/Lato-Bold.ttf +0 -0
  174. package/webfonts/Lato-Bold.woff +0 -0
  175. package/webfonts/Lato-Bold.woff2 +0 -0
  176. package/webfonts/Lato-Regular.ttf +0 -0
  177. package/webfonts/Lato-Regular.woff +0 -0
  178. package/webfonts/Lato-Regular.woff2 +0 -0
  179. package/webfonts/Lato-SemiBold.ttf +0 -0
  180. package/webfonts/Lato-SemiBold.woff +0 -0
  181. package/webfonts/Lato-SemiBold.woff2 +0 -0
@@ -0,0 +1,25 @@
1
+ var _templateObject;
2
+ function _taggedTemplateLiteral(e, t) { return t || (t = e.slice(0)), Object.freeze(Object.defineProperties(e, { raw: { value: Object.freeze(t) } })); }
3
+ /**
4
+ *
5
+ * Enumeration
6
+ *
7
+ */
8
+
9
+ import styled from 'styled-components';
10
+ import PropTypes from 'prop-types';
11
+ import colors from '../../assets/styles/colors';
12
+ import sizes from '../../assets/styles/sizes';
13
+ var Enumeration = styled.input(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n cursor: ", ";\n margin: 0;\n opacity: 0;\n &:checked + span {\n background-image: ", ";\n color: ", ";\n box-shadow: inset 1px 1px 3px rgba(0, 0, 0, 0.1);\n font-weight: ", ";\n }\n"])), function (_ref) {
14
+ var disabled = _ref.disabled;
15
+ return disabled ? 'not-allowed' : 'pointer';
16
+ }, colors.blueGradient, colors.white, sizes.fontWeight.bold);
17
+ Enumeration.defaultProps = {
18
+ disabled: false,
19
+ type: 'radio'
20
+ };
21
+ Enumeration.propTypes = {
22
+ disabled: PropTypes.bool,
23
+ type: PropTypes.string
24
+ };
25
+ export default Enumeration;
@@ -0,0 +1,13 @@
1
+ var _templateObject;
2
+ function _taggedTemplateLiteral(e, t) { return t || (t = e.slice(0)), Object.freeze(Object.defineProperties(e, { raw: { value: Object.freeze(t) } })); }
3
+ /**
4
+ *
5
+ * EnumerationWrapper
6
+ *
7
+ */
8
+
9
+ import styled from 'styled-components';
10
+ import colors from '../../assets/styles/colors';
11
+ import sizes from '../../assets/styles/sizes';
12
+ var EnumerationWrapper = styled.div(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n display: flex;\n width: fit-content;\n height: 34px;\n border: 1px solid ", ";\n border-radius: ", ";\n background-color: ", ";\n overflow: hidden;\n\n label {\n position: relative;\n display: inline-block;\n height: 100%;\n width: fit-content;\n color: ", ";\n\n span {\n display: inline-block;\n padding: 0 1.5rem;\n line-height: 32px;\n margin: auto;\n letter-spacing: 0.65px;\n font-size: 1.2rem;\n font-weight: ", ";\n text-transform: uppercase;\n }\n\n &:not(:last-of-type) {\n span {\n border-right: 1px solid ", ";\n }\n }\n }\n"])), colors.lightGrey, sizes.borderRadiusSm, colors.white, colors.brightGrey, sizes.fontWeight.semiBold, colors.lightGrey);
13
+ export default EnumerationWrapper;
@@ -0,0 +1,13 @@
1
+ var _templateObject;
2
+ function _taggedTemplateLiteral(e, t) { return t || (t = e.slice(0)), Object.freeze(Object.defineProperties(e, { raw: { value: Object.freeze(t) } })); }
3
+ /**
4
+ *
5
+ * ErrorMessage
6
+ *
7
+ */
8
+
9
+ import styled from 'styled-components';
10
+ import colors from '../../assets/styles/colors';
11
+ import sizes from '../../assets/styles/sizes';
12
+ var ErrorMessage = styled.p(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n font-size: ", ";\n color: ", ";\n margin-top: 0.25rem;\n"])), sizes.input.fontSize, colors.darkOrange);
13
+ export default ErrorMessage;
@@ -0,0 +1,31 @@
1
+ var _templateObject;
2
+ function _taggedTemplateLiteral(e, t) { return t || (t = e.slice(0)), Object.freeze(Object.defineProperties(e, { raw: { value: Object.freeze(t) } })); }
3
+ import { createGlobalStyle } from 'styled-components';
4
+ import faBrandsLight from '@fortawesome/fontawesome-free/webfonts/fa-brands-400.woff';
5
+ import faBrandsLight2 from '@fortawesome/fontawesome-free/webfonts/fa-brands-400.woff2';
6
+ import faRegularLight from '@fortawesome/fontawesome-free/webfonts/fa-regular-400.woff';
7
+ import faRegularLight2 from '@fortawesome/fontawesome-free/webfonts/fa-regular-400.woff2';
8
+ import faSolidHeavy from '@fortawesome/fontawesome-free/webfonts/fa-solid-900.woff';
9
+ import faSolidHeavy2 from '@fortawesome/fontawesome-free/webfonts/fa-solid-900.woff2';
10
+
11
+ /* Lato Regular */
12
+ import latoRegular from '../../assets/fonts/lato/Lato-Regular.ttf';
13
+ import latoRegularWoff from '../../assets/fonts/lato/Lato-Regular.woff';
14
+ import latoRegularWoff2 from '../../assets/fonts/lato/Lato-Regular.woff2';
15
+
16
+ /* Lato SemiBold */
17
+ import latoSemiBold from '../../assets/fonts/lato/Lato-SemiBold.ttf';
18
+ import latoSemiBoldWoff from '../../assets/fonts/lato/Lato-SemiBold.woff';
19
+ import latoSemiBoldWoff2 from '../../assets/fonts/lato/Lato-SemiBold.woff2';
20
+
21
+ /* Lato Bold */
22
+ import latoBold from '../../assets/fonts/lato/Lato-Bold.ttf';
23
+ import latoBoldWoff from '../../assets/fonts/lato/Lato-Bold.woff';
24
+ import latoBoldWoff2 from '../../assets/fonts/lato/Lato-Bold.woff2';
25
+
26
+ /* Lato Black */
27
+ import latoBlack from '../../assets/fonts/lato/Lato-Black.ttf';
28
+ import latoBlackWoff from '../../assets/fonts/lato/Lato-Black.woff';
29
+ import latoBlackWoff2 from '../../assets/fonts/lato/Lato-Black.woff2';
30
+ var Font = createGlobalStyle(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n@font-face {\n font-family: 'FontAwesome';\n src: url(", ") format(\"woff2\"), url(", ") format(\"woff\");\n font-weight: 400;\n font-style: normal;\n};\n\n@font-face {\n font-family: 'FontAwesome';\n src: url(", ") format(\"woff2\"), url(", ") format(\"woff\");\n font-weight: 400;\n font-style: normal;\n};\n\n@font-face {\n font-family: 'FontAwesome';\n src: url(", ") format(\"woff2\"), url(", ") format(\"woff\");\n font-weight: 400;\n font-style: normal;\n};\n\n/* Lato Regular - 400 */\n@font-face {\n font-family: 'Lato';\n src: url(", ") format('woff2'), url(", ") format('woff'), url(", ") format('truetype');\n font-weight: 400;\n font-style: normal;\n};\n\n/* Lato Semi-Bold - 500 */\n@font-face {\n font-family: 'Lato';\n src: url(", ") format('woff2'), url(", ") format('woff'), url(", ") format('truetype');\n font-weight: 500;\n font-style: normal;\n};\n\n/* Lato Bold - 600 */\n@font-face {\n font-family: 'Lato';\n src: url(", ") format('woff2'), url(", ") format('woff'), url(", ") format('truetype');\n font-weight: 600;\n font-style: normal;\n};\n\n/* Lato Black - 900 */\n@font-face {\n font-family: 'Lato';\n src: url(", ") format('woff2'), url(", ") format('woff'), url(", ") format('truetype');\n font-weight: 900;\n font-style: normal;\n};"])), faBrandsLight2, faBrandsLight, faRegularLight2, faRegularLight, faSolidHeavy2, faSolidHeavy, latoRegularWoff2, latoRegularWoff, latoRegular, latoSemiBoldWoff2, latoSemiBoldWoff, latoSemiBold, latoBoldWoff2, latoBoldWoff, latoBold, latoBlackWoff2, latoBlackWoff, latoBlack);
31
+ export default Font;
@@ -0,0 +1,7 @@
1
+ var _templateObject;
2
+ function _taggedTemplateLiteral(e, t) { return t || (t = e.slice(0)), Object.freeze(Object.defineProperties(e, { raw: { value: Object.freeze(t) } })); }
3
+ import { createGlobalStyle } from 'styled-components';
4
+ import mixins from '../../assets/styles/mixins';
5
+ import colors from '../../assets/styles/colors';
6
+ var GlobalStyle = createGlobalStyle(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n *, *::before, *::after {\n ", "\n }\n\n html {\n font-size: 62.5%;\n -webkit-text-size-adjust: 100%;\n }\n\n html, body {\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n }\n\n body {\n background-color: ", ";\n line-height: 1.5;\n }\n\n p {\n margin: 0;\n }\n\n a, button {\n cursor: pointer;\n outline: 0;\n }\n\n a:focus-visible,\n button:focus-visible {\n outline: 2px solid ", ";\n outline-offset: 2px;\n }\n\n h1, h2, h3, p, label, button, input, textarea {\n font-family: 'Lato', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;\n }\n\n input:-webkit-autofill,\n input:-webkit-autofill:hover,\n input:-webkit-autofill:focus,\n input:-webkit-autofill:active {\n -webkit-transition: color 9999s ease-out, background-color 9999s ease-out;\n transition-delay: 9999s;\n }\n\n ul {\n list-style: none;\n padding: 0;\n margin: 0;\n }\n\n @media (prefers-reduced-motion: reduce) {\n *, *::before, *::after {\n animation-duration: 0.01ms !important;\n animation-iteration-count: 1 !important;\n transition-duration: 0.01ms !important;\n }\n }\n"])), mixins().bbox, colors.greyIconBkgd, colors.blue);
7
+ export default GlobalStyle;
@@ -0,0 +1,13 @@
1
+ var _templateObject;
2
+ function _taggedTemplateLiteral(e, t) { return t || (t = e.slice(0)), Object.freeze(Object.defineProperties(e, { raw: { value: Object.freeze(t) } })); }
3
+ /**
4
+ *
5
+ * Header
6
+ *
7
+ */
8
+
9
+ import styled from 'styled-components';
10
+ import sizes from '../../assets/styles/sizes';
11
+ import colors from '../../assets/styles/colors';
12
+ var Header = styled.div(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n margin-bottom: ", "px;\n position: relative;\n width: 100%;\n height: 50px;\n\n .justify-content-end {\n display: flex;\n }\n\n .header-title p {\n width: 100%;\n margin: 0;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n font-size: 1.3rem;\n font-weight: ", ";\n line-height: normal;\n color: ", ";\n }\n\n .sticky {\n position: fixed;\n top: 0;\n left: 30.6rem;\n z-index: 1050;\n background-color: ", ";\n width: calc(100vw - 30.6rem);\n padding-right: ", "px;\n height: 60px;\n display: flex;\n\n .row {\n width: 100%;\n margin: auto;\n margin-top: ", "px;\n\n .header-title p {\n display: none;\n }\n\n > div > div {\n padding-top: 0;\n\n h1 {\n font-size: 2rem;\n\n svg {\n margin-top: ", "px;\n }\n }\n\n button {\n margin-top: auto;\n margin-bottom: auto;\n }\n }\n }\n }\n"])), sizes.spacing.xxl, sizes.fontWeight.regular, colors.greySubtitle, colors.white, sizes.spacing.lg, sizes.spacing.lg, sizes.spacing.sm);
13
+ export default Header;
@@ -0,0 +1,12 @@
1
+ var _templateObject;
2
+ function _taggedTemplateLiteral(e, t) { return t || (t = e.slice(0)), Object.freeze(Object.defineProperties(e, { raw: { value: Object.freeze(t) } })); }
3
+ /**
4
+ *
5
+ * HeaderActions
6
+ *
7
+ */
8
+
9
+ import styled from 'styled-components';
10
+ import sizes from '../../assets/styles/sizes';
11
+ var HeaderActions = styled.div(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n display: flex;\n justify-content: flex-end;\n align-items: center;\n gap: ", "px;\n width: fit-content;\n max-width: 100%;\n padding-top: 1rem;\n\n > button {\n margin: 0;\n max-width: 100%;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n text-align: center;\n outline: 0;\n }\n"])), sizes.spacing.lg);
12
+ export default HeaderActions;
@@ -0,0 +1,13 @@
1
+ var _templateObject;
2
+ function _taggedTemplateLiteral(e, t) { return t || (t = e.slice(0)), Object.freeze(Object.defineProperties(e, { raw: { value: Object.freeze(t) } })); }
3
+ /**
4
+ *
5
+ * HeaderTitle
6
+ *
7
+ */
8
+
9
+ import styled from 'styled-components';
10
+ import sizes from '../../assets/styles/sizes';
11
+ import colors from '../../assets/styles/colors';
12
+ var HeaderTitle = styled.div(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n position: relative;\n padding-top: 0.5rem;\n\n h1 {\n position: relative;\n width: fit-content;\n max-width: 100%;\n margin-bottom: 0;\n padding-right: 18px;\n font-size: 2.4rem;\n line-height: normal;\n font-weight: ", ";\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n }\n\n svg {\n position: absolute;\n right: 0;\n top: 0;\n margin-top: 12px;\n font-size: 1.2rem;\n color: ", ";\n cursor: pointer;\n outline: 0;\n transition: color 0.2s ease;\n\n &:focus-visible {\n outline: 2px solid ", ";\n outline-offset: 2px;\n }\n }\n"])), sizes.fontWeight.bold, colors.greySubtitle, colors.blue);
13
+ export default HeaderTitle;
@@ -0,0 +1,16 @@
1
+ var _templateObject;
2
+ function _taggedTemplateLiteral(e, t) { return t || (t = e.slice(0)), Object.freeze(Object.defineProperties(e, { raw: { value: Object.freeze(t) } })); }
3
+ /**
4
+ *
5
+ * Icon
6
+ *
7
+ */
8
+
9
+ import styled from 'styled-components';
10
+ import PropTypes from 'prop-types';
11
+ import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
12
+ var Icon = styled(FontAwesomeIcon)(_templateObject || (_templateObject = _taggedTemplateLiteral([""])));
13
+ Icon.propTypes = {
14
+ icon: PropTypes.any.isRequired
15
+ };
16
+ export default Icon;
@@ -0,0 +1,9 @@
1
+ var _templateObject;
2
+ function _taggedTemplateLiteral(e, t) { return t || (t = e.slice(0)), Object.freeze(Object.defineProperties(e, { raw: { value: Object.freeze(t) } })); }
3
+ import styled from 'styled-components';
4
+ import sizes from '../../assets/styles/sizes';
5
+ import IconWrapper from '../IconWrapper';
6
+ var IconText = styled(IconWrapper)(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n z-index: 3;\n transform: translateY(0);\n\n ::before {\n content: '", "';\n font-family: 'Lato', -apple-system, BlinkMacSystemFont, sans-serif;\n font-size: 1.6rem;\n font-weight: ", ";\n }\n"])), function (props) {
7
+ return props.text;
8
+ }, sizes.fontWeight.bold);
9
+ export default IconText;
@@ -0,0 +1,16 @@
1
+ var _templateObject;
2
+ function _taggedTemplateLiteral(e, t) { return t || (t = e.slice(0)), Object.freeze(Object.defineProperties(e, { raw: { value: Object.freeze(t) } })); }
3
+ import styled from 'styled-components';
4
+ import PropTypes from 'prop-types';
5
+ import colors from '../../assets/styles/colors';
6
+ import sizes from '../../assets/styles/sizes';
7
+ var IconWrapper = styled.span(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n width: calc(", " - 2px);\n height: calc(", " - 2px);\n color: ", ";\n position: absolute;\n left: 1px;\n top: 1px;\n background-color: ", ";\n display: flex;\n align-items: center;\n justify-content: center;\n font-size: 1.3rem;\n"])), sizes.input.height, sizes.input.height, colors.greyIconColor, function (props) {
8
+ return props.background ? colors.greyIconBkgd : 'transparent';
9
+ });
10
+ IconWrapper.defaultProps = {
11
+ background: true
12
+ };
13
+ IconWrapper.propTypes = {
14
+ background: PropTypes.bool
15
+ };
16
+ export default IconWrapper;
@@ -0,0 +1,14 @@
1
+ var _templateObject;
2
+ function _taggedTemplateLiteral(e, t) { return t || (t = e.slice(0)), Object.freeze(Object.defineProperties(e, { raw: { value: Object.freeze(t) } })); }
3
+ /**
4
+ *
5
+ * InputNumber
6
+ *
7
+ */
8
+
9
+ import styled from 'styled-components';
10
+ import colors from '../../assets/styles/colors';
11
+ import sizes from '../../assets/styles/sizes';
12
+ import img from '../../assets/icons/icon_select.svg';
13
+ var InputNumber = styled.div(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n .rc-input-number {\n margin: 0;\n padding: 0;\n line-height: 26px;\n font-size: 1.2rem;\n height: 26px;\n display: inline-block;\n vertical-align: middle;\n border: 1px solid ", ";\n border-radius: ", ";\n transition: border-color 0.2s ease, box-shadow 0.2s ease;\n }\n\n .rc-input-number-focused {\n border-color: ", ";\n box-shadow: 0 0 0 3px ", ";\n }\n\n .rc-input-number-handler {\n text-align: center;\n line-height: 12px;\n height: 12px;\n overflow: hidden;\n display: block;\n touch-action: none;\n }\n\n .rc-input-number-handler-up-inner,\n .rc-input-number-handler-down-inner {\n color: ", ";\n user-select: none;\n }\n\n .rc-input-number:hover {\n border-color: ", ";\n }\n\n .rc-input-number:hover .rc-input-number-handler-up,\n .rc-input-number:hover .rc-input-number-handler-wrap {\n border-color: ", ";\n }\n\n .rc-input-number-disabled:hover {\n border-color: ", ";\n }\n\n .rc-input-number-disabled:hover .rc-input-number-handler-up,\n .rc-input-number-disabled:hover .rc-input-number-handler-wrap {\n border-color: ", ";\n }\n\n .rc-input-number-input-wrap {\n overflow: hidden;\n height: 100%;\n }\n\n .rc-input-number-input {\n width: 100%;\n text-align: center;\n outline: 0;\n -moz-appearance: textfield;\n line-height: 26px;\n height: 100%;\n transition: color 0.2s ease;\n color: ", ";\n border: 0;\n border-radius: ", ";\n padding: 0;\n\n &::-webkit-outer-spin-button,\n &::-webkit-inner-spin-button {\n -webkit-appearance: none;\n margin: 0;\n }\n }\n\n .rc-input-number-handler-wrap {\n float: right;\n border-left: 1px solid ", ";\n width: 20px;\n height: 100%;\n transition: border-color 0.2s ease;\n }\n\n .rc-input-number-handler-up {\n border-bottom: 1px solid ", ";\n padding-top: 1px;\n }\n\n .rc-input-number-handler-up-inner:after {\n content: '+';\n }\n\n .rc-input-number-handler-down-inner:after {\n content: '-';\n }\n\n .rc-input-number-handler-down-disabled,\n .rc-input-number-handler-up-disabled {\n opacity: 0.6;\n }\n\n .rc-input-number-handler-down-disabled:hover,\n .rc-input-number-handler-up-disabled:hover {\n color: ", ";\n border-color: ", ";\n }\n\n .rc-input-number-disabled .rc-input-number-input {\n opacity: 0.6;\n cursor: not-allowed;\n background-color: ", ";\n }\n\n .rc-input-number-disabled .rc-input-number-handler {\n opacity: 0.6;\n }\n\n .rc-input-number-disabled .rc-input-number-handler:hover {\n color: ", ";\n border-color: ", ";\n }\n\n .rc-input-number.inputNumber {\n width: 100%;\n height: ", ";\n background-color: ", ";\n border: 0;\n box-shadow: none;\n position: relative;\n\n input {\n width: 100%;\n height: 100%;\n border: 1px solid ", ";\n padding: 0 ", ";\n cursor: pointer;\n outline: 0;\n padding-right: calc(", " + ", ");\n border-radius: ", ";\n text-align: left;\n font-weight: ", ";\n font-size: 1.3rem;\n color: ", ";\n transition: border-color 0.2s ease, box-shadow 0.2s ease;\n\n &::placeholder {\n color: ", ";\n }\n\n &::-webkit-input-placeholder {\n color: ", ";\n }\n\n &:focus {\n border-color: ", ";\n box-shadow: 0 0 0 3px ", ";\n }\n\n &:disabled {\n cursor: not-allowed;\n background-color: ", ";\n color: ", ";\n opacity: 1;\n }\n }\n\n .rc-input-number-handler-wrap {\n width: 24px;\n position: absolute;\n right: 0;\n top: 0;\n background-image: url(", ");\n background-repeat: no-repeat;\n background-position: right center;\n border: none;\n cursor: pointer;\n\n span {\n height: 50%;\n border: 0;\n\n span {\n color: transparent;\n }\n }\n }\n }\n\n input[type='number']::-webkit-inner-spin-button,\n input[type='number']::-webkit-outer-spin-button {\n -webkit-appearance: none;\n margin: 0;\n }\n"])), colors.lightGrey, sizes.borderRadiusSm, colors.blueBorder, colors.blueFocusRing, colors.greySubtitle, colors.blueBorder, colors.blueBorder, colors.lightGrey, colors.lightGrey, colors.blueTxt, sizes.borderRadiusSm, colors.lightGrey, colors.lightGrey, colors.brightGrey, colors.lightGrey, colors.greyIconBkgd, colors.brightGrey, colors.lightGrey, sizes.input.height, colors.white, colors.lightGrey, sizes.input.padding, sizes.input.height, sizes.input.padding, sizes.borderRadius, sizes.fontWeight.regular, colors.blueTxt, colors.greyPlaceholder, colors.greyPlaceholder, colors.blueBorder, colors.blueFocusRing, colors.greyIconBkgd, colors.brightGrey, img);
14
+ export default InputNumber;
@@ -0,0 +1,24 @@
1
+ var _templateObject;
2
+ function _taggedTemplateLiteral(e, t) { return t || (t = e.slice(0)), Object.freeze(Object.defineProperties(e, { raw: { value: Object.freeze(t) } })); }
3
+ /**
4
+ *
5
+ * InputText
6
+ *
7
+ */
8
+
9
+ import styled from 'styled-components';
10
+ import PropTypes from 'prop-types';
11
+ import colors from '../../assets/styles/colors';
12
+ import sizes from '../../assets/styles/sizes';
13
+ var InputText = styled.input(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n width: 100%;\n height: ", ";\n padding: 0 ", ";\n font-weight: ", ";\n font-size: ", ";\n cursor: text;\n outline: 0;\n border: 1px solid ", ";\n border-radius: ", ";\n color: ", ";\n background-color: transparent;\n transition: border-color 0.2s ease, box-shadow 0.2s ease;\n\n &::placeholder {\n color: ", ";\n }\n\n &::-webkit-input-placeholder {\n color: ", ";\n }\n\n &:focus {\n border-color: ", ";\n box-shadow: 0 0 0 3px ", ";\n }\n\n &:focus-visible {\n outline: none;\n }\n\n &:disabled {\n background-color: ", ";\n cursor: not-allowed;\n color: ", ";\n }\n\n ", "\n\n ", "\n"])), sizes.input.height, sizes.input.padding, sizes.fontWeight.regular, sizes.input.fontSize, colors.lightGrey, sizes.borderRadius, colors.blueTxt, colors.greyPlaceholder, colors.greyPlaceholder, colors.blueBorder, colors.blueFocusRing, colors.greyIconBkgd, colors.brightGrey, function (props) {
14
+ return (props.type === 'search' || props.type === 'email' || props.icon) && "\n padding-left: calc(".concat(sizes.input.height, " + ").concat(sizes.input.padding, ");\n ");
15
+ }, function (props) {
16
+ return props.type === 'password' && "\n padding-right: calc(".concat(sizes.input.height, " + ").concat(sizes.input.padding, ");\n ");
17
+ });
18
+ InputText.defaultProps = {
19
+ type: 'text'
20
+ };
21
+ InputText.propTypes = {
22
+ type: PropTypes.string
23
+ };
24
+ export default InputText;
@@ -0,0 +1,13 @@
1
+ var _templateObject;
2
+ function _taggedTemplateLiteral(e, t) { return t || (t = e.slice(0)), Object.freeze(Object.defineProperties(e, { raw: { value: Object.freeze(t) } })); }
3
+ /**
4
+ *
5
+ * InputWrapper
6
+ *
7
+ */
8
+
9
+ import styled from 'styled-components';
10
+ import colors from '../../assets/styles/colors';
11
+ import sizes from '../../assets/styles/sizes';
12
+ var InputWrapper = styled.div(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n position: relative;\n background-color: ", ";\n border-radius: ", ";\n\n button[type='button'] {\n width: ", ";\n height: ", ";\n position: absolute;\n top: 0;\n right: 0;\n z-index: 2;\n cursor: pointer;\n outline: 0;\n border: 0;\n background: transparent;\n transition: color 0.2s ease;\n\n &:hover {\n span::before {\n color: ", ";\n }\n }\n\n &.shown {\n span::before {\n color: ", ";\n }\n\n & + input[type='text'] {\n padding-right: calc(", " + ", ");\n }\n }\n }\n\n span {\n border-top-left-radius: ", ";\n border-bottom-left-radius: ", ";\n }\n\n input {\n position: relative;\n z-index: 1;\n }\n"])), colors.white, sizes.borderRadius, sizes.input.height, sizes.input.height, colors.blueTxt, colors.blueTxt, sizes.input.height, sizes.input.padding, sizes.borderRadius, sizes.borderRadius);
13
+ export default InputWrapper;
@@ -0,0 +1,13 @@
1
+ var _templateObject;
2
+ function _taggedTemplateLiteral(e, t) { return t || (t = e.slice(0)), Object.freeze(Object.defineProperties(e, { raw: { value: Object.freeze(t) } })); }
3
+ /**
4
+ *
5
+ * Label
6
+ *
7
+ */
8
+
9
+ import styled from 'styled-components';
10
+ import colors from '../../assets/styles/colors';
11
+ import sizes from '../../assets/styles/sizes';
12
+ var Label = styled.label(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n width: 100%;\n font-weight: ", ";\n font-size: ", ";\n color: ", ";\n"])), sizes.fontWeight.semiBold, sizes.input.fontSize, colors.blueTxt);
13
+ export default Label;
@@ -0,0 +1,13 @@
1
+ var _templateObject;
2
+ function _taggedTemplateLiteral(e, t) { return t || (t = e.slice(0)), Object.freeze(Object.defineProperties(e, { raw: { value: Object.freeze(t) } })); }
3
+ /**
4
+ *
5
+ * Links
6
+ *
7
+ */
8
+
9
+ import styled from 'styled-components';
10
+ import colors from '../../assets/styles/colors';
11
+ import sizes from '../../assets/styles/sizes';
12
+ var Links = styled.div(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n display: flex;\n justify-content: flex-end;\n gap: ", "px;\n\n button {\n background: transparent;\n border: 0;\n outline: 0;\n color: ", ";\n transition: color 0.2s ease, opacity 0.2s ease;\n\n &:focus-visible {\n outline: 2px solid ", ";\n outline-offset: 2px;\n }\n\n svg {\n font-size: 1rem;\n color: ", ";\n }\n }\n"])), sizes.spacing.sm, colors.blueTxt, colors.blue, colors.blueTxt);
13
+ export default Links;
@@ -0,0 +1,13 @@
1
+ var _templateObject;
2
+ function _taggedTemplateLiteral(e, t) { return t || (t = e.slice(0)), Object.freeze(Object.defineProperties(e, { raw: { value: Object.freeze(t) } })); }
3
+ /**
4
+ *
5
+ * List
6
+ *
7
+ */
8
+
9
+ import styled from 'styled-components';
10
+ import colors from '../../assets/styles/colors';
11
+ import sizes from '../../assets/styles/sizes';
12
+ var List = styled.div(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n width: 100%;\n position: relative;\n overflow-x: auto;\n border-radius: ", ";\n background: ", ";\n\n table {\n border-collapse: collapse;\n width: 100%;\n min-width: 500px;\n font-family: 'Lato', -apple-system, BlinkMacSystemFont, sans-serif;\n }\n\n thead {\n tr {\n height: 3rem;\n line-height: 0.1rem;\n font-weight: ", ";\n text-transform: capitalize;\n\n td {\n background-color: ", ";\n }\n }\n }\n\n tbody {\n color: ", ";\n\n tr {\n height: 5.4rem;\n transition: background-color 0.15s ease;\n\n &::before {\n content: '-';\n display: inline-block;\n line-height: 1.1em;\n color: transparent;\n background-color: transparent;\n position: absolute;\n left: 3rem;\n width: calc(100% - 6rem);\n height: 1px;\n margin-top: -", "px;\n }\n\n &:not(:first-of-type)::before {\n background-color: rgba(14, 22, 34, 0.04);\n }\n }\n\n td {\n padding: 0.75em;\n vertical-align: middle;\n font-size: 1.3rem;\n line-height: 1.8rem;\n\n &:first-of-type:not(:last-of-type) {\n padding-left: 3rem;\n }\n\n &:last-of-type:not(:first-of-type) {\n padding-right: 3rem;\n }\n }\n }\n\n @media (min-width: ", ") {\n width: 100%;\n overflow-x: auto;\n }\n"])), sizes.borderRadius, colors.white, sizes.fontWeight.bold, colors.greyHeader, colors.blueTxt, sizes.margin * 0.1, sizes.tablet);
13
+ export default List;
@@ -0,0 +1,11 @@
1
+ var _templateObject;
2
+ function _taggedTemplateLiteral(e, t) { return t || (t = e.slice(0)), Object.freeze(Object.defineProperties(e, { raw: { value: Object.freeze(t) } })); }
3
+ /**
4
+ *
5
+ * ListHeader
6
+ *
7
+ */
8
+
9
+ import styled from 'styled-components';
10
+ var ListHeader = styled.div(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n position: relative;\n"])));
11
+ export default ListHeader;
@@ -0,0 +1,11 @@
1
+ var _templateObject;
2
+ function _taggedTemplateLiteral(e, t) { return t || (t = e.slice(0)), Object.freeze(Object.defineProperties(e, { raw: { value: Object.freeze(t) } })); }
3
+ /**
4
+ *
5
+ * ListRow
6
+ *
7
+ */
8
+
9
+ import styled from 'styled-components';
10
+ var ListRow = styled.tr(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n td {\n padding-left: 0.75em;\n padding-right: 0.75em;\n text-align: left;\n }\n"])));
11
+ export default ListRow;
@@ -0,0 +1,12 @@
1
+ var _templateObject;
2
+ function _taggedTemplateLiteral(e, t) { return t || (t = e.slice(0)), Object.freeze(Object.defineProperties(e, { raw: { value: Object.freeze(t) } })); }
3
+ /**
4
+ *
5
+ * ListSubtitle
6
+ *
7
+ */
8
+
9
+ import styled from 'styled-components';
10
+ import colors from '../../assets/styles/colors';
11
+ var ListSubtitle = styled.p(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n font-family: 'Lato', -apple-system, BlinkMacSystemFont, sans-serif;\n color: ", ";\n font-size: 1.3rem;\n line-height: 1.5;\n"])), colors.greySubtitle);
12
+ export default ListSubtitle;
@@ -0,0 +1,13 @@
1
+ var _templateObject;
2
+ function _taggedTemplateLiteral(e, t) { return t || (t = e.slice(0)), Object.freeze(Object.defineProperties(e, { raw: { value: Object.freeze(t) } })); }
3
+ /**
4
+ *
5
+ * ListTitle
6
+ *
7
+ */
8
+
9
+ import styled from 'styled-components';
10
+ import colors from '../../assets/styles/colors';
11
+ import sizes from '../../assets/styles/sizes';
12
+ var ListTitle = styled.p(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n color: ", ";\n font-family: 'Lato', -apple-system, BlinkMacSystemFont, sans-serif;\n font-size: 1.8rem;\n font-weight: ", ";\n line-height: 1.4;\n"])), colors.blueTxt, sizes.fontWeight.bold);
13
+ export default ListTitle;
@@ -0,0 +1,14 @@
1
+ var _templateObject, _templateObject2;
2
+ function _taggedTemplateLiteral(e, t) { return t || (t = e.slice(0)), Object.freeze(Object.defineProperties(e, { raw: { value: Object.freeze(t) } })); }
3
+ /**
4
+ *
5
+ * LoadingBar
6
+ *
7
+ */
8
+
9
+ import styled, { keyframes } from 'styled-components';
10
+ import colors from '../../assets/styles/colors';
11
+ import sizes from '../../assets/styles/sizes';
12
+ var loading = keyframes(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n from { left: -200px; width: 30%; }\n 50% { width: 30%; }\n 70% { width: 70%; }\n 80% { left: 50%; }\n 95% { left: 120%; }\n to { left: 100%; }\n"])));
13
+ var LoadingBar = styled.div(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n height: 6px;\n width: 20%;\n margin-top: ", "px;\n position: relative;\n overflow: hidden;\n background-color: ", ";\n border-radius: ", ";\n\n &:before {\n display: block;\n position: absolute;\n content: '';\n left: -200px;\n width: 200px;\n height: 6px;\n background-color: ", ";\n animation: ", " 2s linear infinite;\n }\n"])), sizes.spacing.lg, colors.greyHeader, sizes.borderRadius, colors.lightGrey, loading);
14
+ export default LoadingBar;
@@ -0,0 +1,69 @@
1
+ var _templateObject, _templateObject2, _templateObject3;
2
+ function _taggedTemplateLiteral(e, t) { return t || (t = e.slice(0)), Object.freeze(Object.defineProperties(e, { raw: { value: Object.freeze(t) } })); }
3
+ /**
4
+ *
5
+ * LoadingIndicator
6
+ *
7
+ */
8
+ import React from 'react';
9
+ import PropTypes from 'prop-types';
10
+ import styled, { css, keyframes } from 'styled-components';
11
+ import colors from '../../assets/styles/colors';
12
+ var spin = keyframes(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n 0% { transform: rotate(0deg); }\n 100% { transform: rotate(360deg); }\n"])));
13
+ var getSize = function getSize(size, small) {
14
+ if (size) return size;
15
+ if (small) return '11px';
16
+ return '26px';
17
+ };
18
+ var Loader = styled.div(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n display: flex;\n justify-content: center;\n align-items: center;\n width: 100%;\n\n > div {\n width: ", ";\n height: ", ";\n border: ", ";\n border-top-color: ", ";\n border-radius: 50%;\n animation: ", ";\n }\n"])), function (_ref) {
19
+ var size = _ref.size,
20
+ small = _ref.small;
21
+ return getSize(size, small);
22
+ }, function (_ref2) {
23
+ var size = _ref2.size,
24
+ small = _ref2.small;
25
+ return getSize(size, small);
26
+ }, function (_ref3) {
27
+ var borderWidth = _ref3.borderWidth,
28
+ borderColor = _ref3.borderColor;
29
+ return "".concat(borderWidth, " solid ").concat(borderColor);
30
+ }, function (_ref4) {
31
+ var borderTopColor = _ref4.borderTopColor;
32
+ return borderTopColor;
33
+ }, function (_ref5) {
34
+ var animationTime = _ref5.animationTime;
35
+ return css(_templateObject3 || (_templateObject3 = _taggedTemplateLiteral(["\n ", " ", " linear infinite\n "])), spin, animationTime);
36
+ });
37
+ var LoadingIndicator = function LoadingIndicator(_ref6) {
38
+ var animationTime = _ref6.animationTime,
39
+ borderColor = _ref6.borderColor,
40
+ borderTopColor = _ref6.borderTopColor,
41
+ borderWidth = _ref6.borderWidth,
42
+ small = _ref6.small,
43
+ size = _ref6.size;
44
+ return /*#__PURE__*/React.createElement(Loader, {
45
+ animationTime: animationTime,
46
+ borderColor: borderColor,
47
+ borderTopColor: borderTopColor,
48
+ borderWidth: borderWidth,
49
+ small: small,
50
+ size: size
51
+ }, /*#__PURE__*/React.createElement("div", null));
52
+ };
53
+ LoadingIndicator.defaultProps = {
54
+ animationTime: '1s',
55
+ borderColor: colors.greyIconBkgd,
56
+ borderTopColor: colors.blue,
57
+ borderWidth: '4px',
58
+ size: null,
59
+ small: false
60
+ };
61
+ LoadingIndicator.propTypes = {
62
+ animationTime: PropTypes.string,
63
+ borderColor: PropTypes.string,
64
+ borderTopColor: PropTypes.string,
65
+ borderWidth: PropTypes.string,
66
+ size: PropTypes.string,
67
+ small: PropTypes.bool
68
+ };
69
+ export default LoadingIndicator;
@@ -0,0 +1,37 @@
1
+ var _templateObject;
2
+ function _taggedTemplateLiteral(e, t) { return t || (t = e.slice(0)), Object.freeze(Object.defineProperties(e, { raw: { value: Object.freeze(t) } })); }
3
+ import styled from 'styled-components';
4
+ import colors from '../../assets/styles/colors';
5
+ import sizes from '../../assets/styles/sizes';
6
+ var Option = styled.div(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n display: flex;\n height: ", ";\n margin: ", ";\n align-items: center;\n padding-left: ", "px;\n background: rgba(0, 126, 255, 0.08);\n border: 1px solid rgba(0, 126, 255, 0.24);\n border-radius: ", ";\n line-height: ", ";\n color: ", ";\n font-size: ", ";\n -webkit-font-smoothing: antialiased;\n"])), function (_ref) {
7
+ var height = _ref.height;
8
+ return height;
9
+ }, function (_ref2) {
10
+ var margin = _ref2.margin;
11
+ return margin;
12
+ }, sizes.spacing.lg, sizes.borderRadiusSm, function (_ref3) {
13
+ var lineHeight = _ref3.lineHeight;
14
+ return lineHeight;
15
+ }, colors.blue, function (_ref4) {
16
+ var _theme$main;
17
+ var theme = _ref4.theme;
18
+ return (theme === null || theme === void 0 || (_theme$main = theme.main) === null || _theme$main === void 0 || (_theme$main = _theme$main.sizes) === null || _theme$main === void 0 || (_theme$main = _theme$main.fonts) === null || _theme$main === void 0 ? void 0 : _theme$main.md) || sizes.input.fontSize;
19
+ });
20
+ Option.defaultProps = {
21
+ height: '30px',
22
+ lineHeight: '28px',
23
+ margin: '0',
24
+ theme: {
25
+ main: {
26
+ sizes: {
27
+ fonts: {
28
+ xs: '11px',
29
+ sm: '12px',
30
+ md: '13px',
31
+ lg: '18px'
32
+ }
33
+ }
34
+ }
35
+ }
36
+ };
37
+ export default Option;
@@ -0,0 +1,13 @@
1
+ var _templateObject;
2
+ function _taggedTemplateLiteral(e, t) { return t || (t = e.slice(0)), Object.freeze(Object.defineProperties(e, { raw: { value: Object.freeze(t) } })); }
3
+ /**
4
+ *
5
+ * Paging
6
+ *
7
+ */
8
+
9
+ import styled from 'styled-components';
10
+ import colors from '../../assets/styles/colors';
11
+ import sizes from '../../assets/styles/sizes';
12
+ var Paging = styled.div(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n ul.pagination {\n display: flex;\n flex-wrap: wrap;\n justify-content: center;\n align-items: center;\n gap: ", "px;\n margin: 0;\n padding: 0;\n font-size: 1.2rem;\n list-style: none;\n\n .page-item {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n position: relative;\n\n .page-link {\n box-shadow: none;\n font-family: 'Lato', -apple-system, BlinkMacSystemFont, sans-serif;\n font-size: 1.2rem;\n background-color: transparent;\n color: ", ";\n padding: ", "px ", "px;\n border-radius: ", ";\n transition: background-color 0.2s ease, color 0.2s ease;\n\n &:hover {\n background-color: ", ";\n }\n\n &:focus-visible {\n outline: 2px solid ", ";\n outline-offset: 2px;\n }\n }\n\n &.selected {\n .page-link {\n font-weight: ", ";\n color: ", ";\n }\n }\n\n &:first-of-type,\n &:last-of-type {\n .page-link {\n min-width: 24px;\n min-height: 24px;\n }\n }\n }\n }\n"])), sizes.spacing.sm, colors.blueTxt, sizes.spacing.sm, sizes.spacing.md, sizes.borderRadiusSm, colors.greyHover, colors.blue, sizes.fontWeight.bold, colors.blue);
13
+ export default Paging;
@@ -0,0 +1,14 @@
1
+ var _templateObject;
2
+ function _taggedTemplateLiteral(e, t) { return t || (t = e.slice(0)), Object.freeze(Object.defineProperties(e, { raw: { value: Object.freeze(t) } })); }
3
+ /**
4
+ *
5
+ * Select
6
+ *
7
+ */
8
+
9
+ import styled from 'styled-components';
10
+ import colors from '../../assets/styles/colors';
11
+ import sizes from '../../assets/styles/sizes';
12
+ import img from '../../assets/icons/icon_select.svg';
13
+ var Select = styled.select(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n width: 100%;\n height: ", ";\n padding: 0 ", ";\n padding-right: 30px;\n font-weight: ", ";\n font-size: ", ";\n cursor: pointer;\n outline: 0;\n border: 1px solid ", ";\n border-radius: ", ";\n color: ", ";\n background-color: ", ";\n appearance: none;\n -webkit-appearance: none;\n -moz-appearance: none;\n background-image: url(", ");\n background-repeat: no-repeat;\n background-position: right center;\n transition: border-color 0.2s ease, box-shadow 0.2s ease;\n\n &::-webkit-input-placeholder {\n color: ", ";\n }\n\n &:focus {\n border-color: ", ";\n box-shadow: 0 0 0 3px ", ";\n }\n\n &:focus-visible {\n outline: none;\n }\n\n &:disabled {\n background-color: ", ";\n cursor: not-allowed;\n color: ", ";\n opacity: 1;\n }\n"])), sizes.input.height, sizes.input.padding, sizes.fontWeight.regular, sizes.input.fontSize, colors.lightGrey, sizes.borderRadius, colors.blueTxt, colors.white, img, colors.greyPlaceholder, colors.blueBorder, colors.blueFocusRing, colors.greyIconBkgd, colors.brightGrey);
14
+ export default Select;
@@ -0,0 +1,30 @@
1
+ var _templateObject;
2
+ function _taggedTemplateLiteral(e, t) { return t || (t = e.slice(0)), Object.freeze(Object.defineProperties(e, { raw: { value: Object.freeze(t) } })); }
3
+ /**
4
+ *
5
+ * Tab
6
+ *
7
+ */
8
+
9
+ import styled from 'styled-components';
10
+ import PropTypes from 'prop-types';
11
+ import sizes from '../../assets/styles/sizes';
12
+ import colors from '../../assets/styles/colors';
13
+ var Tab = styled.li(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n display: inline-block;\n width: calc(100% / ", ");\n height: 3.6rem;\n\n &:first-of-type a {\n border-top-left-radius: ", ";\n }\n\n &:last-of-type a {\n border-top-right-radius: ", ";\n }\n\n button {\n width: 100%;\n height: 100%;\n border: 0;\n padding: 0;\n margin: 0;\n background: transparent;\n }\n\n a {\n display: flex;\n width: 100%;\n height: 100%;\n padding: 0 ", "px;\n color: ", ";\n font-family: 'Lato', -apple-system, BlinkMacSystemFont, sans-serif;\n font-size: 1.3rem;\n text-align: center;\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n text-decoration: none;\n cursor: pointer;\n background-color: ", ";\n border-top: 3px solid ", ";\n border-bottom: 3px solid ", ";\n transition: background-color 0.2s ease, border-color 0.2s ease;\n\n p,\n span {\n margin: auto;\n }\n\n &.active {\n border-top: 3px solid ", ";\n border-bottom: 3px solid ", ";\n background-color: ", ";\n font-weight: ", ";\n }\n }\n"])), function (props) {
14
+ return props.count;
15
+ }, sizes.borderRadiusSm, sizes.borderRadiusSm, sizes.margin * 2, colors.blueTxt, function (props) {
16
+ return props.background;
17
+ }, function (props) {
18
+ return props.background;
19
+ }, function (props) {
20
+ return props.background;
21
+ }, colors.blueTabBorder, colors.white, colors.white, sizes.fontWeight.bold);
22
+ Tab.defaultProps = {
23
+ index: 1,
24
+ background: colors.greyTabBkgd
25
+ };
26
+ Tab.propTypes = {
27
+ background: PropTypes.string,
28
+ index: PropTypes.number
29
+ };
30
+ export default Tab;
@@ -0,0 +1,13 @@
1
+ var _templateObject;
2
+ function _taggedTemplateLiteral(e, t) { return t || (t = e.slice(0)), Object.freeze(Object.defineProperties(e, { raw: { value: Object.freeze(t) } })); }
3
+ /**
4
+ *
5
+ * Table
6
+ *
7
+ */
8
+
9
+ import styled from 'styled-components';
10
+ import colors from '../../assets/styles/colors';
11
+ import sizes from '../../assets/styles/sizes';
12
+ var Table = styled.div(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n width: 100%;\n position: relative;\n overflow-x: auto;\n border-radius: ", ";\n box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);\n background: ", ";\n\n table {\n width: 100%;\n min-width: 500px;\n font-family: 'Lato', -apple-system, BlinkMacSystemFont, sans-serif;\n border-collapse: collapse;\n\n &.rowsSelected {\n tbody::before {\n content: '-';\n height: ", ";\n display: block;\n }\n }\n }\n\n .deleteRow {\n height: ", ";\n padding: 0 ", "px;\n font-size: 1.3rem;\n line-height: ", ";\n background-color: ", ";\n font-weight: ", ";\n\n button {\n border: none;\n background: transparent;\n color: ", ";\n outline: 0;\n transition: color 0.2s ease;\n\n &:focus-visible {\n outline: 2px solid ", ";\n outline-offset: 2px;\n }\n\n svg {\n margin-left: ", "px;\n }\n }\n }\n\n th,\n td {\n font-size: 1.3rem;\n padding: 0 ", "px;\n text-align: left;\n\n &.checkCell {\n width: 50px;\n }\n }\n\n thead {\n tr {\n font-weight: ", ";\n text-transform: capitalize;\n\n th {\n background-color: ", ";\n height: ", ";\n\n p {\n padding-right: ", "px;\n color: ", ";\n\n &.clickable {\n cursor: pointer;\n }\n }\n\n svg {\n position: absolute;\n right: 0;\n top: 0;\n\n &.fa-sort-up {\n top: 4px;\n }\n\n &.fa-sort-down {\n top: -", "px;\n }\n }\n }\n }\n }\n\n tbody {\n background-color: ", ";\n color: ", ";\n\n tr {\n border-bottom: 1px solid ", ";\n background-color: ", ";\n cursor: pointer;\n transition: background-color 0.15s ease;\n\n &:hover {\n background-color: ", ";\n }\n\n &:not(.deleteRow) {\n td {\n height: ", ";\n }\n }\n }\n\n td {\n p {\n overflow-x: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n line-height: 1.5;\n }\n }\n }\n\n span.link-icon svg {\n color: ", ";\n }\n\n @media (min-width: ", ") {\n overflow-x: auto;\n }\n"])), sizes.borderRadiusLg, colors.white, sizes.table.deleteRow.height, sizes.table.deleteRow.height, sizes.spacing.xl, sizes.table.deleteRow.height, colors.greyHover, sizes.fontWeight.bold, colors.darkOrange, colors.blue, sizes.margin, sizes.spacing.xl, sizes.fontWeight.bold, colors.greyHeader, sizes.table.header.height, sizes.margin * 1.4, colors.blueTxt, sizes.margin * 0.2, colors.greyHover, colors.blueTxt, colors.greySeparator, colors.white, colors.greyHover, sizes.table.row.height, colors.blueTxt, sizes.tablet);
13
+ export default Table;
@@ -0,0 +1,13 @@
1
+ var _templateObject;
2
+ function _taggedTemplateLiteral(e, t) { return t || (t = e.slice(0)), Object.freeze(Object.defineProperties(e, { raw: { value: Object.freeze(t) } })); }
3
+ /**
4
+ *
5
+ * TableRowEmpty
6
+ *
7
+ */
8
+
9
+ import styled from 'styled-components';
10
+ import colors from '../../assets/styles/colors';
11
+ import sizes from '../../assets/styles/sizes';
12
+ var TableRowEmpty = styled.tr(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n width: 100%;\n height: 108px;\n background: ", ";\n\n td {\n height: 106px;\n line-height: 106px;\n font-size: 1.3rem;\n font-weight: ", ";\n color: ", ";\n text-align: center;\n border-collapse: collapse;\n border-top: 1px solid ", ";\n }\n"])), colors.white, sizes.fontWeight.regular, colors.blueTxt, colors.greySeparator);
13
+ export default TableRowEmpty;
@@ -0,0 +1,13 @@
1
+ var _templateObject;
2
+ function _taggedTemplateLiteral(e, t) { return t || (t = e.slice(0)), Object.freeze(Object.defineProperties(e, { raw: { value: Object.freeze(t) } })); }
3
+ /**
4
+ *
5
+ * Textarea
6
+ *
7
+ */
8
+
9
+ import styled from 'styled-components';
10
+ import colors from '../../assets/styles/colors';
11
+ import sizes from '../../assets/styles/sizes';
12
+ var StyledTextarea = styled.textarea(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n width: 100%;\n min-height: 12rem;\n padding: ", " ", ";\n font-weight: ", ";\n font-size: ", ";\n outline: 0;\n border: 1px solid ", ";\n border-radius: ", ";\n color: ", ";\n background-color: ", ";\n line-height: 1.5;\n resize: vertical;\n transition: border-color 0.2s ease, box-shadow 0.2s ease;\n\n &::placeholder {\n color: ", ";\n }\n\n &::-webkit-input-placeholder {\n color: ", ";\n }\n\n &:focus {\n border-color: ", ";\n box-shadow: 0 0 0 3px ", ";\n }\n\n &:focus-visible {\n outline: none;\n }\n\n &:disabled {\n background-color: ", ";\n cursor: not-allowed;\n color: ", ";\n }\n"])), sizes.textarea.padding, sizes.input.padding, sizes.fontWeight.regular, sizes.input.fontSize, colors.lightGrey, sizes.borderRadius, colors.blueTxt, colors.white, colors.greyPlaceholder, colors.greyPlaceholder, colors.blueBorder, colors.blueFocusRing, colors.greyIconBkgd, colors.brightGrey);
13
+ export default StyledTextarea;