@digigov/react-icons 1.2.0-a7ffb5dc → 2.0.0-8de46296
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/ArrowIcon/__snapshots__/index.test.tsx.snap +8 -8
- package/CancelIcon/__snapshots__/index.test.tsx.snap +262 -0
- package/CancelIcon/config/index.js +9 -0
- package/CancelIcon/config/package.json +6 -0
- package/CancelIcon/config.d.ts +8 -0
- package/CancelIcon/index.d.ts +4 -0
- package/CancelIcon/index.js +9 -0
- package/CancelIcon/index.test/index.js +45 -0
- package/CancelIcon/index.test/package.json +6 -0
- package/CancelIcon/index.test.d.ts +1 -0
- package/CancelIcon/package.json +6 -0
- package/ChatIcon/__snapshots__/index.test.tsx.snap +300 -0
- package/ChatIcon/config/index.js +17 -0
- package/ChatIcon/config/package.json +6 -0
- package/ChatIcon/config.d.ts +11 -0
- package/ChatIcon/index.d.ts +4 -0
- package/ChatIcon/index.js +9 -0
- package/ChatIcon/index.test/index.js +51 -0
- package/ChatIcon/index.test/package.json +6 -0
- package/ChatIcon/index.test.d.ts +1 -0
- package/{lazy → ChatIcon}/package.json +1 -1
- package/ChevronIcon/__snapshots__/index.test.tsx.snap +148 -0
- package/DownloadIcon/__snapshots__/index.test.tsx.snap +318 -0
- package/DownloadIcon/config/index.js +14 -0
- package/DownloadIcon/config/package.json +6 -0
- package/DownloadIcon/config.d.ts +8 -0
- package/DownloadIcon/index.d.ts +4 -0
- package/DownloadIcon/index.js +9 -0
- package/DownloadIcon/index.test/index.js +45 -0
- package/DownloadIcon/index.test/package.json +6 -0
- package/DownloadIcon/index.test.d.ts +1 -0
- package/DownloadIcon/package.json +6 -0
- package/ExclamationIcon/__snapshots__/index.test.tsx.snap +297 -0
- package/ExclamationIcon/config/index.js +14 -0
- package/ExclamationIcon/config/package.json +6 -0
- package/ExclamationIcon/config.d.ts +8 -0
- package/ExclamationIcon/index.d.ts +4 -0
- package/ExclamationIcon/index.js +9 -0
- package/ExclamationIcon/index.test/index.js +45 -0
- package/ExclamationIcon/index.test/package.json +6 -0
- package/ExclamationIcon/index.test.d.ts +1 -0
- package/ExclamationIcon/package.json +6 -0
- package/Icon/__snapshots__/index.test.tsx.snap +10 -10
- package/LockIcon/__snapshots__/index.test.tsx.snap +262 -0
- package/LockIcon/config/index.js +9 -0
- package/LockIcon/config/package.json +6 -0
- package/LockIcon/config.d.ts +8 -0
- package/LockIcon/index.d.ts +4 -0
- package/LockIcon/index.js +9 -0
- package/LockIcon/index.test/index.js +45 -0
- package/LockIcon/index.test/package.json +6 -0
- package/LockIcon/index.test.d.ts +1 -0
- package/LockIcon/package.json +6 -0
- package/LoginIcon/__snapshots__/index.test.tsx.snap +283 -0
- package/LoginIcon/config/index.js +12 -0
- package/LoginIcon/config/package.json +6 -0
- package/LoginIcon/config.d.ts +8 -0
- package/LoginIcon/index.d.ts +4 -0
- package/LoginIcon/index.js +9 -0
- package/LoginIcon/index.test/index.js +45 -0
- package/LoginIcon/index.test/package.json +6 -0
- package/LoginIcon/index.test.d.ts +1 -0
- package/LoginIcon/package.json +6 -0
- package/MinusIcon/__snapshots__/index.test.tsx.snap +283 -0
- package/MinusIcon/config/index.js +12 -0
- package/MinusIcon/config/package.json +6 -0
- package/MinusIcon/config.d.ts +8 -0
- package/MinusIcon/index.d.ts +4 -0
- package/MinusIcon/index.js +9 -0
- package/MinusIcon/index.test/index.js +45 -0
- package/MinusIcon/index.test/package.json +6 -0
- package/MinusIcon/index.test.d.ts +1 -0
- package/MinusIcon/package.json +6 -0
- package/PdfFileIcon/__snapshots__/index.test.tsx.snap +353 -0
- package/PdfFileIcon/config/index.js +15 -0
- package/PdfFileIcon/config/package.json +6 -0
- package/PdfFileIcon/config.d.ts +8 -0
- package/PdfFileIcon/index.d.ts +4 -0
- package/PdfFileIcon/index.js +9 -0
- package/PdfFileIcon/index.test/index.js +45 -0
- package/PdfFileIcon/index.test/package.json +6 -0
- package/PdfFileIcon/index.test.d.ts +1 -0
- package/PdfFileIcon/package.json +6 -0
- package/PlusIcon/__snapshots__/index.test.tsx.snap +262 -0
- package/PlusIcon/config/index.js +9 -0
- package/PlusIcon/config/package.json +6 -0
- package/PlusIcon/config.d.ts +8 -0
- package/PlusIcon/index.d.ts +4 -0
- package/PlusIcon/index.js +9 -0
- package/PlusIcon/index.test/index.js +45 -0
- package/PlusIcon/index.test/package.json +6 -0
- package/PlusIcon/index.test.d.ts +1 -0
- package/PlusIcon/package.json +6 -0
- package/PrintIcon/__snapshots__/index.test.tsx.snap +304 -0
- package/PrintIcon/config/index.js +15 -0
- package/PrintIcon/config/package.json +6 -0
- package/PrintIcon/config.d.ts +8 -0
- package/PrintIcon/index.d.ts +4 -0
- package/PrintIcon/index.js +9 -0
- package/PrintIcon/index.test/index.js +45 -0
- package/PrintIcon/index.test/package.json +6 -0
- package/PrintIcon/index.test.d.ts +1 -0
- package/PrintIcon/package.json +6 -0
- package/ReplyIcon/__snapshots__/index.test.tsx.snap +262 -0
- package/ReplyIcon/config/index.js +9 -0
- package/ReplyIcon/config/package.json +6 -0
- package/ReplyIcon/config.d.ts +8 -0
- package/ReplyIcon/index.d.ts +4 -0
- package/ReplyIcon/index.js +9 -0
- package/ReplyIcon/index.test/index.js +45 -0
- package/ReplyIcon/index.test/package.json +6 -0
- package/ReplyIcon/index.test.d.ts +1 -0
- package/ReplyIcon/package.json +6 -0
- package/RestoreIcon/__snapshots__/index.test.tsx.snap +318 -0
- package/RestoreIcon/config/index.js +17 -0
- package/RestoreIcon/config/package.json +6 -0
- package/RestoreIcon/config.d.ts +8 -0
- package/RestoreIcon/index.d.ts +4 -0
- package/RestoreIcon/index.js +9 -0
- package/RestoreIcon/index.test/index.js +45 -0
- package/RestoreIcon/index.test/package.json +6 -0
- package/RestoreIcon/index.test.d.ts +1 -0
- package/RestoreIcon/package.json +6 -0
- package/cjs/ArrowIcon/__snapshots__/index.test.tsx.snap +8 -8
- package/cjs/CancelIcon/__snapshots__/index.test.tsx.snap +262 -0
- package/cjs/CancelIcon/config/index.js +17 -0
- package/cjs/CancelIcon/index.js +16 -0
- package/cjs/CancelIcon/index.test/index.js +48 -0
- package/cjs/ChatIcon/__snapshots__/index.test.tsx.snap +300 -0
- package/cjs/ChatIcon/config/index.js +24 -0
- package/cjs/ChatIcon/index.js +16 -0
- package/cjs/ChatIcon/index.test/index.js +54 -0
- package/cjs/ChevronIcon/__snapshots__/index.test.tsx.snap +148 -0
- package/cjs/DownloadIcon/__snapshots__/index.test.tsx.snap +318 -0
- package/cjs/DownloadIcon/config/index.js +22 -0
- package/cjs/DownloadIcon/index.js +16 -0
- package/cjs/DownloadIcon/index.test/index.js +48 -0
- package/cjs/ExclamationIcon/__snapshots__/index.test.tsx.snap +297 -0
- package/cjs/ExclamationIcon/config/index.js +22 -0
- package/cjs/ExclamationIcon/index.js +16 -0
- package/cjs/ExclamationIcon/index.test/index.js +48 -0
- package/cjs/Icon/__snapshots__/index.test.tsx.snap +10 -10
- package/cjs/Icon/index.js +1 -1
- package/cjs/LockIcon/__snapshots__/index.test.tsx.snap +262 -0
- package/cjs/LockIcon/config/index.js +17 -0
- package/cjs/LockIcon/index.js +16 -0
- package/cjs/LockIcon/index.test/index.js +48 -0
- package/cjs/LoginIcon/__snapshots__/index.test.tsx.snap +283 -0
- package/cjs/LoginIcon/config/index.js +20 -0
- package/cjs/LoginIcon/index.js +16 -0
- package/cjs/LoginIcon/index.test/index.js +48 -0
- package/cjs/MinusIcon/__snapshots__/index.test.tsx.snap +283 -0
- package/cjs/MinusIcon/config/index.js +20 -0
- package/cjs/MinusIcon/index.js +16 -0
- package/cjs/MinusIcon/index.test/index.js +48 -0
- package/cjs/PdfFileIcon/__snapshots__/index.test.tsx.snap +353 -0
- package/cjs/PdfFileIcon/config/index.js +23 -0
- package/cjs/PdfFileIcon/index.js +16 -0
- package/cjs/PdfFileIcon/index.test/index.js +48 -0
- package/cjs/PlusIcon/__snapshots__/index.test.tsx.snap +262 -0
- package/cjs/PlusIcon/config/index.js +17 -0
- package/cjs/PlusIcon/index.js +16 -0
- package/cjs/PlusIcon/index.test/index.js +48 -0
- package/cjs/PrintIcon/__snapshots__/index.test.tsx.snap +304 -0
- package/cjs/PrintIcon/config/index.js +23 -0
- package/cjs/PrintIcon/index.js +16 -0
- package/cjs/PrintIcon/index.test/index.js +48 -0
- package/cjs/ReplyIcon/__snapshots__/index.test.tsx.snap +262 -0
- package/cjs/ReplyIcon/config/index.js +17 -0
- package/cjs/ReplyIcon/index.js +16 -0
- package/cjs/ReplyIcon/index.test/index.js +48 -0
- package/cjs/RestoreIcon/__snapshots__/index.test.tsx.snap +318 -0
- package/cjs/RestoreIcon/config/index.js +25 -0
- package/cjs/RestoreIcon/index.js +16 -0
- package/cjs/RestoreIcon/index.test/index.js +48 -0
- package/cjs/icons/index.js +132 -0
- package/cjs/index.js +132 -0
- package/cjs/registry/index.js +24 -0
- package/icons/index.js +12 -0
- package/icons.d.ts +36 -0
- package/index.d.ts +12 -0
- package/index.js +14 -2
- package/package.json +4 -3
- package/registry/index.js +24 -0
- package/registry.d.ts +12 -0
- package/src/ArrowIcon/__snapshots__/index.test.tsx.snap +8 -8
- package/src/CancelIcon/__snapshots__/index.test.tsx.snap +262 -0
- package/src/CancelIcon/config.tsx +15 -0
- package/src/CancelIcon/index.test.tsx +26 -0
- package/src/CancelIcon/index.tsx +8 -0
- package/src/ChatIcon/__snapshots__/index.test.tsx.snap +300 -0
- package/src/ChatIcon/config.tsx +28 -0
- package/src/ChatIcon/index.test.tsx +29 -0
- package/src/ChatIcon/index.tsx +8 -0
- package/src/ChevronIcon/__snapshots__/index.test.tsx.snap +148 -0
- package/src/DownloadIcon/__snapshots__/index.test.tsx.snap +318 -0
- package/src/DownloadIcon/config.tsx +16 -0
- package/src/DownloadIcon/index.test.tsx +26 -0
- package/src/DownloadIcon/index.tsx +8 -0
- package/src/ExclamationIcon/__snapshots__/index.test.tsx.snap +297 -0
- package/src/ExclamationIcon/config.tsx +16 -0
- package/src/ExclamationIcon/index.test.tsx +26 -0
- package/src/ExclamationIcon/index.tsx +8 -0
- package/src/Icon/__snapshots__/index.test.tsx.snap +10 -10
- package/src/LockIcon/__snapshots__/index.test.tsx.snap +262 -0
- package/src/LockIcon/config.tsx +15 -0
- package/src/LockIcon/index.test.tsx +26 -0
- package/src/LockIcon/index.tsx +8 -0
- package/src/LoginIcon/__snapshots__/index.test.tsx.snap +283 -0
- package/src/LoginIcon/config.tsx +16 -0
- package/src/LoginIcon/index.test.tsx +26 -0
- package/src/LoginIcon/index.tsx +8 -0
- package/src/MinusIcon/__snapshots__/index.test.tsx.snap +283 -0
- package/src/MinusIcon/config.tsx +15 -0
- package/src/MinusIcon/index.test.tsx +26 -0
- package/src/MinusIcon/index.tsx +8 -0
- package/src/PdfFileIcon/__snapshots__/index.test.tsx.snap +353 -0
- package/src/PdfFileIcon/config.tsx +20 -0
- package/src/PdfFileIcon/index.test.tsx +26 -0
- package/src/PdfFileIcon/index.tsx +8 -0
- package/src/PlusIcon/__snapshots__/index.test.tsx.snap +262 -0
- package/src/PlusIcon/config.tsx +15 -0
- package/src/PlusIcon/index.test.tsx +26 -0
- package/src/PlusIcon/index.tsx +8 -0
- package/src/PrintIcon/__snapshots__/index.test.tsx.snap +304 -0
- package/src/PrintIcon/config.tsx +16 -0
- package/src/PrintIcon/index.test.tsx +26 -0
- package/src/PrintIcon/index.tsx +8 -0
- package/src/ReplyIcon/__snapshots__/index.test.tsx.snap +262 -0
- package/src/ReplyIcon/config.tsx +15 -0
- package/src/ReplyIcon/index.test.tsx +26 -0
- package/src/ReplyIcon/index.tsx +8 -0
- package/src/RestoreIcon/__snapshots__/index.test.tsx.snap +318 -0
- package/src/RestoreIcon/config.tsx +17 -0
- package/src/RestoreIcon/index.test.tsx +26 -0
- package/src/RestoreIcon/index.tsx +8 -0
- package/src/icons.ts +37 -0
- package/src/index.ts +12 -0
- package/src/registry.js +24 -0
- package/cjs/lazy/index.js +0 -121
- package/lazy/index.js +0 -87
- package/lazy.d.ts +0 -15
- package/src/lazy.js +0 -16
|
@@ -0,0 +1,353 @@
|
|
|
1
|
+
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
2
|
+
|
|
3
|
+
exports[`renders the PdfFileIcon with no props 1`] = `
|
|
4
|
+
<PdfFileIcon>
|
|
5
|
+
<ForwardRef(Icon)
|
|
6
|
+
icon="pdfFile"
|
|
7
|
+
>
|
|
8
|
+
<ForwardRef(SvgIcon)
|
|
9
|
+
className="ds-svg-icon--pdfFile"
|
|
10
|
+
>
|
|
11
|
+
<ForwardRef(Base)
|
|
12
|
+
aria-hidden="true"
|
|
13
|
+
as="svg"
|
|
14
|
+
className="ds-svg-icon--pdfFile ds-svg-icon"
|
|
15
|
+
focusable="false"
|
|
16
|
+
viewBox="0 0 24 24"
|
|
17
|
+
>
|
|
18
|
+
<svg
|
|
19
|
+
aria-hidden="true"
|
|
20
|
+
className="ds-svg-icon--pdfFile ds-svg-icon"
|
|
21
|
+
focusable="false"
|
|
22
|
+
viewBox="0 0 24 24"
|
|
23
|
+
>
|
|
24
|
+
<pdfFile>
|
|
25
|
+
<g>
|
|
26
|
+
<polygon
|
|
27
|
+
points="4 19 4 7 2 7 2 21 18 21 18 19 4 19"
|
|
28
|
+
/>
|
|
29
|
+
<g>
|
|
30
|
+
<path
|
|
31
|
+
d="M9.594,8.364h-.838v1.504h.823c.243,0,.429-.061.557-.183.128-.122.192-.294.192-.516,0-.243-.066-.438-.197-.584-.131-.146-.31-.22-.537-.222Z"
|
|
32
|
+
/>
|
|
33
|
+
<path
|
|
34
|
+
d="M13.952,8.364h-.422v3.276h.437c.36,0,.637-.128.831-.385.193-.257.29-.638.29-1.144v-.226c0-.504-.097-.883-.29-1.139-.193-.255-.475-.383-.845-.383Z"
|
|
35
|
+
/>
|
|
36
|
+
<path
|
|
37
|
+
d="M6,3v14h16V3H6ZM11.057,10.381c-.364.304-.863.456-1.498.456h-.802v1.769h-1.257v-5.213h2.08c.399,0,.751.073,1.058.22s.544.356.712.627c.168.271.252.578.252.922,0,.508-.182.915-.546,1.219ZM16.368,10.111c0,.477-.101.905-.303,1.284-.202.378-.486.674-.852.888-.366.214-.775.322-1.226.324h-1.715v-5.213h1.679c.461,0,.875.104,1.242.313.368.209.655.504.861.884.206.381.311.807.313,1.28v.24ZM20.5,8.364h-2.231v1.199h2.026v.967h-2.026v2.077h-1.257v-5.213h3.487v.97Z"
|
|
38
|
+
/>
|
|
39
|
+
</g>
|
|
40
|
+
</g>
|
|
41
|
+
</pdfFile>
|
|
42
|
+
</svg>
|
|
43
|
+
</ForwardRef(Base)>
|
|
44
|
+
</ForwardRef(SvgIcon)>
|
|
45
|
+
</ForwardRef(Icon)>
|
|
46
|
+
</PdfFileIcon>
|
|
47
|
+
`;
|
|
48
|
+
|
|
49
|
+
exports[`renders the PdfFileIcon with prop size=m 1`] = `
|
|
50
|
+
<PdfFileIcon
|
|
51
|
+
size="md"
|
|
52
|
+
>
|
|
53
|
+
<ForwardRef(Icon)
|
|
54
|
+
icon="pdfFile"
|
|
55
|
+
size="md"
|
|
56
|
+
>
|
|
57
|
+
<ForwardRef(SvgIcon)
|
|
58
|
+
className="ds-svg-icon--pdfFile"
|
|
59
|
+
size="md"
|
|
60
|
+
>
|
|
61
|
+
<ForwardRef(Base)
|
|
62
|
+
aria-hidden="true"
|
|
63
|
+
as="svg"
|
|
64
|
+
className="ds-svg-icon--pdfFile ds-svg-icon--md ds-svg-icon"
|
|
65
|
+
focusable="false"
|
|
66
|
+
viewBox="0 0 24 24"
|
|
67
|
+
>
|
|
68
|
+
<svg
|
|
69
|
+
aria-hidden="true"
|
|
70
|
+
className="ds-svg-icon--pdfFile ds-svg-icon--md ds-svg-icon"
|
|
71
|
+
focusable="false"
|
|
72
|
+
viewBox="0 0 24 24"
|
|
73
|
+
>
|
|
74
|
+
<pdfFile>
|
|
75
|
+
<g>
|
|
76
|
+
<polygon
|
|
77
|
+
points="4 19 4 7 2 7 2 21 18 21 18 19 4 19"
|
|
78
|
+
/>
|
|
79
|
+
<g>
|
|
80
|
+
<path
|
|
81
|
+
d="M9.594,8.364h-.838v1.504h.823c.243,0,.429-.061.557-.183.128-.122.192-.294.192-.516,0-.243-.066-.438-.197-.584-.131-.146-.31-.22-.537-.222Z"
|
|
82
|
+
/>
|
|
83
|
+
<path
|
|
84
|
+
d="M13.952,8.364h-.422v3.276h.437c.36,0,.637-.128.831-.385.193-.257.29-.638.29-1.144v-.226c0-.504-.097-.883-.29-1.139-.193-.255-.475-.383-.845-.383Z"
|
|
85
|
+
/>
|
|
86
|
+
<path
|
|
87
|
+
d="M6,3v14h16V3H6ZM11.057,10.381c-.364.304-.863.456-1.498.456h-.802v1.769h-1.257v-5.213h2.08c.399,0,.751.073,1.058.22s.544.356.712.627c.168.271.252.578.252.922,0,.508-.182.915-.546,1.219ZM16.368,10.111c0,.477-.101.905-.303,1.284-.202.378-.486.674-.852.888-.366.214-.775.322-1.226.324h-1.715v-5.213h1.679c.461,0,.875.104,1.242.313.368.209.655.504.861.884.206.381.311.807.313,1.28v.24ZM20.5,8.364h-2.231v1.199h2.026v.967h-2.026v2.077h-1.257v-5.213h3.487v.97Z"
|
|
88
|
+
/>
|
|
89
|
+
</g>
|
|
90
|
+
</g>
|
|
91
|
+
</pdfFile>
|
|
92
|
+
</svg>
|
|
93
|
+
</ForwardRef(Base)>
|
|
94
|
+
</ForwardRef(SvgIcon)>
|
|
95
|
+
</ForwardRef(Icon)>
|
|
96
|
+
</PdfFileIcon>
|
|
97
|
+
`;
|
|
98
|
+
|
|
99
|
+
exports[`renders the PdfFileIcon with prop size=xl 1`] = `
|
|
100
|
+
<PdfFileIcon
|
|
101
|
+
size="xl"
|
|
102
|
+
>
|
|
103
|
+
<ForwardRef(Icon)
|
|
104
|
+
icon="pdfFile"
|
|
105
|
+
size="xl"
|
|
106
|
+
>
|
|
107
|
+
<ForwardRef(SvgIcon)
|
|
108
|
+
className="ds-svg-icon--pdfFile"
|
|
109
|
+
size="xl"
|
|
110
|
+
>
|
|
111
|
+
<ForwardRef(Base)
|
|
112
|
+
aria-hidden="true"
|
|
113
|
+
as="svg"
|
|
114
|
+
className="ds-svg-icon--pdfFile ds-svg-icon--xl ds-svg-icon"
|
|
115
|
+
focusable="false"
|
|
116
|
+
viewBox="0 0 24 24"
|
|
117
|
+
>
|
|
118
|
+
<svg
|
|
119
|
+
aria-hidden="true"
|
|
120
|
+
className="ds-svg-icon--pdfFile ds-svg-icon--xl ds-svg-icon"
|
|
121
|
+
focusable="false"
|
|
122
|
+
viewBox="0 0 24 24"
|
|
123
|
+
>
|
|
124
|
+
<pdfFile>
|
|
125
|
+
<g>
|
|
126
|
+
<polygon
|
|
127
|
+
points="4 19 4 7 2 7 2 21 18 21 18 19 4 19"
|
|
128
|
+
/>
|
|
129
|
+
<g>
|
|
130
|
+
<path
|
|
131
|
+
d="M9.594,8.364h-.838v1.504h.823c.243,0,.429-.061.557-.183.128-.122.192-.294.192-.516,0-.243-.066-.438-.197-.584-.131-.146-.31-.22-.537-.222Z"
|
|
132
|
+
/>
|
|
133
|
+
<path
|
|
134
|
+
d="M13.952,8.364h-.422v3.276h.437c.36,0,.637-.128.831-.385.193-.257.29-.638.29-1.144v-.226c0-.504-.097-.883-.29-1.139-.193-.255-.475-.383-.845-.383Z"
|
|
135
|
+
/>
|
|
136
|
+
<path
|
|
137
|
+
d="M6,3v14h16V3H6ZM11.057,10.381c-.364.304-.863.456-1.498.456h-.802v1.769h-1.257v-5.213h2.08c.399,0,.751.073,1.058.22s.544.356.712.627c.168.271.252.578.252.922,0,.508-.182.915-.546,1.219ZM16.368,10.111c0,.477-.101.905-.303,1.284-.202.378-.486.674-.852.888-.366.214-.775.322-1.226.324h-1.715v-5.213h1.679c.461,0,.875.104,1.242.313.368.209.655.504.861.884.206.381.311.807.313,1.28v.24ZM20.5,8.364h-2.231v1.199h2.026v.967h-2.026v2.077h-1.257v-5.213h3.487v.97Z"
|
|
138
|
+
/>
|
|
139
|
+
</g>
|
|
140
|
+
</g>
|
|
141
|
+
</pdfFile>
|
|
142
|
+
</svg>
|
|
143
|
+
</ForwardRef(Base)>
|
|
144
|
+
</ForwardRef(SvgIcon)>
|
|
145
|
+
</ForwardRef(Icon)>
|
|
146
|
+
</PdfFileIcon>
|
|
147
|
+
`;
|
|
148
|
+
|
|
149
|
+
exports[`renders the PdfFileIcon with prop variant=error and size= xl 1`] = `
|
|
150
|
+
<PdfFileIcon
|
|
151
|
+
size="xl"
|
|
152
|
+
variant="warning"
|
|
153
|
+
>
|
|
154
|
+
<ForwardRef(Icon)
|
|
155
|
+
icon="pdfFile"
|
|
156
|
+
size="xl"
|
|
157
|
+
variant="warning"
|
|
158
|
+
>
|
|
159
|
+
<ForwardRef(SvgIcon)
|
|
160
|
+
className="ds-svg-icon--pdfFile"
|
|
161
|
+
size="xl"
|
|
162
|
+
variant="warning"
|
|
163
|
+
>
|
|
164
|
+
<ForwardRef(Base)
|
|
165
|
+
aria-hidden="true"
|
|
166
|
+
as="svg"
|
|
167
|
+
className="ds-svg-icon--pdfFile ds-svg-icon--warning ds-svg-icon--xl ds-svg-icon"
|
|
168
|
+
focusable="false"
|
|
169
|
+
viewBox="0 0 24 24"
|
|
170
|
+
>
|
|
171
|
+
<svg
|
|
172
|
+
aria-hidden="true"
|
|
173
|
+
className="ds-svg-icon--pdfFile ds-svg-icon--warning ds-svg-icon--xl ds-svg-icon"
|
|
174
|
+
focusable="false"
|
|
175
|
+
viewBox="0 0 24 24"
|
|
176
|
+
>
|
|
177
|
+
<pdfFile>
|
|
178
|
+
<g>
|
|
179
|
+
<polygon
|
|
180
|
+
points="4 19 4 7 2 7 2 21 18 21 18 19 4 19"
|
|
181
|
+
/>
|
|
182
|
+
<g>
|
|
183
|
+
<path
|
|
184
|
+
d="M9.594,8.364h-.838v1.504h.823c.243,0,.429-.061.557-.183.128-.122.192-.294.192-.516,0-.243-.066-.438-.197-.584-.131-.146-.31-.22-.537-.222Z"
|
|
185
|
+
/>
|
|
186
|
+
<path
|
|
187
|
+
d="M13.952,8.364h-.422v3.276h.437c.36,0,.637-.128.831-.385.193-.257.29-.638.29-1.144v-.226c0-.504-.097-.883-.29-1.139-.193-.255-.475-.383-.845-.383Z"
|
|
188
|
+
/>
|
|
189
|
+
<path
|
|
190
|
+
d="M6,3v14h16V3H6ZM11.057,10.381c-.364.304-.863.456-1.498.456h-.802v1.769h-1.257v-5.213h2.08c.399,0,.751.073,1.058.22s.544.356.712.627c.168.271.252.578.252.922,0,.508-.182.915-.546,1.219ZM16.368,10.111c0,.477-.101.905-.303,1.284-.202.378-.486.674-.852.888-.366.214-.775.322-1.226.324h-1.715v-5.213h1.679c.461,0,.875.104,1.242.313.368.209.655.504.861.884.206.381.311.807.313,1.28v.24ZM20.5,8.364h-2.231v1.199h2.026v.967h-2.026v2.077h-1.257v-5.213h3.487v.97Z"
|
|
191
|
+
/>
|
|
192
|
+
</g>
|
|
193
|
+
</g>
|
|
194
|
+
</pdfFile>
|
|
195
|
+
</svg>
|
|
196
|
+
</ForwardRef(Base)>
|
|
197
|
+
</ForwardRef(SvgIcon)>
|
|
198
|
+
</ForwardRef(Icon)>
|
|
199
|
+
</PdfFileIcon>
|
|
200
|
+
`;
|
|
201
|
+
|
|
202
|
+
exports[`renders the PdfFileIcon with prop variant=light 1`] = `
|
|
203
|
+
<PdfFileIcon
|
|
204
|
+
variant="light"
|
|
205
|
+
>
|
|
206
|
+
<ForwardRef(Icon)
|
|
207
|
+
icon="pdfFile"
|
|
208
|
+
variant="light"
|
|
209
|
+
>
|
|
210
|
+
<ForwardRef(SvgIcon)
|
|
211
|
+
className="ds-svg-icon--pdfFile"
|
|
212
|
+
variant="light"
|
|
213
|
+
>
|
|
214
|
+
<ForwardRef(Base)
|
|
215
|
+
aria-hidden="true"
|
|
216
|
+
as="svg"
|
|
217
|
+
className="ds-svg-icon--pdfFile ds-svg-icon--light ds-svg-icon"
|
|
218
|
+
focusable="false"
|
|
219
|
+
viewBox="0 0 24 24"
|
|
220
|
+
>
|
|
221
|
+
<svg
|
|
222
|
+
aria-hidden="true"
|
|
223
|
+
className="ds-svg-icon--pdfFile ds-svg-icon--light ds-svg-icon"
|
|
224
|
+
focusable="false"
|
|
225
|
+
viewBox="0 0 24 24"
|
|
226
|
+
>
|
|
227
|
+
<pdfFile>
|
|
228
|
+
<g>
|
|
229
|
+
<polygon
|
|
230
|
+
points="4 19 4 7 2 7 2 21 18 21 18 19 4 19"
|
|
231
|
+
/>
|
|
232
|
+
<g>
|
|
233
|
+
<path
|
|
234
|
+
d="M9.594,8.364h-.838v1.504h.823c.243,0,.429-.061.557-.183.128-.122.192-.294.192-.516,0-.243-.066-.438-.197-.584-.131-.146-.31-.22-.537-.222Z"
|
|
235
|
+
/>
|
|
236
|
+
<path
|
|
237
|
+
d="M13.952,8.364h-.422v3.276h.437c.36,0,.637-.128.831-.385.193-.257.29-.638.29-1.144v-.226c0-.504-.097-.883-.29-1.139-.193-.255-.475-.383-.845-.383Z"
|
|
238
|
+
/>
|
|
239
|
+
<path
|
|
240
|
+
d="M6,3v14h16V3H6ZM11.057,10.381c-.364.304-.863.456-1.498.456h-.802v1.769h-1.257v-5.213h2.08c.399,0,.751.073,1.058.22s.544.356.712.627c.168.271.252.578.252.922,0,.508-.182.915-.546,1.219ZM16.368,10.111c0,.477-.101.905-.303,1.284-.202.378-.486.674-.852.888-.366.214-.775.322-1.226.324h-1.715v-5.213h1.679c.461,0,.875.104,1.242.313.368.209.655.504.861.884.206.381.311.807.313,1.28v.24ZM20.5,8.364h-2.231v1.199h2.026v.967h-2.026v2.077h-1.257v-5.213h3.487v.97Z"
|
|
241
|
+
/>
|
|
242
|
+
</g>
|
|
243
|
+
</g>
|
|
244
|
+
</pdfFile>
|
|
245
|
+
</svg>
|
|
246
|
+
</ForwardRef(Base)>
|
|
247
|
+
</ForwardRef(SvgIcon)>
|
|
248
|
+
</ForwardRef(Icon)>
|
|
249
|
+
</PdfFileIcon>
|
|
250
|
+
`;
|
|
251
|
+
|
|
252
|
+
exports[`renders the PdfFileIcon with prop variant=warning 1`] = `
|
|
253
|
+
<PdfFileIcon
|
|
254
|
+
variant="warning"
|
|
255
|
+
>
|
|
256
|
+
<ForwardRef(Icon)
|
|
257
|
+
icon="pdfFile"
|
|
258
|
+
variant="warning"
|
|
259
|
+
>
|
|
260
|
+
<ForwardRef(SvgIcon)
|
|
261
|
+
className="ds-svg-icon--pdfFile"
|
|
262
|
+
variant="warning"
|
|
263
|
+
>
|
|
264
|
+
<ForwardRef(Base)
|
|
265
|
+
aria-hidden="true"
|
|
266
|
+
as="svg"
|
|
267
|
+
className="ds-svg-icon--pdfFile ds-svg-icon--warning ds-svg-icon"
|
|
268
|
+
focusable="false"
|
|
269
|
+
viewBox="0 0 24 24"
|
|
270
|
+
>
|
|
271
|
+
<svg
|
|
272
|
+
aria-hidden="true"
|
|
273
|
+
className="ds-svg-icon--pdfFile ds-svg-icon--warning ds-svg-icon"
|
|
274
|
+
focusable="false"
|
|
275
|
+
viewBox="0 0 24 24"
|
|
276
|
+
>
|
|
277
|
+
<pdfFile>
|
|
278
|
+
<g>
|
|
279
|
+
<polygon
|
|
280
|
+
points="4 19 4 7 2 7 2 21 18 21 18 19 4 19"
|
|
281
|
+
/>
|
|
282
|
+
<g>
|
|
283
|
+
<path
|
|
284
|
+
d="M9.594,8.364h-.838v1.504h.823c.243,0,.429-.061.557-.183.128-.122.192-.294.192-.516,0-.243-.066-.438-.197-.584-.131-.146-.31-.22-.537-.222Z"
|
|
285
|
+
/>
|
|
286
|
+
<path
|
|
287
|
+
d="M13.952,8.364h-.422v3.276h.437c.36,0,.637-.128.831-.385.193-.257.29-.638.29-1.144v-.226c0-.504-.097-.883-.29-1.139-.193-.255-.475-.383-.845-.383Z"
|
|
288
|
+
/>
|
|
289
|
+
<path
|
|
290
|
+
d="M6,3v14h16V3H6ZM11.057,10.381c-.364.304-.863.456-1.498.456h-.802v1.769h-1.257v-5.213h2.08c.399,0,.751.073,1.058.22s.544.356.712.627c.168.271.252.578.252.922,0,.508-.182.915-.546,1.219ZM16.368,10.111c0,.477-.101.905-.303,1.284-.202.378-.486.674-.852.888-.366.214-.775.322-1.226.324h-1.715v-5.213h1.679c.461,0,.875.104,1.242.313.368.209.655.504.861.884.206.381.311.807.313,1.28v.24ZM20.5,8.364h-2.231v1.199h2.026v.967h-2.026v2.077h-1.257v-5.213h3.487v.97Z"
|
|
291
|
+
/>
|
|
292
|
+
</g>
|
|
293
|
+
</g>
|
|
294
|
+
</pdfFile>
|
|
295
|
+
</svg>
|
|
296
|
+
</ForwardRef(Base)>
|
|
297
|
+
</ForwardRef(SvgIcon)>
|
|
298
|
+
</ForwardRef(Icon)>
|
|
299
|
+
</PdfFileIcon>
|
|
300
|
+
`;
|
|
301
|
+
|
|
302
|
+
exports[`renders the PdfFileIcon with prop variant=warning and size=s 1`] = `
|
|
303
|
+
<PdfFileIcon
|
|
304
|
+
size="sm"
|
|
305
|
+
variant="warning"
|
|
306
|
+
>
|
|
307
|
+
<ForwardRef(Icon)
|
|
308
|
+
icon="pdfFile"
|
|
309
|
+
size="sm"
|
|
310
|
+
variant="warning"
|
|
311
|
+
>
|
|
312
|
+
<ForwardRef(SvgIcon)
|
|
313
|
+
className="ds-svg-icon--pdfFile"
|
|
314
|
+
size="sm"
|
|
315
|
+
variant="warning"
|
|
316
|
+
>
|
|
317
|
+
<ForwardRef(Base)
|
|
318
|
+
aria-hidden="true"
|
|
319
|
+
as="svg"
|
|
320
|
+
className="ds-svg-icon--pdfFile ds-svg-icon--warning ds-svg-icon--sm ds-svg-icon"
|
|
321
|
+
focusable="false"
|
|
322
|
+
viewBox="0 0 24 24"
|
|
323
|
+
>
|
|
324
|
+
<svg
|
|
325
|
+
aria-hidden="true"
|
|
326
|
+
className="ds-svg-icon--pdfFile ds-svg-icon--warning ds-svg-icon--sm ds-svg-icon"
|
|
327
|
+
focusable="false"
|
|
328
|
+
viewBox="0 0 24 24"
|
|
329
|
+
>
|
|
330
|
+
<pdfFile>
|
|
331
|
+
<g>
|
|
332
|
+
<polygon
|
|
333
|
+
points="4 19 4 7 2 7 2 21 18 21 18 19 4 19"
|
|
334
|
+
/>
|
|
335
|
+
<g>
|
|
336
|
+
<path
|
|
337
|
+
d="M9.594,8.364h-.838v1.504h.823c.243,0,.429-.061.557-.183.128-.122.192-.294.192-.516,0-.243-.066-.438-.197-.584-.131-.146-.31-.22-.537-.222Z"
|
|
338
|
+
/>
|
|
339
|
+
<path
|
|
340
|
+
d="M13.952,8.364h-.422v3.276h.437c.36,0,.637-.128.831-.385.193-.257.29-.638.29-1.144v-.226c0-.504-.097-.883-.29-1.139-.193-.255-.475-.383-.845-.383Z"
|
|
341
|
+
/>
|
|
342
|
+
<path
|
|
343
|
+
d="M6,3v14h16V3H6ZM11.057,10.381c-.364.304-.863.456-1.498.456h-.802v1.769h-1.257v-5.213h2.08c.399,0,.751.073,1.058.22s.544.356.712.627c.168.271.252.578.252.922,0,.508-.182.915-.546,1.219ZM16.368,10.111c0,.477-.101.905-.303,1.284-.202.378-.486.674-.852.888-.366.214-.775.322-1.226.324h-1.715v-5.213h1.679c.461,0,.875.104,1.242.313.368.209.655.504.861.884.206.381.311.807.313,1.28v.24ZM20.5,8.364h-2.231v1.199h2.026v.967h-2.026v2.077h-1.257v-5.213h3.487v.97Z"
|
|
344
|
+
/>
|
|
345
|
+
</g>
|
|
346
|
+
</g>
|
|
347
|
+
</pdfFile>
|
|
348
|
+
</svg>
|
|
349
|
+
</ForwardRef(Base)>
|
|
350
|
+
</ForwardRef(SvgIcon)>
|
|
351
|
+
</ForwardRef(Icon)>
|
|
352
|
+
</PdfFileIcon>
|
|
353
|
+
`;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
var _ref = /*#__PURE__*/React.createElement("g", null, /*#__PURE__*/React.createElement("polygon", {
|
|
3
|
+
points: "4 19 4 7 2 7 2 21 18 21 18 19 4 19"
|
|
4
|
+
}), /*#__PURE__*/React.createElement("g", null, /*#__PURE__*/React.createElement("path", {
|
|
5
|
+
d: "M9.594,8.364h-.838v1.504h.823c.243,0,.429-.061.557-.183.128-.122.192-.294.192-.516,0-.243-.066-.438-.197-.584-.131-.146-.31-.22-.537-.222Z"
|
|
6
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
7
|
+
d: "M13.952,8.364h-.422v3.276h.437c.36,0,.637-.128.831-.385.193-.257.29-.638.29-1.144v-.226c0-.504-.097-.883-.29-1.139-.193-.255-.475-.383-.845-.383Z"
|
|
8
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
9
|
+
d: "M6,3v14h16V3H6ZM11.057,10.381c-.364.304-.863.456-1.498.456h-.802v1.769h-1.257v-5.213h2.08c.399,0,.751.073,1.058.22s.544.356.712.627c.168.271.252.578.252.922,0,.508-.182.915-.546,1.219ZM16.368,10.111c0,.477-.101.905-.303,1.284-.202.378-.486.674-.852.888-.366.214-.775.322-1.226.324h-1.715v-5.213h1.679c.461,0,.875.104,1.242.313.368.209.655.504.861.884.206.381.311.807.313,1.28v.24ZM20.5,8.364h-2.231v1.199h2.026v.967h-2.026v2.077h-1.257v-5.213h3.487v.97Z"
|
|
10
|
+
})));
|
|
11
|
+
export function pdfFile() {
|
|
12
|
+
return _ref;
|
|
13
|
+
}
|
|
14
|
+
pdfFile.props = [];
|
|
15
|
+
export default pdfFile;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import _extends from "@babel/runtime/helpers/extends";
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import Icon from '@digigov/react-icons/Icon';
|
|
4
|
+
export var PdfFileIcon = function PdfFileIcon(props) {
|
|
5
|
+
return /*#__PURE__*/React.createElement(Icon, _extends({}, props, {
|
|
6
|
+
icon: "pdfFile"
|
|
7
|
+
}));
|
|
8
|
+
};
|
|
9
|
+
export default PdfFileIcon;
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { mount } from 'enzyme';
|
|
3
|
+
import PdfFileIcon from '@digigov/react-icons/PdfFileIcon';
|
|
4
|
+
var _ref = /*#__PURE__*/React.createElement(PdfFileIcon, null);
|
|
5
|
+
it('renders the PdfFileIcon with no props', function () {
|
|
6
|
+
expect(mount(_ref)).toMatchSnapshot();
|
|
7
|
+
});
|
|
8
|
+
var _ref2 = /*#__PURE__*/React.createElement(PdfFileIcon, {
|
|
9
|
+
size: "md"
|
|
10
|
+
});
|
|
11
|
+
it('renders the PdfFileIcon with prop size=m', function () {
|
|
12
|
+
expect(mount(_ref2)).toMatchSnapshot();
|
|
13
|
+
});
|
|
14
|
+
var _ref3 = /*#__PURE__*/React.createElement(PdfFileIcon, {
|
|
15
|
+
size: "xl"
|
|
16
|
+
});
|
|
17
|
+
it('renders the PdfFileIcon with prop size=xl', function () {
|
|
18
|
+
expect(mount(_ref3)).toMatchSnapshot();
|
|
19
|
+
});
|
|
20
|
+
var _ref4 = /*#__PURE__*/React.createElement(PdfFileIcon, {
|
|
21
|
+
variant: "light"
|
|
22
|
+
});
|
|
23
|
+
it('renders the PdfFileIcon with prop variant=light', function () {
|
|
24
|
+
expect(mount(_ref4)).toMatchSnapshot();
|
|
25
|
+
});
|
|
26
|
+
var _ref5 = /*#__PURE__*/React.createElement(PdfFileIcon, {
|
|
27
|
+
variant: "warning"
|
|
28
|
+
});
|
|
29
|
+
it('renders the PdfFileIcon with prop variant=warning', function () {
|
|
30
|
+
expect(mount(_ref5)).toMatchSnapshot();
|
|
31
|
+
});
|
|
32
|
+
var _ref6 = /*#__PURE__*/React.createElement(PdfFileIcon, {
|
|
33
|
+
variant: "warning",
|
|
34
|
+
size: "sm"
|
|
35
|
+
});
|
|
36
|
+
it('renders the PdfFileIcon with prop variant=warning and size=s', function () {
|
|
37
|
+
expect(mount(_ref6)).toMatchSnapshot();
|
|
38
|
+
});
|
|
39
|
+
var _ref7 = /*#__PURE__*/React.createElement(PdfFileIcon, {
|
|
40
|
+
variant: "warning",
|
|
41
|
+
size: "xl"
|
|
42
|
+
});
|
|
43
|
+
it('renders the PdfFileIcon with prop variant=error and size= xl', function () {
|
|
44
|
+
expect(mount(_ref7)).toMatchSnapshot();
|
|
45
|
+
});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|