@fluentui/react-migration-v8-v9 9.6.35 → 9.6.36

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 (62) hide show
  1. package/CHANGELOG.md +12 -2
  2. package/lib/components/Button/ActionButtonShim.js.map +1 -1
  3. package/lib/components/Button/ButtonShim.js.map +1 -1
  4. package/lib/components/Button/CommandButtonShim.js.map +1 -1
  5. package/lib/components/Button/CompoundButtonShim.js.map +1 -1
  6. package/lib/components/Button/DefaultButtonShim.js.map +1 -1
  7. package/lib/components/Button/MenuButtonShim.js.map +1 -1
  8. package/lib/components/Button/PrimaryButtonShim.js.map +1 -1
  9. package/lib/components/Button/ToggleButtonShim.js.map +1 -1
  10. package/lib/components/Button/index.js.map +1 -1
  11. package/lib/components/Button/shimButtonProps.js.map +1 -1
  12. package/lib/components/Checkbox/Checkbox.styles.js +1 -2
  13. package/lib/components/Checkbox/CheckboxShim.js.map +1 -1
  14. package/lib/components/Checkbox/index.js.map +1 -1
  15. package/lib/components/Checkbox/shimCheckboxProps.js.map +1 -1
  16. package/lib/components/Menu/MenuShim.js.map +1 -1
  17. package/lib/components/Menu/index.js.map +1 -1
  18. package/lib/components/Menu/shimMenuProps.js.map +1 -1
  19. package/lib/components/Stack/StackItemShim.js.map +1 -1
  20. package/lib/components/Stack/StackItemShim.styles.js +1 -2
  21. package/lib/components/Stack/StackShim.js.map +1 -1
  22. package/lib/components/Stack/StackShim.styles.js +1 -2
  23. package/lib/components/Stack/index.js.map +1 -1
  24. package/lib/components/Stack/stackUtils.js.map +1 -1
  25. package/lib/components/Theme/index.js.map +1 -1
  26. package/lib/components/Theme/themeDuplicates.js.map +1 -1
  27. package/lib/components/Theme/v8ThemeShim.js.map +1 -1
  28. package/lib/components/Theme/v9BrandVariantsShim.js.map +1 -1
  29. package/lib/components/Theme/v9ThemeShim.js.map +1 -1
  30. package/lib/components/utils.js.map +1 -1
  31. package/lib/index.js.map +1 -1
  32. package/lib-commonjs/components/Button/ActionButtonShim.js.map +1 -1
  33. package/lib-commonjs/components/Button/ButtonShim.js.map +1 -1
  34. package/lib-commonjs/components/Button/CommandButtonShim.js.map +1 -1
  35. package/lib-commonjs/components/Button/CompoundButtonShim.js.map +1 -1
  36. package/lib-commonjs/components/Button/DefaultButtonShim.js.map +1 -1
  37. package/lib-commonjs/components/Button/MenuButtonShim.js.map +1 -1
  38. package/lib-commonjs/components/Button/PrimaryButtonShim.js.map +1 -1
  39. package/lib-commonjs/components/Button/ToggleButtonShim.js.map +1 -1
  40. package/lib-commonjs/components/Button/index.js.map +1 -1
  41. package/lib-commonjs/components/Button/shimButtonProps.js.map +1 -1
  42. package/lib-commonjs/components/Checkbox/Checkbox.styles.js +1 -1
  43. package/lib-commonjs/components/Checkbox/CheckboxShim.js.map +1 -1
  44. package/lib-commonjs/components/Checkbox/index.js.map +1 -1
  45. package/lib-commonjs/components/Checkbox/shimCheckboxProps.js.map +1 -1
  46. package/lib-commonjs/components/Menu/MenuShim.js.map +1 -1
  47. package/lib-commonjs/components/Menu/index.js.map +1 -1
  48. package/lib-commonjs/components/Menu/shimMenuProps.js.map +1 -1
  49. package/lib-commonjs/components/Stack/StackItemShim.js.map +1 -1
  50. package/lib-commonjs/components/Stack/StackItemShim.styles.js +1 -1
  51. package/lib-commonjs/components/Stack/StackShim.js.map +1 -1
  52. package/lib-commonjs/components/Stack/StackShim.styles.js +1 -1
  53. package/lib-commonjs/components/Stack/index.js.map +1 -1
  54. package/lib-commonjs/components/Stack/stackUtils.js.map +1 -1
  55. package/lib-commonjs/components/Theme/index.js.map +1 -1
  56. package/lib-commonjs/components/Theme/themeDuplicates.js.map +1 -1
  57. package/lib-commonjs/components/Theme/v8ThemeShim.js.map +1 -1
  58. package/lib-commonjs/components/Theme/v9BrandVariantsShim.js.map +1 -1
  59. package/lib-commonjs/components/Theme/v9ThemeShim.js.map +1 -1
  60. package/lib-commonjs/components/utils.js.map +1 -1
  61. package/lib-commonjs/index.js.map +1 -1
  62. package/package.json +5 -18
@@ -1 +1 @@
1
- {"version":3,"sources":["PrimaryButtonShim.tsx"],"sourcesContent":["import * as React from 'react';\n\nimport type { IButtonProps } from '@fluentui/react';\nimport { ButtonShim } from './ButtonShim';\n\n/**\n * Shims v8 PrimaryButton to render a v9 Button\n */\nexport const PrimaryButtonShim: React.ForwardRefExoticComponent<IButtonProps & React.RefAttributes<HTMLButtonElement>> =\n React.forwardRef((props, _ref) => {\n return <ButtonShim {...props} primary variantClassName=\"ms-Button--primary\" />;\n });\n"],"names":["PrimaryButtonShim","React","forwardRef","props","_ref","createElement","ButtonShim","primary","variantClassName"],"rangeMappings":";;;;;;;;;;;;;;;;;;;","mappings":";;;;+BAQaA;;;eAAAA;;;;iEARU;4BAGI;AAKpB,MAAMA,oBAAAA,WAAAA,GACXC,OAAMC,UAAU,CAAC,CAACC,OAAOC;IACvB,OAAA,WAAA,GAAOH,OAAAI,aAAA,CAACC,sBAAAA,EAAAA;QAAY,GAAGH,KAAK;QAAEI,SAAAA;QAAQC,kBAAiB;;AACzD"}
1
+ {"version":3,"sources":["../src/components/Button/PrimaryButtonShim.tsx"],"sourcesContent":["import * as React from 'react';\n\nimport type { IButtonProps } from '@fluentui/react';\nimport { ButtonShim } from './ButtonShim';\n\n/**\n * Shims v8 PrimaryButton to render a v9 Button\n */\nexport const PrimaryButtonShim: React.ForwardRefExoticComponent<IButtonProps & React.RefAttributes<HTMLButtonElement>> =\n React.forwardRef((props, _ref) => {\n return <ButtonShim {...props} primary variantClassName=\"ms-Button--primary\" />;\n });\n"],"names":["PrimaryButtonShim","React","forwardRef","props","_ref","createElement","ButtonShim","primary","variantClassName"],"rangeMappings":";;;;;;;;;;;;;;;;;;;","mappings":";;;;+BAQaA;;;eAAAA;;;;iEARU;4BAGI;AAKpB,MAAMA,oBAAAA,WAAAA,GACXC,OAAMC,UAAU,CAAC,CAACC,OAAOC;IACvB,OAAA,WAAA,GAAOH,OAAAI,aAAA,CAACC,sBAAAA,EAAAA;QAAY,GAAGH,KAAK;QAAEI,SAAAA;QAAQC,kBAAiB;;AACzD"}
@@ -1 +1 @@
1
- {"version":3,"sources":["ToggleButtonShim.tsx"],"sourcesContent":["import * as React from 'react';\n\nimport type { IButtonProps } from '@fluentui/react';\n\nimport { ToggleButton } from '@fluentui/react-components';\nimport type { ToggleButtonProps } from '@fluentui/react-components';\n\nimport { shimButtonProps } from './shimButtonProps';\n\n/**\n * Shims v8 ToggleButton to render a v9 ToggleButton\n */\nexport const ToggleButtonShim: React.ForwardRefExoticComponent<IButtonProps & React.RefAttributes<HTMLButtonElement>> =\n React.forwardRef((props, _ref) => {\n const variantProps = {\n ...props,\n variantClassName: props.primary ? 'ms-Button--compoundPrimary' : 'ms-Button--compound',\n };\n\n const shimProps: ToggleButtonProps = {\n ...shimButtonProps(variantProps),\n checked: props.checked,\n defaultChecked: props.defaultChecked,\n };\n\n return <ToggleButton {...(props as React.RefAttributes<HTMLButtonElement>)} {...shimProps} />;\n });\n"],"names":["ToggleButtonShim","React","forwardRef","props","_ref","variantProps","variantClassName","primary","shimProps","shimButtonProps","checked","defaultChecked","createElement","ToggleButton"],"rangeMappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;","mappings":";;;;+BAYaA;;;eAAAA;;;;iEAZU;iCAIM;iCAGG;AAKzB,MAAMA,mBAAAA,WAAAA,GACXC,OAAMC,UAAU,CAAC,CAACC,OAAOC;IACvB,MAAMC,eAAe;QACnB,GAAGF,KAAK;QACRG,kBAAkBH,MAAMI,OAAO,GAAG,+BAA+B;IACnE;IAEA,MAAMC,YAA+B;QACnC,GAAGC,IAAAA,gCAAAA,EAAgBJ,aAAa;QAChCK,SAASP,MAAMO,OAAO;QACtBC,gBAAgBR,MAAMQ,cAAc;IACtC;IAEA,OAAA,WAAA,GAAOV,OAAAW,aAAA,CAACC,6BAAAA,EAAAA;QAAc,GAAIV,KAAK;QAA8C,GAAGK,SAAS;;AAC3F"}
1
+ {"version":3,"sources":["../src/components/Button/ToggleButtonShim.tsx"],"sourcesContent":["import * as React from 'react';\n\nimport type { IButtonProps } from '@fluentui/react';\n\nimport { ToggleButton } from '@fluentui/react-components';\nimport type { ToggleButtonProps } from '@fluentui/react-components';\n\nimport { shimButtonProps } from './shimButtonProps';\n\n/**\n * Shims v8 ToggleButton to render a v9 ToggleButton\n */\nexport const ToggleButtonShim: React.ForwardRefExoticComponent<IButtonProps & React.RefAttributes<HTMLButtonElement>> =\n React.forwardRef((props, _ref) => {\n const variantProps = {\n ...props,\n variantClassName: props.primary ? 'ms-Button--compoundPrimary' : 'ms-Button--compound',\n };\n\n const shimProps: ToggleButtonProps = {\n ...shimButtonProps(variantProps),\n checked: props.checked,\n defaultChecked: props.defaultChecked,\n };\n\n return <ToggleButton {...(props as React.RefAttributes<HTMLButtonElement>)} {...shimProps} />;\n });\n"],"names":["ToggleButtonShim","React","forwardRef","props","_ref","variantProps","variantClassName","primary","shimProps","shimButtonProps","checked","defaultChecked","createElement","ToggleButton"],"rangeMappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;","mappings":";;;;+BAYaA;;;eAAAA;;;;iEAZU;iCAIM;iCAGG;AAKzB,MAAMA,mBAAAA,WAAAA,GACXC,OAAMC,UAAU,CAAC,CAACC,OAAOC;IACvB,MAAMC,eAAe;QACnB,GAAGF,KAAK;QACRG,kBAAkBH,MAAMI,OAAO,GAAG,+BAA+B;IACnE;IAEA,MAAMC,YAA+B;QACnC,GAAGC,IAAAA,gCAAAA,EAAgBJ,aAAa;QAChCK,SAASP,MAAMO,OAAO;QACtBC,gBAAgBR,MAAMQ,cAAc;IACtC;IAEA,OAAA,WAAA,GAAOV,OAAAW,aAAA,CAACC,6BAAAA,EAAAA;QAAc,GAAIV,KAAK;QAA8C,GAAGK,SAAS;;AAC3F"}
@@ -1 +1 @@
1
- {"version":3,"sources":["index.ts"],"sourcesContent":["export * from './ActionButtonShim';\nexport * from './ButtonShim';\nexport * from './CommandButtonShim';\nexport * from './CompoundButtonShim';\nexport * from './DefaultButtonShim';\nexport * from './MenuButtonShim';\nexport * from './PrimaryButtonShim';\nexport * from './shimButtonProps';\nexport * from './ToggleButtonShim';\n"],"names":[],"rangeMappings":";;;;;;;;;;;;;","mappings":";;;;;uBAAc;uBACA;uBACA;uBACA;uBACA;uBACA;uBACA;uBACA;uBACA"}
1
+ {"version":3,"sources":["../src/components/Button/index.ts"],"sourcesContent":["export * from './ActionButtonShim';\nexport * from './ButtonShim';\nexport * from './CommandButtonShim';\nexport * from './CompoundButtonShim';\nexport * from './DefaultButtonShim';\nexport * from './MenuButtonShim';\nexport * from './PrimaryButtonShim';\nexport * from './shimButtonProps';\nexport * from './ToggleButtonShim';\n"],"names":[],"rangeMappings":";;;;;;;;;;;;;","mappings":";;;;;uBAAc;uBACA;uBACA;uBACA;uBACA;uBACA;uBACA;uBACA;uBACA"}
@@ -1 +1 @@
1
- {"version":3,"sources":["shimButtonProps.tsx"],"sourcesContent":["import * as React from 'react';\n\nimport { Icon } from '@fluentui/react';\nimport type { IBaseButtonProps } from '@fluentui/react';\n\nimport type { ButtonProps } from '@fluentui/react-components';\n\nexport const shimButtonProps = (props: IBaseButtonProps & React.RefAttributes<HTMLButtonElement>): ButtonProps => {\n //TODO: Icon shim. This still renders the v8 icon.\n const icon = props.onRenderIcon ? (\n props.onRenderIcon(props)\n ) : props.iconProps ? (\n <Icon {...props.iconProps} />\n ) : undefined;\n\n const variantClassName = props.variantClassName ?? props.primary ? 'ms-Button--primary' : 'ms-Button--default';\n const className = [props.baseClassName, variantClassName, props.className].filter(Boolean).join(' ');\n\n return {\n // spread incoming props to propagate HTML properties not part of IBaseButtonProps\n ...props,\n appearance: props.primary ? 'primary' : undefined,\n className,\n disabled: props.disabled,\n disabledFocusable: props.allowDisabledFocus,\n 'aria-hidden': props.ariaHidden,\n 'aria-label': props.ariaLabel,\n icon,\n key: props.key || props.uniqueId,\n children: props.onRenderChildren\n ? props.onRenderChildren(props)\n : props.onRenderText\n ? props.onRenderText(props)\n : props.text || props.children,\n } as ButtonProps;\n};\n"],"names":["shimButtonProps","props","icon","onRenderIcon","iconProps","React","createElement","Icon","undefined","variantClassName","primary","className","baseClassName","filter","Boolean","join","appearance","disabled","disabledFocusable","allowDisabledFocus","ariaHidden","ariaLabel","key","uniqueId","children","onRenderChildren","onRenderText","text"],"rangeMappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","mappings":";;;;+BAOaA;;;eAAAA;;;;iEAPU;wBAEF;AAKd,MAAMA,kBAAkB,CAACC;IAC9B,kDAAkD;IAClD,MAAMC,OAAOD,MAAME,YAAY,GAC7BF,MAAME,YAAY,CAACF,SACjBA,MAAMG,SAAS,GAAA,WAAA,GACjBC,OAAAC,aAAA,CAACC,YAAAA,EAASN,MAAMG,SAAS,IACvBI;QAEqBP;IAAzB,MAAMQ,mBAAmBR,CAAAA,CAAAA,0BAAAA,MAAMQ,gBAAgB,AAAhBA,MAAgB,QAAtBR,4BAAAA,KAAAA,IAAAA,0BAA0BA,MAAMS,OAAO,AAAPA,IAAU,uBAAuB;IAC1F,MAAMC,YAAY;QAACV,MAAMW,aAAa;QAAEH;QAAkBR,MAAMU,SAAS;KAAC,CAACE,MAAM,CAACC,SAASC,IAAI,CAAC;IAEhG,OAAO;QACL,kFAAkF;QAClF,GAAGd,KAAK;QACRe,YAAYf,MAAMS,OAAO,GAAG,YAAYF;QACxCG;QACAM,UAAUhB,MAAMgB,QAAQ;QACxBC,mBAAmBjB,MAAMkB,kBAAkB;QAC3C,eAAelB,MAAMmB,UAAU;QAC/B,cAAcnB,MAAMoB,SAAS;QAC7BnB;QACAoB,KAAKrB,MAAMqB,GAAG,IAAIrB,MAAMsB,QAAQ;QAChCC,UAAUvB,MAAMwB,gBAAgB,GAC5BxB,MAAMwB,gBAAgB,CAACxB,SACvBA,MAAMyB,YAAY,GAClBzB,MAAMyB,YAAY,CAACzB,SACnBA,MAAM0B,IAAI,IAAI1B,MAAMuB,QAAQ;IAClC;AACF"}
1
+ {"version":3,"sources":["../src/components/Button/shimButtonProps.tsx"],"sourcesContent":["import * as React from 'react';\n\nimport { Icon } from '@fluentui/react';\nimport type { IBaseButtonProps } from '@fluentui/react';\n\nimport type { ButtonProps } from '@fluentui/react-components';\n\nexport const shimButtonProps = (props: IBaseButtonProps & React.RefAttributes<HTMLButtonElement>): ButtonProps => {\n //TODO: Icon shim. This still renders the v8 icon.\n const icon = props.onRenderIcon ? (\n props.onRenderIcon(props)\n ) : props.iconProps ? (\n <Icon {...props.iconProps} />\n ) : undefined;\n\n const variantClassName = props.variantClassName ?? props.primary ? 'ms-Button--primary' : 'ms-Button--default';\n const className = [props.baseClassName, variantClassName, props.className].filter(Boolean).join(' ');\n\n return {\n // spread incoming props to propagate HTML properties not part of IBaseButtonProps\n ...props,\n appearance: props.primary ? 'primary' : undefined,\n className,\n disabled: props.disabled,\n disabledFocusable: props.allowDisabledFocus,\n 'aria-hidden': props.ariaHidden,\n 'aria-label': props.ariaLabel,\n icon,\n key: props.key || props.uniqueId,\n children: props.onRenderChildren\n ? props.onRenderChildren(props)\n : props.onRenderText\n ? props.onRenderText(props)\n : props.text || props.children,\n } as ButtonProps;\n};\n"],"names":["shimButtonProps","props","icon","onRenderIcon","iconProps","React","createElement","Icon","undefined","variantClassName","primary","className","baseClassName","filter","Boolean","join","appearance","disabled","disabledFocusable","allowDisabledFocus","ariaHidden","ariaLabel","key","uniqueId","children","onRenderChildren","onRenderText","text"],"rangeMappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","mappings":";;;;+BAOaA;;;eAAAA;;;;iEAPU;wBAEF;AAKd,MAAMA,kBAAkB,CAACC;IAC9B,kDAAkD;IAClD,MAAMC,OAAOD,MAAME,YAAY,GAC7BF,MAAME,YAAY,CAACF,SACjBA,MAAMG,SAAS,GAAA,WAAA,GACjBC,OAAAC,aAAA,CAACC,YAAAA,EAASN,MAAMG,SAAS,IACvBI;QAEqBP;IAAzB,MAAMQ,mBAAmBR,CAAAA,CAAAA,0BAAAA,MAAMQ,gBAAgB,AAAhBA,MAAgB,QAAtBR,4BAAAA,KAAAA,IAAAA,0BAA0BA,MAAMS,OAAO,AAAPA,IAAU,uBAAuB;IAC1F,MAAMC,YAAY;QAACV,MAAMW,aAAa;QAAEH;QAAkBR,MAAMU,SAAS;KAAC,CAACE,MAAM,CAACC,SAASC,IAAI,CAAC;IAEhG,OAAO;QACL,kFAAkF;QAClF,GAAGd,KAAK;QACRe,YAAYf,MAAMS,OAAO,GAAG,YAAYF;QACxCG;QACAM,UAAUhB,MAAMgB,QAAQ;QACxBC,mBAAmBjB,MAAMkB,kBAAkB;QAC3C,eAAelB,MAAMmB,UAAU;QAC/B,cAAcnB,MAAMoB,SAAS;QAC7BnB;QACAoB,KAAKrB,MAAMqB,GAAG,IAAIrB,MAAMsB,QAAQ;QAChCC,UAAUvB,MAAMwB,gBAAgB,GAC5BxB,MAAMwB,gBAAgB,CAACxB,SACvBA,MAAMyB,YAAY,GAClBzB,MAAMyB,YAAY,CAACzB,SACnBA,MAAM0B,IAAI,IAAI1B,MAAMuB,QAAQ;IAClC;AACF"}
@@ -17,4 +17,4 @@ const useCheckboxStyles = /*#__PURE__*/ (0, _reactcomponents.__styles)({
17
17
  d: [
18
18
  ".f22iagw{display:flex;}"
19
19
  ]
20
- }); //# sourceMappingURL=Checkbox.styles.js.map
20
+ });
@@ -1 +1 @@
1
- {"version":3,"sources":["CheckboxShim.tsx"],"sourcesContent":["import * as React from 'react';\n\nimport { classNamesFunction, ICheckboxProps, ICheckboxStyles, ICheckboxStyleProps } from '@fluentui/react';\nimport { Checkbox, mergeClasses } from '@fluentui/react-components';\nimport { useCheckboxProps } from './shimCheckboxProps';\nimport { useCheckboxStyles } from './Checkbox.styles';\n\nconst getClassNames = classNamesFunction<ICheckboxStyleProps, ICheckboxStyles>({\n useStaticStyles: false,\n});\n\nexport const CheckboxShim = React.forwardRef((props: ICheckboxProps, _ref: React.ForwardedRef<HTMLInputElement>) => {\n 'use no memo';\n\n const { className, styles: stylesV8, onRenderLabel, label, componentRef } = props;\n const shimProps = useCheckboxProps(props);\n const styles = getClassNames(stylesV8);\n const stylesV9 = useCheckboxStyles();\n const checkboxRef = (_ref as React.RefObject<HTMLInputElement>) || React.createRef<HTMLInputElement>();\n\n React.useImperativeHandle(componentRef, () => ({\n checked: checkboxRef.current?.checked ?? false,\n indeterminate: checkboxRef.current?.indeterminate ?? false,\n focus: () => checkboxRef.current?.focus(),\n }));\n\n const defaultLabelRenderer = (checkboxProps?: ICheckboxProps): JSX.Element | null => {\n if (!checkboxProps) {\n return null;\n }\n const { label: defaultLabel, title } = checkboxProps;\n return defaultLabel ? (\n <span title={title} className={styles.text}>\n {defaultLabel}\n </span>\n ) : null;\n };\n\n if (label || onRenderLabel) {\n shimProps.label = {\n className: mergeClasses('ms-Checkbox-text', styles.label, styles.text),\n children: onRenderLabel ? onRenderLabel(props, defaultLabelRenderer) : label,\n };\n }\n\n return (\n <Checkbox\n {...shimProps}\n ref={checkboxRef}\n className={mergeClasses(stylesV9.root, 'ms-Checkbox', className, styles.root)}\n indicator={{ className: mergeClasses('ms-Checkbox-checkbox', styles.checkbox) }}\n />\n );\n});\n\nCheckboxShim.displayName = 'CheckboxShim';\n"],"names":["CheckboxShim","getClassNames","classNamesFunction","useStaticStyles","React","forwardRef","props","_ref","className","styles","stylesV8","onRenderLabel","label","componentRef","shimProps","useCheckboxProps","stylesV9","useCheckboxStyles","checkboxRef","createRef","useImperativeHandle","checked","current","indeterminate","focus","defaultLabelRenderer","checkboxProps","defaultLabel","title","createElement","span","text","mergeClasses","children","Checkbox","ref","root","indicator","checkbox","displayName"],"rangeMappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","mappings":";;;;+BAWaA;;;eAAAA;;;;iEAXU;wBAEkE;iCAClD;mCACN;gCACC;AAElC,MAAMC,gBAAgBC,IAAAA,0BAAAA,EAAyD;IAC7EC,iBAAiB;AACnB;AAEO,MAAMH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AChBJ,WAAWwB,IAAAA,6BAAAA,EAAa,oBAAoBvB,OAAOG,KAAK,EAAEH,OAAOsB,IAAI;YACrEE,UAAUtB,gBAAgBA,cAAcL,OAAOmB,wBAAwBb;QACzE;IACF;IAEA,OAAA,WAAA,GACER,OAAAyB,aAAA,CAACK,yBAAAA,EAAAA;QACE,GAAGpB,SAAS;QACbqB,KAAKjB;QACLV,WAAWwB,IAAAA,6BAAAA,EAAahB,SAASoB,IAAI,EAAE,eAAe5B,WAAWC,OAAO2B,IAAI;QAC5EC,WAAW;YAAE7B,WAAWwB,IAAAA,6BAAAA,EAAa,wBAAwBvB,OAAO6B,QAAQ;QAAE;;AAGpF;AAEAtC,aAAauC,WAAW,GAAG"}
1
+ {"version":3,"sources":["../src/components/Checkbox/CheckboxShim.tsx"],"sourcesContent":["import * as React from 'react';\n\nimport { classNamesFunction, ICheckboxProps, ICheckboxStyles, ICheckboxStyleProps } from '@fluentui/react';\nimport { Checkbox, mergeClasses } from '@fluentui/react-components';\nimport { useCheckboxProps } from './shimCheckboxProps';\nimport { useCheckboxStyles } from './Checkbox.styles';\n\nconst getClassNames = classNamesFunction<ICheckboxStyleProps, ICheckboxStyles>({\n useStaticStyles: false,\n});\n\nexport const CheckboxShim = React.forwardRef((props: ICheckboxProps, _ref: React.ForwardedRef<HTMLInputElement>) => {\n 'use no memo';\n\n const { className, styles: stylesV8, onRenderLabel, label, componentRef } = props;\n const shimProps = useCheckboxProps(props);\n const styles = getClassNames(stylesV8);\n const stylesV9 = useCheckboxStyles();\n const checkboxRef = (_ref as React.RefObject<HTMLInputElement>) || React.createRef<HTMLInputElement>();\n\n React.useImperativeHandle(componentRef, () => ({\n checked: checkboxRef.current?.checked ?? false,\n indeterminate: checkboxRef.current?.indeterminate ?? false,\n focus: () => checkboxRef.current?.focus(),\n }));\n\n const defaultLabelRenderer = (checkboxProps?: ICheckboxProps): JSX.Element | null => {\n if (!checkboxProps) {\n return null;\n }\n const { label: defaultLabel, title } = checkboxProps;\n return defaultLabel ? (\n <span title={title} className={styles.text}>\n {defaultLabel}\n </span>\n ) : null;\n };\n\n if (label || onRenderLabel) {\n shimProps.label = {\n className: mergeClasses('ms-Checkbox-text', styles.label, styles.text),\n children: onRenderLabel ? onRenderLabel(props, defaultLabelRenderer) : label,\n };\n }\n\n return (\n <Checkbox\n {...shimProps}\n ref={checkboxRef}\n className={mergeClasses(stylesV9.root, 'ms-Checkbox', className, styles.root)}\n indicator={{ className: mergeClasses('ms-Checkbox-checkbox', styles.checkbox) }}\n />\n );\n});\n\nCheckboxShim.displayName = 'CheckboxShim';\n"],"names":["CheckboxShim","getClassNames","classNamesFunction","useStaticStyles","React","forwardRef","props","_ref","className","styles","stylesV8","onRenderLabel","label","componentRef","shimProps","useCheckboxProps","stylesV9","useCheckboxStyles","checkboxRef","createRef","useImperativeHandle","checked","current","indeterminate","focus","defaultLabelRenderer","checkboxProps","defaultLabel","title","createElement","span","text","mergeClasses","children","Checkbox","ref","root","indicator","checkbox","displayName"],"rangeMappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","mappings":";;;;+BAWaA;;;eAAAA;;;;iEAXU;wBAEkE;iCAClD;mCACN;gCACC;AAElC,MAAMC,gBAAgBC,IAAAA,0BAAAA,EAAyD;IAC7EC,iBAAiB;AACnB;AAEO,MAAMH,eAAAA,WAAAA,GAAeI,OAAMC,UAAU,CAAC,CAACC,OAAuBC;IACnE;IAEA,MAAM,EAAEC,SAAS,EAAEC,QAAQC,QAAQ,EAAEC,aAAa,EAAEC,KAAK,EAAEC,YAAY,EAAE,GAAGP;IAC5E,MAAMQ,YAAYC,IAAAA,mCAAAA,EAAiBT;IACnC,MAAMG,SAASR,cAAcS;IAC7B,MAAMM,WAAWC,IAAAA,iCAAAA;IACjB,MAAMC,cAAcX,QAACA,WAAAA,GAA8CH,OAAMe,SAAS;IAElFf,OAAMgB,mBAAmB,CAACP,cAAc;YAC7BK,sBACMA;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AAwBvB,OAAO6B,QAAQ;QAAE;;AAGpF;AAEAtC,aAAauC,WAAW,GAAG"}
@@ -1 +1 @@
1
- {"version":3,"sources":["index.ts"],"sourcesContent":["export * from './CheckboxShim';\n"],"names":[],"rangeMappings":";;;;;","mappings":";;;;;uBAAc"}
1
+ {"version":3,"sources":["../src/components/Checkbox/index.ts"],"sourcesContent":["export * from './CheckboxShim';\n"],"names":[],"rangeMappings":";;;;;","mappings":";;;;;uBAAc"}
@@ -1 +1 @@
1
- {"version":3,"sources":["shimCheckboxProps.ts"],"sourcesContent":["import * as React from 'react';\n\nimport { ICheckboxProps } from '@fluentui/react';\nimport { CheckboxProps, CheckboxOnChangeData } from '@fluentui/react-components';\nimport { useControllableValue } from '@fluentui/react-hooks';\nimport { getHTMLAttributes } from '../utils';\n\n// https://react.fluentui.dev/?path=/docs/concepts-migration-from-v8-components-checkbox-migration--page [Link of the fluent v9 migration guide]\n// https://github.com/microsoft/fluentui/blob/master/packages/react/src/components/Checkbox/Checkbox.types.ts [Link of the fluent v8 checkbox types definition]\n// https://github.com/microsoft/fluentui/blob/103b8977f8d5f8dd8c430bab46ff5308a2c76371/packages/react-components/react-checkbox/src/components/Checkbox/Checkbox.types.ts [Link of the fluent v9 checkbox types definition]\n\nconst CHECKBOX_PROPS_V8: Set<string> = new Set([\n 'ariaDescribedBy',\n 'ariaLabel',\n 'ariaLabelledBy',\n 'ariaPositionInSet',\n 'ariaSetSize',\n 'boxSide',\n 'checked',\n 'checkmarkIconProps', // one case used this\n 'className',\n 'componentRef',\n 'defaultChecked',\n 'defaultIndeterminate',\n 'disabled',\n 'indeterminate',\n 'inputProps',\n 'label',\n 'name',\n 'onChange',\n 'onRenderLabel',\n 'required',\n 'styles',\n 'theme',\n 'title',\n]);\n\nexport const useCheckboxProps = (props: ICheckboxProps): CheckboxProps => {\n const {\n ariaDescribedBy,\n ariaLabel,\n ariaLabelledBy,\n ariaPositionInSet,\n ariaSetSize,\n boxSide,\n checked: checkedV8,\n indeterminate,\n defaultChecked,\n defaultIndeterminate,\n disabled,\n inputProps,\n name,\n required,\n title,\n onChange: onChangeV8,\n } = props;\n\n const [checked, setChecked] = useControllableValue(checkedV8, defaultChecked);\n const [mixed, setMixed] = React.useState(indeterminate || defaultIndeterminate);\n\n const onChange = React.useCallback(\n (event: React.ChangeEvent<HTMLElement>, data: CheckboxOnChangeData): void => {\n let val: boolean | undefined = checked !== undefined ? (data.checked as boolean) : undefined;\n // Ensure the checkbox is controlled\n if (checked !== undefined) {\n if (mixed) {\n val = checkedV8 !== undefined ? checkedV8 : defaultChecked !== undefined ? defaultChecked : val;\n }\n }\n\n if (mixed) {\n setMixed(mixed && !indeterminate ? false : mixed);\n }\n\n setChecked(val);\n onChangeV8?.(event, data.checked as boolean);\n },\n [setChecked, checked, onChangeV8, mixed, indeterminate, checkedV8, defaultChecked],\n );\n\n const v9Props: Partial<CheckboxProps> = {\n checked: mixed ? 'mixed' : checked,\n defaultChecked: mixed ? 'mixed' : defaultChecked,\n labelPosition: boxSide === 'end' ? 'before' : 'after',\n disabled,\n required,\n title,\n name,\n onChange,\n };\n\n return {\n ...inputProps, // This inputProps is specific for the input element, and the html attributes are also used here instead of props.\n 'aria-describedby': ariaDescribedBy,\n 'aria-label': ariaLabel,\n 'aria-labelledby': ariaLabelledBy,\n 'aria-posinset': ariaPositionInSet,\n 'aria-setsize': ariaSetSize,\n ...v9Props,\n ...getHTMLAttributes(props, CHECKBOX_PROPS_V8),\n } as CheckboxProps;\n};\n"],"names":["useCheckboxProps","CHECKBOX_PROPS_V8","Set","props","ariaDescribedBy","ariaLabel","ariaLabelledBy","ariaPositionInSet","ariaSetSize","boxSide","checked","checkedV8","indeterminate","defaultChecked","defaultIndeterminate","disabled","inputProps","name","required","title","onChange","onChangeV8","setChecked","useControllableValue","mixed","setMixed","React","useState","useCallback","event","data","val","undefined","v9Props","labelPosition","getHTMLAttributes"],"rangeMappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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B,UAAkC;QACtCvB,SAASc,QAAQ,UAAUd;QAC3BG,gBAAgBW,QAAQ,UAAUX;QAClCqB,eAAezB,YAAY,QAAQ,WAAW;QAC9CM;QACAG;QACAC;QACAF;QACAG;IACF;IAEA,OAAO;QACL,GAAGJ,UAAU;QACb,oBAAoBZ;QACpB,cAAcC;QACd,mBAAmBC;QACnB,iBAAiBC;QACjB,gBAAgBC;QAChB,GAAGyB,OAAO;QACV,GAAGE,IAAAA,wBAAAA,EAAkBhC,OAAOF,kBAAkB;IAChD;AACF"}
1
+ {"version":3,"sources":["../src/components/Checkbox/shimCheckboxProps.ts"],"sourcesContent":["import * as React from 'react';\n\nimport { ICheckboxProps } from '@fluentui/react';\nimport { CheckboxProps, CheckboxOnChangeData } from '@fluentui/react-components';\nimport { useControllableValue } from '@fluentui/react-hooks';\nimport { getHTMLAttributes } from '../utils';\n\n// https://react.fluentui.dev/?path=/docs/concepts-migration-from-v8-components-checkbox-migration--page [Link of the fluent v9 migration guide]\n// https://github.com/microsoft/fluentui/blob/master/packages/react/src/components/Checkbox/Checkbox.types.ts [Link of the fluent v8 checkbox types definition]\n// https://github.com/microsoft/fluentui/blob/103b8977f8d5f8dd8c430bab46ff5308a2c76371/packages/react-components/react-checkbox/src/components/Checkbox/Checkbox.types.ts [Link of the fluent v9 checkbox types definition]\n\nconst CHECKBOX_PROPS_V8: Set<string> = new Set([\n 'ariaDescribedBy',\n 'ariaLabel',\n 'ariaLabelledBy',\n 'ariaPositionInSet',\n 'ariaSetSize',\n 'boxSide',\n 'checked',\n 'checkmarkIconProps', // one case used this\n 'className',\n 'componentRef',\n 'defaultChecked',\n 'defaultIndeterminate',\n 'disabled',\n 'indeterminate',\n 'inputProps',\n 'label',\n 'name',\n 'onChange',\n 'onRenderLabel',\n 'required',\n 'styles',\n 'theme',\n 'title',\n]);\n\nexport const useCheckboxProps = (props: ICheckboxProps): CheckboxProps => {\n const {\n ariaDescribedBy,\n ariaLabel,\n ariaLabelledBy,\n ariaPositionInSet,\n ariaSetSize,\n boxSide,\n checked: checkedV8,\n indeterminate,\n defaultChecked,\n defaultIndeterminate,\n disabled,\n inputProps,\n name,\n required,\n title,\n onChange: onChangeV8,\n } = props;\n\n const [checked, setChecked] = useControllableValue(checkedV8, defaultChecked);\n const [mixed, setMixed] = React.useState(indeterminate || defaultIndeterminate);\n\n const onChange = React.useCallback(\n (event: React.ChangeEvent<HTMLElement>, data: CheckboxOnChangeData): void => {\n let val: boolean | undefined = checked !== undefined ? (data.checked as boolean) : undefined;\n // Ensure the checkbox is controlled\n if (checked !== undefined) {\n if (mixed) {\n val = checkedV8 !== undefined ? checkedV8 : defaultChecked !== undefined ? defaultChecked : val;\n }\n }\n\n if (mixed) {\n setMixed(mixed && !indeterminate ? false : mixed);\n }\n\n setChecked(val);\n onChangeV8?.(event, data.checked as boolean);\n },\n [setChecked, checked, onChangeV8, mixed, indeterminate, checkedV8, defaultChecked],\n );\n\n const v9Props: Partial<CheckboxProps> = {\n checked: mixed ? 'mixed' : checked,\n defaultChecked: mixed ? 'mixed' : defaultChecked,\n labelPosition: boxSide === 'end' ? 'before' : 'after',\n disabled,\n required,\n title,\n name,\n onChange,\n };\n\n return {\n ...inputProps, // This inputProps is specific for the input element, and the html attributes are also used here instead of props.\n 'aria-describedby': ariaDescribedBy,\n 'aria-label': ariaLabel,\n 'aria-labelledby': ariaLabelledBy,\n 'aria-posinset': ariaPositionInSet,\n 'aria-setsize': ariaSetSize,\n ...v9Props,\n ...getHTMLAttributes(props, CHECKBOX_PROPS_V8),\n } as CheckboxProps;\n};\n"],"names":["useCheckboxProps","CHECKBOX_PROPS_V8","Set","props","ariaDescribedBy","ariaLabel","ariaLabelledBy","ariaPositionInSet","ariaSetSize","boxSide","checked","checkedV8","indeterminate","defaultChecked","defaultIndeterminate","disabled","inputProps","name","required","title","onChange","onChangeV8","setChecked","useControllableValue","mixed","setMixed","React","useState","useCallback","event","data","val","undefined","v9Props","labelPosition","getHTMLAttributes"],"rangeMappings":";;;;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;QAAOZ;QAAeD;QAAWE;KAAe;IAGpF,MAAMoB,UAAkC;QACtCvB,SAASc,QAAQ,UAAUd;QAC3BG,gBAAgBW,QAAQ,UAAUX;QAClCqB,eAAezB,YAAY,QAAQ,WAAW;QAC9CM;QACAG;QACAC;QACAF;QACAG;IACF;IAEA,OAAO;QACL,GAAGJ,UAAU;QACb,oBAAoBZ;QACpB,cAAcC;QACd,mBAAmBC;QACnB,iBAAiBC;QACjB,gBAAgBC;QAChB,GAAGyB,OAAO;QACV,GAAGE,IAAAA,wBAAAA,EAAkBhC,OAAOF,kBAAkB;IAChD;AACF"}
@@ -1 +1 @@
1
- {"version":3,"sources":["MenuShim.tsx"],"sourcesContent":["import * as React from 'react';\n\nimport { ContextualMenuItemType } from '@fluentui/react';\nimport type { IContextualMenuItem } from '@fluentui/react';\nimport {\n MenuItem,\n MenuDivider,\n MenuGroup,\n MenuGroupHeader,\n MenuTrigger,\n Menu,\n MenuList,\n MenuPopover,\n MenuItemCheckbox,\n MenuDividerProps,\n} from '@fluentui/react-components';\n\nimport { shimMenuHeaderProps, shimMenuItemCheckboxProps, shimMenuItemProps, shimMenuProps } from './shimMenuProps';\n\nexport const MenuItemShim = (props: IContextualMenuItem) => {\n if (props.itemType === ContextualMenuItemType.Divider) {\n const shimProps = shimMenuItemProps(props);\n return <MenuDivider {...(shimProps as MenuDividerProps)} />;\n }\n\n if (props.itemType === ContextualMenuItemType.Section) {\n const shimProps = shimMenuHeaderProps(props);\n return (\n <MenuGroup>\n <MenuGroupHeader>{shimProps.children}</MenuGroupHeader>\n {/* //TODO: sectionProps handling */}\n {props.subMenuProps?.items.map(item => (\n // key is added through item spread\n // eslint-disable-next-line react/jsx-key\n <MenuItemShim {...item} />\n ))}\n </MenuGroup>\n );\n }\n\n if (props.canCheck) {\n const shimProps = shimMenuItemCheckboxProps(props);\n return <MenuItemCheckbox {...shimProps} />;\n }\n\n // Nested Menu to handle submenus\n if (props.subMenuProps?.items && props.subMenuProps.items.length > 0) {\n const shimmedMenuProps = shimMenuProps(props.subMenuProps);\n const shimmedItemProps = shimMenuItemProps(props);\n\n return (\n <Menu {...shimmedMenuProps}>\n <MenuTrigger>\n <MenuItem {...shimmedItemProps} hasSubmenu />\n </MenuTrigger>\n <MenuPopover>\n <MenuList>\n {props.subMenuProps.items.map(item => (\n // key is added through item spread\n // eslint-disable-next-line react/jsx-key\n <MenuItemShim {...item} />\n ))}\n </MenuList>\n </MenuPopover>\n </Menu>\n );\n }\n\n const shimProps = shimMenuItemProps(props);\n return <MenuItem {...shimProps} />;\n};\n"],"names":["MenuItemShim","props","itemType","ContextualMenuItemType","Divider","shimProps","shimMenuItemProps","React","createElement","MenuDivider","Section","shimMenuHeaderProps","MenuGroup","MenuGroupHeader","children","subMenuProps","items","map","item","canCheck","shimMenuItemCheckboxProps","MenuItemCheckbox","length","shimmedMenuProps","shimMenuProps","shimmedItemProps","Menu","MenuTrigger","MenuItem","hasSubmenu","MenuPopover","MenuList"],"rangeMappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","mappings":";;;;+BAmBaA;;;eAAAA;;;;iEAnBU;wBAEgB;iCAahC;+BAE0F;AAE1F,MAAMA,eAAe,CAACC;QA2BvBA;IA1BJ,IAAIA,MAAMC,QAAQ,KAAKC,8BAAAA,CAAuBC,OAAO,EAAE;QACrD,MAAMC,YAAYC,IAAAA,gCAAAA,EAAkBL;QACpC,OAAA,WAAA,GAAOM,OAAAC,aAAA,CAACC,4BAAAA,EAAiBJ;IAC3B;IAEA,IAAIJ,MAAMC,QAAQ,KAAKC,8BAAAA,CAAuBO,OAAO,EAAE;YAMhDT;QALL,MAAMI,YAAYM,IAAAA,kCAAAA,EAAoBV;QACtC,OAAA,WAAA,GACEM,OAAAC,aAAA,CAACI,0BAAAA,EAAAA,MAAAA,WAAAA,GACCL,OAAAC,aAAA,CAACK,gCAAAA,EAAAA,MAAiBR,UAAUS,QAAQ,GAAA,AAEnCb,CAAAA,uBAAAA,MA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":["import * as React from 'react';\n\nimport { ContextualMenuItemType } from '@fluentui/react';\nimport type { IContextualMenuItem } from '@fluentui/react';\nimport {\n MenuItem,\n MenuDivider,\n MenuGroup,\n MenuGroupHeader,\n MenuTrigger,\n Menu,\n MenuList,\n MenuPopover,\n MenuItemCheckbox,\n MenuDividerProps,\n} from '@fluentui/react-components';\n\nimport { shimMenuHeaderProps, shimMenuItemCheckboxProps, shimMenuItemProps, shimMenuProps } from './shimMenuProps';\n\nexport const MenuItemShim = (props: IContextualMenuItem) => {\n if (props.itemType === ContextualMenuItemType.Divider) {\n const shimProps = shimMenuItemProps(props);\n return <MenuDivider {...(shimProps as MenuDividerProps)} />;\n }\n\n if (props.itemType === ContextualMenuItemType.Section) {\n const shimProps = shimMenuHeaderProps(props);\n return (\n <MenuGroup>\n <MenuGroupHeader>{shimProps.children}</MenuGroupHeader>\n {/* //TODO: sectionProps handling */}\n {props.subMenuProps?.items.map(item => (\n // key is added through item spread\n // eslint-disable-next-line react/jsx-key\n <MenuItemShim {...item} />\n ))}\n </MenuGroup>\n );\n }\n\n if (props.canCheck) {\n const shimProps = shimMenuItemCheckboxProps(props);\n return <MenuItemCheckbox {...shimProps} />;\n }\n\n // Nested Menu to handle submenus\n if (props.subMenuProps?.items && props.subMenuProps.items.length > 0) {\n const shimmedMenuProps = shimMenuProps(props.subMenuProps);\n const shimmedItemProps = shimMenuItemProps(props);\n\n return (\n <Menu {...shimmedMenuProps}>\n <MenuTrigger>\n <MenuItem {...shimmedItemProps} hasSubmenu />\n </MenuTrigger>\n <MenuPopover>\n <MenuList>\n {props.subMenuProps.items.map(item => (\n // key is added through item spread\n // eslint-disable-next-line react/jsx-key\n <MenuItemShim {...item} />\n ))}\n </MenuList>\n </MenuPopover>\n </Menu>\n );\n }\n\n const shimProps = shimMenuItemProps(props);\n return <MenuItem {...shimProps} />;\n};\n"],"names":["MenuItemShim","props","itemType","ContextualMenuItemType","Divider","shimProps","shimMenuItemProps","React","createElement","MenuDivider","Section","shimMenuHeaderProps","MenuGroup","MenuGroupHeader","children","subMenuProps","items","map","item","canCheck","shimMenuItemCheckboxProps","MenuItemCheckbox","length","shimmedMenuProps","shimMenuProps","shimmedItemProps","Menu","MenuTrigger","MenuItem","hasSubmenu","MenuPopover","MenuList"],"rangeMappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","mappings":";;;;+BAmBaA;;;eAAAA;;;;iEAnBU;wBAEgB;iCAahC;+BAE0F;AAE1F,MAAMA,eAAe,CAACC;QA2BvBA;IA1BJ,IAAIA,MAAMC,QAAQ,KAAKC,8BAAAA,CAAuBC,OAAO,EAAE;QACrD,MAAMC,YAAYC,IAAAA,gCAAAA,EAAkBL;QACpC,OAAA,WAAA,GAAOM,OAAAC,aAAA,CAACC,4BAAAA,EAAiBJ;IAC3B;IAEA,IAAIJ,MAAMC,QAAQ,KAAKC,8BAAAA,CAAuBO,OAAO,EAAE;YAMhDT;QALL,MAAMI,YAAYM,IAAAA,kCAAAA,EAAoBV;QACtC,OAAA,WAAA,GACEM,OAAAC,aAAA,CAACI,0BAAAA,EAAAA,MAAAA,WAAAA,GACCL,OAAAC,aAAA,CAACK,gCAAAA,EAAAA,MAAiBR,UAAUS,QAAQ,GAAA,AAEnCb,CAAAA,uBAAAA,MAAMc,YAAY,AAAZA,MAAY,QAAlBd,yBAAAA,KAAAA,IAAAA,KAAAA,IAAAA,qBAAoBe,KAAK,CAACC,GAAG,CAACC,CAAAA,OAE7B,yCAAyC;0BACzCX,OAAAC,aAAA,CAACR,cAAiBkB;IAI1B;IAEA,IAAIjB,MAAMkB,QAAQ,EAAE;QAClB,MAAMd,YAAYe,IAAAA,wCAAAA,EAA0BnB;QAC5C,OAAA,WAAA,GAAOM,OAAAC,aAAA,CAACa,iCAAAA,EAAqBhB;IAC/B;IAEA,iCAAiC;IACjC,IAAIJ,CAAAA,CAAAA,sBAAAA,MAAMc,YAAY,AAAZA,MAAY,QAAlBd,wBAAAA,KAAAA,IAAAA,KAAAA,IAAAA,oBAAoBe,KAAK,AAALA,KAASf,MAAMc,YAAY,CAACC,KAAK,CAACM,MAAM,GAAG,GAAG;QACpE,MAAMC,mBAAmBC,IAAAA,4BAAAA,EAAcvB,MAAMc,YAAY;QACzD,MAAMU,mBAAmBnB,IAAAA,gCAAAA,EAAkBL;QAE3C,OAAA,WAAA,GACEM,OAAAC,aAAA,CAACkB,qBAAAA,EAASH,kBAAAA,WAAAA,GACRhB,OAAAC,aAAA,CAACmB,4BAAAA,EAAAA,MAAAA,WAAAA,GACCpB,OAAAC,aAAA,CAACoB,yBAAAA,EAAAA;YAAU,GAAGH,gBAAgB;YAAEI,YAAAA;2BAElCtB,OAAAC,aAAA,CAACsB,4BAAAA,EAAAA,MAAAA,WAAAA,GACCvB,OAAAC,aAAA,CAACuB,yBAAAA,EAAAA,MACE9B,MAAMc,YAAY,CAACC,KAAK,CAACC,GAAG,CAACC,CAAAA,OAE5B,yCAAyC;0BACzCX,OAAAC,aAAA,CAACR,cAAiBkB;IAM9B;IAEA,MAAMb,YAAYC,IAAAA,gCAAAA,EAAkBL;IACpC,OAAA,WAAA,GAAOM,OAAAC,aAAA,CAACoB,yBAAAA,EAAavB;AACvB"}
@@ -1 +1 @@
1
- {"version":3,"sources":["index.ts"],"sourcesContent":["export * from './MenuShim';\nexport * from './shimMenuProps';\n"],"names":[],"rangeMappings":";;;;;;","mappings":";;;;;uBAAc;uBACA"}
1
+ {"version":3,"sources":["../src/components/Menu/index.ts"],"sourcesContent":["export * from './MenuShim';\nexport * from './shimMenuProps';\n"],"names":[],"rangeMappings":";;;;;;","mappings":";;;;;uBAAc;uBACA"}
@@ -1 +1 @@
1
- {"version":3,"sources":["shimMenuProps.tsx"],"sourcesContent":["import * as React from 'react';\n\nimport { Icon } from '@fluentui/react';\nimport type { IContextualMenuItem, IContextualMenuProps } from '@fluentui/react';\nimport type { MenuItemProps, MenuGroupHeaderProps, MenuItemCheckboxProps, MenuProps } from '@fluentui/react-components';\n\nexport const shimMenuProps = (props: IContextualMenuProps): Partial<MenuProps> => {\n return {\n hasIcons: props?.items.some(i => i.iconProps),\n hasCheckmarks: props?.items.some(i => i.canCheck || i.checked),\n };\n};\n\nexport const shimMenuItemProps = (props: IContextualMenuItem): MenuItemProps => {\n //TODO: Handle menuItem.onRenderIcon\n const icon = props.iconProps ? <Icon {...props.iconProps} /> : undefined;\n\n return {\n ...props,\n 'aria-label': props.ariaLabel,\n children: props.text,\n icon,\n secondaryContent: props.secondaryText,\n } as MenuItemProps;\n};\n\nexport const shimMenuItemCheckboxProps = (props: IContextualMenuItem): MenuItemCheckboxProps => {\n return {\n ...shimMenuItemProps(props),\n name: props.text || 'name',\n value: props.value || 'value',\n };\n};\n\nexport const shimMenuHeaderProps = (props: IContextualMenuItem): MenuGroupHeaderProps => {\n return {\n children: props.sectionProps?.title,\n };\n};\n"],"names":["shimMenuHeaderProps","shimMenuItemCheckboxProps","shimMenuItemProps","shimMenuProps","props","hasIcons","items","some","i","iconProps","hasCheckmarks","canCheck","checked","icon","React","createElement","Icon","undefined","ariaLabel","children","text","secondaryContent","secondaryText","name","value","sectionProps","title"],"rangeMappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","mappings":";;;;;;;;;;;IAkCaA,mBAAAA;eAAAA;;IARAC,yBAAAA;eAAAA;;IAbAC,iBAAAA;eAAAA;;IAPAC,aAAAA;eAAAA;;;;iEANU;wBAEF;AAId,MAAMA,gBAAgB,CAACC;IAC5B,OAAO;QACLC,UAAUD,UAAAA,QAAAA,UAAAA,KAAAA,IAAAA,KAAAA,IAAAA,MAAOE,KAAK,CAACC,IAAI,CAACC,CAAAA,IAAKA,EAAEC,SAAS;QAC5CC,eAAeN,UAAAA,QAAAA,UAAAA,KAAAA,IAAAA,KAAAA,IAAAA,MAAOE,KAAK,CAACC,IAAI,CAACC,CAAAA,IAAKA,EAAEG,QAAQ,IAAIH,EAAEI,OAAO;IAC/D;AACF;AAEO,MAAMV,oBAAoB,CAACE;IAChC,oCAAoC;IACpC,MAAMS,OAAOT,MAAMK,SAAS,GAAA,WAAA,GAAGK,OAAAC,aAAA,CAACC,YAAAA,EAASZ,MAAMK,SAAS,IAAOQ;IAE/D,OAAO;QACL,GAAGb,KAAK;QACR,cAAcA,MAAMc,SAAS;QAC7BC,UAAUf,MAAMgB,IAAI;QACpBP;QACAQ,kBAAkBjB,MAAMkB,aAAa;IACvC;AACF;AAEO,MAAMrB,4BAA4B,CAACG;IACxC,OAAO;QACL,GAAGF,kBAAkBE,MAAM;QAC3BmB,MAAMnB,MAAMgB,IAAI,IAAI;QACpBI,OAAOpB,MAAMoB,KAAK,IAAI;IACxB;AACF;AAEO,MAAMxB,sBAAsB,CAACI;QAEtBA;IADZ,OAAO;QACLe,UAAQ,AAAEf,CAAAA,sBAAAA,MAAMqB,YAAY,AAAZA,MAAY,QAAlBrB,wBAAAA,KAAAA,IAAAA,KAAAA,IAAAA,oBAAoBsB,KAAK;IACrC;AACF"}
1
+ {"version":3,"sources":["../src/components/Menu/shimMenuProps.tsx"],"sourcesContent":["import * as React from 'react';\n\nimport { Icon } from '@fluentui/react';\nimport type { IContextualMenuItem, IContextualMenuProps } from '@fluentui/react';\nimport type { MenuItemProps, MenuGroupHeaderProps, MenuItemCheckboxProps, MenuProps } from '@fluentui/react-components';\n\nexport const shimMenuProps = (props: IContextualMenuProps): Partial<MenuProps> => {\n return {\n hasIcons: props?.items.some(i => i.iconProps),\n hasCheckmarks: props?.items.some(i => i.canCheck || i.checked),\n };\n};\n\nexport const shimMenuItemProps = (props: IContextualMenuItem): MenuItemProps => {\n //TODO: Handle menuItem.onRenderIcon\n const icon = props.iconProps ? <Icon {...props.iconProps} /> : undefined;\n\n return {\n ...props,\n 'aria-label': props.ariaLabel,\n children: props.text,\n icon,\n secondaryContent: props.secondaryText,\n } as MenuItemProps;\n};\n\nexport const shimMenuItemCheckboxProps = (props: IContextualMenuItem): MenuItemCheckboxProps => {\n return {\n ...shimMenuItemProps(props),\n name: props.text || 'name',\n value: props.value || 'value',\n };\n};\n\nexport const shimMenuHeaderProps = (props: IContextualMenuItem): MenuGroupHeaderProps => {\n return {\n children: props.sectionProps?.title,\n };\n};\n"],"names":["shimMenuHeaderProps","shimMenuItemCheckboxProps","shimMenuItemProps","shimMenuProps","props","hasIcons","items","some","i","iconProps","hasCheckmarks","canCheck","checked","icon","React","createElement","Icon","undefined","ariaLabel","children","text","secondaryContent","secondaryText","name","value","sectionProps","title"],"rangeMappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","mappings":";;;;;;;;;;;IAkCaA,mBAAAA;eAAAA;;IARAC,yBAAAA;eAAAA;;IAbAC,iBAAAA;eAAAA;;IAPAC,aAAAA;eAAAA;;;;iEANU;wBAEF;AAId,MAAMA,gBAAgB,CAACC;IAC5B,OAAO;QACLC,UAAUD,UAAAA,QAAAA,UAAAA,KAAAA,IAAAA,KAAAA,IAAAA,MAAOE,KAAK,CAACC,IAAI,CAACC,CAAAA,IAAKA,EAAEC,SAAS;QAC5CC,eAAeN,UAAAA,QAAAA,UAAAA,KAAAA,IAAAA,KAAAA,IAAAA,MAAOE,KAAK,CAACC,IAAI,CAACC,CAAAA,IAAKA,EAAEG,QAAQ,IAAIH,EAAEI,OAAO;IAC/D;AACF;AAEO,MAAMV,oBAAoB,CAACE;IAChC,oCAAoC;IACpC,MAAMS,OAAOT,MAAMK,SAAS,GAAA,WAAA,GAAGK,OAAAC,aAAA,CAACC,YAAAA,EAASZ,MAAMK,SAAS,IAAOQ;IAE/D,OAAO;QACL,GAAGb,KAAK;QACR,cAAcA,MAAMc,SAAS;QAC7BC,UAAUf,MAAMgB,IAAI;QACpBP;QACAQ,kBAAkBjB,MAAMkB,aAAa;IACvC;AACF;AAEO,MAAMrB,4BAA4B,CAACG;IACxC,OAAO;QACL,GAAGF,kBAAkBE,MAAM;QAC3BmB,MAAMnB,MAAMgB,IAAI,IAAI;QACpBI,OAAOpB,MAAMoB,KAAK,IAAI;IACxB;AACF;AAEO,MAAMxB,sBAAsB,CAACI;QAEtBA;IADZ,OAAO;QACLe,UAAQ,AAAEf,CAAAA,sBAAAA,MAAMqB,YAAY,AAAZA,MAAY,QAAlBrB,wBAAAA,KAAAA,IAAAA,KAAAA,IAAAA,oBAAoBsB,KAAK;IACrC;AACF"}
@@ -1 +1 @@
1
- {"version":3,"sources":["StackItemShim.tsx"],"sourcesContent":["import { mergeClasses } from '@griffel/react';\nimport * as React from 'react';\nimport type { IStackItemProps } from '@fluentui/react';\n\nimport {\n useFlexAlignSelfStyles,\n useFlexGrowStyles,\n useFlexOrderStyles,\n useFlexShrinkStyles,\n useStackItemShimStyles,\n} from './StackItemShim.styles';\n\nconst stackItemClassNames = {\n root: 'ms-StackItem',\n};\n\nexport const StackItemShim = (props: IStackItemProps) => {\n const { grow, shrink, disableShrink, align, verticalFill, order, className, children } = props;\n\n const styles = useStackItemShimStyles();\n const alignSelfStyles = useFlexAlignSelfStyles();\n const shrinkFlexStyles = useFlexShrinkStyles();\n const growFlexStyles: Record<string, string> = useFlexGrowStyles();\n const orderFlexStyles: Record<string, string> = useFlexOrderStyles();\n\n const stackItemStyles = [styles.root, align && alignSelfStyles[align], verticalFill && styles.verticalFill];\n\n if (order) {\n stackItemStyles.push(orderFlexStyles[order]);\n }\n\n if (grow) {\n const flexGrow = grow === true ? growFlexStyles[1] : growFlexStyles[grow];\n stackItemStyles.push(flexGrow);\n }\n\n if (shrink && !disableShrink) {\n stackItemStyles.push(shrinkFlexStyles[1]);\n } else if (disableShrink || (!grow && !shrink)) {\n stackItemStyles.push(shrinkFlexStyles[0]);\n }\n\n if (disableShrink) {\n stackItemStyles.push(styles.disableShrink);\n }\n\n const rootStyles = mergeClasses(stackItemClassNames.root, ...stackItemStyles, className);\n\n return <div className={rootStyles}>{children}</div>;\n};\n"],"names":["StackItemShim","stackItemClassNames","root","props","grow","shrink","disableShrink","align","verticalFill","order","className","children","styles","useStackItemShimStyles","alignSelfStyles","useFlexAlignSelfStyles","shrinkFlexStyles","useFlexShrinkStyles","growFlexStyles","useFlexGrowStyles","orderFlexStyles","useFlexOrderStyles","stackItemStyles","push","flexGrow","rootStyles","mergeClasses","React","createElement","div"],"rangeMappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","mappings":";;;;+BAgBaA;;;eAAAA;;;;uBAhBgB;kEACN;qCAShB;AAEP,MAAMC,sBAAsB;IAC1BC,MAAM;AACR;AAEO,MAAMF,gBAAgB,CAACG;IAC5B,MAAM,EAAEC,IAAI,EAAEC,MAAM,EAAEC,aAAa,EAAEC,KAAK,EAAEC,YAAY,EAAEC,KAAK,EAAEC,SAAS,EAAEC,QAAQ,EAAE,GAAGR;IAEzF,MAAMS,SAASC,IAAAA,2CAAAA;IACf,MAAMC,kBAAkBC,IAAAA,2CAAAA;IACxB,MAAMC,mBAAmBC,IAAAA,wCAAAA;IACzB,MAAMC,iBAAyCC,IAAAA,sCAAAA;IAC/C,MAAMC,kBAA0CC,IAAAA,uCAAAA;IAEhD,MAAMC,kBAAkB;QAACV,OAAOV,IAAI;QAAEK,SAASO,eAAe,CAACP,MAAM;QAAEC,gBAAgBI,OAAOJ,YAAY;KAAC;IAE3G,IAAIC,OAAO;QACTa,gBAAgBC,IAAI,CAACH,eAAe,CAACX,MAAM;IAC7C;IAEA,IAAIL,MAAM;QACR,MAAMoB,WAAWpB,SAAS,OAAOc,cAAc,CAAC,EAAE,GAAGA,cAAc,CAACd,KAAK;QACzEkB,gBAAgBC,IAAI,CAACC;IACvB;IAEA,IAAInB,UAAU,CAACC,eAAe;QAC5BgB,gBAAgBC,IAAI,CAACP,gBAAgB,CAAC,EAAE;IAC1C,OAAO,IAAIV,iBAAkB,CAACF,QAAQ,CAACC,QAAS;QAC9CiB,gBAAgBC,IAAI,CAACP,gBAAgB,CAAC,EAAE;IAC1C;IAEA,IAAIV,eAAe;QACjBgB,gBAAgBC,IAAI,CAACX,OAAON,aAAa;IAC3C;IAEA,MAAMmB,aAAaC,IAAAA,mBAAAA,EAAazB,oBAAoBC,IAAI,KAAKoB,iBAAiBZ;IAE9E,OAAA,WAAA,GAAOiB,QAAAC,aAAA,CAACC,OAAAA;QAAInB,WAAWe;OAAad;AACtC"}
1
+ {"version":3,"sources":["../src/components/Stack/StackItemShim.tsx"],"sourcesContent":["import { mergeClasses } from '@griffel/react';\nimport * as React from 'react';\nimport type { IStackItemProps } from '@fluentui/react';\n\nimport {\n useFlexAlignSelfStyles,\n useFlexGrowStyles,\n useFlexOrderStyles,\n useFlexShrinkStyles,\n useStackItemShimStyles,\n} from './StackItemShim.styles';\n\nconst stackItemClassNames = {\n root: 'ms-StackItem',\n};\n\nexport const StackItemShim = (props: IStackItemProps) => {\n const { grow, shrink, disableShrink, align, verticalFill, order, className, children } = props;\n\n const styles = useStackItemShimStyles();\n const alignSelfStyles = useFlexAlignSelfStyles();\n const shrinkFlexStyles = useFlexShrinkStyles();\n const growFlexStyles: Record<string, string> = useFlexGrowStyles();\n const orderFlexStyles: Record<string, string> = useFlexOrderStyles();\n\n const stackItemStyles = [styles.root, align && alignSelfStyles[align], verticalFill && styles.verticalFill];\n\n if (order) {\n stackItemStyles.push(orderFlexStyles[order]);\n }\n\n if (grow) {\n const flexGrow = grow === true ? growFlexStyles[1] : growFlexStyles[grow];\n stackItemStyles.push(flexGrow);\n }\n\n if (shrink && !disableShrink) {\n stackItemStyles.push(shrinkFlexStyles[1]);\n } else if (disableShrink || (!grow && !shrink)) {\n stackItemStyles.push(shrinkFlexStyles[0]);\n }\n\n if (disableShrink) {\n stackItemStyles.push(styles.disableShrink);\n }\n\n const rootStyles = mergeClasses(stackItemClassNames.root, ...stackItemStyles, className);\n\n return <div className={rootStyles}>{children}</div>;\n};\n"],"names":["StackItemShim","stackItemClassNames","root","props","grow","shrink","disableShrink","align","verticalFill","order","className","children","styles","useStackItemShimStyles","alignSelfStyles","useFlexAlignSelfStyles","shrinkFlexStyles","useFlexShrinkStyles","growFlexStyles","useFlexGrowStyles","orderFlexStyles","useFlexOrderStyles","stackItemStyles","push","flexGrow","rootStyles","mergeClasses","React","createElement","div"],"rangeMappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","mappings":";;;;+BAgBaA;;;eAAAA;;;;uBAhBgB;kEACN;qCAShB;AAEP,MAAMC,sBAAsB;IAC1BC,MAAM;AACR;AAEO,MAAMF,gBAAgB,CAACG;IAC5B,MAAM,EAAEC,IAAI,EAAEC,MAAM,EAAEC,aAAa,EAAEC,KAAK,EAAEC,YAAY,EAAEC,KAAK,EAAEC,SAAS,EAAEC,QAAQ,EAAE,GAAGR;IAEzF,MAAMS,SAASC,IAAAA,2CAAAA;IACf,MAAMC,kBAAkBC,IAAAA,2CAAAA;IACxB,MAAMC,mBAAmBC,IAAAA,wCAAAA;IACzB,MAAMC,iBAAyCC,IAAAA,sCAAAA;IAC/C,MAAMC,kBAA0CC,IAAAA,uCAAAA;IAEhD,MAAMC,kBAAkB;QAACV,OAAOV,IAAI;QAAEK,SAASO,eAAe,CAACP,MAAM;QAAEC,gBAAgBI,OAAOJ,YAAY;KAAC;IAE3G,IAAIC,OAAO;QACTa,gBAAgBC,IAAI,CAACH,eAAe,CAACX,MAAM;IAC7C;IAEA,IAAIL,MAAM;QACR,MAAMoB,WAAWpB,SAAS,OAAOc,cAAc,CAAC,EAAE,GAAGA,cAAc,CAACd,KAAK;QACzEkB,gBAAgBC,IAAI,CAACC;IACvB;IAEA,IAAInB,UAAU,CAACC,eAAe;QAC5BgB,gBAAgBC,IAAI,CAACP,gBAAgB,CAAC,EAAE;IAC1C,OAAO,IAAIV,iBAAkB,CAACF,QAAQ,CAACC,QAAS;QAC9CiB,gBAAgBC,IAAI,CAACP,gBAAgB,CAAC,EAAE;IAC1C;IAEA,IAAIV,eAAe;QACjBgB,gBAAgBC,IAAI,CAACX,OAAON,aAAa;IAC3C;IAEA,MAAMmB,aAAaC,IAAAA,mBAAAA,EAAazB,oBAAoBC,IAAI,KAAKoB,iBAAiBZ;IAE9E,OAAA,WAAA,GAAOiB,QAAAC,aAAA,CAACC,OAAAA;QAAInB,WAAWe;OAAad;AACtC"}
@@ -188,4 +188,4 @@ const useFlexOrderStyles = /*#__PURE__*/ (0, _react.__styles)({
188
188
  ".f1yml5i9{order:-2;}",
189
189
  ".f1l5m61u{order:-1;}"
190
190
  ]
191
- }); //# sourceMappingURL=StackItemShim.styles.js.map
191
+ });
@@ -1 +1 @@
1
- {"version":3,"sources":["StackShim.tsx"],"sourcesContent":["import { mergeClasses } from '@griffel/react';\nimport { classNamesFunction } from '@fluentui/react';\nimport type { IStackProps, IStackTokens, IStackItemProps } from '@fluentui/react';\nimport * as React from 'react';\n\nimport { getChildrenGapStyles } from './stackUtils';\nimport type { StackShimStyles } from './stackUtils';\nimport {\n useFlexAlignItemsStyles,\n useFlexGrowStyles,\n useFlexJustifyContentStyles,\n useStackStyles,\n} from './StackShim.styles';\n\nconst stackClassNames = {\n root: 'ms-Stack',\n inner: 'ms-Stack-inner',\n};\n\nconst getClassNames = classNamesFunction<IStackProps, StackShimStyles>();\n\nexport const StackShim = (props: IStackProps) => {\n const styles = useStackStyles();\n const alignItemsFlexStyles = useFlexAlignItemsStyles();\n const justifyContentFlexStyles = useFlexJustifyContentStyles();\n const growFlexStyles: Record<string, string> = useFlexGrowStyles();\n\n const {\n as: RootType = 'div',\n verticalFill,\n horizontal,\n reversed,\n grow,\n wrap,\n horizontalAlign,\n verticalAlign,\n disableShrink,\n className,\n } = props;\n\n const tokens: IStackTokens = { ...props.tokens };\n\n let tokensRootStyles = {};\n let tokensInnerStyles = {};\n let childrenGapClassName;\n\n if (tokens) {\n tokensRootStyles = {\n padding: !wrap ? tokens.padding : undefined,\n maxHeight: tokens.maxHeight,\n maxWidth: tokens.maxWidth,\n };\n\n tokensInnerStyles = {\n padding: wrap ? tokens.padding : undefined,\n };\n\n if (tokens.childrenGap) {\n childrenGapClassName = getClassNames(getChildrenGapStyles, {\n horizontal,\n reversed,\n tokens,\n });\n }\n }\n\n const stackStyles = [\n wrap ? styles.wrap : styles.root,\n horizontal && styles.horizontal,\n verticalFill && styles.verticalFill,\n ];\n\n const stackInnerStyles = [\n styles.inner,\n horizontal && styles.horizontal,\n (!tokens || !tokens.childrenGap) && styles.innerWidth,\n ];\n\n let stackChildren = React.Children.toArray(props.children);\n if (\n stackChildren.length === 1 &&\n React.isValidElement(stackChildren[0]) &&\n stackChildren[0].type === React.Fragment\n ) {\n stackChildren = stackChildren[0].props.children;\n }\n\n stackChildren = React.Children.map(\n stackChildren as React.ReactElement[],\n (child: React.ReactElement<IStackItemProps>) => {\n if (!child) {\n return null;\n }\n\n if (child.type && ((child as React.ReactElement).type as React.ComponentType).name === 'StackItemShim') {\n const defaultItemProps: IStackItemProps = {\n shrink: !disableShrink,\n };\n\n return React.cloneElement(child, {\n ...defaultItemProps,\n ...child.props,\n });\n }\n\n return child;\n },\n );\n\n if (reversed) {\n if (horizontal) {\n stackStyles.push(styles.reversedHorizontal);\n stackInnerStyles.push(styles.reversedHorizontal);\n } else {\n stackStyles.push(styles.reversedVertical);\n stackInnerStyles.push(styles.reversedVertical);\n }\n }\n\n if (grow) {\n const flexGrow = grow === true ? growFlexStyles[1] : growFlexStyles[grow];\n stackStyles.push(flexGrow);\n }\n\n if (disableShrink) {\n stackStyles.push(styles.disableShrink);\n }\n\n if (horizontalAlign) {\n if (horizontal) {\n stackStyles.push(justifyContentFlexStyles[horizontalAlign]);\n stackInnerStyles.push(justifyContentFlexStyles[horizontalAlign]);\n } else {\n stackStyles.push(alignItemsFlexStyles[horizontalAlign]);\n stackInnerStyles.push(alignItemsFlexStyles[horizontalAlign]);\n }\n }\n\n if (verticalAlign) {\n if (horizontal) {\n stackStyles.push(alignItemsFlexStyles[verticalAlign]);\n stackInnerStyles.push(alignItemsFlexStyles[verticalAlign]);\n } else {\n stackStyles.push(justifyContentFlexStyles[verticalAlign]);\n stackInnerStyles.push(justifyContentFlexStyles[verticalAlign]);\n }\n }\n\n const rootClass = mergeClasses(\n stackClassNames.root,\n ...stackStyles,\n childrenGapClassName && !wrap && childrenGapClassName.root,\n className,\n );\n\n const innerClass = mergeClasses(\n stackClassNames.inner,\n ...stackInnerStyles,\n childrenGapClassName && wrap && childrenGapClassName.inner,\n );\n\n return wrap ? (\n <RootType className={rootClass} style={tokensRootStyles}>\n <div className={innerClass} style={tokensInnerStyles}>\n {stackChildren}\n </div>\n </RootType>\n ) : (\n <RootType className={rootClass} style={tokensRootStyles}>\n {stackChildren}\n </RootType>\n );\n};\n"],"names":["StackShim","stackClassNames","root","inner","getClassNames","classNamesFunction","props","styles","useStackStyles","alignItemsFlexStyles","useFlexAlignItemsStyles","justifyContentFlexStyles","useFlexJustifyContentStyles","growFlexStyles","useFlexGrowStyles","as","RootType","verticalFill","horizontal","reversed","grow","wrap","horizontalAlign","verticalAlign","disableShrink","className","tokens","tokensRootStyles","tokensInnerStyles","childrenGapClassName","padding","undefined","maxHeight","maxWidth","childrenGap","getChildrenGapStyles","stackStyles","stackInnerStyles","innerWidth","stackChildren","React","Children","toArray","children","length","isValidElement","type","Fragment","map","child","name","defaultItemProps","shrink","cloneElement","push","reversedHorizontal","reversedVertical","flexGrow","rootClass","mergeClasses","innerClass","createElement","style","div"],"rangeMappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","mappings":";;;;+BAqBaA;;;eAAAA;;;;uBArBgB;wBACM;kEAEZ;4BAEc;iCAO9B;AAEP,MAAMC,kBAAkB;IACtBC,MAAM;IACNC,OAAO;AACT;AAEA,MAAMC,gBAAgBC,IAAAA,0BAAAA;AAEf,MAAML,YAAY,CAACM;IACxB,MAAMC,SAASC,IAAAA,+BAAAA;IACf,MAAMC,uBAAuBC,IAAAA,wCAAA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CAACc,cAAc;YACpDc,iBAAiBiB,IAAI,CAAC7C,oBAAoB,CAACc,cAAc;QAC3D,OAAO;YACLa,YAAYkB,IAAI,CAAC3C,wBAAwB,CAACY,cAAc;YACxDc,iBAAiBiB,IAAI,CAAC3C,wBAAwB,CAACY,cAAc;QAC/D;IACF;IAEA,MAAMmC,YAAYC,IAAAA,mBAAAA,EAChB1D,gBAAgBC,IAAI,KACjBkC,aACHP,wBAAwB,CAACR,QAAQQ,qBAAqB3B,IAAI,EAC1DuB;IAGF,MAAMmC,aAAaD,IAAAA,mBAAAA,EACjB1D,gBAAgBE,KAAK,KAClBkC,kBACHR,wBAAwBR,QAAQQ,qBAAqB1B,KAAK;IAG5D,OAAOkB,OAAAA,WAAAA,GACLmB,QAAAqB,aAAA,CAAC7C,UAAAA;QAASS,WAAWiC;QAAWI,OAAOnC;qBACrCa,QAAAqB,aAAA,CAACE,OAAAA;QAAItC,WAAWmC;QAAYE,OAAOlC;OAChCW,kBAAAA,WAAAA,GAILC,QAAAqB,aAAA,CAAC7C,UAAAA;QAASS,WAAWiC;QAAWI,OAAOnC;OACpCY;AAGP"}
1
+ {"version":3,"sources":["../src/components/Stack/StackShim.tsx"],"sourcesContent":["import { mergeClasses } from '@griffel/react';\nimport { classNamesFunction } from '@fluentui/react';\nimport type { IStackProps, IStackTokens, IStackItemProps } from '@fluentui/react';\nimport * as React from 'react';\n\nimport { getChildrenGapStyles } from './stackUtils';\nimport type { StackShimStyles } from './stackUtils';\nimport {\n useFlexAlignItemsStyles,\n useFlexGrowStyles,\n useFlexJustifyContentStyles,\n useStackStyles,\n} from './StackShim.styles';\n\nconst stackClassNames = {\n root: 'ms-Stack',\n inner: 'ms-Stack-inner',\n};\n\nconst getClassNames = classNamesFunction<IStackProps, StackShimStyles>();\n\nexport const StackShim = (props: IStackProps) => {\n const styles = useStackStyles();\n const alignItemsFlexStyles = useFlexAlignItemsStyles();\n const justifyContentFlexStyles = useFlexJustifyContentStyles();\n const growFlexStyles: Record<string, string> = useFlexGrowStyles();\n\n const {\n as: RootType = 'div',\n verticalFill,\n horizontal,\n reversed,\n grow,\n wrap,\n horizontalAlign,\n verticalAlign,\n disableShrink,\n className,\n } = props;\n\n const tokens: IStackTokens = { ...props.tokens };\n\n let tokensRootStyles = {};\n let tokensInnerStyles = {};\n let childrenGapClassName;\n\n if (tokens) {\n tokensRootStyles = {\n padding: !wrap ? tokens.padding : undefined,\n maxHeight: tokens.maxHeight,\n maxWidth: tokens.maxWidth,\n };\n\n tokensInnerStyles = {\n padding: wrap ? tokens.padding : undefined,\n };\n\n if (tokens.childrenGap) {\n childrenGapClassName = getClassNames(getChildrenGapStyles, {\n horizontal,\n reversed,\n tokens,\n });\n }\n }\n\n const stackStyles = [\n wrap ? styles.wrap : styles.root,\n horizontal && styles.horizontal,\n verticalFill && styles.verticalFill,\n ];\n\n const stackInnerStyles = [\n styles.inner,\n horizontal && styles.horizontal,\n (!tokens || !tokens.childrenGap) && styles.innerWidth,\n ];\n\n let stackChildren = React.Children.toArray(props.children);\n if (\n stackChildren.length === 1 &&\n React.isValidElement(stackChildren[0]) &&\n stackChildren[0].type === React.Fragment\n ) {\n stackChildren = stackChildren[0].props.children;\n }\n\n stackChildren = React.Children.map(\n stackChildren as React.ReactElement[],\n (child: React.ReactElement<IStackItemProps>) => {\n if (!child) {\n return null;\n }\n\n if (child.type && ((child as React.ReactElement).type as React.ComponentType).name === 'StackItemShim') {\n const defaultItemProps: IStackItemProps = {\n shrink: !disableShrink,\n };\n\n return React.cloneElement(child, {\n ...defaultItemProps,\n ...child.props,\n });\n }\n\n return child;\n },\n );\n\n if (reversed) {\n if (horizontal) {\n stackStyles.push(styles.reversedHorizontal);\n stackInnerStyles.push(styles.reversedHorizontal);\n } else {\n stackStyles.push(styles.reversedVertical);\n stackInnerStyles.push(styles.reversedVertical);\n }\n }\n\n if (grow) {\n const flexGrow = grow === true ? growFlexStyles[1] : growFlexStyles[grow];\n stackStyles.push(flexGrow);\n }\n\n if (disableShrink) {\n stackStyles.push(styles.disableShrink);\n }\n\n if (horizontalAlign) {\n if (horizontal) {\n stackStyles.push(justifyContentFlexStyles[horizontalAlign]);\n stackInnerStyles.push(justifyContentFlexStyles[horizontalAlign]);\n } else {\n stackStyles.push(alignItemsFlexStyles[horizontalAlign]);\n stackInnerStyles.push(alignItemsFlexStyles[horizontalAlign]);\n }\n }\n\n if (verticalAlign) {\n if (horizontal) {\n stackStyles.push(alignItemsFlexStyles[verticalAlign]);\n stackInnerStyles.push(alignItemsFlexStyles[verticalAlign]);\n } else {\n stackStyles.push(justifyContentFlexStyles[verticalAlign]);\n stackInnerStyles.push(justifyContentFlexStyles[verticalAlign]);\n }\n }\n\n const rootClass = mergeClasses(\n stackClassNames.root,\n ...stackStyles,\n childrenGapClassName && !wrap && childrenGapClassName.root,\n className,\n );\n\n const innerClass = mergeClasses(\n stackClassNames.inner,\n ...stackInnerStyles,\n childrenGapClassName && wrap && childrenGapClassName.inner,\n );\n\n return wrap ? (\n <RootType className={rootClass} style={tokensRootStyles}>\n <div className={innerClass} style={tokensInnerStyles}>\n {stackChildren}\n </div>\n </RootType>\n ) : (\n <RootType className={rootClass} style={tokensRootStyles}>\n {stackChildren}\n </RootType>\n );\n};\n"],"names":["StackShim","stackClassNames","root","inner","getClassNames","classNamesFunction","props","styles","useStackStyles","alignItemsFlexStyles","useFlexAlignItemsStyles","justifyContentFlexStyles","useFlexJustifyContentStyles","growFlexStyles","useFlexGrowStyles","as","RootType","verticalFill","horizontal","reversed","grow","wrap","horizontalAlign","verticalAlign","disableShrink","className","tokens","tokensRootStyles","tokensInnerStyles","childrenGapClassName","padding","undefined","maxHeight","maxWidth","childrenGap","getChildrenGapStyles","stackStyles","stackInnerStyles","innerWidth","stackChildren","React","Children","toArray","children","length","isValidElement","type","Fragment","map","child","name","defaultItemProps","shrink","cloneElement","push","reversedHorizontal","reversedVertical","flexGrow","rootClass","mergeClasses","innerClass","createElement","style","div"],"rangeMappings":";;;;;;;;;;;;;;;;;;;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C/C,OAAOiB,aAAa;IACvC;IAEA,IAAIF,iBAAiB;QACnB,IAAIJ,YAAY;YACdkB,YAAYkB,IAAI,CAAC3C,wBAAwB,CAACW,gBAAgB;YAC1De,iBAAiBiB,IAAI,CAAC3C,wBAAwB,CAACW,gBAAgB;QACjE,OAAO;YACLc,YAAYkB,IAAI,CAAC7C,oBAAoB,CAACa,gBAAgB;YACtDe,iBAAiBiB,IAAI,CAAC7C,oBAAoB,CAACa,gBAAgB;QAC7D;IACF;IAEA,IAAIC,eAAe;QACjB,IAAIL,YAAY;YACdkB,YAAYkB,IAAI,CAAC7C,oBAAoB,CAACc,cAAc;YACpDc,iBAAiBiB,IAAI,CAAC7C,oBAAoB,CAACc,cAAc;QAC3D,OAAO;YACLa,YAAYkB,IAAI,CAAC3C,wBAAwB,CAACY,cAAc;YACxDc,iBAAiBiB,IAAI,CAAC3C,wBAAwB,CAACY,cAAc;QAC/D;IACF;IAEA,MAAMmC,YAAYC,IAAAA,mBAAAA,EAChB1D,gBAAgBC,IAAI,KACjBkC,aACHP,wBAAwB,CAACR,QAAQQ,qBAAqB3B,IAAI,EAC1DuB;IAGF,MAAMmC,aAAaD,IAAAA,mBAAAA,EACjB1D,gBAAgBE,KAAK,KAClBkC,kBACHR,wBAAwBR,QAAQQ,qBAAqB1B,KAAK;IAG5D,OAAOkB,OAAAA,WAAAA,GACLmB,QAAAqB,aAAA,CAAC7C,UAAAA;QAASS,WAAWiC;QAAWI,OAAOnC;qBACrCa,QAAAqB,aAAA,CAACE,OAAAA;QAAItC,WAAWmC;QAAYE,OAAOlC;OAChCW,kBAAAA,WAAAA,GAILC,QAAAqB,aAAA,CAAC7C,UAAAA;QAASS,WAAWiC;QAAWI,OAAOnC;OACpCY;AAGP"}
@@ -191,4 +191,4 @@ const useFlexJustifyContentStyles = /*#__PURE__*/ (0, _react.__styles)({
191
191
  ".f1iw3tyt{justify-content:space-around;}",
192
192
  ".figf6al{justify-content:space-evenly;}"
193
193
  ]
194
- }); //# sourceMappingURL=StackShim.styles.js.map
194
+ });
@@ -1 +1 @@
1
- {"version":3,"sources":["index.ts"],"sourcesContent":["export * from './StackItemShim';\nexport * from './StackShim';\n"],"names":[],"rangeMappings":";;;;;;","mappings":";;;;;uBAAc;uBACA"}
1
+ {"version":3,"sources":["../src/components/Stack/index.ts"],"sourcesContent":["export * from './StackItemShim';\nexport * from './StackShim';\n"],"names":[],"rangeMappings":";;;;;;","mappings":";;;;;uBAAc;uBACA"}
@@ -1 +1 @@
1
- {"version":3,"sources":["stackUtils.ts"],"sourcesContent":["import { getTheme, IStackProps, IStackTokens, IStyle, ITheme } from '@fluentui/react';\n\n// Helper function that converts a themed spacing key (if given) to the corresponding themed spacing value.\nconst getThemedSpacing = (space: string, theme: ITheme): string => {\n if (theme.spacing.hasOwnProperty(space)) {\n return theme.spacing[space as keyof typeof theme.spacing];\n }\n return space;\n};\n\n// Helper function that takes a gap as a string and converts it into a { value, unit } representation.\nconst getValueUnitGap = (gap: string): { value: number; unit: string } => {\n const numericalPart = parseFloat(gap);\n const numericalValue = isNaN(numericalPart) ? 0 : numericalPart;\n const numericalString = isNaN(numericalPart) ? '' : numericalPart.toString();\n\n const unitPart = gap.substring(numericalString.toString().length);\n\n return {\n value: numericalValue,\n unit: unitPart || 'px',\n };\n};\n\n/**\n * Takes in a gap size in either a CSS-style format (e.g. 10 or \"10px\")\n * or a key of a themed spacing value (e.g. \"s1\").\n * Returns the separate numerical value of the padding (e.g. 10)\n * and the CSS unit (e.g. \"px\").\n */\nexport const parseGap = (\n gap: IStackProps['gap'],\n theme: ITheme,\n): { rowGap: { value: number; unit: string }; columnGap: { value: number; unit: string } } => {\n if (gap === undefined || gap === '') {\n return {\n rowGap: {\n value: 0,\n unit: 'px',\n },\n columnGap: {\n value: 0,\n unit: 'px',\n },\n };\n }\n\n if (typeof gap === 'number') {\n return {\n rowGap: {\n value: gap,\n unit: 'px',\n },\n columnGap: {\n value: gap,\n unit: 'px',\n },\n };\n }\n\n const splitGap = gap.split(' ');\n\n // If the array has more than two values, then return 0px.\n if (splitGap.length > 2) {\n return {\n rowGap: {\n value: 0,\n unit: 'px',\n },\n columnGap: {\n value: 0,\n unit: 'px',\n },\n };\n }\n\n // If the array has two values, then parse each one.\n if (splitGap.length === 2) {\n return {\n rowGap: getValueUnitGap(getThemedSpacing(splitGap[0], theme)),\n columnGap: getValueUnitGap(getThemedSpacing(splitGap[1], theme)),\n };\n }\n\n // Else, parse the numerical value and pass it as both the vertical and horizontal gap.\n const calculatedGap = getValueUnitGap(getThemedSpacing(gap, theme));\n\n return {\n rowGap: calculatedGap,\n columnGap: calculatedGap,\n };\n};\n\n/**\n * Takes in a padding in a CSS-style format (e.g. 10, \"10px\", \"10px 10px\", etc.)\n * where the separate padding values can also be the key of a themed spacing value\n * (e.g. \"s1 m\", \"10px l1 20px l2\", etc.).\n * Returns a CSS-style padding.\n */\nexport const parsePadding = (padding: number | string | undefined, theme: ITheme): number | string | undefined => {\n if (padding === undefined || typeof padding === 'number' || padding === '') {\n return padding;\n }\n\n const paddingValues = padding.split(' ');\n if (paddingValues.length < 2) {\n return getThemedSpacing(padding, theme);\n }\n\n return paddingValues.reduce((padding1: string, padding2: string) => {\n return getThemedSpacing(padding1, theme) + ' ' + getThemedSpacing(padding2, theme);\n });\n};\n\nexport interface StackShimStyles {\n root?: IStyle;\n inner?: IStyle;\n}\n/**\n *\n * getStyles function for Stack.tokens.childrenGap prop styling\n */\nexport const getChildrenGapStyles = (props: IStackProps): StackShimStyles => {\n const theme = getTheme();\n\n const { horizontal, reversed } = props;\n const tokens: IStackTokens = { ...props.tokens };\n\n const { rowGap, columnGap } = parseGap(tokens.childrenGap, theme);\n const horizontalMargin = `${-0.5 * columnGap.value}${columnGap.unit}`;\n const verticalMargin = `${-0.5 * rowGap.value}${rowGap.unit}`;\n\n return {\n root: [\n reversed &&\n horizontal && {\n '> *:not(:last-child)': {\n marginLeft: `${columnGap.value}${columnGap.unit}`,\n },\n },\n reversed &&\n !horizontal && {\n '> *:not(:last-child)': {\n marginTop: `${rowGap.value}${rowGap.unit}`,\n },\n },\n !reversed &&\n horizontal && {\n '> *:not(:first-child)': {\n marginLeft: `${columnGap.value}${columnGap.unit}`,\n },\n },\n !reversed &&\n !horizontal && {\n '> *:not(:first-child)': {\n marginTop: `${rowGap.value}${rowGap.unit}`,\n },\n },\n ],\n inner: [\n {\n marginLeft: horizontalMargin,\n marginRight: horizontalMargin,\n marginTop: verticalMargin,\n marginBottom: verticalMargin,\n width: columnGap.value === 0 ? '100%' : `calc(100% + ${columnGap.value}${columnGap.unit})`,\n '> *': {\n margin: `${0.5 * rowGap.value}${rowGap.unit} ${0.5 * columnGap.value}${columnGap.unit}`,\n },\n },\n horizontal && {\n height: rowGap.value === 0 ? '100%' : `calc(100% + ${rowGap.value}${rowGap.unit})`,\n '> *': {\n maxWidth: columnGap.value === 0 ? '100%' : `calc(100% - ${columnGap.value}${columnGap.unit})`,\n },\n },\n !horizontal && {\n height: `calc(100% + ${rowGap.value}${rowGap.unit})`,\n '> *': {\n maxHeight: rowGap.value === 0 ? '100%' : `calc(100% - ${rowGap.value}${rowGap.unit})`,\n },\n },\n ],\n };\n};\n"],"names":["getChildrenGapStyles","parseGap","parsePadding","getThemedSpacing","space","theme","spacing","hasOwnProperty","getValueUnitGap","gap","numericalPart","parseFloat","numericalValue","isNaN","numericalString","toString","unitPart","substring","length","value","unit","undefined","rowGap","columnGap","splitGap","split","calculatedGap","padding","paddingValues","reduce","padding1","padding2","props","getTheme","horizontal","reversed","tokens","childrenGap","horizontalMargin","verticalMargin","root","marginLeft","marginTop","inner","marginRight","marginBottom","width","margin","height","maxWidth","maxHeight"],"rangeMappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","m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EAAEG,OAAOF,IAAI,CAAC,CAAC,CAAC;gBACvF;YACF;SACD;IACH;AACF"}
1
+ {"version":3,"sources":["../src/components/Stack/stackUtils.ts"],"sourcesContent":["import { getTheme, IStackProps, IStackTokens, IStyle, ITheme } from '@fluentui/react';\n\n// Helper function that converts a themed spacing key (if given) to the corresponding themed spacing value.\nconst getThemedSpacing = (space: string, theme: ITheme): string => {\n if (theme.spacing.hasOwnProperty(space)) {\n return theme.spacing[space as keyof typeof theme.spacing];\n }\n return space;\n};\n\n// Helper function that takes a gap as a string and converts it into a { value, unit } representation.\nconst getValueUnitGap = (gap: string): { value: number; unit: string } => {\n const numericalPart = parseFloat(gap);\n const numericalValue = isNaN(numericalPart) ? 0 : numericalPart;\n const numericalString = isNaN(numericalPart) ? '' : numericalPart.toString();\n\n const unitPart = gap.substring(numericalString.toString().length);\n\n return {\n value: numericalValue,\n unit: unitPart || 'px',\n };\n};\n\n/**\n * Takes in a gap size in either a CSS-style format (e.g. 10 or \"10px\")\n * or a key of a themed spacing value (e.g. \"s1\").\n * Returns the separate numerical value of the padding (e.g. 10)\n * and the CSS unit (e.g. \"px\").\n */\nexport const parseGap = (\n gap: IStackProps['gap'],\n theme: ITheme,\n): { rowGap: { value: number; unit: string }; columnGap: { value: number; unit: string } } => {\n if (gap === undefined || gap === '') {\n return {\n rowGap: {\n value: 0,\n unit: 'px',\n },\n columnGap: {\n value: 0,\n unit: 'px',\n },\n };\n }\n\n if (typeof gap === 'number') {\n return {\n rowGap: {\n value: gap,\n unit: 'px',\n },\n columnGap: {\n value: gap,\n unit: 'px',\n },\n };\n }\n\n const splitGap = gap.split(' ');\n\n // If the array has more than two values, then return 0px.\n if (splitGap.length > 2) {\n return {\n rowGap: {\n value: 0,\n unit: 'px',\n },\n columnGap: {\n value: 0,\n unit: 'px',\n },\n };\n }\n\n // If the array has two values, then parse each one.\n if (splitGap.length === 2) {\n return {\n rowGap: getValueUnitGap(getThemedSpacing(splitGap[0], theme)),\n columnGap: getValueUnitGap(getThemedSpacing(splitGap[1], theme)),\n };\n }\n\n // Else, parse the numerical value and pass it as both the vertical and horizontal gap.\n const calculatedGap = getValueUnitGap(getThemedSpacing(gap, theme));\n\n return {\n rowGap: calculatedGap,\n columnGap: calculatedGap,\n };\n};\n\n/**\n * Takes in a padding in a CSS-style format (e.g. 10, \"10px\", \"10px 10px\", etc.)\n * where the separate padding values can also be the key of a themed spacing value\n * (e.g. \"s1 m\", \"10px l1 20px l2\", etc.).\n * Returns a CSS-style padding.\n */\nexport const parsePadding = (padding: number | string | undefined, theme: ITheme): number | string | undefined => {\n if (padding === undefined || typeof padding === 'number' || padding === '') {\n return padding;\n }\n\n const paddingValues = padding.split(' ');\n if (paddingValues.length < 2) {\n return getThemedSpacing(padding, theme);\n }\n\n return paddingValues.reduce((padding1: string, padding2: string) => {\n return getThemedSpacing(padding1, theme) + ' ' + getThemedSpacing(padding2, theme);\n });\n};\n\nexport interface StackShimStyles {\n root?: IStyle;\n inner?: IStyle;\n}\n/**\n *\n * getStyles function for Stack.tokens.childrenGap prop styling\n */\nexport const getChildrenGapStyles = (props: IStackProps): StackShimStyles => {\n const theme = getTheme();\n\n const { horizontal, reversed } = props;\n const tokens: IStackTokens = { ...props.tokens };\n\n const { rowGap, columnGap } = parseGap(tokens.childrenGap, theme);\n const horizontalMargin = `${-0.5 * columnGap.value}${columnGap.unit}`;\n const verticalMargin = `${-0.5 * rowGap.value}${rowGap.unit}`;\n\n return {\n root: [\n reversed &&\n horizontal && {\n '> *:not(:last-child)': {\n marginLeft: `${columnGap.value}${columnGap.unit}`,\n },\n },\n reversed &&\n !horizontal && {\n '> *:not(:last-child)': {\n marginTop: `${rowGap.value}${rowGap.unit}`,\n },\n },\n !reversed &&\n horizontal && {\n '> *:not(:first-child)': {\n marginLeft: `${columnGap.value}${columnGap.unit}`,\n },\n },\n !reversed &&\n !horizontal && {\n '> *:not(:first-child)': {\n marginTop: `${rowGap.value}${rowGap.unit}`,\n },\n },\n ],\n inner: [\n {\n marginLeft: horizontalMargin,\n marginRight: horizontalMargin,\n marginTop: verticalMargin,\n marginBottom: verticalMargin,\n width: columnGap.value === 0 ? '100%' : `calc(100% + ${columnGap.value}${columnGap.unit})`,\n '> *': {\n margin: `${0.5 * rowGap.value}${rowGap.unit} ${0.5 * columnGap.value}${columnGap.unit}`,\n },\n },\n horizontal && {\n height: rowGap.value === 0 ? '100%' : `calc(100% + ${rowGap.value}${rowGap.unit})`,\n '> *': {\n maxWidth: columnGap.value === 0 ? '100%' : `calc(100% - ${columnGap.value}${columnGap.unit})`,\n },\n },\n !horizontal && {\n height: `calc(100% + ${rowGap.value}${rowGap.unit})`,\n '> *': {\n maxHeight: rowGap.value === 0 ? '100%' : `calc(100% - ${rowGap.value}${rowGap.unit})`,\n },\n },\n ],\n };\n};\n"],"names":["getChildrenGapStyles","parseGap","parsePadding","getThemedSpacing","space","theme","spacing","hasOwnProperty","getValueUnitGap","gap","numericalPart","parseFloat","numericalValue","isNaN","numericalString","toString","unitPart","substring","length","value","unit","undefined","rowGap","columnGap","splitGap","split","calculatedGap","padding","paddingValues","reduce","padding1","padding2","props","getTheme","horizontal","reversed","tokens","childrenGap","horizontalMargin","verticalMargin","root","marginLeft","marginTop","inner","marginRight","marginBottom","width","margin","height","maxWidth","maxHeight"],"rangeMappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","mappings":";;;;;;;;;;;IA0HaA,oBAAAA;eAAAA;;IA5FAC,QAAAA;eAAAA;;IAqEAC,YAAAA;eAAAA;;;uBAnGuD;AAEpE,2GAA2G;AAC3G,MAAMC,mBAAmB,CAACC,OAAeC;IACvC,IAAIA,MAAMC,OAAO,CAACC,cAAc,CAACH,QAAQ;QACvC,OAAOC,MAAMC,OAA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cAAc;gBACb,yBAAyB;oBACvBQ,WAAW,CAAC,EAAEpB,OAAOH,KAAK,CAAC,EAAEG,OAAOF,IAAI,CAAC,CAAC;gBAC5C;YACF;SACH;QACDuB,OAAO;YACL;gBACEF,YAAYH;gBACZM,aAAaN;gBACbI,WAAWH;gBACXM,cAAcN;gBACdO,OAAOvB,UAAUJ,KAAK,KAAK,IAAI,SAAS,CAAC,YAAY,EAAEI,UAAUJ,KAAK,CAAC,EAAEI,UAAUH,IAAI,CAAC,CAAC,CAAC;gBAC1F,OAAO;oBACL2B,QAAQ,CAAC,EAAE,MAAMzB,OAAOH,KAAK,CAAC,EAAEG,OAAOF,IAAI,CAAC,CAAC,EAAE,MAAMG,UAAUJ,KAAK,CAAC,EAAEI,UAAUH,IAAI,CAAC,CAAC;gBACzF;YACF;YACAc,cAAc;gBACZc,QAAQ1B,OAAOH,KAAK,KAAK,IAAI,SAAS,CAAC,YAAY,EAAEG,OAAOH,KAAK,CAAC,EAAEG,OAAOF,IAAI,CAAC,CAAC,CAAC;gBAClF,OAAO;oBACL6B,UAAU1B,UAAUJ,KAAK,KAAK,IAAI,SAAS,CAAC,YAAY,EAAEI,UAAUJ,KAAK,CAAC,EAAEI,UAAUH,IAAI,CAAC,CAAC,CAAC;gBAC/F;YACF;YACA,CAACc,cAAc;gBACbc,QAAQ,CAAC,YAAY,EAAE1B,OAAOH,KAAK,CAAC,EAAEG,OAAOF,IAAI,CAAC,CAAC,CAAC;gBACpD,OAAO;oBACL8B,WAAW5B,OAAOH,KAAK,KAAK,IAAI,SAAS,CAAC,YAAY,EAAEG,OAAOH,KAAK,CAAC,EAAEG,OAAOF,IAAI,CAAC,CAAC,CAAC;gBACvF;YACF;SACD;IACH;AACF"}
@@ -1 +1 @@
1
- {"version":3,"sources":["index.ts"],"sourcesContent":["export * from './themeDuplicates';\nexport * from './v8ThemeShim';\nexport * from './v9BrandVariantsShim';\nexport * from './v9ThemeShim';\n"],"names":[],"rangeMappings":";;;;;;;;","mappings":";;;;;uBAAc;uBACA;uBACA;uBACA"}
1
+ {"version":3,"sources":["../src/components/Theme/index.ts"],"sourcesContent":["export * from './themeDuplicates';\nexport * from './v8ThemeShim';\nexport * from './v9BrandVariantsShim';\nexport * from './v9ThemeShim';\n"],"names":[],"rangeMappings":";;;;;;;;","mappings":";;;;;uBAAc;uBACA;uBACA;uBACA"}
@@ -1 +1 @@
1
- {"version":3,"sources":["themeDuplicates.ts"],"sourcesContent":["/**\n * These colors have been copied here from react-theme because they are not exported from that package.\n * They are necessary to build the theme shims.\n */\n\nimport type { BrandVariants } from '@fluentui/react-components';\n\n/**\n * Possible color variant values\n */\nexport type ColorVariants = {\n shade50: string;\n shade40: string;\n shade30: string;\n shade20: string;\n shade10: string;\n primary: string;\n tint10: string;\n tint20: string;\n tint30: string;\n tint40: string;\n tint50: string;\n tint60: string;\n};\n\n/**\n * All the global shared colors and their shade/tint variants\n */\nexport type GlobalSharedColors = {\n darkRed: ColorVariants;\n burgundy: ColorVariants;\n cranberry: ColorVariants;\n red: ColorVariants;\n darkOrange: ColorVariants;\n bronze: ColorVariants;\n pumpkin: ColorVariants;\n orange: ColorVariants;\n peach: ColorVariants;\n marigold: ColorVariants;\n yellow: ColorVariants;\n gold: ColorVariants;\n brass: ColorVariants;\n brown: ColorVariants;\n darkBrown: ColorVariants;\n lime: ColorVariants;\n forest: ColorVariants;\n seafoam: ColorVariants;\n lightGreen: ColorVariants;\n green: ColorVariants;\n darkGreen: ColorVariants;\n lightTeal: ColorVariants;\n teal: ColorVariants;\n darkTeal: ColorVariants;\n cyan: ColorVariants;\n steel: ColorVariants;\n lightBlue: ColorVariants;\n blue: ColorVariants;\n royalBlue: ColorVariants;\n darkBlue: ColorVariants;\n cornflower: ColorVariants;\n navy: ColorVariants;\n lavender: ColorVariants;\n purple: ColorVariants;\n darkPurple: ColorVariants;\n orchid: ColorVariants;\n grape: ColorVariants;\n berry: ColorVariants;\n lilac: ColorVariants;\n pink: ColorVariants;\n hotPink: ColorVariants;\n magenta: ColorVariants;\n plum: ColorVariants;\n beige: ColorVariants;\n mink: ColorVariants;\n silver: ColorVariants;\n platinum: ColorVariants;\n anchor: ColorVariants;\n charcoal: ColorVariants;\n};\n\nexport type TextAlignment =\n | 'inherit'\n | 'initial'\n | 'revert'\n | 'unset'\n | 'center'\n | 'end'\n | 'start'\n | 'justify'\n | 'left'\n | 'match-parent'\n | 'right';\n\nexport type TextAlignments = {\n start: TextAlignment;\n center: TextAlignment;\n end: TextAlignment;\n justify: TextAlignment;\n};\n\nexport type Greys =\n | 0\n | 2\n | 4\n | 6\n | 8\n | 10\n | 12\n | 14\n | 16\n | 18\n | 20\n | 22\n | 24\n | 26\n | 28\n | 30\n | 32\n | 34\n | 36\n | 38\n | 40\n | 42\n | 44\n | 46\n | 48\n | 50\n | 52\n | 54\n | 56\n | 58\n | 60\n | 62\n | 64\n | 66\n | 68\n | 70\n | 72\n | 74\n | 76\n | 78\n | 80\n | 82\n | 84\n | 86\n | 88\n | 90\n | 92\n | 94\n | 96\n | 98\n | 100;\n\nexport type AlphaColors = 5 | 10 | 20 | 30 | 40 | 50 | 60 | 70 | 80 | 90;\n\nexport const grey: Record<Greys, string> = {\n '0': '#000000',\n '2': '#050505',\n '4': '#0a0a0a',\n '6': '#0f0f0f',\n '8': '#141414',\n '10': '#1a1a1a',\n '12': '#1f1f1f',\n '14': '#242424',\n '16': '#292929',\n '18': '#2e2e2e',\n '20': '#333333',\n '22': '#383838',\n '24': '#3d3d3d',\n '26': '#424242',\n '28': '#474747',\n '30': '#4d4d4d',\n '32': '#525252',\n '34': '#575757',\n '36': '#5c5c5c',\n '38': '#616161',\n '40': '#666666',\n '42': '#6b6b6b',\n '44': '#707070',\n '46': '#757575',\n '48': '#7a7a7a',\n '50': '#808080',\n '52': '#858585',\n '54': '#8a8a8a',\n '56': '#8f8f8f',\n '58': '#949494',\n '60': '#999999',\n '62': '#9e9e9e',\n '64': '#a3a3a3',\n '66': '#a8a8a8',\n '68': '#adadad',\n '70': '#b3b3b3',\n '72': '#b8b8b8',\n '74': '#bdbdbd',\n '76': '#c2c2c2',\n '78': '#c7c7c7',\n '80': '#cccccc',\n '82': '#d1d1d1',\n '84': '#d6d6d6',\n '86': '#dbdbdb',\n '88': '#e0e0e0',\n '90': '#e6e6e6',\n '92': '#ebebeb',\n '94': '#f0f0f0',\n '96': '#f5f5f5',\n '98': '#fafafa',\n '100': '#ffffff',\n};\n\nexport const whiteAlpha: Record<AlphaColors, string> = {\n '5': 'rgba(255, 255, 255, 0.05)',\n '10': 'rgba(255, 255, 255, 0.1)',\n '20': 'rgba(255, 255, 255, 0.2)',\n '30': 'rgba(255, 255, 255, 0.3)',\n '40': 'rgba(255, 255, 255, 0.4)',\n '50': 'rgba(255, 255, 255, 0.5)',\n '60': 'rgba(255, 255, 255, 0.6)',\n '70': 'rgba(255, 255, 255, 0.7)',\n '80': 'rgba(255, 255, 255, 0.8)',\n '90': 'rgba(255, 255, 255, 0.9)',\n};\n\nexport const blackAlpha: Record<AlphaColors, string> = {\n '5': 'rgba(0, 0, 0, 0.05)',\n '10': 'rgba(0, 0, 0, 0.1)',\n '20': 'rgba(0, 0, 0, 0.2)',\n '30': 'rgba(0, 0, 0, 0.3)',\n '40': 'rgba(0, 0, 0, 0.4)',\n '50': 'rgba(0, 0, 0, 0.5)',\n '60': 'rgba(0, 0, 0, 0.6)',\n '70': 'rgba(0, 0, 0, 0.7)',\n '80': 'rgba(0, 0, 0, 0.8)',\n '90': 'rgba(0, 0, 0, 0.9)',\n};\n\nexport const grey10Alpha: Record<AlphaColors, string> = {\n '5': 'rgba(26, 26, 26, 0.05)',\n '10': 'rgba(26, 26, 26, 0.1)',\n '20': 'rgba(26, 26, 26, 0.2)',\n '30': 'rgba(26, 26, 26, 0.3)',\n '40': 'rgba(26, 26, 26, 0.4)',\n '50': 'rgba(26, 26, 26, 0.5)',\n '60': 'rgba(26, 26, 26, 0.6)',\n '70': 'rgba(26, 26, 26, 0.7)',\n '80': 'rgba(26, 26, 26, 0.8)',\n '90': 'rgba(26, 26, 26, 0.9)',\n};\n\nexport const grey12Alpha: Record<AlphaColors, string> = {\n '5': 'rgba(31, 31, 31, 0.05)',\n '10': 'rgba(31, 31, 31, 0.1)',\n '20': 'rgba(31, 31, 31, 0.2)',\n '30': 'rgba(31, 31, 31, 0.3)',\n '40': 'rgba(31, 31, 31, 0.4)',\n '50': 'rgba(31, 31, 31, 0.5)',\n '60': 'rgba(31, 31, 31, 0.6)',\n '70': 'rgba(31, 31, 31, 0.7)',\n '80': 'rgba(31, 31, 31, 0.8)',\n '90': 'rgba(31, 31, 31, 0.9)',\n};\n\nexport const grey14Alpha: Record<AlphaColors, string> = {\n '5': 'rgba(36, 36, 36, 0.05)',\n '10': 'rgba(36, 36, 36, 0.1)',\n '20': 'rgba(36, 36, 36, 0.2)',\n '30': 'rgba(36, 36, 36, 0.3)',\n '40': 'rgba(36, 36, 36, 0.4)',\n '50': 'rgba(36, 36, 36, 0.5)',\n '60': 'rgba(36, 36, 36, 0.6)',\n '70': 'rgba(36, 36, 36, 0.7)',\n '80': 'rgba(36, 36, 36, 0.8)',\n '90': 'rgba(36, 36, 36, 0.9)',\n};\n\nexport const white = '#ffffff';\n\nexport const black = '#000000';\n\nexport const hcHyperlink = '#ffff00';\n\nexport const hcHighlight = '#1aebff';\n\nexport const hcDisabled = '#3ff23f';\n\nexport const hcCanvas = '#000000';\n\nexport const hcCanvasText = '#ffffff';\n\nexport const hcHighlightText = '#000000';\n\nexport const hcButtonText = '#000000';\n\nexport const hcButtonFace = '#ffffff';\n\nconst darkRed: ColorVariants = {\n shade50: '#130204',\n shade40: '#230308',\n shade30: '#420610',\n shade20: '#590815',\n shade10: '#690a19',\n primary: '#750b1c',\n tint10: '#861b2c',\n tint20: '#962f3f',\n tint30: '#ac4f5e',\n tint40: '#d69ca5',\n tint50: '#e9c7cd',\n tint60: '#f9f0f2',\n};\n\nconst burgundy: ColorVariants = {\n shade50: '#1a0607',\n shade40: '#310b0d',\n shade30: '#5c1519',\n shade20: '#7d1d21',\n shade10: '#942228',\n primary: '#a4262c',\n tint10: '#af393e',\n tint20: '#ba4d52',\n tint30: '#c86c70',\n tint40: '#e4afb2',\n tint50: '#f0d3d4',\n tint60: '#fbf4f4',\n};\n\nconst cranberry: ColorVariants = {\n shade50: '#200205',\n shade40: '#3b0509',\n shade30: '#6e0811',\n shade20: '#960b18',\n shade10: '#b10e1c',\n primary: '#c50f1f',\n tint10: '#cc2635',\n tint20: '#d33f4c',\n tint30: '#dc626d',\n tint40: '#eeacb2',\n tint50: '#f6d1d5',\n tint60: '#fdf3f4',\n};\n\nconst red: ColorVariants = {\n shade50: '#210809',\n shade40: '#3f1011',\n shade30: '#751d1f',\n shade20: '#9f282b',\n shade10: '#bc2f32',\n primary: '#d13438',\n tint10: '#d7494c',\n tint20: '#dc5e62',\n tint30: '#e37d80',\n tint40: '#f1bbbc',\n tint50: '#f8dadb',\n tint60: '#fdf6f6',\n};\n\nconst darkOrange: ColorVariants = {\n shade50: '#230900',\n shade40: '#411200',\n shade30: '#7a2101',\n shade20: '#a62d01',\n shade10: '#c43501',\n primary: '#da3b01',\n tint10: '#de501c',\n tint20: '#e36537',\n tint30: '#e9835e',\n tint40: '#f4bfab',\n tint50: '#f9dcd1',\n tint60: '#fdf6f3',\n};\n\nconst bronze: ColorVariants = {\n shade50: '#1b0a01',\n shade40: '#321303',\n shade30: '#5e2405',\n shade20: '#7f3107',\n shade10: '#963a08',\n primary: '#a74109',\n tint10: '#b2521e',\n tint20: '#bc6535',\n tint30: '#ca8057',\n tint40: '#e5bba4',\n tint50: '#f1d9cc',\n tint60: '#fbf5f2',\n};\n\nconst pumpkin: ColorVariants = {\n shade50: '#200d03',\n shade40: '#3d1805',\n shade30: '#712d09',\n shade20: '#9a3d0c',\n shade10: '#b6480e',\n primary: '#ca5010',\n tint10: '#d06228',\n tint20: '#d77440',\n tint30: '#df8e64',\n tint40: '#efc4ad',\n tint50: '#f7dfd2',\n tint60: '#fdf7f4',\n};\n\nconst orange: ColorVariants = {\n shade50: '#271002',\n shade40: '#4a1e04',\n shade30: '#8a3707',\n shade20: '#bc4b09',\n shade10: '#de590b',\n primary: '#f7630c',\n tint10: '#f87528',\n tint20: '#f98845',\n tint30: '#faa06b',\n tint40: '#fdcfb4',\n tint50: '#fee5d7',\n tint60: '#fff9f5',\n};\n\nconst peach: ColorVariants = {\n shade50: '#291600',\n shade40: '#4d2a00',\n shade30: '#8f4e00',\n shade20: '#c26a00',\n shade10: '#e67e00',\n primary: '#ff8c00',\n tint10: '#ff9a1f',\n tint20: '#ffa83d',\n tint30: '#ffba66',\n tint40: '#ffddb3',\n tint50: '#ffedd6',\n tint60: '#fffaf5',\n};\n\nconst marigold: ColorVariants = {\n shade50: '#251a00',\n shade40: '#463100',\n shade30: '#835b00',\n shade20: '#b27c00',\n shade10: '#d39300',\n primary: '#eaa300',\n tint10: '#edad1c',\n tint20: '#efb839',\n tint30: '#f2c661',\n tint40: '#f9e2ae',\n tint50: '#fcefd3',\n tint60: '#fefbf4',\n};\n\nconst yellow: ColorVariants = {\n primary: '#fde300',\n shade10: '#e4cc00',\n shade20: '#c0ad00',\n shade30: '#817400',\n shade40: '#4c4400',\n shade50: '#282400',\n tint10: '#fde61e',\n tint20: '#fdea3d',\n tint30: '#feee66',\n tint40: '#fef7b2',\n tint50: '#fffad6',\n tint60: '#fffef5',\n};\n\nconst gold: ColorVariants = {\n shade50: '#1f1900',\n shade40: '#3a2f00',\n shade30: '#6c5700',\n shade20: '#937700',\n shade10: '#ae8c00',\n primary: '#c19c00',\n tint10: '#c8a718',\n tint20: '#d0b232',\n tint30: '#dac157',\n tint40: '#ecdfa5',\n tint50: '#f5eece',\n tint60: '#fdfbf2',\n};\n\nconst brass: ColorVariants = {\n shade50: '#181202',\n shade40: '#2e2103',\n shade30: '#553e06',\n shade20: '#745408',\n shade10: '#89640a',\n primary: '#986f0b',\n tint10: '#a47d1e',\n tint20: '#b18c34',\n tint30: '#c1a256',\n tint40: '#e0cea2',\n tint50: '#efe4cb',\n tint60: '#fbf8f2',\n};\n\nconst brown: ColorVariants = {\n shade50: '#170e07',\n shade40: '#2b1a0e',\n shade30: '#50301a',\n shade20: '#6c4123',\n shade10: '#804d29',\n primary: '#8e562e',\n tint10: '#9c663f',\n tint20: '#a97652',\n tint30: '#bb8f6f',\n tint40: '#ddc3b0',\n tint50: '#edded3',\n tint60: '#faf7f4',\n};\n\nconst darkBrown: ColorVariants = {\n shade50: '#0c0704',\n shade40: '#170c08',\n shade30: '#2b1710',\n shade20: '#3a1f15',\n shade10: '#452519',\n primary: '#4d291c',\n tint10: '#623a2b',\n tint20: '#784d3e',\n tint30: '#946b5c',\n tint40: '#caada3',\n tint50: '#e3d2cb',\n tint60: '#f8f3f2',\n};\n\nconst lime: ColorVariants = {\n shade50: '#121b06',\n shade40: '#23330b',\n shade30: '#405f14',\n shade20: '#57811b',\n shade10: '#689920',\n primary: '#73aa24',\n tint10: '#81b437',\n tint20: '#90be4c',\n tint30: '#a4cc6c',\n tint40: '#cfe5af',\n tint50: '#e5f1d3',\n tint60: '#f8fcf4',\n};\n\nconst forest: ColorVariants = {\n shade50: '#0c1501',\n shade40: '#162702',\n shade30: '#294903',\n shade20: '#376304',\n shade10: '#427505',\n primary: '#498205',\n tint10: '#599116',\n tint20: '#6ba02b',\n tint30: '#85b44c',\n tint40: '#bdd99b',\n tint50: '#dbebc7',\n tint60: '#f6faf0',\n};\n\nconst seafoam: ColorVariants = {\n shade50: '#002111',\n shade40: '#003d20',\n shade30: '#00723b',\n shade20: '#009b51',\n shade10: '#00b85f',\n primary: '#00cc6a',\n tint10: '#19d279',\n tint20: '#34d889',\n tint30: '#5ae0a0',\n tint40: '#a8f0cd',\n tint50: '#cff7e4',\n tint60: '#f3fdf8',\n};\n\nconst lightGreen: ColorVariants = {\n shade50: '#031a02',\n shade40: '#063004',\n shade30: '#0b5a08',\n shade20: '#0e7a0b',\n shade10: '#11910d',\n primary: '#13a10e',\n tint10: '#27ac22',\n tint20: '#3db838',\n tint30: '#5ec75a',\n tint40: '#a7e3a5',\n tint50: '#cef0cd',\n tint60: '#f2fbf2',\n};\n\nconst green: ColorVariants = {\n shade50: '#031403',\n shade40: '#052505',\n shade30: '#094509',\n shade20: '#0c5e0c',\n shade10: '#0e700e',\n primary: '#107c10',\n tint10: '#218c21',\n tint20: '#359b35',\n tint30: '#54b054',\n tint40: '#9fd89f',\n tint50: '#c9eac9',\n tint60: '#f1faf1',\n};\n\nconst darkGreen: ColorVariants = {\n shade50: '#021102',\n shade40: '#032003',\n shade30: '#063b06',\n shade20: '#085108',\n shade10: '#0a5f0a',\n primary: '#0b6a0b',\n tint10: '#1a7c1a',\n tint20: '#2d8e2d',\n tint30: '#4da64d',\n tint40: '#9ad29a',\n tint50: '#c6e7c6',\n tint60: '#f0f9f0',\n};\n\nconst lightTeal: ColorVariants = {\n shade50: '#001d1f',\n shade40: '#00373a',\n shade30: '#00666d',\n shade20: '#008b94',\n shade10: '#00a5af',\n primary: '#00b7c3',\n tint10: '#18bfca',\n tint20: '#32c8d1',\n tint30: '#58d3db',\n tint40: '#a6e9ed',\n tint50: '#cef3f5',\n tint60: '#f2fcfd',\n};\n\nconst teal: ColorVariants = {\n shade50: '#001516',\n shade40: '#012728',\n shade30: '#02494c',\n shade20: '#026467',\n shade10: '#037679',\n primary: '#038387',\n tint10: '#159195',\n tint20: '#2aa0a4',\n tint30: '#4cb4b7',\n tint40: '#9bd9db',\n tint50: '#c7ebec',\n tint60: '#f0fafa',\n};\n\nconst darkTeal: ColorVariants = {\n shade50: '#001010',\n shade40: '#001f1f',\n shade30: '#003939',\n shade20: '#004e4e',\n shade10: '#005c5c',\n primary: '#006666',\n tint10: '#0e7878',\n tint20: '#218b8b',\n tint30: '#41a3a3',\n tint40: '#92d1d1',\n tint50: '#c2e7e7',\n tint60: '#eff9f9',\n};\n\nconst cyan: ColorVariants = {\n shade50: '#00181e',\n shade40: '#002e38',\n shade30: '#005669',\n shade20: '#00748f',\n shade10: '#008aa9',\n primary: '#0099bc',\n tint10: '#18a4c4',\n tint20: '#31afcc',\n tint30: '#56bfd7',\n tint40: '#a4deeb',\n tint50: '#cdedf4',\n tint60: '#f2fafc',\n};\n\nconst steel: ColorVariants = {\n shade50: '#000f12',\n shade40: '#001b22',\n shade30: '#00333f',\n shade20: '#004555',\n shade10: '#005265',\n primary: '#005b70',\n tint10: '#0f6c81',\n tint20: '#237d92',\n tint30: '#4496a9',\n tint40: '#94c8d4',\n tint50: '#c3e1e8',\n tint60: '#eff7f9',\n};\n\nconst lightBlue: ColorVariants = {\n shade50: '#091823',\n shade40: '#112d42',\n shade30: '#20547c',\n shade20: '#2c72a8',\n shade10: '#3487c7',\n primary: '#3a96dd',\n tint10: '#4fa1e1',\n tint20: '#65ade5',\n tint30: '#83bdeb',\n tint40: '#bfddf5',\n tint50: '#dcedfa',\n tint60: '#f6fafe',\n};\n\nconst blue: ColorVariants = {\n shade50: '#001322',\n shade40: '#002440',\n shade30: '#004377',\n shade20: '#005ba1',\n shade10: '#006cbf',\n primary: '#0078d4',\n tint10: '#1a86d9',\n tint20: '#3595de',\n tint30: '#5caae5',\n tint40: '#a9d3f2',\n tint50: '#d0e7f8',\n tint60: '#f3f9fd',\n};\n\nconst royalBlue: ColorVariants = {\n shade50: '#000c16',\n shade40: '#00172a',\n shade30: '#002c4e',\n shade20: '#003b6a',\n shade10: '#00467e',\n primary: '#004e8c',\n tint10: '#125e9a',\n tint20: '#286fa8',\n tint30: '#4a89ba',\n tint40: '#9abfdc',\n tint50: '#c7dced',\n tint60: '#f0f6fa',\n};\n\nconst darkBlue: ColorVariants = {\n shade50: '#000910',\n shade40: '#00111f',\n shade30: '#002039',\n shade20: '#002b4e',\n shade10: '#00335c',\n primary: '#003966',\n tint10: '#0e4a78',\n tint20: '#215c8b',\n tint30: '#4178a3',\n tint40: '#92b5d1',\n tint50: '#c2d6e7',\n tint60: '#eff4f9',\n};\n\nconst cornflower: ColorVariants = {\n shade50: '#0d1126',\n shade40: '#182047',\n shade30: '#2c3c85',\n shade20: '#3c51b4',\n shade10: '#4760d5',\n primary: '#4f6bed',\n tint10: '#637cef',\n tint20: '#778df1',\n tint30: '#93a4f4',\n tint40: '#c8d1fa',\n tint50: '#e1e6fc',\n tint60: '#f7f9fe',\n};\n\nconst navy: ColorVariants = {\n shade50: '#00061d',\n shade40: '#000c36',\n shade30: '#001665',\n shade20: '#001e89',\n shade10: '#0023a2',\n primary: '#0027b4',\n tint10: '#173bbd',\n tint20: '#3050c6',\n tint30: '#546fd2',\n tint40: '#a3b2e8',\n tint50: '#ccd5f3',\n tint60: '#f2f4fc',\n};\n\nconst lavender: ColorVariants = {\n shade50: '#120f25',\n shade40: '#221d46',\n shade30: '#3f3682',\n shade20: '#5649b0',\n shade10: '#6656d1',\n primary: '#7160e8',\n tint10: '#8172eb',\n tint20: '#9184ee',\n tint30: '#a79cf1',\n tint40: '#d2ccf8',\n tint50: '#e7e4fb',\n tint60: '#f9f8fe',\n};\n\nconst purple: ColorVariants = {\n shade50: '#0f0717',\n shade40: '#1c0e2b',\n shade30: '#341a51',\n shade20: '#46236e',\n shade10: '#532982',\n primary: '#5c2e91',\n tint10: '#6b3f9e',\n tint20: '#7c52ab',\n tint30: '#9470bd',\n tint40: '#c6b1de',\n tint50: '#e0d3ed',\n tint60: '#f7f4fb',\n};\n\nconst darkPurple: ColorVariants = {\n shade50: '#0a0411',\n shade40: '#130820',\n shade30: '#240f3c',\n shade20: '#311552',\n shade10: '#3a1861',\n primary: '#401b6c',\n tint10: '#512b7e',\n tint20: '#633e8f',\n tint30: '#7e5ca7',\n tint40: '#b9a3d3',\n tint50: '#d8cce7',\n tint60: '#f5f2f9',\n};\n\nconst orchid: ColorVariants = {\n shade50: '#16101d',\n shade40: '#281e37',\n shade30: '#4c3867',\n shade20: '#674c8c',\n shade10: '#795aa6',\n primary: '#8764b8',\n tint10: '#9373c0',\n tint20: '#a083c9',\n tint30: '#b29ad4',\n tint40: '#d7caea',\n tint50: '#e9e2f4',\n tint60: '#f9f8fc',\n};\n\nconst grape: ColorVariants = {\n shade50: '#160418',\n shade40: '#29072e',\n shade30: '#4c0d55',\n shade20: '#671174',\n shade10: '#7a1589',\n primary: '#881798',\n tint10: '#952aa4',\n tint20: '#a33fb1',\n tint30: '#b55fc1',\n tint40: '#d9a7e0',\n tint50: '#eaceef',\n tint60: '#faf2fb',\n};\n\nconst berry: ColorVariants = {\n shade50: '#1f091d',\n shade40: '#3a1136',\n shade30: '#6d2064',\n shade20: '#932b88',\n shade10: '#af33a1',\n primary: '#c239b3',\n tint10: '#c94cbc',\n tint20: '#d161c4',\n tint30: '#da7ed0',\n tint40: '#edbbe7',\n tint50: '#f5daf2',\n tint60: '#fdf5fc',\n};\n\nconst lilac: ColorVariants = {\n shade50: '#1c0b1f',\n shade40: '#35153a',\n shade30: '#63276d',\n shade20: '#863593',\n shade10: '#9f3faf',\n primary: '#b146c2',\n tint10: '#ba58c9',\n tint20: '#c36bd1',\n tint30: '#cf87da',\n tint40: '#e6bfed',\n tint50: '#f2dcf5',\n tint60: '#fcf6fd',\n};\n\nconst pink: ColorVariants = {\n shade50: '#24091b',\n shade40: '#441232',\n shade30: '#80215d',\n shade20: '#ad2d7e',\n shade10: '#cd3595',\n primary: '#e43ba6',\n tint10: '#e750b0',\n tint20: '#ea66ba',\n tint30: '#ef85c8',\n tint40: '#f7c0e3',\n tint50: '#fbddf0',\n tint60: '#fef6fb',\n};\n\nconst hotPink: ColorVariants = {\n shade50: '#240016',\n shade40: '#44002a',\n shade30: '#7f004e',\n shade20: '#ad006a',\n shade10: '#cc007e',\n primary: '#e3008c',\n tint10: '#e61c99',\n tint20: '#ea38a6',\n tint30: '#ee5fb7',\n tint40: '#f7adda',\n tint50: '#fbd2eb',\n tint60: '#fef4fa',\n};\n\nconst magenta: ColorVariants = {\n shade50: '#1f0013',\n shade40: '#390024',\n shade30: '#6b0043',\n shade20: '#91005a',\n shade10: '#ac006b',\n primary: '#bf0077',\n tint10: '#c71885',\n tint20: '#ce3293',\n tint30: '#d957a8',\n tint40: '#eca5d1',\n tint50: '#f5cee6',\n tint60: '#fcf2f9',\n};\n\nconst plum: ColorVariants = {\n shade50: '#13000c',\n shade40: '#240017',\n shade30: '#43002b',\n shade20: '#5a003b',\n shade10: '#6b0045',\n primary: '#77004d',\n tint10: '#87105d',\n tint20: '#98246f',\n tint30: '#ad4589',\n tint40: '#d696c0',\n tint50: '#e9c4dc',\n tint60: '#faf0f6',\n};\n\nconst beige: ColorVariants = {\n shade50: '#141313',\n shade40: '#252323',\n shade30: '#444241',\n shade20: '#5d5958',\n shade10: '#6e6968',\n primary: '#7a7574',\n tint10: '#8a8584',\n tint20: '#9a9594',\n tint30: '#afabaa',\n tint40: '#d7d4d4',\n tint50: '#eae8e8',\n tint60: '#faf9f9',\n};\n\nconst mink: ColorVariants = {\n shade50: '#0f0e0e',\n shade40: '#1c1b1a',\n shade30: '#343231',\n shade20: '#474443',\n shade10: '#54514f',\n primary: '#5d5a58',\n tint10: '#706d6b',\n tint20: '#84817e',\n tint30: '#9e9b99',\n tint40: '#cecccb',\n tint50: '#e5e4e3',\n tint60: '#f8f8f8',\n};\n\nconst silver: ColorVariants = {\n shade50: '#151818',\n shade40: '#282d2e',\n shade30: '#4a5356',\n shade20: '#657174',\n shade10: '#78868a',\n primary: '#859599',\n tint10: '#92a1a5',\n tint20: '#a0aeb1',\n tint30: '#b3bfc2',\n tint40: '#d8dfe0',\n tint50: '#eaeeef',\n tint60: '#fafbfb',\n};\n\nconst platinum: ColorVariants = {\n shade50: '#111314',\n shade40: '#1f2426',\n shade30: '#3b4447',\n shade20: '#505c60',\n shade10: '#5f6d71',\n primary: '#69797e',\n tint10: '#79898d',\n tint20: '#89989d',\n tint30: '#a0adb2',\n tint40: '#cdd6d8',\n tint50: '#e4e9ea',\n tint60: '#f8f9fa',\n};\n\nconst anchor: ColorVariants = {\n shade50: '#090a0b',\n shade40: '#111315',\n shade30: '#202427',\n shade20: '#2b3135',\n shade10: '#333a3f',\n primary: '#394146',\n tint10: '#4d565c',\n tint20: '#626c72',\n tint30: '#808a90',\n tint40: '#bcc3c7',\n tint50: '#dbdfe1',\n tint60: '#f6f7f8',\n};\n\nconst charcoal: ColorVariants = {\n shade50: '#090909',\n shade40: '#111111',\n shade30: '#202020',\n shade20: '#2b2b2b',\n shade10: '#333333',\n primary: '#393939',\n tint10: '#515151',\n tint20: '#686868',\n tint30: '#888888',\n tint40: '#c4c4c4',\n tint50: '#dfdfdf',\n tint60: '#f7f7f7',\n};\n\nexport const sharedColors: GlobalSharedColors = {\n darkRed,\n burgundy,\n cranberry,\n red,\n darkOrange,\n bronze,\n pumpkin,\n orange,\n peach,\n marigold,\n yellow,\n gold,\n brass,\n brown,\n darkBrown,\n lime,\n forest,\n seafoam,\n lightGreen,\n green,\n darkGreen,\n lightTeal,\n teal,\n darkTeal,\n cyan,\n steel,\n lightBlue,\n blue,\n royalBlue,\n darkBlue,\n cornflower,\n navy,\n lavender,\n purple,\n darkPurple,\n orchid,\n grape,\n berry,\n lilac,\n pink,\n hotPink,\n magenta,\n plum,\n beige,\n mink,\n silver,\n platinum,\n anchor,\n charcoal,\n};\n\nexport const brandWeb: BrandVariants = {\n 10: `#061724`,\n 20: `#082338`,\n 30: `#0a2e4a`,\n 40: `#0c3b5e`,\n 50: `#0e4775`,\n 60: `#0f548c`,\n 70: `#115ea3`,\n 80: `#0f6cbd`,\n 90: `#2886de`,\n 100: `#479ef5`,\n 110: `#62abf5`,\n 120: `#77b7f7`,\n 130: `#96c6fa`,\n 140: `#b4d6fa`,\n 150: `#cfe4fa`,\n 160: `#ebf3fc`,\n};\n"],"names":["black","blackAlpha","brandWeb","grey","grey10Alpha","grey12Alpha","grey14Alpha","hcButtonFace","hcButtonText","hcCanvas","hcCanvasText","hcDisabled","hcHighlight","hcHighlightText","hcHyperlink","sharedColors","white","whiteAlpha","darkRed","shade50","shade40","shade30","shade20","shade10","primary","tint10","tint20","tint30","tint40","tint50","tint60","burgundy","cranberry","red","darkOrange","bronze","pumpkin","orange","peach","marigold","yellow","gold","brass","brown","darkBrown","lime","forest","seafoam","lightGreen","green","darkGreen","lightTeal","teal","darkTeal","cyan","steel","lightBlue","blue","royalBlue","darkBlue","cornflower","navy","lavender","purple","darkPurple","orchid","grape","berry","lilac","pink","hotPink","magenta","plum","beige","mink","silver","platinum","anchor","charcoal"],"rangeMappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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ACAC;IACAC;IACAC;IACAC;IACAC;IACAC;IACAC;IACAC;IACAC;IACAC;IACAC;IACAC;IACAC;IACAC;IACAC;IACAC;IACAC;IACAC;IACAC;IACAC;IACAC;IACAC;IACAC;IACAC;IACAC;IACAC;AACF;AAEO,MAAM5E,WAA0B;IACrC,IAAI,CAAC,OAAO,CAAC;IACb,IAAI,CAAC,OAAO,CAAC;IACb,IAAI,CAAC,OAAO,CAAC;IACb,IAAI,CAAC,OAAO,CAAC;IACb,IAAI,CAAC,OAAO,CAAC;IACb,IAAI,CAAC,OAAO,CAAC;IACb,IAAI,CAAC,OAAO,CAAC;IACb,IAAI,CAAC,OAAO,CAAC;IACb,IAAI,CAAC,OAAO,CAAC;IACb,KAAK,CAAC,OAAO,CAAC;IACd,KAAK,CAAC,OAAO,CAAC;IACd,KAAK,CAAC,OAAO,CAAC;IACd,KAAK,CAAC,OAAO,CAAC;IACd,KAAK,CAAC,OAAO,CAAC;IACd,KAAK,CAAC,OAAO,CAAC;IACd,KAAK,CAAC,OAAO,CAAC;AAChB"}
1
+ {"version":3,"sources":["../src/components/Theme/themeDuplicates.ts"],"sourcesContent":["/**\n * These colors have been copied here from react-theme because they are not exported from that package.\n * They are necessary to build the theme shims.\n */\n\nimport type { BrandVariants } from '@fluentui/react-components';\n\n/**\n * Possible color variant values\n */\nexport type ColorVariants = {\n shade50: string;\n shade40: string;\n shade30: string;\n shade20: string;\n shade10: string;\n primary: string;\n tint10: string;\n tint20: string;\n tint30: string;\n tint40: string;\n tint50: string;\n tint60: string;\n};\n\n/**\n * All the global shared colors and their shade/tint variants\n */\nexport type GlobalSharedColors = {\n darkRed: ColorVariants;\n burgundy: ColorVariants;\n cranberry: ColorVariants;\n red: ColorVariants;\n darkOrange: ColorVariants;\n bronze: ColorVariants;\n pumpkin: ColorVariants;\n orange: ColorVariants;\n peach: ColorVariants;\n marigold: ColorVariants;\n yellow: ColorVariants;\n gold: ColorVariants;\n brass: ColorVariants;\n brown: ColorVariants;\n darkBrown: ColorVariants;\n lime: ColorVariants;\n forest: ColorVariants;\n seafoam: ColorVariants;\n lightGreen: ColorVariants;\n green: ColorVariants;\n darkGreen: ColorVariants;\n lightTeal: ColorVariants;\n teal: ColorVariants;\n darkTeal: ColorVariants;\n cyan: ColorVariants;\n steel: ColorVariants;\n lightBlue: ColorVariants;\n blue: ColorVariants;\n royalBlue: ColorVariants;\n darkBlue: ColorVariants;\n cornflower: ColorVariants;\n navy: ColorVariants;\n lavender: ColorVariants;\n purple: ColorVariants;\n darkPurple: ColorVariants;\n orchid: ColorVariants;\n grape: ColorVariants;\n berry: ColorVariants;\n lilac: ColorVariants;\n pink: ColorVariants;\n hotPink: ColorVariants;\n magenta: ColorVariants;\n plum: ColorVariants;\n beige: ColorVariants;\n mink: ColorVariants;\n silver: ColorVariants;\n platinum: ColorVariants;\n anchor: ColorVariants;\n charcoal: ColorVariants;\n};\n\nexport type TextAlignment =\n | 'inherit'\n | 'initial'\n | 'revert'\n | 'unset'\n | 'center'\n | 'end'\n | 'start'\n | 'justify'\n | 'left'\n | 'match-parent'\n | 'right';\n\nexport type TextAlignments = {\n start: TextAlignment;\n center: TextAlignment;\n end: TextAlignment;\n justify: TextAlignment;\n};\n\nexport type Greys =\n | 0\n | 2\n | 4\n | 6\n | 8\n | 10\n | 12\n | 14\n | 16\n | 18\n | 20\n | 22\n | 24\n | 26\n | 28\n | 30\n | 32\n | 34\n | 36\n | 38\n | 40\n | 42\n | 44\n | 46\n | 48\n | 50\n | 52\n | 54\n | 56\n | 58\n | 60\n | 62\n | 64\n | 66\n | 68\n | 70\n | 72\n | 74\n | 76\n | 78\n | 80\n | 82\n | 84\n | 86\n | 88\n | 90\n | 92\n | 94\n | 96\n | 98\n | 100;\n\nexport type AlphaColors = 5 | 10 | 20 | 30 | 40 | 50 | 60 | 70 | 80 | 90;\n\nexport const grey: Record<Greys, string> = {\n '0': '#000000',\n '2': '#050505',\n '4': '#0a0a0a',\n '6': '#0f0f0f',\n '8': '#141414',\n '10': '#1a1a1a',\n '12': '#1f1f1f',\n '14': '#242424',\n '16': '#292929',\n '18': '#2e2e2e',\n '20': '#333333',\n '22': '#383838',\n '24': '#3d3d3d',\n '26': '#424242',\n '28': '#474747',\n '30': '#4d4d4d',\n '32': '#525252',\n '34': '#575757',\n '36': '#5c5c5c',\n '38': '#616161',\n '40': '#666666',\n '42': '#6b6b6b',\n '44': '#707070',\n '46': '#757575',\n '48': '#7a7a7a',\n '50': '#808080',\n '52': '#858585',\n '54': '#8a8a8a',\n '56': '#8f8f8f',\n '58': '#949494',\n '60': '#999999',\n '62': '#9e9e9e',\n '64': '#a3a3a3',\n '66': '#a8a8a8',\n '68': '#adadad',\n '70': '#b3b3b3',\n '72': '#b8b8b8',\n '74': '#bdbdbd',\n '76': '#c2c2c2',\n '78': '#c7c7c7',\n '80': '#cccccc',\n '82': '#d1d1d1',\n '84': '#d6d6d6',\n '86': '#dbdbdb',\n '88': '#e0e0e0',\n '90': '#e6e6e6',\n '92': '#ebebeb',\n '94': '#f0f0f0',\n '96': '#f5f5f5',\n '98': '#fafafa',\n '100': '#ffffff',\n};\n\nexport const whiteAlpha: Record<AlphaColors, string> = {\n '5': 'rgba(255, 255, 255, 0.05)',\n '10': 'rgba(255, 255, 255, 0.1)',\n '20': 'rgba(255, 255, 255, 0.2)',\n '30': 'rgba(255, 255, 255, 0.3)',\n '40': 'rgba(255, 255, 255, 0.4)',\n '50': 'rgba(255, 255, 255, 0.5)',\n '60': 'rgba(255, 255, 255, 0.6)',\n '70': 'rgba(255, 255, 255, 0.7)',\n '80': 'rgba(255, 255, 255, 0.8)',\n '90': 'rgba(255, 255, 255, 0.9)',\n};\n\nexport const blackAlpha: Record<AlphaColors, string> = {\n '5': 'rgba(0, 0, 0, 0.05)',\n '10': 'rgba(0, 0, 0, 0.1)',\n '20': 'rgba(0, 0, 0, 0.2)',\n '30': 'rgba(0, 0, 0, 0.3)',\n '40': 'rgba(0, 0, 0, 0.4)',\n '50': 'rgba(0, 0, 0, 0.5)',\n '60': 'rgba(0, 0, 0, 0.6)',\n '70': 'rgba(0, 0, 0, 0.7)',\n '80': 'rgba(0, 0, 0, 0.8)',\n '90': 'rgba(0, 0, 0, 0.9)',\n};\n\nexport const grey10Alpha: Record<AlphaColors, string> = {\n '5': 'rgba(26, 26, 26, 0.05)',\n '10': 'rgba(26, 26, 26, 0.1)',\n '20': 'rgba(26, 26, 26, 0.2)',\n '30': 'rgba(26, 26, 26, 0.3)',\n '40': 'rgba(26, 26, 26, 0.4)',\n '50': 'rgba(26, 26, 26, 0.5)',\n '60': 'rgba(26, 26, 26, 0.6)',\n '70': 'rgba(26, 26, 26, 0.7)',\n '80': 'rgba(26, 26, 26, 0.8)',\n '90': 'rgba(26, 26, 26, 0.9)',\n};\n\nexport const grey12Alpha: Record<AlphaColors, string> = {\n '5': 'rgba(31, 31, 31, 0.05)',\n '10': 'rgba(31, 31, 31, 0.1)',\n '20': 'rgba(31, 31, 31, 0.2)',\n '30': 'rgba(31, 31, 31, 0.3)',\n '40': 'rgba(31, 31, 31, 0.4)',\n '50': 'rgba(31, 31, 31, 0.5)',\n '60': 'rgba(31, 31, 31, 0.6)',\n '70': 'rgba(31, 31, 31, 0.7)',\n '80': 'rgba(31, 31, 31, 0.8)',\n '90': 'rgba(31, 31, 31, 0.9)',\n};\n\nexport const grey14Alpha: Record<AlphaColors, string> = {\n '5': 'rgba(36, 36, 36, 0.05)',\n '10': 'rgba(36, 36, 36, 0.1)',\n '20': 'rgba(36, 36, 36, 0.2)',\n '30': 'rgba(36, 36, 36, 0.3)',\n '40': 'rgba(36, 36, 36, 0.4)',\n '50': 'rgba(36, 36, 36, 0.5)',\n '60': 'rgba(36, 36, 36, 0.6)',\n '70': 'rgba(36, 36, 36, 0.7)',\n '80': 'rgba(36, 36, 36, 0.8)',\n '90': 'rgba(36, 36, 36, 0.9)',\n};\n\nexport const white = '#ffffff';\n\nexport const black = '#000000';\n\nexport const hcHyperlink = '#ffff00';\n\nexport const hcHighlight = '#1aebff';\n\nexport const hcDisabled = '#3ff23f';\n\nexport const hcCanvas = '#000000';\n\nexport const hcCanvasText = '#ffffff';\n\nexport const hcHighlightText = '#000000';\n\nexport const hcButtonText = '#000000';\n\nexport const hcButtonFace = '#ffffff';\n\nconst darkRed: ColorVariants = {\n shade50: '#130204',\n shade40: '#230308',\n shade30: '#420610',\n shade20: '#590815',\n shade10: '#690a19',\n primary: '#750b1c',\n tint10: '#861b2c',\n tint20: '#962f3f',\n tint30: '#ac4f5e',\n tint40: '#d69ca5',\n tint50: '#e9c7cd',\n tint60: '#f9f0f2',\n};\n\nconst burgundy: ColorVariants = {\n shade50: '#1a0607',\n shade40: '#310b0d',\n shade30: '#5c1519',\n shade20: '#7d1d21',\n shade10: '#942228',\n primary: '#a4262c',\n tint10: '#af393e',\n tint20: '#ba4d52',\n tint30: '#c86c70',\n tint40: '#e4afb2',\n tint50: '#f0d3d4',\n tint60: '#fbf4f4',\n};\n\nconst cranberry: ColorVariants = {\n shade50: '#200205',\n shade40: '#3b0509',\n shade30: '#6e0811',\n shade20: '#960b18',\n shade10: '#b10e1c',\n primary: '#c50f1f',\n tint10: '#cc2635',\n tint20: '#d33f4c',\n tint30: '#dc626d',\n tint40: '#eeacb2',\n tint50: '#f6d1d5',\n tint60: '#fdf3f4',\n};\n\nconst red: ColorVariants = {\n shade50: '#210809',\n shade40: '#3f1011',\n shade30: '#751d1f',\n shade20: '#9f282b',\n shade10: '#bc2f32',\n primary: '#d13438',\n tint10: '#d7494c',\n tint20: '#dc5e62',\n tint30: '#e37d80',\n tint40: '#f1bbbc',\n tint50: '#f8dadb',\n tint60: '#fdf6f6',\n};\n\nconst darkOrange: ColorVariants = {\n shade50: '#230900',\n shade40: '#411200',\n shade30: '#7a2101',\n shade20: '#a62d01',\n shade10: '#c43501',\n primary: '#da3b01',\n tint10: '#de501c',\n tint20: '#e36537',\n tint30: '#e9835e',\n tint40: '#f4bfab',\n tint50: '#f9dcd1',\n tint60: '#fdf6f3',\n};\n\nconst bronze: ColorVariants = {\n shade50: '#1b0a01',\n shade40: '#321303',\n shade30: '#5e2405',\n shade20: '#7f3107',\n shade10: '#963a08',\n primary: '#a74109',\n tint10: '#b2521e',\n tint20: '#bc6535',\n tint30: '#ca8057',\n tint40: '#e5bba4',\n tint50: '#f1d9cc',\n tint60: '#fbf5f2',\n};\n\nconst pumpkin: ColorVariants = {\n shade50: '#200d03',\n shade40: '#3d1805',\n shade30: '#712d09',\n shade20: '#9a3d0c',\n shade10: '#b6480e',\n primary: '#ca5010',\n tint10: '#d06228',\n tint20: '#d77440',\n tint30: '#df8e64',\n tint40: '#efc4ad',\n tint50: '#f7dfd2',\n tint60: '#fdf7f4',\n};\n\nconst orange: ColorVariants = {\n shade50: '#271002',\n shade40: '#4a1e04',\n shade30: '#8a3707',\n shade20: '#bc4b09',\n shade10: '#de590b',\n primary: '#f7630c',\n tint10: '#f87528',\n tint20: '#f98845',\n tint30: '#faa06b',\n tint40: '#fdcfb4',\n tint50: '#fee5d7',\n tint60: '#fff9f5',\n};\n\nconst peach: ColorVariants = {\n shade50: '#291600',\n shade40: '#4d2a00',\n shade30: '#8f4e00',\n shade20: '#c26a00',\n shade10: '#e67e00',\n primary: '#ff8c00',\n tint10: '#ff9a1f',\n tint20: '#ffa83d',\n tint30: '#ffba66',\n tint40: '#ffddb3',\n tint50: '#ffedd6',\n tint60: '#fffaf5',\n};\n\nconst marigold: ColorVariants = {\n shade50: '#251a00',\n shade40: '#463100',\n shade30: '#835b00',\n shade20: '#b27c00',\n shade10: '#d39300',\n primary: '#eaa300',\n tint10: '#edad1c',\n tint20: '#efb839',\n tint30: '#f2c661',\n tint40: '#f9e2ae',\n tint50: '#fcefd3',\n tint60: '#fefbf4',\n};\n\nconst yellow: ColorVariants = {\n primary: '#fde300',\n shade10: '#e4cc00',\n shade20: '#c0ad00',\n shade30: '#817400',\n shade40: '#4c4400',\n shade50: '#282400',\n tint10: '#fde61e',\n tint20: '#fdea3d',\n tint30: '#feee66',\n tint40: '#fef7b2',\n tint50: '#fffad6',\n tint60: '#fffef5',\n};\n\nconst gold: ColorVariants = {\n shade50: '#1f1900',\n shade40: '#3a2f00',\n shade30: '#6c5700',\n shade20: '#937700',\n shade10: '#ae8c00',\n primary: '#c19c00',\n tint10: '#c8a718',\n tint20: '#d0b232',\n tint30: '#dac157',\n tint40: '#ecdfa5',\n tint50: '#f5eece',\n tint60: '#fdfbf2',\n};\n\nconst brass: ColorVariants = {\n shade50: '#181202',\n shade40: '#2e2103',\n shade30: '#553e06',\n shade20: '#745408',\n shade10: '#89640a',\n primary: '#986f0b',\n tint10: '#a47d1e',\n tint20: '#b18c34',\n tint30: '#c1a256',\n tint40: '#e0cea2',\n tint50: '#efe4cb',\n tint60: '#fbf8f2',\n};\n\nconst brown: ColorVariants = {\n shade50: '#170e07',\n shade40: '#2b1a0e',\n shade30: '#50301a',\n shade20: '#6c4123',\n shade10: '#804d29',\n primary: '#8e562e',\n tint10: '#9c663f',\n tint20: '#a97652',\n tint30: '#bb8f6f',\n tint40: '#ddc3b0',\n tint50: '#edded3',\n tint60: '#faf7f4',\n};\n\nconst darkBrown: ColorVariants = {\n shade50: '#0c0704',\n shade40: '#170c08',\n shade30: '#2b1710',\n shade20: '#3a1f15',\n shade10: '#452519',\n primary: '#4d291c',\n tint10: '#623a2b',\n tint20: '#784d3e',\n tint30: '#946b5c',\n tint40: '#caada3',\n tint50: '#e3d2cb',\n tint60: '#f8f3f2',\n};\n\nconst lime: ColorVariants = {\n shade50: '#121b06',\n shade40: '#23330b',\n shade30: '#405f14',\n shade20: '#57811b',\n shade10: '#689920',\n primary: '#73aa24',\n tint10: '#81b437',\n tint20: '#90be4c',\n tint30: '#a4cc6c',\n tint40: '#cfe5af',\n tint50: '#e5f1d3',\n tint60: '#f8fcf4',\n};\n\nconst forest: ColorVariants = {\n shade50: '#0c1501',\n shade40: '#162702',\n shade30: '#294903',\n shade20: '#376304',\n shade10: '#427505',\n primary: '#498205',\n tint10: '#599116',\n tint20: '#6ba02b',\n tint30: '#85b44c',\n tint40: '#bdd99b',\n tint50: '#dbebc7',\n tint60: '#f6faf0',\n};\n\nconst seafoam: ColorVariants = {\n shade50: '#002111',\n shade40: '#003d20',\n shade30: '#00723b',\n shade20: '#009b51',\n shade10: '#00b85f',\n primary: '#00cc6a',\n tint10: '#19d279',\n tint20: '#34d889',\n tint30: '#5ae0a0',\n tint40: '#a8f0cd',\n tint50: '#cff7e4',\n tint60: '#f3fdf8',\n};\n\nconst lightGreen: ColorVariants = {\n shade50: '#031a02',\n shade40: '#063004',\n shade30: '#0b5a08',\n shade20: '#0e7a0b',\n shade10: '#11910d',\n primary: '#13a10e',\n tint10: '#27ac22',\n tint20: '#3db838',\n tint30: '#5ec75a',\n tint40: '#a7e3a5',\n tint50: '#cef0cd',\n tint60: '#f2fbf2',\n};\n\nconst green: ColorVariants = {\n shade50: '#031403',\n shade40: '#052505',\n shade30: '#094509',\n shade20: '#0c5e0c',\n shade10: '#0e700e',\n primary: '#107c10',\n tint10: '#218c21',\n tint20: '#359b35',\n tint30: '#54b054',\n tint40: '#9fd89f',\n tint50: '#c9eac9',\n tint60: '#f1faf1',\n};\n\nconst darkGreen: ColorVariants = {\n shade50: '#021102',\n shade40: '#032003',\n shade30: '#063b06',\n shade20: '#085108',\n shade10: '#0a5f0a',\n primary: '#0b6a0b',\n tint10: '#1a7c1a',\n tint20: '#2d8e2d',\n tint30: '#4da64d',\n tint40: '#9ad29a',\n tint50: '#c6e7c6',\n tint60: '#f0f9f0',\n};\n\nconst lightTeal: ColorVariants = {\n shade50: '#001d1f',\n shade40: '#00373a',\n shade30: '#00666d',\n shade20: '#008b94',\n shade10: '#00a5af',\n primary: '#00b7c3',\n tint10: '#18bfca',\n tint20: '#32c8d1',\n tint30: '#58d3db',\n tint40: '#a6e9ed',\n tint50: '#cef3f5',\n tint60: '#f2fcfd',\n};\n\nconst teal: ColorVariants = {\n shade50: '#001516',\n shade40: '#012728',\n shade30: '#02494c',\n shade20: '#026467',\n shade10: '#037679',\n primary: '#038387',\n tint10: '#159195',\n tint20: '#2aa0a4',\n tint30: '#4cb4b7',\n tint40: '#9bd9db',\n tint50: '#c7ebec',\n tint60: '#f0fafa',\n};\n\nconst darkTeal: ColorVariants = {\n shade50: '#001010',\n shade40: '#001f1f',\n shade30: '#003939',\n shade20: '#004e4e',\n shade10: '#005c5c',\n primary: '#006666',\n tint10: '#0e7878',\n tint20: '#218b8b',\n tint30: '#41a3a3',\n tint40: '#92d1d1',\n tint50: '#c2e7e7',\n tint60: '#eff9f9',\n};\n\nconst cyan: ColorVariants = {\n shade50: '#00181e',\n shade40: '#002e38',\n shade30: '#005669',\n shade20: '#00748f',\n shade10: '#008aa9',\n primary: '#0099bc',\n tint10: '#18a4c4',\n tint20: '#31afcc',\n tint30: '#56bfd7',\n tint40: '#a4deeb',\n tint50: '#cdedf4',\n tint60: '#f2fafc',\n};\n\nconst steel: ColorVariants = {\n shade50: '#000f12',\n shade40: '#001b22',\n shade30: '#00333f',\n shade20: '#004555',\n shade10: '#005265',\n primary: '#005b70',\n tint10: '#0f6c81',\n tint20: '#237d92',\n tint30: '#4496a9',\n tint40: '#94c8d4',\n tint50: '#c3e1e8',\n tint60: '#eff7f9',\n};\n\nconst lightBlue: ColorVariants = {\n shade50: '#091823',\n shade40: '#112d42',\n shade30: '#20547c',\n shade20: '#2c72a8',\n shade10: '#3487c7',\n primary: '#3a96dd',\n tint10: '#4fa1e1',\n tint20: '#65ade5',\n tint30: '#83bdeb',\n tint40: '#bfddf5',\n tint50: '#dcedfa',\n tint60: '#f6fafe',\n};\n\nconst blue: ColorVariants = {\n shade50: '#001322',\n shade40: '#002440',\n shade30: '#004377',\n shade20: '#005ba1',\n shade10: '#006cbf',\n primary: '#0078d4',\n tint10: '#1a86d9',\n tint20: '#3595de',\n tint30: '#5caae5',\n tint40: '#a9d3f2',\n tint50: '#d0e7f8',\n tint60: '#f3f9fd',\n};\n\nconst royalBlue: ColorVariants = {\n shade50: '#000c16',\n shade40: '#00172a',\n shade30: '#002c4e',\n shade20: '#003b6a',\n shade10: '#00467e',\n primary: '#004e8c',\n tint10: '#125e9a',\n tint20: '#286fa8',\n tint30: '#4a89ba',\n tint40: '#9abfdc',\n tint50: '#c7dced',\n tint60: '#f0f6fa',\n};\n\nconst darkBlue: ColorVariants = {\n shade50: '#000910',\n shade40: '#00111f',\n shade30: '#002039',\n shade20: '#002b4e',\n shade10: '#00335c',\n primary: '#003966',\n tint10: '#0e4a78',\n tint20: '#215c8b',\n tint30: '#4178a3',\n tint40: '#92b5d1',\n tint50: '#c2d6e7',\n tint60: '#eff4f9',\n};\n\nconst cornflower: ColorVariants = {\n shade50: '#0d1126',\n shade40: '#182047',\n shade30: '#2c3c85',\n shade20: '#3c51b4',\n shade10: '#4760d5',\n primary: '#4f6bed',\n tint10: '#637cef',\n tint20: '#778df1',\n tint30: '#93a4f4',\n tint40: '#c8d1fa',\n tint50: '#e1e6fc',\n tint60: '#f7f9fe',\n};\n\nconst navy: ColorVariants = {\n shade50: '#00061d',\n shade40: '#000c36',\n shade30: '#001665',\n shade20: '#001e89',\n shade10: '#0023a2',\n primary: '#0027b4',\n tint10: '#173bbd',\n tint20: '#3050c6',\n tint30: '#546fd2',\n tint40: '#a3b2e8',\n tint50: '#ccd5f3',\n tint60: '#f2f4fc',\n};\n\nconst lavender: ColorVariants = {\n shade50: '#120f25',\n shade40: '#221d46',\n shade30: '#3f3682',\n shade20: '#5649b0',\n shade10: '#6656d1',\n primary: '#7160e8',\n tint10: '#8172eb',\n tint20: '#9184ee',\n tint30: '#a79cf1',\n tint40: '#d2ccf8',\n tint50: '#e7e4fb',\n tint60: '#f9f8fe',\n};\n\nconst purple: ColorVariants = {\n shade50: '#0f0717',\n shade40: '#1c0e2b',\n shade30: '#341a51',\n shade20: '#46236e',\n shade10: '#532982',\n primary: '#5c2e91',\n tint10: '#6b3f9e',\n tint20: '#7c52ab',\n tint30: '#9470bd',\n tint40: '#c6b1de',\n tint50: '#e0d3ed',\n tint60: '#f7f4fb',\n};\n\nconst darkPurple: ColorVariants = {\n shade50: '#0a0411',\n shade40: '#130820',\n shade30: '#240f3c',\n shade20: '#311552',\n shade10: '#3a1861',\n primary: '#401b6c',\n tint10: '#512b7e',\n tint20: '#633e8f',\n tint30: '#7e5ca7',\n tint40: '#b9a3d3',\n tint50: '#d8cce7',\n tint60: '#f5f2f9',\n};\n\nconst orchid: ColorVariants = {\n shade50: '#16101d',\n shade40: '#281e37',\n shade30: '#4c3867',\n shade20: '#674c8c',\n shade10: '#795aa6',\n primary: '#8764b8',\n tint10: '#9373c0',\n tint20: '#a083c9',\n tint30: '#b29ad4',\n tint40: '#d7caea',\n tint50: '#e9e2f4',\n tint60: '#f9f8fc',\n};\n\nconst grape: ColorVariants = {\n shade50: '#160418',\n shade40: '#29072e',\n shade30: '#4c0d55',\n shade20: '#671174',\n shade10: '#7a1589',\n primary: '#881798',\n tint10: '#952aa4',\n tint20: '#a33fb1',\n tint30: '#b55fc1',\n tint40: '#d9a7e0',\n tint50: '#eaceef',\n tint60: '#faf2fb',\n};\n\nconst berry: ColorVariants = {\n shade50: '#1f091d',\n shade40: '#3a1136',\n shade30: '#6d2064',\n shade20: '#932b88',\n shade10: '#af33a1',\n primary: '#c239b3',\n tint10: '#c94cbc',\n tint20: '#d161c4',\n tint30: '#da7ed0',\n tint40: '#edbbe7',\n tint50: '#f5daf2',\n tint60: '#fdf5fc',\n};\n\nconst lilac: ColorVariants = {\n shade50: '#1c0b1f',\n shade40: '#35153a',\n shade30: '#63276d',\n shade20: '#863593',\n shade10: '#9f3faf',\n primary: '#b146c2',\n tint10: '#ba58c9',\n tint20: '#c36bd1',\n tint30: '#cf87da',\n tint40: '#e6bfed',\n tint50: '#f2dcf5',\n tint60: '#fcf6fd',\n};\n\nconst pink: ColorVariants = {\n shade50: '#24091b',\n shade40: '#441232',\n shade30: '#80215d',\n shade20: '#ad2d7e',\n shade10: '#cd3595',\n primary: '#e43ba6',\n tint10: '#e750b0',\n tint20: '#ea66ba',\n tint30: '#ef85c8',\n tint40: '#f7c0e3',\n tint50: '#fbddf0',\n tint60: '#fef6fb',\n};\n\nconst hotPink: ColorVariants = {\n shade50: '#240016',\n shade40: '#44002a',\n shade30: '#7f004e',\n shade20: '#ad006a',\n shade10: '#cc007e',\n primary: '#e3008c',\n tint10: '#e61c99',\n tint20: '#ea38a6',\n tint30: '#ee5fb7',\n tint40: '#f7adda',\n tint50: '#fbd2eb',\n tint60: '#fef4fa',\n};\n\nconst magenta: ColorVariants = {\n shade50: '#1f0013',\n shade40: '#390024',\n shade30: '#6b0043',\n shade20: '#91005a',\n shade10: '#ac006b',\n primary: '#bf0077',\n tint10: '#c71885',\n tint20: '#ce3293',\n tint30: '#d957a8',\n tint40: '#eca5d1',\n tint50: '#f5cee6',\n tint60: '#fcf2f9',\n};\n\nconst plum: ColorVariants = {\n shade50: '#13000c',\n shade40: '#240017',\n shade30: '#43002b',\n shade20: '#5a003b',\n shade10: '#6b0045',\n primary: '#77004d',\n tint10: '#87105d',\n tint20: '#98246f',\n tint30: '#ad4589',\n tint40: '#d696c0',\n tint50: '#e9c4dc',\n tint60: '#faf0f6',\n};\n\nconst beige: ColorVariants = {\n shade50: '#141313',\n shade40: '#252323',\n shade30: '#444241',\n shade20: '#5d5958',\n shade10: '#6e6968',\n primary: '#7a7574',\n tint10: '#8a8584',\n tint20: '#9a9594',\n tint30: '#afabaa',\n tint40: '#d7d4d4',\n tint50: '#eae8e8',\n tint60: '#faf9f9',\n};\n\nconst mink: ColorVariants = {\n shade50: '#0f0e0e',\n shade40: '#1c1b1a',\n shade30: '#343231',\n shade20: '#474443',\n shade10: '#54514f',\n primary: '#5d5a58',\n tint10: '#706d6b',\n tint20: '#84817e',\n tint30: '#9e9b99',\n tint40: '#cecccb',\n tint50: '#e5e4e3',\n tint60: '#f8f8f8',\n};\n\nconst silver: ColorVariants = {\n shade50: '#151818',\n shade40: '#282d2e',\n shade30: '#4a5356',\n shade20: '#657174',\n shade10: '#78868a',\n primary: '#859599',\n tint10: '#92a1a5',\n tint20: '#a0aeb1',\n tint30: '#b3bfc2',\n tint40: '#d8dfe0',\n tint50: '#eaeeef',\n tint60: '#fafbfb',\n};\n\nconst platinum: ColorVariants = {\n shade50: '#111314',\n shade40: '#1f2426',\n shade30: '#3b4447',\n shade20: '#505c60',\n shade10: '#5f6d71',\n primary: '#69797e',\n tint10: '#79898d',\n tint20: '#89989d',\n tint30: '#a0adb2',\n tint40: '#cdd6d8',\n tint50: '#e4e9ea',\n tint60: '#f8f9fa',\n};\n\nconst anchor: ColorVariants = {\n shade50: '#090a0b',\n shade40: '#111315',\n shade30: '#202427',\n shade20: '#2b3135',\n shade10: '#333a3f',\n primary: '#394146',\n tint10: '#4d565c',\n tint20: '#626c72',\n tint30: '#808a90',\n tint40: '#bcc3c7',\n tint50: '#dbdfe1',\n tint60: '#f6f7f8',\n};\n\nconst charcoal: ColorVariants = {\n shade50: '#090909',\n shade40: '#111111',\n shade30: '#202020',\n shade20: '#2b2b2b',\n shade10: '#333333',\n primary: '#393939',\n tint10: '#515151',\n tint20: '#686868',\n tint30: '#888888',\n tint40: '#c4c4c4',\n tint50: '#dfdfdf',\n tint60: '#f7f7f7',\n};\n\nexport const sharedColors: GlobalSharedColors = {\n darkRed,\n burgundy,\n cranberry,\n red,\n darkOrange,\n bronze,\n pumpkin,\n orange,\n peach,\n marigold,\n yellow,\n gold,\n brass,\n brown,\n darkBrown,\n lime,\n forest,\n seafoam,\n lightGreen,\n green,\n darkGreen,\n lightTeal,\n teal,\n darkTeal,\n cyan,\n steel,\n lightBlue,\n blue,\n royalBlue,\n darkBlue,\n cornflower,\n navy,\n lavender,\n purple,\n darkPurple,\n orchid,\n grape,\n berry,\n lilac,\n pink,\n hotPink,\n magenta,\n plum,\n beige,\n mink,\n silver,\n platinum,\n anchor,\n charcoal,\n};\n\nexport const brandWeb: BrandVariants = {\n 10: `#061724`,\n 20: `#082338`,\n 30: `#0a2e4a`,\n 40: `#0c3b5e`,\n 50: `#0e4775`,\n 60: `#0f548c`,\n 70: `#115ea3`,\n 80: `#0f6cbd`,\n 90: `#2886de`,\n 100: `#479ef5`,\n 110: `#62abf5`,\n 120: `#77b7f7`,\n 130: `#96c6fa`,\n 140: `#b4d6fa`,\n 150: `#cfe4fa`,\n 160: `#ebf3fc`,\n};\n"],"names":["black","blackAlpha","brandWeb","grey","grey10Alpha","grey12Alpha","grey14Alpha","hcButtonFace","hcButtonText","hcCanvas","hcCanvasText","hcDisabled","hcHighlight","hcHighlightText","hcHyperlink","sharedColors","white","whiteAlpha","darkRed","shade50","shade40","shade30","shade20","shade10","primary","tint10","tint20","tint30","tint40","tint50","tint60","burgundy","cranberry","red","darkOrange","bronze","pumpkin","orange","peach","marigold","yellow","gold","brass","brown","darkBrown","lime","forest","seafoam","lightGreen","green","darkGreen","lightTeal","teal","darkTeal","cyan","steel","lightBlue","blue","royalBlue","darkBlue","cornflower","navy","lavender","purple","darkPurple","orchid","grape","berry","lilac","pink","hotPink","magenta","plum","beige","mink","silver","platinum","anchor","charcoal"],"rangeMappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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