@digigov/react-icons 1.2.0-dcbd7ded → 2.0.0-2445d5cb
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/AccessibilityIcon/config/index.js +14 -13
- package/AccessibilityIcon/config.js.map +7 -0
- package/AccessibilityIcon/index.js +10 -8
- package/AccessibilityIcon/index.js.map +7 -0
- package/ArrowIcon/config/index.js +10 -21
- package/ArrowIcon/config.js.map +7 -0
- package/ArrowIcon/index.js +10 -8
- package/ArrowIcon/index.js.map +7 -0
- package/Base/index.d.ts +95 -0
- package/Base/index.js +101 -0
- package/Base/index.js.map +7 -0
- package/{Icon/index.test → Base}/package.json +1 -1
- package/BurgerIcon/config/index.js +21 -27
- package/BurgerIcon/config.js.map +7 -0
- package/BurgerIcon/index.js +10 -8
- package/BurgerIcon/index.js.map +7 -0
- package/CancelIcon/config/index.js +11 -0
- package/{CloseIcon/index.test → CancelIcon/config}/package.json +1 -1
- package/CancelIcon/config.d.ts +8 -0
- package/CancelIcon/config.js.map +7 -0
- package/CancelIcon/index.d.ts +4 -0
- package/CancelIcon/index.js +11 -0
- package/CancelIcon/index.js.map +7 -0
- package/CancelIcon/index.test.d.ts +1 -0
- package/{CheckIcon/index.test → CancelIcon}/package.json +1 -1
- package/CaretIcon/config/index.js +10 -21
- package/CaretIcon/config.js.map +7 -0
- package/CaretIcon/index.js +10 -8
- package/CaretIcon/index.js.map +7 -0
- package/ChatIcon/config/index.js +11 -0
- package/{CaretIcon/index.test → ChatIcon/config}/package.json +1 -1
- package/ChatIcon/config.d.ts +11 -0
- package/ChatIcon/config.js.map +7 -0
- package/ChatIcon/index.d.ts +4 -0
- package/ChatIcon/index.js +11 -0
- package/ChatIcon/index.js.map +7 -0
- package/ChatIcon/index.test.d.ts +1 -0
- package/ChatIcon/package.json +6 -0
- package/CheckIcon/config/index.js +9 -7
- package/CheckIcon/config.js.map +7 -0
- package/CheckIcon/index.js +10 -8
- package/CheckIcon/index.js.map +7 -0
- package/ChevronIcon/config/index.js +10 -21
- package/ChevronIcon/config.js.map +7 -0
- package/ChevronIcon/index.js +10 -8
- package/ChevronIcon/index.js.map +7 -0
- package/CloseIcon/config/index.js +9 -7
- package/CloseIcon/config.js.map +7 -0
- package/CloseIcon/index.js +10 -8
- package/CloseIcon/index.js.map +7 -0
- package/DownloadIcon/config/index.js +11 -0
- package/DownloadIcon/config/package.json +6 -0
- package/DownloadIcon/config.d.ts +8 -0
- package/DownloadIcon/config.js.map +7 -0
- package/DownloadIcon/index.d.ts +4 -0
- package/DownloadIcon/index.js +11 -0
- package/DownloadIcon/index.js.map +7 -0
- package/DownloadIcon/index.test.d.ts +1 -0
- package/DownloadIcon/package.json +6 -0
- package/ExclamationIcon/config/index.js +11 -0
- package/{ArrowIcon/index.test → ExclamationIcon/config}/package.json +1 -1
- package/ExclamationIcon/config.d.ts +8 -0
- package/ExclamationIcon/config.js.map +7 -0
- package/ExclamationIcon/index.d.ts +4 -0
- package/ExclamationIcon/index.js +11 -0
- package/ExclamationIcon/index.js.map +7 -0
- package/ExclamationIcon/index.test.d.ts +1 -0
- package/ExclamationIcon/package.json +6 -0
- package/GlobeIcon/config/index.js +9 -7
- package/GlobeIcon/config.js.map +7 -0
- package/GlobeIcon/index.js +10 -8
- package/GlobeIcon/index.js.map +7 -0
- package/Icon/index.d.ts +2 -2
- package/Icon/index.js +29 -29
- package/Icon/index.js.map +7 -0
- package/LockIcon/config/index.js +11 -0
- package/LockIcon/config/package.json +6 -0
- package/LockIcon/config.d.ts +8 -0
- package/LockIcon/config.js.map +7 -0
- package/LockIcon/index.d.ts +4 -0
- package/LockIcon/index.js +11 -0
- package/LockIcon/index.js.map +7 -0
- package/LockIcon/index.test.d.ts +1 -0
- package/LockIcon/package.json +6 -0
- package/LoginIcon/config/index.js +11 -0
- package/LoginIcon/config/package.json +6 -0
- package/LoginIcon/config.d.ts +8 -0
- package/LoginIcon/config.js.map +7 -0
- package/LoginIcon/index.d.ts +4 -0
- package/LoginIcon/index.js +11 -0
- package/LoginIcon/index.js.map +7 -0
- package/LoginIcon/index.test.d.ts +1 -0
- package/LoginIcon/package.json +6 -0
- package/MinusIcon/config/index.js +11 -0
- package/MinusIcon/config/package.json +6 -0
- package/MinusIcon/config.d.ts +8 -0
- package/MinusIcon/config.js.map +7 -0
- package/MinusIcon/index.d.ts +4 -0
- package/MinusIcon/index.js +11 -0
- package/MinusIcon/index.js.map +7 -0
- package/MinusIcon/index.test.d.ts +1 -0
- package/MinusIcon/package.json +6 -0
- package/MoreVertIcon/config/index.js +9 -19
- package/MoreVertIcon/config.js.map +7 -0
- package/MoreVertIcon/index.js +10 -8
- package/MoreVertIcon/index.js.map +7 -0
- package/PdfFileIcon/config/index.js +11 -0
- package/PdfFileIcon/config/package.json +6 -0
- package/PdfFileIcon/config.d.ts +8 -0
- package/PdfFileIcon/config.js.map +7 -0
- package/PdfFileIcon/index.d.ts +4 -0
- package/PdfFileIcon/index.js +11 -0
- package/PdfFileIcon/index.js.map +7 -0
- package/PdfFileIcon/index.test.d.ts +1 -0
- package/PdfFileIcon/package.json +6 -0
- package/PlusIcon/config/index.js +11 -0
- package/PlusIcon/config/package.json +6 -0
- package/PlusIcon/config.d.ts +8 -0
- package/PlusIcon/config.js.map +7 -0
- package/PlusIcon/index.d.ts +4 -0
- package/PlusIcon/index.js +11 -0
- package/PlusIcon/index.js.map +7 -0
- package/PlusIcon/index.test.d.ts +1 -0
- package/PlusIcon/package.json +6 -0
- package/PrintIcon/config/index.js +11 -0
- package/PrintIcon/config/package.json +6 -0
- package/PrintIcon/config.d.ts +8 -0
- package/PrintIcon/config.js.map +7 -0
- package/PrintIcon/index.d.ts +4 -0
- package/PrintIcon/index.js +11 -0
- package/PrintIcon/index.js.map +7 -0
- package/PrintIcon/index.test.d.ts +1 -0
- package/PrintIcon/package.json +6 -0
- package/ReplyIcon/config/index.js +11 -0
- package/ReplyIcon/config/package.json +6 -0
- package/ReplyIcon/config.d.ts +8 -0
- package/ReplyIcon/config.js.map +7 -0
- package/ReplyIcon/index.d.ts +4 -0
- package/ReplyIcon/index.js +11 -0
- package/ReplyIcon/index.js.map +7 -0
- package/ReplyIcon/index.test.d.ts +1 -0
- package/ReplyIcon/package.json +6 -0
- package/RestoreIcon/config/index.js +11 -0
- package/RestoreIcon/config/package.json +6 -0
- package/RestoreIcon/config.d.ts +8 -0
- package/RestoreIcon/config.js.map +7 -0
- package/RestoreIcon/index.d.ts +4 -0
- package/RestoreIcon/index.js +11 -0
- package/RestoreIcon/index.js.map +7 -0
- package/RestoreIcon/index.test.d.ts +1 -0
- package/RestoreIcon/package.json +6 -0
- package/SearchIcon/config/index.js +9 -7
- package/SearchIcon/config.js.map +7 -0
- package/SearchIcon/index.js +10 -8
- package/SearchIcon/index.js.map +7 -0
- package/SvgIcon/index.d.ts +37 -0
- package/SvgIcon/index.js +30 -0
- package/SvgIcon/index.js.map +7 -0
- package/SvgIcon/index.test.d.ts +1 -0
- package/SvgIcon/package.json +6 -0
- package/UncheckIcon/config/index.js +9 -7
- package/UncheckIcon/config.js.map +7 -0
- package/UncheckIcon/index.js +10 -8
- package/UncheckIcon/index.js.map +7 -0
- package/cjs/AccessibilityIcon/config/index.js +45 -19
- package/cjs/AccessibilityIcon/config.js.map +7 -0
- package/cjs/AccessibilityIcon/index.js +42 -14
- package/cjs/AccessibilityIcon/index.js.map +7 -0
- package/cjs/ArrowIcon/config/index.js +42 -27
- package/cjs/ArrowIcon/config.js.map +7 -0
- package/cjs/ArrowIcon/index.js +42 -14
- package/cjs/ArrowIcon/index.js.map +7 -0
- package/cjs/Base/index.js +134 -0
- package/cjs/Base/index.js.map +7 -0
- package/cjs/BurgerIcon/config/index.js +53 -33
- package/cjs/BurgerIcon/config.js.map +7 -0
- package/cjs/BurgerIcon/index.js +42 -14
- package/cjs/BurgerIcon/index.js.map +7 -0
- package/cjs/CancelIcon/config/index.js +44 -0
- package/cjs/CancelIcon/config.js.map +7 -0
- package/cjs/CancelIcon/index.js +44 -0
- package/cjs/CancelIcon/index.js.map +7 -0
- package/cjs/CaretIcon/config/index.js +42 -27
- package/cjs/CaretIcon/config.js.map +7 -0
- package/cjs/CaretIcon/index.js +42 -14
- package/cjs/CaretIcon/index.js.map +7 -0
- package/cjs/ChatIcon/config/index.js +44 -0
- package/cjs/ChatIcon/config.js.map +7 -0
- package/cjs/ChatIcon/index.js +44 -0
- package/cjs/ChatIcon/index.js.map +7 -0
- package/cjs/CheckIcon/config/index.js +40 -13
- package/cjs/CheckIcon/config.js.map +7 -0
- package/cjs/CheckIcon/index.js +42 -14
- package/cjs/CheckIcon/index.js.map +7 -0
- package/cjs/ChevronIcon/config/index.js +42 -27
- package/cjs/ChevronIcon/config.js.map +7 -0
- package/cjs/ChevronIcon/index.js +42 -14
- package/cjs/ChevronIcon/index.js.map +7 -0
- package/cjs/CloseIcon/config/index.js +40 -13
- package/cjs/CloseIcon/config.js.map +7 -0
- package/cjs/CloseIcon/index.js +42 -14
- package/cjs/CloseIcon/index.js.map +7 -0
- package/cjs/DownloadIcon/config/index.js +44 -0
- package/cjs/DownloadIcon/config.js.map +7 -0
- package/cjs/DownloadIcon/index.js +44 -0
- package/cjs/DownloadIcon/index.js.map +7 -0
- package/cjs/ExclamationIcon/config/index.js +44 -0
- package/cjs/ExclamationIcon/config.js.map +7 -0
- package/cjs/ExclamationIcon/index.js +44 -0
- package/cjs/ExclamationIcon/index.js.map +7 -0
- package/cjs/GlobeIcon/config/index.js +40 -13
- package/cjs/GlobeIcon/config.js.map +7 -0
- package/cjs/GlobeIcon/index.js +42 -14
- package/cjs/GlobeIcon/index.js.map +7 -0
- package/cjs/Icon/index.js +61 -38
- package/cjs/Icon/index.js.map +7 -0
- package/cjs/LockIcon/config/index.js +44 -0
- package/cjs/LockIcon/config.js.map +7 -0
- package/cjs/LockIcon/index.js +44 -0
- package/cjs/LockIcon/index.js.map +7 -0
- package/cjs/LoginIcon/config/index.js +44 -0
- package/cjs/LoginIcon/config.js.map +7 -0
- package/cjs/LoginIcon/index.js +44 -0
- package/cjs/LoginIcon/index.js.map +7 -0
- package/cjs/MinusIcon/config/index.js +44 -0
- package/cjs/MinusIcon/config.js.map +7 -0
- package/cjs/MinusIcon/index.js +44 -0
- package/cjs/MinusIcon/index.js.map +7 -0
- package/cjs/MoreVertIcon/config/index.js +40 -25
- package/cjs/MoreVertIcon/config.js.map +7 -0
- package/cjs/MoreVertIcon/index.js +42 -14
- package/cjs/MoreVertIcon/index.js.map +7 -0
- package/cjs/PdfFileIcon/config/index.js +44 -0
- package/cjs/PdfFileIcon/config.js.map +7 -0
- package/cjs/PdfFileIcon/index.js +44 -0
- package/cjs/PdfFileIcon/index.js.map +7 -0
- package/cjs/PlusIcon/config/index.js +44 -0
- package/cjs/PlusIcon/config.js.map +7 -0
- package/cjs/PlusIcon/index.js +44 -0
- package/cjs/PlusIcon/index.js.map +7 -0
- package/cjs/PrintIcon/config/index.js +44 -0
- package/cjs/PrintIcon/config.js.map +7 -0
- package/cjs/PrintIcon/index.js +44 -0
- package/cjs/PrintIcon/index.js.map +7 -0
- package/cjs/ReplyIcon/config/index.js +44 -0
- package/cjs/ReplyIcon/config.js.map +7 -0
- package/cjs/ReplyIcon/index.js +44 -0
- package/cjs/ReplyIcon/index.js.map +7 -0
- package/cjs/RestoreIcon/config/index.js +44 -0
- package/cjs/RestoreIcon/config.js.map +7 -0
- package/cjs/RestoreIcon/index.js +44 -0
- package/cjs/RestoreIcon/index.js.map +7 -0
- package/cjs/SearchIcon/config/index.js +40 -13
- package/cjs/SearchIcon/config.js.map +7 -0
- package/cjs/SearchIcon/index.js +42 -14
- package/cjs/SearchIcon/index.js.map +7 -0
- package/cjs/SvgIcon/index.js +63 -0
- package/cjs/SvgIcon/index.js.map +7 -0
- package/cjs/UncheckIcon/config/index.js +40 -13
- package/cjs/UncheckIcon/config.js.map +7 -0
- package/cjs/UncheckIcon/index.js +42 -14
- package/cjs/UncheckIcon/index.js.map +7 -0
- package/cjs/icons/index.js +65 -125
- package/cjs/icons.js.map +7 -0
- package/cjs/index.js +65 -125
- package/cjs/index.js.map +7 -0
- package/cjs/lazy/index.js +61 -120
- package/cjs/lazy.js.map +7 -0
- package/cjs/registry/index.js +102 -48
- package/cjs/registry.js.map +7 -0
- package/icons/index.js +24 -12
- package/icons.d.ts +36 -0
- package/icons.js.map +7 -0
- package/index.d.ts +12 -0
- package/index.js +25 -12
- package/index.js.map +7 -0
- package/lazy/index.js +33 -87
- package/lazy.d.ts +15 -1
- package/lazy.js.map +7 -0
- package/package.json +4 -7
- package/registry/index.js +74 -40
- package/registry.d.ts +14 -0
- package/registry.js.map +7 -0
- package/src/AccessibilityIcon/__snapshots__/index.test.tsx.snap +197 -379
- package/src/AccessibilityIcon/index.test.tsx +16 -16
- package/src/ArrowIcon/__snapshots__/index.test.tsx.snap +52 -131
- package/src/ArrowIcon/index.test.tsx +5 -5
- package/src/Base/index.tsx +257 -0
- package/src/BurgerIcon/__snapshots__/index.test.tsx.snap +172 -293
- package/src/BurgerIcon/index.test.tsx +11 -11
- package/src/CancelIcon/__snapshots__/index.test.tsx.snap +120 -0
- package/src/CancelIcon/config.tsx +15 -0
- package/src/CancelIcon/index.test.tsx +26 -0
- package/src/CancelIcon/index.tsx +8 -0
- package/src/CaretIcon/__snapshots__/index.test.tsx.snap +52 -131
- package/src/CaretIcon/index.test.tsx +5 -5
- package/src/ChatIcon/__snapshots__/index.test.tsx.snap +137 -0
- package/src/ChatIcon/config.tsx +28 -0
- package/src/ChatIcon/index.test.tsx +29 -0
- package/src/ChatIcon/index.tsx +8 -0
- package/src/CheckIcon/__snapshots__/index.test.tsx.snap +111 -273
- package/src/CheckIcon/index.test.tsx +14 -14
- package/src/ChevronIcon/__snapshots__/index.test.tsx.snap +69 -0
- package/src/ChevronIcon/index.test.tsx +5 -5
- package/src/CloseIcon/__snapshots__/index.test.tsx.snap +13 -29
- package/src/CloseIcon/index.test.tsx +2 -2
- package/src/DownloadIcon/__snapshots__/index.test.tsx.snap +176 -0
- package/src/DownloadIcon/config.tsx +16 -0
- package/src/DownloadIcon/index.test.tsx +26 -0
- package/src/DownloadIcon/index.tsx +8 -0
- package/src/ExclamationIcon/__snapshots__/index.test.tsx.snap +155 -0
- package/src/ExclamationIcon/config.tsx +16 -0
- package/src/ExclamationIcon/index.test.tsx +26 -0
- package/src/ExclamationIcon/index.tsx +8 -0
- package/src/GlobeIcon/__snapshots__/index.test.tsx.snap +55 -135
- package/src/GlobeIcon/config.tsx +1 -12
- package/src/GlobeIcon/index.test.tsx +8 -8
- package/src/Icon/__snapshots__/index.test.tsx.snap +127 -271
- package/src/Icon/index.test.tsx +11 -11
- package/src/Icon/index.tsx +2 -2
- package/src/LockIcon/__snapshots__/index.test.tsx.snap +120 -0
- package/src/LockIcon/config.tsx +15 -0
- package/src/LockIcon/index.test.tsx +26 -0
- package/src/LockIcon/index.tsx +8 -0
- package/src/LoginIcon/__snapshots__/index.test.tsx.snap +141 -0
- package/src/LoginIcon/config.tsx +16 -0
- package/src/LoginIcon/index.test.tsx +26 -0
- package/src/LoginIcon/index.tsx +8 -0
- package/src/MinusIcon/__snapshots__/index.test.tsx.snap +141 -0
- package/src/MinusIcon/config.tsx +15 -0
- package/src/MinusIcon/index.test.tsx +26 -0
- package/src/MinusIcon/index.tsx +8 -0
- package/src/MoreVertIcon/__snapshots__/index.test.tsx.snap +233 -415
- package/src/MoreVertIcon/index.test.tsx +16 -16
- package/src/PdfFileIcon/__snapshots__/index.test.tsx.snap +211 -0
- package/src/PdfFileIcon/config.tsx +20 -0
- package/src/PdfFileIcon/index.test.tsx +26 -0
- package/src/PdfFileIcon/index.tsx +8 -0
- package/src/PlusIcon/__snapshots__/index.test.tsx.snap +120 -0
- package/src/PlusIcon/config.tsx +15 -0
- package/src/PlusIcon/index.test.tsx +26 -0
- package/src/PlusIcon/index.tsx +8 -0
- package/src/PrintIcon/__snapshots__/index.test.tsx.snap +162 -0
- package/src/PrintIcon/config.tsx +16 -0
- package/src/PrintIcon/index.test.tsx +26 -0
- package/src/PrintIcon/index.tsx +8 -0
- package/src/ReplyIcon/__snapshots__/index.test.tsx.snap +120 -0
- package/src/ReplyIcon/config.tsx +15 -0
- package/src/ReplyIcon/index.test.tsx +26 -0
- package/src/ReplyIcon/index.tsx +8 -0
- package/src/RestoreIcon/__snapshots__/index.test.tsx.snap +176 -0
- package/src/RestoreIcon/config.tsx +17 -0
- package/src/RestoreIcon/index.test.tsx +26 -0
- package/src/RestoreIcon/index.tsx +8 -0
- package/src/SearchIcon/__snapshots__/index.test.tsx.snap +13 -29
- package/src/SearchIcon/index.test.tsx +2 -2
- package/src/SvgIcon/__snapshots__/index.test.tsx.snap +254 -0
- package/src/SvgIcon/index.test.tsx +96 -0
- package/src/SvgIcon/index.tsx +72 -0
- package/src/UncheckIcon/__snapshots__/index.test.tsx.snap +125 -307
- package/src/UncheckIcon/index.test.tsx +16 -16
- package/src/icons.ts +37 -0
- package/src/index.ts +12 -0
- package/src/lazy.js +14 -0
- package/src/registry.js +28 -0
- package/AccessibilityIcon/__snapshots__/index.test.tsx.snap +0 -408
- package/AccessibilityIcon/index.test/index.js +0 -57
- package/AccessibilityIcon/index.test/package.json +0 -6
- package/ArrowIcon/__snapshots__/index.test.tsx.snap +0 -148
- package/ArrowIcon/index.test/index.js +0 -25
- package/BurgerIcon/__snapshots__/index.test.tsx.snap +0 -320
- package/BurgerIcon/index.test/index.js +0 -38
- package/BurgerIcon/index.test/package.json +0 -6
- package/CaretIcon/__snapshots__/index.test.tsx.snap +0 -148
- package/CaretIcon/index.test/index.js +0 -25
- package/CheckIcon/__snapshots__/index.test.tsx.snap +0 -299
- package/CheckIcon/index.test/index.js +0 -51
- package/ChevronIcon/index.test/index.js +0 -25
- package/ChevronIcon/index.test/package.json +0 -6
- package/CloseIcon/__snapshots__/index.test.tsx.snap +0 -34
- package/CloseIcon/index.test/index.js +0 -7
- package/GlobeIcon/__snapshots__/index.test.tsx.snap +0 -149
- package/GlobeIcon/index.test/index.js +0 -25
- package/GlobeIcon/index.test/package.json +0 -6
- package/Icon/__snapshots__/index.test.tsx.snap +0 -343
- package/Icon/index.test/index.js +0 -62
- package/MoreVertIcon/__snapshots__/index.test.tsx.snap +0 -444
- package/MoreVertIcon/index.test/index.js +0 -57
- package/MoreVertIcon/index.test/package.json +0 -6
- package/SearchIcon/__snapshots__/index.test.tsx.snap +0 -34
- package/SearchIcon/index.test/index.js +0 -7
- package/SearchIcon/index.test/package.json +0 -6
- package/UncheckIcon/__snapshots__/index.test.tsx.snap +0 -336
- package/UncheckIcon/index.test/index.js +0 -57
- package/UncheckIcon/index.test/package.json +0 -6
- package/cjs/AccessibilityIcon/__snapshots__/index.test.tsx.snap +0 -408
- package/cjs/AccessibilityIcon/index.test/index.js +0 -60
- package/cjs/ArrowIcon/__snapshots__/index.test.tsx.snap +0 -148
- package/cjs/ArrowIcon/index.test/index.js +0 -28
- package/cjs/BurgerIcon/__snapshots__/index.test.tsx.snap +0 -320
- package/cjs/BurgerIcon/index.test/index.js +0 -41
- package/cjs/CaretIcon/__snapshots__/index.test.tsx.snap +0 -148
- package/cjs/CaretIcon/index.test/index.js +0 -28
- package/cjs/CheckIcon/__snapshots__/index.test.tsx.snap +0 -299
- package/cjs/CheckIcon/index.test/index.js +0 -54
- package/cjs/ChevronIcon/index.test/index.js +0 -28
- package/cjs/CloseIcon/__snapshots__/index.test.tsx.snap +0 -34
- package/cjs/CloseIcon/index.test/index.js +0 -10
- package/cjs/GlobeIcon/__snapshots__/index.test.tsx.snap +0 -149
- package/cjs/GlobeIcon/index.test/index.js +0 -28
- package/cjs/Icon/__snapshots__/index.test.tsx.snap +0 -343
- package/cjs/Icon/index.test/index.js +0 -65
- package/cjs/MoreVertIcon/__snapshots__/index.test.tsx.snap +0 -444
- package/cjs/MoreVertIcon/index.test/index.js +0 -60
- package/cjs/SearchIcon/__snapshots__/index.test.tsx.snap +0 -34
- package/cjs/SearchIcon/index.test/index.js +0 -10
- package/cjs/UncheckIcon/__snapshots__/index.test.tsx.snap +0 -336
- package/cjs/UncheckIcon/index.test/index.js +0 -60
|
@@ -1,343 +0,0 @@
|
|
|
1
|
-
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
2
|
-
|
|
3
|
-
exports[`renders the Icon prop icon= "caret" 1`] = `
|
|
4
|
-
<ForwardRef(Icon)
|
|
5
|
-
icon="caret"
|
|
6
|
-
>
|
|
7
|
-
<ForwardRef(SvgIcon)
|
|
8
|
-
className="ds-svg-icon--caret"
|
|
9
|
-
>
|
|
10
|
-
<ForwardRef(Base)
|
|
11
|
-
aria-hidden="true"
|
|
12
|
-
as="svg"
|
|
13
|
-
className="ds-svg-icon--caret ds-svg-icon"
|
|
14
|
-
focusable="false"
|
|
15
|
-
viewBox="0 0 24 24"
|
|
16
|
-
>
|
|
17
|
-
<svg
|
|
18
|
-
aria-hidden="true"
|
|
19
|
-
className="ds-svg-icon--caret ds-svg-icon"
|
|
20
|
-
focusable="false"
|
|
21
|
-
viewBox="0 0 24 24"
|
|
22
|
-
>
|
|
23
|
-
<caret>
|
|
24
|
-
<path
|
|
25
|
-
d="M18,22V2L6,12L18,22z"
|
|
26
|
-
/>
|
|
27
|
-
</caret>
|
|
28
|
-
</svg>
|
|
29
|
-
</ForwardRef(Base)>
|
|
30
|
-
</ForwardRef(SvgIcon)>
|
|
31
|
-
</ForwardRef(Icon)>
|
|
32
|
-
`;
|
|
33
|
-
|
|
34
|
-
exports[`renders the Icon prop icon= "caret" and direction=left 1`] = `
|
|
35
|
-
<ForwardRef(Icon)
|
|
36
|
-
direction="left"
|
|
37
|
-
icon="caret"
|
|
38
|
-
>
|
|
39
|
-
<ForwardRef(SvgIcon)
|
|
40
|
-
className="ds-svg-icon--caret"
|
|
41
|
-
>
|
|
42
|
-
<ForwardRef(Base)
|
|
43
|
-
aria-hidden="true"
|
|
44
|
-
as="svg"
|
|
45
|
-
className="ds-svg-icon--caret ds-svg-icon"
|
|
46
|
-
focusable="false"
|
|
47
|
-
viewBox="0 0 24 24"
|
|
48
|
-
>
|
|
49
|
-
<svg
|
|
50
|
-
aria-hidden="true"
|
|
51
|
-
className="ds-svg-icon--caret ds-svg-icon"
|
|
52
|
-
focusable="false"
|
|
53
|
-
viewBox="0 0 24 24"
|
|
54
|
-
>
|
|
55
|
-
<caret
|
|
56
|
-
direction="left"
|
|
57
|
-
>
|
|
58
|
-
<path
|
|
59
|
-
d="M18,22V2L6,12L18,22z"
|
|
60
|
-
/>
|
|
61
|
-
</caret>
|
|
62
|
-
</svg>
|
|
63
|
-
</ForwardRef(Base)>
|
|
64
|
-
</ForwardRef(SvgIcon)>
|
|
65
|
-
</ForwardRef(Icon)>
|
|
66
|
-
`;
|
|
67
|
-
|
|
68
|
-
exports[`renders the Icon prop icon= "check" 1`] = `
|
|
69
|
-
<ForwardRef(Icon)
|
|
70
|
-
icon="check"
|
|
71
|
-
>
|
|
72
|
-
<ForwardRef(SvgIcon)
|
|
73
|
-
className="ds-svg-icon--check"
|
|
74
|
-
>
|
|
75
|
-
<ForwardRef(Base)
|
|
76
|
-
aria-hidden="true"
|
|
77
|
-
as="svg"
|
|
78
|
-
className="ds-svg-icon--check ds-svg-icon"
|
|
79
|
-
focusable="false"
|
|
80
|
-
viewBox="0 0 24 24"
|
|
81
|
-
>
|
|
82
|
-
<svg
|
|
83
|
-
aria-hidden="true"
|
|
84
|
-
className="ds-svg-icon--check ds-svg-icon"
|
|
85
|
-
focusable="false"
|
|
86
|
-
viewBox="0 0 24 24"
|
|
87
|
-
>
|
|
88
|
-
<check>
|
|
89
|
-
<polygon
|
|
90
|
-
points="9.49 14.94 4.16 9.67 1.84 12.01 9.5 19.6 22.16 7.05 19.84 4.7 9.5 14.94"
|
|
91
|
-
/>
|
|
92
|
-
</check>
|
|
93
|
-
</svg>
|
|
94
|
-
</ForwardRef(Base)>
|
|
95
|
-
</ForwardRef(SvgIcon)>
|
|
96
|
-
</ForwardRef(Icon)>
|
|
97
|
-
`;
|
|
98
|
-
|
|
99
|
-
exports[`renders the Icon prop icon= "close" 1`] = `
|
|
100
|
-
<ForwardRef(Icon)
|
|
101
|
-
icon="close"
|
|
102
|
-
>
|
|
103
|
-
<ForwardRef(SvgIcon)
|
|
104
|
-
className="ds-svg-icon--close"
|
|
105
|
-
>
|
|
106
|
-
<ForwardRef(Base)
|
|
107
|
-
aria-hidden="true"
|
|
108
|
-
as="svg"
|
|
109
|
-
className="ds-svg-icon--close ds-svg-icon"
|
|
110
|
-
focusable="false"
|
|
111
|
-
viewBox="0 0 24 24"
|
|
112
|
-
>
|
|
113
|
-
<svg
|
|
114
|
-
aria-hidden="true"
|
|
115
|
-
className="ds-svg-icon--close ds-svg-icon"
|
|
116
|
-
focusable="false"
|
|
117
|
-
viewBox="0 0 24 24"
|
|
118
|
-
>
|
|
119
|
-
<close>
|
|
120
|
-
<polygon
|
|
121
|
-
points="14.4,11.8 22,4.2 19.7,1.8 12,9.4 4.4,1.8 2,4.2 9.7,11.9 2.1,19.5 4.4,21.9 12.1,14.3 19.7,21.9 22.1,19.5 "
|
|
122
|
-
/>
|
|
123
|
-
</close>
|
|
124
|
-
</svg>
|
|
125
|
-
</ForwardRef(Base)>
|
|
126
|
-
</ForwardRef(SvgIcon)>
|
|
127
|
-
</ForwardRef(Icon)>
|
|
128
|
-
`;
|
|
129
|
-
|
|
130
|
-
exports[`renders the Icon prop icon= "uncheck" 1`] = `
|
|
131
|
-
<ForwardRef(Icon)
|
|
132
|
-
icon="uncheck"
|
|
133
|
-
>
|
|
134
|
-
<ForwardRef(SvgIcon)
|
|
135
|
-
className="ds-svg-icon--uncheck"
|
|
136
|
-
>
|
|
137
|
-
<ForwardRef(Base)
|
|
138
|
-
aria-hidden="true"
|
|
139
|
-
as="svg"
|
|
140
|
-
className="ds-svg-icon--uncheck ds-svg-icon"
|
|
141
|
-
focusable="false"
|
|
142
|
-
viewBox="0 0 24 24"
|
|
143
|
-
>
|
|
144
|
-
<svg
|
|
145
|
-
aria-hidden="true"
|
|
146
|
-
className="ds-svg-icon--uncheck ds-svg-icon"
|
|
147
|
-
focusable="false"
|
|
148
|
-
viewBox="0 0 24 24"
|
|
149
|
-
>
|
|
150
|
-
<uncheck>
|
|
151
|
-
<polygon
|
|
152
|
-
points="20.59 5.74 18.26 3.41 12 9.67 5.742 3.41 3.41 5.74 9.67 12 3.41 18.26 5.74 20.6 12 14.33 18.26 20.59 20.59 18.26 14.33 12 20.59 5.74"
|
|
153
|
-
/>
|
|
154
|
-
</uncheck>
|
|
155
|
-
</svg>
|
|
156
|
-
</ForwardRef(Base)>
|
|
157
|
-
</ForwardRef(SvgIcon)>
|
|
158
|
-
</ForwardRef(Icon)>
|
|
159
|
-
`;
|
|
160
|
-
|
|
161
|
-
exports[`renders the Icon props icon= "moreVert" 1`] = `
|
|
162
|
-
<ForwardRef(Icon)
|
|
163
|
-
icon="moreVert"
|
|
164
|
-
>
|
|
165
|
-
<ForwardRef(SvgIcon)
|
|
166
|
-
className="ds-svg-icon--moreVert"
|
|
167
|
-
>
|
|
168
|
-
<ForwardRef(Base)
|
|
169
|
-
aria-hidden="true"
|
|
170
|
-
as="svg"
|
|
171
|
-
className="ds-svg-icon--moreVert ds-svg-icon"
|
|
172
|
-
focusable="false"
|
|
173
|
-
viewBox="0 0 24 24"
|
|
174
|
-
>
|
|
175
|
-
<svg
|
|
176
|
-
aria-hidden="true"
|
|
177
|
-
className="ds-svg-icon--moreVert ds-svg-icon"
|
|
178
|
-
focusable="false"
|
|
179
|
-
viewBox="0 0 24 24"
|
|
180
|
-
>
|
|
181
|
-
<moreVert>
|
|
182
|
-
<circle
|
|
183
|
-
cx="12"
|
|
184
|
-
cy="5"
|
|
185
|
-
r="2"
|
|
186
|
-
/>
|
|
187
|
-
<circle
|
|
188
|
-
cx="12"
|
|
189
|
-
cy="12"
|
|
190
|
-
r="2"
|
|
191
|
-
/>
|
|
192
|
-
<circle
|
|
193
|
-
cx="12"
|
|
194
|
-
cy="19"
|
|
195
|
-
r="2"
|
|
196
|
-
/>
|
|
197
|
-
</moreVert>
|
|
198
|
-
</svg>
|
|
199
|
-
</ForwardRef(Base)>
|
|
200
|
-
</ForwardRef(SvgIcon)>
|
|
201
|
-
</ForwardRef(Icon)>
|
|
202
|
-
`;
|
|
203
|
-
|
|
204
|
-
exports[`renders the Icon with no props 1`] = `
|
|
205
|
-
<ForwardRef(Icon)>
|
|
206
|
-
<ForwardRef(SvgIcon)
|
|
207
|
-
className="ds-svg-icon--arrow"
|
|
208
|
-
>
|
|
209
|
-
<ForwardRef(Base)
|
|
210
|
-
aria-hidden="true"
|
|
211
|
-
as="svg"
|
|
212
|
-
className="ds-svg-icon--arrow ds-svg-icon"
|
|
213
|
-
focusable="false"
|
|
214
|
-
viewBox="0 0 24 24"
|
|
215
|
-
>
|
|
216
|
-
<svg
|
|
217
|
-
aria-hidden="true"
|
|
218
|
-
className="ds-svg-icon--arrow ds-svg-icon"
|
|
219
|
-
focusable="false"
|
|
220
|
-
viewBox="0 0 24 24"
|
|
221
|
-
>
|
|
222
|
-
<arrow>
|
|
223
|
-
<path
|
|
224
|
-
d="M8.5,2L6.1,4.3l7.6,7.7l-7.6,7.6L8.5,22l10-10L8.5,2z"
|
|
225
|
-
/>
|
|
226
|
-
</arrow>
|
|
227
|
-
</svg>
|
|
228
|
-
</ForwardRef(Base)>
|
|
229
|
-
</ForwardRef(SvgIcon)>
|
|
230
|
-
</ForwardRef(Icon)>
|
|
231
|
-
`;
|
|
232
|
-
|
|
233
|
-
exports[`renders the Icon with prop icon=arrow and direction=up 1`] = `
|
|
234
|
-
<ForwardRef(Icon)
|
|
235
|
-
direction="up"
|
|
236
|
-
>
|
|
237
|
-
<ForwardRef(SvgIcon)
|
|
238
|
-
className="ds-svg-icon--arrow"
|
|
239
|
-
>
|
|
240
|
-
<ForwardRef(Base)
|
|
241
|
-
aria-hidden="true"
|
|
242
|
-
as="svg"
|
|
243
|
-
className="ds-svg-icon--arrow ds-svg-icon"
|
|
244
|
-
focusable="false"
|
|
245
|
-
viewBox="0 0 24 24"
|
|
246
|
-
>
|
|
247
|
-
<svg
|
|
248
|
-
aria-hidden="true"
|
|
249
|
-
className="ds-svg-icon--arrow ds-svg-icon"
|
|
250
|
-
focusable="false"
|
|
251
|
-
viewBox="0 0 24 24"
|
|
252
|
-
>
|
|
253
|
-
<arrow
|
|
254
|
-
direction="up"
|
|
255
|
-
>
|
|
256
|
-
<path
|
|
257
|
-
d="M2,15.8l2.3,2.4l7.7-7.6l7.6,7.6l2.4-2.4l-10-10L2,15.8z"
|
|
258
|
-
/>
|
|
259
|
-
</arrow>
|
|
260
|
-
</svg>
|
|
261
|
-
</ForwardRef(Base)>
|
|
262
|
-
</ForwardRef(SvgIcon)>
|
|
263
|
-
</ForwardRef(Icon)>
|
|
264
|
-
`;
|
|
265
|
-
|
|
266
|
-
exports[`renders the Icon with prop prop icon=burger 1`] = `
|
|
267
|
-
<ForwardRef(Icon)
|
|
268
|
-
icon="burger"
|
|
269
|
-
>
|
|
270
|
-
<ForwardRef(SvgIcon)
|
|
271
|
-
className="ds-svg-icon--burger"
|
|
272
|
-
>
|
|
273
|
-
<ForwardRef(Base)
|
|
274
|
-
aria-hidden="true"
|
|
275
|
-
as="svg"
|
|
276
|
-
className="ds-svg-icon--burger ds-svg-icon"
|
|
277
|
-
focusable="false"
|
|
278
|
-
viewBox="0 0 24 24"
|
|
279
|
-
>
|
|
280
|
-
<svg
|
|
281
|
-
aria-hidden="true"
|
|
282
|
-
className="ds-svg-icon--burger ds-svg-icon"
|
|
283
|
-
focusable="false"
|
|
284
|
-
viewBox="0 0 24 24"
|
|
285
|
-
>
|
|
286
|
-
<burger>
|
|
287
|
-
<g
|
|
288
|
-
className=""
|
|
289
|
-
>
|
|
290
|
-
<rect
|
|
291
|
-
height="3.3"
|
|
292
|
-
id="ds-svg-icon--burger__line-1"
|
|
293
|
-
width="20"
|
|
294
|
-
/>
|
|
295
|
-
<rect
|
|
296
|
-
height="3.3"
|
|
297
|
-
id="ds-svg-icon--burger__line-2"
|
|
298
|
-
width="20"
|
|
299
|
-
/>
|
|
300
|
-
<rect
|
|
301
|
-
height="3.3"
|
|
302
|
-
id="ds-svg-icon--burger__line-3"
|
|
303
|
-
width="20"
|
|
304
|
-
/>
|
|
305
|
-
</g>
|
|
306
|
-
</burger>
|
|
307
|
-
</svg>
|
|
308
|
-
</ForwardRef(Base)>
|
|
309
|
-
</ForwardRef(SvgIcon)>
|
|
310
|
-
</ForwardRef(Icon)>
|
|
311
|
-
`;
|
|
312
|
-
|
|
313
|
-
exports[`renders the Icon with prop prop icon=globe 1`] = `
|
|
314
|
-
<ForwardRef(Icon)
|
|
315
|
-
icon="globe"
|
|
316
|
-
>
|
|
317
|
-
<ForwardRef(SvgIcon)
|
|
318
|
-
className="ds-svg-icon--globe"
|
|
319
|
-
>
|
|
320
|
-
<ForwardRef(Base)
|
|
321
|
-
aria-hidden="true"
|
|
322
|
-
as="svg"
|
|
323
|
-
className="ds-svg-icon--globe ds-svg-icon"
|
|
324
|
-
focusable="false"
|
|
325
|
-
viewBox="0 0 24 24"
|
|
326
|
-
>
|
|
327
|
-
<svg
|
|
328
|
-
aria-hidden="true"
|
|
329
|
-
className="ds-svg-icon--globe ds-svg-icon"
|
|
330
|
-
focusable="false"
|
|
331
|
-
viewBox="0 0 24 24"
|
|
332
|
-
>
|
|
333
|
-
<globe>
|
|
334
|
-
<path
|
|
335
|
-
d="M12,0C5.4,0,0,5.4,0,12s5.4,12,12,12s12-5.4,12-12S18.6,0,12,0z M22.4,13.1C22.4,13.1,22.4,13.2,22.4,13.1 c0,0.4-0.1,0.8-0.2,1.1v0h-3.6c0.2-1.5,0.2-3,0-4.5h3.6v0c0.1,0.4,0.1,0.7,0.2,1.1c0,0,0,0,0,0C22.5,11.6,22.5,12.4,22.4,13.1z M16,21.7c1.1-1.5,2-3.5,2.4-6h3.4c0,0,0,0,0,0C20.8,18.4,18.7,20.6,16,21.7z M21.8,8.2C21.8,8.2,21.8,8.2,21.8,8.2l-3.4,0 c-0.4-2.4-1.3-4.5-2.4-6C18.7,3.4,20.8,5.6,21.8,8.2L21.8,8.2z M17.1,9.7c0.2,1.5,0.2,3,0,4.5h-4.4V9.7L17.1,9.7L17.1,9.7z M12.7,8.2V1.6c1.9,0.6,3.5,3.2,4.1,6.6L12.7,8.2L12.7,8.2z M12.7,15.7h4.1c-0.7,3.4-2.3,6.1-4.1,6.6V15.7L12.7,15.7z M2.2,15.8 C2.2,15.8,2.2,15.8,2.2,15.8l3.4,0c0.4,2.4,1.3,4.5,2.4,6C5.3,20.6,3.2,18.4,2.2,15.8L2.2,15.8z M8,2.3c-1.1,1.5-2,3.5-2.4,6H2.2 c0,0,0,0,0,0C3.2,5.6,5.3,3.4,8,2.3z M6.9,14.3c-0.2-1.5-0.2-3,0-4.5h4.4v4.5H6.9L6.9,14.3z M11.2,15.8v6.6 c-1.9-0.6-3.5-3.2-4.1-6.6L11.2,15.8L11.2,15.8z M11.2,8.3H7.1c0.7-3.4,2.3-6.1,4.1-6.6V8.3L11.2,8.3z M1.6,10.9 C1.6,10.9,1.6,10.8,1.6,10.9c0-0.4,0.1-0.8,0.2-1.1v0h3.6c-0.2,1.5-0.2,3,0,4.5H1.7v0c-0.1-0.4-0.1-0.7-0.2-1.1c0,0,0,0,0,0 C1.5,12.4,1.5,11.6,1.6,10.9z"
|
|
336
|
-
/>
|
|
337
|
-
|
|
338
|
-
</globe>
|
|
339
|
-
</svg>
|
|
340
|
-
</ForwardRef(Base)>
|
|
341
|
-
</ForwardRef(SvgIcon)>
|
|
342
|
-
</ForwardRef(Icon)>
|
|
343
|
-
`;
|
package/Icon/index.test/index.js
DELETED
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { mount } from 'enzyme';
|
|
3
|
-
import Icon from '@digigov/react-icons/Icon';
|
|
4
|
-
var _ref = /*#__PURE__*/React.createElement(Icon, null);
|
|
5
|
-
it('renders the Icon with no props', function () {
|
|
6
|
-
expect(mount(_ref)).toMatchSnapshot();
|
|
7
|
-
});
|
|
8
|
-
var _ref2 = /*#__PURE__*/React.createElement(Icon, {
|
|
9
|
-
direction: "up"
|
|
10
|
-
});
|
|
11
|
-
it('renders the Icon with prop icon=arrow and direction=up', function () {
|
|
12
|
-
expect(mount(_ref2)).toMatchSnapshot();
|
|
13
|
-
});
|
|
14
|
-
var _ref3 = /*#__PURE__*/React.createElement(Icon, {
|
|
15
|
-
icon: "burger"
|
|
16
|
-
});
|
|
17
|
-
it('renders the Icon with prop prop icon=burger', function () {
|
|
18
|
-
expect(mount(_ref3)).toMatchSnapshot();
|
|
19
|
-
});
|
|
20
|
-
var _ref4 = /*#__PURE__*/React.createElement(Icon, {
|
|
21
|
-
icon: "caret"
|
|
22
|
-
});
|
|
23
|
-
it('renders the Icon prop icon= "caret"', function () {
|
|
24
|
-
expect(mount(_ref4)).toMatchSnapshot();
|
|
25
|
-
});
|
|
26
|
-
var _ref5 = /*#__PURE__*/React.createElement(Icon, {
|
|
27
|
-
icon: "caret",
|
|
28
|
-
direction: "left"
|
|
29
|
-
});
|
|
30
|
-
it('renders the Icon prop icon= "caret" and direction=left', function () {
|
|
31
|
-
expect(mount(_ref5)).toMatchSnapshot();
|
|
32
|
-
});
|
|
33
|
-
var _ref6 = /*#__PURE__*/React.createElement(Icon, {
|
|
34
|
-
icon: "check"
|
|
35
|
-
});
|
|
36
|
-
it('renders the Icon prop icon= "check"', function () {
|
|
37
|
-
expect(mount(_ref6)).toMatchSnapshot();
|
|
38
|
-
});
|
|
39
|
-
var _ref7 = /*#__PURE__*/React.createElement(Icon, {
|
|
40
|
-
icon: "close"
|
|
41
|
-
});
|
|
42
|
-
it('renders the Icon prop icon= "close"', function () {
|
|
43
|
-
expect(mount(_ref7)).toMatchSnapshot();
|
|
44
|
-
});
|
|
45
|
-
var _ref8 = /*#__PURE__*/React.createElement(Icon, {
|
|
46
|
-
icon: "globe"
|
|
47
|
-
});
|
|
48
|
-
it('renders the Icon with prop prop icon=globe', function () {
|
|
49
|
-
expect(mount(_ref8)).toMatchSnapshot();
|
|
50
|
-
});
|
|
51
|
-
var _ref9 = /*#__PURE__*/React.createElement(Icon, {
|
|
52
|
-
icon: "moreVert"
|
|
53
|
-
});
|
|
54
|
-
it('renders the Icon props icon= "moreVert"', function () {
|
|
55
|
-
expect(mount(_ref9)).toMatchSnapshot();
|
|
56
|
-
});
|
|
57
|
-
var _ref10 = /*#__PURE__*/React.createElement(Icon, {
|
|
58
|
-
icon: "uncheck"
|
|
59
|
-
});
|
|
60
|
-
it('renders the Icon prop icon= "uncheck"', function () {
|
|
61
|
-
expect(mount(_ref10)).toMatchSnapshot();
|
|
62
|
-
});
|