property-practice-ui 0.3.0 → 0.3.1

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.
Files changed (48) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/dist/{Button-GGqCRrab.d.cts → Button-BT32YGe5.d.cts} +18 -1
  3. package/dist/{Button-GGqCRrab.d.ts → Button-BT32YGe5.d.ts} +18 -1
  4. package/dist/{FileButton-DGczdE12.d.cts → FileButton-C_ITD9MA.d.cts} +1 -1
  5. package/dist/{FileButton-HFyj2Jod.d.ts → FileButton-zPIyC3gQ.d.ts} +1 -1
  6. package/dist/{Textarea-BVqF5_5c.d.cts → Textarea-COarrHSa.d.ts} +2 -18
  7. package/dist/{Textarea-BVqF5_5c.d.ts → Textarea-DP0HgLAn.d.cts} +2 -18
  8. package/dist/atoms.d.cts +3 -4
  9. package/dist/atoms.d.ts +3 -4
  10. package/dist/index.cjs +252 -608
  11. package/dist/index.cjs.map +1 -1
  12. package/dist/index.d.cts +124 -9
  13. package/dist/index.d.ts +124 -9
  14. package/dist/index.js +254 -589
  15. package/dist/index.js.map +1 -1
  16. package/dist/molecules.d.cts +3 -3
  17. package/dist/molecules.d.ts +3 -3
  18. package/dist/{tableListItem-irbfqxnQ.d.cts → toast-CvZfLJrO.d.cts} +3 -1
  19. package/dist/{tableListItem-irbfqxnQ.d.ts → toast-CvZfLJrO.d.ts} +3 -1
  20. package/dist/types.d.cts +1 -2
  21. package/dist/types.d.ts +1 -2
  22. package/package.json +1 -1
  23. package/src/index.ts +2 -2
  24. package/src/templates/Contact/Contact.tsx +1 -1
  25. package/src/templates/Features/Features.tsx +1 -1
  26. package/tsup.config.ts +0 -1
  27. package/dist/organisms.cjs +0 -2859
  28. package/dist/organisms.cjs.map +0 -1
  29. package/dist/organisms.d.cts +0 -126
  30. package/dist/organisms.d.ts +0 -126
  31. package/dist/organisms.js +0 -2845
  32. package/dist/organisms.js.map +0 -1
  33. package/dist/toast-JPCqJveR.d.cts +0 -3
  34. package/dist/toast-JPCqJveR.d.ts +0 -3
  35. /package/src/{organism → organisms}/ContactForm/ContactForm.stories.tsx +0 -0
  36. /package/src/{organism → organisms}/ContactForm/ContactForm.tsx +0 -0
  37. /package/src/{organism → organisms}/DocumentListAccordion/DocumentListAccordion.tsx +0 -0
  38. /package/src/{organism → organisms}/FeatureCarousel/FeatureCarousel.stories.tsx +0 -0
  39. /package/src/{organism → organisms}/FeatureCarousel/FeatureCarousel.tsx +0 -0
  40. /package/src/{organism → organisms}/Footer/Footer.stories.tsx +0 -0
  41. /package/src/{organism → organisms}/Footer/Footer.tsx +0 -0
  42. /package/src/{organism → organisms}/Header/Header.stories.tsx +0 -0
  43. /package/src/{organism → organisms}/Header/Header.tsx +0 -0
  44. /package/src/{organism → organisms}/OverviewList/OverviewList.stories.tsx +0 -0
  45. /package/src/{organism → organisms}/OverviewList/OverviewList.tsx +0 -0
  46. /package/src/{organism → organisms}/ToastProvider/ToastProvider.tsx +0 -0
  47. /package/src/{organism → organisms}/VersionLabel/VersionLabel.tsx +0 -0
  48. /package/src/{organism → organisms}/index.ts +0 -0
@@ -1,126 +0,0 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import { ComponentProps, ReactNode } from 'react';
3
- import { F as FileButton, D as DocumentListAccordionFileType } from './FileButton-HFyj2Jod.js';
4
- import { c as colors } from './Button-GGqCRrab.js';
5
- import { T as ToastType } from './toast-JPCqJveR.js';
6
-
7
- interface ContactFormProps {
8
- }
9
- declare const ContactForm: ({}: ContactFormProps) => react_jsx_runtime.JSX.Element;
10
-
11
- interface DocumentListAccordionProps extends Pick<ComponentProps<typeof FileButton>, 'accept' | 'onFileSelect'> {
12
- title: string;
13
- files: DocumentListAccordionFileType[];
14
- onViewDetail: (id: string) => void;
15
- onSortBy?: (accessor: keyof DocumentListAccordionFileType) => void;
16
- }
17
- declare const DocumentListAccordion: ({ title, files, onSortBy, onViewDetail, accept, onFileSelect, }: DocumentListAccordionProps) => react_jsx_runtime.JSX.Element;
18
-
19
- type TextColor = keyof typeof colors.text;
20
- type BackgroundColor = keyof typeof colors.background;
21
- interface CarouselCard {
22
- thumbnail: React.ReactNode;
23
- title: string;
24
- description: string;
25
- onArrowClick?: () => void;
26
- }
27
- interface CarouselProps {
28
- cards: CarouselCard[];
29
- cardTitleColor?: TextColor;
30
- cardDescriptionVariant?: 'primary' | 'secondary' | 'subtle' | 'error';
31
- cardArrowVariant?: 'brand' | 'teal' | 'blue';
32
- cardThumbnailBgColor?: BackgroundColor;
33
- navButtonColor?: TextColor;
34
- indicatorColor?: TextColor;
35
- }
36
- declare const FeatureCarousel: ({ cards, cardTitleColor, cardDescriptionVariant, cardArrowVariant, cardThumbnailBgColor, navButtonColor, indicatorColor, }: CarouselProps) => react_jsx_runtime.JSX.Element;
37
-
38
- declare const variants: readonly ["primary", "secondary"];
39
- type Variant = (typeof variants)[number];
40
- interface AddressData {
41
- title: string;
42
- phone?: string;
43
- email?: string;
44
- addressLines: string[];
45
- }
46
- interface SocialLink {
47
- icon: React.ReactNode;
48
- url: string;
49
- ariaLabel: string;
50
- }
51
- interface LegalLinkData {
52
- text: string;
53
- url: string;
54
- }
55
- interface FooterProps {
56
- logo: string;
57
- primaryButtonText: string;
58
- secondaryButtonText: string;
59
- onPrimaryClick?: () => void;
60
- onSecondaryClick?: () => void;
61
- addresses: AddressData[];
62
- socialLinks: SocialLink[];
63
- legalLinks: LegalLinkData[];
64
- copyrightText: string;
65
- variant?: Variant;
66
- primaryArrowVariant?: 'brand' | 'teal' | 'blue';
67
- primaryTextBgVariant?: 'primary' | 'secondary' | 'tertiary' | 'subtle' | 'blue' | 'brand' | 'light' | 'transparent';
68
- primaryTextVariant?: 'brand' | 'primary' | 'secondary' | 'tertiary' | 'subtle' | 'light' | 'error' | 'blue';
69
- secondaryBgVariant?: 'primary' | 'secondary' | 'tertiary' | 'subtle' | 'blue' | 'brand' | 'light' | 'transparent';
70
- secondaryTextVariant?: 'brand' | 'primary' | 'secondary' | 'tertiary' | 'subtle' | 'light' | 'error' | 'blue';
71
- }
72
- declare const Footer: {
73
- ({ logo, primaryButtonText, secondaryButtonText, onPrimaryClick, onSecondaryClick, addresses, socialLinks, legalLinks, copyrightText, variant, primaryArrowVariant, primaryTextBgVariant, primaryTextVariant, secondaryBgVariant, secondaryTextVariant, }: FooterProps): react_jsx_runtime.JSX.Element;
74
- variants: readonly ["primary", "secondary"];
75
- };
76
-
77
- type BorderColor = keyof typeof colors.border;
78
- interface HeaderProps {
79
- logo: string;
80
- primaryButtonText: string;
81
- secondaryButtonText: string;
82
- onPrimaryClick?: () => void;
83
- onSecondaryClick?: () => void;
84
- isMobileMenuOpen?: boolean;
85
- onMobileMenuToggle?: () => void;
86
- burgerVariant?: BorderColor;
87
- primaryArrowVariant?: 'brand' | 'teal' | 'blue';
88
- primaryTextBgVariant?: 'primary' | 'secondary' | 'tertiary' | 'subtle' | 'blue' | 'brand' | 'light' | 'transparent';
89
- primaryTextVariant?: 'brand' | 'primary' | 'secondary' | 'tertiary' | 'subtle' | 'light' | 'error' | 'blue';
90
- secondaryBgVariant?: 'primary' | 'secondary' | 'tertiary' | 'subtle' | 'blue' | 'brand' | 'light' | 'transparent';
91
- secondaryTextVariant?: 'brand' | 'primary' | 'secondary' | 'tertiary' | 'subtle' | 'light' | 'error' | 'blue';
92
- }
93
- declare const Header: ({ logo, primaryButtonText, secondaryButtonText, onPrimaryClick, onSecondaryClick, isMobileMenuOpen, onMobileMenuToggle, burgerVariant, primaryArrowVariant, primaryTextBgVariant, primaryTextVariant, secondaryBgVariant, secondaryTextVariant, }: HeaderProps) => react_jsx_runtime.JSX.Element;
94
-
95
- type OverviewItem = {
96
- title: string;
97
- isComplete: boolean;
98
- };
99
- type Overview = {
100
- header: string;
101
- overviewItems: OverviewItem[];
102
- };
103
- interface OverviewListProps {
104
- overviews: Overview[];
105
- }
106
- declare const OverviewList: ({ overviews }: OverviewListProps) => react_jsx_runtime.JSX.Element;
107
-
108
- type ShowToastInput = {
109
- type?: ToastType;
110
- message: string;
111
- };
112
- type ToastContextProps = {
113
- showToast: (input: ShowToastInput) => void;
114
- };
115
- declare const useToast: () => ToastContextProps;
116
- interface ToastProvider {
117
- children: ReactNode;
118
- }
119
- declare const ToastProvider: ({ children }: ToastProvider) => react_jsx_runtime.JSX.Element;
120
-
121
- interface VersionLabelProps {
122
- versionNumber: string;
123
- }
124
- declare const VersionLabel: ({ versionNumber }: VersionLabelProps) => react_jsx_runtime.JSX.Element;
125
-
126
- export { ContactForm, DocumentListAccordion, FeatureCarousel, Footer, Header, OverviewList, ToastProvider, VersionLabel, useToast };