@brightspace-ui/core 3.155.1 → 3.155.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.
@@ -3,13 +3,12 @@ import '../icons/icon.js';
3
3
  import { css, html, LitElement } from 'lit';
4
4
  import { DropdownOpenerMixin } from './dropdown-opener-mixin.js';
5
5
  import { dropdownOpenerStyles } from './dropdown-opener-styles.js';
6
- import { RtlMixin } from '../../mixins/rtl/rtl-mixin.js';
7
6
 
8
7
  /**
9
8
  * A "d2l-button" opener for dropdown content.
10
9
  * @slot - Dropdown content (e.g., "d2l-dropdown-content", "d2l-dropdown-menu" or "d2l-dropdown-tabs")
11
10
  */
12
- class DropdownButton extends DropdownOpenerMixin(RtlMixin(LitElement)) {
11
+ class DropdownButton extends DropdownOpenerMixin(LitElement) {
13
12
 
14
13
  static get properties() {
15
14
  return {
@@ -36,17 +35,13 @@ class DropdownButton extends DropdownOpenerMixin(RtlMixin(LitElement)) {
36
35
  return [dropdownOpenerStyles, css`
37
36
  d2l-icon {
38
37
  height: 0.8rem;
39
- margin-left: 0.6rem;
38
+ margin-inline-start: 0.6rem;
40
39
  pointer-events: none;
41
40
  width: 0.8rem;
42
41
  }
43
42
  :host([primary]) d2l-icon {
44
43
  color: white;
45
44
  }
46
- :host([dir="rtl"]) d2l-icon {
47
- margin-left: 0;
48
- margin-right: 0.6rem;
49
- }
50
45
  d2l-button {
51
46
  width: 100%;
52
47
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@brightspace-ui/core",
3
- "version": "3.155.1",
3
+ "version": "3.155.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",