@rpg-engine/long-bow 0.5.8 → 0.5.9

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.
@@ -15738,33 +15738,35 @@ var TableRowValue = /*#__PURE__*/styled.td.withConfig({
15738
15738
  componentId: "sc-kk017f-1"
15739
15739
  })(["padding:0 20px;"]);
15740
15740
 
15741
- var rankTypeOptions = /*#__PURE__*/['Level', 'Class', 'Skill'].map(function (itemType, index) {
15742
- return {
15743
- id: index + 1,
15744
- value: itemType,
15745
- option: itemType
15746
- };
15747
- });
15748
- var classTypeOptions = /*#__PURE__*/Object.keys(CharacterClass).map(function (itemType, index) {
15749
- return {
15750
- id: index + 1,
15751
- value: itemType,
15752
- option: itemType
15753
- };
15754
- });
15755
15741
  var Leaderboard = function Leaderboard(props) {
15756
15742
  var items = props.items,
15757
15743
  onChangeRankType = props.onChangeRankType,
15758
15744
  onChangeClassType = props.onChangeClassType,
15759
15745
  rankType = props.rankType,
15760
- skills = props.skills,
15761
- onChangeSkillType = props.onChangeSkillType;
15746
+ skillOptions = props.skillOptions,
15747
+ onChangeSkillType = props.onChangeSkillType,
15748
+ classOptions = props.classOptions,
15749
+ rankOptions = props.rankOptions;
15762
15750
  var itemsContainer = useRef(null);
15763
15751
  useEffect(function () {
15764
15752
  var _itemsContainer$curre;
15765
15753
  (_itemsContainer$curre = itemsContainer.current) == null ? void 0 : _itemsContainer$curre.scrollTo(0, 0);
15766
15754
  }, []);
15767
- var skillTypeOptions = skills.map(function (itemType, index) {
15755
+ var rankTypeOptions = rankOptions.map(function (itemType, index) {
15756
+ return {
15757
+ id: index + 1,
15758
+ value: itemType,
15759
+ option: itemType
15760
+ };
15761
+ });
15762
+ var skillTypeOptions = skillOptions.map(function (itemType, index) {
15763
+ return {
15764
+ id: index + 1,
15765
+ value: itemType,
15766
+ option: itemType
15767
+ };
15768
+ });
15769
+ var classTypeOptions = classOptions.map(function (itemType, index) {
15768
15770
  return {
15769
15771
  id: index + 1,
15770
15772
  value: itemType,