@progress/kendo-themes-html 14.4.0-dev.2 → 14.4.0-dev.3

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 (176) hide show
  1. package/dist/cjs/agent-response/agent-step.js +1 -0
  2. package/dist/cjs/agent-response/chain-of-thought.spec.js +1 -0
  3. package/dist/cjs/agent-response/reasoning.spec.js +1 -0
  4. package/dist/cjs/agent-response/templates/chain-of-thought-expanded.js +1 -0
  5. package/dist/cjs/agent-response/templates/chain-of-thought-normal.js +1 -0
  6. package/dist/cjs/agent-response/templates/reasoning-expanded.js +1 -0
  7. package/dist/cjs/agent-response/templates/reasoning-normal.js +1 -0
  8. package/dist/cjs/agent-response/templates/tool-call-expanded.js +1 -0
  9. package/dist/cjs/agent-response/templates/tool-call-normal.js +1 -0
  10. package/dist/cjs/agent-response/thought.spec.js +1 -0
  11. package/dist/cjs/agent-response/tool-call.spec.js +1 -0
  12. package/dist/cjs/checkpoint/checkpoint.spec.js +1 -0
  13. package/dist/cjs/checkpoint/templates/checkpoint-normal.js +1 -0
  14. package/dist/cjs/citation/citation-popover.spec.js +1 -0
  15. package/dist/cjs/citation/citation.spec.js +1 -0
  16. package/dist/cjs/citation/templates/citation-normal.js +1 -0
  17. package/dist/cjs/citation/templates/citation-opened.js +1 -0
  18. package/dist/cjs/datetime-selector/datetime-selector.spec.js +1 -1
  19. package/dist/cjs/datetimepicker/datetimepicker.spec.js +1 -1
  20. package/dist/cjs/datetimepicker/demos/datetimepicker.js +1 -1
  21. package/dist/cjs/datetimepicker/templates/datetimepicker-adaptive.js +1 -1
  22. package/dist/cjs/datetimepicker/templates/datetimepicker-disabled.js +1 -1
  23. package/dist/cjs/datetimepicker/templates/datetimepicker-invalid.js +1 -1
  24. package/dist/cjs/datetimepicker/templates/datetimepicker-normal.js +1 -1
  25. package/dist/cjs/datetimepicker/templates/datetimepicker-popup.js +1 -1
  26. package/dist/cjs/gantt/demos/gantt.js +1 -1
  27. package/dist/cjs/gantt/templates/gantt-normal.js +1 -1
  28. package/dist/cjs/gantt/templates/gantt-row-reordering.js +1 -1
  29. package/dist/cjs/gantt/templates/gantt-with-tooltip.js +1 -1
  30. package/dist/cjs/imageeditor/templates/imageeditor-crop.js +1 -1
  31. package/dist/cjs/imageeditor/templates/imageeditor-normal.js +1 -1
  32. package/dist/cjs/imageeditor/templates/imageeditor-resize.js +1 -1
  33. package/dist/cjs/index.js +8 -8
  34. package/dist/cjs/popover/popover.spec.js +1 -1
  35. package/dist/cjs/scheduler/demos/scheduler.js +1 -1
  36. package/dist/cjs/scheduler/scheduler-toolbar.spec.js +1 -1
  37. package/dist/cjs/scheduler/templates/scheduler-agenda.js +1 -1
  38. package/dist/cjs/scheduler/templates/scheduler-day.js +1 -1
  39. package/dist/cjs/scheduler/templates/scheduler-flex-agenda.js +1 -1
  40. package/dist/cjs/scheduler/templates/scheduler-flex-day.js +1 -1
  41. package/dist/cjs/scheduler/templates/scheduler-flex-horizontal-grouping.js +1 -1
  42. package/dist/cjs/scheduler/templates/scheduler-flex-month.js +1 -1
  43. package/dist/cjs/scheduler/templates/scheduler-flex-timeline.js +1 -1
  44. package/dist/cjs/scheduler/templates/scheduler-flex-vertical-grouping.js +1 -1
  45. package/dist/cjs/scheduler/templates/scheduler-flex-week.js +1 -1
  46. package/dist/cjs/scheduler/templates/scheduler-flex-year.js +1 -1
  47. package/dist/cjs/scheduler/templates/scheduler-horizontal-grouping.js +1 -1
  48. package/dist/cjs/scheduler/templates/scheduler-month.js +1 -1
  49. package/dist/cjs/scheduler/templates/scheduler-timeline.js +1 -1
  50. package/dist/cjs/scheduler/templates/scheduler-vertical-grouping.js +1 -1
  51. package/dist/cjs/scheduler/templates/scheduler-week.js +1 -1
  52. package/dist/cjs/segmented-control/segmented-control-button.spec.js +1 -1
  53. package/dist/cjs/segmented-control/templates/segmented-control-disabled.js +1 -1
  54. package/dist/cjs/segmented-control/templates/segmented-control-icons.js +1 -1
  55. package/dist/cjs/segmented-control/templates/segmented-control-normal.js +1 -1
  56. package/dist/cjs/segmented-control/templates/segmented-control-stretched.js +1 -1
  57. package/dist/cjs/segmented-control/templates/segmented-control-text.js +1 -1
  58. package/dist/esm/agent-response/agent-step.mjs +1 -0
  59. package/dist/esm/agent-response/chain-of-thought.spec.mjs +1 -0
  60. package/dist/esm/agent-response/reasoning.spec.mjs +1 -0
  61. package/dist/esm/agent-response/templates/chain-of-thought-expanded.mjs +1 -0
  62. package/dist/esm/agent-response/templates/chain-of-thought-normal.mjs +1 -0
  63. package/dist/esm/agent-response/templates/reasoning-expanded.mjs +1 -0
  64. package/dist/esm/agent-response/templates/reasoning-normal.mjs +1 -0
  65. package/dist/esm/agent-response/templates/tool-call-expanded.mjs +1 -0
  66. package/dist/esm/agent-response/templates/tool-call-normal.mjs +1 -0
  67. package/dist/esm/agent-response/thought.spec.mjs +1 -0
  68. package/dist/esm/agent-response/tool-call.spec.mjs +1 -0
  69. package/dist/esm/checkpoint/checkpoint.spec.mjs +1 -0
  70. package/dist/esm/checkpoint/templates/checkpoint-normal.mjs +1 -0
  71. package/dist/esm/citation/citation-popover.spec.mjs +1 -0
  72. package/dist/esm/citation/citation.spec.mjs +1 -0
  73. package/dist/esm/citation/templates/citation-normal.mjs +1 -0
  74. package/dist/esm/citation/templates/citation-opened.mjs +1 -0
  75. package/dist/esm/datetime-selector/datetime-selector.spec.mjs +1 -1
  76. package/dist/esm/datetimepicker/datetimepicker.spec.mjs +1 -1
  77. package/dist/esm/datetimepicker/demos/datetimepicker.mjs +1 -1
  78. package/dist/esm/datetimepicker/templates/datetimepicker-adaptive.mjs +1 -1
  79. package/dist/esm/datetimepicker/templates/datetimepicker-disabled.mjs +1 -1
  80. package/dist/esm/datetimepicker/templates/datetimepicker-invalid.mjs +1 -1
  81. package/dist/esm/datetimepicker/templates/datetimepicker-normal.mjs +1 -1
  82. package/dist/esm/datetimepicker/templates/datetimepicker-popup.mjs +1 -1
  83. package/dist/esm/gantt/demos/gantt.mjs +1 -1
  84. package/dist/esm/gantt/templates/gantt-normal.mjs +1 -1
  85. package/dist/esm/gantt/templates/gantt-row-reordering.mjs +1 -1
  86. package/dist/esm/gantt/templates/gantt-with-tooltip.mjs +1 -1
  87. package/dist/esm/imageeditor/templates/imageeditor-crop.mjs +1 -1
  88. package/dist/esm/imageeditor/templates/imageeditor-normal.mjs +1 -1
  89. package/dist/esm/imageeditor/templates/imageeditor-resize.mjs +1 -1
  90. package/dist/esm/index.mjs +8 -8
  91. package/dist/esm/popover/demos/popover.mjs +1 -1
  92. package/dist/esm/popover/popover.spec.mjs +1 -1
  93. package/dist/esm/popover/templates/popover-normal.mjs +1 -1
  94. package/dist/esm/scheduler/demos/scheduler.mjs +1 -1
  95. package/dist/esm/scheduler/scheduler-toolbar.spec.mjs +1 -1
  96. package/dist/esm/scheduler/templates/scheduler-agenda.mjs +1 -1
  97. package/dist/esm/scheduler/templates/scheduler-day.mjs +1 -1
  98. package/dist/esm/scheduler/templates/scheduler-flex-agenda.mjs +1 -1
  99. package/dist/esm/scheduler/templates/scheduler-flex-day.mjs +1 -1
  100. package/dist/esm/scheduler/templates/scheduler-flex-horizontal-grouping.mjs +1 -1
  101. package/dist/esm/scheduler/templates/scheduler-flex-month.mjs +1 -1
  102. package/dist/esm/scheduler/templates/scheduler-flex-timeline.mjs +1 -1
  103. package/dist/esm/scheduler/templates/scheduler-flex-vertical-grouping.mjs +1 -1
  104. package/dist/esm/scheduler/templates/scheduler-flex-week.mjs +1 -1
  105. package/dist/esm/scheduler/templates/scheduler-flex-year.mjs +1 -1
  106. package/dist/esm/scheduler/templates/scheduler-horizontal-grouping.mjs +1 -1
  107. package/dist/esm/scheduler/templates/scheduler-month.mjs +1 -1
  108. package/dist/esm/scheduler/templates/scheduler-timeline.mjs +1 -1
  109. package/dist/esm/scheduler/templates/scheduler-vertical-grouping.mjs +1 -1
  110. package/dist/esm/scheduler/templates/scheduler-week.mjs +1 -1
  111. package/dist/esm/segmented-control/segmented-control-button.spec.mjs +1 -1
  112. package/dist/esm/segmented-control/templates/segmented-control-disabled.mjs +1 -1
  113. package/dist/esm/segmented-control/templates/segmented-control-icons.mjs +1 -1
  114. package/dist/esm/segmented-control/templates/segmented-control-normal.mjs +1 -1
  115. package/dist/esm/segmented-control/templates/segmented-control-stretched.mjs +1 -1
  116. package/dist/esm/segmented-control/templates/segmented-control-text.mjs +1 -1
  117. package/dist/types/agent-response/agent-step.d.ts +48 -0
  118. package/dist/types/agent-response/chain-of-thought.spec.d.ts +20 -0
  119. package/dist/types/agent-response/constants.d.ts +2 -0
  120. package/dist/types/agent-response/index.d.ts +10 -0
  121. package/dist/types/agent-response/reasoning.spec.d.ts +20 -0
  122. package/dist/types/agent-response/templates/chain-of-thought-expanded.d.ts +1 -0
  123. package/dist/types/agent-response/templates/chain-of-thought-normal.d.ts +1 -0
  124. package/dist/types/agent-response/templates/reasoning-expanded.d.ts +1 -0
  125. package/dist/types/agent-response/templates/reasoning-normal.d.ts +1 -0
  126. package/dist/types/agent-response/templates/tool-call-expanded.d.ts +1 -0
  127. package/dist/types/agent-response/templates/tool-call-normal.d.ts +1 -0
  128. package/dist/types/agent-response/thought.spec.d.ts +33 -0
  129. package/dist/types/agent-response/tool-call.spec.d.ts +21 -0
  130. package/dist/types/checkpoint/checkpoint.spec.d.ts +18 -0
  131. package/dist/types/checkpoint/constants.d.ts +2 -0
  132. package/dist/types/checkpoint/index.d.ts +2 -0
  133. package/dist/types/checkpoint/templates/checkpoint-normal.d.ts +1 -0
  134. package/dist/types/citation/citation-popover.spec.d.ts +22 -0
  135. package/dist/types/citation/citation.spec.d.ts +16 -0
  136. package/dist/types/citation/constants.d.ts +2 -0
  137. package/dist/types/citation/index.d.ts +4 -0
  138. package/dist/types/citation/templates/citation-normal.d.ts +1 -0
  139. package/dist/types/citation/templates/citation-opened.d.ts +1 -0
  140. package/dist/types/index.d.ts +3 -0
  141. package/dist/types/popover/popover.spec.d.ts +2 -2
  142. package/dist/types/segmented-control/segmented-control-button.spec.d.ts +1 -0
  143. package/dist/types/segmented-control/segmented-control.spec.d.ts +5 -3
  144. package/package.json +1 -1
  145. package/src/agent-response/agent-step.tsx +113 -0
  146. package/src/agent-response/chain-of-thought.spec.tsx +45 -0
  147. package/src/agent-response/constants.ts +2 -0
  148. package/src/agent-response/index.ts +10 -0
  149. package/src/agent-response/reasoning.spec.tsx +46 -0
  150. package/src/agent-response/templates/chain-of-thought-expanded.tsx +9 -0
  151. package/src/agent-response/templates/chain-of-thought-normal.tsx +3 -0
  152. package/src/agent-response/templates/reasoning-expanded.tsx +7 -0
  153. package/src/agent-response/templates/reasoning-normal.tsx +3 -0
  154. package/src/agent-response/templates/tool-call-expanded.tsx +15 -0
  155. package/src/agent-response/templates/tool-call-normal.tsx +3 -0
  156. package/src/agent-response/tests/chain-of-thought.tsx +46 -0
  157. package/src/agent-response/tests/reasoning.tsx +21 -0
  158. package/src/agent-response/tests/tool-call.tsx +69 -0
  159. package/src/agent-response/thought.spec.tsx +96 -0
  160. package/src/agent-response/tool-call.spec.tsx +46 -0
  161. package/src/checkpoint/checkpoint.spec.tsx +52 -0
  162. package/src/checkpoint/constants.ts +2 -0
  163. package/src/checkpoint/index.ts +2 -0
  164. package/src/checkpoint/templates/checkpoint-normal.tsx +8 -0
  165. package/src/checkpoint/tests/checkpoint.tsx +42 -0
  166. package/src/citation/citation-popover.spec.tsx +71 -0
  167. package/src/citation/citation.spec.tsx +45 -0
  168. package/src/citation/constants.ts +2 -0
  169. package/src/citation/index.ts +4 -0
  170. package/src/citation/templates/citation-normal.tsx +3 -0
  171. package/src/citation/templates/citation-opened.tsx +20 -0
  172. package/src/citation/tests/citation.tsx +53 -0
  173. package/src/index.ts +3 -0
  174. package/src/popover/popover.spec.tsx +3 -3
  175. package/src/segmented-control/segmented-control-button.spec.tsx +2 -0
  176. package/src/segmented-control/segmented-control.spec.tsx +5 -3
@@ -1 +1 @@
1
- var l=(...t)=>t.filter(e=>e!==!0&&!!e).map(e=>Array.isArray(e)?l(...e):typeof e=="object"?Object.keys(e).map((s,a)=>e[a]||e[s]&&s||null).filter(s=>s!==null).join(" "):e).filter(e=>!!e).join(" ");var v=(t,e)=>l({[`${t}-xs`]:e.size==="xsmall",[`${t}-sm`]:e.size==="small",[`${t}-md`]:e.size==="medium",[`${t}-lg`]:e.size==="large",[`${t}-xl`]:e.size==="xlarge",[`${t}-xxl`]:e.size==="xxlarge",[`${t}-xxxl`]:e.size==="xxxlarge"},{[`${t}-${e.fillMode}`]:e.fillMode},{[`${t}-${e.themeColor}`]:e.themeColor},{"k-rounded-sm":e.rounded==="small","k-rounded-md":e.rounded==="medium","k-rounded-lg":e.rounded==="large","k-rounded-full":e.rounded==="full","k-rounded-none":e.rounded==="none"}),R=(t,e)=>{let{valid:s,invalid:a,hover:r,focus:d,checked:c,active:i,selected:u,disabled:x,indeterminate:p,loading:w,empty:b,readonly:j,highlighted:q,...k}=e;return l({"k-valid":s,"k-invalid":a,"k-hover":r,"k-focus":d,"k-checked":c,"k-active":i,"k-selected":u,"k-disabled":x,"k-indeterminate":p&&!c,"k-loading":w,"k-empty":b,"k-readonly":j,"k-highlighted":q},Object.keys(k).reduce((M,h)=>(h.startsWith("k-")?M[h]=k[h]:M[`k-${h}`]=k[h],M),{}))};var n={undefined:void 0,xsmall:"xsmall",small:"small",medium:"medium",large:"large",xlarge:"xlarge",xxlarge:"xxlarge",xxxlarge:"xxxlarge"};var m={undefined:void 0,outline:"outline",solid:"solid",duotone:"duotone"},o={undefined:void 0,inherit:"inherit",base:"base",primary:"primary",secondary:"secondary",tertiary:"tertiary",info:"info",success:"success",warning:"warning",error:"error",inverse:"inverse"},N={open:"open",hover:"hover",focus:"focus",active:"active",selected:"selected",disabled:"disabled",valid:"valid",invalid:"invalid",loading:"loading",required:"required",empty:"empty",indeterminate:"indeterminate",checked:"checked",readonly:"readonly",highlighted:"highlighted",generating:"generating",expanded:"expanded"};import{Fragment as X,jsx as $}from"react/jsx-runtime";var _="k-font-icon",W=[],J={size:[n.undefined,n.xsmall,n.small,n.medium,n.large,n.xlarge,n.xxlarge,n.xxxlarge],themeColor:[o.undefined,o.base,o.primary,o.secondary,o.tertiary,o.success,o.warning,o.error,o.info]},Q={},C=t=>{let{size:e,themeColor:s,icon:a,rotate:r,flip:d,...c}=t;return a?$("span",{...c,className:l(t.className,_,v(_,{size:e}),{[`k-i-${a}`]:a,[`k-color-${s}`]:s,[`k-rotate-${r}`]:r,"k-flip-h":d==="h"||d==="both","k-flip-v":d==="v"||d==="both"}),"aria-hidden":"true"}):$(X,{})};C.states=W;C.options=J;C.className=_;C.defaultOptions=Q;var D=C;import{Fragment as ee,jsx as E}from"react/jsx-runtime";var I="k-svg-icon",Y=[],Z={size:[n.undefined,n.xsmall,n.small,n.medium,n.large,n.xlarge,n.xxlarge,n.xxxlarge],themeColor:[o.undefined,o.base,o.primary,o.secondary,o.tertiary,o.success,o.warning,o.error,o.info],variant:[m.outline,m.solid,m.duotone]},L={viewBox:"0 0 24 24",variant:m.outline},y=t=>{let{size:e,themeColor:s,rotate:a,flip:r,viewBox:d=L.viewBox,variant:c=L.variant,icon:i,...u}=t;if(!i)return E(ee,{});if(i==="none")return E("span",{...u,className:l(t.className,I,v("k-icon",{size:e}),"k-none"),"aria-hidden":"true"});let x=typeof i=="object"&&i.name&&i.name,p=typeof i=="object"?c&&i.variants?.[c]||i.variants?.outline||i.content:void 0;return E("span",{...u,className:l(t.className,I,v("k-icon",{size:e}),{[`k-svg-i-${x}`]:x,[`k-color-${s}`]:s,[`k-rotate-${a}`]:a,"k-flip-h":r==="h"||r==="both","k-flip-v":r==="v"||r==="both"}),"aria-hidden":"true",children:E("svg",{"aria-hidden":!0,focusable:!1,xmlns:"http://www.w3.org/2000/svg",viewBox:typeof i=="object"?i.viewBox:d,dangerouslySetInnerHTML:p!==void 0?{__html:p}:void 0,children:i?void 0:t.children})})};y.states=Y;y.options=Z;y.className=I;y.defaultOptions=L;var B=y;import*as A from"@progress/kendo-svg-icons";var K="icon",F="icons";import{useContext as oe}from"react";import{createContext as te}from"react";var G=te({iconsType:"svg"});import{Fragment as H,jsx as O}from"react/jsx-runtime";var T="k-icon",ne=t=>t.replace(/([-_][a-z0-9])/gi,e=>e.toUpperCase().replace("-","").replace("_","")),re=[],ie={size:[n.undefined,n.xsmall,n.small,n.medium,n.large,n.xlarge,n.xxlarge,n.xxxlarge],themeColor:[o.undefined,o.base,o.primary,o.secondary,o.tertiary,o.success,o.warning,o.error,o.info],variant:[m.outline,m.solid,m.duotone]},S={viewBox:"0 0 24 24",type:"svg",variant:m.outline},f=t=>{let{iconsType:e}=oe(G),{size:s,themeColor:a,icon:r,type:d=e||S.type,rotate:c,flip:i,viewBox:u=S.viewBox,variant:x=S.variant,...p}=t;if(!r)return O(H,{});if((e||d)==="svg"){if(r==="none")return O(B,{...p,className:l(t.className,T),icon:r,size:s,variant:x});let b=A[r]?r:ne(`${r}-icon`);return A[b]?O(B,{...p,className:l(t.className,T),icon:A[b],size:s,themeColor:a,rotate:c,flip:i,viewBox:u,variant:x}):O(H,{})}return O(D,{...p,className:l(t.className,T),icon:r,size:s,themeColor:a,rotate:c,flip:i})};f.states=re;f.options=ie;f.defaultOptions=S;f.className=T;f.moduleName=K;f.folderName=F;var U="segmented-control-button",P="segmented-control";import{jsx as V,jsxs as de}from"react/jsx-runtime";var z="k-segmented-control-button",se=[N.selected,N.hover,N.focus,N.disabled],ae={},le={},g=t=>{let{hover:e,focus:s,selected:a,disabled:r,icon:d,text:c,iconClassName:i,...u}=t;return de("button",{...u,className:l(t.className,z,R(z,{hover:e,focus:s,disabled:r,selected:a})),"aria-pressed":a?"true":"false","aria-disabled":r?"true":void 0,children:[d&&V(f,{className:l(i,"k-segmented-control-button-icon"),icon:d}),(c||t.children)&&V("span",{className:"k-segmented-control-button-text",children:c||t.children})]})};g.states=se;g.options=ae;g.className=z;g.defaultOptions=le;g.moduleName=U;g.folderName=P;var Ve=g;export{z as SEGMENTED_CONTROL_BUTTON_CLASSNAME,g as SegmentedControlButton,Ve as default};
1
+ var l=(...t)=>t.filter(e=>e!==!0&&!!e).map(e=>Array.isArray(e)?l(...e):typeof e=="object"?Object.keys(e).map((s,a)=>e[a]||e[s]&&s||null).filter(s=>s!==null).join(" "):e).filter(e=>!!e).join(" ");var v=(t,e)=>l({[`${t}-xs`]:e.size==="xsmall",[`${t}-sm`]:e.size==="small",[`${t}-md`]:e.size==="medium",[`${t}-lg`]:e.size==="large",[`${t}-xl`]:e.size==="xlarge",[`${t}-xxl`]:e.size==="xxlarge",[`${t}-xxxl`]:e.size==="xxxlarge"},{[`${t}-${e.fillMode}`]:e.fillMode},{[`${t}-${e.themeColor}`]:e.themeColor},{"k-rounded-sm":e.rounded==="small","k-rounded-md":e.rounded==="medium","k-rounded-lg":e.rounded==="large","k-rounded-full":e.rounded==="full","k-rounded-none":e.rounded==="none"}),R=(t,e)=>{let{valid:s,invalid:a,hover:r,focus:d,checked:c,active:i,selected:u,disabled:x,indeterminate:p,loading:w,empty:b,readonly:j,highlighted:q,...k}=e;return l({"k-valid":s,"k-invalid":a,"k-hover":r,"k-focus":d,"k-checked":c,"k-active":i,"k-selected":u,"k-disabled":x,"k-indeterminate":p&&!c,"k-loading":w,"k-empty":b,"k-readonly":j,"k-highlighted":q},Object.keys(k).reduce((M,h)=>(h.startsWith("k-")?M[h]=k[h]:M[`k-${h}`]=k[h],M),{}))};var n={undefined:void 0,xsmall:"xsmall",small:"small",medium:"medium",large:"large",xlarge:"xlarge",xxlarge:"xxlarge",xxxlarge:"xxxlarge"};var m={undefined:void 0,outline:"outline",solid:"solid",duotone:"duotone"},o={undefined:void 0,inherit:"inherit",base:"base",primary:"primary",secondary:"secondary",tertiary:"tertiary",info:"info",success:"success",warning:"warning",error:"error",inverse:"inverse"},N={open:"open",hover:"hover",focus:"focus",active:"active",selected:"selected",disabled:"disabled",valid:"valid",invalid:"invalid",loading:"loading",required:"required",empty:"empty",indeterminate:"indeterminate",checked:"checked",readonly:"readonly",highlighted:"highlighted",generating:"generating",expanded:"expanded"};import{Fragment as X,jsx as $}from"react/jsx-runtime";var _="k-font-icon",W=[],J={size:[n.undefined,n.xsmall,n.small,n.medium,n.large,n.xlarge,n.xxlarge,n.xxxlarge],themeColor:[o.undefined,o.base,o.primary,o.secondary,o.tertiary,o.success,o.warning,o.error,o.info]},Q={},C=t=>{let{size:e,themeColor:s,icon:a,rotate:r,flip:d,...c}=t;return a?$("span",{...c,className:l(t.className,_,v(_,{size:e}),{[`k-i-${a}`]:a,[`k-color-${s}`]:s,[`k-rotate-${r}`]:r,"k-flip-h":d==="h"||d==="both","k-flip-v":d==="v"||d==="both"}),"aria-hidden":"true"}):$(X,{})};C.states=W;C.options=J;C.className=_;C.defaultOptions=Q;var D=C;import{Fragment as ee,jsx as E}from"react/jsx-runtime";var I="k-svg-icon",Y=[],Z={size:[n.undefined,n.xsmall,n.small,n.medium,n.large,n.xlarge,n.xxlarge,n.xxxlarge],themeColor:[o.undefined,o.base,o.primary,o.secondary,o.tertiary,o.success,o.warning,o.error,o.info],variant:[m.outline,m.solid,m.duotone]},L={viewBox:"0 0 24 24",variant:m.outline},y=t=>{let{size:e,themeColor:s,rotate:a,flip:r,viewBox:d=L.viewBox,variant:c=L.variant,icon:i,...u}=t;if(!i)return E(ee,{});if(i==="none")return E("span",{...u,className:l(t.className,I,v("k-icon",{size:e}),"k-none"),"aria-hidden":"true"});let x=typeof i=="object"&&i.name&&i.name,p=typeof i=="object"?c&&i.variants?.[c]||i.variants?.outline||i.content:void 0;return E("span",{...u,className:l(t.className,I,v("k-icon",{size:e}),{[`k-svg-i-${x}`]:x,[`k-color-${s}`]:s,[`k-rotate-${a}`]:a,"k-flip-h":r==="h"||r==="both","k-flip-v":r==="v"||r==="both"}),"aria-hidden":"true",children:E("svg",{"aria-hidden":!0,focusable:!1,xmlns:"http://www.w3.org/2000/svg",viewBox:typeof i=="object"?i.viewBox:d,dangerouslySetInnerHTML:p!==void 0?{__html:p}:void 0,children:i?void 0:t.children})})};y.states=Y;y.options=Z;y.className=I;y.defaultOptions=L;var B=y;import*as A from"@progress/kendo-svg-icons";var K="icon",F="icons";import{useContext as oe}from"react";import{createContext as te}from"react";var G=te({iconsType:"svg"});import{Fragment as H,jsx as O}from"react/jsx-runtime";var T="k-icon",ne=t=>t.replace(/([-_][a-z0-9])/gi,e=>e.toUpperCase().replace("-","").replace("_","")),re=[],ie={size:[n.undefined,n.xsmall,n.small,n.medium,n.large,n.xlarge,n.xxlarge,n.xxxlarge],themeColor:[o.undefined,o.base,o.primary,o.secondary,o.tertiary,o.success,o.warning,o.error,o.info],variant:[m.outline,m.solid,m.duotone]},S={viewBox:"0 0 24 24",type:"svg",variant:m.outline},f=t=>{let{iconsType:e}=oe(G),{size:s,themeColor:a,icon:r,type:d=e||S.type,rotate:c,flip:i,viewBox:u=S.viewBox,variant:x=S.variant,...p}=t;if(!r)return O(H,{});if((e||d)==="svg"){if(r==="none")return O(B,{...p,className:l(t.className,T),icon:r,size:s,variant:x});let b=A[r]?r:ne(`${r}-icon`);return A[b]?O(B,{...p,className:l(t.className,T),icon:A[b],size:s,themeColor:a,rotate:c,flip:i,viewBox:u,variant:x}):O(H,{})}return O(D,{...p,className:l(t.className,T),icon:r,size:s,themeColor:a,rotate:c,flip:i})};f.states=re;f.options=ie;f.defaultOptions=S;f.className=T;f.moduleName=K;f.folderName=F;var U="segmented-control-button",P="segmented-control";import{jsx as V,jsxs as de}from"react/jsx-runtime";var z="k-segmented-control-button",se=[N.selected,N.hover,N.focus,N.disabled],ae={},le={},g=t=>{let{hover:e,focus:s,selected:a,disabled:r,icon:d,text:c,iconClassName:i,...u}=t;return de("button",{...u,className:l(t.className,z,R(z,{hover:e,focus:s,disabled:r,selected:a})),"aria-pressed":a?"true":"false","aria-disabled":r?"true":void 0,tabIndex:a?0:-1,children:[d&&V(f,{className:l(i,"k-segmented-control-button-icon"),icon:d}),(c||t.children)&&V("span",{className:"k-segmented-control-button-text",children:c||t.children})]})};g.states=se;g.options=ae;g.className=z;g.defaultOptions=le;g.moduleName=U;g.folderName=P;var Ve=g;export{z as SEGMENTED_CONTROL_BUTTON_CLASSNAME,g as SegmentedControlButton,Ve as default};
@@ -1 +1 @@
1
- var l=(...t)=>t.filter(e=>e!==!0&&!!e).map(e=>Array.isArray(e)?l(...e):typeof e=="object"?Object.keys(e).map((s,a)=>e[a]||e[s]&&s||null).filter(s=>s!==null).join(" "):e).filter(e=>!!e).join(" ");var x=(t,e)=>l({[`${t}-xs`]:e.size==="xsmall",[`${t}-sm`]:e.size==="small",[`${t}-md`]:e.size==="medium",[`${t}-lg`]:e.size==="large",[`${t}-xl`]:e.size==="xlarge",[`${t}-xxl`]:e.size==="xxlarge",[`${t}-xxxl`]:e.size==="xxxlarge"},{[`${t}-${e.fillMode}`]:e.fillMode},{[`${t}-${e.themeColor}`]:e.themeColor},{"k-rounded-sm":e.rounded==="small","k-rounded-md":e.rounded==="medium","k-rounded-lg":e.rounded==="large","k-rounded-full":e.rounded==="full","k-rounded-none":e.rounded==="none"}),G=(t,e)=>{let{valid:s,invalid:a,hover:r,focus:d,checked:c,active:i,selected:u,disabled:g,indeterminate:p,loading:H,empty:E,readonly:Z,highlighted:ee,..._}=e;return l({"k-valid":s,"k-invalid":a,"k-hover":r,"k-focus":d,"k-checked":c,"k-active":i,"k-selected":u,"k-disabled":g,"k-indeterminate":p&&!c,"k-loading":H,"k-empty":E,"k-readonly":Z,"k-highlighted":ee},Object.keys(_).reduce((L,C)=>(C.startsWith("k-")?L[C]=_[C]:L[`k-${C}`]=_[C],L),{}))};var o={undefined:void 0,xsmall:"xsmall",small:"small",medium:"medium",large:"large",xlarge:"xlarge",xxlarge:"xxlarge",xxxlarge:"xxxlarge"};var m={undefined:void 0,outline:"outline",solid:"solid",duotone:"duotone"},n={undefined:void 0,inherit:"inherit",base:"base",primary:"primary",secondary:"secondary",tertiary:"tertiary",info:"info",success:"success",warning:"warning",error:"error",inverse:"inverse"},v={open:"open",hover:"hover",focus:"focus",active:"active",selected:"selected",disabled:"disabled",valid:"valid",invalid:"invalid",loading:"loading",required:"required",empty:"empty",indeterminate:"indeterminate",checked:"checked",readonly:"readonly",highlighted:"highlighted",generating:"generating",expanded:"expanded"};import{Fragment as re,jsx as F}from"react/jsx-runtime";var A="k-font-icon",te=[],oe={size:[o.undefined,o.xsmall,o.small,o.medium,o.large,o.xlarge,o.xxlarge,o.xxxlarge],themeColor:[n.undefined,n.base,n.primary,n.secondary,n.tertiary,n.success,n.warning,n.error,n.info]},ne={},S=t=>{let{size:e,themeColor:s,icon:a,rotate:r,flip:d,...c}=t;return a?F("span",{...c,className:l(t.className,A,x(A,{size:e}),{[`k-i-${a}`]:a,[`k-color-${s}`]:s,[`k-rotate-${r}`]:r,"k-flip-h":d==="h"||d==="both","k-flip-v":d==="v"||d==="both"}),"aria-hidden":"true"}):F(re,{})};S.states=te;S.options=oe;S.className=A;S.defaultOptions=ne;var P=S;import{Fragment as ae,jsx as b}from"react/jsx-runtime";var I="k-svg-icon",se=[],ie={size:[o.undefined,o.xsmall,o.small,o.medium,o.large,o.xlarge,o.xxlarge,o.xxxlarge],themeColor:[n.undefined,n.base,n.primary,n.secondary,n.tertiary,n.success,n.warning,n.error,n.info],variant:[m.outline,m.solid,m.duotone]},z={viewBox:"0 0 24 24",variant:m.outline},y=t=>{let{size:e,themeColor:s,rotate:a,flip:r,viewBox:d=z.viewBox,variant:c=z.variant,icon:i,...u}=t;if(!i)return b(ae,{});if(i==="none")return b("span",{...u,className:l(t.className,I,x("k-icon",{size:e}),"k-none"),"aria-hidden":"true"});let g=typeof i=="object"&&i.name&&i.name,p=typeof i=="object"?c&&i.variants?.[c]||i.variants?.outline||i.content:void 0;return b("span",{...u,className:l(t.className,I,x("k-icon",{size:e}),{[`k-svg-i-${g}`]:g,[`k-color-${s}`]:s,[`k-rotate-${a}`]:a,"k-flip-h":r==="h"||r==="both","k-flip-v":r==="v"||r==="both"}),"aria-hidden":"true",children:b("svg",{"aria-hidden":!0,focusable:!1,xmlns:"http://www.w3.org/2000/svg",viewBox:typeof i=="object"?i.viewBox:d,dangerouslySetInnerHTML:p!==void 0?{__html:p}:void 0,children:i?void 0:t.children})})};y.states=se;y.options=ie;y.className=I;y.defaultOptions=z;var B=y;import*as R from"@progress/kendo-svg-icons";var U="icon",V="icons";import{useContext as de}from"react";import{createContext as le}from"react";var j=le({iconsType:"svg"});import{Fragment as q,jsx as O}from"react/jsx-runtime";var T="k-icon",ce=t=>t.replace(/([-_][a-z0-9])/gi,e=>e.toUpperCase().replace("-","").replace("_","")),me=[],ue={size:[o.undefined,o.xsmall,o.small,o.medium,o.large,o.xlarge,o.xxlarge,o.xxxlarge],themeColor:[n.undefined,n.base,n.primary,n.secondary,n.tertiary,n.success,n.warning,n.error,n.info],variant:[m.outline,m.solid,m.duotone]},M={viewBox:"0 0 24 24",type:"svg",variant:m.outline},f=t=>{let{iconsType:e}=de(j),{size:s,themeColor:a,icon:r,type:d=e||M.type,rotate:c,flip:i,viewBox:u=M.viewBox,variant:g=M.variant,...p}=t;if(!r)return O(q,{});if((e||d)==="svg"){if(r==="none")return O(B,{...p,className:l(t.className,T),icon:r,size:s,variant:g});let E=R[r]?r:ce(`${r}-icon`);return R[E]?O(B,{...p,className:l(t.className,T),icon:R[E],size:s,themeColor:a,rotate:c,flip:i,viewBox:u,variant:g}):O(q,{})}return O(P,{...p,className:l(t.className,T),icon:r,size:s,themeColor:a,rotate:c,flip:i})};f.states=me;f.options=ue;f.defaultOptions=M;f.className=T;f.moduleName=U;f.folderName=V;var D="segmented-control",W=D,J="segmented-control-button",Q="segmented-control";import{jsx as X,jsxs as xe}from"react/jsx-runtime";var K="k-segmented-control-button",pe=[v.selected,v.hover,v.focus,v.disabled],fe={},ge={},h=t=>{let{hover:e,focus:s,selected:a,disabled:r,icon:d,text:c,iconClassName:i,...u}=t;return xe("button",{...u,className:l(t.className,K,G(K,{hover:e,focus:s,disabled:r,selected:a})),"aria-pressed":a?"true":"false","aria-disabled":r?"true":void 0,children:[d&&X(f,{className:l(i,"k-segmented-control-button-icon"),icon:d}),(c||t.children)&&X("span",{className:"k-segmented-control-button-text",children:c||t.children})]})};h.states=pe;h.options=fe;h.className=K;h.defaultOptions=ge;h.moduleName=J;h.folderName=Q;var $=h;import{jsx as Ce,jsxs as ve}from"react/jsx-runtime";var k="k-segmented-control",he=[],Ne={size:[o.undefined,o.small,o.medium,o.large]},N=t=>{let{size:e,stretched:s,children:a,thumbStyles:r,...d}=t;return ve("div",{...d,className:l(t.className,k,x(k,{size:e}),{[`${k}-stretched`]:s}),role:"group",children:[Ce("div",{className:"k-segmented-control-thumb","aria-hidden":"true",style:r}),a]})};N.states=he;N.options=Ne;N.className=k;N.moduleName=D;N.folderName=W;var Y=N;import{Fragment as Se,jsx as w,jsxs as ye}from"react/jsx-runtime";var ut=t=>w(Y,{...t,children:ye(Se,{children:[w($,{icon:"search",selected:!0,children:"Search"}),w($,{icon:"sparkles",disabled:!0,children:" AI Assistant"})]})});export{ut as SegmentedControlDisabled};
1
+ var l=(...t)=>t.filter(e=>e!==!0&&!!e).map(e=>Array.isArray(e)?l(...e):typeof e=="object"?Object.keys(e).map((s,i)=>e[i]||e[s]&&s||null).filter(s=>s!==null).join(" "):e).filter(e=>!!e).join(" ");var x=(t,e)=>l({[`${t}-xs`]:e.size==="xsmall",[`${t}-sm`]:e.size==="small",[`${t}-md`]:e.size==="medium",[`${t}-lg`]:e.size==="large",[`${t}-xl`]:e.size==="xlarge",[`${t}-xxl`]:e.size==="xxlarge",[`${t}-xxxl`]:e.size==="xxxlarge"},{[`${t}-${e.fillMode}`]:e.fillMode},{[`${t}-${e.themeColor}`]:e.themeColor},{"k-rounded-sm":e.rounded==="small","k-rounded-md":e.rounded==="medium","k-rounded-lg":e.rounded==="large","k-rounded-full":e.rounded==="full","k-rounded-none":e.rounded==="none"}),G=(t,e)=>{let{valid:s,invalid:i,hover:r,focus:d,checked:c,active:a,selected:u,disabled:g,indeterminate:p,loading:H,empty:E,readonly:Z,highlighted:ee,..._}=e;return l({"k-valid":s,"k-invalid":i,"k-hover":r,"k-focus":d,"k-checked":c,"k-active":a,"k-selected":u,"k-disabled":g,"k-indeterminate":p&&!c,"k-loading":H,"k-empty":E,"k-readonly":Z,"k-highlighted":ee},Object.keys(_).reduce((L,C)=>(C.startsWith("k-")?L[C]=_[C]:L[`k-${C}`]=_[C],L),{}))};var o={undefined:void 0,xsmall:"xsmall",small:"small",medium:"medium",large:"large",xlarge:"xlarge",xxlarge:"xxlarge",xxxlarge:"xxxlarge"};var m={undefined:void 0,outline:"outline",solid:"solid",duotone:"duotone"},n={undefined:void 0,inherit:"inherit",base:"base",primary:"primary",secondary:"secondary",tertiary:"tertiary",info:"info",success:"success",warning:"warning",error:"error",inverse:"inverse"},v={open:"open",hover:"hover",focus:"focus",active:"active",selected:"selected",disabled:"disabled",valid:"valid",invalid:"invalid",loading:"loading",required:"required",empty:"empty",indeterminate:"indeterminate",checked:"checked",readonly:"readonly",highlighted:"highlighted",generating:"generating",expanded:"expanded"};import{Fragment as re,jsx as F}from"react/jsx-runtime";var A="k-font-icon",te=[],oe={size:[o.undefined,o.xsmall,o.small,o.medium,o.large,o.xlarge,o.xxlarge,o.xxxlarge],themeColor:[n.undefined,n.base,n.primary,n.secondary,n.tertiary,n.success,n.warning,n.error,n.info]},ne={},S=t=>{let{size:e,themeColor:s,icon:i,rotate:r,flip:d,...c}=t;return i?F("span",{...c,className:l(t.className,A,x(A,{size:e}),{[`k-i-${i}`]:i,[`k-color-${s}`]:s,[`k-rotate-${r}`]:r,"k-flip-h":d==="h"||d==="both","k-flip-v":d==="v"||d==="both"}),"aria-hidden":"true"}):F(re,{})};S.states=te;S.options=oe;S.className=A;S.defaultOptions=ne;var P=S;import{Fragment as ae,jsx as b}from"react/jsx-runtime";var I="k-svg-icon",se=[],ie={size:[o.undefined,o.xsmall,o.small,o.medium,o.large,o.xlarge,o.xxlarge,o.xxxlarge],themeColor:[n.undefined,n.base,n.primary,n.secondary,n.tertiary,n.success,n.warning,n.error,n.info],variant:[m.outline,m.solid,m.duotone]},z={viewBox:"0 0 24 24",variant:m.outline},y=t=>{let{size:e,themeColor:s,rotate:i,flip:r,viewBox:d=z.viewBox,variant:c=z.variant,icon:a,...u}=t;if(!a)return b(ae,{});if(a==="none")return b("span",{...u,className:l(t.className,I,x("k-icon",{size:e}),"k-none"),"aria-hidden":"true"});let g=typeof a=="object"&&a.name&&a.name,p=typeof a=="object"?c&&a.variants?.[c]||a.variants?.outline||a.content:void 0;return b("span",{...u,className:l(t.className,I,x("k-icon",{size:e}),{[`k-svg-i-${g}`]:g,[`k-color-${s}`]:s,[`k-rotate-${i}`]:i,"k-flip-h":r==="h"||r==="both","k-flip-v":r==="v"||r==="both"}),"aria-hidden":"true",children:b("svg",{"aria-hidden":!0,focusable:!1,xmlns:"http://www.w3.org/2000/svg",viewBox:typeof a=="object"?a.viewBox:d,dangerouslySetInnerHTML:p!==void 0?{__html:p}:void 0,children:a?void 0:t.children})})};y.states=se;y.options=ie;y.className=I;y.defaultOptions=z;var B=y;import*as R from"@progress/kendo-svg-icons";var U="icon",V="icons";import{useContext as de}from"react";import{createContext as le}from"react";var j=le({iconsType:"svg"});import{Fragment as q,jsx as O}from"react/jsx-runtime";var T="k-icon",ce=t=>t.replace(/([-_][a-z0-9])/gi,e=>e.toUpperCase().replace("-","").replace("_","")),me=[],ue={size:[o.undefined,o.xsmall,o.small,o.medium,o.large,o.xlarge,o.xxlarge,o.xxxlarge],themeColor:[n.undefined,n.base,n.primary,n.secondary,n.tertiary,n.success,n.warning,n.error,n.info],variant:[m.outline,m.solid,m.duotone]},M={viewBox:"0 0 24 24",type:"svg",variant:m.outline},f=t=>{let{iconsType:e}=de(j),{size:s,themeColor:i,icon:r,type:d=e||M.type,rotate:c,flip:a,viewBox:u=M.viewBox,variant:g=M.variant,...p}=t;if(!r)return O(q,{});if((e||d)==="svg"){if(r==="none")return O(B,{...p,className:l(t.className,T),icon:r,size:s,variant:g});let E=R[r]?r:ce(`${r}-icon`);return R[E]?O(B,{...p,className:l(t.className,T),icon:R[E],size:s,themeColor:i,rotate:c,flip:a,viewBox:u,variant:g}):O(q,{})}return O(P,{...p,className:l(t.className,T),icon:r,size:s,themeColor:i,rotate:c,flip:a})};f.states=me;f.options=ue;f.defaultOptions=M;f.className=T;f.moduleName=U;f.folderName=V;var D="segmented-control",W=D,J="segmented-control-button",Q="segmented-control";import{jsx as X,jsxs as xe}from"react/jsx-runtime";var K="k-segmented-control-button",pe=[v.selected,v.hover,v.focus,v.disabled],fe={},ge={},h=t=>{let{hover:e,focus:s,selected:i,disabled:r,icon:d,text:c,iconClassName:a,...u}=t;return xe("button",{...u,className:l(t.className,K,G(K,{hover:e,focus:s,disabled:r,selected:i})),"aria-pressed":i?"true":"false","aria-disabled":r?"true":void 0,tabIndex:i?0:-1,children:[d&&X(f,{className:l(a,"k-segmented-control-button-icon"),icon:d}),(c||t.children)&&X("span",{className:"k-segmented-control-button-text",children:c||t.children})]})};h.states=pe;h.options=fe;h.className=K;h.defaultOptions=ge;h.moduleName=J;h.folderName=Q;var $=h;import{jsx as Ce,jsxs as ve}from"react/jsx-runtime";var k="k-segmented-control",he=[],Ne={size:[o.undefined,o.small,o.medium,o.large]},N=t=>{let{size:e,stretched:s,children:i,thumbStyles:r,...d}=t;return ve("div",{...d,className:l(t.className,k,x(k,{size:e}),{[`${k}-stretched`]:s}),role:"group",children:[Ce("div",{className:"k-segmented-control-thumb","aria-hidden":"true",style:r}),i]})};N.states=he;N.options=Ne;N.className=k;N.moduleName=D;N.folderName=W;var Y=N;import{Fragment as Se,jsx as w,jsxs as ye}from"react/jsx-runtime";var ut=t=>w(Y,{...t,children:ye(Se,{children:[w($,{icon:"search",selected:!0,children:"Search"}),w($,{icon:"sparkles",disabled:!0,children:" AI Assistant"})]})});export{ut as SegmentedControlDisabled};
@@ -1 +1 @@
1
- var l=(...t)=>t.filter(e=>e!==!0&&!!e).map(e=>Array.isArray(e)?l(...e):typeof e=="object"?Object.keys(e).map((s,a)=>e[a]||e[s]&&s||null).filter(s=>s!==null).join(" "):e).filter(e=>!!e).join(" ");var x=(t,e)=>l({[`${t}-xs`]:e.size==="xsmall",[`${t}-sm`]:e.size==="small",[`${t}-md`]:e.size==="medium",[`${t}-lg`]:e.size==="large",[`${t}-xl`]:e.size==="xlarge",[`${t}-xxl`]:e.size==="xxlarge",[`${t}-xxxl`]:e.size==="xxxlarge"},{[`${t}-${e.fillMode}`]:e.fillMode},{[`${t}-${e.themeColor}`]:e.themeColor},{"k-rounded-sm":e.rounded==="small","k-rounded-md":e.rounded==="medium","k-rounded-lg":e.rounded==="large","k-rounded-full":e.rounded==="full","k-rounded-none":e.rounded==="none"}),G=(t,e)=>{let{valid:s,invalid:a,hover:r,focus:d,checked:c,active:i,selected:u,disabled:g,indeterminate:p,loading:H,empty:E,readonly:Z,highlighted:ee,...I}=e;return l({"k-valid":s,"k-invalid":a,"k-hover":r,"k-focus":d,"k-checked":c,"k-active":i,"k-selected":u,"k-disabled":g,"k-indeterminate":p&&!c,"k-loading":H,"k-empty":E,"k-readonly":Z,"k-highlighted":ee},Object.keys(I).reduce((A,C)=>(C.startsWith("k-")?A[C]=I[C]:A[`k-${C}`]=I[C],A),{}))};var o={undefined:void 0,xsmall:"xsmall",small:"small",medium:"medium",large:"large",xlarge:"xlarge",xxlarge:"xxlarge",xxxlarge:"xxxlarge"};var m={undefined:void 0,outline:"outline",solid:"solid",duotone:"duotone"},n={undefined:void 0,inherit:"inherit",base:"base",primary:"primary",secondary:"secondary",tertiary:"tertiary",info:"info",success:"success",warning:"warning",error:"error",inverse:"inverse"},S={open:"open",hover:"hover",focus:"focus",active:"active",selected:"selected",disabled:"disabled",valid:"valid",invalid:"invalid",loading:"loading",required:"required",empty:"empty",indeterminate:"indeterminate",checked:"checked",readonly:"readonly",highlighted:"highlighted",generating:"generating",expanded:"expanded"};import{Fragment as re,jsx as F}from"react/jsx-runtime";var B="k-font-icon",te=[],oe={size:[o.undefined,o.xsmall,o.small,o.medium,o.large,o.xlarge,o.xxlarge,o.xxxlarge],themeColor:[n.undefined,n.base,n.primary,n.secondary,n.tertiary,n.success,n.warning,n.error,n.info]},ne={},v=t=>{let{size:e,themeColor:s,icon:a,rotate:r,flip:d,...c}=t;return a?F("span",{...c,className:l(t.className,B,x(B,{size:e}),{[`k-i-${a}`]:a,[`k-color-${s}`]:s,[`k-rotate-${r}`]:r,"k-flip-h":d==="h"||d==="both","k-flip-v":d==="v"||d==="both"}),"aria-hidden":"true"}):F(re,{})};v.states=te;v.options=oe;v.className=B;v.defaultOptions=ne;var P=v;import{Fragment as ae,jsx as b}from"react/jsx-runtime";var z="k-svg-icon",se=[],ie={size:[o.undefined,o.xsmall,o.small,o.medium,o.large,o.xlarge,o.xxlarge,o.xxxlarge],themeColor:[n.undefined,n.base,n.primary,n.secondary,n.tertiary,n.success,n.warning,n.error,n.info],variant:[m.outline,m.solid,m.duotone]},R={viewBox:"0 0 24 24",variant:m.outline},y=t=>{let{size:e,themeColor:s,rotate:a,flip:r,viewBox:d=R.viewBox,variant:c=R.variant,icon:i,...u}=t;if(!i)return b(ae,{});if(i==="none")return b("span",{...u,className:l(t.className,z,x("k-icon",{size:e}),"k-none"),"aria-hidden":"true"});let g=typeof i=="object"&&i.name&&i.name,p=typeof i=="object"?c&&i.variants?.[c]||i.variants?.outline||i.content:void 0;return b("span",{...u,className:l(t.className,z,x("k-icon",{size:e}),{[`k-svg-i-${g}`]:g,[`k-color-${s}`]:s,[`k-rotate-${a}`]:a,"k-flip-h":r==="h"||r==="both","k-flip-v":r==="v"||r==="both"}),"aria-hidden":"true",children:b("svg",{"aria-hidden":!0,focusable:!1,xmlns:"http://www.w3.org/2000/svg",viewBox:typeof i=="object"?i.viewBox:d,dangerouslySetInnerHTML:p!==void 0?{__html:p}:void 0,children:i?void 0:t.children})})};y.states=se;y.options=ie;y.className=z;y.defaultOptions=R;var K=y;import*as D from"@progress/kendo-svg-icons";var U="icon",V="icons";import{useContext as de}from"react";import{createContext as le}from"react";var j=le({iconsType:"svg"});import{Fragment as q,jsx as O}from"react/jsx-runtime";var T="k-icon",ce=t=>t.replace(/([-_][a-z0-9])/gi,e=>e.toUpperCase().replace("-","").replace("_","")),me=[],ue={size:[o.undefined,o.xsmall,o.small,o.medium,o.large,o.xlarge,o.xxlarge,o.xxxlarge],themeColor:[n.undefined,n.base,n.primary,n.secondary,n.tertiary,n.success,n.warning,n.error,n.info],variant:[m.outline,m.solid,m.duotone]},M={viewBox:"0 0 24 24",type:"svg",variant:m.outline},f=t=>{let{iconsType:e}=de(j),{size:s,themeColor:a,icon:r,type:d=e||M.type,rotate:c,flip:i,viewBox:u=M.viewBox,variant:g=M.variant,...p}=t;if(!r)return O(q,{});if((e||d)==="svg"){if(r==="none")return O(K,{...p,className:l(t.className,T),icon:r,size:s,variant:g});let E=D[r]?r:ce(`${r}-icon`);return D[E]?O(K,{...p,className:l(t.className,T),icon:D[E],size:s,themeColor:a,rotate:c,flip:i,viewBox:u,variant:g}):O(q,{})}return O(P,{...p,className:l(t.className,T),icon:r,size:s,themeColor:a,rotate:c,flip:i})};f.states=me;f.options=ue;f.defaultOptions=M;f.className=T;f.moduleName=U;f.folderName=V;var $="segmented-control",W=$,J="segmented-control-button",Q="segmented-control";import{jsx as X,jsxs as xe}from"react/jsx-runtime";var w="k-segmented-control-button",pe=[S.selected,S.hover,S.focus,S.disabled],fe={},ge={},h=t=>{let{hover:e,focus:s,selected:a,disabled:r,icon:d,text:c,iconClassName:i,...u}=t;return xe("button",{...u,className:l(t.className,w,G(w,{hover:e,focus:s,disabled:r,selected:a})),"aria-pressed":a?"true":"false","aria-disabled":r?"true":void 0,children:[d&&X(f,{className:l(i,"k-segmented-control-button-icon"),icon:d}),(c||t.children)&&X("span",{className:"k-segmented-control-button-text",children:c||t.children})]})};h.states=pe;h.options=fe;h.className=w;h.defaultOptions=ge;h.moduleName=J;h.folderName=Q;var k=h;import{jsx as Ce,jsxs as Se}from"react/jsx-runtime";var _="k-segmented-control",he=[],Ne={size:[o.undefined,o.small,o.medium,o.large]},N=t=>{let{size:e,stretched:s,children:a,thumbStyles:r,...d}=t;return Se("div",{...d,className:l(t.className,_,x(_,{size:e}),{[`${_}-stretched`]:s}),role:"group",children:[Ce("div",{className:"k-segmented-control-thumb","aria-hidden":"true",style:r}),a]})};N.states=he;N.options=Ne;N.className=_;N.moduleName=$;N.folderName=W;var Y=N;import{Fragment as ve,jsx as L,jsxs as ye}from"react/jsx-runtime";var ut=t=>L(Y,{...t,children:ye(ve,{children:[L(k,{"aria-label":"Search",icon:"search",selected:!0}),L(k,{"aria-label":"Sparkles",icon:"sparkles"}),L(k,{"aria-label":"Home",icon:"home"})]})});export{ut as SegmentedControlIcons};
1
+ var l=(...t)=>t.filter(e=>e!==!0&&!!e).map(e=>Array.isArray(e)?l(...e):typeof e=="object"?Object.keys(e).map((s,i)=>e[i]||e[s]&&s||null).filter(s=>s!==null).join(" "):e).filter(e=>!!e).join(" ");var x=(t,e)=>l({[`${t}-xs`]:e.size==="xsmall",[`${t}-sm`]:e.size==="small",[`${t}-md`]:e.size==="medium",[`${t}-lg`]:e.size==="large",[`${t}-xl`]:e.size==="xlarge",[`${t}-xxl`]:e.size==="xxlarge",[`${t}-xxxl`]:e.size==="xxxlarge"},{[`${t}-${e.fillMode}`]:e.fillMode},{[`${t}-${e.themeColor}`]:e.themeColor},{"k-rounded-sm":e.rounded==="small","k-rounded-md":e.rounded==="medium","k-rounded-lg":e.rounded==="large","k-rounded-full":e.rounded==="full","k-rounded-none":e.rounded==="none"}),G=(t,e)=>{let{valid:s,invalid:i,hover:r,focus:d,checked:c,active:a,selected:u,disabled:g,indeterminate:p,loading:H,empty:b,readonly:Z,highlighted:ee,...I}=e;return l({"k-valid":s,"k-invalid":i,"k-hover":r,"k-focus":d,"k-checked":c,"k-active":a,"k-selected":u,"k-disabled":g,"k-indeterminate":p&&!c,"k-loading":H,"k-empty":b,"k-readonly":Z,"k-highlighted":ee},Object.keys(I).reduce((A,C)=>(C.startsWith("k-")?A[C]=I[C]:A[`k-${C}`]=I[C],A),{}))};var o={undefined:void 0,xsmall:"xsmall",small:"small",medium:"medium",large:"large",xlarge:"xlarge",xxlarge:"xxlarge",xxxlarge:"xxxlarge"};var m={undefined:void 0,outline:"outline",solid:"solid",duotone:"duotone"},n={undefined:void 0,inherit:"inherit",base:"base",primary:"primary",secondary:"secondary",tertiary:"tertiary",info:"info",success:"success",warning:"warning",error:"error",inverse:"inverse"},S={open:"open",hover:"hover",focus:"focus",active:"active",selected:"selected",disabled:"disabled",valid:"valid",invalid:"invalid",loading:"loading",required:"required",empty:"empty",indeterminate:"indeterminate",checked:"checked",readonly:"readonly",highlighted:"highlighted",generating:"generating",expanded:"expanded"};import{Fragment as re,jsx as F}from"react/jsx-runtime";var B="k-font-icon",te=[],oe={size:[o.undefined,o.xsmall,o.small,o.medium,o.large,o.xlarge,o.xxlarge,o.xxxlarge],themeColor:[n.undefined,n.base,n.primary,n.secondary,n.tertiary,n.success,n.warning,n.error,n.info]},ne={},v=t=>{let{size:e,themeColor:s,icon:i,rotate:r,flip:d,...c}=t;return i?F("span",{...c,className:l(t.className,B,x(B,{size:e}),{[`k-i-${i}`]:i,[`k-color-${s}`]:s,[`k-rotate-${r}`]:r,"k-flip-h":d==="h"||d==="both","k-flip-v":d==="v"||d==="both"}),"aria-hidden":"true"}):F(re,{})};v.states=te;v.options=oe;v.className=B;v.defaultOptions=ne;var P=v;import{Fragment as ae,jsx as E}from"react/jsx-runtime";var z="k-svg-icon",se=[],ie={size:[o.undefined,o.xsmall,o.small,o.medium,o.large,o.xlarge,o.xxlarge,o.xxxlarge],themeColor:[n.undefined,n.base,n.primary,n.secondary,n.tertiary,n.success,n.warning,n.error,n.info],variant:[m.outline,m.solid,m.duotone]},R={viewBox:"0 0 24 24",variant:m.outline},y=t=>{let{size:e,themeColor:s,rotate:i,flip:r,viewBox:d=R.viewBox,variant:c=R.variant,icon:a,...u}=t;if(!a)return E(ae,{});if(a==="none")return E("span",{...u,className:l(t.className,z,x("k-icon",{size:e}),"k-none"),"aria-hidden":"true"});let g=typeof a=="object"&&a.name&&a.name,p=typeof a=="object"?c&&a.variants?.[c]||a.variants?.outline||a.content:void 0;return E("span",{...u,className:l(t.className,z,x("k-icon",{size:e}),{[`k-svg-i-${g}`]:g,[`k-color-${s}`]:s,[`k-rotate-${i}`]:i,"k-flip-h":r==="h"||r==="both","k-flip-v":r==="v"||r==="both"}),"aria-hidden":"true",children:E("svg",{"aria-hidden":!0,focusable:!1,xmlns:"http://www.w3.org/2000/svg",viewBox:typeof a=="object"?a.viewBox:d,dangerouslySetInnerHTML:p!==void 0?{__html:p}:void 0,children:a?void 0:t.children})})};y.states=se;y.options=ie;y.className=z;y.defaultOptions=R;var K=y;import*as D from"@progress/kendo-svg-icons";var U="icon",V="icons";import{useContext as de}from"react";import{createContext as le}from"react";var j=le({iconsType:"svg"});import{Fragment as q,jsx as O}from"react/jsx-runtime";var T="k-icon",ce=t=>t.replace(/([-_][a-z0-9])/gi,e=>e.toUpperCase().replace("-","").replace("_","")),me=[],ue={size:[o.undefined,o.xsmall,o.small,o.medium,o.large,o.xlarge,o.xxlarge,o.xxxlarge],themeColor:[n.undefined,n.base,n.primary,n.secondary,n.tertiary,n.success,n.warning,n.error,n.info],variant:[m.outline,m.solid,m.duotone]},M={viewBox:"0 0 24 24",type:"svg",variant:m.outline},f=t=>{let{iconsType:e}=de(j),{size:s,themeColor:i,icon:r,type:d=e||M.type,rotate:c,flip:a,viewBox:u=M.viewBox,variant:g=M.variant,...p}=t;if(!r)return O(q,{});if((e||d)==="svg"){if(r==="none")return O(K,{...p,className:l(t.className,T),icon:r,size:s,variant:g});let b=D[r]?r:ce(`${r}-icon`);return D[b]?O(K,{...p,className:l(t.className,T),icon:D[b],size:s,themeColor:i,rotate:c,flip:a,viewBox:u,variant:g}):O(q,{})}return O(P,{...p,className:l(t.className,T),icon:r,size:s,themeColor:i,rotate:c,flip:a})};f.states=me;f.options=ue;f.defaultOptions=M;f.className=T;f.moduleName=U;f.folderName=V;var $="segmented-control",W=$,J="segmented-control-button",Q="segmented-control";import{jsx as X,jsxs as xe}from"react/jsx-runtime";var w="k-segmented-control-button",pe=[S.selected,S.hover,S.focus,S.disabled],fe={},ge={},h=t=>{let{hover:e,focus:s,selected:i,disabled:r,icon:d,text:c,iconClassName:a,...u}=t;return xe("button",{...u,className:l(t.className,w,G(w,{hover:e,focus:s,disabled:r,selected:i})),"aria-pressed":i?"true":"false","aria-disabled":r?"true":void 0,tabIndex:i?0:-1,children:[d&&X(f,{className:l(a,"k-segmented-control-button-icon"),icon:d}),(c||t.children)&&X("span",{className:"k-segmented-control-button-text",children:c||t.children})]})};h.states=pe;h.options=fe;h.className=w;h.defaultOptions=ge;h.moduleName=J;h.folderName=Q;var k=h;import{jsx as Ce,jsxs as Se}from"react/jsx-runtime";var _="k-segmented-control",he=[],Ne={size:[o.undefined,o.small,o.medium,o.large]},N=t=>{let{size:e,stretched:s,children:i,thumbStyles:r,...d}=t;return Se("div",{...d,className:l(t.className,_,x(_,{size:e}),{[`${_}-stretched`]:s}),role:"group",children:[Ce("div",{className:"k-segmented-control-thumb","aria-hidden":"true",style:r}),i]})};N.states=he;N.options=Ne;N.className=_;N.moduleName=$;N.folderName=W;var Y=N;import{Fragment as ve,jsx as L,jsxs as ye}from"react/jsx-runtime";var ut=t=>L(Y,{...t,children:ye(ve,{children:[L(k,{"aria-label":"Search",icon:"search",selected:!0}),L(k,{"aria-label":"Sparkles",icon:"sparkles"}),L(k,{"aria-label":"Home",icon:"home"})]})});export{ut as SegmentedControlIcons};
@@ -1 +1 @@
1
- var l=(...t)=>t.filter(e=>e!==!0&&!!e).map(e=>Array.isArray(e)?l(...e):typeof e=="object"?Object.keys(e).map((s,a)=>e[a]||e[s]&&s||null).filter(s=>s!==null).join(" "):e).filter(e=>!!e).join(" ");var x=(t,e)=>l({[`${t}-xs`]:e.size==="xsmall",[`${t}-sm`]:e.size==="small",[`${t}-md`]:e.size==="medium",[`${t}-lg`]:e.size==="large",[`${t}-xl`]:e.size==="xlarge",[`${t}-xxl`]:e.size==="xxlarge",[`${t}-xxxl`]:e.size==="xxxlarge"},{[`${t}-${e.fillMode}`]:e.fillMode},{[`${t}-${e.themeColor}`]:e.themeColor},{"k-rounded-sm":e.rounded==="small","k-rounded-md":e.rounded==="medium","k-rounded-lg":e.rounded==="large","k-rounded-full":e.rounded==="full","k-rounded-none":e.rounded==="none"}),G=(t,e)=>{let{valid:s,invalid:a,hover:r,focus:d,checked:c,active:i,selected:u,disabled:g,indeterminate:p,loading:H,empty:E,readonly:Z,highlighted:ee,..._}=e;return l({"k-valid":s,"k-invalid":a,"k-hover":r,"k-focus":d,"k-checked":c,"k-active":i,"k-selected":u,"k-disabled":g,"k-indeterminate":p&&!c,"k-loading":H,"k-empty":E,"k-readonly":Z,"k-highlighted":ee},Object.keys(_).reduce((L,C)=>(C.startsWith("k-")?L[C]=_[C]:L[`k-${C}`]=_[C],L),{}))};var o={undefined:void 0,xsmall:"xsmall",small:"small",medium:"medium",large:"large",xlarge:"xlarge",xxlarge:"xxlarge",xxxlarge:"xxxlarge"};var m={undefined:void 0,outline:"outline",solid:"solid",duotone:"duotone"},n={undefined:void 0,inherit:"inherit",base:"base",primary:"primary",secondary:"secondary",tertiary:"tertiary",info:"info",success:"success",warning:"warning",error:"error",inverse:"inverse"},v={open:"open",hover:"hover",focus:"focus",active:"active",selected:"selected",disabled:"disabled",valid:"valid",invalid:"invalid",loading:"loading",required:"required",empty:"empty",indeterminate:"indeterminate",checked:"checked",readonly:"readonly",highlighted:"highlighted",generating:"generating",expanded:"expanded"};import{Fragment as re,jsx as F}from"react/jsx-runtime";var A="k-font-icon",te=[],oe={size:[o.undefined,o.xsmall,o.small,o.medium,o.large,o.xlarge,o.xxlarge,o.xxxlarge],themeColor:[n.undefined,n.base,n.primary,n.secondary,n.tertiary,n.success,n.warning,n.error,n.info]},ne={},S=t=>{let{size:e,themeColor:s,icon:a,rotate:r,flip:d,...c}=t;return a?F("span",{...c,className:l(t.className,A,x(A,{size:e}),{[`k-i-${a}`]:a,[`k-color-${s}`]:s,[`k-rotate-${r}`]:r,"k-flip-h":d==="h"||d==="both","k-flip-v":d==="v"||d==="both"}),"aria-hidden":"true"}):F(re,{})};S.states=te;S.options=oe;S.className=A;S.defaultOptions=ne;var P=S;import{Fragment as ae,jsx as b}from"react/jsx-runtime";var I="k-svg-icon",se=[],ie={size:[o.undefined,o.xsmall,o.small,o.medium,o.large,o.xlarge,o.xxlarge,o.xxxlarge],themeColor:[n.undefined,n.base,n.primary,n.secondary,n.tertiary,n.success,n.warning,n.error,n.info],variant:[m.outline,m.solid,m.duotone]},z={viewBox:"0 0 24 24",variant:m.outline},y=t=>{let{size:e,themeColor:s,rotate:a,flip:r,viewBox:d=z.viewBox,variant:c=z.variant,icon:i,...u}=t;if(!i)return b(ae,{});if(i==="none")return b("span",{...u,className:l(t.className,I,x("k-icon",{size:e}),"k-none"),"aria-hidden":"true"});let g=typeof i=="object"&&i.name&&i.name,p=typeof i=="object"?c&&i.variants?.[c]||i.variants?.outline||i.content:void 0;return b("span",{...u,className:l(t.className,I,x("k-icon",{size:e}),{[`k-svg-i-${g}`]:g,[`k-color-${s}`]:s,[`k-rotate-${a}`]:a,"k-flip-h":r==="h"||r==="both","k-flip-v":r==="v"||r==="both"}),"aria-hidden":"true",children:b("svg",{"aria-hidden":!0,focusable:!1,xmlns:"http://www.w3.org/2000/svg",viewBox:typeof i=="object"?i.viewBox:d,dangerouslySetInnerHTML:p!==void 0?{__html:p}:void 0,children:i?void 0:t.children})})};y.states=se;y.options=ie;y.className=I;y.defaultOptions=z;var B=y;import*as R from"@progress/kendo-svg-icons";var U="icon",V="icons";import{useContext as de}from"react";import{createContext as le}from"react";var j=le({iconsType:"svg"});import{Fragment as q,jsx as O}from"react/jsx-runtime";var T="k-icon",ce=t=>t.replace(/([-_][a-z0-9])/gi,e=>e.toUpperCase().replace("-","").replace("_","")),me=[],ue={size:[o.undefined,o.xsmall,o.small,o.medium,o.large,o.xlarge,o.xxlarge,o.xxxlarge],themeColor:[n.undefined,n.base,n.primary,n.secondary,n.tertiary,n.success,n.warning,n.error,n.info],variant:[m.outline,m.solid,m.duotone]},M={viewBox:"0 0 24 24",type:"svg",variant:m.outline},f=t=>{let{iconsType:e}=de(j),{size:s,themeColor:a,icon:r,type:d=e||M.type,rotate:c,flip:i,viewBox:u=M.viewBox,variant:g=M.variant,...p}=t;if(!r)return O(q,{});if((e||d)==="svg"){if(r==="none")return O(B,{...p,className:l(t.className,T),icon:r,size:s,variant:g});let E=R[r]?r:ce(`${r}-icon`);return R[E]?O(B,{...p,className:l(t.className,T),icon:R[E],size:s,themeColor:a,rotate:c,flip:i,viewBox:u,variant:g}):O(q,{})}return O(P,{...p,className:l(t.className,T),icon:r,size:s,themeColor:a,rotate:c,flip:i})};f.states=me;f.options=ue;f.defaultOptions=M;f.className=T;f.moduleName=U;f.folderName=V;var K="segmented-control",W=K,J="segmented-control-button",Q="segmented-control";import{jsx as X,jsxs as xe}from"react/jsx-runtime";var D="k-segmented-control-button",pe=[v.selected,v.hover,v.focus,v.disabled],fe={},ge={},h=t=>{let{hover:e,focus:s,selected:a,disabled:r,icon:d,text:c,iconClassName:i,...u}=t;return xe("button",{...u,className:l(t.className,D,G(D,{hover:e,focus:s,disabled:r,selected:a})),"aria-pressed":a?"true":"false","aria-disabled":r?"true":void 0,children:[d&&X(f,{className:l(i,"k-segmented-control-button-icon"),icon:d}),(c||t.children)&&X("span",{className:"k-segmented-control-button-text",children:c||t.children})]})};h.states=pe;h.options=fe;h.className=D;h.defaultOptions=ge;h.moduleName=J;h.folderName=Q;var $=h;import{jsx as Ce,jsxs as ve}from"react/jsx-runtime";var k="k-segmented-control",he=[],Ne={size:[o.undefined,o.small,o.medium,o.large]},N=t=>{let{size:e,stretched:s,children:a,thumbStyles:r,...d}=t;return ve("div",{...d,className:l(t.className,k,x(k,{size:e}),{[`${k}-stretched`]:s}),role:"group",children:[Ce("div",{className:"k-segmented-control-thumb","aria-hidden":"true",style:r}),a]})};N.states=he;N.options=Ne;N.className=k;N.moduleName=K;N.folderName=W;var Y=N;import{Fragment as Se,jsx as w,jsxs as ye}from"react/jsx-runtime";var ut=t=>w(Y,{...t,children:ye(Se,{children:[w($,{icon:"search",selected:!0,children:"Option 1"}),w($,{icon:"sparkles",children:"Option 2"})]})});export{ut as SegmentedControlNormal};
1
+ var l=(...t)=>t.filter(e=>e!==!0&&!!e).map(e=>Array.isArray(e)?l(...e):typeof e=="object"?Object.keys(e).map((s,i)=>e[i]||e[s]&&s||null).filter(s=>s!==null).join(" "):e).filter(e=>!!e).join(" ");var x=(t,e)=>l({[`${t}-xs`]:e.size==="xsmall",[`${t}-sm`]:e.size==="small",[`${t}-md`]:e.size==="medium",[`${t}-lg`]:e.size==="large",[`${t}-xl`]:e.size==="xlarge",[`${t}-xxl`]:e.size==="xxlarge",[`${t}-xxxl`]:e.size==="xxxlarge"},{[`${t}-${e.fillMode}`]:e.fillMode},{[`${t}-${e.themeColor}`]:e.themeColor},{"k-rounded-sm":e.rounded==="small","k-rounded-md":e.rounded==="medium","k-rounded-lg":e.rounded==="large","k-rounded-full":e.rounded==="full","k-rounded-none":e.rounded==="none"}),G=(t,e)=>{let{valid:s,invalid:i,hover:r,focus:d,checked:c,active:a,selected:u,disabled:g,indeterminate:p,loading:H,empty:E,readonly:Z,highlighted:ee,..._}=e;return l({"k-valid":s,"k-invalid":i,"k-hover":r,"k-focus":d,"k-checked":c,"k-active":a,"k-selected":u,"k-disabled":g,"k-indeterminate":p&&!c,"k-loading":H,"k-empty":E,"k-readonly":Z,"k-highlighted":ee},Object.keys(_).reduce((L,C)=>(C.startsWith("k-")?L[C]=_[C]:L[`k-${C}`]=_[C],L),{}))};var o={undefined:void 0,xsmall:"xsmall",small:"small",medium:"medium",large:"large",xlarge:"xlarge",xxlarge:"xxlarge",xxxlarge:"xxxlarge"};var m={undefined:void 0,outline:"outline",solid:"solid",duotone:"duotone"},n={undefined:void 0,inherit:"inherit",base:"base",primary:"primary",secondary:"secondary",tertiary:"tertiary",info:"info",success:"success",warning:"warning",error:"error",inverse:"inverse"},v={open:"open",hover:"hover",focus:"focus",active:"active",selected:"selected",disabled:"disabled",valid:"valid",invalid:"invalid",loading:"loading",required:"required",empty:"empty",indeterminate:"indeterminate",checked:"checked",readonly:"readonly",highlighted:"highlighted",generating:"generating",expanded:"expanded"};import{Fragment as re,jsx as F}from"react/jsx-runtime";var I="k-font-icon",te=[],oe={size:[o.undefined,o.xsmall,o.small,o.medium,o.large,o.xlarge,o.xxlarge,o.xxxlarge],themeColor:[n.undefined,n.base,n.primary,n.secondary,n.tertiary,n.success,n.warning,n.error,n.info]},ne={},S=t=>{let{size:e,themeColor:s,icon:i,rotate:r,flip:d,...c}=t;return i?F("span",{...c,className:l(t.className,I,x(I,{size:e}),{[`k-i-${i}`]:i,[`k-color-${s}`]:s,[`k-rotate-${r}`]:r,"k-flip-h":d==="h"||d==="both","k-flip-v":d==="v"||d==="both"}),"aria-hidden":"true"}):F(re,{})};S.states=te;S.options=oe;S.className=I;S.defaultOptions=ne;var P=S;import{Fragment as ae,jsx as b}from"react/jsx-runtime";var A="k-svg-icon",se=[],ie={size:[o.undefined,o.xsmall,o.small,o.medium,o.large,o.xlarge,o.xxlarge,o.xxxlarge],themeColor:[n.undefined,n.base,n.primary,n.secondary,n.tertiary,n.success,n.warning,n.error,n.info],variant:[m.outline,m.solid,m.duotone]},z={viewBox:"0 0 24 24",variant:m.outline},y=t=>{let{size:e,themeColor:s,rotate:i,flip:r,viewBox:d=z.viewBox,variant:c=z.variant,icon:a,...u}=t;if(!a)return b(ae,{});if(a==="none")return b("span",{...u,className:l(t.className,A,x("k-icon",{size:e}),"k-none"),"aria-hidden":"true"});let g=typeof a=="object"&&a.name&&a.name,p=typeof a=="object"?c&&a.variants?.[c]||a.variants?.outline||a.content:void 0;return b("span",{...u,className:l(t.className,A,x("k-icon",{size:e}),{[`k-svg-i-${g}`]:g,[`k-color-${s}`]:s,[`k-rotate-${i}`]:i,"k-flip-h":r==="h"||r==="both","k-flip-v":r==="v"||r==="both"}),"aria-hidden":"true",children:b("svg",{"aria-hidden":!0,focusable:!1,xmlns:"http://www.w3.org/2000/svg",viewBox:typeof a=="object"?a.viewBox:d,dangerouslySetInnerHTML:p!==void 0?{__html:p}:void 0,children:a?void 0:t.children})})};y.states=se;y.options=ie;y.className=A;y.defaultOptions=z;var B=y;import*as R from"@progress/kendo-svg-icons";var U="icon",V="icons";import{useContext as de}from"react";import{createContext as le}from"react";var j=le({iconsType:"svg"});import{Fragment as q,jsx as O}from"react/jsx-runtime";var T="k-icon",ce=t=>t.replace(/([-_][a-z0-9])/gi,e=>e.toUpperCase().replace("-","").replace("_","")),me=[],ue={size:[o.undefined,o.xsmall,o.small,o.medium,o.large,o.xlarge,o.xxlarge,o.xxxlarge],themeColor:[n.undefined,n.base,n.primary,n.secondary,n.tertiary,n.success,n.warning,n.error,n.info],variant:[m.outline,m.solid,m.duotone]},M={viewBox:"0 0 24 24",type:"svg",variant:m.outline},f=t=>{let{iconsType:e}=de(j),{size:s,themeColor:i,icon:r,type:d=e||M.type,rotate:c,flip:a,viewBox:u=M.viewBox,variant:g=M.variant,...p}=t;if(!r)return O(q,{});if((e||d)==="svg"){if(r==="none")return O(B,{...p,className:l(t.className,T),icon:r,size:s,variant:g});let E=R[r]?r:ce(`${r}-icon`);return R[E]?O(B,{...p,className:l(t.className,T),icon:R[E],size:s,themeColor:i,rotate:c,flip:a,viewBox:u,variant:g}):O(q,{})}return O(P,{...p,className:l(t.className,T),icon:r,size:s,themeColor:i,rotate:c,flip:a})};f.states=me;f.options=ue;f.defaultOptions=M;f.className=T;f.moduleName=U;f.folderName=V;var K="segmented-control",W=K,J="segmented-control-button",Q="segmented-control";import{jsx as X,jsxs as xe}from"react/jsx-runtime";var D="k-segmented-control-button",pe=[v.selected,v.hover,v.focus,v.disabled],fe={},ge={},h=t=>{let{hover:e,focus:s,selected:i,disabled:r,icon:d,text:c,iconClassName:a,...u}=t;return xe("button",{...u,className:l(t.className,D,G(D,{hover:e,focus:s,disabled:r,selected:i})),"aria-pressed":i?"true":"false","aria-disabled":r?"true":void 0,tabIndex:i?0:-1,children:[d&&X(f,{className:l(a,"k-segmented-control-button-icon"),icon:d}),(c||t.children)&&X("span",{className:"k-segmented-control-button-text",children:c||t.children})]})};h.states=pe;h.options=fe;h.className=D;h.defaultOptions=ge;h.moduleName=J;h.folderName=Q;var $=h;import{jsx as Ce,jsxs as ve}from"react/jsx-runtime";var k="k-segmented-control",he=[],Ne={size:[o.undefined,o.small,o.medium,o.large]},N=t=>{let{size:e,stretched:s,children:i,thumbStyles:r,...d}=t;return ve("div",{...d,className:l(t.className,k,x(k,{size:e}),{[`${k}-stretched`]:s}),role:"group",children:[Ce("div",{className:"k-segmented-control-thumb","aria-hidden":"true",style:r}),i]})};N.states=he;N.options=Ne;N.className=k;N.moduleName=K;N.folderName=W;var Y=N;import{Fragment as Se,jsx as w,jsxs as ye}from"react/jsx-runtime";var ut=t=>w(Y,{...t,children:ye(Se,{children:[w($,{icon:"search",selected:!0,children:"Option 1"}),w($,{icon:"sparkles",children:"Option 2"})]})});export{ut as SegmentedControlNormal};
@@ -1 +1 @@
1
- var l=(...t)=>t.filter(e=>e!==!0&&!!e).map(e=>Array.isArray(e)?l(...e):typeof e=="object"?Object.keys(e).map((s,a)=>e[a]||e[s]&&s||null).filter(s=>s!==null).join(" "):e).filter(e=>!!e).join(" ");var x=(t,e)=>l({[`${t}-xs`]:e.size==="xsmall",[`${t}-sm`]:e.size==="small",[`${t}-md`]:e.size==="medium",[`${t}-lg`]:e.size==="large",[`${t}-xl`]:e.size==="xlarge",[`${t}-xxl`]:e.size==="xxlarge",[`${t}-xxxl`]:e.size==="xxxlarge"},{[`${t}-${e.fillMode}`]:e.fillMode},{[`${t}-${e.themeColor}`]:e.themeColor},{"k-rounded-sm":e.rounded==="small","k-rounded-md":e.rounded==="medium","k-rounded-lg":e.rounded==="large","k-rounded-full":e.rounded==="full","k-rounded-none":e.rounded==="none"}),G=(t,e)=>{let{valid:s,invalid:a,hover:r,focus:d,checked:c,active:i,selected:u,disabled:g,indeterminate:p,loading:H,empty:E,readonly:Z,highlighted:ee,..._}=e;return l({"k-valid":s,"k-invalid":a,"k-hover":r,"k-focus":d,"k-checked":c,"k-active":i,"k-selected":u,"k-disabled":g,"k-indeterminate":p&&!c,"k-loading":H,"k-empty":E,"k-readonly":Z,"k-highlighted":ee},Object.keys(_).reduce((L,C)=>(C.startsWith("k-")?L[C]=_[C]:L[`k-${C}`]=_[C],L),{}))};var o={undefined:void 0,xsmall:"xsmall",small:"small",medium:"medium",large:"large",xlarge:"xlarge",xxlarge:"xxlarge",xxxlarge:"xxxlarge"};var m={undefined:void 0,outline:"outline",solid:"solid",duotone:"duotone"},n={undefined:void 0,inherit:"inherit",base:"base",primary:"primary",secondary:"secondary",tertiary:"tertiary",info:"info",success:"success",warning:"warning",error:"error",inverse:"inverse"},v={open:"open",hover:"hover",focus:"focus",active:"active",selected:"selected",disabled:"disabled",valid:"valid",invalid:"invalid",loading:"loading",required:"required",empty:"empty",indeterminate:"indeterminate",checked:"checked",readonly:"readonly",highlighted:"highlighted",generating:"generating",expanded:"expanded"};import{Fragment as re,jsx as F}from"react/jsx-runtime";var A="k-font-icon",te=[],oe={size:[o.undefined,o.xsmall,o.small,o.medium,o.large,o.xlarge,o.xxlarge,o.xxxlarge],themeColor:[n.undefined,n.base,n.primary,n.secondary,n.tertiary,n.success,n.warning,n.error,n.info]},ne={},S=t=>{let{size:e,themeColor:s,icon:a,rotate:r,flip:d,...c}=t;return a?F("span",{...c,className:l(t.className,A,x(A,{size:e}),{[`k-i-${a}`]:a,[`k-color-${s}`]:s,[`k-rotate-${r}`]:r,"k-flip-h":d==="h"||d==="both","k-flip-v":d==="v"||d==="both"}),"aria-hidden":"true"}):F(re,{})};S.states=te;S.options=oe;S.className=A;S.defaultOptions=ne;var P=S;import{Fragment as ae,jsx as b}from"react/jsx-runtime";var I="k-svg-icon",se=[],ie={size:[o.undefined,o.xsmall,o.small,o.medium,o.large,o.xlarge,o.xxlarge,o.xxxlarge],themeColor:[n.undefined,n.base,n.primary,n.secondary,n.tertiary,n.success,n.warning,n.error,n.info],variant:[m.outline,m.solid,m.duotone]},z={viewBox:"0 0 24 24",variant:m.outline},y=t=>{let{size:e,themeColor:s,rotate:a,flip:r,viewBox:d=z.viewBox,variant:c=z.variant,icon:i,...u}=t;if(!i)return b(ae,{});if(i==="none")return b("span",{...u,className:l(t.className,I,x("k-icon",{size:e}),"k-none"),"aria-hidden":"true"});let g=typeof i=="object"&&i.name&&i.name,p=typeof i=="object"?c&&i.variants?.[c]||i.variants?.outline||i.content:void 0;return b("span",{...u,className:l(t.className,I,x("k-icon",{size:e}),{[`k-svg-i-${g}`]:g,[`k-color-${s}`]:s,[`k-rotate-${a}`]:a,"k-flip-h":r==="h"||r==="both","k-flip-v":r==="v"||r==="both"}),"aria-hidden":"true",children:b("svg",{"aria-hidden":!0,focusable:!1,xmlns:"http://www.w3.org/2000/svg",viewBox:typeof i=="object"?i.viewBox:d,dangerouslySetInnerHTML:p!==void 0?{__html:p}:void 0,children:i?void 0:t.children})})};y.states=se;y.options=ie;y.className=I;y.defaultOptions=z;var B=y;import*as R from"@progress/kendo-svg-icons";var U="icon",V="icons";import{useContext as de}from"react";import{createContext as le}from"react";var j=le({iconsType:"svg"});import{Fragment as q,jsx as O}from"react/jsx-runtime";var T="k-icon",ce=t=>t.replace(/([-_][a-z0-9])/gi,e=>e.toUpperCase().replace("-","").replace("_","")),me=[],ue={size:[o.undefined,o.xsmall,o.small,o.medium,o.large,o.xlarge,o.xxlarge,o.xxxlarge],themeColor:[n.undefined,n.base,n.primary,n.secondary,n.tertiary,n.success,n.warning,n.error,n.info],variant:[m.outline,m.solid,m.duotone]},M={viewBox:"0 0 24 24",type:"svg",variant:m.outline},f=t=>{let{iconsType:e}=de(j),{size:s,themeColor:a,icon:r,type:d=e||M.type,rotate:c,flip:i,viewBox:u=M.viewBox,variant:g=M.variant,...p}=t;if(!r)return O(q,{});if((e||d)==="svg"){if(r==="none")return O(B,{...p,className:l(t.className,T),icon:r,size:s,variant:g});let E=R[r]?r:ce(`${r}-icon`);return R[E]?O(B,{...p,className:l(t.className,T),icon:R[E],size:s,themeColor:a,rotate:c,flip:i,viewBox:u,variant:g}):O(q,{})}return O(P,{...p,className:l(t.className,T),icon:r,size:s,themeColor:a,rotate:c,flip:i})};f.states=me;f.options=ue;f.defaultOptions=M;f.className=T;f.moduleName=U;f.folderName=V;var K="segmented-control",W=K,J="segmented-control-button",Q="segmented-control";import{jsx as X,jsxs as xe}from"react/jsx-runtime";var D="k-segmented-control-button",pe=[v.selected,v.hover,v.focus,v.disabled],fe={},ge={},h=t=>{let{hover:e,focus:s,selected:a,disabled:r,icon:d,text:c,iconClassName:i,...u}=t;return xe("button",{...u,className:l(t.className,D,G(D,{hover:e,focus:s,disabled:r,selected:a})),"aria-pressed":a?"true":"false","aria-disabled":r?"true":void 0,children:[d&&X(f,{className:l(i,"k-segmented-control-button-icon"),icon:d}),(c||t.children)&&X("span",{className:"k-segmented-control-button-text",children:c||t.children})]})};h.states=pe;h.options=fe;h.className=D;h.defaultOptions=ge;h.moduleName=J;h.folderName=Q;var $=h;import{jsx as Ce,jsxs as ve}from"react/jsx-runtime";var k="k-segmented-control",he=[],Ne={size:[o.undefined,o.small,o.medium,o.large]},N=t=>{let{size:e,stretched:s,children:a,thumbStyles:r,...d}=t;return ve("div",{...d,className:l(t.className,k,x(k,{size:e}),{[`${k}-stretched`]:s}),role:"group",children:[Ce("div",{className:"k-segmented-control-thumb","aria-hidden":"true",style:r}),a]})};N.states=he;N.options=Ne;N.className=k;N.moduleName=K;N.folderName=W;var Y=N;import{Fragment as Se,jsx as w,jsxs as ye}from"react/jsx-runtime";var ut=t=>w(Y,{...t,stretched:!0,children:ye(Se,{children:[w($,{icon:"search",selected:!0,children:"Search"}),w($,{icon:"sparkles",iconClassName:"k-accent-icon",children:" AI Assistant"})]})});export{ut as SegmentedControlStretched};
1
+ var l=(...t)=>t.filter(e=>e!==!0&&!!e).map(e=>Array.isArray(e)?l(...e):typeof e=="object"?Object.keys(e).map((s,i)=>e[i]||e[s]&&s||null).filter(s=>s!==null).join(" "):e).filter(e=>!!e).join(" ");var x=(t,e)=>l({[`${t}-xs`]:e.size==="xsmall",[`${t}-sm`]:e.size==="small",[`${t}-md`]:e.size==="medium",[`${t}-lg`]:e.size==="large",[`${t}-xl`]:e.size==="xlarge",[`${t}-xxl`]:e.size==="xxlarge",[`${t}-xxxl`]:e.size==="xxxlarge"},{[`${t}-${e.fillMode}`]:e.fillMode},{[`${t}-${e.themeColor}`]:e.themeColor},{"k-rounded-sm":e.rounded==="small","k-rounded-md":e.rounded==="medium","k-rounded-lg":e.rounded==="large","k-rounded-full":e.rounded==="full","k-rounded-none":e.rounded==="none"}),G=(t,e)=>{let{valid:s,invalid:i,hover:r,focus:d,checked:c,active:a,selected:u,disabled:g,indeterminate:p,loading:H,empty:E,readonly:Z,highlighted:ee,..._}=e;return l({"k-valid":s,"k-invalid":i,"k-hover":r,"k-focus":d,"k-checked":c,"k-active":a,"k-selected":u,"k-disabled":g,"k-indeterminate":p&&!c,"k-loading":H,"k-empty":E,"k-readonly":Z,"k-highlighted":ee},Object.keys(_).reduce((L,C)=>(C.startsWith("k-")?L[C]=_[C]:L[`k-${C}`]=_[C],L),{}))};var o={undefined:void 0,xsmall:"xsmall",small:"small",medium:"medium",large:"large",xlarge:"xlarge",xxlarge:"xxlarge",xxxlarge:"xxxlarge"};var m={undefined:void 0,outline:"outline",solid:"solid",duotone:"duotone"},n={undefined:void 0,inherit:"inherit",base:"base",primary:"primary",secondary:"secondary",tertiary:"tertiary",info:"info",success:"success",warning:"warning",error:"error",inverse:"inverse"},v={open:"open",hover:"hover",focus:"focus",active:"active",selected:"selected",disabled:"disabled",valid:"valid",invalid:"invalid",loading:"loading",required:"required",empty:"empty",indeterminate:"indeterminate",checked:"checked",readonly:"readonly",highlighted:"highlighted",generating:"generating",expanded:"expanded"};import{Fragment as re,jsx as F}from"react/jsx-runtime";var A="k-font-icon",te=[],oe={size:[o.undefined,o.xsmall,o.small,o.medium,o.large,o.xlarge,o.xxlarge,o.xxxlarge],themeColor:[n.undefined,n.base,n.primary,n.secondary,n.tertiary,n.success,n.warning,n.error,n.info]},ne={},S=t=>{let{size:e,themeColor:s,icon:i,rotate:r,flip:d,...c}=t;return i?F("span",{...c,className:l(t.className,A,x(A,{size:e}),{[`k-i-${i}`]:i,[`k-color-${s}`]:s,[`k-rotate-${r}`]:r,"k-flip-h":d==="h"||d==="both","k-flip-v":d==="v"||d==="both"}),"aria-hidden":"true"}):F(re,{})};S.states=te;S.options=oe;S.className=A;S.defaultOptions=ne;var P=S;import{Fragment as ae,jsx as b}from"react/jsx-runtime";var I="k-svg-icon",se=[],ie={size:[o.undefined,o.xsmall,o.small,o.medium,o.large,o.xlarge,o.xxlarge,o.xxxlarge],themeColor:[n.undefined,n.base,n.primary,n.secondary,n.tertiary,n.success,n.warning,n.error,n.info],variant:[m.outline,m.solid,m.duotone]},z={viewBox:"0 0 24 24",variant:m.outline},y=t=>{let{size:e,themeColor:s,rotate:i,flip:r,viewBox:d=z.viewBox,variant:c=z.variant,icon:a,...u}=t;if(!a)return b(ae,{});if(a==="none")return b("span",{...u,className:l(t.className,I,x("k-icon",{size:e}),"k-none"),"aria-hidden":"true"});let g=typeof a=="object"&&a.name&&a.name,p=typeof a=="object"?c&&a.variants?.[c]||a.variants?.outline||a.content:void 0;return b("span",{...u,className:l(t.className,I,x("k-icon",{size:e}),{[`k-svg-i-${g}`]:g,[`k-color-${s}`]:s,[`k-rotate-${i}`]:i,"k-flip-h":r==="h"||r==="both","k-flip-v":r==="v"||r==="both"}),"aria-hidden":"true",children:b("svg",{"aria-hidden":!0,focusable:!1,xmlns:"http://www.w3.org/2000/svg",viewBox:typeof a=="object"?a.viewBox:d,dangerouslySetInnerHTML:p!==void 0?{__html:p}:void 0,children:a?void 0:t.children})})};y.states=se;y.options=ie;y.className=I;y.defaultOptions=z;var B=y;import*as R from"@progress/kendo-svg-icons";var U="icon",V="icons";import{useContext as de}from"react";import{createContext as le}from"react";var j=le({iconsType:"svg"});import{Fragment as q,jsx as O}from"react/jsx-runtime";var T="k-icon",ce=t=>t.replace(/([-_][a-z0-9])/gi,e=>e.toUpperCase().replace("-","").replace("_","")),me=[],ue={size:[o.undefined,o.xsmall,o.small,o.medium,o.large,o.xlarge,o.xxlarge,o.xxxlarge],themeColor:[n.undefined,n.base,n.primary,n.secondary,n.tertiary,n.success,n.warning,n.error,n.info],variant:[m.outline,m.solid,m.duotone]},M={viewBox:"0 0 24 24",type:"svg",variant:m.outline},f=t=>{let{iconsType:e}=de(j),{size:s,themeColor:i,icon:r,type:d=e||M.type,rotate:c,flip:a,viewBox:u=M.viewBox,variant:g=M.variant,...p}=t;if(!r)return O(q,{});if((e||d)==="svg"){if(r==="none")return O(B,{...p,className:l(t.className,T),icon:r,size:s,variant:g});let E=R[r]?r:ce(`${r}-icon`);return R[E]?O(B,{...p,className:l(t.className,T),icon:R[E],size:s,themeColor:i,rotate:c,flip:a,viewBox:u,variant:g}):O(q,{})}return O(P,{...p,className:l(t.className,T),icon:r,size:s,themeColor:i,rotate:c,flip:a})};f.states=me;f.options=ue;f.defaultOptions=M;f.className=T;f.moduleName=U;f.folderName=V;var K="segmented-control",W=K,J="segmented-control-button",Q="segmented-control";import{jsx as X,jsxs as xe}from"react/jsx-runtime";var D="k-segmented-control-button",pe=[v.selected,v.hover,v.focus,v.disabled],fe={},ge={},h=t=>{let{hover:e,focus:s,selected:i,disabled:r,icon:d,text:c,iconClassName:a,...u}=t;return xe("button",{...u,className:l(t.className,D,G(D,{hover:e,focus:s,disabled:r,selected:i})),"aria-pressed":i?"true":"false","aria-disabled":r?"true":void 0,tabIndex:i?0:-1,children:[d&&X(f,{className:l(a,"k-segmented-control-button-icon"),icon:d}),(c||t.children)&&X("span",{className:"k-segmented-control-button-text",children:c||t.children})]})};h.states=pe;h.options=fe;h.className=D;h.defaultOptions=ge;h.moduleName=J;h.folderName=Q;var $=h;import{jsx as Ce,jsxs as ve}from"react/jsx-runtime";var k="k-segmented-control",he=[],Ne={size:[o.undefined,o.small,o.medium,o.large]},N=t=>{let{size:e,stretched:s,children:i,thumbStyles:r,...d}=t;return ve("div",{...d,className:l(t.className,k,x(k,{size:e}),{[`${k}-stretched`]:s}),role:"group",children:[Ce("div",{className:"k-segmented-control-thumb","aria-hidden":"true",style:r}),i]})};N.states=he;N.options=Ne;N.className=k;N.moduleName=K;N.folderName=W;var Y=N;import{Fragment as Se,jsx as w,jsxs as ye}from"react/jsx-runtime";var ut=t=>w(Y,{...t,stretched:!0,children:ye(Se,{children:[w($,{icon:"search",selected:!0,children:"Search"}),w($,{icon:"sparkles",iconClassName:"k-accent-icon",children:" AI Assistant"})]})});export{ut as SegmentedControlStretched};
@@ -1 +1 @@
1
- var l=(...t)=>t.filter(e=>e!==!0&&!!e).map(e=>Array.isArray(e)?l(...e):typeof e=="object"?Object.keys(e).map((s,a)=>e[a]||e[s]&&s||null).filter(s=>s!==null).join(" "):e).filter(e=>!!e).join(" ");var x=(t,e)=>l({[`${t}-xs`]:e.size==="xsmall",[`${t}-sm`]:e.size==="small",[`${t}-md`]:e.size==="medium",[`${t}-lg`]:e.size==="large",[`${t}-xl`]:e.size==="xlarge",[`${t}-xxl`]:e.size==="xxlarge",[`${t}-xxxl`]:e.size==="xxxlarge"},{[`${t}-${e.fillMode}`]:e.fillMode},{[`${t}-${e.themeColor}`]:e.themeColor},{"k-rounded-sm":e.rounded==="small","k-rounded-md":e.rounded==="medium","k-rounded-lg":e.rounded==="large","k-rounded-full":e.rounded==="full","k-rounded-none":e.rounded==="none"}),G=(t,e)=>{let{valid:s,invalid:a,hover:r,focus:d,checked:c,active:i,selected:u,disabled:g,indeterminate:p,loading:H,empty:E,readonly:Z,highlighted:ee,..._}=e;return l({"k-valid":s,"k-invalid":a,"k-hover":r,"k-focus":d,"k-checked":c,"k-active":i,"k-selected":u,"k-disabled":g,"k-indeterminate":p&&!c,"k-loading":H,"k-empty":E,"k-readonly":Z,"k-highlighted":ee},Object.keys(_).reduce((L,C)=>(C.startsWith("k-")?L[C]=_[C]:L[`k-${C}`]=_[C],L),{}))};var o={undefined:void 0,xsmall:"xsmall",small:"small",medium:"medium",large:"large",xlarge:"xlarge",xxlarge:"xxlarge",xxxlarge:"xxxlarge"};var m={undefined:void 0,outline:"outline",solid:"solid",duotone:"duotone"},n={undefined:void 0,inherit:"inherit",base:"base",primary:"primary",secondary:"secondary",tertiary:"tertiary",info:"info",success:"success",warning:"warning",error:"error",inverse:"inverse"},v={open:"open",hover:"hover",focus:"focus",active:"active",selected:"selected",disabled:"disabled",valid:"valid",invalid:"invalid",loading:"loading",required:"required",empty:"empty",indeterminate:"indeterminate",checked:"checked",readonly:"readonly",highlighted:"highlighted",generating:"generating",expanded:"expanded"};import{Fragment as re,jsx as F}from"react/jsx-runtime";var A="k-font-icon",te=[],oe={size:[o.undefined,o.xsmall,o.small,o.medium,o.large,o.xlarge,o.xxlarge,o.xxxlarge],themeColor:[n.undefined,n.base,n.primary,n.secondary,n.tertiary,n.success,n.warning,n.error,n.info]},ne={},S=t=>{let{size:e,themeColor:s,icon:a,rotate:r,flip:d,...c}=t;return a?F("span",{...c,className:l(t.className,A,x(A,{size:e}),{[`k-i-${a}`]:a,[`k-color-${s}`]:s,[`k-rotate-${r}`]:r,"k-flip-h":d==="h"||d==="both","k-flip-v":d==="v"||d==="both"}),"aria-hidden":"true"}):F(re,{})};S.states=te;S.options=oe;S.className=A;S.defaultOptions=ne;var P=S;import{Fragment as ae,jsx as b}from"react/jsx-runtime";var I="k-svg-icon",se=[],ie={size:[o.undefined,o.xsmall,o.small,o.medium,o.large,o.xlarge,o.xxlarge,o.xxxlarge],themeColor:[n.undefined,n.base,n.primary,n.secondary,n.tertiary,n.success,n.warning,n.error,n.info],variant:[m.outline,m.solid,m.duotone]},z={viewBox:"0 0 24 24",variant:m.outline},y=t=>{let{size:e,themeColor:s,rotate:a,flip:r,viewBox:d=z.viewBox,variant:c=z.variant,icon:i,...u}=t;if(!i)return b(ae,{});if(i==="none")return b("span",{...u,className:l(t.className,I,x("k-icon",{size:e}),"k-none"),"aria-hidden":"true"});let g=typeof i=="object"&&i.name&&i.name,p=typeof i=="object"?c&&i.variants?.[c]||i.variants?.outline||i.content:void 0;return b("span",{...u,className:l(t.className,I,x("k-icon",{size:e}),{[`k-svg-i-${g}`]:g,[`k-color-${s}`]:s,[`k-rotate-${a}`]:a,"k-flip-h":r==="h"||r==="both","k-flip-v":r==="v"||r==="both"}),"aria-hidden":"true",children:b("svg",{"aria-hidden":!0,focusable:!1,xmlns:"http://www.w3.org/2000/svg",viewBox:typeof i=="object"?i.viewBox:d,dangerouslySetInnerHTML:p!==void 0?{__html:p}:void 0,children:i?void 0:t.children})})};y.states=se;y.options=ie;y.className=I;y.defaultOptions=z;var B=y;import*as R from"@progress/kendo-svg-icons";var U="icon",V="icons";import{useContext as de}from"react";import{createContext as le}from"react";var j=le({iconsType:"svg"});import{Fragment as q,jsx as O}from"react/jsx-runtime";var T="k-icon",ce=t=>t.replace(/([-_][a-z0-9])/gi,e=>e.toUpperCase().replace("-","").replace("_","")),me=[],ue={size:[o.undefined,o.xsmall,o.small,o.medium,o.large,o.xlarge,o.xxlarge,o.xxxlarge],themeColor:[n.undefined,n.base,n.primary,n.secondary,n.tertiary,n.success,n.warning,n.error,n.info],variant:[m.outline,m.solid,m.duotone]},M={viewBox:"0 0 24 24",type:"svg",variant:m.outline},f=t=>{let{iconsType:e}=de(j),{size:s,themeColor:a,icon:r,type:d=e||M.type,rotate:c,flip:i,viewBox:u=M.viewBox,variant:g=M.variant,...p}=t;if(!r)return O(q,{});if((e||d)==="svg"){if(r==="none")return O(B,{...p,className:l(t.className,T),icon:r,size:s,variant:g});let E=R[r]?r:ce(`${r}-icon`);return R[E]?O(B,{...p,className:l(t.className,T),icon:R[E],size:s,themeColor:a,rotate:c,flip:i,viewBox:u,variant:g}):O(q,{})}return O(P,{...p,className:l(t.className,T),icon:r,size:s,themeColor:a,rotate:c,flip:i})};f.states=me;f.options=ue;f.defaultOptions=M;f.className=T;f.moduleName=U;f.folderName=V;var K="segmented-control",W=K,J="segmented-control-button",Q="segmented-control";import{jsx as X,jsxs as xe}from"react/jsx-runtime";var D="k-segmented-control-button",pe=[v.selected,v.hover,v.focus,v.disabled],fe={},ge={},h=t=>{let{hover:e,focus:s,selected:a,disabled:r,icon:d,text:c,iconClassName:i,...u}=t;return xe("button",{...u,className:l(t.className,D,G(D,{hover:e,focus:s,disabled:r,selected:a})),"aria-pressed":a?"true":"false","aria-disabled":r?"true":void 0,children:[d&&X(f,{className:l(i,"k-segmented-control-button-icon"),icon:d}),(c||t.children)&&X("span",{className:"k-segmented-control-button-text",children:c||t.children})]})};h.states=pe;h.options=fe;h.className=D;h.defaultOptions=ge;h.moduleName=J;h.folderName=Q;var $=h;import{jsx as Ce,jsxs as ve}from"react/jsx-runtime";var k="k-segmented-control",he=[],Ne={size:[o.undefined,o.small,o.medium,o.large]},N=t=>{let{size:e,stretched:s,children:a,thumbStyles:r,...d}=t;return ve("div",{...d,className:l(t.className,k,x(k,{size:e}),{[`${k}-stretched`]:s}),role:"group",children:[Ce("div",{className:"k-segmented-control-thumb","aria-hidden":"true",style:r}),a]})};N.states=he;N.options=Ne;N.className=k;N.moduleName=K;N.folderName=W;var Y=N;import{Fragment as Se,jsx as w,jsxs as ye}from"react/jsx-runtime";var ut=t=>w(Y,{...t,children:ye(Se,{children:[w($,{selected:!0,children:"Option 1"}),w($,{children:"Option 2"})]})});export{ut as SegmentedControlText};
1
+ var l=(...t)=>t.filter(e=>e!==!0&&!!e).map(e=>Array.isArray(e)?l(...e):typeof e=="object"?Object.keys(e).map((s,i)=>e[i]||e[s]&&s||null).filter(s=>s!==null).join(" "):e).filter(e=>!!e).join(" ");var g=(t,e)=>l({[`${t}-xs`]:e.size==="xsmall",[`${t}-sm`]:e.size==="small",[`${t}-md`]:e.size==="medium",[`${t}-lg`]:e.size==="large",[`${t}-xl`]:e.size==="xlarge",[`${t}-xxl`]:e.size==="xxlarge",[`${t}-xxxl`]:e.size==="xxxlarge"},{[`${t}-${e.fillMode}`]:e.fillMode},{[`${t}-${e.themeColor}`]:e.themeColor},{"k-rounded-sm":e.rounded==="small","k-rounded-md":e.rounded==="medium","k-rounded-lg":e.rounded==="large","k-rounded-full":e.rounded==="full","k-rounded-none":e.rounded==="none"}),G=(t,e)=>{let{valid:s,invalid:i,hover:r,focus:d,checked:c,active:a,selected:u,disabled:x,indeterminate:p,loading:H,empty:E,readonly:Z,highlighted:ee,..._}=e;return l({"k-valid":s,"k-invalid":i,"k-hover":r,"k-focus":d,"k-checked":c,"k-active":a,"k-selected":u,"k-disabled":x,"k-indeterminate":p&&!c,"k-loading":H,"k-empty":E,"k-readonly":Z,"k-highlighted":ee},Object.keys(_).reduce((L,C)=>(C.startsWith("k-")?L[C]=_[C]:L[`k-${C}`]=_[C],L),{}))};var o={undefined:void 0,xsmall:"xsmall",small:"small",medium:"medium",large:"large",xlarge:"xlarge",xxlarge:"xxlarge",xxxlarge:"xxxlarge"};var m={undefined:void 0,outline:"outline",solid:"solid",duotone:"duotone"},n={undefined:void 0,inherit:"inherit",base:"base",primary:"primary",secondary:"secondary",tertiary:"tertiary",info:"info",success:"success",warning:"warning",error:"error",inverse:"inverse"},v={open:"open",hover:"hover",focus:"focus",active:"active",selected:"selected",disabled:"disabled",valid:"valid",invalid:"invalid",loading:"loading",required:"required",empty:"empty",indeterminate:"indeterminate",checked:"checked",readonly:"readonly",highlighted:"highlighted",generating:"generating",expanded:"expanded"};import{Fragment as re,jsx as F}from"react/jsx-runtime";var I="k-font-icon",te=[],oe={size:[o.undefined,o.xsmall,o.small,o.medium,o.large,o.xlarge,o.xxlarge,o.xxxlarge],themeColor:[n.undefined,n.base,n.primary,n.secondary,n.tertiary,n.success,n.warning,n.error,n.info]},ne={},S=t=>{let{size:e,themeColor:s,icon:i,rotate:r,flip:d,...c}=t;return i?F("span",{...c,className:l(t.className,I,g(I,{size:e}),{[`k-i-${i}`]:i,[`k-color-${s}`]:s,[`k-rotate-${r}`]:r,"k-flip-h":d==="h"||d==="both","k-flip-v":d==="v"||d==="both"}),"aria-hidden":"true"}):F(re,{})};S.states=te;S.options=oe;S.className=I;S.defaultOptions=ne;var P=S;import{Fragment as ae,jsx as b}from"react/jsx-runtime";var A="k-svg-icon",se=[],ie={size:[o.undefined,o.xsmall,o.small,o.medium,o.large,o.xlarge,o.xxlarge,o.xxxlarge],themeColor:[n.undefined,n.base,n.primary,n.secondary,n.tertiary,n.success,n.warning,n.error,n.info],variant:[m.outline,m.solid,m.duotone]},z={viewBox:"0 0 24 24",variant:m.outline},y=t=>{let{size:e,themeColor:s,rotate:i,flip:r,viewBox:d=z.viewBox,variant:c=z.variant,icon:a,...u}=t;if(!a)return b(ae,{});if(a==="none")return b("span",{...u,className:l(t.className,A,g("k-icon",{size:e}),"k-none"),"aria-hidden":"true"});let x=typeof a=="object"&&a.name&&a.name,p=typeof a=="object"?c&&a.variants?.[c]||a.variants?.outline||a.content:void 0;return b("span",{...u,className:l(t.className,A,g("k-icon",{size:e}),{[`k-svg-i-${x}`]:x,[`k-color-${s}`]:s,[`k-rotate-${i}`]:i,"k-flip-h":r==="h"||r==="both","k-flip-v":r==="v"||r==="both"}),"aria-hidden":"true",children:b("svg",{"aria-hidden":!0,focusable:!1,xmlns:"http://www.w3.org/2000/svg",viewBox:typeof a=="object"?a.viewBox:d,dangerouslySetInnerHTML:p!==void 0?{__html:p}:void 0,children:a?void 0:t.children})})};y.states=se;y.options=ie;y.className=A;y.defaultOptions=z;var B=y;import*as R from"@progress/kendo-svg-icons";var U="icon",V="icons";import{useContext as de}from"react";import{createContext as le}from"react";var j=le({iconsType:"svg"});import{Fragment as q,jsx as O}from"react/jsx-runtime";var T="k-icon",ce=t=>t.replace(/([-_][a-z0-9])/gi,e=>e.toUpperCase().replace("-","").replace("_","")),me=[],ue={size:[o.undefined,o.xsmall,o.small,o.medium,o.large,o.xlarge,o.xxlarge,o.xxxlarge],themeColor:[n.undefined,n.base,n.primary,n.secondary,n.tertiary,n.success,n.warning,n.error,n.info],variant:[m.outline,m.solid,m.duotone]},M={viewBox:"0 0 24 24",type:"svg",variant:m.outline},f=t=>{let{iconsType:e}=de(j),{size:s,themeColor:i,icon:r,type:d=e||M.type,rotate:c,flip:a,viewBox:u=M.viewBox,variant:x=M.variant,...p}=t;if(!r)return O(q,{});if((e||d)==="svg"){if(r==="none")return O(B,{...p,className:l(t.className,T),icon:r,size:s,variant:x});let E=R[r]?r:ce(`${r}-icon`);return R[E]?O(B,{...p,className:l(t.className,T),icon:R[E],size:s,themeColor:i,rotate:c,flip:a,viewBox:u,variant:x}):O(q,{})}return O(P,{...p,className:l(t.className,T),icon:r,size:s,themeColor:i,rotate:c,flip:a})};f.states=me;f.options=ue;f.defaultOptions=M;f.className=T;f.moduleName=U;f.folderName=V;var K="segmented-control",W=K,J="segmented-control-button",Q="segmented-control";import{jsx as X,jsxs as ge}from"react/jsx-runtime";var D="k-segmented-control-button",pe=[v.selected,v.hover,v.focus,v.disabled],fe={},xe={},h=t=>{let{hover:e,focus:s,selected:i,disabled:r,icon:d,text:c,iconClassName:a,...u}=t;return ge("button",{...u,className:l(t.className,D,G(D,{hover:e,focus:s,disabled:r,selected:i})),"aria-pressed":i?"true":"false","aria-disabled":r?"true":void 0,tabIndex:i?0:-1,children:[d&&X(f,{className:l(a,"k-segmented-control-button-icon"),icon:d}),(c||t.children)&&X("span",{className:"k-segmented-control-button-text",children:c||t.children})]})};h.states=pe;h.options=fe;h.className=D;h.defaultOptions=xe;h.moduleName=J;h.folderName=Q;var $=h;import{jsx as Ce,jsxs as ve}from"react/jsx-runtime";var k="k-segmented-control",he=[],Ne={size:[o.undefined,o.small,o.medium,o.large]},N=t=>{let{size:e,stretched:s,children:i,thumbStyles:r,...d}=t;return ve("div",{...d,className:l(t.className,k,g(k,{size:e}),{[`${k}-stretched`]:s}),role:"group",children:[Ce("div",{className:"k-segmented-control-thumb","aria-hidden":"true",style:r}),i]})};N.states=he;N.options=Ne;N.className=k;N.moduleName=K;N.folderName=W;var Y=N;import{Fragment as Se,jsx as w,jsxs as ye}from"react/jsx-runtime";var ut=t=>w(Y,{...t,children:ye(Se,{children:[w($,{selected:!0,children:"Option 1"}),w($,{children:"Option 2"})]})});export{ut as SegmentedControlText};
@@ -0,0 +1,48 @@
1
+ import * as React from "react";
2
+ import { KendoComponent } from "../_types/component";
3
+ export declare const AGENT_STEP_CLASSNAME = "k-agent-step";
4
+ export type KendoAgentStepProps = {
5
+ /** Icon name for the step type (e.g. "sparkles", "search", "wrench", "code", "file-txt") */
6
+ icon?: string;
7
+ /** Primary label text (bold) — e.g. "Thinking", "bash", "edit", "read" */
8
+ label?: string;
9
+ /** Additional class names applied to the label span (e.g. "k-text-shimmer" for active/streaming state) */
10
+ labelClassName?: string;
11
+ /** Secondary descriptive text (subtle) — e.g. "src/utils/formatDate.ts", "git diff --stat" */
12
+ secondaryLabel?: string;
13
+ /** Number of lines added (rendered green with + prefix) */
14
+ linesAdded?: number;
15
+ /** Number of lines removed (rendered red with - prefix) */
16
+ linesRemoved?: number;
17
+ /** Duration string — e.g. "120ms", "4m 18s" */
18
+ time?: string;
19
+ /** Status badge text — e.g. "Completed", "Awaiting Approval", "No results found" */
20
+ status?: string;
21
+ /** Theme color for the status Badge */
22
+ statusThemeColor?: "base" | "success" | "warning" | "error" | "info";
23
+ /** Status Badge icon — e.g. "check-circle", "exclamation-circle", "x-circle" */
24
+ statusIcon?: string;
25
+ /** Whether the step can be expanded */
26
+ expandable?: boolean;
27
+ /** Whether the step is currently expanded */
28
+ expanded?: boolean;
29
+ /** Whether the step has completed (disables the label shimmer and dims the icon/label) */
30
+ completed?: boolean;
31
+ };
32
+ /**
33
+ * @aria {role="button"} The role is implicit from the native <button> element used for the step's head.
34
+ * @aria {aria-expanded="true"|"false"} Rendered on the head only when the step is expandable, indicating whether its body is currently shown.
35
+ * @aria {aria-label|aria-labelledby} Required on the head when it has no visible label/secondaryLabel text (e.g. icon-only steps).
36
+ * @ux {Expand / Collapse} Clicking or activating the step's head via keyboard toggles the body content open and closed.
37
+ * @ux {Hover feedback} Hovering the head highlights it with the app-surface background and normalizes all text/icon colors to on-app-surface.
38
+ * @ux {Completed state} When completed, the label stops shimmering and the icon/label/expand icon dim to a subtle color.
39
+ * @ux {Diff stats} Added/removed line counts always render in success/error colors, regardless of hover or completed state.
40
+ */
41
+ export declare const AgentStep: KendoComponent<KendoAgentStepProps & React.HTMLAttributes<HTMLDivElement>>;
42
+ /**
43
+ * @keyboard {Enter or Space} Triggers the focused step's head, toggling the expanded state when the step is expandable.
44
+ * @keyboard {Tab} Moves focus to the next step's head; each AgentStep head is its own stop in the tab sequence.
45
+ *
46
+ * @see https://www.w3.org/WAI/ARIA/apg/patterns/disclosure/ WAI-ARIA Authoring Practices: Disclosure (Show/Hide) Pattern
47
+ */
48
+ export default AgentStep;
@@ -0,0 +1,20 @@
1
+ import * as React from "react";
2
+ import { KendoAgentStepProps } from "./agent-step";
3
+ import { KendoComponent } from "../_types/component";
4
+ export declare const CHAIN_OF_THOUGHT_CLASSNAME = "k-chain-of-thought";
5
+ export type KendoChainOfThoughtProps = KendoAgentStepProps;
6
+ /**
7
+ * @aria {role="button"} The role is implicit from the native <button> element used for the step's head.
8
+ * @aria {aria-expanded="true"|"false"} Rendered on the head only when the step is expandable, indicating whether its body is currently shown.
9
+ * @aria {aria-label|aria-labelledby} Required on the head when it has no visible label/secondaryLabel text.
10
+ * @ux {Expand / Collapse} Clicking or activating the head toggles the nested Thought steps open and closed.
11
+ * @ux {Completed state} When completed, the label stops shimmering and the icon/label/expand icon dim to a subtle color.
12
+ */
13
+ export declare const ChainOfThought: KendoComponent<KendoChainOfThoughtProps & React.HTMLAttributes<HTMLDivElement>>;
14
+ /**
15
+ * @keyboard {Enter or Space} Triggers the focused head, toggling the expanded state when expandable.
16
+ * @keyboard {Tab} Moves focus to the next ChainOfThought head; each instance is its own stop in the tab sequence.
17
+ *
18
+ * @see https://www.w3.org/WAI/ARIA/apg/patterns/disclosure/ WAI-ARIA Authoring Practices: Disclosure (Show/Hide) Pattern
19
+ */
20
+ export default ChainOfThought;
@@ -0,0 +1,2 @@
1
+ export declare const AGENT_RESPONSE_MODULE_NAME = "agent-response";
2
+ export declare const AGENT_RESPONSE_FOLDER_NAME = "agent-response";
@@ -0,0 +1,10 @@
1
+ export * from './agent-step';
2
+ export * from './chain-of-thought.spec';
3
+ export * from './templates/chain-of-thought-normal';
4
+ export * from './templates/chain-of-thought-expanded';
5
+ export * from './reasoning.spec';
6
+ export * from './templates/reasoning-normal';
7
+ export * from './templates/reasoning-expanded';
8
+ export * from './tool-call.spec';
9
+ export * from './templates/tool-call-normal';
10
+ export * from './templates/tool-call-expanded';
@@ -0,0 +1,20 @@
1
+ import * as React from "react";
2
+ import { KendoAgentStepProps } from "./agent-step";
3
+ import { KendoComponent } from "../_types/component";
4
+ export declare const REASONING_CLASSNAME = "k-reasoning";
5
+ export type KendoReasoningProps = KendoAgentStepProps;
6
+ /**
7
+ * @aria {role="button"} The role is implicit from the native <button> element used for the step's head.
8
+ * @aria {aria-expanded="true"|"false"} Rendered on the head only when the step is expandable, indicating whether its body is currently shown.
9
+ * @aria {aria-label|aria-labelledby} Required on the head when it has no visible label/secondaryLabel text.
10
+ * @ux {Expand / Collapse} Clicking or activating the head toggles the reasoning body open and closed.
11
+ * @ux {Completed state} When completed, the label stops shimmering and the icon/label/expand icon dim to a subtle color.
12
+ */
13
+ export declare const Reasoning: KendoComponent<KendoReasoningProps & React.HTMLAttributes<HTMLDivElement>>;
14
+ /**
15
+ * @keyboard {Enter or Space} Triggers the focused head, toggling the expanded state when expandable.
16
+ * @keyboard {Tab} Moves focus to the next Reasoning head; each instance is its own stop in the tab sequence.
17
+ *
18
+ * @see https://www.w3.org/WAI/ARIA/apg/patterns/disclosure/ WAI-ARIA Authoring Practices: Disclosure (Show/Hide) Pattern
19
+ */
20
+ export default Reasoning;
@@ -0,0 +1 @@
1
+ export declare const ChainOfThoughtExpanded: (props: any) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1 @@
1
+ export declare const ChainOfThoughtNormal: (props: any) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1 @@
1
+ export declare const ReasoningExpanded: (props: any) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1 @@
1
+ export declare const ReasoningNormal: (props: any) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1 @@
1
+ export declare const ToolCallExpanded: (props: any) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1 @@
1
+ export declare const ToolCallNormal: (props: any) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,33 @@
1
+ import * as React from "react";
2
+ import { KendoComponent } from "../_types/component";
3
+ export declare const THOUGHT_CLASSNAME = "k-thought";
4
+ export type KendoThoughtProps = {
5
+ /** Icon name for the step type (e.g. "sparkles", "search", "wrench", "code", "file-txt") */
6
+ icon?: string;
7
+ /** Primary label text (bold) — e.g. "Thinking", "bash", "edit", "read" */
8
+ label?: string;
9
+ /** Additional class names applied to the label span (e.g. "k-text-shimmer" for active/streaming state) */
10
+ labelClassName?: string;
11
+ /** Secondary descriptive text (subtle) — e.g. "src/utils/formatDate.ts", "git diff --stat" */
12
+ secondaryLabel?: string;
13
+ /** Number of lines added (rendered green with + prefix) */
14
+ linesAdded?: number;
15
+ /** Number of lines removed (rendered red with - prefix) */
16
+ linesRemoved?: number;
17
+ /** Duration string — e.g. "120ms", "4m 18s" */
18
+ time?: string;
19
+ /** Status badge text — e.g. "Completed", "Awaiting Approval", "No results found" */
20
+ status?: string;
21
+ /** Theme color for the status Badge */
22
+ statusThemeColor?: "base" | "success" | "warning" | "error" | "info";
23
+ /** Status Badge icon — e.g. "check-circle", "exclamation-circle", "x-circle" */
24
+ statusIcon?: string;
25
+ /** Whether the thought has completed (disables the label shimmer and dims the icon/label) */
26
+ completed?: boolean;
27
+ };
28
+ /**
29
+ * @ux {Completed state} When completed, the label stops shimmering and the icon/label dim to a subtle color.
30
+ * @ux {Diff stats} Added/removed line counts always render in success/error colors, regardless of completed state.
31
+ */
32
+ export declare const Thought: KendoComponent<KendoThoughtProps & React.HTMLAttributes<HTMLDivElement>>;
33
+ export default Thought;
@@ -0,0 +1,21 @@
1
+ import * as React from "react";
2
+ import { KendoAgentStepProps } from "./agent-step";
3
+ import { KendoComponent } from "../_types/component";
4
+ export declare const TOOL_CALL_CLASSNAME = "k-tool-call";
5
+ export type KendoToolCallProps = KendoAgentStepProps;
6
+ /**
7
+ * @aria {role="button"} The role is implicit from the native <button> element used for the step's head.
8
+ * @aria {aria-expanded="true"|"false"} Rendered on the head only when the step is expandable, indicating whether its body is currently shown.
9
+ * @aria {aria-label|aria-labelledby} Required on the head when it has no visible label/secondaryLabel text.
10
+ * @ux {Expand / Collapse} Clicking or activating the head toggles the tool call body (parameters, results, approval actions) open and closed.
11
+ * @ux {Status} The optional status Badge reflects the call's outcome (e.g. "Completed", "Awaiting Approval", "Error").
12
+ * @ux {Completed state} When completed, the label stops shimmering and the icon/label/expand icon dim to a subtle color.
13
+ */
14
+ export declare const ToolCall: KendoComponent<KendoToolCallProps & React.HTMLAttributes<HTMLDivElement>>;
15
+ /**
16
+ * @keyboard {Enter or Space} Triggers the focused head, toggling the expanded state when expandable.
17
+ * @keyboard {Tab} Moves focus to the next ToolCall head; each instance is its own stop in the tab sequence.
18
+ *
19
+ * @see https://www.w3.org/WAI/ARIA/apg/patterns/disclosure/ WAI-ARIA Authoring Practices: Disclosure (Show/Hide) Pattern
20
+ */
21
+ export default ToolCall;
@@ -0,0 +1,18 @@
1
+ import * as React from "react";
2
+ import { KendoComponent } from "../_types/component";
3
+ export declare const CHECKPOINT_CLASSNAME = "k-checkpoint";
4
+ export type KendoCheckpointProps = {
5
+ /** Forces the checkpoint to stay visible (opacity 1). By default it's only revealed on hover/focus. */
6
+ visible?: boolean;
7
+ };
8
+ /**
9
+ * @aria {aria-hidden="true"} The gradient separator lines are decorative and hidden from assistive technologies.
10
+ *
11
+ * @ux {Hover reveal} Hidden by default and faded in on hover of the checkpoint or when a descendant (e.g. a Button) receives focus.
12
+ * @ux {Always visible} Set the `visible` prop to keep the checkpoint permanently shown, bypassing the hover/focus reveal.
13
+ */
14
+ export declare const Checkpoint: KendoComponent<KendoCheckpointProps & React.HTMLAttributes<HTMLDivElement>>;
15
+ /**
16
+ * @keyboard {Tab} Focusing an interactive descendant (e.g. a Button) reveals the checkpoint via `:focus-within`.
17
+ */
18
+ export default Checkpoint;
@@ -0,0 +1,2 @@
1
+ export declare const CHECKPOINT_MODULE_NAME = "checkpoint";
2
+ export declare const CHECKPOINT_FOLDER_NAME = "checkpoint";
@@ -0,0 +1,2 @@
1
+ export * from './checkpoint.spec';
2
+ export * from './templates/checkpoint-normal';
@@ -0,0 +1 @@
1
+ export declare const CheckpointNormal: (props: any) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,22 @@
1
+ import * as React from "react";
2
+ import { KendoComponent } from "../_types/component";
3
+ export declare const CITATION_POPOVER_CLASSNAME = "k-citation-popover";
4
+ export type KendoCitationPopoverProps = {
5
+ pageIndex?: number;
6
+ totalPages?: number;
7
+ body?: React.JSX.Element;
8
+ currentView?: number;
9
+ };
10
+ /**
11
+ * @aria {aria-label} Accessible name applied to the Previous and Next pagination icon buttons.
12
+ * @ux {Paged navigation} Displays a "current/total" page indicator with Previous/Next buttons to move between citation pages.
13
+ * @ux {Sliding views} Slides between page views using the --kendo-citation-popover-view-current CSS variable instead of unmounting content.
14
+ */
15
+ export declare const CitationPopover: KendoComponent<KendoCitationPopoverProps & React.HTMLAttributes<HTMLDivElement>>;
16
+ /**
17
+ * @keyboard {Enter or Space} Triggers the focused Previous/Next icon button.
18
+ * @keyboard {Escape} Dismisses the popover (inherited from Popover).
19
+ *
20
+ * @see https://www.w3.org/WAI/ARIA/apg/patterns/dialog-modal/ WAI-ARIA Authoring Practices: Dialog (Modal) Pattern
21
+ */
22
+ export default CitationPopover;
@@ -0,0 +1,16 @@
1
+ import * as React from "react";
2
+ import { KendoChipProps, KendoChipState } from "../chip";
3
+ import { KendoComponent } from "../_types/component";
4
+ export declare const CITATION_CLASSNAME = "k-citation";
5
+ export type KendoCitationProps = {
6
+ /** Source domain/name shown as the chip label, e.g. "some-link.com" */
7
+ domain?: string;
8
+ /** Number of additional sources not shown individually, renders as a "+N" suffix */
9
+ count?: number;
10
+ };
11
+ /**
12
+ * @ux {Inline citation} Displays a source domain as a small, pill-shaped chip inline within AI-generated content.
13
+ * @ux {Additional sources} An optional count renders as a "+N" suffix indicating further uncited sources.
14
+ */
15
+ export declare const Citation: KendoComponent<KendoCitationProps & KendoChipProps & KendoChipState & React.HTMLAttributes<HTMLDivElement>>;
16
+ export default Citation;
@@ -0,0 +1,2 @@
1
+ export declare const CITATION_MODULE_NAME = "citation";
2
+ export declare const CITATION_FOLDER_NAME = "citation";
@@ -0,0 +1,4 @@
1
+ export * from './citation.spec';
2
+ export * from './citation-popover.spec';
3
+ export * from './templates/citation-normal';
4
+ export * from './templates/citation-opened';
@@ -0,0 +1 @@
1
+ export declare const CitationNormal: (props: any) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1 @@
1
+ export declare const CitationOpened: (props: any) => import("react/jsx-runtime").JSX.Element;
@@ -97,6 +97,9 @@ export * from './filemanager/index';
97
97
  export * from './taskboard/index';
98
98
  export * from './column-menu/index';
99
99
  export * from './context-menu/index';
100
+ export * from './agent-response/index';
101
+ export * from './citation/index';
102
+ export * from './checkpoint/index';
100
103
  export * from './chat/index';
101
104
  export * from './mediaplayer/index';
102
105
  export * from './timeline/index';
@@ -2,7 +2,7 @@ import { KendoComponent } from '../_types/component';
2
2
  export declare const POPOVER_CLASSNAME = "k-popover";
3
3
  export type KendoPopoverProps = {
4
4
  callout?: null | 'top' | 'bottom' | 'left' | 'right';
5
- title?: string;
5
+ title?: React.ReactNode;
6
6
  body?: React.JSX.Element | React.JSX.Element[];
7
7
  id?: string;
8
8
  };
@@ -16,7 +16,7 @@ export type KendoPopoverProps = {
16
16
  * @ux {Dismiss} Closes when clicking outside the popover or pressing Escape.
17
17
  * @ux {Arrow} An optional pointer arrow visually connects the popover to its trigger.
18
18
  */
19
- export declare const Popover: KendoComponent<KendoPopoverProps & React.HTMLAttributes<HTMLDivElement>>;
19
+ export declare const Popover: KendoComponent<KendoPopoverProps & Omit<React.HTMLAttributes<HTMLDivElement>, 'title'>>;
20
20
  /**
21
21
  * @keyboard {Escape} Dismisses the Popover.
22
22
  *
@@ -15,6 +15,7 @@ export type KendoSegmentedControlButtonState = {
15
15
  * @aria {role="button"} Each button must have the appropriate button role.
16
16
  * @aria {aria-pressed="true"} Only the selected button within the group will have this attribute set to true.
17
17
  * @aria {aria-disabled="true"} Indicates that the button is disabled and cannot be interacted with.
18
+ * @aria {tabindex} Roving tabindex: the selected button has tabindex="0"; all others have tabindex="-1".
18
19
  * @ux {Selection} Clicking this button selects it and automatically deselects the others.
19
20
  * @ux {Disabled state} When disabled, this segment cannot be activated.
20
21
  */
@@ -24,9 +24,11 @@ export type KendoSegmentedControlState = {
24
24
  */
25
25
  export declare const SegmentedControl: KendoComponent<KendoSegmentedControlProps & KendoSegmentedControlState & React.HTMLAttributes<HTMLDivElement>>;
26
26
  /**
27
- * @keyboard {Tab} Focuses the next button in the control. If the focus is on the last button, focuses the next focusable element on the page.
28
- * @keyboard {Shift + Tab} Focuses the previous button in the control. If the focus is on the first button, focuses the previous focusable element before the Segmented Control.
29
- * @keyboard {Enter or Space} Activates the focused button and selects it.
27
+ * @keyboard {Tab} Moves focus into the Segmented Control to the selected button. Pressing Tab again moves focus out of the control to the next focusable element on the page.
28
+ * @keyboard {Shift + Tab} Moves focus out of the Segmented Control to the previous focusable element on the page.
29
+ * @keyboard {ArrowLeft} Moves focus to the previous button.
30
+ * @keyboard {ArrowRight} Moves focus to the next button.
31
+ * @keyboard {Enter or Space} Selects the focused button.
30
32
  *
31
33
  * @see https://www.w3.org/TR/wai-aria-1.2/#button WAI-ARIA `button` Role Specification
32
34
  * @see https://www.w3.org/TR/wai-aria-1.2/#group WAI-ARIA `group` Role Specification
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@progress/kendo-themes-html",
3
3
  "description": "A collection of HTML helpers used for developing Kendo UI themes",
4
- "version": "14.4.0-dev.2",
4
+ "version": "14.4.0-dev.3",
5
5
  "author": "Progress",
6
6
  "license": "Apache-2.0",
7
7
  "keywords": [