@digigov/react-core 1.0.0-079f34f3d → 1.0.0-290a96e2
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/Accordion/__snapshots__/index.test.tsx.snap +2 -2
- package/AdminAside/index.d.ts +1 -1
- package/AdminContainer/__snapshots__/index.test.tsx.snap +21 -11
- package/AdminContainer/index.d.ts +1 -1
- package/AdminMain/index.d.ts +1 -1
- package/AdminTopSection/index.d.ts +1 -1
- package/Aside/__snapshots__/index.test.tsx.snap +16 -7
- package/Aside/index.d.ts +5 -5
- package/Aside/index.js +9 -5
- package/BottomInfo/__snapshots__/index.test.tsx.snap +11 -15
- package/BottomInfo/index.d.ts +1 -1
- package/BottomInfoContainer/__snapshots__/index.test.tsx.snap +11 -15
- package/BottomInfoContainer/index.d.ts +1 -1
- package/BottomInfoContent/__snapshots__/index.test.tsx.snap +3 -6
- package/BottomInfoContent/index.d.ts +1 -1
- package/BottomInfoContent/index.js +2 -11
- package/ChipHeading/__snapshots__/index.test.tsx.snap +10 -5
- package/CircularProgress/__snapshots__/index.test.tsx.snap +12 -12
- package/CircularProgress/index.js +2 -2
- package/Container/__snapshots__/index.test.tsx.snap +32 -44
- package/Container/index.d.ts +12 -12
- package/Container/index.js +7 -6
- package/Drawer/__snapshots__/index.test.tsx.snap +10 -5
- package/DropdownContent/__snapshots__/index.test.tsx.snap +2 -2
- package/FieldContainer/index.d.ts +1 -1
- package/FooterContainer/__snapshots__/index.test.tsx.snap +10 -14
- package/FooterContainer/index.d.ts +1 -1
- package/FooterHeading/__snapshots__/index.test.tsx.snap +30 -15
- package/Grid/index.d.ts +64 -32
- package/Grid/index.js +1 -1
- package/Heading/__snapshots__/index.test.tsx.snap +190 -95
- package/HeadingCaption/__snapshots__/index.test.tsx.snap +40 -20
- package/Main/__snapshots__/index.test.tsx.snap +16 -7
- package/Main/index.d.ts +4 -4
- package/Main/index.js +7 -4
- package/ModalHeading/__snapshots__/index.test.tsx.snap +12 -6
- package/NavMenuContainer/__snapshots__/index.test.tsx.snap +13 -15
- package/NavMenuContainer/index.js +1 -0
- package/NavMenuContent/__snapshots__/index.test.tsx.snap +5 -3
- package/NavMenuContent/index.d.ts +1 -1
- package/NavMenuContent/index.js +3 -1
- package/NavMenuTitle/__snapshots__/index.test.tsx.snap +4 -3
- package/NavMenuTitle/index.js +2 -1
- package/NotificationBannerHeader/__snapshots__/index.test.tsx.snap +12 -6
- package/NotificationBannerHeading/__snapshots__/index.test.tsx.snap +10 -5
- package/PageTitleCaption/__snapshots__/index.test.tsx.snap +50 -25
- package/PageTitleHeading/__snapshots__/index.test.tsx.snap +50 -25
- package/TabsHeading/__snapshots__/index.test.tsx.snap +30 -15
- package/TabsListItem/__snapshots__/index.test.tsx.snap +25 -25
- package/TaskListItemHeading/__snapshots__/index.test.tsx.snap +66 -30
- package/TextInput/__snapshots__/index.test.tsx.snap +72 -72
- package/Unpurge/index.js +1 -1
- package/es/Accordion/__snapshots__/index.test.tsx.snap +2 -2
- package/es/AdminContainer/__snapshots__/index.test.tsx.snap +21 -11
- package/es/Aside/__snapshots__/index.test.tsx.snap +16 -7
- package/es/Aside/index.js +9 -5
- package/es/BottomInfo/__snapshots__/index.test.tsx.snap +11 -15
- package/es/BottomInfoContainer/__snapshots__/index.test.tsx.snap +11 -15
- package/es/BottomInfoContent/__snapshots__/index.test.tsx.snap +3 -6
- package/es/BottomInfoContent/index.js +2 -11
- package/es/ChipHeading/__snapshots__/index.test.tsx.snap +10 -5
- package/es/CircularProgress/__snapshots__/index.test.tsx.snap +12 -12
- package/es/CircularProgress/index.js +2 -2
- package/es/Container/__snapshots__/index.test.tsx.snap +32 -44
- package/es/Container/index.js +7 -6
- package/es/Drawer/__snapshots__/index.test.tsx.snap +10 -5
- package/es/DropdownContent/__snapshots__/index.test.tsx.snap +2 -2
- package/es/FooterContainer/__snapshots__/index.test.tsx.snap +10 -14
- package/es/FooterHeading/__snapshots__/index.test.tsx.snap +30 -15
- package/es/Grid/index.js +1 -1
- package/es/Heading/__snapshots__/index.test.tsx.snap +190 -95
- package/es/HeadingCaption/__snapshots__/index.test.tsx.snap +40 -20
- package/es/Main/__snapshots__/index.test.tsx.snap +16 -7
- package/es/Main/index.js +7 -4
- package/es/ModalHeading/__snapshots__/index.test.tsx.snap +12 -6
- package/es/NavMenuContainer/__snapshots__/index.test.tsx.snap +13 -15
- package/es/NavMenuContainer/index.js +1 -0
- package/es/NavMenuContent/__snapshots__/index.test.tsx.snap +5 -3
- package/es/NavMenuContent/index.js +3 -1
- package/es/NavMenuTitle/__snapshots__/index.test.tsx.snap +4 -3
- package/es/NavMenuTitle/index.js +2 -1
- package/es/NotificationBannerHeader/__snapshots__/index.test.tsx.snap +12 -6
- package/es/NotificationBannerHeading/__snapshots__/index.test.tsx.snap +10 -5
- package/es/PageTitleCaption/__snapshots__/index.test.tsx.snap +50 -25
- package/es/PageTitleHeading/__snapshots__/index.test.tsx.snap +50 -25
- package/es/TabsHeading/__snapshots__/index.test.tsx.snap +30 -15
- package/es/TabsListItem/__snapshots__/index.test.tsx.snap +25 -25
- package/es/TaskListItemHeading/__snapshots__/index.test.tsx.snap +66 -30
- package/es/TextInput/__snapshots__/index.test.tsx.snap +72 -72
- package/es/Unpurge/index.js +1 -1
- package/es/index.js +1 -1
- package/es/registry.js +0 -2
- package/esm/Accordion/__snapshots__/index.test.tsx.snap +2 -2
- package/esm/AdminContainer/__snapshots__/index.test.tsx.snap +21 -11
- package/esm/Aside/__snapshots__/index.test.tsx.snap +16 -7
- package/esm/Aside/index.js +9 -5
- package/esm/BottomInfo/__snapshots__/index.test.tsx.snap +11 -15
- package/esm/BottomInfoContainer/__snapshots__/index.test.tsx.snap +11 -15
- package/esm/BottomInfoContent/__snapshots__/index.test.tsx.snap +3 -6
- package/esm/BottomInfoContent/index.js +2 -11
- package/esm/ChipHeading/__snapshots__/index.test.tsx.snap +10 -5
- package/esm/CircularProgress/__snapshots__/index.test.tsx.snap +12 -12
- package/esm/CircularProgress/index.js +2 -2
- package/esm/Container/__snapshots__/index.test.tsx.snap +32 -44
- package/esm/Container/index.js +7 -6
- package/esm/Drawer/__snapshots__/index.test.tsx.snap +10 -5
- package/esm/DropdownContent/__snapshots__/index.test.tsx.snap +2 -2
- package/esm/FooterContainer/__snapshots__/index.test.tsx.snap +10 -14
- package/esm/FooterHeading/__snapshots__/index.test.tsx.snap +30 -15
- package/esm/Grid/index.js +1 -1
- package/esm/Heading/__snapshots__/index.test.tsx.snap +190 -95
- package/esm/HeadingCaption/__snapshots__/index.test.tsx.snap +40 -20
- package/esm/Main/__snapshots__/index.test.tsx.snap +16 -7
- package/esm/Main/index.js +7 -4
- package/esm/ModalHeading/__snapshots__/index.test.tsx.snap +12 -6
- package/esm/NavMenuContainer/__snapshots__/index.test.tsx.snap +13 -15
- package/esm/NavMenuContainer/index.js +1 -0
- package/esm/NavMenuContent/__snapshots__/index.test.tsx.snap +5 -3
- package/esm/NavMenuContent/index.js +3 -1
- package/esm/NavMenuTitle/__snapshots__/index.test.tsx.snap +4 -3
- package/esm/NavMenuTitle/index.js +2 -1
- package/esm/NotificationBannerHeader/__snapshots__/index.test.tsx.snap +12 -6
- package/esm/NotificationBannerHeading/__snapshots__/index.test.tsx.snap +10 -5
- package/esm/PageTitleCaption/__snapshots__/index.test.tsx.snap +50 -25
- package/esm/PageTitleHeading/__snapshots__/index.test.tsx.snap +50 -25
- package/esm/TabsHeading/__snapshots__/index.test.tsx.snap +30 -15
- package/esm/TabsListItem/__snapshots__/index.test.tsx.snap +25 -25
- package/esm/TaskListItemHeading/__snapshots__/index.test.tsx.snap +66 -30
- package/esm/TextInput/__snapshots__/index.test.tsx.snap +72 -72
- package/esm/Unpurge/index.js +1 -1
- package/esm/index.js +2 -2
- package/esm/registry.js +0 -2
- package/index.d.ts +1 -1
- package/index.js +1 -1
- package/package.json +3 -3
- package/registry.d.ts +0 -1
- package/registry.js +0 -3
- package/src/Accordion/__snapshots__/index.test.tsx.snap +2 -2
- package/src/AdminContainer/__snapshots__/index.test.tsx.snap +21 -11
- package/src/Aside/__snapshots__/index.test.tsx.snap +16 -7
- package/src/Aside/index.tsx +10 -7
- package/src/BottomInfo/__snapshots__/index.test.tsx.snap +11 -15
- package/src/BottomInfoContainer/__snapshots__/index.test.tsx.snap +11 -15
- package/src/BottomInfoContent/__snapshots__/index.test.tsx.snap +3 -6
- package/src/BottomInfoContent/index.tsx +1 -4
- package/src/ChipHeading/__snapshots__/index.test.tsx.snap +10 -5
- package/src/CircularProgress/__snapshots__/index.test.tsx.snap +12 -12
- package/src/CircularProgress/index.tsx +2 -2
- package/src/Container/__snapshots__/index.test.tsx.snap +32 -44
- package/src/Container/index.tsx +16 -23
- package/src/Drawer/__snapshots__/index.test.tsx.snap +10 -5
- package/src/DropdownContent/__snapshots__/index.test.tsx.snap +2 -2
- package/src/FooterContainer/__snapshots__/index.test.tsx.snap +10 -14
- package/src/FooterHeading/__snapshots__/index.test.tsx.snap +30 -15
- package/src/Grid/index.tsx +82 -39
- package/src/Heading/__snapshots__/index.test.tsx.snap +190 -95
- package/src/HeadingCaption/__snapshots__/index.test.tsx.snap +40 -20
- package/src/Main/__snapshots__/index.test.tsx.snap +16 -7
- package/src/Main/index.tsx +9 -6
- package/src/ModalHeading/__snapshots__/index.test.tsx.snap +12 -6
- package/src/NavMenuContainer/__snapshots__/index.test.tsx.snap +13 -15
- package/src/NavMenuContainer/index.tsx +1 -0
- package/src/NavMenuContent/__snapshots__/index.test.tsx.snap +5 -3
- package/src/NavMenuContent/index.tsx +1 -1
- package/src/NavMenuTitle/__snapshots__/index.test.tsx.snap +4 -3
- package/src/NavMenuTitle/index.tsx +2 -1
- package/src/NotificationBannerHeader/__snapshots__/index.test.tsx.snap +12 -6
- package/src/NotificationBannerHeading/__snapshots__/index.test.tsx.snap +10 -5
- package/src/PageTitleCaption/__snapshots__/index.test.tsx.snap +50 -25
- package/src/PageTitleHeading/__snapshots__/index.test.tsx.snap +50 -25
- package/src/TabsHeading/__snapshots__/index.test.tsx.snap +30 -15
- package/src/TabsListItem/__snapshots__/index.test.tsx.snap +25 -25
- package/src/TaskListItemHeading/__snapshots__/index.test.tsx.snap +66 -30
- package/src/TextInput/__snapshots__/index.test.tsx.snap +72 -72
- package/src/Unpurge/index.tsx +40 -0
- package/src/index.ts +1 -1
- package/src/registry.js +0 -2
- package/Icon/__snapshots__/index.test.tsx.snap +0 -343
- package/Icon/index.d.ts +0 -25
- package/Icon/index.js +0 -58
- package/Icon/index.test.d.ts +0 -1
- package/Icon/index.test.js +0 -88
- package/es/Icon/__snapshots__/index.test.tsx.snap +0 -343
- package/es/Icon/index.js +0 -34
- package/es/Icon/index.test.js +0 -82
- package/esm/Icon/__snapshots__/index.test.tsx.snap +0 -343
- package/esm/Icon/index.js +0 -34
- package/esm/Icon/index.test.js +0 -82
- package/src/Icon/__snapshots__/index.test.tsx.snap +0 -343
- package/src/Icon/index.test.tsx +0 -36
- package/src/Icon/index.tsx +0 -63
package/Grid/index.d.ts
CHANGED
|
@@ -1,57 +1,89 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { BaseProps } from '@digigov/react-core/Base';
|
|
3
3
|
declare type GridValues = 'auto' | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12;
|
|
4
|
+
declare type SpacingValues = 1 | 2 | 3 | 4 | 5 | 6 | 8 | 10 | 11 | 12;
|
|
5
|
+
declare type SpacingMediaValues = {
|
|
6
|
+
xs?: SpacingValues;
|
|
7
|
+
sm?: SpacingValues;
|
|
8
|
+
md?: SpacingValues;
|
|
9
|
+
lg?: SpacingValues;
|
|
10
|
+
xl?: SpacingValues;
|
|
11
|
+
};
|
|
4
12
|
export interface GridProps extends BaseProps<'div' | 'aside' | 'main'> {
|
|
5
13
|
/**
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
14
|
+
* If true, the component will have the flex container behavior. You should be wrapping items with a container.
|
|
15
|
+
* @value true
|
|
16
|
+
* @value false
|
|
17
|
+
* @default false
|
|
18
|
+
*/
|
|
10
19
|
container?: boolean;
|
|
11
20
|
/**
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
21
|
+
* @value true
|
|
22
|
+
* @value false
|
|
23
|
+
* @default true
|
|
24
|
+
*/
|
|
16
25
|
item?: boolean;
|
|
17
26
|
/**
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
27
|
+
* @value true
|
|
28
|
+
* @value false
|
|
29
|
+
*/
|
|
21
30
|
inline?: boolean;
|
|
22
31
|
/**
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
32
|
+
* Defines the space between the type item components. It can only be used on a type container component.
|
|
33
|
+
* @value 1
|
|
34
|
+
* @value 2
|
|
35
|
+
* @value 4
|
|
36
|
+
* @value 6
|
|
37
|
+
* @value 8
|
|
38
|
+
* @value 10
|
|
39
|
+
* @value 12
|
|
40
|
+
* @value object
|
|
41
|
+
* @default undefined
|
|
42
|
+
*/
|
|
43
|
+
spacing?: SpacingValues | SpacingMediaValues;
|
|
44
|
+
/**
|
|
45
|
+
* If a number, it sets the number of columns the grid item uses.
|
|
46
|
+
* It can't be greater than the total number of columns of the container (12).
|
|
47
|
+
* If 'auto', the grid item's width matches its content.
|
|
48
|
+
* If it's not set, the prop is ignored.
|
|
49
|
+
* The value is applied for all the screen sizes with the lowest priority.
|
|
50
|
+
*/
|
|
35
51
|
xs?: GridValues;
|
|
36
52
|
/**
|
|
37
|
-
|
|
38
|
-
|
|
53
|
+
* If a number, it sets the number of columns the grid item uses.
|
|
54
|
+
* It can't be greater than the total number of columns of the container (12).
|
|
55
|
+
* If 'auto', the grid item's width matches its content.
|
|
56
|
+
* If it's not set, the prop is ignored.
|
|
57
|
+
* The value is applied for the sm breakpoint and wider screens if not overridden.
|
|
58
|
+
*/
|
|
39
59
|
sm?: GridValues;
|
|
40
60
|
/**
|
|
41
|
-
|
|
42
|
-
|
|
61
|
+
* If a number, it sets the number of columns the grid item uses.
|
|
62
|
+
* It can't be greater than the total number of columns of the container (12).
|
|
63
|
+
* If 'auto', the grid item's width matches its content.
|
|
64
|
+
* If it's not set, the prop is ignored.
|
|
65
|
+
* The value is applied for the md breakpoint and wider screens if not overridden.
|
|
66
|
+
*/
|
|
43
67
|
md?: GridValues;
|
|
44
68
|
/**
|
|
45
|
-
|
|
46
|
-
|
|
69
|
+
* If a number, it sets the number of columns the grid item uses.
|
|
70
|
+
* It can't be greater than the total number of columns of the container (12).
|
|
71
|
+
* If 'auto', the grid item's width matches its content.
|
|
72
|
+
* If it's not set, the prop is ignored.
|
|
73
|
+
* The value is applied for the lg breakpoint and wider screens if not overridden.
|
|
74
|
+
*/
|
|
47
75
|
lg?: GridValues;
|
|
48
76
|
/**
|
|
49
|
-
|
|
50
|
-
|
|
77
|
+
* If a number, it sets the number of columns the grid item uses.
|
|
78
|
+
* It can't be greater than the total number of columns of the container (12).
|
|
79
|
+
* If 'auto', the grid item's width matches its content.
|
|
80
|
+
* If it's not set, the prop is ignored.
|
|
81
|
+
* The value is applied for the xl breakpoint and wider screens.
|
|
82
|
+
*/
|
|
51
83
|
xl?: GridValues;
|
|
52
84
|
}
|
|
53
85
|
/**
|
|
54
86
|
* Grid is used to arrange other components in complex grid configurations of rows and columns.
|
|
55
87
|
*/
|
|
56
|
-
export declare const Grid: React.ForwardRefExoticComponent<Pick<GridProps, "slot" | "style" | "title" | "as" | "className" | "color" | "id" | "lang" | "role" | "tabIndex" | "spacing" | "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" | "inline" | "margin" | "marginTop" | "marginBottom" | "marginLeft" | "marginRight" | "padding" | "paddingTop" | "paddingBottom" | "paddingLeft" | "paddingRight" | "printHidden" | "printVisible" | "xsUpHidden" | "smUpHidden" | "mdUpHidden" | "lgUpHidden" | "xlUpHidden" | "xsHidden" | "smHidden" | "mdHidden" | "lgHidden" | "xlHidden" | "
|
|
88
|
+
export declare const Grid: React.ForwardRefExoticComponent<Pick<GridProps, "slot" | "style" | "title" | "as" | "className" | "color" | "id" | "lang" | "role" | "tabIndex" | "spacing" | "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" | "inline" | "margin" | "marginTop" | "marginBottom" | "marginLeft" | "marginRight" | "padding" | "paddingTop" | "paddingBottom" | "paddingLeft" | "paddingRight" | "printHidden" | "printVisible" | "xsUpHidden" | "smUpHidden" | "mdUpHidden" | "lgUpHidden" | "xlUpHidden" | "xsHidden" | "smHidden" | "mdHidden" | "lgHidden" | "xlHidden" | "container" | "item" | "xs" | "sm" | "md" | "lg" | "xl"> & React.RefAttributes<HTMLElement>>;
|
|
57
89
|
export default Grid;
|
package/Grid/index.js
CHANGED
|
@@ -41,7 +41,7 @@ var Grid = /*#__PURE__*/_react["default"].forwardRef(function Grid(_ref, ref) {
|
|
|
41
41
|
return /*#__PURE__*/_react["default"].createElement(_Base["default"], (0, _extends2["default"])({
|
|
42
42
|
as: as || 'div',
|
|
43
43
|
ref: ref,
|
|
44
|
-
className: (0, _clsx["default"])(className, container && [spacing !== undefined && "govgr-gap-".concat(spacing), inline && 'govgr-grid-inline', 'govgr-grid'], item && [xs !== undefined && "xs:govgr-grid__col-span-".concat(xs), sm !== undefined && "sm:govgr-grid__col-span-".concat(sm), md !== undefined && "md:govgr-grid__col-span-".concat(md), lg !== undefined && "lg:govgr-grid__col-span-".concat(lg), xl !== undefined && "xl:govgr-grid__col-span-".concat(xl)])
|
|
44
|
+
className: (0, _clsx["default"])(className, container && [(spacing === null || spacing === void 0 ? void 0 : spacing.xs) !== undefined && "govgr-gap-xs-".concat(spacing === null || spacing === void 0 ? void 0 : spacing.xs), (spacing === null || spacing === void 0 ? void 0 : spacing.sm) !== undefined && "govgr-gap-sm-".concat(spacing === null || spacing === void 0 ? void 0 : spacing.sm), (spacing === null || spacing === void 0 ? void 0 : spacing.md) !== undefined && "govgr-gap-md-".concat(spacing === null || spacing === void 0 ? void 0 : spacing.md), (spacing === null || spacing === void 0 ? void 0 : spacing.lg) !== undefined && "govgr-gap-lg-".concat(spacing === null || spacing === void 0 ? void 0 : spacing.lg), (spacing === null || spacing === void 0 ? void 0 : spacing.xl) !== undefined && "govgr-gap-xl-".concat(spacing === null || spacing === void 0 ? void 0 : spacing.xl), typeof spacing === 'number' && "govgr-gap-".concat(spacing), inline && 'govgr-grid-inline', 'govgr-grid'], item && [xs !== undefined && "xs:govgr-grid__col-span-".concat(xs), sm !== undefined && "sm:govgr-grid__col-span-".concat(sm), md !== undefined && "md:govgr-grid__col-span-".concat(md), lg !== undefined && "lg:govgr-grid__col-span-".concat(lg), xl !== undefined && "xl:govgr-grid__col-span-".concat(xl)])
|
|
45
45
|
}, props), children);
|
|
46
46
|
});
|
|
47
47
|
|
|
@@ -2,16 +2,21 @@
|
|
|
2
2
|
|
|
3
3
|
exports[`renders the Heading with no props 1`] = `
|
|
4
4
|
<ForwardRef(Heading)>
|
|
5
|
-
<ForwardRef(
|
|
5
|
+
<ForwardRef(Typography)
|
|
6
6
|
as="h1"
|
|
7
7
|
className="govgr-heading-xl"
|
|
8
8
|
>
|
|
9
|
-
<
|
|
9
|
+
<ForwardRef(Base)
|
|
10
|
+
as="h1"
|
|
10
11
|
className="govgr-heading-xl"
|
|
11
12
|
>
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
13
|
+
<h1
|
|
14
|
+
className="govgr-heading-xl"
|
|
15
|
+
>
|
|
16
|
+
hello
|
|
17
|
+
</h1>
|
|
18
|
+
</ForwardRef(Base)>
|
|
19
|
+
</ForwardRef(Typography)>
|
|
15
20
|
</ForwardRef(Heading)>
|
|
16
21
|
`;
|
|
17
22
|
|
|
@@ -20,16 +25,21 @@ exports[`renders the Heading with size=l and element h2 1`] = `
|
|
|
20
25
|
element="h2"
|
|
21
26
|
size="lg"
|
|
22
27
|
>
|
|
23
|
-
<ForwardRef(
|
|
28
|
+
<ForwardRef(Typography)
|
|
24
29
|
as="h2"
|
|
25
30
|
className="govgr-heading-lg"
|
|
26
31
|
>
|
|
27
|
-
<
|
|
32
|
+
<ForwardRef(Base)
|
|
33
|
+
as="h2"
|
|
28
34
|
className="govgr-heading-lg"
|
|
29
35
|
>
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
36
|
+
<h2
|
|
37
|
+
className="govgr-heading-lg"
|
|
38
|
+
>
|
|
39
|
+
hello
|
|
40
|
+
</h2>
|
|
41
|
+
</ForwardRef(Base)>
|
|
42
|
+
</ForwardRef(Typography)>
|
|
33
43
|
</ForwardRef(Heading)>
|
|
34
44
|
`;
|
|
35
45
|
|
|
@@ -38,16 +48,21 @@ exports[`renders the Heading with size=l and element h3 1`] = `
|
|
|
38
48
|
element="h3"
|
|
39
49
|
size="lg"
|
|
40
50
|
>
|
|
41
|
-
<ForwardRef(
|
|
51
|
+
<ForwardRef(Typography)
|
|
42
52
|
as="h3"
|
|
43
53
|
className="govgr-heading-lg"
|
|
44
54
|
>
|
|
45
|
-
<
|
|
55
|
+
<ForwardRef(Base)
|
|
56
|
+
as="h3"
|
|
46
57
|
className="govgr-heading-lg"
|
|
47
58
|
>
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
59
|
+
<h3
|
|
60
|
+
className="govgr-heading-lg"
|
|
61
|
+
>
|
|
62
|
+
hello
|
|
63
|
+
</h3>
|
|
64
|
+
</ForwardRef(Base)>
|
|
65
|
+
</ForwardRef(Typography)>
|
|
51
66
|
</ForwardRef(Heading)>
|
|
52
67
|
`;
|
|
53
68
|
|
|
@@ -56,16 +71,21 @@ exports[`renders the Heading with size=l and element h4 1`] = `
|
|
|
56
71
|
element="h4"
|
|
57
72
|
size="lg"
|
|
58
73
|
>
|
|
59
|
-
<ForwardRef(
|
|
74
|
+
<ForwardRef(Typography)
|
|
60
75
|
as="h4"
|
|
61
76
|
className="govgr-heading-lg"
|
|
62
77
|
>
|
|
63
|
-
<
|
|
78
|
+
<ForwardRef(Base)
|
|
79
|
+
as="h4"
|
|
64
80
|
className="govgr-heading-lg"
|
|
65
81
|
>
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
82
|
+
<h4
|
|
83
|
+
className="govgr-heading-lg"
|
|
84
|
+
>
|
|
85
|
+
hello
|
|
86
|
+
</h4>
|
|
87
|
+
</ForwardRef(Base)>
|
|
88
|
+
</ForwardRef(Typography)>
|
|
69
89
|
</ForwardRef(Heading)>
|
|
70
90
|
`;
|
|
71
91
|
|
|
@@ -73,16 +93,21 @@ exports[`renders the Heading with size=lg 1`] = `
|
|
|
73
93
|
<ForwardRef(Heading)
|
|
74
94
|
size="lg"
|
|
75
95
|
>
|
|
76
|
-
<ForwardRef(
|
|
96
|
+
<ForwardRef(Typography)
|
|
77
97
|
as="h2"
|
|
78
98
|
className="govgr-heading-lg"
|
|
79
99
|
>
|
|
80
|
-
<
|
|
100
|
+
<ForwardRef(Base)
|
|
101
|
+
as="h2"
|
|
81
102
|
className="govgr-heading-lg"
|
|
82
103
|
>
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
104
|
+
<h2
|
|
105
|
+
className="govgr-heading-lg"
|
|
106
|
+
>
|
|
107
|
+
hello
|
|
108
|
+
</h2>
|
|
109
|
+
</ForwardRef(Base)>
|
|
110
|
+
</ForwardRef(Typography)>
|
|
86
111
|
</ForwardRef(Heading)>
|
|
87
112
|
`;
|
|
88
113
|
|
|
@@ -91,16 +116,21 @@ exports[`renders the Heading with size=m and element h2 1`] = `
|
|
|
91
116
|
element="h2"
|
|
92
117
|
size="md"
|
|
93
118
|
>
|
|
94
|
-
<ForwardRef(
|
|
119
|
+
<ForwardRef(Typography)
|
|
95
120
|
as="h2"
|
|
96
121
|
className="govgr-heading-md"
|
|
97
122
|
>
|
|
98
|
-
<
|
|
123
|
+
<ForwardRef(Base)
|
|
124
|
+
as="h2"
|
|
99
125
|
className="govgr-heading-md"
|
|
100
126
|
>
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
127
|
+
<h2
|
|
128
|
+
className="govgr-heading-md"
|
|
129
|
+
>
|
|
130
|
+
hello
|
|
131
|
+
</h2>
|
|
132
|
+
</ForwardRef(Base)>
|
|
133
|
+
</ForwardRef(Typography)>
|
|
104
134
|
</ForwardRef(Heading)>
|
|
105
135
|
`;
|
|
106
136
|
|
|
@@ -109,16 +139,21 @@ exports[`renders the Heading with size=m and element h3 1`] = `
|
|
|
109
139
|
element="h3"
|
|
110
140
|
size="md"
|
|
111
141
|
>
|
|
112
|
-
<ForwardRef(
|
|
142
|
+
<ForwardRef(Typography)
|
|
113
143
|
as="h3"
|
|
114
144
|
className="govgr-heading-md"
|
|
115
145
|
>
|
|
116
|
-
<
|
|
146
|
+
<ForwardRef(Base)
|
|
147
|
+
as="h3"
|
|
117
148
|
className="govgr-heading-md"
|
|
118
149
|
>
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
150
|
+
<h3
|
|
151
|
+
className="govgr-heading-md"
|
|
152
|
+
>
|
|
153
|
+
hello
|
|
154
|
+
</h3>
|
|
155
|
+
</ForwardRef(Base)>
|
|
156
|
+
</ForwardRef(Typography)>
|
|
122
157
|
</ForwardRef(Heading)>
|
|
123
158
|
`;
|
|
124
159
|
|
|
@@ -127,16 +162,21 @@ exports[`renders the Heading with size=m and element h4 1`] = `
|
|
|
127
162
|
element="h4"
|
|
128
163
|
size="md"
|
|
129
164
|
>
|
|
130
|
-
<ForwardRef(
|
|
165
|
+
<ForwardRef(Typography)
|
|
131
166
|
as="h4"
|
|
132
167
|
className="govgr-heading-md"
|
|
133
168
|
>
|
|
134
|
-
<
|
|
169
|
+
<ForwardRef(Base)
|
|
170
|
+
as="h4"
|
|
135
171
|
className="govgr-heading-md"
|
|
136
172
|
>
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
173
|
+
<h4
|
|
174
|
+
className="govgr-heading-md"
|
|
175
|
+
>
|
|
176
|
+
hello
|
|
177
|
+
</h4>
|
|
178
|
+
</ForwardRef(Base)>
|
|
179
|
+
</ForwardRef(Typography)>
|
|
140
180
|
</ForwardRef(Heading)>
|
|
141
181
|
`;
|
|
142
182
|
|
|
@@ -144,16 +184,21 @@ exports[`renders the Heading with size=md 1`] = `
|
|
|
144
184
|
<ForwardRef(Heading)
|
|
145
185
|
size="md"
|
|
146
186
|
>
|
|
147
|
-
<ForwardRef(
|
|
187
|
+
<ForwardRef(Typography)
|
|
148
188
|
as="h3"
|
|
149
189
|
className="govgr-heading-md"
|
|
150
190
|
>
|
|
151
|
-
<
|
|
191
|
+
<ForwardRef(Base)
|
|
192
|
+
as="h3"
|
|
152
193
|
className="govgr-heading-md"
|
|
153
194
|
>
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
195
|
+
<h3
|
|
196
|
+
className="govgr-heading-md"
|
|
197
|
+
>
|
|
198
|
+
hello
|
|
199
|
+
</h3>
|
|
200
|
+
</ForwardRef(Base)>
|
|
201
|
+
</ForwardRef(Typography)>
|
|
157
202
|
</ForwardRef(Heading)>
|
|
158
203
|
`;
|
|
159
204
|
|
|
@@ -162,16 +207,21 @@ exports[`renders the Heading with size=s and element h2 1`] = `
|
|
|
162
207
|
element="h2"
|
|
163
208
|
size="sm"
|
|
164
209
|
>
|
|
165
|
-
<ForwardRef(
|
|
210
|
+
<ForwardRef(Typography)
|
|
166
211
|
as="h2"
|
|
167
212
|
className="govgr-heading-sm"
|
|
168
213
|
>
|
|
169
|
-
<
|
|
214
|
+
<ForwardRef(Base)
|
|
215
|
+
as="h2"
|
|
170
216
|
className="govgr-heading-sm"
|
|
171
217
|
>
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
218
|
+
<h2
|
|
219
|
+
className="govgr-heading-sm"
|
|
220
|
+
>
|
|
221
|
+
hello
|
|
222
|
+
</h2>
|
|
223
|
+
</ForwardRef(Base)>
|
|
224
|
+
</ForwardRef(Typography)>
|
|
175
225
|
</ForwardRef(Heading)>
|
|
176
226
|
`;
|
|
177
227
|
|
|
@@ -180,16 +230,21 @@ exports[`renders the Heading with size=s and element h3 1`] = `
|
|
|
180
230
|
element="h3"
|
|
181
231
|
size="sm"
|
|
182
232
|
>
|
|
183
|
-
<ForwardRef(
|
|
233
|
+
<ForwardRef(Typography)
|
|
184
234
|
as="h3"
|
|
185
235
|
className="govgr-heading-sm"
|
|
186
236
|
>
|
|
187
|
-
<
|
|
237
|
+
<ForwardRef(Base)
|
|
238
|
+
as="h3"
|
|
188
239
|
className="govgr-heading-sm"
|
|
189
240
|
>
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
241
|
+
<h3
|
|
242
|
+
className="govgr-heading-sm"
|
|
243
|
+
>
|
|
244
|
+
hello
|
|
245
|
+
</h3>
|
|
246
|
+
</ForwardRef(Base)>
|
|
247
|
+
</ForwardRef(Typography)>
|
|
193
248
|
</ForwardRef(Heading)>
|
|
194
249
|
`;
|
|
195
250
|
|
|
@@ -198,16 +253,21 @@ exports[`renders the Heading with size=s and element h4 1`] = `
|
|
|
198
253
|
element="h4"
|
|
199
254
|
size="sm"
|
|
200
255
|
>
|
|
201
|
-
<ForwardRef(
|
|
256
|
+
<ForwardRef(Typography)
|
|
202
257
|
as="h4"
|
|
203
258
|
className="govgr-heading-sm"
|
|
204
259
|
>
|
|
205
|
-
<
|
|
260
|
+
<ForwardRef(Base)
|
|
261
|
+
as="h4"
|
|
206
262
|
className="govgr-heading-sm"
|
|
207
263
|
>
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
264
|
+
<h4
|
|
265
|
+
className="govgr-heading-sm"
|
|
266
|
+
>
|
|
267
|
+
hello
|
|
268
|
+
</h4>
|
|
269
|
+
</ForwardRef(Base)>
|
|
270
|
+
</ForwardRef(Typography)>
|
|
211
271
|
</ForwardRef(Heading)>
|
|
212
272
|
`;
|
|
213
273
|
|
|
@@ -215,16 +275,21 @@ exports[`renders the Heading with size=sm 1`] = `
|
|
|
215
275
|
<ForwardRef(Heading)
|
|
216
276
|
size="sm"
|
|
217
277
|
>
|
|
218
|
-
<ForwardRef(
|
|
278
|
+
<ForwardRef(Typography)
|
|
219
279
|
as="h4"
|
|
220
280
|
className="govgr-heading-sm"
|
|
221
281
|
>
|
|
222
|
-
<
|
|
282
|
+
<ForwardRef(Base)
|
|
283
|
+
as="h4"
|
|
223
284
|
className="govgr-heading-sm"
|
|
224
285
|
>
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
286
|
+
<h4
|
|
287
|
+
className="govgr-heading-sm"
|
|
288
|
+
>
|
|
289
|
+
hello
|
|
290
|
+
</h4>
|
|
291
|
+
</ForwardRef(Base)>
|
|
292
|
+
</ForwardRef(Typography)>
|
|
228
293
|
</ForwardRef(Heading)>
|
|
229
294
|
`;
|
|
230
295
|
|
|
@@ -232,16 +297,21 @@ exports[`renders the Heading with size=xl 1`] = `
|
|
|
232
297
|
<ForwardRef(Heading)
|
|
233
298
|
size="xl"
|
|
234
299
|
>
|
|
235
|
-
<ForwardRef(
|
|
300
|
+
<ForwardRef(Typography)
|
|
236
301
|
as="h1"
|
|
237
302
|
className="govgr-heading-xl"
|
|
238
303
|
>
|
|
239
|
-
<
|
|
304
|
+
<ForwardRef(Base)
|
|
305
|
+
as="h1"
|
|
240
306
|
className="govgr-heading-xl"
|
|
241
307
|
>
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
308
|
+
<h1
|
|
309
|
+
className="govgr-heading-xl"
|
|
310
|
+
>
|
|
311
|
+
hello
|
|
312
|
+
</h1>
|
|
313
|
+
</ForwardRef(Base)>
|
|
314
|
+
</ForwardRef(Typography)>
|
|
245
315
|
</ForwardRef(Heading)>
|
|
246
316
|
`;
|
|
247
317
|
|
|
@@ -250,16 +320,21 @@ exports[`renders the Heading with size=xl and element h2 1`] = `
|
|
|
250
320
|
element="h2"
|
|
251
321
|
size="xl"
|
|
252
322
|
>
|
|
253
|
-
<ForwardRef(
|
|
323
|
+
<ForwardRef(Typography)
|
|
254
324
|
as="h2"
|
|
255
325
|
className="govgr-heading-xl"
|
|
256
326
|
>
|
|
257
|
-
<
|
|
327
|
+
<ForwardRef(Base)
|
|
328
|
+
as="h2"
|
|
258
329
|
className="govgr-heading-xl"
|
|
259
330
|
>
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
331
|
+
<h2
|
|
332
|
+
className="govgr-heading-xl"
|
|
333
|
+
>
|
|
334
|
+
hello
|
|
335
|
+
</h2>
|
|
336
|
+
</ForwardRef(Base)>
|
|
337
|
+
</ForwardRef(Typography)>
|
|
263
338
|
</ForwardRef(Heading)>
|
|
264
339
|
`;
|
|
265
340
|
|
|
@@ -268,16 +343,21 @@ exports[`renders the Heading with size=xl and element h3 1`] = `
|
|
|
268
343
|
element="h3"
|
|
269
344
|
size="xl"
|
|
270
345
|
>
|
|
271
|
-
<ForwardRef(
|
|
346
|
+
<ForwardRef(Typography)
|
|
272
347
|
as="h3"
|
|
273
348
|
className="govgr-heading-xl"
|
|
274
349
|
>
|
|
275
|
-
<
|
|
350
|
+
<ForwardRef(Base)
|
|
351
|
+
as="h3"
|
|
276
352
|
className="govgr-heading-xl"
|
|
277
353
|
>
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
354
|
+
<h3
|
|
355
|
+
className="govgr-heading-xl"
|
|
356
|
+
>
|
|
357
|
+
hello
|
|
358
|
+
</h3>
|
|
359
|
+
</ForwardRef(Base)>
|
|
360
|
+
</ForwardRef(Typography)>
|
|
281
361
|
</ForwardRef(Heading)>
|
|
282
362
|
`;
|
|
283
363
|
|
|
@@ -286,16 +366,21 @@ exports[`renders the Heading with size=xl and element h4 1`] = `
|
|
|
286
366
|
element="h4"
|
|
287
367
|
size="xl"
|
|
288
368
|
>
|
|
289
|
-
<ForwardRef(
|
|
369
|
+
<ForwardRef(Typography)
|
|
290
370
|
as="h4"
|
|
291
371
|
className="govgr-heading-xl"
|
|
292
372
|
>
|
|
293
|
-
<
|
|
373
|
+
<ForwardRef(Base)
|
|
374
|
+
as="h4"
|
|
294
375
|
className="govgr-heading-xl"
|
|
295
376
|
>
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
377
|
+
<h4
|
|
378
|
+
className="govgr-heading-xl"
|
|
379
|
+
>
|
|
380
|
+
hello
|
|
381
|
+
</h4>
|
|
382
|
+
</ForwardRef(Base)>
|
|
383
|
+
</ForwardRef(Typography)>
|
|
299
384
|
</ForwardRef(Heading)>
|
|
300
385
|
`;
|
|
301
386
|
|
|
@@ -303,16 +388,21 @@ exports[`renders the Heading with size=xs 1`] = `
|
|
|
303
388
|
<ForwardRef(Heading)
|
|
304
389
|
size="xs"
|
|
305
390
|
>
|
|
306
|
-
<ForwardRef(
|
|
391
|
+
<ForwardRef(Typography)
|
|
307
392
|
as="h5"
|
|
308
393
|
className="govgr-heading-xs"
|
|
309
394
|
>
|
|
310
|
-
<
|
|
395
|
+
<ForwardRef(Base)
|
|
396
|
+
as="h5"
|
|
311
397
|
className="govgr-heading-xs"
|
|
312
398
|
>
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
399
|
+
<h5
|
|
400
|
+
className="govgr-heading-xs"
|
|
401
|
+
>
|
|
402
|
+
hello
|
|
403
|
+
</h5>
|
|
404
|
+
</ForwardRef(Base)>
|
|
405
|
+
</ForwardRef(Typography)>
|
|
316
406
|
</ForwardRef(Heading)>
|
|
317
407
|
`;
|
|
318
408
|
|
|
@@ -321,15 +411,20 @@ exports[`renders the Heading with size=xs and element h4 1`] = `
|
|
|
321
411
|
element="h4"
|
|
322
412
|
size="xs"
|
|
323
413
|
>
|
|
324
|
-
<ForwardRef(
|
|
414
|
+
<ForwardRef(Typography)
|
|
325
415
|
as="h4"
|
|
326
416
|
className="govgr-heading-xs"
|
|
327
417
|
>
|
|
328
|
-
<
|
|
418
|
+
<ForwardRef(Base)
|
|
419
|
+
as="h4"
|
|
329
420
|
className="govgr-heading-xs"
|
|
330
421
|
>
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
422
|
+
<h4
|
|
423
|
+
className="govgr-heading-xs"
|
|
424
|
+
>
|
|
425
|
+
hello
|
|
426
|
+
</h4>
|
|
427
|
+
</ForwardRef(Base)>
|
|
428
|
+
</ForwardRef(Typography)>
|
|
334
429
|
</ForwardRef(Heading)>
|
|
335
430
|
`;
|