@reapit/elements 4.0.1 → 4.0.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/README.md +15 -3
- package/dist/cjs/components/nav/__styles__/index.d.ts +1 -0
- package/dist/cjs/components/nav/nav-responsive.d.ts +1 -0
- package/dist/cjs/index.js +1 -1
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/components/nav/__styles__/index.d.ts +1 -0
- package/dist/esm/components/nav/nav-responsive.d.ts +1 -0
- package/dist/esm/index.js +1 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/index.css +56 -55
- package/package.json +29 -12
- package/scripts/cdk/bin/rpt-cdk.js +10 -0
package/README.md
CHANGED
|
@@ -1,10 +1,22 @@
|
|
|
1
1
|
# Reapit Elements
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
A React UI toolkit, with cross platform support for building web applications in the Reapit Foundations ecosystem. Written in TypeScript the library exports both React Components and a CSS Stylesheet. The package is distubuted via NPM and is available [here](https://www.npmjs.com/package/@reapit/elements).
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
   
|
|
6
|
+
|
|
7
|
+
[](https://github.com/reapit/elements/actions/workflows/test-pr.yml)
|
|
8
|
+
[](https://github.com/reapit/elements/actions/workflows/release-dev.yml)
|
|
9
|
+
[](https://github.com/reapit/elements/actions/workflows/release-prod.yml)
|
|
6
10
|
|
|
7
11
|
## Documentation
|
|
8
12
|
|
|
9
13
|
For the React Component Storybook and documentation visit [here](https://elements.reapit.cloud).
|
|
10
|
-
|
|
14
|
+
|
|
15
|
+
This project was imported from the Reapit Foundations Monorepo at version 4.0.2. The original commit history can be found [here](https://github.com/reapit/foundations/tree/%40reapit/elements_v4.0.2).
|
|
16
|
+
|
|
17
|
+
- Detailed documentation on all aspects of the Foundations platform is available [at this external link](https://foundations-documentation.reapit.cloud).
|
|
18
|
+
- If you are interested in what we are building in Elements, head to the [discussions page here](https://github.com/reapit/elements/discussions).
|
|
19
|
+
- If you want to request a feature or report a bug, please open an issue [here](https://github.com/reapit/elements/issues/new/choose). If it is accepted for development, you can track it's progress on our [backlog board](https://github.com/orgs/reapit/projects/16)
|
|
20
|
+
- If you are interested in our future roadmap, you can view [here](https://github.com/orgs/reapit/projects/16/views/2).
|
|
21
|
+
|
|
22
|
+
Please read our [disclaimer](./DISCLAIMER.md) before proceeding.
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
export declare const ElNavBg: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
|
|
3
|
+
export declare const ElNavControlsBg: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
|
|
3
4
|
export declare const ElNavContainer: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLElement> & import("react").HTMLAttributes<HTMLElement> & Record<never, unknown>>;
|
|
4
5
|
export declare const ElNavSubContainer: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
|
|
5
6
|
export declare const elNavItemSecondary: import("@linaria/core").LinariaClassName;
|
|
@@ -44,6 +44,7 @@ export interface NavResponsiveAppSwitcherProps {
|
|
|
44
44
|
export type LogoIcon = 'reapitLogoSelectedMenu' | 'reapitLogoMenu';
|
|
45
45
|
export declare const handleToggleLogo: (logoState: LogoIcon, setLogoState: Dispatch<SetStateAction<LogoIcon>>) => () => void;
|
|
46
46
|
export declare const handleToggleMenu: (setState: Dispatch<SetStateAction<boolean>>, callback?: () => void) => (event: MouseEvent<HTMLDivElement>) => void;
|
|
47
|
+
export declare const clickNavEventHandler: (setActive: Dispatch<SetStateAction<boolean>>) => (event: MouseEvent<HTMLAnchorElement | HTMLDivElement>) => void;
|
|
47
48
|
export declare const NavResponsiveAvatar: FC<NavResponsiveAvatarProps>;
|
|
48
49
|
export declare const NavResponsiveAppSwitcher: FC<NavResponsiveAppSwitcherProps>;
|
|
49
50
|
export declare const NavResponsive: FC<NavResponsiveProps>;
|