@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.
Files changed (62) hide show
  1. package/dist/cjs/index.js +1269 -1247
  2. package/dist/cjs/prompt/prompt-content.js +3 -4813
  3. package/dist/cjs/prompt/prompt-view.js +4862 -0
  4. package/dist/cjs/prompt/templates/prompt-more-actions.js +92 -72
  5. package/dist/cjs/prompt/templates/prompt-normal.js +89 -69
  6. package/dist/cjs/prompt/templates/prompt-output.js +120 -100
  7. package/dist/cjs/prompt/templates/prompt-popup.js +91 -71
  8. package/dist/cjs/prompt/templates/prompt-settings.js +86 -66
  9. package/dist/cjs/prompt/templates/prompt-suggestions.js +96 -76
  10. package/dist/cjs/prompt/tests/prompt-more-actions.js +98 -78
  11. package/dist/cjs/prompt/tests/prompt-normal.js +136 -116
  12. package/dist/cjs/prompt/tests/prompt-output.js +126 -106
  13. package/dist/cjs/timeline/horizontal-timeline-event.spec.js +1 -2
  14. package/dist/cjs/timeline/templates/timeline-horizontal.js +1 -2
  15. package/dist/cjs/timeline/templates/timeline-normal-alternating.js +1 -2
  16. package/dist/cjs/timeline/templates/timeline-normal-collapsible.js +1 -2
  17. package/dist/cjs/timeline/templates/timeline-normal.js +1 -2
  18. package/dist/cjs/timeline/tests/timeline-horizontal.js +1 -2
  19. package/dist/cjs/timeline/tests/timeline-vertical-alternating.js +1 -2
  20. package/dist/cjs/timeline/tests/timeline-vertical.js +1 -2
  21. package/dist/cjs/timeline/timeline-card-title.js +8 -165
  22. package/dist/cjs/timeline/timeline-card.spec.js +1 -2
  23. package/dist/cjs/timeline/timeline-track-wrap.spec.js +1 -2
  24. package/dist/cjs/timeline/vertical-timeline-event.spec.js +1 -2
  25. package/dist/esm/index.js +1095 -1073
  26. package/dist/esm/prompt/prompt-content.js +4 -4820
  27. package/dist/esm/prompt/prompt-view.js +4846 -0
  28. package/dist/esm/prompt/templates/prompt-more-actions.js +84 -64
  29. package/dist/esm/prompt/templates/prompt-normal.js +83 -63
  30. package/dist/esm/prompt/templates/prompt-output.js +108 -88
  31. package/dist/esm/prompt/templates/prompt-popup.js +86 -66
  32. package/dist/esm/prompt/templates/prompt-settings.js +77 -57
  33. package/dist/esm/prompt/templates/prompt-suggestions.js +90 -70
  34. package/dist/esm/prompt/tests/prompt-more-actions.js +89 -69
  35. package/dist/esm/prompt/tests/prompt-normal.js +123 -103
  36. package/dist/esm/prompt/tests/prompt-output.js +113 -93
  37. package/dist/esm/timeline/horizontal-timeline-event.spec.js +1 -2
  38. package/dist/esm/timeline/templates/timeline-horizontal.js +1 -2
  39. package/dist/esm/timeline/templates/timeline-normal-alternating.js +1 -2
  40. package/dist/esm/timeline/templates/timeline-normal-collapsible.js +1 -2
  41. package/dist/esm/timeline/templates/timeline-normal.js +1 -2
  42. package/dist/esm/timeline/tests/timeline-horizontal.js +1 -2
  43. package/dist/esm/timeline/tests/timeline-vertical-alternating.js +1 -2
  44. package/dist/esm/timeline/tests/timeline-vertical.js +1 -2
  45. package/dist/esm/timeline/timeline-card-title.js +8 -165
  46. package/dist/esm/timeline/timeline-card.spec.js +1 -2
  47. package/dist/esm/timeline/timeline-track-wrap.spec.js +1 -2
  48. package/dist/esm/timeline/vertical-timeline-event.spec.js +1 -2
  49. package/dist/types/prompt/index.d.ts +1 -0
  50. package/dist/types/prompt/prompt-content.d.ts +1 -7
  51. package/dist/types/prompt/prompt-view.d.ts +8 -0
  52. package/package.json +2 -2
  53. package/src/prompt/index.ts +1 -0
  54. package/src/prompt/prompt-content.tsx +1 -30
  55. package/src/prompt/prompt-view.tsx +51 -0
  56. package/src/prompt/templates/prompt-more-actions.tsx +11 -9
  57. package/src/prompt/templates/prompt-normal.tsx +4 -2
  58. package/src/prompt/templates/prompt-output.tsx +33 -31
  59. package/src/prompt/templates/prompt-popup.tsx +4 -2
  60. package/src/prompt/templates/prompt-settings.tsx +25 -23
  61. package/src/prompt/templates/prompt-suggestions.tsx +12 -10
  62. package/src/timeline/timeline-card-title.tsx +2 -2
@@ -7802,8 +7802,28 @@ var PromptHeader = (props) => {
7802
7802
  );
7803
7803
  };
7804
7804
 
7805
- // src/textarea/textarea.spec.tsx
7805
+ // src/prompt/prompt-content.tsx
7806
7806
  var import_jsx_runtime126 = require("react/jsx-runtime");
7807
+ var PROMPTCONTENT_CLASSNAME = `k-prompt-content`;
7808
+ var PromptContent = (props) => {
7809
+ const {
7810
+ ...other
7811
+ } = props;
7812
+ return /* @__PURE__ */ (0, import_jsx_runtime126.jsx)(
7813
+ "div",
7814
+ {
7815
+ ...other,
7816
+ className: classNames(
7817
+ props.className,
7818
+ PROMPTCONTENT_CLASSNAME
7819
+ ),
7820
+ children: /* @__PURE__ */ (0, import_jsx_runtime126.jsx)(import_jsx_runtime126.Fragment, { children: props.children })
7821
+ }
7822
+ );
7823
+ };
7824
+
7825
+ // src/textarea/textarea.spec.tsx
7826
+ var import_jsx_runtime127 = require("react/jsx-runtime");
7807
7827
  var TEXTAREA_CLASSNAME = `k-textarea`;
7808
7828
  var states50 = [
7809
7829
  States.hover,
@@ -7839,7 +7859,7 @@ var Textarea = (props) => {
7839
7859
  disabled,
7840
7860
  ...other
7841
7861
  } = props;
7842
- return /* @__PURE__ */ (0, import_jsx_runtime126.jsx)(
7862
+ return /* @__PURE__ */ (0, import_jsx_runtime127.jsx)(
7843
7863
  Input,
7844
7864
  {
7845
7865
  ...other,
@@ -7853,7 +7873,7 @@ var Textarea = (props) => {
7853
7873
  required,
7854
7874
  disabled,
7855
7875
  className: classNames(props.className, TEXTAREA_CLASSNAME),
7856
- children: /* @__PURE__ */ (0, import_jsx_runtime126.jsx)(
7876
+ children: /* @__PURE__ */ (0, import_jsx_runtime127.jsx)(
7857
7877
  InputInnerTextarea,
7858
7878
  {
7859
7879
  className: classNames(
@@ -7873,50 +7893,50 @@ Textarea.className = TEXTAREA_CLASSNAME;
7873
7893
  Textarea.defaultProps = defaultProps45;
7874
7894
 
7875
7895
  // src/textarea/templates/textarea-normal.tsx
7876
- var import_jsx_runtime127 = require("react/jsx-runtime");
7877
-
7878
- // src/prompt/prompt-content.tsx
7879
7896
  var import_jsx_runtime128 = require("react/jsx-runtime");
7880
- var PROMPTCONTENT_CLASSNAME = `k-prompt-content`;
7881
- var PromptContent = (props) => {
7897
+
7898
+ // src/prompt/prompt-view.tsx
7899
+ var import_jsx_runtime129 = require("react/jsx-runtime");
7900
+ var PROMPTVIEW_CLASSNAME = `k-prompt-view`;
7901
+ var PromptView = (props) => {
7882
7902
  const {
7883
7903
  showSearch,
7884
7904
  suggestions,
7885
7905
  settings,
7886
7906
  ...other
7887
7907
  } = props;
7888
- return /* @__PURE__ */ (0, import_jsx_runtime128.jsxs)(
7908
+ return /* @__PURE__ */ (0, import_jsx_runtime129.jsxs)(
7889
7909
  "div",
7890
7910
  {
7891
7911
  ...other,
7892
7912
  className: classNames(
7893
7913
  props.className,
7894
- PROMPTCONTENT_CLASSNAME
7914
+ PROMPTVIEW_CLASSNAME
7895
7915
  ),
7896
7916
  children: [
7897
- showSearch && /* @__PURE__ */ (0, import_jsx_runtime128.jsx)(Textarea, { rows: 1, placeholder: "Ask or generate content with AI" }),
7898
- suggestions && /* @__PURE__ */ (0, import_jsx_runtime128.jsxs)("div", { className: "k-prompt-expander", children: [
7899
- /* @__PURE__ */ (0, import_jsx_runtime128.jsx)(IconTextButton, { fillMode: "flat", icon: "chevron-down", children: "Prompt Suggestions" }),
7900
- /* @__PURE__ */ (0, import_jsx_runtime128.jsx)("div", { className: "k-prompt-expander-content", children: /* @__PURE__ */ (0, import_jsx_runtime128.jsx)(import_jsx_runtime128.Fragment, { children: suggestions }) })
7917
+ showSearch && /* @__PURE__ */ (0, import_jsx_runtime129.jsx)(Textarea, { rows: 1, placeholder: "Ask or generate content with AI" }),
7918
+ suggestions && /* @__PURE__ */ (0, import_jsx_runtime129.jsxs)("div", { className: "k-prompt-expander", children: [
7919
+ /* @__PURE__ */ (0, import_jsx_runtime129.jsx)(IconTextButton, { fillMode: "flat", icon: "chevron-down", children: "Prompt Suggestions" }),
7920
+ /* @__PURE__ */ (0, import_jsx_runtime129.jsx)("div", { className: "k-prompt-expander-content", children: /* @__PURE__ */ (0, import_jsx_runtime129.jsx)(import_jsx_runtime129.Fragment, { children: suggestions }) })
7901
7921
  ] }),
7902
- settings && /* @__PURE__ */ (0, import_jsx_runtime128.jsxs)("div", { className: "k-prompt-expander", children: [
7903
- /* @__PURE__ */ (0, import_jsx_runtime128.jsx)(IconTextButton, { fillMode: "flat", icon: "chevron-down", children: "Settings" }),
7904
- /* @__PURE__ */ (0, import_jsx_runtime128.jsx)("div", { className: "k-prompt-expander-content", children: settings })
7922
+ settings && /* @__PURE__ */ (0, import_jsx_runtime129.jsxs)("div", { className: "k-prompt-expander", children: [
7923
+ /* @__PURE__ */ (0, import_jsx_runtime129.jsx)(IconTextButton, { fillMode: "flat", icon: "chevron-down", children: "Settings" }),
7924
+ /* @__PURE__ */ (0, import_jsx_runtime129.jsx)("div", { className: "k-prompt-expander-content", children: settings })
7905
7925
  ] }),
7906
- /* @__PURE__ */ (0, import_jsx_runtime128.jsx)(import_jsx_runtime128.Fragment, { children: props.children })
7926
+ props.children
7907
7927
  ]
7908
7928
  }
7909
7929
  );
7910
7930
  };
7911
7931
 
7912
7932
  // src/prompt/prompt-footer.tsx
7913
- var import_jsx_runtime129 = require("react/jsx-runtime");
7933
+ var import_jsx_runtime130 = require("react/jsx-runtime");
7914
7934
  var PROMPTFOOTER_CLASSNAME = `k-prompt-footer`;
7915
7935
  var PromptFooter = (props) => {
7916
7936
  const {
7917
7937
  ...other
7918
7938
  } = props;
7919
- return /* @__PURE__ */ (0, import_jsx_runtime129.jsx)(
7939
+ return /* @__PURE__ */ (0, import_jsx_runtime130.jsx)(
7920
7940
  "div",
7921
7941
  {
7922
7942
  ...other,
@@ -7930,13 +7950,13 @@ var PromptFooter = (props) => {
7930
7950
  };
7931
7951
 
7932
7952
  // src/prompt/prompt-suggestion.tsx
7933
- var import_jsx_runtime130 = require("react/jsx-runtime");
7953
+ var import_jsx_runtime131 = require("react/jsx-runtime");
7934
7954
  var PROMPTSUGGESTION_CLASSNAME = `k-prompt-suggestion`;
7935
7955
  var PromptSuggestion = (props) => {
7936
7956
  const {
7937
7957
  ...other
7938
7958
  } = props;
7939
- return /* @__PURE__ */ (0, import_jsx_runtime130.jsx)(
7959
+ return /* @__PURE__ */ (0, import_jsx_runtime131.jsx)(
7940
7960
  "div",
7941
7961
  {
7942
7962
  ...other,
@@ -7950,13 +7970,13 @@ var PromptSuggestion = (props) => {
7950
7970
  };
7951
7971
 
7952
7972
  // src/prompt/prompt-setting.tsx
7953
- var import_jsx_runtime131 = require("react/jsx-runtime");
7973
+ var import_jsx_runtime132 = require("react/jsx-runtime");
7954
7974
  var PROMPTSETTING_CLASSNAME = `k-prompt-setting`;
7955
7975
  var PromptSetting = (props) => {
7956
7976
  const {
7957
7977
  ...other
7958
7978
  } = props;
7959
- return /* @__PURE__ */ (0, import_jsx_runtime131.jsx)(
7979
+ return /* @__PURE__ */ (0, import_jsx_runtime132.jsx)(
7960
7980
  "div",
7961
7981
  {
7962
7982
  ...other,
@@ -7970,32 +7990,32 @@ var PromptSetting = (props) => {
7970
7990
  };
7971
7991
 
7972
7992
  // src/prompt/templates/prompt-suggestions.tsx
7973
- var import_jsx_runtime132 = require("react/jsx-runtime");
7974
- var PromptSuggestions = (props) => /* @__PURE__ */ (0, import_jsx_runtime132.jsxs)(Prompt, { ...props, children: [
7975
- /* @__PURE__ */ (0, import_jsx_runtime132.jsx)(PromptHeader, { children: /* @__PURE__ */ (0, import_jsx_runtime132.jsxs)(Toolbar, { className: "k-toolbar-flat", children: [
7976
- /* @__PURE__ */ (0, import_jsx_runtime132.jsx)(IconTextButton, { fillMode: "flat", themeColor: "primary", icon: "sparkles", rounded: "full", selected: true, children: "Ask AI" }),
7977
- /* @__PURE__ */ (0, import_jsx_runtime132.jsx)(IconTextButton, { fillMode: "flat", themeColor: "primary", icon: "comment", rounded: "full", children: "Output" }),
7978
- /* @__PURE__ */ (0, import_jsx_runtime132.jsx)(IconButton, { fillMode: "flat", themeColor: "primary", icon: "more-horizontal", rounded: "full" })
7993
+ var import_jsx_runtime133 = require("react/jsx-runtime");
7994
+ var PromptSuggestions = (props) => /* @__PURE__ */ (0, import_jsx_runtime133.jsxs)(Prompt, { ...props, children: [
7995
+ /* @__PURE__ */ (0, import_jsx_runtime133.jsx)(PromptHeader, { children: /* @__PURE__ */ (0, import_jsx_runtime133.jsxs)(Toolbar, { className: "k-toolbar-flat", children: [
7996
+ /* @__PURE__ */ (0, import_jsx_runtime133.jsx)(IconTextButton, { fillMode: "flat", themeColor: "primary", icon: "sparkles", rounded: "full", selected: true, children: "Ask AI" }),
7997
+ /* @__PURE__ */ (0, import_jsx_runtime133.jsx)(IconTextButton, { fillMode: "flat", themeColor: "primary", icon: "comment", rounded: "full", children: "Output" }),
7998
+ /* @__PURE__ */ (0, import_jsx_runtime133.jsx)(IconButton, { fillMode: "flat", themeColor: "primary", icon: "more-horizontal", rounded: "full" })
7979
7999
  ] }) }),
7980
- /* @__PURE__ */ (0, import_jsx_runtime132.jsx)(
7981
- PromptContent,
8000
+ /* @__PURE__ */ (0, import_jsx_runtime133.jsx)(PromptContent, { children: /* @__PURE__ */ (0, import_jsx_runtime133.jsx)(
8001
+ PromptView,
7982
8002
  {
7983
8003
  showSearch: true,
7984
- suggestions: /* @__PURE__ */ (0, import_jsx_runtime132.jsxs)(import_jsx_runtime132.Fragment, { children: [
7985
- /* @__PURE__ */ (0, import_jsx_runtime132.jsx)(PromptSuggestion, { children: "Suggestion 1" }),
7986
- /* @__PURE__ */ (0, import_jsx_runtime132.jsx)(PromptSuggestion, { children: "Suggestion 2" }),
7987
- /* @__PURE__ */ (0, import_jsx_runtime132.jsx)(PromptSuggestion, { children: "Suggestion 3" })
8004
+ suggestions: /* @__PURE__ */ (0, import_jsx_runtime133.jsxs)(import_jsx_runtime133.Fragment, { children: [
8005
+ /* @__PURE__ */ (0, import_jsx_runtime133.jsx)(PromptSuggestion, { children: "Suggestion 1" }),
8006
+ /* @__PURE__ */ (0, import_jsx_runtime133.jsx)(PromptSuggestion, { children: "Suggestion 2" }),
8007
+ /* @__PURE__ */ (0, import_jsx_runtime133.jsx)(PromptSuggestion, { children: "Suggestion 3" })
7988
8008
  ] })
7989
8009
  }
7990
- ),
7991
- /* @__PURE__ */ (0, import_jsx_runtime132.jsx)(PromptFooter, { children: /* @__PURE__ */ (0, import_jsx_runtime132.jsx)(ActionButtons, { className: "k-prompt-actions", alignment: "start", children: /* @__PURE__ */ (0, import_jsx_runtime132.jsx)(IconTextButton, { icon: "sparkles", themeColor: "primary", rounded: "full", children: "Generate" }) }) })
8010
+ ) }),
8011
+ /* @__PURE__ */ (0, import_jsx_runtime133.jsx)(PromptFooter, { children: /* @__PURE__ */ (0, import_jsx_runtime133.jsx)(ActionButtons, { className: "k-prompt-actions", alignment: "start", children: /* @__PURE__ */ (0, import_jsx_runtime133.jsx)(IconTextButton, { icon: "sparkles", themeColor: "primary", rounded: "full", children: "Generate" }) }) })
7992
8012
  ] });
7993
8013
 
7994
8014
  // src/chip/chip-action.tsx
7995
- var import_jsx_runtime133 = require("react/jsx-runtime");
8015
+ var import_jsx_runtime134 = require("react/jsx-runtime");
7996
8016
 
7997
8017
  // src/avatar/avatar.spec.tsx
7998
- var import_jsx_runtime134 = require("react/jsx-runtime");
8018
+ var import_jsx_runtime135 = require("react/jsx-runtime");
7999
8019
  var AVATAR_CLASSNAME = `k-avatar`;
8000
8020
  var states51 = [
8001
8021
  States.hover,
@@ -8040,7 +8060,7 @@ var Avatar = (props) => {
8040
8060
  border = defaultProps46.border,
8041
8061
  ...other
8042
8062
  } = props;
8043
- return /* @__PURE__ */ (0, import_jsx_runtime134.jsx)(
8063
+ return /* @__PURE__ */ (0, import_jsx_runtime135.jsx)(
8044
8064
  "div",
8045
8065
  {
8046
8066
  ...other,
@@ -8057,7 +8077,7 @@ var Avatar = (props) => {
8057
8077
  [`${AVATAR_CLASSNAME}-bordered`]: border
8058
8078
  }
8059
8079
  ),
8060
- children: /* @__PURE__ */ (0, import_jsx_runtime134.jsx)("span", { className: `${AVATAR_CLASSNAME}-${type}`, children: props.children })
8080
+ children: /* @__PURE__ */ (0, import_jsx_runtime135.jsx)("span", { className: `${AVATAR_CLASSNAME}-${type}`, children: props.children })
8061
8081
  }
8062
8082
  );
8063
8083
  };
@@ -8067,16 +8087,16 @@ Avatar.className = AVATAR_CLASSNAME;
8067
8087
  Avatar.defaultProps = defaultProps46;
8068
8088
 
8069
8089
  // src/avatar/templates/avatar-icon.tsx
8070
- var import_jsx_runtime135 = require("react/jsx-runtime");
8090
+ var import_jsx_runtime136 = require("react/jsx-runtime");
8071
8091
 
8072
8092
  // src/avatar/templates/avatar-text.tsx
8073
- var import_jsx_runtime136 = require("react/jsx-runtime");
8093
+ var import_jsx_runtime137 = require("react/jsx-runtime");
8074
8094
 
8075
8095
  // src/avatar/templates/avatar-image.tsx
8076
- var import_jsx_runtime137 = require("react/jsx-runtime");
8096
+ var import_jsx_runtime138 = require("react/jsx-runtime");
8077
8097
 
8078
8098
  // src/chip/chip.spec.tsx
8079
- var import_jsx_runtime138 = require("react/jsx-runtime");
8099
+ var import_jsx_runtime139 = require("react/jsx-runtime");
8080
8100
  var CHIP_CLASSNAME = `k-chip`;
8081
8101
  var states52 = [
8082
8102
  States.hover,
@@ -8120,7 +8140,7 @@ var Chip = (props) => {
8120
8140
  disabled,
8121
8141
  ...other
8122
8142
  } = props;
8123
- return /* @__PURE__ */ (0, import_jsx_runtime138.jsxs)(
8143
+ return /* @__PURE__ */ (0, import_jsx_runtime139.jsxs)(
8124
8144
  "div",
8125
8145
  {
8126
8146
  ...other,
@@ -8142,10 +8162,10 @@ var Chip = (props) => {
8142
8162
  })
8143
8163
  ),
8144
8164
  children: [
8145
- icon && /* @__PURE__ */ (0, import_jsx_runtime138.jsx)(Icon, { className: "k-chip-icon", icon, size: "small" }),
8146
- showAvatar && /* @__PURE__ */ (0, import_jsx_runtime138.jsx)(Avatar, { className: "k-chip-avatar", type: "image", children: /* @__PURE__ */ (0, import_jsx_runtime138.jsx)("img", { src: "/packages/html/assets/avatar.jpg" }) }),
8147
- /* @__PURE__ */ (0, import_jsx_runtime138.jsx)("span", { className: "k-chip-content", children: props.children ? props.children : text && /* @__PURE__ */ (0, import_jsx_runtime138.jsx)("span", { className: "k-chip-label k-text-ellipsis", children: text }) }),
8148
- actions && /* @__PURE__ */ (0, import_jsx_runtime138.jsx)("span", { className: "k-chip-actions", children: actions })
8165
+ icon && /* @__PURE__ */ (0, import_jsx_runtime139.jsx)(Icon, { className: "k-chip-icon", icon, size: "small" }),
8166
+ showAvatar && /* @__PURE__ */ (0, import_jsx_runtime139.jsx)(Avatar, { className: "k-chip-avatar", type: "image", children: /* @__PURE__ */ (0, import_jsx_runtime139.jsx)("img", { src: "/packages/html/assets/avatar.jpg" }) }),
8167
+ /* @__PURE__ */ (0, import_jsx_runtime139.jsx)("span", { className: "k-chip-content", children: props.children ? props.children : text && /* @__PURE__ */ (0, import_jsx_runtime139.jsx)("span", { className: "k-chip-label k-text-ellipsis", children: text }) }),
8168
+ actions && /* @__PURE__ */ (0, import_jsx_runtime139.jsx)("span", { className: "k-chip-actions", children: actions })
8149
8169
  ]
8150
8170
  }
8151
8171
  );
@@ -8156,7 +8176,7 @@ Chip.className = CHIP_CLASSNAME;
8156
8176
  Chip.defaultProps = defaultProps47;
8157
8177
 
8158
8178
  // src/chip/chip-list.spec.tsx
8159
- var import_jsx_runtime139 = require("react/jsx-runtime");
8179
+ var import_jsx_runtime140 = require("react/jsx-runtime");
8160
8180
  var CHIPLIST_CLASSNAME = `k-chip-list`;
8161
8181
  var states53 = [];
8162
8182
  var options51 = {
@@ -8170,7 +8190,7 @@ var ChipList = (props) => {
8170
8190
  size = defaultProps48.size,
8171
8191
  ...other
8172
8192
  } = props;
8173
- return /* @__PURE__ */ (0, import_jsx_runtime139.jsx)(
8193
+ return /* @__PURE__ */ (0, import_jsx_runtime140.jsx)(
8174
8194
  "div",
8175
8195
  {
8176
8196
  ...other,
@@ -8191,63 +8211,63 @@ ChipList.className = CHIPLIST_CLASSNAME;
8191
8211
  ChipList.defaultProps = defaultProps48;
8192
8212
 
8193
8213
  // src/chip/templates/chip-avatar.tsx
8194
- var import_jsx_runtime140 = require("react/jsx-runtime");
8214
+ var import_jsx_runtime141 = require("react/jsx-runtime");
8195
8215
 
8196
8216
  // src/chip/templates/chip-icon.tsx
8197
- var import_jsx_runtime141 = require("react/jsx-runtime");
8217
+ var import_jsx_runtime142 = require("react/jsx-runtime");
8198
8218
 
8199
8219
  // src/chip/templates/chip-normal.tsx
8200
- var import_jsx_runtime142 = require("react/jsx-runtime");
8220
+ var import_jsx_runtime143 = require("react/jsx-runtime");
8201
8221
 
8202
8222
  // src/chip/templates/chip-removable.tsx
8203
- var import_jsx_runtime143 = require("react/jsx-runtime");
8223
+ var import_jsx_runtime144 = require("react/jsx-runtime");
8204
8224
 
8205
8225
  // src/prompt/templates/prompt-settings.tsx
8206
- var import_jsx_runtime144 = require("react/jsx-runtime");
8207
- var PromptSettings = (props) => /* @__PURE__ */ (0, import_jsx_runtime144.jsxs)(Prompt, { ...props, children: [
8208
- /* @__PURE__ */ (0, import_jsx_runtime144.jsx)(PromptHeader, { children: /* @__PURE__ */ (0, import_jsx_runtime144.jsxs)(Toolbar, { className: "k-toolbar-flat", children: [
8209
- /* @__PURE__ */ (0, import_jsx_runtime144.jsx)(IconTextButton, { fillMode: "flat", themeColor: "primary", icon: "sparkles", rounded: "full", selected: true, children: "Ask AI" }),
8210
- /* @__PURE__ */ (0, import_jsx_runtime144.jsx)(IconTextButton, { fillMode: "flat", themeColor: "primary", icon: "comment", rounded: "full", children: "Output" }),
8211
- /* @__PURE__ */ (0, import_jsx_runtime144.jsx)(IconButton, { fillMode: "flat", themeColor: "primary", icon: "more-horizontal", rounded: "full" })
8226
+ var import_jsx_runtime145 = require("react/jsx-runtime");
8227
+ var PromptSettings = (props) => /* @__PURE__ */ (0, import_jsx_runtime145.jsxs)(Prompt, { ...props, children: [
8228
+ /* @__PURE__ */ (0, import_jsx_runtime145.jsx)(PromptHeader, { children: /* @__PURE__ */ (0, import_jsx_runtime145.jsxs)(Toolbar, { className: "k-toolbar-flat", children: [
8229
+ /* @__PURE__ */ (0, import_jsx_runtime145.jsx)(IconTextButton, { fillMode: "flat", themeColor: "primary", icon: "sparkles", rounded: "full", selected: true, children: "Ask AI" }),
8230
+ /* @__PURE__ */ (0, import_jsx_runtime145.jsx)(IconTextButton, { fillMode: "flat", themeColor: "primary", icon: "comment", rounded: "full", children: "Output" }),
8231
+ /* @__PURE__ */ (0, import_jsx_runtime145.jsx)(IconButton, { fillMode: "flat", themeColor: "primary", icon: "more-horizontal", rounded: "full" })
8212
8232
  ] }) }),
8213
- /* @__PURE__ */ (0, import_jsx_runtime144.jsx)(
8214
- PromptContent,
8233
+ /* @__PURE__ */ (0, import_jsx_runtime145.jsx)(PromptContent, { children: /* @__PURE__ */ (0, import_jsx_runtime145.jsx)(
8234
+ PromptView,
8215
8235
  {
8216
8236
  showSearch: true,
8217
- settings: /* @__PURE__ */ (0, import_jsx_runtime144.jsxs)(import_jsx_runtime144.Fragment, { children: [
8218
- /* @__PURE__ */ (0, import_jsx_runtime144.jsxs)(PromptSetting, { children: [
8237
+ settings: /* @__PURE__ */ (0, import_jsx_runtime145.jsxs)(import_jsx_runtime145.Fragment, { children: [
8238
+ /* @__PURE__ */ (0, import_jsx_runtime145.jsxs)(PromptSetting, { children: [
8219
8239
  "Length:",
8220
- /* @__PURE__ */ (0, import_jsx_runtime144.jsxs)(ChipList, { children: [
8221
- /* @__PURE__ */ (0, import_jsx_runtime144.jsx)(Chip, { text: "Small" }),
8222
- /* @__PURE__ */ (0, import_jsx_runtime144.jsx)(Chip, { text: "Medium" }),
8223
- /* @__PURE__ */ (0, import_jsx_runtime144.jsx)(Chip, { text: "Large" })
8240
+ /* @__PURE__ */ (0, import_jsx_runtime145.jsxs)(ChipList, { children: [
8241
+ /* @__PURE__ */ (0, import_jsx_runtime145.jsx)(Chip, { text: "Small" }),
8242
+ /* @__PURE__ */ (0, import_jsx_runtime145.jsx)(Chip, { text: "Medium" }),
8243
+ /* @__PURE__ */ (0, import_jsx_runtime145.jsx)(Chip, { text: "Large" })
8224
8244
  ] })
8225
8245
  ] }),
8226
- /* @__PURE__ */ (0, import_jsx_runtime144.jsxs)(PromptSetting, { children: [
8246
+ /* @__PURE__ */ (0, import_jsx_runtime145.jsxs)(PromptSetting, { children: [
8227
8247
  "Tone:",
8228
- /* @__PURE__ */ (0, import_jsx_runtime144.jsxs)(ChipList, { children: [
8229
- /* @__PURE__ */ (0, import_jsx_runtime144.jsx)(Chip, { text: "Professional" }),
8230
- /* @__PURE__ */ (0, import_jsx_runtime144.jsx)(Chip, { text: "Friendly" }),
8231
- /* @__PURE__ */ (0, import_jsx_runtime144.jsx)(Chip, { text: "Casual" }),
8232
- /* @__PURE__ */ (0, import_jsx_runtime144.jsx)(Chip, { text: "Straightforward" }),
8233
- /* @__PURE__ */ (0, import_jsx_runtime144.jsx)(Chip, { text: "Confident" })
8248
+ /* @__PURE__ */ (0, import_jsx_runtime145.jsxs)(ChipList, { children: [
8249
+ /* @__PURE__ */ (0, import_jsx_runtime145.jsx)(Chip, { text: "Professional" }),
8250
+ /* @__PURE__ */ (0, import_jsx_runtime145.jsx)(Chip, { text: "Friendly" }),
8251
+ /* @__PURE__ */ (0, import_jsx_runtime145.jsx)(Chip, { text: "Casual" }),
8252
+ /* @__PURE__ */ (0, import_jsx_runtime145.jsx)(Chip, { text: "Straightforward" }),
8253
+ /* @__PURE__ */ (0, import_jsx_runtime145.jsx)(Chip, { text: "Confident" })
8234
8254
  ] })
8235
8255
  ] })
8236
8256
  ] })
8237
8257
  }
8238
- ),
8239
- /* @__PURE__ */ (0, import_jsx_runtime144.jsx)(PromptFooter, { children: /* @__PURE__ */ (0, import_jsx_runtime144.jsx)(ActionButtons, { className: "k-prompt-actions", alignment: "start", children: /* @__PURE__ */ (0, import_jsx_runtime144.jsx)(IconTextButton, { icon: "sparkles", themeColor: "primary", rounded: "full", children: "Generate" }) }) })
8258
+ ) }),
8259
+ /* @__PURE__ */ (0, import_jsx_runtime145.jsx)(PromptFooter, { children: /* @__PURE__ */ (0, import_jsx_runtime145.jsx)(ActionButtons, { className: "k-prompt-actions", alignment: "start", children: /* @__PURE__ */ (0, import_jsx_runtime145.jsx)(IconTextButton, { icon: "sparkles", themeColor: "primary", rounded: "full", children: "Generate" }) }) })
8240
8260
  ] });
8241
8261
 
8242
8262
  // src/card/card-callout.tsx
8243
- var import_jsx_runtime145 = require("react/jsx-runtime");
8263
+ var import_jsx_runtime146 = require("react/jsx-runtime");
8244
8264
  var CARDCALLOUT_CLASSNAME = `k-card-callout`;
8245
8265
  var CardCallout = (props) => {
8246
8266
  const {
8247
8267
  callout,
8248
8268
  ...other
8249
8269
  } = props;
8250
- return /* @__PURE__ */ (0, import_jsx_runtime145.jsx)(
8270
+ return /* @__PURE__ */ (0, import_jsx_runtime146.jsx)(
8251
8271
  "span",
8252
8272
  {
8253
8273
  ...other,
@@ -8263,7 +8283,7 @@ var CardCallout = (props) => {
8263
8283
  };
8264
8284
 
8265
8285
  // src/card/card.spec.tsx
8266
- var import_jsx_runtime146 = require("react/jsx-runtime");
8286
+ var import_jsx_runtime147 = require("react/jsx-runtime");
8267
8287
  var CARD_CLASSNAME = `k-card`;
8268
8288
  var states54 = [
8269
8289
  States.hover,
@@ -8292,7 +8312,7 @@ var Card = (props) => {
8292
8312
  disabled,
8293
8313
  ...other
8294
8314
  } = props;
8295
- return /* @__PURE__ */ (0, import_jsx_runtime146.jsxs)(
8315
+ return /* @__PURE__ */ (0, import_jsx_runtime147.jsxs)(
8296
8316
  "div",
8297
8317
  {
8298
8318
  ...other,
@@ -8314,8 +8334,8 @@ var Card = (props) => {
8314
8334
  }
8315
8335
  ),
8316
8336
  children: [
8317
- callout && callout !== "true" && /* @__PURE__ */ (0, import_jsx_runtime146.jsx)(CardCallout, { callout }),
8318
- /* @__PURE__ */ (0, import_jsx_runtime146.jsx)(import_jsx_runtime146.Fragment, { children: props.children })
8337
+ callout && callout !== "true" && /* @__PURE__ */ (0, import_jsx_runtime147.jsx)(CardCallout, { callout }),
8338
+ /* @__PURE__ */ (0, import_jsx_runtime147.jsx)(import_jsx_runtime147.Fragment, { children: props.children })
8319
8339
  ]
8320
8340
  }
8321
8341
  );
@@ -8326,78 +8346,78 @@ Card.className = CARD_CLASSNAME;
8326
8346
  Card.defaultProps = defaultProps49;
8327
8347
 
8328
8348
  // src/card/card-title.tsx
8329
- var import_jsx_runtime147 = require("react/jsx-runtime");
8349
+ var import_jsx_runtime148 = require("react/jsx-runtime");
8330
8350
  var states55 = [
8331
8351
  States.hover,
8332
8352
  States.focus
8333
8353
  ];
8334
8354
 
8335
8355
  // src/card/card-subtitle.tsx
8336
- var import_jsx_runtime148 = require("react/jsx-runtime");
8356
+ var import_jsx_runtime149 = require("react/jsx-runtime");
8337
8357
 
8338
8358
  // src/card/card-media.tsx
8339
- var import_jsx_runtime149 = require("react/jsx-runtime");
8359
+ var import_jsx_runtime150 = require("react/jsx-runtime");
8340
8360
 
8341
8361
  // src/card/card-header.tsx
8342
- var import_jsx_runtime150 = require("react/jsx-runtime");
8362
+ var import_jsx_runtime151 = require("react/jsx-runtime");
8343
8363
 
8344
8364
  // src/card/card-footer.tsx
8345
- var import_jsx_runtime151 = require("react/jsx-runtime");
8365
+ var import_jsx_runtime152 = require("react/jsx-runtime");
8346
8366
 
8347
8367
  // src/card/card-body.tsx
8348
- var import_jsx_runtime152 = require("react/jsx-runtime");
8368
+ var import_jsx_runtime153 = require("react/jsx-runtime");
8349
8369
 
8350
8370
  // src/card/card-deck.tsx
8351
- var import_jsx_runtime153 = require("react/jsx-runtime");
8371
+ var import_jsx_runtime154 = require("react/jsx-runtime");
8352
8372
 
8353
8373
  // src/card/templates/card-normal.tsx
8354
- var import_jsx_runtime154 = require("react/jsx-runtime");
8374
+ var import_jsx_runtime155 = require("react/jsx-runtime");
8355
8375
 
8356
8376
  // src/card/templates/card-horizontal.tsx
8357
- var import_jsx_runtime155 = require("react/jsx-runtime");
8377
+ var import_jsx_runtime156 = require("react/jsx-runtime");
8358
8378
 
8359
8379
  // src/prompt/templates/prompt-output.tsx
8360
- var import_jsx_runtime156 = require("react/jsx-runtime");
8380
+ var import_jsx_runtime157 = require("react/jsx-runtime");
8361
8381
 
8362
8382
  // src/prompt/templates/prompt-more-actions.tsx
8363
- var import_jsx_runtime157 = require("react/jsx-runtime");
8383
+ var import_jsx_runtime158 = require("react/jsx-runtime");
8364
8384
 
8365
8385
  // src/prompt/templates/prompt-popup.tsx
8366
- var import_jsx_runtime158 = require("react/jsx-runtime");
8386
+ var import_jsx_runtime159 = require("react/jsx-runtime");
8367
8387
 
8368
8388
  // src/prompt/templates/prompt-normal.tsx
8369
- var import_jsx_runtime159 = require("react/jsx-runtime");
8370
- var PromptNormal = (props) => /* @__PURE__ */ (0, import_jsx_runtime159.jsxs)(
8389
+ var import_jsx_runtime160 = require("react/jsx-runtime");
8390
+ var PromptNormal = (props) => /* @__PURE__ */ (0, import_jsx_runtime160.jsxs)(
8371
8391
  Prompt,
8372
8392
  {
8373
8393
  ...props,
8374
8394
  children: [
8375
- /* @__PURE__ */ (0, import_jsx_runtime159.jsx)(PromptHeader, { children: /* @__PURE__ */ (0, import_jsx_runtime159.jsxs)(Toolbar, { className: "k-toolbar-flat", children: [
8376
- /* @__PURE__ */ (0, import_jsx_runtime159.jsx)(IconTextButton, { fillMode: "flat", themeColor: "primary", icon: "sparkles", rounded: "full", selected: true, children: "Ask AI" }),
8377
- /* @__PURE__ */ (0, import_jsx_runtime159.jsx)(IconTextButton, { fillMode: "flat", themeColor: "primary", icon: "comment", rounded: "full", children: "Output" }),
8378
- /* @__PURE__ */ (0, import_jsx_runtime159.jsx)(IconButton, { fillMode: "flat", themeColor: "primary", icon: "more-horizontal", rounded: "full" })
8395
+ /* @__PURE__ */ (0, import_jsx_runtime160.jsx)(PromptHeader, { children: /* @__PURE__ */ (0, import_jsx_runtime160.jsxs)(Toolbar, { className: "k-toolbar-flat", children: [
8396
+ /* @__PURE__ */ (0, import_jsx_runtime160.jsx)(IconTextButton, { fillMode: "flat", themeColor: "primary", icon: "sparkles", rounded: "full", selected: true, children: "Ask AI" }),
8397
+ /* @__PURE__ */ (0, import_jsx_runtime160.jsx)(IconTextButton, { fillMode: "flat", themeColor: "primary", icon: "comment", rounded: "full", children: "Output" }),
8398
+ /* @__PURE__ */ (0, import_jsx_runtime160.jsx)(IconButton, { fillMode: "flat", themeColor: "primary", icon: "more-horizontal", rounded: "full" })
8379
8399
  ] }) }),
8380
- /* @__PURE__ */ (0, import_jsx_runtime159.jsx)(PromptContent, { showSearch: true }),
8381
- /* @__PURE__ */ (0, import_jsx_runtime159.jsx)(PromptFooter, { children: /* @__PURE__ */ (0, import_jsx_runtime159.jsx)(ActionButtons, { className: "k-prompt-actions", alignment: "start", children: /* @__PURE__ */ (0, import_jsx_runtime159.jsx)(IconTextButton, { icon: "sparkles", themeColor: "primary", rounded: "full", children: "Generate" }) }) })
8400
+ /* @__PURE__ */ (0, import_jsx_runtime160.jsx)(PromptContent, { children: /* @__PURE__ */ (0, import_jsx_runtime160.jsx)(PromptView, { showSearch: true }) }),
8401
+ /* @__PURE__ */ (0, import_jsx_runtime160.jsx)(PromptFooter, { children: /* @__PURE__ */ (0, import_jsx_runtime160.jsx)(ActionButtons, { className: "k-prompt-actions", alignment: "start", children: /* @__PURE__ */ (0, import_jsx_runtime160.jsx)(IconTextButton, { icon: "sparkles", themeColor: "primary", rounded: "full", children: "Generate" }) }) })
8382
8402
  ]
8383
8403
  }
8384
8404
  );
8385
8405
 
8386
8406
  // src/prompt/tests/prompt-normal.tsx
8387
- var import_jsx_runtime160 = require("react/jsx-runtime");
8407
+ var import_jsx_runtime161 = require("react/jsx-runtime");
8388
8408
  var styles = `
8389
8409
  .k-animation-container {
8390
8410
  position: relative;
8391
8411
  }
8392
8412
  `;
8393
- var prompt_normal_default = () => /* @__PURE__ */ (0, import_jsx_runtime160.jsxs)(import_jsx_runtime160.Fragment, { children: [
8394
- /* @__PURE__ */ (0, import_jsx_runtime160.jsx)("style", { children: styles }),
8395
- /* @__PURE__ */ (0, import_jsx_runtime160.jsxs)("div", { id: "test-area", className: "k-d-grid k-grid-cols-3", children: [
8396
- /* @__PURE__ */ (0, import_jsx_runtime160.jsx)("span", { children: "Search" }),
8397
- /* @__PURE__ */ (0, import_jsx_runtime160.jsx)("span", { children: "Suggestions" }),
8398
- /* @__PURE__ */ (0, import_jsx_runtime160.jsx)("span", { children: "Settings" }),
8399
- /* @__PURE__ */ (0, import_jsx_runtime160.jsx)("div", { children: /* @__PURE__ */ (0, import_jsx_runtime160.jsx)(Popup, { className: "k-prompt-popup", children: /* @__PURE__ */ (0, import_jsx_runtime160.jsx)(PromptNormal, {}) }) }),
8400
- /* @__PURE__ */ (0, import_jsx_runtime160.jsx)("div", { children: /* @__PURE__ */ (0, import_jsx_runtime160.jsx)(Popup, { className: "k-prompt-popup", children: /* @__PURE__ */ (0, import_jsx_runtime160.jsx)(PromptSuggestions, {}) }) }),
8401
- /* @__PURE__ */ (0, import_jsx_runtime160.jsx)("div", { children: /* @__PURE__ */ (0, import_jsx_runtime160.jsx)(Popup, { className: "k-prompt-popup", children: /* @__PURE__ */ (0, import_jsx_runtime160.jsx)(PromptSettings, {}) }) })
8413
+ var prompt_normal_default = () => /* @__PURE__ */ (0, import_jsx_runtime161.jsxs)(import_jsx_runtime161.Fragment, { children: [
8414
+ /* @__PURE__ */ (0, import_jsx_runtime161.jsx)("style", { children: styles }),
8415
+ /* @__PURE__ */ (0, import_jsx_runtime161.jsxs)("div", { id: "test-area", className: "k-d-grid k-grid-cols-3", children: [
8416
+ /* @__PURE__ */ (0, import_jsx_runtime161.jsx)("span", { children: "Search" }),
8417
+ /* @__PURE__ */ (0, import_jsx_runtime161.jsx)("span", { children: "Suggestions" }),
8418
+ /* @__PURE__ */ (0, import_jsx_runtime161.jsx)("span", { children: "Settings" }),
8419
+ /* @__PURE__ */ (0, import_jsx_runtime161.jsx)("div", { children: /* @__PURE__ */ (0, import_jsx_runtime161.jsx)(Popup, { className: "k-prompt-popup", children: /* @__PURE__ */ (0, import_jsx_runtime161.jsx)(PromptNormal, {}) }) }),
8420
+ /* @__PURE__ */ (0, import_jsx_runtime161.jsx)("div", { children: /* @__PURE__ */ (0, import_jsx_runtime161.jsx)(Popup, { className: "k-prompt-popup", children: /* @__PURE__ */ (0, import_jsx_runtime161.jsx)(PromptSuggestions, {}) }) }),
8421
+ /* @__PURE__ */ (0, import_jsx_runtime161.jsx)("div", { children: /* @__PURE__ */ (0, import_jsx_runtime161.jsx)(Popup, { className: "k-prompt-popup", children: /* @__PURE__ */ (0, import_jsx_runtime161.jsx)(PromptSettings, {}) }) })
8402
8422
  ] })
8403
8423
  ] });