@emuanalytics/flow-rdf-ui 0.0.2 → 0.0.4
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 +10664 -9154
- package/dist/flow-rdf-ui.d.ts +3591 -0
- package/dist/flow-rdf-ui.js +2523 -1454
- package/dist/flow-rdf-ui.umd.cjs +2551 -1479
- package/dist/themes/dark.css +13 -0
- package/dist/themes/dark.styles.js +13 -0
- package/dist/themes/light.css +13 -0
- package/dist/themes/light.styles.js +13 -0
- package/dist/vscode.html-custom-data.json +391 -524
- package/package.json +7 -3
- package/dist/types/components/alert/alert.d.ts +0 -71
- package/dist/types/components/alert/alert.stories.d.ts +0 -5
- package/dist/types/components/alert/alert.styles.d.ts +0 -2
- package/dist/types/components/animation/animation.d.ts +0 -81
- package/dist/types/components/animation/animation.stories.d.ts +0 -5
- package/dist/types/components/animation/animation.styles.d.ts +0 -2
- package/dist/types/components/animation/animations.d.ts +0 -6
- package/dist/types/components/animation/index.d.ts +0 -1
- package/dist/types/components/avatar/avatar.d.ts +0 -40
- package/dist/types/components/avatar/avatar.stories.d.ts +0 -5
- package/dist/types/components/avatar/avatar.styles.d.ts +0 -2
- package/dist/types/components/badge/badge.d.ts +0 -27
- package/dist/types/components/badge/badge.stories.d.ts +0 -5
- package/dist/types/components/badge/badge.styles.d.ts +0 -2
- package/dist/types/components/breadcrumb/breadcrumb.d.ts +0 -35
- package/dist/types/components/breadcrumb/breadcrumb.stories.d.ts +0 -5
- package/dist/types/components/breadcrumb/breadcrumb.styles.d.ts +0 -2
- package/dist/types/components/breadcrumb-item/breadcrumb-item.d.ts +0 -39
- package/dist/types/components/breadcrumb-item/breadcrumb-item.styles.d.ts +0 -2
- package/dist/types/components/button/button.d.ts +0 -133
- package/dist/types/components/button/button.stories.d.ts +0 -6
- package/dist/types/components/button/button.styles.d.ts +0 -2
- package/dist/types/components/button-group/button-group.d.ts +0 -33
- package/dist/types/components/button-group/button-group.stories.d.ts +0 -5
- package/dist/types/components/button-group/button-group.styles.d.ts +0 -2
- package/dist/types/components/card/card.d.ts +0 -34
- package/dist/types/components/card/card.stories.d.ts +0 -5
- package/dist/types/components/card/card.styles.d.ts +0 -2
- package/dist/types/components/carousel/autoplay-controller.d.ts +0 -20
- package/dist/types/components/carousel/carousel.d.ts +0 -105
- package/dist/types/components/carousel/carousel.styles.d.ts +0 -2
- package/dist/types/components/carousel/scroll-controller.d.ts +0 -28
- package/dist/types/components/carousel-item/carousel-item.d.ts +0 -24
- package/dist/types/components/carousel-item/carousel-item.styles.d.ts +0 -2
- package/dist/types/components/checkbox/checkbox.d.ts +0 -94
- package/dist/types/components/checkbox/checkbox.styles.d.ts +0 -2
- package/dist/types/components/checkbox/index.d.ts +0 -1
- package/dist/types/components/color-mapper/color-mapper.component.d.ts +0 -39
- package/dist/types/components/color-mapper/color-mapper.stories.d.ts +0 -68
- package/dist/types/components/color-mapper/color-mapper.styles.d.ts +0 -2
- package/dist/types/components/color-mapper/color-stop.component.d.ts +0 -54
- package/dist/types/components/color-mapper/color-stop.styles.d.ts +0 -2
- package/dist/types/components/color-mapper/helpers.d.ts +0 -3
- package/dist/types/components/color-mapper/index.d.ts +0 -4
- package/dist/types/components/color-mapper/types.d.ts +0 -54
- package/dist/types/components/color-picker/color-picker.d.ts +0 -193
- package/dist/types/components/color-picker/color-picker.stories.d.ts +0 -5
- package/dist/types/components/color-picker/color-picker.styles.d.ts +0 -2
- package/dist/types/components/details/details.d.ts +0 -60
- package/dist/types/components/details/details.stories.d.ts +0 -5
- package/dist/types/components/details/details.styles.d.ts +0 -2
- package/dist/types/components/dialog/dialog.d.ts +0 -91
- package/dist/types/components/dialog/dialog.styles.d.ts +0 -2
- package/dist/types/components/divider/divider.d.ts +0 -24
- package/dist/types/components/divider/divider.styles.d.ts +0 -2
- package/dist/types/components/drawer/drawer.d.ts +0 -106
- package/dist/types/components/drawer/drawer.styles.d.ts +0 -2
- package/dist/types/components/dropdown/dropdown.d.ts +0 -98
- package/dist/types/components/dropdown/dropdown.styles.d.ts +0 -2
- package/dist/types/components/icon/icon.d.ts +0 -45
- package/dist/types/components/icon/icon.stories.d.ts +0 -5
- package/dist/types/components/icon/icon.styles.d.ts +0 -2
- package/dist/types/components/icon/library.d.ts +0 -21
- package/dist/types/components/icon/library.default.d.ts +0 -3
- package/dist/types/components/icon/library.system.d.ts +0 -3
- package/dist/types/components/icon-button/icon-button.d.ts +0 -92
- package/dist/types/components/icon-button/icon-button.stories.d.ts +0 -29
- package/dist/types/components/icon-button/icon-button.styles.d.ts +0 -2
- package/dist/types/components/icon-button/index.d.ts +0 -1
- package/dist/types/components/input/input.d.ts +0 -176
- package/dist/types/components/input/input.styles.d.ts +0 -2
- package/dist/types/components/menu/menu.d.ts +0 -44
- package/dist/types/components/menu/menu.styles.d.ts +0 -2
- package/dist/types/components/menu-item/menu-item.d.ts +0 -50
- package/dist/types/components/menu-item/menu-item.styles.d.ts +0 -2
- package/dist/types/components/menu-label/menu-label.d.ts +0 -21
- package/dist/types/components/menu-label/menu-label.styles.d.ts +0 -2
- package/dist/types/components/mutation-observer/mutation-observer.d.ts +0 -44
- package/dist/types/components/mutation-observer/mutation-observer.styles.d.ts +0 -2
- package/dist/types/components/option/option.d.ts +0 -52
- package/dist/types/components/option/option.stories.d.ts +0 -7
- package/dist/types/components/option/option.styles.d.ts +0 -2
- package/dist/types/components/popup/popup.d.ts +0 -140
- package/dist/types/components/popup/popup.stories.d.ts +0 -5
- package/dist/types/components/popup/popup.styles.d.ts +0 -2
- package/dist/types/components/progress-bar/progress-bar.d.ts +0 -35
- package/dist/types/components/progress-bar/progress-bar.styles.d.ts +0 -2
- package/dist/types/components/progress-ring/progress-ring.d.ts +0 -37
- package/dist/types/components/progress-ring/progress-ring.styles.d.ts +0 -2
- package/dist/types/components/radio/radio.d.ts +0 -53
- package/dist/types/components/radio/radio.stories.d.ts +0 -5
- package/dist/types/components/radio/radio.styles.d.ts +0 -2
- package/dist/types/components/radio-button/radio-button.d.ts +0 -60
- package/dist/types/components/radio-button/radio-button.stories.d.ts +0 -5
- package/dist/types/components/radio-button/radio-button.styles.d.ts +0 -2
- package/dist/types/components/radio-group/radio-group.d.ts +0 -89
- package/dist/types/components/radio-group/radio-group.stories.d.ts +0 -5
- package/dist/types/components/radio-group/radio-group.styles.d.ts +0 -2
- package/dist/types/components/range/range.d.ts +0 -116
- package/dist/types/components/range/range.styles.d.ts +0 -2
- package/dist/types/components/resize-observer/resize-observer.d.ts +0 -31
- package/dist/types/components/resize-observer/resize-observer.styles.d.ts +0 -2
- package/dist/types/components/select/select.d.ts +0 -174
- package/dist/types/components/select/select.stories.d.ts +0 -5
- package/dist/types/components/select/select.styles.d.ts +0 -2
- package/dist/types/components/spinner/spinner.d.ts +0 -25
- package/dist/types/components/spinner/spinner.stories.d.ts +0 -5
- package/dist/types/components/spinner/spinner.styles.d.ts +0 -2
- package/dist/types/components/split-panel/split-panel.d.ts +0 -74
- package/dist/types/components/split-panel/split-panel.stories.d.ts +0 -5
- package/dist/types/components/split-panel/split-panel.styles.d.ts +0 -2
- package/dist/types/components/switch/switch.d.ts +0 -86
- package/dist/types/components/switch/switch.stories.d.ts +0 -5
- package/dist/types/components/switch/switch.styles.d.ts +0 -2
- package/dist/types/components/tab/tab.d.ts +0 -47
- package/dist/types/components/tab/tab.styles.d.ts +0 -2
- package/dist/types/components/tab-group/tab-group.d.ts +0 -76
- package/dist/types/components/tab-group/tab-group.stories.d.ts +0 -5
- package/dist/types/components/tab-group/tab-group.styles.d.ts +0 -2
- package/dist/types/components/tab-panel/tab-panel.d.ts +0 -31
- package/dist/types/components/tab-panel/tab-panel.styles.d.ts +0 -2
- package/dist/types/components/tag/tag.d.ts +0 -38
- package/dist/types/components/tag/tag.stories.d.ts +0 -5
- package/dist/types/components/tag/tag.styles.d.ts +0 -2
- package/dist/types/components/textarea/textarea.d.ts +0 -138
- package/dist/types/components/textarea/textarea.stories.d.ts +0 -5
- package/dist/types/components/textarea/textarea.styles.d.ts +0 -2
- package/dist/types/components/tooltip/tooltip.d.ts +0 -89
- package/dist/types/components/tooltip/tooltip.stories.d.ts +0 -5
- package/dist/types/components/tooltip/tooltip.styles.d.ts +0 -2
- package/dist/types/components/tree/tree.d.ts +0 -65
- package/dist/types/components/tree/tree.stories.d.ts +0 -5
- package/dist/types/components/tree/tree.styles.d.ts +0 -2
- package/dist/types/components/tree-item/tree-item.d.ts +0 -89
- package/dist/types/components/tree-item/tree-item.styles.d.ts +0 -2
- package/dist/types/components/visually-hidden/visually-hidden.d.ts +0 -19
- package/dist/types/components/visually-hidden/visually-hidden.stories.d.ts +0 -5
- package/dist/types/components/visually-hidden/visually-hidden.styles.d.ts +0 -2
- package/dist/types/events/events.d.ts +0 -34
- package/dist/types/events/flow-after-collapse.d.ts +0 -7
- package/dist/types/events/flow-after-expand.d.ts +0 -7
- package/dist/types/events/flow-after-hide.d.ts +0 -7
- package/dist/types/events/flow-after-show.d.ts +0 -7
- package/dist/types/events/flow-blur.d.ts +0 -7
- package/dist/types/events/flow-cancel.d.ts +0 -7
- package/dist/types/events/flow-change.d.ts +0 -7
- package/dist/types/events/flow-clear.d.ts +0 -7
- package/dist/types/events/flow-close.d.ts +0 -7
- package/dist/types/events/flow-collapse.d.ts +0 -7
- package/dist/types/events/flow-error.d.ts +0 -9
- package/dist/types/events/flow-expand.d.ts +0 -7
- package/dist/types/events/flow-finish.d.ts +0 -7
- package/dist/types/events/flow-focus.d.ts +0 -7
- package/dist/types/events/flow-hide.d.ts +0 -7
- package/dist/types/events/flow-hover.d.ts +0 -10
- package/dist/types/events/flow-initial-focus.d.ts +0 -7
- package/dist/types/events/flow-input.d.ts +0 -7
- package/dist/types/events/flow-invalid.d.ts +0 -7
- package/dist/types/events/flow-lazy-change.d.ts +0 -7
- package/dist/types/events/flow-lazy-load.d.ts +0 -7
- package/dist/types/events/flow-load.d.ts +0 -7
- package/dist/types/events/flow-mutation.d.ts +0 -9
- package/dist/types/events/flow-remove.d.ts +0 -7
- package/dist/types/events/flow-reposition.d.ts +0 -7
- package/dist/types/events/flow-request-close.d.ts +0 -9
- package/dist/types/events/flow-resize.d.ts +0 -9
- package/dist/types/events/flow-select.d.ts +0 -10
- package/dist/types/events/flow-selection-change.d.ts +0 -10
- package/dist/types/events/flow-show.d.ts +0 -7
- package/dist/types/events/flow-slide-change.d.ts +0 -11
- package/dist/types/events/flow-start.d.ts +0 -7
- package/dist/types/events/flow-tab-hide.d.ts +0 -9
- package/dist/types/events/flow-tab-show.d.ts +0 -9
- package/dist/types/flow-autoloader.d.ts +0 -4
- package/dist/types/index.d.ts +0 -52
- package/dist/types/internal/animate.d.ts +0 -22
- package/dist/types/internal/checks.util.d.ts +0 -28
- package/dist/types/internal/debounce.d.ts +0 -1
- package/dist/types/internal/default-value.d.ts +0 -2
- package/dist/types/internal/drag.d.ts +0 -15
- package/dist/types/internal/event.d.ts +0 -2
- package/dist/types/internal/flow-ui-rdf-element.d.ts +0 -43
- package/dist/types/internal/form.d.ts +0 -73
- package/dist/types/internal/math.d.ts +0 -2
- package/dist/types/internal/modal.d.ts +0 -12
- package/dist/types/internal/offset.d.ts +0 -11
- package/dist/types/internal/orderby.d.ts +0 -1
- package/dist/types/internal/scroll.d.ts +0 -11
- package/dist/types/internal/slot.d.ts +0 -23
- package/dist/types/internal/string.d.ts +0 -2
- package/dist/types/internal/tabbable.d.ts +0 -8
- package/dist/types/internal/test/data-testid-helpers.d.ts +0 -12
- package/dist/types/internal/test/element-visible-overflow.d.ts +0 -11
- package/dist/types/internal/test/form-control-base-tests.d.ts +0 -7
- package/dist/types/internal/test/wait-for-scrolling.d.ts +0 -9
- package/dist/types/internal/test.d.ts +0 -28
- package/dist/types/internal/throttle.d.ts +0 -1
- package/dist/types/internal/watch.d.ts +0 -26
- package/dist/types/styles/component.styles.d.ts +0 -2
- package/dist/types/styles/form-control.styles.d.ts +0 -2
- package/dist/types/translations/da.d.ts +0 -3
- package/dist/types/translations/de-ch.d.ts +0 -3
- package/dist/types/translations/de.d.ts +0 -3
- package/dist/types/translations/en-gb.d.ts +0 -3
- package/dist/types/translations/en.d.ts +0 -3
- package/dist/types/translations/es.d.ts +0 -3
- package/dist/types/translations/fa.d.ts +0 -3
- package/dist/types/translations/fr.d.ts +0 -3
- package/dist/types/translations/he.d.ts +0 -3
- package/dist/types/translations/hu.d.ts +0 -3
- package/dist/types/translations/ja.d.ts +0 -3
- package/dist/types/translations/nl.d.ts +0 -3
- package/dist/types/translations/pl.d.ts +0 -3
- package/dist/types/translations/pt.d.ts +0 -3
- package/dist/types/translations/ru.d.ts +0 -3
- package/dist/types/translations/sv.d.ts +0 -3
- package/dist/types/translations/tr.d.ts +0 -3
- package/dist/types/translations/zh-tw.d.ts +0 -3
- package/dist/types/utilities/animation-registry.d.ts +0 -24
- package/dist/types/utilities/animation.d.ts +0 -1
- package/dist/types/utilities/announce.d.ts +0 -1
- package/dist/types/utilities/base-path.d.ts +0 -18
- package/dist/types/utilities/form.d.ts +0 -11
- package/dist/types/utilities/icon-library.d.ts +0 -1
- package/dist/types/utilities/localize.d.ts +0 -30
|
@@ -34,46 +34,6 @@
|
|
|
34
34
|
],
|
|
35
35
|
"references": []
|
|
36
36
|
},
|
|
37
|
-
{
|
|
38
|
-
"name": "flow-ui-badge",
|
|
39
|
-
"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.",
|
|
40
|
-
"attributes": [
|
|
41
|
-
{
|
|
42
|
-
"name": "variant",
|
|
43
|
-
"description": "The badge's theme variant.",
|
|
44
|
-
"values": [
|
|
45
|
-
{ "name": "primary" },
|
|
46
|
-
{ "name": "success" },
|
|
47
|
-
{ "name": "neutral" },
|
|
48
|
-
{ "name": "warning" },
|
|
49
|
-
{ "name": "danger" }
|
|
50
|
-
]
|
|
51
|
-
},
|
|
52
|
-
{
|
|
53
|
-
"name": "pill",
|
|
54
|
-
"description": "Draws a pill-style badge with rounded edges.",
|
|
55
|
-
"values": []
|
|
56
|
-
},
|
|
57
|
-
{
|
|
58
|
-
"name": "pulse",
|
|
59
|
-
"description": "Makes the badge pulsate to draw attention.",
|
|
60
|
-
"values": []
|
|
61
|
-
}
|
|
62
|
-
],
|
|
63
|
-
"references": []
|
|
64
|
-
},
|
|
65
|
-
{
|
|
66
|
-
"name": "flow-ui-breadcrumb",
|
|
67
|
-
"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.",
|
|
68
|
-
"attributes": [
|
|
69
|
-
{
|
|
70
|
-
"name": "label",
|
|
71
|
-
"description": "The label to use for the breadcrumb control. This will not be shown on the screen, but it will be announced by\nscreen readers and other assistive devices to provide more context for users.",
|
|
72
|
-
"values": []
|
|
73
|
-
}
|
|
74
|
-
],
|
|
75
|
-
"references": []
|
|
76
|
-
},
|
|
77
37
|
{
|
|
78
38
|
"name": "flow-ui-avatar",
|
|
79
39
|
"description": "Avatars are used to represent a person or object.\n\n\n---\n\n\n\n\n### **Slots:**\n - **icon** - The default icon to use when no image or initials are present. Works best with `<flow-ui-icon>`.\n\n### **CSS Properties:**\n - **--size** - The size of the avatar. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **icon** - The container that wraps the avatar's icon.\n- **initials** - The container that wraps the avatar's initials.\n- **image** - The avatar image. Only shown when the `image` attribute is set.",
|
|
@@ -111,62 +71,12 @@
|
|
|
111
71
|
"references": []
|
|
112
72
|
},
|
|
113
73
|
{
|
|
114
|
-
"name": "flow-ui-
|
|
115
|
-
"description": "
|
|
74
|
+
"name": "flow-ui-breadcrumb",
|
|
75
|
+
"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.",
|
|
116
76
|
"attributes": [
|
|
117
77
|
{
|
|
118
|
-
"name": "
|
|
119
|
-
"description": "The
|
|
120
|
-
"values": []
|
|
121
|
-
},
|
|
122
|
-
{
|
|
123
|
-
"name": "play",
|
|
124
|
-
"description": "Plays the animation. When omitted, the animation will be paused. This attribute will be automatically removed when\nthe animation finishes or gets canceled.",
|
|
125
|
-
"values": []
|
|
126
|
-
},
|
|
127
|
-
{
|
|
128
|
-
"name": "delay",
|
|
129
|
-
"description": "The number of milliseconds to delay the start of the animation.",
|
|
130
|
-
"values": []
|
|
131
|
-
},
|
|
132
|
-
{
|
|
133
|
-
"name": "direction",
|
|
134
|
-
"description": "Determines the direction of playback as well as the behavior when reaching the end of an iteration.\n[Learn more](https://developer.mozilla.org/en-US/docs/Web/CSS/animation-direction)",
|
|
135
|
-
"values": [{ "name": "PlaybackDirection" }]
|
|
136
|
-
},
|
|
137
|
-
{
|
|
138
|
-
"name": "duration",
|
|
139
|
-
"description": "The number of milliseconds each iteration of the animation takes to complete.",
|
|
140
|
-
"values": []
|
|
141
|
-
},
|
|
142
|
-
{
|
|
143
|
-
"name": "easing",
|
|
144
|
-
"description": "The easing function to use for the animation. This can be a Flo.w RDF UI easing function or a custom easing function\nsuch as `cubic-bezier(0, 1, .76, 1.14)`.",
|
|
145
|
-
"values": []
|
|
146
|
-
},
|
|
147
|
-
{
|
|
148
|
-
"name": "end-delay",
|
|
149
|
-
"description": "The number of milliseconds to delay after the active period of an animation sequence.",
|
|
150
|
-
"values": []
|
|
151
|
-
},
|
|
152
|
-
{
|
|
153
|
-
"name": "fill",
|
|
154
|
-
"description": "Sets how the animation applies styles to its target before and after its execution.",
|
|
155
|
-
"values": [{ "name": "FillMode" }]
|
|
156
|
-
},
|
|
157
|
-
{
|
|
158
|
-
"name": "iterations",
|
|
159
|
-
"description": "The number of iterations to run before the animation completes. Defaults to `Infinity`, which loops.",
|
|
160
|
-
"values": []
|
|
161
|
-
},
|
|
162
|
-
{
|
|
163
|
-
"name": "iteration-start",
|
|
164
|
-
"description": "The offset at which to start the animation, usually between 0 (start) and 1 (end).",
|
|
165
|
-
"values": []
|
|
166
|
-
},
|
|
167
|
-
{
|
|
168
|
-
"name": "playback-rate",
|
|
169
|
-
"description": "Sets the animation's playback rate. The default is `1`, which plays the animation at a normal speed. Setting this\nto `2`, for example, will double the animation's speed. A negative value can be used to reverse the animation. This\nvalue can be changed without causing the animation to restart.",
|
|
78
|
+
"name": "label",
|
|
79
|
+
"description": "The label to use for the breadcrumb control. This will not be shown on the screen, but it will be announced by\nscreen readers and other assistive devices to provide more context for users.",
|
|
170
80
|
"values": []
|
|
171
81
|
}
|
|
172
82
|
],
|
|
@@ -199,24 +109,6 @@
|
|
|
199
109
|
],
|
|
200
110
|
"references": []
|
|
201
111
|
},
|
|
202
|
-
{
|
|
203
|
-
"name": "flow-ui-card",
|
|
204
|
-
"description": "Cards can be used to group related subjects in a container.\n\n\n---\n\n\n\n\n### **Slots:**\n - _default_ - The card's main content.\n- **header** - An optional header for the card.\n- **footer** - An optional footer for the card.\n- **image** - An optional image to render at the start of the card.\n\n### **CSS Properties:**\n - **--border-color** - The card's border color, including borders that occur inside the card. _(default: undefined)_\n- **--border-radius** - The border radius for the card's edges. _(default: undefined)_\n- **--border-width** - The width of the card's borders. _(default: undefined)_\n- **--padding** - The padding to use for the card's sections. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **image** - The container that wraps the card's image.\n- **header** - The container that wraps the card's header.\n- **body** - The container that wraps the card's main content.\n- **footer** - The container that wraps the card's footer.",
|
|
205
|
-
"attributes": [],
|
|
206
|
-
"references": []
|
|
207
|
-
},
|
|
208
|
-
{
|
|
209
|
-
"name": "flow-ui-button-group",
|
|
210
|
-
"description": "Button groups can be used to group related buttons into sections.\n\n\n---\n\n\n\n\n### **Slots:**\n - _default_ - One or more `<flow-ui-button>` elements to display in the button group.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.",
|
|
211
|
-
"attributes": [
|
|
212
|
-
{
|
|
213
|
-
"name": "label",
|
|
214
|
-
"description": "A label to use for the button group. This won't be displayed on the screen, but it will be announced by assistive\ndevices when interacting with the control and is strongly recommended.",
|
|
215
|
-
"values": []
|
|
216
|
-
}
|
|
217
|
-
],
|
|
218
|
-
"references": []
|
|
219
|
-
},
|
|
220
112
|
{
|
|
221
113
|
"name": "flow-ui-button",
|
|
222
114
|
"description": "Buttons represent actions that are available to the user.\n\n\n---\n\n\n\n\n### **Events:**\n - **flow-ui-blur** - Emitted when the button loses focus.\n- **flow-ui-focus** - Emitted when the button gains focus.\n- **flow-ui-invalid** - Emitted when the form control has been checked for validity and its constraints aren't satisfied.\n\n### **Methods:**\n - **click()** - Simulates a click on the button.\n- **focus(options: _FocusOptions_)** - Sets focus on the button.\n- **blur()** - Removes focus from the button.\n- **checkValidity()** - Checks for validity but does not show a validation message. Returns `true` when valid and `false` when invalid.\n- **getForm(): _HTMLFormElement | null_** - Gets the associated form, if one exists.\n- **reportValidity()** - Checks for validity and shows the browser's validation message if the control is invalid.\n- **setCustomValidity(message: _string_)** - Sets a custom validation message. Pass an empty string to restore validity.\n\n### **Slots:**\n - _default_ - The button's label.\n- **prefix** - A presentational prefix icon or similar element.\n- **suffix** - A presentational suffix icon or similar element.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **prefix** - The container that wraps the prefix.\n- **label** - The button's label.\n- **suffix** - The container that wraps the suffix.\n- **caret** - The button's caret icon, an `<flow-ui-icon>` element.",
|
|
@@ -361,6 +253,115 @@
|
|
|
361
253
|
],
|
|
362
254
|
"references": []
|
|
363
255
|
},
|
|
256
|
+
{
|
|
257
|
+
"name": "flow-ui-button-group",
|
|
258
|
+
"description": "Button groups can be used to group related buttons into sections.\n\n\n---\n\n\n\n\n### **Slots:**\n - _default_ - One or more `<flow-ui-button>` elements to display in the button group.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.",
|
|
259
|
+
"attributes": [
|
|
260
|
+
{ "name": "label", "values": [] },
|
|
261
|
+
{
|
|
262
|
+
"name": "vertical",
|
|
263
|
+
"description": "Use vertical layout for the button group.",
|
|
264
|
+
"values": []
|
|
265
|
+
}
|
|
266
|
+
],
|
|
267
|
+
"references": []
|
|
268
|
+
},
|
|
269
|
+
{
|
|
270
|
+
"name": "flow-ui-animation",
|
|
271
|
+
"description": "Animate elements declaratively with nearly 100 baked-in presets, or roll your own with custom keyframes. Powered by the [Web Animations API](https://developer.mozilla.org/en-US/docs/Web/API/Web_Animations_API).\n\n\n---\n\n\n\n\n### **Events:**\n - **flow-ui-cancel** - Emitted when the animation is canceled.\n- **flow-ui-finish** - Emitted when the animation finishes.\n- **flow-ui-start** - Emitted when the animation starts or restarts.\n\n### **Methods:**\n - **cancel()** - Clears all keyframe effects caused by this animation and aborts its playback.\n- **finish()** - Sets the playback time to the end of the animation corresponding to the current playback direction.\n\n### **Slots:**\n - _default_ - The element to animate. Avoid slotting in more than one element, as subsequent ones will be ignored. To animate multiple elements, either wrap them in a single container or use multiple `<flow-ui-animation>` elements.",
|
|
272
|
+
"attributes": [
|
|
273
|
+
{
|
|
274
|
+
"name": "name",
|
|
275
|
+
"description": "The name of the built-in animation to use. For custom animations, use the `keyframes` prop.",
|
|
276
|
+
"values": []
|
|
277
|
+
},
|
|
278
|
+
{
|
|
279
|
+
"name": "play",
|
|
280
|
+
"description": "Plays the animation. When omitted, the animation will be paused. This attribute will be automatically removed when\nthe animation finishes or gets canceled.",
|
|
281
|
+
"values": []
|
|
282
|
+
},
|
|
283
|
+
{
|
|
284
|
+
"name": "delay",
|
|
285
|
+
"description": "The number of milliseconds to delay the start of the animation.",
|
|
286
|
+
"values": []
|
|
287
|
+
},
|
|
288
|
+
{
|
|
289
|
+
"name": "direction",
|
|
290
|
+
"description": "Determines the direction of playback as well as the behavior when reaching the end of an iteration.\n[Learn more](https://developer.mozilla.org/en-US/docs/Web/CSS/animation-direction)",
|
|
291
|
+
"values": [{ "name": "PlaybackDirection" }]
|
|
292
|
+
},
|
|
293
|
+
{
|
|
294
|
+
"name": "duration",
|
|
295
|
+
"description": "The number of milliseconds each iteration of the animation takes to complete.",
|
|
296
|
+
"values": []
|
|
297
|
+
},
|
|
298
|
+
{
|
|
299
|
+
"name": "easing",
|
|
300
|
+
"description": "The easing function to use for the animation. This can be a Flo.w RDF UI easing function or a custom easing function\nsuch as `cubic-bezier(0, 1, .76, 1.14)`.",
|
|
301
|
+
"values": []
|
|
302
|
+
},
|
|
303
|
+
{
|
|
304
|
+
"name": "end-delay",
|
|
305
|
+
"description": "The number of milliseconds to delay after the active period of an animation sequence.",
|
|
306
|
+
"values": []
|
|
307
|
+
},
|
|
308
|
+
{
|
|
309
|
+
"name": "fill",
|
|
310
|
+
"description": "Sets how the animation applies styles to its target before and after its execution.",
|
|
311
|
+
"values": [{ "name": "FillMode" }]
|
|
312
|
+
},
|
|
313
|
+
{
|
|
314
|
+
"name": "iterations",
|
|
315
|
+
"description": "The number of iterations to run before the animation completes. Defaults to `Infinity`, which loops.",
|
|
316
|
+
"values": []
|
|
317
|
+
},
|
|
318
|
+
{
|
|
319
|
+
"name": "iteration-start",
|
|
320
|
+
"description": "The offset at which to start the animation, usually between 0 (start) and 1 (end).",
|
|
321
|
+
"values": []
|
|
322
|
+
},
|
|
323
|
+
{
|
|
324
|
+
"name": "playback-rate",
|
|
325
|
+
"description": "Sets the animation's playback rate. The default is `1`, which plays the animation at a normal speed. Setting this\nto `2`, for example, will double the animation's speed. A negative value can be used to reverse the animation. This\nvalue can be changed without causing the animation to restart.",
|
|
326
|
+
"values": []
|
|
327
|
+
}
|
|
328
|
+
],
|
|
329
|
+
"references": []
|
|
330
|
+
},
|
|
331
|
+
{
|
|
332
|
+
"name": "flow-ui-badge",
|
|
333
|
+
"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.",
|
|
334
|
+
"attributes": [
|
|
335
|
+
{
|
|
336
|
+
"name": "variant",
|
|
337
|
+
"description": "The badge's theme variant.",
|
|
338
|
+
"values": [
|
|
339
|
+
{ "name": "primary" },
|
|
340
|
+
{ "name": "success" },
|
|
341
|
+
{ "name": "neutral" },
|
|
342
|
+
{ "name": "warning" },
|
|
343
|
+
{ "name": "danger" }
|
|
344
|
+
]
|
|
345
|
+
},
|
|
346
|
+
{
|
|
347
|
+
"name": "pill",
|
|
348
|
+
"description": "Draws a pill-style badge with rounded edges.",
|
|
349
|
+
"values": []
|
|
350
|
+
},
|
|
351
|
+
{
|
|
352
|
+
"name": "pulse",
|
|
353
|
+
"description": "Makes the badge pulsate to draw attention.",
|
|
354
|
+
"values": []
|
|
355
|
+
}
|
|
356
|
+
],
|
|
357
|
+
"references": []
|
|
358
|
+
},
|
|
359
|
+
{
|
|
360
|
+
"name": "flow-ui-card",
|
|
361
|
+
"description": "Cards can be used to group related subjects in a container.\n\n\n---\n\n\n\n\n### **Slots:**\n - _default_ - The card's main content.\n- **header** - An optional header for the card.\n- **footer** - An optional footer for the card.\n- **image** - An optional image to render at the start of the card.\n\n### **CSS Properties:**\n - **--border-color** - The card's border color, including borders that occur inside the card. _(default: undefined)_\n- **--border-radius** - The border radius for the card's edges. _(default: undefined)_\n- **--border-width** - The width of the card's borders. _(default: undefined)_\n- **--padding** - The padding to use for the card's sections. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **image** - The container that wraps the card's image.\n- **header** - The container that wraps the card's header.\n- **body** - The container that wraps the card's main content.\n- **footer** - The container that wraps the card's footer.",
|
|
362
|
+
"attributes": [],
|
|
363
|
+
"references": []
|
|
364
|
+
},
|
|
364
365
|
{
|
|
365
366
|
"name": "flow-ui-carousel",
|
|
366
367
|
"description": "Carousels display an arbitrary number of content slides along a horizontal or vertical axis.\n\n\n---\n\n\n\n\n### **Events:**\n - **flow-ui-slide-change** - Emitted when the active slide changes.\n\n### **Methods:**\n - **previous(behavior: _ScrollBehavior_)** - Move the carousel backward by `slides-per-move` slides.\n- **next(behavior: _ScrollBehavior_)** - Move the carousel forward by `slides-per-move` slides.\n- **goToSlide(index: _number_, behavior: _ScrollBehavior_)** - Scrolls the carousel to the slide specified by `index`.\n\n### **Slots:**\n - _default_ - The carousel's main content, one or more `<flow-ui-carousel-item>` elements.\n- **next-icon** - Optional next icon to use instead of the default. Works best with `<flow-ui-icon>`.\n- **previous-icon** - Optional previous icon to use instead of the default. Works best with `<flow-ui-icon>`.\n\n### **CSS Properties:**\n - **--slide-gap** - The space between each slide. _(default: undefined)_\n- **--aspect-ratio** - The aspect ratio of each slide. _(default: undefined)_\n- **--scroll-hint** - The amount of padding to apply to the scroll area, allowing adjacent slides to become partially visible as a scroll hint. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The carousel's internal wrapper.\n- **scroll-container** - The scroll container that wraps the slides.\n- **pagination** - The pagination indicators wrapper.\n- **pagination-item** - The pagination indicator.\n- **pagination-item--active** - Applied when the item is active.\n- **navigation** - The navigation wrapper.\n- **navigation-button** - The navigation button.\n- **navigation-button--previous** - Applied to the previous button.\n- **navigation-button--next** - Applied to the next button.",
|
|
@@ -671,18 +672,6 @@
|
|
|
671
672
|
],
|
|
672
673
|
"references": []
|
|
673
674
|
},
|
|
674
|
-
{
|
|
675
|
-
"name": "flow-ui-divider",
|
|
676
|
-
"description": "Dividers are used to visually separate or group elements.\n\n\n---\n\n\n\n\n### **CSS Properties:**\n - **--color** - The color of the divider. _(default: undefined)_\n- **--width** - The width of the divider. _(default: undefined)_\n- **--spacing** - The spacing of the divider. _(default: undefined)_",
|
|
677
|
-
"attributes": [
|
|
678
|
-
{
|
|
679
|
-
"name": "vertical",
|
|
680
|
-
"description": "Draws the divider in a vertical orientation.",
|
|
681
|
-
"values": []
|
|
682
|
-
}
|
|
683
|
-
],
|
|
684
|
-
"references": []
|
|
685
|
-
},
|
|
686
675
|
{
|
|
687
676
|
"name": "flow-ui-dialog",
|
|
688
677
|
"description": "Dialogs, sometimes called \"modals\", appear above the page and require the user's immediate attention.\n\n\n---\n\n\n\n\n### **Events:**\n - **flow-ui-show** - Emitted when the dialog opens.\n- **flow-ui-after-show** - Emitted after the dialog opens and all animations are complete.\n- **flow-ui-hide** - Emitted when the dialog closes.\n- **flow-ui-after-hide** - Emitted after the dialog closes and all animations are complete.\n- **flow-ui-initial-focus** - Emitted when the dialog opens and is ready to receive focus. Calling `event.preventDefault()` will prevent focusing and allow you to set it on a different element, such as an input.\n- **flow-ui-request-close** - Emitted when the user attempts to close the dialog by clicking the close button, clicking the overlay, or pressing escape. Calling `event.preventDefault()` will keep the dialog open. Avoid using this unless closing the dialog will result in destructive behavior such as data loss.\n\n### **Methods:**\n - **show()** - Shows the dialog.\n- **hide()** - Hides the dialog\n\n### **Slots:**\n - _default_ - The dialog's main content.\n- **label** - The dialog's label. Alternatively, you can use the `label` attribute.\n- **header-actions** - Optional actions to add to the header. Works best with `<flow-ui-icon-button>`.\n- **footer** - The dialog's footer, usually one or more buttons representing various options.\n\n### **CSS Properties:**\n - **--width** - The preferred width of the dialog. Note that the dialog will shrink to accommodate smaller screens. _(default: undefined)_\n- **--header-spacing** - The amount of padding to use for the header. _(default: undefined)_\n- **--body-spacing** - The amount of padding to use for the body. _(default: undefined)_\n- **--footer-spacing** - The amount of padding to use for the footer. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **overlay** - The overlay that covers the screen behind the dialog.\n- **panel** - The dialog's panel (where the dialog and its content are rendered).\n- **header** - The dialog's header. This element wraps the title and header actions.\n- **header-actions** - Optional actions to add to the header. Works best with `<flow-ui-icon-button>`.\n- **title** - The dialog's title.\n- **close-button** - The close button, an `<flow-ui-icon-button>`.\n- **close-button__base** - The close button's exported `base` part.\n- **body** - The dialog's body.\n- **footer** - The dialog's footer.",
|
|
@@ -705,6 +694,18 @@
|
|
|
705
694
|
],
|
|
706
695
|
"references": []
|
|
707
696
|
},
|
|
697
|
+
{
|
|
698
|
+
"name": "flow-ui-divider",
|
|
699
|
+
"description": "Dividers are used to visually separate or group elements.\n\n\n---\n\n\n\n\n### **CSS Properties:**\n - **--color** - The color of the divider. _(default: undefined)_\n- **--width** - The width of the divider. _(default: undefined)_\n- **--spacing** - The spacing of the divider. _(default: undefined)_",
|
|
700
|
+
"attributes": [
|
|
701
|
+
{
|
|
702
|
+
"name": "vertical",
|
|
703
|
+
"description": "Draws the divider in a vertical orientation.",
|
|
704
|
+
"values": []
|
|
705
|
+
}
|
|
706
|
+
],
|
|
707
|
+
"references": []
|
|
708
|
+
},
|
|
708
709
|
{
|
|
709
710
|
"name": "flow-ui-drawer",
|
|
710
711
|
"description": "Drawers slide in from a container to expose additional options and information.\n\n\n---\n\n\n\n\n### **Events:**\n - **flow-ui-show** - Emitted when the drawer opens.\n- **flow-ui-after-show** - Emitted after the drawer opens and all animations are complete.\n- **flow-ui-hide** - Emitted when the drawer closes.\n- **flow-ui-after-hide** - Emitted after the drawer closes and all animations are complete.\n- **flow-ui-initial-focus** - Emitted when the drawer opens and is ready to receive focus. Calling `event.preventDefault()` will prevent focusing and allow you to set it on a different element, such as an input.\n- **flow-ui-request-close** - Emitted when the user attempts to close the drawer by clicking the close button, clicking the overlay, or pressing escape. Calling `event.preventDefault()` will keep the drawer open. Avoid using this unless closing the drawer will result in destructive behavior such as data loss.\n\n### **Methods:**\n - **show()** - Shows the drawer.\n- **hide()** - Hides the drawer\n\n### **Slots:**\n - _default_ - The drawer's main content.\n- **label** - The drawer's label. Alternatively, you can use the `label` attribute.\n- **header-actions** - Optional actions to add to the header. Works best with `<flow-ui-icon-button>`.\n- **footer** - The drawer's footer, usually one or more buttons representing various options.\n\n### **CSS Properties:**\n - **--size** - The preferred size of the drawer. This will be applied to the drawer's width or height depending on its `placement`. Note that the drawer will shrink to accommodate smaller screens. _(default: undefined)_\n- **--header-spacing** - The amount of padding to use for the header. _(default: undefined)_\n- **--body-spacing** - The amount of padding to use for the body. _(default: undefined)_\n- **--footer-spacing** - The amount of padding to use for the footer. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **overlay** - The overlay that covers the screen behind the drawer.\n- **panel** - The drawer's panel (where the drawer and its content are rendered).\n- **header** - The drawer's header. This element wraps the title and header actions.\n- **header-actions** - Optional actions to add to the header. Works best with `<flow-ui-icon-button>`.\n- **title** - The drawer's title.\n- **close-button** - The close button, an `<flow-ui-icon-button>`.\n- **close-button__base** - The close button's exported `base` part.\n- **body** - The drawer's body.\n- **footer** - The drawer's footer.",
|
|
@@ -826,111 +827,10 @@
|
|
|
826
827
|
"references": []
|
|
827
828
|
},
|
|
828
829
|
{
|
|
829
|
-
"name": "flow-ui-
|
|
830
|
-
"description": "
|
|
830
|
+
"name": "flow-ui-input",
|
|
831
|
+
"description": "Inputs collect data from the user.\n\n\n---\n\n\n\n\n### **Events:**\n - **flow-ui-blur** - Emitted when the control loses focus.\n- **flow-ui-change** - Emitted when an alteration to the control's value is committed by the user.\n- **flow-ui-clear** - Emitted when the clear button is activated.\n- **flow-ui-focus** - Emitted when the control gains focus.\n- **flow-ui-input** - Emitted when the control receives input.\n- **flow-ui-invalid** - Emitted when the form control has been checked for validity and its constraints aren't satisfied.\n\n### **Methods:**\n - **focus(options: _FocusOptions_)** - Sets focus on the input.\n- **blur()** - Removes focus from the input.\n- **select()** - Selects all the text in the input.\n- **setSelectionRange(selectionStart: _number_, selectionEnd: _number_, selectionDirection: _'forward' | 'backward' | 'none'_)** - Sets the start and end positions of the text selection (0-based).\n- **setRangeText(replacement: _string_, start: _number_, end: _number_, selectMode: _'select' | 'start' | 'end' | 'preserve'_)** - Replaces a range of text with a new string.\n- **showPicker()** - Displays the browser picker for an input element (only works if the browser supports it for the input type).\n- **stepUp()** - Increments the value of a numeric input type by the value of the step attribute.\n- **stepDown()** - Decrements the value of a numeric input type by the value of the step attribute.\n- **checkValidity()** - Checks for validity but does not show a validation message. Returns `true` when valid and `false` when invalid.\n- **getForm(): _HTMLFormElement | null_** - Gets the associated form, if one exists.\n- **reportValidity()** - Checks for validity and shows the browser's validation message if the control is invalid.\n- **setCustomValidity(message: _string_)** - Sets a custom validation message. Pass an empty string to restore validity.\n\n### **Slots:**\n - **label** - The input's label. Alternatively, you can use the `label` attribute.\n- **prefix** - Used to prepend a presentational icon or similar element to the input.\n- **suffix** - Used to append a presentational icon or similar element to the input.\n- **clear-icon** - An icon to use in lieu of the default clear icon.\n- **show-password-icon** - An icon to use in lieu of the default show password icon.\n- **hide-password-icon** - An icon to use in lieu of the default hide password icon.\n- **help-text** - Text that describes how to use the input. Alternatively, you can use the `help-text` attribute.\n\n### **CSS Parts:**\n - **form-control** - The form control that wraps the label, input, and help text.\n- **form-control-label** - The label's wrapper.\n- **form-control-input** - The input's wrapper.\n- **form-control-help-text** - The help text's wrapper.\n- **base** - The component's base wrapper.\n- **input** - The internal `<input>` control.\n- **prefix** - The container that wraps the prefix.\n- **clear-button** - The clear button.\n- **password-toggle-button** - The password toggle button.\n- **suffix** - The container that wraps the suffix.",
|
|
831
832
|
"attributes": [
|
|
832
|
-
{
|
|
833
|
-
"name": "name",
|
|
834
|
-
"description": "The name of the icon to draw. Available names depend on the icon library being used.",
|
|
835
|
-
"values": []
|
|
836
|
-
},
|
|
837
|
-
{
|
|
838
|
-
"name": "library",
|
|
839
|
-
"description": "The name of a registered custom icon library.",
|
|
840
|
-
"values": []
|
|
841
|
-
},
|
|
842
|
-
{
|
|
843
|
-
"name": "src",
|
|
844
|
-
"description": "An external URL of an SVG file. Be sure you trust the content you are including, as it will be executed as code and\ncan result in XSS attacks.",
|
|
845
|
-
"values": []
|
|
846
|
-
},
|
|
847
|
-
{
|
|
848
|
-
"name": "href",
|
|
849
|
-
"description": "When set, the underlying button will be rendered as an `<a>` with this `href` instead of a `<button>`.",
|
|
850
|
-
"values": []
|
|
851
|
-
},
|
|
852
|
-
{
|
|
853
|
-
"name": "target",
|
|
854
|
-
"description": "Tells the browser where to open the link. Only used when `href` is set.",
|
|
855
|
-
"values": [
|
|
856
|
-
{ "name": "_blank" },
|
|
857
|
-
{ "name": "_parent" },
|
|
858
|
-
{ "name": "_self" },
|
|
859
|
-
{ "name": "_top" }
|
|
860
|
-
]
|
|
861
|
-
},
|
|
862
|
-
{
|
|
863
|
-
"name": "download",
|
|
864
|
-
"description": "Tells the browser to download the linked file as this filename. Only used when `href` is set.",
|
|
865
|
-
"values": []
|
|
866
|
-
},
|
|
867
|
-
{
|
|
868
|
-
"name": "label",
|
|
869
|
-
"description": "A description that gets read by assistive devices. For optimal accessibility, you should always include a label\nthat describes what the icon button does.",
|
|
870
|
-
"values": []
|
|
871
|
-
},
|
|
872
|
-
{
|
|
873
|
-
"name": "tooltip",
|
|
874
|
-
"description": "Tooltip text that gets displayed when the user hovers over the icon button. If you need to display HTML, use the\n`tooltip` slot instead.",
|
|
875
|
-
"values": []
|
|
876
|
-
},
|
|
877
|
-
{
|
|
878
|
-
"name": "tooltipPlacement",
|
|
879
|
-
"description": "The preferred placement of the tooltip. Note that the actual placement may vary as needed to keep the tooltip\ninside of the viewport.",
|
|
880
|
-
"values": [
|
|
881
|
-
{ "name": "" },
|
|
882
|
-
{ "name": "top" },
|
|
883
|
-
{ "name": "top-start" },
|
|
884
|
-
{ "name": "top-end" },
|
|
885
|
-
{ "name": "right" },
|
|
886
|
-
{ "name": "right-start" },
|
|
887
|
-
{ "name": "right-end" },
|
|
888
|
-
{ "name": "bottom" },
|
|
889
|
-
{ "name": "bottom-start" },
|
|
890
|
-
{ "name": "bottom-end" },
|
|
891
|
-
{ "name": "left" },
|
|
892
|
-
{ "name": "left-start" },
|
|
893
|
-
{ "name": "left-end" }
|
|
894
|
-
]
|
|
895
|
-
},
|
|
896
|
-
{
|
|
897
|
-
"name": "tooltipDistance",
|
|
898
|
-
"description": "The distance in pixels from which to offset the tooltip away from the icon button.",
|
|
899
|
-
"values": []
|
|
900
|
-
},
|
|
901
|
-
{
|
|
902
|
-
"name": "tooltipSkidding",
|
|
903
|
-
"description": "The distance in pixels from which to offset the tooltip along the icon button.",
|
|
904
|
-
"values": []
|
|
905
|
-
},
|
|
906
|
-
{
|
|
907
|
-
"name": "checkbox",
|
|
908
|
-
"description": "Enable checkbox behaviour for the button (clicking toggles the `checked` state)",
|
|
909
|
-
"values": []
|
|
910
|
-
},
|
|
911
|
-
{
|
|
912
|
-
"name": "checked",
|
|
913
|
-
"description": "Disables the button.",
|
|
914
|
-
"values": []
|
|
915
|
-
},
|
|
916
|
-
{
|
|
917
|
-
"name": "disabled",
|
|
918
|
-
"description": "Disables the button.",
|
|
919
|
-
"values": []
|
|
920
|
-
},
|
|
921
|
-
{
|
|
922
|
-
"name": "confirm",
|
|
923
|
-
"description": "Confirmation text that gets displayed in a tooltip when the user clicks the icon button.\n If you need to display HTML, use the `confirm` slot instead.",
|
|
924
|
-
"values": []
|
|
925
|
-
}
|
|
926
|
-
],
|
|
927
|
-
"references": []
|
|
928
|
-
},
|
|
929
|
-
{
|
|
930
|
-
"name": "flow-ui-input",
|
|
931
|
-
"description": "Inputs collect data from the user.\n\n\n---\n\n\n\n\n### **Events:**\n - **flow-ui-blur** - Emitted when the control loses focus.\n- **flow-ui-change** - Emitted when an alteration to the control's value is committed by the user.\n- **flow-ui-clear** - Emitted when the clear button is activated.\n- **flow-ui-focus** - Emitted when the control gains focus.\n- **flow-ui-input** - Emitted when the control receives input.\n- **flow-ui-invalid** - Emitted when the form control has been checked for validity and its constraints aren't satisfied.\n\n### **Methods:**\n - **focus(options: _FocusOptions_)** - Sets focus on the input.\n- **blur()** - Removes focus from the input.\n- **select()** - Selects all the text in the input.\n- **setSelectionRange(selectionStart: _number_, selectionEnd: _number_, selectionDirection: _'forward' | 'backward' | 'none'_)** - Sets the start and end positions of the text selection (0-based).\n- **setRangeText(replacement: _string_, start: _number_, end: _number_, selectMode: _'select' | 'start' | 'end' | 'preserve'_)** - Replaces a range of text with a new string.\n- **showPicker()** - Displays the browser picker for an input element (only works if the browser supports it for the input type).\n- **stepUp()** - Increments the value of a numeric input type by the value of the step attribute.\n- **stepDown()** - Decrements the value of a numeric input type by the value of the step attribute.\n- **checkValidity()** - Checks for validity but does not show a validation message. Returns `true` when valid and `false` when invalid.\n- **getForm(): _HTMLFormElement | null_** - Gets the associated form, if one exists.\n- **reportValidity()** - Checks for validity and shows the browser's validation message if the control is invalid.\n- **setCustomValidity(message: _string_)** - Sets a custom validation message. Pass an empty string to restore validity.\n\n### **Slots:**\n - **label** - The input's label. Alternatively, you can use the `label` attribute.\n- **prefix** - Used to prepend a presentational icon or similar element to the input.\n- **suffix** - Used to append a presentational icon or similar element to the input.\n- **clear-icon** - An icon to use in lieu of the default clear icon.\n- **show-password-icon** - An icon to use in lieu of the default show password icon.\n- **hide-password-icon** - An icon to use in lieu of the default hide password icon.\n- **help-text** - Text that describes how to use the input. Alternatively, you can use the `help-text` attribute.\n\n### **CSS Parts:**\n - **form-control** - The form control that wraps the label, input, and help text.\n- **form-control-label** - The label's wrapper.\n- **form-control-input** - The input's wrapper.\n- **form-control-help-text** - The help text's wrapper.\n- **base** - The component's base wrapper.\n- **input** - The internal `<input>` control.\n- **prefix** - The container that wraps the prefix.\n- **clear-button** - The clear button.\n- **password-toggle-button** - The password toggle button.\n- **suffix** - The container that wraps the suffix.",
|
|
932
|
-
"attributes": [
|
|
933
|
-
{ "name": "title", "values": [] },
|
|
833
|
+
{ "name": "title", "values": [] },
|
|
934
834
|
{
|
|
935
835
|
"name": "type",
|
|
936
836
|
"description": "The type of input. Works the same as a native `<input>` element, but only a subset of types are supported. Defaults\nto `text`.",
|
|
@@ -1130,33 +1030,6 @@
|
|
|
1130
1030
|
"attributes": [],
|
|
1131
1031
|
"references": []
|
|
1132
1032
|
},
|
|
1133
|
-
{
|
|
1134
|
-
"name": "flow-ui-menu-item",
|
|
1135
|
-
"description": "Menu items provide options for the user to pick from in a menu.\n\n\n---\n\n\n\n\n### **Methods:**\n - **getTextLabel()** - Returns a text label based on the contents of the menu item's default slot.\n\n### **Slots:**\n - _default_ - The menu item's label.\n- **prefix** - Used to prepend an icon or similar element to the menu item.\n- **suffix** - Used to append an icon or similar element to the menu item.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **checked-icon** - The checked icon, which is only visible when the menu item is checked.\n- **prefix** - The prefix container.\n- **label** - The menu item label.\n- **suffix** - The suffix container.\n- **submenu-icon** - The submenu icon, visible only when the menu item has a submenu (not yet implemented).",
|
|
1136
|
-
"attributes": [
|
|
1137
|
-
{
|
|
1138
|
-
"name": "type",
|
|
1139
|
-
"description": "The type of menu item to render. To use `checked`, this value must be set to `checkbox`.",
|
|
1140
|
-
"values": [{ "name": "normal" }, { "name": "checkbox" }]
|
|
1141
|
-
},
|
|
1142
|
-
{
|
|
1143
|
-
"name": "checked",
|
|
1144
|
-
"description": "Draws the item in a checked state.",
|
|
1145
|
-
"values": []
|
|
1146
|
-
},
|
|
1147
|
-
{
|
|
1148
|
-
"name": "value",
|
|
1149
|
-
"description": "A unique value to store in the menu item. This can be used as a way to identify menu items when selected.",
|
|
1150
|
-
"values": []
|
|
1151
|
-
},
|
|
1152
|
-
{
|
|
1153
|
-
"name": "disabled",
|
|
1154
|
-
"description": "Draws the menu item in a disabled state, preventing selection.",
|
|
1155
|
-
"values": []
|
|
1156
|
-
}
|
|
1157
|
-
],
|
|
1158
|
-
"references": []
|
|
1159
|
-
},
|
|
1160
1033
|
{
|
|
1161
1034
|
"name": "flow-ui-menu-label",
|
|
1162
1035
|
"description": "Menu labels are used to describe a group of menu items.\n\n\n---\n\n\n\n\n### **Slots:**\n - _default_ - The menu label's content.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.",
|
|
@@ -1180,82 +1053,6 @@
|
|
|
1180
1053
|
],
|
|
1181
1054
|
"references": []
|
|
1182
1055
|
},
|
|
1183
|
-
{
|
|
1184
|
-
"name": "flow-ui-progress-bar",
|
|
1185
|
-
"description": "Progress bars are used to show the status of an ongoing operation.\n\n\n---\n\n\n\n\n### **Slots:**\n - _default_ - A label to show inside the progress indicator.\n\n### **CSS Properties:**\n - **--height** - The progress bar's height. _(default: undefined)_\n- **--track-color** - The color of the track. _(default: undefined)_\n- **--indicator-color** - The color of the indicator. _(default: undefined)_\n- **--label-color** - The color of the label. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **indicator** - The progress bar's indicator.\n- **label** - The progress bar's label.",
|
|
1186
|
-
"attributes": [
|
|
1187
|
-
{
|
|
1188
|
-
"name": "value",
|
|
1189
|
-
"description": "The current progress as a percentage, 0 to 100.",
|
|
1190
|
-
"values": []
|
|
1191
|
-
},
|
|
1192
|
-
{
|
|
1193
|
-
"name": "indeterminate",
|
|
1194
|
-
"description": "When true, percentage is ignored, the label is hidden, and the progress bar is drawn in an indeterminate state.",
|
|
1195
|
-
"values": []
|
|
1196
|
-
},
|
|
1197
|
-
{
|
|
1198
|
-
"name": "label",
|
|
1199
|
-
"description": "A custom label for assistive devices.",
|
|
1200
|
-
"values": []
|
|
1201
|
-
}
|
|
1202
|
-
],
|
|
1203
|
-
"references": []
|
|
1204
|
-
},
|
|
1205
|
-
{
|
|
1206
|
-
"name": "flow-ui-mutation-observer",
|
|
1207
|
-
"description": "The Mutation Observer component offers a thin, declarative interface to the [`MutationObserver API`](https://developer.mozilla.org/en-US/docs/Web/API/MutationObserver).\n\n\n---\n\n\n\n\n### **Events:**\n - **flow-ui-mutation** - Emitted when a mutation occurs.\n\n### **Slots:**\n - _default_ - The content to watch for mutations.",
|
|
1208
|
-
"attributes": [
|
|
1209
|
-
{
|
|
1210
|
-
"name": "attr",
|
|
1211
|
-
"description": "Watches for changes to attributes. To watch only specific attributes, separate them by a space, e.g.\n`attr=\"class id title\"`. To watch all attributes, use `*`.",
|
|
1212
|
-
"values": []
|
|
1213
|
-
},
|
|
1214
|
-
{
|
|
1215
|
-
"name": "attr-old-value",
|
|
1216
|
-
"description": "Indicates whether or not the attribute's previous value should be recorded when monitoring changes.",
|
|
1217
|
-
"values": []
|
|
1218
|
-
},
|
|
1219
|
-
{
|
|
1220
|
-
"name": "char-data",
|
|
1221
|
-
"description": "Watches for changes to the character data contained within the node.",
|
|
1222
|
-
"values": []
|
|
1223
|
-
},
|
|
1224
|
-
{
|
|
1225
|
-
"name": "char-data-old-value",
|
|
1226
|
-
"description": "Indicates whether or not the previous value of the node's text should be recorded.",
|
|
1227
|
-
"values": []
|
|
1228
|
-
},
|
|
1229
|
-
{
|
|
1230
|
-
"name": "child-list",
|
|
1231
|
-
"description": "Watches for the addition or removal of new child nodes.",
|
|
1232
|
-
"values": []
|
|
1233
|
-
},
|
|
1234
|
-
{
|
|
1235
|
-
"name": "disabled",
|
|
1236
|
-
"description": "Disables the observer.",
|
|
1237
|
-
"values": []
|
|
1238
|
-
}
|
|
1239
|
-
],
|
|
1240
|
-
"references": []
|
|
1241
|
-
},
|
|
1242
|
-
{
|
|
1243
|
-
"name": "flow-ui-progress-ring",
|
|
1244
|
-
"description": "Progress rings are used to show the progress of a determinate operation in a circular fashion.\n\n\n---\n\n\n\n\n### **Slots:**\n - _default_ - A label to show inside the ring.\n\n### **CSS Properties:**\n - **--size** - The diameter of the progress ring (cannot be a percentage). _(default: undefined)_\n- **--track-width** - The width of the track. _(default: undefined)_\n- **--track-color** - The color of the track. _(default: undefined)_\n- **--indicator-width** - The width of the indicator. Defaults to the track width. _(default: undefined)_\n- **--indicator-color** - The color of the indicator. _(default: undefined)_\n- **--indicator-transition-duration** - The duration of the indicator's transition when the value changes. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **label** - The progress ring label.",
|
|
1245
|
-
"attributes": [
|
|
1246
|
-
{
|
|
1247
|
-
"name": "value",
|
|
1248
|
-
"description": "The current progress as a percentage, 0 to 100.",
|
|
1249
|
-
"values": []
|
|
1250
|
-
},
|
|
1251
|
-
{
|
|
1252
|
-
"name": "label",
|
|
1253
|
-
"description": "A custom label for assistive devices.",
|
|
1254
|
-
"values": []
|
|
1255
|
-
}
|
|
1256
|
-
],
|
|
1257
|
-
"references": []
|
|
1258
|
-
},
|
|
1259
1056
|
{
|
|
1260
1057
|
"name": "flow-ui-popup",
|
|
1261
1058
|
"description": "Popup is a utility that lets you declaratively anchor \"popup\" containers to another element.\n\n\n---\n\n\n\n\n### **Events:**\n - **flow-ui-reposition** - Emitted when the popup is repositioned. This event can fire a lot, so avoid putting expensive operations in your listener or consider debouncing it.\n\n### **Methods:**\n - **reposition()** - Forces the popup to recalculate and reposition itself.\n\n### **Slots:**\n - _default_ - The popup's content.\n- **anchor** - The element the popup will be anchored to. If the anchor lives outside of the popup, you can use the `anchor` attribute or property instead.\n\n### **CSS Properties:**\n - **--arrow-size** - The size of the arrow. Note that an arrow won't be shown unless the `arrow` attribute is used. _(default: 6px)_\n- **--arrow-color** - The color of the arrow. _(default: var(--flow-ui-color-neutral-0))_\n- **--auto-size-available-width** - A read-only custom property that determines the amount of width the popup can be before overflowing. Useful for positioning child elements that need to overflow. This property is only available when using `auto-size`. _(default: undefined)_\n- **--auto-size-available-height** - A read-only custom property that determines the amount of height the popup can be before overflowing. Useful for positioning child elements that need to overflow. This property is only available when using `auto-size`. _(default: undefined)_\n\n### **CSS Parts:**\n - **arrow** - The arrow's container. Avoid setting `top|bottom|left|right` properties, as these values are assigned dynamically as the popup moves. This is most useful for applying a background color to match the popup, and maybe a border or box shadow.\n- **popup** - The popup's container. Useful for setting a background color, box shadow, etc.",
|
|
@@ -1396,31 +1193,59 @@
|
|
|
1396
1193
|
"references": []
|
|
1397
1194
|
},
|
|
1398
1195
|
{
|
|
1399
|
-
"name": "flow-ui-
|
|
1400
|
-
"description": "
|
|
1196
|
+
"name": "flow-ui-mutation-observer",
|
|
1197
|
+
"description": "The Mutation Observer component offers a thin, declarative interface to the [`MutationObserver API`](https://developer.mozilla.org/en-US/docs/Web/API/MutationObserver).\n\n\n---\n\n\n\n\n### **Events:**\n - **flow-ui-mutation** - Emitted when a mutation occurs.\n\n### **Slots:**\n - _default_ - The content to watch for mutations.",
|
|
1401
1198
|
"attributes": [
|
|
1402
1199
|
{
|
|
1403
|
-
"name": "
|
|
1404
|
-
"description": "
|
|
1200
|
+
"name": "attr",
|
|
1201
|
+
"description": "Watches for changes to attributes. To watch only specific attributes, separate them by a space, e.g.\n`attr=\"class id title\"`. To watch all attributes, use `*`.",
|
|
1202
|
+
"values": []
|
|
1203
|
+
},
|
|
1204
|
+
{
|
|
1205
|
+
"name": "attr-old-value",
|
|
1206
|
+
"description": "Indicates whether or not the attribute's previous value should be recorded when monitoring changes.",
|
|
1207
|
+
"values": []
|
|
1208
|
+
},
|
|
1209
|
+
{
|
|
1210
|
+
"name": "char-data",
|
|
1211
|
+
"description": "Watches for changes to the character data contained within the node.",
|
|
1212
|
+
"values": []
|
|
1213
|
+
},
|
|
1214
|
+
{
|
|
1215
|
+
"name": "char-data-old-value",
|
|
1216
|
+
"description": "Indicates whether or not the previous value of the node's text should be recorded.",
|
|
1217
|
+
"values": []
|
|
1218
|
+
},
|
|
1219
|
+
{
|
|
1220
|
+
"name": "child-list",
|
|
1221
|
+
"description": "Watches for the addition or removal of new child nodes.",
|
|
1405
1222
|
"values": []
|
|
1406
1223
|
},
|
|
1407
1224
|
{
|
|
1408
1225
|
"name": "disabled",
|
|
1409
|
-
"description": "Disables the
|
|
1226
|
+
"description": "Disables the observer.",
|
|
1227
|
+
"values": []
|
|
1228
|
+
}
|
|
1229
|
+
],
|
|
1230
|
+
"references": []
|
|
1231
|
+
},
|
|
1232
|
+
{
|
|
1233
|
+
"name": "flow-ui-progress-bar",
|
|
1234
|
+
"description": "Progress bars are used to show the status of an ongoing operation.\n\n\n---\n\n\n\n\n### **Slots:**\n - _default_ - A label to show inside the progress indicator.\n\n### **CSS Properties:**\n - **--height** - The progress bar's height. _(default: undefined)_\n- **--track-color** - The color of the track. _(default: undefined)_\n- **--indicator-color** - The color of the indicator. _(default: undefined)_\n- **--label-color** - The color of the label. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **indicator** - The progress bar's indicator.\n- **label** - The progress bar's label.",
|
|
1235
|
+
"attributes": [
|
|
1236
|
+
{
|
|
1237
|
+
"name": "value",
|
|
1238
|
+
"description": "The current progress as a percentage, 0 to 100.",
|
|
1410
1239
|
"values": []
|
|
1411
1240
|
},
|
|
1412
1241
|
{
|
|
1413
|
-
"name": "
|
|
1414
|
-
"description": "
|
|
1415
|
-
"values": [
|
|
1416
|
-
{ "name": "small" },
|
|
1417
|
-
{ "name": "medium" },
|
|
1418
|
-
{ "name": "large" }
|
|
1419
|
-
]
|
|
1242
|
+
"name": "indeterminate",
|
|
1243
|
+
"description": "When true, percentage is ignored, the label is hidden, and the progress bar is drawn in an indeterminate state.",
|
|
1244
|
+
"values": []
|
|
1420
1245
|
},
|
|
1421
1246
|
{
|
|
1422
|
-
"name": "
|
|
1423
|
-
"description": "
|
|
1247
|
+
"name": "label",
|
|
1248
|
+
"description": "A custom label for assistive devices.",
|
|
1424
1249
|
"values": []
|
|
1425
1250
|
}
|
|
1426
1251
|
],
|
|
@@ -1452,21 +1277,9 @@
|
|
|
1452
1277
|
],
|
|
1453
1278
|
"references": []
|
|
1454
1279
|
},
|
|
1455
|
-
{
|
|
1456
|
-
"name": "flow-ui-resize-observer",
|
|
1457
|
-
"description": "The Resize Observer component offers a thin, declarative interface to the [`ResizeObserver API`](https://developer.mozilla.org/en-US/docs/Web/API/ResizeObserver).\n\n\n---\n\n\n\n\n### **Events:**\n - **flow-ui-resize** - Emitted when the element is resized.\n\n### **Slots:**\n - _default_ - One or more elements to watch for resizing.",
|
|
1458
|
-
"attributes": [
|
|
1459
|
-
{
|
|
1460
|
-
"name": "disabled",
|
|
1461
|
-
"description": "Disables the observer.",
|
|
1462
|
-
"values": []
|
|
1463
|
-
}
|
|
1464
|
-
],
|
|
1465
|
-
"references": []
|
|
1466
|
-
},
|
|
1467
1280
|
{
|
|
1468
1281
|
"name": "flow-ui-radio-group",
|
|
1469
|
-
"description": "Radio groups are used to group multiple [radios](/components/radio) or [radio buttons](/components/radio-button) so they function as a single form control.\n\n\n---\n\n\n\n\n### **Events:**\n - **flow-ui-change** - Emitted when the radio group's selected value changes.\n- **flow-ui-input** - Emitted when the radio group receives user input.\n- **flow-ui-invalid** - Emitted when the form control has been checked for validity and its constraints aren't satisfied.\n\n### **Methods:**\n - **checkValidity()** - Checks for validity but does not show a validation message. Returns `true` when valid and `false` when invalid.\n- **getForm(): _HTMLFormElement | null_** - Gets the associated form, if one exists.\n- **reportValidity(): _boolean_** - Checks for validity and shows the browser's validation message if the control is invalid.\n- **setCustomValidity(message)** - Sets a custom validation message. Pass an empty string to restore validity.\n\n### **Slots:**\n - _default_ - The default slot where `<flow-ui-radio>` or `<flow-ui-
|
|
1282
|
+
"description": "Radio groups are used to group multiple [radios](/components/radio) or [radio buttons](/components/radio-button) so they function as a single form control.\n\n\n---\n\n\n\n\n### **Events:**\n - **flow-ui-change** - Emitted when the radio group's selected value changes.\n- **flow-ui-input** - Emitted when the radio group receives user input.\n- **flow-ui-invalid** - Emitted when the form control has been checked for validity and its constraints aren't satisfied.\n\n### **Methods:**\n - **checkValidity()** - Checks for validity but does not show a validation message. Returns `true` when valid and `false` when invalid.\n- **getForm(): _HTMLFormElement | null_** - Gets the associated form, if one exists.\n- **reportValidity(): _boolean_** - Checks for validity and shows the browser's validation message if the control is invalid.\n- **setCustomValidity(message)** - Sets a custom validation message. Pass an empty string to restore validity.\n\n### **Slots:**\n - _default_ - The default slot where `<flow-ui-radio>` or `<flow-ui-tool-button>` elements are placed.\n- **label** - The radio group's label. Required for proper accessibility. Alternatively, you can use the `label` attribute.\n\n### **CSS Parts:**\n - **form-control** - The form control that wraps the label, input, and help text.\n- **form-control-label** - The label's wrapper.\n- **form-control-input** - The input's wrapper.\n- **form-control-help-text** - The help text's wrapper.\n- **button-group** - The button group that wraps radio buttons.\n- **button-group__base** - The button group's `base` part.",
|
|
1470
1283
|
"attributes": [
|
|
1471
1284
|
{
|
|
1472
1285
|
"name": "label",
|
|
@@ -1506,14 +1319,30 @@
|
|
|
1506
1319
|
"name": "required",
|
|
1507
1320
|
"description": "Ensures a child radio is checked before allowing the containing form to submit.",
|
|
1508
1321
|
"values": []
|
|
1322
|
+
},
|
|
1323
|
+
{
|
|
1324
|
+
"name": "vertical",
|
|
1325
|
+
"description": "Use vertical layout for the radio group.",
|
|
1326
|
+
"values": []
|
|
1509
1327
|
}
|
|
1510
1328
|
],
|
|
1511
1329
|
"references": []
|
|
1512
1330
|
},
|
|
1513
1331
|
{
|
|
1514
|
-
"name": "flow-ui-
|
|
1515
|
-
"description": "
|
|
1516
|
-
"attributes": [
|
|
1332
|
+
"name": "flow-ui-progress-ring",
|
|
1333
|
+
"description": "Progress rings are used to show the progress of a determinate operation in a circular fashion.\n\n\n---\n\n\n\n\n### **Slots:**\n - _default_ - A label to show inside the ring.\n\n### **CSS Properties:**\n - **--size** - The diameter of the progress ring (cannot be a percentage). _(default: undefined)_\n- **--track-width** - The width of the track. _(default: undefined)_\n- **--track-color** - The color of the track. _(default: undefined)_\n- **--indicator-width** - The width of the indicator. Defaults to the track width. _(default: undefined)_\n- **--indicator-color** - The color of the indicator. _(default: undefined)_\n- **--indicator-transition-duration** - The duration of the indicator's transition when the value changes. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **label** - The progress ring label.",
|
|
1334
|
+
"attributes": [
|
|
1335
|
+
{
|
|
1336
|
+
"name": "value",
|
|
1337
|
+
"description": "The current progress as a percentage, 0 to 100.",
|
|
1338
|
+
"values": []
|
|
1339
|
+
},
|
|
1340
|
+
{
|
|
1341
|
+
"name": "label",
|
|
1342
|
+
"description": "A custom label for assistive devices.",
|
|
1343
|
+
"values": []
|
|
1344
|
+
}
|
|
1345
|
+
],
|
|
1517
1346
|
"references": []
|
|
1518
1347
|
},
|
|
1519
1348
|
{
|
|
@@ -1578,95 +1407,6 @@
|
|
|
1578
1407
|
],
|
|
1579
1408
|
"references": []
|
|
1580
1409
|
},
|
|
1581
|
-
{
|
|
1582
|
-
"name": "flow-ui-switch",
|
|
1583
|
-
"description": "Switches allow the user to toggle an option on or off.\n\n\n---\n\n\n\n\n### **Events:**\n - **flow-ui-blur** - Emitted when the control loses focus.\n- **flow-ui-change** - Emitted when the control's checked state changes.\n- **flow-ui-input** - Emitted when the control receives input.\n- **flow-ui-focus** - Emitted when the control gains focus.\n- **flow-ui-invalid** - Emitted when the form control has been checked for validity and its constraints aren't satisfied.\n\n### **Methods:**\n - **click()** - Simulates a click on the switch.\n- **focus(options: _FocusOptions_)** - Sets focus on the switch.\n- **blur()** - Removes focus from the switch.\n- **checkValidity()** - Checks for validity but does not show a validation message. Returns `true` when valid and `false` when invalid.\n- **getForm(): _HTMLFormElement | null_** - Gets the associated form, if one exists.\n- **reportValidity()** - Checks for validity and shows the browser's validation message if the control is invalid.\n- **setCustomValidity(message: _string_)** - Sets a custom validation message. Pass an empty string to restore validity.\n\n### **Slots:**\n - _default_ - The switch's label.\n\n### **CSS Properties:**\n - **--width** - The width of the switch. _(default: undefined)_\n- **--height** - The height of the switch. _(default: undefined)_\n- **--thumb-size** - The size of the thumb. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **control** - The control that houses the switch's thumb.\n- **thumb** - The switch's thumb.\n- **label** - The switch's label.",
|
|
1584
|
-
"attributes": [
|
|
1585
|
-
{ "name": "title", "values": [] },
|
|
1586
|
-
{
|
|
1587
|
-
"name": "name",
|
|
1588
|
-
"description": "The name of the switch, submitted as a name/value pair with form data.",
|
|
1589
|
-
"values": []
|
|
1590
|
-
},
|
|
1591
|
-
{
|
|
1592
|
-
"name": "value",
|
|
1593
|
-
"description": "The current value of the switch, submitted as a name/value pair with form data.",
|
|
1594
|
-
"values": []
|
|
1595
|
-
},
|
|
1596
|
-
{
|
|
1597
|
-
"name": "size",
|
|
1598
|
-
"description": "The switch's size.",
|
|
1599
|
-
"values": [
|
|
1600
|
-
{ "name": "small" },
|
|
1601
|
-
{ "name": "medium" },
|
|
1602
|
-
{ "name": "large" }
|
|
1603
|
-
]
|
|
1604
|
-
},
|
|
1605
|
-
{
|
|
1606
|
-
"name": "disabled",
|
|
1607
|
-
"description": "Disables the switch.",
|
|
1608
|
-
"values": []
|
|
1609
|
-
},
|
|
1610
|
-
{
|
|
1611
|
-
"name": "checked",
|
|
1612
|
-
"description": "Draws the switch in a checked state.",
|
|
1613
|
-
"values": []
|
|
1614
|
-
},
|
|
1615
|
-
{
|
|
1616
|
-
"name": "form",
|
|
1617
|
-
"description": "By default, form controls are associated with the nearest containing `<form>` element. This attribute allows you\nto place the form control outside of a form and associate it with the form that has this `id`. The form must be in\nthe same document or shadow root for this to work.",
|
|
1618
|
-
"values": []
|
|
1619
|
-
},
|
|
1620
|
-
{
|
|
1621
|
-
"name": "required",
|
|
1622
|
-
"description": "Makes the switch a required field.",
|
|
1623
|
-
"values": []
|
|
1624
|
-
}
|
|
1625
|
-
],
|
|
1626
|
-
"references": []
|
|
1627
|
-
},
|
|
1628
|
-
{
|
|
1629
|
-
"name": "flow-ui-split-panel",
|
|
1630
|
-
"description": "Split panels display two adjacent panels, allowing the user to reposition them.\n\n\n---\n\n\n\n\n### **Events:**\n - **flow-ui-reposition** - Emitted when the divider's position changes.\n\n### **Slots:**\n - **start** - Content to place in the start panel.\n- **end** - Content to place in the end panel.\n- **divider** - The divider. Useful for slotting in a custom icon that renders as a handle.\n\n### **CSS Properties:**\n - **--divider-width** - The width of the visible divider. _(default: 4px)_\n- **--divider-hit-area** - The invisible region around the divider where dragging can occur. This is usually wider than the divider to facilitate easier dragging. _(default: 12px)_\n- **--min** - The minimum allowed size of the primary panel. _(default: 0)_\n- **--max** - The maximum allowed size of the primary panel. _(default: 100%)_\n\n### **CSS Parts:**\n - **start** - The start panel.\n- **end** - The end panel.\n- **panel** - Targets both the start and end panels.\n- **divider** - The divider that separates the start and end panels.",
|
|
1631
|
-
"attributes": [
|
|
1632
|
-
{
|
|
1633
|
-
"name": "position",
|
|
1634
|
-
"description": "The current position of the divider from the primary panel's edge as a percentage 0-100. Defaults to 50% of the\ncontainer's initial size.",
|
|
1635
|
-
"values": []
|
|
1636
|
-
},
|
|
1637
|
-
{
|
|
1638
|
-
"name": "position-in-pixels",
|
|
1639
|
-
"description": "The current position of the divider from the primary panel's edge in pixels.",
|
|
1640
|
-
"values": []
|
|
1641
|
-
},
|
|
1642
|
-
{
|
|
1643
|
-
"name": "vertical",
|
|
1644
|
-
"description": "Draws the split panel in a vertical orientation with the start and end panels stacked.",
|
|
1645
|
-
"values": []
|
|
1646
|
-
},
|
|
1647
|
-
{
|
|
1648
|
-
"name": "disabled",
|
|
1649
|
-
"description": "Disables resizing. Note that the position may still change as a result of resizing the host element.",
|
|
1650
|
-
"values": []
|
|
1651
|
-
},
|
|
1652
|
-
{
|
|
1653
|
-
"name": "primary",
|
|
1654
|
-
"description": "If no primary panel is designated, both panels will resize proportionally when the host element is resized. If a\nprimary panel is designated, it will maintain its size and the other panel will grow or shrink as needed when the\nhost element is resized.",
|
|
1655
|
-
"values": [{ "name": "start" }, { "name": "end" }]
|
|
1656
|
-
},
|
|
1657
|
-
{
|
|
1658
|
-
"name": "snap",
|
|
1659
|
-
"description": "One or more space-separated values at which the divider should snap. Values can be in pixels or percentages, e.g.\n`\"100px 50%\"`.",
|
|
1660
|
-
"values": []
|
|
1661
|
-
},
|
|
1662
|
-
{
|
|
1663
|
-
"name": "snap-threshold",
|
|
1664
|
-
"description": "How close the divider must be to a snap point until snapping occurs.",
|
|
1665
|
-
"values": []
|
|
1666
|
-
}
|
|
1667
|
-
],
|
|
1668
|
-
"references": []
|
|
1669
|
-
},
|
|
1670
1410
|
{
|
|
1671
1411
|
"name": "flow-ui-select",
|
|
1672
1412
|
"description": "Selects allow you to choose items from a menu of predefined options.\n\n\n---\n\n\n\n\n### **Events:**\n - **flow-ui-change** - Emitted when the control's value changes.\n- **flow-ui-clear** - Emitted when the control's value is cleared.\n- **flow-ui-input** - Emitted when the control receives input.\n- **flow-ui-focus** - Emitted when the control gains focus.\n- **flow-ui-blur** - Emitted when the control loses focus.\n- **flow-ui-show** - Emitted when the select's menu opens.\n- **flow-ui-after-show** - Emitted after the select's menu opens and all animations are complete.\n- **flow-ui-hide** - Emitted when the select's menu closes.\n- **flow-ui-after-hide** - Emitted after the select's menu closes and all animations are complete.\n- **flow-ui-invalid** - Emitted when the form control has been checked for validity and its constraints aren't satisfied.\n\n### **Methods:**\n - **show()** - Shows the listbox.\n- **hide()** - Hides the listbox.\n- **checkValidity()** - Checks for validity but does not show a validation message. Returns `true` when valid and `false` when invalid.\n- **getForm(): _HTMLFormElement | null_** - Gets the associated form, if one exists.\n- **reportValidity()** - Checks for validity and shows the browser's validation message if the control is invalid.\n- **setCustomValidity(message: _string_)** - Sets a custom validation message. Pass an empty string to restore validity.\n- **focus(options: _FocusOptions_)** - Sets focus on the control.\n- **blur()** - Removes focus from the control.\n\n### **Slots:**\n - _default_ - The listbox options. Must be `<flow-ui-option>` elements. You can use `<flow-ui-divider>` to group items visually.\n- **label** - The input's label. Alternatively, you can use the `label` attribute.\n- **prefix** - Used to prepend a presentational icon or similar element to the combobox.\n- **clear-icon** - An icon to use in lieu of the default clear icon.\n- **expand-icon** - The icon to show when the control is expanded and collapsed. Rotates on open and close.\n- **help-text** - Text that describes how to use the input. Alternatively, you can use the `help-text` attribute.\n\n### **CSS Parts:**\n - **form-control** - The form control that wraps the label, input, and help text.\n- **form-control-label** - The label's wrapper.\n- **form-control-input** - The select's wrapper.\n- **form-control-help-text** - The help text's wrapper.\n- **combobox** - The container the wraps the prefix, combobox, clear icon, and expand button.\n- **prefix** - The container that wraps the prefix slot.\n- **display-input** - The element that displays the selected option's label, an `<input>` element.\n- **listbox** - The listbox container where options are slotted.\n- **tags** - The container that houses option tags when `multiselect` is used.\n- **tag** - The individual tags that represent each multiselect option.\n- **tag__base** - The tag's base part.\n- **tag__content** - The tag's content part.\n- **tag__remove-button** - The tag's remove button.\n- **tag__remove-button__base** - The tag's remove button base part.\n- **clear-button** - The clear button.\n- **expand-icon** - The container that wraps the expand icon.",
|
|
@@ -1763,6 +1503,71 @@
|
|
|
1763
1503
|
],
|
|
1764
1504
|
"references": []
|
|
1765
1505
|
},
|
|
1506
|
+
{
|
|
1507
|
+
"name": "flow-ui-resize-observer",
|
|
1508
|
+
"description": "The Resize Observer component offers a thin, declarative interface to the [`ResizeObserver API`](https://developer.mozilla.org/en-US/docs/Web/API/ResizeObserver).\n\n\n---\n\n\n\n\n### **Events:**\n - **flow-ui-resize** - Emitted when the element is resized.\n\n### **Slots:**\n - _default_ - One or more elements to watch for resizing.",
|
|
1509
|
+
"attributes": [
|
|
1510
|
+
{
|
|
1511
|
+
"name": "disabled",
|
|
1512
|
+
"description": "Disables the observer.",
|
|
1513
|
+
"values": []
|
|
1514
|
+
}
|
|
1515
|
+
],
|
|
1516
|
+
"references": []
|
|
1517
|
+
},
|
|
1518
|
+
{
|
|
1519
|
+
"name": "flow-ui-spinner",
|
|
1520
|
+
"description": "Spinners are used to show the progress of an indeterminate operation.\n\n\n---\n\n\n\n\n### **CSS Properties:**\n - **--track-width** - The width of the track. _(default: undefined)_\n- **--track-color** - The color of the track. _(default: undefined)_\n- **--indicator-color** - The color of the spinner's indicator. _(default: undefined)_\n- **--speed** - The time it takes for the spinner to complete one animation cycle. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.",
|
|
1521
|
+
"attributes": [],
|
|
1522
|
+
"references": []
|
|
1523
|
+
},
|
|
1524
|
+
{
|
|
1525
|
+
"name": "flow-ui-switch",
|
|
1526
|
+
"description": "Switches allow the user to toggle an option on or off.\n\n\n---\n\n\n\n\n### **Events:**\n - **flow-ui-blur** - Emitted when the control loses focus.\n- **flow-ui-change** - Emitted when the control's checked state changes.\n- **flow-ui-input** - Emitted when the control receives input.\n- **flow-ui-focus** - Emitted when the control gains focus.\n- **flow-ui-invalid** - Emitted when the form control has been checked for validity and its constraints aren't satisfied.\n\n### **Methods:**\n - **click()** - Simulates a click on the switch.\n- **focus(options: _FocusOptions_)** - Sets focus on the switch.\n- **blur()** - Removes focus from the switch.\n- **checkValidity()** - Checks for validity but does not show a validation message. Returns `true` when valid and `false` when invalid.\n- **getForm(): _HTMLFormElement | null_** - Gets the associated form, if one exists.\n- **reportValidity()** - Checks for validity and shows the browser's validation message if the control is invalid.\n- **setCustomValidity(message: _string_)** - Sets a custom validation message. Pass an empty string to restore validity.\n\n### **Slots:**\n - _default_ - The switch's label.\n\n### **CSS Properties:**\n - **--width** - The width of the switch. _(default: undefined)_\n- **--height** - The height of the switch. _(default: undefined)_\n- **--thumb-size** - The size of the thumb. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **control** - The control that houses the switch's thumb.\n- **thumb** - The switch's thumb.\n- **label** - The switch's label.",
|
|
1527
|
+
"attributes": [
|
|
1528
|
+
{ "name": "title", "values": [] },
|
|
1529
|
+
{
|
|
1530
|
+
"name": "name",
|
|
1531
|
+
"description": "The name of the switch, submitted as a name/value pair with form data.",
|
|
1532
|
+
"values": []
|
|
1533
|
+
},
|
|
1534
|
+
{
|
|
1535
|
+
"name": "value",
|
|
1536
|
+
"description": "The current value of the switch, submitted as a name/value pair with form data.",
|
|
1537
|
+
"values": []
|
|
1538
|
+
},
|
|
1539
|
+
{
|
|
1540
|
+
"name": "size",
|
|
1541
|
+
"description": "The switch's size.",
|
|
1542
|
+
"values": [
|
|
1543
|
+
{ "name": "small" },
|
|
1544
|
+
{ "name": "medium" },
|
|
1545
|
+
{ "name": "large" }
|
|
1546
|
+
]
|
|
1547
|
+
},
|
|
1548
|
+
{
|
|
1549
|
+
"name": "disabled",
|
|
1550
|
+
"description": "Disables the switch.",
|
|
1551
|
+
"values": []
|
|
1552
|
+
},
|
|
1553
|
+
{
|
|
1554
|
+
"name": "checked",
|
|
1555
|
+
"description": "Draws the switch in a checked state.",
|
|
1556
|
+
"values": []
|
|
1557
|
+
},
|
|
1558
|
+
{
|
|
1559
|
+
"name": "form",
|
|
1560
|
+
"description": "By default, form controls are associated with the nearest containing `<form>` element. This attribute allows you\nto place the form control outside of a form and associate it with the form that has this `id`. The form must be in\nthe same document or shadow root for this to work.",
|
|
1561
|
+
"values": []
|
|
1562
|
+
},
|
|
1563
|
+
{
|
|
1564
|
+
"name": "required",
|
|
1565
|
+
"description": "Makes the switch a required field.",
|
|
1566
|
+
"values": []
|
|
1567
|
+
}
|
|
1568
|
+
],
|
|
1569
|
+
"references": []
|
|
1570
|
+
},
|
|
1766
1571
|
{
|
|
1767
1572
|
"name": "flow-ui-tab",
|
|
1768
1573
|
"description": "Tabs are used inside [tab groups](/components/tab-group) to represent and activate [tab panels](/components/tab-panel).\n\n\n---\n\n\n\n\n### **Events:**\n - **flow-ui-close** - Emitted when the tab is closable and the close button is activated.\n\n### **Methods:**\n - **focus(options: _FocusOptions_)** - Sets focus to the tab.\n- **blur()** - Removes focus from the tab.\n\n### **Slots:**\n - _default_ - The tab's label.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **close-button** - The close button, an `<flow-ui-icon-button>`.\n- **close-button__base** - The close button's exported `base` part.",
|
|
@@ -1777,6 +1582,11 @@
|
|
|
1777
1582
|
"description": "Draws the tab in an active state.",
|
|
1778
1583
|
"values": []
|
|
1779
1584
|
},
|
|
1585
|
+
{
|
|
1586
|
+
"name": "icon-only",
|
|
1587
|
+
"description": "Display tab icon only. Label text is displayed as a tooltip",
|
|
1588
|
+
"values": []
|
|
1589
|
+
},
|
|
1780
1590
|
{
|
|
1781
1591
|
"name": "closable",
|
|
1782
1592
|
"description": "Makes the tab closable and shows a close button.",
|
|
@@ -1786,6 +1596,35 @@
|
|
|
1786
1596
|
"name": "disabled",
|
|
1787
1597
|
"description": "Disables the tab and prevents selection.",
|
|
1788
1598
|
"values": []
|
|
1599
|
+
},
|
|
1600
|
+
{
|
|
1601
|
+
"name": "tooltip-placement",
|
|
1602
|
+
"description": "The preferred placement of the tooltip. Note that the actual placement may vary as needed to keep the tooltip\ninside of the viewport.",
|
|
1603
|
+
"values": [
|
|
1604
|
+
{ "name": "" },
|
|
1605
|
+
{ "name": "top" },
|
|
1606
|
+
{ "name": "top-start" },
|
|
1607
|
+
{ "name": "top-end" },
|
|
1608
|
+
{ "name": "right" },
|
|
1609
|
+
{ "name": "right-start" },
|
|
1610
|
+
{ "name": "right-end" },
|
|
1611
|
+
{ "name": "bottom" },
|
|
1612
|
+
{ "name": "bottom-start" },
|
|
1613
|
+
{ "name": "bottom-end" },
|
|
1614
|
+
{ "name": "left" },
|
|
1615
|
+
{ "name": "left-start" },
|
|
1616
|
+
{ "name": "left-end" }
|
|
1617
|
+
]
|
|
1618
|
+
},
|
|
1619
|
+
{
|
|
1620
|
+
"name": "tooltip-distance",
|
|
1621
|
+
"description": "The distance in pixels from which to offset the tooltip away from the icon button.",
|
|
1622
|
+
"values": []
|
|
1623
|
+
},
|
|
1624
|
+
{
|
|
1625
|
+
"name": "tooltip-skidding",
|
|
1626
|
+
"description": "The distance in pixels from which to offset the tooltip along the icon button.",
|
|
1627
|
+
"values": []
|
|
1789
1628
|
}
|
|
1790
1629
|
],
|
|
1791
1630
|
"references": []
|
|
@@ -1813,6 +1652,89 @@
|
|
|
1813
1652
|
"name": "no-scroll-controls",
|
|
1814
1653
|
"description": "Disables the scroll arrows that appear when tabs overflow.",
|
|
1815
1654
|
"values": []
|
|
1655
|
+
},
|
|
1656
|
+
{ "name": "control-split-panel", "values": [] }
|
|
1657
|
+
],
|
|
1658
|
+
"references": []
|
|
1659
|
+
},
|
|
1660
|
+
{
|
|
1661
|
+
"name": "flow-ui-menu-item",
|
|
1662
|
+
"description": "Menu items provide options for the user to pick from in a menu.\n\n\n---\n\n\n\n\n### **Methods:**\n - **getTextLabel()** - Returns a text label based on the contents of the menu item's default slot.\n\n### **Slots:**\n - _default_ - The menu item's label.\n- **prefix** - Used to prepend an icon or similar element to the menu item.\n- **suffix** - Used to append an icon or similar element to the menu item.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **checked-icon** - The checked icon, which is only visible when the menu item is checked.\n- **prefix** - The prefix container.\n- **label** - The menu item label.\n- **suffix** - The suffix container.\n- **submenu-icon** - The submenu icon, visible only when the menu item has a submenu (not yet implemented).",
|
|
1663
|
+
"attributes": [
|
|
1664
|
+
{
|
|
1665
|
+
"name": "type",
|
|
1666
|
+
"description": "The type of menu item to render. To use `checked`, this value must be set to `checkbox`.",
|
|
1667
|
+
"values": [{ "name": "normal" }, { "name": "checkbox" }]
|
|
1668
|
+
},
|
|
1669
|
+
{
|
|
1670
|
+
"name": "checked",
|
|
1671
|
+
"description": "Draws the item in a checked state.",
|
|
1672
|
+
"values": []
|
|
1673
|
+
},
|
|
1674
|
+
{
|
|
1675
|
+
"name": "value",
|
|
1676
|
+
"description": "A unique value to store in the menu item. This can be used as a way to identify menu items when selected.",
|
|
1677
|
+
"values": []
|
|
1678
|
+
},
|
|
1679
|
+
{
|
|
1680
|
+
"name": "disabled",
|
|
1681
|
+
"description": "Draws the menu item in a disabled state, preventing selection.",
|
|
1682
|
+
"values": []
|
|
1683
|
+
}
|
|
1684
|
+
],
|
|
1685
|
+
"references": []
|
|
1686
|
+
},
|
|
1687
|
+
{
|
|
1688
|
+
"name": "flow-ui-tab-panel",
|
|
1689
|
+
"description": "Tab panels are used inside [tab groups](/components/tab-group) to display tabbed content.\n\n\n---\n\n\n\n\n### **Slots:**\n - _default_ - The tab panel's content.\n\n### **CSS Properties:**\n - **--padding** - The tab panel's padding. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.",
|
|
1690
|
+
"attributes": [
|
|
1691
|
+
{
|
|
1692
|
+
"name": "name",
|
|
1693
|
+
"description": "The tab panel's name.",
|
|
1694
|
+
"values": []
|
|
1695
|
+
},
|
|
1696
|
+
{
|
|
1697
|
+
"name": "active",
|
|
1698
|
+
"description": "When true, the tab panel will be shown.",
|
|
1699
|
+
"values": []
|
|
1700
|
+
}
|
|
1701
|
+
],
|
|
1702
|
+
"references": []
|
|
1703
|
+
},
|
|
1704
|
+
{
|
|
1705
|
+
"name": "flow-ui-tag",
|
|
1706
|
+
"description": "Tags are used as labels to organize things or to indicate a selection.\n\n\n---\n\n\n\n\n### **Events:**\n - **flow-ui-remove** - Emitted when the remove button is activated.\n\n### **Slots:**\n - _default_ - The tag's content.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **content** - The tag's content.\n- **remove-button** - The tag's remove button, an `<flow-ui-icon-button>`.\n- **remove-button__base** - The remove button's exported `base` part.",
|
|
1707
|
+
"attributes": [
|
|
1708
|
+
{
|
|
1709
|
+
"name": "variant",
|
|
1710
|
+
"description": "The tag's theme variant.",
|
|
1711
|
+
"values": [
|
|
1712
|
+
{ "name": "primary" },
|
|
1713
|
+
{ "name": "success" },
|
|
1714
|
+
{ "name": "neutral" },
|
|
1715
|
+
{ "name": "warning" },
|
|
1716
|
+
{ "name": "danger" },
|
|
1717
|
+
{ "name": "text" }
|
|
1718
|
+
]
|
|
1719
|
+
},
|
|
1720
|
+
{
|
|
1721
|
+
"name": "size",
|
|
1722
|
+
"description": "The tag's size.",
|
|
1723
|
+
"values": [
|
|
1724
|
+
{ "name": "small" },
|
|
1725
|
+
{ "name": "medium" },
|
|
1726
|
+
{ "name": "large" }
|
|
1727
|
+
]
|
|
1728
|
+
},
|
|
1729
|
+
{
|
|
1730
|
+
"name": "pill",
|
|
1731
|
+
"description": "Draws a pill-style tag with rounded edges.",
|
|
1732
|
+
"values": []
|
|
1733
|
+
},
|
|
1734
|
+
{
|
|
1735
|
+
"name": "removable",
|
|
1736
|
+
"description": "Makes the tag removable and shows a remove button.",
|
|
1737
|
+
"values": []
|
|
1816
1738
|
}
|
|
1817
1739
|
],
|
|
1818
1740
|
"references": []
|
|
@@ -1967,77 +1889,6 @@
|
|
|
1967
1889
|
],
|
|
1968
1890
|
"references": []
|
|
1969
1891
|
},
|
|
1970
|
-
{
|
|
1971
|
-
"name": "flow-ui-tab-panel",
|
|
1972
|
-
"description": "Tab panels are used inside [tab groups](/components/tab-group) to display tabbed content.\n\n\n---\n\n\n\n\n### **Slots:**\n - _default_ - The tab panel's content.\n\n### **CSS Properties:**\n - **--padding** - The tab panel's padding. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.",
|
|
1973
|
-
"attributes": [
|
|
1974
|
-
{
|
|
1975
|
-
"name": "name",
|
|
1976
|
-
"description": "The tab panel's name.",
|
|
1977
|
-
"values": []
|
|
1978
|
-
},
|
|
1979
|
-
{
|
|
1980
|
-
"name": "active",
|
|
1981
|
-
"description": "When true, the tab panel will be shown.",
|
|
1982
|
-
"values": []
|
|
1983
|
-
}
|
|
1984
|
-
],
|
|
1985
|
-
"references": []
|
|
1986
|
-
},
|
|
1987
|
-
{
|
|
1988
|
-
"name": "flow-ui-tree",
|
|
1989
|
-
"description": "Trees allow you to display a hierarchical list of selectable [tree items](/components/tree-item). Items with children can be expanded and collapsed as desired by the user.\n\n\n---\n\n\n\n\n### **Events:**\n - **flow-ui-selection-change** - Emitted when a tree item is selected or deselected.\n\n### **Slots:**\n - _default_ - The default slot.\n- **expand-icon** - The icon to show when the tree item is expanded. Works best with `<flow-ui-icon>`.\n- **collapse-icon** - The icon to show when the tree item is collapsed. Works best with `<flow-ui-icon>`.\n\n### **CSS Properties:**\n - **--indent-size** - The size of the indentation for nested items. _(default: var(--flow-ui-spacing-medium))_\n- **--indent-guide-color** - The color of the indentation line. _(default: var(--flow-ui-color-neutral-200))_\n- **--indent-guide-offset** - The amount of vertical spacing to leave between the top and bottom of the indentation line's starting position. _(default: 0)_\n- **--indent-guide-style** - The style of the indentation line, e.g. solid, dotted, dashed. _(default: solid)_\n- **--indent-guide-width** - The width of the indentation line. _(default: 0)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.",
|
|
1990
|
-
"attributes": [
|
|
1991
|
-
{
|
|
1992
|
-
"name": "selection",
|
|
1993
|
-
"description": "The selection behavior of the tree. Single selection allows only one node to be selected at a time. Multiple\ndisplays checkboxes and allows more than one node to be selected. Leaf allows only leaf nodes to be selected.",
|
|
1994
|
-
"values": [
|
|
1995
|
-
{ "name": "single" },
|
|
1996
|
-
{ "name": "multiple" },
|
|
1997
|
-
{ "name": "leaf" }
|
|
1998
|
-
]
|
|
1999
|
-
}
|
|
2000
|
-
],
|
|
2001
|
-
"references": []
|
|
2002
|
-
},
|
|
2003
|
-
{
|
|
2004
|
-
"name": "flow-ui-tag",
|
|
2005
|
-
"description": "Tags are used as labels to organize things or to indicate a selection.\n\n\n---\n\n\n\n\n### **Events:**\n - **flow-ui-remove** - Emitted when the remove button is activated.\n\n### **Slots:**\n - _default_ - The tag's content.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **content** - The tag's content.\n- **remove-button** - The tag's remove button, an `<flow-ui-icon-button>`.\n- **remove-button__base** - The remove button's exported `base` part.",
|
|
2006
|
-
"attributes": [
|
|
2007
|
-
{
|
|
2008
|
-
"name": "variant",
|
|
2009
|
-
"description": "The tag's theme variant.",
|
|
2010
|
-
"values": [
|
|
2011
|
-
{ "name": "primary" },
|
|
2012
|
-
{ "name": "success" },
|
|
2013
|
-
{ "name": "neutral" },
|
|
2014
|
-
{ "name": "warning" },
|
|
2015
|
-
{ "name": "danger" },
|
|
2016
|
-
{ "name": "text" }
|
|
2017
|
-
]
|
|
2018
|
-
},
|
|
2019
|
-
{
|
|
2020
|
-
"name": "size",
|
|
2021
|
-
"description": "The tag's size.",
|
|
2022
|
-
"values": [
|
|
2023
|
-
{ "name": "small" },
|
|
2024
|
-
{ "name": "medium" },
|
|
2025
|
-
{ "name": "large" }
|
|
2026
|
-
]
|
|
2027
|
-
},
|
|
2028
|
-
{
|
|
2029
|
-
"name": "pill",
|
|
2030
|
-
"description": "Draws a pill-style tag with rounded edges.",
|
|
2031
|
-
"values": []
|
|
2032
|
-
},
|
|
2033
|
-
{
|
|
2034
|
-
"name": "removable",
|
|
2035
|
-
"description": "Makes the tag removable and shows a remove button.",
|
|
2036
|
-
"values": []
|
|
2037
|
-
}
|
|
2038
|
-
],
|
|
2039
|
-
"references": []
|
|
2040
|
-
},
|
|
2041
1892
|
{
|
|
2042
1893
|
"name": "flow-ui-tooltip",
|
|
2043
1894
|
"description": "Tooltips display additional information based on a specific action.\n\n\n---\n\n\n\n\n### **Events:**\n - **flow-ui-show** - Emitted when the tooltip begins to show.\n- **flow-ui-after-show** - Emitted after the tooltip has shown and all animations are complete.\n- **flow-ui-hide** - Emitted when the tooltip begins to hide.\n- **flow-ui-after-hide** - Emitted after the tooltip has hidden and all animations are complete.\n\n### **Methods:**\n - **show()** - Shows the tooltip.\n- **hide()** - Hides the tooltip\n\n### **Slots:**\n - _default_ - The tooltip's target element. Avoid slotting in more than one element, as subsequent ones will be ignored.\n- **content** - The content to render in the tooltip. Alternatively, you can use the `content` attribute.\n\n### **CSS Properties:**\n - **--max-width** - The maximum width of the tooltip before its content will wrap. _(default: undefined)_\n- **--hide-delay** - The amount of time to wait before hiding the tooltip when hovering. _(default: undefined)_\n- **--show-delay** - The amount of time to wait before showing the tooltip when hovering. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper, an `<flow-ui-popup>` element.\n- **base__popup** - The popup's exported `popup` part. Use this to target the tooltip's popup container.\n- **base__arrow** - The popup's exported `arrow` part. Use this to target the tooltip's arrow.\n- **body** - The tooltip's body where its content is rendered.",
|
|
@@ -2100,9 +1951,19 @@
|
|
|
2100
1951
|
"references": []
|
|
2101
1952
|
},
|
|
2102
1953
|
{
|
|
2103
|
-
"name": "flow-ui-
|
|
2104
|
-
"description": "
|
|
2105
|
-
"attributes": [
|
|
1954
|
+
"name": "flow-ui-tree",
|
|
1955
|
+
"description": "Trees allow you to display a hierarchical list of selectable [tree items](/components/tree-item). Items with children can be expanded and collapsed as desired by the user.\n\n\n---\n\n\n\n\n### **Events:**\n - **flow-ui-selection-change** - Emitted when a tree item is selected or deselected.\n\n### **Slots:**\n - _default_ - The default slot.\n- **expand-icon** - The icon to show when the tree item is expanded. Works best with `<flow-ui-icon>`.\n- **collapse-icon** - The icon to show when the tree item is collapsed. Works best with `<flow-ui-icon>`.\n\n### **CSS Properties:**\n - **--indent-size** - The size of the indentation for nested items. _(default: var(--flow-ui-spacing-medium))_\n- **--indent-guide-color** - The color of the indentation line. _(default: var(--flow-ui-color-neutral-200))_\n- **--indent-guide-offset** - The amount of vertical spacing to leave between the top and bottom of the indentation line's starting position. _(default: 0)_\n- **--indent-guide-style** - The style of the indentation line, e.g. solid, dotted, dashed. _(default: solid)_\n- **--indent-guide-width** - The width of the indentation line. _(default: 0)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.",
|
|
1956
|
+
"attributes": [
|
|
1957
|
+
{
|
|
1958
|
+
"name": "selection",
|
|
1959
|
+
"description": "The selection behavior of the tree. Single selection allows only one node to be selected at a time. Multiple\ndisplays checkboxes and allows more than one node to be selected. Leaf allows only leaf nodes to be selected.",
|
|
1960
|
+
"values": [
|
|
1961
|
+
{ "name": "single" },
|
|
1962
|
+
{ "name": "multiple" },
|
|
1963
|
+
{ "name": "leaf" }
|
|
1964
|
+
]
|
|
1965
|
+
}
|
|
1966
|
+
],
|
|
2106
1967
|
"references": []
|
|
2107
1968
|
},
|
|
2108
1969
|
{
|
|
@@ -2131,6 +1992,12 @@
|
|
|
2131
1992
|
}
|
|
2132
1993
|
],
|
|
2133
1994
|
"references": []
|
|
1995
|
+
},
|
|
1996
|
+
{
|
|
1997
|
+
"name": "flow-ui-visually-hidden",
|
|
1998
|
+
"description": "The visually hidden utility makes content accessible to assistive devices without displaying it on the screen.\n\n\n---\n\n\n\n\n### **Slots:**\n - _default_ - The content to be visually hidden.",
|
|
1999
|
+
"attributes": [],
|
|
2000
|
+
"references": []
|
|
2134
2001
|
}
|
|
2135
2002
|
]
|
|
2136
2003
|
}
|