@fluid-topics/ft-search-bar 1.1.116 → 1.1.117
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.
|
@@ -1854,7 +1854,7 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
1854
1854
|
</div>
|
|
1855
1855
|
<div class="ft-accordion-item--separator" part="separator"></div>
|
|
1856
1856
|
</div>
|
|
1857
|
-
`}update(e){super.update(e),e.has("active")&&this.active&&this.dispatchEvent(new Event("activated",{composed:!0,bubbles:!0}))}onToggleKeyDown(e){(e.key==="Enter"||e.key===" ")&&(e.preventDefault(),this.active=!this.active)}};ct.elementDefinitions={"ft-ripple":T,"ft-typography":q,"ft-icon":ae};ct.styles=Js;ri([(0,vr.property)()],ct.prototype,"icon",void 0);ri([(0,vr.property)()],ct.prototype,"iconVariant",void 0);ri([(0,vr.property)()],ct.prototype,"label",void 0);ri([(0,vr.property)({type:Boolean,reflect:!0})],ct.prototype,"active",void 0);(0,sn.customElement)("ft-accordion")($t);(0,sn.customElement)("ft-accordion-item")(ct);var fn=h(w());var ni=h(N()),De=h(Y()),ic=h(lt()),li=h(w());var ii=h(N()),W=h(w());var ec=W.FtCssVariableFactory.extend("--ft-chip-color","",W.designSystemVariables.colorOnSurface),Be={backgroundColor:W.FtCssVariableFactory.extend("--ft-chip-background-color","",W.designSystemVariables.colorSurface),color:ec,fontSize:W.FtCssVariableFactory.extend("--ft-chip-font-size","",Ce.fontSize),iconSize:W.FtCssVariableFactory.create("--ft-chip-icon-size","","SIZE","18px"),borderRadius:W.FtCssVariableFactory.create("--ft-chip-border-radius","","SIZE",""),rippleColor:W.FtCssVariableFactory.extend("--ft-chip-ripple-color","",ec),horizontalPadding:W.FtCssVariableFactory.create("--ft-chip-horizontal-padding","","SIZE","6px"),verticalPadding:W.FtCssVariableFactory.create("--ft-chip-vertical-padding","","SIZE","6px"),
|
|
1857
|
+
`}update(e){super.update(e),e.has("active")&&this.active&&this.dispatchEvent(new Event("activated",{composed:!0,bubbles:!0}))}onToggleKeyDown(e){(e.key==="Enter"||e.key===" ")&&(e.preventDefault(),this.active=!this.active)}};ct.elementDefinitions={"ft-ripple":T,"ft-typography":q,"ft-icon":ae};ct.styles=Js;ri([(0,vr.property)()],ct.prototype,"icon",void 0);ri([(0,vr.property)()],ct.prototype,"iconVariant",void 0);ri([(0,vr.property)()],ct.prototype,"label",void 0);ri([(0,vr.property)({type:Boolean,reflect:!0})],ct.prototype,"active",void 0);(0,sn.customElement)("ft-accordion")($t);(0,sn.customElement)("ft-accordion-item")(ct);var fn=h(w());var ni=h(N()),De=h(Y()),ic=h(lt()),li=h(w());var ii=h(N()),W=h(w());var ec=W.FtCssVariableFactory.extend("--ft-chip-color","",W.designSystemVariables.colorOnSurface),Be={backgroundColor:W.FtCssVariableFactory.extend("--ft-chip-background-color","",W.designSystemVariables.colorSurface),color:ec,fontSize:W.FtCssVariableFactory.extend("--ft-chip-font-size","",Ce.fontSize),iconSize:W.FtCssVariableFactory.create("--ft-chip-icon-size","","SIZE","18px"),borderRadius:W.FtCssVariableFactory.create("--ft-chip-border-radius","","SIZE",""),rippleColor:W.FtCssVariableFactory.extend("--ft-chip-ripple-color","",ec),horizontalPadding:W.FtCssVariableFactory.create("--ft-chip-horizontal-padding","","SIZE","6px"),verticalPadding:W.FtCssVariableFactory.create("--ft-chip-vertical-padding","","SIZE","6px"),borderColor:W.FtCssVariableFactory.extend("--ft-chip-border-color","",W.designSystemVariables.colorOutline),opacityDisabled:W.FtCssVariableFactory.external(W.designSystemVariables.colorOpacityDisabled,"Design system")},tc=W.FtCssVariableFactory.extend("--ft-chip-highlighted-color","",W.FtCssVariableFactory.extend("--ft-chip-color","",W.designSystemVariables.colorOnPrimary)),cn={backgroundColor:W.FtCssVariableFactory.extend("--ft-chip-highlighted-background-color","",W.FtCssVariableFactory.extend("--ft-chip-background-color","",W.designSystemVariables.colorPrimary)),color:tc,rippleColor:W.FtCssVariableFactory.extend("--ft-chip-highlighted-ripple-color","",tc)},oc={horizontalPadding:W.FtCssVariableFactory.create("--ft-chip-dense-horizontal-padding","","SIZE","4px"),verticalPadding:W.FtCssVariableFactory.create("--ft-chip-dense-vertical-padding","","SIZE","4px")},rc=[W.noTextSelect,ii.css`
|
|
1858
1858
|
:host {
|
|
1859
1859
|
display: inline-block;
|
|
1860
1860
|
max-width: 100%;
|
|
@@ -1878,7 +1878,7 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
1878
1878
|
--ft-chip-internal-icon-padding: 3px;
|
|
1879
1879
|
--ft-chip-internal-content-height: max(var(--ft-chip-internal-line-height), ${Be.iconSize});
|
|
1880
1880
|
|
|
1881
|
-
border: 1px solid ${Be.
|
|
1881
|
+
border: 1px solid ${Be.borderColor};
|
|
1882
1882
|
color: ${Be.color};
|
|
1883
1883
|
${(0,W.setVariable)(O.color,Be.rippleColor)};
|
|
1884
1884
|
border-radius: var(${(0,ii.unsafeCSS)(Be.borderRadius.name)}, calc(var(--ft-chip-internal-content-height) / 2 + var(--ft-chip-internal-vertical-padding)));
|
|
@@ -1919,11 +1919,12 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
1919
1919
|
|
|
1920
1920
|
.ft-chip--clickable {
|
|
1921
1921
|
cursor: pointer;
|
|
1922
|
-
|
|
1922
|
+
overflow: hidden
|
|
1923
1923
|
}
|
|
1924
1924
|
|
|
1925
1925
|
.ft-chip:focus {
|
|
1926
|
-
outline:
|
|
1926
|
+
outline: 2px solid var(--ft-color-primary, #2196F3);
|
|
1927
|
+
outline-offset: 2px;
|
|
1927
1928
|
}
|
|
1928
1929
|
|
|
1929
1930
|
.ft-chip--icon-container {
|
|
@@ -2017,7 +2018,7 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
2017
2018
|
<div class="ft-chip--icon-container ft-no-text-select" part="icon-container">
|
|
2018
2019
|
<ft-icon .variant=${this.iconVariant} .value="${this.internalIcon}" part="icon"></ft-icon>
|
|
2019
2020
|
</div>
|
|
2020
|
-
`}onKeyUp(e){this.interactionsOnChip&&["Enter"," "].includes(e.key)&&e.target.click()}onIconKeyUp(e){this.interactionsOnIcon&&["Enter"," "].includes(e.key)&&(e.stopPropagation(),this.dispatchEvent(new ai))}onIconClick(e){this.interactionsOnIcon&&(e.stopPropagation(),this.dispatchEvent(new ai))}getLabel(){return this.label||this.textContent}get textContent(){
|
|
2021
|
+
`}onKeyUp(e){this.interactionsOnChip&&["Enter"," "].includes(e.key)&&e.target.click()}onIconKeyUp(e){this.interactionsOnIcon&&["Enter"," "].includes(e.key)&&(e.stopPropagation(),this.dispatchEvent(new ai))}onIconClick(e){this.interactionsOnIcon&&(e.stopPropagation(),this.dispatchEvent(new ai))}getLabel(){return this.label||this.textContent}get textContent(){return this.unslotText(this.slottedContent).trim()}unslotText(e){return e instanceof HTMLSlotElement?e.assignedNodes().map(r=>this.unslotText(r)).join(""):e?.textContent||""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}get internalIcon(){return this.icon||(this.removable?"close":void 0)}};he.elementDefinitions={"ft-ripple":T,"ft-typography":q,"ft-icon":ae,"ft-button":ve};he.styles=rc;Qe([(0,De.property)({type:Boolean})],he.prototype,"highlighted",void 0);Qe([(0,De.property)({type:Boolean})],he.prototype,"removable",void 0);Qe([(0,De.property)({type:Boolean})],he.prototype,"disabled",void 0);Qe([(0,De.property)({type:Boolean})],he.prototype,"clickable",void 0);Qe([(0,De.property)({type:Boolean})],he.prototype,"iconClickable",void 0);Qe([(0,De.property)({type:Boolean})],he.prototype,"dense",void 0);Qe([(0,De.property)({type:Boolean})],he.prototype,"multiLine",void 0);Qe([(0,De.property)()],he.prototype,"label",void 0);Qe([(0,De.property)()],he.prototype,"iconLabel",void 0);Qe([(0,De.property)()],he.prototype,"icon",void 0);Qe([(0,De.property)()],he.prototype,"iconVariant",void 0);Qe([(0,De.property)({type:Boolean})],he.prototype,"trailingIcon",void 0);Qe([(0,De.query)("ft-typography slot")],he.prototype,"slottedContent",void 0);var Ro=h(N()),Lo=h(Y()),lc=h(lt()),si=h(w());var nc=h(N());var dn=h(w());var ac=[nc.css`
|
|
2021
2022
|
:host {
|
|
2022
2023
|
display: inline-block;
|
|
2023
2024
|
max-width: 100%;
|
|
@@ -1900,7 +1900,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
1900
1900
|
</div>
|
|
1901
1901
|
<div class="ft-accordion-item--separator" part="separator"></div>
|
|
1902
1902
|
</div>
|
|
1903
|
-
`}update(e){super.update(e),e.has("active")&&this.active&&this.dispatchEvent(new Event("activated",{composed:!0,bubbles:!0}))}onToggleKeyDown(e){(e.key==="Enter"||e.key===" ")&&(e.preventDefault(),this.active=!this.active)}};nt.elementDefinitions={"ft-ripple":X,"ft-typography":ae,"ft-icon":ye};nt.styles=jd;Hi([m()],nt.prototype,"icon",void 0);Hi([m()],nt.prototype,"iconVariant",void 0);Hi([m()],nt.prototype,"label",void 0);Hi([m({type:Boolean,reflect:!0})],nt.prototype,"active",void 0);H("ft-accordion")(Et);H("ft-accordion-item")(nt);var Kd=o.extend("--ft-chip-color","",$.colorOnSurface),Ue={backgroundColor:o.extend("--ft-chip-background-color","",$.colorSurface),color:Kd,fontSize:o.extend("--ft-chip-font-size","",ke.fontSize),iconSize:o.create("--ft-chip-icon-size","","SIZE","18px"),borderRadius:o.create("--ft-chip-border-radius","","SIZE",""),rippleColor:o.extend("--ft-chip-ripple-color","",Kd),horizontalPadding:o.create("--ft-chip-horizontal-padding","","SIZE","6px"),verticalPadding:o.create("--ft-chip-vertical-padding","","SIZE","6px"),
|
|
1903
|
+
`}update(e){super.update(e),e.has("active")&&this.active&&this.dispatchEvent(new Event("activated",{composed:!0,bubbles:!0}))}onToggleKeyDown(e){(e.key==="Enter"||e.key===" ")&&(e.preventDefault(),this.active=!this.active)}};nt.elementDefinitions={"ft-ripple":X,"ft-typography":ae,"ft-icon":ye};nt.styles=jd;Hi([m()],nt.prototype,"icon",void 0);Hi([m()],nt.prototype,"iconVariant",void 0);Hi([m()],nt.prototype,"label",void 0);Hi([m({type:Boolean,reflect:!0})],nt.prototype,"active",void 0);H("ft-accordion")(Et);H("ft-accordion-item")(nt);var Kd=o.extend("--ft-chip-color","",$.colorOnSurface),Ue={backgroundColor:o.extend("--ft-chip-background-color","",$.colorSurface),color:Kd,fontSize:o.extend("--ft-chip-font-size","",ke.fontSize),iconSize:o.create("--ft-chip-icon-size","","SIZE","18px"),borderRadius:o.create("--ft-chip-border-radius","","SIZE",""),rippleColor:o.extend("--ft-chip-ripple-color","",Kd),horizontalPadding:o.create("--ft-chip-horizontal-padding","","SIZE","6px"),verticalPadding:o.create("--ft-chip-vertical-padding","","SIZE","6px"),borderColor:o.extend("--ft-chip-border-color","",$.colorOutline),opacityDisabled:o.external($.colorOpacityDisabled,"Design system")},Gd=o.extend("--ft-chip-highlighted-color","",o.extend("--ft-chip-color","",$.colorOnPrimary)),Cs={backgroundColor:o.extend("--ft-chip-highlighted-background-color","",o.extend("--ft-chip-background-color","",$.colorPrimary)),color:Gd,rippleColor:o.extend("--ft-chip-highlighted-ripple-color","",Gd)},Zd={horizontalPadding:o.create("--ft-chip-dense-horizontal-padding","","SIZE","4px"),verticalPadding:o.create("--ft-chip-dense-vertical-padding","","SIZE","4px")},qd=[xr,N`
|
|
1904
1904
|
:host {
|
|
1905
1905
|
display: inline-block;
|
|
1906
1906
|
max-width: 100%;
|
|
@@ -1924,7 +1924,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
1924
1924
|
--ft-chip-internal-icon-padding: 3px;
|
|
1925
1925
|
--ft-chip-internal-content-height: max(var(--ft-chip-internal-line-height), ${Ue.iconSize});
|
|
1926
1926
|
|
|
1927
|
-
border: 1px solid ${Ue.
|
|
1927
|
+
border: 1px solid ${Ue.borderColor};
|
|
1928
1928
|
color: ${Ue.color};
|
|
1929
1929
|
${v(L.color,Ue.rippleColor)};
|
|
1930
1930
|
border-radius: var(${Nt(Ue.borderRadius.name)}, calc(var(--ft-chip-internal-content-height) / 2 + var(--ft-chip-internal-vertical-padding)));
|
|
@@ -1965,11 +1965,12 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
1965
1965
|
|
|
1966
1966
|
.ft-chip--clickable {
|
|
1967
1967
|
cursor: pointer;
|
|
1968
|
-
|
|
1968
|
+
overflow: hidden
|
|
1969
1969
|
}
|
|
1970
1970
|
|
|
1971
1971
|
.ft-chip:focus {
|
|
1972
|
-
outline:
|
|
1972
|
+
outline: 2px solid var(--ft-color-primary, #2196F3);
|
|
1973
|
+
outline-offset: 2px;
|
|
1973
1974
|
}
|
|
1974
1975
|
|
|
1975
1976
|
.ft-chip--icon-container {
|
|
@@ -2063,7 +2064,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
2063
2064
|
<div class="ft-chip--icon-container ft-no-text-select" part="icon-container">
|
|
2064
2065
|
<ft-icon .variant=${this.iconVariant} .value="${this.internalIcon}" part="icon"></ft-icon>
|
|
2065
2066
|
</div>
|
|
2066
|
-
`}onKeyUp(e){this.interactionsOnChip&&["Enter"," "].includes(e.key)&&e.target.click()}onIconKeyUp(e){this.interactionsOnIcon&&["Enter"," "].includes(e.key)&&(e.stopPropagation(),this.dispatchEvent(new Vi))}onIconClick(e){this.interactionsOnIcon&&(e.stopPropagation(),this.dispatchEvent(new Vi))}getLabel(){return this.label||this.textContent}get textContent(){
|
|
2067
|
+
`}onKeyUp(e){this.interactionsOnChip&&["Enter"," "].includes(e.key)&&e.target.click()}onIconKeyUp(e){this.interactionsOnIcon&&["Enter"," "].includes(e.key)&&(e.stopPropagation(),this.dispatchEvent(new Vi))}onIconClick(e){this.interactionsOnIcon&&(e.stopPropagation(),this.dispatchEvent(new Vi))}getLabel(){return this.label||this.textContent}get textContent(){return this.unslotText(this.slottedContent).trim()}unslotText(e){return e instanceof HTMLSlotElement?e.assignedNodes().map(t=>this.unslotText(t)).join(""):e?.textContent||""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}get internalIcon(){return this.icon||(this.removable?"close":void 0)}};Oe.elementDefinitions={"ft-ripple":X,"ft-typography":ae,"ft-icon":ye,"ft-button":we};Oe.styles=qd;et([m({type:Boolean})],Oe.prototype,"highlighted",void 0);et([m({type:Boolean})],Oe.prototype,"removable",void 0);et([m({type:Boolean})],Oe.prototype,"disabled",void 0);et([m({type:Boolean})],Oe.prototype,"clickable",void 0);et([m({type:Boolean})],Oe.prototype,"iconClickable",void 0);et([m({type:Boolean})],Oe.prototype,"dense",void 0);et([m({type:Boolean})],Oe.prototype,"multiLine",void 0);et([m()],Oe.prototype,"label",void 0);et([m()],Oe.prototype,"iconLabel",void 0);et([m()],Oe.prototype,"icon",void 0);et([m()],Oe.prototype,"iconVariant",void 0);et([m({type:Boolean})],Oe.prototype,"trailingIcon",void 0);et([B("ft-typography slot")],Oe.prototype,"slottedContent",void 0);var Yd=[N`
|
|
2067
2068
|
:host {
|
|
2068
2069
|
display: inline-block;
|
|
2069
2070
|
max-width: 100%;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluid-topics/ft-search-bar",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.117",
|
|
4
4
|
"description": "Search bar component using Fluid Topics public API",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Lit"
|
|
@@ -19,23 +19,23 @@
|
|
|
19
19
|
"url": "ssh://git@scm.mrs.antidot.net:2222/fluidtopics/ft-web-components.git"
|
|
20
20
|
},
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@fluid-topics/ft-accordion": "1.1.
|
|
23
|
-
"@fluid-topics/ft-app-context": "1.1.
|
|
24
|
-
"@fluid-topics/ft-button": "1.1.
|
|
25
|
-
"@fluid-topics/ft-chip": "1.1.
|
|
26
|
-
"@fluid-topics/ft-filter": "1.1.
|
|
27
|
-
"@fluid-topics/ft-icon": "1.1.
|
|
28
|
-
"@fluid-topics/ft-select": "1.1.
|
|
29
|
-
"@fluid-topics/ft-size-watcher": "1.1.
|
|
30
|
-
"@fluid-topics/ft-skeleton": "1.1.
|
|
31
|
-
"@fluid-topics/ft-snap-scroll": "1.1.
|
|
32
|
-
"@fluid-topics/ft-tooltip": "1.1.
|
|
33
|
-
"@fluid-topics/ft-typography": "1.1.
|
|
34
|
-
"@fluid-topics/ft-wc-utils": "1.1.
|
|
22
|
+
"@fluid-topics/ft-accordion": "1.1.117",
|
|
23
|
+
"@fluid-topics/ft-app-context": "1.1.117",
|
|
24
|
+
"@fluid-topics/ft-button": "1.1.117",
|
|
25
|
+
"@fluid-topics/ft-chip": "1.1.117",
|
|
26
|
+
"@fluid-topics/ft-filter": "1.1.117",
|
|
27
|
+
"@fluid-topics/ft-icon": "1.1.117",
|
|
28
|
+
"@fluid-topics/ft-select": "1.1.117",
|
|
29
|
+
"@fluid-topics/ft-size-watcher": "1.1.117",
|
|
30
|
+
"@fluid-topics/ft-skeleton": "1.1.117",
|
|
31
|
+
"@fluid-topics/ft-snap-scroll": "1.1.117",
|
|
32
|
+
"@fluid-topics/ft-tooltip": "1.1.117",
|
|
33
|
+
"@fluid-topics/ft-typography": "1.1.117",
|
|
34
|
+
"@fluid-topics/ft-wc-utils": "1.1.117",
|
|
35
35
|
"lit": "3.1.0"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|
|
38
38
|
"@fluid-topics/public-api": "1.0.77"
|
|
39
39
|
},
|
|
40
|
-
"gitHead": "
|
|
40
|
+
"gitHead": "061a8cebc72403790111ca8292208f4213b84312"
|
|
41
41
|
}
|