0.3.15 • Published 10 months ago

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

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

10 months ago

0.2.26

10 months ago

0.2.25

10 months ago

0.2.24

10 months ago

0.2.23

10 months ago

0.2.22

10 months ago

0.2.21

10 months ago

0.2.20

10 months ago

0.2.19

10 months ago

0.2.18

10 months ago

0.2.17

10 months ago

0.2.16

10 months ago

0.2.15

10 months ago

0.2.14

10 months ago

0.2.13

10 months ago

0.2.12

10 months ago

0.2.11

10 months ago

0.2.10

10 months ago

0.3.6

10 months ago

0.3.5

10 months ago

0.3.8

10 months ago

0.3.7

10 months ago

0.3.2

10 months ago

0.3.1

10 months ago

0.3.4

10 months ago

0.3.3

10 months ago

0.3.9

10 months ago

0.3.15

10 months ago

0.3.14

10 months ago

0.3.13

10 months ago

0.3.12

10 months ago

0.3.11

10 months ago

0.3.10

10 months ago

0.2.7

10 months ago

0.2.6

10 months ago

0.2.9

10 months ago

0.2.5

10 months ago

0.2.1

10 months ago

0.1.148

10 months ago

0.1.129

11 months ago

0.1.128

11 months ago

0.1.139

11 months ago

0.1.136

11 months ago

0.1.135

11 months ago

0.1.138

11 months ago

0.1.137

11 months ago

0.1.132

11 months ago

0.1.131

11 months ago

0.1.134

11 months ago

0.1.133

11 months ago

0.1.130

11 months ago

0.1.146

11 months ago

0.1.143

11 months ago

0.1.142

11 months ago

0.1.145

11 months ago

0.1.144

11 months ago

0.1.141

11 months ago

0.1.140

11 months ago

0.1.118

11 months ago

0.1.119

11 months ago

0.1.125

11 months ago

0.1.124

11 months ago

0.1.127

11 months ago

0.1.126

11 months ago

0.1.121

11 months ago

0.1.120

11 months ago

0.1.123

11 months ago

0.1.122

11 months ago

0.1.117

11 months ago

0.1.114

11 months ago

0.1.113

11 months ago

0.1.116

11 months ago

0.1.115

11 months ago

0.1.110

11 months ago

0.1.112

11 months ago

0.1.111

11 months ago

0.1.97

11 months ago

0.1.98

11 months ago

0.1.99

11 months ago

0.1.107

11 months ago

0.1.106

11 months ago

0.1.109

11 months ago

0.1.108

11 months ago

0.1.103

11 months ago

0.1.102

11 months ago

0.1.105

11 months ago

0.1.104

11 months ago

0.1.101

11 months ago

0.1.100

11 months ago

0.1.96

11 months ago

0.1.90

11 months ago

0.1.91

11 months ago

0.1.92

11 months ago

0.1.93

11 months ago

0.1.94

11 months ago

0.1.85

11 months ago

0.1.86

11 months ago

0.1.87

11 months ago

0.1.88

11 months ago

0.1.89

11 months ago

0.1.80

11 months ago

0.1.81

11 months ago

0.1.82

11 months ago

0.1.83

11 months ago

0.1.84

11 months ago

0.1.74

11 months ago

0.1.75

11 months ago

0.1.76

11 months ago

0.1.77

11 months ago

0.1.78

11 months ago

0.1.79

11 months ago

0.1.72

11 months ago

0.1.73

11 months ago

0.1.70

11 months ago

0.1.71

11 months ago

0.1.69

11 months ago

0.1.52

11 months ago

0.1.53

11 months ago

0.1.54

11 months ago

0.1.55

11 months ago

0.1.11

11 months ago

0.1.56

11 months ago

0.1.12

11 months ago

0.1.57

11 months ago

0.1.13

11 months ago

0.1.58

11 months ago

0.1.14

11 months ago

0.1.59

11 months ago

0.1.15

11 months ago

0.1.50

11 months ago

0.1.51

11 months ago

0.1.49

11 months ago

0.1.41

11 months ago

0.1.42

11 months ago

0.1.43

11 months ago

0.1.44

11 months ago

0.1.45

11 months ago

0.1.46

11 months ago

0.1.47

11 months ago

0.1.48

11 months ago

0.1.40

11 months ago

0.1.38

11 months ago

0.1.8

11 months ago

0.1.39

11 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

11 months ago

0.1.27

11 months ago

0.1.29

11 months ago

0.1.63

11 months ago

0.1.64

11 months ago

0.1.20

11 months ago

0.1.65

11 months ago

0.1.21

11 months ago

0.1.66

11 months ago

0.1.67

11 months ago

0.1.23

11 months ago

0.1.68

11 months ago

0.1.25

11 months ago

0.1.60

11 months ago

0.1.61

11 months ago

0.1.62

11 months ago

0.1.17

11 months ago

0.1.19

11 months ago

0.1.4

12 months ago

0.1.3

12 months ago

0.1.2

12 months ago

0.1.1

12 months ago

0.0.1

12 months ago