@narmi/design_system 1.24.1 → 1.24.2-beta

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/CHANGELOG.md ADDED
@@ -0,0 +1,389 @@
1
+ # Changelog
2
+
3
+ All notable changes to this project will be documented in this file. See
4
+ [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
+
6
+ ### [1.24.1](https://github.com/narmi/design_system/compare/v1.24.0...v1.24.1) (2021-12-08)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * **Pagination:** fix bad import in pagination component ([46b30bb](https://github.com/narmi/design_system/commit/46b30bb8f648d1709902f4be16347c7e208975c5))
12
+
13
+ ## [1.24.0](https://github.com/narmi/design_system/compare/v1.23.0...v1.24.0) (2021-12-06)
14
+
15
+
16
+ ### Features
17
+
18
+ * **Tabs:** add Tabs component ([70d99fe](https://github.com/narmi/design_system/commit/70d99feebfda7905f55d79e109a2dfc80fd324f6))
19
+
20
+ ## [1.23.0](https://github.com/narmi/design_system/compare/v1.22.1...v1.23.0) (2021-12-03)
21
+
22
+
23
+ ### Features
24
+
25
+ * **Toggle:** add Toggle component ([1820d64](https://github.com/narmi/design_system/commit/1820d647ed29e46e548ec3d6262686eb1f4f4beb))
26
+
27
+ ### [1.22.1](https://github.com/narmi/design_system/compare/v1.22.0...v1.22.1) (2021-12-03)
28
+
29
+
30
+ ### Bug Fixes
31
+
32
+ * **Button:** fix background of primary button when rendering as button element ([10a4801](https://github.com/narmi/design_system/commit/10a4801c2eca32cf0a2e1d3efe7d05ae3279e4bb))
33
+
34
+ ## [1.22.0](https://github.com/narmi/design_system/compare/v1.21.2...v1.22.0) (2021-12-02)
35
+
36
+
37
+ ### Features
38
+
39
+ * **Tokens:** add default RGB values for theme colors ([2eace7c](https://github.com/narmi/design_system/commit/2eace7c0b03f82e510bbf35e2ffc6067cf5fc980))
40
+
41
+ ### [1.21.2](https://github.com/narmi/design_system/compare/v1.21.1...v1.21.2) (2021-12-02)
42
+
43
+
44
+ ### Bug Fixes
45
+
46
+ * **Card:** don't render space inside icon element ([#438](https://github.com/narmi/design_system/issues/438)) ([9561dd0](https://github.com/narmi/design_system/commit/9561dd0d83aa43e8eeb936c9117fbf89d2564678))
47
+
48
+ ### [1.21.1](https://github.com/narmi/design_system/compare/v1.21.0...v1.21.1) (2021-11-30)
49
+
50
+
51
+ ### Bug Fixes
52
+
53
+ * **Dialog:** add minimum z-index to shim ([f5fe662](https://github.com/narmi/design_system/commit/f5fe6623b513b1ff972a425d6e5dd93c746db7d4))
54
+
55
+ ## [1.21.0](https://github.com/narmi/design_system/compare/v1.20.2...v1.21.0) (2021-11-30)
56
+
57
+
58
+ ### Features
59
+
60
+ * **Popover:** add generic Popover component ([dc65c45](https://github.com/narmi/design_system/commit/dc65c454055adc9c034d163e1b8a1c45f454134f))
61
+
62
+ ### [1.20.2](https://github.com/narmi/design_system/compare/v1.20.1...v1.20.2) (2021-11-30)
63
+
64
+
65
+ ### Bug Fixes
66
+
67
+ * **Pagination:** use recommended markup for a11y ([98f7b51](https://github.com/narmi/design_system/commit/98f7b511bd4db4f5dbaf6782cdda712e3b0585b4))
68
+
69
+ ### [1.20.1](https://github.com/narmi/design_system/compare/v1.20.0...v1.20.1) (2021-11-30)
70
+
71
+
72
+ ### Bug Fixes
73
+
74
+ * **Input:** ensure input box does not gain height on user type event ([4a7fbdc](https://github.com/narmi/design_system/commit/4a7fbdcaf8535c10a11107920172f671f27d1ed9))
75
+
76
+ ## [1.20.0](https://github.com/narmi/design_system/compare/v1.19.0...v1.20.0) (2021-11-29)
77
+
78
+
79
+ ### Features
80
+
81
+ * **Row:** add support for `as` prop in `Row` and `RowItem` ([54ba139](https://github.com/narmi/design_system/commit/54ba139e126caa910a5e146b1413f857fc7db43d))
82
+
83
+ ## [1.19.0](https://github.com/narmi/design_system/compare/v1.18.0...v1.19.0) (2021-11-24)
84
+
85
+
86
+ ### Features
87
+
88
+ * **SeparatorList:** add SeparatorList component ([eeaa5fe](https://github.com/narmi/design_system/commit/eeaa5fe79a4cd7ec60c2b62fa3c9bbc31623e43f))
89
+
90
+ ## [1.18.0](https://github.com/narmi/design_system/compare/v1.17.0...v1.18.0) (2021-11-23)
91
+
92
+
93
+ ### Features
94
+
95
+ * **Pagination:** add Pagination component ([a491bf5](https://github.com/narmi/design_system/commit/a491bf5272a52db28221102a3e192224ccd1157f))
96
+
97
+ ## [1.17.0](https://github.com/narmi/design_system/compare/v1.16.0...v1.17.0) (2021-11-22)
98
+
99
+
100
+ ### Features
101
+
102
+ * **Row:** add `Row` layout component ([1f5ca8b](https://github.com/narmi/design_system/commit/1f5ca8bae7b30088d3b31409ddfa52d054bd70c8))
103
+
104
+ ## [1.16.0](https://github.com/narmi/design_system/compare/v1.15.0...v1.16.0) (2021-11-22)
105
+
106
+
107
+ ### Features
108
+
109
+ * **helper-classes:** add color helpers for font and backgrounds ([62c7aa8](https://github.com/narmi/design_system/commit/62c7aa86a4d45a201f182a0f30b47c76c6a59c28))
110
+
111
+ ## [1.15.0](https://github.com/narmi/design_system/compare/v1.14.0...v1.15.0) (2021-11-19)
112
+
113
+
114
+ ### Features
115
+
116
+ * **Card:** allow passing in icon size ([5eb8f19](https://github.com/narmi/design_system/commit/5eb8f194a08237cec541263b5ce8e5a748db180c))
117
+ * **Card:** allow passing in icon size ([82bd362](https://github.com/narmi/design_system/commit/82bd36231a9741580a453593e5131e88d53ffd52))
118
+
119
+ ## [1.14.0](https://github.com/narmi/design_system/compare/v1.13.0...v1.14.0) (2021-11-19)
120
+
121
+
122
+ ### Features
123
+
124
+ * **Classes:** add spacing and font helper classes ([65b8e69](https://github.com/narmi/design_system/commit/65b8e69c115e672b6ea54d09bbd7385bcb83bd42))
125
+
126
+ ## [1.13.0](https://github.com/narmi/design_system/compare/v1.12.1...v1.13.0) (2021-11-19)
127
+
128
+
129
+ ### Features
130
+
131
+ * **Dialog:** add `Dialog` component ([dd9aefa](https://github.com/narmi/design_system/commit/dd9aefad18c1110d7ce42065997b24b5ceab0a8d))
132
+
133
+ ### [1.12.1](https://github.com/narmi/design_system/compare/v1.12.0...v1.12.1) (2021-11-16)
134
+
135
+
136
+ ### Bug Fixes
137
+
138
+ * **Button:** pass custom `className` string through ([d3c0def](https://github.com/narmi/design_system/commit/d3c0def1d26063797d562fa23d4825e57e0d6a9d))
139
+
140
+ ## [1.12.0](https://github.com/narmi/design_system/compare/v1.11.0...v1.12.0) (2021-11-15)
141
+
142
+
143
+ ### Features
144
+
145
+ * **Button:** add new variants - secondary, plain ([1b9217f](https://github.com/narmi/design_system/commit/1b9217ff94c8d369604b5b7ae7d035dafb32e268))
146
+
147
+ ## [1.11.0](https://github.com/narmi/design_system/compare/v1.10.5...v1.11.0) (2021-11-09)
148
+
149
+
150
+ ### Features
151
+
152
+ * **LoadingShim:** add component ([880812c](https://github.com/narmi/design_system/commit/880812cfd95d721e3d24ef4b3dc69cbcb2b02e37))
153
+
154
+ ### [1.10.5](https://github.com/narmi/design_system/compare/v1.10.4...v1.10.5) (2021-11-08)
155
+
156
+
157
+ ### Bug Fixes
158
+
159
+ * **RadioButtons:** properly set line height on label, and unchecked colour on checkbox ([#352](https://github.com/narmi/design_system/issues/352)) ([514df8b](https://github.com/narmi/design_system/commit/514df8b00c3d83120d860db77425ea91d55635ed))
160
+
161
+ ### [1.10.4](https://github.com/narmi/design_system/compare/v1.10.3...v1.10.4) (2021-11-08)
162
+
163
+
164
+ ### Bug Fixes
165
+
166
+ * **Input:** keep label margin consistent when focused, to avoid undesired shift on focus ([#351](https://github.com/narmi/design_system/issues/351)) ([6d94221](https://github.com/narmi/design_system/commit/6d942218494e7a09a5dfb2c514904bc3ebbc122c))
167
+
168
+ ### [1.10.3](https://github.com/narmi/design_system/compare/v1.10.2...v1.10.3) (2021-11-08)
169
+
170
+
171
+ ### Bug Fixes
172
+
173
+ * **Card:** remove box shadow from hoverable state ([#350](https://github.com/narmi/design_system/issues/350)) ([8ae2cd9](https://github.com/narmi/design_system/commit/8ae2cd9ad4bd2baee37b7ece76d850bf81e4a7fe))
174
+
175
+ ### [1.10.2](https://github.com/narmi/design_system/compare/v1.10.1...v1.10.2) (2021-11-05)
176
+
177
+
178
+ ### Bug Fixes
179
+
180
+ * **RadioButtons:** explicitly set font weight on label ([#347](https://github.com/narmi/design_system/issues/347)) ([af5044d](https://github.com/narmi/design_system/commit/af5044dd4438fbf013404f0a5067647245b3e978))
181
+
182
+ ### [1.10.1](https://github.com/narmi/design_system/compare/v1.10.0...v1.10.1) (2021-11-05)
183
+
184
+
185
+ ### Bug Fixes
186
+
187
+ * **Card:** set line height for header ([#346](https://github.com/narmi/design_system/issues/346)) ([f8fe7af](https://github.com/narmi/design_system/commit/f8fe7af7df650bc544bfdc1093fc36474a63592c))
188
+
189
+ ## [1.10.0](https://github.com/narmi/design_system/compare/v1.9.2...v1.10.0) (2021-11-05)
190
+
191
+
192
+ ### Features
193
+
194
+ * **TextInput:** add search input styling ([#332](https://github.com/narmi/design_system/issues/332)) ([fa18103](https://github.com/narmi/design_system/commit/fa18103730eaac95dcfe41878ac2968df3b800f8))
195
+
196
+ ### [1.9.2](https://github.com/narmi/design_system/compare/v1.9.1...v1.9.2) (2021-11-04)
197
+
198
+
199
+ ### Bug Fixes
200
+
201
+ * **Input:** make icon smaller if shown ([#330](https://github.com/narmi/design_system/issues/330)) ([15d591b](https://github.com/narmi/design_system/commit/15d591b9f7883f5efd75ceda1859386777e644da))
202
+
203
+ ### [1.9.1](https://github.com/narmi/design_system/compare/v1.9.0...v1.9.1) (2021-11-04)
204
+
205
+
206
+ ### Bug Fixes
207
+
208
+ * **Input:** increase space very slightly between label and input value ([93a69f4](https://github.com/narmi/design_system/commit/93a69f408a479af8beb2b65f75de220ebe26d89a))
209
+
210
+ ## [1.9.0](https://github.com/narmi/design_system/compare/v1.8.0...v1.9.0) (2021-11-04)
211
+
212
+
213
+ ### Features
214
+
215
+ * **Tooltip:** add prop to control styling behavior of trigger wrapper ([2e0354c](https://github.com/narmi/design_system/commit/2e0354cd86136f0a855cd12b2f98c4f92fab27de))
216
+
217
+ ## [1.8.0](https://github.com/narmi/design_system/compare/v1.7.5...v1.8.0) (2021-11-03)
218
+
219
+
220
+ ### Features
221
+
222
+ * add Tooltip to dist; add 'admin user' icon ([510ff35](https://github.com/narmi/design_system/commit/510ff3584f6c8cd90121b40ea81c599eaa0a2d67))
223
+
224
+ ### [1.7.5](https://github.com/narmi/design_system/compare/v1.7.4...v1.7.5) (2021-11-02)
225
+
226
+
227
+ ### Bug Fixes
228
+
229
+ * **Button, PlainButton:** prevent props.className from overriding calculated className ([#316](https://github.com/narmi/design_system/issues/316)) ([00060b8](https://github.com/narmi/design_system/commit/00060b8391c38b8e9a6d40d6976e163b7753bd70))
230
+
231
+ ### [1.7.4](https://github.com/narmi/design_system/compare/v1.7.3...v1.7.4) (2021-11-02)
232
+
233
+
234
+ ### Bug Fixes
235
+
236
+ * **Modal:** padding around dismiss icon should be 12px ([#312](https://github.com/narmi/design_system/issues/312)) ([598e1ad](https://github.com/narmi/design_system/commit/598e1ad7e52bfcc1a5ff63607380583b0d7e1450))
237
+
238
+ ### [1.7.3](https://github.com/narmi/design_system/compare/v1.7.2...v1.7.3) (2021-11-01)
239
+
240
+
241
+ ### Bug Fixes
242
+
243
+ * remove tooltip from dist ([a6dd180](https://github.com/narmi/design_system/commit/a6dd18092ee7dd2e9814687dbbb9f2ec34195b97))
244
+
245
+ ### [1.7.2](https://github.com/narmi/design_system/compare/v1.7.1...v1.7.2) (2021-11-01)
246
+
247
+
248
+ ### Bug Fixes
249
+
250
+ * make Tooltip importable ([3cecda8](https://github.com/narmi/design_system/commit/3cecda89ed90e8ee4ef0ba6355d06636cd39eed2))
251
+
252
+ ### [1.7.1](https://github.com/narmi/design_system/compare/v1.7.0...v1.7.1) (2021-11-01)
253
+
254
+
255
+ ### Bug Fixes
256
+
257
+ * **Modal:** condition showing action row element on if actions are passed in ([#306](https://github.com/narmi/design_system/issues/306)) ([3dacefd](https://github.com/narmi/design_system/commit/3dacefd1242487dcf2afccde806934fa3deb5ca8))
258
+
259
+ ## [1.7.0](https://github.com/narmi/design_system/compare/v1.6.0...v1.7.0) (2021-10-28)
260
+
261
+
262
+ ### Features
263
+
264
+ * **Modal:** add styles and support for wide detail modals ([#280](https://github.com/narmi/design_system/issues/280)) ([5f6bbf5](https://github.com/narmi/design_system/commit/5f6bbf546dc518f24cc93bae746a81d5b91391c0))
265
+
266
+ ## [1.6.0](https://github.com/narmi/design_system/compare/v1.5.0...v1.6.0) (2021-10-28)
267
+
268
+
269
+ ### Features
270
+
271
+ * **RadioButtons:** add RadioButtons ([#294](https://github.com/narmi/design_system/issues/294)) ([9e77354](https://github.com/narmi/design_system/commit/9e77354bfbf118e79e319f7f742c6fafdb28a658))
272
+
273
+ ## [1.5.0](https://github.com/narmi/design_system/compare/v1.4.5...v1.5.0) (2021-10-28)
274
+
275
+
276
+ ### Features
277
+
278
+ * add Tooltip component ([8bc6e0c](https://github.com/narmi/design_system/commit/8bc6e0cfcd456eed6b0b3578f6a706f2c47308d3))
279
+
280
+ ### [1.4.5](https://github.com/narmi/design_system/compare/v1.4.4...v1.4.5) (2021-10-27)
281
+
282
+
283
+ ### Bug Fixes
284
+
285
+ * remove optimizeLegibility for headers ([#289](https://github.com/narmi/design_system/issues/289)) ([24883dd](https://github.com/narmi/design_system/commit/24883dde4ef847cb4c2a7f71d8609080a43f8c82))
286
+
287
+ ### [1.4.4](https://github.com/narmi/design_system/compare/v1.4.3...v1.4.4) (2021-10-27)
288
+
289
+
290
+ ### Bug Fixes
291
+
292
+ * **Button:** set font size to 16px for PlainButton ([#287](https://github.com/narmi/design_system/issues/287)) ([d9887cd](https://github.com/narmi/design_system/commit/d9887cd41d8eadf01cd4e6d40021d25058ca22ea))
293
+
294
+ ### [1.4.3](https://github.com/narmi/design_system/compare/v1.4.2...v1.4.3) (2021-10-27)
295
+
296
+
297
+ ### Bug Fixes
298
+
299
+ * **DateInput:** increase space between input element and calendar ([#288](https://github.com/narmi/design_system/issues/288)) ([ac448c7](https://github.com/narmi/design_system/commit/ac448c7ade66cb0dc0e73b99cafae92e3fc6353c))
300
+
301
+ ### [1.4.2](https://github.com/narmi/design_system/compare/v1.4.1...v1.4.2) (2021-10-27)
302
+
303
+
304
+ ### Bug Fixes
305
+
306
+ * **Input:** set font weight for value to 400 ([#286](https://github.com/narmi/design_system/issues/286)) ([cf165c5](https://github.com/narmi/design_system/commit/cf165c5c3848b6061c3ab4e786f2a7c9402b1f65))
307
+
308
+ ### [1.4.1](https://github.com/narmi/design_system/compare/v1.4.0...v1.4.1) (2021-10-27)
309
+
310
+
311
+ ### Bug Fixes
312
+
313
+ * **Modal:** hide scrollbar space if not needed ([#285](https://github.com/narmi/design_system/issues/285)) ([1a0c522](https://github.com/narmi/design_system/commit/1a0c522eb48592e7621c1027dded7eea1109063c))
314
+
315
+ ## [1.4.0](https://github.com/narmi/design_system/compare/v1.3.2...v1.4.0) (2021-10-27)
316
+
317
+
318
+ ### Features
319
+
320
+ * **Modal:** allow setting maxWidth CSS property on modal container ([b67a6c1](https://github.com/narmi/design_system/commit/b67a6c1dc2d34fdc5f9515d80b6494137f4ffda4))
321
+
322
+ ### [1.3.2](https://github.com/narmi/design_system/compare/v1.3.1...v1.3.2) (2021-10-26)
323
+
324
+
325
+ ### Bug Fixes
326
+
327
+ * **Card:** set font size inside card content to be 16px ([#283](https://github.com/narmi/design_system/issues/283)) ([292b205](https://github.com/narmi/design_system/commit/292b20522e9851e0de2fea6e0af0501d11086f00))
328
+
329
+ ### [1.3.1](https://github.com/narmi/design_system/compare/v1.3.0...v1.3.1) (2021-10-25)
330
+
331
+
332
+ ### Bug Fixes
333
+
334
+ * **Input:** set line height and lower font weight ([#276](https://github.com/narmi/design_system/issues/276)) ([c10646e](https://github.com/narmi/design_system/commit/c10646e47a3083532fd59e549d98372d9c2d86a5))
335
+
336
+ ## [1.3.0](https://github.com/narmi/design_system/compare/v1.2.1...v1.3.0) (2021-10-19)
337
+
338
+
339
+ ### Features
340
+
341
+ * **DateInput:** expose dateFormat prop ([319f298](https://github.com/narmi/design_system/commit/319f298dfdd5e392f24983508ff28747e6688ce7))
342
+
343
+ ### [1.2.1](https://github.com/narmi/design_system/compare/v1.2.0...v1.2.1) (2021-10-19)
344
+
345
+
346
+ ### Bug Fixes
347
+
348
+ * **Modal:** limit height of modal, and allow for vertical scroll ([#250](https://github.com/narmi/design_system/issues/250)) ([eb37832](https://github.com/narmi/design_system/commit/eb37832e636628bd4f05404c728784283b750baa))
349
+
350
+ ## [1.2.0](https://github.com/narmi/design_system/compare/v1.1.1...v1.2.0) (2021-10-19)
351
+
352
+
353
+ ### Features
354
+
355
+ * **DateInput:** allow defaultDate to be set; document all prop types ([e0b726b](https://github.com/narmi/design_system/commit/e0b726b0d54cceb556964c58cac17fd45de46d2e))
356
+
357
+ ### [1.1.1](https://github.com/narmi/design_system/compare/v1.1.0...v1.1.1) (2021-10-19)
358
+
359
+
360
+ ### Bug Fixes
361
+
362
+ * **Modal:** continue to support closing modal via handleClose prop ([#246](https://github.com/narmi/design_system/issues/246)) ([1017d5c](https://github.com/narmi/design_system/commit/1017d5cbd3a55d229856733e30654dc91be79a51))
363
+
364
+ ## [1.1.0](https://github.com/narmi/design_system/compare/v1.0.0...v1.1.0) (2021-10-18)
365
+
366
+
367
+ ### Features
368
+
369
+ * **DateInput:** add `disableDays` prop for disabling dates ([d7dd43a](https://github.com/narmi/design_system/commit/d7dd43acbf6eb01356fb4a2ea2e1ec850633f154))
370
+
371
+ ## [1.0.0](https://github.com/narmi/design_system/compare/v0.2.0...v1.0.0) (2021-10-12)
372
+
373
+
374
+ ### ⚠ BREAKING CHANGES
375
+
376
+ * remove dist dir from versioning
377
+
378
+ ### Code Refactoring
379
+
380
+ * remove dist dir from versioning ([9f6bca4](https://github.com/narmi/design_system/commit/9f6bca47b70cee488ec483528fec74563a2f5755))
381
+
382
+ ## [0.2.0](https://github.com/narmi/design_system/compare/v0.1.0...v0.2.0) (2021-10-12)
383
+
384
+
385
+ ### Features
386
+
387
+ * force first release ([e9d223d](https://github.com/narmi/design_system/commit/e9d223d019e4da380f2aa3739628b85933993973))
388
+ * update release github token ([b5f932f](https://github.com/narmi/design_system/commit/b5f932ff5a8258b4144b5b228078a059ca03915d))
389
+ * use workflow dispatch for releases for now ([7b99b70](https://github.com/narmi/design_system/commit/7b99b700cf2f275aa1725bc6ddcf0c34cad727db))
package/README.md CHANGED
@@ -20,10 +20,11 @@ npm install @narmi/design_system --save
20
20
  Your project must provide the following packages as peer dependencies:
21
21
 
22
22
  - React (>=16.9, supports Hooks)
23
- - styled-components (>=5)
24
23
 
25
24
  ### Documentation
26
- - 📖 [Storybook (latest)](https://master--60620d422ffdf100216415b2.chromatic.com/)
25
+
26
+ - 📖 [Storybook (latest)](https://narmi.github.io/design_system/)
27
+ - 🎨 [Design Guidelines](https://zeroheight.com/8ac87d4ba/p/446c38-narmi-design-system-nds)
27
28
 
28
29
 
29
30
  ## Usage
@@ -47,7 +48,7 @@ styling in your markup with standard Narmi design values. For example:
47
48
  </div>
48
49
  ```
49
50
 
50
- For full documentation of available classes, see [storybook docs](https://master--60620d422ffdf100216415b2.chromatic.com/).
51
+ For full documentation of available classes, see [storybook docs](https://narmi.github.io/design_system/).
51
52
 
52
53
  ### Design tokens
53
54
  All available distributions of design tokens can be found in `dist/tokens`.