0.3.15 • Published 9 months ago

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

Weekly downloads
-
License
-
Repository
-
Last release
9 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

9 months ago

0.2.26

9 months ago

0.2.25

9 months ago

0.2.24

9 months ago

0.2.23

9 months ago

0.2.22

9 months ago

0.2.21

9 months ago

0.2.20

9 months ago

0.2.19

9 months ago

0.2.18

9 months ago

0.2.17

9 months ago

0.2.16

9 months ago

0.2.15

9 months ago

0.2.14

9 months ago

0.2.13

9 months ago

0.2.12

9 months ago

0.2.11

9 months ago

0.2.10

9 months ago

0.3.6

9 months ago

0.3.5

9 months ago

0.3.8

9 months ago

0.3.7

9 months ago

0.3.2

9 months ago

0.3.1

9 months ago

0.3.4

9 months ago

0.3.3

9 months ago

0.3.9

9 months ago

0.3.15

9 months ago

0.3.14

9 months ago

0.3.13

9 months ago

0.3.12

9 months ago

0.3.11

9 months ago

0.3.10

9 months ago

0.2.7

9 months ago

0.2.6

9 months ago

0.2.9

9 months ago

0.2.5

9 months ago

0.2.1

10 months ago

0.1.148

10 months ago

0.1.129

10 months ago

0.1.128

10 months ago

0.1.139

10 months ago

0.1.136

10 months ago

0.1.135

10 months ago

0.1.138

10 months ago

0.1.137

10 months ago

0.1.132

10 months ago

0.1.131

10 months ago

0.1.134

10 months ago

0.1.133

10 months ago

0.1.130

10 months ago

0.1.146

10 months ago

0.1.143

10 months ago

0.1.142

10 months ago

0.1.145

10 months ago

0.1.144

10 months ago

0.1.141

10 months ago

0.1.140

10 months ago

0.1.118

10 months ago

0.1.119

10 months ago

0.1.125

10 months ago

0.1.124

10 months ago

0.1.127

10 months ago

0.1.126

10 months ago

0.1.121

10 months ago

0.1.120

10 months ago

0.1.123

10 months ago

0.1.122

10 months ago

0.1.117

10 months ago

0.1.114

10 months ago

0.1.113

10 months ago

0.1.116

10 months ago

0.1.115

10 months ago

0.1.110

10 months ago

0.1.112

10 months ago

0.1.111

10 months ago

0.1.97

10 months ago

0.1.98

10 months ago

0.1.99

10 months ago

0.1.107

10 months ago

0.1.106

10 months ago

0.1.109

10 months ago

0.1.108

10 months ago

0.1.103

10 months ago

0.1.102

10 months ago

0.1.105

10 months ago

0.1.104

10 months ago

0.1.101

10 months ago

0.1.100

10 months ago

0.1.96

10 months ago

0.1.90

10 months ago

0.1.91

10 months ago

0.1.92

10 months ago

0.1.93

10 months ago

0.1.94

10 months ago

0.1.85

10 months ago

0.1.86

10 months ago

0.1.87

10 months ago

0.1.88

10 months ago

0.1.89

10 months ago

0.1.80

10 months ago

0.1.81

10 months ago

0.1.82

10 months ago

0.1.83

10 months ago

0.1.84

10 months ago

0.1.74

10 months ago

0.1.75

10 months ago

0.1.76

10 months ago

0.1.77

10 months ago

0.1.78

10 months ago

0.1.79

10 months ago

0.1.72

10 months ago

0.1.73

10 months ago

0.1.70

10 months ago

0.1.71

10 months ago

0.1.69

10 months ago

0.1.52

10 months ago

0.1.53

10 months ago

0.1.54

10 months ago

0.1.55

10 months ago

0.1.11

11 months ago

0.1.56

10 months ago

0.1.12

11 months ago

0.1.57

10 months ago

0.1.13

11 months ago

0.1.58

10 months ago

0.1.14

11 months ago

0.1.59

10 months ago

0.1.15

11 months ago

0.1.50

10 months ago

0.1.51

10 months ago

0.1.49

10 months ago

0.1.41

10 months ago

0.1.42

10 months ago

0.1.43

10 months ago

0.1.44

10 months ago

0.1.45

10 months ago

0.1.46

10 months ago

0.1.47

10 months ago

0.1.48

10 months ago

0.1.40

10 months ago

0.1.38

10 months ago

0.1.8

11 months ago

0.1.39

10 months ago

0.1.7

11 months ago

0.1.9

11 months ago

0.1.6

11 months ago

0.1.5

11 months ago

0.1.31

11 months ago

0.1.33

11 months ago

0.1.35

11 months ago

0.1.37

10 months ago

0.1.27

11 months ago

0.1.29

11 months ago

0.1.63

10 months ago

0.1.64

10 months ago

0.1.20

11 months ago

0.1.65

10 months ago

0.1.21

11 months ago

0.1.66

10 months ago

0.1.67

10 months ago

0.1.23

11 months ago

0.1.68

10 months ago

0.1.25

11 months ago

0.1.60

10 months ago

0.1.61

10 months ago

0.1.62

10 months ago

0.1.17

11 months ago

0.1.19

11 months ago

0.1.4

11 months ago

0.1.3

11 months ago

0.1.2

11 months ago

0.1.1

11 months ago

0.0.1

11 months ago