@puckeditor/plugin-ai 0.8.0-canary.b38cf833 → 0.8.0-canary.bd371708

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/dist/index.css CHANGED
@@ -1,79 +1,106 @@
1
1
  /* css-module:/home/runner/work/platform/platform/packages/plugin-ai/src/components/Chat/styles.module.css/#css-module-data */
2
- ._Chat_1g2yc_1 {
2
+ ._Chat_1ei0a_1 {
3
3
  background: white;
4
4
  height: 100%;
5
5
  display: flex;
6
6
  flex-direction: column;
7
7
  text-align: left;
8
8
  }
9
- ._Chat-header_1g2yc_9 {
9
+ ._Chat-header_1ei0a_9 {
10
10
  display: block;
11
11
  padding: 8px 16px;
12
12
  font-weight: 600;
13
13
  border-bottom: 1px solid var(--puck-color-grey-09);
14
14
  }
15
15
  @media (min-width: 638px) {
16
- ._Chat-header_1g2yc_9 {
16
+ ._Chat-header_1ei0a_9 {
17
17
  display: block;
18
18
  padding: 16px;
19
19
  }
20
20
  }
21
- ._Chat-placeholder_1g2yc_23 {
21
+ ._Chat-placeholder_1ei0a_23 {
22
22
  align-items: center;
23
23
  box-sizing: border-box;
24
- color: var(--puck-color-grey-06);
24
+ color: var(--puck-color-grey-04);
25
25
  display: none;
26
- justify-content: center;
27
26
  flex-direction: column;
27
+ gap: 8px;
28
28
  height: 100%;
29
- text-align: center;
29
+ justify-content: center;
30
30
  padding: 32px;
31
- gap: 8px;
31
+ text-align: center;
32
32
  }
33
33
  @media (min-width: 638px) {
34
- ._Chat-placeholder_1g2yc_23 {
34
+ ._Chat-placeholder_1ei0a_23 {
35
35
  display: flex;
36
36
  }
37
37
  }
38
- ._Chat-actions_1g2yc_42 {
38
+ ._Chat-placeholderIcon_1ei0a_42 {
39
+ align-items: center;
40
+ background-color: var(--puck-color-azure-11);
41
+ border-radius: 999px;
42
+ color: var(--puck-color-azure-04);
39
43
  display: flex;
40
- gap: 8px;
41
44
  justify-content: center;
45
+ margin-bottom: 4px;
46
+ padding: 12px;
47
+ }
48
+ ._Chat-placeholderTitle_1ei0a_53 {
49
+ color: var(--puck-color-grey-01);
50
+ font-size: var(--puck-font-size-s);
51
+ }
52
+ ._Chat-placeholderDescription_1ei0a_58 {
53
+ font-size: var(--puck-font-size-xxs);
54
+ line-height: 1.5;
55
+ max-width: 260px;
56
+ }
57
+ ._Chat-actions_1ei0a_64 {
58
+ display: flex;
42
59
  flex-wrap: wrap;
43
- margin-top: 4px;
60
+ gap: 8px;
61
+ justify-content: center;
62
+ margin-top: 8px;
44
63
  }
45
- ._Chat-action_1g2yc_42,
46
- ._Chat-actionOutlined_1g2yc_51 {
64
+ ._Chat-action_1ei0a_64,
65
+ ._Chat-actionOutlined_1ei0a_73 {
66
+ appearance: none;
47
67
  border: 1px solid var(--puck-color-azure-04);
48
- border-radius: 16px;
49
- padding: 4px 12px;
50
- font-size: 12px;
68
+ border-radius: 999px;
51
69
  cursor: pointer;
70
+ font-family: inherit;
71
+ font-size: var(--puck-font-size-xxs);
72
+ font-weight: 600;
73
+ padding: 8px 14px;
52
74
  }
53
- ._Chat-action_1g2yc_42 {
75
+ ._Chat-action_1ei0a_64 {
54
76
  background: var(--puck-color-azure-04);
55
77
  color: white;
56
78
  }
57
- ._Chat-action_1g2yc_42:hover {
58
- opacity: 0.8;
79
+ ._Chat-action_1ei0a_64:hover {
80
+ background-color: var(--puck-color-azure-03);
59
81
  }
60
- ._Chat-actionOutlined_1g2yc_51 {
82
+ ._Chat-actionOutlined_1ei0a_73 {
61
83
  background: transparent;
62
84
  color: var(--puck-color-azure-04);
63
85
  }
64
- ._Chat-actionOutlined_1g2yc_51:hover {
86
+ ._Chat-actionOutlined_1ei0a_73:hover {
65
87
  background: var(--puck-color-azure-11);
66
88
  }
67
- ._Chat-attachmentControls_1g2yc_77 {
89
+ ._Chat-action_1ei0a_64:focus-visible,
90
+ ._Chat-actionOutlined_1ei0a_73:focus-visible {
91
+ outline: 2px solid var(--puck-color-azure-04);
92
+ outline-offset: 2px;
93
+ }
94
+ ._Chat-attachmentControls_1ei0a_108 {
68
95
  align-items: center;
69
96
  display: flex;
70
97
  flex-wrap: wrap;
71
98
  gap: 6px;
72
99
  }
73
- ._Chat-attachmentInput_1g2yc_84 {
100
+ ._Chat-attachmentInput_1ei0a_115 {
74
101
  display: none;
75
102
  }
76
- ._Chat-attachmentButton_1g2yc_88 {
103
+ ._Chat-attachmentButton_1ei0a_119 {
77
104
  align-items: center;
78
105
  background: none;
79
106
  border-radius: 4px;
@@ -86,19 +113,19 @@
86
113
  padding: 8px;
87
114
  white-space: nowrap;
88
115
  }
89
- ._Chat-attachmentButton_1g2yc_88:hover,
90
- ._Chat-attachmentButton_1g2yc_88:focus-visible {
116
+ ._Chat-attachmentButton_1ei0a_119:hover,
117
+ ._Chat-attachmentButton_1ei0a_119:focus-visible {
91
118
  background-color: var(--puck-color-azure-12);
92
119
  color: var(--puck-color-azure-04);
93
120
  }
94
- ._Chat-attachmentButton_1g2yc_88:focus-visible {
121
+ ._Chat-attachmentButton_1ei0a_119:focus-visible {
95
122
  outline: 2px solid var(--puck-color-azure-04);
96
123
  }
97
- ._Chat-attachmentButton_1g2yc_88:disabled {
124
+ ._Chat-attachmentButton_1ei0a_119:disabled {
98
125
  cursor: not-allowed;
99
126
  opacity: 0.5;
100
127
  }
101
- ._Chat-attachmentButton_1g2yc_88:disabled:hover {
128
+ ._Chat-attachmentButton_1ei0a_119:disabled:hover {
102
129
  border-color: var(--puck-color-grey-09);
103
130
  color: var(--puck-color-grey-04);
104
131
  }
@@ -1046,19 +1073,22 @@ button._Menu-item_1tu16_55:hover {
1046
1073
  }
1047
1074
 
1048
1075
  /* css-module:/home/runner/work/platform/platform/packages/platform-client/components/PlanGrid/styles.module.css/#css-module-data */
1049
- ._PlanGrid--loading_97rn7_1 {
1076
+ ._PlanGrid--loading_1v43l_1 {
1050
1077
  opacity: 0;
1051
1078
  }
1052
- ._PlanGrid-grid_97rn7_5 {
1079
+ ._PlanGrid-grid_1v43l_5 {
1053
1080
  color: var(--puck-color-grey-02);
1054
1081
  display: grid;
1055
- gap: 16px;
1082
+ gap: 32px;
1056
1083
  text-align: left;
1084
+ padding-inline: 32px;
1085
+ padding-block: 20px;
1057
1086
  @media (min-width: 768px) {
1058
1087
  grid-template-columns: 1fr 1fr 1fr;
1088
+ margin: 8px;
1059
1089
  }
1060
1090
  }
1061
- ._PlanGrid-enterprise_97rn7_16 {
1091
+ ._PlanGrid-enterprise_1v43l_21 {
1062
1092
  color: var(--puck-color-grey-04);
1063
1093
  font-size: var(--puck-font-size-xxs);
1064
1094
  margin-left: auto;
@@ -1067,14 +1097,14 @@ button._Menu-item_1tu16_55:hover {
1067
1097
  padding-top: 20px;
1068
1098
  text-align: center;
1069
1099
  }
1070
- ._PlanGrid-enterprise_97rn7_16 a {
1100
+ ._PlanGrid-enterprise_1v43l_21 a {
1071
1101
  color: var(--puck-color-azure-04);
1072
1102
  cursor: pointer;
1073
1103
  font-weight: 500;
1074
1104
  }
1075
1105
 
1076
1106
  /* css-module:/home/runner/work/platform/platform/packages/platform-client/components/PlanCard/styles.module.css/#css-module-data */
1077
- ._PlanCard_16zmu_1 {
1107
+ ._PlanCard_11294_1 {
1078
1108
  border: 1px solid var(--puck-color-grey-09);
1079
1109
  border-radius: 16px;
1080
1110
  display: flex;
@@ -1084,11 +1114,11 @@ button._Menu-item_1tu16_55:hover {
1084
1114
  padding: 8px;
1085
1115
  position: relative;
1086
1116
  }
1087
- ._PlanCard--enterprise_16zmu_12 {
1117
+ ._PlanCard--enterprise_11294_12 {
1088
1118
  flex-direction: row;
1089
1119
  grid-column: span 3;
1090
1120
  }
1091
- ._PlanCard-title_16zmu_17 {
1121
+ ._PlanCard-title_11294_17 {
1092
1122
  display: flex;
1093
1123
  gap: 8px;
1094
1124
  justify-content: space-between;
@@ -1096,137 +1126,157 @@ button._Menu-item_1tu16_55:hover {
1096
1126
  font-weight: 700;
1097
1127
  white-space: nowrap;
1098
1128
  }
1099
- ._PlanCard-header_16zmu_26 {
1129
+ ._PlanCard-header_11294_26 {
1100
1130
  box-sizing: border-box;
1101
1131
  display: flex;
1102
1132
  flex-direction: column;
1103
1133
  gap: 4px;
1104
1134
  padding: 12px 16px;
1105
1135
  width: 100%;
1136
+ min-height: 80px;
1106
1137
  }
1107
- ._PlanCard-features_16zmu_35 {
1138
+ ._PlanCard-features_11294_36 {
1108
1139
  display: grid;
1109
1140
  gap: 4px;
1110
1141
  list-style: none;
1111
1142
  margin: 0;
1112
1143
  padding: 0;
1113
1144
  }
1114
- ._PlanCard-feature_16zmu_35 {
1145
+ ._PlanCard-feature_11294_36 {
1115
1146
  align-items: center;
1116
1147
  display: flex;
1117
1148
  gap: 4px;
1118
1149
  color: var(--puck-color-grey-05);
1119
1150
  font-size: var(--puck-font-size-xxs);
1120
1151
  }
1121
- ._PlanCard-featureIcon_16zmu_51 {
1152
+ ._PlanCard-featureIcon_11294_52 {
1122
1153
  align-self: flex-start;
1123
1154
  margin-top: 5px;
1124
1155
  }
1125
- ._PlanCard-featureTitle_16zmu_56 {
1156
+ ._PlanCard-featureTitle_11294_57 {
1126
1157
  color: var(--puck-color-grey-04);
1127
1158
  font-weight: 600;
1128
1159
  }
1129
- ._PlanCard-priceValue_16zmu_61 {
1160
+ ._PlanCard-priceValue_11294_62 {
1130
1161
  font-size: var(--puck-font-size-m);
1131
1162
  }
1132
- ._PlanCard-priceInterval_16zmu_65 {
1163
+ ._PlanCard-priceInterval_11294_66 {
1133
1164
  color: var(--puck-color-grey-05);
1134
1165
  }
1135
- ._PlanCard-body_16zmu_69 {
1166
+ ._PlanCard-body_11294_70 {
1136
1167
  background-color: var(--puck-color-grey-12);
1137
1168
  border: 1px solid var(--puck-color-grey-11);
1138
1169
  border-radius: 8px;
1139
1170
  padding: 16px;
1140
1171
  flex-grow: 1;
1141
1172
  }
1142
- ._PlanCard--enterprise_16zmu_12 ._PlanCard-body_16zmu_69 {
1173
+ ._PlanCard--enterprise_11294_12 ._PlanCard-body_11294_70 {
1143
1174
  display: flex;
1144
1175
  gap: 8px;
1145
1176
  width: 100%;
1146
1177
  }
1147
- ._PlanCard-section_16zmu_83 {
1178
+ ._PlanCard-section_11294_84 {
1148
1179
  padding-bottom: 16px;
1149
1180
  min-width: 192px;
1150
1181
  }
1151
- ._PlanCard-section_16zmu_83:last-of-type {
1182
+ ._PlanCard-section_11294_84:last-of-type {
1152
1183
  padding-bottom: 0;
1153
1184
  }
1154
- ._PlanCard-section_16zmu_83 + ._PlanCard-section_16zmu_83 {
1185
+ ._PlanCard-section_11294_84 + ._PlanCard-section_11294_84 {
1155
1186
  border-top: 1px solid var(--puck-color-grey-09);
1156
1187
  padding-top: 16px;
1157
1188
  }
1158
- ._PlanCard--enterprise_16zmu_12 {
1159
- ._PlanCard-section_16zmu_83 + ._PlanCard-section_16zmu_83 {
1189
+ ._PlanCard--enterprise_11294_12 {
1190
+ ._PlanCard-section_11294_84 + ._PlanCard-section_11294_84 {
1160
1191
  border-left: 1px solid var(--puck-color-grey-09);
1161
1192
  border-top: none;
1162
1193
  padding-left: 16px;
1163
1194
  padding-top: 0;
1164
1195
  }
1165
1196
  }
1166
- ._PlanCard-sectionTitle_16zmu_106 {
1197
+ ._PlanCard-sectionTitle_11294_107 {
1167
1198
  font-size: var(--puck-font-size-xs);
1168
1199
  font-weight: 500;
1169
1200
  margin-bottom: 8px;
1170
1201
  }
1171
- ._PlanCard-sectionBody_16zmu_112 + ._PlanCard-sectionTitle_16zmu_106 {
1202
+ ._PlanCard-sectionBody_11294_113 + ._PlanCard-sectionTitle_11294_107 {
1172
1203
  border-top: 1px solid var(--puck-color-grey-09);
1173
1204
  margin-top: 16px;
1174
1205
  padding-top: 16px;
1175
1206
  }
1176
- ._PlanCard-sectionBody_16zmu_112 {
1207
+ ._PlanCard-sectionBody_11294_113 {
1177
1208
  color: var(--puck-color-grey-03);
1178
1209
  font-size: var(--puck-font-size-xxs);
1179
1210
  display: grid;
1180
1211
  gap: 2px;
1181
1212
  }
1182
- ._PlanCard-usageItem_16zmu_125 {
1213
+ ._PlanCard-usageItem_11294_126 {
1183
1214
  display: flex;
1184
1215
  gap: 8px;
1185
1216
  font-size: var(--puck-font-size-xxs);
1186
1217
  }
1187
- ._PlanCard-usageLabel_16zmu_131 {
1218
+ ._PlanCard-usageLabel_11294_132 {
1188
1219
  color: var(--puck-color-grey-04);
1189
1220
  font-weight: 500;
1190
1221
  }
1191
- ._PlanCard-usageValue_16zmu_136 {
1222
+ ._PlanCard-usageValue_11294_137 {
1192
1223
  color: var(--puck-color-grey-05);
1193
1224
  font-family: var(--puck-font-family-monospaced);
1194
1225
  margin-left: auto;
1195
1226
  }
1196
- ._PlanCard-action_16zmu_142 {
1227
+ ._PlanCard-action_11294_143 {
1197
1228
  align-items: flex-end;
1198
1229
  display: flex;
1199
1230
  justify-content: flex-end;
1200
1231
  width: 100%;
1201
1232
  }
1202
- ._PlanCard-description_16zmu_149 {
1203
- color: var(--puck-color-grey-03);
1233
+ ._PlanCard-description_11294_150 {
1234
+ color: var(--puck-color-grey-04);
1204
1235
  margin-top: 8px;
1236
+ font-size: var(--puck-font-size-xxs);
1205
1237
  }
1206
- ._PlanCard--highlight_16zmu_154 {
1207
- border: transparent;
1238
+ ._PlanCard_11294_1 {
1239
+ position: relative;
1240
+ z-index: 0;
1208
1241
  }
1209
- ._PlanCard--highlight_16zmu_154::before {
1242
+ @property --shadow-angle { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
1243
+ ._PlanCard_11294_1::before {
1210
1244
  content: "";
1211
1245
  position: absolute;
1212
1246
  inset: 0;
1213
- padding: 1px;
1247
+ z-index: -1;
1214
1248
  border-radius: inherit;
1215
- background-image:
1216
- linear-gradient(
1217
- 210deg,
1218
- var(--puck-color-azure-01) 0%,
1219
- var(--puck-color-azure-03) 40%,
1220
- var(--puck-color-red-05) 100%);
1221
- background-size: cover;
1222
- background-position: center;
1223
- -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
1224
- -webkit-mask-composite: xor;
1225
- mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
1226
- mask-composite: exclude;
1227
- pointer-events: none;
1249
+ background: #fff;
1250
+ }
1251
+ ._PlanCard--highlight_11294_176::after {
1252
+ content: "";
1253
+ position: absolute;
1254
+ inset: -18px;
1255
+ z-index: -2;
1256
+ border: 16px solid transparent;
1257
+ border-radius: 34px;
1258
+ opacity: 0.6;
1259
+ background:
1260
+ conic-gradient(
1261
+ from var(--shadow-angle),
1262
+ var(--puck-color-azure-07),
1263
+ transparent,
1264
+ var(--puck-color-rose-06),
1265
+ var(--puck-color-azure-05),
1266
+ transparent,
1267
+ var(--puck-color-azure-07));
1268
+ background-clip: padding-box;
1269
+ filter: blur(12px);
1270
+ }
1271
+ ._PlanCard--highlight_11294_176::after {
1272
+ animation: _spin_11294_1 8s linear infinite;
1273
+ }
1274
+ @keyframes _spin_11294_1 {
1275
+ to {
1276
+ --shadow-angle: 360deg;
1277
+ }
1228
1278
  }
1229
- ._PlanCard-highlightText_16zmu_184 {
1279
+ ._PlanCard-highlightText_11294_209 {
1230
1280
  @supports (background-clip: text) or (-webkit-background-clip: text) {
1231
1281
  color: transparent;
1232
1282
  background-clip: text;
@@ -1241,17 +1291,17 @@ button._Menu-item_1tu16_55:hover {
1241
1291
  background-position: center;
1242
1292
  }
1243
1293
  }
1244
- ._PlanCard--fullWidth_16zmu_200 {
1294
+ ._PlanCard--fullWidth_11294_225 {
1245
1295
  flex-direction: row;
1246
1296
  grid-column: 1 / -1;
1247
1297
  }
1248
- ._PlanCard--fullWidth_16zmu_200 ._PlanCard-header_16zmu_26 {
1298
+ ._PlanCard--fullWidth_11294_225 ._PlanCard-header_11294_26 {
1249
1299
  max-width: 312px;
1250
1300
  }
1251
- ._PlanCard--fullWidth_16zmu_200 ._PlanCard-action_16zmu_142 {
1301
+ ._PlanCard--fullWidth_11294_225 ._PlanCard-action_11294_143 {
1252
1302
  max-width: 256px;
1253
1303
  }
1254
- ._PlanCard--fullWidth_16zmu_200 ._PlanCard-sectionBody_16zmu_112 {
1304
+ ._PlanCard--fullWidth_11294_225 ._PlanCard-sectionBody_11294_113 {
1255
1305
  display: grid;
1256
1306
  grid-template-rows: 1fr 1fr 1fr 1fr;
1257
1307
  grid-auto-flow: column;
@@ -1531,7 +1581,7 @@ button._Menu-item_1tu16_55:hover {
1531
1581
  }
1532
1582
 
1533
1583
  /* css-module:/home/runner/work/platform/platform/packages/plugin-ai/src/components/ChatBody/styles.module.css/#css-module-data */
1534
- ._Chat_s0sv0_1 {
1584
+ ._Chat_1utn2_1 {
1535
1585
  --fade-size: 32px;
1536
1586
  --chat-background-color: white;
1537
1587
  display: flex;
@@ -1541,50 +1591,50 @@ button._Menu-item_1tu16_55:hover {
1541
1591
  overflow: hidden;
1542
1592
  }
1543
1593
  @media (min-width: 638px) {
1544
- ._Chat_s0sv0_1 {
1594
+ ._Chat_1utn2_1 {
1545
1595
  max-height: none;
1546
1596
  }
1547
1597
  }
1548
- ._Chat-inner_s0sv0_17 {
1598
+ ._Chat-inner_1utn2_17 {
1549
1599
  background-color: var(--chat-background-color);
1550
1600
  display: flex;
1551
1601
  flex-direction: column;
1552
1602
  max-height: 100%;
1553
1603
  position: relative;
1554
1604
  }
1555
- ._Chat--hasMessages_s0sv0_25 ._Chat-inner_s0sv0_17 {
1605
+ ._Chat--hasMessages_1utn2_25 ._Chat-inner_1utn2_17 {
1556
1606
  padding-top: 0;
1557
1607
  }
1558
- ._Chat_s0sv0_1:not(._Chat--hasChildren_s0sv0_29) ._Chat-inner_s0sv0_17 {
1608
+ ._Chat_1utn2_1:not(._Chat--hasChildren_1utn2_29) ._Chat-inner_1utn2_17 {
1559
1609
  height: 100%;
1560
1610
  padding-top: 0;
1561
1611
  }
1562
- ._Chat-body_s0sv0_34 {
1612
+ ._Chat-body_1utn2_34 {
1563
1613
  padding: 16px;
1564
1614
  overflow: auto;
1565
1615
  }
1566
- ._Chat--hasMessages_s0sv0_25 ._Chat-messages_s0sv0_39 {
1616
+ ._Chat--hasMessages_1utn2_25 ._Chat-messages_1utn2_39 {
1567
1617
  display: flex;
1568
1618
  flex-direction: column-reverse;
1569
1619
  gap: 16px;
1570
1620
  overflow: auto;
1571
1621
  }
1572
- ._Chat-form_s0sv0_46 {
1622
+ ._Chat-form_1utn2_46 {
1573
1623
  background-color: white;
1574
1624
  padding: 16px;
1575
1625
  }
1576
- ._Chat--hideInput_s0sv0_51 ._Chat-form_s0sv0_46 {
1626
+ ._Chat--hideInput_1utn2_51 ._Chat-form_1utn2_46 {
1577
1627
  display: none;
1578
1628
  }
1579
- ._Chat--hasMessages_s0sv0_25 ._Chat-form_s0sv0_46 {
1629
+ ._Chat--hasMessages_1utn2_25 ._Chat-form_1utn2_46 {
1580
1630
  border-top: 1px solid var(--puck-color-grey-09);
1581
1631
  }
1582
1632
  @media (min-width: 638px) {
1583
- ._Chat-form_s0sv0_46 {
1633
+ ._Chat-form_1utn2_46 {
1584
1634
  border-top: 1px solid var(--puck-color-grey-09);
1585
1635
  }
1586
1636
  }
1587
- ._Chat-formHelper_s0sv0_65 {
1637
+ ._Chat-formHelper_1utn2_65 {
1588
1638
  align-items: center;
1589
1639
  display: flex;
1590
1640
  color: var(--puck-color-grey-04);
@@ -1593,11 +1643,11 @@ button._Menu-item_1tu16_55:hover {
1593
1643
  gap: 8px;
1594
1644
  padding-bottom: 12px;
1595
1645
  }
1596
- ._Chat--hasMessages_s0sv0_25 ._Chat-formHelper_s0sv0_65 {
1646
+ ._Chat--hasMessages_1utn2_25 ._Chat-formHelper_1utn2_65 {
1597
1647
  opacity: 0;
1598
1648
  transition: opacity 250ms ease-in;
1599
1649
  }
1600
- ._Chat-examplePrompts_s0sv0_80 {
1650
+ ._Chat-examplePrompts_1utn2_80 {
1601
1651
  align-items: center;
1602
1652
  display: flex;
1603
1653
  flex-wrap: nowrap;
@@ -1606,7 +1656,7 @@ button._Menu-item_1tu16_55:hover {
1606
1656
  width: 100%;
1607
1657
  overflow-x: auto;
1608
1658
  }
1609
- ._Chat-examplePrompt_s0sv0_80 {
1659
+ ._Chat-examplePrompt_1utn2_80 {
1610
1660
  align-items: center;
1611
1661
  background: white;
1612
1662
  border: 1px solid var(--puck-color-grey-09);
@@ -1619,30 +1669,36 @@ button._Menu-item_1tu16_55:hover {
1619
1669
  padding: 6px 12px;
1620
1670
  text-wrap: nowrap;
1621
1671
  }
1622
- ._Chat-examplePrompt_s0sv0_80:hover {
1672
+ ._Chat-examplePrompt_1utn2_80:hover {
1623
1673
  background: var(--puck-color-azure-11);
1624
1674
  border-color: var(--puck-color-azure-08);
1625
1675
  color: var(--puck-color-azure-04);
1626
1676
  }
1627
- ._Chat-examplePromptArrow_s0sv0_110 {
1677
+ ._Chat-examplePrompt_1utn2_80:disabled,
1678
+ ._Chat-examplePrompt_1utn2_80[aria-disabled=true] {
1679
+ cursor: not-allowed;
1680
+ opacity: 0.5;
1681
+ pointer-events: none;
1682
+ }
1683
+ ._Chat-examplePromptArrow_1utn2_117 {
1628
1684
  display: flex;
1629
1685
  margin-left: auto;
1630
1686
  }
1631
- ._Chat-default_s0sv0_115 {
1687
+ ._Chat-default_1utn2_122 {
1632
1688
  overflow-y: auto;
1633
1689
  flex-grow: 1;
1634
1690
  }
1635
- ._Chat--hasMessages_s0sv0_25 ._Chat-default_s0sv0_115 {
1691
+ ._Chat--hasMessages_1utn2_25 ._Chat-default_1utn2_122 {
1636
1692
  opacity: 0;
1637
1693
  padding: 0;
1638
1694
  pointer-events: none;
1639
1695
  transition: opacity 250ms ease-in;
1640
1696
  }
1641
- ._Chat--hasMessages_s0sv0_25 {
1697
+ ._Chat--hasMessages_1utn2_25 {
1642
1698
  background-color: white;
1643
1699
  transition: background-color 250ms ease-in;
1644
1700
  }
1645
- ._ChatMessage_s0sv0_132 {
1701
+ ._ChatMessage_1utn2_139 {
1646
1702
  display: flex;
1647
1703
  flex-direction: column;
1648
1704
  gap: 16px;
@@ -1650,7 +1706,7 @@ button._Menu-item_1tu16_55:hover {
1650
1706
  line-height: var(--line-height-s);
1651
1707
  overflow-wrap: break-word;
1652
1708
  }
1653
- ._ChatMessage--userRole_s0sv0_141 ._ChatMessage-userBubble_s0sv0_141 {
1709
+ ._ChatMessage--userRole_1utn2_148 ._ChatMessage-userBubble_1utn2_148 {
1654
1710
  background: var(--puck-color-azure-10);
1655
1711
  border-radius: 16px;
1656
1712
  color: var(--puck-color-grey-03);
@@ -1660,12 +1716,12 @@ button._Menu-item_1tu16_55:hover {
1660
1716
  margin-left: 24px;
1661
1717
  padding: 12px 16px;
1662
1718
  }
1663
- ._ChatMessage-userAttachments_s0sv0_152 {
1719
+ ._ChatMessage-userAttachments_1utn2_159 {
1664
1720
  display: flex;
1665
1721
  flex-wrap: wrap;
1666
1722
  gap: 6px;
1667
1723
  }
1668
- ._ChatMessage-thumbnail_s0sv0_158 {
1724
+ ._ChatMessage-thumbnail_1utn2_165 {
1669
1725
  align-items: center;
1670
1726
  background: var(--puck-color-grey-12);
1671
1727
  border: 1px solid var(--puck-color-grey-09);
@@ -1681,18 +1737,18 @@ button._Menu-item_1tu16_55:hover {
1681
1737
  text-decoration: none;
1682
1738
  width: 92px;
1683
1739
  }
1684
- ._ChatMessage-thumbnail_s0sv0_158:hover {
1740
+ ._ChatMessage-thumbnail_1utn2_165:hover {
1685
1741
  border-color: var(--puck-color-azure-08);
1686
1742
  color: var(--puck-color-azure-04);
1687
1743
  opacity: 0.6;
1688
1744
  }
1689
- ._ChatMessage-thumbnail_s0sv0_158 img {
1745
+ ._ChatMessage-thumbnail_1utn2_165 img {
1690
1746
  display: block;
1691
1747
  height: 100%;
1692
1748
  object-fit: cover;
1693
1749
  width: 100%;
1694
1750
  }
1695
- ._ChatMessage-thumbnailLabel_s0sv0_188 {
1751
+ ._ChatMessage-thumbnailLabel_1utn2_195 {
1696
1752
  background: var(--puck-color-grey-12);
1697
1753
  border-top: 1px solid var(--puck-color-grey-09);
1698
1754
  bottom: 0;
@@ -1711,70 +1767,70 @@ button._Menu-item_1tu16_55:hover {
1711
1767
  text-overflow: ellipsis;
1712
1768
  white-space: nowrap;
1713
1769
  }
1714
- ._ChatMessage_s0sv0_132 ul,
1715
- ._ChatMessage_s0sv0_132 ol {
1770
+ ._ChatMessage_1utn2_139 ul,
1771
+ ._ChatMessage_1utn2_139 ol {
1716
1772
  list-style: decimal;
1717
1773
  margin: 0;
1718
1774
  margin-bottom: 12px;
1719
1775
  margin-top: 12px;
1720
1776
  padding-left: 32px;
1721
1777
  }
1722
- ._ChatMessage_s0sv0_132 li {
1778
+ ._ChatMessage_1utn2_139 li {
1723
1779
  margin-bottom: 8px;
1724
1780
  margin-top: 8px;
1725
1781
  padding-left: 8px;
1726
1782
  }
1727
- ._ChatMessage_s0sv0_132 h1,
1728
- ._ChatMessage_s0sv0_132 h2,
1729
- ._ChatMessage_s0sv0_132 h3,
1730
- ._ChatMessage_s0sv0_132 h4,
1731
- ._ChatMessage_s0sv0_132 h5,
1732
- ._ChatMessage_s0sv0_132 h6 {
1783
+ ._ChatMessage_1utn2_139 h1,
1784
+ ._ChatMessage_1utn2_139 h2,
1785
+ ._ChatMessage_1utn2_139 h3,
1786
+ ._ChatMessage_1utn2_139 h4,
1787
+ ._ChatMessage_1utn2_139 h5,
1788
+ ._ChatMessage_1utn2_139 h6 {
1733
1789
  font-weight: 600;
1734
1790
  }
1735
- ._ChatMessage_s0sv0_132 h1 {
1791
+ ._ChatMessage_1utn2_139 h1 {
1736
1792
  font-size: var(--puck-font-l);
1737
1793
  }
1738
- ._ChatMessage_s0sv0_132 h2 {
1794
+ ._ChatMessage_1utn2_139 h2 {
1739
1795
  font-size: var(--puck-font-m);
1740
1796
  }
1741
- ._ChatMessage_s0sv0_132 h3 {
1797
+ ._ChatMessage_1utn2_139 h3 {
1742
1798
  font-size: var(--puck-font-m);
1743
1799
  }
1744
- ._ChatMessage_s0sv0_132 h4 {
1800
+ ._ChatMessage_1utn2_139 h4 {
1745
1801
  font-size: var(--puck-font-s);
1746
1802
  }
1747
- ._ChatMessage_s0sv0_132 h5 {
1803
+ ._ChatMessage_1utn2_139 h5 {
1748
1804
  font-size: var(--puck-font-xs);
1749
1805
  }
1750
- ._ChatMessage_s0sv0_132 h6 {
1806
+ ._ChatMessage_1utn2_139 h6 {
1751
1807
  font-size: var(--puck-font-xm);
1752
1808
  }
1753
- ._ChatMessage_s0sv0_132 p {
1809
+ ._ChatMessage_1utn2_139 p {
1754
1810
  margin-bottom: 8px;
1755
1811
  margin-top: 8px;
1756
1812
  }
1757
- ._ChatMessage-text_s0sv0_261 > *:first-of-type {
1813
+ ._ChatMessage-text_1utn2_268 > *:first-of-type {
1758
1814
  margin-top: 0px;
1759
1815
  }
1760
- ._ChatMessage-text_s0sv0_261 > *:last-of-type {
1816
+ ._ChatMessage-text_1utn2_268 > *:last-of-type {
1761
1817
  margin-bottom: 0px;
1762
1818
  }
1763
- ._ChatMessage_s0sv0_132 a {
1819
+ ._ChatMessage_1utn2_139 a {
1764
1820
  color: var(--puck-color-azure-04);
1765
1821
  font-weight: 600;
1766
1822
  text-decoration: none;
1767
1823
  }
1768
- ._ChatMessage_s0sv0_132 a:hover {
1824
+ ._ChatMessage_1utn2_139 a:hover {
1769
1825
  color: var(--puck-color-azure-05);
1770
1826
  }
1771
- ._ChatMessage_s0sv0_132 hr {
1827
+ ._ChatMessage_1utn2_139 hr {
1772
1828
  border-top: none;
1773
1829
  border-bottom-color: var(--puck-color-grey-09);
1774
1830
  margin-bottom: 16px;
1775
1831
  margin-top: 16px;
1776
1832
  }
1777
- ._ChatMessage-text_s0sv0_261 blockquote {
1833
+ ._ChatMessage-text_1utn2_268 blockquote {
1778
1834
  margin-bottom: 8px;
1779
1835
  margin-top: 8px;
1780
1836
  margin-left: 0;
@@ -1783,73 +1839,73 @@ button._Menu-item_1tu16_55:hover {
1783
1839
  padding-bottom: 2px;
1784
1840
  padding-top: 2px;
1785
1841
  }
1786
- ._ChatMessage-event_s0sv0_296 {
1842
+ ._ChatMessage-event_1utn2_303 {
1787
1843
  color: var(--puck-color-grey-05);
1788
1844
  }
1789
- ._ChatMessage-eventBody_s0sv0_300 > ._ChatMessage-event_s0sv0_296:first-child {
1845
+ ._ChatMessage-eventBody_1utn2_307 > ._ChatMessage-event_1utn2_303:first-child {
1790
1846
  padding-top: 8px;
1791
1847
  }
1792
- ._ChatMessage-eventBody_s0sv0_300 > ._ChatMessage-event_s0sv0_296:last-child {
1848
+ ._ChatMessage-eventBody_1utn2_307 > ._ChatMessage-event_1utn2_303:last-child {
1793
1849
  padding-bottom: 8px;
1794
1850
  margin-bottom: 0;
1795
1851
  }
1796
- ._ChatMessage-eventCollapse_s0sv0_309 {
1852
+ ._ChatMessage-eventCollapse_1utn2_316 {
1797
1853
  display: none;
1798
1854
  }
1799
- ._ChatMessage-event_s0sv0_296[open] > ._ChatMessage-eventHeader_s0sv0_313 > ._ChatMessage-eventExpand_s0sv0_313 {
1855
+ ._ChatMessage-event_1utn2_303[open] > ._ChatMessage-eventHeader_1utn2_320 > ._ChatMessage-eventExpand_1utn2_320 {
1800
1856
  display: none;
1801
1857
  }
1802
- ._ChatMessage-event_s0sv0_296[open] > ._ChatMessage-eventHeader_s0sv0_313 > ._ChatMessage-eventCollapse_s0sv0_309 {
1858
+ ._ChatMessage-event_1utn2_303[open] > ._ChatMessage-eventHeader_1utn2_320 > ._ChatMessage-eventCollapse_1utn2_316 {
1803
1859
  display: block;
1804
1860
  }
1805
- ._ChatMessage-eventHeader_s0sv0_313 {
1861
+ ._ChatMessage-eventHeader_1utn2_320 {
1806
1862
  align-items: center;
1807
1863
  display: flex;
1808
1864
  gap: 8px;
1809
1865
  cursor: pointer;
1810
1866
  list-style: none;
1811
1867
  }
1812
- ._ChatMessage-eventHeader_s0sv0_313::-webkit-details-marker {
1868
+ ._ChatMessage-eventHeader_1utn2_320::-webkit-details-marker {
1813
1869
  display: none;
1814
1870
  }
1815
- ._ChatMessage-eventHeader_s0sv0_313:hover {
1871
+ ._ChatMessage-eventHeader_1utn2_320:hover {
1816
1872
  color: var(--puck-color-grey-03);
1817
1873
  }
1818
- ._ChatMessage-eventIcon_s0sv0_339 {
1874
+ ._ChatMessage-eventIcon_1utn2_346 {
1819
1875
  display: flex;
1820
1876
  }
1821
- ._ChatMessage-eventLabel_s0sv0_343 {
1877
+ ._ChatMessage-eventLabel_1utn2_350 {
1822
1878
  text-overflow: ellipsis;
1823
1879
  overflow: hidden;
1824
1880
  white-space: nowrap;
1825
1881
  }
1826
- ._ChatMessage-eventBody_s0sv0_300 {
1882
+ ._ChatMessage-eventBody_1utn2_307 {
1827
1883
  border-left: 2px solid var(--puck-color-grey-09);
1828
1884
  color: var(--puck-color-grey-05);
1829
1885
  font-size: var(--puck-font-size-xxs);
1830
1886
  margin-top: 8px;
1831
1887
  padding-left: 12px;
1832
1888
  }
1833
- ._ChatMessage-attachmentImage_s0sv0_357 {
1889
+ ._ChatMessage-attachmentImage_1utn2_364 {
1834
1890
  margin-bottom: 12px;
1835
1891
  margin-top: 12px;
1836
1892
  margin-right: 24px;
1837
1893
  }
1838
- ._ChatMessage-attachmentImage_s0sv0_357 a {
1894
+ ._ChatMessage-attachmentImage_1utn2_364 a {
1839
1895
  display: inline-block;
1840
1896
  }
1841
- ._ChatMessage-attachmentImage_s0sv0_357 img {
1897
+ ._ChatMessage-attachmentImage_1utn2_364 img {
1842
1898
  border: 1px solid var(--puck-color-grey-09);
1843
1899
  border-radius: 16px;
1844
1900
  display: block;
1845
1901
  max-width: min(100%, 280px);
1846
1902
  }
1847
- ._ChatMessage-attachmentFile_s0sv0_374 {
1903
+ ._ChatMessage-attachmentFile_1utn2_381 {
1848
1904
  margin-bottom: 12px;
1849
1905
  margin-top: 12px;
1850
1906
  margin-right: 24px;
1851
1907
  }
1852
- ._ChatMessage-attachmentFile_s0sv0_374 a {
1908
+ ._ChatMessage-attachmentFile_1utn2_381 a {
1853
1909
  align-items: center;
1854
1910
  background: var(--puck-color-grey-12);
1855
1911
  border: 1px solid var(--puck-color-grey-08);
@@ -1860,11 +1916,11 @@ button._Menu-item_1tu16_55:hover {
1860
1916
  padding: 8px 12px;
1861
1917
  text-decoration: none;
1862
1918
  }
1863
- ._ChatMessage-attachmentFile_s0sv0_374 a:hover {
1919
+ ._ChatMessage-attachmentFile_1utn2_381 a:hover {
1864
1920
  border-color: var(--puck-color-azure-08);
1865
1921
  color: var(--puck-color-azure-04);
1866
1922
  }
1867
- ._Chat-loader_s0sv0_397 {
1923
+ ._Chat-loader_1utn2_404 {
1868
1924
  align-items: center;
1869
1925
  color: var(--puck-color-grey-05);
1870
1926
  display: flex;
@@ -1873,10 +1929,10 @@ button._Menu-item_1tu16_55:hover {
1873
1929
  line-height: var(--line-height-s);
1874
1930
  margin-top: 16px;
1875
1931
  }
1876
- ._Chat-loaderIcon_s0sv0_407 {
1932
+ ._Chat-loaderIcon_1utn2_414 {
1877
1933
  height: 16px;
1878
1934
  }
1879
- ._Chat-error_s0sv0_411 {
1935
+ ._Chat-error_1utn2_418 {
1880
1936
  align-items: center;
1881
1937
  display: flex;
1882
1938
  gap: 8px;
@@ -1884,13 +1940,13 @@ button._Menu-item_1tu16_55:hover {
1884
1940
  margin: 16px;
1885
1941
  margin-top: 0;
1886
1942
  }
1887
- ._Chat-errorLabel_s0sv0_420 {
1943
+ ._Chat-errorLabel_1utn2_427 {
1888
1944
  color: var(--puck-color-red-04);
1889
1945
  }
1890
- ._Chat-errorAction_s0sv0_424 {
1946
+ ._Chat-errorAction_1utn2_431 {
1891
1947
  margin-left: auto;
1892
1948
  }
1893
- ._Chat-userError_s0sv0_428 {
1949
+ ._Chat-userError_1utn2_435 {
1894
1950
  align-items: center;
1895
1951
  color: var(--puck-color-red-04);
1896
1952
  display: flex;
@@ -1899,17 +1955,17 @@ button._Menu-item_1tu16_55:hover {
1899
1955
  padding: 0 16px;
1900
1956
  padding-bottom: 8px;
1901
1957
  }
1902
- ._Chat-userErrorDismiss_s0sv0_438 {
1958
+ ._Chat-userErrorDismiss_1utn2_445 {
1903
1959
  all: unset;
1904
1960
  cursor: pointer;
1905
1961
  display: flex;
1906
1962
  flex-shrink: 0;
1907
1963
  opacity: 0.6;
1908
1964
  }
1909
- ._Chat-userErrorDismiss_s0sv0_438:hover {
1965
+ ._Chat-userErrorDismiss_1utn2_445:hover {
1910
1966
  opacity: 1;
1911
1967
  }
1912
- ._Chat-userErrorDismiss_s0sv0_438:focus-visible {
1968
+ ._Chat-userErrorDismiss_1utn2_445:focus-visible {
1913
1969
  border-radius: 4px;
1914
1970
  outline: 2px solid var(--puck-color-azure-04);
1915
1971
  opacity: 1;
@@ -2242,10 +2298,11 @@ button._Menu-item_1tu16_55:hover {
2242
2298
  }
2243
2299
 
2244
2300
  /* css-module:/home/runner/work/platform/platform/packages/plugin-ai/src/components/Drawer/styles.module.css/#css-module-data */
2245
- ._Drawer--empty_1f4ux_1 {
2246
- align-items: center;
2247
- color: var(--puck-color-grey-05);
2301
+ ._Drawer--empty_8e8cs_1 {
2302
+ color: var(--puck-color-text-subtle);
2248
2303
  display: flex;
2249
2304
  justify-content: center;
2250
2305
  height: 100%;
2306
+ font-size: var(--puck-font-size-xxs);
2307
+ margin: var(--puck-space-2) var(--puck-space-1);
2251
2308
  }