1.1.13 • Published 8 days ago

@avaya/neo-react v1.1.13

Weekly downloads
-
License
SEE LICENSE IN LI...
Repository
github
Last release
8 days ago

Netlify Status github workflow status npm version

Coverage lines Coverage functions Coverage branches Coverage statements

Neo React Component Library

This is the react version of the shared library called "NEO" buit by Avaya (storybook site)

Install

npm i @avaya/neo-react
yarn add @avaya/neo-react
pnpm add @avaya/neo-react

Example Usage

At the root of your application, import the CSS styles via:

import "@avaya/neo-react/avaya-neo-react.css";

Then, simply import the component(s) that you'd like to use, see the documentation site for more examples.

import { IconNamesType, NoContent } from "@avaya/neo-react";

export const Example = () => {
  const agentIconName: IconNamesType = "agent";
  return <NoContent icon={agentIconName} text={"Agent has no content"} />;
};

NOTE: if you are using Astro, add the following to your astro.config.mjs (link to Astro docs on "why" to do this):

export default defineConfig({
  vite: {
    ssr: {
      noExternal: ["avaya-neo-react"],
    },
  },
});

NOTE: The Neo CSS Library is included with the Neo React Library. If you install the Neo React Library, you do not need to install or import from the CSS Library.

Project Recommendations

Vite w/ TS

This team has experience building projects (both apps and libraries) using CRA (create-react-app), Vite, Webpack, Parcel, and Rollup. Of those, we recommend using Vite to build out brand new projects. Vite has shown itself to be not only a faster build tool, but also to be a better DX (Developer eXperience) due to its excellent documentation and intelligent defaults. See this article for some further details on those points.

Example app creation with Vite using React+TS: pnpm create vite my-react-ts-app --template react-ts

This team also has experience building projects with the package managers NPM, Yarn (classic), and PNPM. Of the three, we have had good experiences with both Yarn (classic) and PNPM and recommend either of those.

Adding to this library

If you would like to contribute to this project, you can start in our how to dev doc

other readme files

License

Copyright 2020-2024 Avaya Inc. All Rights Reserved.

1.1.13

8 days ago

1.1.13-beta.0

8 days ago

1.1.12

10 days ago

1.1.11

22 days ago

1.1.10

1 month ago

1.1.9

2 months ago

1.1.8

2 months ago

1.1.6-beta1

2 months ago

1.1.6-beta2

2 months ago

1.1.6-beta3

2 months ago

1.1.7

2 months ago

1.1.6

2 months ago

1.1.5

3 months ago

1.1.4

3 months ago

1.1.3

3 months ago

1.1.2

3 months ago

1.1.1

3 months ago

1.1.0

3 months ago

1.0.10-beta1

3 months ago

1.0.10

3 months ago

1.0.9

4 months ago

1.0.8

5 months ago

1.0.7

5 months ago

1.0.6

5 months ago

1.0.5

5 months ago

1.0.2

8 months ago

0.8.9

9 months ago

1.0.1

8 months ago

1.0.3-alpha

7 months ago

1.0.0

8 months ago

1.0.4

7 months ago

1.0.3

7 months ago

1.0.3-alpha2

7 months ago

1.0.3-beta

7 months ago

1.0.3-dcahbeta

7 months ago

0.8.8

12 months ago

0.8.7

12 months ago

0.8.6

1 year ago

0.8.5

1 year ago

0.8.4

1 year ago

0.8.1

1 year ago

0.8.3

1 year ago

0.8.2

1 year ago

0.7.19

1 year ago

0.7.18

1 year ago

0.7.15

1 year ago

0.7.14

1 year ago

0.7.17

1 year ago

0.7.16

1 year ago

0.8.0

1 year ago

0.7.3-1

2 years ago

0.7.4

2 years ago

0.7.11

1 year ago

0.7.10

1 year ago

0.7.9

1 year ago

0.7.13

1 year ago

0.7.12

1 year ago

0.7.6

1 year ago

0.7.5

2 years ago

0.7.8

1 year ago

0.7.7

1 year ago

0.7.2

2 years ago

0.7.3

2 years ago

0.5.8

2 years ago

0.5.7

2 years ago

0.5.9

2 years ago

0.5.6-alpha.8

2 years ago

0.5.6-alpha.9

2 years ago

0.5.6-react18-1

2 years ago

0.5.8-1

2 years ago

0.5.8-2

2 years ago

0.7.1

2 years ago

0.5.6-alpha.11

2 years ago

0.5.6-alpha.12

2 years ago

0.7.0

2 years ago

0.6.0

2 years ago

0.5.6-alpha.10

2 years ago

0.5.6-alpha.1

2 years ago

0.5.6-alpha.2

2 years ago

0.5.6-alpha.3

2 years ago

0.5.6-alpha.4

2 years ago

0.5.6-alpha.5

2 years ago

0.5.3-beta.1

2 years ago

0.5.6-alpha.6

2 years ago

0.5.6-alpha.7

2 years ago

0.5.4

2 years ago

0.5.3

2 years ago

0.5.6

2 years ago

0.5.5

2 years ago

0.5.0

2 years ago

0.5.2

2 years ago

0.5.1

2 years ago

0.3.0

2 years ago

0.2.1

2 years ago

0.1.2

2 years ago

0.2.0

2 years ago

0.1.1

2 years ago

0.1.0

2 years ago

0.0.2

3 years ago