@everlywell/consumer-ui 1.16.0 → 1.17.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.
@@ -0,0 +1,11 @@
1
+ import { ButtonProps } from '../../../../../../ui-kit/src/index.ts';
2
+ export interface NavButtonProps extends Omit<ButtonProps, 'children'> {
3
+ children: React.ReactNode;
4
+ /**
5
+ * Whether the button is selected or not
6
+ * @default false
7
+ * */
8
+ isSelected?: boolean;
9
+ }
10
+ declare const NavButton: ({ children, isSelected, ...buttonProps }: NavButtonProps) => import("react/jsx-runtime").JSX.Element;
11
+ export default NavButton;
@@ -0,0 +1,7 @@
1
+ import type { Meta, StoryObj } from '@storybook/react';
2
+ import NavButton from './NavButton';
3
+ declare const meta: Meta<typeof NavButton>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof NavButton>;
6
+ export declare const Default: Story;
7
+ export declare const WithOverrides: Story;
@@ -0,0 +1,2 @@
1
+ export { default } from './NavButton';
2
+ export type { NavButtonProps } from './NavButton';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@everlywell/consumer-ui",
3
- "version": "1.16.0",
3
+ "version": "1.17.0",
4
4
  "main": "./index.js",
5
5
  "types": "./index.d.ts",
6
6
  "exports": {