@helsenorge/designsystem-react 1.0.0-beta139 → 1.0.0-beta140
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/{AlertSignFill-e0a05c2b.js → AlertSignFill-5df5b7c7.js} +2 -2
- package/AlertSignFill-5df5b7c7.js.map +1 -0
- package/{AlertSignStroke-d16ccb9e.js → AlertSignStroke-32f09751.js} +2 -2
- package/AlertSignStroke-32f09751.js.map +1 -0
- package/AnchorLink-d5aca698.js +2 -0
- package/AnchorLink-d5aca698.js.map +1 -0
- package/ArrowDown-88b2c27a.js +2 -0
- package/ArrowDown-88b2c27a.js.map +1 -0
- package/{ArrowRight-2e4b6122.js → ArrowRight-43c97f7a.js} +2 -2
- package/ArrowRight-43c97f7a.js.map +1 -0
- package/ArrowUp-e7787d9c.js +2 -0
- package/ArrowUp-e7787d9c.js.map +1 -0
- package/{ArrowUpRight-e9f5b42e.js → ArrowUpRight-5be53e0d.js} +2 -2
- package/ArrowUpRight-5be53e0d.js.map +1 -0
- package/{Badge-d7e6ebd7.js → Badge-eebcb720.js} +2 -2
- package/Badge-eebcb720.js.map +1 -0
- package/{Button-1ae9497c.js → Button-78f848e6.js} +2 -2
- package/Button-78f848e6.js.map +1 -0
- package/{Calendar-03556b56.js → Calendar-a9aa98de.js} +2 -2
- package/Calendar-a9aa98de.js.map +1 -0
- package/{Check-632c2b4f.js → Check-fdf95f67.js} +2 -2
- package/Check-fdf95f67.js.map +1 -0
- package/{Checkbox-7d0879d2.js → Checkbox-b0815d04.js} +2 -2
- package/Checkbox-b0815d04.js.map +1 -0
- package/{ChevronDown-652aa9e9.js → ChevronDown-2b3daace.js} +2 -2
- package/ChevronDown-2b3daace.js.map +1 -0
- package/{ChevronRight-a4c19be9.js → ChevronRight-5ab9349b.js} +2 -2
- package/ChevronRight-5ab9349b.js.map +1 -0
- package/{ChevronUp-558a33cd.js → ChevronUp-dfafe27b.js} +2 -2
- package/ChevronUp-dfafe27b.js.map +1 -0
- package/{Close-ddb54826.js → Close-08d48540.js} +2 -2
- package/Close-08d48540.js.map +1 -0
- package/{FormGroup-60527189.js → FormGroup-c32db99d.js} +2 -2
- package/FormGroup-c32db99d.js.map +1 -0
- package/FormLayout-1a6866fe.js +2 -0
- package/FormLayout-1a6866fe.js.map +1 -0
- package/{Group-4d979be0.js → Group-71b8ae99.js} +2 -2
- package/Group-71b8ae99.js.map +1 -0
- package/{HelpBubble-6c6578d2.js → HelpBubble-2efa4680.js} +2 -2
- package/HelpBubble-2efa4680.js.map +1 -0
- package/{Hospital-444c2277.js → Hospital-e9e6a0b3.js} +2 -2
- package/Hospital-e9e6a0b3.js.map +1 -0
- package/{Icon-877aeed0.js → Icon-d69d65b3.js} +2 -2
- package/Icon-d69d65b3.js.map +1 -0
- package/{InfoSignStroke-415508d1.js → InfoSignStroke-f10d62aa.js} +2 -2
- package/InfoSignStroke-f10d62aa.js.map +1 -0
- package/{Input-eae60679.js → Input-9ccf3867.js} +2 -2
- package/Input-9ccf3867.js.map +1 -0
- package/{Loader-c8d984bc.js → Loader-06293a27.js} +2 -2
- package/Loader-06293a27.js.map +1 -0
- package/{Modal-aaedf680.js → Modal-3ed00fd4.js} +2 -2
- package/Modal-3ed00fd4.js.map +1 -0
- package/{NoAccess-c1a3f055.js → NoAccess-53a59f7d.js} +2 -2
- package/NoAccess-53a59f7d.js.map +1 -0
- package/Panel-1ce6fe37.js +2 -0
- package/Panel-1ce6fe37.js.map +1 -0
- package/{Pencil-0b63b983.js → Pencil-dd3fe667.js} +2 -2
- package/Pencil-dd3fe667.js.map +1 -0
- package/{PlusSmall-06513a15.js → PlusSmall-430bf03a.js} +2 -2
- package/PlusSmall-430bf03a.js.map +1 -0
- package/{RadioButton-dba5974f.js → RadioButton-3ce7a88d.js} +2 -2
- package/RadioButton-3ce7a88d.js.map +1 -0
- package/TableBody-eac2c23b.js +2 -0
- package/TableBody-eac2c23b.js.map +1 -0
- package/TableCell-cc644eb5.js +2 -0
- package/TableCell-cc644eb5.js.map +1 -0
- package/TableExpandedRow-44b09912.js +2 -0
- package/TableExpandedRow-44b09912.js.map +1 -0
- package/TableExpanderCell-015d3db2.js +2 -0
- package/TableExpanderCell-015d3db2.js.map +1 -0
- package/TableHead-5ed58948.js +2 -0
- package/TableHead-5ed58948.js.map +1 -0
- package/TableHeadCell-84651910.js +2 -0
- package/TableHeadCell-84651910.js.map +1 -0
- package/TableRow-19db3001.js +2 -0
- package/TableRow-19db3001.js.map +1 -0
- package/{Textarea-8ab0bec5.js → Textarea-56a24cb9.js} +2 -2
- package/Textarea-56a24cb9.js.map +1 -0
- package/{Title-b5e19cfc.js → Title-01820508.js} +2 -2
- package/Title-01820508.js.map +1 -0
- package/{Tooltip-f6c63399.js → Tooltip-d8293023.js} +2 -2
- package/Tooltip-d8293023.js.map +1 -0
- package/{Undo-7021257e.js → Undo-cc42e7d0.js} +2 -2
- package/Undo-cc42e7d0.js.map +1 -0
- package/{Validation-333c049f.js → Validation-087d9955.js} +2 -2
- package/Validation-087d9955.js.map +1 -0
- package/{Watch-a947e459.js → Watch-3d5fc351.js} +2 -2
- package/Watch-3d5fc351.js.map +1 -0
- package/{X-3e7c0719.js → X-867957f2.js} +2 -2
- package/X-867957f2.js.map +1 -0
- package/components/AnchorLink/AnchorLink.d.ts +7 -2
- package/components/AnchorLink/AnchorLink.d.ts.map +1 -1
- package/components/AnchorLink/componentdata.json +51 -1
- package/components/AnchorLink/index.js +1 -1
- package/components/AnchorLink/styles.module.scss +26 -8
- package/components/AnchorLink/styles.module.scss.d.ts +1 -0
- package/components/Avatar/index.js +1 -1
- package/components/Badge/index.js +1 -1
- package/components/Button/Button.d.ts +1 -1
- package/components/Button/Button.d.ts.map +1 -1
- package/components/Button/componentdata.json +1 -1
- package/components/Button/index.js +1 -1
- package/components/ButtonWithModal/index.js +1 -1
- package/components/Checkbox/index.js +1 -1
- package/components/Close/index.js +1 -1
- package/components/Dropdown/index.js +1 -1
- package/components/Expander/Expander.d.ts +1 -1
- package/components/Expander/Expander.d.ts.map +1 -1
- package/components/Expander/componentdata.json +1 -1
- package/components/Expander/index.js +1 -1
- package/components/ExpanderList/ExpanderList.d.ts.map +1 -1
- package/components/ExpanderList/index.js +1 -1
- package/components/ExpanderList/styles.module.scss +14 -3
- package/components/ExpanderList/styles.module.scss.d.ts +3 -0
- package/components/FormExample/index.js +1 -1
- package/components/FormGroup/index.js +1 -1
- package/components/FormLayout/index.js +1 -1
- package/components/HelpBubble/index.js +1 -1
- package/components/HelpBubble/styles.module.scss.d.ts +1 -0
- package/components/HelpBubbleExample/index.js +1 -1
- package/components/HighlightBox/index.js +1 -1
- package/components/Icons/AcupunctureBack.js +1 -1
- package/components/Icons/AlarmClock.js +1 -1
- package/components/Icons/AlertSignFill.js +1 -1
- package/components/Icons/AlertSignStroke.js +1 -1
- package/components/Icons/Archive.js +1 -1
- package/components/Icons/ArrowDown.d.ts +5 -0
- package/components/Icons/ArrowDown.d.ts.map +1 -0
- package/components/Icons/ArrowDown.js +2 -0
- package/components/Icons/ArrowDown.js.map +1 -0
- package/components/Icons/ArrowLeft.js +1 -1
- package/components/Icons/ArrowRight.js +1 -1
- package/components/Icons/ArrowUp.d.ts +5 -0
- package/components/Icons/ArrowUp.d.ts.map +1 -0
- package/components/Icons/ArrowUp.js +2 -0
- package/components/Icons/ArrowUp.js.map +1 -0
- package/components/Icons/ArrowUpRight.js +1 -1
- package/components/Icons/Attachment.js +1 -1
- package/components/Icons/Avatar.js +1 -1
- package/components/Icons/Bus.js +1 -1
- package/components/Icons/Calendar.js +1 -1
- package/components/Icons/CalendarChange.js +1 -1
- package/components/Icons/CalendarCheck.js +1 -1
- package/components/Icons/CalendarSave.js +1 -1
- package/components/Icons/Change.js +1 -1
- package/components/Icons/Check.js +1 -1
- package/components/Icons/CheckFill.js +1 -1
- package/components/Icons/ChevronDown.js +1 -1
- package/components/Icons/ChevronLeft.js +1 -1
- package/components/Icons/ChevronRight.js +1 -1
- package/components/Icons/ChevronUp.js +1 -1
- package/components/Icons/ChevronsDown.js +1 -1
- package/components/Icons/ChevronsUp.js +1 -1
- package/components/Icons/Contacts.js +1 -1
- package/components/Icons/Copy.js +1 -1
- package/components/Icons/Download.js +1 -1
- package/components/Icons/EChat.js +1 -1
- package/components/Icons/EnterFullScreen.js +1 -1
- package/components/Icons/Envelope.js +1 -1
- package/components/Icons/Eraser.js +1 -1
- package/components/Icons/ErrorSignFill.js +1 -1
- package/components/Icons/ErrorSignStroke.js +1 -1
- package/components/Icons/ExitFullScreen.js +1 -1
- package/components/Icons/Eye.js +1 -1
- package/components/Icons/Form.js +1 -1
- package/components/Icons/Forward.js +1 -1
- package/components/Icons/Gallery.js +1 -1
- package/components/Icons/Globe.js +1 -1
- package/components/Icons/Group.js +1 -1
- package/components/Icons/Heart.js +1 -1
- package/components/Icons/HelpSign.js +1 -1
- package/components/Icons/History.js +1 -1
- package/components/Icons/Home.js +1 -1
- package/components/Icons/Hospital.js +1 -1
- package/components/Icons/Hourglass.js +1 -1
- package/components/Icons/Icon.js +1 -1
- package/components/Icons/InfoSignFill.js +1 -1
- package/components/Icons/InfoSignStroke.js +1 -1
- package/components/Icons/Journal.js +1 -1
- package/components/Icons/List.js +1 -1
- package/components/Icons/Location.js +1 -1
- package/components/Icons/Lock.js +1 -1
- package/components/Icons/Medicine.js +1 -1
- package/components/Icons/Menu.js +1 -1
- package/components/Icons/Minus.js +1 -1
- package/components/Icons/MobilePhone.js +1 -1
- package/components/Icons/NoAccess.js +1 -1
- package/components/Icons/NoEye.js +1 -1
- package/components/Icons/NoFilter.js +1 -1
- package/components/Icons/PaperPlane.js +1 -1
- package/components/Icons/Pause.js +1 -1
- package/components/Icons/Pencil.js +1 -1
- package/components/Icons/Play.js +1 -1
- package/components/Icons/PlusLarge.js +1 -1
- package/components/Icons/PlusSmall.js +1 -1
- package/components/Icons/Printer.js +1 -1
- package/components/Icons/QrCode.js +1 -1
- package/components/Icons/Receptionist.js +1 -1
- package/components/Icons/Referral.js +1 -1
- package/components/Icons/Refresh.js +1 -1
- package/components/Icons/Reply.js +1 -1
- package/components/Icons/Save.js +1 -1
- package/components/Icons/Search.js +1 -1
- package/components/Icons/SectionSign.js +1 -1
- package/components/Icons/Settings.js +1 -1
- package/components/Icons/Share.js +1 -1
- package/components/Icons/SpeechBubble.js +1 -1
- package/components/Icons/Stopwatch.js +1 -1
- package/components/Icons/SupportingPerson.js +1 -1
- package/components/Icons/Syringe.js +1 -1
- package/components/Icons/TimePassing.js +1 -1
- package/components/Icons/Toolbox.js +1 -1
- package/components/Icons/TrashCan.js +1 -1
- package/components/Icons/Undo.js +1 -1
- package/components/Icons/Upload.js +1 -1
- package/components/Icons/Vaccine.js +1 -1
- package/components/Icons/VerticalDots.js +1 -1
- package/components/Icons/VideoCamera.js +1 -1
- package/components/Icons/VideoChat.js +1 -1
- package/components/Icons/Wallet.js +1 -1
- package/components/Icons/Watch.js +1 -1
- package/components/Icons/X.js +1 -1
- package/components/Icons/Zoom.js +1 -1
- package/components/Icons/index.js +1 -1
- package/components/Input/index.js +1 -1
- package/components/LinkList/LinkList.d.ts +4 -1
- package/components/LinkList/LinkList.d.ts.map +1 -1
- package/components/LinkList/index.js +1 -1
- package/components/LinkList/styles.module.scss +7 -1
- package/components/LinkList/styles.module.scss.d.ts +1 -0
- package/components/List/index.js +1 -1
- package/components/Loader/index.js +1 -1
- package/components/Logo/index.js +1 -1
- package/components/Modal/index.js +1 -1
- package/components/NotificationPanel/index.js +1 -1
- package/components/NotificationPanel/styles.module.scss.d.ts +1 -0
- package/components/Panel/Panel.d.ts +9 -0
- package/components/Panel/Panel.d.ts.map +1 -1
- package/components/Panel/componentdata.json +88 -0
- package/components/Panel/index.js +1 -1
- package/components/PanelList/index.js +1 -1
- package/components/Portal/index.js +1 -1
- package/components/RadioButton/index.js +1 -1
- package/components/Slider/index.js +1 -1
- package/components/Spacer/index.js +1 -1
- package/components/StatusDot/index.js +1 -1
- package/components/Table/Table.d.ts +20 -0
- package/components/Table/Table.d.ts.map +1 -0
- package/components/Table/TableBody.d.ts +10 -0
- package/components/Table/TableBody.d.ts.map +1 -0
- package/components/Table/TableBody.js +2 -0
- package/components/Table/TableBody.js.map +1 -0
- package/components/Table/TableCell.d.ts +21 -0
- package/components/Table/TableCell.d.ts.map +1 -0
- package/components/Table/TableCell.js +2 -0
- package/components/Table/TableCell.js.map +1 -0
- package/components/Table/TableExpandedRow.d.ts +18 -0
- package/components/Table/TableExpandedRow.d.ts.map +1 -0
- package/components/Table/TableExpandedRow.js +2 -0
- package/components/Table/TableExpandedRow.js.map +1 -0
- package/components/Table/TableExpanderCell.d.ts +16 -0
- package/components/Table/TableExpanderCell.d.ts.map +1 -0
- package/components/Table/TableExpanderCell.js +2 -0
- package/components/Table/TableExpanderCell.js.map +1 -0
- package/components/Table/TableHead.d.ts +17 -0
- package/components/Table/TableHead.d.ts.map +1 -0
- package/components/Table/TableHead.js +2 -0
- package/components/Table/TableHead.js.map +1 -0
- package/components/Table/TableHeadCell.d.ts +22 -0
- package/components/Table/TableHeadCell.d.ts.map +1 -0
- package/components/Table/TableHeadCell.js +2 -0
- package/components/Table/TableHeadCell.js.map +1 -0
- package/components/Table/TableRow.d.ts +22 -0
- package/components/Table/TableRow.d.ts.map +1 -0
- package/components/Table/TableRow.js +2 -0
- package/components/Table/TableRow.js.map +1 -0
- package/components/Table/collapseTwoCol.scss +144 -0
- package/components/Table/componentdata.json +137 -0
- package/components/Table/index.d.ts +11 -0
- package/components/Table/index.d.ts.map +1 -0
- package/components/Table/index.js +2 -0
- package/components/Table/index.js.map +1 -0
- package/components/Table/styles.module.scss +136 -0
- package/components/Tag/index.js +1 -1
- package/components/TagList/index.js +1 -1
- package/components/Textarea/index.js +1 -1
- package/components/Tile/Tile.d.ts +3 -0
- package/components/Tile/Tile.d.ts.map +1 -1
- package/components/Tile/componentdata.json +31 -0
- package/components/Tile/index.js +1 -1
- package/components/Tile/styles.module.scss +4 -0
- package/components/Tile/styles.module.scss.d.ts +1 -0
- package/components/Title/index.js +1 -1
- package/components/Tooltip/index.js +1 -1
- package/components/TooltipExample/index.js +1 -1
- package/components/Validation/index.js +1 -1
- package/constants-dbdea596.js +2 -0
- package/constants-dbdea596.js.map +1 -0
- package/constants.d.ts +1 -0
- package/constants.d.ts.map +1 -1
- package/hooks/useHover.d.ts.map +1 -1
- package/{index-7f01d36f.js → index-28ed5ede.js} +2 -2
- package/index-28ed5ede.js.map +1 -0
- package/index.js +1 -1
- package/package.json +1 -1
- package/scss/_breakpoints.scss +6 -0
- package/useHover-18479690.js +2 -0
- package/useHover-18479690.js.map +1 -0
- package/AlertSignFill-e0a05c2b.js.map +0 -1
- package/AlertSignStroke-d16ccb9e.js.map +0 -1
- package/AnchorLink-140a72b0.js +0 -2
- package/AnchorLink-140a72b0.js.map +0 -1
- package/ArrowRight-2e4b6122.js.map +0 -1
- package/ArrowUpRight-e9f5b42e.js.map +0 -1
- package/Badge-d7e6ebd7.js.map +0 -1
- package/Button-1ae9497c.js.map +0 -1
- package/Calendar-03556b56.js.map +0 -1
- package/Check-632c2b4f.js.map +0 -1
- package/Checkbox-7d0879d2.js.map +0 -1
- package/ChevronDown-652aa9e9.js.map +0 -1
- package/ChevronRight-a4c19be9.js.map +0 -1
- package/ChevronUp-558a33cd.js.map +0 -1
- package/Close-ddb54826.js.map +0 -1
- package/FormGroup-60527189.js.map +0 -1
- package/FormLayout-4207a2c9.js +0 -2
- package/FormLayout-4207a2c9.js.map +0 -1
- package/Group-4d979be0.js.map +0 -1
- package/HelpBubble-6c6578d2.js.map +0 -1
- package/Hospital-444c2277.js.map +0 -1
- package/Icon-877aeed0.js.map +0 -1
- package/InfoSignStroke-415508d1.js.map +0 -1
- package/Input-eae60679.js.map +0 -1
- package/Loader-c8d984bc.js.map +0 -1
- package/Modal-aaedf680.js.map +0 -1
- package/NoAccess-c1a3f055.js.map +0 -1
- package/Panel-de0c5303.js +0 -2
- package/Panel-de0c5303.js.map +0 -1
- package/Pencil-0b63b983.js.map +0 -1
- package/PlusSmall-06513a15.js.map +0 -1
- package/RadioButton-dba5974f.js.map +0 -1
- package/Textarea-8ab0bec5.js.map +0 -1
- package/Title-b5e19cfc.js.map +0 -1
- package/Tooltip-f6c63399.js.map +0 -1
- package/Undo-7021257e.js.map +0 -1
- package/Validation-333c049f.js.map +0 -1
- package/Watch-a947e459.js.map +0 -1
- package/X-3e7c0719.js.map +0 -1
- package/constants-d84659f5.js +0 -2
- package/constants-d84659f5.js.map +0 -1
- package/index-7f01d36f.js.map +0 -1
- package/useHover-b995a0e6.js +0 -2
- package/useHover-b995a0e6.js.map +0 -1
|
@@ -0,0 +1,137 @@
|
|
|
1
|
+
{
|
|
2
|
+
"props": {
|
|
3
|
+
"expandable": {
|
|
4
|
+
"defaultValue": null,
|
|
5
|
+
"description": "Sets if expanded row can be expanded",
|
|
6
|
+
"name": "expandable",
|
|
7
|
+
"parent": {
|
|
8
|
+
"fileName": "src/components/Table/TableRow.tsx",
|
|
9
|
+
"name": "Props"
|
|
10
|
+
},
|
|
11
|
+
"declarations": [
|
|
12
|
+
{
|
|
13
|
+
"fileName": "src/components/Table/TableRow.tsx",
|
|
14
|
+
"name": "Props"
|
|
15
|
+
}
|
|
16
|
+
],
|
|
17
|
+
"required": false,
|
|
18
|
+
"type": {
|
|
19
|
+
"name": "boolean"
|
|
20
|
+
}
|
|
21
|
+
},
|
|
22
|
+
"expanded": {
|
|
23
|
+
"defaultValue": null,
|
|
24
|
+
"description": "Sets if expanded row is expanded",
|
|
25
|
+
"name": "expanded",
|
|
26
|
+
"parent": {
|
|
27
|
+
"fileName": "src/components/Table/TableRow.tsx",
|
|
28
|
+
"name": "Props"
|
|
29
|
+
},
|
|
30
|
+
"declarations": [
|
|
31
|
+
{
|
|
32
|
+
"fileName": "src/components/Table/TableRow.tsx",
|
|
33
|
+
"name": "Props"
|
|
34
|
+
}
|
|
35
|
+
],
|
|
36
|
+
"required": false,
|
|
37
|
+
"type": {
|
|
38
|
+
"name": "boolean"
|
|
39
|
+
}
|
|
40
|
+
},
|
|
41
|
+
"onClick": {
|
|
42
|
+
"defaultValue": null,
|
|
43
|
+
"description": "When hide/show button for expanded row is clicked.",
|
|
44
|
+
"name": "onClick",
|
|
45
|
+
"parent": {
|
|
46
|
+
"fileName": "src/components/Table/TableRow.tsx",
|
|
47
|
+
"name": "Props"
|
|
48
|
+
},
|
|
49
|
+
"declarations": [
|
|
50
|
+
{
|
|
51
|
+
"fileName": "src/components/Table/TableRow.tsx",
|
|
52
|
+
"name": "Props"
|
|
53
|
+
}
|
|
54
|
+
],
|
|
55
|
+
"required": false,
|
|
56
|
+
"type": {
|
|
57
|
+
"name": "(() => void)"
|
|
58
|
+
}
|
|
59
|
+
},
|
|
60
|
+
"hideDetailsText": {
|
|
61
|
+
"defaultValue": null,
|
|
62
|
+
"description": "Text for expanded row hide button.",
|
|
63
|
+
"name": "hideDetailsText",
|
|
64
|
+
"parent": {
|
|
65
|
+
"fileName": "src/components/Table/TableRow.tsx",
|
|
66
|
+
"name": "Props"
|
|
67
|
+
},
|
|
68
|
+
"declarations": [
|
|
69
|
+
{
|
|
70
|
+
"fileName": "src/components/Table/TableRow.tsx",
|
|
71
|
+
"name": "Props"
|
|
72
|
+
}
|
|
73
|
+
],
|
|
74
|
+
"required": false,
|
|
75
|
+
"type": {
|
|
76
|
+
"name": "string"
|
|
77
|
+
}
|
|
78
|
+
},
|
|
79
|
+
"showDetailsText": {
|
|
80
|
+
"defaultValue": null,
|
|
81
|
+
"description": "Text for expanded row show button.",
|
|
82
|
+
"name": "showDetailsText",
|
|
83
|
+
"parent": {
|
|
84
|
+
"fileName": "src/components/Table/TableRow.tsx",
|
|
85
|
+
"name": "Props"
|
|
86
|
+
},
|
|
87
|
+
"declarations": [
|
|
88
|
+
{
|
|
89
|
+
"fileName": "src/components/Table/TableRow.tsx",
|
|
90
|
+
"name": "Props"
|
|
91
|
+
}
|
|
92
|
+
],
|
|
93
|
+
"required": false,
|
|
94
|
+
"type": {
|
|
95
|
+
"name": "string"
|
|
96
|
+
}
|
|
97
|
+
},
|
|
98
|
+
"className": {
|
|
99
|
+
"defaultValue": null,
|
|
100
|
+
"description": "Adds custom classes to the element.",
|
|
101
|
+
"name": "className",
|
|
102
|
+
"parent": {
|
|
103
|
+
"fileName": "src/components/Table/TableRow.tsx",
|
|
104
|
+
"name": "Props"
|
|
105
|
+
},
|
|
106
|
+
"declarations": [
|
|
107
|
+
{
|
|
108
|
+
"fileName": "src/components/Table/TableRow.tsx",
|
|
109
|
+
"name": "Props"
|
|
110
|
+
}
|
|
111
|
+
],
|
|
112
|
+
"required": false,
|
|
113
|
+
"type": {
|
|
114
|
+
"name": "string"
|
|
115
|
+
}
|
|
116
|
+
},
|
|
117
|
+
"children": {
|
|
118
|
+
"defaultValue": null,
|
|
119
|
+
"description": "Sets the cells of the table row element.",
|
|
120
|
+
"name": "children",
|
|
121
|
+
"parent": {
|
|
122
|
+
"fileName": "src/components/Table/TableRow.tsx",
|
|
123
|
+
"name": "Props"
|
|
124
|
+
},
|
|
125
|
+
"declarations": [
|
|
126
|
+
{
|
|
127
|
+
"fileName": "src/components/Table/TableRow.tsx",
|
|
128
|
+
"name": "Props"
|
|
129
|
+
}
|
|
130
|
+
],
|
|
131
|
+
"required": false,
|
|
132
|
+
"type": {
|
|
133
|
+
"name": "ReactNode"
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Table } from './Table';
|
|
2
|
+
export { TableBody } from './TableBody';
|
|
3
|
+
export { TableCell, TextAlign } from './TableCell';
|
|
4
|
+
export { TableExpandedRow } from './TableExpandedRow';
|
|
5
|
+
export { TableExpanderCell } from './TableExpanderCell';
|
|
6
|
+
export { TableHead, HeaderCategory } from './TableHead';
|
|
7
|
+
export { TableHeadCell, SortDirection } from './TableHeadCell';
|
|
8
|
+
export { TableRow } from './TableRow';
|
|
9
|
+
export * from './Table';
|
|
10
|
+
export default Table;
|
|
11
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Table/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAEhC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACnD,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AACxD,OAAO,EAAE,aAAa,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAC/D,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAEtC,cAAc,SAAS,CAAC;AAExB,eAAe,KAAK,CAAC"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{d as e}from"../../_rollupPluginBabelHelpers-0f007973.js";import o from"react";import{c as r}from"../../index-d1c0552c.js";import s from"./styles.module.scss";import{A as t}from"../../constants-dbdea596.js";export{T as TableBody}from"../../TableBody-eac2c23b.js";export{T as TableCell,a as TextAlign}from"../../TableCell-cc644eb5.js";export{T as TableExpandedRow}from"../../TableExpandedRow-44b09912.js";export{T as TableExpanderCell}from"../../TableExpanderCell-015d3db2.js";export{H as HeaderCategory,T as TableHead}from"../../TableHead-5ed58948.js";export{S as SortDirection,T as TableHeadCell}from"../../TableHeadCell-84651910.js";export{T as TableRow}from"../../TableRow-19db3001.js";import"../../Button-78f848e6.js";import"../../_tslib-b219470a.js";import"../../color-e7d082c1.js";import"../../index-d1c9177a.js";import"../../palette-f206f488.js";import"../../grid-c105cad1.js";import"../../Icon-d69d65b3.js";import"../../useUuid-3b1e73f2.js";import"../../uuid-11037462.js";import"../../Loader-06293a27.js";import"../Loader/styles.module.scss";import"../../useHover-18479690.js";import"../../useBreakpoint-a74f5af5.js";import"../Button/styles.module.scss";import"../../ChevronUp-dfafe27b.js";import"../../ChevronDown-2b3daace.js";import"../../ArrowUp-e7787d9c.js";import"../../ArrowDown-88b2c27a.js";var l;!function(e){e.horizontalscroll="horizontalscroll",e.block="block"}(l||(l={}));var d=function(a){var d=a.id,i=a.testId,p=a.className,m=a.children,c=a.smallViewportVariant,b=void 0===c?l.block:c,n=r(s.table,e({},s["table--collapse2col"],b===l.block),p);return o.createElement("table",{className:n,id:d,"data-testid":i,"data-analyticsid":t.Table},m)};export{l as SmallViewportVariant,d as Table,d as default};
|
|
2
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -0,0 +1,136 @@
|
|
|
1
|
+
@import '../../scss/_spacers.scss';
|
|
2
|
+
@import '../../scss/_breakpoints.scss';
|
|
3
|
+
@import '../../scss/_palette.scss';
|
|
4
|
+
@import '../../scss/_grid.scss';
|
|
5
|
+
@import '../../scss/_font-settings.scss';
|
|
6
|
+
|
|
7
|
+
/* fix outline for Safari */
|
|
8
|
+
table tbody tr {
|
|
9
|
+
outline: 3px solid transparent;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.table {
|
|
13
|
+
width: 100%;
|
|
14
|
+
border-collapse: collapse;
|
|
15
|
+
|
|
16
|
+
&__expander-cell-mobile {
|
|
17
|
+
display: none;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.table__head {
|
|
22
|
+
background: $blueberry50;
|
|
23
|
+
&--normal {
|
|
24
|
+
background: $neutral50;
|
|
25
|
+
}
|
|
26
|
+
&--transparent {
|
|
27
|
+
background: transparent;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
&--sortable {
|
|
31
|
+
background: $blueberry50;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
@media (min-width: map-get($grid-breakpoints, lg)) {
|
|
35
|
+
height: 6.125rem;
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.table__head-cell {
|
|
40
|
+
height: 3.625rem;
|
|
41
|
+
font-size: $font-size-sm;
|
|
42
|
+
line-height: 1.5rem;
|
|
43
|
+
text-align: left;
|
|
44
|
+
vertical-align: bottom;
|
|
45
|
+
font-weight: 200;
|
|
46
|
+
padding: 0.5rem 0.75rem;
|
|
47
|
+
border: 1px solid $neutral500;
|
|
48
|
+
|
|
49
|
+
&--sortable:hover {
|
|
50
|
+
background-color: $blueberry100;
|
|
51
|
+
cursor: pointer;
|
|
52
|
+
}
|
|
53
|
+
&--sortable:focus {
|
|
54
|
+
outline: 3px solid $black;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
&--sorted {
|
|
58
|
+
text-decoration: underline;
|
|
59
|
+
text-decoration-thickness: 1px;
|
|
60
|
+
text-underline-offset: 0.3125rem;
|
|
61
|
+
}
|
|
62
|
+
@media (min-width: map-get($grid-breakpoints, lg)) {
|
|
63
|
+
padding: 1rem;
|
|
64
|
+
height: 5.5rem;
|
|
65
|
+
font-size: $font-size-md;
|
|
66
|
+
line-height: 1.75rem;
|
|
67
|
+
font-weight: 200;
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
.table__head-cell-sort-icon-wrapper {
|
|
72
|
+
min-height: 2rem;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
.table__cell {
|
|
76
|
+
height: 2, 375;
|
|
77
|
+
font-size: $font-size-xs;
|
|
78
|
+
line-height: 1.5rem;
|
|
79
|
+
padding: 0.5rem 0.75rem;
|
|
80
|
+
text-align: left;
|
|
81
|
+
border: 1px solid $neutral500;
|
|
82
|
+
|
|
83
|
+
&--center {
|
|
84
|
+
text-align: center;
|
|
85
|
+
}
|
|
86
|
+
&--right {
|
|
87
|
+
text-align: right;
|
|
88
|
+
}
|
|
89
|
+
&--nowrap {
|
|
90
|
+
white-space: nowrap;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
@media (min-width: map-get($grid-breakpoints, lg)) {
|
|
94
|
+
padding: 1rem;
|
|
95
|
+
height: 3.625rem;
|
|
96
|
+
font-size: $font-size-sm;
|
|
97
|
+
line-height: 1.75rem;
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
.table__cell-expander {
|
|
102
|
+
text-align: center;
|
|
103
|
+
width: min-content;
|
|
104
|
+
padding: 0px;
|
|
105
|
+
vertical-align: middle;
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
.table__row--expandable {
|
|
109
|
+
&--selected {
|
|
110
|
+
background: $neutral100;
|
|
111
|
+
}
|
|
112
|
+
&:hover {
|
|
113
|
+
cursor: pointer;
|
|
114
|
+
background: $neutral100;
|
|
115
|
+
}
|
|
116
|
+
&:focus-within {
|
|
117
|
+
outline: 3px solid $black;
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
.table__expanded-row {
|
|
121
|
+
display: none;
|
|
122
|
+
&--expanded {
|
|
123
|
+
display: table-row;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
&-container {
|
|
127
|
+
padding: 0.5rem;
|
|
128
|
+
@media (min-width: map-get($grid-breakpoints, lg)) {
|
|
129
|
+
&--open {
|
|
130
|
+
border-bottom: 1px solid $neutral100;
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
@import 'collapseTwoCol.scss';
|
package/components/Tag/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{d as o}from"../../_rollupPluginBabelHelpers-0f007973.js";import t from"react";import{c as a}from"../../index-d1c0552c.js";import{I as e}from"../../Icon-
|
|
1
|
+
import{d as o}from"../../_rollupPluginBabelHelpers-0f007973.js";import t from"react";import{c as a}from"../../index-d1c0552c.js";import{I as e}from"../../Icon-d69d65b3.js";import{A as r,I as c}from"../../constants-dbdea596.js";import{p as n}from"../../palette-f206f488.js";import s from"./styles.module.scss";import{u as i}from"../../useHover-18479690.js";import{U as m}from"../../Undo-cc42e7d0.js";import{X as l}from"../../X-867957f2.js";import"../../_tslib-b219470a.js";import"../../useUuid-3b1e73f2.js";import"../../uuid-11037462.js";var d,u,f;!function(o){o.medium="medium",o.large="large"}(d||(d={})),function(o){o.remove="remove",o.undo="undo"}(u||(u={})),function(o){o.normal="normal",o.oncolor="oncolor",o.emphasised="emphasised"}(f||(f={}));var p=function(o){var d=o.children,u=o.size,f=o.color,p=o.variant,v=o.action,g=o.onClick,b=o.testId,j=i(),I=j.hoverRef,h=j.isHovered,y=a(s.tag,s["tag--".concat(u)],s["tag--".concat(v)],s["tag--has-action"],"remove"===v&&[s["tag--".concat(f)],s["tag--".concat(p)]]);return t.createElement("button",{className:y,onClick:g,ref:I,type:"button","data-testid":b,"data-analyticsid":r.Tag},d,t.createElement(e,{svgIcon:function(){switch(v){case"remove":return l;case"undo":return m}}(),size:c.XXSmall,color:n["".concat("undo"===v?"blueberry":f,"800")],isHovered:h}))},v=function(i){var m=i.children,l=i.size,u=void 0===l?d.medium:l,f=i.color,v=void 0===f?"blueberry":f,g=i.svgIcon,b=i.variant,j=void 0===b?"normal":b,I=i.action,h=i.onClick,y=i.testId,z=a(s.tag,s["tag--".concat(u)],s["tag--".concat(v)],s["tag--".concat(j)],o({},s["tag--has-icon"],g));return I&&h?t.createElement(p,{size:u,color:v,variant:j,action:I,onClick:h,testId:y},m):t.createElement("span",{className:z,"data-testid":y,"data-analyticsid":r.Tag},g&&t.createElement(e,{svgIcon:g,size:c.XXSmall,color:n["".concat(v,"800")],className:s.tag__icon}),m)};export{u as TagAction,d as TagSize,f as TagVariant,v as default};
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import t from"react";import a from"./styles.module.scss";import{A as s}from"../../constants-
|
|
1
|
+
import t from"react";import a from"./styles.module.scss";import{A as s}from"../../constants-dbdea596.js";var e=function(e){var r=e.children,d=e.testId;return t.createElement("div",{className:a["tag-list"],"data-testid":d,"data-analyticsid":s.TagList},r)};export{e as default};
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export{T as default}from"../../Textarea-
|
|
1
|
+
export{T as default}from"../../Textarea-56a24cb9.js";import"../../_rollupPluginBabelHelpers-0f007973.js";import"../../_tslib-b219470a.js";import"react";import"../../index-d1c0552c.js";import"./styles.module.scss";import"../../constants-dbdea596.js";import"../../uuid-11037462.js";import"../../Input-9ccf3867.js";import"../../Icon-d69d65b3.js";import"../../useUuid-3b1e73f2.js";import"../../color-e7d082c1.js";import"../../index-d1c9177a.js";import"../../palette-f206f488.js";import"../../grid-c105cad1.js";import"../../useBreakpoint-a74f5af5.js";import"../Input/styles.module.scss";
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { HTMLAnchorProps } from '../../constants';
|
|
3
3
|
import { TitleTags } from './../Title/Title';
|
|
4
|
+
export declare type TileTags = 'button' | 'a';
|
|
4
5
|
interface TileProps extends HTMLAnchorProps {
|
|
5
6
|
/** Adds custom classes to the element. */
|
|
6
7
|
className?: string;
|
|
@@ -16,6 +17,8 @@ interface TileProps extends HTMLAnchorProps {
|
|
|
16
17
|
fixed?: boolean;
|
|
17
18
|
/** Called when the tile is clicked on. */
|
|
18
19
|
onClick?: (e?: React.MouseEvent<HTMLElement, MouseEvent>) => void;
|
|
20
|
+
/** HTML markup for tile. Default: a */
|
|
21
|
+
htmlMarkup?: TileTags;
|
|
19
22
|
/** Sets the data-testid attribute. */
|
|
20
23
|
testId?: string;
|
|
21
24
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Tile.d.ts","sourceRoot":"","sources":["../../../src/components/Tile/Tile.tsx"],"names":[],"mappings":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,CAAC,yBAAyB,CAAC,cAAc,GAAG,KAAK,CAAC,aAAa,CAAC,kBAAkB,CAAC,CAAC,CAAC;CAClG;AAqBD,eAAO,MAAM,IAAI,cAuDC,CAAC;AAInB,eAAe,IAAI,CAAC"}
|
|
@@ -133,6 +133,37 @@
|
|
|
133
133
|
"name": "((e?: MouseEvent<HTMLElement, MouseEvent>) => void) | undefined"
|
|
134
134
|
}
|
|
135
135
|
},
|
|
136
|
+
"htmlMarkup": {
|
|
137
|
+
"defaultValue": null,
|
|
138
|
+
"description": "HTML markup for tile. Default: a",
|
|
139
|
+
"name": "htmlMarkup",
|
|
140
|
+
"parent": {
|
|
141
|
+
"fileName": "src/components/Tile/Tile.tsx",
|
|
142
|
+
"name": "TileProps"
|
|
143
|
+
},
|
|
144
|
+
"declarations": [
|
|
145
|
+
{
|
|
146
|
+
"fileName": "src/components/Tile/Tile.tsx",
|
|
147
|
+
"name": "TileProps"
|
|
148
|
+
}
|
|
149
|
+
],
|
|
150
|
+
"required": false,
|
|
151
|
+
"type": {
|
|
152
|
+
"name": "enum",
|
|
153
|
+
"raw": "TileTags | undefined",
|
|
154
|
+
"value": [
|
|
155
|
+
{
|
|
156
|
+
"value": "undefined"
|
|
157
|
+
},
|
|
158
|
+
{
|
|
159
|
+
"value": "\"button\""
|
|
160
|
+
},
|
|
161
|
+
{
|
|
162
|
+
"value": "\"a\""
|
|
163
|
+
}
|
|
164
|
+
]
|
|
165
|
+
}
|
|
166
|
+
},
|
|
136
167
|
"testId": {
|
|
137
168
|
"defaultValue": null,
|
|
138
169
|
"description": "Sets the data-testid attribute.",
|
package/components/Tile/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{d as e
|
|
1
|
+
import{d as e}from"../../_rollupPluginBabelHelpers-0f007973.js";import{_ as t}from"../../_tslib-b219470a.js";import i from"react";import{c as r}from"../../index-d1c0552c.js";import{A as a,I as l}from"../../constants-dbdea596.js";import"../../Icon-d69d65b3.js";import o from"./styles.module.scss";import{u as s}from"../../useHover-18479690.js";import"../../useUuid-3b1e73f2.js";import"../../uuid-11037462.js";var n=i.forwardRef((function(t,a){var l,s=t.children,n=t.className,c=t.htmlMarkup,m=void 0===c?"span":c,d=t.highlighted,p=t.compact,u=r(o.tile__title,(e(l={},o["tile__title--highlighted"],d),e(l,o["tile__title--compact"],p),l),n),f=m;return i.createElement(f,{className:u,ref:a},s)})),c=i.forwardRef((function(n,c){var m,d,p=n.icon,u=n.title,f=n.className,h=void 0===f?"":f,g=n.description,b=n.fixed,v=void 0!==b&&b,_=n.highlighted,j=void 0!==_&&_,E=n.testId,N=n.htmlMarkup,k=void 0===N?"a":N,w=t(n,["icon","title","className","description","fixed","highlighted","testId","htmlMarkup"]),x=s(c),H=x.hoverRef,I=x.isHovered,M=!g,y=r(o.tile,(e(m={},o["tile--fixed"],v),e(m,o["tile--compact"],M),e(m,o["tile--highlighted"],j),e(m,o["tile--button"],"button"===k),m),h),O=r(o["title-wrapper"],e({},o["title-wrapper--compact"],M)),R=function(){return i.createElement(i.Fragment,null,i.createElement("div",{className:O},i.cloneElement(p,{size:l.Medium,isHovered:I,color:j?"white":"black"}),i.cloneElement(u,{highlighted:j,compact:M})),g?i.createElement("p",{className:o.tile__description},g):null)},F=Object.assign((e(d={className:y},"data-testid",E),e(d,"data-analyticsid",a.Tile),d),w);return i.createElement(i.Fragment,null,"a"===k&&i.createElement("a",Object.assign({ref:H,rel:"_blank"===n.target?"noopener noreferrer":n.rel},F),R()),"button"===k&&i.createElement("button",Object.assign({ref:H,type:"button"},F),R()))}));c.Title=n;export{c as Tile,c as default};
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export{T as Title,T as default,i as instanceOfTitleMargin}from"../../Title-
|
|
1
|
+
export{T as Title,T as default,i as instanceOfTitleMargin}from"../../Title-01820508.js";import"../../_rollupPluginBabelHelpers-0f007973.js";import"react";import"../../index-d1c0552c.js";import"./styles.module.scss";import"../../constants-dbdea596.js";
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export{T as Tooltip,b as TooltipOpenProvider,T as default,u as useTooltipOpen,a as useTooltipOpenToggle}from"../../Tooltip-
|
|
1
|
+
export{T as Tooltip,b as TooltipOpenProvider,T as default,u as useTooltipOpen,a as useTooltipOpenToggle}from"../../Tooltip-d8293023.js";import"../../_rollupPluginBabelHelpers-0f007973.js";import"react";import"../../constants-dbdea596.js";import"../../useUuid-3b1e73f2.js";import"../../uuid-11037462.js";import"../../HelpBubble-2efa4680.js";import"../../index-d1c0552c.js";import"../../AnchorLink-d5aca698.js";import"../../Icon-d69d65b3.js";import"../../_tslib-b219470a.js";import"../../ArrowUpRight-5be53e0d.js";import"../../color-e7d082c1.js";import"../../index-d1c9177a.js";import"../../palette-f206f488.js";import"../../grid-c105cad1.js";import"../../useHover-18479690.js";import"../AnchorLink/styles.module.scss";import"../../Close-08d48540.js";import"../../X-867957f2.js";import"../Close/styles.module.scss";import"../../useBreakpoint-a74f5af5.js";import"../HelpBubble/styles.module.scss";import"./styles.module.scss";
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import e from"react";import{b as i,T as t}from"../../Tooltip-
|
|
1
|
+
import e from"react";import{b as i,T as t}from"../../Tooltip-d8293023.js";import"../../_rollupPluginBabelHelpers-0f007973.js";import"../../constants-dbdea596.js";import"../../useUuid-3b1e73f2.js";import"../../uuid-11037462.js";import"../../HelpBubble-2efa4680.js";import"../../index-d1c0552c.js";import"../../AnchorLink-d5aca698.js";import"../../Icon-d69d65b3.js";import"../../_tslib-b219470a.js";import"../../ArrowUpRight-5be53e0d.js";import"../../color-e7d082c1.js";import"../../index-d1c9177a.js";import"../../palette-f206f488.js";import"../../grid-c105cad1.js";import"../../useHover-18479690.js";import"../AnchorLink/styles.module.scss";import"../../Close-08d48540.js";import"../../X-867957f2.js";import"../Close/styles.module.scss";import"../../useBreakpoint-a74f5af5.js";import"../HelpBubble/styles.module.scss";import"../Tooltip/styles.module.scss";var s="Dolore quis tempor culpa exercitation laboris. Enim enim pariatur veniam nisi ad quis fugiat magna occaecat nisi. Excepteur ad ad duis quis mollit ex. Laboris duis velit eu eiusmod ea in ex aliqua. Est proident proident dolor veniam nostrud aliquip occaecat dolore sunt laboris nisi ipsum Lorem nisi. Magna sunt ex occaecat amet id. Eiusmod magna Lorem proident est occaecat pariatur sunt esse nostrud. Mollit reprehenderit velit veniam amet ipsum veniam et. Dolor sunt adipisicing enim dolore quis qui occaecat esse quis ut fugiat laboris. ",o=function(o){return e.createElement(i,null,e.createElement(e.Fragment,null,e.createElement(t,Object.assign({},o),"Et tooltip her.")," "+s,"Dette er ",e.createElement(t,Object.assign({},o),o.children)," som skal ha nærmere forklaring.",s,e.createElement(t,Object.assign({},o),"Enda et tooltip her.")))};export{o as default};
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export{V as Validation,V as default}from"../../Validation-
|
|
1
|
+
export{V as Validation,V as default}from"../../Validation-087d9955.js";import"react";import"../../index-d1c0552c.js";import"../../FormGroup-c32db99d.js";import"../../_rollupPluginBabelHelpers-0f007973.js";import"../FormGroup/styles.module.scss";import"../../Checkbox-b0815d04.js";import"../../uuid-11037462.js";import"../../Check-fdf95f67.js";import"../../Icon-d69d65b3.js";import"../../_tslib-b219470a.js";import"../../constants-dbdea596.js";import"../../useUuid-3b1e73f2.js";import"../../color-e7d082c1.js";import"../../index-d1c9177a.js";import"../../palette-f206f488.js";import"../../grid-c105cad1.js";import"../Checkbox/styles.module.scss";import"../../RadioButton-3ce7a88d.js";import"../RadioButton/styles.module.scss";import"../../Input-9ccf3867.js";import"../../useBreakpoint-a74f5af5.js";import"../Input/styles.module.scss";import"../../Title-01820508.js";import"../Title/styles.module.scss";import"../../FormLayout-1a6866fe.js";import"../FormLayout/styles.module.scss";import"./styles.module.scss";
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
var a,o,e,n,t,r;!function(a){a[a.XXSmall=24]="XXSmall",a[a.XSmall=38]="XSmall",a[a.Small=48]="Small",a[a.Medium=64]="Medium",a[a.Large=80]="Large",a[a.XLarge=130]="XLarge"}(a||(a={})),function(a){a[a.Modal=13e5]="Modal",a[a.ExpanderTrigger=1e4]="ExpanderTrigger"}(o||(o={})),function(a){a.onwhite="onwhite",a.ongrey="ongrey",a.onblueberry="onblueberry",a.ondark="ondark",a.oninvalid="oninvalid"}(e||(e={})),function(a){a.normal="normal",a.bigform="bigform"}(n||(n={})),function(a){a.AnchorLink="anchor-link",a.Avatar="avatar",a.Badge="badge",a.Button="button",a.Checkbox="checkbox",a.Close="close",a.Dropdown="dropdown",a.Expander="expander",a.ExpanderList="expander-list",a.ExpanderListExpander="expander-list-expander",a.FormGroup="form-group",a.FormLayout="form-layout",a.HelpBubble="help-bubble",a.HighlightBox="highlight-box",a.Icon="icon",a.Input="input",a.Link="link",a.LinkList="link-list",a.List="list",a.Loader="loader",a.Logo="logo",a.Modal="modal",a.NotificationPanel="notification-panel",a.Panel="panel",a.PanelList="panel-list",a.Portal="portal",a.RadioButton="radio-button",a.Slider="slider",a.Spacer="spacer",a.StatusDot="status-dot",a.Table="table",a.Tag="tag",a.TagList="tag-list",a.Textarea="textarea",a.Tile="tile",a.Title="title",a.Tooltip="tooltip",a.Validation="validation"}(t||(t={})),function(a){a.Enter="Enter",a.Escape="Escape",a.ArrowDown="ArrowDown",a.ArrowUp="ArrowUp",a.Home="Home",a.End="End"}(r||(r={}));export{t as A,e as F,a as I,r as K,o as Z,n as a};
|
|
2
|
+
//# sourceMappingURL=constants-dbdea596.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"constants-dbdea596.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
package/constants.d.ts
CHANGED
package/constants.d.ts.map
CHANGED
|
@@ -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AAW;IACjB,WAAW,gBAAgB;IAC3B,MAAM,WAAW;IACjB,SAAS,cAAc;CACxB;AAED,oBAAY,WAAW;IACrB,MAAM,WAAW;IACjB,OAAO,YAAY;CACpB;AAED,oBAAY,WAAW;IACrB,UAAU,gBAAgB;IAC1B,MAAM,WAAW;IACjB,KAAK,UAAU;IACf,MAAM,WAAW;IACjB,QAAQ,aAAa;IACrB,KAAK,UAAU;IACf,QAAQ,aAAa;IACrB,QAAQ,aAAa;IACrB,YAAY,kBAAkB;IAC9B,oBAAoB,2BAA2B;IAC/C,SAAS,eAAe;IACxB,UAAU,gBAAgB;IAC1B,UAAU,gBAAgB;IAC1B,YAAY,kBAAkB;IAC9B,IAAI,SAAS;IACb,KAAK,UAAU;IACf,IAAI,SAAS;IACb,QAAQ,cAAc;IACtB,IAAI,SAAS;IACb,MAAM,WAAW;IACjB,IAAI,SAAS;IACb,KAAK,UAAU;IACf,iBAAiB,uBAAuB;IACxC,KAAK,UAAU;IACf,SAAS,eAAe;IACxB,MAAM,WAAW;IACjB,WAAW,iBAAiB;IAC5B,MAAM,WAAW;IACjB,MAAM,WAAW;IACjB,SAAS,eAAe;IACxB,KAAK,UAAU;IACf,GAAG,QAAQ;IACX,OAAO,aAAa;IACpB,QAAQ,aAAa;IACrB,IAAI,SAAS;IACb,KAAK,UAAU;IACf,OAAO,YAAY;IACnB,UAAU,eAAe;CAC1B;AAED,oBAAY,gBAAgB;IAC1B,KAAK,UAAU;IACf,MAAM,WAAW;IACjB,SAAS,cAAc;IACvB,OAAO,YAAY;IACnB,IAAI,SAAS;IACb,GAAG,QAAQ;CACZ"}
|
package/hooks/useHover.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useHover.d.ts","sourceRoot":"","sources":["../../src/hooks/useHover.ts"],"names":[],"mappings":"AAAA,OAAO,EAA+B,SAAS,EAAE,MAAM,OAAO,CAAC;AAE/D;;;;;GAKG;AACH,eAAO,MAAM,QAAQ,uHAA+F,OAAO;;;
|
|
1
|
+
{"version":3,"file":"useHover.d.ts","sourceRoot":"","sources":["../../src/hooks/useHover.ts"],"names":[],"mappings":"AAAA,OAAO,EAA+B,SAAS,EAAE,MAAM,OAAO,CAAC;AAE/D;;;;;GAKG;AACH,eAAO,MAAM,QAAQ,uHAA+F,OAAO;;;CAuB1H,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import t from"react";import{createPortal as e}from"react-dom";import{A as r}from"./constants-
|
|
2
|
-
//# sourceMappingURL=index-
|
|
1
|
+
import t from"react";import{createPortal as e}from"react-dom";import{A as r}from"./constants-dbdea596.js";function n(n){var a=n.children,o=n.parent,i=n.className,c=n.testId,d=t.useMemo((function(){return document.createElement("div")}),[]);return d.setAttribute("data-analyticsid",r.Portal),c&&d.setAttribute("data-testid",c),t.useEffect((function(){var t=o&&o.appendChild?o:document.body,e=["portal-container"];return i&&i.split(" ").forEach((function(t){return e.push(t)})),e.forEach((function(t){return d.classList.add(t)})),t.appendChild(d),function(){t.removeChild(d)}}),[d,o,i]),e(a,d)}export{n as P};
|
|
2
|
+
//# sourceMappingURL=index-28ed5ede.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index-28ed5ede.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
package/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export{t as theme}from"./index-d1c9177a.js";export{B as Breakpoint,u as useBreakpoint}from"./useBreakpoint-a74f5af5.js";export{u as useFocusToggle,a as useFocusTrap,b as useIntersectionObserver,c as useIsVisible}from"./useIsVisible-bef05e5e.js";export{u as useHover}from"./useHover-
|
|
1
|
+
export{t as theme}from"./index-d1c9177a.js";export{B as Breakpoint,u as useBreakpoint}from"./useBreakpoint-a74f5af5.js";export{u as useFocusToggle,a as useFocusTrap,b as useIntersectionObserver,c as useIsVisible}from"./useIsVisible-bef05e5e.js";export{u as useHover}from"./useHover-18479690.js";import{d as e}from"./useSticky-432642c9.js";export{u as useLayoutEvent,a as useSticky}from"./useSticky-432642c9.js";export{u as usePrevious}from"./usePrevious-ae293b10.js";import{_ as s,a as r}from"./_rollupPluginBabelHelpers-0f007973.js";import{useState as o,useEffect as n}from"react";export{b as useKeyboardEvent,c as useOutsideEvent,u as useResizeObserver,a as useToggle}from"./useOutsideEvent-fb86686d.js";export{u as useUuid}from"./useUuid-3b1e73f2.js";export{u as uuid}from"./uuid-11037462.js";export{A as AnalyticsId,F as FormMode,a as FormVariant,I as IconSize,K as KeyboardEventKey,Z as ZIndex}from"./constants-dbdea596.js";import"./palette-f206f488.js";import"./grid-c105cad1.js";var i=function(t){var u=o(),a=s(u,2),i=a[0],c=a[1];return n((function(){if("undefined"!=typeof ResizeObserver){var o=new ResizeObserver((function(e){c(e[0].target.getBoundingClientRect())}));return(null==t?void 0:t.current)&&o.observe(null==t?void 0:t.current),o.disconnect}if("object"===("undefined"==typeof window?"undefined":r(window))){var n=["layoutchange","resize","orientationchange"],u=e((function(){(null==t?void 0:t.current)&&c(t.current.getBoundingClientRect())}),10),a=s(u,2),i=a[0],d=a[1];return n.forEach((function(e){return window.addEventListener(e,i)})),i(),function(){d(),n.forEach((function(e){return window.removeEventListener(e,i)}))}}}),[t]),i};export{i as useSize};
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
package/package.json
CHANGED
package/scss/_breakpoints.scss
CHANGED
|
@@ -11,6 +11,12 @@ $grid-breakpoints: (
|
|
|
11
11
|
xl: 1450px,
|
|
12
12
|
);
|
|
13
13
|
|
|
14
|
+
$grid-max-breakpoints: (
|
|
15
|
+
xs: map-get($grid-breakpoints, sm) - 0.02,
|
|
16
|
+
sm: map-get($grid-breakpoints, md) - 0.02,
|
|
17
|
+
md: map-get($grid-breakpoints, lg) - 0.02,
|
|
18
|
+
);
|
|
19
|
+
|
|
14
20
|
$container-max-widths: (
|
|
15
21
|
sm: 528px,
|
|
16
22
|
md: 612px,
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{_ as n}from"./_rollupPluginBabelHelpers-0f007973.js";import{useRef as r,useState as e,useEffect as o}from"react";var t=function(t,u){var i=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],f=t||r(null),c=e(!1),l=n(c,2),v=l[0],a=l[1];return o((function(){var n=f.current,r=function(){return a(!0)},e=function(){return a(!1)},o=["mouseenter",i?"focusin":""],t=["mouseleave",i?"focusout":""];return o.forEach((function(e){return null==n?void 0:n.addEventListener(e,r)})),t.forEach((function(r){return null==n?void 0:n.addEventListener(r,e)})),function(){o.forEach((function(e){return null==n?void 0:n.removeEventListener(e,r)})),t.forEach((function(r){return null==n?void 0:n.removeEventListener(r,e)}))}}),[f,u]),{hoverRef:f,isHovered:v}};export{t as u};
|
|
2
|
+
//# sourceMappingURL=useHover-18479690.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useHover-18479690.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"AlertSignFill-e0a05c2b.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"AlertSignStroke-d16ccb9e.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
package/AnchorLink-140a72b0.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import r from"react";import{I as e}from"./Icon-877aeed0.js";import{A as o,I as s}from"./constants-d84659f5.js";import{A as a}from"./ArrowUpRight-e9f5b42e.js";import{g as t}from"./color-e7d082c1.js";import{u as i}from"./useHover-b995a0e6.js";import n from"./components/AnchorLink/styles.module.scss";import{c}from"./index-d1c0552c.js";var m=r.forwardRef((function(m,l){var d=m.id,f=m.href,p=m.children,v=m.className,h=m.target,u=void 0===h?"_self":h,b=m.testId,j="_blank"===u,A=i(l,void 0,!1),g=A.hoverRef,k=A.isHovered,I=c(n.anchorlink,null!=v?v:"");return r.createElement("a",{id:d,href:f,className:I,target:u,rel:j?"noopener noreferrer":void 0,ref:g,"data-testid":b,"data-analyticsid":o.AnchorLink},p,j&&r.createElement(e,{className:n.anchorlink__icon,svgIcon:a,color:t("blueberry",600),hoverColor:t("blueberry",700),size:s.XSmall,isHovered:k}))}));export{m as A};
|
|
2
|
-
//# sourceMappingURL=AnchorLink-140a72b0.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"AnchorLink-140a72b0.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ArrowRight-2e4b6122.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ArrowUpRight-e9f5b42e.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
package/Badge-d7e6ebd7.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Badge-d7e6ebd7.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
package/Button-1ae9497c.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Button-1ae9497c.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
package/Calendar-03556b56.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Calendar-03556b56.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
package/Check-632c2b4f.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Check-632c2b4f.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
package/Checkbox-7d0879d2.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Checkbox-7d0879d2.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ChevronDown-652aa9e9.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ChevronRight-a4c19be9.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ChevronUp-558a33cd.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|