td-stylekit 28.44.1 → 30.0.0

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 (168) hide show
  1. package/CHANGELOG.md +63 -0
  2. package/dist/es/BarChart/BarChart.d.ts +2 -2
  3. package/dist/es/BarChart/BarChart.js +5 -15
  4. package/dist/es/ChartPrimitives/utils.d.ts +0 -10
  5. package/dist/es/ChartPrimitives/utils.js +7 -145
  6. package/dist/es/ComparisonChart/ComparisonChart.d.ts +2 -2
  7. package/dist/es/ComparisonChart/ComparisonChart.js +5 -16
  8. package/dist/es/DataGrid/elements.d.ts +2 -78
  9. package/dist/es/DataGrid/elements.js +29 -29
  10. package/dist/es/DataGrid/renderers.d.ts +0 -4
  11. package/dist/es/DataGrid/renderers.js +55 -120
  12. package/dist/es/DateControl/elements.d.ts +34 -34
  13. package/dist/es/DropdownButton/DropdownButtonElements.d.ts +1 -1
  14. package/dist/es/DropdownButton/DropdownButtonElements.js +8 -8
  15. package/dist/es/FormField/index.d.ts +0 -2
  16. package/dist/es/FormField/index.js +0 -8
  17. package/dist/es/GrowthRateChart/GrowthRateChart.d.ts +0 -76
  18. package/dist/es/GrowthRateChart/GrowthRateChart.js +2 -9
  19. package/dist/es/Heading/Heading.js +2 -2
  20. package/dist/es/Highlighter/Highlighter.js +2 -2
  21. package/dist/es/Icon/Icon.js +2 -2
  22. package/dist/es/Icon/staticTypes.d.ts +88 -418
  23. package/dist/es/Icon/types.js +7 -557
  24. package/dist/es/Logo/Logo.js +0 -12
  25. package/dist/es/Menu/MenuElements.js +3 -3
  26. package/dist/es/MultiSelect/elements.d.ts +1 -1
  27. package/dist/es/MultiSelect/elements.js +17 -17
  28. package/dist/es/SecondaryNavigation/elements/Item.js +7 -7
  29. package/dist/es/SecondaryNavigation/elements/Section.js +3 -3
  30. package/dist/es/SecondaryNavigation/elements/Title.js +3 -3
  31. package/dist/es/SecondaryNavigation/elements/Wrapper.js +3 -3
  32. package/dist/es/Section/elements.d.ts +1 -1
  33. package/dist/es/Select/utils.js +2 -2
  34. package/dist/es/Tagger/TaggerElements.js +11 -11
  35. package/dist/es/Tagger/components/PopupSelector.js +4 -4
  36. package/dist/es/Tagger/components/PopupSelectorElements.js +16 -16
  37. package/dist/es/ThemeProvider/ThemeProvider.d.ts +0 -205
  38. package/dist/es/ThemeProvider/ThemeProvider.js +1 -7
  39. package/dist/es/ThemeProvider/icons.d.ts +1 -1
  40. package/dist/es/ThemeProvider/icons.js +4 -46
  41. package/dist/es/ThemeProvider/index.d.ts +1 -1
  42. package/dist/es/ThemeProvider/index.js +0 -6
  43. package/dist/es/ThemeProvider/theme.d.ts +0 -76
  44. package/dist/es/ThemeProvider/theme.js +0 -82
  45. package/dist/es/ThemeProvider/types.d.ts +1 -1
  46. package/dist/es/TimeControl/elements.d.ts +34 -34
  47. package/dist/es/Toggle/Toggle.js +6 -7
  48. package/dist/es/UserAvatar/UserAvatar.js +7 -7
  49. package/dist/es/VolumeChart/VolumeChart.d.ts +2 -2
  50. package/dist/es/VolumeChart/VolumeChart.js +2 -13
  51. package/dist/es/index.d.ts +1 -11
  52. package/dist/es/index.js +0 -70
  53. package/dist/es/mixins/border.d.ts +1 -1
  54. package/dist/es/mixins/border.js +3 -3
  55. package/dist/es/utils/globalcss.js +1 -1
  56. package/dist/es/utils/testingLibrary.d.ts +1 -3
  57. package/dist/es/utils/testingLibrary.js +13 -24
  58. package/package.json +13 -13
  59. package/dist/es/CheckboxField/CheckboxField.d.ts +0 -13
  60. package/dist/es/CheckboxField/CheckboxField.js +0 -73
  61. package/dist/es/CheckboxField/index.d.ts +0 -3
  62. package/dist/es/CheckboxField/index.js +0 -15
  63. package/dist/es/DateField/DateField.d.ts +0 -74
  64. package/dist/es/DateField/DateField.js +0 -297
  65. package/dist/es/DateField/elements.d.ts +0 -11
  66. package/dist/es/DateField/elements.js +0 -39
  67. package/dist/es/DateField/index.d.ts +0 -3
  68. package/dist/es/DateField/index.js +0 -15
  69. package/dist/es/DetailPanel/DetailPanel.d.ts +0 -16
  70. package/dist/es/DetailPanel/DetailPanel.js +0 -62
  71. package/dist/es/DetailPanel/elements.d.ts +0 -35
  72. package/dist/es/DetailPanel/elements.js +0 -225
  73. package/dist/es/DetailPanel/index.d.ts +0 -3
  74. package/dist/es/DetailPanel/index.js +0 -15
  75. package/dist/es/FormField/FormField.d.ts +0 -38
  76. package/dist/es/FormField/FormField.js +0 -204
  77. package/dist/es/FormField/elements.d.ts +0 -17
  78. package/dist/es/FormField/elements.js +0 -75
  79. package/dist/es/InfiniteList/InfiniteList.d.ts +0 -29
  80. package/dist/es/InfiniteList/InfiniteList.js +0 -114
  81. package/dist/es/InfiniteList/index.d.ts +0 -2
  82. package/dist/es/InfiniteList/index.js +0 -15
  83. package/dist/es/NavigationBar/LogoItem.d.ts +0 -6
  84. package/dist/es/NavigationBar/LogoItem.js +0 -42
  85. package/dist/es/NavigationBar/NavigationBar.d.ts +0 -33
  86. package/dist/es/NavigationBar/NavigationBar.js +0 -99
  87. package/dist/es/NavigationBar/NavigationItem.d.ts +0 -33
  88. package/dist/es/NavigationBar/NavigationItem.js +0 -183
  89. package/dist/es/NavigationBar/index.d.ts +0 -2
  90. package/dist/es/NavigationBar/index.js +0 -15
  91. package/dist/es/NavigationPopover/NavigationPopover.d.ts +0 -24
  92. package/dist/es/NavigationPopover/NavigationPopover.js +0 -116
  93. package/dist/es/NavigationPopover/index.d.ts +0 -2
  94. package/dist/es/NavigationPopover/index.js +0 -15
  95. package/dist/es/Overlay/Overlay.d.ts +0 -15
  96. package/dist/es/Overlay/Overlay.js +0 -66
  97. package/dist/es/Overlay/OverlayBody.d.ts +0 -9
  98. package/dist/es/Overlay/OverlayBody.js +0 -32
  99. package/dist/es/Overlay/OverlayHeader.d.ts +0 -37
  100. package/dist/es/Overlay/OverlayHeader.js +0 -135
  101. package/dist/es/Overlay/index.d.ts +0 -4
  102. package/dist/es/Overlay/index.js +0 -29
  103. package/dist/es/StatCard/StatCard.d.ts +0 -26
  104. package/dist/es/StatCard/StatCard.js +0 -118
  105. package/dist/es/StatCard/elements.d.ts +0 -48
  106. package/dist/es/StatCard/elements.js +0 -156
  107. package/dist/es/StatCard/index.d.ts +0 -3
  108. package/dist/es/StatCard/index.js +0 -15
  109. package/dist/es/ThemeProvider/v4/Badge.d.ts +0 -10
  110. package/dist/es/ThemeProvider/v4/Badge.js +0 -57
  111. package/dist/es/ThemeProvider/v4/Button.d.ts +0 -161
  112. package/dist/es/ThemeProvider/v4/Button.js +0 -200
  113. package/dist/es/ThemeProvider/v4/Card.d.ts +0 -12
  114. package/dist/es/ThemeProvider/v4/Card.js +0 -24
  115. package/dist/es/ThemeProvider/v4/Checkbox.d.ts +0 -70
  116. package/dist/es/ThemeProvider/v4/Checkbox.js +0 -94
  117. package/dist/es/ThemeProvider/v4/CollapsibleToggle.d.ts +0 -31
  118. package/dist/es/ThemeProvider/v4/CollapsibleToggle.js +0 -46
  119. package/dist/es/ThemeProvider/v4/Color.d.ts +0 -12
  120. package/dist/es/ThemeProvider/v4/Color.js +0 -47
  121. package/dist/es/ThemeProvider/v4/DataGrid.d.ts +0 -72
  122. package/dist/es/ThemeProvider/v4/DataGrid.js +0 -182
  123. package/dist/es/ThemeProvider/v4/DatePicker.d.ts +0 -41
  124. package/dist/es/ThemeProvider/v4/DatePicker.js +0 -111
  125. package/dist/es/ThemeProvider/v4/DropdownButton.d.ts +0 -67
  126. package/dist/es/ThemeProvider/v4/DropdownButton.js +0 -99
  127. package/dist/es/ThemeProvider/v4/FormFieldAddon.d.ts +0 -16
  128. package/dist/es/ThemeProvider/v4/FormFieldAddon.js +0 -38
  129. package/dist/es/ThemeProvider/v4/FormLabel.d.ts +0 -11
  130. package/dist/es/ThemeProvider/v4/FormLabel.js +0 -28
  131. package/dist/es/ThemeProvider/v4/Icon.d.ts +0 -7
  132. package/dist/es/ThemeProvider/v4/Icon.js +0 -20
  133. package/dist/es/ThemeProvider/v4/Input.d.ts +0 -10
  134. package/dist/es/ThemeProvider/v4/Input.js +0 -50
  135. package/dist/es/ThemeProvider/v4/Link.d.ts +0 -20
  136. package/dist/es/ThemeProvider/v4/Link.js +0 -30
  137. package/dist/es/ThemeProvider/v4/Menu.d.ts +0 -36
  138. package/dist/es/ThemeProvider/v4/Menu.js +0 -60
  139. package/dist/es/ThemeProvider/v4/Modal.d.ts +0 -63
  140. package/dist/es/ThemeProvider/v4/Modal.js +0 -216
  141. package/dist/es/ThemeProvider/v4/MultiSelect.d.ts +0 -35
  142. package/dist/es/ThemeProvider/v4/MultiSelect.js +0 -126
  143. package/dist/es/ThemeProvider/v4/Popover.d.ts +0 -4
  144. package/dist/es/ThemeProvider/v4/Popover.js +0 -107
  145. package/dist/es/ThemeProvider/v4/Radio.d.ts +0 -17
  146. package/dist/es/ThemeProvider/v4/Radio.js +0 -69
  147. package/dist/es/ThemeProvider/v4/Section.d.ts +0 -33
  148. package/dist/es/ThemeProvider/v4/Section.js +0 -93
  149. package/dist/es/ThemeProvider/v4/Select.d.ts +0 -69
  150. package/dist/es/ThemeProvider/v4/Select.js +0 -198
  151. package/dist/es/ThemeProvider/v4/Shuttle.d.ts +0 -12
  152. package/dist/es/ThemeProvider/v4/Shuttle.js +0 -28
  153. package/dist/es/ThemeProvider/v4/Tagger.d.ts +0 -30
  154. package/dist/es/ThemeProvider/v4/Tagger.js +0 -64
  155. package/dist/es/ThemeProvider/v4/Toast.d.ts +0 -35
  156. package/dist/es/ThemeProvider/v4/Toast.js +0 -119
  157. package/dist/es/ThemeProvider/v4/Toggle.d.ts +0 -18
  158. package/dist/es/ThemeProvider/v4/Toggle.js +0 -93
  159. package/dist/es/ThemeProvider/v4/UserAvatar.d.ts +0 -15
  160. package/dist/es/ThemeProvider/v4/UserAvatar.js +0 -31
  161. package/dist/es/ThemeProvider/v4/View.d.ts +0 -9
  162. package/dist/es/ThemeProvider/v4/View.js +0 -21
  163. package/dist/es/ThemeProvider/v4/index.d.ts +0 -6
  164. package/dist/es/ThemeProvider/v4/index.js +0 -46
  165. package/dist/es/TimeField/TimeField.d.ts +0 -15
  166. package/dist/es/TimeField/TimeField.js +0 -42
  167. package/dist/es/TimeField/index.d.ts +0 -3
  168. package/dist/es/TimeField/index.js +0 -15
@@ -1,93 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports["default"] = void 0;
7
- var _overridable = _interopRequireDefault(require("../overridable"));
8
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
9
- function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
10
- function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
11
- function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
12
- function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
13
- if (typeof window !== "undefined" && !window.gs) window.gs = function () {};
14
- if (typeof window !== "undefined" && !window.gsC) window.gsC = function () {};
15
- var _Overridable$Section = _overridable["default"].Section,
16
- Root = _Overridable$Section.Root,
17
- Header = _Overridable$Section.Header,
18
- IconContainer = _Overridable$Section.IconContainer,
19
- Content = _Overridable$Section.Content,
20
- ContentPadder = _Overridable$Section.ContentPadder;
21
- var _default = exports["default"] = _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({}, Root, [{
22
- backgroundColor: 'unset',
23
- border: 'unset',
24
- borderRadius: 'unset',
25
- padding: 'unset'
26
- }, function (_ref) {
27
- var theme = _ref.theme,
28
- sub = _ref.sub;
29
- return sub && {
30
- border: "1px solid ".concat(theme.color.LightDividerNew),
31
- borderRadius: theme.radius[2]
32
- };
33
- }]), Header, [function (_ref2) {
34
- var theme = _ref2.theme;
35
- return {
36
- borderBottom: "1px solid ".concat(theme.color.LightDividerNew),
37
- lineHeight: '1rem',
38
- fontSize: 'unset',
39
- fontWeight: 'unset',
40
- color: theme.color.HeavyMetal,
41
- textTransform: 'uppercase',
42
- paddingRight: theme.space[1],
43
- paddingLeft: theme.space[1],
44
- alignItems: 'flex-start'
45
- };
46
- }, function (_ref3) {
47
- var theme = _ref3.theme,
48
- sub = _ref3.sub;
49
- return sub && {
50
- height: '2rem',
51
- backgroundColor: theme.color.PrimaryContrast,
52
- border: 0,
53
- borderRadius: theme.radius[2],
54
- alignItems: 'center',
55
- textTransform: 'none',
56
- paddingRight: theme.space[2],
57
- paddingLeft: theme.space[3]
58
- };
59
- }]), IconContainer, [function (_ref4) {
60
- var theme = _ref4.theme;
61
- return {
62
- marginRight: theme.space[2],
63
- transform: 'none'
64
- };
65
- }, function (_ref5) {
66
- var isOpen = _ref5.isOpen;
67
- return isOpen && {
68
- transform: 'rotate(90deg)'
69
- };
70
- }]), Content, [function (_ref6) {
71
- var theme = _ref6.theme,
72
- open = _ref6.open;
73
- return {
74
- backgroundColor: theme.color.WhiteSmoke,
75
- borderLeft: "1px solid ".concat(theme.color.LightDividerNew),
76
- borderRight: "1px solid ".concat(theme.color.LightDividerNew),
77
- borderBottom: open ? "1px solid ".concat(theme.color.LightDividerNew) : 0,
78
- borderBottomLeftRadius: theme.radius[2],
79
- borderBottomRightRadius: theme.radius[2]
80
- };
81
- }, function (_ref7) {
82
- var theme = _ref7.theme,
83
- sub = _ref7.sub;
84
- return sub && {
85
- backgroundColor: theme.color.PrimaryContrast,
86
- border: 0
87
- };
88
- }]), ContentPadder, [function (_ref8) {
89
- var theme = _ref8.theme;
90
- return {
91
- padding: theme.space[4]
92
- };
93
- }]);
@@ -1,69 +0,0 @@
1
- declare const _default: {
2
- [x: symbol]: (({ theme }: {
3
- theme: any;
4
- }) => {
5
- color: any;
6
- }) | (({ theme }: {
7
- theme: any;
8
- }) => {
9
- borderColor: any;
10
- '&:hover': {
11
- borderColor: any;
12
- };
13
- }) | (({ theme }: {
14
- theme: any;
15
- }) => {
16
- backgroundColor: string;
17
- borderColor: string;
18
- }) | (() => {
19
- left: number;
20
- }) | (({ theme, menuWidth, width }: {
21
- theme: any;
22
- menuWidth: any;
23
- width: any;
24
- }) => {
25
- border: string;
26
- borderRadius: number;
27
- boxShadow: string;
28
- padding: number;
29
- width: any;
30
- }) | (({ theme }: {
31
- theme: any;
32
- }) => {
33
- borderBottomRightRadius: number;
34
- borderTopRightRadius: number;
35
- borderLeft: string;
36
- '&:hover': {
37
- backgroundColor: any;
38
- };
39
- '&:focus': {
40
- backgroundColor: any;
41
- };
42
- '&:active': {
43
- backgroundColor: any;
44
- };
45
- }) | (({ theme, isDisabled, isFocused, isHeader }: {
46
- theme: any;
47
- isDisabled: any;
48
- isFocused: any;
49
- isHeader: any;
50
- }) => any)[] | (() => {
51
- fontSize: number;
52
- }) | (({ theme }: {
53
- theme: any;
54
- }) => {
55
- borderBottom: string;
56
- '&:last-child': {
57
- borderBottom: string;
58
- };
59
- }) | (({ isMulti, hasValue, theme }: {
60
- isMulti: any;
61
- hasValue: any;
62
- theme: any;
63
- }) => {
64
- flexWrap: string;
65
- padding: string;
66
- });
67
- };
68
- export default _default;
69
- //# sourceMappingURL=Select.d.ts.map
@@ -1,198 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports["default"] = void 0;
7
- var _overridable = _interopRequireDefault(require("../overridable"));
8
- var _ArrowDownIcon$Contro;
9
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
10
- function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
11
- function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
12
- function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
13
- function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
14
- if (typeof window !== "undefined" && !window.gs) window.gs = function () {};
15
- if (typeof window !== "undefined" && !window.gsC) window.gsC = function () {};
16
- var _Overridable$Select = _overridable["default"].Select,
17
- ArrowDownIcon = _Overridable$Select.ArrowDownIcon,
18
- Control = _Overridable$Select.Control,
19
- DataGridControlStyles = _Overridable$Select.DataGridControlStyles,
20
- DisableControlStyles = _Overridable$Select.DisableControlStyles,
21
- DisabledMultiValueLabel = _Overridable$Select.DisabledMultiValueLabel,
22
- DisabledMultiValueStyles = _Overridable$Select.DisabledMultiValueStyles,
23
- FocusedControlStyles = _Overridable$Select.FocusedControlStyles,
24
- InvalidControlStyles = _Overridable$Select.InvalidControlStyles,
25
- ListContainer = _Overridable$Select.ListContainer,
26
- Menu = _Overridable$Select.Menu,
27
- MultiValue = _Overridable$Select.MultiValue,
28
- MultiValueLabel = _Overridable$Select.MultiValueLabel,
29
- MultiValueRemove = _Overridable$Select.MultiValueRemove,
30
- NoResultsMessage = _Overridable$Select.NoResultsMessage,
31
- Option = _Overridable$Select.Option,
32
- Placeholder = _Overridable$Select.Placeholder,
33
- SingleValue = _Overridable$Select.SingleValue,
34
- StyledRow = _Overridable$Select.StyledRow,
35
- ValueContainer = _Overridable$Select.ValueContainer;
36
- var FONT_SIZE = 13;
37
- var _default = exports["default"] = (_ArrowDownIcon$Contro = {}, _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_ArrowDownIcon$Contro, ArrowDownIcon, function (_ref) {
38
- var theme = _ref.theme;
39
- return {
40
- color: theme.color.LightSecondary
41
- };
42
- }), Control, function (_ref2) {
43
- var theme = _ref2.theme;
44
- return {
45
- borderRadius: 2,
46
- borderColor: theme.color.LightDivider,
47
- backgroundColor: theme.color.PrimaryContrast,
48
- '&:hover': {
49
- borderColor: theme.color.LightDivider
50
- }
51
- };
52
- }), DataGridControlStyles, function (_ref3) {
53
- var theme = _ref3.theme;
54
- return {
55
- borderColor: theme.color.Primary,
56
- '&:hover': {
57
- borderColor: theme.color.Primary
58
- }
59
- };
60
- }), DisableControlStyles, function (_ref4) {
61
- var theme = _ref4.theme;
62
- return {
63
- color: theme.color.LightDisabled
64
- };
65
- }), DisabledMultiValueLabel, function (_ref5) {
66
- var theme = _ref5.theme;
67
- return {
68
- color: theme.color.LightDisabled
69
- };
70
- }), DisabledMultiValueStyles, function (_ref6) {
71
- var theme = _ref6.theme;
72
- return {
73
- backgroundColor: theme.color.LightDivider,
74
- border: "1px solid ".concat(theme.color.LightDivider),
75
- color: theme.color.LightDisabled
76
- };
77
- }), FocusedControlStyles, function (_ref7) {
78
- var theme = _ref7.theme;
79
- return {
80
- borderColor: theme.color.Primary,
81
- boxShadow: 'none',
82
- '&:hover': {
83
- borderColor: theme.color.Primary,
84
- boxShadow: 'none'
85
- }
86
- };
87
- }), InvalidControlStyles, function (_ref8) {
88
- var theme = _ref8.theme;
89
- return {
90
- backgroundColor: 'transparent',
91
- borderColor: "".concat(theme.color.Error, " !important")
92
- };
93
- }), ListContainer, function () {
94
- return {
95
- left: 0
96
- };
97
- }), Menu, function (_ref9) {
98
- var theme = _ref9.theme,
99
- menuWidth = _ref9.menuWidth,
100
- width = _ref9.width;
101
- return {
102
- border: "1px solid ".concat(theme.color.LightDivider),
103
- borderRadius: 2,
104
- boxShadow: '0 6px 15px 0 rgba(0, 0, 0, 0.05), 0 -1px 4px 0 rgba(0, 0, 0, 0.05)',
105
- padding: 0,
106
- width: menuWidth || width || '100%'
107
- };
108
- }), _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_ArrowDownIcon$Contro, MultiValue, function (_ref10) {
109
- var theme = _ref10.theme;
110
- return {
111
- backgroundColor: theme.color.PrimaryLightHighlight,
112
- borderRadius: 2,
113
- border: "1px solid ".concat(theme.color.PrimaryLight),
114
- color: theme.color.Primary,
115
- fontSize: theme.fontSize[2]
116
- };
117
- }), MultiValueLabel, function (_ref11) {
118
- var theme = _ref11.theme;
119
- return {
120
- color: theme.color.Primary,
121
- fontSize: FONT_SIZE,
122
- padding: "0 ".concat(theme.space[2]),
123
- paddingLeft: 6
124
- };
125
- }), MultiValueRemove, function (_ref12) {
126
- var theme = _ref12.theme;
127
- return {
128
- borderBottomRightRadius: 2,
129
- borderTopRightRadius: 2,
130
- borderLeft: "1px solid ".concat(theme.color.PrimaryLight),
131
- '&:hover': {
132
- backgroundColor: theme.color.PrimaryFade
133
- },
134
- '&:focus': {
135
- backgroundColor: theme.color.PrimaryFade
136
- },
137
- '&:active': {
138
- backgroundColor: theme.color.PrimaryLightFade
139
- }
140
- };
141
- }), NoResultsMessage, function (_ref13) {
142
- var theme = _ref13.theme;
143
- return {
144
- backgroundColor: theme.color.LightBackground,
145
- color: theme.color.Black,
146
- fontSize: FONT_SIZE
147
- };
148
- }), Option, [function (_ref14) {
149
- var theme = _ref14.theme,
150
- isDisabled = _ref14.isDisabled,
151
- isHeader = _ref14.isHeader;
152
- return {
153
- borderRadius: 0,
154
- color: isHeader || isDisabled ? theme.color.LightDisabled : 'inherit',
155
- backgroundColor: theme.color.LightBackground,
156
- borderBottom: "1px solid ".concat(theme.color.LightDivider),
157
- fontSize: FONT_SIZE,
158
- '&:hover': {
159
- backgroundColor: isDisabled || isHeader ? theme.color.LightBackground : theme.color.Primary,
160
- color: isDisabled || isHeader ? theme.color.LightDisabled : theme.color.DarkPrimary
161
- }
162
- };
163
- }, function (_ref15) {
164
- var theme = _ref15.theme,
165
- isDisabled = _ref15.isDisabled,
166
- isFocused = _ref15.isFocused,
167
- isHeader = _ref15.isHeader;
168
- return isFocused && {
169
- backgroundColor: isDisabled || isHeader ? theme.color.LightBackground : theme.color.Primary,
170
- color: isDisabled || isHeader ? theme.color.LightDisabled : theme.color.DarkPrimary
171
- };
172
- }]), Placeholder, function (_ref16) {
173
- var theme = _ref16.theme;
174
- return {
175
- fontSize: 13,
176
- color: theme.color.LightSecondary
177
- };
178
- }), SingleValue, function () {
179
- return {
180
- fontSize: 13
181
- };
182
- }), StyledRow, function (_ref17) {
183
- var theme = _ref17.theme;
184
- return {
185
- borderBottom: "1px solid ".concat(theme.color.LightDivider),
186
- '&:last-child': {
187
- borderBottom: 'none'
188
- }
189
- };
190
- }), ValueContainer, function (_ref18) {
191
- var isMulti = _ref18.isMulti,
192
- hasValue = _ref18.hasValue,
193
- theme = _ref18.theme;
194
- return {
195
- flexWrap: 'wrap',
196
- padding: "1px 0 1px ".concat(isMulti && hasValue ? theme.space[1] : theme.space[2])
197
- };
198
- }));
@@ -1,12 +0,0 @@
1
- declare const _default: {
2
- [x: symbol]: (() => {}) | (({ theme }: {
3
- theme: any;
4
- }) => {
5
- backgroundColor: any;
6
- border: string;
7
- borderRadius: any;
8
- color: any;
9
- });
10
- };
11
- export default _default;
12
- //# sourceMappingURL=Shuttle.d.ts.map
@@ -1,28 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports["default"] = void 0;
7
- var _overridable = _interopRequireDefault(require("../overridable"));
8
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
9
- function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
10
- function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
11
- function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
12
- function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
13
- if (typeof window !== "undefined" && !window.gs) window.gs = function () {};
14
- if (typeof window !== "undefined" && !window.gsC) window.gsC = function () {};
15
- var _Overridable$Shuttle = _overridable["default"].Shuttle,
16
- Root = _Overridable$Shuttle.Root,
17
- MiddleMenuButton = _Overridable$Shuttle.MiddleMenuButton;
18
- var _default = exports["default"] = _defineProperty(_defineProperty({}, Root, function () {
19
- return {};
20
- }), MiddleMenuButton, function (_ref) {
21
- var theme = _ref.theme;
22
- return {
23
- backgroundColor: theme.color.PrimaryContrast,
24
- border: "1px solid ".concat(theme.color.Primary),
25
- borderRadius: theme.radius[2],
26
- color: theme.color.Primary
27
- };
28
- });
@@ -1,30 +0,0 @@
1
- declare const _default: {
2
- [x: symbol]: (({ theme }: {
3
- theme: any;
4
- }) => {
5
- marginBottom: any;
6
- marginTop: any;
7
- }) | (({ theme, hovered }: {
8
- theme: any;
9
- hovered: any;
10
- }) => any)[] | (({ theme }: {
11
- theme: any;
12
- }) => {
13
- borderRight: string;
14
- padding: number;
15
- }) | (({ theme }: {
16
- theme: any;
17
- }) => {
18
- paddingLeft: any;
19
- paddingRight: any;
20
- }) | (({ theme }: {
21
- theme: any;
22
- }) => {
23
- margin: any;
24
- marginTop: number;
25
- }) | {
26
- height: number;
27
- };
28
- };
29
- export default _default;
30
- //# sourceMappingURL=Tagger.d.ts.map
@@ -1,64 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports["default"] = void 0;
7
- var _overridable = _interopRequireDefault(require("../overridable"));
8
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
9
- function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
10
- function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
11
- function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
12
- function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
13
- if (typeof window !== "undefined" && !window.gs) window.gs = function () {};
14
- if (typeof window !== "undefined" && !window.gsC) window.gsC = function () {};
15
- var _Overridable$Tagger = _overridable["default"].Tagger,
16
- PopupSelector = _Overridable$Tagger.PopupSelector,
17
- PopupSelectorListItem = _Overridable$Tagger.PopupSelectorListItem,
18
- PopupSelectorListContainer = _Overridable$Tagger.PopupSelectorListContainer,
19
- PopupSelectorSearchInputContainer = _Overridable$Tagger.PopupSelectorSearchInputContainer,
20
- PopupSelectorSearchListContainer = _Overridable$Tagger.PopupSelectorSearchListContainer,
21
- PopupSelectorTextarea = _Overridable$Tagger.PopupSelectorTextarea;
22
- var _default = exports["default"] = _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({}, PopupSelector, function (_ref) {
23
- var theme = _ref.theme;
24
- return {
25
- marginBottom: theme.space[2],
26
- marginTop: theme.space[2]
27
- };
28
- }), PopupSelectorListContainer, {
29
- height: 250
30
- }), PopupSelectorListItem, [function (_ref2) {
31
- var theme = _ref2.theme;
32
- return {
33
- borderRadius: 0,
34
- borderTop: "1px solid ".concat(theme.color.LightDivider)
35
- };
36
- }, function (_ref3) {
37
- var theme = _ref3.theme,
38
- hovered = _ref3.hovered;
39
- return hovered && {
40
- backgroundColor: theme.color.PrimaryLight,
41
- color: theme.color.PrimaryContrast,
42
- ':hover': {
43
- color: theme.color.PrimaryContrast
44
- }
45
- };
46
- }]), PopupSelectorSearchListContainer, function (_ref4) {
47
- var theme = _ref4.theme;
48
- return {
49
- borderRight: "solid 1px ".concat(theme.color.LightDivider),
50
- padding: 0
51
- };
52
- }), PopupSelectorSearchInputContainer, function (_ref5) {
53
- var theme = _ref5.theme;
54
- return {
55
- paddingLeft: theme.space[4],
56
- paddingRight: theme.space[4]
57
- };
58
- }), PopupSelectorTextarea, function (_ref6) {
59
- var theme = _ref6.theme;
60
- return {
61
- margin: theme.space[2],
62
- marginTop: 0
63
- };
64
- });
@@ -1,35 +0,0 @@
1
- declare const _default: {
2
- [x: symbol]: (({ theme, inline }: {
3
- theme: any;
4
- inline: any;
5
- }) => {
6
- borderLeftWidth: number;
7
- borderRadius: number;
8
- boxShadow: any;
9
- fontSize: any;
10
- marginBottom: number;
11
- minHeight: string;
12
- position: string;
13
- width: string | number;
14
- }) | (({ theme }: {
15
- theme: any;
16
- }) => {
17
- border: string;
18
- backgroundColor: any;
19
- }) | (({ theme }: {
20
- theme: any;
21
- }) => {
22
- color: any;
23
- }) | (({ theme }: {
24
- theme: any;
25
- }) => {
26
- padding: string;
27
- }) | (() => {
28
- display: string;
29
- }) | {
30
- fontWeight: number;
31
- display: string;
32
- };
33
- };
34
- export default _default;
35
- //# sourceMappingURL=Toast.d.ts.map
@@ -1,119 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports["default"] = void 0;
7
- var _overridable = _interopRequireDefault(require("../overridable"));
8
- var _Root$Error$ErrorIcon;
9
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
10
- function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
11
- function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
12
- function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
13
- function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
14
- if (typeof window !== "undefined" && !window.gs) window.gs = function () {};
15
- if (typeof window !== "undefined" && !window.gsC) window.gsC = function () {};
16
- var _Overridable$Toast = _overridable["default"].Toast,
17
- Root = _Overridable$Toast.Root,
18
- Error = _Overridable$Toast.Error,
19
- ErrorIcon = _Overridable$Toast.ErrorIcon,
20
- Warning = _Overridable$Toast.Warning,
21
- WarningIcon = _Overridable$Toast.WarningIcon,
22
- Default = _Overridable$Toast.Default,
23
- DefaultIcon = _Overridable$Toast.DefaultIcon,
24
- Success = _Overridable$Toast.Success,
25
- SuccessIcon = _Overridable$Toast.SuccessIcon,
26
- ToastContent = _Overridable$Toast.ToastContent,
27
- ToastText = _Overridable$Toast.ToastText,
28
- ToastTitle = _Overridable$Toast.ToastTitle,
29
- ToastExitDivider = _Overridable$Toast.ToastExitDivider,
30
- ToastExitIconWrapper = _Overridable$Toast.ToastExitIconWrapper;
31
- var _default = exports["default"] = (_Root$Error$ErrorIcon = {}, _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_Root$Error$ErrorIcon, Root, function (_ref) {
32
- var theme = _ref.theme,
33
- inline = _ref.inline;
34
- return {
35
- borderLeftWidth: 1,
36
- borderRadius: 3,
37
- boxShadow: inline ? 'unset' : theme.shadows.big,
38
- fontSize: theme.fontSize[1],
39
- marginBottom: 10,
40
- minHeight: 'unset',
41
- position: 'unset',
42
- width: inline ? 'auto' : 384
43
- };
44
- }), Error, function (_ref2) {
45
- var theme = _ref2.theme;
46
- return {
47
- border: "1px solid ".concat(theme.color.Flamingo),
48
- backgroundColor: theme.color.ErrorBackground
49
- };
50
- }), ErrorIcon, function (_ref3) {
51
- var theme = _ref3.theme;
52
- return {
53
- color: theme.color.Flamingo
54
- };
55
- }), Warning, function (_ref4) {
56
- var theme = _ref4.theme;
57
- return {
58
- border: "1px solid ".concat(theme.color.Orange),
59
- backgroundColor: theme.color.OrangeBackground
60
- };
61
- }), WarningIcon, function (_ref5) {
62
- var theme = _ref5.theme;
63
- return {
64
- color: theme.color.OrangeFill
65
- };
66
- }), Default, function (_ref6) {
67
- var theme = _ref6.theme;
68
- return {
69
- border: "1px solid ".concat(theme.color.CuriousBlue),
70
- backgroundColor: theme.color.Purple
71
- };
72
- }), DefaultIcon, function (_ref7) {
73
- var theme = _ref7.theme;
74
- return {
75
- color: theme.color.CuriousBlue
76
- };
77
- }), Success, function (_ref8) {
78
- var theme = _ref8.theme;
79
- return {
80
- border: "1px solid ".concat(theme.color.Eucalyptus),
81
- backgroundColor: theme.color.GreenBackground
82
- };
83
- }), SuccessIcon, function (_ref9) {
84
- var theme = _ref9.theme;
85
- return {
86
- color: theme.color.Eucalyptus
87
- };
88
- }), ToastContent, function (_ref10) {
89
- var theme = _ref10.theme;
90
- return {
91
- padding: "0 ".concat(theme.space[4])
92
- };
93
- }), _defineProperty(_defineProperty(_defineProperty(_defineProperty(_Root$Error$ErrorIcon, ToastText, function (_ref11) {
94
- var theme = _ref11.theme;
95
- return {
96
- color: theme.color.Flint,
97
- fontWeight: 'normal',
98
- display: 'block'
99
- };
100
- }), ToastTitle, {
101
- fontWeight: 700,
102
- display: 'block'
103
- }), ToastExitDivider, function () {
104
- return {
105
- display: 'none'
106
- };
107
- }), ToastExitIconWrapper, function (_ref12) {
108
- var theme = _ref12.theme;
109
- return {
110
- color: theme.color.Zorba,
111
- margin: 0,
112
- minHeight: '2.25rem',
113
- minWidth: '2.25rem',
114
- paddingLeft: 0,
115
- ':hover': {
116
- backgroundColor: 'transparent'
117
- }
118
- };
119
- }));
@@ -1,18 +0,0 @@
1
- declare const _default: {
2
- [x: symbol]: ((({ theme, on, color }: {
3
- theme: any;
4
- on: any;
5
- color: any;
6
- }) => any) | (({ theme, disabled }: {
7
- theme: any;
8
- disabled: any;
9
- }) => any) | (({ focused }: {
10
- focused: any;
11
- }) => any) | (({ theme, toggleSwitch, color }: {
12
- theme: any;
13
- toggleSwitch: any;
14
- color: any;
15
- }) => any))[];
16
- };
17
- export default _default;
18
- //# sourceMappingURL=Toggle.d.ts.map