@shapesos/clay 0.17.0 → 0.18.0
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/ai-elements.cjs +3 -1
- package/dist/ai-elements.cjs.map +1 -1
- package/dist/ai-elements.js +4 -4
- package/dist/artifacts.cjs +963 -34
- package/dist/artifacts.cjs.map +1 -1
- package/dist/artifacts.d.cts +20 -3
- package/dist/artifacts.d.ts +20 -3
- package/dist/artifacts.js +13 -5
- package/dist/blocks.cjs +677 -50
- package/dist/blocks.cjs.map +1 -1
- package/dist/blocks.css +1 -1
- package/dist/blocks.d.cts +3 -3
- package/dist/blocks.d.ts +3 -3
- package/dist/blocks.js +5 -5
- package/dist/button.cjs +3 -1
- package/dist/button.cjs.map +1 -1
- package/dist/button.js +2 -2
- package/dist/capture.cjs +3 -1
- package/dist/capture.cjs.map +1 -1
- package/dist/capture.js +2 -2
- package/dist/chart.cjs +3 -1
- package/dist/chart.cjs.map +1 -1
- package/dist/chart.js +2 -2
- package/dist/chat.cjs +701 -74
- package/dist/chat.cjs.map +1 -1
- package/dist/chat.d.cts +2 -2
- package/dist/chat.d.ts +2 -2
- package/dist/chat.js +6 -6
- package/dist/{chunk-46ZYTBX5.js → chunk-7MY4X4YL.js} +3 -3
- package/dist/chunk-BHHJOG5X.js +1 -0
- package/dist/{chunk-B6GAPZ2R.js → chunk-CATIRDZP.js} +5 -5
- package/dist/{chunk-B4U37WIH.js → chunk-CFCLVJIO.js} +2 -2
- package/dist/{chunk-PYDVANWI.js → chunk-E36VI2HA.js} +2 -2
- package/dist/{chunk-PUVZ2S3F.js → chunk-G4NXVFXU.js} +2 -2
- package/dist/{chunk-JAGNXEWK.js → chunk-GK4XW4BC.js} +2 -2
- package/dist/{chunk-4VE6ZXXW.js → chunk-MQP57DOP.js} +3 -3
- package/dist/{chunk-6YZ65KPW.js → chunk-QR4VBGK4.js} +673 -42
- package/dist/chunk-QR4VBGK4.js.map +1 -0
- package/dist/{chunk-JF3P66JF.js → chunk-SN3ORQSJ.js} +4 -2
- package/dist/{chunk-JF3P66JF.js.map → chunk-SN3ORQSJ.js.map} +1 -1
- package/dist/{chunk-PGR2MDDU.js → chunk-W66OJM55.js} +2 -2
- package/dist/{chunk-7OYIDM42.js → chunk-XKURJ72I.js} +2 -2
- package/dist/{dom-to-image-NATF3446.js → dom-to-image-QB7KMTAE.js} +3 -3
- package/dist/icon.cjs +3 -1
- package/dist/icon.cjs.map +1 -1
- package/dist/icon.js +2 -2
- package/dist/index.cjs +767 -132
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +19 -11
- package/dist/keyboard-shortcut.cjs +3 -1
- package/dist/keyboard-shortcut.cjs.map +1 -1
- package/dist/keyboard-shortcut.js +2 -2
- package/dist/text-area.cjs +3 -1
- package/dist/text-area.cjs.map +1 -1
- package/dist/text-area.js +2 -2
- package/dist/tokens.cjs +3 -1
- package/dist/tokens.cjs.map +1 -1
- package/dist/tokens.d.cts +1 -0
- package/dist/tokens.d.ts +1 -0
- package/dist/tokens.js +1 -1
- package/dist/{types-CW45GBXl.d.cts → types-BDYPVP2N.d.cts} +1 -1
- package/dist/{types-D1b8v7EY.d.ts → types-BMwa4bPW.d.ts} +1 -1
- package/dist/{types-GCkXbyFm.d.ts → types-C8JtnwNY.d.ts} +200 -4
- package/dist/{types-BzXPBy6s.d.cts → types-DTdDFU3O.d.cts} +200 -4
- package/package.json +1 -1
- package/dist/chunk-6YZ65KPW.js.map +0 -1
- package/dist/chunk-RSRNSWJN.js +0 -1
- /package/dist/{chunk-46ZYTBX5.js.map → chunk-7MY4X4YL.js.map} +0 -0
- /package/dist/{chunk-RSRNSWJN.js.map → chunk-BHHJOG5X.js.map} +0 -0
- /package/dist/{chunk-B6GAPZ2R.js.map → chunk-CATIRDZP.js.map} +0 -0
- /package/dist/{chunk-B4U37WIH.js.map → chunk-CFCLVJIO.js.map} +0 -0
- /package/dist/{chunk-PYDVANWI.js.map → chunk-E36VI2HA.js.map} +0 -0
- /package/dist/{chunk-PUVZ2S3F.js.map → chunk-G4NXVFXU.js.map} +0 -0
- /package/dist/{chunk-JAGNXEWK.js.map → chunk-GK4XW4BC.js.map} +0 -0
- /package/dist/{chunk-4VE6ZXXW.js.map → chunk-MQP57DOP.js.map} +0 -0
- /package/dist/{chunk-PGR2MDDU.js.map → chunk-W66OJM55.js.map} +0 -0
- /package/dist/{chunk-7OYIDM42.js.map → chunk-XKURJ72I.js.map} +0 -0
- /package/dist/{dom-to-image-NATF3446.js.map → dom-to-image-QB7KMTAE.js.map} +0 -0
package/dist/chat.d.cts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
import { a as BlockRecord } from './types-
|
|
2
|
+
import { a as BlockRecord } from './types-BDYPVP2N.cjs';
|
|
3
3
|
import * as React from 'react';
|
|
4
|
-
import './types-
|
|
4
|
+
import './types-DTdDFU3O.cjs';
|
|
5
5
|
import './types-B2aYk82c.cjs';
|
|
6
6
|
|
|
7
7
|
/** The sender of a chat message. */
|
package/dist/chat.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
import { a as BlockRecord } from './types-
|
|
2
|
+
import { a as BlockRecord } from './types-BMwa4bPW.js';
|
|
3
3
|
import * as React from 'react';
|
|
4
|
-
import './types-
|
|
4
|
+
import './types-C8JtnwNY.js';
|
|
5
5
|
import './types-B2aYk82c.js';
|
|
6
6
|
|
|
7
7
|
/** The sender of a chat message. */
|
package/dist/chat.js
CHANGED
|
@@ -5,17 +5,17 @@ import {
|
|
|
5
5
|
copyMessageText,
|
|
6
6
|
useChatContext,
|
|
7
7
|
useCopyToClipboard
|
|
8
|
-
} from "./chunk-
|
|
9
|
-
import "./chunk-
|
|
8
|
+
} from "./chunk-CATIRDZP.js";
|
|
9
|
+
import "./chunk-7MY4X4YL.js";
|
|
10
10
|
import "./chunk-NMKKU2UG.js";
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-
|
|
11
|
+
import "./chunk-QR4VBGK4.js";
|
|
12
|
+
import "./chunk-E36VI2HA.js";
|
|
13
13
|
import "./chunk-LXYCT4YO.js";
|
|
14
14
|
import "./chunk-OLJIJYB5.js";
|
|
15
|
-
import "./chunk-
|
|
15
|
+
import "./chunk-G4NXVFXU.js";
|
|
16
16
|
import "./chunk-C77QMQNT.js";
|
|
17
17
|
import "./chunk-UXT2H3FM.js";
|
|
18
|
-
import "./chunk-
|
|
18
|
+
import "./chunk-SN3ORQSJ.js";
|
|
19
19
|
import "./chunk-4MZZH3WX.js";
|
|
20
20
|
import "./chunk-P6GUNIAE.js";
|
|
21
21
|
import "./chunk-5WRI5ZAA.js";
|
|
@@ -4,14 +4,14 @@ import {
|
|
|
4
4
|
import {
|
|
5
5
|
ArtifactServices,
|
|
6
6
|
artifactToClipboardText
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-QR4VBGK4.js";
|
|
8
8
|
import {
|
|
9
9
|
typographyMixin,
|
|
10
10
|
typographyTypes
|
|
11
11
|
} from "./chunk-UXT2H3FM.js";
|
|
12
12
|
import {
|
|
13
13
|
colors
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-SN3ORQSJ.js";
|
|
15
15
|
|
|
16
16
|
// src/components/blocks/types.ts
|
|
17
17
|
var blockTypes = {
|
|
@@ -247,4 +247,4 @@ export {
|
|
|
247
247
|
BlockServices,
|
|
248
248
|
Block
|
|
249
249
|
};
|
|
250
|
-
//# sourceMappingURL=chunk-
|
|
250
|
+
//# sourceMappingURL=chunk-7MY4X4YL.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
//# sourceMappingURL=chunk-BHHJOG5X.js.map
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Block,
|
|
3
3
|
BlockServices
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-7MY4X4YL.js";
|
|
5
5
|
import {
|
|
6
6
|
IconCheck,
|
|
7
7
|
IconCopy,
|
|
8
8
|
IconThumbDown,
|
|
9
9
|
IconThumbUp
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-QR4VBGK4.js";
|
|
11
11
|
import {
|
|
12
12
|
IconButton
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-E36VI2HA.js";
|
|
14
14
|
import {
|
|
15
15
|
typographyMixin,
|
|
16
16
|
typographyTypes
|
|
17
17
|
} from "./chunk-UXT2H3FM.js";
|
|
18
18
|
import {
|
|
19
19
|
colors
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-SN3ORQSJ.js";
|
|
21
21
|
|
|
22
22
|
// src/components/chat/chat-message/chat-message.tsx
|
|
23
23
|
import { useMemo } from "react";
|
|
@@ -220,4 +220,4 @@ export {
|
|
|
220
220
|
MESSAGE_ROLE,
|
|
221
221
|
ChatMessage
|
|
222
222
|
};
|
|
223
|
-
//# sourceMappingURL=chunk-
|
|
223
|
+
//# sourceMappingURL=chunk-CATIRDZP.js.map
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
} from "./chunk-UXT2H3FM.js";
|
|
8
8
|
import {
|
|
9
9
|
colors
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-SN3ORQSJ.js";
|
|
11
11
|
|
|
12
12
|
// src/components/button/constants.ts
|
|
13
13
|
var BUTTON_VARIANT = {
|
|
@@ -172,4 +172,4 @@ export {
|
|
|
172
172
|
ICON_POSITION,
|
|
173
173
|
Button
|
|
174
174
|
};
|
|
175
|
-
//# sourceMappingURL=chunk-
|
|
175
|
+
//# sourceMappingURL=chunk-CFCLVJIO.js.map
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk-OLJIJYB5.js";
|
|
4
4
|
import {
|
|
5
5
|
colors
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-SN3ORQSJ.js";
|
|
7
7
|
|
|
8
8
|
// src/components/icon-button/icon-button.tsx
|
|
9
9
|
import { forwardRef } from "react";
|
|
@@ -139,4 +139,4 @@ var IconButton = forwardRef(function IconButton2({
|
|
|
139
139
|
export {
|
|
140
140
|
IconButton
|
|
141
141
|
};
|
|
142
|
-
//# sourceMappingURL=chunk-
|
|
142
|
+
//# sourceMappingURL=chunk-E36VI2HA.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
colors
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-SN3ORQSJ.js";
|
|
4
4
|
import {
|
|
5
5
|
cn
|
|
6
6
|
} from "./chunk-P6GUNIAE.js";
|
|
@@ -503,4 +503,4 @@ export {
|
|
|
503
503
|
LineChart,
|
|
504
504
|
PieChart
|
|
505
505
|
};
|
|
506
|
-
//# sourceMappingURL=chunk-
|
|
506
|
+
//# sourceMappingURL=chunk-G4NXVFXU.js.map
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk-LXYCT4YO.js";
|
|
4
4
|
import {
|
|
5
5
|
colors
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-SN3ORQSJ.js";
|
|
7
7
|
|
|
8
8
|
// src/capture/dom-to-image.ts
|
|
9
9
|
import { getFontEmbedCSS, toBlob } from "html-to-image";
|
|
@@ -113,4 +113,4 @@ export {
|
|
|
113
113
|
downloadNodeAsPng,
|
|
114
114
|
truncateErrorMessage
|
|
115
115
|
};
|
|
116
|
-
//# sourceMappingURL=chunk-
|
|
116
|
+
//# sourceMappingURL=chunk-GK4XW4BC.js.map
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
TextArea
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-XKURJ72I.js";
|
|
4
4
|
import {
|
|
5
5
|
BUTTON_INTENT,
|
|
6
6
|
BUTTON_SIZE,
|
|
7
7
|
Button
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-CFCLVJIO.js";
|
|
9
9
|
import {
|
|
10
10
|
cn
|
|
11
11
|
} from "./chunk-P6GUNIAE.js";
|
|
@@ -273,4 +273,4 @@ export {
|
|
|
273
273
|
Suggestions,
|
|
274
274
|
Suggestion
|
|
275
275
|
};
|
|
276
|
-
//# sourceMappingURL=chunk-
|
|
276
|
+
//# sourceMappingURL=chunk-MQP57DOP.js.map
|