@brightspace-ui/core 3.150.1 → 3.150.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.
@@ -6,7 +6,6 @@ import { buttonStyles } from './button-styles.js';
6
6
  import { FocusMixin } from '../../mixins/focus/focus-mixin.js';
7
7
  import { getUniqueId } from '../../helpers/uniqueId.js';
8
8
  import { ifDefined } from 'lit/directives/if-defined.js';
9
- import { RtlMixin } from '../../mixins/rtl/rtl-mixin.js';
10
9
  import { ThemeMixin } from '../../mixins/theme/theme-mixin.js';
11
10
 
12
11
  const keyCodes = Object.freeze({
@@ -33,7 +32,7 @@ export const moveActions = Object.freeze({
33
32
  * A button component that provides a move action via a single button.
34
33
  * @fires d2l-button-move-action - Dispatched when move action occurs
35
34
  */
36
- class ButtonMove extends ThemeMixin(FocusMixin(RtlMixin(LitElement))) {
35
+ class ButtonMove extends ThemeMixin(FocusMixin(LitElement)) {
37
36
 
38
37
  static get properties() {
39
38
  return {
@@ -140,7 +139,7 @@ class ButtonMove extends ThemeMixin(FocusMixin(RtlMixin(LitElement))) {
140
139
  .up-layer,
141
140
  .down-layer {
142
141
  height: 1.2rem;
143
- left: -0.2rem;
142
+ inset-inline-start: -0.2rem;
144
143
  position: absolute;
145
144
  width: 1.3rem;
146
145
  }
@@ -150,11 +149,6 @@ class ButtonMove extends ThemeMixin(FocusMixin(RtlMixin(LitElement))) {
150
149
  .down-layer {
151
150
  bottom: -0.35rem;
152
151
  }
153
- :host([dir="rtl"]) .up-layer,
154
- :host([dir="rtl"]) .down-layer {
155
- left: auto;
156
- right: -0.2rem;
157
- }
158
152
 
159
153
  /* Firefox includes a hidden border which messes up button dimensions */
160
154
  button::-moz-focus-inner {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@brightspace-ui/core",
3
- "version": "3.150.1",
3
+ "version": "3.150.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",