@helsenorge/designsystem-react 1.3.2 → 1.5.0
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-5df5b7c7.js → AlertSignFill-32815dfb.js} +2 -2
- package/AlertSignFill-32815dfb.js.map +1 -0
- package/{AlertSignStroke-32f09751.js → AlertSignStroke-06b89e43.js} +2 -2
- package/AlertSignStroke-06b89e43.js.map +1 -0
- package/{AnchorLink-d5aca698.js → AnchorLink-b55324d8.js} +2 -2
- package/AnchorLink-b55324d8.js.map +1 -0
- package/{ArrowDown-88b2c27a.js → ArrowDown-e4000940.js} +2 -2
- package/ArrowDown-e4000940.js.map +1 -0
- package/{ArrowRight-43c97f7a.js → ArrowRight-f1bcf554.js} +2 -2
- package/ArrowRight-f1bcf554.js.map +1 -0
- package/{ArrowUp-e7787d9c.js → ArrowUp-2fd4d8a8.js} +2 -2
- package/ArrowUp-2fd4d8a8.js.map +1 -0
- package/{ArrowUpRight-5be53e0d.js → ArrowUpRight-ea4dab8b.js} +2 -2
- package/ArrowUpRight-ea4dab8b.js.map +1 -0
- package/Badge-dcb49516.js +2 -0
- package/Badge-dcb49516.js.map +1 -0
- package/{Button-b55b2d27.js → Button-15cf6cc9.js} +2 -2
- package/Button-15cf6cc9.js.map +1 -0
- package/{Calendar-a9aa98de.js → Calendar-6ccf9f02.js} +2 -2
- package/Calendar-6ccf9f02.js.map +1 -0
- package/{Check-fdf95f67.js → Check-4ff5dbe8.js} +2 -2
- package/Check-4ff5dbe8.js.map +1 -0
- package/{Checkbox-b0815d04.js → Checkbox-2d678536.js} +2 -2
- package/Checkbox-2d678536.js.map +1 -0
- package/{ChevronDown-2b3daace.js → ChevronDown-e437ddc7.js} +2 -2
- package/ChevronDown-e437ddc7.js.map +1 -0
- package/{ChevronRight-5ab9349b.js → ChevronRight-cd70885b.js} +2 -2
- package/ChevronRight-cd70885b.js.map +1 -0
- package/{ChevronUp-dfafe27b.js → ChevronUp-e7ceb743.js} +2 -2
- package/ChevronUp-e7ceb743.js.map +1 -0
- package/Close-53f0e814.js +2 -0
- package/Close-53f0e814.js.map +1 -0
- package/FormGroup-2d1fe7a1.js +2 -0
- package/FormGroup-2d1fe7a1.js.map +1 -0
- package/FormLayout-55252dcd.js +2 -0
- package/FormLayout-55252dcd.js.map +1 -0
- package/{Group-71b8ae99.js → Group-e9b91287.js} +2 -2
- package/Group-e9b91287.js.map +1 -0
- package/{HelpBubble-2efa4680.js → HelpBubble-9c8f6161.js} +2 -2
- package/HelpBubble-9c8f6161.js.map +1 -0
- package/{Hospital-e9e6a0b3.js → Hospital-96388194.js} +2 -2
- package/Hospital-96388194.js.map +1 -0
- package/{Icon-d69d65b3.js → Icon-2146c8a0.js} +2 -2
- package/Icon-2146c8a0.js.map +1 -0
- package/{InfoSignStroke-f10d62aa.js → InfoSignStroke-a21c471c.js} +2 -2
- package/InfoSignStroke-a21c471c.js.map +1 -0
- package/{Input-9ccf3867.js → Input-c9637ae4.js} +2 -2
- package/Input-c9637ae4.js.map +1 -0
- package/{Loader-896f633b.js → Loader-55fc2157.js} +2 -2
- package/Loader-55fc2157.js.map +1 -0
- package/{Modal-10b86efc.js → Modal-0b256faa.js} +2 -2
- package/Modal-0b256faa.js.map +1 -0
- package/{NoAccess-53a59f7d.js → NoAccess-3808472f.js} +2 -2
- package/NoAccess-3808472f.js.map +1 -0
- package/Panel-b7aeac58.js +2 -0
- package/Panel-b7aeac58.js.map +1 -0
- package/{Pencil-dd3fe667.js → Pencil-05761ee3.js} +2 -2
- package/Pencil-05761ee3.js.map +1 -0
- package/{PlusSmall-430bf03a.js → PlusSmall-cc27eeac.js} +2 -2
- package/PlusSmall-cc27eeac.js.map +1 -0
- package/{RadioButton-3ce7a88d.js → RadioButton-086ba976.js} +2 -2
- package/RadioButton-086ba976.js.map +1 -0
- package/Spacer-d904c47e.js +2 -0
- package/Spacer-d904c47e.js.map +1 -0
- package/TableExpandedRow-00d5b26d.js +2 -0
- package/TableExpandedRow-00d5b26d.js.map +1 -0
- package/TableExpanderCell-1b3f70b9.js +2 -0
- package/TableExpanderCell-1b3f70b9.js.map +1 -0
- package/{TableHeadCell-84651910.js → TableHeadCell-1b56a690.js} +2 -2
- package/TableHeadCell-1b56a690.js.map +1 -0
- package/TableRow-04925958.js +2 -0
- package/TableRow-04925958.js.map +1 -0
- package/{Textarea-56a24cb9.js → Textarea-2dae99aa.js} +2 -2
- package/Textarea-2dae99aa.js.map +1 -0
- package/{Title-01820508.js → Title-8a664c4e.js} +2 -2
- package/Title-8a664c4e.js.map +1 -0
- package/{Tooltip-d8293023.js → Tooltip-7baa1692.js} +2 -2
- package/Tooltip-7baa1692.js.map +1 -0
- package/{Undo-cc42e7d0.js → Undo-f1200d5b.js} +2 -2
- package/Undo-f1200d5b.js.map +1 -0
- package/{Validation-087d9955.js → Validation-842a5d4e.js} +2 -2
- package/Validation-842a5d4e.js.map +1 -0
- package/{Watch-3d5fc351.js → Watch-83bd08c2.js} +2 -2
- package/Watch-83bd08c2.js.map +1 -0
- package/{X-867957f2.js → X-a44ae29d.js} +2 -2
- package/X-a44ae29d.js.map +1 -0
- package/accessibility-71f045ab.js +2 -0
- package/accessibility-71f045ab.js.map +1 -0
- package/components/AnchorLink/index.js +1 -1
- package/components/Avatar/index.js +1 -1
- package/components/Badge/index.js +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/Duolist/Duolist.d.ts +33 -0
- package/components/Duolist/Duolist.d.ts.map +1 -0
- package/components/Duolist/componentdata.json +73 -0
- package/components/Duolist/index.d.ts +4 -0
- package/components/Duolist/index.d.ts.map +1 -0
- package/components/Duolist/index.js +2 -0
- package/components/Duolist/index.js.map +1 -0
- package/components/Duolist/styles.module.scss +65 -0
- package/components/Duolist/styles.module.scss.d.ts +16 -0
- package/components/Expander/index.js +1 -1
- package/components/ExpanderList/index.js +1 -1
- 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/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.js +1 -1
- package/components/Icons/ArrowLeft.js +1 -1
- package/components/Icons/ArrowRight.js +1 -1
- package/components/Icons/ArrowUp.js +1 -1
- 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/index.js +1 -1
- 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/NotificationPanel.d.ts +1 -7
- package/components/NotificationPanel/NotificationPanel.d.ts.map +1 -1
- package/components/NotificationPanel/componentdata.json +212 -8
- package/components/NotificationPanel/index.js +1 -1
- package/components/Panel/Panel.d.ts +7 -2
- package/components/Panel/Panel.d.ts.map +1 -1
- package/components/Panel/componentdata.json +40 -2
- package/components/Panel/index.js +1 -1
- package/components/Panel/styles.module.scss +12 -0
- package/components/Panel/styles.module.scss.d.ts +1 -0
- 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/TableExpandedRow.js +1 -1
- package/components/Table/TableExpanderCell.js +1 -1
- package/components/Table/TableHeadCell.js +1 -1
- package/components/Table/TableRow.js +1 -1
- package/components/Table/index.js +1 -1
- package/components/Tag/index.js +1 -1
- package/components/TagList/index.js +1 -1
- package/components/Textarea/index.js +1 -1
- package/components/Tile/index.js +1 -1
- package/components/Title/Title.d.ts +1 -1
- package/components/Title/Title.d.ts.map +1 -1
- 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-cd62f8dd.js +2 -0
- package/constants-cd62f8dd.js.map +1 -0
- package/constants.d.ts +1 -0
- package/constants.d.ts.map +1 -1
- package/{index-28ed5ede.js → index-9af65d13.js} +2 -2
- package/index-9af65d13.js.map +1 -0
- package/index.js +1 -1
- package/package.json +1 -1
- package/utils/accessibility.d.ts +9 -0
- package/utils/accessibility.d.ts.map +1 -0
- package/utils/loremtext.d.ts +4 -2
- package/utils/loremtext.d.ts.map +1 -1
- package/AlertSignFill-5df5b7c7.js.map +0 -1
- package/AlertSignStroke-32f09751.js.map +0 -1
- package/AnchorLink-d5aca698.js.map +0 -1
- package/ArrowDown-88b2c27a.js.map +0 -1
- package/ArrowRight-43c97f7a.js.map +0 -1
- package/ArrowUp-e7787d9c.js.map +0 -1
- package/ArrowUpRight-5be53e0d.js.map +0 -1
- package/Badge-eebcb720.js +0 -2
- package/Badge-eebcb720.js.map +0 -1
- package/Button-b55b2d27.js.map +0 -1
- package/Calendar-a9aa98de.js.map +0 -1
- package/Check-fdf95f67.js.map +0 -1
- package/Checkbox-b0815d04.js.map +0 -1
- package/ChevronDown-2b3daace.js.map +0 -1
- package/ChevronRight-5ab9349b.js.map +0 -1
- package/ChevronUp-dfafe27b.js.map +0 -1
- package/Close-08d48540.js +0 -2
- package/Close-08d48540.js.map +0 -1
- package/FormGroup-c32db99d.js +0 -2
- package/FormGroup-c32db99d.js.map +0 -1
- package/FormLayout-1a6866fe.js +0 -2
- package/FormLayout-1a6866fe.js.map +0 -1
- package/Group-71b8ae99.js.map +0 -1
- package/HelpBubble-2efa4680.js.map +0 -1
- package/Hospital-e9e6a0b3.js.map +0 -1
- package/Icon-d69d65b3.js.map +0 -1
- package/InfoSignStroke-f10d62aa.js.map +0 -1
- package/Input-9ccf3867.js.map +0 -1
- package/Loader-896f633b.js.map +0 -1
- package/Modal-10b86efc.js.map +0 -1
- package/NoAccess-53a59f7d.js.map +0 -1
- package/Panel-bca5223d.js +0 -2
- package/Panel-bca5223d.js.map +0 -1
- package/Pencil-dd3fe667.js.map +0 -1
- package/PlusSmall-430bf03a.js.map +0 -1
- package/RadioButton-3ce7a88d.js.map +0 -1
- package/TableExpandedRow-29fb827f.js +0 -2
- package/TableExpandedRow-29fb827f.js.map +0 -1
- package/TableExpanderCell-767bde5d.js +0 -2
- package/TableExpanderCell-767bde5d.js.map +0 -1
- package/TableHeadCell-84651910.js.map +0 -1
- package/TableRow-6659d9bb.js +0 -2
- package/TableRow-6659d9bb.js.map +0 -1
- package/Textarea-56a24cb9.js.map +0 -1
- package/Title-01820508.js.map +0 -1
- package/Tooltip-d8293023.js.map +0 -1
- package/Undo-cc42e7d0.js.map +0 -1
- package/Validation-087d9955.js.map +0 -1
- package/Watch-3d5fc351.js.map +0 -1
- package/X-867957f2.js.map +0 -1
- package/constants-dbdea596.js +0 -2
- package/constants-dbdea596.js.map +0 -1
- package/index-28ed5ede.js.map +0 -1
|
@@ -413,9 +413,47 @@
|
|
|
413
413
|
"name": "((e?: MouseEvent<HTMLElement, MouseEvent> | FormEvent<{}> | KeyboardEvent<HTMLUListElement> | null) => void) | undefined"
|
|
414
414
|
}
|
|
415
415
|
},
|
|
416
|
+
"buttonAriaLabelledById": {
|
|
417
|
+
"defaultValue": null,
|
|
418
|
+
"description": "Panel button is aria-labelledby the text in the button itself + the element set in buttonAriaLabelledById. Default: auto-generated id for title (if title is set).",
|
|
419
|
+
"name": "buttonAriaLabelledById",
|
|
420
|
+
"parent": {
|
|
421
|
+
"fileName": "src/components/Panel/Panel.tsx",
|
|
422
|
+
"name": "PanelProps"
|
|
423
|
+
},
|
|
424
|
+
"declarations": [
|
|
425
|
+
{
|
|
426
|
+
"fileName": "src/components/Panel/Panel.tsx",
|
|
427
|
+
"name": "PanelProps"
|
|
428
|
+
}
|
|
429
|
+
],
|
|
430
|
+
"required": false,
|
|
431
|
+
"type": {
|
|
432
|
+
"name": "string"
|
|
433
|
+
}
|
|
434
|
+
},
|
|
435
|
+
"buttonAriaLabel": {
|
|
436
|
+
"defaultValue": null,
|
|
437
|
+
"description": "Panel button aria label",
|
|
438
|
+
"name": "buttonAriaLabel",
|
|
439
|
+
"parent": {
|
|
440
|
+
"fileName": "src/components/Panel/Panel.tsx",
|
|
441
|
+
"name": "PanelProps"
|
|
442
|
+
},
|
|
443
|
+
"declarations": [
|
|
444
|
+
{
|
|
445
|
+
"fileName": "src/components/Panel/Panel.tsx",
|
|
446
|
+
"name": "PanelProps"
|
|
447
|
+
}
|
|
448
|
+
],
|
|
449
|
+
"required": false,
|
|
450
|
+
"type": {
|
|
451
|
+
"name": "string"
|
|
452
|
+
}
|
|
453
|
+
},
|
|
416
454
|
"showCloseButtonInExpand": {
|
|
417
455
|
"defaultValue": null,
|
|
418
|
-
"description": "
|
|
456
|
+
"description": "@deprecated Has no effect anymore due to accessbility reasons. No close button is shown in expanded content. Will be removed in 2.0.0",
|
|
419
457
|
"name": "showCloseButtonInExpand",
|
|
420
458
|
"parent": {
|
|
421
459
|
"fileName": "src/components/Panel/Panel.tsx",
|
|
@@ -474,7 +512,7 @@
|
|
|
474
512
|
},
|
|
475
513
|
"containerAsButton": {
|
|
476
514
|
"defaultValue": null,
|
|
477
|
-
"description": "
|
|
515
|
+
"description": "Clicking anywhere on the container will trigger a click on the panel's button",
|
|
478
516
|
"name": "containerAsButton",
|
|
479
517
|
"parent": {
|
|
480
518
|
"fileName": "src/components/Panel/Panel.tsx",
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export{c as PanelLayout,a as PanelStatus,b as PanelVariant,P as default}from"../../Panel-
|
|
1
|
+
export{c as PanelLayout,a as PanelStatus,b as PanelVariant,P as default}from"../../Panel-b7aeac58.js";import"../../_rollupPluginBabelHelpers-0f007973.js";import"react";import"../../index-d1c0552c.js";import"./styles.module.scss";import"../../Title-8a664c4e.js";import"../Title/styles.module.scss";import"../../constants-cd62f8dd.js";import"../../Button-15cf6cc9.js";import"../../_tslib-b219470a.js";import"../../color-e7d082c1.js";import"../../index-d1c9177a.js";import"../../palette-f206f488.js";import"../../grid-c105cad1.js";import"../../Icon-2146c8a0.js";import"../../useUuid-3b1e73f2.js";import"../../uuid-11037462.js";import"../../Loader-55fc2157.js";import"../Loader/styles.module.scss";import"../../useHover-18479690.js";import"../../useBreakpoint-a74f5af5.js";import"../Button/styles.module.scss";import"../../ChevronDown-e437ddc7.js";import"../../ChevronUp-e7ceb743.js";import"../../ArrowRight-f1bcf554.js";import"../../AlertSignFill-32815dfb.js";import"../../Pencil-05761ee3.js";import"../../Calendar-6ccf9f02.js";import"../../Watch-83bd08c2.js";import"../../usePrevious-ae293b10.js";import"../../accessibility-71f045ab.js";import"../../Badge-dcb49516.js";import"../Badge/styles.module.scss";
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import s from"react";import e from"./styles.module.scss";import{A as t}from"../../constants-
|
|
1
|
+
import s from"react";import e from"./styles.module.scss";import{A as t}from"../../constants-cd62f8dd.js";import{b as r,P as i}from"../../Panel-b7aeac58.js";import{c as o}from"../../index-d1c0552c.js";import"../../_rollupPluginBabelHelpers-0f007973.js";import"../Panel/styles.module.scss";import"../../Title-8a664c4e.js";import"../Title/styles.module.scss";import"../../Button-15cf6cc9.js";import"../../_tslib-b219470a.js";import"../../color-e7d082c1.js";import"../../index-d1c9177a.js";import"../../palette-f206f488.js";import"../../grid-c105cad1.js";import"../../Icon-2146c8a0.js";import"../../useUuid-3b1e73f2.js";import"../../uuid-11037462.js";import"../../Loader-55fc2157.js";import"../Loader/styles.module.scss";import"../../useHover-18479690.js";import"../../useBreakpoint-a74f5af5.js";import"../Button/styles.module.scss";import"../../ChevronDown-e437ddc7.js";import"../../ChevronUp-e7ceb743.js";import"../../ArrowRight-f1bcf554.js";import"../../AlertSignFill-32815dfb.js";import"../../Pencil-05761ee3.js";import"../../Calendar-6ccf9f02.js";import"../../Watch-83bd08c2.js";import"../../usePrevious-ae293b10.js";import"../../accessibility-71f045ab.js";import"../../Badge-dcb49516.js";import"../Badge/styles.module.scss";var a=s.forwardRef((function(a,l){var m=a.testId,p=a.children,c=a.variant,d=void 0===c?r.fill:c;return s.createElement("div",{ref:l,"data-testid":m,className:e["panel-list"],"data-analyticsid":t.PanelList},s.Children.map(p,(function(t,a){return p=t,s.isValidElement(p)&&p.type===i?(l=t,m=0===a,s.cloneElement(l,{variant:d,noTopBorder:d===r.line&&!m,className:o(l.props.className,d!==r.line&&e["panel-list__panel"])})):t;var l,m,p})))}));export{a as default};
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export{P as default}from"../../index-
|
|
1
|
+
export{P as default}from"../../index-9af65d13.js";import"react";import"react-dom";import"../../constants-cd62f8dd.js";
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export{R as RadioButton,R as default}from"../../RadioButton-
|
|
1
|
+
export{R as RadioButton,R as default}from"../../RadioButton-086ba976.js";import"../../_rollupPluginBabelHelpers-0f007973.js";import"react";import"../../index-d1c0552c.js";import"../../uuid-11037462.js";import"./styles.module.scss";import"../../constants-cd62f8dd.js";
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{_ as e}from"../../_rollupPluginBabelHelpers-0f007973.js";import t,{useState as n,useRef as r,useEffect as a}from"react";import{c as o}from"../../index-d1c0552c.js";import{T as i}from"../../Title-
|
|
1
|
+
import{_ as e}from"../../_rollupPluginBabelHelpers-0f007973.js";import t,{useState as n,useRef as r,useEffect as a}from"react";import{c as o}from"../../index-d1c0552c.js";import{T as i}from"../../Title-8a664c4e.js";import c from"./styles.module.scss";import{A as s}from"../../constants-cd62f8dd.js";import{u}from"../../useSize-8dc1a168.js";import"../Title/styles.module.scss";import"../../debounce-fb23662f.js";var d=function(e){return e.stopPropagation&&e.stopPropagation(),e.preventDefault&&e.preventDefault(),!1},l=function(e){return m(e)?e.touches[0].pageX:e.pageX},m=function(e){return("touchcancel"===e.type||"touchend"===e.type||"touchenter"===e.type||"touchleave"===e.type||"touchmove"===e.type||"touchstart"===e.type)&&!(0===e.touches.length)},f=function(e,t,n){var r=e-e%t,a=Math.floor(n/t)*t;e>a&&(e>a+(n-a)/2&&(r=n));return Math.round(r)},v=t.forwardRef((function(m,v){var p=m.title,h=m.labelLeft,_=m.labelRight,g=m.disabled,E=void 0!==g&&g,w=m.step,y=void 0===w?1:w,b=m.onChange,k=m.testId,L=n(50),N=e(L,2),x=N[0],j=N[1],A=n(!1),D=e(A,2),M=D[0],R=D[1],T=n(0),P=e(T,2),S=P[0],B=P[1],C=n(0),I=e(C,2),X=I[0],z=I[1],H=v||r(null),K=r(null),U=(u(H)||{width:0}).width,q=(u(K)||{width:0}).width,F=100,G=function(e){Y(e)},J=function(e){W(e)},O=function(e){Y(e)},Q=function(e){W(e)};a((function(){B(function(e,t,n,r,a){return(t-n)/(a-r)*e}(x,U,q,0,F))}),[x,U,q]),a((function(){M&&(function(e,t){document.addEventListener("mousemove",e,!1),document.addEventListener("mouseup",t,!1)}(G,J),function(e,t){document.addEventListener("touchmove",e,!1),document.addEventListener("touchend",t,!1)}(O,Q))}),[M]),a((function(){!E&&b&&b(x)}),[x]);var V=function(e){var t;if(!E){var n=l(e);!function(e,t,n,r){var a=t?t.getBoundingClientRect():void 0,o=a?a.left:0;r(o?e-(o+n/2):0)}(n,K.current,q,Z),R(!0),z(n),null===(t=K.current)||void 0===t||t.focus(),d(e)}},W=function(e){E||(R(!1),function(e,t){document.removeEventListener("mousemove",e,!1),document.removeEventListener("mouseup",t,!1)}(G,J),function(e,t){document.removeEventListener("touchmove",e,!1),document.removeEventListener("touchend",t,!1)}(O,Q),d(e))},Y=function(e){if(!E&&M){var t=l(e);Z(t-X),d(e)}},Z=function(e){if(0!==e){var t=function(e,t,n,r){var a=r+e;return a<0&&(a=0),a>t-n&&(a=t-n),a}(e,U,q,S);B(t),z(t+e),j(function(e,t,n,r,a,o){var i=(t-n)/(o-a),c=Math.round(e/i);return f(c,r,o)}(t,U,q,y,0,F))}};return t.createElement("div",{className:c.slider,"data-testid":k,"data-analyticsid":s.Slider},p&&t.createElement(i,{htmlMarkup:"h3",margin:1.5,appearance:"title3"},p),t.createElement("div",{ref:H,className:o(c["slider__track-wrapper"],E?c["slider__track-wrapper--disabled"]:""),onMouseDown:V,onTouchStart:V,"data-testid":"tracker"},t.createElement("div",{className:o(c.slider__track,E?c["slider__track--disabled"]:"")}),t.createElement("div",{ref:K,className:o(c.slider__trigger,E?c["slider__trigger--disabled"]:""),style:{left:"".concat(S,"px")},onKeyDown:function(e){if(!E){var t=(U-q)/100;"ArrowRight"!==e.key&&"ArrowDown"!==e.key||Z(y*t),"ArrowLeft"!==e.key&&"ArrowUp"!==e.key||Z(-y*t)}},role:"slider","aria-valuenow":x,"aria-valuemin":0,"aria-valuemax":F,"aria-label":"".concat(p?p+" ":"").concat(h?h+" ":"").concat(_?_+" ":""),tabIndex:E?-1:0},t.createElement("div",{className:o(c["slider__trigger-inner"],E?c["slider__trigger-inner--disabled"]:"")}))),(h||_)&&t.createElement("span",{className:c.slider__options},t.createElement("p",{className:c.slider__text,"aria-hidden":!0},h),t.createElement("p",{className:c.slider__text,"aria-hidden":!0},_)))}));export{v as Slider,v as default};
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
export{S as default}from"../../Spacer-d904c47e.js";import"../../_rollupPluginBabelHelpers-0f007973.js";import"react";import"../../index-d1c0552c.js";import"./styles.module.scss";import"../../constants-cd62f8dd.js";
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{d as t}from"../../_rollupPluginBabelHelpers-0f007973.js";import a from"react";import{c as
|
|
1
|
+
import{d as t}from"../../_rollupPluginBabelHelpers-0f007973.js";import a from"react";import{c as s}from"../../index-d1c0552c.js";import e from"./styles.module.scss";import{I as r,A as o}from"../../constants-cd62f8dd.js";import{I as c}from"../../Icon-2146c8a0.js";import{U as n}from"../../Undo-f1200d5b.js";import{g as i}from"../../color-e7d082c1.js";import{G as l}from"../../Group-e9b91287.js";import{N as m}from"../../NoAccess-3808472f.js";import"../../palette-f206f488.js";import"../../grid-c105cad1.js";import"../../useBreakpoint-a74f5af5.js";import"../../_tslib-b219470a.js";import"../../useUuid-3b1e73f2.js";import"../../uuid-11037462.js";import"../../index-d1c9177a.js";var d;!function(t){t.info="info",t.warning="warning",t.alert="alert",t.cancelled="cancelled",t.active="active",t.transparent="transparent",t.recurring="recurring",t.group="group",t.noaccess="noaccess"}(d||(d={}));var p=a.forwardRef((function(p,u){var f=p.variant,g=void 0===f?d.info:f,j=p.text,_=p.className,v=g===d.recurring||g===d.group||g===d.noaccess,b=g===d.cancelled,E=s(e.statusdot,t({},e["statusdot--cancelled"],b),_),I=s(e.statusdot__dot,[v?e["statusdot__dot--icon"]:e["statusdot__dot--".concat(g)]]),N=s(e.statusdot__label,t({},e["statusdot__label--icon"],v)),X=null;return g===d.recurring?X=a.createElement(c,{size:r.XXSmall,svgIcon:n}):g===d.group?X=a.createElement(c,{size:r.XXSmall,svgIcon:l}):g===d.noaccess&&(X=a.createElement(c,{size:r.XXSmall,svgIcon:m,color:i("cherry",600)})),a.createElement("div",{className:E,"data-analyticsid":o.StatusDot},a.createElement("span",{className:I},X),a.createElement("span",{className:N},j))}));export{d as StatusDotVariant,p as default};
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export{T as TableExpandedRow,T as default}from"../../TableExpandedRow-
|
|
1
|
+
export{T as TableExpandedRow,T as default}from"../../TableExpandedRow-00d5b26d.js";import"../../_rollupPluginBabelHelpers-0f007973.js";import"react";import"../../index-d1c0552c.js";import"./styles.module.scss";import"../../Button-15cf6cc9.js";import"../../_tslib-b219470a.js";import"../../constants-cd62f8dd.js";import"../../color-e7d082c1.js";import"../../index-d1c9177a.js";import"../../palette-f206f488.js";import"../../grid-c105cad1.js";import"../../Icon-2146c8a0.js";import"../../useUuid-3b1e73f2.js";import"../../uuid-11037462.js";import"../../Loader-55fc2157.js";import"../Loader/styles.module.scss";import"../../useHover-18479690.js";import"../../useBreakpoint-a74f5af5.js";import"../Button/styles.module.scss";import"../../ChevronUp-e7ceb743.js";
|
|
2
2
|
//# sourceMappingURL=TableExpandedRow.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export{T as TableExpanderCell,T as default}from"../../TableExpanderCell-
|
|
1
|
+
export{T as TableExpanderCell,T as default}from"../../TableExpanderCell-1b3f70b9.js";import"react";import"../../index-d1c0552c.js";import"./styles.module.scss";import"../../Icon-2146c8a0.js";import"../../_tslib-b219470a.js";import"../../constants-cd62f8dd.js";import"../../useUuid-3b1e73f2.js";import"../../_rollupPluginBabelHelpers-0f007973.js";import"../../uuid-11037462.js";import"../../Button-15cf6cc9.js";import"../../color-e7d082c1.js";import"../../index-d1c9177a.js";import"../../palette-f206f488.js";import"../../grid-c105cad1.js";import"../../Loader-55fc2157.js";import"../Loader/styles.module.scss";import"../../useHover-18479690.js";import"../../useBreakpoint-a74f5af5.js";import"../Button/styles.module.scss";import"../../ChevronDown-e437ddc7.js";import"../../ChevronUp-e7ceb743.js";
|
|
2
2
|
//# sourceMappingURL=TableExpanderCell.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export{S as SortDirection,T as TableHeadCell,T as default}from"../../TableHeadCell-
|
|
1
|
+
export{S as SortDirection,T as TableHeadCell,T as default}from"../../TableHeadCell-1b56a690.js";import"../../_rollupPluginBabelHelpers-0f007973.js";import"react";import"../../index-d1c0552c.js";import"./styles.module.scss";import"../../Icon-2146c8a0.js";import"../../_tslib-b219470a.js";import"../../constants-cd62f8dd.js";import"../../useUuid-3b1e73f2.js";import"../../uuid-11037462.js";import"../../ArrowUp-2fd4d8a8.js";import"../../ArrowDown-e4000940.js";
|
|
2
2
|
//# sourceMappingURL=TableHeadCell.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export{T as TableRow,T as default}from"../../TableRow-
|
|
1
|
+
export{T as TableRow,T as default}from"../../TableRow-04925958.js";import"../../_rollupPluginBabelHelpers-0f007973.js";import"react";import"../../index-d1c0552c.js";import"./styles.module.scss";import"../../Button-15cf6cc9.js";import"../../_tslib-b219470a.js";import"../../constants-cd62f8dd.js";import"../../color-e7d082c1.js";import"../../index-d1c9177a.js";import"../../palette-f206f488.js";import"../../grid-c105cad1.js";import"../../Icon-2146c8a0.js";import"../../useUuid-3b1e73f2.js";import"../../uuid-11037462.js";import"../../Loader-55fc2157.js";import"../Loader/styles.module.scss";import"../../useHover-18479690.js";import"../../useBreakpoint-a74f5af5.js";import"../Button/styles.module.scss";import"../../ChevronUp-e7ceb743.js";import"../../ChevronDown-e437ddc7.js";
|
|
2
2
|
//# sourceMappingURL=TableRow.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{d as o}from"../../_rollupPluginBabelHelpers-0f007973.js";import e from"react";import{c as r}from"../../index-d1c0552c.js";import s from"./styles.module.scss";import{A as l}from"../../constants-
|
|
1
|
+
import{d as o}from"../../_rollupPluginBabelHelpers-0f007973.js";import e from"react";import{c as r}from"../../index-d1c0552c.js";import s from"./styles.module.scss";import{A as l}from"../../constants-cd62f8dd.js";import{H as t}from"../../HorizontalScroll-a4634c75.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-00d5b26d.js";export{T as TableExpanderCell}from"../../TableExpanderCell-1b3f70b9.js";export{H as HeaderCategory,T as TableHead}from"../../TableHead-5ed58948.js";export{S as SortDirection,T as TableHeadCell}from"../../TableHeadCell-1b56a690.js";export{T as TableRow}from"../../TableRow-04925958.js";import"../../useIsVisible-2ffbdea2.js";import"../HorizontalScroll/styles.module.scss";import"../../Button-15cf6cc9.js";import"../../_tslib-b219470a.js";import"../../color-e7d082c1.js";import"../../index-d1c9177a.js";import"../../palette-f206f488.js";import"../../grid-c105cad1.js";import"../../Icon-2146c8a0.js";import"../../useUuid-3b1e73f2.js";import"../../uuid-11037462.js";import"../../Loader-55fc2157.js";import"../Loader/styles.module.scss";import"../../useHover-18479690.js";import"../../useBreakpoint-a74f5af5.js";import"../Button/styles.module.scss";import"../../ChevronUp-e7ceb743.js";import"../../ChevronDown-e437ddc7.js";import"../../ArrowUp-2fd4d8a8.js";import"../../ArrowDown-e4000940.js";var i;!function(o){o.horizontalscroll="horizontalscroll",o.block="block"}(i||(i={}));var d=function(a){var d=a.id,m=a.testId,c=a.className,p=a.children,n=a.smallViewportVariant,b=void 0===n?i.horizontalscroll:n,f=r(s.table,o({},s["table--collapse2col"],b===i.block),c);return e.createElement(t,null,e.createElement("table",{className:f,id:d,"data-testid":m,"data-analyticsid":l.Table},p))};export{i as SmallViewportVariant,d as Table,d as default};
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
package/components/Tag/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{d as o}from"../../_rollupPluginBabelHelpers-0f007973.js";import
|
|
1
|
+
import{d as o}from"../../_rollupPluginBabelHelpers-0f007973.js";import a from"react";import{c as t}from"../../index-d1c0552c.js";import{I as e}from"../../Icon-2146c8a0.js";import{A as r,I as c}from"../../constants-cd62f8dd.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-f1200d5b.js";import{X as l}from"../../X-a44ae29d.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=t(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 a.createElement("button",{className:y,onClick:g,ref:I,type:"button","data-testid":b,"data-analyticsid":r.Tag},d,a.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=t(s.tag,s["tag--".concat(u)],s["tag--".concat(v)],s["tag--".concat(j)],o({},s["tag--has-icon"],g));return I&&h?a.createElement(p,{size:u,color:v,variant:j,action:I,onClick:h,testId:y},m):a.createElement("span",{className:z,"data-testid":y,"data-analyticsid":r.Tag},g&&a.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-cd62f8dd.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-2dae99aa.js";import"../../_rollupPluginBabelHelpers-0f007973.js";import"../../_tslib-b219470a.js";import"react";import"../../index-d1c0552c.js";import"./styles.module.scss";import"../../constants-cd62f8dd.js";import"../../uuid-11037462.js";import"../../Input-c9637ae4.js";import"../../Icon-2146c8a0.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
|
package/components/Tile/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
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-
|
|
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-cd62f8dd.js";import"../../Icon-2146c8a0.js";import o from"./styles.module.scss";import{u as s}from"../../useHover-18479690.js";import"../../useUuid-3b1e73f2.js";import"../../uuid-11037462.js";var c=i.forwardRef((function(t,a){var l,s=t.children,c=t.className,n=t.htmlMarkup,m=void 0===n?"span":n,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),c),f=m;return i.createElement(f,{className:u,ref:a},s)})),n=i.forwardRef((function(c,n){var m,d,p=c.icon,u=c.title,f=c.className,h=void 0===f?"":f,g=c.description,b=c.fixed,v=void 0!==b&&b,_=c.highlighted,j=void 0!==_&&_,E=c.testId,N=c.htmlMarkup,k=void 0===N?"a":N,w=t(c,["icon","title","className","description","fixed","highlighted","testId","htmlMarkup"]),x=s(n),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"===c.target?"noopener noreferrer":c.rel},F),R()),"button"===k&&i.createElement("button",Object.assign({ref:H,type:"button"},F),R()))}));n.Title=c;export{n as Tile,n as default};
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
export declare type TitleTags = 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'span';
|
|
3
3
|
export declare type TitleAppearances = 'titleFeature' | 'title1' | 'title2' | 'title3' | 'title4' | 'title5';
|
|
4
|
-
interface TitleProps {
|
|
4
|
+
export interface TitleProps {
|
|
5
5
|
children: React.ReactNode;
|
|
6
6
|
/** Gives a unique id to the title */
|
|
7
7
|
id?: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Title.d.ts","sourceRoot":"","sources":["../../../src/components/Title/Title.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAM1B,oBAAY,SAAS,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,MAAM,CAAC;AAClE,oBAAY,gBAAgB,GAAG,cAAc,GAAG,QAAQ,GAAG,QAAQ,GAAG,QAAQ,GAAG,QAAQ,GAAG,QAAQ,CAAC;AAErG,
|
|
1
|
+
{"version":3,"file":"Title.d.ts","sourceRoot":"","sources":["../../../src/components/Title/Title.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAM1B,oBAAY,SAAS,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,MAAM,CAAC;AAClE,oBAAY,gBAAgB,GAAG,cAAc,GAAG,QAAQ,GAAG,QAAQ,GAAG,QAAQ,GAAG,QAAQ,GAAG,QAAQ,CAAC;AAErG,MAAM,WAAW,UAAU;IACzB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,qCAAqC;IACrC,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,0CAA0C;IAC1C,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,yCAAyC;IACzC,MAAM,CAAC,EAAE,MAAM,GAAG,WAAW,CAAC;IAC9B,mDAAmD;IACnD,UAAU,CAAC,EAAE,SAAS,CAAC;IACvB,2CAA2C;IAC3C,UAAU,CAAC,EAAE,gBAAgB,CAAC;IAC9B,sCAAsC;IACtC,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,eAAO,MAAM,KAAK,uFAyBhB,CAAC;AAEH,MAAM,WAAW,WAAW;IAC1B,SAAS,EAAE,MAAM,CAAC;IAClB,YAAY,EAAE,MAAM,CAAC;CACtB;AAED,eAAO,MAAM,qBAAqB,WAAY,GAAG,0BAEhD,CAAC;AAEF,eAAe,KAAK,CAAC"}
|
|
@@ -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-8a664c4e.js";import"../../_rollupPluginBabelHelpers-0f007973.js";import"react";import"../../index-d1c0552c.js";import"./styles.module.scss";import"../../constants-cd62f8dd.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-7baa1692.js";import"../../_rollupPluginBabelHelpers-0f007973.js";import"react";import"../../constants-cd62f8dd.js";import"../../useUuid-3b1e73f2.js";import"../../uuid-11037462.js";import"../../HelpBubble-9c8f6161.js";import"../../index-d1c0552c.js";import"../../AnchorLink-b55324d8.js";import"../../Icon-2146c8a0.js";import"../../_tslib-b219470a.js";import"../../ArrowUpRight-ea4dab8b.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-53f0e814.js";import"../../X-a44ae29d.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-7baa1692.js";import"../../_rollupPluginBabelHelpers-0f007973.js";import"../../constants-cd62f8dd.js";import"../../useUuid-3b1e73f2.js";import"../../uuid-11037462.js";import"../../HelpBubble-9c8f6161.js";import"../../index-d1c0552c.js";import"../../AnchorLink-b55324d8.js";import"../../Icon-2146c8a0.js";import"../../_tslib-b219470a.js";import"../../ArrowUpRight-ea4dab8b.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-53f0e814.js";import"../../X-a44ae29d.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-842a5d4e.js";import"react";import"../../index-d1c0552c.js";import"../../FormGroup-2d1fe7a1.js";import"../../_rollupPluginBabelHelpers-0f007973.js";import"../FormGroup/styles.module.scss";import"../../Checkbox-2d678536.js";import"../../uuid-11037462.js";import"../../Check-4ff5dbe8.js";import"../../Icon-2146c8a0.js";import"../../_tslib-b219470a.js";import"../../constants-cd62f8dd.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-086ba976.js";import"../RadioButton/styles.module.scss";import"../../Input-c9637ae4.js";import"../../useBreakpoint-a74f5af5.js";import"../Input/styles.module.scss";import"../../Title-8a664c4e.js";import"../Title/styles.module.scss";import"../../FormLayout-55252dcd.js";import"../FormLayout/styles.module.scss";import"./styles.module.scss";
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
var o,a,e,n,t,r;!function(o){o[o.XXSmall=24]="XXSmall",o[o.XSmall=38]="XSmall",o[o.Small=48]="Small",o[o.Medium=64]="Medium",o[o.Large=80]="Large",o[o.XLarge=130]="XLarge"}(o||(o={})),function(o){o[o.Modal=13e5]="Modal",o[o.ExpanderTrigger=1e4]="ExpanderTrigger"}(a||(a={})),function(o){o.onwhite="onwhite",o.ongrey="ongrey",o.onblueberry="onblueberry",o.ondark="ondark",o.oninvalid="oninvalid"}(e||(e={})),function(o){o.normal="normal",o.bigform="bigform"}(n||(n={})),function(o){o.AnchorLink="anchor-link",o.Avatar="avatar",o.Badge="badge",o.Button="button",o.Checkbox="checkbox",o.Close="close",o.Dropdown="dropdown",o.Duolist="duolist",o.Expander="expander",o.ExpanderList="expander-list",o.ExpanderListExpander="expander-list-expander",o.FormGroup="form-group",o.FormLayout="form-layout",o.HelpBubble="help-bubble",o.HighlightBox="highlight-box",o.Icon="icon",o.Input="input",o.Link="link",o.LinkList="link-list",o.List="list",o.Loader="loader",o.Logo="logo",o.Modal="modal",o.NotificationPanel="notification-panel",o.Panel="panel",o.PanelList="panel-list",o.Portal="portal",o.RadioButton="radio-button",o.Slider="slider",o.Spacer="spacer",o.StatusDot="status-dot",o.Table="table",o.Tag="tag",o.TagList="tag-list",o.Textarea="textarea",o.Tile="tile",o.Title="title",o.Tooltip="tooltip",o.Validation="validation"}(t||(t={})),function(o){o.Enter="Enter",o.Escape="Escape",o.ArrowDown="ArrowDown",o.ArrowUp="ArrowUp",o.Home="Home",o.End="End"}(r||(r={}));export{t as A,e as F,o as I,r as K,a as Z,n as a};
|
|
2
|
+
//# sourceMappingURL=constants-cd62f8dd.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"constants-cd62f8dd.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
package/constants.d.ts
CHANGED
package/constants.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../src/constants.ts"],"names":[],"mappings":"AAAA,oBAAY,QAAQ;IAClB,OAAO,KAAK;IACZ,MAAM,KAAK;IACX,KAAK,KAAK;IACV,MAAM,KAAK;IACX,KAAK,KAAK;IACV,MAAM,MAAM;CACb;AAED,oBAAY,MAAM;IAChB,KAAK,UAAU;IACf,eAAe,QAAQ;CACxB;AAED,MAAM,WAAW,eAAe;IAC9B,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,QAAQ,CAAC,EAAE,OAAO,CAAC;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B;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"}
|
|
@@ -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-cd62f8dd.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-9af65d13.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index-9af65d13.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}from"./useFocusTrap-4a5fb65d.js";export{u as useHover}from"./useHover-18479690.js";export{u as useIntersectionObserver,a as useIsVisible}from"./useIsVisible-2ffbdea2.js";export{u as useLayoutEvent,a as useSticky}from"./useSticky-f8ffc6d8.js";export{u as usePrevious}from"./usePrevious-ae293b10.js";export{u as useSize}from"./useSize-8dc1a168.js";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-
|
|
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}from"./useFocusTrap-4a5fb65d.js";export{u as useHover}from"./useHover-18479690.js";export{u as useIntersectionObserver,a as useIsVisible}from"./useIsVisible-2ffbdea2.js";export{u as useLayoutEvent,a as useSticky}from"./useSticky-f8ffc6d8.js";export{u as usePrevious}from"./usePrevious-ae293b10.js";export{u as useSize}from"./useSize-8dc1a168.js";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-cd62f8dd.js";import"./palette-f206f488.js";import"./grid-c105cad1.js";import"./_rollupPluginBabelHelpers-0f007973.js";import"react";import"./debounce-fb23662f.js";
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
package/package.json
CHANGED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { AriaAttributes } from 'react';
|
|
2
|
+
interface AriaLabelAttributesConfig {
|
|
3
|
+
label?: string;
|
|
4
|
+
id?: string;
|
|
5
|
+
}
|
|
6
|
+
export declare type AriaLabelAttributes = Pick<AriaAttributes, 'aria-label' | 'aria-labelledby'>;
|
|
7
|
+
export declare const getAriaLabelAttributes: (config: AriaLabelAttributesConfig) => AriaLabelAttributes | undefined;
|
|
8
|
+
export {};
|
|
9
|
+
//# sourceMappingURL=accessibility.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"accessibility.d.ts","sourceRoot":"","sources":["../../src/utils/accessibility.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAEvC,UAAU,yBAAyB;IACjC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,EAAE,CAAC,EAAE,MAAM,CAAC;CACb;AAED,oBAAY,mBAAmB,GAAG,IAAI,CAAC,cAAc,EAAE,YAAY,GAAG,iBAAiB,CAAC,CAAC;AAEzF,eAAO,MAAM,sBAAsB,WAAY,yBAAyB,KAAG,mBAAmB,GAAG,SAahG,CAAC"}
|
package/utils/loremtext.d.ts
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
-
export declare const
|
|
2
|
-
export
|
|
1
|
+
export declare const shortLoremText = "Officia laboris in sit nisi consectetur eu.";
|
|
2
|
+
export declare const mediumLoremText = "Cupidatat culpa dolor id nulla sit commodo elit aliqua cillum. Reprehenderit aute aute enim non adipisicing duis adipisicing id laboris aliquip tempor amet. Non occaecat minim ad duis sunt et.";
|
|
3
|
+
export declare const longLoremText = "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. ";
|
|
4
|
+
export default longLoremText;
|
|
3
5
|
//# sourceMappingURL=loremtext.d.ts.map
|
package/utils/loremtext.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"loremtext.d.ts","sourceRoot":"","sources":["../../src/utils/loremtext.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,
|
|
1
|
+
{"version":3,"file":"loremtext.d.ts","sourceRoot":"","sources":["../../src/utils/loremtext.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,cAAc,gDAAgD,CAAC;AAC5E,eAAO,MAAM,eAAe,qMACwK,CAAC;AACrM,eAAO,MAAM,aAAa,kiBACugB,CAAC;AAEliB,eAAe,aAAa,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"AlertSignFill-5df5b7c7.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"AlertSignStroke-32f09751.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"AnchorLink-d5aca698.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ArrowDown-88b2c27a.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ArrowRight-43c97f7a.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
package/ArrowUp-e7787d9c.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ArrowUp-e7787d9c.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ArrowUpRight-5be53e0d.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
package/Badge-eebcb720.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{d as e}from"./_rollupPluginBabelHelpers-0f007973.js";import a from"react";import{c as r}from"./index-d1c0552c.js";import t from"./components/Badge/styles.module.scss";import{A as d}from"./constants-dbdea596.js";var s=a.forwardRef((function(s,o){var l,i=s.children,b=s.className,n=void 0===b?"":b,c=s.color,m=void 0===c?"black":c,g=s.testId,p=i.toString().length>2,u=r(t.badge,(e(l={},t["badge--oversized"],p),e(l,t["badge--black"],"black"===m),e(l,t["badge--white"],"white"===m),e(l,t["badge--blueberry"],"blueberry"===m),e(l,t["badge--banana"],"banana"===m),e(l,t["badge--cherry"],"cherry"===m),e(l,t["badge--kiwi"],"kiwi"===m),e(l,t["badge--neutral"],"neutral"===m),e(l,t["badge--plum"],"plum"===m),l),n);return a.createElement("span",{className:u,ref:o,"data-testid":g,"data-analyticsid":d.Badge},i)}));export{s as B};
|
|
2
|
-
//# sourceMappingURL=Badge-eebcb720.js.map
|
package/Badge-eebcb720.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Badge-eebcb720.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
package/Button-b55b2d27.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Button-b55b2d27.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
package/Calendar-a9aa98de.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Calendar-a9aa98de.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
package/Check-fdf95f67.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Check-fdf95f67.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
package/Checkbox-b0815d04.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Checkbox-b0815d04.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ChevronDown-2b3daace.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ChevronRight-5ab9349b.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ChevronUp-dfafe27b.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
package/Close-08d48540.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{d as s}from"./_rollupPluginBabelHelpers-0f007973.js";import o from"react";import{p as a}from"./palette-f206f488.js";import{I as e}from"./Icon-d69d65b3.js";import{A as t}from"./constants-dbdea596.js";import{X as r}from"./X-867957f2.js";import l from"./components/Close/styles.module.scss";import{u as m,B as i}from"./useBreakpoint-a74f5af5.js";import{c}from"./index-d1c0552c.js";var n=function(n){var p=m()===i.xs||n.small?38:48,f=c(l.close,s({},l["close--small"],n.small));return o.createElement("button",{"data-testid":n.testId,"data-analyticsid":t.Close,className:f,"aria-label":n.ariaLabel||"Lukk",onClick:n.onClick,type:"button"},o.createElement(e,{svgIcon:r,color:a.blueberry600,size:p}))};export{n as C};
|
|
2
|
-
//# sourceMappingURL=Close-08d48540.js.map
|
package/Close-08d48540.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Close-08d48540.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
package/FormGroup-c32db99d.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{d as e}from"./_rollupPluginBabelHelpers-0f007973.js";import r from"react";import{c as a}from"./index-d1c0552c.js";import t from"./components/FormGroup/styles.module.scss";import{C as o}from"./Checkbox-b0815d04.js";import{F as m,a as l,A as n}from"./constants-dbdea596.js";import{R as i}from"./RadioButton-3ce7a88d.js";import{I as p}from"./Input-9ccf3867.js";import{T as s}from"./Title-01820508.js";import{F as d}from"./FormLayout-1a6866fe.js";var f=r.forwardRef((function(f,c){var u,g,v,_=f.className,E=f.mode,h=void 0===E?m.onwhite:E,w=f.variant,y=void 0===w?l.normal:w,b=f.error,N=f.name,j=f.htmlMarkup,k=void 0===j?"fieldset":j,F=h===m.ondark,x=y===l.bigform,C=a(t["form-group-wrapper"],(e(u={},t["form-group-wrapper--on-dark"],F),e(u,t["form-group-wrapper--invalid"],b),u),_),I=a(t["form-group-wrapper__title"],(e(g={},t["form-group-wrapper__title--on-dark"],F&&!b),e(g,t["form-group-wrapper__title--bigform"],x),g)),B=a(t["form-group"],e({},t["form-group--invalid"],b)),O=a(t["form-group-wrapper__errors"],e({},t["form-group-wrapper__errors--bigform"],x)),R=a(t["field-set__legend"],(e(v={},t["field-set__legend--on-dark"],F&&!b),e(v,t["field-set__legend--bigform"],x),v)),T=function e(a){if(a.type===d)return r.cloneElement(a,{variant:y,mapHelper:e});if(a.type===o){var t=a.type===o;return r.cloneElement(a,{name:null!=N?N:t.valueOf.name,mode:h,variant:y,error:!!b})}if(a.type===i){var m=a.type===i;return r.cloneElement(a,{name:null!=N?N:m.valueOf.name,mode:h,variant:y,error:!!b})}if(a.type===p){var l=a.type===p;return r.cloneElement(a,{name:null!=N?N:l.valueOf.name,mode:h,variant:y,error:!!b})}return a};return r.createElement("div",{"data-testid":f.testId,"data-analyticsid":n.FormGroup,className:C,ref:c,tabIndex:-1},f.title&&r.createElement(s,{className:I,htmlMarkup:"h4",appearance:"title4",margin:{marginTop:0,marginBottom:b?1:2}},f.title),r.createElement("div",{className:B},b&&r.createElement("p",{className:O},b),"div"===k&&r.createElement("div",{id:f.title,className:t["field-set"]},f.legend&&r.createElement("h5",{className:R},f.legend),r.Children.map(f.children,T)),"fieldset"===k&&r.createElement("fieldset",{name:f.title,className:t["field-set"]},f.legend&&r.createElement("legend",{className:R},f.legend),r.Children.map(f.children,T))))}));export{f as F};
|
|
2
|
-
//# sourceMappingURL=FormGroup-c32db99d.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"FormGroup-c32db99d.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
package/FormLayout-1a6866fe.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{d as o}from"./_rollupPluginBabelHelpers-0f007973.js";import t from"react";import{c as r}from"./index-d1c0552c.js";import e from"./components/FormLayout/styles.module.scss";import{a,A as i}from"./constants-dbdea596.js";var m;!function(o){o.one="one",o.two="two",o.three="three",o.four="four",o.five="five"}(m||(m={}));var l=t.forwardRef((function(l,n){var s,c=l.maxColumns,f=void 0===c?m.one:c,d=l.colMinWidth,u=void 0===d?300:d,h=l.variant,p=l.className,v=l.mapHelper,y={"--min-col-width":"".concat(u,"px")},w=r(e["form-layout-container"],o({},e["form-layout-container--bigform"],h===a.bigform),p),b=r(e["form-layout-child"],(o(s={},e["form-layout-child--two"],f===m.two),o(s,e["form-layout-child--three"],f===m.three),o(s,e["form-layout-child--four"],f===m.four),o(s,e["form-layout-child--five"],f===m.five),s));return t.createElement("div",{"data-testid":l.testId,"data-analyticsid":i.FormLayout,style:y,className:w},t.Children.map(l.children,(function(o){return t.createElement("div",{className:b},v?v(o):o)})))}));export{l as F,m as a};
|
|
2
|
-
//# sourceMappingURL=FormLayout-1a6866fe.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"FormLayout-1a6866fe.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
package/Group-71b8ae99.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Group-71b8ae99.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"HelpBubble-2efa4680.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
package/Hospital-e9e6a0b3.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Hospital-e9e6a0b3.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
package/Icon-d69d65b3.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Icon-d69d65b3.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"InfoSignStroke-f10d62aa.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
package/Input-9ccf3867.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Input-9ccf3867.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
package/Loader-896f633b.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Loader-896f633b.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
package/Modal-10b86efc.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Modal-10b86efc.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
package/NoAccess-53a59f7d.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"NoAccess-53a59f7d.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|