@dnb/eufemia 9.44.0 → 9.45.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/CHANGELOG.md +19 -0
- package/cjs/components/avatar/Avatar.d.ts +1 -1
- package/cjs/components/lib.d.ts +7 -7
- package/cjs/components/section/style/themes/dnb-section-theme-ui.css +2 -7
- package/cjs/components/section/style/themes/dnb-section-theme-ui.min.css +1 -1
- package/cjs/components/space/SpacingHelper.d.ts +1 -2
- package/cjs/components/space/SpacingHelper.js +0 -6
- package/cjs/components/space/SpacingUtils.d.ts +30 -19
- package/cjs/components/space/SpacingUtils.js +151 -132
- package/cjs/components/space/types.d.ts +13 -6
- package/cjs/components/tabs/Tabs.d.ts +1 -1
- package/cjs/components/tag/Tag.d.ts +1 -1
- package/cjs/elements/Anchor.d.ts +4 -4
- package/cjs/elements/Dd.d.ts +1 -1
- package/cjs/elements/Dt.d.ts +1 -1
- package/cjs/elements/Element.d.ts +1 -1
- package/cjs/elements/Link.d.ts +3 -3
- package/cjs/elements/lib.d.ts +9 -9
- package/cjs/fragments/lib.d.ts +1 -1
- package/cjs/fragments/scroll-view/ScrollView.d.ts +1 -1
- package/cjs/shared/Eufemia.js +1 -1
- package/cjs/shared/index.d.ts +1 -1
- package/cjs/shared/index.js +1 -1
- package/cjs/style/dnb-ui-elements.css +12 -39
- package/cjs/style/dnb-ui-elements.min.css +1 -1
- package/cjs/style/dnb-ui-tags.css +21 -59
- package/cjs/style/dnb-ui-tags.min.css +1 -1
- package/cjs/style/elements/_anchor-mixins.scss +9 -14
- package/cjs/style/elements/anchor.scss +1 -1
- package/cjs/style/themes/theme-eiendom/dnb-theme-eiendom.css +14 -46
- package/cjs/style/themes/theme-eiendom/dnb-theme-eiendom.min.css +2 -2
- package/cjs/style/themes/theme-ui/dnb-theme-ui.css +14 -46
- package/cjs/style/themes/theme-ui/dnb-theme-ui.min.css +2 -2
- package/components/avatar/Avatar.d.ts +1 -1
- package/components/lib.d.ts +7 -7
- package/components/section/style/themes/dnb-section-theme-ui.css +2 -7
- package/components/section/style/themes/dnb-section-theme-ui.min.css +1 -1
- package/components/space/SpacingHelper.d.ts +1 -2
- package/components/space/SpacingHelper.js +2 -2
- package/components/space/SpacingUtils.d.ts +30 -19
- package/components/space/SpacingUtils.js +121 -109
- package/components/space/types.d.ts +13 -6
- package/components/tabs/Tabs.d.ts +1 -1
- package/components/tag/Tag.d.ts +1 -1
- package/elements/Anchor.d.ts +4 -4
- package/elements/Dd.d.ts +1 -1
- package/elements/Dt.d.ts +1 -1
- package/elements/Element.d.ts +1 -1
- package/elements/Link.d.ts +3 -3
- package/elements/lib.d.ts +9 -9
- package/es/components/avatar/Avatar.d.ts +1 -1
- package/es/components/lib.d.ts +7 -7
- package/es/components/section/style/themes/dnb-section-theme-ui.css +2 -7
- package/es/components/section/style/themes/dnb-section-theme-ui.min.css +1 -1
- package/es/components/space/SpacingHelper.d.ts +1 -2
- package/es/components/space/SpacingHelper.js +2 -2
- package/es/components/space/SpacingUtils.d.ts +30 -19
- package/es/components/space/SpacingUtils.js +81 -76
- package/es/components/space/types.d.ts +13 -6
- package/es/components/tabs/Tabs.d.ts +1 -1
- package/es/components/tag/Tag.d.ts +1 -1
- package/es/elements/Anchor.d.ts +4 -4
- package/es/elements/Dd.d.ts +1 -1
- package/es/elements/Dt.d.ts +1 -1
- package/es/elements/Element.d.ts +1 -1
- package/es/elements/Link.d.ts +3 -3
- package/es/elements/lib.d.ts +9 -9
- package/es/fragments/lib.d.ts +1 -1
- package/es/fragments/scroll-view/ScrollView.d.ts +1 -1
- package/es/shared/Eufemia.js +1 -1
- package/es/shared/index.d.ts +1 -1
- package/es/shared/index.js +2 -2
- package/es/style/dnb-ui-elements.css +12 -39
- package/es/style/dnb-ui-elements.min.css +1 -1
- package/es/style/dnb-ui-tags.css +21 -59
- package/es/style/dnb-ui-tags.min.css +1 -1
- package/es/style/elements/_anchor-mixins.scss +9 -14
- package/es/style/elements/anchor.scss +1 -1
- package/es/style/themes/theme-eiendom/dnb-theme-eiendom.css +14 -46
- package/es/style/themes/theme-eiendom/dnb-theme-eiendom.min.css +2 -2
- package/es/style/themes/theme-ui/dnb-theme-ui.css +14 -46
- package/es/style/themes/theme-ui/dnb-theme-ui.min.css +2 -2
- package/esm/dnb-ui-basis.min.mjs +1 -1
- package/esm/dnb-ui-components.min.mjs +1 -1
- package/esm/dnb-ui-elements.min.mjs +2 -2
- package/esm/dnb-ui-extensions.min.mjs +1 -1
- package/esm/dnb-ui-lib.min.mjs +2 -2
- package/esm/dnb-ui-web-components.min.mjs +2 -2
- package/fragments/lib.d.ts +1 -1
- package/fragments/scroll-view/ScrollView.d.ts +1 -1
- package/package.json +1 -1
- package/shared/Eufemia.js +1 -1
- package/shared/index.d.ts +1 -1
- package/shared/index.js +2 -2
- package/style/dnb-ui-elements.css +12 -39
- package/style/dnb-ui-elements.min.css +1 -1
- package/style/dnb-ui-tags.css +21 -59
- package/style/dnb-ui-tags.min.css +1 -1
- package/style/elements/_anchor-mixins.scss +9 -14
- package/style/elements/anchor.scss +1 -1
- package/style/themes/theme-eiendom/dnb-theme-eiendom.css +14 -46
- package/style/themes/theme-eiendom/dnb-theme-eiendom.min.css +2 -2
- package/style/themes/theme-ui/dnb-theme-ui.css +14 -46
- package/style/themes/theme-ui/dnb-theme-ui.min.css +2 -2
- package/umd/dnb-ui-basis.min.js +1 -1
- package/umd/dnb-ui-components.min.js +1 -1
- package/umd/dnb-ui-elements.min.js +2 -2
- package/umd/dnb-ui-extensions.min.js +4 -4
- package/umd/dnb-ui-lib.min.js +2 -2
- package/umd/dnb-ui-web-components.min.js +2 -2
- package/cjs/shared/SpacingHelper.d.ts +0 -6
- package/cjs/shared/SpacingHelper.js +0 -11
- package/es/shared/SpacingHelper.d.ts +0 -6
- package/es/shared/SpacingHelper.js +0 -2
- package/shared/SpacingHelper.d.ts +0 -6
- package/shared/SpacingHelper.js +0 -2
|
@@ -3,26 +3,33 @@ export declare type SpacingElementProps = {
|
|
|
3
3
|
* Use spacing values like: `small`, `1rem`, `1` or , `16px`. Will use `margin-top`.
|
|
4
4
|
*
|
|
5
5
|
*/
|
|
6
|
-
top?:
|
|
6
|
+
top?: SpaceType;
|
|
7
7
|
/**
|
|
8
8
|
* Use spacing values like: `small`, `1rem`, `1` or , `16px`. will use `margin-right`.
|
|
9
9
|
*
|
|
10
10
|
*/
|
|
11
|
-
right?:
|
|
11
|
+
right?: SpaceType;
|
|
12
12
|
/**
|
|
13
13
|
* Use spacing values like: `small`, `1rem`, `1` or , `16px`. will use `margin-bottom`.
|
|
14
14
|
*
|
|
15
15
|
*/
|
|
16
|
-
bottom?:
|
|
16
|
+
bottom?: SpaceType;
|
|
17
17
|
/**
|
|
18
18
|
* Use spacing values like: `small`, `1rem`, `1` or , `16px`. will use `margin-left`.
|
|
19
19
|
*
|
|
20
20
|
*/
|
|
21
|
-
left?:
|
|
21
|
+
left?: SpaceType;
|
|
22
22
|
};
|
|
23
|
-
export declare type
|
|
23
|
+
export declare type SpaceType = string | boolean | number;
|
|
24
24
|
export declare type SpacingProps = SpacingElementProps & {
|
|
25
|
-
space?:
|
|
25
|
+
space?: SpaceType | SpacingElementProps;
|
|
26
|
+
};
|
|
27
|
+
export declare type SpacingUnknownProps = Record<string, unknown>;
|
|
28
|
+
export declare type StyleObjectProps = SpacingProps & {
|
|
29
|
+
maxWidth?: string;
|
|
30
|
+
maxHeight?: string;
|
|
31
|
+
width?: string;
|
|
32
|
+
height?: string;
|
|
26
33
|
};
|
|
27
34
|
/**
|
|
28
35
|
* @deprecated Use SpacingElementProps instead
|
|
@@ -68,7 +68,7 @@ export type TabsChildren =
|
|
|
68
68
|
*/
|
|
69
69
|
export interface TabsProps extends React.HTMLProps<HTMLElement> {
|
|
70
70
|
/**
|
|
71
|
-
* <em>(required)</em> defines the data structure to load as a JSON. e.g. `[{title: '...', content: 'Current tab', key
|
|
71
|
+
* <em>(required)</em> defines the data structure to load as a JSON. e.g. `[{title: '...', content: 'Current tab', key: '...', hash: '...'}]`
|
|
72
72
|
*/
|
|
73
73
|
data?: TabsData;
|
|
74
74
|
|
|
@@ -61,7 +61,7 @@ export declare const defaultProps: {
|
|
|
61
61
|
declare const Tag: {
|
|
62
62
|
(localProps: TagProps & SpacingProps): JSX.Element;
|
|
63
63
|
Group: (localProps: import("./TagGroup").TagGroupProps & import("../space/types").SpacingElementProps & {
|
|
64
|
-
space?: import("../space/types").
|
|
64
|
+
space?: import("../space/types").SpaceType | import("../space/types").SpacingElementProps;
|
|
65
65
|
}) => JSX.Element;
|
|
66
66
|
};
|
|
67
67
|
export default Tag;
|
package/cjs/elements/Anchor.d.ts
CHANGED
|
@@ -20,9 +20,9 @@ export declare type AnchorProps = {
|
|
|
20
20
|
/** @deprecated use targetBlankTitle instead */
|
|
21
21
|
target_blank_title?: string;
|
|
22
22
|
};
|
|
23
|
-
export declare type AnchorAllProps = AnchorProps & React.
|
|
23
|
+
export declare type AnchorAllProps = AnchorProps & React.HTMLProps<HTMLAnchorElement> & SpacingProps;
|
|
24
24
|
export declare function AnchorInstance(localProps: AnchorAllProps): JSX.Element;
|
|
25
|
-
declare const Anchor: React.ForwardRefExoticComponent<AnchorProps & React.
|
|
26
|
-
space?: import("../shared/types").
|
|
27
|
-
} & React.RefAttributes<HTMLAnchorElement>>;
|
|
25
|
+
declare const Anchor: React.ForwardRefExoticComponent<Pick<AnchorProps & React.HTMLProps<HTMLAnchorElement> & import("../shared/types").SpacingElementProps & {
|
|
26
|
+
space?: import("../shared/types").SpaceType | import("../shared/types").SpacingElementProps;
|
|
27
|
+
}, "aria-hidden" | "cite" | "data" | "dir" | "form" | "label" | "slot" | "span" | "style" | "summary" | "title" | "pattern" | "accessKey" | "key" | "value" | "top" | "right" | "bottom" | "left" | "space" | "width" | "height" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "className" | "contentEditable" | "contextMenu" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-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" | "innerRef" | "list" | "tooltip" | "step" | "size" | "skeleton" | "alt" | "src" | "shape" | "content" | "element" | "inner_ref" | "accept" | "acceptCharset" | "action" | "allowFullScreen" | "allowTransparency" | "as" | "async" | "autoComplete" | "autoFocus" | "autoPlay" | "capture" | "cellPadding" | "cellSpacing" | "charSet" | "challenge" | "checked" | "classID" | "cols" | "colSpan" | "controls" | "coords" | "crossOrigin" | "dateTime" | "default" | "defer" | "disabled" | "download" | "encType" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "frameBorder" | "headers" | "high" | "href" | "hrefLang" | "htmlFor" | "httpEquiv" | "integrity" | "keyParams" | "keyType" | "kind" | "loop" | "low" | "manifest" | "marginHeight" | "marginWidth" | "max" | "maxLength" | "media" | "mediaGroup" | "method" | "min" | "minLength" | "multiple" | "muted" | "name" | "nonce" | "noValidate" | "open" | "optimum" | "playsInline" | "poster" | "preload" | "readOnly" | "rel" | "required" | "reversed" | "rows" | "rowSpan" | "sandbox" | "scope" | "scoped" | "scrolling" | "seamless" | "selected" | "sizes" | "srcDoc" | "srcLang" | "srcSet" | "start" | "target" | "type" | "useMap" | "wmode" | "wrap" | "to" | "targetBlankTitle" | "omitClass" | "target_blank_title"> & React.RefAttributes<HTMLAnchorElement>>;
|
|
28
28
|
export default Anchor;
|
package/cjs/elements/Dd.d.ts
CHANGED
|
@@ -8,6 +8,6 @@ export declare type DdProps = {
|
|
|
8
8
|
children: React.ReactNode;
|
|
9
9
|
};
|
|
10
10
|
declare const Dd: React.ForwardRefExoticComponent<DdProps & import("../shared/types").SpacingElementProps & {
|
|
11
|
-
space?: import("../shared/types").
|
|
11
|
+
space?: import("../shared/types").SpaceType | import("../shared/types").SpacingElementProps;
|
|
12
12
|
} & React.RefAttributes<unknown>>;
|
|
13
13
|
export default Dd;
|
package/cjs/elements/Dt.d.ts
CHANGED
|
@@ -5,6 +5,6 @@
|
|
|
5
5
|
import React from 'react';
|
|
6
6
|
export declare type DtProps = React.AllHTMLAttributes<HTMLDListElement>;
|
|
7
7
|
declare const Dt: React.ForwardRefExoticComponent<DtProps & import("../shared/types").SpacingElementProps & {
|
|
8
|
-
space?: import("../shared/types").
|
|
8
|
+
space?: import("../shared/types").SpaceType | import("../shared/types").SpacingElementProps;
|
|
9
9
|
} & React.RefAttributes<unknown>>;
|
|
10
10
|
export default Dt;
|
|
@@ -48,6 +48,6 @@ declare const Element: React.ForwardRefExoticComponent<Pick<{
|
|
|
48
48
|
/** @deprecated use skeletonMethod instead */
|
|
49
49
|
skeleton_method?: SkeletonMethods;
|
|
50
50
|
} & import("../shared/types").SpacingElementProps & {
|
|
51
|
-
space?: import("../shared/types").
|
|
51
|
+
space?: import("../shared/types").SpaceType | import("../shared/types").SpacingElementProps;
|
|
52
52
|
} & ElementInternalProps & React.HTMLProps<HTMLElement>, "aria-hidden" | "cite" | "data" | "dir" | "form" | "label" | "slot" | "span" | "style" | "summary" | "title" | "pattern" | "accessKey" | "key" | "value" | "top" | "right" | "bottom" | "left" | "space" | "width" | "height" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "className" | "contentEditable" | "contextMenu" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-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" | "innerRef" | "list" | "step" | "size" | "skeleton" | "alt" | "src" | "shape" | "content" | "inner_ref" | "accept" | "acceptCharset" | "action" | "allowFullScreen" | "allowTransparency" | "as" | "async" | "autoComplete" | "autoFocus" | "autoPlay" | "capture" | "cellPadding" | "cellSpacing" | "charSet" | "challenge" | "checked" | "classID" | "cols" | "colSpan" | "controls" | "coords" | "crossOrigin" | "dateTime" | "default" | "defer" | "disabled" | "download" | "encType" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "frameBorder" | "headers" | "high" | "href" | "hrefLang" | "htmlFor" | "httpEquiv" | "integrity" | "keyParams" | "keyType" | "kind" | "loop" | "low" | "manifest" | "marginHeight" | "marginWidth" | "max" | "maxLength" | "media" | "mediaGroup" | "method" | "min" | "minLength" | "multiple" | "muted" | "name" | "nonce" | "noValidate" | "open" | "optimum" | "playsInline" | "poster" | "preload" | "readOnly" | "rel" | "required" | "reversed" | "rows" | "rowSpan" | "sandbox" | "scope" | "scoped" | "scrolling" | "seamless" | "selected" | "sizes" | "srcDoc" | "srcLang" | "srcSet" | "start" | "target" | "type" | "useMap" | "wmode" | "wrap" | "class" | "skeletonMethod" | "internalClass" | "css" | "skeleton_method"> & React.RefAttributes<unknown>>;
|
|
53
53
|
export default Element;
|
package/cjs/elements/Link.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export default Link;
|
|
2
|
-
declare const Link: import("react").ForwardRefExoticComponent<import("./Anchor").AnchorProps & import("react").
|
|
3
|
-
space?: import("../shared/types").
|
|
4
|
-
} & import("react").RefAttributes<HTMLAnchorElement>>;
|
|
2
|
+
declare const Link: import("react").ForwardRefExoticComponent<Pick<import("./Anchor").AnchorProps & import("react").HTMLProps<HTMLAnchorElement> & import("../shared/types").SpacingElementProps & {
|
|
3
|
+
space?: import("../shared/types").SpaceType | import("../shared/types").SpacingElementProps;
|
|
4
|
+
}, "aria-hidden" | "cite" | "data" | "dir" | "form" | "label" | "slot" | "span" | "style" | "summary" | "title" | "pattern" | "accessKey" | "key" | "value" | "top" | "right" | "bottom" | "left" | "space" | "width" | "height" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "className" | "contentEditable" | "contextMenu" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-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" | "innerRef" | "list" | "tooltip" | "step" | "size" | "skeleton" | "alt" | "src" | "shape" | "content" | "element" | "inner_ref" | "accept" | "acceptCharset" | "action" | "allowFullScreen" | "allowTransparency" | "as" | "async" | "autoComplete" | "autoFocus" | "autoPlay" | "capture" | "cellPadding" | "cellSpacing" | "charSet" | "challenge" | "checked" | "classID" | "cols" | "colSpan" | "controls" | "coords" | "crossOrigin" | "dateTime" | "default" | "defer" | "disabled" | "download" | "encType" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "frameBorder" | "headers" | "high" | "href" | "hrefLang" | "htmlFor" | "httpEquiv" | "integrity" | "keyParams" | "keyType" | "kind" | "loop" | "low" | "manifest" | "marginHeight" | "marginWidth" | "max" | "maxLength" | "media" | "mediaGroup" | "method" | "min" | "minLength" | "multiple" | "muted" | "name" | "nonce" | "noValidate" | "open" | "optimum" | "playsInline" | "poster" | "preload" | "readOnly" | "rel" | "required" | "reversed" | "rows" | "rowSpan" | "sandbox" | "scope" | "scoped" | "scrolling" | "seamless" | "selected" | "sizes" | "srcDoc" | "srcLang" | "srcSet" | "start" | "target" | "type" | "useMap" | "wmode" | "wrap" | "to" | "targetBlankTitle" | "omitClass" | "target_blank_title"> & import("react").RefAttributes<HTMLAnchorElement>>;
|
package/cjs/elements/lib.d.ts
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
export function getElements(): {
|
|
2
|
-
Anchor: import("react").ForwardRefExoticComponent<import("./Anchor").AnchorProps & import("react").
|
|
3
|
-
space?: import("../shared/types").
|
|
4
|
-
} & import("react").RefAttributes<HTMLAnchorElement>>;
|
|
2
|
+
Anchor: import("react").ForwardRefExoticComponent<Pick<import("./Anchor").AnchorProps & import("react").HTMLProps<HTMLAnchorElement> & import("../shared/types").SpacingElementProps & {
|
|
3
|
+
space?: import("../shared/types").SpaceType | import("../shared/types").SpacingElementProps;
|
|
4
|
+
}, "aria-hidden" | "cite" | "data" | "dir" | "form" | "label" | "slot" | "span" | "style" | "summary" | "title" | "pattern" | "accessKey" | "key" | "value" | "top" | "right" | "bottom" | "left" | "space" | "width" | "height" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "className" | "contentEditable" | "contextMenu" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-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" | "innerRef" | "list" | "tooltip" | "step" | "size" | "skeleton" | "alt" | "src" | "shape" | "content" | "element" | "inner_ref" | "accept" | "acceptCharset" | "action" | "allowFullScreen" | "allowTransparency" | "as" | "async" | "autoComplete" | "autoFocus" | "autoPlay" | "capture" | "cellPadding" | "cellSpacing" | "charSet" | "challenge" | "checked" | "classID" | "cols" | "colSpan" | "controls" | "coords" | "crossOrigin" | "dateTime" | "default" | "defer" | "disabled" | "download" | "encType" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "frameBorder" | "headers" | "high" | "href" | "hrefLang" | "htmlFor" | "httpEquiv" | "integrity" | "keyParams" | "keyType" | "kind" | "loop" | "low" | "manifest" | "marginHeight" | "marginWidth" | "max" | "maxLength" | "media" | "mediaGroup" | "method" | "min" | "minLength" | "multiple" | "muted" | "name" | "nonce" | "noValidate" | "open" | "optimum" | "playsInline" | "poster" | "preload" | "readOnly" | "rel" | "required" | "reversed" | "rows" | "rowSpan" | "sandbox" | "scope" | "scoped" | "scrolling" | "seamless" | "selected" | "sizes" | "srcDoc" | "srcLang" | "srcSet" | "start" | "target" | "type" | "useMap" | "wmode" | "wrap" | "to" | "targetBlankTitle" | "omitClass" | "target_blank_title"> & import("react").RefAttributes<HTMLAnchorElement>>;
|
|
5
5
|
Blockquote: import("react").FC<import("./Blockquote").BlockquoteProps>;
|
|
6
6
|
Code: import("react").FC<import("./Code").CodeProps>;
|
|
7
7
|
Dd: import("react").ForwardRefExoticComponent<import("./Dd").DdProps & import("../shared/types").SpacingElementProps & {
|
|
8
|
-
space?: import("../shared/types").
|
|
8
|
+
space?: import("../shared/types").SpaceType | import("../shared/types").SpacingElementProps;
|
|
9
9
|
} & import("react").RefAttributes<unknown>>;
|
|
10
10
|
Div: import("react").FC<import("./Div").DivProps>;
|
|
11
11
|
Dl: {
|
|
12
12
|
({ direction, ...props }: import("./Dl").DlAllProps): JSX.Element;
|
|
13
13
|
Item({ className, children, ...props }: import("react").AllHTMLAttributes<HTMLSpanElement> & import("../shared/types").SpacingElementProps & {
|
|
14
|
-
space?: import("../shared/types").
|
|
14
|
+
space?: import("../shared/types").SpaceType | import("../shared/types").SpacingElementProps;
|
|
15
15
|
}): JSX.Element;
|
|
16
16
|
};
|
|
17
17
|
Dt: import("react").ForwardRefExoticComponent<import("./Dt").DtProps & import("../shared/types").SpacingElementProps & {
|
|
18
|
-
space?: import("../shared/types").
|
|
18
|
+
space?: import("../shared/types").SpaceType | import("../shared/types").SpacingElementProps;
|
|
19
19
|
} & import("react").RefAttributes<unknown>>;
|
|
20
20
|
H: typeof H;
|
|
21
21
|
H1: import("react").FC<import("./H1").H1Props>;
|
|
@@ -35,9 +35,9 @@ export function getElements(): {
|
|
|
35
35
|
tagName: string;
|
|
36
36
|
};
|
|
37
37
|
Li: ({ className, ...p }?: import("./Li").LiAllProps) => JSX.Element;
|
|
38
|
-
Link: import("react").ForwardRefExoticComponent<import("./Anchor").AnchorProps & import("react").
|
|
39
|
-
space?: import("../shared/types").
|
|
40
|
-
} & import("react").RefAttributes<HTMLAnchorElement>>;
|
|
38
|
+
Link: import("react").ForwardRefExoticComponent<Pick<import("./Anchor").AnchorProps & import("react").HTMLProps<HTMLAnchorElement> & import("../shared/types").SpacingElementProps & {
|
|
39
|
+
space?: import("../shared/types").SpaceType | import("../shared/types").SpacingElementProps;
|
|
40
|
+
}, "aria-hidden" | "cite" | "data" | "dir" | "form" | "label" | "slot" | "span" | "style" | "summary" | "title" | "pattern" | "accessKey" | "key" | "value" | "top" | "right" | "bottom" | "left" | "space" | "width" | "height" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "className" | "contentEditable" | "contextMenu" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-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" | "innerRef" | "list" | "tooltip" | "step" | "size" | "skeleton" | "alt" | "src" | "shape" | "content" | "element" | "inner_ref" | "accept" | "acceptCharset" | "action" | "allowFullScreen" | "allowTransparency" | "as" | "async" | "autoComplete" | "autoFocus" | "autoPlay" | "capture" | "cellPadding" | "cellSpacing" | "charSet" | "challenge" | "checked" | "classID" | "cols" | "colSpan" | "controls" | "coords" | "crossOrigin" | "dateTime" | "default" | "defer" | "disabled" | "download" | "encType" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "frameBorder" | "headers" | "high" | "href" | "hrefLang" | "htmlFor" | "httpEquiv" | "integrity" | "keyParams" | "keyType" | "kind" | "loop" | "low" | "manifest" | "marginHeight" | "marginWidth" | "max" | "maxLength" | "media" | "mediaGroup" | "method" | "min" | "minLength" | "multiple" | "muted" | "name" | "nonce" | "noValidate" | "open" | "optimum" | "playsInline" | "poster" | "preload" | "readOnly" | "rel" | "required" | "reversed" | "rows" | "rowSpan" | "sandbox" | "scope" | "scoped" | "scrolling" | "seamless" | "selected" | "sizes" | "srcDoc" | "srcLang" | "srcSet" | "start" | "target" | "type" | "useMap" | "wmode" | "wrap" | "to" | "targetBlankTitle" | "omitClass" | "target_blank_title"> & import("react").RefAttributes<HTMLAnchorElement>>;
|
|
41
41
|
Ol: ({ nested, inside, outside, ...p }?: import("./Ol").OlAllProps) => JSX.Element;
|
|
42
42
|
P: import("react").FC<import("./P").PProps>;
|
|
43
43
|
Paragraph: {
|
package/cjs/fragments/lib.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export function getFragments(): {
|
|
2
2
|
DrawerList: typeof DrawerList;
|
|
3
3
|
ScrollView: import("react").ForwardRefExoticComponent<import("./scroll-view/ScrollView").ScrollViewProps & import("../shared/types").SpacingElementProps & {
|
|
4
|
-
space?: import("../shared/types").
|
|
4
|
+
space?: import("../shared/types").SpaceType | import("../shared/types").SpacingElementProps;
|
|
5
5
|
} & Partial<Omit<import("react").HTMLAttributes<HTMLDivElement>, "title">> & {
|
|
6
6
|
innerRef?: import("react").ForwardedRef<unknown>;
|
|
7
7
|
} & import("react").RefAttributes<unknown>>;
|
|
@@ -15,7 +15,7 @@ export declare type ScrollViewAllProps = ScrollViewProps & SpacingProps & Partia
|
|
|
15
15
|
innerRef?: React.ForwardedRef<unknown>;
|
|
16
16
|
};
|
|
17
17
|
declare const _default: React.ForwardRefExoticComponent<ScrollViewProps & import("../../shared/types").SpacingElementProps & {
|
|
18
|
-
space?: import("../../shared/types").
|
|
18
|
+
space?: import("../../shared/types").SpaceType | import("../../shared/types").SpacingElementProps;
|
|
19
19
|
} & Partial<Omit<React.HTMLAttributes<HTMLDivElement>, "title">> & {
|
|
20
20
|
innerRef?: React.ForwardedRef<unknown>;
|
|
21
21
|
} & React.RefAttributes<unknown>>;
|
package/cjs/shared/Eufemia.js
CHANGED
package/cjs/shared/index.d.ts
CHANGED
package/cjs/shared/index.js
CHANGED
|
@@ -57,7 +57,7 @@ var _useMediaQuery = _interopRequireDefault(require("./useMediaQuery"));
|
|
|
57
57
|
|
|
58
58
|
var _useMedia = _interopRequireDefault(require("./useMedia"));
|
|
59
59
|
|
|
60
|
-
var _SpacingHelper = require("
|
|
60
|
+
var _SpacingHelper = require("../components/space/SpacingHelper");
|
|
61
61
|
|
|
62
62
|
Object.keys(_SpacingHelper).forEach(function (key) {
|
|
63
63
|
if (key === "default" || key === "__esModule") return;
|
|
@@ -126,16 +126,16 @@ button.dnb-anchor {
|
|
|
126
126
|
padding: 0.05575em 0.125em 0.05575em;
|
|
127
127
|
font-size: 1.125rem;
|
|
128
128
|
font-size: var(--font-size-basis);
|
|
129
|
-
text-decoration:
|
|
129
|
+
text-decoration: underline;
|
|
130
|
+
-webkit-text-decoration-color: currentColor;
|
|
131
|
+
text-decoration-color: currentColor;
|
|
132
|
+
text-decoration-thickness: 0.0938rem;
|
|
133
|
+
text-underline-offset: 0.25em;
|
|
130
134
|
border-radius: 0;
|
|
131
|
-
-webkit-box-shadow: 0 0.09375rem 0 0 currentColor;
|
|
132
|
-
box-shadow: 0 0.09375rem 0 0 currentColor;
|
|
133
135
|
color: #007272;
|
|
134
136
|
color: var(--color-sea-green);
|
|
135
|
-
-webkit-transition: background-color 200ms ease-in-out, border-radius 200ms ease-in-out
|
|
136
|
-
transition: background-color 200ms ease-in-out, border-radius 200ms ease-in-out
|
|
137
|
-
transition: background-color 200ms ease-in-out, box-shadow 180ms ease-in-out, border-radius 200ms ease-in-out;
|
|
138
|
-
transition: background-color 200ms ease-in-out, box-shadow 180ms ease-in-out, border-radius 200ms ease-in-out, -webkit-box-shadow 180ms ease-in-out; }
|
|
137
|
+
-webkit-transition: background-color 200ms ease-in-out, border-radius 200ms ease-in-out;
|
|
138
|
+
transition: background-color 200ms ease-in-out, border-radius 200ms ease-in-out; }
|
|
139
139
|
sup .dnb-anchor,
|
|
140
140
|
sub .dnb-anchor {
|
|
141
141
|
padding: 0 0.025em 0; }
|
|
@@ -160,8 +160,6 @@ button.dnb-anchor {
|
|
|
160
160
|
transition: none; }
|
|
161
161
|
.dnb-anchor:focus:not(:active),
|
|
162
162
|
.dnb-section .dnb-anchor:focus:not(:active).dnb-anchor {
|
|
163
|
-
-webkit-box-shadow: none;
|
|
164
|
-
box-shadow: none;
|
|
165
163
|
text-decoration: none; }
|
|
166
164
|
html[data-whatinput='keyboard'] .dnb-anchor:focus {
|
|
167
165
|
--border-color: var(--color-emerald-green);
|
|
@@ -183,8 +181,6 @@ button.dnb-anchor {
|
|
|
183
181
|
.dnb-anchor:hover,
|
|
184
182
|
.dnb-section .dnb-anchor:hover.dnb-anchor, .dnb-anchor:active,
|
|
185
183
|
.dnb-section .dnb-anchor:active.dnb-anchor {
|
|
186
|
-
-webkit-box-shadow: none;
|
|
187
|
-
box-shadow: none;
|
|
188
184
|
text-decoration: none; }
|
|
189
185
|
.dnb-anchor:active {
|
|
190
186
|
color: #a5e1d2;
|
|
@@ -194,8 +190,6 @@ button.dnb-anchor {
|
|
|
194
190
|
border-radius: 0.25em; }
|
|
195
191
|
.dnb-anchor:active,
|
|
196
192
|
.dnb-section .dnb-anchor:active.dnb-anchor {
|
|
197
|
-
-webkit-box-shadow: none;
|
|
198
|
-
box-shadow: none;
|
|
199
193
|
text-decoration: none; }
|
|
200
194
|
.dnb-anchor[target='_blank']:not(:empty):not(.dnb-anchor--no-icon) {
|
|
201
195
|
position: relative;
|
|
@@ -238,8 +232,6 @@ button.dnb-anchor {
|
|
|
238
232
|
border-radius: 0.25em; }
|
|
239
233
|
.dnb-anchor--hover,
|
|
240
234
|
.dnb-section .dnb-anchor--hover.dnb-anchor {
|
|
241
|
-
-webkit-box-shadow: none;
|
|
242
|
-
box-shadow: none;
|
|
243
235
|
text-decoration: none; }
|
|
244
236
|
|
|
245
237
|
.dnb-anchor--active {
|
|
@@ -250,8 +242,6 @@ button.dnb-anchor {
|
|
|
250
242
|
border-radius: 0.25em; }
|
|
251
243
|
.dnb-anchor--active,
|
|
252
244
|
.dnb-section .dnb-anchor--active.dnb-anchor {
|
|
253
|
-
-webkit-box-shadow: none;
|
|
254
|
-
box-shadow: none;
|
|
255
245
|
text-decoration: none; }
|
|
256
246
|
|
|
257
247
|
.dnb-anchor--focus {
|
|
@@ -265,8 +255,6 @@ button.dnb-anchor {
|
|
|
265
255
|
transition: none; }
|
|
266
256
|
.dnb-anchor--focus:not(:active),
|
|
267
257
|
.dnb-section .dnb-anchor--focus:not(:active).dnb-anchor {
|
|
268
|
-
-webkit-box-shadow: none;
|
|
269
|
-
box-shadow: none;
|
|
270
258
|
text-decoration: none; }
|
|
271
259
|
html[data-whatinput='mouse'] .dnb-anchor--focus {
|
|
272
260
|
--border-color: var(--color-emerald-green);
|
|
@@ -286,8 +274,6 @@ button.dnb-anchor {
|
|
|
286
274
|
transition: none; }
|
|
287
275
|
.dnb-anchor--no-style,
|
|
288
276
|
.dnb-section .dnb-anchor--no-style.dnb-anchor {
|
|
289
|
-
-webkit-box-shadow: none;
|
|
290
|
-
box-shadow: none;
|
|
291
277
|
text-decoration: none; }
|
|
292
278
|
.dnb-anchor--no-style:hover {
|
|
293
279
|
color: inherit;
|
|
@@ -295,8 +281,6 @@ button.dnb-anchor {
|
|
|
295
281
|
|
|
296
282
|
.dnb-anchor--no-underline,
|
|
297
283
|
.dnb-section .dnb-anchor--no-underline.dnb-anchor {
|
|
298
|
-
-webkit-box-shadow: none;
|
|
299
|
-
box-shadow: none;
|
|
300
284
|
text-decoration: none; }
|
|
301
285
|
|
|
302
286
|
.dnb-anchor--no-hover:hover {
|
|
@@ -312,18 +296,13 @@ button.dnb-anchor {
|
|
|
312
296
|
|
|
313
297
|
.dnb-anchor--contrast {
|
|
314
298
|
color: #fff;
|
|
315
|
-
color: var(--color-white);
|
|
316
|
-
-webkit-box-shadow: 0 0.09375rem 0 0 #fff;
|
|
317
|
-
box-shadow: 0 0.09375rem 0 0 #fff;
|
|
318
|
-
-webkit-box-shadow: 0 0.09375rem 0 0 var(--color-white);
|
|
319
|
-
box-shadow: 0 0.09375rem 0 0 var(--color-white); }
|
|
299
|
+
color: var(--color-white); }
|
|
320
300
|
.dnb-anchor--contrast:hover, .dnb-anchor--contrast:active {
|
|
321
301
|
color: #14555a;
|
|
322
302
|
color: var(--color-emerald-green);
|
|
323
303
|
background-color: #fff;
|
|
324
304
|
background-color: var(--color-white);
|
|
325
|
-
-
|
|
326
|
-
box-shadow: none; }
|
|
305
|
+
text-decoration: none; }
|
|
327
306
|
.dnb-anchor--contrast:active {
|
|
328
307
|
color: #14555a;
|
|
329
308
|
color: var(--color-emerald-green);
|
|
@@ -352,8 +331,7 @@ a.dnb-button {
|
|
|
352
331
|
|
|
353
332
|
.dnb-skeleton > .dnb-anchor,
|
|
354
333
|
.dnb-anchor.dnb-skeleton {
|
|
355
|
-
-
|
|
356
|
-
box-shadow: none; }
|
|
334
|
+
text-decoration: none; }
|
|
357
335
|
.dnb-skeleton > .dnb-anchor::after,
|
|
358
336
|
.dnb-anchor.dnb-skeleton::after {
|
|
359
337
|
-webkit-filter: grayscale(100%) opacity(0.3);
|
|
@@ -776,11 +754,7 @@ sub {
|
|
|
776
754
|
.dnb-blockquote:not(.dnb-blockquote--no-background) .dnb-anchor,
|
|
777
755
|
.dnb-blockquote:not(.dnb-blockquote--no-background) a {
|
|
778
756
|
color: #fff;
|
|
779
|
-
color: var(--color-white);
|
|
780
|
-
-webkit-box-shadow: 0 0.09375rem 0 0 #fff;
|
|
781
|
-
box-shadow: 0 0.09375rem 0 0 #fff;
|
|
782
|
-
-webkit-box-shadow: 0 0.09375rem 0 0 var(--color-white);
|
|
783
|
-
box-shadow: 0 0.09375rem 0 0 var(--color-white); }
|
|
757
|
+
color: var(--color-white); }
|
|
784
758
|
.dnb-blockquote:not(.dnb-blockquote--no-background) .dnb-anchor:hover, .dnb-blockquote:not(.dnb-blockquote--no-background) .dnb-anchor:active,
|
|
785
759
|
.dnb-blockquote:not(.dnb-blockquote--no-background) a:hover,
|
|
786
760
|
.dnb-blockquote:not(.dnb-blockquote--no-background) a:active {
|
|
@@ -788,8 +762,7 @@ sub {
|
|
|
788
762
|
color: var(--color-emerald-green);
|
|
789
763
|
background-color: #fff;
|
|
790
764
|
background-color: var(--color-white);
|
|
791
|
-
-
|
|
792
|
-
box-shadow: none; }
|
|
765
|
+
text-decoration: none; }
|
|
793
766
|
.dnb-blockquote:not(.dnb-blockquote--no-background) .dnb-anchor:active,
|
|
794
767
|
.dnb-blockquote:not(.dnb-blockquote--no-background) a:active {
|
|
795
768
|
color: #14555a;
|