@procore/core-react 12.49.1 → 12.50.1

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 (266) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/dist/AnchorNavigation/AnchorNavigation.styles.js +4 -4
  3. package/dist/AnchorNavigation/AnchorNavigationProvider.js +11 -2
  4. package/dist/AnchorNavigation/AnchorNavigationProvider.js.map +1 -1
  5. package/dist/Avatar/Avatar.styles.js +5 -5
  6. package/dist/AvatarStack/AvatarStack.styles.js +8 -8
  7. package/dist/Badge/Badge.styles.js +2 -2
  8. package/dist/BadgePill/BadgePill.styles.js +4 -4
  9. package/dist/Banner/Banner.styles.js +10 -10
  10. package/dist/Box/Box.styles.js +1 -1
  11. package/dist/Breadcrumbs/Breadcrumbs.styles.js +4 -4
  12. package/dist/Button/Button.styles.js +5 -5
  13. package/dist/Calendar/Calendar.styles.js +9 -9
  14. package/dist/Card/Card.styles.js +1 -1
  15. package/dist/Checkbox/Checkbox.styles.js +6 -6
  16. package/dist/ContactItem/ContactItem.styles.js +5 -5
  17. package/dist/Content/Content.styles.js +2 -2
  18. package/dist/DateInput/DateInput.styles.js +6 -6
  19. package/dist/DetailPage/DetailPage.d.ts +2 -1
  20. package/dist/DetailPage/DetailPage.js +11 -10
  21. package/dist/DetailPage/DetailPage.js.map +1 -1
  22. package/dist/DetailPage/DetailPage.styles.js +9 -8
  23. package/dist/DetailPage/DetailPage.styles.js.map +1 -1
  24. package/dist/DetailPage/DetailPage.types.d.ts +5 -5
  25. package/dist/DetailPage/DetailPage.types.js.map +1 -1
  26. package/dist/DetailPageTemplate/DetailPageTemplate.types.d.ts +7 -1
  27. package/dist/DetailPageTemplate/DetailPageTemplate.types.js.map +1 -1
  28. package/dist/Dropdown/Dropdown.js +2 -2
  29. package/dist/Dropdown/Dropdown.js.map +1 -1
  30. package/dist/Dropdown/Dropdown.styles.js +3 -3
  31. package/dist/Dropdown/Dropdown.types.d.ts +12 -2
  32. package/dist/Dropdown/Dropdown.types.js.map +1 -1
  33. package/dist/DropdownFlyout/DropdownFlyout.styles.js +4 -4
  34. package/dist/Dropzone/Dropzone.js +1 -1
  35. package/dist/Dropzone/Dropzone.styles.js +9 -9
  36. package/dist/EmptyState/EmptyState.styles.js +6 -6
  37. package/dist/Field/Field.styles.js +3 -3
  38. package/dist/FileList/FileList.styles.js +3 -3
  39. package/dist/FileSelect/FileExplorer/FileExplorer.styles.js +9 -9
  40. package/dist/FileSelect/FileExplorer/FileExplorerSidebar.styles.js +3 -3
  41. package/dist/FileSelect/FileSelect.styles.js +2 -2
  42. package/dist/FileSelect/FileSelectDropzone/FileSelectDropzone.styles.js +3 -3
  43. package/dist/FileSelect/FileTokenList/FileTokenList.styles.js +2 -2
  44. package/dist/FileSelect/GridSource/GridSource.styles.js +6 -6
  45. package/dist/FileSelect/LocalSource/LocalSource.styles.js +4 -4
  46. package/dist/FileSelect/SourceItem/SourceItem.d.ts +7 -0
  47. package/dist/FileSelect/SourceItem/SourceItem.js.map +1 -1
  48. package/dist/FileSelect/SourceItem/SourceItem.styles.js +3 -3
  49. package/dist/FileSelect/ThumbnailList/ThumbnailList.styles.js +6 -6
  50. package/dist/FileSelect/TreeSource/TreeSource.styles.js +1 -1
  51. package/dist/FileToken/FileToken.styles.js +6 -6
  52. package/dist/FilterToken/FilterToken.styles.js +5 -5
  53. package/dist/FlexList/FlexList.styles.js +1 -1
  54. package/dist/Form/Form.styles.js +13 -13
  55. package/dist/Form/StyledFormikForm.styles.d.ts +2 -2
  56. package/dist/Form/StyledFormikForm.styles.js +2 -2
  57. package/dist/GhostPlaceholder/GhostPlaceholder.styles.js +3 -3
  58. package/dist/GhostPlaceholder/GhostPlaceholder.styles.js.map +1 -1
  59. package/dist/GhostPlaceholder/GhostPlaceholder.types.d.ts +10 -0
  60. package/dist/GhostPlaceholder/GhostPlaceholder.types.js.map +1 -1
  61. package/dist/Grid/Grid.styles.js +2 -2
  62. package/dist/GroupSelect/GroupSelect.styles.js +1 -1
  63. package/dist/Input/Input.styles.js +1 -1
  64. package/dist/Link/Link.styles.js +1 -1
  65. package/dist/ListPage/ListPage.styles.js +8 -8
  66. package/dist/Loader/Loader.styles.js +2 -2
  67. package/dist/MenuImperative/MenuImperative.styles.js +11 -11
  68. package/dist/Modal/Modal.styles.js +26 -33
  69. package/dist/Modal/Modal.styles.js.map +1 -1
  70. package/dist/MultiSelect/MultiSelect.styles.d.ts +1 -1
  71. package/dist/MultiSelect/MultiSelect.styles.js +8 -8
  72. package/dist/NextMenu/NextMenu.styles.js +3 -3
  73. package/dist/NextTile/NextTile.styles.js +5 -5
  74. package/dist/Notation/Notation.js +1 -1
  75. package/dist/NumberInput/NumberInput.styles.js +7 -7
  76. package/dist/Overlay/OverlayArrow.styles.js +1 -1
  77. package/dist/PageLayout/PageLayout.js +8 -5
  78. package/dist/PageLayout/PageLayout.js.map +1 -1
  79. package/dist/PageLayout/PageLayout.styles.js +19 -20
  80. package/dist/PageLayout/PageLayout.styles.js.map +1 -1
  81. package/dist/PageLayout/PageLayout.types.d.ts +7 -0
  82. package/dist/PageLayout/PageLayout.types.js.map +1 -1
  83. package/dist/PageTemplate/PageFooterTemplate/PageFooterTemplate.styles.js +1 -1
  84. package/dist/PageTemplate/PageFooterTemplate/PageFooterTemplate.types.d.ts +5 -0
  85. package/dist/PageTemplate/PageFooterTemplate/PageFooterTemplate.types.js.map +1 -1
  86. package/dist/PageTemplate/PageHeaderTemplate/PageHeaderTemplate.styles.js +3 -3
  87. package/dist/PageTemplate/PagePaneTemplate/PagePaneTemplate.styles.js +2 -2
  88. package/dist/PageTemplate/PageTemplate/PageTemplate.styles.js +3 -3
  89. package/dist/Pagination/Pagination.styles.js +5 -5
  90. package/dist/Panel/Panel.styles.js +14 -13
  91. package/dist/Panel/Panel.styles.js.map +1 -1
  92. package/dist/Pill/Pill.styles.js +3 -3
  93. package/dist/PillSelect/PillSelect.styles.js +4 -4
  94. package/dist/Popover/Popover.styles.js +2 -2
  95. package/dist/Portal/Portal.styles.js +1 -1
  96. package/dist/ProgressBar/ProgressBar.styles.js +2 -2
  97. package/dist/RadioButton/RadioButton.styles.js +3 -3
  98. package/dist/Required/Required.js +1 -0
  99. package/dist/Required/Required.js.map +1 -1
  100. package/dist/Required/Required.styles.js +5 -5
  101. package/dist/Required/Required.styles.js.map +1 -1
  102. package/dist/Required/Required.types.d.ts +2 -0
  103. package/dist/Required/Required.types.js.map +1 -1
  104. package/dist/Search/Search.styles.js +5 -5
  105. package/dist/Section/Section.styles.js +7 -7
  106. package/dist/SegmentedController/SegmentedController.styles.js +4 -4
  107. package/dist/Select/Select.js +4 -3
  108. package/dist/Select/Select.js.map +1 -1
  109. package/dist/Select/Select.styles.js +8 -8
  110. package/dist/Select/Select.types.d.ts +0 -1
  111. package/dist/Select/Select.types.js.map +1 -1
  112. package/dist/Semantic/Semantic.styles.js +9 -9
  113. package/dist/Slider/Slider.styles.js +5 -5
  114. package/dist/Spinner/Spinner.styles.js +7 -7
  115. package/dist/SplitViewCard/SplitViewCard.styles.js +8 -8
  116. package/dist/SuperSelect/SuperSelect.presets.styles.js +1 -1
  117. package/dist/SuperSelect/SuperSelect.styles.js +41 -41
  118. package/dist/SuperSelect/SuperSelect.styles.js.map +1 -1
  119. package/dist/Switch/Switch.styles.js +4 -4
  120. package/dist/Table/Table.styles.js +29 -29
  121. package/dist/TableShelf/TableShelf.styles.js +5 -5
  122. package/dist/Tabs/Tablist.d.ts +11 -0
  123. package/dist/Tabs/Tablist.js +45 -0
  124. package/dist/Tabs/Tablist.js.map +1 -0
  125. package/dist/Tabs/Tablist.types.d.ts +58 -0
  126. package/dist/Tabs/Tablist.types.js +2 -0
  127. package/dist/Tabs/Tablist.types.js.map +1 -0
  128. package/dist/Tabs/Tabs.js +60 -8
  129. package/dist/Tabs/Tabs.js.map +1 -1
  130. package/dist/Tabs/Tabs.styles.js +16 -16
  131. package/dist/Tabs/Tabs.types.d.ts +25 -10
  132. package/dist/Tabs/Tabs.types.js.map +1 -1
  133. package/dist/Tabs/index.d.ts +2 -0
  134. package/dist/Tabs/index.js +1 -0
  135. package/dist/Tabs/index.js.map +1 -1
  136. package/dist/Tearsheet/Tearsheet.styles.js +5 -5
  137. package/dist/Tearsheet/storybook/PageLayoutDemo.js +3 -1
  138. package/dist/Tearsheet/storybook/PageLayoutDemo.js.map +1 -1
  139. package/dist/TextArea/TextArea.styles.js +1 -1
  140. package/dist/TextEditorOutput/TextEditorOutput.styles.js +1 -1
  141. package/dist/Thumbnail/Thumbnail.hooks.d.ts +14 -14
  142. package/dist/Thumbnail/Thumbnail.styles.js +21 -21
  143. package/dist/ThumbnailGrid/ThumbnailGrid.styles.js +7 -7
  144. package/dist/TieredSelect/TieredSelect.styles.js +9 -9
  145. package/dist/Tile/Tile.styles.js +8 -8
  146. package/dist/Title/Title.styles.js +7 -7
  147. package/dist/Toast/Toast.styles.js +3 -3
  148. package/dist/ToggleButton/ToggleButton.styles.js +1 -1
  149. package/dist/Token/Token.styles.js +5 -5
  150. package/dist/ToolHeader/ToolHeader.styles.js +6 -6
  151. package/dist/ToolLandingPage/ToolLandingPage.styles.js +3 -3
  152. package/dist/Tooltip/Tooltip.styles.js +3 -3
  153. package/dist/Tree/Tree.js +1 -1
  154. package/dist/Tree/Tree.styles.js +10 -10
  155. package/dist/Typeahead/Typeahead.styles.js +4 -4
  156. package/dist/Typography/Typography.styles.js +1 -1
  157. package/dist/Typography/Typography.table.story.js +2 -2
  158. package/dist/_hooks/I18n.d.ts +92 -1
  159. package/dist/_locales/de-DE.json +8 -4
  160. package/dist/_locales/en-AU.json +7 -3
  161. package/dist/_locales/en-CA.json +7 -3
  162. package/dist/_locales/en-GB.json +7 -3
  163. package/dist/_locales/en.json +1 -1
  164. package/dist/_locales/es-ES.json +7 -3
  165. package/dist/_locales/es.json +7 -3
  166. package/dist/_locales/fr-CA.json +10 -6
  167. package/dist/_locales/fr-FR.json +8 -4
  168. package/dist/_locales/is-IS.json +7 -3
  169. package/dist/_locales/it-IT.json +7 -3
  170. package/dist/_locales/ja-JP.json +7 -3
  171. package/dist/_locales/nb-NO.json +79 -75
  172. package/dist/_locales/pl-PL.json +7 -3
  173. package/dist/_locales/pseudo.json +1 -1
  174. package/dist/_locales/pt-BR.json +7 -3
  175. package/dist/_locales/pt-PT.json +13 -9
  176. package/dist/_locales/th-TH.json +7 -3
  177. package/dist/_locales/zh-SG.json +7 -3
  178. package/dist/_locales/zh-TW.json +13 -9
  179. package/dist/_storyHelpers_/components/Deprecation.styles.js +1 -1
  180. package/dist/_storyHelpers_/components/StoryGrid.js +3 -3
  181. package/dist/_typedoc/AnchorNavigation/AnchorNavigation.types.json +4 -4
  182. package/dist/_typedoc/Avatar/Avatar.types.json +20 -20
  183. package/dist/_typedoc/AvatarStack/AvatarStack.types.json +25 -25
  184. package/dist/_typedoc/Badge/Badge.types.json +6 -6
  185. package/dist/_typedoc/Banner/Banner.types.json +15 -15
  186. package/dist/_typedoc/Box/Box.types.json +68 -68
  187. package/dist/_typedoc/Breadcrumbs/Breadcrumbs.types.json +10 -10
  188. package/dist/_typedoc/Button/Button.types.json +14 -14
  189. package/dist/_typedoc/Calendar/Calendar.types.json +80 -80
  190. package/dist/_typedoc/Card/Card.types.json +6 -6
  191. package/dist/_typedoc/Checkbox/Checkbox.types.json +8 -8
  192. package/dist/_typedoc/ContactItem/ContactItem.types.json +9 -9
  193. package/dist/_typedoc/DateInput/DateInput.types.json +35 -35
  194. package/dist/_typedoc/DateSelect/DateSelect.types.json +14 -14
  195. package/dist/_typedoc/DetailPage/DetailPage.types.json +5 -5
  196. package/dist/_typedoc/Dropdown/Dropdown.types.json +41 -40
  197. package/dist/_typedoc/DropdownFlyout/DropdownFlyout.types.json +31 -31
  198. package/dist/_typedoc/Dropzone/Dropzone.types.json +44 -44
  199. package/dist/_typedoc/EmptyState/EmptyState.types.json +18 -18
  200. package/dist/_typedoc/FileList/FileList.types.json +9 -9
  201. package/dist/_typedoc/FileSelect/FileSelect.types.json +27 -27
  202. package/dist/_typedoc/FileSelect/GridSource/GridSource.types.json +20 -20
  203. package/dist/_typedoc/FileSelect/LocalSource/LocalSource.types.json +14 -14
  204. package/dist/_typedoc/FileSelect/TreeSource/TreeSource.types.json +9 -9
  205. package/dist/_typedoc/Flex/Flex.types.json +27 -27
  206. package/dist/_typedoc/FlexList/FlexList.types.json +30 -30
  207. package/dist/_typedoc/Form/Form.types.json +770 -770
  208. package/dist/_typedoc/GhostPlaceholder/GhostPlaceholder.types.json +14 -13
  209. package/dist/_typedoc/Grid/Grid.types.json +8 -8
  210. package/dist/_typedoc/GroupSelect/GroupSelect.types.json +54 -54
  211. package/dist/_typedoc/Input/Input.types.json +2 -2
  212. package/dist/_typedoc/Link/Link.types.json +1 -1
  213. package/dist/_typedoc/ListPage/ListPage.types.json +13 -13
  214. package/dist/_typedoc/Menu/Menu.types.json +62 -62
  215. package/dist/_typedoc/MenuImperative/MenuImperative.types.json +84 -84
  216. package/dist/_typedoc/Modal/Modal.types.json +48 -48
  217. package/dist/_typedoc/MultiSelect/MultiSelect.types.json +33 -33
  218. package/dist/_typedoc/NextTile/NextTile.types.json +33 -33
  219. package/dist/_typedoc/Notation/Notation.types.json +4 -4
  220. package/dist/_typedoc/NumberInput/NumberInput.types.json +52 -52
  221. package/dist/_typedoc/OverlayTrigger/OverlayTrigger.types.json +33 -33
  222. package/dist/_typedoc/PageLayout/PageLayout.types.json +48 -38
  223. package/dist/_typedoc/Pagination/Pagination.types.json +7 -7
  224. package/dist/_typedoc/Panel/Panel.types.json +28 -28
  225. package/dist/_typedoc/Pill/Pill.types.json +2 -2
  226. package/dist/_typedoc/PillSelect/PillSelect.types.json +49 -49
  227. package/dist/_typedoc/Popover/Popover.types.json +15 -15
  228. package/dist/_typedoc/ProgressBar/ProgressBar.types.json +7 -7
  229. package/dist/_typedoc/RadioButton/RadioButton.types.json +6 -6
  230. package/dist/_typedoc/Required/Required.types.json +8 -6
  231. package/dist/_typedoc/Search/Search.types.json +18 -18
  232. package/dist/_typedoc/Section/Section.types.json +15 -15
  233. package/dist/_typedoc/SegmentedController/SegmentedController.types.json +21 -21
  234. package/dist/_typedoc/Select/Select.types.json +67 -72
  235. package/dist/_typedoc/SettingsPage/SettingsPage.types.json +10 -10
  236. package/dist/_typedoc/Slider/Slider.types.json +6 -6
  237. package/dist/_typedoc/Spinner/Spinner.types.json +9 -9
  238. package/dist/_typedoc/SplitViewCard/SplitViewCard.types.json +14 -14
  239. package/dist/_typedoc/Table/Table.types.json +105 -105
  240. package/dist/_typedoc/Tabs/Tablist.types.json +17 -0
  241. package/dist/_typedoc/Tabs/Tabs.types.json +46 -25
  242. package/dist/_typedoc/Tearsheet/Tearsheet.types.json +17 -17
  243. package/dist/_typedoc/TextArea/TextArea.types.json +3 -3
  244. package/dist/_typedoc/TextEditor/TextEditor.types.json +11 -11
  245. package/dist/_typedoc/TextEditorOutput/TextEditorOutput.types.json +4 -4
  246. package/dist/_typedoc/Thumbnail/Thumbnail.types.json +19 -19
  247. package/dist/_typedoc/TieredDropdown/TieredDropdown.types.json +43 -43
  248. package/dist/_typedoc/TieredSelect/TieredSelect.types.json +29 -29
  249. package/dist/_typedoc/Tile/Tile.types.json +8 -8
  250. package/dist/_typedoc/Title/Title.types.json +1 -1
  251. package/dist/_typedoc/Toast/Toast.types.json +4 -4
  252. package/dist/_typedoc/ToggleButton/ToggleButton.types.json +4 -4
  253. package/dist/_typedoc/Token/Token.types.json +7 -7
  254. package/dist/_typedoc/ToolHeader/ToolHeader.types.json +10 -10
  255. package/dist/_typedoc/ToolLandingPage/ToolLandingPage.types.json +8 -8
  256. package/dist/_typedoc/Tooltip/Tooltip.types.json +15 -15
  257. package/dist/_typedoc/Tree/Tree.types.json +88 -88
  258. package/dist/_typedoc/Typeahead/Typeahead.types.json +2 -2
  259. package/dist/_typedoc/Typography/Typography.types.json +9 -9
  260. package/dist/_typedoc/_utils/types.json +3 -3
  261. package/dist/_typedoc/a11y-tips.json +1 -1
  262. package/dist/_typedoc/deprecations.json +1 -1
  263. package/dist/_utils/propsTypedoc.d.ts +1 -0
  264. package/dist/_utils/propsTypedoc.js +1 -0
  265. package/dist/_utils/propsTypedoc.js.map +1 -1
  266. package/package.json +1 -1
@@ -1,8 +1,8 @@
1
1
  /// <reference types="react" />
2
2
  import type { View } from './Form.types';
3
- export declare const StyledFormikForm: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<Omit<Pick<import("react").DetailedHTMLProps<import("react").FormHTMLAttributes<HTMLFormElement>, HTMLFormElement>, "is" | "children" | "translate" | "placeholder" | "defaultValue" | "slot" | "style" | "title" | "color" | "hidden" | "key" | "defaultChecked" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "id" | "lang" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "target" | "method" | "name" | "autoComplete" | "acceptCharset" | "action" | "encType" | "noValidate" | "onPointerEnterCapture" | "onPointerLeaveCapture"> & import("react").RefAttributes<HTMLFormElement>, "ref"> & {
3
+ export declare const StyledFormikForm: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<Omit<Pick<import("react").DetailedHTMLProps<import("react").FormHTMLAttributes<HTMLFormElement>, HTMLFormElement>, "is" | "children" | "translate" | "placeholder" | "defaultValue" | "slot" | "style" | "title" | "color" | "hidden" | "key" | "defaultChecked" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "id" | "lang" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "target" | "autoComplete" | "name" | "method" | "acceptCharset" | "action" | "encType" | "noValidate" | "onPointerEnterCapture" | "onPointerLeaveCapture"> & import("react").RefAttributes<HTMLFormElement>, "ref"> & {
4
4
  ref?: ((instance: HTMLFormElement | null) => void) | import("react").RefObject<HTMLFormElement> | null | undefined;
5
- }, never>> & string & Omit<import("react").ForwardRefExoticComponent<Pick<import("react").DetailedHTMLProps<import("react").FormHTMLAttributes<HTMLFormElement>, HTMLFormElement>, "is" | "children" | "translate" | "placeholder" | "defaultValue" | "slot" | "style" | "title" | "color" | "hidden" | "key" | "defaultChecked" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "id" | "lang" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "target" | "method" | "name" | "autoComplete" | "acceptCharset" | "action" | "encType" | "noValidate" | "onPointerEnterCapture" | "onPointerLeaveCapture"> & import("react").RefAttributes<HTMLFormElement>>, keyof import("react").Component<any, {}, any>>;
5
+ }, never>> & string & Omit<import("react").ForwardRefExoticComponent<Pick<import("react").DetailedHTMLProps<import("react").FormHTMLAttributes<HTMLFormElement>, HTMLFormElement>, "is" | "children" | "translate" | "placeholder" | "defaultValue" | "slot" | "style" | "title" | "color" | "hidden" | "key" | "defaultChecked" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "id" | "lang" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "target" | "autoComplete" | "name" | "method" | "acceptCharset" | "action" | "encType" | "noValidate" | "onPointerEnterCapture" | "onPointerLeaveCapture"> & import("react").RefAttributes<HTMLFormElement>>, keyof import("react").Component<any, {}, any>>;
6
6
  /** @deprecated The traditional field layout is deprecated */
7
7
  export declare const StyledTraditionalFormLabel: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<Omit<import("react").HTMLAttributes<HTMLSpanElement> & import("../Typography").TypographyProps & import("react").RefAttributes<HTMLSpanElement>, "ref"> & {
8
8
  ref?: ((instance: HTMLSpanElement | null) => void) | import("react").RefObject<HTMLSpanElement> | null | undefined;
@@ -5,13 +5,13 @@ import { spacing } from '../_styles/spacing';
5
5
  import { formWrapper } from './Form.styles';
6
6
  export var StyledFormikForm = /*#__PURE__*/styled(FormikForm).withConfig({
7
7
  displayName: "StyledFormikForm",
8
- componentId: "core-12_49_1__sc-1ks7m0l-0"
8
+ componentId: "core-12_50_1__sc-1ks7m0l-0"
9
9
  })(["", ""], formWrapper);
10
10
 
11
11
  /** @deprecated The traditional field layout is deprecated */
12
12
  export var StyledTraditionalFormLabel = /*#__PURE__*/styled(Typography).withConfig({
13
13
  displayName: "StyledTraditionalFormLabel",
14
- componentId: "core-12_49_1__sc-1ks7m0l-1"
14
+ componentId: "core-12_50_1__sc-1ks7m0l-1"
15
15
  })(["display:inline-block;word-break:break-word;word-wrap:break-word;", ""], function (_ref) {
16
16
  var $view = _ref.$view;
17
17
  return ['create', 'update'].includes($view) && css(["padding-top:", "px;"], spacing.sm);
@@ -3,15 +3,15 @@ import { spacing } from '../_styles/spacing';
3
3
  var shimmerAnimation = /*#__PURE__*/keyframes(["0%{background-position:-1000px 500px;}100%{background-position:1000px 500px;}"]);
4
4
  export var PlaceholderItem = /*#__PURE__*/styled.div.withConfig({
5
5
  displayName: "PlaceholderItem",
6
- componentId: "core-12_49_1__sc-1nja302-0"
7
- })(["width:100%;min-height:24px;padding:10px 0;animation:", " 3s ease-out infinite;background:radial-gradient( ellipse at center,", " 0%,", " 50% );background-size:2000px 2000px;border-radius:", "px;"], shimmerAnimation, function (props) {
6
+ componentId: "core-12_50_1__sc-1nja302-0"
7
+ })(["width:100%;min-height:24px;padding:10px 0;animation:", " 3s ease-out infinite;background:radial-gradient( ellipse at center,", " 0%,", " 50% );background-size:2000px 2000px;border-radius:", "px;@media (prefers-reduced-motion:reduce){animation:none;}"], shimmerAnimation, function (props) {
8
8
  return props.$startGradientColor;
9
9
  }, function (props) {
10
10
  return props.$endGradientColor;
11
11
  }, spacing.sm);
12
12
  export var RoundPlaceholderItem = /*#__PURE__*/styled(PlaceholderItem).withConfig({
13
13
  displayName: "RoundPlaceholderItem",
14
- componentId: "core-12_49_1__sc-1nja302-1"
14
+ componentId: "core-12_50_1__sc-1nja302-1"
15
15
  })(["width:", ";height:", ";border-radius:50%;"], function (props) {
16
16
  return props.$small ? '24px' : '40px';
17
17
  }, function (props) {
@@ -1 +1 @@
1
- {"version":3,"file":"GhostPlaceholder.styles.js","names":["styled","keyframes","spacing","shimmerAnimation","PlaceholderItem","div","withConfig","displayName","componentId","props","$startGradientColor","$endGradientColor","sm","RoundPlaceholderItem","$small"],"sources":["../../src/GhostPlaceholder/GhostPlaceholder.styles.tsx"],"sourcesContent":["import styled, { keyframes } from 'styled-components'\nimport { spacing } from '../_styles/spacing'\nimport type {\n PlaceholderItemProps,\n RoundPlaceholderItemProps,\n} from './GhostPlaceholder.types'\n\nconst shimmerAnimation = keyframes`\n 0% {\n background-position: -1000px 500px;\n }\n 100% {\n background-position: 1000px 500px;\n }\n`\n\nexport const PlaceholderItem = styled.div<PlaceholderItemProps>`\n width: 100%;\n min-height: 24px;\n padding: 10px 0;\n\n animation: ${shimmerAnimation} 3s ease-out infinite;\n background: radial-gradient(\n ellipse at center,\n ${(props) => props.$startGradientColor} 0%,\n ${(props) => props.$endGradientColor} 50%\n );\n background-size: 2000px 2000px;\n border-radius: ${spacing.sm}px;\n`\n\nexport const RoundPlaceholderItem = styled(\n PlaceholderItem\n)<RoundPlaceholderItemProps>`\n width: ${(props) => (props.$small ? '24px' : '40px')};\n height: ${(props) => (props.$small ? '24px' : '40px')};\n border-radius: 50%;\n`\n"],"mappings":"AAAA,OAAOA,MAAM,IAAIC,SAAS,QAAQ,mBAAmB;AACrD,SAASC,OAAO,QAAQ,oBAAoB;AAM5C,IAAMC,gBAAgB,gBAAGF,SAAS,mFAOjC;AAED,OAAO,IAAMG,eAAe,gBAAGJ,MAAM,CAACK,GAAG,CAAAC,UAAA;EAAAC,WAAA;EAAAC,WAAA;AAAA,2MAK1BL,gBAAgB,EAGzB,UAACM,KAAK;EAAA,OAAKA,KAAK,CAACC,mBAAmB;AAAA,GACpC,UAACD,KAAK;EAAA,OAAKA,KAAK,CAACE,iBAAiB;AAAA,GAGrBT,OAAO,CAACU,EAAE,CAC5B;AAED,OAAO,IAAMC,oBAAoB,gBAAGb,MAAM,CACxCI,eACF,CAAC,CAAAE,UAAA;EAAAC,WAAA;EAAAC,WAAA;AAAA,kDACU,UAACC,KAAK;EAAA,OAAMA,KAAK,CAACK,MAAM,GAAG,MAAM,GAAG,MAAM;AAAA,CAAC,EAC1C,UAACL,KAAK;EAAA,OAAMA,KAAK,CAACK,MAAM,GAAG,MAAM,GAAG,MAAM;AAAA,CAAC,CAEtD"}
1
+ {"version":3,"file":"GhostPlaceholder.styles.js","names":["styled","keyframes","spacing","shimmerAnimation","PlaceholderItem","div","withConfig","displayName","componentId","props","$startGradientColor","$endGradientColor","sm","RoundPlaceholderItem","$small"],"sources":["../../src/GhostPlaceholder/GhostPlaceholder.styles.tsx"],"sourcesContent":["import styled, { keyframes } from 'styled-components'\nimport { spacing } from '../_styles/spacing'\nimport type {\n PlaceholderItemProps,\n RoundPlaceholderItemProps,\n} from './GhostPlaceholder.types'\n\nconst shimmerAnimation = keyframes`\n 0% {\n background-position: -1000px 500px;\n }\n 100% {\n background-position: 1000px 500px;\n }\n`\n\nexport const PlaceholderItem = styled.div<PlaceholderItemProps>`\n width: 100%;\n min-height: 24px;\n padding: 10px 0;\n\n animation: ${shimmerAnimation} 3s ease-out infinite;\n background: radial-gradient(\n ellipse at center,\n ${(props) => props.$startGradientColor} 0%,\n ${(props) => props.$endGradientColor} 50%\n );\n background-size: 2000px 2000px;\n border-radius: ${spacing.sm}px;\n\n @media (prefers-reduced-motion: reduce) {\n animation: none;\n }\n`\n\nexport const RoundPlaceholderItem = styled(\n PlaceholderItem\n)<RoundPlaceholderItemProps>`\n width: ${(props) => (props.$small ? '24px' : '40px')};\n height: ${(props) => (props.$small ? '24px' : '40px')};\n border-radius: 50%;\n`\n"],"mappings":"AAAA,OAAOA,MAAM,IAAIC,SAAS,QAAQ,mBAAmB;AACrD,SAASC,OAAO,QAAQ,oBAAoB;AAM5C,IAAMC,gBAAgB,gBAAGF,SAAS,mFAOjC;AAED,OAAO,IAAMG,eAAe,gBAAGJ,MAAM,CAACK,GAAG,CAAAC,UAAA;EAAAC,WAAA;EAAAC,WAAA;AAAA,kQAK1BL,gBAAgB,EAGzB,UAACM,KAAK;EAAA,OAAKA,KAAK,CAACC,mBAAmB;AAAA,GACpC,UAACD,KAAK;EAAA,OAAKA,KAAK,CAACE,iBAAiB;AAAA,GAGrBT,OAAO,CAACU,EAAE,CAK5B;AAED,OAAO,IAAMC,oBAAoB,gBAAGb,MAAM,CACxCI,eACF,CAAC,CAAAE,UAAA;EAAAC,WAAA;EAAAC,WAAA;AAAA,kDACU,UAACC,KAAK;EAAA,OAAMA,KAAK,CAACK,MAAM,GAAG,MAAM,GAAG,MAAM;AAAA,CAAC,EAC1C,UAACL,KAAK;EAAA,OAAMA,KAAK,CAACK,MAAM,GAAG,MAAM,GAAG,MAAM;AAAA,CAAC,CAEtD"}
@@ -1,6 +1,16 @@
1
1
  import type { ColorPaletteObject } from '../_styles/colors';
2
2
  import type { Props } from '../_utils/types';
3
3
  declare type Shape = 'default' | 'round';
4
+ /**
5
+ * @a11y `GhostPlaceholder` is a decorative loading indicator. Wrap it (or the
6
+ * region it occupies) in a container with `aria-busy="true"` while content is
7
+ * loading, and set `aria-busy="false"` (or remove the attribute) once the real
8
+ * content has rendered. This is the primary way loading state is communicated
9
+ * to assistive technologies.
10
+ *
11
+ * The shimmer animation is automatically disabled for users who have
12
+ * `prefers-reduced-motion: reduce` set.
13
+ */
4
14
  export interface GhostPlaceholderProps extends Props {
5
15
  /**
6
16
  * Possible shapes are 'default' and 'round'
@@ -1 +1 @@
1
- {"version":3,"file":"GhostPlaceholder.types.js","names":[],"sources":["../../src/GhostPlaceholder/GhostPlaceholder.types.tsx"],"sourcesContent":["import type { ColorPaletteObject } from '../_styles/colors'\nimport type { Props } from '../_utils/types'\n\ntype Shape = 'default' | 'round'\n\nexport interface GhostPlaceholderProps extends Props {\n /**\n * Possible shapes are 'default' and 'round'\n * @default 'default'\n * @since 12.11.0\n */\n shape?: Shape\n /**\n * Will display smaller version of the placeholder instead of full width\n * @default 'false'\n * @since 12.11.0\n */\n small?: boolean\n /**\n * The starting color of the gradient\n * @default gray94\n * @since 12.11.0\n */\n startGradientColor?: ColorPaletteObject | string\n /**\n * The ending color of the gradient\n * @default gray20\n * @since 12.11.0\n */\n endGradientColor?: ColorPaletteObject | string\n}\n\nexport interface PlaceholderItemProps {\n $startGradientColor?: GhostPlaceholderProps['startGradientColor']\n $endGradientColor?: GhostPlaceholderProps['endGradientColor']\n}\n\nexport interface RoundPlaceholderItemProps extends PlaceholderItemProps {\n $small?: boolean\n}\n"],"mappings":""}
1
+ {"version":3,"file":"GhostPlaceholder.types.js","names":[],"sources":["../../src/GhostPlaceholder/GhostPlaceholder.types.tsx"],"sourcesContent":["import type { ColorPaletteObject } from '../_styles/colors'\nimport type { Props } from '../_utils/types'\n\ntype Shape = 'default' | 'round'\n\n/**\n * @a11y `GhostPlaceholder` is a decorative loading indicator. Wrap it (or the\n * region it occupies) in a container with `aria-busy=\"true\"` while content is\n * loading, and set `aria-busy=\"false\"` (or remove the attribute) once the real\n * content has rendered. This is the primary way loading state is communicated\n * to assistive technologies.\n *\n * The shimmer animation is automatically disabled for users who have\n * `prefers-reduced-motion: reduce` set.\n */\nexport interface GhostPlaceholderProps extends Props {\n /**\n * Possible shapes are 'default' and 'round'\n * @default 'default'\n * @since 12.11.0\n */\n shape?: Shape\n /**\n * Will display smaller version of the placeholder instead of full width\n * @default 'false'\n * @since 12.11.0\n */\n small?: boolean\n /**\n * The starting color of the gradient\n * @default gray94\n * @since 12.11.0\n */\n startGradientColor?: ColorPaletteObject | string\n /**\n * The ending color of the gradient\n * @default gray20\n * @since 12.11.0\n */\n endGradientColor?: ColorPaletteObject | string\n}\n\nexport interface PlaceholderItemProps {\n $startGradientColor?: GhostPlaceholderProps['startGradientColor']\n $endGradientColor?: GhostPlaceholderProps['endGradientColor']\n}\n\nexport interface RoundPlaceholderItemProps extends PlaceholderItemProps {\n $small?: boolean\n}\n"],"mappings":""}
@@ -75,7 +75,7 @@ var getRowGutterVertical = function getRowGutterVertical(gutterY, breakpoint) {
75
75
  };
76
76
  export var StyledGridRow = /*#__PURE__*/styled.div.withConfig({
77
77
  displayName: "StyledGridRow",
78
- componentId: "core-12_49_1__sc-8pinsp-0"
78
+ componentId: "core-12_50_1__sc-8pinsp-0"
79
79
  })(["", " display:flex;flex-wrap:wrap;"], function (_ref) {
80
80
  var $gutterX = _ref.$gutterX,
81
81
  $gutterY = _ref.$gutterY;
@@ -87,7 +87,7 @@ export var StyledGridRow = /*#__PURE__*/styled.div.withConfig({
87
87
  });
88
88
  export var StyledGridCol = /*#__PURE__*/styled.div.withConfig({
89
89
  displayName: "StyledGridCol",
90
- componentId: "core-12_49_1__sc-8pinsp-1"
90
+ componentId: "core-12_50_1__sc-8pinsp-1"
91
91
  })(["flex-shrink:0;width:100%;max-width:100%;", ""], function (_ref2) {
92
92
  var $span = _ref2.$span,
93
93
  $offset = _ref2.$offset,
@@ -3,7 +3,7 @@ import { MultiSelect } from '../MultiSelect/MultiSelect';
3
3
  import { colors } from '../_styles/colors';
4
4
  export var StyledGroupSelectOption = /*#__PURE__*/styled(MultiSelect.Option).withConfig({
5
5
  displayName: "StyledGroupSelectOption",
6
- componentId: "core-12_49_1__sc-u5gu8j-0"
6
+ componentId: "core-12_50_1__sc-u5gu8j-0"
7
7
  })(["", ""], function (_ref) {
8
8
  var disabled = _ref.disabled;
9
9
  return disabled && css(["color:", ";cursor:not-allowed;a,a:hover{color:", ";text-decoration:none;}"], colors.gray70, colors.gray70);
@@ -16,6 +16,6 @@ export function getInputStyles(_ref) {
16
16
  }
17
17
  export var StyledInput = /*#__PURE__*/styled.input.withConfig({
18
18
  displayName: "StyledInput",
19
- componentId: "core-12_49_1__sc-12sjkxg-0"
19
+ componentId: "core-12_50_1__sc-12sjkxg-0"
20
20
  })(["", " padding:0 ", "px;&::-ms-clear{display:none;}&[type='number']{-moz-appearance:textfield;&::-webkit-inner-spin-button,&::-webkit-outer-spin-button{-webkit-appearance:none;margin:0;}}"], getInputStyles, spacing.md);
21
21
  //# sourceMappingURL=Input.styles.js.map
@@ -17,6 +17,6 @@ function getLinkColors(_ref) {
17
17
  }
18
18
  export var StyledLink = /*#__PURE__*/styled.a.withConfig({
19
19
  displayName: "StyledLink",
20
- componentId: "core-12_49_1__sc-jfowrl-0"
20
+ componentId: "core-12_50_1__sc-jfowrl-0"
21
21
  })(["text-decoration:underline;&:hover{cursor:pointer;text-decoration:underline;}", " &.focus,&:focus{", ";}", ""], focusable, getBorderRadius('md'), getLinkColors);
22
22
  //# sourceMappingURL=Link.styles.js.map
@@ -3,19 +3,19 @@ import { colors } from '../_styles/colors';
3
3
  import { spacing } from '../_styles/spacing';
4
4
  export var StyledListPageMain = /*#__PURE__*/styled.div.withConfig({
5
5
  displayName: "StyledListPageMain",
6
- componentId: "core-12_49_1__sc-1eq7fzi-0"
6
+ componentId: "core-12_50_1__sc-1eq7fzi-0"
7
7
  })(["display:flex;flex:1 0 auto;flex-direction:column;min-width:0;padding:", "px ", "px;width:100%;"], spacing.lg, spacing.xl);
8
8
  export var StyledListPageBanner = /*#__PURE__*/styled.div.withConfig({
9
9
  displayName: "StyledListPageBanner",
10
- componentId: "core-12_49_1__sc-1eq7fzi-1"
10
+ componentId: "core-12_50_1__sc-1eq7fzi-1"
11
11
  })(["flex:0 0 auto;"]);
12
12
  export var StyledListPageToolHeader = /*#__PURE__*/styled.div.withConfig({
13
13
  displayName: "StyledListPageToolHeader",
14
- componentId: "core-12_49_1__sc-1eq7fzi-2"
14
+ componentId: "core-12_50_1__sc-1eq7fzi-2"
15
15
  })(["flex:0 0 auto;padding-bottom:", "px;"], spacing.lg);
16
16
  export var StyledListPageControl = /*#__PURE__*/styled.div.withConfig({
17
17
  displayName: "StyledListPageControl",
18
- componentId: "core-12_49_1__sc-1eq7fzi-3"
18
+ componentId: "core-12_50_1__sc-1eq7fzi-3"
19
19
  })(["flex:", ";", " ", ""], function (_ref) {
20
20
  var $block = _ref.$block;
21
21
  return $block ? '1 0 auto' : '0 0 auto';
@@ -32,18 +32,18 @@ export var StyledListPageControl = /*#__PURE__*/styled.div.withConfig({
32
32
  });
33
33
  export var StyledListPageContentControls = /*#__PURE__*/styled.div.withConfig({
34
34
  displayName: "StyledListPageContentControls",
35
- componentId: "core-12_49_1__sc-1eq7fzi-4"
35
+ componentId: "core-12_50_1__sc-1eq7fzi-4"
36
36
  })(["align-items:center;display:flex;flex:0 0 auto;justify-content:space-between;padding:", "px 0;", " + ", "{margin-left:", "px;}"], spacing.md, StyledListPageControl, StyledListPageControl, spacing.lg);
37
37
  export var StyledListPageBody = /*#__PURE__*/styled.div.withConfig({
38
38
  displayName: "StyledListPageBody",
39
- componentId: "core-12_49_1__sc-1eq7fzi-5"
39
+ componentId: "core-12_50_1__sc-1eq7fzi-5"
40
40
  })(["display:flex;flex:1 0 auto;padding-top:", "px;"], spacing.md);
41
41
  export var StyledListPageBodyContent = /*#__PURE__*/styled.div.withConfig({
42
42
  displayName: "StyledListPageBodyContent",
43
- componentId: "core-12_49_1__sc-1eq7fzi-6"
43
+ componentId: "core-12_50_1__sc-1eq7fzi-6"
44
44
  })(["flex:1 1 auto;"]);
45
45
  export var StyledListPage = /*#__PURE__*/styled.div.withConfig({
46
46
  displayName: "StyledListPage",
47
- componentId: "core-12_49_1__sc-1eq7fzi-7"
47
+ componentId: "core-12_50_1__sc-1eq7fzi-7"
48
48
  })(["display:flex;flex-direction:row;height:100%;width:100%;", " + ", "{padding-top:", "px;}", " + ", "{border-top-color:", ";border-top-style:solid;border-top-width:1px;}", " + ", ",", " + ", "{border-top-color:", ";border-top-style:solid;border-top-width:1px;}", " + ", "{padding-top:0;}"], StyledListPageBanner, StyledListPageToolHeader, spacing.lg, StyledListPageContentControls, StyledListPageContentControls, colors.gray85, StyledListPageToolHeader, StyledListPageContentControls, StyledListPageToolHeader, StyledListPageBody, colors.gray85, StyledListPageContentControls, StyledListPageBody);
49
49
  //# sourceMappingURL=ListPage.styles.js.map
@@ -7,11 +7,11 @@ export var loaderTransitionDuration = 250;
7
7
  var movingStripes = /*#__PURE__*/keyframes(["from{background-position:", "px 0;}100%{background-position:0 ", "px;}"], backgroundSize, backgroundSize);
8
8
  export var StyledLoader = /*#__PURE__*/styled.div.withConfig({
9
9
  displayName: "StyledLoader",
10
- componentId: "core-12_49_1__sc-wgvjj9-0"
10
+ componentId: "core-12_50_1__sc-wgvjj9-0"
11
11
  })(["display:block;height:100%;left:0;min-width:12px;position:absolute;transition:width ", "ms ease-out;top:0;"], loaderTransitionDuration);
12
12
  export var StyledGradient = /*#__PURE__*/styled.div.withConfig({
13
13
  displayName: "StyledGradient",
14
- componentId: "core-12_49_1__sc-wgvjj9-1"
14
+ componentId: "core-12_50_1__sc-wgvjj9-1"
15
15
  })(["height:100%;", ""], function (_ref) {
16
16
  var $animated = _ref.$animated;
17
17
  return $animated ? css(["@media (prefers-reduced-motion:no-preference){animation:", " 0.5s linear infinite;}background-image:linear-gradient( 45deg,", " 26%,", " 25%,", " 51%,", " 50%,", " 76%,", " 75%,", " );background-size:", "px ", "px;"], movingStripes, color1, color2, color2, color1, color1, color2, color2, backgroundSize, backgroundSize) : css(["background-color:", ";"], colors.blue50);
@@ -11,15 +11,15 @@ var optionMinHeight = 32;
11
11
  // Do not merge with StyledMenu, needed for max-height working in IE
12
12
  export var StyledWrapper = /*#__PURE__*/styled.div.withConfig({
13
13
  displayName: "StyledWrapper",
14
- componentId: "core-12_49_1__sc-z984sz-0"
14
+ componentId: "core-12_50_1__sc-z984sz-0"
15
15
  })(["border-radius:inherit;display:flex;max-height:inherit;min-width:inherit;outline:none;width:inherit;"]);
16
16
  export var StyledMenu = /*#__PURE__*/styled.div.withConfig({
17
17
  displayName: "StyledMenu",
18
- componentId: "core-12_49_1__sc-z984sz-1"
18
+ componentId: "core-12_50_1__sc-z984sz-1"
19
19
  })(["border-radius:inherit;display:flex;flex-direction:column;outline:0;width:100%;"]);
20
20
  export var StyledOptions = /*#__PURE__*/styled.div.withConfig({
21
21
  displayName: "StyledOptions",
22
- componentId: "core-12_49_1__sc-z984sz-2"
22
+ componentId: "core-12_50_1__sc-z984sz-2"
23
23
  })(["flex-basis:auto;flex-grow:1;flex-shrink:1;min-height:", "px;", ";padding:", "px 0;position:relative;&:focus-visible{", " margin:-1px;}ol&{padding:", "px 0;list-style-type:none;margin:0;}"], optionMinHeight, function (_ref) {
24
24
  var _ref$$scrollable = _ref.$scrollable,
25
25
  $scrollable = _ref$$scrollable === void 0 ? true : _ref$$scrollable;
@@ -27,27 +27,27 @@ export var StyledOptions = /*#__PURE__*/styled.div.withConfig({
27
27
  }, spacing.sm, getFocus(), spacing.sm);
28
28
  export var StyledGrip = /*#__PURE__*/styled.div.withConfig({
29
29
  displayName: "StyledGrip",
30
- componentId: "core-12_49_1__sc-z984sz-3"
30
+ componentId: "core-12_50_1__sc-z984sz-3"
31
31
  })(["padding:0 2px;height:24px;"]);
32
32
  export var StyledHeader = /*#__PURE__*/styled.div.withConfig({
33
33
  displayName: "StyledHeader",
34
- componentId: "core-12_49_1__sc-z984sz-4"
34
+ componentId: "core-12_50_1__sc-z984sz-4"
35
35
  })([""]);
36
36
  export var StyledSearch = /*#__PURE__*/styled.div.withConfig({
37
37
  displayName: "StyledSearch",
38
- componentId: "core-12_49_1__sc-z984sz-5"
38
+ componentId: "core-12_50_1__sc-z984sz-5"
39
39
  })(["padding:", "px ", "px ", "px;", " > *{pointer-events:none;}"], spacing.lg, spacing.lg, spacing.sm, StyledButton);
40
40
  export var StyledGroup = /*#__PURE__*/styled.div.withConfig({
41
41
  displayName: "StyledGroup",
42
- componentId: "core-12_49_1__sc-z984sz-6"
42
+ componentId: "core-12_50_1__sc-z984sz-6"
43
43
  })(["&:not(:first-child){margin-top:", "px;}"], spacing.md);
44
44
  export var StyledGroupLabel = /*#__PURE__*/styled.span.withConfig({
45
45
  displayName: "StyledGroupLabel",
46
- componentId: "core-12_49_1__sc-z984sz-7"
46
+ componentId: "core-12_50_1__sc-z984sz-7"
47
47
  })(["", " display:block;color:", ";font-weight:", ";padding:", "px ", "px;cursor:default;"], getTypographyIntent('body'), colors.gray15, typographyWeights.semibold, spacing.xs, spacing.lg);
48
48
  export var StyledItem = /*#__PURE__*/styled.div.withConfig({
49
49
  displayName: "StyledItem",
50
- componentId: "core-12_49_1__sc-z984sz-8"
50
+ componentId: "core-12_50_1__sc-z984sz-8"
51
51
  })(["", ";", " cursor:pointer;list-style-type:none;padding:", "px ", "px;a{color:", ";display:block;margin:-", "px -", "px;padding:", "px ", "px;text-decoration:none;&:hover{color:", ";text-decoration:none;}}&[data-highlighted='true']{background-color:", ";}", " ", "{color:inherit;cursor:pointer;}", " ", " ", ""], getTypographyIntent('body'), function (_ref2) {
52
52
  var as = _ref2.as;
53
53
  return as === 'a' && css(["display:block;text-decoration:none;"]);
@@ -76,10 +76,10 @@ export var StyledItem = /*#__PURE__*/styled.div.withConfig({
76
76
  });
77
77
  export var StyledDroppable = /*#__PURE__*/styled.div.withConfig({
78
78
  displayName: "StyledDroppable",
79
- componentId: "core-12_49_1__sc-z984sz-9"
79
+ componentId: "core-12_50_1__sc-z984sz-9"
80
80
  })(["", ",", "{padding-left:28px;}"], StyledGroup, StyledItem);
81
81
  export var StyledFooter = /*#__PURE__*/styled(Box).withConfig({
82
82
  displayName: "StyledFooter",
83
- componentId: "core-12_49_1__sc-z984sz-10"
83
+ componentId: "core-12_50_1__sc-z984sz-10"
84
84
  })(["border-top:1px solid ", ";border-bottom-left-radius:inherit;border-bottom-right-radius:inherit;"], colors.gray85);
85
85
  //# sourceMappingURL=MenuImperative.styles.js.map
@@ -1,6 +1,7 @@
1
1
  import { Warning } from '@procore/core-icons';
2
2
  import styled, { css } from 'styled-components';
3
3
  import { Card } from '../Card/Card';
4
+ import { StyledRequiredContainer } from '../Required/Required.styles';
4
5
  import { StyledSection, StyledSectionInner } from '../Section/Section.styles';
5
6
  import { Typography } from '../Typography/Typography';
6
7
  import { getTypographyIntent } from '../Typography/Typography.styles';
@@ -32,15 +33,15 @@ var screenWidthPixelBreakpoints = {
32
33
  };
33
34
  export var StyledModal = /*#__PURE__*/styled.div.withConfig({
34
35
  displayName: "StyledModal",
35
- componentId: "core-12_49_1__sc-1ijdug2-0"
36
+ componentId: "core-12_50_1__sc-1ijdug2-0"
36
37
  })(["display:flex;height:100vh;position:absolute;opacity:0;transition:0.3s opacity ease;width:100vw;z-index:0;pointer-events:none;&.", "{opacity:1;pointer-events:auto;}&.", "{opacity:0;pointer-events:none;}"], fadeInClassName, fadeOutClassName);
37
38
  export var StyledModalButtons = /*#__PURE__*/styled.div.withConfig({
38
39
  displayName: "StyledModalButtons",
39
- componentId: "core-12_49_1__sc-1ijdug2-1"
40
+ componentId: "core-12_50_1__sc-1ijdug2-1"
40
41
  })(["display:flex;flex:0 0 auto;margin-left:", "px;> * + *{margin-left:", "px;}"], spacing.lg, spacing.sm);
41
42
  export var StyledModalContainer = /*#__PURE__*/styled(Card).withConfig({
42
43
  displayName: "StyledModalContainer",
43
- componentId: "core-12_49_1__sc-1ijdug2-2"
44
+ componentId: "core-12_50_1__sc-1ijdug2-2"
44
45
  })(["display:flex;flex-direction:row;position:absolute;z-index:2;", " ", " ", ""], function (_ref) {
45
46
  var $compact = _ref.$compact;
46
47
  if (!$compact) {
@@ -64,28 +65,27 @@ export var StyledModalContainer = /*#__PURE__*/styled(Card).withConfig({
64
65
  });
65
66
  export var StyledModalFooter = /*#__PURE__*/styled.div.withConfig({
66
67
  displayName: "StyledModalFooter",
67
- componentId: "core-12_49_1__sc-1ijdug2-3"
68
- })(["align-items:center;display:flex;flex:0 0 auto;flex-wrap:wrap;justify-content:flex-end;padding:", "px ", "px ", "px;"], spacing.xl, spacing.xxl, spacing.xxl);
68
+ componentId: "core-12_50_1__sc-1ijdug2-3"
69
+ })(["align-items:center;display:flex;flex:0 0 auto;flex-wrap:wrap;justify-content:flex-end;padding:", "px;"], spacing.lg);
69
70
  export var StyledModalBody = /*#__PURE__*/styled.div.withConfig({
70
71
  displayName: "StyledModalBody",
71
- componentId: "core-12_49_1__sc-1ijdug2-4"
72
- })(["", " &:focus-visible{", "}box-sizing:border-box;color:", ";display:flex;flex-direction:column;overflow:auto;", " ", " > ", "{padding-left:0;padding-right:0;&:first-child > ", "{padding-top:0;}}", ""], getTypographyIntent('body'), getFocusInset(), colors.gray15, function (_ref4) {
72
+ componentId: "core-12_50_1__sc-1ijdug2-4"
73
+ })(["", " &:focus-visible{", "}box-sizing:border-box;color:", ";display:flex;flex-direction:column;overflow:auto;", " ", " > ", "{padding-left:0;padding-right:0;&:first-child > ", "{padding-top:0;}}> ", "{margin-bottom:", "px;}", ""], getTypographyIntent('body'), getFocusInset(), colors.gray15, function (_ref4) {
73
74
  var $noSideSpacing = _ref4.$noSideSpacing;
74
- return css(["padding:", "px ", "px;"], spacing.xl, $noSideSpacing ? 0 : spacing.xxl);
75
+ return css(["padding:", "px ", "px;"], spacing.lg, $noSideSpacing ? 0 : spacing.lg);
75
76
  }, function (_ref5) {
76
77
  var $compact = _ref5.$compact;
77
78
  if (!$compact) {
78
79
  // TODO deprecated, moving width up. delete line in breaking change
79
80
  return css(["max-width:", ";"], modalMaxWidth);
80
81
  }
81
- return css(["padding:8px 16px;"]);
82
- }, StyledSection, StyledSectionInner, function (_ref6) {
82
+ }, StyledSection, StyledSectionInner, StyledRequiredContainer, spacing.lg, function (_ref6) {
83
83
  var $isOverflowingY = _ref6.$isOverflowingY;
84
84
  return $isOverflowingY && css(["& + ", "{border-top-width:1px;border-top-style:solid;border-top-color:", ";", "{border-top:none;}}"], StyledModalFooter, colors.gray85, StyledModalFooterSummary);
85
85
  });
86
86
  export var StyledModalContent = /*#__PURE__*/styled.div.withConfig({
87
87
  displayName: "StyledModalContent",
88
- componentId: "core-12_49_1__sc-1ijdug2-5"
88
+ componentId: "core-12_50_1__sc-1ijdug2-5"
89
89
  })(["display:flex;flex-direction:column;max-height:90vh;overflow:hidden;width:100%;", ""], function (_ref7) {
90
90
  var _ref7$$compact = _ref7.$compact,
91
91
  $compact = _ref7$$compact === void 0 ? false : _ref7$$compact;
@@ -96,37 +96,30 @@ export var StyledModalContent = /*#__PURE__*/styled.div.withConfig({
96
96
  });
97
97
  export var StyledModalFooterNotation = /*#__PURE__*/styled(Typography).withConfig({
98
98
  displayName: "StyledModalFooterNotation",
99
- componentId: "core-12_49_1__sc-1ijdug2-6"
99
+ componentId: "core-12_50_1__sc-1ijdug2-6"
100
100
  })(["flex-grow:1;"]);
101
101
  export var StyledModalHeader = /*#__PURE__*/styled.div.withConfig({
102
102
  displayName: "StyledModalHeader",
103
- componentId: "core-12_49_1__sc-1ijdug2-7"
104
- })(["align-items:flex-start;color:", ";display:flex;flex:0 0 auto;position:relative;", " ", ""], colors.gray10, function (_ref8) {
103
+ componentId: "core-12_50_1__sc-1ijdug2-7"
104
+ })(["align-items:flex-start;color:", ";display:flex;flex:0 0 auto;position:relative;", " padding:", "px"], colors.gray10, function (_ref8) {
105
105
  var $compact = _ref8.$compact,
106
106
  $isBodyScrolled = _ref8.$isBodyScrolled;
107
107
  if ($compact) {
108
108
  return css(["border-bottom:1px solid ", ";"], colors.gray85);
109
109
  }
110
110
  return css(["border-bottom:1px solid ", ";"], $isBodyScrolled ? colors.gray85 : 'transparent');
111
- }, function (_ref9) {
112
- var $compact = _ref9.$compact;
113
- var spacings = "".concat(spacing.xl, "px ").concat(spacing.xxl, "px");
114
- if ($compact) {
115
- spacings = "".concat(spacing.md, "px ").concat(spacing.lg, "px");
116
- }
117
- return css(["padding:", ";"], spacings);
118
- });
111
+ }, spacing.lg);
119
112
  export var StyledModalHeading = /*#__PURE__*/styled.div.withConfig({
120
113
  displayName: "StyledModalHeading",
121
- componentId: "core-12_49_1__sc-1ijdug2-8"
122
- })(["", " align-items:center;display:flex;flex:1 1 auto;min-height:36px;padding-right:", "px;", ""], function (_ref0) {
123
- var $compact = _ref0.$compact;
114
+ componentId: "core-12_50_1__sc-1ijdug2-8"
115
+ })(["", " align-items:center;display:flex;flex:1 1 auto;min-height:36px;padding-right:", "px;", ""], function (_ref9) {
116
+ var $compact = _ref9.$compact;
124
117
  return getTypographyIntent($compact ? 'h3' : 'h2');
118
+ }, function (_ref0) {
119
+ var $compact = _ref0.$compact;
120
+ return $compact ? 36 : spacing.lg;
125
121
  }, function (_ref1) {
126
122
  var $compact = _ref1.$compact;
127
- return $compact ? 36 : spacing.lg;
128
- }, function (_ref10) {
129
- var $compact = _ref10.$compact;
130
123
  if (!$compact) {
131
124
  return '';
132
125
  }
@@ -134,18 +127,18 @@ export var StyledModalHeading = /*#__PURE__*/styled.div.withConfig({
134
127
  });
135
128
  export var StyledModalCancel = /*#__PURE__*/styled.div.withConfig({
136
129
  displayName: "StyledModalCancel",
137
- componentId: "core-12_49_1__sc-1ijdug2-9"
130
+ componentId: "core-12_50_1__sc-1ijdug2-9"
138
131
  })(["flex:0 0 auto;"]);
139
132
  export var StyledModalScrim = /*#__PURE__*/styled.div.withConfig({
140
133
  displayName: "StyledModalScrim",
141
- componentId: "core-12_49_1__sc-1ijdug2-10"
134
+ componentId: "core-12_50_1__sc-1ijdug2-10"
142
135
  })(["background:hsla(200,8%,10%,0.6);height:100vh;left:0;position:absolute;top:0;width:100vw;z-index:1;"]);
143
136
  export var StyledModalWarningIcon = /*#__PURE__*/styled(Warning).withConfig({
144
137
  displayName: "StyledModalWarningIcon",
145
- componentId: "core-12_49_1__sc-1ijdug2-11"
138
+ componentId: "core-12_50_1__sc-1ijdug2-11"
146
139
  })(["color:", ";margin-right:", "px;"], colors.yellow40, spacing.sm);
147
140
  export var StyledModalFooterSummary = /*#__PURE__*/styled.div.withConfig({
148
141
  displayName: "StyledModalFooterSummary",
149
- componentId: "core-12_49_1__sc-1ijdug2-12"
150
- })(["", " border-top:1px solid ", ";border-bottom:1px solid ", ";padding:", "px ", "px;color:", ";font-style:italic;background-color:", ";margin:-", "px -", "px ", "px -", "px;flex:1 1 100%;"], getTypographyIntent('small'), colors.gray85, colors.gray85, spacing.md, spacing.xxl, colors.gray15, colors.gray98, spacing.xl, spacing.xxl, spacing.xl, spacing.xxl);
142
+ componentId: "core-12_50_1__sc-1ijdug2-12"
143
+ })(["", " background-color:", ";border-bottom:1px solid ", ";border-top:1px solid ", ";color:", ";flex:1 1 100%;font-style:italic;margin:-", "px -", "px ", "px;padding:", "px;"], getTypographyIntent('small'), colors.gray98, colors.gray85, colors.gray85, colors.gray15, spacing.lg, spacing.lg, spacing.lg, spacing.lg);
151
144
  //# sourceMappingURL=Modal.styles.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Modal.styles.js","names":["Warning","styled","css","Card","StyledSection","StyledSectionInner","Typography","getTypographyIntent","colors","getFocusInset","spacing","fadeInClassName","fadeOutClassName","modalMaxWidth","modalPixelGutter","xl","modalPixelWidths","sm","md","lg","compactModalFullscreenMaxHeight","screenWidthPixelBreakpoints","mobile","small","min","max","large","StyledModal","div","withConfig","displayName","componentId","StyledModalButtons","StyledModalContainer","_ref","$compact","_ref2","$placement","_ref3","$width","StyledModalBody","StyledModalFooter","xxl","gray15","_ref4","$noSideSpacing","_ref5","_ref6","$isOverflowingY","gray85","StyledModalFooterSummary","StyledModalContent","_ref7","_ref7$$compact","StyledModalFooterNotation","StyledModalHeader","gray10","_ref8","$isBodyScrolled","_ref9","spacings","concat","StyledModalHeading","_ref0","_ref1","_ref10","StyledModalCancel","StyledModalScrim","StyledModalWarningIcon","yellow40","gray98"],"sources":["../../src/Modal/Modal.styles.ts"],"sourcesContent":["import { Warning } from '@procore/core-icons'\nimport styled, { css } from 'styled-components'\nimport { Card } from '../Card/Card'\nimport { StyledSection, StyledSectionInner } from '../Section/Section.styles'\nimport { Typography } from '../Typography/Typography'\nimport { getTypographyIntent } from '../Typography/Typography.styles'\nimport { colors } from '../_styles/colors'\nimport { getFocusInset } from '../_styles/mixins'\nimport { spacing } from '../_styles/spacing'\nimport type { ModalPlacement, ModalWidth } from './Modal.types'\n\nexport const fadeInClassName = 'fade-in'\nexport const fadeOutClassName = 'fade-out'\nexport const modalMaxWidth = '640px'\nexport const modalPixelGutter = spacing.xl\nexport const modalPixelWidths = {\n sm: 432,\n md: 688,\n lg: 1152,\n xl: 1920,\n}\n\nconst compactModalFullscreenMaxHeight = 940\nconst screenWidthPixelBreakpoints = {\n mobile: {\n small: {\n min: 0,\n max: 439,\n },\n large: {\n min: 440,\n max: 767,\n },\n },\n}\n\nexport const StyledModal = styled.div`\n display: flex;\n height: 100vh;\n position: absolute;\n opacity: 0;\n transition: 0.3s opacity ease;\n width: 100vw;\n z-index: 0;\n pointer-events: none;\n\n &.${fadeInClassName} {\n opacity: 1;\n pointer-events: auto;\n }\n\n &.${fadeOutClassName} {\n opacity: 0;\n pointer-events: none;\n }\n`\n\nexport const StyledModalButtons = styled.div`\n display: flex;\n flex: 0 0 auto;\n margin-left: ${spacing.lg}px;\n\n > * + * {\n margin-left: ${spacing.sm}px;\n }\n`\n\nexport const StyledModalContainer = styled(Card)<{\n $compact: boolean\n $placement: ModalPlacement\n $width?: ModalWidth\n}>`\n display: flex;\n flex-direction: row;\n position: absolute;\n z-index: 2;\n\n ${({ $compact }) => {\n if (!$compact) {\n return ''\n }\n\n return css`\n @media (max-width: ${screenWidthPixelBreakpoints.mobile.small\n .max}px) and (max-height: ${compactModalFullscreenMaxHeight}px) {\n border-radius: 0;\n height: 100vh;\n width: 100vw;\n }\n @media (min-width: ${screenWidthPixelBreakpoints.mobile.large\n .min}px) and (max-width: ${screenWidthPixelBreakpoints.mobile.large\n .max}px) {\n max-height: calc(100vh - 24px);\n width: 416px;\n }\n @media (min-height: ${compactModalFullscreenMaxHeight + 1}px) {\n height: 916px;\n max-width: 100vw;\n }\n `\n }}\n\n ${({ $placement }) => {\n if ($placement === 'top') {\n return css`\n top: 5vh;\n `\n }\n\n return css`\n top: 50vh;\n transform: translateY(-50%);\n `\n }}\n\n ${({ $width, $placement }) => {\n if ($width) {\n return css`\n left: ${modalPixelGutter}px;\n right: ${modalPixelGutter}px;\n margin-left: auto;\n margin-right: auto;\n max-width: ${modalPixelWidths[$width]}px;\n\n // TODO deprecated, moving width up. delete line in breaking change\n ${StyledModalBody} {\n max-width: none;\n }\n `\n }\n // TODO deprecated, uses new centering, required width\n return css`\n left: 50vw;\n transform: translateX(-50%)\n ${$placement === 'center' && 'translateY(-50%)'};\n `\n }}\n`\n\nexport const StyledModalFooter = styled.div`\n align-items: center;\n display: flex;\n flex: 0 0 auto;\n flex-wrap: wrap;\n justify-content: flex-end;\n padding: ${spacing.xl}px ${spacing.xxl}px ${spacing.xxl}px;\n`\n\nexport const StyledModalBody = styled.div<{\n $compact: boolean\n $isOverflowingY: boolean\n $noSideSpacing: boolean\n}>`\n ${getTypographyIntent('body')}\n\n &:focus-visible {\n ${getFocusInset()}\n }\n\n box-sizing: border-box;\n color: ${colors.gray15};\n display: flex;\n flex-direction: column;\n overflow: auto;\n ${({ $noSideSpacing }) => {\n return css`\n padding: ${spacing.xl}px ${$noSideSpacing ? 0 : spacing.xxl}px;\n `\n }}\n\n ${({ $compact }) => {\n if (!$compact) {\n // TODO deprecated, moving width up. delete line in breaking change\n return css`\n max-width: ${modalMaxWidth};\n `\n }\n\n return css`\n padding: 8px 16px;\n `\n }}\n\n > ${StyledSection} {\n padding-left: 0;\n padding-right: 0;\n\n &:first-child > ${StyledSectionInner} {\n padding-top: 0;\n }\n }\n\n ${({ $isOverflowingY }) =>\n $isOverflowingY &&\n css`\n & + ${StyledModalFooter} {\n border-top-width: 1px;\n border-top-style: solid;\n border-top-color: ${colors.gray85};\n ${StyledModalFooterSummary} {\n border-top: none;\n }\n }\n `}\n`\n\nexport const StyledModalContent = styled.div<{ $compact?: boolean }>`\n display: flex;\n flex-direction: column;\n max-height: 90vh;\n overflow: hidden;\n width: 100%;\n\n ${({ $compact = false }) => {\n if (!$compact) {\n return ''\n }\n\n return css`\n max-height: unset;\n `\n }}\n`\n\nexport const StyledModalFooterNotation = styled(Typography)`\n flex-grow: 1;\n`\n\nexport const StyledModalHeader = styled.div<{\n $compact: boolean\n $isBodyScrolled: boolean\n}>`\n align-items: flex-start;\n color: ${colors.gray10};\n display: flex;\n flex: 0 0 auto;\n position: relative;\n ${({ $compact, $isBodyScrolled }) => {\n if ($compact) {\n return css`\n border-bottom: 1px solid ${colors.gray85};\n `\n }\n\n return css`\n border-bottom: 1px solid\n ${$isBodyScrolled ? colors.gray85 : 'transparent'};\n `\n }}\n\n ${({ $compact }) => {\n let spacings = `${spacing.xl}px ${spacing.xxl}px`\n\n if ($compact) {\n spacings = `${spacing.md}px ${spacing.lg}px`\n }\n\n return css`\n padding: ${spacings};\n `\n }}\n`\n\nexport const StyledModalHeading = styled.div<{ $compact: boolean }>`\n ${({ $compact }) => getTypographyIntent($compact ? 'h3' : 'h2')}\n align-items: center;\n display: flex;\n flex: 1 1 auto;\n min-height: 36px;\n padding-right: ${({ $compact }) => ($compact ? 36 : spacing.lg)}px;\n\n ${({ $compact }) => {\n if (!$compact) {\n return ''\n }\n\n return css`\n min-height: unset;\n `\n }}\n`\n\nexport const StyledModalCancel = styled.div`\n flex: 0 0 auto;\n`\n\nexport const StyledModalScrim = styled.div`\n background: hsla(200, 8%, 10%, 0.6);\n height: 100vh;\n left: 0;\n position: absolute;\n top: 0;\n width: 100vw;\n z-index: 1;\n`\n\nexport const StyledModalWarningIcon = styled(Warning)`\n color: ${colors.yellow40};\n margin-right: ${spacing.sm}px;\n`\nexport const StyledModalFooterSummary = styled.div`\n ${getTypographyIntent('small')}\n border-top: 1px solid ${colors.gray85};\n border-bottom: 1px solid ${colors.gray85};\n padding: ${spacing.md}px ${spacing.xxl}px;\n color: ${colors.gray15};\n font-style: italic;\n background-color: ${colors.gray98};\n margin: -${spacing.xl}px -${spacing.xxl}px ${spacing.xl}px -${spacing.xxl}px;\n flex: 1 1 100%;\n`\n"],"mappings":"AAAA,SAASA,OAAO,QAAQ,qBAAqB;AAC7C,OAAOC,MAAM,IAAIC,GAAG,QAAQ,mBAAmB;AAC/C,SAASC,IAAI,QAAQ,cAAc;AACnC,SAASC,aAAa,EAAEC,kBAAkB,QAAQ,2BAA2B;AAC7E,SAASC,UAAU,QAAQ,0BAA0B;AACrD,SAASC,mBAAmB,QAAQ,iCAAiC;AACrE,SAASC,MAAM,QAAQ,mBAAmB;AAC1C,SAASC,aAAa,QAAQ,mBAAmB;AACjD,SAASC,OAAO,QAAQ,oBAAoB;AAG5C,OAAO,IAAMC,eAAe,GAAG,SAAS;AACxC,OAAO,IAAMC,gBAAgB,GAAG,UAAU;AAC1C,OAAO,IAAMC,aAAa,GAAG,OAAO;AACpC,OAAO,IAAMC,gBAAgB,GAAGJ,OAAO,CAACK,EAAE;AAC1C,OAAO,IAAMC,gBAAgB,GAAG;EAC9BC,EAAE,EAAE,GAAG;EACPC,EAAE,EAAE,GAAG;EACPC,EAAE,EAAE,IAAI;EACRJ,EAAE,EAAE;AACN,CAAC;AAED,IAAMK,+BAA+B,GAAG,GAAG;AAC3C,IAAMC,2BAA2B,GAAG;EAClCC,M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ACK,EAAE,EAAOL,OAAO,CAACgC,GAAG,EAAMhC,OAAO,CAACK,EAAE,EAAOL,OAAO,CAACgC,GAAG,CAE1E"}
1
+ {"version":3,"file":"Modal.styles.js","names":["Warning","styled","css","Card","StyledRequiredContainer","StyledSection","StyledSectionInner","Typography","getTypographyIntent","colors","getFocusInset","spacing","fadeInClassName","fadeOutClassName","modalMaxWidth","modalPixelGutter","xl","modalPixelWidths","sm","md","lg","compactModalFullscreenMaxHeight","screenWidthPixelBreakpoints","mobile","small","min","max","large","StyledModal","div","withConfig","displayName","componentId","StyledModalButtons","StyledModalContainer","_ref","$compact","_ref2","$placement","_ref3","$width","StyledModalBody","StyledModalFooter","gray15","_ref4","$noSideSpacing","_ref5","_ref6","$isOverflowingY","gray85","StyledModalFooterSummary","StyledModalContent","_ref7","_ref7$$compact","StyledModalFooterNotation","StyledModalHeader","gray10","_ref8","$isBodyScrolled","StyledModalHeading","_ref9","_ref0","_ref1","StyledModalCancel","StyledModalScrim","StyledModalWarningIcon","yellow40","gray98"],"sources":["../../src/Modal/Modal.styles.ts"],"sourcesContent":["import { Warning } from '@procore/core-icons'\nimport styled, { css } from 'styled-components'\nimport { Card } from '../Card/Card'\nimport { StyledRequiredContainer } from '../Required/Required.styles'\nimport { StyledSection, StyledSectionInner } from '../Section/Section.styles'\nimport { Typography } from '../Typography/Typography'\nimport { getTypographyIntent } from '../Typography/Typography.styles'\nimport { colors } from '../_styles/colors'\nimport { getFocusInset } from '../_styles/mixins'\nimport { spacing } from '../_styles/spacing'\nimport type { ModalPlacement, ModalWidth } from './Modal.types'\n\nexport const fadeInClassName = 'fade-in'\nexport const fadeOutClassName = 'fade-out'\nexport const modalMaxWidth = '640px'\nexport const modalPixelGutter = spacing.xl\nexport const modalPixelWidths = {\n sm: 432,\n md: 688,\n lg: 1152,\n xl: 1920,\n}\n\nconst compactModalFullscreenMaxHeight = 940\nconst screenWidthPixelBreakpoints = {\n mobile: {\n small: {\n min: 0,\n max: 439,\n },\n large: {\n min: 440,\n max: 767,\n },\n },\n}\n\nexport const StyledModal = styled.div`\n display: flex;\n height: 100vh;\n position: absolute;\n opacity: 0;\n transition: 0.3s opacity ease;\n width: 100vw;\n z-index: 0;\n pointer-events: none;\n\n &.${fadeInClassName} {\n opacity: 1;\n pointer-events: auto;\n }\n\n &.${fadeOutClassName} {\n opacity: 0;\n pointer-events: none;\n }\n`\n\nexport const StyledModalButtons = styled.div`\n display: flex;\n flex: 0 0 auto;\n margin-left: ${spacing.lg}px;\n\n > * + * {\n margin-left: ${spacing.sm}px;\n }\n`\n\nexport const StyledModalContainer = styled(Card)<{\n $compact: boolean\n $placement: ModalPlacement\n $width?: ModalWidth\n}>`\n display: flex;\n flex-direction: row;\n position: absolute;\n z-index: 2;\n\n ${({ $compact }) => {\n if (!$compact) {\n return ''\n }\n\n return css`\n @media (max-width: ${screenWidthPixelBreakpoints.mobile.small\n .max}px) and (max-height: ${compactModalFullscreenMaxHeight}px) {\n border-radius: 0;\n height: 100vh;\n width: 100vw;\n }\n @media (min-width: ${screenWidthPixelBreakpoints.mobile.large\n .min}px) and (max-width: ${screenWidthPixelBreakpoints.mobile.large\n .max}px) {\n max-height: calc(100vh - 24px);\n width: 416px;\n }\n @media (min-height: ${compactModalFullscreenMaxHeight + 1}px) {\n height: 916px;\n max-width: 100vw;\n }\n `\n }}\n\n ${({ $placement }) => {\n if ($placement === 'top') {\n return css`\n top: 5vh;\n `\n }\n\n return css`\n top: 50vh;\n transform: translateY(-50%);\n `\n }}\n\n ${({ $width, $placement }) => {\n if ($width) {\n return css`\n left: ${modalPixelGutter}px;\n right: ${modalPixelGutter}px;\n margin-left: auto;\n margin-right: auto;\n max-width: ${modalPixelWidths[$width]}px;\n\n // TODO deprecated, moving width up. delete line in breaking change\n ${StyledModalBody} {\n max-width: none;\n }\n `\n }\n // TODO deprecated, uses new centering, required width\n return css`\n left: 50vw;\n transform: translateX(-50%)\n ${$placement === 'center' && 'translateY(-50%)'};\n `\n }}\n`\n\nexport const StyledModalFooter = styled.div`\n align-items: center;\n display: flex;\n flex: 0 0 auto;\n flex-wrap: wrap;\n justify-content: flex-end;\n padding: ${spacing.lg}px;\n`\n\nexport const StyledModalBody = styled.div<{\n $compact: boolean\n $isOverflowingY: boolean\n $noSideSpacing: boolean\n}>`\n ${getTypographyIntent('body')}\n\n &:focus-visible {\n ${getFocusInset()}\n }\n\n box-sizing: border-box;\n color: ${colors.gray15};\n display: flex;\n flex-direction: column;\n overflow: auto;\n\n ${({ $noSideSpacing }) => {\n return css`\n padding: ${spacing.lg}px ${$noSideSpacing ? 0 : spacing.lg}px;\n `\n }}\n\n ${({ $compact }) => {\n if (!$compact) {\n // TODO deprecated, moving width up. delete line in breaking change\n return css`\n max-width: ${modalMaxWidth};\n `\n }\n }}\n\n > ${StyledSection} {\n padding-left: 0;\n padding-right: 0;\n\n &:first-child > ${StyledSectionInner} {\n padding-top: 0;\n }\n }\n\n > ${StyledRequiredContainer} {\n margin-bottom: ${spacing.lg}px;\n }\n\n ${({ $isOverflowingY }) =>\n $isOverflowingY &&\n css`\n & + ${StyledModalFooter} {\n border-top-width: 1px;\n border-top-style: solid;\n border-top-color: ${colors.gray85};\n ${StyledModalFooterSummary} {\n border-top: none;\n }\n }\n `}\n`\n\nexport const StyledModalContent = styled.div<{ $compact?: boolean }>`\n display: flex;\n flex-direction: column;\n max-height: 90vh;\n overflow: hidden;\n width: 100%;\n\n ${({ $compact = false }) => {\n if (!$compact) {\n return ''\n }\n\n return css`\n max-height: unset;\n `\n }}\n`\n\nexport const StyledModalFooterNotation = styled(Typography)`\n flex-grow: 1;\n`\n\nexport const StyledModalHeader = styled.div<{\n $compact: boolean\n $isBodyScrolled: boolean\n}>`\n align-items: flex-start;\n color: ${colors.gray10};\n display: flex;\n flex: 0 0 auto;\n position: relative;\n ${({ $compact, $isBodyScrolled }) => {\n if ($compact) {\n return css`\n border-bottom: 1px solid ${colors.gray85};\n `\n }\n\n return css`\n border-bottom: 1px solid\n ${$isBodyScrolled ? colors.gray85 : 'transparent'};\n `\n }}\n\n padding: ${spacing.lg}px\n`\n\nexport const StyledModalHeading = styled.div<{ $compact: boolean }>`\n ${({ $compact }) => getTypographyIntent($compact ? 'h3' : 'h2')}\n align-items: center;\n display: flex;\n flex: 1 1 auto;\n min-height: 36px;\n padding-right: ${({ $compact }) => ($compact ? 36 : spacing.lg)}px;\n\n ${({ $compact }) => {\n if (!$compact) {\n return ''\n }\n\n return css`\n min-height: unset;\n `\n }}\n`\n\nexport const StyledModalCancel = styled.div`\n flex: 0 0 auto;\n`\n\nexport const StyledModalScrim = styled.div`\n background: hsla(200, 8%, 10%, 0.6);\n height: 100vh;\n left: 0;\n position: absolute;\n top: 0;\n width: 100vw;\n z-index: 1;\n`\n\nexport const StyledModalWarningIcon = styled(Warning)`\n color: ${colors.yellow40};\n margin-right: ${spacing.sm}px;\n`\nexport const StyledModalFooterSummary = styled.div`\n ${getTypographyIntent('small')}\n background-color: ${colors.gray98};\n border-bottom: 1px solid ${colors.gray85};\n border-top: 1px solid ${colors.gray85};\n color: ${colors.gray15};\n flex: 1 1 100%;\n font-style: italic;\n margin: -${spacing.lg}px -${spacing.lg}px ${spacing.lg}px;\n padding: ${spacing.lg}px;\n`\n"],"mappings":"AAAA,SAASA,OAAO,QAAQ,qBAAqB;AAC7C,OAAOC,MAAM,IAAIC,GAAG,QAAQ,mBAAmB;AAC/C,SAASC,IAAI,QAAQ,cAAc;AACnC,SAASC,uBAAuB,QAAQ,6BAA6B;AACrE,SAASC,aAAa,EAAEC,kBAAkB,QAAQ,2BAA2B;AAC7E,SAASC,UAAU,QAAQ,0BAA0B;AACrD,SAASC,mBAAmB,QAAQ,iCAAiC;AACrE,SAASC,MAAM,QAAQ,mBAAmB;AAC1C,SAASC,aAAa,QAAQ,mBAAmB;AACjD,SAASC,OAAO,QAAQ,oBAAoB;AAG5C,OAAO,IAAMC,eAAe,GAAG,SAAS;AACxC,OAAO,IAAMC,gBAAgB,GAAG,UAAU;AAC1C,OAAO,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ist/type
17
17
  export declare const StyledMultiSelectMenu: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<Omit<import("react").HTMLAttributes<HTMLDivElement> & import("..").CardProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & {
18
18
  ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
19
19
  }, never>> & string & Omit<import("react").ForwardRefExoticComponent<import("react").HTMLAttributes<HTMLDivElement> & import("..").CardProps & import("react").RefAttributes<HTMLDivElement>>, keyof import("react").Component<any, {}, any>>;
20
- export declare const StyledMultiSelectButton: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<Omit<import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "$loading" | "$block" | "$disabled" | "$error" | "$open" | "$placeholder" | "$hasClearIcon" | "$showClearIcon"> & {
20
+ export declare const StyledMultiSelectButton: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<Omit<import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "$error" | "$disabled" | "$loading" | "$block" | "$open" | "$placeholder" | "$hasClearIcon" | "$showClearIcon"> & {
21
21
  $block: boolean;
22
22
  $disabled: boolean;
23
23
  $error: boolean;