0.3.15 • Published 7 months ago

@totango-app-team/totango-ui v0.3.15

Weekly downloads
-
License
-
Repository
-
Last release
7 months ago

Totango UI Library

//TODO: Migrate to this in the future: https://github.com/web-infra-dev/rslib

This project is a React component library built with TypeScript, Vite, and Material-UI. It provides a set of reusable UI components and utilities for building Totango applications.

Features

  • React components built with Material-UI
  • TypeScript support
  • Vite for fast development and building
  • Storybook for component documentation and testing
  • Modular exports for flexible usage

Getting Started

Running Storybook

To start Storybook and view the component documentation:

  1. Make sure you have all dependencies installed:

    npm install
  2. Run the following command:

    npm run storybook
  3. Open your browser and navigate to http://localhost:6006 to view the Storybook interface.

Local Development with other Repos:

  1. Run the following command to start vite in watch mode:

    npm run build:watch
  2. Create a link to the library in the other repo:

    npm link
  3. Run the following command in the other repo to link to the library:

    npm link @totango-app-team/totango-ui

Using the UI Library

To use the UI library in your project, follow these steps:

  1. Install the library:

    npm install @totango-app-team/totango-ui
  2. Import the theme first thing in your entry file (before your app root):

    import { ThemeProvider } from '@totango-app-team/totango-ui/themes';
  3. You can then import and use the components in your project from the corresponding folder it's exported from:

    import { Button } from '@totango-app-team/totango-ui/ui';
  4. If you want to use the core components from MUI that haven't been modified (like ThemeProvider, GlobalStyles, etc.), you can import them from the @totango-ui/core folder:

    import { ThemeProvider } from '@totango-app-team/totango-ui/core';
0.2.27

7 months ago

0.2.26

7 months ago

0.2.25

7 months ago

0.2.24

7 months ago

0.2.23

7 months ago

0.2.22

7 months ago

0.2.21

7 months ago

0.2.20

7 months ago

0.2.19

7 months ago

0.2.18

7 months ago

0.2.17

7 months ago

0.2.16

7 months ago

0.2.15

7 months ago

0.2.14

7 months ago

0.2.13

7 months ago

0.2.12

7 months ago

0.2.11

7 months ago

0.2.10

7 months ago

0.3.6

7 months ago

0.3.5

7 months ago

0.3.8

7 months ago

0.3.7

7 months ago

0.3.2

7 months ago

0.3.1

7 months ago

0.3.4

7 months ago

0.3.3

7 months ago

0.3.9

7 months ago

0.3.15

7 months ago

0.3.14

7 months ago

0.3.13

7 months ago

0.3.12

7 months ago

0.3.11

7 months ago

0.3.10

7 months ago

0.2.7

7 months ago

0.2.6

7 months ago

0.2.9

7 months ago

0.2.5

7 months ago

0.2.1

7 months ago

0.1.148

8 months ago

0.1.129

8 months ago

0.1.128

8 months ago

0.1.139

8 months ago

0.1.136

8 months ago

0.1.135

8 months ago

0.1.138

8 months ago

0.1.137

8 months ago

0.1.132

8 months ago

0.1.131

8 months ago

0.1.134

8 months ago

0.1.133

8 months ago

0.1.130

8 months ago

0.1.146

8 months ago

0.1.143

8 months ago

0.1.142

8 months ago

0.1.145

8 months ago

0.1.144

8 months ago

0.1.141

8 months ago

0.1.140

8 months ago

0.1.118

8 months ago

0.1.119

8 months ago

0.1.125

8 months ago

0.1.124

8 months ago

0.1.127

8 months ago

0.1.126

8 months ago

0.1.121

8 months ago

0.1.120

8 months ago

0.1.123

8 months ago

0.1.122

8 months ago

0.1.117

8 months ago

0.1.114

8 months ago

0.1.113

8 months ago

0.1.116

8 months ago

0.1.115

8 months ago

0.1.110

8 months ago

0.1.112

8 months ago

0.1.111

8 months ago

0.1.97

8 months ago

0.1.98

8 months ago

0.1.99

8 months ago

0.1.107

8 months ago

0.1.106

8 months ago

0.1.109

8 months ago

0.1.108

8 months ago

0.1.103

8 months ago

0.1.102

8 months ago

0.1.105

8 months ago

0.1.104

8 months ago

0.1.101

8 months ago

0.1.100

8 months ago

0.1.96

8 months ago

0.1.90

8 months ago

0.1.91

8 months ago

0.1.92

8 months ago

0.1.93

8 months ago

0.1.94

8 months ago

0.1.85

8 months ago

0.1.86

8 months ago

0.1.87

8 months ago

0.1.88

8 months ago

0.1.89

8 months ago

0.1.80

8 months ago

0.1.81

8 months ago

0.1.82

8 months ago

0.1.83

8 months ago

0.1.84

8 months ago

0.1.74

8 months ago

0.1.75

8 months ago

0.1.76

8 months ago

0.1.77

8 months ago

0.1.78

8 months ago

0.1.79

8 months ago

0.1.72

8 months ago

0.1.73

8 months ago

0.1.70

8 months ago

0.1.71

8 months ago

0.1.69

8 months ago

0.1.52

8 months ago

0.1.53

8 months ago

0.1.54

8 months ago

0.1.55

8 months ago

0.1.11

9 months ago

0.1.56

8 months ago

0.1.12

9 months ago

0.1.57

8 months ago

0.1.13

9 months ago

0.1.58

8 months ago

0.1.14

9 months ago

0.1.59

8 months ago

0.1.15

9 months ago

0.1.50

8 months ago

0.1.51

8 months ago

0.1.49

8 months ago

0.1.41

8 months ago

0.1.42

8 months ago

0.1.43

8 months ago

0.1.44

8 months ago

0.1.45

8 months ago

0.1.46

8 months ago

0.1.47

8 months ago

0.1.48

8 months ago

0.1.40

8 months ago

0.1.38

8 months ago

0.1.8

9 months ago

0.1.39

8 months ago

0.1.7

9 months ago

0.1.9

9 months ago

0.1.6

9 months ago

0.1.5

9 months ago

0.1.31

9 months ago

0.1.33

9 months ago

0.1.35

9 months ago

0.1.37

8 months ago

0.1.27

9 months ago

0.1.29

9 months ago

0.1.63

8 months ago

0.1.64

8 months ago

0.1.20

9 months ago

0.1.65

8 months ago

0.1.21

9 months ago

0.1.66

8 months ago

0.1.67

8 months ago

0.1.23

9 months ago

0.1.68

8 months ago

0.1.25

9 months ago

0.1.60

8 months ago

0.1.61

8 months ago

0.1.62

8 months ago

0.1.17

9 months ago

0.1.19

9 months ago

0.1.4

9 months ago

0.1.3

9 months ago

0.1.2

9 months ago

0.1.1

9 months ago

0.0.1

9 months ago