@emuanalytics/flow-rdf-ui 4.1.7 → 4.1.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/range/range.component.mjs +36 -27
- package/dist/components/range/range.styles.mjs +4 -0
- package/dist/custom-elements.json +179 -147
- package/dist/index.d.mts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/package.json.mjs +1 -1
- package/dist/vscode.html-custom-data.json +38 -38
- package/package.json +3 -3
|
@@ -7,6 +7,7 @@ import { boolean } from '../../internal/boolean.mjs';
|
|
|
7
7
|
import { defaultValue } from '../../internal/default-value.mjs';
|
|
8
8
|
import { FlowRdfFormControl } from '../../internal/flow-ui-rdf-element.mjs';
|
|
9
9
|
import { FormControlController } from '../../internal/form.mjs';
|
|
10
|
+
import { clamp } from '../../internal/math.mjs';
|
|
10
11
|
import { HasSlotController } from '../../internal/slot.mjs';
|
|
11
12
|
import { isNumber } from '../../internal/type-checks.mjs';
|
|
12
13
|
import { watch } from '../../internal/watch.mjs';
|
|
@@ -78,13 +79,15 @@ class FlowUiRange extends FlowRdfFormControl {
|
|
|
78
79
|
super.disconnectedCallback();
|
|
79
80
|
this.resizeObserver.unobserve(this.input);
|
|
80
81
|
}
|
|
81
|
-
|
|
82
|
+
handleRangeChange(event) {
|
|
83
|
+
event.stopPropagation();
|
|
82
84
|
this.emit("flow-ui-change");
|
|
83
85
|
}
|
|
84
|
-
|
|
86
|
+
handleRangeInput(event) {
|
|
87
|
+
event.stopPropagation();
|
|
85
88
|
this.value = parseFloat(this.input.value);
|
|
86
|
-
this.emit("flow-ui-input");
|
|
87
89
|
this.syncRange();
|
|
90
|
+
this.emit("flow-ui-input");
|
|
88
91
|
}
|
|
89
92
|
/*
|
|
90
93
|
Handler for flow-ui-input & flow-ui-change events from number input.
|
|
@@ -97,11 +100,13 @@ class FlowUiRange extends FlowRdfFormControl {
|
|
|
97
100
|
this.syncRange();
|
|
98
101
|
}
|
|
99
102
|
}
|
|
100
|
-
handleBlur() {
|
|
103
|
+
handleBlur(event) {
|
|
104
|
+
event.stopPropagation();
|
|
101
105
|
this.hasFocus = false;
|
|
102
106
|
this.emit("flow-ui-blur");
|
|
103
107
|
}
|
|
104
|
-
handleFocus() {
|
|
108
|
+
handleFocus(event) {
|
|
109
|
+
event.stopPropagation();
|
|
105
110
|
this.hasFocus = true;
|
|
106
111
|
this.emit("flow-ui-focus");
|
|
107
112
|
}
|
|
@@ -114,8 +119,7 @@ class FlowUiRange extends FlowRdfFormControl {
|
|
|
114
119
|
}
|
|
115
120
|
handleValueChange() {
|
|
116
121
|
this.formControlController.updateValidity();
|
|
117
|
-
this.
|
|
118
|
-
this.value = parseFloat(this.input.value);
|
|
122
|
+
this.value = clamp(this.value, this.min, this.max);
|
|
119
123
|
this.syncRange();
|
|
120
124
|
}
|
|
121
125
|
handleDisabledChange() {
|
|
@@ -126,7 +130,7 @@ class FlowUiRange extends FlowRdfFormControl {
|
|
|
126
130
|
const percent = Math.max(0, (this.value - this.min) / (this.max - this.min));
|
|
127
131
|
this.syncProgress(percent);
|
|
128
132
|
}
|
|
129
|
-
|
|
133
|
+
handleRangeInvalid(event) {
|
|
130
134
|
this.formControlController.setValidity(false);
|
|
131
135
|
this.formControlController.emitInvalidEvent(event);
|
|
132
136
|
}
|
|
@@ -240,30 +244,35 @@ class FlowUiRange extends FlowRdfFormControl {
|
|
|
240
244
|
step=${ifDefined(this.step)}
|
|
241
245
|
.value=${live(this.value.toString())}
|
|
242
246
|
aria-describedby="help-text"
|
|
243
|
-
@change=${this.
|
|
247
|
+
@change=${this.handleRangeChange}
|
|
244
248
|
@focus=${this.handleFocus}
|
|
245
|
-
@input=${this.
|
|
246
|
-
@invalid=${this.
|
|
249
|
+
@input=${this.handleRangeInput}
|
|
250
|
+
@invalid=${this.handleRangeInvalid}
|
|
247
251
|
@blur=${this.handleBlur}
|
|
248
252
|
/>
|
|
249
253
|
<slot name="suffix" part="suffix" class="range__suffix"></slot>
|
|
250
254
|
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
255
|
+
<flow-ui-input
|
|
256
|
+
class=${classMap({
|
|
257
|
+
"number-input": true,
|
|
258
|
+
"no-input": this.noInput
|
|
259
|
+
})}
|
|
260
|
+
type="number"
|
|
261
|
+
inline
|
|
262
|
+
filled
|
|
263
|
+
exportparts="form-control:number-input"
|
|
264
|
+
no-step-buttons
|
|
265
|
+
size=${this.size}
|
|
266
|
+
format=${this.format}
|
|
267
|
+
min=${ifDefined(this.min)}
|
|
268
|
+
max=${ifDefined(this.max)}
|
|
269
|
+
step=${ifDefined(this.step)}
|
|
270
|
+
?disabled=${this.disabled}
|
|
271
|
+
.value=${this.value.toString()}
|
|
272
|
+
@flow-ui-change=${this.handleNumberChange}
|
|
273
|
+
@flow-ui-focus=${this.handleFocus}
|
|
274
|
+
@flow-ui-blur=${this.handleBlur}
|
|
275
|
+
></flow-ui-input>
|
|
267
276
|
</div>
|
|
268
277
|
</div>
|
|
269
278
|
|
|
@@ -1602,6 +1602,145 @@
|
|
|
1602
1602
|
}
|
|
1603
1603
|
]
|
|
1604
1604
|
},
|
|
1605
|
+
{
|
|
1606
|
+
"kind": "javascript-module",
|
|
1607
|
+
"path": "components/badge/badge.component.js",
|
|
1608
|
+
"declarations": [
|
|
1609
|
+
{
|
|
1610
|
+
"kind": "class",
|
|
1611
|
+
"description": "",
|
|
1612
|
+
"name": "FlowUiBadge",
|
|
1613
|
+
"cssParts": [
|
|
1614
|
+
{
|
|
1615
|
+
"description": "The component's base wrapper.",
|
|
1616
|
+
"name": "base"
|
|
1617
|
+
}
|
|
1618
|
+
],
|
|
1619
|
+
"slots": [
|
|
1620
|
+
{
|
|
1621
|
+
"description": "The badge's content.",
|
|
1622
|
+
"name": ""
|
|
1623
|
+
}
|
|
1624
|
+
],
|
|
1625
|
+
"members": [
|
|
1626
|
+
{
|
|
1627
|
+
"kind": "field",
|
|
1628
|
+
"name": "variant",
|
|
1629
|
+
"type": {
|
|
1630
|
+
"text": "'primary' | 'secondary' | 'success' | 'neutral' | 'warning' | 'danger'"
|
|
1631
|
+
},
|
|
1632
|
+
"default": "'primary'",
|
|
1633
|
+
"description": "The badge's theme variant.",
|
|
1634
|
+
"attribute": "variant",
|
|
1635
|
+
"reflects": true
|
|
1636
|
+
},
|
|
1637
|
+
{
|
|
1638
|
+
"kind": "field",
|
|
1639
|
+
"name": "size",
|
|
1640
|
+
"type": {
|
|
1641
|
+
"text": "'small' | 'medium' | 'large'"
|
|
1642
|
+
},
|
|
1643
|
+
"default": "'medium'",
|
|
1644
|
+
"description": "The badge size.",
|
|
1645
|
+
"attribute": "size",
|
|
1646
|
+
"reflects": true
|
|
1647
|
+
},
|
|
1648
|
+
{
|
|
1649
|
+
"kind": "field",
|
|
1650
|
+
"name": "pill",
|
|
1651
|
+
"type": {
|
|
1652
|
+
"text": "boolean"
|
|
1653
|
+
},
|
|
1654
|
+
"default": "false",
|
|
1655
|
+
"description": "Draws a pill-style badge with rounded edges.",
|
|
1656
|
+
"attribute": "pill",
|
|
1657
|
+
"reflects": true
|
|
1658
|
+
},
|
|
1659
|
+
{
|
|
1660
|
+
"kind": "field",
|
|
1661
|
+
"name": "pulse",
|
|
1662
|
+
"type": {
|
|
1663
|
+
"text": "boolean"
|
|
1664
|
+
},
|
|
1665
|
+
"default": "false",
|
|
1666
|
+
"description": "Makes the badge pulsate to draw attention.",
|
|
1667
|
+
"attribute": "pulse",
|
|
1668
|
+
"reflects": true
|
|
1669
|
+
}
|
|
1670
|
+
],
|
|
1671
|
+
"attributes": [
|
|
1672
|
+
{
|
|
1673
|
+
"name": "variant",
|
|
1674
|
+
"type": {
|
|
1675
|
+
"text": "'primary' | 'secondary' | 'success' | 'neutral' | 'warning' | 'danger'"
|
|
1676
|
+
},
|
|
1677
|
+
"default": "'primary'",
|
|
1678
|
+
"description": "The badge's theme variant.",
|
|
1679
|
+
"fieldName": "variant"
|
|
1680
|
+
},
|
|
1681
|
+
{
|
|
1682
|
+
"name": "size",
|
|
1683
|
+
"type": {
|
|
1684
|
+
"text": "'small' | 'medium' | 'large'"
|
|
1685
|
+
},
|
|
1686
|
+
"default": "'medium'",
|
|
1687
|
+
"description": "The badge size.",
|
|
1688
|
+
"fieldName": "size"
|
|
1689
|
+
},
|
|
1690
|
+
{
|
|
1691
|
+
"name": "pill",
|
|
1692
|
+
"type": {
|
|
1693
|
+
"text": "boolean"
|
|
1694
|
+
},
|
|
1695
|
+
"default": "false",
|
|
1696
|
+
"description": "Draws a pill-style badge with rounded edges.",
|
|
1697
|
+
"fieldName": "pill"
|
|
1698
|
+
},
|
|
1699
|
+
{
|
|
1700
|
+
"name": "pulse",
|
|
1701
|
+
"type": {
|
|
1702
|
+
"text": "boolean"
|
|
1703
|
+
},
|
|
1704
|
+
"default": "false",
|
|
1705
|
+
"description": "Makes the badge pulsate to draw attention.",
|
|
1706
|
+
"fieldName": "pulse"
|
|
1707
|
+
}
|
|
1708
|
+
],
|
|
1709
|
+
"superclass": {
|
|
1710
|
+
"name": "FlowRdfElement",
|
|
1711
|
+
"module": "/src/internal/flow-ui-rdf-element"
|
|
1712
|
+
},
|
|
1713
|
+
"tagName": "flow-ui-badge",
|
|
1714
|
+
"summary": "Badges are used to draw attention and display statuses or counts.",
|
|
1715
|
+
"customElement": true
|
|
1716
|
+
}
|
|
1717
|
+
],
|
|
1718
|
+
"exports": [
|
|
1719
|
+
{
|
|
1720
|
+
"kind": "js",
|
|
1721
|
+
"name": "default",
|
|
1722
|
+
"declaration": {
|
|
1723
|
+
"name": "FlowUiBadge",
|
|
1724
|
+
"module": "components/badge/badge.component.js"
|
|
1725
|
+
}
|
|
1726
|
+
}
|
|
1727
|
+
]
|
|
1728
|
+
},
|
|
1729
|
+
{
|
|
1730
|
+
"kind": "javascript-module",
|
|
1731
|
+
"path": "components/badge/badge.js",
|
|
1732
|
+
"declarations": [],
|
|
1733
|
+
"exports": [
|
|
1734
|
+
{
|
|
1735
|
+
"kind": "js",
|
|
1736
|
+
"name": "default",
|
|
1737
|
+
"declaration": {
|
|
1738
|
+
"name": "FlowUiBadge",
|
|
1739
|
+
"module": "components/badge/badge.js"
|
|
1740
|
+
}
|
|
1741
|
+
}
|
|
1742
|
+
]
|
|
1743
|
+
},
|
|
1605
1744
|
{
|
|
1606
1745
|
"kind": "javascript-module",
|
|
1607
1746
|
"path": "components/breadcrumb/breadcrumb.component.js",
|
|
@@ -2186,145 +2325,6 @@
|
|
|
2186
2325
|
}
|
|
2187
2326
|
]
|
|
2188
2327
|
},
|
|
2189
|
-
{
|
|
2190
|
-
"kind": "javascript-module",
|
|
2191
|
-
"path": "components/badge/badge.component.js",
|
|
2192
|
-
"declarations": [
|
|
2193
|
-
{
|
|
2194
|
-
"kind": "class",
|
|
2195
|
-
"description": "",
|
|
2196
|
-
"name": "FlowUiBadge",
|
|
2197
|
-
"cssParts": [
|
|
2198
|
-
{
|
|
2199
|
-
"description": "The component's base wrapper.",
|
|
2200
|
-
"name": "base"
|
|
2201
|
-
}
|
|
2202
|
-
],
|
|
2203
|
-
"slots": [
|
|
2204
|
-
{
|
|
2205
|
-
"description": "The badge's content.",
|
|
2206
|
-
"name": ""
|
|
2207
|
-
}
|
|
2208
|
-
],
|
|
2209
|
-
"members": [
|
|
2210
|
-
{
|
|
2211
|
-
"kind": "field",
|
|
2212
|
-
"name": "variant",
|
|
2213
|
-
"type": {
|
|
2214
|
-
"text": "'primary' | 'secondary' | 'success' | 'neutral' | 'warning' | 'danger'"
|
|
2215
|
-
},
|
|
2216
|
-
"default": "'primary'",
|
|
2217
|
-
"description": "The badge's theme variant.",
|
|
2218
|
-
"attribute": "variant",
|
|
2219
|
-
"reflects": true
|
|
2220
|
-
},
|
|
2221
|
-
{
|
|
2222
|
-
"kind": "field",
|
|
2223
|
-
"name": "size",
|
|
2224
|
-
"type": {
|
|
2225
|
-
"text": "'small' | 'medium' | 'large'"
|
|
2226
|
-
},
|
|
2227
|
-
"default": "'medium'",
|
|
2228
|
-
"description": "The badge size.",
|
|
2229
|
-
"attribute": "size",
|
|
2230
|
-
"reflects": true
|
|
2231
|
-
},
|
|
2232
|
-
{
|
|
2233
|
-
"kind": "field",
|
|
2234
|
-
"name": "pill",
|
|
2235
|
-
"type": {
|
|
2236
|
-
"text": "boolean"
|
|
2237
|
-
},
|
|
2238
|
-
"default": "false",
|
|
2239
|
-
"description": "Draws a pill-style badge with rounded edges.",
|
|
2240
|
-
"attribute": "pill",
|
|
2241
|
-
"reflects": true
|
|
2242
|
-
},
|
|
2243
|
-
{
|
|
2244
|
-
"kind": "field",
|
|
2245
|
-
"name": "pulse",
|
|
2246
|
-
"type": {
|
|
2247
|
-
"text": "boolean"
|
|
2248
|
-
},
|
|
2249
|
-
"default": "false",
|
|
2250
|
-
"description": "Makes the badge pulsate to draw attention.",
|
|
2251
|
-
"attribute": "pulse",
|
|
2252
|
-
"reflects": true
|
|
2253
|
-
}
|
|
2254
|
-
],
|
|
2255
|
-
"attributes": [
|
|
2256
|
-
{
|
|
2257
|
-
"name": "variant",
|
|
2258
|
-
"type": {
|
|
2259
|
-
"text": "'primary' | 'secondary' | 'success' | 'neutral' | 'warning' | 'danger'"
|
|
2260
|
-
},
|
|
2261
|
-
"default": "'primary'",
|
|
2262
|
-
"description": "The badge's theme variant.",
|
|
2263
|
-
"fieldName": "variant"
|
|
2264
|
-
},
|
|
2265
|
-
{
|
|
2266
|
-
"name": "size",
|
|
2267
|
-
"type": {
|
|
2268
|
-
"text": "'small' | 'medium' | 'large'"
|
|
2269
|
-
},
|
|
2270
|
-
"default": "'medium'",
|
|
2271
|
-
"description": "The badge size.",
|
|
2272
|
-
"fieldName": "size"
|
|
2273
|
-
},
|
|
2274
|
-
{
|
|
2275
|
-
"name": "pill",
|
|
2276
|
-
"type": {
|
|
2277
|
-
"text": "boolean"
|
|
2278
|
-
},
|
|
2279
|
-
"default": "false",
|
|
2280
|
-
"description": "Draws a pill-style badge with rounded edges.",
|
|
2281
|
-
"fieldName": "pill"
|
|
2282
|
-
},
|
|
2283
|
-
{
|
|
2284
|
-
"name": "pulse",
|
|
2285
|
-
"type": {
|
|
2286
|
-
"text": "boolean"
|
|
2287
|
-
},
|
|
2288
|
-
"default": "false",
|
|
2289
|
-
"description": "Makes the badge pulsate to draw attention.",
|
|
2290
|
-
"fieldName": "pulse"
|
|
2291
|
-
}
|
|
2292
|
-
],
|
|
2293
|
-
"superclass": {
|
|
2294
|
-
"name": "FlowRdfElement",
|
|
2295
|
-
"module": "/src/internal/flow-ui-rdf-element"
|
|
2296
|
-
},
|
|
2297
|
-
"tagName": "flow-ui-badge",
|
|
2298
|
-
"summary": "Badges are used to draw attention and display statuses or counts.",
|
|
2299
|
-
"customElement": true
|
|
2300
|
-
}
|
|
2301
|
-
],
|
|
2302
|
-
"exports": [
|
|
2303
|
-
{
|
|
2304
|
-
"kind": "js",
|
|
2305
|
-
"name": "default",
|
|
2306
|
-
"declaration": {
|
|
2307
|
-
"name": "FlowUiBadge",
|
|
2308
|
-
"module": "components/badge/badge.component.js"
|
|
2309
|
-
}
|
|
2310
|
-
}
|
|
2311
|
-
]
|
|
2312
|
-
},
|
|
2313
|
-
{
|
|
2314
|
-
"kind": "javascript-module",
|
|
2315
|
-
"path": "components/badge/badge.js",
|
|
2316
|
-
"declarations": [],
|
|
2317
|
-
"exports": [
|
|
2318
|
-
{
|
|
2319
|
-
"kind": "js",
|
|
2320
|
-
"name": "default",
|
|
2321
|
-
"declaration": {
|
|
2322
|
-
"name": "FlowUiBadge",
|
|
2323
|
-
"module": "components/badge/badge.js"
|
|
2324
|
-
}
|
|
2325
|
-
}
|
|
2326
|
-
]
|
|
2327
|
-
},
|
|
2328
2328
|
{
|
|
2329
2329
|
"kind": "javascript-module",
|
|
2330
2330
|
"path": "components/breadcrumb-item/breadcrumb-item.component.js",
|
|
@@ -17643,13 +17643,29 @@
|
|
|
17643
17643
|
},
|
|
17644
17644
|
{
|
|
17645
17645
|
"kind": "method",
|
|
17646
|
-
"name": "
|
|
17647
|
-
"privacy": "private"
|
|
17646
|
+
"name": "handleRangeChange",
|
|
17647
|
+
"privacy": "private",
|
|
17648
|
+
"parameters": [
|
|
17649
|
+
{
|
|
17650
|
+
"name": "event",
|
|
17651
|
+
"type": {
|
|
17652
|
+
"text": "Event"
|
|
17653
|
+
}
|
|
17654
|
+
}
|
|
17655
|
+
]
|
|
17648
17656
|
},
|
|
17649
17657
|
{
|
|
17650
17658
|
"kind": "method",
|
|
17651
|
-
"name": "
|
|
17652
|
-
"privacy": "private"
|
|
17659
|
+
"name": "handleRangeInput",
|
|
17660
|
+
"privacy": "private",
|
|
17661
|
+
"parameters": [
|
|
17662
|
+
{
|
|
17663
|
+
"name": "event",
|
|
17664
|
+
"type": {
|
|
17665
|
+
"text": "Event"
|
|
17666
|
+
}
|
|
17667
|
+
}
|
|
17668
|
+
]
|
|
17653
17669
|
},
|
|
17654
17670
|
{
|
|
17655
17671
|
"kind": "method",
|
|
@@ -17659,12 +17675,28 @@
|
|
|
17659
17675
|
{
|
|
17660
17676
|
"kind": "method",
|
|
17661
17677
|
"name": "handleBlur",
|
|
17662
|
-
"privacy": "private"
|
|
17678
|
+
"privacy": "private",
|
|
17679
|
+
"parameters": [
|
|
17680
|
+
{
|
|
17681
|
+
"name": "event",
|
|
17682
|
+
"type": {
|
|
17683
|
+
"text": "FocusEvent"
|
|
17684
|
+
}
|
|
17685
|
+
}
|
|
17686
|
+
]
|
|
17663
17687
|
},
|
|
17664
17688
|
{
|
|
17665
17689
|
"kind": "method",
|
|
17666
17690
|
"name": "handleFocus",
|
|
17667
|
-
"privacy": "private"
|
|
17691
|
+
"privacy": "private",
|
|
17692
|
+
"parameters": [
|
|
17693
|
+
{
|
|
17694
|
+
"name": "event",
|
|
17695
|
+
"type": {
|
|
17696
|
+
"text": "FocusEvent"
|
|
17697
|
+
}
|
|
17698
|
+
}
|
|
17699
|
+
]
|
|
17668
17700
|
},
|
|
17669
17701
|
{
|
|
17670
17702
|
"kind": "method",
|
|
@@ -17691,7 +17723,7 @@
|
|
|
17691
17723
|
},
|
|
17692
17724
|
{
|
|
17693
17725
|
"kind": "method",
|
|
17694
|
-
"name": "
|
|
17726
|
+
"name": "handleRangeInvalid",
|
|
17695
17727
|
"privacy": "private",
|
|
17696
17728
|
"parameters": [
|
|
17697
17729
|
{
|
|
@@ -25736,6 +25768,6 @@
|
|
|
25736
25768
|
],
|
|
25737
25769
|
"package": {
|
|
25738
25770
|
"name": "@emuanalytics/flow-rdf-ui",
|
|
25739
|
-
"version": "4.1.
|
|
25771
|
+
"version": "4.1.9"
|
|
25740
25772
|
}
|
|
25741
25773
|
}
|
package/dist/index.d.mts
CHANGED
|
@@ -5379,8 +5379,8 @@ declare class FlowUiRange extends FlowRdfFormControl {
|
|
|
5379
5379
|
get validationMessage(): string;
|
|
5380
5380
|
connectedCallback(): void;
|
|
5381
5381
|
disconnectedCallback(): void;
|
|
5382
|
-
private
|
|
5383
|
-
private
|
|
5382
|
+
private handleRangeChange;
|
|
5383
|
+
private handleRangeInput;
|
|
5384
5384
|
private handleNumberChange;
|
|
5385
5385
|
private handleBlur;
|
|
5386
5386
|
private handleFocus;
|
|
@@ -5393,7 +5393,7 @@ declare class FlowUiRange extends FlowRdfFormControl {
|
|
|
5393
5393
|
handleDisabledChange(): void;
|
|
5394
5394
|
/** @internal */
|
|
5395
5395
|
syncRange(): void;
|
|
5396
|
-
private
|
|
5396
|
+
private handleRangeInvalid;
|
|
5397
5397
|
/** Sets focus on the range. */
|
|
5398
5398
|
focus(options?: FocusOptions): void;
|
|
5399
5399
|
/** Removes focus from the range. */
|
package/dist/index.d.ts
CHANGED
|
@@ -5379,8 +5379,8 @@ declare class FlowUiRange extends FlowRdfFormControl {
|
|
|
5379
5379
|
get validationMessage(): string;
|
|
5380
5380
|
connectedCallback(): void;
|
|
5381
5381
|
disconnectedCallback(): void;
|
|
5382
|
-
private
|
|
5383
|
-
private
|
|
5382
|
+
private handleRangeChange;
|
|
5383
|
+
private handleRangeInput;
|
|
5384
5384
|
private handleNumberChange;
|
|
5385
5385
|
private handleBlur;
|
|
5386
5386
|
private handleFocus;
|
|
@@ -5393,7 +5393,7 @@ declare class FlowUiRange extends FlowRdfFormControl {
|
|
|
5393
5393
|
handleDisabledChange(): void;
|
|
5394
5394
|
/** @internal */
|
|
5395
5395
|
syncRange(): void;
|
|
5396
|
-
private
|
|
5396
|
+
private handleRangeInvalid;
|
|
5397
5397
|
/** Sets focus on the range. */
|
|
5398
5398
|
focus(options?: FocusOptions): void;
|
|
5399
5399
|
/** Removes focus from the range. */
|
package/dist/package.json.mjs
CHANGED
|
@@ -237,6 +237,44 @@
|
|
|
237
237
|
],
|
|
238
238
|
"references": []
|
|
239
239
|
},
|
|
240
|
+
{
|
|
241
|
+
"name": "flow-ui-badge",
|
|
242
|
+
"description": "Badges are used to draw attention and display statuses or counts.\n\n\n---\n\n\n\n\n### **Slots:**\n - _default_ - The badge's content.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.",
|
|
243
|
+
"attributes": [
|
|
244
|
+
{
|
|
245
|
+
"name": "variant",
|
|
246
|
+
"description": "The badge's theme variant.",
|
|
247
|
+
"values": [
|
|
248
|
+
{ "name": "primary" },
|
|
249
|
+
{ "name": "secondary" },
|
|
250
|
+
{ "name": "success" },
|
|
251
|
+
{ "name": "neutral" },
|
|
252
|
+
{ "name": "warning" },
|
|
253
|
+
{ "name": "danger" }
|
|
254
|
+
]
|
|
255
|
+
},
|
|
256
|
+
{
|
|
257
|
+
"name": "size",
|
|
258
|
+
"description": "The badge size.",
|
|
259
|
+
"values": [
|
|
260
|
+
{ "name": "small" },
|
|
261
|
+
{ "name": "medium" },
|
|
262
|
+
{ "name": "large" }
|
|
263
|
+
]
|
|
264
|
+
},
|
|
265
|
+
{
|
|
266
|
+
"name": "pill",
|
|
267
|
+
"description": "Draws a pill-style badge with rounded edges.",
|
|
268
|
+
"values": []
|
|
269
|
+
},
|
|
270
|
+
{
|
|
271
|
+
"name": "pulse",
|
|
272
|
+
"description": "Makes the badge pulsate to draw attention.",
|
|
273
|
+
"values": []
|
|
274
|
+
}
|
|
275
|
+
],
|
|
276
|
+
"references": []
|
|
277
|
+
},
|
|
240
278
|
{
|
|
241
279
|
"name": "flow-ui-breadcrumb",
|
|
242
280
|
"description": "Breadcrumbs provide a group of links so users can easily navigate a website's hierarchy.\n\n\n---\n\n\n\n\n### **Slots:**\n - _default_ - One or more breadcrumb items to display.\n- **separator** - The separator to use between breadcrumb items. Works best with `<flow-ui-icon>`.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.",
|
|
@@ -310,44 +348,6 @@
|
|
|
310
348
|
],
|
|
311
349
|
"references": []
|
|
312
350
|
},
|
|
313
|
-
{
|
|
314
|
-
"name": "flow-ui-badge",
|
|
315
|
-
"description": "Badges are used to draw attention and display statuses or counts.\n\n\n---\n\n\n\n\n### **Slots:**\n - _default_ - The badge's content.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.",
|
|
316
|
-
"attributes": [
|
|
317
|
-
{
|
|
318
|
-
"name": "variant",
|
|
319
|
-
"description": "The badge's theme variant.",
|
|
320
|
-
"values": [
|
|
321
|
-
{ "name": "primary" },
|
|
322
|
-
{ "name": "secondary" },
|
|
323
|
-
{ "name": "success" },
|
|
324
|
-
{ "name": "neutral" },
|
|
325
|
-
{ "name": "warning" },
|
|
326
|
-
{ "name": "danger" }
|
|
327
|
-
]
|
|
328
|
-
},
|
|
329
|
-
{
|
|
330
|
-
"name": "size",
|
|
331
|
-
"description": "The badge size.",
|
|
332
|
-
"values": [
|
|
333
|
-
{ "name": "small" },
|
|
334
|
-
{ "name": "medium" },
|
|
335
|
-
{ "name": "large" }
|
|
336
|
-
]
|
|
337
|
-
},
|
|
338
|
-
{
|
|
339
|
-
"name": "pill",
|
|
340
|
-
"description": "Draws a pill-style badge with rounded edges.",
|
|
341
|
-
"values": []
|
|
342
|
-
},
|
|
343
|
-
{
|
|
344
|
-
"name": "pulse",
|
|
345
|
-
"description": "Makes the badge pulsate to draw attention.",
|
|
346
|
-
"values": []
|
|
347
|
-
}
|
|
348
|
-
],
|
|
349
|
-
"references": []
|
|
350
|
-
},
|
|
351
351
|
{
|
|
352
352
|
"name": "flow-ui-breadcrumb-item",
|
|
353
353
|
"description": "Breadcrumb Items are used inside [breadcrumbs](./flow-ui-breadcrumb) to represent different links.\n\n\n---\n\n\n\n\n### **Slots:**\n - _default_ - The breadcrumb item's label.\n- **prefix** - An optional prefix, usually an icon or icon button.\n- **suffix** - An optional suffix, usually an icon or icon button.\n- **separator** - The separator to use for the breadcrumb item. This will only change the separator for this item. If you want to change it for all items in the group, set the separator on `<flow-ui-breadcrumb>` instead.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **label** - The breadcrumb item's label.\n- **prefix** - The container that wraps the prefix.\n- **suffix** - The container that wraps the suffix.\n- **separator** - The container that wraps the separator.",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@emuanalytics/flow-rdf-ui",
|
|
3
|
-
"version": "4.1.
|
|
3
|
+
"version": "4.1.9",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"module": "dist/index.mjs",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -104,13 +104,13 @@
|
|
|
104
104
|
"vite": "^4.3.9",
|
|
105
105
|
"vite-plugin-dts": "^3.5.1",
|
|
106
106
|
"webdriverio": "^8.14.3",
|
|
107
|
-
"@emuanalytics/flow-rdf-core": "4.0.
|
|
107
|
+
"@emuanalytics/flow-rdf-core": "4.0.12"
|
|
108
108
|
},
|
|
109
109
|
"peerDependencies": {
|
|
110
110
|
"chart.js": "^4.4.2",
|
|
111
111
|
"lit": "^2.7.2",
|
|
112
112
|
"lit-html": "^2.7.5",
|
|
113
|
-
"@emuanalytics/flow-rdf-core": "~4.0.
|
|
113
|
+
"@emuanalytics/flow-rdf-core": "~4.0.12"
|
|
114
114
|
},
|
|
115
115
|
"scripts": {
|
|
116
116
|
"dev": "vite",
|