@puckeditor/plugin-ai 0.6.0-canary.dc4a4b71 → 0.6.0-canary.e94eafc3
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 +40 -24
- package/dist/index.js +3 -2
- package/dist/index.mjs +3 -2
- package/package.json +1 -1
package/dist/index.css
CHANGED
|
@@ -265,7 +265,7 @@ p {
|
|
|
265
265
|
}
|
|
266
266
|
|
|
267
267
|
/* css-module:/home/runner/work/puck-platform/puck-platform/packages/platform-client/components/Button/Button.module.css/#css-module-data */
|
|
268
|
-
.
|
|
268
|
+
._Button_1sscz_1 {
|
|
269
269
|
appearance: none;
|
|
270
270
|
background: none;
|
|
271
271
|
border: 1px solid transparent;
|
|
@@ -287,31 +287,31 @@ p {
|
|
|
287
287
|
white-space: nowrap;
|
|
288
288
|
margin: 0;
|
|
289
289
|
}
|
|
290
|
-
.
|
|
291
|
-
.
|
|
290
|
+
._Button_1sscz_1:hover,
|
|
291
|
+
._Button_1sscz_1:active {
|
|
292
292
|
transition: none;
|
|
293
293
|
}
|
|
294
|
-
.
|
|
294
|
+
._Button_1sscz_1:focus-visible {
|
|
295
295
|
outline: 2px solid var(--puck-color-azure-05);
|
|
296
296
|
outline-offset: 2px;
|
|
297
297
|
}
|
|
298
|
-
._Button--
|
|
298
|
+
._Button--medium_1sscz_34 {
|
|
299
299
|
min-height: 34px;
|
|
300
300
|
padding-bottom: 7px;
|
|
301
301
|
padding-left: 19px;
|
|
302
302
|
padding-right: 19px;
|
|
303
303
|
padding-top: 7px;
|
|
304
304
|
}
|
|
305
|
-
._Button--
|
|
305
|
+
._Button--large_1sscz_42 {
|
|
306
306
|
padding-bottom: 11px;
|
|
307
307
|
padding-left: 19px;
|
|
308
308
|
padding-right: 19px;
|
|
309
309
|
padding-top: 11px;
|
|
310
310
|
}
|
|
311
|
-
._Button-
|
|
311
|
+
._Button-icon_1sscz_49 {
|
|
312
312
|
margin-top: 2px;
|
|
313
313
|
}
|
|
314
|
-
._Button--
|
|
314
|
+
._Button--brand_1sscz_53 {
|
|
315
315
|
background-image:
|
|
316
316
|
linear-gradient(
|
|
317
317
|
210deg,
|
|
@@ -322,63 +322,79 @@ p {
|
|
|
322
322
|
border-radius: 48px;
|
|
323
323
|
}
|
|
324
324
|
@media (hover: hover) and (pointer: fine) {
|
|
325
|
-
._Button--
|
|
325
|
+
._Button--brand_1sscz_53:hover {
|
|
326
326
|
opacity: 0.8;
|
|
327
327
|
}
|
|
328
328
|
}
|
|
329
|
-
._Button--
|
|
329
|
+
._Button--brand_1sscz_53:active {
|
|
330
330
|
opacity: 0.8;
|
|
331
331
|
}
|
|
332
|
-
._Button--
|
|
332
|
+
._Button--primary_1sscz_74 {
|
|
333
333
|
background: var(--puck-color-azure-04);
|
|
334
334
|
}
|
|
335
335
|
@media (hover: hover) and (pointer: fine) {
|
|
336
|
-
._Button--
|
|
336
|
+
._Button--primary_1sscz_74:hover {
|
|
337
337
|
background-color: var(--puck-color-azure-03);
|
|
338
338
|
}
|
|
339
339
|
}
|
|
340
|
-
._Button--
|
|
340
|
+
._Button--primary_1sscz_74:active {
|
|
341
341
|
background-color: var(--puck-color-azure-02);
|
|
342
342
|
}
|
|
343
|
-
._Button--
|
|
343
|
+
._Button--secondary_1sscz_88 {
|
|
344
344
|
border: 1px solid currentColor;
|
|
345
345
|
color: currentColor;
|
|
346
346
|
}
|
|
347
347
|
@media (hover: hover) and (pointer: fine) {
|
|
348
|
-
._Button--
|
|
348
|
+
._Button--secondary_1sscz_88:hover {
|
|
349
349
|
background-color: var(--puck-color-azure-12);
|
|
350
350
|
color: var(--puck-color-black);
|
|
351
351
|
}
|
|
352
352
|
}
|
|
353
|
-
._Button--
|
|
353
|
+
._Button--secondary_1sscz_88:active {
|
|
354
354
|
background-color: var(--puck-color-azure-11);
|
|
355
355
|
color: var(--puck-color-black);
|
|
356
356
|
}
|
|
357
|
-
._Button--
|
|
357
|
+
._Button--danger_1sscz_105 {
|
|
358
358
|
background: var(--puck-color-red-04);
|
|
359
359
|
}
|
|
360
360
|
@media (hover: hover) and (pointer: fine) {
|
|
361
|
-
._Button--
|
|
361
|
+
._Button--danger_1sscz_105:hover {
|
|
362
362
|
background-color: var(--puck-color-red-03);
|
|
363
363
|
}
|
|
364
364
|
}
|
|
365
|
-
._Button--
|
|
365
|
+
._Button--danger_1sscz_105:active {
|
|
366
366
|
background-color: var(--puck-color-red-02);
|
|
367
367
|
}
|
|
368
|
-
._Button--
|
|
368
|
+
._Button--flush_1sscz_119 {
|
|
369
369
|
border-radius: 0;
|
|
370
370
|
}
|
|
371
|
-
._Button--
|
|
372
|
-
|
|
371
|
+
._Button--ghost_1sscz_123 {
|
|
372
|
+
align-items: center;
|
|
373
|
+
background-color: transparent;
|
|
374
|
+
border: none;
|
|
375
|
+
border-radius: 4px;
|
|
376
|
+
color: var(--puck-color-grey-08);
|
|
377
|
+
padding: 8px;
|
|
378
|
+
display: flex;
|
|
379
|
+
}
|
|
380
|
+
@media (hover: hover) and (pointer: fine) {
|
|
381
|
+
._Button--ghost_1sscz_123:hover {
|
|
382
|
+
background-color: var(--puck-color-azure-11);
|
|
383
|
+
color: var(--puck-color-azure-04);
|
|
384
|
+
cursor: pointer;
|
|
385
|
+
}
|
|
386
|
+
}
|
|
387
|
+
._Button--disabled_1sscz_141,
|
|
388
|
+
._Button--disabled_1sscz_141:hover {
|
|
373
389
|
background-color: var(--puck-color-grey-09);
|
|
374
390
|
color: var(--puck-color-grey-05);
|
|
375
391
|
cursor: not-allowed;
|
|
376
392
|
}
|
|
377
|
-
._Button--
|
|
393
|
+
._Button--fullWidth_1sscz_148 {
|
|
378
394
|
justify-content: center;
|
|
379
395
|
width: 100%;
|
|
380
396
|
}
|
|
381
|
-
._Button-
|
|
397
|
+
._Button-spinner_1sscz_153 {
|
|
382
398
|
padding-left: 8px;
|
|
383
399
|
}
|
|
384
400
|
|
package/dist/index.js
CHANGED
|
@@ -274,7 +274,7 @@ var TriangleAlert = createLucideIcon("TriangleAlert", [
|
|
|
274
274
|
// src/components/Chat/index.tsx
|
|
275
275
|
init_react_import();
|
|
276
276
|
|
|
277
|
-
// ../../node_modules/.pnpm/@ai-sdk+react@2.0.29_react@19.1.1_zod@4.
|
|
277
|
+
// ../../node_modules/.pnpm/@ai-sdk+react@2.0.29_react@19.1.1_zod@4.3.5/node_modules/@ai-sdk/react/dist/index.mjs
|
|
278
278
|
init_react_import();
|
|
279
279
|
var import_react4 = require("react");
|
|
280
280
|
var import_ai = require("ai");
|
|
@@ -599,7 +599,7 @@ var import_react8 = require("react");
|
|
|
599
599
|
|
|
600
600
|
// css-module:/home/runner/work/puck-platform/puck-platform/packages/platform-client/components/Button/Button.module.css#css-module
|
|
601
601
|
init_react_import();
|
|
602
|
-
var Button_module_default = { "Button": "
|
|
602
|
+
var Button_module_default = { "Button": "_Button_1sscz_1", "Button--medium": "_Button--medium_1sscz_34", "Button--large": "_Button--large_1sscz_42", "Button-icon": "_Button-icon_1sscz_49", "Button--brand": "_Button--brand_1sscz_53", "Button--primary": "_Button--primary_1sscz_74", "Button--secondary": "_Button--secondary_1sscz_88", "Button--danger": "_Button--danger_1sscz_105", "Button--flush": "_Button--flush_1sscz_119", "Button--ghost": "_Button--ghost_1sscz_123", "Button--disabled": "_Button--disabled_1sscz_141", "Button--fullWidth": "_Button--fullWidth_1sscz_148", "Button-spinner": "_Button-spinner_1sscz_153" };
|
|
603
603
|
|
|
604
604
|
// ../platform-client/components/Loader/index.tsx
|
|
605
605
|
init_react_import();
|
|
@@ -659,6 +659,7 @@ var Button = ({
|
|
|
659
659
|
primary: variant === "primary",
|
|
660
660
|
secondary: variant === "secondary",
|
|
661
661
|
danger: variant === "danger",
|
|
662
|
+
ghost: variant === "ghost",
|
|
662
663
|
disabled,
|
|
663
664
|
fullWidth,
|
|
664
665
|
[size]: true
|
package/dist/index.mjs
CHANGED
|
@@ -262,7 +262,7 @@ var TriangleAlert = createLucideIcon("TriangleAlert", [
|
|
|
262
262
|
// src/components/Chat/index.tsx
|
|
263
263
|
init_react_import();
|
|
264
264
|
|
|
265
|
-
// ../../node_modules/.pnpm/@ai-sdk+react@2.0.29_react@19.1.1_zod@4.
|
|
265
|
+
// ../../node_modules/.pnpm/@ai-sdk+react@2.0.29_react@19.1.1_zod@4.3.5/node_modules/@ai-sdk/react/dist/index.mjs
|
|
266
266
|
init_react_import();
|
|
267
267
|
var import_throttleit = __toESM(require_throttleit(), 1);
|
|
268
268
|
import { useCallback, useEffect, useRef, useSyncExternalStore } from "react";
|
|
@@ -597,7 +597,7 @@ import { useEffect as useEffect4, useState as useState4 } from "react";
|
|
|
597
597
|
|
|
598
598
|
// css-module:/home/runner/work/puck-platform/puck-platform/packages/platform-client/components/Button/Button.module.css#css-module
|
|
599
599
|
init_react_import();
|
|
600
|
-
var Button_module_default = { "Button": "
|
|
600
|
+
var Button_module_default = { "Button": "_Button_1sscz_1", "Button--medium": "_Button--medium_1sscz_34", "Button--large": "_Button--large_1sscz_42", "Button-icon": "_Button-icon_1sscz_49", "Button--brand": "_Button--brand_1sscz_53", "Button--primary": "_Button--primary_1sscz_74", "Button--secondary": "_Button--secondary_1sscz_88", "Button--danger": "_Button--danger_1sscz_105", "Button--flush": "_Button--flush_1sscz_119", "Button--ghost": "_Button--ghost_1sscz_123", "Button--disabled": "_Button--disabled_1sscz_141", "Button--fullWidth": "_Button--fullWidth_1sscz_148", "Button-spinner": "_Button-spinner_1sscz_153" };
|
|
601
601
|
|
|
602
602
|
// ../platform-client/components/Loader/index.tsx
|
|
603
603
|
init_react_import();
|
|
@@ -657,6 +657,7 @@ var Button = ({
|
|
|
657
657
|
primary: variant === "primary",
|
|
658
658
|
secondary: variant === "secondary",
|
|
659
659
|
danger: variant === "danger",
|
|
660
|
+
ghost: variant === "ghost",
|
|
660
661
|
disabled,
|
|
661
662
|
fullWidth,
|
|
662
663
|
[size]: true
|
package/package.json
CHANGED