@worldresources/wri-design-systems 1.2.0 → 2.117.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -4,7 +4,7 @@ WRI UI Library
4
4
 
5
5
  ## Requirements
6
6
 
7
- Node: `20.16.0`
7
+ Node: `22.14.0`
8
8
 
9
9
  React: `18.3.1`
10
10
 
@@ -23,13 +23,13 @@ npm i @worldresources/wri-design-systems
23
23
  ## Other dependecies
24
24
 
25
25
  ```
26
- yarn add @chakra-ui/react @emotion/react @emotion/styled
26
+ yarn add @chakra-ui/react@^3.1.2 @emotion/react@^11.13.3
27
27
  ```
28
28
 
29
29
  or
30
30
 
31
31
  ```
32
- npm i @chakra-ui/react @emotion/react @emotion/styled
32
+ npm i @chakra-ui/react@^3.1.2 @emotion/react@^11.13.3
33
33
  ```
34
34
 
35
35
  ## Usage
@@ -71,13 +71,14 @@ export const system = createSystem(defaultConfig, {
71
71
 
72
72
  ```tsx
73
73
  import React from 'react'
74
- import { ChakraProvider, defaultSystem } from '@chakra-ui/react'
74
+ import { ChakraProvider } from '@chakra-ui/react'
75
+ import { designSystemStyles } from "@worldresources/wri-design-systems";
75
76
  import { system } from './lib/theme'
76
77
 
77
78
  function App() {
78
79
  return (
79
80
  {/* if you want to use the default WRI Theme colors */}
80
- {/* <ChakraProvider value={defaultSystem}> */}
81
+ {/* <ChakraProvider value={designSystemStyles}> */}
81
82
 
82
83
  {/* if you want to use your custom system Theme colors */}
83
84
  <ChakraProvider value={system}>
@@ -101,13 +102,19 @@ function App() {
101
102
  ### Controls
102
103
 
103
104
  - [Checkbox](https://github.com/wri/wri-design-systems/tree/main/src/components/Forms/Controls/Checkbox)
105
+ - [Option Card](https://github.com/wri/wri-design-systems/tree/main/src/components/Forms/Controls/OptionCard)
104
106
  - [Radio Button](https://github.com/wri/wri-design-systems/tree/main/src/components/Forms/Controls/Radio)
105
107
  - [Slider](https://github.com/wri/wri-design-systems/tree/main/src/components/Forms/Controls/Slider)
106
108
  - [Switch](https://github.com/wri/wri-design-systems/tree/main/src/components/Forms/Controls/Switch)
107
109
 
108
110
  ### Inputs
109
111
 
112
+ - [Checkbox List](https://github.com/wri/wri-design-systems/tree/main/src/components/Forms/Inputs/CheckboxList)
113
+ - [Input With Units](https://github.com/wri/wri-design-systems/tree/main/src/components/Forms/Inputs/InputWithUnits)
114
+ - [Password](https://github.com/wri/wri-design-systems/tree/main/src/components/Forms/Inputs/Password)
115
+ - [Radio List](https://github.com/wri/wri-design-systems/tree/main/src/components/Forms/Inputs/RadioList)
110
116
  - [Select](https://github.com/wri/wri-design-systems/tree/main/src/components/Forms/Inputs/Select)
117
+ - [Slider Input](https://github.com/wri/wri-design-systems/tree/main/src/components/Forms/Inputs/SliderInput)
111
118
  - [Text Area](https://github.com/wri/wri-design-systems/tree/main/src/components/Forms/Inputs/Textarea)
112
119
  - [Text Input](https://github.com/wri/wri-design-systems/tree/main/src/components/Forms/Inputs/TextInput)
113
120
 
@@ -134,12 +141,16 @@ function App() {
134
141
 
135
142
  ## Navigation
136
143
 
144
+ - [Breadcrumb](https://github.com/wri/wri-design-systems/tree/main/src/components/Navigation/Breadcrumb)
145
+ - [Footer](https://github.com/wri/wri-design-systems/tree/main/src/components/Navigation/Footer)
137
146
  - [Navigation Rail](https://github.com/wri/wri-design-systems/tree/main/src/components/Navigation/NavigationRail)
138
147
  - [Tab Bar](https://github.com/wri/wri-design-systems/tree/main/src/components/Navigation/TabBar)
139
148
 
140
149
  ## Status
141
150
 
151
+ - [Badge](https://github.com/wri/wri-design-systems/tree/main/src/components/Status/Badge)
142
152
  - [Inline Message](https://github.com/wri/wri-design-systems/tree/main/src/components/Status/InlineMessage)
153
+ - [Toast](https://github.com/wri/wri-design-systems/tree/main/src/components/Status/Toast)
143
154
 
144
155
  ## Building the lib
145
156
 
@@ -148,7 +159,7 @@ yarn lint-fix
148
159
  ```
149
160
 
150
161
  ```
151
- yarn rollup-build
162
+ yarn build
152
163
  ```
153
164
 
154
165
  ## Publish new version