@helsenorge/designsystem-react 1.0.0-beta87 → 1.0.0-beta91
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-2be46c88.js +2 -0
- package/Button-2be46c88.js.map +1 -0
- package/Checkbox-0ba01292.js +2 -0
- package/Checkbox-0ba01292.js.map +1 -0
- package/Close-80751ae6.js +2 -0
- package/Close-80751ae6.js.map +1 -0
- package/FormGroup-9555dd73.js +2 -0
- package/FormGroup-9555dd73.js.map +1 -0
- package/Icon-9b4a8a2d.js +2 -0
- package/Icon-9b4a8a2d.js.map +1 -0
- package/Loader-3589bdb1.js +2 -0
- package/Loader-3589bdb1.js.map +1 -0
- package/Modal-e7d8aac4.js +2 -0
- package/Modal-e7d8aac4.js.map +1 -0
- package/RadioButton-84ca988e.js +2 -0
- package/RadioButton-84ca988e.js.map +1 -0
- package/Textarea-9c91191a.js +2 -0
- package/Textarea-9c91191a.js.map +1 -0
- package/Validation-1236e8ef.js +2 -0
- package/Validation-1236e8ef.js.map +1 -0
- package/components/AnchorLink/AnchorLink.d.ts.map +1 -1
- package/components/AnchorLink/index.js +1 -1
- package/components/Avatar/index.js +1 -1
- package/components/Button/Button.d.ts.map +1 -1
- package/components/Button/index.js +1 -1
- package/components/ButtonWithModal/componentdata.json +61 -1
- package/components/ButtonWithModal/index.js +1 -1
- package/components/Checkbox/Checkbox.d.ts +3 -3
- package/components/Checkbox/Checkbox.d.ts.map +1 -1
- package/components/Checkbox/componentdata.json +13 -7
- package/components/Checkbox/index.js +1 -1
- package/components/Close/index.js +1 -1
- package/components/ExpanderList/index.js +1 -1
- package/components/FormExample/FormExample.d.ts +7 -5
- package/components/FormExample/FormExample.d.ts.map +1 -1
- package/components/FormExample/componentdata.json +9 -3
- package/components/FormExample/index.js +1 -1
- package/components/FormExample/index.js.map +1 -1
- package/components/FormGroup/FormGroup.d.ts +5 -6
- package/components/FormGroup/FormGroup.d.ts.map +1 -1
- package/components/FormGroup/componentdata.json +32 -7
- package/components/FormGroup/index.js +1 -1
- package/components/FormGroup/styles.module.scss +12 -3
- 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/LinkList/LinkList.d.ts +2 -0
- package/components/LinkList/LinkList.d.ts.map +1 -1
- package/components/LinkList/index.js +1 -1
- package/components/Loader/Loader.d.ts +7 -1
- package/components/Loader/Loader.d.ts.map +1 -1
- package/components/Loader/componentdata.json +32 -1
- package/components/Loader/index.js +1 -1
- package/components/Loader/styles.module.scss +19 -4
- package/components/Modal/Modal.d.ts +9 -0
- package/components/Modal/Modal.d.ts.map +1 -1
- package/components/Modal/componentdata.json +63 -1
- package/components/Modal/index.js +1 -1
- package/components/Modal/styles.module.scss +14 -3
- package/components/Modal/styles.module.scss.d.ts +3 -0
- package/components/NotificationPanel/NotificationPanel.d.ts.map +1 -1
- package/components/NotificationPanel/index.js +1 -1
- package/components/NotificationPanel/styles.module.scss +0 -51
- package/components/NotificationPanel/styles.module.scss.d.ts +0 -2
- package/components/RadioButton/RadioButton.d.ts +31 -0
- package/components/RadioButton/RadioButton.d.ts.map +1 -0
- package/components/RadioButton/componentdata.json +265 -0
- package/components/RadioButton/index.d.ts +3 -0
- package/components/RadioButton/index.d.ts.map +1 -0
- package/components/RadioButton/index.js +2 -0
- package/components/RadioButton/index.js.map +1 -0
- package/components/RadioButton/styles.module.scss +236 -0
- package/components/RadioButton/styles.module.scss.d.ts +23 -0
- package/components/Textarea/Textarea.d.ts +31 -0
- package/components/Textarea/Textarea.d.ts.map +1 -0
- package/components/Textarea/componentdata.json +527 -0
- package/components/Textarea/index.d.ts +3 -0
- package/components/Textarea/index.d.ts.map +1 -0
- package/components/Textarea/index.js +2 -0
- package/components/Textarea/index.js.map +1 -0
- package/components/Textarea/styles.module.scss +154 -0
- package/components/Textarea/styles.module.scss.d.ts +21 -0
- package/components/Tile/Tile.d.ts.map +1 -1
- package/components/Tile/index.js +1 -1
- package/components/Validation/Validation.d.ts +2 -2
- package/components/Validation/Validation.d.ts.map +1 -1
- package/components/Validation/componentdata.json +3 -3
- package/components/Validation/index.js +1 -1
- package/constants-a4b0b501.js +2 -0
- package/constants-a4b0b501.js.map +1 -0
- package/constants.d.ts +29 -0
- package/constants.d.ts.map +1 -1
- package/package.json +1 -1
- package/Button-55952154.js +0 -2
- package/Button-55952154.js.map +0 -1
- package/Checkbox-46666e69.js +0 -2
- package/Checkbox-46666e69.js.map +0 -1
- package/Close-a6cbd165.js +0 -2
- package/Close-a6cbd165.js.map +0 -1
- package/FormGroup-56d60079.js +0 -2
- package/FormGroup-56d60079.js.map +0 -1
- package/Loader-6ff0d481.js +0 -2
- package/Loader-6ff0d481.js.map +0 -1
- package/Modal-ac3a4757.js +0 -2
- package/Modal-ac3a4757.js.map +0 -1
- package/Validation-372a97b9.js +0 -2
- package/Validation-372a97b9.js.map +0 -1
- package/X-8d8ff918.js +0 -2
- package/X-8d8ff918.js.map +0 -1
- package/constants-d919236e.js +0 -2
- package/constants-d919236e.js.map +0 -1
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
+
import { FormMode, FormVariant } from '../../constants';
|
|
2
3
|
export interface FormGroupProps {
|
|
3
4
|
/** title for the the fieldset */
|
|
4
5
|
title?: string;
|
|
@@ -9,18 +10,16 @@ export interface FormGroupProps {
|
|
|
9
10
|
/** Adds custom classes to the element. */
|
|
10
11
|
className?: string;
|
|
11
12
|
/** Changes the visuals of the formgroup */
|
|
12
|
-
mode?: FormMode;
|
|
13
|
+
mode?: keyof typeof FormMode;
|
|
13
14
|
/** Changes the visuals of the formgroup */
|
|
14
|
-
variant?: FormVariant;
|
|
15
|
+
variant?: keyof typeof FormVariant;
|
|
15
16
|
/** Error message */
|
|
16
17
|
error?: string;
|
|
17
18
|
/** Sets the data-testid attribute. */
|
|
18
19
|
testId?: string;
|
|
20
|
+
/** Unique identifyer for the child input tags */
|
|
21
|
+
name?: string;
|
|
19
22
|
}
|
|
20
|
-
export declare type FormVariant = 'normal' | 'bigform';
|
|
21
|
-
export declare type FormMode = 'on-white' | 'on-blueberry' | 'on-dark';
|
|
22
|
-
export declare const allFormVariants: FormVariant[];
|
|
23
|
-
export declare const allFormModes: FormMode[];
|
|
24
23
|
export declare const FormGroup: React.ForwardRefExoticComponent<FormGroupProps & React.RefAttributes<HTMLElement>>;
|
|
25
24
|
export default FormGroup;
|
|
26
25
|
//# sourceMappingURL=FormGroup.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FormGroup.d.ts","sourceRoot":"","sources":["../../../src/components/FormGroup/FormGroup.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"FormGroup.d.ts","sourceRoot":"","sources":["../../../src/components/FormGroup/FormGroup.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAO1B,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAIxD,MAAM,WAAW,cAAc;IAC7B,iCAAiC;IACjC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,oDAAoD;IACpD,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,uCAAuC;IACvC,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,0CAA0C;IAC1C,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,2CAA2C;IAC3C,IAAI,CAAC,EAAE,MAAM,OAAO,QAAQ,CAAC;IAC7B,2CAA2C;IAC3C,OAAO,CAAC,EAAE,MAAM,OAAO,WAAW,CAAC;IACnC,oBAAoB;IACpB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,sCAAsC;IACtC,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,iDAAiD;IACjD,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED,eAAO,MAAM,SAAS,oFA8DpB,CAAC;AAEH,eAAe,SAAS,CAAC"}
|
|
@@ -93,19 +93,25 @@
|
|
|
93
93
|
"required": false,
|
|
94
94
|
"type": {
|
|
95
95
|
"name": "enum",
|
|
96
|
-
"raw": "\"
|
|
96
|
+
"raw": "\"OnWhite\" | \"OnGrey\" | \"OnBlueberry\" | \"OnDark\" | \"OnError\" | 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
|
+
},
|
|
110
|
+
{
|
|
111
|
+
"value": "\"OnDark\""
|
|
112
|
+
},
|
|
113
|
+
{
|
|
114
|
+
"value": "\"OnError\""
|
|
109
115
|
}
|
|
110
116
|
]
|
|
111
117
|
}
|
|
@@ -127,16 +133,16 @@
|
|
|
127
133
|
"required": false,
|
|
128
134
|
"type": {
|
|
129
135
|
"name": "enum",
|
|
130
|
-
"raw": "\"
|
|
136
|
+
"raw": "\"Normal\" | \"BigForm\" | undefined",
|
|
131
137
|
"value": [
|
|
132
138
|
{
|
|
133
139
|
"value": "undefined"
|
|
134
140
|
},
|
|
135
141
|
{
|
|
136
|
-
"value": "\"
|
|
142
|
+
"value": "\"Normal\""
|
|
137
143
|
},
|
|
138
144
|
{
|
|
139
|
-
"value": "\"
|
|
145
|
+
"value": "\"BigForm\""
|
|
140
146
|
}
|
|
141
147
|
]
|
|
142
148
|
}
|
|
@@ -178,6 +184,25 @@
|
|
|
178
184
|
"type": {
|
|
179
185
|
"name": "string"
|
|
180
186
|
}
|
|
187
|
+
},
|
|
188
|
+
"name": {
|
|
189
|
+
"defaultValue": null,
|
|
190
|
+
"description": "Unique identifyer for the child input tags",
|
|
191
|
+
"name": "name",
|
|
192
|
+
"parent": {
|
|
193
|
+
"fileName": "src/components/FormGroup/FormGroup.tsx",
|
|
194
|
+
"name": "FormGroupProps"
|
|
195
|
+
},
|
|
196
|
+
"declarations": [
|
|
197
|
+
{
|
|
198
|
+
"fileName": "src/components/FormGroup/FormGroup.tsx",
|
|
199
|
+
"name": "FormGroupProps"
|
|
200
|
+
}
|
|
201
|
+
],
|
|
202
|
+
"required": false,
|
|
203
|
+
"type": {
|
|
204
|
+
"name": "string"
|
|
205
|
+
}
|
|
181
206
|
}
|
|
182
207
|
}
|
|
183
208
|
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{F as
|
|
1
|
+
import{F as o}from"../../FormGroup-9555dd73.js";export{F as default}from"../../FormGroup-9555dd73.js";import"../../_rollupPluginBabelHelpers-d0752906.js";import"react";import"../../index-9b84fabc.js";import"./styles.module.scss";import"../../Checkbox-0ba01292.js";import"../../uuid-8870ab4b.js";import"../../Check-6291ad09.js";import"../../Icon-9b4a8a2d.js";import"../../_tslib-51c8a283.js";import"../../constants-a4b0b501.js";import"../../color-acb834c6.js";import"../../index-19b48c51.js";import"../../palette-f206f488.js";import"../../grid-11a70eb7.js";import"../Checkbox/styles.module.scss";import"../../Title-72851d51.js";import"../Title/styles.module.scss";import"../../RadioButton-84ca988e.js";import"../RadioButton/styles.module.scss";
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
@@ -34,10 +34,19 @@
|
|
|
34
34
|
}
|
|
35
35
|
|
|
36
36
|
&--invalid {
|
|
37
|
-
margin-left: -
|
|
38
|
-
|
|
39
|
-
|
|
37
|
+
margin-left: -0.75rem;
|
|
38
|
+
margin-right: -0.75rem;
|
|
39
|
+
padding-left: 0.75rem;
|
|
40
|
+
padding-right: 0.75rem;
|
|
41
|
+
background-color: $cherry100;
|
|
40
42
|
border-left: 0.25rem solid $cherry500;
|
|
43
|
+
|
|
44
|
+
@media (min-width: map-get($grid-breakpoints, md)) {
|
|
45
|
+
margin-left: -(getSpacer(m) + 0.25rem);
|
|
46
|
+
margin-right: -(getSpacer(m) + 0.25rem);
|
|
47
|
+
padding-left: getSpacer(m);
|
|
48
|
+
padding-right: getSpacer(m);
|
|
49
|
+
}
|
|
41
50
|
}
|
|
42
51
|
}
|
|
43
52
|
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import a from"react";import{r as m}from"../../
|
|
1
|
+
import a from"react";import{r as m}from"../../Icon-9b4a8a2d.js";import"../../_tslib-51c8a283.js";import"../../constants-a4b0b501.js";export default function(c){c.isExtraSmall;var Z=c.isHovered;return m(!1,Z,a.createElement("path",{d:"m27.102 20.225-.65-.035-.648-.038c-.076 1.296.525 4.04 3.344 5.14l.473-1.212c-2.631-1.027-2.525-3.74-2.52-3.855Zm-9.046.062c.018.123.419 3.035-1.931 4.197l.576 1.166c3.21-1.589 2.665-5.398 2.64-5.559l-1.285.196Zm5.187-6.273-1.292-.143c-.032.285-.765 7.027.006 11.311.798 4.434.75 6.08.706 7.67-.012.39-.022.778-.022 1.203 0 2.117-.53 4.801-.535 4.827l1.275.254c.023-.114.559-2.834.559-5.08 0-.412.01-.789.022-1.167.047-1.657.096-3.37-.726-7.937-.737-4.097-.001-10.87.007-10.938Zm9.796 17.308c-.714-3.144 1.866-11.586 1.892-11.67l-1.242-.384c-.111.36-2.71 8.861-1.918 12.342.249 1.094.602 2.195.976 3.36.786 2.451 1.599 4.986 1.568 7.842l1.3.014c.032-3.067-.851-5.822-1.631-8.253-.364-1.137-.71-2.21-.945-3.25Zm5.792 3.227a12.168 12.168 0 0 1-.208-4.413c.642-4.714 1.623-12.97.973-15.302-1.144-4.102-3.798-4.643-6.364-5.166-.866-.176-1.761-.359-2.623-.677-2.974-1.1-2.816-3.649-2.807-3.757l-.648-.053-.648-.057c-.11 1.251.51 3.924 3.652 5.085.955.354 1.9.546 2.815.733 2.48.506 4.44.905 5.37 4.242.424 1.516.046 7.04-1.01 14.776a13.492 13.492 0 0 0 .243 4.923l2.435 8.122 1.245-.373-2.425-8.083Zm-26.295-2.113.36.626c.033-.092.064-.183.094-.273.362-1.064.674-1.983.757-2.462.127-.736-.48-3.117-1.211-5.528v7.637Zm-.038-11.928c.479 1.356 2.847 8.213 2.53 10.041-.101.58-.413 1.496-.807 2.658-.861 2.54-2.163 6.373-2.216 9.622l-1.3-.02c.007-.442.042-.893.087-1.346-1.263-1.264-2.512-2.77-3.715-4.5a10.752 10.752 0 0 1-1.928-5.84c-.087-3.004.227-7.25.457-10.348.12-1.62.224-3.02.238-3.788.07-3.992 2.909-6.589 8.436-7.719 3.426-.7 3.07-3.977 3.053-4.115l1.29-.157c.194 1.59-.412 4.795-4.083 5.545-4.917 1.005-7.337 3.122-7.396 6.47-.015.804-.115 2.152-.241 3.86-.228 3.071-.54 7.277-.454 10.214a9.456 9.456 0 0 0 1.695 5.135 33.597 33.597 0 0 0 2.875 3.61c.318-1.785.832-3.566 1.33-5.117l-1.026-1.778a.651.651 0 0 1-.087-.325V20.724c0-.316.228-.587.54-.64a.646.646 0 0 1 .722.424Zm7.633 16.87a.65.65 0 1 0 .706 1.093.65.65 0 0 0-.706-1.093Zm4.797 0a.65.65 0 1 0 .703 1.093.65.65 0 0 0-.703-1.093Zm-4.476-2.512a.649.649 0 1 0 .704 1.092.649.649 0 1 0-.704-1.092Zm7.067 0a.65.65 0 1 0 .706 1.093.65.65 0 0 0-.706-1.093Zm0-2.727a.65.65 0 1 0 .706 1.093.65.65 0 0 0-.706-1.093Zm2.2 0a.65.65 0 1 0 .706 1.093.65.65 0 0 0-.706-1.093Zm-13.68 0a.65.65 0 1 0 .703 1.092.65.65 0 0 0-.703-1.092Zm2.2 2.727a.65.65 0 1 0 .703 1.092.65.65 0 0 0-.703-1.092Zm0-2.727a.65.65 0 1 0 .703 1.092.65.65 0 0 0-.703-1.092Zm2.213.06a.649.649 0 1 0 .704 1.092.649.649 0 1 0-.704-1.092Zm4.806 2.667a.649.649 0 1 0 .704 1.092.649.649 0 1 0-.704-1.092Zm.96-2.533a.65.65 0 1 1-1.092.704.65.65 0 0 1 1.092-.704Z","fill-rule":"evenodd"}),a.createElement("path",{d:"m27.102 20.225-.649-.035-.649-.038c-.076 1.296.525 4.04 3.344 5.14l.473-1.212c-2.63-1.027-2.525-3.74-2.519-3.855Zm-9.046.062c.018.124.42 3.035-1.932 4.197l.577 1.166c3.21-1.589 2.665-5.398 2.64-5.559l-1.285.196Zm5.186-6.273-1.292-.143c-.032.285-.764 7.027.006 11.311.798 4.434.751 6.08.706 7.67-.01.39-.022.778-.022 1.203 0 2.117-.529 4.801-.535 4.827l1.276.254c.022-.114.56-2.834.56-5.08 0-.412.01-.789.02-1.167.048-1.657.097-3.37-.725-7.937-.737-4.097 0-10.87.006-10.938Zm9.797 17.308c-.715-3.144 1.866-11.586 1.892-11.67l-1.243-.384c-.11.36-2.708 8.861-1.917 12.343.248 1.093.602 2.193.975 3.357.786 2.452 1.6 4.987 1.57 7.844l1.3.014c.031-3.067-.853-5.823-1.633-8.254-.364-1.137-.708-2.21-.944-3.25Zm5.792 3.227a12.149 12.149 0 0 1-.208-4.413c.784-5.76 1.59-13.089.973-15.302-1.144-4.102-3.798-4.643-6.364-5.166-.866-.176-1.762-.359-2.624-.677-2.973-1.1-2.815-3.649-2.807-3.757l-.648-.053-.647-.057c-.11 1.251.511 3.924 3.652 5.085.955.354 1.9.546 2.814.733 2.481.506 4.441.905 5.372 4.242.422 1.514.045 7.038-1.01 14.776a13.495 13.495 0 0 0 .241 4.923l2.436 8.122 1.245-.373-2.425-8.083Zm-26.296-2.113.362.626.093-.273c.361-1.064.673-1.983.756-2.462.128-.736-.478-3.117-1.21-5.528v7.637Zm-.037-11.928c.478 1.356 2.847 8.213 2.53 10.041-.102.58-.413 1.496-.807 2.658-.862 2.54-2.163 6.373-2.217 9.622l-1.299-.02c.007-.442.041-.893.087-1.346-1.263-1.264-2.513-2.77-3.715-4.5a10.747 10.747 0 0 1-1.928-5.84c-.088-3.004.227-7.25.457-10.35.12-1.619.224-3.018.237-3.786.072-3.992 2.91-6.589 8.436-7.719 3.427-.7 3.071-3.977 3.054-4.115l1.291-.157c.192 1.59-.414 4.795-4.085 5.545-4.917 1.006-7.336 3.122-7.396 6.47-.014.804-.114 2.152-.24 3.858-.228 3.072-.54 7.28-.454 10.216a9.448 9.448 0 0 0 1.695 5.135 33.474 33.474 0 0 0 2.875 3.61c.318-1.785.831-3.566 1.33-5.117l-1.027-1.778a.651.651 0 0 1-.087-.325V20.724a.651.651 0 0 1 1.263-.216Zm7.633 17.67a.649.649 0 1 0 .704 1.092.649.649 0 1 0-.704-1.092Zm4.796 0a.65.65 0 1 0 .704 1.092.65.65 0 0 0-.704-1.092Zm-4.476-3.312a.65.65 0 1 0 .706 1.093.65.65 0 0 0-.706-1.093Zm7.068 0a.649.649 0 1 0 .704 1.092.65.65 0 1 0-.704-1.092Zm0-3.327a.649.649 0 1 0 .704 1.092.65.65 0 1 0-.704-1.092Zm2.2 0a.649.649 0 1 0 .704 1.092.65.65 0 1 0-.704-1.092Zm-13.68 0a.649.649 0 1 0 .704 1.092.649.649 0 1 0-.704-1.092Zm2.2 3.327a.649.649 0 1 0 .704 1.092.649.649 0 1 0-.704-1.092Zm0-3.327a.649.649 0 1 0 .704 1.092.649.649 0 1 0-.704-1.092Zm2.212.06a.65.65 0 1 0 .706 1.093.65.65 0 0 0-.706-1.093Zm4.807 3.267a.65.65 0 1 0 .703 1.093.65.65 0 0 0-.703-1.093Zm.96-3.133a.649.649 0 1 1-1.093.704.649.649 0 1 1 1.092-.704Z","fill-rule":"evenodd"}))}
|
|
2
2
|
//# sourceMappingURL=AcupunctureBack.js.map
|
package/components/Icons/Icon.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{_ as e}from"../../_tslib-51c8a283.js";import a from"react";import{
|
|
1
|
+
import{_ as e}from"../../_tslib-51c8a283.js";import a from"react";import"../../Icon-9b4a8a2d.js";import{I as i}from"../../constants-a4b0b501.js";var o=function(e,a,i,o,t,r){return e&&t&&r?a?r:t:a?o:i},t=a.forwardRef((function(o,t){var r=o.svgIcon,l=o.ariaLabel,s=o.id,d=o.className,c=void 0===d?"":d,n=o.size,m=void 0===n?i.Small:n,v=o.color,b=void 0===v?"black":v,f=o.hoverColor,h=void 0===f?b||"black":f,g=o.isHovered,I=void 0!==g&&g,p=o.testId,u=e(o,["svgIcon","ariaLabel","id","className","size","color","hoverColor","isHovered","testId"]),j=a.createElement(r,{isExtraSmall:m<=i.XSmall,isHovered:I}),y=s&&l?"title-".concat(s):void 0;return a.createElement("svg",Object.assign({id:s,"data-testid":p,ref:t,className:"hnds-style-icon ".concat(c),role:"img","aria-label":!s&&l?l:void 0,"aria-labelledby":y,"aria-hidden":"true",viewBox:"0 0 48 48",style:{minWidth:m,minHeight:m},width:m,height:m,fill:I?h:b},u),y&&a.createElement("title",{id:y},l),j)}));t.displayName="Icon";export{t as Icon,o as returnIcon};
|
|
2
2
|
//# sourceMappingURL=Icon.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import l from"react";import{r as c}from"../../
|
|
1
|
+
import l from"react";import{r as c}from"../../Icon-9b4a8a2d.js";import"../../_tslib-51c8a283.js";import"../../constants-a4b0b501.js";export default function(a){var e=a.isExtraSmall,t=a.isHovered;return c(e,t,l.createElement("path",{d:"M23.478 33.617c-2.67 0-4.927-.572-6.829-1.43l.955-.971a9.265 9.265 0 0 0 5.874 2.095c5.134 0 9.311-4.177 9.311-9.311 0-2.285-.83-4.377-2.2-6l1.324-1.347c4.185 2.503 6.224 6.312 6.714 7.347-.747 1.577-5.056 9.617-15.149 9.617Zm-1.347-7.008c.405.21.86.34 1.347.34a2.949 2.949 0 0 0 2.95-2.95c0-.506-.14-.975-.365-1.392l3.612-3.676A7.97 7.97 0 0 1 31.49 24c0 4.417-3.594 8.01-8.01 8.01a7.967 7.967 0 0 1-4.957-1.728l3.61-3.673Zm3.316-4.791a2.928 2.928 0 0 0-1.969-.767A2.949 2.949 0 0 0 20.53 24c0 .779.307 1.482.801 2.009l-3.55 3.613A7.98 7.98 0 0 1 15.466 24c0-4.417 3.595-8.011 8.012-8.011 2.14 0 4.08.847 5.518 2.218l-3.549 3.61ZM8.328 24c.748-1.577 5.057-9.617 15.15-9.617 3.011 0 5.496.723 7.536 1.769l-1.108 1.128a9.271 9.271 0 0 0-6.428-2.592c-5.134 0-9.312 4.178-9.312 9.312a9.28 9.28 0 0 0 2.702 6.549l-1.164 1.185c-4.643-2.477-6.86-6.645-7.376-7.734Zm31.612-.253c-.03-.072-2.129-4.89-7.113-8.024l5.984-6.09-.708-.696-6.156 6.266c-2.268-1.246-5.068-2.121-8.469-2.121-11.83 0-16.417 10.558-16.462 10.665L6.91 24l.107.253c.031.074 2.312 5.31 7.77 8.416l-5.598 5.697.708.695 5.804-5.906c2.14 1.05 4.714 1.763 7.778 1.763 11.83 0 16.417-10.56 16.462-10.665l.106-.253-.106-.253Z","fill-rule":"evenodd"}),l.createElement("path",{d:"M23.478 33.617c-2.67 0-4.927-.572-6.829-1.43l.955-.971a9.265 9.265 0 0 0 5.874 2.095c5.134 0 9.311-4.177 9.311-9.311 0-2.285-.83-4.377-2.2-6l1.324-1.347c4.181 2.5 6.22 6.304 6.713 7.344-.748 1.535-5.162 9.62-15.148 9.62Zm.197-8.58a2.944 2.944 0 1 0 3.74-3.805l2.26-2.301A7.97 7.97 0 0 1 31.49 24c0 4.417-3.594 8.01-8.01 8.01a7.967 7.967 0 0 1-4.957-1.728l5.153-5.245Zm2.501-3.961a2.931 2.931 0 0 0-2.678 2.726l-5.718 5.82A7.981 7.981 0 0 1 15.467 24c0-4.417 3.594-8.011 8.011-8.011 2.14 0 4.08.847 5.518 2.218l-2.82 2.869ZM8.328 24c.748-1.577 5.057-9.617 15.15-9.617 3.011 0 5.496.723 7.536 1.769l-1.108 1.128a9.271 9.271 0 0 0-6.428-2.592c-5.134 0-9.31 4.178-9.31 9.312a9.28 9.28 0 0 0 2.7 6.549l-1.164 1.185c-4.643-2.477-6.86-6.645-7.376-7.734Zm31.612-.252c-.03-.072-2.129-4.89-7.113-8.025l5.984-6.09-.708-.696-6.156 6.266c-2.268-1.246-5.068-2.121-8.469-2.121-11.83 0-16.417 10.558-16.462 10.665L6.91 24l.107.253c.031.074 2.312 5.31 7.77 8.416l-5.598 5.697.708.695 5.804-5.906c2.14 1.05 4.714 1.763 7.778 1.763 11.83 0 16.417-10.56 16.462-10.666l.106-.252-.106-.252Z","fill-rule":"evenodd"}),l.createElement("path",{d:"M30.215 31.395A9.647 9.647 0 0 0 33.667 24c0-2.47-.938-4.72-2.469-6.432l.32-.327c3.788 2.087 5.848 5.34 6.602 6.76-.839 1.577-3.28 5.406-7.905 7.394ZM9.88 24c.838-1.577 3.28-5.407 7.906-7.394A9.647 9.647 0 0 0 14.332 24c0 2.471.94 4.72 2.471 6.432l-.322.327C12.694 28.673 10.634 25.42 9.88 24ZM24 16.102a7.86 7.86 0 0 1 5.067 1.846l-3.47 3.532a2.963 2.963 0 0 0-1.596-.47A2.99 2.99 0 0 0 21.009 24c0 .608.185 1.172.497 1.645l-3.464 3.525a7.862 7.862 0 0 1-1.94-5.17c0-4.356 3.543-7.898 7.899-7.898Zm0 15.797a7.866 7.866 0 0 1-5.067-1.847l3.47-3.532c.463.295 1.008.47 1.598.47a2.99 2.99 0 0 0 2.494-4.634l3.464-3.526a7.857 7.857 0 0 1 1.94 5.17c0 4.356-3.543 7.899-7.898 7.899Zm8.798-15.959 5.461-5.56-.894-.877-5.717 5.818C29.55 14.29 27.025 13.588 24 13.588 12.302 13.588 7.914 24 7.914 24s2.11 4.99 7.289 8.06L9.74 37.62l.894.878 5.717-5.82c2.098 1.032 4.625 1.734 7.649 1.734C35.697 34.412 40.087 24 40.087 24s-2.11-4.99-7.289-8.06Z","fill-rule":"evenodd"}),l.createElement("path",{d:"M30.214 31.395A9.65 9.65 0 0 0 33.668 24c0-2.47-.94-4.72-2.47-6.43l.321-.328c3.787 2.087 5.847 5.34 6.601 6.758-.838 1.58-3.28 5.408-7.906 7.396ZM9.88 24.001c.839-1.58 3.28-5.408 7.905-7.396a9.65 9.65 0 0 0-3.452 7.394c0 2.472.938 4.722 2.47 6.434l-.322.326c-3.787-2.086-5.847-5.34-6.601-6.758ZM24 16.1a7.86 7.86 0 0 1 5.067 1.848l-3.048 3.1a2.975 2.975 0 0 0-2.549 2.597l-5.427 5.525a7.857 7.857 0 0 1-1.942-5.172c0-4.355 3.543-7.898 7.899-7.898Zm0 15.798a7.862 7.862 0 0 1-5.067-1.847l4.76-4.845A2.989 2.989 0 0 0 29.416 24c0-1.24-.754-2.304-1.829-2.758l2.37-2.412a7.856 7.856 0 0 1 1.941 5.168c0 4.357-3.543 7.9-7.898 7.9Zm8.798-15.959 5.461-5.559-.894-.878-5.717 5.818C29.55 14.29 27.024 13.587 24 13.587c-11.698 0-16.087 10.414-16.087 10.414s2.111 4.988 7.289 8.06l-5.46 5.558.893.879 5.717-5.82c2.097 1.033 4.625 1.735 7.648 1.735C35.698 34.413 40.086 24 40.086 24s-2.11-4.99-7.288-8.06Z","fill-rule":"evenodd"}))}
|
|
2
2
|
//# sourceMappingURL=NoEye.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import
|
|
1
|
+
import c from"react";import{r as e}from"../../Icon-9b4a8a2d.js";import"../../_tslib-51c8a283.js";import"../../constants-a4b0b501.js";export default function(l){var t=l.isExtraSmall,r=l.isHovered;return e(t,r,c.createElement("path",{d:"M25.564 26.297c-1.776-1-4.15-1.442-4.15-3.085 0-.732.377-1.221 1.042-1.621 1.8.977 4.13 1.444 4.13 3.108 0 .776-.334 1.242-1.022 1.598M22.7 18.595c0-.644.445-1.11 1.465-1.11.888 0 1.71.444 2.398 1.043l1.2-1.62c-.89-.688-2.177-1.353-3.73-1.353-2.353 0-3.64 1.375-3.64 3.15 0 .755.243 1.355.665 1.82-1.109.645-1.842 1.666-1.842 2.864 0 4.128 5.97 3.774 5.97 5.905 0 .71-.554 1.243-1.597 1.243-1.02 0-1.843-.423-2.575-1.155l-1.51 1.332c.955 1.132 2.486 1.73 4.085 1.73 2.441 0 3.928-1.397 3.928-3.262 0-.732-.222-1.31-.577-1.775 1.154-.69 1.843-1.554 1.843-2.908 0-4.04-6.083-3.906-6.083-5.904M24 38.458C16.026 38.458 9.54 31.973 9.54 24S16.027 9.542 24 9.542c7.973 0 14.46 6.485 14.46 14.458s-6.487 14.458-14.46 14.458M24 8.14C15.255 8.14 8.141 15.256 8.141 24S15.255 39.858 24 39.858c8.745 0 15.86-7.114 15.86-15.858S32.743 8.14 23.998 8.14","fill-rule":"evenodd"}),c.createElement("path",{d:"M25.79 26.628c-2.032-1.143-4.749-1.65-4.749-3.53 0-.838.431-1.397 1.193-1.855 2.058 1.12 4.724 1.652 4.724 3.557 0 .888-.381 1.421-1.168 1.828m-3.276-8.813c0-.736.508-1.27 1.676-1.27 1.016 0 1.956.51 2.743 1.193l1.371-1.853c-1.016-.788-2.489-1.549-4.267-1.549-2.691 0-4.164 1.574-4.164 3.607 0 .862.279 1.55.762 2.082-1.27.736-2.109 1.905-2.109 3.276 0 4.723 6.832 4.317 6.832 6.756 0 .812-.635 1.422-1.828 1.422-1.169 0-2.108-.483-2.946-1.32l-1.728 1.523c1.093 1.295 2.845 1.981 4.674 1.981 2.793 0 4.495-1.6 4.495-3.734 0-.838-.254-1.498-.66-2.03 1.32-.789 2.108-1.779 2.108-3.328 0-4.622-6.959-4.47-6.959-6.756M24 38.458c-7.973 0-14.459-6.486-14.459-14.458 0-7.973 6.486-14.458 14.459-14.458 7.972 0 14.458 6.485 14.458 14.458 0 7.972-6.486 14.458-14.458 14.458m0-30.317c-8.745 0-15.859 7.114-15.859 15.86 0 8.743 7.114 15.857 15.859 15.857 8.744 0 15.858-7.114 15.858-15.858 0-8.745-7.114-15.859-15.858-15.859","fill-rule":"evenodd"}),c.createElement("path",{d:"M24 38.274c-7.871 0-14.274-6.403-14.274-14.275 0-7.87 6.403-14.274 14.274-14.274 7.87 0 14.273 6.405 14.273 14.274 0 7.872-6.403 14.275-14.273 14.275m0-30.317c-8.846 0-16.044 7.196-16.044 16.042 0 8.846 7.198 16.043 16.044 16.043S40.043 32.845 40.043 24 32.846 7.957 24 7.957m1.59 18.376c-1.804-1.015-4.218-1.465-4.218-3.133 0-.744.384-1.242 1.06-1.648 1.828.993 4.195 1.467 4.195 3.158 0 .788-.339 1.262-1.037 1.623m-2.91-7.825c0-.654.452-1.128 1.489-1.128.902 0 1.737.452 2.435 1.06l1.218-1.646c-.902-.698-2.21-1.376-3.788-1.376-2.39 0-3.699 1.399-3.699 3.204 0 .765.248 1.375.677 1.85-1.128.652-1.872 1.69-1.872 2.907 0 4.195 6.066 3.834 6.066 5.999 0 .722-.563 1.263-1.623 1.263-1.037 0-1.872-.43-2.616-1.172l-1.534 1.352c.97 1.15 2.525 1.759 4.15 1.759 2.48 0 3.991-1.421 3.991-3.316 0-.743-.226-1.329-.586-1.803 1.172-.7 1.872-1.579 1.872-2.954 0-4.104-6.18-3.969-6.18-5.999","fill-rule":"evenodd"}),c.createElement("path",{d:"M24 38.274c-7.87 0-14.274-6.403-14.274-14.275C9.726 16.13 16.13 9.725 24 9.725c7.87 0 14.274 6.405 14.274 14.274 0 7.872-6.403 14.275-14.274 14.275m0-30.317c-8.846 0-16.043 7.196-16.043 16.042 0 8.846 7.197 16.043 16.043 16.043S40.043 32.845 40.043 24 32.846 7.957 24 7.957m1.837 18.738c-2.085-1.173-4.871-1.692-4.871-3.62 0-.858.442-1.433 1.224-1.902 2.11 1.147 4.844 1.694 4.844 3.647 0 .91-.392 1.458-1.197 1.875m-3.36-9.037c0-.755.52-1.302 1.717-1.302 1.043 0 2.006.521 2.813 1.224l1.408-1.901c-1.042-.807-2.553-1.588-4.376-1.588-2.76 0-4.27 1.613-4.27 3.697 0 .886.285 1.59.78 2.136-1.301.756-2.161 1.953-2.161 3.359 0 4.844 7.005 4.427 7.005 6.928 0 .833-.652 1.458-1.874 1.458-1.2 0-2.163-.495-3.022-1.354l-1.77 1.562c1.12 1.328 2.916 2.032 4.792 2.032 2.864 0 4.609-1.641 4.609-3.829 0-.859-.26-1.536-.677-2.083 1.354-.807 2.161-1.824 2.161-3.412 0-4.74-7.135-4.583-7.135-6.927","fill-rule":"evenodd"}))}
|
|
2
2
|
//# sourceMappingURL=SectionSign.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import a from"react";import{r as v}from"../../
|
|
1
|
+
import a from"react";import{r as v}from"../../Icon-9b4a8a2d.js";import"../../_tslib-51c8a283.js";import"../../constants-a4b0b501.js";export default function(e){var l=e.isExtraSmall,h=e.isHovered;return v(l,h,a.createElement("path",{d:"M14.003 25.497H27.96v-1.301H14.003v1.3Zm0-4.572h19.602v-1.301H14.003v1.3Zm25.08 7.662A2.818 2.818 0 0 1 36.27 31.4h-4.996v3.33l-5.178-3.33H11.73a2.818 2.818 0 0 1-2.816-2.814V17.234a2.818 2.818 0 0 1 2.816-2.814h24.538a2.817 2.817 0 0 1 2.815 2.814v11.353ZM36.27 13.119H11.73a4.121 4.121 0 0 0-4.116 4.115v11.353a4.121 4.121 0 0 0 4.116 4.115h13.982l6.86 4.41v-4.41h3.696a4.12 4.12 0 0 0 4.115-4.115V17.234a4.12 4.12 0 0 0-4.115-4.115Z","fill-rule":"evenodd"}),a.createElement("path",{d:"M14.003 25.497h19.602v-1.301H14.003v1.3Zm0-4.572h19.602v-1.301H14.003v1.3Zm25.08 7.662A2.817 2.817 0 0 1 36.27 31.4h-4.997v3.33l-5.178-3.33H11.73a2.817 2.817 0 0 1-2.814-2.814V17.234a2.817 2.817 0 0 1 2.814-2.814h24.54a2.817 2.817 0 0 1 2.814 2.814v11.353ZM36.27 13.119H11.73a4.12 4.12 0 0 0-4.114 4.115v11.353a4.12 4.12 0 0 0 4.114 4.115h13.983l6.86 4.41v-4.41h3.697a4.12 4.12 0 0 0 4.114-4.115V17.234a4.12 4.12 0 0 0-4.114-4.115Z","fill-rule":"evenodd"}),a.createElement("path",{d:"M14.003 25.669h13.958v-1.644H14.003v1.644Zm0-4.574h19.602V19.45H14.003v1.644Zm24.91 7.492a2.647 2.647 0 0 1-2.644 2.643h-5.166v3.189l-4.958-3.189H11.73a2.647 2.647 0 0 1-2.644-2.643V17.236a2.646 2.646 0 0 1 2.644-2.644h24.538a2.646 2.646 0 0 1 2.644 2.644v11.35Zm-2.644-15.638H11.731a4.29 4.29 0 0 0-4.286 4.287v11.35a4.29 4.29 0 0 0 4.286 4.286h13.931l7.083 4.554v-4.554h3.524a4.29 4.29 0 0 0 4.286-4.285V17.236a4.29 4.29 0 0 0-4.286-4.287Z","fill-rule":"evenodd"}),a.createElement("path",{d:"M14.003 25.669h19.602v-1.644H14.003v1.644Zm0-4.574h19.602V19.45H14.003v1.644Zm24.91 7.492a2.647 2.647 0 0 1-2.644 2.643h-5.166v3.189l-4.958-3.189H11.73a2.647 2.647 0 0 1-2.644-2.643V17.236a2.646 2.646 0 0 1 2.644-2.644h24.538a2.646 2.646 0 0 1 2.644 2.644v11.35Zm-2.644-15.638H11.731a4.29 4.29 0 0 0-4.286 4.287v11.35a4.29 4.29 0 0 0 4.286 4.286h13.931l7.083 4.554v-4.554h3.524a4.29 4.29 0 0 0 4.286-4.285V17.236a4.29 4.29 0 0 0-4.286-4.287Z","fill-rule":"evenodd"}))}
|
|
2
2
|
//# sourceMappingURL=SpeechBubble.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import a from"react";import{r as v}from"../../
|
|
1
|
+
import a from"react";import{r as v}from"../../Icon-9b4a8a2d.js";import"../../_tslib-51c8a283.js";import"../../constants-a4b0b501.js";export default function(h){h.isExtraSmall;var c=h.isHovered;return v(!1,c,a.createElement("path",{d:"M18.718 18.927a.45.45 0 1 1 .9 0 .45.45 0 0 1-.9 0Zm-4.742 0a.45.45 0 1 1 .9-.001.45.45 0 0 1-.9 0Zm-2.77-2.03h.584a3.665 3.665 0 0 0 3.173-1.834 3.711 3.711 0 0 0 3.201 1.835h4.161v1.757a5.387 5.387 0 0 1-5.382 5.38h-.356a5.387 5.387 0 0 1-5.38-5.38v-1.757Zm5.381-6.583h.356a5.387 5.387 0 0 1 5.382 5.38v.204h-4.16a2.714 2.714 0 0 1-2.712-2.711v-.191h-1v.239a2.666 2.666 0 0 1-2.663 2.663h-.584v-.203a5.387 5.387 0 0 1 5.381-5.381Zm.178-3.073c1.16 0 2.101.92 2.147 2.069a6.67 6.67 0 0 0-1.969-.296h-.356c-.685 0-1.346.104-1.968.296a2.152 2.152 0 0 1 2.146-2.07Zm-.178 18.096h.356a6.69 6.69 0 0 0 6.682-6.682v-2.96a6.683 6.683 0 0 0-3.404-5.816v-.483a3.46 3.46 0 0 0-3.456-3.456 3.46 3.46 0 0 0-3.455 3.456v.483a6.684 6.684 0 0 0-3.404 5.816v2.96a6.69 6.69 0 0 0 6.681 6.682Zm11.496-7.911a.459.459 0 1 1 0-.918.459.459 0 0 1 0 .918Zm4.38-.46a.458.458 0 1 1 .916 0 .458.458 0 0 1-.917 0Zm-6.242-2.078h2.887a3.778 3.778 0 0 0 3.266-1.882 3.727 3.727 0 0 0 3.236 1.882h1.98v1.8a5.508 5.508 0 0 1-5.503 5.504h-.363a5.508 5.508 0 0 1-5.503-5.503v-1.801Zm5.503-6.72h.363a5.508 5.508 0 0 1 5.503 5.502v.218h-1.98a2.73 2.73 0 0 1-2.726-2.727v-.244h-1v.194a2.78 2.78 0 0 1-2.776 2.777h-2.887v-.218a5.508 5.508 0 0 1 5.503-5.502Zm0 15.325h.363c3.751 0 6.803-3.053 6.803-6.804v-3.02a6.81 6.81 0 0 0-6.803-6.802h-.363a6.81 6.81 0 0 0-6.803 6.803v3.019c0 3.75 3.052 6.804 6.803 6.804Zm7.527 18.543h-11.5v-5.643c1.156 1.257 3.04 2.88 5.183 3.056.13.01.26.017.387.017 1.354 0 2.603-.596 3.72-1.775a43.985 43.985 0 0 0 2.21-2.495v6.84Zm-14.002 0h-1.512v-6.13h-.9v6.13h-12.1v-6.13h-.9v6.13H7.122V34.86a7.94 7.94 0 0 1 1.102-4.011c.355.27.827.436 1.352.464.054.003.108.004.162.004.6 0 1.15-.177 1.477-.458.096-.061.946-.627 1.172-1.663.123-.568.022-1.147-.276-1.725.18-.072.353-.158.536-.217a9.355 9.355 0 0 0 4.14.968c1.435 0 2.86-.334 4.14-.968.142.046.28.105.418.159-.323.597-.436 1.196-.308 1.783.226 1.036 1.075 1.602 1.103 1.612.39.328.947.509 1.547.509.053 0 .107-.001.161-.004.553-.03 1.043-.216 1.404-.513.764 1.295 1.2 2.717 1.2 4.06v7.176H25.25ZM8.04 28.224l1.6-1.34a.29.29 0 0 1 .411.039l.82.97c.673 1.074-.102 1.704-.42 1.919-.169.14-.483.23-.805.203-.31-.017-.59-.124-.716-.272l-.927-1.107c-.067-.081-.07-.17-.067-.214a.291.291 0 0 1 .104-.198Zm14.516-.331.82-.971a.293.293 0 0 1 .41-.037l1.601 1.34c.08.067.098.152.102.197a.286.286 0 0 1-.067.214l-.927 1.107c-.124.148-.405.255-.716.272-.32.019-.636-.062-.872-.253-.005-.003-.487-.33-.599-.842-.069-.317.012-.653.248-1.027Zm5.18-2.486c2.56 1.268 5.723 1.267 8.283-.001 2.227.693 3.606 1.776 4.331 3.4.755 1.688-.477 4.003-4.253 7.99-.949 1.005-1.947 1.438-3.053 1.358-2.59-.211-4.919-3.285-5.338-3.868-.11-1.528-.635-3.103-1.543-4.511l.256-.305c.091-.11.16-.23.218-.355 1.095 1.146 3.058 3.187 4.496 4.596a1.84 1.84 0 0 0 1.285.524c.041 0 .082-.002.124-.004a1.85 1.85 0 0 0 1.331-.71l2.47-3.176-.712-.553-2.469 3.178a.936.936 0 0 1-.68.363.911.911 0 0 1-.719-.265c-1.786-1.75-4.387-4.48-5.102-5.234a1.574 1.574 0 0 0-.44-.606l-.764-.64a8.077 8.077 0 0 1 2.28-1.181Zm13.801 2.867c-.906-2.027-2.673-3.398-5.4-4.19l-.255-.074-.233.125c-2.308 1.229-5.238 1.228-7.545 0l-.233-.125-.254.074a9.32 9.32 0 0 0-3.192 1.67 1.582 1.582 0 0 0-2.045.331l-.212.25a9.342 9.342 0 0 0-1.12-.404l-.254-.075-.233.125c-2.308 1.23-5.238 1.23-7.546 0l-.233-.125-.254.075a9.385 9.385 0 0 0-1.226.46l-.256-.305a1.581 1.581 0 0 0-1.079-.563 1.573 1.573 0 0 0-1.162.366l-1.599 1.338a1.587 1.587 0 0 0-.2 2.243l.304.363a9.248 9.248 0 0 0-1.487 5.027v8.477h34.729V33.42c1.218-1.898 1.68-3.592.985-5.146Z","fill-rule":"evenodd"}),a.createElement("path",{d:"M16.401 21.118h2.717a1.358 1.358 0 0 1-2.717 0Zm3.218-2.191a.45.45 0 1 1 .899-.001.45.45 0 0 1-.899.001Zm-4.743 0a.45.45 0 1 1 .9 0 .45.45 0 0 1-.9 0Zm-3.671-2.029h1.919a3.665 3.665 0 0 0 3.173-1.835 3.711 3.711 0 0 0 3.201 1.835h2.828v1.757a5.388 5.388 0 0 1-5.382 5.381h-.357a5.388 5.388 0 0 1-5.382-5.381v-1.757Zm5.382-6.584h.357a5.388 5.388 0 0 1 5.382 5.381v.203h-2.828a2.715 2.715 0 0 1-2.712-2.711v-.191h-1v.239a2.665 2.665 0 0 1-2.662 2.663h-1.919v-.203a5.388 5.388 0 0 1 5.382-5.381Zm-1.275-2.546a2.134 2.134 0 0 1 2.308 1.279 6.86 6.86 0 0 0-.676-.034h-.357a6.642 6.642 0 0 0-3.091.764 2.158 2.158 0 0 1 1.816-2.009Zm1.275 17.569h.357c3.684 0 6.681-2.999 6.681-6.682v-2.96c0-2.943-1.916-5.444-4.564-6.332l-.001-.001c-.295-1.883-2.072-3.18-3.949-2.879a3.46 3.46 0 0 0-2.878 3.95l.028.179a6.666 6.666 0 0 0-2.355 5.083v2.96c0 3.683 2.997 6.682 6.681 6.682Zm11.497-7.911a.46.46 0 1 1 0-.92.46.46 0 0 1 0 .92Zm4.378-.459a.46.46 0 1 1 .92 0 .46.46 0 0 1-.92 0Zm-6.241-2.08h2.887a3.776 3.776 0 0 0 3.265-1.882 3.73 3.73 0 0 0 3.237 1.882h1.981v1.802a5.51 5.51 0 0 1-5.504 5.503h-.363a5.51 5.51 0 0 1-5.503-5.503v-1.802Zm5.503-6.719h.363a5.508 5.508 0 0 1 5.504 5.502v.217H35.61a2.729 2.729 0 0 1-2.726-2.726v-.244h-1v.194a2.779 2.779 0 0 1-2.776 2.776h-2.887v-.217a5.508 5.508 0 0 1 5.503-5.502Zm0 15.325h.363a6.812 6.812 0 0 0 6.804-6.804V13.67a6.811 6.811 0 0 0-6.804-6.803h-.363a6.81 6.81 0 0 0-6.803 6.803v3.019c0 3.751 3.052 6.804 6.803 6.804Zm7.527 18.543H27.752v-5.644c1.155 1.257 3.038 2.881 5.182 3.057.13.011.26.016.388.016 1.353 0 2.603-.595 3.719-1.774a43.642 43.642 0 0 0 2.21-2.495v6.84Zm-14.002 0h-1.512v-6.129h-.9v6.129h-12.1v-6.129h-.9v6.129H7.122V34.86a7.94 7.94 0 0 1 1.102-4.011c.356.269.828.436 1.352.464.054.003.108.004.162.004.599 0 1.15-.178 1.477-.458.096-.062.946-.627 1.172-1.663.123-.568.022-1.147-.276-1.725.179-.073.353-.158.536-.218a9.355 9.355 0 0 0 4.14.968c1.435 0 2.86-.334 4.14-.968.142.047.279.105.417.16-.322.597-.435 1.196-.307 1.783.226 1.036 1.076 1.601 1.103 1.612.39.327.947.509 1.547.509.054 0 .107-.001.161-.004.553-.03 1.043-.217 1.405-.513.763 1.295 1.199 2.716 1.199 4.06v7.176h-1.203ZM8.038 28.224l1.601-1.34a.293.293 0 0 1 .411.038l.819.971c.674 1.073-.101 1.703-.42 1.919-.167.142-.478.223-.804.202-.31-.016-.591-.123-.715-.271l-.928-1.108a.29.29 0 0 1 .036-.411Zm14.517-.331.82-.973a.294.294 0 0 1 .411-.036l1.6 1.341a.292.292 0 0 1 .036.41l-.927 1.108c-.125.148-.406.255-.717.271a1.229 1.229 0 0 1-.867-.25c-.256-.168-1.03-.798-.356-1.871Zm5.181-2.486c2.56 1.267 5.722 1.265 8.281-.001 2.228.692 3.607 1.776 4.332 3.399.755 1.689-.477 4.004-4.252 7.991-.95 1.004-1.948 1.438-3.053 1.358-2.591-.212-4.92-3.285-5.339-3.868-.11-1.528-.634-3.103-1.542-4.511l.256-.306a1.6 1.6 0 0 0 .218-.354c1.094 1.146 3.058 3.187 4.496 4.596a1.84 1.84 0 0 0 1.284.524c.042 0 .083-.002.125-.004a1.849 1.849 0 0 0 1.33-.709l2.47-3.178-.711-.552-2.47 3.177a.932.932 0 0 1-.68.364.904.904 0 0 1-.719-.265c-1.786-1.751-4.388-4.482-5.103-5.235a1.568 1.568 0 0 0-.439-.605l-.764-.64a8.03 8.03 0 0 1 2.28-1.181Zm13.8 2.867c-.906-2.027-2.673-3.398-5.401-4.19l-.254-.075-.233.125c-2.306 1.231-5.237 1.229-7.545 0l-.233-.125-.254.075a9.32 9.32 0 0 0-3.192 1.67 1.574 1.574 0 0 0-2.044.331l-.212.251a9.474 9.474 0 0 0-1.121-.406l-.254-.074-.234.125c-2.307 1.229-5.237 1.229-7.544 0l-.234-.125-.254.074a9.48 9.48 0 0 0-1.226.461l-.255-.304a1.575 1.575 0 0 0-1.08-.564 1.575 1.575 0 0 0-1.162.365l-1.6 1.339a1.583 1.583 0 0 0-.564 1.08c-.037.423.092.836.365 1.162l.304.364a9.25 9.25 0 0 0-1.487 5.027v8.477h34.729V33.42c1.218-1.897 1.679-3.593.985-5.146Z","fill-rule":"evenodd"}))}
|
|
2
2
|
//# sourceMappingURL=SupportingPerson.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import a from"react";import{r as l}from"../../
|
|
1
|
+
import a from"react";import{r as l}from"../../Icon-9b4a8a2d.js";import"../../_tslib-51c8a283.js";import"../../constants-a4b0b501.js";export default function(e){e.isExtraSmall;var t=e.isHovered;return l(!1,t,a.createElement("path",{d:"m35.619 14.844-2.356-2.342 3.135-3.155 2.356 2.342-3.135 3.155Zm-6.847 9.932-5.397-5.363 2.405-2.419 2.797 2.78.705-.709-2.798-2.78 4.343-4.37 5.396 5.361-7.451 7.5Zm-6.036 6.074a3.776 3.776 0 0 1-2.686 1.122h-.012a3.78 3.78 0 0 1-2.681-1.106 3.777 3.777 0 0 1-1.123-2.685 3.78 3.78 0 0 1 1.106-2.693l1.724-1.735 2.598 2.582.706-.709-2.6-2.583 2.69-2.708 5.398 5.363-5.12 5.152Zm-5.526 2.558a1.688 1.688 0 0 1-2.394-2.378l.643-.647c.248.512.566.992.982 1.405.415.413.898.73 1.412.974l-.643.646Zm24-19.28.916-.923-7.267-7.219-.916.921 1.533 1.524-3.135 3.155-3.523-3.5-.916.922 2.003 1.99-13.487 13.574a5.07 5.07 0 0 0-1.484 3.613c0 .272.039.537.08.801l-1.12 1.128a2.988 2.988 0 0 0-.393 3.712l-6.365 6.406.922.916 6.365-6.406a2.977 2.977 0 0 0 3.709-.418l1.122-1.128c.258.04.517.076.783.076h.018a5.069 5.069 0 0 0 3.603-1.506l13.487-13.574 2.002 1.99.916-.922-3.522-3.5 3.136-3.156 1.533 1.523Z","fill-rule":"evenodd"}),a.createElement("path",{d:"m25.27 28.3-5.397-5.363 2.614-2.63 2.684 2.667.86-.865-2.685-2.667 2.433-2.448 2.798 2.78.705-.71-2.798-2.78 4.342-4.37 5.397 5.363L25.27 28.3Zm-2.534 2.55a3.778 3.778 0 0 1-2.687 1.122h-.012a3.78 3.78 0 0 1-2.68-1.105 3.78 3.78 0 0 1-1.123-2.686 3.778 3.778 0 0 1 1.105-2.693l1.618-1.63 5.397 5.364-1.618 1.628Zm-5.527 2.559a1.691 1.691 0 0 1-2.385.008 1.69 1.69 0 0 1-.008-2.387l.642-.647a5.1 5.1 0 0 0 .982 1.406 5.09 5.09 0 0 0 1.412.973l-.643.647ZM35.076 10.67l2.356 2.34-1.814 1.833-2.357-2.342 1.815-1.831Zm3.278 3.257 1.533 1.523.916-.922-1.534-1.524-2.133-2.12-3.6-3.577-.916.922 1.534 1.524-1.815 1.832-3.522-3.5-.916.922 2.003 1.99-13.487 13.574a5.066 5.066 0 0 0-1.483 3.613c0 .272.038.538.08.8l-1.12 1.129a2.99 2.99 0 0 0-.394 3.713l-6.364 6.405.922.916 6.364-6.405a2.983 2.983 0 0 0 3.71-.418l1.121-1.13c.258.04.517.077.784.077h.017a5.07 5.07 0 0 0 3.604-1.506l13.487-13.573 2.002 1.989.916-.922-3.523-3.5 1.814-1.832Z","fill-rule":"evenodd"}))}
|
|
2
2
|
//# sourceMappingURL=Syringe.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{I as
|
|
1
|
+
import{I as a}from"../../Icon-9b4a8a2d.js";export{I as Icon,I as default,r as returnIcon}from"../../Icon-9b4a8a2d.js";export{I as IconSize}from"../../constants-a4b0b501.js";import"../../_tslib-51c8a283.js";import"react";
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { PaletteNames } from '../../theme/palette';
|
|
3
3
|
export declare type LinkListSize = 'small' | 'medium' | 'large';
|
|
4
|
+
export declare type LinkAnchorTargets = '_self' | '_blank' | '_parent';
|
|
4
5
|
export declare type LinkListColors = PaletteNames;
|
|
5
6
|
export declare type LinkType = React.ForwardRefExoticComponent<LinkProps & React.RefAttributes<HTMLLIElement>>;
|
|
6
7
|
export interface CompoundComponent extends React.ForwardRefExoticComponent<LinkListProps & React.RefAttributes<HTMLUListElement>> {
|
|
@@ -32,6 +33,7 @@ export interface LinkProps extends React.HTMLAttributes<HTMLAnchorElement> {
|
|
|
32
33
|
className?: string;
|
|
33
34
|
icon?: React.ReactElement;
|
|
34
35
|
href?: string;
|
|
36
|
+
target?: LinkAnchorTargets;
|
|
35
37
|
/** Sets the data-testid attribute. */
|
|
36
38
|
testId?: string;
|
|
37
39
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LinkList.d.ts","sourceRoot":"","sources":["../../../src/components/LinkList/LinkList.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AAQnD,oBAAY,YAAY,GAAG,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAC;AAExD,oBAAY,cAAc,GAAG,YAAY,CAAC;AAC1C,oBAAY,QAAQ,GAAG,KAAK,CAAC,yBAAyB,CAAC,SAAS,GAAG,KAAK,CAAC,aAAa,CAAC,aAAa,CAAC,CAAC,CAAC;AACvG,MAAM,WAAW,iBAAkB,SAAQ,KAAK,CAAC,yBAAyB,CAAC,aAAa,GAAG,KAAK,CAAC,aAAa,CAAC,gBAAgB,CAAC,CAAC;IAC/H,IAAI,EAAE,QAAQ,CAAC;CAChB;AAED,UAAU,aAAa;IACrB,4BAA4B;IAC5B,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,0CAA0C;IAC1C,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,uDAAuD;IACvD,KAAK,EAAE,cAAc,CAAC;IACtB,sCAAsC;IACtC,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,2DAA2D;IAC3D,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,yDAAyD;IACzD,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,oCAAoC;IACpC,IAAI,CAAC,EAAE,YAAY,CAAC;IACpB,sCAAsC;IACtC,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,SAAU,SAAQ,KAAK,CAAC,cAAc,CAAC,iBAAiB,CAAC;IACxE,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,KAAK,CAAC,EAAE,cAAc,CAAC;IACvB,IAAI,CAAC,EAAE,YAAY,CAAC;IACpB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,IAAI,CAAC,EAAE,KAAK,CAAC,YAAY,CAAC;IAC1B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,sCAAsC;IACtC,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;
|
|
1
|
+
{"version":3,"file":"LinkList.d.ts","sourceRoot":"","sources":["../../../src/components/LinkList/LinkList.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AAQnD,oBAAY,YAAY,GAAG,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAC;AAExD,oBAAY,iBAAiB,GAAG,OAAO,GAAG,QAAQ,GAAG,SAAS,CAAC;AAE/D,oBAAY,cAAc,GAAG,YAAY,CAAC;AAC1C,oBAAY,QAAQ,GAAG,KAAK,CAAC,yBAAyB,CAAC,SAAS,GAAG,KAAK,CAAC,aAAa,CAAC,aAAa,CAAC,CAAC,CAAC;AACvG,MAAM,WAAW,iBAAkB,SAAQ,KAAK,CAAC,yBAAyB,CAAC,aAAa,GAAG,KAAK,CAAC,aAAa,CAAC,gBAAgB,CAAC,CAAC;IAC/H,IAAI,EAAE,QAAQ,CAAC;CAChB;AAED,UAAU,aAAa;IACrB,4BAA4B;IAC5B,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,0CAA0C;IAC1C,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,uDAAuD;IACvD,KAAK,EAAE,cAAc,CAAC;IACtB,sCAAsC;IACtC,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,2DAA2D;IAC3D,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,yDAAyD;IACzD,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,oCAAoC;IACpC,IAAI,CAAC,EAAE,YAAY,CAAC;IACpB,sCAAsC;IACtC,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,SAAU,SAAQ,KAAK,CAAC,cAAc,CAAC,iBAAiB,CAAC;IACxE,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,KAAK,CAAC,EAAE,cAAc,CAAC;IACvB,IAAI,CAAC,EAAE,YAAY,CAAC;IACpB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,IAAI,CAAC,EAAE,KAAK,CAAC,YAAY,CAAC;IAC1B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,iBAAiB,CAAC;IAC3B,sCAAsC;IACtC,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AA8CD,eAAO,MAAM,QAAQ,mBAsBE,CAAC;AAKxB,eAAe,QAAQ,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a as e}from"../../_rollupPluginBabelHelpers-d0752906.js";import{_ as
|
|
1
|
+
import{a as e}from"../../_rollupPluginBabelHelpers-d0752906.js";import{_ as r}from"../../_tslib-51c8a283.js";import t from"react";import{c as l}from"../../index-9b84fabc.js";import{I as a}from"../../Icon-9b4a8a2d.js";import{I as o}from"../../constants-a4b0b501.js";import{u as i,B as s}from"../../useBreakpoint-324a9b14.js";import{u as n}from"../../useHover-037be19d.js";import m from"./styles.module.scss";import"../../useWindowSize-73b47451.js";import"../../grid-11a70eb7.js";var c=function(e){var r=e.isExtraSmall,l=e.isHovered,a=t.createElement("path",{d:"M19.171 32.951l1.409 1.42L31.031 24 20.58 13.63l-1.409 1.42 9.02 8.95z"}),o=t.createElement("path",{d:"M24.479 11.63L36.93 23.999 24.479 36.37l-1.409-1.419L33.083 25H13v-2h20.085L23.07 13.049z"}),i=t.createElement("path",{d:"M17.885 32.577l1.779 1.793 10.451-10.371L19.664 13.63l-1.779 1.793 8.644 8.576z"});return r?l?t.createElement("path",{d:"M25.98 11.103l12.977 12.896L25.98 36.897l-1.78-1.794 9.899-9.841-20.204.001v-2.526l20.204-.001-9.899-9.839z"}):i:l?o:a},d=t.forwardRef((function(d,p){var v,f=d.children,u=d.className,h=void 0===u?"":u,_=d.color,b=void 0===_?"neutral":_,k=d.icon,E=d.size,z=void 0===E?"medium":E,j=d.chevron,L=void 0!==j&&j,g=d.testId,N=d.target,H=r(d,["children","className","color","icon","size","chevron","testId","target"]),I=n(),B=I.hoverRef,S=I.isHovered,M=i(),w="small"!==z&&!(!L&&!k);return t.createElement("li",{ref:p,"data-testid":g},t.createElement("a",Object.assign({className:l(m["link-list__anchor"],m["link-list__anchor--"+b],(v={},e(v,m["link-list__anchor--small"],"small"===z),e(v,m["link-list__anchor--medium"],"medium"===z),e(v,m["link-list__anchor--large"],"large"===z),v),h),ref:B,rel:"_blank"===N?"noopener noreferrer":void 0,target:N},H),w&&k&&t.createElement("span",{className:m["link-list__icon"]},t.cloneElement(k,{size:M===s.Xs?o.XSmall:o.Small,isHovered:S})),t.createElement("span",{className:m["link-list__content"]},f),w&&L&&t.createElement("span",{className:m["link-list__chevron"]},t.createElement(a,{svgIcon:c,isHovered:S,size:o.XSmall}))))})),p=t.forwardRef((function(r,a){var o,i=r.children,s=r.className,n=void 0===s?"":s,c=r.chevron,p=void 0!==c&&c,v=r.size,f=void 0===v?"medium":v,u=r.color,h=r.topBorder,_=void 0===h||h,b=r.bottomBorder,k=void 0===b||b,E=r.testId;return t.createElement("ul",{ref:a,className:l(m["link-list"],(o={},e(o,m["link-list--hastopborder"],_),e(o,m["link-list--nobottomborder"],!k),o),n||""),"data-testid":E},t.Children.map(i,(function(e){if(e.type===d)return t.cloneElement(e,{color:u,size:f,chevron:p})})))}));p.Link=d,d.displayName="LinkList.Link";export default p;
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
@@ -2,6 +2,10 @@ import React from 'react';
|
|
|
2
2
|
import { PaletteNames } from '../../theme/palette';
|
|
3
3
|
export declare type LoaderColors = PaletteNames;
|
|
4
4
|
export declare type LoaderSizes = 'tiny' | 'small' | 'medium' | 'large';
|
|
5
|
+
export declare enum Overlay {
|
|
6
|
+
Screen = "Screen",
|
|
7
|
+
Parent = "Parent"
|
|
8
|
+
}
|
|
5
9
|
interface LoaderProps {
|
|
6
10
|
/** Sets the color of the loader */
|
|
7
11
|
color?: LoaderColors;
|
|
@@ -13,8 +17,10 @@ interface LoaderProps {
|
|
|
13
17
|
testId?: string;
|
|
14
18
|
/** Centers the loader in a container */
|
|
15
19
|
center?: boolean;
|
|
20
|
+
/** Inline the loader so it can be used in a span or paragraph */
|
|
21
|
+
inline?: boolean;
|
|
16
22
|
/** Loader is displayed with grey background covering the entire screen */
|
|
17
|
-
overlay?:
|
|
23
|
+
overlay?: keyof typeof Overlay;
|
|
18
24
|
/** Individual id for loading icon (aria-labelledby). */
|
|
19
25
|
ariaLabelledById?: string;
|
|
20
26
|
/** String that labels the current loading element */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Loader.d.ts","sourceRoot":"","sources":["../../../src/components/Loader/Loader.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"Loader.d.ts","sourceRoot":"","sources":["../../../src/components/Loader/Loader.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAsC,MAAM,OAAO,CAAC;AAI3D,OAAO,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AAGnD,oBAAY,YAAY,GAAG,YAAY,CAAC;AACxC,oBAAY,WAAW,GAAG,MAAM,GAAG,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAC;AAChE,oBAAY,OAAO;IACjB,MAAM,WAAW;IACjB,MAAM,WAAW;CAClB;AAED,UAAU,WAAW;IACnB,mCAAmC;IACnC,KAAK,CAAC,EAAE,YAAY,CAAC;IACrB,0CAA0C;IAC1C,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,sCAAsC;IACtC,IAAI,CAAC,EAAE,WAAW,CAAC;IACnB,sCAAsC;IACtC,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,wCAAwC;IACxC,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,iEAAiE;IACjE,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,0EAA0E;IAC1E,OAAO,CAAC,EAAE,MAAM,OAAO,OAAO,CAAC;IAC/B,0DAA0D;IAC1D,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,uDAAuD;IACvD,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,QAAA,MAAM,MAAM,iFAyFV,CAAC;AAEH,eAAe,MAAM,CAAC"}
|
|
@@ -143,6 +143,25 @@
|
|
|
143
143
|
"name": "boolean"
|
|
144
144
|
}
|
|
145
145
|
},
|
|
146
|
+
"inline": {
|
|
147
|
+
"defaultValue": null,
|
|
148
|
+
"description": "Inline the loader so it can be used in a span or paragraph",
|
|
149
|
+
"name": "inline",
|
|
150
|
+
"parent": {
|
|
151
|
+
"fileName": "src/components/Loader/Loader.tsx",
|
|
152
|
+
"name": "LoaderProps"
|
|
153
|
+
},
|
|
154
|
+
"declarations": [
|
|
155
|
+
{
|
|
156
|
+
"fileName": "src/components/Loader/Loader.tsx",
|
|
157
|
+
"name": "LoaderProps"
|
|
158
|
+
}
|
|
159
|
+
],
|
|
160
|
+
"required": false,
|
|
161
|
+
"type": {
|
|
162
|
+
"name": "boolean"
|
|
163
|
+
}
|
|
164
|
+
},
|
|
146
165
|
"overlay": {
|
|
147
166
|
"defaultValue": null,
|
|
148
167
|
"description": "Loader is displayed with grey background covering the entire screen",
|
|
@@ -159,7 +178,19 @@
|
|
|
159
178
|
],
|
|
160
179
|
"required": false,
|
|
161
180
|
"type": {
|
|
162
|
-
"name": "
|
|
181
|
+
"name": "enum",
|
|
182
|
+
"raw": "\"Screen\" | \"Parent\" | undefined",
|
|
183
|
+
"value": [
|
|
184
|
+
{
|
|
185
|
+
"value": "undefined"
|
|
186
|
+
},
|
|
187
|
+
{
|
|
188
|
+
"value": "\"Screen\""
|
|
189
|
+
},
|
|
190
|
+
{
|
|
191
|
+
"value": "\"Parent\""
|
|
192
|
+
}
|
|
193
|
+
]
|
|
163
194
|
}
|
|
164
195
|
},
|
|
165
196
|
"ariaLabelledById": {
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{L as r}from"../../Loader-
|
|
1
|
+
import{L as r}from"../../Loader-3589bdb1.js";export{L as default}from"../../Loader-3589bdb1.js";import"../../_rollupPluginBabelHelpers-d0752906.js";import"react";import"../../index-9b84fabc.js";import"../../uuid-8870ab4b.js";import"./styles.module.scss";
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
@@ -41,7 +41,18 @@
|
|
|
41
41
|
text-align: center;
|
|
42
42
|
}
|
|
43
43
|
|
|
44
|
-
&--
|
|
44
|
+
&--inline {
|
|
45
|
+
align-self: center;
|
|
46
|
+
padding-left: .5rem;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
&--overlay{
|
|
50
|
+
display: flex;
|
|
51
|
+
align-items: center;
|
|
52
|
+
justify-content: center;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
&--overlay-screen {
|
|
45
56
|
z-index: 9999;
|
|
46
57
|
background: $transparentGrey;
|
|
47
58
|
position: fixed;
|
|
@@ -49,9 +60,13 @@
|
|
|
49
60
|
left: 0;
|
|
50
61
|
right: 0;
|
|
51
62
|
bottom: 0;
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
63
|
+
}
|
|
64
|
+
&--overlay-parent {
|
|
65
|
+
position: absolute;
|
|
66
|
+
top: 0;
|
|
67
|
+
background: $transparentGrey;
|
|
68
|
+
height: 100%;
|
|
69
|
+
width: 100%;
|
|
55
70
|
}
|
|
56
71
|
}
|
|
57
72
|
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
+
import { ZIndex } from '../../constants';
|
|
2
3
|
export declare enum ModalVariants {
|
|
3
4
|
normal = "normal",
|
|
4
5
|
warning = "warning",
|
|
5
6
|
error = "error",
|
|
7
|
+
success = "success",
|
|
6
8
|
image = "image"
|
|
7
9
|
}
|
|
8
10
|
export declare enum ModalSize {
|
|
@@ -20,6 +22,8 @@ export interface ModalProps {
|
|
|
20
22
|
variant?: keyof typeof ModalVariants;
|
|
21
23
|
/** Change width of the modal (default: large) */
|
|
22
24
|
size?: keyof typeof ModalSize;
|
|
25
|
+
/** Icon displayed in title */
|
|
26
|
+
icon?: React.ReactElement;
|
|
23
27
|
/** Hides the close button */
|
|
24
28
|
noCloseButton?: boolean;
|
|
25
29
|
/** Sets the data-testid attribute. */
|
|
@@ -36,8 +40,12 @@ export interface ModalProps {
|
|
|
36
40
|
ariaLabelCloseBtn?: string;
|
|
37
41
|
/** Alternative component to modal */
|
|
38
42
|
children?: React.ReactNode;
|
|
43
|
+
/** Component shown after title */
|
|
44
|
+
afterTitleChildren?: React.ReactNode;
|
|
39
45
|
/** Adds custom classes to the element. */
|
|
40
46
|
className?: string;
|
|
47
|
+
/** Customize the z-index of the modal */
|
|
48
|
+
zIndex?: number;
|
|
41
49
|
/** Function is called when user clicks primary button */
|
|
42
50
|
onSuccess?: () => void;
|
|
43
51
|
/** Function is called when user clicks secondary button */
|
|
@@ -51,6 +59,7 @@ declare const Modal: {
|
|
|
51
59
|
large: boolean;
|
|
52
60
|
className: string;
|
|
53
61
|
size: ModalSize;
|
|
62
|
+
zIndex: ZIndex;
|
|
54
63
|
};
|
|
55
64
|
};
|
|
56
65
|
export default Modal;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Modal.d.ts","sourceRoot":"","sources":["../../../src/components/Modal/Modal.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAoB,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"Modal.d.ts","sourceRoot":"","sources":["../../../src/components/Modal/Modal.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAoB,MAAM,OAAO,CAAC;AAgBzC,OAAO,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAC;AAEzC,oBAAY,aAAa;IACvB,MAAM,WAAW;IACjB,OAAO,YAAY;IACnB,KAAK,UAAU;IACf,OAAO,YAAY;IACnB,KAAK,UAAU;CAChB;AAED,oBAAY,SAAS;IACnB,KAAK,UAAU;IACf,MAAM,WAAW;CAClB;AAED,MAAM,WAAW,UAAU;IACzB,yBAAyB;IACzB,KAAK,EAAE,MAAM,CAAC;IACd,yBAAyB;IACzB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,+BAA+B;IAC/B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,+GAA+G;IAC/G,OAAO,CAAC,EAAE,MAAM,OAAO,aAAa,CAAC;IACrC,iDAAiD;IACjD,IAAI,CAAC,EAAE,MAAM,OAAO,SAAS,CAAC;IAC9B,8BAA8B;IAC9B,IAAI,CAAC,EAAE,KAAK,CAAC,YAAY,CAAC;IAC1B,6BAA6B;IAC7B,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,sCAAsC;IACtC,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,yBAAyB;IACzB,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,2BAA2B;IAC3B,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,uCAAuC;IACvC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,4CAA4C;IAC5C,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,8BAA8B;IAC9B,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,qCAAqC;IACrC,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,kCAAkC;IAClC,kBAAkB,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACrC,0CAA0C;IAC1C,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,yCAAyC;IACzC,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,yDAAyD;IACzD,SAAS,CAAC,EAAE,MAAM,IAAI,CAAC;IACvB,2DAA2D;IAC3D,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;CACtB;AAuCD,QAAA,MAAM,KAAK;;;;;;;;;;CA4IV,CAAC;AAIF,eAAe,KAAK,CAAC"}
|
|
@@ -76,7 +76,7 @@
|
|
|
76
76
|
"required": false,
|
|
77
77
|
"type": {
|
|
78
78
|
"name": "enum",
|
|
79
|
-
"raw": "\"normal\" | \"warning\" | \"error\" | \"image\" | undefined",
|
|
79
|
+
"raw": "\"normal\" | \"warning\" | \"error\" | \"success\" | \"image\" | undefined",
|
|
80
80
|
"value": [
|
|
81
81
|
{
|
|
82
82
|
"value": "undefined"
|
|
@@ -90,6 +90,9 @@
|
|
|
90
90
|
{
|
|
91
91
|
"value": "\"error\""
|
|
92
92
|
},
|
|
93
|
+
{
|
|
94
|
+
"value": "\"success\""
|
|
95
|
+
},
|
|
93
96
|
{
|
|
94
97
|
"value": "\"image\""
|
|
95
98
|
}
|
|
@@ -129,6 +132,25 @@
|
|
|
129
132
|
]
|
|
130
133
|
}
|
|
131
134
|
},
|
|
135
|
+
"icon": {
|
|
136
|
+
"defaultValue": null,
|
|
137
|
+
"description": "Icon displayed in title",
|
|
138
|
+
"name": "icon",
|
|
139
|
+
"parent": {
|
|
140
|
+
"fileName": "src/components/Modal/Modal.tsx",
|
|
141
|
+
"name": "ModalProps"
|
|
142
|
+
},
|
|
143
|
+
"declarations": [
|
|
144
|
+
{
|
|
145
|
+
"fileName": "src/components/Modal/Modal.tsx",
|
|
146
|
+
"name": "ModalProps"
|
|
147
|
+
}
|
|
148
|
+
],
|
|
149
|
+
"required": false,
|
|
150
|
+
"type": {
|
|
151
|
+
"name": "ReactElement<any, string | ((props: any) => ReactElement<any, any> | null) | (new (props: any) => Component<any, any, any>)>"
|
|
152
|
+
}
|
|
153
|
+
},
|
|
132
154
|
"noCloseButton": {
|
|
133
155
|
"defaultValue": null,
|
|
134
156
|
"description": "Hides the close button",
|
|
@@ -283,6 +305,25 @@
|
|
|
283
305
|
"name": "ReactNode"
|
|
284
306
|
}
|
|
285
307
|
},
|
|
308
|
+
"afterTitleChildren": {
|
|
309
|
+
"defaultValue": null,
|
|
310
|
+
"description": "Component shown after title",
|
|
311
|
+
"name": "afterTitleChildren",
|
|
312
|
+
"parent": {
|
|
313
|
+
"fileName": "src/components/Modal/Modal.tsx",
|
|
314
|
+
"name": "ModalProps"
|
|
315
|
+
},
|
|
316
|
+
"declarations": [
|
|
317
|
+
{
|
|
318
|
+
"fileName": "src/components/Modal/Modal.tsx",
|
|
319
|
+
"name": "ModalProps"
|
|
320
|
+
}
|
|
321
|
+
],
|
|
322
|
+
"required": false,
|
|
323
|
+
"type": {
|
|
324
|
+
"name": "ReactNode"
|
|
325
|
+
}
|
|
326
|
+
},
|
|
286
327
|
"className": {
|
|
287
328
|
"defaultValue": {
|
|
288
329
|
"value": ""
|
|
@@ -304,6 +345,27 @@
|
|
|
304
345
|
"name": "string"
|
|
305
346
|
}
|
|
306
347
|
},
|
|
348
|
+
"zIndex": {
|
|
349
|
+
"defaultValue": {
|
|
350
|
+
"value": "ZIndex.Modal"
|
|
351
|
+
},
|
|
352
|
+
"description": "Customize the z-index of the modal",
|
|
353
|
+
"name": "zIndex",
|
|
354
|
+
"parent": {
|
|
355
|
+
"fileName": "src/components/Modal/Modal.tsx",
|
|
356
|
+
"name": "ModalProps"
|
|
357
|
+
},
|
|
358
|
+
"declarations": [
|
|
359
|
+
{
|
|
360
|
+
"fileName": "src/components/Modal/Modal.tsx",
|
|
361
|
+
"name": "ModalProps"
|
|
362
|
+
}
|
|
363
|
+
],
|
|
364
|
+
"required": false,
|
|
365
|
+
"type": {
|
|
366
|
+
"name": "number"
|
|
367
|
+
}
|
|
368
|
+
},
|
|
307
369
|
"onSuccess": {
|
|
308
370
|
"defaultValue": null,
|
|
309
371
|
"description": "Function is called when user clicks primary button",
|