@fluid-topics/ftds-combobox 2.2.9 → 2.2.10
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.
|
@@ -2387,7 +2387,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
|
|
|
2387
2387
|
.hidden {
|
|
2388
2388
|
display: none;
|
|
2389
2389
|
}
|
|
2390
|
-
`;var Es=b($e());var he=function(e,t,r,n){var a=arguments.length,i=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,r,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(i=(a<3?s(i):a>3?s(t,r,i):s(t,r))||i);return a>3&&i&&Object.defineProperty(t,r,i),i},j=class extends fo.FtLitElement{constructor(){super(...arguments),this.closeButtonLabel="close info",this.openButtonIcon=p.QUESTION,this.openButtonIconVariant=f.
|
|
2390
|
+
`;var Es=b($e());var he=function(e,t,r,n){var a=arguments.length,i=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,r,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(i=(a<3?s(i):a>3?s(t,r,i):s(t,r))||i);return a>3&&i&&Object.defineProperty(t,r,i),i},j=class extends fo.FtLitElement{constructor(){super(...arguments),this.closeButtonLabel="close info",this.openButtonIcon=p.QUESTION,this.openButtonIconVariant=f.solid,this.openButtonLabel="more info",this.openButtonTooltipPosition="bottom",this.opened=!1,this.hidden=!1,this.openButtonFamily=Ft.info,this.isTriggerSlotAssigned=!1,this.heading="",this.margins=rn.default,this.wrapperId="ftds-popover-wrapper",this.headingId="ftds-popover-heading",this.contentId="ftds-popover-content",this.maxWidth=J.maxWidth,this.openButtonSize=Me.small,this.onTriggerSlotChange=()=>{var t,r;let n=(r=(t=this.triggerSlot)===null||t===void 0?void 0:t.assignedElements())!==null&&r!==void 0?r:[];this.isTriggerSlotAssigned=n.length>0},this.onTriggerKeydown=t=>{(t.key==="Enter"||t.key===" ")&&(t.preventDefault(),this.open())},this.watchFocusIn=t=>{this.popoverWrapper&&!t.composedPath().includes(this.popoverWrapper)&&this.close()},this.watchEscapeKey=t=>{var r;t.key==="Escape"&&(this.close(),(r=this.openingElement)===null||r===void 0||r.focus())}}get openingElement(){var t;let r=(t=this.triggerSlot)===null||t===void 0?void 0:t.assignedElements();return r?.length&&r[0]instanceof HTMLElement?r[0]:this.openingButton}render(){let t={opened:this.opened};return this.hidden?tt.nothing:tt.html`
|
|
2391
2391
|
<div part="root-container" class="${(0,Es.classMap)(t)}">
|
|
2392
2392
|
<slot name="trigger"
|
|
2393
2393
|
@slotchange=${this.onTriggerSlotChange}
|
|
@@ -2467,7 +2467,7 @@ If it declares any Font Awesome CSS pseudo-elements, they will not be rendered a
|
|
|
2467
2467
|
.hidden {
|
|
2468
2468
|
display: none;
|
|
2469
2469
|
}
|
|
2470
|
-
`;var Ce=function(t,e,r,o){var i=arguments.length,a=i<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,o);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},ie=class extends ee{constructor(){super(...arguments),this.closeButtonLabel="close info",this.openButtonIcon=h.QUESTION,this.openButtonIconVariant=p.
|
|
2470
|
+
`;var Ce=function(t,e,r,o){var i=arguments.length,a=i<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,o);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},ie=class extends ee{constructor(){super(...arguments),this.closeButtonLabel="close info",this.openButtonIcon=h.QUESTION,this.openButtonIconVariant=p.solid,this.openButtonLabel="more info",this.openButtonTooltipPosition="bottom",this.opened=!1,this.hidden=!1,this.openButtonFamily=oe.info,this.isTriggerSlotAssigned=!1,this.heading="",this.margins=On.default,this.wrapperId="ftds-popover-wrapper",this.headingId="ftds-popover-heading",this.contentId="ftds-popover-content",this.maxWidth=ce.maxWidth,this.openButtonSize=he.small,this.onTriggerSlotChange=()=>{var e,r;let o=(r=(e=this.triggerSlot)===null||e===void 0?void 0:e.assignedElements())!==null&&r!==void 0?r:[];this.isTriggerSlotAssigned=o.length>0},this.onTriggerKeydown=e=>{(e.key==="Enter"||e.key===" ")&&(e.preventDefault(),this.open())},this.watchFocusIn=e=>{this.popoverWrapper&&!e.composedPath().includes(this.popoverWrapper)&&this.close()},this.watchEscapeKey=e=>{var r;e.key==="Escape"&&(this.close(),(r=this.openingElement)===null||r===void 0||r.focus())}}get openingElement(){var e;let r=(e=this.triggerSlot)===null||e===void 0?void 0:e.assignedElements();return r?.length&&r[0]instanceof HTMLElement?r[0]:this.openingButton}render(){let e={opened:this.opened};return this.hidden?V:_`
|
|
2471
2471
|
<div part="root-container" class="${ae(e)}">
|
|
2472
2472
|
<slot name="trigger"
|
|
2473
2473
|
@slotchange=${this.onTriggerSlotChange}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluid-topics/ftds-combobox",
|
|
3
|
-
"version": "2.2.
|
|
3
|
+
"version": "2.2.10",
|
|
4
4
|
"description": "Single-select combobox for the Fluid Topics Design System",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Lit"
|
|
@@ -20,17 +20,17 @@
|
|
|
20
20
|
},
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@fluid-topics/design-system-variables": "3.8.0",
|
|
23
|
-
"@fluid-topics/ft-i18n": "2.2.
|
|
24
|
-
"@fluid-topics/ft-wc-utils": "2.2.
|
|
25
|
-
"@fluid-topics/ftds-base-input": "2.2.
|
|
26
|
-
"@fluid-topics/ftds-chip-group": "2.2.
|
|
27
|
-
"@fluid-topics/ftds-icon": "2.2.
|
|
28
|
-
"@fluid-topics/ftds-notice": "2.2.
|
|
29
|
-
"@fluid-topics/ftds-typography": "2.2.
|
|
23
|
+
"@fluid-topics/ft-i18n": "2.2.10",
|
|
24
|
+
"@fluid-topics/ft-wc-utils": "2.2.10",
|
|
25
|
+
"@fluid-topics/ftds-base-input": "2.2.10",
|
|
26
|
+
"@fluid-topics/ftds-chip-group": "2.2.10",
|
|
27
|
+
"@fluid-topics/ftds-icon": "2.2.10",
|
|
28
|
+
"@fluid-topics/ftds-notice": "2.2.10",
|
|
29
|
+
"@fluid-topics/ftds-typography": "2.2.10",
|
|
30
30
|
"lit": "3.3.3"
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
|
33
|
-
"@fluid-topics/ft-wc-test-utils": "2.2.
|
|
33
|
+
"@fluid-topics/ft-wc-test-utils": "2.2.10"
|
|
34
34
|
},
|
|
35
|
-
"gitHead": "
|
|
35
|
+
"gitHead": "6d512a5adc05ec93a10f0c7cafd20a6ebb5adfee"
|
|
36
36
|
}
|