@digigov/react-icons 2.0.0-8de46296 → 2.0.0-aefd0709
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 +16 -13
- package/AccessibilityIcon/config.js.map +7 -0
- package/AccessibilityIcon/index.js +10 -8
- package/AccessibilityIcon/index.js.map +7 -0
- package/ArrowIcon/config/index.js +35 -21
- package/ArrowIcon/config.js.map +7 -0
- package/ArrowIcon/index.js +10 -8
- package/ArrowIcon/index.js.map +7 -0
- package/BurgerIcon/config/index.js +47 -27
- package/BurgerIcon/config.d.ts +2 -2
- package/BurgerIcon/config.js.map +7 -0
- package/BurgerIcon/index.js +10 -8
- package/BurgerIcon/index.js.map +7 -0
- package/CancelIcon/config/index.js +16 -7
- package/CancelIcon/config.js.map +7 -0
- package/CancelIcon/index.js +10 -8
- package/CancelIcon/index.js.map +7 -0
- package/CaretIcon/config/index.js +11 -21
- package/CaretIcon/config.js.map +7 -0
- package/CaretIcon/index.js +10 -8
- package/CaretIcon/index.js.map +7 -0
- package/ChatIcon/config/index.js +17 -16
- package/ChatIcon/config.js.map +7 -0
- package/ChatIcon/index.js +10 -8
- package/ChatIcon/index.js.map +7 -0
- package/CheckIcon/config/index.js +16 -7
- package/CheckIcon/config.js.map +7 -0
- package/CheckIcon/index.js +10 -8
- package/CheckIcon/index.js.map +7 -0
- package/ChevronIcon/config/index.js +35 -21
- package/ChevronIcon/config.js.map +7 -0
- package/ChevronIcon/index.js +10 -8
- package/ChevronIcon/index.js.map +7 -0
- package/CloseIcon/config/index.js +16 -7
- package/CloseIcon/config.js.map +7 -0
- package/CloseIcon/index.js +10 -8
- package/CloseIcon/index.js.map +7 -0
- package/DownloadIcon/config/index.js +16 -12
- package/DownloadIcon/config.js.map +7 -0
- package/DownloadIcon/index.js +10 -8
- package/DownloadIcon/index.js.map +7 -0
- package/ExclamationIcon/config/index.js +16 -12
- package/ExclamationIcon/config.js.map +7 -0
- package/ExclamationIcon/index.js +10 -8
- package/ExclamationIcon/index.js.map +7 -0
- package/GlobeIcon/config/index.js +16 -7
- package/GlobeIcon/config.js.map +7 -0
- package/GlobeIcon/index.js +10 -8
- package/GlobeIcon/index.js.map +7 -0
- package/Icon/index.d.ts +2 -2
- package/Icon/index.js +29 -29
- package/Icon/index.js.map +7 -0
- package/IconBase/index.d.ts +95 -0
- package/IconBase/index.js +102 -0
- package/IconBase/index.js.map +7 -0
- package/{Icon/index.test → IconBase}/package.json +1 -1
- package/LockIcon/config/index.js +16 -7
- package/LockIcon/config.js.map +7 -0
- package/LockIcon/index.js +10 -8
- package/LockIcon/index.js.map +7 -0
- package/LoginIcon/config/index.js +22 -10
- package/LoginIcon/config.js.map +7 -0
- package/LoginIcon/index.js +10 -8
- package/LoginIcon/index.js.map +7 -0
- package/MinusIcon/config/index.js +10 -10
- package/MinusIcon/config.js.map +7 -0
- package/MinusIcon/index.js +10 -8
- package/MinusIcon/index.js.map +7 -0
- package/MoreVertIcon/config/index.js +10 -19
- package/MoreVertIcon/config.js.map +7 -0
- package/MoreVertIcon/index.js +10 -8
- package/MoreVertIcon/index.js.map +7 -0
- package/PdfFileIcon/config/index.js +28 -13
- package/PdfFileIcon/config.js.map +7 -0
- package/PdfFileIcon/index.js +10 -8
- package/PdfFileIcon/index.js.map +7 -0
- package/PlusIcon/config/index.js +16 -7
- package/PlusIcon/config.js.map +7 -0
- package/PlusIcon/index.js +10 -8
- package/PlusIcon/index.js.map +7 -0
- package/PrintIcon/config/index.js +16 -13
- package/PrintIcon/config.js.map +7 -0
- package/PrintIcon/index.js +10 -8
- package/PrintIcon/index.js.map +7 -0
- package/ReplyIcon/config/index.js +16 -7
- package/ReplyIcon/config.js.map +7 -0
- package/ReplyIcon/index.js +10 -8
- package/ReplyIcon/index.js.map +7 -0
- package/RestoreIcon/config/index.js +16 -15
- package/RestoreIcon/config.js.map +7 -0
- package/RestoreIcon/index.js +10 -8
- package/RestoreIcon/index.js.map +7 -0
- package/SearchIcon/config/index.js +16 -7
- package/SearchIcon/config.js.map +7 -0
- package/SearchIcon/index.js +10 -8
- package/SearchIcon/index.js.map +7 -0
- package/SvgIcon/index.d.ts +37 -0
- package/SvgIcon/index.js +30 -0
- package/SvgIcon/index.js.map +7 -0
- package/SvgIcon/index.test.d.ts +1 -0
- package/{ChatIcon/index.test → SvgIcon}/package.json +1 -1
- package/UncheckIcon/config/index.js +16 -7
- package/UncheckIcon/config.js.map +7 -0
- package/UncheckIcon/index.js +10 -8
- package/UncheckIcon/index.js.map +7 -0
- package/cjs/AccessibilityIcon/config/index.js +47 -19
- package/cjs/AccessibilityIcon/config.js.map +7 -0
- package/cjs/AccessibilityIcon/index.js +42 -14
- package/cjs/AccessibilityIcon/index.js.map +7 -0
- package/cjs/ArrowIcon/config/index.js +67 -27
- package/cjs/ArrowIcon/config.js.map +7 -0
- package/cjs/ArrowIcon/index.js +42 -14
- package/cjs/ArrowIcon/index.js.map +7 -0
- package/cjs/BurgerIcon/config/index.js +79 -33
- package/cjs/BurgerIcon/config.js.map +7 -0
- package/cjs/BurgerIcon/index.js +42 -14
- package/cjs/BurgerIcon/index.js.map +7 -0
- package/cjs/CancelIcon/config/index.js +47 -13
- package/cjs/CancelIcon/config.js.map +7 -0
- package/cjs/CancelIcon/index.js +42 -14
- package/cjs/CancelIcon/index.js.map +7 -0
- package/cjs/CaretIcon/config/index.js +43 -27
- package/cjs/CaretIcon/config.js.map +7 -0
- package/cjs/CaretIcon/index.js +42 -14
- package/cjs/CaretIcon/index.js.map +7 -0
- package/cjs/ChatIcon/config/index.js +49 -22
- package/cjs/ChatIcon/config.js.map +7 -0
- package/cjs/ChatIcon/index.js +42 -14
- package/cjs/ChatIcon/index.js.map +7 -0
- package/cjs/CheckIcon/config/index.js +47 -13
- package/cjs/CheckIcon/config.js.map +7 -0
- package/cjs/CheckIcon/index.js +42 -14
- package/cjs/CheckIcon/index.js.map +7 -0
- package/cjs/ChevronIcon/config/index.js +67 -27
- package/cjs/ChevronIcon/config.js.map +7 -0
- package/cjs/ChevronIcon/index.js +42 -14
- package/cjs/ChevronIcon/index.js.map +7 -0
- package/cjs/CloseIcon/config/index.js +47 -13
- package/cjs/CloseIcon/config.js.map +7 -0
- package/cjs/CloseIcon/index.js +42 -14
- package/cjs/CloseIcon/index.js.map +7 -0
- package/cjs/DownloadIcon/config/index.js +47 -18
- package/cjs/DownloadIcon/config.js.map +7 -0
- package/cjs/DownloadIcon/index.js +42 -14
- package/cjs/DownloadIcon/index.js.map +7 -0
- package/cjs/ExclamationIcon/config/index.js +47 -18
- package/cjs/ExclamationIcon/config.js.map +7 -0
- package/cjs/ExclamationIcon/index.js +42 -14
- package/cjs/ExclamationIcon/index.js.map +7 -0
- package/cjs/GlobeIcon/config/index.js +47 -13
- package/cjs/GlobeIcon/config.js.map +7 -0
- package/cjs/GlobeIcon/index.js +42 -14
- package/cjs/GlobeIcon/index.js.map +7 -0
- package/cjs/Icon/index.js +61 -38
- package/cjs/Icon/index.js.map +7 -0
- package/cjs/IconBase/index.js +135 -0
- package/cjs/IconBase/index.js.map +7 -0
- package/cjs/LockIcon/config/index.js +47 -13
- package/cjs/LockIcon/config.js.map +7 -0
- package/cjs/LockIcon/index.js +42 -14
- package/cjs/LockIcon/index.js.map +7 -0
- package/cjs/LoginIcon/config/index.js +53 -16
- package/cjs/LoginIcon/config.js.map +7 -0
- package/cjs/LoginIcon/index.js +42 -14
- package/cjs/LoginIcon/index.js.map +7 -0
- package/cjs/MinusIcon/config/index.js +41 -16
- package/cjs/MinusIcon/config.js.map +7 -0
- package/cjs/MinusIcon/index.js +42 -14
- package/cjs/MinusIcon/index.js.map +7 -0
- package/cjs/MoreVertIcon/config/index.js +41 -25
- package/cjs/MoreVertIcon/config.js.map +7 -0
- package/cjs/MoreVertIcon/index.js +42 -14
- package/cjs/MoreVertIcon/index.js.map +7 -0
- package/cjs/PdfFileIcon/config/index.js +59 -19
- package/cjs/PdfFileIcon/config.js.map +7 -0
- package/cjs/PdfFileIcon/index.js +42 -14
- package/cjs/PdfFileIcon/index.js.map +7 -0
- package/cjs/PlusIcon/config/index.js +47 -13
- package/cjs/PlusIcon/config.js.map +7 -0
- package/cjs/PlusIcon/index.js +42 -14
- package/cjs/PlusIcon/index.js.map +7 -0
- package/cjs/PrintIcon/config/index.js +47 -19
- package/cjs/PrintIcon/config.js.map +7 -0
- package/cjs/PrintIcon/index.js +42 -14
- package/cjs/PrintIcon/index.js.map +7 -0
- package/cjs/ReplyIcon/config/index.js +47 -13
- package/cjs/ReplyIcon/config.js.map +7 -0
- package/cjs/ReplyIcon/index.js +42 -14
- package/cjs/ReplyIcon/index.js.map +7 -0
- package/cjs/RestoreIcon/config/index.js +47 -21
- package/cjs/RestoreIcon/config.js.map +7 -0
- package/cjs/RestoreIcon/index.js +42 -14
- package/cjs/RestoreIcon/index.js.map +7 -0
- package/cjs/SearchIcon/config/index.js +47 -13
- package/cjs/SearchIcon/config.js.map +7 -0
- package/cjs/SearchIcon/index.js +42 -14
- package/cjs/SearchIcon/index.js.map +7 -0
- package/cjs/SvgIcon/index.js +63 -0
- package/cjs/SvgIcon/index.js.map +7 -0
- package/cjs/UncheckIcon/config/index.js +47 -13
- package/cjs/UncheckIcon/config.js.map +7 -0
- package/cjs/UncheckIcon/index.js +42 -14
- package/cjs/UncheckIcon/index.js.map +7 -0
- package/cjs/icons/index.js +66 -258
- package/cjs/icons.js.map +7 -0
- package/cjs/index.js +66 -258
- package/cjs/index.js.map +7 -0
- package/cjs/lazy/index.js +166 -0
- package/cjs/lazy.js.map +7 -0
- package/cjs/registry/index.js +124 -72
- package/cjs/registry.js.map +7 -0
- package/icons/index.js +24 -24
- package/icons.d.ts +11 -11
- package/icons.js.map +7 -0
- package/index.js +25 -24
- package/index.js.map +7 -0
- package/lazy/index.js +137 -0
- package/{LockIcon/index.test → lazy}/package.json +1 -1
- package/lazy.d.ts +29 -0
- package/lazy.js.map +7 -0
- package/package.json +4 -8
- package/registry/index.js +96 -64
- package/registry.d.ts +2 -0
- package/registry.js.map +7 -0
- package/src/AccessibilityIcon/__snapshots__/index.test.tsx.snap +288 -371
- package/src/AccessibilityIcon/config.tsx +5 -3
- package/src/AccessibilityIcon/index.test.tsx +24 -16
- package/src/ArrowIcon/__snapshots__/index.test.tsx.snap +65 -132
- package/src/ArrowIcon/config.tsx +17 -4
- package/src/ArrowIcon/index.test.tsx +5 -5
- package/src/BurgerIcon/__snapshots__/index.test.tsx.snap +221 -294
- package/src/BurgerIcon/config.tsx +24 -7
- package/src/BurgerIcon/index.test.tsx +15 -11
- package/src/CancelIcon/__snapshots__/index.test.tsx.snap +119 -240
- package/src/CancelIcon/config.tsx +5 -1
- package/src/CancelIcon/index.test.tsx +16 -12
- package/src/CaretIcon/__snapshots__/index.test.tsx.snap +65 -132
- package/src/CaretIcon/config.tsx +5 -4
- package/src/CaretIcon/index.test.tsx +5 -5
- package/src/ChatIcon/__snapshots__/index.test.tsx.snap +135 -274
- package/src/ChatIcon/config.tsx +6 -2
- package/src/ChatIcon/index.test.tsx +17 -13
- package/src/CheckIcon/__snapshots__/index.test.tsx.snap +136 -274
- package/src/CheckIcon/config.tsx +5 -1
- package/src/CheckIcon/index.test.tsx +18 -14
- package/src/ChevronIcon/__snapshots__/index.test.tsx.snap +65 -132
- package/src/ChevronIcon/config.tsx +17 -4
- package/src/ChevronIcon/index.test.tsx +9 -5
- package/src/CloseIcon/__snapshots__/index.test.tsx.snap +17 -30
- package/src/CloseIcon/config.tsx +5 -1
- package/src/CloseIcon/index.test.tsx +2 -2
- package/src/DownloadIcon/__snapshots__/index.test.tsx.snap +203 -289
- package/src/DownloadIcon/config.tsx +8 -4
- package/src/DownloadIcon/index.test.tsx +18 -12
- package/src/ExclamationIcon/__snapshots__/index.test.tsx.snap +168 -275
- package/src/ExclamationIcon/config.tsx +6 -2
- package/src/ExclamationIcon/index.test.tsx +20 -12
- package/src/GlobeIcon/__snapshots__/index.test.tsx.snap +68 -136
- package/src/GlobeIcon/config.tsx +5 -12
- package/src/GlobeIcon/index.test.tsx +10 -8
- package/src/Icon/__snapshots__/index.test.tsx.snap +157 -262
- package/src/Icon/index.test.tsx +13 -11
- package/src/Icon/index.tsx +2 -2
- package/src/IconBase/index.tsx +258 -0
- package/src/LockIcon/__snapshots__/index.test.tsx.snap +119 -240
- package/src/LockIcon/config.tsx +5 -1
- package/src/LockIcon/index.test.tsx +16 -12
- package/src/LoginIcon/__snapshots__/index.test.tsx.snap +154 -261
- package/src/LoginIcon/config.tsx +9 -2
- package/src/LoginIcon/index.test.tsx +16 -12
- package/src/MinusIcon/__snapshots__/index.test.tsx.snap +140 -261
- package/src/MinusIcon/config.tsx +3 -2
- package/src/MinusIcon/index.test.tsx +16 -12
- package/src/MoreVertIcon/__snapshots__/index.test.tsx.snap +297 -416
- package/src/MoreVertIcon/config.tsx +4 -3
- package/src/MoreVertIcon/index.test.tsx +24 -16
- package/src/PdfFileIcon/__snapshots__/index.test.tsx.snap +280 -317
- package/src/PdfFileIcon/config.tsx +18 -8
- package/src/PdfFileIcon/index.test.tsx +16 -12
- package/src/PlusIcon/__snapshots__/index.test.tsx.snap +119 -240
- package/src/PlusIcon/config.tsx +5 -1
- package/src/PlusIcon/index.test.tsx +16 -12
- package/src/PrintIcon/__snapshots__/index.test.tsx.snap +175 -282
- package/src/PrintIcon/config.tsx +6 -2
- package/src/PrintIcon/index.test.tsx +16 -12
- package/src/ReplyIcon/__snapshots__/index.test.tsx.snap +119 -240
- package/src/ReplyIcon/config.tsx +5 -1
- package/src/ReplyIcon/index.test.tsx +16 -12
- package/src/RestoreIcon/__snapshots__/index.test.tsx.snap +203 -296
- package/src/RestoreIcon/config.tsx +7 -3
- package/src/RestoreIcon/index.test.tsx +16 -12
- package/src/SearchIcon/__snapshots__/index.test.tsx.snap +17 -30
- package/src/SearchIcon/config.tsx +5 -1
- package/src/SearchIcon/index.test.tsx +2 -2
- package/src/SvgIcon/__snapshots__/index.test.tsx.snap +271 -0
- package/src/SvgIcon/index.test.tsx +96 -0
- package/src/SvgIcon/index.tsx +72 -0
- package/src/UncheckIcon/__snapshots__/index.test.tsx.snap +153 -308
- package/src/UncheckIcon/config.tsx +5 -1
- package/src/UncheckIcon/index.test.tsx +20 -16
- package/src/icons.ts +11 -12
- package/src/lazy.js +133 -0
- package/src/registry.js +40 -18
- package/AccessibilityIcon/__snapshots__/index.test.tsx.snap +0 -408
- package/AccessibilityIcon/index.test/index.js +0 -57
- package/AccessibilityIcon/index.test/package.json +0 -6
- package/ArrowIcon/__snapshots__/index.test.tsx.snap +0 -148
- package/ArrowIcon/index.test/index.js +0 -25
- package/ArrowIcon/index.test/package.json +0 -6
- package/BurgerIcon/__snapshots__/index.test.tsx.snap +0 -320
- package/BurgerIcon/index.test/index.js +0 -38
- package/BurgerIcon/index.test/package.json +0 -6
- package/CancelIcon/__snapshots__/index.test.tsx.snap +0 -262
- package/CancelIcon/index.test/index.js +0 -45
- package/CancelIcon/index.test/package.json +0 -6
- package/CaretIcon/__snapshots__/index.test.tsx.snap +0 -148
- package/CaretIcon/index.test/index.js +0 -25
- package/CaretIcon/index.test/package.json +0 -6
- package/ChatIcon/__snapshots__/index.test.tsx.snap +0 -300
- package/ChatIcon/index.test/index.js +0 -51
- package/CheckIcon/__snapshots__/index.test.tsx.snap +0 -299
- package/CheckIcon/index.test/index.js +0 -51
- package/CheckIcon/index.test/package.json +0 -6
- package/ChevronIcon/__snapshots__/index.test.tsx.snap +0 -148
- package/ChevronIcon/index.test/index.js +0 -25
- package/ChevronIcon/index.test/package.json +0 -6
- package/CloseIcon/__snapshots__/index.test.tsx.snap +0 -34
- package/CloseIcon/index.test/index.js +0 -7
- package/CloseIcon/index.test/package.json +0 -6
- package/DownloadIcon/__snapshots__/index.test.tsx.snap +0 -318
- package/DownloadIcon/index.test/index.js +0 -45
- package/DownloadIcon/index.test/package.json +0 -6
- package/ExclamationIcon/__snapshots__/index.test.tsx.snap +0 -297
- package/ExclamationIcon/index.test/index.js +0 -45
- package/ExclamationIcon/index.test/package.json +0 -6
- package/GlobeIcon/__snapshots__/index.test.tsx.snap +0 -149
- package/GlobeIcon/index.test/index.js +0 -25
- package/GlobeIcon/index.test/package.json +0 -6
- package/Icon/__snapshots__/index.test.tsx.snap +0 -343
- package/Icon/index.test/index.js +0 -62
- package/LockIcon/__snapshots__/index.test.tsx.snap +0 -262
- package/LockIcon/index.test/index.js +0 -45
- package/LoginIcon/__snapshots__/index.test.tsx.snap +0 -283
- package/LoginIcon/index.test/index.js +0 -45
- package/LoginIcon/index.test/package.json +0 -6
- package/MinusIcon/__snapshots__/index.test.tsx.snap +0 -283
- package/MinusIcon/index.test/index.js +0 -45
- package/MinusIcon/index.test/package.json +0 -6
- package/MoreVertIcon/__snapshots__/index.test.tsx.snap +0 -444
- package/MoreVertIcon/index.test/index.js +0 -57
- package/MoreVertIcon/index.test/package.json +0 -6
- package/PdfFileIcon/__snapshots__/index.test.tsx.snap +0 -353
- package/PdfFileIcon/index.test/index.js +0 -45
- package/PdfFileIcon/index.test/package.json +0 -6
- package/PlusIcon/__snapshots__/index.test.tsx.snap +0 -262
- package/PlusIcon/index.test/index.js +0 -45
- package/PlusIcon/index.test/package.json +0 -6
- package/PrintIcon/__snapshots__/index.test.tsx.snap +0 -304
- package/PrintIcon/index.test/index.js +0 -45
- package/PrintIcon/index.test/package.json +0 -6
- package/ReplyIcon/__snapshots__/index.test.tsx.snap +0 -262
- package/ReplyIcon/index.test/index.js +0 -45
- package/ReplyIcon/index.test/package.json +0 -6
- package/RestoreIcon/__snapshots__/index.test.tsx.snap +0 -318
- package/RestoreIcon/index.test/index.js +0 -45
- package/RestoreIcon/index.test/package.json +0 -6
- package/SearchIcon/__snapshots__/index.test.tsx.snap +0 -34
- package/SearchIcon/index.test/index.js +0 -7
- package/SearchIcon/index.test/package.json +0 -6
- package/UncheckIcon/__snapshots__/index.test.tsx.snap +0 -336
- package/UncheckIcon/index.test/index.js +0 -57
- package/UncheckIcon/index.test/package.json +0 -6
- package/cjs/AccessibilityIcon/__snapshots__/index.test.tsx.snap +0 -408
- package/cjs/AccessibilityIcon/index.test/index.js +0 -60
- package/cjs/ArrowIcon/__snapshots__/index.test.tsx.snap +0 -148
- package/cjs/ArrowIcon/index.test/index.js +0 -28
- package/cjs/BurgerIcon/__snapshots__/index.test.tsx.snap +0 -320
- package/cjs/BurgerIcon/index.test/index.js +0 -41
- package/cjs/CancelIcon/__snapshots__/index.test.tsx.snap +0 -262
- package/cjs/CancelIcon/index.test/index.js +0 -48
- package/cjs/CaretIcon/__snapshots__/index.test.tsx.snap +0 -148
- package/cjs/CaretIcon/index.test/index.js +0 -28
- package/cjs/ChatIcon/__snapshots__/index.test.tsx.snap +0 -300
- package/cjs/ChatIcon/index.test/index.js +0 -54
- package/cjs/CheckIcon/__snapshots__/index.test.tsx.snap +0 -299
- package/cjs/CheckIcon/index.test/index.js +0 -54
- package/cjs/ChevronIcon/__snapshots__/index.test.tsx.snap +0 -148
- package/cjs/ChevronIcon/index.test/index.js +0 -28
- package/cjs/CloseIcon/__snapshots__/index.test.tsx.snap +0 -34
- package/cjs/CloseIcon/index.test/index.js +0 -10
- package/cjs/DownloadIcon/__snapshots__/index.test.tsx.snap +0 -318
- package/cjs/DownloadIcon/index.test/index.js +0 -48
- package/cjs/ExclamationIcon/__snapshots__/index.test.tsx.snap +0 -297
- package/cjs/ExclamationIcon/index.test/index.js +0 -48
- package/cjs/GlobeIcon/__snapshots__/index.test.tsx.snap +0 -149
- package/cjs/GlobeIcon/index.test/index.js +0 -28
- package/cjs/Icon/__snapshots__/index.test.tsx.snap +0 -343
- package/cjs/Icon/index.test/index.js +0 -65
- package/cjs/LockIcon/__snapshots__/index.test.tsx.snap +0 -262
- package/cjs/LockIcon/index.test/index.js +0 -48
- package/cjs/LoginIcon/__snapshots__/index.test.tsx.snap +0 -283
- package/cjs/LoginIcon/index.test/index.js +0 -48
- package/cjs/MinusIcon/__snapshots__/index.test.tsx.snap +0 -283
- package/cjs/MinusIcon/index.test/index.js +0 -48
- package/cjs/MoreVertIcon/__snapshots__/index.test.tsx.snap +0 -444
- package/cjs/MoreVertIcon/index.test/index.js +0 -60
- package/cjs/PdfFileIcon/__snapshots__/index.test.tsx.snap +0 -353
- package/cjs/PdfFileIcon/index.test/index.js +0 -48
- package/cjs/PlusIcon/__snapshots__/index.test.tsx.snap +0 -262
- package/cjs/PlusIcon/index.test/index.js +0 -48
- package/cjs/PrintIcon/__snapshots__/index.test.tsx.snap +0 -304
- package/cjs/PrintIcon/index.test/index.js +0 -48
- package/cjs/ReplyIcon/__snapshots__/index.test.tsx.snap +0 -262
- package/cjs/ReplyIcon/index.test/index.js +0 -48
- package/cjs/RestoreIcon/__snapshots__/index.test.tsx.snap +0 -318
- package/cjs/RestoreIcon/index.test/index.js +0 -48
- package/cjs/SearchIcon/__snapshots__/index.test.tsx.snap +0 -34
- package/cjs/SearchIcon/index.test/index.js +0 -10
- package/cjs/UncheckIcon/__snapshots__/index.test.tsx.snap +0 -336
- package/cjs/UncheckIcon/index.test/index.js +0 -60
|
@@ -1,22 +1,36 @@
|
|
|
1
|
-
import React from
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
1
|
+
import React from "react";
|
|
2
|
+
import IconBase from "@digigov/react-icons/IconBase";
|
|
3
|
+
const chevron = ({ direction = "right" }) => {
|
|
4
|
+
return /* @__PURE__ */ React.createElement(React.Fragment, null, direction === "left" && /* @__PURE__ */ React.createElement(
|
|
5
|
+
IconBase,
|
|
6
|
+
{
|
|
7
|
+
as: "path",
|
|
8
|
+
d: "M14.8,22l2.4-2.3L9.6,12l7.6-7.6L14.8,2l-10,10L14.8,22z"
|
|
9
|
+
}
|
|
10
|
+
), direction === "right" && /* @__PURE__ */ React.createElement(
|
|
11
|
+
IconBase,
|
|
12
|
+
{
|
|
13
|
+
as: "path",
|
|
14
|
+
d: "M8.5,2L6.1,4.3l7.6,7.7l-7.6,7.6L8.5,22l10-10L8.5,2z"
|
|
15
|
+
}
|
|
16
|
+
), direction === "up" && /* @__PURE__ */ React.createElement(
|
|
17
|
+
IconBase,
|
|
18
|
+
{
|
|
19
|
+
as: "path",
|
|
20
|
+
d: "M2,15.8l2.3,2.4l7.7-7.6l7.6,7.6l2.4-2.4l-10-10L2,15.8z"
|
|
21
|
+
}
|
|
22
|
+
), direction === "down" && /* @__PURE__ */ React.createElement(
|
|
23
|
+
IconBase,
|
|
24
|
+
{
|
|
25
|
+
as: "path",
|
|
26
|
+
d: "M22,8.2l-2.3-2.4L12,13.4L4.4,5.8L2,8.2l10,10L22,8.2z"
|
|
27
|
+
}
|
|
28
|
+
));
|
|
18
29
|
};
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
30
|
+
chevron.props = ["direction"];
|
|
31
|
+
var config_default = chevron;
|
|
32
|
+
export {
|
|
33
|
+
chevron,
|
|
34
|
+
config_default as default
|
|
35
|
+
};
|
|
36
|
+
//# sourceMappingURL=config.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../src/ChevronIcon/config.tsx"],
|
|
4
|
+
"sourcesContent": ["import React from 'react';\nimport IconBase from '@digigov/react-icons/IconBase';\n\nexport interface ChevronType {\n /**\n * direction sets the direction of the chevron icon.\n * @value 'left'\n * @value 'right'\n * @value 'up'\n * @value 'down'\n * @default 'right'\n */\n direction?: 'left' | 'right' | 'up' | 'down';\n}\n\nexport const chevron: React.FC<ChevronType> = ({ direction = 'right' }) => {\n return (\n <>\n {direction === 'left' && (\n <IconBase\n as=\"path\"\n d=\"M14.8,22l2.4-2.3L9.6,12l7.6-7.6L14.8,2l-10,10L14.8,22z\"\n />\n )}\n {direction === 'right' && (\n <IconBase\n as=\"path\"\n d=\"M8.5,2L6.1,4.3l7.6,7.7l-7.6,7.6L8.5,22l10-10L8.5,2z\"\n />\n )}\n {direction === 'up' && (\n <IconBase\n as=\"path\"\n d=\"M2,15.8l2.3,2.4l7.7-7.6l7.6,7.6l2.4-2.4l-10-10L2,15.8z\"\n />\n )}\n {direction === 'down' && (\n <IconBase\n as=\"path\"\n d=\"M22,8.2l-2.3-2.4L12,13.4L4.4,5.8L2,8.2l10,10L22,8.2z\"\n />\n )}\n </>\n );\n};\n// eslint-disable-next-line @typescript-eslint/ban-ts-comment\n// @ts-ignore\nchevron.props = ['direction'];\n\nexport default chevron;\n"],
|
|
5
|
+
"mappings": "AAAA,OAAO,WAAW;AAClB,OAAO,cAAc;AAcd,MAAM,UAAiC,CAAC,EAAE,YAAY,QAAQ,MAAM;AACzE,SACE,0DACG,cAAc,UACb;AAAA,IAAC;AAAA;AAAA,MACC,IAAG;AAAA,MACH,GAAE;AAAA;AAAA,EACJ,GAED,cAAc,WACb;AAAA,IAAC;AAAA;AAAA,MACC,IAAG;AAAA,MACH,GAAE;AAAA;AAAA,EACJ,GAED,cAAc,QACb;AAAA,IAAC;AAAA;AAAA,MACC,IAAG;AAAA,MACH,GAAE;AAAA;AAAA,EACJ,GAED,cAAc,UACb;AAAA,IAAC;AAAA;AAAA,MACC,IAAG;AAAA,MACH,GAAE;AAAA;AAAA,EACJ,CAEJ;AAEJ;AAGA,QAAQ,QAAQ,CAAC,WAAW;AAE5B,IAAO,iBAAQ;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
package/ChevronIcon/index.js
CHANGED
|
@@ -1,9 +1,11 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
return /*#__PURE__*/React.createElement(Icon, _extends({}, props, {
|
|
6
|
-
icon: "chevron"
|
|
7
|
-
}));
|
|
1
|
+
import React from "react";
|
|
2
|
+
import Icon from "@digigov/react-icons/Icon";
|
|
3
|
+
const ChevronIcon = (props) => {
|
|
4
|
+
return /* @__PURE__ */ React.createElement(Icon, { ...props, icon: "chevron" });
|
|
8
5
|
};
|
|
9
|
-
|
|
6
|
+
var ChevronIcon_default = ChevronIcon;
|
|
7
|
+
export {
|
|
8
|
+
ChevronIcon,
|
|
9
|
+
ChevronIcon_default as default
|
|
10
|
+
};
|
|
11
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../src/ChevronIcon/index.tsx"],
|
|
4
|
+
"sourcesContent": ["import React from 'react';\nimport Icon, { IconProps } from '@digigov/react-icons/Icon';\n\nexport const ChevronIcon: React.FC<IconProps<'chevron'>> = (props) => {\n return <Icon {...props} icon=\"chevron\"></Icon>;\n};\n\nexport default ChevronIcon;\n"],
|
|
5
|
+
"mappings": "AAAA,OAAO,WAAW;AAClB,OAAO,UAAyB;AAEzB,MAAM,cAA8C,CAAC,UAAU;AACpE,SAAO,oCAAC,QAAM,GAAG,OAAO,MAAK,WAAU;AACzC;AAEA,IAAO,sBAAQ;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -1,9 +1,18 @@
|
|
|
1
|
-
import React from
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
1
|
+
import React from "react";
|
|
2
|
+
import IconBase from "@digigov/react-icons/IconBase";
|
|
3
|
+
function close() {
|
|
4
|
+
return /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement(
|
|
5
|
+
IconBase,
|
|
6
|
+
{
|
|
7
|
+
as: "polygon",
|
|
8
|
+
points: "14.4,11.8 22,4.2 19.7,1.8 12,9.4 4.4,1.8 2,4.2 9.7,11.9 2.1,19.5 4.4,21.9 12.1,14.3 19.7,21.9 22.1,19.5 "
|
|
9
|
+
}
|
|
10
|
+
));
|
|
7
11
|
}
|
|
8
12
|
close.props = [];
|
|
9
|
-
|
|
13
|
+
var config_default = close;
|
|
14
|
+
export {
|
|
15
|
+
close,
|
|
16
|
+
config_default as default
|
|
17
|
+
};
|
|
18
|
+
//# sourceMappingURL=config.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../src/CloseIcon/config.tsx"],
|
|
4
|
+
"sourcesContent": ["import React from 'react';\nimport IconBase from '@digigov/react-icons/IconBase';\n\nexport interface CloseType {}\n\nexport function close(): React.ReactElement {\n return (\n <>\n <IconBase\n as=\"polygon\"\n points=\"14.4,11.8 22,4.2 19.7,1.8 12,9.4 4.4,1.8 2,4.2 9.7,11.9 2.1,19.5 4.4,21.9 12.1,14.3 19.7,21.9 22.1,19.5 \"\n />\n </>\n );\n}\n\nclose.props = [];\n\nexport default close;\n"],
|
|
5
|
+
"mappings": "AAAA,OAAO,WAAW;AAClB,OAAO,cAAc;AAId,SAAS,QAA4B;AAC1C,SACE,0DACE;AAAA,IAAC;AAAA;AAAA,MACC,IAAG;AAAA,MACH,QAAO;AAAA;AAAA,EACT,CACF;AAEJ;AAEA,MAAM,QAAQ,CAAC;AAEf,IAAO,iBAAQ;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
package/CloseIcon/index.js
CHANGED
|
@@ -1,9 +1,11 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
return /*#__PURE__*/React.createElement(Icon, _extends({}, props, {
|
|
6
|
-
icon: "close"
|
|
7
|
-
}));
|
|
1
|
+
import React from "react";
|
|
2
|
+
import Icon from "@digigov/react-icons/Icon";
|
|
3
|
+
const CloseIcon = (props) => {
|
|
4
|
+
return /* @__PURE__ */ React.createElement(Icon, { ...props, icon: "close" });
|
|
8
5
|
};
|
|
9
|
-
|
|
6
|
+
var CloseIcon_default = CloseIcon;
|
|
7
|
+
export {
|
|
8
|
+
CloseIcon,
|
|
9
|
+
CloseIcon_default as default
|
|
10
|
+
};
|
|
11
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../src/CloseIcon/index.tsx"],
|
|
4
|
+
"sourcesContent": ["import React from 'react';\nimport Icon, { IconProps } from '@digigov/react-icons/Icon';\n\nexport const CloseIcon: React.FC<IconProps<'close'>> = (props) => {\n return <Icon {...props} icon=\"close\"></Icon>;\n};\n\nexport default CloseIcon;\n"],
|
|
5
|
+
"mappings": "AAAA,OAAO,WAAW;AAClB,OAAO,UAAyB;AAEzB,MAAM,YAA0C,CAAC,UAAU;AAChE,SAAO,oCAAC,QAAM,GAAG,OAAO,MAAK,SAAQ;AACvC;AAEA,IAAO,oBAAQ;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -1,14 +1,18 @@
|
|
|
1
|
-
import React from
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
return _ref;
|
|
1
|
+
import React from "react";
|
|
2
|
+
import IconBase from "@digigov/react-icons/IconBase";
|
|
3
|
+
function download() {
|
|
4
|
+
return /* @__PURE__ */ React.createElement(IconBase, { as: "g" }, /* @__PURE__ */ React.createElement(
|
|
5
|
+
IconBase,
|
|
6
|
+
{
|
|
7
|
+
as: "polygon",
|
|
8
|
+
points: "12 18 20 10 15.3 10 15.3 2 8.7 2 8.7 10 4 10 12 18"
|
|
9
|
+
}
|
|
10
|
+
), /* @__PURE__ */ React.createElement(IconBase, { as: "rect", x: "6", y: "18.699", width: "12", height: "3.301" }));
|
|
12
11
|
}
|
|
13
12
|
download.props = [];
|
|
14
|
-
|
|
13
|
+
var config_default = download;
|
|
14
|
+
export {
|
|
15
|
+
config_default as default,
|
|
16
|
+
download
|
|
17
|
+
};
|
|
18
|
+
//# sourceMappingURL=config.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../src/DownloadIcon/config.tsx"],
|
|
4
|
+
"sourcesContent": ["import React from 'react';\nimport IconBase from '@digigov/react-icons/IconBase';\n\nexport interface DownloadType {}\n\nexport function download(): React.ReactElement {\n return (\n <IconBase as=\"g\">\n <IconBase\n as=\"polygon\"\n points=\"12 18 20 10 15.3 10 15.3 2 8.7 2 8.7 10 4 10 12 18\"\n />\n <IconBase as=\"rect\" x=\"6\" y=\"18.699\" width=\"12\" height=\"3.301\" />\n </IconBase>\n );\n}\n\ndownload.props = [];\n\nexport default download;\n"],
|
|
5
|
+
"mappings": "AAAA,OAAO,WAAW;AAClB,OAAO,cAAc;AAId,SAAS,WAA+B;AAC7C,SACE,oCAAC,YAAS,IAAG,OACX;AAAA,IAAC;AAAA;AAAA,MACC,IAAG;AAAA,MACH,QAAO;AAAA;AAAA,EACT,GACA,oCAAC,YAAS,IAAG,QAAO,GAAE,KAAI,GAAE,UAAS,OAAM,MAAK,QAAO,SAAQ,CACjE;AAEJ;AAEA,SAAS,QAAQ,CAAC;AAElB,IAAO,iBAAQ;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
package/DownloadIcon/index.js
CHANGED
|
@@ -1,9 +1,11 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
return /*#__PURE__*/React.createElement(Icon, _extends({}, props, {
|
|
6
|
-
icon: "download"
|
|
7
|
-
}));
|
|
1
|
+
import React from "react";
|
|
2
|
+
import Icon from "@digigov/react-icons/Icon";
|
|
3
|
+
const DownloadIcon = (props) => {
|
|
4
|
+
return /* @__PURE__ */ React.createElement(Icon, { ...props, icon: "download" });
|
|
8
5
|
};
|
|
9
|
-
|
|
6
|
+
var DownloadIcon_default = DownloadIcon;
|
|
7
|
+
export {
|
|
8
|
+
DownloadIcon,
|
|
9
|
+
DownloadIcon_default as default
|
|
10
|
+
};
|
|
11
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../src/DownloadIcon/index.tsx"],
|
|
4
|
+
"sourcesContent": ["import React from 'react';\nimport Icon, { IconProps } from '@digigov/react-icons/Icon';\n\nexport const DownloadIcon: React.FC<IconProps<'download'>> = (props) => {\n return <Icon {...props} icon=\"download\"></Icon>;\n};\n\nexport default DownloadIcon;\n"],
|
|
5
|
+
"mappings": "AAAA,OAAO,WAAW;AAClB,OAAO,UAAyB;AAEzB,MAAM,eAAgD,CAAC,UAAU;AACtE,SAAO,oCAAC,QAAM,GAAG,OAAO,MAAK,YAAW;AAC1C;AAEA,IAAO,uBAAQ;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -1,14 +1,18 @@
|
|
|
1
|
-
import React from
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
return /*#__PURE__*/React.createElement(React.Fragment, null, _ref, _ref2);
|
|
1
|
+
import React from "react";
|
|
2
|
+
import IconBase from "@digigov/react-icons/IconBase";
|
|
3
|
+
function exclamation() {
|
|
4
|
+
return /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement(
|
|
5
|
+
IconBase,
|
|
6
|
+
{
|
|
7
|
+
as: "path",
|
|
8
|
+
d: "M13.716,16.486h-3.446l-.488-14.486h4.422l-.488,14.486Z"
|
|
9
|
+
}
|
|
10
|
+
), /* @__PURE__ */ React.createElement(IconBase, { as: "circle", cx: "11.993", cy: "19.9", r: "2.1" }));
|
|
12
11
|
}
|
|
13
12
|
exclamation.props = [];
|
|
14
|
-
|
|
13
|
+
var config_default = exclamation;
|
|
14
|
+
export {
|
|
15
|
+
config_default as default,
|
|
16
|
+
exclamation
|
|
17
|
+
};
|
|
18
|
+
//# sourceMappingURL=config.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../src/ExclamationIcon/config.tsx"],
|
|
4
|
+
"sourcesContent": ["import React from 'react';\nimport IconBase from '@digigov/react-icons/IconBase';\n\nexport interface ExclamationType {}\n\nexport function exclamation(): React.ReactElement {\n return (\n <>\n <IconBase\n as=\"path\"\n d=\"M13.716,16.486h-3.446l-.488-14.486h4.422l-.488,14.486Z\"\n />\n <IconBase as=\"circle\" cx=\"11.993\" cy=\"19.9\" r=\"2.1\" />\n </>\n );\n}\n\nexclamation.props = [];\n\nexport default exclamation;\n"],
|
|
5
|
+
"mappings": "AAAA,OAAO,WAAW;AAClB,OAAO,cAAc;AAId,SAAS,cAAkC;AAChD,SACE,0DACE;AAAA,IAAC;AAAA;AAAA,MACC,IAAG;AAAA,MACH,GAAE;AAAA;AAAA,EACJ,GACA,oCAAC,YAAS,IAAG,UAAS,IAAG,UAAS,IAAG,QAAO,GAAE,OAAM,CACtD;AAEJ;AAEA,YAAY,QAAQ,CAAC;AAErB,IAAO,iBAAQ;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
package/ExclamationIcon/index.js
CHANGED
|
@@ -1,9 +1,11 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
return /*#__PURE__*/React.createElement(Icon, _extends({}, props, {
|
|
6
|
-
icon: "exclamation"
|
|
7
|
-
}));
|
|
1
|
+
import React from "react";
|
|
2
|
+
import Icon from "@digigov/react-icons/Icon";
|
|
3
|
+
const ExclamationIcon = (props) => {
|
|
4
|
+
return /* @__PURE__ */ React.createElement(Icon, { ...props, icon: "exclamation" });
|
|
8
5
|
};
|
|
9
|
-
|
|
6
|
+
var ExclamationIcon_default = ExclamationIcon;
|
|
7
|
+
export {
|
|
8
|
+
ExclamationIcon,
|
|
9
|
+
ExclamationIcon_default as default
|
|
10
|
+
};
|
|
11
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../src/ExclamationIcon/index.tsx"],
|
|
4
|
+
"sourcesContent": ["import React from 'react';\nimport Icon, { IconProps } from '@digigov/react-icons/Icon';\n\nexport const ExclamationIcon: React.FC<IconProps<'exclamation'>> = (props) => {\n return <Icon {...props} icon=\"exclamation\"></Icon>;\n};\n\nexport default ExclamationIcon;\n"],
|
|
5
|
+
"mappings": "AAAA,OAAO,WAAW;AAClB,OAAO,UAAyB;AAEzB,MAAM,kBAAsD,CAAC,UAAU;AAC5E,SAAO,oCAAC,QAAM,GAAG,OAAO,MAAK,eAAc;AAC7C;AAEA,IAAO,0BAAQ;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -1,9 +1,18 @@
|
|
|
1
|
-
import React from
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
1
|
+
import React from "react";
|
|
2
|
+
import IconBase from "@digigov/react-icons/IconBase";
|
|
3
|
+
function globe() {
|
|
4
|
+
return /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement(
|
|
5
|
+
IconBase,
|
|
6
|
+
{
|
|
7
|
+
as: "path",
|
|
8
|
+
d: "M12,1C5.925,1,1,5.925,1,12s4.925,11,11,11,11-4.925,11-11S18.075,1,12,1ZM19.203,7.7h-2.6c-.236-1.22-.572-2.32-.98-3.267,1.49.716,2.735,1.857,3.58,3.267ZM20.4,12c0,.582-.06,1.151-.173,1.7h-3.292c.039-.556.066-1.12.066-1.7s-.026-1.145-.066-1.7h3.292c.113.549.173,1.118.173,1.7ZM12,20.378c-.484-.265-1.393-1.667-1.943-4.078h3.885c-.55,2.411-1.459,3.814-1.943,4.078ZM9.667,13.7c-.042-.537-.068-1.103-.068-1.7s.025-1.163.068-1.7h4.665c.042.537.068,1.103.068,1.7s-.025,1.163-.068,1.7h-4.665ZM3.6,12c0-.582.06-1.151.173-1.7h3.292c-.039.556-.066,1.12-.066,1.7s.026,1.145.066,1.7h-3.292c-.113-.549-.173-1.118-.173-1.7ZM12,3.622c.484.265,1.393,1.667,1.943,4.079h-3.885c.55-2.411,1.459-3.814,1.943-4.079ZM8.377,4.433c-.409.947-.745,2.047-.98,3.267h-2.6c.845-1.411,2.09-2.551,3.58-3.267ZM4.797,16.3h2.6c.236,1.22.572,2.32.98,3.267-1.49-.716-2.735-1.857-3.58-3.267ZM15.623,19.567c.409-.947.745-2.047.98-3.267h2.6c-.845,1.411-2.09,2.551-3.58,3.267Z"
|
|
9
|
+
}
|
|
10
|
+
));
|
|
7
11
|
}
|
|
8
12
|
globe.props = [];
|
|
9
|
-
|
|
13
|
+
var config_default = globe;
|
|
14
|
+
export {
|
|
15
|
+
config_default as default,
|
|
16
|
+
globe
|
|
17
|
+
};
|
|
18
|
+
//# sourceMappingURL=config.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../src/GlobeIcon/config.tsx"],
|
|
4
|
+
"sourcesContent": ["import React from 'react';\nimport IconBase from '@digigov/react-icons/IconBase';\n\nexport interface GlobeType {}\n\nexport function globe(): React.ReactElement {\n return (\n <>\n <IconBase\n as=\"path\"\n d=\"M12,1C5.925,1,1,5.925,1,12s4.925,11,11,11,11-4.925,11-11S18.075,1,12,1ZM19.203,7.7h-2.6c-.236-1.22-.572-2.32-.98-3.267,1.49.716,2.735,1.857,3.58,3.267ZM20.4,12c0,.582-.06,1.151-.173,1.7h-3.292c.039-.556.066-1.12.066-1.7s-.026-1.145-.066-1.7h3.292c.113.549.173,1.118.173,1.7ZM12,20.378c-.484-.265-1.393-1.667-1.943-4.078h3.885c-.55,2.411-1.459,3.814-1.943,4.078ZM9.667,13.7c-.042-.537-.068-1.103-.068-1.7s.025-1.163.068-1.7h4.665c.042.537.068,1.103.068,1.7s-.025,1.163-.068,1.7h-4.665ZM3.6,12c0-.582.06-1.151.173-1.7h3.292c-.039.556-.066,1.12-.066,1.7s.026,1.145.066,1.7h-3.292c-.113-.549-.173-1.118-.173-1.7ZM12,3.622c.484.265,1.393,1.667,1.943,4.079h-3.885c.55-2.411,1.459-3.814,1.943-4.079ZM8.377,4.433c-.409.947-.745,2.047-.98,3.267h-2.6c.845-1.411,2.09-2.551,3.58-3.267ZM4.797,16.3h2.6c.236,1.22.572,2.32.98,3.267-1.49-.716-2.735-1.857-3.58-3.267ZM15.623,19.567c.409-.947.745-2.047.98-3.267h2.6c-.845,1.411-2.09,2.551-3.58,3.267Z\"\n />\n </>\n );\n}\n\nglobe.props = [];\n\nexport default globe;\n"],
|
|
5
|
+
"mappings": "AAAA,OAAO,WAAW;AAClB,OAAO,cAAc;AAId,SAAS,QAA4B;AAC1C,SACE,0DACE;AAAA,IAAC;AAAA;AAAA,MACC,IAAG;AAAA,MACH,GAAE;AAAA;AAAA,EACJ,CACF;AAEJ;AAEA,MAAM,QAAQ,CAAC;AAEf,IAAO,iBAAQ;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
package/GlobeIcon/index.js
CHANGED
|
@@ -1,9 +1,11 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
return /*#__PURE__*/React.createElement(Icon, _extends({}, props, {
|
|
6
|
-
icon: "globe"
|
|
7
|
-
}));
|
|
1
|
+
import React from "react";
|
|
2
|
+
import Icon from "@digigov/react-icons/Icon";
|
|
3
|
+
const GlobeIcon = (props) => {
|
|
4
|
+
return /* @__PURE__ */ React.createElement(Icon, { ...props, icon: "globe" });
|
|
8
5
|
};
|
|
9
|
-
|
|
6
|
+
var GlobeIcon_default = GlobeIcon;
|
|
7
|
+
export {
|
|
8
|
+
GlobeIcon,
|
|
9
|
+
GlobeIcon_default as default
|
|
10
|
+
};
|
|
11
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../src/GlobeIcon/index.tsx"],
|
|
4
|
+
"sourcesContent": ["import React from 'react';\nimport Icon, { IconProps } from '@digigov/react-icons/Icon';\n\nexport const GlobeIcon: React.FC<IconProps<'globe'>> = (props) => {\n return <Icon {...props} icon=\"globe\"></Icon>;\n};\n\nexport default GlobeIcon;\n"],
|
|
5
|
+
"mappings": "AAAA,OAAO,WAAW;AAClB,OAAO,UAAyB;AAEzB,MAAM,YAA0C,CAAC,UAAU;AAChE,SAAO,oCAAC,QAAM,GAAG,OAAO,MAAK,SAAQ;AACvC;AAEA,IAAO,oBAAQ;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
package/Icon/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { SvgIconProps } from '@digigov/react-core/SvgIcon';
|
|
3
2
|
import type { IconTypes } from '@digigov/react-icons/icons';
|
|
3
|
+
import { SvgIconProps } from '@digigov/react-icons/SvgIcon';
|
|
4
4
|
export type IconProps<N extends keyof IconTypes> = SvgIconProps & IconTypes[N] & {
|
|
5
5
|
/**
|
|
6
6
|
* ref is optional.
|
|
@@ -15,7 +15,7 @@ export type IconProps<N extends keyof IconTypes> = SvgIconProps & IconTypes[N] &
|
|
|
15
15
|
*/
|
|
16
16
|
icon?: N;
|
|
17
17
|
};
|
|
18
|
-
type IconComponent = <C extends keyof IconTypes>(props: IconProps<C>) => React.
|
|
18
|
+
type IconComponent = <C extends keyof IconTypes>(props: IconProps<C>) => React.ReactNode | null;
|
|
19
19
|
export type IconNames = keyof IconTypes;
|
|
20
20
|
/**
|
|
21
21
|
* Icon is used whenever we need a GOV.GR icon.
|
package/Icon/index.js
CHANGED
|
@@ -1,32 +1,32 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
/**
|
|
10
|
-
* Icon is used whenever we need a GOV.GR icon.
|
|
11
|
-
* Choose the icon from the list in icon prop.
|
|
12
|
-
*/
|
|
13
|
-
export var Icon = /*#__PURE__*/React.forwardRef(function Icon(_ref, ref) {
|
|
14
|
-
var _ref$icon = _ref.icon,
|
|
15
|
-
icon = _ref$icon === void 0 ? 'chevron' : _ref$icon,
|
|
16
|
-
className = _ref.className,
|
|
17
|
-
props = _objectWithoutProperties(_ref, _excluded);
|
|
18
|
-
var IconComponent = icons[icon];
|
|
19
|
-
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
|
20
|
-
// @ts-ignore
|
|
21
|
-
var iconProps = IconComponent === null || IconComponent === void 0 ? void 0 : IconComponent.props.reduce(function (compProps, propName) {
|
|
22
|
-
var value = props[propName];
|
|
1
|
+
import React from "react";
|
|
2
|
+
import clsx from "clsx";
|
|
3
|
+
import * as icons from "@digigov/react-icons/icons";
|
|
4
|
+
import SvgIcon from "@digigov/react-icons/SvgIcon";
|
|
5
|
+
const Icon = React.forwardRef(function Icon2({ icon = "chevron", className, ...props }, ref) {
|
|
6
|
+
const IconComponent = icons[icon];
|
|
7
|
+
const iconProps = IconComponent?.props.reduce((compProps, propName) => {
|
|
8
|
+
const value = props[propName];
|
|
23
9
|
delete props[propName];
|
|
24
|
-
return
|
|
10
|
+
return {
|
|
11
|
+
...compProps,
|
|
12
|
+
[propName]: value
|
|
13
|
+
};
|
|
25
14
|
}, {});
|
|
26
|
-
return
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
15
|
+
return /* @__PURE__ */ React.createElement(
|
|
16
|
+
SvgIcon,
|
|
17
|
+
{
|
|
18
|
+
ref,
|
|
19
|
+
...props,
|
|
20
|
+
className: clsx(className, {
|
|
21
|
+
[`ds-svg-icon--${icon}`]: true
|
|
22
|
+
})
|
|
23
|
+
},
|
|
24
|
+
/* @__PURE__ */ React.createElement(IconComponent, { ...iconProps })
|
|
25
|
+
);
|
|
31
26
|
});
|
|
32
|
-
|
|
27
|
+
var Icon_default = Icon;
|
|
28
|
+
export {
|
|
29
|
+
Icon,
|
|
30
|
+
Icon_default as default
|
|
31
|
+
};
|
|
32
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../src/Icon/index.tsx"],
|
|
4
|
+
"sourcesContent": ["import React from 'react';\nimport clsx from 'clsx';\nimport * as icons from '@digigov/react-icons/icons';\nimport type { IconTypes } from '@digigov/react-icons/icons';\nimport SvgIcon, { SvgIconProps } from '@digigov/react-icons/SvgIcon';\n\nexport type IconProps<N extends keyof IconTypes> = SvgIconProps &\n IconTypes[N] & {\n /**\n * ref is optional.\n * ref prop declares the reference of the svg icon component.\n * It can be used to to access the DOM element and the React element.\n */\n ref?: React.Ref<SVGSVGElement>;\n /**\n * icon is optional, but strongly recommended.\n * Default value is 'chevron'.\n * Use this prop to display the icon you want.\n */\n icon?: N;\n };\n\ntype IconComponent = <C extends keyof IconTypes>(\n props: IconProps<C>\n) => React.ReactNode | null;\nexport type IconNames = keyof IconTypes;\n/**\n * Icon is used whenever we need a GOV.GR icon.\n * Choose the icon from the list in icon prop.\n */\nexport const Icon: IconComponent = React.forwardRef<\n SVGSVGElement,\n IconProps<IconNames>\n>(function Icon(\n { icon = 'chevron', className, ...props }: IconProps<IconNames>,\n ref\n) {\n const IconComponent = icons[icon];\n // eslint-disable-next-line @typescript-eslint/ban-ts-comment\n // @ts-ignore\n const iconProps = IconComponent?.props.reduce((compProps, propName) => {\n const value = props[propName];\n delete props[propName];\n return {\n ...compProps,\n [propName]: value,\n };\n }, {});\n\n return (\n <SvgIcon\n ref={ref}\n {...props}\n className={clsx(className, {\n [`ds-svg-icon--${icon}`]: true,\n })}\n >\n <IconComponent {...iconProps} />\n </SvgIcon>\n );\n});\n\nexport default Icon;\n"],
|
|
5
|
+
"mappings": "AAAA,OAAO,WAAW;AAClB,OAAO,UAAU;AACjB,YAAY,WAAW;AAEvB,OAAO,aAA+B;AA0B/B,MAAM,OAAsB,MAAM,WAGvC,SAASA,MACT,EAAE,OAAO,WAAW,WAAW,GAAG,MAAM,GACxC,KACA;AACA,QAAM,gBAAgB,MAAM,IAAI;AAGhC,QAAM,YAAY,eAAe,MAAM,OAAO,CAAC,WAAW,aAAa;AACrE,UAAM,QAAQ,MAAM,QAAQ;AAC5B,WAAO,MAAM,QAAQ;AACrB,WAAO;AAAA,MACL,GAAG;AAAA,MACH,CAAC,QAAQ,GAAG;AAAA,IACd;AAAA,EACF,GAAG,CAAC,CAAC;AAEL,SACE;AAAA,IAAC;AAAA;AAAA,MACC;AAAA,MACC,GAAG;AAAA,MACJ,WAAW,KAAK,WAAW;AAAA,QACzB,CAAC,gBAAgB,IAAI,EAAE,GAAG;AAAA,MAC5B,CAAC;AAAA;AAAA,IAED,oCAAC,iBAAe,GAAG,WAAW;AAAA,EAChC;AAEJ,CAAC;AAED,IAAO,eAAQ;",
|
|
6
|
+
"names": ["Icon"]
|
|
7
|
+
}
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
interface AsProp<C extends React.ElementType> {
|
|
3
|
+
as?: C;
|
|
4
|
+
}
|
|
5
|
+
type PropsToOmit<C extends React.ElementType, P> = keyof (AsProp<C> & P);
|
|
6
|
+
type PolymorphicComponentProp<C extends React.ElementType, Props = Record<string, unknown>> = React.PropsWithChildren<Props & AsProp<C>> & Omit<React.ComponentPropsWithoutRef<C>, PropsToOmit<C, Props>>;
|
|
7
|
+
type PolymorphicComponentPropWithRef<C extends React.ElementType, Props = Record<string, unknown>> = PolymorphicComponentProp<C, Props> & {
|
|
8
|
+
ref?: any;
|
|
9
|
+
};
|
|
10
|
+
/**
|
|
11
|
+
* This is the updated component props using PolymorphicComponentPropWithRef
|
|
12
|
+
*/
|
|
13
|
+
export type IconBaseProps<C extends React.ElementType> = PolymorphicComponentPropWithRef<C, {
|
|
14
|
+
/** margin is optional. It has not a default value. */
|
|
15
|
+
margin?: spacingValues;
|
|
16
|
+
/** marginTop is optional. It has not a default value. */
|
|
17
|
+
marginTop?: spacingValues;
|
|
18
|
+
/** marginBottom is optional. It has not a default value. */
|
|
19
|
+
marginBottom?: spacingValues;
|
|
20
|
+
/** marginLeft is optional. It has not a default value. */
|
|
21
|
+
marginLeft?: spacingValues;
|
|
22
|
+
/** marginRight is optional. It has not a default value. */
|
|
23
|
+
marginRight?: spacingValues;
|
|
24
|
+
/** Alternative for margin. Margin is optional. It has not a default value. */
|
|
25
|
+
m?: spacingValues;
|
|
26
|
+
/** Alternative for marginTop. MarginTop is optional. It has not a default value. */
|
|
27
|
+
mt?: spacingValues;
|
|
28
|
+
/** Alternative for marginBottom. MarginBottom is optional. It has not a default value. */
|
|
29
|
+
mb?: spacingValues;
|
|
30
|
+
/** Alternative for marginLeft. MarginLeft is optional. It has not a default value. */
|
|
31
|
+
ml?: spacingValues;
|
|
32
|
+
/** Alternative for marginRight. MarginRight is optional. It has not a default value. */
|
|
33
|
+
mr?: spacingValues;
|
|
34
|
+
/** Alternative for marginX. MarginX is optional. It has not a default value. */
|
|
35
|
+
mx?: spacingValues;
|
|
36
|
+
/** Alternative for marginY. MarginY is optional. It has not a default value. */
|
|
37
|
+
my?: spacingValues;
|
|
38
|
+
/** padding is optional. It has not a default value. */
|
|
39
|
+
padding?: spacingValues;
|
|
40
|
+
/** paddingTop is optional. It has not a default value. */
|
|
41
|
+
paddingTop?: spacingValues;
|
|
42
|
+
/** paddingBottom is optional. It has not a default value. */
|
|
43
|
+
paddingBottom?: spacingValues;
|
|
44
|
+
/** paddingLeft is optional. It has not a default value. */
|
|
45
|
+
paddingLeft?: spacingValues;
|
|
46
|
+
/** paddingRight is optional. It has not a default value. */
|
|
47
|
+
paddingRight?: spacingValues;
|
|
48
|
+
/** Alternative for padding. Padding is optional. It has not a default value. */
|
|
49
|
+
p?: spacingValues;
|
|
50
|
+
/** Alternative for paddingTop. PaddingTop is optional. It has not a default value. */
|
|
51
|
+
pt?: spacingValues;
|
|
52
|
+
/** Alternative for paddingBottom. PaddingBottom is optional. It has not a default value. */
|
|
53
|
+
pb?: spacingValues;
|
|
54
|
+
/** Alternative for paddingLeft. PaddingLeft is optional. It has not a default value. */
|
|
55
|
+
pl?: spacingValues;
|
|
56
|
+
/** Alternative for paddingRight. PaddingRight is optional. It has not a default value. */
|
|
57
|
+
pr?: spacingValues;
|
|
58
|
+
/** Alternative for paddingX. PaddingX is optional. It has not a default value. */
|
|
59
|
+
px?: spacingValues;
|
|
60
|
+
/** Alternative for paddingY. PaddingY is optional. It has not a default value. */
|
|
61
|
+
py?: spacingValues;
|
|
62
|
+
/** printHidden is optional. Default value is false. When true, the component is hidden at print. */
|
|
63
|
+
printHidden?: boolean;
|
|
64
|
+
/** printVisible is optional. When block, the component is displayed as block. When inline, the component is displayed as inline.*/
|
|
65
|
+
printVisible?: 'block' | 'inline';
|
|
66
|
+
/** Components will be hidden at all screen sizes. */
|
|
67
|
+
hidden?: boolean;
|
|
68
|
+
/** Components will be hidden from 'xs' screen size and up. */
|
|
69
|
+
xsUpHidden?: boolean;
|
|
70
|
+
/** Components will be hidden from 'sm' screen size and up. */
|
|
71
|
+
smUpHidden?: boolean;
|
|
72
|
+
/** Components will be hidden from 'md' screen size and up. */
|
|
73
|
+
mdUpHidden?: boolean;
|
|
74
|
+
/** Components will be hidden from 'lg' screen size and up. */
|
|
75
|
+
lgUpHidden?: boolean;
|
|
76
|
+
/** Components will be hidden from 'xl' screen size and up. */
|
|
77
|
+
xlUpHidden?: boolean;
|
|
78
|
+
/** Components will be hidden between xs and sm screen size. */
|
|
79
|
+
xsHidden?: boolean;
|
|
80
|
+
/** Components will be hidden between sm and md screen size. */
|
|
81
|
+
smHidden?: boolean;
|
|
82
|
+
/** Components will be hidden between md and lg screen size. */
|
|
83
|
+
mdHidden?: boolean;
|
|
84
|
+
/** Components will be hidden between lg and xl screen size. */
|
|
85
|
+
lgHidden?: boolean;
|
|
86
|
+
/** Components will be hidden between xl and 2xl screen size. */
|
|
87
|
+
xlHidden?: boolean;
|
|
88
|
+
}>;
|
|
89
|
+
type spacingValues = 0 | 0.5 | 1 | 1.5 | 2 | 2.5 | 3 | 3.5 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 14 | 16 | 20 | 24 | 28 | 32 | 36 | 40 | 44 | 48 | 52 | 56 | 60 | 64 | 72 | 80 | 96;
|
|
90
|
+
/**
|
|
91
|
+
* This is the type used in the type annotation for the component
|
|
92
|
+
*/
|
|
93
|
+
type IconBaseComponent = <C extends React.ElementType = 'span'>(props: IconBaseProps<C>) => React.ReactNode | null;
|
|
94
|
+
export declare const IconBase: IconBaseComponent;
|
|
95
|
+
export default IconBase;
|