@ds-mo/ui 4.1.1 → 4.2.0
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/dist/.build-stamp +1 -1
- package/dist/agent.json +20 -7
- package/dist/angular/ds-skeleton.d.ts +1 -1
- package/dist/angular/ds-skeleton.js +3 -3
- package/dist/angular/ds-text.d.ts +1 -1
- package/dist/angular/ds-text.js +3 -3
- package/dist/components/ds-app-shell.js +1 -1
- package/dist/components/ds-badge.js +1 -1
- package/dist/components/ds-banner.js +1 -1
- package/dist/components/ds-bar-nav.js +1 -1
- package/dist/components/ds-button-filled.js +1 -1
- package/dist/components/ds-button-unfilled.js +1 -1
- package/dist/components/ds-card-data-viz-donut.js +1 -1
- package/dist/components/ds-card-setting.js +1 -1
- package/dist/components/ds-card.js +1 -1
- package/dist/components/ds-chart-bar.js +1 -1
- package/dist/components/ds-chart-donut.js +1 -1
- package/dist/components/ds-chart-legend.js +1 -1
- package/dist/components/ds-chart-line.js +1 -1
- package/dist/components/ds-checkbox.js +1 -1
- package/dist/components/ds-chip.js +1 -1
- package/dist/components/ds-empty-state.js +1 -1
- package/dist/components/ds-field.js +1 -1
- package/dist/components/ds-input.js +1 -1
- package/dist/components/ds-menu.js +1 -1
- package/dist/components/ds-modal.js +1 -1
- package/dist/components/ds-pagination.js +1 -1
- package/dist/components/ds-panel-nav.js +1 -1
- package/dist/components/ds-panel-nav.js.map +1 -1
- package/dist/components/ds-panel-tools.js +1 -1
- package/dist/components/ds-radio-group.js +1 -1
- package/dist/components/ds-select.js +1 -1
- package/dist/components/ds-shell-gradient-picker.js +1 -1
- package/dist/components/ds-shell-gradient-swatch.js +1 -1
- package/dist/components/ds-skeleton.js +1 -1
- package/dist/components/ds-skeleton.js.map +1 -1
- package/dist/components/ds-slider.js +1 -1
- package/dist/components/ds-slider.js.map +1 -1
- package/dist/components/ds-tab-group-nav.js +1 -1
- package/dist/components/ds-tab-group.js +1 -1
- package/dist/components/ds-table.js +1 -1
- package/dist/components/ds-table.js.map +1 -1
- package/dist/components/ds-tag.js +1 -1
- package/dist/components/ds-text.js +1 -1
- package/dist/components/ds-toggle.js +1 -1
- package/dist/components/ds-tooltip-data-viz.js +1 -1
- package/dist/components/ds-tooltip.js +1 -1
- package/dist/components/{p-CCRYQWKy.js → p-1UYS0fLz.js} +2 -2
- package/dist/components/p-BBpXpv4D.js +2 -0
- package/dist/components/p-BBpXpv4D.js.map +1 -0
- package/dist/components/p-BglQMVBV.js +2 -0
- package/dist/components/p-BglQMVBV.js.map +1 -0
- package/dist/components/{p-CHcS6Z4V.js → p-BkFpy8zp.js} +2 -2
- package/dist/components/{p-C1cBr-Ri.js → p-BvmooLHV.js} +2 -2
- package/dist/components/{p-B2J0Kelv.js → p-CIwWLU82.js} +2 -2
- package/dist/components/{p-B4gGwfix.js → p-CRrGwSt7.js} +2 -2
- package/dist/components/{p-BOc1hs1x.js → p-DUUi278M.js} +2 -2
- package/dist/components/{p-CfwQwstk.js → p-ZCMVoS5b.js} +2 -2
- package/dist/components/{p-ORF34W29.js → p-ZdSNIObv.js} +2 -2
- package/dist/components/{p-Cy3bKuLE.js → p-i0Nhc5A4.js} +2 -2
- package/dist/components/{p-C2gX0ggG.js → p-yC55Ye2r.js} +2 -2
- package/dist/docs/components.json +223 -35
- package/dist/types/components/PanelNav/PanelNav.d.ts +3 -1
- package/dist/types/components/PanelNav/panel-nav-utils.d.ts +10 -0
- package/dist/types/components/Skeleton/Skeleton.d.ts +13 -7
- package/dist/types/components/Text/Text.d.ts +2 -0
- package/dist/types/components.d.ts +55 -16
- package/package.json +1 -1
- package/dist/components/p-emacH2W5.js +0 -2
- package/dist/components/p-emacH2W5.js.map +0 -1
- /package/dist/components/{p-CCRYQWKy.js.map → p-1UYS0fLz.js.map} +0 -0
- /package/dist/components/{p-CHcS6Z4V.js.map → p-BkFpy8zp.js.map} +0 -0
- /package/dist/components/{p-C1cBr-Ri.js.map → p-BvmooLHV.js.map} +0 -0
- /package/dist/components/{p-B2J0Kelv.js.map → p-CIwWLU82.js.map} +0 -0
- /package/dist/components/{p-B4gGwfix.js.map → p-CRrGwSt7.js.map} +0 -0
- /package/dist/components/{p-BOc1hs1x.js.map → p-DUUi278M.js.map} +0 -0
- /package/dist/components/{p-CfwQwstk.js.map → p-ZCMVoS5b.js.map} +0 -0
- /package/dist/components/{p-ORF34W29.js.map → p-ZdSNIObv.js.map} +0 -0
- /package/dist/components/{p-Cy3bKuLE.js.map → p-i0Nhc5A4.js.map} +0 -0
- /package/dist/components/{p-C2gX0ggG.js.map → p-yC55Ye2r.js.map} +0 -0
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{p as t,H as o,c as n,h as i,a as d,t as l}from"./index.js";import{d as e}from"./p-9Qu1ls2y.js";import{d as r}from"./p-emacH2W5.js";import{C as s}from"./p-Cx-ywr1e.js";import{c as a}from"./p-DuFm-ieS.js";const c=()=>`.sc-ds-button-filled-h{--ds-focus-ring-width:var(--dimension-stroke-width-025, 2px);--ds-focus-ring-offset:var(--dimension-space-025, 2px);--ds-focus-ring-color:var(--color-interaction-focus)}.ds-focus-ring.sc-ds-button-filled:focus-visible{outline:var(--ds-focus-ring-width) solid var(--ds-focus-ring-color);outline-offset:var(--ds-focus-ring-offset)}.ds-focus-ring.ds-focus-ring--visible.sc-ds-button-filled{outline:var(--ds-focus-ring-width) solid var(--ds-focus-ring-color);outline-offset:var(--ds-focus-ring-offset)}.ds-focus-ring-inset.sc-ds-button-filled:focus-visible{outline:none}.ds-focus-ring-inset.sc-ds-button-filled:focus-visible::after{outline:var(--ds-focus-ring-width) solid var(--ds-focus-ring-color);outline-offset:calc(-1 * var(--ds-focus-ring-width))}.ds-focus-ring-inset.ds-focus-ring--visible.sc-ds-button-filled{outline:none}.ds-focus-ring-inset.ds-focus-ring--visible.sc-ds-button-filled::after{outline:var(--ds-focus-ring-width) solid var(--ds-focus-ring-color);outline-offset:calc(-1 * var(--ds-focus-ring-width))}.ds-interaction-fill.sc-ds-button-filled-h,.ds-interaction-fill.sc-ds-button-filled{position:relative;z-index:0;--ds-interaction-hover:var(--color-interaction-hover);--ds-interaction-pressed:var(--color-interaction-pressed);--ds-interaction-active:var(--color-interaction-active);--ds-interaction-border-width:0px;--ds-interaction-border-color:transparent}.ds-interaction-fill.sc-ds-button-filled-h::before,.ds-interaction-fill.sc-ds-button-filled::before,.ds-interaction-fill.sc-ds-button-filled-h::after,.ds-interaction-fill.sc-ds-button-filled::after{content:'';position:absolute;inset:0;border-radius:inherit;background:transparent;pointer-events:none;transition:none}.ds-interaction-fill.sc-ds-button-filled-h::before,.ds-interaction-fill.sc-ds-button-filled::before{z-index:1}.ds-interaction-fill.sc-ds-button-filled-h::after,.ds-interaction-fill.sc-ds-button-filled::after{z-index:3;box-shadow:inset 0 0 0 var(--ds-interaction-border-width) var(--ds-interaction-border-color)}.ds-interaction-fill--bordered.sc-ds-button-filled-h,.ds-interaction-fill--bordered.sc-ds-button-filled{--ds-interaction-border-width:var(--dimension-stroke-width-012);--ds-interaction-border-color:var(--color-border-secondary)}.ds-interaction-fill--selected.sc-ds-button-filled-h::before,.ds-interaction-fill--selected.sc-ds-button-filled::before{background:var(--ds-interaction-active)}.ds-interaction-fill--selected.sc-ds-button-filled-h,.ds-interaction-fill--selected.sc-ds-button-filled{--ds-interaction-dot-ring:var(--ds-interaction-active)}.ds-interaction-fill.sc-ds-button-filled-h:hover:not(:disabled)::after,.ds-interaction-fill.sc-ds-button-filled:hover:not(:disabled)::after{background:var(--ds-interaction-hover)}.ds-interaction-fill.sc-ds-button-filled-h:active:not(:disabled)::after,.ds-interaction-fill.sc-ds-button-filled:active:not(:disabled)::after{background:var(--ds-interaction-pressed)}.ds-interaction-fill.sc-ds-button-filled-h>.ds-interaction-fill__content.sc-ds-button-filled,.ds-interaction-fill.sc-ds-button-filled>.ds-interaction-fill__content.sc-ds-button-filled,.ds-interaction-fill__content.sc-ds-button-filled{position:relative;z-index:2}.ds-interaction-fill--on-medium.sc-ds-button-filled-h,.ds-interaction-fill--on-medium.sc-ds-button-filled{--ds-interaction-hover:var(--color-interaction-on-medium-background-hover);--ds-interaction-pressed:var(--color-interaction-on-medium-background-pressed);--ds-interaction-active:var(--color-interaction-on-medium-background-active);--ds-focus-ring-color:var(--color-interaction-on-medium-background-focus)}.ds-interaction-fill--on-bold.sc-ds-button-filled-h,.ds-interaction-fill--on-bold.sc-ds-button-filled{--ds-interaction-hover:var(--color-interaction-on-bold-background-hover);--ds-interaction-pressed:var(--color-interaction-on-bold-background-pressed);--ds-interaction-active:var(--color-interaction-on-bold-background-active);--ds-focus-ring-color:var(--color-interaction-on-bold-background-focus)}.ds-interaction-fill--on-strong.sc-ds-button-filled-h,.ds-interaction-fill--on-strong.sc-ds-button-filled{--ds-interaction-hover:var(--color-interaction-on-strong-background-hover);--ds-interaction-pressed:var(--color-interaction-on-strong-background-pressed);--ds-interaction-active:var(--color-interaction-on-strong-background-active);--ds-focus-ring-color:var(--color-interaction-on-strong-background-focus)}.ds-interaction-fill--on-always-dark.sc-ds-button-filled-h,.ds-interaction-fill--on-always-dark.sc-ds-button-filled{--ds-interaction-hover:var(--color-always-dark-interaction-hover);--ds-interaction-pressed:var(--color-always-dark-interaction-pressed);--ds-interaction-active:var(--color-always-dark-interaction-active);--ds-focus-ring-color:var(--color-always-dark-interaction-focus)}.ds-interaction-fill--on-navigation.sc-ds-button-filled-h,.ds-interaction-fill--on-navigation.sc-ds-button-filled{--ds-interaction-hover:var(--color-navigation-interaction-hover);--ds-interaction-pressed:var(--color-navigation-interaction-pressed);--ds-interaction-active:var(--color-navigation-interaction-active);--ds-focus-ring-color:var(--color-navigation-interaction-focus)}.ds-control-inactive.sc-ds-button-filled-h,.ds-control-inactive.sc-ds-button-filled{opacity:0.25;pointer-events:none;cursor:not-allowed}.ds-control--md.sc-ds-button-filled-h,.ds-control--md.sc-ds-button-filled{--ds-control-height:var(--dimension-size-400);--ds-control-icon:var(--dimension-iconography-md);--ds-control-padding-inline:var(--dimension-space-075);--ds-control-label-inset:var(--dimension-space-025);--ds-control-gap:var(--dimension-space-050);--ds-control-radius:var(--dimension-radius-025)}.ds-control--sm.sc-ds-button-filled-h,.ds-control--sm.sc-ds-button-filled{--ds-control-height:var(--dimension-size-300);--ds-control-icon:var(--dimension-iconography-sm);--ds-control-padding-inline:var(--dimension-space-050);--ds-control-label-inset:var(--dimension-space-025);--ds-control-gap:var(--dimension-space-025);--ds-control-radius:var(--dimension-radius-025)}.ds-control--xs.sc-ds-button-filled-h,.ds-control--xs.sc-ds-button-filled{--ds-control-height:var(--dimension-size-200);--ds-control-icon:var(--dimension-iconography-xs);--ds-control-padding-inline:var(--dimension-space-025);--ds-control-label-inset:var(--dimension-space-025);--ds-control-gap:0;--ds-control-radius:var(--dimension-radius-025)}.ds-control-width--hug.sc-ds-button-filled-h,.ds-control-width--hug.sc-ds-button-filled{width:fit-content;max-width:100%;flex:0 0 auto;align-self:flex-start}.ds-control-width--fill.sc-ds-button-filled-h,.ds-control-width--fill.sc-ds-button-filled{width:100%;min-width:0;flex:1 1 auto;align-self:stretch}.sc-ds-button-filled-h{display:inline-flex;outline:none;--ds-button-filled-bg:var(--color-background-bold-brand);--ds-button-filled-fg:var(--color-foreground-faint-brand)}.button-filled-host--icon.ds-control-width--hug.sc-ds-button-filled-h{width:var(--ds-control-height, var(--dimension-size-400));height:var(--ds-control-height, var(--dimension-size-400));min-width:var(--ds-control-height, var(--dimension-size-400));min-height:var(--ds-control-height, var(--dimension-size-400))}.button-filled-host--icon.ds-control-width--fill.sc-ds-button-filled-h{height:var(--ds-control-height, var(--dimension-size-400));min-height:var(--ds-control-height, var(--dimension-size-400))}.ds-control-width--fill.sc-ds-button-filled-h .button-filled.sc-ds-button-filled{width:100%}.button-filled.sc-ds-button-filled{display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;height:var(--ds-control-height, var(--dimension-size-400));padding:0 var(--ds-control-padding-inline, var(--dimension-space-075));gap:var(--ds-control-gap, var(--dimension-space-050));border:none;border-radius:var(--ds-control-radius, var(--dimension-radius-025));background-color:var(--ds-button-filled-bg);color:var(--ds-button-filled-fg);cursor:pointer;-webkit-user-select:none;user-select:none;overflow:hidden;transition:background-color var(--effect-motion-short-2), color var(--effect-motion-short-2), transform var(--effect-motion-short-2)}.button-filled--icon.sc-ds-button-filled{width:100%;height:100%;padding:0}.button-filled.sc-ds-button-filled:active:not(:disabled):not(.ds-control-inactive){transform:scale(var(--dimension-scale-subtle))}.button-filled__icon-wrap.sc-ds-button-filled{position:relative;width:var(--ds-control-icon, var(--dimension-iconography-md));height:var(--ds-control-icon, var(--dimension-iconography-md));display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;z-index:2}.button-filled__label.sc-ds-button-filled{position:relative;z-index:2;padding:0 var(--ds-control-label-inset, var(--dimension-space-025));white-space:nowrap;flex-shrink:0;min-width:0}.button-filled--intent-neutral.sc-ds-button-filled{--ds-button-filled-bg:var(--color-background-bold-neutral);--ds-button-filled-fg:var(--color-foreground-faint-neutral)}.button-filled--intent-brand.sc-ds-button-filled{--ds-button-filled-bg:var(--color-background-bold-brand);--ds-button-filled-fg:var(--color-foreground-faint-brand)}.button-filled--intent-ai.sc-ds-button-filled{--ds-button-filled-bg:var(--color-background-bold-ai);--ds-button-filled-fg:var(--color-foreground-faint-ai)}.button-filled--intent-negative.sc-ds-button-filled{--ds-button-filled-bg:var(--color-background-bold-negative);--ds-button-filled-fg:var(--color-foreground-faint-negative)}.button-filled--intent-warning.sc-ds-button-filled{--ds-button-filled-bg:var(--color-background-bold-warning);--ds-button-filled-fg:var(--color-foreground-faint-warning)}.button-filled--intent-caution.sc-ds-button-filled{--ds-button-filled-bg:var(--color-background-bold-caution);--ds-button-filled-fg:var(--color-foreground-faint-caution)}.button-filled--intent-positive.sc-ds-button-filled{--ds-button-filled-bg:var(--color-background-bold-positive);--ds-button-filled-fg:var(--color-foreground-faint-positive)}.button-filled--intent-guide.sc-ds-button-filled{--ds-button-filled-bg:var(--color-background-bold-guide);--ds-button-filled-fg:var(--color-foreground-faint-guide)}.button-filled--intent-walkthrough.sc-ds-button-filled{--ds-button-filled-bg:var(--color-background-bold-walkthrough);--ds-button-filled-fg:var(--color-foreground-faint-walkthrough)}.button-filled--contrast-strong.button-filled--intent-neutral.sc-ds-button-filled{--ds-button-filled-bg:var(--color-background-strong-neutral);--ds-button-filled-fg:var(--color-foreground-medium-neutral)}.button-filled--contrast-strong.button-filled--intent-brand.sc-ds-button-filled{--ds-button-filled-bg:var(--color-background-strong-brand);--ds-button-filled-fg:var(--color-foreground-medium-brand)}.button-filled--contrast-strong.button-filled--intent-ai.sc-ds-button-filled{--ds-button-filled-bg:var(--color-background-strong-ai);--ds-button-filled-fg:var(--color-foreground-medium-ai)}.button-filled--contrast-strong.button-filled--intent-negative.sc-ds-button-filled{--ds-button-filled-bg:var(--color-background-strong-negative);--ds-button-filled-fg:var(--color-foreground-medium-negative)}.button-filled--contrast-strong.button-filled--intent-warning.sc-ds-button-filled{--ds-button-filled-bg:var(--color-background-strong-warning);--ds-button-filled-fg:var(--color-foreground-medium-warning)}.button-filled--contrast-strong.button-filled--intent-caution.sc-ds-button-filled{--ds-button-filled-bg:var(--color-background-strong-caution);--ds-button-filled-fg:var(--color-foreground-medium-caution)}.button-filled--contrast-strong.button-filled--intent-positive.sc-ds-button-filled{--ds-button-filled-bg:var(--color-background-strong-positive);--ds-button-filled-fg:var(--color-foreground-medium-positive)}.button-filled--contrast-strong.button-filled--intent-guide.sc-ds-button-filled{--ds-button-filled-bg:var(--color-background-strong-guide);--ds-button-filled-fg:var(--color-foreground-medium-guide)}.button-filled--contrast-strong.button-filled--intent-walkthrough.sc-ds-button-filled{--ds-button-filled-bg:var(--color-background-strong-walkthrough);--ds-button-filled-fg:var(--color-foreground-medium-walkthrough)}.button-filled--contrast-medium.button-filled--intent-neutral.sc-ds-button-filled{--ds-button-filled-bg:var(--color-background-medium-neutral);--ds-button-filled-fg:var(--color-foreground-strong-neutral)}.button-filled--contrast-medium.button-filled--intent-brand.sc-ds-button-filled{--ds-button-filled-bg:var(--color-background-medium-brand);--ds-button-filled-fg:var(--color-foreground-strong-brand)}.button-filled--contrast-medium.button-filled--intent-ai.sc-ds-button-filled{--ds-button-filled-bg:var(--color-background-medium-ai);--ds-button-filled-fg:var(--color-foreground-strong-ai)}.button-filled--contrast-medium.button-filled--intent-negative.sc-ds-button-filled{--ds-button-filled-bg:var(--color-background-medium-negative);--ds-button-filled-fg:var(--color-foreground-strong-negative)}.button-filled--contrast-medium.button-filled--intent-warning.sc-ds-button-filled{--ds-button-filled-bg:var(--color-background-medium-warning);--ds-button-filled-fg:var(--color-foreground-strong-warning)}.button-filled--contrast-medium.button-filled--intent-caution.sc-ds-button-filled{--ds-button-filled-bg:var(--color-background-medium-caution);--ds-button-filled-fg:var(--color-foreground-strong-caution)}.button-filled--contrast-medium.button-filled--intent-positive.sc-ds-button-filled{--ds-button-filled-bg:var(--color-background-medium-positive);--ds-button-filled-fg:var(--color-foreground-strong-positive)}.button-filled--contrast-medium.button-filled--intent-guide.sc-ds-button-filled{--ds-button-filled-bg:var(--color-background-medium-guide);--ds-button-filled-fg:var(--color-foreground-strong-guide)}.button-filled--contrast-medium.button-filled--intent-walkthrough.sc-ds-button-filled{--ds-button-filled-bg:var(--color-background-medium-walkthrough);--ds-button-filled-fg:var(--color-foreground-strong-walkthrough)}.button-filled--contrast-faint.button-filled--intent-neutral.sc-ds-button-filled{--ds-button-filled-bg:var(--color-background-faint-neutral);--ds-button-filled-fg:var(--color-foreground-bold-neutral)}.button-filled--contrast-faint.button-filled--intent-brand.sc-ds-button-filled{--ds-button-filled-bg:var(--color-background-faint-brand);--ds-button-filled-fg:var(--color-foreground-bold-brand)}.button-filled--contrast-faint.button-filled--intent-ai.sc-ds-button-filled{--ds-button-filled-bg:var(--color-background-faint-ai);--ds-button-filled-fg:var(--color-foreground-bold-ai)}.button-filled--contrast-faint.button-filled--intent-negative.sc-ds-button-filled{--ds-button-filled-bg:var(--color-background-faint-negative);--ds-button-filled-fg:var(--color-foreground-bold-negative)}.button-filled--contrast-faint.button-filled--intent-warning.sc-ds-button-filled{--ds-button-filled-bg:var(--color-background-faint-warning);--ds-button-filled-fg:var(--color-foreground-bold-warning)}.button-filled--contrast-faint.button-filled--intent-caution.sc-ds-button-filled{--ds-button-filled-bg:var(--color-background-faint-caution);--ds-button-filled-fg:var(--color-foreground-bold-caution)}.button-filled--contrast-faint.button-filled--intent-positive.sc-ds-button-filled{--ds-button-filled-bg:var(--color-background-faint-positive);--ds-button-filled-fg:var(--color-foreground-bold-positive)}.button-filled--contrast-faint.button-filled--intent-guide.sc-ds-button-filled{--ds-button-filled-bg:var(--color-background-faint-guide);--ds-button-filled-fg:var(--color-foreground-bold-guide)}.button-filled--contrast-faint.button-filled--intent-walkthrough.sc-ds-button-filled{--ds-button-filled-bg:var(--color-background-faint-walkthrough);--ds-button-filled-fg:var(--color-foreground-bold-walkthrough)}`;const u={md:"md",sm:"sm",xs:"xs"};const f=t(class t extends o{constructor(t){super();if(t!==false){this.__registerHost()}this.dsClick=n(this,"dsClick");this.variant="label";this.size="md";this.width="hug";this.label="";this.icon="";this.intent="brand";this.contrast="bold";this.isInactive=false;this.type="button";this.ariaLabel=null;this.buttonEl=null;this.handleClick=t=>{if(this.isInactive)return;this.dsClick.emit(t)}}async setFocus(){this.buttonEl?.focus()}get showIcon(){return this.variant==="icon"||this.variant==="icon-label"}get showLabel(){return this.variant==="label"||this.variant==="icon-label"}get accessibleName(){if(this.ariaLabel)return this.ariaLabel;if(this.showLabel&&this.label)return undefined;if(this.variant==="icon")return this.icon||"action";return this.label||"action"}render(){const t=s[this.size];const o=u[this.size];const n={"button-filled":true,"ds-focus-ring-inset":true,"ds-interaction-fill":!this.isInactive,"ds-interaction-fill--on-bold":this.contrast==="bold","ds-interaction-fill--on-strong":this.contrast==="strong","ds-interaction-fill--on-medium":this.contrast==="medium","ds-control-inactive":this.isInactive,"ds-control--md":this.size==="md","ds-control--sm":this.size==="sm","ds-control--xs":this.size==="xs","button-filled--icon":this.variant==="icon","button-filled--label":this.variant==="label","button-filled--icon-label":this.variant==="icon-label",[`button-filled--intent-${this.intent}`]:true,[`button-filled--contrast-${this.contrast}`]:this.contrast!=="bold"};return i(d,{key:"618114abfee2b998f3426ab282928a1727ac1a67",class:{"button-filled-host":true,"button-filled-host--icon":this.variant==="icon","ds-control--md":this.size==="md","ds-control--sm":this.size==="sm","ds-control--xs":this.size==="xs",...a(this.width)},tabIndex:-1},i("button",{key:"a67a6a0b907879b53e5c6ba14bee49a5abbba8cc",ref:t=>{this.buttonEl=t??null},type:this.type,class:n,disabled:this.isInactive,"aria-label":this.accessibleName,onClick:this.handleClick},this.showIcon&&i("span",{key:"74682d9d33b26c0d2bf8946db979b30e05ce873b",class:"button-filled__icon-wrap ds-interaction-fill__content"},i("ds-icon",{key:"633eb6022d1efd850a3ea814c219fcf1cac2d640",name:this.icon,size:o,color:"inherit"})),this.showLabel&&i("ds-text",{key:"0d7c6b95a244aec87d5f52da3ee3251aa19242a5",class:"button-filled__label ds-interaction-fill__content",as:"span",variant:t,emphasis:true,color:"inherit"},this.label)))}get el(){return this}static get style(){return c()}},[2,"ds-button-filled",{variant:[1],size:[1],width:[1],label:[1],icon:[1],intent:[1],contrast:[1],isInactive:[4,"is-inactive"],type:[1],ariaLabel:[1,"aria-label"],setFocus:[64]}]);function b(){if(typeof customElements==="undefined"){return}const t=["ds-button-filled","ds-icon","ds-text"];t.forEach((t=>{switch(t){case"ds-button-filled":if(!customElements.get(l(t))){customElements.define(l(t),f)}break;case"ds-icon":if(!customElements.get(l(t))){e()}break;case"ds-text":if(!customElements.get(l(t))){r()}break}}))}b();export{f as B,b as d};
|
|
2
|
-
//# sourceMappingURL=p-
|
|
1
|
+
import{p as t,H as o,c as n,h as i,a as d,t as l}from"./index.js";import{d as e}from"./p-9Qu1ls2y.js";import{d as r}from"./p-BBpXpv4D.js";import{C as s}from"./p-Cx-ywr1e.js";import{c as a}from"./p-DuFm-ieS.js";const c=()=>`.sc-ds-button-filled-h{--ds-focus-ring-width:var(--dimension-stroke-width-025, 2px);--ds-focus-ring-offset:var(--dimension-space-025, 2px);--ds-focus-ring-color:var(--color-interaction-focus)}.ds-focus-ring.sc-ds-button-filled:focus-visible{outline:var(--ds-focus-ring-width) solid var(--ds-focus-ring-color);outline-offset:var(--ds-focus-ring-offset)}.ds-focus-ring.ds-focus-ring--visible.sc-ds-button-filled{outline:var(--ds-focus-ring-width) solid var(--ds-focus-ring-color);outline-offset:var(--ds-focus-ring-offset)}.ds-focus-ring-inset.sc-ds-button-filled:focus-visible{outline:none}.ds-focus-ring-inset.sc-ds-button-filled:focus-visible::after{outline:var(--ds-focus-ring-width) solid var(--ds-focus-ring-color);outline-offset:calc(-1 * var(--ds-focus-ring-width))}.ds-focus-ring-inset.ds-focus-ring--visible.sc-ds-button-filled{outline:none}.ds-focus-ring-inset.ds-focus-ring--visible.sc-ds-button-filled::after{outline:var(--ds-focus-ring-width) solid var(--ds-focus-ring-color);outline-offset:calc(-1 * var(--ds-focus-ring-width))}.ds-interaction-fill.sc-ds-button-filled-h,.ds-interaction-fill.sc-ds-button-filled{position:relative;z-index:0;--ds-interaction-hover:var(--color-interaction-hover);--ds-interaction-pressed:var(--color-interaction-pressed);--ds-interaction-active:var(--color-interaction-active);--ds-interaction-border-width:0px;--ds-interaction-border-color:transparent}.ds-interaction-fill.sc-ds-button-filled-h::before,.ds-interaction-fill.sc-ds-button-filled::before,.ds-interaction-fill.sc-ds-button-filled-h::after,.ds-interaction-fill.sc-ds-button-filled::after{content:'';position:absolute;inset:0;border-radius:inherit;background:transparent;pointer-events:none;transition:none}.ds-interaction-fill.sc-ds-button-filled-h::before,.ds-interaction-fill.sc-ds-button-filled::before{z-index:1}.ds-interaction-fill.sc-ds-button-filled-h::after,.ds-interaction-fill.sc-ds-button-filled::after{z-index:3;box-shadow:inset 0 0 0 var(--ds-interaction-border-width) var(--ds-interaction-border-color)}.ds-interaction-fill--bordered.sc-ds-button-filled-h,.ds-interaction-fill--bordered.sc-ds-button-filled{--ds-interaction-border-width:var(--dimension-stroke-width-012);--ds-interaction-border-color:var(--color-border-secondary)}.ds-interaction-fill--selected.sc-ds-button-filled-h::before,.ds-interaction-fill--selected.sc-ds-button-filled::before{background:var(--ds-interaction-active)}.ds-interaction-fill--selected.sc-ds-button-filled-h,.ds-interaction-fill--selected.sc-ds-button-filled{--ds-interaction-dot-ring:var(--ds-interaction-active)}.ds-interaction-fill.sc-ds-button-filled-h:hover:not(:disabled)::after,.ds-interaction-fill.sc-ds-button-filled:hover:not(:disabled)::after{background:var(--ds-interaction-hover)}.ds-interaction-fill.sc-ds-button-filled-h:active:not(:disabled)::after,.ds-interaction-fill.sc-ds-button-filled:active:not(:disabled)::after{background:var(--ds-interaction-pressed)}.ds-interaction-fill.sc-ds-button-filled-h>.ds-interaction-fill__content.sc-ds-button-filled,.ds-interaction-fill.sc-ds-button-filled>.ds-interaction-fill__content.sc-ds-button-filled,.ds-interaction-fill__content.sc-ds-button-filled{position:relative;z-index:2}.ds-interaction-fill--on-medium.sc-ds-button-filled-h,.ds-interaction-fill--on-medium.sc-ds-button-filled{--ds-interaction-hover:var(--color-interaction-on-medium-background-hover);--ds-interaction-pressed:var(--color-interaction-on-medium-background-pressed);--ds-interaction-active:var(--color-interaction-on-medium-background-active);--ds-focus-ring-color:var(--color-interaction-on-medium-background-focus)}.ds-interaction-fill--on-bold.sc-ds-button-filled-h,.ds-interaction-fill--on-bold.sc-ds-button-filled{--ds-interaction-hover:var(--color-interaction-on-bold-background-hover);--ds-interaction-pressed:var(--color-interaction-on-bold-background-pressed);--ds-interaction-active:var(--color-interaction-on-bold-background-active);--ds-focus-ring-color:var(--color-interaction-on-bold-background-focus)}.ds-interaction-fill--on-strong.sc-ds-button-filled-h,.ds-interaction-fill--on-strong.sc-ds-button-filled{--ds-interaction-hover:var(--color-interaction-on-strong-background-hover);--ds-interaction-pressed:var(--color-interaction-on-strong-background-pressed);--ds-interaction-active:var(--color-interaction-on-strong-background-active);--ds-focus-ring-color:var(--color-interaction-on-strong-background-focus)}.ds-interaction-fill--on-always-dark.sc-ds-button-filled-h,.ds-interaction-fill--on-always-dark.sc-ds-button-filled{--ds-interaction-hover:var(--color-always-dark-interaction-hover);--ds-interaction-pressed:var(--color-always-dark-interaction-pressed);--ds-interaction-active:var(--color-always-dark-interaction-active);--ds-focus-ring-color:var(--color-always-dark-interaction-focus)}.ds-interaction-fill--on-navigation.sc-ds-button-filled-h,.ds-interaction-fill--on-navigation.sc-ds-button-filled{--ds-interaction-hover:var(--color-navigation-interaction-hover);--ds-interaction-pressed:var(--color-navigation-interaction-pressed);--ds-interaction-active:var(--color-navigation-interaction-active);--ds-focus-ring-color:var(--color-navigation-interaction-focus)}.ds-control-inactive.sc-ds-button-filled-h,.ds-control-inactive.sc-ds-button-filled{opacity:0.25;pointer-events:none;cursor:not-allowed}.ds-control--md.sc-ds-button-filled-h,.ds-control--md.sc-ds-button-filled{--ds-control-height:var(--dimension-size-400);--ds-control-icon:var(--dimension-iconography-md);--ds-control-padding-inline:var(--dimension-space-075);--ds-control-label-inset:var(--dimension-space-025);--ds-control-gap:var(--dimension-space-050);--ds-control-radius:var(--dimension-radius-025)}.ds-control--sm.sc-ds-button-filled-h,.ds-control--sm.sc-ds-button-filled{--ds-control-height:var(--dimension-size-300);--ds-control-icon:var(--dimension-iconography-sm);--ds-control-padding-inline:var(--dimension-space-050);--ds-control-label-inset:var(--dimension-space-025);--ds-control-gap:var(--dimension-space-025);--ds-control-radius:var(--dimension-radius-025)}.ds-control--xs.sc-ds-button-filled-h,.ds-control--xs.sc-ds-button-filled{--ds-control-height:var(--dimension-size-200);--ds-control-icon:var(--dimension-iconography-xs);--ds-control-padding-inline:var(--dimension-space-025);--ds-control-label-inset:var(--dimension-space-025);--ds-control-gap:0;--ds-control-radius:var(--dimension-radius-025)}.ds-control-width--hug.sc-ds-button-filled-h,.ds-control-width--hug.sc-ds-button-filled{width:fit-content;max-width:100%;flex:0 0 auto;align-self:flex-start}.ds-control-width--fill.sc-ds-button-filled-h,.ds-control-width--fill.sc-ds-button-filled{width:100%;min-width:0;flex:1 1 auto;align-self:stretch}.sc-ds-button-filled-h{display:inline-flex;outline:none;--ds-button-filled-bg:var(--color-background-bold-brand);--ds-button-filled-fg:var(--color-foreground-faint-brand)}.button-filled-host--icon.ds-control-width--hug.sc-ds-button-filled-h{width:var(--ds-control-height, var(--dimension-size-400));height:var(--ds-control-height, var(--dimension-size-400));min-width:var(--ds-control-height, var(--dimension-size-400));min-height:var(--ds-control-height, var(--dimension-size-400))}.button-filled-host--icon.ds-control-width--fill.sc-ds-button-filled-h{height:var(--ds-control-height, var(--dimension-size-400));min-height:var(--ds-control-height, var(--dimension-size-400))}.ds-control-width--fill.sc-ds-button-filled-h .button-filled.sc-ds-button-filled{width:100%}.button-filled.sc-ds-button-filled{display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;height:var(--ds-control-height, var(--dimension-size-400));padding:0 var(--ds-control-padding-inline, var(--dimension-space-075));gap:var(--ds-control-gap, var(--dimension-space-050));border:none;border-radius:var(--ds-control-radius, var(--dimension-radius-025));background-color:var(--ds-button-filled-bg);color:var(--ds-button-filled-fg);cursor:pointer;-webkit-user-select:none;user-select:none;overflow:hidden;transition:background-color var(--effect-motion-short-2), color var(--effect-motion-short-2), transform var(--effect-motion-short-2)}.button-filled--icon.sc-ds-button-filled{width:100%;height:100%;padding:0}.button-filled.sc-ds-button-filled:active:not(:disabled):not(.ds-control-inactive){transform:scale(var(--dimension-scale-subtle))}.button-filled__icon-wrap.sc-ds-button-filled{position:relative;width:var(--ds-control-icon, var(--dimension-iconography-md));height:var(--ds-control-icon, var(--dimension-iconography-md));display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;z-index:2}.button-filled__label.sc-ds-button-filled{position:relative;z-index:2;padding:0 var(--ds-control-label-inset, var(--dimension-space-025));white-space:nowrap;flex-shrink:0;min-width:0}.button-filled--intent-neutral.sc-ds-button-filled{--ds-button-filled-bg:var(--color-background-bold-neutral);--ds-button-filled-fg:var(--color-foreground-faint-neutral)}.button-filled--intent-brand.sc-ds-button-filled{--ds-button-filled-bg:var(--color-background-bold-brand);--ds-button-filled-fg:var(--color-foreground-faint-brand)}.button-filled--intent-ai.sc-ds-button-filled{--ds-button-filled-bg:var(--color-background-bold-ai);--ds-button-filled-fg:var(--color-foreground-faint-ai)}.button-filled--intent-negative.sc-ds-button-filled{--ds-button-filled-bg:var(--color-background-bold-negative);--ds-button-filled-fg:var(--color-foreground-faint-negative)}.button-filled--intent-warning.sc-ds-button-filled{--ds-button-filled-bg:var(--color-background-bold-warning);--ds-button-filled-fg:var(--color-foreground-faint-warning)}.button-filled--intent-caution.sc-ds-button-filled{--ds-button-filled-bg:var(--color-background-bold-caution);--ds-button-filled-fg:var(--color-foreground-faint-caution)}.button-filled--intent-positive.sc-ds-button-filled{--ds-button-filled-bg:var(--color-background-bold-positive);--ds-button-filled-fg:var(--color-foreground-faint-positive)}.button-filled--intent-guide.sc-ds-button-filled{--ds-button-filled-bg:var(--color-background-bold-guide);--ds-button-filled-fg:var(--color-foreground-faint-guide)}.button-filled--intent-walkthrough.sc-ds-button-filled{--ds-button-filled-bg:var(--color-background-bold-walkthrough);--ds-button-filled-fg:var(--color-foreground-faint-walkthrough)}.button-filled--contrast-strong.button-filled--intent-neutral.sc-ds-button-filled{--ds-button-filled-bg:var(--color-background-strong-neutral);--ds-button-filled-fg:var(--color-foreground-medium-neutral)}.button-filled--contrast-strong.button-filled--intent-brand.sc-ds-button-filled{--ds-button-filled-bg:var(--color-background-strong-brand);--ds-button-filled-fg:var(--color-foreground-medium-brand)}.button-filled--contrast-strong.button-filled--intent-ai.sc-ds-button-filled{--ds-button-filled-bg:var(--color-background-strong-ai);--ds-button-filled-fg:var(--color-foreground-medium-ai)}.button-filled--contrast-strong.button-filled--intent-negative.sc-ds-button-filled{--ds-button-filled-bg:var(--color-background-strong-negative);--ds-button-filled-fg:var(--color-foreground-medium-negative)}.button-filled--contrast-strong.button-filled--intent-warning.sc-ds-button-filled{--ds-button-filled-bg:var(--color-background-strong-warning);--ds-button-filled-fg:var(--color-foreground-medium-warning)}.button-filled--contrast-strong.button-filled--intent-caution.sc-ds-button-filled{--ds-button-filled-bg:var(--color-background-strong-caution);--ds-button-filled-fg:var(--color-foreground-medium-caution)}.button-filled--contrast-strong.button-filled--intent-positive.sc-ds-button-filled{--ds-button-filled-bg:var(--color-background-strong-positive);--ds-button-filled-fg:var(--color-foreground-medium-positive)}.button-filled--contrast-strong.button-filled--intent-guide.sc-ds-button-filled{--ds-button-filled-bg:var(--color-background-strong-guide);--ds-button-filled-fg:var(--color-foreground-medium-guide)}.button-filled--contrast-strong.button-filled--intent-walkthrough.sc-ds-button-filled{--ds-button-filled-bg:var(--color-background-strong-walkthrough);--ds-button-filled-fg:var(--color-foreground-medium-walkthrough)}.button-filled--contrast-medium.button-filled--intent-neutral.sc-ds-button-filled{--ds-button-filled-bg:var(--color-background-medium-neutral);--ds-button-filled-fg:var(--color-foreground-strong-neutral)}.button-filled--contrast-medium.button-filled--intent-brand.sc-ds-button-filled{--ds-button-filled-bg:var(--color-background-medium-brand);--ds-button-filled-fg:var(--color-foreground-strong-brand)}.button-filled--contrast-medium.button-filled--intent-ai.sc-ds-button-filled{--ds-button-filled-bg:var(--color-background-medium-ai);--ds-button-filled-fg:var(--color-foreground-strong-ai)}.button-filled--contrast-medium.button-filled--intent-negative.sc-ds-button-filled{--ds-button-filled-bg:var(--color-background-medium-negative);--ds-button-filled-fg:var(--color-foreground-strong-negative)}.button-filled--contrast-medium.button-filled--intent-warning.sc-ds-button-filled{--ds-button-filled-bg:var(--color-background-medium-warning);--ds-button-filled-fg:var(--color-foreground-strong-warning)}.button-filled--contrast-medium.button-filled--intent-caution.sc-ds-button-filled{--ds-button-filled-bg:var(--color-background-medium-caution);--ds-button-filled-fg:var(--color-foreground-strong-caution)}.button-filled--contrast-medium.button-filled--intent-positive.sc-ds-button-filled{--ds-button-filled-bg:var(--color-background-medium-positive);--ds-button-filled-fg:var(--color-foreground-strong-positive)}.button-filled--contrast-medium.button-filled--intent-guide.sc-ds-button-filled{--ds-button-filled-bg:var(--color-background-medium-guide);--ds-button-filled-fg:var(--color-foreground-strong-guide)}.button-filled--contrast-medium.button-filled--intent-walkthrough.sc-ds-button-filled{--ds-button-filled-bg:var(--color-background-medium-walkthrough);--ds-button-filled-fg:var(--color-foreground-strong-walkthrough)}.button-filled--contrast-faint.button-filled--intent-neutral.sc-ds-button-filled{--ds-button-filled-bg:var(--color-background-faint-neutral);--ds-button-filled-fg:var(--color-foreground-bold-neutral)}.button-filled--contrast-faint.button-filled--intent-brand.sc-ds-button-filled{--ds-button-filled-bg:var(--color-background-faint-brand);--ds-button-filled-fg:var(--color-foreground-bold-brand)}.button-filled--contrast-faint.button-filled--intent-ai.sc-ds-button-filled{--ds-button-filled-bg:var(--color-background-faint-ai);--ds-button-filled-fg:var(--color-foreground-bold-ai)}.button-filled--contrast-faint.button-filled--intent-negative.sc-ds-button-filled{--ds-button-filled-bg:var(--color-background-faint-negative);--ds-button-filled-fg:var(--color-foreground-bold-negative)}.button-filled--contrast-faint.button-filled--intent-warning.sc-ds-button-filled{--ds-button-filled-bg:var(--color-background-faint-warning);--ds-button-filled-fg:var(--color-foreground-bold-warning)}.button-filled--contrast-faint.button-filled--intent-caution.sc-ds-button-filled{--ds-button-filled-bg:var(--color-background-faint-caution);--ds-button-filled-fg:var(--color-foreground-bold-caution)}.button-filled--contrast-faint.button-filled--intent-positive.sc-ds-button-filled{--ds-button-filled-bg:var(--color-background-faint-positive);--ds-button-filled-fg:var(--color-foreground-bold-positive)}.button-filled--contrast-faint.button-filled--intent-guide.sc-ds-button-filled{--ds-button-filled-bg:var(--color-background-faint-guide);--ds-button-filled-fg:var(--color-foreground-bold-guide)}.button-filled--contrast-faint.button-filled--intent-walkthrough.sc-ds-button-filled{--ds-button-filled-bg:var(--color-background-faint-walkthrough);--ds-button-filled-fg:var(--color-foreground-bold-walkthrough)}`;const u={md:"md",sm:"sm",xs:"xs"};const f=t(class t extends o{constructor(t){super();if(t!==false){this.__registerHost()}this.dsClick=n(this,"dsClick");this.variant="label";this.size="md";this.width="hug";this.label="";this.icon="";this.intent="brand";this.contrast="bold";this.isInactive=false;this.type="button";this.ariaLabel=null;this.buttonEl=null;this.handleClick=t=>{if(this.isInactive)return;this.dsClick.emit(t)}}async setFocus(){this.buttonEl?.focus()}get showIcon(){return this.variant==="icon"||this.variant==="icon-label"}get showLabel(){return this.variant==="label"||this.variant==="icon-label"}get accessibleName(){if(this.ariaLabel)return this.ariaLabel;if(this.showLabel&&this.label)return undefined;if(this.variant==="icon")return this.icon||"action";return this.label||"action"}render(){const t=s[this.size];const o=u[this.size];const n={"button-filled":true,"ds-focus-ring-inset":true,"ds-interaction-fill":!this.isInactive,"ds-interaction-fill--on-bold":this.contrast==="bold","ds-interaction-fill--on-strong":this.contrast==="strong","ds-interaction-fill--on-medium":this.contrast==="medium","ds-control-inactive":this.isInactive,"ds-control--md":this.size==="md","ds-control--sm":this.size==="sm","ds-control--xs":this.size==="xs","button-filled--icon":this.variant==="icon","button-filled--label":this.variant==="label","button-filled--icon-label":this.variant==="icon-label",[`button-filled--intent-${this.intent}`]:true,[`button-filled--contrast-${this.contrast}`]:this.contrast!=="bold"};return i(d,{key:"618114abfee2b998f3426ab282928a1727ac1a67",class:{"button-filled-host":true,"button-filled-host--icon":this.variant==="icon","ds-control--md":this.size==="md","ds-control--sm":this.size==="sm","ds-control--xs":this.size==="xs",...a(this.width)},tabIndex:-1},i("button",{key:"a67a6a0b907879b53e5c6ba14bee49a5abbba8cc",ref:t=>{this.buttonEl=t??null},type:this.type,class:n,disabled:this.isInactive,"aria-label":this.accessibleName,onClick:this.handleClick},this.showIcon&&i("span",{key:"74682d9d33b26c0d2bf8946db979b30e05ce873b",class:"button-filled__icon-wrap ds-interaction-fill__content"},i("ds-icon",{key:"633eb6022d1efd850a3ea814c219fcf1cac2d640",name:this.icon,size:o,color:"inherit"})),this.showLabel&&i("ds-text",{key:"0d7c6b95a244aec87d5f52da3ee3251aa19242a5",class:"button-filled__label ds-interaction-fill__content",as:"span",variant:t,emphasis:true,color:"inherit"},this.label)))}get el(){return this}static get style(){return c()}},[2,"ds-button-filled",{variant:[1],size:[1],width:[1],label:[1],icon:[1],intent:[1],contrast:[1],isInactive:[4,"is-inactive"],type:[1],ariaLabel:[1,"aria-label"],setFocus:[64]}]);function b(){if(typeof customElements==="undefined"){return}const t=["ds-button-filled","ds-icon","ds-text"];t.forEach((t=>{switch(t){case"ds-button-filled":if(!customElements.get(l(t))){customElements.define(l(t),f)}break;case"ds-icon":if(!customElements.get(l(t))){e()}break;case"ds-text":if(!customElements.get(l(t))){r()}break}}))}b();export{f as B,b as d};
|
|
2
|
+
//# sourceMappingURL=p-yC55Ye2r.js.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"timestamp": "2026-07-
|
|
2
|
+
"timestamp": "2026-07-13T03:21:08",
|
|
3
3
|
"compiler": {
|
|
4
4
|
"name": "@stencil/core",
|
|
5
5
|
"version": "4.43.5",
|
|
@@ -9357,27 +9357,43 @@
|
|
|
9357
9357
|
"usage": {},
|
|
9358
9358
|
"props": [
|
|
9359
9359
|
{
|
|
9360
|
-
"name": "
|
|
9361
|
-
"type": "
|
|
9360
|
+
"name": "controlSize",
|
|
9361
|
+
"type": "\"md\" | \"sm\" | \"xs\"",
|
|
9362
9362
|
"complexType": {
|
|
9363
|
-
"original": "
|
|
9364
|
-
"resolved": "
|
|
9365
|
-
"references": {
|
|
9363
|
+
"original": "ControlSize",
|
|
9364
|
+
"resolved": "\"md\" | \"sm\" | \"xs\"",
|
|
9365
|
+
"references": {
|
|
9366
|
+
"ControlSize": {
|
|
9367
|
+
"location": "import",
|
|
9368
|
+
"path": "../../utils/control-text",
|
|
9369
|
+
"id": "src/wc/utils/control-text.ts::ControlSize",
|
|
9370
|
+
"referenceLocation": "ControlSize"
|
|
9371
|
+
}
|
|
9372
|
+
}
|
|
9366
9373
|
},
|
|
9367
9374
|
"mutable": false,
|
|
9368
|
-
"attr": "
|
|
9375
|
+
"attr": "control-size",
|
|
9369
9376
|
"reflectToAttr": false,
|
|
9370
|
-
"docs": "
|
|
9371
|
-
"docsTags": [
|
|
9377
|
+
"docs": "Shared control-density size whose height defines the control canvas.",
|
|
9378
|
+
"docsTags": [
|
|
9379
|
+
{
|
|
9380
|
+
"name": "default",
|
|
9381
|
+
"text": "'md'"
|
|
9382
|
+
}
|
|
9383
|
+
],
|
|
9384
|
+
"default": "'md'",
|
|
9372
9385
|
"values": [
|
|
9373
9386
|
{
|
|
9374
|
-
"
|
|
9387
|
+
"value": "md",
|
|
9388
|
+
"type": "string"
|
|
9375
9389
|
},
|
|
9376
9390
|
{
|
|
9391
|
+
"value": "sm",
|
|
9377
9392
|
"type": "string"
|
|
9378
9393
|
},
|
|
9379
9394
|
{
|
|
9380
|
-
"
|
|
9395
|
+
"value": "xs",
|
|
9396
|
+
"type": "string"
|
|
9381
9397
|
}
|
|
9382
9398
|
],
|
|
9383
9399
|
"optional": false,
|
|
@@ -9386,27 +9402,88 @@
|
|
|
9386
9402
|
"setter": false
|
|
9387
9403
|
},
|
|
9388
9404
|
{
|
|
9389
|
-
"name": "
|
|
9390
|
-
"type": "
|
|
9405
|
+
"name": "iconSize",
|
|
9406
|
+
"type": "\"2xl\" | \"3xl\" | \"lg\" | \"md\" | \"sm\" | \"xl\" | \"xs\"",
|
|
9391
9407
|
"complexType": {
|
|
9392
|
-
"original": "
|
|
9393
|
-
"resolved": "
|
|
9408
|
+
"original": "IconSize",
|
|
9409
|
+
"resolved": "\"2xl\" | \"3xl\" | \"lg\" | \"md\" | \"sm\" | \"xl\" | \"xs\"",
|
|
9410
|
+
"references": {
|
|
9411
|
+
"IconSize": {
|
|
9412
|
+
"location": "import",
|
|
9413
|
+
"path": "../Icon/Icon",
|
|
9414
|
+
"id": "src/wc/components/Icon/Icon.tsx::IconSize",
|
|
9415
|
+
"referenceLocation": "IconSize"
|
|
9416
|
+
}
|
|
9417
|
+
}
|
|
9418
|
+
},
|
|
9419
|
+
"mutable": false,
|
|
9420
|
+
"attr": "icon-size",
|
|
9421
|
+
"reflectToAttr": false,
|
|
9422
|
+
"docs": "Iconography token whose square canvas defines the icon canvas.",
|
|
9423
|
+
"docsTags": [
|
|
9424
|
+
{
|
|
9425
|
+
"name": "default",
|
|
9426
|
+
"text": "'md'"
|
|
9427
|
+
}
|
|
9428
|
+
],
|
|
9429
|
+
"default": "'md'",
|
|
9430
|
+
"values": [
|
|
9431
|
+
{
|
|
9432
|
+
"value": "2xl",
|
|
9433
|
+
"type": "string"
|
|
9434
|
+
},
|
|
9435
|
+
{
|
|
9436
|
+
"value": "3xl",
|
|
9437
|
+
"type": "string"
|
|
9438
|
+
},
|
|
9439
|
+
{
|
|
9440
|
+
"value": "lg",
|
|
9441
|
+
"type": "string"
|
|
9442
|
+
},
|
|
9443
|
+
{
|
|
9444
|
+
"value": "md",
|
|
9445
|
+
"type": "string"
|
|
9446
|
+
},
|
|
9447
|
+
{
|
|
9448
|
+
"value": "sm",
|
|
9449
|
+
"type": "string"
|
|
9450
|
+
},
|
|
9451
|
+
{
|
|
9452
|
+
"value": "xl",
|
|
9453
|
+
"type": "string"
|
|
9454
|
+
},
|
|
9455
|
+
{
|
|
9456
|
+
"value": "xs",
|
|
9457
|
+
"type": "string"
|
|
9458
|
+
}
|
|
9459
|
+
],
|
|
9460
|
+
"optional": false,
|
|
9461
|
+
"required": false,
|
|
9462
|
+
"getter": false,
|
|
9463
|
+
"setter": false
|
|
9464
|
+
},
|
|
9465
|
+
{
|
|
9466
|
+
"name": "rounded",
|
|
9467
|
+
"type": "boolean",
|
|
9468
|
+
"complexType": {
|
|
9469
|
+
"original": "boolean",
|
|
9470
|
+
"resolved": "boolean",
|
|
9394
9471
|
"references": {}
|
|
9395
9472
|
},
|
|
9396
9473
|
"mutable": false,
|
|
9397
|
-
"attr": "
|
|
9474
|
+
"attr": "rounded",
|
|
9398
9475
|
"reflectToAttr": false,
|
|
9399
|
-
"docs": "
|
|
9476
|
+
"docs": "Round icon skeletons into circles and control skeletons into pills. Ignored for text.",
|
|
9400
9477
|
"docsTags": [
|
|
9401
9478
|
{
|
|
9402
9479
|
"name": "default",
|
|
9403
|
-
"text": "
|
|
9480
|
+
"text": "false"
|
|
9404
9481
|
}
|
|
9405
9482
|
],
|
|
9406
|
-
"default": "
|
|
9483
|
+
"default": "false",
|
|
9407
9484
|
"values": [
|
|
9408
9485
|
{
|
|
9409
|
-
"type": "
|
|
9486
|
+
"type": "boolean"
|
|
9410
9487
|
}
|
|
9411
9488
|
],
|
|
9412
9489
|
"optional": false,
|
|
@@ -9443,12 +9520,81 @@
|
|
|
9443
9520
|
"getter": false,
|
|
9444
9521
|
"setter": false
|
|
9445
9522
|
},
|
|
9523
|
+
{
|
|
9524
|
+
"name": "textVariant",
|
|
9525
|
+
"type": "\"text-body-large\" | \"text-body-medium\" | \"text-body-small\" | \"text-caption\" | \"text-display-medium\" | \"text-display-small\" | \"text-title-large\" | \"text-title-medium\" | \"text-title-small\"",
|
|
9526
|
+
"complexType": {
|
|
9527
|
+
"original": "TextVariant",
|
|
9528
|
+
"resolved": "\"text-body-large\" | \"text-body-medium\" | \"text-body-small\" | \"text-caption\" | \"text-display-medium\" | \"text-display-small\" | \"text-title-large\" | \"text-title-medium\" | \"text-title-small\"",
|
|
9529
|
+
"references": {
|
|
9530
|
+
"TextVariant": {
|
|
9531
|
+
"location": "import",
|
|
9532
|
+
"path": "../Text/text-types",
|
|
9533
|
+
"id": "src/wc/components/Text/text-types.ts::TextVariant",
|
|
9534
|
+
"referenceLocation": "TextVariant"
|
|
9535
|
+
}
|
|
9536
|
+
}
|
|
9537
|
+
},
|
|
9538
|
+
"mutable": false,
|
|
9539
|
+
"attr": "text-variant",
|
|
9540
|
+
"reflectToAttr": false,
|
|
9541
|
+
"docs": "Text metric recipe whose line-height defines the text canvas.",
|
|
9542
|
+
"docsTags": [
|
|
9543
|
+
{
|
|
9544
|
+
"name": "default",
|
|
9545
|
+
"text": "'text-body-medium'"
|
|
9546
|
+
}
|
|
9547
|
+
],
|
|
9548
|
+
"default": "'text-body-medium'",
|
|
9549
|
+
"values": [
|
|
9550
|
+
{
|
|
9551
|
+
"value": "text-body-large",
|
|
9552
|
+
"type": "string"
|
|
9553
|
+
},
|
|
9554
|
+
{
|
|
9555
|
+
"value": "text-body-medium",
|
|
9556
|
+
"type": "string"
|
|
9557
|
+
},
|
|
9558
|
+
{
|
|
9559
|
+
"value": "text-body-small",
|
|
9560
|
+
"type": "string"
|
|
9561
|
+
},
|
|
9562
|
+
{
|
|
9563
|
+
"value": "text-caption",
|
|
9564
|
+
"type": "string"
|
|
9565
|
+
},
|
|
9566
|
+
{
|
|
9567
|
+
"value": "text-display-medium",
|
|
9568
|
+
"type": "string"
|
|
9569
|
+
},
|
|
9570
|
+
{
|
|
9571
|
+
"value": "text-display-small",
|
|
9572
|
+
"type": "string"
|
|
9573
|
+
},
|
|
9574
|
+
{
|
|
9575
|
+
"value": "text-title-large",
|
|
9576
|
+
"type": "string"
|
|
9577
|
+
},
|
|
9578
|
+
{
|
|
9579
|
+
"value": "text-title-medium",
|
|
9580
|
+
"type": "string"
|
|
9581
|
+
},
|
|
9582
|
+
{
|
|
9583
|
+
"value": "text-title-small",
|
|
9584
|
+
"type": "string"
|
|
9585
|
+
}
|
|
9586
|
+
],
|
|
9587
|
+
"optional": false,
|
|
9588
|
+
"required": false,
|
|
9589
|
+
"getter": false,
|
|
9590
|
+
"setter": false
|
|
9591
|
+
},
|
|
9446
9592
|
{
|
|
9447
9593
|
"name": "variant",
|
|
9448
|
-
"type": "\"
|
|
9594
|
+
"type": "\"control\" | \"icon\" | \"text\"",
|
|
9449
9595
|
"complexType": {
|
|
9450
9596
|
"original": "SkeletonVariant",
|
|
9451
|
-
"resolved": "\"
|
|
9597
|
+
"resolved": "\"control\" | \"icon\" | \"text\"",
|
|
9452
9598
|
"references": {
|
|
9453
9599
|
"SkeletonVariant": {
|
|
9454
9600
|
"location": "local",
|
|
@@ -9470,11 +9616,11 @@
|
|
|
9470
9616
|
"default": "'text'",
|
|
9471
9617
|
"values": [
|
|
9472
9618
|
{
|
|
9473
|
-
"value": "
|
|
9619
|
+
"value": "control",
|
|
9474
9620
|
"type": "string"
|
|
9475
9621
|
},
|
|
9476
9622
|
{
|
|
9477
|
-
"value": "
|
|
9623
|
+
"value": "icon",
|
|
9478
9624
|
"type": "string"
|
|
9479
9625
|
},
|
|
9480
9626
|
{
|
|
@@ -9498,7 +9644,7 @@
|
|
|
9498
9644
|
"mutable": false,
|
|
9499
9645
|
"attr": "width",
|
|
9500
9646
|
"reflectToAttr": false,
|
|
9501
|
-
"docs": "Width
|
|
9647
|
+
"docs": "Width of text and control skeleton canvases. Numbers resolve to px. Ignored for icons.",
|
|
9502
9648
|
"docsTags": [],
|
|
9503
9649
|
"values": [
|
|
9504
9650
|
{
|
|
@@ -9524,9 +9670,15 @@
|
|
|
9524
9670
|
"slots": [],
|
|
9525
9671
|
"parts": [],
|
|
9526
9672
|
"states": [],
|
|
9527
|
-
"dependents": [
|
|
9673
|
+
"dependents": [
|
|
9674
|
+
"ds-table"
|
|
9675
|
+
],
|
|
9528
9676
|
"dependencies": [],
|
|
9529
|
-
"dependencyGraph": {
|
|
9677
|
+
"dependencyGraph": {
|
|
9678
|
+
"ds-table": [
|
|
9679
|
+
"ds-skeleton"
|
|
9680
|
+
]
|
|
9681
|
+
}
|
|
9530
9682
|
},
|
|
9531
9683
|
{
|
|
9532
9684
|
"filePath": "src/wc/components/Slider/Slider.tsx",
|
|
@@ -10905,11 +11057,13 @@
|
|
|
10905
11057
|
"states": [],
|
|
10906
11058
|
"dependents": [],
|
|
10907
11059
|
"dependencies": [
|
|
10908
|
-
"ds-text"
|
|
11060
|
+
"ds-text",
|
|
11061
|
+
"ds-skeleton"
|
|
10909
11062
|
],
|
|
10910
11063
|
"dependencyGraph": {
|
|
10911
11064
|
"ds-table": [
|
|
10912
|
-
"ds-text"
|
|
11065
|
+
"ds-text",
|
|
11066
|
+
"ds-skeleton"
|
|
10913
11067
|
]
|
|
10914
11068
|
}
|
|
10915
11069
|
},
|
|
@@ -11600,6 +11754,35 @@
|
|
|
11600
11754
|
"getter": false,
|
|
11601
11755
|
"setter": false
|
|
11602
11756
|
},
|
|
11757
|
+
{
|
|
11758
|
+
"name": "shimmer",
|
|
11759
|
+
"type": "boolean",
|
|
11760
|
+
"complexType": {
|
|
11761
|
+
"original": "boolean",
|
|
11762
|
+
"resolved": "boolean",
|
|
11763
|
+
"references": {}
|
|
11764
|
+
},
|
|
11765
|
+
"mutable": false,
|
|
11766
|
+
"attr": "shimmer",
|
|
11767
|
+
"reflectToAttr": false,
|
|
11768
|
+
"docs": "Animate the visible glyphs with the shared loading shimmer treatment.",
|
|
11769
|
+
"docsTags": [
|
|
11770
|
+
{
|
|
11771
|
+
"name": "default",
|
|
11772
|
+
"text": "false"
|
|
11773
|
+
}
|
|
11774
|
+
],
|
|
11775
|
+
"default": "false",
|
|
11776
|
+
"values": [
|
|
11777
|
+
{
|
|
11778
|
+
"type": "boolean"
|
|
11779
|
+
}
|
|
11780
|
+
],
|
|
11781
|
+
"optional": false,
|
|
11782
|
+
"required": false,
|
|
11783
|
+
"getter": false,
|
|
11784
|
+
"setter": false
|
|
11785
|
+
},
|
|
11603
11786
|
{
|
|
11604
11787
|
"name": "textId",
|
|
11605
11788
|
"type": "string | undefined",
|
|
@@ -12819,10 +13002,20 @@
|
|
|
12819
13002
|
"path": "src/wc/components/Select/Select.tsx"
|
|
12820
13003
|
},
|
|
12821
13004
|
"src/wc/components/Skeleton/Skeleton.tsx::SkeletonVariant": {
|
|
12822
|
-
"declaration": "export type SkeletonVariant = 'text' | '
|
|
13005
|
+
"declaration": "export type SkeletonVariant = 'text' | 'icon' | 'control';",
|
|
12823
13006
|
"docstring": "",
|
|
12824
13007
|
"path": "src/wc/components/Skeleton/Skeleton.tsx"
|
|
12825
13008
|
},
|
|
13009
|
+
"src/wc/components/Text/text-types.ts::TextVariant": {
|
|
13010
|
+
"declaration": "export type TextVariant =\n | 'text-display-medium'\n | 'text-display-small'\n | 'text-title-large'\n | 'text-title-medium'\n | 'text-title-small'\n | 'text-body-large'\n | 'text-body-medium'\n | 'text-body-small'\n | 'text-caption';",
|
|
13011
|
+
"docstring": "",
|
|
13012
|
+
"path": "src/wc/components/Text/text-types.ts"
|
|
13013
|
+
},
|
|
13014
|
+
"src/wc/utils/control-text.ts::ControlSize": {
|
|
13015
|
+
"declaration": "export type ControlSize = 'md' | 'sm' | 'xs';",
|
|
13016
|
+
"docstring": "",
|
|
13017
|
+
"path": "src/wc/utils/control-text.ts"
|
|
13018
|
+
},
|
|
12826
13019
|
"src/wc/components/TabGroup/tab-item-utils.ts::TabItem": {
|
|
12827
13020
|
"declaration": "export type TabItem = TabItemTab | TabItemDivider;",
|
|
12828
13021
|
"docstring": "",
|
|
@@ -12863,11 +13056,6 @@
|
|
|
12863
13056
|
"docstring": "",
|
|
12864
13057
|
"path": "src/wc/components/Tag/Tag.tsx"
|
|
12865
13058
|
},
|
|
12866
|
-
"src/wc/components/Text/text-types.ts::TextVariant": {
|
|
12867
|
-
"declaration": "export type TextVariant =\n | 'text-display-medium'\n | 'text-display-small'\n | 'text-title-large'\n | 'text-title-medium'\n | 'text-title-small'\n | 'text-body-large'\n | 'text-body-medium'\n | 'text-body-small'\n | 'text-caption';",
|
|
12868
|
-
"docstring": "",
|
|
12869
|
-
"path": "src/wc/components/Text/text-types.ts"
|
|
12870
|
-
},
|
|
12871
13059
|
"src/wc/components/Text/text-types.ts::TextColor": {
|
|
12872
13060
|
"declaration": "export type TextColor = TextColorToken | `var(--${string})`;",
|
|
12873
13061
|
"docstring": "",
|
|
@@ -57,7 +57,8 @@ export declare class PanelNav {
|
|
|
57
57
|
private rovingIndex;
|
|
58
58
|
private viewportNarrow;
|
|
59
59
|
private urlDerivedActiveId;
|
|
60
|
-
private
|
|
60
|
+
private transitionCompletionHandler?;
|
|
61
|
+
private transitionFallbackTimer;
|
|
61
62
|
private resizeObserver?;
|
|
62
63
|
private isDragging;
|
|
63
64
|
private dragStartX;
|
|
@@ -84,6 +85,7 @@ export declare class PanelNav {
|
|
|
84
85
|
disconnectedCallback(): void;
|
|
85
86
|
private startCollapseAnimation;
|
|
86
87
|
private finishCollapseAnimation;
|
|
88
|
+
private clearCollapseAnimationCompletion;
|
|
87
89
|
private connectResizeObserver;
|
|
88
90
|
private disconnectResizeObserver;
|
|
89
91
|
/** Derive active ID from the current URL by matching item `href` values.
|
|
@@ -10,6 +10,16 @@ export declare function deriveActiveIdFromUrl(path: string, items: PanelNavItem[
|
|
|
10
10
|
export declare function countPanelNavItems(groups: PanelNavGroup[]): number;
|
|
11
11
|
/** Resolve a user toggle without mutating the persisted desktop preference while breakpoint-locked. */
|
|
12
12
|
export declare function resolvePanelNavToggle(collapsed: boolean, viewportNarrow: boolean): boolean | null;
|
|
13
|
+
export interface PanelNavTransitionStyle {
|
|
14
|
+
transitionProperty: string;
|
|
15
|
+
transitionDuration: string;
|
|
16
|
+
transitionDelay: string;
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* Maximum computed time for PanelNav's width transition. CSS repeats shorter
|
|
20
|
+
* duration/delay lists to match the property list, so mirror that behavior.
|
|
21
|
+
*/
|
|
22
|
+
export declare function panelNavWidthTransitionMs(style: PanelNavTransitionStyle): number;
|
|
13
23
|
/** Parse `groups` from either a JSON attribute string or a JS property array. */
|
|
14
24
|
export declare function parsePanelNavGroups(groups: string | unknown): PanelNavGroup[];
|
|
15
25
|
/** Resolve whether VT is disabled from prop and/or host attribute. */
|
|
@@ -1,16 +1,22 @@
|
|
|
1
|
-
|
|
1
|
+
import type { IconSize } from '../Icon/Icon';
|
|
2
|
+
import type { TextVariant } from '../Text/text-types';
|
|
3
|
+
import type { ControlSize } from '../../utils/control-text';
|
|
4
|
+
export type SkeletonVariant = 'text' | 'icon' | 'control';
|
|
2
5
|
export declare class Skeleton {
|
|
3
6
|
variant: SkeletonVariant;
|
|
4
|
-
/**
|
|
7
|
+
/** Text metric recipe whose line-height defines the text canvas. */
|
|
8
|
+
textVariant: TextVariant;
|
|
9
|
+
/** Iconography token whose square canvas defines the icon canvas. */
|
|
10
|
+
iconSize: IconSize;
|
|
11
|
+
/** Shared control-density size whose height defines the control canvas. */
|
|
12
|
+
controlSize: ControlSize;
|
|
13
|
+
/** Width of text and control skeleton canvases. Numbers resolve to px. Ignored for icons. */
|
|
5
14
|
width: string | number | undefined;
|
|
6
|
-
/**
|
|
7
|
-
|
|
8
|
-
/** Number of text lines. Only used when variant is 'text'. */
|
|
9
|
-
lines: number;
|
|
15
|
+
/** Round icon skeletons into circles and control skeletons into pills. Ignored for text. */
|
|
16
|
+
rounded: boolean;
|
|
10
17
|
/** Whether to show the shimmer animation. */
|
|
11
18
|
shimmer: boolean;
|
|
12
19
|
private get widthCss();
|
|
13
|
-
private get heightCss();
|
|
14
20
|
render(): any;
|
|
15
21
|
}
|
|
16
22
|
//# sourceMappingURL=Skeleton.d.ts.map
|
|
@@ -11,6 +11,8 @@ export declare class Text {
|
|
|
11
11
|
color: TextColor | undefined;
|
|
12
12
|
decoration: TextDecoration | undefined;
|
|
13
13
|
italic: boolean;
|
|
14
|
+
/** Animate the visible glyphs with the shared loading shimmer treatment. */
|
|
15
|
+
shimmer: boolean;
|
|
14
16
|
align: TextAlign | undefined;
|
|
15
17
|
lineTruncation: LineTruncation;
|
|
16
18
|
wrap: TextWrap | undefined;
|