1.7.10 • Published 1 year ago

@pantheon-systems/nextjs-kit v1.7.10

Weekly downloads
-
License
GPL-3.0-or-later
Repository
github
Last release
1 year ago

Pantheon Systems Next.js Kit

The @pantheon-systems/nextjs-kit is a collection of utilities and Next.js components for use in a Pantheon Decoupled Site built with Next.js.

Installation

To install this package to use in your application:

npm install @pantheon-systems/nextjs-kit

Usage

@pantheon-systems/nextjs-kit is available as an ES or UMD module. The ES module includes submodules. Components use default exports while utilities use named exports. If using ES Modules import the submodules directly. Otherwise, all imports will be from @pantheon-systems/nextjs-kit

To import a component:

// ES Modules
import Component from '@pantheon-systems/nextjs-kit/component';
// UMD
import Component from '@pantheon-systems/nextjs-kit';

To import a helper utility:

// ES Modules
import { utility } from '@pantheon-systems/nextjs-kit/utility';
// UMD
import { utility } from '@pantheon-systems/nextjs-kit';

Contributing

  • Components should be created in the src/components folder and should include a default export.
  • Utilities for use in a Next.js app should be created in the src/lib directory and should include named AND default exports.
  • Utilities for use in this Library that are not exposed as part of the API should be created in the utils directory
  • There are multiple entry points for building the library. Follow the established pattern to maintain proper code splitting and module resolution.

Please see the Contributing guide in our monorepo to contribute to the project.

1.7.11-canary.0

1 year ago

1.7.10

1 year ago

1.7.10-canary.0

1 year ago

1.7.9

1 year ago

1.7.9-canary.0

1 year ago

1.7.8-canary.0

2 years ago

1.7.8

2 years ago

1.7.7

2 years ago

1.7.6

2 years ago

1.7.5

2 years ago

1.7.7-canary.1

2 years ago

1.7.7-canary.0

2 years ago

1.7.5-canary.0

2 years ago

1.7.6-canary.0

2 years ago

1.7.3

2 years ago

1.7.3-canary.3

2 years ago

1.7.3-canary.2

2 years ago

1.7.3-canary.1

2 years ago

1.7.3-canary.0

2 years ago

1.7.4

2 years ago

1.7.4-canary.0

2 years ago

1.7.2-canary.0

2 years ago

1.7.2

2 years ago

1.7.1

2 years ago

1.7.1-canary.0

2 years ago

1.7.0

2 years ago

1.6.0

3 years ago

1.7.0-canary.0

2 years ago

1.6.0-canary.1

3 years ago

1.6.0-canary.2

3 years ago

1.5.0

3 years ago

1.5.0-canary.0

3 years ago

1.6.0-canary.0

3 years ago

1.2.0

3 years ago

1.4.0-canary.2

3 years ago

1.2.0-canary.1

3 years ago

1.2.0-canary.0

3 years ago

1.3.0-canary.0

3 years ago

1.4.0

3 years ago

1.3.0

3 years ago

1.3.1-canary.0

3 years ago

1.3.0-canary.1

3 years ago

1.4.0-canary.1

3 years ago

1.0.1-canary.0

3 years ago

1.1.0

3 years ago

1.0.0

3 years ago

1.0.0-canary.1

3 years ago

1.1.0-canary.2

3 years ago

1.1.0-canary.1

3 years ago

0.1.1-canary.0

3 years ago

0.1.0

3 years ago