@fluentui-copilot/react-prompt-starter 0.0.0-nightly-20251010-0406-7df7c6d1.1 → 0.0.0-nightly-20251013-0406-7c7739c8.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.
- package/CHANGELOG.json +3 -3
- package/CHANGELOG.md +4 -4
- package/dist/index.d.ts +164 -0
- package/lib/PromptStarter.js +1 -0
- package/lib/PromptStarter.js.map +1 -0
- package/lib/PromptStarterList.js +1 -0
- package/lib/PromptStarterList.js.map +1 -0
- package/lib/PromptStarterV2.js +1 -0
- package/lib/PromptStarterV2.js.map +1 -0
- package/lib/components/PromptStarter/PromptStarter.js +12 -0
- package/lib/components/PromptStarter/PromptStarter.js.map +1 -0
- package/lib/components/PromptStarter/PromptStarter.types.js +3 -0
- package/lib/components/PromptStarter/PromptStarter.types.js.map +1 -0
- package/lib/components/PromptStarter/index.js +4 -0
- package/lib/components/PromptStarter/index.js.map +1 -0
- package/lib/components/PromptStarter/renderPromptStarter.js +18 -0
- package/lib/components/PromptStarter/renderPromptStarter.js.map +1 -0
- package/lib/components/PromptStarter/usePromptStarter.js +53 -0
- package/lib/components/PromptStarter/usePromptStarter.js.map +1 -0
- package/lib/components/PromptStarter/usePromptStarterStyles.styles.js +138 -0
- package/lib/components/PromptStarter/usePromptStarterStyles.styles.js.map +1 -0
- package/lib/components/PromptStarter/usePromptStarterStyles.styles.raw.js +94 -0
- package/lib/components/PromptStarter/usePromptStarterStyles.styles.raw.js.map +1 -0
- package/lib/components/PromptStarterV2/PromptStarter/PromptStarter.js +12 -0
- package/lib/components/PromptStarterV2/PromptStarter/PromptStarter.js.map +1 -0
- package/lib/components/PromptStarterV2/PromptStarter/PromptStarter.types.js +3 -0
- package/lib/components/PromptStarterV2/PromptStarter/PromptStarter.types.js.map +1 -0
- package/lib/components/PromptStarterV2/PromptStarter/index.js +4 -0
- package/lib/components/PromptStarterV2/PromptStarter/index.js.map +1 -0
- package/lib/components/PromptStarterV2/PromptStarter/promptStarterMotion.js +63 -0
- package/lib/components/PromptStarterV2/PromptStarter/promptStarterMotion.js.map +1 -0
- package/lib/components/PromptStarterV2/PromptStarter/renderPromptStarter.js +18 -0
- package/lib/components/PromptStarterV2/PromptStarter/renderPromptStarter.js.map +1 -0
- package/lib/components/PromptStarterV2/PromptStarter/usePromptStarter.js +73 -0
- package/lib/components/PromptStarterV2/PromptStarter/usePromptStarter.js.map +1 -0
- package/lib/components/PromptStarterV2/PromptStarter/usePromptStarterStyles.styles.js +338 -0
- package/lib/components/PromptStarterV2/PromptStarter/usePromptStarterStyles.styles.js.map +1 -0
- package/lib/components/PromptStarterV2/PromptStarter/usePromptStarterStyles.styles.raw.js +160 -0
- package/lib/components/PromptStarterV2/PromptStarter/usePromptStarterStyles.styles.raw.js.map +1 -0
- package/lib/components/PromptStarterV2/PromptStarterList/PromptStarterList.js +12 -0
- package/lib/components/PromptStarterV2/PromptStarterList/PromptStarterList.js.map +1 -0
- package/lib/components/PromptStarterV2/PromptStarterList/PromptStarterList.types.js +1 -0
- package/lib/components/PromptStarterV2/PromptStarterList/PromptStarterList.types.js.map +1 -0
- package/lib/components/PromptStarterV2/PromptStarterList/index.js +4 -0
- package/lib/components/PromptStarterV2/PromptStarterList/index.js.map +1 -0
- package/lib/components/PromptStarterV2/PromptStarterList/renderPromptStarterList.js +22 -0
- package/lib/components/PromptStarterV2/PromptStarterList/renderPromptStarterList.js.map +1 -0
- package/lib/components/PromptStarterV2/PromptStarterList/usePromptStarterList.js +117 -0
- package/lib/components/PromptStarterV2/PromptStarterList/usePromptStarterList.js.map +1 -0
- package/lib/components/PromptStarterV2/PromptStarterList/usePromptStarterListContextValues.js +6 -0
- package/lib/components/PromptStarterV2/PromptStarterList/usePromptStarterListContextValues.js.map +1 -0
- package/lib/components/PromptStarterV2/PromptStarterList/usePromptStarterListStyles.styles.js +83 -0
- package/lib/components/PromptStarterV2/PromptStarterList/usePromptStarterListStyles.styles.js.map +1 -0
- package/lib/components/PromptStarterV2/PromptStarterList/usePromptStarterListStyles.styles.raw.js +73 -0
- package/lib/components/PromptStarterV2/PromptStarterList/usePromptStarterListStyles.styles.raw.js.map +1 -0
- package/lib/contexts/PromptStarterListContext.js +7 -0
- package/lib/contexts/PromptStarterListContext.js.map +1 -0
- package/lib/index.js +3 -0
- package/lib/index.js.map +1 -0
- package/lib-commonjs/PromptStarter.js +28 -0
- package/lib-commonjs/PromptStarter.js.map +1 -0
- package/lib-commonjs/PromptStarterList.js +28 -0
- package/lib-commonjs/PromptStarterList.js.map +1 -0
- package/lib-commonjs/PromptStarterV2.js +28 -0
- package/lib-commonjs/PromptStarterV2.js.map +1 -0
- package/lib-commonjs/components/PromptStarter/PromptStarter.js +23 -0
- package/lib-commonjs/components/PromptStarter/PromptStarter.js.map +1 -0
- package/lib-commonjs/components/PromptStarter/PromptStarter.types.js +6 -0
- package/lib-commonjs/components/PromptStarter/PromptStarter.types.js.map +1 -0
- package/lib-commonjs/components/PromptStarter/index.js +31 -0
- package/lib-commonjs/components/PromptStarter/index.js.map +1 -0
- package/lib-commonjs/components/PromptStarter/renderPromptStarter.js +28 -0
- package/lib-commonjs/components/PromptStarter/renderPromptStarter.js.map +1 -0
- package/lib-commonjs/components/PromptStarter/usePromptStarter.js +55 -0
- package/lib-commonjs/components/PromptStarter/usePromptStarter.js.map +1 -0
- package/lib-commonjs/components/PromptStarter/usePromptStarterStyles.styles.js +292 -0
- package/lib-commonjs/components/PromptStarter/usePromptStarterStyles.styles.js.map +1 -0
- package/lib-commonjs/components/PromptStarter/usePromptStarterStyles.styles.raw.js +112 -0
- package/lib-commonjs/components/PromptStarter/usePromptStarterStyles.styles.raw.js.map +1 -0
- package/lib-commonjs/components/PromptStarterV2/PromptStarter/PromptStarter.js +23 -0
- package/lib-commonjs/components/PromptStarterV2/PromptStarter/PromptStarter.js.map +1 -0
- package/lib-commonjs/components/PromptStarterV2/PromptStarter/PromptStarter.types.js +6 -0
- package/lib-commonjs/components/PromptStarterV2/PromptStarter/PromptStarter.types.js.map +1 -0
- package/lib-commonjs/components/PromptStarterV2/PromptStarter/index.js +31 -0
- package/lib-commonjs/components/PromptStarterV2/PromptStarter/index.js.map +1 -0
- package/lib-commonjs/components/PromptStarterV2/PromptStarter/promptStarterMotion.js +73 -0
- package/lib-commonjs/components/PromptStarterV2/PromptStarter/promptStarterMotion.js.map +1 -0
- package/lib-commonjs/components/PromptStarterV2/PromptStarter/renderPromptStarter.js +28 -0
- package/lib-commonjs/components/PromptStarterV2/PromptStarter/renderPromptStarter.js.map +1 -0
- package/lib-commonjs/components/PromptStarterV2/PromptStarter/usePromptStarter.js +75 -0
- package/lib-commonjs/components/PromptStarterV2/PromptStarter/usePromptStarter.js.map +1 -0
- package/lib-commonjs/components/PromptStarterV2/PromptStarter/usePromptStarterStyles.styles.js +620 -0
- package/lib-commonjs/components/PromptStarterV2/PromptStarter/usePromptStarterStyles.styles.js.map +1 -0
- package/lib-commonjs/components/PromptStarterV2/PromptStarter/usePromptStarterStyles.styles.raw.js +178 -0
- package/lib-commonjs/components/PromptStarterV2/PromptStarter/usePromptStarterStyles.styles.raw.js.map +1 -0
- package/lib-commonjs/components/PromptStarterV2/PromptStarterList/PromptStarterList.js +23 -0
- package/lib-commonjs/components/PromptStarterV2/PromptStarterList/PromptStarterList.js.map +1 -0
- package/lib-commonjs/components/PromptStarterV2/PromptStarterList/PromptStarterList.types.js +4 -0
- package/lib-commonjs/components/PromptStarterV2/PromptStarterList/PromptStarterList.types.js.map +1 -0
- package/lib-commonjs/components/PromptStarterV2/PromptStarterList/index.js +31 -0
- package/lib-commonjs/components/PromptStarterV2/PromptStarterList/index.js.map +1 -0
- package/lib-commonjs/components/PromptStarterV2/PromptStarterList/renderPromptStarterList.js +30 -0
- package/lib-commonjs/components/PromptStarterV2/PromptStarterList/renderPromptStarterList.js.map +1 -0
- package/lib-commonjs/components/PromptStarterV2/PromptStarterList/usePromptStarterList.js +120 -0
- package/lib-commonjs/components/PromptStarterV2/PromptStarterList/usePromptStarterList.js.map +1 -0
- package/lib-commonjs/components/PromptStarterV2/PromptStarterList/usePromptStarterListContextValues.js +16 -0
- package/lib-commonjs/components/PromptStarterV2/PromptStarterList/usePromptStarterListContextValues.js.map +1 -0
- package/lib-commonjs/components/PromptStarterV2/PromptStarterList/usePromptStarterListStyles.styles.js +126 -0
- package/lib-commonjs/components/PromptStarterV2/PromptStarterList/usePromptStarterListStyles.styles.js.map +1 -0
- package/lib-commonjs/components/PromptStarterV2/PromptStarterList/usePromptStarterListStyles.styles.raw.js +89 -0
- package/lib-commonjs/components/PromptStarterV2/PromptStarterList/usePromptStarterListStyles.styles.raw.js.map +1 -0
- package/lib-commonjs/contexts/PromptStarterListContext.js +28 -0
- package/lib-commonjs/contexts/PromptStarterListContext.js.map +1 -0
- package/lib-commonjs/index.js +60 -0
- package/lib-commonjs/index.js.map +1 -0
- package/package.json +3 -3
package/lib-commonjs/components/PromptStarterV2/PromptStarter/usePromptStarterStyles.styles.js
ADDED
|
@@ -0,0 +1,620 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", {
|
|
3
|
+
value: true
|
|
4
|
+
});
|
|
5
|
+
function _export(target, all) {
|
|
6
|
+
for(var name in all)Object.defineProperty(target, name, {
|
|
7
|
+
enumerable: true,
|
|
8
|
+
get: all[name]
|
|
9
|
+
});
|
|
10
|
+
}
|
|
11
|
+
_export(exports, {
|
|
12
|
+
promptStarterClassNames: function() {
|
|
13
|
+
return promptStarterClassNames;
|
|
14
|
+
},
|
|
15
|
+
usePromptStarterStyles_unstable: function() {
|
|
16
|
+
return usePromptStarterStyles_unstable;
|
|
17
|
+
}
|
|
18
|
+
});
|
|
19
|
+
const _reactcomponents = require("@fluentui/react-components");
|
|
20
|
+
const promptStarterClassNames = {
|
|
21
|
+
root: 'fai-PromptStarter',
|
|
22
|
+
primaryAction: 'fai-PromptStarter__primaryAction',
|
|
23
|
+
icon: 'fai-PromptStarter__icon',
|
|
24
|
+
category: 'fai-PromptStarter__category',
|
|
25
|
+
prompt: 'fai-PromptStarter__prompt',
|
|
26
|
+
reasonMarker: 'fai-PromptStarter__reasonMarker',
|
|
27
|
+
actions: 'fai-PromptStarter__actions'
|
|
28
|
+
};
|
|
29
|
+
const useRootResetStyles = (0, _reactcomponents.__resetStyles)("r1x2hm06", null, [
|
|
30
|
+
".r1x2hm06{display:grid;grid-template-columns:1fr auto;grid-template-rows:max-content auto;min-width:214px;}",
|
|
31
|
+
".r1x2hm06:hover .fai-PromptStarter__primaryAction{box-shadow:var(--shadow16);transform:scale(1.03);transition:transform var(--durationNormal) var(--curveDecelerateMin);}",
|
|
32
|
+
".r1x2hm06:active .fai-PromptStarter__primaryAction{box-shadow:var(--shadow8);transform:scale(1.03);transition:transform var(--durationNormal) var(--curveDecelerateMin);}",
|
|
33
|
+
".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;}"
|
|
34
|
+
]);
|
|
35
|
+
const useStyles = (0, _reactcomponents.__styles)({
|
|
36
|
+
primaryAction: {
|
|
37
|
+
nk6f5a: 0,
|
|
38
|
+
Ijaq50: 0,
|
|
39
|
+
h3tjnc: "fcdwmbt",
|
|
40
|
+
Bw0ie65: 0,
|
|
41
|
+
Br312pm: 0,
|
|
42
|
+
Beweih1: "f1eb8yyf",
|
|
43
|
+
qhf8xq: "f10pi13n",
|
|
44
|
+
mc9l5x: "f13qh94s",
|
|
45
|
+
Budl1dq: "fwggfk1",
|
|
46
|
+
v29qe6: "f1wv14k0",
|
|
47
|
+
Beyfa6y: 0,
|
|
48
|
+
Bbmb7ep: 0,
|
|
49
|
+
Btl43ni: 0,
|
|
50
|
+
B7oj6ja: 0,
|
|
51
|
+
Dimara: "f14w4nd",
|
|
52
|
+
De3pzq: "fxugw4r",
|
|
53
|
+
sj55zd: "fkfq4zb",
|
|
54
|
+
Bahqtrf: "fk6fouc",
|
|
55
|
+
Bceei9c: "f1k6fduh",
|
|
56
|
+
oeaueh: "f1s6fcnf",
|
|
57
|
+
fsow6f: [
|
|
58
|
+
"f1o700av",
|
|
59
|
+
"fes3tcz"
|
|
60
|
+
],
|
|
61
|
+
i8kkvl: "f6ave1s",
|
|
62
|
+
Belr9w4: "f1wn3y0l",
|
|
63
|
+
Byoj8tv: 0,
|
|
64
|
+
uwmqm3: 0,
|
|
65
|
+
z189sj: 0,
|
|
66
|
+
z8tnut: 0,
|
|
67
|
+
B0ocmuz: "fq88wcj",
|
|
68
|
+
B4j52fo: "f192inf7",
|
|
69
|
+
Bekrc4i: [
|
|
70
|
+
"f5tn483",
|
|
71
|
+
"f1ojsxk5"
|
|
72
|
+
],
|
|
73
|
+
Bn0qgzm: "f1vxd6vx",
|
|
74
|
+
ibv6hh: [
|
|
75
|
+
"f1ojsxk5",
|
|
76
|
+
"f5tn483"
|
|
77
|
+
],
|
|
78
|
+
icvyot: "fzkkow9",
|
|
79
|
+
vrafjx: [
|
|
80
|
+
"fcdblym",
|
|
81
|
+
"fjik90z"
|
|
82
|
+
],
|
|
83
|
+
oivjwe: "fg706s2",
|
|
84
|
+
wvpqe5: [
|
|
85
|
+
"fjik90z",
|
|
86
|
+
"fcdblym"
|
|
87
|
+
],
|
|
88
|
+
g2u3we: "f68mrw8",
|
|
89
|
+
h3c5rm: [
|
|
90
|
+
"f7pw515",
|
|
91
|
+
"fw35ms5"
|
|
92
|
+
],
|
|
93
|
+
B9xav0g: "frpde29",
|
|
94
|
+
zhjwy3: [
|
|
95
|
+
"fw35ms5",
|
|
96
|
+
"f7pw515"
|
|
97
|
+
],
|
|
98
|
+
Brovlpu: "ftqa4ok",
|
|
99
|
+
B486eqv: "f2hkw1w",
|
|
100
|
+
B8q5s1w: "f8hki3x",
|
|
101
|
+
Bci5o5g: [
|
|
102
|
+
"f1d2448m",
|
|
103
|
+
"ffh67wi"
|
|
104
|
+
],
|
|
105
|
+
n8qw10: "f1bjia2o",
|
|
106
|
+
Bdrgwmp: [
|
|
107
|
+
"ffh67wi",
|
|
108
|
+
"f1d2448m"
|
|
109
|
+
],
|
|
110
|
+
Bqhya38: "f1j6vpng",
|
|
111
|
+
Bwxa6fj: [
|
|
112
|
+
"f1pniga2",
|
|
113
|
+
"f1ffjurs"
|
|
114
|
+
],
|
|
115
|
+
Bdhvstf: "f987i1v",
|
|
116
|
+
B7zbvrb: [
|
|
117
|
+
"f1ffjurs",
|
|
118
|
+
"f1pniga2"
|
|
119
|
+
],
|
|
120
|
+
Bm4h7ae: "f15bsgw9",
|
|
121
|
+
B7ys5i9: "f14e48fq",
|
|
122
|
+
Busjfv9: "f18yb2kv",
|
|
123
|
+
Bhk32uz: "fd6o370",
|
|
124
|
+
f6g5ot: 0,
|
|
125
|
+
Boxcth7: 0,
|
|
126
|
+
Bhdgwq3: 0,
|
|
127
|
+
hgwjuy: 0,
|
|
128
|
+
Bshpdp8: 0,
|
|
129
|
+
Bsom6fd: 0,
|
|
130
|
+
Blkhhs4: 0,
|
|
131
|
+
Bonggc9: 0,
|
|
132
|
+
Ddfuxk: 0,
|
|
133
|
+
i03rao: 0,
|
|
134
|
+
kclons: 0,
|
|
135
|
+
clg4pj: 0,
|
|
136
|
+
Bpqj9nj: 0,
|
|
137
|
+
B6dhp37: 0,
|
|
138
|
+
Bf4ptjt: 0,
|
|
139
|
+
Bqtpl0w: 0,
|
|
140
|
+
i4rwgc: "ffwy5si",
|
|
141
|
+
Dah5zi: 0,
|
|
142
|
+
B1tsrr9: 0,
|
|
143
|
+
qqdqy8: 0,
|
|
144
|
+
Bkh64rk: 0,
|
|
145
|
+
e3fwne: "faugzkp",
|
|
146
|
+
J0r882: "f57olzd",
|
|
147
|
+
Bule8hv: [
|
|
148
|
+
"f4stah7",
|
|
149
|
+
"fs1por5"
|
|
150
|
+
],
|
|
151
|
+
Bjwuhne: "f480a47",
|
|
152
|
+
Ghsupd: [
|
|
153
|
+
"fs1por5",
|
|
154
|
+
"f4stah7"
|
|
155
|
+
]
|
|
156
|
+
},
|
|
157
|
+
primaryActionHovered: {
|
|
158
|
+
E5pizo: "f1hg901r",
|
|
159
|
+
Bz10aip: "f15ncuxf",
|
|
160
|
+
Bn62ygk: 0,
|
|
161
|
+
Cwk7ip: 0,
|
|
162
|
+
B3o57yi: 0,
|
|
163
|
+
Bmy1vo4: 0,
|
|
164
|
+
Bkqvd7p: 0,
|
|
165
|
+
Bi2q7bf: "ffrhwuo"
|
|
166
|
+
},
|
|
167
|
+
icon: {
|
|
168
|
+
mc9l5x: "f22iagw",
|
|
169
|
+
Bt984gj: "f122n59",
|
|
170
|
+
sshi5w: "fntfeoj",
|
|
171
|
+
nk6f5a: 0,
|
|
172
|
+
Ijaq50: 0,
|
|
173
|
+
h3tjnc: "fm1owph",
|
|
174
|
+
Bw0ie65: 0,
|
|
175
|
+
Br312pm: 0,
|
|
176
|
+
Beweih1: "f12k0sjh"
|
|
177
|
+
},
|
|
178
|
+
category: {
|
|
179
|
+
mc9l5x: "f22iagw",
|
|
180
|
+
Bt984gj: "f122n59",
|
|
181
|
+
Bahqtrf: "fk6fouc",
|
|
182
|
+
Be2twd7: "fkhj508",
|
|
183
|
+
Bhrd7zp: "fl43uef",
|
|
184
|
+
Bg96gwp: "f1i3iumi",
|
|
185
|
+
nk6f5a: 0,
|
|
186
|
+
Ijaq50: 0,
|
|
187
|
+
h3tjnc: "fm1owph",
|
|
188
|
+
Bw0ie65: 0,
|
|
189
|
+
Br312pm: 0,
|
|
190
|
+
Beweih1: "f14q5zaz"
|
|
191
|
+
},
|
|
192
|
+
actions: {
|
|
193
|
+
jrapky: 0,
|
|
194
|
+
Frg6f3: 0,
|
|
195
|
+
t21cq0: 0,
|
|
196
|
+
B6of3ja: 0,
|
|
197
|
+
B74szlk: [
|
|
198
|
+
"foizga4",
|
|
199
|
+
"f5m8a6r"
|
|
200
|
+
],
|
|
201
|
+
qhf8xq: "f10pi13n",
|
|
202
|
+
nk6f5a: 0,
|
|
203
|
+
Ijaq50: 0,
|
|
204
|
+
h3tjnc: "f3hl5xl",
|
|
205
|
+
Bw0ie65: 0,
|
|
206
|
+
Br312pm: 0,
|
|
207
|
+
Beweih1: "f14q5zaz",
|
|
208
|
+
abs64n: "f5p0z4x",
|
|
209
|
+
Bn62ygk: 0,
|
|
210
|
+
Cwk7ip: 0,
|
|
211
|
+
B3o57yi: 0,
|
|
212
|
+
Bmy1vo4: 0,
|
|
213
|
+
Bkqvd7p: 0,
|
|
214
|
+
Bi2q7bf: "f1964ud6"
|
|
215
|
+
},
|
|
216
|
+
actionsWithCategory: {
|
|
217
|
+
De3pzq: "fxugw4r",
|
|
218
|
+
E5pizo: [
|
|
219
|
+
"f1u7pq1e",
|
|
220
|
+
"f1pdyzui"
|
|
221
|
+
]
|
|
222
|
+
},
|
|
223
|
+
prompt: {
|
|
224
|
+
Bahqtrf: "fk6fouc",
|
|
225
|
+
Be2twd7: "fkhj508",
|
|
226
|
+
Bhrd7zp: "fl43uef",
|
|
227
|
+
Bg96gwp: "f1i3iumi",
|
|
228
|
+
mc9l5x: "f1rvi9lw",
|
|
229
|
+
Fd1uvx: "fpfc2by",
|
|
230
|
+
Bh9c35c: "f1lvsx7g",
|
|
231
|
+
Bmxbyg5: "f1sil6mw",
|
|
232
|
+
nk6f5a: 0,
|
|
233
|
+
Ijaq50: 0,
|
|
234
|
+
h3tjnc: "f1daok31",
|
|
235
|
+
Bw0ie65: 0,
|
|
236
|
+
Br312pm: 0,
|
|
237
|
+
Beweih1: "f1eb8yyf"
|
|
238
|
+
},
|
|
239
|
+
promptNoReasonMarker: {
|
|
240
|
+
Bh9c35c: "f197wrh9"
|
|
241
|
+
},
|
|
242
|
+
reasonMarker: {
|
|
243
|
+
nk6f5a: 0,
|
|
244
|
+
Ijaq50: 0,
|
|
245
|
+
h3tjnc: "f17e42vn",
|
|
246
|
+
Bw0ie65: 0,
|
|
247
|
+
Br312pm: 0,
|
|
248
|
+
Beweih1: "f1eb8yyf",
|
|
249
|
+
Bahqtrf: "fk6fouc",
|
|
250
|
+
Be2twd7: "f13mqy1h",
|
|
251
|
+
Bhrd7zp: "figsok6",
|
|
252
|
+
Bg96gwp: "fcpl73t"
|
|
253
|
+
}
|
|
254
|
+
}, {
|
|
255
|
+
d: [
|
|
256
|
+
[
|
|
257
|
+
".fcdwmbt{grid-row:1/3;}",
|
|
258
|
+
{
|
|
259
|
+
p: -1
|
|
260
|
+
}
|
|
261
|
+
],
|
|
262
|
+
[
|
|
263
|
+
".f1eb8yyf{grid-column:1/3;}",
|
|
264
|
+
{
|
|
265
|
+
p: -1
|
|
266
|
+
}
|
|
267
|
+
],
|
|
268
|
+
".f10pi13n{position:relative;}",
|
|
269
|
+
".f13qh94s{display:grid;}",
|
|
270
|
+
".fwggfk1{grid-template-columns:max-content 1fr;}",
|
|
271
|
+
".f1wv14k0{grid-auto-rows:max-content 1fr max-content;}",
|
|
272
|
+
[
|
|
273
|
+
".f14w4nd{border-radius:28px;}",
|
|
274
|
+
{
|
|
275
|
+
p: -1
|
|
276
|
+
}
|
|
277
|
+
],
|
|
278
|
+
".fxugw4r{background-color:var(--colorNeutralBackground1);}",
|
|
279
|
+
".fkfq4zb{color:var(--colorNeutralForeground2);}",
|
|
280
|
+
".fk6fouc{font-family:var(--fontFamilyBase);}",
|
|
281
|
+
".f1k6fduh{cursor:pointer;}",
|
|
282
|
+
".f1s6fcnf{outline-style:none;}",
|
|
283
|
+
".f1o700av{text-align:left;}",
|
|
284
|
+
".fes3tcz{text-align:right;}",
|
|
285
|
+
".f6ave1s{column-gap:var(--spacingHorizontalMNudge);}",
|
|
286
|
+
".f1wn3y0l{row-gap:var(--spacingVerticalS);}",
|
|
287
|
+
[
|
|
288
|
+
".fq88wcj{padding:var(--spacingVerticalL) var(--spacingHorizontalL);}",
|
|
289
|
+
{
|
|
290
|
+
p: -1
|
|
291
|
+
}
|
|
292
|
+
],
|
|
293
|
+
".f192inf7{border-top-width:var(--strokeWidthThin);}",
|
|
294
|
+
".f5tn483{border-right-width:var(--strokeWidthThin);}",
|
|
295
|
+
".f1ojsxk5{border-left-width:var(--strokeWidthThin);}",
|
|
296
|
+
".f1vxd6vx{border-bottom-width:var(--strokeWidthThin);}",
|
|
297
|
+
".fzkkow9{border-top-style:solid;}",
|
|
298
|
+
".fcdblym{border-right-style:solid;}",
|
|
299
|
+
".fjik90z{border-left-style:solid;}",
|
|
300
|
+
".fg706s2{border-bottom-style:solid;}",
|
|
301
|
+
".f68mrw8{border-top-color:var(--colorNeutralStroke2);}",
|
|
302
|
+
".f7pw515{border-right-color:var(--colorNeutralStroke2);}",
|
|
303
|
+
".fw35ms5{border-left-color:var(--colorNeutralStroke2);}",
|
|
304
|
+
".frpde29{border-bottom-color:var(--colorNeutralStroke2);}",
|
|
305
|
+
".f8hki3x[data-fui-focus-visible]{border-top-color:transparent;}",
|
|
306
|
+
".f1d2448m[data-fui-focus-visible]{border-right-color:transparent;}",
|
|
307
|
+
".ffh67wi[data-fui-focus-visible]{border-left-color:transparent;}",
|
|
308
|
+
".f1bjia2o[data-fui-focus-visible]{border-bottom-color:transparent;}",
|
|
309
|
+
".f15bsgw9[data-fui-focus-visible]::after{content:\"\";}",
|
|
310
|
+
".f14e48fq[data-fui-focus-visible]::after{position:absolute;}",
|
|
311
|
+
".f18yb2kv[data-fui-focus-visible]::after{pointer-events:none;}",
|
|
312
|
+
".fd6o370[data-fui-focus-visible]::after{z-index:1;}",
|
|
313
|
+
[
|
|
314
|
+
".ffwy5si[data-fui-focus-visible]::after{border:2px solid var(--colorStrokeFocus2);}",
|
|
315
|
+
{
|
|
316
|
+
p: -2
|
|
317
|
+
}
|
|
318
|
+
],
|
|
319
|
+
[
|
|
320
|
+
".faugzkp[data-fui-focus-visible]::after{border-radius:28px;}",
|
|
321
|
+
{
|
|
322
|
+
p: -1
|
|
323
|
+
}
|
|
324
|
+
],
|
|
325
|
+
".f57olzd[data-fui-focus-visible]::after{top:calc(2px * -1);}",
|
|
326
|
+
".f4stah7[data-fui-focus-visible]::after{right:calc(2px * -1);}",
|
|
327
|
+
".fs1por5[data-fui-focus-visible]::after{left:calc(2px * -1);}",
|
|
328
|
+
".f480a47[data-fui-focus-visible]::after{bottom:calc(2px * -1);}",
|
|
329
|
+
".f1hg901r{box-shadow:var(--shadow16);}",
|
|
330
|
+
".f15ncuxf{transform:scale(1.03);}",
|
|
331
|
+
[
|
|
332
|
+
".ffrhwuo{transition:transform var(--durationNormal) var(--curveDecelerateMin);}",
|
|
333
|
+
{
|
|
334
|
+
p: -1
|
|
335
|
+
}
|
|
336
|
+
],
|
|
337
|
+
".f22iagw{display:flex;}",
|
|
338
|
+
".f122n59{align-items:center;}",
|
|
339
|
+
".fntfeoj{min-height:var(--spacingVerticalXXL);}",
|
|
340
|
+
[
|
|
341
|
+
".fm1owph{grid-row:1;}",
|
|
342
|
+
{
|
|
343
|
+
p: -1
|
|
344
|
+
}
|
|
345
|
+
],
|
|
346
|
+
[
|
|
347
|
+
".f12k0sjh{grid-column:1/2;}",
|
|
348
|
+
{
|
|
349
|
+
p: -1
|
|
350
|
+
}
|
|
351
|
+
],
|
|
352
|
+
".fkhj508{font-size:var(--fontSizeBase300);}",
|
|
353
|
+
".fl43uef{font-weight:var(--fontWeightSemibold);}",
|
|
354
|
+
".f1i3iumi{line-height:var(--lineHeightBase300);}",
|
|
355
|
+
[
|
|
356
|
+
".fm1owph{grid-row:1;}",
|
|
357
|
+
{
|
|
358
|
+
p: -1
|
|
359
|
+
}
|
|
360
|
+
],
|
|
361
|
+
[
|
|
362
|
+
".f14q5zaz{grid-column:2/3;}",
|
|
363
|
+
{
|
|
364
|
+
p: -1
|
|
365
|
+
}
|
|
366
|
+
],
|
|
367
|
+
[
|
|
368
|
+
".foizga4{margin:var(--spacingVerticalL) var(--spacingHorizontalL) var(--spacingVerticalNone) var(--spacingHorizontalNone);}",
|
|
369
|
+
{
|
|
370
|
+
p: -1
|
|
371
|
+
}
|
|
372
|
+
],
|
|
373
|
+
[
|
|
374
|
+
".f5m8a6r{margin:var(--spacingVerticalL) var(--spacingHorizontalNone) var(--spacingVerticalNone) var(--spacingHorizontalL);}",
|
|
375
|
+
{
|
|
376
|
+
p: -1
|
|
377
|
+
}
|
|
378
|
+
],
|
|
379
|
+
[
|
|
380
|
+
".f3hl5xl{grid-row:1/2;}",
|
|
381
|
+
{
|
|
382
|
+
p: -1
|
|
383
|
+
}
|
|
384
|
+
],
|
|
385
|
+
[
|
|
386
|
+
".f14q5zaz{grid-column:2/3;}",
|
|
387
|
+
{
|
|
388
|
+
p: -1
|
|
389
|
+
}
|
|
390
|
+
],
|
|
391
|
+
".f5p0z4x{opacity:1;}",
|
|
392
|
+
[
|
|
393
|
+
".f1964ud6{transition:opacity var(--durationFast) var(--curveLinear);}",
|
|
394
|
+
{
|
|
395
|
+
p: -1
|
|
396
|
+
}
|
|
397
|
+
],
|
|
398
|
+
".f1u7pq1e{box-shadow:-12px 0 12px 0 var(--colorNeutralBackground1);}",
|
|
399
|
+
".f1pdyzui{box-shadow:12px 0 12px 0 var(--colorNeutralBackground1);}",
|
|
400
|
+
".f1rvi9lw{display:-webkit-box;}",
|
|
401
|
+
".fpfc2by{-webkit-box-orient:vertical;}",
|
|
402
|
+
".f1lvsx7g{-webkit-line-clamp:2;}",
|
|
403
|
+
".f1sil6mw{overflow-y:hidden;}",
|
|
404
|
+
[
|
|
405
|
+
".f1daok31{grid-row:2;}",
|
|
406
|
+
{
|
|
407
|
+
p: -1
|
|
408
|
+
}
|
|
409
|
+
],
|
|
410
|
+
[
|
|
411
|
+
".f1eb8yyf{grid-column:1/3;}",
|
|
412
|
+
{
|
|
413
|
+
p: -1
|
|
414
|
+
}
|
|
415
|
+
],
|
|
416
|
+
".f197wrh9{-webkit-line-clamp:3;}",
|
|
417
|
+
[
|
|
418
|
+
".f17e42vn{grid-row:3;}",
|
|
419
|
+
{
|
|
420
|
+
p: -1
|
|
421
|
+
}
|
|
422
|
+
],
|
|
423
|
+
[
|
|
424
|
+
".f1eb8yyf{grid-column:1/3;}",
|
|
425
|
+
{
|
|
426
|
+
p: -1
|
|
427
|
+
}
|
|
428
|
+
],
|
|
429
|
+
".f13mqy1h{font-size:var(--fontSizeBase100);}",
|
|
430
|
+
".figsok6{font-weight:var(--fontWeightRegular);}",
|
|
431
|
+
".fcpl73t{line-height:var(--lineHeightBase100);}"
|
|
432
|
+
],
|
|
433
|
+
f: [
|
|
434
|
+
".ftqa4ok:focus{outline-style:none;}"
|
|
435
|
+
],
|
|
436
|
+
i: [
|
|
437
|
+
".f2hkw1w:focus-visible{outline-style:none;}"
|
|
438
|
+
],
|
|
439
|
+
m: [
|
|
440
|
+
[
|
|
441
|
+
"@media (forced-colors: active){.f1j6vpng[data-fui-focus-visible]::after{border-top-color:Highlight;}}",
|
|
442
|
+
{
|
|
443
|
+
m: "(forced-colors: active)"
|
|
444
|
+
}
|
|
445
|
+
],
|
|
446
|
+
[
|
|
447
|
+
"@media (forced-colors: active){.f1ffjurs[data-fui-focus-visible]::after{border-left-color:Highlight;}.f1pniga2[data-fui-focus-visible]::after{border-right-color:Highlight;}}",
|
|
448
|
+
{
|
|
449
|
+
m: "(forced-colors: active)"
|
|
450
|
+
}
|
|
451
|
+
],
|
|
452
|
+
[
|
|
453
|
+
"@media (forced-colors: active){.f987i1v[data-fui-focus-visible]::after{border-bottom-color:Highlight;}}",
|
|
454
|
+
{
|
|
455
|
+
m: "(forced-colors: active)"
|
|
456
|
+
}
|
|
457
|
+
]
|
|
458
|
+
]
|
|
459
|
+
});
|
|
460
|
+
const useSingleColumnStyles = (0, _reactcomponents.__styles)({
|
|
461
|
+
primaryAction: {
|
|
462
|
+
mc9l5x: "f22iagw",
|
|
463
|
+
Beyfa6y: 0,
|
|
464
|
+
Bbmb7ep: 0,
|
|
465
|
+
Btl43ni: 0,
|
|
466
|
+
B7oj6ja: 0,
|
|
467
|
+
Dimara: "f1jxijnj",
|
|
468
|
+
Brovlpu: "ftqa4ok",
|
|
469
|
+
B486eqv: "f2hkw1w",
|
|
470
|
+
B8q5s1w: "f8hki3x",
|
|
471
|
+
Bci5o5g: [
|
|
472
|
+
"f1d2448m",
|
|
473
|
+
"ffh67wi"
|
|
474
|
+
],
|
|
475
|
+
n8qw10: "f1bjia2o",
|
|
476
|
+
Bdrgwmp: [
|
|
477
|
+
"ffh67wi",
|
|
478
|
+
"f1d2448m"
|
|
479
|
+
],
|
|
480
|
+
Bqhya38: "f1j6vpng",
|
|
481
|
+
Bwxa6fj: [
|
|
482
|
+
"f1pniga2",
|
|
483
|
+
"f1ffjurs"
|
|
484
|
+
],
|
|
485
|
+
Bdhvstf: "f987i1v",
|
|
486
|
+
B7zbvrb: [
|
|
487
|
+
"f1ffjurs",
|
|
488
|
+
"f1pniga2"
|
|
489
|
+
],
|
|
490
|
+
Bm4h7ae: "f15bsgw9",
|
|
491
|
+
B7ys5i9: "f14e48fq",
|
|
492
|
+
Busjfv9: "f18yb2kv",
|
|
493
|
+
Bhk32uz: "fd6o370",
|
|
494
|
+
f6g5ot: 0,
|
|
495
|
+
Boxcth7: 0,
|
|
496
|
+
Bhdgwq3: 0,
|
|
497
|
+
hgwjuy: 0,
|
|
498
|
+
Bshpdp8: 0,
|
|
499
|
+
Bsom6fd: 0,
|
|
500
|
+
Blkhhs4: 0,
|
|
501
|
+
Bonggc9: 0,
|
|
502
|
+
Ddfuxk: 0,
|
|
503
|
+
i03rao: 0,
|
|
504
|
+
kclons: 0,
|
|
505
|
+
clg4pj: 0,
|
|
506
|
+
Bpqj9nj: 0,
|
|
507
|
+
B6dhp37: 0,
|
|
508
|
+
Bf4ptjt: 0,
|
|
509
|
+
Bqtpl0w: 0,
|
|
510
|
+
i4rwgc: "ffwy5si",
|
|
511
|
+
Dah5zi: 0,
|
|
512
|
+
B1tsrr9: 0,
|
|
513
|
+
qqdqy8: 0,
|
|
514
|
+
Bkh64rk: 0,
|
|
515
|
+
e3fwne: "f178id4l",
|
|
516
|
+
J0r882: "f57olzd",
|
|
517
|
+
Bule8hv: [
|
|
518
|
+
"f4stah7",
|
|
519
|
+
"fs1por5"
|
|
520
|
+
],
|
|
521
|
+
Bjwuhne: "f480a47",
|
|
522
|
+
Ghsupd: [
|
|
523
|
+
"fs1por5",
|
|
524
|
+
"f4stah7"
|
|
525
|
+
]
|
|
526
|
+
},
|
|
527
|
+
prompt: {
|
|
528
|
+
Bahqtrf: "fk6fouc",
|
|
529
|
+
Be2twd7: "fy9rknc",
|
|
530
|
+
Bhrd7zp: "fl43uef",
|
|
531
|
+
Bg96gwp: "fwrc4pm"
|
|
532
|
+
}
|
|
533
|
+
}, {
|
|
534
|
+
d: [
|
|
535
|
+
".f22iagw{display:flex;}",
|
|
536
|
+
[
|
|
537
|
+
".f1jxijnj{border-radius:var(--borderRadius2XL);}",
|
|
538
|
+
{
|
|
539
|
+
p: -1
|
|
540
|
+
}
|
|
541
|
+
],
|
|
542
|
+
".f8hki3x[data-fui-focus-visible]{border-top-color:transparent;}",
|
|
543
|
+
".f1d2448m[data-fui-focus-visible]{border-right-color:transparent;}",
|
|
544
|
+
".ffh67wi[data-fui-focus-visible]{border-left-color:transparent;}",
|
|
545
|
+
".f1bjia2o[data-fui-focus-visible]{border-bottom-color:transparent;}",
|
|
546
|
+
".f15bsgw9[data-fui-focus-visible]::after{content:\"\";}",
|
|
547
|
+
".f14e48fq[data-fui-focus-visible]::after{position:absolute;}",
|
|
548
|
+
".f18yb2kv[data-fui-focus-visible]::after{pointer-events:none;}",
|
|
549
|
+
".fd6o370[data-fui-focus-visible]::after{z-index:1;}",
|
|
550
|
+
[
|
|
551
|
+
".ffwy5si[data-fui-focus-visible]::after{border:2px solid var(--colorStrokeFocus2);}",
|
|
552
|
+
{
|
|
553
|
+
p: -2
|
|
554
|
+
}
|
|
555
|
+
],
|
|
556
|
+
[
|
|
557
|
+
".f178id4l[data-fui-focus-visible]::after{border-radius:var(--borderRadius2XL);}",
|
|
558
|
+
{
|
|
559
|
+
p: -1
|
|
560
|
+
}
|
|
561
|
+
],
|
|
562
|
+
".f57olzd[data-fui-focus-visible]::after{top:calc(2px * -1);}",
|
|
563
|
+
".f4stah7[data-fui-focus-visible]::after{right:calc(2px * -1);}",
|
|
564
|
+
".fs1por5[data-fui-focus-visible]::after{left:calc(2px * -1);}",
|
|
565
|
+
".f480a47[data-fui-focus-visible]::after{bottom:calc(2px * -1);}",
|
|
566
|
+
".fk6fouc{font-family:var(--fontFamilyBase);}",
|
|
567
|
+
".fy9rknc{font-size:var(--fontSizeBase200);}",
|
|
568
|
+
".fl43uef{font-weight:var(--fontWeightSemibold);}",
|
|
569
|
+
".fwrc4pm{line-height:var(--lineHeightBase200);}"
|
|
570
|
+
],
|
|
571
|
+
f: [
|
|
572
|
+
".ftqa4ok:focus{outline-style:none;}"
|
|
573
|
+
],
|
|
574
|
+
i: [
|
|
575
|
+
".f2hkw1w:focus-visible{outline-style:none;}"
|
|
576
|
+
],
|
|
577
|
+
m: [
|
|
578
|
+
[
|
|
579
|
+
"@media (forced-colors: active){.f1j6vpng[data-fui-focus-visible]::after{border-top-color:Highlight;}}",
|
|
580
|
+
{
|
|
581
|
+
m: "(forced-colors: active)"
|
|
582
|
+
}
|
|
583
|
+
],
|
|
584
|
+
[
|
|
585
|
+
"@media (forced-colors: active){.f1ffjurs[data-fui-focus-visible]::after{border-left-color:Highlight;}.f1pniga2[data-fui-focus-visible]::after{border-right-color:Highlight;}}",
|
|
586
|
+
{
|
|
587
|
+
m: "(forced-colors: active)"
|
|
588
|
+
}
|
|
589
|
+
],
|
|
590
|
+
[
|
|
591
|
+
"@media (forced-colors: active){.f987i1v[data-fui-focus-visible]::after{border-bottom-color:Highlight;}}",
|
|
592
|
+
{
|
|
593
|
+
m: "(forced-colors: active)"
|
|
594
|
+
}
|
|
595
|
+
]
|
|
596
|
+
]
|
|
597
|
+
});
|
|
598
|
+
const usePromptStarterStyles_unstable = (state)=>{
|
|
599
|
+
'use no memo';
|
|
600
|
+
const { isSingleColumn } = state;
|
|
601
|
+
const styles = useStyles();
|
|
602
|
+
const rootResetStyles = useRootResetStyles();
|
|
603
|
+
const singleColumnStyles = useSingleColumnStyles();
|
|
604
|
+
state.root.className = (0, _reactcomponents.mergeClasses)(promptStarterClassNames.root, rootResetStyles, state.root.className);
|
|
605
|
+
state.primaryAction.className = (0, _reactcomponents.mergeClasses)(promptStarterClassNames.primaryAction, styles.primaryAction, isSingleColumn && singleColumnStyles.primaryAction, state.primaryAction.className);
|
|
606
|
+
if (state.icon) {
|
|
607
|
+
state.icon.className = (0, _reactcomponents.mergeClasses)(promptStarterClassNames.icon, styles.icon, state.icon.className);
|
|
608
|
+
}
|
|
609
|
+
if (state.category) {
|
|
610
|
+
state.category.className = (0, _reactcomponents.mergeClasses)(promptStarterClassNames.category, styles.category, state.category.className);
|
|
611
|
+
}
|
|
612
|
+
state.prompt.className = (0, _reactcomponents.mergeClasses)(promptStarterClassNames.prompt, styles.prompt, !state.reasonMarker && styles.promptNoReasonMarker, isSingleColumn && singleColumnStyles.prompt, state.prompt.className);
|
|
613
|
+
if (state.reasonMarker) {
|
|
614
|
+
state.reasonMarker.className = (0, _reactcomponents.mergeClasses)(promptStarterClassNames.reasonMarker, styles.reasonMarker, state.reasonMarker.className);
|
|
615
|
+
}
|
|
616
|
+
if (state.actions) {
|
|
617
|
+
state.actions.className = (0, _reactcomponents.mergeClasses)(promptStarterClassNames.actions, styles.actions, state.category && styles.actionsWithCategory, state.actions.className);
|
|
618
|
+
}
|
|
619
|
+
return state;
|
|
620
|
+
}; //# sourceMappingURL=usePromptStarterStyles.styles.js.map
|
package/lib-commonjs/components/PromptStarterV2/PromptStarter/usePromptStarterStyles.styles.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
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 category: 'fai-PromptStarter__category',\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 position: 'relative',\n display: 'grid',\n gridTemplateColumns: 'max-content 1fr',\n gridAutoRows: 'max-content 1fr max-content',\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 columnGap: tokens.spacingHorizontalMNudge,\n rowGap: tokens.spacingVerticalS,\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 gridRow: 1,\n gridColumn: '1 / 2',\n },\n category: {\n display: 'flex',\n alignItems: 'center',\n ...typographyStyles.body1Strong,\n\n gridRow: 1,\n gridColumn: '2 / 3',\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 actionsWithCategory: {\n // Add a background and gradient fade to truncate the title if applicable\n backgroundColor: tokens.colorNeutralBackground1,\n\n boxShadow: `-12px 0 12px 0 ${tokens.colorNeutralBackground1}`,\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 gridRow: '2',\n gridColumn: '1 / 3',\n },\n promptNoReasonMarker: {\n // Truncate text after three lines when no reason marker is present.\n '-webkit-line-clamp': '3',\n },\n reasonMarker: {\n gridRow: '3',\n gridColumn: '1 / 3',\n ...typographyStyles.caption2,\n },\n});\n\nconst useSingleColumnStyles = makeStyles({\n primaryAction: {\n display: 'flex',\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 if (state.category) {\n state.category.className = mergeClasses(\n promptStarterClassNames.category,\n styles.category,\n state.category.className,\n );\n }\n state.prompt.className = mergeClasses(\n promptStarterClassNames.prompt,\n styles.prompt,\n !state.reasonMarker && styles.promptNoReasonMarker,\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(\n promptStarterClassNames.actions,\n styles.actions,\n state.category && styles.actionsWithCategory,\n state.actions.className,\n );\n }\n\n return state;\n};\n"],"names":["promptStarterClassNames","root","primaryAction","icon","category","prompt","reasonMarker","actions","useRootResetStyles","makeResetStyles","display","__styles","gridTemplateColumns","gridTemplateRows","minWidth","h3tjnc","Bw0ie65","boxShadow","transform","transition","v29qe6","Beyfa6y","sj55zd","Bahqtrf","Bceei9c","clip","height","margin","overflow","padding","width","position","opacity","Bekrc4i","Bn0qgzm","ibv6hh","useStyles","makeStyles","gridRow","gridColumn","gridAutoRows","borderRadius","backgroundColor","color","fontFamily","cursor","outlineStyle","textAlign","columnGap","rowGap","spacingVerticalS","shorthands","border","strokeWidthThin","createFocusOutlineStyle","style","Boxcth7","primaryActionHovered","Blkhhs4","alignItems","minHeight","B6dhp37","typographyStyles","Bkh64rk","spacingVerticalNone","Bz10aip","actionsWithCategory","Bkqvd7p","overflowY","promptNoReasonMarker","Bhrd7zp","Bg96gwp","nk6f5a","useSingleColumnStyles","Frg6f3","B74szlk","qhf8xq","Ijaq50","isSingleColumn","styles","Br312pm","rootResetStyles","Beweih1","singleColumnStyles","state","Cwk7ip","Bmy1vo4","className","De3pzq","Be2twd7"],"rangeMappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","mappings":";;;;;;;;;;;IAYaA,uBAAAA;eAAAA;;;;;;iCANY;AAMlB,MAAMA,0BAA8D;UACzEC;mBACAC;UACAC;cACAC;YACAC;kBACAC;aACAC;AACF;AAEA,MAAMC,qBAAqBC,IAAAA,8BAAAA,EAAAA,YAAgB,MAAA;IAAA;IAAA;IAAA;IAAA;CAAA;MACzCC,YAASC,IAAAA,yBAAA,EAAA;mBACTC;QACAC,QAAAA;QACAC,QAAAA;QAEAC,QAAA;QACAC,SAAA;iBACO;iBACHC;gBACAC;gBACAC;iBACF;QACFC,QAAA;QACAC,SAAA;iBACO;iBACHJ;iBACAC;gBACAC;gBACF;QACFG,QAAA;QAEAC,SAAA;QACAC,SAAA;gBACI;gBACAC;YAAAA;YAAM;SAAA;gBACNC;iBACAC;iBACAC;gBACAC;gBACAC;gBACAC;iBACAC;iBACF;QACFC,SAAA;YAAA;YAAA;SAAA;QACFC,SAAA;QAEAC,QAAMC;YAAAA;YAAYC;SAAW;QAC3BnC,QAAAA;gBACEoC;YAAAA;YAAS;SAAA;gBACTC;gBACAR;YAAAA;YAAU;SAAA;gBACVrB;gBACAE;YAAAA;YAAAA;SAAqB;iBACrB4B;gBACAC;YAAAA;YAAc;SAAA;iBACdC;iBACAC;iBACAC;iBACAC;YAAAA;YAAQ;SAAA;gBACRC;iBACAC;YAAAA;YAAW;SAAA;iBACXC;iBACAC;YAAAA;YAAeC;SAAAA;iBACfrB;iBACGsB;YAAAA;YAAWC;SAAcC;iBACzBC;iBAA0BC;;iBAA+B;gBAAI;QAClEC,SAAA;QAEAC,SAAAA;gBACExC;iBACAC;iBACAC;QACFuC,SAAA;QAEAvD,SAAM;gBACJO;gBACAiD;gBACAC;gBACAtB;iBACAC;QACFsB,SAAA;QACAzD,SAAAA;iBACEM;gBACAiD;gBACGG;iBAEHxB;gBACAC;QACFwB,SAAA;QACAxD,QAAAA;gBACEoB;iBACS;YAAA;YAASqC;SAAAA;iBAClBjC;gBACAO;YAAAA;YAAS;SAAA;;0BAGA;gBACTnB;QACF8C,SAAA;QACAC,SAAAA;gBACE;iBACAxB;iBAEAzB;QACFkD,SAAA;QACA9D,SAAQ;;UAGN;gBACAK;iBACA;gBACA;gBACA0D;gBACA9B;gBACAC;QACFvB,SAAA;QACAqD,SAAAA;iBACE;;cAEF;QACA/D,QAAAA;iBACEgC;iBACAC;iBACGuB;QACLQ,SAAA;QACFC,SAAA;QAEAC,QAAMC;QACJvE,QAAAA;gBACEQ;iBACA+B;iBACGa;iBAA0BC;;;gBAAmD;QAClFmB,QAAA;QACArE,QAAQ;iBACHyD;QACLa,SAAA;YAAA;YAAA;SAAA;QACFC,QAAA;QAEAJ,QAAO;QACLK,QAAA;QAEA9D,QAAQ+D;QAER9D,SAAM+D;QACNC,SAAMC;QACNC,SAAMC;QACNC,QAAMnF;QACNmF,SAAMlF;QAMNmF,QAAID;iBACFA;QACFE,SAAA;QACAnB,SAAIiB;iBACFA;;yBAMWG;QAObC,QAAIJ;gBACFA;YAAAA;YAAM9E;SAAsB;;YAM1B8E;iBACFA;QAMFK,SAAA;QAEAnB,SAAOc;QACPb,SAAA"}
|