@medable/nucleus-ui 2.0.0 → 2.0.1

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.
Files changed (81) hide show
  1. package/._README.md +0 -0
  2. package/README.md +29 -0
  3. package/accordion/._package.json +0 -0
  4. package/accordion/package.json +1 -0
  5. package/avatar/._package.json +0 -0
  6. package/avatar/package.json +1 -0
  7. package/badge/._package.json +0 -0
  8. package/badge/package.json +1 -0
  9. package/breadcrumbs/._package.json +0 -0
  10. package/breadcrumbs/package.json +1 -0
  11. package/button/._package.json +0 -0
  12. package/button/package.json +1 -0
  13. package/card/._package.json +0 -0
  14. package/card/package.json +1 -0
  15. package/chat_panel/._package.json +0 -0
  16. package/chat_panel/package.json +1 -0
  17. package/checkbox/._package.json +0 -0
  18. package/checkbox/package.json +1 -0
  19. package/combobox/._package.json +0 -0
  20. package/combobox/package.json +1 -0
  21. package/date_format/._package.json +0 -0
  22. package/date_format/package.json +1 -0
  23. package/date_picker/._package.json +0 -0
  24. package/date_picker/package.json +1 -0
  25. package/dropdown/._package.json +0 -0
  26. package/dropdown/package.json +1 -0
  27. package/file_uploader/._package.json +0 -0
  28. package/file_uploader/package.json +1 -0
  29. package/form_sections/._package.json +0 -0
  30. package/form_sections/package.json +1 -0
  31. package/header/._package.json +0 -0
  32. package/header/package.json +1 -0
  33. package/i18n/._package.json +0 -0
  34. package/i18n/package.json +1 -0
  35. package/i18n-shim/._package.json +0 -0
  36. package/i18n-shim/package.json +1 -0
  37. package/icon/._package.json +0 -0
  38. package/icon/package.json +1 -0
  39. package/input/._package.json +0 -0
  40. package/input/package.json +1 -0
  41. package/link/._package.json +0 -0
  42. package/link/package.json +1 -0
  43. package/logo/._package.json +0 -0
  44. package/logo/package.json +1 -0
  45. package/modal_dialog/._package.json +0 -0
  46. package/modal_dialog/package.json +1 -0
  47. package/modal_window/._package.json +0 -0
  48. package/modal_window/package.json +1 -0
  49. package/notification/._package.json +0 -0
  50. package/notification/package.json +1 -0
  51. package/package.json +245 -1
  52. package/radio_group/._package.json +0 -0
  53. package/radio_group/package.json +1 -0
  54. package/search_field/._package.json +0 -0
  55. package/search_field/package.json +1 -0
  56. package/segmented_control/._package.json +0 -0
  57. package/segmented_control/package.json +1 -0
  58. package/select/._package.json +0 -0
  59. package/select/package.json +1 -0
  60. package/side_nav/._package.json +0 -0
  61. package/side_nav/package.json +1 -0
  62. package/spinner/._package.json +0 -0
  63. package/spinner/package.json +1 -0
  64. package/steps/._package.json +0 -0
  65. package/steps/package.json +1 -0
  66. package/table/._package.json +0 -0
  67. package/table/package.json +1 -0
  68. package/tabs/._package.json +0 -0
  69. package/tabs/package.json +1 -0
  70. package/text_area/._package.json +0 -0
  71. package/text_area/package.json +1 -0
  72. package/time_picker/._package.json +0 -0
  73. package/time_picker/package.json +1 -0
  74. package/toggle/._package.json +0 -0
  75. package/toggle/package.json +1 -0
  76. package/tooltip/._package.json +0 -0
  77. package/tooltip/package.json +1 -0
  78. package/typography/._package.json +0 -0
  79. package/typography/package.json +1 -0
  80. package/workflow/._package.json +0 -0
  81. package/workflow/package.json +1 -0
package/._README.md ADDED
Binary file
package/README.md ADDED
@@ -0,0 +1,29 @@
1
+ # @medable/nucleus-ui
2
+
3
+ Reusable UI components and utilities (Nucleus), built for public npm.
4
+
5
+ ## Installation
6
+
7
+ ```bash
8
+ npm install @medable/nucleus-ui
9
+ ```
10
+
11
+ Peer dependencies: `react`, `react-dom`, `tailwind-merge`, `@headlessui/react`, and others (see `package.json`). The package declares `react-day-picker@^8.9.1` for `date_picker`; if your project uses v9, avoid pulling in the barrel.
12
+
13
+ ## Usage
14
+
15
+ Prefer **subpath imports** so only the components you use are resolved (avoids pulling in `date_format`, `date_picker`, and their peers):
16
+
17
+ ```js
18
+ import { Button } from '@medable/nucleus-ui/button';
19
+ import { H1, Typography } from '@medable/nucleus-ui/typography';
20
+ import { Breadcrumbs } from '@medable/nucleus-ui/breadcrumbs';
21
+ ```
22
+
23
+ Barrel import (pulls in everything, including `date_picker` / `react-day-picker` v8):
24
+
25
+ ```js
26
+ import { Button } from '@medable/nucleus-ui';
27
+ ```
28
+
29
+ Include the package styles: `@medable/nucleus-ui/styles.css` (or from `node_modules/@medable/nucleus-ui/styles.css`).
Binary file
@@ -0,0 +1 @@
1
+ {"main":"src/index.js","types":"src/index.d.ts"}
Binary file
@@ -0,0 +1 @@
1
+ {"main":"src/index.js","types":"src/index.d.ts"}
Binary file
@@ -0,0 +1 @@
1
+ {"main":"src/index.js","types":"src/index.d.ts"}
Binary file
@@ -0,0 +1 @@
1
+ {"main":"src/index.js","types":"src/index.d.ts"}
Binary file
@@ -0,0 +1 @@
1
+ {"main":"src/index.js","types":"src/index.d.ts"}
Binary file
@@ -0,0 +1 @@
1
+ {"main":"src/index.js","types":"src/index.d.ts"}
Binary file
@@ -0,0 +1 @@
1
+ {"main":"src/index.js","types":"src/index.d.ts"}
Binary file
@@ -0,0 +1 @@
1
+ {"main":"src/index.js","types":"src/index.d.ts"}
Binary file
@@ -0,0 +1 @@
1
+ {"main":"src/index.js","types":"src/index.d.ts"}
Binary file
@@ -0,0 +1 @@
1
+ {"main":"src/index.js","types":"src/index.d.ts"}
Binary file
@@ -0,0 +1 @@
1
+ {"main":"src/index.js","types":"src/index.d.ts"}
Binary file
@@ -0,0 +1 @@
1
+ {"main":"src/index.js","types":"src/index.d.ts"}
Binary file
@@ -0,0 +1 @@
1
+ {"main":"src/index.js","types":"src/index.d.ts"}
Binary file
@@ -0,0 +1 @@
1
+ {"main":"src/index.js","types":"src/index.d.ts"}
Binary file
@@ -0,0 +1 @@
1
+ {"main":"src/index.js","types":"src/index.d.ts"}
Binary file
@@ -0,0 +1 @@
1
+ {"main":"src/index.js","types":"src/index.d.ts"}
Binary file
@@ -0,0 +1 @@
1
+ {"main":"index.js","types":"index.d.ts"}
Binary file
@@ -0,0 +1 @@
1
+ {"main":"src/index.js","types":"src/index.d.ts"}
Binary file
@@ -0,0 +1 @@
1
+ {"main":"src/index.js","types":"src/index.d.ts"}
Binary file
@@ -0,0 +1 @@
1
+ {"main":"src/index.js","types":"src/index.d.ts"}
Binary file
@@ -0,0 +1 @@
1
+ {"main":"src/index.js","types":"src/index.d.ts"}
Binary file
@@ -0,0 +1 @@
1
+ {"main":"src/index.js","types":"src/index.d.ts"}
Binary file
@@ -0,0 +1 @@
1
+ {"main":"src/index.js","types":"src/index.d.ts"}
Binary file
@@ -0,0 +1 @@
1
+ {"main":"src/index.js","types":"src/index.d.ts"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@medable/nucleus-ui",
3
- "version": "2.0.0",
3
+ "version": "2.0.1",
4
4
  "description": "Nucleus library of reusable UI components and utilities",
5
5
  "repository": {
6
6
  "type": "git",
@@ -9,6 +9,248 @@
9
9
  },
10
10
  "main": "index.js",
11
11
  "types": "index.d.ts",
12
+ "exports": {
13
+ ".": {
14
+ "types": "./index.d.ts",
15
+ "import": "./index.js",
16
+ "require": "./index.js",
17
+ "default": "./index.js"
18
+ },
19
+ "./accordion": {
20
+ "types": "./accordion/src/index.d.ts",
21
+ "import": "./accordion/src/index.js",
22
+ "require": "./accordion/src/index.js",
23
+ "default": "./accordion/src/index.js"
24
+ },
25
+ "./avatar": {
26
+ "types": "./avatar/src/index.d.ts",
27
+ "import": "./avatar/src/index.js",
28
+ "require": "./avatar/src/index.js",
29
+ "default": "./avatar/src/index.js"
30
+ },
31
+ "./badge": {
32
+ "types": "./badge/src/index.d.ts",
33
+ "import": "./badge/src/index.js",
34
+ "require": "./badge/src/index.js",
35
+ "default": "./badge/src/index.js"
36
+ },
37
+ "./breadcrumbs": {
38
+ "types": "./breadcrumbs/src/index.d.ts",
39
+ "import": "./breadcrumbs/src/index.js",
40
+ "require": "./breadcrumbs/src/index.js",
41
+ "default": "./breadcrumbs/src/index.js"
42
+ },
43
+ "./button": {
44
+ "types": "./button/src/index.d.ts",
45
+ "import": "./button/src/index.js",
46
+ "require": "./button/src/index.js",
47
+ "default": "./button/src/index.js"
48
+ },
49
+ "./card": {
50
+ "types": "./card/src/index.d.ts",
51
+ "import": "./card/src/index.js",
52
+ "require": "./card/src/index.js",
53
+ "default": "./card/src/index.js"
54
+ },
55
+ "./chat_panel": {
56
+ "types": "./chat_panel/src/index.d.ts",
57
+ "import": "./chat_panel/src/index.js",
58
+ "require": "./chat_panel/src/index.js",
59
+ "default": "./chat_panel/src/index.js"
60
+ },
61
+ "./checkbox": {
62
+ "types": "./checkbox/src/index.d.ts",
63
+ "import": "./checkbox/src/index.js",
64
+ "require": "./checkbox/src/index.js",
65
+ "default": "./checkbox/src/index.js"
66
+ },
67
+ "./combobox": {
68
+ "types": "./combobox/src/index.d.ts",
69
+ "import": "./combobox/src/index.js",
70
+ "require": "./combobox/src/index.js",
71
+ "default": "./combobox/src/index.js"
72
+ },
73
+ "./date_format": {
74
+ "types": "./date_format/src/index.d.ts",
75
+ "import": "./date_format/src/index.js",
76
+ "require": "./date_format/src/index.js",
77
+ "default": "./date_format/src/index.js"
78
+ },
79
+ "./date_picker": {
80
+ "types": "./date_picker/src/index.d.ts",
81
+ "import": "./date_picker/src/index.js",
82
+ "require": "./date_picker/src/index.js",
83
+ "default": "./date_picker/src/index.js"
84
+ },
85
+ "./dropdown": {
86
+ "types": "./dropdown/src/index.d.ts",
87
+ "import": "./dropdown/src/index.js",
88
+ "require": "./dropdown/src/index.js",
89
+ "default": "./dropdown/src/index.js"
90
+ },
91
+ "./file_uploader": {
92
+ "types": "./file_uploader/src/index.d.ts",
93
+ "import": "./file_uploader/src/index.js",
94
+ "require": "./file_uploader/src/index.js",
95
+ "default": "./file_uploader/src/index.js"
96
+ },
97
+ "./form_sections": {
98
+ "types": "./form_sections/src/index.d.ts",
99
+ "import": "./form_sections/src/index.js",
100
+ "require": "./form_sections/src/index.js",
101
+ "default": "./form_sections/src/index.js"
102
+ },
103
+ "./header": {
104
+ "types": "./header/src/index.d.ts",
105
+ "import": "./header/src/index.js",
106
+ "require": "./header/src/index.js",
107
+ "default": "./header/src/index.js"
108
+ },
109
+ "./i18n": {
110
+ "types": "./i18n/src/index.d.ts",
111
+ "import": "./i18n/src/index.js",
112
+ "require": "./i18n/src/index.js",
113
+ "default": "./i18n/src/index.js"
114
+ },
115
+ "./icon": {
116
+ "types": "./icon/src/index.d.ts",
117
+ "import": "./icon/src/index.js",
118
+ "require": "./icon/src/index.js",
119
+ "default": "./icon/src/index.js"
120
+ },
121
+ "./input": {
122
+ "types": "./input/src/index.d.ts",
123
+ "import": "./input/src/index.js",
124
+ "require": "./input/src/index.js",
125
+ "default": "./input/src/index.js"
126
+ },
127
+ "./link": {
128
+ "types": "./link/src/index.d.ts",
129
+ "import": "./link/src/index.js",
130
+ "require": "./link/src/index.js",
131
+ "default": "./link/src/index.js"
132
+ },
133
+ "./logo": {
134
+ "types": "./logo/src/index.d.ts",
135
+ "import": "./logo/src/index.js",
136
+ "require": "./logo/src/index.js",
137
+ "default": "./logo/src/index.js"
138
+ },
139
+ "./modal_dialog": {
140
+ "types": "./modal_dialog/src/index.d.ts",
141
+ "import": "./modal_dialog/src/index.js",
142
+ "require": "./modal_dialog/src/index.js",
143
+ "default": "./modal_dialog/src/index.js"
144
+ },
145
+ "./modal_window": {
146
+ "types": "./modal_window/src/index.d.ts",
147
+ "import": "./modal_window/src/index.js",
148
+ "require": "./modal_window/src/index.js",
149
+ "default": "./modal_window/src/index.js"
150
+ },
151
+ "./notification": {
152
+ "types": "./notification/src/index.d.ts",
153
+ "import": "./notification/src/index.js",
154
+ "require": "./notification/src/index.js",
155
+ "default": "./notification/src/index.js"
156
+ },
157
+ "./radio_group": {
158
+ "types": "./radio_group/src/index.d.ts",
159
+ "import": "./radio_group/src/index.js",
160
+ "require": "./radio_group/src/index.js",
161
+ "default": "./radio_group/src/index.js"
162
+ },
163
+ "./search_field": {
164
+ "types": "./search_field/src/index.d.ts",
165
+ "import": "./search_field/src/index.js",
166
+ "require": "./search_field/src/index.js",
167
+ "default": "./search_field/src/index.js"
168
+ },
169
+ "./segmented_control": {
170
+ "types": "./segmented_control/src/index.d.ts",
171
+ "import": "./segmented_control/src/index.js",
172
+ "require": "./segmented_control/src/index.js",
173
+ "default": "./segmented_control/src/index.js"
174
+ },
175
+ "./select": {
176
+ "types": "./select/src/index.d.ts",
177
+ "import": "./select/src/index.js",
178
+ "require": "./select/src/index.js",
179
+ "default": "./select/src/index.js"
180
+ },
181
+ "./side_nav": {
182
+ "types": "./side_nav/src/index.d.ts",
183
+ "import": "./side_nav/src/index.js",
184
+ "require": "./side_nav/src/index.js",
185
+ "default": "./side_nav/src/index.js"
186
+ },
187
+ "./spinner": {
188
+ "types": "./spinner/src/index.d.ts",
189
+ "import": "./spinner/src/index.js",
190
+ "require": "./spinner/src/index.js",
191
+ "default": "./spinner/src/index.js"
192
+ },
193
+ "./steps": {
194
+ "types": "./steps/src/index.d.ts",
195
+ "import": "./steps/src/index.js",
196
+ "require": "./steps/src/index.js",
197
+ "default": "./steps/src/index.js"
198
+ },
199
+ "./table": {
200
+ "types": "./table/src/index.d.ts",
201
+ "import": "./table/src/index.js",
202
+ "require": "./table/src/index.js",
203
+ "default": "./table/src/index.js"
204
+ },
205
+ "./tabs": {
206
+ "types": "./tabs/src/index.d.ts",
207
+ "import": "./tabs/src/index.js",
208
+ "require": "./tabs/src/index.js",
209
+ "default": "./tabs/src/index.js"
210
+ },
211
+ "./text_area": {
212
+ "types": "./text_area/src/index.d.ts",
213
+ "import": "./text_area/src/index.js",
214
+ "require": "./text_area/src/index.js",
215
+ "default": "./text_area/src/index.js"
216
+ },
217
+ "./time_picker": {
218
+ "types": "./time_picker/src/index.d.ts",
219
+ "import": "./time_picker/src/index.js",
220
+ "require": "./time_picker/src/index.js",
221
+ "default": "./time_picker/src/index.js"
222
+ },
223
+ "./toggle": {
224
+ "types": "./toggle/src/index.d.ts",
225
+ "import": "./toggle/src/index.js",
226
+ "require": "./toggle/src/index.js",
227
+ "default": "./toggle/src/index.js"
228
+ },
229
+ "./tooltip": {
230
+ "types": "./tooltip/src/index.d.ts",
231
+ "import": "./tooltip/src/index.js",
232
+ "require": "./tooltip/src/index.js",
233
+ "default": "./tooltip/src/index.js"
234
+ },
235
+ "./typography": {
236
+ "types": "./typography/src/index.d.ts",
237
+ "import": "./typography/src/index.js",
238
+ "require": "./typography/src/index.js",
239
+ "default": "./typography/src/index.js"
240
+ },
241
+ "./workflow": {
242
+ "types": "./workflow/src/index.d.ts",
243
+ "import": "./workflow/src/index.js",
244
+ "require": "./workflow/src/index.js",
245
+ "default": "./workflow/src/index.js"
246
+ },
247
+ "./i18n-shim": {
248
+ "types": "./i18n-shim/index.d.ts",
249
+ "import": "./i18n-shim/index.js",
250
+ "require": "./i18n-shim/index.js",
251
+ "default": "./i18n-shim/index.js"
252
+ }
253
+ },
12
254
  "dependencies": {
13
255
  "temporal-luxon": "^4.2.1",
14
256
  "uuid": "^9.0.1",
@@ -28,9 +270,11 @@
28
270
  "node": ">=10"
29
271
  },
30
272
  "files": [
273
+ "README.md",
31
274
  "**/*.js",
32
275
  "**/*.d.ts",
33
276
  "**/*.css",
277
+ "**/package.json",
34
278
  "**/i18n-shim/**",
35
279
  "package.json"
36
280
  ]
Binary file
@@ -0,0 +1 @@
1
+ {"main":"src/index.js","types":"src/index.d.ts"}
Binary file
@@ -0,0 +1 @@
1
+ {"main":"src/index.js","types":"src/index.d.ts"}
Binary file
@@ -0,0 +1 @@
1
+ {"main":"src/index.js","types":"src/index.d.ts"}
Binary file
@@ -0,0 +1 @@
1
+ {"main":"src/index.js","types":"src/index.d.ts"}
Binary file
@@ -0,0 +1 @@
1
+ {"main":"src/index.js","types":"src/index.d.ts"}
Binary file
@@ -0,0 +1 @@
1
+ {"main":"src/index.js","types":"src/index.d.ts"}
Binary file
@@ -0,0 +1 @@
1
+ {"main":"src/index.js","types":"src/index.d.ts"}
Binary file
@@ -0,0 +1 @@
1
+ {"main":"src/index.js","types":"src/index.d.ts"}
Binary file
@@ -0,0 +1 @@
1
+ {"main":"src/index.js","types":"src/index.d.ts"}
Binary file
@@ -0,0 +1 @@
1
+ {"main":"src/index.js","types":"src/index.d.ts"}
Binary file
@@ -0,0 +1 @@
1
+ {"main":"src/index.js","types":"src/index.d.ts"}
Binary file
@@ -0,0 +1 @@
1
+ {"main":"src/index.js","types":"src/index.d.ts"}
Binary file
@@ -0,0 +1 @@
1
+ {"main":"src/index.js","types":"src/index.d.ts"}
Binary file
@@ -0,0 +1 @@
1
+ {"main":"src/index.js","types":"src/index.d.ts"}
Binary file
@@ -0,0 +1 @@
1
+ {"main":"src/index.js","types":"src/index.d.ts"}