@brightspace-ui/core 2.179.0 → 2.179.2
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.
@@ -253,7 +253,7 @@ To make your usage of `d2l-dropdown-more` accessible, use the following property
|
|
253
253
|
* `async resize()`: Call if the size of the content changes due to a change in a nested component. The nested component may choose to fire a custom event, which the component containing the `d2l-dropdown-content` can catch and call this method. |
|
254
254
|
|
255
255
|
## Content: Menu [d2l-dropdown-menu]
|
256
|
-
`d2l-dropdown-menu` is a container for a [d2l-menu](
|
256
|
+
`d2l-dropdown-menu` is a container for a [d2l-menu](https://github.com/BrightspaceUI/core/tree/main/components/menu) component. It provides additional support on top of `d2l-dropdown-content` for closing the menu when menu items are selected, resetting to the root of nested menus when reopening and automatic resizing when the menu resizes.
|
257
257
|
|
258
258
|
<!-- docs: demo code properties name:d2l-dropdown-menu align:flex-start autoSize:false size:medium -->
|
259
259
|
```html
|
@@ -292,7 +292,7 @@ To make your usage of `d2l-dropdown-more` accessible, use the following property
|
|
292
292
|
```
|
293
293
|
|
294
294
|
## Content: Tabs [d2l-dropdown-tabs]
|
295
|
-
`d2l-dropdown-tabs` is a container for a [d2l-tabs](https://github.com/BrightspaceUI/tabs) component. It provides additional support on top of `d2l-dropdown-content` for automatic resizing when the tab changes.
|
295
|
+
`d2l-dropdown-tabs` is a container for a [d2l-tabs](https://github.com/BrightspaceUI/core/tree/main/components/tabs) component. It provides additional support on top of `d2l-dropdown-content` for automatic resizing when the tab changes.
|
296
296
|
|
297
297
|
<!-- docs: demo code properties name:d2l-dropdown-tabs autoOpen:true autoSize:false align:flex-start size:large -->
|
298
298
|
```html
|
@@ -355,22 +355,22 @@ class Tooltip extends RtlMixin(LitElement) {
|
|
355
355
|
width: 100%;
|
356
356
|
}
|
357
357
|
|
358
|
-
:host([_open-dir="bottom"]) .d2l-tooltip-container {
|
358
|
+
:host([_open-dir="bottom"][showing]) .d2l-tooltip-container {
|
359
359
|
-webkit-animation: d2l-tooltip-bottom-animation 200ms ease;
|
360
360
|
animation: d2l-tooltip-bottom-animation 200ms ease;
|
361
361
|
}
|
362
362
|
|
363
|
-
:host([_open-dir="top"]) .d2l-tooltip-container {
|
363
|
+
:host([_open-dir="top"][showing]) .d2l-tooltip-container {
|
364
364
|
-webkit-animation: d2l-tooltip-top-animation 200ms ease;
|
365
365
|
animation: d2l-tooltip-top-animation 200ms ease;
|
366
366
|
}
|
367
367
|
|
368
|
-
:host([_open-dir="left"]) .d2l-tooltip-container {
|
368
|
+
:host([_open-dir="left"][showing]) .d2l-tooltip-container {
|
369
369
|
-webkit-animation: d2l-tooltip-left-animation 200ms ease;
|
370
370
|
animation: d2l-tooltip-left-animation 200ms ease;
|
371
371
|
}
|
372
372
|
|
373
|
-
:host([_open-dir="right"]) .d2l-tooltip-container {
|
373
|
+
:host([_open-dir="right"][showing]) .d2l-tooltip-container {
|
374
374
|
-webkit-animation: d2l-tooltip-right-animation 200ms ease;
|
375
375
|
animation: d2l-tooltip-right-animation 200ms ease;
|
376
376
|
}
|
@@ -387,10 +387,10 @@ class Tooltip extends RtlMixin(LitElement) {
|
|
387
387
|
}
|
388
388
|
|
389
389
|
@media (prefers-reduced-motion: reduce) {
|
390
|
-
:host([_open-dir="bottom"]) .d2l-tooltip-container,
|
391
|
-
:host([_open-dir="top"]) .d2l-tooltip-container,
|
392
|
-
:host([_open-dir="left"]) .d2l-tooltip-container,
|
393
|
-
:host([_open-dir="right"]) .d2l-tooltip-container {
|
390
|
+
:host([_open-dir="bottom"][showing]) .d2l-tooltip-container,
|
391
|
+
:host([_open-dir="top"][showing]) .d2l-tooltip-container,
|
392
|
+
:host([_open-dir="left"][showing]) .d2l-tooltip-container,
|
393
|
+
:host([_open-dir="right"][showing]) .d2l-tooltip-container {
|
394
394
|
-webkit-animation: none;
|
395
395
|
animation: none;
|
396
396
|
}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@brightspace-ui/core",
|
3
|
-
"version": "2.179.
|
3
|
+
"version": "2.179.2",
|
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",
|