oddsgate-ds 1.0.213 → 1.0.214

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.
@@ -8,7 +8,6 @@ type GlossaryProps = {
8
8
  title: string;
9
9
  slug: string;
10
10
  }[]>;
11
- displayedCategories: string[];
12
11
  placeholder?: string;
13
12
  noResults?: boolean;
14
13
  backToTopButton?: boolean;
package/dist/types.d.ts CHANGED
@@ -755,7 +755,6 @@ type GlossaryProps = {
755
755
  title: string;
756
756
  slug: string;
757
757
  }[]>;
758
- displayedCategories: string[];
759
758
  placeholder?: string;
760
759
  noResults?: boolean;
761
760
  backToTopButton?: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "oddsgate-ds",
3
- "version": "1.0.213",
3
+ "version": "1.0.214",
4
4
  "description": "Miew theme component library",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",
@@ -20,7 +20,6 @@ type GlossaryProps = {
20
20
  selectedCategory: string | null
21
21
  setSelectedCategory: (cat: string | null) => void
22
22
  categoryData: Record<string, { title: string; slug: string }[]>
23
- displayedCategories: string[]
24
23
  placeholder?: string
25
24
  noResults?: boolean
26
25
  backToTopButton?: boolean
@@ -34,7 +33,6 @@ export const Glossary: React.FC<GlossaryProps> = ({
34
33
  selectedCategory,
35
34
  setSelectedCategory,
36
35
  categoryData,
37
- displayedCategories,
38
36
  placeholder,
39
37
  noResults,
40
38
  backToTopButton,
@@ -43,7 +41,6 @@ export const Glossary: React.FC<GlossaryProps> = ({
43
41
  }) => {
44
42
  const categoryNames = Object.keys(categoryData)
45
43
  console.log("categoryData", categoryData)
46
- console.log("displayedCategories", displayedCategories)
47
44
  return (
48
45
  <StyledGlossary>
49
46
  <SearchBar
@@ -67,7 +64,7 @@ export const Glossary: React.FC<GlossaryProps> = ({
67
64
  ) : (
68
65
  <>
69
66
  <StyledGlossaryCategories>
70
- {displayedCategories.map(category => (
67
+ {categoryNames.map(category => (
71
68
  <CategoriesWrapper
72
69
  key={category}
73
70
  category={category}