@skedulo/breeze-ui 1.0.0 → 1.1.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/custom-elements.json +106 -110
- package/dist/lib/cjs/breeze-ui.js +8 -8
- package/dist/lib/es/breeze-ui.js +7 -13
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/types/layout/flex.d.ts +2 -2
- package/dist/types/layout/flex.d.ts.map +1 -1
- package/dist/types/layout/split-row.d.ts +3 -1
- package/dist/types/layout/split-row.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -6367,6 +6367,7 @@
|
|
|
6367
6367
|
"default": "false",
|
|
6368
6368
|
"description": "Uses fixed positioning",
|
|
6369
6369
|
"attribute": "is-fixed",
|
|
6370
|
+
"reflects": true,
|
|
6370
6371
|
"inheritedFrom": {
|
|
6371
6372
|
"name": "Tooltip",
|
|
6372
6373
|
"module": "src/components/tooltip.ts"
|
|
@@ -6805,9 +6806,8 @@
|
|
|
6805
6806
|
{
|
|
6806
6807
|
"name": "vertical-align",
|
|
6807
6808
|
"type": {
|
|
6808
|
-
"text": "'top' | 'middle' | 'bottom'"
|
|
6809
|
+
"text": "'top' | 'middle' | 'bottom' | undefined"
|
|
6809
6810
|
},
|
|
6810
|
-
"default": "'top'",
|
|
6811
6811
|
"fieldName": "verticalAlign",
|
|
6812
6812
|
"inheritedFrom": {
|
|
6813
6813
|
"name": "Row",
|
|
@@ -6820,9 +6820,8 @@
|
|
|
6820
6820
|
"kind": "field",
|
|
6821
6821
|
"name": "verticalAlign",
|
|
6822
6822
|
"type": {
|
|
6823
|
-
"text": "'top' | 'middle' | 'bottom'"
|
|
6823
|
+
"text": "'top' | 'middle' | 'bottom' | undefined"
|
|
6824
6824
|
},
|
|
6825
|
-
"default": "'top'",
|
|
6826
6825
|
"attribute": "vertical-align",
|
|
6827
6826
|
"reflects": true,
|
|
6828
6827
|
"inheritedFrom": {
|
|
@@ -6846,9 +6845,8 @@
|
|
|
6846
6845
|
{
|
|
6847
6846
|
"name": "align",
|
|
6848
6847
|
"type": {
|
|
6849
|
-
"text": "'left' | 'center' | 'right'"
|
|
6848
|
+
"text": "'left' | 'center' | 'right' | undefined"
|
|
6850
6849
|
},
|
|
6851
|
-
"default": "'left'",
|
|
6852
6850
|
"fieldName": "align",
|
|
6853
6851
|
"inheritedFrom": {
|
|
6854
6852
|
"name": "Column",
|
|
@@ -6861,10 +6859,10 @@
|
|
|
6861
6859
|
"kind": "field",
|
|
6862
6860
|
"name": "align",
|
|
6863
6861
|
"type": {
|
|
6864
|
-
"text": "'left' | 'center' | 'right'"
|
|
6862
|
+
"text": "'left' | 'center' | 'right' | undefined"
|
|
6865
6863
|
},
|
|
6866
|
-
"default": "'left'",
|
|
6867
6864
|
"attribute": "align",
|
|
6865
|
+
"reflects": true,
|
|
6868
6866
|
"inheritedFrom": {
|
|
6869
6867
|
"name": "Column",
|
|
6870
6868
|
"module": "src/layout/flex.ts"
|
|
@@ -18395,7 +18393,8 @@
|
|
|
18395
18393
|
},
|
|
18396
18394
|
"default": "false",
|
|
18397
18395
|
"description": "Uses fixed positioning",
|
|
18398
|
-
"attribute": "is-fixed"
|
|
18396
|
+
"attribute": "is-fixed",
|
|
18397
|
+
"reflects": true
|
|
18399
18398
|
},
|
|
18400
18399
|
{
|
|
18401
18400
|
"kind": "field",
|
|
@@ -18764,6 +18763,97 @@
|
|
|
18764
18763
|
}
|
|
18765
18764
|
]
|
|
18766
18765
|
},
|
|
18766
|
+
{
|
|
18767
|
+
"kind": "javascript-module",
|
|
18768
|
+
"path": "src/helpers/css-helpers.ts",
|
|
18769
|
+
"declarations": [
|
|
18770
|
+
{
|
|
18771
|
+
"kind": "function",
|
|
18772
|
+
"name": "getFocusStyles",
|
|
18773
|
+
"parameters": [
|
|
18774
|
+
{
|
|
18775
|
+
"name": "selector",
|
|
18776
|
+
"type": {
|
|
18777
|
+
"text": "string"
|
|
18778
|
+
},
|
|
18779
|
+
"description": "A CSS selector targeting an interactive element."
|
|
18780
|
+
},
|
|
18781
|
+
{
|
|
18782
|
+
"name": "extraRules",
|
|
18783
|
+
"default": "css``",
|
|
18784
|
+
"description": "Optional rules to append. Useful for overrides."
|
|
18785
|
+
}
|
|
18786
|
+
],
|
|
18787
|
+
"description": "Returns a CSSResult applying focus outline styles to a given interactive\nelement. Reduces repetition throughout multiple components.\n\nTargets modern `:focus-visible` by default and includes a `:focus` fallback\nfor older browsers."
|
|
18788
|
+
},
|
|
18789
|
+
{
|
|
18790
|
+
"kind": "variable",
|
|
18791
|
+
"name": "invisibleButtonRules",
|
|
18792
|
+
"default": "css`\n background: none;\n border: 0;\n border-radius: var(--brz-border-radius-default);\n color: var(--brz-color-neutral-750);\n cursor: pointer;\n display: inline-flex;\n font: inherit;\n margin: 0;\n padding: 0;\n`",
|
|
18793
|
+
"description": "CSS rules to apply invisible styles to buttons. Use within a CSS declaration\nblock."
|
|
18794
|
+
},
|
|
18795
|
+
{
|
|
18796
|
+
"kind": "function",
|
|
18797
|
+
"name": "getInvisibleButtonStyles",
|
|
18798
|
+
"parameters": [
|
|
18799
|
+
{
|
|
18800
|
+
"name": "selector",
|
|
18801
|
+
"type": {
|
|
18802
|
+
"text": "string"
|
|
18803
|
+
},
|
|
18804
|
+
"description": "A CSS selector targeting a button"
|
|
18805
|
+
},
|
|
18806
|
+
{
|
|
18807
|
+
"name": "extraRules",
|
|
18808
|
+
"default": "css``",
|
|
18809
|
+
"description": "Optional rules to append. Useful for overrides."
|
|
18810
|
+
}
|
|
18811
|
+
],
|
|
18812
|
+
"description": "Returns a CSSResult applying invisible styles to a button matching the given\nselector. Invisible buttons are a common pattern for icon-only close buttons.\n\nSince this applies to buttons, default focus styles are also automatically\nincluded for the selector. If you don't need them, or need to customise them,\nuse `invisibleButtonStyles` and `getFocusStyles()` separately instead."
|
|
18813
|
+
}
|
|
18814
|
+
],
|
|
18815
|
+
"exports": [
|
|
18816
|
+
{
|
|
18817
|
+
"kind": "js",
|
|
18818
|
+
"name": "getFocusStyles",
|
|
18819
|
+
"declaration": {
|
|
18820
|
+
"name": "getFocusStyles",
|
|
18821
|
+
"module": "src/helpers/css-helpers.ts"
|
|
18822
|
+
}
|
|
18823
|
+
},
|
|
18824
|
+
{
|
|
18825
|
+
"kind": "js",
|
|
18826
|
+
"name": "invisibleButtonRules",
|
|
18827
|
+
"declaration": {
|
|
18828
|
+
"name": "invisibleButtonRules",
|
|
18829
|
+
"module": "src/helpers/css-helpers.ts"
|
|
18830
|
+
}
|
|
18831
|
+
},
|
|
18832
|
+
{
|
|
18833
|
+
"kind": "js",
|
|
18834
|
+
"name": "getInvisibleButtonStyles",
|
|
18835
|
+
"declaration": {
|
|
18836
|
+
"name": "getInvisibleButtonStyles",
|
|
18837
|
+
"module": "src/helpers/css-helpers.ts"
|
|
18838
|
+
}
|
|
18839
|
+
}
|
|
18840
|
+
]
|
|
18841
|
+
},
|
|
18842
|
+
{
|
|
18843
|
+
"kind": "javascript-module",
|
|
18844
|
+
"path": "src/helpers/index.ts",
|
|
18845
|
+
"declarations": [],
|
|
18846
|
+
"exports": [
|
|
18847
|
+
{
|
|
18848
|
+
"kind": "js",
|
|
18849
|
+
"name": "*",
|
|
18850
|
+
"declaration": {
|
|
18851
|
+
"name": "*",
|
|
18852
|
+
"package": "./css-helpers"
|
|
18853
|
+
}
|
|
18854
|
+
}
|
|
18855
|
+
]
|
|
18856
|
+
},
|
|
18767
18857
|
{
|
|
18768
18858
|
"kind": "javascript-module",
|
|
18769
18859
|
"path": "src/layout/flex.ts",
|
|
@@ -18785,9 +18875,8 @@
|
|
|
18785
18875
|
"kind": "field",
|
|
18786
18876
|
"name": "verticalAlign",
|
|
18787
18877
|
"type": {
|
|
18788
|
-
"text": "'top' | 'middle' | 'bottom'"
|
|
18878
|
+
"text": "'top' | 'middle' | 'bottom' | undefined"
|
|
18789
18879
|
},
|
|
18790
|
-
"default": "'top'",
|
|
18791
18880
|
"attribute": "vertical-align",
|
|
18792
18881
|
"reflects": true
|
|
18793
18882
|
}
|
|
@@ -18796,9 +18885,8 @@
|
|
|
18796
18885
|
{
|
|
18797
18886
|
"name": "vertical-align",
|
|
18798
18887
|
"type": {
|
|
18799
|
-
"text": "'top' | 'middle' | 'bottom'"
|
|
18888
|
+
"text": "'top' | 'middle' | 'bottom' | undefined"
|
|
18800
18889
|
},
|
|
18801
|
-
"default": "'top'",
|
|
18802
18890
|
"fieldName": "verticalAlign"
|
|
18803
18891
|
}
|
|
18804
18892
|
],
|
|
@@ -18818,19 +18906,18 @@
|
|
|
18818
18906
|
"kind": "field",
|
|
18819
18907
|
"name": "align",
|
|
18820
18908
|
"type": {
|
|
18821
|
-
"text": "'left' | 'center' | 'right'"
|
|
18909
|
+
"text": "'left' | 'center' | 'right' | undefined"
|
|
18822
18910
|
},
|
|
18823
|
-
"
|
|
18824
|
-
"
|
|
18911
|
+
"attribute": "align",
|
|
18912
|
+
"reflects": true
|
|
18825
18913
|
}
|
|
18826
18914
|
],
|
|
18827
18915
|
"attributes": [
|
|
18828
18916
|
{
|
|
18829
18917
|
"name": "align",
|
|
18830
18918
|
"type": {
|
|
18831
|
-
"text": "'left' | 'center' | 'right'"
|
|
18919
|
+
"text": "'left' | 'center' | 'right' | undefined"
|
|
18832
18920
|
},
|
|
18833
|
-
"default": "'left'",
|
|
18834
18921
|
"fieldName": "align"
|
|
18835
18922
|
}
|
|
18836
18923
|
],
|
|
@@ -19258,7 +19345,7 @@
|
|
|
19258
19345
|
},
|
|
19259
19346
|
{
|
|
19260
19347
|
"kind": "class",
|
|
19261
|
-
"description": "Split row layout.",
|
|
19348
|
+
"description": "Split flex row layout.",
|
|
19262
19349
|
"name": "SplitRow",
|
|
19263
19350
|
"slots": [
|
|
19264
19351
|
{
|
|
@@ -19515,97 +19602,6 @@
|
|
|
19515
19602
|
}
|
|
19516
19603
|
]
|
|
19517
19604
|
},
|
|
19518
|
-
{
|
|
19519
|
-
"kind": "javascript-module",
|
|
19520
|
-
"path": "src/helpers/css-helpers.ts",
|
|
19521
|
-
"declarations": [
|
|
19522
|
-
{
|
|
19523
|
-
"kind": "function",
|
|
19524
|
-
"name": "getFocusStyles",
|
|
19525
|
-
"parameters": [
|
|
19526
|
-
{
|
|
19527
|
-
"name": "selector",
|
|
19528
|
-
"type": {
|
|
19529
|
-
"text": "string"
|
|
19530
|
-
},
|
|
19531
|
-
"description": "A CSS selector targeting an interactive element."
|
|
19532
|
-
},
|
|
19533
|
-
{
|
|
19534
|
-
"name": "extraRules",
|
|
19535
|
-
"default": "css``",
|
|
19536
|
-
"description": "Optional rules to append. Useful for overrides."
|
|
19537
|
-
}
|
|
19538
|
-
],
|
|
19539
|
-
"description": "Returns a CSSResult applying focus outline styles to a given interactive\nelement. Reduces repetition throughout multiple components.\n\nTargets modern `:focus-visible` by default and includes a `:focus` fallback\nfor older browsers."
|
|
19540
|
-
},
|
|
19541
|
-
{
|
|
19542
|
-
"kind": "variable",
|
|
19543
|
-
"name": "invisibleButtonRules",
|
|
19544
|
-
"default": "css`\n background: none;\n border: 0;\n border-radius: var(--brz-border-radius-default);\n color: var(--brz-color-neutral-750);\n cursor: pointer;\n display: inline-flex;\n font: inherit;\n margin: 0;\n padding: 0;\n`",
|
|
19545
|
-
"description": "CSS rules to apply invisible styles to buttons. Use within a CSS declaration\nblock."
|
|
19546
|
-
},
|
|
19547
|
-
{
|
|
19548
|
-
"kind": "function",
|
|
19549
|
-
"name": "getInvisibleButtonStyles",
|
|
19550
|
-
"parameters": [
|
|
19551
|
-
{
|
|
19552
|
-
"name": "selector",
|
|
19553
|
-
"type": {
|
|
19554
|
-
"text": "string"
|
|
19555
|
-
},
|
|
19556
|
-
"description": "A CSS selector targeting a button"
|
|
19557
|
-
},
|
|
19558
|
-
{
|
|
19559
|
-
"name": "extraRules",
|
|
19560
|
-
"default": "css``",
|
|
19561
|
-
"description": "Optional rules to append. Useful for overrides."
|
|
19562
|
-
}
|
|
19563
|
-
],
|
|
19564
|
-
"description": "Returns a CSSResult applying invisible styles to a button matching the given\nselector. Invisible buttons are a common pattern for icon-only close buttons.\n\nSince this applies to buttons, default focus styles are also automatically\nincluded for the selector. If you don't need them, or need to customise them,\nuse `invisibleButtonStyles` and `getFocusStyles()` separately instead."
|
|
19565
|
-
}
|
|
19566
|
-
],
|
|
19567
|
-
"exports": [
|
|
19568
|
-
{
|
|
19569
|
-
"kind": "js",
|
|
19570
|
-
"name": "getFocusStyles",
|
|
19571
|
-
"declaration": {
|
|
19572
|
-
"name": "getFocusStyles",
|
|
19573
|
-
"module": "src/helpers/css-helpers.ts"
|
|
19574
|
-
}
|
|
19575
|
-
},
|
|
19576
|
-
{
|
|
19577
|
-
"kind": "js",
|
|
19578
|
-
"name": "invisibleButtonRules",
|
|
19579
|
-
"declaration": {
|
|
19580
|
-
"name": "invisibleButtonRules",
|
|
19581
|
-
"module": "src/helpers/css-helpers.ts"
|
|
19582
|
-
}
|
|
19583
|
-
},
|
|
19584
|
-
{
|
|
19585
|
-
"kind": "js",
|
|
19586
|
-
"name": "getInvisibleButtonStyles",
|
|
19587
|
-
"declaration": {
|
|
19588
|
-
"name": "getInvisibleButtonStyles",
|
|
19589
|
-
"module": "src/helpers/css-helpers.ts"
|
|
19590
|
-
}
|
|
19591
|
-
}
|
|
19592
|
-
]
|
|
19593
|
-
},
|
|
19594
|
-
{
|
|
19595
|
-
"kind": "javascript-module",
|
|
19596
|
-
"path": "src/helpers/index.ts",
|
|
19597
|
-
"declarations": [],
|
|
19598
|
-
"exports": [
|
|
19599
|
-
{
|
|
19600
|
-
"kind": "js",
|
|
19601
|
-
"name": "*",
|
|
19602
|
-
"declaration": {
|
|
19603
|
-
"name": "*",
|
|
19604
|
-
"package": "./css-helpers"
|
|
19605
|
-
}
|
|
19606
|
-
}
|
|
19607
|
-
]
|
|
19608
|
-
},
|
|
19609
19605
|
{
|
|
19610
19606
|
"kind": "javascript-module",
|
|
19611
19607
|
"path": "src/mixins/component-utils.ts",
|
|
@@ -177,7 +177,7 @@
|
|
|
177
177
|
background-color: var(--brz-color-white);
|
|
178
178
|
color: var(--brz-color-text);
|
|
179
179
|
}
|
|
180
|
-
`;Ao([R({type:Number,attribute:"delay-on-close"})],exports.Tooltip.prototype,"delayOnClose",2);Ao([R({type:Number,attribute:"delay-on-open"})],exports.Tooltip.prototype,"delayOnOpen",2);Ao([R({type:Boolean,attribute:"is-fixed"})],exports.Tooltip.prototype,"isFixed",2);Ao([R({type:String})],exports.Tooltip.prototype,"placement",2);Ao([R({type:String})],exports.Tooltip.prototype,"trigger",2);Ao([R({type:Boolean})],exports.Tooltip.prototype,"disabled",2);Ao([R({type:String})],exports.Tooltip.prototype,"content",2);Ao([R({type:String,reflect:!0})],exports.Tooltip.prototype,"theme",2);exports.Tooltip=Ao([X(Vh)],exports.Tooltip);var z3=Object.defineProperty,L3=Object.getOwnPropertyDescriptor,yi=(s,i,l,d)=>{for(var c=d>1?void 0:d?L3(i,l):i,g=s.length-1,b;g>=0;g--)(b=s[g])&&(c=(d?b(i,l,c):b(c))||c);return d&&c&&z3(i,l,c),c};const jh=Le("avatar"),Kh=Le("avatar-group");var E0=(s=>(s[s.tiny=0]="tiny",s[s.small=1]="small",s[s.medium=2]="medium",s[s.large=3]="large",s))(E0||{}),Yh=(s=>(s[s.solid=0]="solid",s[s.subtle=1]="subtle",s[s.border=2]="border",s))(Yh||{});exports.Avatar=class extends Be{constructor(){super(...arguments),this.hasOuterBorder=!1,this.isPlaceholderHidden=!1,this.label="",this.noTooltip=!1,this.size="medium",this.theme="solid",this.slottedElementsCount=0}handleSlotChange({target:s}){const i=s==null?void 0:s.assignedElements({flatten:!0});this.slottedElementsCount=i.length}get abbreviatedLabel(){if(!this.label||this.isPlaceholderHidden)return"";const i=E0[this.size]<2?1:2;return this.label.split(" ").slice(0,i).map(l=>l.charAt(0)).join("").toUpperCase()}get iconTemplate(){const s=E0[this.size],i=()=>{switch(s){case 3:return 20;case 2:case 1:return 10;case 0:return 6.5}};return j`
|
|
180
|
+
`;Ao([R({type:Number,attribute:"delay-on-close"})],exports.Tooltip.prototype,"delayOnClose",2);Ao([R({type:Number,attribute:"delay-on-open"})],exports.Tooltip.prototype,"delayOnOpen",2);Ao([R({type:Boolean,attribute:"is-fixed",reflect:!0})],exports.Tooltip.prototype,"isFixed",2);Ao([R({type:String})],exports.Tooltip.prototype,"placement",2);Ao([R({type:String})],exports.Tooltip.prototype,"trigger",2);Ao([R({type:Boolean})],exports.Tooltip.prototype,"disabled",2);Ao([R({type:String})],exports.Tooltip.prototype,"content",2);Ao([R({type:String,reflect:!0})],exports.Tooltip.prototype,"theme",2);exports.Tooltip=Ao([X(Vh)],exports.Tooltip);var z3=Object.defineProperty,L3=Object.getOwnPropertyDescriptor,yi=(s,i,l,d)=>{for(var c=d>1?void 0:d?L3(i,l):i,g=s.length-1,b;g>=0;g--)(b=s[g])&&(c=(d?b(i,l,c):b(c))||c);return d&&c&&z3(i,l,c),c};const jh=Le("avatar"),Kh=Le("avatar-group");var E0=(s=>(s[s.tiny=0]="tiny",s[s.small=1]="small",s[s.medium=2]="medium",s[s.large=3]="large",s))(E0||{}),Yh=(s=>(s[s.solid=0]="solid",s[s.subtle=1]="subtle",s[s.border=2]="border",s))(Yh||{});exports.Avatar=class extends Be{constructor(){super(...arguments),this.hasOuterBorder=!1,this.isPlaceholderHidden=!1,this.label="",this.noTooltip=!1,this.size="medium",this.theme="solid",this.slottedElementsCount=0}handleSlotChange({target:s}){const i=s==null?void 0:s.assignedElements({flatten:!0});this.slottedElementsCount=i.length}get abbreviatedLabel(){if(!this.label||this.isPlaceholderHidden)return"";const i=E0[this.size]<2?1:2;return this.label.split(" ").slice(0,i).map(l=>l.charAt(0)).join("").toUpperCase()}get iconTemplate(){const s=E0[this.size],i=()=>{switch(s){case 3:return 20;case 2:case 1:return 10;case 0:return 6.5}};return j`
|
|
181
181
|
<span class="icon" aria-label=${this.label}>
|
|
182
182
|
<brz-icon size=${i()} icon=${zt(this.icon)}></brz-icon>
|
|
183
183
|
</span>
|
|
@@ -1230,11 +1230,10 @@
|
|
|
1230
1230
|
</button>
|
|
1231
1231
|
|
|
1232
1232
|
${this.externalIcon}
|
|
1233
|
-
`}render(){switch(this.element){case"button":return this.buttonTemplate;case"a":default:return this.anchorTemplate}}};exports.Link.styles=[Fd,Z3,U3];$o([R()],exports.Link.prototype,"element",2);$o([R({type:Boolean,reflect:!0})],exports.Link.prototype,"virtual",2);$o([R({type:String,reflect:!0})],exports.Link.prototype,"href",2);$o([R({type:String,attribute:"link-type",reflect:!0})],exports.Link.prototype,"linkType",2);$o([R({type:String,reflect:!0})],exports.Link.prototype,"target",2);$o([R({type:String,reflect:!0})],exports.Link.prototype,"rel",2);$o([R({type:Boolean,attribute:"is-external",reflect:!0})],exports.Link.prototype,"isExternal",2);exports.Link=$o([X(ep)],exports.Link);exports.LinkButton=class extends exports.Link{connectedCallback(){super.connectedCallback(),this.element="button"}};exports.LinkButton=$o([X(tp)],exports.LinkButton);var V3=Object.defineProperty,q3=Object.getOwnPropertyDescriptor,Z0=(s,i,l,d)=>{for(var c=d>1?void 0:d?q3(i,l):i,g=s.length-1,b;g>=0;g--)(b=s[g])&&(c=(d?b(i,l,c):b(c))||c);return d&&c&&V3(i,l,c),c};const rp=Le("row"),np=Le("column");exports.Row=class extends Be{
|
|
1233
|
+
`}render(){switch(this.element){case"button":return this.buttonTemplate;case"a":default:return this.anchorTemplate}}};exports.Link.styles=[Fd,Z3,U3];$o([R()],exports.Link.prototype,"element",2);$o([R({type:Boolean,reflect:!0})],exports.Link.prototype,"virtual",2);$o([R({type:String,reflect:!0})],exports.Link.prototype,"href",2);$o([R({type:String,attribute:"link-type",reflect:!0})],exports.Link.prototype,"linkType",2);$o([R({type:String,reflect:!0})],exports.Link.prototype,"target",2);$o([R({type:String,reflect:!0})],exports.Link.prototype,"rel",2);$o([R({type:Boolean,attribute:"is-external",reflect:!0})],exports.Link.prototype,"isExternal",2);exports.Link=$o([X(ep)],exports.Link);exports.LinkButton=class extends exports.Link{connectedCallback(){super.connectedCallback(),this.element="button"}};exports.LinkButton=$o([X(tp)],exports.LinkButton);var V3=Object.defineProperty,q3=Object.getOwnPropertyDescriptor,Z0=(s,i,l,d)=>{for(var c=d>1?void 0:d?q3(i,l):i,g=s.length-1,b;g>=0;g--)(b=s[g])&&(c=(d?b(i,l,c):b(c))||c);return d&&c&&V3(i,l,c),c};const rp=Le("row"),np=Le("column");exports.Row=class extends Be{render(){return j`<slot></slot>`}};exports.Row.styles=ue`
|
|
1234
1234
|
:host {
|
|
1235
1235
|
display: flex;
|
|
1236
1236
|
flex-direction: row;
|
|
1237
|
-
align-items: flex-start;
|
|
1238
1237
|
--sp-row-spacing: var(--brz-spacing-4);
|
|
1239
1238
|
column-gap: var(--brz-row-spacing, var(--sp-row-spacing));
|
|
1240
1239
|
}
|
|
@@ -1250,11 +1249,10 @@
|
|
|
1250
1249
|
:host([vertical-align='bottom']) {
|
|
1251
1250
|
align-items: flex-end;
|
|
1252
1251
|
}
|
|
1253
|
-
`;Z0([R({
|
|
1252
|
+
`;Z0([R({attribute:"vertical-align",reflect:!0})],exports.Row.prototype,"verticalAlign",2);exports.Row=Z0([X(rp)],exports.Row);exports.Column=class extends Be{render(){return j`<slot></slot>`}};exports.Column.styles=ue`
|
|
1254
1253
|
:host {
|
|
1255
1254
|
display: flex;
|
|
1256
1255
|
flex-direction: column;
|
|
1257
|
-
align-items: flex-start;
|
|
1258
1256
|
--sp-column-spacing: var(--brz-spacing-4);
|
|
1259
1257
|
row-gap: var(--brz-column-spacing, var(--sp-column-spacing));
|
|
1260
1258
|
}
|
|
@@ -1270,7 +1268,7 @@
|
|
|
1270
1268
|
:host([align='right']) {
|
|
1271
1269
|
align-items: flex-end;
|
|
1272
1270
|
}
|
|
1273
|
-
`;Z0([R({
|
|
1271
|
+
`;Z0([R({reflect:!0})],exports.Column.prototype,"align",2);exports.Column=Z0([X(np)],exports.Column);var j3=Object.defineProperty,K3=Object.getOwnPropertyDescriptor,ip=(s,i,l,d)=>{for(var c=d>1?void 0:d?K3(i,l):i,g=s.length-1,b;g>=0;g--)(b=s[g])&&(c=(d?b(i,l,c):b(c))||c);return d&&c&&j3(i,l,c),c};const op=Le("loading-spinner");exports.LoadingSpinner=class extends Be{constructor(){super(...arguments),this.size=24}render(){return j`
|
|
1274
1272
|
<div class="loading-spinner">
|
|
1275
1273
|
<svg
|
|
1276
1274
|
class="loading-spinner--circular"
|
|
@@ -2301,11 +2299,13 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
2301
2299
|
</brz-row>
|
|
2302
2300
|
`}};exports.SplitRow.styles=ue`
|
|
2303
2301
|
:host {
|
|
2304
|
-
display:
|
|
2302
|
+
display: flex;
|
|
2303
|
+
align-items: center;
|
|
2305
2304
|
}
|
|
2306
2305
|
|
|
2307
2306
|
brz-row {
|
|
2308
2307
|
justify-content: space-between;
|
|
2308
|
+
flex: 1;
|
|
2309
2309
|
}
|
|
2310
2310
|
|
|
2311
2311
|
:host([expand-y]) {
|
|
@@ -2314,7 +2314,6 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
2314
2314
|
|
|
2315
2315
|
:host([expand-y]) brz-row {
|
|
2316
2316
|
height: 100%;
|
|
2317
|
-
align-items: stretch;
|
|
2318
2317
|
}
|
|
2319
2318
|
|
|
2320
2319
|
:host([no-gap]) {
|
|
@@ -2341,6 +2340,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
2341
2340
|
brz-split-row {
|
|
2342
2341
|
padding: var(--brz-spacing-2) var(--brz-spacing-5);
|
|
2343
2342
|
box-shadow: inset 0 -1px 0 var(--brz-color-neutral-300);
|
|
2343
|
+
min-height: var(--brz-spacing-9);
|
|
2344
2344
|
}
|
|
2345
2345
|
|
|
2346
2346
|
:host([no-border]) brz-split-row {
|
package/dist/lib/es/breeze-ui.js
CHANGED
|
@@ -2136,7 +2136,7 @@ ra([
|
|
|
2136
2136
|
N({ type: Number, attribute: "delay-on-open" })
|
|
2137
2137
|
], ci.prototype, "delayOnOpen", 2);
|
|
2138
2138
|
ra([
|
|
2139
|
-
N({ type: Boolean, attribute: "is-fixed" })
|
|
2139
|
+
N({ type: Boolean, attribute: "is-fixed", reflect: !0 })
|
|
2140
2140
|
], ci.prototype, "isFixed", 2);
|
|
2141
2141
|
ra([
|
|
2142
2142
|
N({ type: String })
|
|
@@ -3708,9 +3708,6 @@ var H7 = Object.defineProperty, B7 = Object.getOwnPropertyDescriptor, Q1 = (s, i
|
|
|
3708
3708
|
};
|
|
3709
3709
|
const F7 = Le("row"), W7 = Le("column");
|
|
3710
3710
|
let $c = class extends Be {
|
|
3711
|
-
constructor() {
|
|
3712
|
-
super(...arguments), this.verticalAlign = "top";
|
|
3713
|
-
}
|
|
3714
3711
|
render() {
|
|
3715
3712
|
return j`<slot></slot>`;
|
|
3716
3713
|
}
|
|
@@ -3719,7 +3716,6 @@ $c.styles = ue`
|
|
|
3719
3716
|
:host {
|
|
3720
3717
|
display: flex;
|
|
3721
3718
|
flex-direction: row;
|
|
3722
|
-
align-items: flex-start;
|
|
3723
3719
|
--sp-row-spacing: var(--brz-spacing-4);
|
|
3724
3720
|
column-gap: var(--brz-row-spacing, var(--sp-row-spacing));
|
|
3725
3721
|
}
|
|
@@ -3737,15 +3733,12 @@ $c.styles = ue`
|
|
|
3737
3733
|
}
|
|
3738
3734
|
`;
|
|
3739
3735
|
Q1([
|
|
3740
|
-
N({
|
|
3736
|
+
N({ attribute: "vertical-align", reflect: !0 })
|
|
3741
3737
|
], $c.prototype, "verticalAlign", 2);
|
|
3742
3738
|
$c = Q1([
|
|
3743
3739
|
X(F7)
|
|
3744
3740
|
], $c);
|
|
3745
3741
|
let Ac = class extends Be {
|
|
3746
|
-
constructor() {
|
|
3747
|
-
super(...arguments), this.align = "left";
|
|
3748
|
-
}
|
|
3749
3742
|
render() {
|
|
3750
3743
|
return j`<slot></slot>`;
|
|
3751
3744
|
}
|
|
@@ -3754,7 +3747,6 @@ Ac.styles = ue`
|
|
|
3754
3747
|
:host {
|
|
3755
3748
|
display: flex;
|
|
3756
3749
|
flex-direction: column;
|
|
3757
|
-
align-items: flex-start;
|
|
3758
3750
|
--sp-column-spacing: var(--brz-spacing-4);
|
|
3759
3751
|
row-gap: var(--brz-column-spacing, var(--sp-column-spacing));
|
|
3760
3752
|
}
|
|
@@ -3772,7 +3764,7 @@ Ac.styles = ue`
|
|
|
3772
3764
|
}
|
|
3773
3765
|
`;
|
|
3774
3766
|
Q1([
|
|
3775
|
-
N({
|
|
3767
|
+
N({ reflect: !0 })
|
|
3776
3768
|
], Ac.prototype, "align", 2);
|
|
3777
3769
|
Ac = Q1([
|
|
3778
3770
|
X(W7)
|
|
@@ -9795,11 +9787,13 @@ let Qo = class extends Be {
|
|
|
9795
9787
|
};
|
|
9796
9788
|
Qo.styles = ue`
|
|
9797
9789
|
:host {
|
|
9798
|
-
display:
|
|
9790
|
+
display: flex;
|
|
9791
|
+
align-items: center;
|
|
9799
9792
|
}
|
|
9800
9793
|
|
|
9801
9794
|
brz-row {
|
|
9802
9795
|
justify-content: space-between;
|
|
9796
|
+
flex: 1;
|
|
9803
9797
|
}
|
|
9804
9798
|
|
|
9805
9799
|
:host([expand-y]) {
|
|
@@ -9808,7 +9802,6 @@ Qo.styles = ue`
|
|
|
9808
9802
|
|
|
9809
9803
|
:host([expand-y]) brz-row {
|
|
9810
9804
|
height: 100%;
|
|
9811
|
-
align-items: stretch;
|
|
9812
9805
|
}
|
|
9813
9806
|
|
|
9814
9807
|
:host([no-gap]) {
|
|
@@ -9862,6 +9855,7 @@ Zl.styles = ue`
|
|
|
9862
9855
|
brz-split-row {
|
|
9863
9856
|
padding: var(--brz-spacing-2) var(--brz-spacing-5);
|
|
9864
9857
|
box-shadow: inset 0 -1px 0 var(--brz-color-neutral-300);
|
|
9858
|
+
min-height: var(--brz-spacing-9);
|
|
9865
9859
|
}
|
|
9866
9860
|
|
|
9867
9861
|
:host([no-border]) brz-split-row {
|