@zohodesk/dot 1.0.0-temp-227 → 1.0.0-temp-228

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.
Files changed (110) hide show
  1. package/README.md +2 -7
  2. package/es/ActionButton/ActionButton.js +19 -9
  3. package/es/ActionButton/props/defaultProps.js +2 -1
  4. package/es/ActionButton/props/propTypes.js +4 -1
  5. package/es/DotProvider/hooks/useDotProvider.js +3 -3
  6. package/es/DotProvider/libraryChunks/appearance/variables/Dark_Variables.js +1 -0
  7. package/es/DotProvider/libraryChunks/appearance/variables/Light_Variables.js +1 -0
  8. package/es/DotProvider/libraryChunks/appearance/variables/PureDark_Variables.js +1 -0
  9. package/es/DotProvider/libraryChunks/themes/component/blue/Blue_Dark_Component.js +0 -2
  10. package/es/DotProvider/libraryChunks/themes/component/blue/Blue_Light_Component.js +0 -2
  11. package/es/DotProvider/libraryChunks/themes/component/blue/Blue_PureDark_Component.js +0 -2
  12. package/es/DotProvider/libraryChunks/themes/component/green/Green_Dark_Component.js +0 -2
  13. package/es/DotProvider/libraryChunks/themes/component/green/Green_Light_Component.js +0 -2
  14. package/es/DotProvider/libraryChunks/themes/component/green/Green_PureDark_Component.js +0 -2
  15. package/es/DotProvider/libraryChunks/themes/component/orange/Orange_Dark_Component.js +0 -2
  16. package/es/DotProvider/libraryChunks/themes/component/orange/Orange_Light_Component.js +0 -2
  17. package/es/DotProvider/libraryChunks/themes/component/orange/Orange_PureDark_Component.js +0 -2
  18. package/es/DotProvider/libraryChunks/themes/component/red/Red_Dark_Component.js +0 -2
  19. package/es/DotProvider/libraryChunks/themes/component/red/Red_Light_Component.js +0 -2
  20. package/es/DotProvider/libraryChunks/themes/component/red/Red_PureDark_Component.js +0 -2
  21. package/es/DotProvider/libraryChunks/themes/component/yellow/Yellow_Dark_Component.js +0 -2
  22. package/es/DotProvider/libraryChunks/themes/component/yellow/Yellow_Light_Component.js +0 -2
  23. package/es/DotProvider/libraryChunks/themes/component/yellow/Yellow_PureDark_Component.js +0 -2
  24. package/es/DotProvider/libraryChunks/themes/variables/blue/Blue_Dark_Variables.js +2 -0
  25. package/es/DotProvider/libraryChunks/themes/variables/blue/Blue_Light_Variables.js +2 -0
  26. package/es/DotProvider/libraryChunks/themes/variables/blue/Blue_PureDark_Variables.js +2 -0
  27. package/es/DotProvider/libraryChunks/themes/variables/green/Green_Dark_Variables.js +2 -0
  28. package/es/DotProvider/libraryChunks/themes/variables/green/Green_Light_Variables.js +2 -0
  29. package/es/DotProvider/libraryChunks/themes/variables/green/Green_PureDark_Variables.js +2 -0
  30. package/es/DotProvider/libraryChunks/themes/variables/orange/Orange_Dark_Variables.js +2 -0
  31. package/es/DotProvider/libraryChunks/themes/variables/orange/Orange_Light_Variables.js +2 -0
  32. package/es/DotProvider/libraryChunks/themes/variables/orange/Orange_PureDark_Variables.js +2 -0
  33. package/es/DotProvider/libraryChunks/themes/variables/red/Red_Dark_Variables.js +2 -0
  34. package/es/DotProvider/libraryChunks/themes/variables/red/Red_Light_Variables.js +2 -0
  35. package/es/DotProvider/libraryChunks/themes/variables/red/Red_PureDark_Variables.js +2 -0
  36. package/es/DotProvider/libraryChunks/themes/variables/yellow/Yellow_Dark_Variables.js +2 -0
  37. package/es/DotProvider/libraryChunks/themes/variables/yellow/Yellow_Light_Variables.js +2 -0
  38. package/es/DotProvider/libraryChunks/themes/variables/yellow/Yellow_PureDark_Variables.js +2 -0
  39. package/es/DotProvider/utils/constants.js +2 -1
  40. package/es/DotProvider/utils/themeAppearanceAssetsConfig.js +15 -1
  41. package/es/DotProvider/utils/themeColorAssetsConfig.js +73 -1
  42. package/es/lookup/Lookup/Lookup.js +4 -6
  43. package/es/lookup/Lookup/__tests__/Lookup.spec.js +4 -101
  44. package/es/lookup/Lookup/__tests__/__snapshots__/Lookup.spec.js.snap +2 -223
  45. package/es/lookup/Lookup/props/propTypes.js +1 -6
  46. package/es/lookup/header/ModuleHeader/ModuleHeader.js +5 -12
  47. package/es/lookup/header/ModuleHeader/__tests__/ModuleHeader.spec.js +3 -87
  48. package/es/lookup/header/ModuleHeader/props/defaultProps.js +0 -2
  49. package/es/lookup/header/ModuleHeader/props/propTypes.js +0 -6
  50. package/es/version2/lookup/AlertHeader/AlertHeader.js +9 -19
  51. package/es/version2/lookup/AlertHeader/__tests__/AlertHeader.spec.js +3 -122
  52. package/es/version2/lookup/AlertHeader/__tests__/__snapshots__/AlertHeader.spec.js.snap +3 -1728
  53. package/es/version2/lookup/AlertHeader/css/cssJSLogic.js +1 -6
  54. package/es/version2/lookup/AlertHeader/props/defaultProps.js +0 -2
  55. package/es/version2/lookup/AlertHeader/props/propTypes.js +0 -10
  56. package/lib/ActionButton/ActionButton.js +18 -9
  57. package/lib/ActionButton/props/defaultProps.js +2 -1
  58. package/lib/ActionButton/props/propTypes.js +4 -1
  59. package/lib/DotProvider/hooks/useDotProvider.js +3 -3
  60. package/lib/DotProvider/libraryChunks/appearance/variables/Dark_Variables.js +3 -0
  61. package/lib/DotProvider/libraryChunks/appearance/variables/Light_Variables.js +3 -0
  62. package/lib/DotProvider/libraryChunks/appearance/variables/PureDark_Variables.js +3 -0
  63. package/lib/DotProvider/libraryChunks/themes/component/blue/Blue_Dark_Component.js +0 -4
  64. package/lib/DotProvider/libraryChunks/themes/component/blue/Blue_Light_Component.js +0 -4
  65. package/lib/DotProvider/libraryChunks/themes/component/blue/Blue_PureDark_Component.js +0 -4
  66. package/lib/DotProvider/libraryChunks/themes/component/green/Green_Dark_Component.js +0 -4
  67. package/lib/DotProvider/libraryChunks/themes/component/green/Green_Light_Component.js +0 -4
  68. package/lib/DotProvider/libraryChunks/themes/component/green/Green_PureDark_Component.js +0 -4
  69. package/lib/DotProvider/libraryChunks/themes/component/orange/Orange_Dark_Component.js +0 -4
  70. package/lib/DotProvider/libraryChunks/themes/component/orange/Orange_Light_Component.js +0 -4
  71. package/lib/DotProvider/libraryChunks/themes/component/orange/Orange_PureDark_Component.js +0 -4
  72. package/lib/DotProvider/libraryChunks/themes/component/red/Red_Dark_Component.js +0 -4
  73. package/lib/DotProvider/libraryChunks/themes/component/red/Red_Light_Component.js +0 -4
  74. package/lib/DotProvider/libraryChunks/themes/component/red/Red_PureDark_Component.js +0 -4
  75. package/lib/DotProvider/libraryChunks/themes/component/yellow/Yellow_Dark_Component.js +0 -4
  76. package/lib/DotProvider/libraryChunks/themes/component/yellow/Yellow_Light_Component.js +0 -4
  77. package/lib/DotProvider/libraryChunks/themes/component/yellow/Yellow_PureDark_Component.js +0 -4
  78. package/lib/DotProvider/libraryChunks/themes/variables/blue/Blue_Dark_Variables.js +5 -0
  79. package/lib/DotProvider/libraryChunks/themes/variables/blue/Blue_Light_Variables.js +5 -0
  80. package/lib/DotProvider/libraryChunks/themes/variables/blue/Blue_PureDark_Variables.js +5 -0
  81. package/lib/DotProvider/libraryChunks/themes/variables/green/Green_Dark_Variables.js +5 -0
  82. package/lib/DotProvider/libraryChunks/themes/variables/green/Green_Light_Variables.js +5 -0
  83. package/lib/DotProvider/libraryChunks/themes/variables/green/Green_PureDark_Variables.js +5 -0
  84. package/lib/DotProvider/libraryChunks/themes/variables/orange/Orange_Dark_Variables.js +5 -0
  85. package/lib/DotProvider/libraryChunks/themes/variables/orange/Orange_Light_Variables.js +5 -0
  86. package/lib/DotProvider/libraryChunks/themes/variables/orange/Orange_PureDark_Variables.js +5 -0
  87. package/lib/DotProvider/libraryChunks/themes/variables/red/Red_Dark_Variables.js +5 -0
  88. package/lib/DotProvider/libraryChunks/themes/variables/red/Red_Light_Variables.js +5 -0
  89. package/lib/DotProvider/libraryChunks/themes/variables/red/Red_PureDark_Variables.js +5 -0
  90. package/lib/DotProvider/libraryChunks/themes/variables/yellow/Yellow_Dark_Variables.js +5 -0
  91. package/lib/DotProvider/libraryChunks/themes/variables/yellow/Yellow_Light_Variables.js +5 -0
  92. package/lib/DotProvider/libraryChunks/themes/variables/yellow/Yellow_PureDark_Variables.js +5 -0
  93. package/lib/DotProvider/utils/constants.js +4 -2
  94. package/lib/DotProvider/utils/themeAppearanceAssetsConfig.js +17 -2
  95. package/lib/DotProvider/utils/themeColorAssetsConfig.js +77 -2
  96. package/lib/lookup/Lookup/Lookup.js +4 -6
  97. package/lib/lookup/Lookup/__tests__/Lookup.spec.js +4 -101
  98. package/lib/lookup/Lookup/__tests__/__snapshots__/Lookup.spec.js.snap +2 -223
  99. package/lib/lookup/Lookup/props/propTypes.js +1 -8
  100. package/lib/lookup/header/ModuleHeader/ModuleHeader.js +5 -13
  101. package/lib/lookup/header/ModuleHeader/__tests__/ModuleHeader.spec.js +2 -86
  102. package/lib/lookup/header/ModuleHeader/props/defaultProps.js +0 -2
  103. package/lib/lookup/header/ModuleHeader/props/propTypes.js +0 -6
  104. package/lib/version2/lookup/AlertHeader/AlertHeader.js +8 -19
  105. package/lib/version2/lookup/AlertHeader/__tests__/AlertHeader.spec.js +2 -121
  106. package/lib/version2/lookup/AlertHeader/__tests__/__snapshots__/AlertHeader.spec.js.snap +3 -1728
  107. package/lib/version2/lookup/AlertHeader/css/cssJSLogic.js +2 -4
  108. package/lib/version2/lookup/AlertHeader/props/defaultProps.js +0 -2
  109. package/lib/version2/lookup/AlertHeader/props/propTypes.js +0 -10
  110. package/package.json +8 -8
@@ -1,244 +1,16 @@
1
1
  // Jest Snapshot v1, https://goo.gl/fbAQLP
2
2
 
3
- exports[`AlertHeader snapshot - Render with breakChildren=true 1`] = `
3
+ exports[`AlertHeader rendering the defult props 1`] = `
4
4
  <DocumentFragment>
5
5
  <div
6
- class="container headerLayout danger flex rowdir wrap vCenter"
7
- data-drag-hook="true"
8
- data-id="containerComponent"
9
- data-selector-id="container"
10
- data-test-id="containerComponent"
11
- >
12
- <div
13
- class="iconContainer "
14
- >
15
- <div
16
- class="iconContainer"
17
- data-selector-id="alertIcons"
18
- >
19
- <svg
20
- class="danger"
21
- viewBox="0 0 100 100"
22
- xmlns="http://www.w3.org/2000/svg"
23
- >
24
- <path
25
- class="danger_primary"
26
- d="M34.89,23.86s27.19-17.79,41-12.44S99,61.81,60.74,82,5.16,58.27,5,50.48C4.87,42.94,5,25,34.89,23.86Z"
27
- />
28
- <polygon
29
- class="outer_cls2"
30
- points="95 49.42 94.18 48.61 92.98 49.79 91.79 48.61 90.97 49.42 92.16 50.6 90.97 51.78 91.79 52.59 92.98 51.41 94.18 52.59 95 51.78 93.81 50.6 95 49.42"
31
- />
32
- <rect
33
- class="outer_cls2"
34
- height="2.18"
35
- width="1.16"
36
- x="10"
37
- y="21.46"
38
- />
39
- <rect
40
- class="outer_cls2"
41
- height="1.15"
42
- width="2.21"
43
- x="11.8"
44
- y="24.27"
45
- />
46
- <rect
47
- class="outer_cls2"
48
- height="2.18"
49
- width="1.16"
50
- x="10"
51
- y="26.05"
52
- />
53
- <rect
54
- class="outer_cls2"
55
- height="1.15"
56
- width="2.21"
57
- x="7.15"
58
- y="24.27"
59
- />
60
- <path
61
- class="outer_cls3"
62
- d="M11.8,82.6a2.76,2.76,0,1,1,2.8-2.76A2.78,2.78,0,0,1,11.8,82.6Zm0-4.37a1.61,1.61,0,1,0,1.63,1.61A1.62,1.62,0,0,0,11.8,78.23Z"
63
- />
64
- <ellipse
65
- class="outer_cls4"
66
- cx="50.21"
67
- cy="11.21"
68
- rx="1.22"
69
- ry="1.21"
70
- />
71
- <polygon
72
- class="outer_cls4"
73
- points="59.77 90 61.8 87.28 63.69 90 59.77 90"
74
- />
75
- <path
76
- class="outer_cls5"
77
- d="M52.28,43.16s-13.79-9-20.78-6.31S19.75,62.42,39.17,72.67s28.2-12.05,28.28-16S67.45,43.72,52.28,43.16Z"
78
- />
79
- <path
80
- class="outer_cls6"
81
- d="M61.28,46.39a1.15,1.15,0,1,1-1.15-1.13A1.13,1.13,0,0,1,61.28,46.39ZM71.63,69.28a5.37,5.37,0,0,0,0-5.4L63,48.91a1,1,0,0,0-1.74,1l8.65,15A3.39,3.39,0,0,1,67,70H30.05a3.39,3.39,0,0,1-2.94-5.09l18.46-32a3.39,3.39,0,0,1,5.87,0l4.74,8.2H48a2.54,2.54,0,0,0-1.85.8,2.57,2.57,0,0,0-.69,1.91l.92,12.67a2.54,2.54,0,0,0,5.08,0l.76-9.85a1,1,0,0,0-.92-1.08,1,1,0,0,0-1.07.92l-.76,9.87a.55.55,0,0,1-1.1,0L47.46,43.7a.51.51,0,0,1,.14-.41.58.58,0,0,1,.4-.17h9.91a1,1,0,0,0,.86-1.5l-5.6-9.7a5.39,5.39,0,0,0-9.33,0l-18.46,32A5.39,5.39,0,0,0,30.05,72H67A5.35,5.35,0,0,0,71.63,69.28ZM49,61.34a2.61,2.61,0,1,0,2.6,2.6A2.6,2.6,0,0,0,49,61.34Z"
82
- />
83
- </svg>
84
- </div>
85
- </div>
86
- <div
87
- class="grow basis shrinkOff"
88
- data-id="boxComponent"
89
- data-selector-id="box"
90
- data-test-id="boxComponent"
91
- >
92
- <div
93
- class="flex cover rowdir wrap"
94
- data-id="containerComponent"
95
- data-selector-id="container"
96
- data-test-id="containerComponent"
97
- >
98
- <div
99
- class="title shrinkOn"
100
- data-id="boxComponent"
101
- data-selector-id="box"
102
- data-test-id="boxComponent"
103
- >
104
- Alert Title
105
- </div>
106
- </div>
107
- </div>
108
- </div>
109
- </DocumentFragment>
110
- `;
111
-
112
- exports[`AlertHeader snapshot - Render with children 1`] = `
113
- <DocumentFragment>
114
- <div
115
- class="container headerLayout danger flex rowdir wrap vCenter"
116
- data-drag-hook="true"
117
- data-id="containerComponent"
118
- data-selector-id="container"
119
- data-test-id="containerComponent"
120
- >
121
- <div
122
- class="iconContainer "
123
- >
124
- <div
125
- class="iconContainer"
126
- data-selector-id="alertIcons"
127
- >
128
- <svg
129
- class="danger"
130
- viewBox="0 0 100 100"
131
- xmlns="http://www.w3.org/2000/svg"
132
- >
133
- <path
134
- class="danger_primary"
135
- d="M34.89,23.86s27.19-17.79,41-12.44S99,61.81,60.74,82,5.16,58.27,5,50.48C4.87,42.94,5,25,34.89,23.86Z"
136
- />
137
- <polygon
138
- class="outer_cls2"
139
- points="95 49.42 94.18 48.61 92.98 49.79 91.79 48.61 90.97 49.42 92.16 50.6 90.97 51.78 91.79 52.59 92.98 51.41 94.18 52.59 95 51.78 93.81 50.6 95 49.42"
140
- />
141
- <rect
142
- class="outer_cls2"
143
- height="2.18"
144
- width="1.16"
145
- x="10"
146
- y="21.46"
147
- />
148
- <rect
149
- class="outer_cls2"
150
- height="1.15"
151
- width="2.21"
152
- x="11.8"
153
- y="24.27"
154
- />
155
- <rect
156
- class="outer_cls2"
157
- height="2.18"
158
- width="1.16"
159
- x="10"
160
- y="26.05"
161
- />
162
- <rect
163
- class="outer_cls2"
164
- height="1.15"
165
- width="2.21"
166
- x="7.15"
167
- y="24.27"
168
- />
169
- <path
170
- class="outer_cls3"
171
- d="M11.8,82.6a2.76,2.76,0,1,1,2.8-2.76A2.78,2.78,0,0,1,11.8,82.6Zm0-4.37a1.61,1.61,0,1,0,1.63,1.61A1.62,1.62,0,0,0,11.8,78.23Z"
172
- />
173
- <ellipse
174
- class="outer_cls4"
175
- cx="50.21"
176
- cy="11.21"
177
- rx="1.22"
178
- ry="1.21"
179
- />
180
- <polygon
181
- class="outer_cls4"
182
- points="59.77 90 61.8 87.28 63.69 90 59.77 90"
183
- />
184
- <path
185
- class="outer_cls5"
186
- d="M52.28,43.16s-13.79-9-20.78-6.31S19.75,62.42,39.17,72.67s28.2-12.05,28.28-16S67.45,43.72,52.28,43.16Z"
187
- />
188
- <path
189
- class="outer_cls6"
190
- d="M61.28,46.39a1.15,1.15,0,1,1-1.15-1.13A1.13,1.13,0,0,1,61.28,46.39ZM71.63,69.28a5.37,5.37,0,0,0,0-5.4L63,48.91a1,1,0,0,0-1.74,1l8.65,15A3.39,3.39,0,0,1,67,70H30.05a3.39,3.39,0,0,1-2.94-5.09l18.46-32a3.39,3.39,0,0,1,5.87,0l4.74,8.2H48a2.54,2.54,0,0,0-1.85.8,2.57,2.57,0,0,0-.69,1.91l.92,12.67a2.54,2.54,0,0,0,5.08,0l.76-9.85a1,1,0,0,0-.92-1.08,1,1,0,0,0-1.07.92l-.76,9.87a.55.55,0,0,1-1.1,0L47.46,43.7a.51.51,0,0,1,.14-.41.58.58,0,0,1,.4-.17h9.91a1,1,0,0,0,.86-1.5l-5.6-9.7a5.39,5.39,0,0,0-9.33,0l-18.46,32A5.39,5.39,0,0,0,30.05,72H67A5.35,5.35,0,0,0,71.63,69.28ZM49,61.34a2.61,2.61,0,1,0,2.6,2.6A2.6,2.6,0,0,0,49,61.34Z"
191
- />
192
- </svg>
193
- </div>
194
- </div>
195
- <div
196
- class="grow basis shrinkOff"
197
- data-id="boxComponent"
198
- data-selector-id="box"
199
- data-test-id="boxComponent"
200
- >
201
- <div
202
- class="flex cover rowdir"
203
- data-id="containerComponent"
204
- data-selector-id="container"
205
- data-test-id="containerComponent"
206
- >
207
- <div
208
- class="title shrinkOn"
209
- data-id="boxComponent"
210
- data-selector-id="box"
211
- data-test-id="boxComponent"
212
- >
213
- Alert Title
214
- </div>
215
- <div
216
- class="grow basisAuto shrinkOff"
217
- data-id="boxComponent"
218
- data-selector-id="box"
219
- data-test-id="boxComponent"
220
- >
221
- <span>
222
- Child content
223
- </span>
224
- </div>
225
- </div>
226
- </div>
227
- </div>
228
- </DocumentFragment>
229
- `;
230
-
231
- exports[`AlertHeader snapshot - Render with customClass 1`] = `
232
- <DocumentFragment>
233
- <div
234
- class="container headerLayout danger flex rowdir wrap vCenter"
6
+ class="container danger flex rowdir wrap vCenter"
235
7
  data-drag-hook="true"
236
8
  data-id="containerComponent"
237
9
  data-selector-id="container"
238
10
  data-test-id="containerComponent"
239
11
  >
240
12
  <div
241
- class="iconContainer custom-icon-class"
13
+ class="iconContainer"
242
14
  >
243
15
  <div
244
16
  class="iconContainer"
@@ -311,1503 +83,6 @@ exports[`AlertHeader snapshot - Render with customClass 1`] = `
311
83
  </svg>
312
84
  </div>
313
85
  </div>
314
- <div
315
- class="grow basis shrinkOff"
316
- data-id="boxComponent"
317
- data-selector-id="box"
318
- data-test-id="boxComponent"
319
- >
320
- <div
321
- class="flex cover rowdir"
322
- data-id="containerComponent"
323
- data-selector-id="container"
324
- data-test-id="containerComponent"
325
- >
326
- <div
327
- class="title custom-title-class shrinkOn"
328
- data-id="boxComponent"
329
- data-selector-id="box"
330
- data-test-id="boxComponent"
331
- >
332
- Alert Title
333
- </div>
334
- </div>
335
- </div>
336
- <div
337
- class="close custom-close-class shrinkOff"
338
- data-id="boxComponent"
339
- data-selector-id="box"
340
- data-test-id="boxComponent"
341
- >
342
- <div
343
- class="close light inflex rowdir both"
344
- data-id="alertHeader_close"
345
- data-selector-id="container"
346
- data-test-id="alertHeader_close"
347
- tabindex="0"
348
- >
349
- <div
350
- class="shrinkOff"
351
- data-id="boxComponent"
352
- data-selector-id="box"
353
- data-test-id="boxComponent"
354
- >
355
- <i
356
- aria-hidden="true"
357
- class="zd_font_icons basic icon-Cross fbold closeIcon "
358
- data-id="fontIcon"
359
- data-selector-id="fontIcon"
360
- data-test-id="fontIcon"
361
- style="--zd-iconfont-size: var(--zd_font_size12);"
362
- />
363
- </div>
364
- </div>
365
- </div>
366
- </div>
367
- </DocumentFragment>
368
- `;
369
-
370
- exports[`AlertHeader snapshot - Render with dataId and htmlId 1`] = `
371
- <DocumentFragment>
372
- <div
373
- class="container headerLayout danger flex rowdir wrap vCenter"
374
- data-drag-hook="true"
375
- data-id="containerComponent"
376
- data-selector-id="container"
377
- data-test-id="containerComponent"
378
- >
379
- <div
380
- class="iconContainer "
381
- >
382
- <div
383
- class="iconContainer"
384
- data-selector-id="alertIcons"
385
- >
386
- <svg
387
- class="danger"
388
- viewBox="0 0 100 100"
389
- xmlns="http://www.w3.org/2000/svg"
390
- >
391
- <path
392
- class="danger_primary"
393
- d="M34.89,23.86s27.19-17.79,41-12.44S99,61.81,60.74,82,5.16,58.27,5,50.48C4.87,42.94,5,25,34.89,23.86Z"
394
- />
395
- <polygon
396
- class="outer_cls2"
397
- points="95 49.42 94.18 48.61 92.98 49.79 91.79 48.61 90.97 49.42 92.16 50.6 90.97 51.78 91.79 52.59 92.98 51.41 94.18 52.59 95 51.78 93.81 50.6 95 49.42"
398
- />
399
- <rect
400
- class="outer_cls2"
401
- height="2.18"
402
- width="1.16"
403
- x="10"
404
- y="21.46"
405
- />
406
- <rect
407
- class="outer_cls2"
408
- height="1.15"
409
- width="2.21"
410
- x="11.8"
411
- y="24.27"
412
- />
413
- <rect
414
- class="outer_cls2"
415
- height="2.18"
416
- width="1.16"
417
- x="10"
418
- y="26.05"
419
- />
420
- <rect
421
- class="outer_cls2"
422
- height="1.15"
423
- width="2.21"
424
- x="7.15"
425
- y="24.27"
426
- />
427
- <path
428
- class="outer_cls3"
429
- d="M11.8,82.6a2.76,2.76,0,1,1,2.8-2.76A2.78,2.78,0,0,1,11.8,82.6Zm0-4.37a1.61,1.61,0,1,0,1.63,1.61A1.62,1.62,0,0,0,11.8,78.23Z"
430
- />
431
- <ellipse
432
- class="outer_cls4"
433
- cx="50.21"
434
- cy="11.21"
435
- rx="1.22"
436
- ry="1.21"
437
- />
438
- <polygon
439
- class="outer_cls4"
440
- points="59.77 90 61.8 87.28 63.69 90 59.77 90"
441
- />
442
- <path
443
- class="outer_cls5"
444
- d="M52.28,43.16s-13.79-9-20.78-6.31S19.75,62.42,39.17,72.67s28.2-12.05,28.28-16S67.45,43.72,52.28,43.16Z"
445
- />
446
- <path
447
- class="outer_cls6"
448
- d="M61.28,46.39a1.15,1.15,0,1,1-1.15-1.13A1.13,1.13,0,0,1,61.28,46.39ZM71.63,69.28a5.37,5.37,0,0,0,0-5.4L63,48.91a1,1,0,0,0-1.74,1l8.65,15A3.39,3.39,0,0,1,67,70H30.05a3.39,3.39,0,0,1-2.94-5.09l18.46-32a3.39,3.39,0,0,1,5.87,0l4.74,8.2H48a2.54,2.54,0,0,0-1.85.8,2.57,2.57,0,0,0-.69,1.91l.92,12.67a2.54,2.54,0,0,0,5.08,0l.76-9.85a1,1,0,0,0-.92-1.08,1,1,0,0,0-1.07.92l-.76,9.87a.55.55,0,0,1-1.1,0L47.46,43.7a.51.51,0,0,1,.14-.41.58.58,0,0,1,.4-.17h9.91a1,1,0,0,0,.86-1.5l-5.6-9.7a5.39,5.39,0,0,0-9.33,0l-18.46,32A5.39,5.39,0,0,0,30.05,72H67A5.35,5.35,0,0,0,71.63,69.28ZM49,61.34a2.61,2.61,0,1,0,2.6,2.6A2.6,2.6,0,0,0,49,61.34Z"
449
- />
450
- </svg>
451
- </div>
452
- </div>
453
- <div
454
- class="grow basis shrinkOff"
455
- data-id="boxComponent"
456
- data-selector-id="box"
457
- data-test-id="boxComponent"
458
- >
459
- <div
460
- class="flex cover rowdir"
461
- data-id="containerComponent"
462
- data-selector-id="container"
463
- data-test-id="containerComponent"
464
- >
465
- <div
466
- class="title shrinkOn"
467
- data-id="boxComponent"
468
- data-selector-id="box"
469
- data-test-id="boxComponent"
470
- id="alert-header-title"
471
- >
472
- Alert Title
473
- </div>
474
- </div>
475
- </div>
476
- <div
477
- class="close shrinkOff"
478
- data-id="boxComponent"
479
- data-selector-id="box"
480
- data-test-id="boxComponent"
481
- >
482
- <div
483
- class="close light inflex rowdir both"
484
- data-id="alert-header_close"
485
- data-selector-id="container"
486
- data-test-id="alert-header_close"
487
- tabindex="0"
488
- >
489
- <div
490
- class="shrinkOff"
491
- data-id="boxComponent"
492
- data-selector-id="box"
493
- data-test-id="boxComponent"
494
- >
495
- <i
496
- aria-hidden="true"
497
- class="zd_font_icons basic icon-Cross fbold closeIcon "
498
- data-id="fontIcon"
499
- data-selector-id="fontIcon"
500
- data-test-id="fontIcon"
501
- style="--zd-iconfont-size: var(--zd_font_size12);"
502
- />
503
- </div>
504
- </div>
505
- </div>
506
- </div>
507
- </DocumentFragment>
508
- `;
509
-
510
- exports[`AlertHeader snapshot - Render with default props 1`] = `
511
- <DocumentFragment>
512
- <div
513
- class="container danger flex rowdir wrap vCenter"
514
- data-drag-hook="true"
515
- data-id="containerComponent"
516
- data-selector-id="container"
517
- data-test-id="containerComponent"
518
- >
519
- <div
520
- class="iconContainer "
521
- >
522
- <div
523
- class="iconContainer"
524
- data-selector-id="alertIcons"
525
- >
526
- <svg
527
- class="danger"
528
- viewBox="0 0 100 100"
529
- xmlns="http://www.w3.org/2000/svg"
530
- >
531
- <path
532
- class="danger_primary"
533
- d="M34.89,23.86s27.19-17.79,41-12.44S99,61.81,60.74,82,5.16,58.27,5,50.48C4.87,42.94,5,25,34.89,23.86Z"
534
- />
535
- <polygon
536
- class="outer_cls2"
537
- points="95 49.42 94.18 48.61 92.98 49.79 91.79 48.61 90.97 49.42 92.16 50.6 90.97 51.78 91.79 52.59 92.98 51.41 94.18 52.59 95 51.78 93.81 50.6 95 49.42"
538
- />
539
- <rect
540
- class="outer_cls2"
541
- height="2.18"
542
- width="1.16"
543
- x="10"
544
- y="21.46"
545
- />
546
- <rect
547
- class="outer_cls2"
548
- height="1.15"
549
- width="2.21"
550
- x="11.8"
551
- y="24.27"
552
- />
553
- <rect
554
- class="outer_cls2"
555
- height="2.18"
556
- width="1.16"
557
- x="10"
558
- y="26.05"
559
- />
560
- <rect
561
- class="outer_cls2"
562
- height="1.15"
563
- width="2.21"
564
- x="7.15"
565
- y="24.27"
566
- />
567
- <path
568
- class="outer_cls3"
569
- d="M11.8,82.6a2.76,2.76,0,1,1,2.8-2.76A2.78,2.78,0,0,1,11.8,82.6Zm0-4.37a1.61,1.61,0,1,0,1.63,1.61A1.62,1.62,0,0,0,11.8,78.23Z"
570
- />
571
- <ellipse
572
- class="outer_cls4"
573
- cx="50.21"
574
- cy="11.21"
575
- rx="1.22"
576
- ry="1.21"
577
- />
578
- <polygon
579
- class="outer_cls4"
580
- points="59.77 90 61.8 87.28 63.69 90 59.77 90"
581
- />
582
- <path
583
- class="outer_cls5"
584
- d="M52.28,43.16s-13.79-9-20.78-6.31S19.75,62.42,39.17,72.67s28.2-12.05,28.28-16S67.45,43.72,52.28,43.16Z"
585
- />
586
- <path
587
- class="outer_cls6"
588
- d="M61.28,46.39a1.15,1.15,0,1,1-1.15-1.13A1.13,1.13,0,0,1,61.28,46.39ZM71.63,69.28a5.37,5.37,0,0,0,0-5.4L63,48.91a1,1,0,0,0-1.74,1l8.65,15A3.39,3.39,0,0,1,67,70H30.05a3.39,3.39,0,0,1-2.94-5.09l18.46-32a3.39,3.39,0,0,1,5.87,0l4.74,8.2H48a2.54,2.54,0,0,0-1.85.8,2.57,2.57,0,0,0-.69,1.91l.92,12.67a2.54,2.54,0,0,0,5.08,0l.76-9.85a1,1,0,0,0-.92-1.08,1,1,0,0,0-1.07.92l-.76,9.87a.55.55,0,0,1-1.1,0L47.46,43.7a.51.51,0,0,1,.14-.41.58.58,0,0,1,.4-.17h9.91a1,1,0,0,0,.86-1.5l-5.6-9.7a5.39,5.39,0,0,0-9.33,0l-18.46,32A5.39,5.39,0,0,0,30.05,72H67A5.35,5.35,0,0,0,71.63,69.28ZM49,61.34a2.61,2.61,0,1,0,2.6,2.6A2.6,2.6,0,0,0,49,61.34Z"
589
- />
590
- </svg>
591
- </div>
592
- </div>
593
- </div>
594
- </DocumentFragment>
595
- `;
596
-
597
- exports[`AlertHeader snapshot - Render with isDraggable=false 1`] = `
598
- <DocumentFragment>
599
- <div
600
- class="container headerLayout danger flex rowdir wrap vCenter"
601
- data-drag-hook="false"
602
- data-id="containerComponent"
603
- data-selector-id="container"
604
- data-test-id="containerComponent"
605
- >
606
- <div
607
- class="iconContainer "
608
- >
609
- <div
610
- class="iconContainer"
611
- data-selector-id="alertIcons"
612
- >
613
- <svg
614
- class="danger"
615
- viewBox="0 0 100 100"
616
- xmlns="http://www.w3.org/2000/svg"
617
- >
618
- <path
619
- class="danger_primary"
620
- d="M34.89,23.86s27.19-17.79,41-12.44S99,61.81,60.74,82,5.16,58.27,5,50.48C4.87,42.94,5,25,34.89,23.86Z"
621
- />
622
- <polygon
623
- class="outer_cls2"
624
- points="95 49.42 94.18 48.61 92.98 49.79 91.79 48.61 90.97 49.42 92.16 50.6 90.97 51.78 91.79 52.59 92.98 51.41 94.18 52.59 95 51.78 93.81 50.6 95 49.42"
625
- />
626
- <rect
627
- class="outer_cls2"
628
- height="2.18"
629
- width="1.16"
630
- x="10"
631
- y="21.46"
632
- />
633
- <rect
634
- class="outer_cls2"
635
- height="1.15"
636
- width="2.21"
637
- x="11.8"
638
- y="24.27"
639
- />
640
- <rect
641
- class="outer_cls2"
642
- height="2.18"
643
- width="1.16"
644
- x="10"
645
- y="26.05"
646
- />
647
- <rect
648
- class="outer_cls2"
649
- height="1.15"
650
- width="2.21"
651
- x="7.15"
652
- y="24.27"
653
- />
654
- <path
655
- class="outer_cls3"
656
- d="M11.8,82.6a2.76,2.76,0,1,1,2.8-2.76A2.78,2.78,0,0,1,11.8,82.6Zm0-4.37a1.61,1.61,0,1,0,1.63,1.61A1.62,1.62,0,0,0,11.8,78.23Z"
657
- />
658
- <ellipse
659
- class="outer_cls4"
660
- cx="50.21"
661
- cy="11.21"
662
- rx="1.22"
663
- ry="1.21"
664
- />
665
- <polygon
666
- class="outer_cls4"
667
- points="59.77 90 61.8 87.28 63.69 90 59.77 90"
668
- />
669
- <path
670
- class="outer_cls5"
671
- d="M52.28,43.16s-13.79-9-20.78-6.31S19.75,62.42,39.17,72.67s28.2-12.05,28.28-16S67.45,43.72,52.28,43.16Z"
672
- />
673
- <path
674
- class="outer_cls6"
675
- d="M61.28,46.39a1.15,1.15,0,1,1-1.15-1.13A1.13,1.13,0,0,1,61.28,46.39ZM71.63,69.28a5.37,5.37,0,0,0,0-5.4L63,48.91a1,1,0,0,0-1.74,1l8.65,15A3.39,3.39,0,0,1,67,70H30.05a3.39,3.39,0,0,1-2.94-5.09l18.46-32a3.39,3.39,0,0,1,5.87,0l4.74,8.2H48a2.54,2.54,0,0,0-1.85.8,2.57,2.57,0,0,0-.69,1.91l.92,12.67a2.54,2.54,0,0,0,5.08,0l.76-9.85a1,1,0,0,0-.92-1.08,1,1,0,0,0-1.07.92l-.76,9.87a.55.55,0,0,1-1.1,0L47.46,43.7a.51.51,0,0,1,.14-.41.58.58,0,0,1,.4-.17h9.91a1,1,0,0,0,.86-1.5l-5.6-9.7a5.39,5.39,0,0,0-9.33,0l-18.46,32A5.39,5.39,0,0,0,30.05,72H67A5.35,5.35,0,0,0,71.63,69.28ZM49,61.34a2.61,2.61,0,1,0,2.6,2.6A2.6,2.6,0,0,0,49,61.34Z"
676
- />
677
- </svg>
678
- </div>
679
- </div>
680
- <div
681
- class="grow basis shrinkOff"
682
- data-id="boxComponent"
683
- data-selector-id="box"
684
- data-test-id="boxComponent"
685
- >
686
- <div
687
- class="flex cover rowdir"
688
- data-id="containerComponent"
689
- data-selector-id="container"
690
- data-test-id="containerComponent"
691
- >
692
- <div
693
- class="title shrinkOn"
694
- data-id="boxComponent"
695
- data-selector-id="box"
696
- data-test-id="boxComponent"
697
- >
698
- Alert Title
699
- </div>
700
- </div>
701
- </div>
702
- </div>
703
- </DocumentFragment>
704
- `;
705
-
706
- exports[`AlertHeader snapshot - Render with needIcon=false 1`] = `
707
- <DocumentFragment>
708
- <div
709
- class="container headerLayout danger flex rowdir wrap vCenter"
710
- data-drag-hook="true"
711
- data-id="containerComponent"
712
- data-selector-id="container"
713
- data-test-id="containerComponent"
714
- >
715
- <div
716
- class="grow basis shrinkOff"
717
- data-id="boxComponent"
718
- data-selector-id="box"
719
- data-test-id="boxComponent"
720
- >
721
- <div
722
- class="flex cover rowdir"
723
- data-id="containerComponent"
724
- data-selector-id="container"
725
- data-test-id="containerComponent"
726
- >
727
- <div
728
- class="title shrinkOn"
729
- data-id="boxComponent"
730
- data-selector-id="box"
731
- data-test-id="boxComponent"
732
- >
733
- Alert Title
734
- </div>
735
- </div>
736
- </div>
737
- </div>
738
- </DocumentFragment>
739
- `;
740
-
741
- exports[`AlertHeader snapshot - Render with onClose 1`] = `
742
- <DocumentFragment>
743
- <div
744
- class="container headerLayout danger flex rowdir wrap vCenter"
745
- data-drag-hook="true"
746
- data-id="containerComponent"
747
- data-selector-id="container"
748
- data-test-id="containerComponent"
749
- >
750
- <div
751
- class="iconContainer "
752
- >
753
- <div
754
- class="iconContainer"
755
- data-selector-id="alertIcons"
756
- >
757
- <svg
758
- class="danger"
759
- viewBox="0 0 100 100"
760
- xmlns="http://www.w3.org/2000/svg"
761
- >
762
- <path
763
- class="danger_primary"
764
- d="M34.89,23.86s27.19-17.79,41-12.44S99,61.81,60.74,82,5.16,58.27,5,50.48C4.87,42.94,5,25,34.89,23.86Z"
765
- />
766
- <polygon
767
- class="outer_cls2"
768
- points="95 49.42 94.18 48.61 92.98 49.79 91.79 48.61 90.97 49.42 92.16 50.6 90.97 51.78 91.79 52.59 92.98 51.41 94.18 52.59 95 51.78 93.81 50.6 95 49.42"
769
- />
770
- <rect
771
- class="outer_cls2"
772
- height="2.18"
773
- width="1.16"
774
- x="10"
775
- y="21.46"
776
- />
777
- <rect
778
- class="outer_cls2"
779
- height="1.15"
780
- width="2.21"
781
- x="11.8"
782
- y="24.27"
783
- />
784
- <rect
785
- class="outer_cls2"
786
- height="2.18"
787
- width="1.16"
788
- x="10"
789
- y="26.05"
790
- />
791
- <rect
792
- class="outer_cls2"
793
- height="1.15"
794
- width="2.21"
795
- x="7.15"
796
- y="24.27"
797
- />
798
- <path
799
- class="outer_cls3"
800
- d="M11.8,82.6a2.76,2.76,0,1,1,2.8-2.76A2.78,2.78,0,0,1,11.8,82.6Zm0-4.37a1.61,1.61,0,1,0,1.63,1.61A1.62,1.62,0,0,0,11.8,78.23Z"
801
- />
802
- <ellipse
803
- class="outer_cls4"
804
- cx="50.21"
805
- cy="11.21"
806
- rx="1.22"
807
- ry="1.21"
808
- />
809
- <polygon
810
- class="outer_cls4"
811
- points="59.77 90 61.8 87.28 63.69 90 59.77 90"
812
- />
813
- <path
814
- class="outer_cls5"
815
- d="M52.28,43.16s-13.79-9-20.78-6.31S19.75,62.42,39.17,72.67s28.2-12.05,28.28-16S67.45,43.72,52.28,43.16Z"
816
- />
817
- <path
818
- class="outer_cls6"
819
- d="M61.28,46.39a1.15,1.15,0,1,1-1.15-1.13A1.13,1.13,0,0,1,61.28,46.39ZM71.63,69.28a5.37,5.37,0,0,0,0-5.4L63,48.91a1,1,0,0,0-1.74,1l8.65,15A3.39,3.39,0,0,1,67,70H30.05a3.39,3.39,0,0,1-2.94-5.09l18.46-32a3.39,3.39,0,0,1,5.87,0l4.74,8.2H48a2.54,2.54,0,0,0-1.85.8,2.57,2.57,0,0,0-.69,1.91l.92,12.67a2.54,2.54,0,0,0,5.08,0l.76-9.85a1,1,0,0,0-.92-1.08,1,1,0,0,0-1.07.92l-.76,9.87a.55.55,0,0,1-1.1,0L47.46,43.7a.51.51,0,0,1,.14-.41.58.58,0,0,1,.4-.17h9.91a1,1,0,0,0,.86-1.5l-5.6-9.7a5.39,5.39,0,0,0-9.33,0l-18.46,32A5.39,5.39,0,0,0,30.05,72H67A5.35,5.35,0,0,0,71.63,69.28ZM49,61.34a2.61,2.61,0,1,0,2.6,2.6A2.6,2.6,0,0,0,49,61.34Z"
820
- />
821
- </svg>
822
- </div>
823
- </div>
824
- <div
825
- class="grow basis shrinkOff"
826
- data-id="boxComponent"
827
- data-selector-id="box"
828
- data-test-id="boxComponent"
829
- >
830
- <div
831
- class="flex cover rowdir"
832
- data-id="containerComponent"
833
- data-selector-id="container"
834
- data-test-id="containerComponent"
835
- >
836
- <div
837
- class="title shrinkOn"
838
- data-id="boxComponent"
839
- data-selector-id="box"
840
- data-test-id="boxComponent"
841
- >
842
- Alert Title
843
- </div>
844
- </div>
845
- </div>
846
- <div
847
- class="close shrinkOff"
848
- data-id="boxComponent"
849
- data-selector-id="box"
850
- data-test-id="boxComponent"
851
- >
852
- <div
853
- class="close light inflex rowdir both"
854
- data-id="alertHeader_close"
855
- data-selector-id="container"
856
- data-test-id="alertHeader_close"
857
- tabindex="0"
858
- >
859
- <div
860
- class="shrinkOff"
861
- data-id="boxComponent"
862
- data-selector-id="box"
863
- data-test-id="boxComponent"
864
- >
865
- <i
866
- aria-hidden="true"
867
- class="zd_font_icons basic icon-Cross fbold closeIcon "
868
- data-id="fontIcon"
869
- data-selector-id="fontIcon"
870
- data-test-id="fontIcon"
871
- style="--zd-iconfont-size: var(--zd_font_size12);"
872
- />
873
- </div>
874
- </div>
875
- </div>
876
- </div>
877
- </DocumentFragment>
878
- `;
879
-
880
- exports[`AlertHeader snapshot - Render with renderCustomIcon 1`] = `
881
- <DocumentFragment>
882
- <div
883
- class="container headerLayout danger flex rowdir wrap vCenter"
884
- data-drag-hook="true"
885
- data-id="containerComponent"
886
- data-selector-id="container"
887
- data-test-id="containerComponent"
888
- >
889
- <span>
890
- Custom Icon
891
- </span>
892
- <div
893
- class="grow basis shrinkOff"
894
- data-id="boxComponent"
895
- data-selector-id="box"
896
- data-test-id="boxComponent"
897
- >
898
- <div
899
- class="flex cover rowdir"
900
- data-id="containerComponent"
901
- data-selector-id="container"
902
- data-test-id="containerComponent"
903
- >
904
- <div
905
- class="title shrinkOn"
906
- data-id="boxComponent"
907
- data-selector-id="box"
908
- data-test-id="boxComponent"
909
- >
910
- Alert Title
911
- </div>
912
- </div>
913
- </div>
914
- </div>
915
- </DocumentFragment>
916
- `;
917
-
918
- exports[`AlertHeader snapshot - Render with renderRightActions 1`] = `
919
- <DocumentFragment>
920
- <div
921
- class="container headerLayout danger flex rowdir wrap vCenter"
922
- data-drag-hook="true"
923
- data-id="containerComponent"
924
- data-selector-id="container"
925
- data-test-id="containerComponent"
926
- >
927
- <div
928
- class="iconContainer "
929
- >
930
- <div
931
- class="iconContainer"
932
- data-selector-id="alertIcons"
933
- >
934
- <svg
935
- class="danger"
936
- viewBox="0 0 100 100"
937
- xmlns="http://www.w3.org/2000/svg"
938
- >
939
- <path
940
- class="danger_primary"
941
- d="M34.89,23.86s27.19-17.79,41-12.44S99,61.81,60.74,82,5.16,58.27,5,50.48C4.87,42.94,5,25,34.89,23.86Z"
942
- />
943
- <polygon
944
- class="outer_cls2"
945
- points="95 49.42 94.18 48.61 92.98 49.79 91.79 48.61 90.97 49.42 92.16 50.6 90.97 51.78 91.79 52.59 92.98 51.41 94.18 52.59 95 51.78 93.81 50.6 95 49.42"
946
- />
947
- <rect
948
- class="outer_cls2"
949
- height="2.18"
950
- width="1.16"
951
- x="10"
952
- y="21.46"
953
- />
954
- <rect
955
- class="outer_cls2"
956
- height="1.15"
957
- width="2.21"
958
- x="11.8"
959
- y="24.27"
960
- />
961
- <rect
962
- class="outer_cls2"
963
- height="2.18"
964
- width="1.16"
965
- x="10"
966
- y="26.05"
967
- />
968
- <rect
969
- class="outer_cls2"
970
- height="1.15"
971
- width="2.21"
972
- x="7.15"
973
- y="24.27"
974
- />
975
- <path
976
- class="outer_cls3"
977
- d="M11.8,82.6a2.76,2.76,0,1,1,2.8-2.76A2.78,2.78,0,0,1,11.8,82.6Zm0-4.37a1.61,1.61,0,1,0,1.63,1.61A1.62,1.62,0,0,0,11.8,78.23Z"
978
- />
979
- <ellipse
980
- class="outer_cls4"
981
- cx="50.21"
982
- cy="11.21"
983
- rx="1.22"
984
- ry="1.21"
985
- />
986
- <polygon
987
- class="outer_cls4"
988
- points="59.77 90 61.8 87.28 63.69 90 59.77 90"
989
- />
990
- <path
991
- class="outer_cls5"
992
- d="M52.28,43.16s-13.79-9-20.78-6.31S19.75,62.42,39.17,72.67s28.2-12.05,28.28-16S67.45,43.72,52.28,43.16Z"
993
- />
994
- <path
995
- class="outer_cls6"
996
- d="M61.28,46.39a1.15,1.15,0,1,1-1.15-1.13A1.13,1.13,0,0,1,61.28,46.39ZM71.63,69.28a5.37,5.37,0,0,0,0-5.4L63,48.91a1,1,0,0,0-1.74,1l8.65,15A3.39,3.39,0,0,1,67,70H30.05a3.39,3.39,0,0,1-2.94-5.09l18.46-32a3.39,3.39,0,0,1,5.87,0l4.74,8.2H48a2.54,2.54,0,0,0-1.85.8,2.57,2.57,0,0,0-.69,1.91l.92,12.67a2.54,2.54,0,0,0,5.08,0l.76-9.85a1,1,0,0,0-.92-1.08,1,1,0,0,0-1.07.92l-.76,9.87a.55.55,0,0,1-1.1,0L47.46,43.7a.51.51,0,0,1,.14-.41.58.58,0,0,1,.4-.17h9.91a1,1,0,0,0,.86-1.5l-5.6-9.7a5.39,5.39,0,0,0-9.33,0l-18.46,32A5.39,5.39,0,0,0,30.05,72H67A5.35,5.35,0,0,0,71.63,69.28ZM49,61.34a2.61,2.61,0,1,0,2.6,2.6A2.6,2.6,0,0,0,49,61.34Z"
997
- />
998
- </svg>
999
- </div>
1000
- </div>
1001
- <div
1002
- class="grow basis shrinkOff"
1003
- data-id="boxComponent"
1004
- data-selector-id="box"
1005
- data-test-id="boxComponent"
1006
- >
1007
- <div
1008
- class="flex cover rowdir"
1009
- data-id="containerComponent"
1010
- data-selector-id="container"
1011
- data-test-id="containerComponent"
1012
- >
1013
- <div
1014
- class="title shrinkOn"
1015
- data-id="boxComponent"
1016
- data-selector-id="box"
1017
- data-test-id="boxComponent"
1018
- >
1019
- Alert Title
1020
- </div>
1021
- </div>
1022
- </div>
1023
- <button
1024
- type="button"
1025
- >
1026
- Action
1027
- </button>
1028
- </div>
1029
- </DocumentFragment>
1030
- `;
1031
-
1032
- exports[`AlertHeader snapshot - Render with renderSecondaryContent 1`] = `
1033
- <DocumentFragment>
1034
- <div
1035
- class="container headerLayout danger flex rowdir wrap vCenter"
1036
- data-drag-hook="true"
1037
- data-id="containerComponent"
1038
- data-selector-id="container"
1039
- data-test-id="containerComponent"
1040
- >
1041
- <div
1042
- class="iconContainer "
1043
- >
1044
- <div
1045
- class="iconContainer"
1046
- data-selector-id="alertIcons"
1047
- >
1048
- <svg
1049
- class="danger"
1050
- viewBox="0 0 100 100"
1051
- xmlns="http://www.w3.org/2000/svg"
1052
- >
1053
- <path
1054
- class="danger_primary"
1055
- d="M34.89,23.86s27.19-17.79,41-12.44S99,61.81,60.74,82,5.16,58.27,5,50.48C4.87,42.94,5,25,34.89,23.86Z"
1056
- />
1057
- <polygon
1058
- class="outer_cls2"
1059
- points="95 49.42 94.18 48.61 92.98 49.79 91.79 48.61 90.97 49.42 92.16 50.6 90.97 51.78 91.79 52.59 92.98 51.41 94.18 52.59 95 51.78 93.81 50.6 95 49.42"
1060
- />
1061
- <rect
1062
- class="outer_cls2"
1063
- height="2.18"
1064
- width="1.16"
1065
- x="10"
1066
- y="21.46"
1067
- />
1068
- <rect
1069
- class="outer_cls2"
1070
- height="1.15"
1071
- width="2.21"
1072
- x="11.8"
1073
- y="24.27"
1074
- />
1075
- <rect
1076
- class="outer_cls2"
1077
- height="2.18"
1078
- width="1.16"
1079
- x="10"
1080
- y="26.05"
1081
- />
1082
- <rect
1083
- class="outer_cls2"
1084
- height="1.15"
1085
- width="2.21"
1086
- x="7.15"
1087
- y="24.27"
1088
- />
1089
- <path
1090
- class="outer_cls3"
1091
- d="M11.8,82.6a2.76,2.76,0,1,1,2.8-2.76A2.78,2.78,0,0,1,11.8,82.6Zm0-4.37a1.61,1.61,0,1,0,1.63,1.61A1.62,1.62,0,0,0,11.8,78.23Z"
1092
- />
1093
- <ellipse
1094
- class="outer_cls4"
1095
- cx="50.21"
1096
- cy="11.21"
1097
- rx="1.22"
1098
- ry="1.21"
1099
- />
1100
- <polygon
1101
- class="outer_cls4"
1102
- points="59.77 90 61.8 87.28 63.69 90 59.77 90"
1103
- />
1104
- <path
1105
- class="outer_cls5"
1106
- d="M52.28,43.16s-13.79-9-20.78-6.31S19.75,62.42,39.17,72.67s28.2-12.05,28.28-16S67.45,43.72,52.28,43.16Z"
1107
- />
1108
- <path
1109
- class="outer_cls6"
1110
- d="M61.28,46.39a1.15,1.15,0,1,1-1.15-1.13A1.13,1.13,0,0,1,61.28,46.39ZM71.63,69.28a5.37,5.37,0,0,0,0-5.4L63,48.91a1,1,0,0,0-1.74,1l8.65,15A3.39,3.39,0,0,1,67,70H30.05a3.39,3.39,0,0,1-2.94-5.09l18.46-32a3.39,3.39,0,0,1,5.87,0l4.74,8.2H48a2.54,2.54,0,0,0-1.85.8,2.57,2.57,0,0,0-.69,1.91l.92,12.67a2.54,2.54,0,0,0,5.08,0l.76-9.85a1,1,0,0,0-.92-1.08,1,1,0,0,0-1.07.92l-.76,9.87a.55.55,0,0,1-1.1,0L47.46,43.7a.51.51,0,0,1,.14-.41.58.58,0,0,1,.4-.17h9.91a1,1,0,0,0,.86-1.5l-5.6-9.7a5.39,5.39,0,0,0-9.33,0l-18.46,32A5.39,5.39,0,0,0,30.05,72H67A5.35,5.35,0,0,0,71.63,69.28ZM49,61.34a2.61,2.61,0,1,0,2.6,2.6A2.6,2.6,0,0,0,49,61.34Z"
1111
- />
1112
- </svg>
1113
- </div>
1114
- </div>
1115
- <div
1116
- class="grow basis shrinkOff"
1117
- data-id="boxComponent"
1118
- data-selector-id="box"
1119
- data-test-id="boxComponent"
1120
- >
1121
- <div
1122
- class="flex cover rowdir"
1123
- data-id="containerComponent"
1124
- data-selector-id="container"
1125
- data-test-id="containerComponent"
1126
- >
1127
- <div
1128
- class="title shrinkOn"
1129
- data-id="boxComponent"
1130
- data-selector-id="box"
1131
- data-test-id="boxComponent"
1132
- >
1133
- Alert Title
1134
- </div>
1135
- </div>
1136
- <span>
1137
- Secondary
1138
- </span>
1139
- </div>
1140
- </div>
1141
- </DocumentFragment>
1142
- `;
1143
-
1144
- exports[`AlertHeader snapshot - Render with title 1`] = `
1145
- <DocumentFragment>
1146
- <div
1147
- class="container headerLayout danger flex rowdir wrap vCenter"
1148
- data-drag-hook="true"
1149
- data-id="containerComponent"
1150
- data-selector-id="container"
1151
- data-test-id="containerComponent"
1152
- >
1153
- <div
1154
- class="iconContainer "
1155
- >
1156
- <div
1157
- class="iconContainer"
1158
- data-selector-id="alertIcons"
1159
- >
1160
- <svg
1161
- class="danger"
1162
- viewBox="0 0 100 100"
1163
- xmlns="http://www.w3.org/2000/svg"
1164
- >
1165
- <path
1166
- class="danger_primary"
1167
- d="M34.89,23.86s27.19-17.79,41-12.44S99,61.81,60.74,82,5.16,58.27,5,50.48C4.87,42.94,5,25,34.89,23.86Z"
1168
- />
1169
- <polygon
1170
- class="outer_cls2"
1171
- points="95 49.42 94.18 48.61 92.98 49.79 91.79 48.61 90.97 49.42 92.16 50.6 90.97 51.78 91.79 52.59 92.98 51.41 94.18 52.59 95 51.78 93.81 50.6 95 49.42"
1172
- />
1173
- <rect
1174
- class="outer_cls2"
1175
- height="2.18"
1176
- width="1.16"
1177
- x="10"
1178
- y="21.46"
1179
- />
1180
- <rect
1181
- class="outer_cls2"
1182
- height="1.15"
1183
- width="2.21"
1184
- x="11.8"
1185
- y="24.27"
1186
- />
1187
- <rect
1188
- class="outer_cls2"
1189
- height="2.18"
1190
- width="1.16"
1191
- x="10"
1192
- y="26.05"
1193
- />
1194
- <rect
1195
- class="outer_cls2"
1196
- height="1.15"
1197
- width="2.21"
1198
- x="7.15"
1199
- y="24.27"
1200
- />
1201
- <path
1202
- class="outer_cls3"
1203
- d="M11.8,82.6a2.76,2.76,0,1,1,2.8-2.76A2.78,2.78,0,0,1,11.8,82.6Zm0-4.37a1.61,1.61,0,1,0,1.63,1.61A1.62,1.62,0,0,0,11.8,78.23Z"
1204
- />
1205
- <ellipse
1206
- class="outer_cls4"
1207
- cx="50.21"
1208
- cy="11.21"
1209
- rx="1.22"
1210
- ry="1.21"
1211
- />
1212
- <polygon
1213
- class="outer_cls4"
1214
- points="59.77 90 61.8 87.28 63.69 90 59.77 90"
1215
- />
1216
- <path
1217
- class="outer_cls5"
1218
- d="M52.28,43.16s-13.79-9-20.78-6.31S19.75,62.42,39.17,72.67s28.2-12.05,28.28-16S67.45,43.72,52.28,43.16Z"
1219
- />
1220
- <path
1221
- class="outer_cls6"
1222
- d="M61.28,46.39a1.15,1.15,0,1,1-1.15-1.13A1.13,1.13,0,0,1,61.28,46.39ZM71.63,69.28a5.37,5.37,0,0,0,0-5.4L63,48.91a1,1,0,0,0-1.74,1l8.65,15A3.39,3.39,0,0,1,67,70H30.05a3.39,3.39,0,0,1-2.94-5.09l18.46-32a3.39,3.39,0,0,1,5.87,0l4.74,8.2H48a2.54,2.54,0,0,0-1.85.8,2.57,2.57,0,0,0-.69,1.91l.92,12.67a2.54,2.54,0,0,0,5.08,0l.76-9.85a1,1,0,0,0-.92-1.08,1,1,0,0,0-1.07.92l-.76,9.87a.55.55,0,0,1-1.1,0L47.46,43.7a.51.51,0,0,1,.14-.41.58.58,0,0,1,.4-.17h9.91a1,1,0,0,0,.86-1.5l-5.6-9.7a5.39,5.39,0,0,0-9.33,0l-18.46,32A5.39,5.39,0,0,0,30.05,72H67A5.35,5.35,0,0,0,71.63,69.28ZM49,61.34a2.61,2.61,0,1,0,2.6,2.6A2.6,2.6,0,0,0,49,61.34Z"
1223
- />
1224
- </svg>
1225
- </div>
1226
- </div>
1227
- <div
1228
- class="grow basis shrinkOff"
1229
- data-id="boxComponent"
1230
- data-selector-id="box"
1231
- data-test-id="boxComponent"
1232
- >
1233
- <div
1234
- class="flex cover rowdir"
1235
- data-id="containerComponent"
1236
- data-selector-id="container"
1237
- data-test-id="containerComponent"
1238
- >
1239
- <div
1240
- class="title shrinkOn"
1241
- data-id="boxComponent"
1242
- data-selector-id="box"
1243
- data-test-id="boxComponent"
1244
- >
1245
- Alert Title
1246
- </div>
1247
- </div>
1248
- </div>
1249
- </div>
1250
- </DocumentFragment>
1251
- `;
1252
-
1253
- exports[`AlertHeader snapshot - Render with type=error 1`] = `
1254
- <DocumentFragment>
1255
- <div
1256
- class="container headerLayout error flex rowdir wrap vCenter"
1257
- data-drag-hook="true"
1258
- data-id="containerComponent"
1259
- data-selector-id="container"
1260
- data-test-id="containerComponent"
1261
- >
1262
- <div
1263
- class="iconContainer "
1264
- >
1265
- <div
1266
- class="iconContainer"
1267
- data-selector-id="alertIcons"
1268
- >
1269
- <svg
1270
- class="error"
1271
- viewBox="0 0 100 100"
1272
- xmlns="http://www.w3.org/2000/svg"
1273
- >
1274
- <path
1275
- class="danger_primary"
1276
- d="M34.89,23.86s27.19-17.79,41-12.44S99,61.81,60.74,82,5.16,58.27,5,50.48C4.87,42.94,5,25,34.89,23.86Z"
1277
- />
1278
- <polygon
1279
- class="outer_cls2"
1280
- points="95 49.42 94.18 48.61 92.98 49.79 91.79 48.61 90.97 49.42 92.16 50.6 90.97 51.78 91.79 52.59 92.98 51.41 94.18 52.59 95 51.78 93.81 50.6 95 49.42"
1281
- />
1282
- <rect
1283
- class="outer_cls2"
1284
- height="2.18"
1285
- width="1.16"
1286
- x="10"
1287
- y="21.46"
1288
- />
1289
- <rect
1290
- class="outer_cls2"
1291
- height="1.15"
1292
- width="2.21"
1293
- x="11.8"
1294
- y="24.27"
1295
- />
1296
- <rect
1297
- class="outer_cls2"
1298
- height="2.18"
1299
- width="1.16"
1300
- x="10"
1301
- y="26.05"
1302
- />
1303
- <rect
1304
- class="outer_cls2"
1305
- height="1.15"
1306
- width="2.21"
1307
- x="7.15"
1308
- y="24.27"
1309
- />
1310
- <path
1311
- class="outer_cls3"
1312
- d="M11.8,82.6a2.76,2.76,0,1,1,2.8-2.76A2.78,2.78,0,0,1,11.8,82.6Zm0-4.37a1.61,1.61,0,1,0,1.63,1.61A1.62,1.62,0,0,0,11.8,78.23Z"
1313
- />
1314
- <ellipse
1315
- class="outer_cls4"
1316
- cx="50.21"
1317
- cy="11.21"
1318
- rx="1.22"
1319
- ry="1.21"
1320
- />
1321
- <polygon
1322
- class="outer_cls4"
1323
- points="59.77 90 61.8 87.28 63.69 90 59.77 90"
1324
- />
1325
- <path
1326
- class="outer_cls5"
1327
- d="M52.28,43.16s-13.79-9-20.78-6.31S19.75,62.42,39.17,72.67s28.2-12.05,28.28-16S67.45,43.72,52.28,43.16Z"
1328
- />
1329
- <path
1330
- class="outer_cls6"
1331
- d="M61.28,46.39a1.15,1.15,0,1,1-1.15-1.13A1.13,1.13,0,0,1,61.28,46.39ZM71.63,69.28a5.37,5.37,0,0,0,0-5.4L63,48.91a1,1,0,0,0-1.74,1l8.65,15A3.39,3.39,0,0,1,67,70H30.05a3.39,3.39,0,0,1-2.94-5.09l18.46-32a3.39,3.39,0,0,1,5.87,0l4.74,8.2H48a2.54,2.54,0,0,0-1.85.8,2.57,2.57,0,0,0-.69,1.91l.92,12.67a2.54,2.54,0,0,0,5.08,0l.76-9.85a1,1,0,0,0-.92-1.08,1,1,0,0,0-1.07.92l-.76,9.87a.55.55,0,0,1-1.1,0L47.46,43.7a.51.51,0,0,1,.14-.41.58.58,0,0,1,.4-.17h9.91a1,1,0,0,0,.86-1.5l-5.6-9.7a5.39,5.39,0,0,0-9.33,0l-18.46,32A5.39,5.39,0,0,0,30.05,72H67A5.35,5.35,0,0,0,71.63,69.28ZM49,61.34a2.61,2.61,0,1,0,2.6,2.6A2.6,2.6,0,0,0,49,61.34Z"
1332
- />
1333
- </svg>
1334
- </div>
1335
- </div>
1336
- <div
1337
- class="grow basis shrinkOff"
1338
- data-id="boxComponent"
1339
- data-selector-id="box"
1340
- data-test-id="boxComponent"
1341
- >
1342
- <div
1343
- class="flex cover rowdir"
1344
- data-id="containerComponent"
1345
- data-selector-id="container"
1346
- data-test-id="containerComponent"
1347
- >
1348
- <div
1349
- class="title shrinkOn"
1350
- data-id="boxComponent"
1351
- data-selector-id="box"
1352
- data-test-id="boxComponent"
1353
- >
1354
- Alert Title
1355
- </div>
1356
- </div>
1357
- </div>
1358
- </div>
1359
- </DocumentFragment>
1360
- `;
1361
-
1362
- exports[`AlertHeader snapshot - Render with type=info 1`] = `
1363
- <DocumentFragment>
1364
- <div
1365
- class="container headerLayout info flex rowdir wrap vCenter"
1366
- data-drag-hook="true"
1367
- data-id="containerComponent"
1368
- data-selector-id="container"
1369
- data-test-id="containerComponent"
1370
- >
1371
- <div
1372
- class="iconContainer "
1373
- >
1374
- <div
1375
- class="iconContainer"
1376
- data-selector-id="alertIcons"
1377
- >
1378
- <svg
1379
- class="info"
1380
- viewBox="0 0 100 100"
1381
- xmlns="http://www.w3.org/2000/svg"
1382
- >
1383
- <path
1384
- class="info_primary"
1385
- d="M34.89,23.86s27.19-17.79,41-12.44S99,61.81,60.74,82,5.16,58.27,5,50.48C4.87,42.94,5,25,34.89,23.86Z"
1386
- />
1387
- <polygon
1388
- class="outer_cls2"
1389
- points="95 49.42 94.18 48.61 92.98 49.79 91.79 48.61 90.97 49.42 92.16 50.6 90.97 51.78 91.79 52.59 92.98 51.41 94.18 52.59 95 51.78 93.81 50.6 95 49.42"
1390
- />
1391
- <rect
1392
- class="outer_cls2"
1393
- height="2.18"
1394
- width="1.16"
1395
- x="10"
1396
- y="21.46"
1397
- />
1398
- <rect
1399
- class="outer_cls2"
1400
- height="1.15"
1401
- width="2.21"
1402
- x="11.8"
1403
- y="24.27"
1404
- />
1405
- <rect
1406
- class="outer_cls2"
1407
- height="2.18"
1408
- width="1.16"
1409
- x="10"
1410
- y="26.05"
1411
- />
1412
- <rect
1413
- class="outer_cls2"
1414
- height="1.15"
1415
- width="2.21"
1416
- x="7.15"
1417
- y="24.27"
1418
- />
1419
- <path
1420
- class="outer_cls3"
1421
- d="M11.8,82.6a2.76,2.76,0,1,1,2.8-2.76A2.78,2.78,0,0,1,11.8,82.6Zm0-4.37a1.61,1.61,0,1,0,1.63,1.61A1.62,1.62,0,0,0,11.8,78.23Z"
1422
- />
1423
- <ellipse
1424
- class="outer_cls4"
1425
- cx="50.21"
1426
- cy="11.21"
1427
- rx="1.22"
1428
- ry="1.21"
1429
- />
1430
- <polygon
1431
- class="outer_cls4"
1432
- points="59.77 90 61.8 87.28 63.69 90 59.77 90"
1433
- />
1434
- <path
1435
- class="outer_cls5"
1436
- d="M51.93,46.17s-13.8-9-20.79-6.31S19.39,65.43,38.81,75.68s28.2-12.05,28.28-16S67.09,46.73,51.93,46.17Z"
1437
- />
1438
- <path
1439
- class="outer_cls6"
1440
- d="M47.87,47.66a4.9,4.9,0,1,1,4.9-4.9A4.91,4.91,0,0,1,47.87,47.66Zm0-7.8a2.9,2.9,0,1,0,2.9,2.9A2.9,2.9,0,0,0,47.87,39.86Z"
1441
- />
1442
- <path
1443
- class="outer_cls6"
1444
- d="M45,74.64h-.08a24.28,24.28,0,1,1,5.67-.13,1,1,0,0,1-.28-2,22.35,22.35,0,1,0-6.34,0L43.42,55.9a4.89,4.89,0,0,1,5.34-5l4.28.39a1,1,0,0,1,.7.39,1,1,0,0,1,.19.78l-1.64,9.64a1,1,0,0,1-2-.34l1.46-8.57-3.2-.3a2.83,2.83,0,0,0-2.24.76,2.89,2.89,0,0,0-.92,2.18L46,73.58a1,1,0,0,1-1,1.06Z"
1445
- />
1446
- <ellipse
1447
- class="outer_cls6"
1448
- cx="50.66"
1449
- cy="65.73"
1450
- rx="1.15"
1451
- ry="1.13"
1452
- />
1453
- </svg>
1454
- </div>
1455
- </div>
1456
- <div
1457
- class="grow basis shrinkOff"
1458
- data-id="boxComponent"
1459
- data-selector-id="box"
1460
- data-test-id="boxComponent"
1461
- >
1462
- <div
1463
- class="flex cover rowdir"
1464
- data-id="containerComponent"
1465
- data-selector-id="container"
1466
- data-test-id="containerComponent"
1467
- >
1468
- <div
1469
- class="title shrinkOn"
1470
- data-id="boxComponent"
1471
- data-selector-id="box"
1472
- data-test-id="boxComponent"
1473
- >
1474
- Alert Title
1475
- </div>
1476
- </div>
1477
- </div>
1478
- </div>
1479
- </DocumentFragment>
1480
- `;
1481
-
1482
- exports[`AlertHeader snapshot - Render with type=notification 1`] = `
1483
- <DocumentFragment>
1484
- <div
1485
- class="container headerLayout notification flex rowdir wrap vCenter"
1486
- data-drag-hook="true"
1487
- data-id="containerComponent"
1488
- data-selector-id="container"
1489
- data-test-id="containerComponent"
1490
- >
1491
- <div
1492
- class="iconContainer "
1493
- >
1494
- <div
1495
- class="iconContainer"
1496
- data-selector-id="alertIcons"
1497
- >
1498
- <svg
1499
- class="notification"
1500
- viewBox="0 0 100 100"
1501
- xmlns="http://www.w3.org/2000/svg"
1502
- >
1503
- <path
1504
- class="notify_primary"
1505
- d="M34.89,23.86s27.19-17.79,41-12.44S99,61.81,60.74,82,5.16,58.27,5,50.48C4.87,42.94,5,25,34.89,23.86Z"
1506
- />
1507
- <polygon
1508
- class="outer_cls2"
1509
- points="95 49.42 94.18 48.61 92.98 49.79 91.79 48.61 90.97 49.42 92.16 50.6 90.97 51.78 91.79 52.59 92.98 51.41 94.18 52.59 95 51.78 93.81 50.6 95 49.42"
1510
- />
1511
- <rect
1512
- class="outer_cls2"
1513
- height="2.18"
1514
- width="1.16"
1515
- x="10"
1516
- y="21.46"
1517
- />
1518
- <rect
1519
- class="outer_cls2"
1520
- height="1.15"
1521
- width="2.21"
1522
- x="11.8"
1523
- y="24.27"
1524
- />
1525
- <rect
1526
- class="outer_cls2"
1527
- height="2.18"
1528
- width="1.16"
1529
- x="10"
1530
- y="26.05"
1531
- />
1532
- <rect
1533
- class="outer_cls2"
1534
- height="1.15"
1535
- width="2.21"
1536
- x="7.15"
1537
- y="24.27"
1538
- />
1539
- <path
1540
- class="outer_cls3"
1541
- d="M11.8,82.6a2.76,2.76,0,1,1,2.8-2.76A2.78,2.78,0,0,1,11.8,82.6Zm0-4.37a1.61,1.61,0,1,0,1.63,1.61A1.62,1.62,0,0,0,11.8,78.23Z"
1542
- />
1543
- <ellipse
1544
- class="outer_cls4"
1545
- cx="50.21"
1546
- cy="11.21"
1547
- rx="1.22"
1548
- ry="1.21"
1549
- />
1550
- <polygon
1551
- class="outer_cls4"
1552
- points="59.77 90 61.8 87.28 63.69 90 59.77 90"
1553
- />
1554
- <path
1555
- class="outer_cls5"
1556
- d="M52.28,46.17s-13.79-9-20.78-6.31S19.75,65.43,39.17,75.68s28.2-12.05,28.28-16S67.45,46.73,52.28,46.17Z"
1557
- />
1558
- <path
1559
- class="outer_cls6"
1560
- d="M60.43,59.67H45.11a1.11,1.11,0,0,0,0,2.21h15.3a3.76,3.76,0,1,1,0,7.52H30.08a3.76,3.76,0,1,1,0-7.52h.81A1.11,1.11,0,0,0,32,60.77V48.52A13.24,13.24,0,0,1,41,36a1.14,1.14,0,0,0,.41-.24,1.1,1.1,0,0,0,0-1.56,5.28,5.28,0,1,1,7.68,0,1.12,1.12,0,0,0-.26,1,1.09,1.09,0,0,0,.71.78,13.24,13.24,0,0,1,9,12.55v6.62a1.11,1.11,0,0,0,2.21,0V48.52a15.48,15.48,0,0,0-9.07-14.09,7.48,7.48,0,1,0-12.8,0,15.5,15.5,0,0,0-9,14.09V59.67A6,6,0,0,0,30.1,71.6H60.43a6,6,0,1,0,0-11.93Z"
1561
- />
1562
- <circle
1563
- class="outer_cls6"
1564
- cx="40.09"
1565
- cy="60.77"
1566
- r="1.26"
1567
- />
1568
- </svg>
1569
- </div>
1570
- </div>
1571
- <div
1572
- class="grow basis shrinkOff"
1573
- data-id="boxComponent"
1574
- data-selector-id="box"
1575
- data-test-id="boxComponent"
1576
- >
1577
- <div
1578
- class="flex cover rowdir"
1579
- data-id="containerComponent"
1580
- data-selector-id="container"
1581
- data-test-id="containerComponent"
1582
- >
1583
- <div
1584
- class="title shrinkOn"
1585
- data-id="boxComponent"
1586
- data-selector-id="box"
1587
- data-test-id="boxComponent"
1588
- >
1589
- Alert Title
1590
- </div>
1591
- </div>
1592
- </div>
1593
- </div>
1594
- </DocumentFragment>
1595
- `;
1596
-
1597
- exports[`AlertHeader snapshot - Render with type=success 1`] = `
1598
- <DocumentFragment>
1599
- <div
1600
- class="container headerLayout success flex rowdir wrap vCenter"
1601
- data-drag-hook="true"
1602
- data-id="containerComponent"
1603
- data-selector-id="container"
1604
- data-test-id="containerComponent"
1605
- >
1606
- <div
1607
- class="iconContainer "
1608
- >
1609
- <div
1610
- class="iconContainer"
1611
- data-selector-id="alertIcons"
1612
- >
1613
- <svg
1614
- class="success"
1615
- viewBox="0 0 100 100"
1616
- xmlns="http://www.w3.org/2000/svg"
1617
- >
1618
- <path
1619
- class="success_primary"
1620
- d="M34.89,23.86s27.19-17.79,41-12.44S99,61.81,60.74,82,5.16,58.27,5,50.48C4.87,42.94,5,25,34.89,23.86Z"
1621
- />
1622
- <polygon
1623
- class="outer_cls2"
1624
- points="95 49.42 94.18 48.61 92.98 49.79 91.79 48.61 90.97 49.42 92.16 50.6 90.97 51.78 91.79 52.59 92.98 51.41 94.18 52.59 95 51.78 93.81 50.6 95 49.42"
1625
- />
1626
- <rect
1627
- class="outer_cls2"
1628
- height="2.18"
1629
- width="1.16"
1630
- x="10"
1631
- y="21.46"
1632
- />
1633
- <rect
1634
- class="outer_cls2"
1635
- height="1.15"
1636
- width="2.21"
1637
- x="11.8"
1638
- y="24.27"
1639
- />
1640
- <rect
1641
- class="outer_cls2"
1642
- height="2.18"
1643
- width="1.16"
1644
- x="10"
1645
- y="26.05"
1646
- />
1647
- <rect
1648
- class="outer_cls2"
1649
- height="1.15"
1650
- width="2.21"
1651
- x="7.15"
1652
- y="24.27"
1653
- />
1654
- <path
1655
- class="outer_cls3"
1656
- d="M11.8,82.6a2.76,2.76,0,1,1,2.8-2.76A2.78,2.78,0,0,1,11.8,82.6Zm0-4.37a1.61,1.61,0,1,0,1.63,1.61A1.62,1.62,0,0,0,11.8,78.23Z"
1657
- />
1658
- <ellipse
1659
- class="outer_cls4"
1660
- cx="50.21"
1661
- cy="11.21"
1662
- rx="1.22"
1663
- ry="1.21"
1664
- />
1665
- <polygon
1666
- class="outer_cls4"
1667
- points="59.77 90 61.8 87.28 63.69 90 59.77 90"
1668
- />
1669
- <path
1670
- class="outer_cls5"
1671
- d="M53.32,43.16s-13.79-9-20.78-6.31S20.79,62.42,40.21,72.67s28.2-12.05,28.27-16S68.48,43.72,53.32,43.16Z"
1672
- />
1673
- <path
1674
- class="outer_cls6"
1675
- d="M46.5,72.63A23.22,23.22,0,0,1,23.67,54,22.56,22.56,0,0,1,27.2,36.88,23.42,23.42,0,0,1,65,35.77a1,1,0,0,1-.08,1.32l-18.05,18a1,1,0,0,1-1.29.1l-10.7-7.71a1,1,0,0,1,1.17-1.63l10,7.22L62.88,36.31a21.43,21.43,0,0,0-34,1.7,20.59,20.59,0,0,0-3.22,15.58,21.35,21.35,0,0,0,38.53,7.74,20.59,20.59,0,0,0,3.22-15.58,1,1,0,0,1,.79-1.18,1,1,0,0,1,1.17.8,22.52,22.52,0,0,1-3.53,17.09,23.13,23.13,0,0,1-15,9.76A24,24,0,0,1,46.5,72.63ZM67.31,41a1,1,0,1,0,1,1A1,1,0,0,0,67.31,41Z"
1676
- />
1677
- </svg>
1678
- </div>
1679
- </div>
1680
- <div
1681
- class="grow basis shrinkOff"
1682
- data-id="boxComponent"
1683
- data-selector-id="box"
1684
- data-test-id="boxComponent"
1685
- >
1686
- <div
1687
- class="flex cover rowdir"
1688
- data-id="containerComponent"
1689
- data-selector-id="container"
1690
- data-test-id="containerComponent"
1691
- >
1692
- <div
1693
- class="title shrinkOn"
1694
- data-id="boxComponent"
1695
- data-selector-id="box"
1696
- data-test-id="boxComponent"
1697
- >
1698
- Alert Title
1699
- </div>
1700
- </div>
1701
- </div>
1702
- </div>
1703
- </DocumentFragment>
1704
- `;
1705
-
1706
- exports[`AlertHeader snapshot - Render with type=warning 1`] = `
1707
- <DocumentFragment>
1708
- <div
1709
- class="container headerLayout warning flex rowdir wrap vCenter"
1710
- data-drag-hook="true"
1711
- data-id="containerComponent"
1712
- data-selector-id="container"
1713
- data-test-id="containerComponent"
1714
- >
1715
- <div
1716
- class="iconContainer "
1717
- >
1718
- <div
1719
- class="iconContainer"
1720
- data-selector-id="alertIcons"
1721
- >
1722
- <svg
1723
- class="warning"
1724
- viewBox="0 0 100 100"
1725
- xmlns="http://www.w3.org/2000/svg"
1726
- >
1727
- <path
1728
- class="warning_primary"
1729
- d="M34.89,23.86s27.19-17.79,41-12.44S99,61.81,60.74,82,5.16,58.27,5,50.48C4.87,42.94,5,25,34.89,23.86Z"
1730
- />
1731
- <polygon
1732
- class="outer_cls2"
1733
- points="95 49.42 94.18 48.61 92.98 49.79 91.79 48.61 90.97 49.42 92.16 50.6 90.97 51.78 91.79 52.59 92.98 51.41 94.18 52.59 95 51.78 93.81 50.6 95 49.42"
1734
- />
1735
- <rect
1736
- class="outer_cls2"
1737
- height="2.18"
1738
- width="1.16"
1739
- x="10"
1740
- y="21.46"
1741
- />
1742
- <rect
1743
- class="outer_cls2"
1744
- height="1.15"
1745
- width="2.21"
1746
- x="11.8"
1747
- y="24.27"
1748
- />
1749
- <rect
1750
- class="outer_cls2"
1751
- height="2.18"
1752
- width="1.16"
1753
- x="10"
1754
- y="26.05"
1755
- />
1756
- <rect
1757
- class="outer_cls2"
1758
- height="1.15"
1759
- width="2.21"
1760
- x="7.15"
1761
- y="24.27"
1762
- />
1763
- <path
1764
- class="outer_cls3"
1765
- d="M11.8,82.6a2.76,2.76,0,1,1,2.8-2.76A2.78,2.78,0,0,1,11.8,82.6Zm0-4.37a1.61,1.61,0,1,0,1.63,1.61A1.62,1.62,0,0,0,11.8,78.23Z"
1766
- />
1767
- <ellipse
1768
- class="outer_cls4"
1769
- cx="50.21"
1770
- cy="11.21"
1771
- rx="1.22"
1772
- ry="1.21"
1773
- />
1774
- <polygon
1775
- class="outer_cls4"
1776
- points="59.77 90 61.8 87.28 63.69 90 59.77 90"
1777
- />
1778
- <path
1779
- class="outer_cls5"
1780
- d="M52.28,43.16s-13.79-9-20.78-6.31S19.75,62.42,39.17,72.67s28.2-12.05,28.28-16S67.45,43.72,52.28,43.16Z"
1781
- />
1782
- <path
1783
- class="outer_cls6"
1784
- d="M61.28,46.39a1.15,1.15,0,1,1-1.15-1.13A1.13,1.13,0,0,1,61.28,46.39ZM71.63,69.28a5.37,5.37,0,0,0,0-5.4L63,48.91a1,1,0,0,0-1.74,1l8.65,15A3.39,3.39,0,0,1,67,70H30.05a3.39,3.39,0,0,1-2.94-5.09l18.46-32a3.39,3.39,0,0,1,5.87,0l4.74,8.2H48a2.54,2.54,0,0,0-1.85.8,2.57,2.57,0,0,0-.69,1.91l.92,12.67a2.54,2.54,0,0,0,5.08,0l.76-9.85a1,1,0,0,0-.92-1.08,1,1,0,0,0-1.07.92l-.76,9.87a.55.55,0,0,1-1.1,0L47.46,43.7a.51.51,0,0,1,.14-.41.58.58,0,0,1,.4-.17h9.91a1,1,0,0,0,.86-1.5l-5.6-9.7a5.39,5.39,0,0,0-9.33,0l-18.46,32A5.39,5.39,0,0,0,30.05,72H67A5.35,5.35,0,0,0,71.63,69.28ZM49,61.34a2.61,2.61,0,1,0,2.6,2.6A2.6,2.6,0,0,0,49,61.34Z"
1785
- />
1786
- </svg>
1787
- </div>
1788
- </div>
1789
- <div
1790
- class="grow basis shrinkOff"
1791
- data-id="boxComponent"
1792
- data-selector-id="box"
1793
- data-test-id="boxComponent"
1794
- >
1795
- <div
1796
- class="flex cover rowdir"
1797
- data-id="containerComponent"
1798
- data-selector-id="container"
1799
- data-test-id="containerComponent"
1800
- >
1801
- <div
1802
- class="title shrinkOn"
1803
- data-id="boxComponent"
1804
- data-selector-id="box"
1805
- data-test-id="boxComponent"
1806
- >
1807
- Alert Title
1808
- </div>
1809
- </div>
1810
- </div>
1811
86
  </div>
1812
87
  </DocumentFragment>
1813
88
  `;