1.1.63 • Published 2 years ago

@timeling/ui v1.1.63

Weekly downloads
-
License
UNLICENSED
Repository
-
Last release
2 years ago

Timeling user interfaces (UI).

Install

Install the library

npm i @timeling/ui

And import GlobalStyles and tailwind.css in your index file:

// ... imports ...
+import { GlobalStyles } from 'twin.macro';
+import '@timeling/ui/dist/tailwind.css'

// ... some code ...
root.render(
  <React.StrictMode>
+    <GlobalStyles />
    <App />
  </React.StrictMode>
);

Relevant scripts

# install libraries
npm install

# start Storybook
npm run sb:start

# compile a static version of Storybook into the "storybook-static" folder
npm run sb:build

# check the project for syntax errors
npm run lint

# compile the library into the "dist" folder
npm run build

# publish the library to npmjs.com
npm publish

Notes:

  1. We don’t need to install TailwindCSS in order to use @timeling-ui. Simply import the CSS file from your app:
    import '@timeling/ui/dist/tailwind.css'
  2. The library uses a CDN server to load images and assets. Add the following variable to the .env file (or .env.[local|production|etc] file):
    REACT_APP_CDN=https://cdn.jsdelivr.net/gh/Timeling-LTD/timeling-assets

About the point 1. If you have already installed TailwindCSS in your project, there will probably be conflicts. To prevent this from happening replace your tailwind.config.js file by this one. (edited)

1.1.63

2 years ago

1.1.62

2 years ago

1.1.61

2 years ago

1.1.60

2 years ago

1.1.59

2 years ago

1.1.58

2 years ago

1.1.56

2 years ago

1.1.55

2 years ago

1.1.51

2 years ago

1.1.50

2 years ago

1.1.49

2 years ago

1.1.48

2 years ago

1.1.47

2 years ago

1.1.46

2 years ago

1.1.45

2 years ago

1.1.44

2 years ago

1.1.43

2 years ago

1.1.42

2 years ago

1.1.41

2 years ago

1.1.40

2 years ago

1.1.39

2 years ago

1.1.38

2 years ago

1.1.37

2 years ago

1.1.36

2 years ago

1.1.35

2 years ago

1.1.34

2 years ago

1.1.33

2 years ago

1.1.32

2 years ago

1.1.31

2 years ago

1.1.30

2 years ago

1.1.29

2 years ago

1.1.28

2 years ago

1.1.27

2 years ago

1.1.26

2 years ago

1.1.25

2 years ago

1.1.24

2 years ago

1.1.23

2 years ago

1.1.22

2 years ago

1.1.20

2 years ago

1.1.19

2 years ago

1.1.18

2 years ago

1.1.17

2 years ago

1.1.16

2 years ago

1.1.15

2 years ago

1.1.14

2 years ago

1.1.13

2 years ago

1.1.12

2 years ago

1.1.11

2 years ago

1.1.10

2 years ago

1.1.9

2 years ago

1.1.8

2 years ago

1.1.7

2 years ago

1.1.6

2 years ago

1.1.5

2 years ago

1.1.4

2 years ago

1.1.3

2 years ago

1.1.2

2 years ago

1.1.1

2 years ago

1.1.0

2 years ago

1.0.6

2 years ago

1.0.5

2 years ago