td-stylekit 29.0.0 → 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 (108) hide show
  1. package/CHANGELOG.md +15 -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/DateControl/elements.d.ts +13 -13
  11. package/dist/es/DropdownButton/DropdownButtonElements.d.ts +1 -1
  12. package/dist/es/DropdownButton/DropdownButtonElements.js +8 -8
  13. package/dist/es/GrowthRateChart/GrowthRateChart.d.ts +0 -76
  14. package/dist/es/GrowthRateChart/GrowthRateChart.js +2 -9
  15. package/dist/es/Heading/Heading.js +2 -2
  16. package/dist/es/Highlighter/Highlighter.js +2 -2
  17. package/dist/es/Icon/Icon.js +2 -2
  18. package/dist/es/Icon/staticTypes.d.ts +88 -418
  19. package/dist/es/Icon/types.js +1 -555
  20. package/dist/es/Logo/Logo.js +0 -12
  21. package/dist/es/Menu/MenuElements.js +3 -3
  22. package/dist/es/MultiSelect/elements.d.ts +1 -1
  23. package/dist/es/MultiSelect/elements.js +17 -17
  24. package/dist/es/SecondaryNavigation/elements/Item.js +7 -7
  25. package/dist/es/SecondaryNavigation/elements/Section.js +3 -3
  26. package/dist/es/SecondaryNavigation/elements/Title.js +3 -3
  27. package/dist/es/SecondaryNavigation/elements/Wrapper.js +3 -3
  28. package/dist/es/Section/elements.d.ts +1 -1
  29. package/dist/es/Select/utils.js +2 -2
  30. package/dist/es/Tagger/TaggerElements.js +11 -11
  31. package/dist/es/Tagger/components/PopupSelector.js +4 -4
  32. package/dist/es/Tagger/components/PopupSelectorElements.js +16 -16
  33. package/dist/es/ThemeProvider/ThemeProvider.d.ts +0 -205
  34. package/dist/es/ThemeProvider/ThemeProvider.js +1 -7
  35. package/dist/es/ThemeProvider/icons.d.ts +1 -1
  36. package/dist/es/ThemeProvider/icons.js +4 -46
  37. package/dist/es/ThemeProvider/index.d.ts +1 -1
  38. package/dist/es/ThemeProvider/index.js +0 -6
  39. package/dist/es/ThemeProvider/theme.d.ts +0 -76
  40. package/dist/es/ThemeProvider/theme.js +0 -82
  41. package/dist/es/ThemeProvider/types.d.ts +1 -1
  42. package/dist/es/TimeControl/elements.d.ts +13 -13
  43. package/dist/es/Toggle/Toggle.js +6 -7
  44. package/dist/es/UserAvatar/UserAvatar.js +7 -7
  45. package/dist/es/VolumeChart/VolumeChart.d.ts +2 -2
  46. package/dist/es/VolumeChart/VolumeChart.js +2 -13
  47. package/dist/es/mixins/border.d.ts +1 -1
  48. package/dist/es/mixins/border.js +3 -3
  49. package/dist/es/utils/globalcss.js +1 -1
  50. package/dist/es/utils/testingLibrary.d.ts +1 -3
  51. package/dist/es/utils/testingLibrary.js +13 -24
  52. package/package.json +1 -1
  53. package/dist/es/ThemeProvider/v4/Badge.d.ts +0 -10
  54. package/dist/es/ThemeProvider/v4/Badge.js +0 -57
  55. package/dist/es/ThemeProvider/v4/Button.d.ts +0 -161
  56. package/dist/es/ThemeProvider/v4/Button.js +0 -200
  57. package/dist/es/ThemeProvider/v4/Card.d.ts +0 -12
  58. package/dist/es/ThemeProvider/v4/Card.js +0 -24
  59. package/dist/es/ThemeProvider/v4/Checkbox.d.ts +0 -70
  60. package/dist/es/ThemeProvider/v4/Checkbox.js +0 -94
  61. package/dist/es/ThemeProvider/v4/CollapsibleToggle.d.ts +0 -31
  62. package/dist/es/ThemeProvider/v4/CollapsibleToggle.js +0 -46
  63. package/dist/es/ThemeProvider/v4/Color.d.ts +0 -12
  64. package/dist/es/ThemeProvider/v4/Color.js +0 -47
  65. package/dist/es/ThemeProvider/v4/DataGrid.d.ts +0 -72
  66. package/dist/es/ThemeProvider/v4/DataGrid.js +0 -182
  67. package/dist/es/ThemeProvider/v4/DatePicker.d.ts +0 -41
  68. package/dist/es/ThemeProvider/v4/DatePicker.js +0 -111
  69. package/dist/es/ThemeProvider/v4/DropdownButton.d.ts +0 -67
  70. package/dist/es/ThemeProvider/v4/DropdownButton.js +0 -99
  71. package/dist/es/ThemeProvider/v4/FormFieldAddon.d.ts +0 -16
  72. package/dist/es/ThemeProvider/v4/FormFieldAddon.js +0 -38
  73. package/dist/es/ThemeProvider/v4/FormLabel.d.ts +0 -11
  74. package/dist/es/ThemeProvider/v4/FormLabel.js +0 -28
  75. package/dist/es/ThemeProvider/v4/Icon.d.ts +0 -7
  76. package/dist/es/ThemeProvider/v4/Icon.js +0 -20
  77. package/dist/es/ThemeProvider/v4/Input.d.ts +0 -10
  78. package/dist/es/ThemeProvider/v4/Input.js +0 -50
  79. package/dist/es/ThemeProvider/v4/Link.d.ts +0 -20
  80. package/dist/es/ThemeProvider/v4/Link.js +0 -30
  81. package/dist/es/ThemeProvider/v4/Menu.d.ts +0 -36
  82. package/dist/es/ThemeProvider/v4/Menu.js +0 -60
  83. package/dist/es/ThemeProvider/v4/Modal.d.ts +0 -63
  84. package/dist/es/ThemeProvider/v4/Modal.js +0 -216
  85. package/dist/es/ThemeProvider/v4/MultiSelect.d.ts +0 -35
  86. package/dist/es/ThemeProvider/v4/MultiSelect.js +0 -126
  87. package/dist/es/ThemeProvider/v4/Popover.d.ts +0 -4
  88. package/dist/es/ThemeProvider/v4/Popover.js +0 -107
  89. package/dist/es/ThemeProvider/v4/Radio.d.ts +0 -17
  90. package/dist/es/ThemeProvider/v4/Radio.js +0 -69
  91. package/dist/es/ThemeProvider/v4/Section.d.ts +0 -33
  92. package/dist/es/ThemeProvider/v4/Section.js +0 -93
  93. package/dist/es/ThemeProvider/v4/Select.d.ts +0 -69
  94. package/dist/es/ThemeProvider/v4/Select.js +0 -198
  95. package/dist/es/ThemeProvider/v4/Shuttle.d.ts +0 -12
  96. package/dist/es/ThemeProvider/v4/Shuttle.js +0 -28
  97. package/dist/es/ThemeProvider/v4/Tagger.d.ts +0 -30
  98. package/dist/es/ThemeProvider/v4/Tagger.js +0 -64
  99. package/dist/es/ThemeProvider/v4/Toast.d.ts +0 -35
  100. package/dist/es/ThemeProvider/v4/Toast.js +0 -119
  101. package/dist/es/ThemeProvider/v4/Toggle.d.ts +0 -18
  102. package/dist/es/ThemeProvider/v4/Toggle.js +0 -93
  103. package/dist/es/ThemeProvider/v4/UserAvatar.d.ts +0 -15
  104. package/dist/es/ThemeProvider/v4/UserAvatar.js +0 -31
  105. package/dist/es/ThemeProvider/v4/View.d.ts +0 -9
  106. package/dist/es/ThemeProvider/v4/View.js +0 -21
  107. package/dist/es/ThemeProvider/v4/index.d.ts +0 -6
  108. package/dist/es/ThemeProvider/v4/index.js +0 -46
@@ -1,50 +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 ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
11
- function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
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 Root = _overridable["default"].Input.Root;
18
- var InputOverrides = _defineProperty({}, Root, function (_ref) {
19
- var theme = _ref.theme,
20
- _ref$invalid = _ref.invalid,
21
- invalid = _ref$invalid === void 0 ? false : _ref$invalid,
22
- _ref$disabled = _ref.disabled,
23
- disabled = _ref$disabled === void 0 ? false : _ref$disabled;
24
- return _objectSpread(_objectSpread({
25
- borderRadius: theme.radius[1],
26
- borderColor: theme.color.LightDivider,
27
- padding: theme.space[2],
28
- color: theme.color.LightPrimary,
29
- ':focus': {
30
- outline: 'none',
31
- borderColor: theme.color.Primary,
32
- borderWidth: theme.borderWidth[1],
33
- boxShadow: 'none'
34
- },
35
- '::placeholder': {
36
- color: theme.color.LightSecondary
37
- }
38
- }, invalid ? {
39
- background: 'transparent',
40
- outline: 'none',
41
- borderColor: theme.color.Error
42
- } : {}), disabled ? {
43
- backgroundColor: theme.color.LightHover,
44
- borderColor: theme.color.LightHover,
45
- color: theme.color.LightDisabled,
46
- cursor: 'not-allowed',
47
- pointerEvents: 'none'
48
- } : {});
49
- });
50
- var _default = exports["default"] = InputOverrides;
@@ -1,20 +0,0 @@
1
- declare const _default: {
2
- [x: symbol]: ({ theme, disabled }: {
3
- theme: any;
4
- disabled: any;
5
- }) => {
6
- color: any;
7
- fontWeight: number;
8
- ':hover': {
9
- color?: undefined;
10
- } | {
11
- color: any;
12
- };
13
- ':focus': {
14
- textDecoration: string;
15
- outline: string;
16
- };
17
- };
18
- };
19
- export default _default;
20
- //# sourceMappingURL=Link.d.ts.map
@@ -1,30 +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 Root = _overridable["default"].Link.Root;
16
- var _default = exports["default"] = _defineProperty({}, Root, function (_ref) {
17
- var theme = _ref.theme,
18
- disabled = _ref.disabled;
19
- return {
20
- color: disabled ? theme.color.Zorba : theme.color.Primary,
21
- fontWeight: 400,
22
- ':hover': disabled ? {} : {
23
- color: theme.color.PrimaryLight
24
- },
25
- ':focus': {
26
- textDecoration: 'underline',
27
- outline: 'none'
28
- }
29
- };
30
- });
@@ -1,36 +0,0 @@
1
- declare const _default: {
2
- [x: symbol]: (({ theme }: {
3
- theme: any;
4
- }) => {
5
- borderRadius: string;
6
- padding: any;
7
- }) | (({ theme }: {
8
- theme: any;
9
- }) => {
10
- flex: string;
11
- backgroundColor: any;
12
- marginBottom: string;
13
- }) | (({ theme }: {
14
- theme: any;
15
- }) => ((({ theme, focused }: {
16
- theme: any;
17
- focused: any;
18
- }) => any) | {
19
- height: string | number;
20
- padding: string;
21
- borderBottom: string;
22
- color: any;
23
- ':last-child': {
24
- borderBottom: string;
25
- marginBottom: string;
26
- };
27
- ':focus': {
28
- backgroundColor: any;
29
- color: any;
30
- borderRadius: any;
31
- };
32
- margin: number;
33
- })[]);
34
- };
35
- export default _default;
36
- //# sourceMappingURL=Menu.d.ts.map
@@ -1,60 +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 _utils = require("../../utils");
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$Menu = _overridable["default"].Menu,
17
- Box = _Overridable$Menu.Box,
18
- Divider = _Overridable$Menu.Divider,
19
- Item = _Overridable$Menu.Item;
20
- var _default = exports["default"] = _defineProperty(_defineProperty(_defineProperty({}, Box, function (_ref) {
21
- var theme = _ref.theme;
22
- return {
23
- borderRadius: '2px',
24
- padding: theme.space[0]
25
- };
26
- }), Divider, function (_ref2) {
27
- var theme = _ref2.theme;
28
- return {
29
- flex: '0 0 4px',
30
- backgroundColor: theme.color.LightBar,
31
- marginBottom: 'unset'
32
- };
33
- }), Item, function (_ref3) {
34
- var theme = _ref3.theme;
35
- return [{
36
- // default button height
37
- height: (0, _utils.multiply)(theme.space[3], 3),
38
- padding: "0 ".concat(theme.space[3]),
39
- borderBottom: "1px solid ".concat(theme.color.LightBar),
40
- color: theme.color.DarkBackground,
41
- ':last-child': {
42
- borderBottom: 'none',
43
- marginBottom: 'unset'
44
- },
45
- ':focus': {
46
- backgroundColor: theme.color.Primary,
47
- color: theme.color.DarkPrimary,
48
- borderRadius: theme.radius[0]
49
- },
50
- margin: 0
51
- }, function (_ref4) {
52
- var theme = _ref4.theme,
53
- focused = _ref4.focused;
54
- return focused && {
55
- backgroundColor: theme.color.Primary,
56
- color: theme.color.DarkPrimary,
57
- borderRadius: theme.radius[0]
58
- };
59
- }];
60
- });
@@ -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