@helsenorge/designsystem-react 1.0.0-beta92 → 1.0.0-beta97
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/Button-8af0be6e.js +2 -0
- package/Button-8af0be6e.js.map +1 -0
- package/Checkbox-fb5dff56.js +2 -0
- package/Checkbox-fb5dff56.js.map +1 -0
- package/{Close-80751ae6.js → Close-9f68bcd0.js} +2 -2
- package/Close-9f68bcd0.js.map +1 -0
- package/FormGroup-6c545646.js +2 -0
- package/FormGroup-6c545646.js.map +1 -0
- package/{Icon-9b4a8a2d.js → Icon-04613a89.js} +2 -2
- package/Icon-04613a89.js.map +1 -0
- package/Input-adeb7f88.js +2 -0
- package/Input-adeb7f88.js.map +1 -0
- package/Loader-b3fd59f4.js +2 -0
- package/Loader-b3fd59f4.js.map +1 -0
- package/Modal-3742133d.js +2 -0
- package/Modal-3742133d.js.map +1 -0
- package/RadioButton-d90884c9.js +2 -0
- package/RadioButton-d90884c9.js.map +1 -0
- package/Textarea-05e33ba3.js +2 -0
- package/Textarea-05e33ba3.js.map +1 -0
- package/Title-90910763.js +2 -0
- package/Title-90910763.js.map +1 -0
- package/{Validation-1236e8ef.js → Validation-9bf0c0ec.js} +2 -2
- package/Validation-9bf0c0ec.js.map +1 -0
- package/components/AnchorLink/index.d.ts +1 -0
- package/components/AnchorLink/index.d.ts.map +1 -1
- package/components/AnchorLink/index.js +1 -1
- package/components/Avatar/index.d.ts +1 -0
- package/components/Avatar/index.d.ts.map +1 -1
- package/components/Avatar/index.js +1 -1
- package/components/Badge/index.d.ts +1 -0
- package/components/Badge/index.d.ts.map +1 -1
- package/components/Button/Button.d.ts.map +1 -1
- package/components/Button/index.d.ts +1 -0
- package/components/Button/index.d.ts.map +1 -1
- package/components/Button/index.js +1 -1
- package/components/ButtonWithModal/componentdata.json +19 -0
- package/components/ButtonWithModal/index.d.ts +1 -0
- package/components/ButtonWithModal/index.d.ts.map +1 -1
- package/components/ButtonWithModal/index.js +1 -1
- package/components/Checkbox/componentdata.json +9 -9
- package/components/Checkbox/index.d.ts +1 -0
- package/components/Checkbox/index.d.ts.map +1 -1
- package/components/Checkbox/index.js +1 -1
- package/components/Checkbox/styles.module.scss +2 -1
- package/components/Close/index.d.ts +1 -0
- package/components/Close/index.d.ts.map +1 -1
- package/components/Close/index.js +1 -1
- package/components/ExpanderList/index.d.ts +1 -0
- package/components/ExpanderList/index.d.ts.map +1 -1
- package/components/ExpanderList/index.js +1 -1
- package/components/FormExample/FormExample.d.ts +2 -1
- package/components/FormExample/FormExample.d.ts.map +1 -1
- package/components/FormExample/componentdata.json +6 -3
- package/components/FormExample/index.d.ts +1 -0
- package/components/FormExample/index.d.ts.map +1 -1
- package/components/FormExample/index.js +1 -1
- package/components/FormExample/index.js.map +1 -1
- package/components/FormGroup/FormGroup.d.ts.map +1 -1
- package/components/FormGroup/componentdata.json +9 -9
- package/components/FormGroup/index.d.ts +1 -0
- package/components/FormGroup/index.d.ts.map +1 -1
- package/components/FormGroup/index.js +1 -1
- package/components/FormGroup/styles.module.scss +2 -2
- package/components/HighlightBox/HighlightBox.d.ts +24 -0
- package/components/HighlightBox/HighlightBox.d.ts.map +1 -0
- package/components/HighlightBox/componentdata.json +484 -0
- package/components/HighlightBox/index.d.ts +4 -0
- package/components/HighlightBox/index.d.ts.map +1 -0
- package/components/HighlightBox/index.js +2 -0
- package/components/HighlightBox/index.js.map +1 -0
- package/components/HighlightBox/styles.module.scss +89 -0
- package/components/Icons/AcupunctureBack.js +1 -1
- package/components/Icons/Icon.js +1 -1
- package/components/Icons/NoEye.js +1 -1
- package/components/Icons/SectionSign.js +1 -1
- package/components/Icons/SpeechBubble.js +1 -1
- package/components/Icons/SupportingPerson.js +1 -1
- package/components/Icons/Syringe.js +1 -1
- package/components/Icons/index.js +1 -1
- package/components/Input/Input.d.ts +55 -0
- package/components/Input/Input.d.ts.map +1 -0
- package/components/Input/componentdata.json +425 -0
- package/components/Input/index.d.ts +4 -0
- package/components/Input/index.d.ts.map +1 -0
- package/components/Input/index.js +2 -0
- package/components/Input/index.js.map +1 -0
- package/components/Input/styles.module.scss +55 -0
- package/components/Input/styles.module.scss.d.ts +23 -0
- package/components/LinkList/index.d.ts +1 -0
- package/components/LinkList/index.d.ts.map +1 -1
- package/components/LinkList/index.js +1 -1
- package/components/List/index.d.ts +1 -0
- package/components/List/index.d.ts.map +1 -1
- package/components/Loader/Loader.d.ts +2 -2
- package/components/Loader/componentdata.json +3 -3
- package/components/Loader/index.d.ts +1 -0
- package/components/Loader/index.d.ts.map +1 -1
- package/components/Loader/index.js +1 -1
- package/components/Logo/index.d.ts +1 -0
- package/components/Logo/index.d.ts.map +1 -1
- package/components/Modal/Modal.d.ts +2 -0
- package/components/Modal/Modal.d.ts.map +1 -1
- package/components/Modal/componentdata.json +19 -0
- package/components/Modal/index.d.ts +1 -0
- package/components/Modal/index.d.ts.map +1 -1
- package/components/Modal/index.js +1 -1
- package/components/NotificationPanel/index.d.ts +1 -0
- package/components/NotificationPanel/index.d.ts.map +1 -1
- package/components/NotificationPanel/index.js +1 -1
- package/components/RadioButton/componentdata.json +9 -9
- package/components/RadioButton/index.d.ts +1 -0
- package/components/RadioButton/index.d.ts.map +1 -1
- package/components/RadioButton/index.js +1 -1
- package/components/RadioButton/styles.module.scss +2 -2
- package/components/Slider/index.d.ts +1 -0
- package/components/Slider/index.d.ts.map +1 -1
- package/components/Slider/index.js +1 -1
- package/components/Spacer/index.d.ts +1 -0
- package/components/Spacer/index.d.ts.map +1 -1
- package/components/Textarea/Textarea.d.ts +4 -0
- package/components/Textarea/Textarea.d.ts.map +1 -1
- package/components/Textarea/componentdata.json +44 -6
- package/components/Textarea/index.d.ts +1 -0
- package/components/Textarea/index.d.ts.map +1 -1
- package/components/Textarea/index.js +1 -1
- package/components/Textarea/styles.module.scss +13 -110
- package/components/Textarea/styles.module.scss.d.ts +13 -8
- package/components/Tile/index.d.ts +1 -0
- package/components/Tile/index.d.ts.map +1 -1
- package/components/Tile/index.js +1 -1
- package/components/Title/index.d.ts +1 -0
- package/components/Title/index.d.ts.map +1 -1
- package/components/Title/index.js +1 -1
- package/components/Validation/componentdata.json +3 -3
- package/components/Validation/index.d.ts +1 -0
- package/components/Validation/index.d.ts.map +1 -1
- package/components/Validation/index.js +1 -1
- package/constants-42547490.js +2 -0
- package/constants-42547490.js.map +1 -0
- package/constants.d.ts +7 -7
- package/constants.d.ts.map +1 -1
- package/hooks/useIcons.d.ts +4 -0
- package/hooks/useIcons.d.ts.map +1 -0
- package/index.d.ts +1 -0
- package/index.d.ts.map +1 -1
- package/index.js +1 -1
- package/package.json +1 -1
- package/scss/_input.scss +174 -0
- package/scss/_title.scss +16 -12
- package/Button-2be46c88.js +0 -2
- package/Button-2be46c88.js.map +0 -1
- package/Checkbox-0ba01292.js +0 -2
- package/Checkbox-0ba01292.js.map +0 -1
- package/Close-80751ae6.js.map +0 -1
- package/FormGroup-9555dd73.js +0 -2
- package/FormGroup-9555dd73.js.map +0 -1
- package/Icon-9b4a8a2d.js.map +0 -1
- package/Loader-3589bdb1.js +0 -2
- package/Loader-3589bdb1.js.map +0 -1
- package/Modal-b68c7a72.js +0 -2
- package/Modal-b68c7a72.js.map +0 -1
- package/RadioButton-84ca988e.js +0 -2
- package/RadioButton-84ca988e.js.map +0 -1
- package/Textarea-9c91191a.js +0 -2
- package/Textarea-9c91191a.js.map +0 -1
- package/Title-72851d51.js +0 -2
- package/Title-72851d51.js.map +0 -1
- package/Validation-1236e8ef.js.map +0 -1
- package/constants-a4b0b501.js +0 -2
- package/constants-a4b0b501.js.map +0 -1
|
@@ -93,25 +93,25 @@
|
|
|
93
93
|
"required": false,
|
|
94
94
|
"type": {
|
|
95
95
|
"name": "enum",
|
|
96
|
-
"raw": "\"
|
|
96
|
+
"raw": "\"onwhite\" | \"ongrey\" | \"onblueberry\" | \"ondark\" | \"oninvalid\" | undefined",
|
|
97
97
|
"value": [
|
|
98
98
|
{
|
|
99
99
|
"value": "undefined"
|
|
100
100
|
},
|
|
101
101
|
{
|
|
102
|
-
"value": "\"
|
|
102
|
+
"value": "\"onwhite\""
|
|
103
103
|
},
|
|
104
104
|
{
|
|
105
|
-
"value": "\"
|
|
105
|
+
"value": "\"ongrey\""
|
|
106
106
|
},
|
|
107
107
|
{
|
|
108
|
-
"value": "\"
|
|
108
|
+
"value": "\"onblueberry\""
|
|
109
109
|
},
|
|
110
110
|
{
|
|
111
|
-
"value": "\"
|
|
111
|
+
"value": "\"ondark\""
|
|
112
112
|
},
|
|
113
113
|
{
|
|
114
|
-
"value": "\"
|
|
114
|
+
"value": "\"oninvalid\""
|
|
115
115
|
}
|
|
116
116
|
]
|
|
117
117
|
}
|
|
@@ -133,16 +133,16 @@
|
|
|
133
133
|
"required": false,
|
|
134
134
|
"type": {
|
|
135
135
|
"name": "enum",
|
|
136
|
-
"raw": "\"
|
|
136
|
+
"raw": "\"normal\" | \"bigform\" | undefined",
|
|
137
137
|
"value": [
|
|
138
138
|
{
|
|
139
139
|
"value": "undefined"
|
|
140
140
|
},
|
|
141
141
|
{
|
|
142
|
-
"value": "\"
|
|
142
|
+
"value": "\"normal\""
|
|
143
143
|
},
|
|
144
144
|
{
|
|
145
|
-
"value": "\"
|
|
145
|
+
"value": "\"bigform\""
|
|
146
146
|
}
|
|
147
147
|
]
|
|
148
148
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/FormGroup/index.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,aAAa,CAAC;AACpC,eAAe,SAAS,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/FormGroup/index.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,aAAa,CAAC;AACpC,cAAc,aAAa,CAAC;AAC5B,eAAe,SAAS,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{F as
|
|
1
|
+
import{F as s}from"../../FormGroup-6c545646.js";export{F as FormGroup,F as default}from"../../FormGroup-6c545646.js";import"../../_rollupPluginBabelHelpers-d0752906.js";import"react";import"../../index-9b84fabc.js";import"./styles.module.scss";import"../../Checkbox-fb5dff56.js";import"../../uuid-8870ab4b.js";import"../../Check-6291ad09.js";import"../../Icon-04613a89.js";import"../../_tslib-51c8a283.js";import"../../constants-42547490.js";import"../../color-acb834c6.js";import"../../index-19b48c51.js";import"../../palette-f206f488.js";import"../../grid-11a70eb7.js";import"../Checkbox/styles.module.scss";import"../../RadioButton-d90884c9.js";import"../RadioButton/styles.module.scss";import"../../Input-adeb7f88.js";import"../../useBreakpoint-324a9b14.js";import"../../useWindowSize-73b47451.js";import"../Input/styles.module.scss";import"../../Title-90910763.js";import"../Title/styles.module.scss";
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
@@ -36,8 +36,8 @@
|
|
|
36
36
|
&--invalid {
|
|
37
37
|
margin-left: -0.75rem;
|
|
38
38
|
margin-right: -0.75rem;
|
|
39
|
-
padding-left:
|
|
40
|
-
padding-right:
|
|
39
|
+
padding-left: getSpacer(xs);
|
|
40
|
+
padding-right: getSpacer(s);
|
|
41
41
|
background-color: $cherry100;
|
|
42
42
|
border-left: 0.25rem solid $cherry500;
|
|
43
43
|
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { PaletteNames } from '../../theme/palette';
|
|
3
|
+
export declare type HighlightBoxColors = Extract<PaletteNames, 'white' | 'blueberry' | 'cherry' | 'neutral' | 'kiwi' | 'plum'>;
|
|
4
|
+
export declare enum HighlightBoxSize {
|
|
5
|
+
medium = "medium",
|
|
6
|
+
large = "large",
|
|
7
|
+
fluid = "fluid"
|
|
8
|
+
}
|
|
9
|
+
export declare type HighlightBoxTags = Exclude<keyof HTMLElementTagNameMap, 'dir' | 'font' | 'frame' | 'frameset' | 'marquee' | 'applet' | 'basefont'>;
|
|
10
|
+
interface HighlightBoxProps {
|
|
11
|
+
/** What's in the box? */
|
|
12
|
+
children: React.ReactNode;
|
|
13
|
+
/** Changes the background color. Default: white */
|
|
14
|
+
color?: HighlightBoxColors;
|
|
15
|
+
/** Changes the size. Default: medium */
|
|
16
|
+
size?: keyof typeof HighlightBoxSize;
|
|
17
|
+
/** Changes the underlying element. Default: div */
|
|
18
|
+
htmlMarkup?: HighlightBoxTags;
|
|
19
|
+
/** Sets the data-testid attribute. */
|
|
20
|
+
testId?: string;
|
|
21
|
+
}
|
|
22
|
+
declare const HighlightBox: React.FC<HighlightBoxProps>;
|
|
23
|
+
export default HighlightBox;
|
|
24
|
+
//# sourceMappingURL=HighlightBox.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"HighlightBox.d.ts","sourceRoot":"","sources":["../../../src/components/HighlightBox/HighlightBox.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AAInD,oBAAY,kBAAkB,GAAG,OAAO,CAAC,YAAY,EAAE,OAAO,GAAG,WAAW,GAAG,QAAQ,GAAG,SAAS,GAAG,MAAM,GAAG,MAAM,CAAC,CAAC;AAEvH,oBAAY,gBAAgB;IAC1B,MAAM,WAAW;IACjB,KAAK,UAAU;IACf,KAAK,UAAU;CAChB;AAED,oBAAY,gBAAgB,GAAG,OAAO,CACpC,MAAM,qBAAqB,EAC3B,KAAK,GAAG,MAAM,GAAG,OAAO,GAAG,UAAU,GAAG,SAAS,GAAG,QAAQ,GAAG,UAAU,CAC1E,CAAC;AAEF,UAAU,iBAAiB;IACzB,yBAAyB;IACzB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,mDAAmD;IACnD,KAAK,CAAC,EAAE,kBAAkB,CAAC;IAC3B,wCAAwC;IACxC,IAAI,CAAC,EAAE,MAAM,OAAO,gBAAgB,CAAC;IACrC,mDAAmD;IACnD,UAAU,CAAC,EAAE,gBAAgB,CAAC;IAC9B,sCAAsC;IACtC,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,QAAA,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,iBAAiB,CAwB7C,CAAC;AAEF,eAAe,YAAY,CAAC"}
|
|
@@ -0,0 +1,484 @@
|
|
|
1
|
+
{
|
|
2
|
+
"props": {
|
|
3
|
+
"children": {
|
|
4
|
+
"defaultValue": null,
|
|
5
|
+
"description": "What's in the box?",
|
|
6
|
+
"name": "children",
|
|
7
|
+
"parent": {
|
|
8
|
+
"fileName": "src/components/HighlightBox/HighlightBox.tsx",
|
|
9
|
+
"name": "HighlightBoxProps"
|
|
10
|
+
},
|
|
11
|
+
"declarations": [
|
|
12
|
+
{
|
|
13
|
+
"fileName": "src/components/HighlightBox/HighlightBox.tsx",
|
|
14
|
+
"name": "HighlightBoxProps"
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
"fileName": "designsystem/node_modules/@types/react/index.d.ts",
|
|
18
|
+
"name": "TypeLiteral"
|
|
19
|
+
}
|
|
20
|
+
],
|
|
21
|
+
"required": false,
|
|
22
|
+
"type": {
|
|
23
|
+
"name": "ReactNode"
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
"color": {
|
|
27
|
+
"defaultValue": null,
|
|
28
|
+
"description": "Changes the background color. Default: white",
|
|
29
|
+
"name": "color",
|
|
30
|
+
"parent": {
|
|
31
|
+
"fileName": "src/components/HighlightBox/HighlightBox.tsx",
|
|
32
|
+
"name": "HighlightBoxProps"
|
|
33
|
+
},
|
|
34
|
+
"declarations": [
|
|
35
|
+
{
|
|
36
|
+
"fileName": "src/components/HighlightBox/HighlightBox.tsx",
|
|
37
|
+
"name": "HighlightBoxProps"
|
|
38
|
+
}
|
|
39
|
+
],
|
|
40
|
+
"required": false,
|
|
41
|
+
"type": {
|
|
42
|
+
"name": "enum",
|
|
43
|
+
"raw": "\"blueberry\" | \"cherry\" | \"kiwi\" | \"neutral\" | \"plum\" | \"white\" | undefined",
|
|
44
|
+
"value": [
|
|
45
|
+
{
|
|
46
|
+
"value": "undefined"
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
"value": "\"blueberry\""
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
"value": "\"cherry\""
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
"value": "\"kiwi\""
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
"value": "\"neutral\""
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
"value": "\"plum\""
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
"value": "\"white\""
|
|
65
|
+
}
|
|
66
|
+
]
|
|
67
|
+
}
|
|
68
|
+
},
|
|
69
|
+
"size": {
|
|
70
|
+
"defaultValue": null,
|
|
71
|
+
"description": "Changes the size. Default: medium",
|
|
72
|
+
"name": "size",
|
|
73
|
+
"parent": {
|
|
74
|
+
"fileName": "src/components/HighlightBox/HighlightBox.tsx",
|
|
75
|
+
"name": "HighlightBoxProps"
|
|
76
|
+
},
|
|
77
|
+
"declarations": [
|
|
78
|
+
{
|
|
79
|
+
"fileName": "src/components/HighlightBox/HighlightBox.tsx",
|
|
80
|
+
"name": "HighlightBoxProps"
|
|
81
|
+
}
|
|
82
|
+
],
|
|
83
|
+
"required": false,
|
|
84
|
+
"type": {
|
|
85
|
+
"name": "enum",
|
|
86
|
+
"raw": "\"medium\" | \"large\" | \"fluid\" | undefined",
|
|
87
|
+
"value": [
|
|
88
|
+
{
|
|
89
|
+
"value": "undefined"
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
"value": "\"medium\""
|
|
93
|
+
},
|
|
94
|
+
{
|
|
95
|
+
"value": "\"large\""
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
"value": "\"fluid\""
|
|
99
|
+
}
|
|
100
|
+
]
|
|
101
|
+
}
|
|
102
|
+
},
|
|
103
|
+
"htmlMarkup": {
|
|
104
|
+
"defaultValue": null,
|
|
105
|
+
"description": "Changes the underlying element. Default: div",
|
|
106
|
+
"name": "htmlMarkup",
|
|
107
|
+
"parent": {
|
|
108
|
+
"fileName": "src/components/HighlightBox/HighlightBox.tsx",
|
|
109
|
+
"name": "HighlightBoxProps"
|
|
110
|
+
},
|
|
111
|
+
"declarations": [
|
|
112
|
+
{
|
|
113
|
+
"fileName": "src/components/HighlightBox/HighlightBox.tsx",
|
|
114
|
+
"name": "HighlightBoxProps"
|
|
115
|
+
}
|
|
116
|
+
],
|
|
117
|
+
"required": false,
|
|
118
|
+
"type": {
|
|
119
|
+
"name": "enum",
|
|
120
|
+
"raw": "\"object\" | \"a\" | \"abbr\" | \"address\" | \"area\" | \"article\" | \"aside\" | \"audio\" | \"b\" | \"base\" | \"bdi\" | \"bdo\" | \"blockquote\" | \"body\" | \"br\" | \"button\" | \"canvas\" | \"caption\" | \"cite\" | ... 93 more ... | undefined",
|
|
121
|
+
"value": [
|
|
122
|
+
{
|
|
123
|
+
"value": "undefined"
|
|
124
|
+
},
|
|
125
|
+
{
|
|
126
|
+
"value": "\"object\""
|
|
127
|
+
},
|
|
128
|
+
{
|
|
129
|
+
"value": "\"a\""
|
|
130
|
+
},
|
|
131
|
+
{
|
|
132
|
+
"value": "\"abbr\""
|
|
133
|
+
},
|
|
134
|
+
{
|
|
135
|
+
"value": "\"address\""
|
|
136
|
+
},
|
|
137
|
+
{
|
|
138
|
+
"value": "\"area\""
|
|
139
|
+
},
|
|
140
|
+
{
|
|
141
|
+
"value": "\"article\""
|
|
142
|
+
},
|
|
143
|
+
{
|
|
144
|
+
"value": "\"aside\""
|
|
145
|
+
},
|
|
146
|
+
{
|
|
147
|
+
"value": "\"audio\""
|
|
148
|
+
},
|
|
149
|
+
{
|
|
150
|
+
"value": "\"b\""
|
|
151
|
+
},
|
|
152
|
+
{
|
|
153
|
+
"value": "\"base\""
|
|
154
|
+
},
|
|
155
|
+
{
|
|
156
|
+
"value": "\"bdi\""
|
|
157
|
+
},
|
|
158
|
+
{
|
|
159
|
+
"value": "\"bdo\""
|
|
160
|
+
},
|
|
161
|
+
{
|
|
162
|
+
"value": "\"blockquote\""
|
|
163
|
+
},
|
|
164
|
+
{
|
|
165
|
+
"value": "\"body\""
|
|
166
|
+
},
|
|
167
|
+
{
|
|
168
|
+
"value": "\"br\""
|
|
169
|
+
},
|
|
170
|
+
{
|
|
171
|
+
"value": "\"button\""
|
|
172
|
+
},
|
|
173
|
+
{
|
|
174
|
+
"value": "\"canvas\""
|
|
175
|
+
},
|
|
176
|
+
{
|
|
177
|
+
"value": "\"caption\""
|
|
178
|
+
},
|
|
179
|
+
{
|
|
180
|
+
"value": "\"cite\""
|
|
181
|
+
},
|
|
182
|
+
{
|
|
183
|
+
"value": "\"code\""
|
|
184
|
+
},
|
|
185
|
+
{
|
|
186
|
+
"value": "\"col\""
|
|
187
|
+
},
|
|
188
|
+
{
|
|
189
|
+
"value": "\"colgroup\""
|
|
190
|
+
},
|
|
191
|
+
{
|
|
192
|
+
"value": "\"data\""
|
|
193
|
+
},
|
|
194
|
+
{
|
|
195
|
+
"value": "\"datalist\""
|
|
196
|
+
},
|
|
197
|
+
{
|
|
198
|
+
"value": "\"dd\""
|
|
199
|
+
},
|
|
200
|
+
{
|
|
201
|
+
"value": "\"del\""
|
|
202
|
+
},
|
|
203
|
+
{
|
|
204
|
+
"value": "\"details\""
|
|
205
|
+
},
|
|
206
|
+
{
|
|
207
|
+
"value": "\"dfn\""
|
|
208
|
+
},
|
|
209
|
+
{
|
|
210
|
+
"value": "\"dialog\""
|
|
211
|
+
},
|
|
212
|
+
{
|
|
213
|
+
"value": "\"div\""
|
|
214
|
+
},
|
|
215
|
+
{
|
|
216
|
+
"value": "\"dl\""
|
|
217
|
+
},
|
|
218
|
+
{
|
|
219
|
+
"value": "\"dt\""
|
|
220
|
+
},
|
|
221
|
+
{
|
|
222
|
+
"value": "\"em\""
|
|
223
|
+
},
|
|
224
|
+
{
|
|
225
|
+
"value": "\"embed\""
|
|
226
|
+
},
|
|
227
|
+
{
|
|
228
|
+
"value": "\"fieldset\""
|
|
229
|
+
},
|
|
230
|
+
{
|
|
231
|
+
"value": "\"figcaption\""
|
|
232
|
+
},
|
|
233
|
+
{
|
|
234
|
+
"value": "\"figure\""
|
|
235
|
+
},
|
|
236
|
+
{
|
|
237
|
+
"value": "\"footer\""
|
|
238
|
+
},
|
|
239
|
+
{
|
|
240
|
+
"value": "\"form\""
|
|
241
|
+
},
|
|
242
|
+
{
|
|
243
|
+
"value": "\"h1\""
|
|
244
|
+
},
|
|
245
|
+
{
|
|
246
|
+
"value": "\"h2\""
|
|
247
|
+
},
|
|
248
|
+
{
|
|
249
|
+
"value": "\"h3\""
|
|
250
|
+
},
|
|
251
|
+
{
|
|
252
|
+
"value": "\"h4\""
|
|
253
|
+
},
|
|
254
|
+
{
|
|
255
|
+
"value": "\"h5\""
|
|
256
|
+
},
|
|
257
|
+
{
|
|
258
|
+
"value": "\"h6\""
|
|
259
|
+
},
|
|
260
|
+
{
|
|
261
|
+
"value": "\"head\""
|
|
262
|
+
},
|
|
263
|
+
{
|
|
264
|
+
"value": "\"header\""
|
|
265
|
+
},
|
|
266
|
+
{
|
|
267
|
+
"value": "\"hgroup\""
|
|
268
|
+
},
|
|
269
|
+
{
|
|
270
|
+
"value": "\"hr\""
|
|
271
|
+
},
|
|
272
|
+
{
|
|
273
|
+
"value": "\"html\""
|
|
274
|
+
},
|
|
275
|
+
{
|
|
276
|
+
"value": "\"i\""
|
|
277
|
+
},
|
|
278
|
+
{
|
|
279
|
+
"value": "\"iframe\""
|
|
280
|
+
},
|
|
281
|
+
{
|
|
282
|
+
"value": "\"img\""
|
|
283
|
+
},
|
|
284
|
+
{
|
|
285
|
+
"value": "\"input\""
|
|
286
|
+
},
|
|
287
|
+
{
|
|
288
|
+
"value": "\"ins\""
|
|
289
|
+
},
|
|
290
|
+
{
|
|
291
|
+
"value": "\"kbd\""
|
|
292
|
+
},
|
|
293
|
+
{
|
|
294
|
+
"value": "\"label\""
|
|
295
|
+
},
|
|
296
|
+
{
|
|
297
|
+
"value": "\"legend\""
|
|
298
|
+
},
|
|
299
|
+
{
|
|
300
|
+
"value": "\"li\""
|
|
301
|
+
},
|
|
302
|
+
{
|
|
303
|
+
"value": "\"link\""
|
|
304
|
+
},
|
|
305
|
+
{
|
|
306
|
+
"value": "\"main\""
|
|
307
|
+
},
|
|
308
|
+
{
|
|
309
|
+
"value": "\"map\""
|
|
310
|
+
},
|
|
311
|
+
{
|
|
312
|
+
"value": "\"mark\""
|
|
313
|
+
},
|
|
314
|
+
{
|
|
315
|
+
"value": "\"menu\""
|
|
316
|
+
},
|
|
317
|
+
{
|
|
318
|
+
"value": "\"meta\""
|
|
319
|
+
},
|
|
320
|
+
{
|
|
321
|
+
"value": "\"meter\""
|
|
322
|
+
},
|
|
323
|
+
{
|
|
324
|
+
"value": "\"nav\""
|
|
325
|
+
},
|
|
326
|
+
{
|
|
327
|
+
"value": "\"noscript\""
|
|
328
|
+
},
|
|
329
|
+
{
|
|
330
|
+
"value": "\"ol\""
|
|
331
|
+
},
|
|
332
|
+
{
|
|
333
|
+
"value": "\"optgroup\""
|
|
334
|
+
},
|
|
335
|
+
{
|
|
336
|
+
"value": "\"option\""
|
|
337
|
+
},
|
|
338
|
+
{
|
|
339
|
+
"value": "\"output\""
|
|
340
|
+
},
|
|
341
|
+
{
|
|
342
|
+
"value": "\"p\""
|
|
343
|
+
},
|
|
344
|
+
{
|
|
345
|
+
"value": "\"param\""
|
|
346
|
+
},
|
|
347
|
+
{
|
|
348
|
+
"value": "\"picture\""
|
|
349
|
+
},
|
|
350
|
+
{
|
|
351
|
+
"value": "\"pre\""
|
|
352
|
+
},
|
|
353
|
+
{
|
|
354
|
+
"value": "\"progress\""
|
|
355
|
+
},
|
|
356
|
+
{
|
|
357
|
+
"value": "\"q\""
|
|
358
|
+
},
|
|
359
|
+
{
|
|
360
|
+
"value": "\"rp\""
|
|
361
|
+
},
|
|
362
|
+
{
|
|
363
|
+
"value": "\"rt\""
|
|
364
|
+
},
|
|
365
|
+
{
|
|
366
|
+
"value": "\"ruby\""
|
|
367
|
+
},
|
|
368
|
+
{
|
|
369
|
+
"value": "\"s\""
|
|
370
|
+
},
|
|
371
|
+
{
|
|
372
|
+
"value": "\"samp\""
|
|
373
|
+
},
|
|
374
|
+
{
|
|
375
|
+
"value": "\"script\""
|
|
376
|
+
},
|
|
377
|
+
{
|
|
378
|
+
"value": "\"section\""
|
|
379
|
+
},
|
|
380
|
+
{
|
|
381
|
+
"value": "\"select\""
|
|
382
|
+
},
|
|
383
|
+
{
|
|
384
|
+
"value": "\"slot\""
|
|
385
|
+
},
|
|
386
|
+
{
|
|
387
|
+
"value": "\"small\""
|
|
388
|
+
},
|
|
389
|
+
{
|
|
390
|
+
"value": "\"source\""
|
|
391
|
+
},
|
|
392
|
+
{
|
|
393
|
+
"value": "\"span\""
|
|
394
|
+
},
|
|
395
|
+
{
|
|
396
|
+
"value": "\"strong\""
|
|
397
|
+
},
|
|
398
|
+
{
|
|
399
|
+
"value": "\"style\""
|
|
400
|
+
},
|
|
401
|
+
{
|
|
402
|
+
"value": "\"sub\""
|
|
403
|
+
},
|
|
404
|
+
{
|
|
405
|
+
"value": "\"summary\""
|
|
406
|
+
},
|
|
407
|
+
{
|
|
408
|
+
"value": "\"sup\""
|
|
409
|
+
},
|
|
410
|
+
{
|
|
411
|
+
"value": "\"table\""
|
|
412
|
+
},
|
|
413
|
+
{
|
|
414
|
+
"value": "\"tbody\""
|
|
415
|
+
},
|
|
416
|
+
{
|
|
417
|
+
"value": "\"td\""
|
|
418
|
+
},
|
|
419
|
+
{
|
|
420
|
+
"value": "\"template\""
|
|
421
|
+
},
|
|
422
|
+
{
|
|
423
|
+
"value": "\"textarea\""
|
|
424
|
+
},
|
|
425
|
+
{
|
|
426
|
+
"value": "\"tfoot\""
|
|
427
|
+
},
|
|
428
|
+
{
|
|
429
|
+
"value": "\"th\""
|
|
430
|
+
},
|
|
431
|
+
{
|
|
432
|
+
"value": "\"thead\""
|
|
433
|
+
},
|
|
434
|
+
{
|
|
435
|
+
"value": "\"time\""
|
|
436
|
+
},
|
|
437
|
+
{
|
|
438
|
+
"value": "\"title\""
|
|
439
|
+
},
|
|
440
|
+
{
|
|
441
|
+
"value": "\"tr\""
|
|
442
|
+
},
|
|
443
|
+
{
|
|
444
|
+
"value": "\"track\""
|
|
445
|
+
},
|
|
446
|
+
{
|
|
447
|
+
"value": "\"u\""
|
|
448
|
+
},
|
|
449
|
+
{
|
|
450
|
+
"value": "\"ul\""
|
|
451
|
+
},
|
|
452
|
+
{
|
|
453
|
+
"value": "\"var\""
|
|
454
|
+
},
|
|
455
|
+
{
|
|
456
|
+
"value": "\"video\""
|
|
457
|
+
},
|
|
458
|
+
{
|
|
459
|
+
"value": "\"wbr\""
|
|
460
|
+
}
|
|
461
|
+
]
|
|
462
|
+
}
|
|
463
|
+
},
|
|
464
|
+
"testId": {
|
|
465
|
+
"defaultValue": null,
|
|
466
|
+
"description": "Sets the data-testid attribute.",
|
|
467
|
+
"name": "testId",
|
|
468
|
+
"parent": {
|
|
469
|
+
"fileName": "src/components/HighlightBox/HighlightBox.tsx",
|
|
470
|
+
"name": "HighlightBoxProps"
|
|
471
|
+
},
|
|
472
|
+
"declarations": [
|
|
473
|
+
{
|
|
474
|
+
"fileName": "src/components/HighlightBox/HighlightBox.tsx",
|
|
475
|
+
"name": "HighlightBoxProps"
|
|
476
|
+
}
|
|
477
|
+
],
|
|
478
|
+
"required": false,
|
|
479
|
+
"type": {
|
|
480
|
+
"name": "string"
|
|
481
|
+
}
|
|
482
|
+
}
|
|
483
|
+
}
|
|
484
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/HighlightBox/index.ts"],"names":[],"mappings":"AAAA,OAAO,YAAY,MAAM,gBAAgB,CAAC;AAC1C,cAAc,gBAAgB,CAAC;AAC/B,eAAe,YAAY,CAAC"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import e from"react";import{c as t}from"../../index-9b84fabc.js";import i from"./styles.module.scss";var a;!function(e){e.medium="medium",e.large="large",e.fluid="fluid"}(a||(a={}));export default function(l){var o=l.children,r=l.color,m=void 0===r?"white":r,c=l.size,d=void 0===c?a.medium:c,s=l.testId,h=l.htmlMarkup,n=void 0===h?"div":h,g=t(i.highlightbox,i["highlightbox--".concat(m)],i["highlightbox--".concat(d)]),u=n;return l.size===a.fluid?e.createElement(u,{className:g,"data-testid":s},o):e.createElement("div",{className:g},e.createElement("div",{className:i.highlightbox__row},e.createElement(u,{className:i.highlightbox__col,"data-testid":s},o)))}export{a as HighlightBoxSize};
|
|
2
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|