@epam/ai-dial-sidebar 1.0.0-dev.471 → 1.0.0-dev.475
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/Header/Header.d.ts +0 -1
- package/components/Header/Header.d.ts.map +1 -1
- package/components/SearchInput/SearchInput.d.ts +10 -1
- package/components/SearchInput/SearchInput.d.ts.map +1 -1
- package/components/SidebarPanel/SidebarPanel.d.ts.map +1 -1
- package/index.css +1 -1
- package/index.js +3933 -3925
- package/models/panel-props.d.ts +23 -12
- package/models/panel-props.d.ts.map +1 -1
- package/package.json +3 -3
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Header.d.ts","sourceRoot":"","sources":["../../../src/components/Header/Header.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,EAAE,EAAQ,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAGtD,wCAAwC;AACxC,MAAM,WAAW,WAAW;IAC1B;;;OAGG;IACH,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB
|
|
1
|
+
{"version":3,"file":"Header.d.ts","sourceRoot":"","sources":["../../../src/components/Header/Header.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,EAAE,EAAQ,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAGtD,wCAAwC;AACxC,MAAM,WAAW,WAAW;IAC1B;;;OAGG;IACH,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,6CAA6C;IAC7C,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,oEAAoE;IACpE,WAAW,CAAC,EAAE,SAAS,CAAC;IACxB,mEAAmE;IACnE,YAAY,CAAC,EAAE,SAAS,CAAC;CAC1B;AAED,yEAAyE;AACzE,eAAO,MAAM,MAAM,EAAE,EAAE,CAAC,WAAW,CA6BlC,CAAC"}
|
|
@@ -1,4 +1,9 @@
|
|
|
1
1
|
import { FC } from 'react';
|
|
2
|
+
/** CSS custom-property overrides for the `SearchInput` component. */
|
|
3
|
+
export interface SearchInputColors {
|
|
4
|
+
/** Search icon color. */
|
|
5
|
+
icon?: string;
|
|
6
|
+
}
|
|
2
7
|
/** Props for `SearchInput`. */
|
|
3
8
|
export interface SearchInputProps {
|
|
4
9
|
/** Placeholder text (e.g. `"Search chat…"`). */
|
|
@@ -9,12 +14,16 @@ export interface SearchInputProps {
|
|
|
9
14
|
onChange: (value: string) => void;
|
|
10
15
|
/** Accessible label for the clear-search button. */
|
|
11
16
|
clearLabel: string;
|
|
12
|
-
/**
|
|
17
|
+
/** Accessible label for the search input. Defaults to `placeholder` when omitted. */
|
|
18
|
+
ariaLabel?: string;
|
|
19
|
+
/** CSS class applied to the search icon. Defaults to the module's `.icon` class (`--text-secondary`). */
|
|
13
20
|
iconClassName?: string;
|
|
14
21
|
/** CSS class applied to the outer wrapper, merged over the default `'px-2 py-1'`. Override to change the pill's horizontal inset. */
|
|
15
22
|
wrapperClassName?: string;
|
|
16
23
|
/** CSS class applied to the search row, merged after its own border/radius defaults. Use an important-modifier class (e.g. `'!rounded-lg'`) to override the default pill shape. */
|
|
17
24
|
rowClassName?: string;
|
|
25
|
+
/** Color overrides applied as CSS custom properties. */
|
|
26
|
+
colors?: SearchInputColors;
|
|
18
27
|
}
|
|
19
28
|
/**
|
|
20
29
|
* Minimal search input with icon positioned to align with sibling action buttons.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SearchInput.d.ts","sourceRoot":"","sources":["../../../src/components/SearchInput/SearchInput.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"SearchInput.d.ts","sourceRoot":"","sources":["../../../src/components/SearchInput/SearchInput.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,KAAK,EAAE,EAAiB,MAAM,OAAO,CAAC;AAG/C,qEAAqE;AACrE,MAAM,WAAW,iBAAiB;IAChC,yBAAyB;IACzB,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED,+BAA+B;AAC/B,MAAM,WAAW,gBAAgB;IAC/B,gDAAgD;IAChD,WAAW,EAAE,MAAM,CAAC;IACpB,kCAAkC;IAClC,KAAK,EAAE,MAAM,CAAC;IACd,yCAAyC;IACzC,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAClC,oDAAoD;IACpD,UAAU,EAAE,MAAM,CAAC;IACnB,qFAAqF;IACrF,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,yGAAyG;IACzG,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,qIAAqI;IACrI,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,mLAAmL;IACnL,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,wDAAwD;IACxD,MAAM,CAAC,EAAE,iBAAiB,CAAC;CAC5B;AAED;;;;GAIG;AACH,eAAO,MAAM,WAAW,EAAE,EAAE,CAAC,gBAAgB,CA2C5C,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SidebarPanel.d.ts","sourceRoot":"","sources":["../../../src/components/SidebarPanel/SidebarPanel.tsx"],"names":[],"mappings":"AAQA,OAAO,EAML,KAAK,EAAE,EACR,MAAM,OAAO,CAAC;AACf,OAAO,EAAE,KAAK,iBAAiB,EAAE,MAAM,0BAA0B,CAAC;AAKlE,eAAO,MAAM,YAAY,EAAE,EAAE,CAAC,iBAAiB,
|
|
1
|
+
{"version":3,"file":"SidebarPanel.d.ts","sourceRoot":"","sources":["../../../src/components/SidebarPanel/SidebarPanel.tsx"],"names":[],"mappings":"AAQA,OAAO,EAML,KAAK,EAAE,EACR,MAAM,OAAO,CAAC;AACf,OAAO,EAAE,KAAK,iBAAiB,EAAE,MAAM,0BAA0B,CAAC;AAKlE,eAAO,MAAM,YAAY,EAAE,EAAE,CAAC,iBAAiB,CAsK9C,CAAC"}
|
package/index.css
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
.
|
|
1
|
+
._wrapper_oh1ub_1{background:var(--sb-bg,var(--bg-layer-3,#fcfcfc));border-color:var(--sb-border,var(--stroke-tertiary,#e0e6f0))}._header_oh1ub_6{color:var(--sb-text,var(--text-primary,#161b2d))}._divider_oh1ub_10{border-color:var(--sb-border,var(--stroke-tertiary,#e0e6f0))}._panel_oh1ub_14{border-color:var(--sb-border,var(--stroke-tertiary,#e0e6f0));border-inline-end-color:var(--sb-border-inline-end,var(--sb-border,var(--stroke-tertiary,#e0e6f0)))}@keyframes _fadeIn_oh1ub_1{0%{opacity:0}to{opacity:1}}._appear_oh1ub_27{animation:.2s ease-out forwards _fadeIn_oh1ub_1}._resizeHandler_oh1ub_31{background:var(--sb-bg-resize-handler,var(--text-info,#124ace));width:4px!important;color:var(--sb-resize-handler,var(--text-info,#124ace))!important}._icon_1b1ye_1{color:var(--si-icon,var(--text-secondary,#575f73))}
|
|
2
2
|
/*$vite$:1*/
|