@deskpro/deskpro-ui 0.1.13 → 0.2.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 (96) hide show
  1. package/README.md +11 -8
  2. package/dist/cjs/components/AttachmentTag/AttachmentTag.d.ts.map +1 -1
  3. package/dist/cjs/components/AttachmentTag/AttachmentTag.js +1 -3
  4. package/dist/cjs/components/Avatar/Avatar.d.ts.map +1 -1
  5. package/dist/cjs/components/Avatar/Avatar.js +5 -11
  6. package/dist/cjs/components/Avatar/AvatarGroup.d.ts +1 -1
  7. package/dist/cjs/components/Avatar/AvatarGroup.d.ts.map +1 -1
  8. package/dist/cjs/components/Button/Button.d.ts +17 -9
  9. package/dist/cjs/components/Button/Button.d.ts.map +1 -1
  10. package/dist/cjs/components/Button/Button.js +93 -27
  11. package/dist/cjs/components/Button/styles.d.ts +6 -5
  12. package/dist/cjs/components/Button/styles.d.ts.map +1 -1
  13. package/dist/cjs/components/Button/styles.js +59 -39
  14. package/dist/cjs/components/Button/types.d.ts +19 -9
  15. package/dist/cjs/components/Button/types.d.ts.map +1 -1
  16. package/dist/cjs/components/ButtonGroup/ButtonGroup.d.ts.map +1 -1
  17. package/dist/cjs/components/ButtonGroup/ButtonGroup.js +1 -1
  18. package/dist/cjs/components/Checkbox/Checkbox.d.ts.map +1 -1
  19. package/dist/cjs/components/Checkbox/Checkbox.js +1 -3
  20. package/dist/cjs/components/ColorInput/ColorInput.d.ts.map +1 -1
  21. package/dist/cjs/components/ColorInput/ColorInput.js +4 -8
  22. package/dist/cjs/components/DatePicker/index.d.ts +1 -1
  23. package/dist/cjs/components/DatePicker/index.d.ts.map +1 -1
  24. package/dist/cjs/components/Dialog/Dialog.d.ts +1 -1
  25. package/dist/cjs/components/Dialog/Dialog.d.ts.map +1 -1
  26. package/dist/cjs/components/Dialog/Dialog.js +1 -0
  27. package/dist/cjs/components/Dropdown/Dropdown.d.ts.map +1 -1
  28. package/dist/cjs/components/Dropdown/Dropdown.js +5 -11
  29. package/dist/cjs/components/Dropdown/types.d.ts.map +1 -1
  30. package/dist/cjs/components/Icon/DeskproCustomIcon.d.ts +5 -4
  31. package/dist/cjs/components/Icon/DeskproCustomIcon.d.ts.map +1 -1
  32. package/dist/cjs/components/Icon/DeskproCustomIcon.js +2 -2
  33. package/dist/cjs/components/Icon/HeroIcon.d.ts +2 -2
  34. package/dist/cjs/components/Icon/HeroIcon.d.ts.map +1 -1
  35. package/dist/cjs/components/Icon/Icon.d.ts.map +1 -1
  36. package/dist/cjs/components/Icon/Icon.js +8 -16
  37. package/dist/cjs/components/Infinite/Infinite.d.ts.map +1 -1
  38. package/dist/cjs/components/Infinite/Infinite.js +5 -10
  39. package/dist/cjs/components/Infinite/InfiniteTopBottom.d.ts.map +1 -1
  40. package/dist/cjs/components/Infinite/InfiniteTopBottom.js +4 -8
  41. package/dist/cjs/components/IntlPhoneInput/IntlPhoneInput.d.ts +1 -1
  42. package/dist/cjs/components/IntlPhoneInput/IntlPhoneInput.d.ts.map +1 -1
  43. package/dist/cjs/components/IntlPhoneInput/IntlPhoneInput.js +2 -6
  44. package/dist/cjs/components/LabelTag/Tag.d.ts +1 -1
  45. package/dist/cjs/components/LabelTag/Tag.d.ts.map +1 -1
  46. package/dist/cjs/components/LabelTag/Tag.js +7 -6
  47. package/dist/cjs/components/Menu/Menu.d.ts +8 -16
  48. package/dist/cjs/components/Menu/Menu.d.ts.map +1 -1
  49. package/dist/cjs/components/Menu/Menu.js +2 -2
  50. package/dist/cjs/components/Modal/Modal.d.ts +1 -1
  51. package/dist/cjs/components/Modal/Modal.d.ts.map +1 -1
  52. package/dist/cjs/components/Modal/Modal.js +3 -9
  53. package/dist/cjs/components/OptionTag/OptionTag.d.ts.map +1 -1
  54. package/dist/cjs/components/OptionTag/OptionTag.js +1 -1
  55. package/dist/cjs/components/Pagination/Pagination.d.ts.map +1 -1
  56. package/dist/cjs/components/Pagination/Pagination.js +3 -4
  57. package/dist/cjs/components/Select/Select.d.ts.map +1 -1
  58. package/dist/cjs/components/Select/Select.js +5 -11
  59. package/dist/cjs/components/TabbedSection/Tabs.d.ts.map +1 -1
  60. package/dist/cjs/components/TabbedSection/Tabs.js +2 -2
  61. package/dist/cjs/components/TextArea/TextArea.d.ts.map +1 -1
  62. package/dist/cjs/components/Toggle/Toggle.d.ts.map +1 -1
  63. package/dist/cjs/components/Toggle/Toggle.js +4 -16
  64. package/dist/cjs/components/Tooltip/Tooltip.d.ts +4 -2
  65. package/dist/cjs/components/Tooltip/Tooltip.d.ts.map +1 -1
  66. package/dist/cjs/components/Tooltip/Tooltip.js +21 -8
  67. package/dist/cjs/nav/NavSidebar/NavSidebar.d.ts +1 -1
  68. package/dist/cjs/nav/NavSidebar/NavSidebar.d.ts.map +1 -1
  69. package/dist/cjs/nav/NavSidebar/NavSidebar.js +2 -6
  70. package/dist/cjs/tsconfig.tsbuildinfo +1 -1
  71. package/dist/esm/components/AttachmentTag/AttachmentTag.js +1 -3
  72. package/dist/esm/components/Avatar/Avatar.js +5 -11
  73. package/dist/esm/components/Button/Button.js +92 -27
  74. package/dist/esm/components/Button/styles.js +58 -38
  75. package/dist/esm/components/ButtonGroup/ButtonGroup.js +1 -1
  76. package/dist/esm/components/Checkbox/Checkbox.js +1 -3
  77. package/dist/esm/components/ColorInput/ColorInput.js +4 -8
  78. package/dist/esm/components/DatePicker/index.js +1 -1
  79. package/dist/esm/components/Dialog/Dialog.js +1 -0
  80. package/dist/esm/components/Dropdown/Dropdown.js +6 -12
  81. package/dist/esm/components/Icon/DeskproCustomIcon.js +3 -3
  82. package/dist/esm/components/Icon/Icon.js +8 -16
  83. package/dist/esm/components/Infinite/Infinite.js +6 -11
  84. package/dist/esm/components/Infinite/InfiniteTopBottom.js +5 -9
  85. package/dist/esm/components/IntlPhoneInput/IntlPhoneInput.js +3 -7
  86. package/dist/esm/components/LabelTag/Tag.js +7 -6
  87. package/dist/esm/components/Menu/Menu.js +3 -3
  88. package/dist/esm/components/Modal/Modal.js +3 -9
  89. package/dist/esm/components/OptionTag/OptionTag.js +1 -1
  90. package/dist/esm/components/Pagination/Pagination.js +4 -5
  91. package/dist/esm/components/Select/Select.js +5 -11
  92. package/dist/esm/components/TabbedSection/Tabs.js +2 -2
  93. package/dist/esm/components/Toggle/Toggle.js +4 -16
  94. package/dist/esm/components/Tooltip/Tooltip.js +23 -10
  95. package/dist/esm/nav/NavSidebar/NavSidebar.js +2 -6
  96. package/package.json +20 -11
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.buttonIconSubsection = exports.overlayButtonMiddleTop = exports.overlayButtonMiddleBottom = exports.overlayButtonLeftBottom = exports.overlayButtonLeftTop = exports.overlayButtonRightBottom = exports.overlayButtonRightTop = exports.overlayButtonStyle = exports.TestOverlayButtonWrapper = exports.navButtonSmall = exports.navButtonBase = exports.buttonLoading = exports.ButtonLoaderContainer = exports.getDisabledIntent = exports.getActiveIntent = exports.getDangerIntent = exports.getIntentBase = exports.buttonFill = exports.buttonNoMinimalUnderline = exports.buttonMinimal = exports.dangerSecondaryTertiary = exports.dangerSecondaryTeritaryActive = exports.dangerPrimary = exports.dangerPrimaryActive = exports.buttonTertiaryBase = exports.tertiaryActive = exports.buttonSecondaryBase = exports.secondaryActive = exports.buttonPrimaryBase = exports.primaryActive = exports.iconButtonMinimal = exports.iconMinimalActive = exports.iconButtonSmall = exports.iconButtonBase = exports.buttonTiny = exports.buttonSmall = exports.buttonLarge = exports.buttonBaseCss = exports.ButtonText = void 0;
3
+ exports.buttonIconSubsection = exports.overlayButtonMiddleTop = exports.overlayButtonMiddleBottom = exports.overlayButtonLeftBottom = exports.overlayButtonLeftTop = exports.overlayButtonRightBottom = exports.overlayButtonRightTop = exports.overlayButtonStyle = exports.TestOverlayButtonWrapper = exports.navButtonSmall = exports.navButtonBase = exports.buttonLoading = exports.ButtonLoaderContainer = exports.getDisabledIntent = exports.getActiveIntent = exports.getDangerIntent = exports.getIntentBase = exports.buttonFill = exports.dangerSecondaryTertiary = exports.dangerSecondaryTeritaryActive = exports.dangerPrimary = exports.dangerPrimaryActive = exports.minimalBLock = exports.buttonMinimalUnderline = exports.buttonMinimal = exports.buttonTertiaryBase = exports.tertiaryActive = exports.buttonSecondaryBase = exports.secondaryActive = exports.buttonPrimaryBase = exports.primaryActive = exports.iconButtonMinimal = exports.iconMinimalActive = exports.iconButtonSmall = exports.iconButtonBase = exports.buttonTiny = exports.buttonSmall = exports.buttonLarge = exports.buttonBaseCss = exports.ButtonText = void 0;
4
4
  var tslib_1 = require("tslib");
5
5
  var styled_components_1 = (0, tslib_1.__importStar)(require("styled-components"));
6
6
  var Icon_1 = require("../Icon");
@@ -10,7 +10,10 @@ exports.ButtonText = styled_components_1.default.span(templateObject_2 || (templ
10
10
  return props.overflow
11
11
  ? (0, styled_components_1.css)(templateObject_1 || (templateObject_1 = (0, tslib_1.__makeTemplateObject)(["\n width: 100%;\n overflow: hidden;\n white-space: nowrap;\n text-overflow: ", ";\n "], ["\n width: 100%;\n overflow: hidden;\n white-space: nowrap;\n text-overflow: ", ";\n "])), props.overflow) : undefined;
12
12
  });
13
- exports.buttonBaseCss = (0, styled_components_1.css)(templateObject_3 || (templateObject_3 = (0, tslib_1.__makeTemplateObject)(["\n position: relative;\n transition: all 0.1s ease-in-out;\n display: inline-flex;\n border: none;\n border-radius: 4px;\n cursor: pointer;\n padding: 4px 8px;\n vertical-align: middle;\n height: 24px;\n max-height: 24px;\n min-height: 24px;\n min-width: 24px;\n align-items: center;\n\n & > :not(:last-child) {\n margin-right: 7px;\n }\n\n :disabled {\n cursor: not-allowed;\n }\n\n > * {\n flex: 0;\n }\n\n ", " {\n ", ";\n flex: 0 0 auto;\n }\n\n ", " {\n flex: 0 1 auto;\n text-overflow: ellipsis;\n overflow: hidden;\n white-space: nowrap;\n }\n"], ["\n position: relative;\n transition: all 0.1s ease-in-out;\n display: inline-flex;\n border: none;\n border-radius: 4px;\n cursor: pointer;\n padding: 4px 8px;\n vertical-align: middle;\n height: 24px;\n max-height: 24px;\n min-height: 24px;\n min-width: 24px;\n align-items: center;\n\n & > :not(:last-child) {\n margin-right: 7px;\n }\n\n :disabled {\n cursor: not-allowed;\n }\n\n > * {\n flex: 0;\n }\n\n ", " {\n ", ";\n flex: 0 0 auto;\n }\n\n ", " {\n flex: 0 1 auto;\n text-overflow: ellipsis;\n overflow: hidden;\n white-space: nowrap;\n }\n"])), Icon_1.Icon, Typography_1.paragraphStyled.p6, exports.ButtonText);
13
+ exports.buttonBaseCss = (0, styled_components_1.css)(templateObject_3 || (templateObject_3 = (0, tslib_1.__makeTemplateObject)(["\n position: relative;\n transition: all 0.1s ease-in-out;\n display: inline-flex;\n border: none;\n border-radius: 4px;\n cursor: pointer;\n padding: 4px 8px;\n vertical-align: middle;\n height: 24px;\n max-height: 24px;\n min-height: 24px;\n min-width: 24px;\n align-items: center;\n\n & > :not(:last-child) {\n margin-right: 7px;\n }\n\n :disabled {\n cursor: not-allowed;\n }\n\n :focus {\n outline: 2px solid ", ";\n outline-offset: 1px;\n }\n\n > * {\n flex: 0;\n }\n\n ", " {\n ", ";\n flex: 0 0 auto;\n }\n\n ", " {\n flex: 0 1 auto;\n text-overflow: ellipsis;\n overflow: hidden;\n white-space: nowrap;\n }\n"], ["\n position: relative;\n transition: all 0.1s ease-in-out;\n display: inline-flex;\n border: none;\n border-radius: 4px;\n cursor: pointer;\n padding: 4px 8px;\n vertical-align: middle;\n height: 24px;\n max-height: 24px;\n min-height: 24px;\n min-width: 24px;\n align-items: center;\n\n & > :not(:last-child) {\n margin-right: 7px;\n }\n\n :disabled {\n cursor: not-allowed;\n }\n\n :focus {\n outline: 2px solid ", ";\n outline-offset: 1px;\n }\n\n > * {\n flex: 0;\n }\n\n ", " {\n ", ";\n flex: 0 0 auto;\n }\n\n ", " {\n flex: 0 1 auto;\n text-overflow: ellipsis;\n overflow: hidden;\n white-space: nowrap;\n }\n"])), function (_a) {
14
+ var theme = _a.theme;
15
+ return theme.colors.cyan80;
16
+ }, Icon_1.Icon, Typography_1.paragraphStyled.p6, exports.ButtonText);
14
17
  exports.buttonLarge = (0, styled_components_1.css)(templateObject_4 || (templateObject_4 = (0, tslib_1.__makeTemplateObject)(["\n min-height: 28px;\n min-width: 28px;\n padding: 6px 10px;\n ", " {\n ", ";\n }\n\n ", " {\n ", "\n }\n"], ["\n min-height: 28px;\n min-width: 28px;\n padding: 6px 10px;\n ", " {\n ", ";\n }\n\n ", " {\n ", "\n }\n"])), exports.ButtonText, Typography_1.paragraphStyled.p2, Icon_1.Icon, Typography_1.paragraphStyled.p2);
15
18
  exports.buttonSmall = (0, styled_components_1.css)(templateObject_5 || (templateObject_5 = (0, tslib_1.__makeTemplateObject)(["\n height: 18px;\n min-height: 18px;\n min-width: 18px;\n padding: 3px 8px;\n ", " {\n ", ";\n }\n\n ", " {\n ", "\n }\n"], ["\n height: 18px;\n min-height: 18px;\n min-width: 18px;\n padding: 3px 8px;\n ", " {\n ", ";\n }\n\n ", " {\n ", "\n }\n"])), exports.ButtonText, Typography_1.paragraphStyled.p11, Icon_1.Icon, Typography_1.paragraphStyled.p11);
16
19
  exports.buttonTiny = (0, styled_components_1.css)(templateObject_6 || (templateObject_6 = (0, tslib_1.__makeTemplateObject)(["\n height: 16px;\n min-height: 16px;\n max-height: 16px;\n min-width: 28px;\n justify-content: center;\n padding: 1px 2px;\n ", " {\n ", ";\n }\n\n ", " {\n ", ";\n }\n"], ["\n height: 16px;\n min-height: 16px;\n max-height: 16px;\n min-width: 28px;\n justify-content: center;\n padding: 1px 2px;\n ", " {\n ", ";\n }\n\n ", " {\n ", ";\n }\n"])), exports.ButtonText, Typography_1.paragraphStyled.p11, Icon_1.Icon, Typography_1.paragraphStyled.p11);
@@ -18,47 +21,53 @@ exports.iconButtonBase = (0, styled_components_1.css)(templateObject_7 || (templ
18
21
  exports.iconButtonSmall = (0, styled_components_1.css)(templateObject_8 || (templateObject_8 = (0, tslib_1.__makeTemplateObject)(["\n border-radius: 4px;\n padding: 3px;\n height: 20px;\n min-height: 20px;\n max-height: 20px;\n width: 20px;\n ", " {\n ", ";\n }\n\n ", " {\n ", "\n }\n\n &:hover,\n &:active,\n &:focus {\n ", " {\n color: inherit;\n }\n }\n"], ["\n border-radius: 4px;\n padding: 3px;\n height: 20px;\n min-height: 20px;\n max-height: 20px;\n width: 20px;\n ", " {\n ", ";\n }\n\n ", " {\n ", "\n }\n\n &:hover,\n &:active,\n &:focus {\n ", " {\n color: inherit;\n }\n }\n"])), exports.ButtonText, Typography_1.paragraphStyled.p11, Icon_1.Icon, Typography_1.paragraphStyled.p8, Icon_1.Icon);
19
22
  exports.iconMinimalActive = (0, styled_components_1.css)(templateObject_9 || (templateObject_9 = (0, tslib_1.__makeTemplateObject)(["\n color: ", ";\n box-shadow: none;\n background-color: transparent;\n border-color: transparent;\n"], ["\n color: ", ";\n box-shadow: none;\n background-color: transparent;\n border-color: transparent;\n"])), function (props) { return props.theme.colors.brandShade100; });
20
23
  exports.iconButtonMinimal = (0, styled_components_1.css)(templateObject_10 || (templateObject_10 = (0, tslib_1.__makeTemplateObject)(["\n padding: 0;\n height: 16px;\n min-height: 16px;\n max-height: 16px;\n width: 16px;\n color: ", ";\n background-color: transparent;\n border-color: transparent;\n box-shadow: none;\n\n :hover {\n color: ", ";\n box-shadow: none;\n background-color: transparent;\n border-color: transparent;\n }\n\n :active,\n :focus {\n ", ";\n }\n\n :disabled {\n box-shadow: none;\n background-color: transparent;\n border-color: transparent;\n color: ", ";\n }\n\n ", " {\n ", "\n }\n"], ["\n padding: 0;\n height: 16px;\n min-height: 16px;\n max-height: 16px;\n width: 16px;\n color: ", ";\n background-color: transparent;\n border-color: transparent;\n box-shadow: none;\n\n :hover {\n color: ", ";\n box-shadow: none;\n background-color: transparent;\n border-color: transparent;\n }\n\n :active,\n :focus {\n ", ";\n }\n\n :disabled {\n box-shadow: none;\n background-color: transparent;\n border-color: transparent;\n color: ", ";\n }\n\n ", " {\n ", "\n }\n"])), function (props) { return props.theme.colors.grey40; }, function (props) { return props.theme.colors.brandShade80; }, exports.iconMinimalActive, function (props) { return props.theme.colors.grey20; }, Icon_1.Icon, Typography_1.headingStyles.h0);
24
+ // ------- BASEs ---------
25
+ // Primary ---------
21
26
  exports.primaryActive = (0, styled_components_1.css)(templateObject_11 || (templateObject_11 = (0, tslib_1.__makeTemplateObject)(["\n background-color: ", ";\n border: 1px solid ", ";\n box-shadow: 0px 0px 0px ", ";\n"], ["\n background-color: ", ";\n border: 1px solid ", ";\n box-shadow: 0px 0px 0px ", ";\n"])), function (props) { return props.theme.colors.cyan100; }, function (props) { return props.theme.colors.cyan100; }, function (props) { return props.theme.colors.brandShade40; });
22
27
  exports.buttonPrimaryBase = (0, styled_components_1.css)(templateObject_12 || (templateObject_12 = (0, tslib_1.__makeTemplateObject)(["\n background-color: ", ";\n box-shadow: 0px 2px 2px ", ";\n color: ", ";\n border: 1px solid ", ";\n\n :hover {\n background-color: ", ";\n border: 1px solid ", ";\n }\n\n :focus,\n :active {\n ", "\n }\n\n :disabled {\n border: 1px solid ", ";\n box-shadow: 0px 0px 0px ", ";\n background-color: ", ";\n }\n"], ["\n background-color: ", ";\n box-shadow: 0px 2px 2px ", ";\n color: ", ";\n border: 1px solid ", ";\n\n :hover {\n background-color: ", ";\n border: 1px solid ", ";\n }\n\n :focus,\n :active {\n ", "\n }\n\n :disabled {\n border: 1px solid ", ";\n box-shadow: 0px 0px 0px ", ";\n background-color: ", ";\n }\n"])), function (props) { return props.theme.colors.brandShade100; }, function (props) { return props.theme.colors.brandShade40; }, function (props) { return props.theme.colors.white; }, function (props) { return props.theme.colors.brandShade100; }, function (props) { return props.theme.colors.cyan100; }, function (props) { return props.theme.colors.cyan100; }, exports.primaryActive, function (props) { return props.theme.colors.grey20; }, function (props) { return props.theme.colors.brandShade40; }, function (props) { return props.theme.colors.grey20; });
28
+ // Secondary ---------
23
29
  exports.secondaryActive = (0, styled_components_1.css)(templateObject_13 || (templateObject_13 = (0, tslib_1.__makeTemplateObject)(["\n border-color: ", ";\n background-color: ", ";\n box-shadow: 0px 0px 0px ", ";\n"], ["\n border-color: ", ";\n background-color: ", ";\n box-shadow: 0px 0px 0px ", ";\n"])), function (props) { return props.theme.colors.brandShade100; }, function (props) { return props.theme.colors.brandShade40; }, function (props) { return props.theme.colors.brandShade40; });
24
30
  exports.buttonSecondaryBase = (0, styled_components_1.css)(templateObject_14 || (templateObject_14 = (0, tslib_1.__makeTemplateObject)(["\n background-color: ", ";\n border: 1px solid ", ";\n box-shadow: 0px 2px 2px ", ";\n color: ", ";\n\n :hover {\n background-color: ", ";\n border-color: ", ";\n }\n\n :focus,\n :active {\n ", "\n }\n\n :disabled {\n color: ", ";\n box-shadow: 0px 0px 0px ", ";\n border-color: ", ";\n background-color: ", ";\n }\n"], ["\n background-color: ", ";\n border: 1px solid ", ";\n box-shadow: 0px 2px 2px ", ";\n color: ", ";\n\n :hover {\n background-color: ", ";\n border-color: ", ";\n }\n\n :focus,\n :active {\n ", "\n }\n\n :disabled {\n color: ", ";\n box-shadow: 0px 0px 0px ", ";\n border-color: ", ";\n background-color: ", ";\n }\n"])), function (props) { return props.theme.colors.white; }, function (props) { return props.theme.colors.grey20; }, function (props) { return props.theme.colors.brandShade40; }, function (props) { return props.theme.colors.brandShade100; }, function (props) { return props.theme.colors.brandShade20; }, function (props) { return props.theme.colors.brandShade100; }, exports.secondaryActive, function (props) { return props.theme.colors.grey40; }, function (props) { return props.theme.colors.brandShade40; }, function (props) { return props.theme.colors.grey20; }, function (props) { return props.theme.colors.grey5; });
25
- exports.tertiaryActive = (0, styled_components_1.css)(templateObject_15 || (templateObject_15 = (0, tslib_1.__makeTemplateObject)(["\n border-color: ", ";\n background-color: ", ";\n box-shadow: 0px 0px 0px ", ";\n"], ["\n border-color: ", ";\n background-color: ", ";\n box-shadow: 0px 0px 0px ", ";\n"])), function (props) { return props.theme.colors.brandShade100; }, function (props) { return props.theme.colors.brandShade40; }, function (props) { return props.theme.colors.brandShade40; });
26
- exports.buttonTertiaryBase = (0, styled_components_1.css)(templateObject_16 || (templateObject_16 = (0, tslib_1.__makeTemplateObject)(["\n background-color: ", ";\n border: 1px solid ", ";\n color: ", ";\n box-shadow: 0px 0px 0px ", ";\n\n :hover {\n box-shadow: 0px 2px 2px ", ";\n background-color: ", ";\n border-color: ", ";\n }\n\n :focus,\n :active {\n ", "\n }\n\n :disabled {\n color: ", ";\n box-shadow: 0px 0px 0px ", ";\n border-color: ", ";\n background-color: ", ";\n }\n"], ["\n background-color: ", ";\n border: 1px solid ", ";\n color: ", ";\n box-shadow: 0px 0px 0px ", ";\n\n :hover {\n box-shadow: 0px 2px 2px ", ";\n background-color: ", ";\n border-color: ", ";\n }\n\n :focus,\n :active {\n ", "\n }\n\n :disabled {\n color: ", ";\n box-shadow: 0px 0px 0px ", ";\n border-color: ", ";\n background-color: ", ";\n }\n"])), function (props) { return props.theme.colors.systemShade10; }, function (props) { return props.theme.colors.systemShade30; }, function (props) { return props.theme.colors.brandShade100; }, function (props) { return props.theme.colors.brandShade40; }, function (props) { return props.theme.colors.brandShade40; }, function (props) { return props.theme.colors.brandShade20; }, function (props) { return props.theme.colors.brandShade100; }, exports.tertiaryActive, function (props) { return props.theme.colors.grey40; }, function (props) { return props.theme.colors.brandShade40; }, function (props) { return props.theme.colors.grey20; }, function (props) { return props.theme.colors.grey5; });
27
- exports.dangerPrimaryActive = (0, styled_components_1.css)(templateObject_17 || (templateObject_17 = (0, tslib_1.__makeTemplateObject)(["\n background-color: ", ";\n border: 1px solid ", ";\n box-shadow: 0px 0px 0px ", ";\n"], ["\n background-color: ", ";\n border: 1px solid ", ";\n box-shadow: 0px 0px 0px ", ";\n"])), function (props) { return props.theme.colors.red100; }, function (props) { return props.theme.colors.red100; }, function (props) { return props.theme.colors.brandShade40; });
28
- exports.dangerPrimary = (0, styled_components_1.css)(templateObject_18 || (templateObject_18 = (0, tslib_1.__makeTemplateObject)(["\n :hover {\n background-color: ", ";\n border: 1px solid ", ";\n }\n\n :focus,\n :active {\n ", "\n }\n"], ["\n :hover {\n background-color: ", ";\n border: 1px solid ", ";\n }\n\n :focus,\n :active {\n ", "\n }\n"])), function (props) { return props.theme.colors.red100; }, function (props) { return props.theme.colors.red100; }, exports.dangerPrimaryActive);
29
- exports.dangerSecondaryTeritaryActive = (0, styled_components_1.css)(templateObject_19 || (templateObject_19 = (0, tslib_1.__makeTemplateObject)(["\n color: ", ";\n background-color: ", ";\n border: 1px solid ", ";\n box-shadow: 0px 0px 0px ", ";\n"], ["\n color: ", ";\n background-color: ", ";\n border: 1px solid ", ";\n box-shadow: 0px 0px 0px ", ";\n"])), function (props) { return props.theme.colors.red100; }, function (props) { return props.theme.colors.red40; }, function (props) { return props.theme.colors.red100; }, function (props) { return props.theme.colors.brandShade40; });
30
- exports.dangerSecondaryTertiary = (0, styled_components_1.css)(templateObject_20 || (templateObject_20 = (0, tslib_1.__makeTemplateObject)(["\n :focus {\n outline: none;\n background-color: ", ";\n box-shadow: 0px 2px 2px ", ";\n border: 1px solid ", ";\n }\n\n :active {\n ", "\n }\n\n :hover {\n color: ", ";\n background-color: ", ";\n border: 1px solid ", ";\n }\n"], ["\n :focus {\n outline: none;\n background-color: ", ";\n box-shadow: 0px 2px 2px ", ";\n border: 1px solid ", ";\n }\n\n :active {\n ", "\n }\n\n :hover {\n color: ", ";\n background-color: ", ";\n border: 1px solid ", ";\n }\n"])), function (props) { return props.theme.colors.white; }, function (props) { return props.theme.colors.brandShade40; }, function (props) { return props.theme.colors.grey20; }, exports.dangerSecondaryTeritaryActive, function (props) { return props.theme.colors.red100; }, function (props) { return props.theme.colors.red20; }, function (props) { return props.theme.colors.red100; });
31
- var primaryDisabled = (0, styled_components_1.css)(templateObject_21 || (templateObject_21 = (0, tslib_1.__makeTemplateObject)(["\n border: 1px solid ", ";\n box-shadow: 0px 0px 0px ", ";\n background-color: ", ";\n cursor: not-allowed;\n"], ["\n border: 1px solid ", ";\n box-shadow: 0px 0px 0px ", ";\n background-color: ", ";\n cursor: not-allowed;\n"])), function (props) { return props.theme.colors.grey20; }, function (props) { return props.theme.colors.brandShade40; }, function (props) { return props.theme.colors.grey20; });
32
- var secondaryDisabled = (0, styled_components_1.css)(templateObject_22 || (templateObject_22 = (0, tslib_1.__makeTemplateObject)(["\n color: ", ";\n box-shadow: 0px 0px 0px ", ";\n border-color: ", ";\n background-color: ", ";\n cursor: not-allowed;\n"], ["\n color: ", ";\n box-shadow: 0px 0px 0px ", ";\n border-color: ", ";\n background-color: ", ";\n cursor: not-allowed;\n"])), function (props) { return props.theme.colors.grey40; }, function (props) { return props.theme.colors.brandShade40; }, function (props) { return props.theme.colors.grey20; }, function (props) { return props.theme.colors.grey5; });
33
- var tertiaryDisabled = (0, styled_components_1.css)(templateObject_23 || (templateObject_23 = (0, tslib_1.__makeTemplateObject)(["\n color: ", ";\n box-shadow: 0px 0px 0px ", ";\n border-color: ", ";\n background-color: ", ";\n cursor: not-allowed;\n"], ["\n color: ", ";\n box-shadow: 0px 0px 0px ", ";\n border-color: ", ";\n background-color: ", ";\n cursor: not-allowed;\n"])), function (props) { return props.theme.colors.grey40; }, function (props) { return props.theme.colors.brandShade40; }, function (props) { return props.theme.colors.grey20; }, function (props) { return props.theme.colors.grey5; });
34
- var buttonMinimalDisabled = (0, styled_components_1.css)(templateObject_24 || (templateObject_24 = (0, tslib_1.__makeTemplateObject)(["\n background: none;\n color: ", ";\n border: none;\n border-bottom: 1px solid ", ";\n :active,\n :hover,\n :focus {\n background: none;\n color: ", ";\n border: none;\n border-bottom: 1px solid ", ";\n cursor: not-allowed;\n }\n"], ["\n background: none;\n color: ", ";\n border: none;\n border-bottom: 1px solid ", ";\n :active,\n :hover,\n :focus {\n background: none;\n color: ", ";\n border: none;\n border-bottom: 1px solid ", ";\n cursor: not-allowed;\n }\n"])), function (_a) {
35
- var theme = _a.theme;
36
- return theme.colors.grey20;
37
- }, function (_a) {
38
- var theme = _a.theme;
39
- return theme.colors.grey20;
40
- }, function (_a) {
31
+ // Tertiary ---------
32
+ exports.tertiaryActive = (0, styled_components_1.css)(templateObject_15 || (templateObject_15 = (0, tslib_1.__makeTemplateObject)(["\n border-color: ", ";\n background-color: ", ";\n color: ", ";\n"], ["\n border-color: ", ";\n background-color: ", ";\n color: ", ";\n"])), function (props) { return props.theme.colors.brandShade100; }, function (props) { return props.theme.colors.systemShade30; }, function (props) { return props.theme.colors.brandShade100; });
33
+ exports.buttonTertiaryBase = (0, styled_components_1.css)(templateObject_16 || (templateObject_16 = (0, tslib_1.__makeTemplateObject)(["\n background-color: ", ";\n border: 1px solid ", ";\n color: ", ";\n\n :hover {\n background-color: ", ";\n border-color: ", ";\n color: ", ";\n }\n\n :focus,\n :active {\n ", "\n }\n\n :disabled {\n color: ", ";\n border-color: ", ";\n background-color: ", ";\n }\n"], ["\n background-color: ", ";\n border: 1px solid ", ";\n color: ", ";\n\n :hover {\n background-color: ", ";\n border-color: ", ";\n color: ", ";\n }\n\n :focus,\n :active {\n ", "\n }\n\n :disabled {\n color: ", ";\n border-color: ", ";\n background-color: ", ";\n }\n"])), function (props) { return props.theme.colors.systemShade10; }, function (props) { return props.theme.colors.systemShade40; }, function (props) { return props.theme.colors.systemShade80; }, function (props) { return props.theme.colors.brandShade20; }, function (props) { return props.theme.colors.brandShade80; }, function (props) { return props.theme.colors.systemShade80; }, exports.tertiaryActive, function (props) { return props.theme.colors.systemShade40; }, function (props) { return props.theme.colors.systemShade30; }, function (props) { return props.theme.colors.systemShade10; });
34
+ // Minimal ---------
35
+ var buttonMinimalDisabled = (0, styled_components_1.css)(templateObject_17 || (templateObject_17 = (0, tslib_1.__makeTemplateObject)(["\n background: none;\n color: ", ";\n border: none;\n :active,\n :hover,\n :focus {\n background: none;\n color: ", ";\n border: none;\n cursor: not-allowed;\n }\n"], ["\n background: none;\n color: ", ";\n border: none;\n :active,\n :hover,\n :focus {\n background: none;\n color: ", ";\n border: none;\n cursor: not-allowed;\n }\n"])), function (_a) {
41
36
  var theme = _a.theme;
42
37
  return theme.colors.grey20;
43
38
  }, function (_a) {
44
39
  var theme = _a.theme;
45
40
  return theme.colors.grey20;
46
41
  });
47
- exports.buttonMinimal = (0, styled_components_1.css)(templateObject_25 || (templateObject_25 = (0, tslib_1.__makeTemplateObject)(["\n background: none;\n border: none;\n box-shadow: none;\n border-radius: 0;\n border-bottom: 1px solid ", ";\n color: ", ";\n padding-left: 2px;\n padding-right: 2px;\n ", "\n\n :active, :hover, :focus {\n background: none;\n color: ", ";\n border: none;\n border-bottom: 1px solid ", ";\n }\n\n :disabled {\n ", "\n }\n"], ["\n background: none;\n border: none;\n box-shadow: none;\n border-radius: 0;\n border-bottom: 1px solid ", ";\n color: ", ";\n padding-left: 2px;\n padding-right: 2px;\n ", "\n\n :active, :hover, :focus {\n background: none;\n color: ", ";\n border: none;\n border-bottom: 1px solid ", ";\n }\n\n :disabled {\n ", "\n }\n"])), function (_a) {
48
- var theme = _a.theme;
49
- return theme.colors.grey40;
50
- }, function (_a) {
42
+ exports.buttonMinimal = (0, styled_components_1.css)(templateObject_18 || (templateObject_18 = (0, tslib_1.__makeTemplateObject)(["\n background: none;\n border: none;\n box-shadow: none;\n border-radius: 0;\n color: ", ";\n padding-left: 2px;\n padding-right: 2px;\n ", "\n\n :active, :hover, :focus {\n background: none;\n color: ", ";\n border: none;\n }\n\n :disabled {\n ", "\n }\n"], ["\n background: none;\n border: none;\n box-shadow: none;\n border-radius: 0;\n color: ", ";\n padding-left: 2px;\n padding-right: 2px;\n ", "\n\n :active, :hover, :focus {\n background: none;\n color: ", ";\n border: none;\n }\n\n :disabled {\n ", "\n }\n"])), function (_a) {
51
43
  var theme = _a.theme;
52
44
  return theme.colors.grey40;
53
45
  }, Typography_1.headingStyles.h5, function (_a) {
54
46
  var theme = _a.theme;
55
47
  return theme.colors.brandPrimary;
48
+ }, buttonMinimalDisabled);
49
+ // MinimalUnderline
50
+ exports.buttonMinimalUnderline = (0, styled_components_1.css)(templateObject_19 || (templateObject_19 = (0, tslib_1.__makeTemplateObject)(["\n ", "\n\n border-bottom: 1px solid ", ";\n\n :disabled {\n border-bottom: 1px solid ", ";\n }\n\n :hover,\n :active,\n :focus {\n border-bottom: 1px solid ", ";\n }\n"], ["\n ", "\n\n border-bottom: 1px solid ", ";\n\n :disabled {\n border-bottom: 1px solid ", ";\n }\n\n :hover,\n :active,\n :focus {\n border-bottom: 1px solid ", ";\n }\n"])), exports.buttonMinimal, function (_a) {
51
+ var theme = _a.theme;
52
+ return theme.colors.grey40;
53
+ }, function (_a) {
54
+ var theme = _a.theme;
55
+ return theme.colors.grey20;
56
56
  }, function (_a) {
57
57
  var theme = _a.theme;
58
58
  return theme.colors.brandPrimary;
59
- }, buttonMinimalDisabled);
60
- exports.buttonNoMinimalUnderline = (0, styled_components_1.css)(templateObject_26 || (templateObject_26 = (0, tslib_1.__makeTemplateObject)(["\n border-bottom: none;\n :hover,\n :active,\n :disabled,\n :focus {\n border-bottom: none !important;\n }\n"], ["\n border-bottom: none;\n :hover,\n :active,\n :disabled,\n :focus {\n border-bottom: none !important;\n }\n"])));
61
- exports.buttonFill = (0, styled_components_1.css)(templateObject_27 || (templateObject_27 = (0, tslib_1.__makeTemplateObject)(["\n width: 100%;\n & > * {\n flex: 1;\n }\n\n ", " {\n width: 100%;\n }\n"], ["\n width: 100%;\n & > * {\n flex: 1;\n }\n\n ", " {\n width: 100%;\n }\n"])), exports.ButtonText);
59
+ });
60
+ // minimalBLock
61
+ var minimalBlockActive = (0, styled_components_1.css)(templateObject_20 || (templateObject_20 = (0, tslib_1.__makeTemplateObject)(["\n color: ", ";\n background-color: ", ";\n border: none;\n box-shadow: none;\n &:hover {\n color: ", ";\n background-color: ", ";\n border: none;\n box-shadow: none;\n }\n"], ["\n color: ", ";\n background-color: ", ";\n border: none;\n box-shadow: none;\n &:hover {\n color: ", ";\n background-color: ", ";\n border: none;\n box-shadow: none;\n }\n"])), function (props) { return props.theme.colors.white; }, function (props) { return props.theme.colors.cyan100; }, function (props) { return props.theme.colors.white; }, function (props) { return props.theme.colors.cyan80; });
62
+ exports.minimalBLock = (0, styled_components_1.css)(templateObject_21 || (templateObject_21 = (0, tslib_1.__makeTemplateObject)(["\n padding: 0;\n height: 22px;\n min-height: 22px;\n max-height: 22px;\n min-width: 22px;\n max-width: 22px;\n width: 22px;\n color: ", ";\n background-color: transparent;\n border: none;\n box-shadow: none;\n border-radius: 4px;\n :hover {\n color: ", ";\n background-color: ", ";\n border: none;\n box-shadow: none;\n }\n :active {\n &:hover {\n color: ", ";\n background-color: ", ";\n border: none;\n box-shadow: none;\n }\n }\n :active,\n :focus {\n ", "\n }\n :disabled {\n background-color: ", ";\n color: ", ";\n border: none;\n box-shadow: none;\n }\n ", " {\n ", "\n }\n"], ["\n padding: 0;\n height: 22px;\n min-height: 22px;\n max-height: 22px;\n min-width: 22px;\n max-width: 22px;\n width: 22px;\n color: ", ";\n background-color: transparent;\n border: none;\n box-shadow: none;\n border-radius: 4px;\n :hover {\n color: ", ";\n background-color: ", ";\n border: none;\n box-shadow: none;\n }\n :active {\n &:hover {\n color: ", ";\n background-color: ", ";\n border: none;\n box-shadow: none;\n }\n }\n :active,\n :focus {\n ", "\n }\n :disabled {\n background-color: ", ";\n color: ", ";\n border: none;\n box-shadow: none;\n }\n ", " {\n ", "\n }\n"])), function (props) { return props.theme.colors.grey80; }, function (props) { return props.theme.colors.brandShade100; }, function (props) { return props.theme.colors.brandShade20; }, function (props) { return props.theme.colors.white; }, function (props) { return props.theme.colors.cyan80; }, minimalBlockActive, function (props) { return props.theme.colors.grey5; }, function (props) { return props.theme.colors.grey80; }, Icon_1.Icon, Typography_1.headingStyles.h0);
63
+ exports.dangerPrimaryActive = (0, styled_components_1.css)(templateObject_22 || (templateObject_22 = (0, tslib_1.__makeTemplateObject)(["\n outline: none;\n background-color: ", ";\n border: 1px solid ", ";\n box-shadow: 0px 0px 0px ", ";\n"], ["\n outline: none;\n background-color: ", ";\n border: 1px solid ", ";\n box-shadow: 0px 0px 0px ", ";\n"])), function (props) { return props.theme.colors.red100; }, function (props) { return props.theme.colors.red100; }, function (props) { return props.theme.colors.brandShade40; });
64
+ exports.dangerPrimary = (0, styled_components_1.css)(templateObject_23 || (templateObject_23 = (0, tslib_1.__makeTemplateObject)(["\n :hover {\n background-color: ", ";\n border: 1px solid ", ";\n }\n\n :focus,\n :active {\n ", "\n }\n"], ["\n :hover {\n background-color: ", ";\n border: 1px solid ", ";\n }\n\n :focus,\n :active {\n ", "\n }\n"])), function (props) { return props.theme.colors.red100; }, function (props) { return props.theme.colors.red100; }, exports.dangerPrimaryActive);
65
+ exports.dangerSecondaryTeritaryActive = (0, styled_components_1.css)(templateObject_24 || (templateObject_24 = (0, tslib_1.__makeTemplateObject)(["\n color: ", ";\n background-color: ", ";\n border: 1px solid ", ";\n box-shadow: 0px 0px 0px ", ";\n"], ["\n color: ", ";\n background-color: ", ";\n border: 1px solid ", ";\n box-shadow: 0px 0px 0px ", ";\n"])), function (props) { return props.theme.colors.red100; }, function (props) { return props.theme.colors.red40; }, function (props) { return props.theme.colors.red100; }, function (props) { return props.theme.colors.brandShade40; });
66
+ exports.dangerSecondaryTertiary = (0, styled_components_1.css)(templateObject_25 || (templateObject_25 = (0, tslib_1.__makeTemplateObject)(["\n :focus {\n outline: none;\n background-color: ", ";\n box-shadow: 0px 2px 2px ", ";\n border: 1px solid ", ";\n }\n\n :active {\n ", "\n }\n\n :hover {\n color: ", ";\n background-color: ", ";\n border: 1px solid ", ";\n }\n"], ["\n :focus {\n outline: none;\n background-color: ", ";\n box-shadow: 0px 2px 2px ", ";\n border: 1px solid ", ";\n }\n\n :active {\n ", "\n }\n\n :hover {\n color: ", ";\n background-color: ", ";\n border: 1px solid ", ";\n }\n"])), function (props) { return props.theme.colors.white; }, function (props) { return props.theme.colors.brandShade40; }, function (props) { return props.theme.colors.grey20; }, exports.dangerSecondaryTeritaryActive, function (props) { return props.theme.colors.red100; }, function (props) { return props.theme.colors.red20; }, function (props) { return props.theme.colors.red100; });
67
+ var primaryDisabled = (0, styled_components_1.css)(templateObject_26 || (templateObject_26 = (0, tslib_1.__makeTemplateObject)(["\n border: 1px solid ", ";\n box-shadow: 0px 0px 0px ", ";\n background-color: ", ";\n cursor: not-allowed;\n"], ["\n border: 1px solid ", ";\n box-shadow: 0px 0px 0px ", ";\n background-color: ", ";\n cursor: not-allowed;\n"])), function (props) { return props.theme.colors.grey20; }, function (props) { return props.theme.colors.brandShade40; }, function (props) { return props.theme.colors.grey20; });
68
+ var secondaryDisabled = (0, styled_components_1.css)(templateObject_27 || (templateObject_27 = (0, tslib_1.__makeTemplateObject)(["\n color: ", ";\n box-shadow: 0px 0px 0px ", ";\n border-color: ", ";\n background-color: ", ";\n cursor: not-allowed;\n"], ["\n color: ", ";\n box-shadow: 0px 0px 0px ", ";\n border-color: ", ";\n background-color: ", ";\n cursor: not-allowed;\n"])), function (props) { return props.theme.colors.grey40; }, function (props) { return props.theme.colors.brandShade40; }, function (props) { return props.theme.colors.grey20; }, function (props) { return props.theme.colors.grey5; });
69
+ var tertiaryDisabled = (0, styled_components_1.css)(templateObject_28 || (templateObject_28 = (0, tslib_1.__makeTemplateObject)(["\n color: ", ";\n box-shadow: 0px 0px 0px ", ";\n border-color: ", ";\n background-color: ", ";\n cursor: not-allowed;\n"], ["\n color: ", ";\n box-shadow: 0px 0px 0px ", ";\n border-color: ", ";\n background-color: ", ";\n cursor: not-allowed;\n"])), function (props) { return props.theme.colors.grey40; }, function (props) { return props.theme.colors.brandShade40; }, function (props) { return props.theme.colors.grey20; }, function (props) { return props.theme.colors.grey5; });
70
+ exports.buttonFill = (0, styled_components_1.css)(templateObject_29 || (templateObject_29 = (0, tslib_1.__makeTemplateObject)(["\n width: 100%;\n & > * {\n flex: 1;\n }\n\n ", " {\n width: 100%;\n }\n"], ["\n width: 100%;\n & > * {\n flex: 1;\n }\n\n ", " {\n width: 100%;\n }\n"])), exports.ButtonText);
62
71
  function getIntentBase(props) {
63
72
  switch (props.intent) {
64
73
  case undefined:
@@ -68,6 +77,12 @@ function getIntentBase(props) {
68
77
  return exports.buttonSecondaryBase;
69
78
  case "tertiary":
70
79
  return exports.buttonTertiaryBase;
80
+ case "minimal":
81
+ return exports.buttonMinimal;
82
+ case "minimalUnderline":
83
+ return exports.buttonMinimalUnderline;
84
+ case "minimalBlock":
85
+ return exports.minimalBLock;
71
86
  }
72
87
  }
73
88
  exports.getIntentBase = getIntentBase;
@@ -101,6 +116,8 @@ function getActiveIntent(props) {
101
116
  return exports.secondaryActive;
102
117
  case "tertiary":
103
118
  return exports.tertiaryActive;
119
+ case "minimalBlock":
120
+ return minimalBlockActive;
104
121
  }
105
122
  }
106
123
  exports.getActiveIntent = getActiveIntent;
@@ -116,23 +133,26 @@ var getDisabledIntent = function (props) {
116
133
  return secondaryDisabled;
117
134
  case "tertiary":
118
135
  return tertiaryDisabled;
136
+ case "minimal":
137
+ case "minimalUnderline":
138
+ return buttonMinimalDisabled;
119
139
  }
120
140
  };
121
141
  exports.getDisabledIntent = getDisabledIntent;
122
- exports.ButtonLoaderContainer = styled_components_1.default.div.attrs((0, utils_1.dpNameProp)("ButtonLoader"))(templateObject_28 || (templateObject_28 = (0, tslib_1.__makeTemplateObject)(["\n position: absolute;\n display: flex;\n align-items: center;\n justify-content: center;\n top: 0;\n bottom: 0;\n left: 0;\n right: 0;\n color: ", ";\n margin: 0 !important;\n opacity: 0.8;\n"], ["\n position: absolute;\n display: flex;\n align-items: center;\n justify-content: center;\n top: 0;\n bottom: 0;\n left: 0;\n right: 0;\n color: ", ";\n margin: 0 !important;\n opacity: 0.8;\n"])), function (props) { return props.theme.colors.brandPrimary; });
123
- exports.buttonLoading = (0, styled_components_1.css)(templateObject_29 || (templateObject_29 = (0, tslib_1.__makeTemplateObject)(["\n &,\n :hover,\n :active,\n :focus {\n background-color: ", " !important;\n color: transparent !important;\n border-color: ", " !important;\n box-shadow: none !important;\n }\n"], ["\n &,\n :hover,\n :active,\n :focus {\n background-color: ", " !important;\n color: transparent !important;\n border-color: ", " !important;\n box-shadow: none !important;\n }\n"])), function (props) { return props.theme.colors.grey10; }, function (props) { return props.theme.colors.grey10; });
124
- exports.navButtonBase = (0, styled_components_1.css)(templateObject_30 || (templateObject_30 = (0, tslib_1.__makeTemplateObject)(["\n position: relative;\n transition: all 0.1s ease-in-out;\n display: inline-flex;\n flex-direction: column;\n border: none;\n border-radius: 4px;\n cursor: pointer;\n padding: 4px 8px;\n vertical-align: middle;\n height: 55px;\n width: 90px;\n overflow: hidden;\n align-items: center;\n justify-content: center;\n\n & > :not(:last-child) {\n margin-bottom: 4px;\n }\n\n :disabled {\n cursor: not-allowed;\n }\n\n > * {\n flex: 0;\n }\n\n ", " {\n font-size: 20px;\n flex: 0 0 auto;\n }\n\n ", " {\n ", "\n flex: 0 1 auto;\n text-overflow: ellipsis;\n overflow: hidden;\n white-space: nowrap;\n }\n"], ["\n position: relative;\n transition: all 0.1s ease-in-out;\n display: inline-flex;\n flex-direction: column;\n border: none;\n border-radius: 4px;\n cursor: pointer;\n padding: 4px 8px;\n vertical-align: middle;\n height: 55px;\n width: 90px;\n overflow: hidden;\n align-items: center;\n justify-content: center;\n\n & > :not(:last-child) {\n margin-bottom: 4px;\n }\n\n :disabled {\n cursor: not-allowed;\n }\n\n > * {\n flex: 0;\n }\n\n ", " {\n font-size: 20px;\n flex: 0 0 auto;\n }\n\n ", " {\n ", "\n flex: 0 1 auto;\n text-overflow: ellipsis;\n overflow: hidden;\n white-space: nowrap;\n }\n"])), Icon_1.Icon, exports.ButtonText, Typography_1.paragraphStyled.p8);
125
- exports.navButtonSmall = (0, styled_components_1.css)(templateObject_31 || (templateObject_31 = (0, tslib_1.__makeTemplateObject)(["\n height: 50px;\n width: 60px;\n min-height: 50px;\n min-width: 60px;\n"], ["\n height: 50px;\n width: 60px;\n min-height: 50px;\n min-width: 60px;\n"])));
126
- exports.TestOverlayButtonWrapper = styled_components_1.default.div(templateObject_32 || (templateObject_32 = (0, tslib_1.__makeTemplateObject)(["\n background-color: #eeeeee;\n height: 50px;\n position: ", ";\n width: 100px;\n"], ["\n background-color: #eeeeee;\n height: 50px;\n position: ", ";\n width: 100px;\n"])), function (_a) {
142
+ exports.ButtonLoaderContainer = styled_components_1.default.div.attrs((0, utils_1.dpNameProp)("ButtonLoader"))(templateObject_30 || (templateObject_30 = (0, tslib_1.__makeTemplateObject)(["\n position: absolute;\n display: flex;\n align-items: center;\n justify-content: center;\n top: 0;\n bottom: 0;\n left: 0;\n right: 0;\n color: ", ";\n margin: 0 !important;\n opacity: 0.8;\n"], ["\n position: absolute;\n display: flex;\n align-items: center;\n justify-content: center;\n top: 0;\n bottom: 0;\n left: 0;\n right: 0;\n color: ", ";\n margin: 0 !important;\n opacity: 0.8;\n"])), function (props) { return props.theme.colors.brandPrimary; });
143
+ exports.buttonLoading = (0, styled_components_1.css)(templateObject_31 || (templateObject_31 = (0, tslib_1.__makeTemplateObject)(["\n &,\n :hover,\n :active,\n :focus {\n background-color: ", " !important;\n color: transparent !important;\n border-color: ", " !important;\n box-shadow: none !important;\n }\n"], ["\n &,\n :hover,\n :active,\n :focus {\n background-color: ", " !important;\n color: transparent !important;\n border-color: ", " !important;\n box-shadow: none !important;\n }\n"])), function (props) { return props.theme.colors.grey10; }, function (props) { return props.theme.colors.grey10; });
144
+ exports.navButtonBase = (0, styled_components_1.css)(templateObject_32 || (templateObject_32 = (0, tslib_1.__makeTemplateObject)(["\n position: relative;\n transition: all 0.1s ease-in-out;\n display: inline-flex;\n flex-direction: column;\n border: none;\n border-radius: 4px;\n cursor: pointer;\n padding: 4px 8px;\n vertical-align: middle;\n height: 55px;\n width: 90px;\n overflow: hidden;\n align-items: center;\n justify-content: center;\n\n & > :not(:last-child) {\n margin-bottom: 4px;\n }\n\n :disabled {\n cursor: not-allowed;\n }\n\n > * {\n flex: 0;\n }\n\n ", " {\n font-size: 20px;\n flex: 0 0 auto;\n }\n\n ", " {\n ", "\n flex: 0 1 auto;\n text-overflow: ellipsis;\n overflow: hidden;\n white-space: nowrap;\n }\n"], ["\n position: relative;\n transition: all 0.1s ease-in-out;\n display: inline-flex;\n flex-direction: column;\n border: none;\n border-radius: 4px;\n cursor: pointer;\n padding: 4px 8px;\n vertical-align: middle;\n height: 55px;\n width: 90px;\n overflow: hidden;\n align-items: center;\n justify-content: center;\n\n & > :not(:last-child) {\n margin-bottom: 4px;\n }\n\n :disabled {\n cursor: not-allowed;\n }\n\n > * {\n flex: 0;\n }\n\n ", " {\n font-size: 20px;\n flex: 0 0 auto;\n }\n\n ", " {\n ", "\n flex: 0 1 auto;\n text-overflow: ellipsis;\n overflow: hidden;\n white-space: nowrap;\n }\n"])), Icon_1.Icon, exports.ButtonText, Typography_1.paragraphStyled.p8);
145
+ exports.navButtonSmall = (0, styled_components_1.css)(templateObject_33 || (templateObject_33 = (0, tslib_1.__makeTemplateObject)(["\n height: 50px;\n width: 60px;\n min-height: 50px;\n min-width: 60px;\n"], ["\n height: 50px;\n width: 60px;\n min-height: 50px;\n min-width: 60px;\n"])));
146
+ exports.TestOverlayButtonWrapper = styled_components_1.default.div(templateObject_34 || (templateObject_34 = (0, tslib_1.__makeTemplateObject)(["\n background-color: #eeeeee;\n height: 50px;\n position: ", ";\n width: 100px;\n"], ["\n background-color: #eeeeee;\n height: 50px;\n position: ", ";\n width: 100px;\n"])), function (_a) {
127
147
  var position = _a.position;
128
148
  return (position ? position : "unset");
129
149
  });
130
- exports.overlayButtonStyle = (0, styled_components_1.css)(templateObject_33 || (templateObject_33 = (0, tslib_1.__makeTemplateObject)(["\n transition: color 0.2s ease-in-out, border-color 0.2s ease-in-out,\n background-color 0.2s ease-in-out, fill 0.2s ease-in-out;\n align-items: center;\n background-color: ", ";\n\n cursor: pointer;\n display: flex;\n justify-content: center;\n min-width: 25px;\n height: 22px;\n border-color: ", ";\n border-style: solid;\n color: ", ";\n\n &:hover {\n color: ", ";\n background-color: ", ";\n border-color: ", ";\n\n ", " {\n color: ", ";\n }\n }\n\n &:active {\n color: ", ";\n border-color: ", ";\n background-color: ", ";\n box-shadow: 0px 0px 0px ", ";\n\n ", " {\n color: ", ";\n }\n }\n\n & > :not(:last-child) {\n margin-right: 7px;\n }\n"], ["\n transition: color 0.2s ease-in-out, border-color 0.2s ease-in-out,\n background-color 0.2s ease-in-out, fill 0.2s ease-in-out;\n align-items: center;\n background-color: ", ";\n\n cursor: pointer;\n display: flex;\n justify-content: center;\n min-width: 25px;\n height: 22px;\n border-color: ", ";\n border-style: solid;\n color: ", ";\n\n &:hover {\n color: ", ";\n background-color: ", ";\n border-color: ", ";\n\n ", " {\n color: ", ";\n }\n }\n\n &:active {\n color: ", ";\n border-color: ", ";\n background-color: ", ";\n box-shadow: 0px 0px 0px ", ";\n\n ", " {\n color: ", ";\n }\n }\n\n & > :not(:last-child) {\n margin-right: 7px;\n }\n"])), function (props) { return props.theme.colors.white; }, function (props) { return props.theme.colors.grey40; }, function (props) { return props.theme.colors.grey80; }, function (props) { return props.theme.colors.brandShade100; }, function (props) { return props.theme.colors.brandShade10; }, function (props) { return props.theme.colors.brandShade100; }, Icon_1.Icon, function (props) { return props.theme.colors.brandShade100; }, function (props) { return props.theme.colors.brandShade100; }, function (props) { return props.theme.colors.brandShade100; }, function (props) { return props.theme.colors.brandShade40; }, function (props) { return props.theme.colors.brandShade40; }, Icon_1.Icon, function (props) { return props.theme.colors.brandShade100; });
131
- exports.overlayButtonRightTop = (0, styled_components_1.css)(templateObject_34 || (templateObject_34 = (0, tslib_1.__makeTemplateObject)(["\n border-bottom-left-radius: 5px;\n border-bottom-width: 1px;\n border-left-width: 1px;\n\n border-top: 0;\n border-right: 0;\n top: 0;\n right: 0;\n"], ["\n border-bottom-left-radius: 5px;\n border-bottom-width: 1px;\n border-left-width: 1px;\n\n border-top: 0;\n border-right: 0;\n top: 0;\n right: 0;\n"])));
132
- exports.overlayButtonRightBottom = (0, styled_components_1.css)(templateObject_35 || (templateObject_35 = (0, tslib_1.__makeTemplateObject)(["\n border-top-left-radius: 5px;\n border-top-width: 1px;\n border-left-width: 1px;\n border-bottom: 0;\n border-right: 0;\n bottom: 0;\n right: 0;\n"], ["\n border-top-left-radius: 5px;\n border-top-width: 1px;\n border-left-width: 1px;\n border-bottom: 0;\n border-right: 0;\n bottom: 0;\n right: 0;\n"])));
133
- exports.overlayButtonLeftTop = (0, styled_components_1.css)(templateObject_36 || (templateObject_36 = (0, tslib_1.__makeTemplateObject)(["\n border-bottom-right-radius: 5px;\n border-bottom-width: 1px;\n border-right-width: 1px;\n border-left: 0;\n border-top: 0;\n top: 0;\n left: 0;\n"], ["\n border-bottom-right-radius: 5px;\n border-bottom-width: 1px;\n border-right-width: 1px;\n border-left: 0;\n border-top: 0;\n top: 0;\n left: 0;\n"])));
134
- exports.overlayButtonLeftBottom = (0, styled_components_1.css)(templateObject_37 || (templateObject_37 = (0, tslib_1.__makeTemplateObject)(["\n border-top-right-radius: 5px;\n border-top-width: 1px;\n border-right-width: 1px;\n border-left: 0;\n border-bottom: 0;\n top: 0;\n left: 0;\n"], ["\n border-top-right-radius: 5px;\n border-top-width: 1px;\n border-right-width: 1px;\n border-left: 0;\n border-bottom: 0;\n top: 0;\n left: 0;\n"])));
135
- exports.overlayButtonMiddleBottom = (0, styled_components_1.css)(templateObject_38 || (templateObject_38 = (0, tslib_1.__makeTemplateObject)(["\n border-radius: 5px;\n border-width: 1px;\n bottom: 10px;\n left: 50%;\n transform: translateX(-50%);\n white-space: nowrap;\n"], ["\n border-radius: 5px;\n border-width: 1px;\n bottom: 10px;\n left: 50%;\n transform: translateX(-50%);\n white-space: nowrap;\n"])));
136
- exports.overlayButtonMiddleTop = (0, styled_components_1.css)(templateObject_39 || (templateObject_39 = (0, tslib_1.__makeTemplateObject)(["\n border-bottom-left-radius: 5px;\n border-bottom-right-radius: 5px;\n border-bottom-width: 1px;\n border-right-width: 1px;\n border-left-width: 1px;\n border-top: 0;\n top: 0;\n left: 0;\n right: 0;\n margin-left: auto;\n margin-right: auto;\n"], ["\n border-bottom-left-radius: 5px;\n border-bottom-right-radius: 5px;\n border-bottom-width: 1px;\n border-right-width: 1px;\n border-left-width: 1px;\n border-top: 0;\n top: 0;\n left: 0;\n right: 0;\n margin-left: auto;\n margin-right: auto;\n"])));
137
- exports.buttonIconSubsection = (0, styled_components_1.css)(templateObject_40 || (templateObject_40 = (0, tslib_1.__makeTemplateObject)(["\n min-width: 18px;\n width: 18px;\n ", " {\n width: 12px;\n height: 12px;\n }\n"], ["\n min-width: 18px;\n width: 18px;\n ", " {\n width: 12px;\n height: 12px;\n }\n"])), Icon_1.Icon);
138
- var templateObject_1, templateObject_2, templateObject_3, templateObject_4, templateObject_5, templateObject_6, templateObject_7, templateObject_8, templateObject_9, templateObject_10, templateObject_11, templateObject_12, templateObject_13, templateObject_14, templateObject_15, templateObject_16, templateObject_17, templateObject_18, templateObject_19, templateObject_20, templateObject_21, templateObject_22, templateObject_23, templateObject_24, templateObject_25, templateObject_26, templateObject_27, templateObject_28, templateObject_29, templateObject_30, templateObject_31, templateObject_32, templateObject_33, templateObject_34, templateObject_35, templateObject_36, templateObject_37, templateObject_38, templateObject_39, templateObject_40;
150
+ exports.overlayButtonStyle = (0, styled_components_1.css)(templateObject_35 || (templateObject_35 = (0, tslib_1.__makeTemplateObject)(["\n transition: color 0.2s ease-in-out, border-color 0.2s ease-in-out,\n background-color 0.2s ease-in-out, fill 0.2s ease-in-out;\n align-items: center;\n background-color: ", ";\n\n cursor: pointer;\n display: flex;\n justify-content: center;\n min-width: 25px;\n height: 22px;\n border-color: ", ";\n border-style: solid;\n color: ", ";\n\n &:hover {\n color: ", ";\n background-color: ", ";\n border-color: ", ";\n\n ", " {\n color: ", ";\n }\n }\n\n &:active {\n color: ", ";\n border-color: ", ";\n background-color: ", ";\n box-shadow: 0px 0px 0px ", ";\n\n ", " {\n color: ", ";\n }\n }\n\n & > :not(:last-child) {\n margin-right: 7px;\n }\n"], ["\n transition: color 0.2s ease-in-out, border-color 0.2s ease-in-out,\n background-color 0.2s ease-in-out, fill 0.2s ease-in-out;\n align-items: center;\n background-color: ", ";\n\n cursor: pointer;\n display: flex;\n justify-content: center;\n min-width: 25px;\n height: 22px;\n border-color: ", ";\n border-style: solid;\n color: ", ";\n\n &:hover {\n color: ", ";\n background-color: ", ";\n border-color: ", ";\n\n ", " {\n color: ", ";\n }\n }\n\n &:active {\n color: ", ";\n border-color: ", ";\n background-color: ", ";\n box-shadow: 0px 0px 0px ", ";\n\n ", " {\n color: ", ";\n }\n }\n\n & > :not(:last-child) {\n margin-right: 7px;\n }\n"])), function (props) { return props.theme.colors.white; }, function (props) { return props.theme.colors.grey40; }, function (props) { return props.theme.colors.grey80; }, function (props) { return props.theme.colors.brandShade100; }, function (props) { return props.theme.colors.brandShade10; }, function (props) { return props.theme.colors.brandShade100; }, Icon_1.Icon, function (props) { return props.theme.colors.brandShade100; }, function (props) { return props.theme.colors.brandShade100; }, function (props) { return props.theme.colors.brandShade100; }, function (props) { return props.theme.colors.brandShade40; }, function (props) { return props.theme.colors.brandShade40; }, Icon_1.Icon, function (props) { return props.theme.colors.brandShade100; });
151
+ exports.overlayButtonRightTop = (0, styled_components_1.css)(templateObject_36 || (templateObject_36 = (0, tslib_1.__makeTemplateObject)(["\n border-bottom-left-radius: 5px;\n border-bottom-width: 1px;\n border-left-width: 1px;\n\n border-top: 0;\n border-right: 0;\n top: 0;\n right: 0;\n"], ["\n border-bottom-left-radius: 5px;\n border-bottom-width: 1px;\n border-left-width: 1px;\n\n border-top: 0;\n border-right: 0;\n top: 0;\n right: 0;\n"])));
152
+ exports.overlayButtonRightBottom = (0, styled_components_1.css)(templateObject_37 || (templateObject_37 = (0, tslib_1.__makeTemplateObject)(["\n border-top-left-radius: 5px;\n border-top-width: 1px;\n border-left-width: 1px;\n border-bottom: 0;\n border-right: 0;\n bottom: 0;\n right: 0;\n"], ["\n border-top-left-radius: 5px;\n border-top-width: 1px;\n border-left-width: 1px;\n border-bottom: 0;\n border-right: 0;\n bottom: 0;\n right: 0;\n"])));
153
+ exports.overlayButtonLeftTop = (0, styled_components_1.css)(templateObject_38 || (templateObject_38 = (0, tslib_1.__makeTemplateObject)(["\n border-bottom-right-radius: 5px;\n border-bottom-width: 1px;\n border-right-width: 1px;\n border-left: 0;\n border-top: 0;\n top: 0;\n left: 0;\n"], ["\n border-bottom-right-radius: 5px;\n border-bottom-width: 1px;\n border-right-width: 1px;\n border-left: 0;\n border-top: 0;\n top: 0;\n left: 0;\n"])));
154
+ exports.overlayButtonLeftBottom = (0, styled_components_1.css)(templateObject_39 || (templateObject_39 = (0, tslib_1.__makeTemplateObject)(["\n border-top-right-radius: 5px;\n border-top-width: 1px;\n border-right-width: 1px;\n border-left: 0;\n border-bottom: 0;\n top: 0;\n left: 0;\n"], ["\n border-top-right-radius: 5px;\n border-top-width: 1px;\n border-right-width: 1px;\n border-left: 0;\n border-bottom: 0;\n top: 0;\n left: 0;\n"])));
155
+ exports.overlayButtonMiddleBottom = (0, styled_components_1.css)(templateObject_40 || (templateObject_40 = (0, tslib_1.__makeTemplateObject)(["\n border-radius: 5px;\n border-width: 1px;\n bottom: 10px;\n left: 50%;\n transform: translateX(-50%);\n white-space: nowrap;\n"], ["\n border-radius: 5px;\n border-width: 1px;\n bottom: 10px;\n left: 50%;\n transform: translateX(-50%);\n white-space: nowrap;\n"])));
156
+ exports.overlayButtonMiddleTop = (0, styled_components_1.css)(templateObject_41 || (templateObject_41 = (0, tslib_1.__makeTemplateObject)(["\n border-bottom-left-radius: 5px;\n border-bottom-right-radius: 5px;\n border-bottom-width: 1px;\n border-right-width: 1px;\n border-left-width: 1px;\n border-top: 0;\n top: 0;\n left: 0;\n right: 0;\n margin-left: auto;\n margin-right: auto;\n"], ["\n border-bottom-left-radius: 5px;\n border-bottom-right-radius: 5px;\n border-bottom-width: 1px;\n border-right-width: 1px;\n border-left-width: 1px;\n border-top: 0;\n top: 0;\n left: 0;\n right: 0;\n margin-left: auto;\n margin-right: auto;\n"])));
157
+ exports.buttonIconSubsection = (0, styled_components_1.css)(templateObject_42 || (templateObject_42 = (0, tslib_1.__makeTemplateObject)(["\n min-width: 18px;\n width: 18px;\n ", " {\n width: 12px;\n height: 12px;\n }\n"], ["\n min-width: 18px;\n width: 18px;\n ", " {\n width: 12px;\n height: 12px;\n }\n"])), Icon_1.Icon);
158
+ var templateObject_1, templateObject_2, templateObject_3, templateObject_4, templateObject_5, templateObject_6, templateObject_7, templateObject_8, templateObject_9, templateObject_10, templateObject_11, templateObject_12, templateObject_13, templateObject_14, templateObject_15, templateObject_16, templateObject_17, templateObject_18, templateObject_19, templateObject_20, templateObject_21, templateObject_22, templateObject_23, templateObject_24, templateObject_25, templateObject_26, templateObject_27, templateObject_28, templateObject_29, templateObject_30, templateObject_31, templateObject_32, templateObject_33, templateObject_34, templateObject_35, templateObject_36, templateObject_37, templateObject_38, templateObject_39, templateObject_40, templateObject_41, templateObject_42;
@@ -4,11 +4,16 @@ import * as CSS from "csstype";
4
4
  import { AnyIcon, IconProps } from "../Icon";
5
5
  import { Maybe } from "../../common/types";
6
6
  import { ThemeColorKey } from "../../style/theme/types/themeColors";
7
- export declare type ButtonIntent = "primary" | "secondary" | "tertiary";
7
+ export declare type AllButtonIntents = "primary" | "secondary" | "tertiary" | "minimal" | "minimalUnderline" | "minimalBlock";
8
+ export declare type ButtonIntent = Exclude<AllButtonIntents, "minimalBlock">;
9
+ export declare type IconButtonIntent = Exclude<AllButtonIntents, "minimalUnderline">;
10
+ export declare type AnchorButtonIntent = ButtonIntent;
11
+ export declare type LabelButtonIntent = ButtonIntent;
12
+ export declare type NavButtonIntent = ButtonIntent;
8
13
  export declare type ButtonSize = "tiny" | "small" | "normal" | "large";
9
14
  export interface CommonButtonProps {
10
15
  /** default "primary" */
11
- intent?: ButtonIntent;
16
+ intent?: AllButtonIntents;
12
17
  /** take up the full width of a container - default false */
13
18
  fill?: boolean;
14
19
  /** default false */
@@ -27,25 +32,30 @@ export interface CommonButtonProps {
27
32
  loading?: boolean;
28
33
  /** Show active style - same style as when pressing down on a button */
29
34
  active?: boolean;
30
- /** For buttons with no styling eg Add+ text buttons and icon buttons */
35
+ /**
36
+ * @deprecated use intent prop / For buttons with no styling eg Add+ text buttons and icon buttons
37
+ */
31
38
  minimal?: boolean;
32
- /** Remove the underline styling that minimal button has */
39
+ /**
40
+ * @deprecated use intent prop / Remove the underline styling that minimal button has
41
+ */
33
42
  noMinimalUnderline?: boolean;
34
43
  /** Set size of icon 10px */
35
44
  iconSubsection?: boolean;
36
45
  }
37
46
  export declare type HTMLButtonProps = Omit<ButtonHTMLAttributes<HTMLButtonElement>, "children">;
38
- export declare type ButtonProps = HTMLButtonProps & CommonButtonProps;
39
- export declare type IconButtonProps = HTMLButtonProps & Omit<CommonButtonProps, "text" | "fill" | "alignText" | "icon"> & {
47
+ export declare type ButtonProps = HTMLButtonProps & Omit<CommonButtonProps, "intent"> & {
48
+ intent?: ButtonIntent;
49
+ };
50
+ export declare type IconButtonProps = HTMLButtonProps & Omit<CommonButtonProps, "text" | "fill" | "alignText" | "icon" | "intent"> & {
40
51
  icon: AnyIcon | IconProps | Maybe<JSX.Element>;
41
- minimal?: boolean;
52
+ intent?: IconButtonIntent;
42
53
  } & {
43
54
  themeColor?: ThemeColorKey;
44
55
  };
45
56
  declare type OverlayButtonPlacement = `${"right" | "left" | "middle"}-${"top" | "bottom"}`;
46
- export declare type OverlayButtonProps = HTMLButtonProps & Omit<CommonButtonProps, "rightIcon" | "fill" | "icon"> & {
57
+ export declare type OverlayButtonProps = HTMLButtonProps & Omit<CommonButtonProps, "rightIcon" | "fill" | "icon" | "size" | "minimal"> & {
47
58
  icon?: AnyIcon | IconProps | Maybe<JSX.Element>;
48
- minimal?: boolean;
49
59
  placement?: OverlayButtonPlacement;
50
60
  rightIcon?: AnyIcon | IconProps | Maybe<JSX.Element>;
51
61
  };
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/components/Button/types.ts"],"names":[],"mappings":";AAAA,OAAO,EACL,oBAAoB,EACpB,oBAAoB,EACpB,mBAAmB,EACnB,SAAS,E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E,OAAO,CAAC;CACnB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"ButtonGroup.d.ts","sourceRoot":"","sources":["../../../../src/components/ButtonGroup/ButtonGroup.tsx"],"names":[],"mappings":"AAIA,eAAO,MAAM,WAAW,wKAiBvB,CAAC"}
1
+ {"version":3,"file":"ButtonGroup.d.ts","sourceRoot":"","sources":["../../../../src/components/ButtonGroup/ButtonGroup.tsx"],"names":[],"mappings":"AAIA,eAAO,MAAM,WAAW,wKAkBvB,CAAC"}
@@ -5,5 +5,5 @@ var tslib_1 = require("tslib");
5
5
  var Button_1 = require("../Button");
6
6
  var styled_components_1 = (0, tslib_1.__importDefault)(require("styled-components"));
7
7
  var utils_1 = require("../../utils");
8
- exports.ButtonGroup = styled_components_1.default.div.attrs((0, utils_1.dpNameProp)("ButtonGroup"))(templateObject_1 || (templateObject_1 = (0, tslib_1.__makeTemplateObject)(["\n display: inline-flex;\n\n ", ", ", " {\n flex: 0 1 auto;\n position: relative;\n\n &:not(:last-child) {\n border-bottom-right-radius: 0%;\n border-top-right-radius: 0%;\n }\n\n &:not(:first-child) {\n border-bottom-left-radius: 0%;\n border-top-left-radius: 0%;\n }\n }\n"], ["\n display: inline-flex;\n\n ", ", ", " {\n flex: 0 1 auto;\n position: relative;\n\n &:not(:last-child) {\n border-bottom-right-radius: 0%;\n border-top-right-radius: 0%;\n }\n\n &:not(:first-child) {\n border-bottom-left-radius: 0%;\n border-top-left-radius: 0%;\n }\n }\n"])), Button_1.Button, Button_1.AnchorButton);
8
+ exports.ButtonGroup = styled_components_1.default.div.attrs((0, utils_1.dpNameProp)("ButtonGroup"))(templateObject_1 || (templateObject_1 = (0, tslib_1.__makeTemplateObject)(["\n display: inline-flex;\n\n ", ", ", " {\n flex: 0 1 auto;\n position: relative;\n\n &:not(:last-child) {\n border-bottom-right-radius: 0%;\n border-top-right-radius: 0%;\n }\n\n &:not(:first-child) {\n border-bottom-left-radius: 0%;\n border-top-left-radius: 0%;\n border-left: none;\n }\n }\n"], ["\n display: inline-flex;\n\n ", ", ", " {\n flex: 0 1 auto;\n position: relative;\n\n &:not(:last-child) {\n border-bottom-right-radius: 0%;\n border-top-right-radius: 0%;\n }\n\n &:not(:first-child) {\n border-bottom-left-radius: 0%;\n border-top-left-radius: 0%;\n border-left: none;\n }\n }\n"])), Button_1.Button, Button_1.AnchorButton);
9
9
  var templateObject_1;
@@ -1 +1 @@
1
- {"version":3,"file":"Checkbox.d.ts","sourceRoot":"","sources":["../../../../src/components/Checkbox/Checkbox.tsx"],"names":[],"mappings":";AACA,OAAO,EACL,aAAa,EACb,mBAAmB,EACnB,mBAAmB,EACnB,SAAS,EACV,MAAM,OAAO,CAAC;AA8Ef,aAAK,KAAK,GAAG;IACX,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,cAAc,CAAC,EAAE,aAAa,CAAC;IAC/B,UAAU,CAAC,EAAE,aAAa,CAAC;IAC3B,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,UAAU,CAAC,EAAE,mBAAmB,CAAC,gBAAgB,CAAC,CAAC;IACnD;wEACoE;IACpE,aAAa,CAAC,EAAE,OAAO,CAAC;CACzB,GAAG,mBAAmB,CAAC,gBAAgB,CAAC,CAAC;AAE1C,eAAO,MAAM,QAAQ,yIAalB,KAAK,gBAkCP,CAAC"}
1
+ {"version":3,"file":"Checkbox.d.ts","sourceRoot":"","sources":["../../../../src/components/Checkbox/Checkbox.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,aAAa,EAAE,mBAAmB,EAAE,mBAAmB,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AA6E3F,aAAK,KAAK,GAAG;IACX,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,cAAc,CAAC,EAAE,aAAa,CAAC;IAC/B,UAAU,CAAC,EAAE,aAAa,CAAC;IAC3B,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,UAAU,CAAC,EAAE,mBAAmB,CAAC,gBAAgB,CAAC,CAAC;IACnD;wEACoE;IACpE,aAAa,CAAC,EAAE,OAAO,CAAC;CACzB,GAAG,mBAAmB,CAAC,gBAAgB,CAAC,CAAC;AAE1C,eAAO,MAAM,QAAQ,yIAalB,KAAK,gBAkCP,CAAC"}
@@ -17,9 +17,7 @@ var StyledCheckbox = styled_components_1.default.span(templateObject_2 || (templ
17
17
  : props.checked
18
18
  ? props.theme.colors.brandPrimary
19
19
  : props.theme.colors.white;
20
- }, function (props) { return (props.disabled ? "not-allowed" : "pointer"); }, function (props) {
21
- return !props.checked && "solid 1px ".concat(props.theme.colors.grey20);
22
- }, function (props) { return props.size - 3; }, function (props) { return props.size - 3; }, function (_a) {
20
+ }, function (props) { return (props.disabled ? "not-allowed" : "pointer"); }, function (props) { return !props.checked && "solid 1px ".concat(props.theme.colors.grey20); }, function (props) { return props.size - 3; }, function (props) { return props.size - 3; }, function (_a) {
23
21
  var theme = _a.theme;
24
22
  return theme.colors.white;
25
23
  }, function (props) { return (props.checked ? "visible" : "hidden"); }, function (_a) {
@@ -1 +1 @@
1
- {"version":3,"file":"ColorInput.d.ts","sourceRoot":"","sources":["../../../../src/components/ColorInput/ColorInput.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAEL,mBAAmB,EAOpB,MAAM,OAAO,CAAC;AAGf,OAAO,EAAE,OAAO,EAAQ,SAAS,EAA0B,MAAM,SAAS,CAAC;AAc3E,OAAO,EAAE,SAAS,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AASnD,aAAK,KAAK,CAAC,CAAC,IAAI,CAAC,GAAG,IAAI,CAAC;AAEzB,oBAAY,eAAe,GAAG,mBAAmB,CAAC,gBAAgB,CAAC,GAAG;IACpE,SAAS,CAAC,EAAE,OAAO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CAAC;IAChB,eAAe,EAAE,OAAO,CAAC;IACzB,kBAAkB,EAAE,CAAC,KAAK,EAAE,OAAO,KAAK,IAAI,CAAC;CAC9C,CAAC;AAsBF,eAAO,MAAM,UAAU;;;IA5BrB,qBAAqB;;4BAEE,MAAM,KAAK,IAAI;;qBAErB,OAAO;gCACI,OAAO,KAAK,IAAI;gGA4I7C,CAAC;AAEF,eAAO,MAAM,qBAAqB;;;gGAiIjC,CAAC"}
@@ -33,8 +33,7 @@ exports.ColorInput = (0, styled_components_1.default)((0, react_1.forwardRef)(fu
33
33
  (0, react_1.useLayoutEffect)(function () {
34
34
  if (leftElementRef.current) {
35
35
  var clientWidth = leftElementRef.current.clientWidth;
36
- if (leftPadding === undefined ||
37
- Math.abs(clientWidth - leftPadding) > 2) {
36
+ if (leftPadding === undefined || Math.abs(clientWidth - leftPadding) > 2) {
38
37
  setLeftPadding(clientWidth);
39
38
  }
40
39
  }
@@ -43,8 +42,7 @@ exports.ColorInput = (0, styled_components_1.default)((0, react_1.forwardRef)(fu
43
42
  }
44
43
  if (rightElementRef.current) {
45
44
  var clientWidth = rightElementRef.current.clientWidth;
46
- if (rightPadding === undefined ||
47
- Math.abs(clientWidth - rightPadding) > 2) {
45
+ if (rightPadding === undefined || Math.abs(clientWidth - rightPadding) > 2) {
48
46
  setRightPadding(clientWidth);
49
47
  }
50
48
  }
@@ -99,8 +97,7 @@ exports.ColorInputWithDisplay = (0, styled_components_1.default)((0, react_1.for
99
97
  (0, react_1.useLayoutEffect)(function () {
100
98
  if (leftElementRef.current) {
101
99
  var clientWidth = leftElementRef.current.clientWidth;
102
- if (leftPadding === undefined ||
103
- Math.abs(clientWidth - leftPadding) > 2) {
100
+ if (leftPadding === undefined || Math.abs(clientWidth - leftPadding) > 2) {
104
101
  setLeftPadding(clientWidth);
105
102
  }
106
103
  }
@@ -109,8 +106,7 @@ exports.ColorInputWithDisplay = (0, styled_components_1.default)((0, react_1.for
109
106
  }
110
107
  if (rightElementRef.current) {
111
108
  var clientWidth = rightElementRef.current.clientWidth;
112
- if (rightPadding === undefined ||
113
- Math.abs(clientWidth - rightPadding) > 2) {
109
+ if (rightPadding === undefined || Math.abs(clientWidth - rightPadding) > 2) {
114
110
  setRightPadding(clientWidth);
115
111
  }
116
112
  }
@@ -1,4 +1,4 @@
1
1
  export type { DateTimePickerProps } from "react-flatpickr";
2
2
  export * from "./DatePicker";
3
- export { DatePickerInput, LabelAction as DatePickerLabelAction, } from "./styles";
3
+ export { DatePickerInput, LabelAction as DatePickerLabelAction } from "./styles";
4
4
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/DatePicker/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,mBAAmB,EAAE,MAAM,iBAAiB,CAAC;AAC3D,cAAc,cAAc,CAAC;AAC7B,OAAO,EACL,eAAe,EACf,WAAW,IAAI,qBAAqB,GACrC,MAAM,UAAU,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/DatePicker/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,mBAAmB,EAAE,MAAM,iBAAiB,CAAC;AAC3D,cAAc,cAAc,CAAC;AAC7B,OAAO,EAAE,eAAe,EAAE,WAAW,IAAI,qBAAqB,EAAE,MAAM,UAAU,CAAC"}
@@ -3,7 +3,7 @@ import { OverlayProps } from "../Overlay";
3
3
  import { ReactNode } from "react";
4
4
  import { AnyIcon } from "../Icon";
5
5
  import { LabelColorKeys } from "../../style/theme/types/standardLabelColors";
6
- declare type DialogSize = "medium" | "large" | "xLarge";
6
+ declare type DialogSize = "small" | "medium" | "large" | "xLarge";
7
7
  export interface DialogProps extends Except<OverlayProps, "scrollable"> {
8
8
  size?: DialogSize;
9
9
  zIndex?: number;
@@ -1 +1 @@
1
- {"version":3,"file":"Dialog.d.ts","sourceRoot":"","sources":["../../../../src/components/Dialog/Dialog.tsx"],"names":[],"mappings":"AAC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OAAO,GAAG,QAAQ,GAAG,OAAO,GAAG,QAAQ,CAAC;AAC1D,MAAM,WAAW,WAAY,SAAQ,MAAM,CAAC,YAAY,EAAE,YAAY,CAAC;IACrE,IAAI,CAAC,EAAE,UAAU,CAAC;IAClB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AA8BD;;;;;;;;GAQG;AACH,wBAAgB,MAAM,CAAC,EACrB,MAAM,EACN,oBAAoB,EACpB,WAAW,EACX,QAAQ,EACR,WAAW,EACX,cAAc,EACd,SAAS,EACT,IAAe,EACf,MAAM,GACP,EAAE,WAAW,GAAG,GAAG,CAAC,OAAO,CA2B3B;AAED,MAAM,WAAW,iBAAiB;IAChC,KAAK,EAAE,SAAS,CAAC;IACjB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,KAAK,CAAC,EAAE,cAAc,CAAC;CACxB;AAcD,wBAAgB,YAAY,CAAC,EAAE,KAAK,EAAE,IAAI,EAAE,KAAc,EAAE,EAAE,iBAAiB,eAiB9E"}
@@ -14,6 +14,7 @@ var utils_1 = require("../../utils");
14
14
  var DialogOverlayContainer = (0, styled_components_1.default)(framer_motion_1.motion.div)(templateObject_1 || (templateObject_1 = (0, tslib_1.__makeTemplateObject)(["\n display: flex;\n justify-content: center;\n align-items: center;\n min-height: 100%;\n width: 100%;\n pointer-events: none;\n"], ["\n display: flex;\n justify-content: center;\n align-items: center;\n min-height: 100%;\n width: 100%;\n pointer-events: none;\n"])));
15
15
  var DialogContainer = styled_components_1.default.div(templateObject_2 || (templateObject_2 = (0, tslib_1.__makeTemplateObject)(["\n background-color: ", ";\n border-radius: 8px;\n display: flex;\n flex-direction: column;\n padding-bottom: 20px;\n pointer-events: all;\n width: ", ";\n max-height: 80vh;\n box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.15);\n z-index: 20;\n"], ["\n background-color: ", ";\n border-radius: 8px;\n display: flex;\n flex-direction: column;\n padding-bottom: 20px;\n pointer-events: all;\n width: ", ";\n max-height: 80vh;\n box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.15);\n z-index: 20;\n"])), function (props) { return props.theme.colors.white; }, function (props) {
16
16
  return (0, ts_pattern_1.match)(props.size)
17
+ .with("small", function () { return "350px"; })
17
18
  .with("medium", function () { return "500px"; })
18
19
  .with("large", function () { return "700px"; })
19
20
  .with("xLarge", function () { return "840px"; })
@@ -1 +1 @@
1
- {"version":3,"file":"Dropdown.d.ts","sourceRoot":"","sources":["../../../../src/components/Dropdown/Dropdown.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,EAAE,EAEZ,SAAS,EAMV,MAAM,OAAO,CAAC;AAIf,OAAO,EACL,gBAAgB,EAChB,gBAAgB,EAChB,aAAa,EAEb,iBAAiB,EAClB,MAAM,SAAS,CAAC;AAejB,OAAO,EAAE,OAAO,EAAgC,MAAM,SAAS,CAAC;AAChE,OAAO,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAE5C,eAAO,MAAM,eAAe,yGAG3B,CAAC;AAEF,wBAAgB,qBAAqB,CAAC,CAAC,GAAG,MAAM,EAC9C,kBAAkB,EAAE,CAAC,KAAK,EAAE,iBAAiB,CAAC,CAAC,CAAC,KAAK,IAAI,EACzD,UAAU,EAAE,iBAAiB,CAAC,CAAC,CAAC,GAAG,IAAI,EACvC,aAAa,EAAE,MAAM,GAAG,IAAI,EAC5B,gBAAgB,EAAE,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI,KAAK,IAAI,EAC/C,aAAa,EAAE,SAAS,EACxB,cAAc,EAAE,SAAS,EACzB,YAAY,EAAE,OAAO,EACrB,gBAAgB,EAAE,OAAO,EACzB,SAAS,CAAC,EAAE,OAAO,EACnB,eAAe,CAAC,EAAE,MAAM,GACvB,CACD,KAAK,EAAE,gBAAgB,CAAC,CAAC,CAAC,EAC1B,KAAK,EAAE,MAAM,EACb,KAAK,EAAE,gBAAgB,CAAC,CAAC,CAAC,EAAE,KACzB,GAAG,CAAC,OAAO,GAAG,IAAI,CAmCtB;AA0CD;;;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ubItem, se
23
23
  case "value":
24
24
  return (react_1.default.createElement(DropdownItem, { active: (activeItem === null || activeItem === void 0 ? void 0 : activeItem.key) === opt.key, onSelect: handleSelectOption, onSelectIcon: opt.onClickIcon, onClickSubItem: opt.onClickSubItem, key: opt.key, value: opt, meta: { active: false, input: "" }, activeSubItem: activeSubItem, setActiveSubItem: setActiveSubItem, hideIcons: hideIcons, iconColumnWidth: iconColumnWidth, fetchMoreText: fetchMoreText, autoscrollText: autoscrollText, selectedIcon: selectedIcon, externalLinkIcon: externalLinkIcon }));
25
25
  case "header":
26
- return (react_1.default.createElement(S.DropdownHeaderItem, { key: "header".concat(index) }, opt.label));
26
+ return react_1.default.createElement(S.DropdownHeaderItem, { key: "header".concat(index) }, opt.label);
27
27
  case "divider":
28
28
  return react_1.default.createElement(S.DropdownDividerItem, { key: "divider".concat(index) });
29
29
  default:
@@ -89,7 +89,6 @@ var minimumDropdownWidth = 236;
89
89
  * }
90
90
  * </Dropdown>
91
91
  */
92
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
93
92
  function Dropdown(_a) {
94
93
  var children = _a.children, options = _a.options, stickyHeaderOptions = _a.stickyHeaderOptions, stickyFooterOptions = _a.stickyFooterOptions, inputValue = _a.inputValue, searchPlaceholder = _a.searchPlaceholder, _b = _a.placement, placement = _b === void 0 ? "bottom-start" : _b, _c = _a.showInternalSearch, showInternalSearch = _c === void 0 ? false : _c, _d = _a.isLoading, isLoading = _d === void 0 ? false : _d, _e = _a.usePortal, usePortal = _e === void 0 ? true : _e, _f = _a.closeOnSelect, closeOnSelect = _f === void 0 ? true : _f, isOpenProp = _a.isOpen, renderCreateNewOption = _a.renderCreateNewOption, hideIcons = _a.hideIcons, iconColumnWidth = _a.iconColumnWidth, containerWidth = _a.containerWidth, onSelectOption = _a.onSelectOption, onInputChange = _a.onInputChange, onFetchMore = _a.onFetchMore, onClear = _a.onClear, onClose = _a.onClose, onOpen = _a.onOpen, optionsRenderer = _a.optionsRenderer, tabProps = _a.tabProps, disabled = _a.disabled, fetchMoreText = _a.fetchMoreText, autoscrollText = _a.autoscrollText, externalLinkIcon = _a.externalLinkIcon, selectedIcon = _a.selectedIcon;
95
94
  var _g = (0, tslib_1.__read)((0, react_1.useState)(false), 2), isOpenState = _g[0], setIsOpenState = _g[1];
@@ -118,7 +117,7 @@ function Dropdown(_a) {
118
117
  close();
119
118
  };
120
119
  function isHtmlNode(node) {
121
- return (typeof node === "object" && (0, utils_1.notEmpty)(node) && node instanceof HTMLElement);
120
+ return typeof node === "object" && (0, utils_1.notEmpty)(node) && node instanceof HTMLElement;
122
121
  }
123
122
  // Have to pass a fn to useCallback due to eslint bug in eslint-plugin-react-hooks
124
123
  // which is fixed in 4.1.1 but we are tied to 1.6.1 in react-scripts
@@ -130,8 +129,7 @@ function Dropdown(_a) {
130
129
  function handler(event) {
131
130
  var _a, _b, _c;
132
131
  if (!(((_a = dropdownRef.current) === null || _a === void 0 ? void 0 : _a.contains(event.target)) ||
133
- (isHtmlNode(targetRef.current) &&
134
- targetRef.current.contains(event.target)) ||
132
+ (isHtmlNode(targetRef.current) && targetRef.current.contains(event.target)) ||
135
133
  (isHtmlNode(inputSearchRef.current) &&
136
134
  ((_b = inputSearchRef.current.parentElement) === null || _b === void 0 ? void 0 : _b.contains(event.target))) ||
137
135
  ((_c = inputSearchRef.current) === null || _c === void 0 ? void 0 : _c.contains(event.target)))) {
@@ -227,14 +225,10 @@ function Dropdown(_a) {
227
225
  };
228
226
  // Have to pass a fn to useCallback due to eslint bug in eslint-plugin-react-hooks
229
227
  // which is fixed in 4.1.1 but we are tied to 1.6.1 in react-scripts
230
- var handleSelectOption = (0, react_1.useCallback)(handleSelectOptionCb, [
231
- handleClose,
232
- onSelectOption,
233
- ]);
228
+ var handleSelectOption = (0, react_1.useCallback)(handleSelectOptionCb, [handleClose, onSelectOption]);
234
229
  // width of input or set minimum width - 236px
235
230
  var refWidth = (0, react_1.useMemo)(function () {
236
- if ((referenceElement === null || referenceElement === void 0 ? void 0 : referenceElement.scrollWidth) &&
237
- referenceElement.scrollWidth > minimumDropdownWidth) {
231
+ if ((referenceElement === null || referenceElement === void 0 ? void 0 : referenceElement.scrollWidth) && referenceElement.scrollWidth > minimumDropdownWidth) {
238
232
  return referenceElement.scrollWidth;
239
233
  }
240
234
  else
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/components/Dropdown/types.ts"],"names":[],"mappings":";AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,cAAc,EAAE,mBAAmB,EAAE,SAAS,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AAC5E,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAC3C,OAAO,EAAE,OAAO,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAC7C,OAAO,EAAE,KAAK,EAAE,MAAM,oBAAoB,CAAC;AAC3C,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAE9D,MAAM,WAAW,iBAAiB,CAAC,aAAa;IAC9C,uCAAuC;IACvC,GAAG,EAAE,MAAM,CAAC;IACZ,+BAA+B;IAC/B,KAAK,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,kCAAkC;IAClC,IAAI,EAAE,OAAO,CAAC;IACd,6BAA6B;IAC7B,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,4BAA4B;IAC5B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,qBAAqB;IACrB,IAAI,CAAC,EAAE,OAAO,GAAG,SAAS,GAAG,KAAK,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC;IAChD,+BAA+B;IAC/B,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,wEAAwE;IACxE,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,4BAA4B;IAC5B,QAAQ,CAAC,EAAE,gBAAgB,CAAC,aAAa,CAAC,EAAE,CAAC;IAC7C,WAAW,CAAC,EAAE,CAAC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AAY,EAAE,OAAO,CAAC;CACvB"}
@@ -1,10 +1,11 @@
1
- /// <reference types="react" />
1
+ /// <reference types="@typescript/lib-dom" />
2
+ import * as React from "react";
2
3
  import { DpCustomIconsId } from "./customIconsCodegen";
3
- export declare type DeskproCustomIconProps = {
4
+ export interface DeskproCustomIconProps extends React.HTMLAttributes<HTMLElement> {
4
5
  icon: DpCustomIconsId;
5
6
  className?: string;
6
- };
7
- export declare const DeskproCustomIcon: ({ icon, className }: DeskproCustomIconProps) => JSX.Element;
7
+ }
8
+ export declare const DeskproCustomIcon: ({ icon, className, ...rest }: DeskproCustomIconProps) => JSX.Element;
8
9
  export declare const isDpCustomIconId: (icon: unknown) => icon is DpCustomIconsId;
9
10
  export declare const DpCustomIconIds: DpCustomIconsId[];
10
11
  //# sourceMappingURL=DeskproCustomIcon.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"DeskproCustomIcon.d.ts","sourceRoot":"","sources":["../../../../src/components/Icon/DeskproCustomIcon.tsx"],"names":[],"mappings":";AAEA,OAAO,EAA8B,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAGnF,oBAAY,sBAAsB,GAAG;IACnC,IAAI,EAAE,eAAe,CAAC;IACtB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF,eAAO,MAAM,iBAAiB,wBAAyB,sBAAsB,gBAQ5E,CAAC;AAEF,eAAO,MAAM,gBAAgB,SAAU,OAAO,4BAE7C,CAAC;AAEF,eAAO,MAAM,eAAe,mBAA+D,CAAC"}
1
+ {"version":3,"file":"DeskproCustomIcon.d.ts","sourceRoot":"","sources":["../../../../src/components/Icon/DeskproCustomIcon.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAA8B,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAGnF,MAAM,WAAW,sBAAuB,SAAQ,KAAK,CAAC,cAAc,CAAC,WAAW,CAAC;IAC/E,IAAI,EAAE,eAAe,CAAC;IACtB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,eAAO,MAAM,iBAAiB,iCAAkC,sBAAsB,gBASrF,CAAC;AAEF,eAAO,MAAM,gBAAgB,SAAU,OAAO,4BAE7C,CAAC;AAEF,eAAO,MAAM,eAAe,mBAA+D,CAAC"}