@digigov/form 0.4.2 → 0.4.5

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 (117) hide show
  1. package/CHANGELOG.md +145 -0
  2. package/Field/index.js +1 -1
  3. package/Fieldset/index.js +1 -1
  4. package/Questions/Step/StepDescription.js +1 -1
  5. package/Questions/Step/StepTitle.js +1 -1
  6. package/Questions/Step/index.js +1 -1
  7. package/Questions/index.js +1 -1
  8. package/es/inputs/FileInput/index.js +0 -2
  9. package/es/inputs/Radio/index.js +3 -2
  10. package/esm/index.js +5 -0
  11. package/esm/inputs/FileInput/index.js +0 -2
  12. package/esm/inputs/Radio/index.js +3 -2
  13. package/index.js +2 -1
  14. package/inputs/FileInput/index.js +0 -2
  15. package/inputs/Radio/index.js +3 -2
  16. package/inputs/index.js +10 -10
  17. package/{Field → libs/form/src/Field}/ConditionalField.d.ts +0 -0
  18. package/{Field → libs/form/src/Field}/index.d.ts +0 -0
  19. package/{Fieldset → libs/form/src/Fieldset}/index.d.ts +0 -0
  20. package/{Questions → libs/form/src/Questions}/Step/ReviewStep.d.ts +0 -0
  21. package/{Questions → libs/form/src/Questions}/Step/StepDescription.d.ts +0 -0
  22. package/{Questions → libs/form/src/Questions}/Step/StepForm.d.ts +0 -0
  23. package/{Questions → libs/form/src/Questions}/Step/StepQuote.d.ts +0 -0
  24. package/{Questions → libs/form/src/Questions}/Step/StepTitle.d.ts +0 -0
  25. package/{Questions → libs/form/src/Questions}/Step/index.d.ts +0 -0
  26. package/{Questions → libs/form/src/Questions}/index.d.ts +0 -0
  27. package/{Questions → libs/form/src/Questions}/index.spec.d.ts +0 -0
  28. package/{index.d.ts → libs/form/src/index.d.ts} +0 -0
  29. package/{inputs → libs/form/src/inputs}/Checkboxes/index.d.ts +0 -0
  30. package/{inputs → libs/form/src/inputs}/FileInput/index.d.ts +0 -0
  31. package/{inputs → libs/form/src/inputs}/Input/index.d.ts +0 -0
  32. package/{inputs → libs/form/src/inputs}/Label/index.d.ts +1 -0
  33. package/{inputs → libs/form/src/inputs}/Radio/index.d.ts +0 -0
  34. package/{inputs → libs/form/src/inputs}/Select/index.d.ts +0 -0
  35. package/{inputs → libs/form/src/inputs}/index.d.ts +0 -0
  36. package/{utils.d.ts → libs/form/src/utils.d.ts} +0 -0
  37. package/{validators.d.ts → libs/form/src/validators.d.ts} +0 -0
  38. package/{validators.spec.d.ts → libs/form/src/validators.spec.d.ts} +0 -0
  39. package/libs/ui/src/app/PageTitle.d.ts +10 -0
  40. package/libs/ui/src/app/i18n.d.ts +10 -0
  41. package/libs/ui/src/core/Accordion/index.d.ts +21 -0
  42. package/libs/ui/src/core/Blockquote/index.d.ts +3 -0
  43. package/libs/ui/src/core/Button/BackButton.d.ts +3 -0
  44. package/libs/ui/src/core/Button/ButtonLink.d.ts +4 -0
  45. package/libs/ui/src/core/Button/CallToAction.d.ts +7 -0
  46. package/libs/ui/src/core/Button/Icon.d.ts +2 -0
  47. package/libs/ui/src/core/Button/index.d.ts +14 -0
  48. package/libs/ui/src/core/Details/index.d.ts +5 -0
  49. package/libs/ui/src/core/ErrorSummary/index.d.ts +3 -0
  50. package/libs/ui/src/core/Link/index.d.ts +17 -0
  51. package/libs/ui/src/core/List/List.d.ts +3 -0
  52. package/libs/ui/src/core/List/ListItem.d.ts +3 -0
  53. package/libs/ui/src/core/List/ListItemContent.d.ts +7 -0
  54. package/libs/ui/src/core/List/ListItemIcon.d.ts +7 -0
  55. package/libs/ui/src/core/List/ListItemText.d.ts +8 -0
  56. package/libs/ui/src/core/List/ListItemTitle.d.ts +10 -0
  57. package/libs/ui/src/core/List/index.d.ts +7 -0
  58. package/libs/ui/src/core/NavList/NavList.d.ts +17 -0
  59. package/libs/ui/src/core/NavList/NavListContext.d.ts +20 -0
  60. package/libs/ui/src/core/NavList/NavListItem.d.ts +13 -0
  61. package/libs/ui/src/core/NavList/NavListItemBase.d.ts +16 -0
  62. package/libs/ui/src/core/NavList/NavListSubMenu.d.ts +8 -0
  63. package/libs/ui/src/core/NavList/index.d.ts +5 -0
  64. package/libs/ui/src/core/NotificationBanner/index.d.ts +17 -0
  65. package/libs/ui/src/core/ServiceBadge/index.d.ts +8 -0
  66. package/libs/ui/src/core/SummaryList/index.d.ts +7 -0
  67. package/libs/ui/src/core/Tabs/index.d.ts +16 -0
  68. package/libs/ui/src/core/WarningText/index.d.ts +3 -0
  69. package/libs/ui/src/core/index.d.ts +14 -0
  70. package/libs/ui/src/hooks/useTogglableSections.d.ts +18 -0
  71. package/libs/ui/src/locales/el.d.ts +46 -0
  72. package/libs/ui/src/router/index.d.ts +9 -0
  73. package/libs/ui/src/typography/Caption.d.ts +7 -0
  74. package/libs/ui/src/typography/NormalText.d.ts +5 -0
  75. package/libs/ui/src/typography/Paragraph.d.ts +6 -0
  76. package/libs/ui/src/typography/Title.d.ts +9 -0
  77. package/libs/ui/src/utils/withDeprecation.d.ts +16 -0
  78. package/libs-ui/react-core/src/Accordion/index.d.ts +10 -0
  79. package/libs-ui/react-core/src/AccordionControls/index.d.ts +9 -0
  80. package/libs-ui/react-core/src/AccordionSection/index.d.ts +15 -0
  81. package/libs-ui/react-core/src/AccordionSectionContent/index.d.ts +10 -0
  82. package/libs-ui/react-core/src/AccordionSectionHeader/index.d.ts +9 -0
  83. package/libs-ui/react-core/src/BackLink/index.d.ts +13 -0
  84. package/libs-ui/react-core/src/Blockquote/index.d.ts +9 -0
  85. package/libs-ui/react-core/src/Button/index.d.ts +21 -0
  86. package/libs-ui/react-core/src/ButtonLink/index.d.ts +17 -0
  87. package/libs-ui/react-core/src/CallToAction/index.d.ts +10 -0
  88. package/libs-ui/react-core/src/Details/index.d.ts +10 -0
  89. package/libs-ui/react-core/src/DetailsContent/index.d.ts +10 -0
  90. package/libs-ui/react-core/src/DetailsSummary/index.d.ts +9 -0
  91. package/libs-ui/react-core/src/ErrorSummary/index.d.ts +9 -0
  92. package/libs-ui/react-core/src/Heading/index.d.ts +21 -0
  93. package/libs-ui/react-core/src/HeadingCaption/index.d.ts +15 -0
  94. package/libs-ui/react-core/src/List/index.d.ts +18 -0
  95. package/libs-ui/react-core/src/ListItem/index.d.ts +9 -0
  96. package/libs-ui/react-core/src/NormalText/index.d.ts +28 -0
  97. package/libs-ui/react-core/src/NotificationBanner/index.d.ts +17 -0
  98. package/libs-ui/react-core/src/NotificationBannerContent/index.d.ts +12 -0
  99. package/libs-ui/react-core/src/NotificationBannerHeader/index.d.ts +11 -0
  100. package/libs-ui/react-core/src/NotificationBannerHeading/index.d.ts +11 -0
  101. package/libs-ui/react-core/src/Paragraph/index.d.ts +26 -0
  102. package/libs-ui/react-core/src/PhaseBanner/index.d.ts +15 -0
  103. package/libs-ui/react-core/src/PhaseBannerTag/index.d.ts +9 -0
  104. package/libs-ui/react-core/src/SectionBreak/index.d.ts +18 -0
  105. package/libs-ui/react-core/src/SummaryList/index.d.ts +10 -0
  106. package/libs-ui/react-core/src/SummaryListItem/index.d.ts +10 -0
  107. package/libs-ui/react-core/src/SummaryListItemAction/index.d.ts +10 -0
  108. package/libs-ui/react-core/src/SummaryListItemKey/index.d.ts +10 -0
  109. package/libs-ui/react-core/src/SummaryListItemValue/index.d.ts +9 -0
  110. package/libs-ui/react-core/src/Tabs/index.d.ts +10 -0
  111. package/libs-ui/react-core/src/TabsHeading/index.d.ts +15 -0
  112. package/libs-ui/react-core/src/TabsList/index.d.ts +10 -0
  113. package/libs-ui/react-core/src/TabsListItem/index.d.ts +20 -0
  114. package/libs-ui/react-core/src/TabsPanel/index.d.ts +16 -0
  115. package/libs-ui/react-core/src/WarningText/index.d.ts +11 -0
  116. package/package.json +1 -1
  117. package/validators.js +2 -2
package/CHANGELOG.md ADDED
@@ -0,0 +1,145 @@
1
+ # Change Log - @digigov/form
2
+
3
+ This log was last generated on Thu, 30 Dec 2021 12:54:03 GMT and should not be manually modified.
4
+
5
+ ## 0.4.5
6
+ Thu, 30 Dec 2021 12:54:03 GMT
7
+
8
+ _Version update only_
9
+
10
+ ## 0.4.4
11
+ Tue, 02 Nov 2021 13:03:39 GMT
12
+
13
+ _Version update only_
14
+
15
+ ## 0.4.3
16
+ Mon, 04 Oct 2021 14:32:54 GMT
17
+
18
+ ### Patches
19
+
20
+ - Add a disabled property for radio button options
21
+
22
+ ## 0.4.2
23
+ Wed, 22 Sep 2021 10:15:42 GMT
24
+
25
+ _Version update only_
26
+
27
+ ## 0.4.1
28
+ Wed, 01 Sep 2021 15:42:51 GMT
29
+
30
+ ### Patches
31
+
32
+ - fix memoize of props
33
+
34
+ ## 0.4.0
35
+ Thu, 12 Aug 2021 08:56:35 GMT
36
+
37
+ ### Minor changes
38
+
39
+ - Add support for using the `@digigov/form` React components declaratively, defining props directly in the JSX and not having the use the `FormBuilder` or `Questions` components that are based in `React.Context`.
40
+
41
+ ## 0.3.22
42
+ Thu, 12 Aug 2021 06:18:14 GMT
43
+
44
+ _Version update only_
45
+
46
+ ## 0.3.21
47
+ Tue, 03 Aug 2021 12:09:02 GMT
48
+
49
+ _Version update only_
50
+
51
+ ## 0.3.20
52
+ Tue, 03 Aug 2021 10:22:51 GMT
53
+
54
+ _Version update only_
55
+
56
+ ## 0.3.19
57
+ Fri, 30 Jul 2021 13:01:30 GMT
58
+
59
+ _Version update only_
60
+
61
+ ## 0.3.18
62
+ Fri, 30 Jul 2021 11:35:29 GMT
63
+
64
+ _Version update only_
65
+
66
+ ## 0.3.17
67
+ Fri, 30 Jul 2021 10:46:37 GMT
68
+
69
+ _Version update only_
70
+
71
+ ## 0.3.16
72
+ Fri, 30 Jul 2021 08:49:46 GMT
73
+
74
+ _Version update only_
75
+
76
+ ## 0.3.15
77
+ Fri, 30 Jul 2021 07:46:24 GMT
78
+
79
+ _Version update only_
80
+
81
+ ## 0.3.14
82
+ Tue, 27 Jul 2021 10:14:43 GMT
83
+
84
+ _Version update only_
85
+
86
+ ## 0.3.13
87
+ Thu, 15 Jul 2021 11:16:22 GMT
88
+
89
+ _Version update only_
90
+
91
+ ## 0.3.12
92
+ Fri, 09 Jul 2021 08:59:32 GMT
93
+
94
+ _Version update only_
95
+
96
+ ## 0.3.11
97
+ Thu, 08 Jul 2021 15:08:50 GMT
98
+
99
+ _Version update only_
100
+
101
+ ## 0.3.10
102
+ Wed, 30 Jun 2021 12:09:21 GMT
103
+
104
+ _Version update only_
105
+
106
+ ## 0.3.9
107
+ Wed, 23 Jun 2021 13:04:19 GMT
108
+
109
+ _Version update only_
110
+
111
+ ## 0.3.8
112
+ Wed, 02 Jun 2021 12:04:27 GMT
113
+
114
+ _Version update only_
115
+
116
+ ## 0.3.7
117
+ Wed, 02 Jun 2021 08:33:44 GMT
118
+
119
+ _Version update only_
120
+
121
+ ## 0.3.6
122
+ Wed, 05 May 2021 14:11:41 GMT
123
+
124
+ _Version update only_
125
+
126
+ ## 0.3.5
127
+ Thu, 22 Apr 2021 15:04:42 GMT
128
+
129
+ _Version update only_
130
+
131
+ ## 0.3.4
132
+ Thu, 22 Apr 2021 14:39:18 GMT
133
+
134
+ _Version update only_
135
+
136
+ ## 0.3.3
137
+ Thu, 22 Apr 2021 14:06:40 GMT
138
+
139
+ _Version update only_
140
+
141
+ ## 0.3.2
142
+ Thu, 22 Apr 2021 12:56:25 GMT
143
+
144
+ _Initial release_
145
+
package/Field/index.js CHANGED
@@ -7,7 +7,7 @@ var _typeof = require("@babel/runtime/helpers/typeof");
7
7
  Object.defineProperty(exports, "__esModule", {
8
8
  value: true
9
9
  });
10
- exports["default"] = exports.Field = exports.FieldBase = exports.useFieldContainerStyles = void 0;
10
+ exports.useFieldContainerStyles = exports["default"] = exports.FieldBase = exports.Field = void 0;
11
11
 
12
12
  var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
13
13
 
package/Fieldset/index.js CHANGED
@@ -7,7 +7,7 @@ var _typeof = require("@babel/runtime/helpers/typeof");
7
7
  Object.defineProperty(exports, "__esModule", {
8
8
  value: true
9
9
  });
10
- exports["default"] = exports.Fieldset = exports.FieldsetWithContext = exports.FieldsetBody = exports.FieldsetCaption = exports.FieldsetLabel = void 0;
10
+ exports["default"] = exports.FieldsetWithContext = exports.FieldsetLabel = exports.FieldsetCaption = exports.FieldsetBody = exports.Fieldset = void 0;
11
11
 
12
12
  var _react = _interopRequireWildcard(require("react"));
13
13
 
@@ -7,7 +7,7 @@ var _typeof = require("@babel/runtime/helpers/typeof");
7
7
  Object.defineProperty(exports, "__esModule", {
8
8
  value: true
9
9
  });
10
- exports["default"] = exports.StepDescription = exports.StepDescriptionBase = void 0;
10
+ exports["default"] = exports.StepDescriptionBase = exports.StepDescription = void 0;
11
11
 
12
12
  var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
13
13
 
@@ -7,7 +7,7 @@ var _typeof = require("@babel/runtime/helpers/typeof");
7
7
  Object.defineProperty(exports, "__esModule", {
8
8
  value: true
9
9
  });
10
- exports["default"] = exports.StepTitle = exports.StepTitleBase = exports.StepTitleHeading = void 0;
10
+ exports["default"] = exports.StepTitleHeading = exports.StepTitleBase = exports.StepTitle = void 0;
11
11
 
12
12
  var _react = _interopRequireWildcard(require("react"));
13
13
 
@@ -13,7 +13,7 @@ var _exportNames = {
13
13
  getAddMoreFields: true,
14
14
  StepArrayReview: true
15
15
  };
16
- exports["default"] = exports.StepArrayReview = exports.getAddMoreFields = exports.Step = exports.StepContext = void 0;
16
+ exports.getAddMoreFields = exports["default"] = exports.StepContext = exports.StepArrayReview = exports.Step = void 0;
17
17
 
18
18
  var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
19
19
 
@@ -11,7 +11,7 @@ var _exportNames = {
11
11
  QuestionsContext: true,
12
12
  Questions: true
13
13
  };
14
- exports["default"] = exports.Questions = exports.QuestionsContext = void 0;
14
+ exports["default"] = exports.QuestionsContext = exports.Questions = void 0;
15
15
 
16
16
  var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));
17
17
 
@@ -61,9 +61,7 @@ var FileInput = /*#__PURE__*/React.forwardRef(function FileInput(_ref, ref) {
61
61
  }), /*#__PURE__*/React.createElement("label", {
62
62
  htmlFor: name
63
63
  }, /*#__PURE__*/React.createElement(Button, {
64
- size: "small",
65
64
  color: "secondary",
66
- component: "span",
67
65
  className: classes.button
68
66
  }, "\u0395\u03C0\u03B9\u03BB\u03AD\u03BE\u03C4\u03B5 ", filesLabel)), /*#__PURE__*/React.createElement(NormalText, {
69
67
  className: classes.text
@@ -92,7 +92,8 @@ export var RadioButtonsGroup = function RadioButtonsGroup(_ref3) {
92
92
  name: name
93
93
  }, options.map(function (_ref4) {
94
94
  var label = _ref4.label,
95
- v = _ref4.value;
95
+ v = _ref4.value,
96
+ optionDisabled = _ref4.disabled;
96
97
  return /*#__PURE__*/React.createElement(RadioButton, {
97
98
  key: v,
98
99
  label: label,
@@ -100,7 +101,7 @@ export var RadioButtonsGroup = function RadioButtonsGroup(_ref3) {
100
101
  active: v === currentValue,
101
102
  value: v,
102
103
  register: register,
103
- disabled: disabled
104
+ disabled: disabled || optionDisabled
104
105
  });
105
106
  })));
106
107
  };
package/esm/index.js CHANGED
@@ -1,3 +1,8 @@
1
+ /** @license Digigov v0.4.5
2
+ *
3
+ * This source code is licensed under the MIT license found in the
4
+ * LICENSE file in the root directory of this source tree.
5
+ */
1
6
  import _defineProperty from "@babel/runtime/helpers/defineProperty";
2
7
  import _extends from "@babel/runtime/helpers/extends";
3
8
  import _toConsumableArray from "@babel/runtime/helpers/toConsumableArray";
@@ -61,9 +61,7 @@ var FileInput = /*#__PURE__*/React.forwardRef(function FileInput(_ref, ref) {
61
61
  }), /*#__PURE__*/React.createElement("label", {
62
62
  htmlFor: name
63
63
  }, /*#__PURE__*/React.createElement(Button, {
64
- size: "small",
65
64
  color: "secondary",
66
- component: "span",
67
65
  className: classes.button
68
66
  }, "\u0395\u03C0\u03B9\u03BB\u03AD\u03BE\u03C4\u03B5 ", filesLabel)), /*#__PURE__*/React.createElement(NormalText, {
69
67
  className: classes.text
@@ -92,7 +92,8 @@ export var RadioButtonsGroup = function RadioButtonsGroup(_ref3) {
92
92
  name: name
93
93
  }, options.map(function (_ref4) {
94
94
  var label = _ref4.label,
95
- v = _ref4.value;
95
+ v = _ref4.value,
96
+ optionDisabled = _ref4.disabled;
96
97
  return /*#__PURE__*/React.createElement(RadioButton, {
97
98
  key: v,
98
99
  label: label,
@@ -100,7 +101,7 @@ export var RadioButtonsGroup = function RadioButtonsGroup(_ref3) {
100
101
  active: v === currentValue,
101
102
  value: v,
102
103
  register: register,
103
- disabled: disabled
104
+ disabled: disabled || optionDisabled
104
105
  });
105
106
  })));
106
107
  };
package/index.js CHANGED
@@ -12,8 +12,9 @@ var _exportNames = {
12
12
  FormBase: true,
13
13
  FormBuilder: true
14
14
  };
15
+ exports.FormBase = void 0;
15
16
  exports.FormBuilder = FormBuilder;
16
- exports["default"] = exports.FormBase = exports.FormContext = void 0;
17
+ exports["default"] = exports.FormContext = void 0;
17
18
 
18
19
  var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
19
20
 
@@ -83,9 +83,7 @@ var FileInput = /*#__PURE__*/_react["default"].forwardRef(function FileInput(_re
83
83
  }), /*#__PURE__*/_react["default"].createElement("label", {
84
84
  htmlFor: name
85
85
  }, /*#__PURE__*/_react["default"].createElement(_Button["default"], {
86
- size: "small",
87
86
  color: "secondary",
88
- component: "span",
89
87
  className: classes.button
90
88
  }, "\u0395\u03C0\u03B9\u03BB\u03AD\u03BE\u03C4\u03B5 ", filesLabel)), /*#__PURE__*/_react["default"].createElement(_NormalText["default"], {
91
89
  className: classes.text
@@ -120,7 +120,8 @@ var RadioButtonsGroup = function RadioButtonsGroup(_ref3) {
120
120
  name: name
121
121
  }, options.map(function (_ref4) {
122
122
  var label = _ref4.label,
123
- v = _ref4.value;
123
+ v = _ref4.value,
124
+ optionDisabled = _ref4.disabled;
124
125
  return /*#__PURE__*/_react["default"].createElement(RadioButton, {
125
126
  key: v,
126
127
  label: label,
@@ -128,7 +129,7 @@ var RadioButtonsGroup = function RadioButtonsGroup(_ref3) {
128
129
  active: v === currentValue,
129
130
  value: v,
130
131
  register: register,
131
- disabled: disabled
132
+ disabled: disabled || optionDisabled
132
133
  });
133
134
  })));
134
135
  };
package/inputs/index.js CHANGED
@@ -5,22 +5,22 @@ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefau
5
5
  Object.defineProperty(exports, "__esModule", {
6
6
  value: true
7
7
  });
8
- Object.defineProperty(exports, "FileInput", {
8
+ Object.defineProperty(exports, "Checkboxes", {
9
9
  enumerable: true,
10
10
  get: function get() {
11
- return _FileInput["default"];
11
+ return _Checkboxes["default"];
12
12
  }
13
13
  });
14
- Object.defineProperty(exports, "Select", {
14
+ Object.defineProperty(exports, "FileInput", {
15
15
  enumerable: true,
16
16
  get: function get() {
17
- return _Select["default"];
17
+ return _FileInput["default"];
18
18
  }
19
19
  });
20
- Object.defineProperty(exports, "Checkboxes", {
20
+ Object.defineProperty(exports, "Input", {
21
21
  enumerable: true,
22
22
  get: function get() {
23
- return _Checkboxes["default"];
23
+ return _Input["default"];
24
24
  }
25
25
  });
26
26
  Object.defineProperty(exports, "Label", {
@@ -29,16 +29,16 @@ Object.defineProperty(exports, "Label", {
29
29
  return _Label["default"];
30
30
  }
31
31
  });
32
- Object.defineProperty(exports, "Input", {
32
+ Object.defineProperty(exports, "Radio", {
33
33
  enumerable: true,
34
34
  get: function get() {
35
- return _Input["default"];
35
+ return _Radio["default"];
36
36
  }
37
37
  });
38
- Object.defineProperty(exports, "Radio", {
38
+ Object.defineProperty(exports, "Select", {
39
39
  enumerable: true,
40
40
  get: function get() {
41
- return _Radio["default"];
41
+ return _Select["default"];
42
42
  }
43
43
  });
44
44
 
File without changes
File without changes
File without changes
@@ -2,6 +2,7 @@ import React from 'react';
2
2
  export interface FieldOptionProps {
3
3
  label?: FieldLabelProps;
4
4
  value: string;
5
+ disabled?: boolean;
5
6
  }
6
7
  export interface FieldLabelProps {
7
8
  primary?: string;
File without changes
File without changes
@@ -0,0 +1,10 @@
1
+ import React from 'react';
2
+ import { CaptionProps } from '@digigov/ui/typography/Caption';
3
+ import { TitleProps } from '@digigov/ui/typography/Title';
4
+ export declare const PageTitle: React.FC<{}>;
5
+ export default PageTitle;
6
+ export declare const PageTitleSection: React.FC<{}>;
7
+ export declare const PageTitleCaption: React.FC<CaptionProps>;
8
+ export interface PageTitleHeadingProps extends TitleProps {
9
+ }
10
+ export declare const PageTitleHeading: React.FC<TitleProps>;
@@ -0,0 +1,10 @@
1
+ import React from 'react';
2
+ export interface I18NContextProps {
3
+ t: (str: string) => string;
4
+ children?: React.ReactNode;
5
+ i18n?: any;
6
+ }
7
+ export declare const I18NContext: React.Context<I18NContextProps>;
8
+ export declare const I18NProvider: React.FC<I18NContextProps>;
9
+ export declare const useTranslation: () => I18NContextProps;
10
+ export default I18NProvider;
@@ -0,0 +1,21 @@
1
+ import Accordion from '@digigov/react-core/Accordion';
2
+ import AccordionSection from '@digigov/react-core/AccordionSection';
3
+ import AccordionSectionContent from '@digigov/react-core/AccordionSectionContent';
4
+ import AccordionSectionHeader from '@digigov/react-core/AccordionSectionHeader';
5
+ import AccordionControls from '@digigov/react-core/AccordionControls';
6
+ import { UseTogglableSectionsReturn } from '@digigov/ui/hooks/useTogglableSections';
7
+ import React from 'react';
8
+ export declare const AccordionItemDetails: React.ForwardRefExoticComponent<Pick<import("@digigov/react-core/AccordionSectionContent").AccordionSectionContentProps, "className" | "children" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "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" | "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"> & React.RefAttributes<HTMLDivElement>>;
9
+ export declare const AccordionItemSummary: React.ForwardRefExoticComponent<Pick<import("@digigov/react-core/AccordionSectionHeader").AccordionSectionHeaderProps, "className" | "children" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "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" | "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"> & React.RefAttributes<HTMLDivElement>>;
10
+ export declare const AccordionItem: React.MemoExoticComponent<React.ForwardRefExoticComponent<Pick<import("@digigov/react-core/AccordionSection").AccordionSectionProps, "className" | "children" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "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" | "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" | "open"> & React.RefAttributes<HTMLDivElement>>>;
11
+ export interface UseAccordionProps {
12
+ singleOpen?: boolean;
13
+ }
14
+ export interface UseAccordionReturn extends UseTogglableSectionsReturn {
15
+ isOpenAll: boolean;
16
+ openAll: () => void;
17
+ closeAll: () => void;
18
+ }
19
+ declare const useAccordion: (props: UseAccordionProps) => UseAccordionReturn;
20
+ export { Accordion, AccordionControls, AccordionSection, AccordionSectionContent, AccordionSectionHeader, useAccordion, };
21
+ export default Accordion;
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ export declare const Blockquote: import("react").ForwardRefExoticComponent<Pick<import("@digigov/react-core/Blockquote").BlockquoteProps, "className" | "children" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "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" | "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" | "cite"> & import("react").RefAttributes<HTMLElement>>;
3
+ export default Blockquote;
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ export declare const BackButton: import("react").ForwardRefExoticComponent<Pick<import("@digigov/react-core/BackLink").BackLinkProps, "type" | "className" | "children" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "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" | "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" | "media" | "target" | "href" | "hrefLang" | "referrerPolicy" | "rel" | "download" | "ping"> & import("react").RefAttributes<HTMLAnchorElement>>;
3
+ export default BackButton;
@@ -0,0 +1,4 @@
1
+ /// <reference types="react" />
2
+ import { ButtonLinkProps as CoreButtonLinkProps } from '@digigov/react-core/ButtonLink';
3
+ export declare type ButtonLinkProps = CoreButtonLinkProps;
4
+ export declare const ButtonLink: import("react").ForwardRefExoticComponent<Pick<CoreButtonLinkProps, "type" | "className" | "children" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "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" | "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" | "media" | "target" | "href" | "hrefLang" | "referrerPolicy" | "rel" | "download" | "ping"> & import("react").RefAttributes<HTMLAnchorElement>>;
@@ -0,0 +1,7 @@
1
+ import React from 'react';
2
+ import { CallToActionProps as CoreCallToActionProps } from '@digigov/react-core/CallToAction';
3
+ export interface CallToActionProps extends CoreCallToActionProps {
4
+ label?: string;
5
+ }
6
+ export declare const CallToAction: React.FC<CallToActionProps>;
7
+ export default CallToAction;
@@ -0,0 +1,2 @@
1
+ export declare const ButtonIcon: () => void;
2
+ export default ButtonIcon;
@@ -0,0 +1,14 @@
1
+ import React from 'react';
2
+ import { ButtonProps as CoreButtonProps } from '@digigov/react-core/Button';
3
+ export declare type ButtonProps = CoreButtonProps;
4
+ export declare const Button: React.ForwardRefExoticComponent<Pick<CoreButtonProps, "type" | "className" | "children" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "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" | "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" | "form" | "name" | "disabled" | "value" | "autoFocus" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget"> & React.RefAttributes<HTMLButtonElement>>;
5
+ export default Button;
6
+ export interface ContinueButtonProps extends ButtonProps {
7
+ label?: string;
8
+ ref?: React.Ref<HTMLButtonElement>;
9
+ }
10
+ export declare const ContinueButton: React.FC<ContinueButtonProps>;
11
+ export * from '@digigov/ui/core/Button/BackButton';
12
+ export * from '@digigov/ui/core/Button/CallToAction';
13
+ export * from '@digigov/ui/core/Button/ButtonLink';
14
+ export * from '@digigov/ui/core/Button/Icon';