no-frills-ui 0.0.13 → 0.0.14-alpha.1

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 (173) hide show
  1. package/README.md +56 -23
  2. package/dist/index.js +1899 -3579
  3. package/dist/index.js.map +1 -1
  4. package/lib-esm/components/Accordion/Accordion.d.ts +2 -2
  5. package/lib-esm/components/Accordion/Accordion.js +8 -7
  6. package/lib-esm/components/Accordion/Accordion.js.map +1 -1
  7. package/lib-esm/components/Accordion/AccordionStep.d.ts +10 -5
  8. package/lib-esm/components/Accordion/AccordionStep.js +3 -12
  9. package/lib-esm/components/Accordion/AccordionStep.js.map +1 -1
  10. package/lib-esm/components/Badge/Badge.d.ts +3 -2
  11. package/lib-esm/components/Badge/Badge.js +6 -4
  12. package/lib-esm/components/Badge/Badge.js.map +1 -1
  13. package/lib-esm/components/Button/ActionButton.d.ts +4 -2
  14. package/lib-esm/components/Button/Button.d.ts +4 -2
  15. package/lib-esm/components/Button/IconButton.d.ts +4 -2
  16. package/lib-esm/components/Button/LinkButton.d.ts +4 -2
  17. package/lib-esm/components/Button/RaisedButton.d.ts +4 -2
  18. package/lib-esm/components/Card/Card.d.ts +4 -2
  19. package/lib-esm/components/Card/index.d.ts +1 -0
  20. package/lib-esm/components/Card/index.js +1 -0
  21. package/lib-esm/components/Card/index.js.map +1 -1
  22. package/lib-esm/components/Chip/Chip.d.ts +8 -0
  23. package/lib-esm/components/Chip/Chip.js +48 -0
  24. package/lib-esm/components/Chip/Chip.js.map +1 -0
  25. package/lib-esm/components/Chip/index.d.ts +1 -0
  26. package/lib-esm/components/Chip/index.js +2 -0
  27. package/lib-esm/components/Chip/index.js.map +1 -0
  28. package/lib-esm/components/ChipInput/ChipInput.d.ts +33 -0
  29. package/lib-esm/components/ChipInput/ChipInput.js +216 -0
  30. package/lib-esm/components/ChipInput/ChipInput.js.map +1 -0
  31. package/lib-esm/components/ChipInput/index.d.ts +1 -0
  32. package/lib-esm/components/ChipInput/index.js +2 -0
  33. package/lib-esm/components/ChipInput/index.js.map +1 -0
  34. package/lib-esm/components/Dialog/AlertDialog.d.ts +3 -3
  35. package/lib-esm/components/Dialog/AlertDialog.js +5 -7
  36. package/lib-esm/components/Dialog/AlertDialog.js.map +1 -1
  37. package/lib-esm/components/Dialog/ConfirmDialog.d.ts +2 -2
  38. package/lib-esm/components/Dialog/ConfirmDialog.js +4 -7
  39. package/lib-esm/components/Dialog/ConfirmDialog.js.map +1 -1
  40. package/lib-esm/components/Dialog/Dialog.d.ts +8 -11
  41. package/lib-esm/components/Dialog/Dialog.js +3 -2
  42. package/lib-esm/components/Dialog/Dialog.js.map +1 -1
  43. package/lib-esm/components/Dialog/PromptDialog.d.ts +2 -2
  44. package/lib-esm/components/Dialog/PromptDialog.js +4 -11
  45. package/lib-esm/components/Dialog/PromptDialog.js.map +1 -1
  46. package/lib-esm/components/DragAndDrop/DragAndDrop.d.ts +45 -0
  47. package/lib-esm/components/DragAndDrop/DragAndDrop.js +61 -0
  48. package/lib-esm/components/DragAndDrop/DragAndDrop.js.map +1 -0
  49. package/lib-esm/components/DragAndDrop/DragItem.d.ts +46 -0
  50. package/lib-esm/components/DragAndDrop/DragItem.js +187 -0
  51. package/lib-esm/components/DragAndDrop/DragItem.js.map +1 -0
  52. package/lib-esm/components/DragAndDrop/index.d.ts +2 -0
  53. package/lib-esm/components/DragAndDrop/index.js +3 -0
  54. package/lib-esm/components/DragAndDrop/index.js.map +1 -0
  55. package/lib-esm/components/DragAndDrop/types.d.ts +12 -0
  56. package/lib-esm/components/DragAndDrop/types.js +8 -0
  57. package/lib-esm/components/DragAndDrop/types.js.map +1 -0
  58. package/lib-esm/components/Drawer/Drawer.d.ts +3 -3
  59. package/lib-esm/components/Drawer/Drawer.js +5 -3
  60. package/lib-esm/components/Drawer/Drawer.js.map +1 -1
  61. package/lib-esm/components/Groups/Group.d.ts +1 -1
  62. package/lib-esm/components/Groups/Group.js +2 -4
  63. package/lib-esm/components/Groups/Group.js.map +1 -1
  64. package/lib-esm/components/Groups/GroupLabel.d.ts +4 -2
  65. package/lib-esm/components/Input/Checkbox.d.ts +2 -2
  66. package/lib-esm/components/Input/Checkbox.js +4 -4
  67. package/lib-esm/components/Input/Checkbox.js.map +1 -1
  68. package/lib-esm/components/Input/Dropdown.d.ts +2 -2
  69. package/lib-esm/components/Input/Dropdown.js +7 -6
  70. package/lib-esm/components/Input/Dropdown.js.map +1 -1
  71. package/lib-esm/components/Input/Input.d.ts +5 -2
  72. package/lib-esm/components/Input/Input.js +3 -5
  73. package/lib-esm/components/Input/Input.js.map +1 -1
  74. package/lib-esm/components/Input/Radio.d.ts +2 -1
  75. package/lib-esm/components/Input/Radio.js +2 -4
  76. package/lib-esm/components/Input/Radio.js.map +1 -1
  77. package/lib-esm/components/Input/RadioButton.d.ts +5 -2
  78. package/lib-esm/components/Input/RadioButton.js +2 -4
  79. package/lib-esm/components/Input/RadioButton.js.map +1 -1
  80. package/lib-esm/components/Input/Select.d.ts +1 -1
  81. package/lib-esm/components/Input/Select.js +4 -9
  82. package/lib-esm/components/Input/Select.js.map +1 -1
  83. package/lib-esm/components/Input/TextArea.d.ts +1 -1
  84. package/lib-esm/components/Input/TextArea.js +3 -5
  85. package/lib-esm/components/Input/TextArea.js.map +1 -1
  86. package/lib-esm/components/Input/Toggle.d.ts +3 -2
  87. package/lib-esm/components/Input/Toggle.js +2 -5
  88. package/lib-esm/components/Input/Toggle.js.map +1 -1
  89. package/lib-esm/components/Menu/Menu.d.ts +1 -1
  90. package/lib-esm/components/Menu/Menu.js +3 -3
  91. package/lib-esm/components/Menu/Menu.js.map +1 -1
  92. package/lib-esm/components/Menu/MenuContext.d.ts +0 -1
  93. package/lib-esm/components/Menu/MenuItem.d.ts +1 -1
  94. package/lib-esm/components/Menu/MenuItem.js +4 -5
  95. package/lib-esm/components/Menu/MenuItem.js.map +1 -1
  96. package/lib-esm/components/Modal/Modal.d.ts +3 -3
  97. package/lib-esm/components/Modal/Modal.js +5 -3
  98. package/lib-esm/components/Modal/Modal.js.map +1 -1
  99. package/lib-esm/components/Notification/Notification.d.ts +4 -36
  100. package/lib-esm/components/Notification/Notification.js +4 -19
  101. package/lib-esm/components/Notification/Notification.js.map +1 -1
  102. package/lib-esm/components/Notification/NotificationManager.d.ts +2 -2
  103. package/lib-esm/components/Notification/NotificationManager.js +6 -18
  104. package/lib-esm/components/Notification/NotificationManager.js.map +1 -1
  105. package/lib-esm/components/Notification/index.d.ts +2 -1
  106. package/lib-esm/components/Notification/index.js +2 -1
  107. package/lib-esm/components/Notification/index.js.map +1 -1
  108. package/lib-esm/components/Notification/style.d.ts +38 -17
  109. package/lib-esm/components/Notification/style.js +1 -1
  110. package/lib-esm/components/Notification/style.js.map +1 -1
  111. package/lib-esm/components/Notification/types.d.ts +34 -0
  112. package/lib-esm/components/Notification/types.js +18 -0
  113. package/lib-esm/components/Notification/types.js.map +1 -0
  114. package/lib-esm/components/Popover/Popover.d.ts +1 -1
  115. package/lib-esm/components/Popover/Popover.js +15 -7
  116. package/lib-esm/components/Popover/Popover.js.map +1 -1
  117. package/lib-esm/components/Spinner/Spinner.d.ts +2 -2
  118. package/lib-esm/components/Spinner/Spinner.js +2 -2
  119. package/lib-esm/components/Spinner/Spinner.js.map +1 -1
  120. package/lib-esm/components/Stepper/Step.d.ts +2 -1
  121. package/lib-esm/components/Stepper/Step.js +2 -2
  122. package/lib-esm/components/Stepper/Step.js.map +1 -1
  123. package/lib-esm/components/Stepper/Stepper.d.ts +2 -2
  124. package/lib-esm/components/Stepper/Stepper.js +3 -14
  125. package/lib-esm/components/Stepper/Stepper.js.map +1 -1
  126. package/lib-esm/components/Tabs/Tab.d.ts +1 -1
  127. package/lib-esm/components/Tabs/Tab.js +2 -2
  128. package/lib-esm/components/Tabs/Tab.js.map +1 -1
  129. package/lib-esm/components/Tabs/Tabs.d.ts +1 -1
  130. package/lib-esm/components/Tabs/Tabs.js +3 -4
  131. package/lib-esm/components/Tabs/Tabs.js.map +1 -1
  132. package/lib-esm/components/Toast/Toast.js +3 -5
  133. package/lib-esm/components/Toast/Toast.js.map +1 -1
  134. package/lib-esm/components/Toast/ToastStory.d.ts +3 -1
  135. package/lib-esm/components/Toast/ToastStory.js +2 -1
  136. package/lib-esm/components/Toast/ToastStory.js.map +1 -1
  137. package/lib-esm/components/Tooltip/Tooltip.d.ts +3 -3
  138. package/lib-esm/components/Tooltip/Tooltip.js +3 -5
  139. package/lib-esm/components/Tooltip/Tooltip.js.map +1 -1
  140. package/lib-esm/components/index.d.ts +3 -1
  141. package/lib-esm/components/index.js +3 -1
  142. package/lib-esm/components/index.js.map +1 -1
  143. package/lib-esm/icons/CheckCircle.d.ts +1 -1
  144. package/lib-esm/icons/CheckCircle.js +2 -4
  145. package/lib-esm/icons/CheckCircle.js.map +1 -1
  146. package/lib-esm/icons/Close.d.ts +1 -1
  147. package/lib-esm/icons/Close.js +2 -4
  148. package/lib-esm/icons/Close.js.map +1 -1
  149. package/lib-esm/icons/DragIndicator.d.ts +1 -0
  150. package/lib-esm/icons/DragIndicator.js +5 -0
  151. package/lib-esm/icons/DragIndicator.js.map +1 -0
  152. package/lib-esm/icons/ErrorOutline.d.ts +1 -1
  153. package/lib-esm/icons/ErrorOutline.js +2 -3
  154. package/lib-esm/icons/ErrorOutline.js.map +1 -1
  155. package/lib-esm/icons/ExpandMore.d.ts +1 -1
  156. package/lib-esm/icons/ExpandMore.js +2 -4
  157. package/lib-esm/icons/ExpandMore.js.map +1 -1
  158. package/lib-esm/icons/FiberManualRecord.d.ts +1 -1
  159. package/lib-esm/icons/FiberManualRecord.js +2 -4
  160. package/lib-esm/icons/FiberManualRecord.js.map +1 -1
  161. package/lib-esm/icons/Info.d.ts +1 -1
  162. package/lib-esm/icons/Info.js +2 -4
  163. package/lib-esm/icons/Info.js.map +1 -1
  164. package/lib-esm/icons/ReportProblem.d.ts +1 -1
  165. package/lib-esm/icons/ReportProblem.js +2 -4
  166. package/lib-esm/icons/ReportProblem.js.map +1 -1
  167. package/lib-esm/icons/index.d.ts +1 -0
  168. package/lib-esm/icons/index.js +1 -0
  169. package/lib-esm/icons/index.js.map +1 -1
  170. package/lib-esm/shared/LayerManager.js +3 -2
  171. package/lib-esm/shared/LayerManager.js.map +1 -1
  172. package/lib-esm/shared/styles.d.ts +16 -5
  173. package/package.json +27 -24
@@ -1,5 +1,6 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "@emotion/react/jsx-runtime";
1
2
  import React from 'react';
2
- import { NOTIFICATION_TYPE } from './Notification';
3
+ import { NOTIFICATION_TYPE } from './types';
3
4
  import { Close, Info, ReportProblem, ErrorOutline, CheckCircle } from '../../icons';
4
5
  import { Container, Notice, Title, IconContainer, FillParent, Body, CloseButton, Footer } from './style';
5
6
  import { ActionButton } from '../Button';
@@ -109,23 +110,10 @@ class NotificationManager extends React.Component {
109
110
  };
110
111
  }
111
112
  render() {
112
- return (React.createElement(Container, { position: this.props.position }, this.state.notices.map(notice => {
113
- const { id, title, description, leaving, type = NOTIFICATION_TYPE.INFO, buttonText, buttonClick, } = notice;
114
- return (React.createElement(Notice, Object.assign({ key: id }, notice, { position: this.props.position, className: leaving ? 'leave' : '', onMouseEnter: this.pause(id), onMouseLeave: this.resume(id) }),
115
- React.createElement(IconContainer, { type: type },
116
- type === NOTIFICATION_TYPE.INFO && React.createElement(Info, null),
117
- type === NOTIFICATION_TYPE.SUCCESS && React.createElement(CheckCircle, null),
118
- type === NOTIFICATION_TYPE.WARNING && React.createElement(ReportProblem, null),
119
- type === NOTIFICATION_TYPE.DANGER && React.createElement(ErrorOutline, null)),
120
- React.createElement(FillParent, null,
121
- React.createElement(Title, { type: type },
122
- React.createElement(FillParent, null, title),
123
- React.createElement(CloseButton, { onClick: this.closeClickHandler(id) },
124
- React.createElement(Close, null))),
125
- React.createElement(Body, null, description),
126
- buttonText && (React.createElement(Footer, null,
127
- React.createElement(ActionButton, { onClick: () => { buttonClick === null || buttonClick === void 0 ? void 0 : buttonClick(); } }, buttonText))))));
128
- })));
113
+ return (_jsx(Container, { position: this.props.position, children: this.state.notices.map(notice => {
114
+ const { id, title, description, leaving, type = NOTIFICATION_TYPE.INFO, buttonText, buttonClick, } = notice;
115
+ return (_jsxs(Notice, Object.assign({}, notice, { position: this.props.position, className: leaving ? 'leave' : '', onMouseEnter: this.pause(id), onMouseLeave: this.resume(id), children: [_jsxs(IconContainer, { type: type, children: [type === NOTIFICATION_TYPE.INFO && _jsx(Info, {}), type === NOTIFICATION_TYPE.SUCCESS && _jsx(CheckCircle, {}), type === NOTIFICATION_TYPE.WARNING && _jsx(ReportProblem, {}), type === NOTIFICATION_TYPE.DANGER && _jsx(ErrorOutline, {})] }), _jsxs(FillParent, { children: [_jsxs(Title, { type: type, children: [_jsx(FillParent, { children: title }), _jsx(CloseButton, { onClick: this.closeClickHandler(id), children: _jsx(Close, {}) })] }), _jsx(Body, { children: description }), buttonText && (_jsx(Footer, { children: _jsx(ActionButton, { onClick: () => { buttonClick === null || buttonClick === void 0 ? void 0 : buttonClick(); }, children: buttonText }) }))] })] }), id));
116
+ }) }));
129
117
  }
130
118
  }
131
119
  export default NotificationManager;
@@ -1 +1 @@
1
- {"version":3,"file":"NotificationManager.js","sourceRoot":"","sources":["../../../src/components/Notification/NotificationManager.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAA8C,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAC/F,OAAO,EAAE,KAAK,EAAE,IAAI,EAAE,aAAa,EAAE,YAAY,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AACpF,OAAO,EACH,SAAS,EAAE,MAAM,EAAE,KAAK,EAAE,aAAa,EACvC,UAAU,EAAE,IAAI,EAAE,WAAW,EAAE,MAAM,EACxC,MAAM,SAAS,CAAC;AACjB,OAAO,EAAE,YAAY,EAAE,MAAM,WAAW,CAAC;AAuBzC,MAAM,gBAAgB,GAAG,IAAI,CAAC;AAE9B;;GAEG;AACH,MAA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I,EAAE,IAAI;oBACpB,IAAI,KAAK,iBAAiB,CAAC,IAAI,IAAI,oBAAC,IAAI,OAAG;oBAC3C,IAAI,KAAK,iBAAiB,CAAC,OAAO,IAAI,oBAAC,WAAW,OAAG;oBACrD,IAAI,KAAK,iBAAiB,CAAC,OAAO,IAAI,oBAAC,aAAa,OAAG;oBACvD,IAAI,KAAK,iBAAiB,CAAC,MAAM,IAAI,oBAAC,YAAY,OAAG,CAC1C;gBAChB,oBAAC,UAAU;oBACP,oBAAC,KAAK,IAAC,IAAI,EAAE,IAAI;wBACb,oBAAC,UAAU,QAAE,KAAK,CAAc;wBAChC,oBAAC,WAAW,IAAC,OAAO,EAAE,IAAI,CAAC,iBAAiB,CAAC,EAAE,CAAC;4BAC5C,oBAAC,KAAK,OAAG,CACC,CACV;oBACR,oBAAC,IAAI,QAAE,WAAW,CAAQ;oBACxB,UAAU,IAAI,CACZ,oBAAC,MAAM;wBACH,oBAAC,YAAY,IAAC,OAAO,EAAE,GAAG,EAAE,GAAG,WAAW,aAAX,WAAW,uBAAX,WAAW,GAAI,CAAC,CAAC,IAC3C,UAAU,CACA,CACV,CACZ,CACQ,CACR,CACZ,CAAA;QACL,CAAC,CAAC,CACU,CACf,CAAA;IACL,CAAC;CACJ;AAED,eAAe,mBAAmB,CAAC"}
1
+ {"version":3,"file":"NotificationManager.js","sourceRoot":"","sources":["../../../src/components/Notification/NotificationManager.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAyB,iBAAiB,EAAuB,MAAM,SAAS,CAAC;AACxF,OAAO,EAAE,KAAK,EAAE,IAAI,EAAE,aAAa,EAAE,YAAY,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AACpF,OAAO,EACH,SAAS,EAAE,MAAM,EAAE,KAAK,EAAE,aAAa,EACvC,UAAU,EAAE,IAAI,EAAE,WAAW,EAAE,MAAM,EACxC,MAAM,SAAS,CAAC;AACjB,OAAO,EAAE,YAA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AAC,CAAC,CAAC,EAAE,EACjC,YAAY,EAAE,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC,EAC5B,YAAY,EAAE,IAAI,CAAC,MAAM,CAAC,EAAE,CAAC,aAE7B,MAAC,aAAa,IAAC,IAAI,EAAE,IAAI,aACpB,IAAI,KAAK,iBAAiB,CAAC,IAAI,IAAI,KAAC,IAAI,KAAG,EAC3C,IAAI,KAAK,iBAAiB,CAAC,OAAO,IAAI,KAAC,WAAW,KAAG,EACrD,IAAI,KAAK,iBAAiB,CAAC,OAAO,IAAI,KAAC,aAAa,KAAG,EACvD,IAAI,KAAK,iBAAiB,CAAC,MAAM,IAAI,KAAC,YAAY,KAAG,IAC1C,EAChB,MAAC,UAAU,eACP,MAAC,KAAK,IAAC,IAAI,EAAE,IAAI,aACb,KAAC,UAAU,cAAE,KAAK,GAAc,EAChC,KAAC,WAAW,IAAC,OAAO,EAAE,IAAI,CAAC,iBAAiB,CAAC,EAAE,CAAC,YAC5C,KAAC,KAAK,KAAG,GACC,IACV,EACR,KAAC,IAAI,cAAE,WAAW,GAAQ,EACxB,UAAU,IAAI,CACZ,KAAC,MAAM,cACH,KAAC,YAAY,IAAC,OAAO,EAAE,GAAG,EAAE,GAAG,WAAW,aAAX,WAAW,uBAAX,WAAW,EAAI,CAAA,CAAC,CAAC,YAC3C,UAAU,GACA,GACV,CACZ,IACQ,MA5BR,EAAE,CA6BF,CACZ,CAAA;YACL,CAAC,CAAC,GACU,CACf,CAAA;IACL,CAAC;CACJ;AAED,eAAe,mBAAmB,CAAC"}
@@ -1 +1,2 @@
1
- export { default as Notification, NOTIFICATION_POSITION, NOTIFICATION_TYPE } from './Notification';
1
+ export { default as Notification } from './Notification';
2
+ export { NOTIFICATION_POSITION, NOTIFICATION_TYPE } from './types';
@@ -1,2 +1,3 @@
1
- export { default as Notification, NOTIFICATION_POSITION, NOTIFICATION_TYPE } from './Notification';
1
+ export { default as Notification } from './Notification';
2
+ export { NOTIFICATION_POSITION, NOTIFICATION_TYPE } from './types';
2
3
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/Notification/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,qBAAqB,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/Notification/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,gBAAgB,CAAC;AACzD,OAAO,EAAE,qBAAqB,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAC"}
@@ -1,24 +1,45 @@
1
- /// <reference types="react" />
2
- import { NOTIFICATION_POSITION, NOTIFICATION_TYPE, NotificationOptions } from './Notification';
1
+ import { NOTIFICATION_POSITION, NOTIFICATION_TYPE, NotificationOptions } from './types';
3
2
  interface NoticeProp extends NotificationOptions {
4
3
  position: NOTIFICATION_POSITION;
5
4
  }
6
- export declare const Container: import("@emotion/styled-base").StyledComponent<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
5
+ export declare const Container: import("@emotion/styled").StyledComponent<{
6
+ theme?: import("@emotion/react").Theme;
7
+ as?: React.ElementType;
8
+ } & {
7
9
  position: NOTIFICATION_POSITION;
8
- }, object>;
9
- export declare const Notice: import("@emotion/styled-base").StyledComponent<Pick<import("react").PropsWithChildren<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Pick<import("../Card/Card").CardExtraProps, "elevated"> & {
10
- theme?: object;
11
- }>, "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "slot" | "spellCheck" | "style" | "tabIndex" | "title" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "css" | "elevated" | "theme"> & {
12
- ref?: ((instance: HTMLDivElement) => void) | import("react").RefObject<HTMLDivElement>;
13
- }, NoticeProp, object>;
14
- export declare const Title: import("@emotion/styled-base").StyledComponent<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
10
+ }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
11
+ export declare const Notice: import("@emotion/styled").StyledComponent<{
12
+ theme?: import("@emotion/react").Theme;
13
+ as?: React.ElementType;
14
+ } & import("../Card/Card").CardExtraProps & import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & {
15
+ theme?: import("@emotion/react").Theme;
16
+ } & NoticeProp, {}, {}>;
17
+ export declare const Title: import("@emotion/styled").StyledComponent<{
18
+ theme?: import("@emotion/react").Theme;
19
+ as?: React.ElementType;
20
+ } & {
15
21
  type: NOTIFICATION_TYPE;
16
- }, object>;
17
- export declare const FillParent: import("@emotion/styled-base").StyledComponent<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "slot" | "spellCheck" | "style" | "tabIndex" | "title" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "css">, object>;
18
- export declare const CloseButton: import("@emotion/styled-base").StyledComponent<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, Pick<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "slot" | "spellCheck" | "style" | "tabIndex" | "title" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "css" | "form" | "type" | "disabled" | "autoFocus" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "name" | "value">, object>;
19
- export declare const Body: import("@emotion/styled-base").StyledComponent<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "slot" | "spellCheck" | "style" | "tabIndex" | "title" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "css">, object>;
20
- export declare const IconContainer: import("@emotion/styled-base").StyledComponent<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
22
+ }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
23
+ export declare const FillParent: import("@emotion/styled").StyledComponent<{
24
+ theme?: import("@emotion/react").Theme;
25
+ as?: React.ElementType;
26
+ }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
27
+ export declare const CloseButton: import("@emotion/styled").StyledComponent<{
28
+ theme?: import("@emotion/react").Theme;
29
+ as?: React.ElementType;
30
+ }, import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, {}>;
31
+ export declare const Body: import("@emotion/styled").StyledComponent<{
32
+ theme?: import("@emotion/react").Theme;
33
+ as?: React.ElementType;
34
+ }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
35
+ export declare const IconContainer: import("@emotion/styled").StyledComponent<{
36
+ theme?: import("@emotion/react").Theme;
37
+ as?: React.ElementType;
38
+ } & {
21
39
  type: NOTIFICATION_TYPE;
22
- }, object>;
23
- export declare const Footer: import("@emotion/styled-base").StyledComponent<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "slot" | "spellCheck" | "style" | "tabIndex" | "title" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "css">, object>;
40
+ }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
41
+ export declare const Footer: import("@emotion/styled").StyledComponent<{
42
+ theme?: import("@emotion/react").Theme;
43
+ as?: React.ElementType;
44
+ }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
24
45
  export {};
@@ -1,7 +1,7 @@
1
1
  import styled from '@emotion/styled';
2
2
  import constants from '../../shared/constants';
3
3
  import { Card } from '../Card';
4
- import { NOTIFICATION_POSITION, NOTIFICATION_TYPE } from './Notification';
4
+ import { NOTIFICATION_POSITION, NOTIFICATION_TYPE } from './types';
5
5
  const getEntryAnimation = (position) => {
6
6
  switch (position) {
7
7
  case NOTIFICATION_POSITION.TOP_LEFT:
@@ -1 +1 @@
1
- {"version":3,"file":"style.js","sourceRoot":"","sources":["../../../src/components/Notification/style.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,iBAAiB,CAAC;AACrC,OAAO,SAAS,MAAM,wBAAwB,CAAC;AAC/C,OAAO,EAAE,IAAI,EAAE,MAAM,SAAS,CAAC;AAC/B,OAAO,EAAE,qBAAqB,EAAE,iBAAiB,EAAuB,MAAM,gBAAgB,CAAC;AAE/F,MAAM,iBAAiB,GAAG,CAAC,QAA+B,EAAE,EAAE;IAC1D,QAAO,QAAQ,EAAE;QACb,KAAK,qBAAqB,CAAC,QAAQ,CAAC;QACpC,KAAK,qBAAqB,CAAC,WAAW;YAClC,OAAO,SAAS,CAAC;QACrB;YACI,OAAO,UAAU,CAAC;KACzB;AACL,CAAC,CAAA;AAED,MAAM,gBAAgB,GAAG,CAAC,QAA+B,EAAE,EAAE;IACzD,QAA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= "BOTTOM_LEFT",
6
+ BOTTOM_RIGHT = "BOTTOM_RIGHT"
7
+ }
8
+ /** Type of Notifications */
9
+ export declare enum NOTIFICATION_TYPE {
10
+ INFO = "INFO",
11
+ SUCCESS = "SUCCESS",
12
+ DANGER = "DANGER",
13
+ WARNING = "WARNING"
14
+ }
15
+ export interface NotificationOptions {
16
+ /** Title of the notification */
17
+ title: string;
18
+ /** Body of the notification */
19
+ description: string;
20
+ /** Id for the notification, helps in de-duplication. */
21
+ id?: string;
22
+ /** Duration for the notification in milliseconds */
23
+ duration?: number;
24
+ /** Creates sticky notification */
25
+ sticky?: boolean;
26
+ /** Type of notification */
27
+ type?: NOTIFICATION_TYPE;
28
+ /** Action button text */
29
+ buttonText?: string;
30
+ /** Action button click callback */
31
+ buttonClick?: () => void;
32
+ /** Notification close callback. */
33
+ onClose?: () => void;
34
+ }
@@ -0,0 +1,18 @@
1
+ /** Position for Notification */
2
+ export var NOTIFICATION_POSITION;
3
+ (function (NOTIFICATION_POSITION) {
4
+ NOTIFICATION_POSITION["TOP_LEFT"] = "TOP_LEFT";
5
+ NOTIFICATION_POSITION["TOP_RIGHT"] = "TOP_RIGHT";
6
+ NOTIFICATION_POSITION["BOTTOM_LEFT"] = "BOTTOM_LEFT";
7
+ NOTIFICATION_POSITION["BOTTOM_RIGHT"] = "BOTTOM_RIGHT";
8
+ })(NOTIFICATION_POSITION || (NOTIFICATION_POSITION = {}));
9
+ ;
10
+ /** Type of Notifications */
11
+ export var NOTIFICATION_TYPE;
12
+ (function (NOTIFICATION_TYPE) {
13
+ NOTIFICATION_TYPE["INFO"] = "INFO";
14
+ NOTIFICATION_TYPE["SUCCESS"] = "SUCCESS";
15
+ NOTIFICATION_TYPE["DANGER"] = "DANGER";
16
+ NOTIFICATION_TYPE["WARNING"] = "WARNING";
17
+ })(NOTIFICATION_TYPE || (NOTIFICATION_TYPE = {}));
18
+ //# sourceMappingURL=types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.js","sourceRoot":"","sources":["../../../src/components/Notification/types.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,MAAM,CAAN,IAAY,qBAKX;AALD,WAAY,qBAAqB;IAC7B,8CAAmB,CAAA;IACnB,gDAAqB,CAAA;IACrB,oDAAyB,CAAA;IACzB,sDAA2B,CAAA;AAC/B,CAAC,EALW,qBAAqB,KAArB,qBAAqB,QAKhC;AAAA,CAAC;AAEF,4BAA4B;AAC5B,MAAM,CAAN,IAAY,iBAKX;AALD,WAAY,iBAAiB;IACzB,kCAAW,CAAA;IACX,wCAAiB,CAAA;IACjB,sCAAe,CAAA;IACf,wCAAiB,CAAA;AACrB,CAAC,EALW,iBAAiB,KAAjB,iBAAiB,QAK5B"}
@@ -6,7 +6,7 @@ export declare enum POPOVER_POSITION {
6
6
  BOTTOM_LEFT = "BOTTOM_LEFT",
7
7
  BOTTOM_RIGHT = "BOTTOM_RIGHT"
8
8
  }
9
- declare function Popover(props: React.PropsWithChildren<PropTypes.InferProps<typeof Popover.propTypes>>): JSX.Element;
9
+ declare function Popover(props: React.PropsWithChildren<PropTypes.InferProps<typeof Popover.propTypes>>): import("@emotion/react/jsx-runtime").JSX.Element;
10
10
  declare namespace Popover {
11
11
  var propTypes: {
12
12
  /** Opens the popover */
@@ -1,4 +1,5 @@
1
- import React, { useEffect, useRef, useState } from 'react';
1
+ import { jsx as _jsx, jsxs as _jsxs } from "@emotion/react/jsx-runtime";
2
+ import { useEffect, useRef, useState } from 'react';
2
3
  import PropTypes from 'prop-types';
3
4
  import styled from '@emotion/styled';
4
5
  import { Card } from '../Card';
@@ -83,6 +84,7 @@ export default function Popover(props) {
83
84
  const [closing, setClosing] = useState(false);
84
85
  const [translate, setTranslate] = useState({ x: 0, y: 0 });
85
86
  const popperRef = useRef();
87
+ const containerRef = useRef();
86
88
  const close = () => {
87
89
  setClosing(true);
88
90
  setTimeout(() => {
@@ -99,6 +101,11 @@ export default function Popover(props) {
99
101
  close();
100
102
  }
101
103
  };
104
+ const clickOutsideHandler = (e) => {
105
+ if (containerRef.current && !containerRef.current.contains(e.target)) {
106
+ close();
107
+ }
108
+ };
102
109
  /**
103
110
  * Get called on popover mount.
104
111
  */
@@ -106,13 +113,16 @@ export default function Popover(props) {
106
113
  document.addEventListener('keyup', keyupEventHandler);
107
114
  return () => {
108
115
  document.removeEventListener('keyup', keyupEventHandler);
109
- document.removeEventListener('click', close);
116
+ document.removeEventListener('click', clickOutsideHandler);
110
117
  };
111
118
  }, []);
112
119
  useEffect(() => {
113
120
  if (props.open) {
114
121
  setOpen(true);
115
- document.addEventListener('click', close);
122
+ // Use requestAnimationFrame to add listener after current event loop
123
+ requestAnimationFrame(() => {
124
+ document.addEventListener('click', clickOutsideHandler);
125
+ });
116
126
  }
117
127
  else {
118
128
  if (open) {
@@ -120,7 +130,7 @@ export default function Popover(props) {
120
130
  }
121
131
  }
122
132
  return () => {
123
- document.removeEventListener('click', close);
133
+ document.removeEventListener('click', clickOutsideHandler);
124
134
  };
125
135
  }, [props.open]);
126
136
  useEffect(() => {
@@ -172,9 +182,7 @@ export default function Popover(props) {
172
182
  popperRef.current.focus();
173
183
  }
174
184
  }, [open]);
175
- return (React.createElement(PopoverDiv, null,
176
- React.createElement(props.element, null),
177
- open && (React.createElement(Popper, { elevated: true, tabIndex: 0, position: props.position, translateX: translate.x, translateY: translate.y, className: closing && 'closing', ref: popperRef, onClick: e => { e.stopPropagation(); e.nativeEvent.stopImmediatePropagation(); } }, props.children))));
185
+ return (_jsxs(PopoverDiv, { ref: containerRef, children: [_jsx(props.element, {}), open && (_jsx(Popper, { elevated: true, tabIndex: 0, position: props.position, translateX: translate.x, translateY: translate.y, className: closing && 'closing', ref: popperRef, onClick: e => { e.stopPropagation(); e.nativeEvent.stopImmediatePropagation(); }, children: props.children }))] }));
178
186
  }
179
187
  Popover.propTypes = {
180
188
  /** Opens the popover */
@@ -1 +1 @@
1
- {"version":3,"file":"Popover.js","sourceRoot":"","sources":["../../../src/components/Popover/Popover.tsx"],"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SAAS,CAAC,KAAK,CAAC;QACtB,gBAAgB,CAAC,QAAQ;QACzB,gBAAgB,CAAC,SAAS;QAC1B,gBAAgB,CAAC,WAAW;QAC5B,gBAAgB,CAAC,YAAY;KAChC,CAAC;IACF,qDAAqD;IACrD,UAAU,EAAE,SAAS,CAAC,IAAI;IAC1B,6BAA6B;IAC7B,OAAO,EAAE,SAAS,CAAC,IAAI;CAC1B,CAAA;AAED,OAAO,CAAC,YAAY,GAAG;IACnB,UAAU,EAAE,IAAI;IAChB,QAAQ,EAAE,gBAAgB,CAAC,WAAW;CACzC,CAAA"}
@@ -1,5 +1,5 @@
1
1
  import PropTypes from 'prop-types';
2
- declare function Spinner(props: SpinnerProp): JSX.Element;
2
+ declare function Spinner(props: SpinnerProp): import("@emotion/react/jsx-runtime").JSX.Element;
3
3
  declare namespace Spinner {
4
4
  var propTypes: {
5
5
  /** Spinner's size */
@@ -9,5 +9,5 @@ declare namespace Spinner {
9
9
  size: number;
10
10
  };
11
11
  }
12
- declare type SpinnerProp = PropTypes.InferProps<typeof Spinner.propTypes>;
12
+ type SpinnerProp = PropTypes.InferProps<typeof Spinner.propTypes>;
13
13
  export default Spinner;
@@ -1,4 +1,4 @@
1
- import React from 'react';
1
+ import { jsx as _jsx } from "@emotion/react/jsx-runtime";
2
2
  import styled from '@emotion/styled';
3
3
  import PropTypes from 'prop-types';
4
4
  import constants from '../../shared/constants';
@@ -17,7 +17,7 @@ const SpinnerDiv = styled.div `
17
17
  }
18
18
  `;
19
19
  function Spinner(props) {
20
- return React.createElement(SpinnerDiv, Object.assign({}, props));
20
+ return _jsx(SpinnerDiv, Object.assign({}, props));
21
21
  }
22
22
  Spinner.propTypes = {
23
23
  /** Spinner's size */
@@ -1 +1 @@
1
- {"version":3,"file":"Spinner.js","sourceRoot":"","sources":["../../../src/components/Spinner/Spinner.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,MAAM,MAAM,iBAAiB,CAAC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AAEF,eAAe,OAAO,CAAC"}
@@ -1,3 +1,4 @@
1
+ import React from 'react';
1
2
  interface StepProps {
2
3
  /** Name of the step to be displayed in the header */
3
4
  name: string;
@@ -6,7 +7,7 @@ interface StepProps {
6
7
  /** Marks the step as completed */
7
8
  completed?: boolean;
8
9
  }
9
- declare function Step(props: StepProps): JSX.Element;
10
+ declare function Step(props: React.PropsWithChildren<StepProps>): import("@emotion/react/jsx-runtime").JSX.Element;
10
11
  declare namespace Step {
11
12
  var defaultProps: {
12
13
  disabled: boolean;
@@ -9,7 +9,7 @@ var __rest = (this && this.__rest) || function (s, e) {
9
9
  }
10
10
  return t;
11
11
  };
12
- import React from 'react';
12
+ import { jsx as _jsx } from "@emotion/react/jsx-runtime";
13
13
  import styled from '@emotion/styled';
14
14
  const Container = styled.div `
15
15
  flex: 1;
@@ -18,7 +18,7 @@ const Container = styled.div `
18
18
  `;
19
19
  export default function Step(props) {
20
20
  const { name, disabled, completed } = props, rest = __rest(props, ["name", "disabled", "completed"]);
21
- return React.createElement(Container, Object.assign({}, rest));
21
+ return _jsx(Container, Object.assign({}, rest));
22
22
  }
23
23
  Step.defaultProps = {
24
24
  disabled: false,
@@ -1 +1 @@
1
- {"version":3,"file":"Step.js","sourceRoot":"","sources":["../../../src/components/Stepper/Step.tsx"],"names":[],"mappings":";;;;;;;;;;;AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,MAAM,MAAM,iBAAiB,CAAC;AAWrC,MAAM,SAAS,GAAG,MAAM,CAAC,GAAG,CAAA;;;;CAI3B,CAAC;AAEF,MAAM,CAAC,OAAO,UAAU,IAAI,CAAC,KAAgB;IACzC,MAAM,EAAE,IAAI,EAAE,QAAQ,EAAE,SAAS,KAAc,KAAK,EAAd,IAAI,UAAK,KAAK,EAA9C,iCAAsC,CAAQ,CAAC;IACrD,OAAO,oBAAC,SAAS,oBAAK,IAAI,EAAI,CAAC;AACnC,CAAC;AAED,IAAI,CAAC,YAAY,GAAG;IAChB,QAAQ,EAAE,KAAK;IACf,SAAS,EAAE,KAAK;CACnB,CAAA"}
1
+ {"version":3,"file":"Step.js","sourceRoot":"","sources":["../../../src/components/Stepper/Step.tsx"],"names":[],"mappings":";;;;;;;;;;;;AACA,OAAO,MAAM,MAAM,iBAAiB,CAAC;AAWrC,MAAM,SAAS,GAAG,MAAM,CAAC,GAAG,CAAA;;;;CAI3B,CAAC;AAEF,MAAM,CAAC,OAAO,UAAU,IAAI,CAAC,KAAyC;IAClE,MAAM,EAAE,IAAI,EAAE,QAAQ,EAAE,SAAS,KAAc,KAAK,EAAd,IAAI,UAAK,KAAK,EAA9C,iCAAsC,CAAQ,CAAC;IACrD,OAAO,KAAC,SAAS,oBAAK,IAAI,EAAI,CAAC;AACnC,CAAC;AAED,IAAI,CAAC,YAAY,GAAG;IAChB,QAAQ,EAAE,KAAK;IACf,SAAS,EAAE,KAAK;CACnB,CAAA"}
@@ -1,10 +1,10 @@
1
1
  import PropTypes from 'prop-types';
2
- declare type StepperProps = {
2
+ type StepperProps = {
3
3
  active: number;
4
4
  onStepClick?: (index: number) => void;
5
5
  children: any;
6
6
  };
7
- declare function Stepper(props: StepperProps): JSX.Element;
7
+ declare function Stepper(props: StepperProps): import("@emotion/react/jsx-runtime").JSX.Element;
8
8
  declare namespace Stepper {
9
9
  var propTypes: {
10
10
  /** Index of currently active step */
@@ -1,4 +1,5 @@
1
- import React, { Children, useState } from 'react';
1
+ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "@emotion/react/jsx-runtime";
2
+ import { Children, useState } from 'react';
2
3
  import styled from '@emotion/styled';
3
4
  import PropTypes from 'prop-types';
4
5
  import constants from '../../shared/constants';
@@ -97,19 +98,7 @@ export default function Stepper(props) {
97
98
  }
98
99
  return BADGE_TYPE.DISABLED;
99
100
  };
100
- return (React.createElement(Container, null,
101
- React.createElement(Header, null,
102
- Children.map(children, (child, index) => (React.createElement(React.Fragment, null,
103
- React.createElement(HeaderButton, { active: index === active, type: 'button', disabled: child.props.disabled, onClick: stepClickHandler(index) },
104
- React.createElement(Badge, { inline: true, type: getBadgeType(index, child.props.completed, child.props.disabled) }),
105
- React.createElement(Ellipsis, null, child.props.name))))),
106
- React.createElement(MobileHeader, null,
107
- React.createElement("span", null, children[active].props.name),
108
- React.createElement(Badge, { inline: true, type: BADGE_TYPE.PRIMARY },
109
- active + 1,
110
- " of ",
111
- children.length))),
112
- children[active]));
101
+ return (_jsxs(Container, { children: [_jsxs(Header, { children: [Children.map(children, (child, index) => (_jsx(_Fragment, { children: _jsxs(HeaderButton, { active: index === active, type: 'button', disabled: child.props.disabled, onClick: stepClickHandler(index), children: [_jsx(Badge, { inline: true, type: getBadgeType(index, child.props.completed, child.props.disabled) }), _jsx(Ellipsis, { children: child.props.name })] }) }))), _jsxs(MobileHeader, { children: [_jsx("span", { children: children[active].props.name }), _jsxs(Badge, { inline: true, type: BADGE_TYPE.PRIMARY, children: [active + 1, " of ", children.length] })] })] }), children[active]] }));
113
102
  }
114
103
  Stepper.propTypes = {
115
104
  /** Index of currently active step */
@@ -1 +1 @@
1
- {"version":3,"file":"Stepper.js","sourceRoot":"","sources":["../../../src/components/Stepper/Stepper.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAClD,OAAO,MAAM,MAAM,iBAAiB,CAAC;AACrC,OAAO,SAAS,MAAM,YAAY,CAAC;AACnC,OAAO,SAAS,MAAM,wBAAwB,CAAC;AAC/C,OAAO,EAAE,KAAK,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AAC7C,OAAO,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAC;AAQ/C,MAAM,SAAS,GAAG,MAAM,CAAC,GAAG,CAAA;;;;;CAK3B,CAAC;AAEF,MAAM,MAAM,GAAG,MAAM,CAAC,GAAG,CAAA;;;;yDAIgC,SAAS,CAAC,kBAAkB;;;;;;;;;kDASnC,SAAS,CAAC,UA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AC,SAAS,GAAG;IAChB,qCAAqC;IACrC,MAAM,EAAE,SAAS,CAAC,MAAM;IACxB,kDAAkD;IAClD,WAAW,EAAE,SAAS,CAAC,IAAI;CAC9B,CAAA;AAED,OAAO,CAAC,YAAY,GAAG;IACnB,MAAM,EAAE,CAAC;CACZ,CAAA"}
@@ -4,7 +4,7 @@ declare const Tab: {
4
4
  (props: PropsWithChildren<{
5
5
  name: string;
6
6
  disabled: boolean;
7
- }>): JSX.Element;
7
+ }>): import("@emotion/react/jsx-runtime").JSX.Element;
8
8
  propTypes: {
9
9
  /** Name of the tab. This shown in the tab's button */
10
10
  name: PropTypes.Validator<string>;
@@ -1,8 +1,8 @@
1
- import React from 'react';
1
+ import { Fragment as _Fragment, jsx as _jsx } from "@emotion/react/jsx-runtime";
2
2
  import PropTypes from 'prop-types';
3
3
  const Tab = (props) => {
4
4
  const { children } = props;
5
- return React.createElement(React.Fragment, null, children);
5
+ return _jsx(_Fragment, { children: children });
6
6
  };
7
7
  Tab.propTypes = {
8
8
  /** Name of the tab. This shown in the tab's button */
@@ -1 +1 @@
1
- {"version":3,"file":"Tab.js","sourceRoot":"","sources":["../../../src/components/Tabs/Tab.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4B,MAAM,OAAO,CAAC;AACjD,OAAO,SAAS,MAAM,YAAY,CAAC;AAEnC,MAAM,GAAG,GAAG,CAAC,KAA2D,EAAE,EAAE;IACxE,MAAM,EAAE,QAAQ,EAAE,GAAG,KAAK,CAAC;IAC3B,OAAO,0CAAG,QAAQ,CAAI,CAAC;AAC3B,CAAC,CAAC;AAEF,GAAG,CAAC,SAAS,GAAG;IACZ,sDAAsD;IACtD,IAAI,EAAE,SAAS,CAAC,MAAM,CAAC,UAAU;IACjC,6BAA6B;IAC7B,QAAQ,EAAE,SAAS,CAAC,IAAI;CAC3B,CAAA;AAED,GAAG,CAAC,YAAY,GAAG;IACf,QAAQ,EAAE,KAAK;CAClB,CAAA;AAED,eAAe,GAAG,CAAC"}
1
+ {"version":3,"file":"Tab.js","sourceRoot":"","sources":["../../../src/components/Tabs/Tab.tsx"],"names":[],"mappings":";AACA,OAAO,SAAS,MAAM,YAAY,CAAC;AAEnC,MAAM,GAAG,GAAG,CAAC,KAA2D,EAAE,EAAE;IACxE,MAAM,EAAE,QAAQ,EAAE,GAAG,KAAK,CAAC;IAC3B,OAAO,4BAAG,QAAQ,GAAI,CAAC;AAC3B,CAAC,CAAC;AAEF,GAAG,CAAC,SAAS,GAAG;IACZ,sDAAsD;IACtD,IAAI,EAAE,SAAS,CAAC,MAAM,CAAC,UAAU;IACjC,6BAA6B;IAC7B,QAAQ,EAAE,SAAS,CAAC,IAAI;CAC3B,CAAA;AAED,GAAG,CAAC,YAAY,GAAG;IACf,QAAQ,EAAE,KAAK;CAClB,CAAA;AAED,eAAe,GAAG,CAAC"}
@@ -6,7 +6,7 @@ interface ITabsProps {
6
6
  bodyProps?: any;
7
7
  children: any;
8
8
  }
9
- declare function Tabs(props: ITabsProps): JSX.Element;
9
+ declare function Tabs(props: ITabsProps): import("@emotion/react/jsx-runtime").JSX.Element;
10
10
  declare namespace Tabs {
11
11
  var propTypes: {
12
12
  /** Active Tab Index */