@ntbjs/react-components 1.3.0-rc.36 → 1.3.0-rc.38

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 (60) hide show
  1. package/{ActionButton-b2345555.js → ActionButton-df714c16.js} +6 -4
  2. package/{Alert-d69a3f95.js → Alert-28de48e1.js} +13 -8
  3. package/{AssetAction-32bdf257.js → AssetAction-163f4042.js} +293 -110
  4. package/{AssetPreviewTopBar-f800a63a.js → AssetPreviewTopBar-5636a6e9.js} +25 -17
  5. package/{Badge-e984e6f5.js → Badge-2e008fe7.js} +21 -10
  6. package/{Button-17bb2db1.js → Button-700afca4.js} +58 -32
  7. package/{Checkbox-ad9c9e54.js → Checkbox-89fb44b0.js} +29 -12
  8. package/{CompactAutocompleteSelect-76b297c1.js → CompactAutocompleteSelect-394a96f2.js} +108 -49
  9. package/{CompactStarRating-158381c8.js → CompactStarRating-c02080fd.js} +50 -30
  10. package/{CompactTextInput-90c41fe2.js → CompactTextInput-1a216516.js} +72 -43
  11. package/{ContextMenu-4eb8fdc5.js → ContextMenu-265b13dc.js} +5 -3
  12. package/{ContextMenuItem-c536b460.js → ContextMenuItem-9008feb7.js} +16 -8
  13. package/{InputGroup-a89a0ea3.js → InputGroup-daac9ea0.js} +5 -3
  14. package/{Instructions-52e8f6dd.js → Instructions-5d777a4d.js} +19 -8
  15. package/{MultiLevelCheckboxSelect-3fa37f40.js → MultiLevelCheckboxSelect-d8e6ab4c.js} +86 -34
  16. package/{MultiSelect-32e3ed90.js → MultiSelect-f9fbcdff.js} +89 -30
  17. package/Popover-8e025dcb.js +146 -0
  18. package/{Radio-55db4781.js → Radio-ecf4226c.js} +11 -6
  19. package/{SectionSeparator-af8dc1ce.js → SectionSeparator-e69cddfd.js} +5 -3
  20. package/{Switch-04ecd8d0.js → Switch-76d7d568.js} +27 -10
  21. package/{Tab-e43241f0.js → Tab-74c2bca2.js} +5 -3
  22. package/{Tabs-cfc08c6b.js → Tabs-41bd6cc1.js} +28 -14
  23. package/{TextArea-77fd5efd.js → TextArea-40baf21d.js} +87 -55
  24. package/{TextInput-9a995449.js → TextInput-c1bb5c8c.js} +49 -26
  25. package/{Tooltip-a68a7e49.js → Tooltip-dbd1bc99.js} +6 -4
  26. package/{VerificationStatusIcon-7b0e23fe.js → VerificationStatusIcon-b43db48d.js} +14 -6
  27. package/data/Alert/index.js +2 -2
  28. package/data/Badge/index.js +2 -2
  29. package/data/Popover/index.js +4 -3
  30. package/data/Tab/index.js +2 -2
  31. package/data/Tabs/index.js +3 -3
  32. package/data/Tooltip/index.js +3 -3
  33. package/data/index.js +10 -9
  34. package/{defaultTheme-cd01e6c2.js → defaultTheme-b6420d7d.js} +1 -10
  35. package/inputs/ActionButton/index.js +2 -2
  36. package/inputs/Button/index.js +6 -5
  37. package/inputs/Checkbox/index.js +2 -2
  38. package/inputs/CompactAutocompleteSelect/index.js +12 -11
  39. package/inputs/CompactStarRating/index.js +11 -10
  40. package/inputs/CompactTextInput/index.js +11 -10
  41. package/inputs/MultiSelect/index.js +3 -3
  42. package/inputs/Radio/index.js +2 -2
  43. package/inputs/Switch/index.js +2 -2
  44. package/inputs/TextArea/index.js +11 -10
  45. package/inputs/TextInput/index.js +2 -2
  46. package/inputs/index.js +26 -25
  47. package/layout/InputGroup/index.js +2 -2
  48. package/layout/SectionSeparator/index.js +2 -2
  49. package/layout/index.js +3 -3
  50. package/package.json +6 -6
  51. package/{react-select-creatable.esm-753a67f1.js → react-select-creatable.esm-a9d74549.js} +9 -7
  52. package/{shift-away-subtle-631cd794.js → shift-away-subtle-e3830923.js} +1 -1
  53. package/widgets/AssetGallery/index.js +30 -29
  54. package/widgets/AssetPreview/AssetPreviewTopBar/index.js +2 -2
  55. package/widgets/ContextMenu/ContextMenuItem/index.js +2 -2
  56. package/widgets/ContextMenu/ContextMenuItemsGroup/index.js +5 -3
  57. package/widgets/ContextMenu/index.js +2 -2
  58. package/widgets/Instructions/index.js +14 -13
  59. package/widgets/index.js +30 -29
  60. package/Popover-85ce744d.js +0 -131
@@ -1,17 +1,17 @@
1
1
  'use strict';
2
2
 
3
- var defaultTheme = require('./defaultTheme-cd01e6c2.js');
3
+ var defaultTheme = require('./defaultTheme-b6420d7d.js');
4
4
  var React = require('react');
5
5
  var lodash = require('lodash');
6
6
  var useMergedRefs = require('./useMergedRefs-b6d2f8fc.js');
7
7
  var nanoid = require('nanoid');
8
- require('./Alert-d69a3f95.js');
9
- require('./Badge-e984e6f5.js');
10
- require('./Popover-85ce744d.js');
11
- require('./Tab-e43241f0.js');
12
- require('./Tabs-cfc08c6b.js');
13
- var Tooltip = require('./Tooltip-a68a7e49.js');
14
- require('./VerificationStatusIcon-7b0e23fe.js');
8
+ require('./Alert-28de48e1.js');
9
+ require('./Badge-2e008fe7.js');
10
+ require('./Popover-8e025dcb.js');
11
+ require('./Tab-74c2bca2.js');
12
+ require('./Tabs-41bd6cc1.js');
13
+ var Tooltip = require('./Tooltip-dbd1bc99.js');
14
+ require('./VerificationStatusIcon-b43db48d.js');
15
15
  var editNote = require('./edit-note-cefe2215.js');
16
16
  var styled = require('styled-components');
17
17
 
@@ -20,46 +20,57 @@ function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'defau
20
20
  var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
21
21
  var styled__default = /*#__PURE__*/_interopDefaultLegacy(styled);
22
22
 
23
- var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5, _templateObject6, _templateObject7, _templateObject8, _templateObject9, _templateObject10, _templateObject11, _templateObject12, _templateObject13, _templateObject14, _templateObject15, _templateObject16, _templateObject17, _templateObject18, _templateObject19, _templateObject20, _templateObject21, _templateObject22, _templateObject23, _templateObject24, _templateObject25, _templateObject26, _templateObject27, _templateObject28, _templateObject29, _templateObject30, _templateObject31, _templateObject32, _templateObject33, _templateObject34, _templateObject35, _templateObject36, _templateObject37, _templateObject38, _templateObject39, _templateObject40, _templateObject41, _templateObject42, _templateObject43, _templateObject44, _templateObject45, _templateObject46;
24
- var fadeInCheck = styled.keyframes(_templateObject || (_templateObject = defaultTheme._taggedTemplateLiteral(["\n from {\n opacity: 0\n }\n to {\n opacity: 1\n }\n"])));
25
- var fadeOutCheck = styled.keyframes(_templateObject2 || (_templateObject2 = defaultTheme._taggedTemplateLiteral(["\n from {\n opacity: 1\n }\n to {\n opacity: 0\n }\n"])));
26
- var activeLabel = styled.css(_templateObject3 || (_templateObject3 = defaultTheme._taggedTemplateLiteral(["\n font-size: 0.75rem;\n padding: 0 3px;\n top: -7px;\n letter-spacing: 0.03em;\n left: 8px !important;\n opacity: 1 !important;\n"])));
27
- var placeholderBaseStyle = styled.css(_templateObject4 || (_templateObject4 = defaultTheme._taggedTemplateLiteral(["\n ", "\n\n ", "\n"])), function (props) {
23
+ var fadeInCheck = styled.keyframes(["from{opacity:0}to{opacity:1}"]);
24
+ var fadeOutCheck = styled.keyframes(["from{opacity:1}to{opacity:0}"]);
25
+ var activeLabel = styled.css(["font-size:0.75rem;padding:0 3px;top:-7px;letter-spacing:0.03em;left:8px !important;opacity:1 !important;"]);
26
+ var placeholderBaseStyle = styled.css(["", " ", ""], function (props) {
28
27
  return props.theme.themeProp('color', props.theme.getColor('gray-300'), props.theme.getColor('gray-600'));
29
28
  }, function (props) {
30
29
  return props.theme.themeProp('opacity', 0.6, 0.5);
31
30
  });
32
- var warningPlaceholder = styled.css(_templateObject5 || (_templateObject5 = defaultTheme._taggedTemplateLiteral(["\n ", "\n"])), function (props) {
31
+ var warningPlaceholder = styled.css(["", ""], function (props) {
33
32
  return props.type === 'warning' && props.theme.themeProp('color', props.theme.getColor('gray-200'), props.theme.getColor('gray-700'), 1);
34
33
  });
35
- var errorPlaceholder = styled.css(_templateObject6 || (_templateObject6 = defaultTheme._taggedTemplateLiteral(["\n ", "\n"])), function (props) {
34
+ var errorPlaceholder = styled.css(["", ""], function (props) {
36
35
  return props.type === 'error' && props.theme.themeProp('color', props.theme.getColor('gray-200'), props.theme.getColor('gray-700'), 1);
37
36
  });
38
- var warningPlaceholderHover = styled.css(_templateObject7 || (_templateObject7 = defaultTheme._taggedTemplateLiteral(["\n ", "\n"])), function (props) {
37
+ var warningPlaceholderHover = styled.css(["", ""], function (props) {
39
38
  return props.type === 'warning' && props.theme.themeProp('color', props.theme.getColor('gray-900'), props.theme.getColor('gray-900'), 1);
40
39
  });
41
- var errorPlaceholderHover = styled.css(_templateObject8 || (_templateObject8 = defaultTheme._taggedTemplateLiteral(["\n ", "\n"])), function (props) {
40
+ var errorPlaceholderHover = styled.css(["", ""], function (props) {
42
41
  return props.type === 'error' && props.theme.themeProp('color', props.theme.getColor('red-600'), props.theme.getColor('red-600'), 1);
43
42
  });
44
- var TextAreaContainter = styled__default["default"].div.attrs(defaultTheme.applyDefaultTheme)(_templateObject9 || (_templateObject9 = defaultTheme._taggedTemplateLiteral(["\n display: flex;\n"])));
45
- var Label = styled__default["default"].label.attrs(defaultTheme.applyDefaultTheme)(_templateObject10 || (_templateObject10 = defaultTheme._taggedTemplateLiteral(["\n ", ";\n flex-basis: 33.33%;\n font-size: 0.875rem;\n line-height: 1rem;\n height: 19px;\n display: flex;\n justify-content: space-between;\n align-items: center;\n padding-top: 13px;\n ", "\n"])), function (props) {
43
+ var TextAreaContainter = styled__default["default"].div.attrs(defaultTheme.applyDefaultTheme).withConfig({
44
+ displayName: "TextAreastyled__TextAreaContainter",
45
+ componentId: "sc-bwbwn7-0"
46
+ })(["display:flex;"]);
47
+ var Label = styled__default["default"].label.attrs(defaultTheme.applyDefaultTheme).withConfig({
48
+ displayName: "TextAreastyled__Label",
49
+ componentId: "sc-bwbwn7-1"
50
+ })(["", ";flex-basis:33.33%;font-size:0.875rem;line-height:1rem;height:19px;display:flex;justify-content:space-between;align-items:center;padding-top:13px;", ""], function (props) {
46
51
  return props.theme.themeProp('color', props.theme.getColor('white'), props.theme.getColor('gray-700'));
47
52
  }, function (props) {
48
- return props.disabled && styled.css(_templateObject11 || (_templateObject11 = defaultTheme._taggedTemplateLiteral(["\n cursor: not-allowed;\n "])));
53
+ return props.disabled && styled.css(["cursor:not-allowed;"]);
49
54
  });
50
- var InputIconContainer = styled__default["default"].div.attrs(defaultTheme.applyDefaultTheme)(_templateObject12 || (_templateObject12 = defaultTheme._taggedTemplateLiteral(["\n opacity: 0;\n pointer-events: none;\n border-top-right-radius: 3px;\n border-bottom-right-radius: 3px;\n display: flex;\n align-items: flex-start;\n\n position: absolute;\n right: 15px;\n top: 10px;\n bottom: 0;\n > .smallPadingIcon {\n padding: 4px;\n width: 15px;\n height: 15px;\n border-radius: 5px;\n opacity: 1;\n margin-top: -5px;\n ", "\n }\n svg {\n width: 15px;\n opacity: 0.7;\n transition: opacity 250ms;\n\n ", "\n }\n"])), function (props) {
55
+ var InputIconContainer = styled__default["default"].div.attrs(defaultTheme.applyDefaultTheme).withConfig({
56
+ displayName: "TextAreastyled__InputIconContainer",
57
+ componentId: "sc-bwbwn7-2"
58
+ })(["opacity:0;pointer-events:none;border-top-right-radius:3px;border-bottom-right-radius:3px;display:flex;align-items:flex-start;position:absolute;right:15px;top:10px;bottom:0;> .smallPadingIcon{padding:4px;width:15px;height:15px;border-radius:5px;opacity:1;margin-top:-5px;", "}svg{width:15px;opacity:0.7;transition:opacity 250ms;", "}"], function (props) {
51
59
  return props.theme.themeProp('background-color', props.theme.getColor('gray-900'), props.theme.getColor('gray-300'), '!important');
52
60
  }, function (props) {
53
- return props.disabled && styled.css(_templateObject13 || (_templateObject13 = defaultTheme._taggedTemplateLiteral(["\n display: none;\n "])));
61
+ return props.disabled && styled.css(["display:none;"]);
54
62
  });
55
- var TextInputField = styled__default["default"].textarea.attrs(defaultTheme.applyDefaultTheme)(_templateObject14 || (_templateObject14 = defaultTheme._taggedTemplateLiteral(["\n width: 100%;\n font-family: inherit;\n font-size: 0.875rem;\n border-radius: 2px;\n padding: 5px 10px;\n resize: vertical;\n z-index: 0;\n border-radius: 3px;\n box-sizing: border-box;\n appearance: none;\n border: 1px solid;\n transition: height 550ms ease-in-out; border-color 350ms;\n\n\n ", "\n\n\n\n ", "\n\n ", "\n\n ", "\n\n \n ", "\n\n \n ", "\n\n ", "\n\n ", " \n\n ", " \n \n\n ", " \n\n \n \n ", "\n\n ", " \n\n ", "\n \n \n ", "\n\n\n\n ", "\n\n ", "\n\n ", "\n\n ", "\n\n\n\n &&:hover:not(:focus) {\n ", ";\n\n ", ";\n\n ", ";\n\n \n ", "; \n\n\n ", ";\n transition: background 350ms;\n & + ", " {\n opacity: 1;\n ", ";\n transition: opacity 350ms;\n }\n }\n\n &::placeholder {\n ", "\n ", "\n ", "\n\n }\n\n &:hover::placeholder {\n ", " \n ", " \n }\n\n &:focus::placeholder {\n ", " \n ", " \n }\n\n &&:focus {\n outline: none;\n ", "\n\n ", ";\n\n \n ", " \n \n ", "\n\n }\n\n &&:not(:hover):not(:focus) {\n ", ";\n ", ";\n\n ", "\n \n }\n"])), function (props) {
56
- return props.borderRadius && styled.css(_templateObject15 || (_templateObject15 = defaultTheme._taggedTemplateLiteral(["\n border-radius: ", "px;\n "])), props.borderRadius);
63
+ var TextInputField = styled__default["default"].textarea.attrs(defaultTheme.applyDefaultTheme).withConfig({
64
+ displayName: "TextAreastyled__TextInputField",
65
+ componentId: "sc-bwbwn7-3"
66
+ })(["width:100%;font-family:inherit;font-size:0.875rem;border-radius:2px;padding:5px 10px;resize:vertical;z-index:0;border-radius:3px;box-sizing:border-box;appearance:none;border:1px solid;transition:height 550ms ease-in-out;border-color 350ms;", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " &&:hover:not(:focus){", ";", ";", ";", ";", ";transition:background 350ms;& + ", "{opacity:1;", ";transition:opacity 350ms;}}&::placeholder{", " ", " ", "}&:hover::placeholder{", " ", "}&:focus::placeholder{", " ", "}&&:focus{outline:none;", " ", ";", " ", "}&&:not(:hover):not(:focus){", ";", ";", "}"], function (props) {
67
+ return props.borderRadius && styled.css(["border-radius:", "px;"], props.borderRadius);
57
68
  }, function (props) {
58
69
  return props.theme.themeProp('color', 'white', 'black');
59
70
  }, function (props) {
60
- return props.readOnly && styled.css(_templateObject16 || (_templateObject16 = defaultTheme._taggedTemplateLiteral(["\n cursor: default;\n border-color: transparent !important;\n padding: 12px 10px; ;\n "])));
71
+ return props.readOnly && styled.css(["cursor:default;border-color:transparent !important;padding:12px 10px;;"]);
61
72
  }, function (props) {
62
- return props.disabled && styled.css(_templateObject17 || (_templateObject17 = defaultTheme._taggedTemplateLiteral(["\n cursor: not-allowed;\n "])));
73
+ return props.disabled && styled.css(["cursor:not-allowed;"]);
63
74
  }, function (props) {
64
75
  return props.theme.themeProp('color', props.theme.getColor('gray-100'), props.theme.getColor('gray-900'));
65
76
  }, function (props) {
@@ -67,33 +78,33 @@ var TextInputField = styled__default["default"].textarea.attrs(defaultTheme.appl
67
78
  }, function (props) {
68
79
  return props.theme.themeProp('border-color', props.theme.getColor('gray-500'), props.theme.getColor('gray-400'));
69
80
  }, function (props) {
70
- return props.noBorder && styled.css(_templateObject18 || (_templateObject18 = defaultTheme._taggedTemplateLiteral(["\n ", "\n "])), function (props) {
81
+ return props.noBorder && styled.css(["", ""], function (props) {
71
82
  return props.theme.themeProp('border-color', props.theme.getColor('gray-900'), props.theme.getColor('white'));
72
83
  });
73
84
  }, function (props) {
74
- return props.type === 'warning' && styled.css(_templateObject19 || (_templateObject19 = defaultTheme._taggedTemplateLiteral(["\n ", "\n ", "\n ", "\n "])), props.theme.themeProp('color', 'white', 'black'), props.theme.themeProp('background', '#634E01', '#FFFDE8'), props.theme.themeProp('border-color', '#634E01 ', '#FFFDE8'));
85
+ return props.type === 'warning' && styled.css(["", " ", " ", ""], props.theme.themeProp('color', 'white', 'black'), props.theme.themeProp('background', '#634E01', '#FFFDE8'), props.theme.themeProp('border-color', '#634E01 ', '#FFFDE8'));
75
86
  }, function (props) {
76
- return props.type === 'error' && styled.css(_templateObject20 || (_templateObject20 = defaultTheme._taggedTemplateLiteral(["\n ", "\n ", "\n ", "\n "])), props.theme.themeProp('color', 'white', 'black'), props.theme.themeProp('background', '#7f1b1b', '#FBEAE6'), props.theme.themeProp('border-color', '#7f1b1b', '#FBEAE6'));
87
+ return props.type === 'error' && styled.css(["", " ", " ", ""], props.theme.themeProp('color', 'white', 'black'), props.theme.themeProp('background', '#7f1b1b', '#FBEAE6'), props.theme.themeProp('border-color', '#7f1b1b', '#FBEAE6'));
77
88
  }, function (props) {
78
- return props.noBorder && props.type === 'warning' && styled.css(_templateObject21 || (_templateObject21 = defaultTheme._taggedTemplateLiteral(["\n ", "\n "])), function (props) {
89
+ return props.noBorder && props.type === 'warning' && styled.css(["", ""], function (props) {
79
90
  return props.theme.themeProp('border-color', '#634E01', '#FFFDE8');
80
91
  });
81
92
  }, function (props) {
82
- return props.noBorder && props.type === 'error' && styled.css(_templateObject22 || (_templateObject22 = defaultTheme._taggedTemplateLiteral(["\n ", "\n "])), function (props) {
93
+ return props.noBorder && props.type === 'error' && styled.css(["", ""], function (props) {
83
94
  return props.theme.themeProp('border-color', '#7f1b1b', '#FBEAE6');
84
95
  });
85
96
  }, function (props) {
86
- return props.type === 'warning-border' && styled.css(_templateObject23 || (_templateObject23 = defaultTheme._taggedTemplateLiteral(["\n ", "\n "])), props.theme.themeProp('border-color', props.theme.getColor('red-200'), props.theme.getColor('orange-500')));
97
+ return props.type === 'warning-border' && styled.css(["", ""], props.theme.themeProp('border-color', props.theme.getColor('red-200'), props.theme.getColor('orange-500')));
87
98
  }, function (props) {
88
- return props.type === 'error-border' && styled.css(_templateObject24 || (_templateObject24 = defaultTheme._taggedTemplateLiteral(["\n ", "\n "])), props.theme.themeProp('border-color', props.theme.getColor('red-200'), props.theme.getColor('red-500')));
99
+ return props.type === 'error-border' && styled.css(["", ""], props.theme.themeProp('border-color', props.theme.getColor('red-200'), props.theme.getColor('red-500')));
89
100
  }, function (props) {
90
- return props.padding === 'small' && styled.css(_templateObject25 || (_templateObject25 = defaultTheme._taggedTemplateLiteral(["\n padding: 5px 10px;\n "])));
101
+ return props.padding === 'small' && styled.css(["padding:5px 10px;"]);
91
102
  }, function (props) {
92
- return props.padding === 'medium' && styled.css(_templateObject26 || (_templateObject26 = defaultTheme._taggedTemplateLiteral(["\n padding: 13px 15px;\n "])));
103
+ return props.padding === 'medium' && styled.css(["padding:13px 15px;"]);
93
104
  }, function (props) {
94
- return props.padding === 'large' && styled.css(_templateObject27 || (_templateObject27 = defaultTheme._taggedTemplateLiteral(["\n padding: 15px 55px;\n "])));
105
+ return props.padding === 'large' && styled.css(["padding:15px 55px;"]);
95
106
  }, function (props) {
96
- return props.hasIcon && styled.css(_templateObject28 || (_templateObject28 = defaultTheme._taggedTemplateLiteral(["\n padding-left: 55px;\n padding-right: 35px;\n padding-top: 13.5px;\n "])));
107
+ return props.hasIcon && styled.css(["padding-left:55px;padding-right:35px;padding-top:13.5px;"]);
97
108
  }, function (props) {
98
109
  return !props.readOnly && !props.disabled && props.theme.themeProp('background', props.theme.getColor('gray-700'), props.theme.getColor('gray-100'));
99
110
  }, function (props) {
@@ -105,17 +116,17 @@ var TextInputField = styled__default["default"].textarea.attrs(defaultTheme.appl
105
116
  }, function (props) {
106
117
  return props.noBorder && !props.readOnly && props.type != 'warning' && props.type != 'error' ? props.theme.themeProp('background', props.theme.getColor('gray-700'), props.theme.getColor('gray-100')) : 'background: transparent';
107
118
  }, InputIconContainer, function (props) {
108
- return props.type === 'success' && styled.css(_templateObject29 || (_templateObject29 = defaultTheme._taggedTemplateLiteral(["\n opacity: 0;\n "])));
119
+ return props.type === 'success' && styled.css(["opacity:0;"]);
109
120
  }, placeholderBaseStyle, warningPlaceholder, errorPlaceholder, warningPlaceholderHover, errorPlaceholderHover, warningPlaceholderHover, errorPlaceholderHover, function (props) {
110
121
  return props.theme.themeProp('border-color', props.theme.getColor('gray-500'), props.theme.getColor('gray-600'));
111
122
  }, function (props) {
112
123
  return props.theme.themeProp('background', 'transparent', props.theme.getColor('white'));
113
124
  }, function (props) {
114
- return props.type === 'warning' && styled.css(_templateObject30 || (_templateObject30 = defaultTheme._taggedTemplateLiteral(["\n ", "\n ", "\n ", "\n "])), function (props) {
125
+ return props.type === 'warning' && styled.css(["", " ", " ", ""], function (props) {
115
126
  return props.theme.themeProp('border-color', '#F4E21E', '#F4E21E');
116
127
  }, props.theme.themeProp('background', 'white', 'white'), props.theme.themeProp('color', 'black', 'black'));
117
128
  }, function (props) {
118
- return props.type === 'error' && styled.css(_templateObject31 || (_templateObject31 = defaultTheme._taggedTemplateLiteral(["\n ", "\n ", "\n ", "\n "])), function (props) {
129
+ return props.type === 'error' && styled.css(["", " ", " ", ""], function (props) {
119
130
  return props.theme.themeProp('border-color', '#D83018', '#D83018');
120
131
  }, props.theme.themeProp('background', 'white', 'white'), props.theme.themeProp('color', 'black', 'black'));
121
132
  }, function (props) {
@@ -123,49 +134,70 @@ var TextInputField = styled__default["default"].textarea.attrs(defaultTheme.appl
123
134
  }, function (props) {
124
135
  return props.edit && props.theme.themeProp('border-color', 'rgba(39,39,42, 0.7)', 'rgba(228,228,231, 0.3)');
125
136
  }, function (props) {
126
- return props.noBorder && props.edit && styled.css(_templateObject32 || (_templateObject32 = defaultTheme._taggedTemplateLiteral(["\n ", "\n "])), function (props) {
137
+ return props.noBorder && props.edit && styled.css(["", ""], function (props) {
127
138
  return props.theme.themeProp('border-color', '#27272A', 'rgba(244,244,245, 0.3)');
128
139
  });
129
140
  });
130
- var TextInputLabel = styled__default["default"].label.attrs(defaultTheme.applyDefaultTheme)(_templateObject33 || (_templateObject33 = defaultTheme._taggedTemplateLiteral(["\n position: absolute;\n top: 13px;\n left: 11px;\n line-height: 1.2;\n font-size: 0.875rem;\n transition: all 150ms;\n margin-botton: 50px;\n\n ", ";\n\n ", ";\n\n ", "\n\n ", "\n\n ", "\n content: \"\";\n\n ", "\n"])), function (props) {
141
+ var TextInputLabel = styled__default["default"].label.attrs(defaultTheme.applyDefaultTheme).withConfig({
142
+ displayName: "TextAreastyled__TextInputLabel",
143
+ componentId: "sc-bwbwn7-4"
144
+ })(["position:absolute;top:13px;left:11px;line-height:1.2;font-size:0.875rem;transition:all 150ms;margin-botton:50px;", ";", ";", " ", " ", " content:\"\";", ""], function (props) {
131
145
  return props.theme.themeProp('color', props.theme.getColor('white'), props.theme.getColor('gray-700'));
132
146
  }, placeholderBaseStyle, function (props) {
133
147
  return props.theme.themeProp('background', "linear-gradient(0deg, ".concat(props.theme.getColor('gray-900'), " calc(50% + 1px), transparent 50%)"), "linear-gradient(0deg, ".concat(props.theme.getColor('white'), " calc(50% + 1px), transparent 50%)"));
134
148
  }, function (props) {
135
- return !props.inputIsEmpty && styled.css(_templateObject34 || (_templateObject34 = defaultTheme._taggedTemplateLiteral(["\n ", "\n "])), activeLabel);
149
+ return !props.inputIsEmpty && styled.css(["", ""], activeLabel);
136
150
  }, function (props) {
137
- return props.hasPlaceholder && styled.css(_templateObject35 || (_templateObject35 = defaultTheme._taggedTemplateLiteral(["\n ", ";\n "])), activeLabel);
151
+ return props.hasPlaceholder && styled.css(["", ";"], activeLabel);
138
152
  }, function (props) {
139
- return props.hasIcon && styled.css(_templateObject36 || (_templateObject36 = defaultTheme._taggedTemplateLiteral(["\n left: 55px;\n "])));
153
+ return props.hasIcon && styled.css(["left:55px;"]);
140
154
  });
141
- var TextInputFieldIcon = styled__default["default"].div.attrs(defaultTheme.applyDefaultTheme)(_templateObject37 || (_templateObject37 = defaultTheme._taggedTemplateLiteral(["\n position: absolute;\n top: 0;\n left: 0;\n height: 2.625rem;\n display: flex;\n padding: 0 10px;\n\n svg {\n width: 15px;\n opacity: 0.6;\n transition: opacity 250ms;\n }\n"])));
142
- var TextInputFieldIconAlert = styled__default["default"].div.attrs(defaultTheme.applyDefaultTheme)(_templateObject38 || (_templateObject38 = defaultTheme._taggedTemplateLiteral(["\n position: absolute;\n top: 2.8px;\n display: flex;\n padding: 0 10px 0 30px;\n opacity: 0.6;\n transition: opacity 250ms;\n ", "\n svg {\n margin-top: 12px;\n width: 15px;\n }\n"])), function (props) {
155
+ var TextInputFieldIcon = styled__default["default"].div.attrs(defaultTheme.applyDefaultTheme).withConfig({
156
+ displayName: "TextAreastyled__TextInputFieldIcon",
157
+ componentId: "sc-bwbwn7-5"
158
+ })(["position:absolute;top:0;left:0;height:2.625rem;display:flex;padding:0 10px;svg{width:15px;opacity:0.6;transition:opacity 250ms;}"]);
159
+ var TextInputFieldIconAlert = styled__default["default"].div.attrs(defaultTheme.applyDefaultTheme).withConfig({
160
+ displayName: "TextAreastyled__TextInputFieldIconAlert",
161
+ componentId: "sc-bwbwn7-6"
162
+ })(["position:absolute;top:2.8px;display:flex;padding:0 10px 0 30px;opacity:0.6;transition:opacity 250ms;", " svg{margin-top:12px;width:15px;}"], function (props) {
143
163
  return props.type === 'warning' && props.theme.themeProp('color', '#EAB308', '#2F2402');
144
164
  });
145
- var TextInput = styled__default["default"].div.attrs(defaultTheme.applyDefaultTheme)(_templateObject39 || (_templateObject39 = defaultTheme._taggedTemplateLiteral(["\n position: relative;\n flex-basis: ", ";\n\n ", "\n\n ", "\n\n \n\n &:focus-within {\n ", " {\n ", ";\n }\n\n ", " {\n svg {\n opacity: 1;\n }\n }\n }\n\n ", ":not(:placeholder-shown) + ", " {\n ", ";\n ", "\n }\n }\n"])), function (props) {
165
+ var TextInput = styled__default["default"].div.attrs(defaultTheme.applyDefaultTheme).withConfig({
166
+ displayName: "TextAreastyled__TextInput",
167
+ componentId: "sc-bwbwn7-7"
168
+ })(["position:relative;flex-basis:", ";", " ", " &:focus-within{", "{", ";}", "{svg{opacity:1;}}}", ":not(:placeholder-shown) + ", "{", ";", "}}"], function (props) {
146
169
  return props.$fieldLabel ? '66.66%' : '100%';
147
170
  }, function (props) {
148
- return props.readOnly && styled.css(_templateObject40 || (_templateObject40 = defaultTheme._taggedTemplateLiteral(["\n overflow: auto;\n "])));
171
+ return props.readOnly && styled.css(["overflow:auto;"]);
149
172
  }, function (props) {
150
- return props.disabled && styled.css(_templateObject41 || (_templateObject41 = defaultTheme._taggedTemplateLiteral(["\n opacity: 0.5;\n\n > * {\n cursor: not-allowed;\n }\n "])));
173
+ return props.disabled && styled.css(["opacity:0.5;> *{cursor:not-allowed;}"]);
151
174
  }, TextInputLabel, activeLabel, TextInputFieldIcon, TextInputField, TextInputLabel, activeLabel, function (props) {
152
175
  return props.type === 'error' && props.theme.themeProp('color', props.theme.getColor('red-200'), props.theme.getColor('red-500'));
153
176
  });
154
- var Description = styled__default["default"].div.attrs(defaultTheme.applyDefaultTheme)(_templateObject42 || (_templateObject42 = defaultTheme._taggedTemplateLiteral(["\n margin: 8px 0 0 0;\n padding: 0 0.6875rem;\n font-size: 0.75rem;\n line-height: 1.333;\n\n ", ";\n\n ", "\n\n ", "\n"])), function (props) {
177
+ var Description = styled__default["default"].div.attrs(defaultTheme.applyDefaultTheme).withConfig({
178
+ displayName: "TextAreastyled__Description",
179
+ componentId: "sc-bwbwn7-8"
180
+ })(["margin:8px 0 0 0;padding:0 0.6875rem;font-size:0.75rem;line-height:1.333;", ";", " ", ""], function (props) {
155
181
  return props.theme.themeProp('color', props.theme.getColor('gray-400'), props.theme.getColor('gray-500'));
156
182
  }, function (props) {
157
- return (props.type === 'warning-border' || props.type === 'warning') && styled.css(_templateObject43 || (_templateObject43 = defaultTheme._taggedTemplateLiteral(["\n ", "\n "])), props.theme.themeProp('color', props.theme.getColor('red-200'), props.theme.getColor('orange-500')));
183
+ return (props.type === 'warning-border' || props.type === 'warning') && styled.css(["", ""], props.theme.themeProp('color', props.theme.getColor('red-200'), props.theme.getColor('orange-500')));
158
184
  }, function (props) {
159
- return (props.type === 'error-border' || props.type === 'error') && styled.css(_templateObject44 || (_templateObject44 = defaultTheme._taggedTemplateLiteral(["\n ", "\n "])), props.theme.themeProp('color', props.theme.getColor('red-200'), props.theme.getColor('red-500')));
185
+ return (props.type === 'error-border' || props.type === 'error') && styled.css(["", ""], props.theme.themeProp('color', props.theme.getColor('red-200'), props.theme.getColor('red-500')));
160
186
  });
161
- var SuccessContainer = styled__default["default"].div.attrs(defaultTheme.applyDefaultTheme)(_templateObject45 || (_templateObject45 = defaultTheme._taggedTemplateLiteral(["\n opacity: 1;\n pointer-events: none;\n opacity: ", ";\n animation: ", " 0.5s ease-in-out;\n transition: opacity 0.5s ease-in-out;\n position: absolute;\n margin-top: -35px;\n margin-left: 5px;\n width: 15px;\n height: 15px;\n padding: 5px;\n ", "\n\n > svg {\n width: 15px;\n }\n"])), function (props) {
187
+ var SuccessContainer = styled__default["default"].div.attrs(defaultTheme.applyDefaultTheme).withConfig({
188
+ displayName: "TextAreastyled__SuccessContainer",
189
+ componentId: "sc-bwbwn7-9"
190
+ })(["opacity:1;pointer-events:none;opacity:", ";animation:", " 0.5s ease-in-out;transition:opacity 0.5s ease-in-out;position:absolute;margin-top:-35px;margin-left:5px;width:15px;height:15px;padding:5px;", " > svg{width:15px;}"], function (props) {
162
191
  return props.fadeIn ? 0 : 1;
163
192
  }, function (props) {
164
193
  return props.fadeIn ? fadeOutCheck : fadeInCheck;
165
194
  }, function (props) {
166
195
  return props.theme.themeProp('color', props.theme.getColor('gray-300'), props.theme.getColor('gray-500'));
167
196
  });
168
- var SuccessContainerLabel = styled__default["default"].div.attrs(defaultTheme.applyDefaultTheme)(_templateObject46 || (_templateObject46 = defaultTheme._taggedTemplateLiteral(["\n opacity: 1;\n pointer-events: none;\n opacity: ", ";\n animation: ", " 0.5s ease-in-out;\n transition: opacity 0.5s ease-in-out;\n margin-right: 5px;\n margin-top: -7px;\n width: 15px;\n height: 15px;\n padding: 5px;\n ", "\n\n > svg {\n width: 13px;\n }\n"])), function (props) {
197
+ var SuccessContainerLabel = styled__default["default"].div.attrs(defaultTheme.applyDefaultTheme).withConfig({
198
+ displayName: "TextAreastyled__SuccessContainerLabel",
199
+ componentId: "sc-bwbwn7-10"
200
+ })(["opacity:1;pointer-events:none;opacity:", ";animation:", " 0.5s ease-in-out;transition:opacity 0.5s ease-in-out;margin-right:5px;margin-top:-7px;width:15px;height:15px;padding:5px;", " > svg{width:13px;}"], function (props) {
169
201
  return props.fadeIn ? 0 : 1;
170
202
  }, function (props) {
171
203
  return props.fadeIn ? fadeOutCheck : fadeInCheck;
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var defaultTheme = require('./defaultTheme-cd01e6c2.js');
3
+ var defaultTheme = require('./defaultTheme-b6420d7d.js');
4
4
  var React = require('react');
5
5
  var nanoid = require('nanoid');
6
6
  var useMergedRefs = require('./useMergedRefs-b6d2f8fc.js');
@@ -13,45 +13,56 @@ function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'defau
13
13
  var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
14
14
  var styled__default = /*#__PURE__*/_interopDefaultLegacy(styled);
15
15
 
16
- var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5, _templateObject6, _templateObject7, _templateObject8, _templateObject9, _templateObject10, _templateObject11, _templateObject12, _templateObject13, _templateObject14, _templateObject15, _templateObject16, _templateObject17, _templateObject18, _templateObject19, _templateObject20, _templateObject21, _templateObject22, _templateObject23, _templateObject24, _templateObject25;
17
- var activeLabel = styled.css(_templateObject || (_templateObject = defaultTheme._taggedTemplateLiteral(["\n font-size: 0.75rem;\n padding: 0 3px;\n top: -7px;\n letter-spacing: 0.03em;\n left: 8px !important;\n opacity: 1 !important;\n"])));
18
- var Adornment = styled__default["default"].div.attrs(defaultTheme.applyDefaultTheme)(_templateObject2 || (_templateObject2 = defaultTheme._taggedTemplateLiteral(["\n flex-shrink: 0;\n font-family: inherit;\n font-size: 0.875rem;\n line-height: initial;\n padding: 13px 10px;\n\n ", "\n ", "\n border: 1px solid;\n ", "\n border-radius: 3px;\n ", "\n box-sizing: border-box;\n appearance: none;\n transition: border-color 350ms;\n height: 2.75rem;\n\n ", "\n ", "\n"])), function (props) {
16
+ var activeLabel = styled.css(["font-size:0.75rem;padding:0 3px;top:-7px;letter-spacing:0.03em;left:8px !important;opacity:1 !important;"]);
17
+ var Adornment = styled__default["default"].div.attrs(defaultTheme.applyDefaultTheme).withConfig({
18
+ displayName: "TextInputstyled__Adornment",
19
+ componentId: "sc-z540v7-0"
20
+ })(["flex-shrink:0;font-family:inherit;font-size:0.875rem;line-height:initial;padding:13px 10px;", " ", " border:1px solid;", " border-radius:3px;", " box-sizing:border-box;appearance:none;transition:border-color 350ms;height:2.75rem;", " ", ""], function (props) {
19
21
  return props.theme.themeProp('color', props.theme.getColor('gray-400'), props.theme.getColor('gray-500'));
20
22
  }, function (props) {
21
23
  return props.theme.themeProp('background', props.theme.getColor('gray-900'), props.theme.getColor('white'));
22
24
  }, function (props) {
23
25
  return props.theme.themeProp('border-color', props.theme.getColor('gray-500'), props.theme.getColor('gray-400'));
24
26
  }, function (props) {
25
- return props.isPrefix ? styled.css(_templateObject3 || (_templateObject3 = defaultTheme._taggedTemplateLiteral(["\n padding-right: 0;\n margin-right: -3px;\n border-right: 0;\n border-top-right-radius: 0;\n border-bottom-right-radius: 0;\n "]))) : styled.css(_templateObject4 || (_templateObject4 = defaultTheme._taggedTemplateLiteral(["\n padding-left: 0;\n margin-left: -3px;\n border-left: 0;\n border-top-left-radius: 0;\n border-bottom-left-radius: 0;\n "])));
27
+ return props.isPrefix ? styled.css(["padding-right:0;margin-right:-3px;border-right:0;border-top-right-radius:0;border-bottom-right-radius:0;"]) : styled.css(["padding-left:0;margin-left:-3px;border-left:0;border-top-left-radius:0;border-bottom-left-radius:0;"]);
26
28
  }, function (props) {
27
- return props.warning && styled.css(_templateObject5 || (_templateObject5 = defaultTheme._taggedTemplateLiteral(["\n border-color: ", " !important;\n "])), props.theme.getColor('orange-500'));
29
+ return props.warning && styled.css(["border-color:", " !important;"], props.theme.getColor('orange-500'));
28
30
  }, function (props) {
29
- return props.error && styled.css(_templateObject6 || (_templateObject6 = defaultTheme._taggedTemplateLiteral(["\n border-color: ", " !important;\n "])), props.theme.getColor('red-500'));
31
+ return props.error && styled.css(["border-color:", " !important;"], props.theme.getColor('red-500'));
30
32
  });
31
- var TextInputWrapper = styled__default["default"].div.attrs(defaultTheme.applyDefaultTheme)(_templateObject7 || (_templateObject7 = defaultTheme._taggedTemplateLiteral(["\n display: flex;\n align-content: center;\n\n &:focus-within {\n ", " {\n outline: none;\n ", "\n }\n }\n"])), Adornment, function (props) {
33
+ var TextInputWrapper = styled__default["default"].div.attrs(defaultTheme.applyDefaultTheme).withConfig({
34
+ displayName: "TextInputstyled__TextInputWrapper",
35
+ componentId: "sc-z540v7-1"
36
+ })(["display:flex;align-content:center;&:focus-within{", "{outline:none;", "}}"], Adornment, function (props) {
32
37
  return props.theme.themeProp('border-color', props.theme.getColor('gray-500'), props.theme.getColor('gray-600'), 1);
33
38
  });
34
- var InputIconContainer = styled__default["default"].div.attrs(defaultTheme.applyDefaultTheme)(_templateObject8 || (_templateObject8 = defaultTheme._taggedTemplateLiteral(["\n opacity: 0;\n pointer-events: none;\n border-top-right-radius: 3px;\n border-bottom-right-radius: 3px;\n padding-right: 4px;\n padding-left: 30px;\n display: flex;\n align-items: center;\n position: absolute;\n right: 0;\n top: 0;\n bottom: 0;\n color: ", ";\n\n ", "\n\n ", "\n\n > svg {\n width: 12px;\n }\n"])), function (props) {
39
+ var InputIconContainer = styled__default["default"].div.attrs(defaultTheme.applyDefaultTheme).withConfig({
40
+ displayName: "TextInputstyled__InputIconContainer",
41
+ componentId: "sc-z540v7-2"
42
+ })(["opacity:0;pointer-events:none;border-top-right-radius:3px;border-bottom-right-radius:3px;padding-right:4px;padding-left:30px;display:flex;align-items:center;position:absolute;right:0;top:0;bottom:0;color:", ";", " ", " > svg{width:12px;}"], function (props) {
35
43
  return props.theme.getColor('gray-400');
36
44
  }, function (props) {
37
45
  return props.warning && props.theme.themeProp('color', '#C3AF43', '#C3AF43');
38
46
  }, function (props) {
39
47
  return props.error && props.theme.themeProp('color', '#CB968F', '#CB968F');
40
48
  });
41
- var TextInputField = styled__default["default"].input.attrs(defaultTheme.applyDefaultTheme)(_templateObject9 || (_templateObject9 = defaultTheme._taggedTemplateLiteral(["\n display: block;\n width: 100%;\n font-family: inherit;\n font-size: 0.875rem;\n line-height: 1;\n padding: 13px 10px;\n border-radius: 3px;\n box-sizing: border-box;\n appearance: none;\n transition: border-color 350ms;\n height: 2.75rem !important; // important is needed to override the default Foundation styling used in the Mediebank;\n margin-bottom: 0; // needed to override the default Foundation styling used in the Mediebank;\n ", "\n ", "\n border: 1px solid;\n ", ";\n\n ", "\n\n ", "\n ", "\n ", "\n\n &::placeholder {\n ", "\n\n ", "\n }\n\n\n &&:hover:not(:focus) {\n ", ";\n transition: background 350ms;\n & + ", " {\n opacity: 1;\n transition: opacity 350ms;\n }\n }\n\n :focus {\n outline: none;\n border-color: ", " !important\n ", "\n"])), function (props) {
49
+ var TextInputField = styled__default["default"].input.attrs(defaultTheme.applyDefaultTheme).withConfig({
50
+ displayName: "TextInputstyled__TextInputField",
51
+ componentId: "sc-z540v7-3"
52
+ })(["display:block;width:100%;font-family:inherit;font-size:0.875rem;line-height:1;padding:13px 10px;border-radius:3px;box-sizing:border-box;appearance:none;transition:border-color 350ms;height:2.75rem !important;margin-bottom:0;", " ", " border:1px solid;", ";", " ", " ", " ", " &::placeholder{", " ", "}&&:hover:not(:focus){", ";transition:background 350ms;& + ", "{opacity:1;transition:opacity 350ms;}}:focus{outline:none;border-color:", " !important ", ""], function (props) {
42
53
  return props.theme.themeProp('color', props.theme.getColor('gray-100'), props.theme.getColor('gray-900'));
43
54
  }, function (props) {
44
55
  return props.theme.themeProp('background', props.theme.getColor('gray-900'), props.theme.getColor('white'));
45
56
  }, function (props) {
46
57
  return props.noBorder || props.readOnly ? 'border-color: transparent !important' : props.theme.themeProp('border-color', props.theme.getColor('gray-500'), props.theme.getColor('gray-400'));
47
58
  }, function (props) {
48
- return props.readOnly && styled.css(_templateObject10 || (_templateObject10 = defaultTheme._taggedTemplateLiteral(["\n user-select: text;\n cursor: default;\n "])));
59
+ return props.readOnly && styled.css(["user-select:text;cursor:default;"]);
49
60
  }, function (props) {
50
- return props.warning && styled.css(_templateObject11 || (_templateObject11 = defaultTheme._taggedTemplateLiteral(["\n border-color: ", " !important;\n "])), props.theme.getColor('orange-500'));
61
+ return props.warning && styled.css(["border-color:", " !important;"], props.theme.getColor('orange-500'));
51
62
  }, function (props) {
52
- return props.error && styled.css(_templateObject12 || (_templateObject12 = defaultTheme._taggedTemplateLiteral(["\n border-color: ", " !important;\n "])), props.theme.getColor('red-500'));
63
+ return props.error && styled.css(["border-color:", " !important;"], props.theme.getColor('red-500'));
53
64
  }, function (props) {
54
- return props.hasIcon && styled.css(_templateObject13 || (_templateObject13 = defaultTheme._taggedTemplateLiteral(["\n padding-left: 35px;\n "])));
65
+ return props.hasIcon && styled.css(["padding-left:35px;"]);
55
66
  }, function (props) {
56
67
  return props.theme.themeProp('color', props.theme.getColor('gray-300'), props.theme.getColor('gray-600'), 1);
57
68
  }, function (props) {
@@ -61,35 +72,47 @@ var TextInputField = styled__default["default"].input.attrs(defaultTheme.applyDe
61
72
  }, InputIconContainer, function (props) {
62
73
  return props.theme.getColor('gray-600');
63
74
  }, function (props) {
64
- return props.readOnly && styled.css(_templateObject14 || (_templateObject14 = defaultTheme._taggedTemplateLiteral(["\n outline: none;\n "])));
75
+ return props.readOnly && styled.css(["outline:none;"]);
65
76
  });
66
- var TextInputLabel = styled__default["default"].label.attrs(defaultTheme.applyDefaultTheme)(_templateObject15 || (_templateObject15 = defaultTheme._taggedTemplateLiteral(["\n position: absolute;\n top: 15px;\n left: 11px;\n line-height: 1.2;\n font-size: 0.875rem;\n transition: all 150ms;\n\n ", "\n\n ", "\n\n ", "\n\n ", "\n\n\n ", "\n"])), function (props) {
77
+ var TextInputLabel = styled__default["default"].label.attrs(defaultTheme.applyDefaultTheme).withConfig({
78
+ displayName: "TextInputstyled__TextInputLabel",
79
+ componentId: "sc-z540v7-4"
80
+ })(["position:absolute;top:15px;left:11px;line-height:1.2;font-size:0.875rem;transition:all 150ms;", " ", " ", " ", " ", ""], function (props) {
67
81
  return props.theme.themeProp('color', props.theme.getColor('gray-300'), props.theme.getColor('gray-600'));
68
82
  }, function (props) {
69
83
  return props.theme.themeProp('opacity', 0.6, 0.5);
70
84
  }, function (props) {
71
85
  return props.theme.themeProp('background', "linear-gradient(0deg, ".concat(props.theme.getColor('gray-900'), " calc(50% + 1px), transparent 50%)"), "linear-gradient(0deg, ".concat(props.theme.getColor('white'), " calc(50% + 1px), transparent 50%)"));
72
86
  }, function (props) {
73
- return (props.hasPlaceholder || props.hasAdornments) && styled.css(_templateObject16 || (_templateObject16 = defaultTheme._taggedTemplateLiteral(["\n ", ";\n "])), activeLabel);
87
+ return (props.hasPlaceholder || props.hasAdornments) && styled.css(["", ";"], activeLabel);
74
88
  }, function (props) {
75
- return props.hasIcon && styled.css(_templateObject17 || (_templateObject17 = defaultTheme._taggedTemplateLiteral(["\n left: 35px;\n "])));
89
+ return props.hasIcon && styled.css(["left:35px;"]);
76
90
  });
77
- var TextInputFieldIcon = styled__default["default"].div.attrs(defaultTheme.applyDefaultTheme)(_templateObject18 || (_templateObject18 = defaultTheme._taggedTemplateLiteral(["\n position: absolute;\n top: 0;\n left: 0;\n height: 2.625rem;\n display: flex;\n padding: 0 10px;\n\n svg {\n width: 15px;\n opacity: 0.6;\n transition: opacity 250ms;\n }\n"])));
78
- var TextInput$1 = styled__default["default"].div.attrs(defaultTheme.applyDefaultTheme)(_templateObject19 || (_templateObject19 = defaultTheme._taggedTemplateLiteral(["\n position: relative;\n\n ", "\n\n &:focus-within {\n ", " {\n ", ";\n }\n\n ", " {\n svg {\n opacity: 1;\n }\n }\n }\n\n ", ":not(:placeholder-shown) + ", " {\n ", ";\n ", "\n\n ", "\n ", " \n } \n \n}\n"])), function (props) {
79
- return props.disabled && styled.css(_templateObject20 || (_templateObject20 = defaultTheme._taggedTemplateLiteral(["\n user-select: none;\n opacity: 0.5;\n cursor: not-allowed;\n > * {\n pointer-events: none;\n }\n "])));
91
+ var TextInputFieldIcon = styled__default["default"].div.attrs(defaultTheme.applyDefaultTheme).withConfig({
92
+ displayName: "TextInputstyled__TextInputFieldIcon",
93
+ componentId: "sc-z540v7-5"
94
+ })(["position:absolute;top:0;left:0;height:2.625rem;display:flex;padding:0 10px;svg{width:15px;opacity:0.6;transition:opacity 250ms;}"]);
95
+ var TextInput$1 = styled__default["default"].div.attrs(defaultTheme.applyDefaultTheme).withConfig({
96
+ displayName: "TextInputstyled__TextInput",
97
+ componentId: "sc-z540v7-6"
98
+ })(["position:relative;", " &:focus-within{", "{", ";}", "{svg{opacity:1;}}}", ":not(:placeholder-shown) + ", "{", ";", " ", " ", "}}"], function (props) {
99
+ return props.disabled && styled.css(["user-select:none;opacity:0.5;cursor:not-allowed;> *{pointer-events:none;}"]);
80
100
  }, TextInputLabel, activeLabel, TextInputFieldIcon, TextInputField, TextInputLabel, activeLabel, function (props) {
81
101
  return props.error && props.theme.themeProp('color', props.theme.getColor('red-200'), props.theme.getColor('red-500'));
82
102
  }, function (props) {
83
- return props.error && styled.css(_templateObject21 || (_templateObject21 = defaultTheme._taggedTemplateLiteral(["\n color: ", ";\n "])), props.theme.getColor('red-500'));
103
+ return props.error && styled.css(["color:", ";"], props.theme.getColor('red-500'));
84
104
  }, function (props) {
85
- return props.warning && styled.css(_templateObject22 || (_templateObject22 = defaultTheme._taggedTemplateLiteral(["\n color: ", ";\n "])), props.theme.getColor('orange-500'));
105
+ return props.warning && styled.css(["color:", ";"], props.theme.getColor('orange-500'));
86
106
  });
87
- var Description = styled__default["default"].p.attrs(defaultTheme.applyDefaultTheme)(_templateObject23 || (_templateObject23 = defaultTheme._taggedTemplateLiteral(["\n margin: 8px 0 0 0;\n padding: 0 0.6875rem;\n font-size: 0.75rem;\n line-height: 1.333;\n\n ", ";\n\n ", "\n\n ", "\n"])), function (props) {
107
+ var Description = styled__default["default"].p.attrs(defaultTheme.applyDefaultTheme).withConfig({
108
+ displayName: "TextInputstyled__Description",
109
+ componentId: "sc-z540v7-7"
110
+ })(["margin:8px 0 0 0;padding:0 0.6875rem;font-size:0.75rem;line-height:1.333;", ";", " ", ""], function (props) {
88
111
  return props.theme.themeProp('color', props.theme.getColor('gray-400'), props.theme.getColor('gray-500'));
89
112
  }, function (props) {
90
- return props.error && styled.css(_templateObject24 || (_templateObject24 = defaultTheme._taggedTemplateLiteral(["\n ", "\n "])), props.theme.themeProp('color', props.theme.getColor('red-200'), props.theme.getColor('red-500')));
113
+ return props.error && styled.css(["", ""], props.theme.themeProp('color', props.theme.getColor('red-200'), props.theme.getColor('red-500')));
91
114
  }, function (props) {
92
- return props.warning && styled.css(_templateObject25 || (_templateObject25 = defaultTheme._taggedTemplateLiteral(["\n ", "\n "])), props.theme.themeProp('color', props.theme.getColor('red-200'), props.theme.getColor('orange-500')));
115
+ return props.warning && styled.css(["", ""], props.theme.themeProp('color', props.theme.getColor('red-200'), props.theme.getColor('orange-500')));
93
116
  });
94
117
 
95
118
  var _excluded = ["value", "defaultValue", "name", "label", "placeholder", "type", "required", "disabled", "readOnly", "autoComplete", "description", "error", "warning", "icon", "adornments", "className", "style", "onChange", "onBlur", "noBorder"];
@@ -1,10 +1,10 @@
1
1
  'use strict';
2
2
 
3
- var defaultTheme = require('./defaultTheme-cd01e6c2.js');
3
+ var defaultTheme = require('./defaultTheme-b6420d7d.js');
4
4
  var React = require('react');
5
5
  var styled = require('styled-components');
6
6
  var TippyTooltip = require('@tippyjs/react');
7
- require('./shift-away-subtle-631cd794.js');
7
+ require('./shift-away-subtle-e3830923.js');
8
8
 
9
9
  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
10
10
 
@@ -12,8 +12,10 @@ var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
12
12
  var styled__default = /*#__PURE__*/_interopDefaultLegacy(styled);
13
13
  var TippyTooltip__default = /*#__PURE__*/_interopDefaultLegacy(TippyTooltip);
14
14
 
15
- var _templateObject;
16
- var Tooltip$1 = styled__default["default"](TippyTooltip__default["default"]).attrs(defaultTheme.applyDefaultTheme)(_templateObject || (_templateObject = defaultTheme._taggedTemplateLiteral(["\n font-family: ", ";\n font-size: 1rem;\n font-weight: 400;\n background: ", ";\n border-radius: 3px;\n pointer-events: default !important;\n .tippy-content {\n padding: 9px 12px;\n }\n\n .tippy-arrow {\n color: ", ";\n }\n\n a {\n color: inherit;\n }\n"])), function (props) {
15
+ var Tooltip$1 = styled__default["default"](TippyTooltip__default["default"]).attrs(defaultTheme.applyDefaultTheme).withConfig({
16
+ displayName: "Tooltipstyled__Tooltip",
17
+ componentId: "sc-16tgf0v-0"
18
+ })(["font-family:", ";font-size:1rem;font-weight:400;background:", ";border-radius:3px;pointer-events:default !important;.tippy-content{padding:9px 12px;}.tippy-arrow{color:", ";}a{color:inherit;}"], function (props) {
17
19
  return props.theme.primaryFontFamily;
18
20
  }, function (props) {
19
21
  return props.theme.getColor('gray-700');
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var defaultTheme = require('./defaultTheme-cd01e6c2.js');
3
+ var defaultTheme = require('./defaultTheme-b6420d7d.js');
4
4
  var React = require('react');
5
5
  var styled = require('styled-components');
6
6
 
@@ -28,11 +28,16 @@ var React__namespace = /*#__PURE__*/_interopNamespace(React);
28
28
  var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
29
29
  var styled__default = /*#__PURE__*/_interopDefaultLegacy(styled);
30
30
 
31
- var _templateObject, _templateObject2, _templateObject3, _templateObject4;
32
- var VerificationIconWrapper = styled__default["default"].div.attrs(defaultTheme.applyDefaultTheme)(_templateObject || (_templateObject = defaultTheme._taggedTemplateLiteral(["\n ", ";\n"])), function (props) {
33
- return props.background && styled.css(_templateObject2 || (_templateObject2 = defaultTheme._taggedTemplateLiteral(["\n background-color: #000 !important;\n width: fit-content;\n padding: 6px 14px 6px 9px;\n border-radius: 15px;\n}\n "])));
31
+ var VerificationIconWrapper = styled__default["default"].div.attrs(defaultTheme.applyDefaultTheme).withConfig({
32
+ displayName: "VerificationStatusIconstyled__VerificationIconWrapper",
33
+ componentId: "sc-i9jy8c-0"
34
+ })(["", ";"], function (props) {
35
+ return props.background && styled.css(["background-color:#000 !important;width:fit-content;padding:6px 14px 6px 9px;border-radius:15px;}"]);
34
36
  });
35
- var VerificationStatusIcon$1 = styled__default["default"].div.attrs(defaultTheme.applyDefaultTheme)(_templateObject3 || (_templateObject3 = defaultTheme._taggedTemplateLiteral(["\n display: flex;\n position: relative;\n font: normal normal normal 12px/16px Roboto;\n ", ";\n\n ", ";\n\n svg {\n height: ", "px;\n }\n"])), function (props) {
37
+ var VerificationStatusIcon$1 = styled__default["default"].div.attrs(defaultTheme.applyDefaultTheme).withConfig({
38
+ displayName: "VerificationStatusIconstyled__VerificationStatusIcon",
39
+ componentId: "sc-i9jy8c-1"
40
+ })(["display:flex;position:relative;font:normal normal normal 12px/16px Roboto;", ";", ";svg{height:", "px;}"], function (props) {
36
41
  return props.theme.themeProp('color', props.theme.getColor('gray-300'), props.theme.getColor('gray-700'));
37
42
  }, function (props) {
38
43
  return props.background && props.theme.themeProp('color', props.theme.getColor('gray-100'), props.theme.getColor('gray-100'));
@@ -40,7 +45,10 @@ var VerificationStatusIcon$1 = styled__default["default"].div.attrs(defaultTheme
40
45
  var _props$iconHeight;
41
46
  return (_props$iconHeight = props.iconHeight) !== null && _props$iconHeight !== void 0 ? _props$iconHeight : 15;
42
47
  });
43
- var VerificationStatusColor = styled__default["default"].div.attrs(defaultTheme.applyDefaultTheme)(_templateObject4 || (_templateObject4 = defaultTheme._taggedTemplateLiteral(["\n position: absolute;\n bottom: 0;\n left: ", "px;\n width: ", "px;\n height: ", "px;\n border-radius: 50%;\n ", ";\n"])), function (props) {
48
+ var VerificationStatusColor = styled__default["default"].div.attrs(defaultTheme.applyDefaultTheme).withConfig({
49
+ displayName: "VerificationStatusIconstyled__VerificationStatusColor",
50
+ componentId: "sc-i9jy8c-2"
51
+ })(["position:absolute;bottom:0;left:", "px;width:", "px;height:", "px;border-radius:50%;", ";"], function (props) {
44
52
  var _props$iconHeight2;
45
53
  return ((_props$iconHeight2 = props.iconHeight) !== null && _props$iconHeight2 !== void 0 ? _props$iconHeight2 : 15) * 2 / 3;
46
54
  }, function (props) {
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
- var Alert = require('../../Alert-d69a3f95.js');
4
- require('../../defaultTheme-cd01e6c2.js');
3
+ var Alert = require('../../Alert-28de48e1.js');
4
+ require('../../defaultTheme-b6420d7d.js');
5
5
  require('styled-components');
6
6
  require('react');
7
7
  require('lodash');
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
- var Badge = require('../../Badge-e984e6f5.js');
4
- require('../../defaultTheme-cd01e6c2.js');
3
+ var Badge = require('../../Badge-2e008fe7.js');
4
+ require('../../defaultTheme-b6420d7d.js');
5
5
  require('styled-components');
6
6
  require('react');
7
7
 
@@ -1,13 +1,14 @@
1
1
  'use strict';
2
2
 
3
- var Popover = require('../../Popover-85ce744d.js');
4
- require('../../defaultTheme-cd01e6c2.js');
3
+ var Popover = require('../../Popover-8e025dcb.js');
4
+ require('../../defaultTheme-b6420d7d.js');
5
5
  require('styled-components');
6
6
  require('lodash');
7
7
  require('react');
8
8
  require('polished');
9
9
  require('@tippyjs/react');
10
- require('../../shift-away-subtle-631cd794.js');
10
+ require('../../shift-away-subtle-e3830923.js');
11
+ require('popper-max-size-modifier');
11
12
 
12
13
 
13
14
 
package/data/Tab/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
- var Tab = require('../../Tab-e43241f0.js');
4
- require('../../defaultTheme-cd01e6c2.js');
3
+ var Tab = require('../../Tab-74c2bca2.js');
4
+ require('../../defaultTheme-b6420d7d.js');
5
5
  require('styled-components');
6
6
  require('react');
7
7
 
@@ -1,11 +1,11 @@
1
1
  'use strict';
2
2
 
3
- var Tabs = require('../../Tabs-cfc08c6b.js');
4
- require('../../defaultTheme-cd01e6c2.js');
3
+ var Tabs = require('../../Tabs-41bd6cc1.js');
4
+ require('../../defaultTheme-b6420d7d.js');
5
5
  require('styled-components');
6
6
  require('lodash');
7
7
  require('react');
8
- require('../../Tab-e43241f0.js');
8
+ require('../../Tab-74c2bca2.js');
9
9
 
10
10
 
11
11
 
@@ -1,11 +1,11 @@
1
1
  'use strict';
2
2
 
3
- var Tooltip = require('../../Tooltip-a68a7e49.js');
4
- require('../../defaultTheme-cd01e6c2.js');
3
+ var Tooltip = require('../../Tooltip-dbd1bc99.js');
4
+ require('../../defaultTheme-b6420d7d.js');
5
5
  require('styled-components');
6
6
  require('react');
7
7
  require('@tippyjs/react');
8
- require('../../shift-away-subtle-631cd794.js');
8
+ require('../../shift-away-subtle-e3830923.js');
9
9
 
10
10
 
11
11