@brightspace-ui/core 3.25.1 → 3.26.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/button/README.md +57 -34
- package/components/button/button-add.js +1 -1
- package/components/button/button-icon.js +2 -2
- package/components/button/button-move.js +2 -2
- package/components/button/button-subtle.js +2 -2
- package/components/button/button.js +1 -1
- package/custom-elements.json +16 -16
- package/package.json +1 -1
- package/components/button/floating-buttons.md +0 -60
@@ -53,16 +53,6 @@ The `d2l-button` element can be used just like the native button element, but al
|
|
53
53
|
| `primary` | Boolean | Styles the button as a primary button |
|
54
54
|
<!-- docs: end hidden content -->
|
55
55
|
|
56
|
-
### Accessibility Properties
|
57
|
-
|
58
|
-
To make your `d2l-button` accessible, use the following properties when applicable:
|
59
|
-
|
60
|
-
| Attribute | Description |
|
61
|
-
|---|---|
|
62
|
-
| `aria-expanded` | [Indicate expansion state of a collapsible element](https://www.w3.org/WAI/PF/aria/states_and_properties#aria-expanded). Example: [d2l-more-less](https://github.com/BrightspaceUI/core/blob/f9f30d0975ee5a8479263a84541fc3b781e8830f/components/more-less/more-less.js#L158). |
|
63
|
-
| `aria-haspopup` | [Indicate clicking the button opens a menu](https://www.w3.org/WAI/PF/aria/states_and_properties#aria-haspopup). Example: [d2l-dropdown](https://github.com/BrightspaceUI/core/blob/main/components/dropdown/dropdown-opener-mixin.js#L46). |
|
64
|
-
| `description` | Use when text on button does not provide enough context. |
|
65
|
-
|
66
56
|
## Subtle Button [d2l-button-subtle]
|
67
57
|
|
68
58
|
The `d2l-button-subtle` element can be used just like the native `button`, but for advanced or de-emphasized actions.
|
@@ -91,16 +81,6 @@ The `d2l-button-subtle` element can be used just like the native `button`, but f
|
|
91
81
|
| `icon-right` | Boolean | Render the icon on the right of the button |
|
92
82
|
<!-- docs: end hidden content -->
|
93
83
|
|
94
|
-
### Accessibility Properties
|
95
|
-
|
96
|
-
To make your `d2l-button-subtle` accessible, use the following properties when applicable:
|
97
|
-
|
98
|
-
| Attribute | Description |
|
99
|
-
|---|---|
|
100
|
-
| `aria-expanded` | [Indicate expansion state of a collapsible element](https://www.w3.org/WAI/PF/aria/states_and_properties#aria-expanded). Example: [d2l-more-less](https://github.com/BrightspaceUI/core/blob/f9f30d0975ee5a8479263a84541fc3b781e8830f/components/more-less/more-less.js#L158). |
|
101
|
-
| `aria-haspopup` | [Indicate clicking the button opens a menu](https://www.w3.org/WAI/PF/aria/states_and_properties#aria-haspopup). Example: [d2l-dropdown](https://github.com/BrightspaceUI/core/blob/main/components/dropdown/dropdown-opener-mixin.js#L46). |
|
102
|
-
| `description` | Use when text on button does not provide enough context. |
|
103
|
-
|
104
84
|
### Subtle Button with Custom Icon
|
105
85
|
|
106
86
|
<!-- docs: demo code -->
|
@@ -145,18 +125,6 @@ The `d2l-button-icon` element can be used just like the native `button`, for ins
|
|
145
125
|
| `translucent` | Boolean | Indicates to display translucent (ex. on rich backgrounds) |
|
146
126
|
<!-- docs: end hidden content -->
|
147
127
|
|
148
|
-
### Accessibility Properties
|
149
|
-
|
150
|
-
To make your `d2l-button-icon` accessible, use the following properties when applicable:
|
151
|
-
|
152
|
-
| Attribute | Description |
|
153
|
-
|---|---|
|
154
|
-
| `text` | **REQUIRED**. Acts as a primary label and tooltip. |
|
155
|
-
| `aria-expanded` | [Indicate expansion state of a collapsible element](https://www.w3.org/WAI/PF/aria/states_and_properties#aria-expanded). Example: [d2l-more-less](https://github.com/BrightspaceUI/core/blob/f9f30d0975ee5a8479263a84541fc3b781e8830f/components/more-less/more-less.js#L158). |
|
156
|
-
| `aria-haspopup` | [Indicate clicking the button opens a menu](https://www.w3.org/WAI/PF/aria/states_and_properties#aria-haspopup). Example: [d2l-dropdown](https://github.com/BrightspaceUI/core/blob/main/components/dropdown/dropdown-opener-mixin.js#L46). |
|
157
|
-
| `aria-label` | Acts as a primary label. If `text` AND `aria-label` are provided, `aria-label` is used as the primary label, `text` is used as the tooltip. |
|
158
|
-
| `description` | Use when text on button does not provide enough context. |
|
159
|
-
|
160
128
|
### Icon Button with Custom Icon
|
161
129
|
|
162
130
|
<!-- docs: demo code -->
|
@@ -177,7 +145,7 @@ To make your `d2l-button-icon` accessible, use the following properties when app
|
|
177
145
|
|
178
146
|
## Add Button [d2l-button-add]
|
179
147
|
|
180
|
-
The `d2l-button-add`
|
148
|
+
The `d2l-button-add` is for quickly adding new items at a specific location, such as when adding items to a curated list. Since the Add button is meant to be subtle, it should always be used in combination with more obvious methods to add items (like a menu or primary button).
|
181
149
|
|
182
150
|
<!-- docs: demo code properties name:d2l-button-add display:block autoSize:false size:xsmall -->
|
183
151
|
```html
|
@@ -198,7 +166,62 @@ The `d2l-button-add` element is for quickly adding new items inline (for example
|
|
198
166
|
|
199
167
|
## Floating Buttons [d2l-floating-buttons]
|
200
168
|
|
201
|
-
|
169
|
+
Floating workflow buttons `<d2l-floating-buttons>` cause buttons to float or 'dock' to the bottom of the viewport when they would otherwise be below the bottom of the viewport. When their normal position becomes visible, they will undock.
|
170
|
+
|
171
|
+
The best time to use floating workflow buttons is when users need immediate access to the buttons without scrolling. An example is a long or complex form page where it's common for users to make frequent isolated edits rather than sequentially completing the form.
|
172
|
+
|
173
|
+
<!-- docs: demo code properties name:d2l-floating-buttons autoSize:false display:block size:xlarge -->
|
174
|
+
```html
|
175
|
+
<script type="module">
|
176
|
+
import '@brightspace-ui/core/components/button/floating-buttons.js';
|
177
|
+
import '@brightspace-ui/core/components/button/button.js';
|
178
|
+
</script>
|
179
|
+
<!-- docs: start hidden content -->
|
180
|
+
<style>
|
181
|
+
.d2l-typography p {
|
182
|
+
margin: 0.5rem;
|
183
|
+
}
|
184
|
+
.content-placeholder {
|
185
|
+
align-items: center;
|
186
|
+
background-color: var(--d2l-color-regolith);
|
187
|
+
border: 2px dashed lightgrey;
|
188
|
+
border-radius: 8px;
|
189
|
+
display: flex;
|
190
|
+
height: 600px;
|
191
|
+
justify-content: center;
|
192
|
+
width: 100%;
|
193
|
+
}
|
194
|
+
.empty-space {
|
195
|
+
height: 5rem;
|
196
|
+
}
|
197
|
+
</style>
|
198
|
+
<!-- docs: end hidden content -->
|
199
|
+
<div class="content-placeholder d2l-body-compact">
|
200
|
+
Scroll to unstick
|
201
|
+
</div>
|
202
|
+
<d2l-floating-buttons>
|
203
|
+
<d2l-button primary>Primary</d2l-button>
|
204
|
+
<d2l-button>Secondary</d2l-button>
|
205
|
+
</d2l-floating-buttons>
|
206
|
+
<div class="empty-space"></div>
|
207
|
+
```
|
208
|
+
|
209
|
+
## Accessibility
|
210
|
+
|
211
|
+
Daylight buttons rely on standard button semantics to ensure a smooth experience for all assistive technologies, but there are a few interesting details to note:
|
212
|
+
|
213
|
+
* If the button's context is implied by visual layout, then `description` can be used to add missing context
|
214
|
+
* Example: if multiple page sections have an Edit button relying on visual layout to indicate which section it edits, there could be extra information in the `description` to help differentiate the Edit buttons for non-sighted users
|
215
|
+
|
216
|
+
* If expanding other content in a dropdown, use the [Dropdown](../../components/dropdown) component; if building custom expand/collapse behaviour, be sure to use [`aria-expanded`](https://www.w3.org/TR/wai-aria/states_and_properties#aria-expanded) and [`aria-haspopup`](https://www.w3.org/TR/wai-aria/states_and_properties#aria-haspopup) attributes in accordance with best practices.
|
217
|
+
|
218
|
+
* Disabled buttons are normally not focusable as per web standards, but if the disabled state needs explaining you can use `disabled-tooltip` to provide an explanation that appears in a [tooltip](../../components/tooltip) via [aria-describedby](https://www.w3.org/TR/wai-aria/states_and_properties#aria-describedby)
|
219
|
+
|
220
|
+
* For [Icon Buttons](#d2l-button-icon) where there is no visible label, `text` will be displayed in a tooltip
|
221
|
+
* If both `text` and `aria-label` are used, then `aria-label` will be used as the primary label while `text` will be used in a [tooltip](../../components/tooltip)
|
222
|
+
|
223
|
+
* [Floating Buttons](#d2l-floating-buttons) maintain their position in the document's structure, despite sticking to the bottom of the viewport, so the tab order is unaffected and the effect is imperceptible to screen reader users
|
224
|
+
* Be cautious when using `always-float`, since screen magnifier users may find it difficult to locate the buttons at the bottom of a large viewport
|
202
225
|
|
203
226
|
<!-- docs: start hidden content -->
|
204
227
|
## Future Improvements
|
@@ -28,7 +28,7 @@ class ButtonAdd extends RtlMixin(PropertyRequiredMixin(FocusMixin(LocalizeCoreEl
|
|
28
28
|
*/
|
29
29
|
mode: { type: String, reflect: true },
|
30
30
|
/**
|
31
|
-
* The text associated with the button. When mode is `icon-and-text` this text is displayed next to the icon, otherwise this text is in a tooltip.
|
31
|
+
* ACCESSIBILITY: The text associated with the button. When mode is `icon-and-text` this text is displayed next to the icon, otherwise this text is in a tooltip.
|
32
32
|
* @type {string}
|
33
33
|
*/
|
34
34
|
text: { type: String, required: true }
|
@@ -20,7 +20,7 @@ class ButtonIcon extends ThemeMixin(ButtonMixin(VisibleOnAncestorMixin(RtlMixin(
|
|
20
20
|
static get properties() {
|
21
21
|
return {
|
22
22
|
/**
|
23
|
-
* A description to be added to the button for accessibility when text on button does not provide enough context
|
23
|
+
* ACCESSIBILITY: A description to be added to the button for accessibility when text on button does not provide enough context
|
24
24
|
* @type {string}
|
25
25
|
*/
|
26
26
|
description: { type: String },
|
@@ -38,7 +38,7 @@ class ButtonIcon extends ThemeMixin(ButtonMixin(VisibleOnAncestorMixin(RtlMixin(
|
|
38
38
|
icon: { type: String, reflect: true },
|
39
39
|
|
40
40
|
/**
|
41
|
-
* REQUIRED: Accessible text for the button
|
41
|
+
* ACCESSIBILITY: REQUIRED: Accessible text for the button
|
42
42
|
* @type {string}
|
43
43
|
*/
|
44
44
|
text: { type: String, reflect: true },
|
@@ -44,7 +44,7 @@ class ButtonMove extends ThemeMixin(FocusMixin(RtlMixin(LitElement))) {
|
|
44
44
|
// eslint-disable-next-line lit/no-native-attributes
|
45
45
|
autofocus: { type: Boolean, reflect: true },
|
46
46
|
/**
|
47
|
-
* A description to be added to the button for accessibility when text on button does not provide enough context
|
47
|
+
* ACCESSIBILITY: A description to be added to the button for accessibility when text on button does not provide enough context
|
48
48
|
* @type {string}
|
49
49
|
*/
|
50
50
|
description: { type: String },
|
@@ -79,7 +79,7 @@ class ButtonMove extends ThemeMixin(FocusMixin(RtlMixin(LitElement))) {
|
|
79
79
|
*/
|
80
80
|
disabledUp: { type: Boolean, attribute: 'disabled-up', reflect: true },
|
81
81
|
/**
|
82
|
-
* REQUIRED: Accessible text for the button
|
82
|
+
* ACCESSIBILITY: REQUIRED: Accessible text for the button
|
83
83
|
* @type {string}
|
84
84
|
*/
|
85
85
|
text: { type: String, reflect: true }
|
@@ -18,7 +18,7 @@ class ButtonSubtle extends ButtonMixin(LitElement) {
|
|
18
18
|
static get properties() {
|
19
19
|
return {
|
20
20
|
/**
|
21
|
-
* A description to be added to the button for accessibility when text on button does not provide enough context
|
21
|
+
* ACCESSIBILITY: A description to be added to the button for accessibility when text on button does not provide enough context
|
22
22
|
* @type {string}
|
23
23
|
*/
|
24
24
|
description: { type: String },
|
@@ -48,7 +48,7 @@ class ButtonSubtle extends ButtonMixin(LitElement) {
|
|
48
48
|
slim: { type: Boolean, reflect: true },
|
49
49
|
|
50
50
|
/**
|
51
|
-
* REQUIRED: Text for the button
|
51
|
+
* ACCESSIBILITY: REQUIRED: Text for the button
|
52
52
|
* @type {string}
|
53
53
|
*/
|
54
54
|
text: { type: String, reflect: true },
|
@@ -16,7 +16,7 @@ class Button extends ButtonMixin(LitElement) {
|
|
16
16
|
static get properties() {
|
17
17
|
return {
|
18
18
|
/**
|
19
|
-
* A description to be added to the button for accessibility when text on button does not provide enough context
|
19
|
+
* ACCESSIBILITY: A description to be added to the button for accessibility when text on button does not provide enough context
|
20
20
|
* @type {string}
|
21
21
|
*/
|
22
22
|
description: { type: String },
|
package/custom-elements.json
CHANGED
@@ -350,7 +350,7 @@
|
|
350
350
|
"attributes": [
|
351
351
|
{
|
352
352
|
"name": "text",
|
353
|
-
"description": "The text associated with the button. When mode is `icon-and-text` this text is displayed next to the icon, otherwise this text is in a tooltip.",
|
353
|
+
"description": "ACCESSIBILITY: The text associated with the button. When mode is `icon-and-text` this text is displayed next to the icon, otherwise this text is in a tooltip.",
|
354
354
|
"type": "string"
|
355
355
|
},
|
356
356
|
{
|
@@ -364,7 +364,7 @@
|
|
364
364
|
{
|
365
365
|
"name": "text",
|
366
366
|
"attribute": "text",
|
367
|
-
"description": "The text associated with the button. When mode is `icon-and-text` this text is displayed next to the icon, otherwise this text is in a tooltip.",
|
367
|
+
"description": "ACCESSIBILITY: The text associated with the button. When mode is `icon-and-text` this text is displayed next to the icon, otherwise this text is in a tooltip.",
|
368
368
|
"type": "string"
|
369
369
|
},
|
370
370
|
{
|
@@ -414,7 +414,7 @@
|
|
414
414
|
"attributes": [
|
415
415
|
{
|
416
416
|
"name": "description",
|
417
|
-
"description": "A description to be added to the button for accessibility when text on button does not provide enough context",
|
417
|
+
"description": "ACCESSIBILITY: A description to be added to the button for accessibility when text on button does not provide enough context",
|
418
418
|
"type": "string"
|
419
419
|
},
|
420
420
|
{
|
@@ -429,7 +429,7 @@
|
|
429
429
|
},
|
430
430
|
{
|
431
431
|
"name": "text",
|
432
|
-
"description": "REQUIRED: Accessible text for the button",
|
432
|
+
"description": "ACCESSIBILITY: REQUIRED: Accessible text for the button",
|
433
433
|
"type": "string"
|
434
434
|
},
|
435
435
|
{
|
@@ -454,7 +454,7 @@
|
|
454
454
|
{
|
455
455
|
"name": "description",
|
456
456
|
"attribute": "description",
|
457
|
-
"description": "A description to be added to the button for accessibility when text on button does not provide enough context",
|
457
|
+
"description": "ACCESSIBILITY: A description to be added to the button for accessibility when text on button does not provide enough context",
|
458
458
|
"type": "string"
|
459
459
|
},
|
460
460
|
{
|
@@ -472,7 +472,7 @@
|
|
472
472
|
{
|
473
473
|
"name": "text",
|
474
474
|
"attribute": "text",
|
475
|
-
"description": "REQUIRED: Accessible text for the button",
|
475
|
+
"description": "ACCESSIBILITY: REQUIRED: Accessible text for the button",
|
476
476
|
"type": "string"
|
477
477
|
},
|
478
478
|
{
|
@@ -520,7 +520,7 @@
|
|
520
520
|
"attributes": [
|
521
521
|
{
|
522
522
|
"name": "description",
|
523
|
-
"description": "A description to be added to the button for accessibility when text on button does not provide enough context",
|
523
|
+
"description": "ACCESSIBILITY: A description to be added to the button for accessibility when text on button does not provide enough context",
|
524
524
|
"type": "string"
|
525
525
|
},
|
526
526
|
{
|
@@ -555,7 +555,7 @@
|
|
555
555
|
},
|
556
556
|
{
|
557
557
|
"name": "text",
|
558
|
-
"description": "REQUIRED: Accessible text for the button",
|
558
|
+
"description": "ACCESSIBILITY: REQUIRED: Accessible text for the button",
|
559
559
|
"type": "string"
|
560
560
|
}
|
561
561
|
],
|
@@ -563,7 +563,7 @@
|
|
563
563
|
{
|
564
564
|
"name": "description",
|
565
565
|
"attribute": "description",
|
566
|
-
"description": "A description to be added to the button for accessibility when text on button does not provide enough context",
|
566
|
+
"description": "ACCESSIBILITY: A description to be added to the button for accessibility when text on button does not provide enough context",
|
567
567
|
"type": "string"
|
568
568
|
},
|
569
569
|
{
|
@@ -605,7 +605,7 @@
|
|
605
605
|
{
|
606
606
|
"name": "text",
|
607
607
|
"attribute": "text",
|
608
|
-
"description": "REQUIRED: Accessible text for the button",
|
608
|
+
"description": "ACCESSIBILITY: REQUIRED: Accessible text for the button",
|
609
609
|
"type": "string"
|
610
610
|
}
|
611
611
|
],
|
@@ -623,7 +623,7 @@
|
|
623
623
|
"attributes": [
|
624
624
|
{
|
625
625
|
"name": "description",
|
626
|
-
"description": "A description to be added to the button for accessibility when text on button does not provide enough context",
|
626
|
+
"description": "ACCESSIBILITY: A description to be added to the button for accessibility when text on button does not provide enough context",
|
627
627
|
"type": "string"
|
628
628
|
},
|
629
629
|
{
|
@@ -638,7 +638,7 @@
|
|
638
638
|
},
|
639
639
|
{
|
640
640
|
"name": "text",
|
641
|
-
"description": "REQUIRED: Text for the button",
|
641
|
+
"description": "ACCESSIBILITY: REQUIRED: Text for the button",
|
642
642
|
"type": "string"
|
643
643
|
},
|
644
644
|
{
|
@@ -669,7 +669,7 @@
|
|
669
669
|
{
|
670
670
|
"name": "description",
|
671
671
|
"attribute": "description",
|
672
|
-
"description": "A description to be added to the button for accessibility when text on button does not provide enough context",
|
672
|
+
"description": "ACCESSIBILITY: A description to be added to the button for accessibility when text on button does not provide enough context",
|
673
673
|
"type": "string"
|
674
674
|
},
|
675
675
|
{
|
@@ -687,7 +687,7 @@
|
|
687
687
|
{
|
688
688
|
"name": "text",
|
689
689
|
"attribute": "text",
|
690
|
-
"description": "REQUIRED: Text for the button",
|
690
|
+
"description": "ACCESSIBILITY: REQUIRED: Text for the button",
|
691
691
|
"type": "string"
|
692
692
|
},
|
693
693
|
{
|
@@ -736,7 +736,7 @@
|
|
736
736
|
"attributes": [
|
737
737
|
{
|
738
738
|
"name": "description",
|
739
|
-
"description": "A description to be added to the button for accessibility when text on button does not provide enough context",
|
739
|
+
"description": "ACCESSIBILITY: A description to be added to the button for accessibility when text on button does not provide enough context",
|
740
740
|
"type": "string"
|
741
741
|
},
|
742
742
|
{
|
@@ -761,7 +761,7 @@
|
|
761
761
|
{
|
762
762
|
"name": "description",
|
763
763
|
"attribute": "description",
|
764
|
-
"description": "A description to be added to the button for accessibility when text on button does not provide enough context",
|
764
|
+
"description": "ACCESSIBILITY: A description to be added to the button for accessibility when text on button does not provide enough context",
|
765
765
|
"type": "string"
|
766
766
|
},
|
767
767
|
{
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@brightspace-ui/core",
|
3
|
-
"version": "3.
|
3
|
+
"version": "3.26.0",
|
4
4
|
"description": "A collection of accessible, free, open-source web components for building Brightspace applications",
|
5
5
|
"type": "module",
|
6
6
|
"repository": "https://github.com/BrightspaceUI/core.git",
|
@@ -1,60 +0,0 @@
|
|
1
|
-
# Floating Buttons
|
2
|
-
|
3
|
-
Floating workflow buttons behavior can be added by using the `<d2l-floating-buttons>` custom element. When the normal position of the workflow buttons is below the bottom edge of the viewport, they will dock at the bottom edge. When the normal position becomes visible, they will undock.
|
4
|
-
|
5
|
-
<!-- docs: demo name:d2l-floating-buttons autoSize:false display:block size:medium -->
|
6
|
-
```html
|
7
|
-
<script type="module">
|
8
|
-
import '@brightspace-ui/core/components/button/floating-buttons.js';
|
9
|
-
import '@brightspace-ui/core/components/button/button.js';
|
10
|
-
</script>
|
11
|
-
<style>
|
12
|
-
.d2l-typography p {
|
13
|
-
margin: 1rem;
|
14
|
-
}
|
15
|
-
d2l-button {
|
16
|
-
margin-left: 0.5rem;
|
17
|
-
}
|
18
|
-
</style>
|
19
|
-
<p>
|
20
|
-
Lorem ipsum dolor sit amet, consectetur adipisicing elit. Adipisci repellat cum totam! Enim, sunt. Numquam voluptate, velit quisquam ipsa molestias laudantium odit reiciendis nisi corporis voluptatibus, voluptatum sunt natus, accusantium magnam consequatur fugit officiis minima voluptatem consequuntur nam, earum necessitatibus! Cupiditate ullam repellendus, eius iure voluptas at commodi consectetur, quia, adipisci possimus, ex mollitia. Labore harum error consectetur officiis aut optio, temporibus iste nobis ducimus cumque laudantium rem pariatur. Ut repudiandae id, consequuntur quasi quis pariatur autem corporis perferendis facilis eius similique voluptatibus iusto deleniti odio officia numquam tenetur excepturi, aspernatur sunt minima aut fugiat ipsam.
|
21
|
-
</p>
|
22
|
-
<d2l-floating-buttons always-float>
|
23
|
-
<d2l-button primary>Primary</d2l-button>
|
24
|
-
<d2l-button>Secondary</d2l-button>
|
25
|
-
</d2l-floating-buttons>
|
26
|
-
```
|
27
|
-
|
28
|
-
## Floating Buttons [d2l-floating-buttons]
|
29
|
-
|
30
|
-
<!-- docs: demo code properties name:d2l-floating-buttons autoSize:false display:block size:medium -->
|
31
|
-
```html
|
32
|
-
<script type="module">
|
33
|
-
import '@brightspace-ui/core/components/button/floating-buttons.js';
|
34
|
-
import '@brightspace-ui/core/components/button/button.js';
|
35
|
-
</script>
|
36
|
-
<style>
|
37
|
-
.d2l-typography p {
|
38
|
-
margin: 1rem;
|
39
|
-
}
|
40
|
-
|
41
|
-
d2l-button {
|
42
|
-
margin-left: 0.5rem;
|
43
|
-
}
|
44
|
-
</style>
|
45
|
-
<p>
|
46
|
-
Lorem ipsum dolor sit amet, consectetur adipisicing elit. Adipisci repellat cum totam! Enim, sunt. Numquam voluptate, velit quisquam ipsa molestias laudantium odit reiciendis nisi corporis voluptatibus, voluptatum sunt natus, accusantium magnam consequatur fugit officiis minima voluptatem consequuntur nam, earum necessitatibus! Cupiditate ullam repellendus, eius iure voluptas at commodi consectetur, quia, adipisci possimus, ex mollitia. Labore harum error consectetur officiis aut optio, temporibus iste nobis ducimus cumque laudantium rem pariatur. Ut repudiandae id, consequuntur quasi quis pariatur autem corporis perferendis facilis eius similique voluptatibus iusto deleniti odio officia numquam tenetur excepturi, aspernatur sunt minima aut fugiat ipsam. Ea nesciunt, amet fugit facere similique dolor nam tempora perferendis aut fugiat non, ex pariatur excepturi odio aspernatur libero saepe ducimus rem magni cumque. Laboriosam nisi fuga accusantium quos qui? Maiores ratione aliquam eos odio eius molestiae nesciunt exercitationem dolor perspiciatis quam. Necessitatibus rem nihil ad culpa, tenetur iusto consectetur rerum, delectus neque? Error, quas, eaque! Quibusdam voluptas expedita possimus consequatur accusantium distinctio, esse quisquam, ipsa blanditiis, officia perferendis et? Iste, nam optio vero earum tenetur voluptatibus modi a, odit aliquid eos corporis nulla saepe vel neque voluptate ratione, facilis quo sed nisi voluptates nostrum dolor. Non mollitia dignissimos laudantium quos libero nisi, nobis harum, asperiores soluta reprehenderit doloremque ipsa id unde voluptates beatae deserunt. Minima repellendus ipsam molestias veritatis pariatur nobis nihil, alias quasi, esse, aspernatur saepe beatae, hic consequatur. Sit sequi, libero quisquam quibusdam fuga tempore ab molestiae praesentium, necessitatibus, vero odio ullam qui non totam voluptas reprehenderit ad neque voluptate. Nam atque impedit ducimus, dolore reiciendis delectus inventore beatae cumque. Magni, id quos officiis soluta consequatur nam quis, modi fugit adipisci vel autem dolorum iusto cumque, libero reprehenderit amet doloremque voluptatem sunt sapiente reiciendis omnis, similique nulla enim. Autem repellendus, illo eveniet recusandae quae quibusdam itaque, delectus, consequatur provident vitae vero magnam repudiandae fugit, placeat sapiente! Omnis, possimus natus.
|
47
|
-
</p>
|
48
|
-
<d2l-floating-buttons always-float>
|
49
|
-
<d2l-button primary>Primary</d2l-button>
|
50
|
-
<d2l-button>Secondary</d2l-button>
|
51
|
-
</d2l-floating-buttons>
|
52
|
-
```
|
53
|
-
|
54
|
-
<!-- docs: start hidden content -->
|
55
|
-
### Properties:
|
56
|
-
|
57
|
-
| Property | Type | Description |
|
58
|
-
|--|--|--|
|
59
|
-
| `always-float` | Boolean | Indicates to display buttons as always floating |
|
60
|
-
<!-- docs: end hidden content -->
|