@brightspace-ui/core 3.101.0 → 3.101.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.
@@ -5,14 +5,14 @@ import { ifDefined } from 'lit/directives/if-defined.js';
5
5
  import { InputInlineHelpMixin } from './input-inline-help.js';
6
6
  import { inputLabelStyles } from './input-label-styles.js';
7
7
  import { offscreenStyles } from '../offscreen/offscreen.js';
8
- import { RtlMixin } from '../../mixins/rtl/rtl-mixin.js';
8
+ import { PropertyRequiredMixin } from '../../mixins/property-required/property-required-mixin.js';
9
9
  import { SkeletonMixin } from '../skeleton/skeleton-mixin.js';
10
10
 
11
11
  /**
12
12
  * A component wrapper to be used when a page contains multiple inputs which are related (for example to form an address) to wrap those related inputs.
13
13
  * @slot - Related input components
14
14
  */
15
- class InputFieldset extends InputInlineHelpMixin(SkeletonMixin(RtlMixin(LitElement))) {
15
+ class InputFieldset extends PropertyRequiredMixin(InputInlineHelpMixin(SkeletonMixin(LitElement))) {
16
16
 
17
17
  static get properties() {
18
18
  return {
@@ -20,7 +20,7 @@ class InputFieldset extends InputInlineHelpMixin(SkeletonMixin(RtlMixin(LitEleme
20
20
  * REQUIRED: Label for the fieldset
21
21
  * @type {string}
22
22
  */
23
- label: { type: String },
23
+ label: { type: String, required: true },
24
24
  /**
25
25
  * Hides the label visually
26
26
  * @type {boolean}
@@ -11,6 +11,7 @@
11
11
  import '../../dropdown/dropdown-more.js';
12
12
  import '../../menu/menu.js';
13
13
  import '../../menu/menu-item.js';
14
+ import '../../selection/selection-action.js';
14
15
  import '../list-controls.js';
15
16
  import '../list-item-content.js';
16
17
  import '../list-item.js';
@@ -18,6 +18,7 @@ export class ListControls extends SelectionControls {
18
18
  return [super.styles, css`
19
19
  :host {
20
20
  --d2l-selection-controls-background-color: var(--d2l-list-controls-background-color);
21
+ --d2l-selection-controls-offset: -12px;
21
22
  --d2l-selection-controls-padding: var(--d2l-list-controls-padding, 18px);
22
23
  z-index: 6; /* must be greater than d2l-list-item-active-border */
23
24
  }
@@ -25,13 +26,14 @@ export class ListControls extends SelectionControls {
25
26
  z-index: auto;
26
27
  }
27
28
  .d2l-list-controls-color {
28
- padding: 0 1.8rem;
29
+ padding-inline-start: 1.8rem;
29
30
  }
30
31
  .d2l-list-controls-extend-separator {
32
+ --d2l-selection-controls-offset: 0;
31
33
  padding: 0 0.9rem;
32
34
  }
33
35
  .d2l-list-controls-color.d2l-list-controls-extend-separator {
34
- padding: 0 calc(0.6rem + 9px);
36
+ padding-inline-start: calc(0.6rem + 9px);
35
37
  }
36
38
  `];
37
39
  }
@@ -103,6 +103,7 @@ export class SelectionControls extends PageableSubscriberMixin(SelectionObserver
103
103
  .d2l-selection-controls-actions {
104
104
  --d2l-overflow-group-justify-content: flex-end;
105
105
  flex: auto;
106
+ margin-inline-end: var(--d2l-selection-controls-offset, 0);
106
107
  text-align: end;
107
108
  }
108
109
  .d2l-sticky-edge {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@brightspace-ui/core",
3
- "version": "3.101.0",
3
+ "version": "3.101.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",