0.9.0-rc.320 • Published 6 years ago

element-customer-portal-sdk v0.9.0-rc.320

Weekly downloads
3
License
MIT
Repository
-
Last release
6 years ago

Blueprint UI components

For use with partner customer portals

Using it

This section is still work in progress.

Don't forget to register a handler that gets triggered whenever the ELEMENT backend identified that the current user is no longer authenticated (expired JWT token, invalid JWT token, ...). In the handler you should most probably redirect the user to the login screen.

import {authService} from "element-customer-portal-sdk";

authService.registerLoginRequiredHandler(() => {
    window.location.href = '/'
})

Conventions

Uses the same eslint configuration as the create-react app projects.

Building

Install dependencies

yarn install

Running the build in watch mode

yarn dev

Running tests:

yarn test

Use storybook to view the components you are building in isolation

yarn storybook

Developing components and using them directly in other projects without having to release them every time

In this repo run

yarn link

Then in the repo you want to use the current files run

yarn link element-customer-portal-sdk

Now the 2 projects are coupled together via filesystem symlinks, whenever you change something in this project make sure to have yarn dev running, so the files are automatically re-built and ready to be used in your consuming project.

0.9.0-rc.320

6 years ago

0.9.0-rc.319

6 years ago

0.9.0-rc.318

6 years ago

0.8.1-rc.311

6 years ago

0.8.0-rc.310

6 years ago

0.8.0-rc.307

6 years ago

0.7.1-rc.305

6 years ago

0.7.1-rc.304

6 years ago

0.7.0-rc.299

6 years ago

0.7.0-rc.298

6 years ago

0.6.3-rc.292

6 years ago

0.6.2-rc.291

6 years ago

0.6.2-rc.289

6 years ago

0.6.2-rc.287

6 years ago

0.6.2-rc.283

6 years ago

0.6.1-rc.278

6 years ago

0.6.1-rc.276

6 years ago

0.6.0-rc.272

6 years ago

0.6.0-rc.271

6 years ago

0.6.0-rc.268

6 years ago

0.6.0-rc.266

6 years ago

0.6.0-rc.265

6 years ago

0.6.0-rc.264

6 years ago

0.6.0-rc.263

6 years ago

0.6.0-rc.262

6 years ago

0.5.0-rc.249

6 years ago

0.5.0-rc.242

6 years ago

0.5.0-rc.240

6 years ago

0.5.0-rc.236

6 years ago

0.4.3-rc.235

6 years ago

0.4.3-rc.153

6 years ago

0.4.3-rc.152

6 years ago

0.3.3-rc.150

6 years ago

0.2.3-rc.148

6 years ago

0.2.3-rc.147

6 years ago

0.2.3-rc.146

6 years ago

0.2.3-rc.144

6 years ago

0.2.3-rc.142

6 years ago

0.2.2-rc.139

6 years ago

0.2.2-rc.138

6 years ago

0.2.2-rc.137

6 years ago

0.2.2-rc.136

6 years ago

0.2.2-rc.135

6 years ago

0.2.1-rc.134

6 years ago

0.2.0-rc.133

6 years ago

0.2.0-rc.132

6 years ago

0.2.0-rc.130

6 years ago

0.2.0-rc.129

6 years ago

0.2.0-rc.128

6 years ago

0.1.2-rc.127

6 years ago

0.1.1-rc.113

6 years ago

0.1.0-rc.109

6 years ago

0.1.0-rc.99

6 years ago

0.1.0-rc.96

6 years ago

0.1.0-rc.94

6 years ago

0.1.0-rc.91

6 years ago

0.1.0-rc.89

6 years ago

0.1.0-rc.87

6 years ago

0.1.0-rc.85

6 years ago

0.1.0-rc.84

6 years ago

0.1.0-rc.83

6 years ago

0.1.0-rc.82

6 years ago

0.1.0-rc.77

6 years ago

0.1.0-rc.73

6 years ago

0.1.0-rc.68

6 years ago

0.1.0-rc.67

6 years ago

0.1.0-rc.66

6 years ago

0.1.0-rc.63

6 years ago

0.1.0-rc.61

6 years ago

0.1.0-rc.60

6 years ago

0.1.0-rc.57

6 years ago

0.1.0-rc.55

6 years ago

0.1.0-rc.52

6 years ago

0.1.0-rc.50

6 years ago

0.1.0-rc.51

6 years ago

0.1.0-rc.49

6 years ago

0.1.0-rc.47

6 years ago

0.1.0-rc.46

6 years ago

0.1.0-rc.45

6 years ago

0.1.0-rc.44

6 years ago

0.1.0-rc.43

6 years ago

0.1.0-rc.42

6 years ago

0.1.0-rc.41

6 years ago

0.1.0-rc.39

6 years ago

0.1.0-rc.37

6 years ago

0.1.0-rc.1

6 years ago

0.0.1-rc.38

6 years ago

0.0.1-rc.37

6 years ago

0.0.1-rc.36

6 years ago

0.0.1-rc.35

6 years ago

0.0.1-rc.34

6 years ago

0.0.1-rc.2

6 years ago

0.0.1-rc.1

6 years ago

0.0.2

6 years ago