@brightspace-ui/core 3.254.0 → 3.254.1

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.
@@ -1,23 +1,11 @@
1
1
  import '../colors/colors.js';
2
2
  import { css, html, LitElement, nothing } from 'lit';
3
3
  import { classMap } from 'lit/directives/class-map.js';
4
- import { getFlag } from '../../helpers/flags.js';
5
4
  import { getFocusRingStyles } from '../../helpers/focus.js';
6
5
  import { ifDefined } from 'lit/directives/if-defined.js';
7
6
  import { offscreenStyles } from '../offscreen/offscreen.js';
8
7
  import { styleMap } from 'lit/directives/style-map.js';
9
8
 
10
- const GAUD_8697_FEATURE_FLAG = getFlag('GAUD-8697-card-badge-center-flag', true);
11
-
12
- // TODO: move this css statement to where this function is being called, when the FF is removed
13
- const getCenterCardBadgeCSS = () => {
14
- return css`
15
- :host([align-center]) .d2l-card-badge {
16
- display: flex;
17
- justify-content: center;
18
- }`;
19
- };
20
-
21
9
  /**
22
10
  * A container element that provides specific layout using several slots.
23
11
  * @slot content - Slot for primary content such as title and supplementary info (no actionable elements)
@@ -148,7 +136,11 @@ class Card extends LitElement {
148
136
  text-align: center;
149
137
  }
150
138
 
151
- ${GAUD_8697_FEATURE_FLAG ? getCenterCardBadgeCSS() : css``}
139
+ :host([align-center]) .d2l-card-badge {
140
+ display: flex;
141
+ justify-content: center;
142
+ }
143
+
152
144
  .d2l-card-footer-hidden .d2l-card-content {
153
145
  padding-bottom: 1.2rem;
154
146
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@brightspace-ui/core",
3
- "version": "3.254.0",
3
+ "version": "3.254.1",
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",