@viasat/beam-web-components 2.73.0 → 2.74.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/Accordion/Accordion.js +3 -3
- package/Accordion/AccordionGroup.js +3 -3
- package/Accordion/index.js +1 -1
- package/Alert/Alert.js +5 -5
- package/Avatar/Avatar.js +2 -2
- package/Avatar/AvatarGroup.js +2 -2
- package/Avatar/index.js +1 -1
- package/Badge/Badge.js +2 -2
- package/BadgeDot/BadgeDot.js +2 -2
- package/Box/Box.js +2 -2
- package/Breadcrumbs/Breadcrumbs.js +3 -3
- package/Breadcrumbs/BreadcrumbsItem.js +3 -3
- package/Breadcrumbs/index.js +1 -1
- package/Button/Button.js +2 -2
- package/CloseButton/CloseButton.js +2 -2
- package/Divider/Divider.js +2 -2
- package/EmptyState/EmptyState.js +2 -2
- package/HelperText/HelperText.js +3 -3
- package/HelperText/index.js +1 -1
- package/Icon/Icon.js +2 -2
- package/InputChoiceGroup/InputChoiceGroup.js +2 -2
- package/Label/Label.js +2 -2
- package/Link/Link.js +2 -2
- package/List/List.js +2 -2
- package/List/ListItem.js +2 -2
- package/ProgressBar/ProgressBar.js +2 -2
- package/SegmentedControl/SegmentedControl.js +2 -2
- package/SegmentedControl/SegmentedControlItem.js +10 -10
- package/SegmentedControl/SegmentedControlList.js +2 -2
- package/SegmentedControl/SegmentedControlPanel.js +2 -2
- package/Spinner/Spinner.js +2 -2
- package/Text/Text.js +2 -2
- package/TextArea/TextArea.js +5 -5
- package/TextField/TextField.js +6 -6
- package/Tooltip/Tooltip.js +9 -9
- package/chunks/{Accordion.fbo-T2zU.js → Accordion.BF2pHMSP.js} +4 -4
- package/chunks/{Avatar.DkegKDfD.js → Avatar.kVWwOxWe.js} +2 -2
- package/chunks/{BreadcrumbsItem.kovG2GHz.js → BreadcrumbsItem.BmqxxC44.js} +2 -2
- package/chunks/{HelperText.Cc_6DlKP.js → HelperText.3YJvB8x0.js} +5 -5
- package/chunks/{register-custom-element.D_kw6JXe.js → classNames.BQclmCHG.js} +29 -34
- package/chunks/register-custom-element.DHGKOhmA.js +17 -0
- package/custom-elements.json +3492 -3492
- package/local/Accordion/Accordion.js +4 -4
- package/local/Accordion/AccordionGroup.js +4 -4
- package/local/Accordion/index.js +1 -1
- package/local/Alert/Alert.js +11 -11
- package/local/Avatar/Avatar.js +3 -3
- package/local/Avatar/AvatarGroup.js +3 -3
- package/local/Avatar/index.js +1 -1
- package/local/Badge/Badge.js +2 -2
- package/local/BadgeDot/BadgeDot.js +2 -2
- package/local/Box/Box.js +2 -2
- package/local/Breadcrumbs/Breadcrumbs.js +3 -3
- package/local/Breadcrumbs/BreadcrumbsItem.js +3 -3
- package/local/Breadcrumbs/index.js +1 -1
- package/local/Button/Button.js +3 -3
- package/local/CloseButton/CloseButton.js +2 -2
- package/local/Divider/Divider.js +7 -7
- package/local/EmptyState/EmptyState.js +2 -2
- package/local/HelperText/HelperText.js +3 -3
- package/local/HelperText/index.js +1 -1
- package/local/Icon/Icon.js +2 -2
- package/local/InputChoiceGroup/InputChoiceGroup.js +3 -3
- package/local/Label/Label.js +2 -2
- package/local/Link/Link.js +2 -2
- package/local/List/List.js +3 -3
- package/local/List/ListItem.js +3 -3
- package/local/ProgressBar/ProgressBar.js +2 -2
- package/local/SegmentedControl/SegmentedControl.js +3 -3
- package/local/SegmentedControl/SegmentedControlItem.js +7 -7
- package/local/SegmentedControl/SegmentedControlList.js +2 -2
- package/local/SegmentedControl/SegmentedControlPanel.js +2 -2
- package/local/Spinner/Spinner.js +2 -2
- package/local/Text/Text.js +2 -2
- package/local/TextArea/TextArea.js +9 -9
- package/local/TextField/TextField.js +7 -7
- package/local/Tooltip/Tooltip.js +8 -8
- package/local/chunks/{Accordion.QupR4x7N.js → Accordion.DM6Nkgnh.js} +9 -9
- package/local/chunks/{Avatar.D0_A6fGG.js → Avatar.BT61pkbV.js} +2 -2
- package/local/chunks/{BreadcrumbsItem.Ds7TtgQn.js → BreadcrumbsItem.CsPbcOZ5.js} +2 -2
- package/local/chunks/classNames.CARKFDmR.js +106 -0
- package/local/chunks/{index.BoeGm2HZ.js → index.CUGawMXL.js} +8 -8
- package/local/chunks/register-custom-element.vod7zfGv.js +51 -0
- package/local/chunks/{state.Dr3yBpId.js → state.CqiuSzAl.js} +1 -1
- package/local/wip/Checkbox/Checkbox.js +2 -2
- package/local/wip/Checkbox/CheckboxGroup/CheckboxGroup.js +1 -1
- package/local/wip/FileUpload/FileUpload.Button.js +2 -2
- package/local/wip/FileUpload/FileUpload.Dropzone.js +3 -3
- package/local/wip/FileUpload/FileUpload.List.Item.js +3 -3
- package/local/wip/FileUpload/FileUpload.List.js +2 -2
- package/local/wip/FileUpload/FileUpload.js +8 -8
- package/local/wip/Form/Form.decorator.js +3 -3
- package/local/wip/Form/Form.js +183 -161
- package/local/wip/NativeSelect/NativeSelect.js +10 -10
- package/local/wip/RadioButton/RadioButton.js +2 -2
- package/local/wip/RadioButton/RadioButtonGroup/RadioButtonGroup.js +1 -1
- package/local/wip/Switch/Switch.js +2 -2
- package/local/wip/Switch/SwitchGroup/SwitchGroup.js +1 -1
- package/package.json +6 -6
- package/vscode.html-custom-data.json +329 -329
- package/wip/Checkbox/Checkbox.js +2 -2
- package/wip/Checkbox/CheckboxGroup/CheckboxGroup.js +1 -1
- package/wip/FileUpload/FileUpload.Button.js +2 -2
- package/wip/FileUpload/FileUpload.Dropzone.js +2 -2
- package/wip/FileUpload/FileUpload.List.Item.js +3 -3
- package/wip/FileUpload/FileUpload.List.js +2 -2
- package/wip/FileUpload/FileUpload.js +12 -12
- package/wip/Form/Form.decorator.js +1 -1
- package/wip/Form/Form.js +184 -162
- package/wip/NativeSelect/NativeSelect.js +9 -9
- package/wip/RadioButton/RadioButton.js +2 -2
- package/wip/RadioButton/RadioButtonGroup/RadioButtonGroup.js +1 -1
- package/wip/Switch/Switch.js +5 -5
- package/wip/Switch/SwitchGroup/SwitchGroup.js +1 -1
- package/chunks/classNames.m6VYRyOu.js +0 -18
- package/local/chunks/classNames.Ciobzb4w.js +0 -30
- package/local/chunks/register-custom-element.AOEv8hcs.js +0 -133
package/Accordion/Accordion.js
CHANGED
|
@@ -3,9 +3,9 @@ import "lit";
|
|
|
3
3
|
import "lit/decorators.js";
|
|
4
4
|
import "lit/directives/unsafe-svg.js";
|
|
5
5
|
import "clsx";
|
|
6
|
-
import { B as e } from "../chunks/Accordion.
|
|
7
|
-
import "../chunks/classNames.
|
|
8
|
-
import "../chunks/register-custom-element.
|
|
6
|
+
import { B as e } from "../chunks/Accordion.BF2pHMSP.js";
|
|
7
|
+
import "../chunks/classNames.BQclmCHG.js";
|
|
8
|
+
import "../chunks/register-custom-element.DHGKOhmA.js";
|
|
9
9
|
import "./AccordionGroup.context.js";
|
|
10
10
|
export {
|
|
11
11
|
e as BmAccordion
|
|
@@ -2,9 +2,9 @@ import { provide as u } from "@lit/context";
|
|
|
2
2
|
import { unsafeCSS as v, css as _, LitElement as C, html as x } from "lit";
|
|
3
3
|
import { property as f, state as y } from "lit/decorators.js";
|
|
4
4
|
import E from "clsx";
|
|
5
|
-
import { g as w } from "../chunks/classNames.
|
|
6
|
-
import { a as A } from "../chunks/Accordion.
|
|
7
|
-
import { c as z } from "../chunks/register-custom-element.
|
|
5
|
+
import { g as w } from "../chunks/classNames.BQclmCHG.js";
|
|
6
|
+
import { a as A } from "../chunks/Accordion.BF2pHMSP.js";
|
|
7
|
+
import { c as z } from "../chunks/register-custom-element.DHGKOhmA.js";
|
|
8
8
|
import { AccordionGroupCtx as O } from "./AccordionGroup.context.js";
|
|
9
9
|
var S = Object.defineProperty, G = Object.getOwnPropertyDescriptor, g = (e) => {
|
|
10
10
|
throw TypeError(e);
|
package/Accordion/index.js
CHANGED
package/Alert/Alert.js
CHANGED
|
@@ -5,9 +5,9 @@ import u from "clsx";
|
|
|
5
5
|
import { W as j } from "../chunks/WarningOutlined.DPfQnPPj.js";
|
|
6
6
|
import { t as ee, b as oe } from "../chunks/constants.ZIKMMCJH.js";
|
|
7
7
|
import { c as re } from "../chunks/CSSLookup.CSKiKjPc.js";
|
|
8
|
-
import { g as ae } from "../chunks/classNames.
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
8
|
+
import { n as f, g as ae, f as te, c as ie, e as se } from "../chunks/classNames.BQclmCHG.js";
|
|
9
|
+
import { r as me } from "../chunks/delegate.baxDQosr.js";
|
|
10
|
+
import { c as ne } from "../chunks/register-custom-element.DHGKOhmA.js";
|
|
11
11
|
import "../CloseButton/CloseButton.js";
|
|
12
12
|
const le = `<svg viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
13
13
|
<path
|
|
@@ -227,7 +227,7 @@ O = /* @__PURE__ */ new WeakMap();
|
|
|
227
227
|
F = /* @__PURE__ */ new WeakMap();
|
|
228
228
|
U = /* @__PURE__ */ new WeakMap();
|
|
229
229
|
D = /* @__PURE__ */ new WeakMap();
|
|
230
|
-
|
|
230
|
+
me(t);
|
|
231
231
|
t.styles = J(pe);
|
|
232
232
|
i([
|
|
233
233
|
l()
|
|
@@ -293,7 +293,7 @@ i([
|
|
|
293
293
|
$("#close-button")
|
|
294
294
|
], t.prototype, "_closeButtonRef", 2);
|
|
295
295
|
t = i([
|
|
296
|
-
|
|
296
|
+
ne("bm-alert")
|
|
297
297
|
], t);
|
|
298
298
|
export {
|
|
299
299
|
t as BmAlert
|
package/Avatar/Avatar.js
CHANGED
|
@@ -3,8 +3,8 @@ import "lit";
|
|
|
3
3
|
import "lit/decorators.js";
|
|
4
4
|
import "lit/directives/unsafe-svg.js";
|
|
5
5
|
import "clsx";
|
|
6
|
-
import { B as s } from "../chunks/Avatar.
|
|
7
|
-
import "../chunks/register-custom-element.
|
|
6
|
+
import { B as s } from "../chunks/Avatar.kVWwOxWe.js";
|
|
7
|
+
import "../chunks/register-custom-element.DHGKOhmA.js";
|
|
8
8
|
import "../StateLayer/StateLayer.js";
|
|
9
9
|
import "./AvatarGroup.context.js";
|
|
10
10
|
export {
|
package/Avatar/AvatarGroup.js
CHANGED
|
@@ -2,11 +2,11 @@ import { provide as E } from "@lit/context";
|
|
|
2
2
|
import { unsafeCSS as q, LitElement as B, nothing as L, html as b } from "lit";
|
|
3
3
|
import { property as C } from "lit/decorators.js";
|
|
4
4
|
import D from "clsx";
|
|
5
|
-
import { a as F, c as T, b as U, g as G, d as I, e as H, f as g } from "../chunks/Avatar.
|
|
5
|
+
import { a as F, c as T, b as U, g as G, d as I, e as H, f as g } from "../chunks/Avatar.kVWwOxWe.js";
|
|
6
6
|
import "../chunks/constants.ZIKMMCJH.js";
|
|
7
7
|
import { c as V, r as R, f as J } from "../chunks/dom.CroF8n1N.js";
|
|
8
8
|
import { c as K } from "../chunks/CSSLookup.CSKiKjPc.js";
|
|
9
|
-
import { c as Q } from "../chunks/register-custom-element.
|
|
9
|
+
import { c as Q } from "../chunks/register-custom-element.DHGKOhmA.js";
|
|
10
10
|
import { AvatarGroupCtx as X } from "./AvatarGroup.context.js";
|
|
11
11
|
const Y = (t) => {
|
|
12
12
|
let e = null;
|
package/Avatar/index.js
CHANGED
package/Badge/Badge.js
CHANGED
|
@@ -4,8 +4,8 @@ import { unsafeHTML as P } from "lit/directives/unsafe-html.js";
|
|
|
4
4
|
import g from "clsx";
|
|
5
5
|
import { W as _ } from "../chunks/WarningOutlined.DPfQnPPj.js";
|
|
6
6
|
import { i as M, t as $ } from "../chunks/constants.ZIKMMCJH.js";
|
|
7
|
-
import { g as Z } from "../chunks/classNames.
|
|
8
|
-
import { c as L } from "../chunks/register-custom-element.
|
|
7
|
+
import { g as Z } from "../chunks/classNames.BQclmCHG.js";
|
|
8
|
+
import { c as L } from "../chunks/register-custom-element.DHGKOhmA.js";
|
|
9
9
|
const H = `<svg viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
10
10
|
<g clip-path="url(#clip0_501_330)">
|
|
11
11
|
<path
|
package/BadgeDot/BadgeDot.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { unsafeCSS as p, LitElement as s, nothing as g, html as l } from "lit";
|
|
2
2
|
import { property as d } from "lit/decorators.js";
|
|
3
3
|
import f from "clsx";
|
|
4
|
-
import { g as v } from "../chunks/classNames.
|
|
4
|
+
import { g as v } from "../chunks/classNames.BQclmCHG.js";
|
|
5
5
|
import { t as y } from "../chunks/constants.ZIKMMCJH.js";
|
|
6
|
-
import { c as h } from "../chunks/register-custom-element.
|
|
6
|
+
import { c as h } from "../chunks/register-custom-element.DHGKOhmA.js";
|
|
7
7
|
const x = ':root,:host,.bm-light,.bm-dark .bm-inverse,.bm-dark.bm-inverse,[data-bm-theme~=bm-dark] .bm-inverse,[data-bm-theme~=bm-dark].bm-inverse,.bm-enterprise,.bm-consumer,[data-bm-theme~=bm-light]{--bm-comp-badge-dot-color-positive-bg: var( --bm-sem-color-icon-positive, #24a148 );--bm-comp-badge-dot-color-positive-border: var( --bm-sem-color-none, #ffffff00 );--bm-comp-badge-dot-color-positive-text: var( --bm-sem-color-text-primary, #141d24 );--bm-comp-badge-dot-color-warning-bg: var( --bm-sem-color-icon-warning, #eb6200 );--bm-comp-badge-dot-color-warning-border: var(--bm-sem-color-none, #ffffff00);--bm-comp-badge-dot-color-warning-text: var( --bm-sem-color-text-primary, #141d24 );--bm-comp-badge-dot-color-negative-bg: var( --bm-sem-color-icon-negative, #ed464c );--bm-comp-badge-dot-color-negative-border: var( --bm-sem-color-none, #ffffff00 );--bm-comp-badge-dot-color-negative-text: var( --bm-sem-color-text-primary, #141d24 );--bm-comp-badge-dot-color-info-primary-bg: var( --bm-sem-color-icon-info-primary, #0095e0 );--bm-comp-badge-dot-color-info-primary-border: var( --bm-sem-color-none, #ffffff00 );--bm-comp-badge-dot-color-info-primary-text: var( --bm-sem-color-text-primary, #141d24 );--bm-comp-badge-dot-color-info-secondary-bg: var( --bm-sem-color-icon-info-secondary, #576775 );--bm-comp-badge-dot-color-info-secondary-border: var( --bm-sem-color-none, #ffffff00 );--bm-comp-badge-dot-color-info-secondary-text: var( --bm-sem-color-text-primary, #141d24 );--bm-comp-badge-dot-space-gap: var(--bm-sem-space-50, .5rem);--bm-comp-badge-dot-size: .625rem;--bm-comp-badge-dot-radius: var(--bm-sem-radius-round, 624.938rem);--bm-comp-badge-dot-border-width: var(--bm-sem-border-width-md, .063rem);--bm-comp-badge-dot-typo-subtle: var( --bm-sem-typo-compact-body-md, 400 1rem/1.25rem "Source Sans Pro" );--bm-comp-badge-dot-typo-strong: var( --bm-sem-typo-compact-label-md, 600 1rem/1.25rem "Source Sans Pro" )}:host,.bm-dark,.bm-light .bm-inverse,.bm-light.bm-inverse,[data-bm-theme~=bm-light] .bm-inverse,[data-bm-theme~=bm-light].bm-inverse,.bm-enterprise,.bm-consumer,[data-bm-theme~=bm-dark]{--bm-comp-badge-dot-color-positive-bg: var( --bm-sem-color-icon-positive, #71d963 );--bm-comp-badge-dot-color-positive-border: var( --bm-sem-color-none, #ffffff00 );--bm-comp-badge-dot-color-positive-text: var( --bm-sem-color-text-primary, #ffffff );--bm-comp-badge-dot-color-warning-bg: var( --bm-sem-color-icon-warning, #ffb17a );--bm-comp-badge-dot-color-warning-border: var(--bm-sem-color-none, #ffffff00);--bm-comp-badge-dot-color-warning-text: var( --bm-sem-color-text-primary, #ffffff );--bm-comp-badge-dot-color-negative-bg: var( --bm-sem-color-icon-negative, #ed464c );--bm-comp-badge-dot-color-negative-border: var( --bm-sem-color-none, #ffffff00 );--bm-comp-badge-dot-color-negative-text: var( --bm-sem-color-text-primary, #ffffff );--bm-comp-badge-dot-color-info-primary-bg: var( --bm-sem-color-icon-info-primary, #64cefb );--bm-comp-badge-dot-color-info-primary-border: var( --bm-sem-color-none, #ffffff00 );--bm-comp-badge-dot-color-info-primary-text: var( --bm-sem-color-text-primary, #ffffff );--bm-comp-badge-dot-color-info-secondary-bg: var( --bm-sem-color-icon-info-secondary, #9fafbc );--bm-comp-badge-dot-color-info-secondary-border: var( --bm-sem-color-none, #ffffff00 );--bm-comp-badge-dot-color-info-secondary-text: var( --bm-sem-color-text-primary, #ffffff );--bm-comp-badge-dot-space-gap: var(--bm-sem-space-50, .5rem);--bm-comp-badge-dot-size: .625rem;--bm-comp-badge-dot-radius: var(--bm-sem-radius-round, 624.938rem);--bm-comp-badge-dot-border-width: var(--bm-sem-border-width-md, .063rem);--bm-comp-badge-dot-typo-subtle: var( --bm-sem-typo-compact-body-md, 400 1rem/1.25rem "Source Sans Pro" );--bm-comp-badge-dot-typo-strong: var( --bm-sem-typo-compact-label-md, 600 1rem/1.25rem "Source Sans Pro" )}.bm-badge-dot{display:inline-flex;align-items:center;gap:var(--bm-comp-badge-dot-space-gap);font:var(--bm-comp-badge-dot-typo-strong);min-width:min-content;color:var(--bm-comp-badge-dot-color-info-primary-text)}.bm-badge-dot:before{content:" ";flex-shrink:0;min-width:var(--bm-comp-badge-dot-size);width:var(--bm-comp-badge-dot-size);height:var(--bm-comp-badge-dot-size);border-radius:var(--bm-comp-badge-dot-radius);border-width:var(--bm-comp-badge-dot-border-width);background-color:var(--bm-comp-badge-dot-color, var(--bm-comp-badge-dot-color-info-primary-bg));border-color:var(--bm-comp-badge-dot-color, var(--bm-comp-badge-dot-color-info-primary-border));border-style:solid;box-sizing:border-box}.bm-badge-dot:dir(rtl):before{flex-direction:row-reverse}.bm-badge-dot--infoPrimary{color:var(--bm-comp-badge-dot-color-info-primary-text)}.bm-badge-dot--infoPrimary:before{background-color:var(--bm-comp-badge-dot-color, var(--bm-comp-badge-dot-color-info-primary-bg));border-color:var(--bm-comp-badge-dot-color, var(--bm-comp-badge-dot-color-info-primary-border))}.bm-badge-dot--infoSecondary{color:var(--bm-comp-badge-dot-color-info-secondary-text)}.bm-badge-dot--infoSecondary:before{background-color:var(--bm-comp-badge-dot-color, var(--bm-comp-badge-dot-color-info-secondary-bg));border-color:var(--bm-comp-badge-dot-color, var(--bm-comp-badge-dot-color-info-secondary-border))}.bm-badge-dot--positive{color:var(--bm-comp-badge-dot-color-positive-text)}.bm-badge-dot--positive:before{background-color:var(--bm-comp-badge-dot-color, var(--bm-comp-badge-dot-color-positive-bg));border-color:var(--bm-comp-badge-dot-color, var(--bm-comp-badge-dot-color-positive-border))}.bm-badge-dot--warning{color:var(--bm-comp-badge-dot-color-warning-text)}.bm-badge-dot--warning:before{background-color:var(--bm-comp-badge-dot-color, var(--bm-comp-badge-dot-color-warning-bg));border-color:var(--bm-comp-badge-dot-color, var(--bm-comp-badge-dot-color-warning-border))}.bm-badge-dot--negative{color:var(--bm-comp-badge-dot-color-negative-text)}.bm-badge-dot--negative:before{background-color:var(--bm-comp-badge-dot-color, var(--bm-comp-badge-dot-color-negative-bg));border-color:var(--bm-comp-badge-dot-color, var(--bm-comp-badge-dot-color-negative-border))}.bm-badge-dot--subtle{font:var(--bm-comp-badge-dot-typo-subtle)}.bm-badge-dot--strong{font:var(--bm-comp-badge-dot-typo-strong)}';
|
|
8
8
|
var u = Object.defineProperty, w = Object.getOwnPropertyDescriptor, b = (a, e, m, t) => {
|
|
9
9
|
for (var o = t > 1 ? void 0 : t ? w(e, m) : e, c = a.length - 1, i; c >= 0; c--)
|
package/Box/Box.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { unsafeCSS as l, LitElement as c, html as p } from "lit";
|
|
2
2
|
import { property as e } from "lit/decorators.js";
|
|
3
3
|
import h from "clsx";
|
|
4
|
-
import {
|
|
4
|
+
import { b as v, g } from "../chunks/classNames.BQclmCHG.js";
|
|
5
5
|
import { g as x } from "../chunks/globals.Bz4SVF2g.js";
|
|
6
|
-
import { c as w } from "../chunks/register-custom-element.
|
|
6
|
+
import { c as w } from "../chunks/register-custom-element.DHGKOhmA.js";
|
|
7
7
|
const u = ".bm-box--border-width-none{border-width:var(--bm-sem-border-width-none);border-style:solid}.bm-box--border-width-md{border-width:var(--bm-sem-border-width-md);border-style:solid}.bm-box--border-width-lg{border-width:var(--bm-sem-border-width-lg);border-style:solid}.bm-box--border-width-xl{border-width:var(--bm-sem-border-width-xl);border-style:solid}.bm-box--border-width-divider{border-width:var(--bm-sem-border-width-md);border-style:solid;border-top-width:0;border-right-width:0;border-left-width:0}.bm-box--surface-00{background:var(--bm-sem-color-surface-00)}.bm-box--surface-00-alt{background:var(--bm-sem-color-surface-00-alt)}.bm-box--surface-01{background:var(--bm-sem-color-surface-01)}.bm-box--surface-02{background:var(--bm-sem-color-surface-02)}.bm-box--surface-03{background:var(--bm-sem-color-surface-03)}.bm-box--surface-positive{background:var(--bm-sem-color-surface-positive)}.bm-box--surface-warning{background:var(--bm-sem-color-surface-warning)}.bm-box--surface-negative{background:var(--bm-sem-color-surface-negative)}.bm-box--surface-info-primary{background:var(--bm-sem-color-surface-info-primary)}.bm-box--surface-info-secondary{background:var(--bm-sem-color-surface-info-secondary)}.bm-box--surface-positive-strong{background:var(--bm-sem-color-surface-positive-strong)}.bm-box--surface-warning-strong{background:var(--bm-sem-color-surface-warning-strong)}.bm-box--surface-negative-strong{background:var(--bm-sem-color-surface-negative-strong)}.bm-box--surface-info-primary-strong{background:var(--bm-sem-color-surface-info-primary-strong)}.bm-box--surface-info-secondary-strong{background:var(--bm-sem-color-surface-info-secondary-strong)}.bm-box--surface-selected{background:var(--bm-sem-color-surface-selected)}.bm-box--surface-selected-subtle{background:var(--bm-sem-color-surface-selected-subtle)}.bm-box--surface-highlight{background:var(--bm-sem-color-surface-highlight)}.bm-box--surface-transparent{background:var(--bm-sem-color-surface-transparent)}.bm-box--surface-inverse{background:var(--bm-sem-color-surface-inverse)}.bm-box--surface-expressive{background:var(--bm-expressive-color-bg)}.bm-box--surface-expressive-stronger{background:var(--bm-expressive-color-bg-stronger)}.bm-box--surface-expressive-inverse{background:var(--bm-expressive-color-inverse-bg)}.bm-box--border-00{border-color:var(--bm-sem-color-border-00);border-style:solid}.bm-box--border-00:not([class*=border-width-]){border-width:var(--bm-sem-border-width-md)}.bm-box--border-00-alt{border-color:var(--bm-sem-color-border-00-alt);border-style:solid}.bm-box--border-00-alt:not([class*=border-width-]){border-width:var(--bm-sem-border-width-md)}.bm-box--border-01{border-color:var(--bm-sem-color-border-01);border-style:solid}.bm-box--border-01:not([class*=border-width-]){border-width:var(--bm-sem-border-width-md)}.bm-box--border-02{border-color:var(--bm-sem-color-border-02);border-style:solid}.bm-box--border-02:not([class*=border-width-]){border-width:var(--bm-sem-border-width-md)}.bm-box--border-03{border-color:var(--bm-sem-color-border-03);border-style:solid}.bm-box--border-03:not([class*=border-width-]){border-width:var(--bm-sem-border-width-md)}.bm-box--border-strong{border-color:var(--bm-sem-color-border-strong);border-style:solid}.bm-box--border-strong:not([class*=border-width-]){border-width:var(--bm-sem-border-width-md)}.bm-box--border-positive{border-color:var(--bm-sem-color-border-positive);border-style:solid}.bm-box--border-positive:not([class*=border-width-]){border-width:var(--bm-sem-border-width-md)}.bm-box--border-warning{border-color:var(--bm-sem-color-border-warning);border-style:solid}.bm-box--border-warning:not([class*=border-width-]){border-width:var(--bm-sem-border-width-md)}.bm-box--border-negative{border-color:var(--bm-sem-color-border-negative);border-style:solid}.bm-box--border-negative:not([class*=border-width-]){border-width:var(--bm-sem-border-width-md)}.bm-box--border-info-primary{border-color:var(--bm-sem-color-border-info-primary);border-style:solid}.bm-box--border-info-primary:not([class*=border-width-]){border-width:var(--bm-sem-border-width-md)}.bm-box--border-info-secondary{border-color:var(--bm-sem-color-border-info-secondary);border-style:solid}.bm-box--border-info-secondary:not([class*=border-width-]){border-width:var(--bm-sem-border-width-md)}.bm-box--border-positive-strong{border-color:var(--bm-sem-color-border-positive-strong);border-style:solid}.bm-box--border-positive-strong:not([class*=border-width-]){border-width:var(--bm-sem-border-width-md)}.bm-box--border-warning-strong{border-color:var(--bm-sem-color-border-warning-strong);border-style:solid}.bm-box--border-warning-strong:not([class*=border-width-]){border-width:var(--bm-sem-border-width-md)}.bm-box--border-negative-strong{border-color:var(--bm-sem-color-border-negative-strong);border-style:solid}.bm-box--border-negative-strong:not([class*=border-width-]){border-width:var(--bm-sem-border-width-md)}.bm-box--border-info-primary-strong{border-color:var(--bm-sem-color-border-info-primary-strong);border-style:solid}.bm-box--border-info-primary-strong:not([class*=border-width-]){border-width:var(--bm-sem-border-width-md)}.bm-box--border-info-secondary-strong{border-color:var(--bm-sem-color-border-info-secondary-strong);border-style:solid}.bm-box--border-info-secondary-strong:not([class*=border-width-]){border-width:var(--bm-sem-border-width-md)}.bm-box--border-selected{border-color:var(--bm-sem-color-border-selected);border-style:solid}.bm-box--border-selected:not([class*=border-width-]){border-width:var(--bm-sem-border-width-md)}.bm-box--border-focus{border-color:var(--bm-sem-color-border-focus);border-style:solid}.bm-box--border-focus:not([class*=border-width-]){border-width:var(--bm-sem-border-width-md)}.bm-box--border-inverse{border-color:var(--bm-sem-color-border-inverse);border-style:solid}.bm-box--border-inverse:not([class*=border-width-]){border-width:var(--bm-sem-border-width-md)}.bm-box--border-expressive{border-color:var(--bm-expressive-color-border);border-style:solid}.bm-box--border-expressive:not([class*=border-width-]){border-width:var(--bm-sem-border-width-md)}.bm-box--border-expressive-stronger{border-color:var(--bm-expressive-color-border-stronger);border-style:solid}.bm-box--border-expressive-stronger:not([class*=border-width-]){border-width:var(--bm-sem-border-width-md)}.bm-box--border-transparent{border-color:var(--bm-sem-color-border-transparent);border-style:solid}.bm-box--border-transparent:not([class*=border-width-]){border-width:var(--bm-sem-border-width-md)}.bm-box--radius-none{border-radius:var(--bm-sem-radius-none)}.bm-box--radius-xs{border-radius:var(--bm-sem-radius-xs)}.bm-box--radius-sm{border-radius:var(--bm-sem-radius-sm)}.bm-box--radius-md{border-radius:var(--bm-sem-radius-md)}.bm-box--radius-lg{border-radius:var(--bm-sem-radius-lg)}.bm-box--radius-round{border-radius:var(--bm-sem-radius-round)}.bm-box--shadow-none{box-shadow:var(--bm-sem-shadow-none)}.bm-box--shadow-sm{box-shadow:var(--bm-sem-shadow-sm)}.bm-box--shadow-md{box-shadow:var(--bm-sem-shadow-md)}.bm-box--shadow-lg{box-shadow:var(--bm-sem-shadow-lg)}.bm-box--shadow-overlay{box-shadow:var(--bm-sem-shadow-overlay)}";
|
|
8
8
|
var y = Object.defineProperty, f = Object.getOwnPropertyDescriptor, o = (t, d, a, m) => {
|
|
9
9
|
for (var b = m > 1 ? void 0 : m ? f(d, a) : d, i = t.length - 1, n; i >= 0; i--)
|
|
@@ -2,11 +2,11 @@ import { provide as B } from "@lit/context";
|
|
|
2
2
|
import { unsafeCSS as W, LitElement as E, html as P } from "lit";
|
|
3
3
|
import { property as d } from "lit/decorators.js";
|
|
4
4
|
import N from "clsx";
|
|
5
|
-
import { g as k } from "../chunks/classNames.
|
|
5
|
+
import { g as k } from "../chunks/classNames.BQclmCHG.js";
|
|
6
6
|
import { t as $ } from "../chunks/constants.ZIKMMCJH.js";
|
|
7
7
|
import { f as I } from "../chunks/dom.CroF8n1N.js";
|
|
8
|
-
import { b as L } from "../chunks/BreadcrumbsItem.
|
|
9
|
-
import { c as O } from "../chunks/register-custom-element.
|
|
8
|
+
import { b as L } from "../chunks/BreadcrumbsItem.BmqxxC44.js";
|
|
9
|
+
import { c as O } from "../chunks/register-custom-element.DHGKOhmA.js";
|
|
10
10
|
import { BreadcrumbGroupCtx as T } from "./Breadcrumbs.context.js";
|
|
11
11
|
var q = Object.defineProperty, D = Object.getOwnPropertyDescriptor, A = (t) => {
|
|
12
12
|
throw TypeError(t);
|
|
@@ -2,9 +2,9 @@ import "@lit/context";
|
|
|
2
2
|
import "lit";
|
|
3
3
|
import "lit/decorators.js";
|
|
4
4
|
import "lit/directives/unsafe-svg.js";
|
|
5
|
-
import { B as c } from "../chunks/BreadcrumbsItem.
|
|
6
|
-
import "../chunks/classNames.
|
|
7
|
-
import "../chunks/register-custom-element.
|
|
5
|
+
import { B as c } from "../chunks/BreadcrumbsItem.BmqxxC44.js";
|
|
6
|
+
import "../chunks/classNames.BQclmCHG.js";
|
|
7
|
+
import "../chunks/register-custom-element.DHGKOhmA.js";
|
|
8
8
|
import "../chunks/helpers.Ds5YZETV.js";
|
|
9
9
|
import "./Breadcrumbs.context.js";
|
|
10
10
|
import "../Link/Link.js";
|
package/Breadcrumbs/index.js
CHANGED
package/Button/Button.js
CHANGED
|
@@ -3,10 +3,10 @@ import { unsafeCSS as w, LitElement as S, nothing as y, html as u } from "lit";
|
|
|
3
3
|
import { property as b, state as $ } from "lit/decorators.js";
|
|
4
4
|
import { styleMap as P } from "lit/directives/style-map.js";
|
|
5
5
|
import C from "clsx";
|
|
6
|
-
import { g as x } from "../chunks/classNames.
|
|
6
|
+
import { g as x } from "../chunks/classNames.BQclmCHG.js";
|
|
7
7
|
import { t as B } from "../chunks/constants.ZIKMMCJH.js";
|
|
8
8
|
import { r as O } from "../chunks/delegate.baxDQosr.js";
|
|
9
|
-
import { c as L } from "../chunks/register-custom-element.
|
|
9
|
+
import { c as L } from "../chunks/register-custom-element.DHGKOhmA.js";
|
|
10
10
|
import { stateLayerStyles as M, stateLayerClassName as N } from "../StateLayer/StateLayer.js";
|
|
11
11
|
import { bmFormContext as A } from "../wip/Form/Form.context.js";
|
|
12
12
|
const W = "button", { classModifierPrefix: v, subElementClassPrefix: _ } = x(W), l = {
|
|
@@ -2,10 +2,10 @@ import { unsafeCSS as n, LitElement as l, html as p } from "lit";
|
|
|
2
2
|
import { property as i } from "lit/decorators.js";
|
|
3
3
|
import { unsafeSVG as d } from "lit/directives/unsafe-svg.js";
|
|
4
4
|
import v from "clsx";
|
|
5
|
-
import { g as u } from "../chunks/classNames.
|
|
5
|
+
import { g as u } from "../chunks/classNames.BQclmCHG.js";
|
|
6
6
|
import "../chunks/constants.ZIKMMCJH.js";
|
|
7
7
|
import { r as h } from "../chunks/delegate.baxDQosr.js";
|
|
8
|
-
import { c as z } from "../chunks/register-custom-element.
|
|
8
|
+
import { c as z } from "../chunks/register-custom-element.DHGKOhmA.js";
|
|
9
9
|
import { stateLayerStyles as x, stateLayerClassName as g } from "../StateLayer/StateLayer.js";
|
|
10
10
|
const f = `<svg viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
11
11
|
<path
|
package/Divider/Divider.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { unsafeCSS as w, LitElement as u, html as b } from "lit";
|
|
2
2
|
import { property as a, queryAssignedNodes as _, state as f } from "lit/decorators.js";
|
|
3
3
|
import x from "clsx";
|
|
4
|
-
import {
|
|
4
|
+
import { b as C, g as S } from "../chunks/classNames.BQclmCHG.js";
|
|
5
5
|
import { g as $ } from "../chunks/globals.Bz4SVF2g.js";
|
|
6
|
-
import { c as z } from "../chunks/register-custom-element.
|
|
6
|
+
import { c as z } from "../chunks/register-custom-element.DHGKOhmA.js";
|
|
7
7
|
const N = ':root,:host,.bm-light,.bm-dark .bm-inverse,.bm-dark.bm-inverse,[data-bm-theme~=bm-dark] .bm-inverse,[data-bm-theme~=bm-dark].bm-inverse,.bm-enterprise,.bm-consumer,[data-bm-theme~=bm-light]{--bm-comp-divider-color-text: var(--bm-sem-color-text-secondary, #576775);--bm-comp-divider-color-icon: var(--bm-sem-color-icon-secondary, #576775);--bm-comp-divider-typo-text: var( --bm-sem-typo-label-sm, 600 .875rem/1.25rem "Source Sans Pro" );--bm-comp-divider-size-icon: var(--bm-sem-size-icon-sm, 1rem);--bm-comp-divider-size-icon-only: var(--bm-sem-size-icon-md, 1.25rem);--bm-comp-divider-space-content: var(--bm-sem-space-50, .5rem);--bm-comp-divider-space-content-gap: var(--bm-sem-space-25, .25rem)}:host,.bm-dark,.bm-light .bm-inverse,.bm-light.bm-inverse,[data-bm-theme~=bm-light] .bm-inverse,[data-bm-theme~=bm-light].bm-inverse,.bm-enterprise,.bm-consumer,[data-bm-theme~=bm-dark]{--bm-comp-divider-color-text: var(--bm-sem-color-text-secondary, #c3cdd5);--bm-comp-divider-color-icon: var(--bm-sem-color-icon-secondary, #c3cdd5);--bm-comp-divider-typo-text: var( --bm-sem-typo-label-sm, 600 .875rem/1.25rem "Source Sans Pro" );--bm-comp-divider-size-icon: var(--bm-sem-size-icon-sm, 1rem);--bm-comp-divider-size-icon-only: var(--bm-sem-size-icon-md, 1.25rem);--bm-comp-divider-space-content: var(--bm-sem-space-50, .5rem);--bm-comp-divider-space-content-gap: var(--bm-sem-space-25, .25rem)}:host([orientation=vertical]),.bm-divider--vertical{height:var(--bm-comp-divider-length, 100%);width:auto}:host,.bm-divider{width:var(--bm-comp-divider-length, 100%)}.bm-divider{box-sizing:border-box;width:var(--bm-comp-divider-length, 100%);height:auto}.bm-divider--horizontal{text-align:center}.bm-divider--vertical{height:var(--bm-comp-divider-length, 100%);width:auto;min-height:1.25rem}.bm-divider--vertical .bm-divider__wrapper{height:100%;display:flex;flex-direction:column;align-items:center}.bm-divider--vertical:before,.bm-divider--vertical:after{width:.0625rem;height:100%}.bm-divider--vertical .bm-divider__content{padding:var(--bm-comp-divider-space-content) 0}.bm-divider__wrapper{position:relative;display:flex;align-items:center;height:100%;width:100%}.bm-divider__wrapper:before,.bm-divider__wrapper:after{content:"";background-color:currentColor;flex:1 1 auto;height:.0625rem}.bm-divider__content{font:var(--bm-comp-divider-typo-text);padding:0 var(--bm-comp-divider-space-content);display:inline-flex;align-items:center;color:var(--bm-comp-divider-color-text);gap:var(--bm-comp-divider-space-content-gap)}.bm-divider__icon{display:inline-flex;align-items:center;color:var(--bm-comp-divider-color-icon)}.bm-divider__icon svg{height:var(--bm-comp-divider-size-icon);width:var(--bm-comp-divider-size-icon)}.bm-divider__icon ::slotted([slot=icon]){display:inline-flex;height:var(--bm-comp-divider-size-icon);width:var(--bm-comp-divider-size-icon)}.bm-divider--icon-only .bm-divider__icon{margin-right:0;color:var(--bm-comp-divider-color-icon)}.bm-divider--icon-only .bm-divider__icon svg{height:var(--bm-comp-divider-size-icon-only);width:var(--bm-comp-divider-size-icon-only)}.bm-divider--icon-only .bm-divider__icon ::slotted([slot=icon]){height:var(--bm-comp-divider-size-icon-only);width:var(--bm-comp-divider-size-icon-only)}.bm-divider__text{white-space:nowrap}.bm-divider--border-width-md .bm-divider__wrapper:before,.bm-divider--border-width-md .bm-divider__wrapper:after{height:var(--bm-sem-border-width-md)}.bm-divider--border-width-md.bm-divider--vertical .bm-divider__wrapper:before,.bm-divider--border-width-md.bm-divider--vertical .bm-divider__wrapper:after{width:var(--bm-sem-border-width-md);height:auto}.bm-divider--border-width-lg .bm-divider__wrapper:before,.bm-divider--border-width-lg .bm-divider__wrapper:after{height:var(--bm-sem-border-width-lg)}.bm-divider--border-width-lg.bm-divider--vertical .bm-divider__wrapper:before,.bm-divider--border-width-lg.bm-divider--vertical .bm-divider__wrapper:after{width:var(--bm-sem-border-width-lg);height:auto}.bm-divider--border-width-xl .bm-divider__wrapper:before,.bm-divider--border-width-xl .bm-divider__wrapper:after{height:var(--bm-sem-border-width-xl)}.bm-divider--border-width-xl.bm-divider--vertical .bm-divider__wrapper:before,.bm-divider--border-width-xl.bm-divider--vertical .bm-divider__wrapper:after{width:var(--bm-sem-border-width-xl);height:auto}.bm-divider--border-style-dashed .bm-divider__wrapper:before,.bm-divider--border-style-dashed .bm-divider__wrapper:after{background:repeating-linear-gradient(to right,currentColor,currentColor .25rem,transparent .25rem,transparent .5rem)}.bm-divider--border-style-dashed.bm-divider--vertical .bm-divider__wrapper:before,.bm-divider--border-style-dashed.bm-divider--vertical .bm-divider__wrapper:after{background:repeating-linear-gradient(to bottom,currentColor,currentColor .25rem,transparent .25rem,transparent .5rem)}.bm-divider--border-style-dotted .bm-divider__wrapper:before,.bm-divider--border-style-dotted .bm-divider__wrapper:after{background:repeating-linear-gradient(to right,currentColor,currentColor .125rem,transparent .125rem,transparent .375rem)}.bm-divider--border-style-dotted.bm-divider--vertical .bm-divider__wrapper:before,.bm-divider--border-style-dotted.bm-divider--vertical .bm-divider__wrapper:after{background:repeating-linear-gradient(to bottom,currentColor,currentColor .125rem,transparent .125rem,transparent .375rem)}.bm-divider--border-color-border-00{color:var(--bm-sem-color-border-00)}.bm-divider--border-color-border-00-alt{color:var(--bm-sem-color-border-00-alt)}.bm-divider--border-color-border-01{color:var(--bm-sem-color-border-01)}.bm-divider--border-color-border-02{color:var(--bm-sem-color-border-02)}.bm-divider--border-color-border-03{color:var(--bm-sem-color-border-03)}.bm-divider--border-color-border-strong{color:var(--bm-sem-color-border-strong)}.bm-divider--border-color-border-positive{color:var(--bm-sem-color-border-positive)}.bm-divider--border-color-border-warning{color:var(--bm-sem-color-border-warning)}.bm-divider--border-color-border-negative{color:var(--bm-sem-color-border-negative)}.bm-divider--border-color-border-info-primary{color:var(--bm-sem-color-border-info-primary)}.bm-divider--border-color-border-info-secondary{color:var(--bm-sem-color-border-info-secondary)}.bm-divider--border-color-border-positive-strong{color:var(--bm-sem-color-border-positive-strong)}.bm-divider--border-color-border-warning-strong{color:var(--bm-sem-color-border-warning-strong)}.bm-divider--border-color-border-negative-strong{color:var(--bm-sem-color-border-negative-strong)}.bm-divider--border-color-border-info-primary-strong{color:var(--bm-sem-color-border-info-primary-strong)}.bm-divider--border-color-border-info-secondary-strong{color:var(--bm-sem-color-border-info-secondary-strong)}.bm-divider--border-color-border-inverse{color:var(--bm-sem-color-border-inverse)}.bm-divider--align-start .bm-divider__wrapper:before{flex:0 1 0%}.bm-divider--align-start .bm-divider__wrapper:after{flex:1 1 auto}.bm-divider--align-start .bm-divider__content{padding-inline-start:0}.bm-divider--align-end .bm-divider__wrapper:before{flex:1 1 auto}.bm-divider--align-end .bm-divider__wrapper:after{flex:0 1 0%}.bm-divider--align-end .bm-divider__content{padding-inline-end:0}.bm-divider--vertical.bm-divider--align-start .bm-divider__wrapper:before{flex:0 1 1rem}.bm-divider--vertical.bm-divider--align-end .bm-divider__wrapper:after{flex:0 1 1rem}';
|
|
8
8
|
var E = Object.defineProperty, P = Object.getOwnPropertyDescriptor, y = (r) => {
|
|
9
9
|
throw TypeError(r);
|
package/EmptyState/EmptyState.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { unsafeCSS as y, LitElement as d, nothing as l, html as b } from "lit";
|
|
2
2
|
import { property as p } from "lit/decorators.js";
|
|
3
3
|
import g from "clsx";
|
|
4
|
-
import { g as v } from "../chunks/classNames.
|
|
4
|
+
import { g as v } from "../chunks/classNames.BQclmCHG.js";
|
|
5
5
|
import { t as h } from "../chunks/constants.ZIKMMCJH.js";
|
|
6
|
-
import { c as f } from "../chunks/register-custom-element.
|
|
6
|
+
import { c as f } from "../chunks/register-custom-element.DHGKOhmA.js";
|
|
7
7
|
const x = ':root,:host,.bm-light,.bm-dark .bm-inverse,.bm-dark.bm-inverse,[data-bm-theme~=bm-dark] .bm-inverse,[data-bm-theme~=bm-dark].bm-inverse,.bm-enterprise,.bm-consumer,[data-bm-theme~=bm-light]{--bm-comp-empty-state-color-heading: var( --bm-sem-color-text-primary, #141d24 );--bm-comp-empty-state-color-body: var(--bm-sem-color-text-secondary, #576775);--bm-comp-empty-state-color-icon: var( --bm-alias-color-brand-primary-default, #00768f );--bm-comp-empty-state-space-gap: var(--bm-sem-space-200, 2rem);--bm-comp-empty-state-space-text-gap: var(--bm-sem-space-100, 1rem);--bm-comp-empty-state-space-actions-gap: var(--bm-sem-space-150, 1.5rem);--bm-comp-empty-state-size-icon: var(--bm-primitive-dimension-600, 6rem);--bm-comp-empty-state-size-width: 35rem;--bm-comp-empty-state-typo-heading: var( --bm-sem-typo-heading-lg, 700 1.5rem/2rem "Uni Neue" );--bm-comp-empty-state-typo-body: var( --bm-sem-typo-body-lg, 400 1.125rem/1.75rem "Source Sans Pro" )}:host,.bm-dark,.bm-light .bm-inverse,.bm-light.bm-inverse,[data-bm-theme~=bm-light] .bm-inverse,[data-bm-theme~=bm-light].bm-inverse,.bm-enterprise,.bm-consumer,[data-bm-theme~=bm-dark]{--bm-comp-empty-state-color-heading: var( --bm-sem-color-text-primary, #ffffff );--bm-comp-empty-state-color-body: var(--bm-sem-color-text-secondary, #c3cdd5);--bm-comp-empty-state-color-icon: var( --bm-alias-color-brand-primary-default, #43bfd6 );--bm-comp-empty-state-space-gap: var(--bm-sem-space-200, 2rem);--bm-comp-empty-state-space-text-gap: var(--bm-sem-space-100, 1rem);--bm-comp-empty-state-space-actions-gap: var(--bm-sem-space-150, 1.5rem);--bm-comp-empty-state-size-icon: var(--bm-primitive-dimension-600, 6rem);--bm-comp-empty-state-size-width: 35rem;--bm-comp-empty-state-typo-heading: var( --bm-sem-typo-heading-lg, 700 1.5rem/2rem "Uni Neue" );--bm-comp-empty-state-typo-body: var( --bm-sem-typo-body-lg, 400 1.125rem/1.75rem "Source Sans Pro" )}.bm-empty-state{display:flex;flex-direction:column;max-width:var(--bm-comp-empty-state-size-width);align-items:center;gap:var(--bm-comp-empty-state-space-gap);background-color:unset}.bm-empty-state__icon,.bm-empty-state ::slotted([slot=icon]){color:var(--bm-comp-empty-state-color-icon)}.bm-empty-state__icon>svg,.bm-empty-state ::slotted([slot=icon]){height:var(--bm-comp-empty-state-size-icon);width:var(--bm-comp-empty-state-size-icon)}.bm-empty-state__body-container{display:flex;flex-direction:column;align-items:center;gap:var(--bm-comp-empty-state-space-text-gap)}.bm-empty-state__heading,.bm-empty-state ::slotted([slot=heading]){text-align:center;font:var(--bm-comp-empty-state-typo-heading);color:var(--bm-comp-empty-state-color-heading)}.bm-empty-state__body,.bm-empty-state ::slotted([slot=body]){display:flex;flex-direction:column;text-align:center;font:var(--bm-comp-empty-state-typo-body);color:var(--bm-comp-empty-state-color-body);gap:var(--bm-comp-empty-state-space-text-gap)}.bm-empty-state__actions,.bm-empty-state ::slotted([slot=actions]){display:flex;flex-direction:column;align-items:center;gap:var(--bm-comp-empty-state-space-actions-gap)}';
|
|
8
8
|
var u = Object.defineProperty, _ = Object.getOwnPropertyDescriptor, m = (a, o, r, s) => {
|
|
9
9
|
for (var e = s > 1 ? void 0 : s ? _(o, r) : o, i = a.length - 1, c; i >= 0; i--)
|
package/HelperText/HelperText.js
CHANGED
|
@@ -2,10 +2,10 @@ import "lit";
|
|
|
2
2
|
import "lit/decorators.js";
|
|
3
3
|
import "lit/directives/unsafe-svg.js";
|
|
4
4
|
import "clsx";
|
|
5
|
-
import { B as a } from "../chunks/HelperText.
|
|
6
|
-
import "../chunks/classNames.
|
|
5
|
+
import { B as a } from "../chunks/HelperText.3YJvB8x0.js";
|
|
6
|
+
import "../chunks/classNames.BQclmCHG.js";
|
|
7
7
|
import "../chunks/constants.ZIKMMCJH.js";
|
|
8
|
-
import "../chunks/register-custom-element.
|
|
8
|
+
import "../chunks/register-custom-element.DHGKOhmA.js";
|
|
9
9
|
export {
|
|
10
10
|
a as BmHelperText
|
|
11
11
|
};
|
package/HelperText/index.js
CHANGED
package/Icon/Icon.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { unsafeCSS as p, LitElement as v, nothing as g, html as f } from "lit";
|
|
2
2
|
import { property as s } from "lit/decorators.js";
|
|
3
3
|
import y from "clsx";
|
|
4
|
-
import { g as h } from "../chunks/classNames.
|
|
4
|
+
import { g as h } from "../chunks/classNames.BQclmCHG.js";
|
|
5
5
|
import { p as z } from "../chunks/constants.ZIKMMCJH.js";
|
|
6
6
|
import { r as u } from "../chunks/delegate.baxDQosr.js";
|
|
7
|
-
import { c as d } from "../chunks/register-custom-element.
|
|
7
|
+
import { c as d } from "../chunks/register-custom-element.DHGKOhmA.js";
|
|
8
8
|
const $ = (n) => `--${z}comp-${n}`, S = '.bm-icon{-webkit-font-feature-settings:"liga";font-feature-settings:"liga";-webkit-font-smoothing:antialiased}.bm-icon{--bm-comp-icon-color: inherit;box-sizing:border-box!important;font-weight:400;font-style:normal;fill:currentColor;font-size:var(--bm-comp-icon-size, var(--bm-sem-size-icon-md));width:var(--bm-comp-icon-size, var(--bm-sem-size-icon-md));height:var(--bm-comp-icon-size, var(--bm-sem-size-icon-md));color:var(--bm-comp-icon-color);vertical-align:middle;line-height:inherit;letter-spacing:normal;text-transform:none;display:inline-block;white-space:nowrap;word-wrap:normal}.bm-icon--primary{--bm-comp-icon-color: var(--bm-sem-color-icon-primary)}.bm-icon--secondary{--bm-comp-icon-color: var(--bm-sem-color-icon-secondary)}.bm-icon--positive{--bm-comp-icon-color: var(--bm-sem-color-icon-positive)}.bm-icon--warning{--bm-comp-icon-color: var(--bm-sem-color-icon-warning)}.bm-icon--negative{--bm-comp-icon-color: var(--bm-sem-color-icon-negative)}.bm-icon--infoPrimary{--bm-comp-icon-color: var(--bm-sem-color-icon-info-primary)}.bm-icon--infoSecondary{--bm-comp-icon-color: var(--bm-sem-color-icon-info-secondary)}.bm-icon--positiveStrong{--bm-comp-icon-color: var(--bm-sem-color-icon-positive-strong)}.bm-icon--warningStrong{--bm-comp-icon-color: var(--bm-sem-color-icon-warning-strong)}.bm-icon--negativeStrong{--bm-comp-icon-color: var(--bm-sem-color-icon-negative-strong)}.bm-icon--infoPrimaryStrong{--bm-comp-icon-color: var(--bm-sem-color-icon-info-primary-strong)}.bm-icon--infoSecondaryStrong{--bm-comp-icon-color: var(--bm-sem-color-icon-info-secondary-strong)}.bm-icon--primaryInverse{--bm-comp-icon-color: var(--bm-sem-color-icon-primary-inverse)}.bm-icon--secondaryInverse{--bm-comp-icon-color: var(--bm-sem-color-icon-secondary-inverse)}.bm-icon--xs{--bm-comp-icon-size: var(--bm-sem-size-icon-xs)}.bm-icon--sm{--bm-comp-icon-size: var(--bm-sem-size-icon-sm)}.bm-icon--md{--bm-comp-icon-size: var(--bm-sem-size-icon-md)}.bm-icon--lg{--bm-comp-icon-size: var(--bm-sem-size-icon-lg)}.bm-icon--xl{--bm-comp-icon-size: var(--bm-sem-size-icon-xl)}.bm-icon--clickable{cursor:pointer}';
|
|
9
9
|
var x = Object.defineProperty, w = Object.getOwnPropertyDescriptor, m = (n, r, e, c) => {
|
|
10
10
|
for (var o = c > 1 ? void 0 : c ? w(r, e) : r, t = n.length - 1, a; t >= 0; t--)
|
|
@@ -3,9 +3,9 @@ import { unsafeCSS as C, html as x, nothing as $ } from "lit";
|
|
|
3
3
|
import { property as a, queryAssignedElements as d, state as _ } from "lit/decorators.js";
|
|
4
4
|
import { createRef as P, ref as V } from "lit/directives/ref.js";
|
|
5
5
|
import G from "clsx";
|
|
6
|
-
import { g as q } from "../chunks/classNames.
|
|
6
|
+
import { a as w, g as q } from "../chunks/classNames.BQclmCHG.js";
|
|
7
7
|
import { t as O } from "../chunks/constants.ZIKMMCJH.js";
|
|
8
|
-
import {
|
|
8
|
+
import { c as M } from "../chunks/register-custom-element.DHGKOhmA.js";
|
|
9
9
|
import { FormField as F } from "../wip/Form/Form.decorator.js";
|
|
10
10
|
import { inputChoiceGroupContext as B } from "./InputChoiceGroup.context.js";
|
|
11
11
|
const E = ':root,:host,.bm-light,.bm-dark .bm-inverse,.bm-dark.bm-inverse,[data-bm-theme~=bm-dark] .bm-inverse,[data-bm-theme~=bm-dark].bm-inverse,.bm-enterprise,.bm-consumer,[data-bm-theme~=bm-light]{--bm-comp-input-color-bg: var(--bm-sem-color-surface-01, #ffffff);--bm-comp-input-color-bg-disabled: var( --bm-sem-color-surface-highlight, rgba(159, 175, 188, .16) );--bm-comp-input-color-border: var(--bm-sem-color-border-strong, #8697a5);--bm-comp-input-color-border-error: var( --bm-sem-color-border-negative-strong, #cc2429 );--bm-comp-input-color-border-disabled: rgba(134, 151, 165, .4);--bm-comp-input-color-text: var(--bm-sem-color-text-primary, #141d24);--bm-comp-input-color-text-placeholder: var( --bm-sem-color-text-secondary, #576775 );--bm-comp-input-color-text-disabled: var( --bm-sem-color-text-disabled, rgba(87, 103, 117, .4) );--bm-comp-input-color-icon-disabled: var( --bm-sem-color-text-disabled, rgba(87, 103, 117, .4) );--bm-comp-input-color-icon: var(--bm-sem-color-icon-secondary, #576775);--bm-comp-input-color-icon-error: var( --bm-sem-color-icon-negative-strong, #cc2429 );--bm-comp-input-color-divider: var(--bm-sem-color-border-02, #d1dae0);--bm-comp-input-color-choice-checkbox-selected-bg: var( --bm-alias-color-brand-primary-default, #00768f );--bm-comp-input-color-choice-checkbox-selected-icon: var( --bm-sem-color-icon-primary-inverse, #ffffff );--bm-comp-input-color-choice-checkbox-selected-bg-error: var( --bm-sem-color-surface-negative-strong, #cc2429 );--bm-comp-input-color-choice-checkbox-selected-border: var( --bm-sem-color-none, #ffffff00 );--bm-comp-input-color-choice-switch-selected-bg: var( --bm-alias-color-brand-primary-default, #00768f );--bm-comp-input-color-choice-switch-selected-icon: var( --bm-sem-color-icon-primary-inverse, #ffffff );--bm-comp-input-color-choice-switch-selected-border: var( --bm-sem-color-none, #ffffff00 );--bm-comp-input-color-choice-radio-selected-bg: var( --bm-sem-color-surface-01, #ffffff );--bm-comp-input-color-choice-radio-selected-border: var( --bm-alias-color-brand-primary-default, #00768f );--bm-comp-input-color-choice-radio-selected-inner-circle: var( --bm-alias-color-brand-primary-default, #00768f );--bm-comp-input-color-choice-radio-selected-bg-error: var( --bm-sem-color-surface-01, #ffffff );--bm-comp-input-color-choice-radio-selected-border-error: var( --bm-sem-color-surface-negative-strong, #cc2429 );--bm-comp-input-color-choice-radio-selected-inner-circle-error: var( --bm-sem-color-surface-negative-strong, #cc2429 );--bm-comp-input-typo-sm: var( --bm-sem-typo-compact-body-sm, 400 .875rem/1rem "Source Sans Pro" );--bm-comp-input-typo-md: var( --bm-sem-typo-compact-body-md, 400 1rem/1.25rem "Source Sans Pro" );--bm-comp-input-typo-lg: var( --bm-sem-typo-compact-body-md, 400 1rem/1.25rem "Source Sans Pro" );--bm-comp-input-typo-character-count: var( --bm-sem-typo-body-sm, 400 .875rem/1.25rem "Source Sans Pro" );--bm-comp-input-typo-label-choice: var( --bm-sem-typo-body-md, 400 1rem/1.5rem "Source Sans Pro" );--bm-comp-input-space-field-x-sm: var(--bm-sem-space-75, .75rem);--bm-comp-input-space-field-x-md: var(--bm-sem-space-100, 1rem);--bm-comp-input-space-field-x-lg: var(--bm-sem-space-125, 1.25rem);--bm-comp-input-space-field-y-sm: var(--bm-sem-space-25, .25rem);--bm-comp-input-space-field-y-md: var(--bm-sem-space-50, .5rem);--bm-comp-input-space-field-y-lg: var(--bm-sem-space-75, .75rem);--bm-comp-input-space-field-gap: var(--bm-sem-space-50, .5rem);--bm-comp-input-space-choice-gap-inside: var(--bm-sem-space-50, .5rem);--bm-comp-input-space-choice-gap-items-y: var(--bm-sem-space-50, .5rem);--bm-comp-input-space-choice-gap-items-x: var(--bm-sem-space-100, 1rem);--bm-comp-input-space-choice-nudge: var( --bm-primitive-dimension-12, .125rem );--bm-comp-input-size-field-height-sm: var(--bm-sem-size-height-sm, 2rem);--bm-comp-input-size-field-height-md: var(--bm-sem-size-height-md, 2.5rem);--bm-comp-input-size-field-height-lg: var(--bm-sem-size-height-lg, 3rem);--bm-comp-input-size-field-width: var(--bm-primitive-dimension-1800, 18rem);--bm-comp-input-size-field-icon-sm: var(--bm-sem-size-icon-sm, 1rem);--bm-comp-input-size-field-icon-md: var(--bm-sem-size-icon-md, 1.25rem);--bm-comp-input-size-field-icon-lg: var(--bm-sem-size-icon-md, 1.25rem);--bm-comp-input-size-field-text-area-height: var( --bm-primitive-dimension-475, 4.75rem );--bm-comp-input-size-choice-checkbox: var(--bm-sem-size-icon-sm, 1rem);--bm-comp-input-size-choice-radio: var(--bm-sem-size-icon-sm, 1rem);--bm-comp-input-size-choice-radio-inside: var( --bm-primitive-dimension-50, .5rem );--bm-comp-input-size-choice-switch-height: var( --bm-sem-size-icon-md, 1.25rem );--bm-comp-input-size-choice-switch-width: var( --bm-primitive-dimension-250, 2.5rem );--bm-comp-input-size-choice-switch-knob: var( --bm-primitive-dimension-87, .875rem );--bm-comp-input-radius-field: var(--bm-sem-radius-input-md, .25rem);--bm-comp-input-radius-choice-checkbox: var( --bm-sem-radius-input-sm, .125rem );--bm-comp-input-radius-choice-radio: var( --bm-sem-radius-input-lg, 624.938rem );--bm-comp-input-radius-choice-switch: var( --bm-sem-radius-input-lg, 624.938rem );--bm-comp-input-border-width-field-default: var( --bm-sem-border-width-input, .063rem );--bm-comp-input-border-width-field-error: var( --bm-sem-border-width-lg, .125rem );--bm-comp-input-border-width-choice: var( --bm-sem-border-width-input, .063rem );--bm-comp-input-shadow-field: var( --bm-sem-shadow-none, 0 0 0 0 rgb(0, 0, 0, 0) )}:host,.bm-dark,.bm-light .bm-inverse,.bm-light.bm-inverse,[data-bm-theme~=bm-light] .bm-inverse,[data-bm-theme~=bm-light].bm-inverse,.bm-enterprise,.bm-consumer,[data-bm-theme~=bm-dark]{--bm-comp-input-color-bg: var(--bm-sem-color-surface-01, #202e39);--bm-comp-input-color-bg-disabled: var( --bm-sem-color-surface-highlight, rgba(134, 151, 165, .16) );--bm-comp-input-color-border: var(--bm-sem-color-border-strong, #9fafbc);--bm-comp-input-color-border-error: var( --bm-sem-color-border-negative-strong, #f67378 );--bm-comp-input-color-border-disabled: rgba(159, 175, 188, .4);--bm-comp-input-color-text: var(--bm-sem-color-text-primary, #ffffff);--bm-comp-input-color-text-placeholder: var( --bm-sem-color-text-secondary, #c3cdd5 );--bm-comp-input-color-text-disabled: var( --bm-sem-color-text-disabled, rgba(195, 205, 213, .4) );--bm-comp-input-color-icon-disabled: var( --bm-sem-color-text-disabled, rgba(195, 205, 213, .4) );--bm-comp-input-color-icon: var(--bm-sem-color-icon-secondary, #c3cdd5);--bm-comp-input-color-icon-error: var( --bm-sem-color-icon-negative-strong, #f67378 );--bm-comp-input-color-divider: var(--bm-sem-color-border-02, #465967);--bm-comp-input-color-choice-checkbox-selected-bg: var( --bm-alias-color-brand-primary-default, #43bfd6 );--bm-comp-input-color-choice-checkbox-selected-icon: var( --bm-sem-color-icon-primary-inverse, #141d24 );--bm-comp-input-color-choice-checkbox-selected-bg-error: var( --bm-sem-color-surface-negative-strong, #f67378 );--bm-comp-input-color-choice-checkbox-selected-border: var( --bm-sem-color-none, #ffffff00 );--bm-comp-input-color-choice-switch-selected-bg: var( --bm-alias-color-brand-primary-default, #43bfd6 );--bm-comp-input-color-choice-switch-selected-icon: var( --bm-sem-color-icon-primary-inverse, #141d24 );--bm-comp-input-color-choice-switch-selected-border: var( --bm-sem-color-none, #ffffff00 );--bm-comp-input-color-choice-radio-selected-bg: var( --bm-sem-color-surface-01, #202e39 );--bm-comp-input-color-choice-radio-selected-border: var( --bm-alias-color-brand-primary-default, #43bfd6 );--bm-comp-input-color-choice-radio-selected-inner-circle: var( --bm-alias-color-brand-primary-default, #43bfd6 );--bm-comp-input-color-choice-radio-selected-bg-error: var( --bm-sem-color-surface-01, #202e39 );--bm-comp-input-color-choice-radio-selected-border-error: var( --bm-sem-color-surface-negative-strong, #f67378 );--bm-comp-input-color-choice-radio-selected-inner-circle-error: var( --bm-sem-color-surface-negative-strong, #f67378 );--bm-comp-input-typo-sm: var( --bm-sem-typo-compact-body-sm, 400 .875rem/1rem "Source Sans Pro" );--bm-comp-input-typo-md: var( --bm-sem-typo-compact-body-md, 400 1rem/1.25rem "Source Sans Pro" );--bm-comp-input-typo-lg: var( --bm-sem-typo-compact-body-md, 400 1rem/1.25rem "Source Sans Pro" );--bm-comp-input-typo-character-count: var( --bm-sem-typo-body-sm, 400 .875rem/1.25rem "Source Sans Pro" );--bm-comp-input-typo-label-choice: var( --bm-sem-typo-body-md, 400 1rem/1.5rem "Source Sans Pro" );--bm-comp-input-space-field-x-sm: var(--bm-sem-space-75, .75rem);--bm-comp-input-space-field-x-md: var(--bm-sem-space-100, 1rem);--bm-comp-input-space-field-x-lg: var(--bm-sem-space-125, 1.25rem);--bm-comp-input-space-field-y-sm: var(--bm-sem-space-25, .25rem);--bm-comp-input-space-field-y-md: var(--bm-sem-space-50, .5rem);--bm-comp-input-space-field-y-lg: var(--bm-sem-space-75, .75rem);--bm-comp-input-space-field-gap: var(--bm-sem-space-50, .5rem);--bm-comp-input-space-choice-gap-inside: var(--bm-sem-space-50, .5rem);--bm-comp-input-space-choice-gap-items-y: var(--bm-sem-space-50, .5rem);--bm-comp-input-space-choice-gap-items-x: var(--bm-sem-space-100, 1rem);--bm-comp-input-space-choice-nudge: var( --bm-primitive-dimension-12, .125rem );--bm-comp-input-size-field-height-sm: var(--bm-sem-size-height-sm, 2rem);--bm-comp-input-size-field-height-md: var(--bm-sem-size-height-md, 2.5rem);--bm-comp-input-size-field-height-lg: var(--bm-sem-size-height-lg, 3rem);--bm-comp-input-size-field-width: var(--bm-primitive-dimension-1800, 18rem);--bm-comp-input-size-field-icon-sm: var(--bm-sem-size-icon-sm, 1rem);--bm-comp-input-size-field-icon-md: var(--bm-sem-size-icon-md, 1.25rem);--bm-comp-input-size-field-icon-lg: var(--bm-sem-size-icon-md, 1.25rem);--bm-comp-input-size-field-text-area-height: var( --bm-primitive-dimension-475, 4.75rem );--bm-comp-input-size-choice-checkbox: var(--bm-sem-size-icon-sm, 1rem);--bm-comp-input-size-choice-radio: var(--bm-sem-size-icon-sm, 1rem);--bm-comp-input-size-choice-radio-inside: var( --bm-primitive-dimension-50, .5rem );--bm-comp-input-size-choice-switch-height: var( --bm-sem-size-icon-md, 1.25rem );--bm-comp-input-size-choice-switch-width: var( --bm-primitive-dimension-250, 2.5rem );--bm-comp-input-size-choice-switch-knob: var( --bm-primitive-dimension-87, .875rem );--bm-comp-input-radius-field: var(--bm-sem-radius-input-md, .25rem);--bm-comp-input-radius-choice-checkbox: var( --bm-sem-radius-input-sm, .125rem );--bm-comp-input-radius-choice-radio: var( --bm-sem-radius-input-lg, 624.938rem );--bm-comp-input-radius-choice-switch: var( --bm-sem-radius-input-lg, 624.938rem );--bm-comp-input-border-width-field-default: var( --bm-sem-border-width-input, .063rem );--bm-comp-input-border-width-field-error: var( --bm-sem-border-width-lg, .125rem );--bm-comp-input-border-width-choice: var( --bm-sem-border-width-input, .063rem );--bm-comp-input-shadow-field: var( --bm-sem-shadow-none, 0 0 0 0 rgb(0, 0, 0, 0) )}.bm-input-choice-group{--bm-label-space-bottom: var(--bm-comp-label-space-bottom);--bm-helper-text-space-top: var(--bm-comp-helper-text-space-top)}.bm-input-choice-group,.bm-input-choice-group legend{border:none;margin:var(--bm-sem-space-0);padding:var(--bm-sem-space-0)}.bm-input-choice-group__inputs{display:flex;gap:var(--bm-comp-input-space-choice-gap-items-y) var(--bm-comp-input-space-choice-gap-items-x)}.bm-input-choice-group--vertical .bm-input-choice-group__inputs{flex-direction:column}.bm-input-choice-group--horizontal .bm-input-choice-group__inputs{flex-wrap:wrap;flex-direction:row}.bm-input-choice-group--horizontalFluid .bm-input-choice-group__inputs{flex-direction:row;justify-content:space-between}.bm-input-choice-group--horizontalFluid .bm-input-choice-group__inputs>*,.bm-input-choice-group--horizontalFluid .bm-input-choice-group__inputs>::slotted(*){flex:1 1 auto}';
|
package/Label/Label.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { unsafeCSS as $, LitElement as P, nothing as k, html as d } from "lit";
|
|
2
2
|
import { property as m, queryAssignedNodes as S } from "lit/decorators.js";
|
|
3
3
|
import v from "clsx";
|
|
4
|
-
import { g as C } from "../chunks/classNames.
|
|
4
|
+
import { n as g, g as C } from "../chunks/classNames.BQclmCHG.js";
|
|
5
5
|
import { t as O } from "../chunks/constants.ZIKMMCJH.js";
|
|
6
|
-
import {
|
|
6
|
+
import { c as q } from "../chunks/register-custom-element.DHGKOhmA.js";
|
|
7
7
|
const w = ':root,:host,.bm-light,.bm-dark .bm-inverse,.bm-dark.bm-inverse,[data-bm-theme~=bm-dark] .bm-inverse,[data-bm-theme~=bm-dark].bm-inverse,.bm-enterprise,.bm-consumer,[data-bm-theme~=bm-light]{--bm-comp-label-color-text: var(--bm-sem-color-text-secondary, #576775);--bm-comp-label-color-icon: var(--bm-sem-color-icon-secondary, #576775);--bm-comp-label-typo-default: var( --bm-sem-typo-label-sm, 600 .875rem/1.25rem "Source Sans Pro" );--bm-comp-label-typo-optional: var( --bm-sem-typo-body-sm, 400 .875rem/1.25rem "Source Sans Pro" );--bm-comp-label-typo-character-count: var( --bm-sem-typo-body-sm, 400 .875rem/1.25rem "Source Sans Pro" );--bm-comp-label-space-gap: var(--bm-sem-space-25, .25rem);--bm-comp-label-space-bottom: var(--bm-sem-space-50, .5rem);--bm-comp-label-size-icon: var(--bm-sem-size-icon-sm, 1rem)}:host,.bm-dark,.bm-light .bm-inverse,.bm-light.bm-inverse,[data-bm-theme~=bm-light] .bm-inverse,[data-bm-theme~=bm-light].bm-inverse,.bm-enterprise,.bm-consumer,[data-bm-theme~=bm-dark]{--bm-comp-label-color-text: var(--bm-sem-color-text-secondary, #c3cdd5);--bm-comp-label-color-icon: var(--bm-sem-color-icon-secondary, #c3cdd5);--bm-comp-label-typo-default: var( --bm-sem-typo-label-sm, 600 .875rem/1.25rem "Source Sans Pro" );--bm-comp-label-typo-optional: var( --bm-sem-typo-body-sm, 400 .875rem/1.25rem "Source Sans Pro" );--bm-comp-label-typo-character-count: var( --bm-sem-typo-body-sm, 400 .875rem/1.25rem "Source Sans Pro" );--bm-comp-label-space-gap: var(--bm-sem-space-25, .25rem);--bm-comp-label-space-bottom: var(--bm-sem-space-50, .5rem);--bm-comp-label-size-icon: var(--bm-sem-size-icon-sm, 1rem)}.bm-label{color:var(--bm-comp-label-color-text);font:var(--bm-comp-label-typo-default);margin-bottom:var(--bm-comp-label-space-bottom, var(--bm-sem-space-0))}.bm-label label{cursor:var(--bm-comp-label-cursor, default);pointer-events:var(--bm-comp-label-pointer-events, inherit)}.bm-label--disabled label{opacity:var(--bm-sem-opacity-disabled)}.bm-label--required label:after{content:"*";color:var(--bm-sem-color-text-negative)}.bm-label--required label:has(:last-child):after{content:""}.bm-label--required label:has(:last-child)>*:last-child:after{content:"*";color:var(--bm-sem-color-text-negative)}.bm-label__optional{font:var(--bm-comp-label-typo-optional);margin-left:var(--bm-comp-label-space-gap)}.bm-label__tooltip{vertical-align:top;display:inline-block;margin-inline-start:var(--bm-comp-label-space-gap)}.bm-label__tooltip button{color:var(--bm-comp-tooltip-color-icon-trigger)}.bm-label__tooltip svg{height:var(--bm-comp-label-size-icon);width:var(--bm-comp-label-size-icon)}.bm-label--no-box{display:contents}';
|
|
8
8
|
var E = Object.defineProperty, N = Object.getOwnPropertyDescriptor, x = (e) => {
|
|
9
9
|
throw TypeError(e);
|
package/Link/Link.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { unsafeCSS as k, LitElement as h, html as d } from "lit";
|
|
2
2
|
import { property as l } from "lit/decorators.js";
|
|
3
3
|
import y from "clsx";
|
|
4
|
-
import { g as f } from "../chunks/classNames.
|
|
4
|
+
import { g as f } from "../chunks/classNames.BQclmCHG.js";
|
|
5
5
|
import { g } from "../chunks/dom.CroF8n1N.js";
|
|
6
|
-
import { c as u } from "../chunks/register-custom-element.
|
|
6
|
+
import { c as u } from "../chunks/register-custom-element.DHGKOhmA.js";
|
|
7
7
|
const x = ':root,:host,.bm-light,.bm-dark .bm-inverse,.bm-dark.bm-inverse,[data-bm-theme~=bm-dark] .bm-inverse,[data-bm-theme~=bm-dark].bm-inverse,.bm-enterprise,.bm-consumer,[data-bm-theme~=bm-light]{--bm-comp-link-space-gap: var(--bm-sem-space-25, .25rem);--bm-comp-link-size-sm-icon: var(--bm-sem-size-icon-sm, 1rem);--bm-comp-link-size-md-icon: var(--bm-sem-size-icon-md, 1.25rem);--bm-comp-link-size-lg-icon: var(--bm-sem-size-icon-md, 1.25rem);--bm-comp-link-size-xl-icon: var(--bm-sem-size-icon-lg, 1.5rem);--bm-comp-link-typo-sm: var( --bm-sem-typo-body-sm, 400 .875rem/1.25rem "Source Sans Pro" );--bm-comp-link-typo-md: var( --bm-sem-typo-body-md, 400 1rem/1.5rem "Source Sans Pro" );--bm-comp-link-typo-lg: var( --bm-sem-typo-body-lg, 400 1.125rem/1.75rem "Source Sans Pro" );--bm-comp-link-typo-xl: var( --bm-sem-typo-body-xl, 400 1.25rem/2rem "Source Sans Pro" );--bm-comp-link-color-primary-enabled: var( --bm-sem-color-action-primary, #00768f );--bm-comp-link-color-primary-hover: var( --bm-sem-color-action-primary-hover, #005b75 );--bm-comp-link-color-primary-active: var( --bm-sem-color-action-primary-active, #00414d );--bm-comp-link-color-secondary-enabled: var( --bm-sem-color-link-secondary, #141d24 );--bm-comp-link-color-secondary-hover: var( --bm-sem-color-link-secondary, #141d24 );--bm-comp-link-color-secondary-active: var( --bm-sem-color-link-secondary, #141d24 )}:host,.bm-dark,.bm-light .bm-inverse,.bm-light.bm-inverse,[data-bm-theme~=bm-light] .bm-inverse,[data-bm-theme~=bm-light].bm-inverse,.bm-enterprise,.bm-consumer,[data-bm-theme~=bm-dark]{--bm-comp-link-space-gap: var(--bm-sem-space-25, .25rem);--bm-comp-link-size-sm-icon: var(--bm-sem-size-icon-sm, 1rem);--bm-comp-link-size-md-icon: var(--bm-sem-size-icon-md, 1.25rem);--bm-comp-link-size-lg-icon: var(--bm-sem-size-icon-md, 1.25rem);--bm-comp-link-size-xl-icon: var(--bm-sem-size-icon-lg, 1.5rem);--bm-comp-link-typo-sm: var( --bm-sem-typo-body-sm, 400 .875rem/1.25rem "Source Sans Pro" );--bm-comp-link-typo-md: var( --bm-sem-typo-body-md, 400 1rem/1.5rem "Source Sans Pro" );--bm-comp-link-typo-lg: var( --bm-sem-typo-body-lg, 400 1.125rem/1.75rem "Source Sans Pro" );--bm-comp-link-typo-xl: var( --bm-sem-typo-body-xl, 400 1.25rem/2rem "Source Sans Pro" );--bm-comp-link-color-primary-enabled: var( --bm-sem-color-action-primary, #43bfd6 );--bm-comp-link-color-primary-hover: var( --bm-sem-color-action-primary-hover, #8cd8e6 );--bm-comp-link-color-primary-active: var( --bm-sem-color-action-primary-active, #b2e7f0 );--bm-comp-link-color-secondary-enabled: var( --bm-sem-color-link-secondary, #ffffff );--bm-comp-link-color-secondary-hover: var( --bm-sem-color-link-secondary, #ffffff );--bm-comp-link-color-secondary-active: var( --bm-sem-color-link-secondary, #ffffff )}.bm-link{outline:none;width:fit-content;display:inline-flex;align-items:center;border:var(--bm-sem-border-width-focus) solid transparent;margin:calc(var(--bm-sem-border-width-focus) * -1)}.bm-link:hover{text-decoration:underline}.bm-link:focus,.bm-link:focus-visible{outline:none;border-radius:var(--bm-sem-radius-focus-md);border:var(--bm-sem-border-width-focus) solid var(--bm-sem-color-border-focus)}.bm-link--disabled{cursor:not-allowed;opacity:var(--bm-sem-opacity-disabled);text-decoration:none!important}.bm-link--disabled:focus,.bm-link--disabled:focus-visible{border:var(--bm-sem-border-width-focus) solid transparent}.bm-link--hide-underline{text-decoration:none}.bm-link--sm{font:var(--bm-comp-link-typo-sm);gap:var(--bm-comp-link-space-gap)}.bm-link--sm .bm-link__icon,.bm-link--sm ::slotted([slot=iconBefore]),.bm-link--sm ::slotted([slot=iconAfter]){flex-shrink:0;width:var(--bm-comp-link-size-sm-icon);height:var(--bm-comp-link-size-sm-icon)}.bm-link--md{font:var(--bm-comp-link-typo-md);gap:var(--bm-comp-link-space-gap)}.bm-link--md .bm-link__icon,.bm-link--md ::slotted([slot=iconBefore]),.bm-link--md ::slotted([slot=iconAfter]){flex-shrink:0;width:var(--bm-comp-link-size-md-icon);height:var(--bm-comp-link-size-md-icon)}.bm-link--lg{font:var(--bm-comp-link-typo-lg);gap:var(--bm-comp-link-space-gap)}.bm-link--lg .bm-link__icon,.bm-link--lg ::slotted([slot=iconBefore]),.bm-link--lg ::slotted([slot=iconAfter]){flex-shrink:0;width:var(--bm-comp-link-size-lg-icon);height:var(--bm-comp-link-size-lg-icon)}.bm-link--xl{font:var(--bm-comp-link-typo-xl);gap:var(--bm-comp-link-space-gap)}.bm-link--xl .bm-link__icon,.bm-link--xl ::slotted([slot=iconBefore]),.bm-link--xl ::slotted([slot=iconAfter]){flex-shrink:0;width:var(--bm-comp-link-size-xl-icon);height:var(--bm-comp-link-size-xl-icon)}.bm-link--primary{color:var(--bm-sem-color-link-primary)}.bm-link--primary:not(.bm-link--primary--disabled):hover{color:var(--bm-comp-link-color-primary-hover)}.bm-link--primary:not(.bm-link--primary--disabled):active{color:var(--bm-comp-link-color-primary-active)}.bm-link--secondary{color:var(--bm-sem-color-link-secondary)}.bm-link--secondary:not(.bm-link--secondary--disabled):hover{color:var(--bm-comp-link-color-secondary-hover)}.bm-link--secondary:not(.bm-link--secondary--disabled):active{color:var(--bm-comp-link-color-secondary-active)}.bm-link--body-bold{font-weight:var(--bm-sem-font-weight-body-bold)}';
|
|
8
8
|
var z = Object.defineProperty, S = Object.getOwnPropertyDescriptor, v = (e) => {
|
|
9
9
|
throw TypeError(e);
|
package/List/List.js
CHANGED
|
@@ -2,10 +2,10 @@ import { provide as w, consume as S } from "@lit/context";
|
|
|
2
2
|
import { unsafeCSS as P, LitElement as z, html as m } from "lit";
|
|
3
3
|
import { property as d, state as E } from "lit/decorators.js";
|
|
4
4
|
import c from "clsx";
|
|
5
|
-
import { g as M } from "../chunks/classNames.
|
|
5
|
+
import { g as M } from "../chunks/classNames.BQclmCHG.js";
|
|
6
6
|
import "../chunks/constants.ZIKMMCJH.js";
|
|
7
7
|
import { l as W } from "../chunks/list.module.BSL1AIzv.js";
|
|
8
|
-
import { c as B } from "../chunks/register-custom-element.
|
|
8
|
+
import { c as B } from "../chunks/register-custom-element.DHGKOhmA.js";
|
|
9
9
|
import { ListContext as v } from "./List.context.js";
|
|
10
10
|
var N = Object.defineProperty, O = Object.getOwnPropertyDescriptor, _ = (t) => {
|
|
11
11
|
throw TypeError(t);
|
package/List/ListItem.js
CHANGED
|
@@ -4,9 +4,9 @@ import { queryAssignedElements as g, state as y } from "lit/decorators.js";
|
|
|
4
4
|
import { unsafeSVG as L } from "lit/directives/unsafe-svg.js";
|
|
5
5
|
import c from "clsx";
|
|
6
6
|
import "../chunks/constants.ZIKMMCJH.js";
|
|
7
|
-
import { g as w } from "../chunks/classNames.
|
|
7
|
+
import { g as w } from "../chunks/classNames.BQclmCHG.js";
|
|
8
8
|
import { l as S } from "../chunks/list.module.BSL1AIzv.js";
|
|
9
|
-
import { c as b } from "../chunks/register-custom-element.
|
|
9
|
+
import { c as b } from "../chunks/register-custom-element.DHGKOhmA.js";
|
|
10
10
|
import { ListContext as E } from "./List.context.js";
|
|
11
11
|
const I = `<svg viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
12
12
|
<path
|
|
@@ -2,9 +2,9 @@ import { unsafeCSS as _, LitElement as y, html as m, nothing as b } from "lit";
|
|
|
2
2
|
import { property as o } from "lit/decorators.js";
|
|
3
3
|
import $ from "clsx";
|
|
4
4
|
import { t as x } from "../chunks/constants.ZIKMMCJH.js";
|
|
5
|
-
import { g as w } from "../chunks/classNames.
|
|
5
|
+
import { g as w } from "../chunks/classNames.BQclmCHG.js";
|
|
6
6
|
import { r as z } from "../chunks/delegate.baxDQosr.js";
|
|
7
|
-
import { c as S } from "../chunks/register-custom-element.
|
|
7
|
+
import { c as S } from "../chunks/register-custom-element.DHGKOhmA.js";
|
|
8
8
|
function P(r, e) {
|
|
9
9
|
if (r === "error")
|
|
10
10
|
return Math.max(4, e ?? 4);
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { provide as y } from "@lit/context";
|
|
2
2
|
import { unsafeCSS as x, LitElement as b, html as w } from "lit";
|
|
3
3
|
import { property as m, state as E } from "lit/decorators.js";
|
|
4
|
-
import { g as z } from "../chunks/classNames.
|
|
4
|
+
import { g as z } from "../chunks/classNames.BQclmCHG.js";
|
|
5
5
|
import "../chunks/constants.ZIKMMCJH.js";
|
|
6
6
|
import { s as B } from "../chunks/segmentedControl.module.DUw6nBfH.js";
|
|
7
|
-
import { c as I } from "../chunks/register-custom-element.
|
|
7
|
+
import { c as I } from "../chunks/register-custom-element.DHGKOhmA.js";
|
|
8
8
|
import { segmentedControlContext as O } from "./SegmentedControl.context.js";
|
|
9
9
|
import "./SegmentedControlItem.js";
|
|
10
10
|
import "./SegmentedControlList.js";
|
|
@@ -2,11 +2,11 @@ import { consume as v } from "@lit/context";
|
|
|
2
2
|
import { unsafeCSS as w, css as x, nothing as m, html as u, LitElement as _ } from "lit";
|
|
3
3
|
import { property as p, state as C, query as y } from "lit/decorators.js";
|
|
4
4
|
import b from "clsx";
|
|
5
|
-
import {
|
|
6
|
-
import { b as
|
|
7
|
-
import { r as
|
|
8
|
-
import { s as
|
|
9
|
-
import {
|
|
5
|
+
import { c as O, g as T } from "../chunks/classNames.BQclmCHG.js";
|
|
6
|
+
import { b as E } from "../chunks/constants.ZIKMMCJH.js";
|
|
7
|
+
import { r as $ } from "../chunks/dom.CroF8n1N.js";
|
|
8
|
+
import { s as S } from "../chunks/segmentedControl.module.DUw6nBfH.js";
|
|
9
|
+
import { c as A } from "../chunks/register-custom-element.DHGKOhmA.js";
|
|
10
10
|
import { a as I } from "../chunks/helpers.Ds5YZETV.js";
|
|
11
11
|
import "../Tooltip/Tooltip.js";
|
|
12
12
|
import { stateLayerStyles as D, stateLayerClassName as N } from "../StateLayer/StateLayer.js";
|
|
@@ -53,12 +53,12 @@ class R {
|
|
|
53
53
|
this._element = e, this._callback = n, this.setup();
|
|
54
54
|
}
|
|
55
55
|
setup() {
|
|
56
|
-
this._element && (this._debouncedCheckOverflow =
|
|
56
|
+
this._element && (this._debouncedCheckOverflow = O(() => {
|
|
57
57
|
if (this._element) {
|
|
58
58
|
const e = this._element.scrollWidth > this._element.clientWidth;
|
|
59
59
|
this._callback(e);
|
|
60
60
|
}
|
|
61
|
-
},
|
|
61
|
+
}, E), this._observer = new ResizeObserver(this._debouncedCheckOverflow), this._observer.observe(this._element), this._debouncedCheckOverflow());
|
|
62
62
|
}
|
|
63
63
|
disconnect() {
|
|
64
64
|
this._observer && this._observer.disconnect(), this._debouncedCheckOverflow && this._debouncedCheckOverflow.cancel();
|
|
@@ -69,7 +69,7 @@ var V = Object.defineProperty, q = Object.getOwnPropertyDescriptor, c = (t, e, n
|
|
|
69
69
|
(l = t[i]) && (o = (s ? l(e, n, o) : l(o)) || o);
|
|
70
70
|
return s && o && V(e, n, o), o;
|
|
71
71
|
};
|
|
72
|
-
const { subElementClassPrefix: P } =
|
|
72
|
+
const { subElementClassPrefix: P } = T("segmented-control"), r = `${P}item`;
|
|
73
73
|
let h = class extends L(_) {
|
|
74
74
|
constructor() {
|
|
75
75
|
super(...arguments), this.value = "", this.disabled = !1, this.isDisabled = () => {
|
|
@@ -108,7 +108,7 @@ let h = class extends L(_) {
|
|
|
108
108
|
return !this.isDisabled() && (t && !e || e && this.isContentOverflowing);
|
|
109
109
|
}
|
|
110
110
|
getTooltipText() {
|
|
111
|
-
const t =
|
|
111
|
+
const t = $(this, "aria-label"), e = this.getDefaultSlotElement();
|
|
112
112
|
return (e == null ? void 0 : e.textContent) || t || "";
|
|
113
113
|
}
|
|
114
114
|
handleKeyDown(t) {
|
|
@@ -242,7 +242,7 @@ let h = class extends L(_) {
|
|
|
242
242
|
}
|
|
243
243
|
};
|
|
244
244
|
h.styles = [
|
|
245
|
-
w(
|
|
245
|
+
w(S),
|
|
246
246
|
D,
|
|
247
247
|
/**
|
|
248
248
|
* In order to ensure the overflow observer works with wrappers we need to
|
|
@@ -2,10 +2,10 @@ import { consume as a } from "@lit/context";
|
|
|
2
2
|
import { unsafeCSS as c, LitElement as C, html as p } from "lit";
|
|
3
3
|
import { property as f } from "lit/decorators.js";
|
|
4
4
|
import u from "clsx";
|
|
5
|
-
import { g } from "../chunks/classNames.
|
|
5
|
+
import { g } from "../chunks/classNames.BQclmCHG.js";
|
|
6
6
|
import "../chunks/constants.ZIKMMCJH.js";
|
|
7
7
|
import { s as h } from "../chunks/segmentedControl.module.DUw6nBfH.js";
|
|
8
|
-
import { c as b } from "../chunks/register-custom-element.
|
|
8
|
+
import { c as b } from "../chunks/register-custom-element.DHGKOhmA.js";
|
|
9
9
|
import { segmentedControlContext as v } from "./SegmentedControl.context.js";
|
|
10
10
|
var x = Object.defineProperty, _ = Object.getOwnPropertyDescriptor, d = (s, t, o, n) => {
|
|
11
11
|
for (var e = n > 1 ? void 0 : n ? _(t, o) : t, l = s.length - 1, m; l >= 0; l--)
|
|
@@ -2,10 +2,10 @@ import { consume as c } from "@lit/context";
|
|
|
2
2
|
import { unsafeCSS as i, LitElement as u, html as f } from "lit";
|
|
3
3
|
import { property as p } from "lit/decorators.js";
|
|
4
4
|
import d from "clsx";
|
|
5
|
-
import { g as C } from "../chunks/classNames.
|
|
5
|
+
import { g as C } from "../chunks/classNames.BQclmCHG.js";
|
|
6
6
|
import "../chunks/constants.ZIKMMCJH.js";
|
|
7
7
|
import { s as g } from "../chunks/segmentedControl.module.DUw6nBfH.js";
|
|
8
|
-
import { c as v } from "../chunks/register-custom-element.
|
|
8
|
+
import { c as v } from "../chunks/register-custom-element.DHGKOhmA.js";
|
|
9
9
|
import { segmentedControlContext as b } from "./SegmentedControl.context.js";
|
|
10
10
|
var x = Object.defineProperty, _ = Object.getOwnPropertyDescriptor, a = (o, e, r, t) => {
|
|
11
11
|
for (var s = t > 1 ? void 0 : t ? _(e, r) : e, n = o.length - 1, m; n >= 0; n--)
|
package/Spinner/Spinner.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { unsafeCSS as D, LitElement as I, html as b, nothing as d } from "lit";
|
|
2
2
|
import { property as v, queryAssignedElements as B } from "lit/decorators.js";
|
|
3
3
|
import $ from "clsx";
|
|
4
|
-
import { g as M } from "../chunks/classNames.
|
|
4
|
+
import { g as M } from "../chunks/classNames.BQclmCHG.js";
|
|
5
5
|
import "../chunks/constants.ZIKMMCJH.js";
|
|
6
|
-
import { c as E } from "../chunks/register-custom-element.
|
|
6
|
+
import { c as E } from "../chunks/register-custom-element.DHGKOhmA.js";
|
|
7
7
|
const W = 10, H = {
|
|
8
8
|
xxs: {
|
|
9
9
|
sideLength: 16,
|