@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,23 +1,44 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
var
|
|
4
|
-
Object.
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
var
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
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
|
+
accessibility: () => accessibility,
|
|
26
|
+
default: () => config_default
|
|
18
27
|
});
|
|
28
|
+
var import_react = __toModule(require("react"));
|
|
19
29
|
function accessibility() {
|
|
20
|
-
return
|
|
30
|
+
return /* @__PURE__ */ import_react.default.createElement(import_react.default.Fragment, null, /* @__PURE__ */ import_react.default.createElement("title", null, "\u039C\u03B5\u03BD\u03BF\u03CD \u03A0\u03C1\u03BF\u03C3\u03B2\u03B1\u03C3\u03B9\u03BC\u03CC\u03C4\u03B7\u03C4\u03B1\u03C2"), /* @__PURE__ */ import_react.default.createElement("circle", {
|
|
31
|
+
cx: "12",
|
|
32
|
+
cy: "3",
|
|
33
|
+
r: "3"
|
|
34
|
+
}), /* @__PURE__ */ import_react.default.createElement("path", {
|
|
35
|
+
d: "M19.76,6.13c-4.94,2.01-10.57,2.01-15.51,0c-0.71-0.3-1.55-0.04-1.98,0.66c-1.41,2.6,3.27,3.76,4.94,4.37\n c0.4,0.11,0.81,0.2,1.22,0.28c0.56,0.11,0.92,0.67,0.79,1.25c-0.79,3.66-1.96,9.1-1.96,9.1c-0.46,2.27,2.72,3.15,3.39,0.92L12,17.93\n l1.36,4.78c0.67,2.22,3.85,1.36,3.39-0.92c0,0-1.16-5.4-1.95-9.06c-0.12-0.57,0.22-1.16,0.77-1.27c2.01-0.41,3.94-1.17,5.68-2.31\n C22.89,8.04,21.58,5.38,19.76,6.13z"
|
|
36
|
+
}));
|
|
21
37
|
}
|
|
22
38
|
accessibility.props = [];
|
|
23
|
-
var
|
|
39
|
+
var config_default = accessibility;
|
|
40
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
41
|
+
0 && (module.exports = {
|
|
42
|
+
accessibility
|
|
43
|
+
});
|
|
44
|
+
//# sourceMappingURL=config.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../src/AccessibilityIcon/config.tsx"],
|
|
4
|
+
"sourcesContent": ["import React from 'react';\n\nexport interface AccessibilityType {}\n\nexport function accessibility(): React.ReactElement {\n return (\n <>\n <title>\u039C\u03B5\u03BD\u03BF\u03CD \u03A0\u03C1\u03BF\u03C3\u03B2\u03B1\u03C3\u03B9\u03BC\u03CC\u03C4\u03B7\u03C4\u03B1\u03C2</title>\n <circle cx=\"12\" cy=\"3\" r=\"3\" />\n <path\n d=\"M19.76,6.13c-4.94,2.01-10.57,2.01-15.51,0c-0.71-0.3-1.55-0.04-1.98,0.66c-1.41,2.6,3.27,3.76,4.94,4.37\n\tc0.4,0.11,0.81,0.2,1.22,0.28c0.56,0.11,0.92,0.67,0.79,1.25c-0.79,3.66-1.96,9.1-1.96,9.1c-0.46,2.27,2.72,3.15,3.39,0.92L12,17.93\n\tl1.36,4.78c0.67,2.22,3.85,1.36,3.39-0.92c0,0-1.16-5.4-1.95-9.06c-0.12-0.57,0.22-1.16,0.77-1.27c2.01-0.41,3.94-1.17,5.68-2.31\n\tC22.89,8.04,21.58,5.38,19.76,6.13z\"\n />\n </>\n );\n}\n\naccessibility.props = [];\n\nexport default accessibility;\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,mBAAkB;AAIX,yBAA6C;AAClD,SACE,wFACE,mDAAC,SAAD,MAAO,8HACP,mDAAC,UAAD;AAAA,IAAQ,IAAG;AAAA,IAAK,IAAG;AAAA,IAAI,GAAE;AAAA,MACzB,mDAAC,QAAD;AAAA,IACE,GAAE;AAAA;AAAA;AASV,cAAc,QAAQ;AAEtB,IAAO,iBAAQ;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -1,16 +1,41 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
var
|
|
4
|
-
Object.
|
|
5
|
-
|
|
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
|
+
AccessibilityIcon: () => AccessibilityIcon,
|
|
26
|
+
default: () => AccessibilityIcon_default
|
|
6
27
|
});
|
|
7
|
-
|
|
8
|
-
var
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
return /*#__PURE__*/_react["default"].createElement(_Icon["default"], (0, _extends2["default"])({}, props, {
|
|
28
|
+
var import_react = __toModule(require("react"));
|
|
29
|
+
var import_Icon = __toModule(require("@digigov/react-icons/Icon"));
|
|
30
|
+
const AccessibilityIcon = (props) => {
|
|
31
|
+
return /* @__PURE__ */ import_react.default.createElement(import_Icon.default, {
|
|
32
|
+
...props,
|
|
13
33
|
icon: "accessibility"
|
|
14
|
-
})
|
|
34
|
+
});
|
|
15
35
|
};
|
|
16
|
-
var
|
|
36
|
+
var AccessibilityIcon_default = AccessibilityIcon;
|
|
37
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
38
|
+
0 && (module.exports = {
|
|
39
|
+
AccessibilityIcon
|
|
40
|
+
});
|
|
41
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../src/AccessibilityIcon/index.tsx"],
|
|
4
|
+
"sourcesContent": ["import React from 'react';\nimport Icon, { IconProps } from '@digigov/react-icons/Icon';\n\nexport const AccessibilityIcon: React.FC<IconProps<'accessibility'>> = (\n props\n) => {\n return <Icon {...props} icon=\"accessibility\"></Icon>;\n};\n\nexport default AccessibilityIcon;\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,mBAAkB;AAClB,kBAAgC;AAEzB,MAAM,oBAA0D,CACrE,UACG;AACH,SAAO,mDAAC,qBAAD;AAAA,OAAU;AAAA,IAAO,MAAK;AAAA;AAAA;AAG/B,IAAO,4BAAQ;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -1,60 +1,67 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var
|
|
6
|
-
var
|
|
7
|
-
var
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
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
|
-
|
|
52
|
-
|
|
53
|
-
});
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
});
|
|
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_AccessibilityIcon = __toModule(require("@digigov/react-icons/AccessibilityIcon"));
|
|
22
|
+
it("renders the AccessibilityIcon with no props", () => {
|
|
23
|
+
expect((0, import_enzyme.mount)(/* @__PURE__ */ import_react.default.createElement(import_AccessibilityIcon.default, null))).toMatchSnapshot();
|
|
24
|
+
});
|
|
25
|
+
it("renders the AccessibilityIcon with prop size=s", () => {
|
|
26
|
+
expect((0, import_enzyme.mount)(/* @__PURE__ */ import_react.default.createElement(import_AccessibilityIcon.default, {
|
|
27
|
+
size: "sm"
|
|
28
|
+
}))).toMatchSnapshot();
|
|
29
|
+
});
|
|
30
|
+
it("renders the AccessibilityIcon with prop size=l", () => {
|
|
31
|
+
expect((0, import_enzyme.mount)(/* @__PURE__ */ import_react.default.createElement(import_AccessibilityIcon.default, {
|
|
32
|
+
size: "lg"
|
|
33
|
+
}))).toMatchSnapshot();
|
|
34
|
+
});
|
|
35
|
+
it("renders the AccessibilityIcon with prop color=base-content", () => {
|
|
36
|
+
expect((0, import_enzyme.mount)(/* @__PURE__ */ import_react.default.createElement(import_AccessibilityIcon.default, {
|
|
37
|
+
color: "base-content"
|
|
38
|
+
}))).toMatchSnapshot();
|
|
39
|
+
});
|
|
40
|
+
it("renders the AccessibilityIcon with prop color=primary", () => {
|
|
41
|
+
expect((0, import_enzyme.mount)(/* @__PURE__ */ import_react.default.createElement(import_AccessibilityIcon.default, {
|
|
42
|
+
color: "primary"
|
|
43
|
+
}))).toMatchSnapshot();
|
|
44
|
+
});
|
|
45
|
+
it("renders the AccessibilityIcon with prop color=success", () => {
|
|
46
|
+
expect((0, import_enzyme.mount)(/* @__PURE__ */ import_react.default.createElement(import_AccessibilityIcon.default, {
|
|
47
|
+
color: "success"
|
|
48
|
+
}))).toMatchSnapshot();
|
|
49
|
+
});
|
|
50
|
+
it("renders the AccessibilityIcon with prop color=error", () => {
|
|
51
|
+
expect((0, import_enzyme.mount)(/* @__PURE__ */ import_react.default.createElement(import_AccessibilityIcon.default, {
|
|
52
|
+
color: "error"
|
|
53
|
+
}))).toMatchSnapshot();
|
|
54
|
+
});
|
|
55
|
+
it("renders the AccessibilityIcon with prop color=warning and size=s", () => {
|
|
56
|
+
expect((0, import_enzyme.mount)(/* @__PURE__ */ import_react.default.createElement(import_AccessibilityIcon.default, {
|
|
57
|
+
color: "warning",
|
|
58
|
+
size: "sm"
|
|
59
|
+
}))).toMatchSnapshot();
|
|
60
|
+
});
|
|
61
|
+
it("renders the AccessibilityIcon with prop color=error and size= xl", () => {
|
|
62
|
+
expect((0, import_enzyme.mount)(/* @__PURE__ */ import_react.default.createElement(import_AccessibilityIcon.default, {
|
|
63
|
+
color: "warning",
|
|
64
|
+
size: "xl"
|
|
65
|
+
}))).toMatchSnapshot();
|
|
66
|
+
});
|
|
67
|
+
//# sourceMappingURL=index.test.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../src/AccessibilityIcon/index.test.tsx"],
|
|
4
|
+
"sourcesContent": ["import React from 'react';\nimport { mount } from 'enzyme';\n\nimport AccessibilityIcon from '@digigov/react-icons/AccessibilityIcon';\n\nit('renders the AccessibilityIcon with no props', () => {\n expect(mount(<AccessibilityIcon />)).toMatchSnapshot();\n});\nit('renders the AccessibilityIcon with prop size=s', () => {\n expect(mount(<AccessibilityIcon size=\"sm\" />)).toMatchSnapshot();\n});\nit('renders the AccessibilityIcon with prop size=l', () => {\n expect(mount(<AccessibilityIcon size=\"lg\" />)).toMatchSnapshot();\n});\nit('renders the AccessibilityIcon with prop color=base-content', () => {\n expect(mount(<AccessibilityIcon color=\"base-content\" />)).toMatchSnapshot();\n});\nit('renders the AccessibilityIcon with prop color=primary', () => {\n expect(mount(<AccessibilityIcon color=\"primary\" />)).toMatchSnapshot();\n});\nit('renders the AccessibilityIcon with prop color=success', () => {\n expect(mount(<AccessibilityIcon color=\"success\" />)).toMatchSnapshot();\n});\nit('renders the AccessibilityIcon with prop color=error', () => {\n expect(mount(<AccessibilityIcon color=\"error\" />)).toMatchSnapshot();\n});\nit('renders the AccessibilityIcon with prop color=warning and size=s', () => {\n expect(\n mount(<AccessibilityIcon color=\"warning\" size=\"sm\" />)\n ).toMatchSnapshot();\n});\nit('renders the AccessibilityIcon with prop color=error and size= xl', () => {\n expect(\n mount(<AccessibilityIcon color=\"warning\" size=\"xl\" />)\n ).toMatchSnapshot();\n});\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;AAAA,mBAAkB;AAClB,oBAAsB;AAEtB,+BAA8B;AAE9B,GAAG,+CAA+C,MAAM;AACtD,SAAO,yBAAM,mDAAC,kCAAD,QAAwB;AAAA;AAEvC,GAAG,kDAAkD,MAAM;AACzD,SAAO,yBAAM,mDAAC,kCAAD;AAAA,IAAmB,MAAK;AAAA,OAAU;AAAA;AAEjD,GAAG,kDAAkD,MAAM;AACzD,SAAO,yBAAM,mDAAC,kCAAD;AAAA,IAAmB,MAAK;AAAA,OAAU;AAAA;AAEjD,GAAG,8DAA8D,MAAM;AACrE,SAAO,yBAAM,mDAAC,kCAAD;AAAA,IAAmB,OAAM;AAAA,OAAoB;AAAA;AAE5D,GAAG,yDAAyD,MAAM;AAChE,SAAO,yBAAM,mDAAC,kCAAD;AAAA,IAAmB,OAAM;AAAA,OAAe;AAAA;AAEvD,GAAG,yDAAyD,MAAM;AAChE,SAAO,yBAAM,mDAAC,kCAAD;AAAA,IAAmB,OAAM;AAAA,OAAe;AAAA;AAEvD,GAAG,uDAAuD,MAAM;AAC9D,SAAO,yBAAM,mDAAC,kCAAD;AAAA,IAAmB,OAAM;AAAA,OAAa;AAAA;AAErD,GAAG,oEAAoE,MAAM;AAC3E,SACE,yBAAM,mDAAC,kCAAD;AAAA,IAAmB,OAAM;AAAA,IAAU,MAAK;AAAA,OAC9C;AAAA;AAEJ,GAAG,oEAAoE,MAAM;AAC3E,SACE,yBAAM,mDAAC,kCAAD;AAAA,IAAmB,OAAM;AAAA,IAAU,MAAK;AAAA,OAC9C;AAAA;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -1,29 +1,46 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
var
|
|
4
|
-
Object.
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
var
|
|
9
|
-
var
|
|
10
|
-
|
|
11
|
-
}
|
|
12
|
-
var
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
|
|
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
|
+
arrow: () => arrow,
|
|
26
|
+
default: () => config_default
|
|
20
27
|
});
|
|
21
|
-
var
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
28
|
+
var import_react = __toModule(require("react"));
|
|
29
|
+
const arrow = ({direction = "up"}) => {
|
|
30
|
+
return /* @__PURE__ */ import_react.default.createElement(import_react.default.Fragment, null, direction === "left" && /* @__PURE__ */ import_react.default.createElement("polygon", {
|
|
31
|
+
points: "14.4 19.7 8.48 13.7 21.93 13.7 22 10.37 8.48 10.32 14.4 4.4 12 2 2 12 12 22 14.4 19.7"
|
|
32
|
+
}), direction === "right" && /* @__PURE__ */ import_react.default.createElement("polygon", {
|
|
33
|
+
points: "9.6 4.3 15.52 10.3 2.07 10.3 2 13.63 15.52 13.68 9.6 19.6 12 22 22 12 12 2 9.6 4.3"
|
|
34
|
+
}), direction === "up" && /* @__PURE__ */ import_react.default.createElement("polygon", {
|
|
35
|
+
points: "22 12 12 2 2 12 4.3 14.4 10.3 8.48 10.3 21.93 13.63 22 13.68 8.48 19.6 14.4 22 12"
|
|
36
|
+
}), direction === "down" && /* @__PURE__ */ import_react.default.createElement("polygon", {
|
|
37
|
+
points: "19.7 9.6 13.7 15.52 13.7 2.07 10.37 2 10.32 15.52 4.4 9.6 2 12 12 22 22 12 19.7 9.6"
|
|
38
|
+
}));
|
|
25
39
|
};
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
40
|
+
arrow.props = ["direction"];
|
|
41
|
+
var config_default = arrow;
|
|
42
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
43
|
+
0 && (module.exports = {
|
|
44
|
+
arrow
|
|
45
|
+
});
|
|
46
|
+
//# sourceMappingURL=config.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../src/ArrowIcon/config.tsx"],
|
|
4
|
+
"sourcesContent": ["import React from 'react';\n\nexport interface ArrowType {\n /**\n * @value 'left'\n * @value 'right'\n * @value 'up'\n * @value 'down'\n * @default 'up'\n */\n direction?: 'left' | 'right' | 'up' | 'down';\n}\n\nexport const arrow: React.FC<ArrowType> = ({ direction = 'up' }) => {\n return (\n <>\n {direction === 'left' && (\n <polygon points=\"14.4 19.7 8.48 13.7 21.93 13.7 22 10.37 8.48 10.32 14.4 4.4 12 2 2 12 12 22 14.4 19.7\" />\n )}\n {direction === 'right' && (\n <polygon points=\"9.6 4.3 15.52 10.3 2.07 10.3 2 13.63 15.52 13.68 9.6 19.6 12 22 22 12 12 2 9.6 4.3\" />\n )}\n {direction === 'up' && (\n <polygon points=\"22 12 12 2 2 12 4.3 14.4 10.3 8.48 10.3 21.93 13.63 22 13.68 8.48 19.6 14.4 22 12\" />\n )}\n {direction === 'down' && (\n <polygon points=\"19.7 9.6 13.7 15.52 13.7 2.07 10.37 2 10.32 15.52 4.4 9.6 2 12 12 22 22 12 19.7 9.6\" />\n )}\n </>\n );\n};\n// eslint-disable-next-line @typescript-eslint/ban-ts-comment\n// @ts-ignore\narrow.props = ['direction'];\n\nexport default arrow;\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,mBAAkB;AAaX,MAAM,QAA6B,CAAC,CAAE,YAAY,UAAW;AAClE,SACE,wFACG,cAAc,UACb,mDAAC,WAAD;AAAA,IAAS,QAAO;AAAA,MAEjB,cAAc,WACb,mDAAC,WAAD;AAAA,IAAS,QAAO;AAAA,MAEjB,cAAc,QACb,mDAAC,WAAD;AAAA,IAAS,QAAO;AAAA,MAEjB,cAAc,UACb,mDAAC,WAAD;AAAA,IAAS,QAAO;AAAA;AAAA;AAOxB,MAAM,QAAQ,CAAC;AAEf,IAAO,iBAAQ;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
package/cjs/ArrowIcon/index.js
CHANGED
|
@@ -1,16 +1,41 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
var
|
|
4
|
-
Object.
|
|
5
|
-
|
|
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
|
+
ArrowIcon: () => ArrowIcon,
|
|
26
|
+
default: () => ArrowIcon_default
|
|
6
27
|
});
|
|
7
|
-
|
|
8
|
-
var
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
return /*#__PURE__*/_react["default"].createElement(_Icon["default"], (0, _extends2["default"])({}, props, {
|
|
28
|
+
var import_react = __toModule(require("react"));
|
|
29
|
+
var import_Icon = __toModule(require("@digigov/react-icons/Icon"));
|
|
30
|
+
const ArrowIcon = (props) => {
|
|
31
|
+
return /* @__PURE__ */ import_react.default.createElement(import_Icon.default, {
|
|
32
|
+
...props,
|
|
13
33
|
icon: "arrow"
|
|
14
|
-
})
|
|
34
|
+
});
|
|
15
35
|
};
|
|
16
|
-
var
|
|
36
|
+
var ArrowIcon_default = ArrowIcon;
|
|
37
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
38
|
+
0 && (module.exports = {
|
|
39
|
+
ArrowIcon
|
|
40
|
+
});
|
|
41
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../src/ArrowIcon/index.tsx"],
|
|
4
|
+
"sourcesContent": ["import React from 'react';\nimport Icon, { IconProps } from '@digigov/react-icons/Icon';\n\nexport const ArrowIcon: React.FC<IconProps<'arrow'>> = (props) => {\n return <Icon {...props} icon=\"arrow\"></Icon>;\n};\n\nexport default ArrowIcon;\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
|
+
}
|
|
@@ -1,28 +1,40 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var
|
|
6
|
-
var
|
|
7
|
-
var
|
|
8
|
-
|
|
9
|
-
|
|
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_ArrowIcon = __toModule(require("@digigov/react-icons/ArrowIcon"));
|
|
22
|
+
it("renders the ArrowIcon with no props, direction prop is right by default", () => {
|
|
23
|
+
expect((0, import_enzyme.mount)(/* @__PURE__ */ import_react.default.createElement(import_ArrowIcon.default, null))).toMatchSnapshot();
|
|
10
24
|
});
|
|
11
|
-
|
|
12
|
-
|
|
25
|
+
it("renders the ArrowIcon with direction left prop", () => {
|
|
26
|
+
expect((0, import_enzyme.mount)(/* @__PURE__ */ import_react.default.createElement(import_ArrowIcon.default, {
|
|
27
|
+
direction: "left"
|
|
28
|
+
}))).toMatchSnapshot();
|
|
13
29
|
});
|
|
14
|
-
it(
|
|
15
|
-
expect((0,
|
|
30
|
+
it("renders the ArrowIcon with direction up prop", () => {
|
|
31
|
+
expect((0, import_enzyme.mount)(/* @__PURE__ */ import_react.default.createElement(import_ArrowIcon.default, {
|
|
32
|
+
direction: "up"
|
|
33
|
+
}))).toMatchSnapshot();
|
|
16
34
|
});
|
|
17
|
-
|
|
18
|
-
|
|
35
|
+
it("renders the ArrowIcon with direction down prop", () => {
|
|
36
|
+
expect((0, import_enzyme.mount)(/* @__PURE__ */ import_react.default.createElement(import_ArrowIcon.default, {
|
|
37
|
+
direction: "down"
|
|
38
|
+
}))).toMatchSnapshot();
|
|
19
39
|
});
|
|
20
|
-
|
|
21
|
-
expect((0, _enzyme.mount)(_ref3)).toMatchSnapshot();
|
|
22
|
-
});
|
|
23
|
-
var _ref4 = /*#__PURE__*/_react["default"].createElement(_ArrowIcon["default"], {
|
|
24
|
-
direction: "down"
|
|
25
|
-
});
|
|
26
|
-
it('renders the ArrowIcon with direction down prop', function () {
|
|
27
|
-
expect((0, _enzyme.mount)(_ref4)).toMatchSnapshot();
|
|
28
|
-
});
|
|
40
|
+
//# sourceMappingURL=index.test.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../src/ArrowIcon/index.test.tsx"],
|
|
4
|
+
"sourcesContent": ["import React from 'react';\nimport { mount } from 'enzyme';\n\nimport ArrowIcon from '@digigov/react-icons/ArrowIcon';\n\nit('renders the ArrowIcon with no props, direction prop is right by default', () => {\n expect(mount(<ArrowIcon />)).toMatchSnapshot();\n});\n\nit('renders the ArrowIcon with direction left prop', () => {\n expect(mount(<ArrowIcon direction=\"left\" />)).toMatchSnapshot();\n});\n\nit('renders the ArrowIcon with direction up prop', () => {\n expect(mount(<ArrowIcon direction=\"up\" />)).toMatchSnapshot();\n});\n\nit('renders the ArrowIcon with direction down prop', () => {\n expect(mount(<ArrowIcon direction=\"down\" />)).toMatchSnapshot();\n});\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;AAAA,mBAAkB;AAClB,oBAAsB;AAEtB,uBAAsB;AAEtB,GAAG,2EAA2E,MAAM;AAClF,SAAO,yBAAM,mDAAC,0BAAD,QAAgB;AAAA;AAG/B,GAAG,kDAAkD,MAAM;AACzD,SAAO,yBAAM,mDAAC,0BAAD;AAAA,IAAW,WAAU;AAAA,OAAY;AAAA;AAGhD,GAAG,gDAAgD,MAAM;AACvD,SAAO,yBAAM,mDAAC,0BAAD;AAAA,IAAW,WAAU;AAAA,OAAU;AAAA;AAG9C,GAAG,kDAAkD,MAAM;AACzD,SAAO,yBAAM,mDAAC,0BAAD;AAAA,IAAW,WAAU;AAAA,OAAY;AAAA;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -1,35 +1,55 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
var
|
|
4
|
-
Object.
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
var
|
|
9
|
-
var
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
}
|
|
20
|
-
var
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
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
|
+
burger: () => burger,
|
|
26
|
+
default: () => config_default
|
|
24
27
|
});
|
|
25
|
-
var
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
return
|
|
29
|
-
className: (0,
|
|
30
|
-
|
|
28
|
+
var import_react = __toModule(require("react"));
|
|
29
|
+
var import_clsx = __toModule(require("clsx"));
|
|
30
|
+
const burger = ({active = false}) => {
|
|
31
|
+
return /* @__PURE__ */ import_react.default.createElement("g", {
|
|
32
|
+
className: (0, import_clsx.default)({
|
|
33
|
+
[`ds-svg-icon--burger--active`]: active
|
|
34
|
+
})
|
|
35
|
+
}, /* @__PURE__ */ import_react.default.createElement("rect", {
|
|
36
|
+
id: "ds-svg-icon--burger__line-1",
|
|
37
|
+
width: "20",
|
|
38
|
+
height: "3.3"
|
|
39
|
+
}), /* @__PURE__ */ import_react.default.createElement("rect", {
|
|
40
|
+
id: "ds-svg-icon--burger__line-2",
|
|
41
|
+
width: "20",
|
|
42
|
+
height: "3.3"
|
|
43
|
+
}), /* @__PURE__ */ import_react.default.createElement("rect", {
|
|
44
|
+
id: "ds-svg-icon--burger__line-3",
|
|
45
|
+
width: "20",
|
|
46
|
+
height: "3.3"
|
|
47
|
+
}));
|
|
31
48
|
};
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
49
|
+
burger.props = ["active"];
|
|
50
|
+
var config_default = burger;
|
|
51
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
52
|
+
0 && (module.exports = {
|
|
53
|
+
burger
|
|
54
|
+
});
|
|
55
|
+
//# sourceMappingURL=config.js.map
|