@utrecht/component-library-react 1.0.0-alpha.27 → 1.0.0-alpha.28

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.
@@ -7,18 +7,18 @@ export declare const Button: import("react").ForwardRefExoticComponent<ButtonPro
7
7
  export declare const PrimaryActionButton: {
8
8
  ({ ...args }: {
9
9
  [x: string]: any;
10
- }): import("react").ReactElement<any, string | ((props: any) => import("react").ReactElement<any, any> | null) | (new (props: any) => import("react").Component<any, any, any>)> | null;
10
+ }): JSX.Element;
11
11
  displayName: string;
12
12
  };
13
13
  export declare const SecondaryActionButton: {
14
14
  ({ ...args }: {
15
15
  [x: string]: any;
16
- }): import("react").ReactElement<any, string | ((props: any) => import("react").ReactElement<any, any> | null) | (new (props: any) => import("react").Component<any, any, any>)> | null;
16
+ }): JSX.Element;
17
17
  displayName: string;
18
18
  };
19
19
  export declare const SubtleButton: {
20
20
  ({ ...args }: {
21
21
  [x: string]: any;
22
- }): import("react").ReactElement<any, string | ((props: any) => import("react").ReactElement<any, any> | null) | (new (props: any) => import("react").Component<any, any, any>)> | null;
22
+ }): JSX.Element;
23
23
  displayName: string;
24
24
  };
@@ -25,19 +25,19 @@ exports.Button = react_1.forwardRef((_a, ref) => {
25
25
  exports.Button.displayName = 'utrecht-button';
26
26
  const PrimaryActionButton = (_a) => {
27
27
  var args = __rest(_a, []);
28
- return exports.Button(Object.assign(Object.assign({}, args), { appearance: 'primary-action-button' }));
28
+ return jsx_runtime_1.jsx(exports.Button, Object.assign({}, args, { appearance: "primary-action-button" }), void 0);
29
29
  };
30
30
  exports.PrimaryActionButton = PrimaryActionButton;
31
31
  exports.PrimaryActionButton.displayName = 'utrecht-primary-action-button';
32
32
  const SecondaryActionButton = (_a) => {
33
33
  var args = __rest(_a, []);
34
- return exports.Button(Object.assign(Object.assign({}, args), { appearance: 'secondary-action-button' }));
34
+ return jsx_runtime_1.jsx(exports.Button, Object.assign({}, args, { appearance: "secondary-action-button" }), void 0);
35
35
  };
36
36
  exports.SecondaryActionButton = SecondaryActionButton;
37
37
  exports.SecondaryActionButton.displayName = 'utrecht-secondary-action-button';
38
38
  const SubtleButton = (_a) => {
39
39
  var args = __rest(_a, []);
40
- return exports.Button(Object.assign(Object.assign({}, args), { appearance: 'subtle-button' }));
40
+ return jsx_runtime_1.jsx(exports.Button, Object.assign({}, args, { appearance: "subtle-button" }), void 0);
41
41
  };
42
42
  exports.SubtleButton = SubtleButton;
43
43
  exports.SubtleButton.displayName = 'utrecht-subtle-button';
@@ -4,7 +4,7 @@
4
4
  */
5
5
  export { Article } from './Article';
6
6
  export { Backdrop } from './Backdrop';
7
- export { Button } from './Button';
7
+ export { Button, PrimaryActionButton, SecondaryActionButton, SubtleButton } from './Button';
8
8
  export { ButtonLink } from './ButtonLink';
9
9
  export { Checkbox } from './Checkbox';
10
10
  export { Document } from './Document';
package/dist/cjs/index.js CHANGED
@@ -4,13 +4,16 @@
4
4
  * Copyright (c) 2022 Robbert Broersma
5
5
  */
6
6
  Object.defineProperty(exports, "__esModule", { value: true });
7
- exports.UnorderedListItem = exports.UnorderedList = exports.URLValue = exports.Textbox = exports.Textarea = exports.TableRow = exports.TableHeaderCell = exports.TableHeader = exports.TableFooter = exports.TableCell = exports.TableCaption = exports.TableBody = exports.Table = exports.Surface = exports.Separator = exports.SelectOption = exports.Select = exports.RadioButton = exports.Paragraph = exports.PageHeader = exports.PageFooter = exports.PageContent = exports.Page = exports.OrderedListItem = exports.OrderedList = exports.Link = exports.Heading6 = exports.Heading5 = exports.Heading4 = exports.Heading3 = exports.Heading2 = exports.Heading1 = exports.HTMLContent = exports.FormLabel = exports.FormFieldDescription = exports.FormField = exports.FieldsetLegend = exports.Fieldset = exports.Document = exports.Checkbox = exports.ButtonLink = exports.Button = exports.Backdrop = exports.Article = void 0;
7
+ exports.UnorderedListItem = exports.UnorderedList = exports.URLValue = exports.Textbox = exports.Textarea = exports.TableRow = exports.TableHeaderCell = exports.TableHeader = exports.TableFooter = exports.TableCell = exports.TableCaption = exports.TableBody = exports.Table = exports.Surface = exports.Separator = exports.SelectOption = exports.Select = exports.RadioButton = exports.Paragraph = exports.PageHeader = exports.PageFooter = exports.PageContent = exports.Page = exports.OrderedListItem = exports.OrderedList = exports.Link = exports.Heading6 = exports.Heading5 = exports.Heading4 = exports.Heading3 = exports.Heading2 = exports.Heading1 = exports.HTMLContent = exports.FormLabel = exports.FormFieldDescription = exports.FormField = exports.FieldsetLegend = exports.Fieldset = exports.Document = exports.Checkbox = exports.ButtonLink = exports.SubtleButton = exports.SecondaryActionButton = exports.PrimaryActionButton = exports.Button = exports.Backdrop = exports.Article = void 0;
8
8
  var Article_1 = require("./Article");
9
9
  Object.defineProperty(exports, "Article", { enumerable: true, get: function () { return Article_1.Article; } });
10
10
  var Backdrop_1 = require("./Backdrop");
11
11
  Object.defineProperty(exports, "Backdrop", { enumerable: true, get: function () { return Backdrop_1.Backdrop; } });
12
12
  var Button_1 = require("./Button");
13
13
  Object.defineProperty(exports, "Button", { enumerable: true, get: function () { return Button_1.Button; } });
14
+ Object.defineProperty(exports, "PrimaryActionButton", { enumerable: true, get: function () { return Button_1.PrimaryActionButton; } });
15
+ Object.defineProperty(exports, "SecondaryActionButton", { enumerable: true, get: function () { return Button_1.SecondaryActionButton; } });
16
+ Object.defineProperty(exports, "SubtleButton", { enumerable: true, get: function () { return Button_1.SubtleButton; } });
14
17
  var ButtonLink_1 = require("./ButtonLink");
15
18
  Object.defineProperty(exports, "ButtonLink", { enumerable: true, get: function () { return ButtonLink_1.ButtonLink; } });
16
19
  var Checkbox_1 = require("./Checkbox");
@@ -187,8 +187,8 @@
187
187
  "affectsGlobalScope": false
188
188
  },
189
189
  "../../src/Button.tsx": {
190
- "version": "2b977b5ae5eb2f861fc4c59d7ed6d7389e351b869b83cf8771f123bd174d95d5",
191
- "signature": "a8b8c6f71186c4c58756249de19a9d47177f405bffa87eb829c654522d6ba2df",
190
+ "version": "8172016528abd971201ff4be9a9c2475bab74308533b5cf82b2e9ded0f9f2894",
191
+ "signature": "ecc2256a8cf4e761b20186d9cf98b2d404983702479d31c4fc977b08902d40f5",
192
192
  "affectsGlobalScope": false
193
193
  },
194
194
  "../../src/ButtonLink.tsx": {
@@ -392,8 +392,8 @@
392
392
  "affectsGlobalScope": false
393
393
  },
394
394
  "../../src/index.ts": {
395
- "version": "ed671b86b20ba83070bd82d3c692139c7905125d349df7ee1f0fa8cd1ff1a3dc",
396
- "signature": "b8355c166a0260065e7358f64340c2d2edeffa5b4b2b5a32eeeccc1abf5a5667",
395
+ "version": "99525eafee04a166bb50e4fe0ece030db058c184a6cbf23c87c7f714fd144ff9",
396
+ "signature": "1f5c532a2ec6fc1e93f03c0dd364e44aedaeb8d2c3c22fdb7c93bcb4d372b117",
397
397
  "affectsGlobalScope": false
398
398
  },
399
399
  "../../../../node_modules/@types/aria-query/index.d.ts": {
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.0.0-alpha.27",
2
+ "version": "1.0.0-alpha.28",
3
3
  "author": "Community for NL Design System",
4
4
  "description": "React component library bundle for the Municipality of Utrecht based on the NL Design System architecture",
5
5
  "license": "EUPL-1.2",
@@ -31,178 +31,314 @@
31
31
  "default": "./dist/cjs/index.js"
32
32
  },
33
33
  "./Article": {
34
- "types": "./dist/Article.d.ts",
34
+ "types": "./dist/cjs/Article.d.ts",
35
35
  "default": "./dist/cjs/Article.js"
36
36
  },
37
37
  "./Backdrop": {
38
- "types": "./dist/Backdrop.d.ts",
38
+ "types": "./dist/cjs/Backdrop.d.ts",
39
39
  "default": "./dist/cjs/Backdrop.js"
40
40
  },
41
41
  "./Button": {
42
- "types": "./dist/Button.d.ts",
42
+ "types": "./dist/cjs/Button.d.ts",
43
43
  "default": "./dist/cjs/Button.js"
44
44
  },
45
45
  "./ButtonLink": {
46
- "types": "./dist/ButtonLink.d.ts",
46
+ "types": "./dist/cjs/ButtonLink.d.ts",
47
47
  "default": "./dist/cjs/ButtonLink.js"
48
48
  },
49
49
  "./Checkbox": {
50
- "types": "./dist/Checkbox.d.ts",
50
+ "types": "./dist/cjs/Checkbox.d.ts",
51
51
  "default": "./dist/cjs/Checkbox.js"
52
52
  },
53
53
  "./Document": {
54
- "types": "./dist/Document.d.ts",
54
+ "types": "./dist/cjs/Document.d.ts",
55
55
  "default": "./dist/cjs/Document.js"
56
56
  },
57
57
  "./Fieldset": {
58
- "types": "./dist/Fieldset.d.ts",
58
+ "types": "./dist/cjs/Fieldset.d.ts",
59
59
  "default": "./dist/cjs/Fieldset.js"
60
60
  },
61
61
  "./FieldsetLegend": {
62
- "types": "./dist/FieldsetLegend.d.ts",
62
+ "types": "./dist/cjs/FieldsetLegend.d.ts",
63
63
  "default": "./dist/cjs/FieldsetLegend.js"
64
64
  },
65
65
  "./FormField": {
66
- "types": "./dist/FormField.d.ts",
66
+ "types": "./dist/cjs/FormField.d.ts",
67
67
  "default": "./dist/cjs/FormField.js"
68
68
  },
69
69
  "./FormFieldDescription": {
70
- "types": "./dist/FormFieldDescription.d.ts",
70
+ "types": "./dist/cjs/FormFieldDescription.d.ts",
71
71
  "default": "./dist/cjs/FormFieldDescription.js"
72
72
  },
73
73
  "./FormLabel": {
74
- "types": "./dist/FormLabel.d.ts",
74
+ "types": "./dist/cjs/FormLabel.d.ts",
75
75
  "default": "./dist/cjs/FormLabel.js"
76
76
  },
77
77
  "./HTMLContent": {
78
- "types": "./dist/HTMLContent.d.ts",
78
+ "types": "./dist/cjs/HTMLContent.d.ts",
79
79
  "default": "./dist/cjs/HTMLContent.js"
80
80
  },
81
81
  "./Heading1": {
82
- "types": "./dist/Heading1.d.ts",
82
+ "types": "./dist/cjs/Heading1.d.ts",
83
83
  "default": "./dist/cjs/Heading1.js"
84
84
  },
85
85
  "./Heading2": {
86
- "types": "./dist/Heading2.d.ts",
86
+ "types": "./dist/cjs/Heading2.d.ts",
87
87
  "default": "./dist/cjs/Heading2.js"
88
88
  },
89
89
  "./Heading3": {
90
- "types": "./dist/Heading3.d.ts",
90
+ "types": "./dist/cjs/Heading3.d.ts",
91
91
  "default": "./dist/cjs/Heading3.js"
92
92
  },
93
93
  "./Heading4": {
94
- "types": "./dist/Heading4.d.ts",
94
+ "types": "./dist/cjs/Heading4.d.ts",
95
95
  "default": "./dist/cjs/Heading4.js"
96
96
  },
97
97
  "./Heading5": {
98
- "types": "./dist/Heading5.d.ts",
98
+ "types": "./dist/cjs/Heading5.d.ts",
99
99
  "default": "./dist/cjs/Heading5.js"
100
100
  },
101
101
  "./Heading6": {
102
- "types": "./dist/Heading6.d.ts",
102
+ "types": "./dist/cjs/Heading6.d.ts",
103
103
  "default": "./dist/cjs/Heading6.js"
104
104
  },
105
105
  "./Link": {
106
- "types": "./dist/Link.d.ts",
106
+ "types": "./dist/cjs/Link.d.ts",
107
107
  "default": "./dist/cjs/Link.js"
108
108
  },
109
109
  "./OrderedList": {
110
- "types": "./dist/OrderedList.d.ts",
110
+ "types": "./dist/cjs/OrderedList.d.ts",
111
111
  "default": "./dist/cjs/OrderedList.js"
112
112
  },
113
113
  "./OrderedListItem": {
114
- "types": "./dist/OrderedListItem.d.ts",
114
+ "types": "./dist/cjs/OrderedListItem.d.ts",
115
115
  "default": "./dist/cjs/OrderedListItem.js"
116
116
  },
117
117
  "./Page": {
118
- "types": "./dist/Page.d.ts",
118
+ "types": "./dist/cjs/Page.d.ts",
119
119
  "default": "./dist/cjs/Page.js"
120
120
  },
121
121
  "./PageContent": {
122
- "types": "./dist/PageContent.d.ts",
122
+ "types": "./dist/cjs/PageContent.d.ts",
123
123
  "default": "./dist/cjs/PageContent.js"
124
124
  },
125
125
  "./PageFooter": {
126
- "types": "./dist/PageFooter.d.ts",
126
+ "types": "./dist/cjs/PageFooter.d.ts",
127
127
  "default": "./dist/cjs/PageFooter.js"
128
128
  },
129
129
  "./PageHeader": {
130
- "types": "./dist/PageHeader.d.ts",
130
+ "types": "./dist/cjs/PageHeader.d.ts",
131
131
  "default": "./dist/cjs/PageHeader.js"
132
132
  },
133
133
  "./Paragraph": {
134
- "types": "./dist/Paragraph.d.ts",
134
+ "types": "./dist/cjs/Paragraph.d.ts",
135
135
  "default": "./dist/cjs/Paragraph.js"
136
136
  },
137
137
  "./RadioButton": {
138
- "types": "./dist/RadioButton.d.ts",
138
+ "types": "./dist/cjs/RadioButton.d.ts",
139
139
  "default": "./dist/cjs/RadioButton.js"
140
140
  },
141
141
  "./Select": {
142
- "types": "./dist/Select.d.ts",
142
+ "types": "./dist/cjs/Select.d.ts",
143
143
  "default": "./dist/cjs/Select.js"
144
144
  },
145
145
  "./Separator": {
146
- "types": "./dist/Separator.d.ts",
146
+ "types": "./dist/cjs/Separator.d.ts",
147
147
  "default": "./dist/cjs/Separator.js"
148
148
  },
149
149
  "./Surface": {
150
- "types": "./dist/Surface.d.ts",
150
+ "types": "./dist/cjs/Surface.d.ts",
151
151
  "default": "./dist/cjs/Surface.js"
152
152
  },
153
153
  "./Table": {
154
- "types": "./dist/Table.d.ts",
154
+ "types": "./dist/cjs/Table.d.ts",
155
155
  "default": "./dist/cjs/Table.js"
156
156
  },
157
157
  "./TableBody": {
158
- "types": "./dist/TableBody.d.ts",
158
+ "types": "./dist/cjs/TableBody.d.ts",
159
159
  "default": "./dist/cjs/TableBody.js"
160
160
  },
161
161
  "./TableCaption": {
162
- "types": "./dist/TableCaption.d.ts",
162
+ "types": "./dist/cjs/TableCaption.d.ts",
163
163
  "default": "./dist/cjs/TableCaption.js"
164
164
  },
165
165
  "./TableCell": {
166
- "types": "./dist/TableCell.d.ts",
166
+ "types": "./dist/cjs/TableCell.d.ts",
167
167
  "default": "./dist/cjs/TableCell.js"
168
168
  },
169
169
  "./TableFooter": {
170
- "types": "./dist/TableFooter.d.ts",
170
+ "types": "./dist/cjs/TableFooter.d.ts",
171
171
  "default": "./dist/cjs/TableFooter.js"
172
172
  },
173
173
  "./TableHeader": {
174
- "types": "./dist/TableHeader.d.ts",
174
+ "types": "./dist/cjs/TableHeader.d.ts",
175
175
  "default": "./dist/cjs/TableHeader.js"
176
176
  },
177
177
  "./TableHeaderCell": {
178
- "types": "./dist/TableHeaderCell.d.ts",
178
+ "types": "./dist/cjs/TableHeaderCell.d.ts",
179
179
  "default": "./dist/cjs/TableHeaderCell.js"
180
180
  },
181
181
  "./TableRow": {
182
- "types": "./dist/TableRow.d.ts",
182
+ "types": "./dist/cjs/TableRow.d.ts",
183
183
  "default": "./dist/cjs/TableRow.js"
184
184
  },
185
185
  "./Textarea": {
186
- "types": "./dist/Textarea.d.ts",
186
+ "types": "./dist/cjs/Textarea.d.ts",
187
187
  "default": "./dist/cjs/Textarea.js"
188
188
  },
189
189
  "./Textbox": {
190
- "types": "./dist/Textbox.d.ts",
190
+ "types": "./dist/cjs/Textbox.d.ts",
191
191
  "default": "./dist/cjs/Textbox.js"
192
192
  },
193
193
  "./URLValue": {
194
- "types": "./dist/URLValue.d.ts",
194
+ "types": "./dist/cjs/URLValue.d.ts",
195
195
  "default": "./dist/cjs/URLValue.js"
196
196
  },
197
197
  "./UnorderedList": {
198
- "types": "./dist/UnorderedList.d.ts",
198
+ "types": "./dist/cjs/UnorderedList.d.ts",
199
199
  "default": "./dist/cjs/UnorderedList.js"
200
200
  },
201
201
  "./UnorderedListItem": {
202
- "types": "./dist/UnorderedListItem.d.ts",
202
+ "types": "./dist/cjs/UnorderedListItem.d.ts",
203
203
  "default": "./dist/cjs/UnorderedListItem.js"
204
204
  }
205
205
  },
206
+ "typesVersions": {
207
+ "*": {
208
+ "index": [
209
+ "./dist/cjs/index.d.ts"
210
+ ],
211
+ "Article": [
212
+ "./dist/cjs/Article.d.ts"
213
+ ],
214
+ "Backdrop": [
215
+ "./dist/cjs/Backdrop.d.ts"
216
+ ],
217
+ "Button": [
218
+ "./dist/cjs/Button.d.ts"
219
+ ],
220
+ "ButtonLink": [
221
+ "./dist/cjs/ButtonLink.d.ts"
222
+ ],
223
+ "Checkbox": [
224
+ "./dist/cjs/Checkbox.d.ts"
225
+ ],
226
+ "Document": [
227
+ "./dist/cjs/Document.d.ts"
228
+ ],
229
+ "Fieldset": [
230
+ "./dist/cjs/Fieldset.d.ts"
231
+ ],
232
+ "FieldsetLegend": [
233
+ "./dist/cjs/FieldsetLegend.d.ts"
234
+ ],
235
+ "FormField": [
236
+ "./dist/cjs/FormField.d.ts"
237
+ ],
238
+ "FormFieldDescription": [
239
+ "./dist/cjs/FormFieldDescription.d.ts"
240
+ ],
241
+ "FormLabel": [
242
+ "./dist/cjs/FormLabel.d.ts"
243
+ ],
244
+ "HTMLContent": [
245
+ "./dist/cjs/HTMLContent.d.ts"
246
+ ],
247
+ "Heading1": [
248
+ "./dist/cjs/Heading1.d.ts"
249
+ ],
250
+ "Heading2": [
251
+ "./dist/cjs/Heading2.d.ts"
252
+ ],
253
+ "Heading3": [
254
+ "./dist/cjs/Heading3.d.ts"
255
+ ],
256
+ "Heading4": [
257
+ "./dist/cjs/Heading4.d.ts"
258
+ ],
259
+ "Heading5": [
260
+ "./dist/cjs/Heading5.d.ts"
261
+ ],
262
+ "Heading6": [
263
+ "./dist/cjs/Heading6.d.ts"
264
+ ],
265
+ "Link": [
266
+ "./dist/cjs/Link.d.ts"
267
+ ],
268
+ "OrderedList": [
269
+ "./dist/cjs/OrderedList.d.ts"
270
+ ],
271
+ "OrderedListItem": [
272
+ "./dist/cjs/OrderedListItem.d.ts"
273
+ ],
274
+ "Page": [
275
+ "./dist/cjs/Page.d.ts"
276
+ ],
277
+ "PageContent": [
278
+ "./dist/cjs/PageContent.d.ts"
279
+ ],
280
+ "PageFooter": [
281
+ "./dist/cjs/PageFooter.d.ts"
282
+ ],
283
+ "PageHeader": [
284
+ "./dist/cjs/PageHeader.d.ts"
285
+ ],
286
+ "Paragraph": [
287
+ "./dist/cjs/Paragraph.d.ts"
288
+ ],
289
+ "RadioButton": [
290
+ "./dist/cjs/RadioButton.d.ts"
291
+ ],
292
+ "Select": [
293
+ "./dist/cjs/Select.d.ts"
294
+ ],
295
+ "Separator": [
296
+ "./dist/cjs/Separator.d.ts"
297
+ ],
298
+ "Surface": [
299
+ "./dist/cjs/Surface.d.ts"
300
+ ],
301
+ "Table": [
302
+ "./dist/cjs/Table.d.ts"
303
+ ],
304
+ "TableBody": [
305
+ "./dist/cjs/TableBody.d.ts"
306
+ ],
307
+ "TableCaption": [
308
+ "./dist/cjs/TableCaption.d.ts"
309
+ ],
310
+ "TableCell": [
311
+ "./dist/cjs/TableCell.d.ts"
312
+ ],
313
+ "TableFooter": [
314
+ "./dist/cjs/TableFooter.d.ts"
315
+ ],
316
+ "TableHeader": [
317
+ "./dist/cjs/TableHeader.d.ts"
318
+ ],
319
+ "TableHeaderCell": [
320
+ "./dist/cjs/TableHeaderCell.d.ts"
321
+ ],
322
+ "TableRow": [
323
+ "./dist/cjs/TableRow.d.ts"
324
+ ],
325
+ "Textarea": [
326
+ "./dist/cjs/Textarea.d.ts"
327
+ ],
328
+ "Textbox": [
329
+ "./dist/cjs/Textbox.d.ts"
330
+ ],
331
+ "URLValue": [
332
+ "./dist/cjs/URLValue.d.ts"
333
+ ],
334
+ "UnorderedList": [
335
+ "./dist/cjs/UnorderedList.d.ts"
336
+ ],
337
+ "UnorderedListItem": [
338
+ "./dist/cjs/UnorderedListItem.d.ts"
339
+ ]
340
+ }
341
+ },
206
342
  "files": [
207
343
  "dist/"
208
344
  ],
@@ -227,5 +363,5 @@
227
363
  "react": "^17.0.0",
228
364
  "react-dom": "^17.0.0"
229
365
  },
230
- "gitHead": "567e7defa9a87fd3010e77ec49170bd39fa1ed81"
366
+ "gitHead": "beea084ece3bdf639f60d7ae9a49fd453e1cdd19"
231
367
  }