@digigov/react-core 0.20.1 → 0.21.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/AccordionSection/index.d.ts +6 -1
- package/AccordionSection/index.js +4 -2
- package/CHANGELOG.md +15 -1
- package/CheckboxItem/__snapshots__/index.test.tsx.snap +68 -0
- package/CheckboxItem/index.d.ts +5 -0
- package/CheckboxItem/index.js +6 -3
- package/CheckboxItem/index.test.js +18 -0
- package/RadioItem/__snapshots__/index.test.tsx.snap +70 -0
- package/RadioItem/index.d.ts +5 -0
- package/RadioItem/index.js +6 -3
- package/RadioItem/index.test.js +18 -0
- package/TableBody/index.d.ts +6 -1
- package/TableBody/index.js +5 -3
- package/TableRow/index.d.ts +6 -1
- package/TableRow/index.js +5 -3
- package/Unpurge/index.js +1 -1
- package/es/AccordionSection/index.js +4 -2
- package/es/CheckboxItem/__snapshots__/index.test.tsx.snap +68 -0
- package/es/CheckboxItem/index.js +6 -3
- package/es/CheckboxItem/index.test.js +18 -0
- package/es/RadioItem/__snapshots__/index.test.tsx.snap +70 -0
- package/es/RadioItem/index.js +6 -3
- package/es/RadioItem/index.test.js +18 -0
- package/es/TableBody/index.js +5 -3
- package/es/TableRow/index.js +5 -3
- package/es/Unpurge/index.js +1 -1
- package/esm/AccordionSection/index.js +4 -2
- package/esm/CheckboxItem/__snapshots__/index.test.tsx.snap +68 -0
- package/esm/CheckboxItem/index.js +6 -3
- package/esm/CheckboxItem/index.test.js +18 -0
- package/esm/RadioItem/__snapshots__/index.test.tsx.snap +70 -0
- package/esm/RadioItem/index.js +6 -3
- package/esm/RadioItem/index.test.js +18 -0
- package/esm/TableBody/index.js +5 -3
- package/esm/TableRow/index.js +5 -3
- package/esm/Unpurge/index.js +1 -1
- package/esm/index.js +1 -1
- package/package.json +2 -2
- package/src/AccordionSection/index.tsx +11 -1
- package/src/CheckboxItem/__snapshots__/index.test.tsx.snap +68 -0
- package/src/CheckboxItem/index.test.tsx +14 -0
- package/src/CheckboxItem/index.tsx +11 -1
- package/src/RadioItem/__snapshots__/index.test.tsx.snap +70 -0
- package/src/RadioItem/index.test.tsx +14 -0
- package/src/RadioItem/index.tsx +11 -1
- package/src/TableBody/index.tsx +13 -2
- package/src/TableRow/index.tsx +9 -2
- package/src/Unpurge/index.tsx +35 -5
|
@@ -6,11 +6,16 @@ export interface AccordionSectionProps extends BaseProps<'details'> {
|
|
|
6
6
|
* Add this prop when an AccordionSection should be open.
|
|
7
7
|
*/
|
|
8
8
|
open?: boolean;
|
|
9
|
+
/**
|
|
10
|
+
* border is optional. The default value is true.
|
|
11
|
+
* In order to remove top and bottom border, change this value to false.
|
|
12
|
+
*/
|
|
13
|
+
border?: boolean;
|
|
9
14
|
}
|
|
10
15
|
/**
|
|
11
16
|
* AccordionSection should be inside the Accordion component.
|
|
12
17
|
*
|
|
13
18
|
* Inside this component must place the AccordionSectionHeader and the AccordionSectionContent components.
|
|
14
19
|
*/
|
|
15
|
-
export declare const AccordionSection: React.ForwardRefExoticComponent<Pick<AccordionSectionProps, "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" | "open" | "onToggle" | "margin" | "marginTop" | "marginBottom" | "marginLeft" | "marginRight" | "padding" | "paddingTop" | "paddingBottom" | "paddingLeft" | "paddingRight" | "printHidden" | "xsUpHidden" | "smUpHidden" | "mdUpHidden" | "lgUpHidden" | "xlUpHidden" | "xsHidden" | "smHidden" | "mdHidden" | "lgHidden" | "xlHidden"> & React.RefAttributes<HTMLDetailsElement>>;
|
|
20
|
+
export declare const AccordionSection: React.ForwardRefExoticComponent<Pick<AccordionSectionProps, "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" | "open" | "onToggle" | "margin" | "marginTop" | "marginBottom" | "marginLeft" | "marginRight" | "padding" | "paddingTop" | "paddingBottom" | "paddingLeft" | "paddingRight" | "printHidden" | "xsUpHidden" | "smUpHidden" | "mdUpHidden" | "lgUpHidden" | "xlUpHidden" | "xsHidden" | "smHidden" | "mdHidden" | "lgHidden" | "xlHidden" | "border"> & React.RefAttributes<HTMLDetailsElement>>;
|
|
16
21
|
export default AccordionSection;
|
|
@@ -17,7 +17,7 @@ var _Base = _interopRequireDefault(require("@digigov/react-core/Base"));
|
|
|
17
17
|
|
|
18
18
|
var _clsx = _interopRequireDefault(require("clsx"));
|
|
19
19
|
|
|
20
|
-
var _excluded = ["className", "children"];
|
|
20
|
+
var _excluded = ["className", "border", "children"];
|
|
21
21
|
|
|
22
22
|
/**
|
|
23
23
|
* AccordionSection should be inside the Accordion component.
|
|
@@ -27,12 +27,14 @@ var _excluded = ["className", "children"];
|
|
|
27
27
|
// eslint-disable-next-line react/display-name
|
|
28
28
|
var AccordionSection = /*#__PURE__*/_react["default"].forwardRef(function AccordionSection(_ref, ref) {
|
|
29
29
|
var className = _ref.className,
|
|
30
|
+
_ref$border = _ref.border,
|
|
31
|
+
border = _ref$border === void 0 ? true : _ref$border,
|
|
30
32
|
children = _ref.children,
|
|
31
33
|
props = (0, _objectWithoutProperties2["default"])(_ref, _excluded);
|
|
32
34
|
return /*#__PURE__*/_react["default"].createElement(_Base["default"], (0, _extends2["default"])({
|
|
33
35
|
as: "details",
|
|
34
36
|
ref: ref,
|
|
35
|
-
className: (0, _clsx["default"])(className, true && 'govgr-accordion__section')
|
|
37
|
+
className: (0, _clsx["default"])(className, !border && 'govgr-accordion__section--no-border', true && 'govgr-accordion__section')
|
|
36
38
|
}, props), children);
|
|
37
39
|
});
|
|
38
40
|
|
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,20 @@
|
|
|
1
1
|
# Change Log - @digigov/react-core
|
|
2
2
|
|
|
3
|
-
This log was last generated on
|
|
3
|
+
This log was last generated on Mon, 13 Mar 2023 10:21:39 GMT and should not be manually modified.
|
|
4
|
+
|
|
5
|
+
## 0.21.1
|
|
6
|
+
Mon, 13 Mar 2023 10:21:39 GMT
|
|
7
|
+
|
|
8
|
+
### Patches
|
|
9
|
+
|
|
10
|
+
- add disabled prop and corresponding class for CheckboxItem and RadioItem components
|
|
11
|
+
|
|
12
|
+
## 0.21.0
|
|
13
|
+
Thu, 02 Mar 2023 11:33:41 GMT
|
|
14
|
+
|
|
15
|
+
### Minor changes
|
|
16
|
+
|
|
17
|
+
- Add border prop at AccordionSection, warning prop to TableRow, verticalAlign prop to TableBody and unpurge some utility classes
|
|
4
18
|
|
|
5
19
|
## 0.20.1
|
|
6
20
|
Wed, 22 Feb 2023 15:41:06 GMT
|
|
@@ -1,5 +1,33 @@
|
|
|
1
1
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
2
2
|
|
|
3
|
+
exports[`renders the CheckboxItem with \`disabled\` prop 1`] = `
|
|
4
|
+
<ForwardRef(CheckboxItem)
|
|
5
|
+
disabled={true}
|
|
6
|
+
>
|
|
7
|
+
<div
|
|
8
|
+
className="govgr-checkboxes__item"
|
|
9
|
+
>
|
|
10
|
+
<label
|
|
11
|
+
className="govgr-checkboxes__label--disabled govgr-label govgr-checkboxes__label"
|
|
12
|
+
>
|
|
13
|
+
hello
|
|
14
|
+
<ForwardRef(Base)
|
|
15
|
+
as="input"
|
|
16
|
+
className="govgr-checkboxes__input"
|
|
17
|
+
disabled={true}
|
|
18
|
+
type="checkbox"
|
|
19
|
+
>
|
|
20
|
+
<input
|
|
21
|
+
className="govgr-checkboxes__input"
|
|
22
|
+
disabled={true}
|
|
23
|
+
type="checkbox"
|
|
24
|
+
/>
|
|
25
|
+
</ForwardRef(Base)>
|
|
26
|
+
</label>
|
|
27
|
+
</div>
|
|
28
|
+
</ForwardRef(CheckboxItem)>
|
|
29
|
+
`;
|
|
30
|
+
|
|
3
31
|
exports[`renders the CheckboxItem with \`name\` prop 1`] = `
|
|
4
32
|
<ForwardRef(CheckboxItem)
|
|
5
33
|
name="example"
|
|
@@ -14,13 +42,49 @@ exports[`renders the CheckboxItem with \`name\` prop 1`] = `
|
|
|
14
42
|
<ForwardRef(Base)
|
|
15
43
|
as="input"
|
|
16
44
|
className="govgr-checkboxes__input"
|
|
45
|
+
disabled={false}
|
|
46
|
+
name="example"
|
|
47
|
+
type="checkbox"
|
|
48
|
+
>
|
|
49
|
+
<input
|
|
50
|
+
className="govgr-checkboxes__input"
|
|
51
|
+
disabled={false}
|
|
52
|
+
name="example"
|
|
53
|
+
type="checkbox"
|
|
54
|
+
/>
|
|
55
|
+
</ForwardRef(Base)>
|
|
56
|
+
</label>
|
|
57
|
+
</div>
|
|
58
|
+
</ForwardRef(CheckboxItem)>
|
|
59
|
+
`;
|
|
60
|
+
|
|
61
|
+
exports[`renders the CheckboxItem with \`value\` \`name\` and \`disabled\` props 1`] = `
|
|
62
|
+
<ForwardRef(CheckboxItem)
|
|
63
|
+
disabled={true}
|
|
64
|
+
name="example"
|
|
65
|
+
value="example"
|
|
66
|
+
>
|
|
67
|
+
<div
|
|
68
|
+
className="govgr-checkboxes__item"
|
|
69
|
+
>
|
|
70
|
+
<label
|
|
71
|
+
className="govgr-checkboxes__label--disabled govgr-label govgr-checkboxes__label"
|
|
72
|
+
>
|
|
73
|
+
hello
|
|
74
|
+
<ForwardRef(Base)
|
|
75
|
+
as="input"
|
|
76
|
+
className="govgr-checkboxes__input"
|
|
77
|
+
disabled={true}
|
|
17
78
|
name="example"
|
|
18
79
|
type="checkbox"
|
|
80
|
+
value="example"
|
|
19
81
|
>
|
|
20
82
|
<input
|
|
21
83
|
className="govgr-checkboxes__input"
|
|
84
|
+
disabled={true}
|
|
22
85
|
name="example"
|
|
23
86
|
type="checkbox"
|
|
87
|
+
value="example"
|
|
24
88
|
/>
|
|
25
89
|
</ForwardRef(Base)>
|
|
26
90
|
</label>
|
|
@@ -42,11 +106,13 @@ exports[`renders the CheckboxItem with \`value\` prop 1`] = `
|
|
|
42
106
|
<ForwardRef(Base)
|
|
43
107
|
as="input"
|
|
44
108
|
className="govgr-checkboxes__input"
|
|
109
|
+
disabled={false}
|
|
45
110
|
type="checkbox"
|
|
46
111
|
value="example"
|
|
47
112
|
>
|
|
48
113
|
<input
|
|
49
114
|
className="govgr-checkboxes__input"
|
|
115
|
+
disabled={false}
|
|
50
116
|
type="checkbox"
|
|
51
117
|
value="example"
|
|
52
118
|
/>
|
|
@@ -68,10 +134,12 @@ exports[`renders the CheckboxItem with no props 1`] = `
|
|
|
68
134
|
<ForwardRef(Base)
|
|
69
135
|
as="input"
|
|
70
136
|
className="govgr-checkboxes__input"
|
|
137
|
+
disabled={false}
|
|
71
138
|
type="checkbox"
|
|
72
139
|
>
|
|
73
140
|
<input
|
|
74
141
|
className="govgr-checkboxes__input"
|
|
142
|
+
disabled={false}
|
|
75
143
|
type="checkbox"
|
|
76
144
|
/>
|
|
77
145
|
</ForwardRef(Base)>
|
package/CheckboxItem/index.d.ts
CHANGED
|
@@ -9,6 +9,11 @@ export interface CheckboxItemProps extends BaseProps<'input'> {
|
|
|
9
9
|
* Value property is optional and it specifies the value of an <input> element.
|
|
10
10
|
*/
|
|
11
11
|
value?: string;
|
|
12
|
+
/**
|
|
13
|
+
* disabled prop disables the checkbox input.
|
|
14
|
+
* disabled property is optional and it is false by default.
|
|
15
|
+
*/
|
|
16
|
+
disabled?: boolean;
|
|
12
17
|
}
|
|
13
18
|
/**
|
|
14
19
|
* Details for the CheckboxItem.
|
package/CheckboxItem/index.js
CHANGED
|
@@ -17,7 +17,7 @@ var _Base = _interopRequireDefault(require("@digigov/react-core/Base"));
|
|
|
17
17
|
|
|
18
18
|
var _clsx = _interopRequireDefault(require("clsx"));
|
|
19
19
|
|
|
20
|
-
var _excluded = ["name", "value", "className", "children"];
|
|
20
|
+
var _excluded = ["name", "value", "className", "disabled", "children"];
|
|
21
21
|
|
|
22
22
|
/**
|
|
23
23
|
* Details for the CheckboxItem.
|
|
@@ -28,19 +28,22 @@ var CheckboxItem = /*#__PURE__*/_react["default"].forwardRef(function CheckboxIt
|
|
|
28
28
|
var name = _ref.name,
|
|
29
29
|
value = _ref.value,
|
|
30
30
|
className = _ref.className,
|
|
31
|
+
_ref$disabled = _ref.disabled,
|
|
32
|
+
disabled = _ref$disabled === void 0 ? false : _ref$disabled,
|
|
31
33
|
children = _ref.children,
|
|
32
34
|
props = (0, _objectWithoutProperties2["default"])(_ref, _excluded);
|
|
33
35
|
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
34
36
|
className: (0, _clsx["default"])(className, true && 'govgr-checkboxes__item')
|
|
35
37
|
}, /*#__PURE__*/_react["default"].createElement("label", {
|
|
36
|
-
className: (0, _clsx["default"])(true && 'govgr-label govgr-checkboxes__label')
|
|
38
|
+
className: (0, _clsx["default"])(disabled === true && 'govgr-checkboxes__label--disabled', true && 'govgr-label govgr-checkboxes__label')
|
|
37
39
|
}, children, /*#__PURE__*/_react["default"].createElement(_Base["default"], (0, _extends2["default"])({
|
|
38
40
|
as: "input",
|
|
39
41
|
ref: ref,
|
|
40
42
|
type: "checkbox",
|
|
41
43
|
name: name,
|
|
42
44
|
value: value,
|
|
43
|
-
className: (0, _clsx["default"])(true && 'govgr-checkboxes__input')
|
|
45
|
+
className: (0, _clsx["default"])(true && 'govgr-checkboxes__input'),
|
|
46
|
+
disabled: disabled
|
|
44
47
|
}, props))));
|
|
45
48
|
});
|
|
46
49
|
|
|
@@ -28,4 +28,22 @@ var _ref3 = /*#__PURE__*/_react["default"].createElement(_CheckboxItem["default"
|
|
|
28
28
|
|
|
29
29
|
it('renders the CheckboxItem with `value` prop', function () {
|
|
30
30
|
expect((0, _enzyme.mount)(_ref3)).toMatchSnapshot();
|
|
31
|
+
});
|
|
32
|
+
|
|
33
|
+
var _ref4 = /*#__PURE__*/_react["default"].createElement(_CheckboxItem["default"], {
|
|
34
|
+
disabled: true
|
|
35
|
+
}, "hello");
|
|
36
|
+
|
|
37
|
+
it('renders the CheckboxItem with `disabled` prop', function () {
|
|
38
|
+
expect((0, _enzyme.mount)(_ref4)).toMatchSnapshot();
|
|
39
|
+
});
|
|
40
|
+
|
|
41
|
+
var _ref5 = /*#__PURE__*/_react["default"].createElement(_CheckboxItem["default"], {
|
|
42
|
+
value: "example",
|
|
43
|
+
name: "example",
|
|
44
|
+
disabled: true
|
|
45
|
+
}, "hello");
|
|
46
|
+
|
|
47
|
+
it('renders the CheckboxItem with `value` `name` and `disabled` props', function () {
|
|
48
|
+
expect((0, _enzyme.mount)(_ref5)).toMatchSnapshot();
|
|
31
49
|
});
|
|
@@ -14,11 +14,13 @@ exports[`renders the RadioItem value props 1`] = `
|
|
|
14
14
|
<ForwardRef(Base)
|
|
15
15
|
as="input"
|
|
16
16
|
className="govgr-radios__input"
|
|
17
|
+
disabled={false}
|
|
17
18
|
type="radio"
|
|
18
19
|
value="someValue"
|
|
19
20
|
>
|
|
20
21
|
<input
|
|
21
22
|
className="govgr-radios__input"
|
|
23
|
+
disabled={false}
|
|
22
24
|
type="radio"
|
|
23
25
|
value="someValue"
|
|
24
26
|
/>
|
|
@@ -28,6 +30,34 @@ exports[`renders the RadioItem value props 1`] = `
|
|
|
28
30
|
</ForwardRef(RadioItem)>
|
|
29
31
|
`;
|
|
30
32
|
|
|
33
|
+
exports[`renders the RadioItem with disabled prop 1`] = `
|
|
34
|
+
<ForwardRef(RadioItem)
|
|
35
|
+
disabled={true}
|
|
36
|
+
>
|
|
37
|
+
<div
|
|
38
|
+
className="govgr-radios__item"
|
|
39
|
+
>
|
|
40
|
+
<label
|
|
41
|
+
className="govgr-radios__label--disabled govgr-label govgr-radios__label"
|
|
42
|
+
>
|
|
43
|
+
hello
|
|
44
|
+
<ForwardRef(Base)
|
|
45
|
+
as="input"
|
|
46
|
+
className="govgr-radios__input"
|
|
47
|
+
disabled={true}
|
|
48
|
+
type="radio"
|
|
49
|
+
>
|
|
50
|
+
<input
|
|
51
|
+
className="govgr-radios__input"
|
|
52
|
+
disabled={true}
|
|
53
|
+
type="radio"
|
|
54
|
+
/>
|
|
55
|
+
</ForwardRef(Base)>
|
|
56
|
+
</label>
|
|
57
|
+
</div>
|
|
58
|
+
</ForwardRef(RadioItem)>
|
|
59
|
+
`;
|
|
60
|
+
|
|
31
61
|
exports[`renders the RadioItem with name props 1`] = `
|
|
32
62
|
<ForwardRef(RadioItem)
|
|
33
63
|
name="name"
|
|
@@ -42,11 +72,13 @@ exports[`renders the RadioItem with name props 1`] = `
|
|
|
42
72
|
<ForwardRef(Base)
|
|
43
73
|
as="input"
|
|
44
74
|
className="govgr-radios__input"
|
|
75
|
+
disabled={false}
|
|
45
76
|
name="name"
|
|
46
77
|
type="radio"
|
|
47
78
|
>
|
|
48
79
|
<input
|
|
49
80
|
className="govgr-radios__input"
|
|
81
|
+
disabled={false}
|
|
50
82
|
name="name"
|
|
51
83
|
type="radio"
|
|
52
84
|
/>
|
|
@@ -71,12 +103,48 @@ exports[`renders the RadioItem with name and value props 1`] = `
|
|
|
71
103
|
<ForwardRef(Base)
|
|
72
104
|
as="input"
|
|
73
105
|
className="govgr-radios__input"
|
|
106
|
+
disabled={false}
|
|
107
|
+
name="name"
|
|
108
|
+
type="radio"
|
|
109
|
+
value="someValue"
|
|
110
|
+
>
|
|
111
|
+
<input
|
|
112
|
+
className="govgr-radios__input"
|
|
113
|
+
disabled={false}
|
|
114
|
+
name="name"
|
|
115
|
+
type="radio"
|
|
116
|
+
value="someValue"
|
|
117
|
+
/>
|
|
118
|
+
</ForwardRef(Base)>
|
|
119
|
+
</label>
|
|
120
|
+
</div>
|
|
121
|
+
</ForwardRef(RadioItem)>
|
|
122
|
+
`;
|
|
123
|
+
|
|
124
|
+
exports[`renders the RadioItem with name disabled and value props 1`] = `
|
|
125
|
+
<ForwardRef(RadioItem)
|
|
126
|
+
disabled={true}
|
|
127
|
+
name="name"
|
|
128
|
+
value="someValue"
|
|
129
|
+
>
|
|
130
|
+
<div
|
|
131
|
+
className="govgr-radios__item"
|
|
132
|
+
>
|
|
133
|
+
<label
|
|
134
|
+
className="govgr-radios__label--disabled govgr-label govgr-radios__label"
|
|
135
|
+
>
|
|
136
|
+
hello
|
|
137
|
+
<ForwardRef(Base)
|
|
138
|
+
as="input"
|
|
139
|
+
className="govgr-radios__input"
|
|
140
|
+
disabled={true}
|
|
74
141
|
name="name"
|
|
75
142
|
type="radio"
|
|
76
143
|
value="someValue"
|
|
77
144
|
>
|
|
78
145
|
<input
|
|
79
146
|
className="govgr-radios__input"
|
|
147
|
+
disabled={true}
|
|
80
148
|
name="name"
|
|
81
149
|
type="radio"
|
|
82
150
|
value="someValue"
|
|
@@ -99,10 +167,12 @@ exports[`renders the RadioItem with no props 1`] = `
|
|
|
99
167
|
<ForwardRef(Base)
|
|
100
168
|
as="input"
|
|
101
169
|
className="govgr-radios__input"
|
|
170
|
+
disabled={false}
|
|
102
171
|
type="radio"
|
|
103
172
|
>
|
|
104
173
|
<input
|
|
105
174
|
className="govgr-radios__input"
|
|
175
|
+
disabled={false}
|
|
106
176
|
type="radio"
|
|
107
177
|
/>
|
|
108
178
|
</ForwardRef(Base)>
|
package/RadioItem/index.d.ts
CHANGED
|
@@ -9,6 +9,11 @@ export interface RadioItemProps extends BaseProps<'input'> {
|
|
|
9
9
|
* Value property is optional and it specifies the value of an <input> element.
|
|
10
10
|
*/
|
|
11
11
|
value?: string;
|
|
12
|
+
/**
|
|
13
|
+
* disabled prop disables the radio input.
|
|
14
|
+
* disabled property is optional and it is false by default.
|
|
15
|
+
*/
|
|
16
|
+
disabled?: boolean;
|
|
12
17
|
}
|
|
13
18
|
/**
|
|
14
19
|
* RadioItem component is used for display radio buttons.
|
package/RadioItem/index.js
CHANGED
|
@@ -17,7 +17,7 @@ var _Base = _interopRequireDefault(require("@digigov/react-core/Base"));
|
|
|
17
17
|
|
|
18
18
|
var _clsx = _interopRequireDefault(require("clsx"));
|
|
19
19
|
|
|
20
|
-
var _excluded = ["name", "value", "className", "children"];
|
|
20
|
+
var _excluded = ["name", "value", "className", "disabled", "children"];
|
|
21
21
|
|
|
22
22
|
/**
|
|
23
23
|
* RadioItem component is used for display radio buttons.
|
|
@@ -27,19 +27,22 @@ var RadioItem = /*#__PURE__*/_react["default"].forwardRef(function RadioItem(_re
|
|
|
27
27
|
var name = _ref.name,
|
|
28
28
|
value = _ref.value,
|
|
29
29
|
className = _ref.className,
|
|
30
|
+
_ref$disabled = _ref.disabled,
|
|
31
|
+
disabled = _ref$disabled === void 0 ? false : _ref$disabled,
|
|
30
32
|
children = _ref.children,
|
|
31
33
|
props = (0, _objectWithoutProperties2["default"])(_ref, _excluded);
|
|
32
34
|
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
33
35
|
className: (0, _clsx["default"])(className, true && 'govgr-radios__item')
|
|
34
36
|
}, /*#__PURE__*/_react["default"].createElement("label", {
|
|
35
|
-
className: (0, _clsx["default"])(true && 'govgr-label govgr-radios__label')
|
|
37
|
+
className: (0, _clsx["default"])(disabled === true && 'govgr-radios__label--disabled', true && 'govgr-label govgr-radios__label')
|
|
36
38
|
}, children, /*#__PURE__*/_react["default"].createElement(_Base["default"], (0, _extends2["default"])({
|
|
37
39
|
as: "input",
|
|
38
40
|
ref: ref,
|
|
39
41
|
type: "radio",
|
|
40
42
|
name: name,
|
|
41
43
|
value: value,
|
|
42
|
-
className: (0, _clsx["default"])(true && 'govgr-radios__input')
|
|
44
|
+
className: (0, _clsx["default"])(true && 'govgr-radios__input'),
|
|
45
|
+
disabled: disabled
|
|
43
46
|
}, props))));
|
|
44
47
|
});
|
|
45
48
|
|
package/RadioItem/index.test.js
CHANGED
|
@@ -37,4 +37,22 @@ var _ref4 = /*#__PURE__*/_react["default"].createElement(_RadioItem["default"],
|
|
|
37
37
|
|
|
38
38
|
it('renders the RadioItem with name and value props', function () {
|
|
39
39
|
expect((0, _enzyme.mount)(_ref4)).toMatchSnapshot();
|
|
40
|
+
});
|
|
41
|
+
|
|
42
|
+
var _ref5 = /*#__PURE__*/_react["default"].createElement(_RadioItem["default"], {
|
|
43
|
+
disabled: true
|
|
44
|
+
}, "hello");
|
|
45
|
+
|
|
46
|
+
it('renders the RadioItem with disabled prop', function () {
|
|
47
|
+
expect((0, _enzyme.mount)(_ref5)).toMatchSnapshot();
|
|
48
|
+
});
|
|
49
|
+
|
|
50
|
+
var _ref6 = /*#__PURE__*/_react["default"].createElement(_RadioItem["default"], {
|
|
51
|
+
name: 'name',
|
|
52
|
+
value: 'someValue',
|
|
53
|
+
disabled: true
|
|
54
|
+
}, "hello");
|
|
55
|
+
|
|
56
|
+
it('renders the RadioItem with name disabled and value props', function () {
|
|
57
|
+
expect((0, _enzyme.mount)(_ref6)).toMatchSnapshot();
|
|
40
58
|
});
|
package/TableBody/index.d.ts
CHANGED
|
@@ -1,9 +1,14 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { BaseProps } from '@digigov/react-core/Base';
|
|
3
3
|
export interface TableBodyProps extends BaseProps<'tbody'> {
|
|
4
|
+
/**
|
|
5
|
+
* verticalAlign is optional. Default value is 'middle'.
|
|
6
|
+
* This prop set the vertical align of the body's content.
|
|
7
|
+
*/
|
|
8
|
+
verticalAlign?: 'middle' | 'top' | 'bottom';
|
|
4
9
|
}
|
|
5
10
|
/**
|
|
6
11
|
* Use TableBody inside the Table component to provide for the table data.
|
|
7
12
|
*/
|
|
8
|
-
export declare const TableBody: React.ForwardRefExoticComponent<Pick<TableBodyProps, "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" | "xsUpHidden" | "smUpHidden" | "mdUpHidden" | "lgUpHidden" | "xlUpHidden" | "xsHidden" | "smHidden" | "mdHidden" | "lgHidden" | "xlHidden"> & React.RefAttributes<HTMLTableSectionElement>>;
|
|
13
|
+
export declare const TableBody: React.ForwardRefExoticComponent<Pick<TableBodyProps, "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" | "xsUpHidden" | "smUpHidden" | "mdUpHidden" | "lgUpHidden" | "xlUpHidden" | "xsHidden" | "smHidden" | "mdHidden" | "lgHidden" | "xlHidden" | "verticalAlign"> & React.RefAttributes<HTMLTableSectionElement>>;
|
|
9
14
|
export default TableBody;
|
package/TableBody/index.js
CHANGED
|
@@ -17,19 +17,21 @@ var _Base = _interopRequireDefault(require("@digigov/react-core/Base"));
|
|
|
17
17
|
|
|
18
18
|
var _clsx = _interopRequireDefault(require("clsx"));
|
|
19
19
|
|
|
20
|
-
var _excluded = ["className", "children"];
|
|
20
|
+
var _excluded = ["verticalAlign", "className", "children"];
|
|
21
21
|
|
|
22
22
|
/**
|
|
23
23
|
* Use TableBody inside the Table component to provide for the table data.
|
|
24
24
|
*/
|
|
25
25
|
var TableBody = /*#__PURE__*/_react["default"].forwardRef(function TableBody(_ref, ref) {
|
|
26
|
-
var
|
|
26
|
+
var _ref$verticalAlign = _ref.verticalAlign,
|
|
27
|
+
verticalAlign = _ref$verticalAlign === void 0 ? 'middle' : _ref$verticalAlign,
|
|
28
|
+
className = _ref.className,
|
|
27
29
|
children = _ref.children,
|
|
28
30
|
props = (0, _objectWithoutProperties2["default"])(_ref, _excluded);
|
|
29
31
|
return /*#__PURE__*/_react["default"].createElement(_Base["default"], (0, _extends2["default"])({
|
|
30
32
|
as: "tbody",
|
|
31
33
|
ref: ref,
|
|
32
|
-
className: (0, _clsx["default"])(className, true && 'govgr-table__body')
|
|
34
|
+
className: (0, _clsx["default"])(className, verticalAlign === 'bottom' && 'govgr-table__body--vertical-bottom', verticalAlign === 'top' && 'govgr-table__body--vertical-top', true && 'govgr-table__body')
|
|
33
35
|
}, props), children);
|
|
34
36
|
});
|
|
35
37
|
|
package/TableRow/index.d.ts
CHANGED
|
@@ -1,9 +1,14 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { BaseProps } from '@digigov/react-core/Base';
|
|
3
3
|
export interface TableRowProps extends BaseProps<'tr'> {
|
|
4
|
+
/**
|
|
5
|
+
* warning is optional. Default value is false.
|
|
6
|
+
* Add the warning prop to add a warning line on the left of the row.
|
|
7
|
+
*/
|
|
8
|
+
warning?: boolean;
|
|
4
9
|
}
|
|
5
10
|
/**
|
|
6
11
|
* Use TableRow inside the Table component to provide a new row to the table.
|
|
7
12
|
*/
|
|
8
|
-
export declare const TableRow: React.ForwardRefExoticComponent<Pick<TableRowProps, "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" | "xsUpHidden" | "smUpHidden" | "mdUpHidden" | "lgUpHidden" | "xlUpHidden" | "xsHidden" | "smHidden" | "mdHidden" | "lgHidden" | "xlHidden"> & React.RefAttributes<HTMLTableRowElement>>;
|
|
13
|
+
export declare const TableRow: React.ForwardRefExoticComponent<Pick<TableRowProps, "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" | "xsUpHidden" | "smUpHidden" | "mdUpHidden" | "lgUpHidden" | "xlUpHidden" | "xsHidden" | "smHidden" | "mdHidden" | "lgHidden" | "xlHidden" | "warning"> & React.RefAttributes<HTMLTableRowElement>>;
|
|
9
14
|
export default TableRow;
|
package/TableRow/index.js
CHANGED
|
@@ -17,19 +17,21 @@ var _Base = _interopRequireDefault(require("@digigov/react-core/Base"));
|
|
|
17
17
|
|
|
18
18
|
var _clsx = _interopRequireDefault(require("clsx"));
|
|
19
19
|
|
|
20
|
-
var _excluded = ["className", "children"];
|
|
20
|
+
var _excluded = ["warning", "className", "children"];
|
|
21
21
|
|
|
22
22
|
/**
|
|
23
23
|
* Use TableRow inside the Table component to provide a new row to the table.
|
|
24
24
|
*/
|
|
25
25
|
var TableRow = /*#__PURE__*/_react["default"].forwardRef(function TableRow(_ref, ref) {
|
|
26
|
-
var
|
|
26
|
+
var _ref$warning = _ref.warning,
|
|
27
|
+
warning = _ref$warning === void 0 ? false : _ref$warning,
|
|
28
|
+
className = _ref.className,
|
|
27
29
|
children = _ref.children,
|
|
28
30
|
props = (0, _objectWithoutProperties2["default"])(_ref, _excluded);
|
|
29
31
|
return /*#__PURE__*/_react["default"].createElement(_Base["default"], (0, _extends2["default"])({
|
|
30
32
|
as: "tr",
|
|
31
33
|
ref: ref,
|
|
32
|
-
className: (0, _clsx["default"])(className, true && 'govgr-table__row')
|
|
34
|
+
className: (0, _clsx["default"])(className, warning && 'govgr-table__row--warning', true && 'govgr-table__row')
|
|
33
35
|
}, props), children);
|
|
34
36
|
});
|
|
35
37
|
|
package/Unpurge/index.js
CHANGED
|
@@ -11,7 +11,7 @@ var _react = _interopRequireDefault(require("react"));
|
|
|
11
11
|
|
|
12
12
|
function Unpurge() {
|
|
13
13
|
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
14
|
-
className: "\n govgr-m-0 \n govgr-mt-0 \n govgr-mb-0 \n govgr-mr-0 \n govgr-ml-0 \n govgr-p-0 \n govgr-pt-0 \n govgr-pb-0 \n govgr-pr-0 \n govgr-pl-0 \n govgr-m-1 \n govgr-mt-1 \n govgr-mb-1 \n govgr-mr-1 \n govgr-ml-1 \n govgr-p-1 \n govgr-pt-1 \n govgr-pb-1 \n govgr-pr-1 \n govgr-pl-1 \n govgr-m-2 \n govgr-mt-2 \n govgr-mb-2 \n govgr-mr-2 \n govgr-ml-2 \n govgr-p-2 \n govgr-pt-2 \n govgr-pb-2 \n govgr-pr-2 \n govgr-pl-2 \n govgr-m-3 \n govgr-mt-3 \n govgr-mb-3 \n govgr-mr-3 \n govgr-ml-3 \n govgr-p-3 \n govgr-pt-3 \n govgr-pb-3 \n govgr-pr-3 \n govgr-pl-3 \n govgr-m-4 \n govgr-mt-4 \n govgr-mb-4 \n govgr-mr-4 \n govgr-ml-4 \n govgr-p-4 \n govgr-pt-4 \n govgr-pb-4 \n govgr-pr-4 \n govgr-pl-4 \n govgr-m-5 \n govgr-mt-5 \n govgr-mb-5 \n govgr-mr-5 \n govgr-ml-5 \n govgr-p-5 \n govgr-pt-5 \n govgr-pb-5 \n govgr-pr-5 \n govgr-pl-5 \n govgr-m-6 \n govgr-mt-6 \n govgr-mb-6 \n govgr-mr-6 \n govgr-ml-6 \n govgr-p-6 \n govgr-pt-6 \n govgr-pb-6 \n govgr-pr-6 \n govgr-pl-6 \n govgr-m-7 \n govgr-mt-7 \n govgr-mb-7 \n govgr-mr-7 \n govgr-ml-7 \n govgr-p-7 \n govgr-pt-7 \n govgr-pb-7 \n govgr-pr-7 \n govgr-pl-7 \n govgr-m-8 \n govgr-mt-8 \n govgr-mb-8 \n govgr-mr-8 \n govgr-ml-8 \n govgr-
|
|
14
|
+
className: "\n govgr-m-0 \n govgr-mt-0 \n govgr-mb-0 \n govgr-mr-0 \n govgr-ml-0 \n govgr-p-0 \n govgr-pt-0 \n govgr-pb-0 \n govgr-pr-0 \n govgr-pl-0 \n govgr-m-1 \n govgr-mt-1 \n govgr-mb-1 \n govgr-mr-1 \n govgr-ml-1 \n govgr-p-1 \n govgr-pt-1 \n govgr-pb-1 \n govgr-pr-1 \n govgr-pl-1 \n govgr-m-2 \n govgr-mt-2 \n govgr-mb-2 \n govgr-mr-2 \n govgr-ml-2 \n govgr-p-2 \n govgr-pt-2 \n govgr-pb-2 \n govgr-pr-2 \n govgr-pl-2 \n govgr-m-3 \n govgr-mt-3 \n govgr-mb-3 \n govgr-mr-3 \n govgr-ml-3 \n govgr-p-3 \n govgr-pt-3 \n govgr-pb-3 \n govgr-pr-3 \n govgr-pl-3 \n govgr-m-4 \n govgr-mt-4 \n govgr-mb-4 \n govgr-mr-4 \n govgr-ml-4 \n govgr-p-4 \n govgr-pt-4 \n govgr-pb-4 \n govgr-pr-4 \n govgr-pl-4 \n govgr-m-5 \n govgr-mt-5 \n govgr-mb-5 \n govgr-mr-5 \n govgr-ml-5 \n govgr-p-5 \n govgr-pt-5 \n govgr-pb-5 \n govgr-pr-5 \n govgr-pl-5 \n govgr-m-6 \n govgr-mt-6 \n govgr-mb-6 \n govgr-mr-6 \n govgr-ml-6 \n govgr-p-6 \n govgr-pt-6 \n govgr-pb-6 \n govgr-pr-6 \n govgr-pl-6 \n govgr-m-7 \n govgr-mt-7 \n govgr-mb-7 \n govgr-mr-7 \n govgr-ml-7 \n govgr-p-7 \n govgr-pt-7 \n govgr-pb-7 \n govgr-pr-7 \n govgr-pl-7 \n govgr-m-8 \n govgr-mt-8 \n govgr-mb-8 \n govgr-mr-8 \n govgr-ml-8 \n govgr-m-9 \n govgr-mt-9 \n govgr-mb-9 \n govgr-mr-9 \n govgr-ml-9 \n govgr-m-10 \n govgr-mt-10 \n govgr-mb-10 \n govgr-mr-10 \n govgr-ml-10 \n govgr-m-11 \n govgr-mt-11 \n govgr-mb-11 \n govgr-mr-11 \n govgr-ml-11 \n govgr-m-12 \n govgr-mt-12 \n govgr-mb-12 \n govgr-mr-12 \n govgr-ml-12 \n govgr-p-8 \n govgr-pt-8 \n govgr-pb-8 \n govgr-pr-8 \n govgr-pl-8 \n govgr-p-9 \n govgr-pt-9 \n govgr-pb-9 \n govgr-pr-9 \n govgr-pl-9 \n govgr-p-10\n govgr-pt-10\n govgr-pb-10\n govgr-pr-10\n govgr-pl-10\n govgr-p-11\n govgr-pt-11\n govgr-pb-11\n govgr-pr-11\n govgr-pl-11\n govgr-p-12\n govgr-pt-12\n govgr-pb-12\n govgr-pr-12\n govgr-pl-12\n govgr-print-hidden\n "
|
|
15
15
|
});
|
|
16
16
|
}
|
|
17
17
|
|