@progress/kendo-themes-html 7.1.0-dev.3 → 7.1.0-dev.4
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/cjs/index.js +1269 -1247
- package/dist/cjs/prompt/prompt-content.js +3 -4813
- package/dist/cjs/prompt/prompt-view.js +4862 -0
- package/dist/cjs/prompt/templates/prompt-more-actions.js +92 -72
- package/dist/cjs/prompt/templates/prompt-normal.js +89 -69
- package/dist/cjs/prompt/templates/prompt-output.js +120 -100
- package/dist/cjs/prompt/templates/prompt-popup.js +91 -71
- package/dist/cjs/prompt/templates/prompt-settings.js +86 -66
- package/dist/cjs/prompt/templates/prompt-suggestions.js +96 -76
- package/dist/cjs/prompt/tests/prompt-more-actions.js +98 -78
- package/dist/cjs/prompt/tests/prompt-normal.js +136 -116
- package/dist/cjs/prompt/tests/prompt-output.js +126 -106
- package/dist/cjs/timeline/horizontal-timeline-event.spec.js +1 -2
- package/dist/cjs/timeline/templates/timeline-horizontal.js +1 -2
- package/dist/cjs/timeline/templates/timeline-normal-alternating.js +1 -2
- package/dist/cjs/timeline/templates/timeline-normal-collapsible.js +1 -2
- package/dist/cjs/timeline/templates/timeline-normal.js +1 -2
- package/dist/cjs/timeline/tests/timeline-horizontal.js +1 -2
- package/dist/cjs/timeline/tests/timeline-vertical-alternating.js +1 -2
- package/dist/cjs/timeline/tests/timeline-vertical.js +1 -2
- package/dist/cjs/timeline/timeline-card-title.js +8 -165
- package/dist/cjs/timeline/timeline-card.spec.js +1 -2
- package/dist/cjs/timeline/timeline-track-wrap.spec.js +1 -2
- package/dist/cjs/timeline/vertical-timeline-event.spec.js +1 -2
- package/dist/esm/index.js +1095 -1073
- package/dist/esm/prompt/prompt-content.js +4 -4820
- package/dist/esm/prompt/prompt-view.js +4846 -0
- package/dist/esm/prompt/templates/prompt-more-actions.js +84 -64
- package/dist/esm/prompt/templates/prompt-normal.js +83 -63
- package/dist/esm/prompt/templates/prompt-output.js +108 -88
- package/dist/esm/prompt/templates/prompt-popup.js +86 -66
- package/dist/esm/prompt/templates/prompt-settings.js +77 -57
- package/dist/esm/prompt/templates/prompt-suggestions.js +90 -70
- package/dist/esm/prompt/tests/prompt-more-actions.js +89 -69
- package/dist/esm/prompt/tests/prompt-normal.js +123 -103
- package/dist/esm/prompt/tests/prompt-output.js +113 -93
- package/dist/esm/timeline/horizontal-timeline-event.spec.js +1 -2
- package/dist/esm/timeline/templates/timeline-horizontal.js +1 -2
- package/dist/esm/timeline/templates/timeline-normal-alternating.js +1 -2
- package/dist/esm/timeline/templates/timeline-normal-collapsible.js +1 -2
- package/dist/esm/timeline/templates/timeline-normal.js +1 -2
- package/dist/esm/timeline/tests/timeline-horizontal.js +1 -2
- package/dist/esm/timeline/tests/timeline-vertical-alternating.js +1 -2
- package/dist/esm/timeline/tests/timeline-vertical.js +1 -2
- package/dist/esm/timeline/timeline-card-title.js +8 -165
- package/dist/esm/timeline/timeline-card.spec.js +1 -2
- package/dist/esm/timeline/timeline-track-wrap.spec.js +1 -2
- package/dist/esm/timeline/vertical-timeline-event.spec.js +1 -2
- package/dist/types/prompt/index.d.ts +1 -0
- package/dist/types/prompt/prompt-content.d.ts +1 -7
- package/dist/types/prompt/prompt-view.d.ts +8 -0
- package/package.json +2 -2
- package/src/prompt/index.ts +1 -0
- package/src/prompt/prompt-content.tsx +1 -30
- package/src/prompt/prompt-view.tsx +51 -0
- package/src/prompt/templates/prompt-more-actions.tsx +11 -9
- package/src/prompt/templates/prompt-normal.tsx +4 -2
- package/src/prompt/templates/prompt-output.tsx +33 -31
- package/src/prompt/templates/prompt-popup.tsx +4 -2
- package/src/prompt/templates/prompt-settings.tsx +25 -23
- package/src/prompt/templates/prompt-suggestions.tsx +12 -10
- package/src/timeline/timeline-card-title.tsx +2 -2
|
@@ -7783,8 +7783,28 @@ var PromptHeader = (props) => {
|
|
|
7783
7783
|
);
|
|
7784
7784
|
};
|
|
7785
7785
|
|
|
7786
|
+
// src/prompt/prompt-content.tsx
|
|
7787
|
+
import { Fragment as Fragment37, jsx as jsx126 } from "react/jsx-runtime";
|
|
7788
|
+
var PROMPTCONTENT_CLASSNAME = `k-prompt-content`;
|
|
7789
|
+
var PromptContent = (props) => {
|
|
7790
|
+
const {
|
|
7791
|
+
...other
|
|
7792
|
+
} = props;
|
|
7793
|
+
return /* @__PURE__ */ jsx126(
|
|
7794
|
+
"div",
|
|
7795
|
+
{
|
|
7796
|
+
...other,
|
|
7797
|
+
className: classNames(
|
|
7798
|
+
props.className,
|
|
7799
|
+
PROMPTCONTENT_CLASSNAME
|
|
7800
|
+
),
|
|
7801
|
+
children: /* @__PURE__ */ jsx126(Fragment37, { children: props.children })
|
|
7802
|
+
}
|
|
7803
|
+
);
|
|
7804
|
+
};
|
|
7805
|
+
|
|
7786
7806
|
// src/textarea/textarea.spec.tsx
|
|
7787
|
-
import { jsx as
|
|
7807
|
+
import { jsx as jsx127 } from "react/jsx-runtime";
|
|
7788
7808
|
var TEXTAREA_CLASSNAME = `k-textarea`;
|
|
7789
7809
|
var states50 = [
|
|
7790
7810
|
States.hover,
|
|
@@ -7820,7 +7840,7 @@ var Textarea = (props) => {
|
|
|
7820
7840
|
disabled,
|
|
7821
7841
|
...other
|
|
7822
7842
|
} = props;
|
|
7823
|
-
return /* @__PURE__ */
|
|
7843
|
+
return /* @__PURE__ */ jsx127(
|
|
7824
7844
|
Input,
|
|
7825
7845
|
{
|
|
7826
7846
|
...other,
|
|
@@ -7834,7 +7854,7 @@ var Textarea = (props) => {
|
|
|
7834
7854
|
required,
|
|
7835
7855
|
disabled,
|
|
7836
7856
|
className: classNames(props.className, TEXTAREA_CLASSNAME),
|
|
7837
|
-
children: /* @__PURE__ */
|
|
7857
|
+
children: /* @__PURE__ */ jsx127(
|
|
7838
7858
|
InputInnerTextarea,
|
|
7839
7859
|
{
|
|
7840
7860
|
className: classNames(
|
|
@@ -7854,12 +7874,12 @@ Textarea.className = TEXTAREA_CLASSNAME;
|
|
|
7854
7874
|
Textarea.defaultProps = defaultProps45;
|
|
7855
7875
|
|
|
7856
7876
|
// src/textarea/templates/textarea-normal.tsx
|
|
7857
|
-
import { jsx as
|
|
7877
|
+
import { jsx as jsx128 } from "react/jsx-runtime";
|
|
7858
7878
|
|
|
7859
|
-
// src/prompt/prompt-
|
|
7860
|
-
import { Fragment as
|
|
7861
|
-
var
|
|
7862
|
-
var
|
|
7879
|
+
// src/prompt/prompt-view.tsx
|
|
7880
|
+
import { Fragment as Fragment38, jsx as jsx129, jsxs as jsxs55 } from "react/jsx-runtime";
|
|
7881
|
+
var PROMPTVIEW_CLASSNAME = `k-prompt-view`;
|
|
7882
|
+
var PromptView = (props) => {
|
|
7863
7883
|
const {
|
|
7864
7884
|
showSearch,
|
|
7865
7885
|
suggestions,
|
|
@@ -7872,32 +7892,32 @@ var PromptContent = (props) => {
|
|
|
7872
7892
|
...other,
|
|
7873
7893
|
className: classNames(
|
|
7874
7894
|
props.className,
|
|
7875
|
-
|
|
7895
|
+
PROMPTVIEW_CLASSNAME
|
|
7876
7896
|
),
|
|
7877
7897
|
children: [
|
|
7878
|
-
showSearch && /* @__PURE__ */
|
|
7898
|
+
showSearch && /* @__PURE__ */ jsx129(Textarea, { rows: 1, placeholder: "Ask or generate content with AI" }),
|
|
7879
7899
|
suggestions && /* @__PURE__ */ jsxs55("div", { className: "k-prompt-expander", children: [
|
|
7880
|
-
/* @__PURE__ */
|
|
7881
|
-
/* @__PURE__ */
|
|
7900
|
+
/* @__PURE__ */ jsx129(IconTextButton, { fillMode: "flat", icon: "chevron-down", children: "Prompt Suggestions" }),
|
|
7901
|
+
/* @__PURE__ */ jsx129("div", { className: "k-prompt-expander-content", children: /* @__PURE__ */ jsx129(Fragment38, { children: suggestions }) })
|
|
7882
7902
|
] }),
|
|
7883
7903
|
settings && /* @__PURE__ */ jsxs55("div", { className: "k-prompt-expander", children: [
|
|
7884
|
-
/* @__PURE__ */
|
|
7885
|
-
/* @__PURE__ */
|
|
7904
|
+
/* @__PURE__ */ jsx129(IconTextButton, { fillMode: "flat", icon: "chevron-down", children: "Settings" }),
|
|
7905
|
+
/* @__PURE__ */ jsx129("div", { className: "k-prompt-expander-content", children: settings })
|
|
7886
7906
|
] }),
|
|
7887
|
-
|
|
7907
|
+
props.children
|
|
7888
7908
|
]
|
|
7889
7909
|
}
|
|
7890
7910
|
);
|
|
7891
7911
|
};
|
|
7892
7912
|
|
|
7893
7913
|
// src/prompt/prompt-footer.tsx
|
|
7894
|
-
import { jsx as
|
|
7914
|
+
import { jsx as jsx130 } from "react/jsx-runtime";
|
|
7895
7915
|
var PROMPTFOOTER_CLASSNAME = `k-prompt-footer`;
|
|
7896
7916
|
var PromptFooter = (props) => {
|
|
7897
7917
|
const {
|
|
7898
7918
|
...other
|
|
7899
7919
|
} = props;
|
|
7900
|
-
return /* @__PURE__ */
|
|
7920
|
+
return /* @__PURE__ */ jsx130(
|
|
7901
7921
|
"div",
|
|
7902
7922
|
{
|
|
7903
7923
|
...other,
|
|
@@ -7911,13 +7931,13 @@ var PromptFooter = (props) => {
|
|
|
7911
7931
|
};
|
|
7912
7932
|
|
|
7913
7933
|
// src/prompt/prompt-suggestion.tsx
|
|
7914
|
-
import { jsx as
|
|
7934
|
+
import { jsx as jsx131 } from "react/jsx-runtime";
|
|
7915
7935
|
var PROMPTSUGGESTION_CLASSNAME = `k-prompt-suggestion`;
|
|
7916
7936
|
var PromptSuggestion = (props) => {
|
|
7917
7937
|
const {
|
|
7918
7938
|
...other
|
|
7919
7939
|
} = props;
|
|
7920
|
-
return /* @__PURE__ */
|
|
7940
|
+
return /* @__PURE__ */ jsx131(
|
|
7921
7941
|
"div",
|
|
7922
7942
|
{
|
|
7923
7943
|
...other,
|
|
@@ -7931,13 +7951,13 @@ var PromptSuggestion = (props) => {
|
|
|
7931
7951
|
};
|
|
7932
7952
|
|
|
7933
7953
|
// src/prompt/prompt-setting.tsx
|
|
7934
|
-
import { jsx as
|
|
7954
|
+
import { jsx as jsx132 } from "react/jsx-runtime";
|
|
7935
7955
|
var PROMPTSETTING_CLASSNAME = `k-prompt-setting`;
|
|
7936
7956
|
var PromptSetting = (props) => {
|
|
7937
7957
|
const {
|
|
7938
7958
|
...other
|
|
7939
7959
|
} = props;
|
|
7940
|
-
return /* @__PURE__ */
|
|
7960
|
+
return /* @__PURE__ */ jsx132(
|
|
7941
7961
|
"div",
|
|
7942
7962
|
{
|
|
7943
7963
|
...other,
|
|
@@ -7951,32 +7971,32 @@ var PromptSetting = (props) => {
|
|
|
7951
7971
|
};
|
|
7952
7972
|
|
|
7953
7973
|
// src/prompt/templates/prompt-suggestions.tsx
|
|
7954
|
-
import { Fragment as
|
|
7974
|
+
import { Fragment as Fragment39, jsx as jsx133, jsxs as jsxs56 } from "react/jsx-runtime";
|
|
7955
7975
|
var PromptSuggestions = (props) => /* @__PURE__ */ jsxs56(Prompt, { ...props, children: [
|
|
7956
|
-
/* @__PURE__ */
|
|
7957
|
-
/* @__PURE__ */
|
|
7958
|
-
/* @__PURE__ */
|
|
7959
|
-
/* @__PURE__ */
|
|
7976
|
+
/* @__PURE__ */ jsx133(PromptHeader, { children: /* @__PURE__ */ jsxs56(Toolbar, { className: "k-toolbar-flat", children: [
|
|
7977
|
+
/* @__PURE__ */ jsx133(IconTextButton, { fillMode: "flat", themeColor: "primary", icon: "sparkles", rounded: "full", selected: true, children: "Ask AI" }),
|
|
7978
|
+
/* @__PURE__ */ jsx133(IconTextButton, { fillMode: "flat", themeColor: "primary", icon: "comment", rounded: "full", children: "Output" }),
|
|
7979
|
+
/* @__PURE__ */ jsx133(IconButton, { fillMode: "flat", themeColor: "primary", icon: "more-horizontal", rounded: "full" })
|
|
7960
7980
|
] }) }),
|
|
7961
|
-
/* @__PURE__ */
|
|
7962
|
-
|
|
7981
|
+
/* @__PURE__ */ jsx133(PromptContent, { children: /* @__PURE__ */ jsx133(
|
|
7982
|
+
PromptView,
|
|
7963
7983
|
{
|
|
7964
7984
|
showSearch: true,
|
|
7965
|
-
suggestions: /* @__PURE__ */ jsxs56(
|
|
7966
|
-
/* @__PURE__ */
|
|
7967
|
-
/* @__PURE__ */
|
|
7968
|
-
/* @__PURE__ */
|
|
7985
|
+
suggestions: /* @__PURE__ */ jsxs56(Fragment39, { children: [
|
|
7986
|
+
/* @__PURE__ */ jsx133(PromptSuggestion, { children: "Suggestion 1" }),
|
|
7987
|
+
/* @__PURE__ */ jsx133(PromptSuggestion, { children: "Suggestion 2" }),
|
|
7988
|
+
/* @__PURE__ */ jsx133(PromptSuggestion, { children: "Suggestion 3" })
|
|
7969
7989
|
] })
|
|
7970
7990
|
}
|
|
7971
|
-
),
|
|
7972
|
-
/* @__PURE__ */
|
|
7991
|
+
) }),
|
|
7992
|
+
/* @__PURE__ */ jsx133(PromptFooter, { children: /* @__PURE__ */ jsx133(ActionButtons, { className: "k-prompt-actions", alignment: "start", children: /* @__PURE__ */ jsx133(IconTextButton, { icon: "sparkles", themeColor: "primary", rounded: "full", children: "Generate" }) }) })
|
|
7973
7993
|
] });
|
|
7974
7994
|
|
|
7975
7995
|
// src/chip/chip-action.tsx
|
|
7976
|
-
import { jsx as
|
|
7996
|
+
import { jsx as jsx134 } from "react/jsx-runtime";
|
|
7977
7997
|
|
|
7978
7998
|
// src/avatar/avatar.spec.tsx
|
|
7979
|
-
import { jsx as
|
|
7999
|
+
import { jsx as jsx135 } from "react/jsx-runtime";
|
|
7980
8000
|
var AVATAR_CLASSNAME = `k-avatar`;
|
|
7981
8001
|
var states51 = [
|
|
7982
8002
|
States.hover,
|
|
@@ -8021,7 +8041,7 @@ var Avatar = (props) => {
|
|
|
8021
8041
|
border = defaultProps46.border,
|
|
8022
8042
|
...other
|
|
8023
8043
|
} = props;
|
|
8024
|
-
return /* @__PURE__ */
|
|
8044
|
+
return /* @__PURE__ */ jsx135(
|
|
8025
8045
|
"div",
|
|
8026
8046
|
{
|
|
8027
8047
|
...other,
|
|
@@ -8038,7 +8058,7 @@ var Avatar = (props) => {
|
|
|
8038
8058
|
[`${AVATAR_CLASSNAME}-bordered`]: border
|
|
8039
8059
|
}
|
|
8040
8060
|
),
|
|
8041
|
-
children: /* @__PURE__ */
|
|
8061
|
+
children: /* @__PURE__ */ jsx135("span", { className: `${AVATAR_CLASSNAME}-${type}`, children: props.children })
|
|
8042
8062
|
}
|
|
8043
8063
|
);
|
|
8044
8064
|
};
|
|
@@ -8048,16 +8068,16 @@ Avatar.className = AVATAR_CLASSNAME;
|
|
|
8048
8068
|
Avatar.defaultProps = defaultProps46;
|
|
8049
8069
|
|
|
8050
8070
|
// src/avatar/templates/avatar-icon.tsx
|
|
8051
|
-
import { jsx as
|
|
8071
|
+
import { jsx as jsx136 } from "react/jsx-runtime";
|
|
8052
8072
|
|
|
8053
8073
|
// src/avatar/templates/avatar-text.tsx
|
|
8054
|
-
import { jsx as
|
|
8074
|
+
import { jsx as jsx137 } from "react/jsx-runtime";
|
|
8055
8075
|
|
|
8056
8076
|
// src/avatar/templates/avatar-image.tsx
|
|
8057
|
-
import { jsx as
|
|
8077
|
+
import { jsx as jsx138 } from "react/jsx-runtime";
|
|
8058
8078
|
|
|
8059
8079
|
// src/chip/chip.spec.tsx
|
|
8060
|
-
import { jsx as
|
|
8080
|
+
import { jsx as jsx139, jsxs as jsxs57 } from "react/jsx-runtime";
|
|
8061
8081
|
var CHIP_CLASSNAME = `k-chip`;
|
|
8062
8082
|
var states52 = [
|
|
8063
8083
|
States.hover,
|
|
@@ -8123,10 +8143,10 @@ var Chip = (props) => {
|
|
|
8123
8143
|
})
|
|
8124
8144
|
),
|
|
8125
8145
|
children: [
|
|
8126
|
-
icon && /* @__PURE__ */
|
|
8127
|
-
showAvatar && /* @__PURE__ */
|
|
8128
|
-
/* @__PURE__ */
|
|
8129
|
-
actions && /* @__PURE__ */
|
|
8146
|
+
icon && /* @__PURE__ */ jsx139(Icon, { className: "k-chip-icon", icon, size: "small" }),
|
|
8147
|
+
showAvatar && /* @__PURE__ */ jsx139(Avatar, { className: "k-chip-avatar", type: "image", children: /* @__PURE__ */ jsx139("img", { src: "/packages/html/assets/avatar.jpg" }) }),
|
|
8148
|
+
/* @__PURE__ */ jsx139("span", { className: "k-chip-content", children: props.children ? props.children : text && /* @__PURE__ */ jsx139("span", { className: "k-chip-label k-text-ellipsis", children: text }) }),
|
|
8149
|
+
actions && /* @__PURE__ */ jsx139("span", { className: "k-chip-actions", children: actions })
|
|
8130
8150
|
]
|
|
8131
8151
|
}
|
|
8132
8152
|
);
|
|
@@ -8137,7 +8157,7 @@ Chip.className = CHIP_CLASSNAME;
|
|
|
8137
8157
|
Chip.defaultProps = defaultProps47;
|
|
8138
8158
|
|
|
8139
8159
|
// src/chip/chip-list.spec.tsx
|
|
8140
|
-
import { jsx as
|
|
8160
|
+
import { jsx as jsx140 } from "react/jsx-runtime";
|
|
8141
8161
|
var CHIPLIST_CLASSNAME = `k-chip-list`;
|
|
8142
8162
|
var states53 = [];
|
|
8143
8163
|
var options51 = {
|
|
@@ -8151,7 +8171,7 @@ var ChipList = (props) => {
|
|
|
8151
8171
|
size = defaultProps48.size,
|
|
8152
8172
|
...other
|
|
8153
8173
|
} = props;
|
|
8154
|
-
return /* @__PURE__ */
|
|
8174
|
+
return /* @__PURE__ */ jsx140(
|
|
8155
8175
|
"div",
|
|
8156
8176
|
{
|
|
8157
8177
|
...other,
|
|
@@ -8172,63 +8192,63 @@ ChipList.className = CHIPLIST_CLASSNAME;
|
|
|
8172
8192
|
ChipList.defaultProps = defaultProps48;
|
|
8173
8193
|
|
|
8174
8194
|
// src/chip/templates/chip-avatar.tsx
|
|
8175
|
-
import { jsx as
|
|
8195
|
+
import { jsx as jsx141 } from "react/jsx-runtime";
|
|
8176
8196
|
|
|
8177
8197
|
// src/chip/templates/chip-icon.tsx
|
|
8178
|
-
import { jsx as
|
|
8198
|
+
import { jsx as jsx142 } from "react/jsx-runtime";
|
|
8179
8199
|
|
|
8180
8200
|
// src/chip/templates/chip-normal.tsx
|
|
8181
|
-
import { jsx as
|
|
8201
|
+
import { jsx as jsx143 } from "react/jsx-runtime";
|
|
8182
8202
|
|
|
8183
8203
|
// src/chip/templates/chip-removable.tsx
|
|
8184
|
-
import { jsx as
|
|
8204
|
+
import { jsx as jsx144 } from "react/jsx-runtime";
|
|
8185
8205
|
|
|
8186
8206
|
// src/prompt/templates/prompt-settings.tsx
|
|
8187
|
-
import { Fragment as
|
|
8207
|
+
import { Fragment as Fragment40, jsx as jsx145, jsxs as jsxs58 } from "react/jsx-runtime";
|
|
8188
8208
|
var PromptSettings = (props) => /* @__PURE__ */ jsxs58(Prompt, { ...props, children: [
|
|
8189
|
-
/* @__PURE__ */
|
|
8190
|
-
/* @__PURE__ */
|
|
8191
|
-
/* @__PURE__ */
|
|
8192
|
-
/* @__PURE__ */
|
|
8209
|
+
/* @__PURE__ */ jsx145(PromptHeader, { children: /* @__PURE__ */ jsxs58(Toolbar, { className: "k-toolbar-flat", children: [
|
|
8210
|
+
/* @__PURE__ */ jsx145(IconTextButton, { fillMode: "flat", themeColor: "primary", icon: "sparkles", rounded: "full", selected: true, children: "Ask AI" }),
|
|
8211
|
+
/* @__PURE__ */ jsx145(IconTextButton, { fillMode: "flat", themeColor: "primary", icon: "comment", rounded: "full", children: "Output" }),
|
|
8212
|
+
/* @__PURE__ */ jsx145(IconButton, { fillMode: "flat", themeColor: "primary", icon: "more-horizontal", rounded: "full" })
|
|
8193
8213
|
] }) }),
|
|
8194
|
-
/* @__PURE__ */
|
|
8195
|
-
|
|
8214
|
+
/* @__PURE__ */ jsx145(PromptContent, { children: /* @__PURE__ */ jsx145(
|
|
8215
|
+
PromptView,
|
|
8196
8216
|
{
|
|
8197
8217
|
showSearch: true,
|
|
8198
|
-
settings: /* @__PURE__ */ jsxs58(
|
|
8218
|
+
settings: /* @__PURE__ */ jsxs58(Fragment40, { children: [
|
|
8199
8219
|
/* @__PURE__ */ jsxs58(PromptSetting, { children: [
|
|
8200
8220
|
"Length:",
|
|
8201
8221
|
/* @__PURE__ */ jsxs58(ChipList, { children: [
|
|
8202
|
-
/* @__PURE__ */
|
|
8203
|
-
/* @__PURE__ */
|
|
8204
|
-
/* @__PURE__ */
|
|
8222
|
+
/* @__PURE__ */ jsx145(Chip, { text: "Small" }),
|
|
8223
|
+
/* @__PURE__ */ jsx145(Chip, { text: "Medium" }),
|
|
8224
|
+
/* @__PURE__ */ jsx145(Chip, { text: "Large" })
|
|
8205
8225
|
] })
|
|
8206
8226
|
] }),
|
|
8207
8227
|
/* @__PURE__ */ jsxs58(PromptSetting, { children: [
|
|
8208
8228
|
"Tone:",
|
|
8209
8229
|
/* @__PURE__ */ jsxs58(ChipList, { children: [
|
|
8210
|
-
/* @__PURE__ */
|
|
8211
|
-
/* @__PURE__ */
|
|
8212
|
-
/* @__PURE__ */
|
|
8213
|
-
/* @__PURE__ */
|
|
8214
|
-
/* @__PURE__ */
|
|
8230
|
+
/* @__PURE__ */ jsx145(Chip, { text: "Professional" }),
|
|
8231
|
+
/* @__PURE__ */ jsx145(Chip, { text: "Friendly" }),
|
|
8232
|
+
/* @__PURE__ */ jsx145(Chip, { text: "Casual" }),
|
|
8233
|
+
/* @__PURE__ */ jsx145(Chip, { text: "Straightforward" }),
|
|
8234
|
+
/* @__PURE__ */ jsx145(Chip, { text: "Confident" })
|
|
8215
8235
|
] })
|
|
8216
8236
|
] })
|
|
8217
8237
|
] })
|
|
8218
8238
|
}
|
|
8219
|
-
),
|
|
8220
|
-
/* @__PURE__ */
|
|
8239
|
+
) }),
|
|
8240
|
+
/* @__PURE__ */ jsx145(PromptFooter, { children: /* @__PURE__ */ jsx145(ActionButtons, { className: "k-prompt-actions", alignment: "start", children: /* @__PURE__ */ jsx145(IconTextButton, { icon: "sparkles", themeColor: "primary", rounded: "full", children: "Generate" }) }) })
|
|
8221
8241
|
] });
|
|
8222
8242
|
|
|
8223
8243
|
// src/card/card-callout.tsx
|
|
8224
|
-
import { jsx as
|
|
8244
|
+
import { jsx as jsx146 } from "react/jsx-runtime";
|
|
8225
8245
|
var CARDCALLOUT_CLASSNAME = `k-card-callout`;
|
|
8226
8246
|
var CardCallout = (props) => {
|
|
8227
8247
|
const {
|
|
8228
8248
|
callout,
|
|
8229
8249
|
...other
|
|
8230
8250
|
} = props;
|
|
8231
|
-
return /* @__PURE__ */
|
|
8251
|
+
return /* @__PURE__ */ jsx146(
|
|
8232
8252
|
"span",
|
|
8233
8253
|
{
|
|
8234
8254
|
...other,
|
|
@@ -8244,7 +8264,7 @@ var CardCallout = (props) => {
|
|
|
8244
8264
|
};
|
|
8245
8265
|
|
|
8246
8266
|
// src/card/card.spec.tsx
|
|
8247
|
-
import { Fragment as
|
|
8267
|
+
import { Fragment as Fragment41, jsx as jsx147, jsxs as jsxs59 } from "react/jsx-runtime";
|
|
8248
8268
|
var CARD_CLASSNAME = `k-card`;
|
|
8249
8269
|
var states54 = [
|
|
8250
8270
|
States.hover,
|
|
@@ -8295,8 +8315,8 @@ var Card = (props) => {
|
|
|
8295
8315
|
}
|
|
8296
8316
|
),
|
|
8297
8317
|
children: [
|
|
8298
|
-
callout && callout !== "true" && /* @__PURE__ */
|
|
8299
|
-
/* @__PURE__ */
|
|
8318
|
+
callout && callout !== "true" && /* @__PURE__ */ jsx147(CardCallout, { callout }),
|
|
8319
|
+
/* @__PURE__ */ jsx147(Fragment41, { children: props.children })
|
|
8300
8320
|
]
|
|
8301
8321
|
}
|
|
8302
8322
|
);
|
|
@@ -8307,79 +8327,79 @@ Card.className = CARD_CLASSNAME;
|
|
|
8307
8327
|
Card.defaultProps = defaultProps49;
|
|
8308
8328
|
|
|
8309
8329
|
// src/card/card-title.tsx
|
|
8310
|
-
import { jsx as
|
|
8330
|
+
import { jsx as jsx148 } from "react/jsx-runtime";
|
|
8311
8331
|
var states55 = [
|
|
8312
8332
|
States.hover,
|
|
8313
8333
|
States.focus
|
|
8314
8334
|
];
|
|
8315
8335
|
|
|
8316
8336
|
// src/card/card-subtitle.tsx
|
|
8317
|
-
import { jsx as
|
|
8337
|
+
import { jsx as jsx149 } from "react/jsx-runtime";
|
|
8318
8338
|
|
|
8319
8339
|
// src/card/card-media.tsx
|
|
8320
|
-
import { Fragment as
|
|
8340
|
+
import { Fragment as Fragment42, jsx as jsx150 } from "react/jsx-runtime";
|
|
8321
8341
|
|
|
8322
8342
|
// src/card/card-header.tsx
|
|
8323
|
-
import { Fragment as
|
|
8343
|
+
import { Fragment as Fragment43, jsx as jsx151, jsxs as jsxs60 } from "react/jsx-runtime";
|
|
8324
8344
|
|
|
8325
8345
|
// src/card/card-footer.tsx
|
|
8326
|
-
import { jsx as
|
|
8346
|
+
import { jsx as jsx152 } from "react/jsx-runtime";
|
|
8327
8347
|
|
|
8328
8348
|
// src/card/card-body.tsx
|
|
8329
|
-
import { Fragment as
|
|
8349
|
+
import { Fragment as Fragment44, jsx as jsx153, jsxs as jsxs61 } from "react/jsx-runtime";
|
|
8330
8350
|
|
|
8331
8351
|
// src/card/card-deck.tsx
|
|
8332
|
-
import { jsx as
|
|
8352
|
+
import { jsx as jsx154 } from "react/jsx-runtime";
|
|
8333
8353
|
|
|
8334
8354
|
// src/card/templates/card-normal.tsx
|
|
8335
|
-
import { Fragment as
|
|
8355
|
+
import { Fragment as Fragment45, jsx as jsx155, jsxs as jsxs62 } from "react/jsx-runtime";
|
|
8336
8356
|
|
|
8337
8357
|
// src/card/templates/card-horizontal.tsx
|
|
8338
|
-
import { Fragment as
|
|
8358
|
+
import { Fragment as Fragment46, jsx as jsx156, jsxs as jsxs63 } from "react/jsx-runtime";
|
|
8339
8359
|
|
|
8340
8360
|
// src/prompt/templates/prompt-output.tsx
|
|
8341
|
-
import { jsx as
|
|
8361
|
+
import { jsx as jsx157, jsxs as jsxs64 } from "react/jsx-runtime";
|
|
8342
8362
|
|
|
8343
8363
|
// src/prompt/templates/prompt-more-actions.tsx
|
|
8344
|
-
import { jsx as
|
|
8364
|
+
import { jsx as jsx158, jsxs as jsxs65 } from "react/jsx-runtime";
|
|
8345
8365
|
|
|
8346
8366
|
// src/prompt/templates/prompt-popup.tsx
|
|
8347
|
-
import { jsx as
|
|
8367
|
+
import { jsx as jsx159, jsxs as jsxs66 } from "react/jsx-runtime";
|
|
8348
8368
|
|
|
8349
8369
|
// src/prompt/templates/prompt-normal.tsx
|
|
8350
|
-
import { jsx as
|
|
8370
|
+
import { jsx as jsx160, jsxs as jsxs67 } from "react/jsx-runtime";
|
|
8351
8371
|
var PromptNormal = (props) => /* @__PURE__ */ jsxs67(
|
|
8352
8372
|
Prompt,
|
|
8353
8373
|
{
|
|
8354
8374
|
...props,
|
|
8355
8375
|
children: [
|
|
8356
|
-
/* @__PURE__ */
|
|
8357
|
-
/* @__PURE__ */
|
|
8358
|
-
/* @__PURE__ */
|
|
8359
|
-
/* @__PURE__ */
|
|
8376
|
+
/* @__PURE__ */ jsx160(PromptHeader, { children: /* @__PURE__ */ jsxs67(Toolbar, { className: "k-toolbar-flat", children: [
|
|
8377
|
+
/* @__PURE__ */ jsx160(IconTextButton, { fillMode: "flat", themeColor: "primary", icon: "sparkles", rounded: "full", selected: true, children: "Ask AI" }),
|
|
8378
|
+
/* @__PURE__ */ jsx160(IconTextButton, { fillMode: "flat", themeColor: "primary", icon: "comment", rounded: "full", children: "Output" }),
|
|
8379
|
+
/* @__PURE__ */ jsx160(IconButton, { fillMode: "flat", themeColor: "primary", icon: "more-horizontal", rounded: "full" })
|
|
8360
8380
|
] }) }),
|
|
8361
|
-
/* @__PURE__ */
|
|
8362
|
-
/* @__PURE__ */
|
|
8381
|
+
/* @__PURE__ */ jsx160(PromptContent, { children: /* @__PURE__ */ jsx160(PromptView, { showSearch: true }) }),
|
|
8382
|
+
/* @__PURE__ */ jsx160(PromptFooter, { children: /* @__PURE__ */ jsx160(ActionButtons, { className: "k-prompt-actions", alignment: "start", children: /* @__PURE__ */ jsx160(IconTextButton, { icon: "sparkles", themeColor: "primary", rounded: "full", children: "Generate" }) }) })
|
|
8363
8383
|
]
|
|
8364
8384
|
}
|
|
8365
8385
|
);
|
|
8366
8386
|
|
|
8367
8387
|
// src/prompt/tests/prompt-normal.tsx
|
|
8368
|
-
import { Fragment as
|
|
8388
|
+
import { Fragment as Fragment47, jsx as jsx161, jsxs as jsxs68 } from "react/jsx-runtime";
|
|
8369
8389
|
var styles = `
|
|
8370
8390
|
.k-animation-container {
|
|
8371
8391
|
position: relative;
|
|
8372
8392
|
}
|
|
8373
8393
|
`;
|
|
8374
|
-
var prompt_normal_default = () => /* @__PURE__ */ jsxs68(
|
|
8375
|
-
/* @__PURE__ */
|
|
8394
|
+
var prompt_normal_default = () => /* @__PURE__ */ jsxs68(Fragment47, { children: [
|
|
8395
|
+
/* @__PURE__ */ jsx161("style", { children: styles }),
|
|
8376
8396
|
/* @__PURE__ */ jsxs68("div", { id: "test-area", className: "k-d-grid k-grid-cols-3", children: [
|
|
8377
|
-
/* @__PURE__ */
|
|
8378
|
-
/* @__PURE__ */
|
|
8379
|
-
/* @__PURE__ */
|
|
8380
|
-
/* @__PURE__ */
|
|
8381
|
-
/* @__PURE__ */
|
|
8382
|
-
/* @__PURE__ */
|
|
8397
|
+
/* @__PURE__ */ jsx161("span", { children: "Search" }),
|
|
8398
|
+
/* @__PURE__ */ jsx161("span", { children: "Suggestions" }),
|
|
8399
|
+
/* @__PURE__ */ jsx161("span", { children: "Settings" }),
|
|
8400
|
+
/* @__PURE__ */ jsx161("div", { children: /* @__PURE__ */ jsx161(Popup, { className: "k-prompt-popup", children: /* @__PURE__ */ jsx161(PromptNormal, {}) }) }),
|
|
8401
|
+
/* @__PURE__ */ jsx161("div", { children: /* @__PURE__ */ jsx161(Popup, { className: "k-prompt-popup", children: /* @__PURE__ */ jsx161(PromptSuggestions, {}) }) }),
|
|
8402
|
+
/* @__PURE__ */ jsx161("div", { children: /* @__PURE__ */ jsx161(Popup, { className: "k-prompt-popup", children: /* @__PURE__ */ jsx161(PromptSettings, {}) }) })
|
|
8383
8403
|
] })
|
|
8384
8404
|
] });
|
|
8385
8405
|
export {
|