@digigov/react-icons 2.0.0-7d9a8d86 → 2.0.0-85c27c19
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 +6 -7
- package/AccessibilityIcon/config.js.map +1 -1
- package/AccessibilityIcon/index.js +1 -4
- package/AccessibilityIcon/index.js.map +1 -1
- package/ArrowIcon/config/index.js +2 -10
- package/ArrowIcon/config.js.map +1 -1
- package/ArrowIcon/index.js +1 -4
- package/ArrowIcon/index.js.map +1 -1
- package/Base/index.d.ts +95 -0
- package/Base/index.js +101 -0
- package/Base/index.js.map +7 -0
- package/{Icon/index.test → Base}/package.json +1 -1
- package/BurgerIcon/config/index.js +12 -18
- package/BurgerIcon/config.js.map +1 -1
- package/BurgerIcon/index.js +1 -4
- package/BurgerIcon/index.js.map +1 -1
- package/CancelIcon/config/index.js +1 -3
- package/CancelIcon/config.js.map +1 -1
- package/CancelIcon/index.js +1 -4
- package/CancelIcon/index.js.map +1 -1
- package/CaretIcon/config/index.js +2 -10
- package/CaretIcon/config.js.map +1 -1
- package/CaretIcon/index.js +1 -4
- package/CaretIcon/index.js.map +1 -1
- package/ChatIcon/config/index.js +2 -6
- package/ChatIcon/config.js.map +1 -1
- package/ChatIcon/index.js +1 -4
- package/ChatIcon/index.js.map +1 -1
- package/CheckIcon/config/index.js +1 -3
- package/CheckIcon/config.js.map +1 -1
- package/CheckIcon/index.js +1 -4
- package/CheckIcon/index.js.map +1 -1
- package/ChevronIcon/config/index.js +2 -10
- package/ChevronIcon/config.js.map +1 -1
- package/ChevronIcon/index.js +1 -4
- package/ChevronIcon/index.js.map +1 -1
- package/CloseIcon/config/index.js +1 -3
- package/CloseIcon/config.js.map +1 -1
- package/CloseIcon/index.js +1 -4
- package/CloseIcon/index.js.map +1 -1
- package/DownloadIcon/config/index.js +1 -8
- package/DownloadIcon/config.js.map +1 -1
- package/DownloadIcon/index.js +1 -4
- package/DownloadIcon/index.js.map +1 -1
- package/ExclamationIcon/config/index.js +1 -7
- package/ExclamationIcon/config.js.map +1 -1
- package/ExclamationIcon/index.js +1 -4
- package/ExclamationIcon/index.js.map +1 -1
- package/GlobeIcon/config/index.js +1 -3
- package/GlobeIcon/config.js.map +1 -1
- package/GlobeIcon/index.js +1 -4
- package/GlobeIcon/index.js.map +1 -1
- package/Icon/index.d.ts +2 -2
- package/Icon/index.js +13 -11
- package/Icon/index.js.map +3 -3
- package/LockIcon/config/index.js +1 -3
- package/LockIcon/config.js.map +1 -1
- package/LockIcon/index.js +1 -4
- package/LockIcon/index.js.map +1 -1
- package/LoginIcon/config/index.js +1 -5
- package/LoginIcon/config.js.map +1 -1
- package/LoginIcon/index.js +1 -4
- package/LoginIcon/index.js.map +1 -1
- package/MinusIcon/config/index.js +1 -6
- package/MinusIcon/config.js.map +1 -1
- package/MinusIcon/index.js +1 -4
- package/MinusIcon/index.js.map +1 -1
- package/MoreVertIcon/config/index.js +1 -13
- package/MoreVertIcon/config.js.map +1 -1
- package/MoreVertIcon/index.js +1 -4
- package/MoreVertIcon/index.js.map +1 -1
- package/PdfFileIcon/config/index.js +1 -9
- package/PdfFileIcon/config.js.map +1 -1
- package/PdfFileIcon/index.js +1 -4
- package/PdfFileIcon/index.js.map +1 -1
- package/PlusIcon/config/index.js +1 -3
- package/PlusIcon/config.js.map +1 -1
- package/PlusIcon/index.js +1 -4
- package/PlusIcon/index.js.map +1 -1
- package/PrintIcon/config/index.js +1 -8
- package/PrintIcon/config.js.map +1 -1
- package/PrintIcon/index.js +1 -4
- package/PrintIcon/index.js.map +1 -1
- package/ReplyIcon/config/index.js +1 -3
- package/ReplyIcon/config.js.map +1 -1
- package/ReplyIcon/index.js +1 -4
- package/ReplyIcon/index.js.map +1 -1
- package/RestoreIcon/config/index.js +1 -9
- package/RestoreIcon/config.js.map +1 -1
- package/RestoreIcon/index.js +1 -4
- package/RestoreIcon/index.js.map +1 -1
- package/SearchIcon/config/index.js +1 -3
- package/SearchIcon/config.js.map +1 -1
- package/SearchIcon/index.js +1 -4
- package/SearchIcon/index.js.map +1 -1
- package/SvgIcon/index.d.ts +37 -0
- package/SvgIcon/index.js +30 -0
- package/SvgIcon/index.js.map +7 -0
- package/SvgIcon/index.test.d.ts +1 -0
- package/{ChatIcon/index.test → SvgIcon}/package.json +1 -1
- package/UncheckIcon/config/index.js +1 -3
- package/UncheckIcon/config.js.map +1 -1
- package/UncheckIcon/index.js +1 -4
- package/UncheckIcon/index.js.map +1 -1
- package/cjs/AccessibilityIcon/config/index.js +28 -23
- package/cjs/AccessibilityIcon/config.js.map +2 -2
- package/cjs/AccessibilityIcon/index.js +24 -21
- package/cjs/AccessibilityIcon/index.js.map +2 -2
- package/cjs/ArrowIcon/config/index.js +24 -26
- package/cjs/ArrowIcon/config.js.map +2 -2
- package/cjs/ArrowIcon/index.js +24 -21
- package/cjs/ArrowIcon/index.js.map +2 -2
- package/cjs/Base/index.js +134 -0
- package/cjs/Base/index.js.map +7 -0
- package/cjs/BurgerIcon/config/index.js +35 -35
- package/cjs/BurgerIcon/config.js.map +2 -2
- package/cjs/BurgerIcon/index.js +24 -21
- package/cjs/BurgerIcon/index.js.map +2 -2
- package/cjs/CancelIcon/config/index.js +23 -19
- package/cjs/CancelIcon/config.js.map +2 -2
- package/cjs/CancelIcon/index.js +24 -21
- package/cjs/CancelIcon/index.js.map +2 -2
- package/cjs/CaretIcon/config/index.js +24 -26
- package/cjs/CaretIcon/config.js.map +2 -2
- package/cjs/CaretIcon/index.js +24 -21
- package/cjs/CaretIcon/index.js.map +2 -2
- package/cjs/ChatIcon/config/index.js +24 -22
- package/cjs/ChatIcon/config.js.map +2 -2
- package/cjs/ChatIcon/index.js +24 -21
- package/cjs/ChatIcon/index.js.map +2 -2
- package/cjs/CheckIcon/config/index.js +23 -19
- package/cjs/CheckIcon/config.js.map +2 -2
- package/cjs/CheckIcon/index.js +24 -21
- package/cjs/CheckIcon/index.js.map +2 -2
- package/cjs/ChevronIcon/config/index.js +24 -26
- package/cjs/ChevronIcon/config.js.map +2 -2
- package/cjs/ChevronIcon/index.js +24 -21
- package/cjs/ChevronIcon/index.js.map +2 -2
- package/cjs/CloseIcon/config/index.js +23 -19
- package/cjs/CloseIcon/config.js.map +2 -2
- package/cjs/CloseIcon/index.js +24 -21
- package/cjs/CloseIcon/index.js.map +2 -2
- package/cjs/DownloadIcon/config/index.js +23 -24
- package/cjs/DownloadIcon/config.js.map +2 -2
- package/cjs/DownloadIcon/index.js +24 -21
- package/cjs/DownloadIcon/index.js.map +2 -2
- package/cjs/ExclamationIcon/config/index.js +23 -23
- package/cjs/ExclamationIcon/config.js.map +2 -2
- package/cjs/ExclamationIcon/index.js +24 -21
- package/cjs/ExclamationIcon/index.js.map +2 -2
- package/cjs/GlobeIcon/config/index.js +23 -19
- package/cjs/GlobeIcon/config.js.map +2 -2
- package/cjs/GlobeIcon/index.js +24 -21
- package/cjs/GlobeIcon/index.js.map +2 -2
- package/cjs/Icon/index.js +37 -29
- package/cjs/Icon/index.js.map +3 -3
- package/cjs/LockIcon/config/index.js +23 -19
- package/cjs/LockIcon/config.js.map +2 -2
- package/cjs/LockIcon/index.js +24 -21
- package/cjs/LockIcon/index.js.map +2 -2
- package/cjs/LoginIcon/config/index.js +23 -21
- package/cjs/LoginIcon/config.js.map +2 -2
- package/cjs/LoginIcon/index.js +24 -21
- package/cjs/LoginIcon/index.js.map +2 -2
- package/cjs/MinusIcon/config/index.js +23 -22
- package/cjs/MinusIcon/config.js.map +2 -2
- package/cjs/MinusIcon/index.js +24 -21
- package/cjs/MinusIcon/index.js.map +2 -2
- package/cjs/MoreVertIcon/config/index.js +23 -29
- package/cjs/MoreVertIcon/config.js.map +2 -2
- package/cjs/MoreVertIcon/index.js +24 -21
- package/cjs/MoreVertIcon/index.js.map +2 -2
- package/cjs/PdfFileIcon/config/index.js +23 -25
- package/cjs/PdfFileIcon/config.js.map +2 -2
- package/cjs/PdfFileIcon/index.js +24 -21
- package/cjs/PdfFileIcon/index.js.map +2 -2
- package/cjs/PlusIcon/config/index.js +23 -19
- package/cjs/PlusIcon/config.js.map +2 -2
- package/cjs/PlusIcon/index.js +24 -21
- package/cjs/PlusIcon/index.js.map +2 -2
- package/cjs/PrintIcon/config/index.js +23 -24
- package/cjs/PrintIcon/config.js.map +2 -2
- package/cjs/PrintIcon/index.js +24 -21
- package/cjs/PrintIcon/index.js.map +2 -2
- package/cjs/ReplyIcon/config/index.js +23 -19
- package/cjs/ReplyIcon/config.js.map +2 -2
- package/cjs/ReplyIcon/index.js +24 -21
- package/cjs/ReplyIcon/index.js.map +2 -2
- package/cjs/RestoreIcon/config/index.js +23 -25
- package/cjs/RestoreIcon/config.js.map +2 -2
- package/cjs/RestoreIcon/index.js +24 -21
- package/cjs/RestoreIcon/index.js.map +2 -2
- package/cjs/SearchIcon/config/index.js +23 -19
- package/cjs/SearchIcon/config.js.map +2 -2
- package/cjs/SearchIcon/index.js +24 -21
- package/cjs/SearchIcon/index.js.map +2 -2
- package/cjs/SvgIcon/index.js +63 -0
- package/cjs/SvgIcon/index.js.map +7 -0
- package/cjs/UncheckIcon/config/index.js +23 -19
- package/cjs/UncheckIcon/config.js.map +2 -2
- package/cjs/UncheckIcon/index.js +24 -21
- package/cjs/UncheckIcon/index.js.map +2 -2
- package/cjs/icons/index.js +61 -38
- package/cjs/icons.js.map +1 -1
- package/cjs/index.js +61 -38
- package/cjs/index.js.map +1 -1
- package/cjs/lazy/index.js +48 -42
- package/cjs/lazy.js.map +3 -3
- package/cjs/registry/index.js +63 -52
- package/cjs/registry.js.map +2 -2
- package/icons.js.map +1 -1
- package/index.js +1 -1
- package/index.js.map +1 -1
- package/lazy/index.js +27 -25
- package/lazy.d.ts +3 -1
- package/lazy.js.map +2 -2
- package/package.json +4 -5
- package/registry/index.js +16 -9
- package/registry.d.ts +2 -0
- package/registry.js.map +2 -2
- package/src/AccessibilityIcon/__snapshots__/index.test.tsx.snap +189 -371
- package/src/AccessibilityIcon/index.test.tsx +10 -10
- package/src/ArrowIcon/__snapshots__/index.test.tsx.snap +52 -131
- package/src/ArrowIcon/index.test.tsx +5 -5
- package/src/Base/index.tsx +257 -0
- package/src/BurgerIcon/__snapshots__/index.test.tsx.snap +168 -289
- package/src/BurgerIcon/index.test.tsx +7 -7
- package/src/CancelIcon/__snapshots__/index.test.tsx.snap +91 -233
- package/src/CancelIcon/index.test.tsx +8 -8
- package/src/CaretIcon/__snapshots__/index.test.tsx.snap +52 -131
- package/src/CaretIcon/index.test.tsx +5 -5
- package/src/ChatIcon/__snapshots__/index.test.tsx.snap +104 -267
- package/src/ChatIcon/index.test.tsx +9 -9
- package/src/CheckIcon/__snapshots__/index.test.tsx.snap +104 -266
- package/src/CheckIcon/index.test.tsx +9 -9
- package/src/ChevronIcon/__snapshots__/index.test.tsx.snap +52 -131
- package/src/ChevronIcon/index.test.tsx +5 -5
- package/src/CloseIcon/__snapshots__/index.test.tsx.snap +13 -29
- package/src/CloseIcon/index.test.tsx +2 -2
- package/src/DownloadIcon/__snapshots__/index.test.tsx.snap +147 -289
- package/src/DownloadIcon/index.test.tsx +8 -8
- package/src/ExclamationIcon/__snapshots__/index.test.tsx.snap +126 -268
- package/src/ExclamationIcon/index.test.tsx +8 -8
- package/src/GlobeIcon/__snapshots__/index.test.tsx.snap +52 -128
- package/src/GlobeIcon/index.test.tsx +5 -5
- package/src/Icon/__snapshots__/index.test.tsx.snap +127 -270
- package/src/Icon/index.test.tsx +11 -11
- package/src/Icon/index.tsx +2 -2
- package/src/LockIcon/__snapshots__/index.test.tsx.snap +91 -233
- package/src/LockIcon/index.test.tsx +8 -8
- package/src/LoginIcon/__snapshots__/index.test.tsx.snap +112 -254
- package/src/LoginIcon/index.test.tsx +8 -8
- package/src/MinusIcon/__snapshots__/index.test.tsx.snap +112 -254
- package/src/MinusIcon/index.test.tsx +8 -8
- package/src/MoreVertIcon/__snapshots__/index.test.tsx.snap +225 -407
- package/src/MoreVertIcon/index.test.tsx +10 -10
- package/src/PdfFileIcon/__snapshots__/index.test.tsx.snap +182 -324
- package/src/PdfFileIcon/index.test.tsx +8 -8
- package/src/PlusIcon/__snapshots__/index.test.tsx.snap +91 -233
- package/src/PlusIcon/index.test.tsx +8 -8
- package/src/PrintIcon/__snapshots__/index.test.tsx.snap +133 -275
- package/src/PrintIcon/index.test.tsx +8 -8
- package/src/ReplyIcon/__snapshots__/index.test.tsx.snap +91 -233
- package/src/ReplyIcon/index.test.tsx +8 -8
- package/src/RestoreIcon/__snapshots__/index.test.tsx.snap +147 -289
- package/src/RestoreIcon/index.test.tsx +8 -8
- package/src/SearchIcon/__snapshots__/index.test.tsx.snap +13 -29
- package/src/SearchIcon/index.test.tsx +2 -2
- package/src/SvgIcon/__snapshots__/index.test.tsx.snap +254 -0
- package/src/SvgIcon/index.test.tsx +96 -0
- package/src/SvgIcon/index.tsx +72 -0
- package/src/UncheckIcon/__snapshots__/index.test.tsx.snap +117 -299
- package/src/UncheckIcon/index.test.tsx +10 -10
- package/src/lazy.js +2 -0
- package/src/registry.js +4 -0
- package/AccessibilityIcon/index.test/index.js +0 -49
- package/AccessibilityIcon/index.test/package.json +0 -6
- package/AccessibilityIcon/index.test.js.map +0 -7
- package/ArrowIcon/index.test/index.js +0 -22
- package/ArrowIcon/index.test/package.json +0 -6
- package/ArrowIcon/index.test.js.map +0 -7
- package/BurgerIcon/index.test/index.js +0 -33
- package/BurgerIcon/index.test/package.json +0 -6
- package/BurgerIcon/index.test.js.map +0 -7
- package/CancelIcon/index.test/index.js +0 -39
- package/CancelIcon/index.test/package.json +0 -6
- package/CancelIcon/index.test.js.map +0 -7
- package/CaretIcon/index.test/index.js +0 -22
- package/CaretIcon/index.test/package.json +0 -6
- package/CaretIcon/index.test.js.map +0 -7
- package/ChatIcon/index.test/index.js +0 -44
- package/ChatIcon/index.test.js.map +0 -7
- package/CheckIcon/index.test/index.js +0 -44
- package/CheckIcon/index.test/package.json +0 -6
- package/CheckIcon/index.test.js.map +0 -7
- package/ChevronIcon/index.test/index.js +0 -22
- package/ChevronIcon/index.test/package.json +0 -6
- package/ChevronIcon/index.test.js.map +0 -7
- package/CloseIcon/index.test/index.js +0 -7
- package/CloseIcon/index.test/package.json +0 -6
- package/CloseIcon/index.test.js.map +0 -7
- package/DownloadIcon/index.test/index.js +0 -39
- package/DownloadIcon/index.test/package.json +0 -6
- package/DownloadIcon/index.test.js.map +0 -7
- package/ExclamationIcon/index.test/index.js +0 -39
- package/ExclamationIcon/index.test/package.json +0 -6
- package/ExclamationIcon/index.test.js.map +0 -7
- package/GlobeIcon/index.test/index.js +0 -22
- package/GlobeIcon/index.test/package.json +0 -6
- package/GlobeIcon/index.test.js.map +0 -7
- package/Icon/index.test/index.js +0 -53
- package/Icon/index.test.js.map +0 -7
- package/LockIcon/index.test/index.js +0 -39
- package/LockIcon/index.test/package.json +0 -6
- package/LockIcon/index.test.js.map +0 -7
- package/LoginIcon/index.test/index.js +0 -39
- package/LoginIcon/index.test/package.json +0 -6
- package/LoginIcon/index.test.js.map +0 -7
- package/MinusIcon/index.test/index.js +0 -39
- package/MinusIcon/index.test/package.json +0 -6
- package/MinusIcon/index.test.js.map +0 -7
- package/MoreVertIcon/index.test/index.js +0 -49
- package/MoreVertIcon/index.test/package.json +0 -6
- package/MoreVertIcon/index.test.js.map +0 -7
- package/PdfFileIcon/index.test/index.js +0 -39
- package/PdfFileIcon/index.test/package.json +0 -6
- package/PdfFileIcon/index.test.js.map +0 -7
- package/PlusIcon/index.test/index.js +0 -39
- package/PlusIcon/index.test/package.json +0 -6
- package/PlusIcon/index.test.js.map +0 -7
- package/PrintIcon/index.test/index.js +0 -39
- package/PrintIcon/index.test/package.json +0 -6
- package/PrintIcon/index.test.js.map +0 -7
- package/ReplyIcon/index.test/index.js +0 -39
- package/ReplyIcon/index.test/package.json +0 -6
- package/ReplyIcon/index.test.js.map +0 -7
- package/RestoreIcon/index.test/index.js +0 -39
- package/RestoreIcon/index.test/package.json +0 -6
- package/RestoreIcon/index.test.js.map +0 -7
- package/SearchIcon/index.test/index.js +0 -7
- package/SearchIcon/index.test/package.json +0 -6
- package/SearchIcon/index.test.js.map +0 -7
- package/UncheckIcon/index.test/index.js +0 -49
- package/UncheckIcon/index.test/package.json +0 -6
- package/UncheckIcon/index.test.js.map +0 -7
- package/cjs/AccessibilityIcon/index.test/index.js +0 -67
- package/cjs/AccessibilityIcon/index.test.js.map +0 -7
- package/cjs/ArrowIcon/index.test/index.js +0 -40
- package/cjs/ArrowIcon/index.test.js.map +0 -7
- package/cjs/BurgerIcon/index.test/index.js +0 -51
- package/cjs/BurgerIcon/index.test.js.map +0 -7
- package/cjs/CancelIcon/index.test/index.js +0 -57
- package/cjs/CancelIcon/index.test.js.map +0 -7
- package/cjs/CaretIcon/index.test/index.js +0 -40
- package/cjs/CaretIcon/index.test.js.map +0 -7
- package/cjs/ChatIcon/index.test/index.js +0 -62
- package/cjs/ChatIcon/index.test.js.map +0 -7
- package/cjs/CheckIcon/index.test/index.js +0 -62
- package/cjs/CheckIcon/index.test.js.map +0 -7
- package/cjs/ChevronIcon/index.test/index.js +0 -40
- package/cjs/ChevronIcon/index.test.js.map +0 -7
- package/cjs/CloseIcon/index.test/index.js +0 -25
- package/cjs/CloseIcon/index.test.js.map +0 -7
- package/cjs/DownloadIcon/index.test/index.js +0 -57
- package/cjs/DownloadIcon/index.test.js.map +0 -7
- package/cjs/ExclamationIcon/index.test/index.js +0 -57
- package/cjs/ExclamationIcon/index.test.js.map +0 -7
- package/cjs/GlobeIcon/index.test/index.js +0 -40
- package/cjs/GlobeIcon/index.test.js.map +0 -7
- package/cjs/Icon/index.test/index.js +0 -71
- package/cjs/Icon/index.test.js.map +0 -7
- package/cjs/LockIcon/index.test/index.js +0 -57
- package/cjs/LockIcon/index.test.js.map +0 -7
- package/cjs/LoginIcon/index.test/index.js +0 -57
- package/cjs/LoginIcon/index.test.js.map +0 -7
- package/cjs/MinusIcon/index.test/index.js +0 -57
- package/cjs/MinusIcon/index.test.js.map +0 -7
- package/cjs/MoreVertIcon/index.test/index.js +0 -67
- package/cjs/MoreVertIcon/index.test.js.map +0 -7
- package/cjs/PdfFileIcon/index.test/index.js +0 -57
- package/cjs/PdfFileIcon/index.test.js.map +0 -7
- package/cjs/PlusIcon/index.test/index.js +0 -57
- package/cjs/PlusIcon/index.test.js.map +0 -7
- package/cjs/PrintIcon/index.test/index.js +0 -57
- package/cjs/PrintIcon/index.test.js.map +0 -7
- package/cjs/ReplyIcon/index.test/index.js +0 -57
- package/cjs/ReplyIcon/index.test.js.map +0 -7
- package/cjs/RestoreIcon/index.test/index.js +0 -57
- package/cjs/RestoreIcon/index.test.js.map +0 -7
- package/cjs/SearchIcon/index.test/index.js +0 -25
- package/cjs/SearchIcon/index.test.js.map +0 -7
- package/cjs/UncheckIcon/index.test/index.js +0 -67
- package/cjs/UncheckIcon/index.test.js.map +0 -7
package/cjs/Icon/index.js.map
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../src/Icon/index.tsx"],
|
|
4
|
-
"sourcesContent": ["import React from 'react';\nimport clsx from 'clsx';\nimport SvgIcon, { SvgIconProps } from '@digigov/react-
|
|
5
|
-
"mappings": "
|
|
6
|
-
"names": []
|
|
4
|
+
"sourcesContent": ["import React from 'react';\nimport clsx from 'clsx';\nimport SvgIcon, { SvgIconProps } from '@digigov/react-icons/SvgIcon';\nimport * as icons from '@digigov/react-icons/icons';\nimport type { IconTypes } from '@digigov/react-icons/icons';\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;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,mBAAkB;AAClB,kBAAiB;AACjB,qBAAsC;AACtC,YAAuB;AA2BhB,MAAM,OAAsB,aAAAA,QAAM,WAGvC,SAASC,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,6BAAAD,QAAA;AAAA,IAAC,eAAAE;AAAA,IAAA;AAAA,MACC;AAAA,MACC,GAAG;AAAA,MACJ,eAAW,YAAAC,SAAK,WAAW;AAAA,QACzB,CAAC,gBAAgB,IAAI,EAAE,GAAG;AAAA,MAC5B,CAAC;AAAA;AAAA,IAED,6BAAAH,QAAA,cAAC,iBAAe,GAAG,WAAW;AAAA,EAChC;AAEJ,CAAC;AAED,IAAO,eAAQ;",
|
|
6
|
+
"names": ["React", "Icon", "SvgIcon", "clsx"]
|
|
7
7
|
}
|
|
@@ -1,35 +1,39 @@
|
|
|
1
1
|
var __create = Object.create;
|
|
2
2
|
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
3
5
|
var __getProtoOf = Object.getPrototypeOf;
|
|
4
6
|
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
7
|
var __export = (target, all) => {
|
|
9
8
|
for (var name in all)
|
|
10
|
-
__defProp(target, name, {get: all[name], enumerable: true});
|
|
9
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
11
10
|
};
|
|
12
|
-
var
|
|
13
|
-
if (
|
|
14
|
-
for (let key of __getOwnPropNames(
|
|
15
|
-
if (!__hasOwnProp.call(
|
|
16
|
-
__defProp(
|
|
11
|
+
var __copyProps = (to, from, except, desc) => {
|
|
12
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
13
|
+
for (let key of __getOwnPropNames(from))
|
|
14
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
15
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
17
16
|
}
|
|
18
|
-
return
|
|
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);
|
|
17
|
+
return to;
|
|
22
18
|
};
|
|
23
|
-
|
|
24
|
-
|
|
19
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
20
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
21
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
22
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
23
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
24
|
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
25
|
+
mod
|
|
26
|
+
));
|
|
27
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
28
|
+
var config_exports = {};
|
|
29
|
+
__export(config_exports, {
|
|
25
30
|
default: () => config_default,
|
|
26
31
|
lock: () => lock
|
|
27
32
|
});
|
|
28
|
-
|
|
33
|
+
module.exports = __toCommonJS(config_exports);
|
|
34
|
+
var import_react = __toESM(require("react"));
|
|
29
35
|
function lock() {
|
|
30
|
-
return /* @__PURE__ */ import_react.default.createElement(import_react.default.Fragment, null, /* @__PURE__ */ import_react.default.createElement("path", {
|
|
31
|
-
d: "M17.872,9v-1.128c0-3.238-2.635-5.872-5.872-5.872s-5.872,2.634-5.872,5.872v1.128h-2.128v13h16v-13h-2.128ZM9.429,7.872c0-1.418,1.153-2.572,2.571-2.572s2.571,1.154,2.571,2.572v1.128h-5.143v-1.128ZM13.65,16c0,.911-.739,1.65-1.65,1.65s-1.65-.739-1.65-1.65v-2c0-.911.739-1.65,1.65-1.65s1.65.739,1.65,1.65v2Z"
|
|
32
|
-
}));
|
|
36
|
+
return /* @__PURE__ */ import_react.default.createElement(import_react.default.Fragment, null, /* @__PURE__ */ import_react.default.createElement("path", { d: "M17.872,9v-1.128c0-3.238-2.635-5.872-5.872-5.872s-5.872,2.634-5.872,5.872v1.128h-2.128v13h16v-13h-2.128ZM9.429,7.872c0-1.418,1.153-2.572,2.571-2.572s2.571,1.154,2.571,2.572v1.128h-5.143v-1.128ZM13.65,16c0,.911-.739,1.65-1.65,1.65s-1.65-.739-1.65-1.65v-2c0-.911.739-1.65,1.65-1.65s1.65.739,1.65,1.65v2Z" }));
|
|
33
37
|
}
|
|
34
38
|
lock.props = [];
|
|
35
39
|
var config_default = lock;
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../src/LockIcon/config.tsx"],
|
|
4
4
|
"sourcesContent": ["import React from 'react';\n\nexport interface LockType {}\n\nexport function lock(): React.ReactElement {\n return (\n <>\n <path d=\"M17.872,9v-1.128c0-3.238-2.635-5.872-5.872-5.872s-5.872,2.634-5.872,5.872v1.128h-2.128v13h16v-13h-2.128ZM9.429,7.872c0-1.418,1.153-2.572,2.571-2.572s2.571,1.154,2.571,2.572v1.128h-5.143v-1.128ZM13.65,16c0,.911-.739,1.65-1.65,1.65s-1.65-.739-1.65-1.65v-2c0-.911.739-1.65,1.65-1.65s1.65.739,1.65,1.65v2Z\"/>\n </>\n );\n}\n\nlock.props = [];\n\nexport default lock;\n"],
|
|
5
|
-
"mappings": "
|
|
6
|
-
"names": []
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,mBAAkB;AAIX,SAAS,OAA2B;AACzC,SACE,6BAAAA,QAAA,2BAAAA,QAAA,gBACE,6BAAAA,QAAA,cAAC,UAAK,GAAE,iTAA+S,CACzT;AAEJ;AAEA,KAAK,QAAQ,CAAC;AAEd,IAAO,iBAAQ;",
|
|
6
|
+
"names": ["React"]
|
|
7
7
|
}
|
package/cjs/LockIcon/index.js
CHANGED
|
@@ -1,37 +1,40 @@
|
|
|
1
1
|
var __create = Object.create;
|
|
2
2
|
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
3
5
|
var __getProtoOf = Object.getPrototypeOf;
|
|
4
6
|
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
7
|
var __export = (target, all) => {
|
|
9
8
|
for (var name in all)
|
|
10
|
-
__defProp(target, name, {get: all[name], enumerable: true});
|
|
9
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
11
10
|
};
|
|
12
|
-
var
|
|
13
|
-
if (
|
|
14
|
-
for (let key of __getOwnPropNames(
|
|
15
|
-
if (!__hasOwnProp.call(
|
|
16
|
-
__defProp(
|
|
11
|
+
var __copyProps = (to, from, except, desc) => {
|
|
12
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
13
|
+
for (let key of __getOwnPropNames(from))
|
|
14
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
15
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
17
16
|
}
|
|
18
|
-
return
|
|
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);
|
|
17
|
+
return to;
|
|
22
18
|
};
|
|
23
|
-
|
|
24
|
-
|
|
19
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
20
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
21
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
22
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
23
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
24
|
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
25
|
+
mod
|
|
26
|
+
));
|
|
27
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
28
|
+
var LockIcon_exports = {};
|
|
29
|
+
__export(LockIcon_exports, {
|
|
25
30
|
LockIcon: () => LockIcon,
|
|
26
31
|
default: () => LockIcon_default
|
|
27
32
|
});
|
|
28
|
-
|
|
29
|
-
var
|
|
33
|
+
module.exports = __toCommonJS(LockIcon_exports);
|
|
34
|
+
var import_react = __toESM(require("react"));
|
|
35
|
+
var import_Icon = __toESM(require("@digigov/react-icons/Icon"));
|
|
30
36
|
const LockIcon = (props) => {
|
|
31
|
-
return /* @__PURE__ */ import_react.default.createElement(import_Icon.default, {
|
|
32
|
-
...props,
|
|
33
|
-
icon: "lock"
|
|
34
|
-
});
|
|
37
|
+
return /* @__PURE__ */ import_react.default.createElement(import_Icon.default, { ...props, icon: "lock" });
|
|
35
38
|
};
|
|
36
39
|
var LockIcon_default = LockIcon;
|
|
37
40
|
// Annotate the CommonJS export names for ESM import in node:
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../src/LockIcon/index.tsx"],
|
|
4
4
|
"sourcesContent": ["import React from 'react';\nimport Icon, { IconProps } from '@digigov/react-icons/Icon';\n\nexport const LockIcon: React.FC<IconProps<'lock'>> = (props) => {\n return <Icon {...props} icon=\"lock\"></Icon>;\n};\n\nexport default LockIcon;\n"],
|
|
5
|
-
"mappings": "
|
|
6
|
-
"names": []
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,mBAAkB;AAClB,kBAAgC;AAEzB,MAAM,WAAwC,CAAC,UAAU;AAC9D,SAAO,6BAAAA,QAAA,cAAC,YAAAC,SAAA,EAAM,GAAG,OAAO,MAAK,QAAO;AACtC;AAEA,IAAO,mBAAQ;",
|
|
6
|
+
"names": ["React", "Icon"]
|
|
7
7
|
}
|
|
@@ -1,37 +1,39 @@
|
|
|
1
1
|
var __create = Object.create;
|
|
2
2
|
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
3
5
|
var __getProtoOf = Object.getPrototypeOf;
|
|
4
6
|
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
7
|
var __export = (target, all) => {
|
|
9
8
|
for (var name in all)
|
|
10
|
-
__defProp(target, name, {get: all[name], enumerable: true});
|
|
9
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
11
10
|
};
|
|
12
|
-
var
|
|
13
|
-
if (
|
|
14
|
-
for (let key of __getOwnPropNames(
|
|
15
|
-
if (!__hasOwnProp.call(
|
|
16
|
-
__defProp(
|
|
11
|
+
var __copyProps = (to, from, except, desc) => {
|
|
12
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
13
|
+
for (let key of __getOwnPropNames(from))
|
|
14
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
15
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
17
16
|
}
|
|
18
|
-
return
|
|
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);
|
|
17
|
+
return to;
|
|
22
18
|
};
|
|
23
|
-
|
|
24
|
-
|
|
19
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
20
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
21
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
22
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
23
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
24
|
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
25
|
+
mod
|
|
26
|
+
));
|
|
27
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
28
|
+
var config_exports = {};
|
|
29
|
+
__export(config_exports, {
|
|
25
30
|
default: () => config_default,
|
|
26
31
|
login: () => login
|
|
27
32
|
});
|
|
28
|
-
|
|
33
|
+
module.exports = __toCommonJS(config_exports);
|
|
34
|
+
var import_react = __toESM(require("react"));
|
|
29
35
|
function login() {
|
|
30
|
-
return /* @__PURE__ */ import_react.default.createElement(import_react.default.Fragment, null, /* @__PURE__ */ import_react.default.createElement("polygon", {
|
|
31
|
-
points: "10.419 6.081 8.581 7.919 11.361 10.7 2 10.7 2 13.3 11.361 13.3 8.581 16.081 10.419 17.919 16.339 12 10.419 6.081"
|
|
32
|
-
}), /* @__PURE__ */ import_react.default.createElement("polygon", {
|
|
33
|
-
points: "19.4 2 15 2 15 4.6 19.4 4.6 19.4 19.4 15 19.4 15 22 19.4 22 22 22 22 19.4 22 4.6 22 2 19.4 2"
|
|
34
|
-
}));
|
|
36
|
+
return /* @__PURE__ */ import_react.default.createElement(import_react.default.Fragment, null, /* @__PURE__ */ import_react.default.createElement("polygon", { points: "10.419 6.081 8.581 7.919 11.361 10.7 2 10.7 2 13.3 11.361 13.3 8.581 16.081 10.419 17.919 16.339 12 10.419 6.081" }), /* @__PURE__ */ import_react.default.createElement("polygon", { points: "19.4 2 15 2 15 4.6 19.4 4.6 19.4 19.4 15 19.4 15 22 19.4 22 22 22 22 19.4 22 4.6 22 2 19.4 2" }));
|
|
35
37
|
}
|
|
36
38
|
login.props = [];
|
|
37
39
|
var config_default = login;
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../src/LoginIcon/config.tsx"],
|
|
4
4
|
"sourcesContent": ["import React from 'react';\n\nexport interface LoginType {}\n\nexport function login(): React.ReactElement {\n return (\n <>\n <polygon points=\"10.419 6.081 8.581 7.919 11.361 10.7 2 10.7 2 13.3 11.361 13.3 8.581 16.081 10.419 17.919 16.339 12 10.419 6.081\" />\n <polygon points=\"19.4 2 15 2 15 4.6 19.4 4.6 19.4 19.4 15 19.4 15 22 19.4 22 22 22 22 19.4 22 4.6 22 2 19.4 2\" />\n </>\n );\n}\n\nlogin.props = [];\n\nexport default login;\n"],
|
|
5
|
-
"mappings": "
|
|
6
|
-
"names": []
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,mBAAkB;AAIX,SAAS,QAA4B;AAC1C,SACE,6BAAAA,QAAA,2BAAAA,QAAA,gBACE,6BAAAA,QAAA,cAAC,aAAQ,QAAO,oHAAmH,GACnI,6BAAAA,QAAA,cAAC,aAAQ,QAAO,gGAA+F,CACjH;AAEJ;AAEA,MAAM,QAAQ,CAAC;AAEf,IAAO,iBAAQ;",
|
|
6
|
+
"names": ["React"]
|
|
7
7
|
}
|
package/cjs/LoginIcon/index.js
CHANGED
|
@@ -1,37 +1,40 @@
|
|
|
1
1
|
var __create = Object.create;
|
|
2
2
|
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
3
5
|
var __getProtoOf = Object.getPrototypeOf;
|
|
4
6
|
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
7
|
var __export = (target, all) => {
|
|
9
8
|
for (var name in all)
|
|
10
|
-
__defProp(target, name, {get: all[name], enumerable: true});
|
|
9
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
11
10
|
};
|
|
12
|
-
var
|
|
13
|
-
if (
|
|
14
|
-
for (let key of __getOwnPropNames(
|
|
15
|
-
if (!__hasOwnProp.call(
|
|
16
|
-
__defProp(
|
|
11
|
+
var __copyProps = (to, from, except, desc) => {
|
|
12
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
13
|
+
for (let key of __getOwnPropNames(from))
|
|
14
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
15
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
17
16
|
}
|
|
18
|
-
return
|
|
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);
|
|
17
|
+
return to;
|
|
22
18
|
};
|
|
23
|
-
|
|
24
|
-
|
|
19
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
20
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
21
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
22
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
23
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
24
|
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
25
|
+
mod
|
|
26
|
+
));
|
|
27
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
28
|
+
var LoginIcon_exports = {};
|
|
29
|
+
__export(LoginIcon_exports, {
|
|
25
30
|
LoginIcon: () => LoginIcon,
|
|
26
31
|
default: () => LoginIcon_default
|
|
27
32
|
});
|
|
28
|
-
|
|
29
|
-
var
|
|
33
|
+
module.exports = __toCommonJS(LoginIcon_exports);
|
|
34
|
+
var import_react = __toESM(require("react"));
|
|
35
|
+
var import_Icon = __toESM(require("@digigov/react-icons/Icon"));
|
|
30
36
|
const LoginIcon = (props) => {
|
|
31
|
-
return /* @__PURE__ */ import_react.default.createElement(import_Icon.default, {
|
|
32
|
-
...props,
|
|
33
|
-
icon: "login"
|
|
34
|
-
});
|
|
37
|
+
return /* @__PURE__ */ import_react.default.createElement(import_Icon.default, { ...props, icon: "login" });
|
|
35
38
|
};
|
|
36
39
|
var LoginIcon_default = LoginIcon;
|
|
37
40
|
// Annotate the CommonJS export names for ESM import in node:
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../src/LoginIcon/index.tsx"],
|
|
4
4
|
"sourcesContent": ["import React from 'react';\nimport Icon, { IconProps } from '@digigov/react-icons/Icon';\n\nexport const LoginIcon: React.FC<IconProps<'login'>> = (props) => {\n return <Icon {...props} icon=\"login\"></Icon>;\n};\n\nexport default LoginIcon;\n"],
|
|
5
|
-
"mappings": "
|
|
6
|
-
"names": []
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,mBAAkB;AAClB,kBAAgC;AAEzB,MAAM,YAA0C,CAAC,UAAU;AAChE,SAAO,6BAAAA,QAAA,cAAC,YAAAC,SAAA,EAAM,GAAG,OAAO,MAAK,SAAQ;AACvC;AAEA,IAAO,oBAAQ;",
|
|
6
|
+
"names": ["React", "Icon"]
|
|
7
7
|
}
|
|
@@ -1,38 +1,39 @@
|
|
|
1
1
|
var __create = Object.create;
|
|
2
2
|
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
3
5
|
var __getProtoOf = Object.getPrototypeOf;
|
|
4
6
|
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
7
|
var __export = (target, all) => {
|
|
9
8
|
for (var name in all)
|
|
10
|
-
__defProp(target, name, {get: all[name], enumerable: true});
|
|
9
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
11
10
|
};
|
|
12
|
-
var
|
|
13
|
-
if (
|
|
14
|
-
for (let key of __getOwnPropNames(
|
|
15
|
-
if (!__hasOwnProp.call(
|
|
16
|
-
__defProp(
|
|
11
|
+
var __copyProps = (to, from, except, desc) => {
|
|
12
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
13
|
+
for (let key of __getOwnPropNames(from))
|
|
14
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
15
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
17
16
|
}
|
|
18
|
-
return
|
|
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);
|
|
17
|
+
return to;
|
|
22
18
|
};
|
|
23
|
-
|
|
24
|
-
|
|
19
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
20
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
21
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
22
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
23
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
24
|
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
25
|
+
mod
|
|
26
|
+
));
|
|
27
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
28
|
+
var config_exports = {};
|
|
29
|
+
__export(config_exports, {
|
|
25
30
|
default: () => config_default,
|
|
26
31
|
minus: () => minus
|
|
27
32
|
});
|
|
28
|
-
|
|
33
|
+
module.exports = __toCommonJS(config_exports);
|
|
34
|
+
var import_react = __toESM(require("react"));
|
|
29
35
|
function minus() {
|
|
30
|
-
return /* @__PURE__ */ import_react.default.createElement(import_react.default.Fragment, null, /* @__PURE__ */ import_react.default.createElement("rect", {
|
|
31
|
-
x: "2",
|
|
32
|
-
y: "10.35",
|
|
33
|
-
width: "20",
|
|
34
|
-
height: "3.3"
|
|
35
|
-
}));
|
|
36
|
+
return /* @__PURE__ */ import_react.default.createElement(import_react.default.Fragment, null, /* @__PURE__ */ import_react.default.createElement("rect", { x: "2", y: "10.35", width: "20", height: "3.3" }));
|
|
36
37
|
}
|
|
37
38
|
minus.props = [];
|
|
38
39
|
var config_default = minus;
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../src/MinusIcon/config.tsx"],
|
|
4
4
|
"sourcesContent": ["import React from 'react';\n\nexport interface MinusType {}\n\nexport function minus(): React.ReactElement {\n return (\n <>\n <rect x=\"2\" y=\"10.35\" width=\"20\" height=\"3.3\"/>\n </>\n );\n}\n\nminus.props = [];\n\nexport default minus;\n"],
|
|
5
|
-
"mappings": "
|
|
6
|
-
"names": []
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,mBAAkB;AAIX,SAAS,QAA4B;AAC1C,SACE,6BAAAA,QAAA,2BAAAA,QAAA,gBACE,6BAAAA,QAAA,cAAC,UAAK,GAAE,KAAI,GAAE,SAAQ,OAAM,MAAK,QAAO,OAAK,CAChD;AAEH;AAEA,MAAM,QAAQ,CAAC;AAEf,IAAO,iBAAQ;",
|
|
6
|
+
"names": ["React"]
|
|
7
7
|
}
|
package/cjs/MinusIcon/index.js
CHANGED
|
@@ -1,37 +1,40 @@
|
|
|
1
1
|
var __create = Object.create;
|
|
2
2
|
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
3
5
|
var __getProtoOf = Object.getPrototypeOf;
|
|
4
6
|
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
7
|
var __export = (target, all) => {
|
|
9
8
|
for (var name in all)
|
|
10
|
-
__defProp(target, name, {get: all[name], enumerable: true});
|
|
9
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
11
10
|
};
|
|
12
|
-
var
|
|
13
|
-
if (
|
|
14
|
-
for (let key of __getOwnPropNames(
|
|
15
|
-
if (!__hasOwnProp.call(
|
|
16
|
-
__defProp(
|
|
11
|
+
var __copyProps = (to, from, except, desc) => {
|
|
12
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
13
|
+
for (let key of __getOwnPropNames(from))
|
|
14
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
15
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
17
16
|
}
|
|
18
|
-
return
|
|
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);
|
|
17
|
+
return to;
|
|
22
18
|
};
|
|
23
|
-
|
|
24
|
-
|
|
19
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
20
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
21
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
22
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
23
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
24
|
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
25
|
+
mod
|
|
26
|
+
));
|
|
27
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
28
|
+
var MinusIcon_exports = {};
|
|
29
|
+
__export(MinusIcon_exports, {
|
|
25
30
|
MinusIcon: () => MinusIcon,
|
|
26
31
|
default: () => MinusIcon_default
|
|
27
32
|
});
|
|
28
|
-
|
|
29
|
-
var
|
|
33
|
+
module.exports = __toCommonJS(MinusIcon_exports);
|
|
34
|
+
var import_react = __toESM(require("react"));
|
|
35
|
+
var import_Icon = __toESM(require("@digigov/react-icons/Icon"));
|
|
30
36
|
const MinusIcon = (props) => {
|
|
31
|
-
return /* @__PURE__ */ import_react.default.createElement(import_Icon.default, {
|
|
32
|
-
...props,
|
|
33
|
-
icon: "minus"
|
|
34
|
-
});
|
|
37
|
+
return /* @__PURE__ */ import_react.default.createElement(import_Icon.default, { ...props, icon: "minus" });
|
|
35
38
|
};
|
|
36
39
|
var MinusIcon_default = MinusIcon;
|
|
37
40
|
// Annotate the CommonJS export names for ESM import in node:
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../src/MinusIcon/index.tsx"],
|
|
4
4
|
"sourcesContent": ["import React from 'react';\nimport Icon, { IconProps } from '@digigov/react-icons/Icon';\n\nexport const MinusIcon: React.FC<IconProps<'minus'>> = (props) => {\n return <Icon {...props} icon=\"minus\"></Icon>;\n};\n\nexport default MinusIcon;\n"],
|
|
5
|
-
"mappings": "
|
|
6
|
-
"names": []
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,mBAAkB;AAClB,kBAAgC;AAEzB,MAAM,YAA0C,CAAC,UAAU;AAChE,SAAO,6BAAAA,QAAA,cAAC,YAAAC,SAAA,EAAM,GAAG,OAAO,MAAK,SAAQ;AACvC;AAEA,IAAO,oBAAQ;",
|
|
6
|
+
"names": ["React", "Icon"]
|
|
7
7
|
}
|
|
@@ -1,45 +1,39 @@
|
|
|
1
1
|
var __create = Object.create;
|
|
2
2
|
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
3
5
|
var __getProtoOf = Object.getPrototypeOf;
|
|
4
6
|
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
7
|
var __export = (target, all) => {
|
|
9
8
|
for (var name in all)
|
|
10
|
-
__defProp(target, name, {get: all[name], enumerable: true});
|
|
9
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
11
10
|
};
|
|
12
|
-
var
|
|
13
|
-
if (
|
|
14
|
-
for (let key of __getOwnPropNames(
|
|
15
|
-
if (!__hasOwnProp.call(
|
|
16
|
-
__defProp(
|
|
11
|
+
var __copyProps = (to, from, except, desc) => {
|
|
12
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
13
|
+
for (let key of __getOwnPropNames(from))
|
|
14
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
15
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
17
16
|
}
|
|
18
|
-
return
|
|
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);
|
|
17
|
+
return to;
|
|
22
18
|
};
|
|
23
|
-
|
|
24
|
-
|
|
19
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
20
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
21
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
22
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
23
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
24
|
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
25
|
+
mod
|
|
26
|
+
));
|
|
27
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
28
|
+
var config_exports = {};
|
|
29
|
+
__export(config_exports, {
|
|
25
30
|
default: () => config_default,
|
|
26
31
|
moreVert: () => moreVert
|
|
27
32
|
});
|
|
28
|
-
|
|
33
|
+
module.exports = __toCommonJS(config_exports);
|
|
34
|
+
var import_react = __toESM(require("react"));
|
|
29
35
|
function moreVert() {
|
|
30
|
-
return /* @__PURE__ */ import_react.default.createElement(import_react.default.Fragment, null, /* @__PURE__ */ import_react.default.createElement("circle", {
|
|
31
|
-
cx: "12",
|
|
32
|
-
cy: "5",
|
|
33
|
-
r: "2"
|
|
34
|
-
}), /* @__PURE__ */ import_react.default.createElement("circle", {
|
|
35
|
-
cx: "12",
|
|
36
|
-
cy: "12",
|
|
37
|
-
r: "2"
|
|
38
|
-
}), /* @__PURE__ */ import_react.default.createElement("circle", {
|
|
39
|
-
cx: "12",
|
|
40
|
-
cy: "19",
|
|
41
|
-
r: "2"
|
|
42
|
-
}));
|
|
36
|
+
return /* @__PURE__ */ import_react.default.createElement(import_react.default.Fragment, null, /* @__PURE__ */ import_react.default.createElement("circle", { cx: "12", cy: "5", r: "2" }), /* @__PURE__ */ import_react.default.createElement("circle", { cx: "12", cy: "12", r: "2" }), /* @__PURE__ */ import_react.default.createElement("circle", { cx: "12", cy: "19", r: "2" }));
|
|
43
37
|
}
|
|
44
38
|
moreVert.props = [];
|
|
45
39
|
var config_default = moreVert;
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../src/MoreVertIcon/config.tsx"],
|
|
4
4
|
"sourcesContent": ["import React from 'react';\n\nexport interface MoreVertType {}\n\nexport function moreVert(): React.ReactElement {\n return (\n <>\n <circle cx=\"12\" cy=\"5\" r=\"2\" />\n <circle cx=\"12\" cy=\"12\" r=\"2\" />\n <circle cx=\"12\" cy=\"19\" r=\"2\" />\n </>\n );\n}\n\nmoreVert.props = [];\n\nexport default moreVert;\n"],
|
|
5
|
-
"mappings": "
|
|
6
|
-
"names": []
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,mBAAkB;AAIX,SAAS,WAA+B;AAC7C,SACE,6BAAAA,QAAA,2BAAAA,QAAA,gBACE,6BAAAA,QAAA,cAAC,YAAO,IAAG,MAAK,IAAG,KAAI,GAAE,KAAI,GAC7B,6BAAAA,QAAA,cAAC,YAAO,IAAG,MAAK,IAAG,MAAK,GAAE,KAAI,GAC9B,6BAAAA,QAAA,cAAC,YAAO,IAAG,MAAK,IAAG,MAAK,GAAE,KAAI,CAChC;AAEJ;AAEA,SAAS,QAAQ,CAAC;AAElB,IAAO,iBAAQ;",
|
|
6
|
+
"names": ["React"]
|
|
7
7
|
}
|
|
@@ -1,37 +1,40 @@
|
|
|
1
1
|
var __create = Object.create;
|
|
2
2
|
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
3
5
|
var __getProtoOf = Object.getPrototypeOf;
|
|
4
6
|
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
7
|
var __export = (target, all) => {
|
|
9
8
|
for (var name in all)
|
|
10
|
-
__defProp(target, name, {get: all[name], enumerable: true});
|
|
9
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
11
10
|
};
|
|
12
|
-
var
|
|
13
|
-
if (
|
|
14
|
-
for (let key of __getOwnPropNames(
|
|
15
|
-
if (!__hasOwnProp.call(
|
|
16
|
-
__defProp(
|
|
11
|
+
var __copyProps = (to, from, except, desc) => {
|
|
12
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
13
|
+
for (let key of __getOwnPropNames(from))
|
|
14
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
15
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
17
16
|
}
|
|
18
|
-
return
|
|
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);
|
|
17
|
+
return to;
|
|
22
18
|
};
|
|
23
|
-
|
|
24
|
-
|
|
19
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
20
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
21
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
22
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
23
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
24
|
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
25
|
+
mod
|
|
26
|
+
));
|
|
27
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
28
|
+
var MoreVertIcon_exports = {};
|
|
29
|
+
__export(MoreVertIcon_exports, {
|
|
25
30
|
MoreVertIcon: () => MoreVertIcon,
|
|
26
31
|
default: () => MoreVertIcon_default
|
|
27
32
|
});
|
|
28
|
-
|
|
29
|
-
var
|
|
33
|
+
module.exports = __toCommonJS(MoreVertIcon_exports);
|
|
34
|
+
var import_react = __toESM(require("react"));
|
|
35
|
+
var import_Icon = __toESM(require("@digigov/react-icons/Icon"));
|
|
30
36
|
const MoreVertIcon = (props) => {
|
|
31
|
-
return /* @__PURE__ */ import_react.default.createElement(import_Icon.default, {
|
|
32
|
-
...props,
|
|
33
|
-
icon: "moreVert"
|
|
34
|
-
});
|
|
37
|
+
return /* @__PURE__ */ import_react.default.createElement(import_Icon.default, { ...props, icon: "moreVert" });
|
|
35
38
|
};
|
|
36
39
|
var MoreVertIcon_default = MoreVertIcon;
|
|
37
40
|
// Annotate the CommonJS export names for ESM import in node:
|