oddsgate-ds 1.0.200 → 1.0.202

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.
@@ -9,8 +9,6 @@ type GlossaryItem = {
9
9
  }[];
10
10
  };
11
11
  export type GlossaryProps = {
12
- title: string;
13
- subtitle: string;
14
12
  items: GlossaryItem[];
15
13
  categories: {
16
14
  name: string;
@@ -1,9 +1,4 @@
1
1
  /// <reference types="react" />
2
2
  export declare const StyledGlossary: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
3
- export declare const StyledGlossaryHeader: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
4
3
  export declare const StyledGlossaryTitle: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>, never>> & string;
5
- export declare const StyledGlossarySubtitle: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>, never>> & string;
6
- export declare const StyledGlossaryIndex: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
7
4
  export declare const StyledGlossaryCategories: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
8
- export declare const StyledGlossarySeparator: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
9
- export declare const StyledGlossaryCategoryItems: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, never>> & string;
@@ -0,0 +1 @@
1
+ export { default } from './Glossary.component';
@@ -49,7 +49,7 @@ export { default as Cover } from './components/organisms/Cover';
49
49
  export { default as Tabs } from './components/organisms/Tabs';
50
50
  export { default as CircularSlider } from './components/organisms/CircularSlider';
51
51
  export { default as ProductsSlider } from './components/organisms/ProductsSlider';
52
- export { default as Glossary } from './components/organisms/Glossary/Glossary.component';
52
+ export { default as Glossary } from './components/organisms/Glossary';
53
53
  export { iconsList } from './helpers/getIcons';
54
54
  export { default as GlobalStyles } from './styles/Global';
55
55
  export { default as clickOutSideToClose } from './helpers/clickOutsideToClose';
package/dist/types.d.ts CHANGED
@@ -731,8 +731,6 @@ type GlossaryItem = {
731
731
  }[];
732
732
  };
733
733
  type GlossaryProps = {
734
- title: string;
735
- subtitle: string;
736
734
  items: GlossaryItem[];
737
735
  categories: {
738
736
  name: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "oddsgate-ds",
3
- "version": "1.0.200",
3
+ "version": "1.0.202",
4
4
  "description": "Miew theme component library",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",
@@ -1,10 +1,5 @@
1
1
  import React, { useState } from 'react'
2
- import {
3
- StyledGlossary,
4
- StyledGlossaryCategories,
5
- StyledGlossarySubtitle,
6
- StyledGlossaryTitle
7
- } from './Glossary.themes'
2
+ import { StyledGlossary, StyledGlossaryCategories } from './Glossary.themes'
8
3
 
9
4
  import SearchBar from '@/components/molecules/SearchBar/SearchBar.component'
10
5
  import GlossaryCategoryIndex from '@/components/molecules/CategoryIndex/CategoryIndex.component'
@@ -12,8 +7,6 @@ import CategoriesWrapper from '@/components/molecules/CategoriesWrapper/Categori
12
7
  import { GlossaryProps } from './Glossary.interface'
13
8
 
14
9
  export const Glossary: React.FC<GlossaryProps> = ({
15
- title,
16
- subtitle,
17
10
  items,
18
11
  categories,
19
12
  placeholder
@@ -41,9 +34,6 @@ export const Glossary: React.FC<GlossaryProps> = ({
41
34
 
42
35
  return (
43
36
  <StyledGlossary>
44
- <StyledGlossaryTitle>{title}</StyledGlossaryTitle>
45
- <StyledGlossarySubtitle>{subtitle}</StyledGlossarySubtitle>
46
-
47
37
  <SearchBar
48
38
  value={searchTerm}
49
39
  onChange={e => setSearchTerm(e.target.value)}
@@ -4,8 +4,6 @@ type GlossaryItem = {
4
4
  }
5
5
 
6
6
  export type GlossaryProps = {
7
- title: string
8
- subtitle: string
9
7
  items: GlossaryItem[]
10
8
  categories: { name: string; items: { slug: string; name: string }[] }[]
11
9
  placeholder?: string
@@ -8,20 +8,10 @@ export const StyledGlossary = styled.div`
8
8
  width: 100%;
9
9
  `
10
10
 
11
- export const StyledGlossaryHeader = styled.div``
12
-
13
11
  export const StyledGlossaryTitle = styled.h1`
14
- color: ${colors.primary50};
12
+ color: ${colors.primary50};
15
13
  `
16
14
 
17
- export const StyledGlossarySubtitle = styled.h4``
18
-
19
- export const StyledGlossaryIndex = styled.div``
20
-
21
15
  export const StyledGlossaryCategories = styled.div`
22
- width: 100%;
16
+ width: 100%;
23
17
  `
24
-
25
- export const StyledGlossarySeparator = styled.div``
26
-
27
- export const StyledGlossaryCategoryItems = styled.li``
@@ -0,0 +1 @@
1
+ export { default } from './Glossary.component'
package/src/index.ts CHANGED
@@ -56,7 +56,7 @@ export { default as Cover } from './components/organisms/Cover'
56
56
  export { default as Tabs } from './components/organisms/Tabs'
57
57
  export { default as CircularSlider } from './components/organisms/CircularSlider'
58
58
  export { default as ProductsSlider } from './components/organisms/ProductsSlider'
59
- export { default as Glossary } from './components/organisms/Glossary/Glossary.component'
59
+ export { default as Glossary } from './components/organisms/Glossary'
60
60
 
61
61
  export { iconsList } from './helpers/getIcons'
62
62