@fluid-topics/ftds-checkbox 2.2.7 → 2.2.9
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.
|
@@ -2093,7 +2093,7 @@ If it declares any Font Awesome CSS pseudo-elements, they will not be rendered a
|
|
|
2093
2093
|
.hidden {
|
|
2094
2094
|
display: none;
|
|
2095
2095
|
}
|
|
2096
|
-
`;var vi=v(Et());var ee=function(e,t,o,n){var a=arguments.length,i=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(i=(a<3?s(i):a>3?s(t,o,i):s(t,o))||i);return a>3&&i&&Object.defineProperty(t,o,i),i},F=class extends Lr.FtLitElement{constructor(){super(...arguments),this.closeButtonLabel="close info",this.openButtonIcon=p.QUESTION,this.openButtonIconVariant=u.
|
|
2096
|
+
`;var vi=v(Et());var ee=function(e,t,o,n){var a=arguments.length,i=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(i=(a<3?s(i):a>3?s(t,o,i):s(t,o))||i);return a>3&&i&&Object.defineProperty(t,o,i),i},F=class extends Lr.FtLitElement{constructor(){super(...arguments),this.closeButtonLabel="close info",this.openButtonIcon=p.QUESTION,this.openButtonIconVariant=u.regular,this.openButtonLabel="more info",this.openButtonTooltipPosition="bottom",this.opened=!1,this.hidden=!1,this.openButtonFamily=We.info,this.isTriggerSlotAssigned=!1,this.heading="",this.margins=ho.default,this.wrapperId="ftds-popover-wrapper",this.headingId="ftds-popover-heading",this.contentId="ftds-popover-content",this.maxWidth=V.maxWidth,this.openButtonSize=Ye.small,this.onTriggerSlotChange=()=>{var t,o;let n=(o=(t=this.triggerSlot)===null||t===void 0?void 0:t.assignedElements())!==null&&o!==void 0?o:[];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 o;t.key==="Escape"&&(this.close(),(o=this.openingElement)===null||o===void 0||o.focus())}}get openingElement(){var t;let o=(t=this.triggerSlot)===null||t===void 0?void 0:t.assignedElements();return o?.length&&o[0]instanceof HTMLElement?o[0]:this.openingButton}render(){let t={opened:this.opened};return this.hidden?Te.nothing:Te.html`
|
|
2097
2097
|
<div part="root-container" class="${(0,vi.classMap)(t)}">
|
|
2098
2098
|
<slot name="trigger"
|
|
2099
2099
|
@slotchange=${this.onTriggerSlotChange}
|
|
@@ -2121,11 +2121,15 @@ If it declares any Font Awesome CSS pseudo-elements, they will not be rendered a
|
|
|
2121
2121
|
<ftds-button @focusin=${this.close}
|
|
2122
2122
|
secondary
|
|
2123
2123
|
part="opening-button"
|
|
2124
|
-
icon
|
|
2125
|
-
|
|
2126
|
-
|
|
2127
|
-
label
|
|
2128
|
-
|
|
2124
|
+
.icon=${this.openButtonIcon}
|
|
2125
|
+
.iconVariant=${this.openButtonIconVariant}
|
|
2126
|
+
.family=${this.openButtonFamily}
|
|
2127
|
+
.label=${this.openButtonLabel}
|
|
2128
|
+
.tooltipPosition=${this.openButtonTooltipPosition}
|
|
2129
|
+
size="${this.openButtonSize}"
|
|
2130
|
+
aria-haspopup="true"
|
|
2131
|
+
aria-expanded="${this.opened}"
|
|
2132
|
+
aria-controls="${this.wrapperId}"
|
|
2129
2133
|
@click=${this.open}>
|
|
2130
2134
|
</ftds-button>
|
|
2131
2135
|
`}renderClosingButton(){return Te.html`
|
|
@@ -2160,7 +2164,7 @@ If it declares any Font Awesome CSS pseudo-elements, they will not be rendered a
|
|
|
2160
2164
|
<div part="popover-sections">
|
|
2161
2165
|
<slot name="sections" part="popover-sections-slot"></slot>
|
|
2162
2166
|
</div>
|
|
2163
|
-
`}hideUnusedSlots(){var t,o,n;(t=this.popoverLinkTypography)===null||t===void 0||t.classList.toggle("hidden",this.hasEmptySlot(this.slottedLinkContent)),(o=this.popoverContentDiv)===null||o===void 0||o.classList.toggle("hidden",this.hasEmptySlot(this.popoverContentSlot)),(n=this.popoverSectionsDiv)===null||n===void 0||n.classList.toggle("hidden",this.hasEmptySlot(this.popoverSectionsSlot))}hasEmptySlot(t){return(0,Lr.unslotText)(t).trim().length===0}updated(t){super.updated(t),t.has("opened")&&(this.opened?setTimeout(()=>{this.positionWrapper(),document.addEventListener("keydown",this.watchEscapeKey),document.addEventListener("focusin",this.watchFocusIn)},0):(document.removeEventListener("keydown",this.watchEscapeKey),document.removeEventListener("focusin",this.watchFocusIn)))}close(){this.opened=!1,this.dispatchEvent(new CustomEvent("opened-changed",{detail:{opened:!1}}))}open(){this.opened=!0,this.dispatchEvent(new CustomEvent("opened-changed",{detail:{opened:!0}}))}closeAndFocusOpeningButton(){var t;this.close(),(t=this.openingElement)===null||t===void 0||t.focus(),window.FluidTopicsA11yHints.isKeyboardNavigation&&this.openingElement instanceof $&&this.openingElement.showTooltip()}async positionWrapper(){var t,o;if(this.popoverWrapper){if(this.popoverWrapper.classList.remove("positioned"),this.popoverWrapper.style.left="",this.popoverWrapper.style.top="",this.openingElement){let i={placement:"bottom-start",allowedPlacements:["bottom-start","right-start","bottom-end","right-end","left-start","left-end","top-start","top-end"],maxWidthCssVariable:this.maxWidth},{x:s,y:l}=await(0,Lr.computeOffsetAutoPosition)(this.openingElement,this.popoverWrapper,i);this.popoverWrapper.style.left=`${s}px`,this.popoverWrapper.style.top=`${l}px`}this.popoverWrapper.classList.add("positioned")}this.hideUnusedSlots(),(t=this.closingButton)===null||t===void 0||t.focus(),window.FluidTopicsA11yHints.isKeyboardNavigation&&((o=this.closingButton)===null||o===void 0||o.showTooltip())}};F.styles=U0;F.elementDefinitions={"ftds-typography":de,"ftds-button":$};ee([(0,Y.property)()],F.prototype,"closeButtonLabel",void 0);ee([(0,Y.property)()],F.prototype,"openButtonIcon",void 0);ee([(0,Y.property)()],F.prototype,"openButtonIconVariant",void 0);ee([(0,Y.property)()],F.prototype,"openButtonLabel",void 0);ee([(0,Y.property)()],F.prototype,"openButtonTooltipPosition",void 0);ee([(0,Y.property)({type:Boolean})],F.prototype,"opened",void 0);ee([(0,Y.property)({type:Boolean})],F.prototype,"hidden",void 0);ee([(0,Y.property)({type:We})],F.prototype,"openButtonFamily",void 0);ee([(0,Y.state)()],F.prototype,"isTriggerSlotAssigned",void 0);ee([(0,Y.property)()],F.prototype,"heading",void 0);ee([(0,Y.property)()],F.prototype,"margins",void 0);ee([(0,Y.query)('[part="wrapper"]')],F.prototype,"popoverWrapper",void 0);ee([(0,Y.query)('slot[name="trigger"]')],F.prototype,"triggerSlot",void 0);ee([(0,Y.query)('[part="opening-button"]')],F.prototype,"openingButton",void 0);ee([(0,Y.query)('[part="closing-button"]')],F.prototype,"closingButton",void 0);ee([(0,Y.query)('[part="content"]')],F.prototype,"popoverContentDiv",void 0);ee([(0,Y.query)('[part="popover-content-slot"]')],F.prototype,"popoverContentSlot",void 0);ee([(0,Y.query)('[part="popover-link"]')],F.prototype,"slottedLinkContent",void 0);ee([(0,Y.query)('[part="popover-link-typography"]')],F.prototype,"popoverLinkTypography",void 0);ee([(0,Y.query)('[part="popover-sections"]')],F.prototype,"popoverSectionsDiv",void 0);ee([(0,Y.query)('[part="popover-sections-slot"]')],F.prototype,"popoverSectionsSlot",void 0);var mo=v(H()),go=v(ie()),Pn=v(P());var $0=v(H());var F0=$0.css`
|
|
2167
|
+
`}hideUnusedSlots(){var t,o,n;(t=this.popoverLinkTypography)===null||t===void 0||t.classList.toggle("hidden",this.hasEmptySlot(this.slottedLinkContent)),(o=this.popoverContentDiv)===null||o===void 0||o.classList.toggle("hidden",this.hasEmptySlot(this.popoverContentSlot)),(n=this.popoverSectionsDiv)===null||n===void 0||n.classList.toggle("hidden",this.hasEmptySlot(this.popoverSectionsSlot))}hasEmptySlot(t){return(0,Lr.unslotText)(t).trim().length===0}updated(t){super.updated(t),t.has("opened")&&(this.opened?setTimeout(()=>{this.positionWrapper(),document.addEventListener("keydown",this.watchEscapeKey),document.addEventListener("focusin",this.watchFocusIn)},0):(document.removeEventListener("keydown",this.watchEscapeKey),document.removeEventListener("focusin",this.watchFocusIn)))}close(){this.opened=!1,this.dispatchEvent(new CustomEvent("opened-changed",{detail:{opened:!1}}))}open(){this.opened=!0,this.dispatchEvent(new CustomEvent("opened-changed",{detail:{opened:!0}}))}closeAndFocusOpeningButton(){var t;this.close(),(t=this.openingElement)===null||t===void 0||t.focus(),window.FluidTopicsA11yHints.isKeyboardNavigation&&this.openingElement instanceof $&&this.openingElement.showTooltip()}async positionWrapper(){var t,o;if(this.popoverWrapper){if(this.popoverWrapper.classList.remove("positioned"),this.popoverWrapper.style.left="",this.popoverWrapper.style.top="",this.openingElement){let i={placement:"bottom-start",allowedPlacements:["bottom-start","right-start","bottom-end","right-end","left-start","left-end","top-start","top-end"],maxWidthCssVariable:this.maxWidth},{x:s,y:l}=await(0,Lr.computeOffsetAutoPosition)(this.openingElement,this.popoverWrapper,i);this.popoverWrapper.style.left=`${s}px`,this.popoverWrapper.style.top=`${l}px`}this.popoverWrapper.classList.add("positioned")}this.hideUnusedSlots(),(t=this.closingButton)===null||t===void 0||t.focus(),window.FluidTopicsA11yHints.isKeyboardNavigation&&((o=this.closingButton)===null||o===void 0||o.showTooltip())}};F.styles=U0;F.elementDefinitions={"ftds-typography":de,"ftds-button":$};ee([(0,Y.property)()],F.prototype,"closeButtonLabel",void 0);ee([(0,Y.property)({type:p})],F.prototype,"openButtonIcon",void 0);ee([(0,Y.property)({type:u})],F.prototype,"openButtonIconVariant",void 0);ee([(0,Y.property)()],F.prototype,"openButtonLabel",void 0);ee([(0,Y.property)()],F.prototype,"openButtonTooltipPosition",void 0);ee([(0,Y.property)({type:Boolean})],F.prototype,"opened",void 0);ee([(0,Y.property)({type:Boolean})],F.prototype,"hidden",void 0);ee([(0,Y.property)({type:We})],F.prototype,"openButtonFamily",void 0);ee([(0,Y.state)()],F.prototype,"isTriggerSlotAssigned",void 0);ee([(0,Y.property)()],F.prototype,"heading",void 0);ee([(0,Y.property)()],F.prototype,"margins",void 0);ee([(0,Y.query)('[part="wrapper"]')],F.prototype,"popoverWrapper",void 0);ee([(0,Y.query)('slot[name="trigger"]')],F.prototype,"triggerSlot",void 0);ee([(0,Y.query)('[part="opening-button"]')],F.prototype,"openingButton",void 0);ee([(0,Y.query)('[part="closing-button"]')],F.prototype,"closingButton",void 0);ee([(0,Y.query)('[part="content"]')],F.prototype,"popoverContentDiv",void 0);ee([(0,Y.query)('[part="popover-content-slot"]')],F.prototype,"popoverContentSlot",void 0);ee([(0,Y.query)('[part="popover-link"]')],F.prototype,"slottedLinkContent",void 0);ee([(0,Y.query)('[part="popover-link-typography"]')],F.prototype,"popoverLinkTypography",void 0);ee([(0,Y.query)('[part="popover-sections"]')],F.prototype,"popoverSectionsDiv",void 0);ee([(0,Y.query)('[part="popover-sections-slot"]')],F.prototype,"popoverSectionsSlot",void 0);var mo=v(H()),go=v(ie()),Pn=v(P());var $0=v(H());var F0=$0.css`
|
|
2164
2168
|
.ftds-popover-section--heading ftds-typography {
|
|
2165
2169
|
flex-grow: 1;
|
|
2166
2170
|
flex-shrink: 1;
|
|
@@ -2173,7 +2173,7 @@ If it declares any Font Awesome CSS pseudo-elements, they will not be rendered a
|
|
|
2173
2173
|
.hidden {
|
|
2174
2174
|
display: none;
|
|
2175
2175
|
}
|
|
2176
|
-
`;var le=function(t,e,r,o){var a=arguments.length,i=a<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,r,o);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(i=(a<3?s(i):a>3?s(e,r,i):s(e,r))||i);return a>3&&i&&Object.defineProperty(e,r,i),i},X=class extends q{constructor(){super(...arguments),this.closeButtonLabel="close info",this.openButtonIcon=h.QUESTION,this.openButtonIconVariant=p.
|
|
2176
|
+
`;var le=function(t,e,r,o){var a=arguments.length,i=a<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,r,o);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(i=(a<3?s(i):a>3?s(e,r,i):s(e,r))||i);return a>3&&i&&Object.defineProperty(e,r,i),i},X=class extends q{constructor(){super(...arguments),this.closeButtonLabel="close info",this.openButtonIcon=h.QUESTION,this.openButtonIconVariant=p.regular,this.openButtonLabel="more info",this.openButtonTooltipPosition="bottom",this.opened=!1,this.hidden=!1,this.openButtonFamily=ke.info,this.isTriggerSlotAssigned=!1,this.heading="",this.margins=Vo.default,this.wrapperId="ftds-popover-wrapper",this.headingId="ftds-popover-heading",this.contentId="ftds-popover-content",this.maxWidth=Q.maxWidth,this.openButtonSize=Ue.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?G:B`
|
|
2177
2177
|
<div part="root-container" class="${Se(e)}">
|
|
2178
2178
|
<slot name="trigger"
|
|
2179
2179
|
@slotchange=${this.onTriggerSlotChange}
|
|
@@ -2201,11 +2201,15 @@ If it declares any Font Awesome CSS pseudo-elements, they will not be rendered a
|
|
|
2201
2201
|
<ftds-button @focusin=${this.close}
|
|
2202
2202
|
secondary
|
|
2203
2203
|
part="opening-button"
|
|
2204
|
-
icon
|
|
2205
|
-
|
|
2206
|
-
|
|
2207
|
-
label
|
|
2208
|
-
|
|
2204
|
+
.icon=${this.openButtonIcon}
|
|
2205
|
+
.iconVariant=${this.openButtonIconVariant}
|
|
2206
|
+
.family=${this.openButtonFamily}
|
|
2207
|
+
.label=${this.openButtonLabel}
|
|
2208
|
+
.tooltipPosition=${this.openButtonTooltipPosition}
|
|
2209
|
+
size="${this.openButtonSize}"
|
|
2210
|
+
aria-haspopup="true"
|
|
2211
|
+
aria-expanded="${this.opened}"
|
|
2212
|
+
aria-controls="${this.wrapperId}"
|
|
2209
2213
|
@click=${this.open}>
|
|
2210
2214
|
</ftds-button>
|
|
2211
2215
|
`}renderClosingButton(){return B`
|
|
@@ -2240,7 +2244,7 @@ If it declares any Font Awesome CSS pseudo-elements, they will not be rendered a
|
|
|
2240
2244
|
<div part="popover-sections">
|
|
2241
2245
|
<slot name="sections" part="popover-sections-slot"></slot>
|
|
2242
2246
|
</div>
|
|
2243
|
-
`}hideUnusedSlots(){var e,r,o;(e=this.popoverLinkTypography)===null||e===void 0||e.classList.toggle("hidden",this.hasEmptySlot(this.slottedLinkContent)),(r=this.popoverContentDiv)===null||r===void 0||r.classList.toggle("hidden",this.hasEmptySlot(this.popoverContentSlot)),(o=this.popoverSectionsDiv)===null||o===void 0||o.classList.toggle("hidden",this.hasEmptySlot(this.popoverSectionsSlot))}hasEmptySlot(e){return Et(e).trim().length===0}updated(e){super.updated(e),e.has("opened")&&(this.opened?setTimeout(()=>{this.positionWrapper(),document.addEventListener("keydown",this.watchEscapeKey),document.addEventListener("focusin",this.watchFocusIn)},0):(document.removeEventListener("keydown",this.watchEscapeKey),document.removeEventListener("focusin",this.watchFocusIn)))}close(){this.opened=!1,this.dispatchEvent(new CustomEvent("opened-changed",{detail:{opened:!1}}))}open(){this.opened=!0,this.dispatchEvent(new CustomEvent("opened-changed",{detail:{opened:!0}}))}closeAndFocusOpeningButton(){var e;this.close(),(e=this.openingElement)===null||e===void 0||e.focus(),window.FluidTopicsA11yHints.isKeyboardNavigation&&this.openingElement instanceof Z&&this.openingElement.showTooltip()}async positionWrapper(){var e,r;if(this.popoverWrapper){if(this.popoverWrapper.classList.remove("positioned"),this.popoverWrapper.style.left="",this.popoverWrapper.style.top="",this.openingElement){let i={placement:"bottom-start",allowedPlacements:["bottom-start","right-start","bottom-end","right-end","left-start","left-end","top-start","top-end"],maxWidthCssVariable:this.maxWidth},{x:s,y:c}=await Ni(this.openingElement,this.popoverWrapper,i);this.popoverWrapper.style.left=`${s}px`,this.popoverWrapper.style.top=`${c}px`}this.popoverWrapper.classList.add("positioned")}this.hideUnusedSlots(),(e=this.closingButton)===null||e===void 0||e.focus(),window.FluidTopicsA11yHints.isKeyboardNavigation&&((r=this.closingButton)===null||r===void 0||r.showTooltip())}};X.styles=a4;X.elementDefinitions={"ftds-typography":ve,"ftds-button":Z};le([S()],X.prototype,"closeButtonLabel",void 0);le([S()],X.prototype,"openButtonIcon",void 0);le([S()],X.prototype,"openButtonIconVariant",void 0);le([S()],X.prototype,"openButtonLabel",void 0);le([S()],X.prototype,"openButtonTooltipPosition",void 0);le([S({type:Boolean})],X.prototype,"opened",void 0);le([S({type:Boolean})],X.prototype,"hidden",void 0);le([S({type:ke})],X.prototype,"openButtonFamily",void 0);le([J()],X.prototype,"isTriggerSlotAssigned",void 0);le([S()],X.prototype,"heading",void 0);le([S()],X.prototype,"margins",void 0);le([Y('[part="wrapper"]')],X.prototype,"popoverWrapper",void 0);le([Y('slot[name="trigger"]')],X.prototype,"triggerSlot",void 0);le([Y('[part="opening-button"]')],X.prototype,"openingButton",void 0);le([Y('[part="closing-button"]')],X.prototype,"closingButton",void 0);le([Y('[part="content"]')],X.prototype,"popoverContentDiv",void 0);le([Y('[part="popover-content-slot"]')],X.prototype,"popoverContentSlot",void 0);le([Y('[part="popover-link"]')],X.prototype,"slottedLinkContent",void 0);le([Y('[part="popover-link-typography"]')],X.prototype,"popoverLinkTypography",void 0);le([Y('[part="popover-sections"]')],X.prototype,"popoverSectionsDiv",void 0);le([Y('[part="popover-sections-slot"]')],X.prototype,"popoverSectionsSlot",void 0);var i4=z`
|
|
2247
|
+
`}hideUnusedSlots(){var e,r,o;(e=this.popoverLinkTypography)===null||e===void 0||e.classList.toggle("hidden",this.hasEmptySlot(this.slottedLinkContent)),(r=this.popoverContentDiv)===null||r===void 0||r.classList.toggle("hidden",this.hasEmptySlot(this.popoverContentSlot)),(o=this.popoverSectionsDiv)===null||o===void 0||o.classList.toggle("hidden",this.hasEmptySlot(this.popoverSectionsSlot))}hasEmptySlot(e){return Et(e).trim().length===0}updated(e){super.updated(e),e.has("opened")&&(this.opened?setTimeout(()=>{this.positionWrapper(),document.addEventListener("keydown",this.watchEscapeKey),document.addEventListener("focusin",this.watchFocusIn)},0):(document.removeEventListener("keydown",this.watchEscapeKey),document.removeEventListener("focusin",this.watchFocusIn)))}close(){this.opened=!1,this.dispatchEvent(new CustomEvent("opened-changed",{detail:{opened:!1}}))}open(){this.opened=!0,this.dispatchEvent(new CustomEvent("opened-changed",{detail:{opened:!0}}))}closeAndFocusOpeningButton(){var e;this.close(),(e=this.openingElement)===null||e===void 0||e.focus(),window.FluidTopicsA11yHints.isKeyboardNavigation&&this.openingElement instanceof Z&&this.openingElement.showTooltip()}async positionWrapper(){var e,r;if(this.popoverWrapper){if(this.popoverWrapper.classList.remove("positioned"),this.popoverWrapper.style.left="",this.popoverWrapper.style.top="",this.openingElement){let i={placement:"bottom-start",allowedPlacements:["bottom-start","right-start","bottom-end","right-end","left-start","left-end","top-start","top-end"],maxWidthCssVariable:this.maxWidth},{x:s,y:c}=await Ni(this.openingElement,this.popoverWrapper,i);this.popoverWrapper.style.left=`${s}px`,this.popoverWrapper.style.top=`${c}px`}this.popoverWrapper.classList.add("positioned")}this.hideUnusedSlots(),(e=this.closingButton)===null||e===void 0||e.focus(),window.FluidTopicsA11yHints.isKeyboardNavigation&&((r=this.closingButton)===null||r===void 0||r.showTooltip())}};X.styles=a4;X.elementDefinitions={"ftds-typography":ve,"ftds-button":Z};le([S()],X.prototype,"closeButtonLabel",void 0);le([S({type:h})],X.prototype,"openButtonIcon",void 0);le([S({type:p})],X.prototype,"openButtonIconVariant",void 0);le([S()],X.prototype,"openButtonLabel",void 0);le([S()],X.prototype,"openButtonTooltipPosition",void 0);le([S({type:Boolean})],X.prototype,"opened",void 0);le([S({type:Boolean})],X.prototype,"hidden",void 0);le([S({type:ke})],X.prototype,"openButtonFamily",void 0);le([J()],X.prototype,"isTriggerSlotAssigned",void 0);le([S()],X.prototype,"heading",void 0);le([S()],X.prototype,"margins",void 0);le([Y('[part="wrapper"]')],X.prototype,"popoverWrapper",void 0);le([Y('slot[name="trigger"]')],X.prototype,"triggerSlot",void 0);le([Y('[part="opening-button"]')],X.prototype,"openingButton",void 0);le([Y('[part="closing-button"]')],X.prototype,"closingButton",void 0);le([Y('[part="content"]')],X.prototype,"popoverContentDiv",void 0);le([Y('[part="popover-content-slot"]')],X.prototype,"popoverContentSlot",void 0);le([Y('[part="popover-link"]')],X.prototype,"slottedLinkContent",void 0);le([Y('[part="popover-link-typography"]')],X.prototype,"popoverLinkTypography",void 0);le([Y('[part="popover-sections"]')],X.prototype,"popoverSectionsDiv",void 0);le([Y('[part="popover-sections-slot"]')],X.prototype,"popoverSectionsSlot",void 0);var i4=z`
|
|
2244
2248
|
.ftds-popover-section--heading ftds-typography {
|
|
2245
2249
|
flex-grow: 1;
|
|
2246
2250
|
flex-shrink: 1;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluid-topics/ftds-checkbox",
|
|
3
|
-
"version": "2.2.
|
|
3
|
+
"version": "2.2.9",
|
|
4
4
|
"description": "The design system checkbox component",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Lit"
|
|
@@ -20,16 +20,16 @@
|
|
|
20
20
|
},
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@fluid-topics/design-system-variables": "3.8.0",
|
|
23
|
-
"@fluid-topics/ft-ripple": "2.2.
|
|
24
|
-
"@fluid-topics/ft-wc-utils": "2.2.
|
|
25
|
-
"@fluid-topics/ftds-icon": "2.2.
|
|
26
|
-
"@fluid-topics/ftds-link": "2.2.
|
|
27
|
-
"@fluid-topics/ftds-popover": "2.2.
|
|
28
|
-
"@fluid-topics/ftds-typography": "2.2.
|
|
23
|
+
"@fluid-topics/ft-ripple": "2.2.9",
|
|
24
|
+
"@fluid-topics/ft-wc-utils": "2.2.9",
|
|
25
|
+
"@fluid-topics/ftds-icon": "2.2.9",
|
|
26
|
+
"@fluid-topics/ftds-link": "2.2.9",
|
|
27
|
+
"@fluid-topics/ftds-popover": "2.2.9",
|
|
28
|
+
"@fluid-topics/ftds-typography": "2.2.9",
|
|
29
29
|
"lit": "3.3.3"
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
32
|
-
"@fluid-topics/ft-wc-test-utils": "2.2.
|
|
32
|
+
"@fluid-topics/ft-wc-test-utils": "2.2.9"
|
|
33
33
|
},
|
|
34
|
-
"gitHead": "
|
|
34
|
+
"gitHead": "e12bf480f5ee00623f87caff8c918fccae85585c"
|
|
35
35
|
}
|