@fluentui/react-teaching-popover 9.5.6 → 9.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (50) hide show
  1. package/CHANGELOG.md +24 -2
  2. package/lib/components/TeachingPopoverBody/useTeachingPopoverBodyStyles.styles.raw.js +53 -0
  3. package/lib/components/TeachingPopoverBody/useTeachingPopoverBodyStyles.styles.raw.js.map +1 -0
  4. package/lib/components/TeachingPopoverCarousel/useTeachingPopoverCarouselStyles.styles.raw.js +14 -0
  5. package/lib/components/TeachingPopoverCarousel/useTeachingPopoverCarouselStyles.styles.raw.js.map +1 -0
  6. package/lib/components/TeachingPopoverCarouselCard/useTeachingPopoverCarouselCardStyles.styles.raw.js +13 -0
  7. package/lib/components/TeachingPopoverCarouselCard/useTeachingPopoverCarouselCardStyles.styles.raw.js.map +1 -0
  8. package/lib/components/TeachingPopoverCarouselFooter/useTeachingPopoverCarouselFooterStyles.styles.raw.js +34 -0
  9. package/lib/components/TeachingPopoverCarouselFooter/useTeachingPopoverCarouselFooterStyles.styles.raw.js.map +1 -0
  10. package/lib/components/TeachingPopoverCarouselFooterButton/useTeachingPopoverCarouselFooterButtonStyles.styles.raw.js +54 -0
  11. package/lib/components/TeachingPopoverCarouselFooterButton/useTeachingPopoverCarouselFooterButtonStyles.styles.raw.js.map +1 -0
  12. package/lib/components/TeachingPopoverCarouselNav/useTeachingPopoverCarouselNavStyles.styles.raw.js +26 -0
  13. package/lib/components/TeachingPopoverCarouselNav/useTeachingPopoverCarouselNavStyles.styles.raw.js.map +1 -0
  14. package/lib/components/TeachingPopoverCarouselNavButton/useTeachingPopoverCarouselNavButtonStyles.styles.raw.js +71 -0
  15. package/lib/components/TeachingPopoverCarouselNavButton/useTeachingPopoverCarouselNavButtonStyles.styles.raw.js.map +1 -0
  16. package/lib/components/TeachingPopoverCarouselPageCount/useTeachingPopoverCarouselPageCountStyles.styles.raw.js +21 -0
  17. package/lib/components/TeachingPopoverCarouselPageCount/useTeachingPopoverCarouselPageCountStyles.styles.raw.js.map +1 -0
  18. package/lib/components/TeachingPopoverFooter/useTeachingPopoverFooterStyles.styles.raw.js +55 -0
  19. package/lib/components/TeachingPopoverFooter/useTeachingPopoverFooterStyles.styles.raw.js.map +1 -0
  20. package/lib/components/TeachingPopoverHeader/useTeachingPopoverHeaderStyles.styles.raw.js +81 -0
  21. package/lib/components/TeachingPopoverHeader/useTeachingPopoverHeaderStyles.styles.raw.js.map +1 -0
  22. package/lib/components/TeachingPopoverSurface/useTeachingPopoverSurfaceStyles.styles.raw.js +24 -0
  23. package/lib/components/TeachingPopoverSurface/useTeachingPopoverSurfaceStyles.styles.raw.js.map +1 -0
  24. package/lib/components/TeachingPopoverTitle/useTeachingPopoverTitleStyles.styles.raw.js +56 -0
  25. package/lib/components/TeachingPopoverTitle/useTeachingPopoverTitleStyles.styles.raw.js.map +1 -0
  26. package/lib-commonjs/components/TeachingPopoverBody/useTeachingPopoverBodyStyles.styles.raw.js +74 -0
  27. package/lib-commonjs/components/TeachingPopoverBody/useTeachingPopoverBodyStyles.styles.raw.js.map +1 -0
  28. package/lib-commonjs/components/TeachingPopoverCarousel/useTeachingPopoverCarouselStyles.styles.raw.js +32 -0
  29. package/lib-commonjs/components/TeachingPopoverCarousel/useTeachingPopoverCarouselStyles.styles.raw.js.map +1 -0
  30. package/lib-commonjs/components/TeachingPopoverCarouselCard/useTeachingPopoverCarouselCardStyles.styles.raw.js +31 -0
  31. package/lib-commonjs/components/TeachingPopoverCarouselCard/useTeachingPopoverCarouselCardStyles.styles.raw.js.map +1 -0
  32. package/lib-commonjs/components/TeachingPopoverCarouselFooter/useTeachingPopoverCarouselFooterStyles.styles.raw.js +52 -0
  33. package/lib-commonjs/components/TeachingPopoverCarouselFooter/useTeachingPopoverCarouselFooterStyles.styles.raw.js.map +1 -0
  34. package/lib-commonjs/components/TeachingPopoverCarouselFooterButton/useTeachingPopoverCarouselFooterButtonStyles.styles.raw.js +70 -0
  35. package/lib-commonjs/components/TeachingPopoverCarouselFooterButton/useTeachingPopoverCarouselFooterButtonStyles.styles.raw.js.map +1 -0
  36. package/lib-commonjs/components/TeachingPopoverCarouselNav/useTeachingPopoverCarouselNavStyles.styles.raw.js +44 -0
  37. package/lib-commonjs/components/TeachingPopoverCarouselNav/useTeachingPopoverCarouselNavStyles.styles.raw.js.map +1 -0
  38. package/lib-commonjs/components/TeachingPopoverCarouselNavButton/useTeachingPopoverCarouselNavButtonStyles.styles.raw.js +87 -0
  39. package/lib-commonjs/components/TeachingPopoverCarouselNavButton/useTeachingPopoverCarouselNavButtonStyles.styles.raw.js.map +1 -0
  40. package/lib-commonjs/components/TeachingPopoverCarouselPageCount/useTeachingPopoverCarouselPageCountStyles.styles.raw.js +37 -0
  41. package/lib-commonjs/components/TeachingPopoverCarouselPageCount/useTeachingPopoverCarouselPageCountStyles.styles.raw.js.map +1 -0
  42. package/lib-commonjs/components/TeachingPopoverFooter/useTeachingPopoverFooterStyles.styles.raw.js +73 -0
  43. package/lib-commonjs/components/TeachingPopoverFooter/useTeachingPopoverFooterStyles.styles.raw.js.map +1 -0
  44. package/lib-commonjs/components/TeachingPopoverHeader/useTeachingPopoverHeaderStyles.styles.raw.js +99 -0
  45. package/lib-commonjs/components/TeachingPopoverHeader/useTeachingPopoverHeaderStyles.styles.raw.js.map +1 -0
  46. package/lib-commonjs/components/TeachingPopoverSurface/useTeachingPopoverSurfaceStyles.styles.raw.js +40 -0
  47. package/lib-commonjs/components/TeachingPopoverSurface/useTeachingPopoverSurfaceStyles.styles.raw.js.map +1 -0
  48. package/lib-commonjs/components/TeachingPopoverTitle/useTeachingPopoverTitleStyles.styles.raw.js +74 -0
  49. package/lib-commonjs/components/TeachingPopoverTitle/useTeachingPopoverTitleStyles.styles.raw.js.map +1 -0
  50. package/package.json +5 -5
@@ -0,0 +1,56 @@
1
+ import { makeStyles, mergeClasses, shorthands } from '@griffel/react';
2
+ import { createCustomFocusIndicatorStyle } from '@fluentui/react-tabster';
3
+ import { tokens, typographyStyles } from '@fluentui/react-theme';
4
+ export const teachingPopoverTitleClassNames = {
5
+ root: 'fui-TeachingPopoverTitle',
6
+ dismissButton: 'fui-TeachingPopoverTitle__dismissButton'
7
+ };
8
+ const useStyles = makeStyles({
9
+ root: {
10
+ display: 'flex',
11
+ flexDirection: 'row',
12
+ justifyContent: 'space-between',
13
+ fontSize: tokens.fontSizeBase400,
14
+ fontWeight: tokens.fontWeightSemibold,
15
+ color: tokens.colorNeutralForeground1,
16
+ lineHeight: tokens.lineHeightBase400,
17
+ paddingBottom: tokens.spacingVerticalS,
18
+ marginTop: tokens.spacingHorizontalNone,
19
+ marginBottom: tokens.spacingHorizontalNone
20
+ },
21
+ rootBrand: {
22
+ color: tokens.colorNeutralForegroundOnBrand
23
+ },
24
+ dismissButton: {
25
+ position: 'relative',
26
+ border: `${tokens.strokeWidthThin} solid ${tokens.colorTransparentStroke}`,
27
+ display: 'flex',
28
+ alignItems: 'center',
29
+ cursor: 'pointer',
30
+ ...typographyStyles.body1,
31
+ backgroundColor: tokens.colorTransparentBackground,
32
+ boxSizing: 'border-box',
33
+ borderTopRightRadius: tokens.borderRadiusNone,
34
+ borderBottomRightRadius: tokens.borderRadiusNone,
35
+ borderRightStyle: 'none',
36
+ ...createCustomFocusIndicatorStyle({
37
+ outline: `${tokens.strokeWidthThick} solid ${tokens.colorStrokeFocus2}`,
38
+ borderRadius: tokens.borderRadiusMedium,
39
+ ...shorthands.borderColor('transparent')
40
+ }),
41
+ marginInlineStart: 'auto'
42
+ },
43
+ dismissBrand: {
44
+ color: tokens.colorNeutralForegroundOnBrand
45
+ }
46
+ });
47
+ /** Applies style classnames to slots */ export const useTeachingPopoverTitleStyles_unstable = (state)=>{
48
+ 'use no memo';
49
+ const styles = useStyles();
50
+ const { appearance } = state;
51
+ state.root.className = mergeClasses(teachingPopoverTitleClassNames.root, styles.root, appearance === 'brand' && styles.rootBrand, state.root.className);
52
+ if (state.dismissButton) {
53
+ state.dismissButton.className = mergeClasses(teachingPopoverTitleClassNames.dismissButton, styles.dismissButton, appearance === 'brand' ? styles.dismissBrand : undefined, state.dismissButton.className);
54
+ }
55
+ return state;
56
+ };
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/components/TeachingPopoverTitle/useTeachingPopoverTitleStyles.styles.ts"],"sourcesContent":["import { makeStyles, mergeClasses, shorthands } from '@griffel/react';\nimport type { TeachingPopoverTitleSlots, TeachingPopoverTitleState } from './TeachingPopoverTitle.types';\nimport type { SlotClassNames } from '@fluentui/react-utilities';\nimport { createCustomFocusIndicatorStyle } from '@fluentui/react-tabster';\nimport { tokens, typographyStyles } from '@fluentui/react-theme';\n\nexport const teachingPopoverTitleClassNames: SlotClassNames<TeachingPopoverTitleSlots> = {\n root: 'fui-TeachingPopoverTitle',\n dismissButton: 'fui-TeachingPopoverTitle__dismissButton',\n};\n\nconst useStyles = makeStyles({\n root: {\n display: 'flex',\n flexDirection: 'row',\n justifyContent: 'space-between',\n fontSize: tokens.fontSizeBase400,\n fontWeight: tokens.fontWeightSemibold,\n color: tokens.colorNeutralForeground1,\n lineHeight: tokens.lineHeightBase400,\n paddingBottom: tokens.spacingVerticalS,\n marginTop: tokens.spacingHorizontalNone,\n marginBottom: tokens.spacingHorizontalNone,\n },\n rootBrand: {\n color: tokens.colorNeutralForegroundOnBrand,\n },\n dismissButton: {\n position: 'relative',\n border: `${tokens.strokeWidthThin} solid ${tokens.colorTransparentStroke}`,\n display: 'flex',\n alignItems: 'center',\n cursor: 'pointer',\n ...typographyStyles.body1,\n backgroundColor: tokens.colorTransparentBackground,\n boxSizing: 'border-box',\n borderTopRightRadius: tokens.borderRadiusNone,\n borderBottomRightRadius: tokens.borderRadiusNone,\n borderRightStyle: 'none',\n ...createCustomFocusIndicatorStyle({\n outline: `${tokens.strokeWidthThick} solid ${tokens.colorStrokeFocus2}`,\n borderRadius: tokens.borderRadiusMedium,\n ...shorthands.borderColor('transparent'),\n }),\n marginInlineStart: 'auto',\n },\n dismissBrand: {\n color: tokens.colorNeutralForegroundOnBrand,\n },\n});\n\n/** Applies style classnames to slots */\nexport const useTeachingPopoverTitleStyles_unstable = (state: TeachingPopoverTitleState) => {\n 'use no memo';\n\n const styles = useStyles();\n const { appearance } = state;\n\n state.root.className = mergeClasses(\n teachingPopoverTitleClassNames.root,\n styles.root,\n appearance === 'brand' && styles.rootBrand,\n state.root.className,\n );\n\n if (state.dismissButton) {\n state.dismissButton.className = mergeClasses(\n teachingPopoverTitleClassNames.dismissButton,\n styles.dismissButton,\n appearance === 'brand' ? styles.dismissBrand : undefined,\n state.dismissButton.className,\n );\n }\n\n return state;\n};\n"],"names":["makeStyles","mergeClasses","shorthands","createCustomFocusIndicatorStyle","tokens","typographyStyles","teachingPopoverTitleClassNames","root","dismissButton","useStyles","display","flexDirection","justifyContent","fontSize","fontSizeBase400","fontWeight","fontWeightSemibold","color","colorNeutralForeground1","lineHeight","lineHeightBase400","paddingBottom","spacingVerticalS","marginTop","spacingHorizontalNone","marginBottom","rootBrand","colorNeutralForegroundOnBrand","position","border","strokeWidthThin","colorTransparentStroke","alignItems","cursor","body1","backgroundColor","colorTransparentBackground","boxSizing","borderTopRightRadius","borderRadiusNone","borderBottomRightRadius","borderRightStyle","outline","strokeWidthThick","colorStrokeFocus2","borderRadius","borderRadiusMedium","borderColor","marginInlineStart","dismissBrand","useTeachingPopoverTitleStyles_unstable","state","styles","appearance","className","undefined"],"rangeMappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","mappings":"AAAA,SAASA,UAAU,EAAEC,YAAY,EAAEC,UAAU,QAAQ,iBAAiB;AAGtE,SAASC,+BAA+B,QAAQ,0BAA0B;AAC1E,SAASC,MAAM,EAAEC,gBAAgB,QAAQ,wBAAwB;AAEjE,OAAO,MAAMC,iCAA4E;IACvFC,MAAM;IACNC,eAAe;AACjB,EAAE;AAEF,MAAMC,YAAYT,WAAW;IAC3BO,MAAM;QACJG,SAA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C,aAAa,CAAC8C,SAAS,GAAGrD,aAC9BK,+BAA+BE,aAAa,EAC5C4C,OAAO5C,aAAa,EACpB6C,eAAe,UAAUD,OAAOH,YAAY,GAAGM,WAC/CJ,MAAM3C,aAAa,CAAC8C,SAAS;IAEjC;IAEA,OAAOH;AACT,EAAE"}
@@ -0,0 +1,74 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", {
3
+ value: true
4
+ });
5
+ function _export(target, all) {
6
+ for(var name in all)Object.defineProperty(target, name, {
7
+ enumerable: true,
8
+ get: all[name]
9
+ });
10
+ }
11
+ _export(exports, {
12
+ teachingPopoverBodyClassNames: function() {
13
+ return teachingPopoverBodyClassNames;
14
+ },
15
+ useMediaStyles: function() {
16
+ return useMediaStyles;
17
+ },
18
+ useTeachingPopoverBodyStyles_unstable: function() {
19
+ return useTeachingPopoverBodyStyles_unstable;
20
+ }
21
+ });
22
+ const _react = require("@griffel/react");
23
+ const teachingPopoverBodyClassNames = {
24
+ root: 'fui-TeachingPopoverBody',
25
+ media: 'fui-TeachingPopoverBody__media'
26
+ };
27
+ const popoverBodyDimension = 288;
28
+ const useMediaStyles = (0, _react.makeStyles)({
29
+ base: {
30
+ gridArea: 'media',
31
+ overflow: 'hidden',
32
+ width: 'auto',
33
+ marginBottom: '12px',
34
+ verticalAlign: 'middle',
35
+ justifyContent: 'center',
36
+ display: 'flex'
37
+ },
38
+ short: {
39
+ aspectRatio: popoverBodyDimension / 117,
40
+ '@supports not (aspect-ratio)': {
41
+ height: '117px'
42
+ }
43
+ },
44
+ medium: {
45
+ aspectRatio: popoverBodyDimension / 176,
46
+ '@supports not (aspect-ratio)': {
47
+ height: '176px'
48
+ }
49
+ },
50
+ tall: {
51
+ aspectRatio: 1,
52
+ '@supports not (aspect-ratio)': {
53
+ height: `${popoverBodyDimension}px`
54
+ }
55
+ }
56
+ });
57
+ const useStyles = (0, _react.makeStyles)({
58
+ root: {
59
+ display: 'flex',
60
+ flexDirection: 'column',
61
+ paddingBottom: '12px'
62
+ }
63
+ });
64
+ const useTeachingPopoverBodyStyles_unstable = (state)=>{
65
+ 'use no memo';
66
+ const { mediaLength } = state;
67
+ const styles = useStyles();
68
+ const mediaStyles = useMediaStyles();
69
+ state.root.className = (0, _react.mergeClasses)(teachingPopoverBodyClassNames.root, styles.root, state.root.className);
70
+ if (state.media) {
71
+ state.media.className = (0, _react.mergeClasses)(teachingPopoverBodyClassNames.media, mediaStyles.base, mediaStyles[mediaLength], state.media.className);
72
+ }
73
+ return state;
74
+ };
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/components/TeachingPopoverBody/useTeachingPopoverBodyStyles.styles.ts"],"sourcesContent":["import { makeStyles, mergeClasses } from '@griffel/react';\nimport type { TeachingPopoverBodySlots, TeachingPopoverBodyState } from './TeachingPopoverBody.types';\nimport type { SlotClassNames } from '@fluentui/react-utilities';\n\nexport const teachingPopoverBodyClassNames: SlotClassNames<TeachingPopoverBodySlots> = {\n root: 'fui-TeachingPopoverBody',\n media: 'fui-TeachingPopoverBody__media',\n};\n\nconst popoverBodyDimension = 288;\n\nexport const useMediaStyles = makeStyles({\n base: {\n gridArea: 'media',\n overflow: 'hidden',\n width: 'auto',\n marginBottom: '12px',\n verticalAlign: 'middle',\n justifyContent: 'center',\n display: 'flex',\n },\n short: {\n aspectRatio: popoverBodyDimension / 117,\n '@supports not (aspect-ratio)': {\n height: '117px',\n },\n },\n medium: {\n aspectRatio: popoverBodyDimension / 176,\n '@supports not (aspect-ratio)': {\n height: '176px',\n },\n },\n tall: {\n aspectRatio: 1,\n '@supports not (aspect-ratio)': {\n height: `${popoverBodyDimension}px`,\n },\n },\n});\n\nconst useStyles = makeStyles({\n root: {\n display: 'flex',\n flexDirection: 'column',\n paddingBottom: '12px',\n },\n});\n\n/** Applies style classnames to slots */\nexport const useTeachingPopoverBodyStyles_unstable = (state: TeachingPopoverBodyState) => {\n 'use no memo';\n\n const { mediaLength } = state;\n const styles = useStyles();\n const mediaStyles = useMediaStyles();\n\n state.root.className = mergeClasses(teachingPopoverBodyClassNames.root, styles.root, state.root.className);\n\n if (state.media) {\n state.media.className = mergeClasses(\n teachingPopoverBodyClassNames.media,\n mediaStyles.base,\n mediaStyles[mediaLength],\n state.media.className,\n );\n }\n\n return state;\n};\n"],"names":["teachingPopoverBodyClassNames","useMediaStyles","useTeachingPopoverBodyStyles_unstable","root","media","popoverBodyDimension","makeStyles","base","gridArea","overflow","width","marginBottom","verticalAlign","justifyContent","display","short","aspectRatio","height","medium","tall","useStyles","flexDirection","paddingBottom","state","mediaLength","styles","mediaStyles","className","mergeClasses"],"rangeMappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","mappings":";;;;;;;;;;;IAIaA,6BAAAA;eAAAA;;IAOAC,cAAAA;eAAAA;;IAuCAC,qCAAAA;eAAAA;;;uBAlD4B;AAIlC,MAAMF,gCAA0E;IACrFG,MAAM;IACNC,OAAO;AACT;AAEA,MAAMC,uBAAuB;AAEtB,MAAMJ,iBAAiBK,IAAAA,iBAAAA,EAAW;IACvCC,MAAM;QACJC,UAAU;QACVC,UAAU;QACVC,OAAO;QACPC,cAAc;QACdC,eAAe;QACfC,gBAAgB;QAChBC,SAAS;IACX;IACAC,OAAO;QACLC,aAAaX,uBAAuB;QACpC,gCAAgC;YAC9BY,QAAQ;QACV;IACF;IACAC,QAAQ;QACNF,aAAaX,uBAAuB;QACpC,gCAAgC;YAC9BY,QAAQ;QACV;IACF;IACAE,MAAM;QACJH,aAAa;QACb,gCAAgC;YAC9BC,QAAQ,CAAC,EAAEZ,qBAAqB,EAAE,CAAC;QACrC;IACF;AACF;AAEA,MAAMe,YAAYd,IAAAA,iBAAAA,EAAW;IAC3BH,MAAM;QACJW,SAAS;QACTO,eAAe;QACfC,eAAe;IACjB;AACF;AAGO,MAAMpB,wCAAwC,CAACqB;IACpD;IAEA,MAAM,EAAEC,WAAW,EAAE,GAAGD;IACxB,MAAME,SAASL;IACf,MAAMM,cAAczB;IAEpBsB,MAAMpB,IAAI,CAACwB,SAAS,GAAGC,IAAAA,mBAAAA,EAAa5B,8BAA8BG,IAAI,EAAEsB,OAAOtB,IAAI,EAAEoB,MAAMpB,IAAI,CAACwB,SAAS;IAEzG,IAAIJ,MAAMnB,KAAK,EAAE;QACfmB,MAAMnB,KAAK,CAACuB,SAAS,GAAGC,IAAAA,mBAAAA,EACtB5B,8BAA8BI,KAAK,EACnCsB,YAAYnB,IAAI,EAChBmB,WAAW,CAACF,YAAY,EACxBD,MAAMnB,KAAK,CAACuB,SAAS;IAEzB;IAEA,OAAOJ;AACT"}
@@ -0,0 +1,32 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", {
3
+ value: true
4
+ });
5
+ function _export(target, all) {
6
+ for(var name in all)Object.defineProperty(target, name, {
7
+ enumerable: true,
8
+ get: all[name]
9
+ });
10
+ }
11
+ _export(exports, {
12
+ teachingPopoverCarouselClassNames: function() {
13
+ return teachingPopoverCarouselClassNames;
14
+ },
15
+ useTeachingPopoverCarouselStyles_unstable: function() {
16
+ return useTeachingPopoverCarouselStyles_unstable;
17
+ }
18
+ });
19
+ const _react = require("@griffel/react");
20
+ const teachingPopoverCarouselClassNames = {
21
+ root: 'fui-TeachingPopoverCarousel'
22
+ };
23
+ // Todo: Page change animation & styles
24
+ const useStyles = (0, _react.makeStyles)({
25
+ root: {}
26
+ });
27
+ const useTeachingPopoverCarouselStyles_unstable = (state)=>{
28
+ 'use no memo';
29
+ const styles = useStyles();
30
+ state.root.className = (0, _react.mergeClasses)(teachingPopoverCarouselClassNames.root, styles.root, state.root.className);
31
+ return state;
32
+ };
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/components/TeachingPopoverCarousel/useTeachingPopoverCarouselStyles.styles.ts"],"sourcesContent":["import { makeStyles, mergeClasses } from '@griffel/react';\nimport type { TeachingPopoverCarouselSlots, TeachingPopoverCarouselState } from './TeachingPopoverCarousel.types';\nimport type { SlotClassNames } from '@fluentui/react-utilities';\n\nexport const teachingPopoverCarouselClassNames: SlotClassNames<TeachingPopoverCarouselSlots> = {\n root: 'fui-TeachingPopoverCarousel',\n};\n\n// Todo: Page change animation & styles\nconst useStyles = makeStyles({\n root: {},\n});\n\n/** Applies style classnames to slots */\nexport const useTeachingPopoverCarouselStyles_unstable = (state: TeachingPopoverCarouselState) => {\n 'use no memo';\n\n const styles = useStyles();\n\n state.root.className = mergeClasses(teachingPopoverCarouselClassNames.root, styles.root, state.root.className);\n\n return state;\n};\n"],"names":["teachingPopoverCarouselClassNames","useTeachingPopoverCarouselStyles_unstable","root","useStyles","makeStyles","state","styles","className","mergeClasses"],"rangeMappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","mappings":";;;;;;;;;;;IAIaA,iCAAAA;eAAAA;;IAUAC,yCAAAA;eAAAA;;;uBAd4B;AAIlC,MAAMD,oCAAkF;IAC7FE,MAAM;AACR;AAEA,uCAAuC;AACvC,MAAMC,YAAYC,IAAAA,iBAAAA,EAAW;IAC3BF,MAAM,CAAC;AACT;AAGO,MAAMD,4CAA4C,CAACI;IACxD;IAEA,MAAMC,SAASH;IAEfE,MAAMH,IAAI,CAACK,SAAS,GAAGC,IAAAA,mBAAAA,EAAaR,kCAAkCE,IAAI,EAAEI,OAAOJ,IAAI,EAAEG,MAAMH,IAAI,CAACK,SAAS;IAE7G,OAAOF;AACT"}
@@ -0,0 +1,31 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", {
3
+ value: true
4
+ });
5
+ function _export(target, all) {
6
+ for(var name in all)Object.defineProperty(target, name, {
7
+ enumerable: true,
8
+ get: all[name]
9
+ });
10
+ }
11
+ _export(exports, {
12
+ teachingPopoverCarouselCardClassNames: function() {
13
+ return teachingPopoverCarouselCardClassNames;
14
+ },
15
+ useTeachingPopoverCarouselCardStyles_unstable: function() {
16
+ return useTeachingPopoverCarouselCardStyles_unstable;
17
+ }
18
+ });
19
+ const _react = require("@griffel/react");
20
+ const teachingPopoverCarouselCardClassNames = {
21
+ root: 'fui-TeachingPopoverCarouselCard'
22
+ };
23
+ const useStyles = (0, _react.makeStyles)({
24
+ root: {}
25
+ });
26
+ const useTeachingPopoverCarouselCardStyles_unstable = (state)=>{
27
+ 'use no memo';
28
+ const styles = useStyles();
29
+ state.root.className = (0, _react.mergeClasses)(teachingPopoverCarouselCardClassNames.root, styles.root, state.root.className);
30
+ return state;
31
+ };
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/components/TeachingPopoverCarouselCard/useTeachingPopoverCarouselCardStyles.styles.ts"],"sourcesContent":["import { makeStyles, mergeClasses } from '@griffel/react';\nimport type {\n TeachingPopoverCarouselCardSlots,\n TeachingPopoverCarouselCardState,\n} from './TeachingPopoverCarouselCard.types';\nimport type { SlotClassNames } from '@fluentui/react-utilities';\n\nexport const teachingPopoverCarouselCardClassNames: SlotClassNames<TeachingPopoverCarouselCardSlots> = {\n root: 'fui-TeachingPopoverCarouselCard',\n};\n\nconst useStyles = makeStyles({\n root: {},\n});\n\n/** Applies style classnames to slots */\nexport const useTeachingPopoverCarouselCardStyles_unstable = (state: TeachingPopoverCarouselCardState) => {\n 'use no memo';\n\n const styles = useStyles();\n\n state.root.className = mergeClasses(teachingPopoverCarouselCardClassNames.root, styles.root, state.root.className);\n\n return state;\n};\n"],"names":["teachingPopoverCarouselCardClassNames","useTeachingPopoverCarouselCardStyles_unstable","root","useStyles","makeStyles","state","styles","className","mergeClasses"],"rangeMappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","mappings":";;;;;;;;;;;IAOaA,qCAAAA;eAAAA;;IASAC,6CAAAA;eAAAA;;;uBAhB4B;AAOlC,MAAMD,wCAA0F;IACrGE,MAAM;AACR;AAEA,MAAMC,YAAYC,IAAAA,iBAAAA,EAAW;IAC3BF,MAAM,CAAC;AACT;AAGO,MAAMD,gDAAgD,CAACI;IAC5D;IAEA,MAAMC,SAASH;IAEfE,MAAMH,IAAI,CAACK,SAAS,GAAGC,IAAAA,mBAAAA,EAAaR,sCAAsCE,IAAI,EAAEI,OAAOJ,IAAI,EAAEG,MAAMH,IAAI,CAACK,SAAS;IAEjH,OAAOF;AACT"}
@@ -0,0 +1,52 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", {
3
+ value: true
4
+ });
5
+ function _export(target, all) {
6
+ for(var name in all)Object.defineProperty(target, name, {
7
+ enumerable: true,
8
+ get: all[name]
9
+ });
10
+ }
11
+ _export(exports, {
12
+ teachingPopoverCarouselFooterClassNames: function() {
13
+ return teachingPopoverCarouselFooterClassNames;
14
+ },
15
+ useTeachingPopoverCarouselFooterStyles_unstable: function() {
16
+ return useTeachingPopoverCarouselFooterStyles_unstable;
17
+ }
18
+ });
19
+ const _react = require("@griffel/react");
20
+ const teachingPopoverCarouselFooterClassNames = {
21
+ root: 'fui-TeachingPopoverCarouselFooter',
22
+ previous: 'fui-TeachingPopoverCarouselFooter__previous',
23
+ next: 'fui-TeachingPopoverCarouselFooter__next'
24
+ };
25
+ // Todo: Page change animation & styles
26
+ const useStyles = (0, _react.makeStyles)({
27
+ root: {
28
+ display: 'flex',
29
+ flexDirection: 'row'
30
+ },
31
+ rootCentered: {
32
+ justifyContent: 'space-between',
33
+ gap: '8px'
34
+ },
35
+ rootRightAligned: {
36
+ gap: '8px',
37
+ '& :first-child': {
38
+ marginInlineEnd: 'auto'
39
+ }
40
+ }
41
+ });
42
+ const useTeachingPopoverCarouselFooterStyles_unstable = (state)=>{
43
+ 'use no memo';
44
+ const styles = useStyles();
45
+ const { layout } = state;
46
+ state.root.className = (0, _react.mergeClasses)(teachingPopoverCarouselFooterClassNames.root, styles.root, layout === 'centered' ? styles.rootCentered : styles.rootRightAligned, state.root.className);
47
+ if (state.previous) {
48
+ state.previous.className = (0, _react.mergeClasses)(teachingPopoverCarouselFooterClassNames.previous, state.previous.className);
49
+ }
50
+ state.next.className = (0, _react.mergeClasses)(teachingPopoverCarouselFooterClassNames.next, state.next.className);
51
+ return state;
52
+ };
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/components/TeachingPopoverCarouselFooter/useTeachingPopoverCarouselFooterStyles.styles.ts"],"sourcesContent":["import { makeStyles, mergeClasses } from '@griffel/react';\nimport type {\n TeachingPopoverCarouselFooterSlots,\n TeachingPopoverCarouselFooterState,\n} from './TeachingPopoverCarouselFooter.types';\nimport type { SlotClassNames } from '@fluentui/react-utilities';\n\nexport const teachingPopoverCarouselFooterClassNames: SlotClassNames<TeachingPopoverCarouselFooterSlots> = {\n root: 'fui-TeachingPopoverCarouselFooter',\n previous: 'fui-TeachingPopoverCarouselFooter__previous',\n next: 'fui-TeachingPopoverCarouselFooter__next',\n};\n\n// Todo: Page change animation & styles\nconst useStyles = makeStyles({\n root: {\n display: 'flex',\n flexDirection: 'row',\n },\n rootCentered: {\n justifyContent: 'space-between',\n gap: '8px',\n },\n rootRightAligned: {\n gap: '8px',\n '& :first-child': {\n marginInlineEnd: 'auto',\n },\n },\n});\n\n/** Applies style classnames to slots */\nexport const useTeachingPopoverCarouselFooterStyles_unstable = (state: TeachingPopoverCarouselFooterState) => {\n 'use no memo';\n\n const styles = useStyles();\n const { layout } = state;\n\n state.root.className = mergeClasses(\n teachingPopoverCarouselFooterClassNames.root,\n styles.root,\n layout === 'centered' ? styles.rootCentered : styles.rootRightAligned,\n state.root.className,\n );\n\n if (state.previous) {\n state.previous.className = mergeClasses(teachingPopoverCarouselFooterClassNames.previous, state.previous.className);\n }\n\n state.next.className = mergeClasses(teachingPopoverCarouselFooterClassNames.next, state.next.className);\n\n return state;\n};\n"],"names":["teachingPopoverCarouselFooterClassNames","useTeachingPopoverCarouselFooterStyles_unstable","root","previous","next","useStyles","makeStyles","display","flexDirection","rootCentered","justifyContent","gap","rootRightAligned","marginInlineEnd","state","styles","layout","className","mergeClasses"],"rangeMappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","mappings":";;;;;;;;;;;IAOaA,uCAAAA;eAAAA;;IAyBAC,+CAAAA;eAAAA;;;uBAhC4B;AAOlC,MAAMD,0CAA8F;IACzGE,MAAM;IACNC,UAAU;IACVC,MAAM;AACR;AAEA,uCAAuC;AACvC,MAAMC,YAAYC,IAAAA,iBAAAA,EAAW;IAC3BJ,MAAM;QACJK,SAAS;QACTC,eAAe;IACjB;IACAC,cAAc;QACZC,gBAAgB;QAChBC,KAAK;IACP;IACAC,kBAAkB;QAChBD,KAAK;QACL,kBAAkB;YAChBE,iBAAiB;QACnB;IACF;AACF;AAGO,MAAMZ,kDAAkD,CAACa;IAC9D;IAEA,MAAMC,SAASV;IACf,MAAM,EAAEW,MAAM,EAAE,GAAGF;IAEnBA,MAAMZ,IAAI,CAACe,SAAS,GAAGC,IAAAA,mBAAAA,EACrBlB,wCAAwCE,IAAI,EAC5Ca,OAAOb,IAAI,EACXc,WAAW,aAAaD,OAAON,YAAY,GAAGM,OAAOH,gBAAgB,EACrEE,MAAMZ,IAAI,CAACe,SAAS;IAGtB,IAAIH,MAAMX,QAAQ,EAAE;QAClBW,MAAMX,QAAQ,CAACc,SAAS,GAAGC,IAAAA,mBAAAA,EAAalB,wCAAwCG,QAAQ,EAAEW,MAAMX,QAAQ,CAACc,SAAS;IACpH;IAEAH,MAAMV,IAAI,CAACa,SAAS,GAAGC,IAAAA,mBAAAA,EAAalB,wCAAwCI,IAAI,EAAEU,MAAMV,IAAI,CAACa,SAAS;IAEtG,OAAOH;AACT"}
@@ -0,0 +1,70 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", {
3
+ value: true
4
+ });
5
+ function _export(target, all) {
6
+ for(var name in all)Object.defineProperty(target, name, {
7
+ enumerable: true,
8
+ get: all[name]
9
+ });
10
+ }
11
+ _export(exports, {
12
+ teachingPopoverCarouselFooterButtonClassNames: function() {
13
+ return teachingPopoverCarouselFooterButtonClassNames;
14
+ },
15
+ useTeachingPopoverCarouselFooterButtonStyles_unstable: function() {
16
+ return useTeachingPopoverCarouselFooterButtonStyles_unstable;
17
+ }
18
+ });
19
+ const _react = require("@griffel/react");
20
+ const _reacttheme = require("@fluentui/react-theme");
21
+ const _reactbutton = require("@fluentui/react-button");
22
+ const teachingPopoverCarouselFooterButtonClassNames = {
23
+ root: 'fui-TeachingPopoverCarouselFooterButton'
24
+ };
25
+ const useStyles = (0, _react.makeStyles)({
26
+ root: {
27
+ minWidth: '96px'
28
+ },
29
+ brandNext: {
30
+ color: _reacttheme.tokens.colorBrandForeground1,
31
+ backgroundColor: _reacttheme.tokens.colorNeutralForegroundOnBrand,
32
+ ..._react.shorthands.borderColor(_reacttheme.tokens.colorTransparentBackground),
33
+ ':hover': {
34
+ color: _reacttheme.tokens.colorCompoundBrandForeground1Hover,
35
+ backgroundColor: _reacttheme.tokens.colorNeutralForegroundOnBrand
36
+ },
37
+ ':hover:active': {
38
+ color: _reacttheme.tokens.colorCompoundBrandForeground1Pressed,
39
+ backgroundColor: _reacttheme.tokens.colorNeutralForegroundOnBrand
40
+ }
41
+ },
42
+ brandPrevious: {
43
+ // In brand, this is always 'NeutralForegroundOnBrand'
44
+ color: _reacttheme.tokens.colorNeutralForegroundOnBrand,
45
+ backgroundColor: _reacttheme.tokens.colorBrandBackground,
46
+ ..._react.shorthands.borderColor(_reacttheme.tokens.colorNeutralForegroundOnBrand),
47
+ ':hover': {
48
+ color: _reacttheme.tokens.colorNeutralForegroundOnBrand,
49
+ ..._react.shorthands.borderColor(_reacttheme.tokens.colorNeutralForegroundOnBrand),
50
+ backgroundColor: _reacttheme.tokens.colorBrandBackgroundHover
51
+ },
52
+ ':hover:active': {
53
+ color: _reacttheme.tokens.colorNeutralForegroundOnBrand,
54
+ ..._react.shorthands.borderColor(_reacttheme.tokens.colorNeutralForegroundOnBrand),
55
+ backgroundColor: _reacttheme.tokens.colorBrandBackgroundPressed
56
+ }
57
+ }
58
+ });
59
+ const useTeachingPopoverCarouselFooterButtonStyles_unstable = (state)=>{
60
+ 'use no memo';
61
+ const styles = useStyles();
62
+ const { navType, popoverAppearance } = state;
63
+ // Apply underlying fluent Button styles
64
+ state = {
65
+ ...state,
66
+ ...(0, _reactbutton.useButtonStyles_unstable)(state)
67
+ };
68
+ state.root.className = (0, _react.mergeClasses)(teachingPopoverCarouselFooterButtonClassNames.root, styles.root, navType === 'prev' && popoverAppearance === 'brand' && styles.brandPrevious, navType === 'next' && popoverAppearance === 'brand' && styles.brandNext, state.root.className);
69
+ return state;
70
+ };
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/components/TeachingPopoverCarouselFooterButton/useTeachingPopoverCarouselFooterButtonStyles.styles.ts"],"sourcesContent":["import { makeStyles, mergeClasses, shorthands } from '@griffel/react';\nimport type { SlotClassNames } from '@fluentui/react-utilities';\nimport type {\n TeachingPopoverCarouselFooterButtonSlots,\n TeachingPopoverCarouselFooterButtonState,\n} from './TeachingPopoverCarouselFooterButton.types';\nimport { tokens } from '@fluentui/react-theme';\nimport { useButtonStyles_unstable } from '@fluentui/react-button';\n\nexport const teachingPopoverCarouselFooterButtonClassNames: SlotClassNames<TeachingPopoverCarouselFooterButtonSlots> = {\n root: 'fui-TeachingPopoverCarouselFooterButton',\n};\n\nconst useStyles = makeStyles({\n root: {\n minWidth: '96px',\n },\n brandNext: {\n color: tokens.colorBrandForeground1,\n backgroundColor: tokens.colorNeutralForegroundOnBrand,\n ...shorthands.borderColor(tokens.colorTransparentBackground),\n ':hover': {\n color: tokens.colorCompoundBrandForeground1Hover,\n backgroundColor: tokens.colorNeutralForegroundOnBrand,\n },\n ':hover:active': {\n color: tokens.colorCompoundBrandForeground1Pressed,\n backgroundColor: tokens.colorNeutralForegroundOnBrand,\n },\n },\n brandPrevious: {\n // In brand, this is always 'NeutralForegroundOnBrand'\n color: tokens.colorNeutralForegroundOnBrand,\n backgroundColor: tokens.colorBrandBackground,\n ...shorthands.borderColor(tokens.colorNeutralForegroundOnBrand),\n ':hover': {\n color: tokens.colorNeutralForegroundOnBrand,\n ...shorthands.borderColor(tokens.colorNeutralForegroundOnBrand),\n backgroundColor: tokens.colorBrandBackgroundHover,\n },\n ':hover:active': {\n color: tokens.colorNeutralForegroundOnBrand,\n ...shorthands.borderColor(tokens.colorNeutralForegroundOnBrand),\n backgroundColor: tokens.colorBrandBackgroundPressed,\n },\n },\n});\n\n/**\n * Apply styling to the TeachingPopoverCarouselFooterButton slots based on the state\n */\nexport const useTeachingPopoverCarouselFooterButtonStyles_unstable = (\n state: TeachingPopoverCarouselFooterButtonState,\n): TeachingPopoverCarouselFooterButtonState => {\n 'use no memo';\n\n const styles = useStyles();\n const { navType, popoverAppearance } = state;\n\n // Apply underlying fluent Button styles\n state = {\n ...state,\n ...useButtonStyles_unstable(state),\n };\n\n state.root.className = mergeClasses(\n teachingPopoverCarouselFooterButtonClassNames.root,\n styles.root,\n navType === 'prev' && popoverAppearance === 'brand' && styles.brandPrevious,\n navType === 'next' && popoverAppearance === 'brand' && styles.brandNext,\n state.root.className,\n );\n\n return state;\n};\n"],"names":["teachingPopoverCarouselFooterButtonClassNames","useTeachingPopoverCarouselFooterButtonStyles_unstable","root","useStyles","makeStyles","minWidth","brandNext","color","tokens","colorBrandForeground1","backgroundColor","colorNeutralForegroundOnBrand","shorthands","borderColor","colorTransparentBackground","colorCompoundBrandForeground1Hover","colorCompoundBrandForeground1Pressed","brandPrevious","colorBrandBackground","colorBrandBackgroundHover","colorBrandBackgroundPressed","state","styles","navType","popoverAppearance","useButtonStyles_unstable","className","mergeClasses"],"rangeMappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","mappings":";;;;;;;;;;;IASaA,6CAAAA;eAAAA;;IA0CAC,qDAAAA;eAAAA;;;uBAnDwC;4BAM9B;6BACkB;AAElC,MAAMD,gDAA0G;IACrHE,MAAM;AACR;AAEA,MAAMC,YAAYC,IAAAA,iBAAAA,EAAW;IAC3BF,MAAM;QACJG,UAAU;IACZ;IACAC,WAAW;QACTC,OAAOC,kBAAAA,C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YAAY,UAAUC,sBAAsB,WAAWF,OAAOhB,SAAS,EACvEe,MAAMnB,IAAI,CAACwB,SAAS;IAGtB,OAAOL;AACT"}
@@ -0,0 +1,44 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", {
3
+ value: true
4
+ });
5
+ function _export(target, all) {
6
+ for(var name in all)Object.defineProperty(target, name, {
7
+ enumerable: true,
8
+ get: all[name]
9
+ });
10
+ }
11
+ _export(exports, {
12
+ teachingPopoverCarouselNavClassNames: function() {
13
+ return teachingPopoverCarouselNavClassNames;
14
+ },
15
+ useTeachingPopoverCarouselNavStyles_unstable: function() {
16
+ return useTeachingPopoverCarouselNavStyles_unstable;
17
+ }
18
+ });
19
+ const _react = require("@griffel/react");
20
+ const _reacttabster = require("@fluentui/react-tabster");
21
+ const _reacttheme = require("@fluentui/react-theme");
22
+ const teachingPopoverCarouselNavClassNames = {
23
+ root: 'fui-TeachingPopoverCarouselNav'
24
+ };
25
+ const useStyles = (0, _react.makeStyles)({
26
+ root: {
27
+ display: 'flex',
28
+ flexDirection: 'row',
29
+ columnGap: _reacttheme.tokens.spacingHorizontalXS,
30
+ alignItems: 'center',
31
+ justifyContent: 'center',
32
+ ...(0, _reacttabster.createCustomFocusIndicatorStyle)({
33
+ outline: `${_reacttheme.tokens.strokeWidthThick} solid ${_reacttheme.tokens.colorStrokeFocus2}`,
34
+ borderRadius: _reacttheme.tokens.borderRadiusMedium,
35
+ ..._react.shorthands.borderColor('transparent')
36
+ })
37
+ }
38
+ });
39
+ const useTeachingPopoverCarouselNavStyles_unstable = (state)=>{
40
+ 'use no memo';
41
+ const styles = useStyles();
42
+ state.root.className = (0, _react.mergeClasses)(teachingPopoverCarouselNavClassNames.root, styles.root, state.root.className);
43
+ return state;
44
+ };
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/components/TeachingPopoverCarouselNav/useTeachingPopoverCarouselNavStyles.styles.ts"],"sourcesContent":["import { makeStyles, mergeClasses, shorthands } from '@griffel/react';\nimport type {\n TeachingPopoverCarouselNavSlots,\n TeachingPopoverCarouselNavState,\n} from './TeachingPopoverCarouselNav.types';\nimport type { SlotClassNames } from '@fluentui/react-utilities';\nimport { createCustomFocusIndicatorStyle } from '@fluentui/react-tabster';\nimport { tokens } from '@fluentui/react-theme';\n\nexport const teachingPopoverCarouselNavClassNames: SlotClassNames<TeachingPopoverCarouselNavSlots> = {\n root: 'fui-TeachingPopoverCarouselNav',\n};\n\nconst useStyles = makeStyles({\n root: {\n display: 'flex',\n flexDirection: 'row',\n columnGap: tokens.spacingHorizontalXS,\n alignItems: 'center',\n justifyContent: 'center',\n ...createCustomFocusIndicatorStyle({\n outline: `${tokens.strokeWidthThick} solid ${tokens.colorStrokeFocus2}`,\n borderRadius: tokens.borderRadiusMedium,\n ...shorthands.borderColor('transparent'),\n }),\n },\n});\n\n/** Applies style classnames to slots */\nexport const useTeachingPopoverCarouselNavStyles_unstable = (state: TeachingPopoverCarouselNavState) => {\n 'use no memo';\n\n const styles = useStyles();\n\n state.root.className = mergeClasses(teachingPopoverCarouselNavClassNames.root, styles.root, state.root.className);\n\n return state;\n};\n"],"names":["teachingPopoverCarouselNavClassNames","useTeachingPopoverCarouselNavStyles_unstable","root","useStyles","makeStyles","display","flexDirection","columnGap","tokens","spacingHorizontalXS","alignItems","justifyContent","createCustomFocusIndicatorStyle","outline","strokeWidthThick","colorStrokeFocus2","borderRadius","borderRadiusMedium","shorthands","borderColor","state","styles","className","mergeClasses"],"rangeMappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","mappings":";;;;;;;;;;;IASaA,oCAAAA;eAAAA;;IAoBAC,4CAAAA;eAAAA;;;uBA7BwC;8BAML;4BACzB;AAEhB,MAAMD,uCAAwF;IACnGE,MAAM;AACR;AAEA,MAAMC,YAAYC,IAAAA,iBAAAA,EAAW;IAC3BF,MAAM;QACJG,SAAS;QACTC,eAAe;QACfC,WAAWC,kBAAAA,CAAOC,mBAAmB;QACrCC,YAAY;QACZC,gBAAgB;QAChB,GAAGC,IAAAA,6CAAAA,EAAgC;YACjCC,SAAS,CAAC,EAAEL,kBAAAA,CAAOM,gBAAgB,CAAC,OAAO,EAAEN,kBAAAA,CAAOO,iBAAiB,CAAC,CAAC;YACvEC,cAAcR,kBAAAA,CAAOS,kBAAkB;YACvC,GAAGC,iBAAAA,CAAWC,WAAW,CAAC,cAAc;QAC1C,EAAE;IACJ;AACF;AAGO,MAAMlB,+CAA+C,CAACmB;IAC3D;IAEA,MAAMC,SAASlB;IAEfiB,MAAMlB,IAAI,CAACoB,SAAS,GAAGC,IAAAA,mBAAAA,EAAavB,qCAAqCE,IAAI,EAAEmB,OAAOnB,IAAI,EAAEkB,MAAMlB,IAAI,CAACoB,SAAS;IAEhH,OAAOF;AACT"}
@@ -0,0 +1,87 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", {
3
+ value: true
4
+ });
5
+ function _export(target, all) {
6
+ for(var name in all)Object.defineProperty(target, name, {
7
+ enumerable: true,
8
+ get: all[name]
9
+ });
10
+ }
11
+ _export(exports, {
12
+ teachingPopoverCarouselNavButtonClassNames: function() {
13
+ return teachingPopoverCarouselNavButtonClassNames;
14
+ },
15
+ useTeachingPopoverCarouselNavButtonStyles_unstable: function() {
16
+ return useTeachingPopoverCarouselNavButtonStyles_unstable;
17
+ }
18
+ });
19
+ const _react = require("@griffel/react");
20
+ const _reacttheme = require("@fluentui/react-theme");
21
+ const _reacttabster = require("@fluentui/react-tabster");
22
+ const teachingPopoverCarouselNavButtonClassNames = {
23
+ root: 'fui-TeachingPopoverCarouselNavButton'
24
+ };
25
+ /**
26
+ * Styles for the root slot
27
+ */ const useStyles = (0, _react.makeStyles)({
28
+ root: {
29
+ display: 'flex',
30
+ cursor: 'pointer',
31
+ boxSizing: 'border-box',
32
+ height: '8px',
33
+ width: '8px',
34
+ backgroundColor: _reacttheme.tokens.colorBrandBackground
35
+ },
36
+ rootUnselected: {
37
+ border: 'none',
38
+ borderRadius: '50%',
39
+ padding: '0px',
40
+ outline: `${_reacttheme.tokens.strokeWidthThin} solid transparent`,
41
+ ...(0, _reacttabster.createCustomFocusIndicatorStyle)({
42
+ outline: `${_reacttheme.tokens.strokeWidthThick} solid ${_reacttheme.tokens.colorStrokeFocus2}`,
43
+ borderRadius: _reacttheme.tokens.borderRadiusMedium,
44
+ ..._react.shorthands.borderColor('transparent')
45
+ }),
46
+ backgroundColor: `color-mix(in srgb, ${_reacttheme.tokens.colorBrandBackground} 30%, transparent)`,
47
+ '@supports not (color: color-mix(in lch, white, black))': {
48
+ // This will also affect the focus border, but only in older unsupported browsers
49
+ opacity: 0.3,
50
+ backgroundColor: _reacttheme.tokens.colorBrandBackground
51
+ }
52
+ },
53
+ rootSelected: {
54
+ outline: `${_reacttheme.tokens.strokeWidthThin} solid transparent`,
55
+ width: '16px',
56
+ border: 'none',
57
+ borderRadius: '4px',
58
+ padding: '0px',
59
+ ...(0, _reacttabster.createCustomFocusIndicatorStyle)({
60
+ outline: `${_reacttheme.tokens.strokeWidthThick} solid ${_reacttheme.tokens.colorStrokeFocus2}`,
61
+ borderRadius: _reacttheme.tokens.borderRadiusMedium,
62
+ ..._react.shorthands.borderColor('transparent')
63
+ }),
64
+ '@media (forced-colors: active)': {
65
+ backgroundColor: 'CanvasText'
66
+ }
67
+ },
68
+ rootBrand: {
69
+ backgroundColor: _reacttheme.tokens.colorNeutralForegroundOnBrand
70
+ },
71
+ rootBrandUnselected: {
72
+ backgroundColor: `color-mix(in srgb, ${_reacttheme.tokens.colorNeutralForegroundOnBrand} 30%, transparent)`,
73
+ '@supports not (color: color-mix(in lch, white, black))': {
74
+ // This will also affect the focus border, but only in older unsupported browsers
75
+ opacity: 0.3,
76
+ backgroundColor: _reacttheme.tokens.colorBrandBackground
77
+ }
78
+ }
79
+ });
80
+ const useTeachingPopoverCarouselNavButtonStyles_unstable = (state)=>{
81
+ 'use no memo';
82
+ const styles = useStyles();
83
+ const { appearance, isSelected } = state;
84
+ const brandStyles = isSelected ? styles.rootBrand : styles.rootBrandUnselected;
85
+ state.root.className = (0, _react.mergeClasses)(teachingPopoverCarouselNavButtonClassNames.root, styles.root, isSelected ? styles.rootSelected : styles.rootUnselected, appearance === 'brand' && brandStyles, state.root.className);
86
+ return state;
87
+ };
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/components/TeachingPopoverCarouselNavButton/useTeachingPopoverCarouselNavButtonStyles.styles.ts"],"sourcesContent":["import { makeStyles, mergeClasses, shorthands } from '@griffel/react';\nimport type { SlotClassNames } from '@fluentui/react-utilities';\nimport type {\n TeachingPopoverCarouselNavButtonSlots,\n TeachingPopoverCarouselNavButtonState,\n} from './TeachingPopoverCarouselNavButton.types';\nimport { tokens } from '@fluentui/react-theme';\nimport { createCustomFocusIndicatorStyle } from '@fluentui/react-tabster';\n\nexport const teachingPopoverCarouselNavButtonClassNames: SlotClassNames<TeachingPopoverCarouselNavButtonSlots> = {\n root: 'fui-TeachingPopoverCarouselNavButton',\n};\n\n/**\n * Styles for the root slot\n */\nconst useStyles = makeStyles({\n root: {\n display: 'flex',\n cursor: 'pointer',\n boxSizing: 'border-box',\n height: '8px',\n width: '8px',\n backgroundColor: tokens.colorBrandBackground,\n },\n rootUnselected: {\n border: 'none',\n borderRadius: '50%',\n padding: '0px',\n outline: `${tokens.strokeWidthThin} solid transparent`, // For high contrast\n ...createCustomFocusIndicatorStyle({\n outline: `${tokens.strokeWidthThick} solid ${tokens.colorStrokeFocus2}`,\n borderRadius: tokens.borderRadiusMedium,\n ...shorthands.borderColor('transparent'),\n }),\n backgroundColor: `color-mix(in srgb, ${tokens.colorBrandBackground} 30%, transparent)`,\n '@supports not (color: color-mix(in lch, white, black))': {\n // This will also affect the focus border, but only in older unsupported browsers\n opacity: 0.3,\n backgroundColor: tokens.colorBrandBackground,\n },\n },\n rootSelected: {\n outline: `${tokens.strokeWidthThin} solid transparent`, // For high contrast\n width: '16px',\n border: 'none',\n borderRadius: '4px',\n padding: '0px',\n ...createCustomFocusIndicatorStyle({\n outline: `${tokens.strokeWidthThick} solid ${tokens.colorStrokeFocus2}`,\n borderRadius: tokens.borderRadiusMedium,\n ...shorthands.borderColor('transparent'),\n }),\n '@media (forced-colors: active)': {\n backgroundColor: 'CanvasText',\n },\n },\n rootBrand: {\n backgroundColor: tokens.colorNeutralForegroundOnBrand,\n },\n rootBrandUnselected: {\n backgroundColor: `color-mix(in srgb, ${tokens.colorNeutralForegroundOnBrand} 30%, transparent)`,\n '@supports not (color: color-mix(in lch, white, black))': {\n // This will also affect the focus border, but only in older unsupported browsers\n opacity: 0.3,\n backgroundColor: tokens.colorBrandBackground,\n },\n },\n});\n\n/**\n * Apply styling to the TeachingPopoverCarouselNavButton slots based on the state\n */\nexport const useTeachingPopoverCarouselNavButtonStyles_unstable = (\n state: TeachingPopoverCarouselNavButtonState,\n): TeachingPopoverCarouselNavButtonState => {\n 'use no memo';\n\n const styles = useStyles();\n const { appearance, isSelected } = state;\n\n const brandStyles = isSelected ? styles.rootBrand : styles.rootBrandUnselected;\n\n state.root.className = mergeClasses(\n teachingPopoverCarouselNavButtonClassNames.root,\n styles.root,\n isSelected ? styles.rootSelected : styles.rootUnselected,\n appearance === 'brand' && brandStyles,\n state.root.className,\n );\n\n return state;\n};\n"],"names":["teachingPopoverCarouselNavButtonClassNames","useTeachingPopoverCarouselNavButtonStyles_unstable","root","useStyles","makeStyles","display","cursor","boxSizing","height","width","backgroundColor","tokens","colorBrandBackground","rootUnselected","border","borderRadius","padding","outline","strokeWidthThin","createCustomFocusIndicatorStyle","strokeWidthThick","colorStrokeFocus2","borderRadiusMedium","shorthands","borderColor","opacity","rootSelected","rootBrand","colorNeutralForegroundOnBrand","rootBrandUnselected","state","styles","appearance","isSelected","brandStyles","className","mergeClasses"],"rangeMappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","mappings":";;;;;;;;;;;IASaA,0CAA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B,WAAW;QACTjB,iBAAiBC,kBAAAA,CAAOiB,6BAA6B;IACvD;IACAC,qBAAqB;QACnBnB,iBAAiB,CAAC,mBAAmB,EAAEC,kBAAAA,CAAOiB,6BAA6B,CAAC,kBAAkB,CAAC;QAC/F,0DAA0D;YACxD,iFAAiF;YACjFH,SAAS;YACTf,iBAAiBC,kBAAAA,CAAOC,oBAAoB;QAC9C;IACF;AACF;AAKO,MAAMX,qDAAqD,CAChE6B;IAEA;IAEA,MAAMC,SAAS5B;IACf,MAAM,EAAE6B,UAAU,EAAEC,UAAU,EAAE,GAAGH;IAEnC,MAAMI,cAAcD,aAAaF,OAAOJ,SAAS,GAAGI,OAAOF,mBAAmB;IAE9EC,MAAM5B,IAAI,CAACiC,SAAS,GAAGC,IAAAA,mBAAAA,EACrBpC,2CAA2CE,IAAI,EAC/C6B,OAAO7B,IAAI,EACX+B,aAAaF,OAAOL,YAAY,GAAGK,OAAOlB,cAAc,EACxDmB,eAAe,WAAWE,aAC1BJ,MAAM5B,IAAI,CAACiC,SAAS;IAGtB,OAAOL;AACT"}
@@ -0,0 +1,37 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", {
3
+ value: true
4
+ });
5
+ function _export(target, all) {
6
+ for(var name in all)Object.defineProperty(target, name, {
7
+ enumerable: true,
8
+ get: all[name]
9
+ });
10
+ }
11
+ _export(exports, {
12
+ teachingPopoverCarouselPageCountClassNames: function() {
13
+ return teachingPopoverCarouselPageCountClassNames;
14
+ },
15
+ useTeachingPopoverCarouselPageCountStyles_unstable: function() {
16
+ return useTeachingPopoverCarouselPageCountStyles_unstable;
17
+ }
18
+ });
19
+ const _react = require("@griffel/react");
20
+ const teachingPopoverCarouselPageCountClassNames = {
21
+ root: 'fui-TeachingPopoverCarouselPageCount'
22
+ };
23
+ /**
24
+ * Styles for the root slot
25
+ */ const useStyles = (0, _react.makeStyles)({
26
+ root: {
27
+ display: 'flex',
28
+ alignItems: 'center',
29
+ justifyContent: 'center'
30
+ }
31
+ });
32
+ const useTeachingPopoverCarouselPageCountStyles_unstable = (state)=>{
33
+ 'use no memo';
34
+ const styles = useStyles();
35
+ state.root.className = (0, _react.mergeClasses)(teachingPopoverCarouselPageCountClassNames.root, styles.root, state.root.className);
36
+ return state;
37
+ };
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/components/TeachingPopoverCarouselPageCount/useTeachingPopoverCarouselPageCountStyles.styles.ts"],"sourcesContent":["import { makeStyles, mergeClasses } from '@griffel/react';\nimport type { SlotClassNames } from '@fluentui/react-utilities';\nimport type {\n TeachingPopoverCarouselPageCountSlots,\n TeachingPopoverCarouselPageCountState,\n} from './TeachingPopoverCarouselPageCount.types';\n\nexport const teachingPopoverCarouselPageCountClassNames: SlotClassNames<TeachingPopoverCarouselPageCountSlots> = {\n root: 'fui-TeachingPopoverCarouselPageCount',\n};\n\n/**\n * Styles for the root slot\n */\nconst useStyles = makeStyles({\n root: {\n display: 'flex',\n alignItems: 'center',\n justifyContent: 'center',\n },\n});\n\n/**\n * Apply styling to the TeachingPopoverCarouselPageCount slots based on the state\n */\nexport const useTeachingPopoverCarouselPageCountStyles_unstable = (\n state: TeachingPopoverCarouselPageCountState,\n): TeachingPopoverCarouselPageCountState => {\n 'use no memo';\n\n const styles = useStyles();\n state.root.className = mergeClasses(\n teachingPopoverCarouselPageCountClassNames.root,\n styles.root,\n state.root.className,\n );\n\n return state;\n};\n"],"names":["teachingPopoverCarouselPageCountClassNames","useTeachingPopoverCarouselPageCountStyles_unstable","root","useStyles","makeStyles","display","alignItems","justifyContent","state","styles","className","mergeClasses"],"rangeMappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","mappings":";;;;;;;;;;;IAOaA,0CAAAA;eAAAA;;IAkBAC,kDAAAA;eAAAA;;;uBAzB4B;AAOlC,MAAMD,6CAAoG;IAC/GE,MAAM;AACR;AAEA;;CAEC,GACD,MAAMC,YAAYC,IAAAA,iBAAAA,EAAW;IAC3BF,MAAM;QACJG,SAAS;QACTC,YAAY;QACZC,gBAAgB;IAClB;AACF;AAKO,MAAMN,qDAAqD,CAChEO;IAEA;IAEA,MAAMC,SAASN;IACfK,MAAMN,IAAI,CAACQ,SAAS,GAAGC,IAAAA,mBAAAA,EACrBX,2CAA2CE,IAAI,EAC/CO,OAAOP,IAAI,EACXM,MAAMN,IAAI,CAACQ,SAAS;IAGtB,OAAOF;AACT"}