@fluentui/react-migration-v0-v9 9.4.8 → 9.6.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 (173) hide show
  1. package/CHANGELOG.md +29 -2
  2. package/dist/index.d.ts +4 -2
  3. package/lib/components/Attachment/Attachment.js.map +1 -1
  4. package/lib/components/Attachment/Attachment.styles.raw.js +57 -0
  5. package/lib/components/Attachment/Attachment.styles.raw.js.map +1 -0
  6. package/lib/components/Attachment/AttachmentAction.js.map +1 -1
  7. package/lib/components/Attachment/AttachmentAction.styles.raw.js +17 -0
  8. package/lib/components/Attachment/AttachmentAction.styles.raw.js.map +1 -0
  9. package/lib/components/Attachment/AttachmentBody.js.map +1 -1
  10. package/lib/components/Attachment/AttachmentBody.styles.raw.js +6 -0
  11. package/lib/components/Attachment/AttachmentBody.styles.raw.js.map +1 -0
  12. package/lib/components/Attachment/AttachmentDescription.js.map +1 -1
  13. package/lib/components/Attachment/AttachmentDescription.styles.raw.js +9 -0
  14. package/lib/components/Attachment/AttachmentDescription.styles.raw.js.map +1 -0
  15. package/lib/components/Attachment/AttachmentHeader.js.map +1 -1
  16. package/lib/components/Attachment/AttachmentHeader.styles.raw.js +9 -0
  17. package/lib/components/Attachment/AttachmentHeader.styles.raw.js.map +1 -0
  18. package/lib/components/Attachment/AttachmentIcon.js.map +1 -1
  19. package/lib/components/Attachment/AttachmentIcon.styles.raw.js +15 -0
  20. package/lib/components/Attachment/AttachmentIcon.styles.raw.js.map +1 -0
  21. package/lib/components/Attachment/index.js.map +1 -1
  22. package/lib/components/Button/ButtonMigration.mixins.js.map +1 -1
  23. package/lib/components/Button/index.js.map +1 -1
  24. package/lib/components/Flex/Flex.js.map +1 -1
  25. package/lib/components/Flex/Flex.styles.raw.js +88 -0
  26. package/lib/components/Flex/Flex.styles.raw.js.map +1 -0
  27. package/lib/components/Flex/FlexItem.mixins.js.map +1 -1
  28. package/lib/components/Flex/index.js.map +1 -1
  29. package/lib/components/FormField/FormFieldShim.js.map +1 -1
  30. package/lib/components/FormField/index.js.map +1 -1
  31. package/lib/components/Grid/Grid.mixins.js.map +1 -1
  32. package/lib/components/Grid/Grid.styles.raw.js +31 -0
  33. package/lib/components/Grid/Grid.styles.raw.js.map +1 -0
  34. package/lib/components/Grid/GridShim.js.map +1 -1
  35. package/lib/components/Grid/index.js.map +1 -1
  36. package/lib/components/Input/Input.mixins.js.map +1 -1
  37. package/lib/components/Input/index.js.map +1 -1
  38. package/lib/components/ItemLayout/ItemLayout.js.map +1 -1
  39. package/lib/components/ItemLayout/ItemLayout.styles.raw.js +60 -0
  40. package/lib/components/ItemLayout/ItemLayout.styles.raw.js.map +1 -0
  41. package/lib/components/ItemLayout/index.js.map +1 -1
  42. package/lib/components/List/List/List.js.map +1 -1
  43. package/lib/components/List/List/List.types.js.map +1 -1
  44. package/lib/components/List/List/index.js.map +1 -1
  45. package/lib/components/List/List/listContext.js.map +1 -1
  46. package/lib/components/List/List/renderList.js.map +1 -1
  47. package/lib/components/List/List/useList.js.map +1 -1
  48. package/lib/components/List/List/useListContextValues.js.map +1 -1
  49. package/lib/components/List/List/useListStyles.styles.raw.js +34 -0
  50. package/lib/components/List/List/useListStyles.styles.raw.js.map +1 -0
  51. package/lib/components/List/ListItem/ListItem.js.map +1 -1
  52. package/lib/components/List/ListItem/ListItem.types.js.map +1 -1
  53. package/lib/components/List/ListItem/index.js.map +1 -1
  54. package/lib/components/List/ListItem/renderListItem.js.map +1 -1
  55. package/lib/components/List/ListItem/useListItem.js.map +1 -1
  56. package/lib/components/List/ListItem/useListItemStyles.styles.raw.js +66 -0
  57. package/lib/components/List/ListItem/useListItemStyles.styles.raw.js.map +1 -0
  58. package/lib/components/List/hooks/index.js.map +1 -1
  59. package/lib/components/List/hooks/types.js.map +1 -1
  60. package/lib/components/List/hooks/useListSelection.js.map +1 -1
  61. package/lib/components/List/index.js.map +1 -1
  62. package/lib/components/Primitive/Primitive.js.map +1 -1
  63. package/lib/components/Primitive/index.js.map +1 -1
  64. package/lib/components/Segment/Segment.js.map +1 -1
  65. package/lib/components/Segment/Segment.styles.raw.js +11 -0
  66. package/lib/components/Segment/Segment.styles.raw.js.map +1 -0
  67. package/lib/components/Segment/index.js.map +1 -1
  68. package/lib/components/Slider/Slider.mixins.js.map +1 -1
  69. package/lib/components/Slider/index.js.map +1 -1
  70. package/lib/components/Spinner/SpinnerMigration.mixins.js.map +1 -1
  71. package/lib/components/Spinner/index.js.map +1 -1
  72. package/lib/components/StyledText/StyledText.js.map +1 -1
  73. package/lib/components/StyledText/StyledText.styles.raw.js +95 -0
  74. package/lib/components/StyledText/StyledText.styles.raw.js.map +1 -0
  75. package/lib/components/StyledText/index.js.map +1 -1
  76. package/lib/components/Video/Video.js.map +1 -1
  77. package/lib/components/Video/Video.styles.raw.js +9 -0
  78. package/lib/components/Video/Video.styles.raw.js.map +1 -0
  79. package/lib/components/Video/index.js.map +1 -1
  80. package/lib/index.js.map +1 -1
  81. package/lib-commonjs/components/Attachment/Attachment.js.map +1 -1
  82. package/lib-commonjs/components/Attachment/Attachment.styles.js.map +1 -1
  83. package/lib-commonjs/components/Attachment/Attachment.styles.raw.js +75 -0
  84. package/lib-commonjs/components/Attachment/Attachment.styles.raw.js.map +1 -0
  85. package/lib-commonjs/components/Attachment/AttachmentAction.js.map +1 -1
  86. package/lib-commonjs/components/Attachment/AttachmentAction.styles.js.map +1 -1
  87. package/lib-commonjs/components/Attachment/AttachmentAction.styles.raw.js +27 -0
  88. package/lib-commonjs/components/Attachment/AttachmentAction.styles.raw.js.map +1 -0
  89. package/lib-commonjs/components/Attachment/AttachmentBody.js.map +1 -1
  90. package/lib-commonjs/components/Attachment/AttachmentBody.styles.js.map +1 -1
  91. package/lib-commonjs/components/Attachment/AttachmentBody.styles.raw.js +16 -0
  92. package/lib-commonjs/components/Attachment/AttachmentBody.styles.raw.js.map +1 -0
  93. package/lib-commonjs/components/Attachment/AttachmentDescription.js.map +1 -1
  94. package/lib-commonjs/components/Attachment/AttachmentDescription.styles.js.map +1 -1
  95. package/lib-commonjs/components/Attachment/AttachmentDescription.styles.raw.js +19 -0
  96. package/lib-commonjs/components/Attachment/AttachmentDescription.styles.raw.js.map +1 -0
  97. package/lib-commonjs/components/Attachment/AttachmentHeader.js.map +1 -1
  98. package/lib-commonjs/components/Attachment/AttachmentHeader.styles.js.map +1 -1
  99. package/lib-commonjs/components/Attachment/AttachmentHeader.styles.raw.js +19 -0
  100. package/lib-commonjs/components/Attachment/AttachmentHeader.styles.raw.js.map +1 -0
  101. package/lib-commonjs/components/Attachment/AttachmentIcon.js.map +1 -1
  102. package/lib-commonjs/components/Attachment/AttachmentIcon.styles.js.map +1 -1
  103. package/lib-commonjs/components/Attachment/AttachmentIcon.styles.raw.js +25 -0
  104. package/lib-commonjs/components/Attachment/AttachmentIcon.styles.raw.js.map +1 -0
  105. package/lib-commonjs/components/Attachment/index.js.map +1 -1
  106. package/lib-commonjs/components/Button/ButtonMigration.mixins.js.map +1 -1
  107. package/lib-commonjs/components/Button/index.js.map +1 -1
  108. package/lib-commonjs/components/Flex/Flex.js.map +1 -1
  109. package/lib-commonjs/components/Flex/Flex.styles.js.map +1 -1
  110. package/lib-commonjs/components/Flex/Flex.styles.raw.js +98 -0
  111. package/lib-commonjs/components/Flex/Flex.styles.raw.js.map +1 -0
  112. package/lib-commonjs/components/Flex/FlexItem.mixins.js.map +1 -1
  113. package/lib-commonjs/components/Flex/index.js.map +1 -1
  114. package/lib-commonjs/components/FormField/FormFieldShim.js.map +1 -1
  115. package/lib-commonjs/components/FormField/index.js.map +1 -1
  116. package/lib-commonjs/components/Grid/Grid.mixins.js.map +1 -1
  117. package/lib-commonjs/components/Grid/Grid.styles.js.map +1 -1
  118. package/lib-commonjs/components/Grid/Grid.styles.raw.js +41 -0
  119. package/lib-commonjs/components/Grid/Grid.styles.raw.js.map +1 -0
  120. package/lib-commonjs/components/Grid/GridShim.js.map +1 -1
  121. package/lib-commonjs/components/Grid/index.js.map +1 -1
  122. package/lib-commonjs/components/Input/Input.mixins.js.map +1 -1
  123. package/lib-commonjs/components/Input/index.js.map +1 -1
  124. package/lib-commonjs/components/ItemLayout/ItemLayout.js.map +1 -1
  125. package/lib-commonjs/components/ItemLayout/ItemLayout.styles.js.map +1 -1
  126. package/lib-commonjs/components/ItemLayout/ItemLayout.styles.raw.js +70 -0
  127. package/lib-commonjs/components/ItemLayout/ItemLayout.styles.raw.js.map +1 -0
  128. package/lib-commonjs/components/ItemLayout/index.js.map +1 -1
  129. package/lib-commonjs/components/List/List/List.js.map +1 -1
  130. package/lib-commonjs/components/List/List/List.types.js.map +1 -1
  131. package/lib-commonjs/components/List/List/index.js.map +1 -1
  132. package/lib-commonjs/components/List/List/listContext.js.map +1 -1
  133. package/lib-commonjs/components/List/List/renderList.js.map +1 -1
  134. package/lib-commonjs/components/List/List/useList.js.map +1 -1
  135. package/lib-commonjs/components/List/List/useListContextValues.js.map +1 -1
  136. package/lib-commonjs/components/List/List/useListStyles.styles.js.map +1 -1
  137. package/lib-commonjs/components/List/List/useListStyles.styles.raw.js +50 -0
  138. package/lib-commonjs/components/List/List/useListStyles.styles.raw.js.map +1 -0
  139. package/lib-commonjs/components/List/ListItem/ListItem.js.map +1 -1
  140. package/lib-commonjs/components/List/ListItem/ListItem.types.js.map +1 -1
  141. package/lib-commonjs/components/List/ListItem/index.js.map +1 -1
  142. package/lib-commonjs/components/List/ListItem/renderListItem.js.map +1 -1
  143. package/lib-commonjs/components/List/ListItem/useListItem.js.map +1 -1
  144. package/lib-commonjs/components/List/ListItem/useListItemStyles.styles.js.map +1 -1
  145. package/lib-commonjs/components/List/ListItem/useListItemStyles.styles.raw.js +82 -0
  146. package/lib-commonjs/components/List/ListItem/useListItemStyles.styles.raw.js.map +1 -0
  147. package/lib-commonjs/components/List/hooks/index.js.map +1 -1
  148. package/lib-commonjs/components/List/hooks/types.js.map +1 -1
  149. package/lib-commonjs/components/List/hooks/useListSelection.js.map +1 -1
  150. package/lib-commonjs/components/List/index.js.map +1 -1
  151. package/lib-commonjs/components/Primitive/Primitive.js.map +1 -1
  152. package/lib-commonjs/components/Primitive/index.js.map +1 -1
  153. package/lib-commonjs/components/Segment/Segment.js.map +1 -1
  154. package/lib-commonjs/components/Segment/Segment.styles.js.map +1 -1
  155. package/lib-commonjs/components/Segment/Segment.styles.raw.js +21 -0
  156. package/lib-commonjs/components/Segment/Segment.styles.raw.js.map +1 -0
  157. package/lib-commonjs/components/Segment/index.js.map +1 -1
  158. package/lib-commonjs/components/Slider/Slider.mixins.js.map +1 -1
  159. package/lib-commonjs/components/Slider/index.js.map +1 -1
  160. package/lib-commonjs/components/Spinner/SpinnerMigration.mixins.js.map +1 -1
  161. package/lib-commonjs/components/Spinner/index.js.map +1 -1
  162. package/lib-commonjs/components/StyledText/StyledText.js.map +1 -1
  163. package/lib-commonjs/components/StyledText/StyledText.styles.js.map +1 -1
  164. package/lib-commonjs/components/StyledText/StyledText.styles.raw.js +116 -0
  165. package/lib-commonjs/components/StyledText/StyledText.styles.raw.js.map +1 -0
  166. package/lib-commonjs/components/StyledText/index.js.map +1 -1
  167. package/lib-commonjs/components/Video/Video.js.map +1 -1
  168. package/lib-commonjs/components/Video/Video.styles.js.map +1 -1
  169. package/lib-commonjs/components/Video/Video.styles.raw.js +19 -0
  170. package/lib-commonjs/components/Video/Video.styles.raw.js.map +1 -0
  171. package/lib-commonjs/components/Video/index.js.map +1 -1
  172. package/lib-commonjs/index.js.map +1 -1
  173. package/package.json +7 -7
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/components/StyledText/StyledText.tsx"],"sourcesContent":["/** @jsxRuntime automatic */\n/** @jsxImportSource @fluentui/react-jsx-runtime */\n\nimport * as React from 'react';\nimport { getIntrinsicElementProps, mergeClasses, Slot, ComponentProps, slot } from '@fluentui/react-components';\nimport { useSizeStyles, useStyles, useWeightStyles } from './StyledText.styles';\n\nexport type StyledTextSlots = {\n root: Slot<'span', 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'p' | 'pre' | 'time'>;\n};\n\nexport type StyledTextProps = ComponentProps<StyledTextSlots> & {\n /**\n * Aligns text based on the parent container.\n */\n align?: 'start' | 'center' | 'end' | 'justify';\n\n /**\n * At mentions can be formatted to draw users' attention.\n * Mentions for \"me\" can be formatted to appear differently.\n */\n atMention?: 'me' | boolean;\n\n /**\n * Set as disabled StyledText component\n */\n disabled?: boolean;\n\n /**\n * Set as error StyledText component\n */\n error?: boolean;\n\n /**\n * The StyledText can appear more important and draw user's attention\n */\n important?: boolean;\n\n /**\n * Applies font size and line height based on the theme tokens.\n */\n size?:\n | 'smaller'\n | 'small'\n | 'medium'\n | 'large'\n | 'large500'\n | 'larger'\n | 'largest'\n | 100\n | 200\n | 300\n | 400\n | 500\n | 600\n | 700;\n\n /**\n * Set as success StyledText component\n */\n success?: boolean;\n\n /**\n * The text can signify a temporary state\n */\n temporary?: boolean;\n\n /**\n * Set as timestamp StyledText component\n */\n timestamp?: boolean;\n\n /**\n * Truncate overflowing text for block displays.\n */\n truncate?: boolean;\n\n /**\n * Applies font weight to the content.\n */\n weight?: 'light' | 'semilight' | 'regular' | 'medium' | 'semibold' | 'bold';\n\n /**\n * Wraps the text content on white spaces.\n *\n * @default true\n */\n wrap?: boolean;\n};\n\nexport const styledTextClassName = 'fui-StyledText';\n\nconst sizeMap: Record<string, 'base100' | 'base200' | 'base300' | 'base400' | 'base500' | 'base600' | 'hero700'> = {\n '100': 'base100',\n '200': 'base200',\n '300': 'base300',\n '400': 'base400',\n '500': 'base500',\n '600': 'base600',\n '700': 'hero700',\n smaller: 'base100',\n small: 'base200',\n medium: 'base300',\n large: 'base400',\n large500: 'base500',\n larger: 'base600',\n largest: 'hero700',\n};\n\nexport const StyledText = React.forwardRef<HTMLSpanElement, StyledTextProps>((props, ref) => {\n const {\n align,\n atMention,\n disabled,\n error,\n important,\n success,\n temporary,\n timestamp,\n truncate,\n weight,\n wrap = true,\n } = props;\n\n const dir = typeof props.children === 'string' ? 'auto' : undefined;\n\n const sizeStyles = useSizeStyles();\n const weightStyles = useWeightStyles();\n const styles = useStyles();\n\n const size = props.size ? sizeMap[props.size] : props.size;\n\n const RootSlot = slot.always(\n getIntrinsicElementProps('span', {\n ref,\n ...props,\n dir,\n className: mergeClasses(\n styledTextClassName,\n size && sizeStyles[size],\n weight && weightStyles[weight],\n wrap === false && styles.nowrap,\n truncate && styles.truncate,\n align === 'center' && styles.alignCenter,\n align === 'end' && styles.alignEnd,\n align === 'justify' && styles.alignJustify,\n\n atMention && styles.mention,\n atMention === 'me' && styles.mentionMe,\n disabled && styles.disabled,\n error && styles.error,\n important && styles.important,\n success && styles.success,\n temporary && styles.temporary,\n timestamp && styles.timestamp,\n props.className,\n ),\n }),\n { elementType: 'span' },\n );\n\n return <RootSlot />;\n});\n\nStyledText.displayName = 'StyledText';\n"],"names":["StyledText","styledTextClassName","sizeMap","smaller","small","medium","large","large500","larger","largest","React","forwardRef","props","ref","align","atMention","disabled","error","important","success","temporary","timestamp","truncate","weight","wrap","dir","children","undefined","sizeStyles","useSizeStyles","weightStyles","useWeightStyles","styles","useStyles","size","RootSlot","slot","always","getIntrinsicElementProps","className","mergeClasses","nowrap","alignCenter","alignEnd","alignJustify","mention","mentionMe","elementType","_jsx","displayName"],"rangeMappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","mappings":";;;;;;;;;;;IA6GaA,UAAAA;eAAAA;;IAnBAC,mBAAAA;eAAAA;;;;4BAzFb;iEAEuB;iCAC4D;kCACzB;AAqFnD,MAAMA,sBAAsB;AAEnC,MAAMC,UAA6G;IACjH,OAAO;IACP,OAAO;IACP,OAAO;IACP,OAAO;IACP,OAAO;IACP,OAAO;IACP,OAAO;IACPC,SAAS;IACTC,OAAO;IACPC,QAAQ;IACRC,OAAO;IACPC,UAAU;IACVC,QAAQ;IACRC,SAAS;AACX;AAEO,MAAMT,aAAAA,WAAAA,GAAaU,OAAMC,UAAU,CAAmC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}
1
+ {"version":3,"sources":["../src/components/StyledText/StyledText.tsx"],"sourcesContent":["/** @jsxRuntime automatic */\n/** @jsxImportSource @fluentui/react-jsx-runtime */\n\nimport * as React from 'react';\nimport { getIntrinsicElementProps, mergeClasses, Slot, ComponentProps, slot } from '@fluentui/react-components';\nimport { useSizeStyles, useStyles, useWeightStyles } from './StyledText.styles';\n\nexport type StyledTextSlots = {\n root: Slot<'span', 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'p' | 'pre' | 'time'>;\n};\n\nexport type StyledTextProps = ComponentProps<StyledTextSlots> & {\n /**\n * Aligns text based on the parent container.\n */\n align?: 'start' | 'center' | 'end' | 'justify';\n\n /**\n * At mentions can be formatted to draw users' attention.\n * Mentions for \"me\" can be formatted to appear differently.\n */\n atMention?: 'me' | boolean;\n\n /**\n * Set as disabled StyledText component\n */\n disabled?: boolean;\n\n /**\n * Set as error StyledText component\n */\n error?: boolean;\n\n /**\n * The StyledText can appear more important and draw user's attention\n */\n important?: boolean;\n\n /**\n * Applies font size and line height based on the theme tokens.\n */\n size?:\n | 'smaller'\n | 'small'\n | 'medium'\n | 'large'\n | 'large500'\n | 'larger'\n | 'largest'\n | 100\n | 200\n | 300\n | 400\n | 500\n | 600\n | 700;\n\n /**\n * Set as success StyledText component\n */\n success?: boolean;\n\n /**\n * The text can signify a temporary state\n */\n temporary?: boolean;\n\n /**\n * Set as timestamp StyledText component\n */\n timestamp?: boolean;\n\n /**\n * Truncate overflowing text for block displays.\n */\n truncate?: boolean;\n\n /**\n * Applies font weight to the content.\n */\n weight?: 'light' | 'semilight' | 'regular' | 'medium' | 'semibold' | 'bold';\n\n /**\n * Wraps the text content on white spaces.\n *\n * @default true\n */\n wrap?: boolean;\n};\n\nexport const styledTextClassName = 'fui-StyledText';\n\nconst sizeMap: Record<string, 'base100' | 'base200' | 'base300' | 'base400' | 'base500' | 'base600' | 'hero700'> = {\n '100': 'base100',\n '200': 'base200',\n '300': 'base300',\n '400': 'base400',\n '500': 'base500',\n '600': 'base600',\n '700': 'hero700',\n smaller: 'base100',\n small: 'base200',\n medium: 'base300',\n large: 'base400',\n large500: 'base500',\n larger: 'base600',\n largest: 'hero700',\n};\n\nexport const StyledText = React.forwardRef<HTMLSpanElement, StyledTextProps>((props, ref) => {\n const {\n align,\n atMention,\n disabled,\n error,\n important,\n success,\n temporary,\n timestamp,\n truncate,\n weight,\n wrap = true,\n } = props;\n\n const dir = typeof props.children === 'string' ? 'auto' : undefined;\n\n const sizeStyles = useSizeStyles();\n const weightStyles = useWeightStyles();\n const styles = useStyles();\n\n const size = props.size ? sizeMap[props.size] : props.size;\n\n const RootSlot = slot.always(\n getIntrinsicElementProps('span', {\n ref,\n ...props,\n dir,\n className: mergeClasses(\n styledTextClassName,\n size && sizeStyles[size],\n weight && weightStyles[weight],\n wrap === false && styles.nowrap,\n truncate && styles.truncate,\n align === 'center' && styles.alignCenter,\n align === 'end' && styles.alignEnd,\n align === 'justify' && styles.alignJustify,\n\n atMention && styles.mention,\n atMention === 'me' && styles.mentionMe,\n disabled && styles.disabled,\n error && styles.error,\n important && styles.important,\n success && styles.success,\n temporary && styles.temporary,\n timestamp && styles.timestamp,\n props.className,\n ),\n }),\n { elementType: 'span' },\n );\n\n return <RootSlot />;\n});\n\nStyledText.displayName = 'StyledText';\n"],"names":["React","getIntrinsicElementProps","mergeClasses","slot","useSizeStyles","useStyles","useWeightStyles","styledTextClassName","sizeMap","smaller","small","medium","large","large500","larger","largest","StyledText","forwardRef","props","ref","align","atMention","disabled","error","important","success","temporary","timestamp","truncate","weight","wrap","dir","children","undefined","sizeStyles","weightStyles","styles","size","RootSlot","always","className","nowrap","alignCenter","alignEnd","alignJustify","mention","mentionMe","elementType","displayName"],"mappings":";;;;;;;;;;;IA6GagB,UAAAA;;;IAnBAT,mBAAAA;;;;;4BAzFb,gDAAiD;iEAE1B,QAAQ;iCACoD,6BAA6B;kCACtD,sBAAsB;AAqFzE,4BAA4B,iBAAiB;AAEpD,MAAMC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C,aAAaU,OAAOV,SAAS,EAC7BC,aAAaS,OAAOT,SAAS,EAC7BT,MAAMsB,SAAS;IAEnB,IACA;QAAEO,aAAa;IAAO;IAGxB,OAAA,WAAA,OAAO,eAAA,EAACT,UAAAA,CAAAA;AACV,GAAG;AAEHtB,WAAWgC,WAAW,GAAG"}
@@ -1 +1 @@
1
- {"version":3,"sources":["StyledText.styles.js"],"sourcesContent":["import { makeStyles, tokens } from '@fluentui/react-components';\nexport const useSizeStyles = makeStyles({\n base100: {\n fontSize: tokens.fontSizeBase100,\n lineHeight: tokens.lineHeightBase100\n },\n base200: {\n fontSize: tokens.fontSizeBase200,\n lineHeight: tokens.lineHeightBase200\n },\n base300: {\n fontSize: tokens.fontSizeBase300,\n lineHeight: tokens.lineHeightBase300\n },\n base400: {\n fontSize: tokens.fontSizeBase400,\n lineHeight: tokens.lineHeightBase400\n },\n base500: {\n fontSize: tokens.fontSizeBase500,\n lineHeight: tokens.lineHeightBase500\n },\n base600: {\n fontSize: tokens.fontSizeBase600,\n lineHeight: tokens.lineHeightBase600\n },\n hero700: {\n fontSize: tokens.fontSizeHero700,\n lineHeight: tokens.lineHeightHero700\n }\n});\nexport const useWeightStyles = makeStyles({\n light: {\n fontWeight: 200\n },\n semilight: {\n fontWeight: 300\n },\n regular: {\n fontWeight: 400\n },\n medium: {\n fontWeight: 500\n },\n semibold: {\n fontWeight: 600\n },\n bold: {\n fontWeight: 700\n }\n});\nexport const useStyles = makeStyles({\n mention: {\n color: tokens.colorBrandForegroundLink\n },\n mentionMe: {\n color: tokens.colorPalettePumpkinBorderActive,\n fontWeight: 700\n },\n disabled: {\n color: tokens.colorNeutralForegroundDisabled\n },\n error: {\n color: tokens.colorPaletteRedForeground3\n },\n important: {\n color: tokens.colorPaletteDarkOrangeForeground3,\n fontWeight: 700\n },\n success: {\n color: tokens.colorPaletteGreenForeground3\n },\n temporary: {\n fontStyle: 'italic'\n },\n timestamp: {\n color: tokens.colorNeutralForeground3\n },\n nowrap: {\n whiteSpace: 'nowrap',\n overflow: 'hidden'\n },\n truncate: {\n textOverflow: 'ellipsis'\n },\n alignCenter: {\n textAlign: 'center'\n },\n alignEnd: {\n textAlign: 'end'\n },\n alignJustify: {\n textAlign: 'justify'\n }\n});\n"],"names":["useSizeStyles","useStyles","useWeightStyles","__styles","base100","Be2twd7","Bg96gwp","base200","base300","base400","base500","base600","hero700","d","light","Bhrd7zp","semilight","regular","medium","semibold","bold","mention","sj55zd","mentionMe","disabled","error","important","success","temporary","B80ckks","timestamp","nowrap","Huce71","B68tc82","Bmxbyg5","Bpg54ce","truncate","ygn44y","alignCenter","fsow6f","alignEnd","alignJustify","p"],"rangeMappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","mappings":";;;;;;;;;;;IACaA,aAAa;eAAbA;;IAkDAC,SAAS;eAATA;;IApBAC,eAAe;eAAfA;;;iCA/BsB;AAC5B,MAAMF,gBAAa,WAAA,GAAGG,IAAAA,yBAAA,EAAA;IAAAC,SAAA;QAAAC,SAAA;QAAAC,SAAA;IAAA;IAAAC,SAAA;QAAAF,SAAA;QAAAC,SAAA;IAAA;IAAAE,SAAA;QAAAH,SAAA;QAAAC,SAAA;IAAA;IAAAG,SAAA;QAAAJ,SAAA;QAAAC,SAAA;IAAA;IAAAI,SAAA;QAAAL,SAAA;QAAAC,SAAA;IAAA;IAAAK,SAAA;QAAAN,SAAA;QAAAC,SAAA;IAAA;IAAAM,SAAA;QAAAP,SAAA;QAAAC,SAAA;IAAA;AAAA,GAAA;IAAAO,GAAA;QAAA;QAAA;QAAA;QAAA;QAAA;QAAA;QAAA;QAAA;QAAA;QAAA;QAAA;QAAA;QAAA;QAAA;KAAA;AAAA;AA8BtB,MAAMX,kBAAe,WAAA,GAAGC,IAAAA,yBAAA,EAAA;IAAAW,OAAA;QAAAC,SAAA;IAAA;IAAAC,WAAA;QAAAD,SAAA;IAAA;IAAAE,SAAA;QAAAF,SAAA;IAAA;IAAAG,QAAA;QAAAH,SAAA;IAAA;IAAAI,UAAA;QAAAJ,SAAA;IAAA;IAAAK,MAAA;QAAAL,SAAA;IAAA;AAAA,GAAA;IAAAF,GAAA;QAAA;QAAA;QAAA;QAAA;QAAA;QAAA;KAAA;AAAA;AAoBxB,MAAMZ,YAAS,WAAA,GAAGE,IAAAA,yBAAA,EAAA;IAAAkB,SAAA;QAAAC,QAAA;IAAA;IAAAC,WAAA;QAAAD,QAAA;QAAAP,SAAA;IAAA;IAAAS,UAAA;QAAAF,QAAA;IAAA;IAAAG,OAAA;QAAAH,QAAA;IAAA;IAAAI,WAAA;QAAAJ,QAAA;QAAAP,SAAA;IAAA;IAAAY,SAAA;QAAAL,QAAA;IAAA;IAAAM,WAAA;QAAAC,SAAA;IAAA;IAAAC,WAAA;QAAAR,QAAA;IAAA;IAAAS,QAAA;QAAAC,QAAA;QAAAC,SAAA;QAAAC,SAAA;QAAAC,SAAA;IAAA;IAAAC,UAAA;QAAAC,QAAA;IAAA;IAAAC,aAAA;QAAAC,QAAA;IAAA;IAAAC,UAAA;QAAAD,QAAA;IAAA;IAAAE,cAAA;QAAAF,QAAA;IAAA;AAAA,GAAA;IAAA1B,GAAA;QAAA;QAAA;QAAA;QAAA;QAAA;QAAA;QAAA;QAAA;QAAA;QAAA;QAAA;YAAA;YAAA;gBAAA6B,GAAA,CAAA;YAAA;SAAA;QAAA;QAAA;QAAA;QAAA;KAAA;AAAA"}
1
+ {"version":3,"sources":["StyledText.styles.js"],"sourcesContent":["import { makeStyles, tokens } from '@fluentui/react-components';\nexport const useSizeStyles = makeStyles({\n base100: {\n fontSize: tokens.fontSizeBase100,\n lineHeight: tokens.lineHeightBase100\n },\n base200: {\n fontSize: tokens.fontSizeBase200,\n lineHeight: tokens.lineHeightBase200\n },\n base300: {\n fontSize: tokens.fontSizeBase300,\n lineHeight: tokens.lineHeightBase300\n },\n base400: {\n fontSize: tokens.fontSizeBase400,\n lineHeight: tokens.lineHeightBase400\n },\n base500: {\n fontSize: tokens.fontSizeBase500,\n lineHeight: tokens.lineHeightBase500\n },\n base600: {\n fontSize: tokens.fontSizeBase600,\n lineHeight: tokens.lineHeightBase600\n },\n hero700: {\n fontSize: tokens.fontSizeHero700,\n lineHeight: tokens.lineHeightHero700\n }\n});\nexport const useWeightStyles = makeStyles({\n light: {\n fontWeight: 200\n },\n semilight: {\n fontWeight: 300\n },\n regular: {\n fontWeight: 400\n },\n medium: {\n fontWeight: 500\n },\n semibold: {\n fontWeight: 600\n },\n bold: {\n fontWeight: 700\n }\n});\nexport const useStyles = makeStyles({\n mention: {\n color: tokens.colorBrandForegroundLink\n },\n mentionMe: {\n color: tokens.colorPalettePumpkinBorderActive,\n fontWeight: 700\n },\n disabled: {\n color: tokens.colorNeutralForegroundDisabled\n },\n error: {\n color: tokens.colorPaletteRedForeground3\n },\n important: {\n color: tokens.colorPaletteDarkOrangeForeground3,\n fontWeight: 700\n },\n success: {\n color: tokens.colorPaletteGreenForeground3\n },\n temporary: {\n fontStyle: 'italic'\n },\n timestamp: {\n color: tokens.colorNeutralForeground3\n },\n nowrap: {\n whiteSpace: 'nowrap',\n overflow: 'hidden'\n },\n truncate: {\n textOverflow: 'ellipsis'\n },\n alignCenter: {\n textAlign: 'center'\n },\n alignEnd: {\n textAlign: 'end'\n },\n alignJustify: {\n textAlign: 'justify'\n }\n});\n"],"names":["__styles","tokens","useSizeStyles","base100","Be2twd7","Bg96gwp","base200","base300","base400","base500","base600","hero700","d","useWeightStyles","light","Bhrd7zp","semilight","regular","medium","semibold","bold","useStyles","mention","sj55zd","mentionMe","disabled","error","important","success","temporary","B80ckks","timestamp","nowrap","Huce71","B68tc82","Bmxbyg5","Bpg54ce","truncate","ygn44y","alignCenter","fsow6f","alignEnd","alignJustify","p"],"mappings":";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AA;QAAAR,OAAA,EAAA;IAAA;IAAAU,QAAA,EAAA;QAAAF,MAAA,EAAA;IAAA;IAAAG,KAAA,EAAA;QAAAH,MAAA,EAAA;IAAA;IAAAI,SAAA,EAAA;QAAAJ,MAAA,EAAA;QAAAR,OAAA,EAAA;IAAA;IAAAa,OAAA,EAAA;QAAAL,MAAA,EAAA;IAAA;IAAAM,SAAA,EAAA;QAAAC,OAAA,EAAA;IAAA;IAAAC,SAAA,EAAA;QAAAR,MAAA,EAAA;IAAA;IAAAS,MAAA,EAAA;QAAAC,MAAA,EAAA;QAAAC,OAAA,EAAA;QAAAC,OAAA,EAAA;QAAAC,OAAA,EAAA;IAAA;IAAAC,QAAA,EAAA;QAAAC,MAAA,EAAA;IAAA;IAAAC,WAAA,EAAA;QAAAC,MAAA,EAAA;IAAA;IAAAC,QAAA,EAAA;QAAAD,MAAA,EAAA;IAAA;IAAAE,YAAA,EAAA;QAAAF,MAAA,EAAA;IAAA;AAAA,GAAA;IAAA5B,CAAA,EAAA;QAAA;QAAA;QAAA;QAAA;QAAA;QAAA;QAAA;QAAA;QAAA;QAAA;QAAA;YAAA;YAAA;gBAAA+B,CAAA,EAAA,CAAA;YAAA;SAAA;QAAA;QAAA;QAAA;QAAA;KAAA;AAAA,CA2CxB,CAAC"}
@@ -0,0 +1,116 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", {
3
+ value: true
4
+ });
5
+ function _export(target, all) {
6
+ for(var name in all)Object.defineProperty(target, name, {
7
+ enumerable: true,
8
+ get: all[name]
9
+ });
10
+ }
11
+ _export(exports, {
12
+ useSizeStyles: function() {
13
+ return useSizeStyles;
14
+ },
15
+ useStyles: function() {
16
+ return useStyles;
17
+ },
18
+ useWeightStyles: function() {
19
+ return useWeightStyles;
20
+ }
21
+ });
22
+ const _reactcomponents = require("@fluentui/react-components");
23
+ const useSizeStyles = (0, _reactcomponents.makeStyles)({
24
+ base100: {
25
+ fontSize: _reactcomponents.tokens.fontSizeBase100,
26
+ lineHeight: _reactcomponents.tokens.lineHeightBase100
27
+ },
28
+ base200: {
29
+ fontSize: _reactcomponents.tokens.fontSizeBase200,
30
+ lineHeight: _reactcomponents.tokens.lineHeightBase200
31
+ },
32
+ base300: {
33
+ fontSize: _reactcomponents.tokens.fontSizeBase300,
34
+ lineHeight: _reactcomponents.tokens.lineHeightBase300
35
+ },
36
+ base400: {
37
+ fontSize: _reactcomponents.tokens.fontSizeBase400,
38
+ lineHeight: _reactcomponents.tokens.lineHeightBase400
39
+ },
40
+ base500: {
41
+ fontSize: _reactcomponents.tokens.fontSizeBase500,
42
+ lineHeight: _reactcomponents.tokens.lineHeightBase500
43
+ },
44
+ base600: {
45
+ fontSize: _reactcomponents.tokens.fontSizeBase600,
46
+ lineHeight: _reactcomponents.tokens.lineHeightBase600
47
+ },
48
+ hero700: {
49
+ fontSize: _reactcomponents.tokens.fontSizeHero700,
50
+ lineHeight: _reactcomponents.tokens.lineHeightHero700
51
+ }
52
+ });
53
+ const useWeightStyles = (0, _reactcomponents.makeStyles)({
54
+ light: {
55
+ fontWeight: 200
56
+ },
57
+ semilight: {
58
+ fontWeight: 300
59
+ },
60
+ regular: {
61
+ fontWeight: 400
62
+ },
63
+ medium: {
64
+ fontWeight: 500
65
+ },
66
+ semibold: {
67
+ fontWeight: 600
68
+ },
69
+ bold: {
70
+ fontWeight: 700
71
+ }
72
+ });
73
+ const useStyles = (0, _reactcomponents.makeStyles)({
74
+ mention: {
75
+ color: _reactcomponents.tokens.colorBrandForegroundLink
76
+ },
77
+ mentionMe: {
78
+ color: _reactcomponents.tokens.colorPalettePumpkinBorderActive,
79
+ fontWeight: 700
80
+ },
81
+ disabled: {
82
+ color: _reactcomponents.tokens.colorNeutralForegroundDisabled
83
+ },
84
+ error: {
85
+ color: _reactcomponents.tokens.colorPaletteRedForeground3
86
+ },
87
+ important: {
88
+ color: _reactcomponents.tokens.colorPaletteDarkOrangeForeground3,
89
+ fontWeight: 700
90
+ },
91
+ success: {
92
+ color: _reactcomponents.tokens.colorPaletteGreenForeground3
93
+ },
94
+ temporary: {
95
+ fontStyle: 'italic'
96
+ },
97
+ timestamp: {
98
+ color: _reactcomponents.tokens.colorNeutralForeground3
99
+ },
100
+ nowrap: {
101
+ whiteSpace: 'nowrap',
102
+ overflow: 'hidden'
103
+ },
104
+ truncate: {
105
+ textOverflow: 'ellipsis'
106
+ },
107
+ alignCenter: {
108
+ textAlign: 'center'
109
+ },
110
+ alignEnd: {
111
+ textAlign: 'end'
112
+ },
113
+ alignJustify: {
114
+ textAlign: 'justify'
115
+ }
116
+ });
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/components/StyledText/StyledText.styles.ts"],"sourcesContent":["import { makeStyles, tokens } from '@fluentui/react-components';\n\nexport const useSizeStyles = makeStyles({\n base100: {\n fontSize: tokens.fontSizeBase100,\n lineHeight: tokens.lineHeightBase100,\n },\n base200: {\n fontSize: tokens.fontSizeBase200,\n lineHeight: tokens.lineHeightBase200,\n },\n base300: {\n fontSize: tokens.fontSizeBase300,\n lineHeight: tokens.lineHeightBase300,\n },\n base400: {\n fontSize: tokens.fontSizeBase400,\n lineHeight: tokens.lineHeightBase400,\n },\n base500: {\n fontSize: tokens.fontSizeBase500,\n lineHeight: tokens.lineHeightBase500,\n },\n base600: {\n fontSize: tokens.fontSizeBase600,\n lineHeight: tokens.lineHeightBase600,\n },\n hero700: {\n fontSize: tokens.fontSizeHero700,\n lineHeight: tokens.lineHeightHero700,\n },\n});\n\nexport const useWeightStyles = makeStyles({\n light: {\n fontWeight: 200,\n },\n semilight: {\n fontWeight: 300,\n },\n regular: {\n fontWeight: 400,\n },\n medium: {\n fontWeight: 500,\n },\n semibold: {\n fontWeight: 600,\n },\n bold: {\n fontWeight: 700,\n },\n});\n\nexport const useStyles = makeStyles({\n mention: {\n color: tokens.colorBrandForegroundLink,\n },\n mentionMe: {\n color: tokens.colorPalettePumpkinBorderActive,\n fontWeight: 700,\n },\n disabled: {\n color: tokens.colorNeutralForegroundDisabled,\n },\n error: {\n color: tokens.colorPaletteRedForeground3,\n },\n important: {\n color: tokens.colorPaletteDarkOrangeForeground3,\n fontWeight: 700,\n },\n success: {\n color: tokens.colorPaletteGreenForeground3,\n },\n temporary: {\n fontStyle: 'italic',\n },\n timestamp: {\n color: tokens.colorNeutralForeground3,\n },\n nowrap: {\n whiteSpace: 'nowrap',\n overflow: 'hidden',\n },\n truncate: {\n textOverflow: 'ellipsis',\n },\n alignCenter: {\n textAlign: 'center',\n },\n alignEnd: {\n textAlign: 'end',\n },\n alignJustify: {\n textAlign: 'justify',\n },\n});\n"],"names":["makeStyles","tokens","useSizeStyles","base100","fontSize","fontSizeBase100","lineHeight","lineHeightBase100","base200","fontSizeBase200","lineHeightBase200","base300","fontSizeBase300","lineHeightBase300","base400","fontSizeBase400","lineHeightBase400","base500","fontSizeBase500","lineHeightBase500","base600","fontSizeBase600","lineHeightBase600","hero700","fontSizeHero700","lineHeightHero700","useWeightStyles","light","fontWeight","semilight","regular","medium","semibold","bold","useStyles","mention","color","colorBrandForegroundLink","mentionMe","colorPalettePumpkinBorderActive","disabled","colorNeutralForegroundDisabled","error","colorPaletteRedForeground3","important","colorPaletteDarkOrangeForeground3","success","colorPaletteGreenForeground3","temporary","fontStyle","timestamp","colorNeutralForeground3","nowrap","whiteSpace","overflow","truncate","textOverflow","alignCenter","textAlign","alignEnd","alignJustify"],"mappings":";;;;;;;;;;;IAEaE,aAAAA;;;aAoDAgC;eAAAA;;mBArBAR;eAAAA;;;iCAjCsB,6BAA6B;AAEzD,0BAAsB1B,2BAAAA,EAAW;IACtCG,SAAS;QACPC,UAAUH,uBAAAA,CAAOI,eAAe;QAChCC,YAAYL,uBAAAA,CAAOM,iBAAiB;IACtC;IACAC,SAAS;QACPJ,UAAUH,uBAAAA,CAAOQ,eAAe;QAChCH,YAAYL,uBAAAA,CAAOS,iBAAiB;IACtC;IACAC,SAAS;QACPP,UAAUH,uBAAAA,CAAOW,eAAe;QAChCN,YAAYL,uBAAAA,C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ACAC,UAAU;QACRD,WAAW;IACb;IACAE,cAAc;QACZF,WAAW;IACb;AACF,GAAG"}
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/components/StyledText/index.tsx"],"sourcesContent":["export type { StyledTextProps, StyledTextSlots } from './StyledText';\nexport { StyledText, styledTextClassName } from './StyledText';\nexport { useSizeStyles, useStyles, useWeightStyles } from './StyledText.styles';\n"],"names":["StyledText","styledTextClassName","useSizeStyles","useStyles","useWeightStyles"],"rangeMappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;","mappings":";;;;;;;;;;;IACSA,UAAU;eAAVA,sBAAU;;IAAEC,mBAAmB;eAAnBA,+BAAmB;;IAC/BC,aAAa;eAAbA,+BAAa;;IAAEC,SAAS;eAATA,2BAAS;;IAAEC,eAAe;eAAfA,iCAAe;;;4BADF;kCACU"}
1
+ {"version":3,"sources":["../src/components/StyledText/index.tsx"],"sourcesContent":["export type { StyledTextProps, StyledTextSlots } from './StyledText';\nexport { StyledText, styledTextClassName } from './StyledText';\nexport { useSizeStyles, useStyles, useWeightStyles } from './StyledText.styles';\n"],"names":["StyledText","styledTextClassName","useSizeStyles","useStyles","useWeightStyles"],"mappings":";;;;;;;;;;;;eACSA,sBAAU;;;eAAEC,+BAAmB;;;eAC/BC,+BAAa;;;eAAEC,2BAAS;;;eAAEC,iCAAe;;;4BADF,eAAe;kCACL,sBAAsB"}
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/components/Video/Video.tsx"],"sourcesContent":["import { mergeClasses, useMergedRefs } from '@fluentui/react-components';\nimport * as React from 'react';\nimport { useVideoStyles } from './Video.styles';\n\nexport const videoClassName = 'fui-Video';\n\n/**\n * Video component props\n */\nexport interface VideoProps extends React.VideoHTMLAttributes<HTMLVideoElement> {\n /**\n * The source URL of the video\n */\n src: string;\n\n /**\n * Whether the video should start playing automatically\n * @default false\n */\n autoPlay?: boolean;\n\n /**\n * Whether the video should display controls\n * @default true\n */\n controls?: boolean;\n\n /**\n * Whether the video should loop\n */\n loop?: boolean;\n\n /**\n * Whether the video should be muted\n */\n muted?: boolean;\n\n /**\n * The URL of an image to display while the video is loading\n */\n poster?: string;\n}\n\nexport const Video = React.forwardRef<HTMLVideoElement, VideoProps>((props, ref) => {\n 'use no memo';\n\n const { className, muted, ...rest } = props;\n\n const videoRef = React.useRef<HTMLVideoElement>();\n\n const classes = useVideoStyles();\n React.useEffect(() => {\n // this is a workaround for a potential memory leak in Chromium which retains a Detached HTMLVideoElement when <video autoplay> is unmounted\n // https://bugs.chromium.org/p/chromium/issues/detail?id=969049\n return () => {\n if (videoRef?.current) {\n // we want to perform the cleanup on the latest element rendered\n // eslint-disable-next-line react-hooks/exhaustive-deps\n videoRef.current.src = '';\n }\n };\n }, [videoRef]);\n\n React.useEffect(() => {\n // React doesn't guarantee that props will be set:\n // https://github.com/facebook/react/issues/10389\n if (videoRef.current) {\n videoRef.current.muted = !!muted;\n }\n }, [muted]);\n\n return (\n <video\n ref={useMergedRefs(ref, videoRef) as React.Ref<HTMLVideoElement>}\n role=\"application\"\n className={mergeClasses(videoClassName, classes.root, className)}\n controls={true}\n autoPlay={false}\n muted={muted}\n {...rest}\n />\n );\n});\n\nVideo.displayName = 'Video';\n"],"names":["Video","videoClassName","React","forwardRef","props","ref","className","muted","rest","videoRef","useRef","classes","useVideoStyles","useEffect","current","src","createElement","video","useMergedRefs","role","mergeClasses","root","controls","autoPlay","displayName"],"rangeMappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","mappings":";;;;;;;;;;;IA2CaA,KAAAA;eAAAA;;IAvCAC,cAAAA;eAAAA;;;;iCAJ+B;iEACrB;6BACQ;AAExB,MAAMA,iBAAiB;AAuCvB,MAAMD,QAAAA,WAAAA,GAAQE,OAAMC,UAAU,CAA+B,CAACC,OAAOC;IAC1E;IAEA,MAAM,EAAEC,SAAS,EAAEC,KAAK,EAAE,GAAGC,MAAM,GAAGJ;IAEtC,MAAMK,WAAWP,OAAMQ,MAAM;IAE7B,MAAMC,UAAUC,IAAAA,2BAAAA;IAChBV,OAAMW,SAAS,CAAC;QACd,4IAA4I;QAC5I,+DAA+D;QAC/D,OAAO;YACL,IAAIJ,aAAAA,QAAAA,aAAAA,KAAAA,IAAAA,KAAAA,IAAAA,SAAUK,OAAO,EAAE;gBACrB,gEAAgE;gBAChE,uDAAuD;gBACvDL,SAASK,OAAO,CAACC,GAAG,GAAG;YACzB;QACF;IACF,GAAG;QAACN;KAAS;IAEbP,OAAMW,SAAS,CAAC;QACd,kDAAkD;QAClD,iDAAiD;QACjD,IAAIJ,SAASK,OAAO,EAAE;YACpBL,SAASK,OAAO,CAACP,KAAK,GAAG,CAAC,CAACA;QAC7B;IACF,GAAG;QAACA;KAAM;IAEV,OAAA,WAAA,GACEL,OAAAc,aAAA,CAACC,SAAAA;QACCZ,KAAKa,IAAAA,8BAAAA,EAAcb,KAAKI;QACxBU,MAAK;QACLb,WAAWc,IAAAA,6BAAAA,EAAanB,gBAAgBU,QAAQU,IAAI,EAAEf;QACtDgB,UAAU;QACVC,UAAU;QACVhB,OAAOA;QACN,GAAGC,IAAI;;AAGd;AAEAR,MAAMwB,WAAW,GAAG"}
1
+ {"version":3,"sources":["../src/components/Video/Video.tsx"],"sourcesContent":["import { mergeClasses, useMergedRefs } from '@fluentui/react-components';\nimport * as React from 'react';\nimport { useVideoStyles } from './Video.styles';\n\nexport const videoClassName = 'fui-Video';\n\n/**\n * Video component props\n */\nexport interface VideoProps extends React.VideoHTMLAttributes<HTMLVideoElement> {\n /**\n * The source URL of the video\n */\n src: string;\n\n /**\n * Whether the video should start playing automatically\n * @default false\n */\n autoPlay?: boolean;\n\n /**\n * Whether the video should display controls\n * @default true\n */\n controls?: boolean;\n\n /**\n * Whether the video should loop\n */\n loop?: boolean;\n\n /**\n * Whether the video should be muted\n */\n muted?: boolean;\n\n /**\n * The URL of an image to display while the video is loading\n */\n poster?: string;\n}\n\nexport const Video = React.forwardRef<HTMLVideoElement, VideoProps>((props, ref) => {\n 'use no memo';\n\n const { className, muted, ...rest } = props;\n\n const videoRef = React.useRef<HTMLVideoElement>();\n\n const classes = useVideoStyles();\n React.useEffect(() => {\n // this is a workaround for a potential memory leak in Chromium which retains a Detached HTMLVideoElement when <video autoplay> is unmounted\n // https://bugs.chromium.org/p/chromium/issues/detail?id=969049\n return () => {\n if (videoRef?.current) {\n // we want to perform the cleanup on the latest element rendered\n // eslint-disable-next-line react-hooks/exhaustive-deps\n videoRef.current.src = '';\n }\n };\n }, [videoRef]);\n\n React.useEffect(() => {\n // React doesn't guarantee that props will be set:\n // https://github.com/facebook/react/issues/10389\n if (videoRef.current) {\n videoRef.current.muted = !!muted;\n }\n }, [muted]);\n\n return (\n <video\n ref={useMergedRefs(ref, videoRef) as React.Ref<HTMLVideoElement>}\n role=\"application\"\n className={mergeClasses(videoClassName, classes.root, className)}\n controls={true}\n autoPlay={false}\n muted={muted}\n {...rest}\n />\n );\n});\n\nVideo.displayName = 'Video';\n"],"names":["mergeClasses","useMergedRefs","React","useVideoStyles","videoClassName","Video","forwardRef","props","ref","className","muted","rest","videoRef","useRef","classes","useEffect","current","src","video","role","root","controls","autoPlay","displayName"],"mappings":";;;;;;;;;;;IA2CaK,KAAAA;;;kBAvCAD;;;;;iCAJ+B,6BAA6B;iEAClD,QAAQ;6BACA,iBAAiB;AAEzC,MAAMA,iBAAiB,YAAY;AAuCnC,cAAMC,WAAAA,GAAQH,OAAMI,UAAU,CAA+B,CAACC,OAAOC;IAC1E;IAEA,MAAM,EAAEC,SAAS,EAAEC,KAAK,EAAE,GAAGC,MAAM,GAAGJ;IAEtC,MAAMK,WAAWV,OAAMW,MAAM;IAE7B,MAAMC,cAAUX,2BAAAA;IAChBD,OAAMa,SAAS,CAAC;QACd,4IAA4I;QAC5I,+DAA+D;QAC/D,OAAO;YACL,IAAIH,aAAAA,QAAAA,aAAAA,KAAAA,IAAAA,KAAAA,IAAAA,SAAUI,OAAO,EAAE;gBACrB,gEAAgE;gBAChE,uDAAuD;gBACvDJ,SAASI,OAAO,CAACC,GAAG,GAAG;YACzB;QACF;IACF,GAAG;QAACL;KAAS;IAEbV,OAAMa,SAAS,CAAC;QACd,kDAAkD;QAClD,iDAAiD;QACjD,IAAIH,SAASI,OAAO,EAAE;YACpBJ,SAASI,OAAO,CAACN,KAAK,GAAG,CAAC,CAACA;QAC7B;IACF,GAAG;QAACA;KAAM;IAEV,OAAA,WAAA,GACE,OAAA,aAAA,CAACQ,SAAAA;QACCV,KAAKP,kCAAAA,EAAcO,KAAKI;QACxBO,MAAK;QACLV,eAAWT,6BAAAA,EAAaI,gBAAgBU,QAAQM,IAAI,EAAEX;QACtDY,UAAU;QACVC,UAAU;QACVZ,OAAOA;QACN,GAAGC,IAAI;;AAGd,GAAG;AAEHN,MAAMkB,WAAW,GAAG"}
@@ -1 +1 @@
1
- {"version":3,"sources":["Video.styles.js"],"sourcesContent":["import { makeStyles } from '@fluentui/react-components';\nexport const useVideoStyles = makeStyles({\n root: {\n display: 'inline-block',\n verticalAlign: 'middle',\n width: '100%',\n height: 'auto'\n }\n});\n"],"names":["useVideoStyles","__styles","root","mc9l5x","ha4doy","a9b677","Bqenvij","d"],"rangeMappings":";;;;;;;;;;;;;;;;;;;;;;;;;","mappings":";;;;+BACaA;;;eAAAA;;;iCADc;AACpB,MAAMA,iBAAc,WAAA,GAAGC,IAAAA,yBAAA,EAAA;IAAAC,MAAA;QAAAC,QAAA;QAAAC,QAAA;QAAAC,QAAA;QAAAC,SAAA;IAAA;AAAA,GAAA;IAAAC,GAAA;QAAA;QAAA;QAAA;QAAA;KAAA;AAAA"}
1
+ {"version":3,"sources":["Video.styles.js"],"sourcesContent":["import { makeStyles } from '@fluentui/react-components';\nexport const useVideoStyles = makeStyles({\n root: {\n display: 'inline-block',\n verticalAlign: 'middle',\n width: '100%',\n height: 'auto'\n }\n});\n"],"names":["__styles","useVideoStyles","root","mc9l5x","ha4doy","a9b677","Bqenvij","d"],"mappings":";;;;;;;;;;iCAA2B,4BAA4B;AAChD,MAAMC,cAAc,GAAA,WAAA,OAAGD,yBAAA,EAAA;IAAAE,IAAA,EAAA;QAAAC,MAAA,EAAA;QAAAC,MAAA,EAAA;QAAAC,MAAA,EAAA;QAAAC,OAAA,EAAA;IAAA;AAAA,GAAA;IAAAC,CAAA,EAAA;QAAA;QAAA;QAAA;QAAA;KAAA;AAAA,CAO7B,CAAC"}
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", {
3
+ value: true
4
+ });
5
+ Object.defineProperty(exports, "useVideoStyles", {
6
+ enumerable: true,
7
+ get: function() {
8
+ return useVideoStyles;
9
+ }
10
+ });
11
+ const _reactcomponents = require("@fluentui/react-components");
12
+ const useVideoStyles = (0, _reactcomponents.makeStyles)({
13
+ root: {
14
+ display: 'inline-block',
15
+ verticalAlign: 'middle',
16
+ width: '100%',
17
+ height: 'auto'
18
+ }
19
+ });
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/components/Video/Video.styles.ts"],"sourcesContent":["import { makeStyles } from '@fluentui/react-components';\n\nexport const useVideoStyles = makeStyles({\n root: {\n display: 'inline-block',\n verticalAlign: 'middle',\n width: '100%',\n height: 'auto',\n },\n});\n"],"names":["makeStyles","useVideoStyles","root","display","verticalAlign","width","height"],"mappings":";;;;;;;;;;iCAA2B,6BAA6B;AAEjD,MAAMC,qBAAiBD,2BAAAA,EAAW;IACvCE,MAAM;QACJC,SAAS;QACTC,eAAe;QACfC,OAAO;QACPC,QAAQ;IACV;AACF,GAAG"}
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/components/Video/index.ts"],"sourcesContent":["export type { VideoProps } from './Video';\nexport { Video, videoClassName } from './Video';\n"],"names":["Video","videoClassName"],"rangeMappings":";;;;;;;;;;;;;;;;;;","mappings":";;;;;;;;;;;IACSA,KAAK;eAALA,YAAK;;IAAEC,cAAc;eAAdA,qBAAc;;;uBAAQ"}
1
+ {"version":3,"sources":["../src/components/Video/index.ts"],"sourcesContent":["export type { VideoProps } from './Video';\nexport { Video, videoClassName } from './Video';\n"],"names":["Video","videoClassName"],"mappings":";;;;;;;;;;;;eACSA,YAAK;;;eAAEC,qBAAc;;;uBAAQ,UAAU"}
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/index.ts"],"sourcesContent":["export { GridShim, grid, gridClassName, useGridStyles } from './components/Grid/index';\nexport type { GridShimProps } from './components/Grid/index';\nexport { FormFieldShim } from './components/FormField';\nexport { Segment } from './components/Segment';\nexport { slider } from './components/Slider';\nexport { Video, videoClassName } from './components/Video';\nexport { type VideoProps } from './components/Video';\nexport { input } from './components/Input';\nexport { v0Icon, v9CustomSizeIcon, v9DisabledCursor, v9HoverClasses, v9Icon } from './components/Button';\nexport { spinner } from './components/Spinner';\nexport { StyledText, styledTextClassName } from './components/StyledText';\nexport type { StyledTextProps, StyledTextSlots } from './components/StyledText';\nexport { Primitive, primitiveClassName } from './components/Primitive';\nexport { ItemLayout, itemLayoutClassName, useItemLayoutStyles } from './components/ItemLayout';\nexport { Flex, flexClassName, flexItem, useFlexStyles } from './components/Flex';\nexport {\n List,\n ListItem,\n listClassNames,\n listItemClassNames,\n renderListItem_unstable,\n renderList_unstable,\n useListItemStyles_unstable,\n useListItem_unstable,\n useListSelection,\n useListStyles_unstable,\n useList_unstable,\n} from './components/List';\nexport type { ListItemProps, ListItemSlots, ListItemState, ListProps, ListSlots, ListState } from './components/List';\nexport {\n Attachment,\n AttachmentAction,\n AttachmentBody,\n AttachmentDescription,\n AttachmentHeader,\n AttachmentIcon,\n attachmentClassName,\n attachmentActionClassName,\n attachmentBodyClassName,\n attachmentDescriptionClassName,\n attachmentHeaderClassName,\n attachmentIconClassName,\n attachmentProgressBarClassName,\n attachmentProgressContainerClassName,\n} from './components/Attachment';\n\nexport type {\n AttachmentProps,\n AttachmentActionProps,\n AttachmentBodyProps,\n AttachmentDescriptionProps,\n AttachmentHeaderProps,\n AttachmentIconProps,\n} from './components/Attachment';\n"],"names":["Attachment","AttachmentAction","AttachmentBody","AttachmentDescription","AttachmentHeader","AttachmentIcon","Flex","FormFieldShim","GridShim","ItemLayout","List","ListItem","Primitive","Segment","StyledText","Video","attachmentActionClassName","attachmentBodyClassName","attachmentClassName","attachmentDescriptionClassName","attachmentHeaderClassName","attachmentIconClassName","attachmentProgressBarClassName","attachmentProgressContainerClassName","flexClassName","flexItem","grid","gridClassName","input","itemLayoutClassName","listClassNames","listItemClassNames","primitiveClassName","renderListItem_unstable","renderList_unstable","slider","spinner","styledTextClassName","useFlexStyles","useGridStyles","useItemLayoutStyles","useListItemStyles_unstable","useListItem_unstable","useListSelection","useListStyles_unstable","useList_unstable","v0Icon","v9CustomSizeIcon","v9DisabledCursor","v9HoverClasses","v9Icon","videoClassName"],"rangeMappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","mappings":";;;;;;;;;;;IA8BEA,UAAU;eAAVA,sBAAU;;IACVC,gBAAgB;eAAhBA,4BAAgB;;IAChBC,cAAc;eAAdA,0BAAc;;IACdC,qBAAqB;eAArBA,iCAAqB;;IACrBC,gBAAgB;eAAhBA,4BAAgB;;IAChBC,cAAc;eAAdA,0BAAc;;IArBPC,IAAI;eAAJA,UAAI;;IAZJC,aAAa;eAAbA,wBAAa;;IAFbC,QAAQ;eAARA,eAAQ;;IAaRC,UAAU;eAAVA,sBAAU;;IAGjBC,IAAI;eAAJA,UAAI;;IACJC,QAAQ;eAARA,cAAQ;;IALDC,SAAS;eAATA,oBAAS;;IATTC,OAAO;eAAPA,gBAAO;;IAOPC,UAAU;eAAVA,sBAAU;;IALVC,KAAK;eAALA,YAAK;;IAgCZC,yBAAyB;eAAzBA,qCAAyB;;IACzBC,uBAAuB;eA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"sourcesContent":["export { GridShim, grid, gridClassName, useGridStyles } from './components/Grid/index';\nexport type { GridShimProps } from './components/Grid/index';\nexport { FormFieldShim } from './components/FormField';\nexport { Segment } from './components/Segment';\nexport { slider } from './components/Slider';\nexport { Video, videoClassName } from './components/Video';\nexport { type VideoProps } from './components/Video';\nexport { input } from './components/Input';\nexport { v0Icon, v9CustomSizeIcon, v9DisabledCursor, v9HoverClasses, v9Icon } from './components/Button';\nexport { spinner } from './components/Spinner';\nexport { StyledText, styledTextClassName } from './components/StyledText';\nexport type { StyledTextProps, StyledTextSlots } from './components/StyledText';\nexport { Primitive, primitiveClassName } from './components/Primitive';\nexport { ItemLayout, itemLayoutClassName, useItemLayoutStyles } from './components/ItemLayout';\nexport { Flex, flexClassName, flexItem, useFlexStyles } from './components/Flex';\nexport {\n List,\n ListItem,\n listClassNames,\n listItemClassNames,\n renderListItem_unstable,\n renderList_unstable,\n useListItemStyles_unstable,\n useListItem_unstable,\n useListSelection,\n useListStyles_unstable,\n useList_unstable,\n} from './components/List';\nexport type { ListItemProps, ListItemSlots, ListItemState, ListProps, ListSlots, ListState } from './components/List';\nexport {\n Attachment,\n AttachmentAction,\n AttachmentBody,\n AttachmentDescription,\n AttachmentHeader,\n AttachmentIcon,\n attachmentClassName,\n attachmentActionClassName,\n attachmentBodyClassName,\n attachmentDescriptionClassName,\n attachmentHeaderClassName,\n attachmentIconClassName,\n attachmentProgressBarClassName,\n attachmentProgressContainerClassName,\n} from './components/Attachment';\n\nexport type {\n AttachmentProps,\n AttachmentActionProps,\n AttachmentBodyProps,\n AttachmentDescriptionProps,\n AttachmentHeaderProps,\n AttachmentIconProps,\n} from './components/Attachment';\n"],"names":["GridShim","grid","gridClassName","useGridStyles","FormFieldShim","Segment","slider","Video","videoClassName","input","v0Icon","v9CustomSizeIcon","v9DisabledCursor","v9HoverClasses","v9Icon","spinner","StyledText","styledTextClassName","Primitive","primitiveClassName","ItemLayout","itemLayoutClassName","useItemLayoutStyles","Flex","flexClassName","flexItem","useFlexStyles","List","ListItem","listClassNames","listItemClassNames","renderListItem_unstable","renderList_unstable","useListItemStyles_unstable","useListItem_unstable","useListSelection","useListStyles_unstable","useList_unstable","Attachment","AttachmentAction","AttachmentBody","AttachmentDescription","AttachmentHeader","AttachmentIcon","attachmentClassName","attachmentActionClassName","attachmentBodyClassName","attachmentDescriptionClassName","attachmentHeaderClassName","attachmentIconClassName","attachmentProgressBarClassName","attachmentProgressContainerClassName"],"mappings":";;;;;;;;;;;IA8BEsC;qCAAU;;oBACM;eAAhBC;;kBACc;eAAdC;;IACAC,qBAAqB;;;;eACrBC,4BAAgB;;kBACF;eAAdC;;IArBOpB,IAAI;;;IAZJnB;uCAAa;;;eAFbJ,eAAQ;;;eAaRoB,sBAAU;;;eAGjBO,UAAI;;;eACJC,cAAQ;;;eALDV,oBAAS;;;eATTb,gBAAO;;;eAOPW,sBAAU;;;eALVT,YAAK;;;eAgCZsC,qCAAyB;;;eACzBC,mCAAuB;;;eAFvBF,+BAAmB;;;eAGnBG,0CAA8B;;;eAC9BC,qCAAyB;;;eACzBC,mCAAuB;;kCACO;eAA9BC;;IACAC,oCAAoC;;;;eA7BvB3B,mBAAa;;;eAAEC,cAAQ;;;eAdnBxB,WAAI;;;eAAEC,oBAAa;;;eAO7BO,YAAK;;;eAMOY,+BAAmB;;;eAKtCQ,oBAAc;;;eACdC,wBAAkB;;;eAPAX,6BAAkB;;;eAQpCY,6BAAuB;;uBACJ;eAAnBC;;;eAjBO1B,cAAM;;;eAKNS,gBAAO;;;eACKE,+BAAmB;;;eAIAS,mBAAa;;;eAdbvB,oBAAa;;;eAaXmB,+BAAmB;;;eAS3DW,gCAA0B;;;eAC1BC,0BAAoB;;;eACpBC,sBAAgB;;;eAChBC,4BAAsB;;;eACtBC,sBAAgB;;;eAlBT3B,cAAM;;;eAAEC,wBAAgB;;;eAAEC,wBAAgB;;kBAAgB;eAAdC;;;eAAgBC,cAAM;;;eAH3DN,qBAAc;;;uBAL+B,0BAA0B;2BAEzD,yBAAyB;yBAC/B,uBAAuB;wBACxB,sBAAsB;uBACP,qBAAqB;uBAErC,qBAAqB;wBACwC,sBAAsB;yBACjF,uBAAuB;4BACC,0BAA0B;2BAE5B,yBAAyB;4BACF,0BAA0B;sBAClC,oBAAoB;sBAa1E,oBAAoB;4BAiBpB,0BAA0B"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluentui/react-migration-v0-v9",
3
- "version": "9.4.8",
3
+ "version": "9.6.0",
4
4
  "description": "Migration shim components and methods for hybrid v0/v9 applications building on Fluent UI React.",
5
5
  "main": "lib-commonjs/index.js",
6
6
  "module": "lib/index.js",
@@ -20,15 +20,15 @@
20
20
  "@fluentui/scripts-storybook": "*"
21
21
  },
22
22
  "dependencies": {
23
- "@fluentui/react-aria": "^9.15.3",
24
- "@fluentui/react-components": "^9.66.8",
25
- "@fluentui/react-context-selector": "^9.2.2",
23
+ "@fluentui/react-aria": "^9.16.0",
24
+ "@fluentui/react-components": "^9.68.0",
25
+ "@fluentui/react-context-selector": "^9.2.3",
26
26
  "@fluentui/react-icons": "^2.0.245",
27
- "@fluentui/react-jsx-runtime": "^9.1.2",
27
+ "@fluentui/react-jsx-runtime": "^9.1.3",
28
28
  "@fluentui/react-shared-contexts": "^9.24.0",
29
- "@fluentui/react-tabster": "^9.25.3",
29
+ "@fluentui/react-tabster": "^9.26.1",
30
30
  "@fluentui/react-theme": "^9.1.24",
31
- "@fluentui/react-utilities": "^9.22.0",
31
+ "@fluentui/react-utilities": "^9.23.0",
32
32
  "@griffel/react": "^1.5.22",
33
33
  "@swc/helpers": "^0.5.1"
34
34
  },