willba-component-library 0.0.35 → 0.0.37

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,3 +1,9 @@
1
1
  import React from 'react';
2
2
  import './FilterBar.css';
3
- export default function FilterBar(): React.JSX.Element;
3
+ import '../../themes/Default.css';
4
+ import '../../i18n';
5
+ type FilterBarProps = {
6
+ vendor?: string;
7
+ };
8
+ export default function FilterBar({ vendor }: FilterBarProps): React.JSX.Element;
9
+ export {};
@@ -1,5 +1,5 @@
1
- import type { Meta, StoryObj } from "@storybook/react";
2
- import FilterBar from "./FilterBar";
1
+ import type { Meta, StoryObj } from '@storybook/react';
2
+ import FilterBar from './FilterBar';
3
3
  declare const meta: Meta<typeof FilterBar>;
4
4
  export default meta;
5
5
  type Story = StoryObj<typeof FilterBar>;
package/lib/i18n.d.ts ADDED
@@ -0,0 +1,2 @@
1
+ import i18n from 'i18next';
2
+ export default i18n;
package/lib/index.d.ts CHANGED
@@ -27,6 +27,9 @@ interface ButtonProps {
27
27
  */
28
28
  declare const Button: ({ type, textColor, size, onClick, label, }: ButtonProps) => React.JSX.Element;
29
29
 
30
- declare function FilterBar(): React.JSX.Element;
30
+ type FilterBarProps = {
31
+ vendor?: string;
32
+ };
33
+ declare function FilterBar({ vendor }: FilterBarProps): React.JSX.Element;
31
34
 
32
35
  export { Button, FilterBar };