@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,62 +7893,62 @@ 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
 
7915
7935
  // src/prompt/prompt-suggestion.tsx
7916
- var import_jsx_runtime130 = require("react/jsx-runtime");
7936
+ var import_jsx_runtime131 = require("react/jsx-runtime");
7917
7937
 
7918
7938
  // src/prompt/prompt-setting.tsx
7919
- var import_jsx_runtime131 = require("react/jsx-runtime");
7939
+ var import_jsx_runtime132 = require("react/jsx-runtime");
7920
7940
 
7921
7941
  // src/prompt/templates/prompt-normal.tsx
7922
- var import_jsx_runtime132 = require("react/jsx-runtime");
7942
+ var import_jsx_runtime133 = require("react/jsx-runtime");
7923
7943
 
7924
7944
  // src/prompt/templates/prompt-suggestions.tsx
7925
- var import_jsx_runtime133 = require("react/jsx-runtime");
7945
+ var import_jsx_runtime134 = require("react/jsx-runtime");
7926
7946
 
7927
7947
  // src/chip/chip-action.tsx
7928
- var import_jsx_runtime134 = require("react/jsx-runtime");
7948
+ var import_jsx_runtime135 = require("react/jsx-runtime");
7929
7949
 
7930
7950
  // src/avatar/avatar.spec.tsx
7931
- var import_jsx_runtime135 = require("react/jsx-runtime");
7951
+ var import_jsx_runtime136 = require("react/jsx-runtime");
7932
7952
  var AVATAR_CLASSNAME = `k-avatar`;
7933
7953
  var states51 = [
7934
7954
  States.hover,
@@ -7973,7 +7993,7 @@ var Avatar = (props) => {
7973
7993
  border = defaultProps46.border,
7974
7994
  ...other
7975
7995
  } = props;
7976
- return /* @__PURE__ */ (0, import_jsx_runtime135.jsx)(
7996
+ return /* @__PURE__ */ (0, import_jsx_runtime136.jsx)(
7977
7997
  "div",
7978
7998
  {
7979
7999
  ...other,
@@ -7990,7 +8010,7 @@ var Avatar = (props) => {
7990
8010
  [`${AVATAR_CLASSNAME}-bordered`]: border
7991
8011
  }
7992
8012
  ),
7993
- children: /* @__PURE__ */ (0, import_jsx_runtime135.jsx)("span", { className: `${AVATAR_CLASSNAME}-${type}`, children: props.children })
8013
+ children: /* @__PURE__ */ (0, import_jsx_runtime136.jsx)("span", { className: `${AVATAR_CLASSNAME}-${type}`, children: props.children })
7994
8014
  }
7995
8015
  );
7996
8016
  };
@@ -8000,16 +8020,16 @@ Avatar.className = AVATAR_CLASSNAME;
8000
8020
  Avatar.defaultProps = defaultProps46;
8001
8021
 
8002
8022
  // src/avatar/templates/avatar-icon.tsx
8003
- var import_jsx_runtime136 = require("react/jsx-runtime");
8023
+ var import_jsx_runtime137 = require("react/jsx-runtime");
8004
8024
 
8005
8025
  // src/avatar/templates/avatar-text.tsx
8006
- var import_jsx_runtime137 = require("react/jsx-runtime");
8026
+ var import_jsx_runtime138 = require("react/jsx-runtime");
8007
8027
 
8008
8028
  // src/avatar/templates/avatar-image.tsx
8009
- var import_jsx_runtime138 = require("react/jsx-runtime");
8029
+ var import_jsx_runtime139 = require("react/jsx-runtime");
8010
8030
 
8011
8031
  // src/chip/chip.spec.tsx
8012
- var import_jsx_runtime139 = require("react/jsx-runtime");
8032
+ var import_jsx_runtime140 = require("react/jsx-runtime");
8013
8033
  var CHIP_CLASSNAME = `k-chip`;
8014
8034
  var states52 = [
8015
8035
  States.hover,
@@ -8053,7 +8073,7 @@ var Chip = (props) => {
8053
8073
  disabled,
8054
8074
  ...other
8055
8075
  } = props;
8056
- return /* @__PURE__ */ (0, import_jsx_runtime139.jsxs)(
8076
+ return /* @__PURE__ */ (0, import_jsx_runtime140.jsxs)(
8057
8077
  "div",
8058
8078
  {
8059
8079
  ...other,
@@ -8075,10 +8095,10 @@ var Chip = (props) => {
8075
8095
  })
8076
8096
  ),
8077
8097
  children: [
8078
- icon && /* @__PURE__ */ (0, import_jsx_runtime139.jsx)(Icon, { className: "k-chip-icon", icon, size: "small" }),
8079
- 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" }) }),
8080
- /* @__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 }) }),
8081
- actions && /* @__PURE__ */ (0, import_jsx_runtime139.jsx)("span", { className: "k-chip-actions", children: actions })
8098
+ icon && /* @__PURE__ */ (0, import_jsx_runtime140.jsx)(Icon, { className: "k-chip-icon", icon, size: "small" }),
8099
+ showAvatar && /* @__PURE__ */ (0, import_jsx_runtime140.jsx)(Avatar, { className: "k-chip-avatar", type: "image", children: /* @__PURE__ */ (0, import_jsx_runtime140.jsx)("img", { src: "/packages/html/assets/avatar.jpg" }) }),
8100
+ /* @__PURE__ */ (0, import_jsx_runtime140.jsx)("span", { className: "k-chip-content", children: props.children ? props.children : text && /* @__PURE__ */ (0, import_jsx_runtime140.jsx)("span", { className: "k-chip-label k-text-ellipsis", children: text }) }),
8101
+ actions && /* @__PURE__ */ (0, import_jsx_runtime140.jsx)("span", { className: "k-chip-actions", children: actions })
8082
8102
  ]
8083
8103
  }
8084
8104
  );
@@ -8089,7 +8109,7 @@ Chip.className = CHIP_CLASSNAME;
8089
8109
  Chip.defaultProps = defaultProps47;
8090
8110
 
8091
8111
  // src/chip/chip-list.spec.tsx
8092
- var import_jsx_runtime140 = require("react/jsx-runtime");
8112
+ var import_jsx_runtime141 = require("react/jsx-runtime");
8093
8113
  var CHIPLIST_CLASSNAME = `k-chip-list`;
8094
8114
  var states53 = [];
8095
8115
  var options51 = {
@@ -8103,7 +8123,7 @@ var ChipList = (props) => {
8103
8123
  size = defaultProps48.size,
8104
8124
  ...other
8105
8125
  } = props;
8106
- return /* @__PURE__ */ (0, import_jsx_runtime140.jsx)(
8126
+ return /* @__PURE__ */ (0, import_jsx_runtime141.jsx)(
8107
8127
  "div",
8108
8128
  {
8109
8129
  ...other,
@@ -8124,35 +8144,35 @@ ChipList.className = CHIPLIST_CLASSNAME;
8124
8144
  ChipList.defaultProps = defaultProps48;
8125
8145
 
8126
8146
  // src/chip/templates/chip-avatar.tsx
8127
- var import_jsx_runtime141 = require("react/jsx-runtime");
8147
+ var import_jsx_runtime142 = require("react/jsx-runtime");
8128
8148
 
8129
8149
  // src/chip/templates/chip-icon.tsx
8130
- var import_jsx_runtime142 = require("react/jsx-runtime");
8150
+ var import_jsx_runtime143 = require("react/jsx-runtime");
8131
8151
 
8132
8152
  // src/chip/templates/chip-normal.tsx
8133
- var import_jsx_runtime143 = require("react/jsx-runtime");
8153
+ var import_jsx_runtime144 = require("react/jsx-runtime");
8134
8154
 
8135
8155
  // src/chip/templates/chip-removable.tsx
8136
- var import_jsx_runtime144 = require("react/jsx-runtime");
8156
+ var import_jsx_runtime145 = require("react/jsx-runtime");
8137
8157
 
8138
8158
  // src/prompt/templates/prompt-settings.tsx
8139
- var import_jsx_runtime145 = require("react/jsx-runtime");
8159
+ var import_jsx_runtime146 = require("react/jsx-runtime");
8140
8160
 
8141
8161
  // src/prompt/templates/prompt-more-actions.tsx
8142
- var import_jsx_runtime146 = require("react/jsx-runtime");
8162
+ var import_jsx_runtime147 = require("react/jsx-runtime");
8143
8163
 
8144
8164
  // src/prompt/templates/prompt-popup.tsx
8145
- var import_jsx_runtime147 = require("react/jsx-runtime");
8165
+ var import_jsx_runtime148 = require("react/jsx-runtime");
8146
8166
 
8147
8167
  // src/card/card-callout.tsx
8148
- var import_jsx_runtime148 = require("react/jsx-runtime");
8168
+ var import_jsx_runtime149 = require("react/jsx-runtime");
8149
8169
  var CARDCALLOUT_CLASSNAME = `k-card-callout`;
8150
8170
  var CardCallout = (props) => {
8151
8171
  const {
8152
8172
  callout,
8153
8173
  ...other
8154
8174
  } = props;
8155
- return /* @__PURE__ */ (0, import_jsx_runtime148.jsx)(
8175
+ return /* @__PURE__ */ (0, import_jsx_runtime149.jsx)(
8156
8176
  "span",
8157
8177
  {
8158
8178
  ...other,
@@ -8168,7 +8188,7 @@ var CardCallout = (props) => {
8168
8188
  };
8169
8189
 
8170
8190
  // src/card/card.spec.tsx
8171
- var import_jsx_runtime149 = require("react/jsx-runtime");
8191
+ var import_jsx_runtime150 = require("react/jsx-runtime");
8172
8192
  var CARD_CLASSNAME = `k-card`;
8173
8193
  var states54 = [
8174
8194
  States.hover,
@@ -8197,7 +8217,7 @@ var Card = (props) => {
8197
8217
  disabled,
8198
8218
  ...other
8199
8219
  } = props;
8200
- return /* @__PURE__ */ (0, import_jsx_runtime149.jsxs)(
8220
+ return /* @__PURE__ */ (0, import_jsx_runtime150.jsxs)(
8201
8221
  "div",
8202
8222
  {
8203
8223
  ...other,
@@ -8219,8 +8239,8 @@ var Card = (props) => {
8219
8239
  }
8220
8240
  ),
8221
8241
  children: [
8222
- callout && callout !== "true" && /* @__PURE__ */ (0, import_jsx_runtime149.jsx)(CardCallout, { callout }),
8223
- /* @__PURE__ */ (0, import_jsx_runtime149.jsx)(import_jsx_runtime149.Fragment, { children: props.children })
8242
+ callout && callout !== "true" && /* @__PURE__ */ (0, import_jsx_runtime150.jsx)(CardCallout, { callout }),
8243
+ /* @__PURE__ */ (0, import_jsx_runtime150.jsx)(import_jsx_runtime150.Fragment, { children: props.children })
8224
8244
  ]
8225
8245
  }
8226
8246
  );
@@ -8231,7 +8251,7 @@ Card.className = CARD_CLASSNAME;
8231
8251
  Card.defaultProps = defaultProps49;
8232
8252
 
8233
8253
  // src/card/card-title.tsx
8234
- var import_jsx_runtime150 = require("react/jsx-runtime");
8254
+ var import_jsx_runtime151 = require("react/jsx-runtime");
8235
8255
  var CARDTITLE_CLASSNAME = `k-card-title`;
8236
8256
  var states55 = [
8237
8257
  States.hover,
@@ -8243,7 +8263,7 @@ var CardTitle = (props) => {
8243
8263
  focus,
8244
8264
  ...other
8245
8265
  } = props;
8246
- return /* @__PURE__ */ (0, import_jsx_runtime150.jsx)(
8266
+ return /* @__PURE__ */ (0, import_jsx_runtime151.jsx)(
8247
8267
  "div",
8248
8268
  {
8249
8269
  ...other,
@@ -8261,13 +8281,13 @@ var CardTitle = (props) => {
8261
8281
  };
8262
8282
 
8263
8283
  // src/card/card-subtitle.tsx
8264
- var import_jsx_runtime151 = require("react/jsx-runtime");
8284
+ var import_jsx_runtime152 = require("react/jsx-runtime");
8265
8285
  var CARDSUBTITLE_CLASSNAME = `k-card-subtitle`;
8266
8286
  var CardSubtitle = (props) => {
8267
8287
  const {
8268
8288
  ...other
8269
8289
  } = props;
8270
- return /* @__PURE__ */ (0, import_jsx_runtime151.jsx)(
8290
+ return /* @__PURE__ */ (0, import_jsx_runtime152.jsx)(
8271
8291
  "div",
8272
8292
  {
8273
8293
  ...other,
@@ -8281,10 +8301,10 @@ var CardSubtitle = (props) => {
8281
8301
  };
8282
8302
 
8283
8303
  // src/card/card-media.tsx
8284
- var import_jsx_runtime152 = require("react/jsx-runtime");
8304
+ var import_jsx_runtime153 = require("react/jsx-runtime");
8285
8305
 
8286
8306
  // src/card/card-header.tsx
8287
- var import_jsx_runtime153 = require("react/jsx-runtime");
8307
+ var import_jsx_runtime154 = require("react/jsx-runtime");
8288
8308
  var CARDHEADER_CLASSNAME = `k-card-header`;
8289
8309
  var CardHeader = (props) => {
8290
8310
  const {
@@ -8293,7 +8313,7 @@ var CardHeader = (props) => {
8293
8313
  details,
8294
8314
  ...other
8295
8315
  } = props;
8296
- return /* @__PURE__ */ (0, import_jsx_runtime153.jsxs)(
8316
+ return /* @__PURE__ */ (0, import_jsx_runtime154.jsxs)(
8297
8317
  "div",
8298
8318
  {
8299
8319
  ...other,
@@ -8302,10 +8322,10 @@ var CardHeader = (props) => {
8302
8322
  CARDHEADER_CLASSNAME
8303
8323
  ),
8304
8324
  children: [
8305
- title && /* @__PURE__ */ (0, import_jsx_runtime153.jsx)(CardTitle, { children: title }),
8306
- subtitle && /* @__PURE__ */ (0, import_jsx_runtime153.jsx)(CardSubtitle, { children: subtitle }),
8307
- /* @__PURE__ */ (0, import_jsx_runtime153.jsx)(import_jsx_runtime153.Fragment, { children: props.children }),
8308
- details && /* @__PURE__ */ (0, import_jsx_runtime153.jsx)("span", { className: "k-card-header-actions", children: /* @__PURE__ */ (0, import_jsx_runtime153.jsx)(
8325
+ title && /* @__PURE__ */ (0, import_jsx_runtime154.jsx)(CardTitle, { children: title }),
8326
+ subtitle && /* @__PURE__ */ (0, import_jsx_runtime154.jsx)(CardSubtitle, { children: subtitle }),
8327
+ /* @__PURE__ */ (0, import_jsx_runtime154.jsx)(import_jsx_runtime154.Fragment, { children: props.children }),
8328
+ details && /* @__PURE__ */ (0, import_jsx_runtime154.jsx)("span", { className: "k-card-header-actions", children: /* @__PURE__ */ (0, import_jsx_runtime154.jsx)(
8309
8329
  Button,
8310
8330
  {
8311
8331
  className: "k-card-details",
@@ -8322,10 +8342,10 @@ var CardHeader = (props) => {
8322
8342
  };
8323
8343
 
8324
8344
  // src/card/card-footer.tsx
8325
- var import_jsx_runtime154 = require("react/jsx-runtime");
8345
+ var import_jsx_runtime155 = require("react/jsx-runtime");
8326
8346
 
8327
8347
  // src/card/card-body.tsx
8328
- var import_jsx_runtime155 = require("react/jsx-runtime");
8348
+ var import_jsx_runtime156 = require("react/jsx-runtime");
8329
8349
  var CARDBODY_CLASSNAME = `k-card-body`;
8330
8350
  var CardBody = (props) => {
8331
8351
  const {
@@ -8334,7 +8354,7 @@ var CardBody = (props) => {
8334
8354
  details,
8335
8355
  ...other
8336
8356
  } = props;
8337
- return /* @__PURE__ */ (0, import_jsx_runtime155.jsxs)(
8357
+ return /* @__PURE__ */ (0, import_jsx_runtime156.jsxs)(
8338
8358
  "div",
8339
8359
  {
8340
8360
  ...other,
@@ -8343,10 +8363,10 @@ var CardBody = (props) => {
8343
8363
  CARDBODY_CLASSNAME
8344
8364
  ),
8345
8365
  children: [
8346
- title && /* @__PURE__ */ (0, import_jsx_runtime155.jsx)(CardTitle, { children: title }),
8347
- subtitle && /* @__PURE__ */ (0, import_jsx_runtime155.jsx)(CardSubtitle, { children: subtitle }),
8348
- /* @__PURE__ */ (0, import_jsx_runtime155.jsx)(import_jsx_runtime155.Fragment, { children: props.children }),
8349
- details && /* @__PURE__ */ (0, import_jsx_runtime155.jsx)("span", { className: "k-card-header-actions", children: /* @__PURE__ */ (0, import_jsx_runtime155.jsx)(
8366
+ title && /* @__PURE__ */ (0, import_jsx_runtime156.jsx)(CardTitle, { children: title }),
8367
+ subtitle && /* @__PURE__ */ (0, import_jsx_runtime156.jsx)(CardSubtitle, { children: subtitle }),
8368
+ /* @__PURE__ */ (0, import_jsx_runtime156.jsx)(import_jsx_runtime156.Fragment, { children: props.children }),
8369
+ details && /* @__PURE__ */ (0, import_jsx_runtime156.jsx)("span", { className: "k-card-header-actions", children: /* @__PURE__ */ (0, import_jsx_runtime156.jsx)(
8350
8370
  Button,
8351
8371
  {
8352
8372
  className: "k-card-details",
@@ -8363,52 +8383,52 @@ var CardBody = (props) => {
8363
8383
  };
8364
8384
 
8365
8385
  // src/card/card-deck.tsx
8366
- var import_jsx_runtime156 = require("react/jsx-runtime");
8386
+ var import_jsx_runtime157 = require("react/jsx-runtime");
8367
8387
 
8368
8388
  // src/card/templates/card-normal.tsx
8369
- var import_jsx_runtime157 = require("react/jsx-runtime");
8389
+ var import_jsx_runtime158 = require("react/jsx-runtime");
8370
8390
 
8371
8391
  // src/card/templates/card-horizontal.tsx
8372
- var import_jsx_runtime158 = require("react/jsx-runtime");
8392
+ var import_jsx_runtime159 = require("react/jsx-runtime");
8373
8393
 
8374
8394
  // src/prompt/templates/prompt-output.tsx
8375
- var import_jsx_runtime159 = require("react/jsx-runtime");
8376
- var PromptOutput = (props) => /* @__PURE__ */ (0, import_jsx_runtime159.jsxs)(
8395
+ var import_jsx_runtime160 = require("react/jsx-runtime");
8396
+ var PromptOutput = (props) => /* @__PURE__ */ (0, import_jsx_runtime160.jsxs)(
8377
8397
  Prompt,
8378
8398
  {
8379
8399
  ...props,
8380
8400
  children: [
8381
- /* @__PURE__ */ (0, import_jsx_runtime159.jsx)(PromptHeader, { children: /* @__PURE__ */ (0, import_jsx_runtime159.jsxs)(Toolbar, { className: "k-toolbar-flat", children: [
8382
- /* @__PURE__ */ (0, import_jsx_runtime159.jsx)(IconTextButton, { fillMode: "flat", themeColor: "primary", icon: "sparkles", rounded: "full", children: "Ask AI" }),
8383
- /* @__PURE__ */ (0, import_jsx_runtime159.jsx)(IconTextButton, { fillMode: "flat", themeColor: "primary", icon: "comment", rounded: "full", selected: true, children: "Output" }),
8384
- /* @__PURE__ */ (0, import_jsx_runtime159.jsx)(IconButton, { fillMode: "flat", themeColor: "primary", icon: "more-horizontal", rounded: "full" })
8401
+ /* @__PURE__ */ (0, import_jsx_runtime160.jsx)(PromptHeader, { children: /* @__PURE__ */ (0, import_jsx_runtime160.jsxs)(Toolbar, { className: "k-toolbar-flat", children: [
8402
+ /* @__PURE__ */ (0, import_jsx_runtime160.jsx)(IconTextButton, { fillMode: "flat", themeColor: "primary", icon: "sparkles", rounded: "full", children: "Ask AI" }),
8403
+ /* @__PURE__ */ (0, import_jsx_runtime160.jsx)(IconTextButton, { fillMode: "flat", themeColor: "primary", icon: "comment", rounded: "full", selected: true, children: "Output" }),
8404
+ /* @__PURE__ */ (0, import_jsx_runtime160.jsx)(IconButton, { fillMode: "flat", themeColor: "primary", icon: "more-horizontal", rounded: "full" })
8385
8405
  ] }) }),
8386
- /* @__PURE__ */ (0, import_jsx_runtime159.jsx)(PromptContent, { children: /* @__PURE__ */ (0, import_jsx_runtime159.jsxs)("div", { className: "k-card-list", children: [
8387
- /* @__PURE__ */ (0, import_jsx_runtime159.jsxs)(Card, { children: [
8388
- /* @__PURE__ */ (0, import_jsx_runtime159.jsx)(CardHeader, { title: "Card Title", subtitle: "Card Subtitle" }),
8389
- /* @__PURE__ */ (0, import_jsx_runtime159.jsx)(CardBody, { children: /* @__PURE__ */ (0, import_jsx_runtime159.jsx)("p", { children: "Some quick example text to build on the card title and make up the bulk of the card's content." }) }),
8390
- /* @__PURE__ */ (0, import_jsx_runtime159.jsxs)(ActionButtons, { className: "k-card-actions", alignment: "start", children: [
8391
- /* @__PURE__ */ (0, import_jsx_runtime159.jsx)(IconTextButton, { fillMode: "flat", themeColor: "primary", icon: "copy", children: "Copy" }),
8392
- /* @__PURE__ */ (0, import_jsx_runtime159.jsx)(IconTextButton, { fillMode: "flat", themeColor: "base", icon: "arrow-rotate-cw", children: "Retry" }),
8393
- /* @__PURE__ */ (0, import_jsx_runtime159.jsx)(IconButton, { fillMode: "flat", themeColor: "primary", icon: "more-horizontal" }),
8394
- /* @__PURE__ */ (0, import_jsx_runtime159.jsx)("span", { className: "k-spacer" }),
8395
- /* @__PURE__ */ (0, import_jsx_runtime159.jsx)(IconButton, { fillMode: "flat", themeColor: "base", icon: "thumb-up-outline" }),
8396
- /* @__PURE__ */ (0, import_jsx_runtime159.jsx)(IconButton, { fillMode: "flat", themeColor: "base", icon: "thumb-down-outline" })
8406
+ /* @__PURE__ */ (0, import_jsx_runtime160.jsx)(PromptContent, { children: /* @__PURE__ */ (0, import_jsx_runtime160.jsx)(PromptView, { children: /* @__PURE__ */ (0, import_jsx_runtime160.jsxs)("div", { className: "k-card-list", children: [
8407
+ /* @__PURE__ */ (0, import_jsx_runtime160.jsxs)(Card, { children: [
8408
+ /* @__PURE__ */ (0, import_jsx_runtime160.jsx)(CardHeader, { title: "Card Title", subtitle: "Card Subtitle" }),
8409
+ /* @__PURE__ */ (0, import_jsx_runtime160.jsx)(CardBody, { children: /* @__PURE__ */ (0, import_jsx_runtime160.jsx)("p", { children: "Some quick example text to build on the card title and make up the bulk of the card's content." }) }),
8410
+ /* @__PURE__ */ (0, import_jsx_runtime160.jsxs)(ActionButtons, { className: "k-card-actions", alignment: "start", children: [
8411
+ /* @__PURE__ */ (0, import_jsx_runtime160.jsx)(IconTextButton, { fillMode: "flat", themeColor: "primary", icon: "copy", children: "Copy" }),
8412
+ /* @__PURE__ */ (0, import_jsx_runtime160.jsx)(IconTextButton, { fillMode: "flat", themeColor: "base", icon: "arrow-rotate-cw", children: "Retry" }),
8413
+ /* @__PURE__ */ (0, import_jsx_runtime160.jsx)(IconButton, { fillMode: "flat", themeColor: "primary", icon: "more-horizontal" }),
8414
+ /* @__PURE__ */ (0, import_jsx_runtime160.jsx)("span", { className: "k-spacer" }),
8415
+ /* @__PURE__ */ (0, import_jsx_runtime160.jsx)(IconButton, { fillMode: "flat", themeColor: "base", icon: "thumb-up-outline" }),
8416
+ /* @__PURE__ */ (0, import_jsx_runtime160.jsx)(IconButton, { fillMode: "flat", themeColor: "base", icon: "thumb-down-outline" })
8397
8417
  ] })
8398
8418
  ] }),
8399
- /* @__PURE__ */ (0, import_jsx_runtime159.jsxs)(Card, { children: [
8400
- /* @__PURE__ */ (0, import_jsx_runtime159.jsx)(CardHeader, { title: "Card Title", subtitle: "Card Subtitle" }),
8401
- /* @__PURE__ */ (0, import_jsx_runtime159.jsx)(CardBody, { children: /* @__PURE__ */ (0, import_jsx_runtime159.jsx)("p", { children: "Some quick example text to build on the card title and make up the bulk of the card's content." }) }),
8402
- /* @__PURE__ */ (0, import_jsx_runtime159.jsxs)(ActionButtons, { className: "k-card-actions", alignment: "start", children: [
8403
- /* @__PURE__ */ (0, import_jsx_runtime159.jsx)(IconTextButton, { fillMode: "flat", themeColor: "primary", icon: "copy", children: "Copy" }),
8404
- /* @__PURE__ */ (0, import_jsx_runtime159.jsx)(IconTextButton, { fillMode: "flat", themeColor: "base", icon: "arrow-rotate-cw", children: "Retry" }),
8405
- /* @__PURE__ */ (0, import_jsx_runtime159.jsx)(IconButton, { fillMode: "flat", themeColor: "primary", icon: "more-horizontal" }),
8406
- /* @__PURE__ */ (0, import_jsx_runtime159.jsx)("span", { className: "k-spacer" }),
8407
- /* @__PURE__ */ (0, import_jsx_runtime159.jsx)(IconButton, { fillMode: "flat", themeColor: "base", icon: "thumb-up-outline" }),
8408
- /* @__PURE__ */ (0, import_jsx_runtime159.jsx)(IconButton, { fillMode: "flat", themeColor: "base", icon: "thumb-down-outline" })
8419
+ /* @__PURE__ */ (0, import_jsx_runtime160.jsxs)(Card, { children: [
8420
+ /* @__PURE__ */ (0, import_jsx_runtime160.jsx)(CardHeader, { title: "Card Title", subtitle: "Card Subtitle" }),
8421
+ /* @__PURE__ */ (0, import_jsx_runtime160.jsx)(CardBody, { children: /* @__PURE__ */ (0, import_jsx_runtime160.jsx)("p", { children: "Some quick example text to build on the card title and make up the bulk of the card's content." }) }),
8422
+ /* @__PURE__ */ (0, import_jsx_runtime160.jsxs)(ActionButtons, { className: "k-card-actions", alignment: "start", children: [
8423
+ /* @__PURE__ */ (0, import_jsx_runtime160.jsx)(IconTextButton, { fillMode: "flat", themeColor: "primary", icon: "copy", children: "Copy" }),
8424
+ /* @__PURE__ */ (0, import_jsx_runtime160.jsx)(IconTextButton, { fillMode: "flat", themeColor: "base", icon: "arrow-rotate-cw", children: "Retry" }),
8425
+ /* @__PURE__ */ (0, import_jsx_runtime160.jsx)(IconButton, { fillMode: "flat", themeColor: "primary", icon: "more-horizontal" }),
8426
+ /* @__PURE__ */ (0, import_jsx_runtime160.jsx)("span", { className: "k-spacer" }),
8427
+ /* @__PURE__ */ (0, import_jsx_runtime160.jsx)(IconButton, { fillMode: "flat", themeColor: "base", icon: "thumb-up-outline" }),
8428
+ /* @__PURE__ */ (0, import_jsx_runtime160.jsx)(IconButton, { fillMode: "flat", themeColor: "base", icon: "thumb-down-outline" })
8409
8429
  ] })
8410
8430
  ] })
8411
- ] }) })
8431
+ ] }) }) })
8412
8432
  ]
8413
8433
  }
8414
8434
  );