@zohodesk/dot 1.0.0-temp-193.4 → 1.0.0-temp-194

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 (185) hide show
  1. package/.cli/PropUnificationExcludeFilesArray.js +344 -344
  2. package/.cli/PropValidationExcludeFilesArray.js +8 -8
  3. package/css_error.log +1 -1
  4. package/es/ActionButton/ActionButton.module.css +192 -192
  5. package/es/AlphabeticList/AlphabeticList.module.css +57 -57
  6. package/es/AttachmentViewer/AttachmentViewer.module.css +352 -352
  7. package/es/ChannelIcon/ChannelIcon.module.css +225 -225
  8. package/es/Drawer/Drawer.module.css +2 -2
  9. package/es/FormAction/FormAction.module.css +100 -100
  10. package/es/IconButton/IconButton.module.css +22 -22
  11. package/es/IconButton/__tests__/__snapshots__/IconButton.spec.js.snap +316 -316
  12. package/es/Message/Message.module.css +1 -1
  13. package/es/PlusIcon/PlusIcon.module.css +1 -1
  14. package/es/TagWithIcon/TagWithIcon.module.css +66 -66
  15. package/es/ToastMessage/ToastMessage.module.css +1 -1
  16. package/es/avatar/AvatarIcon/AvatarIcon.module.css +58 -58
  17. package/es/{common → deprecated}/dot_boxShadow.module.css +2 -0
  18. package/es/emptystate/CommonEmptyState/CommonEmptyState.module.css +92 -92
  19. package/es/form/fields/TextEditor/TextEditor.module.css +50 -63
  20. package/es/form/fields/ValidationMessage/ValidationMessage.module.css +27 -26
  21. package/es/layout/SubtabLayout/SubtabLayout.module.css +164 -164
  22. package/es/list/Comment/Comment.module.css +29 -29
  23. package/es/list/Dot/Dot.module.css +15 -15
  24. package/es/list/DotNew/DotNew.module.css +2 -1
  25. package/es/list/ListLayout/ListLayout.module.css +79 -79
  26. package/es/list/Subject/Subject.module.css +34 -34
  27. package/es/list/TagNew/TagNew.module.css +1 -1
  28. package/es/list/Thread/Thread.module.css +42 -42
  29. package/es/lookup/Section/LookupSection.module.css +1 -1
  30. package/es/v1/svg/PlusIcon.js +1 -1
  31. package/es/v1/svg/SnippetIcon.js +2 -2
  32. package/es/version2/GlobalNotification/GlobalNotification.module.css +177 -177
  33. package/es/version2/alertIcons/AlertIcons.module.css +6 -3
  34. package/es/version2/lookup/AlertHeader/css/AlertHeaderNew.module.css +87 -87
  35. package/es/version2/notification/DesktopNotification/DesktopNotification.module.css +4 -3
  36. package/es/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.module.css +132 -131
  37. package/lib/ActionButton/ActionButton.module.css +192 -192
  38. package/lib/AlphabeticList/AlphabeticList.module.css +57 -57
  39. package/lib/AttachmentViewer/AttachmentViewer.module.css +352 -352
  40. package/lib/ChannelIcon/ChannelIcon.module.css +225 -225
  41. package/lib/Drawer/Drawer.module.css +2 -2
  42. package/lib/FormAction/FormAction.module.css +100 -100
  43. package/lib/IconButton/IconButton.module.css +22 -22
  44. package/lib/IconButton/__tests__/__snapshots__/IconButton.spec.js.snap +316 -316
  45. package/lib/Message/Message.module.css +1 -1
  46. package/lib/PlusIcon/PlusIcon.module.css +1 -1
  47. package/lib/TagWithIcon/TagWithIcon.module.css +66 -66
  48. package/lib/ToastMessage/ToastMessage.module.css +1 -1
  49. package/lib/avatar/AvatarIcon/AvatarIcon.module.css +58 -58
  50. package/lib/{common → deprecated}/dot_boxShadow.module.css +2 -0
  51. package/lib/emptystate/CommonEmptyState/CommonEmptyState.module.css +92 -92
  52. package/lib/form/fields/TextEditor/TextEditor.module.css +50 -63
  53. package/lib/form/fields/ValidationMessage/ValidationMessage.module.css +27 -26
  54. package/lib/layout/SubtabLayout/SubtabLayout.module.css +164 -164
  55. package/lib/list/Comment/Comment.module.css +29 -29
  56. package/lib/list/Dot/Dot.module.css +15 -15
  57. package/lib/list/DotNew/DotNew.module.css +2 -1
  58. package/lib/list/ListLayout/ListLayout.module.css +79 -79
  59. package/lib/list/Subject/Subject.module.css +34 -34
  60. package/lib/list/TagNew/TagNew.module.css +1 -1
  61. package/lib/list/Thread/Thread.module.css +42 -42
  62. package/lib/lookup/Section/LookupSection.module.css +1 -1
  63. package/lib/v1/svg/PlusIcon.js +1 -1
  64. package/lib/v1/svg/SnippetIcon.js +2 -2
  65. package/lib/version2/GlobalNotification/GlobalNotification.module.css +177 -177
  66. package/lib/version2/alertIcons/AlertIcons.module.css +6 -3
  67. package/lib/version2/lookup/AlertHeader/css/AlertHeaderNew.module.css +87 -87
  68. package/lib/version2/notification/DesktopNotification/DesktopNotification.module.css +4 -3
  69. package/lib/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.module.css +132 -131
  70. package/package.json +15 -12
  71. package/propValidationArg.json +11 -11
  72. package/result.json +1 -1
  73. package/unittest/index.html +1 -1
  74. package/es/v1/DotProvider/DotProvider.js +0 -43
  75. package/es/v1/DotProvider/downloadAssets.js +0 -34
  76. package/es/v1/DotProvider/libraryChunks/dynamicImports.js +0 -56
  77. package/es/v1/DotProvider/libraryChunks/themes/component/blue/Blue_Dark_Component.js +0 -3
  78. package/es/v1/DotProvider/libraryChunks/themes/component/blue/Blue_Light_Component.js +0 -3
  79. package/es/v1/DotProvider/libraryChunks/themes/component/blue/Blue_PureDark_Component.js +0 -3
  80. package/es/v1/DotProvider/libraryChunks/themes/component/green/Green_Dark_Component.js +0 -3
  81. package/es/v1/DotProvider/libraryChunks/themes/component/green/Green_Light_Component.js +0 -3
  82. package/es/v1/DotProvider/libraryChunks/themes/component/green/Green_PureDark_Component.js +0 -3
  83. package/es/v1/DotProvider/libraryChunks/themes/component/orange/Orange_Dark_Component.js +0 -3
  84. package/es/v1/DotProvider/libraryChunks/themes/component/orange/Orange_Light_Component.js +0 -3
  85. package/es/v1/DotProvider/libraryChunks/themes/component/orange/Orange_PureDark_Component.js +0 -3
  86. package/es/v1/DotProvider/libraryChunks/themes/component/red/Red_Dark_Component.js +0 -3
  87. package/es/v1/DotProvider/libraryChunks/themes/component/red/Red_Light_Component.js +0 -3
  88. package/es/v1/DotProvider/libraryChunks/themes/component/red/Red_PureDark_Component.js +0 -3
  89. package/es/v1/DotProvider/libraryChunks/themes/component/yellow/Yellow_Dark_Component.js +0 -3
  90. package/es/v1/DotProvider/libraryChunks/themes/component/yellow/Yellow_Light_Component.js +0 -3
  91. package/es/v1/DotProvider/libraryChunks/themes/component/yellow/Yellow_PureDark_Component.js +0 -3
  92. package/es/v1/DotProvider/libraryChunks/themes/dot/blue/Blue_Dark_Dot.js +0 -1
  93. package/es/v1/DotProvider/libraryChunks/themes/dot/blue/Blue_Light_Dot.js +0 -1
  94. package/es/v1/DotProvider/libraryChunks/themes/dot/blue/Blue_PureDark_Dot.js +0 -1
  95. package/es/v1/DotProvider/libraryChunks/themes/dot/green/Green_Dark_Dot.js +0 -1
  96. package/es/v1/DotProvider/libraryChunks/themes/dot/green/Green_Light_Dot.js +0 -1
  97. package/es/v1/DotProvider/libraryChunks/themes/dot/green/Green_PureDark_Dot.js +0 -1
  98. package/es/v1/DotProvider/libraryChunks/themes/dot/orange/Orange_Dark_Dot.js +0 -1
  99. package/es/v1/DotProvider/libraryChunks/themes/dot/orange/Orange_Light_Dot.js +0 -1
  100. package/es/v1/DotProvider/libraryChunks/themes/dot/orange/Orange_PureDark_Dot.js +0 -1
  101. package/es/v1/DotProvider/libraryChunks/themes/dot/red/Red_Dark_Dot.js +0 -1
  102. package/es/v1/DotProvider/libraryChunks/themes/dot/red/Red_Light_Dot.js +0 -1
  103. package/es/v1/DotProvider/libraryChunks/themes/dot/red/Red_PureDark_Dot.js +0 -1
  104. package/es/v1/DotProvider/libraryChunks/themes/dot/yellow/Yellow_Dark_Dot.js +0 -1
  105. package/es/v1/DotProvider/libraryChunks/themes/dot/yellow/Yellow_Light_Dot.js +0 -1
  106. package/es/v1/DotProvider/libraryChunks/themes/dot/yellow/Yellow_PureDark_Dot.js +0 -1
  107. package/es/v1/DotProvider/libraryChunks/themes/svg/blue/Blue_Dark_SVG.js +0 -1
  108. package/es/v1/DotProvider/libraryChunks/themes/svg/blue/Blue_Light_SVG.js +0 -1
  109. package/es/v1/DotProvider/libraryChunks/themes/svg/blue/Blue_PureDark_SVG.js +0 -1
  110. package/es/v1/DotProvider/libraryChunks/themes/svg/green/Green_Dark_SVG.js +0 -1
  111. package/es/v1/DotProvider/libraryChunks/themes/svg/green/Green_Light_SVG.js +0 -1
  112. package/es/v1/DotProvider/libraryChunks/themes/svg/green/Green_PureDark_SVG.js +0 -1
  113. package/es/v1/DotProvider/libraryChunks/themes/svg/orange/Orange_Dark_SVG.js +0 -1
  114. package/es/v1/DotProvider/libraryChunks/themes/svg/orange/Orange_Light_SVG.js +0 -1
  115. package/es/v1/DotProvider/libraryChunks/themes/svg/orange/Orange_PureDark_SVG.js +0 -1
  116. package/es/v1/DotProvider/libraryChunks/themes/svg/red/Red_Dark_SVG.js +0 -1
  117. package/es/v1/DotProvider/libraryChunks/themes/svg/red/Red_Light_SVG.js +0 -1
  118. package/es/v1/DotProvider/libraryChunks/themes/svg/red/Red_PureDark_SVG.js +0 -1
  119. package/es/v1/DotProvider/libraryChunks/themes/svg/yellow/Yellow_Dark_SVG.js +0 -1
  120. package/es/v1/DotProvider/libraryChunks/themes/svg/yellow/Yellow_Light_SVG.js +0 -1
  121. package/es/v1/DotProvider/libraryChunks/themes/svg/yellow/Yellow_PureDark_SVG.js +0 -1
  122. package/es/v1/DotProvider/props/defaultProps.js +0 -13
  123. package/es/v1/DotProvider/props/propTypes.js +0 -14
  124. package/es/v1/DotProvider/useDotProvider.js +0 -42
  125. package/es/v1/DotProvider/utils/appearanceProperties.js +0 -46
  126. package/es/v1/DotProvider/utils/errorValidation.js +0 -13
  127. package/es/v1/DotProvider/utils/importFiles.js +0 -17
  128. package/es/v1/DotProvider/utils/sizeProperties.js +0 -12
  129. package/es/v1/DotProvider/utils/themeProperties.js +0 -220
  130. package/lib/v1/DotProvider/DotProvider.js +0 -71
  131. package/lib/v1/DotProvider/downloadAssets.js +0 -40
  132. package/lib/v1/DotProvider/libraryChunks/dynamicImports.js +0 -75
  133. package/lib/v1/DotProvider/libraryChunks/themes/component/blue/Blue_Dark_Component.js +0 -7
  134. package/lib/v1/DotProvider/libraryChunks/themes/component/blue/Blue_Light_Component.js +0 -7
  135. package/lib/v1/DotProvider/libraryChunks/themes/component/blue/Blue_PureDark_Component.js +0 -7
  136. package/lib/v1/DotProvider/libraryChunks/themes/component/green/Green_Dark_Component.js +0 -7
  137. package/lib/v1/DotProvider/libraryChunks/themes/component/green/Green_Light_Component.js +0 -7
  138. package/lib/v1/DotProvider/libraryChunks/themes/component/green/Green_PureDark_Component.js +0 -7
  139. package/lib/v1/DotProvider/libraryChunks/themes/component/orange/Orange_Dark_Component.js +0 -7
  140. package/lib/v1/DotProvider/libraryChunks/themes/component/orange/Orange_Light_Component.js +0 -7
  141. package/lib/v1/DotProvider/libraryChunks/themes/component/orange/Orange_PureDark_Component.js +0 -7
  142. package/lib/v1/DotProvider/libraryChunks/themes/component/red/Red_Dark_Component.js +0 -7
  143. package/lib/v1/DotProvider/libraryChunks/themes/component/red/Red_Light_Component.js +0 -7
  144. package/lib/v1/DotProvider/libraryChunks/themes/component/red/Red_PureDark_Component.js +0 -7
  145. package/lib/v1/DotProvider/libraryChunks/themes/component/yellow/Yellow_Dark_Component.js +0 -7
  146. package/lib/v1/DotProvider/libraryChunks/themes/component/yellow/Yellow_Light_Component.js +0 -7
  147. package/lib/v1/DotProvider/libraryChunks/themes/component/yellow/Yellow_PureDark_Component.js +0 -7
  148. package/lib/v1/DotProvider/libraryChunks/themes/dot/blue/Blue_Dark_Dot.js +0 -3
  149. package/lib/v1/DotProvider/libraryChunks/themes/dot/blue/Blue_Light_Dot.js +0 -3
  150. package/lib/v1/DotProvider/libraryChunks/themes/dot/blue/Blue_PureDark_Dot.js +0 -3
  151. package/lib/v1/DotProvider/libraryChunks/themes/dot/green/Green_Dark_Dot.js +0 -3
  152. package/lib/v1/DotProvider/libraryChunks/themes/dot/green/Green_Light_Dot.js +0 -3
  153. package/lib/v1/DotProvider/libraryChunks/themes/dot/green/Green_PureDark_Dot.js +0 -3
  154. package/lib/v1/DotProvider/libraryChunks/themes/dot/orange/Orange_Dark_Dot.js +0 -3
  155. package/lib/v1/DotProvider/libraryChunks/themes/dot/orange/Orange_Light_Dot.js +0 -3
  156. package/lib/v1/DotProvider/libraryChunks/themes/dot/orange/Orange_PureDark_Dot.js +0 -3
  157. package/lib/v1/DotProvider/libraryChunks/themes/dot/red/Red_Dark_Dot.js +0 -3
  158. package/lib/v1/DotProvider/libraryChunks/themes/dot/red/Red_Light_Dot.js +0 -3
  159. package/lib/v1/DotProvider/libraryChunks/themes/dot/red/Red_PureDark_Dot.js +0 -3
  160. package/lib/v1/DotProvider/libraryChunks/themes/dot/yellow/Yellow_Dark_Dot.js +0 -3
  161. package/lib/v1/DotProvider/libraryChunks/themes/dot/yellow/Yellow_Light_Dot.js +0 -3
  162. package/lib/v1/DotProvider/libraryChunks/themes/dot/yellow/Yellow_PureDark_Dot.js +0 -3
  163. package/lib/v1/DotProvider/libraryChunks/themes/svg/blue/Blue_Dark_SVG.js +0 -3
  164. package/lib/v1/DotProvider/libraryChunks/themes/svg/blue/Blue_Light_SVG.js +0 -3
  165. package/lib/v1/DotProvider/libraryChunks/themes/svg/blue/Blue_PureDark_SVG.js +0 -3
  166. package/lib/v1/DotProvider/libraryChunks/themes/svg/green/Green_Dark_SVG.js +0 -3
  167. package/lib/v1/DotProvider/libraryChunks/themes/svg/green/Green_Light_SVG.js +0 -3
  168. package/lib/v1/DotProvider/libraryChunks/themes/svg/green/Green_PureDark_SVG.js +0 -3
  169. package/lib/v1/DotProvider/libraryChunks/themes/svg/orange/Orange_Dark_SVG.js +0 -3
  170. package/lib/v1/DotProvider/libraryChunks/themes/svg/orange/Orange_Light_SVG.js +0 -3
  171. package/lib/v1/DotProvider/libraryChunks/themes/svg/orange/Orange_PureDark_SVG.js +0 -3
  172. package/lib/v1/DotProvider/libraryChunks/themes/svg/red/Red_Dark_SVG.js +0 -3
  173. package/lib/v1/DotProvider/libraryChunks/themes/svg/red/Red_Light_SVG.js +0 -3
  174. package/lib/v1/DotProvider/libraryChunks/themes/svg/red/Red_PureDark_SVG.js +0 -3
  175. package/lib/v1/DotProvider/libraryChunks/themes/svg/yellow/Yellow_Dark_SVG.js +0 -3
  176. package/lib/v1/DotProvider/libraryChunks/themes/svg/yellow/Yellow_Light_SVG.js +0 -3
  177. package/lib/v1/DotProvider/libraryChunks/themes/svg/yellow/Yellow_PureDark_SVG.js +0 -3
  178. package/lib/v1/DotProvider/props/defaultProps.js +0 -20
  179. package/lib/v1/DotProvider/props/propTypes.js +0 -25
  180. package/lib/v1/DotProvider/useDotProvider.js +0 -58
  181. package/lib/v1/DotProvider/utils/appearanceProperties.js +0 -79
  182. package/lib/v1/DotProvider/utils/errorValidation.js +0 -18
  183. package/lib/v1/DotProvider/utils/importFiles.js +0 -22
  184. package/lib/v1/DotProvider/utils/sizeProperties.js +0 -31
  185. package/lib/v1/DotProvider/utils/themeProperties.js +0 -325
@@ -1,22 +1,22 @@
1
- .varClass {
2
- --iconColor: var(--zdt_iconButton_icon_black);
3
- }
4
- .wrapper {
5
- height: var(--zd_size28) ;
6
- width: var(--zd_size28) ;
7
- composes: offSelection from '~@zohodesk/components/lib/common/common.module.css';
8
- composes: varClass;
9
- color: var(--iconColor);
10
- cursor: pointer;
11
- }
12
- .primary {
13
- --iconColor: var(--zdt_iconButton_icon_primary);
14
- }
15
- .primary:hover {
16
- --iconColor: var(--zdt_iconButton_icon_primaryHover);
17
- }
18
- .primary_active,
19
- .primaryFilled,
20
- .primaryFilled_active {
21
- --iconColor: var(--zdt_iconButton_icon_primaryActive);
22
- }
1
+ .varClass {
2
+ --iconColor: var(--zdt_iconButton_icon_black);
3
+ }
4
+ .wrapper {
5
+ height: var(--zd_size28) ;
6
+ width: var(--zd_size28) ;
7
+ composes: offSelection from '~@zohodesk/components/lib/common/common.module.css';
8
+ composes: varClass;
9
+ color: var(--iconColor);
10
+ cursor: pointer;
11
+ }
12
+ .primary {
13
+ --iconColor: var(--zdt_iconButton_icon_primary);
14
+ }
15
+ .primary:hover {
16
+ --iconColor: var(--zdt_iconButton_icon_primaryHover);
17
+ }
18
+ .primary_active,
19
+ .primaryFilled,
20
+ .primaryFilled_active {
21
+ --iconColor: var(--zdt_iconButton_icon_primaryActive);
22
+ }
@@ -1,316 +1,316 @@
1
- // Jest Snapshot v1, https://goo.gl/fbAQLP
2
-
3
- exports[`IconButton Checking the "Children" 1`] = `
4
- <DocumentFragment>
5
- <button
6
- aria-pressed="false"
7
- class="buttonReset wrapper undefined effect default border defaultHover hoverEffect inflex coldir both"
8
- data-id="iconContainer"
9
- data-ishtml="false"
10
- data-selector-id="iconButton"
11
- data-test-id="iconContainer"
12
- >
13
- <span>
14
- Element 1
15
- </span>
16
- <span>
17
- Element 2
18
- </span>
19
- <span>
20
- Element 3
21
- </span>
22
- </button>
23
- </DocumentFragment>
24
- `;
25
-
26
- exports[`IconButton eleRef prop is a function 1`] = `
27
- <DocumentFragment>
28
- <button
29
- aria-pressed="false"
30
- class="buttonReset wrapper undefined effect default border defaultHover hoverEffect inflex coldir both"
31
- data-id="iconContainer"
32
- data-ishtml="false"
33
- data-selector-id="iconButton"
34
- data-test-id="iconContainer"
35
- />
36
- </DocumentFragment>
37
- `;
38
-
39
- exports[`IconButton rendering ally 1`] = `
40
- <DocumentFragment>
41
- <button
42
- aria-controls="ariaControls"
43
- aria-expanded="true"
44
- aria-haspopup="true"
45
- aria-label="ariaLabel"
46
- aria-labelledby="ariaLabelledby"
47
- aria-pressed="false"
48
- class="buttonReset wrapper undefined effect default border defaultHover hoverEffect inflex coldir both"
49
- data-id="iconContainer"
50
- data-ishtml="false"
51
- data-selector-id="iconButton"
52
- data-test-id="iconContainer"
53
- />
54
- </DocumentFragment>
55
- `;
56
-
57
- exports[`IconButton rendering ally 2`] = `
58
- <DocumentFragment>
59
- <button
60
- aria-expanded="false"
61
- aria-haspopup="false"
62
- aria-pressed="false"
63
- class="buttonReset wrapper undefined effect default border defaultHover hoverEffect inflex coldir both"
64
- data-id="iconContainer"
65
- data-ishtml="false"
66
- data-selector-id="iconButton"
67
- data-test-id="iconContainer"
68
- />
69
- </DocumentFragment>
70
- `;
71
-
72
- exports[`IconButton rendering in ClassName 1`] = `
73
- <DocumentFragment>
74
- <button
75
- aria-pressed="false"
76
- class="buttonReset wrapper IconButtonClass undefined effect default border defaultHover hoverEffect inflex coldir both"
77
- data-id="iconContainer"
78
- data-ishtml="false"
79
- data-selector-id="iconButton"
80
- data-test-id="iconContainer"
81
- />
82
- </DocumentFragment>
83
- `;
84
-
85
- exports[`IconButton rendering in Icon 1`] = `
86
- <DocumentFragment>
87
- <button
88
- aria-pressed="false"
89
- class="buttonReset wrapper undefined effect default border defaultHover hoverEffect inflex coldir both"
90
- data-id="iconContainer"
91
- data-ishtml="false"
92
- data-selector-id="iconButton"
93
- data-test-id="iconContainer"
94
- >
95
- <i
96
- aria-hidden="true"
97
- class="zd_font_icons basic icon-infoStroke fbold iconClass "
98
- data-id="fontIcon"
99
- data-selector-id="fontIcon"
100
- data-test-id="fontIcon"
101
- style="--zd-iconfont-size: var(--zd_font_size13);"
102
- />
103
- </button>
104
- </DocumentFragment>
105
- `;
106
-
107
- exports[`IconButton rendering in dataIsHtml is True 1`] = `
108
- <DocumentFragment>
109
- <button
110
- aria-pressed="false"
111
- class="buttonReset wrapper undefined effect default border defaultHover hoverEffect inflex coldir both"
112
- data-id="iconContainer"
113
- data-ishtml="true"
114
- data-selector-id="iconButton"
115
- data-test-id="iconContainer"
116
- />
117
- </DocumentFragment>
118
- `;
119
-
120
- exports[`IconButton rendering in isDisabled is True 1`] = `
121
- <DocumentFragment>
122
- <button
123
- aria-pressed="false"
124
- class="buttonReset wrapper undefined effect default border defaultHover disabled inflex coldir both"
125
- data-id="iconContainer"
126
- data-ishtml="false"
127
- data-selector-id="iconButton"
128
- data-test-id="iconContainer"
129
- disabled=""
130
- />
131
- </DocumentFragment>
132
- `;
133
-
134
- exports[`IconButton rendering in title 1`] = `
135
- <DocumentFragment>
136
- <button
137
- aria-pressed="false"
138
- class="buttonReset wrapper undefined effect default border defaultHover hoverEffect inflex coldir both"
139
- data-id="iconContainer"
140
- data-ishtml="false"
141
- data-selector-id="iconButton"
142
- data-test-id="iconContainer"
143
- data-title="IconTitle"
144
- />
145
- </DocumentFragment>
146
- `;
147
-
148
- exports[`IconButton rendering isNeedEffect is False 1`] = `
149
- <DocumentFragment>
150
- <button
151
- aria-pressed="false"
152
- class="buttonReset wrapper undefined inflex coldir both"
153
- data-id="iconContainer"
154
- data-ishtml="false"
155
- data-selector-id="iconButton"
156
- data-test-id="iconContainer"
157
- />
158
- </DocumentFragment>
159
- `;
160
-
161
- exports[`IconButton rendering needButtonTag 1`] = `
162
- <DocumentFragment>
163
- <div
164
- aria-pressed="false"
165
- class="false wrapper undefined effect default border defaultHover hoverEffect inflex coldir both"
166
- data-id="iconContainer"
167
- data-ishtml="false"
168
- data-selector-id="iconButton"
169
- data-test-id="iconContainer"
170
- />
171
- </DocumentFragment>
172
- `;
173
-
174
- exports[`IconButton rendering the defult props 1`] = `
175
- <DocumentFragment>
176
- <button
177
- aria-pressed="false"
178
- class="buttonReset wrapper undefined effect default border defaultHover hoverEffect inflex coldir both"
179
- data-id="iconContainer"
180
- data-ishtml="false"
181
- data-selector-id="iconButton"
182
- data-test-id="iconContainer"
183
- />
184
- </DocumentFragment>
185
- `;
186
-
187
- exports[`IconButton rendering the hovertypes- bg 1`] = `
188
- <DocumentFragment>
189
- <button
190
- aria-pressed="false"
191
- class="buttonReset wrapper undefined effect default border bgHover hoverEffect inflex coldir both"
192
- data-id="iconContainer"
193
- data-ishtml="false"
194
- data-selector-id="iconButton"
195
- data-test-id="iconContainer"
196
- />
197
- </DocumentFragment>
198
- `;
199
-
200
- exports[`IconButton rendering the hovertypes- border 1`] = `
201
- <DocumentFragment>
202
- <button
203
- aria-pressed="false"
204
- class="buttonReset wrapper undefined effect default border borderHover hoverEffect inflex coldir both"
205
- data-id="iconContainer"
206
- data-ishtml="false"
207
- data-selector-id="iconButton"
208
- data-test-id="iconContainer"
209
- />
210
- </DocumentFragment>
211
- `;
212
-
213
- exports[`IconButton rendering the hovertypes- default 1`] = `
214
- <DocumentFragment>
215
- <button
216
- aria-pressed="false"
217
- class="buttonReset wrapper undefined effect default border defaultHover hoverEffect inflex coldir both"
218
- data-id="iconContainer"
219
- data-ishtml="false"
220
- data-selector-id="iconButton"
221
- data-test-id="iconContainer"
222
- />
223
- </DocumentFragment>
224
- `;
225
-
226
- exports[`IconButton rendering the isActive true with palette of- default 1`] = `
227
- <DocumentFragment>
228
- <button
229
- aria-pressed="false"
230
- class="buttonReset wrapper undefined effect default border defaultHover active hoverEffect inflex coldir both"
231
- data-id="iconContainer"
232
- data-ishtml="false"
233
- data-selector-id="iconButton"
234
- data-test-id="iconContainer"
235
- />
236
- </DocumentFragment>
237
- `;
238
-
239
- exports[`IconButton rendering the isActive true with palette of- primary 1`] = `
240
- <DocumentFragment>
241
- <button
242
- aria-pressed="false"
243
- class="buttonReset wrapper primary_active effect primary border defaultHover active hoverEffect inflex coldir both"
244
- data-id="iconContainer"
245
- data-ishtml="false"
246
- data-selector-id="iconButton"
247
- data-test-id="iconContainer"
248
- />
249
- </DocumentFragment>
250
- `;
251
-
252
- exports[`IconButton rendering the isActive true with palette of- primaryFilled 1`] = `
253
- <DocumentFragment>
254
- <button
255
- aria-pressed="false"
256
- class="buttonReset wrapper primaryFilled_active effect primaryFilled border defaultHover active hoverEffect inflex coldir both"
257
- data-id="iconContainer"
258
- data-ishtml="false"
259
- data-selector-id="iconButton"
260
- data-test-id="iconContainer"
261
- />
262
- </DocumentFragment>
263
- `;
264
-
265
- exports[`IconButton rendering the palette of- default 1`] = `
266
- <DocumentFragment>
267
- <button
268
- aria-pressed="false"
269
- class="buttonReset wrapper undefined effect default border defaultHover hoverEffect inflex coldir both"
270
- data-id="iconContainer"
271
- data-ishtml="false"
272
- data-selector-id="iconButton"
273
- data-test-id="iconContainer"
274
- />
275
- </DocumentFragment>
276
- `;
277
-
278
- exports[`IconButton rendering the palette of- primary 1`] = `
279
- <DocumentFragment>
280
- <button
281
- aria-pressed="false"
282
- class="buttonReset wrapper primary effect primary border defaultHover hoverEffect inflex coldir both"
283
- data-id="iconContainer"
284
- data-ishtml="false"
285
- data-selector-id="iconButton"
286
- data-test-id="iconContainer"
287
- />
288
- </DocumentFragment>
289
- `;
290
-
291
- exports[`IconButton rendering the palette of- primaryFilled 1`] = `
292
- <DocumentFragment>
293
- <button
294
- aria-pressed="false"
295
- class="buttonReset wrapper primaryFilled effect primaryFilled border defaultHover hoverEffect inflex coldir both"
296
- data-id="iconContainer"
297
- data-ishtml="false"
298
- data-selector-id="iconButton"
299
- data-test-id="iconContainer"
300
- />
301
- </DocumentFragment>
302
- `;
303
-
304
- exports[`IconButton rendering tourId 1`] = `
305
- <DocumentFragment>
306
- <button
307
- aria-pressed="false"
308
- class="buttonReset wrapper undefined effect default border defaultHover hoverEffect inflex coldir both"
309
- data-id="iconContainer"
310
- data-ishtml="false"
311
- data-selector-id="iconButton"
312
- data-test-id="iconContainer"
313
- data-tour="tourId"
314
- />
315
- </DocumentFragment>
316
- `;
1
+ // Jest Snapshot v1, https://goo.gl/fbAQLP
2
+
3
+ exports[`IconButton Checking the "Children" 1`] = `
4
+ <DocumentFragment>
5
+ <button
6
+ aria-pressed="false"
7
+ class="buttonReset wrapper undefined effect default border defaultHover hoverEffect inflex coldir both"
8
+ data-id="iconContainer"
9
+ data-ishtml="false"
10
+ data-selector-id="iconButton"
11
+ data-test-id="iconContainer"
12
+ >
13
+ <span>
14
+ Element 1
15
+ </span>
16
+ <span>
17
+ Element 2
18
+ </span>
19
+ <span>
20
+ Element 3
21
+ </span>
22
+ </button>
23
+ </DocumentFragment>
24
+ `;
25
+
26
+ exports[`IconButton eleRef prop is a function 1`] = `
27
+ <DocumentFragment>
28
+ <button
29
+ aria-pressed="false"
30
+ class="buttonReset wrapper undefined effect default border defaultHover hoverEffect inflex coldir both"
31
+ data-id="iconContainer"
32
+ data-ishtml="false"
33
+ data-selector-id="iconButton"
34
+ data-test-id="iconContainer"
35
+ />
36
+ </DocumentFragment>
37
+ `;
38
+
39
+ exports[`IconButton rendering ally 1`] = `
40
+ <DocumentFragment>
41
+ <button
42
+ aria-controls="ariaControls"
43
+ aria-expanded="true"
44
+ aria-haspopup="true"
45
+ aria-label="ariaLabel"
46
+ aria-labelledby="ariaLabelledby"
47
+ aria-pressed="false"
48
+ class="buttonReset wrapper undefined effect default border defaultHover hoverEffect inflex coldir both"
49
+ data-id="iconContainer"
50
+ data-ishtml="false"
51
+ data-selector-id="iconButton"
52
+ data-test-id="iconContainer"
53
+ />
54
+ </DocumentFragment>
55
+ `;
56
+
57
+ exports[`IconButton rendering ally 2`] = `
58
+ <DocumentFragment>
59
+ <button
60
+ aria-expanded="false"
61
+ aria-haspopup="false"
62
+ aria-pressed="false"
63
+ class="buttonReset wrapper undefined effect default border defaultHover hoverEffect inflex coldir both"
64
+ data-id="iconContainer"
65
+ data-ishtml="false"
66
+ data-selector-id="iconButton"
67
+ data-test-id="iconContainer"
68
+ />
69
+ </DocumentFragment>
70
+ `;
71
+
72
+ exports[`IconButton rendering in ClassName 1`] = `
73
+ <DocumentFragment>
74
+ <button
75
+ aria-pressed="false"
76
+ class="buttonReset wrapper IconButtonClass undefined effect default border defaultHover hoverEffect inflex coldir both"
77
+ data-id="iconContainer"
78
+ data-ishtml="false"
79
+ data-selector-id="iconButton"
80
+ data-test-id="iconContainer"
81
+ />
82
+ </DocumentFragment>
83
+ `;
84
+
85
+ exports[`IconButton rendering in Icon 1`] = `
86
+ <DocumentFragment>
87
+ <button
88
+ aria-pressed="false"
89
+ class="buttonReset wrapper undefined effect default border defaultHover hoverEffect inflex coldir both"
90
+ data-id="iconContainer"
91
+ data-ishtml="false"
92
+ data-selector-id="iconButton"
93
+ data-test-id="iconContainer"
94
+ >
95
+ <i
96
+ aria-hidden="true"
97
+ class="zd_font_icons basic icon-infoStroke fbold iconClass "
98
+ data-id="fontIcon"
99
+ data-selector-id="fontIcon"
100
+ data-test-id="fontIcon"
101
+ style="--zd-iconfont-size: var(--zd_font_size13);"
102
+ />
103
+ </button>
104
+ </DocumentFragment>
105
+ `;
106
+
107
+ exports[`IconButton rendering in dataIsHtml is True 1`] = `
108
+ <DocumentFragment>
109
+ <button
110
+ aria-pressed="false"
111
+ class="buttonReset wrapper undefined effect default border defaultHover hoverEffect inflex coldir both"
112
+ data-id="iconContainer"
113
+ data-ishtml="true"
114
+ data-selector-id="iconButton"
115
+ data-test-id="iconContainer"
116
+ />
117
+ </DocumentFragment>
118
+ `;
119
+
120
+ exports[`IconButton rendering in isDisabled is True 1`] = `
121
+ <DocumentFragment>
122
+ <button
123
+ aria-pressed="false"
124
+ class="buttonReset wrapper undefined effect default border defaultHover disabled inflex coldir both"
125
+ data-id="iconContainer"
126
+ data-ishtml="false"
127
+ data-selector-id="iconButton"
128
+ data-test-id="iconContainer"
129
+ disabled=""
130
+ />
131
+ </DocumentFragment>
132
+ `;
133
+
134
+ exports[`IconButton rendering in title 1`] = `
135
+ <DocumentFragment>
136
+ <button
137
+ aria-pressed="false"
138
+ class="buttonReset wrapper undefined effect default border defaultHover hoverEffect inflex coldir both"
139
+ data-id="iconContainer"
140
+ data-ishtml="false"
141
+ data-selector-id="iconButton"
142
+ data-test-id="iconContainer"
143
+ data-title="IconTitle"
144
+ />
145
+ </DocumentFragment>
146
+ `;
147
+
148
+ exports[`IconButton rendering isNeedEffect is False 1`] = `
149
+ <DocumentFragment>
150
+ <button
151
+ aria-pressed="false"
152
+ class="buttonReset wrapper undefined inflex coldir both"
153
+ data-id="iconContainer"
154
+ data-ishtml="false"
155
+ data-selector-id="iconButton"
156
+ data-test-id="iconContainer"
157
+ />
158
+ </DocumentFragment>
159
+ `;
160
+
161
+ exports[`IconButton rendering needButtonTag 1`] = `
162
+ <DocumentFragment>
163
+ <div
164
+ aria-pressed="false"
165
+ class="false wrapper undefined effect default border defaultHover hoverEffect inflex coldir both"
166
+ data-id="iconContainer"
167
+ data-ishtml="false"
168
+ data-selector-id="iconButton"
169
+ data-test-id="iconContainer"
170
+ />
171
+ </DocumentFragment>
172
+ `;
173
+
174
+ exports[`IconButton rendering the defult props 1`] = `
175
+ <DocumentFragment>
176
+ <button
177
+ aria-pressed="false"
178
+ class="buttonReset wrapper undefined effect default border defaultHover hoverEffect inflex coldir both"
179
+ data-id="iconContainer"
180
+ data-ishtml="false"
181
+ data-selector-id="iconButton"
182
+ data-test-id="iconContainer"
183
+ />
184
+ </DocumentFragment>
185
+ `;
186
+
187
+ exports[`IconButton rendering the hovertypes- bg 1`] = `
188
+ <DocumentFragment>
189
+ <button
190
+ aria-pressed="false"
191
+ class="buttonReset wrapper undefined effect default border bgHover hoverEffect inflex coldir both"
192
+ data-id="iconContainer"
193
+ data-ishtml="false"
194
+ data-selector-id="iconButton"
195
+ data-test-id="iconContainer"
196
+ />
197
+ </DocumentFragment>
198
+ `;
199
+
200
+ exports[`IconButton rendering the hovertypes- border 1`] = `
201
+ <DocumentFragment>
202
+ <button
203
+ aria-pressed="false"
204
+ class="buttonReset wrapper undefined effect default border borderHover hoverEffect inflex coldir both"
205
+ data-id="iconContainer"
206
+ data-ishtml="false"
207
+ data-selector-id="iconButton"
208
+ data-test-id="iconContainer"
209
+ />
210
+ </DocumentFragment>
211
+ `;
212
+
213
+ exports[`IconButton rendering the hovertypes- default 1`] = `
214
+ <DocumentFragment>
215
+ <button
216
+ aria-pressed="false"
217
+ class="buttonReset wrapper undefined effect default border defaultHover hoverEffect inflex coldir both"
218
+ data-id="iconContainer"
219
+ data-ishtml="false"
220
+ data-selector-id="iconButton"
221
+ data-test-id="iconContainer"
222
+ />
223
+ </DocumentFragment>
224
+ `;
225
+
226
+ exports[`IconButton rendering the isActive true with palette of- default 1`] = `
227
+ <DocumentFragment>
228
+ <button
229
+ aria-pressed="false"
230
+ class="buttonReset wrapper undefined effect default border defaultHover active hoverEffect inflex coldir both"
231
+ data-id="iconContainer"
232
+ data-ishtml="false"
233
+ data-selector-id="iconButton"
234
+ data-test-id="iconContainer"
235
+ />
236
+ </DocumentFragment>
237
+ `;
238
+
239
+ exports[`IconButton rendering the isActive true with palette of- primary 1`] = `
240
+ <DocumentFragment>
241
+ <button
242
+ aria-pressed="false"
243
+ class="buttonReset wrapper primary_active effect primary border defaultHover active hoverEffect inflex coldir both"
244
+ data-id="iconContainer"
245
+ data-ishtml="false"
246
+ data-selector-id="iconButton"
247
+ data-test-id="iconContainer"
248
+ />
249
+ </DocumentFragment>
250
+ `;
251
+
252
+ exports[`IconButton rendering the isActive true with palette of- primaryFilled 1`] = `
253
+ <DocumentFragment>
254
+ <button
255
+ aria-pressed="false"
256
+ class="buttonReset wrapper primaryFilled_active effect primaryFilled border defaultHover active hoverEffect inflex coldir both"
257
+ data-id="iconContainer"
258
+ data-ishtml="false"
259
+ data-selector-id="iconButton"
260
+ data-test-id="iconContainer"
261
+ />
262
+ </DocumentFragment>
263
+ `;
264
+
265
+ exports[`IconButton rendering the palette of- default 1`] = `
266
+ <DocumentFragment>
267
+ <button
268
+ aria-pressed="false"
269
+ class="buttonReset wrapper undefined effect default border defaultHover hoverEffect inflex coldir both"
270
+ data-id="iconContainer"
271
+ data-ishtml="false"
272
+ data-selector-id="iconButton"
273
+ data-test-id="iconContainer"
274
+ />
275
+ </DocumentFragment>
276
+ `;
277
+
278
+ exports[`IconButton rendering the palette of- primary 1`] = `
279
+ <DocumentFragment>
280
+ <button
281
+ aria-pressed="false"
282
+ class="buttonReset wrapper primary effect primary border defaultHover hoverEffect inflex coldir both"
283
+ data-id="iconContainer"
284
+ data-ishtml="false"
285
+ data-selector-id="iconButton"
286
+ data-test-id="iconContainer"
287
+ />
288
+ </DocumentFragment>
289
+ `;
290
+
291
+ exports[`IconButton rendering the palette of- primaryFilled 1`] = `
292
+ <DocumentFragment>
293
+ <button
294
+ aria-pressed="false"
295
+ class="buttonReset wrapper primaryFilled effect primaryFilled border defaultHover hoverEffect inflex coldir both"
296
+ data-id="iconContainer"
297
+ data-ishtml="false"
298
+ data-selector-id="iconButton"
299
+ data-test-id="iconContainer"
300
+ />
301
+ </DocumentFragment>
302
+ `;
303
+
304
+ exports[`IconButton rendering tourId 1`] = `
305
+ <DocumentFragment>
306
+ <button
307
+ aria-pressed="false"
308
+ class="buttonReset wrapper undefined effect default border defaultHover hoverEffect inflex coldir both"
309
+ data-id="iconContainer"
310
+ data-ishtml="false"
311
+ data-selector-id="iconButton"
312
+ data-test-id="iconContainer"
313
+ data-tour="tourId"
314
+ />
315
+ </DocumentFragment>
316
+ `;