@fluentui-copilot/react-prompt-starter 0.0.0-nightly-20251006-0406-b5da4f6a.1 → 0.0.0-nightly-20251010-0406-7df7c6d1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (116) hide show
  1. package/CHANGELOG.json +3 -3
  2. package/CHANGELOG.md +4 -4
  3. package/package.json +7 -7
  4. package/dist/index.d.ts +0 -162
  5. package/lib/PromptStarter.js +0 -1
  6. package/lib/PromptStarter.js.map +0 -1
  7. package/lib/PromptStarterList.js +0 -1
  8. package/lib/PromptStarterList.js.map +0 -1
  9. package/lib/PromptStarterV2.js +0 -1
  10. package/lib/PromptStarterV2.js.map +0 -1
  11. package/lib/components/PromptStarter/PromptStarter.js +0 -12
  12. package/lib/components/PromptStarter/PromptStarter.js.map +0 -1
  13. package/lib/components/PromptStarter/PromptStarter.types.js +0 -3
  14. package/lib/components/PromptStarter/PromptStarter.types.js.map +0 -1
  15. package/lib/components/PromptStarter/index.js +0 -4
  16. package/lib/components/PromptStarter/index.js.map +0 -1
  17. package/lib/components/PromptStarter/renderPromptStarter.js +0 -18
  18. package/lib/components/PromptStarter/renderPromptStarter.js.map +0 -1
  19. package/lib/components/PromptStarter/usePromptStarter.js +0 -53
  20. package/lib/components/PromptStarter/usePromptStarter.js.map +0 -1
  21. package/lib/components/PromptStarter/usePromptStarterStyles.styles.js +0 -138
  22. package/lib/components/PromptStarter/usePromptStarterStyles.styles.js.map +0 -1
  23. package/lib/components/PromptStarter/usePromptStarterStyles.styles.raw.js +0 -94
  24. package/lib/components/PromptStarter/usePromptStarterStyles.styles.raw.js.map +0 -1
  25. package/lib/components/PromptStarterV2/PromptStarter/PromptStarter.js +0 -12
  26. package/lib/components/PromptStarterV2/PromptStarter/PromptStarter.js.map +0 -1
  27. package/lib/components/PromptStarterV2/PromptStarter/PromptStarter.types.js +0 -3
  28. package/lib/components/PromptStarterV2/PromptStarter/PromptStarter.types.js.map +0 -1
  29. package/lib/components/PromptStarterV2/PromptStarter/index.js +0 -4
  30. package/lib/components/PromptStarterV2/PromptStarter/index.js.map +0 -1
  31. package/lib/components/PromptStarterV2/PromptStarter/promptStarterMotion.js +0 -63
  32. package/lib/components/PromptStarterV2/PromptStarter/promptStarterMotion.js.map +0 -1
  33. package/lib/components/PromptStarterV2/PromptStarter/renderPromptStarter.js +0 -17
  34. package/lib/components/PromptStarterV2/PromptStarter/renderPromptStarter.js.map +0 -1
  35. package/lib/components/PromptStarterV2/PromptStarter/usePromptStarter.js +0 -66
  36. package/lib/components/PromptStarterV2/PromptStarter/usePromptStarter.js.map +0 -1
  37. package/lib/components/PromptStarterV2/PromptStarter/usePromptStarterStyles.styles.js +0 -276
  38. package/lib/components/PromptStarterV2/PromptStarter/usePromptStarterStyles.styles.js.map +0 -1
  39. package/lib/components/PromptStarterV2/PromptStarter/usePromptStarterStyles.styles.raw.js +0 -131
  40. package/lib/components/PromptStarterV2/PromptStarter/usePromptStarterStyles.styles.raw.js.map +0 -1
  41. package/lib/components/PromptStarterV2/PromptStarterList/PromptStarterList.js +0 -12
  42. package/lib/components/PromptStarterV2/PromptStarterList/PromptStarterList.js.map +0 -1
  43. package/lib/components/PromptStarterV2/PromptStarterList/PromptStarterList.types.js +0 -1
  44. package/lib/components/PromptStarterV2/PromptStarterList/PromptStarterList.types.js.map +0 -1
  45. package/lib/components/PromptStarterV2/PromptStarterList/index.js +0 -4
  46. package/lib/components/PromptStarterV2/PromptStarterList/index.js.map +0 -1
  47. package/lib/components/PromptStarterV2/PromptStarterList/renderPromptStarterList.js +0 -21
  48. package/lib/components/PromptStarterV2/PromptStarterList/renderPromptStarterList.js.map +0 -1
  49. package/lib/components/PromptStarterV2/PromptStarterList/usePromptStarterList.js +0 -113
  50. package/lib/components/PromptStarterV2/PromptStarterList/usePromptStarterList.js.map +0 -1
  51. package/lib/components/PromptStarterV2/PromptStarterList/usePromptStarterListContextValues.js +0 -6
  52. package/lib/components/PromptStarterV2/PromptStarterList/usePromptStarterListContextValues.js.map +0 -1
  53. package/lib/components/PromptStarterV2/PromptStarterList/usePromptStarterListStyles.styles.js +0 -57
  54. package/lib/components/PromptStarterV2/PromptStarterList/usePromptStarterListStyles.styles.js.map +0 -1
  55. package/lib/components/PromptStarterV2/PromptStarterList/usePromptStarterListStyles.styles.raw.js +0 -61
  56. package/lib/components/PromptStarterV2/PromptStarterList/usePromptStarterListStyles.styles.raw.js.map +0 -1
  57. package/lib/contexts/PromptStarterListContext.js +0 -7
  58. package/lib/contexts/PromptStarterListContext.js.map +0 -1
  59. package/lib/index.js +0 -3
  60. package/lib/index.js.map +0 -1
  61. package/lib-commonjs/PromptStarter.js +0 -28
  62. package/lib-commonjs/PromptStarter.js.map +0 -1
  63. package/lib-commonjs/PromptStarterList.js +0 -28
  64. package/lib-commonjs/PromptStarterList.js.map +0 -1
  65. package/lib-commonjs/PromptStarterV2.js +0 -28
  66. package/lib-commonjs/PromptStarterV2.js.map +0 -1
  67. package/lib-commonjs/components/PromptStarter/PromptStarter.js +0 -23
  68. package/lib-commonjs/components/PromptStarter/PromptStarter.js.map +0 -1
  69. package/lib-commonjs/components/PromptStarter/PromptStarter.types.js +0 -6
  70. package/lib-commonjs/components/PromptStarter/PromptStarter.types.js.map +0 -1
  71. package/lib-commonjs/components/PromptStarter/index.js +0 -31
  72. package/lib-commonjs/components/PromptStarter/index.js.map +0 -1
  73. package/lib-commonjs/components/PromptStarter/renderPromptStarter.js +0 -28
  74. package/lib-commonjs/components/PromptStarter/renderPromptStarter.js.map +0 -1
  75. package/lib-commonjs/components/PromptStarter/usePromptStarter.js +0 -55
  76. package/lib-commonjs/components/PromptStarter/usePromptStarter.js.map +0 -1
  77. package/lib-commonjs/components/PromptStarter/usePromptStarterStyles.styles.js +0 -292
  78. package/lib-commonjs/components/PromptStarter/usePromptStarterStyles.styles.js.map +0 -1
  79. package/lib-commonjs/components/PromptStarter/usePromptStarterStyles.styles.raw.js +0 -112
  80. package/lib-commonjs/components/PromptStarter/usePromptStarterStyles.styles.raw.js.map +0 -1
  81. package/lib-commonjs/components/PromptStarterV2/PromptStarter/PromptStarter.js +0 -23
  82. package/lib-commonjs/components/PromptStarterV2/PromptStarter/PromptStarter.js.map +0 -1
  83. package/lib-commonjs/components/PromptStarterV2/PromptStarter/PromptStarter.types.js +0 -6
  84. package/lib-commonjs/components/PromptStarterV2/PromptStarter/PromptStarter.types.js.map +0 -1
  85. package/lib-commonjs/components/PromptStarterV2/PromptStarter/index.js +0 -31
  86. package/lib-commonjs/components/PromptStarterV2/PromptStarter/index.js.map +0 -1
  87. package/lib-commonjs/components/PromptStarterV2/PromptStarter/promptStarterMotion.js +0 -73
  88. package/lib-commonjs/components/PromptStarterV2/PromptStarter/promptStarterMotion.js.map +0 -1
  89. package/lib-commonjs/components/PromptStarterV2/PromptStarter/renderPromptStarter.js +0 -27
  90. package/lib-commonjs/components/PromptStarterV2/PromptStarter/renderPromptStarter.js.map +0 -1
  91. package/lib-commonjs/components/PromptStarterV2/PromptStarter/usePromptStarter.js +0 -68
  92. package/lib-commonjs/components/PromptStarterV2/PromptStarter/usePromptStarter.js.map +0 -1
  93. package/lib-commonjs/components/PromptStarterV2/PromptStarter/usePromptStarterStyles.styles.js +0 -516
  94. package/lib-commonjs/components/PromptStarterV2/PromptStarter/usePromptStarterStyles.styles.js.map +0 -1
  95. package/lib-commonjs/components/PromptStarterV2/PromptStarter/usePromptStarterStyles.styles.raw.js +0 -149
  96. package/lib-commonjs/components/PromptStarterV2/PromptStarter/usePromptStarterStyles.styles.raw.js.map +0 -1
  97. package/lib-commonjs/components/PromptStarterV2/PromptStarterList/PromptStarterList.js +0 -23
  98. package/lib-commonjs/components/PromptStarterV2/PromptStarterList/PromptStarterList.js.map +0 -1
  99. package/lib-commonjs/components/PromptStarterV2/PromptStarterList/PromptStarterList.types.js +0 -4
  100. package/lib-commonjs/components/PromptStarterV2/PromptStarterList/PromptStarterList.types.js.map +0 -1
  101. package/lib-commonjs/components/PromptStarterV2/PromptStarterList/index.js +0 -31
  102. package/lib-commonjs/components/PromptStarterV2/PromptStarterList/index.js.map +0 -1
  103. package/lib-commonjs/components/PromptStarterV2/PromptStarterList/renderPromptStarterList.js +0 -29
  104. package/lib-commonjs/components/PromptStarterV2/PromptStarterList/renderPromptStarterList.js.map +0 -1
  105. package/lib-commonjs/components/PromptStarterV2/PromptStarterList/usePromptStarterList.js +0 -116
  106. package/lib-commonjs/components/PromptStarterV2/PromptStarterList/usePromptStarterList.js.map +0 -1
  107. package/lib-commonjs/components/PromptStarterV2/PromptStarterList/usePromptStarterListContextValues.js +0 -16
  108. package/lib-commonjs/components/PromptStarterV2/PromptStarterList/usePromptStarterListContextValues.js.map +0 -1
  109. package/lib-commonjs/components/PromptStarterV2/PromptStarterList/usePromptStarterListStyles.styles.js +0 -89
  110. package/lib-commonjs/components/PromptStarterV2/PromptStarterList/usePromptStarterListStyles.styles.js.map +0 -1
  111. package/lib-commonjs/components/PromptStarterV2/PromptStarterList/usePromptStarterListStyles.styles.raw.js +0 -77
  112. package/lib-commonjs/components/PromptStarterV2/PromptStarterList/usePromptStarterListStyles.styles.raw.js.map +0 -1
  113. package/lib-commonjs/contexts/PromptStarterListContext.js +0 -28
  114. package/lib-commonjs/contexts/PromptStarterListContext.js.map +0 -1
  115. package/lib-commonjs/index.js +0 -60
  116. package/lib-commonjs/index.js.map +0 -1
@@ -1,94 +0,0 @@
1
- import { makeStyles, makeResetStyles, mergeClasses, shorthands, typographyStyles, createFocusOutlineStyle } from '@fluentui/react-components';
2
- import { tokens } from '@fluentui-copilot/tokens';
3
- export const promptStarterClassNames = {
4
- root: 'fai-PromptStarter',
5
- category: 'fai-PromptStarter__category',
6
- icon: 'fai-PromptStarter__icon',
7
- prompt: 'fai-PromptStarter__prompt',
8
- badge: 'fai-PromptStarter__badge'
9
- };
10
- const useRootResetStyles = makeResetStyles({
11
- position: 'relative',
12
- display: 'grid',
13
- gridTemplateColumns: 'auto 1fr',
14
- gridTemplateRows: 'auto auto',
15
- gridTemplateAreas: `
16
- "icon category"
17
- ". prompt"
18
- `,
19
- backgroundColor: tokens.colorNeutralBackground1,
20
- color: tokens.colorNeutralForeground1,
21
- fontFamily: tokens.fontFamilyBase,
22
- cursor: 'pointer',
23
- outlineStyle: 'none',
24
- textAlign: 'left',
25
- gap: '0px 8px',
26
- padding: '6px 8px 8px 8px',
27
- ...shorthands.border(tokens.strokeWidthThin, 'solid', tokens.colorNeutralStroke1),
28
- borderRadius: tokens.borderRadiusMedium,
29
- '&:hover': {
30
- backgroundColor: tokens.colorNeutralBackground1Hover,
31
- ...shorthands.border(tokens.strokeWidthThin, 'solid', tokens.colorNeutralStroke1Hover)
32
- },
33
- '&:active': {
34
- backgroundColor: tokens.colorNeutralBackground1Pressed,
35
- ...shorthands.border(tokens.strokeWidthThin, 'solid', tokens.colorNeutralStroke1Pressed)
36
- },
37
- ...createFocusOutlineStyle()
38
- });
39
- const useStyles = makeStyles({
40
- disabled: {
41
- cursor: 'not-allowed',
42
- backgroundColor: tokens.colorNeutralBackgroundDisabled,
43
- ...shorthands.border(tokens.strokeWidthThin, 'solid', tokens.colorNeutralStrokeDisabled),
44
- '&:hover': {
45
- backgroundColor: tokens.colorNeutralBackgroundDisabled,
46
- ...shorthands.border(tokens.strokeWidthThin, 'solid', tokens.colorNeutralStrokeDisabled)
47
- },
48
- '&:active': {
49
- backgroundColor: tokens.colorNeutralBackgroundDisabled,
50
- ...shorthands.border(tokens.strokeWidthThin, 'solid', tokens.colorNeutralStrokeDisabled)
51
- }
52
- },
53
- icon: {
54
- gridArea: 'icon',
55
- display: 'flex',
56
- alignSelf: 'center'
57
- },
58
- category: {
59
- ...typographyStyles.body1Strong,
60
- gridArea: 'category'
61
- },
62
- prompt: {
63
- ...typographyStyles.body1,
64
- gridArea: 'prompt'
65
- },
66
- disabledText: {
67
- color: tokens.colorNeutralForegroundDisabled
68
- },
69
- disabledBadge: {
70
- opacity: '40%'
71
- }
72
- });
73
- const useNextStyles = makeStyles({
74
- root: {
75
- borderRadius: tokens.borderRadiusXLarge
76
- }
77
- });
78
- export const usePromptStarterStyles_unstable = (state)=>{
79
- 'use no memo';
80
- const { designVersion } = state;
81
- const styles = useStyles();
82
- const nextStyles = useNextStyles();
83
- const rootResetStyles = useRootResetStyles();
84
- state.root.className = mergeClasses(promptStarterClassNames.root, rootResetStyles, designVersion === 'next' && nextStyles.root, state.root.disabled && styles.disabled, state.root.className);
85
- state.icon.className = mergeClasses(promptStarterClassNames.icon, styles.icon, state.root.disabled && styles.disabledText, state.icon.className);
86
- state.category.className = mergeClasses(promptStarterClassNames.category, styles.category, state.category.className, state.root.disabled && styles.disabledText);
87
- if (state.prompt) {
88
- state.prompt.className = mergeClasses(promptStarterClassNames.prompt, styles.prompt, state.root.disabled && styles.disabledText, state.prompt.className);
89
- }
90
- if (state.badge) {
91
- state.badge.className = mergeClasses(promptStarterClassNames.badge, state.root.disabled && styles.disabledBadge, state.badge.className);
92
- }
93
- return state;
94
- };
@@ -1 +0,0 @@
1
- {"version":3,"sources":["usePromptStarterStyles.styles.ts"],"sourcesContent":["import {\n makeStyles,\n makeResetStyles,\n mergeClasses,\n shorthands,\n typographyStyles,\n createFocusOutlineStyle,\n} from '@fluentui/react-components';\nimport { tokens } from '@fluentui-copilot/tokens';\nimport type { PromptStarterSlots, PromptStarterState } from './PromptStarter.types';\nimport type { SlotClassNames } from '@fluentui/react-components';\n\nexport const promptStarterClassNames: SlotClassNames<PromptStarterSlots> = {\n root: 'fai-PromptStarter',\n category: 'fai-PromptStarter__category',\n icon: 'fai-PromptStarter__icon',\n prompt: 'fai-PromptStarter__prompt',\n badge: 'fai-PromptStarter__badge',\n};\n\nconst useRootResetStyles = makeResetStyles({\n position: 'relative',\n display: 'grid',\n gridTemplateColumns: 'auto 1fr',\n gridTemplateRows: 'auto auto',\n gridTemplateAreas: `\n \"icon category\"\n \". prompt\"\n `,\n backgroundColor: tokens.colorNeutralBackground1,\n color: tokens.colorNeutralForeground1,\n fontFamily: tokens.fontFamilyBase,\n cursor: 'pointer',\n outlineStyle: 'none',\n textAlign: 'left',\n gap: '0px 8px',\n padding: '6px 8px 8px 8px',\n ...shorthands.border(tokens.strokeWidthThin, 'solid', tokens.colorNeutralStroke1),\n borderRadius: tokens.borderRadiusMedium,\n '&:hover': {\n backgroundColor: tokens.colorNeutralBackground1Hover,\n ...shorthands.border(tokens.strokeWidthThin, 'solid', tokens.colorNeutralStroke1Hover),\n },\n '&:active': {\n backgroundColor: tokens.colorNeutralBackground1Pressed,\n ...shorthands.border(tokens.strokeWidthThin, 'solid', tokens.colorNeutralStroke1Pressed),\n },\n ...createFocusOutlineStyle(),\n});\n\nconst useStyles = makeStyles({\n disabled: {\n cursor: 'not-allowed',\n backgroundColor: tokens.colorNeutralBackgroundDisabled,\n ...shorthands.border(tokens.strokeWidthThin, 'solid', tokens.colorNeutralStrokeDisabled),\n '&:hover': {\n backgroundColor: tokens.colorNeutralBackgroundDisabled,\n ...shorthands.border(tokens.strokeWidthThin, 'solid', tokens.colorNeutralStrokeDisabled),\n },\n '&:active': {\n backgroundColor: tokens.colorNeutralBackgroundDisabled,\n ...shorthands.border(tokens.strokeWidthThin, 'solid', tokens.colorNeutralStrokeDisabled),\n },\n },\n icon: { gridArea: 'icon', display: 'flex', alignSelf: 'center' },\n\n category: {\n ...typographyStyles.body1Strong,\n gridArea: 'category',\n },\n prompt: { ...typographyStyles.body1, gridArea: 'prompt' },\n disabledText: {\n color: tokens.colorNeutralForegroundDisabled,\n },\n disabledBadge: {\n opacity: '40%',\n },\n});\n\nconst useNextStyles = makeStyles({ root: { borderRadius: tokens.borderRadiusXLarge } });\n\nexport const usePromptStarterStyles_unstable = (state: PromptStarterState): PromptStarterState => {\n 'use no memo';\n\n const { designVersion } = state;\n\n const styles = useStyles();\n const nextStyles = useNextStyles();\n const rootResetStyles = useRootResetStyles();\n state.root.className = mergeClasses(\n promptStarterClassNames.root,\n rootResetStyles,\n designVersion === 'next' && nextStyles.root,\n state.root.disabled && styles.disabled,\n state.root.className,\n );\n state.icon.className = mergeClasses(\n promptStarterClassNames.icon,\n styles.icon,\n state.root.disabled && styles.disabledText,\n state.icon.className,\n );\n state.category.className = mergeClasses(\n promptStarterClassNames.category,\n styles.category,\n state.category.className,\n state.root.disabled && styles.disabledText,\n );\n if (state.prompt) {\n state.prompt.className = mergeClasses(\n promptStarterClassNames.prompt,\n styles.prompt,\n state.root.disabled && styles.disabledText,\n state.prompt.className,\n );\n }\n if (state.badge) {\n state.badge.className = mergeClasses(\n promptStarterClassNames.badge,\n state.root.disabled && styles.disabledBadge,\n state.badge.className,\n );\n }\n\n return state;\n};\n"],"names":["makeStyles","makeResetStyles","mergeClasses","shorthands","typographyStyles","createFocusOutlineStyle","tokens","promptStarterClassNames","root","category","icon","prompt","badge","useRootResetStyles","position","display","gridTemplateColumns","gridTemplateRows","gridTemplateAreas","backgroundColor","colorNeutralBackground1","color","colorNeutralForeground1","fontFamily","fontFamilyBase","cursor","outlineStyle","textAlign","gap","padding","border","strokeWidthThin","colorNeutralStroke1","borderRadius","borderRadiusMedium","colorNeutralBackground1Hover","colorNeutralStroke1Hover","colorNeutralBackground1Pressed","colorNeutralStroke1Pressed","useStyles","disabled","colorNeutralBackgroundDisabled","colorNeutralStrokeDisabled","gridArea","alignSelf","body1Strong","body1","disabledText","colorNeutralForegroundDisabled","disabledBadge","opacity","useNextStyles","borderRadiusXLarge","usePromptStarterStyles_unstable","state","designVersion","styles","nextStyles","rootResetStyles","className"],"rangeMappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","mappings":"AAAA,SACEA,UAAU,EACVC,eAAe,EACfC,YAAY,EACZC,UAAU,EACVC,gBAAgB,EAChBC,uBAAuB,QAClB,6BAA6B;AACpC,SAASC,MAAM,QAAQ,2BAA2B;AAIlD,OAAO,MAAMC,0BAA8D;IACzEC,MAAM;IACNC,UAAU;IACVC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,IAAIgB,OAAOT,YAAY,EAC1CO,MAAM3C,MAAM,CAACgD,SAAS;IAE1B;IACA,IAAIL,MAAM1C,KAAK,EAAE;QACf0C,MAAM1C,KAAK,CAAC+C,SAAS,GAAGzD,aACtBK,wBAAwBK,KAAK,EAC7B0C,MAAM9C,IAAI,CAACgC,QAAQ,IAAIgB,OAAOP,aAAa,EAC3CK,MAAM1C,KAAK,CAAC+C,SAAS;IAEzB;IAEA,OAAOL;AACT,EAAE"}
@@ -1,12 +0,0 @@
1
- import * as React from 'react';
2
- import { usePromptStarter_unstable } from './usePromptStarter';
3
- import { renderPromptStarter_unstable } from './renderPromptStarter';
4
- import { usePromptStarterStyles_unstable } from './usePromptStarterStyles.styles';
5
- import { useCustomStyleHook } from '@fluentui-copilot/react-provider';
6
- export const PromptStarter = /*#__PURE__*/ React.forwardRef((props, ref)=>{
7
- const state = usePromptStarter_unstable(props, ref);
8
- usePromptStarterStyles_unstable(state);
9
- useCustomStyleHook('usePromptStarterStyles')(state);
10
- return renderPromptStarter_unstable(state);
11
- });
12
- PromptStarter.displayName = 'PromptStarter';
@@ -1 +0,0 @@
1
- {"version":3,"sources":["PromptStarter.tsx"],"sourcesContent":["import * as React from 'react';\nimport { usePromptStarter_unstable } from './usePromptStarter';\nimport { renderPromptStarter_unstable } from './renderPromptStarter';\nimport { usePromptStarterStyles_unstable } from './usePromptStarterStyles.styles';\nimport { useCustomStyleHook } from '@fluentui-copilot/react-provider';\nimport type { PromptStarterProps } from './PromptStarter.types';\nimport type { ForwardRefComponent } from '@fluentui/react-components';\n\nexport const PromptStarter: ForwardRefComponent<PromptStarterProps> = React.forwardRef((props, ref) => {\n const state = usePromptStarter_unstable(props, ref);\n\n usePromptStarterStyles_unstable(state);\n useCustomStyleHook('usePromptStarterStyles')(state);\n\n return renderPromptStarter_unstable(state);\n});\n\nPromptStarter.displayName = 'PromptStarter';\n"],"names":["React","usePromptStarter_unstable","renderPromptStarter_unstable","usePromptStarterStyles_unstable","useCustomStyleHook","PromptStarter","forwardRef","props","ref","state","displayName"],"rangeMappings":";;;;;;;;;;;","mappings":"AAAA,YAAYA,WAAW,QAAQ;AAC/B,SAASC,yBAAyB,QAAQ,qBAAqB;AAC/D,SAASC,4BAA4B,QAAQ,wBAAwB;AACrE,SAASC,+BAA+B,QAAQ,kCAAkC;AAClF,SAASC,kBAAkB,QAAQ,mCAAmC;AAItE,OAAO,MAAMC,8BAAyDL,MAAMM,UAAU,CAAC,CAACC,OAAOC;IAC7F,MAAMC,QAAQR,0BAA0BM,OAAOC;IAE/CL,gCAAgCM;IAChCL,mBAAmB,0BAA0BK;IAE7C,OAAOP,6BAA6BO;AACtC,GAAG;AAEHJ,cAAcK,WAAW,GAAG"}
@@ -1,3 +0,0 @@
1
- /**
2
- * State used in rendering PromptStarter
3
- */ export { };
@@ -1 +0,0 @@
1
- {"version":3,"sources":["PromptStarter.types.ts"],"sourcesContent":["import type { ComponentProps, ComponentState, Slot } from '@fluentui/react-components';\n\nexport type PromptStarterSlots = {\n root: NonNullable<Slot<'div'>>;\n primaryAction: NonNullable<Slot<'button'>>;\n icon?: Slot<'span'>;\n prompt: NonNullable<Slot<'span'>>;\n reasonMarker?: Slot<'span'>;\n actions?: Slot<'span'>;\n};\n\n/**\n * PromptStarter Props\n */\nexport type PromptStarterProps = Omit<ComponentProps<PromptStarterSlots>, 'disabled'>;\n\n/**\n * State used in rendering PromptStarter\n */\nexport type PromptStarterState = ComponentState<PromptStarterSlots> & {\n isSingleColumn?: boolean;\n};\n"],"names":[],"rangeMappings":";;","mappings":"AAgBA;;CAEC,GACD,WAEE"}
@@ -1,4 +0,0 @@
1
- export { PromptStarter } from './PromptStarter';
2
- export { renderPromptStarter_unstable } from './renderPromptStarter';
3
- export { usePromptStarter_unstable } from './usePromptStarter';
4
- export { promptStarterClassNames, usePromptStarterStyles_unstable } from './usePromptStarterStyles.styles';
@@ -1 +0,0 @@
1
- {"version":3,"sources":["index.ts"],"sourcesContent":["export { PromptStarter } from './PromptStarter';\nexport type { PromptStarterProps, PromptStarterSlots, PromptStarterState } from './PromptStarter.types';\nexport { renderPromptStarter_unstable } from './renderPromptStarter';\nexport { usePromptStarter_unstable } from './usePromptStarter';\nexport { promptStarterClassNames, usePromptStarterStyles_unstable } from './usePromptStarterStyles.styles';\n"],"names":["PromptStarter","renderPromptStarter_unstable","usePromptStarter_unstable","promptStarterClassNames","usePromptStarterStyles_unstable"],"rangeMappings":";;;","mappings":"AAAA,SAASA,aAAa,QAAQ,kBAAkB;AAEhD,SAASC,4BAA4B,QAAQ,wBAAwB;AACrE,SAASC,yBAAyB,QAAQ,qBAAqB;AAC/D,SAASC,uBAAuB,EAAEC,+BAA+B,QAAQ,kCAAkC"}
@@ -1,63 +0,0 @@
1
- import { createPresenceComponent } from '@fluentui/react-components';
2
- export const PromptStarterMotion = createPresenceComponent(({ index, numberOfColumns })=>{
3
- const isFirstRow = index < numberOfColumns;
4
- const delay = isFirstRow ? index * 50 : (index - numberOfColumns) * 50;
5
- const opacityDuration = 100;
6
- const opacityOffset = delay / (delay + opacityDuration);
7
- const opacityEasing = 'linear';
8
- const scaleDuration = 500;
9
- const scaleOffset = delay / (delay + scaleDuration);
10
- const scaleEasing = `cubic-bezier(0.22, 1.59, 0.46, 1)`;
11
- const opacityExitDuration = 200;
12
- return {
13
- enter: [
14
- {
15
- keyframes: [
16
- {
17
- opacity: 0
18
- },
19
- {
20
- opacity: 0,
21
- offset: opacityOffset
22
- },
23
- {
24
- opacity: 1
25
- }
26
- ],
27
- easing: opacityEasing,
28
- duration: opacityDuration + delay
29
- },
30
- {
31
- keyframes: [
32
- {
33
- transform: 'scale(0.9)'
34
- },
35
- {
36
- transform: 'scale(0.9)',
37
- offset: scaleOffset
38
- },
39
- {
40
- transform: 'scale(1)'
41
- }
42
- ],
43
- easing: scaleEasing,
44
- duration: scaleDuration + delay
45
- }
46
- ],
47
- exit: {
48
- keyframes: [
49
- {
50
- opacity: 1
51
- },
52
- {
53
- opacity: 1
54
- },
55
- {
56
- opacity: 0
57
- }
58
- ],
59
- easing: opacityEasing,
60
- duration: opacityExitDuration
61
- }
62
- };
63
- });
@@ -1 +0,0 @@
1
- {"version":3,"sources":["promptStarterMotion.ts"],"sourcesContent":["import { createPresenceComponent } from '@fluentui/react-components';\n\nexport type PromptStarterMotionParams = { index: number; numberOfColumns: number };\n\nexport const PromptStarterMotion: ReturnType<typeof createPresenceComponent<PromptStarterMotionParams>> =\n createPresenceComponent<PromptStarterMotionParams>(({ index, numberOfColumns }) => {\n const isFirstRow = index < numberOfColumns;\n const delay = isFirstRow ? index * 50 : (index - numberOfColumns) * 50;\n\n const opacityDuration = 100;\n const opacityOffset = delay / (delay + opacityDuration);\n const opacityEasing = 'linear';\n\n const scaleDuration = 500;\n const scaleOffset = delay / (delay + scaleDuration);\n const scaleEasing = `cubic-bezier(0.22, 1.59, 0.46, 1)`;\n\n const opacityExitDuration = 200;\n\n return {\n enter: [\n {\n keyframes: [{ opacity: 0 }, { opacity: 0, offset: opacityOffset }, { opacity: 1 }],\n easing: opacityEasing,\n duration: opacityDuration + delay,\n },\n {\n keyframes: [\n { transform: 'scale(0.9)' },\n { transform: 'scale(0.9)', offset: scaleOffset },\n { transform: 'scale(1)' },\n ],\n easing: scaleEasing,\n duration: scaleDuration + delay,\n },\n ],\n exit: {\n keyframes: [{ opacity: 1 }, { opacity: 1 }, { opacity: 0 }],\n easing: opacityEasing,\n duration: opacityExitDuration,\n },\n };\n });\n"],"names":["createPresenceComponent","PromptStarterMotion","index","numberOfColumns","isFirstRow","delay","opacityDuration","opacityOffset","opacityEasing","scaleDuration","scaleOffset","scaleEasing","opacityExitDuration","enter","keyframes","opacity","offset","easing","duration","transform","exit"],"rangeMappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","mappings":"AAAA,SAASA,uBAAuB,QAAQ,6BAA6B;AAIrE,OAAO,MAAMC,sBACXD,wBAAmD,CAAC,EAAEE,KAAK,EAAEC,eAAe,EAAE;IAC5E,MAAMC,aAAaF,QAAQC;IAC3B,MAAME,QAAQD,aAAaF,QAAQ,KAAK,AAACA,CAAAA,QAAQC,eAAc,IAAK;IAEpE,MAAMG,kBAAkB;IACxB,MAAMC,gBAAgBF,QAASA,CAAAA,QAAQC,eAAc;IACrD,MAAME,gBAAgB;IAEtB,MAAMC,gBAAgB;IACtB,MAAMC,cAAcL,QAASA,CAAAA,QAAQI,aAAY;IACjD,MAAME,cAAc,CAAC,iCAAiC,CAAC;IAEvD,MAAMC,sBAAsB;IAE5B,OAAO;QACLC,OAAO;YACL;gBACEC,WAAW;oBAAC;wBAAEC,SAAS;oBAAE;oBAAG;wBAAEA,SAAS;wBAAGC,QAAQT;oBAAc;oBAAG;wBAAEQ,SAAS;oBAAE;iBAAE;gBAClFE,QAAQT;gBACRU,UAAUZ,kBAAkBD;YAC9B;YACA;gBACES,WAAW;oBACT;wBAAEK,WAAW;oBAAa;oBAC1B;wBAAEA,WAAW;wBAAcH,QAAQN;oBAAY;oBAC/C;wBAAES,WAAW;oBAAW;iBACzB;gBACDF,QAAQN;gBACRO,UAAUT,gBAAgBJ;YAC5B;SACD;QACDe,MAAM;YACJN,WAAW;gBAAC;oBAAEC,SAAS;gBAAE;gBAAG;oBAAEA,SAAS;gBAAE;gBAAG;oBAAEA,SAAS;gBAAE;aAAE;YAC3DE,QAAQT;YACRU,UAAUN;QACZ;IACF;AACF,GAAG"}
@@ -1,17 +0,0 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "@fluentui/react-jsx-runtime/jsx-runtime";
2
- import { assertSlots } from '@fluentui/react-components';
3
- export const renderPromptStarter_unstable = (state)=>{
4
- assertSlots(state);
5
- return /*#__PURE__*/ _jsxs(state.root, {
6
- children: [
7
- /*#__PURE__*/ _jsxs(state.primaryAction, {
8
- children: [
9
- state.icon && /*#__PURE__*/ _jsx(state.icon, {}),
10
- /*#__PURE__*/ _jsx(state.prompt, {}),
11
- state.reasonMarker && /*#__PURE__*/ _jsx(state.reasonMarker, {})
12
- ]
13
- }),
14
- state.actions && /*#__PURE__*/ _jsx(state.actions, {})
15
- ]
16
- });
17
- };
@@ -1 +0,0 @@
1
- {"version":3,"sources":["renderPromptStarter.tsx"],"sourcesContent":["/** @jsxRuntime automatic */\n/** @jsxImportSource @fluentui/react-jsx-runtime */\n\nimport { assertSlots } from '@fluentui/react-components';\nimport type { PromptStarterState, PromptStarterSlots } from './PromptStarter.types';\n\nexport const renderPromptStarter_unstable = (state: PromptStarterState) => {\n assertSlots<PromptStarterSlots>(state);\n\n return (\n <state.root>\n <state.primaryAction>\n {state.icon && <state.icon />}\n <state.prompt />\n {state.reasonMarker && <state.reasonMarker />}\n </state.primaryAction>\n {state.actions && <state.actions />}\n </state.root>\n );\n};\n"],"names":["assertSlots","renderPromptStarter_unstable","state","root","primaryAction","icon","prompt","reasonMarker","actions"],"rangeMappings":";;;;;;;;;;;;;;;;","mappings":"AAAA,0BAA0B,GAC1B,iDAAiD;AAEjD,SAASA,WAAW,QAAQ,6BAA6B;AAGzD,OAAO,MAAMC,+BAA+B,CAACC;IAC3CF,YAAgCE;IAEhC,qBACE,MAACA,MAAMC,IAAI;;0BACT,MAACD,MAAME,aAAa;;oBACjBF,MAAMG,IAAI,kBAAI,KAACH,MAAMG,IAAI;kCAC1B,KAACH,MAAMI,MAAM;oBACZJ,MAAMK,YAAY,kBAAI,KAACL,MAAMK,YAAY;;;YAE3CL,MAAMM,OAAO,kBAAI,KAACN,MAAMM,OAAO;;;AAGtC,EAAE"}
@@ -1,66 +0,0 @@
1
- import { getIntrinsicElementProps, slot, useFocusableGroup, useId } from '@fluentui/react-components';
2
- import { usePromptStarterListContext } from '../../../contexts/PromptStarterListContext';
3
- /**
4
- * Create the state required to render PromptStarter.
5
- *
6
- * The returned state can be modified with hooks such as usePromptStarterStyles_unstable,
7
- * before being passed to renderPromptStarter_unstable.
8
- *
9
- * @param props - props from this instance of PromptStarter
10
- * @param ref - reference to root HTMLElement of PromptStarter
11
- */ export const usePromptStarter_unstable = (props, ref)=>{
12
- const id = useId('prompt-starter');
13
- const focusAttrs = useFocusableGroup();
14
- const numberOfColumns = usePromptStarterListContext((ctx)=>ctx.numberOfColumns);
15
- // if this is defined, the context exists and the Prompt is within PromptStarterList
16
- const isWithinList = typeof numberOfColumns === 'number';
17
- const isSingleColumn = numberOfColumns === 1;
18
- const state = {
19
- isSingleColumn,
20
- components: {
21
- root: 'div',
22
- primaryAction: 'button',
23
- icon: 'span',
24
- prompt: 'span',
25
- reasonMarker: 'span',
26
- actions: 'span'
27
- },
28
- root: slot.always(getIntrinsicElementProps('div', {
29
- ref,
30
- role: isWithinList ? 'listitem' : undefined,
31
- ...focusAttrs,
32
- ...props
33
- }), {
34
- elementType: 'div'
35
- }),
36
- primaryAction: slot.always(props.primaryAction, {
37
- defaultProps: {
38
- 'aria-labelledby': `${id}-prompt`,
39
- 'aria-describedby': `${id}-icon ${id}-reasonMarker`
40
- },
41
- elementType: 'button'
42
- }),
43
- icon: !isSingleColumn ? slot.optional(props.icon, {
44
- defaultProps: {
45
- id: `${id}-icon`
46
- },
47
- elementType: 'span'
48
- }) : undefined,
49
- prompt: slot.always(props.prompt, {
50
- defaultProps: {
51
- id: `${id}-prompt`
52
- },
53
- elementType: 'span'
54
- }),
55
- reasonMarker: !isSingleColumn ? slot.optional(props.reasonMarker, {
56
- defaultProps: {
57
- id: `${id}-reasonMarker`
58
- },
59
- elementType: 'span'
60
- }) : undefined,
61
- actions: !isSingleColumn ? slot.optional(props.actions, {
62
- elementType: 'span'
63
- }) : undefined
64
- };
65
- return state;
66
- };
@@ -1 +0,0 @@
1
- {"version":3,"sources":["usePromptStarter.ts"],"sourcesContent":["import { getIntrinsicElementProps, slot, useFocusableGroup, useId } from '@fluentui/react-components';\nimport { usePromptStarterListContext } from '../../../contexts/PromptStarterListContext';\nimport type { PromptStarterProps, PromptStarterState } from './PromptStarter.types';\n\n/**\n * Create the state required to render PromptStarter.\n *\n * The returned state can be modified with hooks such as usePromptStarterStyles_unstable,\n * before being passed to renderPromptStarter_unstable.\n *\n * @param props - props from this instance of PromptStarter\n * @param ref - reference to root HTMLElement of PromptStarter\n */\nexport const usePromptStarter_unstable = (\n props: PromptStarterProps,\n ref: React.Ref<HTMLDivElement>,\n): PromptStarterState => {\n const id = useId('prompt-starter');\n const focusAttrs = useFocusableGroup();\n\n const numberOfColumns = usePromptStarterListContext(ctx => ctx.numberOfColumns);\n // if this is defined, the context exists and the Prompt is within PromptStarterList\n const isWithinList = typeof numberOfColumns === 'number';\n\n const isSingleColumn = numberOfColumns === 1;\n\n const state: PromptStarterState = {\n isSingleColumn,\n components: {\n root: 'div',\n primaryAction: 'button',\n icon: 'span',\n prompt: 'span',\n reasonMarker: 'span',\n actions: 'span',\n },\n root: slot.always(\n getIntrinsicElementProps('div', {\n ref,\n role: isWithinList ? 'listitem' : undefined,\n ...focusAttrs,\n ...props,\n }),\n { elementType: 'div' },\n ),\n primaryAction: slot.always(props.primaryAction, {\n defaultProps: {\n 'aria-labelledby': `${id}-prompt`,\n 'aria-describedby': `${id}-icon ${id}-reasonMarker`,\n },\n elementType: 'button',\n }),\n icon: !isSingleColumn\n ? slot.optional(props.icon, {\n defaultProps: { id: `${id}-icon` },\n elementType: 'span',\n })\n : undefined,\n prompt: slot.always(props.prompt, {\n defaultProps: { id: `${id}-prompt` },\n elementType: 'span',\n }),\n reasonMarker: !isSingleColumn\n ? slot.optional(props.reasonMarker, {\n defaultProps: { id: `${id}-reasonMarker` },\n elementType: 'span',\n })\n : undefined,\n actions: !isSingleColumn ? slot.optional(props.actions, { elementType: 'span' }) : undefined,\n };\n\n return state;\n};\n"],"names":["getIntrinsicElementProps","slot","useFocusableGroup","useId","usePromptStarterListContext","usePromptStarter_unstable","props","ref","id","focusAttrs","numberOfColumns","ctx","isWithinList","isSingleColumn","state","components","root","primaryAction","icon","prompt","reasonMarker","actions","always","role","undefined","elementType","defaultProps","optional"],"rangeMappings":";;;;;;;;;;;;;;;;;;;;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KAAK0B,QAAQ,CAACrB,MAAMc,YAAY,EAAE;YAChCM,cAAc;gBAAElB,IAAI,CAAC,EAAEA,GAAG,aAAa,CAAC;YAAC;YACzCiB,aAAa;QACf,KACAD;QACJH,SAAS,CAACR,iBAAiBZ,KAAK0B,QAAQ,CAACrB,MAAMe,OAAO,EAAE;YAAEI,aAAa;QAAO,KAAKD;IACrF;IAEA,OAAOV;AACT,EAAE"}
@@ -1,276 +0,0 @@
1
- import { __styles, __resetStyles, mergeClasses, shorthands, typographyStyles, createFocusOutlineStyle } from '@fluentui/react-components';
2
- import { tokens } from '@fluentui-copilot/tokens';
3
- export const promptStarterClassNames = {
4
- root: 'fai-PromptStarter',
5
- primaryAction: 'fai-PromptStarter__primaryAction',
6
- icon: 'fai-PromptStarter__icon',
7
- prompt: 'fai-PromptStarter__prompt',
8
- reasonMarker: 'fai-PromptStarter__reasonMarker',
9
- actions: 'fai-PromptStarter__actions'
10
- };
11
- const useRootResetStyles = __resetStyles("r1x2hm06", null, [".r1x2hm06{display:grid;grid-template-columns:1fr auto;grid-template-rows:max-content auto;min-width:214px;}", ".r1x2hm06:hover .fai-PromptStarter__primaryAction{box-shadow:var(--shadow16);transform:scale(1.03);transition:transform var(--durationNormal) var(--curveDecelerateMin);}", ".r1x2hm06:active .fai-PromptStarter__primaryAction{box-shadow:var(--shadow8);transform:scale(1.03);transition:transform var(--durationNormal) var(--curveDecelerateMin);}", ".r1x2hm06:not(:focus-within):not(:hover) .fai-PromptStarter__actions{clip:rect(0px, 0px, 0px, 0px);height:1px;margin:-1px;overflow:hidden;padding:0px;width:1px;position:absolute;opacity:0;}"]);
12
- const useStyles = __styles({
13
- primaryAction: {
14
- nk6f5a: 0,
15
- Ijaq50: 0,
16
- h3tjnc: "fcdwmbt",
17
- Bw0ie65: 0,
18
- Br312pm: 0,
19
- Beweih1: "f1eb8yyf",
20
- mc9l5x: "f22iagw",
21
- Beiy3e4: "f1vx9l62",
22
- qhf8xq: "f10pi13n",
23
- Beyfa6y: 0,
24
- Bbmb7ep: 0,
25
- Btl43ni: 0,
26
- B7oj6ja: 0,
27
- Dimara: "f14w4nd",
28
- De3pzq: "fxugw4r",
29
- sj55zd: "fkfq4zb",
30
- Bahqtrf: "fk6fouc",
31
- Bceei9c: "f1k6fduh",
32
- oeaueh: "f1s6fcnf",
33
- fsow6f: ["f1o700av", "fes3tcz"],
34
- Belr9w4: "fylz90v",
35
- Byoj8tv: 0,
36
- uwmqm3: 0,
37
- z189sj: 0,
38
- z8tnut: 0,
39
- B0ocmuz: "fq88wcj",
40
- B4j52fo: "f192inf7",
41
- Bekrc4i: ["f5tn483", "f1ojsxk5"],
42
- Bn0qgzm: "f1vxd6vx",
43
- ibv6hh: ["f1ojsxk5", "f5tn483"],
44
- icvyot: "fzkkow9",
45
- vrafjx: ["fcdblym", "fjik90z"],
46
- oivjwe: "fg706s2",
47
- wvpqe5: ["fjik90z", "fcdblym"],
48
- g2u3we: "f68mrw8",
49
- h3c5rm: ["f7pw515", "fw35ms5"],
50
- B9xav0g: "frpde29",
51
- zhjwy3: ["fw35ms5", "f7pw515"],
52
- Brovlpu: "ftqa4ok",
53
- B486eqv: "f2hkw1w",
54
- B8q5s1w: "f8hki3x",
55
- Bci5o5g: ["f1d2448m", "ffh67wi"],
56
- n8qw10: "f1bjia2o",
57
- Bdrgwmp: ["ffh67wi", "f1d2448m"],
58
- Bqhya38: "f1j6vpng",
59
- Bwxa6fj: ["f1pniga2", "f1ffjurs"],
60
- Bdhvstf: "f987i1v",
61
- B7zbvrb: ["f1ffjurs", "f1pniga2"],
62
- Bm4h7ae: "f15bsgw9",
63
- B7ys5i9: "f14e48fq",
64
- Busjfv9: "f18yb2kv",
65
- Bhk32uz: "fd6o370",
66
- f6g5ot: 0,
67
- Boxcth7: 0,
68
- Bhdgwq3: 0,
69
- hgwjuy: 0,
70
- Bshpdp8: 0,
71
- Bsom6fd: 0,
72
- Blkhhs4: 0,
73
- Bonggc9: 0,
74
- Ddfuxk: 0,
75
- i03rao: 0,
76
- kclons: 0,
77
- clg4pj: 0,
78
- Bpqj9nj: 0,
79
- B6dhp37: 0,
80
- Bf4ptjt: 0,
81
- Bqtpl0w: 0,
82
- i4rwgc: "ffwy5si",
83
- Dah5zi: 0,
84
- B1tsrr9: 0,
85
- qqdqy8: 0,
86
- Bkh64rk: 0,
87
- e3fwne: "faugzkp",
88
- J0r882: "f57olzd",
89
- Bule8hv: ["f4stah7", "fs1por5"],
90
- Bjwuhne: "f480a47",
91
- Ghsupd: ["fs1por5", "f4stah7"]
92
- },
93
- primaryActionHovered: {
94
- E5pizo: "f1hg901r",
95
- Bz10aip: "f15ncuxf",
96
- Bn62ygk: 0,
97
- Cwk7ip: 0,
98
- B3o57yi: 0,
99
- Bmy1vo4: 0,
100
- Bkqvd7p: 0,
101
- Bi2q7bf: "ffrhwuo"
102
- },
103
- icon: {
104
- mc9l5x: "f22iagw",
105
- Bt984gj: "f122n59",
106
- sshi5w: "fntfeoj"
107
- },
108
- actions: {
109
- jrapky: 0,
110
- Frg6f3: 0,
111
- t21cq0: 0,
112
- B6of3ja: 0,
113
- B74szlk: ["foizga4", "f5m8a6r"],
114
- qhf8xq: "f10pi13n",
115
- nk6f5a: 0,
116
- Ijaq50: 0,
117
- h3tjnc: "f3hl5xl",
118
- Bw0ie65: 0,
119
- Br312pm: 0,
120
- Beweih1: "f14q5zaz",
121
- abs64n: "f5p0z4x",
122
- Bn62ygk: 0,
123
- Cwk7ip: 0,
124
- B3o57yi: 0,
125
- Bmy1vo4: 0,
126
- Bkqvd7p: 0,
127
- Bi2q7bf: "f1964ud6"
128
- },
129
- prompt: {
130
- Bahqtrf: "fk6fouc",
131
- Be2twd7: "fkhj508",
132
- Bhrd7zp: "fl43uef",
133
- Bg96gwp: "f1i3iumi",
134
- mc9l5x: "f1rvi9lw",
135
- Fd1uvx: "fpfc2by",
136
- Bh9c35c: "f1lvsx7g",
137
- Bmxbyg5: "f1sil6mw"
138
- },
139
- reasonMarker: {
140
- Bahqtrf: "fk6fouc",
141
- Be2twd7: "f13mqy1h",
142
- Bhrd7zp: "figsok6",
143
- Bg96gwp: "fcpl73t"
144
- }
145
- }, {
146
- d: [[".fcdwmbt{grid-row:1/3;}", {
147
- p: -1
148
- }], [".f1eb8yyf{grid-column:1/3;}", {
149
- p: -1
150
- }], ".f22iagw{display:flex;}", ".f1vx9l62{flex-direction:column;}", ".f10pi13n{position:relative;}", [".f14w4nd{border-radius:28px;}", {
151
- p: -1
152
- }], ".fxugw4r{background-color:var(--colorNeutralBackground1);}", ".fkfq4zb{color:var(--colorNeutralForeground2);}", ".fk6fouc{font-family:var(--fontFamilyBase);}", ".f1k6fduh{cursor:pointer;}", ".f1s6fcnf{outline-style:none;}", ".f1o700av{text-align:left;}", ".fes3tcz{text-align:right;}", ".fylz90v{row-gap:var(--spacingHorizontalS);}", [".fq88wcj{padding:var(--spacingVerticalL) var(--spacingHorizontalL);}", {
153
- p: -1
154
- }], ".f192inf7{border-top-width:var(--strokeWidthThin);}", ".f5tn483{border-right-width:var(--strokeWidthThin);}", ".f1ojsxk5{border-left-width:var(--strokeWidthThin);}", ".f1vxd6vx{border-bottom-width:var(--strokeWidthThin);}", ".fzkkow9{border-top-style:solid;}", ".fcdblym{border-right-style:solid;}", ".fjik90z{border-left-style:solid;}", ".fg706s2{border-bottom-style:solid;}", ".f68mrw8{border-top-color:var(--colorNeutralStroke2);}", ".f7pw515{border-right-color:var(--colorNeutralStroke2);}", ".fw35ms5{border-left-color:var(--colorNeutralStroke2);}", ".frpde29{border-bottom-color:var(--colorNeutralStroke2);}", ".f8hki3x[data-fui-focus-visible]{border-top-color:transparent;}", ".f1d2448m[data-fui-focus-visible]{border-right-color:transparent;}", ".ffh67wi[data-fui-focus-visible]{border-left-color:transparent;}", ".f1bjia2o[data-fui-focus-visible]{border-bottom-color:transparent;}", ".f15bsgw9[data-fui-focus-visible]::after{content:\"\";}", ".f14e48fq[data-fui-focus-visible]::after{position:absolute;}", ".f18yb2kv[data-fui-focus-visible]::after{pointer-events:none;}", ".fd6o370[data-fui-focus-visible]::after{z-index:1;}", [".ffwy5si[data-fui-focus-visible]::after{border:2px solid var(--colorStrokeFocus2);}", {
155
- p: -2
156
- }], [".faugzkp[data-fui-focus-visible]::after{border-radius:28px;}", {
157
- p: -1
158
- }], ".f57olzd[data-fui-focus-visible]::after{top:calc(2px * -1);}", ".f4stah7[data-fui-focus-visible]::after{right:calc(2px * -1);}", ".fs1por5[data-fui-focus-visible]::after{left:calc(2px * -1);}", ".f480a47[data-fui-focus-visible]::after{bottom:calc(2px * -1);}", ".f1hg901r{box-shadow:var(--shadow16);}", ".f15ncuxf{transform:scale(1.03);}", [".ffrhwuo{transition:transform var(--durationNormal) var(--curveDecelerateMin);}", {
159
- p: -1
160
- }], ".f122n59{align-items:center;}", ".fntfeoj{min-height:var(--spacingVerticalXXL);}", [".foizga4{margin:var(--spacingVerticalL) var(--spacingHorizontalL) var(--spacingVerticalNone) var(--spacingHorizontalNone);}", {
161
- p: -1
162
- }], [".f5m8a6r{margin:var(--spacingVerticalL) var(--spacingHorizontalNone) var(--spacingVerticalNone) var(--spacingHorizontalL);}", {
163
- p: -1
164
- }], [".f3hl5xl{grid-row:1/2;}", {
165
- p: -1
166
- }], [".f14q5zaz{grid-column:2/3;}", {
167
- p: -1
168
- }], ".f5p0z4x{opacity:1;}", [".f1964ud6{transition:opacity var(--durationFast) var(--curveLinear);}", {
169
- p: -1
170
- }], ".fkhj508{font-size:var(--fontSizeBase300);}", ".fl43uef{font-weight:var(--fontWeightSemibold);}", ".f1i3iumi{line-height:var(--lineHeightBase300);}", ".f1rvi9lw{display:-webkit-box;}", ".fpfc2by{-webkit-box-orient:vertical;}", ".f1lvsx7g{-webkit-line-clamp:2;}", ".f1sil6mw{overflow-y:hidden;}", ".f13mqy1h{font-size:var(--fontSizeBase100);}", ".figsok6{font-weight:var(--fontWeightRegular);}", ".fcpl73t{line-height:var(--lineHeightBase100);}"],
171
- f: [".ftqa4ok:focus{outline-style:none;}"],
172
- i: [".f2hkw1w:focus-visible{outline-style:none;}"],
173
- m: [["@media (forced-colors: active){.f1j6vpng[data-fui-focus-visible]::after{border-top-color:Highlight;}}", {
174
- m: "(forced-colors: active)"
175
- }], ["@media (forced-colors: active){.f1ffjurs[data-fui-focus-visible]::after{border-left-color:Highlight;}.f1pniga2[data-fui-focus-visible]::after{border-right-color:Highlight;}}", {
176
- m: "(forced-colors: active)"
177
- }], ["@media (forced-colors: active){.f987i1v[data-fui-focus-visible]::after{border-bottom-color:Highlight;}}", {
178
- m: "(forced-colors: active)"
179
- }]]
180
- });
181
- const useSingleColumnStyles = __styles({
182
- primaryAction: {
183
- Beyfa6y: 0,
184
- Bbmb7ep: 0,
185
- Btl43ni: 0,
186
- B7oj6ja: 0,
187
- Dimara: "f1jxijnj",
188
- Brovlpu: "ftqa4ok",
189
- B486eqv: "f2hkw1w",
190
- B8q5s1w: "f8hki3x",
191
- Bci5o5g: ["f1d2448m", "ffh67wi"],
192
- n8qw10: "f1bjia2o",
193
- Bdrgwmp: ["ffh67wi", "f1d2448m"],
194
- Bqhya38: "f1j6vpng",
195
- Bwxa6fj: ["f1pniga2", "f1ffjurs"],
196
- Bdhvstf: "f987i1v",
197
- B7zbvrb: ["f1ffjurs", "f1pniga2"],
198
- Bm4h7ae: "f15bsgw9",
199
- B7ys5i9: "f14e48fq",
200
- Busjfv9: "f18yb2kv",
201
- Bhk32uz: "fd6o370",
202
- f6g5ot: 0,
203
- Boxcth7: 0,
204
- Bhdgwq3: 0,
205
- hgwjuy: 0,
206
- Bshpdp8: 0,
207
- Bsom6fd: 0,
208
- Blkhhs4: 0,
209
- Bonggc9: 0,
210
- Ddfuxk: 0,
211
- i03rao: 0,
212
- kclons: 0,
213
- clg4pj: 0,
214
- Bpqj9nj: 0,
215
- B6dhp37: 0,
216
- Bf4ptjt: 0,
217
- Bqtpl0w: 0,
218
- i4rwgc: "ffwy5si",
219
- Dah5zi: 0,
220
- B1tsrr9: 0,
221
- qqdqy8: 0,
222
- Bkh64rk: 0,
223
- e3fwne: "f178id4l",
224
- J0r882: "f57olzd",
225
- Bule8hv: ["f4stah7", "fs1por5"],
226
- Bjwuhne: "f480a47",
227
- Ghsupd: ["fs1por5", "f4stah7"]
228
- },
229
- prompt: {
230
- Bahqtrf: "fk6fouc",
231
- Be2twd7: "fy9rknc",
232
- Bhrd7zp: "fl43uef",
233
- Bg96gwp: "fwrc4pm"
234
- }
235
- }, {
236
- d: [[".f1jxijnj{border-radius:var(--borderRadius2XL);}", {
237
- p: -1
238
- }], ".f8hki3x[data-fui-focus-visible]{border-top-color:transparent;}", ".f1d2448m[data-fui-focus-visible]{border-right-color:transparent;}", ".ffh67wi[data-fui-focus-visible]{border-left-color:transparent;}", ".f1bjia2o[data-fui-focus-visible]{border-bottom-color:transparent;}", ".f15bsgw9[data-fui-focus-visible]::after{content:\"\";}", ".f14e48fq[data-fui-focus-visible]::after{position:absolute;}", ".f18yb2kv[data-fui-focus-visible]::after{pointer-events:none;}", ".fd6o370[data-fui-focus-visible]::after{z-index:1;}", [".ffwy5si[data-fui-focus-visible]::after{border:2px solid var(--colorStrokeFocus2);}", {
239
- p: -2
240
- }], [".f178id4l[data-fui-focus-visible]::after{border-radius:var(--borderRadius2XL);}", {
241
- p: -1
242
- }], ".f57olzd[data-fui-focus-visible]::after{top:calc(2px * -1);}", ".f4stah7[data-fui-focus-visible]::after{right:calc(2px * -1);}", ".fs1por5[data-fui-focus-visible]::after{left:calc(2px * -1);}", ".f480a47[data-fui-focus-visible]::after{bottom:calc(2px * -1);}", ".fk6fouc{font-family:var(--fontFamilyBase);}", ".fy9rknc{font-size:var(--fontSizeBase200);}", ".fl43uef{font-weight:var(--fontWeightSemibold);}", ".fwrc4pm{line-height:var(--lineHeightBase200);}"],
243
- f: [".ftqa4ok:focus{outline-style:none;}"],
244
- i: [".f2hkw1w:focus-visible{outline-style:none;}"],
245
- m: [["@media (forced-colors: active){.f1j6vpng[data-fui-focus-visible]::after{border-top-color:Highlight;}}", {
246
- m: "(forced-colors: active)"
247
- }], ["@media (forced-colors: active){.f1ffjurs[data-fui-focus-visible]::after{border-left-color:Highlight;}.f1pniga2[data-fui-focus-visible]::after{border-right-color:Highlight;}}", {
248
- m: "(forced-colors: active)"
249
- }], ["@media (forced-colors: active){.f987i1v[data-fui-focus-visible]::after{border-bottom-color:Highlight;}}", {
250
- m: "(forced-colors: active)"
251
- }]]
252
- });
253
- export const usePromptStarterStyles_unstable = state => {
254
- 'use no memo';
255
-
256
- const {
257
- isSingleColumn
258
- } = state;
259
- const styles = useStyles();
260
- const rootResetStyles = useRootResetStyles();
261
- const singleColumnStyles = useSingleColumnStyles();
262
- state.root.className = mergeClasses(promptStarterClassNames.root, rootResetStyles, state.root.className);
263
- state.primaryAction.className = mergeClasses(promptStarterClassNames.primaryAction, styles.primaryAction, isSingleColumn && singleColumnStyles.primaryAction, state.primaryAction.className);
264
- if (state.icon) {
265
- state.icon.className = mergeClasses(promptStarterClassNames.icon, styles.icon, state.icon.className);
266
- }
267
- state.prompt.className = mergeClasses(promptStarterClassNames.prompt, styles.prompt, isSingleColumn && singleColumnStyles.prompt, state.prompt.className);
268
- if (state.reasonMarker) {
269
- state.reasonMarker.className = mergeClasses(promptStarterClassNames.reasonMarker, styles.reasonMarker, state.reasonMarker.className);
270
- }
271
- if (state.actions) {
272
- state.actions.className = mergeClasses(promptStarterClassNames.actions, styles.actions, state.actions.className);
273
- }
274
- return state;
275
- };
276
- //# sourceMappingURL=usePromptStarterStyles.styles.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["usePromptStarterStyles.styles.ts"],"sourcesContent":["import {\n makeStyles,\n makeResetStyles,\n mergeClasses,\n shorthands,\n typographyStyles,\n createFocusOutlineStyle,\n} from '@fluentui/react-components';\nimport { tokens } from '@fluentui-copilot/tokens';\nimport type { PromptStarterSlots, PromptStarterState } from './PromptStarter.types';\nimport type { SlotClassNames } from '@fluentui/react-components';\n\nexport const promptStarterClassNames: SlotClassNames<PromptStarterSlots> = {\n root: 'fai-PromptStarter',\n primaryAction: 'fai-PromptStarter__primaryAction',\n icon: 'fai-PromptStarter__icon',\n prompt: 'fai-PromptStarter__prompt',\n reasonMarker: 'fai-PromptStarter__reasonMarker',\n actions: 'fai-PromptStarter__actions',\n};\n\nconst useRootResetStyles = makeResetStyles({\n display: 'grid',\n gridTemplateColumns: '1fr auto',\n gridTemplateRows: 'max-content auto',\n minWidth: '214px',\n\n // Apply styles to the primary action on hover / active states\n '&:hover': {\n [`& .${promptStarterClassNames.primaryAction}`]: {\n boxShadow: tokens.shadow16,\n transform: 'scale(1.03)',\n transition: `transform ${tokens.durationNormal} ${tokens.curveDecelerateMin}`,\n },\n },\n '&:active': {\n [`& .${promptStarterClassNames.primaryAction}`]: {\n boxShadow: tokens.shadow8,\n transform: 'scale(1.03)',\n transition: `transform ${tokens.durationNormal} ${tokens.curveDecelerateMin}`,\n },\n },\n\n // Hide actions when not focused or hovered\n ':not(:focus-within):not(:hover)': {\n [`& .${promptStarterClassNames.actions}`]: {\n clip: 'rect(0px, 0px, 0px, 0px)',\n height: '1px',\n margin: '-1px',\n overflow: 'hidden',\n padding: '0px',\n width: '1px',\n position: 'absolute',\n opacity: 0,\n },\n },\n});\n\nconst useStyles = makeStyles({\n primaryAction: {\n gridRow: '1 / 3',\n gridColumn: '1 / 3',\n display: 'flex',\n flexDirection: 'column',\n position: 'relative',\n borderRadius: '28px',\n backgroundColor: tokens.colorNeutralBackground1,\n color: tokens.colorNeutralForeground2,\n fontFamily: tokens.fontFamilyBase,\n cursor: 'pointer',\n outlineStyle: 'none',\n textAlign: 'left',\n rowGap: tokens.spacingHorizontalS,\n padding: `${tokens.spacingVerticalL} ${tokens.spacingHorizontalL}`,\n ...shorthands.border(tokens.strokeWidthThin, 'solid', tokens.colorNeutralStroke2),\n ...createFocusOutlineStyle({ style: { outlineRadius: '28px' } }),\n },\n\n primaryActionHovered: {\n boxShadow: tokens.shadow16,\n transform: 'scale(1.03)',\n transition: `transform ${tokens.durationNormal} ${tokens.curveDecelerateMin}`,\n },\n\n icon: {\n display: 'flex',\n alignItems: 'center',\n minHeight: tokens.spacingVerticalXXL,\n },\n actions: {\n margin: `${tokens.spacingVerticalL} ${tokens.spacingHorizontalL}\n ${tokens.spacingVerticalNone} ${tokens.spacingHorizontalNone}`,\n position: 'relative',\n gridRow: '1 / 2',\n gridColumn: '2 / 3',\n\n opacity: 1,\n transition: `opacity ${tokens.durationFast} ${tokens.curveLinear}`,\n },\n prompt: {\n ...typographyStyles.body1Strong,\n\n // Truncate text after two lines.\n display: '-webkit-box',\n '-webkit-box-orient': 'vertical',\n '-webkit-line-clamp': '2',\n overflowY: 'hidden',\n },\n reasonMarker: {\n ...typographyStyles.caption2,\n },\n});\n\nconst useSingleColumnStyles = makeStyles({\n primaryAction: {\n borderRadius: tokens.borderRadius2XL,\n ...createFocusOutlineStyle({ style: { outlineRadius: tokens.borderRadius2XL } }),\n },\n prompt: {\n ...typographyStyles.caption1Strong,\n },\n});\n\nexport const usePromptStarterStyles_unstable = (state: PromptStarterState): PromptStarterState => {\n 'use no memo';\n\n const { isSingleColumn } = state;\n\n const styles = useStyles();\n const rootResetStyles = useRootResetStyles();\n const singleColumnStyles = useSingleColumnStyles();\n state.root.className = mergeClasses(promptStarterClassNames.root, rootResetStyles, state.root.className);\n state.primaryAction.className = mergeClasses(\n promptStarterClassNames.primaryAction,\n styles.primaryAction,\n isSingleColumn && singleColumnStyles.primaryAction,\n state.primaryAction.className,\n );\n if (state.icon) {\n state.icon.className = mergeClasses(promptStarterClassNames.icon, styles.icon, state.icon.className);\n }\n state.prompt.className = mergeClasses(\n promptStarterClassNames.prompt,\n styles.prompt,\n isSingleColumn && singleColumnStyles.prompt,\n state.prompt.className,\n );\n if (state.reasonMarker) {\n state.reasonMarker.className = mergeClasses(\n promptStarterClassNames.reasonMarker,\n styles.reasonMarker,\n state.reasonMarker.className,\n );\n }\n if (state.actions) {\n state.actions.className = mergeClasses(promptStarterClassNames.actions, styles.actions, state.actions.className);\n }\n\n return state;\n};\n"],"names":["makeStyles","makeResetStyles","mergeClasses","shorthands","typographyStyles","createFocusOutlineStyle","tokens","promptStarterClassNames","root","primaryAction","icon","prompt","reasonMarker","actions","useRootResetStyles","display","gridTemplateColumns","gridTemplateRows","minWidth","boxShadow","shadow16","transform","transition","durationNormal","curveDecelerateMin","shadow8","clip","height","margin","overflow","padding","width","position","opacity","useStyles","gridRow","gridColumn","flexDirection","borderRadius","backgroundColor","colorNeutralBackground1","color","colorNeutralForeground2","fontFamily","fontFamilyBase","cursor","outlineStyle","textAlign","rowGap","spacingHorizontalS","spacingVerticalL","spacingHorizontalL","border","strokeWidthThin","colorNeutralStroke2","style","outlineRadius","primaryActionHovered","alignItems","minHeight","spacingVerticalXXL","spacingVerticalNone","spacingHorizontalNone","durationFast","curveLinear","body1Strong","overflowY","caption2","useSingleColumnStyles","borderRadius2XL","caption1Strong","usePromptStarterStyles_unstable","state","isSingleColumn","styles","rootResetStyles","singleColumnStyles","className"],"rangeMappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","mappings":"AAAA,SACEA,UAAU,EACVC,eAAe,EACfC,YAAY,EACZC,UAAU,EACVC,gBAAgB,EAChBC,uBAAuB,QAClB,6BAA6B;AACpC,SAASC,MAAM,QAAQ,2BAA2B;AAIlD,OAAO,MAAMC,0BAA8D;IACzEC,MAAM;IACNC,eAAe;IACfC,MAAM;IACNC,QAAQ;IACRC,cAAc;IACdC,SAAS;AACX,EAAE;AAEF,MAAMC,qBAAqBb,gBAAgB;IACzCc,SAAS;IACTC,qBAAqB;IACrBC,kBAAkB;IAClBC,UAAU;IAEV,8DAA8D;IAC9D,WAAW;QACT,CAAC,CAAC,GAAG,EAAEX,wBAAwBE,aAAa,CAAC,CAAC,CAAC,EAAE;YAC/CU,W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