@helsenorge/designsystem-react 10.5.0 → 11.0.0-beta.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 +818 -1408
- package/{Trigger.js → HelpTrigger.js} +15 -25
- package/HelpTrigger.js.map +1 -0
- package/LazyIcon.js +1 -1
- package/LazyIcon.js.map +1 -1
- package/StatusDot.js +57 -28
- package/StatusDot.js.map +1 -1
- package/components/AnchorLink/styles.module.scss +0 -1
- package/components/Button/styles.module.scss +13 -13
- package/components/Checkbox/styles.module.scss +2 -2
- package/components/Chip/styles.module.scss +0 -1
- package/components/Close/styles.module.scss +2 -2
- package/components/Drawer/index.js +1 -3
- package/components/Drawer/index.js.map +1 -1
- package/components/Drawer/styles.module.scss +12 -12
- package/components/Dropdown/Dropdown.d.ts +0 -2
- package/components/Dropdown/index.js +7 -24
- package/components/Dropdown/index.js.map +1 -1
- package/components/Dropdown/styles.module.scss +5 -5
- package/components/Duolist/styles.module.scss +2 -2
- package/components/EmptyState/EmptyBoxBeeCompact.d.ts +4 -0
- package/components/EmptyState/index.js +23 -3
- package/components/EmptyState/index.js.map +1 -1
- package/components/EmptyState/styles.module.scss +5 -5
- package/components/ErrorWrapper/styles.module.scss +2 -2
- package/components/Expander/styles.module.scss +8 -8
- package/components/ExpanderHierarchy/expander.module.scss +7 -7
- package/components/ExpanderList/styles.module.scss +3 -3
- package/components/FormGroup/styles.module.scss +1 -1
- package/components/HelpBubble/styles.module.scss +2 -2
- package/components/HelpQuestion/index.js +2 -2
- package/components/HelpQuestion/index.js.map +1 -1
- package/components/HelpQuestion/styles.module.scss +2 -2
- package/components/HelpTrigger/HelpTrigger.d.ts +44 -0
- package/components/HelpTrigger/index.d.ts +3 -0
- package/components/HelpTrigger/index.js +5 -0
- package/components/{Trigger → HelpTrigger}/styles.module.scss +20 -27
- package/components/HelpTrigger/styles.module.scss.d.ts +15 -0
- package/components/HighlightPanel/styles.module.scss +2 -2
- package/components/HorizontalScroll/styles.module.scss +1 -1
- package/components/Icons/AdditionalIconInformation.d.ts +4 -48
- package/components/Icons/AdditionalIconInformation.js +4 -15
- package/components/Icons/AdditionalIconInformation.js.map +1 -1
- package/components/Icons/Attachment.js +16 -2
- package/components/Icons/Attachment.js.map +1 -1
- package/components/Icons/Change.js +10 -9
- package/components/Icons/Change.js.map +1 -1
- package/components/Icons/{EmptyBox.d.ts → DotAlert.d.ts} +2 -2
- package/components/Icons/DotAlert.js +30 -0
- package/components/Icons/DotAlert.js.map +1 -0
- package/components/Icons/DotCancelled.d.ts +4 -0
- package/components/Icons/DotCancelled.js +30 -0
- package/components/Icons/DotCancelled.js.map +1 -0
- package/components/Icons/DotHalfDisc.d.ts +4 -0
- package/components/Icons/DotHalfDisc.js +30 -0
- package/components/Icons/DotHalfDisc.js.map +1 -0
- package/components/Icons/{StickyNote.d.ts → DotInfo.d.ts} +2 -2
- package/components/Icons/DotInfo.js +38 -0
- package/components/Icons/DotInfo.js.map +1 -0
- package/components/Icons/DotLookingGlass.d.ts +4 -0
- package/components/Icons/DotLookingGlass.js +30 -0
- package/components/Icons/DotLookingGlass.js.map +1 -0
- package/components/Icons/DotQuestionMark.d.ts +4 -0
- package/components/Icons/DotQuestionMark.js +30 -0
- package/components/Icons/DotQuestionMark.js.map +1 -0
- package/components/Icons/{StickyNotes.d.ts → DotSuccess.d.ts} +2 -2
- package/components/Icons/DotSuccess.js +30 -0
- package/components/Icons/DotSuccess.js.map +1 -0
- package/components/Icons/DotTransparent.d.ts +4 -0
- package/components/Icons/DotTransparent.js +30 -0
- package/components/Icons/DotTransparent.js.map +1 -0
- package/components/Icons/DotWarningTriangle.d.ts +4 -0
- package/components/Icons/DotWarningTriangle.js +30 -0
- package/components/Icons/DotWarningTriangle.js.map +1 -0
- package/components/Icons/Group.js +11 -3
- package/components/Icons/Group.js.map +1 -1
- package/components/Icons/IconNames.d.ts +1 -1
- package/components/Icons/IconNames.js +9 -6
- package/components/Icons/IconNames.js.map +1 -1
- package/components/Icons/Login.js +9 -1
- package/components/Icons/Login.js.map +1 -1
- package/components/Icons/NoAccess.js +17 -6
- package/components/Icons/NoAccess.js.map +1 -1
- package/components/Icons/NoEye.js +2 -16
- package/components/Icons/NoEye.js.map +1 -1
- package/components/Icons/Pencil.js +17 -1
- package/components/Icons/Pencil.js.map +1 -1
- package/components/Input/styles.module.scss +3 -3
- package/components/Label/styles.module.scss +2 -2
- package/components/LinkList/styles.module.scss +3 -3
- package/components/ListHeader/styles.module.scss +1 -1
- package/components/MaxCharacters/styles.module.scss +2 -2
- package/components/Modal/styles.module.scss +16 -16
- package/components/NotificationPanel/styles.module.scss +8 -8
- package/components/Panel/styles.module.scss +16 -16
- package/components/PanelList/styles.module.scss +2 -2
- package/components/PopMenu/styles.module.scss +6 -4
- package/components/PopOver/styles.module.scss +2 -2
- package/components/PromoPanel/styles.module.scss +9 -9
- package/components/RadioButton/styles.module.scss +2 -2
- package/components/Select/styles.module.scss +3 -3
- package/components/ServiceMessage/styles.module.scss +1 -1
- package/components/SharingStatus/styles.module.scss +1 -1
- package/components/Slider/styles.module.scss +2 -2
- package/components/StatusDot/StatusDot.d.ts +11 -5
- package/components/StatusDot/styles.module.scss +40 -31
- package/components/StatusDot/styles.module.scss.d.ts +12 -3
- package/components/StepButtons/styles.module.scss +3 -3
- package/components/Stepper/styles.module.scss +2 -2
- package/components/StickyNote/styles.module.scss +1 -1
- package/components/Table/styles.module.scss +1 -1
- package/components/Tabs/TabList/styles.module.scss +2 -2
- package/components/Tabs/TabPanel/styles.module.scss +3 -3
- package/components/Tabs/styles.module.scss +3 -3
- package/components/Tag/styles.module.scss +1 -1
- package/components/TagList/styles.module.scss +1 -1
- package/components/Textarea/styles.module.scss +1 -1
- package/components/Tile/styles.module.scss +7 -7
- package/components/Toggle/styles.module.scss +5 -5
- package/components/Validation/styles.module.scss +2 -2
- package/constants.d.ts +0 -6
- package/constants.js +0 -8
- package/constants.js.map +1 -1
- package/hooks/useRovingFocus.d.ts +1 -9
- package/index.js +1 -2
- package/package.json +1 -1
- package/scss/_font-mixins.scss +21 -21
- package/scss/_input.scss +2 -2
- package/scss/_print.scss +3 -3
- package/scss/_reset.scss +1 -1
- package/scss/helsenorge.scss +7 -7
- package/scss/typography.module.scss +4 -4
- package/Trigger.js.map +0 -1
- package/components/Icons/EmptyBox.js +0 -24
- package/components/Icons/EmptyBox.js.map +0 -1
- package/components/Icons/HealthMeasurements.d.ts +0 -4
- package/components/Icons/HealthMeasurements.js +0 -24
- package/components/Icons/HealthMeasurements.js.map +0 -1
- package/components/Icons/SharedHealthData.d.ts +0 -4
- package/components/Icons/SharedHealthData.js +0 -24
- package/components/Icons/SharedHealthData.js.map +0 -1
- package/components/Icons/SharedHealthMeasurements.d.ts +0 -4
- package/components/Icons/SharedHealthMeasurements.js +0 -24
- package/components/Icons/SharedHealthMeasurements.js.map +0 -1
- package/components/Icons/StickyNote.js +0 -24
- package/components/Icons/StickyNote.js.map +0 -1
- package/components/Icons/StickyNotes.js +0 -24
- package/components/Icons/StickyNotes.js.map +0 -1
- package/components/Trigger/InfoSignStroke.d.ts +0 -4
- package/components/Trigger/Trigger.d.ts +0 -49
- package/components/Trigger/index.d.ts +0 -3
- package/components/Trigger/index.js +0 -5
- package/components/Trigger/styles.module.scss.d.ts +0 -16
- package/utils/language.d.ts +0 -17
- package/utils/language.js +0 -25
- package/utils/language.js.map +0 -1
- package/utils/tests/language.test.d.ts +0 -1
- /package/components/{Trigger → HelpTrigger}/HelpSign.d.ts +0 -0
- /package/components/{Trigger/Trigger.test.d.ts → HelpTrigger/HelpTrigger.test.d.ts} +0 -0
- /package/components/{Trigger → HelpTrigger}/index.js.map +0 -0
|
@@ -1,9 +1 @@
|
|
|
1
|
-
export declare const useRovingFocus: (
|
|
2
|
-
/** Function to run when new index is set */
|
|
3
|
-
handleNewIndex: (index: number) => void,
|
|
4
|
-
/** List of elements that should have rocing focus */
|
|
5
|
-
inputRefList: React.MutableRefObject<React.RefObject<HTMLElement>[] | null | undefined>,
|
|
6
|
-
/** Ref of container that should have the keyboard event handler */
|
|
7
|
-
containerRef: React.RefObject<HTMLElement>,
|
|
8
|
-
/** Indicated wether right/left or up/down arrows should be used for navigation. Default is up/down. */
|
|
9
|
-
leftRightNavigation?: boolean) => void;
|
|
1
|
+
export declare const useRovingFocus: (handleNewIndex: (index: number) => void, inputRefList: React.MutableRefObject<React.RefObject<HTMLElement>[] | null | undefined>, containerRef: React.RefObject<HTMLElement>, leftRightNavigation?: boolean) => void;
|
package/index.js
CHANGED
|
@@ -15,7 +15,7 @@ import { useOutsideEvent } from "./hooks/useOutsideEvent.js";
|
|
|
15
15
|
import { useUuid } from "./hooks/useUuid.js";
|
|
16
16
|
import { isMobileUA } from "./utils/mobile.js";
|
|
17
17
|
import { u } from "./uuid.js";
|
|
18
|
-
import { AVERAGE_CHARACTER_WIDTH_PX, AnalyticsId, FormOnColor, FormSize, IconSize, KeyboardEventKey,
|
|
18
|
+
import { AVERAGE_CHARACTER_WIDTH_PX, AnalyticsId, FormOnColor, FormSize, IconSize, KeyboardEventKey, ZIndex } from "./constants.js";
|
|
19
19
|
export {
|
|
20
20
|
AVERAGE_CHARACTER_WIDTH_PX,
|
|
21
21
|
AnalyticsId,
|
|
@@ -24,7 +24,6 @@ export {
|
|
|
24
24
|
FormSize,
|
|
25
25
|
IconSize,
|
|
26
26
|
KeyboardEventKey,
|
|
27
|
-
LanguageLocales,
|
|
28
27
|
ZIndex,
|
|
29
28
|
isMobileUA,
|
|
30
29
|
theme,
|
package/package.json
CHANGED
package/scss/_font-mixins.scss
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
@use 'sass:map';
|
|
2
2
|
@use './spacers' as spacers;
|
|
3
|
-
@use './breakpoints' as
|
|
3
|
+
@use './breakpoints' as breakpoints;
|
|
4
4
|
|
|
5
5
|
@mixin title-feature {
|
|
6
6
|
font-size: 2.375rem;
|
|
7
7
|
line-height: 2.875rem;
|
|
8
8
|
font-weight: 600;
|
|
9
9
|
|
|
10
|
-
@media (min-width: map.get(
|
|
10
|
+
@media (min-width: map.get(breakpoints.$grid-breakpoints, md)) {
|
|
11
11
|
font-size: 4rem;
|
|
12
12
|
line-height: 5rem;
|
|
13
13
|
}
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
line-height: 2.375rem;
|
|
19
19
|
font-weight: 600;
|
|
20
20
|
|
|
21
|
-
@media (min-width: map.get(
|
|
21
|
+
@media (min-width: map.get(breakpoints.$grid-breakpoints, md)) {
|
|
22
22
|
font-size: 3rem;
|
|
23
23
|
line-height: 3.625rem;
|
|
24
24
|
}
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
line-height: 1.938rem;
|
|
30
30
|
font-weight: 600;
|
|
31
31
|
|
|
32
|
-
@media (min-width: map.get(
|
|
32
|
+
@media (min-width: map.get(breakpoints.$grid-breakpoints, md)) {
|
|
33
33
|
font-size: 2rem;
|
|
34
34
|
line-height: 2.375rem;
|
|
35
35
|
}
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
line-height: 1.813rem;
|
|
41
41
|
font-weight: 600;
|
|
42
42
|
|
|
43
|
-
@media (min-width: map.get(
|
|
43
|
+
@media (min-width: map.get(breakpoints.$grid-breakpoints, md)) {
|
|
44
44
|
font-size: 1.625rem;
|
|
45
45
|
line-height: 2rem;
|
|
46
46
|
}
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
line-height: 1.625rem;
|
|
52
52
|
font-weight: 600;
|
|
53
53
|
|
|
54
|
-
@media (min-width: map.get(
|
|
54
|
+
@media (min-width: map.get(breakpoints.$grid-breakpoints, md)) {
|
|
55
55
|
font-size: 1.375rem;
|
|
56
56
|
line-height: 1.813rem;
|
|
57
57
|
}
|
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
font-weight: 600;
|
|
65
65
|
text-transform: uppercase;
|
|
66
66
|
|
|
67
|
-
@media (min-width: map.get(
|
|
67
|
+
@media (min-width: map.get(breakpoints.$grid-breakpoints, md)) {
|
|
68
68
|
font-size: 1.125rem;
|
|
69
69
|
line-height: 1.563rem;
|
|
70
70
|
}
|
|
@@ -75,7 +75,7 @@
|
|
|
75
75
|
line-height: 1.375rem;
|
|
76
76
|
font-weight: 600;
|
|
77
77
|
|
|
78
|
-
@media (min-width: map.get(
|
|
78
|
+
@media (min-width: map.get(breakpoints.$grid-breakpoints, md)) {
|
|
79
79
|
font-size: 1.125rem;
|
|
80
80
|
line-height: 1.563rem;
|
|
81
81
|
}
|
|
@@ -85,7 +85,7 @@
|
|
|
85
85
|
font-size: 1.125rem;
|
|
86
86
|
line-height: 1.688rem;
|
|
87
87
|
|
|
88
|
-
@media (min-width: map.get(
|
|
88
|
+
@media (min-width: map.get(breakpoints.$grid-breakpoints, md)) {
|
|
89
89
|
font-size: 1.25rem;
|
|
90
90
|
line-height: 1.875rem;
|
|
91
91
|
}
|
|
@@ -96,7 +96,7 @@
|
|
|
96
96
|
line-height: 1.625rem;
|
|
97
97
|
font-weight: 400;
|
|
98
98
|
|
|
99
|
-
@media (min-width: map.get(
|
|
99
|
+
@media (min-width: map.get(breakpoints.$grid-breakpoints, md)) {
|
|
100
100
|
font-size: 1.5rem;
|
|
101
101
|
line-height: 1.938rem;
|
|
102
102
|
}
|
|
@@ -107,7 +107,7 @@
|
|
|
107
107
|
line-height: 1.438rem;
|
|
108
108
|
font-weight: 600;
|
|
109
109
|
|
|
110
|
-
@media (min-width: map.get(
|
|
110
|
+
@media (min-width: map.get(breakpoints.$grid-breakpoints, md)) {
|
|
111
111
|
font-size: 1.5rem;
|
|
112
112
|
line-height: 1.938rem;
|
|
113
113
|
}
|
|
@@ -118,7 +118,7 @@
|
|
|
118
118
|
line-height: 1.375rem;
|
|
119
119
|
font-weight: 600;
|
|
120
120
|
|
|
121
|
-
@media (min-width: map.get(
|
|
121
|
+
@media (min-width: map.get(breakpoints.$grid-breakpoints, md)) {
|
|
122
122
|
font-size: 1.25rem;
|
|
123
123
|
line-height: 1.625rem;
|
|
124
124
|
}
|
|
@@ -129,7 +129,7 @@
|
|
|
129
129
|
line-height: 1.375rem;
|
|
130
130
|
font-weight: 400;
|
|
131
131
|
|
|
132
|
-
@media (min-width: map.get(
|
|
132
|
+
@media (min-width: map.get(breakpoints.$grid-breakpoints, md)) {
|
|
133
133
|
font-size: 1.25rem;
|
|
134
134
|
line-height: 1.625rem;
|
|
135
135
|
}
|
|
@@ -140,7 +140,7 @@
|
|
|
140
140
|
line-height: 1.2rem;
|
|
141
141
|
font-weight: 600;
|
|
142
142
|
|
|
143
|
-
@media (min-width: map.get(
|
|
143
|
+
@media (min-width: map.get(breakpoints.$grid-breakpoints, md)) {
|
|
144
144
|
font-size: 1.125rem;
|
|
145
145
|
line-height: 1.463rem;
|
|
146
146
|
}
|
|
@@ -151,7 +151,7 @@
|
|
|
151
151
|
line-height: 1.2rem;
|
|
152
152
|
font-weight: 400;
|
|
153
153
|
|
|
154
|
-
@media (min-width: map.get(
|
|
154
|
+
@media (min-width: map.get(breakpoints.$grid-breakpoints, md)) {
|
|
155
155
|
font-size: 1.125rem;
|
|
156
156
|
line-height: 1.463rem;
|
|
157
157
|
}
|
|
@@ -161,7 +161,7 @@
|
|
|
161
161
|
font-size: 1rem;
|
|
162
162
|
line-height: 1.5rem;
|
|
163
163
|
|
|
164
|
-
@media (min-width: map.get(
|
|
164
|
+
@media (min-width: map.get(breakpoints.$grid-breakpoints, md)) {
|
|
165
165
|
font-size: 1.125rem;
|
|
166
166
|
line-height: 1.4375rem;
|
|
167
167
|
}
|
|
@@ -191,7 +191,7 @@
|
|
|
191
191
|
font-size: 1.125rem;
|
|
192
192
|
line-height: 1.688rem;
|
|
193
193
|
|
|
194
|
-
@media (min-width: map.get(
|
|
194
|
+
@media (min-width: map.get(breakpoints.$grid-breakpoints, md)) {
|
|
195
195
|
line-height: 1.4375rem;
|
|
196
196
|
}
|
|
197
197
|
}
|
|
@@ -200,7 +200,7 @@
|
|
|
200
200
|
font-size: 1.125rem;
|
|
201
201
|
line-height: 1.563rem;
|
|
202
202
|
|
|
203
|
-
@media (min-width: map.get(
|
|
203
|
+
@media (min-width: map.get(breakpoints.$grid-breakpoints, md)) {
|
|
204
204
|
font-size: 1.25rem;
|
|
205
205
|
line-height: 1.75rem;
|
|
206
206
|
}
|
|
@@ -211,7 +211,7 @@
|
|
|
211
211
|
line-height: 1.375rem;
|
|
212
212
|
font-weight: 400;
|
|
213
213
|
|
|
214
|
-
@media (min-width: map.get(
|
|
214
|
+
@media (min-width: map.get(breakpoints.$grid-breakpoints, md)) {
|
|
215
215
|
font-size: 1.25rem;
|
|
216
216
|
line-height: 1.625rem;
|
|
217
217
|
}
|
|
@@ -222,7 +222,7 @@
|
|
|
222
222
|
line-height: 1.375rem;
|
|
223
223
|
font-weight: 600;
|
|
224
224
|
|
|
225
|
-
@media (min-width: map.get(
|
|
225
|
+
@media (min-width: map.get(breakpoints.$grid-breakpoints, md)) {
|
|
226
226
|
font-size: 1.25rem;
|
|
227
227
|
line-height: 1.625rem;
|
|
228
228
|
}
|
|
@@ -233,7 +233,7 @@
|
|
|
233
233
|
line-height: 1.375rem;
|
|
234
234
|
font-weight: 400;
|
|
235
235
|
|
|
236
|
-
@media (min-width: map.get(
|
|
236
|
+
@media (min-width: map.get(breakpoints.$grid-breakpoints, md)) {
|
|
237
237
|
font-size: 1.25rem;
|
|
238
238
|
line-height: 1.625rem;
|
|
239
239
|
}
|
package/scss/_input.scss
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
@use './palette' as palette;
|
|
3
3
|
@use './spacers' as spacers;
|
|
4
4
|
@use './font-settings' as font-settings;
|
|
5
|
-
@use './breakpoints' as
|
|
5
|
+
@use './breakpoints' as breakpoints;
|
|
6
6
|
|
|
7
7
|
@mixin input-wrapper {
|
|
8
8
|
width: 100%;
|
|
@@ -145,7 +145,7 @@
|
|
|
145
145
|
background-color: transparent;
|
|
146
146
|
width: 100%;
|
|
147
147
|
|
|
148
|
-
@media (min-width: map.get(
|
|
148
|
+
@media (min-width: map.get(breakpoints.$grid-breakpoints, md)) {
|
|
149
149
|
font-size: font-settings.$font-size-md;
|
|
150
150
|
}
|
|
151
151
|
|
package/scss/_print.scss
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
@use 'sass:map';
|
|
2
2
|
@use 'palette' as palette;
|
|
3
|
-
@
|
|
3
|
+
@use 'breakpoints' as breakpoints;
|
|
4
4
|
|
|
5
5
|
@media print {
|
|
6
6
|
*,
|
|
@@ -15,11 +15,11 @@
|
|
|
15
15
|
}
|
|
16
16
|
|
|
17
17
|
body {
|
|
18
|
-
min-width: map.get(
|
|
18
|
+
min-width: map.get(breakpoints.$grid-breakpoints, lg) !important;
|
|
19
19
|
}
|
|
20
20
|
|
|
21
21
|
.container {
|
|
22
|
-
min-width: map.get(
|
|
22
|
+
min-width: map.get(breakpoints.$grid-breakpoints, lg) !important;
|
|
23
23
|
}
|
|
24
24
|
|
|
25
25
|
abbr[title]::after {
|
package/scss/_reset.scss
CHANGED
package/scss/helsenorge.scss
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
@
|
|
2
|
-
@
|
|
3
|
-
@
|
|
1
|
+
@use 'reset' as *;
|
|
2
|
+
@use 'spacers' as *;
|
|
3
|
+
@use 'breakpoints' as *;
|
|
4
|
+
@use 'palette' as *;
|
|
5
|
+
@use 'fonts' as *;
|
|
6
|
+
@use 'body' as *;
|
|
7
|
+
@use 'print' as *;
|
|
4
8
|
@import 'bootstrap/scss/bootstrap-grid';
|
|
5
|
-
@import 'palette';
|
|
6
|
-
@import 'fonts';
|
|
7
|
-
@import 'body';
|
|
8
|
-
@import 'print';
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
@use './palette' as palette;
|
|
4
4
|
@use './font-mixins' as fonts;
|
|
5
5
|
@use './font-settings' as font-settings;
|
|
6
|
-
@use './breakpoints' as
|
|
7
|
-
@
|
|
6
|
+
@use './breakpoints' as breakpoints;
|
|
7
|
+
@use './fonts' as *;
|
|
8
8
|
|
|
9
9
|
/*
|
|
10
10
|
Denne filen er ment til å importeres som en css module:
|
|
@@ -85,7 +85,7 @@ import designsystemtypography from './scss/typography.scss'
|
|
|
85
85
|
font-size: font-settings.$font-size-sm;
|
|
86
86
|
line-height: font-settings.$lineheight-size-sm;
|
|
87
87
|
|
|
88
|
-
@media (min-width: map.get(
|
|
88
|
+
@media (min-width: map.get(breakpoints.$grid-breakpoints, md)) {
|
|
89
89
|
font-size: font-settings.$font-size-md;
|
|
90
90
|
line-height: font-settings.$lineheight-size-md;
|
|
91
91
|
}
|
|
@@ -95,7 +95,7 @@ import designsystemtypography from './scss/typography.scss'
|
|
|
95
95
|
font-size: font-settings.$font-size-sm;
|
|
96
96
|
line-height: font-settings.$lineheight-size-sm;
|
|
97
97
|
|
|
98
|
-
@media (min-width: map.get(
|
|
98
|
+
@media (min-width: map.get(breakpoints.$grid-breakpoints, md)) {
|
|
99
99
|
font-size: font-settings.$font-size-md;
|
|
100
100
|
}
|
|
101
101
|
}
|
package/Trigger.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Trigger.js","sources":["../src/components/Trigger/HelpSign.tsx","../src/components/Trigger/Trigger.tsx"],"sourcesContent":["import React from 'react';\n\nimport { getIcon, SvgPathProps } from '../Icon';\n\nconst HelpSign: React.FC<SvgPathProps> = ({ size, isHovered }: SvgPathProps): React.ReactElement => {\n const normal = (\n <path d=\"M18.854 19.678c0-2.268 1.701-4.74 5.126-4.74 3.358 0 5.172 2.222 5.172 4.536 0 1.793-.952 3.064-2.268 3.992l-.976.682c-.749.521-1.134 1.27-1.134 2.154 0 .047 0 .16.023.296h-2.269a46.85 46.85 0 0 0-.01-.139 8.554 8.554 0 0 1-.036-.724c0-1.36.522-2.471 1.84-3.424l1.042-.75c.75-.544 1.066-1.201 1.066-1.974 0-1.178-.793-2.29-2.45-2.29-1.679 0-2.563 1.293-2.563 2.585 0 .34.045.772.136 1.022l-2.564-.181a3.903 3.903 0 0 1-.135-1.044Zm3.176 10.186c0-.908.726-1.678 1.656-1.678.908 0 1.656.77 1.656 1.678 0 .907-.748 1.657-1.656 1.657-.93 0-1.656-.75-1.656-1.657Z\" />\n );\n\n const normalHover = (\n <path d=\"M18.854 18.178c0-2.268 1.701-4.74 5.126-4.74 3.358 0 5.172 2.223 5.172 4.536 0 1.793-.952 3.064-2.268 3.992l-.976.682c-.749.521-1.134 1.27-1.134 2.154 0 .047 0 .16.023.296h-2.269a46.85 46.85 0 0 0-.01-.139 8.554 8.554 0 0 1-.036-.724c0-1.36.522-2.471 1.838-3.424l1.044-.75c.75-.544 1.066-1.201 1.066-1.974 0-1.178-.793-2.29-2.45-2.29-1.679 0-2.563 1.293-2.563 2.585 0 .34.045.772.135 1.022l-2.563-.181a3.903 3.903 0 0 1-.135-1.044Zm3.176 11.686c0-.908.725-1.678 1.655-1.678.908 0 1.657.77 1.657 1.678 0 .907-.749 1.657-1.657 1.657-.93 0-1.655-.75-1.655-1.657Z\" />\n );\n\n const xSmall = (\n <path d=\"M23.98 14.937c-3.425 0-5.127 2.473-5.127 4.741 0 .363.047.726.137 1.044l2.563.182c-.09-.25-.136-.681-.136-1.022 0-1.292.885-2.586 2.563-2.586 1.658 0 2.45 1.112 2.45 2.291 0 .772-.317 1.43-1.065 1.974l-1.043.749c-1.317.953-1.84 2.065-1.84 3.425 0 .319.024.567.047.862h2.267c-.021-.135-.021-.25-.021-.295 0-.884.385-1.633 1.133-2.154l.976-.681c1.317-.93 2.27-2.2 2.27-3.993 0-2.314-1.816-4.537-5.174-4.537m-.294 13.248c-.93 0-1.656.773-1.656 1.678a1.65 1.65 0 0 0 1.656 1.657c.907 0 1.656-.748 1.656-1.657 0-.905-.749-1.678-1.656-1.678\" />\n );\n\n const xSmallHover = (\n <path d=\"M18.853 18.289c0-2.268 1.701-4.742 5.127-4.742 3.357 0 5.173 2.223 5.173 4.537 0 1.794-.953 3.065-2.27 3.994l-.976.681c-.747.52-1.133 1.27-1.133 2.154 0 .046 0 .16.022.295h-2.267a39.324 39.324 0 0 0-.01-.125 8.468 8.468 0 0 1-.037-.737c0-1.36.523-2.472 1.839-3.425l1.043-.75c.748-.543 1.065-1.201 1.065-1.973 0-1.18-.792-2.29-2.45-2.29-1.678 0-2.562 1.293-2.562 2.585 0 .341.045.772.135 1.022l-2.563-.183a3.914 3.914 0 0 1-.136-1.043Zm3.176 11.575c0-.907.726-1.679 1.656-1.679.908 0 1.657.772 1.657 1.68 0 .907-.749 1.656-1.657 1.656-.93 0-1.656-.749-1.656-1.657Z\" />\n );\n\n return getIcon({ size, isHovered, normal, normalHover, xSmall, xSmallHover });\n};\n\nexport default HelpSign;\n","import React from 'react';\n\nimport classNames from 'classnames';\n\nimport HelpSign from './HelpSign';\nimport { AnalyticsId, IconSize } from '../../constants';\nimport { useHover } from '../../hooks/useHover';\nimport { getColor } from '../../theme/currys';\nimport { getAriaLabelAttributes } from '../../utils/accessibility';\nimport { mergeRefs } from '../../utils/refs';\nimport Icon, { SvgIcon } from '../Icon';\n\nimport styles from './styles.module.scss';\n\nexport type TriggerTags = 'button' | 'span';\n\nexport type TriggerVariant = 'help'; // @todo Support variant='info' in later version\n\nexport type TriggerSize = 'medium' | 'large';\n\nexport type TriggerOnColor = 'onlight' | 'ondark';\n\nexport interface TriggerProps extends Pick<React.InputHTMLAttributes<HTMLButtonElement>, 'onClick' | 'aria-haspopup' | 'aria-controls'> {\n /**\n * Sets aria-label of the trigger. ariaLabel or ariaLabelledById MUST be set!\n */\n ariaLabel?: string;\n /**\n * Sets aria-labelledby of the trigger. ariaLabel or ariaLabelledById MUST be set!\n */\n ariaLabelledById?: string;\n /**\n * Controls the icon and color. Default: help.\n */\n variant?: TriggerVariant;\n /**\n * Changes the design based on the background the trigger is placed on. Default: onlight.\n */\n onColor?: TriggerOnColor;\n /**\n * Size of the trigger. Default: medium.\n */\n size?: TriggerSize;\n /**\n * Indicates that the trigger is in use.\n */\n selected?: boolean;\n /**\n * Indicates that the trigger is hovered. Used in combination with htmlMarkup=span to force visual hover state.\n */\n isHovered?: boolean;\n /**\n * Changes the underlying element of the trigger. If set to span, the trigger will be a non-interactive icon. Default: button\n */\n htmlMarkup?: TriggerTags;\n /**\n * Classname will be applied to the button element.\n */\n className?: string;\n /**\n * Optional test id.\n */\n testId?: string;\n}\n\nconst iconMap: Record<TriggerVariant, SvgIcon> = {\n help: HelpSign,\n //info: InfoSignStroke, // @todo Support variant='info' in later version\n};\n\nconst iconSizeMap: Record<TriggerSize, IconSize> = {\n medium: IconSize.XSmall,\n large: IconSize.Small,\n};\n\nconst getIconColor = (onColor: TriggerOnColor, variant: TriggerVariant, isActive: boolean): string | undefined => {\n if (onColor === 'ondark') {\n return 'white';\n }\n\n const depth = isActive ? 800 : 600;\n\n if (variant === 'help') {\n return getColor('plum', depth);\n }\n\n if (variant === 'info') {\n return getColor('blueberry', depth);\n }\n};\n\nconst Trigger = React.forwardRef<HTMLButtonElement, TriggerProps>(\n (\n {\n ariaLabel,\n ariaLabelledById,\n variant = 'help',\n onColor = 'onlight',\n size = 'medium',\n selected = false,\n isHovered,\n htmlMarkup = 'button',\n className,\n testId,\n ...rest\n },\n ref\n ) => {\n const { isHovered: buttonIsHovered, hoverRef } = useHover<HTMLButtonElement>();\n\n const triggerClasses = classNames(\n styles.trigger,\n onColor === 'onlight' && styles[`trigger--${variant}`], // variants look the same when onColor=ondark\n onColor === 'ondark' && styles[`trigger--${onColor}`],\n styles[`trigger--${size}`],\n isHovered && styles[`trigger--hovered`],\n selected && styles[`trigger--selected`],\n className\n );\n\n const iconColor = getIconColor(onColor, variant, isHovered || buttonIsHovered || selected);\n\n const icon = <Icon svgIcon={iconMap[variant]} size={iconSizeMap[size]} color={iconColor} isHovered={isHovered || buttonIsHovered} />;\n\n if (htmlMarkup === 'span') {\n return (\n <span data-testid={testId} data-analyticsid={AnalyticsId.Trigger} className={triggerClasses}>\n {icon}\n </span>\n );\n }\n\n const ariaLabelAttributes = getAriaLabelAttributes({ label: ariaLabel, id: ariaLabelledById });\n\n return (\n <button\n aria-label={ariaLabel}\n type=\"button\"\n data-testid={testId}\n data-analyticsid={AnalyticsId.Trigger}\n className={triggerClasses}\n ref={mergeRefs([ref, hoverRef])}\n aria-expanded={selected}\n {...ariaLabelAttributes}\n {...rest}\n >\n {icon}\n </button>\n );\n }\n);\n\nTrigger.displayName = 'Trigger';\n\nexport default Trigger;\n"],"names":["React"],"mappings":";;;;;;;;;;AAIA,MAAM,WAAmC,CAAC,EAAE,MAAM,gBAAkD;AAClG,QAAM,SACJ,oBAAC,QAAK,EAAA,GAAE,ijBAAijB,CAAA;AAG3jB,QAAM,cACJ,oBAAC,QAAK,EAAA,GAAE,kjBAAkjB,CAAA;AAG5jB,QAAM,SACJ,oBAAC,QAAK,EAAA,GAAE,yhBAAyhB,CAAA;AAGniB,QAAM,cACJ,oBAAC,QAAK,EAAA,GAAE,sjBAAsjB,CAAA;AAGzjB,SAAA,QAAQ,EAAE,MAAM,WAAW,QAAQ,aAAa,QAAQ,aAAa;AAC9E;AC2CA,MAAM,UAA2C;AAAA,EAC/C,MAAM;AAAA;AAER;AAEA,MAAM,cAA6C;AAAA,EACjD,QAAQ,SAAS;AAAA,EACjB,OAAO,SAAS;AAClB;AAEA,MAAM,eAAe,CAAC,SAAyB,SAAyB,aAA0C;AAChH,MAAI,YAAY,UAAU;AACjB,WAAA;AAAA,EAAA;AAGH,QAAA,QAAQ,WAAW,MAAM;AAE/B,MAAI,YAAY,QAAQ;AACf,WAAA,SAAS,QAAQ,KAAK;AAAA,EAAA;AAG/B,MAAI,YAAY,QAAQ;AACf,WAAA,SAAS,aAAa,KAAK;AAAA,EAAA;AAEtC;AAEA,MAAM,UAAUA,eAAM;AAAA,EACpB,CACE;AAAA,IACE;AAAA,IACA;AAAA,IACA,UAAU;AAAA,IACV,UAAU;AAAA,IACV,OAAO;AAAA,IACP,WAAW;AAAA,IACX;AAAA,IACA,aAAa;AAAA,IACb;AAAA,IACA;AAAA,IACA,GAAG;AAAA,KAEL,QACG;AACH,UAAM,EAAE,WAAW,iBAAiB,SAAA,IAAa,SAA4B;AAE7E,UAAM,iBAAiB;AAAA,MACrB,OAAO;AAAA,MACP,YAAY,aAAa,OAAO,YAAY,OAAO,EAAE;AAAA;AAAA,MACrD,YAAY,YAAY,OAAO,YAAY,OAAO,EAAE;AAAA,MACpD,OAAO,YAAY,IAAI,EAAE;AAAA,MACzB,aAAa,OAAO,kBAAkB;AAAA,MACtC,YAAY,OAAO,mBAAmB;AAAA,MACtC;AAAA,IACF;AAEA,UAAM,YAAY,aAAa,SAAS,SAAS,aAAa,mBAAmB,QAAQ;AAEzF,UAAM,OAAO,oBAAC,MAAK,EAAA,SAAS,QAAQ,OAAO,GAAG,MAAM,YAAY,IAAI,GAAG,OAAO,WAAW,WAAW,aAAa,iBAAiB;AAElI,QAAI,eAAe,QAAQ;AAEvB,aAAA,oBAAC,UAAK,eAAa,QAAQ,oBAAkB,YAAY,SAAS,WAAW,gBAC1E,UACH,KAAA,CAAA;AAAA,IAAA;AAIJ,UAAM,sBAAsB,uBAAuB,EAAE,OAAO,WAAW,IAAI,kBAAkB;AAG3F,WAAA;AAAA,MAAC;AAAA,MAAA;AAAA,QACC,cAAY;AAAA,QACZ,MAAK;AAAA,QACL,eAAa;AAAA,QACb,oBAAkB,YAAY;AAAA,QAC9B,WAAW;AAAA,QACX,KAAK,UAAU,CAAC,KAAK,QAAQ,CAAC;AAAA,QAC9B,iBAAe;AAAA,QACd,GAAG;AAAA,QACH,GAAG;AAAA,QAEH,UAAA;AAAA,MAAA;AAAA,IACH;AAAA,EAAA;AAGN;AAEA,QAAQ,cAAc;"}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { jsx } from "react/jsx-runtime";
|
|
2
|
-
const EmptyBox = ({ isHovered }) => {
|
|
3
|
-
const normal = /* @__PURE__ */ jsx(
|
|
4
|
-
"path",
|
|
5
|
-
{
|
|
6
|
-
fillRule: "evenodd",
|
|
7
|
-
clipRule: "evenodd",
|
|
8
|
-
d: "M23.311 14.378a.65.65 0 0 1 .378 0l13.742 4.176a.65.65 0 0 1 .409.365l3.757 8.757a.65.65 0 0 1-.397.875l-3.308 1.07v6.664a.65.65 0 0 1-.439.614l-13.742 4.715a.65.65 0 0 1-.422 0L9.547 36.9a.65.65 0 0 1-.44-.614V29.62L5.8 28.55a.65.65 0 0 1-.397-.875l3.757-8.757a.65.65 0 0 1 .409-.365l13.742-4.176Zm-13.293 14.17a.644.644 0 0 0-.122-.038l-3.017-.977 3.244-7.561 12.5 3.92-3.248 7.684-9.357-3.027Zm.39 1.493v5.78l12.442 4.268V26.694l-2.509 5.937a.65.65 0 0 1-.799.365l-9.134-2.955Zm13.742-3.347V40.09l12.442-4.269v-5.779l-9.134 2.955a.65.65 0 0 1-.8-.365l-2.508-5.937Zm12.954 1.816a.64.64 0 0 0-.122.039l-9.358 3.027-3.247-7.683 12.5-3.921 3.244 7.561-3.017.976Zm-2.065-9.324-10.889-3.31v6.726l10.89-3.416ZM22.85 22.602v-6.726l-10.89 3.31 10.89 3.416ZM34.11 7.277a.65.65 0 0 1 .226.89l-2.777 4.666a.65.65 0 1 1-1.117-.665l2.777-4.665a.65.65 0 0 1 .891-.226Zm-7.406-.926a.65.65 0 0 1 .65.65v4.007a.65.65 0 1 1-1.3 0V7.001a.65.65 0 0 1 .65-.65Zm12.481 6.52a.65.65 0 0 1-.317.864l-3.253 1.505a.65.65 0 0 1-.546-1.18l3.253-1.505a.65.65 0 0 1 .863.317Z"
|
|
9
|
-
}
|
|
10
|
-
);
|
|
11
|
-
const normalHover = /* @__PURE__ */ jsx(
|
|
12
|
-
"path",
|
|
13
|
-
{
|
|
14
|
-
fillRule: "evenodd",
|
|
15
|
-
clipRule: "evenodd",
|
|
16
|
-
d: "M23.311 14.378a.65.65 0 0 1 .378 0l13.742 4.176a.65.65 0 0 1 .409.365l3.757 8.757a.65.65 0 0 1-.397.875l-3.308 1.07v6.664a.65.65 0 0 1-.439.614l-13.742 4.715a.65.65 0 0 1-.422 0L9.547 36.9a.65.65 0 0 1-.44-.614V29.62L5.8 28.55a.65.65 0 0 1-.397-.875l3.757-8.757a.65.65 0 0 1 .409-.365l13.742-4.176Zm-13.293 14.17a.644.644 0 0 0-.122-.038l-3.017-.977 3.244-7.561 12.5 3.92-3.248 7.684-9.357-3.027Zm.39 1.493v5.78l12.442 4.268V26.694l-2.509 5.937a.65.65 0 0 1-.799.365l-9.134-2.955Zm13.742-3.347V40.09l12.442-4.269v-5.779l-9.134 2.955a.65.65 0 0 1-.8-.365l-2.508-5.937Zm12.954 1.816a.64.64 0 0 0-.122.039l-9.358 3.027-3.247-7.683 12.5-3.921 3.244 7.561-3.017.976Zm-2.065-9.324-10.889-3.31v6.726l10.89-3.416ZM22.85 22.602v-6.726l-10.89 3.31 10.89 3.416ZM34.064 6.25a.65.65 0 0 1 .297.87l-2.777 5.666a.65.65 0 0 1-1.168-.572l2.778-5.666a.65.65 0 0 1 .87-.297Zm-8.517.12a.65.65 0 0 1 .787.473l1 4.007a.65.65 0 1 1-1.26.315l-1-4.008a.65.65 0 0 1 .473-.788Zm14.661 6.557a.65.65 0 0 1-.396.83l-4.253 1.505a.65.65 0 0 1-.434-1.226l4.254-1.505a.65.65 0 0 1 .83.396Z"
|
|
17
|
-
}
|
|
18
|
-
);
|
|
19
|
-
return isHovered ? normalHover : normal;
|
|
20
|
-
};
|
|
21
|
-
export {
|
|
22
|
-
EmptyBox as default
|
|
23
|
-
};
|
|
24
|
-
//# sourceMappingURL=EmptyBox.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"EmptyBox.js","sources":["../../../src/components/Icons/EmptyBox.tsx"],"sourcesContent":["import React from 'react';\n\nimport { SvgPathProps } from '../Icon';\n\nconst EmptyBox: React.FC<SvgPathProps> = ({ isHovered }: SvgPathProps): React.ReactElement => {\n const normal = (\n <path\n fillRule=\"evenodd\"\n clipRule=\"evenodd\"\n d=\"M23.311 14.378a.65.65 0 0 1 .378 0l13.742 4.176a.65.65 0 0 1 .409.365l3.757 8.757a.65.65 0 0 1-.397.875l-3.308 1.07v6.664a.65.65 0 0 1-.439.614l-13.742 4.715a.65.65 0 0 1-.422 0L9.547 36.9a.65.65 0 0 1-.44-.614V29.62L5.8 28.55a.65.65 0 0 1-.397-.875l3.757-8.757a.65.65 0 0 1 .409-.365l13.742-4.176Zm-13.293 14.17a.644.644 0 0 0-.122-.038l-3.017-.977 3.244-7.561 12.5 3.92-3.248 7.684-9.357-3.027Zm.39 1.493v5.78l12.442 4.268V26.694l-2.509 5.937a.65.65 0 0 1-.799.365l-9.134-2.955Zm13.742-3.347V40.09l12.442-4.269v-5.779l-9.134 2.955a.65.65 0 0 1-.8-.365l-2.508-5.937Zm12.954 1.816a.64.64 0 0 0-.122.039l-9.358 3.027-3.247-7.683 12.5-3.921 3.244 7.561-3.017.976Zm-2.065-9.324-10.889-3.31v6.726l10.89-3.416ZM22.85 22.602v-6.726l-10.89 3.31 10.89 3.416ZM34.11 7.277a.65.65 0 0 1 .226.89l-2.777 4.666a.65.65 0 1 1-1.117-.665l2.777-4.665a.65.65 0 0 1 .891-.226Zm-7.406-.926a.65.65 0 0 1 .65.65v4.007a.65.65 0 1 1-1.3 0V7.001a.65.65 0 0 1 .65-.65Zm12.481 6.52a.65.65 0 0 1-.317.864l-3.253 1.505a.65.65 0 0 1-.546-1.18l3.253-1.505a.65.65 0 0 1 .863.317Z\"\n />\n );\n\n const normalHover = (\n <path\n fillRule=\"evenodd\"\n clipRule=\"evenodd\"\n d=\"M23.311 14.378a.65.65 0 0 1 .378 0l13.742 4.176a.65.65 0 0 1 .409.365l3.757 8.757a.65.65 0 0 1-.397.875l-3.308 1.07v6.664a.65.65 0 0 1-.439.614l-13.742 4.715a.65.65 0 0 1-.422 0L9.547 36.9a.65.65 0 0 1-.44-.614V29.62L5.8 28.55a.65.65 0 0 1-.397-.875l3.757-8.757a.65.65 0 0 1 .409-.365l13.742-4.176Zm-13.293 14.17a.644.644 0 0 0-.122-.038l-3.017-.977 3.244-7.561 12.5 3.92-3.248 7.684-9.357-3.027Zm.39 1.493v5.78l12.442 4.268V26.694l-2.509 5.937a.65.65 0 0 1-.799.365l-9.134-2.955Zm13.742-3.347V40.09l12.442-4.269v-5.779l-9.134 2.955a.65.65 0 0 1-.8-.365l-2.508-5.937Zm12.954 1.816a.64.64 0 0 0-.122.039l-9.358 3.027-3.247-7.683 12.5-3.921 3.244 7.561-3.017.976Zm-2.065-9.324-10.889-3.31v6.726l10.89-3.416ZM22.85 22.602v-6.726l-10.89 3.31 10.89 3.416ZM34.064 6.25a.65.65 0 0 1 .297.87l-2.777 5.666a.65.65 0 0 1-1.168-.572l2.778-5.666a.65.65 0 0 1 .87-.297Zm-8.517.12a.65.65 0 0 1 .787.473l1 4.007a.65.65 0 1 1-1.26.315l-1-4.008a.65.65 0 0 1 .473-.788Zm14.661 6.557a.65.65 0 0 1-.396.83l-4.253 1.505a.65.65 0 0 1-.434-1.226l4.254-1.505a.65.65 0 0 1 .83.396Z\"\n />\n );\n\n return isHovered ? normalHover : normal;\n};\n\nexport default EmptyBox;\n"],"names":[],"mappings":";AAIA,MAAM,WAAmC,CAAC,EAAE,gBAAkD;AAC5F,QAAM,SACJ;AAAA,IAAC;AAAA,IAAA;AAAA,MACC,UAAS;AAAA,MACT,UAAS;AAAA,MACT,GAAE;AAAA,IAAA;AAAA,EACJ;AAGF,QAAM,cACJ;AAAA,IAAC;AAAA,IAAA;AAAA,MACC,UAAS;AAAA,MACT,UAAS;AAAA,MACT,GAAE;AAAA,IAAA;AAAA,EACJ;AAGF,SAAO,YAAY,cAAc;AACnC;"}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { jsx } from "react/jsx-runtime";
|
|
2
|
-
const HealthMeasurements = ({ isHovered }) => {
|
|
3
|
-
const normal = /* @__PURE__ */ jsx(
|
|
4
|
-
"path",
|
|
5
|
-
{
|
|
6
|
-
fillRule: "evenodd",
|
|
7
|
-
clipRule: "evenodd",
|
|
8
|
-
d: "M8.65 16.56c0-4.318 3.914-7.91 7.781-7.91 3.547 0 5.299 2.162 6.632 3.807.187.23.365.45.54.654l.503.587.492-.598.323-.397c1.366-1.692 3.273-4.053 6.84-4.053 3.848 0 7.589 3.573 7.589 7.91 0 2.44-.711 4.88-1.885 7.253l-.043.086h-5.866l-2.642-5.008-4.757 9.836L19.3 15.676l-3.654 8.223h-5.181a19.402 19.402 0 0 1-.039-.08C9.322 21.523 8.65 19.096 8.65 16.56Zm2.332 8.34c3.044 5.562 8.41 10.184 12.244 13.487l.874.755c3.95-3.38 9.59-8.492 12.794-14.243h-5.94l-2.001-3.791-4.916 10.164-4.818-12.95-2.923 6.577h-5.314Zm5.45-17.55c-4.565 0-9.082 4.153-9.082 9.21 0 2.77.735 5.39 1.906 7.823 3.033 6.31 9.068 11.503 13.123 14.991.457.394.89.766 1.29 1.115l.421.369.427-.363c4.178-3.556 10.81-9.428 14.113-16.105 1.236-2.498 2.02-5.137 2.02-7.83 0-5.038-4.307-9.21-8.89-9.21-4.038 0-6.303 2.613-7.668 4.306-1.317-1.644-3.465-4.306-7.66-4.306Z"
|
|
9
|
-
}
|
|
10
|
-
);
|
|
11
|
-
const normalHover = /* @__PURE__ */ jsx(
|
|
12
|
-
"path",
|
|
13
|
-
{
|
|
14
|
-
fillRule: "evenodd",
|
|
15
|
-
clipRule: "evenodd",
|
|
16
|
-
d: "M8.65 16.56c0-4.318 3.914-7.91 7.781-7.91 3.547 0 5.299 2.162 6.632 3.807.187.23.365.45.54.654l.503.587.492-.598.323-.397c1.366-1.692 3.273-4.053 6.84-4.053 3.848 0 7.589 3.573 7.589 7.91 0 2.44-.711 4.88-1.885 7.253l-.043.086h-5.787l-2.594-9.387-5.102 11.604-4.622-4.777-3.509 2.56h-5.343l-.038-.08C9.322 21.523 8.65 19.096 8.65 16.56Zm2.332 8.339c3.044 5.562 8.41 10.185 12.244 13.488l.874.755c3.95-3.38 9.591-8.492 12.794-14.243h-6.02l-2.048-7.413-4.571 10.396-5.052-5.223-3.069 2.24h-5.152Zm5.45-17.55c-4.565 0-9.082 4.154-9.082 9.211 0 2.77.735 5.39 1.906 7.823 3.033 6.31 9.068 11.503 13.123 14.991.457.394.89.766 1.29 1.115l.421.369.427-.363c4.178-3.556 10.81-9.428 14.113-16.105 1.236-2.498 2.02-5.137 2.02-7.83 0-5.038-4.307-9.21-8.89-9.21-4.038 0-6.303 2.613-7.668 4.306-1.317-1.644-3.465-4.306-7.66-4.306Z"
|
|
17
|
-
}
|
|
18
|
-
);
|
|
19
|
-
return isHovered ? normalHover : normal;
|
|
20
|
-
};
|
|
21
|
-
export {
|
|
22
|
-
HealthMeasurements as default
|
|
23
|
-
};
|
|
24
|
-
//# sourceMappingURL=HealthMeasurements.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"HealthMeasurements.js","sources":["../../../src/components/Icons/HealthMeasurements.tsx"],"sourcesContent":["import React from 'react';\n\nimport { SvgPathProps } from '../Icon';\n\nconst HealthMeasurements: React.FC<SvgPathProps> = ({ isHovered }: SvgPathProps): React.ReactElement => {\n const normal = (\n <path\n fillRule=\"evenodd\"\n clipRule=\"evenodd\"\n d=\"M8.65 16.56c0-4.318 3.914-7.91 7.781-7.91 3.547 0 5.299 2.162 6.632 3.807.187.23.365.45.54.654l.503.587.492-.598.323-.397c1.366-1.692 3.273-4.053 6.84-4.053 3.848 0 7.589 3.573 7.589 7.91 0 2.44-.711 4.88-1.885 7.253l-.043.086h-5.866l-2.642-5.008-4.757 9.836L19.3 15.676l-3.654 8.223h-5.181a19.402 19.402 0 0 1-.039-.08C9.322 21.523 8.65 19.096 8.65 16.56Zm2.332 8.34c3.044 5.562 8.41 10.184 12.244 13.487l.874.755c3.95-3.38 9.59-8.492 12.794-14.243h-5.94l-2.001-3.791-4.916 10.164-4.818-12.95-2.923 6.577h-5.314Zm5.45-17.55c-4.565 0-9.082 4.153-9.082 9.21 0 2.77.735 5.39 1.906 7.823 3.033 6.31 9.068 11.503 13.123 14.991.457.394.89.766 1.29 1.115l.421.369.427-.363c4.178-3.556 10.81-9.428 14.113-16.105 1.236-2.498 2.02-5.137 2.02-7.83 0-5.038-4.307-9.21-8.89-9.21-4.038 0-6.303 2.613-7.668 4.306-1.317-1.644-3.465-4.306-7.66-4.306Z\"\n />\n );\n\n const normalHover = (\n <path\n fillRule=\"evenodd\"\n clipRule=\"evenodd\"\n d=\"M8.65 16.56c0-4.318 3.914-7.91 7.781-7.91 3.547 0 5.299 2.162 6.632 3.807.187.23.365.45.54.654l.503.587.492-.598.323-.397c1.366-1.692 3.273-4.053 6.84-4.053 3.848 0 7.589 3.573 7.589 7.91 0 2.44-.711 4.88-1.885 7.253l-.043.086h-5.787l-2.594-9.387-5.102 11.604-4.622-4.777-3.509 2.56h-5.343l-.038-.08C9.322 21.523 8.65 19.096 8.65 16.56Zm2.332 8.339c3.044 5.562 8.41 10.185 12.244 13.488l.874.755c3.95-3.38 9.591-8.492 12.794-14.243h-6.02l-2.048-7.413-4.571 10.396-5.052-5.223-3.069 2.24h-5.152Zm5.45-17.55c-4.565 0-9.082 4.154-9.082 9.211 0 2.77.735 5.39 1.906 7.823 3.033 6.31 9.068 11.503 13.123 14.991.457.394.89.766 1.29 1.115l.421.369.427-.363c4.178-3.556 10.81-9.428 14.113-16.105 1.236-2.498 2.02-5.137 2.02-7.83 0-5.038-4.307-9.21-8.89-9.21-4.038 0-6.303 2.613-7.668 4.306-1.317-1.644-3.465-4.306-7.66-4.306Z\"\n />\n );\n\n return isHovered ? normalHover : normal;\n};\n\nexport default HealthMeasurements;\n"],"names":[],"mappings":";AAIA,MAAM,qBAA6C,CAAC,EAAE,gBAAkD;AACtG,QAAM,SACJ;AAAA,IAAC;AAAA,IAAA;AAAA,MACC,UAAS;AAAA,MACT,UAAS;AAAA,MACT,GAAE;AAAA,IAAA;AAAA,EACJ;AAGF,QAAM,cACJ;AAAA,IAAC;AAAA,IAAA;AAAA,MACC,UAAS;AAAA,MACT,UAAS;AAAA,MACT,GAAE;AAAA,IAAA;AAAA,EACJ;AAGF,SAAO,YAAY,cAAc;AACnC;"}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { jsx } from "react/jsx-runtime";
|
|
2
|
-
const SharedHealthData = ({ isHovered }) => {
|
|
3
|
-
const normal = /* @__PURE__ */ jsx(
|
|
4
|
-
"path",
|
|
5
|
-
{
|
|
6
|
-
fillRule: "evenodd",
|
|
7
|
-
clipRule: "evenodd",
|
|
8
|
-
d: "M40.7 11a1.7 1.7 0 1 1-3.4 0 1.7 1.7 0 0 1 3.4 0Zm1.3 0a3 3 0 0 1-5.93.65H34.5A2.35 2.35 0 0 0 32.15 14v8.85h3.92a3.001 3.001 0 1 1 0 1.3h-3.92V33a2.35 2.35 0 0 0 2.35 2.35h1.57a3.001 3.001 0 1 1 0 1.3H34.5A3.65 3.65 0 0 1 30.85 33v-8.85H27v-1.3h3.85V14a3.65 3.65 0 0 1 3.65-3.65h1.57A3.001 3.001 0 0 1 42 11Zm-1.3 12.5a1.7 1.7 0 1 1-3.4 0 1.7 1.7 0 0 1 3.4 0ZM39 37.7a1.7 1.7 0 1 0 0-3.4 1.7 1.7 0 0 0 0 3.4Zm-25.45-.8v-6.45H7.1V11.1h16.8v25.8H13.55ZM6 10v21l7 7h12V10H6Zm2.106 21.55 4.344 4.344V31.55H8.106Zm2.544-12.608c0-1.242 1.148-2.292 2.248-2.292 1.005 0 1.478.577 1.938 1.14.067.082.135.164.204.244l.504.587.49-.597.107-.13c.48-.59 1.012-1.244 2.027-1.244 1.081 0 2.182 1.031 2.182 2.292 0 .756-.22 1.53-.604 2.305-.947 1.914-2.794 3.664-4.211 4.894l-.023-.019c-1.41-1.216-3.336-2.878-4.293-4.869-.359-.745-.569-1.517-.569-2.31Zm2.248-3.592c-1.797 0-3.548 1.611-3.548 3.592 0 1.03.273 1.993.697 2.874 1.085 2.256 3.233 4.102 4.619 5.294.157.134.304.261.44.38l.421.368.427-.363c1.43-1.217 3.778-3.287 4.957-5.672.445-.9.739-1.872.739-2.88 0-1.963-1.666-3.593-3.482-3.593-1.277 0-2.109.671-2.633 1.242-.505-.562-1.323-1.242-2.637-1.242Z"
|
|
9
|
-
}
|
|
10
|
-
);
|
|
11
|
-
const normalHover = /* @__PURE__ */ jsx(
|
|
12
|
-
"path",
|
|
13
|
-
{
|
|
14
|
-
fillRule: "evenodd",
|
|
15
|
-
clipRule: "evenodd",
|
|
16
|
-
d: "M42.7 11a3.7 3.7 0 1 1-7.4 0 3.7 3.7 0 0 1 7.4 0Zm1.3 0a5 5 0 0 1-9.952.694A2.35 2.35 0 0 0 32.15 14v8.85h3.92a3.001 3.001 0 1 1 0 1.3h-3.92V33a2.35 2.35 0 0 0 2.35 2.35h1.57a3.001 3.001 0 1 1 0 1.3H34.5A3.65 3.65 0 0 1 30.85 33v-8.85H27v-1.3h3.85V14a3.65 3.65 0 0 1 3.188-3.621A5 5 0 0 1 44 11Zm-3.3 12.5a1.7 1.7 0 1 1-3.4 0 1.7 1.7 0 0 1 3.4 0ZM39 37.7a1.7 1.7 0 1 0 0-3.4 1.7 1.7 0 0 0 0 3.4ZM13.55 31v-.55H7.1V11.1h16.8v25.8H13.55V31ZM6 31l.55.55L9 34l3.45 3.45.55.55h12V10H6v21Zm3.778 2.222 2.672 2.672V31.55H8.106l1.672 1.672Zm1.872-13.814c0-.95.884-1.758 1.721-1.758.763 0 1.114.427 1.491.886.056.068.113.137.172.206l.503.587.492-.598.084-.102c.396-.487.797-.979 1.57-.979.818 0 1.667.79 1.667 1.758 0 .595-.174 1.21-.482 1.832-.747 1.51-2.193 2.9-3.34 3.901-1.15-.992-2.666-2.316-3.424-3.894-.287-.597-.454-1.21-.454-1.84Zm1.721-3.058c-1.534 0-3.021 1.37-3.021 3.058 0 .863.23 1.669.582 2.402.9 1.87 2.677 3.398 3.809 4.37.129.11.249.214.358.31l.422.368.427-.363c1.168-.994 3.108-2.702 4.085-4.678.37-.747.617-1.561.617-2.41 0-1.668-1.414-3.057-2.967-3.057-1.02 0-1.709.504-2.153.961-.43-.451-1.112-.961-2.159-.961Z"
|
|
17
|
-
}
|
|
18
|
-
);
|
|
19
|
-
return isHovered ? normalHover : normal;
|
|
20
|
-
};
|
|
21
|
-
export {
|
|
22
|
-
SharedHealthData as default
|
|
23
|
-
};
|
|
24
|
-
//# sourceMappingURL=SharedHealthData.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SharedHealthData.js","sources":["../../../src/components/Icons/SharedHealthData.tsx"],"sourcesContent":["import React from 'react';\n\nimport { SvgPathProps } from '../Icon';\n\nconst SharedHealthData: React.FC<SvgPathProps> = ({ isHovered }: SvgPathProps): React.ReactElement => {\n const normal = (\n <path\n fillRule=\"evenodd\"\n clipRule=\"evenodd\"\n d=\"M40.7 11a1.7 1.7 0 1 1-3.4 0 1.7 1.7 0 0 1 3.4 0Zm1.3 0a3 3 0 0 1-5.93.65H34.5A2.35 2.35 0 0 0 32.15 14v8.85h3.92a3.001 3.001 0 1 1 0 1.3h-3.92V33a2.35 2.35 0 0 0 2.35 2.35h1.57a3.001 3.001 0 1 1 0 1.3H34.5A3.65 3.65 0 0 1 30.85 33v-8.85H27v-1.3h3.85V14a3.65 3.65 0 0 1 3.65-3.65h1.57A3.001 3.001 0 0 1 42 11Zm-1.3 12.5a1.7 1.7 0 1 1-3.4 0 1.7 1.7 0 0 1 3.4 0ZM39 37.7a1.7 1.7 0 1 0 0-3.4 1.7 1.7 0 0 0 0 3.4Zm-25.45-.8v-6.45H7.1V11.1h16.8v25.8H13.55ZM6 10v21l7 7h12V10H6Zm2.106 21.55 4.344 4.344V31.55H8.106Zm2.544-12.608c0-1.242 1.148-2.292 2.248-2.292 1.005 0 1.478.577 1.938 1.14.067.082.135.164.204.244l.504.587.49-.597.107-.13c.48-.59 1.012-1.244 2.027-1.244 1.081 0 2.182 1.031 2.182 2.292 0 .756-.22 1.53-.604 2.305-.947 1.914-2.794 3.664-4.211 4.894l-.023-.019c-1.41-1.216-3.336-2.878-4.293-4.869-.359-.745-.569-1.517-.569-2.31Zm2.248-3.592c-1.797 0-3.548 1.611-3.548 3.592 0 1.03.273 1.993.697 2.874 1.085 2.256 3.233 4.102 4.619 5.294.157.134.304.261.44.38l.421.368.427-.363c1.43-1.217 3.778-3.287 4.957-5.672.445-.9.739-1.872.739-2.88 0-1.963-1.666-3.593-3.482-3.593-1.277 0-2.109.671-2.633 1.242-.505-.562-1.323-1.242-2.637-1.242Z\"\n />\n );\n\n const normalHover = (\n <path\n fillRule=\"evenodd\"\n clipRule=\"evenodd\"\n d=\"M42.7 11a3.7 3.7 0 1 1-7.4 0 3.7 3.7 0 0 1 7.4 0Zm1.3 0a5 5 0 0 1-9.952.694A2.35 2.35 0 0 0 32.15 14v8.85h3.92a3.001 3.001 0 1 1 0 1.3h-3.92V33a2.35 2.35 0 0 0 2.35 2.35h1.57a3.001 3.001 0 1 1 0 1.3H34.5A3.65 3.65 0 0 1 30.85 33v-8.85H27v-1.3h3.85V14a3.65 3.65 0 0 1 3.188-3.621A5 5 0 0 1 44 11Zm-3.3 12.5a1.7 1.7 0 1 1-3.4 0 1.7 1.7 0 0 1 3.4 0ZM39 37.7a1.7 1.7 0 1 0 0-3.4 1.7 1.7 0 0 0 0 3.4ZM13.55 31v-.55H7.1V11.1h16.8v25.8H13.55V31ZM6 31l.55.55L9 34l3.45 3.45.55.55h12V10H6v21Zm3.778 2.222 2.672 2.672V31.55H8.106l1.672 1.672Zm1.872-13.814c0-.95.884-1.758 1.721-1.758.763 0 1.114.427 1.491.886.056.068.113.137.172.206l.503.587.492-.598.084-.102c.396-.487.797-.979 1.57-.979.818 0 1.667.79 1.667 1.758 0 .595-.174 1.21-.482 1.832-.747 1.51-2.193 2.9-3.34 3.901-1.15-.992-2.666-2.316-3.424-3.894-.287-.597-.454-1.21-.454-1.84Zm1.721-3.058c-1.534 0-3.021 1.37-3.021 3.058 0 .863.23 1.669.582 2.402.9 1.87 2.677 3.398 3.809 4.37.129.11.249.214.358.31l.422.368.427-.363c1.168-.994 3.108-2.702 4.085-4.678.37-.747.617-1.561.617-2.41 0-1.668-1.414-3.057-2.967-3.057-1.02 0-1.709.504-2.153.961-.43-.451-1.112-.961-2.159-.961Z\"\n />\n );\n\n return isHovered ? normalHover : normal;\n};\n\nexport default SharedHealthData;\n"],"names":[],"mappings":";AAIA,MAAM,mBAA2C,CAAC,EAAE,gBAAkD;AACpG,QAAM,SACJ;AAAA,IAAC;AAAA,IAAA;AAAA,MACC,UAAS;AAAA,MACT,UAAS;AAAA,MACT,GAAE;AAAA,IAAA;AAAA,EACJ;AAGF,QAAM,cACJ;AAAA,IAAC;AAAA,IAAA;AAAA,MACC,UAAS;AAAA,MACT,UAAS;AAAA,MACT,GAAE;AAAA,IAAA;AAAA,EACJ;AAGF,SAAO,YAAY,cAAc;AACnC;"}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { jsx } from "react/jsx-runtime";
|
|
2
|
-
const SharedHealthData = ({ isHovered }) => {
|
|
3
|
-
const normal = /* @__PURE__ */ jsx(
|
|
4
|
-
"path",
|
|
5
|
-
{
|
|
6
|
-
fillRule: "evenodd",
|
|
7
|
-
clipRule: "evenodd",
|
|
8
|
-
d: "M5.65 18.617c0-2.707 2.465-4.967 4.883-4.967 2.215 0 3.296 1.33 4.173 2.41.124.153.245.3.364.44l.503.586.492-.597.21-.259c.901-1.113 2.088-2.58 4.318-2.58 2.399 0 4.757 2.242 4.757 4.967 0 1.487-.414 2.982-1.112 4.45h-3.717l-1.834-3.576-3.064 6.518-3.163-8.747-2.507 5.805H6.692c-.653-1.419-1.042-2.906-1.042-4.45Zm1.55 5.45c1.983 3.573 5.437 6.55 7.937 8.705l.43.37c2.563-2.201 6.103-5.445 8.151-9.075H19.91l-1.184-2.309-3.223 6.858-3.125-8.642-1.768 4.093H7.2Zm3.333-11.717c-3.115 0-6.183 2.822-6.183 6.267 0 1.858.493 3.61 1.273 5.231 2.012 4.186 6.011 7.626 8.668 9.911.3.258.583.502.844.73l.422.369.427-.363c2.738-2.33 7.127-6.211 9.317-10.64.822-1.661 1.349-3.427 1.349-5.238 0-3.427-2.923-6.267-6.057-6.267-2.587 0-4.111 1.576-5.031 2.693-.884-1.09-2.35-2.693-5.03-2.693ZM41.7 11a1.7 1.7 0 1 1-3.4 0 1.7 1.7 0 0 1 3.4 0Zm1.3 0a3 3 0 0 1-5.93.65H35.5A2.35 2.35 0 0 0 33.15 14v8.85h3.92a3.001 3.001 0 1 1 0 1.3h-3.92V33a2.35 2.35 0 0 0 2.35 2.35h1.57a3.001 3.001 0 1 1 0 1.3H35.5A3.65 3.65 0 0 1 31.85 33v-8.85H28v-1.3h3.85V14a3.65 3.65 0 0 1 3.65-3.65h1.57A3.001 3.001 0 0 1 43 11Zm-1.3 12.5a1.7 1.7 0 1 1-3.4 0 1.7 1.7 0 0 1 3.4 0ZM40 37.7a1.7 1.7 0 1 0 0-3.4 1.7 1.7 0 0 0 0 3.4Z"
|
|
9
|
-
}
|
|
10
|
-
);
|
|
11
|
-
const normalHover = /* @__PURE__ */ jsx(
|
|
12
|
-
"path",
|
|
13
|
-
{
|
|
14
|
-
fillRule: "evenodd",
|
|
15
|
-
clipRule: "evenodd",
|
|
16
|
-
d: "M5.65 18.617c0-2.707 2.465-4.967 4.883-4.967 2.215 0 3.296 1.33 4.173 2.41.124.153.245.3.364.44l.503.586.492-.597.21-.259c.901-1.113 2.088-2.58 4.318-2.58 2.399 0 4.757 2.242 4.757 4.967 0 1.487-.414 2.982-1.112 4.45h-3.633l-1.787-7.036-3.407 8.332-2.946-3.463-2.377 2.167H6.692c-.653-1.419-1.042-2.906-1.042-4.45Zm1.55 5.45c1.983 3.573 5.437 6.55 7.937 8.705l.43.37c2.563-2.201 6.103-5.445 8.151-9.075h-3.891l-1.232-4.85-2.88 7.045-3.341-3.926-1.899 1.731H7.2Zm3.333-11.717c-3.115 0-6.183 2.822-6.183 6.267 0 1.858.493 3.61 1.273 5.231 2.012 4.186 6.011 7.626 8.668 9.911.3.258.583.502.844.73l.422.369.427-.363c2.738-2.33 7.127-6.211 9.317-10.64.822-1.661 1.349-3.427 1.349-5.238 0-3.427-2.923-6.267-6.057-6.267-2.587 0-4.111 1.576-5.031 2.693-.884-1.09-2.35-2.693-5.03-2.693ZM43.7 11a3.7 3.7 0 1 1-7.4 0 3.7 3.7 0 0 1 7.4 0Zm1.3 0a5 5 0 0 1-9.952.693A2.35 2.35 0 0 0 33.15 14v8.85h3.92a3.001 3.001 0 1 1 0 1.3h-3.92V33a2.35 2.35 0 0 0 2.35 2.35h1.57a3.001 3.001 0 1 1 0 1.3H35.5A3.65 3.65 0 0 1 31.85 33v-8.85H28v-1.3h3.85V14a3.65 3.65 0 0 1 3.188-3.621A5 5 0 0 1 45 11Zm-3.3 12.5a1.7 1.7 0 1 1-3.4 0 1.7 1.7 0 0 1 3.4 0ZM40 37.7a1.7 1.7 0 1 0 0-3.4 1.7 1.7 0 0 0 0 3.4Z"
|
|
17
|
-
}
|
|
18
|
-
);
|
|
19
|
-
return isHovered ? normalHover : normal;
|
|
20
|
-
};
|
|
21
|
-
export {
|
|
22
|
-
SharedHealthData as default
|
|
23
|
-
};
|
|
24
|
-
//# sourceMappingURL=SharedHealthMeasurements.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SharedHealthMeasurements.js","sources":["../../../src/components/Icons/SharedHealthMeasurements.tsx"],"sourcesContent":["import React from 'react';\n\nimport { SvgPathProps } from '../Icon';\n\nconst SharedHealthData: React.FC<SvgPathProps> = ({ isHovered }: SvgPathProps): React.ReactElement => {\n const normal = (\n <path\n fillRule=\"evenodd\"\n clipRule=\"evenodd\"\n d=\"M5.65 18.617c0-2.707 2.465-4.967 4.883-4.967 2.215 0 3.296 1.33 4.173 2.41.124.153.245.3.364.44l.503.586.492-.597.21-.259c.901-1.113 2.088-2.58 4.318-2.58 2.399 0 4.757 2.242 4.757 4.967 0 1.487-.414 2.982-1.112 4.45h-3.717l-1.834-3.576-3.064 6.518-3.163-8.747-2.507 5.805H6.692c-.653-1.419-1.042-2.906-1.042-4.45Zm1.55 5.45c1.983 3.573 5.437 6.55 7.937 8.705l.43.37c2.563-2.201 6.103-5.445 8.151-9.075H19.91l-1.184-2.309-3.223 6.858-3.125-8.642-1.768 4.093H7.2Zm3.333-11.717c-3.115 0-6.183 2.822-6.183 6.267 0 1.858.493 3.61 1.273 5.231 2.012 4.186 6.011 7.626 8.668 9.911.3.258.583.502.844.73l.422.369.427-.363c2.738-2.33 7.127-6.211 9.317-10.64.822-1.661 1.349-3.427 1.349-5.238 0-3.427-2.923-6.267-6.057-6.267-2.587 0-4.111 1.576-5.031 2.693-.884-1.09-2.35-2.693-5.03-2.693ZM41.7 11a1.7 1.7 0 1 1-3.4 0 1.7 1.7 0 0 1 3.4 0Zm1.3 0a3 3 0 0 1-5.93.65H35.5A2.35 2.35 0 0 0 33.15 14v8.85h3.92a3.001 3.001 0 1 1 0 1.3h-3.92V33a2.35 2.35 0 0 0 2.35 2.35h1.57a3.001 3.001 0 1 1 0 1.3H35.5A3.65 3.65 0 0 1 31.85 33v-8.85H28v-1.3h3.85V14a3.65 3.65 0 0 1 3.65-3.65h1.57A3.001 3.001 0 0 1 43 11Zm-1.3 12.5a1.7 1.7 0 1 1-3.4 0 1.7 1.7 0 0 1 3.4 0ZM40 37.7a1.7 1.7 0 1 0 0-3.4 1.7 1.7 0 0 0 0 3.4Z\"\n />\n );\n\n const normalHover = (\n <path\n fillRule=\"evenodd\"\n clipRule=\"evenodd\"\n d=\"M5.65 18.617c0-2.707 2.465-4.967 4.883-4.967 2.215 0 3.296 1.33 4.173 2.41.124.153.245.3.364.44l.503.586.492-.597.21-.259c.901-1.113 2.088-2.58 4.318-2.58 2.399 0 4.757 2.242 4.757 4.967 0 1.487-.414 2.982-1.112 4.45h-3.633l-1.787-7.036-3.407 8.332-2.946-3.463-2.377 2.167H6.692c-.653-1.419-1.042-2.906-1.042-4.45Zm1.55 5.45c1.983 3.573 5.437 6.55 7.937 8.705l.43.37c2.563-2.201 6.103-5.445 8.151-9.075h-3.891l-1.232-4.85-2.88 7.045-3.341-3.926-1.899 1.731H7.2Zm3.333-11.717c-3.115 0-6.183 2.822-6.183 6.267 0 1.858.493 3.61 1.273 5.231 2.012 4.186 6.011 7.626 8.668 9.911.3.258.583.502.844.73l.422.369.427-.363c2.738-2.33 7.127-6.211 9.317-10.64.822-1.661 1.349-3.427 1.349-5.238 0-3.427-2.923-6.267-6.057-6.267-2.587 0-4.111 1.576-5.031 2.693-.884-1.09-2.35-2.693-5.03-2.693ZM43.7 11a3.7 3.7 0 1 1-7.4 0 3.7 3.7 0 0 1 7.4 0Zm1.3 0a5 5 0 0 1-9.952.693A2.35 2.35 0 0 0 33.15 14v8.85h3.92a3.001 3.001 0 1 1 0 1.3h-3.92V33a2.35 2.35 0 0 0 2.35 2.35h1.57a3.001 3.001 0 1 1 0 1.3H35.5A3.65 3.65 0 0 1 31.85 33v-8.85H28v-1.3h3.85V14a3.65 3.65 0 0 1 3.188-3.621A5 5 0 0 1 45 11Zm-3.3 12.5a1.7 1.7 0 1 1-3.4 0 1.7 1.7 0 0 1 3.4 0ZM40 37.7a1.7 1.7 0 1 0 0-3.4 1.7 1.7 0 0 0 0 3.4Z\"\n />\n );\n\n return isHovered ? normalHover : normal;\n};\n\nexport default SharedHealthData;\n"],"names":[],"mappings":";AAIA,MAAM,mBAA2C,CAAC,EAAE,gBAAkD;AACpG,QAAM,SACJ;AAAA,IAAC;AAAA,IAAA;AAAA,MACC,UAAS;AAAA,MACT,UAAS;AAAA,MACT,GAAE;AAAA,IAAA;AAAA,EACJ;AAGF,QAAM,cACJ;AAAA,IAAC;AAAA,IAAA;AAAA,MACC,UAAS;AAAA,MACT,UAAS;AAAA,MACT,GAAE;AAAA,IAAA;AAAA,EACJ;AAGF,SAAO,YAAY,cAAc;AACnC;"}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { jsx } from "react/jsx-runtime";
|
|
2
|
-
const StickyNote = ({ isHovered }) => {
|
|
3
|
-
const normal = /* @__PURE__ */ jsx(
|
|
4
|
-
"path",
|
|
5
|
-
{
|
|
6
|
-
fillRule: "evenodd",
|
|
7
|
-
clipRule: "evenodd",
|
|
8
|
-
d: "M10 38.33h14.27a4.65 4.65 0 0 0 3.325-1.399l9.392-9.602a4.65 4.65 0 0 0 1.326-3.252V10H10v28.33Zm1.3-1.3V11.3h25.713v10.293h-.006V22.8a2.35 2.35 0 0 1-2.35 2.35h-8.81v9.528a2.35 2.35 0 0 1-2.35 2.35H11.3Zm23.357-10.58c.631 0 1.225-.16 1.742-.441a3.357 3.357 0 0 1-.341.41l-9.047 9.249c.088-.315.136-.647.136-.99V26.45h7.51ZM14.974 16.167h18.379v-1.3H14.974v1.3Zm7.568 10.813h-7.568v-1.3h7.568v1.3Zm-7.568-5.406h18.379v-1.3H14.974v1.3Z"
|
|
9
|
-
}
|
|
10
|
-
);
|
|
11
|
-
const normalHover = /* @__PURE__ */ jsx(
|
|
12
|
-
"path",
|
|
13
|
-
{
|
|
14
|
-
fillRule: "evenodd",
|
|
15
|
-
clipRule: "evenodd",
|
|
16
|
-
d: "M38.313 38.33H10V10h28.313v28.33ZM11.3 11.3v25.73h25.713V11.3H11.3Zm3.674 4.867h18.378v-1.3H14.974v1.3Zm7.568 10.813h-7.568v-1.3h7.568v1.3Zm-7.568-5.407h18.378v-1.3H14.974v1.3Z"
|
|
17
|
-
}
|
|
18
|
-
);
|
|
19
|
-
return isHovered ? normalHover : normal;
|
|
20
|
-
};
|
|
21
|
-
export {
|
|
22
|
-
StickyNote as default
|
|
23
|
-
};
|
|
24
|
-
//# sourceMappingURL=StickyNote.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"StickyNote.js","sources":["../../../src/components/Icons/StickyNote.tsx"],"sourcesContent":["import React from 'react';\n\nimport { SvgPathProps } from '../Icon';\n\nconst StickyNote: React.FC<SvgPathProps> = ({ isHovered }: SvgPathProps): React.ReactElement => {\n const normal = (\n <path\n fillRule=\"evenodd\"\n clipRule=\"evenodd\"\n d=\"M10 38.33h14.27a4.65 4.65 0 0 0 3.325-1.399l9.392-9.602a4.65 4.65 0 0 0 1.326-3.252V10H10v28.33Zm1.3-1.3V11.3h25.713v10.293h-.006V22.8a2.35 2.35 0 0 1-2.35 2.35h-8.81v9.528a2.35 2.35 0 0 1-2.35 2.35H11.3Zm23.357-10.58c.631 0 1.225-.16 1.742-.441a3.357 3.357 0 0 1-.341.41l-9.047 9.249c.088-.315.136-.647.136-.99V26.45h7.51ZM14.974 16.167h18.379v-1.3H14.974v1.3Zm7.568 10.813h-7.568v-1.3h7.568v1.3Zm-7.568-5.406h18.379v-1.3H14.974v1.3Z\"\n />\n );\n\n const normalHover = (\n <path\n fillRule=\"evenodd\"\n clipRule=\"evenodd\"\n d=\"M38.313 38.33H10V10h28.313v28.33ZM11.3 11.3v25.73h25.713V11.3H11.3Zm3.674 4.867h18.378v-1.3H14.974v1.3Zm7.568 10.813h-7.568v-1.3h7.568v1.3Zm-7.568-5.407h18.378v-1.3H14.974v1.3Z\"\n />\n );\n\n return isHovered ? normalHover : normal;\n};\n\nexport default StickyNote;\n"],"names":[],"mappings":";AAIA,MAAM,aAAqC,CAAC,EAAE,gBAAkD;AAC9F,QAAM,SACJ;AAAA,IAAC;AAAA,IAAA;AAAA,MACC,UAAS;AAAA,MACT,UAAS;AAAA,MACT,GAAE;AAAA,IAAA;AAAA,EACJ;AAGF,QAAM,cACJ;AAAA,IAAC;AAAA,IAAA;AAAA,MACC,UAAS;AAAA,MACT,UAAS;AAAA,MACT,GAAE;AAAA,IAAA;AAAA,EACJ;AAGF,SAAO,YAAY,cAAc;AACnC;"}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { jsx } from "react/jsx-runtime";
|
|
2
|
-
const StickyNote = ({ isHovered }) => {
|
|
3
|
-
const normal = /* @__PURE__ */ jsx(
|
|
4
|
-
"path",
|
|
5
|
-
{
|
|
6
|
-
fillRule: "evenodd",
|
|
7
|
-
clipRule: "evenodd",
|
|
8
|
-
d: "M12.686 35.08H9V9h24.883v2.648h-1.3V10.3H10.3v23.48h2.386v1.3Zm11.784 4.223H14.404v-26.08h24.883v10.682h.013v.858c0 .104-.004.207-.013.309v.975a4.65 4.65 0 0 1-1.326 3.251l-8.418 8.607a4.65 4.65 0 0 1-3.324 1.398H24.47Zm0-1.3h-8.766v-23.48h22.283V25.01a2.35 2.35 0 0 1-2.337 2.102h-7.895v8.54a2.35 2.35 0 0 1-2.35 2.35h-.935Zm4.433-1.303 8.129-8.31c.124-.128.237-.264.339-.407a3.634 3.634 0 0 1-1.721.43h-6.595v7.24c0 .364-.053.716-.152 1.047Zm5.786-17.884H19.003v-1.3h15.686v1.3ZM19.003 29.041H25v-1.3h-5.997v1.3Zm15.686-5.114H19.003v-1.3h15.686v1.3Z"
|
|
9
|
-
}
|
|
10
|
-
);
|
|
11
|
-
const normalHover = /* @__PURE__ */ jsx(
|
|
12
|
-
"path",
|
|
13
|
-
{
|
|
14
|
-
fillRule: "evenodd",
|
|
15
|
-
clipRule: "evenodd",
|
|
16
|
-
d: "M12.688 35.101H9V9h24.902v2.65h-1.3V10.3H10.3v23.501h2.388v1.3Zm1.72 4.227h24.903V13.227H14.409v26.1Zm1.3-1.3V14.527h22.303v23.5H15.709ZM34.71 18.823h-15.7v-1.3h15.7v1.3Zm-15.7 10.232h6.003v-1.3H19.01v1.3Zm15.7-5.117h-15.7v-1.3h15.7v1.3Z"
|
|
17
|
-
}
|
|
18
|
-
);
|
|
19
|
-
return isHovered ? normalHover : normal;
|
|
20
|
-
};
|
|
21
|
-
export {
|
|
22
|
-
StickyNote as default
|
|
23
|
-
};
|
|
24
|
-
//# sourceMappingURL=StickyNotes.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"StickyNotes.js","sources":["../../../src/components/Icons/StickyNotes.tsx"],"sourcesContent":["import React from 'react';\n\nimport { SvgPathProps } from '../Icon';\n\nconst StickyNote: React.FC<SvgPathProps> = ({ isHovered }: SvgPathProps): React.ReactElement => {\n const normal = (\n <path\n fillRule=\"evenodd\"\n clipRule=\"evenodd\"\n d=\"M12.686 35.08H9V9h24.883v2.648h-1.3V10.3H10.3v23.48h2.386v1.3Zm11.784 4.223H14.404v-26.08h24.883v10.682h.013v.858c0 .104-.004.207-.013.309v.975a4.65 4.65 0 0 1-1.326 3.251l-8.418 8.607a4.65 4.65 0 0 1-3.324 1.398H24.47Zm0-1.3h-8.766v-23.48h22.283V25.01a2.35 2.35 0 0 1-2.337 2.102h-7.895v8.54a2.35 2.35 0 0 1-2.35 2.35h-.935Zm4.433-1.303 8.129-8.31c.124-.128.237-.264.339-.407a3.634 3.634 0 0 1-1.721.43h-6.595v7.24c0 .364-.053.716-.152 1.047Zm5.786-17.884H19.003v-1.3h15.686v1.3ZM19.003 29.041H25v-1.3h-5.997v1.3Zm15.686-5.114H19.003v-1.3h15.686v1.3Z\"\n />\n );\n\n const normalHover = (\n <path\n fillRule=\"evenodd\"\n clipRule=\"evenodd\"\n d=\"M12.688 35.101H9V9h24.902v2.65h-1.3V10.3H10.3v23.501h2.388v1.3Zm1.72 4.227h24.903V13.227H14.409v26.1Zm1.3-1.3V14.527h22.303v23.5H15.709ZM34.71 18.823h-15.7v-1.3h15.7v1.3Zm-15.7 10.232h6.003v-1.3H19.01v1.3Zm15.7-5.117h-15.7v-1.3h15.7v1.3Z\"\n />\n );\n\n return isHovered ? normalHover : normal;\n};\n\nexport default StickyNote;\n"],"names":[],"mappings":";AAIA,MAAM,aAAqC,CAAC,EAAE,gBAAkD;AAC9F,QAAM,SACJ;AAAA,IAAC;AAAA,IAAA;AAAA,MACC,UAAS;AAAA,MACT,UAAS;AAAA,MACT,GAAE;AAAA,IAAA;AAAA,EACJ;AAGF,QAAM,cACJ;AAAA,IAAC;AAAA,IAAA;AAAA,MACC,UAAS;AAAA,MACT,UAAS;AAAA,MACT,GAAE;AAAA,IAAA;AAAA,EACJ;AAGF,SAAO,YAAY,cAAc;AACnC;"}
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
export type TriggerTags = 'button' | 'span';
|
|
3
|
-
export type TriggerVariant = 'help';
|
|
4
|
-
export type TriggerSize = 'medium' | 'large';
|
|
5
|
-
export type TriggerOnColor = 'onlight' | 'ondark';
|
|
6
|
-
export interface TriggerProps extends Pick<React.InputHTMLAttributes<HTMLButtonElement>, 'onClick' | 'aria-haspopup' | 'aria-controls'> {
|
|
7
|
-
/**
|
|
8
|
-
* Sets aria-label of the trigger. ariaLabel or ariaLabelledById MUST be set!
|
|
9
|
-
*/
|
|
10
|
-
ariaLabel?: string;
|
|
11
|
-
/**
|
|
12
|
-
* Sets aria-labelledby of the trigger. ariaLabel or ariaLabelledById MUST be set!
|
|
13
|
-
*/
|
|
14
|
-
ariaLabelledById?: string;
|
|
15
|
-
/**
|
|
16
|
-
* Controls the icon and color. Default: help.
|
|
17
|
-
*/
|
|
18
|
-
variant?: TriggerVariant;
|
|
19
|
-
/**
|
|
20
|
-
* Changes the design based on the background the trigger is placed on. Default: onlight.
|
|
21
|
-
*/
|
|
22
|
-
onColor?: TriggerOnColor;
|
|
23
|
-
/**
|
|
24
|
-
* Size of the trigger. Default: medium.
|
|
25
|
-
*/
|
|
26
|
-
size?: TriggerSize;
|
|
27
|
-
/**
|
|
28
|
-
* Indicates that the trigger is in use.
|
|
29
|
-
*/
|
|
30
|
-
selected?: boolean;
|
|
31
|
-
/**
|
|
32
|
-
* Indicates that the trigger is hovered. Used in combination with htmlMarkup=span to force visual hover state.
|
|
33
|
-
*/
|
|
34
|
-
isHovered?: boolean;
|
|
35
|
-
/**
|
|
36
|
-
* Changes the underlying element of the trigger. If set to span, the trigger will be a non-interactive icon. Default: button
|
|
37
|
-
*/
|
|
38
|
-
htmlMarkup?: TriggerTags;
|
|
39
|
-
/**
|
|
40
|
-
* Classname will be applied to the button element.
|
|
41
|
-
*/
|
|
42
|
-
className?: string;
|
|
43
|
-
/**
|
|
44
|
-
* Optional test id.
|
|
45
|
-
*/
|
|
46
|
-
testId?: string;
|
|
47
|
-
}
|
|
48
|
-
declare const Trigger: React.ForwardRefExoticComponent<TriggerProps & React.RefAttributes<HTMLButtonElement>>;
|
|
49
|
-
export default Trigger;
|