@emuanalytics/flow-rdf-ui 0.0.32 → 0.0.34
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 +3958 -3644
- package/dist/index.cjs +102 -56
- package/dist/index.d.cts +9 -5
- package/dist/index.d.mts +9 -5
- package/dist/index.d.ts +9 -5
- package/dist/index.mjs +101 -56
- package/dist/themes/dark.css +5 -0
- package/dist/themes/dark.styles.js +5 -0
- package/dist/themes/light.css +5 -0
- package/dist/themes/light.styles.js +5 -0
- package/dist/vscode.html-custom-data.json +261 -214
- package/package.json +6 -4
package/dist/index.cjs
CHANGED
|
@@ -3256,8 +3256,11 @@ const buttonStyles = lit.css`
|
|
|
3256
3256
|
white-space: nowrap;
|
|
3257
3257
|
vertical-align: middle;
|
|
3258
3258
|
padding: 0;
|
|
3259
|
-
transition:
|
|
3260
|
-
var(--flow-ui-transition-x-fast)
|
|
3259
|
+
transition:
|
|
3260
|
+
var(--flow-ui-transition-x-fast) background-color,
|
|
3261
|
+
var(--flow-ui-transition-x-fast) color,
|
|
3262
|
+
var(--flow-ui-transition-x-fast) border,
|
|
3263
|
+
var(--flow-ui-transition-x-fast) box-shadow;
|
|
3261
3264
|
cursor: inherit;
|
|
3262
3265
|
}
|
|
3263
3266
|
|
|
@@ -3641,35 +3644,51 @@ const buttonStyles = lit.css`
|
|
|
3641
3644
|
}
|
|
3642
3645
|
|
|
3643
3646
|
/*
|
|
3644
|
-
*
|
|
3647
|
+
* FAB modifier
|
|
3645
3648
|
*/
|
|
3646
3649
|
|
|
3647
|
-
.button--
|
|
3650
|
+
.button--fab {
|
|
3648
3651
|
padding-left: 0;
|
|
3649
3652
|
padding-right: 0;
|
|
3650
3653
|
}
|
|
3651
3654
|
|
|
3652
|
-
.button--
|
|
3655
|
+
.button--fab.button--small {
|
|
3653
3656
|
width: var(--flow-ui-input-height-small);
|
|
3654
|
-
|
|
3657
|
+
box-shadow: var(--flow-ui-shadow-small);
|
|
3655
3658
|
}
|
|
3656
3659
|
|
|
3657
|
-
.button--
|
|
3660
|
+
.button--fab.button--medium {
|
|
3658
3661
|
width: var(--flow-ui-input-height-medium);
|
|
3659
|
-
|
|
3662
|
+
box-shadow: var(--flow-ui-shadow-medium);
|
|
3660
3663
|
}
|
|
3661
3664
|
|
|
3662
|
-
.button--
|
|
3665
|
+
.button--fab.button--large {
|
|
3663
3666
|
width: var(--flow-ui-input-height-large);
|
|
3664
|
-
|
|
3667
|
+
box-shadow: var(--flow-ui-shadow-large);
|
|
3665
3668
|
}
|
|
3666
3669
|
|
|
3667
|
-
.button--
|
|
3668
|
-
.button--
|
|
3669
|
-
.button--
|
|
3670
|
+
.button--fab .button__prefix,
|
|
3671
|
+
.button--fab .button__suffix,
|
|
3672
|
+
.button--fab .button__caret {
|
|
3670
3673
|
display: none;
|
|
3671
3674
|
}
|
|
3672
3675
|
|
|
3676
|
+
.button--circle {
|
|
3677
|
+
border-radius: 50%;
|
|
3678
|
+
}
|
|
3679
|
+
|
|
3680
|
+
.button--square.button--small {
|
|
3681
|
+
border-radius: var(--flow-ui-border-radius-small);
|
|
3682
|
+
}
|
|
3683
|
+
|
|
3684
|
+
.button--square.button--medium {
|
|
3685
|
+
border-radius: var(--flow-ui-border-radius-medium);
|
|
3686
|
+
}
|
|
3687
|
+
|
|
3688
|
+
.button--square.button--large {
|
|
3689
|
+
border-radius: var(--flow-ui-border-radius-large);
|
|
3690
|
+
}
|
|
3691
|
+
|
|
3673
3692
|
/*
|
|
3674
3693
|
* Caret modifier
|
|
3675
3694
|
*/
|
|
@@ -3803,7 +3822,12 @@ const buttonStyles = lit.css`
|
|
|
3803
3822
|
* buttons and we style them here instead.
|
|
3804
3823
|
*/
|
|
3805
3824
|
|
|
3806
|
-
:host(
|
|
3825
|
+
:host(
|
|
3826
|
+
.flow-ui-button-group__button--first:not(.flow-ui-button-group__button--last):not(
|
|
3827
|
+
.flow-ui-button-group__button--vertical
|
|
3828
|
+
)
|
|
3829
|
+
)
|
|
3830
|
+
.button {
|
|
3807
3831
|
border-start-end-radius: 0;
|
|
3808
3832
|
border-end-end-radius: 0;
|
|
3809
3833
|
}
|
|
@@ -3812,13 +3836,21 @@ const buttonStyles = lit.css`
|
|
|
3812
3836
|
border-radius: 0;
|
|
3813
3837
|
}
|
|
3814
3838
|
|
|
3815
|
-
:host(
|
|
3839
|
+
:host(
|
|
3840
|
+
.flow-ui-button-group__button--last:not(
|
|
3841
|
+
.flow-ui-button-group__button--vertical,
|
|
3842
|
+
.flow-ui-button-group__button--first
|
|
3843
|
+
)
|
|
3844
|
+
)
|
|
3845
|
+
.button {
|
|
3816
3846
|
border-start-start-radius: 0;
|
|
3817
3847
|
border-end-start-radius: 0;
|
|
3818
3848
|
}
|
|
3819
3849
|
|
|
3820
3850
|
/* All except the first */
|
|
3821
|
-
:host(
|
|
3851
|
+
:host(
|
|
3852
|
+
.flow-ui-button-group__button:not(.flow-ui-button-group__button--vertical, .flow-ui-button-group__button--first)
|
|
3853
|
+
) {
|
|
3822
3854
|
margin-inline-start: calc(-1 * var(--flow-ui-input-border-width));
|
|
3823
3855
|
}
|
|
3824
3856
|
|
|
@@ -3828,8 +3860,7 @@ const buttonStyles = lit.css`
|
|
|
3828
3860
|
.flow-ui-button-group__button--first,
|
|
3829
3861
|
.flow-ui-button-group__button--radio,
|
|
3830
3862
|
.flow-ui-button-group__button--tool,
|
|
3831
|
-
.flow-ui-button-group__button--vertical
|
|
3832
|
-
[variant='default']
|
|
3863
|
+
.flow-ui-button-group__button--vertical [variant='default']
|
|
3833
3864
|
):not(:hover)
|
|
3834
3865
|
)
|
|
3835
3866
|
.button:after {
|
|
@@ -3843,7 +3874,12 @@ const buttonStyles = lit.css`
|
|
|
3843
3874
|
}
|
|
3844
3875
|
|
|
3845
3876
|
/* Variants for vertical layout of button group */
|
|
3846
|
-
:host(
|
|
3877
|
+
:host(
|
|
3878
|
+
.flow-ui-button-group__button--vertical.flow-ui-button-group__button--first:not(
|
|
3879
|
+
.flow-ui-button-group__button--last
|
|
3880
|
+
)
|
|
3881
|
+
)
|
|
3882
|
+
.button {
|
|
3847
3883
|
border-end-start-radius: 0;
|
|
3848
3884
|
border-end-end-radius: 0;
|
|
3849
3885
|
}
|
|
@@ -3857,7 +3893,6 @@ const buttonStyles = lit.css`
|
|
|
3857
3893
|
margin-block-start: calc(-1 * var(--flow-ui-input-border-width));
|
|
3858
3894
|
}
|
|
3859
3895
|
|
|
3860
|
-
|
|
3861
3896
|
/* Bump hovered, focused, and checked buttons up so their focus ring isn't clipped */
|
|
3862
3897
|
:host(.flow-ui-button-group__button--hover) {
|
|
3863
3898
|
z-index: 1;
|
|
@@ -3868,7 +3903,8 @@ const buttonStyles = lit.css`
|
|
|
3868
3903
|
z-index: 2;
|
|
3869
3904
|
}
|
|
3870
3905
|
|
|
3871
|
-
:host(.flow-ui-button-group__button--focus),
|
|
3906
|
+
:host(.flow-ui-button-group__button--focus),
|
|
3907
|
+
:host(.flow-ui-button-group__button--focus[checked]) {
|
|
3872
3908
|
z-index: 3;
|
|
3873
3909
|
}
|
|
3874
3910
|
`;
|
|
@@ -3884,7 +3920,7 @@ var __decorateClass$R = (decorators, target, key, kind) => {
|
|
|
3884
3920
|
__defProp$R(target, key, result);
|
|
3885
3921
|
return result;
|
|
3886
3922
|
};
|
|
3887
|
-
|
|
3923
|
+
let FlowButton$1 = class FlowButton extends FlowRdfElement {
|
|
3888
3924
|
constructor() {
|
|
3889
3925
|
super(...arguments);
|
|
3890
3926
|
this.formControlController = new FormControlController(this, {
|
|
@@ -3910,7 +3946,8 @@ exports.FlowButton = class FlowButton extends FlowRdfElement {
|
|
|
3910
3946
|
this.loading = false;
|
|
3911
3947
|
this.outline = false;
|
|
3912
3948
|
this.pill = false;
|
|
3913
|
-
this.
|
|
3949
|
+
this.fabCircle = false;
|
|
3950
|
+
this.fabSquare = false;
|
|
3914
3951
|
this.type = "button";
|
|
3915
3952
|
this.name = "";
|
|
3916
3953
|
this.value = "";
|
|
@@ -4039,7 +4076,9 @@ exports.FlowButton = class FlowButton extends FlowRdfElement {
|
|
|
4039
4076
|
"button--medium": this.size === "medium",
|
|
4040
4077
|
"button--large": this.size === "large",
|
|
4041
4078
|
"button--caret": this.caret,
|
|
4042
|
-
"button--
|
|
4079
|
+
"button--fab": this.fabCircle || this.fabSquare,
|
|
4080
|
+
"button--circle": this.fabCircle,
|
|
4081
|
+
"button--square": this.fabSquare,
|
|
4043
4082
|
"button--disabled": this.disabled,
|
|
4044
4083
|
"button--focused": this.hasFocus,
|
|
4045
4084
|
"button--loading": this.loading,
|
|
@@ -4081,88 +4120,94 @@ exports.FlowButton = class FlowButton extends FlowRdfElement {
|
|
|
4081
4120
|
`;
|
|
4082
4121
|
}
|
|
4083
4122
|
};
|
|
4084
|
-
|
|
4123
|
+
FlowButton$1.styles = buttonStyles;
|
|
4085
4124
|
__decorateClass$R([
|
|
4086
4125
|
decorators_js.query(".button")
|
|
4087
|
-
],
|
|
4126
|
+
], FlowButton$1.prototype, "button", 2);
|
|
4088
4127
|
__decorateClass$R([
|
|
4089
4128
|
decorators_js.state()
|
|
4090
|
-
],
|
|
4129
|
+
], FlowButton$1.prototype, "hasFocus", 2);
|
|
4091
4130
|
__decorateClass$R([
|
|
4092
4131
|
decorators_js.state()
|
|
4093
|
-
],
|
|
4132
|
+
], FlowButton$1.prototype, "invalid", 2);
|
|
4094
4133
|
__decorateClass$R([
|
|
4095
4134
|
decorators_js.property()
|
|
4096
|
-
],
|
|
4135
|
+
], FlowButton$1.prototype, "title", 2);
|
|
4097
4136
|
__decorateClass$R([
|
|
4098
4137
|
decorators_js.property({ reflect: true })
|
|
4099
|
-
],
|
|
4138
|
+
], FlowButton$1.prototype, "variant", 2);
|
|
4100
4139
|
__decorateClass$R([
|
|
4101
4140
|
decorators_js.property({ reflect: true })
|
|
4102
|
-
],
|
|
4141
|
+
], FlowButton$1.prototype, "size", 2);
|
|
4103
4142
|
__decorateClass$R([
|
|
4104
4143
|
decorators_js.property({ type: Boolean, reflect: true })
|
|
4105
|
-
],
|
|
4144
|
+
], FlowButton$1.prototype, "caret", 2);
|
|
4106
4145
|
__decorateClass$R([
|
|
4107
4146
|
decorators_js.property({ type: Boolean, reflect: true })
|
|
4108
|
-
],
|
|
4147
|
+
], FlowButton$1.prototype, "disabled", 2);
|
|
4109
4148
|
__decorateClass$R([
|
|
4110
4149
|
decorators_js.property({ type: Boolean, reflect: true })
|
|
4111
|
-
],
|
|
4150
|
+
], FlowButton$1.prototype, "loading", 2);
|
|
4112
4151
|
__decorateClass$R([
|
|
4113
4152
|
decorators_js.property({ type: Boolean, reflect: true })
|
|
4114
|
-
],
|
|
4153
|
+
], FlowButton$1.prototype, "outline", 2);
|
|
4115
4154
|
__decorateClass$R([
|
|
4116
4155
|
decorators_js.property({ type: Boolean, reflect: true })
|
|
4117
|
-
],
|
|
4156
|
+
], FlowButton$1.prototype, "pill", 2);
|
|
4118
4157
|
__decorateClass$R([
|
|
4119
|
-
decorators_js.property({ type: Boolean, reflect: true })
|
|
4120
|
-
],
|
|
4158
|
+
decorators_js.property({ type: Boolean, reflect: true, attribute: "fab-circle" })
|
|
4159
|
+
], FlowButton$1.prototype, "fabCircle", 2);
|
|
4160
|
+
__decorateClass$R([
|
|
4161
|
+
decorators_js.property({ type: Boolean, reflect: true, attribute: "fab-square" })
|
|
4162
|
+
], FlowButton$1.prototype, "fabSquare", 2);
|
|
4121
4163
|
__decorateClass$R([
|
|
4122
4164
|
decorators_js.property()
|
|
4123
|
-
],
|
|
4165
|
+
], FlowButton$1.prototype, "type", 2);
|
|
4124
4166
|
__decorateClass$R([
|
|
4125
4167
|
decorators_js.property()
|
|
4126
|
-
],
|
|
4168
|
+
], FlowButton$1.prototype, "name", 2);
|
|
4127
4169
|
__decorateClass$R([
|
|
4128
4170
|
decorators_js.property()
|
|
4129
|
-
],
|
|
4171
|
+
], FlowButton$1.prototype, "value", 2);
|
|
4130
4172
|
__decorateClass$R([
|
|
4131
4173
|
decorators_js.property()
|
|
4132
|
-
],
|
|
4174
|
+
], FlowButton$1.prototype, "href", 2);
|
|
4133
4175
|
__decorateClass$R([
|
|
4134
4176
|
decorators_js.property()
|
|
4135
|
-
],
|
|
4177
|
+
], FlowButton$1.prototype, "target", 2);
|
|
4136
4178
|
__decorateClass$R([
|
|
4137
4179
|
decorators_js.property()
|
|
4138
|
-
],
|
|
4180
|
+
], FlowButton$1.prototype, "rel", 2);
|
|
4139
4181
|
__decorateClass$R([
|
|
4140
4182
|
decorators_js.property()
|
|
4141
|
-
],
|
|
4183
|
+
], FlowButton$1.prototype, "download", 2);
|
|
4142
4184
|
__decorateClass$R([
|
|
4143
4185
|
decorators_js.property()
|
|
4144
|
-
],
|
|
4186
|
+
], FlowButton$1.prototype, "form", 2);
|
|
4145
4187
|
__decorateClass$R([
|
|
4146
4188
|
decorators_js.property({ attribute: "formaction" })
|
|
4147
|
-
],
|
|
4189
|
+
], FlowButton$1.prototype, "formAction", 2);
|
|
4148
4190
|
__decorateClass$R([
|
|
4149
4191
|
decorators_js.property({ attribute: "formenctype" })
|
|
4150
|
-
],
|
|
4192
|
+
], FlowButton$1.prototype, "formEnctype", 2);
|
|
4151
4193
|
__decorateClass$R([
|
|
4152
4194
|
decorators_js.property({ attribute: "formmethod" })
|
|
4153
|
-
],
|
|
4195
|
+
], FlowButton$1.prototype, "formMethod", 2);
|
|
4154
4196
|
__decorateClass$R([
|
|
4155
4197
|
decorators_js.property({ attribute: "formnovalidate", type: Boolean })
|
|
4156
|
-
],
|
|
4198
|
+
], FlowButton$1.prototype, "formNoValidate", 2);
|
|
4157
4199
|
__decorateClass$R([
|
|
4158
4200
|
decorators_js.property({ attribute: "formtarget" })
|
|
4159
|
-
],
|
|
4201
|
+
], FlowButton$1.prototype, "formTarget", 2);
|
|
4160
4202
|
__decorateClass$R([
|
|
4161
4203
|
watch("disabled", { waitUntilFirstUpdate: true })
|
|
4162
|
-
],
|
|
4163
|
-
|
|
4204
|
+
], FlowButton$1.prototype, "handleDisabledChange", 1);
|
|
4205
|
+
FlowButton$1 = __decorateClass$R([
|
|
4164
4206
|
decorators_js.customElement("flow-ui-button")
|
|
4165
|
-
],
|
|
4207
|
+
], FlowButton$1);
|
|
4208
|
+
|
|
4209
|
+
const FlowButton = FlowButton$1;
|
|
4210
|
+
FlowButton$1.define("flow-ui-button");
|
|
4166
4211
|
|
|
4167
4212
|
const isUndefined = (val) => typeof val === "undefined";
|
|
4168
4213
|
const isNull = (val) => val === null;
|
|
@@ -13122,7 +13167,7 @@ function transformRuleSet(ruleSet, transformFn, clone = true) {
|
|
|
13122
13167
|
return ruleSet;
|
|
13123
13168
|
}
|
|
13124
13169
|
const isRule = (r) => isObjectFull(r) && "field" in r;
|
|
13125
|
-
const isRuleSet = (r) => isObjectFull(r) && "
|
|
13170
|
+
const isRuleSet = (r) => isObjectFull(r) && "rules" in r;
|
|
13126
13171
|
const isRuleOrRuleset = (r) => isRule(r) || isRuleSet(r);
|
|
13127
13172
|
|
|
13128
13173
|
function whereClausesFromRuleSet(rule, config, options) {
|
|
@@ -23377,7 +23422,7 @@ const translation = {
|
|
|
23377
23422
|
};
|
|
23378
23423
|
localize.registerTranslation(translation);
|
|
23379
23424
|
|
|
23380
|
-
const version = "0.0.
|
|
23425
|
+
const version = "0.0.34";
|
|
23381
23426
|
|
|
23382
23427
|
const CONSOLE_HIGHLIGHT_STYLE = `
|
|
23383
23428
|
padding: 2px 4px;
|
|
@@ -23393,6 +23438,7 @@ announce();
|
|
|
23393
23438
|
exports.ChartJs = chart_js.Chart;
|
|
23394
23439
|
exports.FlowAlert = FlowAlert;
|
|
23395
23440
|
exports.FlowAnimation = SlAnimation;
|
|
23441
|
+
exports.FlowButton = FlowButton;
|
|
23396
23442
|
exports.FlowCalendar = FlowCalendar;
|
|
23397
23443
|
exports.FlowChart = FlowChart;
|
|
23398
23444
|
exports.FlowDateTimePicker = FlowDatetimePicker;
|
package/dist/index.d.cts
CHANGED
|
@@ -768,10 +768,8 @@ declare global {
|
|
|
768
768
|
}
|
|
769
769
|
|
|
770
770
|
/**
|
|
771
|
+
* @tagname flow-ui-button
|
|
771
772
|
* @summary Buttons represent actions that are available to the user.
|
|
772
|
-
* @documentation https://developer.emu-analytics.net/docs/flow-ui-rdf/components/button
|
|
773
|
-
* @status stable
|
|
774
|
-
* @since 2.0
|
|
775
773
|
*
|
|
776
774
|
* @dependency flow-ui-icon
|
|
777
775
|
* @dependency flow-ui-spinner
|
|
@@ -814,10 +812,15 @@ declare class FlowButton extends FlowRdfElement implements FlowRdfFormControl {
|
|
|
814
812
|
/** Draws a pill-style button with rounded edges. */
|
|
815
813
|
pill: boolean;
|
|
816
814
|
/**
|
|
817
|
-
* Draws a circular
|
|
815
|
+
* Draws a circular FAB. When this attribute is present, the button expects a single `<flow-ui-icon>` in the
|
|
816
|
+
* default slot.
|
|
817
|
+
*/
|
|
818
|
+
fabCircle: boolean;
|
|
819
|
+
/**
|
|
820
|
+
* Draws a square FAB. When this attribute is present, the button expects a single `<flow-ui-icon>` in the
|
|
818
821
|
* default slot.
|
|
819
822
|
*/
|
|
820
|
-
|
|
823
|
+
fabSquare: boolean;
|
|
821
824
|
/**
|
|
822
825
|
* The type of button. Note that the default value is `button` instead of `submit`, which is opposite of how native
|
|
823
826
|
* `<button>` elements behave. When the type is `submit`, the button will submit the surrounding form.
|
|
@@ -892,6 +895,7 @@ declare class FlowButton extends FlowRdfElement implements FlowRdfFormControl {
|
|
|
892
895
|
setCustomValidity(message: string): void;
|
|
893
896
|
render(): lit.TemplateResult;
|
|
894
897
|
}
|
|
898
|
+
|
|
895
899
|
declare global {
|
|
896
900
|
interface HTMLElementTagNameMap {
|
|
897
901
|
'flow-ui-button': FlowButton;
|
package/dist/index.d.mts
CHANGED
|
@@ -768,10 +768,8 @@ declare global {
|
|
|
768
768
|
}
|
|
769
769
|
|
|
770
770
|
/**
|
|
771
|
+
* @tagname flow-ui-button
|
|
771
772
|
* @summary Buttons represent actions that are available to the user.
|
|
772
|
-
* @documentation https://developer.emu-analytics.net/docs/flow-ui-rdf/components/button
|
|
773
|
-
* @status stable
|
|
774
|
-
* @since 2.0
|
|
775
773
|
*
|
|
776
774
|
* @dependency flow-ui-icon
|
|
777
775
|
* @dependency flow-ui-spinner
|
|
@@ -814,10 +812,15 @@ declare class FlowButton extends FlowRdfElement implements FlowRdfFormControl {
|
|
|
814
812
|
/** Draws a pill-style button with rounded edges. */
|
|
815
813
|
pill: boolean;
|
|
816
814
|
/**
|
|
817
|
-
* Draws a circular
|
|
815
|
+
* Draws a circular FAB. When this attribute is present, the button expects a single `<flow-ui-icon>` in the
|
|
816
|
+
* default slot.
|
|
817
|
+
*/
|
|
818
|
+
fabCircle: boolean;
|
|
819
|
+
/**
|
|
820
|
+
* Draws a square FAB. When this attribute is present, the button expects a single `<flow-ui-icon>` in the
|
|
818
821
|
* default slot.
|
|
819
822
|
*/
|
|
820
|
-
|
|
823
|
+
fabSquare: boolean;
|
|
821
824
|
/**
|
|
822
825
|
* The type of button. Note that the default value is `button` instead of `submit`, which is opposite of how native
|
|
823
826
|
* `<button>` elements behave. When the type is `submit`, the button will submit the surrounding form.
|
|
@@ -892,6 +895,7 @@ declare class FlowButton extends FlowRdfElement implements FlowRdfFormControl {
|
|
|
892
895
|
setCustomValidity(message: string): void;
|
|
893
896
|
render(): lit.TemplateResult;
|
|
894
897
|
}
|
|
898
|
+
|
|
895
899
|
declare global {
|
|
896
900
|
interface HTMLElementTagNameMap {
|
|
897
901
|
'flow-ui-button': FlowButton;
|
package/dist/index.d.ts
CHANGED
|
@@ -768,10 +768,8 @@ declare global {
|
|
|
768
768
|
}
|
|
769
769
|
|
|
770
770
|
/**
|
|
771
|
+
* @tagname flow-ui-button
|
|
771
772
|
* @summary Buttons represent actions that are available to the user.
|
|
772
|
-
* @documentation https://developer.emu-analytics.net/docs/flow-ui-rdf/components/button
|
|
773
|
-
* @status stable
|
|
774
|
-
* @since 2.0
|
|
775
773
|
*
|
|
776
774
|
* @dependency flow-ui-icon
|
|
777
775
|
* @dependency flow-ui-spinner
|
|
@@ -814,10 +812,15 @@ declare class FlowButton extends FlowRdfElement implements FlowRdfFormControl {
|
|
|
814
812
|
/** Draws a pill-style button with rounded edges. */
|
|
815
813
|
pill: boolean;
|
|
816
814
|
/**
|
|
817
|
-
* Draws a circular
|
|
815
|
+
* Draws a circular FAB. When this attribute is present, the button expects a single `<flow-ui-icon>` in the
|
|
816
|
+
* default slot.
|
|
817
|
+
*/
|
|
818
|
+
fabCircle: boolean;
|
|
819
|
+
/**
|
|
820
|
+
* Draws a square FAB. When this attribute is present, the button expects a single `<flow-ui-icon>` in the
|
|
818
821
|
* default slot.
|
|
819
822
|
*/
|
|
820
|
-
|
|
823
|
+
fabSquare: boolean;
|
|
821
824
|
/**
|
|
822
825
|
* The type of button. Note that the default value is `button` instead of `submit`, which is opposite of how native
|
|
823
826
|
* `<button>` elements behave. When the type is `submit`, the button will submit the surrounding form.
|
|
@@ -892,6 +895,7 @@ declare class FlowButton extends FlowRdfElement implements FlowRdfFormControl {
|
|
|
892
895
|
setCustomValidity(message: string): void;
|
|
893
896
|
render(): lit.TemplateResult;
|
|
894
897
|
}
|
|
898
|
+
|
|
895
899
|
declare global {
|
|
896
900
|
interface HTMLElementTagNameMap {
|
|
897
901
|
'flow-ui-button': FlowButton;
|