@digigov/react-icons 2.0.0-7d9a8d86 → 2.0.0-834daea4
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 +8 -7
- package/AccessibilityIcon/config.js.map +2 -2
- package/AccessibilityIcon/index.js +1 -4
- package/AccessibilityIcon/index.js.map +1 -1
- package/ArrowIcon/config/index.js +3 -10
- package/ArrowIcon/config.js.map +2 -2
- package/ArrowIcon/index.js +1 -4
- package/ArrowIcon/index.js.map +1 -1
- package/Base/index.d.ts +95 -0
- package/Base/index.js +102 -0
- package/Base/index.js.map +7 -0
- package/{Icon/index.test → Base}/package.json +1 -1
- package/BurgerIcon/config/index.js +14 -18
- package/BurgerIcon/config.js.map +2 -2
- package/BurgerIcon/index.js +1 -4
- package/BurgerIcon/index.js.map +1 -1
- package/CancelIcon/config/index.js +2 -3
- package/CancelIcon/config.js.map +2 -2
- package/CancelIcon/index.js +1 -4
- package/CancelIcon/index.js.map +1 -1
- package/CaretIcon/config/index.js +3 -10
- package/CaretIcon/config.js.map +2 -2
- package/CaretIcon/index.js +1 -4
- package/CaretIcon/index.js.map +1 -1
- package/ChatIcon/config/index.js +3 -6
- package/ChatIcon/config.js.map +2 -2
- package/ChatIcon/index.js +1 -4
- package/ChatIcon/index.js.map +1 -1
- package/CheckIcon/config/index.js +2 -3
- package/CheckIcon/config.js.map +2 -2
- package/CheckIcon/index.js +1 -4
- package/CheckIcon/index.js.map +1 -1
- package/ChevronIcon/config/index.js +3 -10
- package/ChevronIcon/config.js.map +2 -2
- package/ChevronIcon/index.js +1 -4
- package/ChevronIcon/index.js.map +1 -1
- package/CloseIcon/config/index.js +2 -3
- package/CloseIcon/config.js.map +2 -2
- package/CloseIcon/index.js +1 -4
- package/CloseIcon/index.js.map +1 -1
- package/DownloadIcon/config/index.js +2 -8
- package/DownloadIcon/config.js.map +2 -2
- package/DownloadIcon/index.js +1 -4
- package/DownloadIcon/index.js.map +1 -1
- package/ExclamationIcon/config/index.js +2 -7
- package/ExclamationIcon/config.js.map +2 -2
- package/ExclamationIcon/index.js +1 -4
- package/ExclamationIcon/index.js.map +1 -1
- package/GlobeIcon/config/index.js +2 -3
- package/GlobeIcon/config.js.map +2 -2
- package/GlobeIcon/index.js +1 -4
- package/GlobeIcon/index.js.map +1 -1
- package/Icon/index.d.ts +2 -2
- package/Icon/index.js +13 -11
- package/Icon/index.js.map +3 -3
- package/LockIcon/config/index.js +2 -3
- package/LockIcon/config.js.map +2 -2
- package/LockIcon/index.js +1 -4
- package/LockIcon/index.js.map +1 -1
- package/LoginIcon/config/index.js +2 -5
- package/LoginIcon/config.js.map +2 -2
- package/LoginIcon/index.js +1 -4
- package/LoginIcon/index.js.map +1 -1
- package/MinusIcon/config/index.js +2 -6
- package/MinusIcon/config.js.map +2 -2
- package/MinusIcon/index.js +1 -4
- package/MinusIcon/index.js.map +1 -1
- package/MoreVertIcon/config/index.js +2 -13
- package/MoreVertIcon/config.js.map +2 -2
- package/MoreVertIcon/index.js +1 -4
- package/MoreVertIcon/index.js.map +1 -1
- package/PdfFileIcon/config/index.js +2 -9
- package/PdfFileIcon/config.js.map +2 -2
- package/PdfFileIcon/index.js +1 -4
- package/PdfFileIcon/index.js.map +1 -1
- package/PlusIcon/config/index.js +2 -3
- package/PlusIcon/config.js.map +2 -2
- package/PlusIcon/index.js +1 -4
- package/PlusIcon/index.js.map +1 -1
- package/PrintIcon/config/index.js +2 -8
- package/PrintIcon/config.js.map +2 -2
- package/PrintIcon/index.js +1 -4
- package/PrintIcon/index.js.map +1 -1
- package/ReplyIcon/config/index.js +2 -3
- package/ReplyIcon/config.js.map +2 -2
- package/ReplyIcon/index.js +1 -4
- package/ReplyIcon/index.js.map +1 -1
- package/RestoreIcon/config/index.js +2 -9
- package/RestoreIcon/config.js.map +2 -2
- package/RestoreIcon/index.js +1 -4
- package/RestoreIcon/index.js.map +1 -1
- package/SearchIcon/config/index.js +2 -3
- package/SearchIcon/config.js.map +2 -2
- package/SearchIcon/index.js +1 -4
- package/SearchIcon/index.js.map +1 -1
- 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/{ChatIcon/index.test → SvgIcon}/package.json +1 -1
- package/UncheckIcon/config/index.js +2 -3
- package/UncheckIcon/config.js.map +2 -2
- package/UncheckIcon/index.js +1 -4
- package/UncheckIcon/index.js.map +1 -1
- package/cjs/AccessibilityIcon/config/index.js +30 -23
- package/cjs/AccessibilityIcon/config.js.map +3 -3
- package/cjs/AccessibilityIcon/index.js +24 -21
- package/cjs/AccessibilityIcon/index.js.map +2 -2
- package/cjs/ArrowIcon/config/index.js +25 -26
- package/cjs/ArrowIcon/config.js.map +3 -3
- package/cjs/ArrowIcon/index.js +24 -21
- package/cjs/ArrowIcon/index.js.map +2 -2
- package/cjs/Base/index.js +135 -0
- package/cjs/Base/index.js.map +7 -0
- package/cjs/BurgerIcon/config/index.js +37 -35
- package/cjs/BurgerIcon/config.js.map +3 -3
- package/cjs/BurgerIcon/index.js +24 -21
- package/cjs/BurgerIcon/index.js.map +2 -2
- package/cjs/CancelIcon/config/index.js +24 -19
- package/cjs/CancelIcon/config.js.map +3 -3
- package/cjs/CancelIcon/index.js +24 -21
- package/cjs/CancelIcon/index.js.map +2 -2
- package/cjs/CaretIcon/config/index.js +25 -26
- package/cjs/CaretIcon/config.js.map +3 -3
- package/cjs/CaretIcon/index.js +24 -21
- package/cjs/CaretIcon/index.js.map +2 -2
- package/cjs/ChatIcon/config/index.js +25 -22
- package/cjs/ChatIcon/config.js.map +3 -3
- package/cjs/ChatIcon/index.js +24 -21
- package/cjs/ChatIcon/index.js.map +2 -2
- package/cjs/CheckIcon/config/index.js +24 -19
- package/cjs/CheckIcon/config.js.map +3 -3
- package/cjs/CheckIcon/index.js +24 -21
- package/cjs/CheckIcon/index.js.map +2 -2
- package/cjs/ChevronIcon/config/index.js +25 -26
- package/cjs/ChevronIcon/config.js.map +3 -3
- package/cjs/ChevronIcon/index.js +24 -21
- package/cjs/ChevronIcon/index.js.map +2 -2
- package/cjs/CloseIcon/config/index.js +24 -19
- package/cjs/CloseIcon/config.js.map +3 -3
- package/cjs/CloseIcon/index.js +24 -21
- package/cjs/CloseIcon/index.js.map +2 -2
- package/cjs/DownloadIcon/config/index.js +24 -24
- package/cjs/DownloadIcon/config.js.map +3 -3
- package/cjs/DownloadIcon/index.js +24 -21
- package/cjs/DownloadIcon/index.js.map +2 -2
- package/cjs/ExclamationIcon/config/index.js +24 -23
- package/cjs/ExclamationIcon/config.js.map +3 -3
- package/cjs/ExclamationIcon/index.js +24 -21
- package/cjs/ExclamationIcon/index.js.map +2 -2
- package/cjs/GlobeIcon/config/index.js +24 -19
- package/cjs/GlobeIcon/config.js.map +3 -3
- package/cjs/GlobeIcon/index.js +24 -21
- package/cjs/GlobeIcon/index.js.map +2 -2
- package/cjs/Icon/index.js +37 -29
- package/cjs/Icon/index.js.map +3 -3
- package/cjs/LockIcon/config/index.js +24 -19
- package/cjs/LockIcon/config.js.map +3 -3
- package/cjs/LockIcon/index.js +24 -21
- package/cjs/LockIcon/index.js.map +2 -2
- package/cjs/LoginIcon/config/index.js +24 -21
- package/cjs/LoginIcon/config.js.map +3 -3
- package/cjs/LoginIcon/index.js +24 -21
- package/cjs/LoginIcon/index.js.map +2 -2
- package/cjs/MinusIcon/config/index.js +24 -22
- package/cjs/MinusIcon/config.js.map +3 -3
- package/cjs/MinusIcon/index.js +24 -21
- package/cjs/MinusIcon/index.js.map +2 -2
- package/cjs/MoreVertIcon/config/index.js +24 -29
- package/cjs/MoreVertIcon/config.js.map +3 -3
- package/cjs/MoreVertIcon/index.js +24 -21
- package/cjs/MoreVertIcon/index.js.map +2 -2
- package/cjs/PdfFileIcon/config/index.js +24 -25
- package/cjs/PdfFileIcon/config.js.map +3 -3
- package/cjs/PdfFileIcon/index.js +24 -21
- package/cjs/PdfFileIcon/index.js.map +2 -2
- package/cjs/PlusIcon/config/index.js +24 -19
- package/cjs/PlusIcon/config.js.map +3 -3
- package/cjs/PlusIcon/index.js +24 -21
- package/cjs/PlusIcon/index.js.map +2 -2
- package/cjs/PrintIcon/config/index.js +24 -24
- package/cjs/PrintIcon/config.js.map +3 -3
- package/cjs/PrintIcon/index.js +24 -21
- package/cjs/PrintIcon/index.js.map +2 -2
- package/cjs/ReplyIcon/config/index.js +24 -19
- package/cjs/ReplyIcon/config.js.map +3 -3
- package/cjs/ReplyIcon/index.js +24 -21
- package/cjs/ReplyIcon/index.js.map +2 -2
- package/cjs/RestoreIcon/config/index.js +24 -25
- package/cjs/RestoreIcon/config.js.map +3 -3
- package/cjs/RestoreIcon/index.js +24 -21
- package/cjs/RestoreIcon/index.js.map +2 -2
- package/cjs/SearchIcon/config/index.js +24 -19
- package/cjs/SearchIcon/config.js.map +3 -3
- package/cjs/SearchIcon/index.js +24 -21
- package/cjs/SearchIcon/index.js.map +2 -2
- package/cjs/SvgIcon/index.js +63 -0
- package/cjs/SvgIcon/index.js.map +7 -0
- package/cjs/UncheckIcon/config/index.js +24 -19
- package/cjs/UncheckIcon/config.js.map +3 -3
- package/cjs/UncheckIcon/index.js +24 -21
- package/cjs/UncheckIcon/index.js.map +2 -2
- package/cjs/icons/index.js +61 -38
- package/cjs/icons.js.map +1 -1
- package/cjs/index.js +61 -38
- package/cjs/index.js.map +1 -1
- package/cjs/lazy/index.js +48 -42
- package/cjs/lazy.js.map +3 -3
- package/cjs/registry/index.js +63 -52
- package/cjs/registry.js.map +2 -2
- package/icons.js.map +1 -1
- package/index.js +1 -1
- package/index.js.map +1 -1
- package/lazy/index.js +27 -25
- package/lazy.d.ts +3 -1
- package/lazy.js.map +2 -2
- package/package.json +4 -5
- package/registry/index.js +16 -9
- package/registry.d.ts +2 -0
- package/registry.js.map +2 -2
- package/src/AccessibilityIcon/__snapshots__/index.test.tsx.snap +280 -363
- package/src/AccessibilityIcon/config.tsx +5 -4
- package/src/AccessibilityIcon/index.test.tsx +10 -10
- package/src/ArrowIcon/__snapshots__/index.test.tsx.snap +65 -132
- package/src/ArrowIcon/config.tsx +5 -4
- package/src/ArrowIcon/index.test.tsx +5 -5
- package/src/Base/index.tsx +258 -0
- package/src/BurgerIcon/__snapshots__/index.test.tsx.snap +217 -290
- package/src/BurgerIcon/config.tsx +6 -5
- package/src/BurgerIcon/index.test.tsx +7 -7
- package/src/CancelIcon/__snapshots__/index.test.tsx.snap +113 -234
- package/src/CancelIcon/config.tsx +3 -2
- package/src/CancelIcon/index.test.tsx +8 -8
- package/src/CaretIcon/__snapshots__/index.test.tsx.snap +65 -132
- package/src/CaretIcon/config.tsx +5 -4
- package/src/CaretIcon/index.test.tsx +5 -5
- package/src/ChatIcon/__snapshots__/index.test.tsx.snap +129 -268
- package/src/ChatIcon/config.tsx +3 -2
- package/src/ChatIcon/index.test.tsx +9 -9
- package/src/CheckIcon/__snapshots__/index.test.tsx.snap +129 -267
- package/src/CheckIcon/config.tsx +3 -2
- package/src/CheckIcon/index.test.tsx +9 -9
- package/src/ChevronIcon/__snapshots__/index.test.tsx.snap +65 -132
- package/src/ChevronIcon/config.tsx +5 -4
- package/src/ChevronIcon/index.test.tsx +5 -5
- package/src/CloseIcon/__snapshots__/index.test.tsx.snap +17 -30
- package/src/CloseIcon/config.tsx +3 -2
- package/src/CloseIcon/index.test.tsx +2 -2
- package/src/DownloadIcon/__snapshots__/index.test.tsx.snap +197 -283
- package/src/DownloadIcon/config.tsx +6 -5
- package/src/DownloadIcon/index.test.tsx +8 -8
- package/src/ExclamationIcon/__snapshots__/index.test.tsx.snap +162 -269
- package/src/ExclamationIcon/config.tsx +4 -3
- package/src/ExclamationIcon/index.test.tsx +8 -8
- package/src/GlobeIcon/__snapshots__/index.test.tsx.snap +65 -129
- package/src/GlobeIcon/config.tsx +3 -2
- package/src/GlobeIcon/index.test.tsx +5 -5
- package/src/Icon/__snapshots__/index.test.tsx.snap +157 -261
- package/src/Icon/index.test.tsx +11 -11
- package/src/Icon/index.tsx +2 -2
- package/src/LockIcon/__snapshots__/index.test.tsx.snap +113 -234
- package/src/LockIcon/config.tsx +3 -2
- package/src/LockIcon/index.test.tsx +8 -8
- package/src/LoginIcon/__snapshots__/index.test.tsx.snap +148 -255
- package/src/LoginIcon/config.tsx +4 -3
- package/src/LoginIcon/index.test.tsx +8 -8
- package/src/MinusIcon/__snapshots__/index.test.tsx.snap +134 -255
- package/src/MinusIcon/config.tsx +4 -3
- package/src/MinusIcon/index.test.tsx +8 -8
- package/src/MoreVertIcon/__snapshots__/index.test.tsx.snap +289 -408
- package/src/MoreVertIcon/config.tsx +5 -4
- package/src/MoreVertIcon/index.test.tsx +10 -10
- package/src/PdfFileIcon/__snapshots__/index.test.tsx.snap +274 -311
- package/src/PdfFileIcon/config.tsx +10 -9
- package/src/PdfFileIcon/index.test.tsx +8 -8
- package/src/PlusIcon/__snapshots__/index.test.tsx.snap +113 -234
- package/src/PlusIcon/config.tsx +3 -2
- package/src/PlusIcon/index.test.tsx +8 -8
- package/src/PrintIcon/__snapshots__/index.test.tsx.snap +169 -276
- package/src/PrintIcon/config.tsx +4 -3
- package/src/PrintIcon/index.test.tsx +8 -8
- package/src/ReplyIcon/__snapshots__/index.test.tsx.snap +113 -234
- package/src/ReplyIcon/config.tsx +3 -2
- package/src/ReplyIcon/index.test.tsx +8 -8
- package/src/RestoreIcon/__snapshots__/index.test.tsx.snap +197 -290
- package/src/RestoreIcon/config.tsx +5 -4
- package/src/RestoreIcon/index.test.tsx +8 -8
- package/src/SearchIcon/__snapshots__/index.test.tsx.snap +17 -30
- package/src/SearchIcon/config.tsx +3 -2
- package/src/SearchIcon/index.test.tsx +2 -2
- package/src/SvgIcon/__snapshots__/index.test.tsx.snap +271 -0
- package/src/SvgIcon/index.test.tsx +96 -0
- package/src/SvgIcon/index.tsx +72 -0
- package/src/UncheckIcon/__snapshots__/index.test.tsx.snap +145 -300
- package/src/UncheckIcon/config.tsx +3 -2
- package/src/UncheckIcon/index.test.tsx +10 -10
- package/src/lazy.js +2 -0
- package/src/registry.js +4 -0
- package/AccessibilityIcon/index.test/index.js +0 -49
- package/AccessibilityIcon/index.test/package.json +0 -6
- package/AccessibilityIcon/index.test.js.map +0 -7
- package/ArrowIcon/index.test/index.js +0 -22
- package/ArrowIcon/index.test/package.json +0 -6
- package/ArrowIcon/index.test.js.map +0 -7
- package/BurgerIcon/index.test/index.js +0 -33
- package/BurgerIcon/index.test/package.json +0 -6
- package/BurgerIcon/index.test.js.map +0 -7
- package/CancelIcon/index.test/index.js +0 -39
- package/CancelIcon/index.test/package.json +0 -6
- package/CancelIcon/index.test.js.map +0 -7
- package/CaretIcon/index.test/index.js +0 -22
- package/CaretIcon/index.test/package.json +0 -6
- package/CaretIcon/index.test.js.map +0 -7
- package/ChatIcon/index.test/index.js +0 -44
- package/ChatIcon/index.test.js.map +0 -7
- package/CheckIcon/index.test/index.js +0 -44
- package/CheckIcon/index.test/package.json +0 -6
- package/CheckIcon/index.test.js.map +0 -7
- package/ChevronIcon/index.test/index.js +0 -22
- package/ChevronIcon/index.test/package.json +0 -6
- package/ChevronIcon/index.test.js.map +0 -7
- package/CloseIcon/index.test/index.js +0 -7
- package/CloseIcon/index.test/package.json +0 -6
- package/CloseIcon/index.test.js.map +0 -7
- package/DownloadIcon/index.test/index.js +0 -39
- package/DownloadIcon/index.test/package.json +0 -6
- package/DownloadIcon/index.test.js.map +0 -7
- package/ExclamationIcon/index.test/index.js +0 -39
- package/ExclamationIcon/index.test/package.json +0 -6
- package/ExclamationIcon/index.test.js.map +0 -7
- package/GlobeIcon/index.test/index.js +0 -22
- package/GlobeIcon/index.test/package.json +0 -6
- package/GlobeIcon/index.test.js.map +0 -7
- package/Icon/index.test/index.js +0 -53
- package/Icon/index.test.js.map +0 -7
- package/LockIcon/index.test/index.js +0 -39
- package/LockIcon/index.test/package.json +0 -6
- package/LockIcon/index.test.js.map +0 -7
- package/LoginIcon/index.test/index.js +0 -39
- package/LoginIcon/index.test/package.json +0 -6
- package/LoginIcon/index.test.js.map +0 -7
- package/MinusIcon/index.test/index.js +0 -39
- package/MinusIcon/index.test/package.json +0 -6
- package/MinusIcon/index.test.js.map +0 -7
- package/MoreVertIcon/index.test/index.js +0 -49
- package/MoreVertIcon/index.test/package.json +0 -6
- package/MoreVertIcon/index.test.js.map +0 -7
- package/PdfFileIcon/index.test/index.js +0 -39
- package/PdfFileIcon/index.test/package.json +0 -6
- package/PdfFileIcon/index.test.js.map +0 -7
- package/PlusIcon/index.test/index.js +0 -39
- package/PlusIcon/index.test/package.json +0 -6
- package/PlusIcon/index.test.js.map +0 -7
- package/PrintIcon/index.test/index.js +0 -39
- package/PrintIcon/index.test/package.json +0 -6
- package/PrintIcon/index.test.js.map +0 -7
- package/ReplyIcon/index.test/index.js +0 -39
- package/ReplyIcon/index.test/package.json +0 -6
- package/ReplyIcon/index.test.js.map +0 -7
- package/RestoreIcon/index.test/index.js +0 -39
- package/RestoreIcon/index.test/package.json +0 -6
- package/RestoreIcon/index.test.js.map +0 -7
- package/SearchIcon/index.test/index.js +0 -7
- package/SearchIcon/index.test/package.json +0 -6
- package/SearchIcon/index.test.js.map +0 -7
- package/UncheckIcon/index.test/index.js +0 -49
- package/UncheckIcon/index.test/package.json +0 -6
- package/UncheckIcon/index.test.js.map +0 -7
- package/cjs/AccessibilityIcon/index.test/index.js +0 -67
- package/cjs/AccessibilityIcon/index.test.js.map +0 -7
- package/cjs/ArrowIcon/index.test/index.js +0 -40
- package/cjs/ArrowIcon/index.test.js.map +0 -7
- package/cjs/BurgerIcon/index.test/index.js +0 -51
- package/cjs/BurgerIcon/index.test.js.map +0 -7
- package/cjs/CancelIcon/index.test/index.js +0 -57
- package/cjs/CancelIcon/index.test.js.map +0 -7
- package/cjs/CaretIcon/index.test/index.js +0 -40
- package/cjs/CaretIcon/index.test.js.map +0 -7
- package/cjs/ChatIcon/index.test/index.js +0 -62
- package/cjs/ChatIcon/index.test.js.map +0 -7
- package/cjs/CheckIcon/index.test/index.js +0 -62
- package/cjs/CheckIcon/index.test.js.map +0 -7
- package/cjs/ChevronIcon/index.test/index.js +0 -40
- package/cjs/ChevronIcon/index.test.js.map +0 -7
- package/cjs/CloseIcon/index.test/index.js +0 -25
- package/cjs/CloseIcon/index.test.js.map +0 -7
- package/cjs/DownloadIcon/index.test/index.js +0 -57
- package/cjs/DownloadIcon/index.test.js.map +0 -7
- package/cjs/ExclamationIcon/index.test/index.js +0 -57
- package/cjs/ExclamationIcon/index.test.js.map +0 -7
- package/cjs/GlobeIcon/index.test/index.js +0 -40
- package/cjs/GlobeIcon/index.test.js.map +0 -7
- package/cjs/Icon/index.test/index.js +0 -71
- package/cjs/Icon/index.test.js.map +0 -7
- package/cjs/LockIcon/index.test/index.js +0 -57
- package/cjs/LockIcon/index.test.js.map +0 -7
- package/cjs/LoginIcon/index.test/index.js +0 -57
- package/cjs/LoginIcon/index.test.js.map +0 -7
- package/cjs/MinusIcon/index.test/index.js +0 -57
- package/cjs/MinusIcon/index.test.js.map +0 -7
- package/cjs/MoreVertIcon/index.test/index.js +0 -67
- package/cjs/MoreVertIcon/index.test.js.map +0 -7
- package/cjs/PdfFileIcon/index.test/index.js +0 -57
- package/cjs/PdfFileIcon/index.test.js.map +0 -7
- package/cjs/PlusIcon/index.test/index.js +0 -57
- package/cjs/PlusIcon/index.test.js.map +0 -7
- package/cjs/PrintIcon/index.test/index.js +0 -57
- package/cjs/PrintIcon/index.test.js.map +0 -7
- package/cjs/ReplyIcon/index.test/index.js +0 -57
- package/cjs/ReplyIcon/index.test.js.map +0 -7
- package/cjs/RestoreIcon/index.test/index.js +0 -57
- package/cjs/RestoreIcon/index.test.js.map +0 -7
- package/cjs/SearchIcon/index.test/index.js +0 -25
- package/cjs/SearchIcon/index.test.js.map +0 -7
- package/cjs/UncheckIcon/index.test/index.js +0 -67
- package/cjs/UncheckIcon/index.test.js.map +0 -7
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../../../src/DownloadIcon/index.test.tsx"],
|
|
4
|
-
"sourcesContent": ["import React from 'react';\nimport { mount } from 'enzyme';\n\nimport DownloadIcon from '@digigov/react-icons/DownloadIcon';\n\nit('renders the DownloadIcon with no props', () => {\n expect(mount(<DownloadIcon />)).toMatchSnapshot();\n});\nit('renders the DownloadIcon with prop size=m', () => {\n expect(mount(<DownloadIcon size=\"md\" />)).toMatchSnapshot();\n});\nit('renders the DownloadIcon with prop size=xl', () => {\n expect(mount(<DownloadIcon size=\"xl\" />)).toMatchSnapshot();\n});\nit('renders the DownloadIcon with prop color=white', () => {\n expect(mount(<DownloadIcon color=\"white\" />)).toMatchSnapshot();\n});\nit('renders the DownloadIcon with prop color=warning', () => {\n expect(mount(<DownloadIcon color=\"warning\" />)).toMatchSnapshot();\n});\nit('renders the DownloadIcon with prop color=warning and size=s', () => {\n expect(mount(<DownloadIcon color=\"warning\" size=\"sm\" />)).toMatchSnapshot();\n});\nit('renders the DownloadIcon with prop color=error and size= xl', () => {\n expect(mount(<DownloadIcon color=\"warning\" size=\"xl\" />)).toMatchSnapshot();\n});\n"],
|
|
5
|
-
"mappings": ";;;;;;;;;;;;;;;;;;AAAA,mBAAkB;AAClB,oBAAsB;AAEtB,0BAAyB;AAEzB,GAAG,0CAA0C,MAAM;AACjD,SAAO,yBAAM,mDAAC,6BAAD,QAAmB;AAAA;AAElC,GAAG,6CAA6C,MAAM;AACpD,SAAO,yBAAM,mDAAC,6BAAD;AAAA,IAAc,MAAK;AAAA,OAAU;AAAA;AAE5C,GAAG,8CAA8C,MAAM;AACrD,SAAO,yBAAM,mDAAC,6BAAD;AAAA,IAAc,MAAK;AAAA,OAAU;AAAA;AAE5C,GAAG,kDAAkD,MAAM;AACzD,SAAO,yBAAM,mDAAC,6BAAD;AAAA,IAAc,OAAM;AAAA,OAAa;AAAA;AAEhD,GAAG,oDAAoD,MAAM;AAC3D,SAAO,yBAAM,mDAAC,6BAAD;AAAA,IAAc,OAAM;AAAA,OAAe;AAAA;AAElD,GAAG,+DAA+D,MAAM;AACtE,SAAO,yBAAM,mDAAC,6BAAD;AAAA,IAAc,OAAM;AAAA,IAAU,MAAK;AAAA,OAAU;AAAA;AAE5D,GAAG,+DAA+D,MAAM;AACtE,SAAO,yBAAM,mDAAC,6BAAD;AAAA,IAAc,OAAM;AAAA,IAAU,MAAK;AAAA,OAAU;AAAA;",
|
|
6
|
-
"names": []
|
|
7
|
-
}
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
var __create = Object.create;
|
|
2
|
-
var __defProp = Object.defineProperty;
|
|
3
|
-
var __getProtoOf = Object.getPrototypeOf;
|
|
4
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
7
|
-
var __markAsModule = (target) => __defProp(target, "__esModule", {value: true});
|
|
8
|
-
var __reExport = (target, module2, desc) => {
|
|
9
|
-
if (module2 && typeof module2 === "object" || typeof module2 === "function") {
|
|
10
|
-
for (let key of __getOwnPropNames(module2))
|
|
11
|
-
if (!__hasOwnProp.call(target, key) && key !== "default")
|
|
12
|
-
__defProp(target, key, {get: () => module2[key], enumerable: !(desc = __getOwnPropDesc(module2, key)) || desc.enumerable});
|
|
13
|
-
}
|
|
14
|
-
return target;
|
|
15
|
-
};
|
|
16
|
-
var __toModule = (module2) => {
|
|
17
|
-
return __reExport(__markAsModule(__defProp(module2 != null ? __create(__getProtoOf(module2)) : {}, "default", module2 && module2.__esModule && "default" in module2 ? {get: () => module2.default, enumerable: true} : {value: module2, enumerable: true})), module2);
|
|
18
|
-
};
|
|
19
|
-
var import_react = __toModule(require("react"));
|
|
20
|
-
var import_enzyme = __toModule(require("enzyme"));
|
|
21
|
-
var import_ExclamationIcon = __toModule(require("@digigov/react-icons/ExclamationIcon"));
|
|
22
|
-
it("renders the ExclamationIcon with no props", () => {
|
|
23
|
-
expect((0, import_enzyme.mount)(/* @__PURE__ */ import_react.default.createElement(import_ExclamationIcon.default, null))).toMatchSnapshot();
|
|
24
|
-
});
|
|
25
|
-
it("renders the ExclamationIcon with prop size=md", () => {
|
|
26
|
-
expect((0, import_enzyme.mount)(/* @__PURE__ */ import_react.default.createElement(import_ExclamationIcon.default, {
|
|
27
|
-
size: "md"
|
|
28
|
-
}))).toMatchSnapshot();
|
|
29
|
-
});
|
|
30
|
-
it("renders the ExclamationIcon with prop size=xl", () => {
|
|
31
|
-
expect((0, import_enzyme.mount)(/* @__PURE__ */ import_react.default.createElement(import_ExclamationIcon.default, {
|
|
32
|
-
size: "xl"
|
|
33
|
-
}))).toMatchSnapshot();
|
|
34
|
-
});
|
|
35
|
-
it("renders the ExclamationIcon with prop color=white", () => {
|
|
36
|
-
expect((0, import_enzyme.mount)(/* @__PURE__ */ import_react.default.createElement(import_ExclamationIcon.default, {
|
|
37
|
-
color: "white"
|
|
38
|
-
}))).toMatchSnapshot();
|
|
39
|
-
});
|
|
40
|
-
it("renders the ExclamationIcon with prop color=warning", () => {
|
|
41
|
-
expect((0, import_enzyme.mount)(/* @__PURE__ */ import_react.default.createElement(import_ExclamationIcon.default, {
|
|
42
|
-
color: "warning"
|
|
43
|
-
}))).toMatchSnapshot();
|
|
44
|
-
});
|
|
45
|
-
it("renders the ExclamationIcon with prop color=error and size=sm", () => {
|
|
46
|
-
expect((0, import_enzyme.mount)(/* @__PURE__ */ import_react.default.createElement(import_ExclamationIcon.default, {
|
|
47
|
-
color: "error",
|
|
48
|
-
size: "sm"
|
|
49
|
-
}))).toMatchSnapshot();
|
|
50
|
-
});
|
|
51
|
-
it("renders the ExclamationIcon with prop color=info and size= xl", () => {
|
|
52
|
-
expect((0, import_enzyme.mount)(/* @__PURE__ */ import_react.default.createElement(import_ExclamationIcon.default, {
|
|
53
|
-
color: "info",
|
|
54
|
-
size: "xl"
|
|
55
|
-
}))).toMatchSnapshot();
|
|
56
|
-
});
|
|
57
|
-
//# sourceMappingURL=index.test.js.map
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../../../src/ExclamationIcon/index.test.tsx"],
|
|
4
|
-
"sourcesContent": ["import React from 'react';\nimport { mount } from 'enzyme';\n\nimport ExclamationIcon from '@digigov/react-icons/ExclamationIcon';\n\nit('renders the ExclamationIcon with no props', () => {\n expect(mount(<ExclamationIcon />)).toMatchSnapshot();\n});\nit('renders the ExclamationIcon with prop size=md', () => {\n expect(mount(<ExclamationIcon size=\"md\" />)).toMatchSnapshot();\n});\nit('renders the ExclamationIcon with prop size=xl', () => {\n expect(mount(<ExclamationIcon size=\"xl\" />)).toMatchSnapshot();\n});\nit('renders the ExclamationIcon with prop color=white', () => {\n expect(mount(<ExclamationIcon color=\"white\" />)).toMatchSnapshot();\n});\nit('renders the ExclamationIcon with prop color=warning', () => {\n expect(mount(<ExclamationIcon color=\"warning\" />)).toMatchSnapshot();\n});\nit('renders the ExclamationIcon with prop color=error and size=sm', () => {\n expect(mount(<ExclamationIcon color=\"error\" size=\"sm\" />)).toMatchSnapshot();\n});\nit('renders the ExclamationIcon with prop color=info and size= xl', () => {\n expect(mount(<ExclamationIcon color=\"info\" size=\"xl\" />)).toMatchSnapshot();\n});\n"],
|
|
5
|
-
"mappings": ";;;;;;;;;;;;;;;;;;AAAA,mBAAkB;AAClB,oBAAsB;AAEtB,6BAA4B;AAE5B,GAAG,6CAA6C,MAAM;AACpD,SAAO,yBAAM,mDAAC,gCAAD,QAAsB;AAAA;AAErC,GAAG,iDAAiD,MAAM;AACxD,SAAO,yBAAM,mDAAC,gCAAD;AAAA,IAAiB,MAAK;AAAA,OAAU;AAAA;AAE/C,GAAG,iDAAiD,MAAM;AACxD,SAAO,yBAAM,mDAAC,gCAAD;AAAA,IAAiB,MAAK;AAAA,OAAU;AAAA;AAE/C,GAAG,qDAAqD,MAAM;AAC5D,SAAO,yBAAM,mDAAC,gCAAD;AAAA,IAAiB,OAAM;AAAA,OAAa;AAAA;AAEnD,GAAG,uDAAuD,MAAM;AAC9D,SAAO,yBAAM,mDAAC,gCAAD;AAAA,IAAiB,OAAM;AAAA,OAAe;AAAA;AAErD,GAAG,iEAAiE,MAAM;AACxE,SAAO,yBAAM,mDAAC,gCAAD;AAAA,IAAiB,OAAM;AAAA,IAAQ,MAAK;AAAA,OAAU;AAAA;AAE7D,GAAG,iEAAiE,MAAM;AACxE,SAAO,yBAAM,mDAAC,gCAAD;AAAA,IAAiB,OAAM;AAAA,IAAO,MAAK;AAAA,OAAU;AAAA;",
|
|
6
|
-
"names": []
|
|
7
|
-
}
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
var __create = Object.create;
|
|
2
|
-
var __defProp = Object.defineProperty;
|
|
3
|
-
var __getProtoOf = Object.getPrototypeOf;
|
|
4
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
7
|
-
var __markAsModule = (target) => __defProp(target, "__esModule", {value: true});
|
|
8
|
-
var __reExport = (target, module2, desc) => {
|
|
9
|
-
if (module2 && typeof module2 === "object" || typeof module2 === "function") {
|
|
10
|
-
for (let key of __getOwnPropNames(module2))
|
|
11
|
-
if (!__hasOwnProp.call(target, key) && key !== "default")
|
|
12
|
-
__defProp(target, key, {get: () => module2[key], enumerable: !(desc = __getOwnPropDesc(module2, key)) || desc.enumerable});
|
|
13
|
-
}
|
|
14
|
-
return target;
|
|
15
|
-
};
|
|
16
|
-
var __toModule = (module2) => {
|
|
17
|
-
return __reExport(__markAsModule(__defProp(module2 != null ? __create(__getProtoOf(module2)) : {}, "default", module2 && module2.__esModule && "default" in module2 ? {get: () => module2.default, enumerable: true} : {value: module2, enumerable: true})), module2);
|
|
18
|
-
};
|
|
19
|
-
var import_react = __toModule(require("react"));
|
|
20
|
-
var import_enzyme = __toModule(require("enzyme"));
|
|
21
|
-
var import_GlobeIcon = __toModule(require("@digigov/react-icons/GlobeIcon"));
|
|
22
|
-
it("renders the GlobeIcon with no props", () => {
|
|
23
|
-
expect((0, import_enzyme.mount)(/* @__PURE__ */ import_react.default.createElement(import_GlobeIcon.default, null))).toMatchSnapshot();
|
|
24
|
-
});
|
|
25
|
-
it("renders the GlobeIcon with prop color=base-content", () => {
|
|
26
|
-
expect((0, import_enzyme.mount)(/* @__PURE__ */ import_react.default.createElement(import_GlobeIcon.default, {
|
|
27
|
-
color: "base-content"
|
|
28
|
-
}))).toMatchSnapshot();
|
|
29
|
-
});
|
|
30
|
-
it('renders the GlobeIcon prop color= "white"', () => {
|
|
31
|
-
expect((0, import_enzyme.mount)(/* @__PURE__ */ import_react.default.createElement(import_GlobeIcon.default, {
|
|
32
|
-
color: "white"
|
|
33
|
-
}))).toMatchSnapshot();
|
|
34
|
-
});
|
|
35
|
-
it('renders the GlobeIcon prop color= "error"', () => {
|
|
36
|
-
expect((0, import_enzyme.mount)(/* @__PURE__ */ import_react.default.createElement(import_GlobeIcon.default, {
|
|
37
|
-
color: "error"
|
|
38
|
-
}))).toMatchSnapshot();
|
|
39
|
-
});
|
|
40
|
-
//# sourceMappingURL=index.test.js.map
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../../../src/GlobeIcon/index.test.tsx"],
|
|
4
|
-
"sourcesContent": ["import React from 'react';\nimport { mount } from 'enzyme';\n\nimport GlobeIcon from '@digigov/react-icons/GlobeIcon';\n\nit('renders the GlobeIcon with no props', () => {\n expect(mount(<GlobeIcon />)).toMatchSnapshot();\n});\n\nit('renders the GlobeIcon with prop color=base-content', () => {\n expect(mount(<GlobeIcon color=\"base-content\" />)).toMatchSnapshot();\n});\n\nit('renders the GlobeIcon prop color= \"white\"', () => {\n expect(mount(<GlobeIcon color=\"white\" />)).toMatchSnapshot();\n});\nit('renders the GlobeIcon prop color= \"error\"', () => {\n expect(mount(<GlobeIcon color=\"error\" />)).toMatchSnapshot();\n});\n"],
|
|
5
|
-
"mappings": ";;;;;;;;;;;;;;;;;;AAAA,mBAAkB;AAClB,oBAAsB;AAEtB,uBAAsB;AAEtB,GAAG,uCAAuC,MAAM;AAC9C,SAAO,yBAAM,mDAAC,0BAAD,QAAgB;AAAA;AAG/B,GAAG,sDAAsD,MAAM;AAC7D,SAAO,yBAAM,mDAAC,0BAAD;AAAA,IAAW,OAAM;AAAA,OAAoB;AAAA;AAGpD,GAAG,6CAA6C,MAAM;AACpD,SAAO,yBAAM,mDAAC,0BAAD;AAAA,IAAW,OAAM;AAAA,OAAa;AAAA;AAE7C,GAAG,6CAA6C,MAAM;AACpD,SAAO,yBAAM,mDAAC,0BAAD;AAAA,IAAW,OAAM;AAAA,OAAa;AAAA;",
|
|
6
|
-
"names": []
|
|
7
|
-
}
|
|
@@ -1,71 +0,0 @@
|
|
|
1
|
-
var __create = Object.create;
|
|
2
|
-
var __defProp = Object.defineProperty;
|
|
3
|
-
var __getProtoOf = Object.getPrototypeOf;
|
|
4
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
7
|
-
var __markAsModule = (target) => __defProp(target, "__esModule", {value: true});
|
|
8
|
-
var __reExport = (target, module2, desc) => {
|
|
9
|
-
if (module2 && typeof module2 === "object" || typeof module2 === "function") {
|
|
10
|
-
for (let key of __getOwnPropNames(module2))
|
|
11
|
-
if (!__hasOwnProp.call(target, key) && key !== "default")
|
|
12
|
-
__defProp(target, key, {get: () => module2[key], enumerable: !(desc = __getOwnPropDesc(module2, key)) || desc.enumerable});
|
|
13
|
-
}
|
|
14
|
-
return target;
|
|
15
|
-
};
|
|
16
|
-
var __toModule = (module2) => {
|
|
17
|
-
return __reExport(__markAsModule(__defProp(module2 != null ? __create(__getProtoOf(module2)) : {}, "default", module2 && module2.__esModule && "default" in module2 ? {get: () => module2.default, enumerable: true} : {value: module2, enumerable: true})), module2);
|
|
18
|
-
};
|
|
19
|
-
var import_react = __toModule(require("react"));
|
|
20
|
-
var import_enzyme = __toModule(require("enzyme"));
|
|
21
|
-
var import_Icon = __toModule(require("@digigov/react-icons/Icon"));
|
|
22
|
-
it("renders the Icon with no props", () => {
|
|
23
|
-
expect((0, import_enzyme.mount)(/* @__PURE__ */ import_react.default.createElement(import_Icon.default, null))).toMatchSnapshot();
|
|
24
|
-
});
|
|
25
|
-
it("renders the Icon with prop icon=arrow and direction=up", () => {
|
|
26
|
-
expect((0, import_enzyme.mount)(/* @__PURE__ */ import_react.default.createElement(import_Icon.default, {
|
|
27
|
-
direction: "up"
|
|
28
|
-
}))).toMatchSnapshot();
|
|
29
|
-
});
|
|
30
|
-
it("renders the Icon with prop prop icon=burger", () => {
|
|
31
|
-
expect((0, import_enzyme.mount)(/* @__PURE__ */ import_react.default.createElement(import_Icon.default, {
|
|
32
|
-
icon: "burger"
|
|
33
|
-
}))).toMatchSnapshot();
|
|
34
|
-
});
|
|
35
|
-
it('renders the Icon prop icon= "caret"', () => {
|
|
36
|
-
expect((0, import_enzyme.mount)(/* @__PURE__ */ import_react.default.createElement(import_Icon.default, {
|
|
37
|
-
icon: "caret"
|
|
38
|
-
}))).toMatchSnapshot();
|
|
39
|
-
});
|
|
40
|
-
it('renders the Icon prop icon= "caret" and direction=left', () => {
|
|
41
|
-
expect((0, import_enzyme.mount)(/* @__PURE__ */ import_react.default.createElement(import_Icon.default, {
|
|
42
|
-
icon: "caret",
|
|
43
|
-
direction: "left"
|
|
44
|
-
}))).toMatchSnapshot();
|
|
45
|
-
});
|
|
46
|
-
it('renders the Icon prop icon= "check"', () => {
|
|
47
|
-
expect((0, import_enzyme.mount)(/* @__PURE__ */ import_react.default.createElement(import_Icon.default, {
|
|
48
|
-
icon: "check"
|
|
49
|
-
}))).toMatchSnapshot();
|
|
50
|
-
});
|
|
51
|
-
it('renders the Icon prop icon= "close"', () => {
|
|
52
|
-
expect((0, import_enzyme.mount)(/* @__PURE__ */ import_react.default.createElement(import_Icon.default, {
|
|
53
|
-
icon: "close"
|
|
54
|
-
}))).toMatchSnapshot();
|
|
55
|
-
});
|
|
56
|
-
it("renders the Icon with prop prop icon=globe", () => {
|
|
57
|
-
expect((0, import_enzyme.mount)(/* @__PURE__ */ import_react.default.createElement(import_Icon.default, {
|
|
58
|
-
icon: "globe"
|
|
59
|
-
}))).toMatchSnapshot();
|
|
60
|
-
});
|
|
61
|
-
it('renders the Icon props icon= "moreVert"', () => {
|
|
62
|
-
expect((0, import_enzyme.mount)(/* @__PURE__ */ import_react.default.createElement(import_Icon.default, {
|
|
63
|
-
icon: "moreVert"
|
|
64
|
-
}))).toMatchSnapshot();
|
|
65
|
-
});
|
|
66
|
-
it('renders the Icon prop icon= "uncheck"', () => {
|
|
67
|
-
expect((0, import_enzyme.mount)(/* @__PURE__ */ import_react.default.createElement(import_Icon.default, {
|
|
68
|
-
icon: "uncheck"
|
|
69
|
-
}))).toMatchSnapshot();
|
|
70
|
-
});
|
|
71
|
-
//# sourceMappingURL=index.test.js.map
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../../../src/Icon/index.test.tsx"],
|
|
4
|
-
"sourcesContent": ["import React from 'react';\nimport { mount } from 'enzyme';\n\nimport Icon from '@digigov/react-icons/Icon';\n\nit('renders the Icon with no props', () => {\n expect(mount(<Icon />)).toMatchSnapshot();\n});\n\nit('renders the Icon with prop icon=arrow and direction=up', () => {\n expect(mount(<Icon direction=\"up\" />)).toMatchSnapshot();\n});\nit('renders the Icon with prop prop icon=burger', () => {\n expect(mount(<Icon icon=\"burger\" />)).toMatchSnapshot();\n});\nit('renders the Icon prop icon= \"caret\"', () => {\n expect(mount(<Icon icon=\"caret\" />)).toMatchSnapshot();\n});\nit('renders the Icon prop icon= \"caret\" and direction=left', () => {\n expect(mount(<Icon icon=\"caret\" direction=\"left\" />)).toMatchSnapshot();\n});\nit('renders the Icon prop icon= \"check\"', () => {\n expect(mount(<Icon icon=\"check\" />)).toMatchSnapshot();\n});\nit('renders the Icon prop icon= \"close\"', () => {\n expect(mount(<Icon icon=\"close\" />)).toMatchSnapshot();\n});\nit('renders the Icon with prop prop icon=globe', () => {\n expect(mount(<Icon icon=\"globe\" />)).toMatchSnapshot();\n});\nit('renders the Icon props icon= \"moreVert\"', () => {\n expect(mount(<Icon icon=\"moreVert\" />)).toMatchSnapshot();\n});\nit('renders the Icon prop icon= \"uncheck\"', () => {\n expect(mount(<Icon icon=\"uncheck\" />)).toMatchSnapshot();\n});\n"],
|
|
5
|
-
"mappings": ";;;;;;;;;;;;;;;;;;AAAA,mBAAkB;AAClB,oBAAsB;AAEtB,kBAAiB;AAEjB,GAAG,kCAAkC,MAAM;AACzC,SAAO,yBAAM,mDAAC,qBAAD,QAAW;AAAA;AAG1B,GAAG,0DAA0D,MAAM;AACjE,SAAO,yBAAM,mDAAC,qBAAD;AAAA,IAAM,WAAU;AAAA,OAAU;AAAA;AAEzC,GAAG,+CAA+C,MAAM;AACtD,SAAO,yBAAM,mDAAC,qBAAD;AAAA,IAAM,MAAK;AAAA,OAAc;AAAA;AAExC,GAAG,uCAAuC,MAAM;AAC9C,SAAO,yBAAM,mDAAC,qBAAD;AAAA,IAAM,MAAK;AAAA,OAAa;AAAA;AAEvC,GAAG,0DAA0D,MAAM;AACjE,SAAO,yBAAM,mDAAC,qBAAD;AAAA,IAAM,MAAK;AAAA,IAAQ,WAAU;AAAA,OAAY;AAAA;AAExD,GAAG,uCAAuC,MAAM;AAC9C,SAAO,yBAAM,mDAAC,qBAAD;AAAA,IAAM,MAAK;AAAA,OAAa;AAAA;AAEvC,GAAG,uCAAuC,MAAM;AAC9C,SAAO,yBAAM,mDAAC,qBAAD;AAAA,IAAM,MAAK;AAAA,OAAa;AAAA;AAEvC,GAAG,8CAA8C,MAAM;AACrD,SAAO,yBAAM,mDAAC,qBAAD;AAAA,IAAM,MAAK;AAAA,OAAa;AAAA;AAEvC,GAAG,2CAA2C,MAAM;AAClD,SAAO,yBAAM,mDAAC,qBAAD;AAAA,IAAM,MAAK;AAAA,OAAgB;AAAA;AAE1C,GAAG,yCAAyC,MAAM;AAChD,SAAO,yBAAM,mDAAC,qBAAD;AAAA,IAAM,MAAK;AAAA,OAAe;AAAA;",
|
|
6
|
-
"names": []
|
|
7
|
-
}
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
var __create = Object.create;
|
|
2
|
-
var __defProp = Object.defineProperty;
|
|
3
|
-
var __getProtoOf = Object.getPrototypeOf;
|
|
4
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
7
|
-
var __markAsModule = (target) => __defProp(target, "__esModule", {value: true});
|
|
8
|
-
var __reExport = (target, module2, desc) => {
|
|
9
|
-
if (module2 && typeof module2 === "object" || typeof module2 === "function") {
|
|
10
|
-
for (let key of __getOwnPropNames(module2))
|
|
11
|
-
if (!__hasOwnProp.call(target, key) && key !== "default")
|
|
12
|
-
__defProp(target, key, {get: () => module2[key], enumerable: !(desc = __getOwnPropDesc(module2, key)) || desc.enumerable});
|
|
13
|
-
}
|
|
14
|
-
return target;
|
|
15
|
-
};
|
|
16
|
-
var __toModule = (module2) => {
|
|
17
|
-
return __reExport(__markAsModule(__defProp(module2 != null ? __create(__getProtoOf(module2)) : {}, "default", module2 && module2.__esModule && "default" in module2 ? {get: () => module2.default, enumerable: true} : {value: module2, enumerable: true})), module2);
|
|
18
|
-
};
|
|
19
|
-
var import_react = __toModule(require("react"));
|
|
20
|
-
var import_enzyme = __toModule(require("enzyme"));
|
|
21
|
-
var import_LockIcon = __toModule(require("@digigov/react-icons/LockIcon"));
|
|
22
|
-
it("renders the LockIcon with no props", () => {
|
|
23
|
-
expect((0, import_enzyme.mount)(/* @__PURE__ */ import_react.default.createElement(import_LockIcon.default, null))).toMatchSnapshot();
|
|
24
|
-
});
|
|
25
|
-
it("renders the LockIcon with prop size=md", () => {
|
|
26
|
-
expect((0, import_enzyme.mount)(/* @__PURE__ */ import_react.default.createElement(import_LockIcon.default, {
|
|
27
|
-
size: "md"
|
|
28
|
-
}))).toMatchSnapshot();
|
|
29
|
-
});
|
|
30
|
-
it("renders the LockIcon with prop size=xl", () => {
|
|
31
|
-
expect((0, import_enzyme.mount)(/* @__PURE__ */ import_react.default.createElement(import_LockIcon.default, {
|
|
32
|
-
size: "xl"
|
|
33
|
-
}))).toMatchSnapshot();
|
|
34
|
-
});
|
|
35
|
-
it("renders the LockIcon with prop color=white", () => {
|
|
36
|
-
expect((0, import_enzyme.mount)(/* @__PURE__ */ import_react.default.createElement(import_LockIcon.default, {
|
|
37
|
-
color: "white"
|
|
38
|
-
}))).toMatchSnapshot();
|
|
39
|
-
});
|
|
40
|
-
it("renders the LockIcon with prop color=warning", () => {
|
|
41
|
-
expect((0, import_enzyme.mount)(/* @__PURE__ */ import_react.default.createElement(import_LockIcon.default, {
|
|
42
|
-
color: "warning"
|
|
43
|
-
}))).toMatchSnapshot();
|
|
44
|
-
});
|
|
45
|
-
it("renders the LockIcon with prop color=warning and size=sm", () => {
|
|
46
|
-
expect((0, import_enzyme.mount)(/* @__PURE__ */ import_react.default.createElement(import_LockIcon.default, {
|
|
47
|
-
color: "warning",
|
|
48
|
-
size: "sm"
|
|
49
|
-
}))).toMatchSnapshot();
|
|
50
|
-
});
|
|
51
|
-
it("renders the LockIcon with prop color=error and size= xl", () => {
|
|
52
|
-
expect((0, import_enzyme.mount)(/* @__PURE__ */ import_react.default.createElement(import_LockIcon.default, {
|
|
53
|
-
color: "warning",
|
|
54
|
-
size: "xl"
|
|
55
|
-
}))).toMatchSnapshot();
|
|
56
|
-
});
|
|
57
|
-
//# sourceMappingURL=index.test.js.map
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../../../src/LockIcon/index.test.tsx"],
|
|
4
|
-
"sourcesContent": ["import React from 'react';\nimport { mount } from 'enzyme';\n\nimport LockIcon from '@digigov/react-icons/LockIcon';\n\nit('renders the LockIcon with no props', () => {\n expect(mount(<LockIcon />)).toMatchSnapshot();\n});\nit('renders the LockIcon with prop size=md', () => {\n expect(mount(<LockIcon size=\"md\" />)).toMatchSnapshot();\n});\nit('renders the LockIcon with prop size=xl', () => {\n expect(mount(<LockIcon size=\"xl\" />)).toMatchSnapshot();\n});\nit('renders the LockIcon with prop color=white', () => {\n expect(mount(<LockIcon color=\"white\" />)).toMatchSnapshot();\n});\nit('renders the LockIcon with prop color=warning', () => {\n expect(mount(<LockIcon color=\"warning\" />)).toMatchSnapshot();\n});\nit('renders the LockIcon with prop color=warning and size=sm', () => {\n expect(mount(<LockIcon color=\"warning\" size=\"sm\" />)).toMatchSnapshot();\n});\nit('renders the LockIcon with prop color=error and size= xl', () => {\n expect(mount(<LockIcon color=\"warning\" size=\"xl\" />)).toMatchSnapshot();\n});\n"],
|
|
5
|
-
"mappings": ";;;;;;;;;;;;;;;;;;AAAA,mBAAkB;AAClB,oBAAsB;AAEtB,sBAAqB;AAErB,GAAG,sCAAsC,MAAM;AAC7C,SAAO,yBAAM,mDAAC,yBAAD,QAAe;AAAA;AAE9B,GAAG,0CAA0C,MAAM;AACjD,SAAO,yBAAM,mDAAC,yBAAD;AAAA,IAAU,MAAK;AAAA,OAAU;AAAA;AAExC,GAAG,0CAA0C,MAAM;AACjD,SAAO,yBAAM,mDAAC,yBAAD;AAAA,IAAU,MAAK;AAAA,OAAU;AAAA;AAExC,GAAG,8CAA8C,MAAM;AACrD,SAAO,yBAAM,mDAAC,yBAAD;AAAA,IAAU,OAAM;AAAA,OAAa;AAAA;AAE5C,GAAG,gDAAgD,MAAM;AACvD,SAAO,yBAAM,mDAAC,yBAAD;AAAA,IAAU,OAAM;AAAA,OAAe;AAAA;AAE9C,GAAG,4DAA4D,MAAM;AACnE,SAAO,yBAAM,mDAAC,yBAAD;AAAA,IAAU,OAAM;AAAA,IAAU,MAAK;AAAA,OAAU;AAAA;AAExD,GAAG,2DAA2D,MAAM;AAClE,SAAO,yBAAM,mDAAC,yBAAD;AAAA,IAAU,OAAM;AAAA,IAAU,MAAK;AAAA,OAAU;AAAA;",
|
|
6
|
-
"names": []
|
|
7
|
-
}
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
var __create = Object.create;
|
|
2
|
-
var __defProp = Object.defineProperty;
|
|
3
|
-
var __getProtoOf = Object.getPrototypeOf;
|
|
4
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
7
|
-
var __markAsModule = (target) => __defProp(target, "__esModule", {value: true});
|
|
8
|
-
var __reExport = (target, module2, desc) => {
|
|
9
|
-
if (module2 && typeof module2 === "object" || typeof module2 === "function") {
|
|
10
|
-
for (let key of __getOwnPropNames(module2))
|
|
11
|
-
if (!__hasOwnProp.call(target, key) && key !== "default")
|
|
12
|
-
__defProp(target, key, {get: () => module2[key], enumerable: !(desc = __getOwnPropDesc(module2, key)) || desc.enumerable});
|
|
13
|
-
}
|
|
14
|
-
return target;
|
|
15
|
-
};
|
|
16
|
-
var __toModule = (module2) => {
|
|
17
|
-
return __reExport(__markAsModule(__defProp(module2 != null ? __create(__getProtoOf(module2)) : {}, "default", module2 && module2.__esModule && "default" in module2 ? {get: () => module2.default, enumerable: true} : {value: module2, enumerable: true})), module2);
|
|
18
|
-
};
|
|
19
|
-
var import_react = __toModule(require("react"));
|
|
20
|
-
var import_enzyme = __toModule(require("enzyme"));
|
|
21
|
-
var import_LoginIcon = __toModule(require("@digigov/react-icons/LoginIcon"));
|
|
22
|
-
it("renders the LoginIcon with no props", () => {
|
|
23
|
-
expect((0, import_enzyme.mount)(/* @__PURE__ */ import_react.default.createElement(import_LoginIcon.default, null))).toMatchSnapshot();
|
|
24
|
-
});
|
|
25
|
-
it("renders the LoginIcon with prop size=md", () => {
|
|
26
|
-
expect((0, import_enzyme.mount)(/* @__PURE__ */ import_react.default.createElement(import_LoginIcon.default, {
|
|
27
|
-
size: "md"
|
|
28
|
-
}))).toMatchSnapshot();
|
|
29
|
-
});
|
|
30
|
-
it("renders the LoginIcon with prop size=xl", () => {
|
|
31
|
-
expect((0, import_enzyme.mount)(/* @__PURE__ */ import_react.default.createElement(import_LoginIcon.default, {
|
|
32
|
-
size: "xl"
|
|
33
|
-
}))).toMatchSnapshot();
|
|
34
|
-
});
|
|
35
|
-
it("renders the LoginIcon with prop color=white", () => {
|
|
36
|
-
expect((0, import_enzyme.mount)(/* @__PURE__ */ import_react.default.createElement(import_LoginIcon.default, {
|
|
37
|
-
color: "white"
|
|
38
|
-
}))).toMatchSnapshot();
|
|
39
|
-
});
|
|
40
|
-
it("renders the LoginIcon with prop color=warning", () => {
|
|
41
|
-
expect((0, import_enzyme.mount)(/* @__PURE__ */ import_react.default.createElement(import_LoginIcon.default, {
|
|
42
|
-
color: "warning"
|
|
43
|
-
}))).toMatchSnapshot();
|
|
44
|
-
});
|
|
45
|
-
it("renders the LoginIcon with prop color=warning and size=s", () => {
|
|
46
|
-
expect((0, import_enzyme.mount)(/* @__PURE__ */ import_react.default.createElement(import_LoginIcon.default, {
|
|
47
|
-
color: "warning",
|
|
48
|
-
size: "sm"
|
|
49
|
-
}))).toMatchSnapshot();
|
|
50
|
-
});
|
|
51
|
-
it("renders the LoginIcon with prop color=error and size= xl", () => {
|
|
52
|
-
expect((0, import_enzyme.mount)(/* @__PURE__ */ import_react.default.createElement(import_LoginIcon.default, {
|
|
53
|
-
color: "warning",
|
|
54
|
-
size: "xl"
|
|
55
|
-
}))).toMatchSnapshot();
|
|
56
|
-
});
|
|
57
|
-
//# sourceMappingURL=index.test.js.map
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../../../src/LoginIcon/index.test.tsx"],
|
|
4
|
-
"sourcesContent": ["import React from 'react';\nimport { mount } from 'enzyme';\n\nimport LoginIcon from '@digigov/react-icons/LoginIcon';\n\nit('renders the LoginIcon with no props', () => {\n expect(mount(<LoginIcon />)).toMatchSnapshot();\n});\nit('renders the LoginIcon with prop size=md', () => {\n expect(mount(<LoginIcon size=\"md\" />)).toMatchSnapshot();\n});\nit('renders the LoginIcon with prop size=xl', () => {\n expect(mount(<LoginIcon size=\"xl\" />)).toMatchSnapshot();\n});\nit('renders the LoginIcon with prop color=white', () => {\n expect(mount(<LoginIcon color=\"white\" />)).toMatchSnapshot();\n});\nit('renders the LoginIcon with prop color=warning', () => {\n expect(mount(<LoginIcon color=\"warning\" />)).toMatchSnapshot();\n});\nit('renders the LoginIcon with prop color=warning and size=s', () => {\n expect(mount(<LoginIcon color=\"warning\" size=\"sm\" />)).toMatchSnapshot();\n});\nit('renders the LoginIcon with prop color=error and size= xl', () => {\n expect(mount(<LoginIcon color=\"warning\" size=\"xl\" />)).toMatchSnapshot();\n});\n"],
|
|
5
|
-
"mappings": ";;;;;;;;;;;;;;;;;;AAAA,mBAAkB;AAClB,oBAAsB;AAEtB,uBAAsB;AAEtB,GAAG,uCAAuC,MAAM;AAC9C,SAAO,yBAAM,mDAAC,0BAAD,QAAgB;AAAA;AAE/B,GAAG,2CAA2C,MAAM;AAClD,SAAO,yBAAM,mDAAC,0BAAD;AAAA,IAAW,MAAK;AAAA,OAAU;AAAA;AAEzC,GAAG,2CAA2C,MAAM;AAClD,SAAO,yBAAM,mDAAC,0BAAD;AAAA,IAAW,MAAK;AAAA,OAAU;AAAA;AAEzC,GAAG,+CAA+C,MAAM;AACtD,SAAO,yBAAM,mDAAC,0BAAD;AAAA,IAAW,OAAM;AAAA,OAAa;AAAA;AAE7C,GAAG,iDAAiD,MAAM;AACxD,SAAO,yBAAM,mDAAC,0BAAD;AAAA,IAAW,OAAM;AAAA,OAAe;AAAA;AAE/C,GAAG,4DAA4D,MAAM;AACnE,SAAO,yBAAM,mDAAC,0BAAD;AAAA,IAAW,OAAM;AAAA,IAAU,MAAK;AAAA,OAAU;AAAA;AAEzD,GAAG,4DAA4D,MAAM;AACnE,SAAO,yBAAM,mDAAC,0BAAD;AAAA,IAAW,OAAM;AAAA,IAAU,MAAK;AAAA,OAAU;AAAA;",
|
|
6
|
-
"names": []
|
|
7
|
-
}
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
var __create = Object.create;
|
|
2
|
-
var __defProp = Object.defineProperty;
|
|
3
|
-
var __getProtoOf = Object.getPrototypeOf;
|
|
4
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
7
|
-
var __markAsModule = (target) => __defProp(target, "__esModule", {value: true});
|
|
8
|
-
var __reExport = (target, module2, desc) => {
|
|
9
|
-
if (module2 && typeof module2 === "object" || typeof module2 === "function") {
|
|
10
|
-
for (let key of __getOwnPropNames(module2))
|
|
11
|
-
if (!__hasOwnProp.call(target, key) && key !== "default")
|
|
12
|
-
__defProp(target, key, {get: () => module2[key], enumerable: !(desc = __getOwnPropDesc(module2, key)) || desc.enumerable});
|
|
13
|
-
}
|
|
14
|
-
return target;
|
|
15
|
-
};
|
|
16
|
-
var __toModule = (module2) => {
|
|
17
|
-
return __reExport(__markAsModule(__defProp(module2 != null ? __create(__getProtoOf(module2)) : {}, "default", module2 && module2.__esModule && "default" in module2 ? {get: () => module2.default, enumerable: true} : {value: module2, enumerable: true})), module2);
|
|
18
|
-
};
|
|
19
|
-
var import_react = __toModule(require("react"));
|
|
20
|
-
var import_enzyme = __toModule(require("enzyme"));
|
|
21
|
-
var import_MinusIcon = __toModule(require("@digigov/react-icons/MinusIcon"));
|
|
22
|
-
it("renders the MinusIcon with no props", () => {
|
|
23
|
-
expect((0, import_enzyme.mount)(/* @__PURE__ */ import_react.default.createElement(import_MinusIcon.default, null))).toMatchSnapshot();
|
|
24
|
-
});
|
|
25
|
-
it("renders the MinusIcon with prop size=m", () => {
|
|
26
|
-
expect((0, import_enzyme.mount)(/* @__PURE__ */ import_react.default.createElement(import_MinusIcon.default, {
|
|
27
|
-
size: "md"
|
|
28
|
-
}))).toMatchSnapshot();
|
|
29
|
-
});
|
|
30
|
-
it("renders the MinusIcon with prop size=xl", () => {
|
|
31
|
-
expect((0, import_enzyme.mount)(/* @__PURE__ */ import_react.default.createElement(import_MinusIcon.default, {
|
|
32
|
-
size: "xl"
|
|
33
|
-
}))).toMatchSnapshot();
|
|
34
|
-
});
|
|
35
|
-
it("renders the MinusIcon with prop color=white", () => {
|
|
36
|
-
expect((0, import_enzyme.mount)(/* @__PURE__ */ import_react.default.createElement(import_MinusIcon.default, {
|
|
37
|
-
color: "white"
|
|
38
|
-
}))).toMatchSnapshot();
|
|
39
|
-
});
|
|
40
|
-
it("renders the MinusIcon with prop color=warning", () => {
|
|
41
|
-
expect((0, import_enzyme.mount)(/* @__PURE__ */ import_react.default.createElement(import_MinusIcon.default, {
|
|
42
|
-
color: "warning"
|
|
43
|
-
}))).toMatchSnapshot();
|
|
44
|
-
});
|
|
45
|
-
it("renders the MinusIcon with prop color=warning and size=s", () => {
|
|
46
|
-
expect((0, import_enzyme.mount)(/* @__PURE__ */ import_react.default.createElement(import_MinusIcon.default, {
|
|
47
|
-
color: "warning",
|
|
48
|
-
size: "sm"
|
|
49
|
-
}))).toMatchSnapshot();
|
|
50
|
-
});
|
|
51
|
-
it("renders the MinusIcon with prop color=error and size= xl", () => {
|
|
52
|
-
expect((0, import_enzyme.mount)(/* @__PURE__ */ import_react.default.createElement(import_MinusIcon.default, {
|
|
53
|
-
color: "warning",
|
|
54
|
-
size: "xl"
|
|
55
|
-
}))).toMatchSnapshot();
|
|
56
|
-
});
|
|
57
|
-
//# sourceMappingURL=index.test.js.map
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../../../src/MinusIcon/index.test.tsx"],
|
|
4
|
-
"sourcesContent": ["import React from 'react';\nimport { mount } from 'enzyme';\n\nimport MinusIcon from '@digigov/react-icons/MinusIcon';\n\nit('renders the MinusIcon with no props', () => {\n expect(mount(<MinusIcon />)).toMatchSnapshot();\n});\nit('renders the MinusIcon with prop size=m', () => {\n expect(mount(<MinusIcon size=\"md\" />)).toMatchSnapshot();\n});\nit('renders the MinusIcon with prop size=xl', () => {\n expect(mount(<MinusIcon size=\"xl\" />)).toMatchSnapshot();\n});\nit('renders the MinusIcon with prop color=white', () => {\n expect(mount(<MinusIcon color=\"white\" />)).toMatchSnapshot();\n});\nit('renders the MinusIcon with prop color=warning', () => {\n expect(mount(<MinusIcon color=\"warning\" />)).toMatchSnapshot();\n});\nit('renders the MinusIcon with prop color=warning and size=s', () => {\n expect(mount(<MinusIcon color=\"warning\" size=\"sm\" />)).toMatchSnapshot();\n});\nit('renders the MinusIcon with prop color=error and size= xl', () => {\n expect(mount(<MinusIcon color=\"warning\" size=\"xl\" />)).toMatchSnapshot();\n});\n"],
|
|
5
|
-
"mappings": ";;;;;;;;;;;;;;;;;;AAAA,mBAAkB;AAClB,oBAAsB;AAEtB,uBAAsB;AAEtB,GAAG,uCAAuC,MAAM;AAC9C,SAAO,yBAAM,mDAAC,0BAAD,QAAgB;AAAA;AAE/B,GAAG,0CAA0C,MAAM;AACjD,SAAO,yBAAM,mDAAC,0BAAD;AAAA,IAAW,MAAK;AAAA,OAAU;AAAA;AAEzC,GAAG,2CAA2C,MAAM;AAClD,SAAO,yBAAM,mDAAC,0BAAD;AAAA,IAAW,MAAK;AAAA,OAAU;AAAA;AAEzC,GAAG,+CAA+C,MAAM;AACtD,SAAO,yBAAM,mDAAC,0BAAD;AAAA,IAAW,OAAM;AAAA,OAAa;AAAA;AAE7C,GAAG,iDAAiD,MAAM;AACxD,SAAO,yBAAM,mDAAC,0BAAD;AAAA,IAAW,OAAM;AAAA,OAAe;AAAA;AAE/C,GAAG,4DAA4D,MAAM;AACnE,SAAO,yBAAM,mDAAC,0BAAD;AAAA,IAAW,OAAM;AAAA,IAAU,MAAK;AAAA,OAAU;AAAA;AAEzD,GAAG,4DAA4D,MAAM;AACnE,SAAO,yBAAM,mDAAC,0BAAD;AAAA,IAAW,OAAM;AAAA,IAAU,MAAK;AAAA,OAAU;AAAA;",
|
|
6
|
-
"names": []
|
|
7
|
-
}
|
|
@@ -1,67 +0,0 @@
|
|
|
1
|
-
var __create = Object.create;
|
|
2
|
-
var __defProp = Object.defineProperty;
|
|
3
|
-
var __getProtoOf = Object.getPrototypeOf;
|
|
4
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
7
|
-
var __markAsModule = (target) => __defProp(target, "__esModule", {value: true});
|
|
8
|
-
var __reExport = (target, module2, desc) => {
|
|
9
|
-
if (module2 && typeof module2 === "object" || typeof module2 === "function") {
|
|
10
|
-
for (let key of __getOwnPropNames(module2))
|
|
11
|
-
if (!__hasOwnProp.call(target, key) && key !== "default")
|
|
12
|
-
__defProp(target, key, {get: () => module2[key], enumerable: !(desc = __getOwnPropDesc(module2, key)) || desc.enumerable});
|
|
13
|
-
}
|
|
14
|
-
return target;
|
|
15
|
-
};
|
|
16
|
-
var __toModule = (module2) => {
|
|
17
|
-
return __reExport(__markAsModule(__defProp(module2 != null ? __create(__getProtoOf(module2)) : {}, "default", module2 && module2.__esModule && "default" in module2 ? {get: () => module2.default, enumerable: true} : {value: module2, enumerable: true})), module2);
|
|
18
|
-
};
|
|
19
|
-
var import_react = __toModule(require("react"));
|
|
20
|
-
var import_enzyme = __toModule(require("enzyme"));
|
|
21
|
-
var import_MoreVertIcon = __toModule(require("@digigov/react-icons/MoreVertIcon"));
|
|
22
|
-
it("renders the MoreVertIcon with no props", () => {
|
|
23
|
-
expect((0, import_enzyme.mount)(/* @__PURE__ */ import_react.default.createElement(import_MoreVertIcon.default, null))).toMatchSnapshot();
|
|
24
|
-
});
|
|
25
|
-
it("renders the MoreVertIcon with prop size=s", () => {
|
|
26
|
-
expect((0, import_enzyme.mount)(/* @__PURE__ */ import_react.default.createElement(import_MoreVertIcon.default, {
|
|
27
|
-
size: "sm"
|
|
28
|
-
}))).toMatchSnapshot();
|
|
29
|
-
});
|
|
30
|
-
it("renders the MoreVertIcon with prop size=l", () => {
|
|
31
|
-
expect((0, import_enzyme.mount)(/* @__PURE__ */ import_react.default.createElement(import_MoreVertIcon.default, {
|
|
32
|
-
size: "lg"
|
|
33
|
-
}))).toMatchSnapshot();
|
|
34
|
-
});
|
|
35
|
-
it("renders the MoreVertIcon with prop color=dark", () => {
|
|
36
|
-
expect((0, import_enzyme.mount)(/* @__PURE__ */ import_react.default.createElement(import_MoreVertIcon.default, {
|
|
37
|
-
color: "dark"
|
|
38
|
-
}))).toMatchSnapshot();
|
|
39
|
-
});
|
|
40
|
-
it("renders the MoreVertIcon with prop color=primary", () => {
|
|
41
|
-
expect((0, import_enzyme.mount)(/* @__PURE__ */ import_react.default.createElement(import_MoreVertIcon.default, {
|
|
42
|
-
color: "primary"
|
|
43
|
-
}))).toMatchSnapshot();
|
|
44
|
-
});
|
|
45
|
-
it("renders the MoreVertIcon with prop color=success", () => {
|
|
46
|
-
expect((0, import_enzyme.mount)(/* @__PURE__ */ import_react.default.createElement(import_MoreVertIcon.default, {
|
|
47
|
-
color: "success"
|
|
48
|
-
}))).toMatchSnapshot();
|
|
49
|
-
});
|
|
50
|
-
it("renders the MoreVertIcon with prop color=focus", () => {
|
|
51
|
-
expect((0, import_enzyme.mount)(/* @__PURE__ */ import_react.default.createElement(import_MoreVertIcon.default, {
|
|
52
|
-
color: "focus"
|
|
53
|
-
}))).toMatchSnapshot();
|
|
54
|
-
});
|
|
55
|
-
it("renders the MoreVertIcon with prop color=warning and size=s", () => {
|
|
56
|
-
expect((0, import_enzyme.mount)(/* @__PURE__ */ import_react.default.createElement(import_MoreVertIcon.default, {
|
|
57
|
-
color: "warning",
|
|
58
|
-
size: "sm"
|
|
59
|
-
}))).toMatchSnapshot();
|
|
60
|
-
});
|
|
61
|
-
it("renders the MoreVertIcon with prop color=error and size= xl", () => {
|
|
62
|
-
expect((0, import_enzyme.mount)(/* @__PURE__ */ import_react.default.createElement(import_MoreVertIcon.default, {
|
|
63
|
-
color: "warning",
|
|
64
|
-
size: "xl"
|
|
65
|
-
}))).toMatchSnapshot();
|
|
66
|
-
});
|
|
67
|
-
//# sourceMappingURL=index.test.js.map
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../../../src/MoreVertIcon/index.test.tsx"],
|
|
4
|
-
"sourcesContent": ["import React from 'react';\nimport { mount } from 'enzyme';\n\nimport MoreVertIcon from '@digigov/react-icons/MoreVertIcon';\n\nit('renders the MoreVertIcon with no props', () => {\n expect(mount(<MoreVertIcon />)).toMatchSnapshot();\n});\nit('renders the MoreVertIcon with prop size=s', () => {\n expect(mount(<MoreVertIcon size=\"sm\" />)).toMatchSnapshot();\n});\nit('renders the MoreVertIcon with prop size=l', () => {\n expect(mount(<MoreVertIcon size=\"lg\" />)).toMatchSnapshot();\n});\nit('renders the MoreVertIcon with prop color=dark', () => {\n expect(mount(<MoreVertIcon color=\"dark\" />)).toMatchSnapshot();\n});\nit('renders the MoreVertIcon with prop color=primary', () => {\n expect(mount(<MoreVertIcon color=\"primary\" />)).toMatchSnapshot();\n});\nit('renders the MoreVertIcon with prop color=success', () => {\n expect(mount(<MoreVertIcon color=\"success\" />)).toMatchSnapshot();\n});\nit('renders the MoreVertIcon with prop color=focus', () => {\n expect(mount(<MoreVertIcon color=\"focus\" />)).toMatchSnapshot();\n});\nit('renders the MoreVertIcon with prop color=warning and size=s', () => {\n expect(mount(<MoreVertIcon color=\"warning\" size=\"sm\" />)).toMatchSnapshot();\n});\nit('renders the MoreVertIcon with prop color=error and size= xl', () => {\n expect(mount(<MoreVertIcon color=\"warning\" size=\"xl\" />)).toMatchSnapshot();\n});\n"],
|
|
5
|
-
"mappings": ";;;;;;;;;;;;;;;;;;AAAA,mBAAkB;AAClB,oBAAsB;AAEtB,0BAAyB;AAEzB,GAAG,0CAA0C,MAAM;AACjD,SAAO,yBAAM,mDAAC,6BAAD,QAAmB;AAAA;AAElC,GAAG,6CAA6C,MAAM;AACpD,SAAO,yBAAM,mDAAC,6BAAD;AAAA,IAAc,MAAK;AAAA,OAAU;AAAA;AAE5C,GAAG,6CAA6C,MAAM;AACpD,SAAO,yBAAM,mDAAC,6BAAD;AAAA,IAAc,MAAK;AAAA,OAAU;AAAA;AAE5C,GAAG,iDAAiD,MAAM;AACxD,SAAO,yBAAM,mDAAC,6BAAD;AAAA,IAAc,OAAM;AAAA,OAAY;AAAA;AAE/C,GAAG,oDAAoD,MAAM;AAC3D,SAAO,yBAAM,mDAAC,6BAAD;AAAA,IAAc,OAAM;AAAA,OAAe;AAAA;AAElD,GAAG,oDAAoD,MAAM;AAC3D,SAAO,yBAAM,mDAAC,6BAAD;AAAA,IAAc,OAAM;AAAA,OAAe;AAAA;AAElD,GAAG,kDAAkD,MAAM;AACzD,SAAO,yBAAM,mDAAC,6BAAD;AAAA,IAAc,OAAM;AAAA,OAAa;AAAA;AAEhD,GAAG,+DAA+D,MAAM;AACtE,SAAO,yBAAM,mDAAC,6BAAD;AAAA,IAAc,OAAM;AAAA,IAAU,MAAK;AAAA,OAAU;AAAA;AAE5D,GAAG,+DAA+D,MAAM;AACtE,SAAO,yBAAM,mDAAC,6BAAD;AAAA,IAAc,OAAM;AAAA,IAAU,MAAK;AAAA,OAAU;AAAA;",
|
|
6
|
-
"names": []
|
|
7
|
-
}
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
var __create = Object.create;
|
|
2
|
-
var __defProp = Object.defineProperty;
|
|
3
|
-
var __getProtoOf = Object.getPrototypeOf;
|
|
4
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
7
|
-
var __markAsModule = (target) => __defProp(target, "__esModule", {value: true});
|
|
8
|
-
var __reExport = (target, module2, desc) => {
|
|
9
|
-
if (module2 && typeof module2 === "object" || typeof module2 === "function") {
|
|
10
|
-
for (let key of __getOwnPropNames(module2))
|
|
11
|
-
if (!__hasOwnProp.call(target, key) && key !== "default")
|
|
12
|
-
__defProp(target, key, {get: () => module2[key], enumerable: !(desc = __getOwnPropDesc(module2, key)) || desc.enumerable});
|
|
13
|
-
}
|
|
14
|
-
return target;
|
|
15
|
-
};
|
|
16
|
-
var __toModule = (module2) => {
|
|
17
|
-
return __reExport(__markAsModule(__defProp(module2 != null ? __create(__getProtoOf(module2)) : {}, "default", module2 && module2.__esModule && "default" in module2 ? {get: () => module2.default, enumerable: true} : {value: module2, enumerable: true})), module2);
|
|
18
|
-
};
|
|
19
|
-
var import_react = __toModule(require("react"));
|
|
20
|
-
var import_enzyme = __toModule(require("enzyme"));
|
|
21
|
-
var import_PdfFileIcon = __toModule(require("@digigov/react-icons/PdfFileIcon"));
|
|
22
|
-
it("renders the PdfFileIcon with no props", () => {
|
|
23
|
-
expect((0, import_enzyme.mount)(/* @__PURE__ */ import_react.default.createElement(import_PdfFileIcon.default, null))).toMatchSnapshot();
|
|
24
|
-
});
|
|
25
|
-
it("renders the PdfFileIcon with prop size=m", () => {
|
|
26
|
-
expect((0, import_enzyme.mount)(/* @__PURE__ */ import_react.default.createElement(import_PdfFileIcon.default, {
|
|
27
|
-
size: "md"
|
|
28
|
-
}))).toMatchSnapshot();
|
|
29
|
-
});
|
|
30
|
-
it("renders the PdfFileIcon with prop size=xl", () => {
|
|
31
|
-
expect((0, import_enzyme.mount)(/* @__PURE__ */ import_react.default.createElement(import_PdfFileIcon.default, {
|
|
32
|
-
size: "xl"
|
|
33
|
-
}))).toMatchSnapshot();
|
|
34
|
-
});
|
|
35
|
-
it("renders the PdfFileIcon with prop color=white", () => {
|
|
36
|
-
expect((0, import_enzyme.mount)(/* @__PURE__ */ import_react.default.createElement(import_PdfFileIcon.default, {
|
|
37
|
-
color: "white"
|
|
38
|
-
}))).toMatchSnapshot();
|
|
39
|
-
});
|
|
40
|
-
it("renders the PdfFileIcon with prop color=warning", () => {
|
|
41
|
-
expect((0, import_enzyme.mount)(/* @__PURE__ */ import_react.default.createElement(import_PdfFileIcon.default, {
|
|
42
|
-
color: "warning"
|
|
43
|
-
}))).toMatchSnapshot();
|
|
44
|
-
});
|
|
45
|
-
it("renders the PdfFileIcon with prop color=warning and size=s", () => {
|
|
46
|
-
expect((0, import_enzyme.mount)(/* @__PURE__ */ import_react.default.createElement(import_PdfFileIcon.default, {
|
|
47
|
-
color: "warning",
|
|
48
|
-
size: "sm"
|
|
49
|
-
}))).toMatchSnapshot();
|
|
50
|
-
});
|
|
51
|
-
it("renders the PdfFileIcon with prop color=error and size= xl", () => {
|
|
52
|
-
expect((0, import_enzyme.mount)(/* @__PURE__ */ import_react.default.createElement(import_PdfFileIcon.default, {
|
|
53
|
-
color: "warning",
|
|
54
|
-
size: "xl"
|
|
55
|
-
}))).toMatchSnapshot();
|
|
56
|
-
});
|
|
57
|
-
//# sourceMappingURL=index.test.js.map
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../../../src/PdfFileIcon/index.test.tsx"],
|
|
4
|
-
"sourcesContent": ["import React from 'react';\nimport { mount } from 'enzyme';\n\nimport PdfFileIcon from '@digigov/react-icons/PdfFileIcon';\n\nit('renders the PdfFileIcon with no props', () => {\n expect(mount(<PdfFileIcon />)).toMatchSnapshot();\n});\nit('renders the PdfFileIcon with prop size=m', () => {\n expect(mount(<PdfFileIcon size=\"md\" />)).toMatchSnapshot();\n});\nit('renders the PdfFileIcon with prop size=xl', () => {\n expect(mount(<PdfFileIcon size=\"xl\" />)).toMatchSnapshot();\n});\nit('renders the PdfFileIcon with prop color=white', () => {\n expect(mount(<PdfFileIcon color=\"white\" />)).toMatchSnapshot();\n});\nit('renders the PdfFileIcon with prop color=warning', () => {\n expect(mount(<PdfFileIcon color=\"warning\" />)).toMatchSnapshot();\n});\nit('renders the PdfFileIcon with prop color=warning and size=s', () => {\n expect(mount(<PdfFileIcon color=\"warning\" size=\"sm\" />)).toMatchSnapshot();\n});\nit('renders the PdfFileIcon with prop color=error and size= xl', () => {\n expect(mount(<PdfFileIcon color=\"warning\" size=\"xl\" />)).toMatchSnapshot();\n});\n"],
|
|
5
|
-
"mappings": ";;;;;;;;;;;;;;;;;;AAAA,mBAAkB;AAClB,oBAAsB;AAEtB,yBAAwB;AAExB,GAAG,yCAAyC,MAAM;AAChD,SAAO,yBAAM,mDAAC,4BAAD,QAAkB;AAAA;AAEjC,GAAG,4CAA4C,MAAM;AACnD,SAAO,yBAAM,mDAAC,4BAAD;AAAA,IAAa,MAAK;AAAA,OAAU;AAAA;AAE3C,GAAG,6CAA6C,MAAM;AACpD,SAAO,yBAAM,mDAAC,4BAAD;AAAA,IAAa,MAAK;AAAA,OAAU;AAAA;AAE3C,GAAG,iDAAiD,MAAM;AACxD,SAAO,yBAAM,mDAAC,4BAAD;AAAA,IAAa,OAAM;AAAA,OAAa;AAAA;AAE/C,GAAG,mDAAmD,MAAM;AAC1D,SAAO,yBAAM,mDAAC,4BAAD;AAAA,IAAa,OAAM;AAAA,OAAe;AAAA;AAEjD,GAAG,8DAA8D,MAAM;AACrE,SAAO,yBAAM,mDAAC,4BAAD;AAAA,IAAa,OAAM;AAAA,IAAU,MAAK;AAAA,OAAU;AAAA;AAE3D,GAAG,8DAA8D,MAAM;AACrE,SAAO,yBAAM,mDAAC,4BAAD;AAAA,IAAa,OAAM;AAAA,IAAU,MAAK;AAAA,OAAU;AAAA;",
|
|
6
|
-
"names": []
|
|
7
|
-
}
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
var __create = Object.create;
|
|
2
|
-
var __defProp = Object.defineProperty;
|
|
3
|
-
var __getProtoOf = Object.getPrototypeOf;
|
|
4
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
7
|
-
var __markAsModule = (target) => __defProp(target, "__esModule", {value: true});
|
|
8
|
-
var __reExport = (target, module2, desc) => {
|
|
9
|
-
if (module2 && typeof module2 === "object" || typeof module2 === "function") {
|
|
10
|
-
for (let key of __getOwnPropNames(module2))
|
|
11
|
-
if (!__hasOwnProp.call(target, key) && key !== "default")
|
|
12
|
-
__defProp(target, key, {get: () => module2[key], enumerable: !(desc = __getOwnPropDesc(module2, key)) || desc.enumerable});
|
|
13
|
-
}
|
|
14
|
-
return target;
|
|
15
|
-
};
|
|
16
|
-
var __toModule = (module2) => {
|
|
17
|
-
return __reExport(__markAsModule(__defProp(module2 != null ? __create(__getProtoOf(module2)) : {}, "default", module2 && module2.__esModule && "default" in module2 ? {get: () => module2.default, enumerable: true} : {value: module2, enumerable: true})), module2);
|
|
18
|
-
};
|
|
19
|
-
var import_react = __toModule(require("react"));
|
|
20
|
-
var import_enzyme = __toModule(require("enzyme"));
|
|
21
|
-
var import_PlusIcon = __toModule(require("@digigov/react-icons/PlusIcon"));
|
|
22
|
-
it("renders the PlusIcon with no props", () => {
|
|
23
|
-
expect((0, import_enzyme.mount)(/* @__PURE__ */ import_react.default.createElement(import_PlusIcon.default, null))).toMatchSnapshot();
|
|
24
|
-
});
|
|
25
|
-
it("renders the PlusIcon with prop size=m", () => {
|
|
26
|
-
expect((0, import_enzyme.mount)(/* @__PURE__ */ import_react.default.createElement(import_PlusIcon.default, {
|
|
27
|
-
size: "md"
|
|
28
|
-
}))).toMatchSnapshot();
|
|
29
|
-
});
|
|
30
|
-
it("renders the PlusIcon with prop size=xl", () => {
|
|
31
|
-
expect((0, import_enzyme.mount)(/* @__PURE__ */ import_react.default.createElement(import_PlusIcon.default, {
|
|
32
|
-
size: "xl"
|
|
33
|
-
}))).toMatchSnapshot();
|
|
34
|
-
});
|
|
35
|
-
it("renders the PlusIcon with prop color=white", () => {
|
|
36
|
-
expect((0, import_enzyme.mount)(/* @__PURE__ */ import_react.default.createElement(import_PlusIcon.default, {
|
|
37
|
-
color: "white"
|
|
38
|
-
}))).toMatchSnapshot();
|
|
39
|
-
});
|
|
40
|
-
it("renders the PlusIcon with prop color=warning", () => {
|
|
41
|
-
expect((0, import_enzyme.mount)(/* @__PURE__ */ import_react.default.createElement(import_PlusIcon.default, {
|
|
42
|
-
color: "warning"
|
|
43
|
-
}))).toMatchSnapshot();
|
|
44
|
-
});
|
|
45
|
-
it("renders the PlusIcon with prop color=warning and size=s", () => {
|
|
46
|
-
expect((0, import_enzyme.mount)(/* @__PURE__ */ import_react.default.createElement(import_PlusIcon.default, {
|
|
47
|
-
color: "warning",
|
|
48
|
-
size: "sm"
|
|
49
|
-
}))).toMatchSnapshot();
|
|
50
|
-
});
|
|
51
|
-
it("renders the PlusIcon with prop color=error and size= xl", () => {
|
|
52
|
-
expect((0, import_enzyme.mount)(/* @__PURE__ */ import_react.default.createElement(import_PlusIcon.default, {
|
|
53
|
-
color: "warning",
|
|
54
|
-
size: "xl"
|
|
55
|
-
}))).toMatchSnapshot();
|
|
56
|
-
});
|
|
57
|
-
//# sourceMappingURL=index.test.js.map
|