@npm_leadtech/legal-lib-components 2.1.1 → 2.1.3
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/cjs/index.js +2 -2
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/src/components/atoms/BreadcrumItem/BreadcrumItem.d.ts +5 -0
- package/dist/cjs/src/components/atoms/BreadcrumItem/BreadcrumItemProps.types.d.ts +5 -0
- package/dist/cjs/src/components/atoms/BreadcrumItem/__stories__/BreadcrumbItem.stories.d.ts +8 -0
- package/dist/cjs/src/components/atoms/BreadcrumItem/index.d.ts +2 -0
- package/dist/cjs/src/components/atoms/Button/ButtonProps.types.d.ts +1 -1
- package/dist/cjs/src/components/atoms/index.d.ts +1 -0
- package/dist/cjs/src/components/molecules/Breadcrumb/Breadcrumb.d.ts +5 -0
- package/dist/cjs/src/components/molecules/Breadcrumb/BreadcrumbProps.types.d.ts +6 -0
- package/dist/cjs/src/components/molecules/Breadcrumb/__stories__/Breadcrumb.stories.d.ts +7 -0
- package/dist/cjs/src/components/molecules/Breadcrumb/index.d.ts +2 -0
- package/dist/cjs/src/components/molecules/index.d.ts +1 -0
- package/dist/esm/index.js +2 -2
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/src/components/atoms/BreadcrumItem/BreadcrumItem.d.ts +5 -0
- package/dist/esm/src/components/atoms/BreadcrumItem/BreadcrumItemProps.types.d.ts +5 -0
- package/dist/esm/src/components/atoms/BreadcrumItem/__stories__/BreadcrumbItem.stories.d.ts +8 -0
- package/dist/esm/src/components/atoms/BreadcrumItem/index.d.ts +2 -0
- package/dist/esm/src/components/atoms/Button/ButtonProps.types.d.ts +1 -1
- package/dist/esm/src/components/atoms/index.d.ts +1 -0
- package/dist/esm/src/components/molecules/Breadcrumb/Breadcrumb.d.ts +5 -0
- package/dist/esm/src/components/molecules/Breadcrumb/BreadcrumbProps.types.d.ts +6 -0
- package/dist/esm/src/components/molecules/Breadcrumb/__stories__/Breadcrumb.stories.d.ts +7 -0
- package/dist/esm/src/components/molecules/Breadcrumb/index.d.ts +2 -0
- package/dist/esm/src/components/molecules/index.d.ts +1 -0
- package/dist/index.d.ts +19 -2
- package/package.json +4 -3
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/react';
|
|
2
|
+
import BreadcrumItem from '../BreadcrumItem';
|
|
3
|
+
declare const meta: Meta<typeof BreadcrumItem>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof BreadcrumItem>;
|
|
6
|
+
export declare const Default: Story;
|
|
7
|
+
export declare const FirstItem: Story;
|
|
8
|
+
export declare const LastItem: Story;
|
|
@@ -10,7 +10,7 @@ export interface ButtonProps {
|
|
|
10
10
|
onClick?: (functionParameters?: any) => void;
|
|
11
11
|
functionParameters?: any;
|
|
12
12
|
styleless?: boolean;
|
|
13
|
-
color?: 'primary' | 'primary2' | 'primary3' | 'primary4' | 'secondary' | 'secondary2' | 'secondary3' | 'secondary4' | 'secondaryIcon' | 'secondaryIconBold' | 'secondaryIconDark' | 'tertiary' | 'transparent';
|
|
13
|
+
color?: 'primary' | 'primary2' | 'primary3' | 'primary4' | 'secondary' | 'secondary2' | 'secondary3' | 'secondary4' | 'secondaryIcon' | 'secondaryIconBold' | 'secondaryIconDark' | 'tertiary' | 'styleless' | 'transparent';
|
|
14
14
|
error?: boolean;
|
|
15
15
|
disabled?: boolean;
|
|
16
16
|
fluid?: boolean;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/react';
|
|
2
|
+
import Breadcrumb from '../Breadcrumb';
|
|
3
|
+
declare const meta: Meta<typeof Breadcrumb>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof Breadcrumb>;
|
|
6
|
+
export declare const Default: Story;
|
|
7
|
+
export declare const WithSubcategory: Story;
|
package/dist/index.d.ts
CHANGED
|
@@ -38,6 +38,14 @@ interface BillCardProps {
|
|
|
38
38
|
|
|
39
39
|
declare const BillCard: FC<BillCardProps>;
|
|
40
40
|
|
|
41
|
+
interface BreadcrumItemProps {
|
|
42
|
+
text: string;
|
|
43
|
+
position: number;
|
|
44
|
+
url?: string;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
declare const BreadcrumItem: FC<BreadcrumItemProps>;
|
|
48
|
+
|
|
41
49
|
interface ButtonProps {
|
|
42
50
|
label: string;
|
|
43
51
|
dataQa?: string;
|
|
@@ -49,7 +57,7 @@ interface ButtonProps {
|
|
|
49
57
|
onClick?: (functionParameters?: any) => void;
|
|
50
58
|
functionParameters?: any;
|
|
51
59
|
styleless?: boolean;
|
|
52
|
-
color?: 'primary' | 'primary2' | 'primary3' | 'primary4' | 'secondary' | 'secondary2' | 'secondary3' | 'secondary4' | 'secondaryIcon' | 'secondaryIconBold' | 'secondaryIconDark' | 'tertiary' | 'transparent';
|
|
60
|
+
color?: 'primary' | 'primary2' | 'primary3' | 'primary4' | 'secondary' | 'secondary2' | 'secondary3' | 'secondary4' | 'secondaryIcon' | 'secondaryIconBold' | 'secondaryIconDark' | 'tertiary' | 'styleless' | 'transparent';
|
|
53
61
|
error?: boolean;
|
|
54
62
|
disabled?: boolean;
|
|
55
63
|
fluid?: boolean;
|
|
@@ -426,6 +434,15 @@ interface BoxFormProps {
|
|
|
426
434
|
|
|
427
435
|
declare const BoxForm: FC<BoxFormProps>;
|
|
428
436
|
|
|
437
|
+
interface BreadcrumbProps {
|
|
438
|
+
crumbs: Array<{
|
|
439
|
+
text: string;
|
|
440
|
+
url?: string;
|
|
441
|
+
}>;
|
|
442
|
+
}
|
|
443
|
+
|
|
444
|
+
declare const Breadcrumb: FC<BreadcrumbProps>;
|
|
445
|
+
|
|
429
446
|
interface ContactBoxProps {
|
|
430
447
|
phone: string;
|
|
431
448
|
schedule: string;
|
|
@@ -602,4 +619,4 @@ interface BlogSectionProps {
|
|
|
602
619
|
|
|
603
620
|
declare const BlogSection: FC<BlogSectionProps>;
|
|
604
621
|
|
|
605
|
-
export { AddButton, AddButtonProps, Article, ArticleProps, ArticlesList, ArticlesListProps, BaseBox, BaseBoxList, BaseBoxListProps, BaseBoxProps, BillCard, BillCardProps, BlogSection, BlogSectionProps, BottomFixedBar, BottomFixedBarProps, BottomOverlay, BottomOverlayProps, BoxForm, BoxFormProps, Button, ButtonIcon, ButtonIconProps, ButtonProps, CardPane, CardPaneInfoProps, CardPaneProps, Checkbox, CheckboxProps, ContactBox, ContactBoxProps, DatePickerCustom, DatePickerCustomProps, DialogMenuIcon, DialogMenuIconProps, Disclaimer, DisclaimerProps, Divider, DividerProps, DocumentStatus, DocumentStatusProps, Feedback, FeedbackProps, FormFaq, FormFaqProps, GoogleButton, GoogleButtonProps, HowGetYourFormsSection, HowGetYourFormsSectionProps, IconImage, IconImageProps, InfoBox, InfoBoxProps, ListStepsGetForm, ListStepsGetFormProps, LogoText, LogoTextProps, MenuItemProps, MenuItems, MenuItemsSection, MenuItemsSectionProps, Message, MessageProps, MobileBottomBar, MobileBottomBarProps, Pagination, PaginationProps, PaypalButton, PaypalButtonProps, PricingCard, PricingCardProps, ProgressBar, ProgressBarProps, Radio, RadioProps, RemoveButton, RemoveButtonProps, RichTextInner, RichTextInnerProps, SearchSelect, SearchSelectProps, SideMenuTabProps, SidemenuTab, Snackbar, SnackbarProps, Spinner, SpinnerProps, StepGetForm, StepGetFormProps, TextArea, TextAreaProps, TextInput, TextInputProps, Toggle, ToggleProps, Tooltip, TooltipMenu, TooltipMenuProps, TooltipProps, TopBar, TopBarProps };
|
|
622
|
+
export { AddButton, AddButtonProps, Article, ArticleProps, ArticlesList, ArticlesListProps, BaseBox, BaseBoxList, BaseBoxListProps, BaseBoxProps, BillCard, BillCardProps, BlogSection, BlogSectionProps, BottomFixedBar, BottomFixedBarProps, BottomOverlay, BottomOverlayProps, BoxForm, BoxFormProps, BreadcrumItem, BreadcrumItemProps, Breadcrumb, BreadcrumbProps, Button, ButtonIcon, ButtonIconProps, ButtonProps, CardPane, CardPaneInfoProps, CardPaneProps, Checkbox, CheckboxProps, ContactBox, ContactBoxProps, DatePickerCustom, DatePickerCustomProps, DialogMenuIcon, DialogMenuIconProps, Disclaimer, DisclaimerProps, Divider, DividerProps, DocumentStatus, DocumentStatusProps, Feedback, FeedbackProps, FormFaq, FormFaqProps, GoogleButton, GoogleButtonProps, HowGetYourFormsSection, HowGetYourFormsSectionProps, IconImage, IconImageProps, InfoBox, InfoBoxProps, ListStepsGetForm, ListStepsGetFormProps, LogoText, LogoTextProps, MenuItemProps, MenuItems, MenuItemsSection, MenuItemsSectionProps, Message, MessageProps, MobileBottomBar, MobileBottomBarProps, Pagination, PaginationProps, PaypalButton, PaypalButtonProps, PricingCard, PricingCardProps, ProgressBar, ProgressBarProps, Radio, RadioProps, RemoveButton, RemoveButtonProps, RichTextInner, RichTextInnerProps, SearchSelect, SearchSelectProps, SideMenuTabProps, SidemenuTab, Snackbar, SnackbarProps, Spinner, SpinnerProps, StepGetForm, StepGetFormProps, TextArea, TextAreaProps, TextInput, TextInputProps, Toggle, ToggleProps, Tooltip, TooltipMenu, TooltipMenuProps, TooltipProps, TopBar, TopBarProps };
|
package/package.json
CHANGED
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@npm_leadtech/legal-lib-components",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.3",
|
|
4
4
|
"dependencies": {
|
|
5
5
|
"@testing-library/jest-dom": "^5.16.5",
|
|
6
6
|
"@tippyjs/react": "4.2.6",
|
|
7
|
-
"gatsby-plugin-image": "^3.8.0",
|
|
8
7
|
"postcss-url": "^10.1.3",
|
|
9
8
|
"react-datepicker": "^4.11.0",
|
|
10
9
|
"react-input-mask": "^2.0.4",
|
|
@@ -34,6 +33,7 @@
|
|
|
34
33
|
"@babel/preset-flow": "^7.21.4",
|
|
35
34
|
"@babel/preset-react": "^7.18.6",
|
|
36
35
|
"@babel/preset-typescript": "^7.21.4",
|
|
36
|
+
"@gatsbyjs/reach-router": "^2.0.1",
|
|
37
37
|
"@rollup/plugin-babel": "^6.0.3",
|
|
38
38
|
"@rollup/plugin-commonjs": "^24.0.1",
|
|
39
39
|
"@rollup/plugin-image": "^3.0.2",
|
|
@@ -75,7 +75,8 @@
|
|
|
75
75
|
"eslint-plugin-react": "^7.32.2",
|
|
76
76
|
"eslint-plugin-react-hooks": "^4.6.0",
|
|
77
77
|
"eslint-plugin-storybook": "^0.6.11",
|
|
78
|
-
"gatsby-link": "^5.
|
|
78
|
+
"gatsby-link": "^5.9.0",
|
|
79
|
+
"gatsby-plugin-image": "^3.9.0",
|
|
79
80
|
"husky": "^8.0.0",
|
|
80
81
|
"identity-obj-proxy": "^3.0.0",
|
|
81
82
|
"jest": "^29.5.0",
|