@imposium-hub/components 2.14.4 → 2.14.6

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 (267) hide show
  1. package/dist/cjs/components/advanced-number-field/AdvancedNumberField.d.ts +1 -1
  2. package/dist/cjs/components/advanced-number-field/AdvancedNumberField.test.d.ts +1 -0
  3. package/dist/cjs/components/advanced-number-field/AdvancedNumberField.test.js +377 -0
  4. package/dist/cjs/components/advanced-number-field/AdvancedNumberField.test.js.map +1 -0
  5. package/dist/cjs/components/anchor-field/AnchorField.d.ts +1 -1
  6. package/dist/cjs/components/anchor-field/AnchorField.test.d.ts +1 -0
  7. package/dist/cjs/components/anchor-field/AnchorField.test.js +87 -0
  8. package/dist/cjs/components/anchor-field/AnchorField.test.js.map +1 -0
  9. package/dist/cjs/components/app-wrapper/AppWrapper.d.ts +0 -1
  10. package/dist/cjs/components/app-wrapper/AppWrapper.js +1 -1
  11. package/dist/cjs/components/app-wrapper/AppWrapper.js.map +1 -1
  12. package/dist/cjs/components/asset-details/AssetDetails.test.d.ts +1 -0
  13. package/dist/cjs/components/asset-details/AssetDetails.test.js +439 -0
  14. package/dist/cjs/components/asset-details/AssetDetails.test.js.map +1 -0
  15. package/dist/cjs/components/assets/AssetField.test.d.ts +1 -0
  16. package/dist/cjs/components/assets/AssetField.test.js +464 -0
  17. package/dist/cjs/components/assets/AssetField.test.js.map +1 -0
  18. package/dist/cjs/components/assets/AssetsTableAssetIdCell.test.d.ts +1 -0
  19. package/dist/cjs/components/assets/AssetsTableAssetIdCell.test.js +190 -0
  20. package/dist/cjs/components/assets/AssetsTableAssetIdCell.test.js.map +1 -0
  21. package/dist/cjs/components/assets/AssetsTableAssetIdFilter.test.d.ts +1 -0
  22. package/dist/cjs/components/assets/AssetsTableAssetIdFilter.test.js +82 -0
  23. package/dist/cjs/components/assets/AssetsTableAssetIdFilter.test.js.map +1 -0
  24. package/dist/cjs/components/assets/AssetsTableComplexTagCell.test.d.ts +1 -0
  25. package/dist/cjs/components/assets/AssetsTableComplexTagCell.test.js +125 -0
  26. package/dist/cjs/components/assets/AssetsTableComplexTagCell.test.js.map +1 -0
  27. package/dist/cjs/components/assets/AssetsTableDateCell.d.ts +1 -6
  28. package/dist/cjs/components/assets/AssetsTableDateCell.test.d.ts +1 -0
  29. package/dist/cjs/components/assets/AssetsTableDateCell.test.js +116 -0
  30. package/dist/cjs/components/assets/AssetsTableDateCell.test.js.map +1 -0
  31. package/dist/cjs/components/assets/AssetsTableGlobalCell.d.ts +1 -5
  32. package/dist/cjs/components/assets/AssetsTablePreviewCell.d.ts +1 -17
  33. package/dist/cjs/components/assets/AssetsTableStatusCell.d.ts +1 -5
  34. package/dist/cjs/components/assets/AssetsTableTagsCell.d.ts +1 -6
  35. package/dist/cjs/components/assets/AssetsTableTypeCell.d.ts +1 -5
  36. package/dist/cjs/components/assets/AssetsTypeIcon.d.ts +1 -5
  37. package/dist/cjs/components/assets/FontAssetPreview.d.ts +1 -1
  38. package/dist/cjs/components/assets/StoryTableTotalRendersCell.d.ts +1 -2
  39. package/dist/cjs/components/button/Button.d.ts +1 -1
  40. package/dist/cjs/components/button/Button.stories.d.ts +5 -6
  41. package/dist/cjs/components/button-group-field/ButtonGroupField.d.ts +1 -1
  42. package/dist/cjs/components/button-group-field/ButtonGroupField.stories.d.ts +1 -2
  43. package/dist/cjs/components/button-menu/ButtonMenu.d.ts +2 -2
  44. package/dist/cjs/components/button-menu/ButtonMenu.stories.d.ts +1 -2
  45. package/dist/cjs/components/button-menu/ButtonMenuItem.d.ts +1 -1
  46. package/dist/cjs/components/card/Card.d.ts +4 -4
  47. package/dist/cjs/components/card/Card.stories.d.ts +1 -2
  48. package/dist/cjs/components/checkbox-field/CheckboxField.d.ts +1 -1
  49. package/dist/cjs/components/checkbox-field/CheckboxField.stories.d.ts +1 -2
  50. package/dist/cjs/components/color-field/ColorField.d.ts +1 -1
  51. package/dist/cjs/components/color-field/ColorFiled.stories.d.ts +1 -2
  52. package/dist/cjs/components/compositions/TextLayer.d.ts +1 -1
  53. package/dist/cjs/components/config-variable-button/ConfigVariableButton.d.ts +1 -42
  54. package/dist/cjs/components/confirm-modal/ConfirmModal.d.ts +1 -2
  55. package/dist/cjs/components/controlled-list/ControlledList.d.ts +2 -2
  56. package/dist/cjs/components/controlled-list/ControlledList.stories.d.ts +1 -2
  57. package/dist/cjs/components/controlled-list/ControlledList.test.d.ts +1 -0
  58. package/dist/cjs/components/controlled-list/ControlledList.test.js +427 -0
  59. package/dist/cjs/components/controlled-list/ControlledList.test.js.map +1 -0
  60. package/dist/cjs/components/copy-prop-id-button/CopyPropIdButton.d.ts +1 -1
  61. package/dist/cjs/components/copy-prop-id-button/CopyPropIdButton.test.d.ts +1 -0
  62. package/dist/cjs/components/copy-prop-id-button/CopyPropIdButton.test.js +495 -0
  63. package/dist/cjs/components/copy-prop-id-button/CopyPropIdButton.test.js.map +1 -0
  64. package/dist/cjs/components/determinate-loader/DeterminateLoader.stories.d.ts +3 -4
  65. package/dist/cjs/components/dropdown/Dropdown.d.ts +1 -1
  66. package/dist/cjs/components/dropdown/dropdown.stories.d.ts +1 -1
  67. package/dist/cjs/components/field-wrapper/FieldWrapper.d.ts +2 -2
  68. package/dist/cjs/components/field-wrapper/FieldWrapper.stories.d.ts +1 -2
  69. package/dist/cjs/components/font-field/FontField.d.ts +1 -2
  70. package/dist/cjs/components/font-picker/FontPicker.d.ts +1 -1
  71. package/dist/cjs/components/h-rule/HRule.d.ts +1 -2
  72. package/dist/cjs/components/h-rule/HRule.stories.d.ts +2 -3
  73. package/dist/cjs/components/header/ProjectDropdown.d.ts +1 -2
  74. package/dist/cjs/components/list-field/ListField.d.ts +1 -1
  75. package/dist/cjs/components/list-field/ListField.stories.d.ts +1 -2
  76. package/dist/cjs/components/log-viewer/LogViewer.d.ts +1 -1
  77. package/dist/cjs/components/media-variable-field/MediaVariableField.d.ts +1 -1
  78. package/dist/cjs/components/modal/Modal.d.ts +1 -1
  79. package/dist/cjs/components/modal/Modal.stories.d.ts +1 -2
  80. package/dist/cjs/components/number-field/NumberField.d.ts +1 -1
  81. package/dist/cjs/components/number-field/NumberField.stories.d.ts +1 -2
  82. package/dist/cjs/components/number-field/NumberField.test.d.ts +1 -0
  83. package/dist/cjs/components/number-field/NumberField.test.js +241 -0
  84. package/dist/cjs/components/number-field/NumberField.test.js.map +1 -0
  85. package/dist/cjs/components/players/AudioPlayer.d.ts +1 -1
  86. package/dist/cjs/components/players/AudioPreview.d.ts +1 -1
  87. package/dist/cjs/components/players/ImagePlayer.d.ts +1 -1
  88. package/dist/cjs/components/players/ImagePreview.d.ts +1 -1
  89. package/dist/cjs/components/players/ImageSequencePlayer.d.ts +1 -1
  90. package/dist/cjs/components/players/TemplatePlayer.d.ts +1 -1
  91. package/dist/cjs/components/players/VideoPlayer.d.ts +1 -1
  92. package/dist/cjs/components/players/VideoPreview.d.ts +1 -1
  93. package/dist/cjs/components/publish-wizard/PublishWizard.d.ts +3 -3
  94. package/dist/cjs/components/publish-wizard/publish/APIIntegration.d.ts +1 -1
  95. package/dist/cjs/components/publish-wizard/publish/HubSpotFlow.d.ts +1 -1
  96. package/dist/cjs/components/publish-wizard/publish/WebpageHosted.d.ts +2 -2
  97. package/dist/cjs/components/section/Section.d.ts +1 -2
  98. package/dist/cjs/components/section/Section.stories.d.ts +2 -3
  99. package/dist/cjs/components/select-field/SelectField.d.ts +1 -1
  100. package/dist/cjs/components/select-field/SelectField.stories.d.ts +1 -2
  101. package/dist/cjs/components/shortcut-menu/ShortcutMenu.stories.d.ts +1 -2
  102. package/dist/cjs/components/slider-field/SliderField.d.ts +1 -1
  103. package/dist/cjs/components/slider-field/SliderField.stories.d.ts +1 -2
  104. package/dist/cjs/components/smpte-field/SMPTEField.d.ts +1 -1
  105. package/dist/cjs/components/story-previewer/StoryPreviewer.js +10 -2
  106. package/dist/cjs/components/story-previewer/StoryPreviewer.js.map +1 -1
  107. package/dist/cjs/components/tabs/Tabs.stories.d.ts +2 -3
  108. package/dist/cjs/components/tag/Tag.d.ts +1 -9
  109. package/dist/cjs/components/text-area-autocomplete/TextAreaAutocomplete.d.ts +1 -2
  110. package/dist/cjs/components/text-area-field/TextAreaField.d.ts +1 -1
  111. package/dist/cjs/components/text-area-field/TextAreaField.stories.d.ts +1 -2
  112. package/dist/cjs/components/text-field/TextField.d.ts +1 -1
  113. package/dist/cjs/components/text-field/TextField.stories.d.ts +1 -2
  114. package/dist/cjs/components/text-field/TextField.test.d.ts +1 -0
  115. package/dist/cjs/components/text-field/TextField.test.js +540 -0
  116. package/dist/cjs/components/text-field/TextField.test.js.map +1 -0
  117. package/dist/cjs/constants/icons.d.ts +79 -80
  118. package/dist/cjs/test/setup.d.ts +1 -0
  119. package/dist/cjs/test/setup.js +97 -0
  120. package/dist/cjs/test/setup.js.map +1 -0
  121. package/dist/cjs/test/utils.d.ts +26 -0
  122. package/dist/cjs/test/utils.js +44 -0
  123. package/dist/cjs/test/utils.js.map +1 -0
  124. package/dist/esm/components/advanced-number-field/AdvancedNumberField.d.ts +1 -1
  125. package/dist/esm/components/advanced-number-field/AdvancedNumberField.test.d.ts +1 -0
  126. package/dist/esm/components/advanced-number-field/AdvancedNumberField.test.js +361 -0
  127. package/dist/esm/components/advanced-number-field/AdvancedNumberField.test.js.map +1 -0
  128. package/dist/esm/components/anchor-field/AnchorField.d.ts +1 -1
  129. package/dist/esm/components/anchor-field/AnchorField.test.d.ts +1 -0
  130. package/dist/esm/components/anchor-field/AnchorField.test.js +81 -0
  131. package/dist/esm/components/anchor-field/AnchorField.test.js.map +1 -0
  132. package/dist/esm/components/app-wrapper/AppWrapper.d.ts +0 -1
  133. package/dist/esm/components/app-wrapper/AppWrapper.js +1 -1
  134. package/dist/esm/components/app-wrapper/AppWrapper.js.map +1 -1
  135. package/dist/esm/components/asset-details/AssetDetails.test.d.ts +1 -0
  136. package/dist/esm/components/asset-details/AssetDetails.test.js +367 -0
  137. package/dist/esm/components/asset-details/AssetDetails.test.js.map +1 -0
  138. package/dist/esm/components/assets/AssetField.test.d.ts +1 -0
  139. package/dist/esm/components/assets/AssetField.test.js +311 -0
  140. package/dist/esm/components/assets/AssetField.test.js.map +1 -0
  141. package/dist/esm/components/assets/AssetsTableAssetIdCell.test.d.ts +1 -0
  142. package/dist/esm/components/assets/AssetsTableAssetIdCell.test.js +105 -0
  143. package/dist/esm/components/assets/AssetsTableAssetIdCell.test.js.map +1 -0
  144. package/dist/esm/components/assets/AssetsTableAssetIdFilter.test.d.ts +1 -0
  145. package/dist/esm/components/assets/AssetsTableAssetIdFilter.test.js +63 -0
  146. package/dist/esm/components/assets/AssetsTableAssetIdFilter.test.js.map +1 -0
  147. package/dist/esm/components/assets/AssetsTableComplexTagCell.test.d.ts +1 -0
  148. package/dist/esm/components/assets/AssetsTableComplexTagCell.test.js +100 -0
  149. package/dist/esm/components/assets/AssetsTableComplexTagCell.test.js.map +1 -0
  150. package/dist/esm/components/assets/AssetsTableDateCell.d.ts +1 -6
  151. package/dist/esm/components/assets/AssetsTableDateCell.test.d.ts +1 -0
  152. package/dist/esm/components/assets/AssetsTableDateCell.test.js +60 -0
  153. package/dist/esm/components/assets/AssetsTableDateCell.test.js.map +1 -0
  154. package/dist/esm/components/assets/AssetsTableGlobalCell.d.ts +1 -5
  155. package/dist/esm/components/assets/AssetsTablePreviewCell.d.ts +1 -17
  156. package/dist/esm/components/assets/AssetsTableStatusCell.d.ts +1 -5
  157. package/dist/esm/components/assets/AssetsTableTagsCell.d.ts +1 -6
  158. package/dist/esm/components/assets/AssetsTableTypeCell.d.ts +1 -5
  159. package/dist/esm/components/assets/AssetsTypeIcon.d.ts +1 -5
  160. package/dist/esm/components/assets/FontAssetPreview.d.ts +1 -1
  161. package/dist/esm/components/assets/StoryTableTotalRendersCell.d.ts +1 -2
  162. package/dist/esm/components/button/Button.d.ts +1 -1
  163. package/dist/esm/components/button/Button.stories.d.ts +5 -6
  164. package/dist/esm/components/button-group-field/ButtonGroupField.d.ts +1 -1
  165. package/dist/esm/components/button-group-field/ButtonGroupField.stories.d.ts +1 -2
  166. package/dist/esm/components/button-menu/ButtonMenu.d.ts +2 -2
  167. package/dist/esm/components/button-menu/ButtonMenu.stories.d.ts +1 -2
  168. package/dist/esm/components/button-menu/ButtonMenuItem.d.ts +1 -1
  169. package/dist/esm/components/card/Card.d.ts +4 -4
  170. package/dist/esm/components/card/Card.stories.d.ts +1 -2
  171. package/dist/esm/components/checkbox-field/CheckboxField.d.ts +1 -1
  172. package/dist/esm/components/checkbox-field/CheckboxField.stories.d.ts +1 -2
  173. package/dist/esm/components/color-field/ColorField.d.ts +1 -1
  174. package/dist/esm/components/color-field/ColorFiled.stories.d.ts +1 -2
  175. package/dist/esm/components/compositions/TextLayer.d.ts +1 -1
  176. package/dist/esm/components/config-variable-button/ConfigVariableButton.d.ts +1 -42
  177. package/dist/esm/components/confirm-modal/ConfirmModal.d.ts +1 -2
  178. package/dist/esm/components/controlled-list/ControlledList.d.ts +2 -2
  179. package/dist/esm/components/controlled-list/ControlledList.stories.d.ts +1 -2
  180. package/dist/esm/components/controlled-list/ControlledList.test.d.ts +1 -0
  181. package/dist/esm/components/controlled-list/ControlledList.test.js +400 -0
  182. package/dist/esm/components/controlled-list/ControlledList.test.js.map +1 -0
  183. package/dist/esm/components/copy-prop-id-button/CopyPropIdButton.d.ts +1 -1
  184. package/dist/esm/components/copy-prop-id-button/CopyPropIdButton.test.d.ts +1 -0
  185. package/dist/esm/components/copy-prop-id-button/CopyPropIdButton.test.js +357 -0
  186. package/dist/esm/components/copy-prop-id-button/CopyPropIdButton.test.js.map +1 -0
  187. package/dist/esm/components/determinate-loader/DeterminateLoader.stories.d.ts +3 -4
  188. package/dist/esm/components/dropdown/Dropdown.d.ts +1 -1
  189. package/dist/esm/components/dropdown/dropdown.stories.d.ts +1 -1
  190. package/dist/esm/components/field-wrapper/FieldWrapper.d.ts +2 -2
  191. package/dist/esm/components/field-wrapper/FieldWrapper.stories.d.ts +1 -2
  192. package/dist/esm/components/font-field/FontField.d.ts +1 -2
  193. package/dist/esm/components/font-picker/FontPicker.d.ts +1 -1
  194. package/dist/esm/components/h-rule/HRule.d.ts +1 -2
  195. package/dist/esm/components/h-rule/HRule.stories.d.ts +2 -3
  196. package/dist/esm/components/header/ProjectDropdown.d.ts +1 -2
  197. package/dist/esm/components/list-field/ListField.d.ts +1 -1
  198. package/dist/esm/components/list-field/ListField.stories.d.ts +1 -2
  199. package/dist/esm/components/log-viewer/LogViewer.d.ts +1 -1
  200. package/dist/esm/components/media-variable-field/MediaVariableField.d.ts +1 -1
  201. package/dist/esm/components/modal/Modal.d.ts +1 -1
  202. package/dist/esm/components/modal/Modal.stories.d.ts +1 -2
  203. package/dist/esm/components/number-field/NumberField.d.ts +1 -1
  204. package/dist/esm/components/number-field/NumberField.stories.d.ts +1 -2
  205. package/dist/esm/components/number-field/NumberField.test.d.ts +1 -0
  206. package/dist/esm/components/number-field/NumberField.test.js +192 -0
  207. package/dist/esm/components/number-field/NumberField.test.js.map +1 -0
  208. package/dist/esm/components/players/AudioPlayer.d.ts +1 -1
  209. package/dist/esm/components/players/AudioPreview.d.ts +1 -1
  210. package/dist/esm/components/players/ImagePlayer.d.ts +1 -1
  211. package/dist/esm/components/players/ImagePreview.d.ts +1 -1
  212. package/dist/esm/components/players/ImageSequencePlayer.d.ts +1 -1
  213. package/dist/esm/components/players/TemplatePlayer.d.ts +1 -1
  214. package/dist/esm/components/players/VideoPlayer.d.ts +1 -1
  215. package/dist/esm/components/players/VideoPreview.d.ts +1 -1
  216. package/dist/esm/components/publish-wizard/PublishWizard.d.ts +3 -3
  217. package/dist/esm/components/publish-wizard/publish/APIIntegration.d.ts +1 -1
  218. package/dist/esm/components/publish-wizard/publish/HubSpotFlow.d.ts +1 -1
  219. package/dist/esm/components/publish-wizard/publish/WebpageHosted.d.ts +2 -2
  220. package/dist/esm/components/section/Section.d.ts +1 -2
  221. package/dist/esm/components/section/Section.stories.d.ts +2 -3
  222. package/dist/esm/components/select-field/SelectField.d.ts +1 -1
  223. package/dist/esm/components/select-field/SelectField.stories.d.ts +1 -2
  224. package/dist/esm/components/shortcut-menu/ShortcutMenu.stories.d.ts +1 -2
  225. package/dist/esm/components/slider-field/SliderField.d.ts +1 -1
  226. package/dist/esm/components/slider-field/SliderField.stories.d.ts +1 -2
  227. package/dist/esm/components/smpte-field/SMPTEField.d.ts +1 -1
  228. package/dist/esm/components/story-previewer/StoryPreviewer.js +10 -2
  229. package/dist/esm/components/story-previewer/StoryPreviewer.js.map +1 -1
  230. package/dist/esm/components/tabs/Tabs.stories.d.ts +2 -3
  231. package/dist/esm/components/tag/Tag.d.ts +1 -9
  232. package/dist/esm/components/text-area-autocomplete/TextAreaAutocomplete.d.ts +1 -2
  233. package/dist/esm/components/text-area-field/TextAreaField.d.ts +1 -1
  234. package/dist/esm/components/text-area-field/TextAreaField.stories.d.ts +1 -2
  235. package/dist/esm/components/text-field/TextField.d.ts +1 -1
  236. package/dist/esm/components/text-field/TextField.stories.d.ts +1 -2
  237. package/dist/esm/components/text-field/TextField.test.d.ts +1 -0
  238. package/dist/esm/components/text-field/TextField.test.js +469 -0
  239. package/dist/esm/components/text-field/TextField.test.js.map +1 -0
  240. package/dist/esm/constants/icons.d.ts +79 -80
  241. package/dist/esm/test/setup.d.ts +1 -0
  242. package/dist/esm/test/setup.js +70 -0
  243. package/dist/esm/test/setup.js.map +1 -0
  244. package/dist/esm/test/utils.d.ts +26 -0
  245. package/dist/esm/test/utils.js +27 -0
  246. package/dist/esm/test/utils.js.map +1 -0
  247. package/package.json +17 -6
  248. package/src/components/advanced-number-field/AdvancedNumberField.test.tsx +704 -0
  249. package/src/components/anchor-field/AnchorField.test.tsx +130 -0
  250. package/src/components/app-wrapper/AppWrapper.tsx +1 -6
  251. package/src/components/asset-details/AssetDetails.test.tsx +494 -0
  252. package/src/components/assets/AssetField.test.tsx +439 -0
  253. package/src/components/assets/AssetsTableAssetIdCell.test.tsx +134 -0
  254. package/src/components/assets/AssetsTableAssetIdFilter.test.tsx +95 -0
  255. package/src/components/assets/AssetsTableComplexTagCell.test.tsx +159 -0
  256. package/src/components/assets/AssetsTableDateCell.test.tsx +106 -0
  257. package/src/components/number-field/NumberField.test.tsx +383 -0
  258. package/src/components/number-field/NumberField.tsx +15 -9
  259. package/src/components/story-previewer/StoryPreviewer.tsx +10 -2
  260. package/src/components/text-field/TextField.test.tsx +988 -0
  261. package/src/test/setup.ts +91 -0
  262. package/src/test/utils.tsx +44 -0
  263. package/tsconfig.eslint.json +8 -0
  264. package/tsconfig.json +1 -1
  265. package/vitest.config.ts +31 -0
  266. package/src/components/service-icon/ServiceIcon.test.tsx +0 -0
  267. package/src/components/tag/Tag.test.tsx +0 -0
@@ -0,0 +1,357 @@
1
+ import { describe, it, expect, vi, beforeEach, afterEach } from 'vitest';
2
+ import React from 'react';
3
+ import { render, fireEvent } from '@testing-library/react';
4
+ // Mock Button component
5
+ vi.mock('../button/Button', () => ({
6
+ default: ({ children, tooltip, onClick, size, style, ...props }) => (React.createElement("button", { "data-testid": 'mock-button', "data-tooltip": typeof tooltip === 'string' ? tooltip : tooltip?.content, "data-size": size, "data-style": style, onClick: onClick, ...props }, children))
7
+ }));
8
+ // Mock clipboard icon
9
+ vi.mock('../../constants/icons', () => ({
10
+ ICON_CLIPBOARD: React.createElement("span", { "data-testid": 'icon-clipboard' }, "\uD83D\uDCCB")
11
+ }));
12
+ // Mock copy constants
13
+ vi.mock('../../constants/copy', () => ({
14
+ compositions: {
15
+ tooltipPropId: 'Copy Property ID'
16
+ }
17
+ }));
18
+ import CopyPropIdButton from './CopyPropIdButton';
19
+ const createMockProps = (overrides = {}) => ({
20
+ copyPropId: 'test-prop-id-123',
21
+ ...overrides
22
+ });
23
+ const renderComponent = (props = {}) => {
24
+ const mockProps = createMockProps(props);
25
+ return {
26
+ ...render(React.createElement(CopyPropIdButton, { ...mockProps })),
27
+ props: mockProps
28
+ };
29
+ };
30
+ describe('CopyPropIdButton', () => {
31
+ let originalClipboard;
32
+ beforeEach(() => {
33
+ vi.clearAllMocks();
34
+ // Store original clipboard
35
+ originalClipboard = navigator.clipboard;
36
+ // Mock successful clipboard by default
37
+ Object.defineProperty(navigator, 'clipboard', {
38
+ value: {
39
+ writeText: vi.fn().mockResolvedValue(undefined)
40
+ },
41
+ writable: true,
42
+ configurable: true
43
+ });
44
+ });
45
+ afterEach(() => {
46
+ // Restore original clipboard
47
+ Object.defineProperty(navigator, 'clipboard', {
48
+ value: originalClipboard,
49
+ writable: true,
50
+ configurable: true
51
+ });
52
+ });
53
+ describe('Component Structure and Rendering', () => {
54
+ it('renders with correct structure and CSS classes', () => {
55
+ const { getByTestId } = renderComponent();
56
+ const button = getByTestId('mock-button');
57
+ expect(button).toBeTruthy();
58
+ });
59
+ it('renders clipboard icon', () => {
60
+ const { getByTestId } = renderComponent();
61
+ const icon = getByTestId('icon-clipboard');
62
+ expect(icon).toBeTruthy();
63
+ });
64
+ it('renders with correct button properties', () => {
65
+ const { getByTestId } = renderComponent();
66
+ const button = getByTestId('mock-button');
67
+ expect(button.getAttribute('data-size')).toBe('small');
68
+ expect(button.getAttribute('data-style')).toBe('subtle');
69
+ expect(button.getAttribute('data-tooltip')).toBe('Copy Property ID');
70
+ });
71
+ it('renders button as clickable element', () => {
72
+ const { getByTestId } = renderComponent();
73
+ const button = getByTestId('mock-button');
74
+ expect(button.tagName).toBe('BUTTON');
75
+ });
76
+ });
77
+ describe('Props Handling', () => {
78
+ it('accepts copyPropId prop', () => {
79
+ const customPropId = 'custom-property-id-456';
80
+ expect(() => {
81
+ renderComponent({ copyPropId: customPropId });
82
+ }).not.toThrow();
83
+ });
84
+ it('accepts onNotification callback prop', () => {
85
+ const mockOnNotification = vi.fn();
86
+ expect(() => {
87
+ renderComponent({ onNotification: mockOnNotification });
88
+ }).not.toThrow();
89
+ });
90
+ it('accepts onError callback prop', () => {
91
+ const mockOnError = vi.fn();
92
+ expect(() => {
93
+ renderComponent({ onError: mockOnError });
94
+ }).not.toThrow();
95
+ });
96
+ it('works with all optional props undefined', () => {
97
+ expect(() => {
98
+ renderComponent({
99
+ copyPropId: 'test-id'
100
+ // onNotification and onError are undefined
101
+ });
102
+ }).not.toThrow();
103
+ });
104
+ });
105
+ describe('Clipboard Copy Functionality', () => {
106
+ it('calls navigator.clipboard.writeText with correct prop ID when clicked', () => {
107
+ const propId = 'unique-property-id-789';
108
+ const { getByTestId } = renderComponent({ copyPropId: propId });
109
+ const button = getByTestId('mock-button');
110
+ fireEvent.click(button);
111
+ expect(navigator.clipboard.writeText).toHaveBeenCalledWith(propId);
112
+ expect(navigator.clipboard.writeText).toHaveBeenCalledTimes(1);
113
+ });
114
+ it('calls onNotification with success message when copy succeeds', async () => {
115
+ const mockOnNotification = vi.fn();
116
+ const { getByTestId } = renderComponent({
117
+ copyPropId: 'test-id',
118
+ onNotification: mockOnNotification
119
+ });
120
+ const button = getByTestId('mock-button');
121
+ fireEvent.click(button);
122
+ // Wait for promise to resolve
123
+ await new Promise(resolve => setTimeout(resolve, 0));
124
+ expect(mockOnNotification).toHaveBeenCalledWith('Property ID copied to clipboard.');
125
+ expect(mockOnNotification).toHaveBeenCalledTimes(1);
126
+ });
127
+ it('does not call onNotification when callback is not provided', async () => {
128
+ const { getByTestId } = renderComponent({
129
+ copyPropId: 'test-id'
130
+ // onNotification not provided
131
+ });
132
+ const button = getByTestId('mock-button');
133
+ fireEvent.click(button);
134
+ await new Promise(resolve => setTimeout(resolve, 0));
135
+ // Should not throw error even without callback
136
+ expect(navigator.clipboard.writeText).toHaveBeenCalledWith('test-id');
137
+ });
138
+ it('calls onError when clipboard write fails', async () => {
139
+ // Mock clipboard to fail
140
+ Object.defineProperty(navigator, 'clipboard', {
141
+ value: {
142
+ writeText: vi.fn().mockRejectedValue(new Error('Clipboard access denied'))
143
+ },
144
+ writable: true,
145
+ configurable: true
146
+ });
147
+ const mockOnError = vi.fn();
148
+ const { getByTestId } = renderComponent({
149
+ copyPropId: 'test-id',
150
+ onError: mockOnError
151
+ });
152
+ const button = getByTestId('mock-button');
153
+ fireEvent.click(button);
154
+ // Wait for promise to reject
155
+ await new Promise(resolve => setTimeout(resolve, 0));
156
+ expect(mockOnError).toHaveBeenCalledWith('Error copying property ID to clipboard.');
157
+ expect(mockOnError).toHaveBeenCalledTimes(1);
158
+ });
159
+ it('does not call onError when callback is not provided and copy fails', async () => {
160
+ // Mock clipboard to fail
161
+ Object.defineProperty(navigator, 'clipboard', {
162
+ value: {
163
+ writeText: vi.fn().mockRejectedValue(new Error('Clipboard access denied'))
164
+ },
165
+ writable: true,
166
+ configurable: true
167
+ });
168
+ const { getByTestId } = renderComponent({
169
+ copyPropId: 'test-id'
170
+ // onError not provided
171
+ });
172
+ const button = getByTestId('mock-button');
173
+ fireEvent.click(button);
174
+ await new Promise(resolve => setTimeout(resolve, 0));
175
+ // Should not throw error even without callback
176
+ expect(navigator.clipboard.writeText).toHaveBeenCalledWith('test-id');
177
+ });
178
+ it('handles multiple clicks correctly', async () => {
179
+ const mockOnNotification = vi.fn();
180
+ const propId = 'multi-click-test-id';
181
+ const { getByTestId } = renderComponent({
182
+ copyPropId: propId,
183
+ onNotification: mockOnNotification
184
+ });
185
+ const button = getByTestId('mock-button');
186
+ // Click multiple times
187
+ fireEvent.click(button);
188
+ fireEvent.click(button);
189
+ fireEvent.click(button);
190
+ await new Promise(resolve => setTimeout(resolve, 0));
191
+ expect(navigator.clipboard.writeText).toHaveBeenCalledTimes(3);
192
+ expect(navigator.clipboard.writeText).toHaveBeenNthCalledWith(1, propId);
193
+ expect(navigator.clipboard.writeText).toHaveBeenNthCalledWith(2, propId);
194
+ expect(navigator.clipboard.writeText).toHaveBeenNthCalledWith(3, propId);
195
+ expect(mockOnNotification).toHaveBeenCalledTimes(3);
196
+ });
197
+ });
198
+ describe('Event Handling', () => {
199
+ it('binds click handler correctly', () => {
200
+ const { getByTestId } = renderComponent();
201
+ const button = getByTestId('mock-button');
202
+ expect(button.onclick).toBeTruthy();
203
+ });
204
+ it('uses arrow function for click handler to maintain this context', () => {
205
+ const component = new CopyPropIdButton({ copyPropId: 'test' });
206
+ // Verify that clickHandler is bound to the component instance
207
+ expect(typeof component['clickHandler']).toBe('function');
208
+ });
209
+ it('calls copyPropId method when clicked', () => {
210
+ const component = new CopyPropIdButton({ copyPropId: 'test-id' });
211
+ const copyPropIdSpy = vi.spyOn(component, 'copyPropId');
212
+ // Simulate click handler call
213
+ component['clickHandler']();
214
+ expect(copyPropIdSpy).toHaveBeenCalledTimes(1);
215
+ });
216
+ });
217
+ describe('Component Architecture', () => {
218
+ it('extends React.PureComponent correctly', () => {
219
+ const props = createMockProps();
220
+ const component = new CopyPropIdButton(props);
221
+ expect(component).toBeInstanceOf(React.PureComponent);
222
+ expect(typeof component.render).toBe('function');
223
+ });
224
+ it('has correct component state type (undefined)', () => {
225
+ const props = createMockProps();
226
+ const component = new CopyPropIdButton(props);
227
+ expect(component.state).toBeUndefined();
228
+ });
229
+ it('has private methods with correct access modifiers', () => {
230
+ const component = new CopyPropIdButton({ copyPropId: 'test' });
231
+ // These should be accessible as they're part of the component
232
+ expect(typeof component['clickHandler']).toBe('function');
233
+ expect(typeof component['copyPropId']).toBe('function');
234
+ });
235
+ it('initializes with correct props', () => {
236
+ const testProps = createMockProps({
237
+ copyPropId: 'initialization-test-id'
238
+ });
239
+ const component = new CopyPropIdButton(testProps);
240
+ expect(component.props.copyPropId).toBe('initialization-test-id');
241
+ });
242
+ });
243
+ describe('Edge Cases and Error Scenarios', () => {
244
+ it('handles empty string copyPropId', async () => {
245
+ const mockOnNotification = vi.fn();
246
+ const { getByTestId } = renderComponent({
247
+ copyPropId: '',
248
+ onNotification: mockOnNotification
249
+ });
250
+ const button = getByTestId('mock-button');
251
+ fireEvent.click(button);
252
+ await new Promise(resolve => setTimeout(resolve, 0));
253
+ expect(navigator.clipboard.writeText).toHaveBeenCalledWith('');
254
+ expect(mockOnNotification).toHaveBeenCalledWith('Property ID copied to clipboard.');
255
+ });
256
+ it('handles very long copyPropId strings', async () => {
257
+ const longPropId = 'a'.repeat(1000);
258
+ const mockOnNotification = vi.fn();
259
+ const { getByTestId } = renderComponent({
260
+ copyPropId: longPropId,
261
+ onNotification: mockOnNotification
262
+ });
263
+ const button = getByTestId('mock-button');
264
+ fireEvent.click(button);
265
+ await new Promise(resolve => setTimeout(resolve, 0));
266
+ expect(navigator.clipboard.writeText).toHaveBeenCalledWith(longPropId);
267
+ expect(mockOnNotification).toHaveBeenCalledTimes(1);
268
+ });
269
+ it('handles special characters in copyPropId', async () => {
270
+ const specialCharsPropId = 'prop-id-with-特殊字符-and-émojis-🎉-and-symbols-@#$%^&*()';
271
+ const { getByTestId } = renderComponent({
272
+ copyPropId: specialCharsPropId
273
+ });
274
+ const button = getByTestId('mock-button');
275
+ fireEvent.click(button);
276
+ await new Promise(resolve => setTimeout(resolve, 0));
277
+ expect(navigator.clipboard.writeText).toHaveBeenCalledWith(specialCharsPropId);
278
+ });
279
+ it('documents that component expects clipboard API to be available', () => {
280
+ // This test documents that the component assumes navigator.clipboard exists
281
+ // and will throw an error if it's not available. This is expected behavior
282
+ // as the component is designed for modern browsers that support the Clipboard API.
283
+ const { getByTestId } = renderComponent({
284
+ copyPropId: 'test-id'
285
+ });
286
+ const button = getByTestId('mock-button');
287
+ expect(button).toBeTruthy();
288
+ // The component relies on navigator.clipboard being available
289
+ // If it's not available, the component would need to be enhanced
290
+ // to handle this gracefully or use a fallback method
291
+ });
292
+ });
293
+ describe('Accessibility and User Experience', () => {
294
+ it('provides meaningful tooltip text', () => {
295
+ const { getByTestId } = renderComponent();
296
+ const button = getByTestId('mock-button');
297
+ expect(button.getAttribute('data-tooltip')).toBe('Copy Property ID');
298
+ });
299
+ it('uses appropriate button sizing for UI context', () => {
300
+ const { getByTestId } = renderComponent();
301
+ const button = getByTestId('mock-button');
302
+ expect(button.getAttribute('data-size')).toBe('small');
303
+ });
304
+ it('uses subtle styling to not overpower interface', () => {
305
+ const { getByTestId } = renderComponent();
306
+ const button = getByTestId('mock-button');
307
+ expect(button.getAttribute('data-style')).toBe('subtle');
308
+ });
309
+ it('provides visual feedback through icon', () => {
310
+ const { getByTestId } = renderComponent();
311
+ const icon = getByTestId('icon-clipboard');
312
+ expect(icon).toBeTruthy();
313
+ expect(icon.textContent).toBe('📋');
314
+ });
315
+ });
316
+ describe('Integration with Dependencies', () => {
317
+ it('properly integrates with Button component', () => {
318
+ const { getByTestId } = renderComponent();
319
+ const button = getByTestId('mock-button');
320
+ // Verify all expected props are passed to Button
321
+ expect(button.getAttribute('data-tooltip')).toBe('Copy Property ID');
322
+ expect(button.getAttribute('data-size')).toBe('small');
323
+ expect(button.getAttribute('data-style')).toBe('subtle');
324
+ });
325
+ it('uses ICON_CLIPBOARD from constants', () => {
326
+ const { getByTestId } = renderComponent();
327
+ const icon = getByTestId('icon-clipboard');
328
+ expect(icon).toBeTruthy();
329
+ });
330
+ it('uses tooltip text from copy constants', () => {
331
+ const { getByTestId } = renderComponent();
332
+ const button = getByTestId('mock-button');
333
+ expect(button.getAttribute('data-tooltip')).toBe('Copy Property ID');
334
+ });
335
+ });
336
+ describe('Performance Considerations', () => {
337
+ it('uses PureComponent for optimal re-rendering', () => {
338
+ const component = new CopyPropIdButton({ copyPropId: 'test' });
339
+ expect(component).toBeInstanceOf(React.PureComponent);
340
+ });
341
+ it('binds click handler once during initialization', () => {
342
+ const component = new CopyPropIdButton({ copyPropId: 'test' });
343
+ const handler1 = component['clickHandler'];
344
+ const handler2 = component['clickHandler'];
345
+ // Should be the same function reference
346
+ expect(handler1).toBe(handler2);
347
+ });
348
+ it('does not create new functions on each render', () => {
349
+ const { rerender } = render(React.createElement(CopyPropIdButton, { copyPropId: "test1" }));
350
+ rerender(React.createElement(CopyPropIdButton, { copyPropId: "test2" }));
351
+ // Component should handle re-renders efficiently
352
+ // This test ensures no errors during re-render
353
+ expect(true).toBe(true);
354
+ });
355
+ });
356
+ });
357
+ //# sourceMappingURL=CopyPropIdButton.test.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Copy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YACtD,MAAM,SAAS,GAAG,IAAI,gBAAgB,CAAC,EAAE,UAAU,EAAE,MAAM,EAAE,CAAC,CAAC;YAC/D,MAAM,QAAQ,GAAG,SAAS,CAAC,cAAc,CAAC,CAAC;YAC3C,MAAM,QAAQ,GAAG,SAAS,CAAC,cAAc,CAAC,CAAC;YAE3C,wCAAwC;YACxC,MAAM,CAAC,QAAQ,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;QACpC,CAAC,CAAC,CAAC;QAEH,EAAE,CAAC,8CAA8C,EAAE,GAAG,EAAE;YACpD,MAAM,EAAE,QAAQ,EAAE,GAAG,MAAM,CAAC,oBAAC,gBAAgB,IAAC,UAAU,EAAC,OAAO,GAAG,CAAC,CAAC;YACrE,QAAQ,CAAC,oBAAC,gBAAgB,IAAC,UAAU,EAAC,OAAO,GAAG,CAAC,CAAC;YAElD,iDAAiD;YACjD,+CAA+C;YAC/C,MAAM,CAAC,IAAI,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QAC5B,CAAC,CAAC,CAAC;IACP,CAAC,CAAC,CAAC;AACP,CAAC,CAAC,CAAC"}
@@ -1,9 +1,8 @@
1
- import * as React from 'react';
2
1
  declare const _default: {
3
2
  title: string;
4
3
  component: React.FC<import("./DeterminateLoader").IDeterminateLoaderProps>;
5
4
  };
6
5
  export default _default;
7
- export declare const DeterminateLoader50Percent: () => React.JSX.Element;
8
- export declare const DeterminateLoader25Percent: () => React.JSX.Element;
9
- export declare const DeterminateLoaderLoading: () => React.JSX.Element;
6
+ export declare const DeterminateLoader50Percent: () => any;
7
+ export declare const DeterminateLoader25Percent: () => any;
8
+ export declare const DeterminateLoaderLoading: () => any;
@@ -24,5 +24,5 @@ export default class ImposiumDropdown extends React.PureComponent<IDropdownMenuP
24
24
  private cancelRender;
25
25
  private onEsc;
26
26
  private detectOutsideClick;
27
- render(): React.JSX.Element;
27
+ render(): any;
28
28
  }
@@ -16,4 +16,4 @@ export interface IDropdownMenuState {
16
16
  build: any;
17
17
  offset: any;
18
18
  }
19
- export declare const defaultDropDown: () => React.JSX.Element;
19
+ export declare const defaultDropDown: () => any;
@@ -32,8 +32,8 @@ declare class FieldWrapper extends React.PureComponent<IFieldWrapperProps, IFiel
32
32
  constructor(props: any);
33
33
  private getLabelClass;
34
34
  private renderLabel;
35
- render(): React.JSX.Element;
35
+ render(): any;
36
36
  private renderInfo;
37
- renderButtons(): React.JSX.Element;
37
+ renderButtons(): any;
38
38
  }
39
39
  export default FieldWrapper;
@@ -1,8 +1,7 @@
1
- import * as React from 'react';
2
1
  import FieldWrapper from './FieldWrapper';
3
2
  declare const _default: {
4
3
  title: string;
5
4
  component: typeof FieldWrapper;
6
5
  };
7
6
  export default _default;
8
- export declare const defaultFieldWrapperWithSelectField: () => React.JSX.Element;
7
+ export declare const defaultFieldWrapperWithSelectField: () => any;
@@ -1,4 +1,3 @@
1
- import React from 'react';
2
1
  interface IFontFieldProps {
3
2
  font: string;
4
3
  availableFonts: any[];
@@ -16,5 +15,5 @@ interface IFontFieldProps {
16
15
  onClose?(e: boolean): void;
17
16
  activeOverride: string;
18
17
  }
19
- declare const FontField: (props: IFontFieldProps) => React.JSX.Element;
18
+ declare const FontField: (props: IFontFieldProps) => any;
20
19
  export default FontField;
@@ -39,6 +39,6 @@ export default class FontPicker extends React.PureComponent<IFontPickerProps, IF
39
39
  private setActiveFontFamily;
40
40
  private generateFontList;
41
41
  private toggleExpanded;
42
- render: () => React.JSX.Element;
42
+ render: () => any;
43
43
  }
44
44
  export {};
@@ -1,3 +1,2 @@
1
- import * as React from 'react';
2
- declare const HRule: (props: any) => React.JSX.Element;
1
+ declare const HRule: (props: any) => any;
3
2
  export default HRule;
@@ -1,7 +1,6 @@
1
- import * as React from 'react';
2
1
  declare const _default: {
3
2
  title: string;
4
- component: (props: any) => React.JSX.Element;
3
+ component: (props: any) => any;
5
4
  };
6
5
  export default _default;
7
- export declare const defaultHRule: () => React.JSX.Element;
6
+ export declare const defaultHRule: () => any;
@@ -1,4 +1,3 @@
1
- import React from 'react';
2
1
  interface IProjectDropdownProps {
3
2
  position: any;
4
3
  api: any;
@@ -9,5 +8,5 @@ interface IProjectDropdownProps {
9
8
  setAccessData(data: any): void;
10
9
  onClose(): void;
11
10
  }
12
- export declare const ProjectDropdown: (props: IProjectDropdownProps) => React.JSX.Element;
11
+ export declare const ProjectDropdown: (props: IProjectDropdownProps) => any;
13
12
  export {};
@@ -30,7 +30,7 @@ declare class ListField extends React.PureComponent<IListFieldProps, IListFieldS
30
30
  private inputChanged;
31
31
  private inputFocus;
32
32
  private submitOption;
33
- render(): React.JSX.Element;
33
+ render(): any;
34
34
  renderButtons(): any[];
35
35
  }
36
36
  export default ListField;
@@ -1,8 +1,7 @@
1
- import * as React from 'react';
2
1
  import ListField from './ListField';
3
2
  declare const _default: {
4
3
  title: string;
5
4
  component: typeof ListField;
6
5
  };
7
6
  export default _default;
8
- export declare const defaultListFIeld: () => React.JSX.Element;
7
+ export declare const defaultListFIeld: () => any;
@@ -16,6 +16,6 @@ declare class LogViewer extends React.PureComponent<ILogViewerProps, ILogViewerS
16
16
  private getJobLogs;
17
17
  componentDidMount(): void;
18
18
  componentDidUpdate(prevProps: any): void;
19
- render(): React.JSX.Element;
19
+ render(): any;
20
20
  }
21
21
  export default LogViewer;
@@ -22,6 +22,6 @@ declare class MediaVariableField extends React.PureComponent<IMediaVariableField
22
22
  onClick(): void;
23
23
  private renderClearButton;
24
24
  private onFileDrop;
25
- render(): React.JSX.Element;
25
+ render(): any;
26
26
  }
27
27
  export default MediaVariableField;
@@ -14,6 +14,6 @@ declare class Modal extends React.PureComponent<IModalProps> {
14
14
  componentDidMount(): void;
15
15
  componentWillUnmount(): void;
16
16
  private onClose;
17
- render(): React.JSX.Element;
17
+ render(): any;
18
18
  }
19
19
  export default Modal;
@@ -1,8 +1,7 @@
1
- import * as React from 'react';
2
1
  import Modal from './Modal';
3
2
  declare const _default: {
4
3
  title: string;
5
4
  component: typeof Modal;
6
5
  };
7
6
  export default _default;
8
- export declare const defaultModal: () => React.JSX.Element;
7
+ export declare const defaultModal: () => any;
@@ -42,6 +42,6 @@ declare class NumberField extends React.PureComponent<INumberFieldProps, INumber
42
42
  private onSelectFocus;
43
43
  private onSelectBlur;
44
44
  private handleLabelDrag;
45
- render(): React.JSX.Element;
45
+ render(): any;
46
46
  }
47
47
  export default NumberField;
@@ -1,8 +1,7 @@
1
- import * as React from 'react';
2
1
  import NumberField from './NumberField';
3
2
  declare const _default: {
4
3
  title: string;
5
4
  component: typeof NumberField;
6
5
  };
7
6
  export default _default;
8
- export declare const defaultNumberField: () => React.JSX.Element;
7
+ export declare const defaultNumberField: () => any;