@digigov/ui 0.27.1 → 0.28.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 (172) hide show
  1. package/CHANGELOG.md +12 -1
  2. package/admin/Dropdown/__stories__/AlignRight.js +3 -3
  3. package/admin/Dropdown/__stories__/Default.js +3 -3
  4. package/admin/Dropdown/__stories__/PlacementTop.js +3 -3
  5. package/admin/Modal/Modal.stories.playwright.json +2 -2
  6. package/admin/Modal/__stories__/AlertDialog.js +2 -6
  7. package/admin/Modal/__stories__/AlertDialog.test.d.ts +1 -0
  8. package/admin/Modal/__stories__/AlertDialog.test.js +60 -0
  9. package/admin/Modal/__stories__/Default.js +1 -1
  10. package/app/Header/HeaderLogo.d.ts +2 -2
  11. package/app/Header/HeaderLogo.js +19 -19
  12. package/app/Header/HeaderSection.d.ts +2 -4
  13. package/app/Header/HeaderSection.js +20 -10
  14. package/app/Header/HeaderTitle.d.ts +2 -4
  15. package/app/Header/HeaderTitle.js +19 -19
  16. package/app/Header/index.d.ts +2 -4
  17. package/app/Header/index.js +21 -13
  18. package/app/PageTitle.js +1 -1
  19. package/core/Accordion/index.d.ts +1 -1
  20. package/core/Accordion/index.js +25 -8
  21. package/core/Blockquote/index.d.ts +2 -2
  22. package/core/Blockquote/index.js +19 -18
  23. package/core/Button/BackLink.d.ts +3 -0
  24. package/core/Button/BackLink.js +30 -0
  25. package/core/Button/ButtonLink.d.ts +3 -4
  26. package/core/Button/ButtonLink.js +20 -18
  27. package/core/Button/CallToAction.d.ts +2 -6
  28. package/core/Button/CallToAction.js +18 -29
  29. package/core/Button/ThemeToggleButton.d.ts +0 -2
  30. package/core/Button/ThemeToggleButton.js +16 -0
  31. package/core/Button/index.d.ts +3 -4
  32. package/core/Button/index.js +23 -27
  33. package/core/Divider/index.d.ts +3 -3
  34. package/core/Divider/index.js +4 -4
  35. package/core/Masthead/__stories__/Default.js +3 -1
  36. package/core/NotificationBanner/index.js +3 -11
  37. package/core/SectionBreak/index.d.ts +3 -0
  38. package/core/SectionBreak/index.js +30 -0
  39. package/core/index.d.ts +1 -0
  40. package/core/index.js +14 -0
  41. package/es/admin/Dropdown/__stories__/AlignRight.js +1 -1
  42. package/es/admin/Dropdown/__stories__/Default.js +1 -1
  43. package/es/admin/Dropdown/__stories__/PlacementTop.js +1 -1
  44. package/es/admin/Modal/Modal.stories.playwright.json +2 -2
  45. package/es/admin/Modal/__stories__/AlertDialog.js +2 -6
  46. package/es/admin/Modal/__stories__/AlertDialog.test.js +53 -0
  47. package/es/admin/Modal/__stories__/Default.js +1 -1
  48. package/es/app/Header/HeaderLogo.js +2 -16
  49. package/es/app/Header/HeaderSection.js +2 -6
  50. package/es/app/Header/HeaderTitle.js +2 -16
  51. package/es/app/Header/index.js +2 -6
  52. package/es/app/PageTitle.js +1 -1
  53. package/es/core/Accordion/index.js +1 -5
  54. package/es/core/Blockquote/index.js +2 -15
  55. package/es/core/Button/BackLink.js +3 -0
  56. package/es/core/Button/ButtonLink.js +3 -16
  57. package/es/core/Button/CallToAction.js +2 -26
  58. package/es/core/Button/ThemeToggleButton.js +18 -2
  59. package/es/core/Button/index.js +4 -22
  60. package/es/core/Divider/index.js +2 -2
  61. package/es/core/Masthead/__stories__/Default.js +3 -1
  62. package/es/core/NotificationBanner/index.js +2 -10
  63. package/es/core/SectionBreak/index.js +3 -0
  64. package/es/core/index.js +1 -0
  65. package/es/layouts/Basic/Aside/index.js +3 -0
  66. package/es/layouts/Basic/Container/index.js +3 -0
  67. package/es/registry.js +12 -0
  68. package/es/typography/Caption/index.js +1 -1
  69. package/es/typography/Heading/Heading.stories.js +6 -0
  70. package/es/typography/Heading/__stories__/Default.js +24 -0
  71. package/es/typography/Heading/index.js +3 -0
  72. package/es/typography/Heading/index.mdx +12 -0
  73. package/es/typography/HeadingCaption/HeadingCaption.stories.js +7 -0
  74. package/es/typography/HeadingCaption/__stories__/Default.js +35 -0
  75. package/es/typography/HeadingCaption/__stories__/NestedToTitle.js +15 -0
  76. package/es/typography/HeadingCaption/index.js +3 -0
  77. package/es/typography/HeadingCaption/index.mdx +16 -0
  78. package/es/typography/NormalText/index.js +1 -1
  79. package/es/typography/Paragraph/index.js +1 -0
  80. package/es/typography/Title/index.js +1 -1
  81. package/esm/admin/Dropdown/__stories__/AlignRight.js +1 -1
  82. package/esm/admin/Dropdown/__stories__/Default.js +1 -1
  83. package/esm/admin/Dropdown/__stories__/PlacementTop.js +1 -1
  84. package/esm/admin/Modal/Modal.stories.playwright.json +2 -2
  85. package/esm/admin/Modal/__stories__/AlertDialog.js +2 -6
  86. package/esm/admin/Modal/__stories__/AlertDialog.test.js +53 -0
  87. package/esm/admin/Modal/__stories__/Default.js +1 -1
  88. package/esm/app/Header/HeaderLogo.js +2 -16
  89. package/esm/app/Header/HeaderSection.js +2 -6
  90. package/esm/app/Header/HeaderTitle.js +2 -16
  91. package/esm/app/Header/index.js +2 -6
  92. package/esm/app/PageTitle.js +1 -1
  93. package/esm/core/Accordion/index.js +1 -5
  94. package/esm/core/Blockquote/index.js +2 -15
  95. package/esm/core/Button/BackLink.js +3 -0
  96. package/esm/core/Button/ButtonLink.js +3 -16
  97. package/esm/core/Button/CallToAction.js +2 -26
  98. package/esm/core/Button/ThemeToggleButton.js +18 -2
  99. package/esm/core/Button/index.js +4 -22
  100. package/esm/core/Divider/index.js +2 -2
  101. package/esm/core/Masthead/__stories__/Default.js +3 -1
  102. package/esm/core/NotificationBanner/index.js +2 -10
  103. package/esm/core/SectionBreak/index.js +3 -0
  104. package/esm/core/index.js +1 -0
  105. package/esm/index.js +1 -1
  106. package/esm/layouts/Basic/Aside/index.js +3 -0
  107. package/esm/layouts/Basic/Container/index.js +3 -0
  108. package/esm/registry.js +12 -0
  109. package/esm/typography/Caption/index.js +1 -1
  110. package/esm/typography/Heading/Heading.stories.js +6 -0
  111. package/esm/typography/Heading/__stories__/Default.js +24 -0
  112. package/esm/typography/Heading/index.js +3 -0
  113. package/esm/typography/Heading/index.mdx +12 -0
  114. package/esm/typography/HeadingCaption/HeadingCaption.stories.js +7 -0
  115. package/esm/typography/HeadingCaption/__stories__/Default.js +35 -0
  116. package/esm/typography/HeadingCaption/__stories__/NestedToTitle.js +15 -0
  117. package/esm/typography/HeadingCaption/index.js +3 -0
  118. package/esm/typography/HeadingCaption/index.mdx +16 -0
  119. package/esm/typography/NormalText/index.js +1 -1
  120. package/esm/typography/Paragraph/index.js +1 -0
  121. package/esm/typography/Title/index.js +1 -1
  122. package/layouts/Basic/Aside/index.d.ts +3 -0
  123. package/layouts/Basic/Aside/index.js +30 -0
  124. package/layouts/Basic/Container/index.d.ts +3 -0
  125. package/layouts/Basic/Container/index.js +30 -0
  126. package/package.json +2 -2
  127. package/registry.d.ts +6 -0
  128. package/registry.js +18 -0
  129. package/typography/Caption/index.d.ts +1 -1
  130. package/typography/Caption/index.js +1 -1
  131. package/typography/Heading/Heading.stories.d.ts +7 -0
  132. package/typography/{Title/Title.stories.js → Heading/Heading.stories.js} +4 -4
  133. package/typography/{Caption → Heading}/__stories__/Default.d.ts +0 -0
  134. package/typography/Heading/__stories__/Default.js +37 -0
  135. package/typography/Heading/index.d.ts +3 -0
  136. package/typography/Heading/index.js +30 -0
  137. package/typography/Heading/index.mdx +12 -0
  138. package/typography/HeadingCaption/HeadingCaption.stories.d.ts +8 -0
  139. package/typography/{Caption/Caption.stories.js → HeadingCaption/HeadingCaption.stories.js} +5 -5
  140. package/typography/{Title → HeadingCaption}/__stories__/Default.d.ts +0 -0
  141. package/typography/HeadingCaption/__stories__/Default.js +49 -0
  142. package/typography/{Caption → HeadingCaption}/__stories__/NestedToTitle.d.ts +0 -0
  143. package/typography/{Caption → HeadingCaption}/__stories__/NestedToTitle.js +5 -5
  144. package/typography/HeadingCaption/index.d.ts +3 -0
  145. package/typography/HeadingCaption/index.js +30 -0
  146. package/typography/HeadingCaption/index.mdx +16 -0
  147. package/typography/NormalText/index.d.ts +2 -4
  148. package/typography/NormalText/index.js +19 -8
  149. package/typography/Paragraph/index.d.ts +2 -5
  150. package/typography/Paragraph/index.js +19 -2
  151. package/typography/Title/index.d.ts +1 -1
  152. package/typography/Title/index.js +1 -1
  153. package/es/typography/Caption/Caption.stories.js +0 -7
  154. package/es/typography/Caption/__stories__/Default.js +0 -35
  155. package/es/typography/Caption/__stories__/NestedToTitle.js +0 -15
  156. package/es/typography/Caption/index.mdx +0 -16
  157. package/es/typography/Title/Title.stories.js +0 -6
  158. package/es/typography/Title/__stories__/Default.js +0 -24
  159. package/es/typography/Title/index.mdx +0 -12
  160. package/esm/typography/Caption/Caption.stories.js +0 -7
  161. package/esm/typography/Caption/__stories__/Default.js +0 -35
  162. package/esm/typography/Caption/__stories__/NestedToTitle.js +0 -15
  163. package/esm/typography/Caption/index.mdx +0 -16
  164. package/esm/typography/Title/Title.stories.js +0 -6
  165. package/esm/typography/Title/__stories__/Default.js +0 -24
  166. package/esm/typography/Title/index.mdx +0 -12
  167. package/typography/Caption/Caption.stories.d.ts +0 -8
  168. package/typography/Caption/__stories__/Default.js +0 -49
  169. package/typography/Caption/index.mdx +0 -16
  170. package/typography/Title/Title.stories.d.ts +0 -7
  171. package/typography/Title/__stories__/Default.js +0 -37
  172. package/typography/Title/index.mdx +0 -12
package/CHANGELOG.md CHANGED
@@ -1,6 +1,17 @@
1
1
  # Change Log - @digigov/ui
2
2
 
3
- This log was last generated on Tue, 01 Nov 2022 11:34:42 GMT and should not be manually modified.
3
+ This log was last generated on Mon, 14 Nov 2022 09:45:06 GMT and should not be manually modified.
4
+
5
+ ## 0.28.0
6
+ Mon, 14 Nov 2022 09:45:06 GMT
7
+
8
+ ### Minor changes
9
+
10
+ - Remove withDeprecation
11
+
12
+ ### Patches
13
+
14
+ - Enforce light theme on print
4
15
 
5
16
  ## 0.27.1
6
17
  Tue, 01 Nov 2022 11:34:42 GMT
@@ -17,7 +17,7 @@ var _Field = _interopRequireDefault(require("@digigov/ui/core/Field"));
17
17
 
18
18
  var _Label = _interopRequireDefault(require("@digigov/react-core/Label"));
19
19
 
20
- var _Divider = require("@digigov/ui/core/Divider");
20
+ var _Divider = _interopRequireDefault(require("@digigov/ui/core/Divider"));
21
21
 
22
22
  var _NavVertical = _interopRequireDefault(require("@digigov/react-core/NavVertical"));
23
23
 
@@ -47,7 +47,7 @@ var _ref = /*#__PURE__*/_react["default"].createElement(_Dropdown["default"], {
47
47
  role: "menuitem"
48
48
  }, /*#__PURE__*/_react["default"].createElement(_Label["default"], null, /*#__PURE__*/_react["default"].createElement(_LabelTitle.LabelTitle, null, "\u038C\u03BD\u03BF\u03BC\u03B1 \u03C0\u03B5\u03B4\u03AF\u03BF\u03C5"), /*#__PURE__*/_react["default"].createElement(_TextInput["default"], {
49
49
  name: "input-name"
50
- }))), /*#__PURE__*/_react["default"].createElement(_Divider.SectionBreak, {
50
+ }))), /*#__PURE__*/_react["default"].createElement(_Divider["default"], {
51
51
  visible: true,
52
52
  role: "separator"
53
53
  }), /*#__PURE__*/_react["default"].createElement(_NavVertical["default"], {
@@ -61,7 +61,7 @@ var _ref = /*#__PURE__*/_react["default"].createElement(_Dropdown["default"], {
61
61
  }, "\u039C\u03B5\u03C4\u03B1\u03BA\u03AF\u03BD\u03B7\u03C3\u03B7"), /*#__PURE__*/_react["default"].createElement(_NavVerticalItem["default"], {
62
62
  role: "menuitem",
63
63
  href: "#"
64
- }, "\u039F\u03C1\u03B9\u03C3\u03C4\u03B9\u03BA\u03AE \u03B4\u03B9\u03B1\u03B3\u03C1\u03B1\u03C6\u03AE")), /*#__PURE__*/_react["default"].createElement(_Divider.SectionBreak, {
64
+ }, "\u039F\u03C1\u03B9\u03C3\u03C4\u03B9\u03BA\u03AE \u03B4\u03B9\u03B1\u03B3\u03C1\u03B1\u03C6\u03AE")), /*#__PURE__*/_react["default"].createElement(_Divider["default"], {
65
65
  visible: true,
66
66
  role: "separator"
67
67
  }), /*#__PURE__*/_react["default"].createElement(_Button["default"], {
@@ -17,7 +17,7 @@ var _Field = _interopRequireDefault(require("@digigov/ui/core/Field"));
17
17
 
18
18
  var _Label = _interopRequireDefault(require("@digigov/react-core/Label"));
19
19
 
20
- var _Divider = require("@digigov/ui/core/Divider");
20
+ var _Divider = _interopRequireDefault(require("@digigov/ui/core/Divider"));
21
21
 
22
22
  var _NavVertical = _interopRequireDefault(require("@digigov/react-core/NavVertical"));
23
23
 
@@ -45,7 +45,7 @@ var _ref = /*#__PURE__*/_react["default"].createElement(_Dropdown["default"], nu
45
45
  role: "menuitem"
46
46
  }, /*#__PURE__*/_react["default"].createElement(_Label["default"], null, /*#__PURE__*/_react["default"].createElement(_LabelTitle.LabelTitle, null, "\u038C\u03BD\u03BF\u03BC\u03B1 \u03C0\u03B5\u03B4\u03AF\u03BF\u03C5"), /*#__PURE__*/_react["default"].createElement(_TextInput["default"], {
47
47
  name: "input-name"
48
- }))), /*#__PURE__*/_react["default"].createElement(_Divider.SectionBreak, {
48
+ }))), /*#__PURE__*/_react["default"].createElement(_Divider["default"], {
49
49
  visible: true,
50
50
  role: "separator"
51
51
  }), /*#__PURE__*/_react["default"].createElement(_NavVertical["default"], {
@@ -59,7 +59,7 @@ var _ref = /*#__PURE__*/_react["default"].createElement(_Dropdown["default"], nu
59
59
  }, "\u039C\u03B5\u03C4\u03B1\u03BA\u03AF\u03BD\u03B7\u03C3\u03B7"), /*#__PURE__*/_react["default"].createElement(_NavVerticalItem["default"], {
60
60
  role: "menuitem",
61
61
  href: "#"
62
- }, "\u039F\u03C1\u03B9\u03C3\u03C4\u03B9\u03BA\u03AE \u03B4\u03B9\u03B1\u03B3\u03C1\u03B1\u03C6\u03AE")), /*#__PURE__*/_react["default"].createElement(_Divider.SectionBreak, {
62
+ }, "\u039F\u03C1\u03B9\u03C3\u03C4\u03B9\u03BA\u03AE \u03B4\u03B9\u03B1\u03B3\u03C1\u03B1\u03C6\u03AE")), /*#__PURE__*/_react["default"].createElement(_Divider["default"], {
63
63
  visible: true,
64
64
  role: "separator"
65
65
  }), /*#__PURE__*/_react["default"].createElement(_Button["default"], {
@@ -17,7 +17,7 @@ var _Field = _interopRequireDefault(require("@digigov/ui/core/Field"));
17
17
 
18
18
  var _Label = _interopRequireDefault(require("@digigov/react-core/Label"));
19
19
 
20
- var _Divider = require("@digigov/ui/core/Divider");
20
+ var _Divider = _interopRequireDefault(require("@digigov/ui/core/Divider"));
21
21
 
22
22
  var _NavVertical = _interopRequireDefault(require("@digigov/react-core/NavVertical"));
23
23
 
@@ -47,7 +47,7 @@ var _ref = /*#__PURE__*/_react["default"].createElement(_Dropdown["default"], {
47
47
  role: "menuitem"
48
48
  }, /*#__PURE__*/_react["default"].createElement(_Label["default"], null, /*#__PURE__*/_react["default"].createElement(_LabelTitle.LabelTitle, null, "\u038C\u03BD\u03BF\u03BC\u03B1 \u03C0\u03B5\u03B4\u03AF\u03BF\u03C5"), /*#__PURE__*/_react["default"].createElement(_TextInput["default"], {
49
49
  name: "input-name"
50
- }))), /*#__PURE__*/_react["default"].createElement(_Divider.SectionBreak, {
50
+ }))), /*#__PURE__*/_react["default"].createElement(_Divider["default"], {
51
51
  visible: true,
52
52
  role: "separator"
53
53
  }), /*#__PURE__*/_react["default"].createElement(_NavVertical["default"], {
@@ -61,7 +61,7 @@ var _ref = /*#__PURE__*/_react["default"].createElement(_Dropdown["default"], {
61
61
  }, "\u039C\u03B5\u03C4\u03B1\u03BA\u03AF\u03BD\u03B7\u03C3\u03B7"), /*#__PURE__*/_react["default"].createElement(_NavVerticalItem["default"], {
62
62
  role: "menuitem",
63
63
  href: "#"
64
- }, "\u039F\u03C1\u03B9\u03C3\u03C4\u03B9\u03BA\u03AE \u03B4\u03B9\u03B1\u03B3\u03C1\u03B1\u03C6\u03AE")), /*#__PURE__*/_react["default"].createElement(_Divider.SectionBreak, {
64
+ }, "\u039F\u03C1\u03B9\u03C3\u03C4\u03B9\u03BA\u03AE \u03B4\u03B9\u03B1\u03B3\u03C1\u03B1\u03C6\u03AE")), /*#__PURE__*/_react["default"].createElement(_Divider["default"], {
65
65
  visible: true,
66
66
  role: "separator"
67
67
  }), /*#__PURE__*/_react["default"].createElement(_Button["default"], {
@@ -8,7 +8,7 @@
8
8
  {
9
9
  "name": "click",
10
10
  "args": {
11
- "selector": "html>body>div:nth-child(5)>button"
11
+ "selector": "text=Προσθήκη τηλεφώνου"
12
12
  }
13
13
  }
14
14
  ],
@@ -24,7 +24,7 @@
24
24
  {
25
25
  "name": "click",
26
26
  "args": {
27
- "selector": "html>body>div:nth-child(5)>button"
27
+ "selector": "text=Διαγραφή"
28
28
  }
29
29
  }
30
30
  ],
@@ -36,13 +36,9 @@ var AlertDialog = function AlertDialog() {
36
36
  modalProps = _useModal.modalProps,
37
37
  toggleModal = _useModal.toggleModal;
38
38
 
39
- return /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, /*#__PURE__*/_react["default"].createElement(_core.Button, {
40
- color: "warning",
41
- onClick: function onClick() {
42
- return toggleModal();
43
- }
44
- }, "\u0394\u03B9\u03B1\u03B3\u03C1\u03B1\u03C6\u03AE"), /*#__PURE__*/_react["default"].createElement(_core.Button, {
39
+ return /*#__PURE__*/_react["default"].createElement("div", null, /*#__PURE__*/_react["default"].createElement(_core.Button, {
45
40
  color: "warning",
41
+ id: "delete-button",
46
42
  onClick: function onClick() {
47
43
  return toggleModal();
48
44
  }
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,60 @@
1
+ "use strict";
2
+
3
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
+
5
+ var _typeof = require("@babel/runtime/helpers/typeof");
6
+
7
+ var _asyncToGenerator2 = _interopRequireDefault(require("@babel/runtime/helpers/asyncToGenerator"));
8
+
9
+ var _react = _interopRequireDefault(require("react"));
10
+
11
+ var _AlertDialog = _interopRequireDefault(require("@digigov/ui/admin/Modal/__stories__/AlertDialog"));
12
+
13
+ var _experimentalCtReact = require("@playwright/experimental-ct-react");
14
+
15
+ function _regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ _regeneratorRuntime = function _regeneratorRuntime() { return exports; }; var exports = {}, Op = Object.prototype, hasOwn = Op.hasOwnProperty, $Symbol = "function" == typeof Symbol ? Symbol : {}, iteratorSymbol = $Symbol.iterator || "@@iterator", asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator", toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag"; function define(obj, key, value) { return Object.defineProperty(obj, key, { value: value, enumerable: !0, configurable: !0, writable: !0 }), obj[key]; } try { define({}, ""); } catch (err) { define = function define(obj, key, value) { return obj[key] = value; }; } function wrap(innerFn, outerFn, self, tryLocsList) { var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator, generator = Object.create(protoGenerator.prototype), context = new Context(tryLocsList || []); return generator._invoke = function (innerFn, self, context) { var state = "suspendedStart"; return function (method, arg) { if ("executing" === state) throw new Error("Generator is already running"); if ("completed" === state) { if ("throw" === method) throw arg; return doneResult(); } for (context.method = method, context.arg = arg;;) { var delegate = context.delegate; if (delegate) { var delegateResult = maybeInvokeDelegate(delegate, context); if (delegateResult) { if (delegateResult === ContinueSentinel) continue; return delegateResult; } } if ("next" === context.method) context.sent = context._sent = context.arg;else if ("throw" === context.method) { if ("suspendedStart" === state) throw state = "completed", context.arg; context.dispatchException(context.arg); } else "return" === context.method && context.abrupt("return", context.arg); state = "executing"; var record = tryCatch(innerFn, self, context); if ("normal" === record.type) { if (state = context.done ? "completed" : "suspendedYield", record.arg === ContinueSentinel) continue; return { value: record.arg, done: context.done }; } "throw" === record.type && (state = "completed", context.method = "throw", context.arg = record.arg); } }; }(innerFn, self, context), generator; } function tryCatch(fn, obj, arg) { try { return { type: "normal", arg: fn.call(obj, arg) }; } catch (err) { return { type: "throw", arg: err }; } } exports.wrap = wrap; var ContinueSentinel = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var IteratorPrototype = {}; define(IteratorPrototype, iteratorSymbol, function () { return this; }); var getProto = Object.getPrototypeOf, NativeIteratorPrototype = getProto && getProto(getProto(values([]))); NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol) && (IteratorPrototype = NativeIteratorPrototype); var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype); function defineIteratorMethods(prototype) { ["next", "throw", "return"].forEach(function (method) { define(prototype, method, function (arg) { return this._invoke(method, arg); }); }); } function AsyncIterator(generator, PromiseImpl) { function invoke(method, arg, resolve, reject) { var record = tryCatch(generator[method], generator, arg); if ("throw" !== record.type) { var result = record.arg, value = result.value; return value && "object" == _typeof(value) && hasOwn.call(value, "__await") ? PromiseImpl.resolve(value.__await).then(function (value) { invoke("next", value, resolve, reject); }, function (err) { invoke("throw", err, resolve, reject); }) : PromiseImpl.resolve(value).then(function (unwrapped) { result.value = unwrapped, resolve(result); }, function (error) { return invoke("throw", error, resolve, reject); }); } reject(record.arg); } var previousPromise; this._invoke = function (method, arg) { function callInvokeWithMethodAndArg() { return new PromiseImpl(function (resolve, reject) { invoke(method, arg, resolve, reject); }); } return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); }; } function maybeInvokeDelegate(delegate, context) { var method = delegate.iterator[context.method]; if (undefined === method) { if (context.delegate = null, "throw" === context.method) { if (delegate.iterator["return"] && (context.method = "return", context.arg = undefined, maybeInvokeDelegate(delegate, context), "throw" === context.method)) return ContinueSentinel; context.method = "throw", context.arg = new TypeError("The iterator does not provide a 'throw' method"); } return ContinueSentinel; } var record = tryCatch(method, delegate.iterator, context.arg); if ("throw" === record.type) return context.method = "throw", context.arg = record.arg, context.delegate = null, ContinueSentinel; var info = record.arg; return info ? info.done ? (context[delegate.resultName] = info.value, context.next = delegate.nextLoc, "return" !== context.method && (context.method = "next", context.arg = undefined), context.delegate = null, ContinueSentinel) : info : (context.method = "throw", context.arg = new TypeError("iterator result is not an object"), context.delegate = null, ContinueSentinel); } function pushTryEntry(locs) { var entry = { tryLoc: locs[0] }; 1 in locs && (entry.catchLoc = locs[1]), 2 in locs && (entry.finallyLoc = locs[2], entry.afterLoc = locs[3]), this.tryEntries.push(entry); } function resetTryEntry(entry) { var record = entry.completion || {}; record.type = "normal", delete record.arg, entry.completion = record; } function Context(tryLocsList) { this.tryEntries = [{ tryLoc: "root" }], tryLocsList.forEach(pushTryEntry, this), this.reset(!0); } function values(iterable) { if (iterable) { var iteratorMethod = iterable[iteratorSymbol]; if (iteratorMethod) return iteratorMethod.call(iterable); if ("function" == typeof iterable.next) return iterable; if (!isNaN(iterable.length)) { var i = -1, next = function next() { for (; ++i < iterable.length;) { if (hasOwn.call(iterable, i)) return next.value = iterable[i], next.done = !1, next; } return next.value = undefined, next.done = !0, next; }; return next.next = next; } } return { next: doneResult }; } function doneResult() { return { value: undefined, done: !0 }; } return GeneratorFunction.prototype = GeneratorFunctionPrototype, define(Gp, "constructor", GeneratorFunctionPrototype), define(GeneratorFunctionPrototype, "constructor", GeneratorFunction), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), exports.isGeneratorFunction = function (genFun) { var ctor = "function" == typeof genFun && genFun.constructor; return !!ctor && (ctor === GeneratorFunction || "GeneratorFunction" === (ctor.displayName || ctor.name)); }, exports.mark = function (genFun) { return Object.setPrototypeOf ? Object.setPrototypeOf(genFun, GeneratorFunctionPrototype) : (genFun.__proto__ = GeneratorFunctionPrototype, define(genFun, toStringTagSymbol, "GeneratorFunction")), genFun.prototype = Object.create(Gp), genFun; }, exports.awrap = function (arg) { return { __await: arg }; }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, asyncIteratorSymbol, function () { return this; }), exports.AsyncIterator = AsyncIterator, exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) { void 0 === PromiseImpl && (PromiseImpl = Promise); var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl); return exports.isGeneratorFunction(outerFn) ? iter : iter.next().then(function (result) { return result.done ? result.value : iter.next(); }); }, defineIteratorMethods(Gp), define(Gp, toStringTagSymbol, "Generator"), define(Gp, iteratorSymbol, function () { return this; }), define(Gp, "toString", function () { return "[object Generator]"; }), exports.keys = function (object) { var keys = []; for (var key in object) { keys.push(key); } return keys.reverse(), function next() { for (; keys.length;) { var key = keys.pop(); if (key in object) return next.value = key, next.done = !1, next; } return next.done = !0, next; }; }, exports.values = values, Context.prototype = { constructor: Context, reset: function reset(skipTempReset) { if (this.prev = 0, this.next = 0, this.sent = this._sent = undefined, this.done = !1, this.delegate = null, this.method = "next", this.arg = undefined, this.tryEntries.forEach(resetTryEntry), !skipTempReset) for (var name in this) { "t" === name.charAt(0) && hasOwn.call(this, name) && !isNaN(+name.slice(1)) && (this[name] = undefined); } }, stop: function stop() { this.done = !0; var rootRecord = this.tryEntries[0].completion; if ("throw" === rootRecord.type) throw rootRecord.arg; return this.rval; }, dispatchException: function dispatchException(exception) { if (this.done) throw exception; var context = this; function handle(loc, caught) { return record.type = "throw", record.arg = exception, context.next = loc, caught && (context.method = "next", context.arg = undefined), !!caught; } for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i], record = entry.completion; if ("root" === entry.tryLoc) return handle("end"); if (entry.tryLoc <= this.prev) { var hasCatch = hasOwn.call(entry, "catchLoc"), hasFinally = hasOwn.call(entry, "finallyLoc"); if (hasCatch && hasFinally) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } else if (hasCatch) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); } else { if (!hasFinally) throw new Error("try statement without catch or finally"); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } } } }, abrupt: function abrupt(type, arg) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc <= this.prev && hasOwn.call(entry, "finallyLoc") && this.prev < entry.finallyLoc) { var finallyEntry = entry; break; } } finallyEntry && ("break" === type || "continue" === type) && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc && (finallyEntry = null); var record = finallyEntry ? finallyEntry.completion : {}; return record.type = type, record.arg = arg, finallyEntry ? (this.method = "next", this.next = finallyEntry.finallyLoc, ContinueSentinel) : this.complete(record); }, complete: function complete(record, afterLoc) { if ("throw" === record.type) throw record.arg; return "break" === record.type || "continue" === record.type ? this.next = record.arg : "return" === record.type ? (this.rval = this.arg = record.arg, this.method = "return", this.next = "end") : "normal" === record.type && afterLoc && (this.next = afterLoc), ContinueSentinel; }, finish: function finish(finallyLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.finallyLoc === finallyLoc) return this.complete(entry.completion, entry.afterLoc), resetTryEntry(entry), ContinueSentinel; } }, "catch": function _catch(tryLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc === tryLoc) { var record = entry.completion; if ("throw" === record.type) { var thrown = record.arg; resetTryEntry(entry); } return thrown; } } throw new Error("illegal catch attempt"); }, delegateYield: function delegateYield(iterable, resultName, nextLoc) { return this.delegate = { iterator: values(iterable), resultName: resultName, nextLoc: nextLoc }, "next" === this.method && (this.arg = undefined), ContinueSentinel; } }, exports; }
16
+
17
+ var _ref3 = /*#__PURE__*/_react["default"].createElement(_AlertDialog["default"], null);
18
+
19
+ (0, _experimentalCtReact.test)('open modal', /*#__PURE__*/function () {
20
+ var _ref2 = (0, _asyncToGenerator2["default"])( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(_ref) {
21
+ var mount, page, component;
22
+ return _regeneratorRuntime().wrap(function _callee$(_context) {
23
+ while (1) {
24
+ switch (_context.prev = _context.next) {
25
+ case 0:
26
+ mount = _ref.mount, page = _ref.page;
27
+ _context.next = 3;
28
+ return mount(_ref3);
29
+
30
+ case 3:
31
+ component = _context.sent;
32
+ _context.next = 6;
33
+ return (0, _experimentalCtReact.expect)(component).toContainText('Διαγραφή');
34
+
35
+ case 6:
36
+ _context.next = 8;
37
+ return page.click('#delete-button');
38
+
39
+ case 8:
40
+ _context.t0 = _experimentalCtReact.expect;
41
+ _context.next = 11;
42
+ return page.screenshot();
43
+
44
+ case 11:
45
+ _context.t1 = _context.sent;
46
+ _context.next = 14;
47
+ return (0, _context.t0)(_context.t1).toMatchSnapshot();
48
+
49
+ case 14:
50
+ case "end":
51
+ return _context.stop();
52
+ }
53
+ }
54
+ }, _callee);
55
+ }));
56
+
57
+ return function (_x) {
58
+ return _ref2.apply(this, arguments);
59
+ };
60
+ }());
@@ -41,7 +41,7 @@ var Default = function Default() {
41
41
  toggleModal = _useModal.toggleModal,
42
42
  modalProps = _useModal.modalProps;
43
43
 
44
- return /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, /*#__PURE__*/_react["default"].createElement(_core.Button, {
44
+ return /*#__PURE__*/_react["default"].createElement("div", null, /*#__PURE__*/_react["default"].createElement(_core.Button, {
45
45
  onClick: function onClick() {
46
46
  return toggleModal();
47
47
  }
@@ -1,3 +1,3 @@
1
- /// <reference types="react" />
2
- export declare const HeaderLogo: import("react").ForwardRefExoticComponent<Pick<import("@digigov/react-core/HeaderLogo").HeaderLogoProps, "slot" | "style" | "title" | "as" | "className" | "color" | "id" | "lang" | "media" | "target" | "type" | "role" | "tabIndex" | "href" | "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" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "placeholder" | "spellCheck" | "translate" | "radioGroup" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "download" | "hrefLang" | "ping" | "rel" | "referrerPolicy" | "src" | "margin" | "marginTop" | "marginBottom" | "marginLeft" | "marginRight" | "padding" | "paddingTop" | "paddingBottom" | "paddingLeft" | "paddingRight" | "printHidden" | "altText"> & import("react").RefAttributes<HTMLAnchorElement>>;
1
+ import HeaderLogo from '@digigov/react-core/HeaderLogo';
2
+ export * from '@digigov/react-core/HeaderLogo';
3
3
  export default HeaderLogo;
@@ -1,30 +1,30 @@
1
1
  "use strict";
2
2
 
3
- var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
3
+ var _typeof = require("@babel/runtime/helpers/typeof");
4
4
 
5
5
  Object.defineProperty(exports, "__esModule", {
6
6
  value: true
7
7
  });
8
- exports["default"] = exports.HeaderLogo = void 0;
8
+ var _exportNames = {};
9
+ exports["default"] = void 0;
9
10
 
10
- var _HeaderLogo = _interopRequireDefault(require("@digigov/react-core/HeaderLogo"));
11
+ var _HeaderLogo = _interopRequireWildcard(require("@digigov/react-core/HeaderLogo"));
11
12
 
12
- var _withDeprecation = _interopRequireDefault(require("@digigov/ui/utils/withDeprecation"));
13
-
14
- var HeaderLogo = (0, _withDeprecation["default"])(_HeaderLogo["default"], {
15
- name: 'HeaderLogo',
16
- props: {
17
- height: {
18
- warning: true
19
- },
20
- linkprops: {
21
- warning: true
22
- },
23
- label: {
24
- warning: true
13
+ Object.keys(_HeaderLogo).forEach(function (key) {
14
+ if (key === "default" || key === "__esModule") return;
15
+ if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
16
+ if (key in exports && exports[key] === _HeaderLogo[key]) return;
17
+ Object.defineProperty(exports, key, {
18
+ enumerable: true,
19
+ get: function get() {
20
+ return _HeaderLogo[key];
25
21
  }
26
- }
22
+ });
27
23
  });
28
- exports.HeaderLogo = HeaderLogo;
29
- var _default = HeaderLogo;
24
+
25
+ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
26
+
27
+ function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
28
+
29
+ var _default = _HeaderLogo["default"];
30
30
  exports["default"] = _default;
@@ -1,5 +1,3 @@
1
- /// <reference types="react" />
2
- import { HeaderSectionProps as CoreHeaderSectionProps } from '@digigov/react-core/HeaderSection';
3
- export declare type HeaderSectionProps = CoreHeaderSectionProps;
4
- export declare const HeaderSection: import("react").ForwardRefExoticComponent<Pick<CoreHeaderSectionProps, "slot" | "style" | "title" | "as" | "className" | "color" | "id" | "lang" | "role" | "tabIndex" | "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" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "placeholder" | "spellCheck" | "translate" | "radioGroup" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "margin" | "marginTop" | "marginBottom" | "marginLeft" | "marginRight" | "padding" | "paddingTop" | "paddingBottom" | "paddingLeft" | "paddingRight" | "printHidden"> & import("react").RefAttributes<HTMLDivElement>>;
1
+ import HeaderSection from '@digigov/react-core/HeaderSection';
2
+ export * from '@digigov/react-core/HeaderSection';
5
3
  export default HeaderSection;
@@ -1,20 +1,30 @@
1
1
  "use strict";
2
2
 
3
- var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
3
+ var _typeof = require("@babel/runtime/helpers/typeof");
4
4
 
5
5
  Object.defineProperty(exports, "__esModule", {
6
6
  value: true
7
7
  });
8
- exports["default"] = exports.HeaderSection = void 0;
8
+ var _exportNames = {};
9
+ exports["default"] = void 0;
9
10
 
10
- var _HeaderSection = _interopRequireDefault(require("@digigov/react-core/HeaderSection"));
11
+ var _HeaderSection = _interopRequireWildcard(require("@digigov/react-core/HeaderSection"));
11
12
 
12
- var _withDeprecation = _interopRequireDefault(require("@digigov/ui/utils/withDeprecation"));
13
-
14
- var HeaderSection = (0, _withDeprecation["default"])(_HeaderSection["default"], {
15
- name: 'HeaderSection',
16
- rename: 'HeaderSection'
13
+ Object.keys(_HeaderSection).forEach(function (key) {
14
+ if (key === "default" || key === "__esModule") return;
15
+ if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
16
+ if (key in exports && exports[key] === _HeaderSection[key]) return;
17
+ Object.defineProperty(exports, key, {
18
+ enumerable: true,
19
+ get: function get() {
20
+ return _HeaderSection[key];
21
+ }
22
+ });
17
23
  });
18
- exports.HeaderSection = HeaderSection;
19
- var _default = HeaderSection;
24
+
25
+ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
26
+
27
+ function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
28
+
29
+ var _default = _HeaderSection["default"];
20
30
  exports["default"] = _default;
@@ -1,5 +1,3 @@
1
- /// <reference types="react" />
2
- import { HeaderTitleProps as CoreHeaderTitleProps } from '@digigov/react-core/HeaderTitle';
3
- export declare type HeaderTitleProps = CoreHeaderTitleProps;
4
- export declare const HeaderTitle: import("react").ForwardRefExoticComponent<Pick<CoreHeaderTitleProps, "slot" | "style" | "title" | "as" | "className" | "color" | "id" | "lang" | "media" | "target" | "type" | "role" | "tabIndex" | "href" | "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" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "placeholder" | "spellCheck" | "translate" | "radioGroup" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "download" | "hrefLang" | "ping" | "rel" | "referrerPolicy" | "margin" | "marginTop" | "marginBottom" | "marginLeft" | "marginRight" | "padding" | "paddingTop" | "paddingBottom" | "paddingLeft" | "paddingRight" | "printHidden"> & import("react").RefAttributes<HTMLAnchorElement>>;
1
+ import HeaderTitle from '@digigov/react-core/HeaderTitle';
2
+ export * from '@digigov/react-core/HeaderTitle';
5
3
  export default HeaderTitle;
@@ -1,30 +1,30 @@
1
1
  "use strict";
2
2
 
3
- var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
3
+ var _typeof = require("@babel/runtime/helpers/typeof");
4
4
 
5
5
  Object.defineProperty(exports, "__esModule", {
6
6
  value: true
7
7
  });
8
- exports["default"] = exports.HeaderTitle = void 0;
8
+ var _exportNames = {};
9
+ exports["default"] = void 0;
9
10
 
10
- var _HeaderTitle = _interopRequireDefault(require("@digigov/react-core/HeaderTitle"));
11
+ var _HeaderTitle = _interopRequireWildcard(require("@digigov/react-core/HeaderTitle"));
11
12
 
12
- var _withDeprecation = _interopRequireDefault(require("@digigov/ui/utils/withDeprecation"));
13
-
14
- var HeaderTitle = (0, _withDeprecation["default"])(_HeaderTitle["default"], {
15
- name: 'Header',
16
- props: {
17
- xs: {
18
- error: true
19
- },
20
- linkProps: {
21
- error: 'The `linkProps` property is deprecated. You can use native anchor link props instead.'
22
- },
23
- linkComponent: {
24
- error: 'The `linkComponent` property is deprecated.'
13
+ Object.keys(_HeaderTitle).forEach(function (key) {
14
+ if (key === "default" || key === "__esModule") return;
15
+ if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
16
+ if (key in exports && exports[key] === _HeaderTitle[key]) return;
17
+ Object.defineProperty(exports, key, {
18
+ enumerable: true,
19
+ get: function get() {
20
+ return _HeaderTitle[key];
25
21
  }
26
- }
22
+ });
27
23
  });
28
- exports.HeaderTitle = HeaderTitle;
29
- var _default = HeaderTitle;
24
+
25
+ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
26
+
27
+ function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
28
+
29
+ var _default = _HeaderTitle["default"];
30
30
  exports["default"] = _default;
@@ -1,7 +1,5 @@
1
- /// <reference types="react" />
2
- import { HeaderProps as CoreHeaderProps } from '@digigov/react-core/Header';
3
- export declare type HeaderProps = CoreHeaderProps;
4
- export declare const Header: import("react").ForwardRefExoticComponent<Pick<CoreHeaderProps, "slot" | "style" | "title" | "as" | "className" | "color" | "id" | "lang" | "role" | "tabIndex" | "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" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "placeholder" | "spellCheck" | "translate" | "radioGroup" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "margin" | "marginTop" | "marginBottom" | "marginLeft" | "marginRight" | "padding" | "paddingTop" | "paddingBottom" | "paddingLeft" | "paddingRight" | "printHidden"> & import("react").RefAttributes<HTMLElement>>;
1
+ import Header from '@digigov/react-core/Header';
2
+ export * from '@digigov/react-core/Header';
5
3
  export * from '@digigov/ui/app/Header/HeaderTitle';
6
4
  export * from '@digigov/ui/app/Header/HeaderLogo';
7
5
  export * from '@digigov/ui/app/Header/HeaderSection';
@@ -1,18 +1,26 @@
1
1
  "use strict";
2
2
 
3
- var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
3
+ var _typeof = require("@babel/runtime/helpers/typeof");
4
4
 
5
5
  Object.defineProperty(exports, "__esModule", {
6
6
  value: true
7
7
  });
8
- var _exportNames = {
9
- Header: true
10
- };
11
- exports["default"] = exports.Header = void 0;
8
+ var _exportNames = {};
9
+ exports["default"] = void 0;
12
10
 
13
- var _Header = _interopRequireDefault(require("@digigov/react-core/Header"));
11
+ var _Header = _interopRequireWildcard(require("@digigov/react-core/Header"));
14
12
 
15
- var _withDeprecation = _interopRequireDefault(require("@digigov/ui/utils/withDeprecation"));
13
+ Object.keys(_Header).forEach(function (key) {
14
+ if (key === "default" || key === "__esModule") return;
15
+ if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
16
+ if (key in exports && exports[key] === _Header[key]) return;
17
+ Object.defineProperty(exports, key, {
18
+ enumerable: true,
19
+ get: function get() {
20
+ return _Header[key];
21
+ }
22
+ });
23
+ });
16
24
 
17
25
  var _HeaderTitle = require("@digigov/ui/app/Header/HeaderTitle");
18
26
 
@@ -97,10 +105,10 @@ Object.keys(_HeaderSubtitle).forEach(function (key) {
97
105
  }
98
106
  });
99
107
  });
100
- var Header = (0, _withDeprecation["default"])(_Header["default"], {
101
- name: 'Header',
102
- props: {}
103
- });
104
- exports.Header = Header;
105
- var _default = Header;
108
+
109
+ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
110
+
111
+ function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
112
+
113
+ var _default = _Header["default"];
106
114
  exports["default"] = _default;
package/app/PageTitle.js CHANGED
@@ -40,7 +40,7 @@ var PageTitleSection = (0, _withDeprecation["default"])(function (_ref2) {
40
40
  exports.PageTitleSection = PageTitleSection;
41
41
  var PageTitleCaption = (0, _withDeprecation["default"])(_Caption["default"], {
42
42
  name: 'PageTitleCaption',
43
- rename: 'Caption'
43
+ rename: 'HeadingCaption'
44
44
  });
45
45
  exports.PageTitleCaption = PageTitleCaption;
46
46
  var PageTitleHeading = (0, _withDeprecation["default"])(function (_ref3) {
@@ -6,7 +6,6 @@ import AccordionSectionSummaryHeading from '@digigov/react-core/AccordionSection
6
6
  import AccordionSectionSummary from '@digigov/react-core/AccordionSectionSummary';
7
7
  import AccordionControls from '@digigov/react-core/AccordionControls';
8
8
  import { UseTogglableSectionsReturn } from '@digigov/ui/hooks/useTogglableSections';
9
- export declare const AccordionSectionHeader: React.ForwardRefExoticComponent<Pick<import("@digigov/react-core/AccordionSectionHeader").AccordionSectionHeaderProps, "slot" | "style" | "title" | "as" | "className" | "color" | "id" | "lang" | "role" | "tabIndex" | "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" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "placeholder" | "spellCheck" | "translate" | "radioGroup" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "margin" | "marginTop" | "marginBottom" | "marginLeft" | "marginRight" | "padding" | "paddingTop" | "paddingBottom" | "paddingLeft" | "paddingRight" | "printHidden"> & React.RefAttributes<HTMLElement>>;
10
9
  export declare const AccordionItemDetails: React.ForwardRefExoticComponent<Pick<import("@digigov/react-core/AccordionSectionContent").AccordionSectionContentProps, "slot" | "style" | "title" | "as" | "className" | "color" | "id" | "lang" | "role" | "tabIndex" | "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" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "placeholder" | "spellCheck" | "translate" | "radioGroup" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "margin" | "marginTop" | "marginBottom" | "marginLeft" | "marginRight" | "padding" | "paddingTop" | "paddingBottom" | "paddingLeft" | "paddingRight" | "printHidden"> & React.RefAttributes<HTMLDivElement>>;
11
10
  export declare const AccordionItemSummary: ({ children, ...props }: {
12
11
  [x: string]: any;
@@ -19,5 +18,6 @@ export interface UseAccordionProps {
19
18
  export interface UseAccordionReturn extends UseTogglableSectionsReturn {
20
19
  }
21
20
  declare const useAccordion: (props: UseAccordionProps) => UseAccordionReturn;
21
+ export * from '@digigov/react-core/AccordionSectionHeader';
22
22
  export { Accordion, AccordionControls, AccordionSection, AccordionSectionContent, AccordionSectionSummary, AccordionSectionSummaryHeading, useAccordion, };
23
23
  export default Accordion;