@fluentui-copilot/react-prompt-starter 0.0.0-nightly-20251002-0405-17b34fb7.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
package/CHANGELOG.json CHANGED
@@ -2,9 +2,9 @@
2
2
  "name": "@fluentui-copilot/react-prompt-starter",
3
3
  "entries": [
4
4
  {
5
- "date": "Thu, 02 Oct 2025 04:13:20 GMT",
6
- "tag": "@fluentui-copilot/react-prompt-starter_v0.0.0-nightly-20251002-0405-17b34fb7.1",
7
- "version": "0.0.0-nightly-20251002-0405-17b34fb7.1",
5
+ "date": "Fri, 10 Oct 2025 04:08:18 GMT",
6
+ "tag": "@fluentui-copilot/react-prompt-starter_v0.0.0-nightly-20251010-0406-7df7c6d1.1",
7
+ "version": "0.0.0-nightly-20251010-0406-7df7c6d1.1",
8
8
  "comments": {
9
9
  "prerelease": [
10
10
  {
package/CHANGELOG.md CHANGED
@@ -1,13 +1,13 @@
1
1
  # Change Log - @fluentui-copilot/react-prompt-starter
2
2
 
3
- This log was last generated on Thu, 02 Oct 2025 04:13:20 GMT and should not be manually modified.
3
+ This log was last generated on Fri, 10 Oct 2025 04:08:18 GMT and should not be manually modified.
4
4
 
5
5
  <!-- Start content -->
6
6
 
7
- ## [0.0.0-nightly-20251002-0405-17b34fb7.1](https://github.com/microsoft/fluentai/tree/@fluentui-copilot/react-prompt-starter_v0.0.0-nightly-20251002-0405-17b34fb7.1)
7
+ ## [0.0.0-nightly-20251010-0406-7df7c6d1.1](https://github.com/microsoft/fluentai/tree/@fluentui-copilot/react-prompt-starter_v0.0.0-nightly-20251010-0406-7df7c6d1.1)
8
8
 
9
- Thu, 02 Oct 2025 04:13:20 GMT
10
- [Compare changes](https://github.com/microsoft/fluentai/compare/@fluentui-copilot/react-prompt-starter_v0.10.6..@fluentui-copilot/react-prompt-starter_v0.0.0-nightly-20251002-0405-17b34fb7.1)
9
+ Fri, 10 Oct 2025 04:08:18 GMT
10
+ [Compare changes](https://github.com/microsoft/fluentai/compare/@fluentui-copilot/react-prompt-starter_v0.10.6..@fluentui-copilot/react-prompt-starter_v0.0.0-nightly-20251010-0406-7df7c6d1.1)
11
11
 
12
12
  ### Changes
13
13
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluentui-copilot/react-prompt-starter",
3
- "version": "0.0.0-nightly-20251002-0405-17b34fb7.1",
3
+ "version": "0.0.0-nightly-20251010-0406-7df7c6d1.1",
4
4
  "description": "A Fluent AI package",
5
5
  "main": "lib-commonjs/index.js",
6
6
  "module": "lib/index.js",
@@ -12,8 +12,8 @@
12
12
  },
13
13
  "license": "MIT",
14
14
  "dependencies": {
15
- "@fluentui-copilot/react-provider": "0.0.0-nightly-20251002-0405-17b34fb7.1",
16
- "@fluentui-copilot/tokens": "0.0.0-nightly-20251002-0405-17b34fb7.1",
15
+ "@fluentui-copilot/react-provider": "0.0.0-nightly-20251010-0406-7df7c6d1.1",
16
+ "@fluentui-copilot/tokens": "0.0.0-nightly-20251010-0406-7df7c6d1.1",
17
17
  "@swc/helpers": "^0.5.1"
18
18
  },
19
19
  "peerDependencies": {
@@ -23,10 +23,10 @@
23
23
  "@fluentui/react-jsx-runtime": ">=9.2.0 <10.0.0",
24
24
  "@fluentui/react-shared-contexts": ">=9.25.1 <10.0.0",
25
25
  "@fluentui/react-utilities": ">=9.24.1 <10.0.0",
26
- "@types/react": ">=16.14.0 <19.0.0",
27
- "@types/react-dom": ">=16.9.8 <19.0.0",
28
- "react": ">=16.14.0 <19.0.0",
29
- "react-dom": ">=16.14.0 <19.0.0"
26
+ "@types/react": ">=16.14.0 <20.0.0",
27
+ "@types/react-dom": ">=16.9.8 <20.0.0",
28
+ "react": ">=16.14.0 <20.0.0",
29
+ "react-dom": ">=16.14.0 <20.0.0"
30
30
  },
31
31
  "beachball": {},
32
32
  "exports": {
package/dist/index.d.ts DELETED
@@ -1,162 +0,0 @@
1
- import type { BadgeProps } from '@fluentui/react-components';
2
- import type { Button } from '@fluentui/react-components';
3
- import type { ComponentProps } from '@fluentui/react-components';
4
- import type { ComponentState } from '@fluentui/react-components';
5
- import type { DesignVersion } from '@fluentui-copilot/react-provider';
6
- import type { ForwardRefComponent } from '@fluentui/react-components';
7
- import { JSX as JSX_2 } from 'react/jsx-runtime';
8
- import * as React_2 from 'react';
9
- import type { Slot } from '@fluentui/react-components';
10
- import type { SlotClassNames } from '@fluentui/react-components';
11
- import type { UseArrowNavigationGroupOptions } from '@fluentui/react-components';
12
-
13
- export declare const PromptStarter: ForwardRefComponent<PromptStarterProps>;
14
-
15
- export declare const promptStarterClassNames: SlotClassNames<PromptStarterSlots>;
16
-
17
- export declare const PromptStarterList: ForwardRefComponent<PromptStarterListProps>;
18
-
19
- export declare const promptStarterListClassNames: SlotClassNames<PromptStarterListSlots>;
20
-
21
- declare type PromptStarterListContextValue = Pick<PromptStarterListState, 'numberOfColumns' | 'isExpanded'>;
22
-
23
- /**
24
- * PromptStarterList Props
25
- */
26
- export declare type PromptStarterListProps = ComponentProps<Partial<PromptStarterListSlots>, 'gridWrapper'> & DesignVersion & {
27
- /**
28
- * Text for the expand button when the list is collapsed.
29
- *
30
- * default: "Show more"
31
- */
32
- expandButtonLabel?: string;
33
- /**
34
- * Text for the expand button when the list is expanded.
35
- *
36
- * default: "Show less"
37
- */
38
- collapseButtonLabel?: string;
39
- /**
40
- * Arrow navigation options. This can be used to customize Tabster's direction,
41
- * tab behavior, and memoization options.
42
- *
43
- * default: { axis: 'horizontal', memorizeCurrent: true }
44
- */
45
- arrowNavigationOptions?: UseArrowNavigationGroupOptions;
46
- /**
47
- * Whether to animate the entrance of its items when it first mounts.
48
- *
49
- * @default true
50
- */
51
- animateOnMount?: boolean;
52
- };
53
-
54
- export declare type PromptStarterListSlots = {
55
- root: NonNullable<Slot<'div'>>;
56
- gridWrapper: NonNullable<Slot<'div'>>;
57
- expandButton?: Slot<typeof Button>;
58
- };
59
-
60
- /**
61
- * State used in rendering PromptStarterList
62
- */
63
- export declare type PromptStarterListState = ComponentState<PromptStarterListSlots> & Required<Pick<PromptStarterListProps, 'designVersion'>> & {
64
- numberOfColumns: number;
65
- isExpanded?: boolean;
66
- };
67
-
68
- /**
69
- * PromptStarter Props
70
- */
71
- export declare type PromptStarterProps = ComponentProps<PromptStarterSlots> & DesignVersion & {};
72
-
73
- export declare type PromptStarterSlots = {
74
- root: Slot<'button'>;
75
- icon: NonNullable<Slot<'span'>>;
76
- category: NonNullable<Slot<'span'>>;
77
- prompt?: Slot<'span'>;
78
- badge?: Slot<BadgeProps>;
79
- };
80
-
81
- /**
82
- * State used in rendering PromptStarter
83
- */
84
- export declare type PromptStarterState = ComponentState<PromptStarterSlots> & Pick<Required<PromptStarterProps>, 'designVersion'>;
85
-
86
- export declare const PromptStarterV2: ForwardRefComponent<PromptStarterV2Props>;
87
-
88
- export declare const promptStarterV2ClassNames: SlotClassNames<PromptStarterV2Slots>;
89
-
90
- /**
91
- * PromptStarter Props
92
- */
93
- export declare type PromptStarterV2Props = Omit<ComponentProps<PromptStarterV2Slots>, 'disabled'>;
94
-
95
- export declare type PromptStarterV2Slots = {
96
- root: NonNullable<Slot<'div'>>;
97
- primaryAction: NonNullable<Slot<'button'>>;
98
- icon?: Slot<'span'>;
99
- prompt: NonNullable<Slot<'span'>>;
100
- reasonMarker?: Slot<'span'>;
101
- actions?: Slot<'span'>;
102
- };
103
-
104
- /**
105
- * State used in rendering PromptStarter
106
- */
107
- export declare type PromptStarterV2State = ComponentState<PromptStarterV2Slots> & {
108
- isSingleColumn?: boolean;
109
- };
110
-
111
- export declare const renderPromptStarter_unstable: (state: PromptStarterState) => JSX_2.Element;
112
-
113
- /**
114
- * Render the final JSX of PromptStarterList
115
- */
116
- export declare const renderPromptStarterList_unstable: (state: PromptStarterListState, contextValue: PromptStarterListContextValue) => JSX_2.Element;
117
-
118
- export declare const renderPromptStarterV2_unstable: (state: PromptStarterV2State) => JSX_2.Element;
119
-
120
- /**
121
- * Create the state required to render PromptStarter.
122
- *
123
- * The returned state can be modified with hooks such as usePromptStarterStyles_unstable,
124
- * before being passed to renderPromptStarter_unstable.
125
- *
126
- * @param props - props from this instance of PromptStarter
127
- * @param ref - reference to root HTMLElement of PromptStarter
128
- */
129
- export declare const usePromptStarter_unstable: (props: PromptStarterProps, ref: React.Ref<HTMLButtonElement>) => PromptStarterState;
130
-
131
- /**
132
- * Create the state required to render PromptStarterList.
133
- *
134
- * The returned state can be modified with hooks such as usePromptStarterListStyles_unstable,
135
- * before being passed to renderPromptStarterList_unstable.
136
- *
137
- * @param props - props from this instance of PromptStarterList
138
- * @param ref - reference to root HTMLElement of PromptStarterList
139
- */
140
- export declare const usePromptStarterList_unstable: (props: PromptStarterListProps, ref: React_2.Ref<HTMLDivElement>) => PromptStarterListState;
141
-
142
- /**
143
- * Apply styling to the PromptStarterList slots based on the state
144
- */
145
- export declare const usePromptStarterListStyles_unstable: (state: PromptStarterListState) => PromptStarterListState;
146
-
147
- export declare const usePromptStarterStyles_unstable: (state: PromptStarterState) => PromptStarterState;
148
-
149
- /**
150
- * Create the state required to render PromptStarter.
151
- *
152
- * The returned state can be modified with hooks such as usePromptStarterStyles_unstable,
153
- * before being passed to renderPromptStarter_unstable.
154
- *
155
- * @param props - props from this instance of PromptStarter
156
- * @param ref - reference to root HTMLElement of PromptStarter
157
- */
158
- export declare const usePromptStarterV2_unstable: (props: PromptStarterV2Props, ref: React.Ref<HTMLDivElement>) => PromptStarterV2State;
159
-
160
- export declare const usePromptStarterV2Styles_unstable: (state: PromptStarterV2State) => PromptStarterV2State;
161
-
162
- export { }
@@ -1 +0,0 @@
1
- export { PromptStarter, promptStarterClassNames, renderPromptStarter_unstable, usePromptStarterStyles_unstable, usePromptStarter_unstable } from './components/PromptStarter/index';
@@ -1 +0,0 @@
1
- {"version":3,"sources":["PromptStarter.ts"],"sourcesContent":["export type { PromptStarterProps, PromptStarterSlots, PromptStarterState } from './components/PromptStarter/index';\nexport { PromptStarter, promptStarterClassNames, renderPromptStarter_unstable, usePromptStarterStyles_unstable, usePromptStarter_unstable } from './components/PromptStarter/index';\n"],"names":["PromptStarter","promptStarterClassNames","renderPromptStarter_unstable","usePromptStarterStyles_unstable","usePromptStarter_unstable"],"rangeMappings":"","mappings":"AACA,SAASA,aAAa,EAAEC,uBAAuB,EAAEC,4BAA4B,EAAEC,+BAA+B,EAAEC,yBAAyB,QAAQ,mCAAmC"}
@@ -1 +0,0 @@
1
- export { PromptStarterList, renderPromptStarterList_unstable, usePromptStarterList_unstable, promptStarterListClassNames, usePromptStarterListStyles_unstable } from './components/PromptStarterV2/PromptStarterList/index';
@@ -1 +0,0 @@
1
- {"version":3,"sources":["PromptStarterList.ts"],"sourcesContent":["export {\n PromptStarterList,\n renderPromptStarterList_unstable,\n usePromptStarterList_unstable,\n promptStarterListClassNames,\n usePromptStarterListStyles_unstable,\n} from './components/PromptStarterV2/PromptStarterList/index';\nexport type {\n PromptStarterListProps,\n PromptStarterListSlots,\n PromptStarterListState,\n PromptStarterListContextValue,\n} from './components/PromptStarterV2/PromptStarterList/index';\n"],"names":["PromptStarterList","renderPromptStarterList_unstable","usePromptStarterList_unstable","promptStarterListClassNames","usePromptStarterListStyles_unstable"],"rangeMappings":"","mappings":"AAAA,SACEA,iBAAiB,EACjBC,gCAAgC,EAChCC,6BAA6B,EAC7BC,2BAA2B,EAC3BC,mCAAmC,QAC9B,uDAAuD"}
@@ -1 +0,0 @@
1
- export { PromptStarter, promptStarterClassNames, renderPromptStarter_unstable, usePromptStarterStyles_unstable, usePromptStarter_unstable } from './components/PromptStarterV2/PromptStarter/index';
@@ -1 +0,0 @@
1
- {"version":3,"sources":["PromptStarterV2.ts"],"sourcesContent":["export type {\n PromptStarterProps,\n PromptStarterSlots,\n PromptStarterState,\n} from './components/PromptStarterV2/PromptStarter/index';\nexport {\n PromptStarter,\n promptStarterClassNames,\n renderPromptStarter_unstable,\n usePromptStarterStyles_unstable,\n usePromptStarter_unstable,\n} from './components/PromptStarterV2/PromptStarter/index';\n"],"names":["PromptStarter","promptStarterClassNames","renderPromptStarter_unstable","usePromptStarterStyles_unstable","usePromptStarter_unstable"],"rangeMappings":"","mappings":"AAKA,SACEA,aAAa,EACbC,uBAAuB,EACvBC,4BAA4B,EAC5BC,+BAA+B,EAC/BC,yBAAyB,QACpB,mDAAmD"}
@@ -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 { DesignVersion } from '@fluentui-copilot/react-provider';\nimport type { ComponentProps, ComponentState, Slot, BadgeProps } from '@fluentui/react-components';\n\nexport type PromptStarterSlots = {\n root: Slot<'button'>;\n icon: NonNullable<Slot<'span'>>;\n category: NonNullable<Slot<'span'>>;\n prompt?: Slot<'span'>;\n badge?: Slot<BadgeProps>;\n};\n\n/**\n * PromptStarter Props\n */\nexport type PromptStarterProps = ComponentProps<PromptStarterSlots> & DesignVersion & {};\n\n/**\n * State used in rendering PromptStarter\n */\nexport type PromptStarterState = ComponentState<PromptStarterSlots> &\n Pick<Required<PromptStarterProps>, 'designVersion'>;\n"],"names":[],"rangeMappings":";;","mappings":"AAgBA;;CAEC,GACD,WACsD"}
@@ -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,18 +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__*/ _jsx(state.icon, {}),
8
- /*#__PURE__*/ _jsxs(state.category, {
9
- children: [
10
- state.category.children,
11
- " ",
12
- state.badge && /*#__PURE__*/ _jsx(state.badge, {})
13
- ]
14
- }),
15
- state.prompt && /*#__PURE__*/ _jsx(state.prompt, {})
16
- ]
17
- });
18
- };
@@ -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.icon />\n <state.category>\n {state.category.children} {state.badge && <state.badge />}\n </state.category>\n {state.prompt && <state.prompt />}\n </state.root>\n );\n};\n"],"names":["assertSlots","renderPromptStarter_unstable","state","root","icon","category","children","badge","prompt"],"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,KAACD,MAAME,IAAI;0BACX,MAACF,MAAMG,QAAQ;;oBACZH,MAAMG,QAAQ,CAACC,QAAQ;oBAAC;oBAAEJ,MAAMK,KAAK,kBAAI,KAACL,MAAMK,KAAK;;;YAEvDL,MAAMM,MAAM,kBAAI,KAACN,MAAMM,MAAM;;;AAGpC,EAAE"}
@@ -1,53 +0,0 @@
1
- import { useDesignVersion } from '@fluentui-copilot/react-provider';
2
- import { Badge, getIntrinsicElementProps, slot, useId } from '@fluentui/react-components';
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 designVersion = useDesignVersion(props.designVersion);
13
- const idPrefix = useId('prompt-starter');
14
- return {
15
- components: {
16
- root: 'button',
17
- icon: 'span',
18
- category: 'span',
19
- prompt: 'span',
20
- badge: Badge
21
- },
22
- root: slot.always(getIntrinsicElementProps('button', {
23
- ref,
24
- 'aria-labelledby': `${idPrefix}-category`,
25
- 'aria-describedby': `${idPrefix}-prompt`,
26
- ...props
27
- }), {
28
- elementType: 'button'
29
- }),
30
- icon: slot.always(props.icon, {
31
- elementType: 'span'
32
- }),
33
- category: slot.always(props.category, {
34
- defaultProps: {
35
- id: `${idPrefix}-category`
36
- },
37
- elementType: 'span'
38
- }),
39
- prompt: slot.optional(props.prompt, {
40
- defaultProps: {
41
- id: `${idPrefix}-prompt`
42
- },
43
- elementType: 'span'
44
- }),
45
- badge: slot.optional(props.badge, {
46
- defaultProps: {
47
- appearance: 'tint'
48
- },
49
- elementType: Badge
50
- }),
51
- designVersion
52
- };
53
- };
@@ -1 +0,0 @@
1
- {"version":3,"sources":["usePromptStarter.ts"],"sourcesContent":["import { useDesignVersion } from '@fluentui-copilot/react-provider';\nimport { Badge, getIntrinsicElementProps, slot, useId } from '@fluentui/react-components';\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<HTMLButtonElement>,\n): PromptStarterState => {\n const designVersion = useDesignVersion(props.designVersion);\n const idPrefix = useId('prompt-starter');\n\n return {\n components: {\n root: 'button',\n icon: 'span',\n category: 'span',\n prompt: 'span',\n badge: Badge,\n },\n root: slot.always(\n getIntrinsicElementProps('button', {\n ref,\n 'aria-labelledby': `${idPrefix}-category`,\n 'aria-describedby': `${idPrefix}-prompt`,\n ...props,\n }),\n { elementType: 'button' },\n ),\n icon: slot.always(props.icon, { elementType: 'span' }),\n category: slot.always(props.category, { defaultProps: { id: `${idPrefix}-category` }, elementType: 'span' }),\n prompt: slot.optional(props.prompt, { defaultProps: { id: `${idPrefix}-prompt` }, elementType: 'span' }),\n badge: slot.optional(props.badge, { defaultProps: { appearance: 'tint' }, elementType: Badge }),\n designVersion,\n };\n};\n"],"names":["useDesignVersion","Badge","getIntrinsicElementProps","slot","useId","usePromptStarter_unstable","props","ref","designVersion","idPrefix","components","root","icon","category","prompt","badge","always","elementType","defaultProps","id","optional","appearance"],"rangeMappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","mappings":"AAAA,SAASA,gBAAgB,QAAQ,mCAAmC;AACpE,SAASC,KAAK,EAAEC,wBAAwB,EAAEC,IAAI,EAAEC,KAAK,QAAQ,6BAA6B;AAG1F;;;;;;;;CAQC,GACD,OAAO,MAAMC,4BAA4B,CACvCC,OACAC;IAEA,MAAMC,gBAAgBR,iBAAiBM,MAAME,aAAa;IAC1D,MAAMC,WAAWL,MAAM;IAEvB,OAAO;QACLM,YAAY;YACVC,MAAM;YACNC,MAAM;YACNC,UAAU;YACVC,QAAQ;YACRC,OAAOd;QACT;QACAU,MAAMR,KAAKa,MAAM,CACfd,yBAAyB,UAAU;YACjCK;YACA,mBAAmB,CAAC,EAAEE,SAAS,SAAS,CAAC;YACzC,oBAAoB,CAAC,EAAEA,SAAS,OAAO,CAAC;YACxC,GAAGH,KAAK;QACV,IACA;YAAEW,aAAa;QAAS;QAE1BL,MAAMT,KAAKa,MAAM,CAACV,MAAMM,IAAI,EAAE;YAAEK,aAAa;QAAO;QACpDJ,UAAUV,KAAKa,MAAM,CAACV,MAAMO,QAAQ,EAAE;YAAEK,cAAc;gBAAEC,IAAI,CAAC,EAAEV,SAAS,SAAS,CAAC;YAAC;YAAGQ,aAAa;QAAO;QAC1GH,QAAQX,KAAKiB,QAAQ,CAACd,MAAMQ,MAAM,EAAE;YAAEI,cAAc;gBAAEC,IAAI,CAAC,EAAEV,SAAS,OAAO,CAAC;YAAC;YAAGQ,aAAa;QAAO;QACtGF,OAAOZ,KAAKiB,QAAQ,CAACd,MAAMS,KAAK,EAAE;YAAEG,cAAc;gBAAEG,YAAY;YAAO;YAAGJ,aAAahB;QAAM;QAC7FO;IACF;AACF,EAAE"}
@@ -1,138 +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
- category: 'fai-PromptStarter__category',
6
- icon: 'fai-PromptStarter__icon',
7
- prompt: 'fai-PromptStarter__prompt',
8
- badge: 'fai-PromptStarter__badge'
9
- };
10
- const useRootResetStyles = __resetStyles("r1imcuat", "r16caqmn", {
11
- r: [".r1imcuat{position:relative;display:grid;grid-template-columns:auto 1fr;grid-template-rows:auto auto;grid-template-areas:\"icon category\" \". prompt\";background-color:var(--colorNeutralBackground1);color:var(--colorNeutralForeground1);font-family:var(--fontFamilyBase);cursor:pointer;outline-style:none;text-align:left;gap:0px 8px;padding:6px 8px 8px 8px;border-top-width:var(--strokeWidthThin);border-right-width:var(--strokeWidthThin);border-bottom-width:var(--strokeWidthThin);border-left-width:var(--strokeWidthThin);border-top-style:solid;border-right-style:solid;border-bottom-style:solid;border-left-style:solid;border-top-color:var(--colorNeutralStroke1);border-right-color:var(--colorNeutralStroke1);border-bottom-color:var(--colorNeutralStroke1);border-left-color:var(--colorNeutralStroke1);border-radius:var(--borderRadiusMedium);}", ".r1imcuat:hover{background-color:var(--colorNeutralBackground1Hover);border-top-width:var(--strokeWidthThin);border-right-width:var(--strokeWidthThin);border-bottom-width:var(--strokeWidthThin);border-left-width:var(--strokeWidthThin);border-top-style:solid;border-right-style:solid;border-bottom-style:solid;border-left-style:solid;border-top-color:var(--colorNeutralStroke1Hover);border-right-color:var(--colorNeutralStroke1Hover);border-bottom-color:var(--colorNeutralStroke1Hover);border-left-color:var(--colorNeutralStroke1Hover);}", ".r1imcuat:active{background-color:var(--colorNeutralBackground1Pressed);border-top-width:var(--strokeWidthThin);border-right-width:var(--strokeWidthThin);border-bottom-width:var(--strokeWidthThin);border-left-width:var(--strokeWidthThin);border-top-style:solid;border-right-style:solid;border-bottom-style:solid;border-left-style:solid;border-top-color:var(--colorNeutralStroke1Pressed);border-right-color:var(--colorNeutralStroke1Pressed);border-bottom-color:var(--colorNeutralStroke1Pressed);border-left-color:var(--colorNeutralStroke1Pressed);}", ".r1imcuat:focus{outline-style:none;}", ".r1imcuat:focus-visible{outline-style:none;}", ".r1imcuat[data-fui-focus-visible]{border-top-color:transparent;border-right-color:transparent;border-bottom-color:transparent;border-left-color:transparent;}", ".r1imcuat[data-fui-focus-visible]::after{content:\"\";position:absolute;pointer-events:none;z-index:1;border:2px solid var(--colorStrokeFocus2);border-radius:var(--borderRadiusMedium);top:calc(2px * -1);right:calc(2px * -1);bottom:calc(2px * -1);left:calc(2px * -1);}", ".r16caqmn{position:relative;display:grid;grid-template-columns:auto 1fr;grid-template-rows:auto auto;grid-template-areas:\"icon category\" \". prompt\";background-color:var(--colorNeutralBackground1);color:var(--colorNeutralForeground1);font-family:var(--fontFamilyBase);cursor:pointer;outline-style:none;text-align:right;gap:0px 8px;padding:6px 8px 8px 8px;border-top-width:var(--strokeWidthThin);border-left-width:var(--strokeWidthThin);border-bottom-width:var(--strokeWidthThin);border-right-width:var(--strokeWidthThin);border-top-style:solid;border-left-style:solid;border-bottom-style:solid;border-right-style:solid;border-top-color:var(--colorNeutralStroke1);border-left-color:var(--colorNeutralStroke1);border-bottom-color:var(--colorNeutralStroke1);border-right-color:var(--colorNeutralStroke1);border-radius:var(--borderRadiusMedium);}", ".r16caqmn:hover{background-color:var(--colorNeutralBackground1Hover);border-top-width:var(--strokeWidthThin);border-left-width:var(--strokeWidthThin);border-bottom-width:var(--strokeWidthThin);border-right-width:var(--strokeWidthThin);border-top-style:solid;border-left-style:solid;border-bottom-style:solid;border-right-style:solid;border-top-color:var(--colorNeutralStroke1Hover);border-left-color:var(--colorNeutralStroke1Hover);border-bottom-color:var(--colorNeutralStroke1Hover);border-right-color:var(--colorNeutralStroke1Hover);}", ".r16caqmn:active{background-color:var(--colorNeutralBackground1Pressed);border-top-width:var(--strokeWidthThin);border-left-width:var(--strokeWidthThin);border-bottom-width:var(--strokeWidthThin);border-right-width:var(--strokeWidthThin);border-top-style:solid;border-left-style:solid;border-bottom-style:solid;border-right-style:solid;border-top-color:var(--colorNeutralStroke1Pressed);border-left-color:var(--colorNeutralStroke1Pressed);border-bottom-color:var(--colorNeutralStroke1Pressed);border-right-color:var(--colorNeutralStroke1Pressed);}", ".r16caqmn:focus{outline-style:none;}", ".r16caqmn:focus-visible{outline-style:none;}", ".r16caqmn[data-fui-focus-visible]{border-top-color:transparent;border-left-color:transparent;border-bottom-color:transparent;border-right-color:transparent;}", ".r16caqmn[data-fui-focus-visible]::after{content:\"\";position:absolute;pointer-events:none;z-index:1;border:2px solid var(--colorStrokeFocus2);border-radius:var(--borderRadiusMedium);top:calc(2px * -1);left:calc(2px * -1);bottom:calc(2px * -1);right:calc(2px * -1);}"],
12
- s: ["@media (forced-colors: active){.r1imcuat[data-fui-focus-visible]::after{border-top-color:Highlight;border-right-color:Highlight;border-bottom-color:Highlight;border-left-color:Highlight;}}", "@media (forced-colors: active){.r16caqmn[data-fui-focus-visible]::after{border-top-color:Highlight;border-left-color:Highlight;border-bottom-color:Highlight;border-right-color:Highlight;}}"]
13
- });
14
- const useStyles = __styles({
15
- disabled: {
16
- Bceei9c: "fdrzuqr",
17
- De3pzq: "f1bg9a2p",
18
- B4j52fo: "f192inf7",
19
- Bekrc4i: ["f5tn483", "f1ojsxk5"],
20
- Bn0qgzm: "f1vxd6vx",
21
- ibv6hh: ["f1ojsxk5", "f5tn483"],
22
- icvyot: "fzkkow9",
23
- vrafjx: ["fcdblym", "fjik90z"],
24
- oivjwe: "fg706s2",
25
- wvpqe5: ["fjik90z", "fcdblym"],
26
- g2u3we: "f1jj8ep1",
27
- h3c5rm: ["f15xbau", "fy0fskl"],
28
- B9xav0g: "f4ikngz",
29
- zhjwy3: ["fy0fskl", "f15xbau"],
30
- Jwef8y: "f1falr9n",
31
- ckks6v: "f7ic3uo",
32
- B2zwrfe: ["f1omjgsz", "f1snvl17"],
33
- xv9156: "fn6xmsl",
34
- dt87k2: ["f1snvl17", "f1omjgsz"],
35
- Bf40cpq: "f1sn8sm0",
36
- Bop6t4b: ["f1wovo5e", "f716mnf"],
37
- gvrnp0: "fm0h710",
38
- Beu9t3s: ["f716mnf", "f1wovo5e"],
39
- Bgoe8wy: "f12mpcsy",
40
- Bwzppfd: ["f1gwvigk", "f18rmfxp"],
41
- oetu4i: "f1jnshp0",
42
- gg5e9n: ["f18rmfxp", "f1gwvigk"],
43
- ecr2s2: "f1ryyzvn",
44
- uqwnxt: "fk7lb2a",
45
- Bvecx4l: ["f1knhbbd", "f17itt0b"],
46
- Bs0cc2w: "f15pjvi3",
47
- e1hlit: ["f17itt0b", "f1knhbbd"],
48
- e2sjt0: "f6ginmj",
49
- Bbcopvn: ["f1grcyuh", "fgzu20w"],
50
- Bj33j0h: "fk1xjsr",
51
- f7epvg: ["fgzu20w", "f1grcyuh"],
52
- B6oc9vd: "fdi4vxw",
53
- ak43y8: ["f4ryxzl", "fkdgpbx"],
54
- wmxk5l: "fcmhn06",
55
- B50zh58: ["fkdgpbx", "f4ryxzl"]
56
- },
57
- icon: {
58
- Bw0ie65: 0,
59
- Br312pm: 0,
60
- nk6f5a: 0,
61
- Ijaq50: 0,
62
- Bq1tomu: "f1atrtdw",
63
- mc9l5x: "f22iagw",
64
- qb2dma: "f7nlbp4"
65
- },
66
- category: {
67
- Bahqtrf: "fk6fouc",
68
- Be2twd7: "fkhj508",
69
- Bhrd7zp: "fl43uef",
70
- Bg96gwp: "f1i3iumi",
71
- Bw0ie65: 0,
72
- Br312pm: 0,
73
- nk6f5a: 0,
74
- Ijaq50: 0,
75
- Bq1tomu: "fq22uu8"
76
- },
77
- prompt: {
78
- Bahqtrf: "fk6fouc",
79
- Be2twd7: "fkhj508",
80
- Bhrd7zp: "figsok6",
81
- Bg96gwp: "f1i3iumi",
82
- Bw0ie65: 0,
83
- Br312pm: 0,
84
- nk6f5a: 0,
85
- Ijaq50: 0,
86
- Bq1tomu: "f1t16na1"
87
- },
88
- disabledText: {
89
- sj55zd: "f1s2aq7o"
90
- },
91
- disabledBadge: {
92
- abs64n: "fege8ms"
93
- }
94
- }, {
95
- d: [".fdrzuqr{cursor:not-allowed;}", ".f1bg9a2p{background-color:var(--colorNeutralBackgroundDisabled);}", ".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;}", ".f1jj8ep1{border-top-color:var(--colorNeutralStrokeDisabled);}", ".f15xbau{border-right-color:var(--colorNeutralStrokeDisabled);}", ".fy0fskl{border-left-color:var(--colorNeutralStrokeDisabled);}", ".f4ikngz{border-bottom-color:var(--colorNeutralStrokeDisabled);}", [".f1atrtdw{grid-area:icon;}", {
96
- p: -1
97
- }], ".f22iagw{display:flex;}", ".f7nlbp4{align-self:center;}", ".fk6fouc{font-family:var(--fontFamilyBase);}", ".fkhj508{font-size:var(--fontSizeBase300);}", ".fl43uef{font-weight:var(--fontWeightSemibold);}", ".f1i3iumi{line-height:var(--lineHeightBase300);}", [".fq22uu8{grid-area:category;}", {
98
- p: -1
99
- }], ".figsok6{font-weight:var(--fontWeightRegular);}", [".f1t16na1{grid-area:prompt;}", {
100
- p: -1
101
- }], ".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}", ".fege8ms{opacity:40%;}"],
102
- h: [".f1falr9n:hover{background-color:var(--colorNeutralBackgroundDisabled);}", ".f7ic3uo:hover{border-top-width:var(--strokeWidthThin);}", ".f1omjgsz:hover{border-right-width:var(--strokeWidthThin);}", ".f1snvl17:hover{border-left-width:var(--strokeWidthThin);}", ".fn6xmsl:hover{border-bottom-width:var(--strokeWidthThin);}", ".f1sn8sm0:hover{border-top-style:solid;}", ".f1wovo5e:hover{border-right-style:solid;}", ".f716mnf:hover{border-left-style:solid;}", ".fm0h710:hover{border-bottom-style:solid;}", ".f12mpcsy:hover{border-top-color:var(--colorNeutralStrokeDisabled);}", ".f1gwvigk:hover{border-right-color:var(--colorNeutralStrokeDisabled);}", ".f18rmfxp:hover{border-left-color:var(--colorNeutralStrokeDisabled);}", ".f1jnshp0:hover{border-bottom-color:var(--colorNeutralStrokeDisabled);}"],
103
- a: [".f1ryyzvn:active{background-color:var(--colorNeutralBackgroundDisabled);}", ".fk7lb2a:active{border-top-width:var(--strokeWidthThin);}", ".f1knhbbd:active{border-right-width:var(--strokeWidthThin);}", ".f17itt0b:active{border-left-width:var(--strokeWidthThin);}", ".f15pjvi3:active{border-bottom-width:var(--strokeWidthThin);}", ".f6ginmj:active{border-top-style:solid;}", ".f1grcyuh:active{border-right-style:solid;}", ".fgzu20w:active{border-left-style:solid;}", ".fk1xjsr:active{border-bottom-style:solid;}", ".fdi4vxw:active{border-top-color:var(--colorNeutralStrokeDisabled);}", ".f4ryxzl:active{border-right-color:var(--colorNeutralStrokeDisabled);}", ".fkdgpbx:active{border-left-color:var(--colorNeutralStrokeDisabled);}", ".fcmhn06:active{border-bottom-color:var(--colorNeutralStrokeDisabled);}"]
104
- });
105
- const useNextStyles = __styles({
106
- root: {
107
- Beyfa6y: 0,
108
- Bbmb7ep: 0,
109
- Btl43ni: 0,
110
- B7oj6ja: 0,
111
- Dimara: "f1kijzfu"
112
- }
113
- }, {
114
- d: [[".f1kijzfu{border-radius:var(--borderRadiusXLarge);}", {
115
- p: -1
116
- }]]
117
- });
118
- export const usePromptStarterStyles_unstable = state => {
119
- 'use no memo';
120
-
121
- const {
122
- designVersion
123
- } = state;
124
- const styles = useStyles();
125
- const nextStyles = useNextStyles();
126
- const rootResetStyles = useRootResetStyles();
127
- state.root.className = mergeClasses(promptStarterClassNames.root, rootResetStyles, designVersion === 'next' && nextStyles.root, state.root.disabled && styles.disabled, state.root.className);
128
- state.icon.className = mergeClasses(promptStarterClassNames.icon, styles.icon, state.root.disabled && styles.disabledText, state.icon.className);
129
- state.category.className = mergeClasses(promptStarterClassNames.category, styles.category, state.category.className, state.root.disabled && styles.disabledText);
130
- if (state.prompt) {
131
- state.prompt.className = mergeClasses(promptStarterClassNames.prompt, styles.prompt, state.root.disabled && styles.disabledText, state.prompt.className);
132
- }
133
- if (state.badge) {
134
- state.badge.className = mergeClasses(promptStarterClassNames.badge, state.root.disabled && styles.disabledBadge, state.badge.className);
135
- }
136
- return state;
137
- };
138
- //# 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 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":"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"}