@nextelco/common-ui 1.6.3 → 1.6.6
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.
- package/dist/084688f4083437c38a98.ttf +0 -0
- package/dist/28937b70005aac17035d.ttf +0 -0
- package/dist/5f9e53103764bd328f6c.ttf +0 -0
- package/dist/bundle.js +1 -1
- package/dist/types/components/atoms/Acronym/Acronym.stories.d.ts +5 -4
- package/dist/types/components/atoms/Button/variants/ActionButton.d.ts +1 -1
- package/dist/types/components/layout/Header/Header.d.ts +1 -1
- package/dist/types/components/layout/Header/Header.stories.d.ts +1 -1
- package/dist/types/contants/FontWeight.d.ts +7 -0
- package/dist/types/index.d.ts +1 -0
- package/dist/types/types/ButtonTheme.d.ts +2 -0
- package/package.json +1 -1
- package/dist/types/components/molecules/Notification/Notification.d.ts +0 -4
@@ -1,8 +1,9 @@
|
|
1
|
-
import { Meta, StoryObj } from
|
2
|
-
import { ComponentProps } from
|
3
|
-
import Acronym from
|
1
|
+
import { Meta, StoryObj } from '@storybook/react';
|
2
|
+
import { ComponentProps } from 'react';
|
3
|
+
import Acronym from './Acronym';
|
4
4
|
type StoryProps = ComponentProps<typeof Acronym>;
|
5
5
|
declare const meta: Meta<StoryProps>;
|
6
6
|
export default meta;
|
7
7
|
type Story = StoryObj<typeof meta>;
|
8
|
-
export declare const
|
8
|
+
export declare const DarkBackground: Story;
|
9
|
+
export declare const LightBackground: Story;
|
@@ -4,7 +4,7 @@ import { IconProp } from '@fortawesome/fontawesome-svg-core';
|
|
4
4
|
import { ButtonTheme } from '../../../../types/ButtonTheme';
|
5
5
|
import './ActionButton.scss';
|
6
6
|
type Props = PropsWithChildren<{
|
7
|
-
icon
|
7
|
+
icon?: IconProp;
|
8
8
|
title: string;
|
9
9
|
theme: ButtonTheme;
|
10
10
|
onClick: () => void;
|
@@ -5,7 +5,7 @@ type Story = StoryObj<typeof Header>;
|
|
5
5
|
declare const _default: {
|
6
6
|
component: ({ title, icon, sideBar, handleSideBar, profile, handleHome, }: {
|
7
7
|
title: string;
|
8
|
-
icon
|
8
|
+
icon?: import("@fortawesome/fontawesome-svg-core").IconProp;
|
9
9
|
sideBar: boolean;
|
10
10
|
handleSideBar: () => void;
|
11
11
|
profile: React.ReactNode;
|
package/dist/types/index.d.ts
CHANGED
@@ -1,3 +1,4 @@
|
|
1
|
+
export { default as Acronym } from './components/atoms/Acronym/Acronym';
|
1
2
|
export { default as Label } from './components/atoms/Label/Label';
|
2
3
|
export { default as BreadCrumb } from './components/atoms/BreadCrumb/BreadCrumb';
|
3
4
|
export { default as CustomSwitch } from './components/atoms/Switch/CustomSwitch';
|
package/package.json
CHANGED