@narmi/design_system 2.8.0 → 2.11.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
@@ -73,12 +73,12 @@ This project does not support any version of Internet Explorer.
73
73
  ## Contributing
74
74
 
75
75
  ### Local development
76
- To run storybook locally:
76
+ To run project locally:
77
77
 
78
78
  ```
79
79
  git clone git@github.com:narmi/design_system.git
80
80
  cd design_system
81
- npm install && npm run build && npm run storybook
81
+ npm run dev
82
82
  ```
83
83
 
84
84
  ### NPM scripts
@@ -92,6 +92,7 @@ npm install && npm run build && npm run storybook
92
92
  `test` | runs all jest tests
93
93
  `storybook` | starts storybook in dev server mode on `:6006`
94
94
  `watch` | watches `src` dir, triggering `build` on changes
95
+ `dev` | **Start storybook and watch for all `src` changes**
95
96
 
96
97
  ### Releases
97
98
  This project uses [`semantic-release`](https://semantic-release.gitbook.io/semantic-release/),
@@ -26,7 +26,7 @@ Wrapper for `Intl.DateTimeFormat` with options configured for Narmi applications
26
26
  ```js
27
27
  import { formatDate } from '@narmi/design_system';
28
28
 
29
- formatDate(new Date('July 4, 2022'), 'short'); // '7/4/2022'
29
+ formatDate(new Date('July 4, 2022'), 'short'); // '7/4/22'
30
30
  formatDate(new Date('7/4/2022'), 'long'); // 'July 4, 2022'
31
31
  ```
32
32
  <a name="formatNumber"></a>