revdev-components 0.252.0 → 0.253.0

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,7 +1,7 @@
1
1
  import React from "react";
2
2
  import { LevelGen } from "src/interfaces";
3
3
  export interface LevelLetterBadgeProps {
4
- value: LevelGen | LevelGen[] | string;
4
+ levels: LevelGen | LevelGen[] | string;
5
5
  className?: string;
6
6
  activeCode?: string;
7
7
  title?: (param: LevelGen) => string;
package/build/index.js CHANGED
@@ -6139,7 +6139,7 @@ var LevelBarBadge = function (_a) {
6139
6139
  var s$3 = {"root":"index-module_root__ogwMI","level":"index-module_level__EuETi","level__active":"index-module_level__active__lfzHe"};
6140
6140
 
6141
6141
  var LevelLetterBadge = function (_a) {
6142
- var value = _a.value, className = _a.className, activeCode = _a.activeCode, title = _a.title;
6142
+ var value = _a.levels, className = _a.className, activeCode = _a.activeCode, title = _a.title;
6143
6143
  var levels = React.useMemo(function () {
6144
6144
  if (typeof value === "string") {
6145
6145
  return [{ code: value }];
package/build/styles.css CHANGED
@@ -787,6 +787,7 @@ body {
787
787
  border: 1px solid var(--borderColor);
788
788
  border-radius: 0.3em;
789
789
  text-transform: uppercase;
790
+ line-height: 1.1em;
790
791
  }
791
792
  .index-module_level__active__lfzHe {
792
793
  background-color: var(--levelLetterBadgeActiveBackgroundColor);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "revdev-components",
3
- "version": "0.252.0",
3
+ "version": "0.253.0",
4
4
  "main": "build/index.js",
5
5
  "module": "build/index.esm.js",
6
6
  "scripts": {