@digigov/react-icons 1.2.0-a7ffb5dc → 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
|
@@ -0,0 +1,46 @@
|
|
|
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 __export = (target, all) => {
|
|
9
|
+
for (var name in all)
|
|
10
|
+
__defProp(target, name, {get: all[name], enumerable: true});
|
|
11
|
+
};
|
|
12
|
+
var __reExport = (target, module2, desc) => {
|
|
13
|
+
if (module2 && typeof module2 === "object" || typeof module2 === "function") {
|
|
14
|
+
for (let key of __getOwnPropNames(module2))
|
|
15
|
+
if (!__hasOwnProp.call(target, key) && key !== "default")
|
|
16
|
+
__defProp(target, key, {get: () => module2[key], enumerable: !(desc = __getOwnPropDesc(module2, key)) || desc.enumerable});
|
|
17
|
+
}
|
|
18
|
+
return target;
|
|
19
|
+
};
|
|
20
|
+
var __toModule = (module2) => {
|
|
21
|
+
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);
|
|
22
|
+
};
|
|
23
|
+
__markAsModule(exports);
|
|
24
|
+
__export(exports, {
|
|
25
|
+
default: () => config_default,
|
|
26
|
+
pdfFile: () => pdfFile
|
|
27
|
+
});
|
|
28
|
+
var import_react = __toModule(require("react"));
|
|
29
|
+
function pdfFile() {
|
|
30
|
+
return /* @__PURE__ */ import_react.default.createElement("g", null, /* @__PURE__ */ import_react.default.createElement("polygon", {
|
|
31
|
+
points: "4 19 4 7 2 7 2 21 18 21 18 19 4 19"
|
|
32
|
+
}), /* @__PURE__ */ import_react.default.createElement("g", null, /* @__PURE__ */ import_react.default.createElement("path", {
|
|
33
|
+
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"
|
|
34
|
+
}), /* @__PURE__ */ import_react.default.createElement("path", {
|
|
35
|
+
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"
|
|
36
|
+
}), /* @__PURE__ */ import_react.default.createElement("path", {
|
|
37
|
+
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"
|
|
38
|
+
})));
|
|
39
|
+
}
|
|
40
|
+
pdfFile.props = [];
|
|
41
|
+
var config_default = pdfFile;
|
|
42
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
43
|
+
0 && (module.exports = {
|
|
44
|
+
pdfFile
|
|
45
|
+
});
|
|
46
|
+
//# 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;AAAA;AAAA;AAAA;AAAA;AAAA,mBAAkB;AAIX,mBAAuC;AAC5C,SACE,mDAAC,KAAD,MACE,mDAAC,WAAD;AAAA,IAAS,QAAO;AAAA,MAChB,mDAAC,KAAD,MACE,mDAAC,QAAD;AAAA,IAAM,GAAE;AAAA,MACR,mDAAC,QAAD;AAAA,IAAM,GAAE;AAAA,MACR,mDAAC,QAAD;AAAA,IAAM,GAAE;AAAA;AAAA;AAMhB,QAAQ,QAAQ;AAEhB,IAAO,iBAAQ;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
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 __export = (target, all) => {
|
|
9
|
+
for (var name in all)
|
|
10
|
+
__defProp(target, name, {get: all[name], enumerable: true});
|
|
11
|
+
};
|
|
12
|
+
var __reExport = (target, module2, desc) => {
|
|
13
|
+
if (module2 && typeof module2 === "object" || typeof module2 === "function") {
|
|
14
|
+
for (let key of __getOwnPropNames(module2))
|
|
15
|
+
if (!__hasOwnProp.call(target, key) && key !== "default")
|
|
16
|
+
__defProp(target, key, {get: () => module2[key], enumerable: !(desc = __getOwnPropDesc(module2, key)) || desc.enumerable});
|
|
17
|
+
}
|
|
18
|
+
return target;
|
|
19
|
+
};
|
|
20
|
+
var __toModule = (module2) => {
|
|
21
|
+
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);
|
|
22
|
+
};
|
|
23
|
+
__markAsModule(exports);
|
|
24
|
+
__export(exports, {
|
|
25
|
+
PdfFileIcon: () => PdfFileIcon,
|
|
26
|
+
default: () => PdfFileIcon_default
|
|
27
|
+
});
|
|
28
|
+
var import_react = __toModule(require("react"));
|
|
29
|
+
var import_Icon = __toModule(require("@digigov/react-icons/Icon"));
|
|
30
|
+
const PdfFileIcon = (props) => {
|
|
31
|
+
return /* @__PURE__ */ import_react.default.createElement(import_Icon.default, {
|
|
32
|
+
...props,
|
|
33
|
+
icon: "pdfFile"
|
|
34
|
+
});
|
|
35
|
+
};
|
|
36
|
+
var PdfFileIcon_default = PdfFileIcon;
|
|
37
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
38
|
+
0 && (module.exports = {
|
|
39
|
+
PdfFileIcon
|
|
40
|
+
});
|
|
41
|
+
//# 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;AAAA;AAAA;AAAA;AAAA;AAAA,mBAAkB;AAClB,kBAAgC;AAEzB,MAAM,cAA8C,CAAC,UAAU;AACpE,SAAO,mDAAC,qBAAD;AAAA,OAAU;AAAA,IAAO,MAAK;AAAA;AAAA;AAG/B,IAAO,sBAAQ;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -0,0 +1,57 @@
|
|
|
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
|
|
@@ -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,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
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
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 __export = (target, all) => {
|
|
9
|
+
for (var name in all)
|
|
10
|
+
__defProp(target, name, {get: all[name], enumerable: true});
|
|
11
|
+
};
|
|
12
|
+
var __reExport = (target, module2, desc) => {
|
|
13
|
+
if (module2 && typeof module2 === "object" || typeof module2 === "function") {
|
|
14
|
+
for (let key of __getOwnPropNames(module2))
|
|
15
|
+
if (!__hasOwnProp.call(target, key) && key !== "default")
|
|
16
|
+
__defProp(target, key, {get: () => module2[key], enumerable: !(desc = __getOwnPropDesc(module2, key)) || desc.enumerable});
|
|
17
|
+
}
|
|
18
|
+
return target;
|
|
19
|
+
};
|
|
20
|
+
var __toModule = (module2) => {
|
|
21
|
+
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);
|
|
22
|
+
};
|
|
23
|
+
__markAsModule(exports);
|
|
24
|
+
__export(exports, {
|
|
25
|
+
default: () => config_default,
|
|
26
|
+
plus: () => plus
|
|
27
|
+
});
|
|
28
|
+
var import_react = __toModule(require("react"));
|
|
29
|
+
function plus() {
|
|
30
|
+
return /* @__PURE__ */ import_react.default.createElement(import_react.default.Fragment, null, /* @__PURE__ */ import_react.default.createElement("polygon", {
|
|
31
|
+
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"
|
|
32
|
+
}));
|
|
33
|
+
}
|
|
34
|
+
plus.props = [];
|
|
35
|
+
var config_default = plus;
|
|
36
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
37
|
+
0 && (module.exports = {
|
|
38
|
+
plus
|
|
39
|
+
});
|
|
40
|
+
//# 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;AAAA;AAAA;AAAA;AAAA;AAAA,mBAAkB;AAIX,gBAAoC;AACzC,SACE,wFACE,mDAAC,WAAD;AAAA,IAAS,QAAO;AAAA;AAAA;AAKtB,KAAK,QAAQ;AAEb,IAAO,iBAAQ;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
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 __export = (target, all) => {
|
|
9
|
+
for (var name in all)
|
|
10
|
+
__defProp(target, name, {get: all[name], enumerable: true});
|
|
11
|
+
};
|
|
12
|
+
var __reExport = (target, module2, desc) => {
|
|
13
|
+
if (module2 && typeof module2 === "object" || typeof module2 === "function") {
|
|
14
|
+
for (let key of __getOwnPropNames(module2))
|
|
15
|
+
if (!__hasOwnProp.call(target, key) && key !== "default")
|
|
16
|
+
__defProp(target, key, {get: () => module2[key], enumerable: !(desc = __getOwnPropDesc(module2, key)) || desc.enumerable});
|
|
17
|
+
}
|
|
18
|
+
return target;
|
|
19
|
+
};
|
|
20
|
+
var __toModule = (module2) => {
|
|
21
|
+
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);
|
|
22
|
+
};
|
|
23
|
+
__markAsModule(exports);
|
|
24
|
+
__export(exports, {
|
|
25
|
+
PlusIcon: () => PlusIcon,
|
|
26
|
+
default: () => PlusIcon_default
|
|
27
|
+
});
|
|
28
|
+
var import_react = __toModule(require("react"));
|
|
29
|
+
var import_Icon = __toModule(require("@digigov/react-icons/Icon"));
|
|
30
|
+
const PlusIcon = (props) => {
|
|
31
|
+
return /* @__PURE__ */ import_react.default.createElement(import_Icon.default, {
|
|
32
|
+
...props,
|
|
33
|
+
icon: "plus"
|
|
34
|
+
});
|
|
35
|
+
};
|
|
36
|
+
var PlusIcon_default = PlusIcon;
|
|
37
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
38
|
+
0 && (module.exports = {
|
|
39
|
+
PlusIcon
|
|
40
|
+
});
|
|
41
|
+
//# 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;AAAA;AAAA;AAAA;AAAA;AAAA,mBAAkB;AAClB,kBAAgC;AAEzB,MAAM,WAAwC,CAAC,UAAU;AAC9D,SAAO,mDAAC,qBAAD;AAAA,OAAU;AAAA,IAAO,MAAK;AAAA;AAAA;AAG/B,IAAO,mBAAQ;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -0,0 +1,57 @@
|
|
|
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
|
|
@@ -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,mBAAkB;AAClB,oBAAsB;AAEtB,sBAAqB;AAErB,GAAG,sCAAsC,MAAM;AAC7C,SAAO,yBAAM,mDAAC,yBAAD,QAAe;AAAA;AAE9B,GAAG,yCAAyC,MAAM;AAChD,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,2DAA2D,MAAM;AAClE,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
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
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 __export = (target, all) => {
|
|
9
|
+
for (var name in all)
|
|
10
|
+
__defProp(target, name, {get: all[name], enumerable: true});
|
|
11
|
+
};
|
|
12
|
+
var __reExport = (target, module2, desc) => {
|
|
13
|
+
if (module2 && typeof module2 === "object" || typeof module2 === "function") {
|
|
14
|
+
for (let key of __getOwnPropNames(module2))
|
|
15
|
+
if (!__hasOwnProp.call(target, key) && key !== "default")
|
|
16
|
+
__defProp(target, key, {get: () => module2[key], enumerable: !(desc = __getOwnPropDesc(module2, key)) || desc.enumerable});
|
|
17
|
+
}
|
|
18
|
+
return target;
|
|
19
|
+
};
|
|
20
|
+
var __toModule = (module2) => {
|
|
21
|
+
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);
|
|
22
|
+
};
|
|
23
|
+
__markAsModule(exports);
|
|
24
|
+
__export(exports, {
|
|
25
|
+
default: () => config_default,
|
|
26
|
+
print: () => print
|
|
27
|
+
});
|
|
28
|
+
var import_react = __toModule(require("react"));
|
|
29
|
+
function print() {
|
|
30
|
+
return /* @__PURE__ */ import_react.default.createElement(import_react.default.Fragment, null, /* @__PURE__ */ import_react.default.createElement("rect", {
|
|
31
|
+
x: "7",
|
|
32
|
+
y: "2",
|
|
33
|
+
width: "10",
|
|
34
|
+
height: "4"
|
|
35
|
+
}), /* @__PURE__ */ import_react.default.createElement("path", {
|
|
36
|
+
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"
|
|
37
|
+
}));
|
|
38
|
+
}
|
|
39
|
+
print.props = [];
|
|
40
|
+
var config_default = print;
|
|
41
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
42
|
+
0 && (module.exports = {
|
|
43
|
+
print
|
|
44
|
+
});
|
|
45
|
+
//# 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;AAAA;AAAA;AAAA;AAAA;AAAA,mBAAkB;AAIX,iBAAqC;AAC1C,SACE,wFACE,mDAAC,QAAD;AAAA,IAAM,GAAE;AAAA,IAAI,GAAE;AAAA,IAAI,OAAM;AAAA,IAAK,QAAO;AAAA,MACpC,mDAAC,QAAD;AAAA,IAAM,GAAE;AAAA;AAAA;AAKd,MAAM,QAAQ;AAEd,IAAO,iBAAQ;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
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 __export = (target, all) => {
|
|
9
|
+
for (var name in all)
|
|
10
|
+
__defProp(target, name, {get: all[name], enumerable: true});
|
|
11
|
+
};
|
|
12
|
+
var __reExport = (target, module2, desc) => {
|
|
13
|
+
if (module2 && typeof module2 === "object" || typeof module2 === "function") {
|
|
14
|
+
for (let key of __getOwnPropNames(module2))
|
|
15
|
+
if (!__hasOwnProp.call(target, key) && key !== "default")
|
|
16
|
+
__defProp(target, key, {get: () => module2[key], enumerable: !(desc = __getOwnPropDesc(module2, key)) || desc.enumerable});
|
|
17
|
+
}
|
|
18
|
+
return target;
|
|
19
|
+
};
|
|
20
|
+
var __toModule = (module2) => {
|
|
21
|
+
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);
|
|
22
|
+
};
|
|
23
|
+
__markAsModule(exports);
|
|
24
|
+
__export(exports, {
|
|
25
|
+
PrintIcon: () => PrintIcon,
|
|
26
|
+
default: () => PrintIcon_default
|
|
27
|
+
});
|
|
28
|
+
var import_react = __toModule(require("react"));
|
|
29
|
+
var import_Icon = __toModule(require("@digigov/react-icons/Icon"));
|
|
30
|
+
const PrintIcon = (props) => {
|
|
31
|
+
return /* @__PURE__ */ import_react.default.createElement(import_Icon.default, {
|
|
32
|
+
...props,
|
|
33
|
+
icon: "print"
|
|
34
|
+
});
|
|
35
|
+
};
|
|
36
|
+
var PrintIcon_default = PrintIcon;
|
|
37
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
38
|
+
0 && (module.exports = {
|
|
39
|
+
PrintIcon
|
|
40
|
+
});
|
|
41
|
+
//# 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;AAAA;AAAA;AAAA;AAAA;AAAA,mBAAkB;AAClB,kBAAgC;AAEzB,MAAM,YAA0C,CAAC,UAAU;AAChE,SAAO,mDAAC,qBAAD;AAAA,OAAU;AAAA,IAAO,MAAK;AAAA;AAAA;AAG/B,IAAO,oBAAQ;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -0,0 +1,57 @@
|
|
|
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_PrintIcon = __toModule(require("@digigov/react-icons/PrintIcon"));
|
|
22
|
+
it("renders the PrintIcon with no props", () => {
|
|
23
|
+
expect((0, import_enzyme.mount)(/* @__PURE__ */ import_react.default.createElement(import_PrintIcon.default, null))).toMatchSnapshot();
|
|
24
|
+
});
|
|
25
|
+
it("renders the PrintIcon with prop size=md", () => {
|
|
26
|
+
expect((0, import_enzyme.mount)(/* @__PURE__ */ import_react.default.createElement(import_PrintIcon.default, {
|
|
27
|
+
size: "md"
|
|
28
|
+
}))).toMatchSnapshot();
|
|
29
|
+
});
|
|
30
|
+
it("renders the PrintIcon with prop size=xl", () => {
|
|
31
|
+
expect((0, import_enzyme.mount)(/* @__PURE__ */ import_react.default.createElement(import_PrintIcon.default, {
|
|
32
|
+
size: "xl"
|
|
33
|
+
}))).toMatchSnapshot();
|
|
34
|
+
});
|
|
35
|
+
it("renders the PrintIcon with prop color=white", () => {
|
|
36
|
+
expect((0, import_enzyme.mount)(/* @__PURE__ */ import_react.default.createElement(import_PrintIcon.default, {
|
|
37
|
+
color: "white"
|
|
38
|
+
}))).toMatchSnapshot();
|
|
39
|
+
});
|
|
40
|
+
it("renders the PrintIcon with prop color=warning", () => {
|
|
41
|
+
expect((0, import_enzyme.mount)(/* @__PURE__ */ import_react.default.createElement(import_PrintIcon.default, {
|
|
42
|
+
color: "warning"
|
|
43
|
+
}))).toMatchSnapshot();
|
|
44
|
+
});
|
|
45
|
+
it("renders the PrintIcon with prop color=error and size=sm", () => {
|
|
46
|
+
expect((0, import_enzyme.mount)(/* @__PURE__ */ import_react.default.createElement(import_PrintIcon.default, {
|
|
47
|
+
color: "error",
|
|
48
|
+
size: "sm"
|
|
49
|
+
}))).toMatchSnapshot();
|
|
50
|
+
});
|
|
51
|
+
it("renders the PrintIcon with prop color=info and size= xl", () => {
|
|
52
|
+
expect((0, import_enzyme.mount)(/* @__PURE__ */ import_react.default.createElement(import_PrintIcon.default, {
|
|
53
|
+
color: "info",
|
|
54
|
+
size: "xl"
|
|
55
|
+
}))).toMatchSnapshot();
|
|
56
|
+
});
|
|
57
|
+
//# sourceMappingURL=index.test.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../src/PrintIcon/index.test.tsx"],
|
|
4
|
+
"sourcesContent": ["import React from 'react';\nimport { mount } from 'enzyme';\n\nimport PrintIcon from '@digigov/react-icons/PrintIcon';\n\nit('renders the PrintIcon with no props', () => {\n expect(mount(<PrintIcon />)).toMatchSnapshot();\n});\nit('renders the PrintIcon with prop size=md', () => {\n expect(mount(<PrintIcon size=\"md\" />)).toMatchSnapshot();\n});\nit('renders the PrintIcon with prop size=xl', () => {\n expect(mount(<PrintIcon size=\"xl\" />)).toMatchSnapshot();\n});\nit('renders the PrintIcon with prop color=white', () => {\n expect(mount(<PrintIcon color=\"white\" />)).toMatchSnapshot();\n});\nit('renders the PrintIcon with prop color=warning', () => {\n expect(mount(<PrintIcon color=\"warning\" />)).toMatchSnapshot();\n});\nit('renders the PrintIcon with prop color=error and size=sm', () => {\n expect(mount(<PrintIcon color=\"error\" size=\"sm\" />)).toMatchSnapshot();\n});\nit('renders the PrintIcon with prop color=info and size= xl', () => {\n expect(mount(<PrintIcon color=\"info\" 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,2DAA2D,MAAM;AAClE,SAAO,yBAAM,mDAAC,0BAAD;AAAA,IAAW,OAAM;AAAA,IAAQ,MAAK;AAAA,OAAU;AAAA;AAEvD,GAAG,2DAA2D,MAAM;AAClE,SAAO,yBAAM,mDAAC,0BAAD;AAAA,IAAW,OAAM;AAAA,IAAO,MAAK;AAAA,OAAU;AAAA;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
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 __export = (target, all) => {
|
|
9
|
+
for (var name in all)
|
|
10
|
+
__defProp(target, name, {get: all[name], enumerable: true});
|
|
11
|
+
};
|
|
12
|
+
var __reExport = (target, module2, desc) => {
|
|
13
|
+
if (module2 && typeof module2 === "object" || typeof module2 === "function") {
|
|
14
|
+
for (let key of __getOwnPropNames(module2))
|
|
15
|
+
if (!__hasOwnProp.call(target, key) && key !== "default")
|
|
16
|
+
__defProp(target, key, {get: () => module2[key], enumerable: !(desc = __getOwnPropDesc(module2, key)) || desc.enumerable});
|
|
17
|
+
}
|
|
18
|
+
return target;
|
|
19
|
+
};
|
|
20
|
+
var __toModule = (module2) => {
|
|
21
|
+
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);
|
|
22
|
+
};
|
|
23
|
+
__markAsModule(exports);
|
|
24
|
+
__export(exports, {
|
|
25
|
+
default: () => config_default,
|
|
26
|
+
reply: () => reply
|
|
27
|
+
});
|
|
28
|
+
var import_react = __toModule(require("react"));
|
|
29
|
+
function reply() {
|
|
30
|
+
return /* @__PURE__ */ import_react.default.createElement(import_react.default.Fragment, null, /* @__PURE__ */ import_react.default.createElement("path", {
|
|
31
|
+
d: "M16.35,9.517h-8.034l4.184-4.184-2.334-2.333L2,11.167l8.166,8.167,2.334-2.334-4.184-4.183h8.033c1.296,0,2.35,1.054,2.35,2.35v5.834h3.301v-5.834c0-3.115-2.535-5.65-5.65-5.65Z"
|
|
32
|
+
}));
|
|
33
|
+
}
|
|
34
|
+
reply.props = [];
|
|
35
|
+
var config_default = reply;
|
|
36
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
37
|
+
0 && (module.exports = {
|
|
38
|
+
reply
|
|
39
|
+
});
|
|
40
|
+
//# sourceMappingURL=config.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../src/ReplyIcon/config.tsx"],
|
|
4
|
+
"sourcesContent": ["import React from 'react';\n\nexport interface ReplyType {}\n\nexport function reply(): React.ReactElement {\n return (\n <>\n <path d=\"M16.35,9.517h-8.034l4.184-4.184-2.334-2.333L2,11.167l8.166,8.167,2.334-2.334-4.184-4.183h8.033c1.296,0,2.35,1.054,2.35,2.35v5.834h3.301v-5.834c0-3.115-2.535-5.65-5.65-5.65Z\" />\n </>\n );\n}\n\nreply.props = [];\n\nexport default reply;\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,mBAAkB;AAIX,iBAAqC;AAC1C,SACE,wFACE,mDAAC,QAAD;AAAA,IAAM,GAAE;AAAA;AAAA;AAKd,MAAM,QAAQ;AAEd,IAAO,iBAAQ;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
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 __export = (target, all) => {
|
|
9
|
+
for (var name in all)
|
|
10
|
+
__defProp(target, name, {get: all[name], enumerable: true});
|
|
11
|
+
};
|
|
12
|
+
var __reExport = (target, module2, desc) => {
|
|
13
|
+
if (module2 && typeof module2 === "object" || typeof module2 === "function") {
|
|
14
|
+
for (let key of __getOwnPropNames(module2))
|
|
15
|
+
if (!__hasOwnProp.call(target, key) && key !== "default")
|
|
16
|
+
__defProp(target, key, {get: () => module2[key], enumerable: !(desc = __getOwnPropDesc(module2, key)) || desc.enumerable});
|
|
17
|
+
}
|
|
18
|
+
return target;
|
|
19
|
+
};
|
|
20
|
+
var __toModule = (module2) => {
|
|
21
|
+
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);
|
|
22
|
+
};
|
|
23
|
+
__markAsModule(exports);
|
|
24
|
+
__export(exports, {
|
|
25
|
+
ReplyIcon: () => ReplyIcon,
|
|
26
|
+
default: () => ReplyIcon_default
|
|
27
|
+
});
|
|
28
|
+
var import_react = __toModule(require("react"));
|
|
29
|
+
var import_Icon = __toModule(require("@digigov/react-icons/Icon"));
|
|
30
|
+
const ReplyIcon = (props) => {
|
|
31
|
+
return /* @__PURE__ */ import_react.default.createElement(import_Icon.default, {
|
|
32
|
+
...props,
|
|
33
|
+
icon: "reply"
|
|
34
|
+
});
|
|
35
|
+
};
|
|
36
|
+
var ReplyIcon_default = ReplyIcon;
|
|
37
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
38
|
+
0 && (module.exports = {
|
|
39
|
+
ReplyIcon
|
|
40
|
+
});
|
|
41
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../src/ReplyIcon/index.tsx"],
|
|
4
|
+
"sourcesContent": ["import React from 'react';\nimport Icon, { IconProps } from '@digigov/react-icons/Icon';\n\nexport const ReplyIcon: React.FC<IconProps<'reply'>> = (props) => {\n return <Icon {...props} icon=\"reply\"></Icon>;\n};\n\nexport default ReplyIcon;\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,mBAAkB;AAClB,kBAAgC;AAEzB,MAAM,YAA0C,CAAC,UAAU;AAChE,SAAO,mDAAC,qBAAD;AAAA,OAAU;AAAA,IAAO,MAAK;AAAA;AAAA;AAG/B,IAAO,oBAAQ;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|