@runtypelabs/persona 3.5.2 → 3.6.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/index.cjs +30 -30
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +14 -0
- package/dist/index.d.ts +14 -0
- package/dist/index.global.js +41 -41
- package/dist/index.global.js.map +1 -1
- package/dist/index.js +29 -29
- package/dist/index.js.map +1 -1
- package/dist/theme-editor.cjs +17728 -0
- package/dist/theme-editor.d.cts +3857 -0
- package/dist/theme-editor.d.ts +3857 -0
- package/dist/theme-editor.js +17623 -0
- package/dist/theme-reference.cjs +1 -1
- package/dist/theme-reference.d.cts +14 -0
- package/dist/theme-reference.d.ts +14 -0
- package/dist/theme-reference.js +1 -1
- package/dist/widget.css +29 -25
- package/package.json +9 -7
- package/src/components/artifact-card.ts +1 -1
- package/src/components/composer-builder.ts +16 -29
- package/src/components/demo-carousel.ts +4 -4
- package/src/components/event-stream-view.ts +1 -1
- package/src/components/header-builder.ts +2 -2
- package/src/components/launcher.ts +9 -0
- package/src/components/message-bubble.ts +9 -3
- package/src/components/suggestions.ts +1 -1
- package/src/defaults.ts +9 -9
- package/src/styles/widget.css +29 -25
- package/src/theme-editor/color-utils.ts +252 -0
- package/src/theme-editor/index.ts +130 -0
- package/src/theme-editor/presets.ts +144 -0
- package/src/theme-editor/preview-utils.ts +265 -0
- package/src/theme-editor/preview.ts +445 -0
- package/src/theme-editor/role-mappings.ts +331 -0
- package/src/theme-editor/sections.ts +952 -0
- package/src/theme-editor/state.ts +298 -0
- package/src/theme-editor/types.ts +177 -0
- package/src/theme-editor.ts +2 -0
- package/src/types/theme.ts +1 -0
- package/src/ui.ts +53 -58
- package/src/utils/plugins.ts +1 -1
- package/src/utils/theme.test.ts +10 -8
- package/src/utils/theme.ts +11 -11
- package/src/utils/tokens.ts +88 -41
- package/widget.css +0 -1
package/dist/index.d.cts
CHANGED
|
@@ -189,6 +189,7 @@ interface ColorPalette {
|
|
|
189
189
|
success: ColorShade;
|
|
190
190
|
warning: ColorShade;
|
|
191
191
|
error: ColorShade;
|
|
192
|
+
info: ColorShade;
|
|
192
193
|
[key: string]: ColorShade;
|
|
193
194
|
}
|
|
194
195
|
interface SpacingScale {
|
|
@@ -5035,6 +5036,19 @@ declare const DEFAULT_PALETTE: {
|
|
|
5035
5036
|
800: string;
|
|
5036
5037
|
900: string;
|
|
5037
5038
|
};
|
|
5039
|
+
info: {
|
|
5040
|
+
50: string;
|
|
5041
|
+
100: string;
|
|
5042
|
+
200: string;
|
|
5043
|
+
300: string;
|
|
5044
|
+
400: string;
|
|
5045
|
+
500: string;
|
|
5046
|
+
600: string;
|
|
5047
|
+
700: string;
|
|
5048
|
+
800: string;
|
|
5049
|
+
900: string;
|
|
5050
|
+
950: string;
|
|
5051
|
+
};
|
|
5038
5052
|
};
|
|
5039
5053
|
spacing: {
|
|
5040
5054
|
0: string;
|
package/dist/index.d.ts
CHANGED
|
@@ -189,6 +189,7 @@ interface ColorPalette {
|
|
|
189
189
|
success: ColorShade;
|
|
190
190
|
warning: ColorShade;
|
|
191
191
|
error: ColorShade;
|
|
192
|
+
info: ColorShade;
|
|
192
193
|
[key: string]: ColorShade;
|
|
193
194
|
}
|
|
194
195
|
interface SpacingScale {
|
|
@@ -5035,6 +5036,19 @@ declare const DEFAULT_PALETTE: {
|
|
|
5035
5036
|
800: string;
|
|
5036
5037
|
900: string;
|
|
5037
5038
|
};
|
|
5039
|
+
info: {
|
|
5040
|
+
50: string;
|
|
5041
|
+
100: string;
|
|
5042
|
+
200: string;
|
|
5043
|
+
300: string;
|
|
5044
|
+
400: string;
|
|
5045
|
+
500: string;
|
|
5046
|
+
600: string;
|
|
5047
|
+
700: string;
|
|
5048
|
+
800: string;
|
|
5049
|
+
900: string;
|
|
5050
|
+
950: string;
|
|
5051
|
+
};
|
|
5038
5052
|
};
|
|
5039
5053
|
spacing: {
|
|
5040
5054
|
0: string;
|