@fluentui/react-card 0.0.0-nightly-20230526-0415.1 → 0.0.0-nightly-20230530-0415.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 (91) hide show
  1. package/CHANGELOG.json +17 -17
  2. package/CHANGELOG.md +11 -11
  3. package/lib/Card.js +1 -0
  4. package/lib/Card.js.map +1 -1
  5. package/lib/CardFooter.js +1 -0
  6. package/lib/CardFooter.js.map +1 -1
  7. package/lib/CardHeader.js +1 -0
  8. package/lib/CardHeader.js.map +1 -1
  9. package/lib/CardPreview.js +1 -0
  10. package/lib/CardPreview.js.map +1 -1
  11. package/lib/components/Card/Card.js +6 -6
  12. package/lib/components/Card/Card.js.map +1 -1
  13. package/lib/components/Card/Card.types.js +1 -0
  14. package/lib/components/Card/Card.types.js.map +1 -1
  15. package/lib/components/Card/CardContext.js +13 -15
  16. package/lib/components/Card/CardContext.js.map +1 -1
  17. package/lib/components/Card/index.js +1 -0
  18. package/lib/components/Card/index.js.map +1 -1
  19. package/lib/components/Card/renderCard.js +7 -10
  20. package/lib/components/Card/renderCard.js.map +1 -1
  21. package/lib/components/Card/useCard.js +69 -76
  22. package/lib/components/Card/useCard.js.map +1 -1
  23. package/lib/components/Card/useCardContextValue.js +5 -6
  24. package/lib/components/Card/useCardContextValue.js.map +1 -1
  25. package/lib/components/Card/useCardSelectable.js +119 -97
  26. package/lib/components/Card/useCardSelectable.js.map +1 -1
  27. package/lib/components/Card/useCardStyles.styles.js.map +1 -1
  28. package/lib/components/CardFooter/CardFooter.js +5 -5
  29. package/lib/components/CardFooter/CardFooter.js.map +1 -1
  30. package/lib/components/CardFooter/CardFooter.types.js +2 -1
  31. package/lib/components/CardFooter/CardFooter.types.js.map +1 -1
  32. package/lib/components/CardFooter/index.js +1 -0
  33. package/lib/components/CardFooter/index.js.map +1 -1
  34. package/lib/components/CardFooter/renderCardFooter.js +5 -8
  35. package/lib/components/CardFooter/renderCardFooter.js.map +1 -1
  36. package/lib/components/CardFooter/useCardFooter.js +14 -16
  37. package/lib/components/CardFooter/useCardFooter.js.map +1 -1
  38. package/lib/components/CardFooter/useCardFooterStyles.styles.js.map +1 -1
  39. package/lib/components/CardHeader/CardHeader.js +5 -5
  40. package/lib/components/CardHeader/CardHeader.js.map +1 -1
  41. package/lib/components/CardHeader/CardHeader.types.js +2 -1
  42. package/lib/components/CardHeader/CardHeader.types.js.map +1 -1
  43. package/lib/components/CardHeader/index.js +1 -0
  44. package/lib/components/CardHeader/index.js.map +1 -1
  45. package/lib/components/CardHeader/renderCardHeader.js +5 -8
  46. package/lib/components/CardHeader/renderCardHeader.js.map +1 -1
  47. package/lib/components/CardHeader/useCardHeader.js +39 -47
  48. package/lib/components/CardHeader/useCardHeader.js.map +1 -1
  49. package/lib/components/CardHeader/useCardHeaderStyles.styles.js.map +1 -1
  50. package/lib/components/CardPreview/CardPreview.js +5 -5
  51. package/lib/components/CardPreview/CardPreview.js.map +1 -1
  52. package/lib/components/CardPreview/CardPreview.types.js +2 -1
  53. package/lib/components/CardPreview/CardPreview.types.js.map +1 -1
  54. package/lib/components/CardPreview/index.js +1 -0
  55. package/lib/components/CardPreview/index.js.map +1 -1
  56. package/lib/components/CardPreview/renderCardPreview.js +5 -8
  57. package/lib/components/CardPreview/renderCardPreview.js.map +1 -1
  58. package/lib/components/CardPreview/useCardPreview.js +40 -43
  59. package/lib/components/CardPreview/useCardPreview.js.map +1 -1
  60. package/lib/components/CardPreview/useCardPreviewStyles.styles.js.map +1 -1
  61. package/lib/index.js +1 -0
  62. package/lib/index.js.map +1 -1
  63. package/lib-commonjs/Card.js.map +1 -1
  64. package/lib-commonjs/CardFooter.js.map +1 -1
  65. package/lib-commonjs/CardHeader.js.map +1 -1
  66. package/lib-commonjs/CardPreview.js.map +1 -1
  67. package/lib-commonjs/components/Card/Card.js.map +1 -1
  68. package/lib-commonjs/components/Card/Card.types.js.map +1 -1
  69. package/lib-commonjs/components/Card/CardContext.js.map +1 -1
  70. package/lib-commonjs/components/Card/index.js.map +1 -1
  71. package/lib-commonjs/components/Card/renderCard.js.map +1 -1
  72. package/lib-commonjs/components/Card/useCard.js.map +1 -1
  73. package/lib-commonjs/components/Card/useCardContextValue.js.map +1 -1
  74. package/lib-commonjs/components/Card/useCardSelectable.js.map +1 -1
  75. package/lib-commonjs/components/CardFooter/CardFooter.js.map +1 -1
  76. package/lib-commonjs/components/CardFooter/CardFooter.types.js.map +1 -1
  77. package/lib-commonjs/components/CardFooter/index.js.map +1 -1
  78. package/lib-commonjs/components/CardFooter/renderCardFooter.js.map +1 -1
  79. package/lib-commonjs/components/CardFooter/useCardFooter.js.map +1 -1
  80. package/lib-commonjs/components/CardHeader/CardHeader.js.map +1 -1
  81. package/lib-commonjs/components/CardHeader/CardHeader.types.js.map +1 -1
  82. package/lib-commonjs/components/CardHeader/index.js.map +1 -1
  83. package/lib-commonjs/components/CardHeader/renderCardHeader.js.map +1 -1
  84. package/lib-commonjs/components/CardHeader/useCardHeader.js.map +1 -1
  85. package/lib-commonjs/components/CardPreview/CardPreview.js.map +1 -1
  86. package/lib-commonjs/components/CardPreview/CardPreview.types.js.map +1 -1
  87. package/lib-commonjs/components/CardPreview/index.js.map +1 -1
  88. package/lib-commonjs/components/CardPreview/renderCardPreview.js.map +1 -1
  89. package/lib-commonjs/components/CardPreview/useCardPreview.js.map +1 -1
  90. package/lib-commonjs/index.js.map +1 -1
  91. package/package.json +8 -8
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../lib/components/Card/useCardSelectable.js"],"sourcesContent":["import * as React from 'react';\nimport { mergeCallbacks, resolveShorthand } from '@fluentui/react-utilities';\nimport { Enter } from '@fluentui/keyboard-keys';\nimport { useFocusFinders } from '@fluentui/react-tabster';\n/**\n * @internal\n *\n * Create the state related to selectable cards.\n *\n * This internal hook controls all the logic for selectable cards and is\n * intended to be used alongside with useCard_unstable.\n *\n * @param props - props from this instance of Card\n * @param a11yProps - accessibility props shared between elements of the card\n * @param ref - reference to the root element of Card\n */\nexport const useCardSelectable = (props, {\n referenceLabel,\n referenceId\n}, cardRef) => {\n const {\n checkbox = {},\n selected,\n defaultSelected,\n onSelectionChange,\n floatingAction,\n onClick,\n onKeyDown\n } = props;\n const {\n findAllFocusable\n } = useFocusFinders();\n const checkboxRef = React.useRef(null);\n const isSelectable = [selected, defaultSelected, onSelectionChange].some(prop => typeof prop !== 'undefined');\n const [isCardSelected, setIsCardSelected] = React.useState(false);\n const [isSelectFocused, setIsSelectFocused] = React.useState(false);\n const shouldRestrictTriggerAction = React.useCallback(event => {\n if (!cardRef.current) {\n return false;\n }\n const focusableElements = findAllFocusable(cardRef.current);\n const target = event.target;\n const isElementInFocusableGroup = focusableElements.some(element => element.contains(target));\n const isCheckboxSlot = (checkboxRef === null || checkboxRef === void 0 ? void 0 : checkboxRef.current) === target;\n return isElementInFocusableGroup && !isCheckboxSlot;\n }, [cardRef, findAllFocusable]);\n const onChangeHandler = React.useCallback(event => {\n if (shouldRestrictTriggerAction(event)) {\n return;\n }\n const newCheckedValue = !isCardSelected;\n setIsCardSelected(newCheckedValue);\n if (onSelectionChange) {\n onSelectionChange(event, {\n selected: newCheckedValue\n });\n }\n }, [onSelectionChange, isCardSelected, shouldRestrictTriggerAction]);\n const onKeyDownHandler = React.useCallback(event => {\n if ([Enter].includes(event.key)) {\n event.preventDefault();\n onChangeHandler(event);\n }\n }, [onChangeHandler]);\n const checkboxSlot = React.useMemo(() => {\n if (!isSelectable || floatingAction) {\n return;\n }\n const selectableCheckboxProps = {};\n if (referenceId) {\n selectableCheckboxProps['aria-labelledby'] = referenceId;\n } else if (referenceLabel) {\n selectableCheckboxProps['aria-label'] = referenceLabel;\n }\n return resolveShorthand(checkbox, {\n defaultProps: {\n ref: checkboxRef,\n type: 'checkbox',\n checked: isCardSelected,\n onChange: event => onChangeHandler(event),\n onFocus: () => setIsSelectFocused(true),\n onBlur: () => setIsSelectFocused(false),\n ...selectableCheckboxProps\n }\n });\n }, [checkbox, floatingAction, isCardSelected, isSelectable, onChangeHandler, referenceId, referenceLabel]);\n const floatingActionSlot = React.useMemo(() => {\n if (!floatingAction) {\n return;\n }\n return resolveShorthand(floatingAction, {\n defaultProps: {\n ref: checkboxRef\n }\n });\n }, [floatingAction]);\n const selectableCardProps = React.useMemo(() => {\n if (!isSelectable) {\n return null;\n }\n return {\n onClick: mergeCallbacks(onClick, onChangeHandler),\n onKeyDown: mergeCallbacks(onKeyDown, onKeyDownHandler)\n };\n }, [isSelectable, onChangeHandler, onClick, onKeyDown, onKeyDownHandler]);\n React.useEffect(() => setIsCardSelected(Boolean(defaultSelected !== null && defaultSelected !== void 0 ? defaultSelected : selected)), [defaultSelected, selected, setIsCardSelected]);\n return {\n selected: isCardSelected,\n selectable: isSelectable,\n selectFocused: isSelectFocused,\n selectableCardProps,\n checkboxSlot,\n floatingActionSlot\n };\n};\n//# sourceMappingURL=useCardSelectable.js.map"],"names":["useCardSelectable","props","referenceLabel","referenceId","cardRef","checkbox","selected","defaultSelected","onSelectionChange","floatingAction","onClick","onKeyDown","findAllFocusable","useFocusFinders","checkboxRef","React","useRef","isSelectable","some","prop","isCardSelected","setIsCardSelected","useState","isSelectFocused","setIsSelectFocused","shouldRestrictTriggerAction","useCallback","event","current","focusableElements","target","isElementInFocusableGroup","element","contains","isCheckboxSlot","onChangeHandler","newCheckedValue","onKeyDownHandler","Enter","includes","key","preventDefault","checkboxSlot","useMemo","selectableCheckboxProps","resolveShorthand","defaultProps","ref","type","checked","onChange","onFocus","onBlur","floatingActionSlot","selectableCardProps","mergeCallbacks","useEffect","Boolean","selectable","selectFocused"],"mappings":"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"}
1
+ {"version":3,"sources":["../../../lib/components/Card/useCardSelectable.js"],"sourcesContent":["import * as React from 'react';\nimport { mergeCallbacks, resolveShorthand } from '@fluentui/react-utilities';\nimport { Enter } from '@fluentui/keyboard-keys';\nimport { useFocusFinders } from '@fluentui/react-tabster';\n/**\n * @internal\n *\n * Create the state related to selectable cards.\n *\n * This internal hook controls all the logic for selectable cards and is\n * intended to be used alongside with useCard_unstable.\n *\n * @param props - props from this instance of Card\n * @param a11yProps - accessibility props shared between elements of the card\n * @param ref - reference to the root element of Card\n */ export const useCardSelectable = (props, { referenceLabel , referenceId }, cardRef)=>{\n const { checkbox ={} , selected , defaultSelected , onSelectionChange , floatingAction , onClick , onKeyDown } = props;\n const { findAllFocusable } = useFocusFinders();\n const checkboxRef = React.useRef(null);\n const isSelectable = [\n selected,\n defaultSelected,\n onSelectionChange\n ].some((prop)=>typeof prop !== 'undefined');\n const [isCardSelected, setIsCardSelected] = React.useState(false);\n const [isSelectFocused, setIsSelectFocused] = React.useState(false);\n const shouldRestrictTriggerAction = React.useCallback((event)=>{\n if (!cardRef.current) {\n return false;\n }\n const focusableElements = findAllFocusable(cardRef.current);\n const target = event.target;\n const isElementInFocusableGroup = focusableElements.some((element)=>element.contains(target));\n const isCheckboxSlot = (checkboxRef === null || checkboxRef === void 0 ? void 0 : checkboxRef.current) === target;\n return isElementInFocusableGroup && !isCheckboxSlot;\n }, [\n cardRef,\n findAllFocusable\n ]);\n const onChangeHandler = React.useCallback((event)=>{\n if (shouldRestrictTriggerAction(event)) {\n return;\n }\n const newCheckedValue = !isCardSelected;\n setIsCardSelected(newCheckedValue);\n if (onSelectionChange) {\n onSelectionChange(event, {\n selected: newCheckedValue\n });\n }\n }, [\n onSelectionChange,\n isCardSelected,\n shouldRestrictTriggerAction\n ]);\n const onKeyDownHandler = React.useCallback((event)=>{\n if ([\n Enter\n ].includes(event.key)) {\n event.preventDefault();\n onChangeHandler(event);\n }\n }, [\n onChangeHandler\n ]);\n const checkboxSlot = React.useMemo(()=>{\n if (!isSelectable || floatingAction) {\n return;\n }\n const selectableCheckboxProps = {};\n if (referenceId) {\n selectableCheckboxProps['aria-labelledby'] = referenceId;\n } else if (referenceLabel) {\n selectableCheckboxProps['aria-label'] = referenceLabel;\n }\n return resolveShorthand(checkbox, {\n defaultProps: {\n ref: checkboxRef,\n type: 'checkbox',\n checked: isCardSelected,\n onChange: (event)=>onChangeHandler(event),\n onFocus: ()=>setIsSelectFocused(true),\n onBlur: ()=>setIsSelectFocused(false),\n ...selectableCheckboxProps\n }\n });\n }, [\n checkbox,\n floatingAction,\n isCardSelected,\n isSelectable,\n onChangeHandler,\n referenceId,\n referenceLabel\n ]);\n const floatingActionSlot = React.useMemo(()=>{\n if (!floatingAction) {\n return;\n }\n return resolveShorthand(floatingAction, {\n defaultProps: {\n ref: checkboxRef\n }\n });\n }, [\n floatingAction\n ]);\n const selectableCardProps = React.useMemo(()=>{\n if (!isSelectable) {\n return null;\n }\n return {\n onClick: mergeCallbacks(onClick, onChangeHandler),\n onKeyDown: mergeCallbacks(onKeyDown, onKeyDownHandler)\n };\n }, [\n isSelectable,\n onChangeHandler,\n onClick,\n onKeyDown,\n onKeyDownHandler\n ]);\n React.useEffect(()=>setIsCardSelected(Boolean(defaultSelected !== null && defaultSelected !== void 0 ? defaultSelected : selected)), [\n defaultSelected,\n selected,\n setIsCardSelected\n ]);\n return {\n selected: isCardSelected,\n selectable: isSelectable,\n selectFocused: isSelectFocused,\n selectableCardProps,\n checkboxSlot,\n floatingActionSlot\n };\n};\n\n//# sourceMappingURL=useCardSelectable.js.map"],"names":["useCardSelectable","props","referenceLabel","referenceId","cardRef","checkbox","selected","defaultSelected","onSelectionChange","floatingAction","onClick","onKeyDown","findAllFocusable","useFocusFinders","checkboxRef","React","useRef","isSelectable","some","prop","isCardSelected","setIsCardSelected","useState","isSelectFocused","setIsSelectFocused","shouldRestrictTriggerAction","useCallback","event","current","focusableElements","target","isElementInFocusableGroup","element","contains","isCheckboxSlot","onChangeHandler","newCheckedValue","onKeyDownHandler","Enter","includes","key","preventDefault","checkboxSlot","useMemo","selectableCheckboxProps","resolveShorthand","defaultProps","ref","type","checked","onChange","onFocus","onBlur","floatingActionSlot","selectableCardProps","mergeCallbacks","useEffect","Boolean","selectable","selectFocused"],"mappings":"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"}
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../lib/components/CardFooter/CardFooter.js"],"sourcesContent":["import * as React from 'react';\nimport { useCardFooter_unstable } from './useCardFooter';\nimport { renderCardFooter_unstable } from './renderCardFooter';\nimport { useCardFooterStyles_unstable } from './useCardFooterStyles.styles';\n/**\n * Component to render Button actions in a Card component.\n */\nexport const CardFooter = /*#__PURE__*/React.forwardRef((props, ref) => {\n const state = useCardFooter_unstable(props, ref);\n useCardFooterStyles_unstable(state);\n return renderCardFooter_unstable(state);\n});\nCardFooter.displayName = 'CardFooter';\n//# sourceMappingURL=CardFooter.js.map"],"names":["CardFooter","React","forwardRef","props","ref","state","useCardFooter_unstable","useCardFooterStyles_unstable","renderCardFooter_unstable","displayName"],"mappings":";;;;+BAOaA;;aAAAA;;;6DAPU;+BACgB;kCACG;2CACG;AAItC,MAAMA,aAAa,WAAW,GAAEC,OAAMC,UAAU,CAAC,CAACC,OAAOC,MAAQ;IACtE,MAAMC,QAAQC,IAAAA,qCAAsB,EAACH,OAAOC;IAC5CG,IAAAA,uDAA4B,EAACF;IAC7B,OAAOG,IAAAA,2CAAyB,EAACH;AACnC;AACAL,WAAWS,WAAW,GAAG,cACzB,sCAAsC"}
1
+ {"version":3,"sources":["../../../lib/components/CardFooter/CardFooter.js"],"sourcesContent":["import * as React from 'react';\nimport { useCardFooter_unstable } from './useCardFooter';\nimport { renderCardFooter_unstable } from './renderCardFooter';\nimport { useCardFooterStyles_unstable } from './useCardFooterStyles.styles';\n/**\n * Component to render Button actions in a Card component.\n */ export const CardFooter = /*#__PURE__*/ React.forwardRef((props, ref)=>{\n const state = useCardFooter_unstable(props, ref);\n useCardFooterStyles_unstable(state);\n return renderCardFooter_unstable(state);\n});\nCardFooter.displayName = 'CardFooter';\n\n//# sourceMappingURL=CardFooter.js.map"],"names":["CardFooter","React","forwardRef","props","ref","state","useCardFooter_unstable","useCardFooterStyles_unstable","renderCardFooter_unstable","displayName"],"mappings":";;;;+BAMiBA;;aAAAA;;;6DANM;+BACgB;kCACG;2CACG;AAGlC,MAAMA,aAAa,WAAW,GAAGC,OAAMC,UAAU,CAAC,CAACC,OAAOC,MAAM;IACvE,MAAMC,QAAQC,IAAAA,qCAAsB,EAACH,OAAOC;IAC5CG,IAAAA,uDAA4B,EAACF;IAC7B,OAAOG,IAAAA,2CAAyB,EAACH;AACrC;AACAL,WAAWS,WAAW,GAAG,cAEzB,sCAAsC"}
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../lib/components/CardFooter/CardFooter.types.js"],"sourcesContent":["export {};\n//# sourceMappingURL=CardFooter.types.js.map"],"names":[],"mappings":";;;;CACA,4CAA4C"}
1
+ {"version":3,"sources":["../../../lib/components/CardFooter/CardFooter.types.js"],"sourcesContent":["export { };\n\n//# sourceMappingURL=CardFooter.types.js.map"],"names":[],"mappings":";;;;CAEA,4CAA4C"}
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../lib/components/CardFooter/index.js"],"sourcesContent":["export * from './CardFooter';\nexport * from './CardFooter.types';\nexport * from './renderCardFooter';\nexport * from './useCardFooter';\nexport * from './useCardFooterStyles.styles';\n//# sourceMappingURL=index.js.map"],"names":[],"mappings":";;;;;oBAAc;oBACA;oBACA;oBACA;oBACA;CACd,iCAAiC"}
1
+ {"version":3,"sources":["../../../lib/components/CardFooter/index.js"],"sourcesContent":["export * from './CardFooter';\nexport * from './CardFooter.types';\nexport * from './renderCardFooter';\nexport * from './useCardFooter';\nexport * from './useCardFooterStyles.styles';\n\n//# sourceMappingURL=index.js.map"],"names":[],"mappings":";;;;;oBAAc;oBACA;oBACA;oBACA;oBACA;CAEd,iCAAiC"}
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../lib/components/CardFooter/renderCardFooter.js"],"sourcesContent":["/** @jsxRuntime classic */ /** @jsx createElement */import { createElement } from '@fluentui/react-jsx-runtime';\nimport { getSlotsNext } from '@fluentui/react-utilities';\n/**\n * Render the final JSX of CardFooter.\n */\nexport const renderCardFooter_unstable = state => {\n const {\n slots,\n slotProps\n } = getSlotsNext(state);\n return /*#__PURE__*/createElement(slots.root, slotProps.root, slotProps.root.children, slots.action && /*#__PURE__*/createElement(slots.action, slotProps.action));\n};\n//# sourceMappingURL=renderCardFooter.js.map"],"names":["renderCardFooter_unstable","state","slots","slotProps","getSlotsNext","createElement","root","children","action"],"mappings":"AAAA,wBAAwB,GAAG,uBAAuB;;;;+BAKrCA;;aAAAA;;iCALqE;gCACrD;AAItB,MAAMA,4BAA4BC,CAAAA,QAAS;IAChD,MAAM,EACJC,MAAK,EACLC,UAAS,EACV,GAAGC,IAAAA,4BAAY,EAACH;IACjB,OAAO,WAAW,GAAEI,IAAAA,8BAAa,EAACH,MAAMI,IAAI,EAAEH,UAAUG,IAAI,EAAEH,UAAUG,IAAI,CAACC,QAAQ,EAAEL,MAAMM,MAAM,IAAI,WAAW,GAAEH,IAAAA,8BAAa,EAACH,MAAMM,MAAM,EAAEL,UAAUK,MAAM;AAClK,GACA,4CAA4C"}
1
+ {"version":3,"sources":["../../../lib/components/CardFooter/renderCardFooter.js"],"sourcesContent":["/** @jsxRuntime classic */ /** @jsx createElement */ import { createElement } from '@fluentui/react-jsx-runtime';\nimport { getSlotsNext } from '@fluentui/react-utilities';\n/**\n * Render the final JSX of CardFooter.\n */ export const renderCardFooter_unstable = (state)=>{\n const { slots , slotProps } = getSlotsNext(state);\n return /*#__PURE__*/ createElement(slots.root, slotProps.root, slotProps.root.children, slots.action && /*#__PURE__*/ createElement(slots.action, slotProps.action));\n};\n\n//# sourceMappingURL=renderCardFooter.js.map"],"names":["renderCardFooter_unstable","state","slots","slotProps","getSlotsNext","createElement","root","children","action"],"mappings":"AAAA,wBAAwB,GAAG,uBAAuB;;;;+BAIjCA;;aAAAA;;iCAJkE;gCACtD;AAGlB,MAAMA,4BAA4B,CAACC,QAAQ;IAClD,MAAM,EAAEC,MAAK,EAAGC,UAAS,EAAG,GAAGC,IAAAA,4BAAY,EAACH;IAC5C,OAAO,WAAW,GAAGI,IAAAA,8BAAa,EAACH,MAAMI,IAAI,EAAEH,UAAUG,IAAI,EAAEH,UAAUG,IAAI,CAACC,QAAQ,EAAEL,MAAMM,MAAM,IAAI,WAAW,GAAGH,IAAAA,8BAAa,EAACH,MAAMM,MAAM,EAAEL,UAAUK,MAAM;AACtK,GAEA,4CAA4C"}
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../lib/components/CardFooter/useCardFooter.js"],"sourcesContent":["import * as React from 'react';\nimport { getNativeElementProps, resolveShorthand } from '@fluentui/react-utilities';\n/**\n * Create the state required to render CardFooter.\n *\n * The returned state can be modified with hooks such as useCardFooterStyles_unstable,\n * before being passed to renderCardFooter_unstable.\n *\n * @param props - props from this instance of CardFooter\n * @param ref - reference to root HTMLElement of CardFooter\n */\nexport const useCardFooter_unstable = (props, ref) => {\n const {\n action\n } = props;\n return {\n components: {\n root: 'div',\n action: 'div'\n },\n root: getNativeElementProps('div', {\n ref,\n ...props\n }),\n action: resolveShorthand(action)\n };\n};\n//# sourceMappingURL=useCardFooter.js.map"],"names":["useCardFooter_unstable","props","ref","action","components","root","getNativeElementProps","resolveShorthand"],"mappings":";;;;+BAWaA;;aAAAA;;;6DAXU;gCACiC;AAUjD,MAAMA,yBAAyB,CAACC,OAAOC,MAAQ;IACpD,MAAM,EACJC,OAAM,EACP,GAAGF;IACJ,OAAO;QACLG,YAAY;YACVC,MAAM;YACNF,QAAQ;QACV;QACAE,MAAMC,IAAAA,qCAAqB,EAAC,OAAO;YACjCJ;YACA,GAAGD,KAAK;QACV;QACAE,QAAQI,IAAAA,gCAAgB,EAACJ;IAC3B;AACF,GACA,yCAAyC"}
1
+ {"version":3,"sources":["../../../lib/components/CardFooter/useCardFooter.js"],"sourcesContent":["import * as React from 'react';\nimport { getNativeElementProps, resolveShorthand } from '@fluentui/react-utilities';\n/**\n * Create the state required to render CardFooter.\n *\n * The returned state can be modified with hooks such as useCardFooterStyles_unstable,\n * before being passed to renderCardFooter_unstable.\n *\n * @param props - props from this instance of CardFooter\n * @param ref - reference to root HTMLElement of CardFooter\n */ export const useCardFooter_unstable = (props, ref)=>{\n const { action } = props;\n return {\n components: {\n root: 'div',\n action: 'div'\n },\n root: getNativeElementProps('div', {\n ref,\n ...props\n }),\n action: resolveShorthand(action)\n };\n};\n\n//# sourceMappingURL=useCardFooter.js.map"],"names":["useCardFooter_unstable","props","ref","action","components","root","getNativeElementProps","resolveShorthand"],"mappings":";;;;+BAUiBA;;aAAAA;;;6DAVM;gCACiC;AAS7C,MAAMA,yBAAyB,CAACC,OAAOC,MAAM;IACpD,MAAM,EAAEC,OAAM,EAAG,GAAGF;IACpB,OAAO;QACHG,YAAY;YACRC,MAAM;YACNF,QAAQ;QACZ;QACAE,MAAMC,IAAAA,qCAAqB,EAAC,OAAO;YAC/BJ;YACA,GAAGD,KAAK;QACZ;QACAE,QAAQI,IAAAA,gCAAgB,EAACJ;IAC7B;AACJ,GAEA,yCAAyC"}
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../lib/components/CardHeader/CardHeader.js"],"sourcesContent":["import * as React from 'react';\nimport { useCardHeader_unstable } from './useCardHeader';\nimport { renderCardHeader_unstable } from './renderCardHeader';\nimport { useCardHeaderStyles_unstable } from './useCardHeaderStyles.styles';\n/**\n * Component to render an image, text and an action in a Card component.\n */\nexport const CardHeader = /*#__PURE__*/React.forwardRef((props, ref) => {\n const state = useCardHeader_unstable(props, ref);\n useCardHeaderStyles_unstable(state);\n return renderCardHeader_unstable(state);\n});\nCardHeader.displayName = 'CardHeader';\n//# sourceMappingURL=CardHeader.js.map"],"names":["CardHeader","React","forwardRef","props","ref","state","useCardHeader_unstable","useCardHeaderStyles_unstable","renderCardHeader_unstable","displayName"],"mappings":";;;;+BAOaA;;aAAAA;;;6DAPU;+BACgB;kCACG;2CACG;AAItC,MAAMA,aAAa,WAAW,GAAEC,OAAMC,UAAU,CAAC,CAACC,OAAOC,MAAQ;IACtE,MAAMC,QAAQC,IAAAA,qCAAsB,EAACH,OAAOC;IAC5CG,IAAAA,uDAA4B,EAACF;IAC7B,OAAOG,IAAAA,2CAAyB,EAACH;AACnC;AACAL,WAAWS,WAAW,GAAG,cACzB,sCAAsC"}
1
+ {"version":3,"sources":["../../../lib/components/CardHeader/CardHeader.js"],"sourcesContent":["import * as React from 'react';\nimport { useCardHeader_unstable } from './useCardHeader';\nimport { renderCardHeader_unstable } from './renderCardHeader';\nimport { useCardHeaderStyles_unstable } from './useCardHeaderStyles.styles';\n/**\n * Component to render an image, text and an action in a Card component.\n */ export const CardHeader = /*#__PURE__*/ React.forwardRef((props, ref)=>{\n const state = useCardHeader_unstable(props, ref);\n useCardHeaderStyles_unstable(state);\n return renderCardHeader_unstable(state);\n});\nCardHeader.displayName = 'CardHeader';\n\n//# sourceMappingURL=CardHeader.js.map"],"names":["CardHeader","React","forwardRef","props","ref","state","useCardHeader_unstable","useCardHeaderStyles_unstable","renderCardHeader_unstable","displayName"],"mappings":";;;;+BAMiBA;;aAAAA;;;6DANM;+BACgB;kCACG;2CACG;AAGlC,MAAMA,aAAa,WAAW,GAAGC,OAAMC,UAAU,CAAC,CAACC,OAAOC,MAAM;IACvE,MAAMC,QAAQC,IAAAA,qCAAsB,EAACH,OAAOC;IAC5CG,IAAAA,uDAA4B,EAACF;IAC7B,OAAOG,IAAAA,2CAAyB,EAACH;AACrC;AACAL,WAAWS,WAAW,GAAG,cAEzB,sCAAsC"}
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../lib/components/CardHeader/CardHeader.types.js"],"sourcesContent":["export {};\n//# sourceMappingURL=CardHeader.types.js.map"],"names":[],"mappings":";;;;CACA,4CAA4C"}
1
+ {"version":3,"sources":["../../../lib/components/CardHeader/CardHeader.types.js"],"sourcesContent":["export { };\n\n//# sourceMappingURL=CardHeader.types.js.map"],"names":[],"mappings":";;;;CAEA,4CAA4C"}
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../lib/components/CardHeader/index.js"],"sourcesContent":["export * from './CardHeader';\nexport * from './CardHeader.types';\nexport * from './renderCardHeader';\nexport * from './useCardHeader';\nexport * from './useCardHeaderStyles.styles';\n//# sourceMappingURL=index.js.map"],"names":[],"mappings":";;;;;oBAAc;oBACA;oBACA;oBACA;oBACA;CACd,iCAAiC"}
1
+ {"version":3,"sources":["../../../lib/components/CardHeader/index.js"],"sourcesContent":["export * from './CardHeader';\nexport * from './CardHeader.types';\nexport * from './renderCardHeader';\nexport * from './useCardHeader';\nexport * from './useCardHeaderStyles.styles';\n\n//# sourceMappingURL=index.js.map"],"names":[],"mappings":";;;;;oBAAc;oBACA;oBACA;oBACA;oBACA;CAEd,iCAAiC"}
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../lib/components/CardHeader/renderCardHeader.js"],"sourcesContent":["/** @jsxRuntime classic */ /** @jsx createElement */import { createElement } from '@fluentui/react-jsx-runtime';\nimport { getSlotsNext } from '@fluentui/react-utilities';\n/**\n * Render the final JSX of CardHeader.\n */\nexport const renderCardHeader_unstable = state => {\n const {\n slots,\n slotProps\n } = getSlotsNext(state);\n return /*#__PURE__*/createElement(slots.root, slotProps.root, slots.image && /*#__PURE__*/createElement(slots.image, slotProps.image), /*#__PURE__*/createElement(slots.header, slotProps.header), slots.description && /*#__PURE__*/createElement(slots.description, slotProps.description), slots.action && /*#__PURE__*/createElement(slots.action, slotProps.action));\n};\n//# sourceMappingURL=renderCardHeader.js.map"],"names":["renderCardHeader_unstable","state","slots","slotProps","getSlotsNext","createElement","root","image","header","description","action"],"mappings":"AAAA,wBAAwB,GAAG,uBAAuB;;;;+BAKrCA;;aAAAA;;iCALqE;gCACrD;AAItB,MAAMA,4BAA4BC,CAAAA,QAAS;IAChD,MAAM,EACJC,MAAK,EACLC,UAAS,EACV,GAAGC,IAAAA,4BAAY,EAACH;IACjB,OAAO,WAAW,GAAEI,IAAAA,8BAAa,EAACH,MAAMI,IAAI,EAAEH,UAAUG,IAAI,EAAEJ,MAAMK,KAAK,IAAI,WAAW,GAAEF,IAAAA,8BAAa,EAACH,MAAMK,KAAK,EAAEJ,UAAUI,KAAK,GAAG,WAAW,GAAEF,IAAAA,8BAAa,EAACH,MAAMM,MAAM,EAAEL,UAAUK,MAAM,GAAGN,MAAMO,WAAW,IAAI,WAAW,GAAEJ,IAAAA,8BAAa,EAACH,MAAMO,WAAW,EAAEN,UAAUM,WAAW,GAAGP,MAAMQ,MAAM,IAAI,WAAW,GAAEL,IAAAA,8BAAa,EAACH,MAAMQ,MAAM,EAAEP,UAAUO,MAAM;AACzW,GACA,4CAA4C"}
1
+ {"version":3,"sources":["../../../lib/components/CardHeader/renderCardHeader.js"],"sourcesContent":["/** @jsxRuntime classic */ /** @jsx createElement */ import { createElement } from '@fluentui/react-jsx-runtime';\nimport { getSlotsNext } from '@fluentui/react-utilities';\n/**\n * Render the final JSX of CardHeader.\n */ export const renderCardHeader_unstable = (state)=>{\n const { slots , slotProps } = getSlotsNext(state);\n return /*#__PURE__*/ createElement(slots.root, slotProps.root, slots.image && /*#__PURE__*/ createElement(slots.image, slotProps.image), /*#__PURE__*/ createElement(slots.header, slotProps.header), slots.description && /*#__PURE__*/ createElement(slots.description, slotProps.description), slots.action && /*#__PURE__*/ createElement(slots.action, slotProps.action));\n};\n\n//# sourceMappingURL=renderCardHeader.js.map"],"names":["renderCardHeader_unstable","state","slots","slotProps","getSlotsNext","createElement","root","image","header","description","action"],"mappings":"AAAA,wBAAwB,GAAG,uBAAuB;;;;+BAIjCA;;aAAAA;;iCAJkE;gCACtD;AAGlB,MAAMA,4BAA4B,CAACC,QAAQ;IAClD,MAAM,EAAEC,MAAK,EAAGC,UAAS,EAAG,GAAGC,IAAAA,4BAAY,EAACH;IAC5C,OAAO,WAAW,GAAGI,IAAAA,8BAAa,EAACH,MAAMI,IAAI,EAAEH,UAAUG,IAAI,EAAEJ,MAAMK,KAAK,IAAI,WAAW,GAAGF,IAAAA,8BAAa,EAACH,MAAMK,KAAK,EAAEJ,UAAUI,KAAK,GAAG,WAAW,GAAGF,IAAAA,8BAAa,EAACH,MAAMM,MAAM,EAAEL,UAAUK,MAAM,GAAGN,MAAMO,WAAW,IAAI,WAAW,GAAGJ,IAAAA,8BAAa,EAACH,MAAMO,WAAW,EAAEN,UAAUM,WAAW,GAAGP,MAAMQ,MAAM,IAAI,WAAW,GAAGL,IAAAA,8BAAa,EAACH,MAAMQ,MAAM,EAAEP,UAAUO,MAAM;AAChX,GAEA,4CAA4C"}
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../lib/components/CardHeader/useCardHeader.js"],"sourcesContent":["import * as React from 'react';\nimport { getNativeElementProps, resolveShorthand, useId } from '@fluentui/react-utilities';\nimport { useCardContext_unstable } from '../Card/CardContext';\nimport { cardHeaderClassNames } from './useCardHeaderStyles.styles';\n/**\n * Create the state required to render CardHeader.\n *\n * The returned state can be modified with hooks such as useCardHeaderStyles_unstable,\n * before being passed to renderCardHeader_unstable.\n *\n * @param props - props from this instance of CardHeader\n * @param ref - reference to root HTMLElement of CardHeader\n */\nexport const useCardHeader_unstable = (props, ref) => {\n const {\n image,\n header,\n description,\n action\n } = props;\n const {\n selectableA11yProps: {\n referenceId,\n setReferenceId\n }\n } = useCardContext_unstable();\n const headerRef = React.useRef(null);\n const generatedId = useId(cardHeaderClassNames.header, referenceId);\n React.useEffect(() => {\n if (header && headerRef.current) {\n const {\n id\n } = headerRef.current;\n setReferenceId(id ? id : generatedId);\n }\n }, [header, setReferenceId, generatedId]);\n return {\n components: {\n root: 'div',\n image: 'div',\n header: 'div',\n description: 'div',\n action: 'div'\n },\n root: getNativeElementProps('div', {\n ref,\n ...props\n }),\n image: resolveShorthand(image),\n header: resolveShorthand(header, {\n required: true,\n defaultProps: {\n ref: headerRef,\n id: referenceId\n }\n }),\n description: resolveShorthand(description),\n action: resolveShorthand(action)\n };\n};\n//# sourceMappingURL=useCardHeader.js.map"],"names":["useCardHeader_unstable","props","ref","image","header","description","action","selectableA11yProps","referenceId","setReferenceId","useCardContext_unstable","headerRef","React","useRef","generatedId","useId","cardHeaderClassNames","useEffect","current","id","components","root","getNativeElementProps","resolveShorthand","required","defaultProps"],"mappings":";;;;+BAaaA;;aAAAA;;;6DAbU;gCACwC;6BACvB;2CACH;AAU9B,MAAMA,yBAAyB,CAACC,OAAOC,MAAQ;IACpD,MAAM,EACJC,MAAK,EACLC,OAAM,EACNC,YAAW,EACXC,OAAM,EACP,GAAGL;IACJ,MAAM,EACJM,qBAAqB,EACnBC,YAAW,EACXC,eAAc,EACf,CAAA,EACF,GAAGC,IAAAA,oCAAuB;IAC3B,MAAMC,YAAYC,OAAMC,MAAM,CAAC,IAAI;IACnC,MAAMC,cAAcC,IAAAA,qBAAK,EAACC,+CAAoB,CAACZ,MAAM,EAAEI;IACvDI,OAAMK,SAAS,CAAC,IAAM;QACpB,IAAIb,UAAUO,UAAUO,OAAO,EAAE;YAC/B,MAAM,EACJC,GAAE,EACH,GAAGR,UAAUO,OAAO;YACrBT,eAAeU,KAAKA,KAAKL,WAAW;QACtC,CAAC;IACH,GAAG;QAACV;QAAQK;QAAgBK;KAAY;IACxC,OAAO;QACLM,YAAY;YACVC,MAAM;YACNlB,OAAO;YACPC,QAAQ;YACRC,aAAa;YACbC,QAAQ;QACV;QACAe,MAAMC,IAAAA,qCAAqB,EAAC,OAAO;YACjCpB;YACA,GAAGD,KAAK;QACV;QACAE,OAAOoB,IAAAA,gCAAgB,EAACpB;QACxBC,QAAQmB,IAAAA,gCAAgB,EAACnB,QAAQ;YAC/BoB,UAAU,IAAI;YACdC,cAAc;gBACZvB,KAAKS;gBACLQ,IAAIX;YACN;QACF;QACAH,aAAakB,IAAAA,gCAAgB,EAAClB;QAC9BC,QAAQiB,IAAAA,gCAAgB,EAACjB;IAC3B;AACF,GACA,yCAAyC"}
1
+ {"version":3,"sources":["../../../lib/components/CardHeader/useCardHeader.js"],"sourcesContent":["import * as React from 'react';\nimport { getNativeElementProps, resolveShorthand, useId } from '@fluentui/react-utilities';\nimport { useCardContext_unstable } from '../Card/CardContext';\nimport { cardHeaderClassNames } from './useCardHeaderStyles.styles';\n/**\n * Create the state required to render CardHeader.\n *\n * The returned state can be modified with hooks such as useCardHeaderStyles_unstable,\n * before being passed to renderCardHeader_unstable.\n *\n * @param props - props from this instance of CardHeader\n * @param ref - reference to root HTMLElement of CardHeader\n */ export const useCardHeader_unstable = (props, ref)=>{\n const { image , header , description , action } = props;\n const { selectableA11yProps: { referenceId , setReferenceId } } = useCardContext_unstable();\n const headerRef = React.useRef(null);\n const generatedId = useId(cardHeaderClassNames.header, referenceId);\n React.useEffect(()=>{\n if (header && headerRef.current) {\n const { id } = headerRef.current;\n setReferenceId(id ? id : generatedId);\n }\n }, [\n header,\n setReferenceId,\n generatedId\n ]);\n return {\n components: {\n root: 'div',\n image: 'div',\n header: 'div',\n description: 'div',\n action: 'div'\n },\n root: getNativeElementProps('div', {\n ref,\n ...props\n }),\n image: resolveShorthand(image),\n header: resolveShorthand(header, {\n required: true,\n defaultProps: {\n ref: headerRef,\n id: referenceId\n }\n }),\n description: resolveShorthand(description),\n action: resolveShorthand(action)\n };\n};\n\n//# sourceMappingURL=useCardHeader.js.map"],"names":["useCardHeader_unstable","props","ref","image","header","description","action","selectableA11yProps","referenceId","setReferenceId","useCardContext_unstable","headerRef","React","useRef","generatedId","useId","cardHeaderClassNames","useEffect","current","id","components","root","getNativeElementProps","resolveShorthand","required","defaultProps"],"mappings":";;;;+BAYiBA;;aAAAA;;;6DAZM;gCACwC;6BACvB;2CACH;AAS1B,MAAMA,yBAAyB,CAACC,OAAOC,MAAM;IACpD,MAAM,EAAEC,MAAK,EAAGC,OAAM,EAAGC,YAAW,EAAGC,OAAM,EAAG,GAAGL;IACnD,MAAM,EAAEM,qBAAqB,EAAEC,YAAW,EAAGC,eAAc,EAAG,CAAA,EAAG,GAAGC,IAAAA,oCAAuB;IAC3F,MAAMC,YAAYC,OAAMC,MAAM,CAAC,IAAI;IACnC,MAAMC,cAAcC,IAAAA,qBAAK,EAACC,+CAAoB,CAACZ,MAAM,EAAEI;IACvDI,OAAMK,SAAS,CAAC,IAAI;QAChB,IAAIb,UAAUO,UAAUO,OAAO,EAAE;YAC7B,MAAM,EAAEC,GAAE,EAAG,GAAGR,UAAUO,OAAO;YACjCT,eAAeU,KAAKA,KAAKL,WAAW;QACxC,CAAC;IACL,GAAG;QACCV;QACAK;QACAK;KACH;IACD,OAAO;QACHM,YAAY;YACRC,MAAM;YACNlB,OAAO;YACPC,QAAQ;YACRC,aAAa;YACbC,QAAQ;QACZ;QACAe,MAAMC,IAAAA,qCAAqB,EAAC,OAAO;YAC/BpB;YACA,GAAGD,KAAK;QACZ;QACAE,OAAOoB,IAAAA,gCAAgB,EAACpB;QACxBC,QAAQmB,IAAAA,gCAAgB,EAACnB,QAAQ;YAC7BoB,UAAU,IAAI;YACdC,cAAc;gBACVvB,KAAKS;gBACLQ,IAAIX;YACR;QACJ;QACAH,aAAakB,IAAAA,gCAAgB,EAAClB;QAC9BC,QAAQiB,IAAAA,gCAAgB,EAACjB;IAC7B;AACJ,GAEA,yCAAyC"}
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../lib/components/CardPreview/CardPreview.js"],"sourcesContent":["import * as React from 'react';\nimport { useCardPreview_unstable } from './useCardPreview';\nimport { renderCardPreview_unstable } from './renderCardPreview';\nimport { useCardPreviewStyles_unstable } from './useCardPreviewStyles.styles';\n/**\n * Component to render image previews of documents or articles in a Card component.\n */\nexport const CardPreview = /*#__PURE__*/React.forwardRef((props, ref) => {\n const state = useCardPreview_unstable(props, ref);\n useCardPreviewStyles_unstable(state);\n return renderCardPreview_unstable(state);\n});\nCardPreview.displayName = 'CardPreview';\n//# sourceMappingURL=CardPreview.js.map"],"names":["CardPreview","React","forwardRef","props","ref","state","useCardPreview_unstable","useCardPreviewStyles_unstable","renderCardPreview_unstable","displayName"],"mappings":";;;;+BAOaA;;aAAAA;;;6DAPU;gCACiB;mCACG;4CACG;AAIvC,MAAMA,cAAc,WAAW,GAAEC,OAAMC,UAAU,CAAC,CAACC,OAAOC,MAAQ;IACvE,MAAMC,QAAQC,IAAAA,uCAAuB,EAACH,OAAOC;IAC7CG,IAAAA,yDAA6B,EAACF;IAC9B,OAAOG,IAAAA,6CAA0B,EAACH;AACpC;AACAL,YAAYS,WAAW,GAAG,eAC1B,uCAAuC"}
1
+ {"version":3,"sources":["../../../lib/components/CardPreview/CardPreview.js"],"sourcesContent":["import * as React from 'react';\nimport { useCardPreview_unstable } from './useCardPreview';\nimport { renderCardPreview_unstable } from './renderCardPreview';\nimport { useCardPreviewStyles_unstable } from './useCardPreviewStyles.styles';\n/**\n * Component to render image previews of documents or articles in a Card component.\n */ export const CardPreview = /*#__PURE__*/ React.forwardRef((props, ref)=>{\n const state = useCardPreview_unstable(props, ref);\n useCardPreviewStyles_unstable(state);\n return renderCardPreview_unstable(state);\n});\nCardPreview.displayName = 'CardPreview';\n\n//# sourceMappingURL=CardPreview.js.map"],"names":["CardPreview","React","forwardRef","props","ref","state","useCardPreview_unstable","useCardPreviewStyles_unstable","renderCardPreview_unstable","displayName"],"mappings":";;;;+BAMiBA;;aAAAA;;;6DANM;gCACiB;mCACG;4CACG;AAGnC,MAAMA,cAAc,WAAW,GAAGC,OAAMC,UAAU,CAAC,CAACC,OAAOC,MAAM;IACxE,MAAMC,QAAQC,IAAAA,uCAAuB,EAACH,OAAOC;IAC7CG,IAAAA,yDAA6B,EAACF;IAC9B,OAAOG,IAAAA,6CAA0B,EAACH;AACtC;AACAL,YAAYS,WAAW,GAAG,eAE1B,uCAAuC"}
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../lib/components/CardPreview/CardPreview.types.js"],"sourcesContent":["export {};\n//# sourceMappingURL=CardPreview.types.js.map"],"names":[],"mappings":";;;;CACA,6CAA6C"}
1
+ {"version":3,"sources":["../../../lib/components/CardPreview/CardPreview.types.js"],"sourcesContent":["export { };\n\n//# sourceMappingURL=CardPreview.types.js.map"],"names":[],"mappings":";;;;CAEA,6CAA6C"}
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../lib/components/CardPreview/index.js"],"sourcesContent":["export * from './CardPreview';\nexport * from './CardPreview.types';\nexport * from './renderCardPreview';\nexport * from './useCardPreview';\nexport * from './useCardPreviewStyles.styles';\n//# sourceMappingURL=index.js.map"],"names":[],"mappings":";;;;;oBAAc;oBACA;oBACA;oBACA;oBACA;CACd,iCAAiC"}
1
+ {"version":3,"sources":["../../../lib/components/CardPreview/index.js"],"sourcesContent":["export * from './CardPreview';\nexport * from './CardPreview.types';\nexport * from './renderCardPreview';\nexport * from './useCardPreview';\nexport * from './useCardPreviewStyles.styles';\n\n//# sourceMappingURL=index.js.map"],"names":[],"mappings":";;;;;oBAAc;oBACA;oBACA;oBACA;oBACA;CAEd,iCAAiC"}
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../lib/components/CardPreview/renderCardPreview.js"],"sourcesContent":["/** @jsxRuntime classic */ /** @jsx createElement */import { createElement } from '@fluentui/react-jsx-runtime';\nimport { getSlotsNext } from '@fluentui/react-utilities';\n/**\n * Render the final JSX of CardPreview.\n */\nexport const renderCardPreview_unstable = state => {\n const {\n slots,\n slotProps\n } = getSlotsNext(state);\n return /*#__PURE__*/createElement(slots.root, slotProps.root, slotProps.root.children, slots.logo && /*#__PURE__*/createElement(slots.logo, slotProps.logo));\n};\n//# sourceMappingURL=renderCardPreview.js.map"],"names":["renderCardPreview_unstable","state","slots","slotProps","getSlotsNext","createElement","root","children","logo"],"mappings":"AAAA,wBAAwB,GAAG,uBAAuB;;;;+BAKrCA;;aAAAA;;iCALqE;gCACrD;AAItB,MAAMA,6BAA6BC,CAAAA,QAAS;IACjD,MAAM,EACJC,MAAK,EACLC,UAAS,EACV,GAAGC,IAAAA,4BAAY,EAACH;IACjB,OAAO,WAAW,GAAEI,IAAAA,8BAAa,EAACH,MAAMI,IAAI,EAAEH,UAAUG,IAAI,EAAEH,UAAUG,IAAI,CAACC,QAAQ,EAAEL,MAAMM,IAAI,IAAI,WAAW,GAAEH,IAAAA,8BAAa,EAACH,MAAMM,IAAI,EAAEL,UAAUK,IAAI;AAC5J,GACA,6CAA6C"}
1
+ {"version":3,"sources":["../../../lib/components/CardPreview/renderCardPreview.js"],"sourcesContent":["/** @jsxRuntime classic */ /** @jsx createElement */ import { createElement } from '@fluentui/react-jsx-runtime';\nimport { getSlotsNext } from '@fluentui/react-utilities';\n/**\n * Render the final JSX of CardPreview.\n */ export const renderCardPreview_unstable = (state)=>{\n const { slots , slotProps } = getSlotsNext(state);\n return /*#__PURE__*/ createElement(slots.root, slotProps.root, slotProps.root.children, slots.logo && /*#__PURE__*/ createElement(slots.logo, slotProps.logo));\n};\n\n//# sourceMappingURL=renderCardPreview.js.map"],"names":["renderCardPreview_unstable","state","slots","slotProps","getSlotsNext","createElement","root","children","logo"],"mappings":"AAAA,wBAAwB,GAAG,uBAAuB;;;;+BAIjCA;;aAAAA;;iCAJkE;gCACtD;AAGlB,MAAMA,6BAA6B,CAACC,QAAQ;IACnD,MAAM,EAAEC,MAAK,EAAGC,UAAS,EAAG,GAAGC,IAAAA,4BAAY,EAACH;IAC5C,OAAO,WAAW,GAAGI,IAAAA,8BAAa,EAACH,MAAMI,IAAI,EAAEH,UAAUG,IAAI,EAAEH,UAAUG,IAAI,CAACC,QAAQ,EAAEL,MAAMM,IAAI,IAAI,WAAW,GAAGH,IAAAA,8BAAa,EAACH,MAAMM,IAAI,EAAEL,UAAUK,IAAI;AAChK,GAEA,6CAA6C"}
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../lib/components/CardPreview/useCardPreview.js"],"sourcesContent":["import * as React from 'react';\nimport { getNativeElementProps, resolveShorthand, useMergedRefs } from '@fluentui/react-utilities';\nimport { useCardContext_unstable } from '../Card/CardContext';\nimport { cardPreviewClassNames } from './useCardPreviewStyles.styles';\n/**\n * Create the state required to render CardPreview.\n *\n * The returned state can be modified with hooks such as useCardPreviewStyles_unstable,\n * before being passed to renderCardPreview_unstable.\n *\n * @param props - props from this instance of CardPreview\n * @param ref - reference to root HTMLElement of CardPreview\n */\nexport const useCardPreview_unstable = (props, ref) => {\n const {\n logo\n } = props;\n const {\n selectableA11yProps: {\n referenceLabel,\n referenceId,\n setReferenceLabel,\n setReferenceId\n }\n } = useCardContext_unstable();\n const previewRef = useMergedRefs(ref, React.useRef(null));\n React.useEffect(() => {\n if (referenceLabel && referenceId) {\n return;\n }\n if (previewRef.current && previewRef.current.parentNode) {\n const img = previewRef.current.parentNode.querySelector(`.${cardPreviewClassNames.root} > img`);\n if (img) {\n const ariaLabel = img.getAttribute('aria-label');\n const ariaDescribedby = img.getAttribute('aria-describedby');\n if (ariaDescribedby) {\n setReferenceId(ariaDescribedby);\n } else if (img.alt) {\n setReferenceLabel(img.alt);\n } else if (ariaLabel) {\n setReferenceLabel(ariaLabel);\n }\n }\n }\n }, [setReferenceLabel, referenceLabel, previewRef, referenceId, setReferenceId]);\n return {\n components: {\n root: 'div',\n logo: 'div'\n },\n root: getNativeElementProps('div', {\n ref: previewRef,\n ...props\n }),\n logo: resolveShorthand(logo)\n };\n};\n//# sourceMappingURL=useCardPreview.js.map"],"names":["useCardPreview_unstable","props","ref","logo","selectableA11yProps","referenceLabel","referenceId","setReferenceLabel","setReferenceId","useCardContext_unstable","previewRef","useMergedRefs","React","useRef","useEffect","current","parentNode","img","querySelector","cardPreviewClassNames","root","ariaLabel","getAttribute","ariaDescribedby","alt","components","getNativeElementProps","resolveShorthand"],"mappings":";;;;+BAaaA;;aAAAA;;;6DAbU;gCACgD;6BAC/B;4CACF;AAU/B,MAAMA,0BAA0B,CAACC,OAAOC,MAAQ;IACrD,MAAM,EACJC,KAAI,EACL,GAAGF;IACJ,MAAM,EACJG,qBAAqB,EACnBC,eAAc,EACdC,YAAW,EACXC,kBAAiB,EACjBC,eAAc,EACf,CAAA,EACF,GAAGC,IAAAA,oCAAuB;IAC3B,MAAMC,aAAaC,IAAAA,6BAAa,EAACT,KAAKU,OAAMC,MAAM,CAAC,IAAI;IACvDD,OAAME,SAAS,CAAC,IAAM;QACpB,IAAIT,kBAAkBC,aAAa;YACjC;QACF,CAAC;QACD,IAAII,WAAWK,OAAO,IAAIL,WAAWK,OAAO,CAACC,UAAU,EAAE;YACvD,MAAMC,MAAMP,WAAWK,OAAO,CAACC,UAAU,CAACE,aAAa,CAAC,CAAC,CAAC,EAAEC,iDAAqB,CAACC,IAAI,CAAC,MAAM,CAAC;YAC9F,IAAIH,KAAK;gBACP,MAAMI,YAAYJ,IAAIK,YAAY,CAAC;gBACnC,MAAMC,kBAAkBN,IAAIK,YAAY,CAAC;gBACzC,IAAIC,iBAAiB;oBACnBf,eAAee;gBACjB,OAAO,IAAIN,IAAIO,GAAG,EAAE;oBAClBjB,kBAAkBU,IAAIO,GAAG;gBAC3B,OAAO,IAAIH,WAAW;oBACpBd,kBAAkBc;gBACpB,CAAC;YACH,CAAC;QACH,CAAC;IACH,GAAG;QAACd;QAAmBF;QAAgBK;QAAYJ;QAAaE;KAAe;IAC/E,OAAO;QACLiB,YAAY;YACVL,MAAM;YACNjB,MAAM;QACR;QACAiB,MAAMM,IAAAA,qCAAqB,EAAC,OAAO;YACjCxB,KAAKQ;YACL,GAAGT,KAAK;QACV;QACAE,MAAMwB,IAAAA,gCAAgB,EAACxB;IACzB;AACF,GACA,0CAA0C"}
1
+ {"version":3,"sources":["../../../lib/components/CardPreview/useCardPreview.js"],"sourcesContent":["import * as React from 'react';\nimport { getNativeElementProps, resolveShorthand, useMergedRefs } from '@fluentui/react-utilities';\nimport { useCardContext_unstable } from '../Card/CardContext';\nimport { cardPreviewClassNames } from './useCardPreviewStyles.styles';\n/**\n * Create the state required to render CardPreview.\n *\n * The returned state can be modified with hooks such as useCardPreviewStyles_unstable,\n * before being passed to renderCardPreview_unstable.\n *\n * @param props - props from this instance of CardPreview\n * @param ref - reference to root HTMLElement of CardPreview\n */ export const useCardPreview_unstable = (props, ref)=>{\n const { logo } = props;\n const { selectableA11yProps: { referenceLabel , referenceId , setReferenceLabel , setReferenceId } } = useCardContext_unstable();\n const previewRef = useMergedRefs(ref, React.useRef(null));\n React.useEffect(()=>{\n if (referenceLabel && referenceId) {\n return;\n }\n if (previewRef.current && previewRef.current.parentNode) {\n const img = previewRef.current.parentNode.querySelector(`.${cardPreviewClassNames.root} > img`);\n if (img) {\n const ariaLabel = img.getAttribute('aria-label');\n const ariaDescribedby = img.getAttribute('aria-describedby');\n if (ariaDescribedby) {\n setReferenceId(ariaDescribedby);\n } else if (img.alt) {\n setReferenceLabel(img.alt);\n } else if (ariaLabel) {\n setReferenceLabel(ariaLabel);\n }\n }\n }\n }, [\n setReferenceLabel,\n referenceLabel,\n previewRef,\n referenceId,\n setReferenceId\n ]);\n return {\n components: {\n root: 'div',\n logo: 'div'\n },\n root: getNativeElementProps('div', {\n ref: previewRef,\n ...props\n }),\n logo: resolveShorthand(logo)\n };\n};\n\n//# sourceMappingURL=useCardPreview.js.map"],"names":["useCardPreview_unstable","props","ref","logo","selectableA11yProps","referenceLabel","referenceId","setReferenceLabel","setReferenceId","useCardContext_unstable","previewRef","useMergedRefs","React","useRef","useEffect","current","parentNode","img","querySelector","cardPreviewClassNames","root","ariaLabel","getAttribute","ariaDescribedby","alt","components","getNativeElementProps","resolveShorthand"],"mappings":";;;;+BAYiBA;;aAAAA;;;6DAZM;gCACgD;6BAC/B;4CACF;AAS3B,MAAMA,0BAA0B,CAACC,OAAOC,MAAM;IACrD,MAAM,EAAEC,KAAI,EAAG,GAAGF;IAClB,MAAM,EAAEG,qBAAqB,EAAEC,eAAc,EAAGC,YAAW,EAAGC,kBAAiB,EAAGC,eAAc,EAAG,CAAA,EAAG,GAAGC,IAAAA,oCAAuB;IAChI,MAAMC,aAAaC,IAAAA,6BAAa,EAACT,KAAKU,OAAMC,MAAM,CAAC,IAAI;IACvDD,OAAME,SAAS,CAAC,IAAI;QAChB,IAAIT,kBAAkBC,aAAa;YAC/B;QACJ,CAAC;QACD,IAAII,WAAWK,OAAO,IAAIL,WAAWK,OAAO,CAACC,UAAU,EAAE;YACrD,MAAMC,MAAMP,WAAWK,OAAO,CAACC,UAAU,CAACE,aAAa,CAAC,CAAC,CAAC,EAAEC,iDAAqB,CAACC,IAAI,CAAC,MAAM,CAAC;YAC9F,IAAIH,KAAK;gBACL,MAAMI,YAAYJ,IAAIK,YAAY,CAAC;gBACnC,MAAMC,kBAAkBN,IAAIK,YAAY,CAAC;gBACzC,IAAIC,iBAAiB;oBACjBf,eAAee;gBACnB,OAAO,IAAIN,IAAIO,GAAG,EAAE;oBAChBjB,kBAAkBU,IAAIO,GAAG;gBAC7B,OAAO,IAAIH,WAAW;oBAClBd,kBAAkBc;gBACtB,CAAC;YACL,CAAC;QACL,CAAC;IACL,GAAG;QACCd;QACAF;QACAK;QACAJ;QACAE;KACH;IACD,OAAO;QACHiB,YAAY;YACRL,MAAM;YACNjB,MAAM;QACV;QACAiB,MAAMM,IAAAA,qCAAqB,EAAC,OAAO;YAC/BxB,KAAKQ;YACL,GAAGT,KAAK;QACZ;QACAE,MAAMwB,IAAAA,gCAAgB,EAACxB;IAC3B;AACJ,GAEA,0CAA0C"}
@@ -1 +1 @@
1
- {"version":3,"sources":["../lib/index.js"],"sourcesContent":["export { Card, cardClassNames, cardCSSVars, renderCard_unstable, useCardStyles_unstable, useCard_unstable } from './Card';\nexport { CardFooter, cardFooterClassNames, renderCardFooter_unstable, useCardFooterStyles_unstable, useCardFooter_unstable } from './CardFooter';\nexport { CardHeader, cardHeaderClassNames, cardHeaderCSSVars, renderCardHeader_unstable, useCardHeaderStyles_unstable, useCardHeader_unstable } from './CardHeader';\nexport { CardPreview, cardPreviewClassNames, renderCardPreview_unstable, useCardPreviewStyles_unstable, useCardPreview_unstable } from './CardPreview';\nexport { CardProvider, useCardContext_unstable } from './Card';\n//# sourceMappingURL=index.js.map"],"names":["Card","cardClassNames","cardCSSVars","renderCard_unstable","useCardStyles_unstable","useCard_unstable","CardFooter","cardFooterClassNames","renderCardFooter_unstable","useCardFooterStyles_unstable","useCardFooter_unstable","CardHeader","cardHeaderClassNames","cardHeaderCSSVars","renderCardHeader_unstable","useCardHeaderStyles_unstable","useCardHeader_unstable","CardPreview","cardPreviewClassNames","renderCardPreview_unstable","useCardPreviewStyles_unstable","useCardPreview_unstable","CardProvider","useCardContext_unstable"],"mappings":";;;;;;;;;;;IAASA,IAAI,MAAJA,UAAI;IAAEC,cAAc,MAAdA,oBAAc;IAAEC,WAAW,MAAXA,iBAAW;IAAEC,mBAAmB,MAAnBA,yBAAmB;IAAEC,sBAAsB,MAAtBA,4BAAsB;IAAEC,gBAAgB,MAAhBA,sBAAgB;IAChGC,UAAU,MAAVA,sBAAU;IAAEC,oBAAoB,MAApBA,gCAAoB;IAAEC,yBAAyB,MAAzBA,qCAAyB;IAAEC,4BAA4B,MAA5BA,wCAA4B;IAAEC,sBAAsB,MAAtBA,kCAAsB;IACjHC,UAAU,MAAVA,sBAAU;IAAEC,oBAAoB,MAApBA,gCAAoB;IAAEC,iBAAiB,MAAjBA,6BAAiB;IAAEC,yBAAyB,MAAzBA,qCAAyB;IAAEC,4BAA4B,MAA5BA,wCAA4B;IAAEC,sBAAsB,MAAtBA,kCAAsB;IACpIC,WAAW,MAAXA,wBAAW;IAAEC,qBAAqB,MAArBA,kCAAqB;IAAEC,0BAA0B,MAA1BA,uCAA0B;IAAEC,6BAA6B,MAA7BA,0CAA6B;IAAEC,uBAAuB,MAAvBA,oCAAuB;IACtHC,YAAY,MAAZA,kBAAY;IAAEC,uBAAuB,MAAvBA,6BAAuB;;sBAJmE;4BACiB;4BACmB;6BACd;CAEvI,iCAAiC"}
1
+ {"version":3,"sources":["../lib/index.js"],"sourcesContent":["export { Card, cardClassNames, cardCSSVars, renderCard_unstable, useCardStyles_unstable, useCard_unstable } from './Card';\nexport { CardFooter, cardFooterClassNames, renderCardFooter_unstable, useCardFooterStyles_unstable, useCardFooter_unstable } from './CardFooter';\nexport { CardHeader, cardHeaderClassNames, cardHeaderCSSVars, renderCardHeader_unstable, useCardHeaderStyles_unstable, useCardHeader_unstable } from './CardHeader';\nexport { CardPreview, cardPreviewClassNames, renderCardPreview_unstable, useCardPreviewStyles_unstable, useCardPreview_unstable } from './CardPreview';\nexport { CardProvider, useCardContext_unstable } from './Card';\n\n//# sourceMappingURL=index.js.map"],"names":["Card","cardClassNames","cardCSSVars","renderCard_unstable","useCardStyles_unstable","useCard_unstable","CardFooter","cardFooterClassNames","renderCardFooter_unstable","useCardFooterStyles_unstable","useCardFooter_unstable","CardHeader","cardHeaderClassNames","cardHeaderCSSVars","renderCardHeader_unstable","useCardHeaderStyles_unstable","useCardHeader_unstable","CardPreview","cardPreviewClassNames","renderCardPreview_unstable","useCardPreviewStyles_unstable","useCardPreview_unstable","CardProvider","useCardContext_unstable"],"mappings":";;;;;;;;;;;IAASA,IAAI,MAAJA,UAAI;IAAEC,cAAc,MAAdA,oBAAc;IAAEC,WAAW,MAAXA,iBAAW;IAAEC,mBAAmB,MAAnBA,yBAAmB;IAAEC,sBAAsB,MAAtBA,4BAAsB;IAAEC,gBAAgB,MAAhBA,sBAAgB;IAChGC,UAAU,MAAVA,sBAAU;IAAEC,oBAAoB,MAApBA,gCAAoB;IAAEC,yBAAyB,MAAzBA,qCAAyB;IAAEC,4BAA4B,MAA5BA,wCAA4B;IAAEC,sBAAsB,MAAtBA,kCAAsB;IACjHC,UAAU,MAAVA,sBAAU;IAAEC,oBAAoB,MAApBA,gCAAoB;IAAEC,iBAAiB,MAAjBA,6BAAiB;IAAEC,yBAAyB,MAAzBA,qCAAyB;IAAEC,4BAA4B,MAA5BA,wCAA4B;IAAEC,sBAAsB,MAAtBA,kCAAsB;IACpIC,WAAW,MAAXA,wBAAW;IAAEC,qBAAqB,MAArBA,kCAAqB;IAAEC,0BAA0B,MAA1BA,uCAA0B;IAAEC,6BAA6B,MAA7BA,0CAA6B;IAAEC,uBAAuB,MAAvBA,oCAAuB;IACtHC,YAAY,MAAZA,kBAAY;IAAEC,uBAAuB,MAAvBA,6BAAuB;;sBAJmE;4BACiB;4BACmB;6BACd;CAGvI,iCAAiC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluentui/react-card",
3
- "version": "0.0.0-nightly-20230526-0415.1",
3
+ "version": "0.0.0-nightly-20230530-0415.1",
4
4
  "private": false,
5
5
  "description": "Card container components for Fluent UI React.",
6
6
  "main": "lib-commonjs/index.js",
@@ -30,19 +30,19 @@
30
30
  },
31
31
  "devDependencies": {
32
32
  "@fluentui/eslint-plugin": "*",
33
- "@fluentui/react-conformance-griffel": "0.0.0-nightly-20230526-0415.1",
33
+ "@fluentui/react-conformance-griffel": "0.0.0-nightly-20230530-0415.1",
34
34
  "@fluentui/react-conformance": "*",
35
- "@fluentui/react-button": "0.0.0-nightly-20230526-0415.1",
35
+ "@fluentui/react-button": "0.0.0-nightly-20230530-0415.1",
36
36
  "@fluentui/scripts-api-extractor": "*",
37
37
  "@fluentui/scripts-cypress": "*",
38
38
  "@fluentui/scripts-tasks": "*"
39
39
  },
40
40
  "dependencies": {
41
- "@fluentui/keyboard-keys": "0.0.0-nightly-20230526-0415.1",
42
- "@fluentui/react-tabster": "0.0.0-nightly-20230526-0415.1",
43
- "@fluentui/react-theme": "0.0.0-nightly-20230526-0415.1",
44
- "@fluentui/react-utilities": "0.0.0-nightly-20230526-0415.1",
45
- "@fluentui/react-jsx-runtime": "0.0.0-nightly-20230526-0415.1",
41
+ "@fluentui/keyboard-keys": "0.0.0-nightly-20230530-0415.1",
42
+ "@fluentui/react-tabster": "0.0.0-nightly-20230530-0415.1",
43
+ "@fluentui/react-theme": "0.0.0-nightly-20230530-0415.1",
44
+ "@fluentui/react-utilities": "0.0.0-nightly-20230530-0415.1",
45
+ "@fluentui/react-jsx-runtime": "0.0.0-nightly-20230530-0415.1",
46
46
  "@griffel/react": "^1.5.2",
47
47
  "@swc/helpers": "^0.4.14"
48
48
  },