ece-docs-components 1.0.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.
Files changed (57) hide show
  1. package/dist/ThemeProvider.d.ts +19 -0
  2. package/dist/ThemeProvider.d.ts.map +1 -0
  3. package/dist/components/ActionButton.d.ts +12 -0
  4. package/dist/components/ActionButton.d.ts.map +1 -0
  5. package/dist/components/Alert.d.ts +12 -0
  6. package/dist/components/Alert.d.ts.map +1 -0
  7. package/dist/components/Breadcrumb.d.ts +14 -0
  8. package/dist/components/Breadcrumb.d.ts.map +1 -0
  9. package/dist/components/Button.d.ts +9 -0
  10. package/dist/components/Button.d.ts.map +1 -0
  11. package/dist/components/Card.d.ts +12 -0
  12. package/dist/components/Card.d.ts.map +1 -0
  13. package/dist/components/Checkbox.d.ts +9 -0
  14. package/dist/components/Checkbox.d.ts.map +1 -0
  15. package/dist/components/Concertina.d.ts +11 -0
  16. package/dist/components/Concertina.d.ts.map +1 -0
  17. package/dist/components/DefinitionBox.d.ts +9 -0
  18. package/dist/components/DefinitionBox.d.ts.map +1 -0
  19. package/dist/components/Header.d.ts +8 -0
  20. package/dist/components/Header.d.ts.map +1 -0
  21. package/dist/components/Input.d.ts +8 -0
  22. package/dist/components/Input.d.ts.map +1 -0
  23. package/dist/components/Modal.d.ts +20 -0
  24. package/dist/components/Modal.d.ts.map +1 -0
  25. package/dist/components/NoteBox.d.ts +11 -0
  26. package/dist/components/NoteBox.d.ts.map +1 -0
  27. package/dist/components/Progress.d.ts +16 -0
  28. package/dist/components/Progress.d.ts.map +1 -0
  29. package/dist/components/Radio.d.ts +15 -0
  30. package/dist/components/Radio.d.ts.map +1 -0
  31. package/dist/components/ReadBy.d.ts +7 -0
  32. package/dist/components/ReadBy.d.ts.map +1 -0
  33. package/dist/components/Select.d.ts +20 -0
  34. package/dist/components/Select.d.ts.map +1 -0
  35. package/dist/components/Sidebar.d.ts +11 -0
  36. package/dist/components/Sidebar.d.ts.map +1 -0
  37. package/dist/components/SimpleModal.d.ts +10 -0
  38. package/dist/components/SimpleModal.d.ts.map +1 -0
  39. package/dist/components/StatusBar.d.ts +10 -0
  40. package/dist/components/StatusBar.d.ts.map +1 -0
  41. package/dist/components/TableOfContents.d.ts +12 -0
  42. package/dist/components/TableOfContents.d.ts.map +1 -0
  43. package/dist/components/Tabs.d.ts +13 -0
  44. package/dist/components/Tabs.d.ts.map +1 -0
  45. package/dist/components/Toggle.d.ts +9 -0
  46. package/dist/components/Toggle.d.ts.map +1 -0
  47. package/dist/components/index.d.ts +23 -0
  48. package/dist/components/index.d.ts.map +1 -0
  49. package/dist/index.d.ts +6 -0
  50. package/dist/index.d.ts.map +1 -0
  51. package/dist/index.esm.js +1862 -0
  52. package/dist/index.esm.js.map +1 -0
  53. package/dist/index.js +1908 -0
  54. package/dist/index.js.map +1 -0
  55. package/dist/theme-types.d.ts +40 -0
  56. package/dist/theme-types.d.ts.map +1 -0
  57. package/package.json +46 -0
@@ -0,0 +1,19 @@
1
+ import * as React from 'react';
2
+ import './theme-types';
3
+ export declare const muiThemes: {
4
+ default: import("@mui/material").Theme;
5
+ school: import("@mui/material").Theme;
6
+ health: import("@mui/material").Theme;
7
+ };
8
+ export type ThemeKey = keyof typeof muiThemes;
9
+ interface ThemeContextType {
10
+ currentTheme: ThemeKey;
11
+ setTheme: (theme: ThemeKey) => void;
12
+ theme: typeof muiThemes[ThemeKey];
13
+ }
14
+ export declare const ThemeProvider: React.FC<{
15
+ children: React.ReactNode;
16
+ }>;
17
+ export declare const useTheme: () => ThemeContextType;
18
+ export {};
19
+ //# sourceMappingURL=ThemeProvider.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ThemeProvider.d.ts","sourceRoot":"","sources":["../src/ThemeProvider.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,eAAe,CAAC;AAgCvB,eAAO,MAAM,SAAS;;;;CAsDrB,CAAC;AAEF,MAAM,MAAM,QAAQ,GAAG,MAAM,OAAO,SAAS,CAAC;AAE9C,UAAU,gBAAgB;IACxB,YAAY,EAAE,QAAQ,CAAC;IACvB,QAAQ,EAAE,CAAC,KAAK,EAAE,QAAQ,KAAK,IAAI,CAAC;IACpC,KAAK,EAAE,OAAO,SAAS,CAAC,QAAQ,CAAC,CAAC;CACnC;AAID,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC;IAAE,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAA;CAAE,CAUjE,CAAC;AAEF,eAAO,MAAM,QAAQ,wBAMpB,CAAC"}
@@ -0,0 +1,12 @@
1
+ import React from 'react';
2
+ import { SxProps, Theme } from '@mui/material';
3
+ import { SvgIconComponent } from '@mui/icons-material';
4
+ interface ActionButtonProps {
5
+ icon: SvgIconComponent;
6
+ onClick?: () => void;
7
+ label?: string;
8
+ sx?: SxProps<Theme>;
9
+ }
10
+ export declare const ActionButton: React.FC<ActionButtonProps>;
11
+ export {};
12
+ //# sourceMappingURL=ActionButton.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ActionButton.d.ts","sourceRoot":"","sources":["../../src/components/ActionButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAsB,OAAO,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AACnE,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAEvD,UAAU,iBAAiB;IACzB,IAAI,EAAE,gBAAgB,CAAC;IACvB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,EAAE,CAAC,EAAE,OAAO,CAAC,KAAK,CAAC,CAAC;CACrB;AAsBD,eAAO,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,iBAAiB,CAepD,CAAC"}
@@ -0,0 +1,12 @@
1
+ import React from 'react';
2
+ import { SxProps, Theme } from '@mui/material';
3
+ interface AlertProps {
4
+ variant?: 'info' | 'success' | 'warning' | 'error' | 'custom';
5
+ children: React.ReactNode;
6
+ className?: string;
7
+ icon?: boolean;
8
+ sx?: SxProps<Theme>;
9
+ }
10
+ export declare const Alert: React.FC<AlertProps>;
11
+ export {};
12
+ //# sourceMappingURL=Alert.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Alert.d.ts","sourceRoot":"","sources":["../../src/components/Alert.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAA0D,OAAO,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAIvG,UAAU,UAAU;IAClB,OAAO,CAAC,EAAE,MAAM,GAAG,SAAS,GAAG,SAAS,GAAG,OAAO,GAAG,QAAQ,CAAC;IAC9D,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,EAAE,CAAC,EAAE,OAAO,CAAC,KAAK,CAAC,CAAC;CACrB;AAyDD,eAAO,MAAM,KAAK,EAAE,KAAK,CAAC,EAAE,CAAC,UAAU,CAkCtC,CAAC"}
@@ -0,0 +1,14 @@
1
+ import React from 'react';
2
+ interface BreadcrumbItem {
3
+ label: string;
4
+ href?: string;
5
+ }
6
+ interface BreadcrumbProps {
7
+ items: BreadcrumbItem[];
8
+ currentItem: string;
9
+ dropdownItems?: string[];
10
+ onItemSelect?: (item: string) => void;
11
+ }
12
+ export declare const Breadcrumb: React.FC<BreadcrumbProps>;
13
+ export {};
14
+ //# sourceMappingURL=Breadcrumb.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Breadcrumb.d.ts","sourceRoot":"","sources":["../../src/components/Breadcrumb.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAKxC,UAAU,cAAc;IACtB,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED,UAAU,eAAe;IACvB,KAAK,EAAE,cAAc,EAAE,CAAC;IACxB,WAAW,EAAE,MAAM,CAAC;IACpB,aAAa,CAAC,EAAE,MAAM,EAAE,CAAC;IACzB,YAAY,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;CACvC;AAoED,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,CAmHhD,CAAC"}
@@ -0,0 +1,9 @@
1
+ import React from 'react';
2
+ import { ButtonProps as MuiButtonProps } from '@mui/material';
3
+ interface CustomButtonProps extends Omit<MuiButtonProps, 'variant' | 'size'> {
4
+ variant?: 'primary' | 'secondary' | 'outline' | 'marked-read' | 'mark-read' | 'danger';
5
+ size?: 'sm' | 'md' | 'lg';
6
+ }
7
+ export declare const Button: React.FC<CustomButtonProps>;
8
+ export {};
9
+ //# sourceMappingURL=Button.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Button.d.ts","sourceRoot":"","sources":["../../src/components/Button.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAuB,WAAW,IAAI,cAAc,EAAE,MAAM,eAAe,CAAC;AAGnF,UAAU,iBAAkB,SAAQ,IAAI,CAAC,cAAc,EAAE,SAAS,GAAG,MAAM,CAAC;IAC1E,OAAO,CAAC,EAAE,SAAS,GAAG,WAAW,GAAG,SAAS,GAAG,aAAa,GAAG,WAAW,GAAG,QAAQ,CAAC;IACvF,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;CAC3B;AAwGD,eAAO,MAAM,MAAM,EAAE,KAAK,CAAC,EAAE,CAAC,iBAAiB,CAmB9C,CAAC"}
@@ -0,0 +1,12 @@
1
+ import React from 'react';
2
+ import { SxProps, Theme } from '@mui/material';
3
+ interface CardProps {
4
+ children: React.ReactNode;
5
+ className?: string;
6
+ padding?: 'none' | 'sm' | 'md' | 'lg';
7
+ variant?: 'default' | 'bordered' | 'elevated';
8
+ sx?: SxProps<Theme>;
9
+ }
10
+ export declare const Card: React.FC<CardProps>;
11
+ export {};
12
+ //# sourceMappingURL=Card.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Card.d.ts","sourceRoot":"","sources":["../../src/components/Card.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAe,OAAO,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAE5D,UAAU,SAAS;IACjB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IACtC,OAAO,CAAC,EAAE,SAAS,GAAG,UAAU,GAAG,UAAU,CAAC;IAC9C,EAAE,CAAC,EAAE,OAAO,CAAC,KAAK,CAAC,CAAC;CACrB;AAsCD,eAAO,MAAM,IAAI,EAAE,KAAK,CAAC,EAAE,CAAC,SAAS,CAiBpC,CAAC"}
@@ -0,0 +1,9 @@
1
+ import React from 'react';
2
+ import { CheckboxProps } from '@mui/material';
3
+ interface CustomCheckboxProps extends CheckboxProps {
4
+ label: string;
5
+ description?: string;
6
+ }
7
+ export declare const Checkbox: React.FC<CustomCheckboxProps>;
8
+ export {};
9
+ //# sourceMappingURL=Checkbox.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Checkbox.d.ts","sourceRoot":"","sources":["../../src/components/Checkbox.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAgC,aAAa,EAAwC,MAAM,eAAe,CAAC;AAElH,UAAU,mBAAoB,SAAQ,aAAa;IACjD,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAmCD,eAAO,MAAM,QAAQ,EAAE,KAAK,CAAC,EAAE,CAAC,mBAAmB,CA2BlD,CAAC"}
@@ -0,0 +1,11 @@
1
+ interface ConcertinaSection {
2
+ id: string;
3
+ title: string;
4
+ content: string;
5
+ }
6
+ interface ConcertinaProps {
7
+ sections: ConcertinaSection[];
8
+ }
9
+ export declare function Concertina({ sections }: ConcertinaProps): import("react/jsx-runtime").JSX.Element;
10
+ export {};
11
+ //# sourceMappingURL=Concertina.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Concertina.d.ts","sourceRoot":"","sources":["../../src/components/Concertina.tsx"],"names":[],"mappings":"AAIA,UAAU,iBAAiB;IACzB,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,UAAU,eAAe;IACvB,QAAQ,EAAE,iBAAiB,EAAE,CAAC;CAC/B;AAmID,wBAAgB,UAAU,CAAC,EAAE,QAAQ,EAAE,EAAE,eAAe,2CAiEvD"}
@@ -0,0 +1,9 @@
1
+ import React from 'react';
2
+ interface DefinitionBoxProps {
3
+ term: string;
4
+ definition: string;
5
+ children: React.ReactNode;
6
+ }
7
+ export declare function DefinitionBox({ term, definition, children }: DefinitionBoxProps): import("react/jsx-runtime").JSX.Element;
8
+ export {};
9
+ //# sourceMappingURL=DefinitionBox.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DefinitionBox.d.ts","sourceRoot":"","sources":["../../src/components/DefinitionBox.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAKxC,UAAU,kBAAkB;IAC1B,IAAI,EAAE,MAAM,CAAC;IACb,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B;AAyDD,wBAAgB,aAAa,CAAC,EAAE,IAAI,EAAE,UAAU,EAAE,QAAQ,EAAE,EAAE,kBAAkB,2CAgD/E"}
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ interface HeaderProps {
3
+ userName?: string;
4
+ userInitials?: string;
5
+ }
6
+ export declare const Header: React.FC<HeaderProps>;
7
+ export {};
8
+ //# sourceMappingURL=Header.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Header.d.ts","sourceRoot":"","sources":["../../src/components/Header.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,UAAU,WAAW;IACnB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AA8KD,eAAO,MAAM,MAAM,EAAE,KAAK,CAAC,EAAE,CAAC,WAAW,CAwCxC,CAAC"}
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ import { TextFieldProps } from '@mui/material';
3
+ interface InputProps extends Omit<TextFieldProps, 'variant' | 'error'> {
4
+ error?: string;
5
+ }
6
+ export declare const Input: React.FC<InputProps>;
7
+ export {};
8
+ //# sourceMappingURL=Input.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Input.d.ts","sourceRoot":"","sources":["../../src/components/Input.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAqB,cAAc,EAAc,MAAM,eAAe,CAAC;AAE9E,UAAU,UAAW,SAAQ,IAAI,CAAC,cAAc,EAAE,SAAS,GAAG,OAAO,CAAC;IACpE,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAqED,eAAO,MAAM,KAAK,EAAE,KAAK,CAAC,EAAE,CAAC,UAAU,CA2BtC,CAAC"}
@@ -0,0 +1,20 @@
1
+ import React from 'react';
2
+ interface ModalProps {
3
+ isOpen: boolean;
4
+ onClose: () => void;
5
+ status: 'mandatory' | 'optional' | 'accepted' | 'action-required' | 'action-required-note' | 'accepted-note';
6
+ description: string;
7
+ defaultText: string;
8
+ note?: string;
9
+ acceptSuggestion?: boolean;
10
+ onAcceptSuggestionChange?: (checked: boolean) => void;
11
+ onSave?: () => void;
12
+ onSubmit?: () => void;
13
+ onPrevious?: () => void;
14
+ onNext?: () => void;
15
+ currentPage?: number;
16
+ totalPages?: number;
17
+ }
18
+ export declare const Modal: React.FC<ModalProps>;
19
+ export {};
20
+ //# sourceMappingURL=Modal.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Modal.d.ts","sourceRoot":"","sources":["../../src/components/Modal.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAiBxC,UAAU,UAAU;IAClB,MAAM,EAAE,OAAO,CAAC;IAChB,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,MAAM,EAAE,WAAW,GAAG,UAAU,GAAG,UAAU,GAAG,iBAAiB,GAAG,sBAAsB,GAAG,eAAe,CAAC;IAC7G,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,EAAE,MAAM,CAAC;IACpB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,wBAAwB,CAAC,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,IAAI,CAAC;IACtD,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;IACpB,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IACtB,UAAU,CAAC,EAAE,MAAM,IAAI,CAAC;IACxB,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;IACpB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAsBD,eAAO,MAAM,KAAK,EAAE,KAAK,CAAC,EAAE,CAAC,UAAU,CAsMtC,CAAC"}
@@ -0,0 +1,11 @@
1
+ import React from 'react';
2
+ interface NoteBoxProps {
3
+ variant?: 'default' | 'mandatory' | 'optional' | 'pending' | 'accepted' | 'action-required' | 'custom';
4
+ label?: string;
5
+ children: React.ReactNode;
6
+ className?: string;
7
+ onEditClick?: () => void;
8
+ }
9
+ export declare const NoteBox: React.FC<NoteBoxProps>;
10
+ export {};
11
+ //# sourceMappingURL=NoteBox.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"NoteBox.d.ts","sourceRoot":"","sources":["../../src/components/NoteBox.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAIxC,UAAU,YAAY;IACpB,OAAO,CAAC,EAAE,SAAS,GAAG,WAAW,GAAG,UAAU,GAAG,SAAS,GAAG,UAAU,GAAG,iBAAiB,GAAG,QAAQ,CAAC;IACvG,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,IAAI,CAAC;CAC1B;AAmDD,eAAO,MAAM,OAAO,EAAE,KAAK,CAAC,EAAE,CAAC,YAAY,CAoG1C,CAAC"}
@@ -0,0 +1,16 @@
1
+ import React from 'react';
2
+ interface ProgressProps {
3
+ current: number;
4
+ total: number;
5
+ showLabel?: boolean;
6
+ className?: string;
7
+ }
8
+ export declare const Progress: React.FC<ProgressProps>;
9
+ interface StepIndicatorProps {
10
+ steps: string[];
11
+ currentStep: number;
12
+ className?: string;
13
+ }
14
+ export declare const StepIndicator: React.FC<StepIndicatorProps>;
15
+ export {};
16
+ //# sourceMappingURL=Progress.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Progress.d.ts","sourceRoot":"","sources":["../../src/components/Progress.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,UAAU,aAAa;IACrB,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAaD,eAAO,MAAM,QAAQ,EAAE,KAAK,CAAC,EAAE,CAAC,aAAa,CAuB5C,CAAC;AAEF,UAAU,kBAAkB;IAC1B,KAAK,EAAE,MAAM,EAAE,CAAC;IAChB,WAAW,EAAE,MAAM,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AA0CD,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,kBAAkB,CAiDtD,CAAC"}
@@ -0,0 +1,15 @@
1
+ import React from 'react';
2
+ interface RadioProps extends React.InputHTMLAttributes<HTMLInputElement> {
3
+ label: string;
4
+ description?: string;
5
+ }
6
+ export declare const Radio: React.FC<RadioProps>;
7
+ interface RadioGroupProps {
8
+ label?: string;
9
+ error?: string;
10
+ children: React.ReactNode;
11
+ className?: string;
12
+ }
13
+ export declare const RadioGroup: React.FC<RadioGroupProps>;
14
+ export {};
15
+ //# sourceMappingURL=Radio.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Radio.d.ts","sourceRoot":"","sources":["../../src/components/Radio.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,UAAU,UAAW,SAAQ,KAAK,CAAC,mBAAmB,CAAC,gBAAgB,CAAC;IACtE,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAcD,eAAO,MAAM,KAAK,EAAE,KAAK,CAAC,EAAE,CAAC,UAAU,CAsEtC,CAAC;AAEF,UAAU,eAAe;IACvB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,CA0ChD,CAAC"}
@@ -0,0 +1,7 @@
1
+ import React from 'react';
2
+ interface ReadByProps {
3
+ names: string[];
4
+ }
5
+ export declare const ReadBy: React.FC<ReadByProps>;
6
+ export {};
7
+ //# sourceMappingURL=ReadBy.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ReadBy.d.ts","sourceRoot":"","sources":["../../src/components/ReadBy.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAKxC,UAAU,WAAW;IACnB,KAAK,EAAE,MAAM,EAAE,CAAC;CACjB;AAgCD,eAAO,MAAM,MAAM,EAAE,KAAK,CAAC,EAAE,CAAC,WAAW,CAiDxC,CAAC"}
@@ -0,0 +1,20 @@
1
+ import React from 'react';
2
+ interface SelectProps {
3
+ label?: string;
4
+ error?: string;
5
+ helperText?: string;
6
+ fullWidth?: boolean;
7
+ options: {
8
+ value: string;
9
+ label: string;
10
+ }[];
11
+ value?: string;
12
+ onChange?: (event: React.ChangeEvent<HTMLSelectElement>) => void;
13
+ disabled?: boolean;
14
+ className?: string;
15
+ id?: string;
16
+ name?: string;
17
+ }
18
+ export declare const Select: React.FC<SelectProps>;
19
+ export {};
20
+ //# sourceMappingURL=Select.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Select.d.ts","sourceRoot":"","sources":["../../src/components/Select.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,UAAU,WAAW;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,OAAO,EAAE;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE,EAAE,CAAC;IAC5C,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC,WAAW,CAAC,iBAAiB,CAAC,KAAK,IAAI,CAAC;IACjE,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AA2CD,eAAO,MAAM,MAAM,EAAE,KAAK,CAAC,EAAE,CAAC,WAAW,CAyGxC,CAAC"}
@@ -0,0 +1,11 @@
1
+ import React from 'react';
2
+ interface SidebarProps {
3
+ isOpen: boolean;
4
+ onToggle: () => void;
5
+ centreName?: string;
6
+ activePage?: string;
7
+ onPageChange?: (pageId: string) => void;
8
+ }
9
+ export declare const Sidebar: React.FC<SidebarProps>;
10
+ export {};
11
+ //# sourceMappingURL=Sidebar.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Sidebar.d.ts","sourceRoot":"","sources":["../../src/components/Sidebar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAKxC,UAAU,YAAY;IACpB,MAAM,EAAE,OAAO,CAAC;IAChB,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,YAAY,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;CACzC;AAwED,eAAO,MAAM,OAAO,EAAE,KAAK,CAAC,EAAE,CAAC,YAAY,CA8R1C,CAAC"}
@@ -0,0 +1,10 @@
1
+ import React from 'react';
2
+ interface SimpleModalProps {
3
+ isOpen: boolean;
4
+ onClose: () => void;
5
+ title: string;
6
+ children: React.ReactNode;
7
+ }
8
+ export declare const SimpleModal: React.FC<SimpleModalProps>;
9
+ export {};
10
+ //# sourceMappingURL=SimpleModal.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SimpleModal.d.ts","sourceRoot":"","sources":["../../src/components/SimpleModal.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,UAAU,gBAAgB;IACxB,MAAM,EAAE,OAAO,CAAC;IAChB,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B;AA8BD,eAAO,MAAM,WAAW,EAAE,KAAK,CAAC,EAAE,CAAC,gBAAgB,CA2BlD,CAAC"}
@@ -0,0 +1,10 @@
1
+ import React from 'react';
2
+ interface StatusBarProps {
3
+ itemCount: number;
4
+ variant: 'actionstarted' | 'noaction';
5
+ onTailorClick?: () => void;
6
+ onNextClick?: () => void;
7
+ }
8
+ export declare const StatusBar: React.FC<StatusBarProps>;
9
+ export {};
10
+ //# sourceMappingURL=StatusBar.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"StatusBar.d.ts","sourceRoot":"","sources":["../../src/components/StatusBar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,UAAU,cAAc;IACtB,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,EAAE,eAAe,GAAG,UAAU,CAAC;IACtC,aAAa,CAAC,EAAE,MAAM,IAAI,CAAC;IAC3B,WAAW,CAAC,EAAE,MAAM,IAAI,CAAC;CAC1B;AA6CD,eAAO,MAAM,SAAS,EAAE,KAAK,CAAC,EAAE,CAAC,cAAc,CA2D9C,CAAC"}
@@ -0,0 +1,12 @@
1
+ import React from 'react';
2
+ interface Section {
3
+ id: string;
4
+ title: string;
5
+ }
6
+ interface TableOfContentsProps {
7
+ sections: Section[];
8
+ activeSection?: string;
9
+ }
10
+ export declare const TableOfContents: React.FC<TableOfContentsProps>;
11
+ export {};
12
+ //# sourceMappingURL=TableOfContents.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TableOfContents.d.ts","sourceRoot":"","sources":["../../src/components/TableOfContents.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,UAAU,OAAO;IACf,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;CACf;AAED,UAAU,oBAAoB;IAC5B,QAAQ,EAAE,OAAO,EAAE,CAAC;IACpB,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB;AA+CD,eAAO,MAAM,eAAe,EAAE,KAAK,CAAC,EAAE,CAAC,oBAAoB,CAmC1D,CAAC"}
@@ -0,0 +1,13 @@
1
+ import React from 'react';
2
+ interface Tab {
3
+ id: string;
4
+ label: string;
5
+ content: React.ReactNode;
6
+ }
7
+ interface TabsProps {
8
+ tabs: Tab[];
9
+ defaultTab?: string;
10
+ }
11
+ export declare const Tabs: React.FC<TabsProps>;
12
+ export {};
13
+ //# sourceMappingURL=Tabs.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Tabs.d.ts","sourceRoot":"","sources":["../../src/components/Tabs.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAIxC,UAAU,GAAG;IACX,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,KAAK,CAAC,SAAS,CAAC;CAC1B;AAED,UAAU,SAAS;IACjB,IAAI,EAAE,GAAG,EAAE,CAAC;IACZ,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AA0ED,eAAO,MAAM,IAAI,EAAE,KAAK,CAAC,EAAE,CAAC,SAAS,CAyEpC,CAAC"}
@@ -0,0 +1,9 @@
1
+ import React from 'react';
2
+ interface ToggleProps {
3
+ label?: string;
4
+ checked?: boolean;
5
+ onChange?: (checked: boolean) => void;
6
+ }
7
+ export declare const Toggle: React.FC<ToggleProps>;
8
+ export {};
9
+ //# sourceMappingURL=Toggle.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Toggle.d.ts","sourceRoot":"","sources":["../../src/components/Toggle.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAGxC,UAAU,WAAW;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,QAAQ,CAAC,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,IAAI,CAAC;CACvC;AAuCD,eAAO,MAAM,MAAM,EAAE,KAAK,CAAC,EAAE,CAAC,WAAW,CAiCxC,CAAC"}
@@ -0,0 +1,23 @@
1
+ export { Button } from './Button';
2
+ export { Input } from './Input';
3
+ export { Card } from './Card';
4
+ export { Select } from './Select';
5
+ export { Radio, RadioGroup } from './Radio';
6
+ export { Checkbox } from './Checkbox';
7
+ export { Progress, StepIndicator } from './Progress';
8
+ export { Alert } from './Alert';
9
+ export { NoteBox } from './NoteBox';
10
+ export { Modal } from './Modal';
11
+ export { Concertina } from './Concertina';
12
+ export { ReadBy } from './ReadBy';
13
+ export { StatusBar } from './StatusBar';
14
+ export { Tabs } from './Tabs';
15
+ export { Sidebar } from './Sidebar';
16
+ export { Header } from './Header';
17
+ export { TableOfContents } from './TableOfContents';
18
+ export { Toggle } from './Toggle';
19
+ export { SimpleModal } from './SimpleModal';
20
+ export { ActionButton } from './ActionButton';
21
+ export { DefinitionBox } from './DefinitionBox';
22
+ export { Breadcrumb } from './Breadcrumb';
23
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/components/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAC9B,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,OAAO,EAAE,KAAK,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAC5C,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,QAAQ,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AACrD,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAC9B,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC"}
@@ -0,0 +1,6 @@
1
+ import './theme-types';
2
+ export { ThemeProvider, useTheme } from './ThemeProvider';
3
+ export { muiThemes } from './ThemeProvider';
4
+ export type { ThemeKey } from './ThemeProvider';
5
+ export * from './components';
6
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,eAAe,CAAC;AAGvB,OAAO,EAAE,aAAa,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAG1D,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAG5C,YAAY,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAEhD,cAAc,cAAc,CAAC"}