@helsenorge/designsystem-react 2.14.0 → 2.16.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/Avatar.js +1 -1
- package/Avatar.js.map +1 -1
- package/Button.js +1 -1
- package/Button.js.map +1 -1
- package/CHANGELOG.md +34 -1
- package/ErrorWrapper.js +1 -1
- package/ErrorWrapper.js.map +1 -1
- package/FormGroup.js +1 -1
- package/FormGroup.js.map +1 -1
- package/HorizontalScroll.js +1 -1
- package/HorizontalScroll.js.map +1 -1
- package/Input.js +1 -1
- package/Input.js.map +1 -1
- package/ListHeader.js +1 -1
- package/ListHeader.js.map +1 -1
- package/ListHeaderText.js +1 -1
- package/MaxCharacters.js +2 -0
- package/MaxCharacters.js.map +1 -0
- package/Panel.js +1 -1
- package/Panel.js.map +1 -1
- package/StatusDot.js +1 -1
- package/StatusDot.js.map +1 -1
- package/TableExpandedRow.js +1 -1
- package/TableExpandedRow.js.map +1 -1
- package/TableExpanderCell.js +1 -1
- package/TableExpanderCell.js.map +1 -1
- package/TableRow.js +1 -1
- package/TableRow.js.map +1 -1
- package/Textarea.js +1 -1
- package/Textarea.js.map +1 -1
- package/components/Avatar/Avatar.d.ts +6 -0
- package/components/Avatar/Avatar.d.ts.map +1 -1
- package/components/Avatar/componentdata.json +1 -1
- package/components/Avatar/index.js +1 -1
- package/components/Avatar/styles.module.scss +18 -3
- package/components/Avatar/styles.module.scss.d.ts +2 -0
- package/components/ErrorWrapper/ErrorWrapper.d.ts +4 -0
- package/components/ErrorWrapper/ErrorWrapper.d.ts.map +1 -1
- package/components/ErrorWrapper/componentdata.json +1 -1
- package/components/ExpanderList/index.js +1 -1
- package/components/ExpanderList/index.js.map +1 -1
- package/components/FormExample/index.js +3 -3
- package/components/FormExample/index.js.map +1 -1
- package/components/FormExample/styles.module.scss +17 -11
- package/components/FormExample/styles.module.scss.d.ts +4 -3
- package/components/FormGroup/FormGroup.d.ts +4 -0
- package/components/FormGroup/FormGroup.d.ts.map +1 -1
- package/components/FormGroup/componentdata.json +1 -1
- package/components/FormGroup/index.js +1 -1
- package/components/HorizontalScroll/HorizontalScroll.d.ts +2 -0
- package/components/HorizontalScroll/HorizontalScroll.d.ts.map +1 -1
- package/components/HorizontalScroll/componentdata.json +1 -1
- package/components/HorizontalScroll/styles.module.scss +5 -0
- package/components/Icons/AcupunctureBack.js +1 -1
- package/components/Icons/AcupunctureBack.js.map +1 -1
- package/components/Icons/AlarmClock.js +1 -1
- package/components/Icons/AlarmClock.js.map +1 -1
- package/components/Icons/AlertSignFill.js +1 -1
- package/components/Icons/AlertSignFill.js.map +1 -1
- package/components/Icons/AlertSignStroke.js +1 -1
- package/components/Icons/AlertSignStroke.js.map +1 -1
- package/components/Icons/Archive.js +1 -1
- package/components/Icons/Archive.js.map +1 -1
- package/components/Icons/ArrowDown.js +1 -1
- package/components/Icons/ArrowDown.js.map +1 -1
- package/components/Icons/ArrowLeft.d.ts.map +1 -1
- package/components/Icons/ArrowLeft.js +1 -1
- package/components/Icons/ArrowLeft.js.map +1 -1
- package/components/Icons/ArrowRight.d.ts.map +1 -1
- package/components/Icons/ArrowRight.js +1 -1
- package/components/Icons/ArrowRight.js.map +1 -1
- package/components/Icons/ArrowUp.js +1 -1
- package/components/Icons/ArrowUp.js.map +1 -1
- package/components/Icons/ArrowUpRight.js +1 -1
- package/components/Icons/ArrowUpRight.js.map +1 -1
- package/components/Icons/Attachment.d.ts.map +1 -1
- package/components/Icons/Attachment.js +1 -1
- package/components/Icons/Attachment.js.map +1 -1
- package/components/Icons/Avatar.js +1 -1
- package/components/Icons/Avatar.js.map +1 -1
- package/components/Icons/Bus.js +1 -1
- package/components/Icons/Bus.js.map +1 -1
- package/components/Icons/Calendar.js +1 -1
- package/components/Icons/Calendar.js.map +1 -1
- package/components/Icons/CalendarChange.js +1 -1
- package/components/Icons/CalendarChange.js.map +1 -1
- package/components/Icons/CalendarCheck.js +1 -1
- package/components/Icons/CalendarCheck.js.map +1 -1
- package/components/Icons/CalendarSave.js +1 -1
- package/components/Icons/CalendarSave.js.map +1 -1
- package/components/Icons/Change.js +1 -1
- package/components/Icons/Change.js.map +1 -1
- package/components/Icons/Check.js +1 -1
- package/components/Icons/Check.js.map +1 -1
- package/components/Icons/CheckFill.js +1 -1
- package/components/Icons/CheckFill.js.map +1 -1
- package/components/Icons/ChevronDown.js +1 -1
- package/components/Icons/ChevronDown.js.map +1 -1
- package/components/Icons/ChevronLeft.js +1 -1
- package/components/Icons/ChevronLeft.js.map +1 -1
- package/components/Icons/ChevronRight.js +1 -1
- package/components/Icons/ChevronRight.js.map +1 -1
- package/components/Icons/ChevronUp.js +1 -1
- package/components/Icons/ChevronUp.js.map +1 -1
- package/components/Icons/ChevronsDown.js +1 -1
- package/components/Icons/ChevronsDown.js.map +1 -1
- package/components/Icons/ChevronsUp.js +1 -1
- package/components/Icons/ChevronsUp.js.map +1 -1
- package/components/Icons/Contacts.js +1 -1
- package/components/Icons/Contacts.js.map +1 -1
- package/components/Icons/Copy.js +1 -1
- package/components/Icons/Copy.js.map +1 -1
- package/components/Icons/Download.js +1 -1
- package/components/Icons/Download.js.map +1 -1
- package/components/Icons/EChat.js +1 -1
- package/components/Icons/EChat.js.map +1 -1
- package/components/Icons/EmoticonAnnoyed.js +1 -1
- package/components/Icons/EmoticonAnnoyed.js.map +1 -1
- package/components/Icons/EmoticonDelighted.js +1 -1
- package/components/Icons/EmoticonDelighted.js.map +1 -1
- package/components/Icons/EmoticonDisappointed.js +1 -1
- package/components/Icons/EmoticonDisappointed.js.map +1 -1
- package/components/Icons/EmoticonHappy.js +1 -1
- package/components/Icons/EmoticonHappy.js.map +1 -1
- package/components/Icons/EmoticonMeh.js +1 -1
- package/components/Icons/EmoticonMeh.js.map +1 -1
- package/components/Icons/EnterFullScreen.js +1 -1
- package/components/Icons/EnterFullScreen.js.map +1 -1
- package/components/Icons/Envelope.js +1 -1
- package/components/Icons/Envelope.js.map +1 -1
- package/components/Icons/Eraser.js +1 -1
- package/components/Icons/Eraser.js.map +1 -1
- package/components/Icons/ErrorSignFill.js +1 -1
- package/components/Icons/ErrorSignFill.js.map +1 -1
- package/components/Icons/ErrorSignStroke.js +1 -1
- package/components/Icons/ErrorSignStroke.js.map +1 -1
- package/components/Icons/ExitFullScreen.js +1 -1
- package/components/Icons/ExitFullScreen.js.map +1 -1
- package/components/Icons/Eye.js +1 -1
- package/components/Icons/Eye.js.map +1 -1
- package/components/Icons/Filter.js +1 -1
- package/components/Icons/Filter.js.map +1 -1
- package/components/Icons/Form.js +1 -1
- package/components/Icons/Form.js.map +1 -1
- package/components/Icons/Forward.js +1 -1
- package/components/Icons/Forward.js.map +1 -1
- package/components/Icons/Gallery.js +1 -1
- package/components/Icons/Gallery.js.map +1 -1
- package/components/Icons/Globe.js +1 -1
- package/components/Icons/Globe.js.map +1 -1
- package/components/Icons/Group.js +1 -1
- package/components/Icons/Group.js.map +1 -1
- package/components/Icons/Heart.js +1 -1
- package/components/Icons/Heart.js.map +1 -1
- package/components/Icons/HeartHands.js +1 -1
- package/components/Icons/HeartHands.js.map +1 -1
- package/components/Icons/HelpSign.js +1 -1
- package/components/Icons/HelpSign.js.map +1 -1
- package/components/Icons/History.js +1 -1
- package/components/Icons/History.js.map +1 -1
- package/components/Icons/Home.js +1 -1
- package/components/Icons/Home.js.map +1 -1
- package/components/Icons/Hospital.js +1 -1
- package/components/Icons/Hospital.js.map +1 -1
- package/components/Icons/Hourglass.js +1 -1
- package/components/Icons/Hourglass.js.map +1 -1
- package/components/Icons/Icon.d.ts +11 -1
- package/components/Icons/Icon.d.ts.map +1 -1
- package/components/Icons/Icon.js +1 -1
- package/components/Icons/Icon.js.map +1 -1
- package/components/Icons/InfoSignFill.js +1 -1
- package/components/Icons/InfoSignFill.js.map +1 -1
- package/components/Icons/InfoSignStroke.js +1 -1
- package/components/Icons/InfoSignStroke.js.map +1 -1
- package/components/Icons/Journal.js +1 -1
- package/components/Icons/Journal.js.map +1 -1
- package/components/Icons/List.js +1 -1
- package/components/Icons/List.js.map +1 -1
- package/components/Icons/Location.js +1 -1
- package/components/Icons/Location.js.map +1 -1
- package/components/Icons/Lock.js +1 -1
- package/components/Icons/Lock.js.map +1 -1
- package/components/Icons/Login.js +1 -1
- package/components/Icons/Login.js.map +1 -1
- package/components/Icons/Logout.js +1 -1
- package/components/Icons/Logout.js.map +1 -1
- package/components/Icons/Medicine.js +1 -1
- package/components/Icons/Medicine.js.map +1 -1
- package/components/Icons/Menu.js +1 -1
- package/components/Icons/Menu.js.map +1 -1
- package/components/Icons/Minus.js +1 -1
- package/components/Icons/Minus.js.map +1 -1
- package/components/Icons/MobilePhone.js +1 -1
- package/components/Icons/MobilePhone.js.map +1 -1
- package/components/Icons/NoAccess.js +1 -1
- package/components/Icons/NoAccess.js.map +1 -1
- package/components/Icons/NoEye.js +1 -1
- package/components/Icons/NoEye.js.map +1 -1
- package/components/Icons/NoFilter.js +1 -1
- package/components/Icons/NoFilter.js.map +1 -1
- package/components/Icons/PaperPlane.js +1 -1
- package/components/Icons/PaperPlane.js.map +1 -1
- package/components/Icons/Pause.js +1 -1
- package/components/Icons/Pause.js.map +1 -1
- package/components/Icons/Pencil.js +1 -1
- package/components/Icons/Pencil.js.map +1 -1
- package/components/Icons/PersonCancel.js +1 -1
- package/components/Icons/PersonCancel.js.map +1 -1
- package/components/Icons/PersonalPlan.js +1 -1
- package/components/Icons/PersonalPlan.js.map +1 -1
- package/components/Icons/Play.js +1 -1
- package/components/Icons/Play.js.map +1 -1
- package/components/Icons/PlusLarge.js +1 -1
- package/components/Icons/PlusLarge.js.map +1 -1
- package/components/Icons/PlusSmall.js +1 -1
- package/components/Icons/PlusSmall.js.map +1 -1
- package/components/Icons/Printer.js +1 -1
- package/components/Icons/Printer.js.map +1 -1
- package/components/Icons/QrCode.js +1 -1
- package/components/Icons/QrCode.js.map +1 -1
- package/components/Icons/Receptionist.js +1 -1
- package/components/Icons/Receptionist.js.map +1 -1
- package/components/Icons/Referral.js +1 -1
- package/components/Icons/Referral.js.map +1 -1
- package/components/Icons/Refresh.js +1 -1
- package/components/Icons/Refresh.js.map +1 -1
- package/components/Icons/Reply.js +1 -1
- package/components/Icons/Reply.js.map +1 -1
- package/components/Icons/Save.js +1 -1
- package/components/Icons/Save.js.map +1 -1
- package/components/Icons/Search.js +1 -1
- package/components/Icons/Search.js.map +1 -1
- package/components/Icons/SectionSign.js +1 -1
- package/components/Icons/SectionSign.js.map +1 -1
- package/components/Icons/Settings.js +1 -1
- package/components/Icons/Settings.js.map +1 -1
- package/components/Icons/Share.js +1 -1
- package/components/Icons/Share.js.map +1 -1
- package/components/Icons/SortDown.js +1 -1
- package/components/Icons/SortDown.js.map +1 -1
- package/components/Icons/SortUp.js +1 -1
- package/components/Icons/SortUp.js.map +1 -1
- package/components/Icons/SpeechBubble.js +1 -1
- package/components/Icons/SpeechBubble.js.map +1 -1
- package/components/Icons/Stopwatch.js +1 -1
- package/components/Icons/Stopwatch.js.map +1 -1
- package/components/Icons/SupportingPerson.d.ts.map +1 -1
- package/components/Icons/SupportingPerson.js +1 -1
- package/components/Icons/SupportingPerson.js.map +1 -1
- package/components/Icons/Syringe.js +1 -1
- package/components/Icons/Syringe.js.map +1 -1
- package/components/Icons/TimePassing.js +1 -1
- package/components/Icons/TimePassing.js.map +1 -1
- package/components/Icons/Toolbox.js +1 -1
- package/components/Icons/Toolbox.js.map +1 -1
- package/components/Icons/TrashCan.js +1 -1
- package/components/Icons/TrashCan.js.map +1 -1
- package/components/Icons/TriangleX.d.ts +5 -0
- package/components/Icons/TriangleX.d.ts.map +1 -0
- package/components/Icons/TriangleX.js +2 -0
- package/components/Icons/TriangleX.js.map +1 -0
- package/components/Icons/Undo.js +1 -1
- package/components/Icons/Undo.js.map +1 -1
- package/components/Icons/Upload.js +1 -1
- package/components/Icons/Upload.js.map +1 -1
- package/components/Icons/Vaccine.js +1 -1
- package/components/Icons/Vaccine.js.map +1 -1
- package/components/Icons/VerticalDots.js +1 -1
- package/components/Icons/VerticalDots.js.map +1 -1
- package/components/Icons/VideoCamera.js +1 -1
- package/components/Icons/VideoCamera.js.map +1 -1
- package/components/Icons/VideoChat.js +1 -1
- package/components/Icons/VideoChat.js.map +1 -1
- package/components/Icons/Wallet.js +1 -1
- package/components/Icons/Wallet.js.map +1 -1
- package/components/Icons/Watch.js +1 -1
- package/components/Icons/Watch.js.map +1 -1
- package/components/Icons/X.js +1 -1
- package/components/Icons/X.js.map +1 -1
- package/components/Icons/Zoom.js +1 -1
- package/components/Icons/Zoom.js.map +1 -1
- package/components/Icons/componentdata.json +1 -1
- package/components/Input/Input.d.ts +4 -0
- package/components/Input/Input.d.ts.map +1 -1
- package/components/Input/componentdata.json +1 -1
- package/components/Input/index.js +1 -1
- package/components/LinkList/LinkList.d.ts.map +1 -1
- package/components/LinkList/index.js +1 -1
- package/components/LinkList/index.js.map +1 -1
- package/components/ListHeader/ListHeader.d.ts +4 -4
- package/components/ListHeader/ListHeader.d.ts.map +1 -1
- package/components/ListHeader/ListHeaderText/componentdata.json +1 -1
- package/components/ListHeader/ListHeaderText/index.js +1 -1
- package/components/ListHeader/index.js +1 -1
- package/components/ListHeader/styles.module.scss +1 -5
- package/components/ListHeader/styles.module.scss.d.ts +0 -2
- package/components/MaxCharacters/MaxCharacters.d.ts +17 -0
- package/components/MaxCharacters/MaxCharacters.d.ts.map +1 -0
- package/components/MaxCharacters/componentdata.json +1 -0
- package/components/MaxCharacters/styles.module.scss +26 -0
- package/components/MaxCharacters/styles.module.scss.d.ts +11 -0
- package/components/Panel/Panel.d.ts.map +1 -1
- package/components/Panel/styles.module.scss +1 -1
- package/components/StatusDot/StatusDot.d.ts +9 -3
- package/components/StatusDot/StatusDot.d.ts.map +1 -1
- package/components/StatusDot/componentdata.json +1 -1
- package/components/StatusDot/index.js +1 -1
- package/components/Table/Table.d.ts +19 -9
- package/components/Table/Table.d.ts.map +1 -1
- package/components/Table/TableExpandedRow/TableExpandedRow.d.ts.map +1 -1
- package/components/Table/TableExpanderCell/TableExpanderCell.d.ts.map +1 -1
- package/components/Table/TableExpanderCell/TableExpanderCellMobile.d.ts +6 -0
- package/components/Table/TableExpanderCell/TableExpanderCellMobile.d.ts.map +1 -0
- package/components/Table/TableRow/TableRow.d.ts +1 -1
- package/components/Table/TableRow/TableRow.d.ts.map +1 -1
- package/components/Table/TableRow/componentdata.json +1 -1
- package/components/Table/index.js +1 -1
- package/components/Table/index.js.map +1 -1
- package/components/Table/styles.module.scss +131 -126
- package/components/Table/styles.module.scss.d.ts +12 -4
- package/components/Table/utils.d.ts +21 -0
- package/components/Table/utils.d.ts.map +1 -0
- package/components/Textarea/Textarea.d.ts.map +1 -1
- package/components/Textarea/index.js +1 -1
- package/components/Textarea/styles.module.scss +0 -26
- package/components/Textarea/styles.module.scss.d.ts +0 -3
- package/components/Validation/index.js +1 -1
- package/package.json +1 -1
- package/scss/_input.scss +0 -1
- package/utils/device.d.ts +2 -0
- package/utils/device.d.ts.map +1 -0
- package/utils/device.js +2 -0
- package/utils/device.js.map +1 -0
- package/utils/environment.d.ts +1 -0
- package/utils/environment.d.ts.map +1 -1
- package/utils/environment.js +1 -1
- package/utils/environment.js.map +1 -1
- package/components/Icons/TrangleX.d.ts +0 -5
- package/components/Icons/TrangleX.d.ts.map +0 -1
- package/components/Icons/TrangleX.js +0 -2
- package/components/Icons/TrangleX.js.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"VideoChat.js","sources":["../../../src/components/Icons/VideoChat.tsx"],"sourcesContent":["import React from 'react';\nimport { getIcon, SvgPathProps } from './Icon';\n\nconst VideoChat: React.FC<SvgPathProps> = ({ size, isHovered }: SvgPathProps): JSX.Element => {\n const normal = (\n <path d=\"M21.927 21.78h.114v.885h-.114a.443.443 0 010-.885zm.993 0h.496c.975 0 1.83-.521 2.304-1.298a2.734 2.734 0 002.324 1.298h3.093v1.237a3.984 3.984 0 01-3.98 3.98H26.9a3.984 3.984 0 01-3.98-3.98V21.78zm0-.911a3.985 3.985 0 013.98-3.98h.258a3.984 3.984 0 013.979 3.98v.11h-3.093a1.933 1.933 0 01-1.931-1.931v-.14h-.8v.175a1.898 1.898 0 01-1.897 1.896h-.496v-.11zm9.097.91h.114a.442.442 0 010 .886h-.114v-.885zm-10.09 1.687h.239c.23 2.422 2.252 4.332 4.734 4.332h.258c2.482 0 4.504-1.91 4.734-4.332h.239a1.244 1.244 0 000-2.487h-.194v-.11a4.785 4.785 0 00-4.78-4.78H26.9a4.785 4.785 0 00-4.78 4.78v.11h-.193c-.685 0-1.243.558-1.243 1.243 0 .686.558 1.244 1.243 1.244zM5.065 14.13h9.396v-1H5.065v1zm0 2.326h9.396v-1H5.065v1zm40.14 19.285a2.023 2.023 0 01-2.022 2.02h-32.31a2.023 2.023 0 01-2.02-2.02V34.65h36.352v1.09zM3.909 19.124a1.265 1.265 0 01-1.263-1.264v-5.777c0-.698.567-1.264 1.263-1.264h12.489c.697 0 1.264.566 1.264 1.264v5.777c0 .697-.567 1.264-1.264 1.264h-2.712v1.553l-2.416-1.553H3.909zm29.99 14.225H20.162a5.784 5.784 0 013.927-4.658 6.691 6.691 0 005.882 0 5.72 5.72 0 013.93 4.658zm-15.237-15.49v-3.608h22.425c.98 0 1.777.797 1.777 1.776v17.322H34.71a6.516 6.516 0 00-4.667-5.471l-.156-.046-.144.076c-1.663.888-3.766.886-5.43 0l-.142-.076-.156.046c-2.496.724-4.338 2.908-4.663 5.47h-8.158V20.265l3.492 2.245v-2.385h1.712a2.267 2.267 0 002.264-2.264zm25.502 15.49V16.027a3.081 3.081 0 00-3.077-3.077H18.662v-.867a2.267 2.267 0 00-2.264-2.264H3.908a2.266 2.266 0 00-2.262 2.264v5.777a2.266 2.266 0 002.263 2.264h7.067l.032.02H9.894v13.205H7.553v2.392a3.325 3.325 0 003.32 3.322h32.31a3.325 3.325 0 003.322-3.322v-2.392h-2.341zm-15.391-9.807a.327.327 0 100-.654.327.327 0 000 .654zm-3.443 0a.327.327 0 100-.654.327.327 0 000 .654z\" />\n );\n\n const normalHover = (\n <path d=\"M16.398 7.819a2.267 2.267 0 012.264 2.264v2.867h22.425a3.08 3.08 0 013.076 3.077v17.322h2.342v2.392a3.325 3.325 0 01-3.321 3.322h-32.31a3.325 3.325 0 01-3.321-3.322v-2.392h2.34V18.124H3.91a2.267 2.267 0 01-2.264-2.264v-5.777a2.267 2.267 0 012.264-2.264zm28.807 26.83H8.853v1.092c0 1.115.907 2.02 2.02 2.02h32.31a2.023 2.023 0 002.022-2.02V34.65zM29.97 28.692c-1.82.908-4.066.908-5.884 0-2.082.669-3.613 2.503-3.926 4.658h13.738a5.717 5.717 0 00-3.928-4.658zm11.116-14.44H18.662v1.609a2.267 2.267 0 01-2.264 2.264h-1.712v2.386l-3.492-2.246v15.085h8.158c.326-2.563 2.167-4.747 4.663-5.471l.156-.046.143.076c1.662.887 3.766.887 5.43 0l.143-.076.156.046a6.514 6.514 0 014.666 5.47h8.155V16.028a1.78 1.78 0 00-1.777-1.776zm-13.93 1.838a4.785 4.785 0 014.78 4.78v.11h.193a1.244 1.244 0 010 2.487h-.238c-.23 2.422-2.252 4.332-4.734 4.332h-.26c-2.481 0-4.503-1.91-4.733-4.332h-.238a1.245 1.245 0 01-1.243-1.244c0-.685.558-1.243 1.243-1.243h.193v-.11a4.785 4.785 0 014.779-4.78zm-1.437 4.393a2.697 2.697 0 01-2.304 1.298h-.496v1.237a3.984 3.984 0 003.979 3.98h.259a3.984 3.984 0 003.979-3.98V21.78h-3.093c-.98 0-1.842-.52-2.324-1.298zm-.39 2.406a.327.327 0 110 .654.327.327 0 010-.654zm3.443 0a.326.326 0 11.001.653.326.326 0 010-.653zM22.04 21.78h-.113a.443.443 0 100 .885h.113v-.885zm10.09 0h-.113v.885h.113a.443.443 0 100-.885zm-4.972-4.891h-.26a3.984 3.984 0 00-3.978 3.98v.11h.496c1.046 0 1.897-.85 1.897-1.896v-.174h.8v.139c0 1.065.866 1.93 1.93 1.93h3.094v-.11a3.984 3.984 0 00-3.98-3.98zm-10.76-8.07H3.908c-.696 0-1.263.567-1.263 1.264v5.777c0 .697.567 1.264 1.264 1.264h7.36l2.417 1.554v-1.554h2.712c.697 0 1.264-.567 1.264-1.264v-5.777c0-.697-.567-1.264-1.264-1.264zm-1.937 4.637v1H5.066v-1h9.395zm0-2.327v1H5.066v-1h9.395z\" />\n );\n\n const xSmall = (\n <path d=\"M16.398 9.813a2.271 2.271 0 012.268 2.27v1.01h22.42a2.937 2.937 0 012.933 2.934v17.466h2.34v2.249a3.18 3.18 0 01-3.176 3.176H10.874a3.18 3.18 0 01-3.177-3.176v-2.249h2.34v-13.35h.96l-.023-.014H3.909A2.272 2.272 0 011.64 17.86v-5.777a2.272 2.272 0 012.269-2.27zm28.951 24.692H8.708v1.237c0 1.193.972 2.165 2.166 2.165h32.31a2.169 2.169 0 002.165-2.165v-1.237zM29.97 28.692a6.694 6.694 0 01-5.883 0 5.787 5.787 0 00-3.95 4.801h13.788a5.718 5.718 0 00-3.955-4.801zm11.116-14.587h-22.42v3.755a2.27 2.27 0 01-2.268 2.269H14.69v2.391l-3.643-2.343v13.316h8.28a6.595 6.595 0 014.687-5.616l.155-.045.144.077c1.662.885 3.768.885 5.43 0l.142-.077.156.045a6.52 6.52 0 014.693 5.616h8.274V16.027c0-1.06-.863-1.922-1.923-1.922zM27.158 16.09a4.784 4.784 0 014.78 4.778v.111h.192c.686 0 1.244.559 1.244 1.243 0 .685-.558 1.242-1.244 1.242h-.238c-.228 2.424-2.252 4.333-4.734 4.333h-.259c-2.482 0-4.504-1.909-4.734-4.333h-.238a1.244 1.244 0 01-1.243-1.242c0-.684.559-1.243 1.243-1.243h.192v-.11a4.785 4.785 0 014.78-4.78zm-1.439 4.393a2.696 2.696 0 01-2.302 1.296h-.497v1.238a3.984 3.984 0 003.98 3.98h.258a3.984 3.984 0 003.979-3.98v-1.238h-3.094c-.98 0-1.841-.52-2.324-1.296zm-.389 2.405a.327.327 0 110 .654.327.327 0 010-.654zm3.443 0a.327.327 0 110 .654.327.327 0 010-.654zm-6.733-1.109h-.113a.444.444 0 000 .885h.113v-.885zm10.09 0h-.113v.885h.113a.443.443 0 100-.885zm-4.972-4.89h-.259a3.983 3.983 0 00-3.979 3.98v.11h.497a1.9 1.9 0 001.896-1.897v-.173h.8v.139c0 1.065.866 1.931 1.93 1.931h3.094v-.11a3.983 3.983 0 00-3.979-3.98zm-10.76-6.066H3.909a1.26 1.26 0 00-1.258 1.26v5.777c0 .694.564 1.257 1.258 1.257h7.362l2.41 1.55v-1.55h2.717a1.26 1.26 0 001.26-1.257v-5.777c0-.695-.567-1.26-1.26-1.26zm-1.937 4.628v1.012H5.067V15.45h9.394zm0-2.328v1.012H5.067v-1.012h9.394z\" />\n );\n\n const xSmallHover = (\n <path d=\"M16.398 8.044a2.272 2.272 0 012.268 2.269v2.78h22.42a2.936 2.936 0 012.932 2.934v17.466h2.342v2.249a3.18 3.18 0 01-3.177 3.176H10.874a3.18 3.18 0 01-3.177-3.176v-2.249h2.34V18.361H3.91a2.272 2.272 0 01-2.269-2.27v-5.778A2.272 2.272 0 013.91 8.044zm28.951 26.46H8.708v1.238c0 1.193.972 2.165 2.166 2.165h32.31a2.169 2.169 0 002.165-2.165v-1.237zM29.97 28.693c-1.819.908-4.067.908-5.883 0a5.784 5.784 0 00-3.95 4.801h13.788a5.718 5.718 0 00-3.955-4.801zm11.116-14.587h-22.42v1.986a2.272 2.272 0 01-2.268 2.27H14.69v2.39l-3.643-2.342v15.084h8.28a6.59 6.59 0 014.687-5.616l.155-.045.144.077c1.661.884 3.765.885 5.43 0l.143-.077.155.045a6.52 6.52 0 014.693 5.616h8.272V16.027c0-1.06-.861-1.922-1.92-1.922zM27.16 16.09a4.784 4.784 0 014.778 4.778v.111h.193c.685 0 1.243.559 1.243 1.243 0 .685-.558 1.242-1.243 1.242h-.237c-.23 2.424-2.252 4.333-4.734 4.333h-.26c-2.483 0-4.505-1.909-4.735-4.333h-.237a1.244 1.244 0 01-1.243-1.242c0-.684.558-1.243 1.243-1.243h.193v-.11a4.784 4.784 0 014.78-4.78zm-1.44 4.393a2.696 2.696 0 01-2.303 1.296h-.495v1.238a3.984 3.984 0 003.979 3.98h.259a3.984 3.984 0 003.979-3.98v-1.238h-3.094c-.981 0-1.842-.52-2.324-1.296zm-.389 2.405a.327.327 0 110 .654.327.327 0 010-.654zm3.444 0c.18 0 .325.146.325.327a.326.326 0 11-.653 0c0-.18.147-.327.328-.327zm-6.734-1.109h-.113a.443.443 0 000 .885h.113v-.885zm10.09 0h-.113v.885h.113a.443.443 0 000-.885zm-4.971-4.89h-.26a3.983 3.983 0 00-3.978 3.98v.11h.495a1.899 1.899 0 001.896-1.897v-.173h.8v.139c0 1.065.867 1.931 1.932 1.931h3.094v-.11a3.984 3.984 0 00-3.98-3.98zM16.398 9.056H3.909c-.694 0-1.258.563-1.258 1.257v5.778c0 .694.564 1.258 1.258 1.258h7.362l2.41 1.55v-1.55h2.717c.693 0 1.258-.564 1.258-1.258v-5.778c0-.694-.565-1.257-1.258-1.257zm-1.937 4.627v1.011H5.067v-1.011h9.394zm0-2.328v1.011H5.067v-1.011h9.394z\" />\n );\n\n return getIcon(size, isHovered, normal, normalHover, xSmall, xSmallHover);\n};\n\nexport default VideoChat;\n"],"names":["VideoChat","size","isHovered","getIcon","React"],"mappings":"+LAGA,MAAMA,EAAoC,CAAC,CAAE,KAAAC,EAAM,UAAAC,KAiB1CC,
|
|
1
|
+
{"version":3,"file":"VideoChat.js","sources":["../../../src/components/Icons/VideoChat.tsx"],"sourcesContent":["import React from 'react';\nimport { getIcon, SvgPathProps } from './Icon';\n\nconst VideoChat: React.FC<SvgPathProps> = ({ size, isHovered }: SvgPathProps): JSX.Element => {\n const normal = (\n <path d=\"M21.927 21.78h.114v.885h-.114a.443.443 0 010-.885zm.993 0h.496c.975 0 1.83-.521 2.304-1.298a2.734 2.734 0 002.324 1.298h3.093v1.237a3.984 3.984 0 01-3.98 3.98H26.9a3.984 3.984 0 01-3.98-3.98V21.78zm0-.911a3.985 3.985 0 013.98-3.98h.258a3.984 3.984 0 013.979 3.98v.11h-3.093a1.933 1.933 0 01-1.931-1.931v-.14h-.8v.175a1.898 1.898 0 01-1.897 1.896h-.496v-.11zm9.097.91h.114a.442.442 0 010 .886h-.114v-.885zm-10.09 1.687h.239c.23 2.422 2.252 4.332 4.734 4.332h.258c2.482 0 4.504-1.91 4.734-4.332h.239a1.244 1.244 0 000-2.487h-.194v-.11a4.785 4.785 0 00-4.78-4.78H26.9a4.785 4.785 0 00-4.78 4.78v.11h-.193c-.685 0-1.243.558-1.243 1.243 0 .686.558 1.244 1.243 1.244zM5.065 14.13h9.396v-1H5.065v1zm0 2.326h9.396v-1H5.065v1zm40.14 19.285a2.023 2.023 0 01-2.022 2.02h-32.31a2.023 2.023 0 01-2.02-2.02V34.65h36.352v1.09zM3.909 19.124a1.265 1.265 0 01-1.263-1.264v-5.777c0-.698.567-1.264 1.263-1.264h12.489c.697 0 1.264.566 1.264 1.264v5.777c0 .697-.567 1.264-1.264 1.264h-2.712v1.553l-2.416-1.553H3.909zm29.99 14.225H20.162a5.784 5.784 0 013.927-4.658 6.691 6.691 0 005.882 0 5.72 5.72 0 013.93 4.658zm-15.237-15.49v-3.608h22.425c.98 0 1.777.797 1.777 1.776v17.322H34.71a6.516 6.516 0 00-4.667-5.471l-.156-.046-.144.076c-1.663.888-3.766.886-5.43 0l-.142-.076-.156.046c-2.496.724-4.338 2.908-4.663 5.47h-8.158V20.265l3.492 2.245v-2.385h1.712a2.267 2.267 0 002.264-2.264zm25.502 15.49V16.027a3.081 3.081 0 00-3.077-3.077H18.662v-.867a2.267 2.267 0 00-2.264-2.264H3.908a2.266 2.266 0 00-2.262 2.264v5.777a2.266 2.266 0 002.263 2.264h7.067l.032.02H9.894v13.205H7.553v2.392a3.325 3.325 0 003.32 3.322h32.31a3.325 3.325 0 003.322-3.322v-2.392h-2.341zm-15.391-9.807a.327.327 0 100-.654.327.327 0 000 .654zm-3.443 0a.327.327 0 100-.654.327.327 0 000 .654z\" />\n );\n\n const normalHover = (\n <path d=\"M16.398 7.819a2.267 2.267 0 012.264 2.264v2.867h22.425a3.08 3.08 0 013.076 3.077v17.322h2.342v2.392a3.325 3.325 0 01-3.321 3.322h-32.31a3.325 3.325 0 01-3.321-3.322v-2.392h2.34V18.124H3.91a2.267 2.267 0 01-2.264-2.264v-5.777a2.267 2.267 0 012.264-2.264zm28.807 26.83H8.853v1.092c0 1.115.907 2.02 2.02 2.02h32.31a2.023 2.023 0 002.022-2.02V34.65zM29.97 28.692c-1.82.908-4.066.908-5.884 0-2.082.669-3.613 2.503-3.926 4.658h13.738a5.717 5.717 0 00-3.928-4.658zm11.116-14.44H18.662v1.609a2.267 2.267 0 01-2.264 2.264h-1.712v2.386l-3.492-2.246v15.085h8.158c.326-2.563 2.167-4.747 4.663-5.471l.156-.046.143.076c1.662.887 3.766.887 5.43 0l.143-.076.156.046a6.514 6.514 0 014.666 5.47h8.155V16.028a1.78 1.78 0 00-1.777-1.776zm-13.93 1.838a4.785 4.785 0 014.78 4.78v.11h.193a1.244 1.244 0 010 2.487h-.238c-.23 2.422-2.252 4.332-4.734 4.332h-.26c-2.481 0-4.503-1.91-4.733-4.332h-.238a1.245 1.245 0 01-1.243-1.244c0-.685.558-1.243 1.243-1.243h.193v-.11a4.785 4.785 0 014.779-4.78zm-1.437 4.393a2.697 2.697 0 01-2.304 1.298h-.496v1.237a3.984 3.984 0 003.979 3.98h.259a3.984 3.984 0 003.979-3.98V21.78h-3.093c-.98 0-1.842-.52-2.324-1.298zm-.39 2.406a.327.327 0 110 .654.327.327 0 010-.654zm3.443 0a.326.326 0 11.001.653.326.326 0 010-.653zM22.04 21.78h-.113a.443.443 0 100 .885h.113v-.885zm10.09 0h-.113v.885h.113a.443.443 0 100-.885zm-4.972-4.891h-.26a3.984 3.984 0 00-3.978 3.98v.11h.496c1.046 0 1.897-.85 1.897-1.896v-.174h.8v.139c0 1.065.866 1.93 1.93 1.93h3.094v-.11a3.984 3.984 0 00-3.98-3.98zm-10.76-8.07H3.908c-.696 0-1.263.567-1.263 1.264v5.777c0 .697.567 1.264 1.264 1.264h7.36l2.417 1.554v-1.554h2.712c.697 0 1.264-.567 1.264-1.264v-5.777c0-.697-.567-1.264-1.264-1.264zm-1.937 4.637v1H5.066v-1h9.395zm0-2.327v1H5.066v-1h9.395z\" />\n );\n\n const xSmall = (\n <path d=\"M16.398 9.813a2.271 2.271 0 012.268 2.27v1.01h22.42a2.937 2.937 0 012.933 2.934v17.466h2.34v2.249a3.18 3.18 0 01-3.176 3.176H10.874a3.18 3.18 0 01-3.177-3.176v-2.249h2.34v-13.35h.96l-.023-.014H3.909A2.272 2.272 0 011.64 17.86v-5.777a2.272 2.272 0 012.269-2.27zm28.951 24.692H8.708v1.237c0 1.193.972 2.165 2.166 2.165h32.31a2.169 2.169 0 002.165-2.165v-1.237zM29.97 28.692a6.694 6.694 0 01-5.883 0 5.787 5.787 0 00-3.95 4.801h13.788a5.718 5.718 0 00-3.955-4.801zm11.116-14.587h-22.42v3.755a2.27 2.27 0 01-2.268 2.269H14.69v2.391l-3.643-2.343v13.316h8.28a6.595 6.595 0 014.687-5.616l.155-.045.144.077c1.662.885 3.768.885 5.43 0l.142-.077.156.045a6.52 6.52 0 014.693 5.616h8.274V16.027c0-1.06-.863-1.922-1.923-1.922zM27.158 16.09a4.784 4.784 0 014.78 4.778v.111h.192c.686 0 1.244.559 1.244 1.243 0 .685-.558 1.242-1.244 1.242h-.238c-.228 2.424-2.252 4.333-4.734 4.333h-.259c-2.482 0-4.504-1.909-4.734-4.333h-.238a1.244 1.244 0 01-1.243-1.242c0-.684.559-1.243 1.243-1.243h.192v-.11a4.785 4.785 0 014.78-4.78zm-1.439 4.393a2.696 2.696 0 01-2.302 1.296h-.497v1.238a3.984 3.984 0 003.98 3.98h.258a3.984 3.984 0 003.979-3.98v-1.238h-3.094c-.98 0-1.841-.52-2.324-1.296zm-.389 2.405a.327.327 0 110 .654.327.327 0 010-.654zm3.443 0a.327.327 0 110 .654.327.327 0 010-.654zm-6.733-1.109h-.113a.444.444 0 000 .885h.113v-.885zm10.09 0h-.113v.885h.113a.443.443 0 100-.885zm-4.972-4.89h-.259a3.983 3.983 0 00-3.979 3.98v.11h.497a1.9 1.9 0 001.896-1.897v-.173h.8v.139c0 1.065.866 1.931 1.93 1.931h3.094v-.11a3.983 3.983 0 00-3.979-3.98zm-10.76-6.066H3.909a1.26 1.26 0 00-1.258 1.26v5.777c0 .694.564 1.257 1.258 1.257h7.362l2.41 1.55v-1.55h2.717a1.26 1.26 0 001.26-1.257v-5.777c0-.695-.567-1.26-1.26-1.26zm-1.937 4.628v1.012H5.067V15.45h9.394zm0-2.328v1.012H5.067v-1.012h9.394z\" />\n );\n\n const xSmallHover = (\n <path d=\"M16.398 8.044a2.272 2.272 0 012.268 2.269v2.78h22.42a2.936 2.936 0 012.932 2.934v17.466h2.342v2.249a3.18 3.18 0 01-3.177 3.176H10.874a3.18 3.18 0 01-3.177-3.176v-2.249h2.34V18.361H3.91a2.272 2.272 0 01-2.269-2.27v-5.778A2.272 2.272 0 013.91 8.044zm28.951 26.46H8.708v1.238c0 1.193.972 2.165 2.166 2.165h32.31a2.169 2.169 0 002.165-2.165v-1.237zM29.97 28.693c-1.819.908-4.067.908-5.883 0a5.784 5.784 0 00-3.95 4.801h13.788a5.718 5.718 0 00-3.955-4.801zm11.116-14.587h-22.42v1.986a2.272 2.272 0 01-2.268 2.27H14.69v2.39l-3.643-2.342v15.084h8.28a6.59 6.59 0 014.687-5.616l.155-.045.144.077c1.661.884 3.765.885 5.43 0l.143-.077.155.045a6.52 6.52 0 014.693 5.616h8.272V16.027c0-1.06-.861-1.922-1.92-1.922zM27.16 16.09a4.784 4.784 0 014.778 4.778v.111h.193c.685 0 1.243.559 1.243 1.243 0 .685-.558 1.242-1.243 1.242h-.237c-.23 2.424-2.252 4.333-4.734 4.333h-.26c-2.483 0-4.505-1.909-4.735-4.333h-.237a1.244 1.244 0 01-1.243-1.242c0-.684.558-1.243 1.243-1.243h.193v-.11a4.784 4.784 0 014.78-4.78zm-1.44 4.393a2.696 2.696 0 01-2.303 1.296h-.495v1.238a3.984 3.984 0 003.979 3.98h.259a3.984 3.984 0 003.979-3.98v-1.238h-3.094c-.981 0-1.842-.52-2.324-1.296zm-.389 2.405a.327.327 0 110 .654.327.327 0 010-.654zm3.444 0c.18 0 .325.146.325.327a.326.326 0 11-.653 0c0-.18.147-.327.328-.327zm-6.734-1.109h-.113a.443.443 0 000 .885h.113v-.885zm10.09 0h-.113v.885h.113a.443.443 0 000-.885zm-4.971-4.89h-.26a3.983 3.983 0 00-3.978 3.98v.11h.495a1.899 1.899 0 001.896-1.897v-.173h.8v.139c0 1.065.867 1.931 1.932 1.931h3.094v-.11a3.984 3.984 0 00-3.98-3.98zM16.398 9.056H3.909c-.694 0-1.258.563-1.258 1.257v5.778c0 .694.564 1.258 1.258 1.258h7.362l2.41 1.55v-1.55h2.717c.693 0 1.258-.564 1.258-1.258v-5.778c0-.694-.565-1.257-1.258-1.257zm-1.937 4.627v1.011H5.067v-1.011h9.394zm0-2.328v1.011H5.067v-1.011h9.394z\" />\n );\n\n return getIcon({ size, isHovered, normal, normalHover, xSmall, xSmallHover });\n};\n\nexport default VideoChat;\n"],"names":["VideoChat","size","isHovered","getIcon","React"],"mappings":"+LAGA,MAAMA,EAAoC,CAAC,CAAE,KAAAC,EAAM,UAAAC,KAiB1CC,EAAQ,CAAE,KAAAF,EAAM,UAAAC,EAAW,OAf/BE,EAAA,cAAA,OAAA,CAAK,EAAE,4sDAAA,CAA6sD,EAe7qD,YAXvCA,EAAA,cAAA,OAAA,CAAK,EAAE,8rDAAA,CAA+rD,EAWlpD,OAPpDA,EAAA,cAAA,OAAA,CAAK,EAAE,guDAAA,CAAiuD,EAO5qD,YAH5DA,EAAA,cAAA,OAAA,CAAK,EAAE,+vDAAA,CAAgwD,EAG9rD"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import c from"react";import{getIcon as a}from"./Icon.js";import"classnames";import"../../constants.js";import"../../hooks/useUuid.js";import"../../uuid.js";import"../../utils/environment.js";const s=({size:v,isHovered:h})=>a(v,h,c.createElement("path",{d:"M40.413 29.368h-5.24a1.964 1.964 0 01-1.963-1.963c0-1.082.88-1.963 1.963-1.963h5.24v3.926zm-1.334 7.951a.88.88 0 01-.88.88H24.669v-4c0-1.76-3.692-2.23-5.873-2.23s-5.873.47-5.873 2.23v4H9.836a.88.88 0 01-.88-.88V15.501c.364.202.776.328 1.22.328H38.2a.88.88 0 01.879.88v7.433h-3.906a3.266 3.266 0 00-3.263 3.263 3.266 3.266 0 003.263 3.263h3.906v6.651zM14.25 34.2c.287-.314 1.802-.93 4.544-.93 2.742 0 4.257.616 4.544.93-.286.311-1.801.927-4.544.927-2.743 0-4.257-.616-4.544-.928zm4.544 2.227c1.358 0 3.302-.183 4.576-.745l.002 1.277c-.453.363-2.03.907-4.578.907-2.541 0-4.114-.54-4.573-.902v-1.28c1.274.56 3.215.743 4.573.743zm0 3.99c-2.908 0-4.435-.692-4.573-.928V38.1c1.116.52 2.882.765 4.573.765 1.694 0 3.465-.247 4.58-.768l.003 1.338c-.148.29-1.675.981-4.583.981zM29.788 6.774l3.533 6.036H19.477l10.31-6.036zm10.59 17.368v-7.434A2.18 2.18 0 0038.2 14.53H10.176a1.22 1.22 0 010-2.439h7.956l-1.124.658.036.061h-6.008v1h6.593l.036.061.104-.06H36.81v-1h-1.983l-4.575-7.816-9.901 5.796H10.176a2.522 2.522 0 00-2.52 2.52v24.008c0 1.201.979 2.178 2.18 2.178h3.087c.014 1.751 3.695 2.22 5.872 2.22s5.858-.469 5.872-2.22H38.2a2.18 2.18 0 002.178-2.178v-6.65h1.335v-6.527h-1.335z"}),c.createElement("path",{d:"M40.413 29.368h-5.24a1.965 1.965 0 01-1.964-1.963c0-1.082.881-1.963 1.963-1.963h5.24v3.926zm-1.334 7.951a.88.88 0 01-.88.88H24.669v-4c0-1.76-3.692-2.23-5.873-2.23-2.182 0-5.874.47-5.874 2.23v4H9.837a.88.88 0 01-.88-.88V15.501c.364.202.776.328 1.22.328h28.023a.88.88 0 01.88.88v7.433h-3.907a3.267 3.267 0 00-3.262 3.263 3.267 3.267 0 003.262 3.263h3.907v6.651zM14.25 34.2c.287-.314 1.801-.93 4.543-.93 2.744 0 4.258.616 4.544.93-.286.311-1.8.927-4.544.927-2.742 0-4.257-.616-4.543-.928zm4.543 2.227c1.36 0 3.302-.183 4.576-.745l.002 1.277c-.453.363-2.029.907-4.578.907-2.54 0-4.114-.54-4.572-.902v-1.28c1.274.56 3.214.743 4.572.743zm0 3.99c-2.907 0-4.434-.692-4.572-.928V38.1c1.116.52 2.883.765 4.572.765 1.694 0 3.465-.247 4.58-.768l.004 1.338c-.148.29-1.675.981-4.584.981zM29.788 4.524l4.85 8.286H15.634l14.155-8.286zm10.59 19.618v-7.434A2.181 2.181 0 0038.2 14.53H10.175a1.22 1.22 0 010-2.439h4.113l-1.124.658.036.061h-2.164v1h2.75l.034.061.105-.06h21.3l.018.033.058-.034h1.51v-1h-.666L30.252 2.745 16.51 10.791h-6.334a2.522 2.522 0 00-2.519 2.52v24.008c0 1.201.978 2.178 2.18 2.178h3.088c.013 1.751 3.694 2.22 5.87 2.22 2.178 0 5.858-.469 5.872-2.22H38.2a2.181 2.181 0 002.178-2.178v-6.65h1.334v-6.527h-1.334z"}),c.createElement("path",{d:"M40.3 29.255h-5.26c-1.092 0-1.98-.89-1.98-1.982 0-1.091.888-1.98 1.98-1.98h5.26v3.962zm-1.335 7.932a.899.899 0 01-.898.897h-13.55v-4.018c0-1.744-3.68-2.21-5.853-2.21-2.175 0-5.855.466-5.855 2.21v4.018H9.704a.898.898 0 01-.897-.897V15.34c.367.21.785.34 1.237.34h28.023a.9.9 0 01.898.898v7.452h-3.924a3.247 3.247 0 00-3.244 3.244 3.248 3.248 0 003.244 3.245h3.924v6.67zm-24.893-3.07v-.015c.162-.296 1.68-.983 4.592-.983 2.794 0 4.308.634 4.569.947-.26.312-1.775.946-4.57.946-2.91 0-4.43-.686-4.59-.895zm4.592 2.158c1.365 0 3.323-.183 4.593-.752v1.284c-.43.362-2.024.921-4.593.921-2.564 0-4.157-.557-4.592-.916v-1.288c1.268.568 3.226.751 4.592.751zm0 4.029c-2.937 0-4.46-.7-4.592-.946v-1.394c1.116.525 2.89.775 4.592.775 1.703 0 3.481-.25 4.596-.777l.002 1.35c-.14.292-1.664.992-4.598.992zm-8.62-28.363h9.71l-4.227 2.474h-5.483a1.238 1.238 0 010-2.474zm19.62-4.337l3.986 6.811H18.027l11.636-6.81zM40.227 24.03v-7.452c0-1.192-.97-2.162-2.16-2.162h-2.954l-5-8.539-8.256 4.833v-.031H10.044a2.504 2.504 0 00-2.5 2.5v24.01c0 1.19.97 2.16 2.16 2.16h3.105v.01c0 1.743 3.68 2.209 5.855 2.209 2.174 0 5.853-.466 5.853-2.21v-.01h13.55a2.163 2.163 0 002.161-2.16v-6.669h1.334v-6.489h-1.334z"}),c.createElement("path",{d:"M40.3 29.255h-5.26c-1.092 0-1.98-.89-1.98-1.982 0-1.091.888-1.98 1.98-1.98h5.26v3.962zm-1.336 7.932a.898.898 0 01-.897.897h-13.55v-4.018c0-1.744-3.68-2.21-5.854-2.21s-5.854.466-5.854 2.21v4.018H9.704a.899.899 0 01-.898-.897V15.34c.367.21.786.34 1.238.34h28.023c.496 0 .897.402.897.898v7.452h-3.923a3.247 3.247 0 00-3.244 3.244 3.247 3.247 0 003.244 3.245h3.923v6.67zm-24.892-3.07v-.015c.162-.296 1.68-.983 4.59-.983 2.795 0 4.31.634 4.57.947-.26.312-1.775.946-4.57.946-2.91 0-4.428-.686-4.59-.895zm4.59 2.158c1.368 0 3.325-.183 4.595-.752l.001 1.284c-.43.362-2.025.921-4.595.921-2.564 0-4.156-.557-4.59-.916v-1.288c1.268.568 3.226.751 4.59.751zm0 4.029c-2.935 0-4.457-.7-4.59-.946v-1.394c1.116.525 2.89.775 4.59.775 1.704 0 3.482-.25 4.599-.777v1.35c-.14.292-1.663.992-4.598.992zM10.045 11.94h5.866L11.7 14.408l.005.007h-1.66a1.239 1.239 0 01-1.238-1.236 1.24 1.24 0 011.238-1.238zm19.618-6.586l5.306 9.06H14.184l15.478-9.06zm10.565 18.674v-7.452a2.163 2.163 0 00-2.16-2.162H36.43l-6.315-10.79-12.047 7.053h-8.024a2.505 2.505 0 00-2.5 2.5v24.01c0 1.19.968 2.16 2.16 2.16h3.105v.01c0 1.743 3.68 2.209 5.854 2.209 2.175 0 5.855-.466 5.855-2.21v-.01h13.55c1.19 0 2.16-.968 2.16-2.16v-6.669h1.335v-6.489h-1.336z"}));export{s as default};
|
|
1
|
+
import c from"react";import{getIcon as a}from"./Icon.js";import"classnames";import"../../constants.js";import"../../hooks/useUuid.js";import"../../uuid.js";import"../../utils/environment.js";const s=({size:v,isHovered:h})=>a({size:v,isHovered:h,normal:c.createElement("path",{d:"M40.413 29.368h-5.24a1.964 1.964 0 01-1.963-1.963c0-1.082.88-1.963 1.963-1.963h5.24v3.926zm-1.334 7.951a.88.88 0 01-.88.88H24.669v-4c0-1.76-3.692-2.23-5.873-2.23s-5.873.47-5.873 2.23v4H9.836a.88.88 0 01-.88-.88V15.501c.364.202.776.328 1.22.328H38.2a.88.88 0 01.879.88v7.433h-3.906a3.266 3.266 0 00-3.263 3.263 3.266 3.266 0 003.263 3.263h3.906v6.651zM14.25 34.2c.287-.314 1.802-.93 4.544-.93 2.742 0 4.257.616 4.544.93-.286.311-1.801.927-4.544.927-2.743 0-4.257-.616-4.544-.928zm4.544 2.227c1.358 0 3.302-.183 4.576-.745l.002 1.277c-.453.363-2.03.907-4.578.907-2.541 0-4.114-.54-4.573-.902v-1.28c1.274.56 3.215.743 4.573.743zm0 3.99c-2.908 0-4.435-.692-4.573-.928V38.1c1.116.52 2.882.765 4.573.765 1.694 0 3.465-.247 4.58-.768l.003 1.338c-.148.29-1.675.981-4.583.981zM29.788 6.774l3.533 6.036H19.477l10.31-6.036zm10.59 17.368v-7.434A2.18 2.18 0 0038.2 14.53H10.176a1.22 1.22 0 010-2.439h7.956l-1.124.658.036.061h-6.008v1h6.593l.036.061.104-.06H36.81v-1h-1.983l-4.575-7.816-9.901 5.796H10.176a2.522 2.522 0 00-2.52 2.52v24.008c0 1.201.979 2.178 2.18 2.178h3.087c.014 1.751 3.695 2.22 5.872 2.22s5.858-.469 5.872-2.22H38.2a2.18 2.18 0 002.178-2.178v-6.65h1.335v-6.527h-1.335z"}),normalHover:c.createElement("path",{d:"M40.413 29.368h-5.24a1.965 1.965 0 01-1.964-1.963c0-1.082.881-1.963 1.963-1.963h5.24v3.926zm-1.334 7.951a.88.88 0 01-.88.88H24.669v-4c0-1.76-3.692-2.23-5.873-2.23-2.182 0-5.874.47-5.874 2.23v4H9.837a.88.88 0 01-.88-.88V15.501c.364.202.776.328 1.22.328h28.023a.88.88 0 01.88.88v7.433h-3.907a3.267 3.267 0 00-3.262 3.263 3.267 3.267 0 003.262 3.263h3.907v6.651zM14.25 34.2c.287-.314 1.801-.93 4.543-.93 2.744 0 4.258.616 4.544.93-.286.311-1.8.927-4.544.927-2.742 0-4.257-.616-4.543-.928zm4.543 2.227c1.36 0 3.302-.183 4.576-.745l.002 1.277c-.453.363-2.029.907-4.578.907-2.54 0-4.114-.54-4.572-.902v-1.28c1.274.56 3.214.743 4.572.743zm0 3.99c-2.907 0-4.434-.692-4.572-.928V38.1c1.116.52 2.883.765 4.572.765 1.694 0 3.465-.247 4.58-.768l.004 1.338c-.148.29-1.675.981-4.584.981zM29.788 4.524l4.85 8.286H15.634l14.155-8.286zm10.59 19.618v-7.434A2.181 2.181 0 0038.2 14.53H10.175a1.22 1.22 0 010-2.439h4.113l-1.124.658.036.061h-2.164v1h2.75l.034.061.105-.06h21.3l.018.033.058-.034h1.51v-1h-.666L30.252 2.745 16.51 10.791h-6.334a2.522 2.522 0 00-2.519 2.52v24.008c0 1.201.978 2.178 2.18 2.178h3.088c.013 1.751 3.694 2.22 5.87 2.22 2.178 0 5.858-.469 5.872-2.22H38.2a2.181 2.181 0 002.178-2.178v-6.65h1.334v-6.527h-1.334z"}),xSmall:c.createElement("path",{d:"M40.3 29.255h-5.26c-1.092 0-1.98-.89-1.98-1.982 0-1.091.888-1.98 1.98-1.98h5.26v3.962zm-1.335 7.932a.899.899 0 01-.898.897h-13.55v-4.018c0-1.744-3.68-2.21-5.853-2.21-2.175 0-5.855.466-5.855 2.21v4.018H9.704a.898.898 0 01-.897-.897V15.34c.367.21.785.34 1.237.34h28.023a.9.9 0 01.898.898v7.452h-3.924a3.247 3.247 0 00-3.244 3.244 3.248 3.248 0 003.244 3.245h3.924v6.67zm-24.893-3.07v-.015c.162-.296 1.68-.983 4.592-.983 2.794 0 4.308.634 4.569.947-.26.312-1.775.946-4.57.946-2.91 0-4.43-.686-4.59-.895zm4.592 2.158c1.365 0 3.323-.183 4.593-.752v1.284c-.43.362-2.024.921-4.593.921-2.564 0-4.157-.557-4.592-.916v-1.288c1.268.568 3.226.751 4.592.751zm0 4.029c-2.937 0-4.46-.7-4.592-.946v-1.394c1.116.525 2.89.775 4.592.775 1.703 0 3.481-.25 4.596-.777l.002 1.35c-.14.292-1.664.992-4.598.992zm-8.62-28.363h9.71l-4.227 2.474h-5.483a1.238 1.238 0 010-2.474zm19.62-4.337l3.986 6.811H18.027l11.636-6.81zM40.227 24.03v-7.452c0-1.192-.97-2.162-2.16-2.162h-2.954l-5-8.539-8.256 4.833v-.031H10.044a2.504 2.504 0 00-2.5 2.5v24.01c0 1.19.97 2.16 2.16 2.16h3.105v.01c0 1.743 3.68 2.209 5.855 2.209 2.174 0 5.853-.466 5.853-2.21v-.01h13.55a2.163 2.163 0 002.161-2.16v-6.669h1.334v-6.489h-1.334z"}),xSmallHover:c.createElement("path",{d:"M40.3 29.255h-5.26c-1.092 0-1.98-.89-1.98-1.982 0-1.091.888-1.98 1.98-1.98h5.26v3.962zm-1.336 7.932a.898.898 0 01-.897.897h-13.55v-4.018c0-1.744-3.68-2.21-5.854-2.21s-5.854.466-5.854 2.21v4.018H9.704a.899.899 0 01-.898-.897V15.34c.367.21.786.34 1.238.34h28.023c.496 0 .897.402.897.898v7.452h-3.923a3.247 3.247 0 00-3.244 3.244 3.247 3.247 0 003.244 3.245h3.923v6.67zm-24.892-3.07v-.015c.162-.296 1.68-.983 4.59-.983 2.795 0 4.31.634 4.57.947-.26.312-1.775.946-4.57.946-2.91 0-4.428-.686-4.59-.895zm4.59 2.158c1.368 0 3.325-.183 4.595-.752l.001 1.284c-.43.362-2.025.921-4.595.921-2.564 0-4.156-.557-4.59-.916v-1.288c1.268.568 3.226.751 4.59.751zm0 4.029c-2.935 0-4.457-.7-4.59-.946v-1.394c1.116.525 2.89.775 4.59.775 1.704 0 3.482-.25 4.599-.777v1.35c-.14.292-1.663.992-4.598.992zM10.045 11.94h5.866L11.7 14.408l.005.007h-1.66a1.239 1.239 0 01-1.238-1.236 1.24 1.24 0 011.238-1.238zm19.618-6.586l5.306 9.06H14.184l15.478-9.06zm10.565 18.674v-7.452a2.163 2.163 0 00-2.16-2.162H36.43l-6.315-10.79-12.047 7.053h-8.024a2.505 2.505 0 00-2.5 2.5v24.01c0 1.19.968 2.16 2.16 2.16h3.105v.01c0 1.743 3.68 2.209 5.854 2.209 2.175 0 5.855-.466 5.855-2.21v-.01h13.55c1.19 0 2.16-.968 2.16-2.16v-6.669h1.335v-6.489h-1.336z"})});export{s as default};
|
|
2
2
|
//# sourceMappingURL=Wallet.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Wallet.js","sources":["../../../src/components/Icons/Wallet.tsx"],"sourcesContent":["import React from 'react';\nimport { getIcon, SvgPathProps } from './Icon';\n\nconst Wallet: React.FC<SvgPathProps> = ({ size, isHovered }: SvgPathProps): JSX.Element => {\n const normal = (\n <path d=\"M40.413 29.368h-5.24a1.964 1.964 0 01-1.963-1.963c0-1.082.88-1.963 1.963-1.963h5.24v3.926zm-1.334 7.951a.88.88 0 01-.88.88H24.669v-4c0-1.76-3.692-2.23-5.873-2.23s-5.873.47-5.873 2.23v4H9.836a.88.88 0 01-.88-.88V15.501c.364.202.776.328 1.22.328H38.2a.88.88 0 01.879.88v7.433h-3.906a3.266 3.266 0 00-3.263 3.263 3.266 3.266 0 003.263 3.263h3.906v6.651zM14.25 34.2c.287-.314 1.802-.93 4.544-.93 2.742 0 4.257.616 4.544.93-.286.311-1.801.927-4.544.927-2.743 0-4.257-.616-4.544-.928zm4.544 2.227c1.358 0 3.302-.183 4.576-.745l.002 1.277c-.453.363-2.03.907-4.578.907-2.541 0-4.114-.54-4.573-.902v-1.28c1.274.56 3.215.743 4.573.743zm0 3.99c-2.908 0-4.435-.692-4.573-.928V38.1c1.116.52 2.882.765 4.573.765 1.694 0 3.465-.247 4.58-.768l.003 1.338c-.148.29-1.675.981-4.583.981zM29.788 6.774l3.533 6.036H19.477l10.31-6.036zm10.59 17.368v-7.434A2.18 2.18 0 0038.2 14.53H10.176a1.22 1.22 0 010-2.439h7.956l-1.124.658.036.061h-6.008v1h6.593l.036.061.104-.06H36.81v-1h-1.983l-4.575-7.816-9.901 5.796H10.176a2.522 2.522 0 00-2.52 2.52v24.008c0 1.201.979 2.178 2.18 2.178h3.087c.014 1.751 3.695 2.22 5.872 2.22s5.858-.469 5.872-2.22H38.2a2.18 2.18 0 002.178-2.178v-6.65h1.335v-6.527h-1.335z\" />\n );\n\n const normalHover = (\n <path d=\"M40.413 29.368h-5.24a1.965 1.965 0 01-1.964-1.963c0-1.082.881-1.963 1.963-1.963h5.24v3.926zm-1.334 7.951a.88.88 0 01-.88.88H24.669v-4c0-1.76-3.692-2.23-5.873-2.23-2.182 0-5.874.47-5.874 2.23v4H9.837a.88.88 0 01-.88-.88V15.501c.364.202.776.328 1.22.328h28.023a.88.88 0 01.88.88v7.433h-3.907a3.267 3.267 0 00-3.262 3.263 3.267 3.267 0 003.262 3.263h3.907v6.651zM14.25 34.2c.287-.314 1.801-.93 4.543-.93 2.744 0 4.258.616 4.544.93-.286.311-1.8.927-4.544.927-2.742 0-4.257-.616-4.543-.928zm4.543 2.227c1.36 0 3.302-.183 4.576-.745l.002 1.277c-.453.363-2.029.907-4.578.907-2.54 0-4.114-.54-4.572-.902v-1.28c1.274.56 3.214.743 4.572.743zm0 3.99c-2.907 0-4.434-.692-4.572-.928V38.1c1.116.52 2.883.765 4.572.765 1.694 0 3.465-.247 4.58-.768l.004 1.338c-.148.29-1.675.981-4.584.981zM29.788 4.524l4.85 8.286H15.634l14.155-8.286zm10.59 19.618v-7.434A2.181 2.181 0 0038.2 14.53H10.175a1.22 1.22 0 010-2.439h4.113l-1.124.658.036.061h-2.164v1h2.75l.034.061.105-.06h21.3l.018.033.058-.034h1.51v-1h-.666L30.252 2.745 16.51 10.791h-6.334a2.522 2.522 0 00-2.519 2.52v24.008c0 1.201.978 2.178 2.18 2.178h3.088c.013 1.751 3.694 2.22 5.87 2.22 2.178 0 5.858-.469 5.872-2.22H38.2a2.181 2.181 0 002.178-2.178v-6.65h1.334v-6.527h-1.334z\" />\n );\n\n const xSmall = (\n <path d=\"M40.3 29.255h-5.26c-1.092 0-1.98-.89-1.98-1.982 0-1.091.888-1.98 1.98-1.98h5.26v3.962zm-1.335 7.932a.899.899 0 01-.898.897h-13.55v-4.018c0-1.744-3.68-2.21-5.853-2.21-2.175 0-5.855.466-5.855 2.21v4.018H9.704a.898.898 0 01-.897-.897V15.34c.367.21.785.34 1.237.34h28.023a.9.9 0 01.898.898v7.452h-3.924a3.247 3.247 0 00-3.244 3.244 3.248 3.248 0 003.244 3.245h3.924v6.67zm-24.893-3.07v-.015c.162-.296 1.68-.983 4.592-.983 2.794 0 4.308.634 4.569.947-.26.312-1.775.946-4.57.946-2.91 0-4.43-.686-4.59-.895zm4.592 2.158c1.365 0 3.323-.183 4.593-.752v1.284c-.43.362-2.024.921-4.593.921-2.564 0-4.157-.557-4.592-.916v-1.288c1.268.568 3.226.751 4.592.751zm0 4.029c-2.937 0-4.46-.7-4.592-.946v-1.394c1.116.525 2.89.775 4.592.775 1.703 0 3.481-.25 4.596-.777l.002 1.35c-.14.292-1.664.992-4.598.992zm-8.62-28.363h9.71l-4.227 2.474h-5.483a1.238 1.238 0 010-2.474zm19.62-4.337l3.986 6.811H18.027l11.636-6.81zM40.227 24.03v-7.452c0-1.192-.97-2.162-2.16-2.162h-2.954l-5-8.539-8.256 4.833v-.031H10.044a2.504 2.504 0 00-2.5 2.5v24.01c0 1.19.97 2.16 2.16 2.16h3.105v.01c0 1.743 3.68 2.209 5.855 2.209 2.174 0 5.853-.466 5.853-2.21v-.01h13.55a2.163 2.163 0 002.161-2.16v-6.669h1.334v-6.489h-1.334z\" />\n );\n\n const xSmallHover = (\n <path d=\"M40.3 29.255h-5.26c-1.092 0-1.98-.89-1.98-1.982 0-1.091.888-1.98 1.98-1.98h5.26v3.962zm-1.336 7.932a.898.898 0 01-.897.897h-13.55v-4.018c0-1.744-3.68-2.21-5.854-2.21s-5.854.466-5.854 2.21v4.018H9.704a.899.899 0 01-.898-.897V15.34c.367.21.786.34 1.238.34h28.023c.496 0 .897.402.897.898v7.452h-3.923a3.247 3.247 0 00-3.244 3.244 3.247 3.247 0 003.244 3.245h3.923v6.67zm-24.892-3.07v-.015c.162-.296 1.68-.983 4.59-.983 2.795 0 4.31.634 4.57.947-.26.312-1.775.946-4.57.946-2.91 0-4.428-.686-4.59-.895zm4.59 2.158c1.368 0 3.325-.183 4.595-.752l.001 1.284c-.43.362-2.025.921-4.595.921-2.564 0-4.156-.557-4.59-.916v-1.288c1.268.568 3.226.751 4.59.751zm0 4.029c-2.935 0-4.457-.7-4.59-.946v-1.394c1.116.525 2.89.775 4.59.775 1.704 0 3.482-.25 4.599-.777v1.35c-.14.292-1.663.992-4.598.992zM10.045 11.94h5.866L11.7 14.408l.005.007h-1.66a1.239 1.239 0 01-1.238-1.236 1.24 1.24 0 011.238-1.238zm19.618-6.586l5.306 9.06H14.184l15.478-9.06zm10.565 18.674v-7.452a2.163 2.163 0 00-2.16-2.162H36.43l-6.315-10.79-12.047 7.053h-8.024a2.505 2.505 0 00-2.5 2.5v24.01c0 1.19.968 2.16 2.16 2.16h3.105v.01c0 1.743 3.68 2.209 5.854 2.209 2.175 0 5.855-.466 5.855-2.21v-.01h13.55c1.19 0 2.16-.968 2.16-2.16v-6.669h1.335v-6.489h-1.336z\" />\n );\n\n return getIcon(size, isHovered, normal, normalHover, xSmall, xSmallHover);\n};\n\nexport default Wallet;\n"],"names":["Wallet","size","isHovered","getIcon","React"],"mappings":"+LAGA,MAAMA,EAAiC,CAAC,CAAE,KAAAC,EAAM,UAAAC,KAiBvCC,
|
|
1
|
+
{"version":3,"file":"Wallet.js","sources":["../../../src/components/Icons/Wallet.tsx"],"sourcesContent":["import React from 'react';\nimport { getIcon, SvgPathProps } from './Icon';\n\nconst Wallet: React.FC<SvgPathProps> = ({ size, isHovered }: SvgPathProps): JSX.Element => {\n const normal = (\n <path d=\"M40.413 29.368h-5.24a1.964 1.964 0 01-1.963-1.963c0-1.082.88-1.963 1.963-1.963h5.24v3.926zm-1.334 7.951a.88.88 0 01-.88.88H24.669v-4c0-1.76-3.692-2.23-5.873-2.23s-5.873.47-5.873 2.23v4H9.836a.88.88 0 01-.88-.88V15.501c.364.202.776.328 1.22.328H38.2a.88.88 0 01.879.88v7.433h-3.906a3.266 3.266 0 00-3.263 3.263 3.266 3.266 0 003.263 3.263h3.906v6.651zM14.25 34.2c.287-.314 1.802-.93 4.544-.93 2.742 0 4.257.616 4.544.93-.286.311-1.801.927-4.544.927-2.743 0-4.257-.616-4.544-.928zm4.544 2.227c1.358 0 3.302-.183 4.576-.745l.002 1.277c-.453.363-2.03.907-4.578.907-2.541 0-4.114-.54-4.573-.902v-1.28c1.274.56 3.215.743 4.573.743zm0 3.99c-2.908 0-4.435-.692-4.573-.928V38.1c1.116.52 2.882.765 4.573.765 1.694 0 3.465-.247 4.58-.768l.003 1.338c-.148.29-1.675.981-4.583.981zM29.788 6.774l3.533 6.036H19.477l10.31-6.036zm10.59 17.368v-7.434A2.18 2.18 0 0038.2 14.53H10.176a1.22 1.22 0 010-2.439h7.956l-1.124.658.036.061h-6.008v1h6.593l.036.061.104-.06H36.81v-1h-1.983l-4.575-7.816-9.901 5.796H10.176a2.522 2.522 0 00-2.52 2.52v24.008c0 1.201.979 2.178 2.18 2.178h3.087c.014 1.751 3.695 2.22 5.872 2.22s5.858-.469 5.872-2.22H38.2a2.18 2.18 0 002.178-2.178v-6.65h1.335v-6.527h-1.335z\" />\n );\n\n const normalHover = (\n <path d=\"M40.413 29.368h-5.24a1.965 1.965 0 01-1.964-1.963c0-1.082.881-1.963 1.963-1.963h5.24v3.926zm-1.334 7.951a.88.88 0 01-.88.88H24.669v-4c0-1.76-3.692-2.23-5.873-2.23-2.182 0-5.874.47-5.874 2.23v4H9.837a.88.88 0 01-.88-.88V15.501c.364.202.776.328 1.22.328h28.023a.88.88 0 01.88.88v7.433h-3.907a3.267 3.267 0 00-3.262 3.263 3.267 3.267 0 003.262 3.263h3.907v6.651zM14.25 34.2c.287-.314 1.801-.93 4.543-.93 2.744 0 4.258.616 4.544.93-.286.311-1.8.927-4.544.927-2.742 0-4.257-.616-4.543-.928zm4.543 2.227c1.36 0 3.302-.183 4.576-.745l.002 1.277c-.453.363-2.029.907-4.578.907-2.54 0-4.114-.54-4.572-.902v-1.28c1.274.56 3.214.743 4.572.743zm0 3.99c-2.907 0-4.434-.692-4.572-.928V38.1c1.116.52 2.883.765 4.572.765 1.694 0 3.465-.247 4.58-.768l.004 1.338c-.148.29-1.675.981-4.584.981zM29.788 4.524l4.85 8.286H15.634l14.155-8.286zm10.59 19.618v-7.434A2.181 2.181 0 0038.2 14.53H10.175a1.22 1.22 0 010-2.439h4.113l-1.124.658.036.061h-2.164v1h2.75l.034.061.105-.06h21.3l.018.033.058-.034h1.51v-1h-.666L30.252 2.745 16.51 10.791h-6.334a2.522 2.522 0 00-2.519 2.52v24.008c0 1.201.978 2.178 2.18 2.178h3.088c.013 1.751 3.694 2.22 5.87 2.22 2.178 0 5.858-.469 5.872-2.22H38.2a2.181 2.181 0 002.178-2.178v-6.65h1.334v-6.527h-1.334z\" />\n );\n\n const xSmall = (\n <path d=\"M40.3 29.255h-5.26c-1.092 0-1.98-.89-1.98-1.982 0-1.091.888-1.98 1.98-1.98h5.26v3.962zm-1.335 7.932a.899.899 0 01-.898.897h-13.55v-4.018c0-1.744-3.68-2.21-5.853-2.21-2.175 0-5.855.466-5.855 2.21v4.018H9.704a.898.898 0 01-.897-.897V15.34c.367.21.785.34 1.237.34h28.023a.9.9 0 01.898.898v7.452h-3.924a3.247 3.247 0 00-3.244 3.244 3.248 3.248 0 003.244 3.245h3.924v6.67zm-24.893-3.07v-.015c.162-.296 1.68-.983 4.592-.983 2.794 0 4.308.634 4.569.947-.26.312-1.775.946-4.57.946-2.91 0-4.43-.686-4.59-.895zm4.592 2.158c1.365 0 3.323-.183 4.593-.752v1.284c-.43.362-2.024.921-4.593.921-2.564 0-4.157-.557-4.592-.916v-1.288c1.268.568 3.226.751 4.592.751zm0 4.029c-2.937 0-4.46-.7-4.592-.946v-1.394c1.116.525 2.89.775 4.592.775 1.703 0 3.481-.25 4.596-.777l.002 1.35c-.14.292-1.664.992-4.598.992zm-8.62-28.363h9.71l-4.227 2.474h-5.483a1.238 1.238 0 010-2.474zm19.62-4.337l3.986 6.811H18.027l11.636-6.81zM40.227 24.03v-7.452c0-1.192-.97-2.162-2.16-2.162h-2.954l-5-8.539-8.256 4.833v-.031H10.044a2.504 2.504 0 00-2.5 2.5v24.01c0 1.19.97 2.16 2.16 2.16h3.105v.01c0 1.743 3.68 2.209 5.855 2.209 2.174 0 5.853-.466 5.853-2.21v-.01h13.55a2.163 2.163 0 002.161-2.16v-6.669h1.334v-6.489h-1.334z\" />\n );\n\n const xSmallHover = (\n <path d=\"M40.3 29.255h-5.26c-1.092 0-1.98-.89-1.98-1.982 0-1.091.888-1.98 1.98-1.98h5.26v3.962zm-1.336 7.932a.898.898 0 01-.897.897h-13.55v-4.018c0-1.744-3.68-2.21-5.854-2.21s-5.854.466-5.854 2.21v4.018H9.704a.899.899 0 01-.898-.897V15.34c.367.21.786.34 1.238.34h28.023c.496 0 .897.402.897.898v7.452h-3.923a3.247 3.247 0 00-3.244 3.244 3.247 3.247 0 003.244 3.245h3.923v6.67zm-24.892-3.07v-.015c.162-.296 1.68-.983 4.59-.983 2.795 0 4.31.634 4.57.947-.26.312-1.775.946-4.57.946-2.91 0-4.428-.686-4.59-.895zm4.59 2.158c1.368 0 3.325-.183 4.595-.752l.001 1.284c-.43.362-2.025.921-4.595.921-2.564 0-4.156-.557-4.59-.916v-1.288c1.268.568 3.226.751 4.59.751zm0 4.029c-2.935 0-4.457-.7-4.59-.946v-1.394c1.116.525 2.89.775 4.59.775 1.704 0 3.482-.25 4.599-.777v1.35c-.14.292-1.663.992-4.598.992zM10.045 11.94h5.866L11.7 14.408l.005.007h-1.66a1.239 1.239 0 01-1.238-1.236 1.24 1.24 0 011.238-1.238zm19.618-6.586l5.306 9.06H14.184l15.478-9.06zm10.565 18.674v-7.452a2.163 2.163 0 00-2.16-2.162H36.43l-6.315-10.79-12.047 7.053h-8.024a2.505 2.505 0 00-2.5 2.5v24.01c0 1.19.968 2.16 2.16 2.16h3.105v.01c0 1.743 3.68 2.209 5.854 2.209 2.175 0 5.855-.466 5.855-2.21v-.01h13.55c1.19 0 2.16-.968 2.16-2.16v-6.669h1.335v-6.489h-1.336z\" />\n );\n\n return getIcon({ size, isHovered, normal, normalHover, xSmall, xSmallHover });\n};\n\nexport default Wallet;\n"],"names":["Wallet","size","isHovered","getIcon","React"],"mappings":"+LAGA,MAAMA,EAAiC,CAAC,CAAE,KAAAC,EAAM,UAAAC,KAiBvCC,EAAQ,CAAE,KAAAF,EAAM,UAAAC,EAAW,OAf/BE,EAAA,cAAA,OAAA,CAAK,EAAE,upCAAA,CAAwpC,EAexnC,YAXvCA,EAAA,cAAA,OAAA,CAAK,EAAE,8rCAAA,CAA+rC,EAWlpC,OAPpDA,EAAA,cAAA,OAAA,CAAK,EAAE,0pCAAA,CAA2pC,EAOtmC,YAH5DA,EAAA,cAAA,OAAA,CAAK,EAAE,yrCAAA,CAA0rC,EAGxnC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import e from"react";import{getIcon as o}from"./Icon.js";import"classnames";import"../../constants.js";import"../../hooks/useUuid.js";import"../../uuid.js";import"../../utils/environment.js";const f=({size:l,isHovered:t})=>o(l,t,e.createElement("path",{fillRule:"evenodd",d:"M36.763 24c0-7.037-5.725-12.763-12.762-12.763-7.039 0-12.764 5.726-12.764 12.763S16.962 36.762 24 36.762 36.764 31.037 36.764 24zm1.4 0c0 7.809-6.353 14.162-14.162 14.162-7.81 0-14.164-6.353-14.164-14.162 0-7.81 6.354-14.163 14.163-14.163 7.81 0 14.163 6.353 14.163 14.163zM24.5 23.5h4.584v1H23.5v-7.126h1V23.5z"}),e.createElement("path",{fillRule:"evenodd",d:"M36.763 24c0-7.037-5.725-12.763-12.762-12.763-7.039 0-12.764 5.726-12.764 12.763S16.962 36.762 24 36.762 36.764 31.037 36.764 24zm1.4 0c0 7.809-6.353 14.162-14.162 14.162-7.81 0-14.164-6.353-14.164-14.162 0-7.81 6.354-14.163 14.163-14.163 7.81 0 14.163 6.353 14.163 14.163zM24.5 23.793l3.448 3.449-.707.707-3.742-3.742v-6.833h1v6.419z"}),e.createElement("path",{fillRule:"evenodd",d:"M24 36.577c-6.936 0-12.579-5.642-12.579-12.577 0-6.936 5.643-12.579 12.579-12.579 6.936 0 12.579 5.643 12.579 12.579 0 6.935-5.643 12.577-12.579 12.577zm0-26.924C16.089 9.653 9.653 16.09 9.653 24S16.09 38.346 24 38.346 38.347 31.91 38.347 24c0-7.911-6.436-14.347-14.347-14.347zm.632 7.722h-1.264v7.257h5.717v-1.264h-4.453v-5.993z"}),e.createElement("path",{fillRule:"evenodd",d:"M36.578 24c0-6.936-5.643-12.579-12.579-12.579-6.934 0-12.577 5.643-12.577 12.579 0 6.935 5.643 12.577 12.577 12.577 6.936 0 12.579-5.642 12.579-12.577zm1.768 0c0 7.911-6.435 14.346-14.347 14.346-7.91 0-14.345-6.435-14.345-14.346 0-7.911 6.435-14.347 14.345-14.347 7.912 0 14.347 6.436 14.347 14.347zm-13.715-.261l3.412 3.41-.893.893-3.782-3.78v-6.887h1.263v6.364z"}));export{f as default};
|
|
1
|
+
import e from"react";import{getIcon as o}from"./Icon.js";import"classnames";import"../../constants.js";import"../../hooks/useUuid.js";import"../../uuid.js";import"../../utils/environment.js";const f=({size:l,isHovered:t})=>o({size:l,isHovered:t,normal:e.createElement("path",{fillRule:"evenodd",d:"M36.763 24c0-7.037-5.725-12.763-12.762-12.763-7.039 0-12.764 5.726-12.764 12.763S16.962 36.762 24 36.762 36.764 31.037 36.764 24zm1.4 0c0 7.809-6.353 14.162-14.162 14.162-7.81 0-14.164-6.353-14.164-14.162 0-7.81 6.354-14.163 14.163-14.163 7.81 0 14.163 6.353 14.163 14.163zM24.5 23.5h4.584v1H23.5v-7.126h1V23.5z"}),normalHover:e.createElement("path",{fillRule:"evenodd",d:"M36.763 24c0-7.037-5.725-12.763-12.762-12.763-7.039 0-12.764 5.726-12.764 12.763S16.962 36.762 24 36.762 36.764 31.037 36.764 24zm1.4 0c0 7.809-6.353 14.162-14.162 14.162-7.81 0-14.164-6.353-14.164-14.162 0-7.81 6.354-14.163 14.163-14.163 7.81 0 14.163 6.353 14.163 14.163zM24.5 23.793l3.448 3.449-.707.707-3.742-3.742v-6.833h1v6.419z"}),xSmall:e.createElement("path",{fillRule:"evenodd",d:"M24 36.577c-6.936 0-12.579-5.642-12.579-12.577 0-6.936 5.643-12.579 12.579-12.579 6.936 0 12.579 5.643 12.579 12.579 0 6.935-5.643 12.577-12.579 12.577zm0-26.924C16.089 9.653 9.653 16.09 9.653 24S16.09 38.346 24 38.346 38.347 31.91 38.347 24c0-7.911-6.436-14.347-14.347-14.347zm.632 7.722h-1.264v7.257h5.717v-1.264h-4.453v-5.993z"}),xSmallHover:e.createElement("path",{fillRule:"evenodd",d:"M36.578 24c0-6.936-5.643-12.579-12.579-12.579-6.934 0-12.577 5.643-12.577 12.579 0 6.935 5.643 12.577 12.577 12.577 6.936 0 12.579-5.642 12.579-12.577zm1.768 0c0 7.911-6.435 14.346-14.347 14.346-7.91 0-14.345-6.435-14.345-14.346 0-7.911 6.435-14.347 14.345-14.347 7.912 0 14.347 6.436 14.347 14.347zm-13.715-.261l3.412 3.41-.893.893-3.782-3.78v-6.887h1.263v6.364z"})});export{f as default};
|
|
2
2
|
//# sourceMappingURL=Watch.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Watch.js","sources":["../../../src/components/Icons/Watch.tsx"],"sourcesContent":["import React from 'react';\nimport { getIcon, SvgPathProps } from './Icon';\n\nconst Watch: React.FC<SvgPathProps> = ({ size, isHovered }: SvgPathProps): JSX.Element => {\n const normal = (\n <path\n fillRule={'evenodd'}\n d=\"M36.763 24c0-7.037-5.725-12.763-12.762-12.763-7.039 0-12.764 5.726-12.764 12.763S16.962 36.762 24 36.762 36.764 31.037 36.764 24zm1.4 0c0 7.809-6.353 14.162-14.162 14.162-7.81 0-14.164-6.353-14.164-14.162 0-7.81 6.354-14.163 14.163-14.163 7.81 0 14.163 6.353 14.163 14.163zM24.5 23.5h4.584v1H23.5v-7.126h1V23.5z\"\n />\n );\n\n const normalHover = (\n <path\n fillRule={'evenodd'}\n d=\"M36.763 24c0-7.037-5.725-12.763-12.762-12.763-7.039 0-12.764 5.726-12.764 12.763S16.962 36.762 24 36.762 36.764 31.037 36.764 24zm1.4 0c0 7.809-6.353 14.162-14.162 14.162-7.81 0-14.164-6.353-14.164-14.162 0-7.81 6.354-14.163 14.163-14.163 7.81 0 14.163 6.353 14.163 14.163zM24.5 23.793l3.448 3.449-.707.707-3.742-3.742v-6.833h1v6.419z\"\n />\n );\n\n const xSmall = (\n <path\n fillRule={'evenodd'}\n d=\"M24 36.577c-6.936 0-12.579-5.642-12.579-12.577 0-6.936 5.643-12.579 12.579-12.579 6.936 0 12.579 5.643 12.579 12.579 0 6.935-5.643 12.577-12.579 12.577zm0-26.924C16.089 9.653 9.653 16.09 9.653 24S16.09 38.346 24 38.346 38.347 31.91 38.347 24c0-7.911-6.436-14.347-14.347-14.347zm.632 7.722h-1.264v7.257h5.717v-1.264h-4.453v-5.993z\"\n />\n );\n\n const xSmallHover = (\n <path\n fillRule={'evenodd'}\n d=\"M36.578 24c0-6.936-5.643-12.579-12.579-12.579-6.934 0-12.577 5.643-12.577 12.579 0 6.935 5.643 12.577 12.577 12.577 6.936 0 12.579-5.642 12.579-12.577zm1.768 0c0 7.911-6.435 14.346-14.347 14.346-7.91 0-14.345-6.435-14.345-14.346 0-7.911 6.435-14.347 14.345-14.347 7.912 0 14.347 6.436 14.347 14.347zm-13.715-.261l3.412 3.41-.893.893-3.782-3.78v-6.887h1.263v6.364z\"\n />\n );\n\n return getIcon(size, isHovered, normal, normalHover, xSmall, xSmallHover);\n};\n\nexport default Watch;\n"],"names":["Watch","size","isHovered","getIcon","React"],"mappings":"+LAGA,MAAMA,EAAgC,CAAC,CAAE,KAAAC,EAAM,UAAAC,KA6BtCC,
|
|
1
|
+
{"version":3,"file":"Watch.js","sources":["../../../src/components/Icons/Watch.tsx"],"sourcesContent":["import React from 'react';\nimport { getIcon, SvgPathProps } from './Icon';\n\nconst Watch: React.FC<SvgPathProps> = ({ size, isHovered }: SvgPathProps): JSX.Element => {\n const normal = (\n <path\n fillRule={'evenodd'}\n d=\"M36.763 24c0-7.037-5.725-12.763-12.762-12.763-7.039 0-12.764 5.726-12.764 12.763S16.962 36.762 24 36.762 36.764 31.037 36.764 24zm1.4 0c0 7.809-6.353 14.162-14.162 14.162-7.81 0-14.164-6.353-14.164-14.162 0-7.81 6.354-14.163 14.163-14.163 7.81 0 14.163 6.353 14.163 14.163zM24.5 23.5h4.584v1H23.5v-7.126h1V23.5z\"\n />\n );\n\n const normalHover = (\n <path\n fillRule={'evenodd'}\n d=\"M36.763 24c0-7.037-5.725-12.763-12.762-12.763-7.039 0-12.764 5.726-12.764 12.763S16.962 36.762 24 36.762 36.764 31.037 36.764 24zm1.4 0c0 7.809-6.353 14.162-14.162 14.162-7.81 0-14.164-6.353-14.164-14.162 0-7.81 6.354-14.163 14.163-14.163 7.81 0 14.163 6.353 14.163 14.163zM24.5 23.793l3.448 3.449-.707.707-3.742-3.742v-6.833h1v6.419z\"\n />\n );\n\n const xSmall = (\n <path\n fillRule={'evenodd'}\n d=\"M24 36.577c-6.936 0-12.579-5.642-12.579-12.577 0-6.936 5.643-12.579 12.579-12.579 6.936 0 12.579 5.643 12.579 12.579 0 6.935-5.643 12.577-12.579 12.577zm0-26.924C16.089 9.653 9.653 16.09 9.653 24S16.09 38.346 24 38.346 38.347 31.91 38.347 24c0-7.911-6.436-14.347-14.347-14.347zm.632 7.722h-1.264v7.257h5.717v-1.264h-4.453v-5.993z\"\n />\n );\n\n const xSmallHover = (\n <path\n fillRule={'evenodd'}\n d=\"M36.578 24c0-6.936-5.643-12.579-12.579-12.579-6.934 0-12.577 5.643-12.577 12.579 0 6.935 5.643 12.577 12.577 12.577 6.936 0 12.579-5.642 12.579-12.577zm1.768 0c0 7.911-6.435 14.346-14.347 14.346-7.91 0-14.345-6.435-14.345-14.346 0-7.911 6.435-14.347 14.345-14.347 7.912 0 14.347 6.436 14.347 14.347zm-13.715-.261l3.412 3.41-.893.893-3.782-3.78v-6.887h1.263v6.364z\"\n />\n );\n\n return getIcon({ size, isHovered, normal, normalHover, xSmall, xSmallHover });\n};\n\nexport default Watch;\n"],"names":["Watch","size","isHovered","getIcon","React"],"mappings":"+LAGA,MAAMA,EAAgC,CAAC,CAAE,KAAAC,EAAM,UAAAC,KA6BtCC,EAAQ,CAAE,KAAAF,EAAM,UAAAC,EAAW,OA3B/BE,EAAA,cAAA,OAAA,CACC,SAAU,UACV,EAAE,yTAAA,CACJ,EAwBwC,YApBvCA,EAAA,cAAA,OAAA,CACC,SAAU,UACV,EAAE,gVAAA,CACJ,EAiBqD,OAbpDA,EAAA,cAAA,OAAA,CACC,SAAU,UACV,EAAE,2UAAA,CACJ,EAU6D,YAN5DA,EAAA,cAAA,OAAA,CACC,SAAU,UACV,EAAE,6WAAA,CACJ,EAG0E"}
|
package/components/Icons/X.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import l from"react";import{getIcon as o}from"./Icon.js";import"classnames";import"../../constants.js";import"../../hooks/useUuid.js";import"../../uuid.js";import"../../utils/environment.js";const v=({size:t,isHovered:e})=>o(t,e,l.createElement("path",{d:"M25.403 24l10.259-10.259-1.403-1.403L24 22.597l-10.259-10.26-1.403 1.403L22.597 24 12.338 34.26l1.403 1.403L24 25.403l10.259 10.259 1.403-1.403z"}),l.createElement("path",{d:"M24 22.597L12.327 10.924l-1.403 1.402L22.597 24 10.923 35.674l1.403 1.402L24 25.403l11.674 11.673 1.403-1.402L25.403 24l11.673-11.674-1.403-1.402z"}),l.createElement("path",{d:"M25.773 24l10.432-10.432-1.772-1.773-10.432 10.433-10.433-10.433-1.773 1.772L22.229 24 11.795 34.433l1.773 1.772 10.433-10.433 10.432 10.433 1.772-1.773z"}),l.createElement("path",{d:"M24 22.227L11.781 10.008l-1.772 1.772 12.219 12.219-12.22 12.22 1.772 1.772L24 25.771l12.22 12.22 1.772-1.772-12.22-12.22L37.991 11.78l-1.772-1.772z"}),l.createElement("path",{d:"M36.3746 13.6056 34.3946 11.6256 24.0006 22.0196 13.6066 11.6256 11.6266 13.6056 22.0206 23.9996 11.6266 34.3936 13.6066 36.3736 24.0006 25.9796 34.3946 36.3736 36.3746 34.3936 25.9806 23.9996"}),l.createElement("path",{d:"M39.0362 10.9454 37.0562 8.9654 24.0002 22.0194 10.9442 8.9654 8.9642 10.9454 22.0202 23.9994 8.9642 37.0554 10.9442 39.0354 24.0002 25.9814 37.0562 39.0354 39.0362 37.0554 25.9802 23.9994"}));export{v as default};
|
|
1
|
+
import l from"react";import{getIcon as o}from"./Icon.js";import"classnames";import"../../constants.js";import"../../hooks/useUuid.js";import"../../uuid.js";import"../../utils/environment.js";const v=({size:t,isHovered:e})=>o({size:t,isHovered:e,normal:l.createElement("path",{d:"M25.403 24l10.259-10.259-1.403-1.403L24 22.597l-10.259-10.26-1.403 1.403L22.597 24 12.338 34.26l1.403 1.403L24 25.403l10.259 10.259 1.403-1.403z"}),normalHover:l.createElement("path",{d:"M24 22.597L12.327 10.924l-1.403 1.402L22.597 24 10.923 35.674l1.403 1.402L24 25.403l11.674 11.673 1.403-1.402L25.403 24l11.673-11.674-1.403-1.402z"}),xSmall:l.createElement("path",{d:"M25.773 24l10.432-10.432-1.772-1.773-10.432 10.433-10.433-10.433-1.773 1.772L22.229 24 11.795 34.433l1.773 1.772 10.433-10.433 10.432 10.433 1.772-1.773z"}),xSmallHover:l.createElement("path",{d:"M24 22.227L11.781 10.008l-1.772 1.772 12.219 12.219-12.22 12.22 1.772 1.772L24 25.771l12.22 12.22 1.772-1.772-12.22-12.22L37.991 11.78l-1.772-1.772z"}),xxSmall:l.createElement("path",{d:"M36.3746 13.6056 34.3946 11.6256 24.0006 22.0196 13.6066 11.6256 11.6266 13.6056 22.0206 23.9996 11.6266 34.3936 13.6066 36.3736 24.0006 25.9796 34.3946 36.3736 36.3746 34.3936 25.9806 23.9996"}),xxSmallHover:l.createElement("path",{d:"M39.0362 10.9454 37.0562 8.9654 24.0002 22.0194 10.9442 8.9654 8.9642 10.9454 22.0202 23.9994 8.9642 37.0554 10.9442 39.0354 24.0002 25.9814 37.0562 39.0354 39.0362 37.0554 25.9802 23.9994"})});export{v as default};
|
|
2
2
|
//# sourceMappingURL=X.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"X.js","sources":["../../../src/components/Icons/X.tsx"],"sourcesContent":["import React from 'react';\nimport { getIcon, SvgPathProps } from './Icon';\n\nconst X: React.FC<SvgPathProps> = ({ size, isHovered }: SvgPathProps): JSX.Element => {\n const normal = (\n <path d=\"M25.403 24l10.259-10.259-1.403-1.403L24 22.597l-10.259-10.26-1.403 1.403L22.597 24 12.338 34.26l1.403 1.403L24 25.403l10.259 10.259 1.403-1.403z\" />\n );\n\n const normalHover = (\n <path d=\"M24 22.597L12.327 10.924l-1.403 1.402L22.597 24 10.923 35.674l1.403 1.402L24 25.403l11.674 11.673 1.403-1.402L25.403 24l11.673-11.674-1.403-1.402z\" />\n );\n\n const xSmall = (\n <path d=\"M25.773 24l10.432-10.432-1.772-1.773-10.432 10.433-10.433-10.433-1.773 1.772L22.229 24 11.795 34.433l1.773 1.772 10.433-10.433 10.432 10.433 1.772-1.773z\" />\n );\n\n const xSmallHover = (\n <path d=\"M24 22.227L11.781 10.008l-1.772 1.772 12.219 12.219-12.22 12.22 1.772 1.772L24 25.771l12.22 12.22 1.772-1.772-12.22-12.22L37.991 11.78l-1.772-1.772z\" />\n );\n\n const xxSmall = (\n <path d=\"M36.3746 13.6056 34.3946 11.6256 24.0006 22.0196 13.6066 11.6256 11.6266 13.6056 22.0206 23.9996 11.6266 34.3936 13.6066 36.3736 24.0006 25.9796 34.3946 36.3736 36.3746 34.3936 25.9806 23.9996\" />\n );\n\n const xxSmallHover = (\n <path d=\"M39.0362 10.9454 37.0562 8.9654 24.0002 22.0194 10.9442 8.9654 8.9642 10.9454 22.0202 23.9994 8.9642 37.0554 10.9442 39.0354 24.0002 25.9814 37.0562 39.0354 39.0362 37.0554 25.9802 23.9994\" />\n );\n\n return getIcon(size, isHovered, normal, normalHover, xSmall, xSmallHover, xxSmall, xxSmallHover);\n};\n\nexport default X;\n"],"names":["X","size","isHovered","getIcon","React"],"mappings":"+LAGA,MAAMA,EAA4B,CAAC,CAAE,KAAAC,EAAM,UAAAC,KAyBlCC,
|
|
1
|
+
{"version":3,"file":"X.js","sources":["../../../src/components/Icons/X.tsx"],"sourcesContent":["import React from 'react';\nimport { getIcon, SvgPathProps } from './Icon';\n\nconst X: React.FC<SvgPathProps> = ({ size, isHovered }: SvgPathProps): JSX.Element => {\n const normal = (\n <path d=\"M25.403 24l10.259-10.259-1.403-1.403L24 22.597l-10.259-10.26-1.403 1.403L22.597 24 12.338 34.26l1.403 1.403L24 25.403l10.259 10.259 1.403-1.403z\" />\n );\n\n const normalHover = (\n <path d=\"M24 22.597L12.327 10.924l-1.403 1.402L22.597 24 10.923 35.674l1.403 1.402L24 25.403l11.674 11.673 1.403-1.402L25.403 24l11.673-11.674-1.403-1.402z\" />\n );\n\n const xSmall = (\n <path d=\"M25.773 24l10.432-10.432-1.772-1.773-10.432 10.433-10.433-10.433-1.773 1.772L22.229 24 11.795 34.433l1.773 1.772 10.433-10.433 10.432 10.433 1.772-1.773z\" />\n );\n\n const xSmallHover = (\n <path d=\"M24 22.227L11.781 10.008l-1.772 1.772 12.219 12.219-12.22 12.22 1.772 1.772L24 25.771l12.22 12.22 1.772-1.772-12.22-12.22L37.991 11.78l-1.772-1.772z\" />\n );\n\n const xxSmall = (\n <path d=\"M36.3746 13.6056 34.3946 11.6256 24.0006 22.0196 13.6066 11.6256 11.6266 13.6056 22.0206 23.9996 11.6266 34.3936 13.6066 36.3736 24.0006 25.9796 34.3946 36.3736 36.3746 34.3936 25.9806 23.9996\" />\n );\n\n const xxSmallHover = (\n <path d=\"M39.0362 10.9454 37.0562 8.9654 24.0002 22.0194 10.9442 8.9654 8.9642 10.9454 22.0202 23.9994 8.9642 37.0554 10.9442 39.0354 24.0002 25.9814 37.0562 39.0354 39.0362 37.0554 25.9802 23.9994\" />\n );\n\n return getIcon({ size, isHovered, normal, normalHover, xSmall, xSmallHover, xxSmall, xxSmallHover });\n};\n\nexport default X;\n"],"names":["X","size","isHovered","getIcon","React"],"mappings":"+LAGA,MAAMA,EAA4B,CAAC,CAAE,KAAAC,EAAM,UAAAC,KAyBlCC,EAAQ,CAAE,KAAAF,EAAM,UAAAC,EAAW,OAvB/BE,EAAA,cAAA,OAAA,CAAK,EAAE,kJAAA,CAAmJ,EAuBnH,YAnBvCA,EAAA,cAAA,OAAA,CAAK,EAAE,oJAAA,CAAqJ,EAmBxG,OAfpDA,EAAA,cAAA,OAAA,CAAK,EAAE,2JAAA,CAA4J,EAevG,YAX5DA,EAAA,cAAA,OAAA,CAAK,EAAE,sJAAA,CAAuJ,EAWrF,QAPzEA,EAAA,cAAA,OAAA,CAAK,EAAE,kMAAA,CAAmM,EAOxH,aAHlFA,EAAA,cAAA,OAAA,CAAK,EAAE,8LAAA,CAA+L,CAGtG,CAAA"}
|
package/components/Icons/Zoom.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import l from"react";import{getIcon as c}from"./Icon.js";import"classnames";import"../../constants.js";import"../../hooks/useUuid.js";import"../../uuid.js";import"../../utils/environment.js";const s=({size:a,isHovered:e})=>c(a,e,l.createElement("path",{d:"M21.866 20.005h5.573v1.6h-5.573v5.572h-1.6v-5.572h-5.572v-1.6h5.572v-5.573h1.6v5.573zM37.758 38.11a2.24 2.24 0 0 1-1.606.612 2.23 2.23 0 0 1-1.568-.703l-6.066-6.421a13.263 13.263 0 0 0 1.562-1.25 13.312 13.312 0 0 0 1.65-1.888l6.118 6.476c.85.9.81 2.324-.09 3.174zm-17.02-5.783a11.452 11.452 0 0 1-8.052-3.607 11.45 11.45 0 0 1-3.142-8.243c.178-6.243 5.312-11.2 11.518-11.2.11 0 .222.002.333.005 6.353.18 11.375 5.497 11.194 11.85a11.456 11.456 0 0 1-3.607 8.053c-2.24 2.114-5.166 3.24-8.244 3.142zm18.273 1.51-6.406-6.782a13.068 13.068 0 0 0 1.583-5.876c.1-3.505-1.171-6.84-3.58-9.388a13.036 13.036 0 0 0-9.167-4.108C14.2 7.482 8.15 13.196 7.945 20.43a13.043 13.043 0 0 0 3.578 9.388 13.042 13.042 0 0 0 9.553 4.113c2.136 0 4.198-.513 6.048-1.48l6.297 6.666a3.82 3.82 0 0 0 2.685 1.203l.113.002a3.82 3.82 0 0 0 2.637-1.05 3.85 3.85 0 0 0 .155-5.436z",fillRule:"evenodd"}),l.createElement("path",{d:"M21.866 20.005h6.278v1.6h-6.278v6.278h-1.6v-6.278h-6.278v-1.6h6.278v-6.278h1.6v6.278zm15.89 18.105c-.898.85-2.323.81-3.173-.091l-5.25-5.558a14.432 14.432 0 0 0 3.212-3.14l5.303 5.615c.85.9.809 2.323-.091 3.174zm-17.052-4.6a12.627 12.627 0 0 1-8.88-3.977 12.621 12.621 0 0 1-3.463-9.09 12.623 12.623 0 0 1 3.977-8.878 12.62 12.62 0 0 1 9.09-3.466c7.006.2 12.543 6.062 12.344 13.068-.2 7.006-6.068 12.558-13.068 12.343zm18.307.327-5.556-5.882a14.21 14.21 0 0 0 1.916-6.742c.225-7.888-6.01-14.488-13.897-14.713a14.22 14.22 0 0 0-10.235 3.9 14.218 14.218 0 0 0-4.478 9.997 14.217 14.217 0 0 0 3.9 10.234 14.219 14.219 0 0 0 10.41 4.485c2.49 0 4.836-.651 6.885-1.782l5.464 5.784a3.82 3.82 0 0 0 2.799 1.205 3.82 3.82 0 0 0 2.637-1.05 3.85 3.85 0 0 0 .155-5.436z",fillRule:"evenodd"}),l.createElement("path",{d:"M22.591 20.708h3.645v2.02H22.59v3.644h-2.02v-3.643h-3.644v-2.021h3.643v-3.645h2.021v3.645zm11.882 13.63c-.5.5-1.372.5-1.874 0l-4.47-4.472c.691-.555 1.304-1.2 1.834-1.912l4.51 4.51a1.318 1.318 0 0 1 0 1.873zm-21.334-12.62c0-4.656 3.787-8.443 8.442-8.443 4.656 0 8.443 3.787 8.443 8.443 0 4.655-3.787 8.442-8.443 8.442-4.655 0-8.442-3.787-8.442-8.442zm22.764 9.316-4.866-4.864a10.39 10.39 0 0 0 1.008-4.452c0-5.77-4.694-10.464-10.464-10.464-5.769 0-10.463 4.694-10.463 10.464 0 5.77 4.694 10.463 10.463 10.463 1.738 0 3.375-.432 4.819-1.185l4.77 4.77c.632.631 1.474.98 2.367.98s1.734-.349 2.366-.98c.631-.632.98-1.472.98-2.366 0-.893-.349-1.733-.98-2.366z",fillRule:"evenodd"}),l.createElement("path",{d:"M22.592 20.708H27v2.02h-4.408v4.408H20.57v-4.407h-4.409v-2.021h4.409v-4.409h2.02v4.409zm11.881 13.63c-.499.498-1.372.5-1.873 0l-3.724-3.725a11.63 11.63 0 0 0 1.834-1.912l3.763 3.763c.25.25.388.583.388.936 0 .355-.138.687-.388.937zm-22.382-12.62c0-5.233 4.258-9.49 9.49-9.49 5.233 0 9.49 4.257 9.49 9.49 0 5.232-4.257 9.49-9.49 9.49-5.232 0-9.49-4.258-9.49-9.49zm23.812 9.316-4.083-4.083a11.423 11.423 0 0 0 1.272-5.233c0-6.347-5.163-11.51-11.51-11.51-6.347 0-11.51 5.163-11.51 11.51 0 6.346 5.163 11.51 11.51 11.51 2.03 0 3.934-.533 5.591-1.459l3.998 3.997c.632.631 1.473.98 2.366.98s1.734-.349 2.365-.98c.632-.632.98-1.472.98-2.366 0-.893-.348-1.733-.98-2.366z",fillRule:"evenodd"}));export{s as default};
|
|
1
|
+
import l from"react";import{getIcon as c}from"./Icon.js";import"classnames";import"../../constants.js";import"../../hooks/useUuid.js";import"../../uuid.js";import"../../utils/environment.js";const s=({size:a,isHovered:e})=>c({size:a,isHovered:e,normal:l.createElement("path",{d:"M21.866 20.005h5.573v1.6h-5.573v5.572h-1.6v-5.572h-5.572v-1.6h5.572v-5.573h1.6v5.573zM37.758 38.11a2.24 2.24 0 0 1-1.606.612 2.23 2.23 0 0 1-1.568-.703l-6.066-6.421a13.263 13.263 0 0 0 1.562-1.25 13.312 13.312 0 0 0 1.65-1.888l6.118 6.476c.85.9.81 2.324-.09 3.174zm-17.02-5.783a11.452 11.452 0 0 1-8.052-3.607 11.45 11.45 0 0 1-3.142-8.243c.178-6.243 5.312-11.2 11.518-11.2.11 0 .222.002.333.005 6.353.18 11.375 5.497 11.194 11.85a11.456 11.456 0 0 1-3.607 8.053c-2.24 2.114-5.166 3.24-8.244 3.142zm18.273 1.51-6.406-6.782a13.068 13.068 0 0 0 1.583-5.876c.1-3.505-1.171-6.84-3.58-9.388a13.036 13.036 0 0 0-9.167-4.108C14.2 7.482 8.15 13.196 7.945 20.43a13.043 13.043 0 0 0 3.578 9.388 13.042 13.042 0 0 0 9.553 4.113c2.136 0 4.198-.513 6.048-1.48l6.297 6.666a3.82 3.82 0 0 0 2.685 1.203l.113.002a3.82 3.82 0 0 0 2.637-1.05 3.85 3.85 0 0 0 .155-5.436z",fillRule:"evenodd"}),normalHover:l.createElement("path",{d:"M21.866 20.005h6.278v1.6h-6.278v6.278h-1.6v-6.278h-6.278v-1.6h6.278v-6.278h1.6v6.278zm15.89 18.105c-.898.85-2.323.81-3.173-.091l-5.25-5.558a14.432 14.432 0 0 0 3.212-3.14l5.303 5.615c.85.9.809 2.323-.091 3.174zm-17.052-4.6a12.627 12.627 0 0 1-8.88-3.977 12.621 12.621 0 0 1-3.463-9.09 12.623 12.623 0 0 1 3.977-8.878 12.62 12.62 0 0 1 9.09-3.466c7.006.2 12.543 6.062 12.344 13.068-.2 7.006-6.068 12.558-13.068 12.343zm18.307.327-5.556-5.882a14.21 14.21 0 0 0 1.916-6.742c.225-7.888-6.01-14.488-13.897-14.713a14.22 14.22 0 0 0-10.235 3.9 14.218 14.218 0 0 0-4.478 9.997 14.217 14.217 0 0 0 3.9 10.234 14.219 14.219 0 0 0 10.41 4.485c2.49 0 4.836-.651 6.885-1.782l5.464 5.784a3.82 3.82 0 0 0 2.799 1.205 3.82 3.82 0 0 0 2.637-1.05 3.85 3.85 0 0 0 .155-5.436z",fillRule:"evenodd"}),xSmall:l.createElement("path",{d:"M22.591 20.708h3.645v2.02H22.59v3.644h-2.02v-3.643h-3.644v-2.021h3.643v-3.645h2.021v3.645zm11.882 13.63c-.5.5-1.372.5-1.874 0l-4.47-4.472c.691-.555 1.304-1.2 1.834-1.912l4.51 4.51a1.318 1.318 0 0 1 0 1.873zm-21.334-12.62c0-4.656 3.787-8.443 8.442-8.443 4.656 0 8.443 3.787 8.443 8.443 0 4.655-3.787 8.442-8.443 8.442-4.655 0-8.442-3.787-8.442-8.442zm22.764 9.316-4.866-4.864a10.39 10.39 0 0 0 1.008-4.452c0-5.77-4.694-10.464-10.464-10.464-5.769 0-10.463 4.694-10.463 10.464 0 5.77 4.694 10.463 10.463 10.463 1.738 0 3.375-.432 4.819-1.185l4.77 4.77c.632.631 1.474.98 2.367.98s1.734-.349 2.366-.98c.631-.632.98-1.472.98-2.366 0-.893-.349-1.733-.98-2.366z",fillRule:"evenodd"}),xSmallHover:l.createElement("path",{d:"M22.592 20.708H27v2.02h-4.408v4.408H20.57v-4.407h-4.409v-2.021h4.409v-4.409h2.02v4.409zm11.881 13.63c-.499.498-1.372.5-1.873 0l-3.724-3.725a11.63 11.63 0 0 0 1.834-1.912l3.763 3.763c.25.25.388.583.388.936 0 .355-.138.687-.388.937zm-22.382-12.62c0-5.233 4.258-9.49 9.49-9.49 5.233 0 9.49 4.257 9.49 9.49 0 5.232-4.257 9.49-9.49 9.49-5.232 0-9.49-4.258-9.49-9.49zm23.812 9.316-4.083-4.083a11.423 11.423 0 0 0 1.272-5.233c0-6.347-5.163-11.51-11.51-11.51-6.347 0-11.51 5.163-11.51 11.51 0 6.346 5.163 11.51 11.51 11.51 2.03 0 3.934-.533 5.591-1.459l3.998 3.997c.632.631 1.473.98 2.366.98s1.734-.349 2.365-.98c.632-.632.98-1.472.98-2.366 0-.893-.348-1.733-.98-2.366z",fillRule:"evenodd"})});export{s as default};
|
|
2
2
|
//# sourceMappingURL=Zoom.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Zoom.js","sources":["../../../src/components/Icons/Zoom.tsx"],"sourcesContent":["import React from 'react';\nimport { getIcon, SvgPathProps } from './Icon';\n\nconst Zoom: React.FC<SvgPathProps> = ({ size, isHovered }: SvgPathProps): JSX.Element => {\n const normal = (\n <path\n d=\"M21.866 20.005h5.573v1.6h-5.573v5.572h-1.6v-5.572h-5.572v-1.6h5.572v-5.573h1.6v5.573zM37.758 38.11a2.24 2.24 0 0 1-1.606.612 2.23 2.23 0 0 1-1.568-.703l-6.066-6.421a13.263 13.263 0 0 0 1.562-1.25 13.312 13.312 0 0 0 1.65-1.888l6.118 6.476c.85.9.81 2.324-.09 3.174zm-17.02-5.783a11.452 11.452 0 0 1-8.052-3.607 11.45 11.45 0 0 1-3.142-8.243c.178-6.243 5.312-11.2 11.518-11.2.11 0 .222.002.333.005 6.353.18 11.375 5.497 11.194 11.85a11.456 11.456 0 0 1-3.607 8.053c-2.24 2.114-5.166 3.24-8.244 3.142zm18.273 1.51-6.406-6.782a13.068 13.068 0 0 0 1.583-5.876c.1-3.505-1.171-6.84-3.58-9.388a13.036 13.036 0 0 0-9.167-4.108C14.2 7.482 8.15 13.196 7.945 20.43a13.043 13.043 0 0 0 3.578 9.388 13.042 13.042 0 0 0 9.553 4.113c2.136 0 4.198-.513 6.048-1.48l6.297 6.666a3.82 3.82 0 0 0 2.685 1.203l.113.002a3.82 3.82 0 0 0 2.637-1.05 3.85 3.85 0 0 0 .155-5.436z\"\n fillRule=\"evenodd\"\n />\n );\n\n const normalHover = (\n <path\n d=\"M21.866 20.005h6.278v1.6h-6.278v6.278h-1.6v-6.278h-6.278v-1.6h6.278v-6.278h1.6v6.278zm15.89 18.105c-.898.85-2.323.81-3.173-.091l-5.25-5.558a14.432 14.432 0 0 0 3.212-3.14l5.303 5.615c.85.9.809 2.323-.091 3.174zm-17.052-4.6a12.627 12.627 0 0 1-8.88-3.977 12.621 12.621 0 0 1-3.463-9.09 12.623 12.623 0 0 1 3.977-8.878 12.62 12.62 0 0 1 9.09-3.466c7.006.2 12.543 6.062 12.344 13.068-.2 7.006-6.068 12.558-13.068 12.343zm18.307.327-5.556-5.882a14.21 14.21 0 0 0 1.916-6.742c.225-7.888-6.01-14.488-13.897-14.713a14.22 14.22 0 0 0-10.235 3.9 14.218 14.218 0 0 0-4.478 9.997 14.217 14.217 0 0 0 3.9 10.234 14.219 14.219 0 0 0 10.41 4.485c2.49 0 4.836-.651 6.885-1.782l5.464 5.784a3.82 3.82 0 0 0 2.799 1.205 3.82 3.82 0 0 0 2.637-1.05 3.85 3.85 0 0 0 .155-5.436z\"\n fillRule=\"evenodd\"\n />\n );\n\n const xSmall = (\n <path\n d=\"M22.591 20.708h3.645v2.02H22.59v3.644h-2.02v-3.643h-3.644v-2.021h3.643v-3.645h2.021v3.645zm11.882 13.63c-.5.5-1.372.5-1.874 0l-4.47-4.472c.691-.555 1.304-1.2 1.834-1.912l4.51 4.51a1.318 1.318 0 0 1 0 1.873zm-21.334-12.62c0-4.656 3.787-8.443 8.442-8.443 4.656 0 8.443 3.787 8.443 8.443 0 4.655-3.787 8.442-8.443 8.442-4.655 0-8.442-3.787-8.442-8.442zm22.764 9.316-4.866-4.864a10.39 10.39 0 0 0 1.008-4.452c0-5.77-4.694-10.464-10.464-10.464-5.769 0-10.463 4.694-10.463 10.464 0 5.77 4.694 10.463 10.463 10.463 1.738 0 3.375-.432 4.819-1.185l4.77 4.77c.632.631 1.474.98 2.367.98s1.734-.349 2.366-.98c.631-.632.98-1.472.98-2.366 0-.893-.349-1.733-.98-2.366z\"\n fillRule=\"evenodd\"\n />\n );\n\n const xSmallHover = (\n <path\n d=\"M22.592 20.708H27v2.02h-4.408v4.408H20.57v-4.407h-4.409v-2.021h4.409v-4.409h2.02v4.409zm11.881 13.63c-.499.498-1.372.5-1.873 0l-3.724-3.725a11.63 11.63 0 0 0 1.834-1.912l3.763 3.763c.25.25.388.583.388.936 0 .355-.138.687-.388.937zm-22.382-12.62c0-5.233 4.258-9.49 9.49-9.49 5.233 0 9.49 4.257 9.49 9.49 0 5.232-4.257 9.49-9.49 9.49-5.232 0-9.49-4.258-9.49-9.49zm23.812 9.316-4.083-4.083a11.423 11.423 0 0 0 1.272-5.233c0-6.347-5.163-11.51-11.51-11.51-6.347 0-11.51 5.163-11.51 11.51 0 6.346 5.163 11.51 11.51 11.51 2.03 0 3.934-.533 5.591-1.459l3.998 3.997c.632.631 1.473.98 2.366.98s1.734-.349 2.365-.98c.632-.632.98-1.472.98-2.366 0-.893-.348-1.733-.98-2.366z\"\n fillRule=\"evenodd\"\n />\n );\n\n return getIcon(size, isHovered, normal, normalHover, xSmall, xSmallHover);\n};\n\nexport default Zoom;\n"],"names":["Zoom","size","isHovered","getIcon","React"],"mappings":"+LAGA,MAAMA,EAA+B,CAAC,CAAE,KAAAC,EAAM,UAAAC,KA6BrCC,
|
|
1
|
+
{"version":3,"file":"Zoom.js","sources":["../../../src/components/Icons/Zoom.tsx"],"sourcesContent":["import React from 'react';\nimport { getIcon, SvgPathProps } from './Icon';\n\nconst Zoom: React.FC<SvgPathProps> = ({ size, isHovered }: SvgPathProps): JSX.Element => {\n const normal = (\n <path\n d=\"M21.866 20.005h5.573v1.6h-5.573v5.572h-1.6v-5.572h-5.572v-1.6h5.572v-5.573h1.6v5.573zM37.758 38.11a2.24 2.24 0 0 1-1.606.612 2.23 2.23 0 0 1-1.568-.703l-6.066-6.421a13.263 13.263 0 0 0 1.562-1.25 13.312 13.312 0 0 0 1.65-1.888l6.118 6.476c.85.9.81 2.324-.09 3.174zm-17.02-5.783a11.452 11.452 0 0 1-8.052-3.607 11.45 11.45 0 0 1-3.142-8.243c.178-6.243 5.312-11.2 11.518-11.2.11 0 .222.002.333.005 6.353.18 11.375 5.497 11.194 11.85a11.456 11.456 0 0 1-3.607 8.053c-2.24 2.114-5.166 3.24-8.244 3.142zm18.273 1.51-6.406-6.782a13.068 13.068 0 0 0 1.583-5.876c.1-3.505-1.171-6.84-3.58-9.388a13.036 13.036 0 0 0-9.167-4.108C14.2 7.482 8.15 13.196 7.945 20.43a13.043 13.043 0 0 0 3.578 9.388 13.042 13.042 0 0 0 9.553 4.113c2.136 0 4.198-.513 6.048-1.48l6.297 6.666a3.82 3.82 0 0 0 2.685 1.203l.113.002a3.82 3.82 0 0 0 2.637-1.05 3.85 3.85 0 0 0 .155-5.436z\"\n fillRule=\"evenodd\"\n />\n );\n\n const normalHover = (\n <path\n d=\"M21.866 20.005h6.278v1.6h-6.278v6.278h-1.6v-6.278h-6.278v-1.6h6.278v-6.278h1.6v6.278zm15.89 18.105c-.898.85-2.323.81-3.173-.091l-5.25-5.558a14.432 14.432 0 0 0 3.212-3.14l5.303 5.615c.85.9.809 2.323-.091 3.174zm-17.052-4.6a12.627 12.627 0 0 1-8.88-3.977 12.621 12.621 0 0 1-3.463-9.09 12.623 12.623 0 0 1 3.977-8.878 12.62 12.62 0 0 1 9.09-3.466c7.006.2 12.543 6.062 12.344 13.068-.2 7.006-6.068 12.558-13.068 12.343zm18.307.327-5.556-5.882a14.21 14.21 0 0 0 1.916-6.742c.225-7.888-6.01-14.488-13.897-14.713a14.22 14.22 0 0 0-10.235 3.9 14.218 14.218 0 0 0-4.478 9.997 14.217 14.217 0 0 0 3.9 10.234 14.219 14.219 0 0 0 10.41 4.485c2.49 0 4.836-.651 6.885-1.782l5.464 5.784a3.82 3.82 0 0 0 2.799 1.205 3.82 3.82 0 0 0 2.637-1.05 3.85 3.85 0 0 0 .155-5.436z\"\n fillRule=\"evenodd\"\n />\n );\n\n const xSmall = (\n <path\n d=\"M22.591 20.708h3.645v2.02H22.59v3.644h-2.02v-3.643h-3.644v-2.021h3.643v-3.645h2.021v3.645zm11.882 13.63c-.5.5-1.372.5-1.874 0l-4.47-4.472c.691-.555 1.304-1.2 1.834-1.912l4.51 4.51a1.318 1.318 0 0 1 0 1.873zm-21.334-12.62c0-4.656 3.787-8.443 8.442-8.443 4.656 0 8.443 3.787 8.443 8.443 0 4.655-3.787 8.442-8.443 8.442-4.655 0-8.442-3.787-8.442-8.442zm22.764 9.316-4.866-4.864a10.39 10.39 0 0 0 1.008-4.452c0-5.77-4.694-10.464-10.464-10.464-5.769 0-10.463 4.694-10.463 10.464 0 5.77 4.694 10.463 10.463 10.463 1.738 0 3.375-.432 4.819-1.185l4.77 4.77c.632.631 1.474.98 2.367.98s1.734-.349 2.366-.98c.631-.632.98-1.472.98-2.366 0-.893-.349-1.733-.98-2.366z\"\n fillRule=\"evenodd\"\n />\n );\n\n const xSmallHover = (\n <path\n d=\"M22.592 20.708H27v2.02h-4.408v4.408H20.57v-4.407h-4.409v-2.021h4.409v-4.409h2.02v4.409zm11.881 13.63c-.499.498-1.372.5-1.873 0l-3.724-3.725a11.63 11.63 0 0 0 1.834-1.912l3.763 3.763c.25.25.388.583.388.936 0 .355-.138.687-.388.937zm-22.382-12.62c0-5.233 4.258-9.49 9.49-9.49 5.233 0 9.49 4.257 9.49 9.49 0 5.232-4.257 9.49-9.49 9.49-5.232 0-9.49-4.258-9.49-9.49zm23.812 9.316-4.083-4.083a11.423 11.423 0 0 0 1.272-5.233c0-6.347-5.163-11.51-11.51-11.51-6.347 0-11.51 5.163-11.51 11.51 0 6.346 5.163 11.51 11.51 11.51 2.03 0 3.934-.533 5.591-1.459l3.998 3.997c.632.631 1.473.98 2.366.98s1.734-.349 2.365-.98c.632-.632.98-1.472.98-2.366 0-.893-.348-1.733-.98-2.366z\"\n fillRule=\"evenodd\"\n />\n );\n\n return getIcon({ size, isHovered, normal, normalHover, xSmall, xSmallHover });\n};\n\nexport default Zoom;\n"],"names":["Zoom","size","isHovered","getIcon","React"],"mappings":"+LAGA,MAAMA,EAA+B,CAAC,CAAE,KAAAC,EAAM,UAAAC,KA6BrCC,EAAQ,CAAE,KAAAF,EAAM,UAAAC,EAAW,OA3B/BE,EAAA,cAAA,OAAA,CACC,EAAE,q1BACF,SAAS,SAAA,CACX,EAwBwC,YApBvCA,EAAA,cAAA,OAAA,CACC,EAAE,uvBACF,SAAS,SAAA,CACX,EAiBqD,OAbpDA,EAAA,cAAA,OAAA,CACC,EAAE,gpBACF,SAAS,SAAA,CACX,EAU6D,YAN5DA,EAAA,cAAA,OAAA,CACC,EAAE,wpBACF,SAAS,SAAA,CACX,EAG0E"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"props":{"
|
|
1
|
+
{"props":{"size":{"defaultValue":null,"description":"","name":"size","parent":{"fileName":"src/components/Icons/Icon.tsx","name":"IconConfig"},"declarations":[{"fileName":"src/components/Icons/Icon.tsx","name":"IconConfig"}],"required":true,"type":{"name":"enum","raw":"IconSize","value":[{"value":"24","description":"","fullComment":"","tags":{}},{"value":"38","description":"","fullComment":"","tags":{}},{"value":"48","description":"","fullComment":"","tags":{}},{"value":"64","description":"","fullComment":"","tags":{}},{"value":"80","description":"","fullComment":"","tags":{}},{"value":"130","description":"","fullComment":"","tags":{}}]}},"isHovered":{"defaultValue":null,"description":"","name":"isHovered","parent":{"fileName":"src/components/Icons/Icon.tsx","name":"IconConfig"},"declarations":[{"fileName":"src/components/Icons/Icon.tsx","name":"IconConfig"}],"required":true,"type":{"name":"boolean"}},"normal":{"defaultValue":null,"description":"","name":"normal","parent":{"fileName":"src/components/Icons/Icon.tsx","name":"IconConfig"},"declarations":[{"fileName":"src/components/Icons/Icon.tsx","name":"IconConfig"}],"required":true,"type":{"name":"Element"}},"normalHover":{"defaultValue":null,"description":"","name":"normalHover","parent":{"fileName":"src/components/Icons/Icon.tsx","name":"IconConfig"},"declarations":[{"fileName":"src/components/Icons/Icon.tsx","name":"IconConfig"}],"required":true,"type":{"name":"Element"}},"xSmall":{"defaultValue":null,"description":"","name":"xSmall","parent":{"fileName":"src/components/Icons/Icon.tsx","name":"IconConfig"},"declarations":[{"fileName":"src/components/Icons/Icon.tsx","name":"IconConfig"}],"required":false,"type":{"name":"Element"}},"xSmallHover":{"defaultValue":null,"description":"","name":"xSmallHover","parent":{"fileName":"src/components/Icons/Icon.tsx","name":"IconConfig"},"declarations":[{"fileName":"src/components/Icons/Icon.tsx","name":"IconConfig"}],"required":false,"type":{"name":"Element"}},"xxSmall":{"defaultValue":null,"description":"","name":"xxSmall","parent":{"fileName":"src/components/Icons/Icon.tsx","name":"IconConfig"},"declarations":[{"fileName":"src/components/Icons/Icon.tsx","name":"IconConfig"}],"required":false,"type":{"name":"Element"}},"xxSmallHover":{"defaultValue":null,"description":"","name":"xxSmallHover","parent":{"fileName":"src/components/Icons/Icon.tsx","name":"IconConfig"},"declarations":[{"fileName":"src/components/Icons/Icon.tsx","name":"IconConfig"}],"required":false,"type":{"name":"Element"}}}}
|
|
@@ -36,6 +36,10 @@ export interface InputProps extends Pick<React.InputHTMLAttributes<HTMLInputElem
|
|
|
36
36
|
afterInputChildren?: React.ReactNode;
|
|
37
37
|
/** Component shown under label */
|
|
38
38
|
belowLabelChildren?: React.ReactNode;
|
|
39
|
+
/** max character limit in input */
|
|
40
|
+
maxCharacters?: number;
|
|
41
|
+
/** The text is displayed in the end of the text-counter */
|
|
42
|
+
maxText?: string;
|
|
39
43
|
}
|
|
40
44
|
export declare enum InputTypes {
|
|
41
45
|
text = "text",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Input.d.ts","sourceRoot":"","sources":["../../../src/components/Input/Input.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"Input.d.ts","sourceRoot":"","sources":["../../../src/components/Input/Input.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA2B,MAAM,OAAO,CAAC;AAGhD,OAAO,EAAE,QAAQ,EAAE,WAAW,EAA2C,MAAM,iBAAiB,CAAC;AAEjG,OAAa,EAAY,OAAO,EAAE,MAAM,UAAU,CAAC;AASnD,MAAM,WAAW,UACf,SAAQ,IAAI,CACV,KAAK,CAAC,mBAAmB,CAAC,gBAAgB,CAAC,EACzC,UAAU,GACV,UAAU,GACV,cAAc,GACd,MAAM,GACN,aAAa,GACb,cAAc,GACd,UAAU,GACV,OAAO,GACP,KAAK,GACL,KAAK,GACL,iBAAiB,GACjB,UAAU,GACV,WAAW,GACX,WAAW,CACd;IACD,0CAA0C;IAC1C,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,uBAAuB;IACvB,IAAI,CAAC,EAAE,MAAM,OAAO,UAAU,CAAC;IAC/B,eAAe;IACf,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,eAAe;IACf,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,uDAAuD;IACvD,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,kDAAkD;IAClD,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,mDAAmD;IACnD,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,mCAAmC;IACnC,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,6CAA6C;IAC7C,IAAI,CAAC,EAAE,MAAM,OAAO,QAAQ,CAAC;IAC7B,uCAAuC;IACvC,OAAO,CAAC,EAAE,MAAM,OAAO,WAAW,CAAC;IACnC,yBAAyB;IACzB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,0CAA0C;IAC1C,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,6CAA6C;IAC7C,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,sCAAsC;IACtC,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,kCAAkC;IAClC,kBAAkB,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACrC,kCAAkC;IAClC,kBAAkB,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACrC,kCAAkC;IAClC,kBAAkB,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACrC,oCAAoC;IACpC,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,2DAA2D;IAC3D,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,oBAAY,UAAU;IACpB,IAAI,SAAS;IACb,MAAM,WAAW;IACjB,KAAK,UAAU;IACf,QAAQ,aAAa;IACrB,MAAM,WAAW;IACjB,GAAG,QAAQ;IACX,GAAG,QAAQ;IACX,IAAI,SAAS;IACb,IAAI,SAAS;CACd;AAUD,QAAA,MAAM,KAAK,qFAyIT,CAAC;AAEH,eAAe,KAAK,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"props":{"className":{"defaultValue":null,"description":"Adds custom classes to the element.","name":"className","parent":{"fileName":"src/components/Input/Input.tsx","name":"InputProps"},"declarations":[{"fileName":"src/components/Input/Input.tsx","name":"InputProps"}],"required":false,"type":{"name":"string"}},"type":{"defaultValue":null,"description":"HMTL Input type","name":"type","parent":{"fileName":"src/components/Input/Input.tsx","name":"InputProps"},"declarations":[{"fileName":"src/components/Input/Input.tsx","name":"InputProps"}],"required":false,"type":{"name":"enum","raw":"\"number\" | \"text\" | \"email\" | \"password\" | \"search\" | \"tel\" | \"url\" | \"date\" | \"time\"","value":[{"value":"\"number\""},{"value":"\"text\""},{"value":"\"email\""},{"value":"\"password\""},{"value":"\"search\""},{"value":"\"tel\""},{"value":"\"url\""},{"value":"\"date\""},{"value":"\"time\""}]}},"inputId":{"defaultValue":null,"description":"input id","name":"inputId","parent":{"fileName":"src/components/Input/Input.tsx","name":"InputProps"},"declarations":[{"fileName":"src/components/Input/Input.tsx","name":"InputProps"}],"required":false,"type":{"name":"string"}},"labelId":{"defaultValue":null,"description":"label id","name":"labelId","parent":{"fileName":"src/components/Input/Input.tsx","name":"InputProps"},"declarations":[{"fileName":"src/components/Input/Input.tsx","name":"InputProps"}],"required":false,"type":{"name":"string"}},"width":{"defaultValue":null,"description":"Width of input field in characters (approximate)","name":"width","parent":{"fileName":"src/components/Input/Input.tsx","name":"InputProps"},"declarations":[{"fileName":"src/components/Input/Input.tsx","name":"InputProps"}],"required":false,"type":{"name":"number"}},"transparent":{"defaultValue":null,"description":"If true, the component will be transparent.","name":"transparent","parent":{"fileName":"src/components/Input/Input.tsx","name":"InputProps"},"declarations":[{"fileName":"src/components/Input/Input.tsx","name":"InputProps"}],"required":false,"type":{"name":"boolean"}},"icon":{"defaultValue":null,"description":"Icon to be displayed next to the input field","name":"icon","parent":{"fileName":"src/components/Input/Input.tsx","name":"InputProps"},"declarations":[{"fileName":"src/components/Input/Input.tsx","name":"InputProps"}],"required":false,"type":{"name":"SvgIcon"}},"iconRight":{"defaultValue":null,"description":"Places the icon to the right","name":"iconRight","parent":{"fileName":"src/components/Input/Input.tsx","name":"InputProps"},"declarations":[{"fileName":"src/components/Input/Input.tsx","name":"InputProps"}],"required":false,"type":{"name":"boolean"}},"mode":{"defaultValue":null,"description":"Changes the color profile of the input","name":"mode","parent":{"fileName":"src/components/Input/Input.tsx","name":"InputProps"},"declarations":[{"fileName":"src/components/Input/Input.tsx","name":"InputProps"}],"required":false,"type":{"name":"enum","raw":"\"onwhite\" | \"ongrey\" | \"onblueberry\" | \"ondark\" | \"oninvalid\"","value":[{"value":"\"onwhite\""},{"value":"\"ongrey\""},{"value":"\"onblueberry\""},{"value":"\"ondark\""},{"value":"\"oninvalid\""}]}},"variant":{"defaultValue":null,"description":"Changes the visuals of the input","name":"variant","parent":{"fileName":"src/components/Input/Input.tsx","name":"InputProps"},"declarations":[{"fileName":"src/components/Input/Input.tsx","name":"InputProps"}],"required":false,"type":{"name":"enum","raw":"\"normal\" | \"bigform\"","value":[{"value":"\"normal\""},{"value":"\"bigform\""}]}},"label":{"defaultValue":null,"description":"Label of the input","name":"label","parent":{"fileName":"src/components/Input/Input.tsx","name":"InputProps"},"declarations":[{"fileName":"src/components/Input/Input.tsx","name":"InputProps"}],"required":false,"type":{"name":"string"}},"error":{"defaultValue":null,"description":"Activates Error style for the input","name":"error","parent":{"fileName":"src/components/Input/Input.tsx","name":"InputProps"},"declarations":[{"fileName":"src/components/Input/Input.tsx","name":"InputProps"}],"required":false,"type":{"name":"boolean"}},"errorText":{"defaultValue":null,"description":"Error text to show above the component","name":"errorText","parent":{"fileName":"src/components/Input/Input.tsx","name":"InputProps"},"declarations":[{"fileName":"src/components/Input/Input.tsx","name":"InputProps"}],"required":false,"type":{"name":"string"}},"testId":{"defaultValue":null,"description":"Sets the data-testid attribute.","name":"testId","parent":{"fileName":"src/components/Input/Input.tsx","name":"InputProps"},"declarations":[{"fileName":"src/components/Input/Input.tsx","name":"InputProps"}],"required":false,"type":{"name":"string"}},"afterLabelChildren":{"defaultValue":null,"description":"Component shown after label","name":"afterLabelChildren","parent":{"fileName":"src/components/Input/Input.tsx","name":"InputProps"},"declarations":[{"fileName":"src/components/Input/Input.tsx","name":"InputProps"}],"required":false,"type":{"name":"ReactNode"}},"afterInputChildren":{"defaultValue":null,"description":"Component shown after input","name":"afterInputChildren","parent":{"fileName":"src/components/Input/Input.tsx","name":"InputProps"},"declarations":[{"fileName":"src/components/Input/Input.tsx","name":"InputProps"}],"required":false,"type":{"name":"ReactNode"}},"belowLabelChildren":{"defaultValue":null,"description":"Component shown under label","name":"belowLabelChildren","parent":{"fileName":"src/components/Input/Input.tsx","name":"InputProps"},"declarations":[{"fileName":"src/components/Input/Input.tsx","name":"InputProps"}],"required":false,"type":{"name":"ReactNode"}},"disabled":{"defaultValue":null,"description":"","name":"disabled","parent":{"fileName":"designsystem/node_modules/@types/react/index.d.ts","name":"InputHTMLAttributes"},"declarations":[{"fileName":"designsystem/node_modules/@types/react/index.d.ts","name":"InputHTMLAttributes"}],"required":false,"type":{"name":"boolean"}},"readOnly":{"defaultValue":null,"description":"","name":"readOnly","parent":{"fileName":"designsystem/node_modules/@types/react/index.d.ts","name":"InputHTMLAttributes"},"declarations":[{"fileName":"designsystem/node_modules/@types/react/index.d.ts","name":"InputHTMLAttributes"}],"required":false,"type":{"name":"boolean"}},"autoComplete":{"defaultValue":null,"description":"","name":"autoComplete","parent":{"fileName":"designsystem/node_modules/@types/react/index.d.ts","name":"InputHTMLAttributes"},"declarations":[{"fileName":"designsystem/node_modules/@types/react/index.d.ts","name":"InputHTMLAttributes"}],"required":false,"type":{"name":"string"}},"name":{"defaultValue":null,"description":"","name":"name","parent":{"fileName":"designsystem/node_modules/@types/react/index.d.ts","name":"InputHTMLAttributes"},"declarations":[{"fileName":"designsystem/node_modules/@types/react/index.d.ts","name":"InputHTMLAttributes"}],"required":false,"type":{"name":"string"}},"placeholder":{"defaultValue":null,"description":"","name":"placeholder","parent":{"fileName":"designsystem/node_modules/@types/react/index.d.ts","name":"InputHTMLAttributes"},"declarations":[{"fileName":"designsystem/node_modules/@types/react/index.d.ts","name":"InputHTMLAttributes"}],"required":false,"type":{"name":"string"}},"defaultValue":{"defaultValue":null,"description":"","name":"defaultValue","parent":{"fileName":"designsystem/node_modules/@types/react/index.d.ts","name":"HTMLAttributes"},"declarations":[{"fileName":"designsystem/node_modules/@types/react/index.d.ts","name":"HTMLAttributes"}],"required":false,"type":{"name":"string | number | readonly string[]"}},"required":{"defaultValue":null,"description":"","name":"required","parent":{"fileName":"designsystem/node_modules/@types/react/index.d.ts","name":"InputHTMLAttributes"},"declarations":[{"fileName":"designsystem/node_modules/@types/react/index.d.ts","name":"InputHTMLAttributes"}],"required":false,"type":{"name":"boolean"}},"value":{"defaultValue":null,"description":"","name":"value","parent":{"fileName":"designsystem/node_modules/@types/react/index.d.ts","name":"InputHTMLAttributes"},"declarations":[{"fileName":"designsystem/node_modules/@types/react/index.d.ts","name":"InputHTMLAttributes"}],"required":false,"type":{"name":"string | number | readonly string[]"}},"min":{"defaultValue":null,"description":"","name":"min","parent":{"fileName":"designsystem/node_modules/@types/react/index.d.ts","name":"InputHTMLAttributes"},"declarations":[{"fileName":"designsystem/node_modules/@types/react/index.d.ts","name":"InputHTMLAttributes"}],"required":false,"type":{"name":"string | number"}},"max":{"defaultValue":null,"description":"","name":"max","parent":{"fileName":"designsystem/node_modules/@types/react/index.d.ts","name":"InputHTMLAttributes"},"declarations":[{"fileName":"designsystem/node_modules/@types/react/index.d.ts","name":"InputHTMLAttributes"}],"required":false,"type":{"name":"string | number"}},"aria-labelledby":{"defaultValue":null,"description":"Identifies the element (or elements) that labels the current element.\n@see aria-describedby.","name":"aria-labelledby","parent":{"fileName":"designsystem/node_modules/@types/react/index.d.ts","name":"AriaAttributes"},"declarations":[{"fileName":"designsystem/node_modules/@types/react/index.d.ts","name":"AriaAttributes"}],"required":false,"type":{"name":"string"}},"onChange":{"defaultValue":null,"description":"","name":"onChange","parent":{"fileName":"designsystem/node_modules/@types/react/index.d.ts","name":"InputHTMLAttributes"},"declarations":[{"fileName":"designsystem/node_modules/@types/react/index.d.ts","name":"InputHTMLAttributes"}],"required":false,"type":{"name":"ChangeEventHandler<HTMLInputElement>"}},"onKeyDown":{"defaultValue":null,"description":"","name":"onKeyDown","parent":{"fileName":"designsystem/node_modules/@types/react/index.d.ts","name":"DOMAttributes"},"declarations":[{"fileName":"designsystem/node_modules/@types/react/index.d.ts","name":"DOMAttributes"}],"required":false,"type":{"name":"KeyboardEventHandler<HTMLInputElement>"}},"autoFocus":{"defaultValue":null,"description":"","name":"autoFocus","parent":{"fileName":"designsystem/node_modules/@types/react/index.d.ts","name":"InputHTMLAttributes"},"declarations":[{"fileName":"designsystem/node_modules/@types/react/index.d.ts","name":"InputHTMLAttributes"}],"required":false,"type":{"name":"boolean"}}}}
|
|
1
|
+
{"props":{"className":{"defaultValue":null,"description":"Adds custom classes to the element.","name":"className","parent":{"fileName":"src/components/Input/Input.tsx","name":"InputProps"},"declarations":[{"fileName":"src/components/Input/Input.tsx","name":"InputProps"}],"required":false,"type":{"name":"string"}},"type":{"defaultValue":null,"description":"HMTL Input type","name":"type","parent":{"fileName":"src/components/Input/Input.tsx","name":"InputProps"},"declarations":[{"fileName":"src/components/Input/Input.tsx","name":"InputProps"}],"required":false,"type":{"name":"enum","raw":"\"number\" | \"text\" | \"email\" | \"password\" | \"search\" | \"tel\" | \"url\" | \"date\" | \"time\"","value":[{"value":"\"number\""},{"value":"\"text\""},{"value":"\"email\""},{"value":"\"password\""},{"value":"\"search\""},{"value":"\"tel\""},{"value":"\"url\""},{"value":"\"date\""},{"value":"\"time\""}]}},"inputId":{"defaultValue":null,"description":"input id","name":"inputId","parent":{"fileName":"src/components/Input/Input.tsx","name":"InputProps"},"declarations":[{"fileName":"src/components/Input/Input.tsx","name":"InputProps"}],"required":false,"type":{"name":"string"}},"labelId":{"defaultValue":null,"description":"label id","name":"labelId","parent":{"fileName":"src/components/Input/Input.tsx","name":"InputProps"},"declarations":[{"fileName":"src/components/Input/Input.tsx","name":"InputProps"}],"required":false,"type":{"name":"string"}},"width":{"defaultValue":null,"description":"Width of input field in characters (approximate)","name":"width","parent":{"fileName":"src/components/Input/Input.tsx","name":"InputProps"},"declarations":[{"fileName":"src/components/Input/Input.tsx","name":"InputProps"}],"required":false,"type":{"name":"number"}},"transparent":{"defaultValue":null,"description":"If true, the component will be transparent.","name":"transparent","parent":{"fileName":"src/components/Input/Input.tsx","name":"InputProps"},"declarations":[{"fileName":"src/components/Input/Input.tsx","name":"InputProps"}],"required":false,"type":{"name":"boolean"}},"icon":{"defaultValue":null,"description":"Icon to be displayed next to the input field","name":"icon","parent":{"fileName":"src/components/Input/Input.tsx","name":"InputProps"},"declarations":[{"fileName":"src/components/Input/Input.tsx","name":"InputProps"}],"required":false,"type":{"name":"SvgIcon"}},"iconRight":{"defaultValue":null,"description":"Places the icon to the right","name":"iconRight","parent":{"fileName":"src/components/Input/Input.tsx","name":"InputProps"},"declarations":[{"fileName":"src/components/Input/Input.tsx","name":"InputProps"}],"required":false,"type":{"name":"boolean"}},"mode":{"defaultValue":null,"description":"Changes the color profile of the input","name":"mode","parent":{"fileName":"src/components/Input/Input.tsx","name":"InputProps"},"declarations":[{"fileName":"src/components/Input/Input.tsx","name":"InputProps"}],"required":false,"type":{"name":"enum","raw":"\"onwhite\" | \"ongrey\" | \"onblueberry\" | \"ondark\" | \"oninvalid\"","value":[{"value":"\"onwhite\""},{"value":"\"ongrey\""},{"value":"\"onblueberry\""},{"value":"\"ondark\""},{"value":"\"oninvalid\""}]}},"variant":{"defaultValue":null,"description":"Changes the visuals of the input","name":"variant","parent":{"fileName":"src/components/Input/Input.tsx","name":"InputProps"},"declarations":[{"fileName":"src/components/Input/Input.tsx","name":"InputProps"}],"required":false,"type":{"name":"enum","raw":"\"normal\" | \"bigform\"","value":[{"value":"\"normal\""},{"value":"\"bigform\""}]}},"label":{"defaultValue":null,"description":"Label of the input","name":"label","parent":{"fileName":"src/components/Input/Input.tsx","name":"InputProps"},"declarations":[{"fileName":"src/components/Input/Input.tsx","name":"InputProps"}],"required":false,"type":{"name":"string"}},"error":{"defaultValue":null,"description":"Activates Error style for the input","name":"error","parent":{"fileName":"src/components/Input/Input.tsx","name":"InputProps"},"declarations":[{"fileName":"src/components/Input/Input.tsx","name":"InputProps"}],"required":false,"type":{"name":"boolean"}},"errorText":{"defaultValue":null,"description":"Error text to show above the component","name":"errorText","parent":{"fileName":"src/components/Input/Input.tsx","name":"InputProps"},"declarations":[{"fileName":"src/components/Input/Input.tsx","name":"InputProps"}],"required":false,"type":{"name":"string"}},"testId":{"defaultValue":null,"description":"Sets the data-testid attribute.","name":"testId","parent":{"fileName":"src/components/Input/Input.tsx","name":"InputProps"},"declarations":[{"fileName":"src/components/Input/Input.tsx","name":"InputProps"}],"required":false,"type":{"name":"string"}},"afterLabelChildren":{"defaultValue":null,"description":"Component shown after label","name":"afterLabelChildren","parent":{"fileName":"src/components/Input/Input.tsx","name":"InputProps"},"declarations":[{"fileName":"src/components/Input/Input.tsx","name":"InputProps"}],"required":false,"type":{"name":"ReactNode"}},"afterInputChildren":{"defaultValue":null,"description":"Component shown after input","name":"afterInputChildren","parent":{"fileName":"src/components/Input/Input.tsx","name":"InputProps"},"declarations":[{"fileName":"src/components/Input/Input.tsx","name":"InputProps"}],"required":false,"type":{"name":"ReactNode"}},"belowLabelChildren":{"defaultValue":null,"description":"Component shown under label","name":"belowLabelChildren","parent":{"fileName":"src/components/Input/Input.tsx","name":"InputProps"},"declarations":[{"fileName":"src/components/Input/Input.tsx","name":"InputProps"}],"required":false,"type":{"name":"ReactNode"}},"maxCharacters":{"defaultValue":null,"description":"max character limit in input","name":"maxCharacters","parent":{"fileName":"src/components/Input/Input.tsx","name":"InputProps"},"declarations":[{"fileName":"src/components/Input/Input.tsx","name":"InputProps"}],"required":false,"type":{"name":"number"}},"maxText":{"defaultValue":null,"description":"The text is displayed in the end of the text-counter","name":"maxText","parent":{"fileName":"src/components/Input/Input.tsx","name":"InputProps"},"declarations":[{"fileName":"src/components/Input/Input.tsx","name":"InputProps"}],"required":false,"type":{"name":"string"}},"disabled":{"defaultValue":null,"description":"","name":"disabled","parent":{"fileName":"designsystem/node_modules/@types/react/index.d.ts","name":"InputHTMLAttributes"},"declarations":[{"fileName":"designsystem/node_modules/@types/react/index.d.ts","name":"InputHTMLAttributes"}],"required":false,"type":{"name":"boolean"}},"readOnly":{"defaultValue":null,"description":"","name":"readOnly","parent":{"fileName":"designsystem/node_modules/@types/react/index.d.ts","name":"InputHTMLAttributes"},"declarations":[{"fileName":"designsystem/node_modules/@types/react/index.d.ts","name":"InputHTMLAttributes"}],"required":false,"type":{"name":"boolean"}},"autoComplete":{"defaultValue":null,"description":"","name":"autoComplete","parent":{"fileName":"designsystem/node_modules/@types/react/index.d.ts","name":"InputHTMLAttributes"},"declarations":[{"fileName":"designsystem/node_modules/@types/react/index.d.ts","name":"InputHTMLAttributes"}],"required":false,"type":{"name":"string"}},"name":{"defaultValue":null,"description":"","name":"name","parent":{"fileName":"designsystem/node_modules/@types/react/index.d.ts","name":"InputHTMLAttributes"},"declarations":[{"fileName":"designsystem/node_modules/@types/react/index.d.ts","name":"InputHTMLAttributes"}],"required":false,"type":{"name":"string"}},"placeholder":{"defaultValue":null,"description":"","name":"placeholder","parent":{"fileName":"designsystem/node_modules/@types/react/index.d.ts","name":"InputHTMLAttributes"},"declarations":[{"fileName":"designsystem/node_modules/@types/react/index.d.ts","name":"InputHTMLAttributes"}],"required":false,"type":{"name":"string"}},"defaultValue":{"defaultValue":null,"description":"","name":"defaultValue","parent":{"fileName":"designsystem/node_modules/@types/react/index.d.ts","name":"HTMLAttributes"},"declarations":[{"fileName":"designsystem/node_modules/@types/react/index.d.ts","name":"HTMLAttributes"}],"required":false,"type":{"name":"string | number | readonly string[]"}},"required":{"defaultValue":null,"description":"","name":"required","parent":{"fileName":"designsystem/node_modules/@types/react/index.d.ts","name":"InputHTMLAttributes"},"declarations":[{"fileName":"designsystem/node_modules/@types/react/index.d.ts","name":"InputHTMLAttributes"}],"required":false,"type":{"name":"boolean"}},"value":{"defaultValue":null,"description":"","name":"value","parent":{"fileName":"designsystem/node_modules/@types/react/index.d.ts","name":"InputHTMLAttributes"},"declarations":[{"fileName":"designsystem/node_modules/@types/react/index.d.ts","name":"InputHTMLAttributes"}],"required":false,"type":{"name":"string | number | readonly string[]"}},"min":{"defaultValue":null,"description":"","name":"min","parent":{"fileName":"designsystem/node_modules/@types/react/index.d.ts","name":"InputHTMLAttributes"},"declarations":[{"fileName":"designsystem/node_modules/@types/react/index.d.ts","name":"InputHTMLAttributes"}],"required":false,"type":{"name":"string | number"}},"max":{"defaultValue":null,"description":"","name":"max","parent":{"fileName":"designsystem/node_modules/@types/react/index.d.ts","name":"InputHTMLAttributes"},"declarations":[{"fileName":"designsystem/node_modules/@types/react/index.d.ts","name":"InputHTMLAttributes"}],"required":false,"type":{"name":"string | number"}},"aria-labelledby":{"defaultValue":null,"description":"Identifies the element (or elements) that labels the current element.\n@see aria-describedby.","name":"aria-labelledby","parent":{"fileName":"designsystem/node_modules/@types/react/index.d.ts","name":"AriaAttributes"},"declarations":[{"fileName":"designsystem/node_modules/@types/react/index.d.ts","name":"AriaAttributes"}],"required":false,"type":{"name":"string"}},"onChange":{"defaultValue":null,"description":"","name":"onChange","parent":{"fileName":"designsystem/node_modules/@types/react/index.d.ts","name":"InputHTMLAttributes"},"declarations":[{"fileName":"designsystem/node_modules/@types/react/index.d.ts","name":"InputHTMLAttributes"}],"required":false,"type":{"name":"ChangeEventHandler<HTMLInputElement>"}},"onKeyDown":{"defaultValue":null,"description":"","name":"onKeyDown","parent":{"fileName":"designsystem/node_modules/@types/react/index.d.ts","name":"DOMAttributes"},"declarations":[{"fileName":"designsystem/node_modules/@types/react/index.d.ts","name":"DOMAttributes"}],"required":false,"type":{"name":"KeyboardEventHandler<HTMLInputElement>"}},"autoFocus":{"defaultValue":null,"description":"","name":"autoFocus","parent":{"fileName":"designsystem/node_modules/@types/react/index.d.ts","name":"InputHTMLAttributes"},"declarations":[{"fileName":"designsystem/node_modules/@types/react/index.d.ts","name":"InputHTMLAttributes"}],"required":false,"type":{"name":"boolean"}}}}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import"../../Input.js";import{a as
|
|
1
|
+
import"../../Input.js";import{a as j,I as k}from"../../Input.js";import"react";import"classnames";import"../../constants.js";import"../../uuid.js";import"../../utils/environment.js";import"../Icons/Icon.js";import"../../hooks/useUuid.js";import"../../theme/currys/color.js";import"../../theme/index.js";import"../../theme/palette.js";import"../../theme/spacers.js";import"../../theme/grid.js";import"../../hooks/useBreakpoint.js";import"../../ErrorWrapper.js";import"../ErrorWrapper/styles.module.scss";import"../../MaxCharacters.js";import"../MaxCharacters/styles.module.scss";import"./styles.module.scss";export{j as InputTypes,k as default};
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LinkList.d.ts","sourceRoot":"","sources":["../../../src/components/LinkList/LinkList.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AAKnD,OAAO,EAAE,cAAc,EAAoB,MAAM,0BAA0B,CAAC;AAG5E,oBAAY,YAAY,GAAG,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAC;AAExD,oBAAY,iBAAiB,GAAG,OAAO,GAAG,QAAQ,GAAG,SAAS,CAAC;AAE/D,oBAAY,cAAc,GAAG,YAAY,CAAC;AAC1C,oBAAY,eAAe,GAAG,MAAM,GAAG,SAAS,GAAG,MAAM,CAAC;AAE1D,MAAM,WAAW,QAAS,SAAQ,KAAK,CAAC,yBAAyB,CAAC,SAAS,GAAG,KAAK,CAAC,aAAa,CAAC,aAAa,CAAC,CAAC;IAC/G,UAAU,CAAC,EAAE,cAAc,CAAC;CAC7B;AAED,oBAAY,QAAQ,GAAG,QAAQ,GAAG,GAAG,CAAC;AACtC,MAAM,WAAW,iBAAkB,SAAQ,KAAK,CAAC,yBAAyB,CAAC,aAAa,GAAG,KAAK,CAAC,aAAa,CAAC,gBAAgB,CAAC,CAAC;IAC/H,IAAI,EAAE,QAAQ,CAAC;CAChB;AAED,UAAU,aAAa;IACrB,4BAA4B;IAC5B,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,0CAA0C;IAC1C,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,uDAAuD;IACvD,KAAK,CAAC,EAAE,cAAc,CAAC;IACvB,sCAAsC;IACtC,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,sDAAsD;IACtD,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,sDAAsD;IACtD,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,oCAAoC;IACpC,IAAI,CAAC,EAAE,YAAY,CAAC;IACpB,sCAAsC;IACtC,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,2BAA2B;IAC3B,OAAO,CAAC,EAAE,eAAe,CAAC;CAC3B;AAED,aAAK,MAAM,CAAC,CAAC,EAAE,CAAC,IAAI,IAAI,CAAC,CAAC,EAAE,MAAM,CAAC,CAAC,GAAG,CAAC,CAAC;AAEzC,oBAAY,SAAS,GAAG,MAAM,CAC5B,KAAK,CAAC,cAAc,CAAC,iBAAiB,GAAG,iBAAiB,CAAC,EAC3D;IACE,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,IAAI,CAAC,EAAE,KAAK,CAAC,YAAY,CAAC;IAC1B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,iBAAiB,CAAC;IAC3B,uCAAuC;IACvC,UAAU,CAAC,EAAE,QAAQ,CAAC;IACtB;;OAEG;IACH,OAAO,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC,iBAAiB,GAAG,iBAAiB,CAAC,CAAC;IACjE,sCAAsC;IACtC,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB,CACF,GACC,IAAI,CAAC,aAAa,EAAE,OAAO,GAAG,MAAM,GAAG,SAAS,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"LinkList.d.ts","sourceRoot":"","sources":["../../../src/components/LinkList/LinkList.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AAKnD,OAAO,EAAE,cAAc,EAAoB,MAAM,0BAA0B,CAAC;AAG5E,oBAAY,YAAY,GAAG,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAC;AAExD,oBAAY,iBAAiB,GAAG,OAAO,GAAG,QAAQ,GAAG,SAAS,CAAC;AAE/D,oBAAY,cAAc,GAAG,YAAY,CAAC;AAC1C,oBAAY,eAAe,GAAG,MAAM,GAAG,SAAS,GAAG,MAAM,CAAC;AAE1D,MAAM,WAAW,QAAS,SAAQ,KAAK,CAAC,yBAAyB,CAAC,SAAS,GAAG,KAAK,CAAC,aAAa,CAAC,aAAa,CAAC,CAAC;IAC/G,UAAU,CAAC,EAAE,cAAc,CAAC;CAC7B;AAED,oBAAY,QAAQ,GAAG,QAAQ,GAAG,GAAG,CAAC;AACtC,MAAM,WAAW,iBAAkB,SAAQ,KAAK,CAAC,yBAAyB,CAAC,aAAa,GAAG,KAAK,CAAC,aAAa,CAAC,gBAAgB,CAAC,CAAC;IAC/H,IAAI,EAAE,QAAQ,CAAC;CAChB;AAED,UAAU,aAAa;IACrB,4BAA4B;IAC5B,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,0CAA0C;IAC1C,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,uDAAuD;IACvD,KAAK,CAAC,EAAE,cAAc,CAAC;IACvB,sCAAsC;IACtC,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,sDAAsD;IACtD,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,sDAAsD;IACtD,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,oCAAoC;IACpC,IAAI,CAAC,EAAE,YAAY,CAAC;IACpB,sCAAsC;IACtC,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,2BAA2B;IAC3B,OAAO,CAAC,EAAE,eAAe,CAAC;CAC3B;AAED,aAAK,MAAM,CAAC,CAAC,EAAE,CAAC,IAAI,IAAI,CAAC,CAAC,EAAE,MAAM,CAAC,CAAC,GAAG,CAAC,CAAC;AAEzC,oBAAY,SAAS,GAAG,MAAM,CAC5B,KAAK,CAAC,cAAc,CAAC,iBAAiB,GAAG,iBAAiB,CAAC,EAC3D;IACE,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,IAAI,CAAC,EAAE,KAAK,CAAC,YAAY,CAAC;IAC1B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,iBAAiB,CAAC;IAC3B,uCAAuC;IACvC,UAAU,CAAC,EAAE,QAAQ,CAAC;IACtB;;OAEG;IACH,OAAO,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC,iBAAiB,GAAG,iBAAiB,CAAC,CAAC;IACjE,sCAAsC;IACtC,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB,CACF,GACC,IAAI,CAAC,aAAa,EAAE,OAAO,GAAG,MAAM,GAAG,SAAS,CAAC,CAAC;AAyDpD,eAAO,MAAM,QAAQ,mBAWE,CAAC;AAKxB,eAAe,QAAQ,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import i from"react";import f from"classnames";import{useHover as C}from"../../hooks/useHover.js";import t from"./styles.module.scss";import{AnalyticsId as b}from"../../constants.js";import{r as y}from"../../ListHeader.js";import R from"../Icons/ChevronRight.js";import"../../Avatar.js";import"../Icons/Icon.js";import"../../hooks/useUuid.js";import"../../uuid.js";import"../../utils/environment.js";import"../Icons/Check.js";import"../Avatar/styles.module.scss";import"../../theme/palette.js";import"../../Badge.js";import"../Badge/styles.module.scss";import"../../ListHeaderText.js";import"../../StatusDot.js";import"
|
|
1
|
+
import i from"react";import f from"classnames";import{useHover as C}from"../../hooks/useHover.js";import t from"./styles.module.scss";import{AnalyticsId as b}from"../../constants.js";import{r as y}from"../../ListHeader.js";import R from"../Icons/ChevronRight.js";import"../../Avatar.js";import"../Icons/Icon.js";import"../../hooks/useUuid.js";import"../../uuid.js";import"../../utils/environment.js";import"../Icons/Check.js";import"../Avatar/styles.module.scss";import"../../theme/palette.js";import"../../Badge.js";import"../Badge/styles.module.scss";import"../../ListHeaderText.js";import"../../StatusDot.js";import"../../theme/grid.js";import"../../hooks/useBreakpoint.js";import"../../theme/currys/color.js";import"../../theme/index.js";import"../../theme/spacers.js";import"../Icons/Attachment.js";import"../Icons/Group.js";import"../Icons/NoAccess.js";import"../Icons/Undo.js";import"../StatusDot/styles.module.scss";import"../ListHeader/styles.module.scss";import"../../utils/component.js";const k=i.forwardRef((u,s)=>{const{children:o,className:l="",color:a="neutral",icon:n,size:r="medium",chevron:_=!1,linkRef:m,testId:p,target:e,variant:c,htmlMarkup:d="a",...L}=u,{hoverRef:h,isHovered:v}=C(m),E=f(t["link-list__list-item"],{[t["link-list__list-item--line"]]:c==="line",[t["link-list__list-item--outline"]]:c==="outline"}),N=f(t["link-list__anchor"],t["link-list__anchor--"+a],{[t["link-list__anchor--fill"]]:c==="fill",[t["link-list__anchor--"+r]]:r,[t["link-list__anchor--button"]]:d==="button"},l);return i.createElement("li",{className:E,ref:s,"data-testid":p,"data-analyticsid":b.Link},d==="a"&&i.createElement("a",{className:N,ref:h,rel:e==="_blank"?"noopener noreferrer":void 0,target:e,...L},y(o,"span",R,v,r,n)),d==="button"&&i.createElement("button",{className:N,ref:h,type:"button",...L},y(o,"span",R,v,r,n)))}),w=i.forwardRef(function(s,o){const{children:l,className:a="",chevron:n=!1,size:r="medium",color:_,testId:m,variant:p="line"}=s;return i.createElement("ul",{ref:o,className:f(t["link-list"],a),"data-testid":m,"data-analyticsid":b.LinkList},i.Children.map(l,e=>{if(e.type===k)return i.cloneElement(e,{color:_,size:r,chevron:n,variant:p})}))});w.Link=k;k.displayName="LinkList.Link";export{w as LinkList,w as default};
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../src/components/LinkList/LinkList.tsx"],"sourcesContent":["import React from 'react';\nimport cn from 'classnames';\n\nimport { PaletteNames } from '../../theme/palette';\nimport { useHover } from '../../hooks/useHover';\n\nimport LinkListStyles from './styles.module.scss';\nimport { AnalyticsId } from '../../constants';\nimport { ListHeaderType, renderListHeader } from '../ListHeader/ListHeader';\nimport ChevronRight from '../Icons/ChevronRight';\n\nexport type LinkListSize = 'small' | 'medium' | 'large';\n\nexport type LinkAnchorTargets = '_self' | '_blank' | '_parent';\n\nexport type LinkListColors = PaletteNames;\nexport type LinkListVariant = 'line' | 'outline' | 'fill';\n\nexport interface LinkType extends React.ForwardRefExoticComponent<LinkProps & React.RefAttributes<HTMLLIElement>> {\n ListHeader?: ListHeaderType;\n}\n\nexport type LinkTags = 'button' | 'a';\nexport interface CompoundComponent extends React.ForwardRefExoticComponent<LinkListProps & React.RefAttributes<HTMLUListElement>> {\n Link: LinkType;\n}\n\ninterface LinkListProps {\n /** Items in the LinkList */\n children: React.ReactNode;\n /** Adds custom classes to the element. */\n className?: string;\n /** Changes the link list background color on hover. */\n color?: LinkListColors;\n /** Toggles chevron icon on or off. */\n chevron?: boolean;\n /** @deprecated Skal fases ut - Brukes ikke lenger. */\n bottomBorder?: boolean;\n /** @deprecated Skal fases ut - Brukes ikke lenger. */\n topBorder?: boolean;\n /** Changes size of the LinkList. */\n size?: LinkListSize;\n /** Sets the data-testid attribute. */\n testId?: string;\n /** Sets visual priority */\n variant?: LinkListVariant;\n}\n\ntype Modify<T, R> = Omit<T, keyof R> & R;\n\nexport type LinkProps = Modify<\n React.HTMLAttributes<HTMLAnchorElement | HTMLButtonElement>,\n {\n children: React.ReactNode;\n chevron?: boolean;\n className?: string;\n icon?: React.ReactElement;\n href?: string;\n target?: LinkAnchorTargets;\n /** HTML markup for link. Default: a */\n htmlMarkup?: LinkTags;\n /**\n * Ref for lenke/knapp\n */\n linkRef?: React.RefObject<HTMLButtonElement | HTMLAnchorElement>;\n /** Sets the data-testid attribute. */\n testId?: string;\n }\n> &\n Pick<LinkListProps, 'color' | 'size' | 'variant'>;\n\nconst Link: LinkType = React.forwardRef((props: LinkProps, ref: React.Ref<HTMLLIElement>) => {\n const {\n children,\n className = '',\n color = 'neutral',\n icon,\n size = 'medium',\n chevron = false,\n linkRef,\n testId,\n target,\n variant,\n htmlMarkup = 'a',\n ...restProps\n } = props;\n const { hoverRef, isHovered } = useHover<HTMLButtonElement | HTMLAnchorElement>(linkRef);\n\n const liClasses = cn(LinkListStyles['link-list__list-item'], {\n [LinkListStyles['link-list__list-item--'
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../src/components/LinkList/LinkList.tsx"],"sourcesContent":["import React from 'react';\nimport cn from 'classnames';\n\nimport { PaletteNames } from '../../theme/palette';\nimport { useHover } from '../../hooks/useHover';\n\nimport LinkListStyles from './styles.module.scss';\nimport { AnalyticsId } from '../../constants';\nimport { ListHeaderType, renderListHeader } from '../ListHeader/ListHeader';\nimport ChevronRight from '../Icons/ChevronRight';\n\nexport type LinkListSize = 'small' | 'medium' | 'large';\n\nexport type LinkAnchorTargets = '_self' | '_blank' | '_parent';\n\nexport type LinkListColors = PaletteNames;\nexport type LinkListVariant = 'line' | 'outline' | 'fill';\n\nexport interface LinkType extends React.ForwardRefExoticComponent<LinkProps & React.RefAttributes<HTMLLIElement>> {\n ListHeader?: ListHeaderType;\n}\n\nexport type LinkTags = 'button' | 'a';\nexport interface CompoundComponent extends React.ForwardRefExoticComponent<LinkListProps & React.RefAttributes<HTMLUListElement>> {\n Link: LinkType;\n}\n\ninterface LinkListProps {\n /** Items in the LinkList */\n children: React.ReactNode;\n /** Adds custom classes to the element. */\n className?: string;\n /** Changes the link list background color on hover. */\n color?: LinkListColors;\n /** Toggles chevron icon on or off. */\n chevron?: boolean;\n /** @deprecated Skal fases ut - Brukes ikke lenger. */\n bottomBorder?: boolean;\n /** @deprecated Skal fases ut - Brukes ikke lenger. */\n topBorder?: boolean;\n /** Changes size of the LinkList. */\n size?: LinkListSize;\n /** Sets the data-testid attribute. */\n testId?: string;\n /** Sets visual priority */\n variant?: LinkListVariant;\n}\n\ntype Modify<T, R> = Omit<T, keyof R> & R;\n\nexport type LinkProps = Modify<\n React.HTMLAttributes<HTMLAnchorElement | HTMLButtonElement>,\n {\n children: React.ReactNode;\n chevron?: boolean;\n className?: string;\n icon?: React.ReactElement;\n href?: string;\n target?: LinkAnchorTargets;\n /** HTML markup for link. Default: a */\n htmlMarkup?: LinkTags;\n /**\n * Ref for lenke/knapp\n */\n linkRef?: React.RefObject<HTMLButtonElement | HTMLAnchorElement>;\n /** Sets the data-testid attribute. */\n testId?: string;\n }\n> &\n Pick<LinkListProps, 'color' | 'size' | 'variant'>;\n\nconst Link: LinkType = React.forwardRef((props: LinkProps, ref: React.Ref<HTMLLIElement>) => {\n const {\n children,\n className = '',\n color = 'neutral',\n icon,\n size = 'medium',\n chevron = false,\n linkRef,\n testId,\n target,\n variant,\n htmlMarkup = 'a',\n ...restProps\n } = props;\n const { hoverRef, isHovered } = useHover<HTMLButtonElement | HTMLAnchorElement>(linkRef);\n\n const liClasses = cn(LinkListStyles['link-list__list-item'], {\n [LinkListStyles['link-list__list-item--line']]: variant === 'line',\n [LinkListStyles['link-list__list-item--outline']]: variant === 'outline',\n });\n const linkClasses = cn(\n LinkListStyles['link-list__anchor'],\n LinkListStyles['link-list__anchor--' + color],\n\n {\n [LinkListStyles['link-list__anchor--fill']]: variant === 'fill',\n [LinkListStyles['link-list__anchor--' + size]]: size,\n [LinkListStyles['link-list__anchor--button']]: htmlMarkup === 'button',\n },\n className\n );\n\n return (\n <li className={liClasses} ref={ref} data-testid={testId} data-analyticsid={AnalyticsId.Link}>\n {htmlMarkup === 'a' && (\n <a\n className={linkClasses}\n ref={hoverRef as React.RefObject<HTMLAnchorElement>}\n rel={target === '_blank' ? 'noopener noreferrer' : undefined}\n target={target}\n {...restProps}\n >\n {renderListHeader(children, 'span', ChevronRight, isHovered, size, icon)}\n </a>\n )}\n {htmlMarkup === 'button' && (\n <button className={linkClasses} ref={hoverRef as React.RefObject<HTMLButtonElement>} type=\"button\" {...restProps}>\n {renderListHeader(children, 'span', ChevronRight, isHovered, size, icon)}\n </button>\n )}\n </li>\n );\n});\n\nexport const LinkList = React.forwardRef(function LinkListForwardedRef(props: LinkListProps, ref: React.Ref<HTMLUListElement>) {\n const { children, className = '', chevron = false, size = 'medium', color, testId, variant = 'line' } = props;\n return (\n <ul ref={ref} className={cn(LinkListStyles['link-list'], className)} data-testid={testId} data-analyticsid={AnalyticsId.LinkList}>\n {React.Children.map(children, (child: React.ReactNode | React.ReactElement<LinkProps>) => {\n if ((child as React.ReactElement<LinkProps>).type === Link) {\n return React.cloneElement(child as React.ReactElement<LinkProps>, { color, size, chevron, variant });\n }\n })}\n </ul>\n );\n}) as CompoundComponent;\n\nLinkList.Link = Link;\nLink.displayName = 'LinkList.Link';\n\nexport default LinkList;\n"],"names":["Link","React","props","ref","children","className","color","icon","size","chevron","linkRef","testId","target","variant","htmlMarkup","restProps","hoverRef","isHovered","useHover","liClasses","cn","LinkListStyles","linkClasses","AnalyticsId","renderListHeader","ChevronRight","LinkList","child"],"mappings":"s+BAuEA,MAAMA,EAAiBC,EAAM,WAAW,CAACC,EAAkBC,IAAkC,CACrF,KAAA,CACJ,SAAAC,EACA,UAAAC,EAAY,GACZ,MAAAC,EAAQ,UACR,KAAAC,EACA,KAAAC,EAAO,SACP,QAAAC,EAAU,GACV,QAAAC,EACA,OAAAC,EACA,OAAAC,EACA,QAAAC,EACA,WAAAC,EAAa,OACVC,CACD,EAAAb,EACE,CAAE,SAAAc,EAAU,UAAAC,CAAU,EAAIC,EAAgDR,CAAO,EAEjFS,EAAYC,EAAGC,EAAe,wBAAyB,CAC3D,CAACA,EAAe,+BAAgCR,IAAY,OAC5D,CAACQ,EAAe,kCAAmCR,IAAY,SAAA,CAChE,EACKS,EAAcF,EAClBC,EAAe,qBACfA,EAAe,sBAAwBf,GAEvC,CACE,CAACe,EAAe,4BAA6BR,IAAY,OACzD,CAACQ,EAAe,sBAAwBb,IAAQA,EAChD,CAACa,EAAe,8BAA+BP,IAAe,QAChE,EACAT,CAAA,EAGF,OACGJ,EAAA,cAAA,KAAA,CAAG,UAAWkB,EAAW,IAAAhB,EAAU,cAAaQ,EAAQ,mBAAkBY,EAAY,IACpF,EAAAT,IAAe,KACbb,EAAA,cAAA,IAAA,CACC,UAAWqB,EACX,IAAKN,EACL,IAAKJ,IAAW,SAAW,sBAAwB,OACnD,OAAAA,EACC,GAAGG,CAEH,EAAAS,EAAiBpB,EAAU,OAAQqB,EAAcR,EAAWT,EAAMD,CAAI,CACzE,EAEDO,IAAe,UACbb,EAAA,cAAA,SAAA,CAAO,UAAWqB,EAAa,IAAKN,EAAgD,KAAK,SAAU,GAAGD,CAAA,EACpGS,EAAiBpB,EAAU,OAAQqB,EAAcR,EAAWT,EAAMD,CAAI,CACzE,CAEJ,CAEJ,CAAC,EAEYmB,EAAWzB,EAAM,WAAW,SAA8BC,EAAsBC,EAAkC,CAC7H,KAAM,CAAE,SAAAC,EAAU,UAAAC,EAAY,GAAI,QAAAI,EAAU,GAAO,KAAAD,EAAO,SAAU,MAAAF,EAAO,OAAAK,EAAQ,QAAAE,EAAU,MAAA,EAAWX,EACxG,OACGD,EAAA,cAAA,KAAA,CAAG,IAAAE,EAAU,UAAWiB,EAAGC,EAAe,aAAchB,CAAS,EAAG,cAAaM,EAAQ,mBAAkBY,EAAY,QAAA,EACrHtB,EAAM,SAAS,IAAIG,EAAWuB,GAA2D,CACnF,GAAAA,EAAwC,OAAS3B,EAC7C,OAAAC,EAAM,aAAa0B,EAAwC,CAAE,MAAArB,EAAO,KAAAE,EAAM,QAAAC,EAAS,QAAAI,EAAS,CAEtG,CAAA,CACH,CAEJ,CAAC,EAEDa,EAAS,KAAO1B,EAChBA,EAAK,YAAc"}
|
|
@@ -10,7 +10,7 @@ export interface ListHeaderType extends React.ForwardRefExoticComponent<ListHead
|
|
|
10
10
|
Badge?: BadgeType;
|
|
11
11
|
ListHeaderText?: ListHeaderTextType;
|
|
12
12
|
}
|
|
13
|
-
export declare const renderListHeader: (element: React.ReactNode, titleHtmlMarkup: TitleTags, chevronIcon: SvgIcon, isHovered: boolean, size: ListHeaderSize, icon?: React.ReactElement) =>
|
|
13
|
+
export declare const renderListHeader: (element: React.ReactNode, titleHtmlMarkup: TitleTags, chevronIcon: SvgIcon, isHovered: boolean, size: ListHeaderSize, icon?: React.ReactElement) => JSX.Element | undefined;
|
|
14
14
|
export interface ListHeaderProps {
|
|
15
15
|
/** Adds custom classes to the ListHeader element. */
|
|
16
16
|
className?: string;
|
|
@@ -30,9 +30,9 @@ export interface ListHeaderProps {
|
|
|
30
30
|
testId?: string;
|
|
31
31
|
}
|
|
32
32
|
export declare const mapChildren: (children: React.ReactNode, isJsxChild?: boolean) => {
|
|
33
|
-
avatarChild?: AvatarProps | undefined;
|
|
34
|
-
listHeaderTextChildren: Array<ListHeaderTextProps
|
|
35
|
-
badgeChild?: BadgeProps | undefined;
|
|
33
|
+
avatarChild?: React.ReactElement<AvatarProps, string | React.JSXElementConstructor<any>> | undefined;
|
|
34
|
+
listHeaderTextChildren: Array<React.ReactElement<ListHeaderTextProps>>;
|
|
35
|
+
badgeChild?: React.ReactElement<BadgeProps, string | React.JSXElementConstructor<any>> | undefined;
|
|
36
36
|
stringChildren: Array<string>;
|
|
37
37
|
remainingChildren: Array<any>;
|
|
38
38
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ListHeader.d.ts","sourceRoot":"","sources":["../../../src/components/ListHeader/ListHeader.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAe,EAAE,WAAW,
|
|
1
|
+
{"version":3,"file":"ListHeader.d.ts","sourceRoot":"","sources":["../../../src/components/ListHeader/ListHeader.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAe,EAAE,WAAW,EAAc,UAAU,EAAE,MAAM,WAAW,CAAC;AACxE,OAAc,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AACxD,OAAuB,EAAE,mBAAmB,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAI1G,OAAa,EAAY,OAAO,EAAE,MAAM,UAAU,CAAC;AAEnD,OAAO,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AAErC,oBAAY,cAAc,GAAG,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAC;AAE1D,MAAM,WAAW,cAAe,SAAQ,KAAK,CAAC,yBAAyB,CAAC,eAAe,GAAG,KAAK,CAAC,aAAa,CAAC,aAAa,CAAC,CAAC;IAC3H,MAAM,CAAC,EAAE,UAAU,CAAC;IACpB,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,cAAc,CAAC,EAAE,kBAAkB,CAAC;CACrC;AAED,eAAO,MAAM,gBAAgB,YAClB,MAAM,SAAS,mBACP,SAAS,eACb,OAAO,aACT,OAAO,QACZ,cAAc,SACb,MAAM,YAAY,KACxB,WAAW,GAAG,SAgBhB,CAAC;AAEF,MAAM,WAAW,eAAe;IAC9B,qDAAqD;IACrD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,iDAAiD;IACjD,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,mDAAmD;IACnD,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,8DAA8D;IAC9D,eAAe,CAAC,EAAE,SAAS,CAAC;IAC5B,+CAA+C;IAC/C,IAAI,CAAC,EAAE,KAAK,CAAC,YAAY,CAAC;IAC1B,2CAA2C;IAC3C,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,sCAAsC;IACtC,IAAI,CAAC,EAAE,cAAc,CAAC;IACtB,sCAAsC;IACtC,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,eAAO,MAAM,WAAW,aACZ,MAAM,SAAS;;4BAID,MAAM,MAAM,YAAY,CAAC,mBAAmB,CAAC,CAAC;;oBAEtD,MAAM,MAAM,CAAC;uBACV,MAAM,GAAG,CAAC;CAgC9B,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,cAyEvB,CAAC;AAEH,eAAe,UAAU,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"props":{"firstText":{"defaultValue":null,"description":"The first text in the ListHeaderText Component","name":"firstText","parent":{"fileName":"src/components/ListHeader/ListHeaderText/ListHeaderText.tsx","name":"ListHeaderTextProps"},"declarations":[{"fileName":"src/components/ListHeader/ListHeaderText/ListHeaderText.tsx","name":"ListHeaderTextProps"}],"required":true,"type":{"name":"string"}},"firstTextEmphasised":{"defaultValue":null,"description":"Will style the first text as bold","name":"firstTextEmphasised","parent":{"fileName":"src/components/ListHeader/ListHeaderText/ListHeaderText.tsx","name":"ListHeaderTextProps"},"declarations":[{"fileName":"src/components/ListHeader/ListHeaderText/ListHeaderText.tsx","name":"ListHeaderTextProps"}],"required":false,"type":{"name":"boolean"}},"secondText":{"defaultValue":null,"description":"The second text in the ListHeaderText Component","name":"secondText","parent":{"fileName":"src/components/ListHeader/ListHeaderText/ListHeaderText.tsx","name":"ListHeaderTextProps"},"declarations":[{"fileName":"src/components/ListHeader/ListHeaderText/ListHeaderText.tsx","name":"ListHeaderTextProps"}],"required":false,"type":{"name":"string"}},"secondTextEmphasised":{"defaultValue":null,"description":"Will style the second text as bold","name":"secondTextEmphasised","parent":{"fileName":"src/components/ListHeader/ListHeaderText/ListHeaderText.tsx","name":"ListHeaderTextProps"},"declarations":[{"fileName":"src/components/ListHeader/ListHeaderText/ListHeaderText.tsx","name":"ListHeaderTextProps"}],"required":false,"type":{"name":"boolean"}},"subText":{"defaultValue":null,"description":"Whether or not this ListHeaderText is a sub text","name":"subText","parent":{"fileName":"src/components/ListHeader/ListHeaderText/ListHeaderText.tsx","name":"ListHeaderTextProps"},"declarations":[{"fileName":"src/components/ListHeader/ListHeaderText/ListHeaderText.tsx","name":"ListHeaderTextProps"}],"required":false,"type":{"name":"boolean"}},"statusDotVariant":{"defaultValue":null,"description":"Decides the variant for the StatusDot","name":"statusDotVariant","parent":{"fileName":"src/components/ListHeader/ListHeaderText/ListHeaderText.tsx","name":"ListHeaderTextProps"},"declarations":[{"fileName":"src/components/ListHeader/ListHeaderText/ListHeaderText.tsx","name":"ListHeaderTextProps"}],"required":false,"type":{"name":"enum","raw":"StatusDotVariant","value":[{"value":"\"info\"","description":"","fullComment":"","tags":{}},{"value":"\"warning\"","description":"","fullComment":"","tags":{}},{"value":"\"alert\"","description":"","fullComment":"","tags":{}},{"value":"\"cancelled\"","description":"","fullComment":"","tags":{}},{"value":"\"active\"","description":"","fullComment":"","tags":{}},{"value":"\"transparent\"","description":"","fullComment":"","tags":{}},{"value":"\"recurring\"","description":"","fullComment":"","tags":{}},{"value":"\"group\"","description":"","fullComment":"","tags":{}},{"value":"\"noaccess\"","description":"","fullComment":"","tags":{}}]}},"className":{"defaultValue":null,"description":"Adds custom classes to the ListHeaderText component.","name":"className","parent":{"fileName":"src/components/ListHeader/ListHeaderText/ListHeaderText.tsx","name":"ListHeaderTextProps"},"declarations":[{"fileName":"src/components/ListHeader/ListHeaderText/ListHeaderText.tsx","name":"ListHeaderTextProps"}],"required":false,"type":{"name":"string"}},"testId":{"defaultValue":null,"description":"Sets the data-testid attribute.","name":"testId","parent":{"fileName":"src/components/ListHeader/ListHeaderText/ListHeaderText.tsx","name":"ListHeaderTextProps"},"declarations":[{"fileName":"src/components/ListHeader/ListHeaderText/ListHeaderText.tsx","name":"ListHeaderTextProps"}],"required":false,"type":{"name":"string"}},"titleHtmlMarkup":{"defaultValue":null,"description":"Changes the underlying element of the title. Default: span","name":"titleHtmlMarkup","parent":{"fileName":"src/components/ListHeader/ListHeaderText/ListHeaderText.tsx","name":"ListHeaderTextProps"},"declarations":[{"fileName":"src/components/ListHeader/ListHeaderText/ListHeaderText.tsx","name":"ListHeaderTextProps"}],"required":false,"type":{"name":"enum","raw":"TitleTags","value":[{"value":"\"h1\""},{"value":"\"h2\""},{"value":"\"h3\""},{"value":"\"h4\""},{"value":"\"h5\""},{"value":"\"span\""}]}}}}
|
|
1
|
+
{"props":{"firstText":{"defaultValue":null,"description":"The first text in the ListHeaderText Component","name":"firstText","parent":{"fileName":"src/components/ListHeader/ListHeaderText/ListHeaderText.tsx","name":"ListHeaderTextProps"},"declarations":[{"fileName":"src/components/ListHeader/ListHeaderText/ListHeaderText.tsx","name":"ListHeaderTextProps"}],"required":true,"type":{"name":"string"}},"firstTextEmphasised":{"defaultValue":null,"description":"Will style the first text as bold","name":"firstTextEmphasised","parent":{"fileName":"src/components/ListHeader/ListHeaderText/ListHeaderText.tsx","name":"ListHeaderTextProps"},"declarations":[{"fileName":"src/components/ListHeader/ListHeaderText/ListHeaderText.tsx","name":"ListHeaderTextProps"}],"required":false,"type":{"name":"boolean"}},"secondText":{"defaultValue":null,"description":"The second text in the ListHeaderText Component","name":"secondText","parent":{"fileName":"src/components/ListHeader/ListHeaderText/ListHeaderText.tsx","name":"ListHeaderTextProps"},"declarations":[{"fileName":"src/components/ListHeader/ListHeaderText/ListHeaderText.tsx","name":"ListHeaderTextProps"}],"required":false,"type":{"name":"string"}},"secondTextEmphasised":{"defaultValue":null,"description":"Will style the second text as bold","name":"secondTextEmphasised","parent":{"fileName":"src/components/ListHeader/ListHeaderText/ListHeaderText.tsx","name":"ListHeaderTextProps"},"declarations":[{"fileName":"src/components/ListHeader/ListHeaderText/ListHeaderText.tsx","name":"ListHeaderTextProps"}],"required":false,"type":{"name":"boolean"}},"subText":{"defaultValue":null,"description":"Whether or not this ListHeaderText is a sub text","name":"subText","parent":{"fileName":"src/components/ListHeader/ListHeaderText/ListHeaderText.tsx","name":"ListHeaderTextProps"},"declarations":[{"fileName":"src/components/ListHeader/ListHeaderText/ListHeaderText.tsx","name":"ListHeaderTextProps"}],"required":false,"type":{"name":"boolean"}},"statusDotVariant":{"defaultValue":null,"description":"Decides the variant for the StatusDot","name":"statusDotVariant","parent":{"fileName":"src/components/ListHeader/ListHeaderText/ListHeaderText.tsx","name":"ListHeaderTextProps"},"declarations":[{"fileName":"src/components/ListHeader/ListHeaderText/ListHeaderText.tsx","name":"ListHeaderTextProps"}],"required":false,"type":{"name":"enum","raw":"StatusDotVariant","value":[{"value":"\"info\"","description":"","fullComment":"","tags":{}},{"value":"\"warning\"","description":"","fullComment":"","tags":{}},{"value":"\"alert\"","description":"","fullComment":"","tags":{}},{"value":"\"cancelled\"","description":"","fullComment":"","tags":{}},{"value":"\"active\"","description":"","fullComment":"","tags":{}},{"value":"\"transparent\"","description":"","fullComment":"","tags":{}},{"value":"\"recurring\"","description":"","fullComment":"","tags":{}},{"value":"\"group\"","description":"","fullComment":"","tags":{}},{"value":"\"noaccess\"","description":"","fullComment":"","tags":{}},{"value":"\"attachment\"","description":"","fullComment":"","tags":{}}]}},"className":{"defaultValue":null,"description":"Adds custom classes to the ListHeaderText component.","name":"className","parent":{"fileName":"src/components/ListHeader/ListHeaderText/ListHeaderText.tsx","name":"ListHeaderTextProps"},"declarations":[{"fileName":"src/components/ListHeader/ListHeaderText/ListHeaderText.tsx","name":"ListHeaderTextProps"}],"required":false,"type":{"name":"string"}},"testId":{"defaultValue":null,"description":"Sets the data-testid attribute.","name":"testId","parent":{"fileName":"src/components/ListHeader/ListHeaderText/ListHeaderText.tsx","name":"ListHeaderTextProps"},"declarations":[{"fileName":"src/components/ListHeader/ListHeaderText/ListHeaderText.tsx","name":"ListHeaderTextProps"}],"required":false,"type":{"name":"string"}},"titleHtmlMarkup":{"defaultValue":null,"description":"Changes the underlying element of the title. Default: span","name":"titleHtmlMarkup","parent":{"fileName":"src/components/ListHeader/ListHeaderText/ListHeaderText.tsx","name":"ListHeaderTextProps"},"declarations":[{"fileName":"src/components/ListHeader/ListHeaderText/ListHeaderText.tsx","name":"ListHeaderTextProps"}],"required":false,"type":{"name":"enum","raw":"TitleTags","value":[{"value":"\"h1\""},{"value":"\"h2\""},{"value":"\"h3\""},{"value":"\"h4\""},{"value":"\"h5\""},{"value":"\"span\""}]}}}}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import"../../../ListHeaderText.js";import{L as
|
|
1
|
+
import"../../../ListHeaderText.js";import{L as q,L as v}from"../../../ListHeaderText.js";import"react";import"classnames";import"../../../StatusDot.js";import"../../../theme/grid.js";import"../../../hooks/useBreakpoint.js";import"../../../constants.js";import"../../../theme/currys/color.js";import"../../../theme/index.js";import"../../../theme/palette.js";import"../../../theme/spacers.js";import"../../Icons/Attachment.js";import"../../Icons/Icon.js";import"../../../hooks/useUuid.js";import"../../../uuid.js";import"../../../utils/environment.js";import"../../Icons/Group.js";import"../../Icons/NoAccess.js";import"../../Icons/Undo.js";import"../../StatusDot/styles.module.scss";import"../styles.module.scss";export{q as ListHeaderText,v as default};
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import"../../ListHeader.js";import{L as
|
|
1
|
+
import"../../ListHeader.js";import{L as A,L as B,m as D,r as E}from"../../ListHeader.js";import{L as G}from"../../ListHeaderText.js";import"react";import"classnames";import"../../Avatar.js";import"../Icons/Icon.js";import"../../constants.js";import"../../hooks/useUuid.js";import"../../uuid.js";import"../../utils/environment.js";import"../Icons/Check.js";import"../Avatar/styles.module.scss";import"../../theme/palette.js";import"../../Badge.js";import"../Badge/styles.module.scss";import"./styles.module.scss";import"../../hooks/useBreakpoint.js";import"../../theme/grid.js";import"../../utils/component.js";import"../../StatusDot.js";import"../../theme/currys/color.js";import"../../theme/index.js";import"../../theme/spacers.js";import"../Icons/Attachment.js";import"../Icons/Group.js";import"../Icons/NoAccess.js";import"../Icons/Undo.js";import"../StatusDot/styles.module.scss";export{A as ListHeader,G as ListHeaderText,B as default,D as mapChildren,E as renderListHeader};
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
@@ -103,17 +103,13 @@
|
|
|
103
103
|
&__badge {
|
|
104
104
|
display: flex;
|
|
105
105
|
align-items: center;
|
|
106
|
-
|
|
106
|
+
margin-left: getSpacer(2xs);
|
|
107
107
|
&--for-string-content {
|
|
108
108
|
margin: getSpacer(3xs) 0 getSpacer(3xs) auto;
|
|
109
109
|
@media (min-width: map-get($grid-breakpoints, md)) {
|
|
110
110
|
margin: getSpacer(2xs) 0 getSpacer(2xs) auto;
|
|
111
111
|
}
|
|
112
112
|
}
|
|
113
|
-
&--right {
|
|
114
|
-
margin-left: auto;
|
|
115
|
-
margin-right: getSpacer(2xs);
|
|
116
|
-
}
|
|
117
113
|
//Height needs to be same as line-height
|
|
118
114
|
&--small {
|
|
119
115
|
height: $lineheight-size-xs;
|
|
@@ -9,13 +9,11 @@ export type Styles = {
|
|
|
9
9
|
'list-header__badge--for-string-content': string;
|
|
10
10
|
'list-header__badge--large': string;
|
|
11
11
|
'list-header__badge--medium': string;
|
|
12
|
-
'list-header__badge--right': string;
|
|
13
12
|
'list-header__badge--small': string;
|
|
14
13
|
'list-header__chevron': string;
|
|
15
14
|
'list-header__chevron--for-string-content': string;
|
|
16
15
|
'list-header__chevron--large': string;
|
|
17
16
|
'list-header__chevron--medium': string;
|
|
18
|
-
'list-header__chevron--right': string;
|
|
19
17
|
'list-header__chevron--small': string;
|
|
20
18
|
'list-header__content': string;
|
|
21
19
|
'list-header__content--element': string;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { FormMode } from '../../constants';
|
|
3
|
+
interface MaxCharactersProps {
|
|
4
|
+
/** Current input length */
|
|
5
|
+
length: number;
|
|
6
|
+
/** max character limit in textarea */
|
|
7
|
+
maxCharacters: number;
|
|
8
|
+
/** The text is displayed in the end of the text-counter */
|
|
9
|
+
maxText?: string;
|
|
10
|
+
/** Changes the visuals of the textarea */
|
|
11
|
+
mode?: keyof typeof FormMode;
|
|
12
|
+
/** Max width of the component */
|
|
13
|
+
maxWidth?: string;
|
|
14
|
+
}
|
|
15
|
+
declare const MaxCharacters: React.FC<MaxCharactersProps>;
|
|
16
|
+
export default MaxCharacters;
|
|
17
|
+
//# sourceMappingURL=MaxCharacters.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MaxCharacters.d.ts","sourceRoot":"","sources":["../../../src/components/MaxCharacters/MaxCharacters.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAI3C,UAAU,kBAAkB;IAC1B,2BAA2B;IAC3B,MAAM,EAAE,MAAM,CAAC;IACf,uCAAuC;IACvC,aAAa,EAAE,MAAM,CAAC;IACtB,2DAA2D;IAC3D,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,0CAA0C;IAC1C,IAAI,CAAC,EAAE,MAAM,OAAO,QAAQ,CAAC;IAC7B,iCAAiC;IACjC,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,QAAA,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,kBAAkB,CAe/C,CAAC;AAEF,eAAe,aAAa,CAAC"}
|