@epam/ai-dial-conversation-input 1.2.0-dev.3 → 1.2.0-dev.38
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/Input/Buttons/SendButton.d.ts +2 -0
- package/components/Input/Buttons/SendButton.d.ts.map +1 -1
- package/components/Input/Input.d.ts.map +1 -1
- package/hooks/useVoiceRecorder.d.ts.map +1 -1
- package/index.css +1 -1
- package/index.js +628 -623
- package/models/ConversationInput.d.ts +1 -1
- package/models/ConversationInput.d.ts.map +1 -1
- package/models/Input.d.ts +1 -1
- package/models/Input.d.ts.map +1 -1
- package/package.json +3 -3
|
@@ -5,6 +5,8 @@ export interface SendButtonProps {
|
|
|
5
5
|
isDisabled?: boolean;
|
|
6
6
|
/** Accessible label for the send button. */
|
|
7
7
|
ariaLabel?: string;
|
|
8
|
+
/** Tooltip shown on hover over the send button. Omitted when unset. */
|
|
9
|
+
sendTooltip?: string;
|
|
8
10
|
}
|
|
9
11
|
/** Circular send button with tooltip and disabled state. */
|
|
10
12
|
export declare const SendButton: FC<SendButtonProps>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SendButton.d.ts","sourceRoot":"","sources":["../../../../src/components/Input/Buttons/SendButton.tsx"],"names":[],"mappings":"AAMA,OAAO,EAAE,KAAK,EAAE,EAAE,MAAM,OAAO,CAAC;AAEhC,kDAAkD;AAClD,MAAM,WAAW,eAAe;IAC9B,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;IACpB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,4CAA4C;IAC5C,SAAS,CAAC,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"SendButton.d.ts","sourceRoot":"","sources":["../../../../src/components/Input/Buttons/SendButton.tsx"],"names":[],"mappings":"AAMA,OAAO,EAAE,KAAK,EAAE,EAAE,MAAM,OAAO,CAAC;AAEhC,kDAAkD;AAClD,MAAM,WAAW,eAAe;IAC9B,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;IACpB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,4CAA4C;IAC5C,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,uEAAuE;IACvE,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,4DAA4D;AAC5D,eAAO,MAAM,UAAU,EAAE,EAAE,CAAC,eAAe,CAqB1C,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Input.d.ts","sourceRoot":"","sources":["../../../src/components/Input/Input.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Input.d.ts","sourceRoot":"","sources":["../../../src/components/Input/Input.tsx"],"names":[],"mappings":"AAkBA,OAAO,EAGL,KAAK,EAAE,EAOR,MAAM,OAAO,CAAC;AAYf,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AASrD,wIAAwI;AACxI,eAAO,MAAM,KAAK,EAAE,EAAE,CAAC,UAAU,CAuzBhC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useVoiceRecorder.d.ts","sourceRoot":"","sources":["../../src/hooks/useVoiceRecorder.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAEvD,uDAAuD;AACvD,oBAAY,kBAAkB;IAC5B,6CAA6C;IAC7C,IAAI,SAAS;IACb,8CAA8C;IAC9C,SAAS,cAAc;IACvB,8EAA8E;IAC9E,UAAU,eAAe;IACzB,sEAAsE;IACtE,KAAK,UAAU;CAChB;AAED,wDAAwD;AACxD,oBAAY,kBAAkB;IAC5B,SAAS,cAAc;IACvB,UAAU,eAAe;CAC1B;AAED,4CAA4C;AAC5C,MAAM,WAAW,uBAAuB;IACtC,wEAAwE;IACxE,aAAa,EAAE,CAAC,IAAI,EAAE,IAAI,KAAK,IAAI,CAAC;IACpC,6DAA6D;IAC7D,iBAAiB,CAAC,EAAE,eAAe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ACpC;;;;OAIG;IACH,YAAY,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IACtC,6DAA6D;IAC7D,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,6DAA6D;AAC7D,MAAM,WAAW,sBAAsB;IACrC,+CAA+C;IAC/C,KAAK,EAAE,kBAAkB,CAAC;IAC1B,gFAAgF;IAChF,eAAe,EAAE,KAAK,CAAC,SAAS,CAAC,YAAY,GAAG,IAAI,CAAC,CAAC;IACtD,6EAA6E;IAC7E,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,2FAA2F;IAC3F,cAAc,EAAE,CAAC,IAAI,CAAC,EAAE,kBAAkB,KAAK,IAAI,CAAC;IACpD,0DAA0D;IAC1D,aAAa,EAAE,MAAM,IAAI,CAAC;IAC1B,8CAA8C;IAC9C,gBAAgB,EAAE,MAAM,IAAI,CAAC;CAC9B;AAgBD,oEAAoE;AACpE,eAAO,MAAM,gBAAgB,GAAI,iEAK9B,uBAAuB,KAAG,sBA2O5B,CAAC"}
|
package/index.css
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
@keyframes _slide-up_1d50f_1{0%{transform:translateY(100%)}to{transform:translateY(0)}}._backdrop_1d50f_9{background:var(--ci-backdrop,var(--bg-backdrop,#161b2d4d))}._sheet_1d50f_13{background:var(--ci-sheet-bg,var(--bg-layer-raised,#fcfcfc));animation:.3s cubic-bezier(.32,.72,0,1) _slide-up_1d50f_1}._title_1d50f_18{color:var(--ci-sheet-text,var(--text-primary,#161b2d))}._divider_1d50f_22{background:var(--ci-sheet-divider,var(--stroke-tertiary,#e0e6f0))}._item_1sr2n_1{color:var(--ci-sheet-text,var(--text-primary,#161b2d))}._item_1sr2n_1:hover{background:var(--ci-sheet-item-hover,var(--bg-layer-raised,#fcfcfc))}._item_1sr2n_1:active{background:var(--ci-sheet-item-active,var(--bg-control-neutral-active,#d1dbea))}._itemIcon_1sr2n_11{color:var(--ci-sheet-icon,var(--text-secondary,#57647a))}._label_14i7c_1{color:var(--csf-label-text,var(--text-primary,#161b2d))!important}._modal_kl0h0_1{background:var(--csm-bg,var(--bg-layer-raised,#fcfcfc))!important}._icon_1fv6z_1{color:var(--tbs-icon-text,var(--text-secondary,#57647a))}._selectedIcon_1fv6z_5{color:var(--tbs-selected-icon-text,var(--text-accent,#1d4ed8))}._toolIcon_ma5s5_1{color:var(--aab-tool-icon,var(--text-secondary,#57647a))}._chevronIcon_ma5s5_5{color:var(--aab-chevron-icon,var(--text-secondary,#57647a))}._chip_ydmd8_1{background:var(--ci-chip-bg,var(--bg-layer-base,#f5f7fa));border-color:var(--ci-chip-border,var(--stroke-secondary,#d1dbea))}._chip_ydmd8_1:hover,._chip_ydmd8_1:focus-visible{background:var(--ci-chip-hover-bg,var(--bg-control-neutral-hover-muted,#e0e6f0))}._chipSelected_ydmd8_9{background:var(--ci-chip-selected-bg,var(--bg-control-accent-alpha,#2764d90f));border-color:var(--ci-chip-selected-border,var(--stroke-accent,#1d4ed8))}._chipSelected_ydmd8_9:hover,._chipSelected_ydmd8_9:focus-visible{background:var(--ci-chip-selected-bg-hover,var(--bg-control-accent-alpha-hover,#2764d924))}._chipSelected_ydmd8_9 ._chipIcon_ydmd8_16{color:var(--ci-chip-selected-icon,var(--text-accent,#1d4ed8))}._chipSelected_ydmd8_9 ._chipText_ydmd8_19{color:var(--ci-chip-selected-text,var(--text-accent,#1d4ed8))}._chipSelected_ydmd8_9 ._chipClose_ydmd8_22{color:var(--ci-chip-close,var(--text-accent,#1d4ed8))}._chipClose_ydmd8_22{color:var(--ci-chip-close,var(--text-secondary,#57647a))}._chipClose_ydmd8_22:hover,._chipClose_ydmd8_22:focus-visible{color:var(--ci-chip-close-hover,var(--text-primary,#161b2d))}._chipIcon_ydmd8_16{color:var(--ci-chip-icon,var(--text-secondary,#57647a))}._chipText_ydmd8_19{color:var(--ci-chip-text,var(--text-primary,#161b2d))}._wrapper_q1jcl_2{background:var(--ci-bg,var(--bg-control-neutral,#fcfcfc));border-color:var(--ci-border,var(--stroke-tertiary,#e0e6f0))}._wrapper_q1jcl_2:focus-within,._wrapper_q1jcl_2:active{outline-color:var(--ci-border-focus,var(--stroke-accent-focus,#6785fb))}._wrapper_q1jcl_2._wrapperDisabled_q1jcl_9{color:var(--ci-text-disabled,var(--text-control-disable-primary,#848e9c))}._textarea_q1jcl_13{color:var(--ci-text,var(--text-primary,#161b2d))}._textarea_q1jcl_13::placeholder{color:var(--ci-placeholder,var(--text-secondary,#57647a))}._textarea_q1jcl_13._textareaIndented_q1jcl_19{text-indent:var(--ci-first-line-indent,0px)}._textarea_q1jcl_13:disabled{color:var(--ci-text-disabled,var(--text-control-disable-primary,#848e9c))}._commandHint_q1jcl_43{color:var(--ci-placeholder,var(--text-secondary,#57647a))}._modelSelectorButton_q1jcl_47 ._modelSelectorCaret_q1jcl_47{color:var(--ci-model-selector-caret-color,var(--text-primary,#161b2d))}._modelSelectorButton_q1jcl_47 ._modelSelectorName_q1jcl_50{color:var(--ci-model-selector-name-color,var(--text-primary,#161b2d))}._modelSelectorButton_q1jcl_47 ._modelSelectorVersion_q1jcl_53{color:var(--ci-model-selector-version-color,var(--text-secondary,#57647a))}._modelSelectorButton_q1jcl_47:hover{background:var(--ci-model-selector-hover-bg,var(--bg-control-accent-alpha-hover,#2764d924))}._modelSelectorButton_q1jcl_47:active{background:var(--ci-model-selector-hover-bg,var(--bg-control-accent-alpha-active,#2764d933))}._modelSelectorButton_q1jcl_47._modelSelectorButtonDisabled_q1jcl_62 ._modelSelectorCaret_q1jcl_47{color:var(--ci-model-selector-disabled-color,var(--text-control-disable-primary,#848e9c))}._wrapperError_129ri_1{border-color:var(--ci-voice-error,var(--stroke-error,#ae2f2f))}._waveformCanvas_129ri_5{color:var(--ci-voice-waveform,var(--text-primary,#161b2d))}@keyframes _recording-pulse_129ri_1{0%,to{opacity:1;transform:scale(1)}50%{opacity:.6;transform:scale(.8)}}._recordingDot_129ri_19{background:var(--ci-voice-accent,var(--text-error,#ae2f2f));animation:1.2s ease-in-out infinite _recording-pulse_129ri_1}._searchHeader_1728o_1{background:var(--ms-search-header-bg,var(--bg-layer-raised,#fcfcfc))}._divider_1tiyp_1{background:var(--ci-sheet-divider,var(--stroke-secondary,#d1dbea))}._item_1tiyp_5{color:var(--ci-sheet-text,var(--text-primary,#161b2d))}._item_1tiyp_5:hover{background:var(--ci-sheet-item-hover,var(--bg-layer-raised,#fcfcfc))}._item_1tiyp_5:active{background:var(--ci-sheet-item-active,var(--bg-control-neutral-active,#d1dbea))}._itemIcon_1tiyp_15{color:var(--ci-sheet-icon,var(--text-secondary,#57647a))}._checkIcon_1tiyp_19{color:var(--ci-check-icon,var(--text-accent,#1d4ed8))}._stateLabel_1tiyp_23{color:var(--ci-sheet-text,var(--text-secondary,#57647a))}._welcome_1icyo_1{color:var(--ci-welcome-color,var(--text-primary,#161b2d))}._description_1icyo_5{color:var(--ci-description-color,var(--text-secondary,#57647a))}
|
|
2
|
-
/*$vite$:1
|
|
2
|
+
/*$vite$:1*/.sr-only{height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;clip:rect(0,0,0,0);border-width:0;white-space:nowrap}.pointer-events-none{pointer-events:none}.visible{visibility:visible}.invisible{visibility:hidden}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.sticky{position:sticky}.inset-0{inset:0}.inset-x-0{left:0;right:0}.bottom-0{bottom:0}.end-4{inset-inline-end:1rem}.start-0{inset-inline-start:0}.start-4{inset-inline-start:1rem}.start-\[var\(--ci-first-line-indent\2c 0px\)\]{inset-inline-start:var(--ci-first-line-indent,0)}.top-0{top:0}.z-10{z-index:10}.z-\[55\]{z-index:55}.z-\[60\]{z-index:60}.m-0{margin:0}.m-2{margin:.5rem}.mb-2{margin-bottom:.5rem}.ms-auto{margin-inline-start:auto}.mt-1{margin-top:.25rem}.block{display:block}.inline{display:inline}.flex{display:flex}.contents{display:contents}.hidden{display:none}.size-\[40px\]{height:40px;width:40px}.size-\[8px\]{height:8px;width:8px}.h-11{height:2.75rem}.h-\[26px\]{height:26px}.h-\[60px\]{height:60px}.h-full{height:100%}.h-px{height:1px}.max-h-\[272px\]{max-height:272px}.max-h-\[80dvh\]{max-height:80dvh}.max-h-\[85dvh\]{max-height:85dvh}.min-h-\[64px\]{min-height:64px}.\!w-\[240px\]{width:240px!important}.\!w-\[368px\]{width:368px!important}.w-\[240px\]{width:240px}.w-\[50px\]{width:50px}.w-full{width:100%}.min-w-0{min-width:0}.max-w-\[180px\]{max-width:180px}.max-w-\[540px\]{max-width:540px}.max-w-\[700px\]{max-width:700px}.max-w-\[748px\]{max-width:748px}.max-w-full{max-width:100%}.flex-1{flex:1 1 0%}.flex-shrink-0,.shrink-0{flex-shrink:0}.cursor-not-allowed{cursor:not-allowed}.resize-none{resize:none}.resize{resize:both}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-center{align-items:center}.items-baseline{align-items:baseline}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-1{gap:.25rem}.gap-1\.5{gap:.375rem}.gap-2{gap:.5rem}.gap-3{gap:.75rem}.gap-4{gap:1rem}.gap-9{gap:2.25rem}.self-stretch{align-self:stretch}.overflow-y-auto{overflow-y:auto}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.break-words{overflow-wrap:break-word}.rounded{border-radius:4px}.rounded-3xl{border-radius:1.5rem}.rounded-full{border-radius:9999px}.rounded-xl{border-radius:.75rem}.rounded-t-lg{border-top-left-radius:.5rem;border-top-right-radius:.5rem}.border{border-width:1px}.border-0{border-width:0}.\!bg-layer-raised{background-color:var(--bg-layer-raised,#fcfcfc)!important}.bg-transparent{background-color:transparent}.p-0{padding:0}.p-0\.5{padding:.125rem}.p-1{padding:.25rem}.p-1\.5{padding:.375rem}.p-4{padding:1rem}.px-1{padding-left:.25rem;padding-right:.25rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-4{padding-left:1rem;padding-right:1rem}.px-6{padding-left:1.5rem;padding-right:1.5rem}.py-1{padding-bottom:.25rem;padding-top:.25rem}.py-1\.5{padding-bottom:.375rem;padding-top:.375rem}.py-4{padding-bottom:1rem;padding-top:1rem}.py-5{padding-bottom:1.25rem;padding-top:1.25rem}.py-\[10px\]{padding-bottom:10px;padding-top:10px}.pb-1{padding-bottom:.25rem}.pb-3{padding-bottom:.75rem}.pb-4{padding-bottom:1rem}.pe-1{padding-inline-end:.25rem}.pe-2{padding-inline-end:.5rem}.ps-1{padding-inline-start:.25rem}.ps-1\.5{padding-inline-start:.375rem}.ps-2{padding-inline-start:.5rem}.ps-4{padding-inline-start:1rem}.pt-2{padding-top:.5rem}.text-center{text-align:center}.text-start{text-align:start}.opacity-50{opacity:.5}.shadow-md{--tw-shadow:0 8px 24px 0 var(--shadow-md,#2764d90f);--tw-shadow-colored:0 8px 24px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.outline-none{outline:2px solid transparent;outline-offset:2px}.ring{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.transition{transition-duration:.15s;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1)}.transition-colors{transition-duration:.15s;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1)}.\[field-sizing\:content\]{field-sizing:content}.focus-within\:outline:focus-within{outline-style:solid;outline-width:1px}.focus-within\:-outline-offset-1:focus-within{outline-offset:-1px}.active\:outline:active{outline-style:solid;outline-width:1px}.active\:-outline-offset-1:active{outline-offset:-1px}.disabled\:cursor-not-allowed:disabled{cursor:not-allowed}@media (max-width:1279px){.mobile\:min-h-11{min-height:2.75rem}.mobile\:min-w-11{min-width:2.75rem}.mobile\:pb-8{padding-bottom:2rem}}@media (min-width:1280px){.desktop\:p-5{padding:1.25rem}}.rtl\:scale-x-\[-1\]:where([dir=rtl],[dir=rtl] *){--tw-scale-x:-1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}
|