@procore/core-react 12.30.0 → 12.32.0

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/CHANGELOG.md +28 -0
  2. package/dist/AnchorNavigation/AnchorNavigation.styles.js +3 -3
  3. package/dist/Avatar/Avatar.js +20 -12
  4. package/dist/Avatar/Avatar.js.map +1 -1
  5. package/dist/Avatar/Avatar.styles.js +5 -5
  6. package/dist/AvatarStack/AvatarStack.styles.d.ts +76 -76
  7. package/dist/AvatarStack/AvatarStack.styles.js +7 -7
  8. package/dist/Badge/Badge.styles.js +2 -2
  9. package/dist/BadgePill/BadgePill.styles.js +4 -4
  10. package/dist/Banner/Banner.styles.js +10 -10
  11. package/dist/Box/Box.styles.js +1 -1
  12. package/dist/Breadcrumbs/Breadcrumbs.styles.js +4 -4
  13. package/dist/Button/Button.styles.js +5 -5
  14. package/dist/Calendar/Calendar.styles.js +8 -8
  15. package/dist/Card/Card.styles.js +1 -1
  16. package/dist/Checkbox/Checkbox.styles.js +6 -6
  17. package/dist/Checkbox/CheckboxTooltip.js +1 -1
  18. package/dist/ComponentLifecycle.stories.mdx +130 -0
  19. package/dist/ContactItem/ContactItem.styles.js +5 -5
  20. package/dist/Content/Content.styles.js +2 -2
  21. package/dist/DateInput/DateInput.js +28 -0
  22. package/dist/DateInput/DateInput.js.map +1 -1
  23. package/dist/DateInput/DateInput.styles.js +6 -6
  24. package/dist/DetailPage/DetailPage.js +1 -1
  25. package/dist/DetailPage/DetailPage.js.map +1 -1
  26. package/dist/DetailPage/DetailPage.styles.js +7 -7
  27. package/dist/Dropdown/Dropdown.styles.js +3 -3
  28. package/dist/DropdownFlyout/DropdownFlyout.js +7 -2
  29. package/dist/DropdownFlyout/DropdownFlyout.js.map +1 -1
  30. package/dist/DropdownFlyout/DropdownFlyout.styles.js +4 -4
  31. package/dist/Dropzone/Dropzone.js +1 -1
  32. package/dist/Dropzone/Dropzone.styles.js +9 -9
  33. package/dist/EmptyState/EmptyState.styles.js +6 -6
  34. package/dist/Field/Field.styles.js +3 -3
  35. package/dist/FileList/FileList.styles.js +4 -4
  36. package/dist/FileSelect/FileExplorer/FileExplorer.styles.js +9 -9
  37. package/dist/FileSelect/FileExplorer/FileExplorerSidebar.styles.js +3 -3
  38. package/dist/FileSelect/FileSelect.styles.js +2 -2
  39. package/dist/FileSelect/FileSelectDropzone/FileSelectDropzone.styles.js +3 -3
  40. package/dist/FileSelect/FileTokenList/FileTokenList.styles.js +2 -2
  41. package/dist/FileSelect/GridSource/GridSource.styles.js +6 -6
  42. package/dist/FileSelect/LocalSource/LocalSource.styles.js +4 -4
  43. package/dist/FileSelect/SourceItem/SourceItem.styles.js +3 -3
  44. package/dist/FileSelect/ThumbnailList/ThumbnailList.styles.d.ts +1 -1
  45. package/dist/FileSelect/ThumbnailList/ThumbnailList.styles.js +6 -6
  46. package/dist/FileSelect/TreeSource/TreeSource.styles.js +1 -1
  47. package/dist/FileToken/FileToken.styles.js +4 -4
  48. package/dist/FilterToken/FilterToken.styles.js +5 -5
  49. package/dist/FlexList/FlexList.styles.js +1 -1
  50. package/dist/Form/Form.js +10 -5
  51. package/dist/Form/Form.js.map +1 -1
  52. package/dist/Form/Form.styles.js +14 -14
  53. package/dist/Form/Form.types.d.ts +2 -0
  54. package/dist/Form/Form.types.js.map +1 -1
  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 +2 -2
  58. package/dist/Grid/Grid.styles.js +2 -2
  59. package/dist/GroupSelect/GroupSelect.styles.js +1 -1
  60. package/dist/Input/Input.styles.js +1 -1
  61. package/dist/Link/Link.styles.js +1 -1
  62. package/dist/ListPage/ListPage.styles.js +8 -8
  63. package/dist/Loader/Loader.styles.js +2 -2
  64. package/dist/MenuImperative/MenuImperative.d.ts +1 -16
  65. package/dist/MenuImperative/MenuImperative.js +1 -0
  66. package/dist/MenuImperative/MenuImperative.js.map +1 -1
  67. package/dist/MenuImperative/MenuImperative.styles.js +10 -10
  68. package/dist/MenuImperative/MenuImperative.types.d.ts +14 -0
  69. package/dist/MenuImperative/MenuImperative.types.js.map +1 -1
  70. package/dist/MenuImperative/index.d.ts +46 -3
  71. package/dist/MenuImperative/index.js +31 -2
  72. package/dist/MenuImperative/index.js.map +1 -1
  73. package/dist/Modal/Modal.js +5 -2
  74. package/dist/Modal/Modal.js.map +1 -1
  75. package/dist/Modal/Modal.styles.js +13 -13
  76. package/dist/MultiSelect/MultiSelect.styles.d.ts +1 -1
  77. package/dist/MultiSelect/MultiSelect.styles.js +6 -6
  78. package/dist/NextMenu/NextMenu.styles.js +3 -3
  79. package/dist/NextTile/NextTile.js +119 -45
  80. package/dist/NextTile/NextTile.js.map +1 -1
  81. package/dist/Notation/Notation.js +1 -1
  82. package/dist/NumberInput/NumberInput.styles.js +7 -7
  83. package/dist/Overlay/OverlayArrow.styles.js +1 -1
  84. package/dist/OverlayTrigger/a11yPresets.d.ts +6 -6
  85. package/dist/PageLayout/PageLayout.styles.d.ts +1 -1
  86. package/dist/PageLayout/PageLayout.styles.js +16 -16
  87. package/dist/PageTemplate/PageFooterTemplate/PageFooterTemplate.styles.js +1 -1
  88. package/dist/PageTemplate/PageHeaderTemplate/PageHeaderTemplate.styles.js +3 -3
  89. package/dist/PageTemplate/PagePaneTemplate/PagePaneTemplate.styles.js +2 -2
  90. package/dist/PageTemplate/PageTemplate/PageTemplate.styles.js +3 -3
  91. package/dist/PageTemplate/PageTemplate/PageTemplateCard.d.ts +3 -5
  92. package/dist/PageTemplate/PageTemplate/PageTemplateCard.js.map +1 -1
  93. package/dist/Pagination/Pagination.styles.js +5 -5
  94. package/dist/Panel/Panel.styles.js +11 -11
  95. package/dist/Pill/Pill.styles.js +3 -3
  96. package/dist/PillSelect/PillSelect.styles.js +4 -4
  97. package/dist/Popover/Popover.styles.js +2 -2
  98. package/dist/Portal/Portal.styles.js +1 -1
  99. package/dist/ProgressBar/ProgressBar.styles.js +2 -2
  100. package/dist/RadioButton/RadioButton.styles.js +3 -3
  101. package/dist/Required/Required.styles.js +3 -3
  102. package/dist/Search/Search.styles.js +5 -5
  103. package/dist/Section/Section.styles.js +7 -7
  104. package/dist/SegmentedController/SegmentedController.js +86 -25
  105. package/dist/SegmentedController/SegmentedController.js.map +1 -1
  106. package/dist/SegmentedController/SegmentedController.styles.js +4 -4
  107. package/dist/Select/Select.js +6 -3
  108. package/dist/Select/Select.js.map +1 -1
  109. package/dist/Select/Select.styles.js +7 -7
  110. package/dist/Semantic/Semantic.styles.d.ts +78 -78
  111. package/dist/Semantic/Semantic.styles.js +9 -9
  112. package/dist/Slider/Slider.styles.js +5 -5
  113. package/dist/Spinner/Spinner.styles.js +7 -7
  114. package/dist/SplitViewCard/SplitViewCard.styles.js +8 -8
  115. package/dist/SuperSelect/SuperSelect.presets.styles.js +1 -1
  116. package/dist/SuperSelect/SuperSelect.styles.js +38 -38
  117. package/dist/Switch/Switch.styles.js +4 -4
  118. package/dist/Table/Table.styles.js +28 -28
  119. package/dist/TableShelf/TableShelf.styles.js +5 -5
  120. package/dist/Tabs/Tabs.js +19 -13
  121. package/dist/Tabs/Tabs.js.map +1 -1
  122. package/dist/Tabs/Tabs.styles.js +15 -15
  123. package/dist/Tearsheet/Tearsheet.styles.js +5 -5
  124. package/dist/TextArea/TextArea.styles.js +1 -1
  125. package/dist/TextEditorOutput/TextEditorOutput.styles.js +1 -1
  126. package/dist/Thumbnail/Thumbnail.hooks.d.ts +68 -68
  127. package/dist/Thumbnail/Thumbnail.styles.js +17 -17
  128. package/dist/ThumbnailGrid/ThumbnailGrid.styles.d.ts +1 -1
  129. package/dist/ThumbnailGrid/ThumbnailGrid.styles.js +7 -7
  130. package/dist/TieredSelect/TieredSelect.styles.d.ts +4 -4
  131. package/dist/TieredSelect/TieredSelect.styles.js +9 -9
  132. package/dist/Tile/Tile.styles.js +8 -8
  133. package/dist/Title/Title.styles.js +7 -7
  134. package/dist/Toast/Toast.styles.js +3 -3
  135. package/dist/ToggleButton/ToggleButton.styles.js +1 -1
  136. package/dist/Token/Token.styles.js +3 -3
  137. package/dist/ToolHeader/ToolHeader.styles.js +6 -6
  138. package/dist/ToolLandingPage/ToolLandingPage.js +14 -7
  139. package/dist/ToolLandingPage/ToolLandingPage.js.map +1 -1
  140. package/dist/ToolLandingPage/ToolLandingPage.styles.js +3 -3
  141. package/dist/ToolLandingPage/ToolLandingPage.types.d.ts +29 -0
  142. package/dist/ToolLandingPage/ToolLandingPage.types.js.map +1 -1
  143. package/dist/Tooltip/Tooltip.styles.js +2 -2
  144. package/dist/Tree/Tree.styles.js +9 -9
  145. package/dist/Typeahead/Typeahead.styles.js +3 -3
  146. package/dist/Typography/Typography.styles.js +1 -1
  147. package/dist/Typography/Typography.table.story.js +2 -2
  148. package/dist/UNSAFE_TEMPLATES_index.d.ts +15 -0
  149. package/dist/UNSAFE_TEMPLATES_index.js +9 -0
  150. package/dist/UNSAFE_TEMPLATES_index.js.map +1 -0
  151. package/dist/_hooks/I18n.d.ts +1206 -15
  152. package/dist/_hooks/I18n.js +11 -1
  153. package/dist/_hooks/I18n.js.map +1 -1
  154. package/dist/_hooks/getI18nProviderLocale.js +1 -1
  155. package/dist/_hooks/getI18nProviderLocale.js.map +1 -1
  156. package/dist/_locales/de-DE.json +4 -3
  157. package/dist/_locales/en-AU.json +3 -2
  158. package/dist/_locales/en-CA.json +3 -2
  159. package/dist/_locales/en-GB.json +3 -2
  160. package/dist/_locales/en.json +2 -1
  161. package/dist/_locales/es-ES.json +3 -2
  162. package/dist/_locales/es.json +6 -5
  163. package/dist/_locales/fr-CA.json +4 -3
  164. package/dist/_locales/fr-FR.json +4 -3
  165. package/dist/_locales/is-IS.json +4 -3
  166. package/dist/_locales/it-IT.json +49 -48
  167. package/dist/_locales/ja-JP.json +3 -2
  168. package/dist/_locales/nb-NO.json +1 -0
  169. package/dist/_locales/pl-PL.json +3 -2
  170. package/dist/_locales/pseudo.json +2 -1
  171. package/dist/_locales/pt-BR.json +4 -3
  172. package/dist/_locales/pt-PT.json +91 -90
  173. package/dist/_locales/th-TH.json +6 -5
  174. package/dist/_locales/zh-SG.json +3 -2
  175. package/dist/_locales/zh-TW.json +8 -7
  176. package/dist/_storyHelpers_/components/Deprecation.styles.js +1 -1
  177. package/dist/_storyHelpers_/components/StoryGrid.js +3 -3
  178. package/dist/_storyHelpers_/constants.js +1 -1
  179. package/dist/_storyHelpers_/constants.js.map +1 -1
  180. package/dist/_typedoc/AnchorNavigation/AnchorNavigation.types.json +3 -3
  181. package/dist/_typedoc/Avatar/Avatar.types.json +20 -20
  182. package/dist/_typedoc/AvatarStack/AvatarStack.types.json +24 -24
  183. package/dist/_typedoc/Badge/Badge.types.json +6 -6
  184. package/dist/_typedoc/Banner/Banner.types.json +13 -13
  185. package/dist/_typedoc/Box/Box.types.json +72 -72
  186. package/dist/_typedoc/Breadcrumbs/Breadcrumbs.types.json +10 -10
  187. package/dist/_typedoc/Button/Button.types.json +15 -15
  188. package/dist/_typedoc/Calendar/Calendar.types.json +80 -80
  189. package/dist/_typedoc/Card/Card.types.json +6 -6
  190. package/dist/_typedoc/Checkbox/Checkbox.types.json +8 -8
  191. package/dist/_typedoc/ContactItem/ContactItem.types.json +9 -9
  192. package/dist/_typedoc/DateInput/DateInput.types.json +35 -35
  193. package/dist/_typedoc/DateSelect/DateSelect.types.json +13 -13
  194. package/dist/_typedoc/DetailPage/DetailPage.types.json +5 -5
  195. package/dist/_typedoc/Dropdown/Dropdown.types.json +39 -39
  196. package/dist/_typedoc/DropdownFlyout/DropdownFlyout.types.json +30 -30
  197. package/dist/_typedoc/Dropzone/Dropzone.types.json +44 -44
  198. package/dist/_typedoc/EmptyState/EmptyState.types.json +16 -16
  199. package/dist/_typedoc/FileList/FileList.types.json +9 -9
  200. package/dist/_typedoc/FileSelect/FileSelect.types.json +27 -27
  201. package/dist/_typedoc/FileSelect/GridSource/GridSource.types.json +20 -20
  202. package/dist/_typedoc/FileSelect/LocalSource/LocalSource.types.json +14 -14
  203. package/dist/_typedoc/FileSelect/TreeSource/TreeSource.types.json +9 -9
  204. package/dist/_typedoc/Flex/Flex.types.json +27 -27
  205. package/dist/_typedoc/FlexList/FlexList.types.json +30 -30
  206. package/dist/_typedoc/Form/Form.types.json +825 -815
  207. package/dist/_typedoc/GhostPlaceholder/GhostPlaceholder.types.json +12 -12
  208. package/dist/_typedoc/Grid/Grid.types.json +8 -8
  209. package/dist/_typedoc/GroupSelect/GroupSelect.types.json +52 -52
  210. package/dist/_typedoc/Input/Input.types.json +2 -2
  211. package/dist/_typedoc/Link/Link.types.json +1 -1
  212. package/dist/_typedoc/ListPage/ListPage.types.json +13 -13
  213. package/dist/_typedoc/Menu/Menu.types.json +62 -62
  214. package/dist/_typedoc/MenuImperative/MenuImperative.types.json +116 -74
  215. package/dist/_typedoc/Modal/Modal.types.json +46 -46
  216. package/dist/_typedoc/MultiSelect/MultiSelect.types.json +31 -31
  217. package/dist/_typedoc/NextTile/NextTile.types.json +32 -32
  218. package/dist/_typedoc/Notation/Notation.types.json +4 -4
  219. package/dist/_typedoc/NumberInput/NumberInput.types.json +54 -54
  220. package/dist/_typedoc/OverlayTrigger/OverlayTrigger.types.json +32 -32
  221. package/dist/_typedoc/PageLayout/PageLayout.types.json +26 -26
  222. package/dist/_typedoc/Pagination/Pagination.types.json +7 -7
  223. package/dist/_typedoc/Panel/Panel.types.json +30 -30
  224. package/dist/_typedoc/Pill/Pill.types.json +2 -2
  225. package/dist/_typedoc/PillSelect/PillSelect.types.json +49 -49
  226. package/dist/_typedoc/Popover/Popover.types.json +15 -15
  227. package/dist/_typedoc/ProgressBar/ProgressBar.types.json +7 -7
  228. package/dist/_typedoc/RadioButton/RadioButton.types.json +6 -6
  229. package/dist/_typedoc/Required/Required.types.json +5 -5
  230. package/dist/_typedoc/Search/Search.types.json +18 -18
  231. package/dist/_typedoc/Section/Section.types.json +15 -15
  232. package/dist/_typedoc/SegmentedController/SegmentedController.types.json +21 -21
  233. package/dist/_typedoc/Select/Select.types.json +62 -62
  234. package/dist/_typedoc/SettingsPage/SettingsPage.types.json +10 -10
  235. package/dist/_typedoc/Slider/Slider.types.json +6 -6
  236. package/dist/_typedoc/Spinner/Spinner.types.json +9 -9
  237. package/dist/_typedoc/SplitViewCard/SplitViewCard.types.json +14 -14
  238. package/dist/_typedoc/Table/Table.types.json +101 -101
  239. package/dist/_typedoc/Tabs/Tabs.types.json +20 -20
  240. package/dist/_typedoc/Tearsheet/Tearsheet.types.json +17 -17
  241. package/dist/_typedoc/TextArea/TextArea.types.json +3 -3
  242. package/dist/_typedoc/TextEditor/TextEditor.types.json +9 -9
  243. package/dist/_typedoc/TextEditorOutput/TextEditorOutput.types.json +4 -4
  244. package/dist/_typedoc/Thumbnail/Thumbnail.types.json +19 -19
  245. package/dist/_typedoc/TieredDropdown/TieredDropdown.types.json +42 -42
  246. package/dist/_typedoc/TieredSelect/TieredSelect.types.json +28 -28
  247. package/dist/_typedoc/Tile/Tile.types.json +8 -8
  248. package/dist/_typedoc/Title/Title.types.json +3 -3
  249. package/dist/_typedoc/Toast/Toast.types.json +4 -4
  250. package/dist/_typedoc/ToggleButton/ToggleButton.types.json +4 -4
  251. package/dist/_typedoc/Token/Token.types.json +7 -7
  252. package/dist/_typedoc/ToolHeader/ToolHeader.types.json +10 -10
  253. package/dist/_typedoc/ToolLandingPage/ToolLandingPage.types.json +19 -8
  254. package/dist/_typedoc/Tooltip/Tooltip.types.json +13 -13
  255. package/dist/_typedoc/Tree/Tree.types.json +88 -88
  256. package/dist/_typedoc/Typeahead/Typeahead.types.json +2 -2
  257. package/dist/_typedoc/Typography/Typography.types.json +9 -9
  258. package/dist/_typedoc/_utils/types.json +3 -3
  259. package/dist/_typedoc/deprecations.json +1 -1
  260. package/dist/_utils/CalendarHelpers.js +6 -2
  261. package/dist/_utils/CalendarHelpers.js.map +1 -1
  262. package/dist/_utils/TinyMCE.js +5 -1
  263. package/dist/_utils/TinyMCE.js.map +1 -1
  264. package/dist/index.d.ts +6 -0
  265. package/dist/index.js +6 -0
  266. package/dist/index.js.map +1 -1
  267. package/package.json +16 -15
@@ -1 +1 @@
1
- {"version":3,"file":"NextTile.js","names":["useCheckbox","useCheckboxGroupItem","useFocusRing","mergeProps","useId","VisuallyHidden","React","useToggleState","CheckboxGroupContext","StyledActions","StyledFooter","StyledHeroMedia","StyledHeroOverlay","StyledHeroText","StyledInteractableTile","StyledLinkTile","StyledSelectableTile","StyledTileContent","addSubcomponents","mergeRefs","heroTextGridTemplateColumns","TileContext","createContext","orientation","HeroMedia","forwardRef","_ref","ref","children","_ref$overlay","overlay","onOverlayClick","props","_objectWithoutProperties","_excluded","_React$useContext","useContext","heroRef","useRef","useLayoutEffect","_heroRef$current","_heroRef$current$pare","current","parentElement","style","removeProperty","createElement","_extends","$orientation","onClick","HeroText","_ref2","_excluded2","_React$useContext2","_heroRef$current2","_heroRef$current2$par","setProperty","Content","Footer","_ref3","_excluded3","Actions","_ref4","_excluded4","InteractableTile","_ref5","_excluded5","Provider","value","LinkTile","_ref6","_excluded6","noop","CheckboxTile_","CheckboxTile","_ref7","_props$role","_ref7$disabled","disabled","checked","defaultChecked","className","props_","_excluded7","_objectSpread","isDisabled","isSelected","defaultSelected","inputRef","groupState","isGroup","Boolean","_useCheckboxGroupItem","inputGroupItemProps","inputProps","state","_useCheckbox","_useFocusRing","focusProps","isFocusVisible","labelId","fallbackId","$disabled","$selected","$focused","$layoutless","role","tabIndex","_inputRef$current","click","onKeyDown","e","code","preventDefault","_inputRef$current2","TileInner","_ref8","_ref8$role","_excluded8","Tile_","NextTile"],"sources":["../../src/NextTile/NextTile.tsx"],"sourcesContent":["import { useCheckbox, useCheckboxGroupItem } from '@react-aria/checkbox'\nimport { useFocusRing } from '@react-aria/focus'\nimport { mergeProps, useId } from '@react-aria/utils'\nimport { VisuallyHidden } from '@react-aria/visually-hidden'\nimport React from 'react'\nimport type { CheckboxGroupState } from 'react-stately'\nimport { useToggleState } from 'react-stately'\nimport { CheckboxGroupContext } from '../CheckboxGroup/CheckboxGroup'\nimport { StyledActions } from '../Content/Content.styles'\nimport {\n StyledFooter,\n StyledHeroMedia,\n StyledHeroOverlay,\n StyledHeroText,\n StyledInteractableTile,\n StyledLinkTile,\n StyledSelectableTile,\n StyledTileContent,\n} from '../Tile/Tile.styles'\nimport { addSubcomponents } from '../_utils/addSubcomponents'\nimport { mergeRefs } from '../_utils/mergeRefs'\nimport type { Props } from '../_utils/types'\nimport type {\n CheckboxTileProps,\n HeroMediaProps,\n HeroTextProps,\n InteractableTileProps,\n LinkTileProps,\n Roles,\n TileCommonProps,\n TileProps,\n TileRef,\n} from './NextTile.types'\n\nconst heroTextGridTemplateColumns = 'auto 1fr'\n\nconst TileContext = React.createContext<\n Pick<TileCommonProps<'none'>, 'orientation'>\n>({\n orientation: 'portrait',\n})\n\nconst HeroMedia = React.forwardRef<HTMLDivElement, HeroMediaProps>(\n function HeroMedia(\n { children, overlay = false, onOverlayClick, ...props },\n ref\n ) {\n const { orientation } = React.useContext(TileContext)\n const heroRef = React.useRef<HTMLDivElement>(null)\n\n React.useLayoutEffect(() => {\n if (orientation === 'landscape') {\n heroRef.current?.parentElement?.style.removeProperty(\n '--core-tile-grid-template-columns'\n )\n }\n }, [orientation])\n\n return (\n <StyledHeroMedia\n ref={mergeRefs(heroRef, ref)}\n $orientation={orientation}\n {...props}\n >\n {overlay && <StyledHeroOverlay onClick={onOverlayClick} />}\n {children}\n </StyledHeroMedia>\n )\n }\n)\n\nconst HeroText = React.forwardRef<HTMLDivElement, HeroTextProps>(\n function HeroText({ children, ...props }, ref) {\n const { orientation } = React.useContext(TileContext)\n const heroRef = React.useRef<HTMLDivElement>(null)\n\n React.useLayoutEffect(() => {\n if (orientation === 'landscape') {\n heroRef.current?.parentElement?.style.setProperty(\n '--core-tile-grid-template-columns',\n heroTextGridTemplateColumns\n )\n }\n }, [orientation])\n\n return (\n <StyledHeroText\n ref={mergeRefs(heroRef, ref)}\n $orientation={orientation}\n {...props}\n >\n {children}\n </StyledHeroText>\n )\n }\n)\n\nconst Content = React.forwardRef<HTMLDivElement, HeroTextProps>(\n function Content(props, ref) {\n return <StyledTileContent ref={ref} {...props} />\n }\n)\n\nconst Footer = React.forwardRef<HTMLDivElement, Props>(function Footer(\n { children, ...props },\n ref\n) {\n return (\n <StyledFooter ref={ref} {...props}>\n {children}\n </StyledFooter>\n )\n})\n\nconst Actions = React.forwardRef<HTMLDivElement, Props>(function Actions(\n { children, ...props },\n ref\n) {\n return (\n <StyledActions ref={ref} {...props}>\n {children}\n </StyledActions>\n )\n})\n\nexport const InteractableTile = React.forwardRef<\n HTMLDivElement,\n Omit<InteractableTileProps, 'role'>\n>(function InteractableTile({ orientation, children, ...props }, ref) {\n return (\n <StyledInteractableTile ref={ref} $orientation={orientation} {...props}>\n <TileContext.Provider value={{ orientation }}>\n {children}\n </TileContext.Provider>\n </StyledInteractableTile>\n )\n})\n\nexport const LinkTile = React.forwardRef<\n HTMLAnchorElement,\n Omit<LinkTileProps, 'role'>\n>(function LinkTile({ orientation, children, ...props }, ref) {\n return (\n <StyledLinkTile ref={ref} $orientation={orientation} {...props}>\n <TileContext.Provider value={{ orientation }}>\n {children}\n </TileContext.Provider>\n </StyledLinkTile>\n )\n})\nfunction noop() {}\n\nconst CheckboxTile_ = React.forwardRef<HTMLInputElement, CheckboxTileProps>(\n function CheckboxTile(\n {\n disabled = false,\n checked,\n defaultChecked,\n orientation,\n style,\n className,\n ...props_\n },\n ref\n ) {\n const props = {\n ...props_,\n isDisabled: disabled,\n isSelected: checked,\n defaultSelected: defaultChecked,\n }\n const inputRef = React.useRef<HTMLInputElement>(null)\n // Group hooks\n const groupState = React.useContext(\n CheckboxGroupContext\n ) as CheckboxGroupState\n const isGroup = Boolean(groupState)\n const { inputProps: inputGroupItemProps } = useCheckboxGroupItem(\n props,\n groupState ?? { isSelected: noop },\n inputRef\n )\n // Single hooks\n const state = useToggleState(props)\n const { inputProps } = useCheckbox(props, state, inputRef)\n // common hooks\n const { focusProps, isFocusVisible } = useFocusRing()\n\n const isDisabled = isGroup ? groupState.isDisabled || disabled : disabled\n const isSelected = isGroup\n ? groupState.isSelected(props.value)\n : state.isSelected\n\n const labelId = props['aria-labelledby']\n const fallbackId = useId()\n\n return (\n <StyledSelectableTile\n $disabled={isDisabled}\n $selected={isSelected}\n $focused={isFocusVisible}\n $orientation={orientation}\n $layoutless\n className={className}\n style={style}\n >\n <div\n role={props.role ?? 'checkbox'}\n aria-labelledby={labelId ?? fallbackId}\n aria-checked={isSelected}\n aria-disabled={isDisabled}\n tabIndex={isDisabled ? -1 : 0}\n onClick={() => {\n if (!isDisabled) {\n inputRef.current?.click()\n }\n }}\n onKeyDown={(e) => {\n if (e.code === 'Space' || e.code === 'Enter') {\n e.preventDefault()\n if (!isDisabled) {\n inputRef.current?.click()\n }\n }\n }}\n >\n <VisuallyHidden>\n <input\n {...mergeProps(\n isGroup ? inputGroupItemProps : inputProps,\n focusProps\n )}\n ref={mergeRefs(inputRef, ref)}\n tabIndex={-1}\n />\n </VisuallyHidden>\n <TileContext.Provider\n value={{\n orientation,\n }}\n >\n {props.children}\n </TileContext.Provider>\n </div>\n </StyledSelectableTile>\n )\n }\n)\n\nfunction TileInner<Role extends Roles = 'none'>(\n { role = 'none', ...props }: TileProps<Role>,\n ref: TileRef<Role>\n) {\n switch (role) {\n case 'none':\n return (\n <InteractableTile\n ref={ref as React.Ref<HTMLDivElement>}\n {...(props as Omit<InteractableTileProps, 'role'>)}\n />\n )\n case 'link':\n return (\n <LinkTile\n ref={ref as React.Ref<HTMLAnchorElement>}\n {...(props as Omit<LinkTileProps, 'role'>)}\n />\n )\n case 'checkbox':\n return (\n <CheckboxTile_\n ref={ref as React.Ref<HTMLInputElement>}\n {...(props as Omit<CheckboxTileProps, 'role'>)}\n />\n )\n default:\n return null\n }\n}\n\nconst Tile_ = React.forwardRef(TileInner) as <Role extends Roles = 'none'>(\n props: TileProps<Role> & { ref?: TileRef<Role> }\n) => ReturnType<typeof TileInner>\n\n/**\n * <NextTile role={checkbox}/> can be used as single checkbox as well as in group.\n *\n * Single\n * ```\n * <NextTile role={checkbox} value=\"ThomasAnderson\" onChange=((value) => console.log(value) />\n * <NextTile role={checkbox} value=\"WhiteRabbit\" onChange=((value) => console.log(value) />\n * ```\n *\n * Group\n * ```\n * <CheckboxGroup label=\"Matrix\" onChange=((value) => console.log(value)>\n * <NextTile role={checkbox} value=\"ThomasAnderson\"/>\n * <NextTile role={checkbox} value=\"WhiteRabbit\"/>\n * </CheckboxGroup>\n * ```\n *\n * @since 11.6.0\n */\nexport const NextTile = addSubcomponents(\n { Actions, Content, Footer, HeroText, HeroMedia },\n Tile_\n)\n"],"mappings":";;;;;;;;;;;;;;;;;AAAA,SAASA,WAAW,EAAEC,oBAAoB,QAAQ,sBAAsB;AACxE,SAASC,YAAY,QAAQ,mBAAmB;AAChD,SAASC,UAAU,EAAEC,KAAK,QAAQ,mBAAmB;AACrD,SAASC,cAAc,QAAQ,6BAA6B;AAC5D,OAAOC,KAAK,MAAM,OAAO;AAEzB,SAASC,cAAc,QAAQ,eAAe;AAC9C,SAASC,oBAAoB,QAAQ,gCAAgC;AACrE,SAASC,aAAa,QAAQ,2BAA2B;AACzD,SACEC,YAAY,EACZC,eAAe,EACfC,iBAAiB,EACjBC,cAAc,EACdC,sBAAsB,EACtBC,cAAc,EACdC,oBAAoB,EACpBC,iBAAiB,QACZ,qBAAqB;AAC5B,SAASC,gBAAgB,QAAQ,4BAA4B;AAC7D,SAASC,SAAS,QAAQ,qBAAqB;AAc/C,IAAMC,2BAA2B,GAAG,UAAU;AAE9C,IAAMC,WAAW,gBAAGf,KAAK,CAACgB,aAAa,CAErC;EACAC,WAAW,EAAE;AACf,CAAC,CAAC;AAEF,IAAMC,SAAS,gBAAGlB,KAAK,CAACmB,UAAU,CAChC,SAASD,SAASA,CAAAE,IAAA,EAEhBC,GAAG,EACH;EAAA,IAFEC,QAAQ,GA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UAAA,cAAG,MAAM,GAAAA,UAAA;IAAKrF,KAAK,GAAAC,wBAAA,CAAAmF,KAAA,EAAAE,UAAA;EAGzB,QAAQZ,IAAI;IACV,KAAK,MAAM;MACT,oBACEpG,KAAA,CAAAwC,aAAA,CAACkB,gBAAgB,EAAAjB,QAAA;QACfpB,GAAG,EAAEA;MAAiC,GACjCK,KAAK,CACX,CAAC;IAEN,KAAK,MAAM;MACT,oBACE1B,KAAA,CAAAwC,aAAA,CAACuB,QAAQ,EAAAtB,QAAA;QACPpB,GAAG,EAAEA;MAAoC,GACpCK,KAAK,CACX,CAAC;IAEN,KAAK,UAAU;MACb,oBACE1B,KAAA,CAAAwC,aAAA,CAAC2B,aAAa,EAAA1B,QAAA;QACZpB,GAAG,EAAEA;MAAmC,GACnCK,KAAK,CACX,CAAC;IAEN;MACE,OAAO,IAAI;EACf;AACF;AAEA,IAAMuF,KAAK,gBAAGjH,KAAK,CAACmB,UAAU,CAAC0F,SAAS,CAEP;;AAEjC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,IAAMK,QAAQ,GAAGtG,gBAAgB,CACtC;EAAE2C,OAAO,EAAPA,OAAO;EAAEJ,OAAO,EAAPA,OAAO;EAAEC,MAAM,EAANA,MAAM;EAAER,QAAQ,EAARA,QAAQ;EAAE1B,SAAS,EAATA;AAAU,CAAC,EACjD+F,KACF,CAAC"}
1
+ {"version":3,"file":"NextTile.js","names":["useCheckbox","useCheckboxGroupItem","useFocusRing","mergeProps","useId","VisuallyHidden","React","useToggleState","CheckboxGroupContext","StyledActions","StyledFooter","StyledHeroMedia","StyledHeroOverlay","StyledHeroText","StyledInteractableTile","StyledLinkTile","StyledSelectableTile","StyledTileContent","addSubcomponents","mergeRefs","heroTextGridTemplateColumns","TileContext","createContext","orientation","HeroMedia","forwardRef","_ref","ref","children","_ref$overlay","overlay","onOverlayClick","props","_objectWithoutProperties","_excluded","_React$useContext","useContext","heroRef","useRef","useLayoutEffect","_heroRef$current","_heroRef$current$pare","current","parentElement","style","removeProperty","createElement","_extends","$orientation","onClick","HeroText","_ref2","_excluded2","_React$useContext2","_heroRef$current2","_heroRef$current2$par","setProperty","Content","Footer","_ref3","_excluded3","Actions","_ref4","_excluded4","InteractableTile","_ref5","_excluded5","Provider","value","LinkTile","_ref6","_excluded6","CheckboxTileRender","_ref7","inputProps","focusProps","inputRef","forwardedRef","isDisabled","isSelected","isFocusVisible","className","role","ariaLabelledby","fallbackId","$disabled","$selected","$focused","$layoutless","tabIndex","_inputRef$current","click","onKeyDown","e","code","preventDefault","_inputRef$current2","SingleCheckboxTile","_ref8","_ref8$disabled","disabled","checked","defaultChecked","props_","_excluded7","_objectSpread","defaultSelected","state","_useCheckbox","_useFocusRing","GroupCheckboxTile","_ref9","_ref9$disabled","groupState","_excluded8","_useCheckboxGroupItem","_useFocusRing2","CheckboxTile_","CheckboxTile","TileInner","_ref0","_ref0$role","_excluded9","Tile_","NextTile"],"sources":["../../src/NextTile/NextTile.tsx"],"sourcesContent":["import { useCheckbox, useCheckboxGroupItem } from '@react-aria/checkbox'\nimport { useFocusRing } from '@react-aria/focus'\nimport { mergeProps, useId } from '@react-aria/utils'\nimport { VisuallyHidden } from '@react-aria/visually-hidden'\nimport React from 'react'\nimport type { CheckboxGroupState } from 'react-stately'\nimport { useToggleState } from 'react-stately'\nimport { CheckboxGroupContext } from '../CheckboxGroup/CheckboxGroup'\nimport { StyledActions } from '../Content/Content.styles'\nimport {\n StyledFooter,\n StyledHeroMedia,\n StyledHeroOverlay,\n StyledHeroText,\n StyledInteractableTile,\n StyledLinkTile,\n StyledSelectableTile,\n StyledTileContent,\n} from '../Tile/Tile.styles'\nimport { addSubcomponents } from '../_utils/addSubcomponents'\nimport { mergeRefs } from '../_utils/mergeRefs'\nimport type { Props } from '../_utils/types'\nimport type {\n CheckboxTileProps,\n HeroMediaProps,\n HeroTextProps,\n InteractableTileProps,\n LinkTileProps,\n Roles,\n TileCommonProps,\n TileProps,\n TileRef,\n} from './NextTile.types'\n\nconst heroTextGridTemplateColumns = 'auto 1fr'\n\nconst TileContext = React.createContext<\n Pick<TileCommonProps<'none'>, 'orientation'>\n>({\n orientation: 'portrait',\n})\n\nconst HeroMedia = React.forwardRef<HTMLDivElement, HeroMediaProps>(\n function HeroMedia(\n { children, overlay = false, onOverlayClick, ...props },\n ref\n ) {\n const { orientation } = React.useContext(TileContext)\n const heroRef = React.useRef<HTMLDivElement>(null)\n\n React.useLayoutEffect(() => {\n if (orientation === 'landscape') {\n heroRef.current?.parentElement?.style.removeProperty(\n '--core-tile-grid-template-columns'\n )\n }\n }, [orientation])\n\n return (\n <StyledHeroMedia\n ref={mergeRefs(heroRef, ref)}\n $orientation={orientation}\n {...props}\n >\n {overlay && <StyledHeroOverlay onClick={onOverlayClick} />}\n {children}\n </StyledHeroMedia>\n )\n }\n)\n\nconst HeroText = React.forwardRef<HTMLDivElement, HeroTextProps>(\n function HeroText({ children, ...props }, ref) {\n const { orientation } = React.useContext(TileContext)\n const heroRef = React.useRef<HTMLDivElement>(null)\n\n React.useLayoutEffect(() => {\n if (orientation === 'landscape') {\n heroRef.current?.parentElement?.style.setProperty(\n '--core-tile-grid-template-columns',\n heroTextGridTemplateColumns\n )\n }\n }, [orientation])\n\n return (\n <StyledHeroText\n ref={mergeRefs(heroRef, ref)}\n $orientation={orientation}\n {...props}\n >\n {children}\n </StyledHeroText>\n )\n }\n)\n\nconst Content = React.forwardRef<HTMLDivElement, HeroTextProps>(\n function Content(props, ref) {\n return <StyledTileContent ref={ref} {...props} />\n }\n)\n\nconst Footer = React.forwardRef<HTMLDivElement, Props>(function Footer(\n { children, ...props },\n ref\n) {\n return (\n <StyledFooter ref={ref} {...props}>\n {children}\n </StyledFooter>\n )\n})\n\nconst Actions = React.forwardRef<HTMLDivElement, Props>(function Actions(\n { children, ...props },\n ref\n) {\n return (\n <StyledActions ref={ref} {...props}>\n {children}\n </StyledActions>\n )\n})\n\nexport const InteractableTile = React.forwardRef<\n HTMLDivElement,\n Omit<InteractableTileProps, 'role'>\n>(function InteractableTile({ orientation, children, ...props }, ref) {\n return (\n <StyledInteractableTile ref={ref} $orientation={orientation} {...props}>\n <TileContext.Provider value={{ orientation }}>\n {children}\n </TileContext.Provider>\n </StyledInteractableTile>\n )\n})\n\nexport const LinkTile = React.forwardRef<\n HTMLAnchorElement,\n Omit<LinkTileProps, 'role'>\n>(function LinkTile({ orientation, children, ...props }, ref) {\n return (\n <StyledLinkTile ref={ref} $orientation={orientation} {...props}>\n <TileContext.Provider value={{ orientation }}>\n {children}\n </TileContext.Provider>\n </StyledLinkTile>\n )\n})\n\n// Shared render component\nconst CheckboxTileRender: React.FC<{\n inputProps: React.InputHTMLAttributes<HTMLInputElement>\n focusProps: React.HTMLAttributes<HTMLInputElement>\n inputRef: React.RefObject<HTMLInputElement>\n forwardedRef: React.ForwardedRef<HTMLInputElement>\n isDisabled: boolean\n isSelected: boolean\n isFocusVisible: boolean\n orientation?: 'portrait' | 'landscape'\n className?: string\n style?: React.CSSProperties\n role?: string\n 'aria-labelledby'?: string\n children?: React.ReactNode\n}> = ({\n inputProps,\n focusProps,\n inputRef,\n forwardedRef,\n isDisabled,\n isSelected,\n isFocusVisible,\n orientation,\n className,\n style,\n role,\n 'aria-labelledby': ariaLabelledby,\n children,\n}) => {\n const fallbackId = useId()\n\n return (\n <StyledSelectableTile\n $disabled={isDisabled}\n $selected={isSelected}\n $focused={isFocusVisible}\n $orientation={orientation ?? 'portrait'}\n $layoutless\n className={className}\n style={style}\n >\n <div\n role={role ?? 'checkbox'}\n aria-labelledby={ariaLabelledby ?? fallbackId}\n aria-checked={isSelected}\n aria-disabled={isDisabled}\n tabIndex={isDisabled ? -1 : 0}\n onClick={() => {\n if (!isDisabled) {\n inputRef.current?.click()\n }\n }}\n onKeyDown={(e) => {\n if (e.code === 'Space' || e.code === 'Enter') {\n e.preventDefault()\n if (!isDisabled) {\n inputRef.current?.click()\n }\n }\n }}\n >\n <VisuallyHidden>\n <input\n {...mergeProps(inputProps, focusProps)}\n ref={mergeRefs(inputRef, forwardedRef)}\n tabIndex={-1}\n />\n </VisuallyHidden>\n <TileContext.Provider\n value={{ orientation: orientation ?? 'portrait' }}\n >\n {children}\n </TileContext.Provider>\n </div>\n </StyledSelectableTile>\n )\n}\n\n// Single checkbox implementation\nconst SingleCheckboxTile = React.forwardRef<\n HTMLInputElement,\n CheckboxTileProps\n>(function SingleCheckboxTile(\n {\n disabled = false,\n checked,\n defaultChecked,\n orientation,\n style,\n className,\n ...props_\n },\n ref\n) {\n const props = {\n ...props_,\n isDisabled: disabled,\n isSelected: checked,\n defaultSelected: defaultChecked,\n }\n const inputRef = React.useRef<HTMLInputElement>(null)\n const state = useToggleState(props)\n const { inputProps } = useCheckbox(props, state, inputRef)\n const { focusProps, isFocusVisible } = useFocusRing()\n\n return (\n <CheckboxTileRender\n inputProps={inputProps}\n focusProps={focusProps}\n inputRef={inputRef}\n forwardedRef={ref}\n isDisabled={disabled}\n isSelected={state.isSelected}\n isFocusVisible={isFocusVisible}\n orientation={orientation}\n className={className}\n style={style}\n role={props.role}\n aria-labelledby={props['aria-labelledby']}\n >\n {props.children}\n </CheckboxTileRender>\n )\n})\n\n// Group checkbox implementation\nconst GroupCheckboxTile = React.forwardRef<\n HTMLInputElement,\n CheckboxTileProps & { groupState: CheckboxGroupState }\n>(function GroupCheckboxTile(\n {\n disabled = false,\n checked,\n defaultChecked,\n orientation,\n style,\n className,\n groupState,\n ...props_\n },\n ref\n) {\n const props = {\n ...props_,\n isDisabled: disabled,\n isSelected: checked,\n defaultSelected: defaultChecked,\n }\n const inputRef = React.useRef<HTMLInputElement>(null)\n const { inputProps } = useCheckboxGroupItem(props, groupState, inputRef)\n const { focusProps, isFocusVisible } = useFocusRing()\n\n const isDisabled = groupState.isDisabled || disabled\n const isSelected = groupState.isSelected(props.value)\n\n return (\n <CheckboxTileRender\n inputProps={inputProps}\n focusProps={focusProps}\n inputRef={inputRef}\n forwardedRef={ref}\n isDisabled={isDisabled}\n isSelected={isSelected}\n isFocusVisible={isFocusVisible}\n orientation={orientation}\n className={className}\n style={style}\n role={props.role}\n aria-labelledby={props['aria-labelledby']}\n >\n {props.children}\n </CheckboxTileRender>\n )\n})\n\n// Wrapper that chooses the right implementation\nconst CheckboxTile_ = React.forwardRef<HTMLInputElement, CheckboxTileProps>(\n function CheckboxTile(props, ref) {\n const groupState = React.useContext(CheckboxGroupContext)\n\n if (groupState) {\n return <GroupCheckboxTile {...props} groupState={groupState} ref={ref} />\n }\n\n return <SingleCheckboxTile {...props} ref={ref} />\n }\n)\n\nfunction TileInner<Role extends Roles = 'none'>(\n { role = 'none', ...props }: TileProps<Role>,\n ref: TileRef<Role>\n) {\n switch (role) {\n case 'none':\n return (\n <InteractableTile\n ref={ref as React.Ref<HTMLDivElement>}\n {...(props as Omit<InteractableTileProps, 'role'>)}\n />\n )\n case 'link':\n return (\n <LinkTile\n ref={ref as React.Ref<HTMLAnchorElement>}\n {...(props as Omit<LinkTileProps, 'role'>)}\n />\n )\n case 'checkbox':\n return (\n <CheckboxTile_\n ref={ref as React.Ref<HTMLInputElement>}\n {...(props as Omit<CheckboxTileProps, 'role'>)}\n />\n )\n default:\n return null\n }\n}\n\nconst Tile_ = React.forwardRef(TileInner) as <Role extends Roles = 'none'>(\n props: TileProps<Role> & { ref?: TileRef<Role> }\n) => ReturnType<typeof TileInner>\n\n/**\n * <NextTile role={checkbox}/> can be used as single checkbox as well as in group.\n *\n * Single\n * ```\n * <NextTile role={checkbox} value=\"ThomasAnderson\" onChange=((value) => console.log(value) />\n * <NextTile role={checkbox} value=\"WhiteRabbit\" onChange=((value) => console.log(value) />\n * ```\n *\n * Group\n * ```\n * <CheckboxGroup label=\"Matrix\" onChange=((value) => console.log(value)>\n * <NextTile role={checkbox} value=\"ThomasAnderson\"/>\n * <NextTile role={checkbox} value=\"WhiteRabbit\"/>\n * </CheckboxGroup>\n * ```\n *\n * @since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,EAAAtB,QAAA;QACPpB,GAAG,EAAEA;MAAoC,GACpCK,KAAK,CACX,CAAC;IAEN,KAAK,UAAU;MACb,oBACE1B,KAAA,CAAAwC,aAAA,CAACuE,aAAa,EAAAtE,QAAA;QACZpB,GAAG,EAAEA;MAAmC,GACnCK,KAAK,CACX,CAAC;IAEN;MACE,OAAO,IAAI;EACf;AACF;AAEA,IAAM2F,KAAK,gBAAGrH,KAAK,CAACmB,UAAU,CAAC8F,SAAS,CAEP;;AAEjC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,IAAMK,QAAQ,GAAG1G,gBAAgB,CACtC;EAAE2C,OAAO,EAAPA,OAAO;EAAEJ,OAAO,EAAPA,OAAO;EAAEC,MAAM,EAANA,MAAM;EAAER,QAAQ,EAARA,QAAQ;EAAE1B,SAAS,EAATA;AAAU,CAAC,EACjDmG,KACF,CAAC"}
@@ -14,7 +14,7 @@ var variantColorMap = {
14
14
  };
15
15
  var StyledNotation = /*#__PURE__*/styled.i.withConfig({
16
16
  displayName: "StyledNotation",
17
- componentId: "core-12_30_0__sc-160q1m6-0"
17
+ componentId: "core-12_32_0__sc-160q1m6-0"
18
18
  })(["", " color:", ";font-style:italic;"], getTypographyIntent('small'), function (_ref) {
19
19
  var $variant = _ref.$variant;
20
20
  return $variant ? colors[variantColorMap[$variant]] : colors.gray15;
@@ -12,37 +12,37 @@ var inputBgColor = colors.white;
12
12
  var inputBorder = "".concat(colors.gray70, " solid 1px");
13
13
  var StyledRootAddon = /*#__PURE__*/styled.span.withConfig({
14
14
  displayName: "StyledRootAddon",
15
- componentId: "core-12_30_0__sc-1782nvg-0"
15
+ componentId: "core-12_32_0__sc-1782nvg-0"
16
16
  })(["display:inline-flex;align-items:center;height:100%;position:absolute;top:0;color:", ";", ";"], function (_ref) {
17
17
  var disabled = _ref.disabled;
18
18
  return disabled ? colors.gray70 : colors.gray45;
19
19
  }, getTypographyIntent('body'));
20
20
  export var StyledPrefix = /*#__PURE__*/styled(StyledRootAddon).withConfig({
21
21
  displayName: "StyledPrefix",
22
- componentId: "core-12_30_0__sc-1782nvg-1"
22
+ componentId: "core-12_32_0__sc-1782nvg-1"
23
23
  })(["left:", "px;"], spacing.md);
24
24
  export var StyledSuffix = /*#__PURE__*/styled(StyledRootAddon).withConfig({
25
25
  displayName: "StyledSuffix",
26
- componentId: "core-12_30_0__sc-1782nvg-2"
26
+ componentId: "core-12_32_0__sc-1782nvg-2"
27
27
  })(["right:", "px;"], function (_ref2) {
28
28
  var $withIncrementer = _ref2.$withIncrementer;
29
29
  return $withIncrementer ? spacing.md + incrementerWidth : spacing.md;
30
30
  });
31
31
  export var StyledIncrementerWrapper = /*#__PURE__*/styled.div.withConfig({
32
32
  displayName: "StyledIncrementerWrapper",
33
- componentId: "core-12_30_0__sc-1782nvg-3"
33
+ componentId: "core-12_32_0__sc-1782nvg-3"
34
34
  })(["display:flex;flex-direction:column;position:absolute;top:1px;right:1px;height:100%;"]);
35
35
  export var StyledIncrementerButton = /*#__PURE__*/styled.button.withConfig({
36
36
  displayName: "StyledIncrementerButton",
37
- componentId: "core-12_30_0__sc-1782nvg-4"
37
+ componentId: "core-12_32_0__sc-1782nvg-4"
38
38
  })(["display:inline-flex;justify-content:center;align-items:center;width:", "px;height:calc(50% - 1px);border:none;border-radius:0px;outline:none;background-color:", ";padding:0;cursor:pointer;&:first-child,&:last-child{border-left:", ";&:disabled{border-color:", ";background-color:", ";}}&:first-child{border-top-right-radius:2px;}&:last-child{border-top:", ";border-bottom-right-radius:2px;}svg{fill:", ";}&:hover{svg{fill:", ";}}&:disabled{cursor:default;svg{fill:", ";}}"], incrementerWidth, inputBgColor, inputBorder, colors.gray70, colors.gray94, inputBorder, colors.gray45, colors.gray10, colors.gray70);
39
39
  export var StyledInput = /*#__PURE__*/styled(Input).withConfig({
40
40
  displayName: "StyledInput",
41
- componentId: "core-12_30_0__sc-1782nvg-5"
41
+ componentId: "core-12_32_0__sc-1782nvg-5"
42
42
  })([""]);
43
43
  export var StyledWrapper = /*#__PURE__*/styled.div.withConfig({
44
44
  displayName: "StyledWrapper",
45
- componentId: "core-12_30_0__sc-1782nvg-6"
45
+ componentId: "core-12_32_0__sc-1782nvg-6"
46
46
  })(["position:relative;", ""], function (_ref3) {
47
47
  var $hasIncrementer = _ref3.$hasIncrementer;
48
48
  return $hasIncrementer && css(["", "{padding-right:", "px;}"], StyledInput, spacing.md + incrementerWidth);
@@ -2,6 +2,6 @@ import styled from 'styled-components';
2
2
  export var arrowSize = 8;
3
3
  export var StyledArrow = /*#__PURE__*/styled.div.withConfig({
4
4
  displayName: "StyledArrow",
5
- componentId: "core-12_30_0__sc-1epxw7u-0"
5
+ componentId: "core-12_32_0__sc-1epxw7u-0"
6
6
  })(["position:absolute;background:inherit;width:", "px;height:", "px;transform:rotate(45deg);"], arrowSize, arrowSize);
7
7
  //# sourceMappingURL=OverlayArrow.styles.js.map
@@ -103,17 +103,17 @@ export declare function useLabelledPopup({ 'aria-describedby': ariaDescribedby,
103
103
  "aria-colindextext"?: string | undefined;
104
104
  "aria-colspan"?: number | undefined;
105
105
  "aria-controls"?: string | undefined;
106
- "aria-current"?: boolean | "time" | "page" | "false" | "true" | "step" | "location" | "date" | undefined;
106
+ "aria-current"?: boolean | "page" | "false" | "true" | "time" | "step" | "location" | "date" | undefined;
107
107
  "aria-describedby": string | undefined;
108
108
  "aria-description"?: string | undefined;
109
109
  "aria-details": string | undefined;
110
110
  "aria-disabled"?: (boolean | "false" | "true") | undefined;
111
- "aria-dropeffect"?: "link" | "none" | "copy" | "move" | "execute" | "popup" | undefined;
111
+ "aria-dropeffect"?: "none" | "copy" | "move" | "link" | "execute" | "popup" | undefined;
112
112
  "aria-errormessage"?: string | undefined;
113
113
  "aria-expanded"?: (boolean | "false" | "true") | undefined;
114
114
  "aria-flowto"?: string | undefined;
115
115
  "aria-grabbed"?: (boolean | "false" | "true") | undefined;
116
- "aria-haspopup"?: boolean | "dialog" | "menu" | "listbox" | "grid" | "false" | "true" | "tree" | undefined;
116
+ "aria-haspopup"?: boolean | "listbox" | "grid" | "menu" | "false" | "true" | "dialog" | "tree" | undefined;
117
117
  "aria-hidden"?: (boolean | "false" | "true") | undefined;
118
118
  "aria-invalid"?: boolean | "false" | "true" | "grammar" | "spelling" | undefined;
119
119
  "aria-keyshortcuts"?: string | undefined;
@@ -130,7 +130,7 @@ export declare function useLabelledPopup({ 'aria-describedby': ariaDescribedby,
130
130
  "aria-posinset"?: number | undefined;
131
131
  "aria-pressed"?: boolean | "mixed" | "false" | "true" | undefined;
132
132
  "aria-readonly"?: (boolean | "false" | "true") | undefined;
133
- "aria-relevant"?: "text" | "all" | "additions" | "additions removals" | "additions text" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals" | undefined;
133
+ "aria-relevant"?: "all" | "text" | "additions" | "additions removals" | "additions text" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals" | undefined;
134
134
  "aria-required"?: (boolean | "false" | "true") | undefined;
135
135
  "aria-roledescription"?: string | undefined;
136
136
  "aria-rowcount"?: number | undefined;
@@ -139,13 +139,13 @@ export declare function useLabelledPopup({ 'aria-describedby': ariaDescribedby,
139
139
  "aria-rowspan"?: number | undefined;
140
140
  "aria-selected"?: (boolean | "false" | "true") | undefined;
141
141
  "aria-setsize"?: number | undefined;
142
- "aria-sort"?: "other" | "none" | "ascending" | "descending" | undefined;
142
+ "aria-sort"?: "none" | "ascending" | "descending" | "other" | undefined;
143
143
  "aria-valuemax"?: number | undefined;
144
144
  "aria-valuemin"?: number | undefined;
145
145
  "aria-valuenow"?: number | undefined;
146
146
  "aria-valuetext"?: string | undefined;
147
147
  id?: string | undefined;
148
- role: "dialog" | "menu" | "listbox";
148
+ role: "listbox" | "menu" | "dialog";
149
149
  };
150
150
  triggerProps: AriaAttributes & {
151
151
  id?: string | undefined;
@@ -9,7 +9,7 @@ export declare const StyledPageTitle: import("styled-components/dist/types").ISt
9
9
  export declare const StyledPageBreadcrumbs: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("styled-components").FastOmit<import("styled-components/dist/types").Substitute<Omit<import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>, "ref"> & {
10
10
  ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
11
11
  }, Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, "ref"> & {
12
- ref?: ((instance: HTMLElement | null) => void) | import("react").RefObject<HTMLElement> | null | undefined;
12
+ ref?: import("react").RefObject<HTMLElement> | ((instance: HTMLElement | null) => void) | null | undefined;
13
13
  }>, never>, never>> & string;
14
14
  export declare const StyledPageBanner: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<Omit<import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>, "ref"> & {
15
15
  ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
@@ -11,52 +11,52 @@ var outerPageSpacing = spacing.lg;
11
11
  var outerPageSpacingSmaller = spacing.md;
12
12
  export var StyledPageHeader = /*#__PURE__*/styled.div.withConfig({
13
13
  displayName: "StyledPageHeader",
14
- componentId: "core-12_30_0__sc-1cvdbsv-0"
14
+ componentId: "core-12_32_0__sc-1cvdbsv-0"
15
15
  })(["padding-top:", "px;padding-right:", "px;padding-left:", "px;@media ", "{padding-right:", "px;padding-left:", "px;}", ""], headerVerticalSpacing, outerPageSpacing, outerPageSpacing, mediaBreakpointsDown.tabletMd, outerPageSpacingSmaller, outerPageSpacingSmaller, function (_ref) {
16
16
  var $transparent = _ref.$transparent;
17
17
  return !$transparent && css(["", " background-color:", ";"], getShadow(1.5), colors.white);
18
18
  });
19
19
  var StyledPageHeaderItem = /*#__PURE__*/styled.div.withConfig({
20
20
  displayName: "StyledPageHeaderItem",
21
- componentId: "core-12_30_0__sc-1cvdbsv-1"
21
+ componentId: "core-12_32_0__sc-1cvdbsv-1"
22
22
  })(["margin-top:", "px;&:first-child{margin-top:0;}"], headerVerticalSpacing);
23
23
  export var StyledPageTitle = /*#__PURE__*/styled(StyledPageHeaderItem).withConfig({
24
24
  displayName: "StyledPageTitle",
25
- componentId: "core-12_30_0__sc-1cvdbsv-2"
25
+ componentId: "core-12_32_0__sc-1cvdbsv-2"
26
26
  })(["&:last-child{padding-bottom:", "px;}"], headerVerticalSpacing);
27
27
  export var StyledPageBreadcrumbs = /*#__PURE__*/styled(StyledPageHeaderItem).attrs({
28
28
  as: 'nav'
29
29
  }).withConfig({
30
30
  displayName: "StyledPageBreadcrumbs",
31
- componentId: "core-12_30_0__sc-1cvdbsv-3"
31
+ componentId: "core-12_32_0__sc-1cvdbsv-3"
32
32
  })([""]);
33
33
  export var StyledPageBanner = /*#__PURE__*/styled(StyledPageHeaderItem).withConfig({
34
34
  displayName: "StyledPageBanner",
35
- componentId: "core-12_30_0__sc-1cvdbsv-4"
35
+ componentId: "core-12_32_0__sc-1cvdbsv-4"
36
36
  })([""]);
37
37
  export var getActions = function getActions() {
38
38
  return css(["flex-shrink:0;padding-left:", "px;> button,> a{&:first-child{margin-left:0;}margin-left:", "px;}"], spacing.xl, spacing.sm);
39
39
  };
40
40
  export var StyledPageActions = /*#__PURE__*/styled.div.withConfig({
41
41
  displayName: "StyledPageActions",
42
- componentId: "core-12_30_0__sc-1cvdbsv-5"
42
+ componentId: "core-12_32_0__sc-1cvdbsv-5"
43
43
  })(["", ""], getActions());
44
44
  export var StyledPageTabs = /*#__PURE__*/styled(StyledPageHeaderItem).withConfig({
45
45
  displayName: "StyledPageTabs",
46
- componentId: "core-12_30_0__sc-1cvdbsv-6"
46
+ componentId: "core-12_32_0__sc-1cvdbsv-6"
47
47
  })([""]);
48
48
  export var StyledBody = /*#__PURE__*/styled.div.withConfig({
49
49
  displayName: "StyledBody",
50
- componentId: "core-12_30_0__sc-1cvdbsv-7"
50
+ componentId: "core-12_32_0__sc-1cvdbsv-7"
51
51
  })(["padding-top:", "px;padding-left:", "px;padding-right:", "px;@media ", "{padding-top:", "px;padding-left:", "px;padding-right:", "px;}"], outerPageSpacing, outerPageSpacing, outerPageSpacing, mediaBreakpointsDown.tabletMd, outerPageSpacingSmaller, outerPageSpacingSmaller, outerPageSpacingSmaller);
52
52
  var navigationWidth = 200;
53
53
  export var StyledNavigation = /*#__PURE__*/styled.div.withConfig({
54
54
  displayName: "StyledNavigation",
55
- componentId: "core-12_30_0__sc-1cvdbsv-8"
55
+ componentId: "core-12_32_0__sc-1cvdbsv-8"
56
56
  })(["float:left;max-height:100vh;min-width:", "px;overflow-y:auto;position:sticky;top:0;width:", "px;", "{padding:20px ", "px 0 0;}@media screen and (max-width:1024px){display:none;}"], navigationWidth, navigationWidth, StyledAnchorNavigation, spacing.sm);
57
57
  export var StyledContent = /*#__PURE__*/styled.div.withConfig({
58
58
  displayName: "StyledContent",
59
- componentId: "core-12_30_0__sc-1cvdbsv-9"
59
+ componentId: "core-12_32_0__sc-1cvdbsv-9"
60
60
  })([""]);
61
61
  var panelWidth = 400;
62
62
  var zIndexes = {
@@ -69,7 +69,7 @@ export var animationDuration = {
69
69
  };
70
70
  export var StyledFooter = /*#__PURE__*/styled.div.withConfig({
71
71
  displayName: "StyledFooter",
72
- componentId: "core-12_30_0__sc-1cvdbsv-10"
72
+ componentId: "core-12_32_0__sc-1cvdbsv-10"
73
73
  })(["background-color:", ";", " position:sticky;bottom:0;z-index:", ";", ""], colors.white, function (_ref2) {
74
74
  var $hasShadow = _ref2.$hasShadow;
75
75
  return $hasShadow && getShadow(2, 'top');
@@ -79,7 +79,7 @@ export var StyledFooter = /*#__PURE__*/styled.div.withConfig({
79
79
  });
80
80
  export var StyledAside = /*#__PURE__*/styled.div.withConfig({
81
81
  displayName: "StyledAside",
82
- componentId: "core-12_30_0__sc-1cvdbsv-11"
82
+ componentId: "core-12_32_0__sc-1cvdbsv-11"
83
83
  })(["", " @media ", "{position:absolute;right:0;}"], function (_ref4) {
84
84
  var $closed = _ref4.$closed,
85
85
  $open = _ref4.$open;
@@ -99,7 +99,7 @@ var getPanelAnimation = function getPanelAnimation() {
99
99
  };
100
100
  export var StyledAsidePanel = /*#__PURE__*/styled.div.withConfig({
101
101
  displayName: "StyledAsidePanel",
102
- componentId: "core-12_30_0__sc-1cvdbsv-12"
102
+ componentId: "core-12_32_0__sc-1cvdbsv-12"
103
103
  })(["", " @media ", "{", "}", " ", " border-left:1px solid ", ";width:", "px;position:fixed;background-color:", ";overflow:auto;z-index:", ";", " ", ""], function (_ref7) {
104
104
  var $rightOffset = _ref7.$rightOffset;
105
105
  return css(["@media ", "{", " border-left:0;z-index:", ";right:", "px;}"], mediaBreakpointsDown.tabletMd, getShadow(2), zIndexes.panelNarrowScreen, $rightOffset);
@@ -118,7 +118,7 @@ export var StyledAsidePanel = /*#__PURE__*/styled.div.withConfig({
118
118
  });
119
119
  export var StyledPageMain = /*#__PURE__*/styled.div.withConfig({
120
120
  displayName: "StyledPageMain",
121
- componentId: "core-12_30_0__sc-1cvdbsv-13"
121
+ componentId: "core-12_32_0__sc-1cvdbsv-13"
122
122
  })(["position:relative;max-width:100%;background-color:", ";", " ", ""], colors.gray96, function () {
123
123
  return isIE11() && css(["flex:1 0 0%;"]);
124
124
  }, function (_ref10) {
@@ -133,13 +133,13 @@ export var StyledPageMain = /*#__PURE__*/styled.div.withConfig({
133
133
  });
134
134
  export var StyledPageContainer = /*#__PURE__*/styled.div.withConfig({
135
135
  displayName: "StyledPageContainer",
136
- componentId: "core-12_30_0__sc-1cvdbsv-14"
136
+ componentId: "core-12_32_0__sc-1cvdbsv-14"
137
137
  })(["display:grid;grid-template-columns:1fr auto;", ""], function () {
138
138
  return isIE11() && css(["display:flex;flex-wrap:wrap;"]);
139
139
  });
140
140
  export var StyledAsideFluidContainer = /*#__PURE__*/styled.div.withConfig({
141
141
  displayName: "StyledAsideFluidContainer",
142
- componentId: "core-12_30_0__sc-1cvdbsv-15"
142
+ componentId: "core-12_32_0__sc-1cvdbsv-15"
143
143
  })(["", ""], function (_ref11) {
144
144
  var $closed = _ref11.$closed,
145
145
  $open = _ref11.$open;
@@ -3,6 +3,6 @@ import { colors } from '../../_styles/colors';
3
3
  import { spacing } from '../../_styles/spacing';
4
4
  export var StyledPageFooter = /*#__PURE__*/styled.footer.withConfig({
5
5
  displayName: "StyledPageFooter",
6
- componentId: "core-12_30_0__sc-1f0zfyf-0"
6
+ componentId: "core-12_32_0__sc-1f0zfyf-0"
7
7
  })(["display:flex;align-items:center;justify-content:space-between;background-color:", ";padding:", "px;width:100%;box-shadow:0 -2px 6px 0 rgba(0,0,0,0.1);position:sticky;bottom:0;"], colors.white, spacing.lg);
8
8
  //# sourceMappingURL=PageFooterTemplate.styles.js.map
@@ -5,16 +5,16 @@ import { colors } from '../../_styles/colors';
5
5
  import { spacing } from '../../_styles/spacing';
6
6
  export var StyledPageHeader = /*#__PURE__*/styled(Page.Header).withConfig({
7
7
  displayName: "StyledPageHeader",
8
- componentId: "core-12_30_0__sc-1d5kop0-0"
8
+ componentId: "core-12_32_0__sc-1d5kop0-0"
9
9
  })(["border-bottom:1px solid ", ";padding-top:", "px;", ""], colors.gray85, spacing.lg, function (p) {
10
10
  return p.$hasPaddingBottom && "padding-bottom: ".concat(spacing.lg, "px;");
11
11
  });
12
12
  export var StyledActions = /*#__PURE__*/styled(Box).withConfig({
13
13
  displayName: "StyledActions",
14
- componentId: "core-12_30_0__sc-1d5kop0-1"
14
+ componentId: "core-12_32_0__sc-1d5kop0-1"
15
15
  })(["width:fit-content;"]);
16
16
  export var StyledToggleActionBox = /*#__PURE__*/styled(Box).withConfig({
17
17
  displayName: "StyledToggleActionBox",
18
- componentId: "core-12_30_0__sc-1d5kop0-2"
18
+ componentId: "core-12_32_0__sc-1d5kop0-2"
19
19
  })(["bottom:", "px;position:relative;padding-left:48px;"], spacing.lg);
20
20
  //# sourceMappingURL=PageHeaderTemplate.styles.js.map
@@ -10,10 +10,10 @@ var panelWidthSmall = 360;
10
10
  export var mobileBreakpoint = 440;
11
11
  export var StyledPageAside = /*#__PURE__*/styled(Page.Aside).withConfig({
12
12
  displayName: "StyledPageAside",
13
- componentId: "core-12_30_0__sc-1p7nu53-0"
13
+ componentId: "core-12_32_0__sc-1p7nu53-0"
14
14
  })(["position:sticky;top:0;right:0;max-height:100vh;width:100%;height:100%;@media ", "{position:sticky;max-width:", "px;flex-basis:", "px;}", "{@media ", "{max-width:", "px;}}", "{position:sticky;top:0;right:0;box-shadow:none;animation:none;padding-bottom:68px;@media ", "{width:", "px;}@media (max-width:", "px){padding-bottom:0;}}", "{position:fixed;bottom:0;display:flex;width:100%;max-width:400px;@media ", "{max-width:", "px;}}"], mediaBreakpointsDown.tabletLg, panelWidthSmall, panelWidthSmall, StyledAsideFluidContainer, mediaBreakpointsDown.tabletLg, panelWidthSmall, StyledAsidePanel, mediaBreakpointsDown.tabletLg, panelWidthSmall, mobileBreakpoint, StyledPanelFooter, mediaBreakpointsDown.tabletLg, panelWidthSmall);
15
15
  export var StyledModal = /*#__PURE__*/styled(Modal).withConfig({
16
16
  displayName: "StyledModal",
17
- componentId: "core-12_30_0__sc-1p7nu53-1"
17
+ componentId: "core-12_32_0__sc-1p7nu53-1"
18
18
  })(["top:", "px;bottom:", "px;max-width:416px;transform:none;", "{max-height:100vh;}@media (max-width:", "px){top:0;bottom:0;left:0;right:0;max-width:100%;}"], spacing.md, spacing.md, StyledModalContent, mobileBreakpoint);
19
19
  //# sourceMappingURL=PagePaneTemplate.styles.js.map
@@ -5,14 +5,14 @@ import { spacing } from '../../_styles/spacing';
5
5
  export var mobileBreakpoint = 440;
6
6
  export var StyledPageWrapper = /*#__PURE__*/styled.div.withConfig({
7
7
  displayName: "StyledPageWrapper",
8
- componentId: "core-12_30_0__sc-uuo7st-0"
8
+ componentId: "core-12_32_0__sc-uuo7st-0"
9
9
  })(["display:flex;flex-direction:column;"]);
10
10
  export var StyledPageBodyWrapper = /*#__PURE__*/styled.div.withConfig({
11
11
  displayName: "StyledPageBodyWrapper",
12
- componentId: "core-12_30_0__sc-uuo7st-1"
12
+ componentId: "core-12_32_0__sc-uuo7st-1"
13
13
  })(["display:grid;grid-template-columns:1fr auto;"]);
14
14
  export var StyledPageBody = /*#__PURE__*/styled(Page.Body).withConfig({
15
15
  displayName: "StyledPageBody",
16
- componentId: "core-12_30_0__sc-uuo7st-2"
16
+ componentId: "core-12_32_0__sc-uuo7st-2"
17
17
  })(["padding-bottom:", "px;@media ", "{padding:", "px;}"], spacing.lg, mediaBreakpointsDown.desktopMd, spacing.md);
18
18
  //# sourceMappingURL=PageTemplate.styles.js.map
@@ -1,9 +1,7 @@
1
1
  import React from 'react';
2
2
  import type { PageComponentProps } from '../../PageLayout/PageLayout.types';
3
- interface Props extends PageComponentProps {
3
+ export interface PageTemplateCardProps extends PageComponentProps {
4
+ id?: string;
4
5
  navigationLabel?: string;
5
6
  }
6
- export declare const PageTemplateCard: React.ForwardRefExoticComponent<Props & {
7
- id?: string | undefined;
8
- } & React.RefAttributes<HTMLDivElement>>;
9
- export {};
7
+ export declare const PageTemplateCard: React.ForwardRefExoticComponent<PageTemplateCardProps & React.RefAttributes<HTMLDivElement>>;
@@ -1 +1 @@
1
- {"version":3,"file":"PageTemplateCard.js","names":["useId","React","useAnchorNavigationContext","Card","SectionProvider","mergeRefs","PageTemplateCard","forwardRef","_ref","ref","navigationLabel","props","_objectWithoutProperties","_excluded","cardId","cardRef","useRef","_useAnchorNavigationC","registerSection","unregisterSection","id","useEffect","_cardRef$current","_cardRef$current$quer","label","current","querySelector","textContent","createElement","_extends"],"sources":["../../../src/PageTemplate/PageTemplate/PageTemplateCard.tsx"],"sourcesContent":["import { useId } from '@react-aria/utils'\nimport React from 'react'\nimport { useAnchorNavigationContext } from '../../AnchorNavigation/AnchorNavigationProvider'\nimport { Card } from '../../Card'\nimport type { PageComponentProps } from '../../PageLayout/PageLayout.types'\nimport { SectionProvider } from '../../Section'\nimport { mergeRefs } from '../../_utils/mergeRefs'\n\ninterface Props extends PageComponentProps {\n navigationLabel?: string\n}\n\nexport const PageTemplateCard = React.forwardRef<\n HTMLDivElement,\n Props & { id?: string }\n>(({ navigationLabel, ...props }, ref) => {\n const cardId = useId()\n const cardRef = React.useRef<HTMLDivElement>(null)\n const { registerSection, unregisterSection } = useAnchorNavigationContext()\n const id = props.id || cardId\n\n React.useEffect(() => {\n const label =\n navigationLabel || cardRef.current?.querySelector('h2')?.textContent\n if (!cardRef.current || !label) return\n\n registerSection(id, label, cardRef.current)\n\n return () => unregisterSection(id)\n }, []) // eslint-disable-line react-hooks/exhaustive-deps\n\n return (\n <SectionProvider>\n <Card ref={mergeRefs(ref, cardRef)} id={id} {...props} />\n </SectionProvider>\n )\n})\n"],"mappings":";;;;AAAA,SAASA,KAAK,QAAQ,mBAAmB;AACzC,OAAOC,KAAK,MAAM,OAAO;AACzB,SAASC,0BAA0B,QAAQ,iDAAiD;AAC5F,SAASC,IAAI,QAAQ,YAAY;AAEjC,SAASC,eAAe,QAAQ,eAAe;AAC/C,SAASC,SAAS,QAAQ,wBAAwB;AAMlD,OAAO,IAAMC,gBAAgB,gBAAGL,KAAK,CAACM,UAAU,CAG9C,UAAAC,IAAA,EAAgCC,GAAG,EAAK;EAAA,IAArCC,eAAe,GAAAF,IAAA,CAAfE,eAAe;IAAKC,KAAK,GAAAC,wBAAA,CAAAJ,IAAA,EAAAK,SAAA;EAC5B,IAAMC,MAAM,GAAGd,KAAK,CAAC,CAAC;EACtB,IAAMe,OAAO,GAAGd,KAAK,CAACe,MAAM,CAAiB,IAAI,CAAC;EAClD,IAAAC,qBAAA,GAA+Cf,0BAA0B,CAAC,CAAC;IAAnEgB,eAAe,GAAAD,qBAAA,CAAfC,eAAe;IAAEC,iBAAiB,GAAAF,qBAAA,CAAjBE,iBAAiB;EAC1C,IAAMC,EAAE,GAAGT,KAAK,CAACS,EAAE,IAAIN,MAAM;EAE7Bb,KAAK,CAACoB,SAAS,CAAC,YAAM;IAAA,IAAAC,gBAAA,EAAAC,qBAAA;IACpB,IAAMC,KAAK,GACTd,eAAe,MAAAY,gBAAA,GAAIP,OAAO,CAACU,OAAO,cAAAH,gBAAA,wBAAAC,qBAAA,GAAfD,gBAAA,CAAiBI,aAAa,CAAC,IAAI,CAAC,cAAAH,qBAAA,uBAApCA,qBAAA,CAAsCI,WAAW;IACtE,IAAI,CAACZ,OAAO,CAACU,OAAO,IAAI,CAACD,KAAK,EAAE;IAEhCN,eAAe,CAACE,EAAE,EAAEI,KAAK,EAAET,OAAO,CAACU,OAAO,CAAC;IAE3C,OAAO;MAAA,OAAMN,iBAAiB,CAACC,EAAE,CAAC;IAAA;EACpC,CAAC,EAAE,EAAE,CAAC,EAAC;;EAEP,oBACEnB,KAAA,CAAA2B,aAAA,CAACxB,eAAe,qBACdH,KAAA,CAAA2B,aAAA,CAACzB,IAAI,EAAA0B,QAAA;IAACpB,GAAG,EAAEJ,SAAS,CAACI,GAAG,EAAEM,OAAO,CAAE;IAACK,EAAE,EAAEA;EAAG,GAAKT,KAAK,CAAG,CACzC,CAAC;AAEtB,CAAC,CAAC"}
1
+ {"version":3,"file":"PageTemplateCard.js","names":["useId","React","useAnchorNavigationContext","Card","SectionProvider","mergeRefs","PageTemplateCard","forwardRef","_ref","ref","navigationLabel","props","_objectWithoutProperties","_excluded","cardId","cardRef","useRef","_useAnchorNavigationC","registerSection","unregisterSection","id","useEffect","_cardRef$current","_cardRef$current$quer","label","current","querySelector","textContent","createElement","_extends"],"sources":["../../../src/PageTemplate/PageTemplate/PageTemplateCard.tsx"],"sourcesContent":["import { useId } from '@react-aria/utils'\nimport React from 'react'\nimport { useAnchorNavigationContext } from '../../AnchorNavigation/AnchorNavigationProvider'\nimport { Card } from '../../Card'\nimport type { PageComponentProps } from '../../PageLayout/PageLayout.types'\nimport { SectionProvider } from '../../Section'\nimport { mergeRefs } from '../../_utils/mergeRefs'\n\nexport interface PageTemplateCardProps extends PageComponentProps {\n id?: string\n navigationLabel?: string\n}\n\nexport const PageTemplateCard = React.forwardRef<\n HTMLDivElement,\n PageTemplateCardProps\n>(({ navigationLabel, ...props }, ref) => {\n const cardId = useId()\n const cardRef = React.useRef<HTMLDivElement>(null)\n const { registerSection, unregisterSection } = useAnchorNavigationContext()\n const id = props.id || cardId\n\n React.useEffect(() => {\n const label =\n navigationLabel || cardRef.current?.querySelector('h2')?.textContent\n if (!cardRef.current || !label) return\n\n registerSection(id, label, cardRef.current)\n\n return () => unregisterSection(id)\n }, []) // eslint-disable-line react-hooks/exhaustive-deps\n\n return (\n <SectionProvider>\n <Card ref={mergeRefs(ref, cardRef)} id={id} {...props} />\n </SectionProvider>\n )\n})\n"],"mappings":";;;;AAAA,SAASA,KAAK,QAAQ,mBAAmB;AACzC,OAAOC,KAAK,MAAM,OAAO;AACzB,SAASC,0BAA0B,QAAQ,iDAAiD;AAC5F,SAASC,IAAI,QAAQ,YAAY;AAEjC,SAASC,eAAe,QAAQ,eAAe;AAC/C,SAASC,SAAS,QAAQ,wBAAwB;AAOlD,OAAO,IAAMC,gBAAgB,gBAAGL,KAAK,CAACM,UAAU,CAG9C,UAAAC,IAAA,EAAgCC,GAAG,EAAK;EAAA,IAArCC,eAAe,GAAAF,IAAA,CAAfE,eAAe;IAAKC,KAAK,GAAAC,wBAAA,CAAAJ,IAAA,EAAAK,SAAA;EAC5B,IAAMC,MAAM,GAAGd,KAAK,CAAC,CAAC;EACtB,IAAMe,OAAO,GAAGd,KAAK,CAACe,MAAM,CAAiB,IAAI,CAAC;EAClD,IAAAC,qBAAA,GAA+Cf,0BAA0B,CAAC,CAAC;IAAnEgB,eAAe,GAAAD,qBAAA,CAAfC,eAAe;IAAEC,iBAAiB,GAAAF,qBAAA,CAAjBE,iBAAiB;EAC1C,IAAMC,EAAE,GAAGT,KAAK,CAACS,EAAE,IAAIN,MAAM;EAE7Bb,KAAK,CAACoB,SAAS,CAAC,YAAM;IAAA,IAAAC,gBAAA,EAAAC,qBAAA;IACpB,IAAMC,KAAK,GACTd,eAAe,MAAAY,gBAAA,GAAIP,OAAO,CAACU,OAAO,cAAAH,gBAAA,wBAAAC,qBAAA,GAAfD,gBAAA,CAAiBI,aAAa,CAAC,IAAI,CAAC,cAAAH,qBAAA,uBAApCA,qBAAA,CAAsCI,WAAW;IACtE,IAAI,CAACZ,OAAO,CAACU,OAAO,IAAI,CAACD,KAAK,EAAE;IAEhCN,eAAe,CAACE,EAAE,EAAEI,KAAK,EAAET,OAAO,CAACU,OAAO,CAAC;IAE3C,OAAO;MAAA,OAAMN,iBAAiB,CAACC,EAAE,CAAC;IAAA;EACpC,CAAC,EAAE,EAAE,CAAC,EAAC;;EAEP,oBACEnB,KAAA,CAAA2B,aAAA,CAACxB,eAAe,qBACdH,KAAA,CAAA2B,aAAA,CAACzB,IAAI,EAAA0B,QAAA;IAACpB,GAAG,EAAEJ,SAAS,CAACI,GAAG,EAAEM,OAAO,CAAE;IAACK,EAAE,EAAEA;EAAG,GAAKT,KAAK,CAAG,CACzC,CAAC;AAEtB,CAAC,CAAC"}
@@ -5,22 +5,22 @@ import { Typography } from '../Typography/Typography';
5
5
  import { spacing } from '../_styles/spacing';
6
6
  export var StyledContainer = /*#__PURE__*/styled.div.withConfig({
7
7
  displayName: "StyledContainer",
8
- componentId: "core-12_30_0__sc-fy34i1-0"
8
+ componentId: "core-12_32_0__sc-fy34i1-0"
9
9
  })(["display:flex;align-items:center;"]);
10
10
  export var StyledPageCount = /*#__PURE__*/styled(Typography).withConfig({
11
11
  displayName: "StyledPageCount",
12
- componentId: "core-12_30_0__sc-fy34i1-1"
12
+ componentId: "core-12_32_0__sc-fy34i1-1"
13
13
  })(["margin-right:", "px;"], spacing.xl);
14
14
  export var StyledCurrentPage = /*#__PURE__*/styled(Typography).withConfig({
15
15
  displayName: "StyledCurrentPage",
16
- componentId: "core-12_30_0__sc-fy34i1-2"
16
+ componentId: "core-12_32_0__sc-fy34i1-2"
17
17
  })(["margin-right:", "px;"], spacing.sm);
18
18
  export var StyledButton = /*#__PURE__*/styled(Button).withConfig({
19
19
  displayName: "StyledButton",
20
- componentId: "core-12_30_0__sc-fy34i1-3"
20
+ componentId: "core-12_32_0__sc-fy34i1-3"
21
21
  })(["margin-left:", "px;"], spacing.sm);
22
22
  export var StyledOverlay = /*#__PURE__*/styled(Card).withConfig({
23
23
  displayName: "StyledOverlay",
24
- componentId: "core-12_30_0__sc-fy34i1-4"
24
+ componentId: "core-12_32_0__sc-fy34i1-4"
25
25
  })(["max-height:300px;max-width:248px;"]);
26
26
  //# sourceMappingURL=Pagination.styles.js.map
@@ -11,15 +11,15 @@ var gutter = /*#__PURE__*/css(["> * + *{margin-left:", "px;}"], spacing.sm);
11
11
  var panel = /*#__PURE__*/css(["display:flex;align-items:center;padding:", "px;background:", ";"], spacing.lg, colors.white);
12
12
  export var StyledHeader = /*#__PURE__*/styled.div.withConfig({
13
13
  displayName: "StyledHeader",
14
- componentId: "core-12_30_0__sc-lidix2-0"
14
+ componentId: "core-12_32_0__sc-lidix2-0"
15
15
  })(["border-bottom:1px solid ", ";", ""], colors.gray85, panel);
16
16
  export var StyledTitle = /*#__PURE__*/styled(H2).withConfig({
17
17
  displayName: "StyledTitle",
18
- componentId: "core-12_30_0__sc-lidix2-1"
18
+ componentId: "core-12_32_0__sc-lidix2-1"
19
19
  })(["flex-grow:1;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;"]);
20
20
  export var StyledHeaderBackAction = /*#__PURE__*/styled.div.withConfig({
21
21
  displayName: "StyledHeaderBackAction",
22
- componentId: "core-12_30_0__sc-lidix2-2"
22
+ componentId: "core-12_32_0__sc-lidix2-2"
23
23
  })(["transition:all 300ms ease-out;flex-shrink:0;width:", "px;margin-right:", "px;opacity:", ";transform:translateX( ", "px );"], function (_ref) {
24
24
  var $active = _ref.$active;
25
25
  return $active ? headerActionSize : 0;
@@ -35,38 +35,38 @@ export var StyledHeaderBackAction = /*#__PURE__*/styled.div.withConfig({
35
35
  });
36
36
  export var StyledMoreMenu = /*#__PURE__*/styled(Card).withConfig({
37
37
  displayName: "StyledMoreMenu",
38
- componentId: "core-12_30_0__sc-lidix2-3"
38
+ componentId: "core-12_32_0__sc-lidix2-3"
39
39
  })(["max-height:128px;"]);
40
40
  export var StyledHeaderActions = /*#__PURE__*/styled.div.withConfig({
41
41
  displayName: "StyledHeaderActions",
42
- componentId: "core-12_30_0__sc-lidix2-4"
42
+ componentId: "core-12_32_0__sc-lidix2-4"
43
43
  })(["display:flex;margin-left:", "px;flex-shrink:0;", ""], spacing.lg, gutter);
44
44
  export var StyledCloseButton = /*#__PURE__*/styled.div.withConfig({
45
45
  displayName: "StyledCloseButton",
46
- componentId: "core-12_30_0__sc-lidix2-5"
46
+ componentId: "core-12_32_0__sc-lidix2-5"
47
47
  })(["margin-left:", "px;"], spacing.sm);
48
48
  export var StyledBody = /*#__PURE__*/styled.div.withConfig({
49
49
  displayName: "StyledBody",
50
- componentId: "core-12_30_0__sc-lidix2-6"
50
+ componentId: "core-12_32_0__sc-lidix2-6"
51
51
  })(["height:100%;background:", ";overflow-y:auto;&:focus-visible{", "}> ", "{padding-left:", "px;padding-right:", "px;", "{padding-left:0;padding-right:0;}&:first-child > ", "{padding-top:", "px;}}"], function (_ref5) {
52
52
  var secondaryBgColor = _ref5.secondaryBgColor;
53
53
  return secondaryBgColor ? colors.gray96 : colors.white;
54
54
  }, getFocusInset(), StyledSection, spacing.lg, spacing.lg, StyledSection, StyledSectionInner, spacing.lg);
55
55
  export var StyledPanel = /*#__PURE__*/styled.aside.withConfig({
56
56
  displayName: "StyledPanel",
57
- componentId: "core-12_30_0__sc-lidix2-7"
57
+ componentId: "core-12_32_0__sc-lidix2-7"
58
58
  })(["display:flex;flex-direction:column;width:100%;height:100%;background:", ";overflow:hidden;"], colors.white);
59
59
  export var StyledFooterNotation = /*#__PURE__*/styled.div.withConfig({
60
60
  displayName: "StyledFooterNotation",
61
- componentId: "core-12_30_0__sc-lidix2-8"
61
+ componentId: "core-12_32_0__sc-lidix2-8"
62
62
  })(["flex-grow:1;"]);
63
63
  export var StyledFooterActions = /*#__PURE__*/styled.div.withConfig({
64
64
  displayName: "StyledFooterActions",
65
- componentId: "core-12_30_0__sc-lidix2-9"
65
+ componentId: "core-12_32_0__sc-lidix2-9"
66
66
  })(["", ""], gutter);
67
67
  export var StyledFooter = /*#__PURE__*/styled.div.withConfig({
68
68
  displayName: "StyledFooter",
69
- componentId: "core-12_30_0__sc-lidix2-10"
69
+ componentId: "core-12_32_0__sc-lidix2-10"
70
70
  })(["border-top:1px solid ", ";justify-content:flex-end;", " ", ""], colors.gray85, panel, function (_ref6) {
71
71
  var $hasShadow = _ref6.$hasShadow;
72
72
  return $hasShadow && css(["box-shadow:0 -4px 6px 0 #0000001a;z-index:1;"]);
@@ -6,18 +6,18 @@ import { PillColorPalets } from './Pill.colorPalette';
6
6
  var pillButtonSize = 16;
7
7
  export var StyledPill = /*#__PURE__*/styled.span.withConfig({
8
8
  displayName: "StyledPill",
9
- componentId: "core-12_30_0__sc-99e1t5-0"
9
+ componentId: "core-12_32_0__sc-99e1t5-0"
10
10
  })(["", " display:inline-block;padding:1px ", "px;border:1px solid;border-radius:10px;font-weight:600;& + &{margin-left:", "px;}", ""], getTypographyIntent('small'), spacing.sm, spacing.xs, function (_ref) {
11
11
  var $color = _ref.$color;
12
12
  return css(["background-color:", ";border-color:", ";color:", ";"], PillColorPalets[$color].backgroundColor, PillColorPalets[$color].borderColor, PillColorPalets[$color].color);
13
13
  });
14
14
  export var StyledRemove = /*#__PURE__*/styled(Clear).withConfig({
15
15
  displayName: "StyledRemove",
16
- componentId: "core-12_30_0__sc-99e1t5-1"
16
+ componentId: "core-12_32_0__sc-99e1t5-1"
17
17
  })(["border-radius:100%;cursor:pointer;flex:0 0 auto;height:", "px;width:", "px;vertical-align:top;"], pillButtonSize, pillButtonSize);
18
18
  export var StyledRemoveButton = /*#__PURE__*/styled.button.withConfig({
19
19
  displayName: "StyledRemoveButton",
20
- componentId: "core-12_30_0__sc-99e1t5-2"
20
+ componentId: "core-12_32_0__sc-99e1t5-2"
21
21
  })(["border:0;padding:0;border-radius:100%;margin:0 -", "px 0 ", "px;color:inherit;", ""], pillButtonSize / 2 - spacing.xxs, spacing.xxs, function (_ref2) {
22
22
  var $color = _ref2.$color;
23
23
  return css(["&:hover{background:", ";color:", ";}"], PillColorPalets[$color].color, PillColorPalets[$color].backgroundColor);
@@ -6,19 +6,19 @@ import { spacing } from '../_styles/spacing';
6
6
  var checkedIconPlaceholderWidth = 32;
7
7
  export var PillSelectOptionWrapper = /*#__PURE__*/styled.div.withConfig({
8
8
  displayName: "PillSelectOptionWrapper",
9
- componentId: "core-12_30_0__sc-1ai2ze0-0"
9
+ componentId: "core-12_32_0__sc-1ai2ze0-0"
10
10
  })(["display:flex;align-items:center;justify-content:space-between;"]);
11
11
  export var PillSelectCheckedContainer = /*#__PURE__*/styled.div.withConfig({
12
12
  displayName: "PillSelectCheckedContainer",
13
- componentId: "core-12_30_0__sc-1ai2ze0-1"
13
+ componentId: "core-12_32_0__sc-1ai2ze0-1"
14
14
  })(["align-items:center;color:", ";display:inline-flex;padding-left:", "px;width:", "px;"], colors.blue50, spacing.sm, checkedIconPlaceholderWidth);
15
15
  export var PillSelectLabel = /*#__PURE__*/styled(Pill).withConfig({
16
16
  displayName: "PillSelectLabel",
17
- componentId: "core-12_30_0__sc-1ai2ze0-2"
17
+ componentId: "core-12_32_0__sc-1ai2ze0-2"
18
18
  })(["", ""], getEllipsis);
19
19
  export var PillSelectLabelWrapper = /*#__PURE__*/styled.div.withConfig({
20
20
  displayName: "PillSelectLabelWrapper",
21
- componentId: "core-12_30_0__sc-1ai2ze0-3"
21
+ componentId: "core-12_32_0__sc-1ai2ze0-3"
22
22
  })(["display:flex;max-width:100%;pointer-events:auto;", ""], function (_ref) {
23
23
  var disabled = _ref.disabled;
24
24
  return disabled && css(["pointer-events:none;"]);
@@ -5,7 +5,7 @@ import { getShadow } from '../_styles/shadows';
5
5
  export var popoverArrowSize = 6;
6
6
  export var StyledPopoverContent = /*#__PURE__*/styled.span.withConfig({
7
7
  displayName: "StyledPopoverContent",
8
- componentId: "core-12_30_0__sc-1cd0ihn-0"
8
+ componentId: "core-12_32_0__sc-1cd0ihn-0"
9
9
  })(["background-color:", ";border-radius:inherit;color:", ";display:inline-block;max-width:250px;position:relative;", ""], colors.white, colors.gray15, function (_ref) {
10
10
  var $block = _ref.$block,
11
11
  $fluid = _ref.$fluid;
@@ -15,6 +15,6 @@ export var StyledPopoverContent = /*#__PURE__*/styled.span.withConfig({
15
15
  });
16
16
  export var StyledPopover = /*#__PURE__*/styled.div.withConfig({
17
17
  displayName: "StyledPopover",
18
- componentId: "core-12_30_0__sc-1cd0ihn-1"
18
+ componentId: "core-12_32_0__sc-1cd0ihn-1"
19
19
  })(["display:inline-block;border-radius:", "px;", " & + [data-overlay-arrow]{background:", ";}"], borderRadius.md, getShadow(3), colors.white);
20
20
  //# sourceMappingURL=Popover.styles.js.map