@digigov/react-icons 1.2.0-dcbd7ded → 2.0.0-7d9a8d86
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 +15 -13
- package/AccessibilityIcon/config.js.map +7 -0
- package/AccessibilityIcon/index.js +12 -7
- package/AccessibilityIcon/index.js.map +7 -0
- package/AccessibilityIcon/index.test/index.js +49 -57
- package/AccessibilityIcon/index.test.js.map +7 -0
- package/ArrowIcon/config/index.js +18 -21
- package/ArrowIcon/config.js.map +7 -0
- package/ArrowIcon/index.js +12 -7
- package/ArrowIcon/index.js.map +7 -0
- package/ArrowIcon/index.test/index.js +18 -21
- package/ArrowIcon/index.test.js.map +7 -0
- package/BurgerIcon/config/index.js +27 -27
- package/BurgerIcon/config.js.map +7 -0
- package/BurgerIcon/index.js +12 -7
- package/BurgerIcon/index.js.map +7 -0
- package/BurgerIcon/index.test/index.js +33 -38
- package/BurgerIcon/index.test.js.map +7 -0
- package/CancelIcon/config/index.js +13 -0
- package/CancelIcon/config/package.json +6 -0
- 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 +14 -0
- package/CancelIcon/index.js.map +7 -0
- package/CancelIcon/index.test/index.js +39 -0
- package/CancelIcon/index.test/package.json +6 -0
- package/CancelIcon/index.test.d.ts +1 -0
- package/CancelIcon/index.test.js.map +7 -0
- package/CancelIcon/package.json +6 -0
- package/CaretIcon/config/index.js +18 -21
- package/CaretIcon/config.js.map +7 -0
- package/CaretIcon/index.js +12 -7
- package/CaretIcon/index.js.map +7 -0
- package/CaretIcon/index.test/index.js +18 -21
- package/CaretIcon/index.test.js.map +7 -0
- package/ChatIcon/config/index.js +15 -0
- package/ChatIcon/config/package.json +6 -0
- 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 +14 -0
- package/ChatIcon/index.js.map +7 -0
- package/ChatIcon/index.test/index.js +44 -0
- package/ChatIcon/index.test/package.json +6 -0
- package/ChatIcon/index.test.d.ts +1 -0
- package/ChatIcon/index.test.js.map +7 -0
- package/ChatIcon/package.json +6 -0
- package/CheckIcon/config/index.js +11 -7
- package/CheckIcon/config.js.map +7 -0
- package/CheckIcon/index.js +12 -7
- package/CheckIcon/index.js.map +7 -0
- package/CheckIcon/index.test/index.js +44 -51
- package/CheckIcon/index.test.js.map +7 -0
- package/ChevronIcon/config/index.js +18 -21
- package/ChevronIcon/config.js.map +7 -0
- package/ChevronIcon/index.js +12 -7
- package/ChevronIcon/index.js.map +7 -0
- package/ChevronIcon/index.test/index.js +18 -21
- package/ChevronIcon/index.test.js.map +7 -0
- package/CloseIcon/config/index.js +11 -7
- package/CloseIcon/config.js.map +7 -0
- package/CloseIcon/index.js +12 -7
- package/CloseIcon/index.js.map +7 -0
- package/CloseIcon/index.test/index.js +7 -7
- package/CloseIcon/index.test.js.map +7 -0
- package/DownloadIcon/config/index.js +18 -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 +14 -0
- package/DownloadIcon/index.js.map +7 -0
- package/DownloadIcon/index.test/index.js +39 -0
- package/DownloadIcon/index.test/package.json +6 -0
- package/DownloadIcon/index.test.d.ts +1 -0
- package/DownloadIcon/index.test.js.map +7 -0
- package/DownloadIcon/package.json +6 -0
- package/ExclamationIcon/config/index.js +17 -0
- package/ExclamationIcon/config/package.json +6 -0
- 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 +14 -0
- package/ExclamationIcon/index.js.map +7 -0
- package/ExclamationIcon/index.test/index.js +39 -0
- package/ExclamationIcon/index.test/package.json +6 -0
- package/ExclamationIcon/index.test.d.ts +1 -0
- package/ExclamationIcon/index.test.js.map +7 -0
- package/ExclamationIcon/package.json +6 -0
- package/GlobeIcon/config/index.js +11 -7
- package/GlobeIcon/config.js.map +7 -0
- package/GlobeIcon/index.js +12 -7
- package/GlobeIcon/index.js.map +7 -0
- package/GlobeIcon/index.test/index.js +18 -21
- package/GlobeIcon/index.test.js.map +7 -0
- package/Icon/index.js +27 -29
- package/Icon/index.js.map +7 -0
- package/Icon/index.test/index.js +53 -62
- package/Icon/index.test.js.map +7 -0
- package/LockIcon/config/index.js +13 -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 +14 -0
- package/LockIcon/index.js.map +7 -0
- package/LockIcon/index.test/index.js +39 -0
- package/LockIcon/index.test/package.json +6 -0
- package/LockIcon/index.test.d.ts +1 -0
- package/LockIcon/index.test.js.map +7 -0
- package/LockIcon/package.json +6 -0
- package/LoginIcon/config/index.js +15 -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 +14 -0
- package/LoginIcon/index.js.map +7 -0
- package/LoginIcon/index.test/index.js +39 -0
- package/LoginIcon/index.test/package.json +6 -0
- package/LoginIcon/index.test.d.ts +1 -0
- package/LoginIcon/index.test.js.map +7 -0
- package/LoginIcon/package.json +6 -0
- package/MinusIcon/config/index.js +16 -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 +14 -0
- package/MinusIcon/index.js.map +7 -0
- package/MinusIcon/index.test/index.js +39 -0
- package/MinusIcon/index.test/package.json +6 -0
- package/MinusIcon/index.test.d.ts +1 -0
- package/MinusIcon/index.test.js.map +7 -0
- package/MinusIcon/package.json +6 -0
- package/MoreVertIcon/config/index.js +21 -19
- package/MoreVertIcon/config.js.map +7 -0
- package/MoreVertIcon/index.js +12 -7
- package/MoreVertIcon/index.js.map +7 -0
- package/MoreVertIcon/index.test/index.js +49 -57
- package/MoreVertIcon/index.test.js.map +7 -0
- package/PdfFileIcon/config/index.js +19 -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 +14 -0
- package/PdfFileIcon/index.js.map +7 -0
- package/PdfFileIcon/index.test/index.js +39 -0
- package/PdfFileIcon/index.test/package.json +6 -0
- package/PdfFileIcon/index.test.d.ts +1 -0
- package/PdfFileIcon/index.test.js.map +7 -0
- package/PdfFileIcon/package.json +6 -0
- package/PlusIcon/config/index.js +13 -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 +14 -0
- package/PlusIcon/index.js.map +7 -0
- package/PlusIcon/index.test/index.js +39 -0
- package/PlusIcon/index.test/package.json +6 -0
- package/PlusIcon/index.test.d.ts +1 -0
- package/PlusIcon/index.test.js.map +7 -0
- package/PlusIcon/package.json +6 -0
- package/PrintIcon/config/index.js +18 -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 +14 -0
- package/PrintIcon/index.js.map +7 -0
- package/PrintIcon/index.test/index.js +39 -0
- package/PrintIcon/index.test/package.json +6 -0
- package/PrintIcon/index.test.d.ts +1 -0
- package/PrintIcon/index.test.js.map +7 -0
- package/PrintIcon/package.json +6 -0
- package/ReplyIcon/config/index.js +13 -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 +14 -0
- package/ReplyIcon/index.js.map +7 -0
- package/ReplyIcon/index.test/index.js +39 -0
- package/ReplyIcon/index.test/package.json +6 -0
- package/ReplyIcon/index.test.d.ts +1 -0
- package/ReplyIcon/index.test.js.map +7 -0
- package/ReplyIcon/package.json +6 -0
- package/RestoreIcon/config/index.js +19 -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 +14 -0
- package/RestoreIcon/index.js.map +7 -0
- package/RestoreIcon/index.test/index.js +39 -0
- package/RestoreIcon/index.test/package.json +6 -0
- package/RestoreIcon/index.test.d.ts +1 -0
- package/RestoreIcon/index.test.js.map +7 -0
- package/RestoreIcon/package.json +6 -0
- package/SearchIcon/config/index.js +11 -7
- package/SearchIcon/config.js.map +7 -0
- package/SearchIcon/index.js +12 -7
- package/SearchIcon/index.js.map +7 -0
- package/SearchIcon/index.test/index.js +7 -7
- package/SearchIcon/index.test.js.map +7 -0
- package/UncheckIcon/config/index.js +11 -7
- package/UncheckIcon/config.js.map +7 -0
- package/UncheckIcon/index.js +12 -7
- package/UncheckIcon/index.js.map +7 -0
- package/UncheckIcon/index.test/index.js +49 -57
- package/UncheckIcon/index.test.js.map +7 -0
- package/cjs/AccessibilityIcon/config/index.js +40 -19
- package/cjs/AccessibilityIcon/config.js.map +7 -0
- package/cjs/AccessibilityIcon/index.js +38 -13
- package/cjs/AccessibilityIcon/index.js.map +7 -0
- package/cjs/AccessibilityIcon/index.test/index.js +67 -60
- package/cjs/AccessibilityIcon/index.test.js.map +7 -0
- package/cjs/ArrowIcon/config/index.js +44 -27
- package/cjs/ArrowIcon/config.js.map +7 -0
- package/cjs/ArrowIcon/index.js +38 -13
- package/cjs/ArrowIcon/index.js.map +7 -0
- package/cjs/ArrowIcon/index.test/index.js +36 -24
- package/cjs/ArrowIcon/index.test.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 +38 -13
- package/cjs/BurgerIcon/index.js.map +7 -0
- package/cjs/BurgerIcon/index.test/index.js +51 -41
- package/cjs/BurgerIcon/index.test.js.map +7 -0
- package/cjs/CancelIcon/config/index.js +40 -0
- package/cjs/CancelIcon/config.js.map +7 -0
- package/cjs/CancelIcon/index.js +41 -0
- package/cjs/CancelIcon/index.js.map +7 -0
- package/cjs/CancelIcon/index.test/index.js +57 -0
- package/cjs/CancelIcon/index.test.js.map +7 -0
- package/cjs/CaretIcon/config/index.js +44 -27
- package/cjs/CaretIcon/config.js.map +7 -0
- package/cjs/CaretIcon/index.js +38 -13
- package/cjs/CaretIcon/index.js.map +7 -0
- package/cjs/CaretIcon/index.test/index.js +36 -24
- package/cjs/CaretIcon/index.test.js.map +7 -0
- package/cjs/ChatIcon/config/index.js +42 -0
- package/cjs/ChatIcon/config.js.map +7 -0
- package/cjs/ChatIcon/index.js +41 -0
- package/cjs/ChatIcon/index.js.map +7 -0
- package/cjs/ChatIcon/index.test/index.js +62 -0
- package/cjs/ChatIcon/index.test.js.map +7 -0
- package/cjs/CheckIcon/config/index.js +36 -13
- package/cjs/CheckIcon/config.js.map +7 -0
- package/cjs/CheckIcon/index.js +38 -13
- package/cjs/CheckIcon/index.js.map +7 -0
- package/cjs/CheckIcon/index.test/index.js +62 -54
- package/cjs/CheckIcon/index.test.js.map +7 -0
- package/cjs/ChevronIcon/config/index.js +44 -27
- package/cjs/ChevronIcon/config.js.map +7 -0
- package/cjs/ChevronIcon/index.js +38 -13
- package/cjs/ChevronIcon/index.js.map +7 -0
- package/cjs/ChevronIcon/index.test/index.js +36 -24
- package/cjs/ChevronIcon/index.test.js.map +7 -0
- package/cjs/CloseIcon/config/index.js +36 -13
- package/cjs/CloseIcon/config.js.map +7 -0
- package/cjs/CloseIcon/index.js +38 -13
- package/cjs/CloseIcon/index.js.map +7 -0
- package/cjs/CloseIcon/index.test/index.js +25 -10
- package/cjs/CloseIcon/index.test.js.map +7 -0
- package/cjs/DownloadIcon/config/index.js +45 -0
- package/cjs/DownloadIcon/config.js.map +7 -0
- package/cjs/DownloadIcon/index.js +41 -0
- package/cjs/DownloadIcon/index.js.map +7 -0
- package/cjs/DownloadIcon/index.test/index.js +57 -0
- package/cjs/DownloadIcon/index.test.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 +41 -0
- package/cjs/ExclamationIcon/index.js.map +7 -0
- package/cjs/ExclamationIcon/index.test/index.js +57 -0
- package/cjs/ExclamationIcon/index.test.js.map +7 -0
- package/cjs/GlobeIcon/config/index.js +36 -13
- package/cjs/GlobeIcon/config.js.map +7 -0
- package/cjs/GlobeIcon/index.js +38 -13
- package/cjs/GlobeIcon/index.js.map +7 -0
- package/cjs/GlobeIcon/index.test/index.js +36 -24
- package/cjs/GlobeIcon/index.test.js.map +7 -0
- package/cjs/Icon/index.js +53 -38
- package/cjs/Icon/index.js.map +7 -0
- package/cjs/Icon/index.test/index.js +71 -65
- package/cjs/Icon/index.test.js.map +7 -0
- package/cjs/LockIcon/config/index.js +40 -0
- package/cjs/LockIcon/config.js.map +7 -0
- package/cjs/LockIcon/index.js +41 -0
- package/cjs/LockIcon/index.js.map +7 -0
- package/cjs/LockIcon/index.test/index.js +57 -0
- package/cjs/LockIcon/index.test.js.map +7 -0
- package/cjs/LoginIcon/config/index.js +42 -0
- package/cjs/LoginIcon/config.js.map +7 -0
- package/cjs/LoginIcon/index.js +41 -0
- package/cjs/LoginIcon/index.js.map +7 -0
- package/cjs/LoginIcon/index.test/index.js +57 -0
- package/cjs/LoginIcon/index.test.js.map +7 -0
- package/cjs/MinusIcon/config/index.js +43 -0
- package/cjs/MinusIcon/config.js.map +7 -0
- package/cjs/MinusIcon/index.js +41 -0
- package/cjs/MinusIcon/index.js.map +7 -0
- package/cjs/MinusIcon/index.test/index.js +57 -0
- package/cjs/MinusIcon/index.test.js.map +7 -0
- package/cjs/MoreVertIcon/config/index.js +46 -25
- package/cjs/MoreVertIcon/config.js.map +7 -0
- package/cjs/MoreVertIcon/index.js +38 -13
- package/cjs/MoreVertIcon/index.js.map +7 -0
- package/cjs/MoreVertIcon/index.test/index.js +67 -60
- package/cjs/MoreVertIcon/index.test.js.map +7 -0
- package/cjs/PdfFileIcon/config/index.js +46 -0
- package/cjs/PdfFileIcon/config.js.map +7 -0
- package/cjs/PdfFileIcon/index.js +41 -0
- package/cjs/PdfFileIcon/index.js.map +7 -0
- package/cjs/PdfFileIcon/index.test/index.js +57 -0
- package/cjs/PdfFileIcon/index.test.js.map +7 -0
- package/cjs/PlusIcon/config/index.js +40 -0
- package/cjs/PlusIcon/config.js.map +7 -0
- package/cjs/PlusIcon/index.js +41 -0
- package/cjs/PlusIcon/index.js.map +7 -0
- package/cjs/PlusIcon/index.test/index.js +57 -0
- package/cjs/PlusIcon/index.test.js.map +7 -0
- package/cjs/PrintIcon/config/index.js +45 -0
- package/cjs/PrintIcon/config.js.map +7 -0
- package/cjs/PrintIcon/index.js +41 -0
- package/cjs/PrintIcon/index.js.map +7 -0
- package/cjs/PrintIcon/index.test/index.js +57 -0
- package/cjs/PrintIcon/index.test.js.map +7 -0
- package/cjs/ReplyIcon/config/index.js +40 -0
- package/cjs/ReplyIcon/config.js.map +7 -0
- package/cjs/ReplyIcon/index.js +41 -0
- package/cjs/ReplyIcon/index.js.map +7 -0
- package/cjs/ReplyIcon/index.test/index.js +57 -0
- package/cjs/ReplyIcon/index.test.js.map +7 -0
- package/cjs/RestoreIcon/config/index.js +46 -0
- package/cjs/RestoreIcon/config.js.map +7 -0
- package/cjs/RestoreIcon/index.js +41 -0
- package/cjs/RestoreIcon/index.js.map +7 -0
- package/cjs/RestoreIcon/index.test/index.js +57 -0
- package/cjs/RestoreIcon/index.test.js.map +7 -0
- package/cjs/SearchIcon/config/index.js +36 -13
- package/cjs/SearchIcon/config.js.map +7 -0
- package/cjs/SearchIcon/index.js +38 -13
- package/cjs/SearchIcon/index.js.map +7 -0
- package/cjs/SearchIcon/index.test/index.js +25 -10
- package/cjs/SearchIcon/index.test.js.map +7 -0
- package/cjs/UncheckIcon/config/index.js +36 -13
- package/cjs/UncheckIcon/config.js.map +7 -0
- package/cjs/UncheckIcon/index.js +38 -13
- package/cjs/UncheckIcon/index.js.map +7 -0
- package/cjs/UncheckIcon/index.test/index.js +67 -60
- package/cjs/UncheckIcon/index.test.js.map +7 -0
- package/cjs/icons/index.js +43 -126
- package/cjs/icons.js.map +7 -0
- package/cjs/index.js +43 -126
- package/cjs/index.js.map +7 -0
- package/cjs/lazy/index.js +55 -120
- package/cjs/lazy.js.map +7 -0
- package/cjs/registry/index.js +86 -43
- 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 +31 -87
- package/lazy.d.ts +12 -0
- package/lazy.js.map +7 -0
- package/package.json +4 -6
- package/registry/index.js +62 -35
- package/registry.d.ts +12 -0
- package/registry.js.map +7 -0
- package/src/AccessibilityIcon/__snapshots__/index.test.tsx.snap +51 -51
- package/src/AccessibilityIcon/index.test.tsx +12 -12
- package/src/ArrowIcon/__snapshots__/index.test.tsx.snap +8 -8
- package/src/BurgerIcon/__snapshots__/index.test.tsx.snap +22 -22
- package/src/BurgerIcon/index.test.tsx +8 -8
- package/src/CancelIcon/__snapshots__/index.test.tsx.snap +262 -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/ChatIcon/__snapshots__/index.test.tsx.snap +300 -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 +48 -48
- package/src/CheckIcon/index.test.tsx +10 -10
- package/{cjs/ArrowIcon → src/ChevronIcon}/__snapshots__/index.test.tsx.snap +36 -36
- package/src/DownloadIcon/__snapshots__/index.test.tsx.snap +318 -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 +297 -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 +20 -24
- package/src/GlobeIcon/config.tsx +1 -12
- package/src/GlobeIcon/index.test.tsx +6 -6
- package/src/Icon/__snapshots__/index.test.tsx.snap +11 -12
- package/src/LockIcon/__snapshots__/index.test.tsx.snap +262 -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 +283 -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 +283 -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 +51 -51
- package/src/MoreVertIcon/index.test.tsx +12 -12
- package/src/PdfFileIcon/__snapshots__/index.test.tsx.snap +353 -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 +262 -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 +304 -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 +262 -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 +318 -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/UncheckIcon/__snapshots__/index.test.tsx.snap +54 -54
- package/src/UncheckIcon/index.test.tsx +12 -12
- package/src/icons.ts +37 -0
- package/src/index.ts +12 -0
- package/src/lazy.js +12 -0
- package/src/registry.js +24 -0
- package/AccessibilityIcon/__snapshots__/index.test.tsx.snap +0 -408
- package/ArrowIcon/__snapshots__/index.test.tsx.snap +0 -148
- package/BurgerIcon/__snapshots__/index.test.tsx.snap +0 -320
- package/CaretIcon/__snapshots__/index.test.tsx.snap +0 -148
- package/CheckIcon/__snapshots__/index.test.tsx.snap +0 -299
- package/CloseIcon/__snapshots__/index.test.tsx.snap +0 -34
- package/GlobeIcon/__snapshots__/index.test.tsx.snap +0 -149
- package/Icon/__snapshots__/index.test.tsx.snap +0 -343
- package/MoreVertIcon/__snapshots__/index.test.tsx.snap +0 -444
- package/SearchIcon/__snapshots__/index.test.tsx.snap +0 -34
- package/UncheckIcon/__snapshots__/index.test.tsx.snap +0 -336
- package/cjs/AccessibilityIcon/__snapshots__/index.test.tsx.snap +0 -408
- package/cjs/BurgerIcon/__snapshots__/index.test.tsx.snap +0 -320
- package/cjs/CaretIcon/__snapshots__/index.test.tsx.snap +0 -148
- package/cjs/CheckIcon/__snapshots__/index.test.tsx.snap +0 -299
- package/cjs/CloseIcon/__snapshots__/index.test.tsx.snap +0 -34
- package/cjs/GlobeIcon/__snapshots__/index.test.tsx.snap +0 -149
- package/cjs/Icon/__snapshots__/index.test.tsx.snap +0 -343
- package/cjs/MoreVertIcon/__snapshots__/index.test.tsx.snap +0 -444
- package/cjs/SearchIcon/__snapshots__/index.test.tsx.snap +0 -34
- package/cjs/UncheckIcon/__snapshots__/index.test.tsx.snap +0 -336
|
@@ -1,21 +1,23 @@
|
|
|
1
|
-
import React from
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
})
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
});
|
|
17
|
-
export function moreVert() {
|
|
18
|
-
return /*#__PURE__*/React.createElement(React.Fragment, null, _ref, _ref2, _ref3);
|
|
1
|
+
import React from "react";
|
|
2
|
+
function moreVert() {
|
|
3
|
+
return /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement("circle", {
|
|
4
|
+
cx: "12",
|
|
5
|
+
cy: "5",
|
|
6
|
+
r: "2"
|
|
7
|
+
}), /* @__PURE__ */ React.createElement("circle", {
|
|
8
|
+
cx: "12",
|
|
9
|
+
cy: "12",
|
|
10
|
+
r: "2"
|
|
11
|
+
}), /* @__PURE__ */ React.createElement("circle", {
|
|
12
|
+
cx: "12",
|
|
13
|
+
cy: "19",
|
|
14
|
+
r: "2"
|
|
15
|
+
}));
|
|
19
16
|
}
|
|
20
17
|
moreVert.props = [];
|
|
21
|
-
|
|
18
|
+
var config_default = moreVert;
|
|
19
|
+
export {
|
|
20
|
+
config_default as default,
|
|
21
|
+
moreVert
|
|
22
|
+
};
|
|
23
|
+
//# sourceMappingURL=config.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../src/MoreVertIcon/config.tsx"],
|
|
4
|
+
"sourcesContent": ["import React from 'react';\n\nexport interface MoreVertType {}\n\nexport function moreVert(): React.ReactElement {\n return (\n <>\n <circle cx=\"12\" cy=\"5\" r=\"2\" />\n <circle cx=\"12\" cy=\"12\" r=\"2\" />\n <circle cx=\"12\" cy=\"19\" r=\"2\" />\n </>\n );\n}\n\nmoreVert.props = [];\n\nexport default moreVert;\n"],
|
|
5
|
+
"mappings": "AAAA;AAIO,oBAAwC;AAC7C,SACE,0DACE,oCAAC,UAAD;AAAA,IAAQ,IAAG;AAAA,IAAK,IAAG;AAAA,IAAI,GAAE;AAAA,MACzB,oCAAC,UAAD;AAAA,IAAQ,IAAG;AAAA,IAAK,IAAG;AAAA,IAAK,GAAE;AAAA,MAC1B,oCAAC,UAAD;AAAA,IAAQ,IAAG;AAAA,IAAK,IAAG;AAAA,IAAK,GAAE;AAAA;AAAA;AAKhC,SAAS,QAAQ;AAEjB,IAAO,iBAAQ;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
package/MoreVertIcon/index.js
CHANGED
|
@@ -1,9 +1,14 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
import React from "react";
|
|
2
|
+
import Icon from "@digigov/react-icons/Icon";
|
|
3
|
+
const MoreVertIcon = (props) => {
|
|
4
|
+
return /* @__PURE__ */ React.createElement(Icon, {
|
|
5
|
+
...props,
|
|
6
6
|
icon: "moreVert"
|
|
7
|
-
})
|
|
7
|
+
});
|
|
8
8
|
};
|
|
9
|
-
|
|
9
|
+
var MoreVertIcon_default = MoreVertIcon;
|
|
10
|
+
export {
|
|
11
|
+
MoreVertIcon,
|
|
12
|
+
MoreVertIcon_default as default
|
|
13
|
+
};
|
|
14
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../src/MoreVertIcon/index.tsx"],
|
|
4
|
+
"sourcesContent": ["import React from 'react';\nimport Icon, { IconProps } from '@digigov/react-icons/Icon';\n\nexport const MoreVertIcon: React.FC<IconProps<'moreVert'>> = (props) => {\n return <Icon {...props} icon=\"moreVert\"></Icon>;\n};\n\nexport default MoreVertIcon;\n"],
|
|
5
|
+
"mappings": "AAAA;AACA;AAEO,MAAM,eAAgD,CAAC,UAAU;AACtE,SAAO,oCAAC,MAAD;AAAA,OAAU;AAAA,IAAO,MAAK;AAAA;AAAA;AAG/B,IAAO,uBAAQ;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -1,57 +1,49 @@
|
|
|
1
|
-
import React from
|
|
2
|
-
import {
|
|
3
|
-
import MoreVertIcon from
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
});
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
});
|
|
17
|
-
it(
|
|
18
|
-
expect(mount(
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
});
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
});
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
});
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
});
|
|
51
|
-
var _ref9 = /*#__PURE__*/React.createElement(MoreVertIcon, {
|
|
52
|
-
variant: "warning",
|
|
53
|
-
size: "xl"
|
|
54
|
-
});
|
|
55
|
-
it('renders the MoreVertIcon with prop variant=error and size= xl', function () {
|
|
56
|
-
expect(mount(_ref9)).toMatchSnapshot();
|
|
57
|
-
});
|
|
1
|
+
import React from "react";
|
|
2
|
+
import {mount} from "enzyme";
|
|
3
|
+
import MoreVertIcon from "@digigov/react-icons/MoreVertIcon";
|
|
4
|
+
it("renders the MoreVertIcon with no props", () => {
|
|
5
|
+
expect(mount(/* @__PURE__ */ React.createElement(MoreVertIcon, null))).toMatchSnapshot();
|
|
6
|
+
});
|
|
7
|
+
it("renders the MoreVertIcon with prop size=s", () => {
|
|
8
|
+
expect(mount(/* @__PURE__ */ React.createElement(MoreVertIcon, {
|
|
9
|
+
size: "sm"
|
|
10
|
+
}))).toMatchSnapshot();
|
|
11
|
+
});
|
|
12
|
+
it("renders the MoreVertIcon with prop size=l", () => {
|
|
13
|
+
expect(mount(/* @__PURE__ */ React.createElement(MoreVertIcon, {
|
|
14
|
+
size: "lg"
|
|
15
|
+
}))).toMatchSnapshot();
|
|
16
|
+
});
|
|
17
|
+
it("renders the MoreVertIcon with prop color=dark", () => {
|
|
18
|
+
expect(mount(/* @__PURE__ */ React.createElement(MoreVertIcon, {
|
|
19
|
+
color: "dark"
|
|
20
|
+
}))).toMatchSnapshot();
|
|
21
|
+
});
|
|
22
|
+
it("renders the MoreVertIcon with prop color=primary", () => {
|
|
23
|
+
expect(mount(/* @__PURE__ */ React.createElement(MoreVertIcon, {
|
|
24
|
+
color: "primary"
|
|
25
|
+
}))).toMatchSnapshot();
|
|
26
|
+
});
|
|
27
|
+
it("renders the MoreVertIcon with prop color=success", () => {
|
|
28
|
+
expect(mount(/* @__PURE__ */ React.createElement(MoreVertIcon, {
|
|
29
|
+
color: "success"
|
|
30
|
+
}))).toMatchSnapshot();
|
|
31
|
+
});
|
|
32
|
+
it("renders the MoreVertIcon with prop color=focus", () => {
|
|
33
|
+
expect(mount(/* @__PURE__ */ React.createElement(MoreVertIcon, {
|
|
34
|
+
color: "focus"
|
|
35
|
+
}))).toMatchSnapshot();
|
|
36
|
+
});
|
|
37
|
+
it("renders the MoreVertIcon with prop color=warning and size=s", () => {
|
|
38
|
+
expect(mount(/* @__PURE__ */ React.createElement(MoreVertIcon, {
|
|
39
|
+
color: "warning",
|
|
40
|
+
size: "sm"
|
|
41
|
+
}))).toMatchSnapshot();
|
|
42
|
+
});
|
|
43
|
+
it("renders the MoreVertIcon with prop color=error and size= xl", () => {
|
|
44
|
+
expect(mount(/* @__PURE__ */ React.createElement(MoreVertIcon, {
|
|
45
|
+
color: "warning",
|
|
46
|
+
size: "xl"
|
|
47
|
+
}))).toMatchSnapshot();
|
|
48
|
+
});
|
|
49
|
+
//# sourceMappingURL=index.test.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
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;AACA;AAEA;AAEA,GAAG,0CAA0C,MAAM;AACjD,SAAO,MAAM,oCAAC,cAAD,QAAmB;AAAA;AAElC,GAAG,6CAA6C,MAAM;AACpD,SAAO,MAAM,oCAAC,cAAD;AAAA,IAAc,MAAK;AAAA,OAAU;AAAA;AAE5C,GAAG,6CAA6C,MAAM;AACpD,SAAO,MAAM,oCAAC,cAAD;AAAA,IAAc,MAAK;AAAA,OAAU;AAAA;AAE5C,GAAG,iDAAiD,MAAM;AACxD,SAAO,MAAM,oCAAC,cAAD;AAAA,IAAc,OAAM;AAAA,OAAY;AAAA;AAE/C,GAAG,oDAAoD,MAAM;AAC3D,SAAO,MAAM,oCAAC,cAAD;AAAA,IAAc,OAAM;AAAA,OAAe;AAAA;AAElD,GAAG,oDAAoD,MAAM;AAC3D,SAAO,MAAM,oCAAC,cAAD;AAAA,IAAc,OAAM;AAAA,OAAe;AAAA;AAElD,GAAG,kDAAkD,MAAM;AACzD,SAAO,MAAM,oCAAC,cAAD;AAAA,IAAc,OAAM;AAAA,OAAa;AAAA;AAEhD,GAAG,+DAA+D,MAAM;AACtE,SAAO,MAAM,oCAAC,cAAD;AAAA,IAAc,OAAM;AAAA,IAAU,MAAK;AAAA,OAAU;AAAA;AAE5D,GAAG,+DAA+D,MAAM;AACtE,SAAO,MAAM,oCAAC,cAAD;AAAA,IAAc,OAAM;AAAA,IAAU,MAAK;AAAA,OAAU;AAAA;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
function pdfFile() {
|
|
3
|
+
return /* @__PURE__ */ React.createElement("g", null, /* @__PURE__ */ React.createElement("polygon", {
|
|
4
|
+
points: "4 19 4 7 2 7 2 21 18 21 18 19 4 19"
|
|
5
|
+
}), /* @__PURE__ */ React.createElement("g", null, /* @__PURE__ */ React.createElement("path", {
|
|
6
|
+
d: "M9.594,8.364h-.838v1.504h.823c.243,0,.429-.061.557-.183.128-.122.192-.294.192-.516,0-.243-.066-.438-.197-.584-.131-.146-.31-.22-.537-.222Z"
|
|
7
|
+
}), /* @__PURE__ */ React.createElement("path", {
|
|
8
|
+
d: "M13.952,8.364h-.422v3.276h.437c.36,0,.637-.128.831-.385.193-.257.29-.638.29-1.144v-.226c0-.504-.097-.883-.29-1.139-.193-.255-.475-.383-.845-.383Z"
|
|
9
|
+
}), /* @__PURE__ */ React.createElement("path", {
|
|
10
|
+
d: "M6,3v14h16V3H6ZM11.057,10.381c-.364.304-.863.456-1.498.456h-.802v1.769h-1.257v-5.213h2.08c.399,0,.751.073,1.058.22s.544.356.712.627c.168.271.252.578.252.922,0,.508-.182.915-.546,1.219ZM16.368,10.111c0,.477-.101.905-.303,1.284-.202.378-.486.674-.852.888-.366.214-.775.322-1.226.324h-1.715v-5.213h1.679c.461,0,.875.104,1.242.313.368.209.655.504.861.884.206.381.311.807.313,1.28v.24ZM20.5,8.364h-2.231v1.199h2.026v.967h-2.026v2.077h-1.257v-5.213h3.487v.97Z"
|
|
11
|
+
})));
|
|
12
|
+
}
|
|
13
|
+
pdfFile.props = [];
|
|
14
|
+
var config_default = pdfFile;
|
|
15
|
+
export {
|
|
16
|
+
config_default as default,
|
|
17
|
+
pdfFile
|
|
18
|
+
};
|
|
19
|
+
//# sourceMappingURL=config.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../src/PdfFileIcon/config.tsx"],
|
|
4
|
+
"sourcesContent": ["import React from 'react';\n\nexport interface PdfFileType {}\n\nexport function pdfFile(): React.ReactElement {\n return (\n <g>\n <polygon points=\"4 19 4 7 2 7 2 21 18 21 18 19 4 19\" />\n <g>\n <path d=\"M9.594,8.364h-.838v1.504h.823c.243,0,.429-.061.557-.183.128-.122.192-.294.192-.516,0-.243-.066-.438-.197-.584-.131-.146-.31-.22-.537-.222Z\" />\n <path d=\"M13.952,8.364h-.422v3.276h.437c.36,0,.637-.128.831-.385.193-.257.29-.638.29-1.144v-.226c0-.504-.097-.883-.29-1.139-.193-.255-.475-.383-.845-.383Z\" />\n <path d=\"M6,3v14h16V3H6ZM11.057,10.381c-.364.304-.863.456-1.498.456h-.802v1.769h-1.257v-5.213h2.08c.399,0,.751.073,1.058.22s.544.356.712.627c.168.271.252.578.252.922,0,.508-.182.915-.546,1.219ZM16.368,10.111c0,.477-.101.905-.303,1.284-.202.378-.486.674-.852.888-.366.214-.775.322-1.226.324h-1.715v-5.213h1.679c.461,0,.875.104,1.242.313.368.209.655.504.861.884.206.381.311.807.313,1.28v.24ZM20.5,8.364h-2.231v1.199h2.026v.967h-2.026v2.077h-1.257v-5.213h3.487v.97Z\" />\n </g>\n </g>\n );\n}\n\npdfFile.props = [];\n\nexport default pdfFile;\n"],
|
|
5
|
+
"mappings": "AAAA;AAIO,mBAAuC;AAC5C,SACE,oCAAC,KAAD,MACE,oCAAC,WAAD;AAAA,IAAS,QAAO;AAAA,MAChB,oCAAC,KAAD,MACE,oCAAC,QAAD;AAAA,IAAM,GAAE;AAAA,MACR,oCAAC,QAAD;AAAA,IAAM,GAAE;AAAA,MACR,oCAAC,QAAD;AAAA,IAAM,GAAE;AAAA;AAAA;AAMhB,QAAQ,QAAQ;AAEhB,IAAO,iBAAQ;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import Icon from "@digigov/react-icons/Icon";
|
|
3
|
+
const PdfFileIcon = (props) => {
|
|
4
|
+
return /* @__PURE__ */ React.createElement(Icon, {
|
|
5
|
+
...props,
|
|
6
|
+
icon: "pdfFile"
|
|
7
|
+
});
|
|
8
|
+
};
|
|
9
|
+
var PdfFileIcon_default = PdfFileIcon;
|
|
10
|
+
export {
|
|
11
|
+
PdfFileIcon,
|
|
12
|
+
PdfFileIcon_default as default
|
|
13
|
+
};
|
|
14
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../src/PdfFileIcon/index.tsx"],
|
|
4
|
+
"sourcesContent": ["import React from 'react';\nimport Icon, { IconProps } from '@digigov/react-icons/Icon';\n\nexport const PdfFileIcon: React.FC<IconProps<'pdfFile'>> = (props) => {\n return <Icon {...props} icon=\"pdfFile\"></Icon>;\n};\n\nexport default PdfFileIcon;\n"],
|
|
5
|
+
"mappings": "AAAA;AACA;AAEO,MAAM,cAA8C,CAAC,UAAU;AACpE,SAAO,oCAAC,MAAD;AAAA,OAAU;AAAA,IAAO,MAAK;AAAA;AAAA;AAG/B,IAAO,sBAAQ;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import {mount} from "enzyme";
|
|
3
|
+
import PdfFileIcon from "@digigov/react-icons/PdfFileIcon";
|
|
4
|
+
it("renders the PdfFileIcon with no props", () => {
|
|
5
|
+
expect(mount(/* @__PURE__ */ React.createElement(PdfFileIcon, null))).toMatchSnapshot();
|
|
6
|
+
});
|
|
7
|
+
it("renders the PdfFileIcon with prop size=m", () => {
|
|
8
|
+
expect(mount(/* @__PURE__ */ React.createElement(PdfFileIcon, {
|
|
9
|
+
size: "md"
|
|
10
|
+
}))).toMatchSnapshot();
|
|
11
|
+
});
|
|
12
|
+
it("renders the PdfFileIcon with prop size=xl", () => {
|
|
13
|
+
expect(mount(/* @__PURE__ */ React.createElement(PdfFileIcon, {
|
|
14
|
+
size: "xl"
|
|
15
|
+
}))).toMatchSnapshot();
|
|
16
|
+
});
|
|
17
|
+
it("renders the PdfFileIcon with prop color=white", () => {
|
|
18
|
+
expect(mount(/* @__PURE__ */ React.createElement(PdfFileIcon, {
|
|
19
|
+
color: "white"
|
|
20
|
+
}))).toMatchSnapshot();
|
|
21
|
+
});
|
|
22
|
+
it("renders the PdfFileIcon with prop color=warning", () => {
|
|
23
|
+
expect(mount(/* @__PURE__ */ React.createElement(PdfFileIcon, {
|
|
24
|
+
color: "warning"
|
|
25
|
+
}))).toMatchSnapshot();
|
|
26
|
+
});
|
|
27
|
+
it("renders the PdfFileIcon with prop color=warning and size=s", () => {
|
|
28
|
+
expect(mount(/* @__PURE__ */ React.createElement(PdfFileIcon, {
|
|
29
|
+
color: "warning",
|
|
30
|
+
size: "sm"
|
|
31
|
+
}))).toMatchSnapshot();
|
|
32
|
+
});
|
|
33
|
+
it("renders the PdfFileIcon with prop color=error and size= xl", () => {
|
|
34
|
+
expect(mount(/* @__PURE__ */ React.createElement(PdfFileIcon, {
|
|
35
|
+
color: "warning",
|
|
36
|
+
size: "xl"
|
|
37
|
+
}))).toMatchSnapshot();
|
|
38
|
+
});
|
|
39
|
+
//# sourceMappingURL=index.test.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,7 @@
|
|
|
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;AACA;AAEA;AAEA,GAAG,yCAAyC,MAAM;AAChD,SAAO,MAAM,oCAAC,aAAD,QAAkB;AAAA;AAEjC,GAAG,4CAA4C,MAAM;AACnD,SAAO,MAAM,oCAAC,aAAD;AAAA,IAAa,MAAK;AAAA,OAAU;AAAA;AAE3C,GAAG,6CAA6C,MAAM;AACpD,SAAO,MAAM,oCAAC,aAAD;AAAA,IAAa,MAAK;AAAA,OAAU;AAAA;AAE3C,GAAG,iDAAiD,MAAM;AACxD,SAAO,MAAM,oCAAC,aAAD;AAAA,IAAa,OAAM;AAAA,OAAa;AAAA;AAE/C,GAAG,mDAAmD,MAAM;AAC1D,SAAO,MAAM,oCAAC,aAAD;AAAA,IAAa,OAAM;AAAA,OAAe;AAAA;AAEjD,GAAG,8DAA8D,MAAM;AACrE,SAAO,MAAM,oCAAC,aAAD;AAAA,IAAa,OAAM;AAAA,IAAU,MAAK;AAAA,OAAU;AAAA;AAE3D,GAAG,8DAA8D,MAAM;AACrE,SAAO,MAAM,oCAAC,aAAD;AAAA,IAAa,OAAM;AAAA,IAAU,MAAK;AAAA,OAAU;AAAA;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
function plus() {
|
|
3
|
+
return /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement("polygon", {
|
|
4
|
+
points: "22 10.35 13.65 10.35 13.65 2 10.35 2 10.35 10.35 2 10.35 2 13.65 10.35 13.65 10.35 22 13.65 22 13.65 13.65 22 13.65 22 10.35"
|
|
5
|
+
}));
|
|
6
|
+
}
|
|
7
|
+
plus.props = [];
|
|
8
|
+
var config_default = plus;
|
|
9
|
+
export {
|
|
10
|
+
config_default as default,
|
|
11
|
+
plus
|
|
12
|
+
};
|
|
13
|
+
//# sourceMappingURL=config.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../src/PlusIcon/config.tsx"],
|
|
4
|
+
"sourcesContent": ["import React from 'react';\n\nexport interface PlusType {}\n\nexport function plus(): React.ReactElement {\n return (\n <>\n <polygon points=\"22 10.35 13.65 10.35 13.65 2 10.35 2 10.35 10.35 2 10.35 2 13.65 10.35 13.65 10.35 22 13.65 22 13.65 13.65 22 13.65 22 10.35\" />\n </>\n );\n}\n\nplus.props = [];\n\nexport default plus;\n"],
|
|
5
|
+
"mappings": "AAAA;AAIO,gBAAoC;AACzC,SACE,0DACE,oCAAC,WAAD;AAAA,IAAS,QAAO;AAAA;AAAA;AAKtB,KAAK,QAAQ;AAEb,IAAO,iBAAQ;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import Icon from "@digigov/react-icons/Icon";
|
|
3
|
+
const PlusIcon = (props) => {
|
|
4
|
+
return /* @__PURE__ */ React.createElement(Icon, {
|
|
5
|
+
...props,
|
|
6
|
+
icon: "plus"
|
|
7
|
+
});
|
|
8
|
+
};
|
|
9
|
+
var PlusIcon_default = PlusIcon;
|
|
10
|
+
export {
|
|
11
|
+
PlusIcon,
|
|
12
|
+
PlusIcon_default as default
|
|
13
|
+
};
|
|
14
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../src/PlusIcon/index.tsx"],
|
|
4
|
+
"sourcesContent": ["import React from 'react';\nimport Icon, { IconProps } from '@digigov/react-icons/Icon';\n\nexport const PlusIcon: React.FC<IconProps<'plus'>> = (props) => {\n return <Icon {...props} icon=\"plus\"></Icon>;\n};\n\nexport default PlusIcon;\n"],
|
|
5
|
+
"mappings": "AAAA;AACA;AAEO,MAAM,WAAwC,CAAC,UAAU;AAC9D,SAAO,oCAAC,MAAD;AAAA,OAAU;AAAA,IAAO,MAAK;AAAA;AAAA;AAG/B,IAAO,mBAAQ;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import {mount} from "enzyme";
|
|
3
|
+
import PlusIcon from "@digigov/react-icons/PlusIcon";
|
|
4
|
+
it("renders the PlusIcon with no props", () => {
|
|
5
|
+
expect(mount(/* @__PURE__ */ React.createElement(PlusIcon, null))).toMatchSnapshot();
|
|
6
|
+
});
|
|
7
|
+
it("renders the PlusIcon with prop size=m", () => {
|
|
8
|
+
expect(mount(/* @__PURE__ */ React.createElement(PlusIcon, {
|
|
9
|
+
size: "md"
|
|
10
|
+
}))).toMatchSnapshot();
|
|
11
|
+
});
|
|
12
|
+
it("renders the PlusIcon with prop size=xl", () => {
|
|
13
|
+
expect(mount(/* @__PURE__ */ React.createElement(PlusIcon, {
|
|
14
|
+
size: "xl"
|
|
15
|
+
}))).toMatchSnapshot();
|
|
16
|
+
});
|
|
17
|
+
it("renders the PlusIcon with prop color=white", () => {
|
|
18
|
+
expect(mount(/* @__PURE__ */ React.createElement(PlusIcon, {
|
|
19
|
+
color: "white"
|
|
20
|
+
}))).toMatchSnapshot();
|
|
21
|
+
});
|
|
22
|
+
it("renders the PlusIcon with prop color=warning", () => {
|
|
23
|
+
expect(mount(/* @__PURE__ */ React.createElement(PlusIcon, {
|
|
24
|
+
color: "warning"
|
|
25
|
+
}))).toMatchSnapshot();
|
|
26
|
+
});
|
|
27
|
+
it("renders the PlusIcon with prop color=warning and size=s", () => {
|
|
28
|
+
expect(mount(/* @__PURE__ */ React.createElement(PlusIcon, {
|
|
29
|
+
color: "warning",
|
|
30
|
+
size: "sm"
|
|
31
|
+
}))).toMatchSnapshot();
|
|
32
|
+
});
|
|
33
|
+
it("renders the PlusIcon with prop color=error and size= xl", () => {
|
|
34
|
+
expect(mount(/* @__PURE__ */ React.createElement(PlusIcon, {
|
|
35
|
+
color: "warning",
|
|
36
|
+
size: "xl"
|
|
37
|
+
}))).toMatchSnapshot();
|
|
38
|
+
});
|
|
39
|
+
//# sourceMappingURL=index.test.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../src/PlusIcon/index.test.tsx"],
|
|
4
|
+
"sourcesContent": ["import React from 'react';\nimport { mount } from 'enzyme';\n\nimport PlusIcon from '@digigov/react-icons/PlusIcon';\n\nit('renders the PlusIcon with no props', () => {\n expect(mount(<PlusIcon />)).toMatchSnapshot();\n});\nit('renders the PlusIcon with prop size=m', () => {\n expect(mount(<PlusIcon size=\"md\" />)).toMatchSnapshot();\n});\nit('renders the PlusIcon with prop size=xl', () => {\n expect(mount(<PlusIcon size=\"xl\" />)).toMatchSnapshot();\n});\nit('renders the PlusIcon with prop color=white', () => {\n expect(mount(<PlusIcon color=\"white\" />)).toMatchSnapshot();\n});\nit('renders the PlusIcon with prop color=warning', () => {\n expect(mount(<PlusIcon color=\"warning\" />)).toMatchSnapshot();\n});\nit('renders the PlusIcon with prop color=warning and size=s', () => {\n expect(mount(<PlusIcon color=\"warning\" size=\"sm\" />)).toMatchSnapshot();\n});\nit('renders the PlusIcon with prop color=error and size= xl', () => {\n expect(mount(<PlusIcon color=\"warning\" size=\"xl\" />)).toMatchSnapshot();\n});\n"],
|
|
5
|
+
"mappings": "AAAA;AACA;AAEA;AAEA,GAAG,sCAAsC,MAAM;AAC7C,SAAO,MAAM,oCAAC,UAAD,QAAe;AAAA;AAE9B,GAAG,yCAAyC,MAAM;AAChD,SAAO,MAAM,oCAAC,UAAD;AAAA,IAAU,MAAK;AAAA,OAAU;AAAA;AAExC,GAAG,0CAA0C,MAAM;AACjD,SAAO,MAAM,oCAAC,UAAD;AAAA,IAAU,MAAK;AAAA,OAAU;AAAA;AAExC,GAAG,8CAA8C,MAAM;AACrD,SAAO,MAAM,oCAAC,UAAD;AAAA,IAAU,OAAM;AAAA,OAAa;AAAA;AAE5C,GAAG,gDAAgD,MAAM;AACvD,SAAO,MAAM,oCAAC,UAAD;AAAA,IAAU,OAAM;AAAA,OAAe;AAAA;AAE9C,GAAG,2DAA2D,MAAM;AAClE,SAAO,MAAM,oCAAC,UAAD;AAAA,IAAU,OAAM;AAAA,IAAU,MAAK;AAAA,OAAU;AAAA;AAExD,GAAG,2DAA2D,MAAM;AAClE,SAAO,MAAM,oCAAC,UAAD;AAAA,IAAU,OAAM;AAAA,IAAU,MAAK;AAAA,OAAU;AAAA;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
function print() {
|
|
3
|
+
return /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement("rect", {
|
|
4
|
+
x: "7",
|
|
5
|
+
y: "2",
|
|
6
|
+
width: "10",
|
|
7
|
+
height: "4"
|
|
8
|
+
}), /* @__PURE__ */ React.createElement("path", {
|
|
9
|
+
d: "M18.7,7.935H5.3c-1.823,0-3.3,1.477-3.3,3.3v6.7h2.4v4.065h15.2v-4.065h2.4v-6.7c0-1.823-1.477-3.3-3.3-3.3ZM17,19.4H7v-5h10v5ZM18.7,12.535c-.718,0-1.3-.582-1.3-1.3s.582-1.3,1.3-1.3,1.3.582,1.3,1.3-.582,1.3-1.3,1.3Z"
|
|
10
|
+
}));
|
|
11
|
+
}
|
|
12
|
+
print.props = [];
|
|
13
|
+
var config_default = print;
|
|
14
|
+
export {
|
|
15
|
+
config_default as default,
|
|
16
|
+
print
|
|
17
|
+
};
|
|
18
|
+
//# sourceMappingURL=config.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../src/PrintIcon/config.tsx"],
|
|
4
|
+
"sourcesContent": ["import React from 'react';\n\nexport interface PrintType {}\n\nexport function print(): React.ReactElement {\n return (\n <>\n <rect x=\"7\" y=\"2\" width=\"10\" height=\"4\" />\n <path d=\"M18.7,7.935H5.3c-1.823,0-3.3,1.477-3.3,3.3v6.7h2.4v4.065h15.2v-4.065h2.4v-6.7c0-1.823-1.477-3.3-3.3-3.3ZM17,19.4H7v-5h10v5ZM18.7,12.535c-.718,0-1.3-.582-1.3-1.3s.582-1.3,1.3-1.3,1.3.582,1.3,1.3-.582,1.3-1.3,1.3Z\" />\n </>\n );\n}\n\nprint.props = [];\n\nexport default print;\n"],
|
|
5
|
+
"mappings": "AAAA;AAIO,iBAAqC;AAC1C,SACE,0DACE,oCAAC,QAAD;AAAA,IAAM,GAAE;AAAA,IAAI,GAAE;AAAA,IAAI,OAAM;AAAA,IAAK,QAAO;AAAA,MACpC,oCAAC,QAAD;AAAA,IAAM,GAAE;AAAA;AAAA;AAKd,MAAM,QAAQ;AAEd,IAAO,iBAAQ;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import Icon from "@digigov/react-icons/Icon";
|
|
3
|
+
const PrintIcon = (props) => {
|
|
4
|
+
return /* @__PURE__ */ React.createElement(Icon, {
|
|
5
|
+
...props,
|
|
6
|
+
icon: "print"
|
|
7
|
+
});
|
|
8
|
+
};
|
|
9
|
+
var PrintIcon_default = PrintIcon;
|
|
10
|
+
export {
|
|
11
|
+
PrintIcon,
|
|
12
|
+
PrintIcon_default as default
|
|
13
|
+
};
|
|
14
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../src/PrintIcon/index.tsx"],
|
|
4
|
+
"sourcesContent": ["import React from 'react';\nimport Icon, { IconProps } from '@digigov/react-icons/Icon';\n\nexport const PrintIcon: React.FC<IconProps<'print'>> = (props) => {\n return <Icon {...props} icon=\"print\"></Icon>;\n};\n\nexport default PrintIcon;\n"],
|
|
5
|
+
"mappings": "AAAA;AACA;AAEO,MAAM,YAA0C,CAAC,UAAU;AAChE,SAAO,oCAAC,MAAD;AAAA,OAAU;AAAA,IAAO,MAAK;AAAA;AAAA;AAG/B,IAAO,oBAAQ;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import {mount} from "enzyme";
|
|
3
|
+
import PrintIcon from "@digigov/react-icons/PrintIcon";
|
|
4
|
+
it("renders the PrintIcon with no props", () => {
|
|
5
|
+
expect(mount(/* @__PURE__ */ React.createElement(PrintIcon, null))).toMatchSnapshot();
|
|
6
|
+
});
|
|
7
|
+
it("renders the PrintIcon with prop size=md", () => {
|
|
8
|
+
expect(mount(/* @__PURE__ */ React.createElement(PrintIcon, {
|
|
9
|
+
size: "md"
|
|
10
|
+
}))).toMatchSnapshot();
|
|
11
|
+
});
|
|
12
|
+
it("renders the PrintIcon with prop size=xl", () => {
|
|
13
|
+
expect(mount(/* @__PURE__ */ React.createElement(PrintIcon, {
|
|
14
|
+
size: "xl"
|
|
15
|
+
}))).toMatchSnapshot();
|
|
16
|
+
});
|
|
17
|
+
it("renders the PrintIcon with prop color=white", () => {
|
|
18
|
+
expect(mount(/* @__PURE__ */ React.createElement(PrintIcon, {
|
|
19
|
+
color: "white"
|
|
20
|
+
}))).toMatchSnapshot();
|
|
21
|
+
});
|
|
22
|
+
it("renders the PrintIcon with prop color=warning", () => {
|
|
23
|
+
expect(mount(/* @__PURE__ */ React.createElement(PrintIcon, {
|
|
24
|
+
color: "warning"
|
|
25
|
+
}))).toMatchSnapshot();
|
|
26
|
+
});
|
|
27
|
+
it("renders the PrintIcon with prop color=error and size=sm", () => {
|
|
28
|
+
expect(mount(/* @__PURE__ */ React.createElement(PrintIcon, {
|
|
29
|
+
color: "error",
|
|
30
|
+
size: "sm"
|
|
31
|
+
}))).toMatchSnapshot();
|
|
32
|
+
});
|
|
33
|
+
it("renders the PrintIcon with prop color=info and size= xl", () => {
|
|
34
|
+
expect(mount(/* @__PURE__ */ React.createElement(PrintIcon, {
|
|
35
|
+
color: "info",
|
|
36
|
+
size: "xl"
|
|
37
|
+
}))).toMatchSnapshot();
|
|
38
|
+
});
|
|
39
|
+
//# sourceMappingURL=index.test.js.map
|