@epam/ai-dial-conversation-input 1.3.0-dev.6 → 1.3.0-dev.61
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/BottomSheetShell/BottomSheetShell.d.ts +9 -0
- package/components/BottomSheetShell/BottomSheetShell.d.ts.map +1 -1
- package/components/ConversationInput/ConversationInput.d.ts.map +1 -1
- package/components/Input/Input.d.ts.map +1 -1
- package/components/UsageLimitBannerView/UsageLimitBannerView.d.ts +5 -0
- package/components/UsageLimitBannerView/UsageLimitBannerView.d.ts.map +1 -0
- package/constants/public-class-names.d.ts +2 -0
- package/constants/public-class-names.d.ts.map +1 -1
- package/index.css +1 -1
- package/index.d.ts +3 -0
- package/index.d.ts.map +1 -1
- package/index.js +720 -662
- package/models/ConversationInput.d.ts +2 -0
- package/models/ConversationInput.d.ts.map +1 -1
- package/models/Input.d.ts +7 -0
- package/models/Input.d.ts.map +1 -1
- package/models/UsageLimitBanner.d.ts +36 -0
- package/models/UsageLimitBanner.d.ts.map +1 -0
- package/package.json +4 -4
|
@@ -34,6 +34,15 @@ export interface BottomSheetShellProps {
|
|
|
34
34
|
className?: string;
|
|
35
35
|
/** Color overrides applied as CSS custom properties. */
|
|
36
36
|
colors?: BottomSheetShellColors;
|
|
37
|
+
/**
|
|
38
|
+
* Id of the element to portal the sheet into, instead of the end of
|
|
39
|
+
* `<body>` — keeps it inside a host panel's stacking context.
|
|
40
|
+
*/
|
|
41
|
+
portalId?: string;
|
|
42
|
+
/** Extra classes appended to the backdrop. */
|
|
43
|
+
overlayClassName?: string;
|
|
44
|
+
/** Inline style for the backdrop, applied after the `colors` custom properties. */
|
|
45
|
+
overlayStyle?: CSSProperties;
|
|
37
46
|
/** Sheet body rendered below the header divider. */
|
|
38
47
|
children: ReactNode;
|
|
39
48
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BottomSheetShell.d.ts","sourceRoot":"","sources":["../../../src/components/BottomSheetShell/BottomSheetShell.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,aAAa,EAAE,KAAK,EAAE,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAGpE,8FAA8F;AAC9F,MAAM,WAAW,sBAAsB;IACrC,8DAA8D;IAC9D,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,qEAAqE;IACrE,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,4DAA4D;IAC5D,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,4EAA4E;IAC5E,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,uDAAuD;AACvD,MAAM,WAAW,qBAAqB;IACpC,iCAAiC;IACjC,MAAM,EAAE,OAAO,CAAC;IAChB,gGAAgG;IAChG,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,oFAAoF;IACpF,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,kFAAkF;IAClF,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,8EAA8E;IAC9E,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;IACpB,gFAAgF;IAChF,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,2DAA2D;IAC3D,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,6EAA6E;IAC7E,KAAK,CAAC,EAAE,aAAa,CAAC;IACtB,iFAAiF;IACjF,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,oFAAoF;IACpF,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,wDAAwD;IACxD,MAAM,CAAC,EAAE,sBAAsB,CAAC;IAChC,oDAAoD;IACpD,QAAQ,EAAE,SAAS,CAAC;CACrB;AAED,wGAAwG;AACxG,eAAO,MAAM,gBAAgB,EAAE,EAAE,CAAC,qBAAqB,
|
|
1
|
+
{"version":3,"file":"BottomSheetShell.d.ts","sourceRoot":"","sources":["../../../src/components/BottomSheetShell/BottomSheetShell.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,aA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|
|
|
1
|
-
{"version":3,"file":"ConversationInput.d.ts","sourceRoot":"","sources":["../../../src/components/ConversationInput/ConversationInput.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAChC,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,gCAAgC,CAAC;AAI7E,8GAA8G;AAC9G,eAAO,MAAM,iBAAiB,EAAE,EAAE,CAAC,sBAAsB,
|
|
1
|
+
{"version":3,"file":"ConversationInput.d.ts","sourceRoot":"","sources":["../../../src/components/ConversationInput/ConversationInput.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAChC,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,gCAAgC,CAAC;AAI7E,8GAA8G;AAC9G,eAAO,MAAM,iBAAiB,EAAE,EAAE,CAAC,sBAAsB,CAkFxD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Input.d.ts","sourceRoot":"","sources":["../../../src/components/Input/Input.tsx"],"names":[],"mappings":"AAkDA,OAAO,KAAK,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAalE,wIAAwI;AACxI,eAAO,MAAM,KAAK,
|
|
1
|
+
{"version":3,"file":"Input.d.ts","sourceRoot":"","sources":["../../../src/components/Input/Input.tsx"],"names":[],"mappings":"AAkDA,OAAO,KAAK,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAalE,wIAAwI;AACxI,eAAO,MAAM,KAAK,oGAkwCjB,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
import { UsageLimitBannerViewProps } from '../../models/UsageLimitBanner';
|
|
3
|
+
/** Usage-limit notice for `aboveInputSlot`: a closable section message with a limit sentence and an optional reset time. */
|
|
4
|
+
export declare const UsageLimitBannerView: FC<UsageLimitBannerViewProps>;
|
|
5
|
+
//# sourceMappingURL=UsageLimitBannerView.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"UsageLimitBannerView.d.ts","sourceRoot":"","sources":["../../../src/components/UsageLimitBannerView/UsageLimitBannerView.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAEhC,OAAO,EAEL,KAAK,yBAAyB,EAC/B,MAAM,+BAA+B,CAAC;AAiBvC,4HAA4H;AAC5H,eAAO,MAAM,oBAAoB,EAAE,EAAE,CAAC,yBAAyB,CA8D9D,CAAC"}
|
|
@@ -37,5 +37,7 @@ export declare const CONVERSATION_INPUT_CLASS: {
|
|
|
37
37
|
* `DIAL_KIT_CLASS.menuItemCheck`; this package owns no class for it.
|
|
38
38
|
*/
|
|
39
39
|
readonly modelMenuItemSelected: "dial-ci-model-menu-item-selected";
|
|
40
|
+
/** The root of `UsageLimitBannerView`, the usage-limit notice a host places in `aboveInputSlot`. */
|
|
41
|
+
readonly usageBanner: "dial-ci-usage-banner";
|
|
40
42
|
};
|
|
41
43
|
//# sourceMappingURL=public-class-names.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"public-class-names.d.ts","sourceRoot":"","sources":["../../src/constants/public-class-names.ts"],"names":[],"mappings":"AAUA,eAAO,MAAM,wBAAwB;IACnC,+CAA+C;;IAE/C,gFAAgF;;IAEhF,kEAAkE;;IAElE,oDAAoD;;IAEpD,4EAA4E;;IAE5E,wEAAwE;;IAExE,gEAAgE;;IAEhE;;;;OAIG;;IAEH,+FAA+F;;IAE/F;;;;OAIG;;IAEH,sDAAsD;;IAEtD,8CAA8C;;IAE9C;;;;OAIG;;
|
|
1
|
+
{"version":3,"file":"public-class-names.d.ts","sourceRoot":"","sources":["../../src/constants/public-class-names.ts"],"names":[],"mappings":"AAUA,eAAO,MAAM,wBAAwB;IACnC,+CAA+C;;IAE/C,gFAAgF;;IAEhF,kEAAkE;;IAElE,oDAAoD;;IAEpD,4EAA4E;;IAE5E,wEAAwE;;IAExE,gEAAgE;;IAEhE;;;;OAIG;;IAEH,+FAA+F;;IAE/F;;;;OAIG;;IAEH,sDAAsD;;IAEtD,8CAA8C;;IAE9C;;;;OAIG;;IAEH,oGAAoG;;CAE5F,CAAC"}
|
package/index.css
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
._backdrop_1ym62_8._backdrop_1ym62_8{background:var(--ci-backdrop,var(--bg-backdrop,#161b2d4d))}._sheet_1ym62_12._sheet_1ym62_12{background:var(--ci-sheet-bg,var(--bg-layer-raised,#fcfcfc))}._title_1ym62_16._title_1ym62_16{color:var(--ci-sheet-text,var(--text-primary,#161b2d))}._divider_1ym62_20._divider_1ym62_20{border-bottom-color: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_1lvv5_1{background:var(--ci-chip-bg,var(--bg-layer-base,#f5f7fa));border-color:var(--ci-chip-border,var(--stroke-secondary,#d1dbea))}._chip_1lvv5_1:hover,._chip_1lvv5_1:focus-visible{background:var(--ci-chip-hover-bg,var(--bg-control-neutral-hover-muted,#e0e6f0))}._chipSelected_1lvv5_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_1lvv5_9:hover,._chipSelected_1lvv5_9:focus-visible{background:var(--ci-chip-selected-bg-hover,var(--bg-control-accent-alpha-hover,#2764d924))}._chipSelected_1lvv5_9 ._chipIcon_1lvv5_16{color:var(--ci-chip-selected-icon,var(--text-accent,#1d4ed8))}._chipSelected_1lvv5_9 ._chipText_1lvv5_19,._chipSelected_1lvv5_9 ._chipState_1lvv5_22{color:var(--ci-chip-selected-text,var(--text-accent,#1d4ed8))}._chipSelected_1lvv5_9 ._chipClose_1lvv5_25{color:var(--ci-chip-close,var(--text-accent,#1d4ed8))}._chipClose_1lvv5_25{color:var(--ci-chip-close,var(--text-secondary,#57647a))}._chipClose_1lvv5_25:hover,._chipClose_1lvv5_25:focus-visible{color:var(--ci-chip-close-hover,var(--text-primary,#161b2d))}._chipIcon_1lvv5_16{color:var(--ci-chip-icon,var(--text-secondary,#57647a))}._chipText_1lvv5_19{color:var(--ci-chip-text,var(--text-primary,#161b2d))}._chipState_1lvv5_22{color:var(--ci-chip-state-text,var(--text-secondary,#57647a))}._wrapper_19a9k_2{background:var(--ci-bg,var(--bg-control-neutral,#fcfcfc));border-color:var(--ci-border,var(--stroke-tertiary,#e0e6f0))}._wrapper_19a9k_2:focus-within,._wrapper_19a9k_2:active{outline-color:var(--ci-border-focus,var(--stroke-accent-focus,#6785fb))}._wrapper_19a9k_2._wrapperDisabled_19a9k_9{color:var(--ci-text-disabled,var(--text-control-disable-primary,#848e9c))}._textarea_19a9k_13{color:var(--ci-text,var(--text-primary,#161b2d))}._textarea_19a9k_13::placeholder{color:var(--ci-placeholder,var(--text-secondary,#57647a))}._textarea_19a9k_13._textareaMentionMode_19a9k_19{color:#0000;caret-color:var(--ci-text,var(--text-primary,#161b2d))}._textarea_19a9k_13._textareaMentionMode_19a9k_19::selection{background-color:#0000}._textarea_19a9k_13:disabled{color:var(--ci-text-disabled,var(--text-control-disable-primary,#848e9c))}._commandHint_19a9k_53{color:var(--ci-placeholder,var(--text-secondary,#57647a))}._mentionHighlight_19a9k_57{background-color:var(--ci-mention-highlight-bg,var(--bg-control-accent-alpha,#2764d90f));color:var(--ci-mention-highlight-text,var(--text-accent,#1d4ed8));border-radius:4px}._mentionHighlightUnsupported_19a9k_63{background-color:var(--ci-mention-highlight-unsupported-bg,var(--bg-error,#f3d6d8));color:var(--ci-mention-highlight-unsupported-text,var(--text-error,#ae2f2f));border-radius:4px}._modelSelectorButton_19a9k_69 ._modelSelectorCaret_19a9k_69{color:var(--ci-model-selector-caret-color,var(--text-primary,#161b2d))}._modelSelectorButton_19a9k_69 ._modelSelectorName_19a9k_72{color:var(--ci-model-selector-name-color,var(--text-primary,#161b2d))}._modelSelectorButton_19a9k_69 ._modelSelectorVersion_19a9k_75{color:var(--ci-model-selector-version-color,var(--text-secondary,#57647a))}._modelSelectorButton_19a9k_69:hover{background:var(--ci-model-selector-hover-bg,var(--bg-control-accent-alpha-hover,#2764d924))}._modelSelectorButton_19a9k_69:active{background:var(--ci-model-selector-hover-bg,var(--bg-control-accent-alpha-active,#2764d933))}._modelSelectorButton_19a9k_69._modelSelectorButtonDisabled_19a9k_84 ._modelSelectorCaret_19a9k_69{color:var(--ci-model-selector-disabled-color,var(--text-control-disable-primary,#848e9c))}._waveformCanvas_18zb5_1{color:var(--ci-voice-waveform,var(--text-primary,#161b2d))}@keyframes _recording-pulse_18zb5_1{0%,to{opacity:1;transform:scale(1)}50%{opacity:.6;transform:scale(.8)}}._recordingDot_18zb5_15{background:var(--ci-voice-accent,var(--text-error,#ae2f2f));animation:1.2s ease-in-out infinite _recording-pulse_18zb5_1}._searchHeader_1u7db_1{background:var(--ms-search-header-bg,var(--bg-layer-raised,#fcfcfc))}._itemText_1u7db_13._itemText_1u7db_13{color:var(--ms-item-text)}._itemHover_1u7db_17._itemHover_1u7db_17:hover{background:var(--ms-item-hover-bg)}._selectedItemBackground_1u7db_22._selectedItemBackground_1u7db_22:not(:hover){background:var(--ms-selected-item-bg)}._selectedItemText_1u7db_26._selectedItemText_1u7db_26{color:var(--ms-selected-item-text)}._checkIcon_1u7db_30 .dial-kit-menuitem-check{color:var(--ms-check-icon)}._search_5skzl_1{background:var(--ci-sheet-search-bg,transparent)}._divider_5skzl_5{background:var(--ci-sheet-divider,var(--stroke-secondary,#d1dbea))}._item_5skzl_9{color:var(--ci-sheet-text,var(--text-primary,#161b2d))}._item_5skzl_9:hover{background:var(--ci-sheet-item-hover,var(--bg-layer-raised,#fcfcfc))}._item_5skzl_9:active{background:var(--ci-sheet-item-active,var(--bg-control-neutral-active,#d1dbea))}._itemIcon_5skzl_19{color:var(--ci-sheet-icon,var(--text-secondary,#57647a))}._checkIcon_5skzl_23{color:var(--ci-check-icon,var(--text-accent,#1d4ed8))}._stateLabel_5skzl_27{color:var(--ci-sheet-text,var(--text-secondary,#57647a))}._itemSelectedBackground_5skzl_37{background:var(--ci-sheet-selected-bg)}._itemSelectedText_5skzl_41{color:var(--ci-sheet-selected-text)}._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*/.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}.pointer-events-auto{pointer-events:auto}.visible{visibility:visible}.invisible{visibility:hidden}.static{position:static}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.sticky{position:sticky}.inset-0{inset:0}.left-1\/2{left:50%}.top-0{top:0}.z-0{z-index:0}.z-10{z-index:10}.m-0{margin:0}.-me-1{margin-inline-end:-.25rem}.-me-4{margin-inline-end:-1rem}.-ms-1{margin-inline-start:-.25rem}.mb-2{margin-bottom:.5rem}.ms-1{margin-inline-start:.25rem}.ms-auto{margin-inline-start:auto}.block{display:block}.inline-block{display:inline-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-\[1lh\]{height:1lh}.h-\[26px\]{height:26px}.h-auto{height:auto}.h-full{height:100%}.h-px{height:1px}.max-h-\[272px\]{max-height:272px}.max-h-\[80dvh\]{max-height:80dvh}.min-h-\[64px\]{min-height:64px}.\!w-\[240px\]{width:240px!important}.\!w-\[368px\]{width:368px!important}.w-0{width:0}.w-\[240px\]{width:240px}.w-\[50px\]{width:50px}.w-\[calc\(100\%\+
|
|
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}.pointer-events-auto{pointer-events:auto}.visible{visibility:visible}.invisible{visibility:hidden}.static{position:static}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.sticky{position:sticky}.inset-0{inset:0}.left-1\/2{left:50%}.top-0{top:0}.z-0{z-index:0}.z-10{z-index:10}.m-0{margin:0}.-me-1{margin-inline-end:-.25rem}.-me-4{margin-inline-end:-1rem}.-ms-1{margin-inline-start:-.25rem}.mb-2{margin-bottom:.5rem}.ms-1{margin-inline-start:.25rem}.ms-auto{margin-inline-start:auto}.block{display:block}.inline-block{display:inline-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-\[1lh\]{height:1lh}.h-\[26px\]{height:26px}.h-auto{height:auto}.h-full{height:100%}.h-px{height:1px}.max-h-\[272px\]{max-height:272px}.max-h-\[80dvh\]{max-height:80dvh}.min-h-\[64px\]{min-height:64px}.\!w-\[240px\]{width:240px!important}.\!w-\[368px\]{width:368px!important}.w-0{width:0}.w-\[240px\]{width:240px}.w-\[50px\]{width:50px}.w-\[calc\(100\%\+8px\)\]{width:calc(100% + 8px)}.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}.-translate-x-1\/2{--tw-translate-x:-50%;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))}.cursor-not-allowed{cursor:not-allowed}.resize-none{resize:none}.resize{resize:both}.flex-row{flex-direction:row}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.flex-nowrap{flex-wrap:nowrap}.items-start{align-items:flex-start}.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}.gap-x-1{-moz-column-gap:.25rem;column-gap:.25rem}.self-start{align-self:flex-start}.self-stretch{align-self:stretch}.overflow-hidden{overflow:hidden}.overflow-y-auto{overflow-y:auto}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.whitespace-pre-wrap{white-space:pre-wrap}.break-words{overflow-wrap:break-word}.\!rounded-full{border-radius:9999px!important}.rounded{border-radius:4px}.rounded-3xl{border-radius:1.5rem}.rounded-full{border-radius:9999px}.rounded-sm{border-radius:.125rem}.rounded-xl{border-radius:.75rem}.\!border-0{border-width:0!important}.border{border-width:1px}.border-0{border-width:0}.border-transparent{border-color:transparent}.\!bg-layer-raised{background-color:var(--bg-layer-raised,#fcfcfc)!important}.bg-control-accent-alpha-active{background-color:var(--bg-control-accent-alpha-active,#2764d933)}.bg-layer-sunken{background-color:var(--bg-layer-sunken,#eef1f7)}.bg-transparent{background-color:transparent}.p-0\.5{padding:.125rem}.p-1\.5{padding:.375rem}.p-3{padding:.75rem}.p-4{padding:1rem}.px-0{padding-left:0;padding-right:0}.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}.pt-2{padding-top:.5rem}.text-center{text-align:center}.text-start{text-align:start}.align-text-top{vertical-align:text-top}.uppercase{text-transform:uppercase}.tracking-wider{letter-spacing:.05em}.text-error{color:var(--text-error,#ae2f2f)}.text-primary{color:var(--text-primary,#161b2d)}.text-warning{color:var(--text-warning,#7f6300)}.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-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}.\[overflow-wrap\:anywhere\]{overflow-wrap:anywhere}.empty\:hidden:empty{display:none}.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))}
|
package/index.d.ts
CHANGED
|
@@ -4,6 +4,9 @@ export type { BottomSheetShellProps } from './components/BottomSheetShell/Bottom
|
|
|
4
4
|
export { ConversationInput } from './components/ConversationInput/ConversationInput';
|
|
5
5
|
export { EditMessageInput } from './components/EditMessageInput/EditMessageInput';
|
|
6
6
|
export { Input } from './components/Input/Input';
|
|
7
|
+
export { UsageLimitBannerView } from './components/UsageLimitBannerView/UsageLimitBannerView';
|
|
8
|
+
export { UsageLimitBannerSeverity } from './models/UsageLimitBanner';
|
|
9
|
+
export type { UsageLimitBannerReset, UsageLimitBannerViewProps, } from './models/UsageLimitBanner';
|
|
7
10
|
export type { ConversationInputColors, ConversationInputProps, ConversationInputStyles, ConversationInputTypography, EditMessageInputProps, } from './models/ConversationInput';
|
|
8
11
|
export { ActionRowLayout, SendOnEnter } from './models/Input';
|
|
9
12
|
export { useComposerSeed, useComposerSeedSource, } from './hooks/useComposerSeed';
|
package/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAE,MAAM,gCAAgC,CAAC;AAC1E,OAAO,EAAE,gBAAgB,EAAE,MAAM,gDAAgD,CAAC;AAClF,YAAY,EAAE,qBAAqB,EAAE,MAAM,gDAAgD,CAAC;AAC5F,OAAO,EAAE,iBAAiB,EAAE,MAAM,kDAAkD,CAAC;AACrF,OAAO,EAAE,gBAAgB,EAAE,MAAM,gDAAgD,CAAC;AAClF,OAAO,EAAE,KAAK,EAAE,MAAM,0BAA0B,CAAC;AACjD,YAAY,EACV,uBAAuB,EACvB,sBAAsB,EACtB,uBAAuB,EACvB,2BAA2B,EAC3B,qBAAqB,GACtB,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,eAAe,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC9D,OAAO,EACL,eAAe,EACf,qBAAqB,GACtB,MAAM,yBAAyB,CAAC;AACjC,YAAY,EACV,sBAAsB,EACtB,qBAAqB,GACtB,MAAM,yBAAyB,CAAC;AACjC,YAAY,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAC;AACtD,YAAY,EACV,kBAAkB,EAClB,iBAAiB,EACjB,kBAAkB,EAClB,oBAAoB,EACpB,WAAW,EACX,WAAW,EACX,UAAU,EACV,eAAe,EACf,iBAAiB,EACjB,eAAe,EACf,eAAe,EACf,aAAa,EACb,eAAe,GAChB,MAAM,gBAAgB,CAAC;AAExB,YAAY,EACV,iBAAiB,EACjB,eAAe,GAChB,MAAM,sCAAsC,CAA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