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,63 +0,0 @@
1
- declare const _default: {
2
- [x: symbol]: (({ backdrop, theme }: {
3
- backdrop: any;
4
- theme: any;
5
- }) => {
6
- background: string;
7
- }[]) | ((({ theme, dynamite }: {
8
- theme: any;
9
- dynamite: any;
10
- }) => any) | (({ theme, disabled }: {
11
- theme: any;
12
- disabled: any;
13
- }) => any) | (({ theme, destructive }: {
14
- theme: any;
15
- destructive: any;
16
- }) => any))[] | (({ theme }: {
17
- theme: any;
18
- }) => {
19
- color: any;
20
- }[]) | (({ theme }: {
21
- theme: any;
22
- }) => {
23
- backgroundColor: any;
24
- borderRadius: any;
25
- }[]) | (({ theme, smallFont }: {
26
- theme: any;
27
- smallFont: any;
28
- }) => {
29
- fontSize: any;
30
- })[] | ((({ theme, active }: {
31
- theme: any;
32
- active: any;
33
- }) => any) | (({ theme, disabled }: {
34
- theme: any;
35
- disabled: any;
36
- }) => any) | (({ disabled, ignoreFocus, loading }: {
37
- disabled: any;
38
- ignoreFocus: any;
39
- loading: any;
40
- }) => {
41
- ':focus': false | {
42
- outline: string;
43
- };
44
- }))[] | (({ theme, width }: {
45
- theme: any;
46
- width: any;
47
- }) => {
48
- backgroundColor: any;
49
- borderTopRightRadius: number;
50
- border: string;
51
- paddingLeft: number;
52
- paddingRight: number;
53
- paddingTop: any;
54
- width: any;
55
- }[]) | (({ theme, noPadding }: {
56
- theme: any;
57
- noPadding: any;
58
- }) => {
59
- padding: any;
60
- }[]);
61
- };
62
- export default _default;
63
- //# sourceMappingURL=Modal.d.ts.map
@@ -1,216 +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 _color = _interopRequireDefault(require("color"));
9
- var _Backdrop$CloseIcon$C;
10
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
11
- 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); }
12
- 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; }
13
- function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
14
- 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); }
15
- if (typeof window !== "undefined" && !window.gs) window.gs = function () {};
16
- if (typeof window !== "undefined" && !window.gsC) window.gsC = function () {};
17
- var _Overridable$Modal = _overridable["default"].Modal,
18
- Backdrop = _Overridable$Modal.Backdrop,
19
- CloseIcon = _Overridable$Modal.CloseIcon,
20
- ConfirmationLabel = _Overridable$Modal.ConfirmationLabel,
21
- Dialog = _Overridable$Modal.Dialog,
22
- ErrorIcon = _Overridable$Modal.ErrorIcon,
23
- Footer = _Overridable$Modal.Footer,
24
- Header = _Overridable$Modal.Header,
25
- ModalBody = _Overridable$Modal.ModalBody,
26
- ModalTitle = _Overridable$Modal.ModalTitle,
27
- ModalSubtitle = _Overridable$Modal.ModalSubtitle,
28
- NavButton = _Overridable$Modal.NavButton,
29
- NavButtonIconWrapper = _Overridable$Modal.NavButtonIconWrapper,
30
- NavWrapper = _Overridable$Modal.NavWrapper;
31
- var _default = exports["default"] = (_Backdrop$CloseIcon$C = {}, _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_Backdrop$CloseIcon$C, Backdrop, function (_ref) {
32
- var backdrop = _ref.backdrop,
33
- theme = _ref.theme;
34
- return [{
35
- background: backdrop ? "".concat((0, _color["default"])(theme.color.black).alpha(0.5).string()) : 'unset'
36
- }];
37
- }), CloseIcon, [function (_ref2) {
38
- var theme = _ref2.theme;
39
- return {
40
- borderRadius: 'none',
41
- padding: '1px 6px',
42
- color: theme.color.BorderGrey,
43
- ':hover': {
44
- backgroundColor: 'transparent',
45
- color: theme.color.BorderGrey
46
- }
47
- };
48
- }, function (_ref3) {
49
- var theme = _ref3.theme,
50
- dynamite = _ref3.dynamite;
51
- return dynamite && {
52
- color: theme.color.LightBackground,
53
- ':hover': {
54
- color: theme.color.LightBackground,
55
- backgroundColor: 'transparent'
56
- }
57
- };
58
- }, function (_ref4) {
59
- var theme = _ref4.theme,
60
- disabled = _ref4.disabled;
61
- return disabled && {
62
- color: theme.color.LightDivider,
63
- ':hover': {
64
- color: theme.color.LightDivider,
65
- backgroundColor: 'transparent'
66
- }
67
- };
68
- }, function (_ref5) {
69
- var theme = _ref5.theme,
70
- destructive = _ref5.destructive;
71
- return destructive && {
72
- color: theme.color.BorderGrey,
73
- ':hover': {
74
- backgroundColor: 'transparent'
75
- }
76
- };
77
- }]), ConfirmationLabel, function (_ref6) {
78
- var theme = _ref6.theme;
79
- return [{
80
- color: theme.color.PrimaryContrast
81
- }];
82
- }), Dialog, function (_ref7) {
83
- var theme = _ref7.theme;
84
- return [{
85
- backgroundColor: theme.color.DarkPrimary,
86
- borderRadius: theme.radius[2]
87
- }];
88
- }), ErrorIcon, function (_ref8) {
89
- var theme = _ref8.theme;
90
- return [{
91
- color: theme.color.Error
92
- }];
93
- }), Footer, function (_ref9) {
94
- var theme = _ref9.theme,
95
- confirmDelete = _ref9.confirmDelete;
96
- return [{
97
- backgroundColor: confirmDelete ? theme.color.FireBrick : theme.color.WhiteSmoke,
98
- borderRadius: "0 0 ".concat(theme.radius[2], " ").concat(theme.radius[2]),
99
- borderTop: "1px solid ".concat(confirmDelete ? theme.color.Flamingo : theme.color.LightDividerNew),
100
- color: confirmDelete ? theme.color.PrimaryContrast : 'inherit'
101
- }];
102
- }), Header, [function (_ref10) {
103
- var theme = _ref10.theme;
104
- return {
105
- background: theme.color.LightBackground,
106
- borderBottom: "".concat(theme.borderWidth[1], " solid ").concat(theme.color.LightDividerNew),
107
- borderRadius: "".concat(theme.radius[2], " ").concat(theme.radius[2], " 0 0"),
108
- color: theme.color.Dune
109
- };
110
- }, function (_ref11) {
111
- var theme = _ref11.theme,
112
- dynamite = _ref11.dynamite;
113
- return dynamite && {
114
- color: theme.color.LightBackground,
115
- background: theme.color.FlushMahogany
116
- };
117
- }, function (_ref12) {
118
- var theme = _ref12.theme,
119
- destructive = _ref12.destructive;
120
- return destructive && {
121
- color: theme.color.FlushMahogany,
122
- background: theme.color.LightBackground
123
- };
124
- }]), ModalTitle, [function (_ref13) {
125
- var theme = _ref13.theme,
126
- smallFont = _ref13.smallFont;
127
- return {
128
- fontSize: smallFont ? theme.fontSize[2] : theme.fontSize[3]
129
- };
130
- }]), ModalSubtitle, [function (_ref14) {
131
- var theme = _ref14.theme;
132
- return {
133
- fontSize: theme.fontSize[1]
134
- };
135
- }]), NavButton, [function (_ref15) {
136
- var theme = _ref15.theme;
137
- return {
138
- ':active': {
139
- background: theme.color.AzureNew,
140
- borderTop: "".concat(theme.borderWidth[1], " solid ").concat(theme.color.BorderGrey),
141
- borderBottom: "".concat(theme.borderWidth[1], " solid ").concat(theme.color.BorderGrey),
142
- borderRadius: 0,
143
- boxShadow: theme.shadows.secondaryNavActiveItem,
144
- color: theme.color.HeavyMetal
145
- },
146
- ':hover': {
147
- color: 'inherit'
148
- }
149
- };
150
- }, function (_ref16) {
151
- var theme = _ref16.theme,
152
- active = _ref16.active;
153
- return active && {
154
- background: theme.color.AzureNew,
155
- borderTop: "".concat(theme.borderWidth[1], " solid ").concat(theme.color.BorderGrey),
156
- borderBottom: "".concat(theme.borderWidth[1], " solid ").concat(theme.color.BorderGrey),
157
- borderRadius: 0,
158
- boxShadow: theme.shadows.secondaryNavActiveItem,
159
- color: theme.color.HeavyMetal
160
- };
161
- }, function (_ref17) {
162
- var theme = _ref17.theme,
163
- disabled = _ref17.disabled;
164
- return disabled && {
165
- color: theme.color.LightDisabled,
166
- ':active': {
167
- background: 'transparent',
168
- color: theme.color.LightDisabled,
169
- borderTop: 'none',
170
- borderBottom: 'none',
171
- boxShadow: 'none'
172
- },
173
- ':hover': {
174
- color: theme.color.LightDisabled
175
- }
176
- };
177
- }, function (_ref18) {
178
- var disabled = _ref18.disabled,
179
- ignoreFocus = _ref18.ignoreFocus,
180
- loading = _ref18.loading;
181
- return {
182
- ':focus': !ignoreFocus && !disabled && !loading && {
183
- /* Webkit */
184
- outline: '4px auto -webkit-focus-ring-color'
185
- }
186
- };
187
- }]), _defineProperty(_defineProperty(_defineProperty(_Backdrop$CloseIcon$C, NavButtonIconWrapper, [function (_ref19) {
188
- var theme = _ref19.theme;
189
- return {
190
- color: theme.color.HeavyMetal
191
- };
192
- }, function (_ref20) {
193
- var theme = _ref20.theme,
194
- active = _ref20.active;
195
- return active && {
196
- color: theme.color.HeavyMetal
197
- };
198
- }]), NavWrapper, function (_ref21) {
199
- var theme = _ref21.theme,
200
- width = _ref21.width;
201
- return [{
202
- backgroundColor: theme.color.WhiteSmoke,
203
- borderTopRightRadius: 0,
204
- border: 'none',
205
- paddingLeft: 0,
206
- paddingRight: 0,
207
- paddingTop: theme.space[3],
208
- width: width || '10rem'
209
- }];
210
- }), ModalBody, function (_ref22) {
211
- var theme = _ref22.theme,
212
- noPadding = _ref22.noPadding;
213
- return [{
214
- padding: noPadding ? 0 : theme.space[6]
215
- }];
216
- }));
@@ -1,35 +0,0 @@
1
- declare const _default: {
2
- [x: symbol]: (() => {}) | (({ theme }: {
3
- theme: any;
4
- }) => {
5
- color: any;
6
- }) | (({ theme }: {
7
- theme: any;
8
- }) => {
9
- paddingLeft: any;
10
- paddingRight: any;
11
- lineHeight: string;
12
- }) | (({ theme }: {
13
- theme: any;
14
- }) => {
15
- ':focus': {
16
- border: string;
17
- };
18
- border: string;
19
- borderRadius: any;
20
- padding: number;
21
- }) | ((({ focused, theme }: {
22
- focused: any;
23
- theme: any;
24
- }) => any) | (({ selected, theme }: {
25
- selected: any;
26
- theme: any;
27
- }) => any))[] | (({ theme }: {
28
- theme: any;
29
- }) => {
30
- borderColor: any;
31
- paddingLeft: any;
32
- });
33
- };
34
- export default _default;
35
- //# sourceMappingURL=MultiSelect.d.ts.map
@@ -1,126 +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$ClearButton$Cou;
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$MultiSel = _overridable["default"].MultiSelect,
17
- Root = _Overridable$MultiSel.Root,
18
- ClearButton = _Overridable$MultiSel.ClearButton,
19
- Counter = _Overridable$MultiSel.Counter,
20
- DefaultRowRenderer = _Overridable$MultiSel.DefaultRowRenderer,
21
- ListContainer = _Overridable$MultiSel.ListContainer,
22
- ListItem = _Overridable$MultiSel.ListItem,
23
- SearchIcon = _Overridable$MultiSel.SearchIcon,
24
- SearchInputStyled = _Overridable$MultiSel.SearchInputStyled,
25
- SearchInputWrapper = _Overridable$MultiSel.SearchInputWrapper,
26
- SelectDivider = _Overridable$MultiSel.SelectDivider,
27
- SelectSpacer = _Overridable$MultiSel.SelectSpacer;
28
- var _default = exports["default"] = (_Root$ClearButton$Cou = {}, _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_Root$ClearButton$Cou, Root, function () {
29
- return {};
30
- }), ClearButton, function (_ref) {
31
- var theme = _ref.theme;
32
- return {
33
- color: theme.color.LightDisabled,
34
- right: theme.space[2]
35
- };
36
- }), Counter, function (_ref2) {
37
- var theme = _ref2.theme;
38
- return {
39
- color: theme.color.LightSecondary
40
- };
41
- }), DefaultRowRenderer, function (_ref3) {
42
- var theme = _ref3.theme;
43
- return {
44
- paddingLeft: theme.space[4],
45
- paddingRight: theme.space[4],
46
- lineHeight: '1.75rem'
47
- };
48
- }), ListContainer, function (_ref4) {
49
- var theme = _ref4.theme;
50
- return {
51
- ':focus': {
52
- border: "1px solid ".concat(theme.color.LightDividerNew)
53
- },
54
- border: "1px solid ".concat(theme.color.LightDividerNew),
55
- borderRadius: theme.radius[2],
56
- padding: 0
57
- };
58
- }), ListItem, [function (_ref5) {
59
- var theme = _ref5.theme;
60
- return {
61
- fontSize: theme.fontSize[2],
62
- height: 'auto',
63
- '&:hover': {
64
- backgroundColor: 'transparent',
65
- borderRadius: 0
66
- }
67
- };
68
- }, function (_ref6) {
69
- var focused = _ref6.focused,
70
- theme = _ref6.theme;
71
- return focused && {
72
- border: "1px solid ".concat(theme.color.Primary),
73
- borderRadius: 0
74
- };
75
- }, function (_ref7) {
76
- var selected = _ref7.selected,
77
- theme = _ref7.theme;
78
- return selected && {
79
- backgroundColor: theme.color.Primary,
80
- borderRadius: 0,
81
- color: theme.color.PrimaryContrast
82
- };
83
- }, function (_ref8) {
84
- var selected = _ref8.selected,
85
- theme = _ref8.theme;
86
- return {
87
- '&:hover': selected && {
88
- backgroundColor: theme.color.Primary,
89
- borderRadius: 0
90
- }
91
- };
92
- }, function (_ref9) {
93
- var focused = _ref9.focused,
94
- selected = _ref9.selected,
95
- theme = _ref9.theme;
96
- return focused && selected && {
97
- border: "1px solid ".concat(theme.color.PrimaryLightFade),
98
- color: theme.color.PrimaryContrast
99
- };
100
- }]), SearchIcon, function (_ref10) {
101
- var theme = _ref10.theme;
102
- return {
103
- color: theme.color.HeavyMetal,
104
- right: theme.space[2]
105
- };
106
- }), SearchInputStyled, function (_ref11) {
107
- var theme = _ref11.theme;
108
- return {
109
- borderColor: theme.color.LightDividerNew,
110
- paddingLeft: theme.space[2]
111
- };
112
- }), SearchInputWrapper, function () {
113
- return {
114
- border: 0
115
- };
116
- }), SelectDivider, function () {
117
- return {
118
- border: 'none',
119
- margin: 0
120
- };
121
- }), _defineProperty(_Root$ClearButton$Cou, SelectSpacer, function () {
122
- return {
123
- border: 'none',
124
- padding: 0
125
- };
126
- }));
@@ -1,4 +0,0 @@
1
- import type { CSSFunction } from '../types';
2
- declare const PopoverOverride: Record<string, CSSFunction | CSSFunction[]>;
3
- export default PopoverOverride;
4
- //# sourceMappingURL=Popover.d.ts.map
@@ -1,107 +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$Popover = _overridable["default"].Popover,
16
- Arrow = _Overridable$Popover.Arrow,
17
- ArrowBase = _Overridable$Popover.ArrowBase,
18
- Root = _Overridable$Popover.Root;
19
- var PopoverOverride = _defineProperty(_defineProperty(_defineProperty({}, Root, function (_ref) {
20
- var theme = _ref.theme,
21
- backgroundColor = _ref.backgroundColor;
22
- return {
23
- boxShadow: '0 8px 10px 00 rgba(0, 0, 0, 0.1), 0 2px 0 0 rgba(0, 0, 0, 0.05)',
24
- backgroundColor: backgroundColor || theme.color.LightBackground,
25
- border: 'none',
26
- borderRadius: theme.radius[1],
27
- padding: theme.space[4],
28
- fontSize: 'inherit'
29
- };
30
- }), ArrowBase, function () {
31
- return {
32
- borderWidth: 11,
33
- '&::after,&::before': {
34
- borderWidth: 10
35
- }
36
- };
37
- }), Arrow, [function (_ref2) {
38
- var theme = _ref2.theme,
39
- top = _ref2.top,
40
- backgroundColor = _ref2.backgroundColor,
41
- borderColor = _ref2.borderColor;
42
- return top && {
43
- bottom: -11,
44
- marginLeft: -11,
45
- borderTopColor: borderColor || theme.color.LightDivider,
46
- '&::after,&::before': {
47
- marginLeft: -10,
48
- borderTopColor: backgroundColor || theme.color.LightBackground
49
- },
50
- '&::before': {
51
- borderTopColor: borderColor || theme.color.LightDivider
52
- }
53
- };
54
- }, function (_ref3) {
55
- var theme = _ref3.theme,
56
- bottom = _ref3.bottom,
57
- backgroundColor = _ref3.backgroundColor,
58
- borderColor = _ref3.borderColor;
59
- return bottom && {
60
- top: -11,
61
- marginLeft: -11,
62
- right: 'unset',
63
- borderBottomColor: borderColor || theme.color.LightDivider,
64
- '&::after,&::before': {
65
- marginLeft: -10,
66
- borderBottomColor: backgroundColor || theme.color.LightBackground
67
- },
68
- '&::before': {
69
- borderBottomColor: borderColor || theme.color.LightDivider
70
- }
71
- };
72
- }, function (_ref4) {
73
- var theme = _ref4.theme,
74
- left = _ref4.left,
75
- backgroundColor = _ref4.backgroundColor,
76
- borderColor = _ref4.borderColor;
77
- return left && {
78
- right: -11,
79
- marginTop: -11,
80
- borderLeftColor: borderColor || theme.color.LightDivider,
81
- '&::after,&::before': {
82
- marginTop: -10,
83
- borderLeftColor: backgroundColor || theme.color.LightBackground
84
- },
85
- '&::before': {
86
- borderLeftColor: borderColor || theme.color.LightDivider
87
- }
88
- };
89
- }, function (_ref5) {
90
- var theme = _ref5.theme,
91
- right = _ref5.right,
92
- backgroundColor = _ref5.backgroundColor,
93
- borderColor = _ref5.borderColor;
94
- return right && {
95
- left: -11,
96
- marginTop: -11,
97
- borderRightColor: borderColor || theme.color.LightDivider,
98
- '&::after,&::before': {
99
- marginTop: -10,
100
- borderRightColor: backgroundColor || theme.color.LightBackground
101
- },
102
- '&::before': {
103
- borderRightColor: borderColor || theme.color.LightDivider
104
- }
105
- };
106
- }]);
107
- var _default = exports["default"] = PopoverOverride;
@@ -1,17 +0,0 @@
1
- declare const _default: {
2
- [x: symbol]: (({ theme, disabled }: {
3
- theme: any;
4
- disabled: any;
5
- }) => any)[] | ((({ theme, disabled }: {
6
- theme: any;
7
- disabled: any;
8
- }) => {
9
- color: any;
10
- }) | {
11
- ':focus-within': {
12
- overflow: string;
13
- };
14
- })[];
15
- };
16
- export default _default;
17
- //# sourceMappingURL=Radio.d.ts.map
@@ -1,69 +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$Radio = _overridable["default"].Radio,
16
- Root = _Overridable$Radio.Root,
17
- Input = _Overridable$Radio.Input,
18
- VisualBox = _Overridable$Radio.VisualBox,
19
- VisualRadio = _Overridable$Radio.VisualRadio;
20
- var _default = exports["default"] = _defineProperty(_defineProperty(_defineProperty(_defineProperty({}, Root, [{
21
- ':focus-within': {
22
- overflow: 'hidden'
23
- }
24
- }, function (_ref) {
25
- var theme = _ref.theme,
26
- disabled = _ref.disabled;
27
- return {
28
- color: disabled ? theme.color.LightDisabled : theme.color.LightPrimary
29
- };
30
- }]), Input, [function (_ref2) {
31
- var theme = _ref2.theme;
32
- return {
33
- ':focus + div': {
34
- borderColor: theme.color.Primary,
35
- boxShadow: 'none'
36
- },
37
- ':disabled': {
38
- cursor: 'not-allowed',
39
- color: theme.color.LightDisabled
40
- }
41
- };
42
- }]), VisualBox, [function (_ref3) {
43
- var theme = _ref3.theme;
44
- return {
45
- borderColor: theme.color.LightDisabled,
46
- width: '0.75rem',
47
- height: '0.75rem',
48
- top: '1px'
49
- };
50
- }, function (_ref4) {
51
- var theme = _ref4.theme,
52
- disabled = _ref4.disabled;
53
- return disabled && {
54
- backgroundColor: theme.color.LightHover,
55
- borderColor: theme.color.LightHover
56
- };
57
- }]), VisualRadio, [function (_ref5) {
58
- var theme = _ref5.theme;
59
- return {
60
- border: '1px solid transparent',
61
- backgroundColor: theme.color.Primary
62
- };
63
- }, function (_ref6) {
64
- var theme = _ref6.theme,
65
- disabled = _ref6.disabled;
66
- return disabled ? {
67
- backgroundColor: theme.color.LightDisabled
68
- } : {};
69
- }]);
@@ -1,33 +0,0 @@
1
- declare const _default: {
2
- [x: symbol]: ((({ theme }: {
3
- theme: any;
4
- }) => {
5
- marginRight: any;
6
- transform: string;
7
- }) | (({ isOpen }: {
8
- isOpen: any;
9
- }) => any))[] | ((({ theme, open }: {
10
- theme: any;
11
- open: any;
12
- }) => {
13
- backgroundColor: any;
14
- borderLeft: string;
15
- borderRight: string;
16
- borderBottom: string | number;
17
- borderBottomLeftRadius: any;
18
- borderBottomRightRadius: any;
19
- }) | (({ theme, sub }: {
20
- theme: any;
21
- sub: any;
22
- }) => any))[] | ((({ theme, sub }: {
23
- theme: any;
24
- sub: any;
25
- }) => any) | {
26
- backgroundColor: string;
27
- border: string;
28
- borderRadius: string;
29
- padding: string;
30
- })[];
31
- };
32
- export default _default;
33
- //# sourceMappingURL=Section.d.ts.map